diff --git a/OTHERS/Jarvis/Iron_Template_1.gif b/OTHERS/Jarvis/Iron_Template_1.gif new file mode 100644 index 00000000..5c17d3e4 Binary files /dev/null and b/OTHERS/Jarvis/Iron_Template_1.gif differ diff --git a/OTHERS/Jarvis/README.md b/OTHERS/Jarvis/README.md new file mode 100644 index 00000000..b8238524 --- /dev/null +++ b/OTHERS/Jarvis/README.md @@ -0,0 +1,6 @@ +The project aims to develop a desktop assistant using Python that can assist users +in performing a variety of tasks, streamline their workflow, and provide useful information. +The desktop assistant should serve as a virtual helper, enhancing user productivity and convenience on a desktop or laptop computer. +The desktop assistant should have a user-friendly interface and voice-based interactions. Users should be able to type commands or speak to the assistant to initiate actions. +Implement voice recognition capabilities to allow users to communicate with the assistant using natural language. +The assistant should be capable of automating common desktop tasks such as opening applications, creating files, searching information , setting reminders. diff --git a/OTHERS/Jarvis/initial.gif b/OTHERS/Jarvis/initial.gif new file mode 100644 index 00000000..949af7fe Binary files /dev/null and b/OTHERS/Jarvis/initial.gif differ diff --git a/OTHERS/Jarvis/jarvis.py b/OTHERS/Jarvis/jarvis.py new file mode 100644 index 00000000..f30607e0 --- /dev/null +++ b/OTHERS/Jarvis/jarvis.py @@ -0,0 +1,275 @@ +from email.mime import audio +from importlib.resources import path +from logging import exception +from random import Random, random +from re import S +import sys +from typing_extensions import Self +import pyttsx3 +import speech_recognition as sr +import datetime +import os +import cv2 +import random +from requests import get +import wikipedia +import webbrowser +import pywhatkit as kit +import smtplib +import sys +import pyjokes +from PyQt5 import QtWidgets, QtCore, QtGui +from PyQt5.QtCore import QTimer, QTime, QDate, Qt +from PyQt5.QtGui import QMovie +from PyQt5.QtCore import * +from PyQt5.QtGui import * +from PyQt5.QtWidgets import * +from PyQt5.uic import loadUiType +from jarvisUi import Ui_jarvisUi + + +engine = pyttsx3.init('sapi5') +voices = engine.getProperty('voices') +print(voices[0].id) +engine.setProperty('voices', voices[0].id) + + +# text to speech +def speak(audio): + engine.say(audio) + print(audio) + engine.runAndWait() + + +# wish function +def wish(): + hour = int(datetime.datetime.now().hour) + #tt = time.strftime("%I:%M:%p") + + if hour >= 0 and hour <= 12: + speak("Good morning,sir") + elif hour > 12 and hour < 18: + speak("Good afternoon,sir") + else: + speak("Good Evening,sir") + speak("I am Jarvis sir,How can I help you?") + + +# to define send email +def sendEmail(to, content): + server = smtplib.SMTP('smtp.gmail.com', 587) + server.ehlo() + server.starttls() + server.login('vedantgaikwad@gmail.com', 'Tata@1234') + server.sendmail('vedantgaikwad@gmail.com', to, content) + server.close() + +# to convert voice into text +class Mainthread(QThread): + def __init__(self): + super(Mainthread,self).__init__() + + def run(self): + self.TaskExecution() + + def takecommand(self): + + r = sr.Recognizer() + with sr.Microphone() as source: + print("Listening...") + r.pause_threshold = 1 + r.adjust_for_ambient_noise(source) + audio = r.listen(source, timeout=2, phrase_time_limit=5) + + try: + print("Recognizng..") + query = r.recognize_google(audio, language='en-in') + print(f"user said: {query}") + + except exception as e: + speak("could you please repeat...") + return "none" + query = query.lower() + return query + + #if __name__ == "__main__": + def TaskExecution(self): + #def start(): + wish() + + while True: + + self.query = self.takecommand() + + # logic building for tasks + + if "open notepad" in self.query: + npath = "C:\\Windows\\System32\\notepad.exe" + os.startfile(npath) + + elif "open adobe reader" in self.query: + apath = "C:\\Program Files (x86)\\Adobe\\Reader 10.0\\Reader\\AcroRd32.exe" + os.startfile(apath) + + elif "open command prompt" in self.query: + os.system("start cmd") + + elif "open camera" in self.query: + cap = cv2.VideoCapture(0) + while True: + ret, img = cap.read() + cv2.inshow('webcam', img) + k = cv2.waitKey(50) + if k == 27: + break + cap.release() + cv2.destroyAllWindows() + + elif "play music" in self.query: + music_dir = "C:\\Users\\vijay\\Music" + songs = os.listdir(music_dir) + rd = Random.choice(songs) + # for song in songs: + # if song.endswith('.mp3'): + os.startfile(os.path.join(music_dir, rd)) + # os.startfile(os.path.join(music_dir,song)) + + elif "ip address" in self.query: + ip = get('https://api.ipify.org').text + speak(f"your IP Address is {ip}") + + elif "wikipedia" in self.query: + speak("Searching wikipedia...") + query = query.replace("wikipedia", "") + result = wikipedia.summary(query, sentence=2) + speak("According to wikipedia") + speak(result) + # print(result) + + elif "open youtube" in self.query: + webbrowser.open("www.youtube.com") + + elif "open facebook" in self.query: + webbrowser.open("www.facebook.com") + + elif "open stack overflow" in self.query: + webbrowser.open("www.stackoverflow.com") + + elif "open google" in self.query: + # to search something specific on google + speak("Sir what should i search on google") + cm = self.takecommand() + webbrowser.open(f"{cm}") + + elif "send message" in self.query: + #speak("Sir,to whom should i send message") + #wmsg = takecommand().lower() + # 2.25 is time at which you send + kit.sendwhatmsg("+919920309439", "this is a testing message", 2.25) + + elif "play songs on youtube" in self.query: + speak("Sir what should i play on youtube") + play = self.takecommand() + kit.playonyt(f"{play}") + + elif "send email" in self.query: + try: + speak("what should i say?") + content = self.takecommand() + to = "sanjayg1973@gmail.com" + sendEmail(to, content) + speak("Email has been sent") + + except exception as e: + print(e) + speak("sorry sir, i am not able to send the email") + + # to close application + elif "close notepad" in self.query: + speak("okay sir,closing notepad") + os.system("taskkill /f/im notepad.exe") + + elif "set alarm" in self.query: + nn = int(datetime.datetime.now().hour) + if nn == 11: + music_dir = "Libraries\\Music" + songs = os.listdir(music_dir) + os.startfile(os.path.join(music_dir, songs[0])) + + elif "joke" in self.query: + joke = pyjokes.get_joke() + speak(joke) + + elif "shutdown the system" in self.query: + os.system("shutdown /s /t 5") + + elif "restart the system" in self.query: + os.system("shutdown /r /t 5") + + elif "sleep the system" in self.query: + os.system("rundll32.exe powrprof.dll,SetSuspendState 0,1,0") + + elif "thank you" in self.query: + speak("thankyou sir,have a good day") + sys.exit() + + speak("sir,do you have any other work") + + + +#if __name__ == "__main__" : +# TaskExecution() + +startExecution = Mainthread() + +class Main(QMainWindow): + def __init__(self): + super().__init__() + self.ui = Ui_jarvisUi() + self.ui.setupUi(self) + self.ui.pushButton.clicked.connect(self.startTask) + self.ui.pushButton_2.clicked.connect(self.close) + + def startTask(self): + #self.ui.movie = QtGui.QMovie("Black_Template.jpg") + #self.ui.label.setMovie(self.ui.movie) + #self.ui.movie.start() + self.ui.movie = QtGui.QMovie("Iron_Template_1.gif") + self.ui.label_2.setMovie(self.ui.movie) + self.ui.movie.start() + self.ui.movie = QtGui.QMovie("jarvis_jj.gif") + self.ui.label_3.setMovie(self.ui.movie) + self.ui.movie.start() + self.ui.movie = QtGui.QMovie("initial.gif") + self.ui.label_4.setMovie(self.ui.movie) + self.ui.movie.start() + self.ui.movie = QtGui.QMovie("Health_Template.gif") + self.ui.label_5.setMovie(self.ui.movie) + self.ui.movie.start() + self.ui.movie = QtGui.QMovie("B.G_Template_1.gif") + self.ui.label_6.setMovie(self.ui.movie) + self.ui.movie.start() + timer = QTimer(self) + timer.timeout.connect(self.showTime) + timer.start(1000) + startExecution.start() + + def showTime(self): + current_time = QTime.currentTime() + current_date = QDate.currentDate() + label_time = current_time.toString('hh:mm:ss') + label_date = current_date.toString(Qt.ISODate) + self.ui.textBrowser.setText(label_date) + self.ui.textBrowser_2.setText(label_time) + + + +app = QApplication(sys.argv) +jarvis = Main() +jarvis.show() +exit(app.exec_()) + + + + + diff --git a/OTHERS/Jarvis/jarvis.zip b/OTHERS/Jarvis/jarvis.zip new file mode 100644 index 00000000..cab33d93 Binary files /dev/null and b/OTHERS/Jarvis/jarvis.zip differ diff --git a/OTHERS/Jarvis/jarvisUi.py b/OTHERS/Jarvis/jarvisUi.py new file mode 100644 index 00000000..642b6f0b --- /dev/null +++ b/OTHERS/Jarvis/jarvisUi.py @@ -0,0 +1,102 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'jarvisUi.ui' +# +# Created by: PyQt5 UI code generator 5.15.4 +# +# WARNING: Any manual changes made to this file will be lost when pyuic5 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt5 import QtCore, QtGui, QtWidgets + + +class Ui_jarvisUi(object): + def setupUi(self, jarvisUi): + jarvisUi.setObjectName("jarvisUi") + jarvisUi.resize(997, 533) + self.centralwidget = QtWidgets.QWidget(jarvisUi) + self.centralwidget.setObjectName("centralwidget") + self.label = QtWidgets.QLabel(self.centralwidget) + self.label.setGeometry(QtCore.QRect(-170, -10, 1211, 541)) + self.label.setText("") + self.label.setPixmap(QtGui.QPixmap("Black_Template.jpg")) + self.label.setScaledContents(True) + self.label.setObjectName("label") + self.label_2 = QtWidgets.QLabel(self.centralwidget) + self.label_2.setGeometry(QtCore.QRect(630, 10, 371, 281)) + self.label_2.setText("") + self.label_2.setPixmap(QtGui.QPixmap("Iron_Template_1.gif")) + self.label_2.setScaledContents(True) + self.label_2.setObjectName("label_2") + self.label_3 = QtWidgets.QLabel(self.centralwidget) + self.label_3.setGeometry(QtCore.QRect(20, 180, 261, 181)) + self.label_3.setText("") + self.label_3.setPixmap(QtGui.QPixmap("jarvis_jj.gif")) + self.label_3.setScaledContents(True) + self.label_3.setObjectName("label_3") + self.label_4 = QtWidgets.QLabel(self.centralwidget) + self.label_4.setGeometry(QtCore.QRect(16, 12, 521, 181)) + self.label_4.setText("") + self.label_4.setPixmap(QtGui.QPixmap("initial.gif")) + self.label_4.setScaledContents(True) + self.label_4.setObjectName("label_4") + self.label_5 = QtWidgets.QLabel(self.centralwidget) + self.label_5.setGeometry(QtCore.QRect(20, 370, 281, 151)) + self.label_5.setText("") + self.label_5.setPixmap(QtGui.QPixmap("Health_Template.gif")) + self.label_5.setScaledContents(True) + self.label_5.setObjectName("label_5") + self.label_6 = QtWidgets.QLabel(self.centralwidget) + self.label_6.setGeometry(QtCore.QRect(730, 320, 251, 181)) + self.label_6.setText("") + self.label_6.setPixmap(QtGui.QPixmap("B.G_Template_1.gif")) + self.label_6.setScaledContents(True) + self.label_6.setObjectName("label_6") + self.pushButton = QtWidgets.QPushButton(self.centralwidget) + self.pushButton.setGeometry(QtCore.QRect(420, 360, 101, 51)) + self.pushButton.setStyleSheet("color: rgb(0, 0, 255);\n" +"background-color: rgb(85, 255, 255);\n" +"font: 14pt \"MS UI Gothic\";") + self.pushButton.setObjectName("pushButton") + self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget) + self.pushButton_2.setGeometry(QtCore.QRect(530, 360, 101, 51)) + self.pushButton_2.setStyleSheet("color: rgb(0, 0, 255);\n" +"background-color: rgb(85, 255, 255);\n" +"font: 14pt \"MS UI Gothic\";\n" +"") + self.pushButton_2.setObjectName("pushButton_2") + self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget) + self.textBrowser.setGeometry(QtCore.QRect(330, 470, 191, 51)) + self.textBrowser.setStyleSheet("background-color: transparent;\n" + "border-radius:none;\n" + "color:white;\n" + "font-size:20px;") + self.textBrowser.setObjectName("textBrowser") + self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget) + self.textBrowser_2.setGeometry(QtCore.QRect(520, 470, 191, 51)) + self.textBrowser_2.setStyleSheet("background-color: transparent;\n" + "border-radius:none;\n" + "color:white;\n" + "font-size:20px;") + self.textBrowser_2.setObjectName("textBrowser_2") + jarvisUi.setCentralWidget(self.centralwidget) + + self.retranslateUi(jarvisUi) + QtCore.QMetaObject.connectSlotsByName(jarvisUi) + + def retranslateUi(self, jarvisUi): + _translate = QtCore.QCoreApplication.translate + jarvisUi.setWindowTitle(_translate("jarvisUi", "MainWindow")) + self.pushButton.setText(_translate("jarvisUi", "START")) + self.pushButton_2.setText(_translate("jarvisUi", "EXIT")) + + +if __name__ == "__main__": + import sys + app = QtWidgets.QApplication(sys.argv) + jarvisUi = QtWidgets.QMainWindow() + ui = Ui_jarvisUi() + ui.setupUi(jarvisUi) + jarvisUi.show() + sys.exit(app.exec_()) diff --git a/OTHERS/Jarvis/jarvisUi.ui b/OTHERS/Jarvis/jarvisUi.ui new file mode 100644 index 00000000..5f51452c --- /dev/null +++ b/OTHERS/Jarvis/jarvisUi.ui @@ -0,0 +1,198 @@ + + + jarvisUi + + + + 0 + 0 + 997 + 533 + + + + MainWindow + + + + + + -170 + -10 + 1211 + 541 + + + + + + + Black_Template.jpg + + + true + + + + + + 630 + 10 + 371 + 281 + + + + + + + Iron_Template_1.gif + + + true + + + + + + 20 + 180 + 261 + 181 + + + + + + + jarvis_jj.gif + + + true + + + + + + 16 + 12 + 521 + 181 + + + + + + + initial.gif + + + true + + + + + + 20 + 370 + 281 + 151 + + + + + + + Health_Template.gif + + + true + + + + + + 730 + 320 + 251 + 181 + + + + + + + B.G_Template_1.gif + + + true + + + + + + 420 + 360 + 101 + 51 + + + + color: rgb(0, 0, 255); +background-color: rgb(85, 255, 255); +font: 14pt "MS UI Gothic"; + + + START + + + + + + 530 + 360 + 101 + 51 + + + + color: rgb(0, 0, 255); +background-color: rgb(85, 255, 255); +font: 14pt "MS UI Gothic"; + + + + EXIT + + + + + + 330 + 470 + 191 + 51 + + + + background-color: transparent; + + + + + + 520 + 470 + 191 + 51 + + + + background-color: transparent; + + + + + + + diff --git a/OTHERS/Jarvis/jarvis_jj.gif b/OTHERS/Jarvis/jarvis_jj.gif new file mode 100644 index 00000000..33401916 Binary files /dev/null and b/OTHERS/Jarvis/jarvis_jj.gif differ diff --git a/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/INSTALLER b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/INSTALLER new file mode 100644 index 00000000..a1b589e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/METADATA b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/METADATA new file mode 100644 index 00000000..9046b895 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/METADATA @@ -0,0 +1,65 @@ +Metadata-Version: 2.1 +Name: PyQt5 +Version: 5.15.6 +Requires-Python: >=3.6 +Summary: Python bindings for the Qt cross platform application toolkit +Home-Page: https://www.riverbankcomputing.com/software/pyqt/ +Author: Riverbank Computing Limited +Author-Email: info@riverbankcomputing.com +License: GPL v3 +Requires-Dist: PyQt5-sip (>=12.8, <13) +Requires-Dist: PyQt5-Qt5 (>=5.15.2) + +PyQt5 - Comprehensive Python Bindings for Qt v5 +=============================================== + +Qt is set of cross-platform C++ libraries that implement high-level APIs for +accessing many aspects of modern desktop and mobile systems. These include +location and positioning services, multimedia, NFC and Bluetooth connectivity, +a Chromium based web browser, as well as traditional UI development. + +PyQt5 is a comprehensive set of Python bindings for Qt v5. It is implemented +as more than 35 extension modules and enables Python to be used as an +alternative application development language to C++ on all supported platforms +including iOS and Android. + +PyQt5 may also be embedded in C++ based applications to allow users of those +applications to configure or enhance the functionality of those applications. + + +Author +------ + +PyQt5 is copyright (c) Riverbank Computing Limited. Its homepage is +https://www.riverbankcomputing.com/software/pyqt/. + +Support may be obtained from the PyQt mailing list at +https://www.riverbankcomputing.com/mailman/listinfo/pyqt/. + + +License +------- + +PyQt5 is released under the GPL v3 license and under a commercial license that +allows for the development of proprietary applications. + + +Documentation +------------- + +The documentation for the latest release can be found +`here `__. + + +Installation +------------ + +The GPL version of PyQt5 can be installed from PyPI:: + + pip install PyQt5 + +``pip`` will also build and install the bindings from the sdist package but +Qt's ``qmake`` tool must be on ``PATH``. + +The ``sip-install`` tool will also install the bindings from the sdist package +but will allow you to configure many aspects of the installation. diff --git a/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/RECORD b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/RECORD new file mode 100644 index 00000000..b0c4a48d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/RECORD @@ -0,0 +1,987 @@ +../../bin/pylupdate5.exe,sha256=tcpdqPOyrI-30uwVlokFs7I3C52zVFEm3XJbX4BaT98,106329 +../../bin/pyrcc5.exe,sha256=4oJhB5lGxPhjN43gk74ohZ-sj30zsg0VsOtxdM2LmGQ,106325 +../../bin/pyuic5.exe,sha256=umgDdaXJNpsiMRlWLr9YgXnHkXbPskYdYmPb7x_RGdc,106324 +PyQt5-5.15.6.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +PyQt5-5.15.6.dist-info/METADATA,sha256=AidiD9POqp4uR806NRnG4dLxKxXe2bizx-djI1tKIvk,2175 +PyQt5-5.15.6.dist-info/RECORD,, +PyQt5-5.15.6.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +PyQt5-5.15.6.dist-info/WHEEL,sha256=9iIqRJHCeYrFi6y778MPZ90xOvfYPKfUpAR2Dr4-xlY,98 +PyQt5-5.15.6.dist-info/entry_points.txt,sha256=Qif0K5dtSx55Jy85ruKNbDlFdMdcekmMavb6lQz49g0,116 +PyQt5/QAxContainer.pyd,sha256=_kA_JqvaF4Hjz_56cxRmoajgAEdsSNSgdmAmr2ORRKQ,275456 +PyQt5/QAxContainer.pyi,sha256=Aok42_YeHb890tvoTWrrJ75_mgVZM3Vggw8FtYjDkP0,4800 +PyQt5/Qt.pyd,sha256=euPHGaIVwfkAqXxS6CjAmo4zw8ilqFML4b2PWz1Sn-4,11776 +PyQt5/Qt5/qsci/api/python/PyQt5.api,sha256=gHeZuY4O6afx1GueDN7LqpNPDf0vErVZEEcP27u-9rU,1791066 +PyQt5/QtBluetooth.pyd,sha256=l3UEITpk_4rbam_mdILmAYiYF5_tZ8H9EgReSLaxoyE,336384 +PyQt5/QtBluetooth.pyi,sha256=84shk9ebtrhAyS3WsOkIYVkv0RToD9rapdBBQufR5a0,76450 +PyQt5/QtCore.pyd,sha256=FN0O6-Nz070jISKDbVOUresa0QRI0W3Vuvyd5OOwxcI,2424832 +PyQt5/QtCore.pyi,sha256=G7ZBXdAaqUPVSUHzYVPtgLGQLBPrf4GnBOQ8IRzzQuk,424680 +PyQt5/QtDBus.pyd,sha256=IHGpPtWF11ucGZnUXFiaOUEK9vjuQIboO2tEQH1Twsk,172032 +PyQt5/QtDBus.pyi,sha256=zUyQN-Mr-e4IYTZ3xciaMR6HCskTfHkf9JwQ96f_cHg,23797 +PyQt5/QtDesigner.pyd,sha256=4mptTIx5nC6jk0x_qOwO45XGC2PEcHR1JK7AEx8NYIY,308224 +PyQt5/QtDesigner.pyi,sha256=Dx56qM-cQ_DfNenr0_CCg9iXCXqBby4f5KhyaIJRztE,22954 +PyQt5/QtGui.pyd,sha256=BnLg4_NtGyaqdB9cOEGTYbSvxV89a4jDf4WSiAarKZI,2438144 +PyQt5/QtGui.pyi,sha256=5W_d9mF6ew80hwdziXB-nrHb6RCDItjkAaBWkWhxojU,434552 +PyQt5/QtHelp.pyd,sha256=e8Fgdx65OyvV0_OHYmlf9R7-jycdBCJjOOeZHFutIxk,195584 +PyQt5/QtHelp.pyi,sha256=E9Xm6SFqOFql9kpKECn1IiSyABfEQ5OKEXVEWqY5s6s,13352 +PyQt5/QtLocation.pyd,sha256=XUkgHawdNlfqTgAhbWKOfVP6fr-THFHPSkTw_Pg2S6c,436736 +PyQt5/QtLocation.pyi,sha256=nMPuSYRRYydkMdBxItXAkM_ViQUxzBFQRoFee7aiPLY,55314 +PyQt5/QtMultimedia.pyd,sha256=0SDSljgrekvG-ugkt77d3bjhVDeUyhDBp5RbM9TqhfE,903168 +PyQt5/QtMultimedia.pyi,sha256=blT86oude2Y47L9kppFuNr2gMgEDfVzhfHjsKHb1rdA,119301 +PyQt5/QtMultimediaWidgets.pyd,sha256=w3i9yNCYqQpFH8Ziz6icK_gjYa30bNRXC0i1wy8iwDU,140800 +PyQt5/QtMultimediaWidgets.pyi,sha256=xaWc39aRu6Iig1r_Hoyrcanndro_D4uCdqXR5WC34uw,5938 +PyQt5/QtNetwork.pyd,sha256=NxAnpjSrYaBs2qeu8cbIBm7AhneMPlleLXicf2IsrNo,689152 +PyQt5/QtNetwork.pyi,sha256=jUvXmMFEPWfVjQ28bPlBUF-Lvn1VI2D86T7u-TAplU0,107892 +PyQt5/QtNfc.pyd,sha256=fsQ-wvW_CJJhHMRwFU6j_Wl359KuxR_3S7FLti4igYU,138752 +PyQt5/QtNfc.pyi,sha256=f-AkrkA4dxwmhB4ji3-7vdOkl8a40ZyTMgrFerdrfcs,19752 +PyQt5/QtOpenGL.pyd,sha256=FEpmJ7ztuCdvt5HNGHTIUDwgyGBKYsuNhzQAwZmI1Wg,123904 +PyQt5/QtOpenGL.pyi,sha256=bNxzfKtN3qmh-qX6MgWubHPMeojuZF5o7nHlY1aGiOY,16231 +PyQt5/QtPositioning.pyd,sha256=cVN_o4Tzr-F9XJAZv3zQJUf3QDYKez9LY8Hp6y9w_VI,178176 +PyQt5/QtPositioning.pyi,sha256=8uT5BgIJnG_gK52DGeLxdVe-Mr7wUzprfbjlqncVWuc,24881 +PyQt5/QtPrintSupport.pyd,sha256=CLA_IJISPTiY1QSRRCH4bzDY9x2eF_pHH2G_ejl4Wnc,253440 +PyQt5/QtPrintSupport.pyi,sha256=IdYG1k0jpEYhCjloFo2W2aK59MgkxhRPer9K6Llfr30,20672 +PyQt5/QtQml.pyd,sha256=0OeZHIXDnt4k-EQZbtSBsYIAealRYxFUBk2om6tQrPg,462848 +PyQt5/QtQml.pyi,sha256=Ccwtc1fkArP5twEmdTX1DgKejpO7i7Y_I2uXM5OqM0Q,29332 +PyQt5/QtQuick.pyd,sha256=IFcB3d7DHNIaifSTxAi13QIrkhtiTC59OFiR3GYGRXo,916992 +PyQt5/QtQuick.pyi,sha256=mBr_p1Mch7oPilgsh_JeQkiNv_viT8RcjqTYe-YHZHo,73480 +PyQt5/QtQuick3D.pyd,sha256=4BdX4Vb6KMLxq0pJhVBHFS-o-jKNEMtvcGDvwkkRRrg,37888 +PyQt5/QtQuick3D.pyi,sha256=7wkgVOTv0SlAQgWhnGzHg_aR77YYy0TEMCPqFrhxhwY,5562 +PyQt5/QtQuickWidgets.pyd,sha256=vWjcwuVCWCm3NAF6kQ8rrAs2XRdV-swujX-K6RQN8ew,61952 +PyQt5/QtQuickWidgets.pyi,sha256=lOLTrL7liVsH0Q1jm7NFBB8HhmBDvIuQexnC7zUpTs8,4812 +PyQt5/QtRemoteObjects.pyd,sha256=SSBXBIpUQDIanrcj1vwisTnphFr98AffutKOmQ2gmRU,92672 +PyQt5/QtRemoteObjects.pyi,sha256=7uDPm8uxotJ3ma7oiRF0AjRS-H6itpaoMF36UR9UcVk,9419 +PyQt5/QtSensors.pyd,sha256=LY3GWFUgZslaYKfpbgDlUg92wz6IiqLjCUi7jwR4r6s,249344 +PyQt5/QtSensors.pyi,sha256=vWLwpPRv_97Zgi9HCrHqBe7IE5Awl06Kuy-T3hSWSls,21360 +PyQt5/QtSerialPort.pyd,sha256=R3paxgem2kXX_zuYoRP2Ebx090yOgwSh_zjakyZh4Qg,73216 +PyQt5/QtSerialPort.pyi,sha256=LaEbHOmtyj7PLWbmM-hkBrP5SZnZTivoyueUhkZS8kA,11468 +PyQt5/QtSql.pyd,sha256=TMBfEHUsYMFgdfRHa40STZJg0Hm3qfPSkSsUb-GPtbc,309760 +PyQt5/QtSql.pyi,sha256=wouG0ybeOL07Uq_cbHQjgTnJIs_CDactos4ICB_Fp4k,29881 +PyQt5/QtSvg.pyd,sha256=uHu4ZOWfSpRadjBGcVjS-gIMPNAuos7FQDaNMcWnXyE,115712 +PyQt5/QtSvg.pyi,sha256=thR8RB7ttqcB_2K21rcPZNfOtnxFnXqQShtzIaxrQdw,6285 +PyQt5/QtTest.pyd,sha256=BW1ZPuLoUFEIlllyRPUgXyM-23s7tknbM-xK_u8l6Fs,83968 +PyQt5/QtTest.pyi,sha256=d4N3MsYHpCdNH-JgRgqrBC8c59m-u6Voi4j8ga-OC90,11447 +PyQt5/QtTextToSpeech.pyd,sha256=FfToWXTP79gxm_L26uqxix5j739tU-j49j0ckZ-XBWM,39936 +PyQt5/QtTextToSpeech.pyi,sha256=OCmAKGrYL7l27khavjwbJsdh-D4EmdJ4scuJReunBDs,3887 +PyQt5/QtWebChannel.pyd,sha256=Cub-3v1moPAaBeaEE7rGIs7RqVd3TZsEM4wKTj-ARS4,36864 +PyQt5/QtWebChannel.pyi,sha256=cUkBWmcWvg7iEmh2MB63LLQoPACMmUg-5ieEiCqxNdM,2577 +PyQt5/QtWebSockets.pyd,sha256=K4iCVH2YxKQLA0YpMoAjyRK8pCD8UAq8YVaxQhZNarY,76800 +PyQt5/QtWebSockets.pyi,sha256=Czl4qBgmR1MbEillwiulgdSdbNefM4uhGOO-ls4ly-I,10650 +PyQt5/QtWidgets.pyd,sha256=in7iZtGssy4w5FytMDNoHr2hO6dQB_XmSyN-SyiNfa8,5020160 +PyQt5/QtWidgets.pyi,sha256=5Ly7vB-S7VfEZhLTt_FFOIK8N4ASWMVUpsoSI2tt8f8,521870 +PyQt5/QtWinExtras.pyd,sha256=D9mm1pAoAHUsB6WtDiiKouOrqx9_j-ZcU_VZQU-92LE,109056 +PyQt5/QtWinExtras.pyi,sha256=PCbz2UJ6eXQ3wfrJL--7LvTiFBaV9P5pIwgwiepTD_s,13703 +PyQt5/QtXml.pyd,sha256=JeyhjiTS1gfvtw8x6-RP-aE6L3XJeifYUtLLt6VtJF8,216064 +PyQt5/QtXml.pyi,sha256=CshkEImrTQGfWWKHaw8RzJLhOm6AUdEecry_81CK5Cg,28419 +PyQt5/QtXmlPatterns.pyd,sha256=JvXJNcfYBoIUKN9e0s167UGK2VaLcXY_M35jYNu4u7s,132608 +PyQt5/QtXmlPatterns.pyi,sha256=hGsCTY8n-Pppc2lEjIbrNwCjRwChFjdJwGzvpLOiU94,15573 +PyQt5/_QOpenGLFunctions_2_0.pyd,sha256=lCzKLCdysa5XhlV00IbjI17CMLGIDArzq16177QBy3k,240640 +PyQt5/_QOpenGLFunctions_2_1.pyd,sha256=G46VH0Pw-wAx7P_rd0I9gn0-Yw6qsWmaVUDlRk9yZWI,242688 +PyQt5/_QOpenGLFunctions_4_1_Core.pyd,sha256=eteKTi5I2FBqtn8daeI8i4rPOErA2KpXikOUnykV2oU,128512 +PyQt5/__init__.py,sha256=4gsunB-0MdECmpLHiOgfL4sV3vrGKja--IpEaG9VXj0,1691 +PyQt5/__pycache__/__init__.cpython-37.pyc,, +PyQt5/__pycache__/pylupdate_main.cpython-37.pyc,, +PyQt5/__pycache__/pyrcc_main.cpython-37.pyc,, +PyQt5/bindings/QAxContainer/QAxContainer.toml,sha256=hFLzF2Q0A-D8F1y6o-EiZ4lIgjufhi8A77GIjGeKFIY,186 +PyQt5/bindings/QAxContainer/QAxContainermod.sip,sha256=l71SYftW3BYSrGxgQ_sQHAB-ydzTyUYEdH_uQic4-9M,2010 +PyQt5/bindings/QAxContainer/qaxbase.sip,sha256=6LC3S8oi5iB9yEBrPBC5lBs_FtmwMGt9CkVtSfTWeKY,5361 +PyQt5/bindings/QAxContainer/qaxobject.sip,sha256=0ygBwNwtT1ViFBkNL1Am0s72u3Mf9cX7aGPFCAuIv30,1951 +PyQt5/bindings/QAxContainer/qaxwidget.sip,sha256=7Cry44y8NoDCgy_VcCi-fG9Y_stF74p6n8KhKgql7rc,1786 +PyQt5/bindings/QtBluetooth/QtBluetooth.toml,sha256=r04PQt9rSKLnddScCI_wSxfGqa_fayCpoCq9xUyRhGY,185 +PyQt5/bindings/QtBluetooth/QtBluetoothmod.sip,sha256=j20toMKWHYAFrYr5rLJv5I6DOoK8kq-ZMdLA-iZP11w,2883 +PyQt5/bindings/QtBluetooth/qbluetooth.sip,sha256=oHYVeV-rQVbqRWnFEYCekCLGfRCa124QyD9z6ztf8zM,1881 +PyQt5/bindings/QtBluetooth/qbluetoothaddress.sip,sha256=KRijrRpsWfu-kA2AmKJB5HO5Ondt3XRNUkz-VQMWqrU,1611 +PyQt5/bindings/QtBluetooth/qbluetoothdevicediscoveryagent.sip,sha256=21Rc7xR0XBF7qYKDwTwXg4eoTwxykEkxGpo8d9l6FKw,3372 +PyQt5/bindings/QtBluetooth/qbluetoothdeviceinfo.sip,sha256=zDbu4fnK3gIb-3Zc-eaLk7SPWvaoR9Ae7qQpUh_lI28,7390 +PyQt5/bindings/QtBluetooth/qbluetoothhostinfo.sip,sha256=sQioikE1iENFChui0jovwrWbJ_lD-q_wSBHC_2iD3LM,1558 +PyQt5/bindings/QtBluetooth/qbluetoothlocaldevice.sip,sha256=4-afwnugJZTVmvGv16X64el6U-HtuAgqB_cC4yZUhTE,2999 +PyQt5/bindings/QtBluetooth/qbluetoothserver.sip,sha256=iIvSONJ4ZNoQuQrPSP8FqaL56n1dm9qpTmu9buUfl5U,3721 +PyQt5/bindings/QtBluetooth/qbluetoothservicediscoveryagent.sip,sha256=2plhyIsv5z5BVaLYmZd_wnnrLkDcXKzzY9n8ocb0QNg,2622 +PyQt5/bindings/QtBluetooth/qbluetoothserviceinfo.sip,sha256=b7Jbz2lEx5Trq0-jnDUFA8WXdEAf6Ggi6ufgij0mwHM,3412 +PyQt5/bindings/QtBluetooth/qbluetoothsocket.sip,sha256=ctdLHc91QFWPw8a3yhenu2UN7tVxPayYjuxWfTpa93s,5191 +PyQt5/bindings/QtBluetooth/qbluetoothtransfermanager.sip,sha256=eXyo0AdzC3p6PhrN3MaaQ4HYuCfHS7RY-k1wCyvRfJA,1432 +PyQt5/bindings/QtBluetooth/qbluetoothtransferreply.sip,sha256=v7IFdBC48U6r7ugp5ZEOOeNWRF-uItRBvLsaJq3LF3A,2276 +PyQt5/bindings/QtBluetooth/qbluetoothtransferrequest.sip,sha256=LZTK3yfGcOBYCaJ24EnK_7DrXj5jvpDZ6MZ8akOO9r4,1886 +PyQt5/bindings/QtBluetooth/qbluetoothuuid.sip,sha256=HH6ZXEi3i1aott21Nn4MoOyA3Nbt-1IAdAg7QLg7-AE,11907 +PyQt5/bindings/QtBluetooth/qlowenergyadvertisingdata.sip,sha256=5EQ4iW1f-ZfmLEE2RLKXQTqnDiWH9NIUVI1m8l6UHmE,2400 +PyQt5/bindings/QtBluetooth/qlowenergyadvertisingparameters.sip,sha256=vEK8DSHD6cjVIaUlMRdoam5W9HwjHbOFTwwdH5Xrd0E,2930 +PyQt5/bindings/QtBluetooth/qlowenergycharacteristic.sip,sha256=kgaAkvTbYixWdtK1R-mQa7hHAgp0xfdzQLcjgUVihE8,2224 +PyQt5/bindings/QtBluetooth/qlowenergycharacteristicdata.sip,sha256=qpcnry8yj6yvbhMsPJmEaj59kWRBSH5dApiTrOI7aDM,2533 +PyQt5/bindings/QtBluetooth/qlowenergyconnectionparameters.sip,sha256=qI3jKxeWwI2UcIdTXcjmLXwh32a3Nno2DgQBIa_wY_4,1894 +PyQt5/bindings/QtBluetooth/qlowenergycontroller.sip,sha256=yvpwkavLpbu94yai0C2mTsZ41O7KUtx8rH-D8sHbnPs,4733 +PyQt5/bindings/QtBluetooth/qlowenergydescriptor.sip,sha256=VogWscuueAIcwDBKsFYRT4Xbv1toRVC5Eaa7LdnC6Tg,1572 +PyQt5/bindings/QtBluetooth/qlowenergydescriptordata.sip,sha256=ig_Gf9-b7w-FF2fIKdi9LZHB-dNVO53hBb16z2tZ4S0,2257 +PyQt5/bindings/QtBluetooth/qlowenergyservice.sip,sha256=KHEkEdGpXp-tjylVwSYYAW4a0Yo3lTj_hmss9scH-hc,3855 +PyQt5/bindings/QtBluetooth/qlowenergyservicedata.sip,sha256=sY1D29yGSTJPgI_RfjR7HVPHippADrqRPEzC8NDt4Sc,2263 +PyQt5/bindings/QtBluetooth/qpybluetooth_qlist.sip,sha256=HuSZNzqryajpbCAVBZh2BPGRBYBaOR7lUB4d-zVLQKA,5611 +PyQt5/bindings/QtBluetooth/qpybluetooth_quint128.sip,sha256=I73mJPxvt9RwZnNiG1Ie6UjMIdUEhVu-O1mYHdbaFjQ,3041 +PyQt5/bindings/QtCore/QtCore.toml,sha256=YfpFyxCOoAFuspIFYKo1uc3QSURN0B_JDO1k1C4-4BI,180 +PyQt5/bindings/QtCore/QtCoremod.sip,sha256=c5AQNTw9buS0rlyrBnPPGWNXdPWggjnBERxYQjJQlR4,7142 +PyQt5/bindings/QtCore/qabstractanimation.sip,sha256=OAUpuNiky-3EA4pjQvGUz27XUV42UmsmDYHxPgj1kak,2639 +PyQt5/bindings/QtCore/qabstracteventdispatcher.sip,sha256=ZR-s4iJQR4a4WlZ4Tl9ZdMrAfTebIoqr3Oud5VjAxXE,2911 +PyQt5/bindings/QtCore/qabstractitemmodel.sip,sha256=-rhcwE_JChdwVXygLGgJLiLbOve9Gi7j5gUuyMRJQ6U,14579 +PyQt5/bindings/QtCore/qabstractnativeeventfilter.sip,sha256=ytO818DkCPrmmbyS8FnW9QXensaeYTPwRHNuIoP4kfU,1362 +PyQt5/bindings/QtCore/qabstractproxymodel.sip,sha256=Yt1AGMeGYURxss8YRKnkamyZPJQ95kKQsQbVzqC2TSc,3733 +PyQt5/bindings/QtCore/qabstractstate.sip,sha256=7XRu_PzVQZgbs3T8pSH3sHrQ63sRKVOujmM-fXCq1N8,1542 +PyQt5/bindings/QtCore/qabstracttransition.sip,sha256=V89nHP_-mnIc5AmYJTt11ex7u-HPnAkgi2YCZlA3Az0,3602 +PyQt5/bindings/QtCore/qanimationgroup.sip,sha256=6CYtDPptazqsvNis_K7FfO8PyS_AYEkyf5kdaWUVy9g,1692 +PyQt5/bindings/QtCore/qbasictimer.sip,sha256=032yGYZKBIlYbzw-KnTDmtf9C6aoGO_04CoqNb5f39A,1417 +PyQt5/bindings/QtCore/qbitarray.sip,sha256=pQ4pV_kNlkZ1V9QN5JO05LireZGa-YxpDf-UsMCbURc,3106 +PyQt5/bindings/QtCore/qbuffer.sip,sha256=RcN4fh22qfNok2LHQ87OEpOPthGFvXbVTqvt_17zEdk,3098 +PyQt5/bindings/QtCore/qbytearray.sip,sha256=ArGZq7iEeQ3NJSDwHAZC675DEdnJtVEJj_S3d_owTyc,17417 +PyQt5/bindings/QtCore/qbytearraymatcher.sip,sha256=KQkvW6rEAYCeRgSu3iPvyVpUHWNy0clEo5T4tuIwG0I,1387 +PyQt5/bindings/QtCore/qcalendar.sip,sha256=TYY9HAwM8la4ey_U-07nFsyaKU45wFMn6rFKo73tdE8,3571 +PyQt5/bindings/QtCore/qcborcommon.sip,sha256=jwZZHTnHh-H3ikEwPpnSVvozW3OPM3FTLq4glNYWaKY,2490 +PyQt5/bindings/QtCore/qcborstream.sip,sha256=WMpV8CNZVXKcrXXnJm9ZoI8U8MFMLrhbqAmnnC0L4VA,6687 +PyQt5/bindings/QtCore/qchar.sip,sha256=2RFAU6oyitnOSX-oowvIvgIOdsZf3eqFn--Q3mnfOIE,1637 +PyQt5/bindings/QtCore/qcollator.sip,sha256=mww_tFl6Umy2PDeoU0WDzzJ8-SIARgtLEZOpYpqYGmc,2126 +PyQt5/bindings/QtCore/qcommandlineoption.sip,sha256=U9_RKtnnzAp6m6-XhzgzaxlRL7DC7xkYAwYZqBvTf7E,3090 +PyQt5/bindings/QtCore/qcommandlineparser.sip,sha256=yGgSWjkeUqc70jcaV45r3ZyRSBQUzzFQTBPbqwogNoo,3024 +PyQt5/bindings/QtCore/qconcatenatetablesproxymodel.sip,sha256=JjuW5_ilsYL0vQ2hHBZzMHbF7dd7M5iW6ck53bHmVvI,4272 +PyQt5/bindings/QtCore/qcoreapplication.sip,sha256=D_x4-O1Gs2E9x0wsvfwn05CltTZAi_pozC9ZX8HamR8,11408 +PyQt5/bindings/QtCore/qcoreevent.sip,sha256=QT6BDrKD6Ri2MMtLRGFMCHxtPbTm60P3lutPncU0jGA,6702 +PyQt5/bindings/QtCore/qcryptographichash.sip,sha256=TEL1kwTX4yUHAwj-sRAvlGCdkYS4y_N2hZihgApOcKE,2127 +PyQt5/bindings/QtCore/qdatastream.sip,sha256=p2PKPYlIlyX7W4uqAsg3sWKbEm7R8gQagdsUNpQrrkU,10188 +PyQt5/bindings/QtCore/qdatetime.sip,sha256=qyfRl_jFlPFuLrKUP0WdgFwN6pvhhC9tSi04C6Hiids,20512 +PyQt5/bindings/QtCore/qdeadlinetimer.sip,sha256=2RSijLZcxj16WQ-U4_qTqqHV3WPos4lue11mfi1gzNU,3123 +PyQt5/bindings/QtCore/qdir.sip,sha256=3DWtxJyC4Q-gdgw7OmJhBLZWjSZHyyiTa9Q5UUBJwCQ,6420 +PyQt5/bindings/QtCore/qdiriterator.sip,sha256=gIOB328WGaXb58oLnz2xmIIcfsKuzsrXzfHlsFLBX6E,2109 +PyQt5/bindings/QtCore/qeasingcurve.sip,sha256=xQfwtnCj1GRMeuVS-1pkjOxGRtsMYKRRPW0cRk9-2Y8,6957 +PyQt5/bindings/QtCore/qelapsedtimer.sip,sha256=n0zeJ_tzxJxWElsFIKBijwtimozn7OWOfe4fWD3c6J8,1886 +PyQt5/bindings/QtCore/qeventloop.sip,sha256=xfmsNs4CAN8qWvxsHUTucctR4kMRdibep4RU-j92-bM,2586 +PyQt5/bindings/QtCore/qeventtransition.sip,sha256=5Qc6fEalLi50qYKDr0CMN94njZXaNpYAETbKwpMVD3E,1628 +PyQt5/bindings/QtCore/qfile.sip,sha256=2D1JXyBh-1IQhYEjlwWPf_5HfzLLPPzfngS5z1jhMNg,3033 +PyQt5/bindings/QtCore/qfiledevice.sip,sha256=WCKbndF43aEfH8OV_SC-jBPftuhK7CurdzngYQ1nIuo,5888 +PyQt5/bindings/QtCore/qfileinfo.sip,sha256=qMi4ga8zCwMwXZTL6x1Sa4IOzAIzlNkZLpth4bM9HR8,3521 +PyQt5/bindings/QtCore/qfileselector.sip,sha256=BSFSoE37oUcPlpiYeLQZ-NypY8AWnEO1oKjoZxHSi_s,1430 +PyQt5/bindings/QtCore/qfilesystemwatcher.sip,sha256=1mXHRgT8qiJH27L04FBxYDTduN50GnHcJ2AY6iW-x2Q,1640 +PyQt5/bindings/QtCore/qfinalstate.sip,sha256=dsxunkyFHZLbnqgIy9pc-cpRSNuNwEqqnnZkv6hfrdw,1290 +PyQt5/bindings/QtCore/qglobal.sip,sha256=YZqMID_hM2Wuu90HsLQnK8eB-WzzfDqZT0UrkcvGV8o,7249 +PyQt5/bindings/QtCore/qhistorystate.sip,sha256=frcljbdvx1OIY-opiYLAi0aT2e80WhorlmDypeUWY6Q,2091 +PyQt5/bindings/QtCore/qidentityproxymodel.sip,sha256=Bhvkx3SlNuJ0WtjpvGtyCe-KT8IkTlDFlLOBx1yngWE,3318 +PyQt5/bindings/QtCore/qiodevice.sip,sha256=xcEwFr0Rq0KLr-6aU_YgDi9bqAWLETee-Lhv_rbGZwE,10032 +PyQt5/bindings/QtCore/qitemselectionmodel.sip,sha256=SV9DW9Uzl7JZYVcIxjHNqPYtJAdZv8x1VnaxsxDuhgo,10238 +PyQt5/bindings/QtCore/qjsonarray.sip,sha256=MXkZrUVbwY2YtFN6xGUotQK2t6AjPWpDGFXgtyX4JxQ,3486 +PyQt5/bindings/QtCore/qjsondocument.sip,sha256=oczLm9OuceO0MmWtFjMXQ1uFgz2W_GZ2aDGVTufuZTo,3585 +PyQt5/bindings/QtCore/qjsonobject.sip,sha256=AObw5r3OvXJLMZmtyWANLW-byiX7izTD9eRZ7XpHfIs,3636 +PyQt5/bindings/QtCore/qjsonvalue.sip,sha256=OX90xc0btWIOea2lWgb0w5lHAlLMTrpxoVFk7z19n8c,3204 +PyQt5/bindings/QtCore/qlibrary.sip,sha256=QSUFo2uQw6IA6oC--cH2MoaUGWM82Plo6xA2zszrtCU,2581 +PyQt5/bindings/QtCore/qlibraryinfo.sip,sha256=PhN-h-KXBbLgMy2pBnDcBkBgwY0eAXbKuXyyLRJTyj0,1767 +PyQt5/bindings/QtCore/qline.sip,sha256=Yq2qxj5np1AIRsciIdFM_5JgAwXz-xyxfckevUg9s2M,6678 +PyQt5/bindings/QtCore/qlocale.sip,sha256=b1Ez4SXYYj011O6vEM32YT_McQUHxeS7M5U6QNcXKlk,34464 +PyQt5/bindings/QtCore/qlockfile.sip,sha256=Kh8eS72qkFc1YhMBMteuMxfOmxsBo5GjEy6iRjhGkjU,1722 +PyQt5/bindings/QtCore/qlogging.sip,sha256=hexXobOcs4YRnge1J7L5Xhxw8mYKAB4JBv9eRHyoeWc,6174 +PyQt5/bindings/QtCore/qloggingcategory.sip,sha256=KRP5t4Dh2aJRwrWUWOQg69qLcIkx_9T1Q_pNqugGz_I,1726 +PyQt5/bindings/QtCore/qmargins.sip,sha256=AqNmQfVTusGZfz61ywejAZ8KshMtB1ejp9wWcc9PIZM,5292 +PyQt5/bindings/QtCore/qmessageauthenticationcode.sip,sha256=lX90ZEmctE4XdzVisZwO8sL_L3DkcuSmueVobsuO6WM,1696 +PyQt5/bindings/QtCore/qmetaobject.sip,sha256=aYlrJzDPXUEDWCA5T_pJfg1-Y8Bx5jOqJM9eQ3ByCvs,8172 +PyQt5/bindings/QtCore/qmetatype.sip,sha256=Hgk2jvTQjR2Phw-3eXSG4Us-nZfK17bkDXMIXTbpnBk,4007 +PyQt5/bindings/QtCore/qmimedata.sip,sha256=9yG5WLOrXNo5EfS5L1Hq1aQ6DisqpV496rVsZ2Bhesw,2062 +PyQt5/bindings/QtCore/qmimedatabase.sip,sha256=b2XI4Z-70JIPPBznnl0hO-LJm0DdzFo8UftLYhzdQZA,2136 +PyQt5/bindings/QtCore/qmimetype.sip,sha256=y6NNNzGCE7fTKIXp1UvD7DcxfzrI3UTI3Vvzn_mhEKk,1887 +PyQt5/bindings/QtCore/qmutex.sip,sha256=4dDiuCWwhJ3b_uF1xFreWWfFPJ233gWe1wtke_Gbcl4,2368 +PyQt5/bindings/QtCore/qnamespace.sip,sha256=8_sixxwcg0PFyQ7gyk13KEhIzdj_XpgTZbSdm0QkVgc,39318 +PyQt5/bindings/QtCore/qnumeric.sip,sha256=fBMAN1y_uFd2ggYW3qseTHKTXFrf0kkCdDDpu5750Bc,1207 +PyQt5/bindings/QtCore/qobject.sip,sha256=D6EtQa-6HeZfgqbJmk_KHk3Rdq7Xbbz3QLDGZex_Qr4,25277 +PyQt5/bindings/QtCore/qobjectcleanuphandler.sip,sha256=s8uLoNa2CUOYR8J4RiSxhwYr9dr7l1NH4bPpsQpu2B8,1284 +PyQt5/bindings/QtCore/qobjectdefs.sip,sha256=HWH375IR_5NZ9A6gGR1ez8lUqXNOquVlioewFvYKVfc,7914 +PyQt5/bindings/QtCore/qoperatingsystemversion.sip,sha256=z8x1zYvnQ-u2upD3FgZaRhI4PNnzNQmqwRu4En7ltCk,3616 +PyQt5/bindings/QtCore/qparallelanimationgroup.sip,sha256=7_7ep3oBLsacOZ9RA9w8DvdoZhZU2AiVi6AOILafyBA,1541 +PyQt5/bindings/QtCore/qpauseanimation.sip,sha256=vhAwsFytXpVdUurUR00GQ_2v4JH2mlx-57F6QO_hMi0,1412 +PyQt5/bindings/QtCore/qpluginloader.sip,sha256=sxs-3_Z7U2wJuDT7iTBi-wXpthIusvTmHOQA830HPXw,1598 +PyQt5/bindings/QtCore/qpoint.sip,sha256=HSsCvy4zJ2eAMkhVeKJlvj47u2tx3iq7f8l4rWElLcc,6649 +PyQt5/bindings/QtCore/qprocess.sip,sha256=MsLmKtVGGqYL8w1WuNY1LWVxsA4kcyVjshrKd3ocIgQ,7926 +PyQt5/bindings/QtCore/qpropertyanimation.sip,sha256=VVbBfu1XBQK8YYl86JPyKVtUZdpt1tJxQunXG9Njchw,1737 +PyQt5/bindings/QtCore/qpycore_qhash.sip,sha256=DmRxn9zvTWsce-CtpBRMzLUGElgmovIlGN6KGhp2c2k,11683 +PyQt5/bindings/QtCore/qpycore_qlist.sip,sha256=EOsv8ClJ49AILLVeeTs3Rt3-ALifLl8daldoRLsMO8s,21174 +PyQt5/bindings/QtCore/qpycore_qmap.sip,sha256=X8iK1CXQWX2FgbLp-y49CpJGuyroIZ_3SZDPqp-YC8k,8550 +PyQt5/bindings/QtCore/qpycore_qpair.sip,sha256=tg4WL4fPk2Fqd424fdLNBbYD_X3MmQG9V9yXY6DOrDs,8489 +PyQt5/bindings/QtCore/qpycore_qset.sip,sha256=Is-3Escw2N9DfSX7gar15a6-8X465TjLAMGW8u6jZZc,5661 +PyQt5/bindings/QtCore/qpycore_qvariantmap.sip,sha256=5-7zwQGTOcqEgj2rOGnQVgNWEnSI01itBH-GxWRPTcY,1425 +PyQt5/bindings/QtCore/qpycore_qvector.sip,sha256=aMJFny1_Y-DJxr_649HhZ6-6cHIau3YSEut06osgTow,14035 +PyQt5/bindings/QtCore/qpycore_virtual_error_handler.sip,sha256=dbbwoTNZo_Awee8g0l4ndJceOQduoTf8asF7RFgtCaw,999 +PyQt5/bindings/QtCore/qrandom.sip,sha256=XZuAlibBPUoDmeXBSPA_mQWRXTfNbZ6wy5I9XRx-Q0Y,2000 +PyQt5/bindings/QtCore/qreadwritelock.sip,sha256=pH51UlRiEJ8dqgsxl3ZHhZZ79KyJyWTVP9oPRkEkVPk,2810 +PyQt5/bindings/QtCore/qrect.sip,sha256=FxQGnI8tQEAiwzcboBdyODZ61vrsNfVSW5-xFG4dHaM,11291 +PyQt5/bindings/QtCore/qregexp.sip,sha256=KWvOcXtH0X7DwuJ_-wvbvzuOSqZTlqglGYEj219ypb8,5016 +PyQt5/bindings/QtCore/qregularexpression.sip,sha256=WjR1j7JSL4eFBf2OlsPgNfoyHCTpLO8-7VQDWKhAU5Q,7379 +PyQt5/bindings/QtCore/qresource.sip,sha256=z0oa2QmdLz9KiE5mhrRMS_3QaeIPxVCB3QqOlZ0z86U,2909 +PyQt5/bindings/QtCore/qrunnable.sip,sha256=342t-gIZezXbMdq_l1lcQopPikpGWn94Dfawkgmu3wQ,1747 +PyQt5/bindings/QtCore/qsavefile.sip,sha256=-EdrJ_5W6Rnjd5YcpYePTmBnqysTkOCJZHShXrLAaZw,1725 +PyQt5/bindings/QtCore/qsemaphore.sip,sha256=4_dMj7I6Nyhv2nFU1rQ2gfH57yfw_RcyVszxp6KrcN0,1704 +PyQt5/bindings/QtCore/qsequentialanimationgroup.sip,sha256=bLdH8XIWhRdOgEzyKTsPQo2vXRGHPsXCt_MiZhN6UF4,1766 +PyQt5/bindings/QtCore/qsettings.sip,sha256=DC_rEOJviJ1UiG7YmQfp2i28mU75Jyx1HTg_gJfkms4,4238 +PyQt5/bindings/QtCore/qsharedmemory.sip,sha256=U5-r83G0MF6NyoZm3adKA_PJKb3Fd40xctsmfangrAM,2395 +PyQt5/bindings/QtCore/qsignalmapper.sip,sha256=awYTzFY9yj0LzA-xLZ8DUFi4WSFQOGAnFecmV9ZHnOQ,2186 +PyQt5/bindings/QtCore/qsignaltransition.sip,sha256=ZClviYStbuvuLtSlhN33dl9YdCNs4fuVf4ICvfWi7so,2235 +PyQt5/bindings/QtCore/qsize.sip,sha256=_djUMrr8AmKao_290v3-B_7KcUOVAmPjTYJCPe_1cSY,6215 +PyQt5/bindings/QtCore/qsocketnotifier.sip,sha256=pcghiteXhQtbwVRtDCHIFL21c1Oi5f4jl-aLv_Ty-kg,1531 +PyQt5/bindings/QtCore/qsortfilterproxymodel.sip,sha256=vSDu7r5K_UNL6EDkgi5TPWuUB8aOOh4R_pK3Cc1_ax0,6342 +PyQt5/bindings/QtCore/qstandardpaths.sip,sha256=6Zaq7hkBtfkz4XnN0EwqRWxqmHkUZ27WsxEpxzKjqzY,2942 +PyQt5/bindings/QtCore/qstate.sip,sha256=HzxtV6B2KEbL8jI9ivasaXoz66X8L1_coB5pNvROOHo,2943 +PyQt5/bindings/QtCore/qstatemachine.sip,sha256=7an1-0T4XejuwbW05Cga0M8vhy-PXktnLIsfaLxir2o,4749 +PyQt5/bindings/QtCore/qstorageinfo.sip,sha256=ohAOQBO71F7UXZBSTybQLig8MH6IFHcMhj-erjEscds,2145 +PyQt5/bindings/QtCore/qstring.sip,sha256=gJIoZgY6zzNMlrukQZ6ngpbycU7Smm24zFYS0Fh1qeI,2063 +PyQt5/bindings/QtCore/qstringlist.sip,sha256=1CLGJj6PdOBCfWee18CzqnMYL4qRB4enhuI91dhejjQ,3714 +PyQt5/bindings/QtCore/qstringlistmodel.sip,sha256=XMxG_KdQI2bYgx72jAA4s5SWYXXjbOBMdKS3KiZx1ZQ,2448 +PyQt5/bindings/QtCore/qsysinfo.sip,sha256=l2YwsvrJgC6lwkMq5_kc5mlXsVlZLduabb0xxMO2UyY,4005 +PyQt5/bindings/QtCore/qsystemsemaphore.sip,sha256=uHB_l3m8wCoBMqPcN0aJCpK5S5OCE9tK4NXS4CaDyTQ,1848 +PyQt5/bindings/QtCore/qtemporarydir.sip,sha256=Gjy0q5koM7FjzzCmFEILe6WxDOW8814fEqZd2g8vRA4,1495 +PyQt5/bindings/QtCore/qtemporaryfile.sip,sha256=JAZJAVaO9gyq--T0pbcso_CahrL8PNX8BKLDgx_6NuA,1866 +PyQt5/bindings/QtCore/qtextboundaryfinder.sip,sha256=K11rwHjGYVlaGiXsMl1gzhFdXKN3fHx702jFdyBNFkA,2169 +PyQt5/bindings/QtCore/qtextcodec.sip,sha256=OY-rTzVVthCoG2PC_7hgGIyXqcdXvPPseCB6fOiv54s,4228 +PyQt5/bindings/QtCore/qtextstream.sip,sha256=-chiktaUHnvxk0hUKrwb8DSgyBdwoKIuJFCI9Z-QFng,6053 +PyQt5/bindings/QtCore/qthread.sip,sha256=-8mIsC0QL9xEMdSYthoAwj7Eof6aauNYvCM3mFynWLg,2985 +PyQt5/bindings/QtCore/qthreadpool.sip,sha256=BJMQ8Cy1IN7o_FYSHM9Zy9WKlvv1eIlzlCCkyVv5pdE,4141 +PyQt5/bindings/QtCore/qtimeline.sip,sha256=XSDQDkYDdWDBXXOL7vwFGT0hfwLTjANnnkgHSk-kn0s,2789 +PyQt5/bindings/QtCore/qtimer.sip,sha256=UdkbX9M4qxEkr_E0wiJwgLiDox1D1zZkUy9KxP38ndQ,2668 +PyQt5/bindings/QtCore/qtimezone.sip,sha256=welh8-WCQH3hfWNDnt3UAxKQmscyk63dK7cfaDO4rrk,4380 +PyQt5/bindings/QtCore/qtranslator.sip,sha256=ULj_GPfCMKzemAuQsnxTrSNh3Z320OqtcAupfbGkDSc,1926 +PyQt5/bindings/QtCore/qtransposeproxymodel.sip,sha256=9mNwjb_PBVTxtYNTUxlWsSUUbJCKSUgwrGvdY8h_Ip0,3053 +PyQt5/bindings/QtCore/qurl.sip,sha256=FnIspCfEE0k12WNVGqe6sMURCJeQMMKQuINSk7JkczI,11703 +PyQt5/bindings/QtCore/qurlquery.sip,sha256=G5BX6drlnoNTwZwqUsm_PLgumEoWY03pY0avgiESSRA,2685 +PyQt5/bindings/QtCore/quuid.sip,sha256=lpG4p9cS5hkeJqKFxJypzNq1lsKsDZ_QkS4pAFn6rsY,3632 +PyQt5/bindings/QtCore/qvariant.sip,sha256=_OSZYfKP8CuKajvX4Bz1idr3B1YL3Ou1xusVmRi4v-E,4727 +PyQt5/bindings/QtCore/qvariantanimation.sip,sha256=jzXnH15gNt8S73UrEMxNc2cG9i3dLau1DOADNO6qUcU,2252 +PyQt5/bindings/QtCore/qversionnumber.sip,sha256=Vpicng8LttM7GEDw-skFoLThw2MrdUf0UThXm0_Lf9E,2836 +PyQt5/bindings/QtCore/qwaitcondition.sip,sha256=0Svb3LarwZRhqnaca3c4vpxZZxXyrCV9eoAlEuSZvFk,1599 +PyQt5/bindings/QtCore/qwineventnotifier.sip,sha256=BcMKvZZ_g6USHZNYOlfZFzeWVyqeSeGgoDniNY_KjCI,1630 +PyQt5/bindings/QtCore/qxmlstream.sip,sha256=9nSIjQb_Ve9ncGTYvINqzouiPARNHzHYwzU9z8HENfw,14468 +PyQt5/bindings/QtDBus/QtDBus.toml,sha256=18CPiQd0_1nazWXdR7eH3ntYrfjqUVGcfrz8EpiQCCQ,180 +PyQt5/bindings/QtDBus/QtDBusmod.sip,sha256=ZyJXZsOjwYlNi1el6QFpwFky632sIjoArjyj99To5dI,2395 +PyQt5/bindings/QtDBus/qdbusabstractadaptor.sip,sha256=4Bl9psdz6Mt3C_b3IvvcNwTrvAeTfAOMtKJsmTQbiN8,1309 +PyQt5/bindings/QtDBus/qdbusabstractinterface.sip,sha256=Dc1uBrPGtQeCEnvsDnEZ8vU1hsyUG8dm8Jf2tiaGOoU,6844 +PyQt5/bindings/QtDBus/qdbusargument.sip,sha256=6CihN48LtFV_7C0D5uvcTXdUqyIeVqph9euIVHNtOyw,5238 +PyQt5/bindings/QtDBus/qdbusconnection.sip,sha256=vupH4sOq5DMUnQs2TSImO44L2OccZgmz6NALLT8eV8U,10165 +PyQt5/bindings/QtDBus/qdbusconnectioninterface.sip,sha256=O_APn3PGesXnOLiF1hRr3j2eel9ILWDR_8rlGb90Cxc,3073 +PyQt5/bindings/QtDBus/qdbuserror.sip,sha256=maIe-ZF87UGsCafrMRW9HBopqGnVc7UkaA1C8Cch_BA,2026 +PyQt5/bindings/QtDBus/qdbusextratypes.sip,sha256=QsTriPComlClnYVoXXOdAie_rZwp0Ge79Q9MArkrPss,2652 +PyQt5/bindings/QtDBus/qdbusinterface.sip,sha256=LEYPqen5yDzZpNE_bHiXtZg_eDdnvhauEfeTr5bnQWY,1331 +PyQt5/bindings/QtDBus/qdbusmessage.sip,sha256=WkisJ-pcmV6L7NgK_YMI3I3dCbV98lbSgJM6RO9VHsg,3184 +PyQt5/bindings/QtDBus/qdbuspendingcall.sip,sha256=XXr-QCbzalngaLSd6lNl8GsxP6c15i5yOa_sJERK-DQ,1901 +PyQt5/bindings/QtDBus/qdbusservicewatcher.sip,sha256=UyPch-aXQkzveXU4s74dSzyIsjoemVuVBoFPimvlLOc,2539 +PyQt5/bindings/QtDBus/qdbusunixfiledescriptor.sip,sha256=FnbH_xdThOQb6rOMD1xiUc00aeU91jnxnAIHBCWA4OY,1489 +PyQt5/bindings/QtDBus/qpydbuspendingreply.sip,sha256=7ZiyWP7tcAIWwqRitjZfOGzGUeq6CQJqgPFiyd01tq0,1783 +PyQt5/bindings/QtDBus/qpydbusreply.sip,sha256=fkWtLTx3E2hJ5807uBhowrg6gxOfK4KQMeXd9-Ih6GE,5529 +PyQt5/bindings/QtDesigner/QtDesigner.toml,sha256=klPmxODmBCixJKNnuD8wYosuKYADn5rvX7mO3XFUwLo,184 +PyQt5/bindings/QtDesigner/QtDesignermod.sip,sha256=Fz99XM3egrL8Az22GV6GimKaq1_J62SkeKVeJjMxlkA,2848 +PyQt5/bindings/QtDesigner/abstractactioneditor.sip,sha256=l6v9QMymL5umRgtlkKOKC7XPZdwNZkPu3Yihyj5AvSU,1530 +PyQt5/bindings/QtDesigner/abstractformbuilder.sip,sha256=jKcrH0reurvOfgjT1v07RwuDJiTfG0Mllrv8Z2jJ0Bo,1502 +PyQt5/bindings/QtDesigner/abstractformeditor.sip,sha256=E_Dk9xSdWbyrXz8VGS0xfSbNt69x0tqrCfGsCE7zNH0,2191 +PyQt5/bindings/QtDesigner/abstractformwindow.sip,sha256=1ePGWBmaNNksC5XsZg7-kiPzRrRRnw8Cz2iPoCaW4ZI,4826 +PyQt5/bindings/QtDesigner/abstractformwindowcursor.sip,sha256=nJC2CE8LIkt8Uu0ZeyFhp5sBsJtS9K7RxpqOWBp5PAU,2460 +PyQt5/bindings/QtDesigner/abstractformwindowmanager.sip,sha256=5WzUhE3mEYr-B6MfNZAqSxZhBM2PZswowFJAx0LK5cE,3358 +PyQt5/bindings/QtDesigner/abstractobjectinspector.sip,sha256=M2TtCVjNTsW1_dkK6AtOjglFcGzriHfua7AaPCYpzw4,1437 +PyQt5/bindings/QtDesigner/abstractpropertyeditor.sip,sha256=mW9Hs-2y0pITj3xfKbyI48FWqx_xqVnRdrjjgaHgAcM,1779 +PyQt5/bindings/QtDesigner/abstractwidgetbox.sip,sha256=THkS3vK9ktd_W15lH_sf8EOPTpTLeIxXyNCDgvNI__4,1417 +PyQt5/bindings/QtDesigner/container.sip,sha256=yaib4pIQPjxWjdACn-VIKoRwj_GpRBaMBZCqAsf5iUQ,1550 +PyQt5/bindings/QtDesigner/customwidget.sip,sha256=vGdepQh5tklqjS0rTvlxGdeU8nGVPsh1Halscao90-o,1938 +PyQt5/bindings/QtDesigner/default_extensionfactory.sip,sha256=JY_tz-s_-UUuKnKNSgmsxGZ35i-JOt86mb2LDWTMEpc,1594 +PyQt5/bindings/QtDesigner/extension.sip,sha256=eV9TfYq04Rq5mmfvkr08gg-taF3Fq6xVMaG9QzBpgkc,1616 +PyQt5/bindings/QtDesigner/formbuilder.sip,sha256=yYf3rArb215Ht6RhfyLF18wfWOv11F30LmZOnM5_1ek,1382 +PyQt5/bindings/QtDesigner/membersheet.sip,sha256=EVLsZ2bWYPeAldEQS57cDTiyxITy4bIEVq2DlzFqGM8,1917 +PyQt5/bindings/QtDesigner/propertysheet.sip,sha256=grGNGDSTgSnv5oXtFkbs8pqxa-R3nUjYxMnfQfvH37w,2000 +PyQt5/bindings/QtDesigner/qextensionmanager.sip,sha256=sZh5jZefxC5VyDIP2pB2-ChAK58jphEZzrJ1x-Ii8vw,3582 +PyQt5/bindings/QtDesigner/qpydesignercontainerextension.sip,sha256=zD2xLMtu_McWSHVE8s90GkFXcv9k7PR664PqRLdTvhY,1260 +PyQt5/bindings/QtDesigner/qpydesignercustomwidgetcollectionplugin.sip,sha256=k8O5PcVMbxW9xuPMqxgJom59laGBTx8d80p12toEZDM,1341 +PyQt5/bindings/QtDesigner/qpydesignercustomwidgetplugin.sip,sha256=qq5_EWgPvOsUyquB0D1eiplkWjjkTnGDBKIZli3O41g,1267 +PyQt5/bindings/QtDesigner/qpydesignermembersheetextension.sip,sha256=0V8gXz_s-RV-GY5V13SetbzkhxwRwQIo-Cq5HzTCMPk,1274 +PyQt5/bindings/QtDesigner/qpydesignerpropertysheetextension.sip,sha256=K6DVQ20f3hkO7lM4WsjY5yc2829LFUPwHbbyU1suP9s,1292 +PyQt5/bindings/QtDesigner/qpydesignertaskmenuextension.sip,sha256=nU7Ho6oNIXKWAb3FpU1gx4QLf-4SqGapP2_WfvV2_vc,1253 +PyQt5/bindings/QtDesigner/taskmenu.sip,sha256=569dv7VKEWJsoySrfupMHEzhLnLWCIslJidXfAfVg-0,1221 +PyQt5/bindings/QtGui/QtGui.toml,sha256=050Hmhh0wkIHTse3zOlbUWrYlVN6SKK7BOjq87xmDaQ,179 +PyQt5/bindings/QtGui/QtGuimod.sip,sha256=yoJAwx2LMGO2I4OHw2G-b5ENtDhpu-qb5L5LtY3wD40,4639 +PyQt5/bindings/QtGui/opengl_types.sip,sha256=O3BAGaZPYMjNN4FrvI4UHiqW9HWL_G_26jKsSKehf94,1450 +PyQt5/bindings/QtGui/qabstracttextdocumentlayout.sip,sha256=4bDGvt7p45Dzqt5XxPV8aDPVDqqXMlR5hGiOClHxiqE,3924 +PyQt5/bindings/QtGui/qbackingstore.sip,sha256=J7MuKzuCX3wgXLtB-W-oAeTF37ZIsdB8Lbd_l5urlxU,1611 +PyQt5/bindings/QtGui/qbitmap.sip,sha256=UvOrsGodAs45FKIc80cqVa4FrWg1m9WJMmdTLbOo6KU,1932 +PyQt5/bindings/QtGui/qbrush.sip,sha256=CH1TALi0SvMK4WWdg0o4QopksrQfIVbW6GtIk6Lt2KI,11361 +PyQt5/bindings/QtGui/qclipboard.sip,sha256=5RNN3A_LuaTxZ-RQz6JOS1qgxe6zzrrYW9B6lmyHT4I,3633 +PyQt5/bindings/QtGui/qcolor.sip,sha256=0kI056xKggdQDGz9U0_hI9Hxk1dtLJmvQ2nzPQkfVo8,12487 +PyQt5/bindings/QtGui/qcolorspace.sip,sha256=YVU6Aaivr2g5rT2g6HKO5NLQGEgrEh9OdLrA1cZWk2A,3243 +PyQt5/bindings/QtGui/qcolortransform.sip,sha256=Y0JtiPOffCo-P02sOQyOYLnUWRIEOqDbRsWx-BfJPNg,1378 +PyQt5/bindings/QtGui/qcursor.sip,sha256=vWeq5F1siRwGW6wqx-i8iEvdbQVMTuRyjOvQagUnue0,3162 +PyQt5/bindings/QtGui/qdesktopservices.sip,sha256=s3eXfClQ7c4yYNAJdWWUuVnXNX-gT0kmjnY8_ZBez5M,2485 +PyQt5/bindings/QtGui/qdrag.sip,sha256=x47wNAaUVA5LoD5HQW52z_qlBM8I4G7J4FVxZoNpTZw,2266 +PyQt5/bindings/QtGui/qevent.sip,sha256=eDRqdw_WNtVoTE-S5vsOPFkWBYpbfp_CULK7LOWRY4g,24977 +PyQt5/bindings/QtGui/qfont.sip,sha256=yUVYFeO0-u-ViJJJXC7h6fElKQW38mFE5nRYwmQRP3A,6343 +PyQt5/bindings/QtGui/qfontdatabase.sip,sha256=7fvl_2Nj4BPa8o4VpWcArXKebO_RY39JDETkwWxbsg4,3821 +PyQt5/bindings/QtGui/qfontinfo.sip,sha256=TC8xTzg5JYwTlMs84DTyQjY5VADjkPtlNdkct_jfbrE,1568 +PyQt5/bindings/QtGui/qfontmetrics.sip,sha256=HyUakOG_crOYZuYffyeJ3u5gR3tI6Bwcydv1BDFcmGo,6552 +PyQt5/bindings/QtGui/qgenericmatrix.sip,sha256=8rRxzNh0yv1mB14RPjLDDVY_5HW5fQBv4MFXEkQbMJc,32592 +PyQt5/bindings/QtGui/qglyphrun.sip,sha256=FXEl1LxtNIkI7dWw4lJJKtc0_CcwFBnXyW_bb8MacTs,2388 +PyQt5/bindings/QtGui/qguiapplication.sip,sha256=erS0apz3qVR8MG8lEU-jjW4_u5aiOEghnXZFK4OusOg,11884 +PyQt5/bindings/QtGui/qicon.sip,sha256=lHYS-K9C02rkOEimd28jvrvWg_a0nQQ2-PdesD-jxmc,4828 +PyQt5/bindings/QtGui/qiconengine.sip,sha256=wP5JjrzKYpPSzTU_VWWbWozED1HAgDWhhszywC2-wl4,2835 +PyQt5/bindings/QtGui/qimage.sip,sha256=EexU71y1TGZIs0VFxtMqNra-FSO4DgcQr8d5tk74qFs,10734 +PyQt5/bindings/QtGui/qimageiohandler.sip,sha256=sELAWuxWx8WgkX3CZuMZZjZeTdXFfZaFxMASzpz3jrI,3022 +PyQt5/bindings/QtGui/qimagereader.sip,sha256=O0iImh1K2myCqbJm4W96sPqGctBufzAdR3Tl9D8p1JA,3767 +PyQt5/bindings/QtGui/qimagewriter.sip,sha256=ZQTN9g_VoLqO4WBtE5rAgnnygxALk4hiRD-koo2XXKw,3088 +PyQt5/bindings/QtGui/qinputmethod.sip,sha256=oGDTPg01buLkBH9yO9NUmReEeqpAAHg812E4Ub1e3CA,2541 +PyQt5/bindings/QtGui/qkeysequence.sip,sha256=qV5qZr5RFhN6u5UXSzmpY6SDybaCStfKtTa7yg7CJ8U,7097 +PyQt5/bindings/QtGui/qmatrix4x4.sip,sha256=ggKm1yBnAbb9rmtyYnWluGdNl18Ex0zuTN3IOke5pi0,10969 +PyQt5/bindings/QtGui/qmovie.sip,sha256=Yvidf-4I-APxvG333j9HHMjTYU0_-oZu5s7El9CCgoE,2998 +PyQt5/bindings/QtGui/qoffscreensurface.sip,sha256=cr339WR4UhU94NO880JEh6AJmmsm02Igm2y-OYb_5Jo,1862 +PyQt5/bindings/QtGui/qopenglbuffer.sip,sha256=sMPjfzSOIly5iFR2tW0L_X5HmGqTK3nUWl1Uv_eOOP8,2939 +PyQt5/bindings/QtGui/qopenglcontext.sip,sha256=ygi4nLHAarekRL1w7G4OzoDq4nLqCXTaUfSxN7rNNFY,4123 +PyQt5/bindings/QtGui/qopengldebug.sip,sha256=occhcgJAHzL8QpqdPng8tqeJwK7CvCOGtWZEH_4V5gU,5517 +PyQt5/bindings/QtGui/qopenglframebufferobject.sip,sha256=Cy6w8j-HbTO2P-HhT9mowsuxphylzhLMQKNvoXMpBGA,5540 +PyQt5/bindings/QtGui/qopenglpaintdevice.sip,sha256=jk3a_3m8bBHUwPOrFKWG_M1_cQshjoPd5fAO4-0ESZA,1939 +PyQt5/bindings/QtGui/qopenglpixeltransferoptions.sip,sha256=JpqH6bIyTNT-F6iL7dKIn-sFGY6_xCYlik6tc_UmAuo,1965 +PyQt5/bindings/QtGui/qopenglshaderprogram.sip,sha256=5bb1gAwNM0t-4sQSvO_qRUI_SJXsVXjsWksLgKOHTyU,16834 +PyQt5/bindings/QtGui/qopengltexture.sip,sha256=yH_iowJHJWah-l5jjfVX_QhW_0pc4BQ28o1_F3ZIZPU,18884 +PyQt5/bindings/QtGui/qopengltextureblitter.sip,sha256=-9t87m6KgJgAcXGuFW2xQMhFgP0FeeEXnSia-5oeTEY,2050 +PyQt5/bindings/QtGui/qopengltimerquery.sip,sha256=29hOdgffvcxl-kWyWo1vLCLEH3_GVNGROKHFtGUAy3s,2217 +PyQt5/bindings/QtGui/qopenglversionfunctions.sip,sha256=Ik6AywB45eKq4oMR0QlOrQW8JqjhsRPCkHcLw945Csc,1242 +PyQt5/bindings/QtGui/qopenglvertexarrayobject.sip,sha256=eDl5VBuRyvu3A7O_aON4yk4ZyUD7xvvgRPHLTek78rU,2024 +PyQt5/bindings/QtGui/qopenglwindow.sip,sha256=uYvqoHeaERuv-BPYLSnXeWRSz0hcsk0QmwTRmYTsLv8,2356 +PyQt5/bindings/QtGui/qpagedpaintdevice.sip,sha256=DA6xbe2yQqv-zJZ0gElE1yN8skLw8opc4h1zbWLTkiE,7036 +PyQt5/bindings/QtGui/qpagelayout.sip,sha256=UCzrf2ESHuDtAmdEty77pPVDT3u58EJ9dOSEBRA1e9M,3268 +PyQt5/bindings/QtGui/qpagesize.sip,sha256=o4otsCv5nqgPyDjQNH51LW_Wud_dnnu2ecx5MAC92oI,5824 +PyQt5/bindings/QtGui/qpaintdevice.sip,sha256=6bcwj-FSlE0HRut3eoN33h7ZBV9dpUF9Qe4UqB_3v20,2183 +PyQt5/bindings/QtGui/qpaintdevicewindow.sip,sha256=HkgXyFIgCY6ZLPwKSjno0szfITcTFYxmjMmUJOTHikc,1484 +PyQt5/bindings/QtGui/qpaintengine.sip,sha256=rhtbLYP89H0XgLPNOQ2V1f_bPRN8f-OcxWi7DfCdvt8,6092 +PyQt5/bindings/QtGui/qpainter.sip,sha256=QpKH4wXPiC1ocHSl7O5d1XE-t-v-71DX5G6hWMusNN8,21374 +PyQt5/bindings/QtGui/qpainterpath.sip,sha256=x-WpW2Riu07g3MB1J-D-uW0xJ6BkUcvd9sQ23BE-IIw,7180 +PyQt5/bindings/QtGui/qpalette.sip,sha256=Mtn76iUHFxA9Jbwn5xS2wNv0jJpWlOFw2kLNOp_hpTs,4799 +PyQt5/bindings/QtGui/qpdfwriter.sip,sha256=r96dkaLX5F3Hsywo7IUMLSBfOVUO6aRaHEsbHkk5osw,2393 +PyQt5/bindings/QtGui/qpen.sip,sha256=HfgB8dkdu6-bZxV61NaZKeI3cKSaXVC-OorzoJaUI7c,3518 +PyQt5/bindings/QtGui/qpicture.sip,sha256=DfFQlr-gpBq6oePOMYkfAf2sfZHqrk0IOUZI7G9aMfQ,5881 +PyQt5/bindings/QtGui/qpixelformat.sip,sha256=gxRkxtO-NcZwA75lNwCofSpLBvkYji7v-uPOtKSb1ao,5944 +PyQt5/bindings/QtGui/qpixmap.sip,sha256=BE1xX7VA23q9SqozdaxmaOptekBVdBMFfigMZU-UW1E,4987 +PyQt5/bindings/QtGui/qpixmapcache.sip,sha256=cmgkNaQ7QCIggQiMLH3rnIRHpW-fzLzBpGONJ9IbnWU,2364 +PyQt5/bindings/QtGui/qpolygon.sip,sha256=7NU9EzyWkZWbZRl-IS9AkpSsAn8uBaLSjOC2SVijMZQ,13769 +PyQt5/bindings/QtGui/qpygui_qlist.sip,sha256=s6EwWgTVzNhB6MU5O1ax9fdvmTNKaHCMFPrYaUHlHgE,2890 +PyQt5/bindings/QtGui/qpygui_qpair.sip,sha256=7LI8dyG0SHOKM5Ichp-JQVHPXad0b1GWIZrO1gVd5wg,5478 +PyQt5/bindings/QtGui/qpygui_qvector.sip,sha256=LMhWWUA2U7Ixhesdv-G87mJUXGulJNZP24HJBOW5aQc,9158 +PyQt5/bindings/QtGui/qquaternion.sip,sha256=Pb9mynkrS2zva-W23CqRf0k87mjaa6c_jfIZ3PecVk8,6292 +PyQt5/bindings/QtGui/qrasterwindow.sip,sha256=MoampS64-liWv-pm_09Cgdpuyfb5RqiqHPqEOHrha8M,1317 +PyQt5/bindings/QtGui/qrawfont.sip,sha256=SlMvKkVpweUxb-hHHVNd6UnJeVR6GLyfEiwqwXQm2Ks,3942 +PyQt5/bindings/QtGui/qregion.sip,sha256=ORsE47xRClFWvX40cGT1i-6EaOu3yv7eYioNdMzZzzw,4641 +PyQt5/bindings/QtGui/qrgb.sip,sha256=cTve5UantWtd_E3bL6326qUhoN0eft9lnIyy6N_fcGM,1381 +PyQt5/bindings/QtGui/qrgba64.sip,sha256=TQSllcmkMaJnLd9nVQC0g_WHWMuLNLoTS55gu8qfTI4,2474 +PyQt5/bindings/QtGui/qscreen.sip,sha256=bpE0RHTlo4Ar2DvfKs7KGbrJ-SqW5JwPdpLahjbiGIc,3482 +PyQt5/bindings/QtGui/qsessionmanager.sip,sha256=2ubtwvaVC5Z22OMp4wnIUjF-XR_cz03MyZ-bIFvESVo,2052 +PyQt5/bindings/QtGui/qstandarditemmodel.sip,sha256=6HczVz51o0YHoO-Tqpsu6rH-6U3TPk9RBrQHxLhIn1c,10166 +PyQt5/bindings/QtGui/qstatictext.sip,sha256=XZScChkdbL2JeyV3P6VCTsYNxYK8RWcQtc9YqYajkoQ,2097 +PyQt5/bindings/QtGui/qstylehints.sip,sha256=NRk-unD-4QCpHH00nQyBsQh8LzdONpjUya2e-Mlv4Bc,3538 +PyQt5/bindings/QtGui/qsurface.sip,sha256=y4ku1VH1bQA8oNj9TecUjzNg5wR2uomIwS4HS-MjYQQ,1788 +PyQt5/bindings/QtGui/qsurfaceformat.sip,sha256=03YPk7VHHw9tqTj3orvkoWBWnNs2NFGjq-DS2BHBqx8,4382 +PyQt5/bindings/QtGui/qsyntaxhighlighter.sip,sha256=XcreRe7UYC-NhUPg-O8DupYGCWosnbGYjDVTsd5RP-0,3119 +PyQt5/bindings/QtGui/qtextcursor.sip,sha256=WHzCVz809rmnXWeeMsZGPNacGnEkYjXiMqo6zl6ONcM,5533 +PyQt5/bindings/QtGui/qtextdocument.sip,sha256=9psjNsDowX41qcQFv2v--oHGqIV9Cg8PrF2Ci9RbR3A,7516 +PyQt5/bindings/QtGui/qtextdocumentfragment.sip,sha256=ezLfdshXjOfBef6HwO6HylAZsLemQTB5DhQaDB6KOV8,1716 +PyQt5/bindings/QtGui/qtextdocumentwriter.sip,sha256=a6-OslJy1glMp4h9Sj0YnMKEWkq_illIPBu5nSgCkuQ,1847 +PyQt5/bindings/QtGui/qtextformat.sip,sha256=ntHX9a_F8UgmQAYvEvU1zbvoEWQsDVqTJsqMHRS4nj8,20387 +PyQt5/bindings/QtGui/qtextlayout.sip,sha256=j2lr5mPi1_L4GigrFYFXhI3iKE_q9OdNW29fVB2zwFw,5847 +PyQt5/bindings/QtGui/qtextlist.sip,sha256=Ux4avnXdBV1k8-Z0W_MtrMvjujOkYkBxv67agRjfT8w,1550 +PyQt5/bindings/QtGui/qtextobject.sip,sha256=ndrgeUdx6iAFOQjcSKOfYcpZX0T-Fo5l4qD8Ys5-Mjo,8097 +PyQt5/bindings/QtGui/qtextoption.sip,sha256=7-boFukG5kLOc8r3DMVQ4wF1oBIi1mUJQZXxYqoz7Lg,3098 +PyQt5/bindings/QtGui/qtexttable.sip,sha256=DQnlVoChheAdQMTBXhwSL-0522N3Pp_gtosooyxW0LQ,2644 +PyQt5/bindings/QtGui/qtouchdevice.sip,sha256=v18BRTs2vf5F4dSsArD4Ul-6PtHjKkg9Xc4imF-CpXk,2042 +PyQt5/bindings/QtGui/qtransform.sip,sha256=q5JChMJOOjU7KqoNqms2lMiaKDXclfC-75A1kxN83gY,5217 +PyQt5/bindings/QtGui/qvalidator.sip,sha256=16VvWcvEjGoo-ohTg-sJ5ZUHe1ndUHCHSU6oc-2bfns,3904 +PyQt5/bindings/QtGui/qvector2d.sip,sha256=cbQpCcUKnLkyhvzDFeMH6K8EfNFb_qM1ex00Zz1zUmY,4173 +PyQt5/bindings/QtGui/qvector3d.sip,sha256=4eYmP5sfWtFtJm9VcVCEkzkY1_Ou30rzAuFer1KaS-0,5245 +PyQt5/bindings/QtGui/qvector4d.sip,sha256=5GNL7Sz0cTrNaqGD4IJowfsWuB_cm6wpiurzv8MIvbY,4816 +PyQt5/bindings/QtGui/qwindow.sip,sha256=BLfsVzntGDzFQANke4kg4dorwqB5ZFTPzHiAT63o_cQ,7623 +PyQt5/bindings/QtGui/qwindowdefs.sip,sha256=QXQvz0Ibft6Cr37w53rKFq-ehE8r5q2x9QOtkqFxBw4,1033 +PyQt5/bindings/QtHelp/QtHelp.toml,sha256=-nZKJZ0xkArUjnkskP0T2ax0iajcQKeKg6Utyh2Jdp8,180 +PyQt5/bindings/QtHelp/QtHelpmod.sip,sha256=NdzmTVY3Y4NySzHVgDiiOgBRxl6Rtsns8F9grQO87hk,2402 +PyQt5/bindings/QtHelp/qcompressedhelpinfo.sip,sha256=ekc2tQGCqKyNs8MkjlL1aIj4a5QsVajwBlYVZf9SWZU,1522 +PyQt5/bindings/QtHelp/qhelpcontentwidget.sip,sha256=Z6JkaoyetSTha4wNOtVuJRUlEmKi-ebaXap1Soa2X0g,2424 +PyQt5/bindings/QtHelp/qhelpengine.sip,sha256=euFuPc5Xv26n6mXk3bnznKXR45lZ2hXj812J8IWqwxA,1398 +PyQt5/bindings/QtHelp/qhelpenginecore.sip,sha256=xzCaOqjtaru_UJG0C6qsX9F7q8LIOsqQ8xtr-jjQ5Qk,5469 +PyQt5/bindings/QtHelp/qhelpfilterdata.sip,sha256=vMDAR05w6VzOdlXE4hUugGaT0k3Piqayczcb9gzJOLA,1498 +PyQt5/bindings/QtHelp/qhelpfilterengine.sip,sha256=QSAowlXC-oVnSNyJ7iNMEDM1HkXnRmCvh3DK77Qknok,2044 +PyQt5/bindings/QtHelp/qhelpfiltersettingswidget.sip,sha256=kEbMlg8kDEUnodU_fra0j-AxNyc_sFHylsxtSrPI8cE,1522 +PyQt5/bindings/QtHelp/qhelpindexwidget.sip,sha256=FNihlXXx1AvunA4jfwtQvVBCBAWD1dClqq01TWIWTqs,2205 +PyQt5/bindings/QtHelp/qhelplink.sip,sha256=652B4-oc8z7NwEmjIicsWLThnPttS-Lf7DxvbKgGTUg,1108 +PyQt5/bindings/QtHelp/qhelpsearchengine.sip,sha256=206YIlLCc4ghA2xZloqqQHBwIIzfadpAF1IEqSIQEB4,2814 +PyQt5/bindings/QtHelp/qhelpsearchquerywidget.sip,sha256=XE4NLu6mfhLXPDn9z_wyjfLaMQDD-jhwjz0liPpkWD4,1914 +PyQt5/bindings/QtHelp/qhelpsearchresultwidget.sip,sha256=1X0OxgQxNgnoZv8uIdAp8x537U2b0fpTBw5nFFX32Kc,1257 +PyQt5/bindings/QtLocation/QtLocation.toml,sha256=J7zxvSC-Z9YhoW6R6EShbuXvEWpf7BancDlPEh8o4fY,184 +PyQt5/bindings/QtLocation/QtLocationmod.sip,sha256=WWSAsIrn8SWIbsW_hx_kMxTXaFcBAstS-uYXQ9NlJa0,3199 +PyQt5/bindings/QtLocation/qgeocodereply.sip,sha256=MnDdWTmDbeokt5M1IQ9bK0JrSzWeqTa5UIH4sLkHxsU,2409 +PyQt5/bindings/QtLocation/qgeocodingmanager.sip,sha256=RmtR1T3dEJljpw0Qlgwch6oPdABNU9W7vdcJ0AsWEpc,1828 +PyQt5/bindings/QtLocation/qgeocodingmanagerengine.sip,sha256=fMoXxKm97-WRa_z4BMDab3JkM_7JztyPc5WIphB6qAs,1900 +PyQt5/bindings/QtLocation/qgeomaneuver.sip,sha256=hnuZuzKa8t50tsmeiOLygG7tqBm4gFSLiGr6Jbk9jVM,2469 +PyQt5/bindings/QtLocation/qgeoroute.sip,sha256=UqONHOHcSxYjcBnvbWzhhFsM3OONfkGzcchF8XqP5EE,2655 +PyQt5/bindings/QtLocation/qgeoroutereply.sip,sha256=xID-_zthXEY7hbgqPTa5nFO4FgyjtAMS65X6oiDX3-E,2140 +PyQt5/bindings/QtLocation/qgeorouterequest.sip,sha256=SyuADtbI9qDNrYbAgFMu9KB7FA5n0cHrHK4PtbNabCM,5481 +PyQt5/bindings/QtLocation/qgeoroutesegment.sip,sha256=lCf4xo6axAaWEUn2YnaomnhW6G9H6ya_J-Or81c-q5g,1849 +PyQt5/bindings/QtLocation/qgeoroutingmanager.sip,sha256=1AGqYdgkNRY1pQ_toYFwQulaR01gM6Xnv1Mkp-YpHHg,2208 +PyQt5/bindings/QtLocation/qgeoroutingmanagerengine.sip,sha256=mRoUFcd2v4OBf2_fJsgbAc0KCLMd9iXxQ8Xx3b6-M7o,2859 +PyQt5/bindings/QtLocation/qgeoserviceprovider.sip,sha256=g9zOsEkm2wzWoqPy2MJlLErJC8vTs_IsavdNz8xeHbE,7498 +PyQt5/bindings/QtLocation/qlocation.sip,sha256=nBRVHTEt8pVHYdl549zOs9j9psoobE79RRypihv_Gk4,1417 +PyQt5/bindings/QtLocation/qplace.sip,sha256=DcuyZuuvm8j7AzbOkcfZKyV08OD1Y_u0HQOpJDKMq4A,3368 +PyQt5/bindings/QtLocation/qplaceattribute.sip,sha256=gr-NCyeTGAn_NBAn7IxlyeQvGjj1_f_zBtkgQeKwNi8,1602 +PyQt5/bindings/QtLocation/qplacecategory.sip,sha256=gb7CwKLQRDDbP79F5JzPnTXsLZaPWsu3ywei0CcEZVM,1676 +PyQt5/bindings/QtLocation/qplacecontactdetail.sip,sha256=fUPUFD_YuKAP55IlhGNelfSgh4gRy5eZqa797-Dnv6M,1654 +PyQt5/bindings/QtLocation/qplacecontent.sip,sha256=BTS5Y_cGJx4i8rB0EfuXdDtps8_O4ooShEKM_JVd2Jk,1814 +PyQt5/bindings/QtLocation/qplacecontentreply.sip,sha256=JiGhnAtOKQ1uT2jWDU2PgKJxaEbFrm7zZ4jzAJUMM-8,1811 +PyQt5/bindings/QtLocation/qplacecontentrequest.sip,sha256=eNHPTOL3DcS77ygoEwyD12l509ULi8tStR6-dtskEEo,1707 +PyQt5/bindings/QtLocation/qplacedetailsreply.sip,sha256=a0EeFiPcm_GIhoI4xcO7uJsOZh4tSLkUZ0aHEp4OR_I,1358 +PyQt5/bindings/QtLocation/qplaceeditorial.sip,sha256=zdQDQxkHvqfXB-mB__9bpF9SIf4ZpBk86KwN5HarMmg,1436 +PyQt5/bindings/QtLocation/qplaceicon.sip,sha256=RrTItkQUMn_3sXZ987g-LHqtxacX4tm2KHMZ2xkC5K8,1564 +PyQt5/bindings/QtLocation/qplaceidreply.sip,sha256=U_68YTjjaiz3pDjAb_43UDxgddBC7duFBE8xT9TbdOc,1557 +PyQt5/bindings/QtLocation/qplaceimage.sip,sha256=jdwfZnk_vF8jxOluhhNwRdhLrG4sH-e4Ut_exBgEj5Y,1413 +PyQt5/bindings/QtLocation/qplacemanager.sip,sha256=xyLgSS2slhvBaRzbg_RTPDoRiOY6zPEPra82maCiSp8,2979 +PyQt5/bindings/QtLocation/qplacemanagerengine.sip,sha256=vQaIrkeGLQjiGTdcPP0Y4Uo9WzZWOuT4dMh-uuo1JFE,3279 +PyQt5/bindings/QtLocation/qplacematchreply.sip,sha256=4N2qhJgEaYq7pReU5ujH-5o7CCrU3jOetTD8ApuIVWY,1464 +PyQt5/bindings/QtLocation/qplacematchrequest.sip,sha256=dcJbjPIQ-mZYn4X9uWjfp5akvdwrh-5CQie1Tsg2TVM,1647 +PyQt5/bindings/QtLocation/qplaceproposedsearchresult.sip,sha256=8YyPwMDXZFG65BVGrvLbgF88zuZVZ7JeK5Yqvmju11o,1413 +PyQt5/bindings/QtLocation/qplaceratings.sip,sha256=IkjAbYNGL-n_ODJbJul5ydN2t3BHBpmDqoeGO_qGeEc,1509 +PyQt5/bindings/QtLocation/qplacereply.sip,sha256=hOYitzhxhEo3zmvE5H6kDgZ_jJD6bCAoeEkt-mhQN4U,2208 +PyQt5/bindings/QtLocation/qplaceresult.sip,sha256=_qlRK3YCtHko7FLkHe7T4TGCzWX90UDEUWfGRGP1TtI,1424 +PyQt5/bindings/QtLocation/qplacereview.sip,sha256=wSYyQwEuiLUNc72-MEmQoRwd7qHav8HePor51GJ_9KU,1636 +PyQt5/bindings/QtLocation/qplacesearchreply.sip,sha256=Fhs_7ZeCKkYqZ04WBzfEw1ni6fZRalw1XCzerf5Kvl4,1735 +PyQt5/bindings/QtLocation/qplacesearchrequest.sip,sha256=XkfVu4e1rAqbjnHbIzAklEhXjXJwS4lZ09oUeWQGM0g,2337 +PyQt5/bindings/QtLocation/qplacesearchresult.sip,sha256=75HYEFkygbB9Ddf8QCg1hhaPKE7VlzLP4jxoyPZmzbo,1682 +PyQt5/bindings/QtLocation/qplacesearchsuggestionreply.sip,sha256=stcDRaeC99YOdkCSm_qtuuLElxynz75A7dnQHmPUZRE,1431 +PyQt5/bindings/QtLocation/qplacesupplier.sip,sha256=bkQExRSXekPwugNxW1jaqQECclwNioM-odpwlYOlG6w,1621 +PyQt5/bindings/QtLocation/qplaceuser.sip,sha256=KksT4_LRQ6EfkXpfBU9WLV8rPq5-XEYtzY5B4o1LuZI,1418 +PyQt5/bindings/QtMultimedia/QtMultimedia.toml,sha256=ZCUzhQiZ9lbUg1uNCwBJ6RVE9RqvbL-MUC6xuA2KuKc,186 +PyQt5/bindings/QtMultimedia/QtMultimediamod.sip,sha256=9tOIC-ZvKwDyBdHq3yRkq2sOKSpRZbxOJ91JkwDlGJQ,4600 +PyQt5/bindings/QtMultimedia/qabstractvideobuffer.sip,sha256=vU7NZuRETr9Xf3bfMhs7DoMiHIgz-i_9VJYV3sW6JKk,2558 +PyQt5/bindings/QtMultimedia/qabstractvideofilter.sip,sha256=UzLkjAdlmKD3UWUmkXz5SSW0Nv6FfTpkkZSu8MJzqis,1980 +PyQt5/bindings/QtMultimedia/qabstractvideosurface.sip,sha256=WTGxuBF6XM2Tw0v3scG4BVDrX3amzSIZPUj_s4mHlZ8,7903 +PyQt5/bindings/QtMultimedia/qaudio.sip,sha256=eFZYGHLz476VecGyaqAfLjodhiqopmjDVx_y2KTh0Bo,2067 +PyQt5/bindings/QtMultimedia/qaudiobuffer.sip,sha256=plAQk7-8At1oUwlscetBqJnywPVAfFY7ekQTihzK8Ys,1599 +PyQt5/bindings/QtMultimedia/qaudiodecoder.sip,sha256=D08CbrYDC5VuSsEY2AfPFK9TvwTZzwWlCGn03SA0kHE,2656 +PyQt5/bindings/QtMultimedia/qaudiodecodercontrol.sip,sha256=NZBWv4zMdqcyR0_VbWiTB0rvDHWYy-NaVOq0jZOYSNs,2242 +PyQt5/bindings/QtMultimedia/qaudiodeviceinfo.sip,sha256=xO-d_Hon6r6x7Db1KqPiADgSdsFbcXFEFAvtnMelp5U,2074 +PyQt5/bindings/QtMultimedia/qaudioencodersettingscontrol.sip,sha256=RjmWdSeUMynxGznK1Ajttmaz8QSItSgEdD_8R8y6OFE,1663 +PyQt5/bindings/QtMultimedia/qaudioformat.sip,sha256=NElOflcxP2d7gU-fitQ-J0Mp4aU8lPL8qeB04ecm0W8,2337 +PyQt5/bindings/QtMultimedia/qaudioinput.sip,sha256=dT0LIdBSihbHhcAQ9N9TkBelqrmD85jxU_tAD2LuBpU,1996 +PyQt5/bindings/QtMultimedia/qaudioinputselectorcontrol.sip,sha256=XBMb_qyJhBkfbH73FCAJpmuVRCE0Sb046DlLlOQHPdg,1656 +PyQt5/bindings/QtMultimedia/qaudiooutput.sip,sha256=4wdpww7vqrphLVeHWvio3g4qQWspcqls2XrPo22ppUk,2073 +PyQt5/bindings/QtMultimedia/qaudiooutputselectorcontrol.sip,sha256=FiO3UAx2q91_hQhp9ROMp1VX-SGGR3LLOJqF0SklSps,1668 +PyQt5/bindings/QtMultimedia/qaudioprobe.sip,sha256=LUcll_EN-4v9-_FMQkku3hKsGA2jxlVA5EFIh6CLKQA,1375 +PyQt5/bindings/QtMultimedia/qaudiorecorder.sip,sha256=OXQ6GfJoc8h64MqpegAE7NL5dfMZnnF0O7I9I0hwiew,1633 +PyQt5/bindings/QtMultimedia/qaudiorolecontrol.sip,sha256=eMJIHGKXH3fJndRLlS9Gx8Vr9qqB1FalCN3DAmkLim0,1473 +PyQt5/bindings/QtMultimedia/qcamera.sip,sha256=523_M92UTTuBAdKaTtyMXV-9Gw-2yLSZMuG1qX2WmOI,5926 +PyQt5/bindings/QtMultimedia/qcameracapturebufferformatcontrol.sip,sha256=J4smHBfuG-ds_JeWKXcCldreNp9DPFd2maGjdVZXSNo,1589 +PyQt5/bindings/QtMultimedia/qcameracapturedestinationcontrol.sip,sha256=v5xAW0DktKQODQ4s7Qjhtn9tMygtw9CrMvrxEJJu-gM,1692 +PyQt5/bindings/QtMultimedia/qcameracontrol.sip,sha256=oK4l6N7xvjhEqB2-ENNlX92Fo0UXdUtQgAcy5zvwwfk,2060 +PyQt5/bindings/QtMultimedia/qcameraexposure.sip,sha256=HGvP7DOwfzjBSUplIdM1VI7KfLaEtA3RQF6gD9hJMXY,4523 +PyQt5/bindings/QtMultimedia/qcameraexposurecontrol.sip,sha256=zSFI-Aj7Pd1-xgC_FyPhPYhII7-lAgfaCdAQ1zVaA0E,2250 +PyQt5/bindings/QtMultimedia/qcamerafeedbackcontrol.sip,sha256=P0SAw9azPF_BjTOHSJUrYUCsRdgRyoqEswdlUPKzpb8,2009 +PyQt5/bindings/QtMultimedia/qcameraflashcontrol.sip,sha256=2Ct8eYOvhTQG1mi1aIYvBEa3N14zQBfqzGDpL5ppAX0,1528 +PyQt5/bindings/QtMultimedia/qcamerafocus.sip,sha256=rFWrH80yigwxATJE9FWKnG9lyx4ZzA2oaZ_HYrOW0F0,3314 +PyQt5/bindings/QtMultimedia/qcamerafocuscontrol.sip,sha256=17Bm493lwMj1ag8W71Wa9L5wG8jVd5ygC2_CMWcXPA4,2072 +PyQt5/bindings/QtMultimedia/qcameraimagecapture.sip,sha256=dcA7fFTE4OEki7W8gTKHq1GIFNZoXVK5gFBnNHQg15I,3644 +PyQt5/bindings/QtMultimedia/qcameraimagecapturecontrol.sip,sha256=QXHiAOK2r6Z-48mEB4oDIxoir2G7lWgJwd7Z8xRqQUA,1983 +PyQt5/bindings/QtMultimedia/qcameraimageprocessing.sip,sha256=h5OGLop6pc7N09-DwoDif8kp_AEJ-D9wJy-JSjJ-u1Y,3154 +PyQt5/bindings/QtMultimedia/qcameraimageprocessingcontrol.sip,sha256=ZeCP9g2vj7jExvOUjGkEvfcLJwpwPudUma004VrFFA0,2153 +PyQt5/bindings/QtMultimedia/qcamerainfo.sip,sha256=9EgNKO0olhY2VwFksxCRzOC7v4LwFRk1_ApRUc5ipFo,1694 +PyQt5/bindings/QtMultimedia/qcamerainfocontrol.sip,sha256=HUbIppzV-kPRQ7Jx5P5G5-rkgiuO5vg7gWecgh9rCSE,1378 +PyQt5/bindings/QtMultimedia/qcameralockscontrol.sip,sha256=CPt4rd3WQuHlQfSbfW4OABI_sUI7q-YgHq5viLOz08c,1611 +PyQt5/bindings/QtMultimedia/qcameraviewfindersettings.sip,sha256=T8jZTTbLMfpqokNQ1FxALcAu2qxtye7YEAqR2ZbENd0,2139 +PyQt5/bindings/QtMultimedia/qcameraviewfindersettingscontrol.sip,sha256=36W9AvWWJ1mURtgrHlS4v6R5Y48u60B7v55bOazGX_Y,2406 +PyQt5/bindings/QtMultimedia/qcamerazoomcontrol.sip,sha256=mxr4kUi-0_ZokJb93UQdLxE7dZthTYlUDfHuabhqT9k,1919 +PyQt5/bindings/QtMultimedia/qcustomaudiorolecontrol.sip,sha256=RHxqIFcE7s04gEwIy0r3XkRCR5JBbfm5aoui5BNDsqI,1519 +PyQt5/bindings/QtMultimedia/qimageencodercontrol.sip,sha256=IAiQAPQIx-t0b0vH8Yx5CVTORnyxPqG3MxEhFNXBjbo,1626 +PyQt5/bindings/QtMultimedia/qmediaaudioprobecontrol.sip,sha256=7p2wp7xccCG0SkQU39qTdwbXxt0p2JH6gwc6KCG-QPU,1334 +PyQt5/bindings/QtMultimedia/qmediaavailabilitycontrol.sip,sha256=eq8K0cXPOiB53PvtLl8CnDAOs89vnXk7bv47WoYK8BQ,1416 +PyQt5/bindings/QtMultimedia/qmediabindableinterface.sip,sha256=0fTtbu9HLZIEFk_YBBpNyHQAnrwhSJ-73qZuQ-BBDko,1267 +PyQt5/bindings/QtMultimedia/qmediacontainercontrol.sip,sha256=RJqM0kPQLub6-ylrUfqxdu8C8ErNZ0sBWghKEN0THgk,1498 +PyQt5/bindings/QtMultimedia/qmediacontent.sip,sha256=IXM53Hk3YyVQwOwFQJgv03aPOzYoL7urv188gfj-zwU,1870 +PyQt5/bindings/QtMultimedia/qmediacontrol.sip,sha256=Vg0m2FHBplf9L-uqGDrnaiFn3tsTiJG4YlmJzGXZ8MA,1294 +PyQt5/bindings/QtMultimedia/qmediaencodersettings.sip,sha256=1g_kBJhKaA4J2lyU6ZzjciN2-XJHl515b9v63JlFISw,4158 +PyQt5/bindings/QtMultimedia/qmediagaplessplaybackcontrol.sip,sha256=5gqVGqdJeQi8aAMCUte9-xsZONThZJVeG4zMyFApVUU,1698 +PyQt5/bindings/QtMultimedia/qmediametadata.sip,sha256=Od3bngNX9nqLaNLqTfRXbx2l6Ptl2PFOBa1adufdT1M,3993 +PyQt5/bindings/QtMultimedia/qmedianetworkaccesscontrol.sip,sha256=cVD6pPowDVrFId7-qu3cdFcgva_WGSkbphj_yx_ua4o,1510 +PyQt5/bindings/QtMultimedia/qmediaobject.sip,sha256=vajWZBVkFVW5TFd-0Mgy0bQWXJLcx8TC9pilJ5lyXuA,2091 +PyQt5/bindings/QtMultimedia/qmediaplayer.sip,sha256=kOPgYRrHufnL2ERUpt0AcPn5J8jGJpORI9nFwPaEo-s,5106 +PyQt5/bindings/QtMultimedia/qmediaplayercontrol.sip,sha256=Gs6E_rDk-qW8vUY7OPOQN7xC_FWdYMJ5MtGPixhWbJ0,2972 +PyQt5/bindings/QtMultimedia/qmediaplaylist.sip,sha256=nUvsP0V4aFCvSwVvAVp1QgZ43dTAhUx8NhoT6LXE28M,3559 +PyQt5/bindings/QtMultimedia/qmediarecorder.sip,sha256=nFvI3pO4tErKmvP7VT4JLaDs7Puq3-cumN9jnZynJM8,4562 +PyQt5/bindings/QtMultimedia/qmediarecordercontrol.sip,sha256=tyhoUJ0qOfNWYgPCEPvF9H80a_qavpaMWNaqTzO4M4c,2134 +PyQt5/bindings/QtMultimedia/qmediaresource.sip,sha256=R1ew797bA3Q2NXbr8rPja3x8oyc3rpGnDoezkPd92P0,2337 +PyQt5/bindings/QtMultimedia/qmediaservice.sip,sha256=E5h_d8vl-ctlXf9oOWgwkgiPW6JsdZ4DtbO7LoZSSpU,1305 +PyQt5/bindings/QtMultimedia/qmediastreamscontrol.sip,sha256=j2oPXdT6HJRoQ76ww_v8QRt_YEfV7ZO6KRv2WGpzMv0,1762 +PyQt5/bindings/QtMultimedia/qmediatimerange.sip,sha256=INgkhQX7BtjXHTqDEdf-IrxB4AYmm2zdiN0sErAijSs,2967 +PyQt5/bindings/QtMultimedia/qmediavideoprobecontrol.sip,sha256=Py-kgkZPhI7mTZ7uQ5sBHnGx__CNVS5e8BkBQjTs_A4,1331 +PyQt5/bindings/QtMultimedia/qmetadatareadercontrol.sip,sha256=BTd1sIyOOh6LGba1AIcL_bjlnN4Ic_Bcz7d-FFuiBJQ,1573 +PyQt5/bindings/QtMultimedia/qmetadatawritercontrol.sip,sha256=asfrj4u7Hx1CkmddYTCYguDbCHkwfASrEYonZKTLik0,1735 +PyQt5/bindings/QtMultimedia/qmultimedia.sip,sha256=U-J8_wDdR6cePqwvzP2uD84b_NRC2s4bidn5LgPhRRE,1661 +PyQt5/bindings/QtMultimedia/qpymultimedia_qlist.sip,sha256=frv8be2hSDA-ftsWYrnXfol-v7P2shPesU2C_b0iTX8,9462 +PyQt5/bindings/QtMultimedia/qradiodata.sip,sha256=_fnvEzTJAFbwK769YbDVRQ8Cua-IhSB5bgyNRailA_o,3284 +PyQt5/bindings/QtMultimedia/qradiodatacontrol.sip,sha256=0YmAQvhRNzw2FPOGu9JDhFi_9BomIva6FVQ0wgssnP4,2076 +PyQt5/bindings/QtMultimedia/qradiotuner.sip,sha256=S1eFBAJo6r6gZwNP_I9_KfQzwtAOOMrO-xp_s1Z2e3Q,3392 +PyQt5/bindings/QtMultimedia/qradiotunercontrol.sip,sha256=aXovR72JLRo1L3jHF5e4Ku5YFXU-8o_bgoPxjOxDTSg,3037 +PyQt5/bindings/QtMultimedia/qsound.sip,sha256=73NnpdfPdUn_aVYkOHRpK5Ric8W39K1D_kPCdxWS0Bg,1452 +PyQt5/bindings/QtMultimedia/qsoundeffect.sip,sha256=_WKs7NVasi3YhTk9Ead3JBD5MS5QYOt_LskUxlKODI8,2268 +PyQt5/bindings/QtMultimedia/qvideodeviceselectorcontrol.sip,sha256=YrHUjq1jWWcRzElIteNqfibttrg4_4p5u82EhXXhrqg,1719 +PyQt5/bindings/QtMultimedia/qvideoencodersettingscontrol.sip,sha256=wkQzvbbLoP4TLHoY2kRKqSbNitXPE7YkF3cGEzbbPK4,1785 +PyQt5/bindings/QtMultimedia/qvideoframe.sip,sha256=LDKEGNYlL7Xlwb4cYlouGXAY19T3wsLE7jT_7pVyhB0,4494 +PyQt5/bindings/QtMultimedia/qvideoprobe.sip,sha256=VZGfZBTauEQKnFo9aikYerB57_0Tb5k7jWnQNUlyRqk,1372 +PyQt5/bindings/QtMultimedia/qvideorenderercontrol.sip,sha256=pI2BmHn-kN6bjNVdUh6KaCyk4T2MZ8MmaartJ5OHpHA,1359 +PyQt5/bindings/QtMultimedia/qvideosurfaceformat.sip,sha256=BlRuXTFEY_m_Sc0Zt909XISMxXxvwI4yGYEFZjF7dfI,2933 +PyQt5/bindings/QtMultimedia/qvideowindowcontrol.sip,sha256=Utgh0s_cPubyTJTwvgQ-EiRykfPIZmsp94SQRmQG5as,2307 +PyQt5/bindings/QtMultimediaWidgets/QtMultimediaWidgets.toml,sha256=rkoti2x_QDJmaMBjNJ-ERq0dVxvZDRPg0joHe6YqM6Y,193 +PyQt5/bindings/QtMultimediaWidgets/QtMultimediaWidgetsmod.sip,sha256=aTwk9df89kNn2C3y3pBH6A-RNSJAUVnIZYpc2Nqt1AY,2194 +PyQt5/bindings/QtMultimediaWidgets/qcameraviewfinder.sip,sha256=0KP7qjP9c2UUlemnpEjS0vxxAgo3N1HGJJMUnDtQplg,1434 +PyQt5/bindings/QtMultimediaWidgets/qgraphicsvideoitem.sip,sha256=Cg0KW_JgJYX-LxAC_fRJmomQfmOMvSU-nUY9hYt0L8s,2301 +PyQt5/bindings/QtMultimediaWidgets/qvideowidget.sip,sha256=0ehjB8E58HCRqWMMmIfSStdo8VlCty8WeQHzm1-icvo,3260 +PyQt5/bindings/QtMultimediaWidgets/qvideowidgetcontrol.sip,sha256=HjWFjaRdXkV4oTeVnsDGZFhx039k2ArvaXEHr7206D8,2071 +PyQt5/bindings/QtNetwork/QtNetwork.toml,sha256=iP4ef6XtaJAx-sYKZNAgP3-CYvS6qKI4m8kEe0lHLzg,183 +PyQt5/bindings/QtNetwork/QtNetworkmod.sip,sha256=Hc5NGfYrAbhKEGF4tS8SAtO0JYe2Uo1cd-rtXh0FBHE,3184 +PyQt5/bindings/QtNetwork/qabstractnetworkcache.sip,sha256=S9q_MGmHPVl6DhsAnJu58uANVJO5PE1PhxkYy_X5YFw,3069 +PyQt5/bindings/QtNetwork/qabstractsocket.sip,sha256=S7ey9iHctO8j3VTnS1b8X5wW_1BoF-dI0wp1yYSKPNk,10800 +PyQt5/bindings/QtNetwork/qauthenticator.sip,sha256=fCI589oD2zf108etVEXUFkyNW3CPZEOsYVxVXMvvnPg,1628 +PyQt5/bindings/QtNetwork/qdnslookup.sip,sha256=EE9qqXg1KcBQTssUhxbUvZFZRkQAePPTlW4PVYKLsHg,4864 +PyQt5/bindings/QtNetwork/qhostaddress.sip,sha256=6GdivwqPph4vBsQ_wG-FvpITkUhWP1Lp9-tXakYO_Lk,6167 +PyQt5/bindings/QtNetwork/qhostinfo.sip,sha256=lFpHv4rsoRN2oQT1UTYa4JT4vW0s3mn8Avs218qhQec,3099 +PyQt5/bindings/QtNetwork/qhstspolicy.sip,sha256=08LZF7o4IW8bQ898WVYr7ex3oxJiZp0BR0IL5DfNae8,2174 +PyQt5/bindings/QtNetwork/qhttp2configuration.sip,sha256=eLxkX9WND3np5TzvE304hcIIxUqUtIhG7cd1TlPIS7A,1987 +PyQt5/bindings/QtNetwork/qhttpmultipart.sip,sha256=XXydVJ_-jH9xWeZeyS-lZCynp8WQtySB9GECq4XoUuI,2175 +PyQt5/bindings/QtNetwork/qlocalserver.sip,sha256=l1o0_xJh013RWMCwuUlDuDXXRZ_JLCk26xUWSW2Oowk,2436 +PyQt5/bindings/QtNetwork/qlocalsocket.sip,sha256=NdifR8nuEGgrVhyHi5V2rKSUP2p-Qje-uj9m5cVRawA,4647 +PyQt5/bindings/QtNetwork/qnetworkaccessmanager.sip,sha256=PYilvH-tTuySo-vEe6yC4jGHNLg_KZjv-OUvrP1lhMQ,6052 +PyQt5/bindings/QtNetwork/qnetworkconfigmanager.sip,sha256=LaNCtJJLt1AsnX5LYfQojnaI-L_JbZPRmfz6tn1A528,2584 +PyQt5/bindings/QtNetwork/qnetworkconfiguration.sip,sha256=W8kPSdFq279CSLdFxpzpo1BGdF85aGyC8-s0ntUUs-8,2906 +PyQt5/bindings/QtNetwork/qnetworkcookie.sip,sha256=JNb9dJahrjEdE2g6o4nZ3dpEmR4yUO8RM75pHI8kDjA,2305 +PyQt5/bindings/QtNetwork/qnetworkcookiejar.sip,sha256=jHP04wqgsFQ5tLajWxIkTBn45Knrq6gQ8IyzfSyXW9Q,1761 +PyQt5/bindings/QtNetwork/qnetworkdatagram.sip,sha256=9YbjJQXxJYnmWEiORT1Ehb7fLRXDaa0QaudBh4Tv8t8,2020 +PyQt5/bindings/QtNetwork/qnetworkdiskcache.sip,sha256=tcHTetLHiangG5RjTHkVfcg5vTH3DXIhQvs8BDiZgH4,1931 +PyQt5/bindings/QtNetwork/qnetworkinterface.sip,sha256=z7D-_dFtsqwtOI4X2wMwDxedvZfoiAwr1nQOblvrgfk,4334 +PyQt5/bindings/QtNetwork/qnetworkproxy.sip,sha256=lfVNLWZSclb3zKg-iVM33DARWGuinpoCLkRBYjBzhMg,6066 +PyQt5/bindings/QtNetwork/qnetworkreply.sip,sha256=kjicCKIlxGzEPIAIBeY6VxeCsUdBkJlAnVKlEXsZT0k,5309 +PyQt5/bindings/QtNetwork/qnetworkrequest.sip,sha256=SOuOevJmWWs1bDrmWUjqe48sb1rPFULLd7NqiP1VJUA,5549 +PyQt5/bindings/QtNetwork/qnetworksession.sip,sha256=Ok7p6oOxuCClCNISO6jV1ERENyISrVcwF9rnWe3Ym7E,3012 +PyQt5/bindings/QtNetwork/qocspresponse.sip,sha256=a1eyGI_1evm8KNwKzXge4XCh8YyAl5tJMCK8fmruKdA,2264 +PyQt5/bindings/QtNetwork/qpassworddigestor.sip,sha256=Wm7Ne1CG0eoBVKe9Y4rVCVg6eTowMqCZ5OTaC7TxHac,1439 +PyQt5/bindings/QtNetwork/qpynetwork_qhash.sip,sha256=T3gNXUk95aJLSlaLeC0UU5O4MRwXRtVWTc-2i2yZyb0,3590 +PyQt5/bindings/QtNetwork/qpynetwork_qmap.sip,sha256=fT5L0hM4Kkbv5pA46TiukfGBzpP0mkP-QZdlBZ8sJAk,4045 +PyQt5/bindings/QtNetwork/qssl.sip,sha256=WDKELwdCBzbmfOE50zhZ9CsiQlGFiivPLD7lZtuGWvI,2771 +PyQt5/bindings/QtNetwork/qsslcertificate.sip,sha256=JN74Axq6u7DryJ7iUr44YB5KQnobyLl3gkevfzt6IPg,3964 +PyQt5/bindings/QtNetwork/qsslcertificateextension.sip,sha256=3x8RrXMS0uaZKx3rWkvNBqGhoF-TsIRGL7sPvU-SWBs,1469 +PyQt5/bindings/QtNetwork/qsslcipher.sip,sha256=Gaa7D5PNJVmXLUgP7iklVZAQ3x2VOqYnkZerX-nnnPQ,1769 +PyQt5/bindings/QtNetwork/qsslconfiguration.sip,sha256=ombGKG_NHhvf-DcNV6VwgvmDXaa7hz67GcpIWHP2SIY,5450 +PyQt5/bindings/QtNetwork/qssldiffiehellmanparameters.sip,sha256=xFYxqvayss2gUAWEJjfy9FEzE9TxP9juQp_3vVh3MBQ,2345 +PyQt5/bindings/QtNetwork/qsslellipticcurve.sip,sha256=mePPO2SKLaY-VpU_Ye7mwgkrO-rSdMTGnzhu-xHqNv4,1712 +PyQt5/bindings/QtNetwork/qsslerror.sip,sha256=lIBrPaoO8QB5biXNnsm78Gdp7RGX-sAIFrE_9BU42HM,3206 +PyQt5/bindings/QtNetwork/qsslkey.sip,sha256=GWnU1Rzf506aLUG2jfYBTUPU6wh-G4XVtQe_6CtMspQ,2072 +PyQt5/bindings/QtNetwork/qsslpresharedkeyauthenticator.sip,sha256=xEoJDI45VVvIsxBWEfO5MlH79AV237yCu8yCxxIosGg,2006 +PyQt5/bindings/QtNetwork/qsslsocket.sip,sha256=Gh8PF4arJgBNbPYRs5MjDJD_wDjr-W66qvpnNKo5q6s,8303 +PyQt5/bindings/QtNetwork/qtcpserver.sip,sha256=fhPNnfw3HFvc43j4VyuKCqimfdFzo9Vf_ZY1yn_nAlk,2197 +PyQt5/bindings/QtNetwork/qtcpsocket.sip,sha256=-HW5HtataP5jHvDb7AGealdLE7utTMXFB_QqkvEQM-s,1166 +PyQt5/bindings/QtNetwork/qudpsocket.sip,sha256=v0QRvxKEjYXzOhs8ggsTmuAdZOGElM_vb7zmWnAudR4,3105 +PyQt5/bindings/QtNfc/QtNfc.toml,sha256=FACy8YddvrZ_uppTA02d6kTZzcDK5G6JXPqPkp7fANQ,179 +PyQt5/bindings/QtNfc/QtNfcmod.sip,sha256=u76dVn91CxN-0ez3EXDXo-GkZ_BI6hPARqA5peOYLVg,2297 +PyQt5/bindings/QtNfc/qndeffilter.sip,sha256=l8Q1SHGooip3ViIiUw9qhmTtuD6MTrM9cfjVdmdxaK0,1766 +PyQt5/bindings/QtNfc/qndefmessage.sip,sha256=vvUIypnW7IofB6xtHATtNWCplJa9seqfUcHTkkO61WU,2252 +PyQt5/bindings/QtNfc/qndefnfcsmartposterrecord.sip,sha256=0QS7xI62aPlw42TmEvHkX67SxyXX5avpCmcqMbP1Pyo,3441 +PyQt5/bindings/QtNfc/qndefnfctextrecord.sip,sha256=4uRV5-hT1n-vQlPERWzA46Rib26kKreQDyiviAnXzro,1520 +PyQt5/bindings/QtNfc/qndefnfcurirecord.sip,sha256=SwY2osHmhh-rGRvkSRvNQ3Hpu4F5ll38srJxYgVFvl0,1251 +PyQt5/bindings/QtNfc/qndefrecord.sip,sha256=FeqNdkB3zRki4jL66nAa9Q6UeZDw0vaGCJWSUETB8eM,2605 +PyQt5/bindings/QtNfc/qnearfieldmanager.sip,sha256=B3Fot3VMIwfXG3Bld2K1gPHGFAQZ_nBtWdAYjDTmhXM,5384 +PyQt5/bindings/QtNfc/qnearfieldsharemanager.sip,sha256=BOJRfOoZsHVzGfFgLsDqNwTm6YFSwvfQ_DzPG8Kcnxk,2344 +PyQt5/bindings/QtNfc/qnearfieldsharetarget.sip,sha256=cSW0XNdL5OxsDq_k8K4wJwAHZJ6ify0vEwzWqq52l4Q,1550 +PyQt5/bindings/QtNfc/qnearfieldtarget.sip,sha256=UcyX0vrEf1jdfh7k4Zz3fKfrGMQ-oLuQXWTSt4eZCSs,4233 +PyQt5/bindings/QtNfc/qqmlndefrecord.sip,sha256=pwHSNtuJlBPi1X7rlw4V2Y2egWF5qTmySvhw_xV5lUc,1834 +PyQt5/bindings/QtOpenGL/QtOpenGL.toml,sha256=gYyGxOJDGlCmGPerpGn5x5Pcee9l3G8y4SMXe-32aRE,182 +PyQt5/bindings/QtOpenGL/QtOpenGLmod.sip,sha256=Sq99yMnTIzniD2EGf1YoQOyatghVSB6ij_s9Eto4x4Y,2039 +PyQt5/bindings/QtOpenGL/qgl.sip,sha256=H9Ilqdc3I4q4slQIcypYBCySG3BI0jSkJeG2Q0fktCE,11047 +PyQt5/bindings/QtPositioning/QtPositioning.toml,sha256=I5R8UyYExSbLZD2-WUtW8aBPsHbycPhsrHwrqgq5bGk,187 +PyQt5/bindings/QtPositioning/QtPositioningmod.sip,sha256=MH-z7tBfbkZEy7KRBJmn4G0k4a2b2d5nJiOfh1w7c1Q,2387 +PyQt5/bindings/QtPositioning/qgeoaddress.sip,sha256=dZgfHVmLyG0wrxAYX7X_N4vbPULzbhWz3_6kw_1A25U,2045 +PyQt5/bindings/QtPositioning/qgeoareamonitorinfo.sip,sha256=2aGa7LhUfJy55wrCWBnbwdZD135ucmMFcEtVuyW_g0A,2088 +PyQt5/bindings/QtPositioning/qgeoareamonitorsource.sip,sha256=QpIrsIx5M3MjmU6wUTFV89F3qJbcRQ9macdNCBcfC-Y,2971 +PyQt5/bindings/QtPositioning/qgeocircle.sip,sha256=ZUOTZeP7tMkhLAAg8O_kbv1Wtvhl2955124cRD4kZEQ,1836 +PyQt5/bindings/QtPositioning/qgeocoordinate.sip,sha256=tUrMrRIZnkEOH0JnTDrgCS0JvIthdpFn1gXaGWLtn5M,2765 +PyQt5/bindings/QtPositioning/qgeolocation.sip,sha256=ibavWCcPBLL77IxASXR0lGkVbjIvZ1ZO_ecwfoCb-mE,1748 +PyQt5/bindings/QtPositioning/qgeopath.sip,sha256=EsE98Qd1_zTTOUAPbHanXZTKprzqoZVmlssmsSYkhF0,2322 +PyQt5/bindings/QtPositioning/qgeopolygon.sip,sha256=8H3hjqnJaZUXI8wxXy46qPTuNd8sSsIjOBhKFux01xA,2768 +PyQt5/bindings/QtPositioning/qgeopositioninfo.sip,sha256=nXOYcXfAcYTXxAaeW8VXzIZc1N3xMlVeGPdHacb10pA,2318 +PyQt5/bindings/QtPositioning/qgeopositioninfosource.sip,sha256=-zmq181WeRhOnwhFb8ndDvpQci06VDoD4OzEtxo-10c,4504 +PyQt5/bindings/QtPositioning/qgeorectangle.sip,sha256=A15vSNfD9KBHKKu0CZXZ81_5d2BRg4G-gxZbLJvQ_NA,2846 +PyQt5/bindings/QtPositioning/qgeosatelliteinfo.sip,sha256=--JFv52obrnYicwc49jIi6xfsnoNV2rUO2RyKvq9S3w,2321 +PyQt5/bindings/QtPositioning/qgeosatelliteinfosource.sip,sha256=eAvL3CFQ7HhMTnFEQ0WMUew0eQJGjwUF2PIfZNZ6GpM,2666 +PyQt5/bindings/QtPositioning/qgeoshape.sip,sha256=L_dJgYEeBbjX1EUfVe_tBKmZaDTU7PIz6j8wIudgQzk,2684 +PyQt5/bindings/QtPositioning/qnmeapositioninfosource.sip,sha256=zmbdq5TgwBum8mtG1xUzDH2lB-zD3sRn-XxKW-AYC5w,2315 +PyQt5/bindings/QtPrintSupport/QtPrintSupport.toml,sha256=4tBdI7GYouiWNqZmuFrZDniswWj5lAsM-0iPq70o7u0,188 +PyQt5/bindings/QtPrintSupport/QtPrintSupportmod.sip,sha256=2AlLa4XymFQL2zd93L8MkwUqEvO7wTtFFF6teuDk-KA,2313 +PyQt5/bindings/QtPrintSupport/qabstractprintdialog.sip,sha256=YIU9dj1pimmoAuq-S3uplamdduzR7Uc8E4T7tP7HKFc,5150 +PyQt5/bindings/QtPrintSupport/qpagesetupdialog.sip,sha256=Fmc_f5wspllD3k2ne-ZikiCT_6SoGRN7hkd30k2AvyE,3359 +PyQt5/bindings/QtPrintSupport/qprintdialog.sip,sha256=L_Lw4x5IEVDt-_KwTJwlyVChwMFe2tLp-jyDZRSOUZw,3748 +PyQt5/bindings/QtPrintSupport/qprintengine.sip,sha256=O3FGmLvkTwWNG75a8ticnI6UgOA0Qx9ftEzgpcwkctA,2501 +PyQt5/bindings/QtPrintSupport/qprinter.sip,sha256=_VHH0DRS3szaExJoCUoUSxJf4AO1JlsT3JVm_TWXo8I,5949 +PyQt5/bindings/QtPrintSupport/qprinterinfo.sip,sha256=k8ZPmC0dsyjRfwpxx5mMLq_h_w-Kd14CvLzNHHehlcE,2754 +PyQt5/bindings/QtPrintSupport/qprintpreviewdialog.sip,sha256=JGu3BzCJvOUZHfjGK8EbC2z4Kskh33tSBavrkVjT5tU,2093 +PyQt5/bindings/QtPrintSupport/qprintpreviewwidget.sip,sha256=kBxNLTa1mB4MMdiHU5TG07Etcsc8NaMRhwt9Y9YlHUw,2688 +PyQt5/bindings/QtPrintSupport/qpyprintsupport_qlist.sip,sha256=ofVEapZmm0nK9CRquMXWEooCSfaCMNhUEJ5eVOMRtg0,7520 +PyQt5/bindings/QtQml/QtQml.toml,sha256=-CfssHgU8MCeFfKO45YbXAW6A_Hk7OV7X85OWnxF1Ng,179 +PyQt5/bindings/QtQml/QtQmlmod.sip,sha256=WNjxvC2eaxnoWWk21rAJs22pfhj4LrABzrvhRQk0EAw,2714 +PyQt5/bindings/QtQml/qjsengine.sip,sha256=tkQvBOrZlKWmWbtzl1fnymzjp5fz04Rp5RFqA6_Vcfk,4536 +PyQt5/bindings/QtQml/qjsvalue.sip,sha256=wlRCjtcjaPUojxMGUB-ohw-miULdJO69DbruGCPyw1g,3271 +PyQt5/bindings/QtQml/qjsvalueiterator.sip,sha256=5w2SpJbNu54R43eBtKWoNV4BGTmj14uKFDr3Ur3X1h0,1306 +PyQt5/bindings/QtQml/qmlattachedpropertiesobject.sip,sha256=rnOzwpi-FJWIdqKDIltJB9hz7TQABaJAu9DYwmT6qy0,1561 +PyQt5/bindings/QtQml/qmlregistertype.sip,sha256=SQ_5F-fx287qaVunn3ewY4x1kJyPXtzbtkvMl3crNog,3663 +PyQt5/bindings/QtQml/qpyqmllistproperty.sip,sha256=TL_t60kUIVVgR9KEpAVsL5354Nej_iI6KnjB6aGYToQ,1453 +PyQt5/bindings/QtQml/qqml.sip,sha256=U-fDDHYrQR2FmRKPgEGP0d8pbaGkn3vBkQvTnMp3klI,1154 +PyQt5/bindings/QtQml/qqmlabstracturlinterceptor.sip,sha256=NS4rjLdxsyuTSEww3Aln9BHyiNT-LXZGe1PmpjoRvAs,1423 +PyQt5/bindings/QtQml/qqmlapplicationengine.sip,sha256=t-eDzIO8_EnERr98DSYJfcnNooA-IqX1NPQ47WILGQQ,1946 +PyQt5/bindings/QtQml/qqmlcomponent.sip,sha256=NRYHPeGpaawjTSs-sg-c3HBgF21jYEVdUUYUco_UFBY,3092 +PyQt5/bindings/QtQml/qqmlcontext.sip,sha256=fFPUBoSuOmFc75mJ1-V_EfykYPyp_ASnTCgvcOff6rw,2030 +PyQt5/bindings/QtQml/qqmlengine.sip,sha256=lzDSO-VTRZO0Y4gaq2VK_qDXs2yOLb2aweqlvOSgrRY,6009 +PyQt5/bindings/QtQml/qqmlerror.sip,sha256=uZQo4GakgTNZObqLHde_898YZivLvC2pYZbSOkL5lIw,1654 +PyQt5/bindings/QtQml/qqmlexpression.sip,sha256=2DE5Vy6i6DzvgYnOyEvtvCh8pNrv-GNsdhBhzaBT9Ak,1977 +PyQt5/bindings/QtQml/qqmlextensionplugin.sip,sha256=ILCz3GL0ULnEEIgsNw4hQUMsmIA9ZwnG5oRaaaX74CI,1719 +PyQt5/bindings/QtQml/qqmlfileselector.sip,sha256=O9IOCswIiEf5KySsqx-Uo-XsQqHZY2AMqehr4rUFQ1U,1538 +PyQt5/bindings/QtQml/qqmlincubator.sip,sha256=4nJFglZu3xL6fPMtqFuEOHYj5cXg18OLuem3q05eKGg,2442 +PyQt5/bindings/QtQml/qqmllist.sip,sha256=sii6pP5jYNBQtysnToQeAJ2Ames0H4_ZJ1SBZWOxMtw,1868 +PyQt5/bindings/QtQml/qqmlnetworkaccessmanagerfactory.sip,sha256=FeyyJWHBKWDqgXVckQMap8IC2MHcKXY949a1-z3DKFM,1231 +PyQt5/bindings/QtQml/qqmlparserstatus.sip,sha256=YCb-XhusQmsbEMkRzqLpUnAdeDlHobAsA32kRr0xBJo,1269 +PyQt5/bindings/QtQml/qqmlproperty.sip,sha256=UIStmukDtqxZx3CRhQ74IlA_xjCqL4_FzNu25-c_2mo,4127 +PyQt5/bindings/QtQml/qqmlpropertymap.sip,sha256=7plhMbSESitgrwmncqzjonS3UhEvFIGBvbQzPMdsTAk,1708 +PyQt5/bindings/QtQml/qqmlpropertyvaluesource.sip,sha256=lBKTdF2N_f9Gt_uzKEeSqQJpn4X2aJd0Zsz8iQvpWD8,1287 +PyQt5/bindings/QtQml/qqmlscriptstring.sip,sha256=7ezJMcahNXh9buMxMKsukgfPW_0e1JZoPQ3CrjZx0VI,1546 +PyQt5/bindings/QtQuick/QtQuick.toml,sha256=MTYxiyINoydMmeoBy7mpgp6_bo_ac3j9ab13kFT57cY,181 +PyQt5/bindings/QtQuick/QtQuickmod.sip,sha256=Opdxb26V1XF2RSZjdcsGabBZPXUaemn8fim2khJ72bI,2811 +PyQt5/bindings/QtQuick/qquickframebufferobject.sip,sha256=RZjcRhBVfxbCPtRWtRm13z67MYmQ32MAjCWeRvnX2cY,2633 +PyQt5/bindings/QtQuick/qquickimageprovider.sip,sha256=p1RcpAz5irjwEh_Lv_GdfDbjSpD9FZQmcEGPhWY1YBk,2982 +PyQt5/bindings/QtQuick/qquickitem.sip,sha256=_nXBhsIv6t3FX-0MXzxdQEtTxZBNaPjZvpyx6q06w9s,10071 +PyQt5/bindings/QtQuick/qquickitemgrabresult.sip,sha256=D85fKNdxE58mJq4xBfwnW2oWT1zsA8draGyF_Ir2YCE,1487 +PyQt5/bindings/QtQuick/qquickpainteditem.sip,sha256=ZAAR98AeZu6MweGnqpT3JnIpeYSEFtV5c0WH_G6ujfo,3480 +PyQt5/bindings/QtQuick/qquickrendercontrol.sip,sha256=tNDRC4oXeG78NdV-3dTmJ8tZizxag0ihEawWErVFRn4,1781 +PyQt5/bindings/QtQuick/qquicktextdocument.sip,sha256=v6SLSazrV9HJbaKotz9Ozh2cuhjw3_d8GlR-gbXpOSY,1285 +PyQt5/bindings/QtQuick/qquickview.sip,sha256=oVL7msm1wavouBS_HxRGCyowGougvWoPzmtUAe2NJbM,2445 +PyQt5/bindings/QtQuick/qquickwindow.sip,sha256=6Z2xgo6k-CQNifVOJpBaBWFMm0-DasaWCEF1QkdS_0Q,9221 +PyQt5/bindings/QtQuick/qsgabstractrenderer.sip,sha256=71qEIHMEC9z78OxMC1n7mDKLlC70jbDqBKp3wt0CNxs,2559 +PyQt5/bindings/QtQuick/qsgengine.sip,sha256=Ao4pLXcLMQNNbDRx2CZUUqLrYYgfl9CPuvNsIcS6OEQ,2223 +PyQt5/bindings/QtQuick/qsgflatcolormaterial.sip,sha256=3Gl9AR6_ZRxwYbVAk0uk5tLsnkpiPDqKtS7Z67aDtbc,1370 +PyQt5/bindings/QtQuick/qsggeometry.sip,sha256=MwnXouHV66K7uN6YlMQW0nTSilz5jWyYQLZ_brHC4BM,12824 +PyQt5/bindings/QtQuick/qsgimagenode.sip,sha256=mKmp6Oe3kOUcXKX1bgFtCe-vLSOAK10JbgtPs1M2t8w,2891 +PyQt5/bindings/QtQuick/qsgmaterial.sip,sha256=Cejk4Uir5QWS9cus-RLCEM-CRXgGVmsQEe2ovtYgXWA,7874 +PyQt5/bindings/QtQuick/qsgmaterialrhishader.sip,sha256=NGdUGgC_iqvCNBSM1jBFoOKazxFkuj1yhrmJVHuDbE8,4048 +PyQt5/bindings/QtQuick/qsgnode.sip,sha256=xgwOxHO833l1ndtSELRn4nTKDghIwxdqhNBKywOyUG0,9134 +PyQt5/bindings/QtQuick/qsgrectanglenode.sip,sha256=bxDtD__qDKG71zgq3Fx64253DiecjL32pXcINBlOdp8,1407 +PyQt5/bindings/QtQuick/qsgrendererinterface.sip,sha256=f_fcrpjyq7MQarCHC4eX9PwEXgcSuGHf0Pc6sWvDNUs,3601 +PyQt5/bindings/QtQuick/qsgrendernode.sip,sha256=ngakeporv9WPj7HcVENOFqjJgRD1nFeNU0udbG7Qczk,2784 +PyQt5/bindings/QtQuick/qsgsimplerectnode.sip,sha256=VQpjb3ZAPeI0ICLebv2jonqRUaiP7yeqN8ekxntYeAc,1391 +PyQt5/bindings/QtQuick/qsgsimpletexturenode.sip,sha256=MLOds1i5b4Phy4IYlxNPXpRl2sTiEnpOaRuCvqFr7TA,2600 +PyQt5/bindings/QtQuick/qsgtexture.sip,sha256=rBfV3NdSzPk_nLf5QC1BV1P0givpmPrPCP7Nb0j2aJc,3108 +PyQt5/bindings/QtQuick/qsgtexturematerial.sip,sha256=8Mk_Byj9K2gYc39BhD8HLYJYwjR41jp7oiZ5vizS1AA,2226 +PyQt5/bindings/QtQuick/qsgtextureprovider.sip,sha256=UjMcruFSfWQ8Qaj0xDAo9fxp-QxQvOxug1cZjoIAXJw,1186 +PyQt5/bindings/QtQuick/qsgvertexcolormaterial.sip,sha256=FGDIgqQAx8tHQ0cEBBNow3NmJuxlSJH64UFotI5oLtA,1317 +PyQt5/bindings/QtQuick3D/QtQuick3D.toml,sha256=FtzZ7POiAI5J3H2ar_g4aryJ6_VdPilQQwBLhP1iwcU,183 +PyQt5/bindings/QtQuick3D/QtQuick3Dmod.sip,sha256=-uNyL9x_GeRR1tgHLDQf53ljejhn3BPPYbd0ISscBmY,2099 +PyQt5/bindings/QtQuick3D/qquick3d.sip,sha256=6jvDBSrTltl84eLfI3LVPiJX1fd5uYKXHUWsbWnt4os,1146 +PyQt5/bindings/QtQuick3D/qquick3dgeometry.sip,sha256=XwVpa5MUxGY4IDJf_pfgJvQeDUSWLjmTh0Xv7ujw7jA,2989 +PyQt5/bindings/QtQuick3D/qquick3dobject.sip,sha256=8HkjWW7ZsKer0Hm8Lse5OHDLIUAhdFnJuYCgN3PQ8G8,2186 +PyQt5/bindings/QtQuickWidgets/QtQuickWidgets.toml,sha256=sZ0JF7l-cUPLZB-krOYSfxEu9h8BO1PPru1HFw8UMc0,188 +PyQt5/bindings/QtQuickWidgets/QtQuickWidgetsmod.sip,sha256=N8UbOZfSA4I0dC8j0Z2TbFc4n1RMPgKd8wNg8RQuMg0,2126 +PyQt5/bindings/QtQuickWidgets/qquickwidget.sip,sha256=OKb9tEtrJmJJL9rG7yoqsHSvY72X8COYKE1nyH57Z7I,3740 +PyQt5/bindings/QtRemoteObjects/QtRemoteObjects.toml,sha256=b0xHcc8NpkIa76kFNUbOxzGkN61awFjXKLHHcjF_f_A,189 +PyQt5/bindings/QtRemoteObjects/QtRemoteObjectsmod.sip,sha256=hEOYT5rnt8BEERZ9zaPOnabj98mAhB3GfTz_f12Hd8s,2210 +PyQt5/bindings/QtRemoteObjects/qremoteobjectabstractitemmodelreplica.sip,sha256=WwAyUKV_cUezj95v57BM3iWb9rhPIiCnuDwSOAKkhYI,2383 +PyQt5/bindings/QtRemoteObjects/qremoteobjectdynamicreplica.sip,sha256=-5nvKZrC-tGfSiK4UzkdXJygbqmk10NBQYMQRPYiOoU,1260 +PyQt5/bindings/QtRemoteObjects/qremoteobjectnode.sip,sha256=Iyy28TPAd_dvtV2-aHi1cG9Pm-9R0bHItJjL9U5awt4,6707 +PyQt5/bindings/QtRemoteObjects/qremoteobjectregistry.sip,sha256=w6zJGX4Z4x0Jy_81nyQMRhFjJDMCJnb2DRlR4uB2wdc,1473 +PyQt5/bindings/QtRemoteObjects/qremoteobjectreplica.sip,sha256=-XvO0lP4F9l_dlSlP2aFkEN9ZbVYCILup6katFBDGw8,1770 +PyQt5/bindings/QtRemoteObjects/qtremoteobjectglobal.sip,sha256=aLkjT31_-legx_IvFT0Z0iWQAguLnGlLkgBgivaeFmI,2156 +PyQt5/bindings/QtSensors/QtSensors.toml,sha256=ikGjo4FNOndE2KRzZgpNRUpetmsCEEsmj8EiRLWLAjw,183 +PyQt5/bindings/QtSensors/QtSensorsmod.sip,sha256=fg-twvAYCJI0g6iY1TfxuNVAZCvXChpiRljYSQ207zw,2535 +PyQt5/bindings/QtSensors/qaccelerometer.sip,sha256=w2SeVnx3yq99l-J9ZrgAtFPhxUNaY9lFokHED0SSfns,2118 +PyQt5/bindings/QtSensors/qaltimeter.sip,sha256=A8KcDK2nPpXkiHwlX-of3S-pDlIuzgDuprEf7DsLYSo,1689 +PyQt5/bindings/QtSensors/qambientlightsensor.sip,sha256=SUu5miNpuFjaY65qCoG_KmCcwwyohSJEdSBLbIpmH3Q,1916 +PyQt5/bindings/QtSensors/qambienttemperaturesensor.sip,sha256=tIMfwURnw968j_R4OEtZ5HAOfZ5itzFeqVnzAhyhWk4,1869 +PyQt5/bindings/QtSensors/qcompass.sip,sha256=3aJX3PqGNUz5PObxBVojgGWlwGyJbrnxLm9Zo0FK8Bg,1752 +PyQt5/bindings/QtSensors/qdistancesensor.sip,sha256=KCWKDWGAogASiYuVCA1QeYmCuQrnpjdLrBq9wqiQcJ0,1730 +PyQt5/bindings/QtSensors/qgyroscope.sip,sha256=8rj89n9DK2NhxRbxSkLwf5298gbBggJFg6Sb-8MTbV8,1762 +PyQt5/bindings/QtSensors/qholstersensor.sip,sha256=W7n01awRyT9uWoNTQvoJD26nr1DdD8b0TocCe3GaKI0,1718 +PyQt5/bindings/QtSensors/qhumiditysensor.sip,sha256=Ta4oKmPqMGAfoirnwIzfTh41UqVOQJW-KZ5L3M81Yt0,1767 +PyQt5/bindings/QtSensors/qirproximitysensor.sip,sha256=lzlyM-oAZZ1JEZs7iZYs4gQTbcT3q5CV61Ej-xcmJWc,1778 +PyQt5/bindings/QtSensors/qlidsensor.sip,sha256=F2NLc6EiiYttdw00hJUiQl_QzlnAocCuagYmhvlnX14,1789 +PyQt5/bindings/QtSensors/qlightsensor.sip,sha256=jltkxv-zdUfIvenb2TktFqB4HBq4du2m4qT_kScxfAE,1814 +PyQt5/bindings/QtSensors/qmagnetometer.sip,sha256=QOLeh28bgKjqjKnszt0Jq57GdecCBPyCndtoZTcXjVE,2048 +PyQt5/bindings/QtSensors/qorientationsensor.sip,sha256=NUQn8wPDBoCya52_6UFvSe9Afqasbk_QQPxN774yMVA,1996 +PyQt5/bindings/QtSensors/qpressuresensor.sip,sha256=8vs1Deamhx97IERxCx3EAgT7zvVuqVhpq0j_9NEeX1o,1855 +PyQt5/bindings/QtSensors/qproximitysensor.sip,sha256=2xN-ACtJ7y3M7su--I42NNCld0hvkHv-Xubx1sDWfIA,1732 +PyQt5/bindings/QtSensors/qrotationsensor.sip,sha256=YPbEtm2KPSNsQzwGyW2vTlm3VVYLcYJouN5wH2PRkxY,1879 +PyQt5/bindings/QtSensors/qsensor.sip,sha256=wWE1JOBwYYSLkTSlBVIZET8o9mgllhA-zIQIvO_iQAQ,8664 +PyQt5/bindings/QtSensors/qtapsensor.sip,sha256=yrCEGChYFkSEAMmLwzEqQ4mf9xI1GDpxLLWph8gU_cM,2216 +PyQt5/bindings/QtSensors/qtiltsensor.sip,sha256=gSxaZOvKmBbhIdDfy0wbEDgMJl6kX7xhkwXarzIriIM,1759 +PyQt5/bindings/QtSerialPort/QtSerialPort.toml,sha256=_JReUdmcd_P1OhMu2jV8yD8Klo3Qbr0TnDrAEbZ72s0,186 +PyQt5/bindings/QtSerialPort/QtSerialPortmod.sip,sha256=A83APECOCF9R8OkvCg9R97dOTYGtWVbbOfgxo6fUpS4,2025 +PyQt5/bindings/QtSerialPort/qserialport.sip,sha256=FCDiwPGtj2SRT0gNs-2bPl8PF5LLQcECxuZqqf9MVrc,9761 +PyQt5/bindings/QtSerialPort/qserialportinfo.sip,sha256=Xpk6QdqdOEd0UGri0fZTRAkUjz77QJDVWywDulGnHLQ,1897 +PyQt5/bindings/QtSql/QtSql.toml,sha256=i8U1oLfrAHQCJQPoT1geRjlRRE7BJmZ1EO1oCo4Iz6k,179 +PyQt5/bindings/QtSql/QtSqlmod.sip,sha256=RJkk8U7VUoQxg3pUf-xl41u6qfzEru7Ec90xnPniRPI,2361 +PyQt5/bindings/QtSql/qsql.sip,sha256=v2SElccrY6nZKVxQcygR8PtKwPn1pzSDhUI6Oz7jldg,1690 +PyQt5/bindings/QtSql/qsqldatabase.sip,sha256=aKuELnB1ZrqxTsAGcXDJhOKN5CCn8MV3SwPW1EIigd8,3963 +PyQt5/bindings/QtSql/qsqldriver.sip,sha256=xzxnZ-JNSN0vvHW0PBlcAXHs6JD8wVwKFD6sqgDG9-U,5168 +PyQt5/bindings/QtSql/qsqlerror.sip,sha256=SJP8z3VgKgTqmtaXXdhpQwoY2It3DQsWtexDp1jxhVY,2405 +PyQt5/bindings/QtSql/qsqlfield.sip,sha256=bFUVcn2TYWypE6RsZpdwU-ZOoa4sradaHqDpuO1n1rs,2569 +PyQt5/bindings/QtSql/qsqlindex.sip,sha256=1VDMKkVsYEoesoIMPgrAJjkwG6CdyfhSR48XpF4cxFI,1538 +PyQt5/bindings/QtSql/qsqlquery.sip,sha256=kJxGG9Po-Qt6kdUeuxo0v7ku1Q55jDESjTvOV4ksTgo,3258 +PyQt5/bindings/QtSql/qsqlquerymodel.sip,sha256=xm22FLiLLXosF5tANyd_Ac2yIluC6saeriVEiYcW0a8,3033 +PyQt5/bindings/QtSql/qsqlrecord.sip,sha256=BDE3w7M2KywFrEbp-eTxBjfYkNFneQQ4ZB__eS9TyHE,2345 +PyQt5/bindings/QtSql/qsqlrelationaldelegate.sip,sha256=LsTHXB9bgo2_jeHkhEqt4t7SVO756YBBXDU1EbZmb9A,1606 +PyQt5/bindings/QtSql/qsqlrelationaltablemodel.sip,sha256=8ov2RATxqM1YizMFlV8V1oqyC76kocTKFSJ3FL4gXzI,2716 +PyQt5/bindings/QtSql/qsqlresult.sip,sha256=LL_net-CSU1W6MOX73tU6PpQSQn_1KHJ2VR5rm6o2cg,3329 +PyQt5/bindings/QtSql/qsqltablemodel.sip,sha256=DaF2g2UjjPeZ4ZHC-BJ1lnKCCsBeCxbACehiKEnrdtQ,3871 +PyQt5/bindings/QtSql/qtsqlglobal.sip,sha256=5XYzEPWlSCdKzp6hHFlKxVYNR-ZE2Q7mQX48NMitzUc,1704 +PyQt5/bindings/QtSvg/QtSvg.toml,sha256=RrH9I5bHAnGAwr0N8HcAMhmAZdawaRj4SZfZG_S67dw,179 +PyQt5/bindings/QtSvg/QtSvgmod.sip,sha256=w4KC8LfK3926pE21x6kMrsVXNBnQGEUr9E9rG_TtWr8,2123 +PyQt5/bindings/QtSvg/qgraphicssvgitem.sip,sha256=YPeS0VjBPkTs9BHYUiOWpM9AOOUpFW0gORta7dpJN5A,2046 +PyQt5/bindings/QtSvg/qsvggenerator.sip,sha256=7PwSb9UMlx70Kq8Mv3cgFtVvgT0fkcQrRqF5uiFNU7I,1871 +PyQt5/bindings/QtSvg/qsvgrenderer.sip,sha256=R2XuCzEP-pSxxCCWmSohVppYNZjvxqCw2N9C_IeDWbM,3341 +PyQt5/bindings/QtSvg/qsvgwidget.sip,sha256=EdJXmA91Q2ku3tDI140Q7VW7o9M99XHMio6fwQFENXI,1455 +PyQt5/bindings/QtTest/QtTest.toml,sha256=IU-Npi8ibUNSGgYPXfSURfI5D4yrhYZfRdF0KeEv5hk,180 +PyQt5/bindings/QtTest/QtTestmod.sip,sha256=5Rgt5XPDM-mAQZyWaeg87p-LOuv-RF1Yau8YkNjh1qY,2179 +PyQt5/bindings/QtTest/qabstractitemmodeltester.sip,sha256=fLfZQoXTSb6d4EyWQHbXUKwHWH9gK0YXyNIC3cAR_Jo,1702 +PyQt5/bindings/QtTest/qsignalspy.sip,sha256=P4ijqU9KlaflxPtBl9dpYeqsyJzAQrpQKrlq-Rs7O6c,3441 +PyQt5/bindings/QtTest/qtestcase.sip,sha256=L05PsUsX3FHP7F-TrPOJ5WBK5dh09MS6Qehb5MsY4S8,1082 +PyQt5/bindings/QtTest/qtestkeyboard.sip,sha256=eyQ88jP7WFJQNgid14qDNnnTouh7fAfZTWXUVG4hFbE,3433 +PyQt5/bindings/QtTest/qtestmouse.sip,sha256=2vR61Av4DuSx2ECQLvU8UBuNHYrkqxqYixdWRpsSFs4,2485 +PyQt5/bindings/QtTest/qtestsystem.sip,sha256=VHaqwTV0t5hwusIxTO2oL73qdxNgnl9GUz3tbw1m8Nc,1415 +PyQt5/bindings/QtTest/qtesttouch.sip,sha256=duQ9vqHsNtB9bMV4d0KrBiTzuzFuD3urEahpiJm66uw,2849 +PyQt5/bindings/QtTextToSpeech/QtTextToSpeech.toml,sha256=rPQdJeCrNcqJjFj_ZKKqjJ3qSmAEW-uzR7mOqeysHks,188 +PyQt5/bindings/QtTextToSpeech/QtTextToSpeechmod.sip,sha256=UONUkmadShI0nFHUmiQ61HD5ANJZLO7dAqnXork5Vcw,2024 +PyQt5/bindings/QtTextToSpeech/qtexttospeech.sip,sha256=phr767z02VqInFIgfM1dE5P9TELhUMmdQhtR_U3wXHI,2864 +PyQt5/bindings/QtTextToSpeech/qvoice.sip,sha256=UV5SeUkJdXt1lolkANnB3cHO5jt1TkWLlIpOd-PmHRA,1624 +PyQt5/bindings/QtWebChannel/QtWebChannel.toml,sha256=ol-TKfTWYqvKcmfoSJLKnGJzfCjVFjLqGLAfm6_ccnU,186 +PyQt5/bindings/QtWebChannel/QtWebChannelmod.sip,sha256=GtwqluwHIJORravZkVlzlKnQmHeiUoEoXdBBBGSe6ys,2038 +PyQt5/bindings/QtWebChannel/qwebchannel.sip,sha256=rfairBAnBsGAXSWlBOiBpCNlk4ZAZHoEDEDBPh2yTFg,2408 +PyQt5/bindings/QtWebChannel/qwebchannelabstracttransport.sip,sha256=cDKWQKcVX61iyqgpEbXsqvPAds6qC5epzjptIOZN_k8,1467 +PyQt5/bindings/QtWebSockets/QtWebSockets.toml,sha256=n7noLS9S44-Kui4xJM1A6jjRoteDaAv7qEKYoqg6LY8,186 +PyQt5/bindings/QtWebSockets/QtWebSocketsmod.sip,sha256=gQQbvINozuUOJT_MOQwWoW4kT2DzO6YNBj4Ka-5AssM,2165 +PyQt5/bindings/QtWebSockets/qmaskgenerator.sip,sha256=-hxsuraaoIN0dzZs2mfCFkFoAn62cPJ_o-QtWIic9uw,1276 +PyQt5/bindings/QtWebSockets/qwebsocket.sip,sha256=x7FjHRHv3kWkNhUgosJ2zY7M27SAspNqcXAWN0lWbDk,5602 +PyQt5/bindings/QtWebSockets/qwebsocketcorsauthenticator.sip,sha256=JFw0yL-hGzkGI9W-6r0RVkA5jDHS5BvKwLxIHs_gGls,1486 +PyQt5/bindings/QtWebSockets/qwebsocketprotocol.sip,sha256=Jd-8FvutgjFma7ccGMChTnGPjEWe4IWyKLSDSlMDTbQ,1803 +PyQt5/bindings/QtWebSockets/qwebsocketserver.sip,sha256=ktgDuokqIQHaqyO-8vVrxv09IrTqnJcpX-RIl2FGRwU,3456 +PyQt5/bindings/QtWidgets/QtWidgets.toml,sha256=zEu3FuJmwJabF0Szk_uyMeyjZMIHS18vNTsLJT36aKU,183 +PyQt5/bindings/QtWidgets/QtWidgetsmod.sip,sha256=qa17tca977bY8Xo3DB_kGEny9XcM9Z9g40ClRa95LN4,5379 +PyQt5/bindings/QtWidgets/qabstractbutton.sip,sha256=TwBrGYecYdQ7-iWKkf-QV1SLmw7ulEofYqyhAbja4WA,2829 +PyQt5/bindings/QtWidgets/qabstractitemdelegate.sip,sha256=dTyuHsaj6CuazdplFKHntBnC4dq0PLsL2oLp2PAz24E,2676 +PyQt5/bindings/QtWidgets/qabstractitemview.sip,sha256=BIUw1XSNOOMh0d061cJumgtkRS7Zn5esG4f5RQSRgck,10870 +PyQt5/bindings/QtWidgets/qabstractscrollarea.sip,sha256=G1P6b2fUpN93jeystMClI5WZSC3QkoNHubXKEMfLADE,3664 +PyQt5/bindings/QtWidgets/qabstractslider.sip,sha256=nDKERSzabJTFHnSu7PwUg_mJIrvbBwsF7Stn00wi5bY,3107 +PyQt5/bindings/QtWidgets/qabstractspinbox.sip,sha256=RRsuREPPJaGIiHiWAHPFrh2pGlmC2U4oDX1CuIHu9Hw,4336 +PyQt5/bindings/QtWidgets/qaction.sip,sha256=blm9r_kwBs8YGf0YYAsKlrYkmfD7Twa1uJSxf2bo0X4,4454 +PyQt5/bindings/QtWidgets/qactiongroup.sip,sha256=T27F53yZzbPNkBKO4ohsRf8dOAzyWTPDnE3dd7_FChc,2182 +PyQt5/bindings/QtWidgets/qapplication.sip,sha256=_c9gQOIR1wQgVnl8n0bX6GhQcnTH4MHcNKlvEbqaCt8,16292 +PyQt5/bindings/QtWidgets/qboxlayout.sip,sha256=tZRAolJhJHJQf85s37nMbC-RC24MR6a15hQ3IB7SjFc,4928 +PyQt5/bindings/QtWidgets/qbuttongroup.sip,sha256=oEMHE9uzkWqZMGh2MRlQ0mTE1p119--JBWAAHvwr034,2162 +PyQt5/bindings/QtWidgets/qcalendarwidget.sip,sha256=K_sbi_zKv2B_x3BPv1Tll_qhwT0yr4QLNvVxBEYjZdg,4288 +PyQt5/bindings/QtWidgets/qcheckbox.sip,sha256=_guVjx8tgqtn73mfoqcAGNkxVDo8nMcyF4KQM7MyD5s,1842 +PyQt5/bindings/QtWidgets/qcolordialog.sip,sha256=E5MRQwoueeQUDfRS3T8PlNTbm1vaap7ogdN5WNcA6rU,3179 +PyQt5/bindings/QtWidgets/qcolumnview.sip,sha256=bHKquaSwO-8utBzMuJVLZE0waz5iruj2T8ExsKfhB84,2937 +PyQt5/bindings/QtWidgets/qcombobox.sip,sha256=JIrfpqVz4gU_Q4X6R-6rDrkVIh2q3t3hZBv7vMEUKjM,6415 +PyQt5/bindings/QtWidgets/qcommandlinkbutton.sip,sha256=Hial3B4SZNndXQAf7tA7LvIdUceix75e95wzTjsi8_8,1702 +PyQt5/bindings/QtWidgets/qcommonstyle.sip,sha256=C9mjlX5u3Hqoo60ChdDtJg_Z2VYSNUzj8x4nj5-sthc,3191 +PyQt5/bindings/QtWidgets/qcompleter.sip,sha256=e7QswmeUsdxcSRQfquALHAz0XlR1HZbXEbQBDVC7ISw,3458 +PyQt5/bindings/QtWidgets/qdatawidgetmapper.sip,sha256=lIzynTy8Xe0WXACZk7_LVpArIm30Ph6ONQnu1Rbg3UI,2506 +PyQt5/bindings/QtWidgets/qdatetimeedit.sip,sha256=sBKOtl10_2bbR9yvV3uFPXjx8Luxu0wmS83jOgbb2_c,5438 +PyQt5/bindings/QtWidgets/qdesktopwidget.sip,sha256=KJFDKuceTxg4CYgFH2NGhQPaBFZyt5ABspuTv00yqU8,1961 +PyQt5/bindings/QtWidgets/qdial.sip,sha256=fh7XTO0jyC3hRQkhuJxI0D-vsRLHHayHc4bzWs8hETE,1911 +PyQt5/bindings/QtWidgets/qdialog.sip,sha256=78gBSDZFgL5WIYGRI8mKp-mi64xw7wP90rCskSz1sxI,3484 +PyQt5/bindings/QtWidgets/qdialogbuttonbox.sip,sha256=9nTLSVvMnnmuOVpxbS5GhGJggtFKiuu6gskPkdxb-7E,3876 +PyQt5/bindings/QtWidgets/qdirmodel.sip,sha256=vZKxFDvm6JO_7zTNpFjkdIiOt1m0Dla1mi5JuMjlCg4,3734 +PyQt5/bindings/QtWidgets/qdockwidget.sip,sha256=CxhMyAitx8K5dDyd5reOjPLPtvMS8yocLee_yblIxAs,2875 +PyQt5/bindings/QtWidgets/qdrawutil.sip,sha256=A5J0oclpO-5Q5r9jfSyP4BvJ4YnP-cIQLjyS_J0rSjQ,2769 +PyQt5/bindings/QtWidgets/qerrormessage.sip,sha256=ZFoUiC6bCOl9exZmDzwrISnTy6PlBlQlSIAaaN34E38,1430 +PyQt5/bindings/QtWidgets/qfiledialog.sip,sha256=hL2rLzNB7JCT842g9kaHax_mmtpoBA8SsEl14tZBez4,12962 +PyQt5/bindings/QtWidgets/qfileiconprovider.sip,sha256=mn9bTnAvgiTL_rcfSsESVjVHcU4Y4TUDxfFQIBr7ayU,2011 +PyQt5/bindings/QtWidgets/qfilesystemmodel.sip,sha256=asknlpNLBvjthaeCd8cHN0l_S3XbkHuonHS0h5h-kOI,5217 +PyQt5/bindings/QtWidgets/qfocusframe.sip,sha256=Uyhnf6O5ppQ3naQkg3k7RiDH6ja3xIlIsiRmu1PgUtM,1424 +PyQt5/bindings/QtWidgets/qfontcombobox.sip,sha256=ebql53ze5c2c_3v_sDd5r9f8CfSLhzGS8ZThrlRHiP4,1979 +PyQt5/bindings/QtWidgets/qfontdialog.sip,sha256=hF611wEgSG-VcbpfA6qo0DJ-v_h9_n0VSyH3NbXta1s,3205 +PyQt5/bindings/QtWidgets/qformlayout.sip,sha256=VZrTFXuPfkVUeppZjnuGrlDYgyVSL94j5wl0IfPYT_g,4846 +PyQt5/bindings/QtWidgets/qframe.sip,sha256=vHSegfHHydy0mjR18_ogZNOI6_YIPduAKRA0IM9AsP8,2219 +PyQt5/bindings/QtWidgets/qgesture.sip,sha256=qJTYQBYwrBwpXOI4V2jUn5qFjpFWQBdLuERkEwB3N9s,5514 +PyQt5/bindings/QtWidgets/qgesturerecognizer.sip,sha256=YasRQPHaYwm4qNWgjWNKg9oKKC-vl7ikAIQUrohshx4,1907 +PyQt5/bindings/QtWidgets/qgraphicsanchorlayout.sip,sha256=4tdKRv9ZQqVz2omOh3jYmq5PTjoNPUJc2sd-k0WVG10,2807 +PyQt5/bindings/QtWidgets/qgraphicseffect.sip,sha256=CX0qWCEHu0cBKpItxUYfYzGHpnLXnu1ByKEfnM3hLOM,5416 +PyQt5/bindings/QtWidgets/qgraphicsgridlayout.sip,sha256=npUEKxMPThzUl_9kWlRmwqMXz4rVNRjUz94aY0lE3jQ,4307 +PyQt5/bindings/QtWidgets/qgraphicsitem.sip,sha256=sll83OZTmTmn0gbn6sltFYurPcJYdM8TRy4JxSMEihc,27666 +PyQt5/bindings/QtWidgets/qgraphicslayout.sip,sha256=we-fd1KPCuLzPOsVZgyMD1bjMZVPL5MHd3EnzmgBDMc,1775 +PyQt5/bindings/QtWidgets/qgraphicslayoutitem.sip,sha256=l2CaZkI76NBqXg0anZWNnA4RCKfqp_nzFeFTsD2KATU,3163 +PyQt5/bindings/QtWidgets/qgraphicslinearlayout.sip,sha256=XV9TqVQ6Y18778QvTQ5yjN1hz3_e7IzdEiuJSCWhFNM,3229 +PyQt5/bindings/QtWidgets/qgraphicsproxywidget.sip,sha256=uHnwPjiin3vrlS8_EDIXE68-rbZe_0q1vvvRYRySNKo,4008 +PyQt5/bindings/QtWidgets/qgraphicsscene.sip,sha256=sQqT2JS67Lv9C7wO0JrD71SCj2N88RiCYkE0kFWBJjU,9311 +PyQt5/bindings/QtWidgets/qgraphicssceneevent.sip,sha256=sQYjBW6oJOUUfP3yXtC3vtTZVaUyw_joDvoIkO3k-SE,6855 +PyQt5/bindings/QtWidgets/qgraphicstransform.sip,sha256=uJbSksE6g4uUjC-8H9d2uPAS8KDhOso11gsTgQ7wJZ4,2528 +PyQt5/bindings/QtWidgets/qgraphicsview.sip,sha256=s_uRONUqw_pv_CDXdTDfCgGMYpLZI6oX1w4R8vatCzk,8610 +PyQt5/bindings/QtWidgets/qgraphicswidget.sip,sha256=D5QvpJyMdUH3FHSLCbbrTVl6u_aR3gIB0dwKp01v7OQ,5617 +PyQt5/bindings/QtWidgets/qgridlayout.sip,sha256=XjaCSwiSc18e5QE1OZ7BlnZyw7xwmeIwcJeKVT_Vm0A,5681 +PyQt5/bindings/QtWidgets/qgroupbox.sip,sha256=L4e6zMLUsa4KEWv8SiAeKXhXSKuBiLS-Cz2OXzI1d30,2176 +PyQt5/bindings/QtWidgets/qheaderview.sip,sha256=AFVf6LK1XXSesEUrbJMcfAB5Avngw6yL8EtiwRAK0qU,7206 +PyQt5/bindings/QtWidgets/qinputdialog.sip,sha256=Ua9-lSJUe-bRF7r6TsNUuIymWV9X1dZ-poSORpG2Lxc,5919 +PyQt5/bindings/QtWidgets/qitemdelegate.sip,sha256=-r6pQk7YH8pxZGMJv0yHv5Cre4NSgOgNdZbhNs5xgeA,2982 +PyQt5/bindings/QtWidgets/qitemeditorfactory.sip,sha256=jdUbr5A_3jwYXP54GfHdNR7rMr6_rZXjGtw54jnyWZs,1849 +PyQt5/bindings/QtWidgets/qkeyeventtransition.sip,sha256=exaXlWOxOI80oVX1lR5D7YoLGIJgemsRsjpPCBbEPXI,1600 +PyQt5/bindings/QtWidgets/qkeysequenceedit.sip,sha256=1_-kEYHPw5EvHEtcaWOQWUdmrShAOIgKdE2jIJzoYTk,1734 +PyQt5/bindings/QtWidgets/qlabel.sip,sha256=dSTyXvPxg061MlXW3okWt94G-umIL8xBXgBY_TfJ5Zw,3275 +PyQt5/bindings/QtWidgets/qlayout.sip,sha256=XqGRezq-KGlZbQJ1MytJl3TBiZQiOAeA1XEMu_MGEwY,6040 +PyQt5/bindings/QtWidgets/qlayoutitem.sip,sha256=7L1MAuNp3FJErj6Ly88Mekt37jBintx3n6ZfhV0o8Mo,3769 +PyQt5/bindings/QtWidgets/qlcdnumber.sip,sha256=yo5SJv1omQkhNTh23LgBD-BHfyKzMxuTk43eq4qvGyc,2460 +PyQt5/bindings/QtWidgets/qlineedit.sip,sha256=rN-a_RzH1SY8YfzOgsYoTED0DRqjUtSjmJq2zPGIq8g,5603 +PyQt5/bindings/QtWidgets/qlistview.sip,sha256=9TuSfetu7FyrjpM3QQohINnHehz-Ju2ev_1gDmzH8xk,5183 +PyQt5/bindings/QtWidgets/qlistwidget.sip,sha256=Pg2lC73Mx5_eNmWANCo_jbQ2fqlPuF36h-sw9XQldmI,7456 +PyQt5/bindings/QtWidgets/qmaccocoaviewcontainer.sip,sha256=7Q-vaceaSBa3tBwa6hMPxBy0SpkqNo--TLrBxWvBmj4,1467 +PyQt5/bindings/QtWidgets/qmainwindow.sip,sha256=1Eshgfl2xQvKssWIXZge6ocHBssqbUaQT50r4FVJYNk,5032 +PyQt5/bindings/QtWidgets/qmdiarea.sip,sha256=cB1ul3CxVbSll-gsR69_9S_Gct73GgKl-U5dsuBwbqg,4384 +PyQt5/bindings/QtWidgets/qmdisubwindow.sip,sha256=SolkMLDC2nxqXXvqbqY-Noeu-yGbLFNg3KLdB4b-4co,4286 +PyQt5/bindings/QtWidgets/qmenu.sip,sha256=m7ZRb759D7jHRjuEmA_-Nqyc2UAWD8miqez_u0YvhEc,6226 +PyQt5/bindings/QtWidgets/qmenubar.sip,sha256=-300MNjl-ZAeXnehdAYxEPtzAxxblRvm_zyeKNI_R6k,3626 +PyQt5/bindings/QtWidgets/qmessagebox.sip,sha256=1Hq8g_23fpdbJz_9r9L4hoTqgoIaCYDpc1lsMPhQRQE,6668 +PyQt5/bindings/QtWidgets/qmouseeventtransition.sip,sha256=kMCiHLKayqSvoRGpXQiIfVeic-TWOVc1fP424gn9NbQ,1751 +PyQt5/bindings/QtWidgets/qopenglwidget.sip,sha256=5DDGOaEsQlpk03b8rvAX5ejEqDfTHWIJFVCzeH3cvW8,2463 +PyQt5/bindings/QtWidgets/qplaintextedit.sip,sha256=11oJH2JJCe4uK5hswWKIUCx-nR2QpPyCJvh5hW8ysBE,7961 +PyQt5/bindings/QtWidgets/qprogressbar.sip,sha256=CYIQYN7Y71G6DoRAyNBnfUDJAJwXuKEGyMlKQXG7FK8,2312 +PyQt5/bindings/QtWidgets/qprogressdialog.sip,sha256=cK0iy4IDon0qdpFM-UHvBRTsmt5DHycRs8iRSUc5Z9k,2988 +PyQt5/bindings/QtWidgets/qproxystyle.sip,sha256=zk6cejeZdDY0piYkEk5nGsvTlH4BFbVhzRCMNmUW3Uk,4008 +PyQt5/bindings/QtWidgets/qpushbutton.sip,sha256=FVZcv1qXAMewoPJ4-2LDmnSPm72c5GHWVBcjMDq72Zg,2223 +PyQt5/bindings/QtWidgets/qpywidgets_qlist.sip,sha256=O527hZgoe15lQKn5K4obGDNqqu5TcT1oFlhEqHjP9Fw,3094 +PyQt5/bindings/QtWidgets/qradiobutton.sip,sha256=G1H9_WXelL-z_KSwCBLK3RAddKbGE1SZaJc4o8D4IsQ,1589 +PyQt5/bindings/QtWidgets/qrubberband.sip,sha256=E3djN1hJxpM4RLITYanbUpLCGPRQK81DRLa2bBnMSis,1840 +PyQt5/bindings/QtWidgets/qscrollarea.sip,sha256=FYzLTdpTysWjGxYd2IZnA7ce2l4zRQJacEliHZX0WSc,1969 +PyQt5/bindings/QtWidgets/qscrollbar.sip,sha256=pKwPytSOgef9dmYCm7qUPxIXbYJGkSV0eHNz6Uiq_d0,1811 +PyQt5/bindings/QtWidgets/qscroller.sip,sha256=LW67hVRbNT2lsqotCqhElFV9IkSv7c-7Jfu4s9B3GrY,3018 +PyQt5/bindings/QtWidgets/qscrollerproperties.sip,sha256=J8dy68GKZwLXoM-QTgZLX1FkKRH4HbbTkijgndkHFEQ,2565 +PyQt5/bindings/QtWidgets/qshortcut.sip,sha256=wJ_cWCIR_HB-oyESmAVX86Eb6wLnKqrBcamJu2yVOp8,3632 +PyQt5/bindings/QtWidgets/qsizegrip.sip,sha256=ZsNiYxlm_XrBcA4EHPai8_iemtC6H0eWtwtzeUYV5hk,1685 +PyQt5/bindings/QtWidgets/qsizepolicy.sip,sha256=zHyZISdgjgKdZkwBCTsBUyfzDUFJBKyjKN16dFR27Go,3563 +PyQt5/bindings/QtWidgets/qslider.sip,sha256=ozJoEJTfnyyRITbu8zdtok2wi8mQrV3ROou98B-nK8I,1970 +PyQt5/bindings/QtWidgets/qspinbox.sip,sha256=YVUDZ459LwvYlHWk6V8EitiWLBll8LiZs4c0qfJFulY,3687 +PyQt5/bindings/QtWidgets/qsplashscreen.sip,sha256=OBdSRlSDkpqGbHgMO02DmlKgCXwMpozSXTNzmdQIBOc,2027 +PyQt5/bindings/QtWidgets/qsplitter.sip,sha256=4TwSAmTLlZcdc7ncvxea-RrcS_rBm_9BQhMsSkR4o1Q,3551 +PyQt5/bindings/QtWidgets/qstackedlayout.sip,sha256=Ix_E4ILQKIwaNmdheackgpoWsvBk0BbobjnqnZuUaXs,3795 +PyQt5/bindings/QtWidgets/qstackedwidget.sip,sha256=gysa9pJ1uAf8cGFfjoTXFNIX89DURvkTLLF18xEkByA,1707 +PyQt5/bindings/QtWidgets/qstatusbar.sip,sha256=hIKi6Jl9zzUNRvZQ6ZiAC9rOIW8K6rexjAxCApY62OE,2011 +PyQt5/bindings/QtWidgets/qstyle.sip,sha256=gIv_KsTBXxThhZzIsaBfk35sz3Cany2ChevxCUfNvVM,24187 +PyQt5/bindings/QtWidgets/qstyleditemdelegate.sip,sha256=nyf7aPquU8cI9KTNulrxEtQZFnY90Il2y0Zxl1Zj5c8,2472 +PyQt5/bindings/QtWidgets/qstylefactory.sip,sha256=xpe3EtEywCi_cgIhPb4qotYT-0VvGnXYPfylZLNJ5ks,1154 +PyQt5/bindings/QtWidgets/qstyleoption.sip,sha256=FqcbdswyA7twhZ82wqQD6iyt4c7xTB09RJlfuGPKB_4,21855 +PyQt5/bindings/QtWidgets/qstylepainter.sip,sha256=kkVmqIkCplJWMwKZUClP_4BquXv2J0i0OZmQ9yo98nU,1773 +PyQt5/bindings/QtWidgets/qsystemtrayicon.sip,sha256=5eBHX8jCWkDgNh3_pFTq10wiMKal0cO-nh34MS-X4J8,2419 +PyQt5/bindings/QtWidgets/qtabbar.sip,sha256=WTJRa859CLSWQosQU1B-sL2i4cUzyOg70Ph088KxY6g,5616 +PyQt5/bindings/QtWidgets/qtableview.sip,sha256=uV8dvj2ButoKgzsi-YBz7SSC0VTNKmWjbFep4NbZfyc,4956 +PyQt5/bindings/QtWidgets/qtablewidget.sip,sha256=f1vk8A4j1W1bZAbNGQmi_7ahVEvuW7WcMq8Oz3z_awE,9296 +PyQt5/bindings/QtWidgets/qtabwidget.sip,sha256=t7WtVDTjESELe1U4sTzdXVAQR0GHpk5GY2-ZRBby1i8,4504 +PyQt5/bindings/QtWidgets/qtextbrowser.sip,sha256=m5EoK3CzKcrIGuE2sp2FcleztajRKymyu3b4WhRgvSQ,2960 +PyQt5/bindings/QtWidgets/qtextedit.sip,sha256=tkOGp7xx2pkDljFWmrENQutLnwmHtj8wbcy4e7cbDJA,8203 +PyQt5/bindings/QtWidgets/qtoolbar.sip,sha256=G-u20SR5Vl2W_gd7H0biomCCq7Kgi5LHDzsYPKMf7Ps,4342 +PyQt5/bindings/QtWidgets/qtoolbox.sip,sha256=CCEsQZc_EsF5izGzu2xSizFjHq21h6QSlxcImEGmWBk,2479 +PyQt5/bindings/QtWidgets/qtoolbutton.sip,sha256=WY_wJG792xVLGdRw8VCBpxkPK9vGVRUMVc1dYTqk1PE,2560 +PyQt5/bindings/QtWidgets/qtooltip.sip,sha256=i7rsjSRWv_9eoY4fayUTgq-uT5VojPEnREfQZKyBh2g,1630 +PyQt5/bindings/QtWidgets/qtreeview.sip,sha256=MJ7PFg-PAZ5lDVgjCyERgkCMU8rxbBT8DrCL976pods,6708 +PyQt5/bindings/QtWidgets/qtreewidget.sip,sha256=Z_uhH1qHPFJUqrEER_RWF8Q9_1f84gmQyPvvkbwNo7g,10487 +PyQt5/bindings/QtWidgets/qtreewidgetitemiterator.sip,sha256=bx0Ni_b62kpljGj3tUX3MG_TPIBPku8xsrpBRdW8zyY,2362 +PyQt5/bindings/QtWidgets/qundogroup.sip,sha256=u79waBc2Sgej8emKf_IEAyG5sjj4iv-6ouF1rI9cio4,2103 +PyQt5/bindings/QtWidgets/qundostack.sip,sha256=C-jDg6eaOV5yiZs-Hy5yTOKWVn2_G007O8ekzEHYJlQ,3169 +PyQt5/bindings/QtWidgets/qundoview.sip,sha256=vxuWUOLpqIZIP3YPGP0rWhYLQrbiDsOXe6_1i6skdfI,1641 +PyQt5/bindings/QtWidgets/qwhatsthis.sip,sha256=s8uZZ8WDxJJRpnrXzfMaWgDFC3Iew8aEifC-ms7Cpco,1391 +PyQt5/bindings/QtWidgets/qwidget.sip,sha256=XjH4yJ8lC3eZOj6Ysd89zcHyq44pn5V6BeaK1htzqsk,15862 +PyQt5/bindings/QtWidgets/qwidgetaction.sip,sha256=J8Qtskk4UEGOv0cgUnUnJ6F7mKT6Jfv-WDGOdOnKrek,1670 +PyQt5/bindings/QtWidgets/qwizard.sip,sha256=nS07oEnxU1wuHjy_BE_MyYfdape53DjRPPpmKxPIMto,7984 +PyQt5/bindings/QtWinExtras/QtWinExtras.toml,sha256=Xr93iUfIThQPhENB9yU7x45OqzE7NUmkQfkWXUjuqs4,185 +PyQt5/bindings/QtWinExtras/QtWinExtrasmod.sip,sha256=hEdt2woWtcBvuy--NxJ_Fhgd7qX9MNIjOGL2n97PUE0,2198 +PyQt5/bindings/QtWinExtras/qwinfunctions.sip,sha256=RYBN61g-rjwTYPpkn7dUxhvdiPet-JrENbeg6o3kEwk,4424 +PyQt5/bindings/QtWinExtras/qwinjumplist.sip,sha256=QbRDIqYkpqlmTya-gTCiSFRtc-oqGlNQJ4TaHE0ZY1w,2492 +PyQt5/bindings/QtWinExtras/qwinjumplistcategory.sip,sha256=M-YenVv7JlxlsRQFXLUgEK-iw4LnkDI3q1ZEbi3FuOc,2135 +PyQt5/bindings/QtWinExtras/qwinjumplistitem.sip,sha256=U_D2Lq77uTwuB5OF0d8OyrI4Vxs5gsuSX5UoIkUAWuM,1844 +PyQt5/bindings/QtWinExtras/qwintaskbarbutton.sip,sha256=FmBWxf4XL58VTxLI9bYlfMUcuK73pLrgmRidCZYkrS4,1644 +PyQt5/bindings/QtWinExtras/qwintaskbarprogress.sip,sha256=exW3vjYCocDN2-twrlFNnT6wkl3YPioDmzBwJxSHeJU,1923 +PyQt5/bindings/QtWinExtras/qwinthumbnailtoolbar.sip,sha256=7tgjCnvL0NfwEAxVKKHQlRkC7Vx_J2pBj0WpITrCpnY,2111 +PyQt5/bindings/QtWinExtras/qwinthumbnailtoolbutton.sip,sha256=B3l62CyQdxtecRDCUq4WaDkGYd7t_b1QTOyPbWv-cVk,1824 +PyQt5/bindings/QtXml/QtXml.toml,sha256=86sF4oVmRzKDMZEqzMrH3eg7ndlBJC-z4nZKiBjnpYE,179 +PyQt5/bindings/QtXml/QtXmlmod.sip,sha256=Ua0YOYKrY8upAzDD34EBt3Xv2Z6v3kVkTWgo3h8Oj9o,1986 +PyQt5/bindings/QtXml/qdom.sip,sha256=5rQabE_FcdbKwnrH0ABTahqMmfRjGNApVJwXM7n7Qe4,14855 +PyQt5/bindings/QtXml/qxml.sip,sha256=dStfEExHZFfb6aTmsRWtqlaWSVGA7uMgyEHrEDRdaH4,12460 +PyQt5/bindings/QtXmlPatterns/QtXmlPatterns.toml,sha256=ANFSImlE_KSBBeYYxrbvMh0OmGU9Ubxa9qc7UQ6WZkE,187 +PyQt5/bindings/QtXmlPatterns/QtXmlPatternsmod.sip,sha256=pUiz2O3FG0z3-4fOtJ18JSRekIEYnms9CMe9aLS2R4c,2436 +PyQt5/bindings/QtXmlPatterns/qabstractmessagehandler.sip,sha256=56cqbQDx7tJ5nrNbd9Stl7kRlnBMbBLpE55T3u4dZww,2196 +PyQt5/bindings/QtXmlPatterns/qabstracturiresolver.sip,sha256=g1qWAy8f153y4wgyb1xnOxrW001p1LHAysXR6TEN3fg,1283 +PyQt5/bindings/QtXmlPatterns/qabstractxmlnodemodel.sip,sha256=nYCPpBh_lTX8duaFkqmCgjJqVHkiEmvmOY8eZDX3zrc,4353 +PyQt5/bindings/QtXmlPatterns/qabstractxmlreceiver.sip,sha256=6NTZGfA3KbZVjem2k-yilkhzj5Kl8X26Y0EgE3vgQOo,1881 +PyQt5/bindings/QtXmlPatterns/qsimplexmlnodemodel.sip,sha256=xTn6OBOF9R0GTg6GA68PRiOeprDvLdlCe9d0jHo7etk,1619 +PyQt5/bindings/QtXmlPatterns/qsourcelocation.sip,sha256=IUc71rRDE5J2KkL_c7C3nQGNPCS1WBX5tzlt37-1rZA,1659 +PyQt5/bindings/QtXmlPatterns/qxmlformatter.sip,sha256=aYDxJDWlDdXAS_mdpIuqfi7zMFnsr5ThhTaBjyw9C7U,1779 +PyQt5/bindings/QtXmlPatterns/qxmlname.sip,sha256=VezM4I8-qy7mTk4fMM_02eDQtG3QsEN6oStRCSr1Tlo,1860 +PyQt5/bindings/QtXmlPatterns/qxmlnamepool.sip,sha256=LAB7kKK5haAXtiutFJPKeqF_hBP1CMDTMpoEJVRJ0zY,1157 +PyQt5/bindings/QtXmlPatterns/qxmlquery.sip,sha256=rrHy3L-Ywayb_8zHv957F2HKQNy2wvgh4pcaVXTnIp0,4503 +PyQt5/bindings/QtXmlPatterns/qxmlresultitems.sip,sha256=gWOCXm8HNAn5aIc6iwUcsn4DGQR4VndsBivgpAT8WtU,1274 +PyQt5/bindings/QtXmlPatterns/qxmlschema.sip,sha256=3IIryJVVD0Hw4v1GeZutmMNVBcx-LrCV-A0NM9R7gik,1928 +PyQt5/bindings/QtXmlPatterns/qxmlschemavalidator.sip,sha256=tVmwLc5QUEZH_csVBN3-wynprLVfgAwCfsst25PTSCk,2485 +PyQt5/bindings/QtXmlPatterns/qxmlserializer.sip,sha256=x0tVpYrSLZM2lyIEj3J365JeB6HqsSOfyhf0tIL1hh4,1905 +PyQt5/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +PyQt5/pylupdate.pyd,sha256=rx2lG2SFqX37mfN7cxJKwFjF6TsCAZK0hWUCvbqEt8I,116224 +PyQt5/pylupdate_main.py,sha256=TTb7HCt89OLoR_TiGq77CZSnY6JPy5cxvxVOrGWWtrc,7620 +PyQt5/pyrcc.pyd,sha256=jdjIZEZkkH42q4QC7F9Ihx6QcOZGV-wEdk6JDmYllog,49152 +PyQt5/pyrcc_main.py,sha256=XegX9hO-ed_pOMutcnj_UAD0dQf8RV4Efe8cQQFi6_k,5558 +PyQt5/sip.pyi,sha256=zYqshTi3mq7gFSUuKKY2DiuhwMLu5lCD1xZiP8A60u4,3639 +PyQt5/uic/Compiler/__init__.py,sha256=n8PH54jpwQxfjzJFSClsa3eYX9tGS8Hov6KmNxUclKI,1024 +PyQt5/uic/Compiler/__pycache__/__init__.cpython-37.pyc,, +PyQt5/uic/Compiler/__pycache__/compiler.cpython-37.pyc,, +PyQt5/uic/Compiler/__pycache__/indenter.cpython-37.pyc,, +PyQt5/uic/Compiler/__pycache__/misc.cpython-37.pyc,, +PyQt5/uic/Compiler/__pycache__/proxy_metaclass.cpython-37.pyc,, +PyQt5/uic/Compiler/__pycache__/qobjectcreator.cpython-37.pyc,, +PyQt5/uic/Compiler/__pycache__/qtproxies.cpython-37.pyc,, +PyQt5/uic/Compiler/compiler.py,sha256=THKgZNBUh198NkAh1hLHPsDEMeSLRdOiEKFNvVKfv14,4768 +PyQt5/uic/Compiler/indenter.py,sha256=Z2NZ9Koezh5UjmTAsA0tw4IO3rczWYi0okT4pT4M-X8,2819 +PyQt5/uic/Compiler/misc.py,sha256=Wytpj0Y0TUiLdB2JIot3-UdtOJnpo-mnKF9OWQpTCu4,2433 +PyQt5/uic/Compiler/proxy_metaclass.py,sha256=ou_MjXc_yCksa7cFCVUU3ap7FuqJ2XcoWkxXuc4z90c,4424 +PyQt5/uic/Compiler/qobjectcreator.py,sha256=aQjKwR_EXjAhMHR8f9xWcYniDqcgPdMTWwlV8gIBgCs,6083 +PyQt5/uic/Compiler/qtproxies.py,sha256=Ie9yPzHtnzuT_0dNx8JxBJGkKb-AGzm0WVmLcLnPYBg,16785 +PyQt5/uic/Loader/__init__.py,sha256=n8PH54jpwQxfjzJFSClsa3eYX9tGS8Hov6KmNxUclKI,1024 +PyQt5/uic/Loader/__pycache__/__init__.cpython-37.pyc,, +PyQt5/uic/Loader/__pycache__/loader.cpython-37.pyc,, +PyQt5/uic/Loader/__pycache__/qobjectcreator.cpython-37.pyc,, +PyQt5/uic/Loader/loader.py,sha256=IafHQG6x-dNDeTlgnk1NRKYo2WolIpp2wiIWVvi2Ngc,2924 +PyQt5/uic/Loader/qobjectcreator.py,sha256=AhFPTityPrbXXvE5qT80RL-1HQm_G5za8k2dIaik0s0,5172 +PyQt5/uic/__init__.py,sha256=vLZ9hk0Q1xNbu_eRSMsW5Fh5MO0luSwGgNzv1-Jvmqk,9749 +PyQt5/uic/__pycache__/__init__.cpython-37.pyc,, +PyQt5/uic/__pycache__/driver.cpython-37.pyc,, +PyQt5/uic/__pycache__/exceptions.cpython-37.pyc,, +PyQt5/uic/__pycache__/icon_cache.cpython-37.pyc,, +PyQt5/uic/__pycache__/objcreator.cpython-37.pyc,, +PyQt5/uic/__pycache__/properties.cpython-37.pyc,, +PyQt5/uic/__pycache__/pyuic.cpython-37.pyc,, +PyQt5/uic/__pycache__/uiparser.cpython-37.pyc,, +PyQt5/uic/driver.py,sha256=-r8KlpUJcr17DD8wjP4maKx4mDwly10u9TYJEtdPIp4,4797 +PyQt5/uic/exceptions.py,sha256=UNMuvcB7CGpzo5xiscd4XkIBGDdFeVRefMAAEbnDFQI,2332 +PyQt5/uic/icon_cache.py,sha256=tH5wNnxUEyvgdJ4ByelA9k4kCg4qxPm6qiAj_0GM9xY,5181 +PyQt5/uic/objcreator.py,sha256=OBi31Sd9nUSz1N_-Zd0MVhizaBxQhVH_6HgXYW2hwKE,6133 +PyQt5/uic/port_v2/__init__.py,sha256=n8PH54jpwQxfjzJFSClsa3eYX9tGS8Hov6KmNxUclKI,1024 +PyQt5/uic/port_v2/__pycache__/__init__.cpython-37.pyc,, +PyQt5/uic/port_v2/__pycache__/as_string.cpython-37.pyc,, +PyQt5/uic/port_v2/__pycache__/ascii_upper.cpython-37.pyc,, +PyQt5/uic/port_v2/__pycache__/proxy_base.cpython-37.pyc,, +PyQt5/uic/port_v2/__pycache__/string_io.cpython-37.pyc,, +PyQt5/uic/port_v2/as_string.py,sha256=hY4SmHGsMvyqyaXJx2TTyPKJvC8VLi9muyms3RLZxYM,1475 +PyQt5/uic/port_v2/ascii_upper.py,sha256=ETEfVt9OTue_8nZhT_gZkG5xRUoVOK9e93RNuplWmmM,1358 +PyQt5/uic/port_v2/proxy_base.py,sha256=nEW9uYRgPwd2XhJASVW72YGkgc-auRP8rXPhiUI8atY,1250 +PyQt5/uic/port_v2/string_io.py,sha256=AUCjtEQP_JBdpdlNjfgH-nBAjHGIqIodMJ9JNxev9JY,1157 +PyQt5/uic/port_v3/__init__.py,sha256=n8PH54jpwQxfjzJFSClsa3eYX9tGS8Hov6KmNxUclKI,1024 +PyQt5/uic/port_v3/__pycache__/__init__.cpython-37.pyc,, +PyQt5/uic/port_v3/__pycache__/as_string.cpython-37.pyc,, +PyQt5/uic/port_v3/__pycache__/ascii_upper.cpython-37.pyc,, +PyQt5/uic/port_v3/__pycache__/proxy_base.cpython-37.pyc,, +PyQt5/uic/port_v3/__pycache__/string_io.cpython-37.pyc,, +PyQt5/uic/port_v3/as_string.py,sha256=VE5Yy7KtSuEJZr7-3P5-sF-hi7fHZEbs-orV8Q7L9eA,1452 +PyQt5/uic/port_v3/ascii_upper.py,sha256=8WlrDvrYwbwiAT7wdeMrHIwza9qxBE_YS4f9H4DIVdc,1352 +PyQt5/uic/port_v3/proxy_base.py,sha256=f1IQqeX8f_duiMY9zLhNRQ_VF99drQKhsToaxzVOWfc,1230 +PyQt5/uic/port_v3/string_io.py,sha256=tLeo02pkGHPtzVKIsSQI9jhCXCq1f9ojsRMrjdr9EVU,1084 +PyQt5/uic/properties.py,sha256=3x91MRS8UAloXsLhXW8-_D98IhCWOe2ukyKp2UDj7T4,18284 +PyQt5/uic/pyuic.py,sha256=5dGHLs0l8skCaTgUyyzMexVUjL36zRUFux-uTO5N9vA,3646 +PyQt5/uic/uiparser.py,sha256=XJ_JpQr_6UrLMHT82SZ7LhioVcPDw-bEmWgqgJsKSRI,39202 +PyQt5/uic/widget-plugins/__pycache__/qaxcontainer.cpython-37.pyc,, +PyQt5/uic/widget-plugins/__pycache__/qscintilla.cpython-37.pyc,, +PyQt5/uic/widget-plugins/__pycache__/qtcharts.cpython-37.pyc,, +PyQt5/uic/widget-plugins/__pycache__/qtprintsupport.cpython-37.pyc,, +PyQt5/uic/widget-plugins/__pycache__/qtquickwidgets.cpython-37.pyc,, +PyQt5/uic/widget-plugins/__pycache__/qtwebenginewidgets.cpython-37.pyc,, +PyQt5/uic/widget-plugins/__pycache__/qtwebkit.cpython-37.pyc,, +PyQt5/uic/widget-plugins/qaxcontainer.py,sha256=mB8Qvob1p4DWmLPR2InGB3ThmIKo4aZ40e1QHWclagw,1590 +PyQt5/uic/widget-plugins/qscintilla.py,sha256=MaejAePN1q0spV_fXWtVmLe26-B7eTqzKhjVKedNXs0,1586 +PyQt5/uic/widget-plugins/qtcharts.py,sha256=jo_nWqxRNphb4CdSux4yRVm2jrbJ20hoD5Ux5iryLjY,1595 +PyQt5/uic/widget-plugins/qtprintsupport.py,sha256=Wwcs3IFh-8NAZ0MHezkuEWgc6CtgXRQcJKwBjWIp_L0,1621 +PyQt5/uic/widget-plugins/qtquickwidgets.py,sha256=IN5K9ayCjP2sSDUa35-0DhvVJkRMfArDpH55u6C8zzc,1595 +PyQt5/uic/widget-plugins/qtwebenginewidgets.py,sha256=Pt3RVxpq_hp7RFLgQW2HcyoC0qhs9GEv-eMVnlbAZi0,1601 +PyQt5/uic/widget-plugins/qtwebkit.py,sha256=nnByrPhnew7v8mfS502IXU5fE3XghYouMzBn0GtGXUo,2558 diff --git a/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/REQUESTED b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/REQUESTED new file mode 100644 index 00000000..e69de29b diff --git a/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/WHEEL b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/WHEEL new file mode 100644 index 00000000..8f3dba04 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/WHEEL @@ -0,0 +1,4 @@ +Wheel-Version: 1.0 +Generator: sip-wheel 6.4.0 +Root-Is-Purelib: false +Tag: cp36-abi3-win_amd64 diff --git a/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/entry_points.txt b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/entry_points.txt new file mode 100644 index 00000000..8d1e5345 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5-5.15.6.dist-info/entry_points.txt @@ -0,0 +1,4 @@ +[console_scripts] +pylupdate5=PyQt5.pylupdate_main:main +pyrcc5=PyQt5.pyrcc_main:main +pyuic5=PyQt5.uic.pyuic:main diff --git a/OTHERS/Jarvis/ools/PyQt5/QAxContainer.pyi b/OTHERS/Jarvis/ools/PyQt5/QAxContainer.pyi new file mode 100644 index 00000000..542bca33 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QAxContainer.pyi @@ -0,0 +1,105 @@ +# The PEP 484 type hints stub file for the QAxContainer module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QAxBase(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAxBase') -> None: ... + + def setClassContext(self, classContext: int) -> None: ... + def classContext(self) -> int: ... + def disableEventSink(self) -> None: ... + def disableClassInfo(self) -> None: ... + def disableMetaObject(self) -> None: ... + def setControl(self, a0: str) -> bool: ... + def clear(self) -> None: ... + def exception(self, a0: int, a1: str, a2: str, a3: str) -> None: ... + def propertyChanged(self, a0: str) -> None: ... + def signal(self, a0: str, a1: int, a2: PyQt5.sip.voidptr) -> None: ... + def asVariant(self) -> typing.Any: ... + def verbs(self) -> typing.List[str]: ... + def isNull(self) -> bool: ... + def setPropertyWritable(self, a0: str, a1: bool) -> None: ... + def propertyWritable(self, a0: str) -> bool: ... + def generateDocumentation(self) -> str: ... + def setPropertyBag(self, a0: typing.Dict[str, typing.Any]) -> None: ... + def propertyBag(self) -> typing.Dict[str, typing.Any]: ... + @typing.overload + def querySubObject(self, a0: str, a1: typing.Iterable[typing.Any]) -> 'QAxObject': ... + @typing.overload + def querySubObject(self, a0: str, value1: typing.Any = ..., value2: typing.Any = ..., value3: typing.Any = ..., value4: typing.Any = ..., value5: typing.Any = ..., value6: typing.Any = ..., value7: typing.Any = ..., value8: typing.Any = ...) -> 'QAxObject': ... + @typing.overload + def dynamicCall(self, a0: str, a1: typing.Iterable[typing.Any]) -> typing.Any: ... + @typing.overload + def dynamicCall(self, a0: str, value1: typing.Any = ..., value2: typing.Any = ..., value3: typing.Any = ..., value4: typing.Any = ..., value5: typing.Any = ..., value6: typing.Any = ..., value7: typing.Any = ..., value8: typing.Any = ...) -> typing.Any: ... + def control(self) -> str: ... + + +class QAxObject(QtCore.QObject, QAxBase): + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, a0: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ... + def doVerb(self, a0: str) -> bool: ... + + +class QAxWidget(QtWidgets.QWidget, QAxBase): + + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, a0: str, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ... + def translateKeyEvent(self, a0: int, a1: int) -> bool: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def createHostWindow(self, a0: bool) -> bool: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def doVerb(self, a0: str) -> bool: ... + def clear(self) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Bluetooth.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Bluetooth.dll new file mode 100644 index 00000000..0a3f57ef Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Bluetooth.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Core.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Core.dll new file mode 100644 index 00000000..40e8de13 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Core.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5DBus.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5DBus.dll new file mode 100644 index 00000000..e06ebf30 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5DBus.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Designer.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Designer.dll new file mode 100644 index 00000000..5330922f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Designer.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Gui.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Gui.dll new file mode 100644 index 00000000..bf38dda9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Gui.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Help.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Help.dll new file mode 100644 index 00000000..a3eccb60 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Help.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Location.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Location.dll new file mode 100644 index 00000000..c04b8584 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Location.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Multimedia.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Multimedia.dll new file mode 100644 index 00000000..f4ea511e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Multimedia.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5MultimediaWidgets.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5MultimediaWidgets.dll new file mode 100644 index 00000000..4bf62eec Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5MultimediaWidgets.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Network.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Network.dll new file mode 100644 index 00000000..d32644d4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Network.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Nfc.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Nfc.dll new file mode 100644 index 00000000..8e3c2764 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Nfc.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5OpenGL.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5OpenGL.dll new file mode 100644 index 00000000..e8187b3b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5OpenGL.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Positioning.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Positioning.dll new file mode 100644 index 00000000..ec9e17de Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Positioning.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5PositioningQuick.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5PositioningQuick.dll new file mode 100644 index 00000000..b78237f2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5PositioningQuick.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5PrintSupport.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5PrintSupport.dll new file mode 100644 index 00000000..de4c30b8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5PrintSupport.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Qml.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Qml.dll new file mode 100644 index 00000000..7c2e538a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Qml.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QmlModels.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QmlModels.dll new file mode 100644 index 00000000..a0497d3c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QmlModels.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QmlWorkerScript.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QmlWorkerScript.dll new file mode 100644 index 00000000..c01c0a05 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QmlWorkerScript.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick.dll new file mode 100644 index 00000000..4ff0bc60 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3D.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3D.dll new file mode 100644 index 00000000..67fdb366 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3D.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DAssetImport.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DAssetImport.dll new file mode 100644 index 00000000..47ac4a11 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DAssetImport.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DRender.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DRender.dll new file mode 100644 index 00000000..dff2d76d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DRender.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DRuntimeRender.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DRuntimeRender.dll new file mode 100644 index 00000000..fca80ef7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DRuntimeRender.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DUtils.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DUtils.dll new file mode 100644 index 00000000..d4edd7e5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Quick3DUtils.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickControls2.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickControls2.dll new file mode 100644 index 00000000..03df6ea0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickControls2.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickParticles.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickParticles.dll new file mode 100644 index 00000000..82dbea70 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickParticles.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickShapes.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickShapes.dll new file mode 100644 index 00000000..0c332736 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickShapes.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickTemplates2.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickTemplates2.dll new file mode 100644 index 00000000..2a7c3f62 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickTemplates2.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickTest.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickTest.dll new file mode 100644 index 00000000..0b10518b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickTest.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickWidgets.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickWidgets.dll new file mode 100644 index 00000000..11214e85 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5QuickWidgets.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5RemoteObjects.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5RemoteObjects.dll new file mode 100644 index 00000000..52ba5d15 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5RemoteObjects.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Sensors.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Sensors.dll new file mode 100644 index 00000000..aa537bd9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Sensors.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5SerialPort.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5SerialPort.dll new file mode 100644 index 00000000..b72028e0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5SerialPort.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Sql.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Sql.dll new file mode 100644 index 00000000..5fb5f0df Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Sql.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Svg.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Svg.dll new file mode 100644 index 00000000..edfbf4ac Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Svg.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Test.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Test.dll new file mode 100644 index 00000000..e3db0056 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Test.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5TextToSpeech.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5TextToSpeech.dll new file mode 100644 index 00000000..4cecb655 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5TextToSpeech.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebChannel.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebChannel.dll new file mode 100644 index 00000000..a14cff68 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebChannel.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebSockets.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebSockets.dll new file mode 100644 index 00000000..1b21504b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebSockets.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebView.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebView.dll new file mode 100644 index 00000000..16bbdab0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WebView.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Widgets.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Widgets.dll new file mode 100644 index 00000000..80ae4e3f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Widgets.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WinExtras.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WinExtras.dll new file mode 100644 index 00000000..906e8542 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5WinExtras.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Xml.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Xml.dll new file mode 100644 index 00000000..2c685acc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5Xml.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5XmlPatterns.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5XmlPatterns.dll new file mode 100644 index 00000000..96f5a370 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/Qt5XmlPatterns.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/concrt140.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/concrt140.dll new file mode 100644 index 00000000..cd412ea8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/concrt140.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/d3dcompiler_47.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/d3dcompiler_47.dll new file mode 100644 index 00000000..56512f56 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/d3dcompiler_47.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libEGL.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libEGL.dll new file mode 100644 index 00000000..e910cc99 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libEGL.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libGLESv2.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libGLESv2.dll new file mode 100644 index 00000000..d357182b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libGLESv2.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libcrypto-1_1-x64.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libcrypto-1_1-x64.dll new file mode 100644 index 00000000..eb3dfea4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libcrypto-1_1-x64.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libeay32.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libeay32.dll new file mode 100644 index 00000000..6cefeb1b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libeay32.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libssl-1_1-x64.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libssl-1_1-x64.dll new file mode 100644 index 00000000..e81c5cc9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/libssl-1_1-x64.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140.dll new file mode 100644 index 00000000..4fec76d7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140_1.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140_1.dll new file mode 100644 index 00000000..a4cae473 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140_1.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140_2.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140_2.dll new file mode 100644 index 00000000..72cd7732 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/msvcp140_2.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/opengl32sw.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/opengl32sw.dll new file mode 100644 index 00000000..475e82a4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/opengl32sw.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/ssleay32.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/ssleay32.dll new file mode 100644 index 00000000..0276bba1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/ssleay32.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/vcruntime140.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/vcruntime140.dll new file mode 100644 index 00000000..459166dc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/vcruntime140.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/vcruntime140_1.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/vcruntime140_1.dll new file mode 100644 index 00000000..fc7bad4d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/bin/vcruntime140_1.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/assetimporters/assimp.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/assetimporters/assimp.dll new file mode 100644 index 00000000..ed96734d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/assetimporters/assimp.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/assetimporters/uip.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/assetimporters/uip.dll new file mode 100644 index 00000000..50738c3a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/assetimporters/uip.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/audio/qtaudio_wasapi.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/audio/qtaudio_wasapi.dll new file mode 100644 index 00000000..fe63f63e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/audio/qtaudio_wasapi.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/audio/qtaudio_windows.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/audio/qtaudio_windows.dll new file mode 100644 index 00000000..f037533d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/audio/qtaudio_windows.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/bearer/qgenericbearer.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/bearer/qgenericbearer.dll new file mode 100644 index 00000000..56305142 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/bearer/qgenericbearer.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/generic/qtuiotouchplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/generic/qtuiotouchplugin.dll new file mode 100644 index 00000000..67275c55 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/generic/qtuiotouchplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geometryloaders/defaultgeometryloader.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geometryloaders/defaultgeometryloader.dll new file mode 100644 index 00000000..7c9759fd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geometryloaders/defaultgeometryloader.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geometryloaders/gltfgeometryloader.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geometryloaders/gltfgeometryloader.dll new file mode 100644 index 00000000..8c88a1c7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geometryloaders/gltfgeometryloader.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_esri.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_esri.dll new file mode 100644 index 00000000..1be64ac6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_esri.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_itemsoverlay.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_itemsoverlay.dll new file mode 100644 index 00000000..78349247 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_itemsoverlay.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_mapbox.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_mapbox.dll new file mode 100644 index 00000000..30546f23 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_mapbox.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_nokia.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_nokia.dll new file mode 100644 index 00000000..3913bf89 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_nokia.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_osm.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_osm.dll new file mode 100644 index 00000000..03c7809f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/geoservices/qtgeoservices_osm.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/iconengines/qsvgicon.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/iconengines/qsvgicon.dll new file mode 100644 index 00000000..cbca63c2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/iconengines/qsvgicon.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qgif.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qgif.dll new file mode 100644 index 00000000..b6e56585 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qgif.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qicns.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qicns.dll new file mode 100644 index 00000000..5b4365f4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qicns.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qico.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qico.dll new file mode 100644 index 00000000..d89a6378 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qico.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qjpeg.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qjpeg.dll new file mode 100644 index 00000000..98cdf951 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qjpeg.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qsvg.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qsvg.dll new file mode 100644 index 00000000..c6b732ba Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qsvg.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qtga.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qtga.dll new file mode 100644 index 00000000..d4f77f89 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qtga.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qtiff.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qtiff.dll new file mode 100644 index 00000000..43cbc0c4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qtiff.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qwbmp.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qwbmp.dll new file mode 100644 index 00000000..e1dc12c2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qwbmp.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qwebp.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qwebp.dll new file mode 100644 index 00000000..3c49ed86 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/imageformats/qwebp.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/dsengine.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/dsengine.dll new file mode 100644 index 00000000..2f5bcc76 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/dsengine.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/qtmedia_audioengine.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/qtmedia_audioengine.dll new file mode 100644 index 00000000..adcf5bcc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/qtmedia_audioengine.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/wmfengine.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/wmfengine.dll new file mode 100644 index 00000000..c7aa07e8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/mediaservice/wmfengine.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qminimal.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qminimal.dll new file mode 100644 index 00000000..c4bcfd89 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qminimal.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qoffscreen.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qoffscreen.dll new file mode 100644 index 00000000..ad297839 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qoffscreen.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qwebgl.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qwebgl.dll new file mode 100644 index 00000000..5f317e50 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qwebgl.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qwindows.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qwindows.dll new file mode 100644 index 00000000..e9c319d1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platforms/qwindows.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platformthemes/qxdgdesktopportal.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platformthemes/qxdgdesktopportal.dll new file mode 100644 index 00000000..34c02318 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/platformthemes/qxdgdesktopportal.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/playlistformats/qtmultimedia_m3u.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/playlistformats/qtmultimedia_m3u.dll new file mode 100644 index 00000000..17e2d89f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/playlistformats/qtmultimedia_m3u.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_positionpoll.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_positionpoll.dll new file mode 100644 index 00000000..1c5f7d45 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_positionpoll.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_serialnmea.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_serialnmea.dll new file mode 100644 index 00000000..3458b8b6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_serialnmea.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_winrt.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_winrt.dll new file mode 100644 index 00000000..faf88d80 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/position/qtposition_winrt.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/printsupport/windowsprintersupport.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/printsupport/windowsprintersupport.dll new file mode 100644 index 00000000..2e501718 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/printsupport/windowsprintersupport.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/renderers/openglrenderer.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/renderers/openglrenderer.dll new file mode 100644 index 00000000..4b7c7ac7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/renderers/openglrenderer.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sceneparsers/gltfsceneexport.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sceneparsers/gltfsceneexport.dll new file mode 100644 index 00000000..f074e19f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sceneparsers/gltfsceneexport.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sceneparsers/gltfsceneimport.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sceneparsers/gltfsceneimport.dll new file mode 100644 index 00000000..fd809209 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sceneparsers/gltfsceneimport.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_plugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_plugin.dll new file mode 100644 index 00000000..9706a62e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_plugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_shakeplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_shakeplugin.dll new file mode 100644 index 00000000..58e73bd7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_shakeplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensors/qtsensors_generic.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensors/qtsensors_generic.dll new file mode 100644 index 00000000..1c1263f7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sensors/qtsensors_generic.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlite.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlite.dll new file mode 100644 index 00000000..1d1b2006 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlite.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlodbc.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlodbc.dll new file mode 100644 index 00000000..ee0620ed Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlodbc.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlpsql.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlpsql.dll new file mode 100644 index 00000000..2ddeb7b8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/sqldrivers/qsqlpsql.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/styles/qwindowsvistastyle.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/styles/qwindowsvistastyle.dll new file mode 100644 index 00000000..c97acd62 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/styles/qwindowsvistastyle.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/texttospeech/qtexttospeech_sapi.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/texttospeech/qtexttospeech_sapi.dll new file mode 100644 index 00000000..c0d42b54 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/texttospeech/qtexttospeech_sapi.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/webview/qtwebview_webengine.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/webview/qtwebview_webengine.dll new file mode 100644 index 00000000..8603465e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/plugins/webview/qtwebview_webengine.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/WebSockets/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/WebSockets/qmldir new file mode 100644 index 00000000..a4310d92 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/WebSockets/qmldir @@ -0,0 +1,4 @@ +module Qt.WebSockets +plugin declarative_qmlwebsockets ../../QtWebSockets/ +classname QtWebSocketsDeclarativeModule +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/labsanimationplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/labsanimationplugin.dll new file mode 100644 index 00000000..c208a8e1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/labsanimationplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/plugins.qmltypes new file mode 100644 index 00000000..7b6112b7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/plugins.qmltypes @@ -0,0 +1,34 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + file: "qquickboundaryrule_p.h" + name: "QQuickBoundaryRule" + prototype: "QObject" + exports: ["Qt.labs.animation/BoundaryRule 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "OvershootFilter" + values: ["None", "Peak"] + } + Property { name: "enabled"; type: "bool" } + Property { name: "minimum"; type: "double" } + Property { name: "minimumOvershoot"; type: "double" } + Property { name: "maximum"; type: "double" } + Property { name: "maximumOvershoot"; type: "double" } + Property { name: "overshootScale"; type: "double" } + Property { name: "currentOvershoot"; type: "double"; isReadonly: true } + Property { name: "peakOvershoot"; type: "double"; isReadonly: true } + Property { name: "overshootFilter"; type: "OvershootFilter" } + Property { name: "easing"; type: "QEasingCurve" } + Property { name: "returnDuration"; type: "int" } + Method { name: "componentFinalized" } + Method { name: "returnToBounds"; type: "bool" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/qmldir new file mode 100644 index 00000000..b24fc98b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/animation/qmldir @@ -0,0 +1,3 @@ +module Qt.labs.animation +plugin labsanimationplugin +classname QtLabsAnimationPlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qml new file mode 100644 index 00000000..2fc0d6f7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qml @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Labs Calendar module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import Qt.labs.calendar 1.0 + +AbstractDayOfWeekRow { + id: control + + implicitWidth: Math.max(background ? background.implicitWidth : 0, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(background ? background.implicitHeight : 0, + contentItem.implicitHeight + topPadding + bottomPadding) + + spacing: 6 + topPadding: 6 + bottomPadding: 6 + font.bold: true + + //! [delegate] + delegate: Text { + text: model.shortName + font: control.font + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + //! [delegate] + + //! [contentItem] + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.source + delegate: control.delegate + } + } + //! [contentItem] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qmlc new file mode 100644 index 00000000..f327499f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qml new file mode 100644 index 00000000..884ce65f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qml @@ -0,0 +1,73 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Labs Calendar module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import Qt.labs.calendar 1.0 + +AbstractMonthGrid { + id: control + + implicitWidth: Math.max(background ? background.implicitWidth : 0, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(background ? background.implicitHeight : 0, + contentItem.implicitHeight + topPadding + bottomPadding) + + spacing: 6 + + //! [delegate] + delegate: Text { + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + opacity: model.month === control.month ? 1 : 0 + text: model.day + font: control.font + } + //! [delegate] + + //! [contentItem] + contentItem: Grid { + rows: 6 + columns: 7 + rowSpacing: control.spacing + columnSpacing: control.spacing + + Repeater { + model: control.source + delegate: control.delegate + } + } + //! [contentItem] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qmlc new file mode 100644 index 00000000..b001dc75 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/WeekNumberColumn.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/WeekNumberColumn.qml new file mode 100644 index 00000000..e2c9d98b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/WeekNumberColumn.qml @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Labs Calendar module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import Qt.labs.calendar 1.0 + +AbstractWeekNumberColumn { + id: control + + implicitWidth: Math.max(background ? background.implicitWidth : 0, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(background ? background.implicitHeight : 0, + contentItem.implicitHeight + topPadding + bottomPadding) + + spacing: 6 + leftPadding: 6 + rightPadding: 6 + font.bold: true + + //! [delegate] + delegate: Text { + text: model.weekNumber + font: control.font + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + //! [delegate] + + //! [contentItem] + contentItem: Column { + spacing: control.spacing + Repeater { + model: control.source + delegate: control.delegate + } + } + //! [contentItem] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/WeekNumberColumn.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/WeekNumberColumn.qmlc new file mode 100644 index 00000000..377d274f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/WeekNumberColumn.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/plugins.qmltypes new file mode 100644 index 00000000..e004d63d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/plugins.qmltypes @@ -0,0 +1,435 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable Qt.labs.calendar 1.0' + +Module { + dependencies: ["QtQuick 2.12"] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: { + "NoLayoutChangeHint": 0, + "VerticalSortHint": 1, + "HorizontalSortHint": 2 + } + } + Enum { + name: "CheckIndexOption" + values: { + "NoOption": 0, + "IndexIsValid": 1, + "DoNotUseParent": 2, + "ParentIsInvalid": 4 + } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + name: "QQuickCalendar" + prototype: "QObject" + exports: ["Qt.labs.calendar/Calendar 1.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Enum { + name: "Month" + values: { + "January": 0, + "February": 1, + "March": 2, + "April": 3, + "May": 4, + "June": 5, + "July": 6, + "August": 7, + "September": 8, + "October": 9, + "November": 10, + "December": 11 + } + } + } + Component { + name: "QQuickCalendarModel" + prototype: "QAbstractListModel" + exports: ["Qt.labs.calendar/CalendarModel 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "from"; type: "QDate" } + Property { name: "to"; type: "QDate" } + Property { name: "count"; type: "int"; isReadonly: true } + Method { + name: "monthAt" + type: "int" + Parameter { name: "index"; type: "int" } + } + Method { + name: "yearAt" + type: "int" + Parameter { name: "index"; type: "int" } + } + Method { + name: "indexOf" + type: "int" + Parameter { name: "date"; type: "QDate" } + } + Method { + name: "indexOf" + type: "int" + Parameter { name: "year"; type: "int" } + Parameter { name: "month"; type: "int" } + } + } + Component { + name: "QQuickControl" + defaultProperty: "data" + prototype: "QQuickItem" + Property { name: "font"; type: "QFont" } + Property { name: "availableWidth"; type: "double"; isReadonly: true } + Property { name: "availableHeight"; type: "double"; isReadonly: true } + Property { name: "padding"; type: "double" } + Property { name: "topPadding"; type: "double" } + Property { name: "leftPadding"; type: "double" } + Property { name: "rightPadding"; type: "double" } + Property { name: "bottomPadding"; type: "double" } + Property { name: "spacing"; type: "double" } + Property { name: "locale"; type: "QLocale" } + Property { name: "mirrored"; type: "bool"; isReadonly: true } + Property { name: "focusPolicy"; type: "Qt::FocusPolicy" } + Property { name: "focusReason"; type: "Qt::FocusReason" } + Property { name: "visualFocus"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "hoverEnabled"; type: "bool" } + Property { name: "wheelEnabled"; type: "bool" } + Property { name: "background"; type: "QQuickItem"; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "baselineOffset"; type: "double" } + Property { name: "palette"; revision: 3; type: "QPalette" } + Property { name: "horizontalPadding"; revision: 5; type: "double" } + Property { name: "verticalPadding"; revision: 5; type: "double" } + Property { name: "implicitContentWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitContentHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "topInset"; revision: 5; type: "double" } + Property { name: "leftInset"; revision: 5; type: "double" } + Property { name: "rightInset"; revision: 5; type: "double" } + Property { name: "bottomInset"; revision: 5; type: "double" } + Signal { name: "paletteChanged"; revision: 3 } + Signal { name: "horizontalPaddingChanged"; revision: 5 } + Signal { name: "verticalPaddingChanged"; revision: 5 } + Signal { name: "implicitContentWidthChanged"; revision: 5 } + Signal { name: "implicitContentHeightChanged"; revision: 5 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } + Signal { name: "topInsetChanged"; revision: 5 } + Signal { name: "leftInsetChanged"; revision: 5 } + Signal { name: "rightInsetChanged"; revision: 5 } + Signal { name: "bottomInsetChanged"; revision: 5 } + } + Component { + name: "QQuickDayOfWeekRow" + defaultProperty: "data" + prototype: "QQuickControl" + exports: ["Qt.labs.calendar/AbstractDayOfWeekRow 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "source"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + } + Component { + name: "QQuickMonthGrid" + defaultProperty: "data" + prototype: "QQuickControl" + exports: ["Qt.labs.calendar/AbstractMonthGrid 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "month"; type: "int" } + Property { name: "year"; type: "int" } + Property { name: "source"; type: "QVariant" } + Property { name: "title"; type: "string" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Signal { + name: "pressed" + Parameter { name: "date"; type: "QDate" } + } + Signal { + name: "released" + Parameter { name: "date"; type: "QDate" } + } + Signal { + name: "clicked" + Parameter { name: "date"; type: "QDate" } + } + Signal { + name: "pressAndHold" + Parameter { name: "date"; type: "QDate" } + } + } + Component { + name: "QQuickWeekNumberColumn" + defaultProperty: "data" + prototype: "QQuickControl" + exports: ["Qt.labs.calendar/AbstractWeekNumberColumn 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "month"; type: "int" } + Property { name: "year"; type: "int" } + Property { name: "source"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/qmldir new file mode 100644 index 00000000..9b9e9031 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/qmldir @@ -0,0 +1,6 @@ +module Qt.labs.calendar +plugin qtlabscalendarplugin +classname QtLabsCalendarPlugin +DayOfWeekRow 1.0 DayOfWeekRow.qml +MonthGrid 1.0 MonthGrid.qml +WeekNumberColumn 1.0 WeekNumberColumn.qml diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/qtlabscalendarplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/qtlabscalendarplugin.dll new file mode 100644 index 00000000..e65ddd49 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/calendar/qtlabscalendarplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/plugins.qmltypes new file mode 100644 index 00000000..6e2a721d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/plugins.qmltypes @@ -0,0 +1,361 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: [ + "NoLayoutChangeHint", + "VerticalSortHint", + "HorizontalSortHint" + ] + } + Enum { + name: "CheckIndexOption" + values: [ + "NoOption", + "IndexIsValid", + "DoNotUseParent", + "ParentIsInvalid" + ] + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { name: "resetInternalData" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + file: "qquickfolderlistmodel.h" + name: "QQuickFolderListModel" + prototype: "QAbstractListModel" + exports: [ + "Qt.labs.folderlistmodel/FolderListModel 2.0", + "Qt.labs.folderlistmodel/FolderListModel 2.1", + "Qt.labs.folderlistmodel/FolderListModel 2.11", + "Qt.labs.folderlistmodel/FolderListModel 2.12", + "Qt.labs.folderlistmodel/FolderListModel 2.2" + ] + exportMetaObjectRevisions: [0, 1, 11, 12, 2] + Enum { + name: "SortField" + values: ["Unsorted", "Name", "Time", "Size", "Type"] + } + Enum { + name: "Status" + values: ["Null", "Ready", "Loading"] + } + Property { name: "folder"; type: "QUrl" } + Property { name: "rootFolder"; type: "QUrl" } + Property { name: "parentFolder"; type: "QUrl"; isReadonly: true } + Property { name: "nameFilters"; type: "QStringList" } + Property { name: "sortField"; type: "SortField" } + Property { name: "sortReversed"; type: "bool" } + Property { name: "showFiles"; revision: 1; type: "bool" } + Property { name: "showDirs"; type: "bool" } + Property { name: "showDirsFirst"; type: "bool" } + Property { name: "showDotAndDotDot"; type: "bool" } + Property { name: "showHidden"; revision: 1; type: "bool" } + Property { name: "showOnlyReadable"; type: "bool" } + Property { name: "caseSensitive"; revision: 2; type: "bool" } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "status"; revision: 11; type: "Status"; isReadonly: true } + Property { name: "sortCaseSensitive"; revision: 12; type: "bool" } + Signal { name: "rowCountChanged" } + Signal { name: "countChanged"; revision: 1 } + Signal { name: "statusChanged"; revision: 11 } + Method { + name: "_q_directoryChanged" + Parameter { name: "directory"; type: "string" } + Parameter { name: "list"; type: "QList" } + } + Method { + name: "_q_directoryUpdated" + Parameter { name: "directory"; type: "string" } + Parameter { name: "list"; type: "QList" } + Parameter { name: "fromIndex"; type: "int" } + Parameter { name: "toIndex"; type: "int" } + } + Method { + name: "_q_sortFinished" + Parameter { name: "list"; type: "QList" } + } + Method { + name: "_q_statusChanged" + Parameter { name: "s"; type: "QQuickFolderListModel::Status" } + } + Method { + name: "isFolder" + type: "bool" + Parameter { name: "index"; type: "int" } + } + Method { + name: "get" + type: "QVariant" + Parameter { name: "idx"; type: "int" } + Parameter { name: "property"; type: "string" } + } + Method { + name: "indexOf" + type: "int" + Parameter { name: "file"; type: "QUrl" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/qmldir new file mode 100644 index 00000000..18658450 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/qmldir @@ -0,0 +1,4 @@ +module Qt.labs.folderlistmodel +plugin qmlfolderlistmodelplugin +classname QmlFolderListModelPlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll new file mode 100644 index 00000000..9bfd3767 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/locationlabsplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/locationlabsplugin.dll new file mode 100644 index 00000000..886f04ad Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/locationlabsplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/plugins.qmltypes new file mode 100644 index 00000000..d69039b1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/plugins.qmltypes @@ -0,0 +1,252 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable Qt.labs.location 1.0' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "LocationLabsSingleton" + prototype: "QObject" + exports: ["Qt.labs.location/QtLocationLabs 1.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Method { + name: "mapObjectsAt" + type: "QList" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + Parameter { name: "map"; type: "QDeclarativeGeoMap"; isPointer: true } + } + } + Component { + name: "QAbstractNavigator" + prototype: "QObject" + Signal { + name: "activeChanged" + Parameter { name: "active"; type: "bool" } + } + Signal { + name: "waypointReached" + Parameter { name: "pos"; type: "const QDeclarativeGeoWaypoint"; isPointer: true } + } + Signal { name: "destinationReached" } + Signal { name: "currentRouteChanged" } + Signal { name: "currentRouteLegChanged" } + Signal { name: "currentSegmentChanged" } + Signal { name: "nextManeuverIconChanged" } + Signal { name: "progressInformationChanged" } + Signal { name: "isOnRouteChanged" } + Signal { name: "alternativeRoutesChanged" } + Method { name: "start"; type: "bool" } + Method { name: "stop"; type: "bool" } + Method { + name: "setTrackPosition" + Parameter { name: "trackPosition"; type: "bool" } + } + } + Component { + name: "QDeclarativeNavigationBasicDirections" + prototype: "QObject" + Property { name: "nextManeuverIcon"; type: "QVariant"; isReadonly: true } + Property { name: "distanceToNextManeuver"; type: "double"; isReadonly: true } + Property { name: "remainingTravelDistance"; type: "double"; isReadonly: true } + Property { name: "remainingTravelDistanceToNextWaypoint"; type: "double"; isReadonly: true } + Property { name: "traveledDistance"; type: "double"; isReadonly: true } + Property { name: "timeToNextManeuver"; type: "int"; isReadonly: true } + Property { name: "remainingTravelTime"; type: "int"; isReadonly: true } + Property { name: "remainingTravelTimeToNextWaypoint"; type: "int"; isReadonly: true } + Property { name: "traveledTime"; type: "int"; isReadonly: true } + Property { name: "currentRoute"; type: "QDeclarativeGeoRoute"; isReadonly: true; isPointer: true } + Property { + name: "currentRouteLeg" + type: "QDeclarativeGeoRouteLeg" + isReadonly: true + isPointer: true + } + Property { name: "currentSegment"; type: "int"; isReadonly: true } + Property { + name: "alternativeRoutes" + type: "QAbstractItemModel" + isReadonly: true + isPointer: true + } + Signal { name: "progressInformationChanged" } + Signal { + name: "waypointReached" + Parameter { name: "pos"; type: "const QDeclarativeGeoWaypoint"; isPointer: true } + } + Signal { name: "destinationReached" } + } + Component { + name: "QDeclarativeNavigator" + defaultProperty: "quickChildren" + prototype: "QParameterizableObject" + exports: ["Qt.labs.location/Navigator 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "map"; type: "QDeclarativeGeoMap"; isPointer: true } + Property { name: "route"; type: "QDeclarativeGeoRoute"; isPointer: true } + Property { name: "positionSource"; type: "QDeclarativePositionSource"; isPointer: true } + Property { name: "active"; type: "bool" } + Property { name: "navigatorReady"; type: "bool"; isReadonly: true } + Property { name: "trackPositionSource"; type: "bool" } + Property { name: "automaticReroutingEnabled"; type: "bool" } + Property { name: "isOnRoute"; type: "bool"; isReadonly: true } + Property { + name: "directions" + type: "QDeclarativeNavigationBasicDirections" + isReadonly: true + isPointer: true + } + Property { name: "error"; type: "NavigationError"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "engineHandle"; type: "QAbstractNavigator"; isReadonly: true; isPointer: true } + Signal { + name: "navigatorReadyChanged" + Parameter { name: "ready"; type: "bool" } + } + Signal { + name: "trackPositionSourceChanged" + Parameter { name: "trackPositionSource"; type: "bool" } + } + Signal { + name: "activeChanged" + Parameter { name: "active"; type: "bool" } + } + Method { name: "recalculateRoutes" } + } + Component { + name: "QGeoMapObject" + defaultProperty: "quickChildren" + prototype: "QParameterizableObject" + Enum { + name: "Type" + values: { + "InvalidType": 0, + "ViewType": 1, + "RouteType": 2, + "RectangleType": 3, + "CircleType": 4, + "PolylineType": 5, + "PolygonType": 6, + "IconType": 7, + "UserType": 256 + } + } + Property { name: "visible"; type: "bool" } + Property { name: "type"; type: "Type"; isReadonly: true } + Property { name: "geoShape"; type: "QGeoShape" } + Signal { name: "selected" } + Signal { name: "completed" } + } + Component { + name: "QMapCircleObject" + defaultProperty: "quickChildren" + prototype: "QGeoMapObject" + exports: ["Qt.labs.location/MapCircleObject 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "center"; type: "QGeoCoordinate" } + Property { name: "radius"; type: "double" } + Property { name: "color"; type: "QColor" } + Property { + name: "border" + type: "QDeclarativeMapLineProperties" + isReadonly: true + isPointer: true + } + } + Component { + name: "QMapIconObject" + defaultProperty: "quickChildren" + prototype: "QGeoMapObject" + exports: ["Qt.labs.location/MapIconObject 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "coordinate"; type: "QGeoCoordinate" } + Property { name: "content"; type: "QVariant" } + Property { name: "iconSize"; type: "QSizeF" } + Signal { + name: "contentChanged" + Parameter { name: "content"; type: "QVariant" } + } + Signal { + name: "coordinateChanged" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + } + Component { + name: "QMapObjectView" + defaultProperty: "quickChildren" + prototype: "QGeoMapObject" + exports: ["Qt.labs.location/MapObjectView 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Signal { + name: "modelChanged" + Parameter { name: "model"; type: "QVariant" } + } + Signal { + name: "delegateChanged" + Parameter { name: "delegate"; type: "QQmlComponent"; isPointer: true } + } + Method { + name: "addMapObject" + Parameter { name: "object"; type: "QGeoMapObject"; isPointer: true } + } + Method { + name: "removeMapObject" + Parameter { name: "object"; type: "QGeoMapObject"; isPointer: true } + } + } + Component { + name: "QMapPolygonObject" + defaultProperty: "quickChildren" + prototype: "QGeoMapObject" + exports: ["Qt.labs.location/MapPolygonObject 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "path"; type: "QVariantList" } + Property { name: "color"; type: "QColor" } + Property { + name: "border" + type: "QDeclarativeMapLineProperties" + isReadonly: true + isPointer: true + } + } + Component { + name: "QMapPolylineObject" + defaultProperty: "quickChildren" + prototype: "QGeoMapObject" + exports: ["Qt.labs.location/MapPolylineObject 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "path"; type: "QVariantList" } + Property { + name: "line" + type: "QDeclarativeMapLineProperties" + isReadonly: true + isPointer: true + } + } + Component { + name: "QMapRouteObject" + defaultProperty: "quickChildren" + prototype: "QGeoMapObject" + exports: ["Qt.labs.location/MapRouteObject 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "route"; type: "QDeclarativeGeoRoute"; isPointer: true } + Signal { + name: "routeChanged" + Parameter { name: "route"; type: "QDeclarativeGeoRoute"; isPointer: true } + } + } + Component { + name: "QParameterizableObject" + defaultProperty: "quickChildren" + prototype: "QObject" + Property { name: "quickChildren"; type: "QObject"; isList: true; isReadonly: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/qmldir new file mode 100644 index 00000000..ddaf6ebc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/location/qmldir @@ -0,0 +1,4 @@ +module Qt.labs.location +plugin locationlabsplugin +classname QtLocationLabsDeclarativeModule +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/plugins.qmltypes new file mode 100644 index 00000000..e9312047 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/plugins.qmltypes @@ -0,0 +1,492 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable Qt.labs.platform 1.1' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QPlatformDialogHelper" + prototype: "QObject" + exports: ["Qt.labs.platform/StandardButton 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "StandardButtons" + values: { + "NoButton": 0, + "Ok": 1024, + "Save": 2048, + "SaveAll": 4096, + "Open": 8192, + "Yes": 16384, + "YesToAll": 32768, + "No": 65536, + "NoToAll": 131072, + "Abort": 262144, + "Retry": 524288, + "Ignore": 1048576, + "Close": 2097152, + "Cancel": 4194304, + "Discard": 8388608, + "Help": 16777216, + "Apply": 33554432, + "Reset": 67108864, + "RestoreDefaults": 134217728, + "FirstButton": 1024, + "LastButton": 134217728, + "LowestBit": 10, + "HighestBit": 27 + } + } + Enum { + name: "ButtonRole" + values: { + "InvalidRole": -1, + "AcceptRole": 0, + "RejectRole": 1, + "DestructiveRole": 2, + "ActionRole": 3, + "HelpRole": 4, + "YesRole": 5, + "NoRole": 6, + "ResetRole": 7, + "ApplyRole": 8, + "NRoles": 9, + "RoleMask": 268435455, + "AlternateRole": 268435456, + "Stretch": 536870912, + "Reverse": 1073741824, + "EOL": -1 + } + } + Enum { + name: "ButtonLayout" + values: { + "UnknownLayout": -1, + "WinLayout": 0, + "MacLayout": 1, + "KdeLayout": 2, + "GnomeLayout": 3, + "MacModelessLayout": 4, + "AndroidLayout": 5 + } + } + Signal { name: "accept" } + Signal { name: "reject" } + } + Component { + name: "QQuickPlatformColorDialog" + defaultProperty: "data" + prototype: "QQuickPlatformDialog" + exports: ["Qt.labs.platform/ColorDialog 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "color"; type: "QColor" } + Property { name: "currentColor"; type: "QColor" } + Property { name: "options"; type: "QColorDialogOptions::ColorDialogOptions" } + } + Component { + name: "QQuickPlatformDialog" + defaultProperty: "data" + prototype: "QObject" + exports: ["Qt.labs.platform/Dialog 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "StandardCode" + values: { + "Rejected": 0, + "Accepted": 1 + } + } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "parentWindow"; type: "QWindow"; isPointer: true } + Property { name: "title"; type: "string" } + Property { name: "flags"; type: "Qt::WindowFlags" } + Property { name: "modality"; type: "Qt::WindowModality" } + Property { name: "visible"; type: "bool" } + Property { name: "result"; type: "int" } + Signal { name: "accepted" } + Signal { name: "rejected" } + Method { name: "open" } + Method { name: "close" } + Method { name: "accept" } + Method { name: "reject" } + Method { + name: "done" + Parameter { name: "result"; type: "int" } + } + } + Component { + name: "QQuickPlatformFileDialog" + defaultProperty: "data" + prototype: "QQuickPlatformDialog" + exports: ["Qt.labs.platform/FileDialog 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "FileMode" + values: { + "OpenFile": 0, + "OpenFiles": 1, + "SaveFile": 2 + } + } + Property { name: "fileMode"; type: "FileMode" } + Property { name: "file"; type: "QUrl" } + Property { name: "files"; type: "QList" } + Property { name: "currentFile"; type: "QUrl" } + Property { name: "currentFiles"; type: "QList" } + Property { name: "folder"; type: "QUrl" } + Property { name: "options"; type: "QFileDialogOptions::FileDialogOptions" } + Property { name: "nameFilters"; type: "QStringList" } + Property { + name: "selectedNameFilter" + type: "QQuickPlatformFileNameFilter" + isReadonly: true + isPointer: true + } + Property { name: "defaultSuffix"; type: "string" } + Property { name: "acceptLabel"; type: "string" } + Property { name: "rejectLabel"; type: "string" } + } + Component { + name: "QQuickPlatformFileNameFilter" + prototype: "QObject" + Property { name: "index"; type: "int" } + Property { name: "name"; type: "string"; isReadonly: true } + Property { name: "extensions"; type: "QStringList"; isReadonly: true } + Signal { + name: "indexChanged" + Parameter { name: "index"; type: "int" } + } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "string" } + } + Signal { + name: "extensionsChanged" + Parameter { name: "extensions"; type: "QStringList" } + } + } + Component { + name: "QQuickPlatformFolderDialog" + defaultProperty: "data" + prototype: "QQuickPlatformDialog" + exports: ["Qt.labs.platform/FolderDialog 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "folder"; type: "QUrl" } + Property { name: "currentFolder"; type: "QUrl" } + Property { name: "options"; type: "QFileDialogOptions::FileDialogOptions" } + Property { name: "acceptLabel"; type: "string" } + Property { name: "rejectLabel"; type: "string" } + } + Component { + name: "QQuickPlatformFontDialog" + defaultProperty: "data" + prototype: "QQuickPlatformDialog" + exports: ["Qt.labs.platform/FontDialog 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "font"; type: "QFont" } + Property { name: "currentFont"; type: "QFont" } + Property { name: "options"; type: "QFontDialogOptions::FontDialogOptions" } + } + Component { + name: "QQuickPlatformIcon" + Property { name: "source"; type: "QUrl" } + Property { name: "name"; type: "string" } + Property { name: "mask"; type: "bool" } + } + Component { + name: "QQuickPlatformMenu" + defaultProperty: "data" + prototype: "QObject" + exports: ["Qt.labs.platform/Menu 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "items"; type: "QQuickPlatformMenuItem"; isList: true; isReadonly: true } + Property { name: "menuBar"; type: "QQuickPlatformMenuBar"; isReadonly: true; isPointer: true } + Property { name: "parentMenu"; type: "QQuickPlatformMenu"; isReadonly: true; isPointer: true } + Property { + name: "systemTrayIcon" + type: "QQuickPlatformSystemTrayIcon" + isReadonly: true + isPointer: true + } + Property { name: "menuItem"; type: "QQuickPlatformMenuItem"; isReadonly: true; isPointer: true } + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "minimumWidth"; type: "int" } + Property { name: "type"; type: "QPlatformMenu::MenuType" } + Property { name: "title"; type: "string" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "font"; type: "QFont" } + Property { name: "icon"; revision: 1; type: "QQuickPlatformIcon" } + Signal { name: "aboutToShow" } + Signal { name: "aboutToHide" } + Signal { name: "iconChanged"; revision: 1 } + Method { + name: "open" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { name: "close" } + Method { + name: "addItem" + Parameter { name: "item"; type: "QQuickPlatformMenuItem"; isPointer: true } + } + Method { + name: "insertItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickPlatformMenuItem"; isPointer: true } + } + Method { + name: "removeItem" + Parameter { name: "item"; type: "QQuickPlatformMenuItem"; isPointer: true } + } + Method { + name: "addMenu" + Parameter { name: "menu"; type: "QQuickPlatformMenu"; isPointer: true } + } + Method { + name: "insertMenu" + Parameter { name: "index"; type: "int" } + Parameter { name: "menu"; type: "QQuickPlatformMenu"; isPointer: true } + } + Method { + name: "removeMenu" + Parameter { name: "menu"; type: "QQuickPlatformMenu"; isPointer: true } + } + Method { name: "clear" } + } + Component { + name: "QQuickPlatformMenuBar" + defaultProperty: "data" + prototype: "QObject" + exports: ["Qt.labs.platform/MenuBar 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "menus"; type: "QQuickPlatformMenu"; isList: true; isReadonly: true } + Property { name: "window"; type: "QWindow"; isPointer: true } + Method { + name: "addMenu" + Parameter { name: "menu"; type: "QQuickPlatformMenu"; isPointer: true } + } + Method { + name: "insertMenu" + Parameter { name: "index"; type: "int" } + Parameter { name: "menu"; type: "QQuickPlatformMenu"; isPointer: true } + } + Method { + name: "removeMenu" + Parameter { name: "menu"; type: "QQuickPlatformMenu"; isPointer: true } + } + Method { name: "clear" } + } + Component { + name: "QQuickPlatformMenuItem" + prototype: "QObject" + exports: [ + "Qt.labs.platform/MenuItem 1.0", + "Qt.labs.platform/MenuItem 1.1" + ] + exportMetaObjectRevisions: [0, 1] + Property { name: "menu"; type: "QQuickPlatformMenu"; isReadonly: true; isPointer: true } + Property { name: "subMenu"; type: "QQuickPlatformMenu"; isReadonly: true; isPointer: true } + Property { name: "group"; type: "QQuickPlatformMenuItemGroup"; isPointer: true } + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "separator"; type: "bool" } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "role"; type: "QPlatformMenuItem::MenuRole" } + Property { name: "text"; type: "string" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "shortcut"; type: "QVariant" } + Property { name: "font"; type: "QFont" } + Property { name: "icon"; revision: 1; type: "QQuickPlatformIcon" } + Signal { name: "triggered" } + Signal { name: "hovered" } + Signal { name: "iconChanged"; revision: 1 } + Method { name: "toggle" } + } + Component { + name: "QQuickPlatformMenuItemGroup" + prototype: "QObject" + exports: ["Qt.labs.platform/MenuItemGroup 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "exclusive"; type: "bool" } + Property { name: "checkedItem"; type: "QQuickPlatformMenuItem"; isPointer: true } + Property { name: "items"; type: "QQuickPlatformMenuItem"; isList: true; isReadonly: true } + Signal { + name: "triggered" + Parameter { name: "item"; type: "QQuickPlatformMenuItem"; isPointer: true } + } + Signal { + name: "hovered" + Parameter { name: "item"; type: "QQuickPlatformMenuItem"; isPointer: true } + } + Method { + name: "addItem" + Parameter { name: "item"; type: "QQuickPlatformMenuItem"; isPointer: true } + } + Method { + name: "removeItem" + Parameter { name: "item"; type: "QQuickPlatformMenuItem"; isPointer: true } + } + Method { name: "clear" } + } + Component { + name: "QQuickPlatformMenuSeparator" + prototype: "QQuickPlatformMenuItem" + exports: ["Qt.labs.platform/MenuSeparator 1.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickPlatformMessageDialog" + defaultProperty: "data" + prototype: "QQuickPlatformDialog" + exports: ["Qt.labs.platform/MessageDialog 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "text"; type: "string" } + Property { name: "informativeText"; type: "string" } + Property { name: "detailedText"; type: "string" } + Property { name: "buttons"; type: "QPlatformDialogHelper::StandardButtons" } + Signal { + name: "clicked" + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + } + Signal { name: "okClicked" } + Signal { name: "saveClicked" } + Signal { name: "saveAllClicked" } + Signal { name: "openClicked" } + Signal { name: "yesClicked" } + Signal { name: "yesToAllClicked" } + Signal { name: "noClicked" } + Signal { name: "noToAllClicked" } + Signal { name: "abortClicked" } + Signal { name: "retryClicked" } + Signal { name: "ignoreClicked" } + Signal { name: "closeClicked" } + Signal { name: "cancelClicked" } + Signal { name: "discardClicked" } + Signal { name: "helpClicked" } + Signal { name: "applyClicked" } + Signal { name: "resetClicked" } + Signal { name: "restoreDefaultsClicked" } + } + Component { + name: "QQuickPlatformStandardPaths" + prototype: "QObject" + exports: ["Qt.labs.platform/StandardPaths 1.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Method { + name: "displayName" + type: "string" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + } + Method { + name: "findExecutable" + type: "QUrl" + Parameter { name: "executableName"; type: "string" } + Parameter { name: "paths"; type: "QStringList" } + } + Method { + name: "findExecutable" + type: "QUrl" + Parameter { name: "executableName"; type: "string" } + } + Method { + name: "locate" + type: "QUrl" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + Parameter { name: "fileName"; type: "string" } + Parameter { name: "options"; type: "QStandardPaths::LocateOptions" } + } + Method { + name: "locate" + type: "QUrl" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + Parameter { name: "fileName"; type: "string" } + } + Method { + name: "locateAll" + type: "QList" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + Parameter { name: "fileName"; type: "string" } + Parameter { name: "options"; type: "QStandardPaths::LocateOptions" } + } + Method { + name: "locateAll" + type: "QList" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + Parameter { name: "fileName"; type: "string" } + } + Method { + name: "setTestModeEnabled" + Parameter { name: "testMode"; type: "bool" } + } + Method { + name: "standardLocations" + type: "QList" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + } + Method { + name: "writableLocation" + type: "QUrl" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + } + } + Component { + name: "QQuickPlatformSystemTrayIcon" + prototype: "QObject" + exports: [ + "Qt.labs.platform/SystemTrayIcon 1.0", + "Qt.labs.platform/SystemTrayIcon 1.1" + ] + exportMetaObjectRevisions: [0, 1] + Property { name: "available"; type: "bool"; isReadonly: true } + Property { name: "supportsMessages"; type: "bool"; isReadonly: true } + Property { name: "visible"; type: "bool" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "tooltip"; type: "string" } + Property { name: "menu"; type: "QQuickPlatformMenu"; isPointer: true } + Property { name: "geometry"; revision: 1; type: "QRect"; isReadonly: true } + Property { name: "icon"; revision: 1; type: "QQuickPlatformIcon" } + Signal { + name: "activated" + Parameter { name: "reason"; type: "QPlatformSystemTrayIcon::ActivationReason" } + } + Signal { name: "messageClicked" } + Signal { name: "geometryChanged"; revision: 1 } + Signal { name: "iconChanged"; revision: 1 } + Method { name: "show" } + Method { name: "hide" } + Method { + name: "showMessage" + Parameter { name: "title"; type: "string" } + Parameter { name: "message"; type: "string" } + Parameter { name: "iconType"; type: "QPlatformSystemTrayIcon::MessageIcon" } + Parameter { name: "msecs"; type: "int" } + } + Method { + name: "showMessage" + Parameter { name: "title"; type: "string" } + Parameter { name: "message"; type: "string" } + Parameter { name: "iconType"; type: "QPlatformSystemTrayIcon::MessageIcon" } + } + Method { + name: "showMessage" + Parameter { name: "title"; type: "string" } + Parameter { name: "message"; type: "string" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/qmldir new file mode 100644 index 00000000..9653b7d3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/qmldir @@ -0,0 +1,3 @@ +module Qt.labs.platform +plugin qtlabsplatformplugin +classname QtLabsPlatformPlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/qtlabsplatformplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/qtlabsplatformplugin.dll new file mode 100644 index 00000000..30c8494e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/platform/qtlabsplatformplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/labsmodelsplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/labsmodelsplugin.dll new file mode 100644 index 00000000..fb47a57e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/labsmodelsplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/plugins.qmltypes new file mode 100644 index 00000000..56f2f213 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/plugins.qmltypes @@ -0,0 +1,410 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: [ + "NoLayoutChangeHint", + "VerticalSortHint", + "HorizontalSortHint" + ] + } + Enum { + name: "CheckIndexOption" + values: [ + "NoOption", + "IndexIsValid", + "DoNotUseParent", + "ParentIsInvalid" + ] + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { name: "resetInternalData" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractTableModel"; prototype: "QAbstractItemModel" } + Component { + file: "qqmldelegatecomponent_p.h" + name: "QQmlDelegateChoice" + defaultProperty: "delegate" + prototype: "QObject" + exports: ["Qt.labs.qmlmodels/DelegateChoice 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "roleValue"; type: "QVariant" } + Property { name: "row"; type: "int" } + Property { name: "index"; type: "int" } + Property { name: "column"; type: "int" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Signal { name: "changed" } + } + Component { + file: "qqmldelegatecomponent_p.h" + name: "QQmlDelegateChooser" + defaultProperty: "choices" + prototype: "QQmlAbstractDelegateComponent" + exports: ["Qt.labs.qmlmodels/DelegateChooser 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "role"; type: "string" } + Property { name: "choices"; type: "QQmlDelegateChoice"; isList: true; isReadonly: true } + } + Component { + file: "qqmltablemodel_p.h" + name: "QQmlTableModel" + defaultProperty: "columns" + prototype: "QAbstractTableModel" + exports: ["Qt.labs.qmlmodels/TableModel 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "columnCount"; type: "int"; isReadonly: true } + Property { name: "rowCount"; type: "int"; isReadonly: true } + Property { name: "rows"; type: "QVariant" } + Property { name: "columns"; type: "QQmlTableModelColumn"; isList: true; isReadonly: true } + Method { + name: "appendRow" + Parameter { name: "row"; type: "QVariant" } + } + Method { name: "clear" } + Method { + name: "getRow" + type: "QVariant" + Parameter { name: "rowIndex"; type: "int" } + } + Method { + name: "insertRow" + Parameter { name: "rowIndex"; type: "int" } + Parameter { name: "row"; type: "QVariant" } + } + Method { + name: "moveRow" + Parameter { name: "fromRowIndex"; type: "int" } + Parameter { name: "toRowIndex"; type: "int" } + Parameter { name: "rows"; type: "int" } + } + Method { + name: "moveRow" + Parameter { name: "fromRowIndex"; type: "int" } + Parameter { name: "toRowIndex"; type: "int" } + } + Method { + name: "removeRow" + Parameter { name: "rowIndex"; type: "int" } + Parameter { name: "rows"; type: "int" } + } + Method { + name: "removeRow" + Parameter { name: "rowIndex"; type: "int" } + } + Method { + name: "setRow" + Parameter { name: "rowIndex"; type: "int" } + Parameter { name: "row"; type: "QVariant" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "string" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { + file: "qqmltablemodelcolumn_p.h" + name: "QQmlTableModelColumn" + prototype: "QObject" + exports: ["Qt.labs.qmlmodels/TableModelColumn 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "display"; type: "QJSValue" } + Property { name: "setDisplay"; type: "QJSValue" } + Property { name: "decoration"; type: "QJSValue" } + Property { name: "setDecoration"; type: "QJSValue" } + Property { name: "edit"; type: "QJSValue" } + Property { name: "setEdit"; type: "QJSValue" } + Property { name: "toolTip"; type: "QJSValue" } + Property { name: "setToolTip"; type: "QJSValue" } + Property { name: "statusTip"; type: "QJSValue" } + Property { name: "setStatusTip"; type: "QJSValue" } + Property { name: "whatsThis"; type: "QJSValue" } + Property { name: "setWhatsThis"; type: "QJSValue" } + Property { name: "font"; type: "QJSValue" } + Property { name: "setFont"; type: "QJSValue" } + Property { name: "textAlignment"; type: "QJSValue" } + Property { name: "setTextAlignment"; type: "QJSValue" } + Property { name: "background"; type: "QJSValue" } + Property { name: "setBackground"; type: "QJSValue" } + Property { name: "foreground"; type: "QJSValue" } + Property { name: "setForeground"; type: "QJSValue" } + Property { name: "checkState"; type: "QJSValue" } + Property { name: "setCheckState"; type: "QJSValue" } + Property { name: "accessibleText"; type: "QJSValue" } + Property { name: "setAccessibleText"; type: "QJSValue" } + Property { name: "accessibleDescription"; type: "QJSValue" } + Property { name: "setAccessibleDescription"; type: "QJSValue" } + Property { name: "sizeHint"; type: "QJSValue" } + Property { name: "setSizeHint"; type: "QJSValue" } + Signal { name: "indexChanged" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/qmldir new file mode 100644 index 00000000..9c735711 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/qmlmodels/qmldir @@ -0,0 +1,3 @@ +module Qt.labs.qmlmodels +plugin labsmodelsplugin +classname QtQmlLabsModelsPlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/plugins.qmltypes new file mode 100644 index 00000000..085f0b84 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/plugins.qmltypes @@ -0,0 +1,37 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + file: "qqmlsettings_p.h" + name: "QQmlSettings" + prototype: "QObject" + exports: ["Qt.labs.settings/Settings 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "category"; type: "string" } + Property { name: "fileName"; type: "string" } + Method { name: "_q_propertyChanged" } + Method { + name: "value" + type: "QVariant" + Parameter { name: "key"; type: "string" } + Parameter { name: "defaultValue"; type: "QVariant" } + } + Method { + name: "value" + type: "QVariant" + Parameter { name: "key"; type: "string" } + } + Method { + name: "setValue" + Parameter { name: "key"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Method { name: "sync" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/qmldir new file mode 100644 index 00000000..93d8e671 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/qmldir @@ -0,0 +1,4 @@ +module Qt.labs.settings +plugin qmlsettingsplugin +classname QmlSettingsPlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/qmlsettingsplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/qmlsettingsplugin.dll new file mode 100644 index 00000000..fa602ab0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/settings/qmlsettingsplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/plugins.qmltypes new file mode 100644 index 00000000..f4710cdd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/plugins.qmltypes @@ -0,0 +1,10 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0"] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/qmldir new file mode 100644 index 00000000..079399dc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/qmldir @@ -0,0 +1,3 @@ +module Qt.labs.sharedimage +plugin sharedimageplugin +classname QtQuickSharedImagePlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/sharedimageplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/sharedimageplugin.dll new file mode 100644 index 00000000..c34fcb5a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/sharedimage/sharedimageplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/plugins.qmltypes new file mode 100644 index 00000000..d139ca95 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/plugins.qmltypes @@ -0,0 +1,38 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0"] + Component { + file: "qwavefrontmesh.h" + name: "QWavefrontMesh" + prototype: "QQuickShaderEffectMesh" + exports: ["Qt.labs.wavefrontmesh/WavefrontMesh 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Error" + values: [ + "NoError", + "InvalidSourceError", + "UnsupportedFaceShapeError", + "UnsupportedIndexSizeError", + "FileNotFoundError", + "NoAttributesError", + "MissingPositionAttributeError", + "MissingTextureCoordinateAttributeError", + "MissingPositionAndTextureCoordinateAttributesError", + "TooManyAttributesError", + "InvalidPlaneDefinitionError" + ] + } + Property { name: "source"; type: "QUrl" } + Property { name: "lastError"; type: "Error"; isReadonly: true } + Property { name: "projectionPlaneV"; type: "QVector3D" } + Property { name: "projectionPlaneW"; type: "QVector3D" } + Method { name: "readData" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/qmldir new file mode 100644 index 00000000..fed15dd0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/qmldir @@ -0,0 +1,4 @@ +module Qt.labs.wavefrontmesh +plugin qmlwavefrontmeshplugin +classname QmlWavefrontMeshPlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/qmlwavefrontmeshplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/qmlwavefrontmeshplugin.dll new file mode 100644 index 00000000..083f5e46 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/qmlwavefrontmeshplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/test/qtestroot/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/test/qtestroot/plugins.qmltypes new file mode 100644 index 00000000..384cffe2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/test/qtestroot/plugins.qmltypes @@ -0,0 +1,23 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0"] + Component { + file: "private/quicktest_p.h" + name: "QTestRootObject" + prototype: "QObject" + exports: ["Qt.test.qtestroot/QTestRootObject 1.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Property { name: "windowShown"; type: "bool"; isReadonly: true } + Property { name: "hasTestCase"; type: "bool" } + Property { name: "defined"; type: "QObject"; isReadonly: true; isPointer: true } + Method { name: "quit" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/test/qtestroot/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/test/qtestroot/qmldir new file mode 100644 index 00000000..5e9d5e2c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/Qt/test/qtestroot/qmldir @@ -0,0 +1,2 @@ +module Qt.test.qtestroot +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/declarative_bluetooth.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/declarative_bluetooth.dll new file mode 100644 index 00000000..160c2b17 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/declarative_bluetooth.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/plugins.qmltypes new file mode 100644 index 00000000..2aac2df5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/plugins.qmltypes @@ -0,0 +1,409 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtBluetooth 5.15' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: { + "NoLayoutChangeHint": 0, + "VerticalSortHint": 1, + "HorizontalSortHint": 2 + } + } + Enum { + name: "CheckIndexOption" + values: { + "NoOption": 0, + "IndexIsValid": 1, + "DoNotUseParent": 2, + "ParentIsInvalid": 4 + } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + name: "QDeclarativeBluetoothDiscoveryModel" + prototype: "QAbstractListModel" + exports: [ + "QtBluetooth/BluetoothDiscoveryModel 5.0", + "QtBluetooth/BluetoothDiscoveryModel 5.2" + ] + exportMetaObjectRevisions: [0, 0] + Enum { + name: "DiscoveryMode" + values: { + "MinimalServiceDiscovery": 0, + "FullServiceDiscovery": 1, + "DeviceDiscovery": 2 + } + } + Enum { + name: "Error" + values: { + "NoError": 0, + "InputOutputError": 1, + "PoweredOffError": 2, + "UnknownError": 3, + "InvalidBluetoothAdapterError": 4 + } + } + Property { name: "error"; type: "Error"; isReadonly: true } + Property { name: "discoveryMode"; type: "DiscoveryMode" } + Property { name: "running"; type: "bool" } + Property { name: "uuidFilter"; type: "string" } + Property { name: "remoteAddress"; type: "string" } + Signal { + name: "serviceDiscovered" + Parameter { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true } + } + Signal { + name: "deviceDiscovered" + Parameter { name: "device"; type: "string" } + } + } + Component { + name: "QDeclarativeBluetoothService" + prototype: "QObject" + exports: [ + "QtBluetooth/BluetoothService 5.0", + "QtBluetooth/BluetoothService 5.2" + ] + exportMetaObjectRevisions: [0, 0] + Enum { + name: "Protocol" + values: { + "RfcommProtocol": 2, + "L2CapProtocol": 1, + "UnknownProtocol": 0 + } + } + Property { name: "deviceName"; type: "string"; isReadonly: true } + Property { name: "deviceAddress"; type: "string" } + Property { name: "serviceName"; type: "string" } + Property { name: "serviceDescription"; type: "string" } + Property { name: "serviceUuid"; type: "string" } + Property { name: "serviceProtocol"; type: "Protocol" } + Property { name: "registered"; type: "bool" } + Signal { name: "detailsChanged" } + Signal { name: "newClient" } + Method { name: "nextClient"; type: "QDeclarativeBluetoothSocket*" } + Method { + name: "assignNextClient" + Parameter { name: "dbs"; type: "QDeclarativeBluetoothSocket"; isPointer: true } + } + } + Component { + name: "QDeclarativeBluetoothSocket" + prototype: "QObject" + exports: [ + "QtBluetooth/BluetoothSocket 5.0", + "QtBluetooth/BluetoothSocket 5.2" + ] + exportMetaObjectRevisions: [0, 0] + Enum { + name: "Error" + values: { + "NoError": -2, + "UnknownSocketError": -1, + "RemoteHostClosedError": 1, + "HostNotFoundError": 2, + "ServiceNotFoundError": 9, + "NetworkError": 7, + "UnsupportedProtocolError": 8 + } + } + Enum { + name: "SocketState" + values: { + "Unconnected": 0, + "ServiceLookup": 1, + "Connecting": 2, + "Connected": 3, + "Bound": 4, + "Closing": 6, + "Listening": 5, + "NoServiceSet": 100 + } + } + Property { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true } + Property { name: "connected"; type: "bool" } + Property { name: "error"; type: "Error"; isReadonly: true } + Property { name: "socketState"; type: "SocketState"; isReadonly: true } + Property { name: "stringData"; type: "string" } + Signal { name: "stateChanged" } + Signal { name: "dataAvailable" } + Method { + name: "setService" + Parameter { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true } + } + Method { + name: "setConnected" + Parameter { name: "connected"; type: "bool" } + } + Method { + name: "sendStringData" + Parameter { name: "data"; type: "string" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/qmldir new file mode 100644 index 00000000..2f5b2fac --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtBluetooth/qmldir @@ -0,0 +1,4 @@ +module QtBluetooth +plugin declarative_bluetooth +classname QBluetoothQmlPlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Blend.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Blend.qml new file mode 100644 index 00000000..e5f4816a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Blend.qml @@ -0,0 +1,486 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype Blend + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blend + \brief Merges two source items by using a blend mode. + + Blend mode can be selected with the \l{Blend::mode}{mode} property. + + \table + \header + \li source + \li foregroundSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image Original_butterfly.png + \li \image Blend_bug_and_butterfly.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet Blend-example.qml example + +*/ + +Item { + id: rootItem + + /*! + This property defines the source item that is going to be the base when + \l{Blend::foregroundSource}{foregroundSource} is blended over it. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the item that is going to be blended over the + \l{Blend::source}{source}. + + \note It is not supported to let the effect include itself, for + instance by setting foregroundSource to the effect's parent. + */ + property variant foregroundSource + + /*! + This property defines the mode which is used when foregroundSource is + blended over source. Values are case insensitive. + + \table + \header + \li mode + \li description + \row + \li normal + \li The pixel component values from foregroundSource are written + over source by using alpha blending. + \row + \li addition + \li The pixel component values from source and foregroundSource are + added together and written. + \row + \li average + \li The pixel component values from source and foregroundSource are + averaged and written. + \row + \li color + \li The lightness value from source is combined with hue and + saturation from foregroundSource and written. + \row + \li colorBurn + \li The darker pixels from source are darkened more, if both source + and foregroundSource pixels are light the result is light. + \row + \li colorDodge + \li The lighter pixels from source are lightened more, if both + source and foregroundSource pixels are dark the result is dark. + \row + \li darken + \li The darker pixel component value from source and + foregroundSource is written. + \row + \li darkerColor + \li The lower luminance pixel rgb-value from source and + foregroundSource is written. + \row + \li difference + \li The absolute pixel component value difference between source and + foregroundSource is written. + \row + \li divide + \li The pixel component values from source is divided by the value + from foregroundSource and written. + \row + \li exclusion + \li The pixel component value difference with reduced contrast + between source and foregroundSource is written. + \row + \li hardLight + \li The pixel component values from source are lightened or darkened + according to foregroundSource values and written. + \row + \li hue + \li The hue value from foregroundSource is combined with saturation + and lightness from source and written. + \row + \li lighten + \li The lightest pixel component value from source and + foregroundSource is written. + \row + \li lighterColor + \li The higher luminance pixel rgb-value from source and + foregroundSource is written. + \row + \li lightness + \li The lightness value from foregroundSource is combined with hue + and saturation from source and written. + \row + \li multiply + \li The pixel component values from source and foregroundSource are + multiplied together and written. + \row + \li negation + \li The inverted absolute pixel component value difference between + source and foregroundSource is written. + \row + \li saturation + \li The saturation value from foregroundSource is combined with hue + and lightness from source and written. + \row + \li screen + \li The pixel values from source and foregroundSource are negated, + then multiplied, negated again, and written. + \row + \li subtract + \li Pixel value from foregroundSource is subracted from source and + written. + \row + \li softLight + \li The pixel component values from source are lightened or darkened + slightly according to foregroundSource values and written. + + \endtable + + \table + \header + \li Example source + \li Example foregroundSource + \row + \li \image Original_bug.png + \li \image Original_butterfly.png + \endtable + + \table + \header + \li Output examples with different mode values + \li + \li + \row + \li \image Blend_mode1.png + \li \image Blend_mode2.png + \li \image Blend_mode3.png + \row + \li \b { mode: normal } + \li \b { mode: addition } + \li \b { mode: average } + \row + \li \image Blend_mode4.png + \li \image Blend_mode5.png + \li \image Blend_mode6.png + \row + \li \b { mode: color } + \li \b { mode: colorBurn } + \li \b { mode: colorDodge } + \row + \li \image Blend_mode7.png + \li \image Blend_mode8.png + \li \image Blend_mode9.png + \row + \li \b { mode: darken } + \li \b { mode: darkerColor } + \li \b { mode: difference } + \row + \li \image Blend_mode10.png + \li \image Blend_mode11.png + \li \image Blend_mode12.png + \row + \li \b { mode: divide } + \li \b { mode: exclusion } + \li \b { mode: hardlight } + \row + \li \image Blend_mode13.png + \li \image Blend_mode14.png + \li \image Blend_mode15.png + \row + \li \b { mode: hue } + \li \b { mode: lighten } + \li \b { mode: lighterColor } + \row + \li \image Blend_mode16.png + \li \image Blend_mode17.png + \li \image Blend_mode18.png + \row + \li \b { mode: lightness } + \li \b { mode: negation } + \li \b { mode: multiply } + \row + \li \image Blend_mode19.png + \li \image Blend_mode20.png + \li \image Blend_mode21.png + \row + \li \b { mode: saturation } + \li \b { mode: screen } + \li \b { mode: subtract } + \row + \li \image Blend_mode22.png + \row + \li \b { mode: softLight } + \endtable + */ + property string mode: "normal" + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in the + cache must be updated. Memory consumption is increased, because an extra + buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to false. + + */ + property bool cached: false + + SourceProxy { + id: backgroundSourceProxy + input: rootItem.source + } + + SourceProxy { + id: foregroundSourceProxy + input: rootItem.foregroundSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant backgroundSource: backgroundSourceProxy.output + property variant foregroundSource: foregroundSourceProxy.output + property string mode: rootItem.mode + anchors.fill: parent + + fragmentShader: fragmentShaderBegin + blendModeNormal + fragmentShaderEnd + + function buildFragmentShader() { + var shader = fragmentShaderBegin + + switch (mode.toLowerCase()) { + case "addition" : shader += blendModeAddition; break; + case "average" : shader += blendModeAverage; break; + case "color" : shader += blendModeColor; break; + case "colorburn" : shader += blendModeColorBurn; break; + case "colordodge" : shader += blendModeColorDodge; break; + case "darken" : shader += blendModeDarken; break; + case "darkercolor" : shader += blendModeDarkerColor; break; + case "difference" : shader += blendModeDifference; break; + case "divide" : shader += blendModeDivide; break; + case "exclusion" : shader += blendModeExclusion; break; + case "hardlight" : shader += blendModeHardLight; break; + case "hue" : shader += blendModeHue; break; + case "lighten" : shader += blendModeLighten; break; + case "lightercolor" : shader += blendModeLighterColor; break; + case "lightness" : shader += blendModeLightness; break; + case "negation" : shader += blendModeNegation; break; + case "normal" : shader += blendModeNormal; break; + case "multiply" : shader += blendModeMultiply; break; + case "saturation" : shader += blendModeSaturation; break; + case "screen" : shader += blendModeScreen; break; + case "subtract" : shader += blendModeSubtract; break; + case "softlight" : shader += blendModeSoftLight; break; + default: shader += "gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);"; break; + } + + shader += fragmentShaderEnd + fragmentShader = shader + + // Workaraound for a bug just to make sure display gets updated when the mode changes. + backgroundSourceChanged() + } + + Component.onCompleted: { + buildFragmentShader() + } + + onModeChanged: { + buildFragmentShader() + } + + property string blendModeAddition: "result.rgb = min(rgb1 + rgb2, 1.0);" + property string blendModeAverage: "result.rgb = 0.5 * (rgb1 + rgb2);" + property string blendModeColor: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb2).xy, RGBtoL(rgb1)));" + property string blendModeColorBurn: "result.rgb = clamp(1.0 - ((1.0 - rgb1) / max(vec3(1.0 / 256.0), rgb2)), vec3(0.0), vec3(1.0));" + property string blendModeColorDodge: "result.rgb = clamp(rgb1 / max(vec3(1.0 / 256.0), (1.0 - rgb2)), vec3(0.0), vec3(1.0));" + property string blendModeDarken: "result.rgb = min(rgb1, rgb2);" + property string blendModeDarkerColor: "result.rgb = 0.3 * rgb1.r + 0.59 * rgb1.g + 0.11 * rgb1.b > 0.3 * rgb2.r + 0.59 * rgb2.g + 0.11 * rgb2.b ? rgb2 : rgb1;" + property string blendModeDifference: "result.rgb = abs(rgb1 - rgb2);" + property string blendModeDivide: "result.rgb = clamp(rgb1 / rgb2, 0.0, 1.0);" + property string blendModeExclusion: "result.rgb = rgb1 + rgb2 - 2.0 * rgb1 * rgb2;" + property string blendModeHardLight: "result.rgb = vec3(channelBlendHardLight(rgb1.r, rgb2.r), channelBlendHardLight(rgb1.g, rgb2.g), channelBlendHardLight(rgb1.b, rgb2.b));" + property string blendModeHue: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb2).x, RGBtoHSL(rgb1).yz));" + property string blendModeLighten: "result.rgb = max(rgb1, rgb2);" + property string blendModeLighterColor: "result.rgb = 0.3 * rgb1.r + 0.59 * rgb1.g + 0.11 * rgb1.b > 0.3 * rgb2.r + 0.59 * rgb2.g + 0.11 * rgb2.b ? rgb1 : rgb2;" + property string blendModeLightness: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb1).xy, RGBtoL(rgb2)));" + property string blendModeMultiply: "result.rgb = rgb1 * rgb2;" + property string blendModeNegation: "result.rgb = 1.0 - abs(1.0 - rgb1 - rgb2);" + property string blendModeNormal: "result.rgb = rgb2; a = max(color1.a, color2.a);" + property string blendModeSaturation: "lowp vec3 hsl1 = RGBtoHSL(rgb1); result.rgb = HSLtoRGB(vec3(hsl1.x, RGBtoHSL(rgb2).y, hsl1.z));" + property string blendModeScreen: "result.rgb = 1.0 - (vec3(1.0) - rgb1) * (vec3(1.0) - rgb2);" + property string blendModeSubtract: "result.rgb = max(rgb1 - rgb2, vec3(0.0));" + property string blendModeSoftLight: "result.rgb = rgb1 * ((1.0 - rgb1) * rgb2 + (1.0 - (1.0 - rgb1) * (1.0 - rgb2)));" + + property string fragmentCoreShaderWorkaround: (GraphicsInfo.profile === GraphicsInfo.OpenGLCoreProfile ? "#version 150 core + #define varying in + #define texture2D texture + out vec4 fragColor; + #define gl_FragColor fragColor + " : "") + + property string fragmentShaderBegin: fragmentCoreShaderWorkaround + " + varying mediump vec2 qt_TexCoord0; + uniform highp float qt_Opacity; + uniform lowp sampler2D backgroundSource; + uniform lowp sampler2D foregroundSource; + + highp float RGBtoL(highp vec3 color) { + highp float cmin = min(color.r, min(color.g, color.b)); + highp float cmax = max(color.r, max(color.g, color.b)); + highp float l = (cmin + cmax) / 2.0; + return l; + } + + highp vec3 RGBtoHSL(highp vec3 color) { + highp float cmin = min(color.r, min(color.g, color.b)); + highp float cmax = max(color.r, max(color.g, color.b)); + highp float h = 0.0; + highp float s = 0.0; + highp float l = (cmin + cmax) / 2.0; + highp float diff = cmax - cmin; + + if (diff > 1.0 / 256.0) { + if (l < 0.5) + s = diff / (cmin + cmax); + else + s = diff / (2.0 - (cmin + cmax)); + + if (color.r == cmax) + h = (color.g - color.b) / diff; + else if (color.g == cmax) + h = 2.0 + (color.b - color.r) / diff; + else + h = 4.0 + (color.r - color.g) / diff; + + h /= 6.0; + } + return vec3(h, s, l); + } + + highp float hueToIntensity(highp float v1, highp float v2, highp float h) { + h = fract(h); + if (h < 1.0 / 6.0) + return v1 + (v2 - v1) * 6.0 * h; + else if (h < 1.0 / 2.0) + return v2; + else if (h < 2.0 / 3.0) + return v1 + (v2 - v1) * 6.0 * (2.0 / 3.0 - h); + + return v1; + } + + highp vec3 HSLtoRGB(highp vec3 color) { + highp float h = color.x; + highp float l = color.z; + highp float s = color.y; + + if (s < 1.0 / 256.0) + return vec3(l, l, l); + + highp float v1; + highp float v2; + if (l < 0.5) + v2 = l * (1.0 + s); + else + v2 = (l + s) - (s * l); + + v1 = 2.0 * l - v2; + + highp float d = 1.0 / 3.0; + highp float r = hueToIntensity(v1, v2, h + d); + highp float g = hueToIntensity(v1, v2, h); + highp float b = hueToIntensity(v1, v2, h - d); + return vec3(r, g, b); + } + + lowp float channelBlendHardLight(lowp float c1, lowp float c2) { + return c2 > 0.5 ? (1.0 - (1.0 - 2.0 * (c2 - 0.5)) * (1.0 - c1)) : (2.0 * c1 * c2); + } + + void main() { + lowp vec4 result = vec4(0.0); + lowp vec4 color1 = texture2D(backgroundSource, qt_TexCoord0); + lowp vec4 color2 = texture2D(foregroundSource, qt_TexCoord0); + lowp vec3 rgb1 = color1.rgb / max(1.0/256.0, color1.a); + lowp vec3 rgb2 = color2.rgb / max(1.0/256.0, color2.a); + highp float a = max(color1.a, color1.a * color2.a); + " + + property string fragmentShaderEnd: " + gl_FragColor.rgb = mix(rgb1, result.rgb, color2.a); + gl_FragColor.rbg *= a; + gl_FragColor.a = a; + gl_FragColor *= qt_Opacity; + } + " + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/BrightnessContrast.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/BrightnessContrast.qml new file mode 100644 index 00000000..85b38bb2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/BrightnessContrast.qml @@ -0,0 +1,194 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype BrightnessContrast + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Adjusts brightness and contrast. + + This effect adjusts the source item colors. + Brightness adjustment changes the perceived luminance of the source item. + Contrast adjustment increases or decreases the color + and brightness variations. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image BrightnessContrast_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet BrightnessContrast-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines how much the source brightness is increased or + decreased. + + The value ranges from -1.0 to 1.0. By default, the property is set to \c + 0.0 (no change). + + \table + \header + \li Output examples with different brightness values + \li + \li + \row + \li \image BrightnessContrast_brightness1.png + \li \image BrightnessContrast_brightness2.png + \li \image BrightnessContrast_brightness3.png + \row + \li \b { brightness: -0.25 } + \li \b { brightness: 0 } + \li \b { brightness: 0.5 } + \row + \li \l contrast: 0 + \li \l contrast: 0 + \li \l contrast: 0 + \endtable + + */ + property real brightness: 0.0 + + /*! + This property defines how much the source contrast is increased or + decreased. The decrease of the contrast is linear, but the increase is + applied with a non-linear curve to allow very high contrast adjustment at + the high end of the value range. + + \table + \header + \li Contrast adjustment curve + \row + \li \image BrightnessContrast_contrast_graph.png + \endtable + + The value ranges from -1.0 to 1.0. By default, the property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different contrast values + \li + \li + \row + \li \image BrightnessContrast_contrast1.png + \li \image BrightnessContrast_contrast2.png + \li \image BrightnessContrast_contrast3.png + \row + \li \b { contrast: -0.5 } + \li \b { contrast: 0 } + \li \b { contrast: 0.5 } + \row + \li \l brightness: 0 + \li \l brightness: 0 + \li \l brightness: 0 + \endtable + + */ + property real contrast: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real brightness: rootItem.brightness + property real contrast: rootItem.contrast + + anchors.fill: parent + blending: !rootItem.cached + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/brightnesscontrast.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ColorOverlay.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ColorOverlay.qml new file mode 100644 index 00000000..f3485418 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ColorOverlay.qml @@ -0,0 +1,148 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype ColorOverlay + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the colors of the source item by applying an overlay color. + + The effect is similar to what happens when a colorized glass is put on top + of a grayscale image. The color for the overlay is given in the RGBA format. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image ColorOverlay_butterfly.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet ColorOverlay-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the RGBA color value which is used to colorize the + source. + + By default, the property is set to \c "transparent". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image ColorOverlay_color1.png + \li \image ColorOverlay_color2.png + \li \image ColorOverlay_color3.png + \row + \li \b { color: #80ff0000 } + \li \b { color: #8000ff00 } + \li \b { color: #800000ff } + \endtable + + */ + property color color: "transparent" + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property color color: rootItem.color + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/coloroverlay.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Colorize.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Colorize.qml new file mode 100644 index 00000000..42f17965 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Colorize.qml @@ -0,0 +1,238 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype Colorize + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Sets the color in the HSL color space. + + The effect is similar to what happens when a colorized glass is put on top + of a grayscale image. Colorize uses the hue, saturation, and lightness (HSL) + color space. You can specify a desired value for each property. You can + shift all HSL values with the + \l{QtGraphicalEffects::HueSaturation}{HueSaturation} effect. + + Alternatively, you can use the + \l{QtGraphicalEffects::ColorOverlay}{ColorOverlay} effect to colorize the + source item in the RGBA color space. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image Colorize_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet Colorize-example.qml example +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the hue value which is used to colorize the + source. + + The value ranges from 0.0 to 1.0. By default, the property is set to \c + 0.0, which produces a slightly red color. + + \table + \header + \li Allowed hue values + \row + \li \image Colorize_hue_scale.png + \endtable + + \table + \header + \li Output examples with different hue values + \li + \li + \row + \li \image Colorize_hue1.png + \li \image Colorize_hue2.png + \li \image Colorize_hue3.png + \row + \li \b { hue: 0.2 } + \li \b { hue: 0.5 } + \li \b { hue: 0.8 } + \row + \li \l saturation: 1 + \li \l saturation: 1 + \li \l saturation: 1 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + */ + property real hue: 0.0 + + /*! + This property defines the saturation value which is used to colorize the + source. + + The value ranges from 0.0 (desaturated) to 1.0 (saturated). By default, + the property is set to \c 1.0 (saturated). + + \table + \header + \li Output examples with different saturation values + \li + \li + \row + \li \image Colorize_saturation1.png + \li \image Colorize_saturation2.png + \li \image Colorize_saturation3.png + \row + \li \b { saturation: 0 } + \li \b { saturation: 0.5 } + \li \b { saturation: 1 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + */ + property real saturation: 1.0 + + /*! + This property defines how much the source lightness value is increased + or decreased. + + Unlike hue and saturation properties, lightness does not set the used + value, but it shifts the existing source pixel lightness value. + + The value ranges from -1.0 (decreased) to 1.0 (increased). By default, + the property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different lightness values + \li + \li + \row + \li \image Colorize_lightness1.png + \li \image Colorize_lightness2.png + \li \image Colorize_lightness3.png + \row + \li \b { lightness: -0.75 } + \li \b { lightness: 0 } + \li \b { lightness: 0.75 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l saturation: 1 + \li \l saturation: 1 + \li \l saturation: 1 + \endtable + */ + property real lightness: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real hue: rootItem.hue + property real saturation: rootItem.saturation + property real lightness: rootItem.lightness + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/colorize.frag" + + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ConicalGradient.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ConicalGradient.qml new file mode 100644 index 00000000..c8d68b1b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ConicalGradient.qml @@ -0,0 +1,333 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype ConicalGradient + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-gradient + \brief Draws a conical gradient. + + A gradient is defined by two or more colors, which are blended seamlessly. + The colors start from the specified angle and end at 360 degrees larger + angle value. + + \table + \header + \li Effect applied + \row + \li \image ConicalGradient.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet ConicalGradient-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + /*! + This property defines the starting angle where the color at the gradient + position of 0.0 is rendered. Colors at larger position values are + rendered into larger angle values and blended seamlessly. Angle values + increase clockwise. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image ConicalGradient_angle1.png + \li \image ConicalGradient_angle2.png + \li \image ConicalGradient_angle3.png + \row + \li \b { angle: 0 } + \li \b { angle: 45 } + \li \b { angle: 185 } + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + */ + property real angle: 0.0 + + /*! + \qmlproperty real QtGraphicalEffects::ConicalGradient::horizontalOffset + \qmlproperty real QtGraphicalEffects::ConicalGradient::verticalOffset + + The horizontalOffset and verticalOffset properties define the offset in + pixels for the center point of the gradient compared to the item center. + + The value ranges from -inf to inf. By default, the properties are set to \c + 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image ConicalGradient_horizontalOffset1.png + \li \image ConicalGradient_horizontalOffset2.png + \li \image ConicalGradient_horizontalOffset3.png + \row + \li \b { horizontalOffset: -50 } + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 50 } + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ + property real horizontalOffset: 0.0 + property real verticalOffset: 0.0 + + /*! + This property defines the item that is going to be filled with gradient. + Source item gets rendered into an intermediate pixel buffer and the + alpha values from the result are used to determine the gradient's pixels + visibility in the display. The default value for source is undefined and + in that case whole effect area is filled with gradient. + + \table + \header + \li Output examples with different source values + \li + \row + \li \image ConicalGradient_maskSource1.png + \li \image ConicalGradient_maskSource2.png + \row + \li \b { source: undefined } + \li \b { source: } + \row + \li \l angle: 0 + \li \l angle: 0 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + +/*! + A gradient is defined by two or more colors, which are blended seamlessly. + The colors are specified as a set of GradientStop child items, each of which + defines a position on the gradient (from 0.0 to 1.0), and a color. + The position of each GradientStop is defined by the position property. + The color is defined by the color property. + + \table + \header + \li Output examples with different gradient values + \li + \li + \row + \li \image ConicalGradient_gradient1.png + \li \image ConicalGradient_gradient2.png + \li \image ConicalGradient_gradient3.png + \row + \li \b {gradient:} \code +Gradient { + GradientStop { + position: 0.000 + color: Qt.rgba(1, 0, 0, 1) + } + GradientStop { + position: 0.167 + color: Qt.rgba(1, 1, 0, 1) + } + GradientStop { + position: 0.333 + color: Qt.rgba(0, 1, 0, 1) + } + GradientStop { + position: 0.500 + color: Qt.rgba(0, 1, 1, 1) + } + GradientStop { + position: 0.667 + color: Qt.rgba(0, 0, 1, 1) + } + GradientStop { + position: 0.833 + color: Qt.rgba(1, 0, 1, 1) + } + GradientStop { + position: 1.000 + color: Qt.rgba(1, 0, 0, 1) + } +} + \endcode + \li \b {gradient:} \code +Gradient { + GradientStop { + position: 0.0 + color: "#F0F0F0" + } + GradientStop { + position: 0.5 + color: "#000000" + } + GradientStop { + position: 1.0 + color: "#F0F0F0" + } +} + \endcode + \li \b {gradient:} \code +Gradient { + GradientStop { + position: 0.0 + color: "#00000000" + } + GradientStop { + position: 1.0 + color: "#FF000000" + } +} + \endcode + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + +*/ + property Gradient gradient: Gradient { + GradientStop { position: 0.0; color: "white" } + GradientStop { position: 1.0; color: "black" } + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.source + } + + Rectangle { + id: gradientRect + width: 16 + height: 256 + gradient: rootItem.gradient + smooth: true + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + rotation: shaderItem.rotation + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant gradientSource: ShaderEffectSource { + sourceItem: gradientRect + smooth: true + hideSource: true + visible: false + } + property variant maskSource: maskSourceProxy.output + property real startAngle: (rootItem.angle - 90) * Math.PI/180 + property variant center: Qt.point(0.5 + horizontalOffset / width, 0.5 + verticalOffset / height) + + anchors.fill: parent + + fragmentShader: maskSource == undefined ? noMaskShader : maskShader + + onFragmentShaderChanged: startAngleChanged() + + property string noMaskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/conicalgradient_nomask.frag" + property string maskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/conicalgradient_mask.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Desaturate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Desaturate.qml new file mode 100644 index 00000000..e56de553 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Desaturate.qml @@ -0,0 +1,147 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype Desaturate + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Reduces the saturation of the colors. + + Desaturated pixel values are calculated as averages of the original RGB + component values of the source item. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image Desaturate_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet Desaturate-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels to + the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines how much the source colors are desaturated. + + The value ranges from 0.0 (no change) to 1.0 (desaturated). By default, + the property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different desaturation values + \li + \li + \row + \li \image Desaturate_desaturation1.png + \li \image Desaturate_desaturation2.png + \li \image Desaturate_desaturation3.png + \row + \li \b { desaturation: 0.0 } + \li \b { desaturation: 0.5 } + \li \b { desaturation: 1.0 } + \endtable + */ + property real desaturation: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real desaturation: rootItem.desaturation + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/desaturate.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/DirectionalBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/DirectionalBlur.qml new file mode 100644 index 00000000..42ea0781 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/DirectionalBlur.qml @@ -0,0 +1,293 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype DirectionalBlur + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies blur effect to the specified direction. + + Effect creates perceived impression that the source item appears to be + moving in the direction of the blur. Blur is applied to both sides of + each pixel, therefore setting the direction to 0 and 180 provides the + same result. + + Other available motionblur effects are \l{QtGraphicalEffects::ZoomBlur}{ZoomBlur} and + \l{QtGraphicalEffects::RadialBlur}{RadialBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image DirectionalBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet DirectionalBlur-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the perceived amount of movement for each pixel. + The movement is divided evenly to both sides of each pixel. + + The quality of the blur depends on \l{DirectionalBlur::samples}{samples} + property. If length value is large, more samples are needed to keep the + visual quality at high level. + + The value ranges from 0.0 to inf. + By default the property is set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different length values + \li + \li + \row + \li \image DirectionalBlur_length1.png + \li \image DirectionalBlur_length2.png + \li \image DirectionalBlur_length3.png + \row + \li \b { length: 0.0 } + \li \b { length: 32.0 } + \li \b { length: 48.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \endtable + + */ + property real length: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ + property int samples: 0 + + /*! + This property defines the direction for the blur. Blur is applied to + both sides of each pixel, therefore setting the direction to 0 and 180 + produces the same result. + + The value ranges from -180.0 to 180.0. + By default the property is set to \c 0.0. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image DirectionalBlur_angle1.png + \li \image DirectionalBlur_angle2.png + \li \image DirectionalBlur_angle3.png + \row + \li \b { angle: 0.0 } + \li \b { angle: 45.0 } + \li \b { angle: 90.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l length: 32 + \li \l length: 32 + \li \l length: 32 + \endtable + + */ + property real angle: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + */ + property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real len: rootItem.length + property bool transparentBorder: rootItem.transparentBorder + property real samples: rootItem.samples + property real weight: 1.0 / Math.max(1.0, rootItem.samples) + property variant expandPixels: transparentBorder ? Qt.size(rootItem.samples, rootItem.samples) : Qt.size(0,0) + property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) + property variant delta: Qt.size(1.0 / rootItem.width * Math.cos((rootItem.angle + 90) * Math.PI/180), 1.0 / rootItem.height * Math.sin((rootItem.angle + 90) * Math.PI/180)) + + x: transparentBorder ? -expandPixels.width - 1: 0 + y: transparentBorder ? -expandPixels.height - 1 : 0 + width: transparentBorder ? parent.width + 2.0 * expandPixels.width + 2 : parent.width + height: transparentBorder ? parent.height + 2.0 * expandPixels.height + 2 : parent.height + + property string fragmentShaderSkeleton: " + varying highp vec2 qt_TexCoord0; + uniform highp float qt_Opacity; + uniform lowp sampler2D source; + uniform highp float len; + uniform highp float samples; + uniform highp float weight; + uniform highp vec2 expand; + uniform highp vec2 delta; + + void main(void) { + highp vec2 shift = delta * len / max(1.0, samples - 1.0); + mediump vec2 texCoord = qt_TexCoord0; + gl_FragColor = vec4(0.0); + + PLACEHOLDER_EXPAND_STEPS + + texCoord -= shift * max(0.0, samples - 1.0) * 0.5; + + PLACEHOLDER_UNROLLED_LOOP + + gl_FragColor *= weight * qt_Opacity; + } + " + + function buildFragmentShader() { + var shader = "" + if (GraphicsInfo.profile === GraphicsInfo.OpenGLCoreProfile) + shader += "#version 150 core\n#define varying in\n#define texture2D texture\nout vec4 fragColor;\n#define gl_FragColor fragColor\n" + shader += fragmentShaderSkeleton + var expandSteps = "" + + if (transparentBorder) { + expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" + } + + var unrolledLoop = "gl_FragColor += texture2D(source, texCoord);\n" + + if (rootItem.samples > 1) { + unrolledLoop = "" + for (var i = 0; i < rootItem.samples; i++) + unrolledLoop += "gl_FragColor += texture2D(source, texCoord); texCoord += shift;\n" + } + + shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) + fragmentShader = shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop) + } + + onFragmentShaderChanged: sourceChanged() + onSamplesChanged: buildFragmentShader() + onTransparentBorderChanged: buildFragmentShader() + Component.onCompleted: buildFragmentShader() + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Displace.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Displace.qml new file mode 100644 index 00000000..34002229 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Displace.qml @@ -0,0 +1,190 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype Displace + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-distortion + \brief Moves the pixels of the source item according to the given + displacement map. + + \table + \header + \li Source + \li DisplacementSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image Displace_map.png + \li \image Displace_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet Displace-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item for the pixels that are going to + be displaced according to the data from + \l{Displace::displacementSource}{displacementSource}. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the item that is going to be used as the + displacement map. The displacementSource item gets rendered into the + intermediate pixel buffer. The red and green component values from the + result determine the displacement of the pixels from the source item. + + The format for the displacement map is similar to the tangent space + normal maps, which can be created with most 3D-modeling tools. Many + image processing tools include the support for generating normal maps. + Alternatively, the displacement map for this effect can also be a QML + element which is colored appropriately. Like any QML element, it can be + animated. It is recommended that the size of the diplacement map matches + the size of the \l{Displace::source}{source}. + + The displace data is interpreted in the RGBA format. For every pixel: + the red channel stores the x-axis displacement, and the green channel + stores the y-axis displacement. Blue and alpha channels are ignored for + this effect. + + Assuming that red channel value 1.0 is fully red (0.0 having no red at + all), this effect considers pixel component value 0.5 to cause no + displacement at all. Values above 0.5 shift pixels to the left, values + below 0.5 do the shift to the right. In a similar way, green channel + values above 0.5 displace the pixels upwards, and values below 0.5 shift + the pixels downwards. The actual amount of displacement in pixels + depends on the \l displacement property. + + */ + property variant displacementSource + + /*! + This property defines the scale for the displacement. The bigger scale, + the bigger the displacement of the pixels. The value set to 0.0 causes + no displacement. + + The value ranges from -1.0 (inverted maximum shift, according to + displacementSource) to 1.0 (maximum shift, according to + displacementSource). By default, the property is set to \c 0.0 (no + displacement). + + \table + \header + \li Output examples with different displacement values + \li + \li + \row + \li \image Displace_displacement1.png + \li \image Displace_displacement2.png + \li \image Displace_displacement3.png + \row + \li \b { displacement: -0.2 } + \li \b { displacement: 0.0 } + \li \b { displacement: 0.2 } + \endtable + + */ + property real displacement: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: displacementSourceProxy + input: rootItem.displacementSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant displacementSource: displacementSourceProxy.output + property real displacement: rootItem.displacement + property real xPixel: 1.0/width + property real yPixel: 1.0/height + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/displace.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/DropShadow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/DropShadow.qml new file mode 100644 index 00000000..0f30e5aa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/DropShadow.qml @@ -0,0 +1,362 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2017 Jolla Ltd, author: +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype DropShadow + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-drop-shadow + + \brief Generates a soft shadow behind the source item. + + The DropShadow effect blurs the alpha channel of the input, colorizes the + result and places it behind the source object to create a soft shadow. The + shadow's color can be changed using the \l {DropShadow::color}{color} + property. The location of the shadow can be changed with the \l + horizontalOffset and \l verticalOffset properties. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image DropShadow_butterfly.png + \endtable + + The soft shadow is created by blurring the image live using a gaussian + blur. Performing blur live is a costly operation. Fullscreen gaussian blur + with even a moderate number of samples will only run at 60 fps on highend + graphics hardware. + + When the source is static, the \l cached property can be set to allocate + another buffer to avoid performing the blur every time it is drawn. + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet DropShadow-example.qml example + +*/ +Item { + id: root + + DropShadowBase { + id: dbs + anchors.fill: parent + } + + /*! + This property defines the source item that is going to be used as the + source for the generated shadow. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property alias source: dbs.source + + /*! + \qmlproperty int DropShadow::radius + + Radius defines the softness of the shadow. A larger radius causes the + edges of the shadow to appear more blurry. + + The ideal blur is achieved by selecting \c samples and \c radius such + that \c {samples = 1 + radius * 2}, such as: + + \table + \header \li Radius \li Samples + \row \li 0 \e{(no blur)} \li 1 + \row \li 1 \li 3 + \row \li 2 \li 5 + \row \li 3 \li 7 + \endtable + + By default, the property is set to \c {floor(samples/2)}. + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image DropShadow_radius1.png + \li \image DropShadow_radius2.png + \li \image DropShadow_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 6 } + \li \b { radius: 12 } + \row + \li \l samples: 25 + \li \l samples: 25 + \li \l samples: 25 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + */ + property alias radius: dbs.radius; + + /*! + This property defines how many samples are taken per pixel when edge + softening blur calculation is done. Larger value produces better + quality, but is slower to render. + + Ideally, this value should be twice as large as the highest required + radius value plus one, such as: + + \table + \header \li Radius \li Samples + \row \li 0 \e{(no blur)} \li 1 + \row \li 1 \li 3 + \row \li 2 \li 5 + \row \li 3 \li 7 + \endtable + + By default, the property is set to \c 9. + + This property is not intended to be animated. Changing this property will + cause the underlying OpenGL shaders to be recompiled. + */ + property alias samples: dbs.samples + + /*! + This property defines the RGBA color value which is used for the shadow. + + By default, the property is set to \c "black". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image DropShadow_color1.png + \li \image DropShadow_color2.png + \li \image DropShadow_color3.png + \row + \li \b { color: #000000 } + \li \b { color: #0000ff } + \li \b { color: #aa000000 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 17 + \li \l samples: 17 + \li \l samples: 17 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + */ + property alias color: dbs.color + + /*! + \qmlproperty real QtGraphicalEffects::DropShadow::horizontalOffset + \qmlproperty real QtGraphicalEffects::DropShadow::verticalOffset + + HorizontalOffset and verticalOffset properties define the offset for the + rendered shadow compared to the DropShadow item position. Often, the + DropShadow item is anchored so that it fills the source element. In this + case, if the HorizontalOffset and verticalOffset properties are set to + 0, the shadow is rendered exactly under the source item. By changing the + offset properties, the shadow can be positioned relatively to the source + item. + + The values range from -inf to inf. By default, the properties are set to + \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image DropShadow_horizontalOffset1.png + \li \image DropShadow_horizontalOffset2.png + \li \image DropShadow_horizontalOffset3.png + \row + \li \b { horizontalOffset: -20 } + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 20 } + \row + \li \l radius: 4 + \li \l radius: 4 + \li \l radius: 4 + \row + \li \l samples: 9 + \li \l samples: 9 + \li \l samples: 9 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + */ + property alias horizontalOffset: dbs.horizontalOffset + property alias verticalOffset: dbs.verticalOffset + + /*! + This property defines how large part of the shadow color is strengthened + near the source edges. + + The value ranges from 0.0 to 1.0. By default, the property is set to \c + 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image DropShadow_spread1.png + \li \image DropShadow_spread2.png + \li \image DropShadow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 17 + \li \l samples: 17 + \li \l samples: 17 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \li \l verticalOffset: 20 + \endtable + */ + property alias spread: dbs.spread + + /*! + \internal + + Starting Qt 5.6, this property has no effect. It is left here + for source compatibility only. + + ### Qt 6: remove + */ + property bool fast: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. Every time the source or effect + properties are changed, the pixels in the cache must be updated. Memory + consumption is increased, because an extra buffer of memory is required + for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property alias cached: dbs.cached + + /*! + This property determines whether or not the effect has a transparent + border. + + When set to \c true, the exterior of the item is padded with a 1 pixel + wide transparent edge, making sampling outside the source texture use + transparency instead of the edge pixels. Without this property, an + image which has opaque edges will not get a blurred shadow. + + In the image below, the Rectangle on the left has transparent borders + and has blurred edges, whereas the Rectangle on the right does not: + + By default, this property is set to \c true. + + \snippet DropShadow-transparentBorder-example.qml example + + \image DropShadow-transparentBorder.png + */ + property alias transparentBorder: dbs.transparentBorder +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/FastBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/FastBlur.qml new file mode 100644 index 00000000..1d8a547d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/FastBlur.qml @@ -0,0 +1,442 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype FastBlur + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Applies a fast blur effect to one or more source items. + + FastBlur offers lower blur quality than + \l{QtGraphicalEffects::GaussianBlur}{GaussianBlur}, but it is faster to + render. The FastBlur effect softens the source content by blurring it with + algorithm which uses the source content downscaling and bilinear filtering. + Use this effect in situations where the source content is rapidly changing + and the highest possible blur quality is not + needed. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image FastBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + s + \section1 Example + + The following example shows how to apply the effect. + \snippet FastBlur-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the distance of the neighboring pixels which affect + the blurring of an individual pixel. A larger radius increases the blur + effect. FastBlur algorithm may internally reduce the accuracy of the radius in order to + provide good rendering performance. + + The value ranges from 0.0 (no blur) to inf. Visual quality of the blur is reduced when + radius exceeds value 64. By default, the property is set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different blur values + \li + \li + \row + \li \image FastBlur_radius1.png + \li \image FastBlur_radius2.png + \li \image FastBlur_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 32 } + \li \b { radius: 64 } + \endtable + */ + property real radius: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different transparentBorder values + \li + \li + \row + \li \image FastBlur_transparentBorder1.png + \li \image FastBlur_transparentBorder2.png + \row + \li \b { transparentBorder: false } + \li \b { transparentBorder: true } + \row + \li \l radius: 64 + \li \l radius: 64 + \endtable + */ + property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + sourceItem: shaderItem + live: true + hideSource: visible + smooth: rootItem.radius > 0 + } + + /*! \internal */ + property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.vert" + + /*! \internal */ + property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.frag" + + ShaderEffect { + id: level0 + property variant source: sourceProxy.output + anchors.fill: parent + visible: false + smooth: true + } + + ShaderEffectSource { + id: level1 + width: Math.ceil(shaderItem.width / 32) * 32 + height: Math.ceil(shaderItem.height / 32) * 32 + sourceItem: level0 + hideSource: rootItem.visible + sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0, 0, 0, 0) + visible: false + smooth: rootItem.radius > 0 + } + + ShaderEffect { + id: effect1 + property variant source: level1 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level2 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level2 + width: level1.width / 2 + height: level1.height / 2 + sourceItem: effect1 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect2 + property variant source: level2 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level3 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level3 + width: level2.width / 2 + height: level2.height / 2 + sourceItem: effect2 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect3 + property variant source: level3 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level4 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level4 + width: level3.width / 2 + height: level3.height / 2 + sourceItem: effect3 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect4 + property variant source: level4 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level5 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level5 + width: level4.width / 2 + height: level4.height / 2 + sourceItem: effect4 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect5 + property variant source: level5 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level6 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level6 + width: level5.width / 2 + height: level5.height / 2 + sourceItem: effect5 + hideSource: rootItem.visible + visible: false + smooth: true + } + + Item { + id: dummysource + width: 1 + height: 1 + visible: false + } + + ShaderEffectSource { + id: dummy + width: 1 + height: 1 + sourceItem: dummysource + visible: false + smooth: false + live: false + } + + ShaderEffect { + id: shaderItem + + property variant source1: level1 + property variant source2: level2 + property variant source3: level3 + property variant source4: level4 + property variant source5: level5 + property variant source6: level6 + property real lod: Math.sqrt(rootItem.radius / 64.0) * 1.2 - 0.2 + property real weight1 + property real weight2 + property real weight3 + property real weight4 + property real weight5 + property real weight6 + + x: transparentBorder ? -64 : 0 + y: transparentBorder ? -64 : 0 + width: transparentBorder ? parent.width + 128 : parent.width + height: transparentBorder ? parent.height + 128 : parent.height + + function weight(v) { + if (v <= 0.0) + return 1.0 + if (v >= 0.5) + return 0.0 + + return 1.0 - v * 2.0 + } + + function calculateWeights() { + + var w1 = weight(Math.abs(lod - 0.100)) + var w2 = weight(Math.abs(lod - 0.300)) + var w3 = weight(Math.abs(lod - 0.500)) + var w4 = weight(Math.abs(lod - 0.700)) + var w5 = weight(Math.abs(lod - 0.900)) + var w6 = weight(Math.abs(lod - 1.100)) + + var sum = w1 + w2 + w3 + w4 + w5 + w6; + weight1 = w1 / sum; + weight2 = w2 / sum; + weight3 = w3 / sum; + weight4 = w4 / sum; + weight5 = w5 / sum; + weight6 = w6 / sum; + + upateSources() + } + + function upateSources() { + var sources = new Array(); + var weights = new Array(); + + if (weight1 > 0) { + sources.push(level1) + weights.push(weight1) + } + + if (weight2 > 0) { + sources.push(level2) + weights.push(weight2) + } + + if (weight3 > 0) { + sources.push(level3) + weights.push(weight3) + } + + if (weight4 > 0) { + sources.push(level4) + weights.push(weight4) + } + + if (weight5 > 0) { + sources.push(level5) + weights.push(weight5) + } + + if (weight6 > 0) { + sources.push(level6) + weights.push(weight6) + } + + for (var j = sources.length; j < 6; j++) { + sources.push(dummy) + weights.push(0.0) + } + + source1 = sources[0] + source2 = sources[1] + source3 = sources[2] + source4 = sources[3] + source5 = sources[4] + source6 = sources[5] + + weight1 = weights[0] + weight2 = weights[1] + weight3 = weights[2] + weight4 = weights[3] + weight5 = weights[4] + weight6 = weights[5] + } + + Component.onCompleted: calculateWeights() + + onLodChanged: calculateWeights() + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/GammaAdjust.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/GammaAdjust.qml new file mode 100644 index 00000000..2c3edbb8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/GammaAdjust.qml @@ -0,0 +1,184 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype GammaAdjust + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the luminance of the source item. + + GammaAdjust is applied to each pixel according to the curve which is + pre-defined as a power-law expression, where the property gamma is used as the + reciprocal scaling exponent. Refer to the property documentation of \l{GammaAdjust::gamma}{gamma} + for more details. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image GammaAdjust_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet GammaAdjust-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item for which the luminance is going to be + adjusted. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the change factor for how the luminance of each pixel + is altered according to the equation: + + \code +luminance = pow(original_luminance, 1.0 / gamma); // The luminance is assumed to be between 0.0 and 1.0 + \endcode + + Setting the gamma values under 1.0 makes the image darker, the values + above 1.0 lighten it. + + The value ranges from 0.0 (darkest) to inf (lightest). By default, the + property is set to \c 1.0 (no change). + + \table + \header + \li Output examples with different gamma values + \li + \li + \row + \li \image GammaAdjust_gamma1.png + \li \image GammaAdjust_gamma2.png + \li \image GammaAdjust_gamma3.png + \row + \li \b { gamma: 0.5 } + \li \b { gamma: 1.0 } + \li \b { gamma: 2.0 } + \endtable + + \table + \header + \li Pixel luminance curves of the above images. + \li + \li + \row + \li \image GammaAdjust_gamma1_graph.png + \li \image GammaAdjust_gamma2_graph.png + \li \image GammaAdjust_gamma3_graph.png + \row + \li Red curve: default gamma (1.0) + \li + \li + \row + \li Yellow curve: effect applied + \li + \li + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: pixel luminance with effect applied + \li + \li + \endtable + + */ + property real gamma: 1.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real gamma: 1.0 / Math.max(rootItem.gamma, 0.0001) + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/gammaadjust.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/GaussianBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/GaussianBlur.qml new file mode 100644 index 00000000..4af97148 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/GaussianBlur.qml @@ -0,0 +1,372 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2017 Jolla Ltd, author: +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Window 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype GaussianBlur + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Applies a higher quality blur effect. + + GaussianBlur effect softens the image by blurring it with an algorithm that + uses the Gaussian function to calculate the effect. The effect produces + higher quality than \l{QtGraphicalEffects::FastBlur}{FastBlur}, but is + slower to render. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image GaussianBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet GaussianBlur-example.qml example + + Performing blur live is a costly operation. Fullscreen gaussian blur + with even a moderate number of samples will only run at 60 fps on highend + graphics hardware. + +*/ +Item { + id: root + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the distance of the neighboring pixels which + affect the blurring of an individual pixel. A larger radius increases + the blur effect. + + The ideal blur is achieved by selecting \c samples and \c radius such + that \c {samples = 1 + radius * 2}, such as: + + \table + \header \li Radius \li Samples + \row \li 0 \e{(no blur)} \li 1 + \row \li 1 \li 3 + \row \li 2 \li 5 + \row \li 3 \li 7 + \endtable + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c floor(samples / 2.0). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image GaussianBlur_radius1.png + \li \image GaussianBlur_radius2.png + \li \image GaussianBlur_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 4 } + \li \b { radius: 8 } + \row + \li \l samples: 16 + \li \l samples: 16 + \li \l samples: 16 + \row + \li \l deviation: 3 + \li \l deviation: 3 + \li \l deviation: 3 + \endtable + + */ + property real radius: Math.floor(samples / 2); + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + Ideally, this value should be twice as large as the highest required + radius value plus 1, for example, if the radius is animated between 0.0 + and 4.0, samples should be set to 9. + + By default, the property is set to \c 9. + + \note This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + */ + property int samples: 9 + + /*! + This property is a parameter to the gaussian function that is used when + calculating neighboring pixel weights for the blurring. A larger + deviation causes image to appear more blurry, but it also reduces the + quality of the blur. A very large deviation value causes the effect to + look a bit similar to what, for exmple, a box blur algorithm produces. A + too small deviation values makes the effect insignificant for the pixels + near the radius. + + \inlineimage GaussianBlur_deviation_graph.png + \caption The image above shows the Gaussian function with two different + deviation values, yellow (1) and cyan (2.7). The y-axis shows the + weights, the x-axis shows the pixel distance. + + The value ranges from 0.0 (no deviation) to inf (maximum deviation). By + default, devaition is binded to radius. When radius increases, deviation + is automatically increased linearly. With the radius value of 8, the + deviation default value becomes approximately 2.7034. This value + produces a compromise between the blur quality and overall blurriness. + + \table + \header + \li Output examples with different deviation values + \li + \li + \row + \li \image GaussianBlur_deviation1.png + \li \image GaussianBlur_deviation2.png + \li \image GaussianBlur_deviation3.png + \row + \li \b { deviation: 1 } + \li \b { deviation: 2 } + \li \b { deviation: 4 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 16 + \li \l samples: 16 + \li \l samples: 16 + \endtable + + */ + property real deviation: (radius + 1) / 3.3333 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different transparentBorder values + \li + \li + \row + \li \image GaussianBlur_transparentBorder1.png + \li \image GaussianBlur_transparentBorder2.png + \row + \li \b { transparentBorder: false } + \li \b { transparentBorder: true } + \row + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 16 + \li \l samples: 16 + \row + \li \l deviation: 2.7 + \li \l deviation: 2.7 + \endtable + */ + property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + + // private members... + /*! \internal */ + property int _paddedTexWidth: transparentBorder ? width + 2 * radius: width; + /*! \internal */ + property int _paddedTexHeight: transparentBorder ? height + 2 * radius: height; + /*! \internal */ + property int _kernelRadius: Math.max(0, samples / 2); + /*! \internal */ + property int _kernelSize: _kernelRadius * 2 + 1; + /*! \internal */ + property real _dpr: Screen.devicePixelRatio; + /*! \internal */ + property bool _alphaOnly: false; + /*! \internal */ + property var _maskSource: undefined + + /*! \internal */ + property alias _output: sourceProxy.output; + /*! \internal */ + property alias _outputRect: sourceProxy.sourceRect; + /*! \internal */ + property alias _color: verticalBlur.color; + /*! \internal */ + property real _thickness: 0; + + onSamplesChanged: _rebuildShaders(); + on_KernelSizeChanged: _rebuildShaders(); + onDeviationChanged: _rebuildShaders(); + on_DprChanged: _rebuildShaders(); + on_MaskSourceChanged: _rebuildShaders(); + Component.onCompleted: _rebuildShaders(); + + /*! \internal */ + function _rebuildShaders() { + var params = { + radius: _kernelRadius, + // Limit deviation to something very small avoid getting NaN in the shader. + deviation: Math.max(0.00001, deviation), + alphaOnly: root._alphaOnly, + masked: _maskSource != undefined, + fallback: root.radius != _kernelRadius + } + var shaders = ShaderBuilder.gaussianBlur(params); + horizontalBlur.fragmentShader = shaders.fragmentShader; + horizontalBlur.vertexShader = shaders.vertexShader; + } + + SourceProxy { + id: sourceProxy + interpolation: SourceProxy.LinearInterpolation + input: root.source + sourceRect: root.transparentBorder + ? Qt.rect(-root.radius, 0, root._paddedTexWidth, parent.height) + : Qt.rect(0, 0, 0, 0) + } + + ShaderEffect { + id: horizontalBlur + width: root.transparentBorder ? root._paddedTexWidth : root.width + height: root.height; + + // Used by all shaders + property Item source: sourceProxy.output; + property real spread: root.radius / root._kernelRadius; + property var dirstep: Qt.vector2d(1 / (root._paddedTexWidth * root._dpr), 0); + + // Used by fallback shader (sampleCount exceeds number of varyings) + property real deviation: root.deviation + + // Only in use for DropShadow and Glow + property color color: "white" + property real thickness: Math.max(0, Math.min(0.98, 1 - root._thickness * 0.98)); + + // Only in use for MaskedBlur + property var mask: root._maskSource; + + layer.enabled: true + layer.smooth: true + layer.sourceRect: root.transparentBorder + ? Qt.rect(0, -root.radius, width, root._paddedTexHeight) + : Qt.rect(0, 0, 0, 0) + visible: false + blending: false + } + + ShaderEffect { + id: verticalBlur + x: transparentBorder ? -root.radius : 0 + y: x; + width: root.transparentBorder ? root._paddedTexWidth: root.width + height: root.transparentBorder ? root._paddedTexHeight : root.height; + fragmentShader: horizontalBlur.fragmentShader + vertexShader: horizontalBlur.vertexShader + + property Item source: horizontalBlur + property real spread: horizontalBlur.spread + property var dirstep: Qt.vector2d(0, 1 / (root._paddedTexHeight * root._dpr)); + + property real deviation: horizontalBlur.deviation + + property color color: "black" + property real thickness: horizontalBlur.thickness; + + property var mask: horizontalBlur.mask; + + visible: true + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: verticalBlur + visible: root.cached + smooth: true + sourceItem: verticalBlur + hideSource: visible + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Glow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Glow.qml new file mode 100644 index 00000000..39e69a35 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/Glow.qml @@ -0,0 +1,294 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2017 Jolla Ltd, author: +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype Glow + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-glow + \brief Generates a halo like glow around the source item. + + The Glow effect blurs the alpha channel of the source and colorizes it + with \l {Glow::color}{color} and places it behind the source, resulting in a halo or glow + around the object. The quality of the blurred edge can be controlled using + \l samples and \l radius and the strength of the glow can be changed using + \l spread. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly_black.png + \li \image Glow_butterfly.png + \endtable + + The glow is created by blurring the image live using a gaussian blur. + Performing blur live is a costly operation. Fullscreen gaussian blur with + even a moderate number of samples will only run at 60 fps on highend + graphics hardware. + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet Glow-example.qml example + +*/ +Item { + id: root + + DropShadowBase { + id: dps + anchors.fill: parent + color: "white" + spread: 0.5 + horizontalOffset: 0 + verticalOffset: 0 + } + + /*! + This property defines the source item that is going to be used as source + for the generated glow. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property alias source: dps.source + + /*! + Radius defines the softness of the glow. A larger radius causes the + edges of the glow to appear more blurry. + + Depending on the radius value, value of the \l{Glow::samples}{samples} + should be set to sufficiently large to ensure the visual quality. + + The ideal blur is achieved by selecting \c samples and \c radius such + that \c {samples = 1 + radius * 2}, such as: + + \table + \header \li Radius \li Samples + \row \li 0 \e{(no blur)} \li 1 + \row \li 1 \li 3 + \row \li 2 \li 5 + \row \li 3 \li 7 + \endtable + + By default, the property is set to \c {floor(samples/2)}. + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image Glow_radius1.png + \li \image Glow_radius2.png + \li \image Glow_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 6 } + \li \b { radius: 12 } + \row + \li \l samples: 25 + \li \l samples: 25 + \li \l samples: 25 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + */ + property alias radius: dps.radius + + /*! + This property defines how many samples are taken per pixel when edge + softening blur calculation is done. Larger value produces better + quality, but is slower to render. + + Ideally, this value should be twice as large as the highest required + radius value plus one, such as: + + \table + \header \li Radius \li Samples + \row \li 0 \e{(no blur)} \li 1 + \row \li 1 \li 3 + \row \li 2 \li 5 + \row \li 3 \li 7 + \endtable + + By default, the property is set to \c 9. + + This property is not intended to be animated. Changing this property will + cause the underlying OpenGL shaders to be recompiled. + */ + property alias samples: dps.samples + + /*! + This property defines how large part of the glow color is strengthened + near the source edges. + + The values range from 0.0 to 1.0. By default, the property is set to \c + 0.5. + + \note The implementation is optimized for medium and low spread values. + Depending on the source, spread values closer to 1.0 may yield visually + asymmetrical results. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image Glow_spread1.png + \li \image Glow_spread2.png + \li \image Glow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 17 + \li \l samples: 17 + \li \l samples: 17 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \endtable + */ + property alias spread: dps.spread + + /*! + This property defines the RGBA color value which is used for the glow. + + By default, the property is set to \c "white". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image Glow_color1.png + \li \image Glow_color2.png + \li \image Glow_color3.png + \row + \li \b { color: #ffffff } + \li \b { color: #00ff00 } + \li \b { color: #aa00ff00 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 17 + \li \l samples: 17 + \li \l samples: 17 + \row + \li \l spread: 0.5 + \li \l spread: 0.5 + \li \l spread: 0.5 + \endtable + + */ + property alias color: dps.color + + /*! + \internal + + Starting Qt 5.6, this property has no effect. It is left here + for source compatibility only. + + ### Qt 6: remove + */ + property bool fast: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property alias cached: dps.cached + + /*! + This property determines whether or not the effect has a transparent + border. + + When set to \c true, the exterior of the item is padded with a + transparent edge, making sampling outside the source texture use + transparency instead of the edge pixels. Without this property, an + image which has opaque edges will not get a blurred edge. + + By default, the property is set to \c true. Set it to false if the source + already has a transparent edge to make the blurring a tiny bit faster. + + In the snippet below, the Rectangle on the left has transparent borders + and has blurred edges, whereas the Rectangle on the right does not. + + \snippet Glow-transparentBorder-example.qml example + + \image Glow-transparentBorder.png + */ + property alias transparentBorder: dps.transparentBorder +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/HueSaturation.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/HueSaturation.qml new file mode 100644 index 00000000..eb13dcb6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/HueSaturation.qml @@ -0,0 +1,224 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype HueSaturation + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the source item colors in the HSL color space. + + HueSaturation is similar to the \l{QtGraphicalEffects::Colorize}{Colorize} + effect, but the hue and saturation property values are handled differently. + The HueSaturation effect always shifts the hue, saturation, and lightness + from the original, instead of setting them. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image HueSaturation_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet HueSaturation-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source: 0 + + /*! + This property defines the hue value which is added to the source hue + value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different hue values + \li + \li + \row + \li \image HueSaturation_hue1.png + \li \image HueSaturation_hue2.png + \li \image HueSaturation_hue3.png + \row + \li \b { hue: -0.3 } + \li \b { hue: 0.0 } + \li \b { hue: 0.3 } + \row + \li \l saturation: 0 + \li \l saturation: 0 + \li \l saturation: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + + */ + property real hue: 0.0 + + /*! + This property defines the saturation value value which is added to the + source saturation value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different saturation values + \li + \li + \row + \li \image HueSaturation_saturation1.png + \li \image HueSaturation_saturation2.png + \li \image HueSaturation_saturation3.png + \row + \li \b { saturation: -0.8 } + \li \b { saturation: 0.0 } + \li \b { saturation: 1.0 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + + */ + property real saturation: 0.0 + + /*! + This property defines the lightness value which is added to the source + saturation value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different lightness values + \li + \li + \row + \li \image HueSaturation_lightness1.png + \li \image HueSaturation_lightness2.png + \li \image HueSaturation_lightness3.png + \row + \li \b { lightness: -0.5 } + \li \b { lightness: 0.0 } + \li \b { lightness: 0.5 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l saturation: 0 + \li \l saturation: 0 + \li \l saturation: 0 + \endtable + + */ + property real lightness: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant hsl: Qt.vector3d(rootItem.hue, rootItem.saturation, rootItem.lightness) + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/huesaturation.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/InnerShadow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/InnerShadow.qml new file mode 100644 index 00000000..7a388e34 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/InnerShadow.qml @@ -0,0 +1,386 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype InnerShadow + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-drop-shadow + \brief Generates a colorized and blurred shadow inside the + source. + + By default the effect produces a high quality shadow image, thus the + rendering speed of the shadow might not be the highest possible. The + rendering speed is reduced especially if the shadow edges are heavily + softened. For use cases that require faster rendering speed and for which + the highest possible visual quality is not necessary, property + \l{InnerShadow::fast}{fast} can be set to true. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image InnerShadow_butterfly.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet InnerShadow-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be used as the + source for the generated shadow. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + Radius defines the softness of the shadow. A larger radius causes the + edges of the shadow to appear more blurry. + + Depending on the radius value, value of the + \l{InnerShadow::samples}{samples} should be set to sufficiently large to + ensure the visual quality. + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image InnerShadow_radius1.png + \li \image InnerShadow_radius2.png + \li \image InnerShadow_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 6 } + \li \b { radius: 12 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + + */ + property real radius: 0.0 + + /*! + This property defines how many samples are taken per pixel when edge + softening blur calculation is done. Larger value produces better + quality, but is slower to render. + + Ideally, this value should be twice as large as the highest required + radius value, for example, if the radius is animated between 0.0 and + 4.0, samples should be set to 8. + + The value ranges from 0 to 32. By default, the property is set to \c 0. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + When \l{InnerShadow::fast}{fast} property is set to true, this property + has no effect. + + */ + property int samples: 0 + + /*! + This property defines how large part of the shadow color is strengthened + near the source edges. + + The value ranges from 0.0 to 1.0. By default, the property is set to \c + 0.5. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image InnerShadow_spread1.png + \li \image InnerShadow_spread2.png + \li \image InnerShadow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.3 } + \li \b { spread: 0.5 } + \row + \li \l radius: 16 + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + */ + property real spread: 0.0 + + /*! + This property defines the RGBA color value which is used for the shadow. + + By default, the property is set to \c "black". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image InnerShadow_color1.png + \li \image InnerShadow_color2.png + \li \image InnerShadow_color3.png + \row + \li \b { color: #000000 } + \li \b { color: #ffffff } + \li \b { color: #ff0000 } + \row + \li \l radius: 16 + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0.2 + \li \l spread: 0.2 + \li \l spread: 0.2 + \endtable + */ + property color color: "black" + + /*! + \qmlproperty real QtGraphicalEffects::InnerShadow::horizontalOffset + \qmlproperty real QtGraphicalEffects::InnerShadow::verticalOffset + + HorizontalOffset and verticalOffset properties define the offset for the + rendered shadow compared to the InnerShadow item position. Often, the + InnerShadow item is anchored so that it fills the source element. In + this case, if the HorizontalOffset and verticalOffset properties are set + to 0, the shadow is rendered fully inside the source item. By changing + the offset properties, the shadow can be positioned relatively to the + source item. + + The values range from -inf to inf. By default, the properties are set to + \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image InnerShadow_horizontalOffset1.png + \li \image InnerShadow_horizontalOffset2.png + \li \image InnerShadow_horizontalOffset3.png + \row + \li \b { horizontalOffset: -20 } + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 20 } + \row + \li \l radius: 16 + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + + */ + property real horizontalOffset: 0 + property real verticalOffset: 0 + + /*! + This property selects the blurring algorithm that is used to produce the + softness for the effect. Setting this to true enables fast algorithm, + setting value to false produces higher quality result. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different fast values + \li + \li + \row + \li \image InnerShadow_fast1.png + \li \image InnerShadow_fast2.png + \row + \li \b { fast: false } + \li \b { fast: true } + \row + \li \l radius: 16 + \li \l radius: 16 + \row + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l spread: 0.2 + \li \l spread: 0.2 + \endtable + */ + property bool fast: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. Every time the source or effect + properties are changed, the pixels in the cache must be updated. Memory + consumption is increased, because an extra buffer of memory is required + for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + Loader { + anchors.fill: parent + sourceComponent: rootItem.fast ? innerShadow : gaussianInnerShadow + } + + Component { + id: gaussianInnerShadow + GaussianInnerShadow { + anchors.fill: parent + source: rootItem.source + radius: rootItem.radius + maximumRadius: rootItem.samples * 0.5 + color: rootItem.color + cached: rootItem.cached + spread: rootItem.spread + horizontalOffset: rootItem.horizontalOffset + verticalOffset: rootItem.verticalOffset + } + } + + Component { + id: innerShadow + FastInnerShadow { + anchors.fill: parent + source: rootItem.source + blur: Math.pow(rootItem.radius / 64.0, 0.4) + color: rootItem.color + cached: rootItem.cached + spread: rootItem.spread + horizontalOffset: rootItem.horizontalOffset + verticalOffset: rootItem.verticalOffset + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/LevelAdjust.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/LevelAdjust.qml new file mode 100644 index 00000000..b98facaa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/LevelAdjust.qml @@ -0,0 +1,440 @@ +/***************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Add-On Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +*****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype LevelAdjust + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Adjusts color levels in the RGBA color space. + + This effect adjusts the source item colors separately for each color + channel. Source item contrast can be adjusted and color balance altered. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image LevelAdjust_butterfly.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet LevelAdjust-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the change factor for how the value of each pixel + color channel is altered according to the equation: + + \code + result.rgb = pow(original.rgb, 1.0 / gamma.rgb); + \endcode + + Setting the gamma values under QtVector3d(1.0, 1.0, 1.0) makes the image + darker, the values above QtVector3d(1.0, 1.0, 1.0) lighten it. + + The value ranges from QtVector3d(0.0, 0.0, 0.0) (darkest) to inf + (lightest). By default, the property is set to \c QtVector3d(1.0, 1.0, + 1.0) (no change). + + \table + \header + \li Output examples with different gamma values + \li + \li + \row + \li \image LevelAdjust_gamma1.png + \li \image LevelAdjust_gamma2.png + \li \image LevelAdjust_gamma3.png + \row + \li \b { gamma: Qt.vector3d(1.0, 1.0, 1.0) } + \li \b { gamma: Qt.vector3d(1.0, 0.4, 2.0) } + \li \b { gamma: Qt.vector3d(1.0, 0.1, 4.0) } + \row + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \row + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \row + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \row + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_gamma2_curve.png + \li \image LevelAdjust_gamma3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + */ + property variant gamma: Qt.vector3d(1.0, 1.0, 1.0) + + /*! + This property defines the minimum input level for each color channel. It + sets the black-point, all pixels having lower value than this property + are rendered as black (per color channel). Increasing the value darkens + the dark areas. + + The value ranges from "#00000000" to "#ffffffff". By default, the + property is set to \c "#00000000" (no change). + + \table + \header + \li Output examples with different minimumInput values + \li + \li + \row + \li \image LevelAdjust_minimumInput1.png + \li \image LevelAdjust_minimumInput2.png + \li \image LevelAdjust_minimumInput3.png + \row + \li \b { minimumInput: #00000000 } + \li \b { minimumInput: #00000040 } + \li \b { minimumInput: #00000070 } + \row + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \row + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \row + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \row + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_minimumInput2_curve.png + \li \image LevelAdjust_minimumInput3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + + */ + property color minimumInput: Qt.rgba(0.0, 0.0, 0.0, 0.0) + + /*! + This property defines the maximum input level for each color channel. + It sets the white-point, all pixels having higher value than this + property are rendered as white (per color channel). + Decreasing the value lightens the light areas. + + The value ranges from "#ffffffff" to "#00000000". By default, the + property is set to \c "#ffffffff" (no change). + + \table + \header + \li Output examples with different maximumInput values + \li + \li + \row + \li \image LevelAdjust_maximumInput1.png + \li \image LevelAdjust_maximumInput2.png + \li \image LevelAdjust_maximumInput3.png + \row + \li \b { maximumInput: #FFFFFFFF } + \li \b { maximumInput: #FFFFFF80 } + \li \b { maximumInput: #FFFFFF30 } + \row + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \row + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \row + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \row + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_maximumInput2_curve.png + \li \image LevelAdjust_maximumInput3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + + */ + property color maximumInput: Qt.rgba(1.0, 1.0, 1.0, 1.0) + + /*! + This property defines the minimum output level for each color channel. + Increasing the value lightens the dark areas, reducing the contrast. + + The value ranges from "#00000000" to "#ffffffff". By default, the + property is set to \c "#00000000" (no change). + + \table + \header + \li Output examples with different minimumOutput values + \li + \li + \row + \li \image LevelAdjust_minimumOutput1.png + \li \image LevelAdjust_minimumOutput2.png + \li \image LevelAdjust_minimumOutput3.png + \row + \li \b { minimumOutput: #00000000 } + \li \b { minimumOutput: #00000070 } + \li \b { minimumOutput: #000000A0 } + \row + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \row + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \row + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \li \l maximumOutput: #ffffff + \row + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_minimumOutput2_curve.png + \li \image LevelAdjust_minimumOutput3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + + */ + property color minimumOutput: Qt.rgba(0.0, 0.0, 0.0, 0.0) + + /*! + This property defines the maximum output level for each color channel. + Decreasing the value darkens the light areas, reducing the contrast. + + The value ranges from "#ffffffff" to "#00000000". By default, the + property is set to \c "#ffffffff" (no change). + + \table + \header + \li Output examples with different maximumOutput values + \li + \li + \row + \li \image LevelAdjust_maximumOutput1.png + \li \image LevelAdjust_maximumOutput2.png + \li \image LevelAdjust_maximumOutput3.png + \row + \li \b { maximumOutput: #FFFFFFFF } + \li \b { maximumOutput: #FFFFFF80 } + \li \b { maximumOutput: #FFFFFF30 } + \row + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \li \l minimumInput: #000000 + \row + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \li \l maximumInput: #ffffff + \row + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \li \l minimumOutput: #000000 + \row + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \li \l gamma: Qt.vector3d(1.0, 1.0, 1.0) + \endtable + + \table + \header + \li Pixel color channel luminance curves of the above images. + \li + \li + \row + \li \image LevelAdjust_default_curve.png + \li \image LevelAdjust_maximumOutput2_curve.png + \li \image LevelAdjust_maximumOutput3_curve.png + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: color channel luminance with effect applied + \li + \li + \endtable + */ + property color maximumOutput: Qt.rgba(1.0, 1.0, 1.0, 1.0) + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant minimumInputRGB: Qt.vector3d(rootItem.minimumInput.r, rootItem.minimumInput.g, rootItem.minimumInput.b) + property variant maximumInputRGB: Qt.vector3d(rootItem.maximumInput.r, rootItem.maximumInput.g, rootItem.maximumInput.b) + property real minimumInputAlpha: rootItem.minimumInput.a + property real maximumInputAlpha: rootItem.maximumInput.a + property variant minimumOutputRGB: Qt.vector3d(rootItem.minimumOutput.r, rootItem.minimumOutput.g, rootItem.minimumOutput.b) + property variant maximumOutputRGB: Qt.vector3d(rootItem.maximumOutput.r, rootItem.maximumOutput.g, rootItem.maximumOutput.b) + property real minimumOutputAlpha: rootItem.minimumOutput.a + property real maximumOutputAlpha: rootItem.maximumOutput.a + property variant gamma: Qt.vector3d(1.0 / Math.max(rootItem.gamma.x, 0.0001), 1.0 / Math.max(rootItem.gamma.y, 0.0001), 1.0 / Math.max(rootItem.gamma.z, 0.0001)) + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/leveladjust.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/LinearGradient.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/LinearGradient.qml new file mode 100644 index 00000000..1f73a218 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/LinearGradient.qml @@ -0,0 +1,323 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype LinearGradient + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-gradient + \brief Draws a linear gradient. + + A gradient is defined by two or more colors, which are blended seamlessly. + The colors start from the given start point and end to the given end point. + + \table + \header + \li Effect applied + \row + \li \image LinearGradient.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet LinearGradient-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the starting point where the color at gradient + position of 0.0 is rendered. Colors at larger position values are + rendered linearly towards the end point. The point is given in pixels + and the default value is Qt.point(0, 0). Setting the default values for + the start and \l{LinearGradient::end}{end} results in a full height + linear gradient on the y-axis. + + \table + \header + \li Output examples with different start values + \li + \li + \row + \li \image LinearGradient_start1.png + \li \image LinearGradient_start2.png + \li \image LinearGradient_start3.png + \row + \li \b { start: QPoint(0, 0) } + \li \b { start: QPoint(150, 150) } + \li \b { start: QPoint(300, 0) } + \row + \li \l end: QPoint(300, 300) + \li \l end: QPoint(300, 300) + \li \l end: QPoint(300, 300) + \endtable + + */ + property variant start: Qt.point(0, 0) + + /*! + This property defines the ending point where the color at gradient + position of 1.0 is rendered. Colors at smaller position values are + rendered linearly towards the start point. The point is given in pixels + and the default value is Qt.point(0, height). Setting the default values + for the \l{LinearGradient::start}{start} and end results in a full + height linear gradient on the y-axis. + + \table + \header + \li Output examples with different end values + \li + \li + \row + \li \image LinearGradient_end1.png + \li \image LinearGradient_end2.png + \li \image LinearGradient_end3.png + \row + \li \b { end: Qt.point(300, 300) } + \li \b { end: Qt.point(150, 150) } + \li \b { end: Qt.point(300, 0) } + \row + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \endtable + + */ + property variant end: Qt.point(0, height) + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + /*! + This property defines the item that is going to be filled with gradient. + Source item gets rendered into an intermediate pixel buffer and the + alpha values from the result are used to determine the gradient's pixels + visibility in the display. The default value for source is undefined and + in that case whole effect area is filled with gradient. + + \table + \header + \li Output examples with different source values + \li + \li + \row + \li \image LinearGradient_maskSource1.png + \li \image LinearGradient_maskSource2.png + \row + \li \b { source: undefined } + \li \b { source: Image { source: images/butterfly.png } } + \row + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \row + \li \l end: Qt.point(300, 300) + \li \l end: Qt.point(300, 300) + \endtable + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + + /*! + A gradient is defined by two or more colors, which are blended + seamlessly. The colors are specified as a set of GradientStop child + items, each of which defines a position on the gradient from 0.0 to 1.0 + and a color. The position of each GradientStop is defined by the + position property, and the color is definded by the color property. + + \table + \header + \li Output examples with different gradient values + \li + \li + \row + \li \image LinearGradient_gradient1.png + \li \image LinearGradient_gradient2.png + \li \image LinearGradient_gradient3.png + \row + \li \b {gradient:} \code + Gradient { + GradientStop { + position: 0.000 + color: Qt.rgba(1, 0, 0, 1) + } + GradientStop { + position: 0.167 + color: Qt.rgba(1, 1, 0, 1) + } + GradientStop { + position: 0.333 + color: Qt.rgba(0, 1, 0, 1) + } + GradientStop { + position: 0.500 + color: Qt.rgba(0, 1, 1, 1) + } + GradientStop { + position: 0.667 + color: Qt.rgba(0, 0, 1, 1) + } + GradientStop { + position: 0.833 + color: Qt.rgba(1, 0, 1, 1) + } + GradientStop { + position: 1.000 + color: Qt.rgba(1, 0, 0, 1) + } + } + \endcode + \li \b {gradient:} \code + Gradient { + GradientStop { + position: 0.0 + color: "#F0F0F0" + } + GradientStop { + position: 0.5 + color: "#000000" + } + GradientStop { + position: 1.0 + color: "#F0F0F0" + } + } + \endcode + \li \b {gradient:} \code + Gradient { + GradientStop { + position: 0.0 + color: "#00000000" + } + GradientStop { + position: 1.0 + color: "#FF000000" + } + } + \endcode + \row + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \li \l start: Qt.point(0, 0) + \row + \li \l end: Qt.point(300, 300) + \li \l end: Qt.point(300, 300) + \li \l end: Qt.point(300, 300) + \endtable + + */ + property Gradient gradient: Gradient { + GradientStop { position: 0.0; color: "white" } + GradientStop { position: 1.0; color: "black" } + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: gradientSource + sourceItem: Rectangle { + width: 16 + height: 256 + gradient: rootItem.gradient + smooth: true + } + smooth: true + hideSource: true + visible: false + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + + anchors.fill: parent + + property variant source: gradientSource + property variant maskSource: maskSourceProxy.output + property variant startPoint: Qt.point(start.x / width, start.y / height) + property real dx: end.x - start.x + property real dy: end.y - start.y + property real l: 1.0 / Math.sqrt(Math.pow(dx / width, 2.0) + Math.pow(dy / height, 2.0)) + property real angle: Math.atan2(dx, dy) + property variant matrixData: Qt.point(Math.sin(angle), Math.cos(angle)) + + vertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/lineargradient.vert" + + fragmentShader: maskSource == undefined ? noMaskShader : maskShader + + onFragmentShaderChanged: lChanged() + + property string maskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/lineargradient_mask.frag" + property string noMaskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/lineargradient_nomask.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/MaskedBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/MaskedBlur.qml new file mode 100644 index 00000000..d777b0ae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/MaskedBlur.qml @@ -0,0 +1,218 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2017 Jolla Ltd, author: +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype MaskedBlur + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Applies a blur effect with a varying intesity. + + MaskedBlur effect softens the image by blurring it. The intensity of the + blur can be controlled for each pixel using maskSource so that some parts of + the source are blurred more than others. + + Performing blur live is a costly operation. Fullscreen gaussian blur + with even a moderate number of samples will only run at 60 fps on highend + graphics hardware. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image MaskedBlur_mask.png + \li \image MaskedBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet MaskedBlur-example.qml example + +*/ +Item { + id: root + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property alias source: blur.source + + /*! + This property defines the item that is controlling the final intensity + of the blur. The pixel alpha channel value from maskSource defines the + actual blur radius that is going to be used for blurring the + corresponding source pixel. + + Opaque maskSource pixels produce blur with specified + \l{MaskedBlur::radius}{radius}, while transparent pixels suppress the + blur completely. Semitransparent maskSource pixels produce blur with a + radius that is interpolated according to the pixel transparency level. + */ + property alias maskSource: maskProxy.input + + /*! + This property defines the distance of the neighboring pixels which + affect the blurring of an individual pixel. A larger radius increases + the blur effect. + + Depending on the radius value, value of the + \l{MaskedBlur::samples}{samples} should be set to sufficiently large to + ensure the visual quality. + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image MaskedBlur_radius1.png + \li \image MaskedBlur_radius2.png + \li \image MaskedBlur_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 8 } + \li \b { radius: 16 } + \row + \li \l samples: 25 + \li \l samples: 25 + \li \l samples: 25 + \endtable + + */ + property alias radius: blur.radius + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + Ideally, this value should be twice as large as the highest required + radius value plus 1, for example, if the radius is animated between 0.0 + and 4.0, samples should be set to 9. + + By default, the property is set to \c 9. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + */ + property alias samples: blur.samples + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. Every time the source or effect + properties are changed, the pixels in the cache must be updated. Memory + consumption is increased, because an extra buffer of memory is required + for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property alias cached: cacheItem.visible + + /*! + \internal + + Kept for source compatibility only. Removed in Qt 5.6 + ### Qt6: remove + */ + property bool fast: false + + /*! + \internal + + Kept for source compatibility only. Removed in Qt 5.6 + + Doing transparent border on a masked source doesn't make any sense + as the padded exterior will have a mask alpha value of 0 which means + no blurring and as the padded exterior of the source is a transparent + pixel, the result is no pixels at all. + + In Qt 5.6 and before, this worked based on that the mask source + was scaled up to fit the padded blur target rect, which would lead + to inconsistent and buggy results. + + ### Qt6: remove + */ + property bool transparentBorder; + + GaussianBlur { + id: blur + + source: root.source; + anchors.fill: parent + _maskSource: maskProxy.output; + + SourceProxy { + id: maskProxy + } + } + + ShaderEffectSource { + id: cacheItem + x: -blur._kernelRadius + y: -blur._kernelRadius + width: blur.width + 2 * blur._kernelRadius + height: blur.height + 2 * blur._kernelRadius + visible: false + smooth: true + sourceRect: Qt.rect(-blur._kernelRadius, -blur._kernelRadius, width, height); + sourceItem: blur + hideSource: visible + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/OpacityMask.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/OpacityMask.qml new file mode 100644 index 00000000..7dffb6d4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/OpacityMask.qml @@ -0,0 +1,162 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype OpacityMask + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-mask + \brief Masks the source item with another item. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image OpacityMask_mask.png + \li \image OpacityMask_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet OpacityMask-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be masked. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the item that is going to be used as the mask. The + mask item gets rendered into an intermediate pixel buffer and the alpha + values from the result are used to determine the source item's pixels + visibility in the display. + + \table + \header + \li Original + \li Mask + \li Effect applied + \row + \li \image Original_bug.png + \li \image OpacityMask_mask.png + \li \image OpacityMask_bug.png + \endtable + */ + property variant maskSource + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + \note It is not supported to let the effect include itself, for + instance by setting maskSource to the effect's parent. + */ + property bool cached: false + + /*! + This property controls how the alpha values of the sourceMask will behave. + + If this property is \c false, the resulting opacity is the source alpha + multiplied with the mask alpha, \c{As * Am}. + + If this property is \c true, the resulting opacity is the source alpha + multiplied with the inverse of the mask alpha, \c{As * (1 - Am)}. + + The default is \c false. + + \since 5.7 + */ + property bool invert: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant maskSource: maskSourceProxy.output + + anchors.fill: parent + + fragmentShader: invert ? "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/opacitymask_invert.frag" : "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/opacitymask.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RadialBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RadialBlur.qml new file mode 100644 index 00000000..71d3b648 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RadialBlur.qml @@ -0,0 +1,316 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype RadialBlur + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies directional blur in a circular direction around the items + center point. + + Effect creates perceived impression that the source item appears to be + rotating to the direction of the blur. + + Other available motionblur effects are + \l{QtGraphicalEffects::ZoomBlur}{ZoomBlur} and + \l{QtGraphicalEffects::DirectionalBlur}{DirectionalBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image RadialBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example Usage + + The following example shows how to apply the effect. + \snippet RadialBlur-example.qml example +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the direction for the blur and at the same time + the level of blurring. The larger the angle, the more the result becomes + blurred. The quality of the blur depends on + \l{RadialBlur::samples}{samples} property. If angle value is large, more + samples are needed to keep the visual quality at high level. + + Allowed values are between 0.0 and 360.0. By default the property is set + to \c 0.0. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image RadialBlur_angle1.png + \li \image RadialBlur_angle2.png + \li \image RadialBlur_angle3.png + \row + \li \b { angle: 0.0 } + \li \b { angle: 15.0 } + \li \b { angle: 30.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ + property real angle: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ + property int samples: 0 + + /*! + \qmlproperty real QtGraphicalEffects::RadialBlur::horizontalOffset + \qmlproperty real QtGraphicalEffects::RadialBlur::verticalOffset + + These properties define the offset in pixels for the perceived center + point of the rotation. + + Allowed values are between -inf and inf. + By default these properties are set to \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image RadialBlur_horizontalOffset1.png + \li \image RadialBlur_horizontalOffset2.png + \li \image RadialBlur_horizontalOffset3.png + \row + \li \b { horizontalOffset: 75.0 } + \li \b { horizontalOffset: 0.0 } + \li \b { horizontalOffset: -75.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l angle: 20 + \li \l angle: 20 + \li \l angle: 20 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ + property real horizontalOffset: 0.0 + property real verticalOffset: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + */ + property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: shaderItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant center: Qt.point(0.5 + rootItem.horizontalOffset / parent.width, 0.5 + rootItem.verticalOffset / parent.height) + property bool transparentBorder: rootItem.transparentBorder && rootItem.samples > 1 + property int samples: rootItem.samples + property real weight: 1.0 / Math.max(1.0, rootItem.samples) + property real angleSin: Math.sin(rootItem.angle/2 * Math.PI/180) + property real angleCos: Math.cos(rootItem.angle/2 * Math.PI/180) + property real angleSinStep: Math.sin(-rootItem.angle * Math.PI/180 / Math.max(1.0, rootItem.samples - 1)) + property real angleCosStep: Math.cos(-rootItem.angle * Math.PI/180 / Math.max(1.0, rootItem.samples - 1)) + property variant expandPixels: transparentBorder ? Qt.size(0.5 * parent.height, 0.5 * parent.width) : Qt.size(0,0) + property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) + property variant delta: Qt.size(1.0 / rootItem.width, 1.0 / rootItem.height) + property real w: parent.width + property real h: parent.height + + x: transparentBorder ? -expandPixels.width - 1 : 0 + y: transparentBorder ? -expandPixels.height - 1 : 0 + width: transparentBorder ? parent.width + expandPixels.width * 2.0 + 2 : parent.width + height: transparentBorder ? parent.height + expandPixels.height * 2.0 + 2 : parent.height + + property string fragmentShaderSkeleton: " + varying highp vec2 qt_TexCoord0; + uniform highp float qt_Opacity; + uniform lowp sampler2D source; + uniform highp float angleSin; + uniform highp float angleCos; + uniform highp float angleSinStep; + uniform highp float angleCosStep; + uniform highp float weight; + uniform highp vec2 expand; + uniform highp vec2 center; + uniform highp vec2 delta; + uniform highp float w; + uniform highp float h; + + void main(void) { + highp mat2 m; + gl_FragColor = vec4(0.0); + mediump vec2 texCoord = qt_TexCoord0; + + PLACEHOLDER_EXPAND_STEPS + + highp vec2 dir = vec2(texCoord.s * w - w * center.x, texCoord.t * h - h * center.y); + m[0] = vec2(angleCos, -angleSin); + m[1] = vec2(angleSin, angleCos); + dir *= m; + + m[0] = vec2(angleCosStep, -angleSinStep); + m[1] = vec2(angleSinStep, angleCosStep); + + PLACEHOLDER_UNROLLED_LOOP + + gl_FragColor *= weight * qt_Opacity; + } + " + + function buildFragmentShader() { + var shader = "" + if (GraphicsInfo.profile == GraphicsInfo.OpenGLCoreProfile) + shader += "#version 150 core\n#define varying in\n#define gl_FragColor fragColor\n#define texture2D texture\nout vec4 fragColor;\n" + shader += fragmentShaderSkeleton + var expandSteps = "" + + if (transparentBorder) { + expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" + } + + var unrolledLoop = "gl_FragColor += texture2D(source, texCoord);\n" + + if (rootItem.samples > 1) { + unrolledLoop = "" + for (var i = 0; i < rootItem.samples; i++) + unrolledLoop += "gl_FragColor += texture2D(source, center + dir * delta); dir *= m;\n" + } + + shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) + fragmentShader = shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop) + } + + onFragmentShaderChanged: sourceChanged() + onSamplesChanged: buildFragmentShader() + onTransparentBorderChanged: buildFragmentShader() + Component.onCompleted: buildFragmentShader() + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RadialGradient.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RadialGradient.qml new file mode 100644 index 00000000..52b3ff3e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RadialGradient.qml @@ -0,0 +1,410 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype RadialGradient + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-gradient + \brief Draws a radial gradient. + + A gradient is defined by two or more colors, which are blended seamlessly. + The colors start from the middle of the item and end at the borders. + + \table + \header + \li Effect applied + \row + \li \image RadialGradient.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet RadialGradient-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + /*! + \qmlproperty real RadialGradient::horizontalOffset + \qmlproperty real RadialGradient::verticalOffset + + The horizontalOffset and verticalOffset properties define the offset in + pixels for the center point of the gradient compared to the item center. + + The values range from -inf to inf. By default, these properties are set + to \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image RadialGradient_horizontalOffset1.png + \li \image RadialGradient_horizontalOffset2.png + \li \image RadialGradient_horizontalOffset3.png + \row + \li \b { horizontalOffset: -150 } + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 150 } + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \endtable + + */ + property real horizontalOffset: 0.0 + property real verticalOffset: 0.0 + + /*! + \qmlproperty real RadialGradient::horizontalRadius + \qmlproperty real RadialGradient::verticalRadius + + The horizontalRadius and verticalRadius properties define the shape and + size of the radial gradient. If the radiuses are equal, the shape of the + gradient is a circle. If the horizontal and vertical radiuses differ, + the shape is elliptical. The radiuses are given in pixels. + + The value ranges from -inf to inf. By default, horizontalRadius is bound + to width and verticalRadius is bound to height. + + \table + \header + \li Output examples with different horizontalRadius values + \li + \li + \row + \li \image RadialGradient_horizontalRadius1.png + \li \image RadialGradient_horizontalRadius2.png + \row + \li \b { horizontalRadius: 300 } + \li \b { horizontalRadius: 100 } + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \row + \li \l angle: 0 + \li \l angle: 0 + \row + \li \l gradient: QQuickGradient(0xa05fb10) + \li \l gradient: QQuickGradient(0xa05fb10) + \endtable + + */ + property real horizontalRadius: width + property real verticalRadius: height + + /*! + This property defines the rotation of the gradient around its center + point. The rotation is only visible when the + \l{RadialGradient::horizontalRadius}{horizontalRadius} and + \l{RadialGradient::verticalRadius}{verticalRadius} properties are not + equal. The angle is given in degrees and the default value is \c 0. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image RadialGradient_angle1.png + \li \image RadialGradient_angle2.png + \li \image RadialGradient_angle3.png + \row + \li \b { angle: 0 } + \li \b { angle: 45 } + \li \b { angle: 90 } + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l horizontalRadius: 100 + \li \l horizontalRadius: 100 + \li \l horizontalRadius: 100 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \endtable + */ + property real angle: 0.0 + + /*! + This property defines the item that is going to be filled with gradient. + Source item gets rendered into an intermediate pixel buffer and the + alpha values from the result are used to determine the gradient's pixels + visibility in the display. The default value for source is undefined and + in that case whole effect area is filled with gradient. + + \table + \header + \li Output examples with different source values + \li + \li + \row + \li \image RadialGradient_maskSource1.png + \li \image RadialGradient_maskSource2.png + \row + \li \b { source: undefined } + \li \b { source: Image { source: images/butterfly.png } } + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \row + \li \l angle: 0 + \li \l angle: 0 + \endtable + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + A gradient is defined by two or more colors, which are blended + seamlessly. The colors are specified as a set of GradientStop child + items, each of which defines a position on the gradient from 0.0 to 1.0 + and a color. The position of each GradientStop is defined by setting the + position property. The color is defined by setting the color property. + + \table + \header + \li Output examples with different gradient values + \li + \li + \row + \li \image RadialGradient_gradient1.png + \li \image RadialGradient_gradient2.png + \li \image RadialGradient_gradient3.png + \row + \li \b {gradient:} \code + Gradient { + GradientStop { + position: 0.000 + color: Qt.rgba(1, 0, 0, 1) + } + GradientStop { + position: 0.167 + color: Qt.rgba(1, 1, 0, 1) + } + GradientStop { + position: 0.333 + color: Qt.rgba(0, 1, 0, 1) + } + GradientStop { + position: 0.500 + color: Qt.rgba(0, 1, 1, 1) + } + GradientStop { + position: 0.667 + color: Qt.rgba(0, 0, 1, 1) + } + GradientStop { + position: 0.833 + color: Qt.rgba(1, 0, 1, 1) + } + GradientStop { + position: 1.000 + color: Qt.rgba(1, 0, 0, 1) + } + } + \endcode + \li \b {gradient:} \code + Gradient { + GradientStop { + position: 0.0 + color: "#F0F0F0" + } + GradientStop { + position: 0.5 + color: "#000000" + } + GradientStop { + position: 1.0 + color: "#F0F0F0" + } + } + \endcode + \li \b {gradient:} + \code + Gradient { + GradientStop { + position: 0.0 + color: "#00000000" + } + GradientStop { + position: 1.0 + color: "#FF000000" + } + } + \endcode + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \row + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \li \l horizontalRadius: 300 + \row + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \li \l verticalRadius: 300 + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \endtable + */ + property Gradient gradient: Gradient { + GradientStop { position: 0.0; color: "white" } + GradientStop { position: 1.0; color: "black" } + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: gradientSource + sourceItem: Rectangle { + width: 16 + height: 256 + gradient: rootItem.gradient + smooth: true + } + smooth: true + hideSource: true + visible: false + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant gradientImage: gradientSource + property variant maskSource: maskSourceProxy.output + property variant center: Qt.point(0.5 + rootItem.horizontalOffset / width, 0.5 + rootItem.verticalOffset / height) + property real horizontalRatio: rootItem.horizontalRadius > 0 ? width / (2 * rootItem.horizontalRadius) : width * 16384 + property real verticalRatio: rootItem.verticalRadius > 0 ? height / (2 * rootItem.verticalRadius) : height * 16384 + property real angle: -rootItem.angle / 360 * 2 * Math.PI + property variant matrixData: Qt.point(Math.sin(angle), Math.cos(angle)) + + anchors.fill: parent + + vertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/radialgradient.vert" + + fragmentShader: maskSource == undefined ? noMaskShader : maskShader + + onFragmentShaderChanged: horizontalRatioChanged() + + property string maskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/radialgradient_mask.frag" + property string noMaskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/radialgradient_nomask.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RectangularGlow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RectangularGlow.qml new file mode 100644 index 00000000..62862e30 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RectangularGlow.qml @@ -0,0 +1,269 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype RectangularGlow + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-glow + \brief Generates a blurred and colorized rectangle, which gives + the impression that the source is glowing. + + This effect is intended to have good performance. The shape of the glow is + limited to a rectangle with a custom corner radius. For situations where + custom shapes are required, consider \l {QtGraphicalEffects::Glow} {Glow} + effect. + + \table + \header + \li Effect applied + \row + \li \image RectangularGlow_applied.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet RectangularGlow-example.qml example +*/ +Item { + id: rootItem + + /*! + This property defines how many pixels outside the item area are reached + by the glow. + + The value ranges from 0.0 (no glow) to inf (infinite glow). By default, + the property is set to \c 0.0. + + \table + \header + \li Output examples with different glowRadius values + \li + \li + \row + \li \image RectangularGlow_glowRadius1.png + \li \image RectangularGlow_glowRadius2.png + \li \image RectangularGlow_glowRadius3.png + \row + \li \b { glowRadius: 10 } + \li \b { glowRadius: 20 } + \li \b { glowRadius: 40 } + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + + */ + property real glowRadius: 0.0 + + /*! + This property defines how large part of the glow color is strengthened + near the source edges. + + The value ranges from 0.0 (no strength increase) to 1.0 (maximum + strength increase). By default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image RectangularGlow_spread1.png + \li \image RectangularGlow_spread2.png + \li \image RectangularGlow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ + property real spread: 0.0 + + /*! + This property defines the RGBA color value which is used for the glow. + + By default, the property is set to \c "white". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image RectangularGlow_color1.png + \li \image RectangularGlow_color2.png + \li \image RectangularGlow_color3.png + \row + \li \b { color: #ffffff } + \li \b { color: #55ff55 } + \li \b { color: #5555ff } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ + property color color: "white" + + /*! + This property defines the corner radius that is used to draw a glow with + rounded corners. + + The value ranges from 0.0 to half of the effective width or height of + the glow, whichever is smaller. This can be calculated with: \c{ + min(width, height) / 2.0 + glowRadius} + + By default, the property is bound to glowRadius property. The glow + behaves as if the rectangle was blurred when adjusting the glowRadius + property. + + \table + \header + \li Output examples with different cornerRadius values + \li + \li + \row + \li \image RectangularGlow_cornerRadius1.png + \li \image RectangularGlow_cornerRadius2.png + \li \image RectangularGlow_cornerRadius3.png + \row + \li \b { cornerRadius: 0 } + \li \b { cornerRadius: 25 } + \li \b { cornerRadius: 50 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \endtable + */ + property real cornerRadius: glowRadius + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + + x: (parent.width - width) / 2.0 + y: (parent.height - height) / 2.0 + width: parent.width + rootItem.glowRadius * 2 + cornerRadius * 2 + height: parent.height + rootItem.glowRadius * 2 + cornerRadius * 2 + + function clampedCornerRadius() { + var maxCornerRadius = Math.min(rootItem.width, rootItem.height) / 2 + glowRadius; + return Math.max(0, Math.min(rootItem.cornerRadius, maxCornerRadius)) + } + + property color color: rootItem.color + property real inverseSpread: 1.0 - rootItem.spread + property real relativeSizeX: ((inverseSpread * inverseSpread) * rootItem.glowRadius + cornerRadius * 2.0) / width + property real relativeSizeY: relativeSizeX * (width / height) + property real spread: rootItem.spread / 2.0 + property real cornerRadius: clampedCornerRadius() + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/rectangularglow.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RecursiveBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RecursiveBlur.qml new file mode 100644 index 00000000..7d938023 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/RecursiveBlur.qml @@ -0,0 +1,329 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype RecursiveBlur + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Blurs repeatedly, providing a strong blur effect. + + The RecursiveBlur effect softens the image by blurring it with an algorithm + that uses a recursive feedback loop to blur the source multiple times. The + effect may give more blurry results than + \l{QtGraphicalEffects::GaussianBlur}{GaussianBlur} or + \l{QtGraphicalEffects::FastBlur}{FastBlur}, but the result is produced + asynchronously and takes more time. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image RecursiveBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet RecursiveBlur-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the distance of neighboring pixels which influence + the blurring of individual pixels. A larger radius provides better + quality, but is slower to render. + + \b Note: The radius value in this effect is not intended to be changed + or animated frequently. The correct way to use it is to set the correct + value and keep it unchanged for the whole duration of the iterative blur + sequence. + + The value ranges from (no blur) to 16.0 (maximum blur step). By default, + the property is set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image RecursiveBlur_radius1.png + \li \image RecursiveBlur_radius2.png + \li \image RecursiveBlur_radius3.png + \row + \li \b { radius: 2.5 } + \li \b { radius: 4.5 } + \li \b { radius: 7.5 } + \row + \li \l loops: 20 + \li \l loops: 20 + \li \l loops: 20 + \endtable + + */ + property real radius: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + \table + \header + \li Output examples with different transparentBorder values + \li + \li + \row + \li \image RecursiveBlur_transparentBorder1.png + \li \image RecursiveBlur_transparentBorder2.png + \row + \li \b { transparentBorder: false } + \li \b { transparentBorder: true } + \row + \li \l loops: 20 + \li \l loops: 20 + \row + \li \l radius: 7.5 + \li \l radius: 7.5 + \endtable + */ + property bool transparentBorder: false + + /*! + This property defines the amount of blur iterations that are going to be + performed for the source. When the property changes, the iterative + blurring process starts. If the value is decreased or if the value + changes from zero to non-zero, a snapshot is taken from the source. The + snapshot is used as a starting point for the process. + + The iteration loop tries to run as fast as possible. The speed might be + limited by the VSYNC or the time needed for one blur step, or both. + Sometimes it may be desirable to perform the blurring with a slower + pace. In that case, it may be convenient to control the property with + Animation which increases the value. + + The value ranges from 0 to inf. By default, the property is set to \c 0. + + \table + \header + \li Output examples with different loops values + \li + \li + \row + \li \image RecursiveBlur_loops1.png + \li \image RecursiveBlur_loops2.png + \li \image RecursiveBlur_loops3.png + \row + \li \b { loops: 4 } + \li \b { loops: 20 } + \li \b { loops: 70 } + \row + \li \l radius: 7.5 + \li \l radius: 7.5 + \li \l radius: 7.5 + \endtable + + */ + property int loops: 0 + + /*! + This property holds the progress of asynchronous source blurring + process, from 0.0 (nothing blurred) to 1.0 (finished). + */ + property real progress: loops > 0.0 ? Math.min(1.0, recursionTimer.counter / loops) : 0.0 + + onLoopsChanged: recursiveSource.scheduleUpdate() + onSourceChanged: recursionTimer.reset() + onRadiusChanged: recursionTimer.reset() + onTransparentBorderChanged: recursionTimer.reset() + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2, parent.height + 2) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: verticalBlur + smooth: true + visible: rootItem.cached + hideSource: visible + live: true + sourceItem: inputItem.visible ? inputItem : verticalBlur + } + + Item { + id: recursionTimer + property int counter: 0 + + function reset() { + counter = 0 + recursiveSource.scheduleUpdate() + } + + function nextFrame() { + if (loops < counter) + recursionTimer.counter = 0 + + if (counter > 0) + recursiveSource.sourceItem = verticalBlur + else + recursiveSource.sourceItem = inputItem + + if (counter < loops) { + recursiveSource.scheduleUpdate() + counter++ + } + } + } + + ShaderEffect { + id: inputItem + property variant source: sourceProxy.output + property real expandX: rootItem.transparentBorder ? (horizontalBlur.maximumRadius) / horizontalBlur.width : 0.0 + property real expandY: rootItem.transparentBorder ? (horizontalBlur.maximumRadius) / horizontalBlur.height : 0.0 + + anchors.fill: verticalBlur + visible: !verticalBlur.visible + + vertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/recursiveblur.vert" + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/recursiveblur.frag" + } + + ShaderEffectSource { + id: recursiveSource + visible: false + smooth: true + hideSource: false + live: false + sourceItem: inputItem + recursive: true + onSourceItemChanged: scheduleUpdate() + onScheduledUpdateCompleted: recursionTimer.nextFrame() + } + + GaussianDirectionalBlur { + id: verticalBlur + x: rootItem.transparentBorder ? -horizontalBlur.maximumRadius - 1 : 0 + y: rootItem.transparentBorder ? -horizontalBlur.maximumRadius - 1 : 0 + width: horizontalBlur.width + 2 + height: horizontalBlur.height + 2 + + horizontalStep: 0.0 + verticalStep: 1.0 / parent.height + + source: ShaderEffectSource { + sourceItem: horizontalBlur + hideSource: true + visible: false + smooth: true + } + + deviation: (radius + 1) / 2.3333 + radius: rootItem.radius + maximumRadius: Math.ceil(rootItem.radius) + transparentBorder: false + visible: loops > 0 + } + + GaussianDirectionalBlur { + id: horizontalBlur + width: rootItem.transparentBorder ? parent.width + 2 * maximumRadius + 2 : parent.width + height: rootItem.transparentBorder ? parent.height + 2 * maximumRadius + 2 : parent.height + + horizontalStep: 1.0 / parent.width + verticalStep: 0.0 + + source: recursiveSource + deviation: (radius + 1) / 2.3333 + radius: rootItem.radius + maximumRadius: Math.ceil(rootItem.radius) + transparentBorder: false + visible: false + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ThresholdMask.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ThresholdMask.qml new file mode 100644 index 00000000..204d8c93 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ThresholdMask.qml @@ -0,0 +1,215 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype ThresholdMask + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-mask + \brief Masks the source item with another item and applies a threshold + value. + + The masking behavior can be controlled with the \l threshold value for the + mask pixels. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image ThresholdMask_mask.png + \li \image ThresholdMask_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet ThresholdMask-example.qml example +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be masked. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the item that is going to be used as the mask. + Mask item gets rendered into an intermediate pixel buffer and the alpha + values from the result are used to determine the source item's pixels + visibility in the display. + + \table + \header + \li Original + \li Mask + \li Effect applied + \row + \li \image Original_bug.png + \li \image ThresholdMask_mask.png + \li \image ThresholdMask_bug.png + \endtable + + \note It is not supported to let the effect include itself, for + instance by setting maskSource to the effect's parent. + */ + property variant maskSource + + /*! + This property defines a threshold value for the mask pixels. The mask + pixels that have an alpha value below this property are used to + completely mask away the corresponding pixels from the source item. The + mask pixels that have a higher alpha value are used to alphablend the + source item to the display. + + The value ranges from 0.0 (alpha value 0) to 1.0 (alpha value 255). By + default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different threshold values + \li + \li + \row + \li \image ThresholdMask_threshold1.png + \li \image ThresholdMask_threshold2.png + \li \image ThresholdMask_threshold3.png + \row + \li \b { threshold: 0.0 } + \li \b { threshold: 0.5 } + \li \b { threshold: 0.7 } + \row + \li \l spread: 0.2 + \li \l spread: 0.2 + \li \l spread: 0.2 + \endtable + */ + property real threshold: 0.0 + + /*! + This property defines the smoothness of the mask edges near the + \l{ThresholdMask::threshold}{threshold} alpha value. Setting spread to + 0.0 uses mask normally with the specified threshold. Setting higher + spread values softens the transition from the transparent mask pixels + towards opaque mask pixels by adding interpolated values between them. + + The value ranges from 0.0 (sharp mask edge) to 1.0 (smooth mask edge). + By default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image ThresholdMask_spread1.png + \li \image ThresholdMask_spread2.png + \li \image ThresholdMask_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.2 } + \li \b { spread: 0.8 } + \row + \li \l threshold: 0.4 + \li \l threshold: 0.4 + \li \l threshold: 0.4 + \endtable + + */ + property real spread: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant maskSource: maskSourceProxy.output + property real threshold: rootItem.threshold + property real spread: rootItem.spread + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/thresholdmask.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ZoomBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ZoomBlur.qml new file mode 100644 index 00000000..66ba7102 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/ZoomBlur.qml @@ -0,0 +1,306 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +/*! + \qmltype ZoomBlur + \inqmlmodule QtGraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies directional blur effect towards source items center point. + + Effect creates perceived impression that the source item appears to be + moving towards the center point in Z-direction or that the camera appears + to be zooming rapidly. Other available motion blur effects are + \l{QtGraphicalEffects::DirectionalBlur}{DirectionalBlur} + and \l{QtGraphicalEffects::RadialBlur}{RadialBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image ZoomBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet ZoomBlur-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the maximum perceived amount of movement for each + pixel. The amount is smaller near the center and reaches the specified + value at the edges. + + The quality of the blur depends on \l{ZoomBlur::samples}{samples} + property. If length value is large, more samples are needed to keep the + visual quality at high level. + + The value ranges from 0.0 to inf. By default the property is set to \c + 0.0 (no blur). + + \table + \header + \li Output examples with different length values + \li + \li + \row + \li \image ZoomBlur_length1.png + \li \image ZoomBlur_length2.png + \li \image ZoomBlur_length3.png + \row + \li \b { length: 0.0 } + \li \b { length: 32.0 } + \li \b { length: 48.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + */ + property real length: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ + property int samples: 0 + + /*! + \qmlproperty real QtGraphicalEffects::ZoomBlur::horizontalOffset + \qmlproperty real QtGraphicalEffects::ZoomBlur::verticalOffset + + These properties define an offset in pixels for the blur direction + center point. + + The values range from -inf to inf. By default these properties are set + to \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image ZoomBlur_horizontalOffset1.png + \li \image ZoomBlur_horizontalOffset2.png + \li \image ZoomBlur_horizontalOffset3.png + \row + \li \b { horizontalOffset: 100.0 } + \li \b { horizontalOffset: 0.0 } + \li \b { horizontalOffset: -100.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l length: 32 + \li \l length: 32 + \li \l length: 32 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ + property real horizontalOffset: 0.0 + property real verticalOffset: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + */ + property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant center: Qt.point(0.5 + rootItem.horizontalOffset / width, 0.5 + rootItem.verticalOffset / height) + property real len: rootItem.length + property bool transparentBorder: rootItem.transparentBorder + property real samples: rootItem.samples + property real weight: 1.0 / Math.max(1.0, rootItem.samples) + property variant expandPixels: transparentBorder ? Qt.size(rootItem.samples, rootItem.samples) : Qt.size(0,0) + property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) + property variant delta: Qt.size(1.0 / rootItem.width, 1.0 / rootItem.height) + + x: transparentBorder ? -expandPixels.width - 1 : 0 + y: transparentBorder ? -expandPixels.height - 1 : 0 + width: transparentBorder ? parent.width + 2.0 * expandPixels.width + 2 : parent.width + height: transparentBorder ? parent.height + 2.0 * expandPixels.height + 2 : parent.height + + property string fragmentShaderSkeleton: " + varying highp vec2 qt_TexCoord0; + uniform highp float qt_Opacity; + uniform lowp sampler2D source; + uniform highp float len; + uniform highp float weight; + uniform highp float samples; + uniform highp vec2 center; + uniform highp vec2 expand; + uniform highp vec2 delta; + + void main(void) { + mediump vec2 texCoord = qt_TexCoord0; + mediump vec2 centerCoord = center; + + PLACEHOLDER_EXPAND_STEPS + + highp vec2 dir = vec2(centerCoord.x - texCoord.s, centerCoord.y - texCoord.t); + dir /= max(1.0, length(dir) * 2.0); + highp vec2 shift = delta * len * dir * 2.0 / max(1.0, samples - 1.0); + gl_FragColor = vec4(0.0); + + PLACEHOLDER_UNROLLED_LOOP + + gl_FragColor *= weight * qt_Opacity; + } + " + + function buildFragmentShader() { + var shader = "" + if (GraphicsInfo.profile == GraphicsInfo.OpenGLCoreProfile) + shader += "#version 150 core\n#define varying in\n#define gl_FragColor fragColor\n#define texture2D texture\nout vec4 fragColor;\n" + shader += fragmentShaderSkeleton + var expandSteps = "" + + if (transparentBorder) { + expandSteps += "centerCoord = (centerCoord - expand) / (1.0 - 2.0 * expand);" + expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" + } + + var unrolledLoop = "gl_FragColor += texture2D(source, texCoord);\n" + + if (rootItem.samples > 1) { + unrolledLoop = "" + for (var i = 0; i < rootItem.samples; i++) + unrolledLoop += "gl_FragColor += texture2D(source, texCoord); texCoord += shift;\n" + } + + shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) + fragmentShader = shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop) + } + + onFragmentShaderChanged: sourceChanged() + onSamplesChanged: buildFragmentShader() + onTransparentBorderChanged: buildFragmentShader() + Component.onCompleted: buildFragmentShader() + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/plugins.qmltypes new file mode 100644 index 00000000..f8058435 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/plugins.qmltypes @@ -0,0 +1,11 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtGraphicalEffects 1.15' + +Module { + dependencies: ["QtQuick 2.12", "QtQuick.Window 2.12"] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/DropShadowBase.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/DropShadowBase.qml new file mode 100644 index 00000000..e9927ea4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/DropShadowBase.qml @@ -0,0 +1,99 @@ +/**************************************************************************** +** +** Copyright (C) 2017 Jolla Ltd, author: +** Contact: http://www.qt-project.org/legal +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Window 2.12 +import QtGraphicalEffects.private 1.12 +import QtGraphicalEffects 1.12 + +Item { + id: root + + property variant source + property real radius: Math.floor(samples / 2) + property int samples: 9 + property color color: "black" + property real horizontalOffset: 0 + property real verticalOffset: 0 + property real spread: 0.0 + property bool cached: false + property bool transparentBorder: true + + GaussianBlur { + id: blur + width: parent.width + height: parent.height + x: Math.round(horizontalOffset) + y: Math.round(verticalOffset) + source: root.source + radius: root.radius * Screen.devicePixelRatio + samples: root.samples * Screen.devicePixelRatio + _thickness: root.spread + transparentBorder: root.transparentBorder + + + _color: root.color; + _alphaOnly: true + // ignoreDevicePixelRatio: root.ignoreDevicePixelRatio + + ShaderEffect { + x: blur._outputRect.x - parent.x + y: blur._outputRect.y - parent.y + width: transparentBorder ? blur._outputRect.width : blur.width + height: transparentBorder ? blur._outputRect.height : blur.height + property variant source: blur._output; + } + + } + + ShaderEffectSource { + id: cacheItem + x: -blur._kernelRadius + horizontalOffset + y: -blur._kernelRadius + verticalOffset + width: blur.width + 2 * blur._kernelRadius + height: blur.height + 2 * blur._kernelRadius + visible: root.cached + smooth: true + sourceRect: Qt.rect(-blur._kernelRadius, -blur._kernelRadius, width, height); + sourceItem: blur + hideSource: visible + } + + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/DropShadowBase.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/DropShadowBase.qmlc new file mode 100644 index 00000000..6d90ee60 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/DropShadowBase.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastGlow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastGlow.qml new file mode 100644 index 00000000..5c737f1f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastGlow.qml @@ -0,0 +1,331 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +Item { + id: rootItem + property variant source + property real spread: 0.0 + property real blur: 0.0 + property color color: "white" + property bool transparentBorder: false + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.vert" + + property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.frag" + + ShaderEffect { + id: level0 + property variant source: sourceProxy.output + anchors.fill: parent + visible: false + smooth: true + } + + ShaderEffectSource { + id: level1 + width: Math.ceil(shaderItem.width / 32) * 32 + height: Math.ceil(shaderItem.height / 32) * 32 + sourceItem: level0 + hideSource: rootItem.visible + sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0,0,0,0) + smooth: true + visible: false + } + + ShaderEffect { + id: effect1 + property variant source: level1 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level2 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level2 + width: level1.width / 2 + height: level1.height / 2 + sourceItem: effect1 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect2 + property variant source: level2 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level3 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level3 + width: level2.width / 2 + height: level2.height / 2 + sourceItem: effect2 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect3 + property variant source: level3 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level4 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level4 + width: level3.width / 2 + height: level3.height / 2 + sourceItem: effect3 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect4 + property variant source: level4 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level5 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level5 + width: level4.width / 2 + height: level4.height / 2 + sourceItem: effect4 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect5 + property variant source: level5 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level6 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level6 + width: level5.width / 2 + height: level5.height / 2 + sourceItem: effect5 + hideSource: rootItem.visible + visible: false + smooth: true + } + + Item { + id: dummysource + width: 1 + height: 1 + visible: false + } + + ShaderEffectSource { + id: dummy + width: 1 + height: 1 + sourceItem: dummysource + visible: false + smooth: false + live: false + } + + ShaderEffect { + id: shaderItem + x: transparentBorder ? -64 : 0 + y: transparentBorder ? -64 : 0 + width: transparentBorder ? parent.width + 128 : parent.width + height: transparentBorder ? parent.height + 128 : parent.height + + property variant source1: level1 + property variant source2: level2 + property variant source3: level3 + property variant source4: level4 + property variant source5: level5 + property variant source6: level6 + property real lod: rootItem.blur + + property real weight1; + property real weight2; + property real weight3; + property real weight4; + property real weight5; + property real weight6; + + property real spread: 1.0 - (rootItem.spread * 0.98) + property alias color: rootItem.color + + function weight(v) { + if (v <= 0.0) + return 1 + if (v >= 0.5) + return 0 + + return 1.0 - v / 0.5 + } + + function calculateWeights() { + + var w1 = weight(Math.abs(lod - 0.100)) + var w2 = weight(Math.abs(lod - 0.300)) + var w3 = weight(Math.abs(lod - 0.500)) + var w4 = weight(Math.abs(lod - 0.700)) + var w5 = weight(Math.abs(lod - 0.900)) + var w6 = weight(Math.abs(lod - 1.100)) + + var sum = w1 + w2 + w3 + w4 + w5 + w6; + weight1 = w1 / sum; + weight2 = w2 / sum; + weight3 = w3 / sum; + weight4 = w4 / sum; + weight5 = w5 / sum; + weight6 = w6 / sum; + + upateSources() + } + + function upateSources() { + var sources = new Array(); + var weights = new Array(); + + if (weight1 > 0) { + sources.push(level1) + weights.push(weight1) + } + + if (weight2 > 0) { + sources.push(level2) + weights.push(weight2) + } + + if (weight3 > 0) { + sources.push(level3) + weights.push(weight3) + } + + if (weight4 > 0) { + sources.push(level4) + weights.push(weight4) + } + + if (weight5 > 0) { + sources.push(level5) + weights.push(weight5) + } + + if (weight6 > 0) { + sources.push(level6) + weights.push(weight6) + } + + for (var j = sources.length; j < 6; j++) { + sources.push(dummy) + weights.push(0.0) + } + + source1 = sources[0] + source2 = sources[1] + source3 = sources[2] + source4 = sources[3] + source5 = sources[4] + source6 = sources[5] + + weight1 = weights[0] + weight2 = weights[1] + weight3 = weights[2] + weight4 = weights[3] + weight5 = weights[4] + weight6 = weights[5] + } + + Component.onCompleted: calculateWeights() + + onLodChanged: calculateWeights() + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastglow.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastGlow.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastGlow.qmlc new file mode 100644 index 00000000..e445439a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastGlow.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qml new file mode 100644 index 00000000..bd361ca7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qml @@ -0,0 +1,335 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +Item { + id: rootItem + property variant source + property real blur: 0.0 + property real horizontalOffset: 0 + property real verticalOffset: 0 + property real spread: 0.0 + property color color: "black" + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.vert" + + property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.frag" + + ShaderEffect { + id: level0 + property variant source: sourceProxy.output + property real horizontalOffset: rootItem.horizontalOffset / rootItem.width + property real verticalOffset: rootItem.verticalOffset / rootItem.width + property color color: rootItem.color + + anchors.fill: parent + visible: false + smooth: true + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastinnershadow_level0.frag" + } + + ShaderEffectSource { + id: level1 + width: Math.ceil(shaderItem.width / 32) * 32 + height: Math.ceil(shaderItem.height / 32) * 32 + sourceItem: level0 + hideSource: rootItem.visible + smooth: true + visible: false + } + + ShaderEffect { + id: effect1 + property variant source: level1 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level2 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level2 + width: level1.width / 2 + height: level1.height / 2 + sourceItem: effect1 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect2 + property variant source: level2 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level3 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level3 + width: level2.width / 2 + height: level2.height / 2 + sourceItem: effect2 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect3 + property variant source: level3 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level4 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level4 + width: level3.width / 2 + height: level3.height / 2 + sourceItem: effect3 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect4 + property variant source: level4 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level5 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level5 + width: level4.width / 2 + height: level4.height / 2 + sourceItem: effect4 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect5 + property variant source: level5 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level6 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level6 + width: level5.width / 2 + height: level5.height / 2 + sourceItem: effect5 + hideSource: rootItem.visible + visible: false + smooth: true + } + + Item { + id: dummysource + width: 1 + height: 1 + visible: false + } + + ShaderEffectSource { + id: dummy + width: 1 + height: 1 + sourceItem: dummysource + visible: false + smooth: false + live: false + } + + ShaderEffect { + id: shaderItem + width: parent.width + height: parent.height + + property variant original: sourceProxy.output + property variant source1: level1 + property variant source2: level2 + property variant source3: level3 + property variant source4: level4 + property variant source5: level5 + property variant source6: level6 + property real lod: rootItem.blur + + property real weight1; + property real weight2; + property real weight3; + property real weight4; + property real weight5; + property real weight6; + + property real spread: 1.0 - (rootItem.spread * 0.98) + property color color: rootItem.color + + function weight(v) { + if (v <= 0.0) + return 1 + if (v >= 0.5) + return 0 + + return 1.0 - v / 0.5 + } + + function calculateWeights() { + + var w1 = weight(Math.abs(lod - 0.100)) + var w2 = weight(Math.abs(lod - 0.300)) + var w3 = weight(Math.abs(lod - 0.500)) + var w4 = weight(Math.abs(lod - 0.700)) + var w5 = weight(Math.abs(lod - 0.900)) + var w6 = weight(Math.abs(lod - 1.100)) + + var sum = w1 + w2 + w3 + w4 + w5 + w6; + weight1 = w1 / sum; + weight2 = w2 / sum; + weight3 = w3 / sum; + weight4 = w4 / sum; + weight5 = w5 / sum; + weight6 = w6 / sum; + + upateSources() + } + + function upateSources() { + var sources = new Array(); + var weights = new Array(); + + if (weight1 > 0) { + sources.push(level1) + weights.push(weight1) + } + + if (weight2 > 0) { + sources.push(level2) + weights.push(weight2) + } + + if (weight3 > 0) { + sources.push(level3) + weights.push(weight3) + } + + if (weight4 > 0) { + sources.push(level4) + weights.push(weight4) + } + + if (weight5 > 0) { + sources.push(level5) + weights.push(weight5) + } + + if (weight6 > 0) { + sources.push(level6) + weights.push(weight6) + } + + for (var j = sources.length; j < 6; j++) { + sources.push(dummy) + weights.push(0.0) + } + + source1 = sources[0] + source2 = sources[1] + source3 = sources[2] + source4 = sources[3] + source5 = sources[4] + source6 = sources[5] + + weight1 = weights[0] + weight2 = weights[1] + weight3 = weights[2] + weight4 = weights[3] + weight5 = weights[4] + weight6 = weights[5] + } + + Component.onCompleted: calculateWeights() + + onLodChanged: calculateWeights() + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastinnershadow.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qmlc new file mode 100644 index 00000000..8f65102a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qml new file mode 100644 index 00000000..56800c65 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qml @@ -0,0 +1,247 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +Item { + id: rootItem + property variant source + property variant maskSource + property real blur: 0.0 + property bool transparentBorder: false + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + sourceItem: shaderItem + live: true + hideSource: visible + smooth: rootItem.blur > 0 + } + + property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.vert" + + property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.frag" + + ShaderEffect { + id: mask0 + property variant source: maskSourceProxy.output + anchors.fill: parent + visible: false + smooth: true + } + + ShaderEffectSource { + id: masklevel1 + width: Math.ceil(shaderItem.width / 32) * 32 + height: Math.ceil(shaderItem.height / 32) * 32 + sourceItem: mask0 + hideSource: rootItem.visible + sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0, 0, 0, 0) + visible: false + smooth: rootItem.blur > 0 + } + + ShaderEffect { + id: level0 + property variant source: sourceProxy.output + anchors.fill: parent + visible: false + smooth: true + } + + ShaderEffectSource { + id: level1 + width: Math.ceil(shaderItem.width / 32) * 32 + height: Math.ceil(shaderItem.height / 32) * 32 + sourceItem: level0 + hideSource: rootItem.visible + sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0, 0, 0, 0) + visible: false + smooth: rootItem.blur > 0 + } + + ShaderEffect { + id: effect1 + property variant source: level1 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level2 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level2 + width: level1.width / 2 + height: level1.height / 2 + sourceItem: effect1 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect2 + property variant source: level2 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level3 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level3 + width: level2.width / 2 + height: level2.height / 2 + sourceItem: effect2 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect3 + property variant source: level3 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level4 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level4 + width: level3.width / 2 + height: level3.height / 2 + sourceItem: effect3 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect4 + property variant source: level4 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level5 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level5 + width: level4.width / 2 + height: level4.height / 2 + sourceItem: effect4 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect5 + property variant source: level5 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level6 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level6 + width: level5.width / 2 + height: level5.height / 2 + sourceItem: effect5 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: shaderItem + property variant mask: masklevel1 + property variant source1: level1 + property variant source2: level2 + property variant source3: level3 + property variant source4: level4 + property variant source5: level5 + property variant source6: level6 + property real lod: Math.sqrt(rootItem.blur) * 1.2 - 0.2 + property real weight1 + property real weight2 + property real weight3 + property real weight4 + property real weight5 + property real weight6 + + x: transparentBorder ? -64 : 0 + y: transparentBorder ? -64 : 0 + width: transparentBorder ? parent.width + 128 : parent.width + height: transparentBorder ? parent.height + 128 : parent.height + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastmaskedblur.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qmlc new file mode 100644 index 00000000..cdb6bb36 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qml new file mode 100644 index 00000000..4d52b2ed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qml @@ -0,0 +1,289 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +Item { + id: rootItem + property variant source + property real deviation: (radius + 1) / 3.3333 + property real radius: 0.0 + property int maximumRadius: 0 + property real horizontalStep: 0.0 + property real verticalStep: 0.0 + property bool transparentBorder: false + property bool cached: false + + property bool enableColor: false + property color color: "white" + property real spread: 0.0 + + property bool enableMask: false + property variant maskSource + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: rootItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real deviation: Math.max(0.1, rootItem.deviation) + property real radius: rootItem.radius + property int maxRadius: rootItem.maximumRadius + property bool transparentBorder: rootItem.transparentBorder + property real gaussianSum: 0.0 + property real startIndex: 0.0 + property real deltaFactor: (2 * radius - 1) / (maxRadius * 2 - 1) + property real expandX: transparentBorder && rootItem.horizontalStep > 0 ? maxRadius / width : 0.0 + property real expandY: transparentBorder && rootItem.verticalStep > 0 ? maxRadius / height : 0.0 + property variant gwts: [] + property variant delta: Qt.vector3d(rootItem.horizontalStep * deltaFactor, rootItem.verticalStep * deltaFactor, startIndex); + property variant factor_0_2: Qt.vector3d(gwts[0], gwts[1], gwts[2]); + property variant factor_3_5: Qt.vector3d(gwts[3], gwts[4], gwts[5]); + property variant factor_6_8: Qt.vector3d(gwts[6], gwts[7], gwts[8]); + property variant factor_9_11: Qt.vector3d(gwts[9], gwts[10], gwts[11]); + property variant factor_12_14: Qt.vector3d(gwts[12], gwts[13], gwts[14]); + property variant factor_15_17: Qt.vector3d(gwts[15], gwts[16], gwts[17]); + property variant factor_18_20: Qt.vector3d(gwts[18], gwts[19], gwts[20]); + property variant factor_21_23: Qt.vector3d(gwts[21], gwts[22], gwts[23]); + property variant factor_24_26: Qt.vector3d(gwts[24], gwts[25], gwts[26]); + property variant factor_27_29: Qt.vector3d(gwts[27], gwts[28], gwts[29]); + property variant factor_30_31: Qt.point(gwts[30], gwts[31]); + + property color color: rootItem.color + property real spread: 1.0 - (rootItem.spread * 0.98) + property variant maskSource: maskSourceProxy.output + + anchors.fill: rootItem + + function gausFunc(x){ + //Gaussian function = h(x):=(1/sqrt(2*3.14159*(D^2))) * %e^(-(x^2)/(2*(D^2))); + return (1.0 / Math.sqrt(2 * Math.PI * (Math.pow(shaderItem.deviation, 2)))) * Math.pow(Math.E, -((Math.pow(x, 2)) / (2 * (Math.pow(shaderItem.deviation, 2))))); + } + + function updateGaussianWeights() { + gaussianSum = 0.0; + startIndex = -maxRadius + 0.5 + + var n = new Array(32); + for (var j = 0; j < 32; j++) + n[j] = 0; + + var max = maxRadius * 2 + var delta = (2 * radius - 1) / (max - 1); + for (var i = 0; i < max; i++) { + n[i] = gausFunc(-radius + 0.5 + i * delta); + gaussianSum += n[i]; + } + + gwts = n; + } + + function buildFragmentShader() { + + var shaderSteps = [ + "gl_FragColor += texture2D(source, texCoord) * factor_0_2.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_0_2.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_0_2.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_3_5.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_3_5.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_3_5.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_6_8.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_6_8.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_6_8.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_9_11.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_9_11.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_9_11.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_12_14.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_12_14.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_12_14.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_15_17.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_15_17.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_15_17.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_18_20.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_18_20.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_18_20.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_21_23.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_21_23.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_21_23.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_24_26.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_24_26.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_24_26.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_27_29.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_27_29.y; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_27_29.z; texCoord += shift;", + + "gl_FragColor += texture2D(source, texCoord) * factor_30_31.x; texCoord += shift;", + "gl_FragColor += texture2D(source, texCoord) * factor_30_31.y; texCoord += shift;" + ] + + var shader = "" + if (GraphicsInfo.profile == GraphicsInfo.OpenGLCoreProfile) + shader += "#version 150 core\n#define varying in\n#define gl_FragColor fragColor\n#define texture2D texture\nout vec4 fragColor;\n" + shader += fragmentShaderBegin + var samples = maxRadius * 2 + if (samples > 32) { + console.log("DirectionalGaussianBlur.qml WARNING: Maximum of blur radius (16) exceeded!") + samples = 32 + } + + for (var i = 0; i < samples; i++) { + shader += shaderSteps[i] + } + + shader += fragmentShaderEnd + + var colorizeSteps = "" + var colorizeUniforms = "" + + var maskSteps = "" + var maskUniforms = "" + + if (enableColor) { + colorizeSteps += "gl_FragColor = mix(vec4(0), color, clamp((gl_FragColor.a - 0.0) / (spread - 0.0), 0.0, 1.0));\n" + colorizeUniforms += "uniform highp vec4 color;\n" + colorizeUniforms += "uniform highp float spread;\n" + } + + if (enableMask) { + maskSteps += "shift *= texture2D(maskSource, qt_TexCoord0).a;\n" + maskUniforms += "uniform sampler2D maskSource;\n" + } + + shader = shader.replace("PLACEHOLDER_COLORIZE_STEPS", colorizeSteps) + shader = shader.replace("PLACEHOLDER_COLORIZE_UNIFORMS", colorizeUniforms) + shader = shader.replace("PLACEHOLDER_MASK_STEPS", maskSteps) + shader = shader.replace("PLACEHOLDER_MASK_UNIFORMS", maskUniforms) + + fragmentShader = shader + } + + onDeviationChanged: updateGaussianWeights() + + onRadiusChanged: updateGaussianWeights() + + onTransparentBorderChanged: { + buildFragmentShader() + updateGaussianWeights() + } + + onMaxRadiusChanged: { + buildFragmentShader() + updateGaussianWeights() + } + + Component.onCompleted: { + buildFragmentShader() + updateGaussianWeights() + } + + property string fragmentShaderBegin: " + varying mediump vec2 qt_TexCoord0; + uniform highp float qt_Opacity; + uniform lowp sampler2D source; + uniform highp vec3 delta; + uniform highp vec3 factor_0_2; + uniform highp vec3 factor_3_5; + uniform highp vec3 factor_6_8; + uniform highp vec3 factor_9_11; + uniform highp vec3 factor_12_14; + uniform highp vec3 factor_15_17; + uniform highp vec3 factor_18_20; + uniform highp vec3 factor_21_23; + uniform highp vec3 factor_24_26; + uniform highp vec3 factor_27_29; + uniform highp vec3 factor_30_31; + uniform highp float gaussianSum; + uniform highp float expandX; + uniform highp float expandY; + PLACEHOLDER_MASK_UNIFORMS + PLACEHOLDER_COLORIZE_UNIFORMS + + void main() { + highp vec2 shift = vec2(delta.x, delta.y); + + PLACEHOLDER_MASK_STEPS + + highp float index = delta.z; + mediump vec2 texCoord = qt_TexCoord0; + texCoord.s = (texCoord.s - expandX) / (1.0 - 2.0 * expandX); + texCoord.t = (texCoord.t - expandY) / (1.0 - 2.0 * expandY); + texCoord += (shift * index); + + gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0); + " + + property string fragmentShaderEnd: " + + gl_FragColor /= gaussianSum; + + PLACEHOLDER_COLORIZE_STEPS + + gl_FragColor *= qt_Opacity; + } + " + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qmlc new file mode 100644 index 00000000..afbb4a0b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianGlow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianGlow.qml new file mode 100644 index 00000000..f0d328ac --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianGlow.qml @@ -0,0 +1,98 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +Item { + id: rootItem + property variant source + property real radius: 0.0 + property int maximumRadius: 0 + property real spread: 0.0 + property color color: "white" + property bool cached: false + property bool transparentBorder: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + GaussianDirectionalBlur { + id: shaderItem + x: transparentBorder ? -maximumRadius - 1 : 0 + y: transparentBorder ? -maximumRadius - 1 : 0 + width: horizontalBlur.width + height: horizontalBlur.height + horizontalStep: 0.0 + verticalStep: 1.0 / parent.height + source: horizontalBlur + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + transparentBorder: rootItem.transparentBorder + enableColor: true + color: rootItem.color + spread: rootItem.spread + } + + GaussianDirectionalBlur { + id: horizontalBlur + width: transparentBorder ? parent.width + 2 * maximumRadius + 2 : parent.width + height: transparentBorder ? parent.height + 2 * maximumRadius + 2 : parent.height + horizontalStep: 1.0 / parent.width + verticalStep: 0.0 + source: sourceProxy.output + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + transparentBorder: rootItem.transparentBorder + visible: false + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianGlow.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianGlow.qmlc new file mode 100644 index 00000000..ae40f470 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianGlow.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qml new file mode 100644 index 00000000..a0b39e9f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qml @@ -0,0 +1,123 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +Item { + id: rootItem + property variant source + property real radius: 0.0 + property int maximumRadius: 0 + property real horizontalOffset: 0 + property real verticalOffset: 0 + property real spread: 0 + property color color: "black" + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect{ + id: shadowItem + anchors.fill: parent + + property variant original: sourceProxy.output + property color color: rootItem.color + property real horizontalOffset: rootItem.horizontalOffset / rootItem.width + property real verticalOffset: rootItem.verticalOffset / rootItem.height + + visible: false + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/gaussianinnershadow_shadow.frag" + } + + GaussianDirectionalBlur { + id: blurItem + anchors.fill: parent + horizontalStep: 0.0 + verticalStep: 1.0 / parent.height + source: horizontalBlur + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + visible: false + } + + GaussianDirectionalBlur { + id: horizontalBlur + width: transparentBorder ? parent.width + 2 * maximumRadius : parent.width + height: parent.height + horizontalStep: 1.0 / parent.width + verticalStep: 0.0 + source: shadowItem + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + visible: false + } + + ShaderEffectSource { + id: blurredSource + sourceItem: blurItem + live: true + smooth: true + } + + ShaderEffect { + id: shaderItem + anchors.fill: parent + + property variant original: sourceProxy.output + property variant shadow: blurredSource + property real spread: 1.0 - (rootItem.spread * 0.98) + property color color: rootItem.color + + fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/gaussianinnershadow.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qmlc new file mode 100644 index 00000000..02fc0f55 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qml new file mode 100644 index 00000000..8273973f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qml @@ -0,0 +1,104 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Graphical Effects module. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtGraphicalEffects.private 1.12 + +Item { + id: rootItem + property variant source + property variant maskSource + property real radius: 0.0 + property int maximumRadius: 0 + property bool cached: false + property bool transparentBorder: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: blur + visible: rootItem.cached + smooth: true + sourceItem: blur + live: true + hideSource: visible + } + + GaussianDirectionalBlur { + id: blur + x: transparentBorder ? -maximumRadius - 1: 0 + y: transparentBorder ? -maximumRadius - 1: 0 + width: horizontalBlur.width + height: horizontalBlur.height + horizontalStep: 0.0 + verticalStep: 1.0 / parent.height + source: horizontalBlur + enableMask: true + maskSource: maskSourceProxy.output + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + transparentBorder: rootItem.transparentBorder + } + + GaussianDirectionalBlur { + id: horizontalBlur + width: transparentBorder ? parent.width + 2 * maximumRadius + 2 : parent.width + height: transparentBorder ? parent.height + 2 * maximumRadius + 2 : parent.height + horizontalStep: 1.0 / parent.width + verticalStep: 0.0 + source: sourceProxy.output + enableMask: true + maskSource: maskSourceProxy.output + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + transparentBorder: rootItem.transparentBorder + visible: false + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qmlc new file mode 100644 index 00000000..d1f66b8a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/qmldir new file mode 100644 index 00000000..2d4bdacb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/qmldir @@ -0,0 +1,11 @@ +module QtGraphicalEffects.private +plugin qtgraphicaleffectsprivate +classname QtGraphicalEffectsPrivatePlugin +FastGlow 1.0 FastGlow.qml +FastInnerShadow 1.0 FastInnerShadow.qml +FastMaskedBlur 1.0 FastMaskedBlur.qml +GaussianDirectionalBlur 1.0 GaussianDirectionalBlur.qml +GaussianGlow 1.0 GaussianGlow.qml +GaussianInnerShadow 1.0 GaussianInnerShadow.qml +GaussianMaskedBlur 1.0 GaussianMaskedBlur.qml +DropShadowBase 1.0 DropShadowBase.qml diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll new file mode 100644 index 00000000..61184f9b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/qmldir new file mode 100644 index 00000000..72233b56 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/qmldir @@ -0,0 +1,31 @@ +module QtGraphicalEffects +plugin qtgraphicaleffectsplugin +classname QtGraphicalEffectsPlugin +Blend 1.0 Blend.qml +BrightnessContrast 1.0 BrightnessContrast.qml +Colorize 1.0 Colorize.qml +ColorOverlay 1.0 ColorOverlay.qml +ConicalGradient 1.0 ConicalGradient.qml +Desaturate 1.0 Desaturate.qml +DirectionalBlur 1.0 DirectionalBlur.qml +Displace 1.0 Displace.qml +DropShadow 1.0 DropShadow.qml +FastBlur 1.0 FastBlur.qml +GammaAdjust 1.0 GammaAdjust.qml +GaussianBlur 1.0 GaussianBlur.qml +Glow 1.0 Glow.qml +HueSaturation 1.0 HueSaturation.qml +InnerShadow 1.0 InnerShadow.qml +LevelAdjust 1.0 LevelAdjust.qml +LinearGradient 1.0 LinearGradient.qml +MaskedBlur 1.0 MaskedBlur.qml +OpacityMask 1.0 OpacityMask.qml +RadialBlur 1.0 RadialBlur.qml +RadialGradient 1.0 RadialGradient.qml +RecursiveBlur 1.0 RecursiveBlur.qml +RectangularGlow 1.0 RectangularGlow.qml +ThresholdMask 1.0 ThresholdMask.qml +ZoomBlur 1.0 ZoomBlur.qml +designersupported +depends QtGraphicalEffects/private 1.0 +depends QtQuick.Window 2.1 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/qtgraphicaleffectsplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/qtgraphicaleffectsplugin.dll new file mode 100644 index 00000000..3f1ba56f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtGraphicalEffects/qtgraphicaleffectsplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/declarative_location.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/declarative_location.dll new file mode 100644 index 00000000..a48d75d1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/declarative_location.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/plugins.qmltypes new file mode 100644 index 00000000..27d8cbed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/plugins.qmltypes @@ -0,0 +1,1844 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtLocation 5.14' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: { + "NoLayoutChangeHint": 0, + "VerticalSortHint": 1, + "HorizontalSortHint": 2 + } + } + Enum { + name: "CheckIndexOption" + values: { + "NoOption": 0, + "IndexIsValid": 1, + "DoNotUseParent": 2, + "ParentIsInvalid": 4 + } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + name: "QDeclarativeCategory" + prototype: "QObject" + exports: ["QtLocation/Category 5.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Visibility" + values: { + "UnspecifiedVisibility": 0, + "DeviceVisibility": 1, + "PrivateVisibility": 2, + "PublicVisibility": 4 + } + } + Enum { + name: "Status" + values: { + "Ready": 0, + "Saving": 1, + "Removing": 2, + "Error": 3 + } + } + Property { name: "category"; type: "QPlaceCategory" } + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "categoryId"; type: "string" } + Property { name: "name"; type: "string" } + Property { name: "visibility"; type: "Visibility" } + Property { name: "icon"; type: "QDeclarativePlaceIcon"; isPointer: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Method { name: "errorString"; type: "string" } + Method { + name: "save" + Parameter { name: "parentId"; type: "string" } + } + Method { name: "save" } + Method { name: "remove" } + } + Component { + name: "QDeclarativeCircleMapItem" + defaultProperty: "data" + prototype: "QDeclarativeGeoMapItemBase" + exports: ["QtLocation/MapCircle 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "center"; type: "QGeoCoordinate" } + Property { name: "radius"; type: "double" } + Property { name: "color"; type: "QColor" } + Property { + name: "border" + type: "QDeclarativeMapLineProperties" + isReadonly: true + isPointer: true + } + Signal { + name: "centerChanged" + Parameter { name: "center"; type: "QGeoCoordinate" } + } + Signal { + name: "radiusChanged" + Parameter { name: "radius"; type: "double" } + } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + } + Component { + name: "QDeclarativeContactDetail" + prototype: "QObject" + exports: ["QtLocation/ContactDetail 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "contactDetail"; type: "QPlaceContactDetail" } + Property { name: "label"; type: "string" } + Property { name: "value"; type: "string" } + } + Component { + name: "QDeclarativeContactDetails" + prototype: "QQmlPropertyMap" + exports: ["QtLocation/ContactDetails 5.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + } + Component { + name: "QDeclarativeGeoCameraCapabilities" + prototype: "QObject" + exports: ["QtLocation/CameraCapabilities 5.10"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "minimumZoomLevel"; type: "double"; isReadonly: true } + Property { name: "maximumZoomLevel"; type: "double"; isReadonly: true } + Property { name: "minimumTilt"; type: "double"; isReadonly: true } + Property { name: "maximumTilt"; type: "double"; isReadonly: true } + Property { name: "minimumFieldOfView"; type: "double"; isReadonly: true } + Property { name: "maximumFieldOfView"; type: "double"; isReadonly: true } + } + Component { + name: "QDeclarativeGeoManeuver" + prototype: "QObject" + exports: [ + "QtLocation/RouteManeuver 5.0", + "QtLocation/RouteManeuver 5.11", + "QtLocation/RouteManeuver 5.8" + ] + exportMetaObjectRevisions: [0, 11, 0] + Enum { + name: "Direction" + values: { + "NoDirection": 0, + "DirectionForward": 1, + "DirectionBearRight": 2, + "DirectionLightRight": 3, + "DirectionRight": 4, + "DirectionHardRight": 5, + "DirectionUTurnRight": 6, + "DirectionUTurnLeft": 7, + "DirectionHardLeft": 8, + "DirectionLeft": 9, + "DirectionLightLeft": 10, + "DirectionBearLeft": 11 + } + } + Property { name: "valid"; type: "bool"; isReadonly: true } + Property { name: "position"; type: "QGeoCoordinate"; isReadonly: true } + Property { name: "instructionText"; type: "string"; isReadonly: true } + Property { name: "direction"; type: "Direction"; isReadonly: true } + Property { name: "timeToNextInstruction"; type: "int"; isReadonly: true } + Property { name: "distanceToNextInstruction"; type: "double"; isReadonly: true } + Property { name: "waypoint"; type: "QGeoCoordinate"; isReadonly: true } + Property { name: "waypointValid"; type: "bool"; isReadonly: true } + Property { + name: "extendedAttributes" + revision: 11 + type: "QObject" + isReadonly: true + isPointer: true + } + } + Component { + name: "QDeclarativeGeoMap" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtLocation/Map 5.0", + "QtLocation/Map 5.11", + "QtLocation/Map 5.12", + "QtLocation/Map 5.13", + "QtLocation/Map 5.14" + ] + exportMetaObjectRevisions: [0, 11, 12, 13, 14] + Property { name: "gesture"; type: "QQuickGeoMapGestureArea"; isReadonly: true; isPointer: true } + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "minimumZoomLevel"; type: "double" } + Property { name: "maximumZoomLevel"; type: "double" } + Property { name: "zoomLevel"; type: "double" } + Property { name: "tilt"; type: "double" } + Property { name: "minimumTilt"; type: "double" } + Property { name: "maximumTilt"; type: "double" } + Property { name: "bearing"; type: "double" } + Property { name: "fieldOfView"; type: "double" } + Property { name: "minimumFieldOfView"; type: "double" } + Property { name: "maximumFieldOfView"; type: "double" } + Property { name: "activeMapType"; type: "QDeclarativeGeoMapType"; isPointer: true } + Property { + name: "supportedMapTypes" + type: "QDeclarativeGeoMapType" + isList: true + isReadonly: true + } + Property { name: "center"; type: "QGeoCoordinate" } + Property { name: "mapItems"; type: "QList"; isReadonly: true } + Property { name: "mapParameters"; type: "QList"; isReadonly: true } + Property { name: "error"; type: "QGeoServiceProvider::Error"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "visibleRegion"; type: "QGeoShape" } + Property { name: "copyrightsVisible"; type: "bool" } + Property { name: "color"; type: "QColor" } + Property { name: "mapReady"; type: "bool"; isReadonly: true } + Property { name: "visibleArea"; revision: 12; type: "QRectF" } + Signal { + name: "pluginChanged" + Parameter { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + } + Signal { + name: "zoomLevelChanged" + Parameter { name: "zoomLevel"; type: "double" } + } + Signal { + name: "centerChanged" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Signal { + name: "copyrightLinkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "copyrightsVisibleChanged" + Parameter { name: "visible"; type: "bool" } + } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "bearingChanged" + Parameter { name: "bearing"; type: "double" } + } + Signal { + name: "tiltChanged" + Parameter { name: "tilt"; type: "double" } + } + Signal { + name: "fieldOfViewChanged" + Parameter { name: "fieldOfView"; type: "double" } + } + Signal { + name: "minimumTiltChanged" + Parameter { name: "minimumTilt"; type: "double" } + } + Signal { + name: "maximumTiltChanged" + Parameter { name: "maximumTilt"; type: "double" } + } + Signal { + name: "minimumFieldOfViewChanged" + Parameter { name: "minimumFieldOfView"; type: "double" } + } + Signal { + name: "maximumFieldOfViewChanged" + Parameter { name: "maximumFieldOfView"; type: "double" } + } + Signal { + name: "copyrightsChanged" + Parameter { name: "copyrightsImage"; type: "QImage" } + } + Signal { + name: "copyrightsChanged" + Parameter { name: "copyrightsHtml"; type: "string" } + } + Signal { + name: "mapReadyChanged" + Parameter { name: "ready"; type: "bool" } + } + Signal { name: "mapObjectsChanged"; revision: 11 } + Signal { name: "visibleRegionChanged"; revision: 14 } + Method { + name: "setBearing" + Parameter { name: "bearing"; type: "double" } + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { + name: "alignCoordinateToPoint" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "removeMapItem" + Parameter { name: "item"; type: "QDeclarativeGeoMapItemBase"; isPointer: true } + } + Method { + name: "addMapItem" + Parameter { name: "item"; type: "QDeclarativeGeoMapItemBase"; isPointer: true } + } + Method { + name: "addMapItemGroup" + Parameter { name: "itemGroup"; type: "QDeclarativeGeoMapItemGroup"; isPointer: true } + } + Method { + name: "removeMapItemGroup" + Parameter { name: "itemGroup"; type: "QDeclarativeGeoMapItemGroup"; isPointer: true } + } + Method { + name: "removeMapItemView" + Parameter { name: "itemView"; type: "QDeclarativeGeoMapItemView"; isPointer: true } + } + Method { + name: "addMapItemView" + Parameter { name: "itemView"; type: "QDeclarativeGeoMapItemView"; isPointer: true } + } + Method { name: "clearMapItems" } + Method { + name: "addMapParameter" + Parameter { name: "parameter"; type: "QDeclarativeGeoMapParameter"; isPointer: true } + } + Method { + name: "removeMapParameter" + Parameter { name: "parameter"; type: "QDeclarativeGeoMapParameter"; isPointer: true } + } + Method { name: "clearMapParameters" } + Method { + name: "toCoordinate" + type: "QGeoCoordinate" + Parameter { name: "position"; type: "QPointF" } + Parameter { name: "clipToViewPort"; type: "bool" } + } + Method { + name: "toCoordinate" + type: "QGeoCoordinate" + Parameter { name: "position"; type: "QPointF" } + } + Method { + name: "fromCoordinate" + type: "QPointF" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + Parameter { name: "clipToViewPort"; type: "bool" } + } + Method { + name: "fromCoordinate" + type: "QPointF" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { name: "fitViewportToMapItems" } + Method { name: "fitViewportToVisibleMapItems" } + Method { + name: "pan" + Parameter { name: "dx"; type: "int" } + Parameter { name: "dy"; type: "int" } + } + Method { name: "prefetchData" } + Method { name: "clearData" } + Method { + name: "fitViewportToGeoShape" + revision: 13 + Parameter { name: "shape"; type: "QGeoShape" } + Parameter { name: "margins"; type: "QVariant" } + } + } + Component { + name: "QDeclarativeGeoMapCopyrightNotice" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtLocation/MapCopyrightNotice 5.9"] + exportMetaObjectRevisions: [0] + Property { name: "mapSource"; type: "QDeclarativeGeoMap"; isPointer: true } + Property { name: "styleSheet"; type: "string" } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "backgroundColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "styleSheetChanged" + Parameter { name: "styleSheet"; type: "string" } + } + Signal { name: "copyrightsVisibleChanged" } + Method { + name: "copyrightsChanged" + Parameter { name: "copyrightsImage"; type: "QImage" } + } + Method { + name: "copyrightsChanged" + Parameter { name: "copyrightsHtml"; type: "string" } + } + Method { + name: "onCopyrightsStyleSheetChanged" + Parameter { name: "styleSheet"; type: "string" } + } + } + Component { + name: "QDeclarativeGeoMapItemBase" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtLocation/GeoMapItemBase 5.0", + "QtLocation/GeoMapItemBase 5.11", + "QtLocation/GeoMapItemBase 5.14" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 11, 14] + Property { name: "geoShape"; type: "QGeoShape" } + Property { name: "autoFadeIn"; revision: 14; type: "bool" } + Signal { name: "mapItemOpacityChanged" } + Signal { name: "addTransitionFinished"; revision: 12 } + Signal { name: "removeTransitionFinished"; revision: 12 } + } + Component { + name: "QDeclarativeGeoMapItemGroup" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtLocation/MapItemGroup 5.9"] + exportMetaObjectRevisions: [0] + Signal { name: "mapItemOpacityChanged" } + Signal { name: "addTransitionFinished" } + Signal { name: "removeTransitionFinished" } + } + Component { + name: "QDeclarativeGeoMapItemView" + defaultProperty: "data" + prototype: "QDeclarativeGeoMapItemGroup" + exports: ["QtLocation/MapItemView 5.0", "QtLocation/MapItemView 5.12"] + exportMetaObjectRevisions: [0, 12] + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "autoFitViewport"; type: "bool" } + Property { name: "add"; revision: 12; type: "QQuickTransition"; isPointer: true } + Property { name: "remove"; revision: 12; type: "QQuickTransition"; isPointer: true } + Property { name: "mapItems"; revision: 12; type: "QList"; isReadonly: true } + Property { name: "incubateDelegates"; revision: 12; type: "bool" } + } + Component { + name: "QDeclarativeGeoMapParameter" + prototype: "QGeoMapParameter" + exports: [ + "QtLocation/DynamicParameter 5.11", + "QtLocation/MapParameter 5.9" + ] + exportMetaObjectRevisions: [0, 0] + Signal { + name: "completed" + Parameter { type: "QDeclarativeGeoMapParameter"; isPointer: true } + } + } + Component { + name: "QDeclarativeGeoMapQuickItem" + defaultProperty: "data" + prototype: "QDeclarativeGeoMapItemBase" + exports: ["QtLocation/MapQuickItem 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "coordinate"; type: "QGeoCoordinate" } + Property { name: "anchorPoint"; type: "QPointF" } + Property { name: "zoomLevel"; type: "double" } + Property { name: "sourceItem"; type: "QQuickItem"; isPointer: true } + } + Component { + name: "QDeclarativeGeoMapType" + prototype: "QObject" + exports: ["QtLocation/MapType 5.0", "QtLocation/MapType 5.5"] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Enum { + name: "MapStyle" + values: { + "NoMap": 0, + "StreetMap": 1, + "SatelliteMapDay": 2, + "SatelliteMapNight": 3, + "TerrainMap": 4, + "HybridMap": 5, + "TransitMap": 6, + "GrayStreetMap": 7, + "PedestrianMap": 8, + "CarNavigationMap": 9, + "CycleMap": 10, + "CustomMap": 100 + } + } + Property { name: "style"; type: "MapStyle"; isReadonly: true } + Property { name: "name"; type: "string"; isReadonly: true } + Property { name: "description"; type: "string"; isReadonly: true } + Property { name: "mobile"; type: "bool"; isReadonly: true } + Property { name: "night"; revision: 1; type: "bool"; isReadonly: true } + Property { + name: "cameraCapabilities" + type: "QDeclarativeGeoCameraCapabilities" + isReadonly: true + isPointer: true + } + Property { name: "metadata"; type: "QVariantMap"; isReadonly: true } + } + Component { + name: "QDeclarativeGeoRoute" + prototype: "QObject" + exports: [ + "QtLocation/Route 5.0", + "QtLocation/Route 5.11", + "QtLocation/Route 5.12", + "QtLocation/Route 5.13" + ] + exportMetaObjectRevisions: [0, 11, 12, 13] + Property { name: "bounds"; type: "QGeoRectangle"; isReadonly: true } + Property { name: "travelTime"; type: "int"; isReadonly: true } + Property { name: "distance"; type: "double"; isReadonly: true } + Property { name: "path"; type: "QJSValue" } + Property { name: "segments"; type: "QDeclarativeGeoRouteSegment"; isList: true; isReadonly: true } + Property { + name: "routeQuery" + revision: 11 + type: "QDeclarativeGeoRouteQuery" + isReadonly: true + isPointer: true + } + Property { name: "legs"; revision: 12; type: "QList"; isReadonly: true } + Property { + name: "extendedAttributes" + revision: 13 + type: "QObject" + isReadonly: true + isPointer: true + } + Method { + name: "equals" + type: "bool" + Parameter { name: "other"; type: "QDeclarativeGeoRoute"; isPointer: true } + } + } + Component { + name: "QDeclarativeGeoRouteLeg" + prototype: "QDeclarativeGeoRoute" + exports: ["QtLocation/RouteLeg 5.12"] + exportMetaObjectRevisions: [12] + Property { name: "legIndex"; type: "int"; isReadonly: true } + Property { name: "overallRoute"; type: "QObject"; isReadonly: true; isPointer: true } + } + Component { + name: "QDeclarativeGeoRouteModel" + prototype: "QAbstractListModel" + exports: ["QtLocation/RouteModel 5.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: { + "Null": 0, + "Ready": 1, + "Loading": 2, + "Error": 3 + } + } + Enum { + name: "RouteError" + values: { + "NoError": 0, + "EngineNotSetError": 1, + "CommunicationError": 2, + "ParseError": 3, + "UnsupportedOptionError": 4, + "UnknownError": 5, + "UnknownParameterError": 100, + "MissingRequiredParameterError": 101 + } + } + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "query"; type: "QDeclarativeGeoRouteQuery"; isPointer: true } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "autoUpdate"; type: "bool" } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "error"; type: "RouteError"; isReadonly: true } + Property { name: "measurementSystem"; type: "QLocale::MeasurementSystem" } + Signal { name: "routesChanged" } + Signal { name: "abortRequested" } + Method { name: "update" } + Method { + name: "get" + type: "QDeclarativeGeoRoute*" + Parameter { name: "index"; type: "int" } + } + Method { name: "reset" } + Method { name: "cancel" } + } + Component { + name: "QDeclarativeGeoRouteQuery" + defaultProperty: "quickChildren" + prototype: "QObject" + exports: [ + "QtLocation/RouteQuery 5.0", + "QtLocation/RouteQuery 5.11", + "QtLocation/RouteQuery 5.13" + ] + exportMetaObjectRevisions: [0, 11, 13] + Enum { + name: "TravelMode" + values: { + "CarTravel": 1, + "PedestrianTravel": 2, + "BicycleTravel": 4, + "PublicTransitTravel": 8, + "TruckTravel": 16 + } + } + Enum { + name: "TravelModes" + values: { + "CarTravel": 1, + "PedestrianTravel": 2, + "BicycleTravel": 4, + "PublicTransitTravel": 8, + "TruckTravel": 16 + } + } + Enum { + name: "FeatureType" + values: { + "NoFeature": 0, + "TollFeature": 1, + "HighwayFeature": 2, + "PublicTransitFeature": 4, + "FerryFeature": 8, + "TunnelFeature": 16, + "DirtRoadFeature": 32, + "ParksFeature": 64, + "MotorPoolLaneFeature": 128, + "TrafficFeature": 256 + } + } + Enum { + name: "FeatureWeight" + values: { + "NeutralFeatureWeight": 0, + "PreferFeatureWeight": 1, + "RequireFeatureWeight": 2, + "AvoidFeatureWeight": 4, + "DisallowFeatureWeight": 8 + } + } + Enum { + name: "RouteOptimization" + values: { + "ShortestRoute": 1, + "FastestRoute": 2, + "MostEconomicRoute": 4, + "MostScenicRoute": 8 + } + } + Enum { + name: "RouteOptimizations" + values: { + "ShortestRoute": 1, + "FastestRoute": 2, + "MostEconomicRoute": 4, + "MostScenicRoute": 8 + } + } + Enum { + name: "SegmentDetail" + values: { + "NoSegmentData": 0, + "BasicSegmentData": 1 + } + } + Enum { + name: "SegmentDetails" + values: { + "NoSegmentData": 0, + "BasicSegmentData": 1 + } + } + Enum { + name: "ManeuverDetail" + values: { + "NoManeuvers": 0, + "BasicManeuvers": 1 + } + } + Enum { + name: "ManeuverDetails" + values: { + "NoManeuvers": 0, + "BasicManeuvers": 1 + } + } + Property { name: "numberAlternativeRoutes"; type: "int" } + Property { name: "travelModes"; type: "TravelModes" } + Property { name: "routeOptimizations"; type: "RouteOptimizations" } + Property { name: "segmentDetail"; type: "SegmentDetail" } + Property { name: "maneuverDetail"; type: "ManeuverDetail" } + Property { name: "waypoints"; type: "QVariantList" } + Property { name: "excludedAreas"; type: "QJSValue" } + Property { name: "featureTypes"; type: "QList"; isReadonly: true } + Property { name: "extraParameters"; revision: 11; type: "QVariantMap"; isReadonly: true } + Property { name: "departureTime"; revision: 13; type: "QDateTime" } + Property { name: "quickChildren"; type: "QObject"; isList: true; isReadonly: true } + Signal { name: "queryDetailsChanged" } + Signal { name: "extraParametersChanged"; revision: 11 } + Method { name: "waypointObjects"; type: "QVariantList" } + Method { + name: "addWaypoint" + Parameter { name: "w"; type: "QVariant" } + } + Method { + name: "removeWaypoint" + Parameter { name: "waypoint"; type: "QVariant" } + } + Method { name: "clearWaypoints" } + Method { + name: "addExcludedArea" + Parameter { name: "area"; type: "QGeoRectangle" } + } + Method { + name: "removeExcludedArea" + Parameter { name: "area"; type: "QGeoRectangle" } + } + Method { name: "clearExcludedAreas" } + Method { + name: "setFeatureWeight" + Parameter { name: "featureType"; type: "FeatureType" } + Parameter { name: "featureWeight"; type: "FeatureWeight" } + } + Method { + name: "featureWeight" + type: "int" + Parameter { name: "featureType"; type: "FeatureType" } + } + Method { name: "resetFeatureWeights" } + } + Component { + name: "QDeclarativeGeoRouteSegment" + prototype: "QObject" + exports: ["QtLocation/RouteSegment 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "travelTime"; type: "int"; isReadonly: true } + Property { name: "distance"; type: "double"; isReadonly: true } + Property { name: "path"; type: "QJSValue"; isReadonly: true } + Property { name: "maneuver"; type: "QDeclarativeGeoManeuver"; isReadonly: true; isPointer: true } + } + Component { + name: "QDeclarativeGeoServiceProvider" + defaultProperty: "parameters" + prototype: "QObject" + exports: ["QtLocation/Plugin 5.0", "QtLocation/Plugin 5.11"] + exportMetaObjectRevisions: [0, 11] + Enum { + name: "RoutingFeature" + values: { + "NoRoutingFeatures": 0, + "OnlineRoutingFeature": 1, + "OfflineRoutingFeature": 2, + "LocalizedRoutingFeature": 4, + "RouteUpdatesFeature": 8, + "AlternativeRoutesFeature": 16, + "ExcludeAreasRoutingFeature": 32, + "AnyRoutingFeatures": -1 + } + } + Enum { + name: "RoutingFeatures" + values: { + "NoRoutingFeatures": 0, + "OnlineRoutingFeature": 1, + "OfflineRoutingFeature": 2, + "LocalizedRoutingFeature": 4, + "RouteUpdatesFeature": 8, + "AlternativeRoutesFeature": 16, + "ExcludeAreasRoutingFeature": 32, + "AnyRoutingFeatures": -1 + } + } + Enum { + name: "GeocodingFeature" + values: { + "NoGeocodingFeatures": 0, + "OnlineGeocodingFeature": 1, + "OfflineGeocodingFeature": 2, + "ReverseGeocodingFeature": 4, + "LocalizedGeocodingFeature": 8, + "AnyGeocodingFeatures": -1 + } + } + Enum { + name: "GeocodingFeatures" + values: { + "NoGeocodingFeatures": 0, + "OnlineGeocodingFeature": 1, + "OfflineGeocodingFeature": 2, + "ReverseGeocodingFeature": 4, + "LocalizedGeocodingFeature": 8, + "AnyGeocodingFeatures": -1 + } + } + Enum { + name: "MappingFeature" + values: { + "NoMappingFeatures": 0, + "OnlineMappingFeature": 1, + "OfflineMappingFeature": 2, + "LocalizedMappingFeature": 4, + "AnyMappingFeatures": -1 + } + } + Enum { + name: "MappingFeatures" + values: { + "NoMappingFeatures": 0, + "OnlineMappingFeature": 1, + "OfflineMappingFeature": 2, + "LocalizedMappingFeature": 4, + "AnyMappingFeatures": -1 + } + } + Enum { + name: "PlacesFeature" + values: { + "NoPlacesFeatures": 0, + "OnlinePlacesFeature": 1, + "OfflinePlacesFeature": 2, + "SavePlaceFeature": 4, + "RemovePlaceFeature": 8, + "SaveCategoryFeature": 16, + "RemoveCategoryFeature": 32, + "PlaceRecommendationsFeature": 64, + "SearchSuggestionsFeature": 128, + "LocalizedPlacesFeature": 256, + "NotificationsFeature": 512, + "PlaceMatchingFeature": 1024, + "AnyPlacesFeatures": -1 + } + } + Enum { + name: "PlacesFeatures" + values: { + "NoPlacesFeatures": 0, + "OnlinePlacesFeature": 1, + "OfflinePlacesFeature": 2, + "SavePlaceFeature": 4, + "RemovePlaceFeature": 8, + "SaveCategoryFeature": 16, + "RemoveCategoryFeature": 32, + "PlaceRecommendationsFeature": 64, + "SearchSuggestionsFeature": 128, + "LocalizedPlacesFeature": 256, + "NotificationsFeature": 512, + "PlaceMatchingFeature": 1024, + "AnyPlacesFeatures": -1 + } + } + Enum { + name: "NavigationFeatures" + values: { + "NoNavigationFeatures": 0, + "OnlineNavigationFeature": 1, + "OfflineNavigationFeature": 2, + "AnyNavigationFeatures": -1 + } + } + Property { name: "name"; type: "string" } + Property { name: "availableServiceProviders"; type: "QStringList"; isReadonly: true } + Property { + name: "parameters" + type: "QDeclarativePluginParameter" + isList: true + isReadonly: true + } + Property { + name: "required" + type: "QDeclarativeGeoServiceProviderRequirements" + isPointer: true + } + Property { name: "locales"; type: "QStringList" } + Property { name: "preferred"; type: "QStringList" } + Property { name: "allowExperimental"; type: "bool" } + Property { name: "isAttached"; type: "bool"; isReadonly: true } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "string" } + } + Signal { name: "attached" } + Signal { + name: "preferredChanged" + Parameter { name: "preferences"; type: "QStringList" } + } + Signal { + name: "allowExperimentalChanged" + Parameter { name: "allow"; type: "bool" } + } + Method { + name: "supportsRouting" + type: "bool" + Parameter { name: "feature"; type: "RoutingFeatures" } + } + Method { name: "supportsRouting"; type: "bool" } + Method { + name: "supportsGeocoding" + type: "bool" + Parameter { name: "feature"; type: "GeocodingFeatures" } + } + Method { name: "supportsGeocoding"; type: "bool" } + Method { + name: "supportsMapping" + type: "bool" + Parameter { name: "feature"; type: "MappingFeatures" } + } + Method { name: "supportsMapping"; type: "bool" } + Method { + name: "supportsPlaces" + type: "bool" + Parameter { name: "feature"; type: "PlacesFeatures" } + } + Method { name: "supportsPlaces"; type: "bool" } + Method { + name: "supportsNavigation" + revision: 11 + type: "bool" + Parameter { name: "feature"; type: "NavigationFeature" } + } + Method { name: "supportsNavigation"; revision: 11; type: "bool" } + } + Component { + name: "QDeclarativeGeoServiceProviderRequirements" + prototype: "QObject" + exports: ["QtLocation/PluginRequirements 5.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "mapping"; type: "QDeclarativeGeoServiceProvider::MappingFeatures" } + Property { name: "routing"; type: "QDeclarativeGeoServiceProvider::RoutingFeatures" } + Property { name: "geocoding"; type: "QDeclarativeGeoServiceProvider::GeocodingFeatures" } + Property { name: "places"; type: "QDeclarativeGeoServiceProvider::PlacesFeatures" } + Property { name: "navigation"; type: "QDeclarativeGeoServiceProvider::NavigationFeatures" } + Signal { + name: "mappingRequirementsChanged" + Parameter { name: "features"; type: "QDeclarativeGeoServiceProvider::MappingFeatures" } + } + Signal { + name: "routingRequirementsChanged" + Parameter { name: "features"; type: "QDeclarativeGeoServiceProvider::RoutingFeatures" } + } + Signal { + name: "geocodingRequirementsChanged" + Parameter { name: "features"; type: "QDeclarativeGeoServiceProvider::GeocodingFeatures" } + } + Signal { + name: "placesRequirementsChanged" + Parameter { name: "features"; type: "QDeclarativeGeoServiceProvider::PlacesFeatures" } + } + Signal { + name: "navigationRequirementsChanged" + Parameter { name: "features"; type: "QDeclarativeGeoServiceProvider::NavigationFeatures" } + } + Signal { name: "requirementsChanged" } + Method { + name: "matches" + type: "bool" + Parameter { name: "provider"; type: "const QGeoServiceProvider"; isPointer: true } + } + } + Component { + name: "QDeclarativeGeoWaypoint" + defaultProperty: "quickChildren" + prototype: "QGeoCoordinateObject" + exports: ["QtLocation/Waypoint 5.11"] + exportMetaObjectRevisions: [0] + Property { name: "latitude"; type: "double" } + Property { name: "longitude"; type: "double" } + Property { name: "altitude"; type: "double" } + Property { name: "isValid"; type: "bool"; isReadonly: true } + Property { name: "bearing"; type: "double" } + Property { name: "metadata"; type: "QVariantMap"; isReadonly: true } + Property { name: "quickChildren"; type: "QObject"; isList: true; isReadonly: true } + Signal { name: "completed" } + Signal { name: "waypointDetailsChanged" } + Signal { name: "extraParametersChanged" } + } + Component { + name: "QDeclarativeGeocodeModel" + prototype: "QAbstractListModel" + exports: ["QtLocation/GeocodeModel 5.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: { + "Null": 0, + "Ready": 1, + "Loading": 2, + "Error": 3 + } + } + Enum { + name: "GeocodeError" + values: { + "NoError": 0, + "EngineNotSetError": 1, + "CommunicationError": 2, + "ParseError": 3, + "UnsupportedOptionError": 4, + "CombinationError": 5, + "UnknownError": 6, + "UnknownParameterError": 100, + "MissingRequiredParameterError": 101 + } + } + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "autoUpdate"; type: "bool" } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "limit"; type: "int" } + Property { name: "offset"; type: "int" } + Property { name: "query"; type: "QVariant" } + Property { name: "bounds"; type: "QVariant" } + Property { name: "error"; type: "GeocodeError"; isReadonly: true } + Signal { name: "locationsChanged" } + Method { name: "update" } + Method { + name: "get" + type: "QDeclarativeGeoLocation*" + Parameter { name: "index"; type: "int" } + } + Method { name: "reset" } + Method { name: "cancel" } + } + Component { + name: "QDeclarativeMapLineProperties" + prototype: "QObject" + Property { name: "width"; type: "double" } + Property { name: "color"; type: "QColor" } + Signal { + name: "widthChanged" + Parameter { name: "width"; type: "double" } + } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + } + Component { + name: "QDeclarativePlace" + prototype: "QObject" + exports: ["QtLocation/Place 5.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: { + "Ready": 0, + "Saving": 1, + "Fetching": 2, + "Removing": 3, + "Error": 4 + } + } + Enum { + name: "Visibility" + values: { + "UnspecifiedVisibility": 0, + "DeviceVisibility": 1, + "PrivateVisibility": 2, + "PublicVisibility": 4 + } + } + Property { name: "place"; type: "QPlace" } + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "categories"; type: "QDeclarativeCategory"; isList: true; isReadonly: true } + Property { name: "location"; type: "QDeclarativeGeoLocation"; isPointer: true } + Property { name: "ratings"; type: "QDeclarativeRatings"; isPointer: true } + Property { name: "supplier"; type: "QDeclarativeSupplier"; isPointer: true } + Property { name: "icon"; type: "QDeclarativePlaceIcon"; isPointer: true } + Property { name: "name"; type: "string" } + Property { name: "placeId"; type: "string" } + Property { name: "attribution"; type: "string" } + Property { + name: "reviewModel" + type: "QDeclarativeReviewModel" + isReadonly: true + isPointer: true + } + Property { + name: "imageModel" + type: "QDeclarativePlaceImageModel" + isReadonly: true + isPointer: true + } + Property { + name: "editorialModel" + type: "QDeclarativePlaceEditorialModel" + isReadonly: true + isPointer: true + } + Property { name: "extendedAttributes"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "contactDetails"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "detailsFetched"; type: "bool"; isReadonly: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "primaryPhone"; type: "string"; isReadonly: true } + Property { name: "primaryFax"; type: "string"; isReadonly: true } + Property { name: "primaryEmail"; type: "string"; isReadonly: true } + Property { name: "primaryWebsite"; type: "QUrl"; isReadonly: true } + Property { name: "visibility"; type: "Visibility" } + Property { name: "favorite"; type: "QDeclarativePlace"; isPointer: true } + Method { name: "getDetails" } + Method { name: "save" } + Method { name: "remove" } + Method { name: "errorString"; type: "string" } + Method { + name: "copyFrom" + Parameter { name: "original"; type: "QDeclarativePlace"; isPointer: true } + } + Method { + name: "initializeFavorite" + Parameter { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + } + } + Component { + name: "QDeclarativePlaceAttribute" + prototype: "QObject" + exports: ["QtLocation/PlaceAttribute 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "attribute"; type: "QPlaceAttribute" } + Property { name: "label"; type: "string" } + Property { name: "text"; type: "string" } + } + Component { + name: "QDeclarativePlaceContentModel" + prototype: "QAbstractListModel" + Property { name: "place"; type: "QDeclarativePlace"; isPointer: true } + Property { name: "batchSize"; type: "int" } + Property { name: "totalCount"; type: "int"; isReadonly: true } + } + Component { + name: "QDeclarativePlaceEditorialModel" + prototype: "QDeclarativePlaceContentModel" + exports: ["QtLocation/EditorialModel 5.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QDeclarativePlaceIcon" + prototype: "QObject" + exports: ["QtLocation/Icon 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "icon"; type: "QPlaceIcon" } + Property { name: "parameters"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Method { + name: "url" + type: "QUrl" + Parameter { name: "size"; type: "QSize" } + } + Method { name: "url"; type: "QUrl" } + } + Component { + name: "QDeclarativePlaceImageModel" + prototype: "QDeclarativePlaceContentModel" + exports: ["QtLocation/ImageModel 5.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QDeclarativePlaceUser" + prototype: "QObject" + exports: ["QtLocation/User 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "user"; type: "QPlaceUser" } + Property { name: "userId"; type: "string" } + Property { name: "name"; type: "string" } + } + Component { + name: "QDeclarativePluginParameter" + prototype: "QObject" + exports: ["QtLocation/PluginParameter 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "name"; type: "string" } + Property { name: "value"; type: "QVariant" } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "string" } + } + Signal { + name: "valueChanged" + Parameter { name: "value"; type: "QVariant" } + } + Signal { name: "initialized" } + } + Component { + name: "QDeclarativePolygonMapItem" + defaultProperty: "data" + prototype: "QDeclarativeGeoMapItemBase" + exports: ["QtLocation/MapPolygon 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "path"; type: "QJSValue" } + Property { name: "color"; type: "QColor" } + Property { + name: "border" + type: "QDeclarativeMapLineProperties" + isReadonly: true + isPointer: true + } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + Method { + name: "addCoordinate" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { + name: "removeCoordinate" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + } + Component { + name: "QDeclarativePolylineMapItem" + defaultProperty: "data" + prototype: "QDeclarativeGeoMapItemBase" + exports: ["QtLocation/MapPolyline 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "path"; type: "QJSValue" } + Property { + name: "line" + type: "QDeclarativeMapLineProperties" + isReadonly: true + isPointer: true + } + Method { name: "pathLength"; type: "int" } + Method { + name: "addCoordinate" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { + name: "insertCoordinate" + Parameter { name: "index"; type: "int" } + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { + name: "replaceCoordinate" + Parameter { name: "index"; type: "int" } + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { + name: "coordinateAt" + type: "QGeoCoordinate" + Parameter { name: "index"; type: "int" } + } + Method { + name: "containsCoordinate" + type: "bool" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { + name: "removeCoordinate" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { + name: "removeCoordinate" + Parameter { name: "index"; type: "int" } + } + Method { + name: "setPath" + Parameter { name: "path"; type: "QGeoPath" } + } + } + Component { + name: "QDeclarativeRatings" + prototype: "QObject" + exports: ["QtLocation/Ratings 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "ratings"; type: "QPlaceRatings" } + Property { name: "average"; type: "double" } + Property { name: "maximum"; type: "double" } + Property { name: "count"; type: "int" } + } + Component { + name: "QDeclarativeRectangleMapItem" + defaultProperty: "data" + prototype: "QDeclarativeGeoMapItemBase" + exports: ["QtLocation/MapRectangle 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "topLeft"; type: "QGeoCoordinate" } + Property { name: "bottomRight"; type: "QGeoCoordinate" } + Property { name: "color"; type: "QColor" } + Property { + name: "border" + type: "QDeclarativeMapLineProperties" + isReadonly: true + isPointer: true + } + Signal { + name: "topLeftChanged" + Parameter { name: "topLeft"; type: "QGeoCoordinate" } + } + Signal { + name: "bottomRightChanged" + Parameter { name: "bottomRight"; type: "QGeoCoordinate" } + } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + } + Component { + name: "QDeclarativeReviewModel" + prototype: "QDeclarativePlaceContentModel" + exports: ["QtLocation/ReviewModel 5.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QDeclarativeRouteMapItem" + defaultProperty: "data" + prototype: "QDeclarativePolylineMapItem" + exports: ["QtLocation/MapRoute 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "route"; type: "QDeclarativeGeoRoute"; isPointer: true } + Signal { + name: "routeChanged" + Parameter { name: "route"; type: "const QDeclarativeGeoRoute"; isPointer: true } + } + } + Component { + name: "QDeclarativeSearchModelBase" + prototype: "QAbstractListModel" + Enum { + name: "Status" + values: { + "Null": 0, + "Ready": 1, + "Loading": 2, + "Error": 3 + } + } + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "searchArea"; type: "QVariant" } + Property { name: "limit"; type: "int" } + Property { name: "previousPagesAvailable"; type: "bool"; isReadonly: true } + Property { name: "nextPagesAvailable"; type: "bool"; isReadonly: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Method { name: "update" } + Method { name: "cancel" } + Method { name: "reset" } + Method { name: "errorString"; type: "string" } + Method { name: "previousPage" } + Method { name: "nextPage" } + } + Component { + name: "QDeclarativeSearchResultModel" + prototype: "QDeclarativeSearchModelBase" + exports: [ + "QtLocation/PlaceSearchModel 5.0", + "QtLocation/PlaceSearchModel 5.12" + ] + exportMetaObjectRevisions: [0, 12] + Enum { + name: "SearchResultType" + values: { + "UnknownSearchResult": 0, + "PlaceResult": 1, + "ProposedSearchResult": 2 + } + } + Enum { + name: "RelevanceHint" + values: { + "UnspecifiedHint": 0, + "DistanceHint": 1, + "LexicalPlaceNameHint": 2 + } + } + Property { name: "searchTerm"; type: "string" } + Property { name: "categories"; type: "QDeclarativeCategory"; isList: true; isReadonly: true } + Property { name: "recommendationId"; type: "string" } + Property { name: "relevanceHint"; type: "RelevanceHint" } + Property { name: "visibilityScope"; type: "QDeclarativePlace::Visibility" } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "favoritesPlugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "favoritesMatchParameters"; type: "QVariantMap" } + Property { name: "incremental"; revision: 12; type: "bool" } + Signal { name: "rowCountChanged" } + Signal { name: "dataChanged" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "int" } + Parameter { name: "roleName"; type: "string" } + } + Method { + name: "updateWith" + Parameter { name: "proposedSearchIndex"; type: "int" } + } + } + Component { + name: "QDeclarativeSearchSuggestionModel" + prototype: "QDeclarativeSearchModelBase" + exports: ["QtLocation/PlaceSearchSuggestionModel 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "searchTerm"; type: "string" } + Property { name: "suggestions"; type: "QStringList"; isReadonly: true } + } + Component { + name: "QDeclarativeSupplier" + prototype: "QObject" + exports: ["QtLocation/Supplier 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "supplier"; type: "QPlaceSupplier" } + Property { name: "name"; type: "string" } + Property { name: "supplierId"; type: "string" } + Property { name: "url"; type: "QUrl" } + Property { name: "icon"; type: "QDeclarativePlaceIcon"; isPointer: true } + } + Component { + name: "QDeclarativeSupportedCategoriesModel" + prototype: "QAbstractItemModel" + exports: ["QtLocation/CategoryModel 5.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Roles" + values: { + "CategoryRole": 256, + "ParentCategoryRole": 257 + } + } + Enum { + name: "Status" + values: { + "Null": 0, + "Ready": 1, + "Loading": 2, + "Error": 3 + } + } + Property { name: "plugin"; type: "QDeclarativeGeoServiceProvider"; isPointer: true } + Property { name: "hierarchical"; type: "bool" } + Property { name: "status"; type: "Status"; isReadonly: true } + Signal { name: "dataChanged" } + Method { name: "update" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { name: "errorString"; type: "string" } + } + Component { + name: "QGeoCoordinateObject" + prototype: "QObject" + Property { name: "coordinate"; type: "QGeoCoordinate" } + } + Component { + name: "QGeoMapObject" + defaultProperty: "quickChildren" + prototype: "QParameterizableObject" + Enum { + name: "Type" + values: { + "InvalidType": 0, + "ViewType": 1, + "RouteType": 2, + "RectangleType": 3, + "CircleType": 4, + "PolylineType": 5, + "PolygonType": 6, + "IconType": 7, + "UserType": 256 + } + } + Property { name: "visible"; type: "bool" } + Property { name: "type"; type: "Type"; isReadonly: true } + Property { name: "geoShape"; type: "QGeoShape" } + Signal { name: "selected" } + Signal { name: "completed" } + } + Component { + name: "QGeoMapParameter" + prototype: "QObject" + Property { name: "type"; type: "string" } + Signal { + name: "propertyUpdated" + Parameter { name: "param"; type: "QGeoMapParameter"; isPointer: true } + Parameter { name: "propertyName"; type: "const char"; isPointer: true } + } + } + Component { + name: "QGeoMapPinchEvent" + prototype: "QObject" + exports: ["QtLocation/MapPinchEvent 5.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "center"; type: "QPointF"; isReadonly: true } + Property { name: "angle"; type: "double"; isReadonly: true } + Property { name: "point1"; type: "QPointF"; isReadonly: true } + Property { name: "point2"; type: "QPointF"; isReadonly: true } + Property { name: "pointCount"; type: "int"; isReadonly: true } + Property { name: "accepted"; type: "bool" } + } + Component { + name: "QParameterizableObject" + defaultProperty: "quickChildren" + prototype: "QObject" + Property { name: "quickChildren"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + name: "QQmlPropertyMap" + prototype: "QObject" + exports: ["QtLocation/ExtendedAttributes 5.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Signal { + name: "valueChanged" + Parameter { name: "key"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Method { name: "keys"; type: "QStringList" } + } + Component { + name: "QQuickGeoMapGestureArea" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtLocation/MapGestureArea 5.0", + "QtLocation/MapGestureArea 5.6" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Enum { + name: "GeoMapGesture" + values: { + "NoGesture": 0, + "PinchGesture": 1, + "PanGesture": 2, + "FlickGesture": 4, + "RotationGesture": 8, + "TiltGesture": 16 + } + } + Enum { + name: "AcceptedGestures" + values: { + "NoGesture": 0, + "PinchGesture": 1, + "PanGesture": 2, + "FlickGesture": 4, + "RotationGesture": 8, + "TiltGesture": 16 + } + } + Property { name: "enabled"; type: "bool" } + Property { name: "pinchActive"; type: "bool"; isReadonly: true } + Property { name: "panActive"; type: "bool"; isReadonly: true } + Property { name: "rotationActive"; type: "bool"; isReadonly: true } + Property { name: "tiltActive"; type: "bool"; isReadonly: true } + Property { name: "acceptedGestures"; type: "AcceptedGestures" } + Property { name: "maximumZoomLevelChange"; type: "double" } + Property { name: "flickDeceleration"; type: "double" } + Property { name: "preventStealing"; revision: 1; type: "bool" } + Signal { + name: "pinchStarted" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + Signal { + name: "pinchUpdated" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + Signal { + name: "pinchFinished" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + Signal { name: "panStarted" } + Signal { name: "panFinished" } + Signal { name: "flickStarted" } + Signal { name: "flickFinished" } + Signal { + name: "rotationStarted" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + Signal { + name: "rotationUpdated" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + Signal { + name: "rotationFinished" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + Signal { + name: "tiltStarted" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + Signal { + name: "tiltUpdated" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + Signal { + name: "tiltFinished" + Parameter { name: "pinch"; type: "QGeoMapPinchEvent"; isPointer: true } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/qmldir new file mode 100644 index 00000000..37ecf66c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtLocation/qmldir @@ -0,0 +1,4 @@ +module QtLocation +plugin declarative_location +classname QtLocationDeclarativeModule +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/Video.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/Video.qml new file mode 100644 index 00000000..24fde22e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/Video.qml @@ -0,0 +1,545 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtMultimedia 5.13 + +/*! + \qmltype Video + \inherits Item + \ingroup multimedia_qml + \ingroup multimedia_video_qml + \inqmlmodule QtMultimedia + \brief A convenience type for showing a specified video. + + \c Video is a convenience type combining the functionality + of a \l MediaPlayer and a \l VideoOutput into one. It provides + simple video playback functionality without having to declare multiple + types. + + \qml + Video { + id: video + width : 800 + height : 600 + source: "video.avi" + + MouseArea { + anchors.fill: parent + onClicked: { + video.play() + } + } + + focus: true + Keys.onSpacePressed: video.playbackState == MediaPlayer.PlayingState ? video.pause() : video.play() + Keys.onLeftPressed: video.seek(video.position - 5000) + Keys.onRightPressed: video.seek(video.position + 5000) + } + \endqml + + \c Video supports untransformed, stretched, and uniformly scaled + video presentation. For a description of stretched uniformly scaled + presentation, see the \l fillMode property description. + + \sa MediaPlayer, VideoOutput + +\omit + \section1 Screen Saver + + If it is likely that an application will be playing video for an extended + period of time without user interaction, it may be necessary to disable + the platform's screen saver. The \l ScreenSaver (from \l QtSystemInfo) + may be used to disable the screensaver in this fashion: + + \qml + import QtSystemInfo 5.0 + + ScreenSaver { screenSaverEnabled: false } + \endqml +\endomit +*/ + +// TODO: Restore Qt System Info docs when the module is released + +Item { + id: video + + /*** Properties of VideoOutput ***/ + /*! + \qmlproperty enumeration Video::fillMode + + Set this property to define how the video is scaled to fit the target + area. + + \list + \li VideoOutput.Stretch - the video is scaled to fit + \li VideoOutput.PreserveAspectFit - the video is scaled uniformly to fit without + cropping + \li VideoOutput.PreserveAspectCrop - the video is scaled uniformly to fill, cropping + if necessary + \endlist + + Because this type is for convenience in QML, it does not + support enumerations directly, so enumerations from \c VideoOutput are + used to access the available fill modes. + + The default fill mode is preserveAspectFit. + */ + property alias fillMode: videoOut.fillMode + + /*! + \qmlproperty enumeration Video::flushMode + + Set this property to define what \c Video should show + when playback is finished or stopped. + + \list + \li VideoOutput.EmptyFrame - clears video output. + \li VideoOutput.FirstFrame - shows the first valid frame. + \li VideoOutput.LastFrame - shows the last valid frame. + \endlist + + The default flush mode is EmptyFrame. + \since 5.15 + */ + property alias flushMode: videoOut.flushMode + + /*! + \qmlproperty int Video::orientation + + The orientation of the \c Video in degrees. Only multiples of 90 + degrees is supported, that is 0, 90, 180, 270, 360, etc. + */ + property alias orientation: videoOut.orientation + + + /*** Properties of MediaPlayer ***/ + + /*! + \qmlproperty enumeration Video::playbackState + + This read only property indicates the playback state of the media. + + \list + \li MediaPlayer.PlayingState - the media is playing + \li MediaPlayer.PausedState - the media is paused + \li MediaPlayer.StoppedState - the media is stopped + \endlist + + The default state is MediaPlayer.StoppedState. + */ + property alias playbackState: player.playbackState + + /*! + \qmlproperty bool Video::autoLoad + + This property indicates if loading of media should begin immediately. + + Defaults to true, if false media will not be loaded until playback is + started. + */ + property alias autoLoad: player.autoLoad + + /*! + \qmlproperty real Video::bufferProgress + + This property holds how much of the data buffer is currently filled, + from 0.0 (empty) to 1.0 + (full). + */ + property alias bufferProgress: player.bufferProgress + + /*! + \qmlproperty int Video::duration + + This property holds the duration of the media in milliseconds. + + If the media doesn't have a fixed duration (a live stream for example) + this will be 0. + */ + property alias duration: player.duration + + /*! + \qmlproperty enumeration Video::error + + This property holds the error state of the video. It can be one of: + + \list + \li MediaPlayer.NoError - there is no current error. + \li MediaPlayer.ResourceError - the video cannot be played due to a problem + allocating resources. + \li MediaPlayer.FormatError - the video format is not supported. + \li MediaPlayer.NetworkError - the video cannot be played due to network issues. + \li MediaPlayer.AccessDenied - the video cannot be played due to insufficient + permissions. + \li MediaPlayer.ServiceMissing - the video cannot be played because the media + service could not be + instantiated. + \endlist + */ + property alias error: player.error + + /*! + \qmlproperty string Video::errorString + + This property holds a string describing the current error condition in more detail. + */ + property alias errorString: player.errorString + + /*! + \qmlproperty enumeration Video::availability + + Returns the availability state of the video instance. + + This is one of: + \table + \header \li Value \li Description + \row \li MediaPlayer.Available + \li The video player is available to use. + \row \li MediaPlayer.Busy + \li The video player is usually available, but some other + process is utilizing the hardware necessary to play media. + \row \li MediaPlayer.Unavailable + \li There are no supported video playback facilities. + \row \li MediaPlayer.ResourceMissing + \li There is one or more resources missing, so the video player cannot + be used. It may be possible to try again at a later time. + \endtable + */ + property alias availability: player.availability + + /*! + \qmlproperty bool Video::hasAudio + + This property holds whether the current media has audio content. + */ + property alias hasAudio: player.hasAudio + + /*! + \qmlproperty bool Video::hasVideo + + This property holds whether the current media has video content. + */ + property alias hasVideo: player.hasVideo + + /*! + \qmlproperty object Video::metaData + + This property holds the meta data for the current media. + + See \l{MediaPlayer::metaData}{MediaPlayer.metaData} for details about each meta data key. + + \sa {QMediaMetaData} + */ + property alias metaData: player.metaData + + /*! + \qmlproperty bool Video::muted + + This property holds whether the audio output is muted. + */ + property alias muted: player.muted + + /*! + \qmlproperty real Video::playbackRate + + This property holds the rate at which video is played at as a multiple + of the normal rate. + */ + property alias playbackRate: player.playbackRate + + /*! + \qmlproperty int Video::position + + This property holds the current playback position in milliseconds. + + To change this position, use the \l seek() method. + + \sa seek() + */ + property alias position: player.position + + /*! + \qmlproperty enumeration Video::audioRole + + This property holds the role of the audio stream. It can be set to specify the type of audio + being played, allowing the system to make appropriate decisions when it comes to volume, + routing or post-processing. + + The audio role must be set before setting the source property. + + Supported values can be retrieved with supportedAudioRoles(). + + The value can be one of: + \list + \li MediaPlayer.UnknownRole - the role is unknown or undefined. + \li MediaPlayer.MusicRole - music. + \li MediaPlayer.VideoRole - soundtrack from a movie or a video. + \li MediaPlayer.VoiceCommunicationRole - voice communications, such as telephony. + \li MediaPlayer.AlarmRole - alarm. + \li MediaPlayer.NotificationRole - notification, such as an incoming e-mail or a chat request. + \li MediaPlayer.RingtoneRole - ringtone. + \li MediaPlayer.AccessibilityRole - for accessibility, such as with a screen reader. + \li MediaPlayer.SonificationRole - sonification, such as with user interface sounds. + \li MediaPlayer.GameRole - game audio. + \li MediaPlayer.CustomRole - The role is specified by customAudioRole. + \endlist + + customAudioRole is cleared when this property is set to anything other than CustomRole. + + \since 5.6 + */ + property alias audioRole: player.audioRole + + /*! + \qmlproperty string Video::customAudioRole + + This property holds the role of the audio stream when the backend supports audio roles + unknown to Qt. It can be set to specify the type of audio being played, allowing the + system to make appropriate decisions when it comes to volume, routing or post-processing. + + The audio role must be set before setting the source property. + + audioRole is set to CustomRole when this property is set. + + \since 5.11 + */ + property alias customAudioRole: player.customAudioRole + + /*! + \qmlproperty bool Video::seekable + + This property holds whether the playback position of the video can be + changed. + + If true, calling the \l seek() method will cause playback to seek to the new position. + */ + property alias seekable: player.seekable + + /*! + \qmlproperty url Video::source + + This property holds the source URL of the media. + + Setting the \l source property clears the current \l playlist, if any. + */ + property alias source: player.source + + /*! + \qmlproperty Playlist Video::playlist + + This property holds the playlist used by the media player. + + Setting the \l playlist property resets the \l source to an empty string. + + \since 5.6 + */ + property alias playlist: player.playlist + + /*! + \qmlproperty enumeration Video::status + + This property holds the status of media loading. It can be one of: + + \list + \li MediaPlayer.NoMedia - no media has been set. + \li MediaPlayer.Loading - the media is currently being loaded. + \li MediaPlayer.Loaded - the media has been loaded. + \li MediaPlayer.Buffering - the media is buffering data. + \li MediaPlayer.Stalled - playback has been interrupted while the media is buffering data. + \li MediaPlayer.Buffered - the media has buffered data. + \li MediaPlayer.EndOfMedia - the media has played to the end. + \li MediaPlayer.InvalidMedia - the media cannot be played. + \li MediaPlayer.UnknownStatus - the status of the media cannot be determined. + \endlist + */ + property alias status: player.status + + /*! + \qmlproperty real Video::volume + + This property holds the audio volume. + + The volume is scaled linearly from \c 0.0 (silence) to \c 1.0 (full volume). Values outside + this range will be clamped. + + The default volume is \c 1.0. + + UI volume controls should usually be scaled nonlinearly. For example, using a logarithmic + scale will produce linear changes in perceived loudness, which is what a user would normally + expect from a volume control. See \l {QtMultimedia::QtMultimedia::convertVolume()}{QtMultimedia.convertVolume()} + for more details. + */ + property alias volume: player.volume + + /*! + \qmlproperty bool Video::autoPlay + + This property determines whether the media should begin playback automatically. + + Setting to \c true also sets \l autoLoad to \c true. The default is \c false. + */ + property alias autoPlay: player.autoPlay + + /*! + \qmlproperty int Video::notifyInterval + + The interval at which notifiable properties will update. + + The notifiable properties are \l position and \l bufferProgress. + + The interval is expressed in milliseconds, the default value is 1000. + + \since 5.9 + */ + property alias notifyInterval: player.notifyInterval + + /*! + \qmlproperty int Video::loops + + This property holds the number of times the media is played. A value of \c 0 or \c 1 means + the media will be played only once; set to \c MediaPlayer.Infinite to enable infinite looping. + + The value can be changed while the media is playing, in which case it will update + the remaining loops to the new value. + + The default is \c 1. + + \since 5.9 + */ + property alias loops: player.loops + + /*! + \qmlsignal Video::paused() + + This signal is emitted when playback is paused. + + The corresponding handler is \c onPaused. + */ + signal paused + + /*! + \qmlsignal Video::stopped() + + This signal is emitted when playback is stopped. + + The corresponding handler is \c onStopped. + */ + signal stopped + + /*! + \qmlsignal Video::playing() + + This signal is emitted when playback is started or continued. + + The corresponding handler is \c onPlaying. + */ + signal playing + + VideoOutput { + id: videoOut + anchors.fill: video + source: player + } + + MediaPlayer { + id: player + onPaused: video.paused() + onStopped: video.stopped() + onPlaying: video.playing() + } + + /*! + \qmlmethod Video::play() + + Starts playback of the media. + */ + function play() { + player.play(); + } + + /*! + \qmlmethod Video::pause() + + Pauses playback of the media. + */ + function pause() { + player.pause(); + } + + /*! + \qmlmethod Video::stop() + + Stops playback of the media. + */ + function stop() { + player.stop(); + } + + /*! + \qmlmethod Video::seek(offset) + + If the \l seekable property is true, seeks the current + playback position to \a offset. + + Seeking may be asynchronous, so the \l position property + may not be updated immediately. + + \sa seekable, position + */ + function seek(offset) { + player.seek(offset); + } + + /*! + \qmlmethod list Video::supportedAudioRoles() + + Returns a list of supported audio roles. + + If setting the audio role is not supported, an empty list is returned. + + \since 5.6 + \sa audioRole + */ + function supportedAudioRoles() { + return player.supportedAudioRoles(); + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/declarative_multimedia.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/declarative_multimedia.dll new file mode 100644 index 00000000..4dffdc64 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/declarative_multimedia.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/plugins.qmltypes new file mode 100644 index 00000000..06fb8918 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/plugins.qmltypes @@ -0,0 +1,2194 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtMultimedia 5.15' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: { + "NoLayoutChangeHint": 0, + "VerticalSortHint": 1, + "HorizontalSortHint": 2 + } + } + Enum { + name: "CheckIndexOption" + values: { + "NoOption": 0, + "IndexIsValid": 1, + "DoNotUseParent": 2, + "ParentIsInvalid": 4 + } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + name: "QAbstractVideoFilter" + prototype: "QObject" + Property { name: "active"; type: "bool" } + } + Component { + name: "QAbstractVideoSurface" + prototype: "QObject" + Property { name: "nativeResolution"; type: "QSize"; isReadonly: true } + Signal { + name: "activeChanged" + Parameter { name: "active"; type: "bool" } + } + Signal { + name: "surfaceFormatChanged" + Parameter { name: "format"; type: "QVideoSurfaceFormat" } + } + Signal { name: "supportedFormatsChanged" } + Signal { + name: "nativeResolutionChanged" + Parameter { name: "resolution"; type: "QSize" } + } + } + Component { + name: "QCamera" + prototype: "QMediaObject" + Enum { + name: "Status" + values: { + "UnavailableStatus": 0, + "UnloadedStatus": 1, + "LoadingStatus": 2, + "UnloadingStatus": 3, + "LoadedStatus": 4, + "StandbyStatus": 5, + "StartingStatus": 6, + "StoppingStatus": 7, + "ActiveStatus": 8 + } + } + Enum { + name: "State" + values: { + "UnloadedState": 0, + "LoadedState": 1, + "ActiveState": 2 + } + } + Enum { + name: "CaptureMode" + values: { + "CaptureViewfinder": 0, + "CaptureStillImage": 1, + "CaptureVideo": 2 + } + } + Enum { + name: "Error" + values: { + "NoError": 0, + "CameraError": 1, + "InvalidRequestError": 2, + "ServiceMissingError": 3, + "NotSupportedFeatureError": 4 + } + } + Enum { + name: "LockStatus" + values: { + "Unlocked": 0, + "Searching": 1, + "Locked": 2 + } + } + Enum { + name: "LockChangeReason" + values: { + "UserRequest": 0, + "LockAcquired": 1, + "LockFailed": 2, + "LockLost": 3, + "LockTemporaryLost": 4 + } + } + Enum { + name: "LockType" + values: { + "NoLock": 0, + "LockExposure": 1, + "LockWhiteBalance": 2, + "LockFocus": 4 + } + } + Enum { + name: "Position" + values: { + "UnspecifiedPosition": 0, + "BackFace": 1, + "FrontFace": 2 + } + } + Property { name: "state"; type: "QCamera::State"; isReadonly: true } + Property { name: "status"; type: "QCamera::Status"; isReadonly: true } + Property { name: "captureMode"; type: "QCamera::CaptureModes" } + Property { name: "lockStatus"; type: "QCamera::LockStatus"; isReadonly: true } + Signal { + name: "stateChanged" + Parameter { name: "state"; type: "QCamera::State" } + } + Signal { + name: "captureModeChanged" + Parameter { type: "QCamera::CaptureModes" } + } + Signal { + name: "statusChanged" + Parameter { name: "status"; type: "QCamera::Status" } + } + Signal { name: "locked" } + Signal { name: "lockFailed" } + Signal { + name: "lockStatusChanged" + Parameter { name: "status"; type: "QCamera::LockStatus" } + Parameter { name: "reason"; type: "QCamera::LockChangeReason" } + } + Signal { + name: "lockStatusChanged" + Parameter { name: "lock"; type: "QCamera::LockType" } + Parameter { name: "status"; type: "QCamera::LockStatus" } + Parameter { name: "reason"; type: "QCamera::LockChangeReason" } + } + Signal { + name: "error" + Parameter { type: "QCamera::Error" } + } + Method { + name: "setCaptureMode" + Parameter { name: "mode"; type: "QCamera::CaptureModes" } + } + Method { name: "load" } + Method { name: "unload" } + Method { name: "start" } + Method { name: "stop" } + Method { name: "searchAndLock" } + Method { name: "unlock" } + Method { + name: "searchAndLock" + Parameter { name: "locks"; type: "QCamera::LockTypes" } + } + Method { + name: "unlock" + Parameter { name: "locks"; type: "QCamera::LockTypes" } + } + } + Component { + name: "QDeclarativeAudio" + prototype: "QObject" + exports: [ + "QtMultimedia/Audio 5.0", + "QtMultimedia/Audio 5.11", + "QtMultimedia/Audio 5.6", + "QtMultimedia/Audio 5.9", + "QtMultimedia/MediaPlayer 5.0", + "QtMultimedia/MediaPlayer 5.11", + "QtMultimedia/MediaPlayer 5.15", + "QtMultimedia/MediaPlayer 5.6", + "QtMultimedia/MediaPlayer 5.9" + ] + exportMetaObjectRevisions: [0, 3, 1, 2, 0, 3, 15, 1, 2] + Enum { + name: "Status" + values: { + "UnknownStatus": 0, + "NoMedia": 1, + "Loading": 2, + "Loaded": 3, + "Stalled": 4, + "Buffering": 5, + "Buffered": 6, + "EndOfMedia": 7, + "InvalidMedia": 8 + } + } + Enum { + name: "Error" + values: { + "NoError": 0, + "ResourceError": 1, + "FormatError": 2, + "NetworkError": 3, + "AccessDenied": 4, + "ServiceMissing": 5 + } + } + Enum { + name: "Loop" + values: { + "Infinite": -1 + } + } + Enum { + name: "PlaybackState" + values: { + "PlayingState": 1, + "PausedState": 2, + "StoppedState": 0 + } + } + Enum { + name: "Availability" + values: { + "Available": 0, + "Busy": 2, + "Unavailable": 1, + "ResourceMissing": 3 + } + } + Enum { + name: "AudioRole" + values: { + "UnknownRole": 0, + "AccessibilityRole": 7, + "AlarmRole": 4, + "CustomRole": 10, + "GameRole": 9, + "MusicRole": 1, + "NotificationRole": 5, + "RingtoneRole": 6, + "SonificationRole": 8, + "VideoRole": 2, + "VoiceCommunicationRole": 3 + } + } + Property { name: "source"; type: "QUrl" } + Property { name: "playlist"; revision: 1; type: "QDeclarativePlaylist"; isPointer: true } + Property { name: "loops"; type: "int" } + Property { name: "playbackState"; type: "PlaybackState"; isReadonly: true } + Property { name: "autoPlay"; type: "bool" } + Property { name: "autoLoad"; type: "bool" } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "duration"; type: "int"; isReadonly: true } + Property { name: "position"; type: "int"; isReadonly: true } + Property { name: "volume"; type: "double" } + Property { name: "muted"; type: "bool" } + Property { name: "hasAudio"; type: "bool"; isReadonly: true } + Property { name: "hasVideo"; type: "bool"; isReadonly: true } + Property { name: "bufferProgress"; type: "double"; isReadonly: true } + Property { name: "seekable"; type: "bool"; isReadonly: true } + Property { name: "playbackRate"; type: "double" } + Property { name: "error"; type: "Error"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { + name: "metaData" + type: "QDeclarativeMediaMetaData" + isReadonly: true + isPointer: true + } + Property { name: "mediaObject"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "availability"; type: "Availability"; isReadonly: true } + Property { name: "audioRole"; revision: 1; type: "AudioRole" } + Property { name: "customAudioRole"; revision: 3; type: "string" } + Property { name: "notifyInterval"; revision: 2; type: "int" } + Property { name: "videoOutput"; revision: 15; type: "QVariant" } + Signal { name: "playlistChanged"; revision: 1 } + Signal { name: "loopCountChanged" } + Signal { name: "paused" } + Signal { name: "stopped" } + Signal { name: "playing" } + Signal { name: "audioRoleChanged"; revision: 1 } + Signal { name: "customAudioRoleChanged"; revision: 3 } + Signal { + name: "availabilityChanged" + Parameter { name: "availability"; type: "Availability" } + } + Signal { + name: "error" + Parameter { name: "error"; type: "QDeclarativeAudio::Error" } + Parameter { name: "errorString"; type: "string" } + } + Signal { name: "notifyIntervalChanged"; revision: 2 } + Signal { name: "videoOutputChanged"; revision: 15 } + Method { name: "play" } + Method { name: "pause" } + Method { name: "stop" } + Method { + name: "seek" + Parameter { name: "position"; type: "int" } + } + Method { name: "supportedAudioRoles"; revision: 1; type: "QJSValue" } + } + Component { + name: "QDeclarativeCamera" + prototype: "QObject" + exports: [ + "QtMultimedia/Camera 5.0", + "QtMultimedia/Camera 5.4", + "QtMultimedia/Camera 5.5" + ] + exportMetaObjectRevisions: [0, 1, 2] + Enum { + name: "Position" + values: { + "UnspecifiedPosition": 0, + "BackFace": 1, + "FrontFace": 2 + } + } + Enum { + name: "CaptureMode" + values: { + "CaptureViewfinder": 0, + "CaptureStillImage": 1, + "CaptureVideo": 2 + } + } + Enum { + name: "State" + values: { + "ActiveState": 2, + "LoadedState": 1, + "UnloadedState": 0 + } + } + Enum { + name: "Status" + values: { + "UnavailableStatus": 0, + "UnloadedStatus": 1, + "LoadingStatus": 2, + "UnloadingStatus": 3, + "LoadedStatus": 4, + "StandbyStatus": 5, + "StartingStatus": 6, + "StoppingStatus": 7, + "ActiveStatus": 8 + } + } + Enum { + name: "LockStatus" + values: { + "Unlocked": 0, + "Searching": 1, + "Locked": 2 + } + } + Enum { + name: "Error" + values: { + "NoError": 0, + "CameraError": 1, + "InvalidRequestError": 2, + "ServiceMissingError": 3, + "NotSupportedFeatureError": 4 + } + } + Enum { + name: "FlashMode" + values: { + "FlashAuto": 1, + "FlashOff": 2, + "FlashOn": 4, + "FlashRedEyeReduction": 8, + "FlashFill": 16, + "FlashTorch": 32, + "FlashVideoLight": 64, + "FlashSlowSyncFrontCurtain": 128, + "FlashSlowSyncRearCurtain": 256, + "FlashManual": 512 + } + } + Enum { + name: "ExposureMode" + values: { + "ExposureAuto": 0, + "ExposureManual": 1, + "ExposurePortrait": 2, + "ExposureNight": 3, + "ExposureBacklight": 4, + "ExposureSpotlight": 5, + "ExposureSports": 6, + "ExposureSnow": 7, + "ExposureBeach": 8, + "ExposureLargeAperture": 9, + "ExposureSmallAperture": 10, + "ExposureAction": 11, + "ExposureLandscape": 12, + "ExposureNightPortrait": 13, + "ExposureTheatre": 14, + "ExposureSunset": 15, + "ExposureSteadyPhoto": 16, + "ExposureFireworks": 17, + "ExposureParty": 18, + "ExposureCandlelight": 19, + "ExposureBarcode": 20, + "ExposureModeVendor": 1000 + } + } + Enum { + name: "MeteringMode" + values: { + "MeteringMatrix": 1, + "MeteringAverage": 2, + "MeteringSpot": 3 + } + } + Enum { + name: "FocusMode" + values: { + "FocusManual": 1, + "FocusHyperfocal": 2, + "FocusInfinity": 4, + "FocusAuto": 8, + "FocusContinuous": 16, + "FocusMacro": 32 + } + } + Enum { + name: "FocusPointMode" + values: { + "FocusPointAuto": 0, + "FocusPointCenter": 1, + "FocusPointFaceDetection": 2, + "FocusPointCustom": 3 + } + } + Enum { + name: "FocusAreaStatus" + values: { + "FocusAreaUnused": 1, + "FocusAreaSelected": 2, + "FocusAreaFocused": 3 + } + } + Enum { + name: "Availability" + values: { + "Available": 0, + "Busy": 2, + "Unavailable": 1, + "ResourceMissing": 3 + } + } + Property { name: "deviceId"; revision: 1; type: "string" } + Property { name: "position"; revision: 1; type: "Position" } + Property { name: "displayName"; revision: 1; type: "string"; isReadonly: true } + Property { name: "orientation"; revision: 1; type: "int"; isReadonly: true } + Property { name: "captureMode"; type: "CaptureMode" } + Property { name: "cameraState"; type: "State" } + Property { name: "cameraStatus"; type: "Status"; isReadonly: true } + Property { name: "lockStatus"; type: "LockStatus"; isReadonly: true } + Property { name: "errorCode"; type: "Error"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "availability"; type: "Availability"; isReadonly: true } + Property { name: "opticalZoom"; type: "double" } + Property { name: "maximumOpticalZoom"; type: "double"; isReadonly: true } + Property { name: "digitalZoom"; type: "double" } + Property { name: "maximumDigitalZoom"; type: "double"; isReadonly: true } + Property { name: "mediaObject"; type: "QObject"; isReadonly: true; isPointer: true } + Property { + name: "imageCapture" + type: "QDeclarativeCameraCapture" + isReadonly: true + isPointer: true + } + Property { + name: "videoRecorder" + type: "QDeclarativeCameraRecorder" + isReadonly: true + isPointer: true + } + Property { + name: "exposure" + type: "QDeclarativeCameraExposure" + isReadonly: true + isPointer: true + } + Property { name: "flash"; type: "QDeclarativeCameraFlash"; isReadonly: true; isPointer: true } + Property { name: "focus"; type: "QDeclarativeCameraFocus"; isReadonly: true; isPointer: true } + Property { + name: "imageProcessing" + type: "QDeclarativeCameraImageProcessing" + isReadonly: true + isPointer: true + } + Property { + name: "metaData" + revision: 1 + type: "QDeclarativeMediaMetaData" + isReadonly: true + isPointer: true + } + Property { + name: "viewfinder" + revision: 1 + type: "QDeclarativeCameraViewfinder" + isReadonly: true + isPointer: true + } + Signal { name: "errorChanged" } + Signal { + name: "error" + Parameter { name: "errorCode"; type: "QDeclarativeCamera::Error" } + Parameter { name: "errorString"; type: "string" } + } + Signal { name: "deviceIdChanged"; revision: 1 } + Signal { name: "positionChanged"; revision: 1 } + Signal { name: "displayNameChanged"; revision: 1 } + Signal { name: "orientationChanged"; revision: 1 } + Signal { + name: "cameraStateChanged" + Parameter { type: "QDeclarativeCamera::State" } + } + Signal { + name: "opticalZoomChanged" + Parameter { type: "double" } + } + Signal { + name: "digitalZoomChanged" + Parameter { type: "double" } + } + Signal { + name: "maximumOpticalZoomChanged" + Parameter { type: "double" } + } + Signal { + name: "maximumDigitalZoomChanged" + Parameter { type: "double" } + } + Signal { + name: "availabilityChanged" + Parameter { name: "availability"; type: "Availability" } + } + Method { + name: "setCaptureMode" + Parameter { name: "mode"; type: "CaptureMode" } + } + Method { name: "start" } + Method { name: "stop" } + Method { + name: "setCameraState" + Parameter { name: "state"; type: "State" } + } + Method { name: "searchAndLock" } + Method { name: "unlock" } + Method { + name: "setOpticalZoom" + Parameter { type: "double" } + } + Method { + name: "setDigitalZoom" + Parameter { type: "double" } + } + Method { + name: "supportedViewfinderResolutions" + revision: 2 + type: "QJSValue" + Parameter { name: "minimumFrameRate"; type: "double" } + Parameter { name: "maximumFrameRate"; type: "double" } + } + Method { + name: "supportedViewfinderResolutions" + revision: 2 + type: "QJSValue" + Parameter { name: "minimumFrameRate"; type: "double" } + } + Method { name: "supportedViewfinderResolutions"; revision: 2; type: "QJSValue" } + Method { + name: "supportedViewfinderFrameRateRanges" + revision: 2 + type: "QJSValue" + Parameter { name: "resolution"; type: "QJSValue" } + } + Method { name: "supportedViewfinderFrameRateRanges"; revision: 2; type: "QJSValue" } + } + Component { + name: "QDeclarativeCameraCapture" + prototype: "QObject" + exports: [ + "QtMultimedia/CameraCapture 5.0", + "QtMultimedia/CameraCapture 5.9" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Property { name: "ready"; type: "bool"; isReadonly: true } + Property { name: "capturedImagePath"; type: "string"; isReadonly: true } + Property { name: "resolution"; type: "QSize" } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "supportedResolutions"; revision: 1; type: "QVariantList"; isReadonly: true } + Signal { + name: "readyForCaptureChanged" + Parameter { type: "bool" } + } + Signal { + name: "imageExposed" + Parameter { name: "requestId"; type: "int" } + } + Signal { + name: "imageCaptured" + Parameter { name: "requestId"; type: "int" } + Parameter { name: "preview"; type: "string" } + } + Signal { + name: "imageMetadataAvailable" + Parameter { name: "requestId"; type: "int" } + Parameter { name: "key"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Signal { + name: "imageSaved" + Parameter { name: "requestId"; type: "int" } + Parameter { name: "path"; type: "string" } + } + Signal { + name: "captureFailed" + Parameter { name: "requestId"; type: "int" } + Parameter { name: "message"; type: "string" } + } + Signal { + name: "resolutionChanged" + Parameter { type: "QSize" } + } + Method { name: "capture"; type: "int" } + Method { + name: "captureToLocation" + type: "int" + Parameter { name: "location"; type: "string" } + } + Method { name: "cancelCapture" } + Method { + name: "setResolution" + Parameter { name: "resolution"; type: "QSize" } + } + Method { + name: "setMetadata" + Parameter { name: "key"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { + name: "QDeclarativeCameraExposure" + prototype: "QObject" + exports: [ + "QtMultimedia/CameraExposure 5.0", + "QtMultimedia/CameraExposure 5.11" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Enum { + name: "ExposureMode" + values: { + "ExposureAuto": 0, + "ExposureManual": 1, + "ExposurePortrait": 2, + "ExposureNight": 3, + "ExposureBacklight": 4, + "ExposureSpotlight": 5, + "ExposureSports": 6, + "ExposureSnow": 7, + "ExposureBeach": 8, + "ExposureLargeAperture": 9, + "ExposureSmallAperture": 10, + "ExposureAction": 11, + "ExposureLandscape": 12, + "ExposureNightPortrait": 13, + "ExposureTheatre": 14, + "ExposureSunset": 15, + "ExposureSteadyPhoto": 16, + "ExposureFireworks": 17, + "ExposureParty": 18, + "ExposureCandlelight": 19, + "ExposureBarcode": 20, + "ExposureModeVendor": 1000 + } + } + Enum { + name: "MeteringMode" + values: { + "MeteringMatrix": 1, + "MeteringAverage": 2, + "MeteringSpot": 3 + } + } + Property { name: "exposureCompensation"; type: "double" } + Property { name: "iso"; type: "int"; isReadonly: true } + Property { name: "shutterSpeed"; type: "double"; isReadonly: true } + Property { name: "aperture"; type: "double"; isReadonly: true } + Property { name: "manualShutterSpeed"; type: "double" } + Property { name: "manualAperture"; type: "double" } + Property { name: "manualIso"; type: "double" } + Property { name: "exposureMode"; type: "ExposureMode" } + Property { name: "supportedExposureModes"; revision: 1; type: "QVariantList"; isReadonly: true } + Property { name: "spotMeteringPoint"; type: "QPointF" } + Property { name: "meteringMode"; type: "MeteringMode" } + Signal { + name: "isoSensitivityChanged" + Parameter { type: "int" } + } + Signal { + name: "apertureChanged" + Parameter { type: "double" } + } + Signal { + name: "shutterSpeedChanged" + Parameter { type: "double" } + } + Signal { + name: "manualIsoSensitivityChanged" + Parameter { type: "int" } + } + Signal { + name: "manualApertureChanged" + Parameter { type: "double" } + } + Signal { + name: "manualShutterSpeedChanged" + Parameter { type: "double" } + } + Signal { + name: "exposureCompensationChanged" + Parameter { type: "double" } + } + Signal { + name: "exposureModeChanged" + Parameter { type: "ExposureMode" } + } + Signal { + name: "meteringModeChanged" + Parameter { type: "MeteringMode" } + } + Signal { + name: "spotMeteringPointChanged" + Parameter { type: "QPointF" } + } + Method { + name: "setExposureMode" + Parameter { type: "ExposureMode" } + } + Method { + name: "setExposureCompensation" + Parameter { name: "ev"; type: "double" } + } + Method { + name: "setManualAperture" + Parameter { type: "double" } + } + Method { + name: "setManualShutterSpeed" + Parameter { type: "double" } + } + Method { + name: "setManualIsoSensitivity" + Parameter { name: "iso"; type: "int" } + } + Method { name: "setAutoAperture" } + Method { name: "setAutoShutterSpeed" } + Method { name: "setAutoIsoSensitivity" } + } + Component { + name: "QDeclarativeCameraFlash" + prototype: "QObject" + exports: [ + "QtMultimedia/CameraFlash 5.0", + "QtMultimedia/CameraFlash 5.9" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Enum { + name: "FlashMode" + values: { + "FlashAuto": 1, + "FlashOff": 2, + "FlashOn": 4, + "FlashRedEyeReduction": 8, + "FlashFill": 16, + "FlashTorch": 32, + "FlashVideoLight": 64, + "FlashSlowSyncFrontCurtain": 128, + "FlashSlowSyncRearCurtain": 256, + "FlashManual": 512 + } + } + Property { name: "ready"; type: "bool"; isReadonly: true } + Property { name: "mode"; type: "FlashMode" } + Property { name: "supportedModes"; revision: 1; type: "QVariantList"; isReadonly: true } + Signal { + name: "flashReady" + Parameter { name: "status"; type: "bool" } + } + Signal { + name: "flashModeChanged" + Parameter { type: "FlashMode" } + } + Method { + name: "setFlashMode" + Parameter { type: "FlashMode" } + } + } + Component { + name: "QDeclarativeCameraFocus" + prototype: "QObject" + exports: [ + "QtMultimedia/CameraFocus 5.0", + "QtMultimedia/CameraFocus 5.11" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Enum { + name: "FocusMode" + values: { + "FocusManual": 1, + "FocusHyperfocal": 2, + "FocusInfinity": 4, + "FocusAuto": 8, + "FocusContinuous": 16, + "FocusMacro": 32 + } + } + Enum { + name: "FocusPointMode" + values: { + "FocusPointAuto": 0, + "FocusPointCenter": 1, + "FocusPointFaceDetection": 2, + "FocusPointCustom": 3 + } + } + Property { name: "focusMode"; type: "FocusMode" } + Property { name: "supportedFocusModes"; revision: 1; type: "QVariantList"; isReadonly: true } + Property { name: "focusPointMode"; type: "FocusPointMode" } + Property { name: "supportedFocusPointModes"; revision: 1; type: "QVariantList"; isReadonly: true } + Property { name: "customFocusPoint"; type: "QPointF" } + Property { name: "focusZones"; type: "QObject"; isReadonly: true; isPointer: true } + Signal { + name: "focusModeChanged" + Parameter { type: "FocusMode" } + } + Signal { + name: "focusPointModeChanged" + Parameter { type: "FocusPointMode" } + } + Signal { + name: "customFocusPointChanged" + Parameter { type: "QPointF" } + } + Method { + name: "setFocusMode" + Parameter { type: "FocusMode" } + } + Method { + name: "setFocusPointMode" + Parameter { name: "mode"; type: "FocusPointMode" } + } + Method { + name: "setCustomFocusPoint" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "isFocusModeSupported" + type: "bool" + Parameter { name: "mode"; type: "FocusMode" } + } + Method { + name: "isFocusPointModeSupported" + type: "bool" + Parameter { name: "mode"; type: "FocusPointMode" } + } + } + Component { + name: "QDeclarativeCameraImageProcessing" + prototype: "QObject" + exports: [ + "QtMultimedia/CameraImageProcessing 5.0", + "QtMultimedia/CameraImageProcessing 5.11", + "QtMultimedia/CameraImageProcessing 5.5", + "QtMultimedia/CameraImageProcessing 5.7" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 3, 1, 2] + Enum { + name: "WhiteBalanceMode" + values: { + "WhiteBalanceAuto": 0, + "WhiteBalanceManual": 1, + "WhiteBalanceSunlight": 2, + "WhiteBalanceCloudy": 3, + "WhiteBalanceShade": 4, + "WhiteBalanceTungsten": 5, + "WhiteBalanceFluorescent": 6, + "WhiteBalanceFlash": 7, + "WhiteBalanceSunset": 8, + "WhiteBalanceVendor": 1000 + } + } + Enum { + name: "ColorFilter" + values: { + "ColorFilterNone": 0, + "ColorFilterGrayscale": 1, + "ColorFilterNegative": 2, + "ColorFilterSolarize": 3, + "ColorFilterSepia": 4, + "ColorFilterPosterize": 5, + "ColorFilterWhiteboard": 6, + "ColorFilterBlackboard": 7, + "ColorFilterAqua": 8, + "ColorFilterVendor": 1000 + } + } + Property { name: "whiteBalanceMode"; type: "WhiteBalanceMode" } + Property { name: "manualWhiteBalance"; type: "double" } + Property { name: "brightness"; revision: 2; type: "double" } + Property { name: "contrast"; type: "double" } + Property { name: "saturation"; type: "double" } + Property { name: "sharpeningLevel"; type: "double" } + Property { name: "denoisingLevel"; type: "double" } + Property { name: "colorFilter"; revision: 1; type: "ColorFilter" } + Property { name: "available"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "supportedColorFilters"; revision: 3; type: "QVariantList"; isReadonly: true } + Property { + name: "supportedWhiteBalanceModes" + revision: 3 + type: "QVariantList" + isReadonly: true + } + Signal { + name: "whiteBalanceModeChanged" + Parameter { type: "QDeclarativeCameraImageProcessing::WhiteBalanceMode" } + } + Signal { + name: "manualWhiteBalanceChanged" + Parameter { type: "double" } + } + Signal { + name: "brightnessChanged" + revision: 2 + Parameter { type: "double" } + } + Signal { + name: "contrastChanged" + Parameter { type: "double" } + } + Signal { + name: "saturationChanged" + Parameter { type: "double" } + } + Signal { + name: "sharpeningLevelChanged" + Parameter { type: "double" } + } + Signal { + name: "denoisingLevelChanged" + Parameter { type: "double" } + } + Method { + name: "setWhiteBalanceMode" + Parameter { name: "mode"; type: "QDeclarativeCameraImageProcessing::WhiteBalanceMode" } + } + Method { + name: "setManualWhiteBalance" + Parameter { name: "colorTemp"; type: "double" } + } + Method { + name: "setBrightness" + revision: 2 + Parameter { name: "value"; type: "double" } + } + Method { + name: "setContrast" + Parameter { name: "value"; type: "double" } + } + Method { + name: "setSaturation" + Parameter { name: "value"; type: "double" } + } + Method { + name: "setSharpeningLevel" + Parameter { name: "value"; type: "double" } + } + Method { + name: "setDenoisingLevel" + Parameter { name: "value"; type: "double" } + } + Method { + name: "setColorFilter" + Parameter { name: "colorFilter"; type: "ColorFilter" } + } + } + Component { + name: "QDeclarativeCameraRecorder" + prototype: "QObject" + exports: ["QtMultimedia/CameraRecorder 5.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "RecorderState" + values: { + "StoppedState": 0, + "RecordingState": 1 + } + } + Enum { + name: "RecorderStatus" + values: { + "UnavailableStatus": 0, + "UnloadedStatus": 1, + "LoadingStatus": 2, + "LoadedStatus": 3, + "StartingStatus": 4, + "RecordingStatus": 5, + "PausedStatus": 6, + "FinalizingStatus": 7 + } + } + Enum { + name: "EncodingMode" + values: { + "ConstantQualityEncoding": 0, + "ConstantBitRateEncoding": 1, + "AverageBitRateEncoding": 2 + } + } + Enum { + name: "Error" + values: { + "NoError": 0, + "ResourceError": 1, + "FormatError": 2, + "OutOfSpaceError": 3 + } + } + Property { name: "recorderState"; type: "RecorderState" } + Property { name: "recorderStatus"; type: "RecorderStatus"; isReadonly: true } + Property { name: "videoCodec"; type: "string" } + Property { name: "resolution"; type: "QSize" } + Property { name: "frameRate"; type: "double" } + Property { name: "videoBitRate"; type: "int" } + Property { name: "videoEncodingMode"; type: "EncodingMode" } + Property { name: "audioCodec"; type: "string" } + Property { name: "audioBitRate"; type: "int" } + Property { name: "audioChannels"; type: "int" } + Property { name: "audioSampleRate"; type: "int" } + Property { name: "audioEncodingMode"; type: "EncodingMode" } + Property { name: "mediaContainer"; type: "string" } + Property { name: "duration"; type: "qlonglong"; isReadonly: true } + Property { name: "outputLocation"; type: "string" } + Property { name: "actualLocation"; type: "string"; isReadonly: true } + Property { name: "muted"; type: "bool" } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "errorCode"; type: "Error"; isReadonly: true } + Signal { + name: "recorderStateChanged" + Parameter { name: "state"; type: "QDeclarativeCameraRecorder::RecorderState" } + } + Signal { + name: "durationChanged" + Parameter { name: "duration"; type: "qlonglong" } + } + Signal { + name: "mutedChanged" + Parameter { name: "muted"; type: "bool" } + } + Signal { + name: "outputLocationChanged" + Parameter { name: "location"; type: "string" } + } + Signal { + name: "actualLocationChanged" + Parameter { name: "location"; type: "string" } + } + Signal { + name: "error" + Parameter { name: "errorCode"; type: "QDeclarativeCameraRecorder::Error" } + Parameter { name: "errorString"; type: "string" } + } + Signal { + name: "metaDataChanged" + Parameter { name: "key"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Signal { + name: "captureResolutionChanged" + Parameter { type: "QSize" } + } + Signal { + name: "audioCodecChanged" + Parameter { name: "codec"; type: "string" } + } + Signal { + name: "videoCodecChanged" + Parameter { name: "codec"; type: "string" } + } + Signal { + name: "mediaContainerChanged" + Parameter { name: "container"; type: "string" } + } + Signal { + name: "frameRateChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "videoBitRateChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "audioBitRateChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "audioChannelsChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "audioSampleRateChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "audioEncodingModeChanged" + Parameter { name: "encodingMode"; type: "EncodingMode" } + } + Signal { + name: "videoEncodingModeChanged" + Parameter { name: "encodingMode"; type: "EncodingMode" } + } + Method { + name: "setOutputLocation" + Parameter { name: "location"; type: "string" } + } + Method { name: "record" } + Method { name: "stop" } + Method { + name: "setRecorderState" + Parameter { name: "state"; type: "QDeclarativeCameraRecorder::RecorderState" } + } + Method { + name: "setMuted" + Parameter { name: "muted"; type: "bool" } + } + Method { + name: "setMetadata" + Parameter { name: "key"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "setCaptureResolution" + Parameter { name: "resolution"; type: "QSize" } + } + Method { + name: "setAudioCodec" + Parameter { name: "codec"; type: "string" } + } + Method { + name: "setVideoCodec" + Parameter { name: "codec"; type: "string" } + } + Method { + name: "setMediaContainer" + Parameter { name: "container"; type: "string" } + } + Method { + name: "setFrameRate" + Parameter { name: "frameRate"; type: "double" } + } + Method { + name: "setVideoBitRate" + Parameter { name: "rate"; type: "int" } + } + Method { + name: "setAudioBitRate" + Parameter { name: "rate"; type: "int" } + } + Method { + name: "setAudioChannels" + Parameter { name: "channels"; type: "int" } + } + Method { + name: "setAudioSampleRate" + Parameter { name: "rate"; type: "int" } + } + Method { + name: "setVideoEncodingMode" + Parameter { name: "encodingMode"; type: "EncodingMode" } + } + Method { + name: "setAudioEncodingMode" + Parameter { name: "encodingMode"; type: "EncodingMode" } + } + } + Component { + name: "QDeclarativeCameraViewfinder" + prototype: "QObject" + exports: ["QtMultimedia/CameraViewfinder 5.4"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "resolution"; type: "QSize" } + Property { name: "minimumFrameRate"; type: "double" } + Property { name: "maximumFrameRate"; type: "double" } + } + Component { + name: "QDeclarativeMediaMetaData" + prototype: "QObject" + Property { name: "title"; type: "QVariant" } + Property { name: "subTitle"; type: "QVariant" } + Property { name: "author"; type: "QVariant" } + Property { name: "comment"; type: "QVariant" } + Property { name: "description"; type: "QVariant" } + Property { name: "category"; type: "QVariant" } + Property { name: "genre"; type: "QVariant" } + Property { name: "year"; type: "QVariant" } + Property { name: "date"; type: "QVariant" } + Property { name: "userRating"; type: "QVariant" } + Property { name: "keywords"; type: "QVariant" } + Property { name: "language"; type: "QVariant" } + Property { name: "publisher"; type: "QVariant" } + Property { name: "copyright"; type: "QVariant" } + Property { name: "parentalRating"; type: "QVariant" } + Property { name: "ratingOrganization"; type: "QVariant" } + Property { name: "size"; type: "QVariant" } + Property { name: "mediaType"; type: "QVariant" } + Property { name: "duration"; type: "QVariant" } + Property { name: "audioBitRate"; type: "QVariant" } + Property { name: "audioCodec"; type: "QVariant" } + Property { name: "averageLevel"; type: "QVariant" } + Property { name: "channelCount"; type: "QVariant" } + Property { name: "peakValue"; type: "QVariant" } + Property { name: "sampleRate"; type: "QVariant" } + Property { name: "albumTitle"; type: "QVariant" } + Property { name: "albumArtist"; type: "QVariant" } + Property { name: "contributingArtist"; type: "QVariant" } + Property { name: "composer"; type: "QVariant" } + Property { name: "conductor"; type: "QVariant" } + Property { name: "lyrics"; type: "QVariant" } + Property { name: "mood"; type: "QVariant" } + Property { name: "trackNumber"; type: "QVariant" } + Property { name: "trackCount"; type: "QVariant" } + Property { name: "coverArtUrlSmall"; type: "QVariant" } + Property { name: "coverArtUrlLarge"; type: "QVariant" } + Property { name: "resolution"; type: "QVariant" } + Property { name: "pixelAspectRatio"; type: "QVariant" } + Property { name: "videoFrameRate"; type: "QVariant" } + Property { name: "videoBitRate"; type: "QVariant" } + Property { name: "videoCodec"; type: "QVariant" } + Property { name: "posterUrl"; type: "QVariant" } + Property { name: "chapterNumber"; type: "QVariant" } + Property { name: "director"; type: "QVariant" } + Property { name: "leadPerformer"; type: "QVariant" } + Property { name: "writer"; type: "QVariant" } + Property { name: "cameraManufacturer"; type: "QVariant" } + Property { name: "cameraModel"; type: "QVariant" } + Property { name: "event"; type: "QVariant" } + Property { name: "subject"; type: "QVariant" } + Property { name: "orientation"; type: "QVariant" } + Property { name: "exposureTime"; type: "QVariant" } + Property { name: "fNumber"; type: "QVariant" } + Property { name: "exposureProgram"; type: "QVariant" } + Property { name: "isoSpeedRatings"; type: "QVariant" } + Property { name: "exposureBiasValue"; type: "QVariant" } + Property { name: "dateTimeOriginal"; type: "QVariant" } + Property { name: "dateTimeDigitized"; type: "QVariant" } + Property { name: "subjectDistance"; type: "QVariant" } + Property { name: "meteringMode"; type: "QVariant" } + Property { name: "lightSource"; type: "QVariant" } + Property { name: "flash"; type: "QVariant" } + Property { name: "focalLength"; type: "QVariant" } + Property { name: "exposureMode"; type: "QVariant" } + Property { name: "whiteBalance"; type: "QVariant" } + Property { name: "digitalZoomRatio"; type: "QVariant" } + Property { name: "focalLengthIn35mmFilm"; type: "QVariant" } + Property { name: "sceneCaptureType"; type: "QVariant" } + Property { name: "gainControl"; type: "QVariant" } + Property { name: "contrast"; type: "QVariant" } + Property { name: "saturation"; type: "QVariant" } + Property { name: "sharpness"; type: "QVariant" } + Property { name: "deviceSettingDescription"; type: "QVariant" } + Property { name: "gpsLatitude"; type: "QVariant" } + Property { name: "gpsLongitude"; type: "QVariant" } + Property { name: "gpsAltitude"; type: "QVariant" } + Property { name: "gpsTimeStamp"; type: "QVariant" } + Property { name: "gpsSatellites"; type: "QVariant" } + Property { name: "gpsStatus"; type: "QVariant" } + Property { name: "gpsDOP"; type: "QVariant" } + Property { name: "gpsSpeed"; type: "QVariant" } + Property { name: "gpsTrack"; type: "QVariant" } + Property { name: "gpsTrackRef"; type: "QVariant" } + Property { name: "gpsImgDirection"; type: "QVariant" } + Property { name: "gpsImgDirectionRef"; type: "QVariant" } + Property { name: "gpsMapDatum"; type: "QVariant" } + Property { name: "gpsProcessingMethod"; type: "QVariant" } + Property { name: "gpsAreaInformation"; type: "QVariant" } + Signal { name: "metaDataChanged" } + } + Component { + name: "QDeclarativeMultimediaGlobal" + prototype: "QObject" + exports: ["QtMultimedia/QtMultimedia 5.4"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Enum { + name: "VolumeScale" + values: { + "LinearVolumeScale": 0, + "CubicVolumeScale": 1, + "LogarithmicVolumeScale": 2, + "DecibelVolumeScale": 3 + } + } + Property { name: "defaultCamera"; type: "QJSValue"; isReadonly: true } + Property { name: "availableCameras"; type: "QJSValue"; isReadonly: true } + Method { + name: "convertVolume" + type: "double" + Parameter { name: "volume"; type: "double" } + Parameter { name: "from"; type: "VolumeScale" } + Parameter { name: "to"; type: "VolumeScale" } + } + } + Component { + name: "QDeclarativePlaylist" + defaultProperty: "items" + prototype: "QAbstractListModel" + exports: ["QtMultimedia/Playlist 5.6", "QtMultimedia/Playlist 5.7"] + exportMetaObjectRevisions: [0, 1] + Enum { + name: "PlaybackMode" + values: { + "CurrentItemOnce": 0, + "CurrentItemInLoop": 1, + "Sequential": 2, + "Loop": 3, + "Random": 4 + } + } + Enum { + name: "Error" + values: { + "NoError": 0, + "FormatError": 1, + "FormatNotSupportedError": 2, + "NetworkError": 3, + "AccessDeniedError": 4 + } + } + Property { name: "playbackMode"; type: "PlaybackMode" } + Property { name: "currentItemSource"; type: "QUrl"; isReadonly: true } + Property { name: "currentIndex"; type: "int" } + Property { name: "itemCount"; type: "int"; isReadonly: true } + Property { name: "readOnly"; type: "bool"; isReadonly: true } + Property { name: "error"; type: "Error"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "items"; type: "QDeclarativePlaylistItem"; isList: true; isReadonly: true } + Signal { + name: "itemAboutToBeInserted" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Signal { + name: "itemInserted" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Signal { + name: "itemAboutToBeRemoved" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Signal { + name: "itemRemoved" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Signal { + name: "itemChanged" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Signal { name: "loaded" } + Signal { name: "loadFailed" } + Signal { + name: "error" + Parameter { name: "error"; type: "QDeclarativePlaylist::Error" } + Parameter { name: "errorString"; type: "string" } + } + Method { + name: "itemSource" + type: "QUrl" + Parameter { name: "index"; type: "int" } + } + Method { + name: "nextIndex" + type: "int" + Parameter { name: "steps"; type: "int" } + } + Method { name: "nextIndex"; type: "int" } + Method { + name: "previousIndex" + type: "int" + Parameter { name: "steps"; type: "int" } + } + Method { name: "previousIndex"; type: "int" } + Method { name: "next" } + Method { name: "previous" } + Method { name: "shuffle" } + Method { + name: "load" + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "format"; type: "string" } + } + Method { + name: "load" + Parameter { name: "location"; type: "QUrl" } + } + Method { + name: "save" + type: "bool" + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "format"; type: "string" } + } + Method { + name: "save" + type: "bool" + Parameter { name: "location"; type: "QUrl" } + } + Method { + name: "addItem" + type: "bool" + Parameter { name: "source"; type: "QUrl" } + } + Method { + name: "addItems" + revision: 1 + type: "bool" + Parameter { name: "sources"; type: "QList" } + } + Method { + name: "insertItem" + type: "bool" + Parameter { name: "index"; type: "int" } + Parameter { name: "source"; type: "QUrl" } + } + Method { + name: "insertItems" + revision: 1 + type: "bool" + Parameter { name: "index"; type: "int" } + Parameter { name: "sources"; type: "QList" } + } + Method { + name: "moveItem" + revision: 1 + type: "bool" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + } + Method { + name: "removeItem" + type: "bool" + Parameter { name: "index"; type: "int" } + } + Method { + name: "removeItems" + revision: 1 + type: "bool" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "clear"; type: "bool" } + } + Component { + name: "QDeclarativePlaylistItem" + prototype: "QObject" + exports: ["QtMultimedia/PlaylistItem 5.6"] + exportMetaObjectRevisions: [0] + Property { name: "source"; type: "QUrl" } + } + Component { + name: "QDeclarativeRadio" + prototype: "QObject" + exports: ["QtMultimedia/Radio 5.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "State" + values: { + "ActiveState": 0, + "StoppedState": 1 + } + } + Enum { + name: "Band" + values: { + "AM": 0, + "FM": 1, + "SW": 2, + "LW": 3, + "FM2": 4 + } + } + Enum { + name: "Error" + values: { + "NoError": 0, + "ResourceError": 1, + "OpenError": 2, + "OutOfRangeError": 3 + } + } + Enum { + name: "StereoMode" + values: { + "ForceStereo": 0, + "ForceMono": 1, + "Auto": 2 + } + } + Enum { + name: "SearchMode" + values: { + "SearchFast": 0, + "SearchGetStationId": 1 + } + } + Enum { + name: "Availability" + values: { + "Available": 0, + "Busy": 2, + "Unavailable": 1, + "ResourceMissing": 3 + } + } + Property { name: "state"; type: "State"; isReadonly: true } + Property { name: "band"; type: "Band" } + Property { name: "frequency"; type: "int" } + Property { name: "stereo"; type: "bool"; isReadonly: true } + Property { name: "stereoMode"; type: "StereoMode" } + Property { name: "signalStrength"; type: "int"; isReadonly: true } + Property { name: "volume"; type: "int" } + Property { name: "muted"; type: "bool" } + Property { name: "searching"; type: "bool"; isReadonly: true } + Property { name: "frequencyStep"; type: "int"; isReadonly: true } + Property { name: "minimumFrequency"; type: "int"; isReadonly: true } + Property { name: "maximumFrequency"; type: "int"; isReadonly: true } + Property { name: "antennaConnected"; type: "bool"; isReadonly: true } + Property { name: "availability"; type: "Availability"; isReadonly: true } + Property { name: "radioData"; type: "QDeclarativeRadioData"; isReadonly: true; isPointer: true } + Signal { + name: "stateChanged" + Parameter { name: "state"; type: "QDeclarativeRadio::State" } + } + Signal { + name: "bandChanged" + Parameter { name: "band"; type: "QDeclarativeRadio::Band" } + } + Signal { + name: "frequencyChanged" + Parameter { name: "frequency"; type: "int" } + } + Signal { + name: "stereoStatusChanged" + Parameter { name: "stereo"; type: "bool" } + } + Signal { + name: "searchingChanged" + Parameter { name: "searching"; type: "bool" } + } + Signal { + name: "signalStrengthChanged" + Parameter { name: "signalStrength"; type: "int" } + } + Signal { + name: "volumeChanged" + Parameter { name: "volume"; type: "int" } + } + Signal { + name: "mutedChanged" + Parameter { name: "muted"; type: "bool" } + } + Signal { + name: "stationFound" + Parameter { name: "frequency"; type: "int" } + Parameter { name: "stationId"; type: "string" } + } + Signal { + name: "antennaConnectedChanged" + Parameter { name: "connectionStatus"; type: "bool" } + } + Signal { + name: "availabilityChanged" + Parameter { name: "availability"; type: "Availability" } + } + Signal { name: "errorChanged" } + Signal { + name: "error" + Parameter { name: "errorCode"; type: "QDeclarativeRadio::Error" } + } + Method { + name: "setBand" + Parameter { name: "band"; type: "QDeclarativeRadio::Band" } + } + Method { + name: "setFrequency" + Parameter { name: "frequency"; type: "int" } + } + Method { + name: "setStereoMode" + Parameter { name: "stereoMode"; type: "QDeclarativeRadio::StereoMode" } + } + Method { + name: "setVolume" + Parameter { name: "volume"; type: "int" } + } + Method { + name: "setMuted" + Parameter { name: "muted"; type: "bool" } + } + Method { name: "cancelScan" } + Method { name: "scanDown" } + Method { name: "scanUp" } + Method { name: "tuneUp" } + Method { name: "tuneDown" } + Method { + name: "searchAllStations" + Parameter { name: "searchMode"; type: "QDeclarativeRadio::SearchMode" } + } + Method { name: "searchAllStations" } + Method { name: "start" } + Method { name: "stop" } + Method { name: "isAvailable"; type: "bool" } + } + Component { + name: "QDeclarativeRadioData" + prototype: "QObject" + exports: ["QtMultimedia/RadioData 5.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Error" + values: { + "NoError": 0, + "ResourceError": 1, + "OpenError": 2, + "OutOfRangeError": 3 + } + } + Enum { + name: "ProgramType" + values: { + "Undefined": 0, + "News": 1, + "CurrentAffairs": 2, + "Information": 3, + "Sport": 4, + "Education": 5, + "Drama": 6, + "Culture": 7, + "Science": 8, + "Varied": 9, + "PopMusic": 10, + "RockMusic": 11, + "EasyListening": 12, + "LightClassical": 13, + "SeriousClassical": 14, + "OtherMusic": 15, + "Weather": 16, + "Finance": 17, + "ChildrensProgrammes": 18, + "SocialAffairs": 19, + "Religion": 20, + "PhoneIn": 21, + "Travel": 22, + "Leisure": 23, + "JazzMusic": 24, + "CountryMusic": 25, + "NationalMusic": 26, + "OldiesMusic": 27, + "FolkMusic": 28, + "Documentary": 29, + "AlarmTest": 30, + "Alarm": 31, + "Talk": 32, + "ClassicRock": 33, + "AdultHits": 34, + "SoftRock": 35, + "Top40": 36, + "Soft": 37, + "Nostalgia": 38, + "Classical": 39, + "RhythmAndBlues": 40, + "SoftRhythmAndBlues": 41, + "Language": 42, + "ReligiousMusic": 43, + "ReligiousTalk": 44, + "Personality": 45, + "Public": 46, + "College": 47 + } + } + Enum { + name: "Availability" + values: { + "Available": 0, + "Busy": 2, + "Unavailable": 1, + "ResourceMissing": 3 + } + } + Property { name: "stationId"; type: "string"; isReadonly: true } + Property { name: "programType"; type: "QDeclarativeRadioData::ProgramType"; isReadonly: true } + Property { name: "programTypeName"; type: "string"; isReadonly: true } + Property { name: "stationName"; type: "string"; isReadonly: true } + Property { name: "radioText"; type: "string"; isReadonly: true } + Property { name: "alternativeFrequenciesEnabled"; type: "bool" } + Property { name: "availability"; type: "Availability"; isReadonly: true } + Signal { + name: "stationIdChanged" + Parameter { name: "stationId"; type: "string" } + } + Signal { + name: "programTypeChanged" + Parameter { name: "programType"; type: "QDeclarativeRadioData::ProgramType" } + } + Signal { + name: "programTypeNameChanged" + Parameter { name: "programTypeName"; type: "string" } + } + Signal { + name: "stationNameChanged" + Parameter { name: "stationName"; type: "string" } + } + Signal { + name: "radioTextChanged" + Parameter { name: "radioText"; type: "string" } + } + Signal { + name: "alternativeFrequenciesEnabledChanged" + Parameter { name: "enabled"; type: "bool" } + } + Signal { + name: "availabilityChanged" + Parameter { name: "availability"; type: "Availability" } + } + Signal { name: "errorChanged" } + Signal { + name: "error" + Parameter { name: "errorCode"; type: "QDeclarativeRadioData::Error" } + } + Method { + name: "setAlternativeFrequenciesEnabled" + Parameter { name: "enabled"; type: "bool" } + } + Method { name: "isAvailable"; type: "bool" } + } + Component { + name: "QDeclarativeTorch" + prototype: "QObject" + exports: ["QtMultimedia/Torch 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "enabled"; type: "bool" } + Property { name: "power"; type: "int" } + } + Component { + name: "QDeclarativeVideoOutput" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtMultimedia/VideoOutput 5.0", + "QtMultimedia/VideoOutput 5.13", + "QtMultimedia/VideoOutput 5.15", + "QtMultimedia/VideoOutput 5.2" + ] + exportMetaObjectRevisions: [0, 13, 15, 2] + Enum { + name: "FlushMode" + values: { + "EmptyFrame": 0, + "FirstFrame": 1, + "LastFrame": 2 + } + } + Enum { + name: "FillMode" + values: { + "Stretch": 0, + "PreserveAspectFit": 1, + "PreserveAspectCrop": 2 + } + } + Property { name: "source"; type: "QObject"; isPointer: true } + Property { name: "fillMode"; type: "FillMode" } + Property { name: "orientation"; type: "int" } + Property { name: "autoOrientation"; revision: 2; type: "bool" } + Property { name: "sourceRect"; type: "QRectF"; isReadonly: true } + Property { name: "contentRect"; type: "QRectF"; isReadonly: true } + Property { name: "filters"; type: "QAbstractVideoFilter"; isList: true; isReadonly: true } + Property { name: "flushMode"; revision: 13; type: "FlushMode" } + Property { + name: "videoSurface" + revision: 15 + type: "QAbstractVideoSurface" + isReadonly: true + isPointer: true + } + Signal { + name: "fillModeChanged" + Parameter { type: "QDeclarativeVideoOutput::FillMode" } + } + Method { + name: "mapPointToItem" + type: "QPointF" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapRectToItem" + type: "QRectF" + Parameter { name: "rectangle"; type: "QRectF" } + } + Method { + name: "mapNormalizedPointToItem" + type: "QPointF" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapNormalizedRectToItem" + type: "QRectF" + Parameter { name: "rectangle"; type: "QRectF" } + } + Method { + name: "mapPointToSource" + type: "QPointF" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapRectToSource" + type: "QRectF" + Parameter { name: "rectangle"; type: "QRectF" } + } + Method { + name: "mapPointToSourceNormalized" + type: "QPointF" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapRectToSourceNormalized" + type: "QRectF" + Parameter { name: "rectangle"; type: "QRectF" } + } + } + Component { + name: "QMediaObject" + prototype: "QObject" + Property { name: "notifyInterval"; type: "int" } + Signal { + name: "notifyIntervalChanged" + Parameter { name: "milliSeconds"; type: "int" } + } + Signal { + name: "metaDataAvailableChanged" + Parameter { name: "available"; type: "bool" } + } + Signal { name: "metaDataChanged" } + Signal { + name: "metaDataChanged" + Parameter { name: "key"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Signal { + name: "availabilityChanged" + Parameter { name: "available"; type: "bool" } + } + Signal { + name: "availabilityChanged" + Parameter { name: "availability"; type: "QMultimedia::AvailabilityStatus" } + } + } + Component { name: "QSGVideoItemSurface"; prototype: "QAbstractVideoSurface" } + Component { + name: "QSoundEffect" + prototype: "QObject" + exports: [ + "QtMultimedia/SoundEffect 5.0", + "QtMultimedia/SoundEffect 5.3", + "QtMultimedia/SoundEffect 5.8" + ] + exportMetaObjectRevisions: [0, 0, 0] + Enum { + name: "Loop" + values: { + "Infinite": -2 + } + } + Enum { + name: "Status" + values: { + "Null": 0, + "Loading": 1, + "Ready": 2, + "Error": 3 + } + } + Property { name: "source"; type: "QUrl" } + Property { name: "loops"; type: "int" } + Property { name: "loopsRemaining"; type: "int"; isReadonly: true } + Property { name: "volume"; type: "double" } + Property { name: "muted"; type: "bool" } + Property { name: "playing"; type: "bool"; isReadonly: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "category"; type: "string" } + Signal { name: "loopCountChanged" } + Signal { name: "loadedChanged" } + Method { name: "play" } + Method { name: "stop" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/qmldir new file mode 100644 index 00000000..3d2d7c46 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtMultimedia/qmldir @@ -0,0 +1,5 @@ +module QtMultimedia +plugin declarative_multimedia +classname QMultimediaDeclarativeModule +typeinfo plugins.qmltypes +Video 5.0 Video.qml diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/declarative_nfc.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/declarative_nfc.dll new file mode 100644 index 00000000..77d6b4ab Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/declarative_nfc.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/plugins.qmltypes new file mode 100644 index 00000000..40cbe2cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/plugins.qmltypes @@ -0,0 +1,91 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtNfc 5.15' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QDeclarativeNdefFilter" + prototype: "QObject" + exports: ["QtNfc/NdefFilter 5.0", "QtNfc/NdefFilter 5.2"] + exportMetaObjectRevisions: [0, 0] + Property { name: "type"; type: "string" } + Property { name: "typeNameFormat"; type: "QQmlNdefRecord::TypeNameFormat" } + Property { name: "minimum"; type: "int" } + Property { name: "maximum"; type: "int" } + } + Component { + name: "QDeclarativeNdefMimeRecord" + prototype: "QQmlNdefRecord" + exports: ["QtNfc/NdefMimeRecord 5.0", "QtNfc/NdefMimeRecord 5.2"] + exportMetaObjectRevisions: [0, 0] + Property { name: "uri"; type: "string"; isReadonly: true } + } + Component { + name: "QDeclarativeNdefTextRecord" + prototype: "QQmlNdefRecord" + exports: ["QtNfc/NdefTextRecord 5.0", "QtNfc/NdefTextRecord 5.2"] + exportMetaObjectRevisions: [0, 0] + Enum { + name: "LocaleMatch" + values: { + "LocaleMatchedNone": 0, + "LocaleMatchedEnglish": 1, + "LocaleMatchedLanguage": 2, + "LocaleMatchedLanguageAndCountry": 3 + } + } + Property { name: "text"; type: "string" } + Property { name: "locale"; type: "string" } + Property { name: "localeMatch"; type: "LocaleMatch"; isReadonly: true } + } + Component { + name: "QDeclarativeNdefUriRecord" + prototype: "QQmlNdefRecord" + exports: ["QtNfc/NdefUriRecord 5.0", "QtNfc/NdefUriRecord 5.2"] + exportMetaObjectRevisions: [0, 0] + Property { name: "uri"; type: "string" } + } + Component { + name: "QDeclarativeNearField" + prototype: "QObject" + exports: [ + "QtNfc/NearField 5.0", + "QtNfc/NearField 5.2", + "QtNfc/NearField 5.4", + "QtNfc/NearField 5.5" + ] + exportMetaObjectRevisions: [0, 0, 0, 1] + Property { name: "messageRecords"; type: "QQmlNdefRecord"; isList: true; isReadonly: true } + Property { name: "filter"; type: "QDeclarativeNdefFilter"; isList: true; isReadonly: true } + Property { name: "orderMatch"; type: "bool" } + Property { name: "polling"; revision: 1; type: "bool" } + Signal { name: "pollingChanged"; revision: 1 } + Signal { name: "tagFound"; revision: 1 } + Signal { name: "tagRemoved"; revision: 1 } + } + Component { + name: "QQmlNdefRecord" + prototype: "QObject" + exports: ["QtNfc/NdefRecord 5.0", "QtNfc/NdefRecord 5.2"] + exportMetaObjectRevisions: [0, 0] + Enum { + name: "TypeNameFormat" + values: { + "Empty": 0, + "NfcRtd": 1, + "Mime": 2, + "Uri": 3, + "ExternalRtd": 4, + "Unknown": 5 + } + } + Property { name: "type"; type: "string" } + Property { name: "typeNameFormat"; type: "TypeNameFormat" } + Property { name: "record"; type: "QNdefRecord" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/qmldir new file mode 100644 index 00000000..0025f3e6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtNfc/qmldir @@ -0,0 +1,4 @@ +module QtNfc +plugin declarative_nfc +classname QNfcQmlPlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/declarative_positioning.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/declarative_positioning.dll new file mode 100644 index 00000000..befd2be9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/declarative_positioning.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/plugins.qmltypes new file mode 100644 index 00000000..e951961c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/plugins.qmltypes @@ -0,0 +1,316 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtPositioning 5.14' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "LocationSingleton" + prototype: "QObject" + exports: ["QtPositioning/QtPositioning 5.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Method { name: "coordinate"; type: "QGeoCoordinate" } + Method { + name: "coordinate" + type: "QGeoCoordinate" + Parameter { name: "latitude"; type: "double" } + Parameter { name: "longitude"; type: "double" } + Parameter { name: "altitude"; type: "double" } + } + Method { + name: "coordinate" + type: "QGeoCoordinate" + Parameter { name: "latitude"; type: "double" } + Parameter { name: "longitude"; type: "double" } + } + Method { name: "shape"; type: "QGeoShape" } + Method { name: "rectangle"; type: "QGeoRectangle" } + Method { + name: "rectangle" + type: "QGeoRectangle" + Parameter { name: "center"; type: "QGeoCoordinate" } + Parameter { name: "width"; type: "double" } + Parameter { name: "height"; type: "double" } + } + Method { + name: "rectangle" + type: "QGeoRectangle" + Parameter { name: "topLeft"; type: "QGeoCoordinate" } + Parameter { name: "bottomRight"; type: "QGeoCoordinate" } + } + Method { + name: "rectangle" + type: "QGeoRectangle" + Parameter { name: "coordinates"; type: "QVariantList" } + } + Method { name: "circle"; type: "QGeoCircle" } + Method { + name: "circle" + type: "QGeoCircle" + Parameter { name: "center"; type: "QGeoCoordinate" } + Parameter { name: "radius"; type: "double" } + } + Method { + name: "circle" + type: "QGeoCircle" + Parameter { name: "center"; type: "QGeoCoordinate" } + } + Method { name: "path"; type: "QGeoPath" } + Method { + name: "path" + type: "QGeoPath" + Parameter { name: "value"; type: "QJSValue" } + Parameter { name: "width"; type: "double" } + } + Method { + name: "path" + type: "QGeoPath" + Parameter { name: "value"; type: "QJSValue" } + } + Method { name: "polygon"; type: "QGeoPolygon" } + Method { + name: "polygon" + type: "QGeoPolygon" + Parameter { name: "value"; type: "QVariantList" } + } + Method { + name: "polygon" + type: "QGeoPolygon" + Parameter { name: "perimeter"; type: "QVariantList" } + Parameter { name: "holes"; type: "QVariantList" } + } + Method { + name: "shapeToCircle" + type: "QGeoCircle" + Parameter { name: "shape"; type: "QGeoShape" } + } + Method { + name: "shapeToRectangle" + type: "QGeoRectangle" + Parameter { name: "shape"; type: "QGeoShape" } + } + Method { + name: "shapeToPath" + type: "QGeoPath" + Parameter { name: "shape"; type: "QGeoShape" } + } + Method { + name: "shapeToPolygon" + type: "QGeoPolygon" + Parameter { name: "shape"; type: "QGeoShape" } + } + Method { + name: "mercatorToCoord" + revision: 12 + type: "QGeoCoordinate" + Parameter { name: "mercator"; type: "QPointF" } + } + Method { + name: "coordToMercator" + revision: 12 + type: "QPointF" + Parameter { name: "coord"; type: "QGeoCoordinate" } + } + } + Component { + name: "QDeclarativeGeoAddress" + prototype: "QObject" + exports: ["QtPositioning/Address 5.0"] + exportMetaObjectRevisions: [0] + Property { name: "address"; type: "QGeoAddress" } + Property { name: "text"; type: "string" } + Property { name: "country"; type: "string" } + Property { name: "countryCode"; type: "string" } + Property { name: "state"; type: "string" } + Property { name: "county"; type: "string" } + Property { name: "city"; type: "string" } + Property { name: "district"; type: "string" } + Property { name: "street"; type: "string" } + Property { name: "postalCode"; type: "string" } + Property { name: "isTextGenerated"; type: "bool"; isReadonly: true } + } + Component { + name: "QDeclarativeGeoLocation" + prototype: "QObject" + exports: ["QtPositioning/Location 5.0", "QtPositioning/Location 5.13"] + exportMetaObjectRevisions: [0, 13] + Property { name: "location"; type: "QGeoLocation" } + Property { name: "address"; type: "QDeclarativeGeoAddress"; isPointer: true } + Property { name: "coordinate"; type: "QGeoCoordinate" } + Property { name: "boundingBox"; type: "QGeoRectangle" } + Property { name: "extendedAttributes"; revision: 13; type: "QVariantMap" } + } + Component { + name: "QDeclarativePluginParameter" + prototype: "QObject" + exports: ["QtPositioning/PluginParameter 5.14"] + exportMetaObjectRevisions: [0] + Property { name: "name"; type: "string" } + Property { name: "value"; type: "QVariant" } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "string" } + } + Signal { + name: "valueChanged" + Parameter { name: "value"; type: "QVariant" } + } + Signal { name: "initialized" } + } + Component { + name: "QDeclarativePosition" + prototype: "QObject" + exports: [ + "QtPositioning/Position 5.0", + "QtPositioning/Position 5.3", + "QtPositioning/Position 5.4" + ] + exportMetaObjectRevisions: [0, 1, 2] + Property { name: "latitudeValid"; type: "bool"; isReadonly: true } + Property { name: "longitudeValid"; type: "bool"; isReadonly: true } + Property { name: "altitudeValid"; type: "bool"; isReadonly: true } + Property { name: "coordinate"; type: "QGeoCoordinate"; isReadonly: true } + Property { name: "timestamp"; type: "QDateTime"; isReadonly: true } + Property { name: "speed"; type: "double"; isReadonly: true } + Property { name: "speedValid"; type: "bool"; isReadonly: true } + Property { name: "horizontalAccuracy"; type: "double" } + Property { name: "verticalAccuracy"; type: "double" } + Property { name: "horizontalAccuracyValid"; type: "bool"; isReadonly: true } + Property { name: "verticalAccuracyValid"; type: "bool"; isReadonly: true } + Property { name: "directionValid"; revision: 1; type: "bool"; isReadonly: true } + Property { name: "direction"; revision: 1; type: "double"; isReadonly: true } + Property { name: "verticalSpeedValid"; revision: 1; type: "bool"; isReadonly: true } + Property { name: "verticalSpeed"; revision: 1; type: "double"; isReadonly: true } + Property { name: "magneticVariation"; revision: 2; type: "double"; isReadonly: true } + Property { name: "magneticVariationValid"; revision: 2; type: "bool"; isReadonly: true } + Signal { name: "directionValidChanged"; revision: 1 } + Signal { name: "directionChanged"; revision: 1 } + Signal { name: "verticalSpeedValidChanged"; revision: 1 } + Signal { name: "verticalSpeedChanged"; revision: 1 } + Signal { name: "magneticVariationChanged"; revision: 2 } + Signal { name: "magneticVariationValidChanged"; revision: 2 } + } + Component { + name: "QDeclarativePositionSource" + defaultProperty: "parameters" + prototype: "QObject" + exports: ["QtPositioning/PositionSource 5.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "PositioningMethod" + values: { + "NoPositioningMethods": 0, + "SatellitePositioningMethods": 255, + "NonSatellitePositioningMethods": -256, + "AllPositioningMethods": -1 + } + } + Enum { + name: "PositioningMethods" + values: { + "NoPositioningMethods": 0, + "SatellitePositioningMethods": 255, + "NonSatellitePositioningMethods": -256, + "AllPositioningMethods": -1 + } + } + Enum { + name: "SourceError" + values: { + "AccessError": 0, + "ClosedError": 1, + "UnknownSourceError": 2, + "NoError": 3, + "SocketError": 100 + } + } + Property { name: "position"; type: "QDeclarativePosition"; isReadonly: true; isPointer: true } + Property { name: "active"; type: "bool" } + Property { name: "valid"; type: "bool"; isReadonly: true } + Property { name: "nmeaSource"; type: "QUrl" } + Property { name: "updateInterval"; type: "int" } + Property { name: "supportedPositioningMethods"; type: "PositioningMethods"; isReadonly: true } + Property { name: "preferredPositioningMethods"; type: "PositioningMethods" } + Property { name: "sourceError"; type: "SourceError"; isReadonly: true } + Property { name: "name"; type: "string" } + Property { + name: "parameters" + revision: 14 + type: "QDeclarativePluginParameter" + isList: true + isReadonly: true + } + Signal { name: "validityChanged" } + Signal { name: "updateTimeout" } + Method { name: "update" } + Method { name: "start" } + Method { name: "stop" } + Method { + name: "setBackendProperty" + revision: 14 + type: "bool" + Parameter { name: "name"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "backendProperty" + revision: 14 + type: "QVariant" + Parameter { name: "name"; type: "string" } + } + } + Component { + name: "QGeoShape" + exports: ["QtPositioning/GeoShape 5.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "ShapeType" + values: { + "UnknownType": 0, + "RectangleType": 1, + "CircleType": 2, + "PathType": 3, + "PolygonType": 4 + } + } + Property { name: "type"; type: "ShapeType"; isReadonly: true } + Property { name: "isValid"; type: "bool"; isReadonly: true } + Property { name: "isEmpty"; type: "bool"; isReadonly: true } + Method { + name: "contains" + type: "bool" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { name: "boundingGeoRectangle"; type: "QGeoRectangle" } + Method { name: "center"; type: "QGeoCoordinate" } + Method { + name: "extendShape" + Parameter { name: "coordinate"; type: "QGeoCoordinate" } + } + Method { name: "toString"; type: "string" } + } + Component { + name: "QQuickGeoCoordinateAnimation" + prototype: "QQuickPropertyAnimation" + exports: ["QtPositioning/CoordinateAnimation 5.3"] + exportMetaObjectRevisions: [0] + Enum { + name: "Direction" + values: { + "Shortest": 0, + "West": 1, + "East": 2 + } + } + Property { name: "from"; type: "QGeoCoordinate" } + Property { name: "to"; type: "QGeoCoordinate" } + Property { name: "direction"; type: "Direction" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/qmldir new file mode 100644 index 00000000..fc4ebf85 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtPositioning/qmldir @@ -0,0 +1,4 @@ +module QtPositioning +plugin declarative_positioning +classname QtPositioningDeclarativeModule +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/modelsplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/modelsplugin.dll new file mode 100644 index 00000000..3e32341f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/modelsplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/plugins.qmltypes new file mode 100644 index 00000000..f9c1f0aa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/plugins.qmltypes @@ -0,0 +1,880 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: [ + "NoLayoutChangeHint", + "VerticalSortHint", + "HorizontalSortHint" + ] + } + Enum { + name: "CheckIndexOption" + values: [ + "NoOption", + "IndexIsValid", + "DoNotUseParent", + "ParentIsInvalid" + ] + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { name: "resetInternalData" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + file: "private/qqmlmodelsmodule_p.h" + name: "QItemSelectionModel" + prototype: "QObject" + exports: ["QtQml.Models/ItemSelectionModel 2.2"] + exportMetaObjectRevisions: [2] + Enum { + name: "SelectionFlags" + alias: "SelectionFlag" + isFlag: true + values: [ + "NoUpdate", + "Clear", + "Select", + "Deselect", + "Toggle", + "Current", + "Rows", + "Columns", + "SelectCurrent", + "ToggleCurrent", + "ClearAndSelect" + ] + } + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } + Property { name: "hasSelection"; type: "bool"; isReadonly: true } + Property { name: "currentIndex"; type: "QModelIndex"; isReadonly: true } + Property { name: "selection"; type: "QItemSelection"; isReadonly: true } + Property { name: "selectedIndexes"; type: "QModelIndexList"; isReadonly: true } + Signal { + name: "selectionChanged" + Parameter { name: "selected"; type: "QItemSelection" } + Parameter { name: "deselected"; type: "QItemSelection" } + } + Signal { + name: "currentChanged" + Parameter { name: "current"; type: "QModelIndex" } + Parameter { name: "previous"; type: "QModelIndex" } + } + Signal { + name: "currentRowChanged" + Parameter { name: "current"; type: "QModelIndex" } + Parameter { name: "previous"; type: "QModelIndex" } + } + Signal { + name: "currentColumnChanged" + Parameter { name: "current"; type: "QModelIndex" } + Parameter { name: "previous"; type: "QModelIndex" } + } + Signal { + name: "modelChanged" + Parameter { name: "model"; type: "QAbstractItemModel"; isPointer: true } + } + Method { + name: "setCurrentIndex" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "command"; type: "QItemSelectionModel::SelectionFlags" } + } + Method { + name: "select" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "command"; type: "QItemSelectionModel::SelectionFlags" } + } + Method { + name: "select" + Parameter { name: "selection"; type: "QItemSelection" } + Parameter { name: "command"; type: "QItemSelectionModel::SelectionFlags" } + } + Method { name: "clear" } + Method { name: "reset" } + Method { name: "clearSelection" } + Method { name: "clearCurrentIndex" } + Method { + name: "_q_columnsAboutToBeRemoved" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_rowsAboutToBeRemoved" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_columnsAboutToBeInserted" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_rowsAboutToBeInserted" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Method { + name: "_q_layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Method { name: "_q_layoutAboutToBeChanged" } + Method { + name: "_q_layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Method { + name: "_q_layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Method { name: "_q_layoutChanged" } + Method { + name: "isSelected" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "isRowSelected" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "isRowSelected" + type: "bool" + Parameter { name: "row"; type: "int" } + } + Method { + name: "isColumnSelected" + type: "bool" + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "isColumnSelected" + type: "bool" + Parameter { name: "column"; type: "int" } + } + Method { + name: "rowIntersectsSelection" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "rowIntersectsSelection" + type: "bool" + Parameter { name: "row"; type: "int" } + } + Method { + name: "columnIntersectsSelection" + type: "bool" + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "columnIntersectsSelection" + type: "bool" + Parameter { name: "column"; type: "int" } + } + Method { + name: "selectedRows" + type: "QModelIndexList" + Parameter { name: "column"; type: "int" } + } + Method { name: "selectedRows"; type: "QModelIndexList" } + Method { + name: "selectedColumns" + type: "QModelIndexList" + Parameter { name: "row"; type: "int" } + } + Method { name: "selectedColumns"; type: "QModelIndexList" } + } + Component { + file: "private/qqmlabstractdelegatecomponent_p.h" + name: "QQmlAbstractDelegateComponent" + prototype: "QQmlComponent" + exports: ["QtQml.Models/AbstractDelegateComponent 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Signal { name: "delegateChanged" } + } + Component { + file: "private/qqmldelegatemodel_p.h" + name: "QQmlDelegateModel" + defaultProperty: "delegate" + prototype: "QQmlInstanceModel" + exports: [ + "QtQml.Models/DelegateModel 2.1", + "QtQml.Models/DelegateModel 2.15" + ] + exportMetaObjectRevisions: [1, 15] + attachedType: "QQmlDelegateModelAttached" + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "filterOnGroup"; type: "string" } + Property { name: "items"; type: "QQmlDelegateModelGroup"; isReadonly: true; isPointer: true } + Property { + name: "persistedItems" + type: "QQmlDelegateModelGroup" + isReadonly: true + isPointer: true + } + Property { name: "groups"; type: "QQmlDelegateModelGroup"; isList: true; isReadonly: true } + Property { name: "parts"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "rootIndex"; type: "QVariant" } + Signal { name: "filterGroupChanged" } + Signal { name: "defaultGroupsChanged" } + Method { + name: "_q_itemsChanged" + Parameter { name: "index"; type: "int" } + Parameter { name: "count"; type: "int" } + Parameter { name: "roles"; type: "QVector" } + } + Method { + name: "_q_itemsInserted" + Parameter { name: "index"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { + name: "_q_itemsRemoved" + Parameter { name: "index"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { + name: "_q_itemsMoved" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { name: "_q_modelReset" } + Method { + name: "_q_rowsInserted" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "begin"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "_q_rowsRemoved" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_rowsMoved" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + } + Method { + name: "_q_dataChanged" + Parameter { type: "QModelIndex" } + Parameter { type: "QModelIndex" } + Parameter { type: "QVector" } + } + Method { + name: "_q_layoutChanged" + Parameter { type: "QList" } + Parameter { type: "QAbstractItemModel::LayoutChangeHint" } + } + Method { + name: "modelIndex" + type: "QVariant" + Parameter { name: "idx"; type: "int" } + } + Method { name: "parentModelIndex"; type: "QVariant" } + } + Component { + name: "QQmlDelegateModelAttached" + prototype: "QObject" + Property { name: "model"; type: "QQmlDelegateModel"; isReadonly: true; isPointer: true } + Property { name: "groups"; type: "QStringList" } + Property { name: "isUnresolved"; type: "bool"; isReadonly: true } + Signal { name: "unresolvedChanged" } + } + Component { + file: "private/qqmldelegatemodel_p.h" + name: "QQmlDelegateModelGroup" + prototype: "QObject" + exports: ["QtQml.Models/DelegateModelGroup 2.1"] + exportMetaObjectRevisions: [1] + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "name"; type: "string" } + Property { name: "includeByDefault"; type: "bool" } + Signal { name: "defaultIncludeChanged" } + Signal { + name: "changed" + Parameter { name: "removed"; type: "QJSValue" } + Parameter { name: "inserted"; type: "QJSValue" } + } + Method { + name: "insert" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "create" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "resolve" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "remove" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "addGroups" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "removeGroups" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "setGroups" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "move" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qqmlobjectmodel_p.h" + name: "QQmlInstanceModel" + prototype: "QObject" + Property { name: "count"; type: "int"; isReadonly: true } + Signal { + name: "modelUpdated" + Parameter { name: "changeSet"; type: "QQmlChangeSet" } + Parameter { name: "reset"; type: "bool" } + } + Signal { + name: "createdItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "initItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "destroyingItem" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "itemPooled" + revision: 15 + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "itemReused" + revision: 15 + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + } + Component { + file: "private/qqmlinstantiator_p.h" + name: "QQmlInstantiator" + defaultProperty: "delegate" + prototype: "QObject" + exports: ["QtQml.Models/Instantiator 2.14"] + exportMetaObjectRevisions: [14] + Property { name: "active"; type: "bool" } + Property { name: "asynchronous"; type: "bool" } + Property { name: "model"; type: "QVariant" } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "object"; type: "QObject"; isReadonly: true; isPointer: true } + Signal { + name: "objectAdded" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "objectRemoved" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "_q_createdItem" + Parameter { type: "int" } + Parameter { type: "QObject"; isPointer: true } + } + Method { + name: "_q_modelUpdated" + Parameter { type: "QQmlChangeSet" } + Parameter { type: "bool" } + } + Method { + name: "objectAt" + type: "QObject*" + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qqmllistmodel_p.h" + name: "QQmlListElement" + prototype: "QObject" + exports: ["QtQml.Models/ListElement 2.1"] + exportMetaObjectRevisions: [1] + } + Component { + file: "private/qqmllistmodel_p.h" + name: "QQmlListModel" + prototype: "QAbstractListModel" + exports: ["QtQml.Models/ListModel 2.1", "QtQml.Models/ListModel 2.14"] + exportMetaObjectRevisions: [1, 14] + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "dynamicRoles"; type: "bool" } + Property { name: "agent"; revision: 14; type: "QObject"; isReadonly: true; isPointer: true } + Method { name: "clear" } + Method { + name: "remove" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "append" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "insert" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + Method { + name: "set" + Parameter { name: "index"; type: "int" } + Parameter { name: "value"; type: "QJSValue" } + } + Method { + name: "setProperty" + Parameter { name: "index"; type: "int" } + Parameter { name: "property"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "move" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { name: "sync" } + } + Component { + file: "private/qqmllistmodelworkeragent_p.h" + name: "QQmlListModelWorkerAgent" + prototype: "QObject" + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "engine"; type: "QV4::ExecutionEngine"; isPointer: true } + Signal { + name: "engineChanged" + Parameter { name: "engine"; type: "QV4::ExecutionEngine"; isPointer: true } + } + Method { name: "addref" } + Method { name: "release" } + Method { name: "clear" } + Method { + name: "remove" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "append" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "insert" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + Method { + name: "set" + Parameter { name: "index"; type: "int" } + Parameter { name: "value"; type: "QJSValue" } + } + Method { + name: "setProperty" + Parameter { name: "index"; type: "int" } + Parameter { name: "property"; type: "string" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "move" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { name: "sync" } + } + Component { + file: "private/qqmlobjectmodel_p.h" + name: "QQmlObjectModel" + defaultProperty: "children" + prototype: "QQmlInstanceModel" + exports: [ + "QtQml.Models/ObjectModel 2.1", + "QtQml.Models/ObjectModel 2.15", + "QtQml.Models/ObjectModel 2.3" + ] + exportMetaObjectRevisions: [1, 15, 3] + attachedType: "QQmlObjectModelAttached" + Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } + Method { name: "clear"; revision: 3 } + Method { + name: "get" + revision: 3 + type: "QObject*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "append" + revision: 3 + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "insert" + revision: 3 + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "move" + revision: 3 + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "n"; type: "int" } + } + Method { + name: "move" + revision: 3 + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + } + Method { + name: "remove" + revision: 3 + Parameter { name: "index"; type: "int" } + Parameter { name: "n"; type: "int" } + } + Method { + name: "remove" + revision: 3 + Parameter { name: "index"; type: "int" } + } + } + Component { + name: "QQmlObjectModelAttached" + prototype: "QObject" + Property { name: "index"; type: "int"; isReadonly: true } + } + Component { + file: "private/qquickpackage_p.h" + name: "QQuickPackage" + defaultProperty: "data" + prototype: "QObject" + exports: ["QtQml.Models/Package 2.14"] + exportMetaObjectRevisions: [14] + attachedType: "QQuickPackageAttached" + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + name: "QQuickPackageAttached" + prototype: "QObject" + Property { name: "name"; type: "string" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/qmldir new file mode 100644 index 00000000..2dd20b92 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/Models.2/qmldir @@ -0,0 +1,4 @@ +module QtQml.Models +plugin modelsplugin +classname QtQmlModelsPlugin +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/plugins.qmltypes new file mode 100644 index 00000000..24397152 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/plugins.qmltypes @@ -0,0 +1,75 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQml.RemoteObjects 1.0' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QRemoteObjectAbstractPersistedStore" + prototype: "QObject" + exports: ["QtQml.RemoteObjects/PersistedStore 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + } + Component { + name: "QRemoteObjectNode" + prototype: "QObject" + exports: ["QtQml.RemoteObjects/Node 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "ErrorCode" + values: { + "NoError": 0, + "RegistryNotAcquired": 1, + "RegistryAlreadyHosted": 2, + "NodeIsNoServer": 3, + "ServerAlreadyCreated": 4, + "UnintendedRegistryHosting": 5, + "OperationNotValidOnClientNode": 6, + "SourceNotRegistered": 7, + "MissingObjectName": 8, + "HostUrlInvalid": 9, + "ProtocolMismatch": 10, + "ListenFailed": 11 + } + } + Property { name: "registryUrl"; type: "QUrl" } + Property { + name: "persistedStore" + type: "QRemoteObjectAbstractPersistedStore" + isPointer: true + } + Property { name: "heartbeatInterval"; type: "int" } + Signal { + name: "remoteObjectAdded" + Parameter { type: "QRemoteObjectSourceLocation" } + } + Signal { + name: "remoteObjectRemoved" + Parameter { type: "QRemoteObjectSourceLocation" } + } + Signal { + name: "error" + Parameter { name: "errorCode"; type: "QRemoteObjectNode::ErrorCode" } + } + Signal { + name: "heartbeatIntervalChanged" + Parameter { name: "heartbeatInterval"; type: "int" } + } + Method { + name: "connectToNode" + type: "bool" + Parameter { name: "address"; type: "QUrl" } + } + } + Component { + name: "QRemoteObjectSettingsStore" + prototype: "QRemoteObjectAbstractPersistedStore" + exports: ["QtQml.RemoteObjects/SettingsStore 1.0"] + exportMetaObjectRevisions: [0] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/qmldir new file mode 100644 index 00000000..e6f2c537 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/qmldir @@ -0,0 +1,3 @@ +module QtQml.RemoteObjects +plugin qtqmlremoteobjects +classname QtQmlRemoteObjectsPlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/qtqmlremoteobjects.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/qtqmlremoteobjects.dll new file mode 100644 index 00000000..01cabad2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/RemoteObjects/qtqmlremoteobjects.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/plugins.qmltypes new file mode 100644 index 00000000..0f602118 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/plugins.qmltypes @@ -0,0 +1,176 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + file: "finalstate.h" + name: "FinalState" + defaultProperty: "children" + prototype: "QFinalState" + exports: ["QtQml.StateMachine/FinalState 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + file: "statemachineforeign.h" + name: "QAbstractState" + prototype: "QObject" + exports: ["QtQml.StateMachine/QAbstractState 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "active"; type: "bool"; isReadonly: true } + Signal { name: "entered" } + Signal { name: "exited" } + Signal { + name: "activeChanged" + Parameter { name: "active"; type: "bool" } + } + } + Component { + name: "QAbstractTransition" + prototype: "QObject" + Enum { + name: "TransitionType" + values: ["ExternalTransition", "InternalTransition"] + } + Property { name: "sourceState"; type: "QState"; isReadonly: true; isPointer: true } + Property { name: "targetState"; type: "QAbstractState"; isPointer: true } + Property { name: "targetStates"; type: "QList" } + Property { name: "transitionType"; revision: 1; type: "TransitionType" } + Signal { name: "triggered" } + } + Component { name: "QFinalState"; prototype: "QAbstractState" } + Component { + file: "statemachineforeign.h" + name: "QHistoryState" + prototype: "QAbstractState" + exports: ["QtQml.StateMachine/HistoryState 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "HistoryType" + values: ["ShallowHistory", "DeepHistory"] + } + Property { name: "defaultState"; type: "QAbstractState"; isPointer: true } + Property { name: "defaultTransition"; type: "QAbstractTransition"; isPointer: true } + Property { name: "historyType"; type: "HistoryType" } + } + Component { + file: "statemachineforeign.h" + name: "QSignalTransition" + prototype: "QAbstractTransition" + exports: [ + "QtQml.StateMachine/QSignalTransition 1.0", + "QtQml.StateMachine/QSignalTransition 1.1" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Property { name: "senderObject"; type: "QObject"; isPointer: true } + Property { name: "signal"; type: "QByteArray" } + } + Component { + file: "statemachineforeign.h" + name: "QState" + prototype: "QAbstractState" + exports: ["QtQml.StateMachine/QState 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "ChildMode" + values: ["ExclusiveStates", "ParallelStates"] + } + Enum { + name: "RestorePolicy" + values: ["DontRestoreProperties", "RestoreProperties"] + } + Property { name: "initialState"; type: "QAbstractState"; isPointer: true } + Property { name: "errorState"; type: "QAbstractState"; isPointer: true } + Property { name: "childMode"; type: "ChildMode" } + Signal { name: "finished" } + Signal { name: "propertiesAssigned" } + } + Component { + name: "QStateMachine" + prototype: "QState" + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "globalRestorePolicy"; type: "QState::RestorePolicy" } + Property { name: "running"; type: "bool" } + Property { name: "animated"; type: "bool" } + Signal { name: "started" } + Signal { name: "stopped" } + Signal { + name: "runningChanged" + Parameter { name: "running"; type: "bool" } + } + Method { name: "start" } + Method { name: "stop" } + Method { + name: "setRunning" + Parameter { name: "running"; type: "bool" } + } + Method { name: "_q_start" } + Method { name: "_q_process" } + Method { name: "_q_animationFinished" } + Method { + name: "_q_startDelayedEventTimer" + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_killDelayedEventTimer" + Parameter { type: "int" } + Parameter { type: "int" } + } + } + Component { + file: "signaltransition.h" + name: "SignalTransition" + prototype: "QSignalTransition" + exports: [ + "QtQml.StateMachine/SignalTransition 1.0", + "QtQml.StateMachine/SignalTransition 1.1" + ] + exportMetaObjectRevisions: [0, 1] + Property { name: "signal"; type: "QJSValue" } + Property { name: "guard"; type: "QQmlScriptString" } + Signal { name: "invokeYourself" } + Signal { name: "qmlSignalChanged" } + Method { name: "invoke" } + } + Component { + file: "state.h" + name: "State" + defaultProperty: "children" + prototype: "QState" + exports: ["QtQml.StateMachine/State 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + file: "statemachine.h" + name: "StateMachine" + defaultProperty: "children" + prototype: "QStateMachine" + exports: ["QtQml.StateMachine/StateMachine 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "running"; type: "bool" } + Signal { name: "qmlRunningChanged" } + Method { name: "checkChildMode" } + } + Component { + file: "timeouttransition.h" + name: "TimeoutTransition" + prototype: "QSignalTransition" + exports: [ + "QtQml.StateMachine/TimeoutTransition 1.0", + "QtQml.StateMachine/TimeoutTransition 1.1" + ] + exportMetaObjectRevisions: [0, 1] + Property { name: "timeout"; type: "int" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/qmldir new file mode 100644 index 00000000..8bc38312 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/qmldir @@ -0,0 +1,4 @@ +module QtQml.StateMachine +plugin qtqmlstatemachine +classname QtQmlStateMachinePlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/qtqmlstatemachine.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/qtqmlstatemachine.dll new file mode 100644 index 00000000..e71460a1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/StateMachine/qtqmlstatemachine.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/plugins.qmltypes new file mode 100644 index 00000000..057136bc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/plugins.qmltypes @@ -0,0 +1,31 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + file: "private/qquickworkerscript_p.h" + name: "QQuickWorkerScript" + prototype: "QObject" + exports: [ + "QtQml.WorkerScript/WorkerScript 2.0", + "QtQml.WorkerScript/WorkerScript 2.15" + ] + exportMetaObjectRevisions: [0, 15] + Property { name: "source"; type: "QUrl" } + Property { name: "ready"; revision: 15; type: "bool"; isReadonly: true } + Signal { name: "readyChanged"; revision: 15 } + Signal { + name: "message" + Parameter { name: "messageObject"; type: "QJSValue" } + } + Method { + name: "sendMessage" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/qmldir new file mode 100644 index 00000000..1606400a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/qmldir @@ -0,0 +1,3 @@ +module QtQml.WorkerScript +plugin workerscriptplugin +classname QtQmlWorkerScriptPlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/workerscriptplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/workerscriptplugin.dll new file mode 100644 index 00000000..1a2bdda9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/WorkerScript.2/workerscriptplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/plugins.qmltypes new file mode 100644 index 00000000..b73940aa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/plugins.qmltypes @@ -0,0 +1,279 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + file: "private/qqmlengine_p.h" + name: "QObject" + exports: ["QML/QtObject 1.0", "QtQml/QtObject 2.0"] + exportMetaObjectRevisions: [0, 0] + Property { name: "objectName"; type: "string" } + Signal { + name: "objectNameChanged" + Parameter { name: "objectName"; type: "string" } + } + Method { + name: "_q_reregisterTimers" + Parameter { type: "void"; isPointer: true } + } + Method { name: "toString" } + Method { name: "destroy" } + Method { + name: "destroy" + Parameter { name: "delay"; type: "int" } + } + } + Component { + file: "private/qqmlbind_p.h" + name: "QQmlBind" + prototype: "QObject" + exports: [ + "QtQml/Binding 2.0", + "QtQml/Binding 2.14", + "QtQml/Binding 2.8" + ] + exportMetaObjectRevisions: [0, 14, 8] + Enum { + name: "RestorationMode" + values: [ + "RestoreNone", + "RestoreBinding", + "RestoreValue", + "RestoreBindingOrValue" + ] + } + Property { name: "target"; type: "QObject"; isPointer: true } + Property { name: "property"; type: "string" } + Property { name: "value"; type: "QJSValue" } + Property { name: "when"; type: "bool" } + Property { name: "delayed"; revision: 8; type: "bool" } + Property { name: "restoreMode"; revision: 14; type: "RestorationMode" } + Method { name: "targetValueChanged" } + } + Component { + file: "qqmlcomponent.h" + name: "QQmlComponent" + prototype: "QObject" + exports: ["QML/Component 1.0", "QtQml/Component 2.0"] + exportMetaObjectRevisions: [0, 0] + attachedType: "QQmlComponentAttached" + Enum { + name: "CompilationMode" + values: ["PreferSynchronous", "Asynchronous"] + } + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Property { name: "progress"; type: "double"; isReadonly: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "url"; type: "QUrl"; isReadonly: true } + Signal { + name: "statusChanged" + Parameter { type: "QQmlComponent::Status" } + } + Signal { + name: "progressChanged" + Parameter { type: "double" } + } + Method { + name: "loadUrl" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "loadUrl" + Parameter { name: "url"; type: "QUrl" } + Parameter { name: "mode"; type: "CompilationMode" } + } + Method { + name: "setData" + Parameter { type: "QByteArray" } + Parameter { name: "baseUrl"; type: "QUrl" } + } + Method { name: "errorString"; type: "string" } + Method { + name: "createObject" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "incubateObject" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + } + Component { + file: "private/qqmlcomponentattached_p.h" + name: "QQmlComponentAttached" + prototype: "QObject" + Signal { name: "completed" } + Signal { name: "destruction" } + } + Component { + file: "private/qqmlconnections_p.h" + name: "QQmlConnections" + prototype: "QObject" + exports: ["QtQml/Connections 2.0", "QtQml/Connections 2.3"] + exportMetaObjectRevisions: [0, 3] + Property { name: "target"; type: "QObject"; isPointer: true } + Property { name: "enabled"; revision: 3; type: "bool" } + Property { name: "ignoreUnknownSignals"; type: "bool" } + Signal { name: "enabledChanged"; revision: 3 } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlEasingValueType" + exports: ["QtQml/Easing 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "Type" + values: [ + "Linear", + "InQuad", + "OutQuad", + "InOutQuad", + "OutInQuad", + "InCubic", + "OutCubic", + "InOutCubic", + "OutInCubic", + "InQuart", + "OutQuart", + "InOutQuart", + "OutInQuart", + "InQuint", + "OutQuint", + "InOutQuint", + "OutInQuint", + "InSine", + "OutSine", + "InOutSine", + "OutInSine", + "InExpo", + "OutExpo", + "InOutExpo", + "OutInExpo", + "InCirc", + "OutCirc", + "InOutCirc", + "OutInCirc", + "InElastic", + "OutElastic", + "InOutElastic", + "OutInElastic", + "InBack", + "OutBack", + "InOutBack", + "OutInBack", + "InBounce", + "OutBounce", + "InOutBounce", + "OutInBounce", + "InCurve", + "OutCurve", + "SineCurve", + "CosineCurve", + "Bezier" + ] + } + Property { name: "type"; type: "QQmlEasingValueType::Type" } + Property { name: "amplitude"; type: "double" } + Property { name: "overshoot"; type: "double" } + Property { name: "period"; type: "double" } + Property { name: "bezierCurve"; type: "QVariantList" } + } + Component { + file: "private/qqmllocale_p.h" + name: "QQmlLocale" + exports: ["QtQml/Locale 2.2"] + isCreatable: false + exportMetaObjectRevisions: [2] + Enum { + name: "MeasurementSystem" + values: [ + "MetricSystem", + "ImperialSystem", + "ImperialUSSystem", + "ImperialUKSystem" + ] + } + Enum { + name: "FormatType" + values: ["LongFormat", "ShortFormat", "NarrowFormat"] + } + Enum { + name: "CurrencySymbolFormat" + values: [ + "CurrencyIsoCode", + "CurrencySymbol", + "CurrencyDisplayName" + ] + } + Enum { + name: "DayOfWeek" + values: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + Enum { + name: "NumberOptions" + values: [ + "DefaultNumberOptions", + "OmitGroupSeparator", + "RejectGroupSeparator", + "OmitLeadingZeroInExponent", + "RejectLeadingZeroInExponent", + "IncludeTrailingZeroesAfterDot", + "RejectTrailingZeroesAfterDot" + ] + } + } + Component { + file: "private/qqmlloggingcategory_p.h" + name: "QQmlLoggingCategory" + prototype: "QObject" + exports: ["QtQml/LoggingCategory 2.12", "QtQml/LoggingCategory 2.8"] + exportMetaObjectRevisions: [12, 8] + Enum { + name: "DefaultLogLevel" + values: ["Debug", "Info", "Warning", "Critical", "Fatal"] + } + Property { name: "name"; type: "string" } + Property { name: "defaultLogLevel"; revision: 12; type: "DefaultLogLevel" } + } + Component { + file: "private/qqmltimer_p.h" + name: "QQmlTimer" + prototype: "QObject" + exports: ["QtQml/Timer 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "interval"; type: "int" } + Property { name: "running"; type: "bool" } + Property { name: "repeat"; type: "bool" } + Property { name: "triggeredOnStart"; type: "bool" } + Property { name: "parent"; type: "QObject"; isReadonly: true; isPointer: true } + Signal { name: "triggered" } + Method { name: "start" } + Method { name: "stop" } + Method { name: "restart" } + Method { name: "ticked" } + } + Component { + file: "private/qqmltypenotavailable_p.h" + name: "QQmlTypeNotAvailable" + prototype: "QObject" + exports: ["QtQml/TypeNotAvailable 2.15"] + isCreatable: false + exportMetaObjectRevisions: [15] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/qmldir new file mode 100644 index 00000000..98555ee1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/qmldir @@ -0,0 +1,6 @@ +module QtQml +plugin qmlplugin +classname QtQmlPlugin +depends QtQml.Models 2.15 +depends QtQml.WorkerScript 2.15 +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/qmlplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/qmlplugin.dll new file mode 100644 index 00000000..672a5210 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQml/qmlplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/plugins.qmltypes new file mode 100644 index 00000000..9ca13f76 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/plugins.qmltypes @@ -0,0 +1,5294 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + name: "QDoubleValidator" + prototype: "QValidator" + Enum { + name: "Notation" + values: ["StandardNotation", "ScientificNotation"] + } + Property { name: "bottom"; type: "double" } + Property { name: "top"; type: "double" } + Property { name: "decimals"; type: "int" } + Property { name: "notation"; type: "Notation" } + Signal { + name: "bottomChanged" + Parameter { name: "bottom"; type: "double" } + } + Signal { + name: "topChanged" + Parameter { name: "top"; type: "double" } + } + Signal { + name: "decimalsChanged" + Parameter { name: "decimals"; type: "int" } + } + Signal { + name: "notationChanged" + Parameter { name: "notation"; type: "QDoubleValidator::Notation" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QInputMethod" + prototype: "QObject" + exports: ["QtQuick/InputMethod 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "Action" + values: ["Click", "ContextMenu"] + } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "anchorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "keyboardRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "inputItemClipRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "visible"; type: "bool"; isReadonly: true } + Property { name: "animating"; type: "bool"; isReadonly: true } + Property { name: "locale"; type: "QLocale"; isReadonly: true } + Property { name: "inputDirection"; type: "Qt::LayoutDirection"; isReadonly: true } + Signal { + name: "inputDirectionChanged" + Parameter { name: "newDirection"; type: "Qt::LayoutDirection" } + } + Method { name: "show" } + Method { name: "hide" } + Method { + name: "update" + Parameter { name: "queries"; type: "Qt::InputMethodQueries" } + } + Method { name: "reset" } + Method { name: "commit" } + Method { + name: "invokeAction" + Parameter { name: "a"; type: "Action" } + Parameter { name: "cursorPosition"; type: "int" } + } + } + Component { + name: "QIntValidator" + prototype: "QValidator" + Property { name: "bottom"; type: "int" } + Property { name: "top"; type: "int" } + Signal { + name: "bottomChanged" + Parameter { name: "bottom"; type: "int" } + } + Signal { + name: "topChanged" + Parameter { name: "top"; type: "int" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QKeySequence" + exports: ["QtQuick/StandardKey 2.2"] + isCreatable: false + exportMetaObjectRevisions: [2] + Enum { + name: "StandardKey" + values: [ + "UnknownKey", + "HelpContents", + "WhatsThis", + "Open", + "Close", + "Save", + "New", + "Delete", + "Cut", + "Copy", + "Paste", + "Undo", + "Redo", + "Back", + "Forward", + "Refresh", + "ZoomIn", + "ZoomOut", + "Print", + "AddTab", + "NextChild", + "PreviousChild", + "Find", + "FindNext", + "FindPrevious", + "Replace", + "SelectAll", + "Bold", + "Italic", + "Underline", + "MoveToNextChar", + "MoveToPreviousChar", + "MoveToNextWord", + "MoveToPreviousWord", + "MoveToNextLine", + "MoveToPreviousLine", + "MoveToNextPage", + "MoveToPreviousPage", + "MoveToStartOfLine", + "MoveToEndOfLine", + "MoveToStartOfBlock", + "MoveToEndOfBlock", + "MoveToStartOfDocument", + "MoveToEndOfDocument", + "SelectNextChar", + "SelectPreviousChar", + "SelectNextWord", + "SelectPreviousWord", + "SelectNextLine", + "SelectPreviousLine", + "SelectNextPage", + "SelectPreviousPage", + "SelectStartOfLine", + "SelectEndOfLine", + "SelectStartOfBlock", + "SelectEndOfBlock", + "SelectStartOfDocument", + "SelectEndOfDocument", + "DeleteStartOfWord", + "DeleteEndOfWord", + "DeleteEndOfLine", + "InsertParagraphSeparator", + "InsertLineSeparator", + "SaveAs", + "Preferences", + "Quit", + "FullScreen", + "Deselect", + "DeleteCompleteLine", + "Backspace", + "Cancel" + ] + } + } + Component { + file: "private/qquickitemsmodule_p.h" + name: "QPointingDeviceUniqueId" + exports: ["QtQuick/PointingDeviceUniqueId 2.9"] + isCreatable: false + exportMetaObjectRevisions: [9] + Property { name: "numericId"; type: "qlonglong"; isReadonly: true } + } + Component { + name: "QQmlApplication" + prototype: "QObject" + Property { name: "arguments"; type: "QStringList"; isReadonly: true } + Property { name: "name"; type: "string" } + Property { name: "version"; type: "string" } + Property { name: "organization"; type: "string" } + Property { name: "domain"; type: "string" } + Signal { name: "aboutToQuit" } + Method { + name: "setName" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setVersion" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setOrganization" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setDomain" + Parameter { name: "arg"; type: "string" } + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickAbstractAnimation" + prototype: "QObject" + exports: ["QtQuick/Animation 2.0", "QtQuick/Animation 2.12"] + isCreatable: false + exportMetaObjectRevisions: [0, 12] + Enum { + name: "Loops" + values: ["Infinite"] + } + Property { name: "running"; type: "bool" } + Property { name: "paused"; type: "bool" } + Property { name: "alwaysRunToEnd"; type: "bool" } + Property { name: "loops"; type: "int" } + Signal { name: "started" } + Signal { name: "stopped" } + Signal { + name: "runningChanged" + Parameter { type: "bool" } + } + Signal { + name: "pausedChanged" + Parameter { type: "bool" } + } + Signal { + name: "alwaysRunToEndChanged" + Parameter { type: "bool" } + } + Signal { + name: "loopCountChanged" + Parameter { type: "int" } + } + Signal { name: "finished"; revision: 12 } + Method { name: "restart" } + Method { name: "start" } + Method { name: "pause" } + Method { name: "resume" } + Method { name: "stop" } + Method { name: "complete" } + Method { name: "componentFinalized" } + } + Component { + file: "private/qquickaccessibleattached_p.h" + name: "QQuickAccessibleAttached" + prototype: "QObject" + exports: ["QtQuick/Accessible 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickAccessibleAttached" + Property { name: "role"; type: "QAccessible::Role" } + Property { name: "name"; type: "string" } + Property { name: "description"; type: "string" } + Property { name: "ignored"; type: "bool" } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "editable"; type: "bool" } + Property { name: "focusable"; type: "bool" } + Property { name: "focused"; type: "bool" } + Property { name: "multiLine"; type: "bool" } + Property { name: "readOnly"; type: "bool" } + Property { name: "selected"; type: "bool" } + Property { name: "selectable"; type: "bool" } + Property { name: "pressed"; type: "bool" } + Property { name: "checkStateMixed"; type: "bool" } + Property { name: "defaultButton"; type: "bool" } + Property { name: "passwordEdit"; type: "bool" } + Property { name: "selectableText"; type: "bool" } + Property { name: "searchEdit"; type: "bool" } + Signal { + name: "checkableChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "checkedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "editableChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "focusableChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "focusedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "multiLineChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "readOnlyChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "selectedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "selectableChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "pressedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "checkStateMixedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "defaultButtonChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "passwordEditChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "selectableTextChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "searchEditChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { name: "pressAction" } + Signal { name: "toggleAction" } + Signal { name: "increaseAction" } + Signal { name: "decreaseAction" } + Signal { name: "scrollUpAction" } + Signal { name: "scrollDownAction" } + Signal { name: "scrollLeftAction" } + Signal { name: "scrollRightAction" } + Signal { name: "previousPageAction" } + Signal { name: "nextPageAction" } + Method { name: "valueChanged" } + Method { name: "cursorPositionChanged" } + Method { + name: "setIgnored" + Parameter { name: "ignored"; type: "bool" } + } + } + Component { + file: "private/qquickitemanimation_p.h" + name: "QQuickAnchorAnimation" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/AnchorAnimation 2.0", + "QtQuick/AnchorAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "targets"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "duration"; type: "int" } + Property { name: "easing"; type: "QEasingCurve" } + Signal { + name: "durationChanged" + Parameter { type: "int" } + } + Signal { + name: "easingChanged" + Parameter { type: "QEasingCurve" } + } + } + Component { + file: "private/qquickstateoperations_p.h" + name: "QQuickAnchorChanges" + prototype: "QQuickStateOperation" + exports: ["QtQuick/AnchorChanges 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "target"; type: "QQuickItem"; isPointer: true } + Property { name: "anchors"; type: "QQuickAnchorSet"; isReadonly: true; isPointer: true } + } + Component { + file: "private/qquickstateoperations_p.h" + name: "QQuickAnchorSet" + prototype: "QObject" + Property { name: "left"; type: "QQmlScriptString" } + Property { name: "right"; type: "QQmlScriptString" } + Property { name: "horizontalCenter"; type: "QQmlScriptString" } + Property { name: "top"; type: "QQmlScriptString" } + Property { name: "bottom"; type: "QQmlScriptString" } + Property { name: "verticalCenter"; type: "QQmlScriptString" } + Property { name: "baseline"; type: "QQmlScriptString" } + } + Component { + file: "private/qquickanchors_p.h" + name: "QQuickAnchors" + prototype: "QObject" + Enum { + name: "Anchors" + alias: "Anchor" + isFlag: true + values: [ + "InvalidAnchor", + "LeftAnchor", + "RightAnchor", + "TopAnchor", + "BottomAnchor", + "HCenterAnchor", + "VCenterAnchor", + "BaselineAnchor", + "Horizontal_Mask", + "Vertical_Mask" + ] + } + Property { name: "left"; type: "QQuickAnchorLine" } + Property { name: "right"; type: "QQuickAnchorLine" } + Property { name: "horizontalCenter"; type: "QQuickAnchorLine" } + Property { name: "top"; type: "QQuickAnchorLine" } + Property { name: "bottom"; type: "QQuickAnchorLine" } + Property { name: "verticalCenter"; type: "QQuickAnchorLine" } + Property { name: "baseline"; type: "QQuickAnchorLine" } + Property { name: "margins"; type: "double" } + Property { name: "leftMargin"; type: "double" } + Property { name: "rightMargin"; type: "double" } + Property { name: "horizontalCenterOffset"; type: "double" } + Property { name: "topMargin"; type: "double" } + Property { name: "bottomMargin"; type: "double" } + Property { name: "verticalCenterOffset"; type: "double" } + Property { name: "baselineOffset"; type: "double" } + Property { name: "fill"; type: "QQuickItem"; isPointer: true } + Property { name: "centerIn"; type: "QQuickItem"; isPointer: true } + Property { name: "alignWhenCentered"; type: "bool" } + Signal { name: "centerAlignedChanged" } + } + Component { + file: "private/qquickanimatedimage_p.h" + name: "QQuickAnimatedImage" + prototype: "QQuickImage" + exports: [ + "QtQuick/AnimatedImage 2.0", + "QtQuick/AnimatedImage 2.1", + "QtQuick/AnimatedImage 2.11", + "QtQuick/AnimatedImage 2.14", + "QtQuick/AnimatedImage 2.15", + "QtQuick/AnimatedImage 2.3", + "QtQuick/AnimatedImage 2.4", + "QtQuick/AnimatedImage 2.5", + "QtQuick/AnimatedImage 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 14, 15, 3, 4, 5, 7] + Property { name: "playing"; type: "bool" } + Property { name: "paused"; type: "bool" } + Property { name: "currentFrame"; type: "int" } + Property { name: "frameCount"; type: "int"; isReadonly: true } + Property { name: "speed"; revision: 11; type: "double" } + Property { name: "sourceSize"; type: "QSize"; isReadonly: true } + Signal { name: "frameChanged" } + Signal { name: "currentFrameChanged" } + Signal { name: "speedChanged"; revision: 11 } + Method { name: "movieUpdate" } + Method { name: "movieRequestFinished" } + Method { name: "playingStatusChanged" } + Method { name: "onCacheChanged" } + } + Component { + file: "private/qquickanimatedsprite_p.h" + name: "QQuickAnimatedSprite" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/AnimatedSprite 2.0", + "QtQuick/AnimatedSprite 2.1", + "QtQuick/AnimatedSprite 2.11", + "QtQuick/AnimatedSprite 2.12", + "QtQuick/AnimatedSprite 2.15", + "QtQuick/AnimatedSprite 2.4", + "QtQuick/AnimatedSprite 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 12, 15, 4, 7] + Enum { + name: "LoopParameters" + values: ["Infinite"] + } + Enum { + name: "FinishBehavior" + values: ["FinishAtInitialFrame", "FinishAtFinalFrame"] + } + Property { name: "running"; type: "bool" } + Property { name: "interpolate"; type: "bool" } + Property { name: "source"; type: "QUrl" } + Property { name: "reverse"; type: "bool" } + Property { name: "frameSync"; type: "bool" } + Property { name: "frameCount"; type: "int" } + Property { name: "frameHeight"; type: "int" } + Property { name: "frameWidth"; type: "int" } + Property { name: "frameX"; type: "int" } + Property { name: "frameY"; type: "int" } + Property { name: "frameRate"; type: "double" } + Property { name: "frameDuration"; type: "int" } + Property { name: "loops"; type: "int" } + Property { name: "paused"; type: "bool" } + Property { name: "currentFrame"; type: "int" } + Property { name: "finishBehavior"; revision: 15; type: "FinishBehavior" } + Signal { + name: "pausedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "runningChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "interpolateChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "sourceChanged" + Parameter { name: "arg"; type: "QUrl" } + } + Signal { + name: "reverseChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "frameSyncChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "frameCountChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameXChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameYChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameRateChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "frameDurationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "loopsChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "currentFrameChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "finishBehaviorChanged" + revision: 15 + Parameter { name: "arg"; type: "FinishBehavior" } + } + Signal { name: "finished"; revision: 12 } + Method { name: "start" } + Method { name: "stop" } + Method { name: "restart" } + Method { + name: "advance" + Parameter { name: "frames"; type: "int" } + } + Method { name: "advance" } + Method { name: "pause" } + Method { name: "resume" } + Method { + name: "setRunning" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setPaused" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setInterpolate" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setSource" + Parameter { name: "arg"; type: "QUrl" } + } + Method { + name: "setReverse" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setFrameSync" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setFrameCount" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameHeight" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameRate" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setFrameDuration" + Parameter { name: "arg"; type: "int" } + } + Method { name: "resetFrameRate" } + Method { name: "resetFrameDuration" } + Method { + name: "setLoops" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setCurrentFrame" + Parameter { name: "arg"; type: "int" } + } + Method { name: "createEngine" } + Method { name: "reset" } + } + Component { + file: "private/qquickanimationcontroller_p.h" + name: "QQuickAnimationController" + defaultProperty: "animation" + prototype: "QObject" + exports: ["QtQuick/AnimationController 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "progress"; type: "double" } + Property { name: "animation"; type: "QQuickAbstractAnimation"; isPointer: true } + Method { name: "reload" } + Method { name: "completeToBeginning" } + Method { name: "completeToEnd" } + Method { name: "componentFinalized" } + Method { name: "updateProgress" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickAnimationGroup" + defaultProperty: "animations" + prototype: "QQuickAbstractAnimation" + Property { name: "animations"; type: "QQuickAbstractAnimation"; isList: true; isReadonly: true } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickAnimator" + prototype: "QQuickAbstractAnimation" + exports: ["QtQuick/Animator 2.12", "QtQuick/Animator 2.2"] + isCreatable: false + exportMetaObjectRevisions: [12, 2] + Property { name: "target"; type: "QQuickItem"; isPointer: true } + Property { name: "easing"; type: "QEasingCurve" } + Property { name: "duration"; type: "int" } + Property { name: "to"; type: "double" } + Property { name: "from"; type: "double" } + Signal { + name: "targetItemChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "durationChanged" + Parameter { name: "duration"; type: "int" } + } + Signal { + name: "easingChanged" + Parameter { name: "curve"; type: "QEasingCurve" } + } + Signal { + name: "toChanged" + Parameter { name: "to"; type: "double" } + } + Signal { + name: "fromChanged" + Parameter { name: "from"; type: "double" } + } + } + Component { + file: "private/qquickapplication_p.h" + name: "QQuickApplication" + prototype: "QQmlApplication" + exports: ["QtQuick/Application 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "active"; type: "bool"; isReadonly: true } + Property { name: "layoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } + Property { name: "supportsMultipleWindows"; type: "bool"; isReadonly: true } + Property { name: "state"; type: "Qt::ApplicationState"; isReadonly: true } + Property { name: "font"; type: "QFont"; isReadonly: true } + Property { name: "displayName"; type: "string" } + Property { name: "screens"; type: "QQuickScreenInfo"; isList: true; isReadonly: true } + Signal { + name: "stateChanged" + Parameter { name: "state"; type: "Qt::ApplicationState" } + } + Method { name: "updateScreens" } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickBasePositioner" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick/Positioner 2.0", + "QtQuick/Positioner 2.1", + "QtQuick/Positioner 2.11", + "QtQuick/Positioner 2.4", + "QtQuick/Positioner 2.6", + "QtQuick/Positioner 2.7", + "QtQuick/Positioner 2.9" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] + attachedType: "QQuickPositionerAttached" + Property { name: "spacing"; type: "double" } + Property { name: "populate"; type: "QQuickTransition"; isPointer: true } + Property { name: "move"; type: "QQuickTransition"; isPointer: true } + Property { name: "add"; type: "QQuickTransition"; isPointer: true } + Property { name: "padding"; revision: 6; type: "double" } + Property { name: "topPadding"; revision: 6; type: "double" } + Property { name: "leftPadding"; revision: 6; type: "double" } + Property { name: "rightPadding"; revision: 6; type: "double" } + Property { name: "bottomPadding"; revision: 6; type: "double" } + Signal { name: "paddingChanged"; revision: 6 } + Signal { name: "topPaddingChanged"; revision: 6 } + Signal { name: "leftPaddingChanged"; revision: 6 } + Signal { name: "rightPaddingChanged"; revision: 6 } + Signal { name: "bottomPaddingChanged"; revision: 6 } + Signal { name: "positioningComplete"; revision: 9 } + Method { name: "prePositioning" } + Method { name: "forceLayout"; revision: 9 } + } + Component { + file: "private/qquickbehavior_p.h" + name: "QQuickBehavior" + defaultProperty: "animation" + prototype: "QObject" + exports: [ + "QtQuick/Behavior 2.0", + "QtQuick/Behavior 2.13", + "QtQuick/Behavior 2.15" + ] + exportMetaObjectRevisions: [0, 13, 15] + Property { name: "animation"; type: "QQuickAbstractAnimation"; isPointer: true } + Property { name: "enabled"; type: "bool" } + Property { name: "targetValue"; revision: 13; type: "QVariant"; isReadonly: true } + Property { name: "targetProperty"; revision: 15; type: "QQmlProperty"; isReadonly: true } + Method { name: "componentFinalized" } + } + Component { + file: "private/qquickborderimage_p.h" + name: "QQuickBorderImage" + prototype: "QQuickImageBase" + exports: [ + "QtQuick/BorderImage 2.0", + "QtQuick/BorderImage 2.1", + "QtQuick/BorderImage 2.11", + "QtQuick/BorderImage 2.14", + "QtQuick/BorderImage 2.15", + "QtQuick/BorderImage 2.4", + "QtQuick/BorderImage 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 14, 15, 4, 7] + Enum { + name: "TileMode" + values: ["Stretch", "Repeat", "Round"] + } + Property { name: "border"; type: "QQuickScaleGrid"; isReadonly: true; isPointer: true } + Property { name: "horizontalTileMode"; type: "TileMode" } + Property { name: "verticalTileMode"; type: "TileMode" } + Property { name: "sourceSize"; type: "QSize"; isReadonly: true } + Method { name: "doUpdate" } + Method { name: "requestFinished" } + Method { name: "sciRequestFinished" } + } + Component { + file: "private/qquickshadereffectmesh_p.h" + name: "QQuickBorderImageMesh" + prototype: "QQuickShaderEffectMesh" + exports: ["QtQuick/BorderImageMesh 2.8"] + exportMetaObjectRevisions: [8] + Enum { + name: "TileMode" + values: ["Stretch", "Repeat", "Round"] + } + Property { name: "border"; type: "QQuickScaleGrid"; isReadonly: true; isPointer: true } + Property { name: "size"; type: "QSize" } + Property { name: "horizontalTileMode"; type: "TileMode" } + Property { name: "verticalTileMode"; type: "TileMode" } + } + Component { + file: "private/qquickcanvasitem_p.h" + name: "QQuickCanvasItem" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/Canvas 2.0", + "QtQuick/Canvas 2.1", + "QtQuick/Canvas 2.11", + "QtQuick/Canvas 2.4", + "QtQuick/Canvas 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "RenderTarget" + values: ["Image", "FramebufferObject"] + } + Enum { + name: "RenderStrategy" + values: ["Immediate", "Threaded", "Cooperative"] + } + Property { name: "available"; type: "bool"; isReadonly: true } + Property { name: "contextType"; type: "string" } + Property { name: "context"; type: "QJSValue"; isReadonly: true } + Property { name: "canvasSize"; type: "QSizeF" } + Property { name: "tileSize"; type: "QSize" } + Property { name: "canvasWindow"; type: "QRectF" } + Property { name: "renderTarget"; type: "RenderTarget" } + Property { name: "renderStrategy"; type: "RenderStrategy" } + Signal { + name: "paint" + Parameter { name: "region"; type: "QRect" } + } + Signal { name: "painted" } + Signal { name: "imageLoaded" } + Method { + name: "loadImage" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "unloadImage" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "isImageLoaded" + type: "bool" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "isImageLoading" + type: "bool" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "isImageError" + type: "bool" + Parameter { name: "url"; type: "QUrl" } + } + Method { name: "sceneGraphInitialized" } + Method { name: "checkAnimationCallbacks" } + Method { name: "invalidateSceneGraph" } + Method { name: "schedulePolish" } + Method { + name: "getContext" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "requestAnimationFrame" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "cancelRequestAnimationFrame" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { name: "requestPaint" } + Method { + name: "markDirty" + Parameter { name: "dirtyRect"; type: "QRectF" } + } + Method { name: "markDirty" } + Method { + name: "save" + type: "bool" + Parameter { name: "filename"; type: "string" } + } + Method { + name: "toDataURL" + type: "string" + Parameter { name: "type"; type: "string" } + } + Method { name: "toDataURL"; type: "string" } + Method { name: "delayedCreate" } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickCloseEvent" + prototype: "QObject" + Property { name: "accepted"; type: "bool" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickColorAnimation" + prototype: "QQuickPropertyAnimation" + exports: ["QtQuick/ColorAnimation 2.0", "QtQuick/ColorAnimation 2.12"] + exportMetaObjectRevisions: [0, 12] + Property { name: "from"; type: "QColor" } + Property { name: "to"; type: "QColor" } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickColorSpaceValueType" + exports: ["QtQuick/ColorSpace 2.15"] + isCreatable: false + exportMetaObjectRevisions: [15] + Enum { + name: "NamedColorSpace" + values: [ + "Unknown", + "SRgb", + "SRgbLinear", + "AdobeRgb", + "DisplayP3", + "ProPhotoRgb" + ] + } + Enum { + name: "Primaries" + values: ["Custom", "SRgb", "AdobeRgb", "DciP3D65", "ProPhotoRgb"] + } + Enum { + name: "TransferFunction" + values: ["Custom", "Linear", "Gamma", "SRgb", "ProPhotoRgb"] + } + Property { name: "namedColorSpace"; type: "NamedColorSpace" } + Property { name: "primaries"; type: "Primaries" } + Property { name: "transferFunction"; type: "TransferFunction" } + Property { name: "gamma"; type: "float" } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickColumn" + prototype: "QQuickBasePositioner" + exports: [ + "QtQuick/Column 2.0", + "QtQuick/Column 2.1", + "QtQuick/Column 2.11", + "QtQuick/Column 2.4", + "QtQuick/Column 2.6", + "QtQuick/Column 2.7", + "QtQuick/Column 2.9" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickCurve" + prototype: "QQuickPathElement" + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "relativeX"; type: "double" } + Property { name: "relativeY"; type: "double" } + } + Component { + file: "private/qquickvalidator_p.h" + name: "QQuickDoubleValidator" + prototype: "QDoubleValidator" + exports: ["QtQuick/DoubleValidator 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "locale"; type: "string" } + Signal { name: "localeNameChanged" } + } + Component { + file: "private/qquickdrag_p.h" + name: "QQuickDrag" + prototype: "QObject" + exports: ["QtQuick/Drag 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickDragAttached" + Enum { + name: "DragType" + values: ["None", "Automatic", "Internal"] + } + Enum { + name: "Axis" + values: ["XAxis", "YAxis", "XAndYAxis", "XandYAxis"] + } + Property { name: "target"; type: "QQuickItem"; isPointer: true } + Property { name: "axis"; type: "Axis" } + Property { name: "minimumX"; type: "double" } + Property { name: "maximumX"; type: "double" } + Property { name: "minimumY"; type: "double" } + Property { name: "maximumY"; type: "double" } + Property { name: "active"; type: "bool"; isReadonly: true } + Property { name: "filterChildren"; type: "bool" } + Property { name: "smoothed"; type: "bool" } + Property { name: "threshold"; type: "double" } + } + Component { + file: "private/qquickdrag_p.h" + name: "QQuickDragAttached" + prototype: "QObject" + Property { name: "active"; type: "bool" } + Property { name: "source"; type: "QObject"; isPointer: true } + Property { name: "target"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "hotSpot"; type: "QPointF" } + Property { name: "imageSource"; type: "QUrl" } + Property { name: "keys"; type: "QStringList" } + Property { name: "mimeData"; type: "QVariantMap" } + Property { name: "supportedActions"; type: "Qt::DropActions" } + Property { name: "proposedAction"; type: "Qt::DropAction" } + Property { name: "dragType"; type: "QQuickDrag::DragType" } + Signal { name: "dragStarted" } + Signal { + name: "dragFinished" + Parameter { name: "dropAction"; type: "Qt::DropAction" } + } + Method { + name: "start" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "startDrag" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { name: "cancel" } + Method { name: "drop"; type: "int" } + } + Component { + file: "private/qquickdragaxis_p.h" + name: "QQuickDragAxis" + prototype: "QObject" + exports: ["QtQuick/DragAxis 2.12"] + isCreatable: false + exportMetaObjectRevisions: [12] + Property { name: "minimum"; type: "double" } + Property { name: "maximum"; type: "double" } + Property { name: "enabled"; type: "bool" } + } + Component { + file: "private/qquickdraghandler_p.h" + name: "QQuickDragHandler" + prototype: "QQuickMultiPointHandler" + exports: [ + "QtQuick/DragHandler 2.12", + "QtQuick/DragHandler 2.14", + "QtQuick/DragHandler 2.15" + ] + exportMetaObjectRevisions: [12, 14, 15] + Enum { + name: "SnapMode" + values: [ + "NoSnap", + "SnapAuto", + "SnapIfPressedOutsideTarget", + "SnapAlways" + ] + } + Property { name: "xAxis"; type: "QQuickDragAxis"; isReadonly: true; isPointer: true } + Property { name: "yAxis"; type: "QQuickDragAxis"; isReadonly: true; isPointer: true } + Property { name: "translation"; type: "QVector2D"; isReadonly: true } + Property { name: "snapMode"; revision: 14; type: "SnapMode" } + Signal { name: "snapModeChanged"; revision: 14 } + } + Component { + file: "private/qquickdroparea_p.h" + name: "QQuickDropArea" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/DropArea 2.0", + "QtQuick/DropArea 2.1", + "QtQuick/DropArea 2.11", + "QtQuick/DropArea 2.4", + "QtQuick/DropArea 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "containsDrag"; type: "bool"; isReadonly: true } + Property { name: "keys"; type: "QStringList" } + Property { name: "drag"; type: "QQuickDropAreaDrag"; isReadonly: true; isPointer: true } + Signal { name: "sourceChanged" } + Signal { + name: "entered" + Parameter { name: "drag"; type: "QQuickDropEvent"; isPointer: true } + } + Signal { name: "exited" } + Signal { + name: "positionChanged" + Parameter { name: "drag"; type: "QQuickDropEvent"; isPointer: true } + } + Signal { + name: "dropped" + Parameter { name: "drop"; type: "QQuickDropEvent"; isPointer: true } + } + } + Component { + file: "private/qquickdroparea_p.h" + name: "QQuickDropAreaDrag" + prototype: "QObject" + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "source"; type: "QObject"; isReadonly: true; isPointer: true } + Signal { name: "positionChanged" } + } + Component { + file: "private/qquickdroparea_p.h" + name: "QQuickDropEvent" + prototype: "QObject" + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "source"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "keys"; type: "QStringList"; isReadonly: true } + Property { name: "supportedActions"; type: "Qt::DropActions"; isReadonly: true } + Property { name: "proposedAction"; type: "Qt::DropActions"; isReadonly: true } + Property { name: "action"; type: "Qt::DropAction" } + Property { name: "accepted"; type: "bool" } + Property { name: "hasColor"; type: "bool"; isReadonly: true } + Property { name: "hasHtml"; type: "bool"; isReadonly: true } + Property { name: "hasText"; type: "bool"; isReadonly: true } + Property { name: "hasUrls"; type: "bool"; isReadonly: true } + Property { name: "colorData"; type: "QVariant"; isReadonly: true } + Property { name: "html"; type: "string"; isReadonly: true } + Property { name: "text"; type: "string"; isReadonly: true } + Property { name: "urls"; type: "QList"; isReadonly: true } + Property { name: "formats"; type: "QStringList"; isReadonly: true } + Method { + name: "getDataAsString" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "getDataAsArrayBuffer" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "acceptProposedAction" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "accept" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickEnterKeyAttached" + prototype: "QObject" + exports: ["QtQuick/EnterKey 2.6"] + isCreatable: false + exportMetaObjectRevisions: [6] + attachedType: "QQuickEnterKeyAttached" + Property { name: "type"; type: "Qt::EnterKeyType" } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickEventPoint" + prototype: "QObject" + exports: ["QtQuick/EventPoint 2.12"] + isCreatable: false + exportMetaObjectRevisions: [12] + Enum { + name: "States" + alias: "State" + isFlag: true + values: ["Pressed", "Updated", "Stationary", "Released"] + } + Enum { + name: "GrabTransition" + values: [ + "GrabPassive", + "UngrabPassive", + "CancelGrabPassive", + "OverrideGrabPassive", + "GrabExclusive", + "UngrabExclusive", + "CancelGrabExclusive" + ] + } + Property { name: "event"; type: "QQuickPointerEvent"; isReadonly: true; isPointer: true } + Property { name: "position"; type: "QPointF"; isReadonly: true } + Property { name: "scenePosition"; type: "QPointF"; isReadonly: true } + Property { name: "scenePressPosition"; type: "QPointF"; isReadonly: true } + Property { name: "sceneGrabPosition"; type: "QPointF"; isReadonly: true } + Property { name: "state"; type: "State"; isReadonly: true } + Property { name: "pointId"; type: "int"; isReadonly: true } + Property { name: "timeHeld"; type: "double"; isReadonly: true } + Property { name: "velocity"; type: "QVector2D"; isReadonly: true } + Property { name: "accepted"; type: "bool" } + Property { name: "exclusiveGrabber"; type: "QObject"; isPointer: true } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickEventTabletPoint" + prototype: "QQuickEventPoint" + exports: ["QtQuick/EventTabletPoint 2.15"] + isCreatable: false + exportMetaObjectRevisions: [15] + Property { name: "rotation"; type: "double"; isReadonly: true } + Property { name: "pressure"; type: "double"; isReadonly: true } + Property { name: "tangentialPressure"; type: "double"; isReadonly: true } + Property { name: "tilt"; type: "QVector2D"; isReadonly: true } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickEventTouchPoint" + prototype: "QQuickEventPoint" + exports: ["QtQuick/EventTouchPoint 2.12"] + isCreatable: false + exportMetaObjectRevisions: [12] + Property { name: "rotation"; type: "double"; isReadonly: true } + Property { name: "pressure"; type: "double"; isReadonly: true } + Property { name: "ellipseDiameters"; type: "QSizeF"; isReadonly: true } + Property { name: "uniqueId"; type: "QPointingDeviceUniqueId"; isReadonly: true } + } + Component { + file: "private/qquickflickable_p.h" + name: "QQuickFlickable" + defaultProperty: "flickableData" + prototype: "QQuickItem" + exports: [ + "QtQuick/Flickable 2.0", + "QtQuick/Flickable 2.1", + "QtQuick/Flickable 2.10", + "QtQuick/Flickable 2.11", + "QtQuick/Flickable 2.12", + "QtQuick/Flickable 2.4", + "QtQuick/Flickable 2.7", + "QtQuick/Flickable 2.9" + ] + exportMetaObjectRevisions: [0, 1, 10, 11, 12, 4, 7, 9] + Enum { + name: "BoundsBehavior" + alias: "BoundsBehaviorFlag" + isFlag: true + values: [ + "StopAtBounds", + "DragOverBounds", + "OvershootBounds", + "DragAndOvershootBounds" + ] + } + Enum { + name: "BoundsMovement" + values: ["FollowBoundsBehavior"] + } + Enum { + name: "FlickableDirection" + values: [ + "AutoFlickDirection", + "HorizontalFlick", + "VerticalFlick", + "HorizontalAndVerticalFlick", + "AutoFlickIfNeeded" + ] + } + Property { name: "contentWidth"; type: "double" } + Property { name: "contentHeight"; type: "double" } + Property { name: "contentX"; type: "double" } + Property { name: "contentY"; type: "double" } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "topMargin"; type: "double" } + Property { name: "bottomMargin"; type: "double" } + Property { name: "originY"; type: "double"; isReadonly: true } + Property { name: "leftMargin"; type: "double" } + Property { name: "rightMargin"; type: "double" } + Property { name: "originX"; type: "double"; isReadonly: true } + Property { name: "horizontalVelocity"; type: "double"; isReadonly: true } + Property { name: "verticalVelocity"; type: "double"; isReadonly: true } + Property { name: "boundsBehavior"; type: "BoundsBehavior" } + Property { name: "boundsMovement"; revision: 10; type: "BoundsMovement" } + Property { name: "rebound"; type: "QQuickTransition"; isPointer: true } + Property { name: "maximumFlickVelocity"; type: "double" } + Property { name: "flickDeceleration"; type: "double" } + Property { name: "moving"; type: "bool"; isReadonly: true } + Property { name: "movingHorizontally"; type: "bool"; isReadonly: true } + Property { name: "movingVertically"; type: "bool"; isReadonly: true } + Property { name: "flicking"; type: "bool"; isReadonly: true } + Property { name: "flickingHorizontally"; type: "bool"; isReadonly: true } + Property { name: "flickingVertically"; type: "bool"; isReadonly: true } + Property { name: "dragging"; type: "bool"; isReadonly: true } + Property { name: "draggingHorizontally"; type: "bool"; isReadonly: true } + Property { name: "draggingVertically"; type: "bool"; isReadonly: true } + Property { name: "flickableDirection"; type: "FlickableDirection" } + Property { name: "interactive"; type: "bool" } + Property { name: "pressDelay"; type: "int" } + Property { name: "atXEnd"; type: "bool"; isReadonly: true } + Property { name: "atYEnd"; type: "bool"; isReadonly: true } + Property { name: "atXBeginning"; type: "bool"; isReadonly: true } + Property { name: "atYBeginning"; type: "bool"; isReadonly: true } + Property { + name: "visibleArea" + type: "QQuickFlickableVisibleArea" + isReadonly: true + isPointer: true + } + Property { name: "pixelAligned"; type: "bool" } + Property { name: "synchronousDrag"; revision: 12; type: "bool" } + Property { name: "horizontalOvershoot"; revision: 9; type: "double"; isReadonly: true } + Property { name: "verticalOvershoot"; revision: 9; type: "double"; isReadonly: true } + Property { name: "flickableData"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "flickableChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Signal { name: "isAtBoundaryChanged" } + Signal { name: "boundsMovementChanged"; revision: 10 } + Signal { name: "movementStarted" } + Signal { name: "movementEnded" } + Signal { name: "flickStarted" } + Signal { name: "flickEnded" } + Signal { name: "dragStarted" } + Signal { name: "dragEnded" } + Signal { name: "synchronousDragChanged"; revision: 12 } + Signal { name: "horizontalOvershootChanged"; revision: 9 } + Signal { name: "verticalOvershootChanged"; revision: 9 } + Method { name: "movementStarting" } + Method { name: "movementEnding" } + Method { + name: "movementEnding" + Parameter { name: "hMovementEnding"; type: "bool" } + Parameter { name: "vMovementEnding"; type: "bool" } + } + Method { name: "velocityTimelineCompleted" } + Method { name: "timelineCompleted" } + Method { + name: "resizeContent" + Parameter { name: "w"; type: "double" } + Parameter { name: "h"; type: "double" } + Parameter { name: "center"; type: "QPointF" } + } + Method { name: "returnToBounds" } + Method { + name: "flick" + Parameter { name: "xVelocity"; type: "double" } + Parameter { name: "yVelocity"; type: "double" } + } + Method { name: "cancelFlick" } + } + Component { + file: "private/qquickflickable_p_p.h" + name: "QQuickFlickableVisibleArea" + prototype: "QObject" + Property { name: "xPosition"; type: "double"; isReadonly: true } + Property { name: "yPosition"; type: "double"; isReadonly: true } + Property { name: "widthRatio"; type: "double"; isReadonly: true } + Property { name: "heightRatio"; type: "double"; isReadonly: true } + Signal { + name: "xPositionChanged" + Parameter { name: "xPosition"; type: "double" } + } + Signal { + name: "yPositionChanged" + Parameter { name: "yPosition"; type: "double" } + } + Signal { + name: "widthRatioChanged" + Parameter { name: "widthRatio"; type: "double" } + } + Signal { + name: "heightRatioChanged" + Parameter { name: "heightRatio"; type: "double" } + } + } + Component { + file: "private/qquickflipable_p.h" + name: "QQuickFlipable" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/Flipable 2.0", + "QtQuick/Flipable 2.1", + "QtQuick/Flipable 2.11", + "QtQuick/Flipable 2.4", + "QtQuick/Flipable 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "Side" + values: ["Front", "Back"] + } + Property { name: "front"; type: "QQuickItem"; isPointer: true } + Property { name: "back"; type: "QQuickItem"; isPointer: true } + Property { name: "side"; type: "Side"; isReadonly: true } + Method { name: "retransformBack" } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickFlow" + prototype: "QQuickBasePositioner" + exports: [ + "QtQuick/Flow 2.0", + "QtQuick/Flow 2.1", + "QtQuick/Flow 2.11", + "QtQuick/Flow 2.4", + "QtQuick/Flow 2.6", + "QtQuick/Flow 2.7", + "QtQuick/Flow 2.9" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] + Enum { + name: "Flow" + values: ["LeftToRight", "TopToBottom"] + } + Property { name: "flow"; type: "Flow" } + Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } + Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } + } + Component { + file: "private/qquickfocusscope_p.h" + name: "QQuickFocusScope" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/FocusScope 2.0", + "QtQuick/FocusScope 2.1", + "QtQuick/FocusScope 2.11", + "QtQuick/FocusScope 2.4", + "QtQuick/FocusScope 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + } + Component { + file: "private/qquickfontloader_p.h" + name: "QQuickFontLoader" + prototype: "QObject" + exports: ["QtQuick/FontLoader 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Property { name: "source"; type: "QUrl" } + Property { name: "name"; type: "string" } + Property { name: "status"; type: "Status"; isReadonly: true } + Method { + name: "updateFontInfo" + Parameter { type: "string" } + Parameter { type: "QQuickFontLoader::Status" } + } + } + Component { + file: "private/qquickfontmetrics_p.h" + name: "QQuickFontMetrics" + prototype: "QObject" + exports: ["QtQuick/FontMetrics 2.4"] + exportMetaObjectRevisions: [4] + Property { name: "font"; type: "QFont" } + Property { name: "ascent"; type: "double"; isReadonly: true } + Property { name: "descent"; type: "double"; isReadonly: true } + Property { name: "height"; type: "double"; isReadonly: true } + Property { name: "leading"; type: "double"; isReadonly: true } + Property { name: "lineSpacing"; type: "double"; isReadonly: true } + Property { name: "minimumLeftBearing"; type: "double"; isReadonly: true } + Property { name: "minimumRightBearing"; type: "double"; isReadonly: true } + Property { name: "maximumCharacterWidth"; type: "double"; isReadonly: true } + Property { name: "xHeight"; type: "double"; isReadonly: true } + Property { name: "averageCharacterWidth"; type: "double"; isReadonly: true } + Property { name: "underlinePosition"; type: "double"; isReadonly: true } + Property { name: "overlinePosition"; type: "double"; isReadonly: true } + Property { name: "strikeOutPosition"; type: "double"; isReadonly: true } + Property { name: "lineWidth"; type: "double"; isReadonly: true } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Method { + name: "advanceWidth" + type: "double" + Parameter { name: "text"; type: "string" } + } + Method { + name: "boundingRect" + type: "QRectF" + Parameter { name: "text"; type: "string" } + } + Method { + name: "tightBoundingRect" + type: "QRectF" + Parameter { name: "text"; type: "string" } + } + Method { + name: "elidedText" + type: "string" + Parameter { name: "text"; type: "string" } + Parameter { name: "mode"; type: "Qt::TextElideMode" } + Parameter { name: "width"; type: "double" } + Parameter { name: "flags"; type: "int" } + } + Method { + name: "elidedText" + type: "string" + Parameter { name: "text"; type: "string" } + Parameter { name: "mode"; type: "Qt::TextElideMode" } + Parameter { name: "width"; type: "double" } + } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickFontValueType" + exports: ["QtQuick/Font 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "FontWeight" + values: [ + "Thin", + "ExtraLight", + "Light", + "Normal", + "Medium", + "DemiBold", + "Bold", + "ExtraBold", + "Black" + ] + } + Enum { + name: "Capitalization" + values: [ + "MixedCase", + "AllUppercase", + "AllLowercase", + "SmallCaps", + "Capitalize" + ] + } + Enum { + name: "HintingPreference" + values: [ + "PreferDefaultHinting", + "PreferNoHinting", + "PreferVerticalHinting", + "PreferFullHinting" + ] + } + Property { name: "family"; type: "string" } + Property { name: "styleName"; type: "string" } + Property { name: "bold"; type: "bool" } + Property { name: "weight"; type: "FontWeight" } + Property { name: "italic"; type: "bool" } + Property { name: "underline"; type: "bool" } + Property { name: "overline"; type: "bool" } + Property { name: "strikeout"; type: "bool" } + Property { name: "pointSize"; type: "double" } + Property { name: "pixelSize"; type: "int" } + Property { name: "capitalization"; type: "Capitalization" } + Property { name: "letterSpacing"; type: "double" } + Property { name: "wordSpacing"; type: "double" } + Property { name: "hintingPreference"; type: "HintingPreference" } + Property { name: "kerning"; type: "bool" } + Property { name: "preferShaping"; type: "bool" } + Method { name: "toString"; type: "string" } + } + Component { + file: "private/qquickmultipointtoucharea_p.h" + name: "QQuickGrabGestureEvent" + prototype: "QObject" + exports: ["QtQuick/GestureEvent 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "touchPoints"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "dragThreshold"; type: "double"; isReadonly: true } + Method { name: "grab" } + } + Component { + file: "private/qquickrectangle_p.h" + name: "QQuickGradient" + defaultProperty: "stops" + prototype: "QObject" + exports: ["QtQuick/Gradient 2.0", "QtQuick/Gradient 2.12"] + exportMetaObjectRevisions: [0, 12] + Enum { + name: "Orientation" + values: ["Vertical", "Horizontal"] + } + Property { name: "stops"; type: "QQuickGradientStop"; isList: true; isReadonly: true } + Property { name: "orientation"; revision: 12; type: "Orientation" } + Signal { name: "updated" } + } + Component { + file: "private/qquickrectangle_p.h" + name: "QQuickGradientStop" + prototype: "QObject" + exports: ["QtQuick/GradientStop 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "position"; type: "double" } + Property { name: "color"; type: "QColor" } + } + Component { + file: "private/qquickgraphicsinfo_p.h" + name: "QQuickGraphicsInfo" + prototype: "QObject" + exports: ["QtQuick/GraphicsInfo 2.8"] + isCreatable: false + exportMetaObjectRevisions: [8] + attachedType: "QQuickGraphicsInfo" + Enum { + name: "GraphicsApi" + values: [ + "Unknown", + "Software", + "OpenGL", + "Direct3D12", + "OpenVG", + "OpenGLRhi", + "Direct3D11Rhi", + "VulkanRhi", + "MetalRhi", + "NullRhi" + ] + } + Enum { + name: "ShaderType" + values: ["UnknownShadingLanguage", "GLSL", "HLSL", "RhiShader"] + } + Enum { + name: "ShaderCompilationType" + values: ["RuntimeCompilation", "OfflineCompilation"] + } + Enum { + name: "ShaderSourceType" + values: [ + "ShaderSourceString", + "ShaderSourceFile", + "ShaderByteCode" + ] + } + Enum { + name: "OpenGLContextProfile" + values: [ + "OpenGLNoProfile", + "OpenGLCoreProfile", + "OpenGLCompatibilityProfile" + ] + } + Enum { + name: "RenderableType" + values: [ + "SurfaceFormatUnspecified", + "SurfaceFormatOpenGL", + "SurfaceFormatOpenGLES" + ] + } + Property { name: "api"; type: "GraphicsApi"; isReadonly: true } + Property { name: "shaderType"; type: "ShaderType"; isReadonly: true } + Property { name: "shaderCompilationType"; type: "ShaderCompilationType"; isReadonly: true } + Property { name: "shaderSourceType"; type: "ShaderSourceType"; isReadonly: true } + Property { name: "majorVersion"; type: "int"; isReadonly: true } + Property { name: "minorVersion"; type: "int"; isReadonly: true } + Property { name: "profile"; type: "OpenGLContextProfile"; isReadonly: true } + Property { name: "renderableType"; type: "RenderableType"; isReadonly: true } + Method { name: "updateInfo" } + Method { + name: "setWindow" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickGrid" + prototype: "QQuickBasePositioner" + exports: [ + "QtQuick/Grid 2.0", + "QtQuick/Grid 2.1", + "QtQuick/Grid 2.11", + "QtQuick/Grid 2.4", + "QtQuick/Grid 2.6", + "QtQuick/Grid 2.7", + "QtQuick/Grid 2.9" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] + Enum { + name: "Flow" + values: ["LeftToRight", "TopToBottom"] + } + Enum { + name: "HAlignment" + values: ["AlignLeft", "AlignRight", "AlignHCenter"] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Property { name: "rows"; type: "int" } + Property { name: "columns"; type: "int" } + Property { name: "rowSpacing"; type: "double" } + Property { name: "columnSpacing"; type: "double" } + Property { name: "flow"; type: "Flow" } + Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } + Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } + Property { name: "horizontalItemAlignment"; revision: 1; type: "HAlignment" } + Property { + name: "effectiveHorizontalItemAlignment" + revision: 1 + type: "HAlignment" + isReadonly: true + } + Property { name: "verticalItemAlignment"; revision: 1; type: "VAlignment" } + Signal { + name: "horizontalAlignmentChanged" + revision: 1 + Parameter { name: "alignment"; type: "HAlignment" } + } + Signal { + name: "effectiveHorizontalAlignmentChanged" + revision: 1 + Parameter { name: "alignment"; type: "HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + revision: 1 + Parameter { name: "alignment"; type: "VAlignment" } + } + } + Component { + file: "private/qquickshadereffectmesh_p.h" + name: "QQuickGridMesh" + prototype: "QQuickShaderEffectMesh" + exports: ["QtQuick/GridMesh 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "resolution"; type: "QSize" } + } + Component { + file: "private/qquickgridview_p.h" + name: "QQuickGridView" + defaultProperty: "data" + prototype: "QQuickItemView" + exports: [ + "QtQuick/GridView 2.0", + "QtQuick/GridView 2.1", + "QtQuick/GridView 2.10", + "QtQuick/GridView 2.11", + "QtQuick/GridView 2.12", + "QtQuick/GridView 2.13", + "QtQuick/GridView 2.15", + "QtQuick/GridView 2.3", + "QtQuick/GridView 2.4", + "QtQuick/GridView 2.7", + "QtQuick/GridView 2.9" + ] + exportMetaObjectRevisions: [0, 1, 10, 11, 12, 13, 15, 3, 4, 7, 9] + attachedType: "QQuickGridViewAttached" + Enum { + name: "Flow" + values: ["FlowLeftToRight", "FlowTopToBottom"] + } + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapToRow", "SnapOneRow"] + } + Property { name: "flow"; type: "Flow" } + Property { name: "cellWidth"; type: "double" } + Property { name: "cellHeight"; type: "double" } + Property { name: "snapMode"; type: "SnapMode" } + Signal { name: "highlightMoveDurationChanged" } + Method { name: "moveCurrentIndexUp" } + Method { name: "moveCurrentIndexDown" } + Method { name: "moveCurrentIndexLeft" } + Method { name: "moveCurrentIndexRight" } + } + Component { name: "QQuickGridViewAttached"; prototype: "QQuickItemViewAttached" } + Component { + file: "private/qquickhoverhandler_p.h" + name: "QQuickHoverHandler" + prototype: "QQuickSinglePointHandler" + exports: ["QtQuick/HoverHandler 2.12", "QtQuick/HoverHandler 2.15"] + exportMetaObjectRevisions: [12, 15] + Property { name: "hovered"; type: "bool"; isReadonly: true } + } + Component { + file: "private/qquickimage_p.h" + name: "QQuickImage" + prototype: "QQuickImageBase" + exports: [ + "QtQuick/Image 2.0", + "QtQuick/Image 2.1", + "QtQuick/Image 2.11", + "QtQuick/Image 2.14", + "QtQuick/Image 2.15", + "QtQuick/Image 2.3", + "QtQuick/Image 2.4", + "QtQuick/Image 2.5", + "QtQuick/Image 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 14, 15, 3, 4, 5, 7] + Enum { + name: "HAlignment" + values: ["AlignLeft", "AlignRight", "AlignHCenter"] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "FillMode" + values: [ + "Stretch", + "PreserveAspectFit", + "PreserveAspectCrop", + "Tile", + "TileVertically", + "TileHorizontally", + "Pad" + ] + } + Property { name: "fillMode"; type: "FillMode" } + Property { name: "paintedWidth"; type: "double"; isReadonly: true } + Property { name: "paintedHeight"; type: "double"; isReadonly: true } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "mipmap"; revision: 3; type: "bool" } + Property { name: "autoTransform"; revision: 5; type: "bool" } + Property { name: "sourceClipRect"; revision: 15; type: "QRectF" } + Signal { name: "paintedGeometryChanged" } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "VAlignment" } + } + Signal { + name: "mipmapChanged" + revision: 3 + Parameter { type: "bool" } + } + Signal { name: "autoTransformChanged"; revision: 5 } + Method { name: "invalidateSceneGraph" } + } + Component { + file: "private/qquickimagebase_p.h" + name: "QQuickImageBase" + prototype: "QQuickImplicitSizeItem" + exports: ["QtQuick/ImageBase 2.14", "QtQuick/ImageBase 2.15"] + isCreatable: false + exportMetaObjectRevisions: [14, 15] + Enum { + name: "LoadPixmapOptions" + alias: "LoadPixmapOption" + isFlag: true + values: ["NoOption", "HandleDPR", "UseProviderOptions"] + } + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "source"; type: "QUrl" } + Property { name: "progress"; type: "double"; isReadonly: true } + Property { name: "asynchronous"; type: "bool" } + Property { name: "cache"; type: "bool" } + Property { name: "sourceSize"; type: "QSize" } + Property { name: "mirror"; type: "bool" } + Property { name: "currentFrame"; revision: 14; type: "int" } + Property { name: "frameCount"; revision: 14; type: "int"; isReadonly: true } + Property { name: "colorSpace"; revision: 15; type: "QColorSpace" } + Signal { + name: "sourceChanged" + Parameter { type: "QUrl" } + } + Signal { + name: "statusChanged" + Parameter { type: "QQuickImageBase::Status" } + } + Signal { + name: "progressChanged" + Parameter { name: "progress"; type: "double" } + } + Signal { name: "currentFrameChanged"; revision: 14 } + Signal { name: "frameCountChanged"; revision: 14 } + Signal { name: "sourceClipRectChanged"; revision: 15 } + Signal { name: "colorSpaceChanged"; revision: 15 } + Method { name: "requestFinished" } + Method { + name: "requestProgress" + Parameter { type: "qlonglong" } + Parameter { type: "qlonglong" } + } + } + Component { + file: "qquickitem.h" + name: "QQuickImplicitSizeItem" + defaultProperty: "data" + prototype: "QQuickItem" + Property { name: "implicitWidth"; type: "double"; isReadonly: true } + Property { name: "implicitHeight"; type: "double"; isReadonly: true } + } + Component { + file: "private/qquickvalidator_p.h" + name: "QQuickIntValidator" + prototype: "QIntValidator" + exports: ["QtQuick/IntValidator 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "locale"; type: "string" } + Signal { name: "localeNameChanged" } + } + Component { + file: "qquickitem.h" + name: "QQuickItem" + defaultProperty: "data" + prototype: "QObject" + exports: [ + "QtQuick/Item 2.0", + "QtQuick/Item 2.1", + "QtQuick/Item 2.11", + "QtQuick/Item 2.4", + "QtQuick/Item 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "Flags" + alias: "Flag" + isFlag: true + values: [ + "ItemClipsChildrenToShape", + "ItemAcceptsInputMethod", + "ItemIsFocusScope", + "ItemHasContents", + "ItemAcceptsDrops" + ] + } + Enum { + name: "TransformOrigin" + values: [ + "TopLeft", + "Top", + "TopRight", + "Left", + "Center", + "Right", + "BottomLeft", + "Bottom", + "BottomRight" + ] + } + Property { name: "parent"; type: "QQuickItem"; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "z"; type: "double" } + Property { name: "width"; type: "double" } + Property { name: "height"; type: "double" } + Property { name: "opacity"; type: "double" } + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } + Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } + Property { name: "state"; type: "string" } + Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } + Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } + Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baselineOffset"; type: "double" } + Property { name: "clip"; type: "bool" } + Property { name: "focus"; type: "bool" } + Property { name: "activeFocus"; type: "bool"; isReadonly: true } + Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } + Property { name: "rotation"; type: "double" } + Property { name: "scale"; type: "double" } + Property { name: "transformOrigin"; type: "TransformOrigin" } + Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } + Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } + Property { name: "smooth"; type: "bool" } + Property { name: "antialiasing"; type: "bool" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } + Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } + Signal { + name: "childrenRectChanged" + Parameter { type: "QRectF" } + } + Signal { + name: "baselineOffsetChanged" + Parameter { type: "double" } + } + Signal { + name: "stateChanged" + Parameter { type: "string" } + } + Signal { + name: "focusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusOnTabChanged" + revision: 1 + Parameter { type: "bool" } + } + Signal { + name: "parentChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "transformOriginChanged" + Parameter { type: "TransformOrigin" } + } + Signal { + name: "smoothChanged" + Parameter { type: "bool" } + } + Signal { + name: "antialiasingChanged" + Parameter { type: "bool" } + } + Signal { + name: "clipChanged" + Parameter { type: "bool" } + } + Signal { + name: "windowChanged" + revision: 1 + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "containmentMaskChanged"; revision: 11 } + Method { name: "update" } + Method { + name: "_q_resourceObjectDeleted" + Parameter { type: "QObject"; isPointer: true } + } + Method { + name: "_q_createJSWrapper" + type: "qulonglong" + Parameter { type: "QV4::ExecutionEngine"; isPointer: true } + } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "targetSize"; type: "QSize" } + } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "contains" + type: "bool" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapFromItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapFromGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { name: "forceActiveFocus" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { + name: "nextItemInFocusChain" + revision: 1 + type: "QQuickItem*" + Parameter { name: "forward"; type: "bool" } + } + Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } + Method { + name: "childAt" + type: "QQuickItem*" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + file: "qquickitemgrabresult.h" + name: "QQuickItemGrabResult" + prototype: "QObject" + Property { name: "image"; type: "QImage"; isReadonly: true } + Property { name: "url"; type: "QUrl"; isReadonly: true } + Signal { name: "ready" } + Method { name: "setup" } + Method { name: "render" } + Method { + name: "saveToFile" + type: "bool" + Parameter { name: "fileName"; type: "string" } + } + Method { + name: "saveToFile" + type: "bool" + Parameter { name: "fileName"; type: "string" } + } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickItemLayer" + prototype: "QObject" + Property { name: "enabled"; type: "bool" } + Property { name: "textureSize"; type: "QSize" } + Property { name: "sourceRect"; type: "QRectF" } + Property { name: "mipmap"; type: "bool" } + Property { name: "smooth"; type: "bool" } + Property { name: "wrapMode"; type: "QQuickShaderEffectSource::WrapMode" } + Property { name: "format"; type: "QQuickShaderEffectSource::Format" } + Property { name: "samplerName"; type: "QByteArray" } + Property { name: "effect"; type: "QQmlComponent"; isPointer: true } + Property { name: "textureMirroring"; type: "QQuickShaderEffectSource::TextureMirroring" } + Property { name: "samples"; type: "int" } + Signal { + name: "enabledChanged" + Parameter { name: "enabled"; type: "bool" } + } + Signal { + name: "sizeChanged" + Parameter { name: "size"; type: "QSize" } + } + Signal { + name: "mipmapChanged" + Parameter { name: "mipmap"; type: "bool" } + } + Signal { + name: "wrapModeChanged" + Parameter { name: "mode"; type: "QQuickShaderEffectSource::WrapMode" } + } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "QByteArray" } + } + Signal { + name: "effectChanged" + Parameter { name: "component"; type: "QQmlComponent"; isPointer: true } + } + Signal { + name: "smoothChanged" + Parameter { name: "smooth"; type: "bool" } + } + Signal { + name: "formatChanged" + Parameter { name: "format"; type: "QQuickShaderEffectSource::Format" } + } + Signal { + name: "sourceRectChanged" + Parameter { name: "sourceRect"; type: "QRectF" } + } + Signal { + name: "textureMirroringChanged" + Parameter { name: "mirroring"; type: "QQuickShaderEffectSource::TextureMirroring" } + } + Signal { + name: "samplesChanged" + Parameter { name: "count"; type: "int" } + } + } + Component { + file: "private/qquickitemview_p.h" + name: "QQuickItemView" + defaultProperty: "flickableData" + prototype: "QQuickFlickable" + exports: [ + "QtQuick/ItemView 2.1", + "QtQuick/ItemView 2.10", + "QtQuick/ItemView 2.11", + "QtQuick/ItemView 2.12", + "QtQuick/ItemView 2.13", + "QtQuick/ItemView 2.15", + "QtQuick/ItemView 2.3", + "QtQuick/ItemView 2.4", + "QtQuick/ItemView 2.7", + "QtQuick/ItemView 2.9" + ] + isCreatable: false + exportMetaObjectRevisions: [1, 10, 11, 12, 13, 15, 3, 4, 7, 9] + Enum { + name: "LayoutDirection" + values: [ + "LeftToRight", + "RightToLeft", + "VerticalTopToBottom", + "VerticalBottomToTop" + ] + } + Enum { + name: "VerticalLayoutDirection" + values: ["TopToBottom", "BottomToTop"] + } + Enum { + name: "HighlightRangeMode" + values: ["NoHighlightRange", "ApplyRange", "StrictlyEnforceRange"] + } + Enum { + name: "PositionMode" + values: [ + "Beginning", + "Center", + "End", + "Visible", + "Contain", + "SnapPosition" + ] + } + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "currentIndex"; type: "int" } + Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "keyNavigationWraps"; type: "bool" } + Property { name: "keyNavigationEnabled"; revision: 7; type: "bool" } + Property { name: "cacheBuffer"; type: "int" } + Property { name: "displayMarginBeginning"; revision: 3; type: "int" } + Property { name: "displayMarginEnd"; revision: 3; type: "int" } + Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } + Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } + Property { name: "verticalLayoutDirection"; type: "VerticalLayoutDirection" } + Property { name: "header"; type: "QQmlComponent"; isPointer: true } + Property { name: "headerItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "footer"; type: "QQmlComponent"; isPointer: true } + Property { name: "footerItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "populate"; type: "QQuickTransition"; isPointer: true } + Property { name: "add"; type: "QQuickTransition"; isPointer: true } + Property { name: "addDisplaced"; type: "QQuickTransition"; isPointer: true } + Property { name: "move"; type: "QQuickTransition"; isPointer: true } + Property { name: "moveDisplaced"; type: "QQuickTransition"; isPointer: true } + Property { name: "remove"; type: "QQuickTransition"; isPointer: true } + Property { name: "removeDisplaced"; type: "QQuickTransition"; isPointer: true } + Property { name: "displaced"; type: "QQuickTransition"; isPointer: true } + Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } + Property { name: "highlightItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "highlightFollowsCurrentItem"; type: "bool" } + Property { name: "highlightRangeMode"; type: "HighlightRangeMode" } + Property { name: "preferredHighlightBegin"; type: "double" } + Property { name: "preferredHighlightEnd"; type: "double" } + Property { name: "highlightMoveDuration"; type: "int" } + Property { name: "reuseItems"; revision: 15; type: "bool" } + Signal { name: "keyNavigationEnabledChanged"; revision: 7 } + Signal { name: "populateTransitionChanged" } + Signal { name: "addTransitionChanged" } + Signal { name: "addDisplacedTransitionChanged" } + Signal { name: "moveTransitionChanged" } + Signal { name: "moveDisplacedTransitionChanged" } + Signal { name: "removeTransitionChanged" } + Signal { name: "removeDisplacedTransitionChanged" } + Signal { name: "displacedTransitionChanged" } + Signal { name: "reuseItemsChanged"; revision: 15 } + Method { name: "destroyRemoved" } + Method { + name: "createdItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "initItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "modelUpdated" + Parameter { name: "changeSet"; type: "QQmlChangeSet" } + Parameter { name: "reset"; type: "bool" } + } + Method { + name: "destroyingItem" + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "onItemPooled" + revision: 15 + Parameter { name: "modelIndex"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "onItemReused" + revision: 15 + Parameter { name: "modelIndex"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { name: "animStopped" } + Method { name: "trackedPositionChanged" } + Method { + name: "positionViewAtIndex" + Parameter { name: "index"; type: "int" } + Parameter { name: "mode"; type: "int" } + } + Method { + name: "indexAt" + type: "int" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "itemAt" + type: "QQuickItem*" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "itemAtIndex" + revision: 13 + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + Method { name: "positionViewAtBeginning" } + Method { name: "positionViewAtEnd" } + Method { name: "forceLayout"; revision: 1 } + } + Component { + name: "QQuickItemViewAttached" + prototype: "QObject" + Property { name: "view"; type: "QQuickItemView"; isReadonly: true; isPointer: true } + Property { name: "isCurrentItem"; type: "bool"; isReadonly: true } + Property { name: "delayRemove"; type: "bool" } + Property { name: "section"; type: "string"; isReadonly: true } + Property { name: "previousSection"; type: "string"; isReadonly: true } + Property { name: "nextSection"; type: "string"; isReadonly: true } + Signal { name: "currentItemChanged" } + Signal { name: "add" } + Signal { name: "remove" } + Signal { name: "prevSectionChanged" } + Signal { name: "pooled" } + Signal { name: "reused" } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickKeyEvent" + prototype: "QObject" + Property { name: "key"; type: "int"; isReadonly: true } + Property { name: "text"; type: "string"; isReadonly: true } + Property { name: "modifiers"; type: "int"; isReadonly: true } + Property { name: "isAutoRepeat"; type: "bool"; isReadonly: true } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "nativeScanCode"; type: "uint"; isReadonly: true } + Property { name: "accepted"; type: "bool" } + Method { + name: "matches" + revision: 2 + type: "bool" + Parameter { name: "key"; type: "QKeySequence::StandardKey" } + } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickKeyNavigationAttached" + prototype: "QObject" + exports: ["QtQuick/KeyNavigation 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickKeyNavigationAttached" + Enum { + name: "Priority" + values: ["BeforeItem", "AfterItem"] + } + Property { name: "left"; type: "QQuickItem"; isPointer: true } + Property { name: "right"; type: "QQuickItem"; isPointer: true } + Property { name: "up"; type: "QQuickItem"; isPointer: true } + Property { name: "down"; type: "QQuickItem"; isPointer: true } + Property { name: "tab"; type: "QQuickItem"; isPointer: true } + Property { name: "backtab"; type: "QQuickItem"; isPointer: true } + Property { name: "priority"; type: "Priority" } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickKeysAttached" + prototype: "QObject" + exports: ["QtQuick/Keys 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickKeysAttached" + Enum { + name: "Priority" + values: ["BeforeItem", "AfterItem"] + } + Property { name: "enabled"; type: "bool" } + Property { name: "forwardTo"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "priority"; type: "Priority" } + Signal { + name: "pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "released" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "shortcutOverride" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit0Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit1Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit2Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit3Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit4Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit5Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit6Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit7Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit8Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit9Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "leftPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "rightPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "upPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "downPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "tabPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "backtabPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "asteriskPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "numberSignPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "escapePressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "returnPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "enterPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "deletePressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "spacePressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "backPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "cancelPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "selectPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "yesPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "noPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "context1Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "context2Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "context3Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "context4Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "callPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "hangupPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "flipPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "menuPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "volumeUpPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "volumeDownPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickLayoutMirroringAttached" + prototype: "QObject" + exports: ["QtQuick/LayoutMirroring 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickLayoutMirroringAttached" + Property { name: "enabled"; type: "bool" } + Property { name: "childrenInherit"; type: "bool" } + } + Component { + file: "private/qquicklistview_p.h" + name: "QQuickListView" + defaultProperty: "data" + prototype: "QQuickItemView" + exports: [ + "QtQuick/ListView 2.0", + "QtQuick/ListView 2.1", + "QtQuick/ListView 2.10", + "QtQuick/ListView 2.11", + "QtQuick/ListView 2.12", + "QtQuick/ListView 2.13", + "QtQuick/ListView 2.15", + "QtQuick/ListView 2.3", + "QtQuick/ListView 2.4", + "QtQuick/ListView 2.7", + "QtQuick/ListView 2.9" + ] + exportMetaObjectRevisions: [0, 1, 10, 11, 12, 13, 15, 3, 4, 7, 9] + attachedType: "QQuickListViewAttached" + Enum { + name: "Orientation" + values: ["Horizontal", "Vertical"] + } + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapToItem", "SnapOneItem"] + } + Enum { + name: "HeaderPositioning" + values: ["InlineHeader", "OverlayHeader", "PullBackHeader"] + } + Enum { + name: "FooterPositioning" + values: ["InlineFooter", "OverlayFooter", "PullBackFooter"] + } + Property { name: "highlightMoveVelocity"; type: "double" } + Property { name: "highlightResizeVelocity"; type: "double" } + Property { name: "highlightResizeDuration"; type: "int" } + Property { name: "spacing"; type: "double" } + Property { name: "orientation"; type: "Orientation" } + Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } + Property { name: "currentSection"; type: "string"; isReadonly: true } + Property { name: "snapMode"; type: "SnapMode" } + Property { name: "headerPositioning"; revision: 4; type: "HeaderPositioning" } + Property { name: "footerPositioning"; revision: 4; type: "FooterPositioning" } + Signal { name: "headerPositioningChanged"; revision: 4 } + Signal { name: "footerPositioningChanged"; revision: 4 } + Method { name: "incrementCurrentIndex" } + Method { name: "decrementCurrentIndex" } + } + Component { name: "QQuickListViewAttached"; prototype: "QQuickItemViewAttached" } + Component { + file: "private/qquickloader_p.h" + name: "QQuickLoader" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick/Loader 2.0", + "QtQuick/Loader 2.1", + "QtQuick/Loader 2.11", + "QtQuick/Loader 2.4", + "QtQuick/Loader 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Property { name: "active"; type: "bool" } + Property { name: "source"; type: "QUrl" } + Property { name: "sourceComponent"; type: "QQmlComponent"; isPointer: true } + Property { name: "item"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "progress"; type: "double"; isReadonly: true } + Property { name: "asynchronous"; type: "bool" } + Signal { name: "loaded" } + Method { name: "_q_sourceLoaded" } + Method { name: "_q_updateSize" } + Method { + name: "setSource" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + } + Component { + file: "private/qquicktranslate_p.h" + name: "QQuickMatrix4x4" + prototype: "QQuickTransform" + exports: ["QtQuick/Matrix4x4 2.3"] + exportMetaObjectRevisions: [3] + Property { name: "matrix"; type: "QMatrix4x4" } + } + Component { + file: "private/qquickmousearea_p.h" + name: "QQuickMouseArea" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/MouseArea 2.0", + "QtQuick/MouseArea 2.1", + "QtQuick/MouseArea 2.11", + "QtQuick/MouseArea 2.4", + "QtQuick/MouseArea 2.5", + "QtQuick/MouseArea 2.7", + "QtQuick/MouseArea 2.9" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 5, 7, 9] + Property { name: "mouseX"; type: "double"; isReadonly: true } + Property { name: "mouseY"; type: "double"; isReadonly: true } + Property { name: "containsMouse"; type: "bool"; isReadonly: true } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "enabled"; type: "bool" } + Property { name: "scrollGestureEnabled"; revision: 5; type: "bool" } + Property { name: "pressedButtons"; type: "Qt::MouseButtons"; isReadonly: true } + Property { name: "acceptedButtons"; type: "Qt::MouseButtons" } + Property { name: "hoverEnabled"; type: "bool" } + Property { name: "drag"; type: "QQuickDrag"; isReadonly: true; isPointer: true } + Property { name: "preventStealing"; type: "bool" } + Property { name: "propagateComposedEvents"; type: "bool" } + Property { name: "cursorShape"; type: "Qt::CursorShape" } + Property { name: "containsPress"; revision: 4; type: "bool"; isReadonly: true } + Property { name: "pressAndHoldInterval"; revision: 9; type: "int" } + Signal { name: "hoveredChanged" } + Signal { name: "scrollGestureEnabledChanged"; revision: 5 } + Signal { + name: "positionChanged" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "mouseXChanged" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "mouseYChanged" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "pressed" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "pressAndHold" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "released" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "clicked" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "doubleClicked" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "wheel" + Parameter { name: "wheel"; type: "QQuickWheelEvent"; isPointer: true } + } + Signal { name: "entered" } + Signal { name: "exited" } + Signal { name: "canceled" } + Signal { name: "containsPressChanged"; revision: 4 } + Signal { name: "pressAndHoldIntervalChanged"; revision: 9 } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickMouseEvent" + prototype: "QObject" + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "button"; type: "int"; isReadonly: true } + Property { name: "buttons"; type: "int"; isReadonly: true } + Property { name: "modifiers"; type: "int"; isReadonly: true } + Property { name: "source"; revision: 7; type: "int"; isReadonly: true } + Property { name: "wasHeld"; type: "bool"; isReadonly: true } + Property { name: "isClick"; type: "bool"; isReadonly: true } + Property { name: "accepted"; type: "bool" } + Property { name: "flags"; revision: 11; type: "int"; isReadonly: true } + } + Component { + file: "private/qquickpointerhandler_p.h" + name: "QQuickMultiPointHandler" + prototype: "QQuickPointerDeviceHandler" + Property { name: "minimumPointCount"; type: "int" } + Property { name: "maximumPointCount"; type: "int" } + Property { name: "centroid"; type: "QQuickHandlerPoint"; isReadonly: true } + } + Component { + file: "private/qquickmultipointtoucharea_p.h" + name: "QQuickMultiPointTouchArea" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/MultiPointTouchArea 2.0", + "QtQuick/MultiPointTouchArea 2.1", + "QtQuick/MultiPointTouchArea 2.11", + "QtQuick/MultiPointTouchArea 2.4", + "QtQuick/MultiPointTouchArea 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "touchPoints"; type: "QQuickTouchPoint"; isList: true; isReadonly: true } + Property { name: "minimumTouchPoints"; type: "int" } + Property { name: "maximumTouchPoints"; type: "int" } + Property { name: "mouseEnabled"; type: "bool" } + Signal { + name: "pressed" + Parameter { name: "touchPoints"; type: "QList" } + } + Signal { + name: "updated" + Parameter { name: "touchPoints"; type: "QList" } + } + Signal { + name: "released" + Parameter { name: "touchPoints"; type: "QList" } + } + Signal { + name: "canceled" + Parameter { name: "touchPoints"; type: "QList" } + } + Signal { + name: "gestureStarted" + Parameter { name: "gesture"; type: "QQuickGrabGestureEvent"; isPointer: true } + } + Signal { + name: "touchUpdated" + Parameter { name: "touchPoints"; type: "QList" } + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickNumberAnimation" + prototype: "QQuickPropertyAnimation" + exports: [ + "QtQuick/NumberAnimation 2.0", + "QtQuick/NumberAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "from"; type: "double" } + Property { name: "to"; type: "double" } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickOpacityAnimator" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/OpacityAnimator 2.12", + "QtQuick/OpacityAnimator 2.2" + ] + exportMetaObjectRevisions: [12, 2] + } + Component { + file: "private/qquickopenglinfo_p.h" + name: "QQuickOpenGLInfo" + prototype: "QObject" + exports: ["QtQuick/OpenGLInfo 2.4"] + isCreatable: false + exportMetaObjectRevisions: [4] + attachedType: "QQuickOpenGLInfo" + Enum { + name: "ContextProfile" + values: ["NoProfile", "CoreProfile", "CompatibilityProfile"] + } + Enum { + name: "RenderableType" + values: ["Unspecified", "OpenGL", "OpenGLES"] + } + Property { name: "majorVersion"; type: "int"; isReadonly: true } + Property { name: "minorVersion"; type: "int"; isReadonly: true } + Property { name: "profile"; type: "ContextProfile"; isReadonly: true } + Property { name: "renderableType"; type: "RenderableType"; isReadonly: true } + Method { name: "updateFormat" } + Method { + name: "setWindow" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + } + Component { + file: "qquickpainteditem.h" + name: "QQuickPaintedItem" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/PaintedItem 2.0", + "QtQuick/PaintedItem 2.1", + "QtQuick/PaintedItem 2.11", + "QtQuick/PaintedItem 2.4", + "QtQuick/PaintedItem 2.7" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "RenderTarget" + values: [ + "Image", + "FramebufferObject", + "InvertedYFramebufferObject" + ] + } + Enum { + name: "PerformanceHints" + alias: "PerformanceHint" + isFlag: true + values: ["FastFBOResizing"] + } + Property { name: "contentsSize"; type: "QSize" } + Property { name: "fillColor"; type: "QColor" } + Property { name: "contentsScale"; type: "double" } + Property { name: "renderTarget"; type: "RenderTarget" } + Property { name: "textureSize"; type: "QSize" } + Method { name: "invalidateSceneGraph" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickParallelAnimation" + defaultProperty: "animations" + prototype: "QQuickAnimationGroup" + exports: [ + "QtQuick/ParallelAnimation 2.0", + "QtQuick/ParallelAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + } + Component { + file: "private/qquickitemanimation_p.h" + name: "QQuickParentAnimation" + defaultProperty: "animations" + prototype: "QQuickAnimationGroup" + exports: [ + "QtQuick/ParentAnimation 2.0", + "QtQuick/ParentAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "target"; type: "QQuickItem"; isPointer: true } + Property { name: "newParent"; type: "QQuickItem"; isPointer: true } + Property { name: "via"; type: "QQuickItem"; isPointer: true } + } + Component { + file: "private/qquickstateoperations_p.h" + name: "QQuickParentChange" + prototype: "QQuickStateOperation" + exports: ["QtQuick/ParentChange 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "target"; type: "QQuickItem"; isPointer: true } + Property { name: "parent"; type: "QQuickItem"; isPointer: true } + Property { name: "x"; type: "QQmlScriptString" } + Property { name: "y"; type: "QQmlScriptString" } + Property { name: "width"; type: "QQmlScriptString" } + Property { name: "height"; type: "QQmlScriptString" } + Property { name: "scale"; type: "QQmlScriptString" } + Property { name: "rotation"; type: "QQmlScriptString" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPath" + defaultProperty: "pathElements" + prototype: "QObject" + exports: ["QtQuick/Path 2.0", "QtQuick/Path 2.14"] + exportMetaObjectRevisions: [0, 14] + Property { name: "pathElements"; type: "QQuickPathElement"; isList: true; isReadonly: true } + Property { name: "startX"; type: "double" } + Property { name: "startY"; type: "double" } + Property { name: "closed"; type: "bool"; isReadonly: true } + Property { name: "scale"; revision: 14; type: "QSizeF" } + Signal { name: "changed" } + Signal { name: "scaleChanged"; revision: 14 } + Method { name: "processPath" } + Method { + name: "pointAtPercent" + revision: 14 + type: "QPointF" + Parameter { name: "t"; type: "double" } + } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathAngleArc" + prototype: "QQuickCurve" + exports: ["QtQuick/PathAngleArc 2.11"] + exportMetaObjectRevisions: [11] + Property { name: "centerX"; type: "double" } + Property { name: "centerY"; type: "double" } + Property { name: "radiusX"; type: "double" } + Property { name: "radiusY"; type: "double" } + Property { name: "startAngle"; type: "double" } + Property { name: "sweepAngle"; type: "double" } + Property { name: "moveToStart"; type: "bool" } + } + Component { + file: "private/qquickitemanimation_p.h" + name: "QQuickPathAnimation" + prototype: "QQuickAbstractAnimation" + exports: ["QtQuick/PathAnimation 2.0", "QtQuick/PathAnimation 2.12"] + exportMetaObjectRevisions: [0, 12] + Enum { + name: "Orientation" + values: [ + "Fixed", + "RightFirst", + "LeftFirst", + "BottomFirst", + "TopFirst" + ] + } + Property { name: "duration"; type: "int" } + Property { name: "easing"; type: "QEasingCurve" } + Property { name: "path"; type: "QQuickPath"; isPointer: true } + Property { name: "target"; type: "QQuickItem"; isPointer: true } + Property { name: "orientation"; type: "Orientation" } + Property { name: "anchorPoint"; type: "QPointF" } + Property { name: "orientationEntryDuration"; type: "int" } + Property { name: "orientationExitDuration"; type: "int" } + Property { name: "endRotation"; type: "double" } + Signal { + name: "durationChanged" + Parameter { type: "int" } + } + Signal { + name: "easingChanged" + Parameter { type: "QEasingCurve" } + } + Signal { + name: "orientationChanged" + Parameter { type: "Orientation" } + } + Signal { + name: "anchorPointChanged" + Parameter { type: "QPointF" } + } + Signal { + name: "orientationEntryDurationChanged" + Parameter { type: "double" } + } + Signal { + name: "orientationExitDurationChanged" + Parameter { type: "double" } + } + Signal { + name: "endRotationChanged" + Parameter { type: "double" } + } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathArc" + prototype: "QQuickCurve" + exports: ["QtQuick/PathArc 2.0", "QtQuick/PathArc 2.9"] + exportMetaObjectRevisions: [0, 9] + Enum { + name: "ArcDirection" + values: ["Clockwise", "Counterclockwise"] + } + Property { name: "radiusX"; type: "double" } + Property { name: "radiusY"; type: "double" } + Property { name: "useLargeArc"; type: "bool" } + Property { name: "direction"; type: "ArcDirection" } + Property { name: "xAxisRotation"; revision: 9; type: "double" } + Signal { name: "xAxisRotationChanged"; revision: 9 } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathAttribute" + prototype: "QQuickPathElement" + exports: ["QtQuick/PathAttribute 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "name"; type: "string" } + Property { name: "value"; type: "double" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathCatmullRomCurve" + prototype: "QQuickCurve" + exports: ["QtQuick/PathCurve 2.0"] + exportMetaObjectRevisions: [0] + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathCubic" + prototype: "QQuickCurve" + exports: ["QtQuick/PathCubic 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "control1X"; type: "double" } + Property { name: "control1Y"; type: "double" } + Property { name: "control2X"; type: "double" } + Property { name: "control2Y"; type: "double" } + Property { name: "relativeControl1X"; type: "double" } + Property { name: "relativeControl1Y"; type: "double" } + Property { name: "relativeControl2X"; type: "double" } + Property { name: "relativeControl2Y"; type: "double" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathElement" + prototype: "QObject" + Signal { name: "changed" } + } + Component { + file: "private/qquickpathinterpolator_p.h" + name: "QQuickPathInterpolator" + prototype: "QObject" + exports: ["QtQuick/PathInterpolator 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "path"; type: "QQuickPath"; isPointer: true } + Property { name: "progress"; type: "double" } + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "angle"; type: "double"; isReadonly: true } + Method { name: "_q_pathUpdated" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathLine" + prototype: "QQuickCurve" + exports: ["QtQuick/PathLine 2.0"] + exportMetaObjectRevisions: [0] + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathMove" + prototype: "QQuickCurve" + exports: ["QtQuick/PathMove 2.9"] + exportMetaObjectRevisions: [9] + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathMultiline" + prototype: "QQuickCurve" + exports: ["QtQuick/PathMultiline 2.14"] + exportMetaObjectRevisions: [14] + Property { name: "start"; type: "QPointF"; isReadonly: true } + Property { name: "paths"; type: "QVariant" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathPercent" + prototype: "QQuickPathElement" + exports: ["QtQuick/PathPercent 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "value"; type: "double" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathPolyline" + prototype: "QQuickCurve" + exports: ["QtQuick/PathPolyline 2.14"] + exportMetaObjectRevisions: [14] + Property { name: "start"; type: "QPointF"; isReadonly: true } + Property { name: "path"; type: "QVariant" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathQuad" + prototype: "QQuickCurve" + exports: ["QtQuick/PathQuad 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "controlX"; type: "double" } + Property { name: "controlY"; type: "double" } + Property { name: "relativeControlX"; type: "double" } + Property { name: "relativeControlY"; type: "double" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathSvg" + prototype: "QQuickCurve" + exports: ["QtQuick/PathSvg 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "path"; type: "string" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathText" + prototype: "QQuickPathElement" + exports: ["QtQuick/PathText 2.15"] + exportMetaObjectRevisions: [15] + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "width"; type: "double"; isReadonly: true } + Property { name: "height"; type: "double"; isReadonly: true } + Property { name: "text"; type: "string" } + Property { name: "font"; type: "QFont" } + Method { name: "invalidate" } + } + Component { + file: "private/qquickpathview_p.h" + name: "QQuickPathView" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/PathView 2.0", + "QtQuick/PathView 2.1", + "QtQuick/PathView 2.11", + "QtQuick/PathView 2.13", + "QtQuick/PathView 2.4", + "QtQuick/PathView 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 13, 4, 7] + attachedType: "QQuickPathViewAttached" + Enum { + name: "HighlightRangeMode" + values: ["NoHighlightRange", "ApplyRange", "StrictlyEnforceRange"] + } + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapToItem", "SnapOneItem"] + } + Enum { + name: "MovementDirection" + values: ["Shortest", "Negative", "Positive"] + } + Enum { + name: "PositionMode" + values: ["Beginning", "Center", "End", "Contain", "SnapPosition"] + } + Property { name: "model"; type: "QVariant" } + Property { name: "path"; type: "QQuickPath"; isPointer: true } + Property { name: "currentIndex"; type: "int" } + Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "offset"; type: "double" } + Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } + Property { name: "highlightItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "preferredHighlightBegin"; type: "double" } + Property { name: "preferredHighlightEnd"; type: "double" } + Property { name: "highlightRangeMode"; type: "HighlightRangeMode" } + Property { name: "highlightMoveDuration"; type: "int" } + Property { name: "dragMargin"; type: "double" } + Property { name: "maximumFlickVelocity"; type: "double" } + Property { name: "flickDeceleration"; type: "double" } + Property { name: "interactive"; type: "bool" } + Property { name: "moving"; type: "bool"; isReadonly: true } + Property { name: "flicking"; type: "bool"; isReadonly: true } + Property { name: "dragging"; type: "bool"; isReadonly: true } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "pathItemCount"; type: "int" } + Property { name: "snapMode"; type: "SnapMode" } + Property { name: "movementDirection"; revision: 7; type: "MovementDirection" } + Property { name: "cacheItemCount"; type: "int" } + Signal { name: "snapPositionChanged" } + Signal { name: "movementStarted" } + Signal { name: "movementEnded" } + Signal { name: "movementDirectionChanged"; revision: 7 } + Signal { name: "flickStarted" } + Signal { name: "flickEnded" } + Signal { name: "dragStarted" } + Signal { name: "dragEnded" } + Method { name: "incrementCurrentIndex" } + Method { name: "decrementCurrentIndex" } + Method { name: "refill" } + Method { name: "ticked" } + Method { name: "movementEnding" } + Method { + name: "modelUpdated" + Parameter { name: "changeSet"; type: "QQmlChangeSet" } + Parameter { name: "reset"; type: "bool" } + } + Method { + name: "createdItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "initItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "destroyingItem" + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { name: "pathUpdated" } + Method { + name: "positionViewAtIndex" + Parameter { name: "index"; type: "int" } + Parameter { name: "mode"; type: "int" } + } + Method { + name: "indexAt" + type: "int" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "itemAt" + type: "QQuickItem*" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "itemAtIndex" + revision: 13 + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + } + Component { + name: "QQuickPathViewAttached" + prototype: "QObject" + Property { name: "view"; type: "QQuickPathView"; isReadonly: true; isPointer: true } + Property { name: "isCurrentItem"; type: "bool"; isReadonly: true } + Property { name: "onPath"; type: "bool"; isReadonly: true } + Signal { name: "currentItemChanged" } + Signal { name: "pathChanged" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickPauseAnimation" + prototype: "QQuickAbstractAnimation" + exports: ["QtQuick/PauseAnimation 2.0", "QtQuick/PauseAnimation 2.12"] + exportMetaObjectRevisions: [0, 12] + Property { name: "duration"; type: "int" } + Signal { + name: "durationChanged" + Parameter { type: "int" } + } + } + Component { + file: "private/qquickrectangle_p.h" + name: "QQuickPen" + prototype: "QObject" + Property { name: "width"; type: "double" } + Property { name: "color"; type: "QColor" } + Property { name: "pixelAligned"; type: "bool" } + Signal { name: "penChanged" } + } + Component { + file: "private/qquickpincharea_p.h" + name: "QQuickPinch" + prototype: "QObject" + exports: ["QtQuick/Pinch 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Axis" + values: ["NoDrag", "XAxis", "YAxis", "XAndYAxis", "XandYAxis"] + } + Property { name: "target"; type: "QQuickItem"; isPointer: true } + Property { name: "minimumScale"; type: "double" } + Property { name: "maximumScale"; type: "double" } + Property { name: "minimumRotation"; type: "double" } + Property { name: "maximumRotation"; type: "double" } + Property { name: "dragAxis"; type: "Axis" } + Property { name: "minimumX"; type: "double" } + Property { name: "maximumX"; type: "double" } + Property { name: "minimumY"; type: "double" } + Property { name: "maximumY"; type: "double" } + Property { name: "active"; type: "bool"; isReadonly: true } + } + Component { + file: "private/qquickpincharea_p.h" + name: "QQuickPinchArea" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/PinchArea 2.0", + "QtQuick/PinchArea 2.1", + "QtQuick/PinchArea 2.11", + "QtQuick/PinchArea 2.4", + "QtQuick/PinchArea 2.5", + "QtQuick/PinchArea 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 5, 7] + Property { name: "enabled"; type: "bool" } + Property { name: "pinch"; type: "QQuickPinch"; isReadonly: true; isPointer: true } + Signal { + name: "pinchStarted" + Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } + } + Signal { + name: "pinchUpdated" + Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } + } + Signal { + name: "pinchFinished" + Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } + } + Signal { + name: "smartZoom" + revision: 5 + Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } + } + } + Component { + file: "private/qquickpincharea_p.h" + name: "QQuickPinchEvent" + prototype: "QObject" + Property { name: "center"; type: "QPointF"; isReadonly: true } + Property { name: "startCenter"; type: "QPointF"; isReadonly: true } + Property { name: "previousCenter"; type: "QPointF"; isReadonly: true } + Property { name: "scale"; type: "double"; isReadonly: true } + Property { name: "previousScale"; type: "double"; isReadonly: true } + Property { name: "angle"; type: "double"; isReadonly: true } + Property { name: "previousAngle"; type: "double"; isReadonly: true } + Property { name: "rotation"; type: "double"; isReadonly: true } + Property { name: "point1"; type: "QPointF"; isReadonly: true } + Property { name: "startPoint1"; type: "QPointF"; isReadonly: true } + Property { name: "point2"; type: "QPointF"; isReadonly: true } + Property { name: "startPoint2"; type: "QPointF"; isReadonly: true } + Property { name: "pointCount"; type: "int"; isReadonly: true } + Property { name: "accepted"; type: "bool" } + } + Component { + file: "private/qquickpinchhandler_p.h" + name: "QQuickPinchHandler" + prototype: "QQuickMultiPointHandler" + exports: ["QtQuick/PinchHandler 2.12", "QtQuick/PinchHandler 2.15"] + exportMetaObjectRevisions: [12, 15] + Property { name: "minimumScale"; type: "double" } + Property { name: "maximumScale"; type: "double" } + Property { name: "minimumRotation"; type: "double" } + Property { name: "maximumRotation"; type: "double" } + Property { name: "scale"; type: "double"; isReadonly: true } + Property { name: "activeScale"; type: "double"; isReadonly: true } + Property { name: "rotation"; type: "double"; isReadonly: true } + Property { name: "translation"; type: "QVector2D"; isReadonly: true } + Property { name: "minimumX"; type: "double" } + Property { name: "maximumX"; type: "double" } + Property { name: "minimumY"; type: "double" } + Property { name: "maximumY"; type: "double" } + Property { name: "xAxis"; type: "QQuickDragAxis"; isReadonly: true; isPointer: true } + Property { name: "yAxis"; type: "QQuickDragAxis"; isReadonly: true; isPointer: true } + Signal { name: "updated" } + } + Component { + file: "private/qquickpointhandler_p.h" + name: "QQuickPointHandler" + prototype: "QQuickSinglePointHandler" + exports: ["QtQuick/PointHandler 2.12", "QtQuick/PointHandler 2.15"] + exportMetaObjectRevisions: [12, 15] + Property { name: "translation"; type: "QVector2D"; isReadonly: true } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickPointerDevice" + prototype: "QObject" + exports: ["QtQuick/PointerDevice 2.12"] + isCreatable: false + exportMetaObjectRevisions: [12] + Enum { + name: "DeviceTypes" + alias: "DeviceType" + isFlag: true + values: [ + "UnknownDevice", + "Mouse", + "TouchScreen", + "TouchPad", + "Puck", + "Stylus", + "Airbrush", + "AllDevices" + ] + } + Enum { + name: "PointerTypes" + alias: "PointerType" + isFlag: true + values: [ + "GenericPointer", + "Finger", + "Pen", + "Eraser", + "Cursor", + "AllPointerTypes" + ] + } + Enum { + name: "Capabilities" + alias: "CapabilityFlag" + isFlag: true + values: [ + "Position", + "Area", + "Pressure", + "Velocity", + "MouseEmulation", + "Scroll", + "Hover", + "Rotation", + "XTilt", + "YTilt" + ] + } + Property { name: "type"; type: "DeviceType"; isReadonly: true } + Property { name: "pointerType"; type: "PointerType"; isReadonly: true } + Property { name: "capabilities"; type: "Capabilities"; isReadonly: true } + Property { name: "maximumTouchPoints"; type: "int"; isReadonly: true } + Property { name: "buttonCount"; type: "int"; isReadonly: true } + Property { name: "name"; type: "string"; isReadonly: true } + Property { name: "uniqueId"; type: "QPointingDeviceUniqueId"; isReadonly: true } + } + Component { + file: "private/qquickpointerhandler_p.h" + name: "QQuickPointerDeviceHandler" + prototype: "QQuickPointerHandler" + Property { name: "acceptedDevices"; type: "QQuickPointerDevice::DeviceTypes" } + Property { name: "acceptedPointerTypes"; type: "QQuickPointerDevice::PointerTypes" } + Property { name: "acceptedButtons"; type: "Qt::MouseButtons" } + Property { name: "acceptedModifiers"; type: "Qt::KeyboardModifiers" } + Method { + name: "setAcceptedDevices" + Parameter { name: "acceptedDevices"; type: "QQuickPointerDevice::DeviceTypes" } + } + Method { + name: "setAcceptedPointerTypes" + Parameter { name: "acceptedPointerTypes"; type: "QQuickPointerDevice::PointerTypes" } + } + Method { + name: "setAcceptedButtons" + Parameter { name: "buttons"; type: "Qt::MouseButtons" } + } + Method { + name: "setAcceptedModifiers" + Parameter { name: "acceptedModifiers"; type: "Qt::KeyboardModifiers" } + } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickPointerEvent" + prototype: "QObject" + exports: ["QtQuick/PointerEvent 2.12"] + isCreatable: false + exportMetaObjectRevisions: [12] + Property { name: "device"; type: "QQuickPointerDevice"; isReadonly: true; isPointer: true } + Property { name: "modifiers"; type: "Qt::KeyboardModifiers"; isReadonly: true } + Property { name: "button"; type: "Qt::MouseButtons"; isReadonly: true } + Property { name: "buttons"; type: "Qt::MouseButtons"; isReadonly: true } + } + Component { + file: "private/qquickpointerhandler_p.h" + name: "QQuickPointerHandler" + prototype: "QObject" + exports: [ + "QtQuick/PointerHandler 2.12", + "QtQuick/PointerHandler 2.15" + ] + isCreatable: false + exportMetaObjectRevisions: [12, 15] + Enum { + name: "GrabPermissions" + alias: "GrabPermission" + isFlag: true + values: [ + "TakeOverForbidden", + "CanTakeOverFromHandlersOfSameType", + "CanTakeOverFromHandlersOfDifferentType", + "CanTakeOverFromItems", + "CanTakeOverFromAnything", + "ApprovesTakeOverByHandlersOfSameType", + "ApprovesTakeOverByHandlersOfDifferentType", + "ApprovesTakeOverByItems", + "ApprovesCancellation", + "ApprovesTakeOverByAnything" + ] + } + Property { name: "enabled"; type: "bool" } + Property { name: "active"; type: "bool"; isReadonly: true } + Property { name: "target"; type: "QQuickItem"; isPointer: true } + Property { name: "parent"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "grabPermissions"; type: "GrabPermissions" } + Property { name: "margin"; type: "double" } + Property { name: "dragThreshold"; revision: 15; type: "int" } + Property { name: "cursorShape"; revision: 15; type: "Qt::CursorShape" } + Signal { name: "dragThresholdChanged"; revision: 15 } + Signal { + name: "grabChanged" + Parameter { name: "transition"; type: "QQuickEventPoint::GrabTransition" } + Parameter { name: "point"; type: "QQuickEventPoint"; isPointer: true } + } + Signal { name: "grabPermissionChanged" } + Signal { + name: "canceled" + Parameter { name: "point"; type: "QQuickEventPoint"; isPointer: true } + } + Signal { name: "cursorShapeChanged"; revision: 15 } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickPointerMouseEvent" + prototype: "QQuickSinglePointEvent" + exports: ["QtQuick/PointerMouseEvent 2.12"] + isCreatable: false + exportMetaObjectRevisions: [12] + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickPointerScrollEvent" + prototype: "QQuickSinglePointEvent" + exports: ["QtQuick/PointerScrollEvent 2.14"] + isCreatable: false + exportMetaObjectRevisions: [14] + Property { name: "angleDelta"; type: "QVector2D"; isReadonly: true } + Property { name: "pixelDelta"; type: "QVector2D"; isReadonly: true } + Property { name: "hasAngleDelta"; type: "bool"; isReadonly: true } + Property { name: "hasPixelDelta"; type: "bool"; isReadonly: true } + Property { name: "inverted"; type: "bool"; isReadonly: true } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickPointerTouchEvent" + prototype: "QQuickPointerEvent" + exports: ["QtQuick/PointerTouchEvent 2.12"] + isCreatable: false + exportMetaObjectRevisions: [12] + } + Component { + name: "QQuickPositionerAttached" + prototype: "QObject" + Property { name: "index"; type: "int"; isReadonly: true } + Property { name: "isFirstItem"; type: "bool"; isReadonly: true } + Property { name: "isLastItem"; type: "bool"; isReadonly: true } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickPropertyAction" + prototype: "QQuickAbstractAnimation" + exports: ["QtQuick/PropertyAction 2.0", "QtQuick/PropertyAction 2.12"] + exportMetaObjectRevisions: [0, 12] + Property { name: "target"; type: "QObject"; isPointer: true } + Property { name: "property"; type: "string" } + Property { name: "properties"; type: "string" } + Property { name: "targets"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "exclude"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "value"; type: "QVariant" } + Signal { + name: "valueChanged" + Parameter { type: "QVariant" } + } + Signal { + name: "propertiesChanged" + Parameter { type: "string" } + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickPropertyAnimation" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/PropertyAnimation 2.0", + "QtQuick/PropertyAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "duration"; type: "int" } + Property { name: "from"; type: "QVariant" } + Property { name: "to"; type: "QVariant" } + Property { name: "easing"; type: "QEasingCurve" } + Property { name: "target"; type: "QObject"; isPointer: true } + Property { name: "property"; type: "string" } + Property { name: "properties"; type: "string" } + Property { name: "targets"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "exclude"; type: "QObject"; isList: true; isReadonly: true } + Signal { + name: "durationChanged" + Parameter { type: "int" } + } + Signal { + name: "easingChanged" + Parameter { type: "QEasingCurve" } + } + Signal { + name: "propertiesChanged" + Parameter { type: "string" } + } + } + Component { + file: "private/qquickpropertychanges_p.h" + name: "QQuickPropertyChanges" + prototype: "QQuickStateOperation" + exports: ["QtQuick/PropertyChanges 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "target"; type: "QObject"; isPointer: true } + Property { name: "restoreEntryValues"; type: "bool" } + Property { name: "explicit"; type: "bool" } + } + Component { + file: "private/qquickrectangle_p.h" + name: "QQuickRectangle" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/Rectangle 2.0", + "QtQuick/Rectangle 2.1", + "QtQuick/Rectangle 2.11", + "QtQuick/Rectangle 2.4", + "QtQuick/Rectangle 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "color"; type: "QColor" } + Property { name: "gradient"; type: "QJSValue" } + Property { name: "border"; type: "QQuickPen"; isReadonly: true; isPointer: true } + Property { name: "radius"; type: "double" } + Method { name: "doUpdate" } + } + Component { + file: "private/qquickrepeater_p.h" + name: "QQuickRepeater" + defaultProperty: "delegate" + prototype: "QQuickItem" + exports: [ + "QtQuick/Repeater 2.0", + "QtQuick/Repeater 2.1", + "QtQuick/Repeater 2.11", + "QtQuick/Repeater 2.4", + "QtQuick/Repeater 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "count"; type: "int"; isReadonly: true } + Signal { + name: "itemAdded" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Signal { + name: "itemRemoved" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "createdItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "initItem" + Parameter { type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "modelUpdated" + Parameter { name: "changeSet"; type: "QQmlChangeSet" } + Parameter { name: "reset"; type: "bool" } + } + Method { + name: "itemAt" + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qquicktranslate_p.h" + name: "QQuickRotation" + prototype: "QQuickTransform" + exports: ["QtQuick/Rotation 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "origin"; type: "QVector3D" } + Property { name: "angle"; type: "double" } + Property { name: "axis"; type: "QVector3D" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickRotationAnimation" + prototype: "QQuickPropertyAnimation" + exports: [ + "QtQuick/RotationAnimation 2.0", + "QtQuick/RotationAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + Enum { + name: "RotationDirection" + values: ["Numerical", "Shortest", "Clockwise", "Counterclockwise"] + } + Property { name: "from"; type: "double" } + Property { name: "to"; type: "double" } + Property { name: "direction"; type: "RotationDirection" } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickRotationAnimator" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/RotationAnimator 2.12", + "QtQuick/RotationAnimator 2.2" + ] + exportMetaObjectRevisions: [12, 2] + Enum { + name: "RotationDirection" + values: ["Numerical", "Shortest", "Clockwise", "Counterclockwise"] + } + Property { name: "direction"; type: "RotationDirection" } + Signal { + name: "directionChanged" + Parameter { name: "dir"; type: "RotationDirection" } + } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickRow" + prototype: "QQuickBasePositioner" + exports: [ + "QtQuick/Row 2.0", + "QtQuick/Row 2.1", + "QtQuick/Row 2.11", + "QtQuick/Row 2.4", + "QtQuick/Row 2.6", + "QtQuick/Row 2.7", + "QtQuick/Row 2.9" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] + Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } + Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } + } + Component { + file: "private/qquicktranslate_p.h" + name: "QQuickScale" + prototype: "QQuickTransform" + exports: ["QtQuick/Scale 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "origin"; type: "QVector3D" } + Property { name: "xScale"; type: "double" } + Property { name: "yScale"; type: "double" } + Property { name: "zScale"; type: "double" } + Signal { name: "scaleChanged" } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickScaleAnimator" + prototype: "QQuickAnimator" + exports: ["QtQuick/ScaleAnimator 2.12", "QtQuick/ScaleAnimator 2.2"] + exportMetaObjectRevisions: [12, 2] + } + Component { + file: "private/qquickscalegrid_p_p.h" + name: "QQuickScaleGrid" + prototype: "QObject" + Property { name: "left"; type: "int" } + Property { name: "top"; type: "int" } + Property { name: "right"; type: "int" } + Property { name: "bottom"; type: "int" } + Signal { name: "borderChanged" } + Signal { name: "leftBorderChanged" } + Signal { name: "topBorderChanged" } + Signal { name: "rightBorderChanged" } + Signal { name: "bottomBorderChanged" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickScriptAction" + prototype: "QQuickAbstractAnimation" + exports: ["QtQuick/ScriptAction 2.0", "QtQuick/ScriptAction 2.12"] + exportMetaObjectRevisions: [0, 12] + Property { name: "script"; type: "QQmlScriptString" } + Property { name: "scriptName"; type: "string" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickSequentialAnimation" + defaultProperty: "animations" + prototype: "QQuickAnimationGroup" + exports: [ + "QtQuick/SequentialAnimation 2.0", + "QtQuick/SequentialAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + } + Component { + file: "private/qquickshadereffect_p.h" + name: "QQuickShaderEffect" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/ShaderEffect 2.0", + "QtQuick/ShaderEffect 2.1", + "QtQuick/ShaderEffect 2.11", + "QtQuick/ShaderEffect 2.4", + "QtQuick/ShaderEffect 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "CullMode" + values: ["NoCulling", "BackFaceCulling", "FrontFaceCulling"] + } + Enum { + name: "Status" + values: ["Compiled", "Uncompiled", "Error"] + } + Property { name: "fragmentShader"; type: "QByteArray" } + Property { name: "vertexShader"; type: "QByteArray" } + Property { name: "blending"; type: "bool" } + Property { name: "mesh"; type: "QVariant" } + Property { name: "cullMode"; type: "CullMode" } + Property { name: "log"; type: "string"; isReadonly: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "supportsAtlasTextures"; revision: 4; type: "bool" } + } + Component { + file: "private/qquickshadereffectmesh_p.h" + name: "QQuickShaderEffectMesh" + prototype: "QObject" + exports: ["QtQuick/ShaderEffectMesh 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Signal { name: "geometryChanged" } + } + Component { + file: "private/qquickshadereffectsource_p.h" + name: "QQuickShaderEffectSource" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick/ShaderEffectSource 2.0", + "QtQuick/ShaderEffectSource 2.1", + "QtQuick/ShaderEffectSource 2.11", + "QtQuick/ShaderEffectSource 2.4", + "QtQuick/ShaderEffectSource 2.6", + "QtQuick/ShaderEffectSource 2.7", + "QtQuick/ShaderEffectSource 2.9" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] + Enum { + name: "WrapMode" + values: [ + "ClampToEdge", + "RepeatHorizontally", + "RepeatVertically", + "Repeat" + ] + } + Enum { + name: "Format" + values: ["Alpha", "RGB", "RGBA"] + } + Enum { + name: "TextureMirroring" + values: ["NoMirroring", "MirrorHorizontally", "MirrorVertically"] + } + Property { name: "wrapMode"; type: "WrapMode" } + Property { name: "sourceItem"; type: "QQuickItem"; isPointer: true } + Property { name: "sourceRect"; type: "QRectF" } + Property { name: "textureSize"; type: "QSize" } + Property { name: "format"; type: "Format" } + Property { name: "live"; type: "bool" } + Property { name: "hideSource"; type: "bool" } + Property { name: "mipmap"; type: "bool" } + Property { name: "recursive"; type: "bool" } + Property { name: "textureMirroring"; revision: 6; type: "TextureMirroring" } + Property { name: "samples"; revision: 9; type: "int" } + Signal { name: "scheduledUpdateCompleted" } + Method { + name: "sourceItemDestroyed" + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { name: "invalidateSceneGraph" } + Method { + name: "sourceItemParentChanged" + Parameter { name: "parent"; type: "QQuickItem"; isPointer: true } + } + Method { name: "scheduleUpdate" } + } + Component { + file: "private/qquickshortcut_p.h" + name: "QQuickShortcut" + prototype: "QObject" + exports: [ + "QtQuick/Shortcut 2.5", + "QtQuick/Shortcut 2.6", + "QtQuick/Shortcut 2.9" + ] + exportMetaObjectRevisions: [5, 6, 9] + Property { name: "sequence"; type: "QVariant" } + Property { name: "sequences"; revision: 9; type: "QVariantList" } + Property { name: "nativeText"; revision: 6; type: "string"; isReadonly: true } + Property { name: "portableText"; revision: 6; type: "string"; isReadonly: true } + Property { name: "enabled"; type: "bool" } + Property { name: "autoRepeat"; type: "bool" } + Property { name: "context"; type: "Qt::ShortcutContext" } + Signal { name: "sequencesChanged"; revision: 9 } + Signal { name: "activated" } + Signal { name: "activatedAmbiguously" } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickSinglePointEvent" + prototype: "QQuickPointerEvent" + } + Component { + file: "private/qquickpointerhandler_p.h" + name: "QQuickSinglePointHandler" + prototype: "QQuickPointerDeviceHandler" + Property { name: "point"; type: "QQuickHandlerPoint"; isReadonly: true } + } + Component { + file: "private/qquicksmoothedanimation_p.h" + name: "QQuickSmoothedAnimation" + prototype: "QQuickNumberAnimation" + exports: [ + "QtQuick/SmoothedAnimation 2.0", + "QtQuick/SmoothedAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + Enum { + name: "ReversingMode" + values: ["Eased", "Immediate", "Sync"] + } + Property { name: "velocity"; type: "double" } + Property { name: "reversingMode"; type: "ReversingMode" } + Property { name: "maximumEasingTime"; type: "double" } + } + Component { + file: "private/qquickspringanimation_p.h" + name: "QQuickSpringAnimation" + prototype: "QQuickNumberAnimation" + exports: [ + "QtQuick/SpringAnimation 2.0", + "QtQuick/SpringAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "velocity"; type: "double" } + Property { name: "spring"; type: "double" } + Property { name: "damping"; type: "double" } + Property { name: "epsilon"; type: "double" } + Property { name: "modulus"; type: "double" } + Property { name: "mass"; type: "double" } + Signal { name: "syncChanged" } + } + Component { + file: "private/qquicksprite_p.h" + name: "QQuickSprite" + prototype: "QQuickStochasticState" + exports: ["QtQuick/Sprite 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "source"; type: "QUrl" } + Property { name: "reverse"; type: "bool" } + Property { name: "frameSync"; type: "bool" } + Property { name: "frames"; type: "int" } + Property { name: "frameCount"; type: "int" } + Property { name: "frameHeight"; type: "int" } + Property { name: "frameWidth"; type: "int" } + Property { name: "frameX"; type: "int" } + Property { name: "frameY"; type: "int" } + Property { name: "frameRate"; type: "double" } + Property { name: "frameRateVariation"; type: "double" } + Property { name: "frameDuration"; type: "int" } + Property { name: "frameDurationVariation"; type: "int" } + Signal { + name: "sourceChanged" + Parameter { name: "arg"; type: "QUrl" } + } + Signal { + name: "frameHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "reverseChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "frameCountChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameXChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameYChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameRateChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "frameRateVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "frameDurationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameDurationVariationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameSyncChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setSource" + Parameter { name: "arg"; type: "QUrl" } + } + Method { + name: "setFrameHeight" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setReverse" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setFrames" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameCount" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameRate" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setFrameRateVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setFrameDuration" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameDurationVariation" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameSync" + Parameter { name: "arg"; type: "bool" } + } + Method { name: "startImageLoading" } + } + Component { + file: "private/qquickspritesequence_p.h" + name: "QQuickSpriteSequence" + defaultProperty: "sprites" + prototype: "QQuickItem" + exports: [ + "QtQuick/SpriteSequence 2.0", + "QtQuick/SpriteSequence 2.1", + "QtQuick/SpriteSequence 2.11", + "QtQuick/SpriteSequence 2.4", + "QtQuick/SpriteSequence 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "running"; type: "bool" } + Property { name: "interpolate"; type: "bool" } + Property { name: "goalSprite"; type: "string" } + Property { name: "currentSprite"; type: "string"; isReadonly: true } + Property { name: "sprites"; type: "QQuickSprite"; isList: true; isReadonly: true } + Signal { + name: "runningChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "interpolateChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "goalSpriteChanged" + Parameter { name: "arg"; type: "string" } + } + Signal { + name: "currentSpriteChanged" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "jumpTo" + Parameter { name: "sprite"; type: "string" } + } + Method { + name: "setGoalSprite" + Parameter { name: "sprite"; type: "string" } + } + Method { + name: "setRunning" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setInterpolate" + Parameter { name: "arg"; type: "bool" } + } + Method { name: "createEngine" } + } + Component { + file: "private/qquickstate_p.h" + name: "QQuickState" + defaultProperty: "changes" + prototype: "QObject" + exports: ["QtQuick/State 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "name"; type: "string" } + Property { name: "when"; type: "bool" } + Property { name: "extend"; type: "string" } + Property { name: "changes"; type: "QQuickStateOperation"; isList: true; isReadonly: true } + Signal { name: "completed" } + } + Component { + file: "private/qquickstatechangescript_p.h" + name: "QQuickStateChangeScript" + prototype: "QQuickStateOperation" + exports: ["QtQuick/StateChangeScript 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "script"; type: "QQmlScriptString" } + Property { name: "name"; type: "string" } + } + Component { + file: "private/qquickstategroup_p.h" + name: "QQuickStateGroup" + prototype: "QObject" + exports: ["QtQuick/StateGroup 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "state"; type: "string" } + Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } + Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } + Signal { + name: "stateChanged" + Parameter { type: "string" } + } + } + Component { file: "private/qquickstate_p.h"; name: "QQuickStateOperation"; prototype: "QObject" } + Component { + name: "QQuickStochasticState" + prototype: "QObject" + Property { name: "duration"; type: "int" } + Property { name: "durationVariation"; type: "int" } + Property { name: "randomStart"; type: "bool" } + Property { name: "to"; type: "QVariantMap" } + Property { name: "name"; type: "string" } + Signal { + name: "durationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "nameChanged" + Parameter { name: "arg"; type: "string" } + } + Signal { + name: "toChanged" + Parameter { name: "arg"; type: "QVariantMap" } + } + Signal { + name: "durationVariationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { name: "entered" } + Signal { + name: "randomStartChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setDuration" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setName" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setTo" + Parameter { name: "arg"; type: "QVariantMap" } + } + Method { + name: "setDurationVariation" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setRandomStart" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "private/qquicksystempalette_p.h" + name: "QQuickSystemPalette" + prototype: "QObject" + exports: ["QtQuick/SystemPalette 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "ColorGroup" + values: ["Active", "Inactive", "Disabled"] + } + Property { name: "colorGroup"; type: "QQuickSystemPalette::ColorGroup" } + Property { name: "window"; type: "QColor"; isReadonly: true } + Property { name: "windowText"; type: "QColor"; isReadonly: true } + Property { name: "base"; type: "QColor"; isReadonly: true } + Property { name: "text"; type: "QColor"; isReadonly: true } + Property { name: "alternateBase"; type: "QColor"; isReadonly: true } + Property { name: "button"; type: "QColor"; isReadonly: true } + Property { name: "buttonText"; type: "QColor"; isReadonly: true } + Property { name: "light"; type: "QColor"; isReadonly: true } + Property { name: "midlight"; type: "QColor"; isReadonly: true } + Property { name: "dark"; type: "QColor"; isReadonly: true } + Property { name: "mid"; type: "QColor"; isReadonly: true } + Property { name: "shadow"; type: "QColor"; isReadonly: true } + Property { name: "highlight"; type: "QColor"; isReadonly: true } + Property { name: "highlightedText"; type: "QColor"; isReadonly: true } + Signal { name: "paletteChanged" } + } + Component { + file: "private/qquicktableview_p.h" + name: "QQuickTableView" + defaultProperty: "flickableData" + prototype: "QQuickFlickable" + exports: ["QtQuick/TableView 2.12", "QtQuick/TableView 2.14"] + exportMetaObjectRevisions: [12, 14] + attachedType: "QQuickTableViewAttached" + Property { name: "rows"; type: "int"; isReadonly: true } + Property { name: "columns"; type: "int"; isReadonly: true } + Property { name: "rowSpacing"; type: "double" } + Property { name: "columnSpacing"; type: "double" } + Property { name: "rowHeightProvider"; type: "QJSValue" } + Property { name: "columnWidthProvider"; type: "QJSValue" } + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "reuseItems"; type: "bool" } + Property { name: "contentWidth"; type: "double" } + Property { name: "contentHeight"; type: "double" } + Property { name: "syncView"; revision: 14; type: "QQuickTableView"; isPointer: true } + Property { name: "syncDirection"; revision: 14; type: "Qt::Orientations" } + Signal { name: "syncViewChanged"; revision: 14 } + Signal { name: "syncDirectionChanged"; revision: 14 } + Method { name: "_q_componentFinalized" } + Method { name: "forceLayout" } + } + Component { + name: "QQuickTableViewAttached" + prototype: "QObject" + Property { name: "view"; type: "QQuickTableView"; isReadonly: true; isPointer: true } + Signal { name: "pooled" } + Signal { name: "reused" } + } + Component { + file: "private/qquicktaphandler_p.h" + name: "QQuickTapHandler" + prototype: "QQuickSinglePointHandler" + exports: ["QtQuick/TapHandler 2.12", "QtQuick/TapHandler 2.15"] + exportMetaObjectRevisions: [12, 15] + Enum { + name: "GesturePolicy" + values: ["DragThreshold", "WithinBounds", "ReleaseWithinBounds"] + } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "tapCount"; type: "int"; isReadonly: true } + Property { name: "timeHeld"; type: "double"; isReadonly: true } + Property { name: "longPressThreshold"; type: "double" } + Property { name: "gesturePolicy"; type: "GesturePolicy" } + Signal { + name: "tapped" + Parameter { name: "eventPoint"; type: "QQuickEventPoint"; isPointer: true } + } + Signal { + name: "singleTapped" + Parameter { name: "eventPoint"; type: "QQuickEventPoint"; isPointer: true } + } + Signal { + name: "doubleTapped" + Parameter { name: "eventPoint"; type: "QQuickEventPoint"; isPointer: true } + } + Signal { name: "longPressed" } + } + Component { + file: "private/qquicktext_p.h" + name: "QQuickText" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick/Text 2.0", + "QtQuick/Text 2.1", + "QtQuick/Text 2.10", + "QtQuick/Text 2.11", + "QtQuick/Text 2.2", + "QtQuick/Text 2.3", + "QtQuick/Text 2.4", + "QtQuick/Text 2.6", + "QtQuick/Text 2.7", + "QtQuick/Text 2.9" + ] + exportMetaObjectRevisions: [0, 1, 10, 11, 2, 3, 4, 6, 7, 9] + Enum { + name: "HAlignment" + values: [ + "AlignLeft", + "AlignRight", + "AlignHCenter", + "AlignJustify" + ] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "TextStyle" + values: ["Normal", "Outline", "Raised", "Sunken"] + } + Enum { + name: "TextFormat" + values: [ + "PlainText", + "RichText", + "MarkdownText", + "AutoText", + "StyledText" + ] + } + Enum { + name: "TextElideMode" + values: ["ElideLeft", "ElideRight", "ElideMiddle", "ElideNone"] + } + Enum { + name: "WrapMode" + values: [ + "NoWrap", + "WordWrap", + "WrapAnywhere", + "WrapAtWordBoundaryOrAnywhere", + "Wrap" + ] + } + Enum { + name: "RenderType" + values: ["QtRendering", "NativeRendering"] + } + Enum { + name: "LineHeightMode" + values: ["ProportionalHeight", "FixedHeight"] + } + Enum { + name: "FontSizeMode" + values: ["FixedSize", "HorizontalFit", "VerticalFit", "Fit"] + } + Property { name: "text"; type: "string" } + Property { name: "font"; type: "QFont" } + Property { name: "color"; type: "QColor" } + Property { name: "linkColor"; type: "QColor" } + Property { name: "style"; type: "TextStyle" } + Property { name: "styleColor"; type: "QColor" } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "wrapMode"; type: "WrapMode" } + Property { name: "lineCount"; type: "int"; isReadonly: true } + Property { name: "truncated"; type: "bool"; isReadonly: true } + Property { name: "maximumLineCount"; type: "int" } + Property { name: "textFormat"; type: "TextFormat" } + Property { name: "elide"; type: "TextElideMode" } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "paintedWidth"; type: "double"; isReadonly: true } + Property { name: "paintedHeight"; type: "double"; isReadonly: true } + Property { name: "lineHeight"; type: "double" } + Property { name: "lineHeightMode"; type: "LineHeightMode" } + Property { name: "baseUrl"; type: "QUrl" } + Property { name: "minimumPixelSize"; type: "int" } + Property { name: "minimumPointSize"; type: "int" } + Property { name: "fontSizeMode"; type: "FontSizeMode" } + Property { name: "renderType"; type: "RenderType" } + Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } + Property { name: "padding"; revision: 6; type: "double" } + Property { name: "topPadding"; revision: 6; type: "double" } + Property { name: "leftPadding"; revision: 6; type: "double" } + Property { name: "rightPadding"; revision: 6; type: "double" } + Property { name: "bottomPadding"; revision: 6; type: "double" } + Property { name: "fontInfo"; revision: 9; type: "QJSValue"; isReadonly: true } + Property { name: "advance"; revision: 10; type: "QSizeF"; isReadonly: true } + Signal { + name: "textChanged" + Parameter { name: "text"; type: "string" } + } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "linkHovered" + revision: 2 + Parameter { name: "link"; type: "string" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "styleChanged" + Parameter { name: "style"; type: "QQuickText::TextStyle" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::VAlignment" } + } + Signal { + name: "textFormatChanged" + Parameter { name: "textFormat"; type: "QQuickText::TextFormat" } + } + Signal { + name: "elideModeChanged" + Parameter { name: "mode"; type: "QQuickText::TextElideMode" } + } + Signal { name: "contentSizeChanged" } + Signal { + name: "contentWidthChanged" + Parameter { name: "contentWidth"; type: "double" } + } + Signal { + name: "contentHeightChanged" + Parameter { name: "contentHeight"; type: "double" } + } + Signal { + name: "lineHeightChanged" + Parameter { name: "lineHeight"; type: "double" } + } + Signal { + name: "lineHeightModeChanged" + Parameter { name: "mode"; type: "LineHeightMode" } + } + Signal { + name: "lineLaidOut" + Parameter { name: "line"; type: "QQuickTextLine"; isPointer: true } + } + Signal { name: "paddingChanged"; revision: 6 } + Signal { name: "topPaddingChanged"; revision: 6 } + Signal { name: "leftPaddingChanged"; revision: 6 } + Signal { name: "rightPaddingChanged"; revision: 6 } + Signal { name: "bottomPaddingChanged"; revision: 6 } + Signal { name: "fontInfoChanged"; revision: 9 } + Method { name: "q_updateLayout" } + Method { name: "triggerPreprocess" } + Method { name: "imageDownloadFinished" } + Method { name: "doLayout" } + Method { name: "forceLayout"; revision: 9 } + Method { + name: "linkAt" + revision: 3 + type: "string" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { file: "qquicktextdocument.h"; name: "QQuickTextDocument"; prototype: "QObject" } + Component { + file: "private/qquicktextedit_p.h" + name: "QQuickTextEdit" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick/TextEdit 2.0", + "QtQuick/TextEdit 2.1", + "QtQuick/TextEdit 2.10", + "QtQuick/TextEdit 2.11", + "QtQuick/TextEdit 2.2", + "QtQuick/TextEdit 2.3", + "QtQuick/TextEdit 2.4", + "QtQuick/TextEdit 2.6", + "QtQuick/TextEdit 2.7" + ] + exportMetaObjectRevisions: [0, 1, 10, 11, 2, 3, 4, 6, 7] + Enum { + name: "HAlignment" + values: [ + "AlignLeft", + "AlignRight", + "AlignHCenter", + "AlignJustify" + ] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "TextFormat" + values: ["PlainText", "RichText", "AutoText", "MarkdownText"] + } + Enum { + name: "WrapMode" + values: [ + "NoWrap", + "WordWrap", + "WrapAnywhere", + "WrapAtWordBoundaryOrAnywhere", + "Wrap" + ] + } + Enum { + name: "SelectionMode" + values: ["SelectCharacters", "SelectWords"] + } + Enum { + name: "RenderType" + values: ["QtRendering", "NativeRendering"] + } + Property { name: "text"; type: "string" } + Property { name: "color"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "selectedTextColor"; type: "QColor" } + Property { name: "font"; type: "QFont" } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "wrapMode"; type: "WrapMode" } + Property { name: "lineCount"; type: "int"; isReadonly: true } + Property { name: "length"; type: "int"; isReadonly: true } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "paintedWidth"; type: "double"; isReadonly: true } + Property { name: "paintedHeight"; type: "double"; isReadonly: true } + Property { name: "textFormat"; type: "TextFormat" } + Property { name: "readOnly"; type: "bool" } + Property { name: "cursorVisible"; type: "bool" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "cursorDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "overwriteMode"; type: "bool" } + Property { name: "selectionStart"; type: "int"; isReadonly: true } + Property { name: "selectionEnd"; type: "int"; isReadonly: true } + Property { name: "selectedText"; type: "string"; isReadonly: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "persistentSelection"; type: "bool" } + Property { name: "textMargin"; type: "double" } + Property { name: "inputMethodHints"; type: "Qt::InputMethodHints" } + Property { name: "selectByKeyboard"; revision: 1; type: "bool" } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "mouseSelectionMode"; type: "SelectionMode" } + Property { name: "canPaste"; type: "bool"; isReadonly: true } + Property { name: "canUndo"; type: "bool"; isReadonly: true } + Property { name: "canRedo"; type: "bool"; isReadonly: true } + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "baseUrl"; type: "QUrl" } + Property { name: "renderType"; type: "RenderType" } + Property { + name: "textDocument" + revision: 1 + type: "QQuickTextDocument" + isReadonly: true + isPointer: true + } + Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } + Property { name: "padding"; revision: 6; type: "double" } + Property { name: "topPadding"; revision: 6; type: "double" } + Property { name: "leftPadding"; revision: 6; type: "double" } + Property { name: "rightPadding"; revision: 6; type: "double" } + Property { name: "bottomPadding"; revision: 6; type: "double" } + Property { name: "preeditText"; revision: 7; type: "string"; isReadonly: true } + Property { name: "tabStopDistance"; revision: 10; type: "double" } + Signal { name: "preeditTextChanged"; revision: 7 } + Signal { name: "contentSizeChanged" } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "selectionColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "selectedTextColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextEdit::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextEdit::VAlignment" } + } + Signal { + name: "textFormatChanged" + Parameter { name: "textFormat"; type: "QQuickTextEdit::TextFormat" } + } + Signal { + name: "readOnlyChanged" + Parameter { name: "isReadOnly"; type: "bool" } + } + Signal { + name: "cursorVisibleChanged" + Parameter { name: "isCursorVisible"; type: "bool" } + } + Signal { + name: "overwriteModeChanged" + Parameter { name: "overwriteMode"; type: "bool" } + } + Signal { + name: "activeFocusOnPressChanged" + Parameter { name: "activeFocusOnPressed"; type: "bool" } + } + Signal { + name: "persistentSelectionChanged" + Parameter { name: "isPersistentSelection"; type: "bool" } + } + Signal { + name: "textMarginChanged" + Parameter { name: "textMargin"; type: "double" } + } + Signal { + name: "selectByKeyboardChanged" + revision: 1 + Parameter { name: "selectByKeyboard"; type: "bool" } + } + Signal { + name: "selectByMouseChanged" + Parameter { name: "selectByMouse"; type: "bool" } + } + Signal { + name: "mouseSelectionModeChanged" + Parameter { name: "mode"; type: "QQuickTextEdit::SelectionMode" } + } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "linkHovered" + revision: 2 + Parameter { name: "link"; type: "string" } + } + Signal { name: "editingFinished"; revision: 6 } + Signal { name: "paddingChanged"; revision: 6 } + Signal { name: "topPaddingChanged"; revision: 6 } + Signal { name: "leftPaddingChanged"; revision: 6 } + Signal { name: "rightPaddingChanged"; revision: 6 } + Signal { name: "bottomPaddingChanged"; revision: 6 } + Signal { + name: "tabStopDistanceChanged" + revision: 10 + Parameter { name: "distance"; type: "double" } + } + Method { name: "selectAll" } + Method { name: "selectWord" } + Method { + name: "select" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "deselect" } + Method { + name: "isRightToLeft" + type: "bool" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "cut" } + Method { name: "copy" } + Method { name: "paste" } + Method { name: "undo" } + Method { name: "redo" } + Method { + name: "insert" + Parameter { name: "position"; type: "int" } + Parameter { name: "text"; type: "string" } + } + Method { + name: "remove" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "append" + revision: 2 + Parameter { name: "text"; type: "string" } + } + Method { name: "clear"; revision: 7 } + Method { name: "q_textChanged" } + Method { + name: "q_contentsChange" + Parameter { type: "int" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { name: "updateSelection" } + Method { name: "moveCursorDelegate" } + Method { name: "createCursor" } + Method { name: "q_canPasteChanged" } + Method { name: "updateWholeDocument" } + Method { + name: "invalidateBlock" + Parameter { name: "block"; type: "QTextBlock" } + } + Method { name: "updateCursor" } + Method { + name: "q_linkHovered" + Parameter { name: "link"; type: "string" } + } + Method { + name: "q_markerHovered" + Parameter { name: "hovered"; type: "bool" } + } + Method { name: "q_updateAlignment" } + Method { name: "updateSize" } + Method { name: "triggerPreprocess" } + Method { + name: "inputMethodQuery" + revision: 4 + type: "QVariant" + Parameter { name: "query"; type: "Qt::InputMethodQuery" } + Parameter { name: "argument"; type: "QVariant" } + } + Method { + name: "positionToRectangle" + type: "QRectF" + Parameter { type: "int" } + } + Method { + name: "positionAt" + type: "int" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + Parameter { name: "mode"; type: "SelectionMode" } + } + Method { + name: "getText" + type: "string" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "getFormattedText" + type: "string" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "linkAt" + revision: 3 + type: "string" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + file: "private/qquicktextinput_p.h" + name: "QQuickTextInput" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick/TextInput 2.0", + "QtQuick/TextInput 2.1", + "QtQuick/TextInput 2.11", + "QtQuick/TextInput 2.2", + "QtQuick/TextInput 2.4", + "QtQuick/TextInput 2.6", + "QtQuick/TextInput 2.7", + "QtQuick/TextInput 2.9" + ] + exportMetaObjectRevisions: [0, 1, 11, 2, 4, 6, 7, 9] + Enum { + name: "EchoMode" + values: ["Normal", "NoEcho", "Password", "PasswordEchoOnEdit"] + } + Enum { + name: "HAlignment" + values: ["AlignLeft", "AlignRight", "AlignHCenter"] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "WrapMode" + values: [ + "NoWrap", + "WordWrap", + "WrapAnywhere", + "WrapAtWordBoundaryOrAnywhere", + "Wrap" + ] + } + Enum { + name: "SelectionMode" + values: ["SelectCharacters", "SelectWords"] + } + Enum { + name: "CursorPosition" + values: ["CursorBetweenCharacters", "CursorOnCharacter"] + } + Enum { + name: "RenderType" + values: ["QtRendering", "NativeRendering"] + } + Property { name: "text"; type: "string" } + Property { name: "length"; type: "int"; isReadonly: true } + Property { name: "color"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "selectedTextColor"; type: "QColor" } + Property { name: "font"; type: "QFont" } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "wrapMode"; type: "WrapMode" } + Property { name: "readOnly"; type: "bool" } + Property { name: "cursorVisible"; type: "bool" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "cursorDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "overwriteMode"; type: "bool" } + Property { name: "selectionStart"; type: "int"; isReadonly: true } + Property { name: "selectionEnd"; type: "int"; isReadonly: true } + Property { name: "selectedText"; type: "string"; isReadonly: true } + Property { name: "maximumLength"; type: "int" } + Property { name: "validator"; type: "QValidator"; isPointer: true } + Property { name: "inputMask"; type: "string" } + Property { name: "inputMethodHints"; type: "Qt::InputMethodHints" } + Property { name: "acceptableInput"; type: "bool"; isReadonly: true } + Property { name: "echoMode"; type: "EchoMode" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "passwordCharacter"; type: "string" } + Property { name: "passwordMaskDelay"; revision: 4; type: "int" } + Property { name: "displayText"; type: "string"; isReadonly: true } + Property { name: "preeditText"; revision: 7; type: "string"; isReadonly: true } + Property { name: "autoScroll"; type: "bool" } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "mouseSelectionMode"; type: "SelectionMode" } + Property { name: "persistentSelection"; type: "bool" } + Property { name: "canPaste"; type: "bool"; isReadonly: true } + Property { name: "canUndo"; type: "bool"; isReadonly: true } + Property { name: "canRedo"; type: "bool"; isReadonly: true } + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "renderType"; type: "RenderType" } + Property { name: "padding"; revision: 6; type: "double" } + Property { name: "topPadding"; revision: 6; type: "double" } + Property { name: "leftPadding"; revision: 6; type: "double" } + Property { name: "rightPadding"; revision: 6; type: "double" } + Property { name: "bottomPadding"; revision: 6; type: "double" } + Signal { name: "accepted" } + Signal { name: "editingFinished"; revision: 2 } + Signal { name: "textEdited"; revision: 9 } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextInput::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextInput::VAlignment" } + } + Signal { + name: "readOnlyChanged" + Parameter { name: "isReadOnly"; type: "bool" } + } + Signal { + name: "cursorVisibleChanged" + Parameter { name: "isCursorVisible"; type: "bool" } + } + Signal { + name: "overwriteModeChanged" + Parameter { name: "overwriteMode"; type: "bool" } + } + Signal { + name: "maximumLengthChanged" + Parameter { name: "maximumLength"; type: "int" } + } + Signal { + name: "inputMaskChanged" + Parameter { name: "inputMask"; type: "string" } + } + Signal { + name: "echoModeChanged" + Parameter { name: "echoMode"; type: "QQuickTextInput::EchoMode" } + } + Signal { + name: "passwordMaskDelayChanged" + revision: 4 + Parameter { name: "delay"; type: "int" } + } + Signal { name: "preeditTextChanged"; revision: 7 } + Signal { + name: "activeFocusOnPressChanged" + Parameter { name: "activeFocusOnPress"; type: "bool" } + } + Signal { + name: "autoScrollChanged" + Parameter { name: "autoScroll"; type: "bool" } + } + Signal { + name: "selectByMouseChanged" + Parameter { name: "selectByMouse"; type: "bool" } + } + Signal { + name: "mouseSelectionModeChanged" + Parameter { name: "mode"; type: "QQuickTextInput::SelectionMode" } + } + Signal { name: "contentSizeChanged" } + Signal { name: "paddingChanged"; revision: 6 } + Signal { name: "topPaddingChanged"; revision: 6 } + Signal { name: "leftPaddingChanged"; revision: 6 } + Signal { name: "rightPaddingChanged"; revision: 6 } + Signal { name: "bottomPaddingChanged"; revision: 6 } + Method { name: "selectAll" } + Method { name: "selectWord" } + Method { + name: "select" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "deselect" } + Method { + name: "isRightToLeft" + type: "bool" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "cut" } + Method { name: "copy" } + Method { name: "paste" } + Method { name: "undo" } + Method { name: "redo" } + Method { + name: "insert" + Parameter { name: "position"; type: "int" } + Parameter { name: "text"; type: "string" } + } + Method { + name: "remove" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "ensureVisible" + revision: 4 + Parameter { name: "position"; type: "int" } + } + Method { name: "clear"; revision: 7 } + Method { name: "selectionChanged" } + Method { name: "createCursor" } + Method { + name: "updateCursorRectangle" + Parameter { name: "scroll"; type: "bool" } + } + Method { name: "updateCursorRectangle" } + Method { name: "q_canPasteChanged" } + Method { name: "q_updateAlignment" } + Method { name: "triggerPreprocess" } + Method { name: "q_validatorChanged" } + Method { + name: "positionAt" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "positionToRectangle" + type: "QRectF" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + Parameter { name: "mode"; type: "SelectionMode" } + } + Method { + name: "inputMethodQuery" + revision: 4 + type: "QVariant" + Parameter { name: "query"; type: "Qt::InputMethodQuery" } + Parameter { name: "argument"; type: "QVariant" } + } + Method { + name: "getText" + type: "string" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + } + Component { + file: "private/qquicktext_p.h" + name: "QQuickTextLine" + prototype: "QObject" + Property { name: "number"; type: "int"; isReadonly: true } + Property { name: "width"; type: "double" } + Property { name: "height"; type: "double" } + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "implicitWidth"; revision: 15; type: "double"; isReadonly: true } + Property { name: "isLast"; revision: 15; type: "bool"; isReadonly: true } + } + Component { + file: "private/qquicktextmetrics_p.h" + name: "QQuickTextMetrics" + prototype: "QObject" + exports: ["QtQuick/TextMetrics 2.4"] + exportMetaObjectRevisions: [4] + Property { name: "font"; type: "QFont" } + Property { name: "text"; type: "string" } + Property { name: "advanceWidth"; type: "double"; isReadonly: true } + Property { name: "boundingRect"; type: "QRectF"; isReadonly: true } + Property { name: "width"; type: "double"; isReadonly: true } + Property { name: "height"; type: "double"; isReadonly: true } + Property { name: "tightBoundingRect"; type: "QRectF"; isReadonly: true } + Property { name: "elidedText"; type: "string"; isReadonly: true } + Property { name: "elide"; type: "Qt::TextElideMode" } + Property { name: "elideWidth"; type: "double" } + Signal { name: "metricsChanged" } + } + Component { + file: "private/qquickmultipointtoucharea_p.h" + name: "QQuickTouchPoint" + prototype: "QObject" + exports: ["QtQuick/TouchPoint 2.0", "QtQuick/TouchPoint 2.9"] + exportMetaObjectRevisions: [0, 9] + Property { name: "pointId"; type: "int"; isReadonly: true } + Property { name: "uniqueId"; revision: 9; type: "QPointingDeviceUniqueId"; isReadonly: true } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "ellipseDiameters"; revision: 9; type: "QSizeF"; isReadonly: true } + Property { name: "pressure"; type: "double"; isReadonly: true } + Property { name: "rotation"; revision: 9; type: "double"; isReadonly: true } + Property { name: "velocity"; type: "QVector2D"; isReadonly: true } + Property { name: "area"; type: "QRectF"; isReadonly: true } + Property { name: "startX"; type: "double"; isReadonly: true } + Property { name: "startY"; type: "double"; isReadonly: true } + Property { name: "previousX"; type: "double"; isReadonly: true } + Property { name: "previousY"; type: "double"; isReadonly: true } + Property { name: "sceneX"; type: "double"; isReadonly: true } + Property { name: "sceneY"; type: "double"; isReadonly: true } + Signal { name: "uniqueIdChanged"; revision: 9 } + Signal { name: "ellipseDiametersChanged"; revision: 9 } + Signal { name: "rotationChanged"; revision: 9 } + } + Component { + file: "qquickitem.h" + name: "QQuickTransform" + prototype: "QObject" + Method { name: "update" } + } + Component { + file: "private/qquicktransition_p.h" + name: "QQuickTransition" + defaultProperty: "animations" + prototype: "QObject" + exports: ["QtQuick/Transition 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "from"; type: "string" } + Property { name: "to"; type: "string" } + Property { name: "reversible"; type: "bool" } + Property { name: "running"; type: "bool"; isReadonly: true } + Property { name: "animations"; type: "QQuickAbstractAnimation"; isList: true; isReadonly: true } + Property { name: "enabled"; type: "bool" } + } + Component { + file: "private/qquicktranslate_p.h" + name: "QQuickTranslate" + prototype: "QQuickTransform" + exports: ["QtQuick/Translate 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickUniformAnimator" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/UniformAnimator 2.12", + "QtQuick/UniformAnimator 2.2" + ] + exportMetaObjectRevisions: [12, 2] + Property { name: "uniform"; type: "string" } + Signal { + name: "uniformChanged" + Parameter { type: "string" } + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickVector3dAnimation" + prototype: "QQuickPropertyAnimation" + exports: [ + "QtQuick/Vector3dAnimation 2.0", + "QtQuick/Vector3dAnimation 2.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "from"; type: "QVector3D" } + Property { name: "to"; type: "QVector3D" } + } + Component { + file: "private/qquicklistview_p.h" + name: "QQuickViewSection" + prototype: "QObject" + exports: ["QtQuick/ViewSection 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "SectionCriteria" + values: ["FullString", "FirstCharacter"] + } + Enum { + name: "LabelPositioning" + values: ["InlineLabels", "CurrentLabelAtStart", "NextLabelAtEnd"] + } + Property { name: "property"; type: "string" } + Property { name: "criteria"; type: "SectionCriteria" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "labelPositioning"; type: "int" } + Signal { name: "sectionsChanged" } + } + Component { + file: "private/qquickitemviewtransition_p.h" + name: "QQuickViewTransitionAttached" + prototype: "QObject" + exports: ["QtQuick/ViewTransition 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickViewTransitionAttached" + Property { name: "index"; type: "int"; isReadonly: true } + Property { name: "item"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "destination"; type: "QPointF"; isReadonly: true } + Property { name: "targetIndexes"; type: "QList"; isReadonly: true } + Property { name: "targetItems"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickWheelEvent" + prototype: "QObject" + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "angleDelta"; type: "QPoint"; isReadonly: true } + Property { name: "pixelDelta"; type: "QPoint"; isReadonly: true } + Property { name: "buttons"; type: "int"; isReadonly: true } + Property { name: "modifiers"; type: "int"; isReadonly: true } + Property { name: "inverted"; type: "bool"; isReadonly: true } + Property { name: "accepted"; type: "bool" } + } + Component { + file: "private/qquickwheelhandler_p.h" + name: "QQuickWheelHandler" + prototype: "QQuickSinglePointHandler" + exports: ["QtQuick/WheelHandler 2.14", "QtQuick/WheelHandler 2.15"] + exportMetaObjectRevisions: [14, 15] + Property { name: "orientation"; type: "Qt::Orientation" } + Property { name: "invertible"; type: "bool" } + Property { name: "activeTimeout"; type: "double" } + Property { name: "rotation"; type: "double" } + Property { name: "rotationScale"; type: "double" } + Property { name: "property"; type: "string" } + Property { name: "targetScaleMultiplier"; type: "double" } + Property { name: "targetTransformAroundCursor"; type: "bool" } + Signal { + name: "wheel" + Parameter { name: "event"; type: "QQuickPointerScrollEvent"; isPointer: true } + } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickXAnimator" + prototype: "QQuickAnimator" + exports: ["QtQuick/XAnimator 2.12", "QtQuick/XAnimator 2.2"] + exportMetaObjectRevisions: [12, 2] + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickYAnimator" + prototype: "QQuickAnimator" + exports: ["QtQuick/YAnimator 2.12", "QtQuick/YAnimator 2.2"] + exportMetaObjectRevisions: [12, 2] + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QRegExpValidator" + prototype: "QValidator" + exports: ["QtQuick/RegExpValidator 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "regExp"; type: "QRegExp" } + Signal { + name: "regExpChanged" + Parameter { name: "regExp"; type: "QRegExp" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QRegularExpressionValidator" + prototype: "QValidator" + exports: ["QtQuick/RegularExpressionValidator 2.14"] + exportMetaObjectRevisions: [14] + Property { name: "regularExpression"; type: "QRegularExpression" } + Signal { + name: "regularExpressionChanged" + Parameter { name: "re"; type: "QRegularExpression" } + } + Method { + name: "setRegularExpression" + Parameter { name: "re"; type: "QRegularExpression" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QValidator" + prototype: "QObject" + Enum { + name: "State" + values: ["Invalid", "Intermediate", "Acceptable"] + } + Signal { name: "changed" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/qmldir new file mode 100644 index 00000000..e4e7f5d0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/qmldir @@ -0,0 +1,6 @@ +module QtQuick +plugin qtquick2plugin +classname QtQuick2Plugin +typeinfo plugins.qmltypes +depends QtQml 2.15 +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/qtquick2plugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/qtquick2plugin.dll new file mode 100644 index 00000000..7dfde08d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick.2/qtquick2plugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/AbstractButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/AbstractButton.qml new file mode 100644 index 00000000..50ddb933 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/AbstractButton.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T + +T.AbstractButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Action.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Action.qml new file mode 100644 index 00000000..996e9086 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Action.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T + +T.Action { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ActionGroup.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ActionGroup.qml new file mode 100644 index 00000000..89e72c8f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ActionGroup.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T + +T.ActionGroup { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ApplicationWindow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ApplicationWindow.qml new file mode 100644 index 00000000..4686a298 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ApplicationWindow.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Window 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ApplicationWindow { + id: window + + color: palette.window + + overlay.modal: Rectangle { + color: Color.transparent(window.palette.shadow, 0.5) + } + + overlay.modeless: Rectangle { + color: Color.transparent(window.palette.shadow, 0.12) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/BusyIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/BusyIndicator.qml new file mode 100644 index 00000000..ff5c191c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/BusyIndicator.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + + contentItem: BusyIndicatorImpl { + implicitWidth: 48 + implicitHeight: 48 + + pen: control.palette.dark + fill: control.palette.dark + + running: control.running + opacity: control.running ? 1 : 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Button.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Button.qml new file mode 100644 index 00000000..a9e7fce6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Button.qml @@ -0,0 +1,80 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + horizontalPadding: padding + 2 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: control.checked || control.highlighted ? control.palette.brightText : + control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.checked || control.highlighted ? control.palette.brightText : + control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: !control.flat || control.down || control.checked || control.highlighted + color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button, + control.palette.mid, control.down ? 0.5 : 0.0) + border.color: control.palette.highlight + border.width: control.visualFocus ? 2 : 0 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ButtonGroup.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ButtonGroup.qml new file mode 100644 index 00000000..cf0355ba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ButtonGroup.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T + +T.ButtonGroup { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/CheckBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/CheckBox.qml new file mode 100644 index 00000000..b1f50ed1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/CheckBox.qml @@ -0,0 +1,93 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + // keep in sync with CheckDelegate.qml (shared CheckIndicator.qml was removed for performance reasons) + indicator: Rectangle { + implicitWidth: 28 + implicitHeight: 28 + + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + color: control.down ? control.palette.light : control.palette.base + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.palette.mid + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + defaultColor: "#353637" + color: control.palette.text + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/check.png" + visible: control.checkState === Qt.Checked + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 16 + height: 3 + color: control.palette.text + visible: control.checkState === Qt.PartiallyChecked + } + } + + contentItem: CheckLabel { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/CheckDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/CheckDelegate.qml new file mode 100644 index 00000000..71b390ac --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/CheckDelegate.qml @@ -0,0 +1,110 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 12 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + // keep in sync with CheckBox.qml (shared CheckIndicator.qml was removed for performance reasons) + indicator: Rectangle { + implicitWidth: 28 + implicitHeight: 28 + + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + color: control.down ? control.palette.light : control.palette.base + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.palette.mid + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + defaultColor: "#353637" + color: control.palette.text + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/check.png" + visible: control.checkState === Qt.Checked + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 16 + height: 3 + color: control.palette.text + visible: control.checkState === Qt.PartiallyChecked + } + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted + color: control.down ? control.palette.midlight : control.palette.light + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ComboBox.qml new file mode 100644 index 00000000..e9f93d66 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ComboBox.qml @@ -0,0 +1,142 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Window 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Controls.impl 2.15 +import QtQuick.Templates 2.15 as T + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + delegate: ItemDelegate { + width: ListView.view.width + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData + palette.text: control.palette.text + palette.highlightedText: control.palette.highlightedText + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + color: control.palette.dark + defaultColor: "#353637" + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/double-arrow.png" + opacity: enabled ? 1 : 0.3 + } + + contentItem: T.TextField { + leftPadding: !control.mirrored ? 12 : control.editable && activeFocus ? 3 : 1 + rightPadding: control.mirrored ? 12 : control.editable && activeFocus ? 3 : 1 + topPadding: 6 - control.padding + bottomPadding: 6 - control.padding + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + font: control.font + color: control.editable ? control.palette.text : control.palette.buttonText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Text.AlignVCenter + + background: Rectangle { + visible: control.enabled && control.editable && !control.flat + border.width: parent && parent.activeFocus ? 2 : 1 + border.color: parent && parent.activeFocus ? control.palette.highlight : control.palette.button + color: control.palette.base + } + } + + background: Rectangle { + implicitWidth: 140 + implicitHeight: 40 + + color: control.down ? control.palette.mid : control.palette.button + border.color: control.palette.highlight + border.width: !control.editable && control.visualFocus ? 2 : 0 + visible: !control.flat || control.down + } + + popup: T.Popup { + y: control.height + width: control.width + height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) + topMargin: 6 + bottomMargin: 6 + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + Rectangle { + z: 10 + width: parent.width + height: parent.height + color: "transparent" + border.color: control.palette.mid + } + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: Rectangle { + color: control.palette.window + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Container.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Container.qml new file mode 100644 index 00000000..83ab957d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Container.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T + +T.Container { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Control.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Control.qml new file mode 100644 index 00000000..a963a563 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Control.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T + +T.Control { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/DelayButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/DelayButton.qml new file mode 100644 index 00000000..1c545a71 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/DelayButton.qml @@ -0,0 +1,105 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + horizontalPadding: padding + 2 + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: ItemGroup { + ClippedText { + clip: control.progress > 0 + clipX: -control.leftPadding + control.progress * control.width + clipWidth: (1.0 - control.progress) * control.width + visible: control.progress < 1 + + text: control.text + font: control.font + opacity: enabled ? 1 : 0.3 + color: control.palette.buttonText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + + ClippedText { + clip: control.progress > 0 + clipX: -control.leftPadding + clipWidth: control.progress * control.width + visible: control.progress > 0 + + text: control.text + font: control.font + opacity: enabled ? 1 : 0.3 + color: control.palette.brightText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + color: Color.blend(control.palette.button, control.palette.mid, control.down ? 0.5 : 0.0) + border.color: control.palette.highlight + border.width: control.visualFocus ? 2 : 0 + + PaddedRectangle { + padding: control.visualFocus ? 2 : 0 + width: control.progress * parent.width + height: parent.height + color: Color.blend(control.palette.dark, control.palette.mid, control.down ? 0.5 : 0.0) + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Dial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Dial.qml new file mode 100644 index 00000000..cc4618a5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Dial.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 184 // ### remove 184 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 184 // ### remove 184 in Qt 6 + + background: DialImpl { + implicitWidth: 184 + implicitHeight: 184 + color: control.visualFocus ? control.palette.highlight : control.palette.dark + progress: control.position + opacity: control.enabled ? 1 : 0.3 + } + + handle: ColorImage { + x: control.background.x + control.background.width / 2 - control.handle.width / 2 + y: control.background.y + control.background.height / 2 - control.handle.height / 2 + width: 14 + height: 10 + defaultColor: "#353637" + color: control.visualFocus ? control.palette.highlight : control.palette.dark + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/dial-indicator.png" + antialiasing: true + opacity: control.enabled ? 1 : 0.3 + transform: [ + Translate { + y: -Math.min(control.background.width, control.background.height) * 0.4 + control.handle.height / 2 + }, + Rotation { + angle: control.angle + origin.x: control.handle.width / 2 + origin.y: control.handle.height / 2 + } + ] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Dialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Dialog.qml new file mode 100644 index 00000000..6c2e4b1b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Dialog.qml @@ -0,0 +1,86 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 12 + + background: Rectangle { + color: control.palette.window + border.color: control.palette.dark + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + font.bold: true + padding: 12 + background: Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 1 + color: control.palette.window + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + T.Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/DialogButtonBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/DialogButtonBox.qml new file mode 100644 index 00000000..3c9d5b48 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/DialogButtonBox.qml @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + (control.count === 1 ? implicitContentWidth * 2 : implicitContentWidth) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + contentWidth: contentItem.contentWidth + + spacing: 1 + padding: 12 + alignment: count === 1 ? Qt.AlignRight : undefined + + delegate: Button { + width: control.count === 1 ? control.availableWidth / 2 : undefined + } + + contentItem: ListView { + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: Rectangle { + implicitHeight: 40 + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + color: control.palette.window + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Drawer.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Drawer.qml new file mode 100644 index 00000000..17465fd4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Drawer.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: control.edge === Qt.BottomEdge + leftPadding: control.edge === Qt.RightEdge + rightPadding: control.edge === Qt.LeftEdge + bottomPadding: control.edge === Qt.TopEdge + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + background: Rectangle { + color: control.palette.window + Rectangle { + readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge + width: horizontal ? 1 : parent.width + height: horizontal ? parent.height : 1 + color: control.palette.dark + x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 + y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 + } + } + + T.Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + T.Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Frame.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Frame.qml new file mode 100644 index 00000000..2fe46104 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Frame.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: "transparent" + border.color: control.palette.mid + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ApplicationWindow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ApplicationWindow.qml new file mode 100644 index 00000000..9079403e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ApplicationWindow.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Window 2.2 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ApplicationWindow { + id: window + + color: palette.window + + overlay.modal: Rectangle { + color: Fusion.topShadow + } + + overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/BusyIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/BusyIndicator.qml new file mode 100644 index 00000000..554c3368 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/BusyIndicator.qml @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + + contentItem: BusyIndicatorImpl { + implicitWidth: 28 + implicitHeight: 28 + color: control.palette.text + + running: control.running + opacity: control.running ? 1 : 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + + RotationAnimator on rotation { + running: control.running || contentItem.visible + from: 0 + to: 360 + duration: 1000 + loops: Animation.Infinite + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Button.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Button.qml new file mode 100644 index 00000000..7822634d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Button.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 4 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: ButtonPanel { + implicitWidth: 80 + implicitHeight: 24 + + control: control + visible: !control.flat || control.down || control.checked || control.highlighted || control.visualFocus || control.hovered + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ButtonPanel.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ButtonPanel.qml new file mode 100644 index 00000000..125aa2f3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ButtonPanel.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +Rectangle { + id: panel + + property Item control + property bool highlighted: control.highlighted + + visible: !control.flat || control.down || control.checked + + color: Fusion.buttonColor(control.palette, panel.highlighted, control.down || control.checked, control.hovered) + gradient: control.down || control.checked ? null : buttonGradient + + Gradient { + id: buttonGradient + GradientStop { + position: 0 + color: Fusion.gradientStart(Fusion.buttonColor(panel.control.palette, panel.highlighted, panel.control.down, panel.control.hovered)) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(Fusion.buttonColor(panel.control.palette, panel.highlighted, panel.control.down, panel.control.hovered)) + } + } + + radius: 2 + border.color: Fusion.buttonOutline(control.palette, panel.highlighted || control.visualFocus, control.enabled) + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + border.color: Fusion.innerContrastLine + color: "transparent" + radius: 2 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckBox.qml new file mode 100644 index 00000000..edb4c77f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckBox.qml @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckDelegate.qml new file mode 100644 index 00000000..1b97b1fd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckDelegate.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + indicator: CheckIndicator { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + control: control + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckIndicator.qml new file mode 100644 index 00000000..7dcfee30 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckIndicator.qml @@ -0,0 +1,92 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +Rectangle { + id: indicator + + property Item control + readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) + readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) + + implicitWidth: 14 + implicitHeight: 14 + + color: control.down ? indicator.pressedColor : control.palette.base + border.color: control.visualFocus ? Fusion.highlightedOutline(control.palette) + : Qt.lighter(Fusion.outline(control.palette), 1.1) + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: 1 + color: Fusion.topShadow + visible: indicator.control.enabled && !indicator.control.down + } + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + color: Color.transparent(indicator.checkMarkColor, 210 / 255) + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/checkmark.png" + visible: indicator.control.checkState === Qt.Checked || (indicator.control.checked && indicator.control.checkState === undefined) + } + + Rectangle { + x: 3; y: 3 + width: parent.width - 6 + height: parent.width - 6 + + visible: indicator.control.checkState === Qt.PartiallyChecked + + gradient: Gradient { + GradientStop { + position: 0 + color: Color.transparent(indicator.checkMarkColor, 80 / 255) + } + GradientStop { + position: 1 + color: Color.transparent(indicator.checkMarkColor, 140 / 255) + } + } + border.color: Color.transparent(indicator.checkMarkColor, 180 / 255) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ComboBox.qml new file mode 100644 index 00000000..5e26f90e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ComboBox.qml @@ -0,0 +1,176 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Window 2.15 +import QtQuick.Templates 2.15 as T +import QtQuick.Controls 2.15 +import QtQuick.Controls.impl 2.15 +import QtQuick.Controls.Fusion 2.15 +import QtQuick.Controls.Fusion.impl 2.15 + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + delegate: MenuItem { + width: ListView.view.width + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + color: control.editable ? control.palette.text : control.palette.buttonText + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/arrow.png" + width: 20 + fillMode: Image.Pad + } + + contentItem: T.TextField { + topPadding: 4 + leftPadding: 4 - control.padding + rightPadding: 4 - control.padding + bottomPadding: 4 + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + font: control.font + color: control.editable ? control.palette.text : control.palette.buttonText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Text.AlignVCenter + + background: PaddedRectangle { + clip: true + radius: 2 + padding: 1 + leftPadding: control.mirrored ? -2 : padding + rightPadding: !control.mirrored ? -2 : padding + color: control.palette.base + visible: control.editable && !control.flat + + Rectangle { + x: parent.width - width + y: 1 + width: 1 + height: parent.height - 2 + color: Fusion.buttonOutline(control.palette, control.activeFocus, control.enabled) + } + + Rectangle { + x: 1 + y: 1 + width: parent.width - 3 + height: 1 + color: Fusion.topShadow + } + } + + Rectangle { + x: 1 - control.leftPadding + y: 1 + width: control.width - 2 + height: control.height - 2 + color: "transparent" + border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) + visible: control.activeFocus + radius: 1.7 + } + } + + background: ButtonPanel { + implicitWidth: 120 + implicitHeight: 24 + + control: control + visible: !control.flat || control.down + // ### TODO: fix control.contentItem.activeFocus + highlighted: control.visualFocus || control.contentItem.activeFocus + } + + popup: T.Popup { + width: control.width + height: Math.min(contentItem.implicitHeight + 2, control.Window.height - topMargin - bottomMargin) + topMargin: 6 + bottomMargin: 6 + palette: control.palette + padding: 1 + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightRangeMode: ListView.ApplyRange + highlightMoveDuration: 0 + + T.ScrollBar.vertical: ScrollBar { } + } + + background: Rectangle { + color: control.popup.palette.window + border.color: Fusion.outline(control.palette) + + Rectangle { + z: -1 + x: 1; y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/DelayButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/DelayButton.qml new file mode 100644 index 00000000..622de111 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/DelayButton.qml @@ -0,0 +1,116 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: ItemGroup { + ClippedText { + clip: control.progress > 0 + clipX: -control.leftPadding + (control.mirrored ? 0 : control.progress * control.width) + clipWidth: control.width + visible: control.mirrored ? control.progress > 0 : control.progress < 1 + + text: control.text + font: control.font + color: control.mirrored ? control.palette.brightText : control.palette.buttonText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + + ClippedText { + clip: control.progress > 0 + clipX: -control.leftPadding + clipWidth: (control.mirrored ? 1.0 - control.progress : control.progress) * control.width + visible: control.mirrored ? control.progress < 1 : control.progress > 0 + + text: control.text + font: control.font + color: control.mirrored ? control.palette.buttonText : control.palette.brightText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + } + + background: ButtonPanel { + implicitWidth: 80 + implicitHeight: 24 + + control: control + highlighted: false + scale: control.mirrored ? -1 : 1 + + Rectangle { + width: control.progress * parent.width + height: parent.height + + radius: 2 + border.color: Qt.darker(Fusion.highlight(control.palette), 1.4) + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.lighter(Fusion.highlight(control.palette), 1.2) + } + GradientStop { + position: 1 + color: Fusion.highlight(control.palette) + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Dial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Dial.qml new file mode 100644 index 00000000..a1337242 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Dial.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 100 // ### remove 100 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 100 // ### remove 100 in Qt 6 + + background: DialImpl { + implicitWidth: 100 + implicitHeight: 100 + palette: control.palette + highlight: control.visualFocus + } + + handle: KnobImpl { + x: control.background.x + control.background.width / 2 - control.handle.width / 2 + y: control.background.y + control.background.height / 2 - control.handle.height / 2 + width: control.width / 7 + height: control.height / 7 + palette: control.palette + transform: [ + Translate { + y: -Math.min(control.background.width, control.background.height) * 0.42 + control.handle.height + }, + Rotation { + angle: control.angle + origin.x: control.handle.width / 2 + origin.y: control.handle.height / 2 + } + ] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Dialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Dialog.qml new file mode 100644 index 00000000..79e179d9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Dialog.qml @@ -0,0 +1,100 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 6 + + background: Rectangle { + color: control.palette.window + border.color: control.palette.mid + radius: 2 + + Rectangle { + z: -1 + x: 1; y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + radius: 2 + } + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + font.bold: true + padding: 6 + background: Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 1 + color: control.palette.window + radius: 2 + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/DialogButtonBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/DialogButtonBox.qml new file mode 100644 index 00000000..a0b0f243 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/DialogButtonBox.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 6 + alignment: Qt.AlignRight + + delegate: Button { } + + contentItem: ListView { + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: Rectangle { + implicitHeight: 32 + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + color: control.palette.window + radius: 2 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Drawer.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Drawer.qml new file mode 100644 index 00000000..5a23dde1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Drawer.qml @@ -0,0 +1,89 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: control.edge === Qt.BottomEdge + leftPadding: control.edge === Qt.RightEdge + rightPadding: control.edge === Qt.LeftEdge + bottomPadding: control.edge === Qt.TopEdge + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + background: Rectangle { + color: control.palette.window + readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge + Rectangle { + width: parent.horizontal ? 1 : parent.width + height: parent.horizontal ? parent.height : 1 + color: control.palette.mid + x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 + y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 + } + Rectangle { + width: parent.horizontal ? 1 : parent.width + height: parent.horizontal ? parent.height : 1 + color: control.palette.shadow + opacity: 0.2 + x: control.edge === Qt.LeftEdge ? parent.width : 0 + y: control.edge === Qt.TopEdge ? parent.height : 0 + } + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Frame.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Frame.qml new file mode 100644 index 00000000..c2df6351 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Frame.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 9 + + background: Rectangle { + color: "transparent" + border.color: Qt.lighter(Fusion.outline(control.palette), 1.08) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/GroupBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/GroupBox.qml new file mode 100644 index 00000000..3df3e1e6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/GroupBox.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 9 + topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + + label: Text { + x: control.leftPadding + width: control.availableWidth + + text: control.title + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: Rectangle { + y: control.topPadding - control.bottomPadding + width: parent.width + height: parent.height - control.topPadding + control.bottomPadding + + radius: 2 + color: Color.transparent("black", 3 / 255) + border.color: Qt.lighter(Fusion.outline(control.palette), 1.08) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml new file mode 100644 index 00000000..bbd9dc3f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Templates 2.15 as T + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + implicitHeight: contentHeight + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + border.color: "#cacaca" + + gradient: Gradient { + GradientStop { + position: 0 + color: "#fbfbfb" + } + GradientStop { + position: 1 + color: "#e0dfe0" + } + } + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ItemDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ItemDelegate.qml new file mode 100644 index 00000000..4c15ae68 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ItemDelegate.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Label.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Label.qml new file mode 100644 index 00000000..9821f71c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Label.qml @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Label { + id: control + + color: control.palette.windowText + linkColor: control.palette.link +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Menu.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Menu.qml new file mode 100644 index 00000000..8bace6b9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Menu.qml @@ -0,0 +1,95 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 +import QtQuick.Window 2.12 + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 0 + padding: 1 + overlap: 2 + + delegate: MenuItem { } + + contentItem: ListView { + implicitHeight: contentHeight + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height + : false + clip: true + currentIndex: control.currentIndex + + ScrollIndicator.vertical: ScrollIndicator {} + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 20 + + color: control.palette.base + border.color: Fusion.outline(control.palette) + + Rectangle { + z: -1 + x: 1; y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + } + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuBar.qml new file mode 100644 index 00000000..4ba71fee --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuBar.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.MenuBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + delegate: MenuBarItem { } + + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.contentModel + } + } + + background: Rectangle { + implicitHeight: 20 + + color: control.palette.window + + Rectangle { + y: parent.height - height + width: parent.width + height: 1 + color: Fusion.mergedColors(Qt.darker(control.palette.window, 1.2), + Qt.lighter(Fusion.outline(control.palette), 1.4), 60) + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuBarItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuBarItem.qml new file mode 100644 index 00000000..9fa685dc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuBarItem.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.MenuBarItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.down || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + background: Rectangle { + implicitWidth: 20 + implicitHeight: 20 + + color: Fusion.highlight(control.palette) + visible: control.down || control.highlighted + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuItem.qml new file mode 100644 index 00000000..a428fbc8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuItem.qml @@ -0,0 +1,103 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.down || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + arrow: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + width: 20 + + visible: control.subMenu + rotation: control.mirrored ? 90 : -90 + color: control.down || control.hovered || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/arrow.png" + fillMode: Image.Pad + } + + indicator: CheckIndicator { + x: control.mirrored ? control.width - width - control.rightPadding : control.leftPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + control: control + visible: control.checkable + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 20 + + color: Fusion.highlight(control.palette) + visible: control.down || control.highlighted + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuSeparator.qml new file mode 100644 index 00000000..522ada15 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuSeparator.qml @@ -0,0 +1,60 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 5 + verticalPadding: 1 + + contentItem: Rectangle { + implicitWidth: 188 + implicitHeight: 1 + color: Qt.lighter(Fusion.darkShade, 1.06) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Page.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Page.qml new file mode 100644 index 00000000..ce4b1d54 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Page.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + background: Rectangle { + color: control.palette.window + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/PageIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/PageIndicator.qml new file mode 100644 index 00000000..5679b14f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/PageIndicator.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 4 + spacing: 4 + + delegate: Rectangle { + implicitWidth: 6 + implicitHeight: 6 + + radius: width / 2 + color: control.palette.shadow + + opacity: index === currentIndex ? 0.95 : pressed ? 0.75 : 0.45 + Behavior on opacity { OpacityAnimator { duration: 100 } } + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Pane.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Pane.qml new file mode 100644 index 00000000..28be3b47 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Pane.qml @@ -0,0 +1,57 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 9 + + background: Rectangle { + color: control.palette.window + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Popup.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Popup.qml new file mode 100644 index 00000000..25a8c5ae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Popup.qml @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 6 + + background: Rectangle { + color: control.palette.window + border.color: control.palette.mid + radius: 2 + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ProgressBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ProgressBar.qml new file mode 100644 index 00000000..5deade58 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ProgressBar.qml @@ -0,0 +1,117 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: Item { + implicitWidth: 120 + implicitHeight: 24 + scale: control.mirrored ? -1 : 1 + + Rectangle { + height: parent.height + width: (control.indeterminate ? 1.0 : control.position) * parent.width + + radius: 2 + border.color: Qt.darker(Fusion.highlight(control.palette), 1.4) + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.lighter(Fusion.highlight(control.palette), 1.2) + } + GradientStop { + position: 1 + color: Fusion.highlight(control.palette) + } + } + } + + Item { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + visible: control.indeterminate + clip: true + + ColorImage { + width: Math.ceil(parent.width / implicitWidth + 1) * implicitWidth + height: parent.height + + mirror: control.mirrored + fillMode: Image.TileHorizontally + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/progressmask.png" + color: Color.transparent(Qt.lighter(Fusion.highlight(control.palette), 1.2), 160 / 255) + + visible: control.indeterminate + NumberAnimation on x { + running: control.indeterminate && control.visible + from: -31 // progressmask.png width + to: 0 + loops: Animation.Infinite + duration: 750 + } + } + } + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: 24 + + radius: 2 + color: control.palette.base + border.color: Fusion.outline(control.palette) + + Rectangle { + x: 1; y: 1; height: 1 + width: parent.width - 2 + color: Fusion.topShadow + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioButton.qml new file mode 100644 index 00000000..a940aff3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioButton.qml @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioDelegate.qml new file mode 100644 index 00000000..e8555a17 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioDelegate.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + indicator: RadioIndicator { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + control: control + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioIndicator.qml new file mode 100644 index 00000000..c73cd49f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioIndicator.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +Rectangle { + id: indicator + + property Item control + readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) + readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) + + implicitWidth: 14 + implicitHeight: 14 + + radius: width / 2 + color: control.down ? indicator.pressedColor : control.palette.base + border.color: control.visualFocus ? Fusion.highlightedOutline(control.palette) + : Qt.darker(control.palette.window, 1.5) + + Rectangle { + y: 1 + width: parent.width + height: parent.height - 1 + radius: width / 2 + color: "transparent" + border.color: Fusion.topShadow + visible: indicator.control.enabled && !indicator.control.down + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 2.32 + height: parent.height / 2.32 + radius: width / 2 + color: Color.transparent(indicator.checkMarkColor, 180 / 255) + border.color: Color.transparent(indicator.checkMarkColor, 200 / 255) + visible: indicator.control.checked + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RangeSlider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RangeSlider.qml new file mode 100644 index 00000000..7edbed57 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RangeSlider.qml @@ -0,0 +1,82 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + Math.max(first.implicitHandleWidth, + second.implicitHandleWidth) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + Math.max(first.implicitHandleHeight, + second.implicitHandleHeight) + topPadding + bottomPadding) + + first.handle: SliderHandle { + x: control.leftPadding + Math.round(control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + + palette: control.palette + pressed: control.first.pressed + hovered: control.first.hovered + vertical: control.vertical + visualFocus: activeFocus + } + + second.handle: SliderHandle { + x: control.leftPadding + Math.round(control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + + palette: control.palette + pressed: control.second.pressed + hovered: control.second.hovered + vertical: control.vertical + visualFocus: activeFocus + } + + background: SliderGroove { + control: control + offset: control.first.position + progress: control.second.position + visualProgress: control.second.visualPosition + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RoundButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RoundButton.qml new file mode 100644 index 00000000..59bf4c16 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RoundButton.qml @@ -0,0 +1,99 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 32 + implicitHeight: 32 + visible: !control.flat || control.down || control.checked + + gradient: Gradient { + GradientStop { + position: 0 + color: control.down || control.checked ? Fusion.buttonColor(control.palette, control.highlighted, control.down || control.checked, control.hovered) + : Fusion.gradientStart(Fusion.buttonColor(control.palette, control.highlighted, control.down, control.hovered)) + } + GradientStop { + position: 1 + color: control.down || control.checked ? Fusion.buttonColor(control.palette, control.highlighted, control.down || control.checked, control.hovered) + : Fusion.gradientStop(Fusion.buttonColor(control.palette, control.highlighted, control.down, control.hovered)) + } + } + + radius: control.radius + border.color: Fusion.buttonOutline(control.palette, control.highlighted || control.visualFocus, control.enabled) + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + border.color: Fusion.innerContrastLine + color: "transparent" + radius: control.radius + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ScrollBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ScrollBar.qml new file mode 100644 index 00000000..93b58f0e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ScrollBar.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation == Qt.Horizontal ? height / width : width / height + + contentItem: Rectangle { + implicitWidth: control.interactive ? 6 : 2 + implicitHeight: control.interactive ? 6 : 2 + + radius: width / 2 + color: control.pressed ? control.palette.dark : control.palette.mid + opacity: 0.0 + + states: State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + PropertyChanges { target: control.contentItem; opacity: 0.75 } + } + + transitions: Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ScrollIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ScrollIndicator.qml new file mode 100644 index 00000000..efe0b2fa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ScrollIndicator.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + + contentItem: Rectangle { + implicitWidth: 2 + implicitHeight: 2 + + color: control.palette.mid + visible: control.size < 1.0 + opacity: 0.0 + + states: State { + name: "active" + when: control.active + PropertyChanges { target: control.contentItem; opacity: 0.75 } + } + + transitions: [ + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + ] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Slider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Slider.qml new file mode 100644 index 00000000..d212a233 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Slider.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + handle: SliderHandle { + x: control.leftPadding + Math.round(control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + + palette: control.palette + pressed: control.pressed + hovered: control.hovered + vertical: control.vertical + visualFocus: control.visualFocus + } + + background: SliderGroove { + control: control + progress: control.position + visualProgress: control.visualPosition + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SliderGroove.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SliderGroove.qml new file mode 100644 index 00000000..381a02b5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SliderGroove.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +Rectangle { + id: groove + + property Item control + property real offset + property real progress + property real visualProgress + + x: control.horizontal ? 0 : (control.availableWidth - width) / 2 + y: control.horizontal ? (control.availableHeight - height) / 2 : 0 + + implicitWidth: control.horizontal ? 160 : 5 + implicitHeight: control.horizontal ? 5 : 160 + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + + radius: 2 + border.color: Fusion.outline(control.palette) + scale: control.horizontal && control.mirrored ? -1 : 1 + + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.darker(Fusion.grooveColor(groove.control.palette), 1.1) + } + GradientStop { + position: 1 + color: Qt.lighter(Fusion.grooveColor(groove.control.palette), 1.1) + } + } + + Rectangle { + x: groove.control.horizontal ? groove.offset * parent.width : 0 + y: groove.control.horizontal ? 0 : groove.visualProgress * parent.height + width: groove.control.horizontal ? groove.progress * parent.width - groove.offset * parent.width : 5 + height: groove.control.horizontal ? 5 : groove.progress * parent.height - groove.offset * parent.height + + radius: 2 + border.color: Qt.darker(Fusion.highlightedOutline(groove.control.palette), 1.1) + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.highlight(groove.control.palette) + } + GradientStop { + position: 1 + color: Qt.lighter(Fusion.highlight(groove.control.palette), 1.2) + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SliderHandle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SliderHandle.qml new file mode 100644 index 00000000..c53af57e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SliderHandle.qml @@ -0,0 +1,86 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +Rectangle { + id: handle + + property var palette + property bool pressed + property bool hovered + property bool vertical + property bool visualFocus + + implicitWidth: 13 + implicitHeight: 13 + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.gradientStart(Fusion.buttonColor(handle.palette, handle.visualFocus, handle.pressed, handle.hovered)) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(Fusion.buttonColor(handle.palette, handle.visualFocus, handle.pressed, handle.hovered)) + } + } + rotation: handle.vertical ? -90 : 0 + border.width: 1 + border.color: "transparent" + radius: 2 + + Rectangle { + width: parent.width + height: parent.height + border.color: handle.visualFocus ? Fusion.highlightedOutline(handle.palette) : Fusion.outline(handle.palette) + color: "transparent" + radius: 2 + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + border.color: Fusion.innerContrastLine + color: "transparent" + radius: 2 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SpinBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SpinBox.qml new file mode 100644 index 00000000..41754f63 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SpinBox.qml @@ -0,0 +1,182 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.SpinBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + 2 * padding + + Math.max(up.implicitIndicatorWidth, + down.implicitIndicatorWidth)) + implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, + implicitBackgroundHeight, + up.implicitIndicatorHeight + + down.implicitIndicatorHeight) + + padding: 4 + leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) + rightPadding: padding + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + z: 2 + text: control.displayText + + font: control.font + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + } + + up.indicator: PaddedRectangle { + x: control.mirrored ? 1 : parent.width - width - 1 + y: 1 + height: parent.height / 2 - 1 + implicitWidth: 16 + implicitHeight: 10 + + radius: 1.7 + clip: true + topPadding: -2 + leftPadding: -2 + color: control.up.pressed ? Fusion.buttonColor(control.palette, false, true, true) : "transparent" + + ColorImage { + scale: -1 + width: parent.width + height: parent.height + opacity: enabled ? 1.0 : 0.5 + color: control.palette.buttonText + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/arrow.png" + fillMode: Image.Pad + } + } + + down.indicator: PaddedRectangle { + x: control.mirrored ? 1 : parent.width - width - 1 + y: parent.height - height - 1 + height: parent.height / 2 - 1 + implicitWidth: 16 + implicitHeight: 10 + + radius: 1.7 + clip: true + topPadding: -2 + leftPadding: -2 + color: control.down.pressed ? Fusion.buttonColor(control.palette, false, true, true) : "transparent" + + ColorImage { + width: parent.width + height: parent.height + opacity: enabled ? 1.0 : 0.5 + color: control.palette.buttonText + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/arrow.png" + fillMode: Image.Pad + } + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: 24 + + radius: 2 + color: control.palette.base + border.color: control.activeFocus ? Fusion.highlightedOutline(control.palette) : Fusion.outline(control.palette) + + Rectangle { + x: 2 + y: 1 + width: parent.width - 4 + height: 1 + color: Fusion.topShadow + } + + Rectangle { + x: control.mirrored ? 1 : parent.width - width - 1 + y: 1 + width: Math.max(control.up.indicator ? control.up.indicator.width : 0, + control.down.indicator ? control.down.indicator.width : 0) + 1 + height: parent.height - 2 + + radius: 2 + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.gradientStart(Fusion.buttonColor(control.palette, control.visualFocus, false, control.up.hovered || control.down.hovered)) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(Fusion.buttonColor(control.palette, control.visualFocus, false, control.up.hovered || control.down.hovered)) + } + } + + Rectangle { + x: control.mirrored ? parent.width - 1 : 0 + height: parent.height + width: 1 + color: Fusion.outline(control.palette) + } + } + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + color: "transparent" + border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) + visible: control.activeFocus + radius: 1.7 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SplitView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SplitView.qml new file mode 100644 index 00000000..6a04b4da --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SplitView.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2018 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.13 +import QtQuick.Templates 2.13 as T +import QtQuick.Controls 2.13 +import QtQuick.Controls.impl 2.13 +import QtQuick.Controls.Fusion 2.13 + +T.SplitView { + id: control + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: Rectangle { + implicitWidth: control.orientation === Qt.Horizontal ? 2 : control.width + implicitHeight: control.orientation === Qt.Horizontal ? control.height : 2 + color: T.SplitHandle.pressed ? palette.dark + : (T.SplitHandle.hovered ? control.palette.midlight : control.palette.mid) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwipeDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwipeDelegate.qml new file mode 100644 index 00000000..48c531ea --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwipeDelegate.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Switch.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Switch.qml new file mode 100644 index 00000000..bf18003a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Switch.qml @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.text + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwitchDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwitchDelegate.qml new file mode 100644 index 00000000..67c41924 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwitchDelegate.qml @@ -0,0 +1,86 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwitchIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwitchIndicator.qml new file mode 100644 index 00000000..ae7c89a0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwitchIndicator.qml @@ -0,0 +1,137 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +Rectangle { + id: indicator + + property Item control + readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) + readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) + + implicitWidth: 40 + implicitHeight: 16 + + radius: 2 + border.color: Fusion.outline(control.palette) + + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.darker(Fusion.grooveColor(indicator.control.palette), 1.1) + } + GradientStop { + position: 1 + color: Qt.lighter(Fusion.grooveColor(indicator.control.palette), 1.1) + } + } + + Rectangle { + x: indicator.control.mirrored ? handle.x : 0 + width: indicator.control.mirrored ? parent.width - handle.x : handle.x + handle.width + height: parent.height + + opacity: indicator.control.checked ? 1 : 0 + Behavior on opacity { + enabled: !indicator.control.down + NumberAnimation { duration: 80 } + } + + radius: 2 + border.color: Qt.darker(Fusion.highlightedOutline(indicator.control.palette), 1.1) + border.width: indicator.control.enabled ? 1 : 0 + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.highlight(indicator.control.palette) + } + GradientStop { + position: 1 + color: Qt.lighter(Fusion.highlight(indicator.control.palette), 1.2) + } + } + } + + Rectangle { + id: handle + x: Math.max(0, Math.min(parent.width - width, indicator.control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + width: 20 + height: 16 + radius: 2 + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.gradientStart(Fusion.buttonColor(indicator.control.palette, indicator.control.visualFocus, indicator.control.pressed, indicator.control.hovered)) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(Fusion.buttonColor(indicator.control.palette, indicator.control.visualFocus, indicator.control.pressed, indicator.control.hovered)) + } + } + border.width: 1 + border.color: "transparent" + + Rectangle { + width: parent.width + height: parent.height + border.color: indicator.control.visualFocus ? Fusion.highlightedOutline(indicator.control.palette) : Fusion.outline(indicator.control.palette) + color: "transparent" + radius: 2 + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + border.color: Fusion.innerContrastLine + color: "transparent" + radius: 2 + } + } + + Behavior on x { + enabled: !indicator.control.down + SmoothedAnimation { velocity: 200 } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TabBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TabBar.qml new file mode 100644 index 00000000..233a2acd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TabBar.qml @@ -0,0 +1,80 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: -1 + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 0 + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 40 + preferredHighlightEnd: width - 40 + } + + background: Item { + implicitHeight: 21 + + Rectangle { + width: parent.width + height: 1 + y: control.position === T.TabBar.Header ? parent.height - 1 : 0 + color: Fusion.outline(control.palette) + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TabButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TabButton.qml new file mode 100644 index 00000000..136503b6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TabButton.qml @@ -0,0 +1,97 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + horizontalPadding: 4 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + z: checked + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: Rectangle { + y: control.checked || control.TabBar.position !== T.TabBar.Header ? 0 : 2 + implicitHeight: 21 + height: control.height - (control.checked ? 0 : 2) + + border.color: Qt.lighter(Fusion.outline(control.palette), 1.1) + + gradient: Gradient { + GradientStop { + position: 0 + color: control.checked ? Qt.lighter(Fusion.tabFrameColor(control.palette), 1.04) + : Qt.darker(Fusion.tabFrameColor(control.palette), 1.08) + } + GradientStop { + position: control.checked ? 0 : 0.85 + color: control.checked ? Qt.lighter(Fusion.tabFrameColor(control.palette), 1.04) + : Qt.darker(Fusion.tabFrameColor(control.palette), 1.08) + } + GradientStop { + position: 1 + color: control.checked ? Fusion.tabFrameColor(control.palette) + : Qt.darker(Fusion.tabFrameColor(control.palette), 1.16) + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TextArea.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TextArea.qml new file mode 100644 index 00000000..c7107ac4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TextArea.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + padding: 6 + leftPadding: padding + 4 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: Color.transparent(control.color, 0.5) + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TextField.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TextField.qml new file mode 100644 index 00000000..d5b5788d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TextField.qml @@ -0,0 +1,103 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + padding: 4 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: Color.transparent(control.color, 0.5) + verticalAlignment: TextInput.AlignVCenter + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: 24 + + radius: 2 + color: control.palette.base + border.color: control.activeFocus ? Fusion.highlightedOutline(control.palette) : Fusion.outline(control.palette) + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + color: "transparent" + border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) + visible: control.activeFocus + radius: 1.7 + } + + Rectangle { + x: 2 + y: 1 + width: parent.width - 4 + height: 1 + color: Fusion.topShadow + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolBar.qml new file mode 100644 index 00000000..fa069c0b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolBar.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ToolBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + horizontalPadding: 6 + topPadding: control.position === T.ToolBar.Footer ? 1 : 0 + bottomPadding: control.position === T.ToolBar.Header ? 1 : 0 + + background: Rectangle { + implicitHeight: 26 + + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.lighter(control.palette.window, 1.04) + } + GradientStop { + position: 1 + color: control.palette.window + } + } + + Rectangle { + width: parent.width + height: 1 + color: control.position === T.ToolBar.Header ? Fusion.lightShade : Fusion.darkShade + } + + Rectangle { + y: parent.height - height + width: parent.width + height: 1 + color: control.position === T.ToolBar.Header ? Fusion.darkShade : Fusion.lightShade + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolButton.qml new file mode 100644 index 00000000..4c00b402 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolButton.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: ButtonPanel { + implicitWidth: 20 + implicitHeight: 20 + + control: control + visible: control.down || control.checked || control.highlighted || control.visualFocus || control.hovered + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolSeparator.qml new file mode 100644 index 00000000..5d366652 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolSeparator.qml @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: vertical ? 6 : 2 + verticalPadding: vertical ? 2 : 6 + + contentItem: Rectangle { + implicitWidth: vertical ? 2 : 8 + implicitHeight: vertical ? 8 : 2 + color: Qt.darker(control.palette.window, 1.1) + + Rectangle { + x: 1 + width: 1 + height: parent.height + color: Qt.lighter(control.palette.window, 1.1) + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolTip.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolTip.qml new file mode 100644 index 00000000..b505e2c9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolTip.qml @@ -0,0 +1,80 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 + y: -implicitHeight - 3 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 6 + padding: 6 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + color: control.palette.toolTipText + } + + background: Rectangle { + color: control.palette.toolTipBase + border.color: control.palette.toolTipText + + Rectangle { + z: -1 + x: 1; y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.5 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Tumbler.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Tumbler.qml new file mode 100644 index 00000000..0129f06c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Tumbler.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Fusion 2.12 +import QtQuick.Controls.Fusion.impl 2.12 + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 + + delegate: Text { + text: modelData + color: control.palette.windowText + font: control.font + opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml new file mode 100644 index 00000000..b220cdf2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Templates 2.15 as T + +T.VerticalHeaderView { + id: control + + implicitWidth: contentWidth + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + border.color: "#cacaca" + + gradient: Gradient { + GradientStop { + position: 0 + color: "#fbfbfb" + } + GradientStop { + position: 1 + color: "#e0dfe0" + } + } + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/plugins.qmltypes new file mode 100644 index 00000000..681b8b90 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/plugins.qmltypes @@ -0,0 +1,414 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls.Fusion 2.15' + +Module { + dependencies: ["QtQuick.Controls 2.0"] + Component { + name: "QQuickFusionBusyIndicator" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Controls.Fusion.impl/BusyIndicatorImpl 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "color"; type: "QColor" } + Property { name: "running"; type: "bool" } + } + Component { + name: "QQuickFusionDial" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Controls.Fusion.impl/DialImpl 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "highlight"; type: "bool" } + Property { name: "palette"; type: "QPalette" } + } + Component { + name: "QQuickFusionKnob" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Controls.Fusion.impl/KnobImpl 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "palette"; type: "QPalette" } + } + Component { + name: "QQuickFusionStyle" + prototype: "QObject" + exports: ["QtQuick.Controls.Fusion.impl/Fusion 2.3"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Property { name: "lightShade"; type: "QColor"; isReadonly: true } + Property { name: "darkShade"; type: "QColor"; isReadonly: true } + Property { name: "topShadow"; type: "QColor"; isReadonly: true } + Property { name: "innerContrastLine"; type: "QColor"; isReadonly: true } + Method { + name: "highlight" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + } + Method { + name: "highlightedText" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + } + Method { + name: "outline" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + } + Method { + name: "highlightedOutline" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + } + Method { + name: "tabFrameColor" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + } + Method { + name: "buttonColor" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + Parameter { name: "highlighted"; type: "bool" } + Parameter { name: "down"; type: "bool" } + Parameter { name: "hovered"; type: "bool" } + } + Method { + name: "buttonColor" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + Parameter { name: "highlighted"; type: "bool" } + Parameter { name: "down"; type: "bool" } + } + Method { + name: "buttonColor" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + Parameter { name: "highlighted"; type: "bool" } + } + Method { + name: "buttonColor" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + } + Method { + name: "buttonOutline" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + Parameter { name: "highlighted"; type: "bool" } + Parameter { name: "enabled"; type: "bool" } + } + Method { + name: "buttonOutline" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + Parameter { name: "highlighted"; type: "bool" } + } + Method { + name: "buttonOutline" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + } + Method { + name: "gradientStart" + type: "QColor" + Parameter { name: "baseColor"; type: "QColor" } + } + Method { + name: "gradientStop" + type: "QColor" + Parameter { name: "baseColor"; type: "QColor" } + } + Method { + name: "mergedColors" + type: "QColor" + Parameter { name: "colorA"; type: "QColor" } + Parameter { name: "colorB"; type: "QColor" } + Parameter { name: "factor"; type: "int" } + } + Method { + name: "mergedColors" + type: "QColor" + Parameter { name: "colorA"; type: "QColor" } + Parameter { name: "colorB"; type: "QColor" } + } + Method { + name: "grooveColor" + type: "QColor" + Parameter { name: "palette"; type: "QPalette" } + } + } + Component { + name: "QQuickItem" + defaultProperty: "data" + prototype: "QObject" + Enum { + name: "Flags" + values: { + "ItemClipsChildrenToShape": 1, + "ItemAcceptsInputMethod": 2, + "ItemIsFocusScope": 4, + "ItemHasContents": 8, + "ItemAcceptsDrops": 16 + } + } + Enum { + name: "TransformOrigin" + values: { + "TopLeft": 0, + "Top": 1, + "TopRight": 2, + "Left": 3, + "Center": 4, + "Right": 5, + "BottomLeft": 6, + "Bottom": 7, + "BottomRight": 8 + } + } + Property { name: "parent"; type: "QQuickItem"; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "z"; type: "double" } + Property { name: "width"; type: "double" } + Property { name: "height"; type: "double" } + Property { name: "opacity"; type: "double" } + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } + Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } + Property { name: "state"; type: "string" } + Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } + Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } + Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baselineOffset"; type: "double" } + Property { name: "clip"; type: "bool" } + Property { name: "focus"; type: "bool" } + Property { name: "activeFocus"; type: "bool"; isReadonly: true } + Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } + Property { name: "rotation"; type: "double" } + Property { name: "scale"; type: "double" } + Property { name: "transformOrigin"; type: "TransformOrigin" } + Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } + Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } + Property { name: "smooth"; type: "bool" } + Property { name: "antialiasing"; type: "bool" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } + Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } + Signal { + name: "childrenRectChanged" + Parameter { type: "QRectF" } + } + Signal { + name: "baselineOffsetChanged" + Parameter { type: "double" } + } + Signal { + name: "stateChanged" + Parameter { type: "string" } + } + Signal { + name: "focusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusOnTabChanged" + revision: 1 + Parameter { type: "bool" } + } + Signal { + name: "parentChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "transformOriginChanged" + Parameter { type: "TransformOrigin" } + } + Signal { + name: "smoothChanged" + Parameter { type: "bool" } + } + Signal { + name: "antialiasingChanged" + Parameter { type: "bool" } + } + Signal { + name: "clipChanged" + Parameter { type: "bool" } + } + Signal { + name: "windowChanged" + revision: 1 + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "containmentMaskChanged"; revision: 11 } + Method { name: "update" } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "targetSize"; type: "QSize" } + } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "contains" + type: "bool" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapFromItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapFromGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { name: "forceActiveFocus" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { + name: "nextItemInFocusChain" + revision: 1 + type: "QQuickItem*" + Parameter { name: "forward"; type: "bool" } + } + Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } + Method { + name: "childAt" + type: "QQuickItem*" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + name: "QQuickPaintedItem" + defaultProperty: "data" + prototype: "QQuickItem" + Enum { + name: "RenderTarget" + values: { + "Image": 0, + "FramebufferObject": 1, + "InvertedYFramebufferObject": 2 + } + } + Enum { + name: "PerformanceHints" + values: { + "FastFBOResizing": 1 + } + } + Property { name: "contentsSize"; type: "QSize" } + Property { name: "fillColor"; type: "QColor" } + Property { name: "contentsScale"; type: "double" } + Property { name: "renderTarget"; type: "RenderTarget" } + Property { name: "textureSize"; type: "QSize" } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Fusion.impl/ButtonPanel 2.3" + exports: ["QtQuick.Controls.Fusion.impl/ButtonPanel 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "highlighted"; type: "bool" } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Fusion.impl/CheckIndicator 2.3" + exports: ["QtQuick.Controls.Fusion.impl/CheckIndicator 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "pressedColor"; type: "QColor"; isReadonly: true } + Property { name: "checkMarkColor"; type: "QColor"; isReadonly: true } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Fusion.impl/RadioIndicator 2.3" + exports: ["QtQuick.Controls.Fusion.impl/RadioIndicator 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "pressedColor"; type: "QColor"; isReadonly: true } + Property { name: "checkMarkColor"; type: "QColor"; isReadonly: true } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Fusion.impl/SliderGroove 2.3" + exports: ["QtQuick.Controls.Fusion.impl/SliderGroove 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "offset"; type: "double" } + Property { name: "progress"; type: "double" } + Property { name: "visualProgress"; type: "double" } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Fusion.impl/SliderHandle 2.3" + exports: ["QtQuick.Controls.Fusion.impl/SliderHandle 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "palette"; type: "QVariant" } + Property { name: "pressed"; type: "bool" } + Property { name: "hovered"; type: "bool" } + Property { name: "vertical"; type: "bool" } + Property { name: "visualFocus"; type: "bool" } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Fusion.impl/SwitchIndicator 2.3" + exports: ["QtQuick.Controls.Fusion.impl/SwitchIndicator 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "pressedColor"; type: "QColor"; isReadonly: true } + Property { name: "checkMarkColor"; type: "QColor"; isReadonly: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/qmldir new file mode 100644 index 00000000..b584adc8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/qmldir @@ -0,0 +1,4 @@ +module QtQuick.Controls.Fusion +plugin qtquickcontrols2fusionstyleplugin +classname QtQuickControls2FusionStylePlugin +depends QtQuick.Controls 2.5 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll new file mode 100644 index 00000000..19e35877 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/GroupBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/GroupBox.qml new file mode 100644 index 00000000..96f776f2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/GroupBox.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 12 + topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + + label: Text { + x: control.leftPadding + width: control.availableWidth + + text: control.title + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: Rectangle { + y: control.topPadding - control.bottomPadding + width: parent.width + height: parent.height - control.topPadding + control.bottomPadding + + color: "transparent" + border.color: control.palette.mid + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/HorizontalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/HorizontalHeaderView.qml new file mode 100644 index 00000000..ec91af25 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/HorizontalHeaderView.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Templates 2.15 as T + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + implicitHeight: contentHeight + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + color: "#f6f6f6" + border.color: "#e4e4e4" + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ApplicationWindow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ApplicationWindow.qml new file mode 100644 index 00000000..7bfcc3f9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ApplicationWindow.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Window 2.2 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.ApplicationWindow { + id: window + + // ### remove? + overlay.modal: NinePatchImage { + source: Imagine.url + "applicationwindow-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + // ### remove? + overlay.modeless: NinePatchImage { + source: Imagine.url + "applicationwindow-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } + + background: NinePatchImage { + width: window.width + height: window.height + + source: Imagine.url + "applicationwindow-background" + NinePatchImageSelector on source { + states: [ + {"active": window.active} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/BusyIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/BusyIndicator.qml new file mode 100644 index 00000000..652365b1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/BusyIndicator.qml @@ -0,0 +1,88 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: AnimatedImage { + opacity: control.running ? 1 : 0 + playing: control.running || opacity > 0 + visible: control.running || opacity > 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + + source: Imagine.url + "busyindicator-animation" + AnimatedImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"running": control.running}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "busyindicator-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"running": control.running}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Button.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Button.qml new file mode 100644 index 00000000..e7171eb1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Button.qml @@ -0,0 +1,99 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.enabled && control.flat && control.highlighted ? control.palette.highlight + : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat + ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.enabled && control.flat && control.highlighted ? control.palette.highlight + : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat + ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText + } + + background: NinePatchImage { + source: Imagine.url + "button-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"checkable": control.checkable}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"flat": control.flat}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/CheckBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/CheckBox.qml new file mode 100644 index 00000000..b91ceb40 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/CheckBox.qml @@ -0,0 +1,106 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + indicator: Image { + x: text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "checkbox-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checkState === Qt.Checked}, + {"partially-checked": control.checkState === Qt.PartiallyChecked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: NinePatchImage { + source: Imagine.url + "checkbox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checkState === Qt.Checked}, + {"partially-checked": control.checkState === Qt.PartiallyChecked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/CheckDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/CheckDelegate.qml new file mode 100644 index 00000000..19975152 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/CheckDelegate.qml @@ -0,0 +1,118 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + indicator: Image { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "checkdelegate-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checkState === Qt.Checked}, + {"partially-checked": control.checkState === Qt.PartiallyChecked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "checkdelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checkState === Qt.Checked}, + {"partially-checked": control.checkState === Qt.PartiallyChecked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ComboBox.qml new file mode 100644 index 00000000..d657e734 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ComboBox.qml @@ -0,0 +1,174 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Window 2.15 +import QtQuick.Templates 2.15 as T +import QtQuick.Controls 2.15 +import QtQuick.Controls.Imagine 2.15 +import QtQuick.Controls.Imagine.impl 2.15 + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + background ? (background.leftPadding + background.rightPadding) : 0) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + Math.max(implicitContentHeight, + implicitIndicatorHeight) + background ? (background.topPadding + background.bottomPadding) : 0) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + delegate: ItemDelegate { + width: ListView.view.width + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: Image { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "combobox-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"editable": control.editable}, + {"open": control.down}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered}, + {"flat": control.flat} + ] + } + } + + contentItem: T.TextField { + topPadding: control.background ? control.background.topPadding : 0 + leftPadding: control.background ? control.background.leftPadding : 0 + rightPadding: control.background ? control.background.rightPadding : 0 + bottomPadding: control.background ? control.background.bottomPadding : 0 + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + font: control.font + color: control.flat ? control.palette.windowText : control.editable ? control.palette.text : control.palette.buttonText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Text.AlignVCenter + } + + background: NinePatchImage { + source: Imagine.url + "combobox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"editable": control.editable}, + {"open": control.down}, + {"focused": control.visualFocus || (control.editable && control.activeFocus)}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered}, + {"flat": control.flat} + ] + } + } + + popup: T.Popup { + width: control.width + height: Math.min(contentItem.implicitHeight + topPadding + bottomPadding, control.Window.height - topMargin - bottomMargin) + + topMargin: background.topInset + bottomMargin: background.bottomInset + + topPadding: background.topPadding + leftPadding: background.leftPadding + rightPadding: background.rightPadding + bottomPadding: background.bottomPadding + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + palette.text: control.palette.text + palette.highlight: control.palette.highlight + palette.highlightedText: control.palette.highlightedText + palette.windowText: control.palette.windowText + palette.buttonText: control.palette.buttonText + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: NinePatchImage { + source: Imagine.url + "combobox-popup" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"editable": control.editable}, + {"focused": control.visualFocus || (control.editable && control.activeFocus)}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered}, + {"flat": control.flat} + ] + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/DelayButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/DelayButton.qml new file mode 100644 index 00000000..f60b5eae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/DelayButton.qml @@ -0,0 +1,138 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 +import QtGraphicalEffects 1.12 + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: Text { + text: control.text + font: control.font + color: control.palette.buttonText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + + background: NinePatchImage { + source: Imagine.url + "delaybutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + + readonly property NinePatchImage progress: NinePatchImage { + parent: control.background + width: control.progress * parent.width + height: parent.height + visible: false + + source: Imagine.url + "delaybutton-progress" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + readonly property NinePatchImage mask: NinePatchImage { + width: control.background.width + height: control.background.height + visible: false + + source: Imagine.url + "delaybutton-mask" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + readonly property OpacityMask effect: OpacityMask { + parent: control.background + width: source.width + height: source.height + source: control.background.progress + + maskSource: ShaderEffectSource { + sourceItem: control.background.mask + sourceRect: Qt.rect(0, 0, control.background.effect.width, control.background.effect.height) + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Dial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Dial.qml new file mode 100644 index 00000000..f8c394f3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Dial.qml @@ -0,0 +1,105 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + (handle ? handle.implicitWidth : 0) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + (handle ? handle.implicitHeight : 0) + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + handle: Image { + x: background.x + background.width / 2 - handle.width / 2 + y: background.y + background.height / 2 - handle.height / 2 + + source: Imagine.url + "dial-handle" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + + transform: [ + Translate { + y: -Math.min(control.background.width, control.background.height) * 0.4 + control.handle.height / 2 + }, + Rotation { + angle: control.angle + origin.x: handle.width / 2 + origin.y: handle.height / 2 + } + ] + } + + background: NinePatchImage { + x: control.width / 2 - width / 2 + y: control.height / 2 - height / 2 + width: Math.max(64, Math.min(control.width, control.height)) + height: width + fillMode: Image.PreserveAspectFit + + source: Imagine.url + "dial-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Dialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Dialog.qml new file mode 100644 index 00000000..730b7f57 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Dialog.qml @@ -0,0 +1,117 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "dialog-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + font.bold: true + padding: 12 + + background: NinePatchImage { + width: parent.width + height: parent.height + + source: Imagine.url + "dialog-title" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/DialogButtonBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/DialogButtonBox.qml new file mode 100644 index 00000000..c24b29fc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/DialogButtonBox.qml @@ -0,0 +1,85 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + (control.count === 1 ? contentWidth * 2 : contentWidth) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + spacing: 6 + + delegate: Button { + width: control.count === 1 ? control.availableWidth / 2 : undefined + flat: true + } + + contentItem: ListView { + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: NinePatchImage { + source: Imagine.url + "dialogbuttonbox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Drawer.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Drawer.qml new file mode 100644 index 00000000..2c93ba75 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Drawer.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Drawer { + id: control + + parent: T.ApplicationWindow.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + background: NinePatchImage { + source: Imagine.url + "drawer-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim}, + {"top": control.edge === Qt.TopEdge}, + {"left": control.edge === Qt.LeftEdge}, + {"right": control.edge === Qt.RightEdge}, + {"bottom": control.edge === Qt.BottomEdge} + ] + } + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "drawer-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "drawer-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Frame.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Frame.qml new file mode 100644 index 00000000..2bef3c88 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Frame.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "frame-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/GroupBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/GroupBox.qml new file mode 100644 index 00000000..7abdb6f0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/GroupBox.qml @@ -0,0 +1,101 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: (background ? background.topPadding : 0) + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + padding: 12 + + label: Label { + width: control.width + + topPadding: background.topPadding + leftPadding: background.leftPadding + rightPadding: background.rightPadding + bottomPadding: background.bottomPadding + + text: control.title + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + color: control.palette.windowText + + background: NinePatchImage { + width: parent.width + height: parent.height + + source: Imagine.url + "groupbox-title" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } + } + + background: NinePatchImage { + x: -leftInset + y: control.topPadding - control.bottomPadding - topInset + width: control.width + leftInset + rightInset + height: control.height + topInset + bottomInset - control.topPadding + control.padding + + source: Imagine.url + "groupbox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml new file mode 100644 index 00000000..ec91af25 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Templates 2.15 as T + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + implicitHeight: contentHeight + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + color: "#f6f6f6" + border.color: "#e4e4e4" + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ItemDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ItemDelegate.qml new file mode 100644 index 00000000..0b3edeaf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ItemDelegate.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "itemdelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Label.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Label.qml new file mode 100644 index 00000000..82c0ef47 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Label.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Label { + id: control + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + color: control.palette.windowText + linkColor: control.palette.link + + background: NinePatchImage { + source: Imagine.url + "label-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Menu.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Menu.qml new file mode 100644 index 00000000..832565e6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Menu.qml @@ -0,0 +1,108 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 +import QtQuick.Window 2.12 + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topMargin: background ? background.topInset : 0 + leftMargin: background ? background.leftInset : 0 + rightMargin: background ? background.rightInset : 0 + bottomMargin: background ? background.bottomInset : 0 + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + delegate: MenuItem { } + + contentItem: ListView { + implicitHeight: contentHeight + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height + : false + clip: true + currentIndex: control.currentIndex + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: NinePatchImage { + source: Imagine.url + "menu-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "menu-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "menu-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/MenuItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/MenuItem.qml new file mode 100644 index 00000000..f85fc657 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/MenuItem.qml @@ -0,0 +1,138 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.windowText + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.windowText + } + + arrow: Image { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.subMenu + source: Imagine.url + "menuitem-arrow" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + indicator: Image { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.checkable + source: Imagine.url + "menuitem-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "menuitem-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/MenuSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/MenuSeparator.qml new file mode 100644 index 00000000..9ed39087 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/MenuSeparator.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: NinePatchImage { + source: Imagine.url + "menuseparator-separator" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "menuseparator-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Page.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Page.qml new file mode 100644 index 00000000..07ec0a75 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Page.qml @@ -0,0 +1,73 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "page-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/PageIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/PageIndicator.qml new file mode 100644 index 00000000..8da89f5a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/PageIndicator.qml @@ -0,0 +1,92 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + delegate: Image { + source: Imagine.url + "pageindicator-delegate" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": pressed}, + {"current": index === control.currentIndex}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} // ### TODO: context property + ] + } + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } + + background: NinePatchImage { + source: Imagine.url + "pageindicator-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Pane.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Pane.qml new file mode 100644 index 00000000..970b22b9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Pane.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "pane-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Popup.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Popup.qml new file mode 100644 index 00000000..8f69bef4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Popup.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : undefined + leftPadding: background ? background.leftPadding : undefined + rightPadding: background ? background.rightPadding : undefined + bottomPadding: background ? background.bottomPadding : undefined + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "popup-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "popup-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "popup-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ProgressBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ProgressBar.qml new file mode 100644 index 00000000..2f78004e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ProgressBar.qml @@ -0,0 +1,142 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 +import QtGraphicalEffects 1.12 + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: Item { + implicitWidth: control.indeterminate ? animation.implicitWidth || progress.implicitWidth : progress.implicitWidth + implicitHeight: control.indeterminate ? animation.implicitHeight || progress.implicitHeight : progress.implicitHeight + scale: control.mirrored ? -1 : 1 + + readonly property bool hasMask: mask.status !== Image.Null + + readonly property NinePatchImage progress: NinePatchImage { + parent: control.contentItem + width: control.position * parent.width + height: parent.height + visible: !control.indeterminate && !control.contentItem.hasMask + + source: Imagine.url + "progressbar-progress" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"indeterminate": control.indeterminate}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + readonly property AnimatedImage animation: AnimatedImage { + parent: control.contentItem + width: parent.width + height: parent.height + playing: control.indeterminate + visible: control.indeterminate && !control.contentItem.hasMask + + source: Imagine.url + "progressbar-animation" + AnimatedImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + readonly property NinePatchImage mask: NinePatchImage { + width: control.availableWidth + height: control.availableHeight + visible: false + + source: Imagine.url + "progressbar-mask" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"indeterminate": control.indeterminate}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + readonly property OpacityMask effect: OpacityMask { + parent: control.contentItem + width: source.width + height: source.height + source: control.indeterminate ? control.contentItem.animation : control.contentItem.progress + + maskSource: ShaderEffectSource { + sourceItem: control.contentItem.mask + sourceRect: Qt.rect(0, 0, control.contentItem.effect.width, control.contentItem.effect.height) + } + } + } + + background: NinePatchImage { + source: Imagine.url + "progressbar-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"indeterminate": control.indeterminate}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RadioButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RadioButton.qml new file mode 100644 index 00000000..a50bc127 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RadioButton.qml @@ -0,0 +1,104 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + indicator: Image { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "radiobutton-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: NinePatchImage { + source: Imagine.url + "radiobutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RadioDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RadioDelegate.qml new file mode 100644 index 00000000..5a8356f8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RadioDelegate.qml @@ -0,0 +1,116 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + indicator: Image { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "radiodelegate-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "radiodelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RangeSlider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RangeSlider.qml new file mode 100644 index 00000000..47d90cf3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RangeSlider.qml @@ -0,0 +1,134 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + first.implicitHandleWidth + leftPadding + rightPadding, + second.implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + first.implicitHandleHeight + topPadding + bottomPadding, + second.implicitHandleHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + first.handle: Image { + x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + + source: Imagine.url + "rangeslider-handle" + ImageSelector on source { + states: [ + {"first": true}, + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.first.pressed}, + {"focused": control.first.handle.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.first.hovered} + ] + } + } + + second.handle: Image { + x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + + source: Imagine.url + "rangeslider-handle" + ImageSelector on source { + states: [ + {"second": true}, + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.second.pressed}, + {"focused": control.second.handle.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.second.hovered} + ] + } + } + + background: NinePatchImage { + scale: control.horizontal && control.mirrored ? -1 : 1 + + source: Imagine.url + "rangeslider-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + + NinePatchImage { + x: control.horizontal ? control.first.handle.width / 2 + control.first.position * (parent.width - control.first.handle.width) : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : control.first.handle.height / 2 + control.second.visualPosition * (parent.height - control.first.handle.height) + width: control.horizontal ? control.second.position * (parent.width - control.first.handle.width) - control.first.position * (parent.width - control.first.handle.width) : parent.width + height: control.vertical ? control.second.position * (parent.height - control.first.handle.height) - control.first.position * (parent.height - control.first.handle.height): parent.height + + source: Imagine.url + "rangeslider-progress" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RoundButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RoundButton.qml new file mode 100644 index 00000000..fe4cbb36 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RoundButton.qml @@ -0,0 +1,98 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.enabled && control.flat && control.highlighted ? control.palette.highlight + : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat + ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.enabled && control.flat && control.highlighted ? control.palette.highlight + : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat + ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText + } + + background: NinePatchImage { + // ### TODO: radius? + source: Imagine.url + "roundbutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"checkable": control.checkable}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"flat": control.flat}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ScrollBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ScrollBar.qml new file mode 100644 index 00000000..68772e12 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ScrollBar.qml @@ -0,0 +1,119 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation == Qt.Horizontal ? height / width : width / height + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: NinePatchImage { + width: control.availableWidth + height: control.availableHeight + + source: Imagine.url + "scrollbar-handle" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"interactive": control.interactive}, + {"pressed": control.pressed}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + opacity: 0.0 + } + + background: NinePatchImage { + source: Imagine.url + "scrollbar-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"interactive": control.interactive}, + {"pressed": control.pressed}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + opacity: 0.0 + } + + states: [ + State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + } + ] + + transitions: [ + Transition { + to: "active" + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } + PauseAnimation { duration: 3000 } + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } + } + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ScrollIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ScrollIndicator.qml new file mode 100644 index 00000000..896cd876 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ScrollIndicator.qml @@ -0,0 +1,111 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: NinePatchImage { + width: control.availableWidth + height: control.availableHeight + + source: Imagine.url + "scrollindicator-handle" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + opacity: 0.0 + } + + background: NinePatchImage { + source: Imagine.url + "scrollindicator-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + opacity: 0.0 + } + + states: [ + State { + name: "active" + when: (control.active && control.size < 1.0) + } + ] + + transitions: [ + Transition { + to: "active" + NumberAnimation { targets: [contentItem, control.background]; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 5000 } + NumberAnimation { targets: [contentItem, control.background]; property: "opacity"; to: 0.0 } + } + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Slider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Slider.qml new file mode 100644 index 00000000..fe9c3388 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Slider.qml @@ -0,0 +1,120 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + handle: Image { + x: Math.round(control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2)) + y: Math.round(control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height))) + + source: Imagine.url + "slider-handle" + ImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + + background: NinePatchImage { + scale: control.horizontal && control.mirrored ? -1 : 1 + + source: Imagine.url + "slider-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + + NinePatchImage { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal + ? (parent.height - height) / 2 + : control.handle.height / 2 + control.visualPosition * (parent.height - control.handle.height) + width: control.horizontal + ? control.handle.width / 2 + control.position * (parent.width - control.handle.width) + : parent.width + height: control.vertical + ? control.handle.height / 2 + control.position * (parent.height - control.handle.height) + : parent.height + + source: Imagine.url + "slider-progress" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SpinBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SpinBox.qml new file mode 100644 index 00000000..61135806 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SpinBox.qml @@ -0,0 +1,152 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.SpinBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + 2 * padding + + up.implicitIndicatorWidth + + down.implicitIndicatorWidth) + implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, + implicitBackgroundHeight, + up.implicitIndicatorHeight, + down.implicitIndicatorHeight) + + topPadding: background ? background.topPadding : 0 + leftPadding: (background ? background.leftPadding : 0) + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) + rightPadding: (background ? background.rightPadding : 0) + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + z: 2 + text: control.displayText + opacity: control.enabled ? 1 : 0.3 + + font: control.font + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + + NinePatchImage { + z: -1 + width: control.width + height: control.height + visible: control.editable + + source: Imagine.url + "spinbox-editor" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } + } + + up.indicator: NinePatchImage { + x: control.mirrored ? 0 : parent.width - width + height: parent.height + + source: Imagine.url + "spinbox-indicator" + NinePatchImageSelector on source { + states: [ + {"up": true}, + {"disabled": !control.up.indicator.enabled}, + {"editable": control.editable}, + {"pressed": control.up.pressed}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.up.hovered} + ] + } + } + + down.indicator: NinePatchImage { + x: control.mirrored ? parent.width - width : 0 + height: parent.height + + source: Imagine.url + "spinbox-indicator" + NinePatchImageSelector on source { + states: [ + {"down": true}, + {"disabled": !control.down.indicator.enabled}, + {"editable": control.editable}, + {"pressed": control.down.pressed}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.down.hovered} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "spinbox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"editable": control.editable}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SplitView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SplitView.qml new file mode 100644 index 00000000..a4a858f4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SplitView.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.13 +import QtQuick.Templates 2.13 as T +import QtQuick.Controls.Imagine 2.13 +import QtQuick.Controls.Imagine.impl 2.13 + +T.SplitView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: NinePatchImage { + source: Imagine.url + "splitview-handle" + NinePatchImageSelector on source { + states: [ + {"vertical": control.orientation === Qt.Vertical}, + {"horizontal":control.orientation === Qt.Horizontal}, + {"disabled": !control.enabled}, + {"pressed": T.SplitHandle.pressed}, + {"mirrored": control.mirrored}, + {"hovered": T.SplitHandle.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/StackView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/StackView.qml new file mode 100644 index 00000000..407b1d15 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/StackView.qml @@ -0,0 +1,91 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.StackView { + id: control + + implicitWidth: implicitBackgroundWidth + implicitHeight: implicitBackgroundHeight + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + popEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + popExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * control.width; duration: 400; easing.type: Easing.OutCubic } + } + + pushEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + pushExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } + } + + replaceEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + replaceExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } + } + + background: NinePatchImage { + source: Imagine.url + "stackview-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwipeDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwipeDelegate.qml new file mode 100644 index 00000000..3850253f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwipeDelegate.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "swipedelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwipeView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwipeView.qml new file mode 100644 index 00000000..70d65fef --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwipeView.qml @@ -0,0 +1,90 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.SwipeView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: ListView { + model: control.contentModel + interactive: control.interactive + currentIndex: control.currentIndex + focus: control.focus + + spacing: control.spacing + orientation: control.orientation + snapMode: ListView.SnapOneItem + boundsBehavior: Flickable.StopAtBounds + + highlightRangeMode: ListView.StrictlyEnforceRange + preferredHighlightBegin: 0 + preferredHighlightEnd: 0 + highlightMoveDuration: 250 + } + + background: NinePatchImage { + source: Imagine.url + "swipeview-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"interactive": control.interactive}, + {"focused": control.contentItem.activeFocus}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Switch.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Switch.qml new file mode 100644 index 00000000..50b407ac --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Switch.qml @@ -0,0 +1,134 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + indicator: NinePatchImage { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + width: Math.max(implicitWidth, handle.leftPadding && handle.rightPadding ? handle.implicitWidth : 2 * handle.implicitWidth) + height: Math.max(implicitHeight, handle.implicitHeight) + + source: Imagine.url + "switch-indicator" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + + property NinePatchImage handle: NinePatchImage { + readonly property real minPos: parent.leftPadding - leftPadding + readonly property real maxPos: parent.width - width + rightPadding - parent.rightPadding + readonly property real dragPos: control.visualPosition * parent.width - (width / 2) + + parent: control.indicator + + x: Math.max(minPos, Math.min(maxPos, control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + + source: Imagine.url + "switch-handle" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + + Behavior on x { + enabled: !control.down + SmoothedAnimation { velocity: 200 } + } + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: NinePatchImage { + source: Imagine.url + "switch-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwitchDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwitchDelegate.qml new file mode 100644 index 00000000..73e5aac0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwitchDelegate.qml @@ -0,0 +1,147 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + indicator: NinePatchImage { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + width: Math.max(implicitWidth, handle.leftPadding && handle.rightPadding ? handle.implicitWidth : 2 * handle.implicitWidth) + height: Math.max(implicitHeight, handle.implicitHeight) + + source: Imagine.url + "switchdelegate-indicator" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + + property NinePatchImage handle: NinePatchImage { + readonly property real minPos: parent.leftPadding - leftPadding + readonly property real maxPos: parent.width - width + rightPadding - parent.rightPadding + readonly property real dragPos: control.visualPosition * parent.width - (width / 2) + + parent: control.indicator + + x: Math.max(minPos, Math.min(maxPos, control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + + source: Imagine.url + "switchdelegate-handle" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + + Behavior on x { + enabled: !control.down + SmoothedAnimation { velocity: 200 } + } + } + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "switchdelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TabBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TabBar.qml new file mode 100644 index 00000000..69516e03 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TabBar.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 0 + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 48 + preferredHighlightEnd: width - 48 + } + + background: NinePatchImage { + source: Imagine.url + "tabbar-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"header": control.position === T.TabBar.Header }, + {"footer": control.position === T.TabBar.Footer }, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TabButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TabButton.qml new file mode 100644 index 00000000..1cdcfc4b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TabButton.qml @@ -0,0 +1,92 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: NinePatchImage { + source: Imagine.url + "tabbutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TextArea.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TextArea.qml new file mode 100644 index 00000000..c7505b52 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TextArea.qml @@ -0,0 +1,97 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Qt.AlignVCenter + placeholderTextColor: Color.transparent(control.color, 0.5) + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: NinePatchImage { + source: Imagine.url + "textarea-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TextField.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TextField.qml new file mode 100644 index 00000000..3ff0ad44 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TextField.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: Color.transparent(control.color, 0.5) + verticalAlignment: Qt.AlignVCenter + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: NinePatchImage { + source: Imagine.url + "textfield-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolBar.qml new file mode 100644 index 00000000..99bcd3ba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolBar.qml @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.ToolBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "toolbar-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"header": control.position === T.ToolBar.Header }, + {"footer": control.position === T.ToolBar.Footer }, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolButton.qml new file mode 100644 index 00000000..cc22f88d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolButton.qml @@ -0,0 +1,95 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: NinePatchImage { + source: Imagine.url + "toolbutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"checkable": control.checkable}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"flat": control.flat}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolSeparator.qml new file mode 100644 index 00000000..c0887e4d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolSeparator.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: NinePatchImage { + source: Imagine.url + "toolseparator-separator" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "toolseparator-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolTip.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolTip.qml new file mode 100644 index 00000000..21d75ebc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolTip.qml @@ -0,0 +1,85 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 - (background ? background.leftInset : 0) + y: -implicitHeight - (background ? background.topInset : 0) + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topMargin: background ? background.topInset : 0 + leftMargin: background ? background.leftInset : 0 + rightMargin: background ? background.rightInset : 0 + bottomMargin: background ? background.bottomInset : 0 + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + color: control.palette.toolTipText + } + + background: NinePatchImage { + source: Imagine.url + "tooltip-background" + NinePatchImageSelector on source { + states: [ + // ### + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Tumbler.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Tumbler.qml new file mode 100644 index 00000000..12025cc5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Tumbler.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Imagine 2.12 +import QtQuick.Controls.Imagine.impl 2.12 + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + delegate: Text { + text: modelData + font: control.font + color: control.palette.text + opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } + + background: NinePatchImage { + source: Imagine.url + "tumbler-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.hovered} + ] + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml new file mode 100644 index 00000000..3fc9ca5a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Templates 2.15 as T + +T.VerticalHeaderView { + id: control + + implicitWidth: contentWidth + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + color: "#f6f6f6" + border.color: "#e4e4e4" + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/plugins.qmltypes new file mode 100644 index 00000000..785b6dba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/plugins.qmltypes @@ -0,0 +1,347 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls.Imagine 2.15' + +Module { + dependencies: ["QtQuick.Controls 2.0"] + Component { + name: "QQuickAnimatedImageSelector" + prototype: "QQuickImageSelector" + exports: ["QtQuick.Controls.Imagine.impl/AnimatedImageSelector 2.3"] + exportMetaObjectRevisions: [0] + } + Component { name: "QQuickAttachedObject"; prototype: "QObject" } + Component { + name: "QQuickImage" + defaultProperty: "data" + prototype: "QQuickImageBase" + Enum { + name: "HAlignment" + values: { + "AlignLeft": 1, + "AlignRight": 2, + "AlignHCenter": 4 + } + } + Enum { + name: "VAlignment" + values: { + "AlignTop": 32, + "AlignBottom": 64, + "AlignVCenter": 128 + } + } + Enum { + name: "FillMode" + values: { + "Stretch": 0, + "PreserveAspectFit": 1, + "PreserveAspectCrop": 2, + "Tile": 3, + "TileVertically": 4, + "TileHorizontally": 5, + "Pad": 6 + } + } + Property { name: "fillMode"; type: "FillMode" } + Property { name: "paintedWidth"; type: "double"; isReadonly: true } + Property { name: "paintedHeight"; type: "double"; isReadonly: true } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "mipmap"; revision: 3; type: "bool" } + Property { name: "autoTransform"; revision: 5; type: "bool" } + Property { name: "sourceClipRect"; revision: 15; type: "QRectF" } + Signal { name: "paintedGeometryChanged" } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "VAlignment" } + } + Signal { + name: "mipmapChanged" + revision: 3 + Parameter { type: "bool" } + } + Signal { name: "autoTransformChanged"; revision: 5 } + } + Component { + name: "QQuickImageBase" + defaultProperty: "data" + prototype: "QQuickImplicitSizeItem" + Enum { + name: "LoadPixmapOptions" + values: { + "NoOption": 0, + "HandleDPR": 1, + "UseProviderOptions": 2 + } + } + Enum { + name: "Status" + values: { + "Null": 0, + "Ready": 1, + "Loading": 2, + "Error": 3 + } + } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "source"; type: "QUrl" } + Property { name: "progress"; type: "double"; isReadonly: true } + Property { name: "asynchronous"; type: "bool" } + Property { name: "cache"; type: "bool" } + Property { name: "sourceSize"; type: "QSize" } + Property { name: "mirror"; type: "bool" } + Property { name: "currentFrame"; revision: 14; type: "int" } + Property { name: "frameCount"; revision: 14; type: "int"; isReadonly: true } + Property { name: "colorSpace"; revision: 15; type: "QColorSpace" } + Signal { + name: "sourceChanged" + Parameter { type: "QUrl" } + } + Signal { + name: "statusChanged" + Parameter { type: "QQuickImageBase::Status" } + } + Signal { + name: "progressChanged" + Parameter { name: "progress"; type: "double" } + } + Signal { name: "currentFrameChanged"; revision: 14 } + Signal { name: "frameCountChanged"; revision: 14 } + Signal { name: "sourceClipRectChanged"; revision: 15 } + Signal { name: "colorSpaceChanged"; revision: 15 } + } + Component { + name: "QQuickImageSelector" + prototype: "QObject" + exports: ["QtQuick.Controls.Imagine.impl/ImageSelector 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "source"; type: "QUrl"; isReadonly: true } + Property { name: "name"; type: "string" } + Property { name: "path"; type: "string" } + Property { name: "states"; type: "QVariantList" } + Property { name: "separator"; type: "string" } + Property { name: "cache"; type: "bool" } + } + Component { + name: "QQuickImagineStyle" + prototype: "QQuickAttachedObject" + exports: ["QtQuick.Controls.Imagine/Imagine 2.3"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "path"; type: "string" } + Property { name: "url"; type: "QUrl"; isReadonly: true } + } + Component { + name: "QQuickImplicitSizeItem" + defaultProperty: "data" + prototype: "QQuickItem" + Property { name: "implicitWidth"; type: "double"; isReadonly: true } + Property { name: "implicitHeight"; type: "double"; isReadonly: true } + } + Component { + name: "QQuickItem" + defaultProperty: "data" + prototype: "QObject" + Enum { + name: "Flags" + values: { + "ItemClipsChildrenToShape": 1, + "ItemAcceptsInputMethod": 2, + "ItemIsFocusScope": 4, + "ItemHasContents": 8, + "ItemAcceptsDrops": 16 + } + } + Enum { + name: "TransformOrigin" + values: { + "TopLeft": 0, + "Top": 1, + "TopRight": 2, + "Left": 3, + "Center": 4, + "Right": 5, + "BottomLeft": 6, + "Bottom": 7, + "BottomRight": 8 + } + } + Property { name: "parent"; type: "QQuickItem"; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "z"; type: "double" } + Property { name: "width"; type: "double" } + Property { name: "height"; type: "double" } + Property { name: "opacity"; type: "double" } + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } + Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } + Property { name: "state"; type: "string" } + Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } + Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } + Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baselineOffset"; type: "double" } + Property { name: "clip"; type: "bool" } + Property { name: "focus"; type: "bool" } + Property { name: "activeFocus"; type: "bool"; isReadonly: true } + Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } + Property { name: "rotation"; type: "double" } + Property { name: "scale"; type: "double" } + Property { name: "transformOrigin"; type: "TransformOrigin" } + Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } + Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } + Property { name: "smooth"; type: "bool" } + Property { name: "antialiasing"; type: "bool" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } + Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } + Signal { + name: "childrenRectChanged" + Parameter { type: "QRectF" } + } + Signal { + name: "baselineOffsetChanged" + Parameter { type: "double" } + } + Signal { + name: "stateChanged" + Parameter { type: "string" } + } + Signal { + name: "focusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusOnTabChanged" + revision: 1 + Parameter { type: "bool" } + } + Signal { + name: "parentChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "transformOriginChanged" + Parameter { type: "TransformOrigin" } + } + Signal { + name: "smoothChanged" + Parameter { type: "bool" } + } + Signal { + name: "antialiasingChanged" + Parameter { type: "bool" } + } + Signal { + name: "clipChanged" + Parameter { type: "bool" } + } + Signal { + name: "windowChanged" + revision: 1 + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "containmentMaskChanged"; revision: 11 } + Method { name: "update" } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "targetSize"; type: "QSize" } + } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "contains" + type: "bool" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapFromItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapFromGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { name: "forceActiveFocus" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { + name: "nextItemInFocusChain" + revision: 1 + type: "QQuickItem*" + Parameter { name: "forward"; type: "bool" } + } + Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } + Method { + name: "childAt" + type: "QQuickItem*" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + name: "QQuickNinePatchImage" + defaultProperty: "data" + prototype: "QQuickImage" + exports: ["QtQuick.Controls.Imagine.impl/NinePatchImage 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "topPadding"; type: "double"; isReadonly: true } + Property { name: "leftPadding"; type: "double"; isReadonly: true } + Property { name: "rightPadding"; type: "double"; isReadonly: true } + Property { name: "bottomPadding"; type: "double"; isReadonly: true } + Property { name: "topInset"; type: "double"; isReadonly: true } + Property { name: "leftInset"; type: "double"; isReadonly: true } + Property { name: "rightInset"; type: "double"; isReadonly: true } + Property { name: "bottomInset"; type: "double"; isReadonly: true } + } + Component { + name: "QQuickNinePatchImageSelector" + prototype: "QQuickImageSelector" + exports: ["QtQuick.Controls.Imagine.impl/NinePatchImageSelector 2.3"] + exportMetaObjectRevisions: [0] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/qmldir new file mode 100644 index 00000000..7b4b3ea0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/qmldir @@ -0,0 +1,5 @@ +module QtQuick.Controls.Imagine +plugin qtquickcontrols2imaginestyleplugin +classname QtQuickControls2ImagineStylePlugin +depends QtQuick.Controls 2.5 +depends QtGraphicalEffects 1.0 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll new file mode 100644 index 00000000..7cdb86de Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ItemDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ItemDelegate.qml new file mode 100644 index 00000000..6229e2bb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ItemDelegate.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 8 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? control.palette.highlightedText : control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted || control.visualFocus + color: Color.blend(control.down ? control.palette.midlight : control.palette.light, + control.palette.highlight, control.visualFocus ? 0.15 : 0.0) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Label.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Label.qml new file mode 100644 index 00000000..9a42635f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Label.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Label { + id: control + + color: control.palette.windowText + linkColor: control.palette.link +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ApplicationWindow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ApplicationWindow.qml new file mode 100644 index 00000000..6a10ed7f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ApplicationWindow.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Window 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.ApplicationWindow { + id: window + + color: Material.backgroundColor + + overlay.modal: Rectangle { + color: window.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + overlay.modeless: Rectangle { + color: window.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/BoxShadow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/BoxShadow.qml new file mode 100644 index 00000000..5a746c0f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/BoxShadow.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +/* + A implementation of CSS's box-shadow, used by ElevationEffect for a Material Design + elevation shadow effect. + */ +RectangularGlow { + // The 4 properties from CSS box-shadow, plus the inherited color property + property int offsetX + property int offsetY + property int blurRadius + property int spreadRadius + + // The source item the shadow is being applied to, used for correctly + // calculating the corner radious + property Item source + + property bool fullWidth + property bool fullHeight + + x: (parent.width - width)/2 + offsetX + y: (parent.height - height)/2 + offsetY + + implicitWidth: source ? source.width : parent.width + implicitHeight: source ? source.height : parent.height + + width: implicitWidth + 2 * spreadRadius + (fullWidth ? 2 * cornerRadius : 0) + height: implicitHeight + 2 * spreadRadius + (fullHeight ? 2 * cornerRadius : 0) + glowRadius: blurRadius/2 + spread: 0.05 + cornerRadius: blurRadius + (source && source.radius || 0) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/BusyIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/BusyIndicator.qml new file mode 100644 index 00000000..8173248c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/BusyIndicator.qml @@ -0,0 +1,61 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + + contentItem: BusyIndicatorImpl { + implicitWidth: control.Material.touchTarget + implicitHeight: control.Material.touchTarget + color: control.Material.accentColor + + running: control.running + opacity: control.running ? 1 : 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Button.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Button.qml new file mode 100644 index 00000000..04c6664c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Button.qml @@ -0,0 +1,118 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topInset: 6 + bottomInset: 6 + padding: 12 + horizontalPadding: padding - 4 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: !enabled ? Material.hintTextColor : + flat && highlighted ? Material.accentColor : + highlighted ? Material.primaryHighlightedTextColor : Material.foreground + + Material.elevation: flat ? control.down || control.hovered ? 2 : 0 + : control.down ? 8 : 2 + Material.background: flat ? "transparent" : undefined + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : + control.flat && control.highlighted ? control.Material.accentColor : + control.highlighted ? control.Material.primaryHighlightedTextColor : control.Material.foreground + } + + background: Rectangle { + implicitWidth: 64 + implicitHeight: control.Material.buttonHeight + + radius: 2 + color: !control.enabled ? control.Material.buttonDisabledColor : + control.highlighted ? control.Material.highlightedButtonColor : control.Material.buttonColor + + PaddedRectangle { + y: parent.height - 4 + width: parent.width + height: 4 + radius: 2 + topPadding: -2 + clip: true + visible: control.checkable && (!control.highlighted || control.flat) + color: control.checked && control.enabled ? control.Material.accentColor : control.Material.secondaryTextColor + } + + // The layer is disabled when the button color is transparent so you can do + // Material.background: "transparent" and get a proper flat button without needing + // to set Material.elevation as well + layer.enabled: control.enabled && control.Material.buttonColor.a > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + + Ripple { + clipRadius: 2 + width: parent.width + height: parent.height + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.flat && control.highlighted ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckBox.qml new file mode 100644 index 00000000..159e2f12 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckBox.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 8 + padding: 8 + verticalPadding: padding + 7 + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + + Ripple { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 28; height: 28 + + z: -1 + anchor: control + pressed: control.pressed + active: control.down || control.visualFocus || control.hovered + color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckDelegate.qml new file mode 100644 index 00000000..c7d7575e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckDelegate.qml @@ -0,0 +1,98 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.Material.rippleColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckIndicator.qml new file mode 100644 index 00000000..7caf8553 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckIndicator.qml @@ -0,0 +1,120 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +Rectangle { + id: indicatorItem + implicitWidth: 18 + implicitHeight: 18 + color: "transparent" + border.color: !control.enabled ? control.Material.hintTextColor + : checkState !== Qt.Unchecked ? control.Material.accentColor : control.Material.secondaryTextColor + border.width: checkState !== Qt.Unchecked ? width / 2 : 2 + radius: 2 + + property Item control + property int checkState: control.checkState + + Behavior on border.width { + NumberAnimation { + duration: 100 + easing.type: Easing.OutCubic + } + } + + Behavior on border.color { + ColorAnimation { + duration: 100 + easing.type: Easing.OutCubic + } + } + + // TODO: This needs to be transparent + Image { + id: checkImage + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 14 + height: 14 + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Material/images/check.png" + fillMode: Image.PreserveAspectFit + + scale: indicatorItem.checkState === Qt.Checked ? 1 : 0 + Behavior on scale { NumberAnimation { duration: 100 } } + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 12 + height: 3 + + scale: indicatorItem.checkState === Qt.PartiallyChecked ? 1 : 0 + Behavior on scale { NumberAnimation { duration: 100 } } + } + + states: [ + State { + name: "checked" + when: indicatorItem.checkState === Qt.Checked + }, + State { + name: "partiallychecked" + when: indicatorItem.checkState === Qt.PartiallyChecked + } + ] + + transitions: Transition { + SequentialAnimation { + NumberAnimation { + target: indicatorItem + property: "scale" + // Go down 2 pixels in size. + to: 1 - 2 / indicatorItem.width + duration: 120 + } + NumberAnimation { + target: indicatorItem + property: "scale" + to: 1 + duration: 120 + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ComboBox.qml new file mode 100644 index 00000000..a9bdd934 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ComboBox.qml @@ -0,0 +1,180 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Window 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Controls.impl 2.15 +import QtQuick.Templates 2.15 as T +import QtQuick.Controls.Material 2.15 +import QtQuick.Controls.Material.impl 2.15 + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + topInset: 6 + bottomInset: 6 + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + Material.elevation: flat ? control.pressed || control.hovered ? 2 : 0 + : control.pressed ? 8 : 2 + Material.background: flat ? "transparent" : undefined + Material.foreground: flat ? undefined : Material.primaryTextColor + + delegate: MenuItem { + width: ListView.view.width + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData + Material.foreground: control.currentIndex === index ? ListView.view.contentItem.Material.accent : ListView.view.contentItem.Material.foreground + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Material/images/drop-indicator.png" + } + + contentItem: T.TextField { + padding: 6 + leftPadding: control.editable ? 2 : control.mirrored ? 0 : 12 + rightPadding: control.editable ? 2 : control.mirrored ? 12 : 0 + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + selectionColor: control.Material.accentColor + selectedTextColor: control.Material.primaryHighlightedTextColor + verticalAlignment: Text.AlignVCenter + + cursorDelegate: CursorDelegate { } + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: control.Material.buttonHeight + + radius: control.flat ? 0 : 2 + color: !control.editable ? control.Material.dialogColor : "transparent" + + layer.enabled: control.enabled && !control.editable && control.Material.background.a > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + + Rectangle { + visible: control.editable + y: parent.y + control.baselineOffset + width: parent.width + height: control.activeFocus ? 2 : 1 + color: control.editable && control.activeFocus ? control.Material.accentColor : control.Material.hintTextColor + } + + Ripple { + clip: control.flat + clipRadius: control.flat ? 0 : 2 + x: control.editable && control.indicator ? control.indicator.x : 0 + width: control.editable && control.indicator ? control.indicator.width : parent.width + height: parent.height + pressed: control.pressed + anchor: control.editable && control.indicator ? control.indicator : control + active: control.pressed || control.visualFocus || control.hovered + color: control.Material.rippleColor + } + } + + popup: T.Popup { + y: control.editable ? control.height - 5 : 0 + width: control.width + height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) + transformOrigin: Item.Top + topMargin: 12 + bottomMargin: 12 + + Material.theme: control.Material.theme + Material.accent: control.Material.accent + Material.primary: control.Material.primary + + enter: Transition { + // grow_fade_in + NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } + } + + exit: Transition { + // shrink_fade_out + NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: Rectangle { + radius: 2 + color: parent.Material.dialogColor + + layer.enabled: control.enabled + layer.effect: ElevationEffect { + elevation: 8 + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CursorDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CursorDelegate.qml new file mode 100644 index 00000000..fe2d25c6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CursorDelegate.qml @@ -0,0 +1,65 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Material 2.12 + +Rectangle { + id: cursor + + color: parent.Material.accentColor + width: 2 + visible: parent.activeFocus && !parent.readOnly && parent.selectionStart === parent.selectionEnd + + Connections { + target: cursor.parent + function onCursorPositionChanged() { + // keep a moving cursor visible + cursor.opacity = 1 + timer.restart() + } + } + + Timer { + id: timer + running: cursor.parent.activeFocus && !cursor.parent.readOnly && interval != 0 + repeat: true + interval: Qt.styleHints.cursorFlashTime / 2 + onTriggered: cursor.opacity = !cursor.opacity ? 1 : 0 + // force the cursor visible when gaining focus + onRunningChanged: cursor.opacity = 1 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/DelayButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/DelayButton.qml new file mode 100644 index 00000000..6b5ef3ad --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/DelayButton.qml @@ -0,0 +1,117 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topInset: 6 + bottomInset: 6 + padding: 12 + horizontalPadding: padding - 4 + + Material.elevation: control.down ? 8 : 2 + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: Text { + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : control.Material.foreground + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + + // TODO: Add a proper ripple/ink effect for mouse/touch input and focus state + background: Rectangle { + implicitWidth: 64 + implicitHeight: control.Material.buttonHeight + + radius: 2 + color: !control.enabled ? control.Material.buttonDisabledColor : control.Material.buttonColor + + PaddedRectangle { + y: parent.height - 4 + width: parent.width + height: 4 + radius: 2 + topPadding: -2 + clip: true + color: control.checked && control.enabled ? control.Material.accentColor : control.Material.secondaryTextColor + + PaddedRectangle { + width: parent.width * control.progress + height: 4 + radius: 2 + topPadding: -2 + rightPadding: Math.max(-2, width - parent.width) + clip: true + color: control.Material.accentColor + } + } + + layer.enabled: control.enabled && control.Material.buttonColor.a > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + + Ripple { + clipRadius: 2 + width: parent.width + height: parent.height + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.Material.rippleColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Dial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Dial.qml new file mode 100644 index 00000000..1f80a7fe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Dial.qml @@ -0,0 +1,85 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 100 // ### remove 100 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 100 // ### remove 100 in Qt 6 + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 100 + + x: control.width / 2 - width / 2 + y: control.height / 2 - height / 2 + width: Math.max(64, Math.min(control.width, control.height)) + height: width + color: "transparent" + radius: width / 2 + + border.color: control.enabled ? control.Material.accentColor : control.Material.hintTextColor + } + + handle: SliderHandle { + x: control.background.x + control.background.width / 2 - control.handle.width / 2 + y: control.background.y + control.background.height / 2 - control.handle.height / 2 + transform: [ + Translate { + y: -control.background.height * 0.4 + control.handle.height / 2 + }, + Rotation { + angle: control.angle + origin.x: control.handle.width / 2 + origin.y: control.handle.height / 2 + } + ] + implicitWidth: 10 + implicitHeight: 10 + + value: control.value + handleHasFocus: control.visualFocus + handlePressed: control.pressed + handleHovered: control.hovered + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Dialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Dialog.qml new file mode 100644 index 00000000..364c0e57 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Dialog.qml @@ -0,0 +1,113 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 24 + topPadding: 20 + + Material.elevation: 24 + + enter: Transition { + // grow_fade_in + NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } + } + + exit: Transition { + // shrink_fade_out + NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + background: Rectangle { + radius: 2 + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + padding: 24 + bottomPadding: 0 + // TODO: QPlatformTheme::TitleBarFont + font.bold: true + font.pixelSize: 16 + background: PaddedRectangle { + radius: 2 + color: control.Material.dialogColor + bottomPadding: -2 + clip: true + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + T.Overlay.modeless: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/DialogButtonBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/DialogButtonBox.qml new file mode 100644 index 00000000..c53b8210 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/DialogButtonBox.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 8 + padding: 8 + verticalPadding: 2 + alignment: Qt.AlignRight + buttonLayout: T.DialogButtonBox.AndroidLayout + + Material.foreground: Material.accent + + delegate: Button { flat: true } + + contentItem: ListView { + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: PaddedRectangle { + implicitHeight: control.Material.dialogButtonBoxHeight + radius: 2 + color: control.Material.dialogColor + // Rounded corners should be only at the top or at the bottom + topPadding: control.position === T.DialogButtonBox.Footer ? -2 : 0 + bottomPadding: control.position === T.DialogButtonBox.Header ? -2 : 0 + clip: true + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Drawer.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Drawer.qml new file mode 100644 index 00000000..3d64cdef --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Drawer.qml @@ -0,0 +1,91 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: !dim && edge === Qt.BottomEdge && Material.elevation === 0 + leftPadding: !dim && edge === Qt.RightEdge && Material.elevation === 0 + rightPadding: !dim && edge === Qt.LeftEdge && Material.elevation === 0 + bottomPadding: !dim && edge === Qt.TopEdge && Material.elevation === 0 + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + Material.elevation: !interactive && !dim ? 0 : 16 + + background: Rectangle { + color: control.Material.dialogColor + + Rectangle { + readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge + width: horizontal ? 1 : parent.width + height: horizontal ? parent.height : 1 + color: control.Material.dividerColor + x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 + y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 + visible: !control.dim && control.Material.elevation === 0 + } + + layer.enabled: control.position > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + fullHeight: true + } + } + + T.Overlay.modal: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + T.Overlay.modeless: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ElevationEffect.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ElevationEffect.qml new file mode 100644 index 00000000..73a2a238 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ElevationEffect.qml @@ -0,0 +1,279 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +/* + An effect for standard Material Design elevation shadows. Useful for using as \c layer.effect. + */ +Item { + id: effect + + /* + The source the effect is applied to. + */ + property var source + + /* + The elevation of the \l source Item. + */ + property int elevation: 0 + + /* + Set to \c true if the \l source Item is the same width as its parent and the shadow + should be full width instead of rounding around the corner of the Item. + + \sa fullHeight + */ + property bool fullWidth: false + + /* + Set to \c true if the \l source Item is the same height as its parent and the shadow + should be full height instead of rounding around the corner of the Item. + + \sa fullWidth + */ + property bool fullHeight: false + + /* + \internal + + The actual source Item the effect is applied to. + */ + readonly property Item sourceItem: source.sourceItem + + /* + * The following shadow values are taken from Angular Material + * + * The MIT License (MIT) + * + * Copyright (c) 2014-2016 Google, Inc. http://angularjs.org + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + /* + \internal + + The shadows to use for each possible elevation. There are three shadows that when combined + make up the elevation. + */ + readonly property var _shadows: [ + [{offset: 0, blur: 0, spread: 0}, + {offset: 0, blur: 0, spread: 0}, + {offset: 0, blur: 0, spread: 0}], + + [{offset: 1, blur: 3, spread: 0}, + {offset: 1, blur: 1, spread: 0}, + {offset: 2, blur: 1, spread: -1}], + + [{offset: 1, blur: 5, spread: 0}, + {offset: 2, blur: 2, spread: 0}, + {offset: 3, blur: 1, spread: -2}], + + [{offset: 1, blur: 8, spread: 0}, + {offset: 3, blur: 4, spread: 0}, + {offset: 3, blur: 3, spread: -2}], + + [{offset: 2, blur: 4, spread: -1}, + {offset: 4, blur: 5, spread: 0}, + {offset: 1, blur: 10, spread: 0}], + + [{offset: 3, blur: 5, spread: -1}, + {offset: 5, blur: 8, spread: 0}, + {offset: 1, blur: 14, spread: 0}], + + [{offset: 3, blur: 5, spread: -1}, + {offset: 6, blur: 10, spread: 0}, + {offset: 1, blur: 18, spread: 0}], + + [{offset: 4, blur: 5, spread: -2}, + {offset: 7, blur: 10, spread: 1}, + {offset: 2, blur: 16, spread: 1}], + + [{offset: 5, blur: 5, spread: -3}, + {offset: 8, blur: 10, spread: 1}, + {offset: 3, blur: 14, spread: 2}], + + [{offset: 5, blur: 6, spread: -3}, + {offset: 9, blur: 12, spread: 1}, + {offset: 3, blur: 16, spread: 2}], + + [{offset: 6, blur: 6, spread: -3}, + {offset: 10, blur: 14, spread: 1}, + {offset: 4, blur: 18, spread: 3}], + + [{offset: 6, blur: 7, spread: -4}, + {offset: 11, blur: 15, spread: 1}, + {offset: 4, blur: 20, spread: 3}], + + [{offset: 7, blur: 8, spread: -4}, + {offset: 12, blur: 17, spread: 2}, + {offset: 5, blur: 22, spread: 4}], + + [{offset: 7, blur: 8, spread: -4}, + {offset: 13, blur: 19, spread: 2}, + {offset: 5, blur: 24, spread: 4}], + + [{offset: 7, blur: 9, spread: -4}, + {offset: 14, blur: 21, spread: 2}, + {offset: 5, blur: 26, spread: 4}], + + [{offset: 8, blur: 9, spread: -5}, + {offset: 15, blur: 22, spread: 2}, + {offset: 6, blur: 28, spread: 5}], + + [{offset: 8, blur: 10, spread: -5}, + {offset: 16, blur: 24, spread: 2}, + {offset: 6, blur: 30, spread: 5}], + + [{offset: 8, blur: 11, spread: -5}, + {offset: 17, blur: 26, spread: 2}, + {offset: 6, blur: 32, spread: 5}], + + [{offset: 9, blur: 11, spread: -5}, + {offset: 18, blur: 28, spread: 2}, + {offset: 7, blur: 34, spread: 6}], + + [{offset: 9, blur: 12, spread: -6}, + {offset: 19, blur: 29, spread: 2}, + {offset: 7, blur: 36, spread: 6}], + + [{offset: 10, blur: 13, spread: -6}, + {offset: 20, blur: 31, spread: 3}, + {offset: 8, blur: 38, spread: 7}], + + [{offset: 10, blur: 13, spread: -6}, + {offset: 21, blur: 33, spread: 3}, + {offset: 8, blur: 40, spread: 7}], + + [{offset: 10, blur: 14, spread: -6}, + {offset: 22, blur: 35, spread: 3}, + {offset: 8, blur: 42, spread: 7}], + + [{offset: 11, blur: 14, spread: -7}, + {offset: 23, blur: 36, spread: 3}, + {offset: 9, blur: 44, spread: 8}], + + [{offset: 11, blur: 15, spread: -7}, + {offset: 24, blur: 38, spread: 3}, + {offset: 9, blur: 46, spread: 8}] + ] + + /* + \internal + + The current shadow based on the elevation. + */ + readonly property var _shadow: _shadows[Math.max(0, Math.min(elevation, _shadows.length - 1))] + + // Nest the shadows and source view in two items rendered as a layer + // so the shadow is not clipped by the bounds of the source view + Item { + property int margin: -100 + + x: margin + y: margin + width: parent.width - 2 * margin + height: parent.height - 2 * margin + + // By rendering as a layer, the shadow will never show through the source item, + // even when the source item's opacity is less than 1 + layer.enabled: true + + // The box shadows automatically pick up the size of the source Item and not + // the size of the parent, so we don't need to worry about the extra padding + // in the parent Item + BoxShadow { + offsetY: effect._shadow[0].offset + blurRadius: effect._shadow[0].blur + spreadRadius: effect._shadow[0].spread + color: Qt.rgba(0,0,0, 0.2) + + fullWidth: effect.fullWidth + fullHeight: effect.fullHeight + source: effect.sourceItem + } + + BoxShadow { + offsetY: effect._shadow[1].offset + blurRadius: effect._shadow[1].blur + spreadRadius: effect._shadow[1].spread + color: Qt.rgba(0,0,0, 0.14) + + fullWidth: effect.fullWidth + fullHeight: effect.fullHeight + source: effect.sourceItem + } + + BoxShadow { + offsetY: effect._shadow[2].offset + blurRadius: effect._shadow[2].blur + spreadRadius: effect._shadow[2].spread + color: Qt.rgba(0,0,0, 0.12) + + fullWidth: effect.fullWidth + fullHeight: effect.fullHeight + source: effect.sourceItem + } + + ShaderEffect { + property alias source: effect.source + + x: (parent.width - width)/2 + y: (parent.height - height)/2 + width: effect.sourceItem.width + height: effect.sourceItem.height + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Frame.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Frame.qml new file mode 100644 index 00000000..0001825e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Frame.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + verticalPadding: Material.frameVerticalPadding + + background: Rectangle { + radius: 2 + color: control.Material.elevation > 0 ? control.Material.backgroundColor : "transparent" + border.color: control.Material.frameColor + + layer.enabled: control.enabled && control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/GroupBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/GroupBox.qml new file mode 100644 index 00000000..e18a5949 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/GroupBox.qml @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 12 + topPadding: Material.frameVerticalPadding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + bottomPadding: Material.frameVerticalPadding + + label: Text { + x: control.leftPadding + width: control.availableWidth + + text: control.title + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: Rectangle { + y: control.topPadding - control.bottomPadding + width: parent.width + height: parent.height - control.topPadding + control.bottomPadding + + radius: 2 + color: control.Material.elevation > 0 ? control.Material.backgroundColor : "transparent" + border.color: control.Material.frameColor + + layer.enabled: control.enabled && control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/HorizontalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/HorizontalHeaderView.qml new file mode 100644 index 00000000..fd672f34 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/HorizontalHeaderView.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Templates 2.15 as T +import QtQuick.Controls.Material 2.15 +import QtQuick.Controls.Material.impl 2.15 + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + implicitHeight: contentHeight + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + color: control.Material.backgroundColor + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: enabled ? control.Material.foreground : control.Material.hintTextColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ItemDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ItemDelegate.qml new file mode 100644 index 00000000..2078ce6c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ItemDelegate.qml @@ -0,0 +1,89 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.Material.rippleColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Label.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Label.qml new file mode 100644 index 00000000..ad923a24 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Label.qml @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.Label { + id: control + + color: enabled ? Material.foreground : Material.hintTextColor + linkColor: Material.accentColor +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Menu.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Menu.qml new file mode 100644 index 00000000..94bcc15e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Menu.qml @@ -0,0 +1,108 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 +import QtQuick.Window 2.12 + +T.Menu { + id: control + + Material.elevation: 8 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 0 + verticalPadding: 8 + + transformOrigin: !cascade ? Item.Top : (mirrored ? Item.TopRight : Item.TopLeft) + + delegate: MenuItem { } + + enter: Transition { + // grow_fade_in + NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } + } + + exit: Transition { + // shrink_fade_out + NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + contentItem: ListView { + implicitHeight: contentHeight + + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height + : false + clip: true + currentIndex: control.currentIndex + + ScrollIndicator.vertical: ScrollIndicator {} + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: control.Material.menuItemHeight + + radius: 3 + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } + + T.Overlay.modal: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + T.Overlay.modeless: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuBar.qml new file mode 100644 index 00000000..66252d6e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuBar.qml @@ -0,0 +1,65 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.MenuBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + delegate: MenuBarItem { } + + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.contentModel + } + } + + background: Rectangle { + implicitHeight: 40 + color: control.Material.dialogColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuBarItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuBarItem.qml new file mode 100644 index 00000000..588d6fbb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuBarItem.qml @@ -0,0 +1,89 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.MenuBarItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 12 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.highlighted + color: control.Material.rippleColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuItem.qml new file mode 100644 index 00000000..a5d2f8a1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuItem.qml @@ -0,0 +1,112 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: Material.menuItemVerticalPadding + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + visible: control.checkable + control: control + checkState: control.checked ? Qt.Checked : Qt.Unchecked + } + + arrow: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.subMenu + mirror: control.mirrored + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Material/images/arrow-indicator.png" + } + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: control.Material.menuItemHeight + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.highlighted + color: control.Material.rippleColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuSeparator.qml new file mode 100644 index 00000000..6d80c049 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuSeparator.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + verticalPadding: 8 + + contentItem: Rectangle { + implicitWidth: 200 + implicitHeight: 1 + color: control.Material.dividerColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Page.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Page.qml new file mode 100644 index 00000000..4da0ecc6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Page.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + background: Rectangle { + color: control.Material.backgroundColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/PageIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/PageIndicator.qml new file mode 100644 index 00000000..5e6ca245 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/PageIndicator.qml @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + delegate: Rectangle { + implicitWidth: 8 + implicitHeight: 8 + + radius: width / 2 + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + + opacity: index === currentIndex ? 0.95 : pressed ? 0.7 : 0.45 + Behavior on opacity { OpacityAnimator { duration: 100 } } + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Pane.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Pane.qml new file mode 100644 index 00000000..988e225a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Pane.qml @@ -0,0 +1,61 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.Material.backgroundColor + radius: control.Material.elevation > 0 ? 2 : 0 + + layer.enabled: control.enabled && control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Popup.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Popup.qml new file mode 100644 index 00000000..1b576385 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Popup.qml @@ -0,0 +1,85 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.Popup { + id: control + + Material.elevation: 24 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + enter: Transition { + // grow_fade_in + NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } + } + + exit: Transition { + // shrink_fade_out + NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + background: Rectangle { + radius: 2 + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } + + T.Overlay.modal: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + T.Overlay.modeless: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ProgressBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ProgressBar.qml new file mode 100644 index 00000000..2848f037 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ProgressBar.qml @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: ProgressBarImpl { + implicitHeight: 4 + + scale: control.mirrored ? -1 : 1 + color: control.Material.accentColor + progress: control.position + indeterminate: control.visible && control.indeterminate + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 4 + y: (control.height - height) / 2 + height: 4 + + color: Qt.rgba(control.Material.accentColor.r, control.Material.accentColor.g, control.Material.accentColor.b, 0.25) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioButton.qml new file mode 100644 index 00000000..dadcc84f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioButton.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 8 + padding: 8 + verticalPadding: padding + 6 + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + + Ripple { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 28; height: 28 + + z: -1 + anchor: control + pressed: control.pressed + active: control.down || control.visualFocus || control.hovered + color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioDelegate.qml new file mode 100644 index 00000000..c977d332 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioDelegate.qml @@ -0,0 +1,98 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.Material.rippleColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioIndicator.qml new file mode 100644 index 00000000..e2c55184 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioIndicator.qml @@ -0,0 +1,62 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +Rectangle { + id: indicator + implicitWidth: 20 + implicitHeight: 20 + radius: width / 2 + border.width: 2 + border.color: !control.enabled ? control.Material.hintTextColor + : control.checked || control.down ? control.Material.accentColor : control.Material.secondaryTextColor + color: "transparent" + + property Item control + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 10 + height: 10 + radius: width / 2 + color: parent.border.color + visible: indicator.control.checked || indicator.control.down + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RangeSlider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RangeSlider.qml new file mode 100644 index 00000000..f05601a7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RangeSlider.qml @@ -0,0 +1,92 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + first.implicitHandleWidth + leftPadding + rightPadding, + second.implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + first.implicitHandleHeight + topPadding + bottomPadding, + second.implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + first.handle: SliderHandle { + x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + value: first.value + handleHasFocus: activeFocus + handlePressed: first.pressed + handleHovered: first.hovered + } + + second.handle: SliderHandle { + x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + value: second.value + handleHasFocus: activeFocus + handlePressed: second.pressed + handleHovered: second.hovered + } + + background: Rectangle { + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + implicitWidth: control.horizontal ? 200 : 48 + implicitHeight: control.horizontal ? 48 : 200 + width: control.horizontal ? control.availableWidth : 4 + height: control.horizontal ? 4 : control.availableHeight + scale: control.horizontal && control.mirrored ? -1 : 1 + color: control.enabled ? Color.transparent(control.Material.accentColor, 0.33) : control.Material.sliderDisabledColor + + Rectangle { + x: control.horizontal ? control.first.position * parent.width : 0 + y: control.horizontal ? 0 : control.second.visualPosition * parent.height + width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width : 4 + height: control.horizontal ? 4 : control.second.position * parent.height - control.first.position * parent.height + + color: control.enabled ? control.Material.accentColor : control.Material.sliderDisabledColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RectangularGlow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RectangularGlow.qml new file mode 100644 index 00000000..c01e536d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RectangularGlow.qml @@ -0,0 +1,240 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 + +/* + A cross-graphics API implementation of QtGraphicalEffects' RectangularGlow. + */ +Item { + id: rootItem + + /* + This property defines how many pixels outside the item area are reached + by the glow. + + The value ranges from 0.0 (no glow) to inf (infinite glow). By default, + the property is set to \c 0.0. + + \table + \header + \li Output examples with different glowRadius values + \li + \li + \row + \li \image RectangularGlow_glowRadius1.png + \li \image RectangularGlow_glowRadius2.png + \li \image RectangularGlow_glowRadius3.png + \row + \li \b { glowRadius: 10 } + \li \b { glowRadius: 20 } + \li \b { glowRadius: 40 } + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + + */ + property real glowRadius: 0.0 + + /* + This property defines how large part of the glow color is strenghtened + near the source edges. + + The value ranges from 0.0 (no strenght increase) to 1.0 (maximum + strenght increase). By default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image RectangularGlow_spread1.png + \li \image RectangularGlow_spread2.png + \li \image RectangularGlow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ + property real spread: 0.0 + + /* + This property defines the RGBA color value which is used for the glow. + + By default, the property is set to \c "white". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image RectangularGlow_color1.png + \li \image RectangularGlow_color2.png + \li \image RectangularGlow_color3.png + \row + \li \b { color: #ffffff } + \li \b { color: #55ff55 } + \li \b { color: #5555ff } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ + property color color: "white" + + /* + This property defines the corner radius that is used to draw a glow with + rounded corners. + + The value ranges from 0.0 to half of the effective width or height of + the glow, whichever is smaller. This can be calculated with: \c{ + min(width, height) / 2.0 + glowRadius} + + By default, the property is bound to glowRadius property. The glow + behaves as if the rectangle was blurred when adjusting the glowRadius + property. + + \table + \header + \li Output examples with different cornerRadius values + \li + \li + \row + \li \image RectangularGlow_cornerRadius1.png + \li \image RectangularGlow_cornerRadius2.png + \li \image RectangularGlow_cornerRadius3.png + \row + \li \b { cornerRadius: 0 } + \li \b { cornerRadius: 25 } + \li \b { cornerRadius: 50 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \endtable + */ + property real cornerRadius: glowRadius + + /* + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + + x: (parent.width - width) / 2.0 + y: (parent.height - height) / 2.0 + width: parent.width + rootItem.glowRadius * 2 + cornerRadius * 2 + height: parent.height + rootItem.glowRadius * 2 + cornerRadius * 2 + + function clampedCornerRadius() { + var maxCornerRadius = Math.min(rootItem.width, rootItem.height) / 2 + rootItem.glowRadius; + return Math.max(0, Math.min(rootItem.cornerRadius, maxCornerRadius)) + } + + property color color: rootItem.color + property real inverseSpread: 1.0 - rootItem.spread + property real relativeSizeX: ((inverseSpread * inverseSpread) * rootItem.glowRadius + cornerRadius * 2.0) / width + property real relativeSizeY: relativeSizeX * (width / height) + property real spread: rootItem.spread / 2.0 + property real cornerRadius: clampedCornerRadius() + + fragmentShader: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Material/shaders/RectangularGlow.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RoundButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RoundButton.qml new file mode 100644 index 00000000..13d0f9db --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RoundButton.qml @@ -0,0 +1,115 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topInset: 6 + leftInset: 6 + rightInset: 6 + bottomInset: 6 + padding: 12 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: !enabled ? Material.hintTextColor : + flat && highlighted ? Material.accentColor : + highlighted ? Material.primaryHighlightedTextColor : Material.foreground + + Material.elevation: flat ? control.down || control.hovered ? 2 : 0 + : control.down ? 12 : 6 + Material.background: flat ? "transparent" : undefined + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : + control.flat && control.highlighted ? control.Material.accentColor : + control.highlighted ? control.Material.primaryHighlightedTextColor : control.Material.foreground + } + + // TODO: Add a proper ripple/ink effect for mouse/touch input and focus state + background: Rectangle { + implicitWidth: control.Material.buttonHeight + implicitHeight: control.Material.buttonHeight + + radius: control.radius + color: !control.enabled ? control.Material.buttonDisabledColor + : control.checked || control.highlighted ? control.Material.highlightedButtonColor : control.Material.buttonColor + + Rectangle { + width: parent.width + height: parent.height + radius: control.radius + visible: control.hovered || control.visualFocus + color: control.Material.rippleColor + } + + Rectangle { + width: parent.width + height: parent.height + radius: control.radius + visible: control.down + color: control.Material.rippleColor + } + + // The layer is disabled when the button color is transparent so that you can do + // Material.background: "transparent" and get a proper flat button without needing + // to set Material.elevation as well + layer.enabled: control.enabled && control.Material.buttonColor.a > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ScrollBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ScrollBar.qml new file mode 100644 index 00000000..fda64346 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ScrollBar.qml @@ -0,0 +1,89 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: control.interactive ? 1 : 2 + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation == Qt.Horizontal ? height / width : width / height + + contentItem: Rectangle { + implicitWidth: control.interactive ? 13 : 4 + implicitHeight: control.interactive ? 13 : 4 + + color: control.pressed ? control.Material.scrollBarPressedColor : + control.interactive && control.hovered ? control.Material.scrollBarHoveredColor : control.Material.scrollBarColor + opacity: 0.0 + } + + background: Rectangle { + implicitWidth: control.interactive ? 16 : 4 + implicitHeight: control.interactive ? 16 : 4 + color: "#0e000000" + opacity: 0.0 + visible: control.interactive + } + + states: State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + } + + transitions: [ + Transition { + to: "active" + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } + PauseAnimation { duration: 2450 } + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } + } + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ScrollIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ScrollIndicator.qml new file mode 100644 index 00000000..19f23ad2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ScrollIndicator.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + + contentItem: Rectangle { + implicitWidth: 4 + implicitHeight: 4 + + color: control.Material.scrollBarColor + visible: control.size < 1.0 + opacity: 0.0 + + states: State { + name: "active" + when: control.active + PropertyChanges { target: control.contentItem; opacity: 0.75 } + } + + transitions: [ + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + ] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Slider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Slider.qml new file mode 100644 index 00000000..ac7a0c42 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Slider.qml @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + handle: SliderHandle { + x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + value: control.value + handleHasFocus: control.visualFocus + handlePressed: control.pressed + handleHovered: control.hovered + } + + background: Rectangle { + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + implicitWidth: control.horizontal ? 200 : 48 + implicitHeight: control.horizontal ? 48 : 200 + width: control.horizontal ? control.availableWidth : 4 + height: control.horizontal ? 4 : control.availableHeight + scale: control.horizontal && control.mirrored ? -1 : 1 + color: control.enabled ? Color.transparent(control.Material.accentColor, 0.33) : control.Material.sliderDisabledColor + + Rectangle { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : control.visualPosition * parent.height + width: control.horizontal ? control.position * parent.width : 4 + height: control.horizontal ? 4 : control.position * parent.height + + color: control.enabled ? control.Material.accentColor : control.Material.sliderDisabledColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SliderHandle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SliderHandle.qml new file mode 100644 index 00000000..c9078bc8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SliderHandle.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +Item { + id: root + implicitWidth: initialSize + implicitHeight: initialSize + + property real value: 0 + property bool handleHasFocus: false + property bool handlePressed: false + property bool handleHovered: false + readonly property int initialSize: 13 + readonly property var control: parent + + Rectangle { + id: handleRect + width: parent.width + height: parent.height + radius: width / 2 + scale: root.handlePressed ? 1.5 : 1 + color: control.enabled ? root.control.Material.accentColor : root.control.Material.sliderDisabledColor + + Behavior on scale { + NumberAnimation { + duration: 250 + } + } + } + + Ripple { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 22; height: 22 + pressed: root.handlePressed + active: root.handlePressed || root.handleHasFocus || root.handleHovered + color: root.control.Material.highlightedRippleColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SpinBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SpinBox.qml new file mode 100644 index 00000000..23c86bc3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SpinBox.qml @@ -0,0 +1,156 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.SpinBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + + up.implicitIndicatorWidth + + down.implicitIndicatorWidth) + implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, + implicitBackgroundHeight, + up.implicitIndicatorHeight, + down.implicitIndicatorHeight) + + spacing: 6 + topPadding: 8 + bottomPadding: 16 + leftPadding: (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) + rightPadding: (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + text: control.displayText + + font: control.font + color: enabled ? control.Material.foreground : control.Material.hintTextColor + selectionColor: control.Material.textSelectionColor + selectedTextColor: control.Material.foreground + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + + cursorDelegate: CursorDelegate { } + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + } + + up.indicator: Item { + x: control.mirrored ? 0 : parent.width - width + implicitWidth: control.Material.touchTarget + implicitHeight: control.Material.touchTarget + height: parent.height + width: height + + Ripple { + clipRadius: 2 + x: control.spacing + y: control.spacing + width: parent.width - 2 * control.spacing + height: parent.height - 2 * control.spacing + pressed: control.up.pressed + active: control.up.pressed || control.up.hovered || control.visualFocus + color: control.Material.rippleColor + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: Math.min(parent.width / 3, parent.height / 3) + height: 2 + color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor + } + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 2 + height: Math.min(parent.width / 3, parent.height / 3) + color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor + } + } + + down.indicator: Item { + x: control.mirrored ? parent.width - width : 0 + implicitWidth: control.Material.touchTarget + implicitHeight: control.Material.touchTarget + height: parent.height + width: height + + Ripple { + clipRadius: 2 + x: control.spacing + y: control.spacing + width: parent.width - 2 * control.spacing + height: parent.height - 2 * control.spacing + pressed: control.down.pressed + active: control.down.pressed || control.down.hovered || control.visualFocus + color: control.Material.rippleColor + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 3 + height: 2 + color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor + } + } + + background: Item { + implicitWidth: 192 + implicitHeight: control.Material.touchTarget + + Rectangle { + x: parent.width / 2 - width / 2 + y: parent.y + parent.height - height - control.bottomPadding / 2 + width: control.availableWidth + height: control.activeFocus ? 2 : 1 + color: control.activeFocus ? control.Material.accentColor : control.Material.hintTextColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SplitView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SplitView.qml new file mode 100644 index 00000000..5544e833 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SplitView.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2018 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.13 +import QtQuick.Templates 2.13 as T +import QtQuick.Controls 2.13 +import QtQuick.Controls.impl 2.13 +import QtQuick.Controls.Material 2.13 + +T.SplitView { + id: control + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: Rectangle { + implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width + implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 + color: T.SplitHandle.pressed ? control.Material.background + : Qt.lighter(control.Material.background, T.SplitHandle.hovered ? 1.2 : 1.1) + + Rectangle { + color: control.Material.secondaryTextColor + width: control.orientation === Qt.Horizontal ? thickness : length + height: control.orientation === Qt.Horizontal ? length : thickness + radius: thickness + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + + property int length: parent.T.SplitHandle.pressed ? 3 : 8 + readonly property int thickness: parent.T.SplitHandle.pressed ? 3 : 1 + + Behavior on length { + NumberAnimation { + duration: 100 + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/StackView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/StackView.qml new file mode 100644 index 00000000..dd5d6ce6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/StackView.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.StackView { + id: control + + popEnter: Transition { + // slide_in_left + NumberAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * -control.width; to: 0; duration: 200; easing.type: Easing.OutCubic } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; duration: 200; easing.type: Easing.OutCubic } + } + + popExit: Transition { + // slide_out_right + NumberAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * control.width; duration: 200; easing.type: Easing.OutCubic } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; duration: 200; easing.type: Easing.OutCubic } + } + + pushEnter: Transition { + // slide_in_right + NumberAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * control.width; to: 0; duration: 200; easing.type: Easing.OutCubic } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; duration: 200; easing.type: Easing.OutCubic } + } + + pushExit: Transition { + // slide_out_left + NumberAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * -control.width; duration: 200; easing.type: Easing.OutCubic } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; duration: 200; easing.type: Easing.OutCubic } + } + + replaceEnter: Transition { + // slide_in_right + NumberAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * control.width; to: 0; duration: 200; easing.type: Easing.OutCubic } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; duration: 200; easing.type: Easing.OutCubic } + } + + replaceExit: Transition { + // slide_out_left + NumberAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * -control.width; duration: 200; easing.type: Easing.OutCubic } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; duration: 200; easing.type: Easing.OutCubic } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwipeDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwipeDelegate.qml new file mode 100644 index 00000000..d06799be --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwipeDelegate.qml @@ -0,0 +1,99 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.Material.backgroundColor + + Rectangle { + width: parent.width + height: parent.height + visible: control.highlighted + color: control.Material.listHighlightColor + } + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.Material.rippleColor + enabled: control.swipe.position === 0 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwipeView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwipeView.qml new file mode 100644 index 00000000..a84f16c5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwipeView.qml @@ -0,0 +1,66 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.SwipeView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + contentItem: ListView { + model: control.contentModel + interactive: control.interactive + currentIndex: control.currentIndex + focus: control.focus + + spacing: control.spacing + orientation: control.orientation + snapMode: ListView.SnapOneItem + boundsBehavior: Flickable.StopAtBounds + + highlightRangeMode: ListView.StrictlyEnforceRange + preferredHighlightBegin: 0 + preferredHighlightEnd: 0 + highlightMoveDuration: 250 + maximumFlickVelocity: 4 * (control.orientation === Qt.Horizontal ? width : height) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Switch.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Switch.qml new file mode 100644 index 00000000..fd0db925 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Switch.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 8 + spacing: 8 + + indicator: SwitchIndicator { + x: text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + + Ripple { + x: parent.handle.x + parent.handle.width / 2 - width / 2 + y: parent.handle.y + parent.handle.height / 2 - height / 2 + width: 28; height: 28 + pressed: control.pressed + active: control.down || control.visualFocus || control.hovered + color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwitchDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwitchDelegate.qml new file mode 100644 index 00000000..834a3dfa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwitchDelegate.qml @@ -0,0 +1,98 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: Material.switchDelegateVerticalPadding + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.Material.rippleColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwitchIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwitchIndicator.qml new file mode 100644 index 00000000..3034e771 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwitchIndicator.qml @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +Item { + id: indicator + implicitWidth: 38 + implicitHeight: 32 + + property Item control + property alias handle: handle + + Material.elevation: 1 + + Rectangle { + width: parent.width + height: 14 + radius: height / 2 + y: parent.height / 2 - height / 2 + color: indicator.control.enabled ? (indicator.control.checked ? indicator.control.Material.switchCheckedTrackColor : indicator.control.Material.switchUncheckedTrackColor) + : indicator.control.Material.switchDisabledTrackColor + } + + Rectangle { + id: handle + x: Math.max(0, Math.min(parent.width - width, indicator.control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + width: 20 + height: 20 + radius: width / 2 + color: indicator.control.enabled ? (indicator.control.checked ? indicator.control.Material.switchCheckedHandleColor : indicator.control.Material.switchUncheckedHandleColor) + : indicator.control.Material.switchDisabledHandleColor + + Behavior on x { + enabled: !indicator.control.pressed + SmoothedAnimation { + duration: 300 + } + } + layer.enabled: indicator.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: indicator.Material.elevation + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TabBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TabBar.qml new file mode 100644 index 00000000..98c9132a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TabBar.qml @@ -0,0 +1,89 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 1 + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 250 + highlightResizeDuration: 0 + highlightFollowsCurrentItem: true + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 48 + preferredHighlightEnd: width - 48 + + highlight: Item { + z: 2 + Rectangle { + height: 2 + width: parent.width + y: control.position === T.TabBar.Footer ? 0 : parent.height - height + color: control.Material.accentColor + } + } + } + + background: Rectangle { + color: control.Material.backgroundColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + fullWidth: true + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TabButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TabButton.qml new file mode 100644 index 00000000..5245652c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TabButton.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: !enabled ? Material.hintTextColor : down || checked ? Material.accentColor : Material.foreground + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : control.down || control.checked ? control.Material.accentColor : control.Material.foreground + } + + background: Ripple { + implicitHeight: control.Material.touchTarget + + clip: true + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.Material.rippleColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TextArea.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TextArea.qml new file mode 100644 index 00000000..249b6401 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TextArea.qml @@ -0,0 +1,84 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + 1 + topPadding + bottomPadding) + + topPadding: 8 + bottomPadding: 16 + + color: enabled ? Material.foreground : Material.hintTextColor + selectionColor: Material.accentColor + selectedTextColor: Material.primaryHighlightedTextColor + placeholderTextColor: Material.hintTextColor + cursorDelegate: CursorDelegate { } + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + elide: Text.ElideRight + renderType: control.renderType + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + } + + background: Rectangle { + y: parent.height - height - control.bottomPadding / 2 + implicitWidth: 120 + height: control.activeFocus ? 2 : 1 + color: control.activeFocus ? control.Material.accentColor : control.Material.hintTextColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TextField.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TextField.qml new file mode 100644 index 00000000..ed42b295 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TextField.qml @@ -0,0 +1,86 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + topPadding: 8 + bottomPadding: 16 + + color: enabled ? Material.foreground : Material.hintTextColor + selectionColor: Material.accentColor + selectedTextColor: Material.primaryHighlightedTextColor + placeholderTextColor: Material.hintTextColor + verticalAlignment: TextInput.AlignVCenter + + cursorDelegate: CursorDelegate { } + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + elide: Text.ElideRight + renderType: control.renderType + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + } + + background: Rectangle { + y: control.height - height - control.bottomPadding + 8 + implicitWidth: 120 + height: control.activeFocus || control.hovered ? 2 : 1 + color: control.activeFocus ? control.Material.accentColor + : (control.hovered ? control.Material.primaryTextColor : control.Material.hintTextColor) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolBar.qml new file mode 100644 index 00000000..5b887598 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolBar.qml @@ -0,0 +1,66 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.ToolBar { + id: control + + Material.elevation: 4 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + Material.foreground: Material.toolTextColor + + spacing: 16 + + background: Rectangle { + implicitHeight: 48 + color: control.Material.toolBarColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + fullWidth: true + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolButton.qml new file mode 100644 index 00000000..69c42441 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolButton.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Controls.Material.impl 2.12 + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: !enabled ? Material.hintTextColor : checked || highlighted ? Material.accent : Material.foreground + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : + control.checked || control.highlighted ? control.Material.accent : control.Material.foreground + } + + background: Ripple { + implicitWidth: control.Material.touchTarget + implicitHeight: control.Material.touchTarget + + readonly property bool square: control.contentItem.width <= control.contentItem.height + + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + clip: !square + width: square ? parent.height / 2 : parent.width + height: square ? parent.height / 2 : parent.height + pressed: control.pressed + anchor: control + active: control.enabled && (control.down || control.visualFocus || control.hovered) + color: control.Material.rippleColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolSeparator.qml new file mode 100644 index 00000000..94367657 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolSeparator.qml @@ -0,0 +1,57 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + horizontalPadding: vertical ? 12 : 5 + verticalPadding: vertical ? 5 : 12 + + contentItem: Rectangle { + implicitWidth: vertical ? 1 : 38 + implicitHeight: vertical ? 38 : 1 + color: control.Material.hintTextColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolTip.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolTip.qml new file mode 100644 index 00000000..83afe4b1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolTip.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 + y: -implicitHeight - 24 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 12 + padding: 8 + horizontalPadding: padding + 8 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + Material.theme: Material.Dark + + enter: Transition { + // toast_enter + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutQuad; duration: 500 } + } + + exit: Transition { + // toast_exit + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.InQuad; duration: 500 } + } + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + color: control.Material.foreground + } + + background: Rectangle { + implicitHeight: control.Material.tooltipHeight + color: control.Material.tooltipColor + opacity: 0.9 + radius: 2 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Tumbler.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Tumbler.qml new file mode 100644 index 00000000..30d66c58 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Tumbler.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Material 2.12 + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 + + delegate: Text { + text: modelData + color: control.Material.foreground + font: control.font + opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/VerticalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/VerticalHeaderView.qml new file mode 100644 index 00000000..5fc5aebe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/VerticalHeaderView.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Templates 2.15 as T +import QtQuick.Controls.Material 2.15 +import QtQuick.Controls.Material.impl 2.15 + +T.VerticalHeaderView { + id: control + + implicitWidth: contentWidth + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + color: control.Material.backgroundColor + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: enabled ? control.Material.foreground : control.Material.hintTextColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/plugins.qmltypes new file mode 100644 index 00000000..e290e0ea --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/plugins.qmltypes @@ -0,0 +1,459 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls.Material 2.15' + +Module { + dependencies: ["QtQuick.Controls 2.0"] + Component { name: "QQuickAttachedObject"; prototype: "QObject" } + Component { + name: "QQuickItem" + defaultProperty: "data" + prototype: "QObject" + Enum { + name: "Flags" + values: { + "ItemClipsChildrenToShape": 1, + "ItemAcceptsInputMethod": 2, + "ItemIsFocusScope": 4, + "ItemHasContents": 8, + "ItemAcceptsDrops": 16 + } + } + Enum { + name: "TransformOrigin" + values: { + "TopLeft": 0, + "Top": 1, + "TopRight": 2, + "Left": 3, + "Center": 4, + "Right": 5, + "BottomLeft": 6, + "Bottom": 7, + "BottomRight": 8 + } + } + Property { name: "parent"; type: "QQuickItem"; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "z"; type: "double" } + Property { name: "width"; type: "double" } + Property { name: "height"; type: "double" } + Property { name: "opacity"; type: "double" } + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } + Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } + Property { name: "state"; type: "string" } + Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } + Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } + Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baselineOffset"; type: "double" } + Property { name: "clip"; type: "bool" } + Property { name: "focus"; type: "bool" } + Property { name: "activeFocus"; type: "bool"; isReadonly: true } + Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } + Property { name: "rotation"; type: "double" } + Property { name: "scale"; type: "double" } + Property { name: "transformOrigin"; type: "TransformOrigin" } + Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } + Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } + Property { name: "smooth"; type: "bool" } + Property { name: "antialiasing"; type: "bool" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } + Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } + Signal { + name: "childrenRectChanged" + Parameter { type: "QRectF" } + } + Signal { + name: "baselineOffsetChanged" + Parameter { type: "double" } + } + Signal { + name: "stateChanged" + Parameter { type: "string" } + } + Signal { + name: "focusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusOnTabChanged" + revision: 1 + Parameter { type: "bool" } + } + Signal { + name: "parentChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "transformOriginChanged" + Parameter { type: "TransformOrigin" } + } + Signal { + name: "smoothChanged" + Parameter { type: "bool" } + } + Signal { + name: "antialiasingChanged" + Parameter { type: "bool" } + } + Signal { + name: "clipChanged" + Parameter { type: "bool" } + } + Signal { + name: "windowChanged" + revision: 1 + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "containmentMaskChanged"; revision: 11 } + Method { name: "update" } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "targetSize"; type: "QSize" } + } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "contains" + type: "bool" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapFromItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapFromGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { name: "forceActiveFocus" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { + name: "nextItemInFocusChain" + revision: 1 + type: "QQuickItem*" + Parameter { name: "forward"; type: "bool" } + } + Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } + Method { + name: "childAt" + type: "QQuickItem*" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + name: "QQuickMaterialBusyIndicator" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.Material.impl/BusyIndicatorImpl 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "color"; type: "QColor" } + Property { name: "running"; type: "bool" } + } + Component { + name: "QQuickMaterialProgressBar" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.Material.impl/ProgressBarImpl 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "color"; type: "QColor" } + Property { name: "progress"; type: "double" } + Property { name: "indeterminate"; type: "bool" } + } + Component { + name: "QQuickMaterialRipple" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.Material.impl/Ripple 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Trigger" + values: { + "Press": 0, + "Release": 1 + } + } + Property { name: "color"; type: "QColor" } + Property { name: "clipRadius"; type: "double" } + Property { name: "pressed"; type: "bool" } + Property { name: "active"; type: "bool" } + Property { name: "anchor"; type: "QQuickItem"; isPointer: true } + Property { name: "trigger"; type: "Trigger" } + } + Component { + name: "QQuickMaterialStyle" + prototype: "QQuickAttachedObject" + exports: ["QtQuick.Controls.Material/Material 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "Theme" + values: { + "Light": 0, + "Dark": 1, + "System": 2 + } + } + Enum { + name: "Variant" + values: { + "Normal": 0, + "Dense": 1 + } + } + Enum { + name: "Color" + values: { + "Red": 0, + "Pink": 1, + "Purple": 2, + "DeepPurple": 3, + "Indigo": 4, + "Blue": 5, + "LightBlue": 6, + "Cyan": 7, + "Teal": 8, + "Green": 9, + "LightGreen": 10, + "Lime": 11, + "Yellow": 12, + "Amber": 13, + "Orange": 14, + "DeepOrange": 15, + "Brown": 16, + "Grey": 17, + "BlueGrey": 18 + } + } + Enum { + name: "Shade" + values: { + "Shade50": 0, + "Shade100": 1, + "Shade200": 2, + "Shade300": 3, + "Shade400": 4, + "Shade500": 5, + "Shade600": 6, + "Shade700": 7, + "Shade800": 8, + "Shade900": 9, + "ShadeA100": 10, + "ShadeA200": 11, + "ShadeA400": 12, + "ShadeA700": 13 + } + } + Property { name: "theme"; type: "Theme" } + Property { name: "primary"; type: "QVariant" } + Property { name: "accent"; type: "QVariant" } + Property { name: "foreground"; type: "QVariant" } + Property { name: "background"; type: "QVariant" } + Property { name: "elevation"; type: "int" } + Property { name: "primaryColor"; type: "QColor"; isReadonly: true } + Property { name: "accentColor"; type: "QColor"; isReadonly: true } + Property { name: "backgroundColor"; type: "QColor"; isReadonly: true } + Property { name: "primaryTextColor"; type: "QColor"; isReadonly: true } + Property { name: "primaryHighlightedTextColor"; type: "QColor"; isReadonly: true } + Property { name: "secondaryTextColor"; type: "QColor"; isReadonly: true } + Property { name: "hintTextColor"; type: "QColor"; isReadonly: true } + Property { name: "textSelectionColor"; type: "QColor"; isReadonly: true } + Property { name: "dropShadowColor"; type: "QColor"; isReadonly: true } + Property { name: "dividerColor"; type: "QColor"; isReadonly: true } + Property { name: "iconColor"; type: "QColor"; isReadonly: true } + Property { name: "iconDisabledColor"; type: "QColor"; isReadonly: true } + Property { name: "buttonColor"; type: "QColor"; isReadonly: true } + Property { name: "buttonDisabledColor"; type: "QColor"; isReadonly: true } + Property { name: "highlightedButtonColor"; type: "QColor"; isReadonly: true } + Property { name: "frameColor"; type: "QColor"; isReadonly: true } + Property { name: "rippleColor"; type: "QColor"; isReadonly: true } + Property { name: "highlightedRippleColor"; type: "QColor"; isReadonly: true } + Property { name: "switchUncheckedTrackColor"; type: "QColor"; isReadonly: true } + Property { name: "switchCheckedTrackColor"; type: "QColor"; isReadonly: true } + Property { name: "switchUncheckedHandleColor"; type: "QColor"; isReadonly: true } + Property { name: "switchCheckedHandleColor"; type: "QColor"; isReadonly: true } + Property { name: "switchDisabledTrackColor"; type: "QColor"; isReadonly: true } + Property { name: "switchDisabledHandleColor"; type: "QColor"; isReadonly: true } + Property { name: "scrollBarColor"; type: "QColor"; isReadonly: true } + Property { name: "scrollBarHoveredColor"; type: "QColor"; isReadonly: true } + Property { name: "scrollBarPressedColor"; type: "QColor"; isReadonly: true } + Property { name: "dialogColor"; type: "QColor"; isReadonly: true } + Property { name: "backgroundDimColor"; type: "QColor"; isReadonly: true } + Property { name: "listHighlightColor"; type: "QColor"; isReadonly: true } + Property { name: "tooltipColor"; type: "QColor"; isReadonly: true } + Property { name: "toolBarColor"; type: "QColor"; isReadonly: true } + Property { name: "toolTextColor"; type: "QColor"; isReadonly: true } + Property { name: "spinBoxDisabledIconColor"; type: "QColor"; isReadonly: true } + Property { name: "sliderDisabledColor"; revision: 15; type: "QColor"; isReadonly: true } + Property { name: "touchTarget"; type: "int"; isReadonly: true } + Property { name: "buttonHeight"; type: "int"; isReadonly: true } + Property { name: "delegateHeight"; type: "int"; isReadonly: true } + Property { name: "dialogButtonBoxHeight"; type: "int"; isReadonly: true } + Property { name: "frameVerticalPadding"; type: "int"; isReadonly: true } + Property { name: "menuItemHeight"; type: "int"; isReadonly: true } + Property { name: "menuItemVerticalPadding"; type: "int"; isReadonly: true } + Property { name: "switchDelegateVerticalPadding"; type: "int"; isReadonly: true } + Property { name: "tooltipHeight"; type: "int"; isReadonly: true } + Signal { name: "paletteChanged" } + Method { + name: "color" + type: "QColor" + Parameter { name: "color"; type: "Color" } + Parameter { name: "shade"; type: "Shade" } + } + Method { + name: "color" + type: "QColor" + Parameter { name: "color"; type: "Color" } + } + Method { + name: "shade" + type: "QColor" + Parameter { name: "color"; type: "QColor" } + Parameter { name: "shade"; type: "Shade" } + } + } + Component { + prototype: "QQuickItem" + name: "QtQuick.Controls.Material.impl/BoxShadow 2.0" + exports: ["QtQuick.Controls.Material.impl/BoxShadow 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "offsetX"; type: "int" } + Property { name: "offsetY"; type: "int" } + Property { name: "blurRadius"; type: "int" } + Property { name: "spreadRadius"; type: "int" } + Property { name: "source"; type: "QQuickItem"; isPointer: true } + Property { name: "fullWidth"; type: "bool" } + Property { name: "fullHeight"; type: "bool" } + Property { name: "glowRadius"; type: "double" } + Property { name: "spread"; type: "double" } + Property { name: "color"; type: "QColor" } + Property { name: "cornerRadius"; type: "double" } + Property { name: "cached"; type: "bool" } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Material.impl/CheckIndicator 2.0" + exports: ["QtQuick.Controls.Material.impl/CheckIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "checkState"; type: "int" } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Material.impl/CursorDelegate 2.0" + exports: ["QtQuick.Controls.Material.impl/CursorDelegate 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickItem" + name: "QtQuick.Controls.Material.impl/ElevationEffect 2.0" + exports: ["QtQuick.Controls.Material.impl/ElevationEffect 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "source"; type: "QVariant" } + Property { name: "elevation"; type: "int" } + Property { name: "fullWidth"; type: "bool" } + Property { name: "fullHeight"; type: "bool" } + Property { name: "sourceItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "_shadows"; type: "QVariant"; isReadonly: true } + Property { name: "_shadow"; type: "QVariant"; isReadonly: true } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Material.impl/RadioIndicator 2.0" + exports: ["QtQuick.Controls.Material.impl/RadioIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + } + Component { + prototype: "QQuickItem" + name: "QtQuick.Controls.Material.impl/RectangularGlow 2.0" + exports: ["QtQuick.Controls.Material.impl/RectangularGlow 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "glowRadius"; type: "double" } + Property { name: "spread"; type: "double" } + Property { name: "color"; type: "QColor" } + Property { name: "cornerRadius"; type: "double" } + Property { name: "cached"; type: "bool" } + } + Component { + prototype: "QQuickItem" + name: "QtQuick.Controls.Material.impl/SliderHandle 2.0" + exports: ["QtQuick.Controls.Material.impl/SliderHandle 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "value"; type: "double" } + Property { name: "handleHasFocus"; type: "bool" } + Property { name: "handlePressed"; type: "bool" } + Property { name: "handleHovered"; type: "bool" } + Property { name: "initialSize"; type: "int"; isReadonly: true } + Property { name: "control"; type: "QVariant"; isReadonly: true } + } + Component { + prototype: "QQuickItem" + name: "QtQuick.Controls.Material.impl/SwitchIndicator 2.0" + exports: ["QtQuick.Controls.Material.impl/SwitchIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "handle"; type: "QQuickRectangle"; isReadonly: true; isPointer: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/qmldir new file mode 100644 index 00000000..870a0382 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/qmldir @@ -0,0 +1,4 @@ +module QtQuick.Controls.Material +plugin qtquickcontrols2materialstyleplugin +classname QtQuickControls2MaterialStylePlugin +depends QtQuick.Controls 2.5 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/qtquickcontrols2materialstyleplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/qtquickcontrols2materialstyleplugin.dll new file mode 100644 index 00000000..f06c2303 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Material/qtquickcontrols2materialstyleplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Menu.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Menu.qml new file mode 100644 index 00000000..cf3a52f2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Menu.qml @@ -0,0 +1,82 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Window 2.12 + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 0 + overlap: 1 + + delegate: MenuItem { } + + contentItem: ListView { + implicitHeight: contentHeight + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height + : false + clip: true + currentIndex: control.currentIndex + + ScrollIndicator.vertical: ScrollIndicator {} + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + color: control.palette.window + border.color: control.palette.dark + } + + T.Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + T.Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuBar.qml new file mode 100644 index 00000000..122cdc53 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuBar.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.MenuBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + delegate: MenuBarItem { } + + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.contentModel + } + } + + background: Rectangle { + implicitHeight: 40 + color: control.palette.button + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuBarItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuBarItem.qml new file mode 100644 index 00000000..f6835412 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuBarItem.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.MenuBarItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 6 + leftPadding: 12 + rightPadding: 16 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + color: control.down || control.highlighted ? control.palette.mid : "transparent" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuItem.qml new file mode 100644 index 00000000..22cdf3ea --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuItem.qml @@ -0,0 +1,105 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.windowText + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.windowText + } + + indicator: ColorImage { + x: control.mirrored ? control.width - width - control.rightPadding : control.leftPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.checked + source: control.checkable ? "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/check.png" : "" + color: control.palette.windowText + defaultColor: "#353637" + } + + arrow: ColorImage { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.subMenu + mirror: control.mirrored + source: control.subMenu ? "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/arrow-indicator.png" : "" + color: control.palette.windowText + defaultColor: "#353637" + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + x: 1 + y: 1 + width: control.width - 2 + height: control.height - 2 + color: control.down ? control.palette.midlight : control.highlighted ? control.palette.light : "transparent" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuSeparator.qml new file mode 100644 index 00000000..cc5c2b6e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/MenuSeparator.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + verticalPadding: padding + 4 + + contentItem: Rectangle { + implicitWidth: 188 + implicitHeight: 1 + color: control.palette.mid + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Page.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Page.qml new file mode 100644 index 00000000..4b3cf3d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Page.qml @@ -0,0 +1,57 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + background: Rectangle { + color: control.palette.window + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/PageIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/PageIndicator.qml new file mode 100644 index 00000000..78f9e3cf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/PageIndicator.qml @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + delegate: Rectangle { + implicitWidth: 8 + implicitHeight: 8 + + radius: width / 2 + color: control.palette.dark + + opacity: index === currentIndex ? 0.95 : pressed ? 0.7 : 0.45 + Behavior on opacity { OpacityAnimator { duration: 100 } } + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Pane.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Pane.qml new file mode 100644 index 00000000..47b916e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Pane.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.palette.window + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Popup.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Popup.qml new file mode 100644 index 00000000..ee243c10 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Popup.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.palette.window + border.color: control.palette.dark + } + + T.Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + T.Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ProgressBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ProgressBar.qml new file mode 100644 index 00000000..61cdea43 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ProgressBar.qml @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: ProgressBarImpl { + implicitHeight: 6 + implicitWidth: 116 + scale: control.mirrored ? -1 : 1 + progress: control.position + indeterminate: control.visible && control.indeterminate + color: control.palette.dark + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 6 + y: (control.height - height) / 2 + height: 6 + + color: control.palette.midlight + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RadioButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RadioButton.qml new file mode 100644 index 00000000..cdf0c30e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RadioButton.qml @@ -0,0 +1,86 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + // keep in sync with RadioDelegate.qml (shared RadioIndicator.qml was removed for performance reasons) + indicator: Rectangle { + implicitWidth: 28 + implicitHeight: 28 + + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + radius: width / 2 + color: control.down ? control.palette.light : control.palette.base + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.palette.mid + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 20 + height: 20 + radius: width / 2 + color: control.palette.text + visible: control.checked + } + } + + contentItem: CheckLabel { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RadioDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RadioDelegate.qml new file mode 100644 index 00000000..a7e7dec0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RadioDelegate.qml @@ -0,0 +1,103 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 12 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + // keep in sync with RadioButton.qml (shared RadioIndicator.qml was removed for performance reasons) + indicator: Rectangle { + implicitWidth: 28 + implicitHeight: 28 + + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + radius: width / 2 + color: control.down ? control.palette.light : control.palette.base + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.palette.mid + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 20 + height: 20 + radius: width / 2 + color: control.palette.text + visible: control.checked + } + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted + color: control.down ? control.palette.midlight : control.palette.light + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RangeSlider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RangeSlider.qml new file mode 100644 index 00000000..c3e7c964 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RangeSlider.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + first.implicitHandleWidth + leftPadding + rightPadding, + second.implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + first.implicitHandleHeight + topPadding + bottomPadding, + second.implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + first.handle: Rectangle { + x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + implicitWidth: 28 + implicitHeight: 28 + radius: width / 2 + border.width: activeFocus ? 2 : 1 + border.color: activeFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + color: control.first.pressed ? control.palette.light : control.palette.window + } + + second.handle: Rectangle { + x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + implicitWidth: 28 + implicitHeight: 28 + radius: width / 2 + border.width: activeFocus ? 2 : 1 + border.color: activeFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + color: control.second.pressed ? control.palette.light : control.palette.window + } + + background: Rectangle { + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + implicitWidth: control.horizontal ? 200 : 6 + implicitHeight: control.horizontal ? 6 : 200 + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + radius: 3 + color: control.palette.midlight + scale: control.horizontal && control.mirrored ? -1 : 1 + + Rectangle { + x: control.horizontal ? control.first.position * parent.width + 3 : 0 + y: control.horizontal ? 0 : control.second.visualPosition * parent.height + 3 + width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width - 6 : 6 + height: control.horizontal ? 6 : control.second.position * parent.height - control.first.position * parent.height - 6 + + color: control.palette.dark + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RoundButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RoundButton.qml new file mode 100644 index 00000000..825d5252 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/RoundButton.qml @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: control.checked || control.highlighted ? control.palette.brightText : + control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.checked || control.highlighted ? control.palette.brightText : + control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + radius: control.radius + opacity: enabled ? 1 : 0.3 + visible: !control.flat || control.down || control.checked || control.highlighted + color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button, + control.palette.mid, control.down ? 0.5 : 0.0) + border.color: control.palette.highlight + border.width: control.visualFocus ? 2 : 0 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollBar.qml new file mode 100644 index 00000000..0948fb1d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollBar.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation == Qt.Horizontal ? height / width : width / height + + contentItem: Rectangle { + implicitWidth: control.interactive ? 6 : 2 + implicitHeight: control.interactive ? 6 : 2 + + radius: width / 2 + color: control.pressed ? control.palette.dark : control.palette.mid + opacity: 0.0 + + states: State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + PropertyChanges { target: control.contentItem; opacity: 0.75 } + } + + transitions: Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollIndicator.qml new file mode 100644 index 00000000..795c20ee --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollIndicator.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + + contentItem: Rectangle { + implicitWidth: 2 + implicitHeight: 2 + + color: control.palette.mid + visible: control.size < 1.0 + opacity: 0.0 + + states: State { + name: "active" + when: control.active + PropertyChanges { target: control.contentItem; opacity: 0.75 } + } + + transitions: [ + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + ] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollView.qml new file mode 100644 index 00000000..f775d624 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollView.qml @@ -0,0 +1,65 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ScrollView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + ScrollBar.vertical: ScrollBar { + parent: control + x: control.mirrored ? 0 : control.width - width + y: control.topPadding + height: control.availableHeight + active: control.ScrollBar.horizontal.active + } + + ScrollBar.horizontal: ScrollBar { + parent: control + x: control.leftPadding + y: control.height - height + width: control.availableWidth + active: control.ScrollBar.vertical.active + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Slider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Slider.qml new file mode 100644 index 00000000..6d532389 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Slider.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + handle: Rectangle { + x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + implicitWidth: 28 + implicitHeight: 28 + radius: width / 2 + color: control.pressed ? control.palette.light : control.palette.window + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + } + + background: Rectangle { + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + implicitWidth: control.horizontal ? 200 : 6 + implicitHeight: control.horizontal ? 6 : 200 + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + radius: 3 + color: control.palette.midlight + scale: control.horizontal && control.mirrored ? -1 : 1 + + Rectangle { + y: control.horizontal ? 0 : control.visualPosition * parent.height + width: control.horizontal ? control.position * parent.width : 6 + height: control.horizontal ? 6 : control.position * parent.height + + radius: 3 + color: control.palette.dark + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SpinBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SpinBox.qml new file mode 100644 index 00000000..d1c2ea5b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SpinBox.qml @@ -0,0 +1,135 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.SpinBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + 2 * padding + + up.implicitIndicatorWidth + + down.implicitIndicatorWidth) + implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, + implicitBackgroundHeight, + up.implicitIndicatorHeight, + down.implicitIndicatorHeight) + + padding: 6 + leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) + rightPadding: padding + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + z: 2 + text: control.displayText + + font: control.font + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + + Rectangle { + x: -6 - (control.down.indicator ? 1 : 0) + y: -6 + width: control.width - (control.up.indicator ? control.up.indicator.width - 1 : 0) - (control.down.indicator ? control.down.indicator.width - 1 : 0) + height: control.height + visible: control.activeFocus + color: "transparent" + border.color: control.palette.highlight + border.width: 2 + } + } + + up.indicator: Rectangle { + x: control.mirrored ? 0 : parent.width - width + height: parent.height + implicitWidth: 40 + implicitHeight: 40 + color: control.up.pressed ? control.palette.mid : control.palette.button + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 3 + height: 2 + color: enabled ? control.palette.buttonText : control.palette.mid + } + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 2 + height: parent.width / 3 + color: enabled ? control.palette.buttonText : control.palette.mid + } + } + + down.indicator: Rectangle { + x: control.mirrored ? parent.width - width : 0 + height: parent.height + implicitWidth: 40 + implicitHeight: 40 + color: control.down.pressed ? control.palette.mid : control.palette.button + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 3 + height: 2 + color: enabled ? control.palette.buttonText : control.palette.mid + } + } + + background: Rectangle { + implicitWidth: 140 + color: enabled ? control.palette.base : control.palette.button + border.color: control.palette.button + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SplitView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SplitView.qml new file mode 100644 index 00000000..9d37a83e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SplitView.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2018 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.13 +import QtQuick.Templates 2.13 as T +import QtQuick.Controls 2.13 +import QtQuick.Controls.impl 2.13 + +T.SplitView { + id: control + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: Rectangle { + implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width + implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 + color: T.SplitHandle.pressed ? control.palette.mid + : (T.SplitHandle.hovered ? control.palette.midlight : control.palette.button) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/StackView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/StackView.qml new file mode 100644 index 00000000..3e416b87 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/StackView.qml @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Templates 2.12 as T + +T.StackView { + id: control + + popEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + popExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * control.width; duration: 400; easing.type: Easing.OutCubic } + } + + pushEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + pushExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } + } + + replaceEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + replaceExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwipeDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwipeDelegate.qml new file mode 100644 index 00000000..37d66bb6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwipeDelegate.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 12 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + color: Color.blend(control.down ? control.palette.midlight : control.palette.light, + control.palette.highlight, control.visualFocus ? 0.15 : 0.0) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwipeView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwipeView.qml new file mode 100644 index 00000000..7722d258 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwipeView.qml @@ -0,0 +1,66 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Templates 2.12 as T + +T.SwipeView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + contentItem: ListView { + model: control.contentModel + interactive: control.interactive + currentIndex: control.currentIndex + focus: control.focus + + spacing: control.spacing + orientation: control.orientation + snapMode: ListView.SnapOneItem + boundsBehavior: Flickable.StopAtBounds + + highlightRangeMode: ListView.StrictlyEnforceRange + preferredHighlightBegin: 0 + preferredHighlightEnd: 0 + highlightMoveDuration: 250 + maximumFlickVelocity: 4 * (control.orientation === Qt.Horizontal ? width : height) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Switch.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Switch.qml new file mode 100644 index 00000000..f62e2502 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Switch.qml @@ -0,0 +1,92 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + indicator: PaddedRectangle { + implicitWidth: 56 + implicitHeight: 28 + + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + radius: 8 + leftPadding: 0 + rightPadding: 0 + padding: (height - 16) / 2 + color: control.checked ? control.palette.dark : control.palette.midlight + + Rectangle { + x: Math.max(0, Math.min(parent.width - width, control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + width: 28 + height: 28 + radius: 16 + color: control.down ? control.palette.light : control.palette.window + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + + Behavior on x { + enabled: !control.down + SmoothedAnimation { velocity: 200 } + } + } + } + + contentItem: CheckLabel { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwitchDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwitchDelegate.qml new file mode 100644 index 00000000..d6447e77 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/SwitchDelegate.qml @@ -0,0 +1,109 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 12 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + indicator: PaddedRectangle { + implicitWidth: 56 + implicitHeight: 28 + + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + radius: 8 + leftPadding: 0 + rightPadding: 0 + padding: (height - 16) / 2 + color: control.checked ? control.palette.dark : control.palette.midlight + + Rectangle { + x: Math.max(0, Math.min(parent.width - width, control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + width: 28 + height: 28 + radius: 16 + color: control.down ? control.palette.light : control.palette.window + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + + Behavior on x { + enabled: !control.down + SmoothedAnimation { velocity: 200 } + } + } + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted + color: control.down ? control.palette.midlight : control.palette.light + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TabBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TabBar.qml new file mode 100644 index 00000000..83f6b3b2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TabBar.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 1 + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 0 + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 40 + preferredHighlightEnd: width - 40 + } + + background: Rectangle { + color: control.palette.window + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TabButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TabButton.qml new file mode 100644 index 00000000..f8b303ea --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TabButton.qml @@ -0,0 +1,73 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: checked ? control.palette.windowText : control.palette.brightText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.checked ? control.palette.windowText : control.palette.brightText + } + + background: Rectangle { + implicitHeight: 40 + color: Color.blend(control.checked ? control.palette.window : control.palette.dark, + control.palette.mid, control.down ? 0.5 : 0.0) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TextArea.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TextArea.qml new file mode 100644 index 00000000..45790e67 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TextArea.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + padding: 6 + leftPadding: padding + 4 + + color: control.palette.text + placeholderTextColor: Color.transparent(control.color, 0.5) + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TextField.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TextField.qml new file mode 100644 index 00000000..4d9cb691 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/TextField.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + padding: 6 + leftPadding: padding + 4 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: Color.transparent(control.color, 0.5) + verticalAlignment: TextInput.AlignVCenter + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + border.width: control.activeFocus ? 2 : 1 + color: control.palette.base + border.color: control.activeFocus ? control.palette.highlight : control.palette.mid + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolBar.qml new file mode 100644 index 00000000..1e07b6bf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolBar.qml @@ -0,0 +1,54 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ToolBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + background: Rectangle { + implicitHeight: 40 + color: control.palette.button + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolButton.qml new file mode 100644 index 00000000..63aaf893 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolButton.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: visualFocus ? control.palette.highlight : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.visualFocus ? control.palette.highlight : control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + + opacity: control.down ? 1.0 : 0.5 + color: control.down || control.checked || control.highlighted ? control.palette.mid : control.palette.button + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolSeparator.qml new file mode 100644 index 00000000..188d0758 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolSeparator.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: vertical ? 6 : 2 + verticalPadding: vertical ? 2 : 6 + + contentItem: Rectangle { + implicitWidth: vertical ? 1 : 30 + implicitHeight: vertical ? 30 : 1 + color: control.palette.mid + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolTip.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolTip.qml new file mode 100644 index 00000000..e0389903 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/ToolTip.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 + y: -implicitHeight - 3 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 6 + padding: 6 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + color: control.palette.toolTipText + } + + background: Rectangle { + border.color: control.palette.dark + color: control.palette.toolTipBase + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Tumbler.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Tumbler.qml new file mode 100644 index 00000000..cd10263b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Tumbler.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Templates 2.12 as T + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 + + delegate: Text { + text: modelData + color: control.visualFocus ? control.palette.highlight : control.palette.text + font: control.font + opacity: 1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ApplicationWindow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ApplicationWindow.qml new file mode 100644 index 00000000..153b9e8e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ApplicationWindow.qml @@ -0,0 +1,62 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Window 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.ApplicationWindow { + id: window + + color: Universal.background + + overlay.modal: Rectangle { + color: window.Universal.baseLowColor + } + + overlay.modeless: Rectangle { + color: window.Universal.baseLowColor + } + + FocusRectangle { + parent: window.activeFocusControl + width: parent ? parent.width : 0 + height: parent ? parent.height : 0 + visible: parent && !!parent.useSystemFocusVisuals && !!parent.visualFocus + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/BusyIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/BusyIndicator.qml new file mode 100644 index 00000000..2ad21b46 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/BusyIndicator.qml @@ -0,0 +1,60 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: BusyIndicatorImpl { + implicitWidth: 20 + implicitHeight: 20 + + readonly property real size: Math.min(control.availableWidth, control.availableHeight) + + count: size < 60 ? 5 : 6 // "Small" vs. "Large" + color: control.Universal.accent + visible: control.running + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Button.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Button.qml new file mode 100644 index 00000000..657b2835 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Button.qml @@ -0,0 +1,90 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 8 + verticalPadding: padding - 4 + spacing: 8 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + property bool useSystemFocusVisuals: true + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + implicitWidth: 32 + implicitHeight: 32 + + visible: !control.flat || control.down || control.checked || control.highlighted + color: control.down ? control.Universal.baseMediumLowColor : + control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : + control.Universal.baseLowColor + + Rectangle { + width: parent.width + height: parent.height + color: "transparent" + visible: control.hovered + border.width: 2 // ButtonBorderThemeThickness + border.color: control.Universal.baseMediumLowColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckBox.qml new file mode 100644 index 00000000..9494f4d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckBox.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 8 + + property bool useSystemFocusVisuals: true + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckDelegate.qml new file mode 100644 index 00000000..b544c42e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckDelegate.qml @@ -0,0 +1,97 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + visible: control.down || control.highlighted || control.visualFocus || control.hovered + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckIndicator.qml new file mode 100644 index 00000000..8f41617a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckIndicator.qml @@ -0,0 +1,82 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +Rectangle { + id: indicator + implicitWidth: 20 + implicitHeight: 20 + + color: !control.enabled ? "transparent" : + control.down && !partiallyChecked ? control.Universal.baseMediumColor : + control.checkState === Qt.Checked ? control.Universal.accent : "transparent" + border.color: !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.baseMediumColor : + control.checked ? control.Universal.accent : control.Universal.baseMediumHighColor + border.width: 2 // CheckBoxBorderThemeThickness + + property Item control + readonly property bool partiallyChecked: control.checkState === Qt.PartiallyChecked + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + + visible: indicator.control.checkState === Qt.Checked + color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : indicator.control.Universal.chromeWhiteColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/checkmark.png" + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: indicator.partiallyChecked ? parent.width / 2 : parent.width + height: indicator.partiallyChecked ? parent.height / 2 : parent.height + + visible: !indicator.control.pressed && indicator.control.hovered || indicator.partiallyChecked + color: !indicator.partiallyChecked ? "transparent" : + !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.down ? indicator.control.Universal.baseMediumColor : + indicator.control.hovered ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor + border.width: indicator.partiallyChecked ? 0 : 2 // CheckBoxBorderThemeThickness + border.color: indicator.control.Universal.baseMediumLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ComboBox.qml new file mode 100644 index 00000000..9b88ccf9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ComboBox.qml @@ -0,0 +1,159 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Window 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Controls.impl 2.15 +import QtQuick.Templates 2.15 as T +import QtQuick.Controls.Universal 2.15 + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + Universal.theme: editable && activeFocus ? Universal.Light : undefined + + delegate: ItemDelegate { + width: ListView.view.width + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseMediumHighColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/downarrow.png" + + Rectangle { + z: -1 + width: parent.width + height: parent.height + color: control.activeFocus ? control.Universal.accent : + control.pressed ? control.Universal.baseMediumLowColor : + control.hovered ? control.Universal.baseLowColor : "transparent" + visible: control.editable && !contentItem.hovered && (control.pressed || control.hovered) + opacity: control.activeFocus && !control.pressed ? 0.4 : 1.0 + } + } + + contentItem: T.TextField { + leftPadding: control.mirrored ? 1 : 12 + rightPadding: control.mirrored ? 10 : 1 + topPadding: 5 - control.topPadding + bottomPadding: 7 - control.bottomPadding + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + font: control.font + color: !control.enabled ? control.Universal.chromeDisabledLowColor : + control.editable && control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.foreground + selectionColor: control.Universal.accent + selectedTextColor: control.Universal.chromeWhiteColor + verticalAlignment: Text.AlignVCenter + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: 32 + + border.width: control.flat ? 0 : 2 // ComboBoxBorderThemeThickness + border.color: !control.enabled ? control.Universal.baseLowColor : + control.editable && control.activeFocus ? control.Universal.accent : + control.down ? control.Universal.baseMediumLowColor : + control.hovered ? control.Universal.baseMediumColor : control.Universal.baseMediumLowColor + color: !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.listMediumColor : + control.flat && control.hovered ? control.Universal.listLowColor : + control.editable && control.activeFocus ? control.Universal.background : control.Universal.altMediumLowColor + visible: !control.flat || control.pressed || control.hovered || control.visualFocus + + Rectangle { + x: 2 + y: 2 + width: parent.width - 4 + height: parent.height - 4 + + visible: control.visualFocus && !control.editable + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } + + popup: T.Popup { + width: control.width + height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) + topMargin: 8 + bottomMargin: 8 + + Universal.theme: control.Universal.theme + Universal.accent: control.Universal.accent + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/DelayButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/DelayButton.qml new file mode 100644 index 00000000..2a3a3b3a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/DelayButton.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 8 + verticalPadding: padding - 4 + + property bool useSystemFocusVisuals: true + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: Text { + text: control.text + font: control.font + elide: Text.ElideRight + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } + + background: Rectangle { + implicitWidth: 32 + implicitHeight: 32 + + color: control.down ? control.Universal.baseMediumLowColor : + control.enabled && control.checked ? control.Universal.accent : control.Universal.baseLowColor + + Rectangle { + visible: !control.checked + width: parent.width * control.progress + height: parent.height + color: control.Universal.accent + } + + Rectangle { + width: parent.width + height: parent.height + color: "transparent" + visible: control.hovered + border.width: 2 // ButtonBorderThemeThickness + border.color: control.Universal.baseMediumLowColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Dial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Dial.qml new file mode 100644 index 00000000..f45d912e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Dial.qml @@ -0,0 +1,86 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 100 // ### remove 100 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 100 // ### remove 100 in Qt 6 + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 100 + + x: control.width / 2 - width / 2 + y: control.height / 2 - height / 2 + width: Math.max(64, Math.min(control.width, control.height)) + height: width + radius: width / 2 + color: "transparent" + border.color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseMediumColor + border.width: 2 + } + + handle: Rectangle { + implicitWidth: 14 + implicitHeight: 14 + + x: control.background.x + control.background.width / 2 - control.handle.width / 2 + y: control.background.y + control.background.height / 2 - control.handle.height / 2 + + radius: width / 2 + color: !control.enabled ? control.Universal.baseLowColor : + control.pressed ? control.Universal.baseMediumColor : + control.hovered ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor + + transform: [ + Translate { + y: -control.background.height * 0.4 + control.handle.height / 2 + }, + Rotation { + angle: control.angle + origin.x: control.handle.width / 2 + origin.y: control.handle.height / 2 + } + ] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Dialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Dialog.qml new file mode 100644 index 00000000..6151d090 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Dialog.qml @@ -0,0 +1,91 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.Universal 2.12 + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 24 + verticalPadding: 18 + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + topPadding: 18 + leftPadding: 24 + rightPadding: 24 + // TODO: QPlatformTheme::TitleBarFont + font.pixelSize: 20 + background: Rectangle { + x: 1; y: 1 // // FlyoutBorderThemeThickness + color: control.Universal.chromeMediumLowColor + width: parent.width - 2 + height: parent.height - 1 + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/DialogButtonBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/DialogButtonBox.qml new file mode 100644 index 00000000..0458c39d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/DialogButtonBox.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.Universal 2.12 + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + (control.count === 1 ? implicitContentWidth * 2 : implicitContentWidth) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + contentWidth: contentItem.contentWidth + + spacing: 4 + padding: 24 + topPadding: position === T.DialogButtonBox.Footer ? 6 : 24 + bottomPadding: position === T.DialogButtonBox.Header ? 6 : 24 + alignment: count === 1 ? Qt.AlignRight : undefined + + delegate: Button { + width: control.count === 1 ? control.availableWidth / 2 : undefined + } + + contentItem: ListView { + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: Rectangle { + implicitHeight: 32 + color: control.Universal.chromeMediumLowColor + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Drawer.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Drawer.qml new file mode 100644 index 00000000..7ec1d7f8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Drawer.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: control.edge === Qt.BottomEdge + leftPadding: control.edge === Qt.RightEdge + rightPadding: control.edge === Qt.LeftEdge + bottomPadding: control.edge === Qt.TopEdge + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + Rectangle { + readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge + width: horizontal ? 1 : parent.width + height: horizontal ? parent.height : 1 + color: control.Universal.chromeHighColor + x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 + y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 + } + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Frame.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Frame.qml new file mode 100644 index 00000000..8bb44849 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Frame.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: "transparent" + border.color: control.Universal.chromeDisabledLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/GroupBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/GroupBox.qml new file mode 100644 index 00000000..dc156dd7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/GroupBox.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 12 + padding: 12 + topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + + label: Text { + x: control.leftPadding + width: control.availableWidth + + text: control.title + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } + + background: Rectangle { + y: control.topPadding - control.bottomPadding + width: parent.width + height: parent.height - control.topPadding + control.bottomPadding + + color: "transparent" + border.color: control.Universal.chromeDisabledLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml new file mode 100644 index 00000000..47daa8ce --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Controls.impl 2.15 +import QtQuick.Templates 2.15 as T +import QtQuick.Controls.Universal 2.15 +import QtQuick.Controls.Universal.impl 2.15 + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + implicitHeight: contentHeight + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + color: control.Universal.background + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ItemDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ItemDelegate.qml new file mode 100644 index 00000000..ed985405 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ItemDelegate.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + visible: control.down || control.highlighted || control.visualFocus || control.hovered + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Label.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Label.qml new file mode 100644 index 00000000..c66435c3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Label.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.Label { + id: control + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + linkColor: Universal.accent +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Menu.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Menu.qml new file mode 100644 index 00000000..4814d006 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Menu.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 +import QtQuick.Window 2.12 + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 0 + overlap: 1 + + delegate: MenuItem { } + + contentItem: ListView { + implicitHeight: contentHeight + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height + : false + clip: true + currentIndex: control.currentIndex + + ScrollIndicator.vertical: ScrollIndicator {} + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuBar.qml new file mode 100644 index 00000000..2317f505 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuBar.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.MenuBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + delegate: MenuBarItem { } + + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.contentModel + } + } + + background: Rectangle { + implicitHeight: 40 + color: control.Universal.chromeMediumColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuBarItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuBarItem.qml new file mode 100644 index 00000000..30f1fc57 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuBarItem.qml @@ -0,0 +1,91 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.MenuBarItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + spacing: 12 + + icon.width: 20 + icon.height: 20 + icon.color: !enabled ? Universal.baseLowColor : Universal.baseHighColor + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + + color: !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.listMediumColor : + control.highlighted ? control.Universal.listLowColor : "transparent" + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + + visible: control.visualFocus + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuItem.qml new file mode 100644 index 00000000..23d0ee3c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuItem.qml @@ -0,0 +1,115 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + spacing: 12 + + icon.width: 20 + icon.height: 20 + icon.color: !enabled ? Universal.baseLowColor : Universal.baseHighColor + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor + } + + arrow: ColorImage { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.subMenu + mirror: control.mirrored + color: !enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/rightarrow.png" + } + + indicator: ColorImage { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.checked + color: !control.enabled ? control.Universal.baseLowColor : control.down ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor + source: !control.checkable ? "" : "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/checkmark.png" + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + + color: !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.listMediumColor : + control.highlighted ? control.Universal.listLowColor : control.Universal.altMediumLowColor + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + + visible: control.visualFocus + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuSeparator.qml new file mode 100644 index 00000000..72f9f6f7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuSeparator.qml @@ -0,0 +1,62 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 12 + topPadding: 9 + bottomPadding: 10 + + contentItem: Rectangle { + implicitWidth: 188 + implicitHeight: 1 + color: control.Universal.baseMediumLowColor + } + + background: Rectangle { + color: control.Universal.altMediumLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Page.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Page.qml new file mode 100644 index 00000000..347d6d9a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Page.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + background: Rectangle { + color: control.Universal.background + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/PageIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/PageIndicator.qml new file mode 100644 index 00000000..3dcc84ab --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/PageIndicator.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 7 + + delegate: Rectangle { + implicitWidth: 5 + implicitHeight: 5 + + radius: width / 2 + color: index === control.currentIndex ? control.Universal.baseMediumHighColor : + pressed ? control.Universal.baseMediumLowColor : control.Universal.baseLowColor + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Pane.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Pane.qml new file mode 100644 index 00000000..63a5ecec --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Pane.qml @@ -0,0 +1,54 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.Universal.background + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Popup.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Popup.qml new file mode 100644 index 00000000..e39134e1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Popup.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ProgressBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ProgressBar.qml new file mode 100644 index 00000000..ce79bd54 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ProgressBar.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: ProgressBarImpl { + implicitHeight: 10 + + scale: control.mirrored ? -1 : 1 + color: control.Universal.accent + progress: control.position + indeterminate: control.visible && control.indeterminate + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 10 + y: (control.height - height) / 2 + height: 10 + + visible: !control.indeterminate + color: control.Universal.baseLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioButton.qml new file mode 100644 index 00000000..a50cdf9b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioButton.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 8 + + property bool useSystemFocusVisuals: true + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioDelegate.qml new file mode 100644 index 00000000..9fc910f3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioDelegate.qml @@ -0,0 +1,97 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + visible: control.down || control.highlighted || control.visualFocus || control.hovered + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioIndicator.qml new file mode 100644 index 00000000..1a32decb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioIndicator.qml @@ -0,0 +1,80 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Controls.Universal 2.12 + +Rectangle { + id: indicator + implicitWidth: 20 + implicitHeight: 20 + radius: width / 2 + color: "transparent" + border.width: 2 // RadioButtonBorderThemeThickness + border.color: control.checked ? "transparent" : + !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.baseMediumColor : + control.hovered ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor + + property var control + + Rectangle { + id: checkOuterEllipse + width: parent.width + height: parent.height + + radius: width / 2 + opacity: indicator.control.checked ? 1 : 0 + color: "transparent" + border.width: 2 // RadioButtonBorderThemeThickness + border.color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.down ? indicator.control.Universal.baseMediumColor : indicator.control.Universal.accent + } + + Rectangle { + id: checkGlyph + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 2 + height: parent.height / 2 + + radius: width / 2 + opacity: indicator.control.checked ? 1 : 0 + color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.down ? indicator.control.Universal.baseMediumColor : + indicator.control.hovered ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RangeSlider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RangeSlider.qml new file mode 100644 index 00000000..f2e4d71e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RangeSlider.qml @@ -0,0 +1,109 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + first.implicitHandleWidth + leftPadding + rightPadding, + second.implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + first.implicitHandleHeight + topPadding + bottomPadding, + second.implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + first.handle: Rectangle { + implicitWidth: control.horizontal ? 8 : 24 + implicitHeight: control.horizontal ? 24 : 8 + + x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + + radius: 4 + color: control.first.pressed ? control.Universal.chromeHighColor : + control.first.hovered ? control.Universal.chromeAltLowColor : + control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + + second.handle: Rectangle { + implicitWidth: control.horizontal ? 8 : 24 + implicitHeight: control.horizontal ? 24 : 8 + + x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + + radius: 4 + color: control.second.pressed ? control.Universal.chromeHighColor : + control.second.hovered ? control.Universal.chromeAltLowColor : + control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + + background: Item { + implicitWidth: control.horizontal ? 200 : 18 + implicitHeight: control.horizontal ? 18 : 200 + + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + + scale: control.horizontal && control.mirrored ? -1 : 1 + + Rectangle { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : 0 + width: control.horizontal ? parent.width : 2 // SliderBackgroundThemeHeight + height: control.vertical ? parent.height : 2 // SliderBackgroundThemeHeight + + color: control.hovered && !control.pressed ? control.Universal.baseMediumColor : + control.enabled ? control.Universal.baseMediumLowColor : control.Universal.chromeDisabledHighColor + } + + Rectangle { + x: control.horizontal ? control.first.position * parent.width : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : control.second.visualPosition * parent.height + width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width : 2 // SliderBackgroundThemeHeight + height: control.vertical ? control.second.position * parent.height - control.first.position * parent.height : 2 // SliderBackgroundThemeHeight + + color: control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RoundButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RoundButton.qml new file mode 100644 index 00000000..2eedf96e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RoundButton.qml @@ -0,0 +1,91 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 8 + spacing: 8 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + property bool useSystemFocusVisuals: true + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + implicitWidth: 32 + implicitHeight: 32 + + radius: control.radius + visible: !control.flat || control.down || control.checked || control.highlighted + color: control.down ? control.Universal.baseMediumLowColor : + control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : + control.Universal.baseLowColor + + Rectangle { + width: parent.width + height: parent.height + radius: control.radius + color: "transparent" + visible: control.hovered + border.width: 2 // ButtonBorderThemeThickness + border.color: control.Universal.baseMediumLowColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ScrollBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ScrollBar.qml new file mode 100644 index 00000000..8b8e325d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ScrollBar.qml @@ -0,0 +1,93 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation == Qt.Horizontal ? height / width : width / height + + // TODO: arrows + + contentItem: Rectangle { + implicitWidth: control.interactive ? 12 : 6 + implicitHeight: control.interactive ? 12: 6 + + color: control.pressed ? control.Universal.baseMediumColor : + control.interactive && control.hovered ? control.Universal.baseMediumLowColor : control.Universal.chromeHighColor + opacity: 0.0 + } + + background: Rectangle { + implicitWidth: control.interactive ? 12 : 6 + implicitHeight: control.interactive ? 12: 6 + + color: control.Universal.chromeLowColor + visible: control.size < 1.0 + opacity: 0.0 + } + + states: [ + State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + } + ] + + transitions: [ + Transition { + to: "active" + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } + PauseAnimation { duration: 3000 } + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } + } + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ScrollIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ScrollIndicator.qml new file mode 100644 index 00000000..ab66ee7c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ScrollIndicator.qml @@ -0,0 +1,78 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: Rectangle { + implicitWidth: 6 + implicitHeight: 6 + + color: control.Universal.baseMediumLowColor + visible: control.size < 1.0 + opacity: 0.0 + + states: [ + State { + name: "active" + when: control.active + } + ] + + transitions: [ + Transition { + to: "active" + NumberAnimation { target: control.contentItem; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 5000 } + NumberAnimation { target: control.contentItem; property: "opacity"; to: 0.0 } + } + } + ] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Slider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Slider.qml new file mode 100644 index 00000000..8f427b1e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Slider.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + property bool useSystemFocusVisuals: true + + handle: Rectangle { + implicitWidth: control.horizontal ? 8 : 24 + implicitHeight: control.horizontal ? 24 : 8 + + x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + + radius: 4 + color: control.pressed ? control.Universal.chromeHighColor : + control.hovered ? control.Universal.chromeAltLowColor : + control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + + background: Item { + implicitWidth: control.horizontal ? 200 : 18 + implicitHeight: control.horizontal ? 18 : 200 + + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + + scale: control.horizontal && control.mirrored ? -1 : 1 + + Rectangle { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : 0 + width: control.horizontal ? parent.width : 2 // SliderTrackThemeHeight + height: !control.horizontal ? parent.height : 2 // SliderTrackThemeHeight + + color: control.hovered && !control.pressed ? control.Universal.baseMediumColor : + control.enabled ? control.Universal.baseMediumLowColor : control.Universal.chromeDisabledHighColor + } + + Rectangle { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : control.visualPosition * parent.height + width: control.horizontal ? control.position * parent.width : 2 // SliderTrackThemeHeight + height: !control.horizontal ? control.position * parent.height : 2 // SliderTrackThemeHeight + + color: control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SpinBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SpinBox.qml new file mode 100644 index 00000000..dfe927f5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SpinBox.qml @@ -0,0 +1,148 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.SpinBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + 16 + + up.implicitIndicatorWidth + + down.implicitIndicatorWidth) + implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, + implicitBackgroundHeight, + up.implicitIndicatorHeight, + down.implicitIndicatorHeight) + + // TextControlThemePadding + 2 (border) + padding: 12 + topPadding: padding - 7 + leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) + rightPadding: padding - 4 + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) + bottomPadding: padding - 5 + + Universal.theme: activeFocus ? Universal.Light : undefined + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + text: control.displayText + + font: control.font + color: !enabled ? control.Universal.chromeDisabledLowColor : + activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.foreground + selectionColor: control.Universal.accent + selectedTextColor: control.Universal.chromeWhiteColor + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: TextInput.AlignVCenter + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + } + + up.indicator: Item { + implicitWidth: 28 + height: parent.height + 4 + y: -2 + x: control.mirrored ? 0 : parent.width - width + + Rectangle { + x: 2; y: 4 + width: parent.width - 4 + height: parent.height - 8 + color: control.activeFocus ? control.Universal.accent : + control.up.pressed ? control.Universal.baseMediumLowColor : + control.up.hovered ? control.Universal.baseLowColor : "transparent" + visible: control.up.pressed || control.up.hovered + opacity: control.activeFocus && !control.up.pressed ? 0.4 : 1.0 + } + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + color: !enabled ? control.Universal.chromeDisabledLowColor : + control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.baseHighColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/" + (control.mirrored ? "left" : "right") + "arrow.png" + } + } + + down.indicator: Item { + implicitWidth: 28 + height: parent.height + 4 + y: -2 + x: control.mirrored ? parent.width - width : 0 + + Rectangle { + x: 2; y: 4 + width: parent.width - 4 + height: parent.height - 8 + color: control.activeFocus ? control.Universal.accent : + control.down.pressed ? control.Universal.baseMediumLowColor : + control.down.hovered ? control.Universal.baseLowColor : "transparent" + visible: control.down.pressed || control.down.hovered + opacity: control.activeFocus && !control.down.pressed ? 0.4 : 1.0 + } + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + color: !enabled ? control.Universal.chromeDisabledLowColor : + control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.baseHighColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/" + (control.mirrored ? "right" : "left") + "arrow.png" + } + } + + background: Rectangle { + implicitWidth: 60 + 28 // TextControlThemeMinWidth - 4 (border) + implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) + + border.width: 2 // TextControlBorderThemeThickness + border.color: !control.enabled ? control.Universal.baseLowColor : + control.activeFocus ? control.Universal.accent : + control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor + color: control.enabled ? control.Universal.background : control.Universal.baseLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SplitView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SplitView.qml new file mode 100644 index 00000000..a4ed22dd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SplitView.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2018 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.13 +import QtQuick.Templates 2.13 as T +import QtQuick.Controls 2.13 +import QtQuick.Controls.impl 2.13 +import QtQuick.Controls.Universal 2.13 + +T.SplitView { + id: control + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: Rectangle { + implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width + implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 + color: T.SplitHandle.pressed ? control.Universal.baseMediumColor + : (T.SplitHandle.hovered ? control.Universal.baseMediumLowColor : control.Universal.chromeHighColor) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/StackView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/StackView.qml new file mode 100644 index 00000000..5a3f7751 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/StackView.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.StackView { + id: control + + popEnter: Transition { + ParallelAnimation { + NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } + NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + } + + popExit: Transition { + NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } + } + + pushEnter: Transition { + ParallelAnimation { + NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } + NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + } + + pushExit: Transition { + NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } + } + + replaceEnter: Transition { + ParallelAnimation { + NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } + NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + } + + replaceExit: Transition { + NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwipeDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwipeDelegate.qml new file mode 100644 index 00000000..066049a7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwipeDelegate.qml @@ -0,0 +1,93 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + color: control.Universal.background + + Rectangle { + width: parent.width + height: parent.height + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Switch.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Switch.qml new file mode 100644 index 00000000..284b1229 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Switch.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 5 + spacing: 8 + + property bool useSystemFocusVisuals: true + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwitchDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwitchDelegate.qml new file mode 100644 index 00000000..56ba8494 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwitchDelegate.qml @@ -0,0 +1,97 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls.Universal.impl 2.12 + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + visible: control.down || control.highlighted || control.visualFocus || control.hovered + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwitchIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwitchIndicator.qml new file mode 100644 index 00000000..10f39515 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwitchIndicator.qml @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +Item { + id: indicator + implicitWidth: 44 + implicitHeight: 20 + + Rectangle { + width: parent.width + height: parent.height + + radius: 10 + color: !indicator.control.enabled ? "transparent" : + indicator.control.pressed ? indicator.control.Universal.baseMediumColor : + indicator.control.checked ? indicator.control.Universal.accent : "transparent" + border.color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.checked && !indicator.control.pressed ? indicator.control.Universal.accent : + indicator.control.hovered && !indicator.control.checked && !indicator.control.pressed ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumColor + opacity: indicator.control.hovered && indicator.control.checked && !indicator.control.pressed ? (indicator.control.Universal.theme === Universal.Light ? 0.7 : 0.9) : 1.0 + border.width: 2 + } + + property Item control + + Rectangle { + width: 10 + height: 10 + radius: 5 + + color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.pressed || indicator.control.checked ? indicator.control.Universal.chromeWhiteColor : + indicator.control.hovered && !indicator.control.checked ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor + + x: Math.max(5, Math.min(parent.width - width - 5, + indicator.control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + + Behavior on x { + enabled: !indicator.control.pressed + SmoothedAnimation { velocity: 200 } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TabBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TabBar.qml new file mode 100644 index 00000000..c7d27cbd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TabBar.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 100 + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 48 + preferredHighlightEnd: width - 48 + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 48 + color: control.Universal.background + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TabButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TabButton.qml new file mode 100644 index 00000000..66e3d725 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TabButton.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 12 // PivotItemMargin + spacing: 8 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(control.hovered ? control.Universal.baseMediumHighColor : control.Universal.foreground, + control.checked || control.down || control.hovered ? 1.0 : 0.2) + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.hovered ? control.Universal.baseMediumHighColor : control.Universal.foreground, + control.checked || control.down || control.hovered ? 1.0 : 0.2) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TextArea.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TextArea.qml new file mode 100644 index 00000000..03ad4a89 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TextArea.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + // TextControlThemePadding + 2 (border) + padding: 12 + topPadding: padding - 7 + rightPadding: padding - 4 + bottomPadding: padding - 5 + + Universal.theme: activeFocus ? Universal.Light : undefined + + color: !enabled ? Universal.chromeDisabledLowColor : Universal.foreground + selectionColor: Universal.accent + selectedTextColor: Universal.chromeWhiteColor + placeholderTextColor: !enabled ? Universal.chromeDisabledLowColor : + activeFocus ? Universal.chromeBlackMediumLowColor : + Universal.baseMediumColor + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + verticalAlignment: control.verticalAlignment + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + implicitWidth: 60 // TextControlThemeMinWidth - 4 (border) + implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) + + border.width: 2 // TextControlBorderThemeThickness + border.color: !control.enabled ? control.Universal.baseLowColor : + control.activeFocus ? control.Universal.accent : + control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor + color: control.enabled ? control.Universal.background : control.Universal.baseLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TextField.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TextField.qml new file mode 100644 index 00000000..ba5bf685 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TextField.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + // TextControlThemePadding + 2 (border) + padding: 12 + topPadding: padding - 7 + rightPadding: padding - 4 + bottomPadding: padding - 5 + + Universal.theme: activeFocus ? Universal.Light : undefined + + color: !enabled ? Universal.chromeDisabledLowColor : Universal.foreground + selectionColor: Universal.accent + selectedTextColor: Universal.chromeWhiteColor + placeholderTextColor: !enabled ? Universal.chromeDisabledLowColor : + activeFocus ? Universal.chromeBlackMediumLowColor : + Universal.baseMediumColor + verticalAlignment: TextInput.AlignVCenter + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + verticalAlignment: control.verticalAlignment + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + implicitWidth: 60 // TextControlThemeMinWidth - 4 (border) + implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) + + border.width: 2 // TextControlBorderThemeThickness + border.color: !control.enabled ? control.Universal.baseLowColor : + control.activeFocus ? control.Universal.accent : + control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor + color: control.enabled ? control.Universal.background : control.Universal.baseLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolBar.qml new file mode 100644 index 00000000..5a385e8e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolBar.qml @@ -0,0 +1,53 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.ToolBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + background: Rectangle { + implicitHeight: 48 // AppBarThemeCompactHeight + color: control.Universal.chromeMediumColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolButton.qml new file mode 100644 index 00000000..f36dac22 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolButton.qml @@ -0,0 +1,84 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 +import QtQuick.Controls.Universal 2.12 + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 8 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + property bool useSystemFocusVisuals: true + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + implicitWidth: 68 + implicitHeight: 48 // AppBarThemeCompactHeight + + color: control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : "transparent" + + Rectangle { + width: parent.width + height: parent.height + visible: control.down || control.hovered + color: control.down ? control.Universal.listMediumColor : control.Universal.listLowColor + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolSeparator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolSeparator.qml new file mode 100644 index 00000000..ee8e6e1c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolSeparator.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + leftPadding: vertical ? 16 : 12 + rightPadding: vertical ? 15 : 12 + topPadding: vertical ? 12 : 16 + bottomPadding: vertical ? 12 : 15 + + contentItem: Rectangle { + implicitWidth: vertical ? 1 : 20 + implicitHeight: vertical ? 20 : 1 + color: control.Universal.baseMediumLowColor + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolTip.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolTip.qml new file mode 100644 index 00000000..431cdf7c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolTip.qml @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 + y: -implicitHeight - 16 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 8 + padding: 8 + topPadding: padding - 3 + bottomPadding: padding - 1 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // ToolTipBorderThemeThickness + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Tumbler.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Tumbler.qml new file mode 100644 index 00000000..d0e7b12f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Tumbler.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import QtQuick.Templates 2.12 as T +import QtQuick.Controls.Universal 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.impl 2.12 + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 + + delegate: Text { + text: modelData + font: control.font + color: control.Universal.foreground + opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/VerticalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/VerticalHeaderView.qml new file mode 100644 index 00000000..04408d68 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/VerticalHeaderView.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Controls.impl 2.15 +import QtQuick.Templates 2.15 as T +import QtQuick.Controls.Universal 2.15 +import QtQuick.Controls.Universal.impl 2.15 + +T.VerticalHeaderView { + id: control + + implicitWidth: contentWidth + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + color: control.Universal.background + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/plugins.qmltypes new file mode 100644 index 00000000..c38e39e1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/plugins.qmltypes @@ -0,0 +1,340 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls.Universal 2.15' + +Module { + dependencies: ["QtQuick.Controls 2.0"] + Component { name: "QQuickAttachedObject"; prototype: "QObject" } + Component { + name: "QQuickItem" + defaultProperty: "data" + prototype: "QObject" + Enum { + name: "Flags" + values: { + "ItemClipsChildrenToShape": 1, + "ItemAcceptsInputMethod": 2, + "ItemIsFocusScope": 4, + "ItemHasContents": 8, + "ItemAcceptsDrops": 16 + } + } + Enum { + name: "TransformOrigin" + values: { + "TopLeft": 0, + "Top": 1, + "TopRight": 2, + "Left": 3, + "Center": 4, + "Right": 5, + "BottomLeft": 6, + "Bottom": 7, + "BottomRight": 8 + } + } + Property { name: "parent"; type: "QQuickItem"; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "z"; type: "double" } + Property { name: "width"; type: "double" } + Property { name: "height"; type: "double" } + Property { name: "opacity"; type: "double" } + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } + Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } + Property { name: "state"; type: "string" } + Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } + Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } + Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baselineOffset"; type: "double" } + Property { name: "clip"; type: "bool" } + Property { name: "focus"; type: "bool" } + Property { name: "activeFocus"; type: "bool"; isReadonly: true } + Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } + Property { name: "rotation"; type: "double" } + Property { name: "scale"; type: "double" } + Property { name: "transformOrigin"; type: "TransformOrigin" } + Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } + Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } + Property { name: "smooth"; type: "bool" } + Property { name: "antialiasing"; type: "bool" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } + Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } + Signal { + name: "childrenRectChanged" + Parameter { type: "QRectF" } + } + Signal { + name: "baselineOffsetChanged" + Parameter { type: "double" } + } + Signal { + name: "stateChanged" + Parameter { type: "string" } + } + Signal { + name: "focusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusOnTabChanged" + revision: 1 + Parameter { type: "bool" } + } + Signal { + name: "parentChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "transformOriginChanged" + Parameter { type: "TransformOrigin" } + } + Signal { + name: "smoothChanged" + Parameter { type: "bool" } + } + Signal { + name: "antialiasingChanged" + Parameter { type: "bool" } + } + Signal { + name: "clipChanged" + Parameter { type: "bool" } + } + Signal { + name: "windowChanged" + revision: 1 + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "containmentMaskChanged"; revision: 11 } + Method { name: "update" } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "targetSize"; type: "QSize" } + } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "contains" + type: "bool" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapFromItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapFromGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { name: "forceActiveFocus" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { + name: "nextItemInFocusChain" + revision: 1 + type: "QQuickItem*" + Parameter { name: "forward"; type: "bool" } + } + Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } + Method { + name: "childAt" + type: "QQuickItem*" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + name: "QQuickPaintedItem" + defaultProperty: "data" + prototype: "QQuickItem" + Enum { + name: "RenderTarget" + values: { + "Image": 0, + "FramebufferObject": 1, + "InvertedYFramebufferObject": 2 + } + } + Enum { + name: "PerformanceHints" + values: { + "FastFBOResizing": 1 + } + } + Property { name: "contentsSize"; type: "QSize" } + Property { name: "fillColor"; type: "QColor" } + Property { name: "contentsScale"; type: "double" } + Property { name: "renderTarget"; type: "RenderTarget" } + Property { name: "textureSize"; type: "QSize" } + } + Component { + name: "QQuickUniversalBusyIndicator" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.Universal.impl/BusyIndicatorImpl 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "count"; type: "int" } + Property { name: "color"; type: "QColor" } + } + Component { + name: "QQuickUniversalFocusRectangle" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Controls.Universal.impl/FocusRectangle 2.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickUniversalProgressBar" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.Universal.impl/ProgressBarImpl 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "color"; type: "QColor" } + Property { name: "progress"; type: "double" } + Property { name: "indeterminate"; type: "bool" } + } + Component { + name: "QQuickUniversalStyle" + prototype: "QQuickAttachedObject" + exports: ["QtQuick.Controls.Universal/Universal 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "Theme" + values: { + "Light": 0, + "Dark": 1, + "System": 2 + } + } + Enum { + name: "Color" + values: { + "Lime": 0, + "Green": 1, + "Emerald": 2, + "Teal": 3, + "Cyan": 4, + "Cobalt": 5, + "Indigo": 6, + "Violet": 7, + "Pink": 8, + "Magenta": 9, + "Crimson": 10, + "Red": 11, + "Orange": 12, + "Amber": 13, + "Yellow": 14, + "Brown": 15, + "Olive": 16, + "Steel": 17, + "Mauve": 18, + "Taupe": 19 + } + } + Property { name: "theme"; type: "Theme" } + Property { name: "accent"; type: "QVariant" } + Property { name: "foreground"; type: "QVariant" } + Property { name: "background"; type: "QVariant" } + Property { name: "altHighColor"; type: "QColor"; isReadonly: true } + Property { name: "altLowColor"; type: "QColor"; isReadonly: true } + Property { name: "altMediumColor"; type: "QColor"; isReadonly: true } + Property { name: "altMediumHighColor"; type: "QColor"; isReadonly: true } + Property { name: "altMediumLowColor"; type: "QColor"; isReadonly: true } + Property { name: "baseHighColor"; type: "QColor"; isReadonly: true } + Property { name: "baseLowColor"; type: "QColor"; isReadonly: true } + Property { name: "baseMediumColor"; type: "QColor"; isReadonly: true } + Property { name: "baseMediumHighColor"; type: "QColor"; isReadonly: true } + Property { name: "baseMediumLowColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeAltLowColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeBlackHighColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeBlackLowColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeBlackMediumLowColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeBlackMediumColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeDisabledHighColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeDisabledLowColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeHighColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeLowColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeMediumColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeMediumLowColor"; type: "QColor"; isReadonly: true } + Property { name: "chromeWhiteColor"; type: "QColor"; isReadonly: true } + Property { name: "listLowColor"; type: "QColor"; isReadonly: true } + Property { name: "listMediumColor"; type: "QColor"; isReadonly: true } + Signal { name: "paletteChanged" } + Method { + name: "color" + type: "QColor" + Parameter { name: "color"; type: "Color" } + } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Universal.impl/CheckIndicator 2.0" + exports: ["QtQuick.Controls.Universal.impl/CheckIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "partiallyChecked"; type: "bool"; isReadonly: true } + } + Component { + prototype: "QQuickRectangle" + name: "QtQuick.Controls.Universal.impl/RadioIndicator 2.0" + exports: ["QtQuick.Controls.Universal.impl/RadioIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QVariant" } + } + Component { + prototype: "QQuickItem" + name: "QtQuick.Controls.Universal.impl/SwitchIndicator 2.0" + exports: ["QtQuick.Controls.Universal.impl/SwitchIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "QQuickItem"; isPointer: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/qmldir new file mode 100644 index 00000000..6870a4e1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/qmldir @@ -0,0 +1,4 @@ +module QtQuick.Controls.Universal +plugin qtquickcontrols2universalstyleplugin +classname QtQuickControls2UniversalStylePlugin +depends QtQuick.Controls 2.5 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll new file mode 100644 index 00000000..b73d8106 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/VerticalHeaderView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/VerticalHeaderView.qml new file mode 100644 index 00000000..3fc9ca5a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/VerticalHeaderView.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Templates 2.15 as T + +T.VerticalHeaderView { + id: control + + implicitWidth: contentWidth + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + color: "#f6f6f6" + border.color: "#e4e4e4" + + Text { + id: text + text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] + : model[control.textRole]) + : modelData + width: parent.width + height: parent.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/AbstractButtonSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/AbstractButtonSection.qml new file mode 100644 index 00000000..e8aa39c2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/AbstractButtonSection.qml @@ -0,0 +1,118 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("AbstractButton") + + SectionLayout { + Label { + text: qsTr("Text") + tooltip: qsTr("The text displayed on the button.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.text + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Display") + tooltip: qsTr("Determines how the icon and text are displayed within the button.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.display + model: [ "IconOnly", "TextOnly", "TextBesideIcon" ] + scope: "AbstractButton" + Layout.fillWidth: true + } + } + + Label { + visible: checkable + text: qsTr("Checkable") + tooltip: qsTr("Whether the button is checkable.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.checkable.valueToString + backendValue: backendValues.checkable + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Checked") + tooltip: qsTr("Whether the button is checked.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.checked.valueToString + backendValue: backendValues.checked + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Exclusive") + tooltip: qsTr("Whether the button is exclusive.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.autoExclusive.valueToString + backendValue: backendValues.autoExclusive + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Repeat") + tooltip: qsTr("Whether the button repeats while pressed and held down.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.autoRepeat.valueToString + backendValue: backendValues.autoRepeat + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/BusyIndicatorSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/BusyIndicatorSpecifics.qml new file mode 100644 index 00000000..7ae927fc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/BusyIndicatorSpecifics.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("BusyIndicator") + + SectionLayout { + Label { + text: qsTr("Running") + tooltip: qsTr("Whether the busy indicator is currently indicating activity.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.running.valueToString + backendValue: backendValues.running + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ButtonSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ButtonSection.qml new file mode 100644 index 00000000..fef46071 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ButtonSection.qml @@ -0,0 +1,80 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + id: section + caption: qsTr("Button") + + SectionLayout { + Label { + text: qsTr("AutoRepeat") + tooltip: qsTr("Whether the button repeats pressed(), released() and clicked() signals while the button is pressed and held down.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.autoRepeat.valueToString + backendValue: backendValues.autoRepeat + Layout.fillWidth: true + } + } + Label { + text: qsTr("Flat") + tooltip: qsTr("Whether the button is flat.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.flat.valueToString + backendValue: backendValues.flat + Layout.fillWidth: true + } + } + Label { + text: qsTr("Highlighted") + tooltip: qsTr("Whether the button is highlighted.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.highlighted.valueToString + backendValue: backendValues.highlighted + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ButtonSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ButtonSpecifics.qml new file mode 100644 index 00000000..e094b9df --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ButtonSpecifics.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ButtonSection { + width: parent.width + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckBoxSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckBoxSpecifics.qml new file mode 100644 index 00000000..f76aa215 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckBoxSpecifics.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + CheckSection { + width: parent.width + caption: qsTr("CheckBox") + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckDelegateSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckDelegateSpecifics.qml new file mode 100644 index 00000000..1df55e11 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckDelegateSpecifics.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + CheckSection { + width: parent.width + caption: qsTr("CheckDelegate") + } + + ItemDelegateSection { + width: parent.width + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckSection.qml new file mode 100644 index 00000000..76cde03e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckSection.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + SectionLayout { + Label { + text: qsTr("Check State") + tooltip: qsTr("The current check state.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.checkState + model: [ "Unchecked", "PartiallyChecked", "Checked" ] + scope: "Qt" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Tri-state") + tooltip: qsTr("Whether the checkbox has three states.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.tristate.valueToString + backendValue: backendValues.tristate + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ComboBoxSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ComboBoxSpecifics.qml new file mode 100644 index 00000000..8a5e33b6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ComboBoxSpecifics.qml @@ -0,0 +1,119 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("ComboBox") + + SectionLayout { + Label { + text: qsTr("Text Role") + tooltip: qsTr("The model role used for displaying text.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.textRole + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Current") + tooltip: qsTr("The index of the current item.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.currentIndex + Layout.fillWidth: true + } + } + Label { + text: qsTr("Editable") + tooltip: qsTr("Whether the combo box is editable.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.editable.valueToString + backendValue: backendValues.editable + Layout.fillWidth: true + } + } + Label { + text: qsTr("Flat") + tooltip: qsTr("Whether the combo box button is flat.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.flat.valueToString + backendValue: backendValues.flat + Layout.fillWidth: true + } + } + Label { + text: qsTr("DisplayText") + tooltip: qsTr("Holds the text that is displayed on the combo box button.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.displayText + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ContainerSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ContainerSection.qml new file mode 100644 index 00000000..896804c0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ContainerSection.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Container") + + SectionLayout { + Label { + text: qsTr("Current") + tooltip: qsTr("The index of the current item.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.currentIndex + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ControlSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ControlSection.qml new file mode 100644 index 00000000..3446c08f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ControlSection.qml @@ -0,0 +1,108 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Control") + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Whether the control is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.enabled.valueToString + backendValue: backendValues.enabled + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Focus Policy") + tooltip: qsTr("Focus policy of the control.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.focusPolicy + model: [ "TabFocus", "ClickFocus", "StrongFocus", "WheelFocus", "NoFocus" ] + scope: "Qt" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Hover") + tooltip: qsTr("Whether control accepts hover events.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.hoverEnabled.valueToString + backendValue: backendValues.hoverEnabled + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Spacing") + tooltip: qsTr("Spacing between internal elements of the control.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.spacing + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Wheel") + tooltip: qsTr("Whether control accepts wheel events.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.wheelEnabled.valueToString + backendValue: backendValues.wheelEnabled + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ControlSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ControlSpecifics.qml new file mode 100644 index 00000000..ccfd8853 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ControlSpecifics.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/DelayButtonSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/DelayButtonSpecifics.qml new file mode 100644 index 00000000..40b673a1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/DelayButtonSpecifics.qml @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("DelayButton") + + SectionLayout { + Label { + text: qsTr("Delay") + tooltip: qsTr("The delay in milliseconds.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 9999999 + decimals: 0 + stepSize: 1 + backendValue: backendValues.delay + Layout.fillWidth: true + } + } + } + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/DialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/DialSpecifics.qml new file mode 100644 index 00000000..a0df81ef --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/DialSpecifics.qml @@ -0,0 +1,172 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("Dial") + + SectionLayout { + Label { + text: qsTr("Value") + tooltip: qsTr("The current value of the dial.") + } + SecondColumnLayout { + SpinBox { + minimumValue: Math.min(backendValues.from.value, backendValues.to.value) + maximumValue: Math.max(backendValues.from.value, backendValues.to.value) + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.value + Layout.fillWidth: true + } + } + + Label { + text: qsTr("From") + tooltip: qsTr("The starting value of the dial range.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.from + Layout.fillWidth: true + } + } + + Label { + text: qsTr("To") + tooltip: qsTr("The ending value of the dial range.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.to + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Step Size") + tooltip: qsTr("The step size of the dial.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.stepSize + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Snap Mode") + tooltip: qsTr("The snap mode of the dial.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.snapMode + model: [ "NoSnap", "SnapOnRelease", "SnapAlways" ] + scope: "Dial" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Live") + tooltip: qsTr("Whether the dial provides live value updates.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.live.valueToString + backendValue: backendValues.live + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Input Mode") + tooltip: qsTr("How the dial tracks movement.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.inputMode + model: [ "Circular", "Horizontal", "Vertical" ] + scope: "Dial" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Wrap") + tooltip: qsTr("Whether the dial wraps when dragged.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.wrap.valueToString + backendValue: backendValues.wrap + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/FrameSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/FrameSpecifics.qml new file mode 100644 index 00000000..f17b6399 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/FrameSpecifics.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PaneSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/GroupBoxSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/GroupBoxSpecifics.qml new file mode 100644 index 00000000..3a705bcc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/GroupBoxSpecifics.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("GroupBox") + + SectionLayout { + Label { + text: qsTr("Title") + tooltip: qsTr("The title of the group box.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.title + Layout.fillWidth: true + } + } + } + } + + PaneSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/InsetSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/InsetSection.qml new file mode 100644 index 00000000..4253b170 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/InsetSection.qml @@ -0,0 +1,119 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Inset") + + SectionLayout { + Label { + text: qsTr("Vertical") + } + SecondColumnLayout { + Label { + text: qsTr("Top") + tooltip: qsTr("Top inset for the background.") + width: 42 + } + SpinBox { + maximumValue: 10000 + minimumValue: -10000 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.topInset + Layout.fillWidth: true + } + Item { + width: 4 + height: 4 + } + + Label { + text: qsTr("Bottom") + tooltip: qsTr("Bottom inset for the background.") + width: 42 + } + SpinBox { + maximumValue: 10000 + minimumValue: -10000 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.bottomInset + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Horizontal") + } + SecondColumnLayout { + Label { + text: qsTr("Left") + tooltip: qsTr("Left inset for the background.") + width: 42 + } + SpinBox { + maximumValue: 10000 + minimumValue: -10000 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.leftInset + Layout.fillWidth: true + } + Item { + width: 4 + height: 4 + } + + Label { + text: qsTr("Right") + tooltip: qsTr("Right inset for the background.") + width: 42 + } + SpinBox { + maximumValue: 10000 + minimumValue: -10000 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.rightInset + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ItemDelegateSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ItemDelegateSection.qml new file mode 100644 index 00000000..a337bcee --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ItemDelegateSection.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + id: section + caption: qsTr("ItemDelegate") + + SectionLayout { + Label { + text: qsTr("Highlighted") + tooltip: qsTr("Whether the delegate is highlighted.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.highlighted.valueToString + backendValue: backendValues.highlighted + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ItemDelegateSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ItemDelegateSpecifics.qml new file mode 100644 index 00000000..58063980 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ItemDelegateSpecifics.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ItemDelegateSection { + width: parent.width + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/LabelSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/LabelSpecifics.qml new file mode 100644 index 00000000..e5d5e04f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/LabelSpecifics.qml @@ -0,0 +1,86 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + StandardTextSection { + width: parent.width + showIsWrapping: true + showFormatProperty: true + showVerticalAlignment: true + } + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Text Color") + + ColorEditor { + caption: qsTr("Text Color") + backendValue: backendValues.color + supportGradient: false + } + } + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Style Color") + + ColorEditor { + caption: qsTr("Style Color") + backendValue: backendValues.styleColor + supportGradient: false + } + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } + + InsetSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaddingSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaddingSection.qml new file mode 100644 index 00000000..a7dee28e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaddingSection.qml @@ -0,0 +1,101 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Padding") + + SectionLayout { + Label { + text: qsTr("Top") + tooltip: qsTr("Padding between the content and the top edge of the control.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.topPadding + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Left") + tooltip: qsTr("Padding between the content and the left edge of the control.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.leftPadding + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Right") + tooltip: qsTr("Padding between the content and the right edge of the control.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.rightPadding + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Bottom") + tooltip: qsTr("Padding between the content and the bottom edge of the control.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.bottomPadding + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PageIndicatorSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PageIndicatorSpecifics.qml new file mode 100644 index 00000000..20aa8577 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PageIndicatorSpecifics.qml @@ -0,0 +1,98 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("PageIndicator") + + SectionLayout { + Label { + text: qsTr("Count") + tooltip: qsTr("The number of pages.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.count + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Current") + tooltip: qsTr("The index of the current page.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.currentIndex + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Interactive") + tooltip: qsTr("Whether the control is interactive.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.interactive.valueToString + backendValue: backendValues.interactive + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PageSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PageSpecifics.qml new file mode 100644 index 00000000..2dca1100 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PageSpecifics.qml @@ -0,0 +1,101 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("Page") + + SectionLayout { + Label { + text: qsTr("Title") + tooltip: qsTr("Title of the page.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.title + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Content Width") + tooltip: qsTr("Content height used for calculating the total implicit width.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.contentWidth + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Content Height") + tooltip: qsTr("Content height used for calculating the total implicit height.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.contentHeight + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaneSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaneSection.qml new file mode 100644 index 00000000..80d154c9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaneSection.qml @@ -0,0 +1,73 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Pane") + + SectionLayout { + Label { + text: qsTr("Content Width") + tooltip: qsTr("Content height used for calculating the total implicit width.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.contentWidth + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Content Height") + tooltip: qsTr("Content height used for calculating the total implicit height.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.contentHeight + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaneSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaneSpecifics.qml new file mode 100644 index 00000000..f17b6399 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaneSpecifics.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PaneSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ProgressBarSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ProgressBarSpecifics.qml new file mode 100644 index 00000000..c24d71db --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ProgressBarSpecifics.qml @@ -0,0 +1,119 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("ProgressBar") + + SectionLayout { + Label { + text: qsTr("Indeterminate") + tooltip: qsTr("Whether the progress is indeterminate.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.indeterminate.valueToString + backendValue: backendValues.indeterminate + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Value") + tooltip: qsTr("The current value of the progress.") + } + SecondColumnLayout { + SpinBox { + minimumValue: Math.min(backendValues.from.value, backendValues.to.value) + maximumValue: Math.max(backendValues.from.value, backendValues.to.value) + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.value + Layout.fillWidth: true + } + } + + Label { + text: qsTr("From") + tooltip: qsTr("The starting value for the progress.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.from + Layout.fillWidth: true + } + } + + Label { + text: qsTr("To") + tooltip: qsTr("The ending value for the progress.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.to + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RadioButtonSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RadioButtonSpecifics.qml new file mode 100644 index 00000000..6137ad8c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RadioButtonSpecifics.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RadioDelegateSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RadioDelegateSpecifics.qml new file mode 100644 index 00000000..58063980 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RadioDelegateSpecifics.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ItemDelegateSection { + width: parent.width + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RangeSliderSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RangeSliderSpecifics.qml new file mode 100644 index 00000000..2324a66f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RangeSliderSpecifics.qml @@ -0,0 +1,189 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("RangeSlider") + + SectionLayout { + Label { + text: qsTr("First Value") + tooltip: qsTr("The value of the first range slider handle.") + } + SecondColumnLayout { + SpinBox { + minimumValue: Math.min(backendValues.from.value, backendValues.to.value) + maximumValue: Math.max(backendValues.from.value, backendValues.to.value) + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.first_value + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Second Value") + tooltip: qsTr("The value of the second range slider handle.") + } + SecondColumnLayout { + SpinBox { + minimumValue: Math.min(backendValues.from.value, backendValues.to.value) + maximumValue: Math.max(backendValues.from.value, backendValues.to.value) + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.second_value + Layout.fillWidth: true + } + } + + Label { + text: qsTr("From") + tooltip: qsTr("The starting value of the range slider range.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.from + Layout.fillWidth: true + } + } + + Label { + text: qsTr("To") + tooltip: qsTr("The ending value of the range slider range.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.to + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Step Size") + tooltip: qsTr("The step size of the range slider.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.stepSize + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Snap Mode") + tooltip: qsTr("The snap mode of the range slider.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.orientation + model: [ "NoSnap", "SnapOnRelease", "SnapAlways" ] + scope: "RangeSlider" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Orientation") + tooltip: qsTr("The orientation of the range slider.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.orientation + model: [ "Horizontal", "Vertical" ] + scope: "Qt" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Live") + tooltip: qsTr("Whether the range slider provides live value updates.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.live.valueToString + backendValue: backendValues.live + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Touch drag threshold") + tooltip: qsTr("The threshold (in logical pixels) at which a touch drag event will be initiated.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10000 + decimals: 0 + backendValue: backendValues.touchDragThreshold + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RoundButtonSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RoundButtonSpecifics.qml new file mode 100644 index 00000000..af4ab5d0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RoundButtonSpecifics.qml @@ -0,0 +1,84 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("RoundButton") + + SectionLayout { + Label { + text: qsTr("Radius") + tooltip: qsTr("Radius of the button.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10000 + decimals: 0 + backendValue: backendValues.radius + Layout.fillWidth: true + } + } + } + } + + ButtonSection { + width: parent.width + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ScrollViewSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ScrollViewSpecifics.qml new file mode 100644 index 00000000..0f3d56d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ScrollViewSpecifics.qml @@ -0,0 +1,90 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("ScrollView") + + SectionLayout { + Label { + text: qsTr("Content Width") + tooltip: qsTr("Content height used for calculating the total implicit width.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.contentWidth + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Content Height") + tooltip: qsTr("Content height used for calculating the total implicit height.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.contentHeight + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SliderSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SliderSpecifics.qml new file mode 100644 index 00000000..d126dd06 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SliderSpecifics.qml @@ -0,0 +1,174 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("Slider") + + SectionLayout { + Label { + text: qsTr("Value") + tooltip: qsTr("The current value of the slider.") + } + SecondColumnLayout { + SpinBox { + minimumValue: Math.min(backendValues.from.value, backendValues.to.value) + maximumValue: Math.max(backendValues.from.value, backendValues.to.value) + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.value + Layout.fillWidth: true + } + } + + Label { + text: qsTr("From") + tooltip: qsTr("The starting value of the slider range.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.from + Layout.fillWidth: true + } + } + + Label { + text: qsTr("To") + tooltip: qsTr("The ending value of the slider range.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.to + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Step Size") + tooltip: qsTr("The step size of the slider.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.stepSize + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Snap Mode") + tooltip: qsTr("The snap mode of the slider.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.snapMode + model: [ "NoSnap", "SnapOnRelease", "SnapAlways" ] + scope: "Slider" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Orientation") + tooltip: qsTr("The orientation of the slider.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.orientation + model: [ "Horizontal", "Vertical" ] + scope: "Qt" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Live") + tooltip: qsTr("Whether the slider provides live value updates.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.live.valueToString + backendValue: backendValues.live + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Touch drag threshold") + tooltip: qsTr("The threshold (in logical pixels) at which a touch drag event will be initiated.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10000 + decimals: 0 + backendValue: backendValues.touchDragThreshold + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SpinBoxSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SpinBoxSpecifics.qml new file mode 100644 index 00000000..db59f074 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SpinBoxSpecifics.qml @@ -0,0 +1,142 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("SpinBox") + + SectionLayout { + Label { + text: qsTr("Value") + tooltip: qsTr("The current value of the spinbox.") + } + SecondColumnLayout { + SpinBox { + minimumValue: Math.min(backendValues.from.value, backendValues.to.value) + maximumValue: Math.max(backendValues.from.value, backendValues.to.value) + decimals: 2 + backendValue: backendValues.value + Layout.fillWidth: true + } + } + + Label { + text: qsTr("From") + tooltip: qsTr("The starting value of the spinbox range.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + backendValue: backendValues.from + Layout.fillWidth: true + } + } + + Label { + text: qsTr("To") + tooltip: qsTr("The ending value of the spinbox range.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + backendValue: backendValues.to + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Step Size") + tooltip: qsTr("The step size of the spinbox.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 2 + backendValue: backendValues.stepSize + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Editable") + tooltip: qsTr("Whether the spinbox is editable.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.editable.valueToString + backendValue: backendValues.editable + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Wrap") + tooltip: qsTr("Whether the spinbox wraps.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.wrap.valueToString + backendValue: backendValues.wrap + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/StackViewSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/StackViewSpecifics.qml new file mode 100644 index 00000000..ccfd8853 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/StackViewSpecifics.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwipeDelegateSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwipeDelegateSpecifics.qml new file mode 100644 index 00000000..58063980 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwipeDelegateSpecifics.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ItemDelegateSection { + width: parent.width + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwipeViewSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwipeViewSpecifics.qml new file mode 100644 index 00000000..02cc900e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwipeViewSpecifics.qml @@ -0,0 +1,91 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("SwipeView") + + SectionLayout { + Label { + text: qsTr("Interactive") + tooltip: qsTr("Whether the view is interactive.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.interactive.valueToString + backendValue: backendValues.interactive + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Orientation") + tooltip: qsTr("Orientation of the view.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.orientation + model: [ "Horizontal", "Vertical" ] + scope: "Qt" + Layout.fillWidth: true + } + } + } + } + + ContainerSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwitchDelegateSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwitchDelegateSpecifics.qml new file mode 100644 index 00000000..f8c0dcc6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwitchDelegateSpecifics.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ItemDelegateSection { + width: parent.width + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwitchSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwitchSpecifics.qml new file mode 100644 index 00000000..6137ad8c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwitchSpecifics.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TabBarSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TabBarSpecifics.qml new file mode 100644 index 00000000..f17e8e9a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TabBarSpecifics.qml @@ -0,0 +1,107 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("TabBar") + + SectionLayout { + Label { + text: qsTr("Position") + tooltip: qsTr("Position of the tabbar.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.position + model: [ "Header", "Footer" ] + scope: "TabBar" + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Content Width") + tooltip: qsTr("Content height used for calculating the total implicit width.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.contentWidth + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Content Height") + tooltip: qsTr("Content height used for calculating the total implicit height.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.contentHeight + Layout.fillWidth: true + } + } + } + } + + ContainerSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TabButtonSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TabButtonSpecifics.qml new file mode 100644 index 00000000..6137ad8c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TabButtonSpecifics.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TextAreaSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TextAreaSpecifics.qml new file mode 100644 index 00000000..f8cf92e8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TextAreaSpecifics.qml @@ -0,0 +1,104 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("TextArea") + + SectionLayout { + Label { + text: qsTr("Placeholder") + tooltip: qsTr("Placeholder text displayed when the editor is empty.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.placeholderText + Layout.fillWidth: true + } + + } + + Label { + text: qsTr("Hover") + tooltip: qsTr("Whether text area accepts hover events.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.hoverEnabled.valueToString + backendValue: backendValues.hoverEnabled + Layout.fillWidth: true + } + } + } + } + + Section { + width: parent.width + caption: qsTr("Placeholder Text Color") + + ColorEditor { + caption: qsTr("Placeholder Text Color") + backendValue: backendValues.placeholderTextColor + supportGradient: false + } + } + + StandardTextSection { + width: parent.width + showIsWrapping: true + showFormatProperty: true + showVerticalAlignment: true + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } + + InsetSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TextFieldSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TextFieldSpecifics.qml new file mode 100644 index 00000000..f95f282c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TextFieldSpecifics.qml @@ -0,0 +1,101 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("TextField") + + SectionLayout { + Label { + text: qsTr("Placeholder") + tooltip: qsTr("Placeholder text displayed when the editor is empty.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.placeholderText + Layout.fillWidth: true + } + + } + + Label { + text: qsTr("Hover") + tooltip: qsTr("Whether text field accepts hover events.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.hoverEnabled.valueToString + backendValue: backendValues.hoverEnabled + Layout.fillWidth: true + } + } + } + } + + Section { + width: parent.width + caption: qsTr("Placeholder Text Color") + + ColorEditor { + caption: qsTr("Placeholder Text Color") + backendValue: backendValues.placeholderTextColor + supportGradient: false + } + } + + StandardTextSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } + + InsetSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolBarSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolBarSpecifics.qml new file mode 100644 index 00000000..acf02e7b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolBarSpecifics.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("ToolBar") + + SectionLayout { + Label { + text: qsTr("Position") + tooltip: qsTr("Position of the toolbar.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.position + model: [ "Header", "Footer" ] + scope: "ToolBar" + Layout.fillWidth: true + } + } + } + } + + PaneSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolButtonSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolButtonSpecifics.qml new file mode 100644 index 00000000..e094b9df --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolButtonSpecifics.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ButtonSection { + width: parent.width + } + + AbstractButtonSection { + width: parent.width + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolSeparatorSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolSeparatorSpecifics.qml new file mode 100644 index 00000000..d0ebd57c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolSeparatorSpecifics.qml @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("ToolSeparator") + + SectionLayout { + Label { + text: qsTr("Orientation") + tooltip: qsTr("The orientation of the separator.") + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.orientation + model: [ "Horizontal", "Vertical" ] + scope: "Qt" + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TumblerSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TumblerSpecifics.qml new file mode 100644 index 00000000..04507ef6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TumblerSpecifics.qml @@ -0,0 +1,102 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.12 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("Tumbler") + + SectionLayout { + Label { + text: qsTr("Visible Count") + tooltip: qsTr("The count of visible items.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.visibleItemCount + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Current") + tooltip: qsTr("The index of the current item.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + decimals: 0 + backendValue: backendValues.currentIndex + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Wrap") + tooltip: qsTr("Whether the tumbler wrap.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.wrap.valueToString + backendValue: backendValues.wrap + Layout.fillWidth: true + } + } + } + } + + ControlSection { + width: parent.width + } + + FontSection { + width: parent.width + } + + PaddingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon.png new file mode 100644 index 00000000..666d1ed9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon16.png new file mode 100644 index 00000000..5aa57d7f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon@2x.png new file mode 100644 index 00000000..bb2278ff Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon.png new file mode 100644 index 00000000..c44909f6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon16.png new file mode 100644 index 00000000..5c921deb Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon@2x.png new file mode 100644 index 00000000..f90a1ba7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon.png new file mode 100644 index 00000000..ee669b3a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon16.png new file mode 100644 index 00000000..8d89eab8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon@2x.png new file mode 100644 index 00000000..51c5601d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon.png new file mode 100644 index 00000000..2d31b17c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon16.png new file mode 100644 index 00000000..15fc3505 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon@2x.png new file mode 100644 index 00000000..5f823905 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon.png new file mode 100644 index 00000000..5a55bd9f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon16.png new file mode 100644 index 00000000..cd21394e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon@2x.png new file mode 100644 index 00000000..7beee2fa Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon.png new file mode 100644 index 00000000..b3b63e35 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon16.png new file mode 100644 index 00000000..8d8c7c09 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon@2x.png new file mode 100644 index 00000000..22547a16 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon.png new file mode 100644 index 00000000..32abc8bf Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon16.png new file mode 100644 index 00000000..e5b65ad5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon@2x.png new file mode 100644 index 00000000..8b876f38 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon.png new file mode 100644 index 00000000..5542ecf8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon16.png new file mode 100644 index 00000000..9cf43248 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon@2x.png new file mode 100644 index 00000000..80dab3c7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon.png new file mode 100644 index 00000000..822cf3e7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon16.png new file mode 100644 index 00000000..b3ed007a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon@2x.png new file mode 100644 index 00000000..cb81308f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon.png new file mode 100644 index 00000000..788bef07 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon16.png new file mode 100644 index 00000000..b68d3845 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon@2x.png new file mode 100644 index 00000000..7001413d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon.png new file mode 100644 index 00000000..b5ac87e8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon16.png new file mode 100644 index 00000000..bc6810b6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon@2x.png new file mode 100644 index 00000000..23db032f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon.png new file mode 100644 index 00000000..edb6b377 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon16.png new file mode 100644 index 00000000..0fb89675 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon@2x.png new file mode 100644 index 00000000..7be0ee81 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon.png new file mode 100644 index 00000000..62ebe487 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon16.png new file mode 100644 index 00000000..2b804844 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon@2x.png new file mode 100644 index 00000000..55bb116a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon.png new file mode 100644 index 00000000..a023f73c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon16.png new file mode 100644 index 00000000..6fede21d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon@2x.png new file mode 100644 index 00000000..00694003 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon.png new file mode 100644 index 00000000..d38170e2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon16.png new file mode 100644 index 00000000..07b46a8a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon@2x.png new file mode 100644 index 00000000..4bbddda4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon.png new file mode 100644 index 00000000..1c4c7b29 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon16.png new file mode 100644 index 00000000..3be4624d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon@2x.png new file mode 100644 index 00000000..aee69b33 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon.png new file mode 100644 index 00000000..d4b470dc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon16.png new file mode 100644 index 00000000..f6f36666 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon@2x.png new file mode 100644 index 00000000..4553e165 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon.png new file mode 100644 index 00000000..5ef73ff1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon16.png new file mode 100644 index 00000000..f8ca7a36 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon@2x.png new file mode 100644 index 00000000..0eb7f966 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon.png new file mode 100644 index 00000000..bd0a9729 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon16.png new file mode 100644 index 00000000..a08622df Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon@2x.png new file mode 100644 index 00000000..93842e4c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon.png new file mode 100644 index 00000000..37277c5e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon16.png new file mode 100644 index 00000000..f88711dd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon@2x.png new file mode 100644 index 00000000..b62a3bad Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon.png new file mode 100644 index 00000000..a6ced349 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon16.png new file mode 100644 index 00000000..0f19d0ef Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon@2x.png new file mode 100644 index 00000000..9b5ef951 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon.png new file mode 100644 index 00000000..031cb27c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon16.png new file mode 100644 index 00000000..446c4696 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon@2x.png new file mode 100644 index 00000000..0ccb978c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon.png new file mode 100644 index 00000000..e0181592 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon16.png new file mode 100644 index 00000000..9abd2756 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon@2x.png new file mode 100644 index 00000000..787f54ca Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon.png new file mode 100644 index 00000000..f1b2dc0f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon16.png new file mode 100644 index 00000000..4afc1fba Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon@2x.png new file mode 100644 index 00000000..c32ecc71 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon.png new file mode 100644 index 00000000..ba5537ac Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon16.png new file mode 100644 index 00000000..c4a62a65 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon@2x.png new file mode 100644 index 00000000..e05fd41b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon.png new file mode 100644 index 00000000..5cb5b2e1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon16.png new file mode 100644 index 00000000..569373af Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon@2x.png new file mode 100644 index 00000000..fd9e6cee Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon.png new file mode 100644 index 00000000..3298f695 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon16.png new file mode 100644 index 00000000..9ab7861c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon@2x.png new file mode 100644 index 00000000..e5958cde Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon.png new file mode 100644 index 00000000..5e99f06f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon16.png new file mode 100644 index 00000000..68f22c5d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon@2x.png new file mode 100644 index 00000000..549c11c6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon.png new file mode 100644 index 00000000..98eb8232 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon16.png new file mode 100644 index 00000000..ff5f95cf Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon@2x.png new file mode 100644 index 00000000..236abf0c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/qtquickcontrols2.metainfo b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/qtquickcontrols2.metainfo new file mode 100644 index 00000000..d27f1b90 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/designer/qtquickcontrols2.metainfo @@ -0,0 +1,522 @@ +MetaInfo { + Type { + name: "QtQuick.Controls.BusyIndicator" + icon: "images/busyindicator-icon16.png" + + ItemLibraryEntry { + name: "Busy Indicator" + category: "Qt Quick - Controls 2" + libraryIcon: "images/busyindicator-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + } + } + + Type { + name: "QtQuick.Controls.Button" + icon: "images/button-icon16.png" + + ItemLibraryEntry { + name: "Button" + category: "Qt Quick - Controls 2" + libraryIcon: "images/button-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Button\")" } + } + } + + Type { + name: "QtQuick.Controls.CheckBox" + icon: "images/checkbox-icon16.png" + + ItemLibraryEntry { + name: "Check Box" + category: "Qt Quick - Controls 2" + libraryIcon: "images/checkbox-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Check Box\")" } + } + } + + Type { + name: "QtQuick.Controls.CheckDelegate" + icon: "images/checkbox-icon16.png" + + ItemLibraryEntry { + name: "Check Delegate" + category: "Qt Quick - Controls 2" + libraryIcon: "images/checkbox-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Check Delegate\")" } + } + } + + Type { + name: "QtQuick.Controls.ComboBox" + icon: "images/combobox-icon16.png" + + ItemLibraryEntry { + name: "Combo Box" + category: "Qt Quick - Controls 2" + libraryIcon: "images/combobox-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + } + } + + Type { + name: "QtQuick.Controls.DelayButton" + icon: "images/button-icon16.png" + + ItemLibraryEntry { + name: "Delay Button" + category: "Qt Quick - Controls 2" + libraryIcon: "images/delaybutton-icon.png" + version: "2.2" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Delay Button\")" } + } + } + + Type { + name: "QtQuick.Controls.Dial" + icon: "images/dial-icon16.png" + + ItemLibraryEntry { + name: "Dial" + category: "Qt Quick - Controls 2" + libraryIcon: "images/dial-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + } + } + + Type { + name: "QtQuick.Controls.Frame" + icon: "images/frame-icon16.png" + + ItemLibraryEntry { + name: "Frame" + category: "Qt Quick - Controls 2" + libraryIcon: "images/frame-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 200 } + Property { name: "height"; type: "int"; value: 200 } + } + } + + Type { + name: "QtQuick.Controls.GroupBox" + icon: "images/groupbox-icon16.png" + + ItemLibraryEntry { + name: "Group Box" + category: "Qt Quick - Controls 2" + libraryIcon: "images/groupbox-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 200 } + Property { name: "height"; type: "int"; value: 200 } + Property { name: "title"; type: "binding"; value: "qsTr(\"Group Box\")" } + } + } + + Type { + name: "QtQuick.Controls.ItemDelegate" + icon: "images/itemdelegate-icon16.png" + + ItemLibraryEntry { + name: "Item Delegate" + category: "Qt Quick - Controls 2" + libraryIcon: "images/itemdelegate-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Item Delegate\")" } + } + } + + Type { + name: "QtQuick.Controls.Label" + icon: "images/label-icon16.png" + + ItemLibraryEntry { + name: "Label" + category: "Qt Quick - Controls 2" + libraryIcon: "images/label-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Label\")" } + } + } + + Type { + name: "QtQuick.Controls.Page" + icon: "images/page-icon16.png" + + ItemLibraryEntry { + name: "Page" + category: "Qt Quick - Controls 2" + libraryIcon: "images/page-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 200 } + Property { name: "height"; type: "int"; value: 200 } + } + } + + Type { + name: "QtQuick.Controls.PageIndicator" + icon: "images/pageindicator-icon16.png" + + ItemLibraryEntry { + name: "Page Indicator" + category: "Qt Quick - Controls 2" + libraryIcon: "images/pageindicator-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "count"; type: "int"; value: 3 } + } + } + + Type { + name: "QtQuick.Controls.Pane" + icon: "images/pane-icon16.png" + + ItemLibraryEntry { + name: "Pane" + category: "Qt Quick - Controls 2" + libraryIcon: "images/pane-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 200 } + Property { name: "height"; type: "int"; value: 200 } + } + } + + Type { + name: "QtQuick.Controls.ProgressBar" + icon: "images/progressbar-icon16.png" + + ItemLibraryEntry { + name: "Progress Bar" + category: "Qt Quick - Controls 2" + libraryIcon: "images/progressbar-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "value"; type: "real"; value: 0.5 } + } + } + + Type { + name: "QtQuick.Controls.RadioButton" + icon: "images/radiobutton-icon16.png" + + ItemLibraryEntry { + name: "Radio Button" + category: "Qt Quick - Controls 2" + libraryIcon: "images/radiobutton-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Radio Button\")" } + } + } + + Type { + name: "QtQuick.Controls.RadioDelegate" + icon: "images/radiobutton-icon16.png" + + ItemLibraryEntry { + name: "Radio Delegate" + category: "Qt Quick - Controls 2" + libraryIcon: "images/radiobutton-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Radio Delegate\")" } + } + } + + Type { + name: "QtQuick.Controls.RangeSlider" + icon: "images/rangeslider-icon16.png" + + ItemLibraryEntry { + name: "Range Slider" + category: "Qt Quick - Controls 2" + libraryIcon: "images/rangeslider-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "first.value"; type: "real"; value: 0.25 } + Property { name: "second.value"; type: "real"; value: 0.75 } + } + } + + Type { + name: "QtQuick.Controls.RoundButton" + icon: "images/roundbutton-icon16.png" + + ItemLibraryEntry { + name: "Round Button" + category: "Qt Quick - Controls 2" + libraryIcon: "images/roundbutton-icon.png" + version: "2.1" + requiredImport: "QtQuick.Controls" + Property { name: "text"; type: "string"; value: "+" } + } + } + + Type { + name: "QtQuick.Controls.Slider" + icon: "images/slider-icon16.png" + + ItemLibraryEntry { + name: "Slider" + category: "Qt Quick - Controls 2" + libraryIcon: "images/slider-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "value"; type: "real"; value: 0.5 } + } + } + + Type { + name: "QtQuick.Controls.SpinBox" + icon: "images/spinbox-icon16.png" + + ItemLibraryEntry { + name: "Spin Box" + category: "Qt Quick - Controls 2" + libraryIcon: "images/spinbox-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + } + } + + Type { + name: "QtQuick.Controls.ScrollView" + icon: "images/scrollview-icon16.png" + + ItemLibraryEntry { + name: "Scroll View" + category: "Qt Quick - Controls 2" + libraryIcon: "images/scrollview-icon.png" + version: "2.2" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 200 } + Property { name: "height"; type: "int"; value: 200 } + } + } + + Type { + name: "QtQuick.Controls.StackView" + icon: "images/stackview-icon16.png" + + ItemLibraryEntry { + name: "Stack View" + category: "Qt Quick - Controls 2" + libraryIcon: "images/stackview-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 200 } + Property { name: "height"; type: "int"; value: 200 } + } + } + + Type { + name: "QtQuick.Controls.SwipeDelegate" + icon: "images/itemdelegate-icon16.png" + + ItemLibraryEntry { + name: "Swipe Delegate" + category: "Qt Quick - Controls 2" + libraryIcon: "images/itemdelegate-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Swipe Delegate\")" } + } + } + + Type { + name: "QtQuick.Controls.SwipeView" + icon: "images/swipeview-icon16.png" + + ItemLibraryEntry { + name: "Swipe View" + category: "Qt Quick - Controls 2" + libraryIcon: "images/swipeview-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 200 } + Property { name: "height"; type: "int"; value: 200 } + } + } + + Type { + name: "QtQuick.Controls.Switch" + icon: "images/switch-icon16.png" + + ItemLibraryEntry { + name: "Switch" + category: "Qt Quick - Controls 2" + libraryIcon: "images/switch-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Switch\")" } + } + } + + Type { + name: "QtQuick.Controls.SwitchDelegate" + icon: "images/switch-icon16.png" + + ItemLibraryEntry { + name: "Switch Delegate" + category: "Qt Quick - Controls 2" + libraryIcon: "images/switch-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Switch Delegate\")" } + } + } + + Type { + name: "QtQuick.Controls.TabBar" + icon: "images/toolbar-icon16.png" + + ItemLibraryEntry { + name: "Tab Bar" + category: "Qt Quick - Controls 2" + libraryIcon: "images/toolbar-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + Property { name: "width"; type: "int"; value: 240 } + } + } + + Type { + name: "QtQuick.Controls.TabButton" + icon: "images/toolbutton-icon16.png" + + ItemLibraryEntry { + name: "Tab Button" + category: "Qt Quick - Controls 2" + libraryIcon: "images/toolbutton-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + Property { name: "text"; type: "binding"; value: "qsTr(\"Tab Button\")" } + } + } + + Type { + name: "QtQuick.Controls.TextArea" + icon: "images/textarea-icon16.png" + + ItemLibraryEntry { + name: "Text Area" + category: "Qt Quick - Controls 2" + libraryIcon: "images/textarea-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "placeholderText"; type: "binding"; value: "qsTr(\"Text Area\")" } + } + } + + Type { + name: "QtQuick.Controls.TextField" + icon: "images/textfield-icon16.png" + + ItemLibraryEntry { + name: "Text Field" + category: "Qt Quick - Controls 2" + libraryIcon: "images/textfield-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "placeholderText"; type: "binding"; value: "qsTr(\"Text Field\")" } + } + } + + Type { + name: "QtQuick.Controls.ToolBar" + icon: "images/toolbar-icon16.png" + + ItemLibraryEntry { + name: "Tool Bar" + category: "Qt Quick - Controls 2" + libraryIcon: "images/toolbar-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 360 } + } + } + + Type { + name: "QtQuick.Controls.ToolButton" + icon: "images/toolbutton-icon16.png" + + ItemLibraryEntry { + name: "Tool Button" + category: "Qt Quick - Controls 2" + libraryIcon: "images/toolbutton-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "text"; type: "binding"; value: "qsTr(\"Tool Button\")" } + } + } + + Type { + name: "QtQuick.Controls.ToolSeparator" + icon: "images/toolseparator-icon16.png" + + ItemLibraryEntry { + name: "Tool Separator" + category: "Qt Quick - Controls 2" + libraryIcon: "images/toolseparator-icon.png" + version: "2.1" + requiredImport: "QtQuick.Controls" + } + } + + Type { + name: "QtQuick.Controls.Tumbler" + icon: "images/tumbler-icon16.png" + + ItemLibraryEntry { + name: "Tumbler" + category: "Qt Quick - Controls 2" + libraryIcon: "images/tumbler-icon.png" + version: "2.0" + requiredImport: "QtQuick.Controls" + + Property { name: "model"; type: "int"; value: "10" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/plugins.qmltypes new file mode 100644 index 00000000..e8212c55 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/plugins.qmltypes @@ -0,0 +1,895 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls 2.15' + +Module { + dependencies: [ + "QtQuick 2.11", + "QtQuick.Templates 2.5", + "QtQuick.Window 2.2" + ] + Component { + name: "QQuickCheckLabel" + defaultProperty: "data" + prototype: "QQuickText" + exports: ["QtQuick.Controls.impl/CheckLabel 2.3"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickClippedText" + defaultProperty: "data" + prototype: "QQuickText" + exports: ["QtQuick.Controls.impl/ClippedText 2.2"] + exportMetaObjectRevisions: [0] + Property { name: "clipX"; type: "double" } + Property { name: "clipY"; type: "double" } + Property { name: "clipWidth"; type: "double" } + Property { name: "clipHeight"; type: "double" } + } + Component { + name: "QQuickColor" + prototype: "QObject" + exports: ["QtQuick.Controls.impl/Color 2.3"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Method { + name: "transparent" + type: "QColor" + Parameter { name: "color"; type: "QColor" } + Parameter { name: "opacity"; type: "double" } + } + Method { + name: "blend" + type: "QColor" + Parameter { name: "a"; type: "QColor" } + Parameter { name: "b"; type: "QColor" } + Parameter { name: "factor"; type: "double" } + } + } + Component { + name: "QQuickColorImage" + defaultProperty: "data" + prototype: "QQuickImage" + exports: ["QtQuick.Controls.impl/ColorImage 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "color"; type: "QColor" } + Property { name: "defaultColor"; type: "QColor" } + } + Component { + name: "QQuickDefaultBusyIndicator" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.impl/BusyIndicatorImpl 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "pen"; type: "QColor" } + Property { name: "fill"; type: "QColor" } + Property { name: "running"; type: "bool" } + } + Component { + name: "QQuickDefaultDial" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Controls.impl/DialImpl 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "progress"; type: "double" } + Property { name: "color"; type: "QColor" } + } + Component { + name: "QQuickDefaultProgressBar" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.impl/ProgressBarImpl 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "indeterminate"; type: "bool" } + Property { name: "progress"; type: "double" } + Property { name: "color"; type: "QColor" } + } + Component { + name: "QQuickDefaultStyle" + prototype: "QObject" + exports: ["QtQuick.Controls.impl/Default 2.1"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Property { name: "backgroundColor"; type: "QColor"; isReadonly: true } + Property { name: "overlayModalColor"; type: "QColor"; isReadonly: true } + Property { name: "overlayDimColor"; type: "QColor"; isReadonly: true } + Property { name: "textColor"; type: "QColor"; isReadonly: true } + Property { name: "textDarkColor"; type: "QColor"; isReadonly: true } + Property { name: "textLightColor"; type: "QColor"; isReadonly: true } + Property { name: "textLinkColor"; type: "QColor"; isReadonly: true } + Property { name: "textSelectionColor"; type: "QColor"; isReadonly: true } + Property { name: "textDisabledColor"; type: "QColor"; isReadonly: true } + Property { name: "textDisabledLightColor"; type: "QColor"; isReadonly: true } + Property { name: "textPlaceholderColor"; type: "QColor"; isReadonly: true } + Property { name: "focusColor"; type: "QColor"; isReadonly: true } + Property { name: "focusLightColor"; type: "QColor"; isReadonly: true } + Property { name: "focusPressedColor"; type: "QColor"; isReadonly: true } + Property { name: "buttonColor"; type: "QColor"; isReadonly: true } + Property { name: "buttonPressedColor"; type: "QColor"; isReadonly: true } + Property { name: "buttonCheckedColor"; type: "QColor"; isReadonly: true } + Property { name: "buttonCheckedPressedColor"; type: "QColor"; isReadonly: true } + Property { name: "buttonCheckedFocusColor"; type: "QColor"; isReadonly: true } + Property { name: "toolButtonColor"; type: "QColor"; isReadonly: true } + Property { name: "tabButtonColor"; type: "QColor"; isReadonly: true } + Property { name: "tabButtonPressedColor"; type: "QColor"; isReadonly: true } + Property { name: "tabButtonCheckedPressedColor"; type: "QColor"; isReadonly: true } + Property { name: "delegateColor"; type: "QColor"; isReadonly: true } + Property { name: "delegatePressedColor"; type: "QColor"; isReadonly: true } + Property { name: "delegateFocusColor"; type: "QColor"; isReadonly: true } + Property { name: "indicatorPressedColor"; type: "QColor"; isReadonly: true } + Property { name: "indicatorDisabledColor"; type: "QColor"; isReadonly: true } + Property { name: "indicatorFrameColor"; type: "QColor"; isReadonly: true } + Property { name: "indicatorFramePressedColor"; type: "QColor"; isReadonly: true } + Property { name: "indicatorFrameDisabledColor"; type: "QColor"; isReadonly: true } + Property { name: "frameDarkColor"; type: "QColor"; isReadonly: true } + Property { name: "frameLightColor"; type: "QColor"; isReadonly: true } + Property { name: "scrollBarColor"; type: "QColor"; isReadonly: true } + Property { name: "scrollBarPressedColor"; type: "QColor"; isReadonly: true } + Property { name: "progressBarColor"; type: "QColor"; isReadonly: true } + Property { name: "pageIndicatorColor"; type: "QColor"; isReadonly: true } + Property { name: "separatorColor"; type: "QColor"; isReadonly: true } + Property { name: "disabledDarkColor"; type: "QColor"; isReadonly: true } + Property { name: "disabledLightColor"; type: "QColor"; isReadonly: true } + } + Component { + name: "QQuickIconImage" + defaultProperty: "data" + prototype: "QQuickImage" + exports: ["QtQuick.Controls.impl/IconImage 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "name"; type: "string" } + Property { name: "color"; type: "QColor" } + } + Component { + name: "QQuickIconLabel" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.impl/IconLabel 2.3"] + exportMetaObjectRevisions: [0] + Enum { + name: "Display" + values: { + "IconOnly": 0, + "TextOnly": 1, + "TextBesideIcon": 2, + "TextUnderIcon": 3 + } + } + Property { name: "icon"; type: "QQuickIcon" } + Property { name: "text"; type: "string" } + Property { name: "font"; type: "QFont" } + Property { name: "color"; type: "QColor" } + Property { name: "display"; type: "Display" } + Property { name: "spacing"; type: "double" } + Property { name: "mirrored"; type: "bool" } + Property { name: "alignment"; type: "Qt::Alignment" } + Property { name: "topPadding"; type: "double" } + Property { name: "leftPadding"; type: "double" } + Property { name: "rightPadding"; type: "double" } + Property { name: "bottomPadding"; type: "double" } + } + Component { + name: "QQuickImplicitSizeItem" + defaultProperty: "data" + prototype: "QQuickItem" + Property { name: "implicitWidth"; type: "double"; isReadonly: true } + Property { name: "implicitHeight"; type: "double"; isReadonly: true } + } + Component { + name: "QQuickItemGroup" + defaultProperty: "data" + prototype: "QQuickImplicitSizeItem" + exports: ["QtQuick.Controls.impl/ItemGroup 2.2"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickMnemonicLabel" + defaultProperty: "data" + prototype: "QQuickText" + exports: ["QtQuick.Controls.impl/MnemonicLabel 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "text"; type: "string" } + Property { name: "mnemonicVisible"; type: "bool" } + } + Component { + name: "QQuickOverlay" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls/Overlay 2.3"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickOverlayAttached" + Property { name: "modal"; type: "QQmlComponent"; isPointer: true } + Property { name: "modeless"; type: "QQmlComponent"; isPointer: true } + Signal { name: "pressed" } + Signal { name: "released" } + } + Component { + name: "QQuickPaddedRectangle" + defaultProperty: "data" + prototype: "QQuickRectangle" + exports: ["QtQuick.Controls.impl/PaddedRectangle 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "padding"; type: "double" } + Property { name: "topPadding"; type: "double" } + Property { name: "leftPadding"; type: "double" } + Property { name: "rightPadding"; type: "double" } + Property { name: "bottomPadding"; type: "double" } + } + Component { + name: "QQuickPlaceholderText" + defaultProperty: "data" + prototype: "QQuickText" + exports: ["QtQuick.Controls.impl/PlaceholderText 2.2"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickSplitHandleAttached" + prototype: "QObject" + exports: ["QtQuick.Controls/SplitHandle 2.13"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "pressed"; type: "bool"; isReadonly: true } + } + Component { + name: "QQuickText" + defaultProperty: "data" + prototype: "QQuickImplicitSizeItem" + Enum { + name: "HAlignment" + values: { + "AlignLeft": 1, + "AlignRight": 2, + "AlignHCenter": 4, + "AlignJustify": 8 + } + } + Enum { + name: "VAlignment" + values: { + "AlignTop": 32, + "AlignBottom": 64, + "AlignVCenter": 128 + } + } + Enum { + name: "TextStyle" + values: { + "Normal": 0, + "Outline": 1, + "Raised": 2, + "Sunken": 3 + } + } + Enum { + name: "TextFormat" + values: { + "PlainText": 0, + "RichText": 1, + "MarkdownText": 3, + "AutoText": 2, + "StyledText": 4 + } + } + Enum { + name: "TextElideMode" + values: { + "ElideLeft": 0, + "ElideRight": 1, + "ElideMiddle": 2, + "ElideNone": 3 + } + } + Enum { + name: "WrapMode" + values: { + "NoWrap": 0, + "WordWrap": 1, + "WrapAnywhere": 3, + "WrapAtWordBoundaryOrAnywhere": 4, + "Wrap": 4 + } + } + Enum { + name: "RenderType" + values: { + "QtRendering": 0, + "NativeRendering": 1 + } + } + Enum { + name: "LineHeightMode" + values: { + "ProportionalHeight": 0, + "FixedHeight": 1 + } + } + Enum { + name: "FontSizeMode" + values: { + "FixedSize": 0, + "HorizontalFit": 1, + "VerticalFit": 2, + "Fit": 3 + } + } + Property { name: "text"; type: "string" } + Property { name: "font"; type: "QFont" } + Property { name: "color"; type: "QColor" } + Property { name: "linkColor"; type: "QColor" } + Property { name: "style"; type: "TextStyle" } + Property { name: "styleColor"; type: "QColor" } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "wrapMode"; type: "WrapMode" } + Property { name: "lineCount"; type: "int"; isReadonly: true } + Property { name: "truncated"; type: "bool"; isReadonly: true } + Property { name: "maximumLineCount"; type: "int" } + Property { name: "textFormat"; type: "TextFormat" } + Property { name: "elide"; type: "TextElideMode" } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "paintedWidth"; type: "double"; isReadonly: true } + Property { name: "paintedHeight"; type: "double"; isReadonly: true } + Property { name: "lineHeight"; type: "double" } + Property { name: "lineHeightMode"; type: "LineHeightMode" } + Property { name: "baseUrl"; type: "QUrl" } + Property { name: "minimumPixelSize"; type: "int" } + Property { name: "minimumPointSize"; type: "int" } + Property { name: "fontSizeMode"; type: "FontSizeMode" } + Property { name: "renderType"; type: "RenderType" } + Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } + Property { name: "padding"; revision: 6; type: "double" } + Property { name: "topPadding"; revision: 6; type: "double" } + Property { name: "leftPadding"; revision: 6; type: "double" } + Property { name: "rightPadding"; revision: 6; type: "double" } + Property { name: "bottomPadding"; revision: 6; type: "double" } + Property { name: "fontInfo"; revision: 9; type: "QJSValue"; isReadonly: true } + Property { name: "advance"; revision: 10; type: "QSizeF"; isReadonly: true } + Signal { + name: "textChanged" + Parameter { name: "text"; type: "string" } + } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "linkHovered" + revision: 2 + Parameter { name: "link"; type: "string" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "styleChanged" + Parameter { name: "style"; type: "QQuickText::TextStyle" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::VAlignment" } + } + Signal { + name: "textFormatChanged" + Parameter { name: "textFormat"; type: "QQuickText::TextFormat" } + } + Signal { + name: "elideModeChanged" + Parameter { name: "mode"; type: "QQuickText::TextElideMode" } + } + Signal { name: "contentSizeChanged" } + Signal { + name: "contentWidthChanged" + Parameter { name: "contentWidth"; type: "double" } + } + Signal { + name: "contentHeightChanged" + Parameter { name: "contentHeight"; type: "double" } + } + Signal { + name: "lineHeightChanged" + Parameter { name: "lineHeight"; type: "double" } + } + Signal { + name: "lineHeightModeChanged" + Parameter { name: "mode"; type: "LineHeightMode" } + } + Signal { + name: "lineLaidOut" + Parameter { name: "line"; type: "QQuickTextLine"; isPointer: true } + } + Signal { name: "paddingChanged"; revision: 6 } + Signal { name: "topPaddingChanged"; revision: 6 } + Signal { name: "leftPaddingChanged"; revision: 6 } + Signal { name: "rightPaddingChanged"; revision: 6 } + Signal { name: "bottomPaddingChanged"; revision: 6 } + Signal { name: "fontInfoChanged"; revision: 9 } + Method { name: "doLayout" } + Method { name: "forceLayout"; revision: 9 } + Method { + name: "linkAt" + revision: 3 + type: "string" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + name: "QQuickTumblerView" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.impl/TumblerView 2.1"] + exportMetaObjectRevisions: [0] + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "path"; type: "QQuickPath"; isPointer: true } + } + Component { + prototype: "QQuickAbstractButton" + name: "QtQuick.Controls/AbstractButton 2.0" + exports: ["QtQuick.Controls/AbstractButton 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickAction" + name: "QtQuick.Controls/Action 2.3" + exports: ["QtQuick.Controls/Action 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + } + Component { + prototype: "QQuickActionGroup" + name: "QtQuick.Controls/ActionGroup 2.3" + exports: ["QtQuick.Controls/ActionGroup 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "actions" + } + Component { + prototype: "QQuickApplicationWindow" + name: "QtQuick.Controls/ApplicationWindow 2.0" + exports: ["QtQuick.Controls/ApplicationWindow 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickBusyIndicator" + name: "QtQuick.Controls/BusyIndicator 2.0" + exports: ["QtQuick.Controls/BusyIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickButton" + name: "QtQuick.Controls/Button 2.0" + exports: ["QtQuick.Controls/Button 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickButtonGroup" + name: "QtQuick.Controls/ButtonGroup 2.0" + exports: ["QtQuick.Controls/ButtonGroup 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + } + Component { + prototype: "QQuickCheckBox" + name: "QtQuick.Controls/CheckBox 2.0" + exports: ["QtQuick.Controls/CheckBox 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickCheckDelegate" + name: "QtQuick.Controls/CheckDelegate 2.0" + exports: ["QtQuick.Controls/CheckDelegate 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickComboBox" + name: "QtQuick.Controls/ComboBox 2.0" + exports: ["QtQuick.Controls/ComboBox 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickContainer" + name: "QtQuick.Controls/Container 2.0" + exports: ["QtQuick.Controls/Container 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickControl" + name: "QtQuick.Controls/Control 2.0" + exports: ["QtQuick.Controls/Control 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickDelayButton" + name: "QtQuick.Controls/DelayButton 2.2" + exports: ["QtQuick.Controls/DelayButton 2.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickDial" + name: "QtQuick.Controls/Dial 2.0" + exports: ["QtQuick.Controls/Dial 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickDialog" + name: "QtQuick.Controls/Dialog 2.1" + exports: ["QtQuick.Controls/Dialog 2.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickDialogButtonBox" + name: "QtQuick.Controls/DialogButtonBox 2.1" + exports: ["QtQuick.Controls/DialogButtonBox 2.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickDrawer" + name: "QtQuick.Controls/Drawer 2.0" + exports: ["QtQuick.Controls/Drawer 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickFrame" + name: "QtQuick.Controls/Frame 2.0" + exports: ["QtQuick.Controls/Frame 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickGroupBox" + name: "QtQuick.Controls/GroupBox 2.0" + exports: ["QtQuick.Controls/GroupBox 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickHorizontalHeaderView" + name: "QtQuick.Controls/HorizontalHeaderView 2.15" + exports: ["QtQuick.Controls/HorizontalHeaderView 2.15"] + exportMetaObjectRevisions: [15] + isComposite: true + defaultProperty: "flickableData" + } + Component { + prototype: "QQuickItemDelegate" + name: "QtQuick.Controls/ItemDelegate 2.0" + exports: ["QtQuick.Controls/ItemDelegate 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickLabel" + name: "QtQuick.Controls/Label 2.0" + exports: ["QtQuick.Controls/Label 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickMenu" + name: "QtQuick.Controls/Menu 2.0" + exports: ["QtQuick.Controls/Menu 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickMenuBar" + name: "QtQuick.Controls/MenuBar 2.3" + exports: ["QtQuick.Controls/MenuBar 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickMenuBarItem" + name: "QtQuick.Controls/MenuBarItem 2.3" + exports: ["QtQuick.Controls/MenuBarItem 2.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickMenuItem" + name: "QtQuick.Controls/MenuItem 2.0" + exports: ["QtQuick.Controls/MenuItem 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickMenuSeparator" + name: "QtQuick.Controls/MenuSeparator 2.1" + exports: ["QtQuick.Controls/MenuSeparator 2.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickPage" + name: "QtQuick.Controls/Page 2.0" + exports: ["QtQuick.Controls/Page 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickPageIndicator" + name: "QtQuick.Controls/PageIndicator 2.0" + exports: ["QtQuick.Controls/PageIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickPane" + name: "QtQuick.Controls/Pane 2.0" + exports: ["QtQuick.Controls/Pane 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickPopup" + name: "QtQuick.Controls/Popup 2.0" + exports: ["QtQuick.Controls/Popup 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickProgressBar" + name: "QtQuick.Controls/ProgressBar 2.0" + exports: ["QtQuick.Controls/ProgressBar 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickRadioButton" + name: "QtQuick.Controls/RadioButton 2.0" + exports: ["QtQuick.Controls/RadioButton 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickRadioDelegate" + name: "QtQuick.Controls/RadioDelegate 2.0" + exports: ["QtQuick.Controls/RadioDelegate 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickRangeSlider" + name: "QtQuick.Controls/RangeSlider 2.0" + exports: ["QtQuick.Controls/RangeSlider 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickRoundButton" + name: "QtQuick.Controls/RoundButton 2.1" + exports: ["QtQuick.Controls/RoundButton 2.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickScrollBar" + name: "QtQuick.Controls/ScrollBar 2.0" + exports: ["QtQuick.Controls/ScrollBar 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickScrollIndicator" + name: "QtQuick.Controls/ScrollIndicator 2.0" + exports: ["QtQuick.Controls/ScrollIndicator 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickScrollView" + name: "QtQuick.Controls/ScrollView 2.2" + exports: ["QtQuick.Controls/ScrollView 2.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickSlider" + name: "QtQuick.Controls/Slider 2.0" + exports: ["QtQuick.Controls/Slider 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickSpinBox" + name: "QtQuick.Controls/SpinBox 2.0" + exports: ["QtQuick.Controls/SpinBox 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickSplitView" + name: "QtQuick.Controls/SplitView 2.13" + exports: ["QtQuick.Controls/SplitView 2.13"] + exportMetaObjectRevisions: [13] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickStackView" + name: "QtQuick.Controls/StackView 2.0" + exports: ["QtQuick.Controls/StackView 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickSwipeDelegate" + name: "QtQuick.Controls/SwipeDelegate 2.0" + exports: ["QtQuick.Controls/SwipeDelegate 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickSwipeView" + name: "QtQuick.Controls/SwipeView 2.0" + exports: ["QtQuick.Controls/SwipeView 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickSwitch" + name: "QtQuick.Controls/Switch 2.0" + exports: ["QtQuick.Controls/Switch 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickSwitchDelegate" + name: "QtQuick.Controls/SwitchDelegate 2.0" + exports: ["QtQuick.Controls/SwitchDelegate 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickTabBar" + name: "QtQuick.Controls/TabBar 2.0" + exports: ["QtQuick.Controls/TabBar 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickTabButton" + name: "QtQuick.Controls/TabButton 2.0" + exports: ["QtQuick.Controls/TabButton 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickTextArea" + name: "QtQuick.Controls/TextArea 2.0" + exports: ["QtQuick.Controls/TextArea 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickTextField" + name: "QtQuick.Controls/TextField 2.0" + exports: ["QtQuick.Controls/TextField 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickToolBar" + name: "QtQuick.Controls/ToolBar 2.0" + exports: ["QtQuick.Controls/ToolBar 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickToolButton" + name: "QtQuick.Controls/ToolButton 2.0" + exports: ["QtQuick.Controls/ToolButton 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickToolSeparator" + name: "QtQuick.Controls/ToolSeparator 2.1" + exports: ["QtQuick.Controls/ToolSeparator 2.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickToolTip" + name: "QtQuick.Controls/ToolTip 2.0" + exports: ["QtQuick.Controls/ToolTip 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentData" + } + Component { + prototype: "QQuickTumbler" + name: "QtQuick.Controls/Tumbler 2.0" + exports: ["QtQuick.Controls/Tumbler 2.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickVerticalHeaderView" + name: "QtQuick.Controls/VerticalHeaderView 2.15" + exports: ["QtQuick.Controls/VerticalHeaderView 2.15"] + exportMetaObjectRevisions: [15] + isComposite: true + defaultProperty: "flickableData" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/qmldir new file mode 100644 index 00000000..c9ccb8f9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/qmldir @@ -0,0 +1,5 @@ +module QtQuick.Controls +plugin qtquickcontrols2plugin +classname QtQuickControls2Plugin +depends QtQuick.Templates 2.5 +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/qtquickcontrols2plugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/qtquickcontrols2plugin.dll new file mode 100644 index 00000000..5aa32492 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls.2/qtquickcontrols2plugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ApplicationWindow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ApplicationWindow.qml new file mode 100644 index 00000000..7d215556 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ApplicationWindow.qml @@ -0,0 +1,265 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick.Window 2.2 +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Layouts 1.0 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ApplicationWindow + \since 5.1 + \inqmlmodule QtQuick.Controls + \ingroup applicationwindow + \ingroup controls + \brief Provides a top-level application window. + + \image applicationwindow.png + + ApplicationWindow is a \l Window that adds convenience for positioning items, + such as \l MenuBar, \l ToolBar, and \l StatusBar in a platform independent + manner. + + \code + ApplicationWindow { + id: window + visible: true + + menuBar: MenuBar { + Menu { MenuItem {...} } + Menu { MenuItem {...} } + } + + toolBar: ToolBar { + RowLayout { + anchors.fill: parent + ToolButton {...} + } + } + + TabView { + id: myContent + anchors.fill: parent + ... + } + } + \endcode + + \note By default, an ApplicationWindow is not visible. + + The \l{Qt Quick Controls 1 - Gallery} example is a good starting + point to explore this type. +*/ + +Window { + id: root + + /*! + \qmlproperty MenuBar ApplicationWindow::menuBar + + This property holds the \l MenuBar. + + By default, this value is not set. + */ + property MenuBar menuBar: null + + /*! + \qmlproperty Item ApplicationWindow::toolBar + + This property holds the toolbar \l Item. + + It can be set to any Item type, but is generally used with \l ToolBar. + + By default, this value is not set. When you set the toolbar item, it will + be anchored automatically into the application window. + */ + property Item toolBar + + /*! + \qmlproperty Item ApplicationWindow::statusBar + + This property holds the status bar \l Item. + + It can be set to any Item type, but is generally used with \l StatusBar. + + By default, this value is not set. When you set the status bar item, it + will be anchored automatically into the application window. + */ + property Item statusBar + + // The below documentation was supposed to be written as a grouped property, but qdoc would + // not render it correctly due to a bug (QTBUG-34206) + /*! + \qmlproperty ContentItem ApplicationWindow::contentItem + + This group holds the size constraints of the content item. This is the area between the + \l ToolBar and the \l StatusBar. + The \l ApplicationWindow will use this as input when calculating the effective size + constraints of the actual window. + It holds these 6 properties for describing the minimum, implicit and maximum sizes: + \table + \header \li Grouped property \li Description + \row \li contentItem.minimumWidth \li The minimum width of the content item. + \row \li contentItem.minimumHeight \li The minimum height of the content item. + \row \li contentItem.implicitWidth \li The implicit width of the content item. + \row \li contentItem.implicitHeight \li The implicit height of the content item. + \row \li contentItem.maximumWidth \li The maximum width of the content item. + \row \li contentItem.maximumHeight \li The maximum height of the content item. + \endtable + */ + property alias contentItem : contentArea + + /*! The style Component for the window. + \sa {Qt Quick Controls 1 Styles QML Types} + */ + property Component style: Settings.styleComponent(Settings.style, "ApplicationWindowStyle.qml", root) + + /*! \internal */ + property alias __style: styleLoader.item + + /*! \internal */ + property alias __panel: panelLoader.item + + /*! \internal */ + property real __topBottomMargins: __panel.contentArea.y + __panel.statusBarArea.height + /*! \internal + There is a similar macro QWINDOWSIZE_MAX in qwindow_p.h that is used to limit the + range of QWindow::maximum{Width,Height} + However, in case we have a very big number (> 2^31) conversion will fail, and it will be + converted to 0, resulting in that we will call setMaximumWidth(0).... + We therefore need to enforce the limit at a level where we are still operating on + floating point values. + */ + readonly property real __qwindowsize_max: (1 << 24) - 1 + + /*! \internal */ + property real __width: 0 + Qml.Binding { + target: root + property: "__width" + when: (root.minimumWidth <= root.maximumWidth) && !contentArea.__noImplicitWidthGiven + value: Math.max(Math.min(root.maximumWidth, contentArea.implicitWidth), root.minimumWidth) + restoreMode: Binding.RestoreBinding + } + /*! \internal */ + property real __height: 0 + Qml.Binding { + target: root + property: "__height" + when: (root.minimumHeight <= root.maximumHeight) && !contentArea.__noImplicitHeightGiven + value: Math.max(Math.min(root.maximumHeight, contentArea.implicitHeight + __topBottomMargins), root.minimumHeight) + restoreMode: Binding.RestoreBinding + } + /* As soon as an application developer writes + width: 200 + this binding will be broken. This is the reason for this indirection + via __width (and __height) + */ + width: __width + height: __height + + minimumWidth: contentArea.__noMinimumWidthGiven ? 0 : contentArea.minimumWidth + minimumHeight: contentArea.__noMinimumHeightGiven ? 0 : (contentArea.minimumHeight + __topBottomMargins) + + maximumWidth: Math.min(__qwindowsize_max, contentArea.maximumWidth) + maximumHeight: Math.min(__qwindowsize_max, contentArea.maximumHeight + __topBottomMargins) + + /*! \internal */ + default property alias data: contentArea.data + + flags: Qt.Window | Qt.WindowFullscreenButtonHint | + Qt.WindowTitleHint | Qt.WindowSystemMenuHint | Qt.WindowMinMaxButtonsHint | + Qt.WindowCloseButtonHint | Qt.WindowFullscreenButtonHint + // QTBUG-35049: Windows is removing features we didn't ask for, even though Qt::CustomizeWindowHint is not set + // Otherwise Qt.Window | Qt.WindowFullscreenButtonHint would be enough + + Loader { + id: panelLoader + anchors.fill: parent + sourceComponent: __style ? __style.panel : null + onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root) + focus: true + Loader { + id: styleLoader + sourceComponent: style + property var __control: root + property QtObject styleData: QtObject { + readonly property bool hasColor: root.color != "#ffffff" + } + onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root) + } + + Qml.Binding { + target: toolBar + property: "parent" + value: __panel.toolBarArea + restoreMode: Binding.RestoreBinding + } + Qml.Binding { + target: statusBar + property: "parent" + value: __panel.statusBarArea + restoreMode: Binding.RestoreBinding + } + + Qml.Binding { + property: "parent" + target: menuBar ? menuBar.__contentItem : null + when: menuBar && !menuBar.__isNative + value: __panel.menuBarArea + restoreMode: Binding.RestoreBinding + } + Qml.Binding { + target: menuBar + property: "__parentWindow" + value: root + restoreMode: Binding.RestoreBinding + } + + Keys.forwardTo: menuBar ? [menuBar.__contentItem, __panel] : [] + + ContentItem { + id: contentArea + anchors.fill: parent + parent: __panel.contentArea + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ApplicationWindow.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ApplicationWindow.qmlc new file mode 100644 index 00000000..1d62e59f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ApplicationWindow.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/BusyIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/BusyIndicator.qml new file mode 100644 index 00000000..6c9972ad --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/BusyIndicator.qml @@ -0,0 +1,85 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype BusyIndicator + \inqmlmodule QtQuick.Controls + \since 5.2 + \ingroup controls + \brief A busy indicator. + + \image busyindicator.png + + The busy indicator should be used to indicate activity while content is + being loaded or the UI is blocked waiting for a resource to become available. + + The following snippet shows how to use the BusyIndicator: + + \qml + BusyIndicator { + running: image.status === Image.Loading + } + \endqml + + You can create a custom appearance for a Busy Indicator by + assigning a \l {BusyIndicatorStyle}. + */ +Control { + id: indicator + + /*! \qmlproperty bool BusyIndicator::running + + This property holds whether the busy indicator is currently indicating + activity. + + \note The indicator is only visible when this property is set to \c true. + + The default value is \c true. + */ + property bool running: true + + Accessible.role: Accessible.Indicator + Accessible.name: "busy" + + style: Settings.styleComponent(Settings.style, "BusyIndicatorStyle.qml", indicator) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/BusyIndicator.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/BusyIndicator.qmlc new file mode 100644 index 00000000..7d8ba9f5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/BusyIndicator.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Button.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Button.qml new file mode 100644 index 00000000..c3f29238 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Button.qml @@ -0,0 +1,134 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype Button + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief A push button with a text label. + + \image button.png + + The push button is perhaps the most commonly used widget in any graphical + user interface. Pushing (or clicking) a button commands the computer to + perform some action or answer a question. Common examples of buttons are + OK, Apply, Cancel, Close, Yes, No, and Help buttons. + + \qml + Button { + text: "Button" + } + \endqml + + Button is similar to the QPushButton widget. + + You can create a custom appearance for a Button by + assigning a \l {ButtonStyle}. + */ +BasicButton { + id: button + + /*! This property holds whether the push button is the default button. + Default buttons decide what happens when the user presses enter in a + dialog without giving a button explicit focus. \note This property only + changes the appearance of the button. The expected behavior needs to be + implemented by the user. + + The default value is \c false. + */ + property bool isDefault: false + + /*! Assign a \l Menu to this property to get a pull-down menu button. + + The default value is \c null. + */ + property Menu menu: null + + __effectivePressed: __behavior.effectivePressed || menu && menu.__popupVisible + + activeFocusOnTab: true + + Accessible.name: text + + style: Settings.styleComponent(Settings.style, "ButtonStyle.qml", button) + + Qml.Binding { + target: menu + property: "__minimumWidth" + value: button.__panel.width + restoreMode: Binding.RestoreBinding + } + + Qml.Binding { + target: menu + property: "__visualItem" + value: button + restoreMode: Binding.RestoreBinding + } + + Connections { + target: __behavior + function onEffectivePressedChanged() { + if (!Settings.hasTouchScreen && __behavior.effectivePressed && menu) + popupMenuTimer.start() + } + function onReleased() { + if (Settings.hasTouchScreen && __behavior.containsMouse && menu) + popupMenuTimer.start() + } + } + + Timer { + id: popupMenuTimer + interval: 10 + onTriggered: { + __behavior.keyPressed = false + if (Qt.application.layoutDirection === Qt.RightToLeft) + menu.__popup(Qt.rect(button.width, button.height, 0, 0), 0) + else + menu.__popup(Qt.rect(0, button.height, 0, 0), 0) + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Button.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Button.qmlc new file mode 100644 index 00000000..eead900b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Button.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Calendar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Calendar.qml new file mode 100644 index 00000000..bf3d6737 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Calendar.qml @@ -0,0 +1,456 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.9 +import QtQuick.Controls 1.5 +import QtQuick.Controls.Styles 1.1 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype Calendar + \inqmlmodule QtQuick.Controls + \since 5.3 + \ingroup controls + \brief Provides a way to select dates from a calendar. + + \image calendar.png + + Calendar allows selection of dates from a grid of days, similar to + QCalendarWidget. + + The dates on the calendar can be selected with the mouse, or navigated + with the keyboard. + + The selected date can be set through \l selectedDate. + A minimum and maximum date can be set through \l minimumDate and + \l maximumDate. The earliest minimum date that can be set is 1 January, 1 + AD. The latest maximum date that can be set is 25 October, 275759 AD. + + \code + Calendar { + minimumDate: new Date(2017, 0, 1) + maximumDate: new Date(2018, 0, 1) + } + \endcode + + The selected date is displayed using the format in the application's + default locale. + + Week numbers can be displayed by setting the weekNumbersVisible property to + \c true. + + \qml + Calendar { + weekNumbersVisible: true + } + \endqml + + You can create a custom appearance for Calendar by assigning a + \l {CalendarStyle}. +*/ + +Control { + id: calendar + + /*! + \qmlproperty date Calendar::selectedDate + + The date that has been selected by the user. + + This property is subject to the following validation: + + \list + \li If selectedDate is outside the range of \l minimumDate and + \l maximumDate, it will be clamped to be within that range. + + \li selectedDate will not be changed if \c undefined or some other + invalid value is assigned. + + \li If there are hours, minutes, seconds or milliseconds set, they + will be removed. + \endlist + + The default value is the current date, which is equivalent to: + + \code + new Date() + \endcode + */ + property alias selectedDate: rangedDate.date + + /*! + \qmlproperty date Calendar::minimumDate + + The earliest date that this calendar will accept. + + By default, this property is set to the earliest minimum date + (1 January, 1 AD). + */ + property alias minimumDate: rangedDate.minimumDate + + /*! + \qmlproperty date Calendar::maximumDate + + The latest date that this calendar will accept. + + By default, this property is set to the latest maximum date + (25 October, 275759 AD). + */ + property alias maximumDate: rangedDate.maximumDate + + /*! + This property determines which month in visibleYear is shown on the + calendar. + + The month is from \c 0 to \c 11 to be consistent with the JavaScript + Date object. + + \sa visibleYear + */ + property int visibleMonth: selectedDate.getMonth() + + /*! + This property determines which year is shown on the + calendar. + + \sa visibleMonth + */ + property int visibleYear: selectedDate.getFullYear() + + onSelectedDateChanged: { + // When the selected date changes, the view should move back to that date. + visibleMonth = selectedDate.getMonth(); + visibleYear = selectedDate.getFullYear(); + } + + RangedDate { + id: rangedDate + date: new Date() + minimumDate: CalendarUtils.minimumCalendarDate + maximumDate: CalendarUtils.maximumCalendarDate + } + + /*! + This property determines the visibility of the frame + surrounding the calendar. + + The default value is \c true. + */ + property bool frameVisible: true + + /*! + This property determines the visibility of week numbers. + + The default value is \c false. + */ + property bool weekNumbersVisible: false + + /*! + This property determines the visibility of the navigation bar. + \since QtQuick.Controls 1.3 + + The default value is \c true. + */ + property bool navigationBarVisible: true + + /*! + \qmlproperty enum Calendar::dayOfWeekFormat + + The format in which the days of the week (in the header) are displayed. + + \c Locale.ShortFormat is the default and recommended format, as + \c Locale.NarrowFormat may not be fully supported by each locale (see + \l {Locale String Format Types}) and + \c Locale.LongFormat may not fit within the header cells. + */ + property int dayOfWeekFormat: Locale.ShortFormat + + /*! + \qmlproperty object Calendar::locale + \since QtQuick.Controls 1.6 + + This property controls the locale that this calendar uses to display + itself. + + The locale affects how dates and day names are localized, as well as + which day is considered the first in a week. + + The following example sets an Australian locale: + + \code + locale: Qt.locale("en_AU") + \endcode + + The default value is equivalent to \c Qt.locale(). + */ + property var locale: Qt.locale() + + // left for compatibility reasons; can be removed in next minor version/Qt 6 + property alias __locale: calendar.locale + + /*! + \internal + + This property holds the model that will be used by the Calendar to + populate the dates available to the user. + */ + property CalendarModel __model: CalendarModel { + locale: calendar.locale + + // TODO: don't set the hour when QTBUG-56787 is fixed + visibleDate: new Date(visibleYear, visibleMonth, 1, 12) + } + + style: Settings.styleComponent(Settings.style, "CalendarStyle.qml", calendar) + + /*! + \qmlsignal Calendar::hovered(date date) + + Emitted when the mouse hovers over a valid date in the calendar. + + \e date is the date that was hovered over. + + The corresponding handler is \c onHovered. + */ + signal hovered(date date) + + /*! + \qmlsignal Calendar::pressed(date date) + + Emitted when the mouse is pressed on a valid date in the calendar. + + This is also emitted when dragging the mouse to another date while it is pressed. + + \e date is the date that the mouse was pressed on. + + The corresponding handler is \c onPressed. + */ + signal pressed(date date) + + /*! + \qmlsignal Calendar::released(date date) + + Emitted when the mouse is released over a valid date in the calendar. + + \e date is the date that the mouse was released over. + + The corresponding handler is \c onReleased. + */ + signal released(date date) + + /*! + \qmlsignal Calendar::clicked(date date) + + Emitted when the mouse is clicked on a valid date in the calendar. + + \e date is the date that the mouse was clicked on. + + The corresponding handler is \c onClicked. + */ + signal clicked(date date) + + /*! + \qmlsignal Calendar::doubleClicked(date date) + + Emitted when the mouse is double-clicked on a valid date in the calendar. + + \e date is the date that the mouse was double-clicked on. + + The corresponding handler is \c onDoubleClicked. + */ + signal doubleClicked(date date) + + /*! + \qmlsignal Calendar::pressAndHold(date date) + \since QtQuick.Controls 1.3 + + Emitted when the mouse is pressed and held on a valid date in the calendar. + + \e date is the date that the mouse was pressed on. + + The corresponding handler is \c onPressAndHold. + */ + signal pressAndHold(date date) + + /*! + \qmlmethod void Calendar::showPreviousMonth() + Sets visibleMonth to the previous month. + */ + function showPreviousMonth() { + if (visibleMonth === 0) { + visibleMonth = CalendarUtils.monthsInAYear - 1; + --visibleYear; + } else { + --visibleMonth; + } + } + + /*! + \qmlmethod void Calendar::showNextMonth() + Sets visibleMonth to the next month. + */ + function showNextMonth() { + if (visibleMonth === CalendarUtils.monthsInAYear - 1) { + visibleMonth = 0; + ++visibleYear; + } else { + ++visibleMonth; + } + } + + /*! + \qmlmethod void Calendar::showPreviousYear() + Sets visibleYear to the previous year. + */ + function showPreviousYear() { + if (visibleYear - 1 >= minimumDate.getFullYear()) { + --visibleYear; + } + } + + /*! + \qmlmethod void Calendar::showNextYear() + Sets visibleYear to the next year. + */ + function showNextYear() { + if (visibleYear + 1 <= maximumDate.getFullYear()) { + ++visibleYear; + } + } + + /*! + Selects the month before the current month in \l selectedDate. + */ + function __selectPreviousMonth() { + calendar.selectedDate = CalendarUtils.setMonth(calendar.selectedDate, calendar.selectedDate.getMonth() - 1); + } + + /*! + Selects the month after the current month in \l selectedDate. + */ + function __selectNextMonth() { + calendar.selectedDate = CalendarUtils.setMonth(calendar.selectedDate, calendar.selectedDate.getMonth() + 1); + } + + /*! + Selects the week before the current week in \l selectedDate. + */ + function __selectPreviousWeek() { + var newDate = new Date(calendar.selectedDate); + newDate.setDate(newDate.getDate() - CalendarUtils.daysInAWeek); + calendar.selectedDate = newDate; + } + + /*! + Selects the week after the current week in \l selectedDate. + */ + function __selectNextWeek() { + var newDate = new Date(calendar.selectedDate); + newDate.setDate(newDate.getDate() + CalendarUtils.daysInAWeek); + calendar.selectedDate = newDate; + } + + /*! + Selects the first day of the current month in \l selectedDate. + */ + function __selectFirstDayOfMonth() { + var newDate = new Date(calendar.selectedDate); + newDate.setDate(1); + calendar.selectedDate = newDate; + } + + /*! + Selects the last day of the current month in \l selectedDate. + */ + function __selectLastDayOfMonth() { + var newDate = new Date(calendar.selectedDate); + newDate.setDate(CalendarUtils.daysInMonth(newDate)); + calendar.selectedDate = newDate; + } + + /*! + Selects the day before the current day in \l selectedDate. + */ + function __selectPreviousDay() { + var newDate = new Date(calendar.selectedDate); + newDate.setDate(newDate.getDate() - 1); + calendar.selectedDate = newDate; + } + + /*! + Selects the day after the current day in \l selectedDate. + */ + function __selectNextDay() { + var newDate = new Date(calendar.selectedDate); + newDate.setDate(newDate.getDate() + 1); + calendar.selectedDate = newDate; + } + + Keys.onLeftPressed: { + calendar.__selectPreviousDay(); + } + + Keys.onUpPressed: { + calendar.__selectPreviousWeek(); + } + + Keys.onDownPressed: { + calendar.__selectNextWeek(); + } + + Keys.onRightPressed: { + calendar.__selectNextDay(); + } + + Keys.onPressed: { + if (event.key === Qt.Key_Home) { + calendar.__selectFirstDayOfMonth(); + event.accepted = true; + } else if (event.key === Qt.Key_End) { + calendar.__selectLastDayOfMonth(); + event.accepted = true; + } else if (event.key === Qt.Key_PageUp) { + calendar.__selectPreviousMonth(); + event.accepted = true; + } else if (event.key === Qt.Key_PageDown) { + calendar.__selectNextMonth(); + event.accepted = true; + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Calendar.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Calendar.qmlc new file mode 100644 index 00000000..0c6fe8b3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Calendar.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/CheckBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/CheckBox.qml new file mode 100644 index 00000000..d2448168 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/CheckBox.qml @@ -0,0 +1,197 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype CheckBox + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief A checkbox with a text label. + + \image checkbox.png + + A CheckBox is an option button that can be toggled on (checked) or off + (unchecked). Checkboxes are typically used to represent features in an + application that can be enabled or disabled without affecting others. + + The state of the checkbox can be set with the \l {AbstractCheckable::checked}{checked} property. + + In addition to the checked and unchecked states, there is a third state: + partially checked. This state indicates that the + regular checked/unchecked state can not be determined; generally because of + other states that affect the checkbox. This state is useful when several + child nodes are selected in a treeview, for example. + + The partially checked state can be made available to the user by setting + \l partiallyCheckedEnabled to \c true, or set directly by setting + \l checkedState to \c Qt.PartiallyChecked. \l checkedState behaves + identically to \l {AbstractCheckable::checked}{checked} when \l partiallyCheckedEnabled + is \c false; setting one will appropriately set the other. + + The label is shown next to the checkbox, and you can set the label text using its + \l {AbstractCheckable::text}{text} property. + + \qml + Column { + CheckBox { + text: qsTr("Breakfast") + checked: true + } + CheckBox { + text: qsTr("Lunch") + } + CheckBox { + text: qsTr("Dinner") + checked: true + } + } + \endqml + + Whenever a CheckBox is clicked, it emits the \l {AbstractCheckable::clicked}{clicked()} signal. + + You can create a custom appearance for a CheckBox by + assigning a \l {CheckBoxStyle}. +*/ + +AbstractCheckable { + id: checkBox + + /*! + \qmlproperty enumeration CheckBox::checkedState + + This property indicates the current checked state of the checkbox. + + Possible values: + \c Qt.UnChecked - The checkbox is not checked (default). + \c Qt.Checked - The checkbox is checked. + \c Qt.PartiallyChecked - The checkbox is in a partially checked (or + "mixed") state. + + The \l {AbstractCheckable::checked}{checked} property also determines whether + this property is \c Qt.Checked or \c Qt.UnChecked, and vice versa. + */ + property int checkedState: checked ? Qt.Checked : Qt.Unchecked + + /*! + This property determines whether the \c Qt.PartiallyChecked state is + available. + + A checkbox may be in a partially checked state when the regular checked + state can not be determined. + + Setting \l checkedState to \c Qt.PartiallyChecked will implicitly set + this property to \c true. + + If this property is \c true, \l {AbstractCheckable::checked}{checked} will be \c false. + + By default, this property is \c false. + */ + property bool partiallyCheckedEnabled: false + + /*! + \internal + True if onCheckedChanged should be ignored because we were reacting + to onCheckedStateChanged. + */ + property bool __ignoreChecked: false + + /*! + \internal + True if onCheckedStateChanged should be ignored because we were reacting + to onCheckedChanged. + */ + property bool __ignoreCheckedState: false + + style: Settings.styleComponent(Settings.style, "CheckBoxStyle.qml", checkBox) + + activeFocusOnTab: true + + Accessible.role: Accessible.CheckBox + Accessible.name: text + + __cycleStatesHandler: __cycleCheckBoxStates + + onCheckedChanged: { + if (!__ignoreChecked) { + __ignoreCheckedState = true; + checkedState = checked ? Qt.Checked : Qt.Unchecked; + __ignoreCheckedState = false; + } + } + + onCheckedStateChanged: { + __ignoreChecked = true; + if (checkedState === Qt.PartiallyChecked) { + partiallyCheckedEnabled = true; + checked = false; + } else if (!__ignoreCheckedState) { + checked = checkedState === Qt.Checked; + } + __ignoreChecked = false; + } + + onPartiallyCheckedEnabledChanged: { + if (exclusiveGroup && partiallyCheckedEnabled) { + console.warn("Cannot have partially checked boxes in an ExclusiveGroup."); + } + } + + onExclusiveGroupChanged: { + if (exclusiveGroup && partiallyCheckedEnabled) { + console.warn("Cannot have partially checked boxes in an ExclusiveGroup."); + } + } + + /*! \internal */ + function __cycleCheckBoxStates() { + if (!partiallyCheckedEnabled) { + checked = !checked; + } else { + switch (checkedState) { + case Qt.Unchecked: checkedState = Qt.Checked; break; + case Qt.Checked: checkedState = Qt.PartiallyChecked; break; + case Qt.PartiallyChecked: checkedState = Qt.Unchecked; break; + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/CheckBox.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/CheckBox.qmlc new file mode 100644 index 00000000..5c0afdb5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/CheckBox.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ComboBox.qml new file mode 100644 index 00000000..b01cfe12 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ComboBox.qml @@ -0,0 +1,717 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ComboBox + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief Provides a drop-down list functionality. + + \image combobox.png + + Add items to the ComboBox by assigning it a ListModel, or a list of strings + to the \l model property. + + \qml + ComboBox { + width: 200 + model: [ "Banana", "Apple", "Coconut" ] + } + \endqml + + In this example we are demonstrating how to use a ListModel with a combo box. + + \qml + ComboBox { + currentIndex: 2 + model: ListModel { + id: cbItems + ListElement { text: "Banana"; color: "Yellow" } + ListElement { text: "Apple"; color: "Green" } + ListElement { text: "Coconut"; color: "Brown" } + } + width: 200 + onCurrentIndexChanged: console.debug(cbItems.get(currentIndex).text + ", " + cbItems.get(currentIndex).color) + } + \endqml + + You can make a combo box editable by setting the \l editable property. An editable combo box will + autocomplete its text based on what is available in the model. + + In the next example we demonstrate how you can append content to an editable combo box by + reacting to the \l accepted signal. Note that you have to explicitly prevent duplicates. + + \qml + ComboBox { + editable: true + model: ListModel { + id: model + ListElement { text: "Banana"; color: "Yellow" } + ListElement { text: "Apple"; color: "Green" } + ListElement { text: "Coconut"; color: "Brown" } + } + onAccepted: { + if (find(currentText) === -1) { + model.append({text: editText}) + currentIndex = find(editText) + } + } + } + \endqml + + + You can create a custom appearance for a ComboBox by + assigning a \l {ComboBoxStyle}. +*/ + +Control { + id: comboBox + + /*! \qmlproperty model ComboBox::model + The model to populate the ComboBox from. + + Changing the model after initialization will reset \l currentIndex to \c 0. + */ + property alias model: popupItems.model + + /*! The model role used for populating the ComboBox. */ + property string textRole: "" + + /*! \qmlproperty int ComboBox::currentIndex + The index of the currently selected item in the ComboBox. + + Setting currentIndex to \c -1 will reset the selection and clear the text + label. If \l editable is \c true, you may also need to manually clear \l editText. + + \sa model + */ + property alias currentIndex: popup.__selectedIndex + + /*! \qmlproperty string ComboBox::currentText + The text of the currently selected item in the ComboBox. + + \note Since \c currentText depends on \c currentIndex, there's no way to ensure \c currentText + will be up to date whenever a \c onCurrentIndexChanged handler is called. + */ + readonly property alias currentText: popup.currentText + + /*! This property holds whether the combo box can be edited by the user. + The default value is \c false. + \since QtQuick.Controls 1.1 + */ + property bool editable: false + + /*! \qmlproperty string ComboBox::editText + \since QtQuick.Controls 1.1 + This property specifies text being manipulated by the user for an editable combo box. + */ + property alias editText: input.text + + /*! \qmlproperty enumeration ComboBox::inputMethodHints + \since QtQuick.Controls 1.5 + Provides hints to the input method about the expected content of the combo box and how it + should operate. + + The value is a bit-wise combination of flags or \c Qt.ImhNone if no hints are set. + + Flags that alter behavior are: + + \list + \li Qt.ImhHiddenText - Characters should be hidden, as is typically used when entering passwords. + \li Qt.ImhSensitiveData - Typed text should not be stored by the active input method + in any persistent storage like predictive user dictionary. + \li Qt.ImhNoAutoUppercase - The input method should not try to automatically switch to upper case + when a sentence ends. + \li Qt.ImhPreferNumbers - Numbers are preferred (but not required). + \li Qt.ImhPreferUppercase - Upper case letters are preferred (but not required). + \li Qt.ImhPreferLowercase - Lower case letters are preferred (but not required). + \li Qt.ImhNoPredictiveText - Do not use predictive text (i.e. dictionary lookup) while typing. + + \li Qt.ImhDate - The text editor functions as a date field. + \li Qt.ImhTime - The text editor functions as a time field. + \endlist + + Flags that restrict input (exclusive flags) are: + + \list + \li Qt.ImhDigitsOnly - Only digits are allowed. + \li Qt.ImhFormattedNumbersOnly - Only number input is allowed. This includes decimal point and minus sign. + \li Qt.ImhUppercaseOnly - Only upper case letter input is allowed. + \li Qt.ImhLowercaseOnly - Only lower case letter input is allowed. + \li Qt.ImhDialableCharactersOnly - Only characters suitable for phone dialing are allowed. + \li Qt.ImhEmailCharactersOnly - Only characters suitable for email addresses are allowed. + \li Qt.ImhUrlCharactersOnly - Only characters suitable for URLs are allowed. + \endlist + + Masks: + + \list + \li Qt.ImhExclusiveInputMask - This mask yields nonzero if any of the exclusive flags are used. + \endlist + */ + property alias inputMethodHints: input.inputMethodHints + + /*! This property specifies whether the combobox should gain active focus when pressed. + The default value is \c false. */ + property bool activeFocusOnPress: false + + /*! \qmlproperty bool ComboBox::pressed + + This property holds whether the button is being pressed. */ + readonly property bool pressed: mouseArea.effectivePressed || popup.__popupVisible + + /*! \qmlproperty bool ComboBox::hovered + + This property indicates whether the control is being hovered. + */ + readonly property bool hovered: mouseArea.containsMouse || input.containsMouse + + /*! \qmlproperty int ComboBox::count + \since QtQuick.Controls 1.1 + This property holds the number of items in the combo box. + */ + readonly property alias count: popupItems.count + + /*! \qmlmethod string ComboBox::textAt(int index) + Returns the text for a given \a index. + If an invalid index is provided, \c null is returned + \since QtQuick.Controls 1.1 + */ + function textAt (index) { + if (index >= count || index < 0) + return null; + return popupItems.objectAt(index).text; + } + + /*! \qmlmethod int ComboBox::find(string text) + Finds and returns the index of a given \a text + If no match is found, \c -1 is returned. The search is case sensitive. + \since QtQuick.Controls 1.1 + */ + function find (text) { + return input.find(text, Qt.MatchExactly) + } + + /*! + \qmlproperty Validator ComboBox::validator + \since QtQuick.Controls 1.1 + + Allows you to set a text validator for an editable ComboBox. + When a validator is set, + the text field will only accept input which leaves the text property in + an intermediate state. The accepted signal will only be sent + if the text is in an acceptable state when enter is pressed. + + Currently supported validators are \l[QtQuick]{IntValidator}, + \l[QtQuick]{DoubleValidator}, and \l[QtQuick]{RegExpValidator}. An + example of using validators is shown below, which allows input of + integers between 11 and 31 into the text field: + + \note This property is only applied when \l editable is \c true + + \qml + import QtQuick 2.2 + import QtQuick.Controls 1.2 + + ComboBox { + editable: true + model: 10 + validator: IntValidator {bottom: 0; top: 10;} + focus: true + } + \endqml + + \sa acceptableInput, accepted, editable + */ + property alias validator: input.validator + + /*! + \since QtQuick.Controls 1.3 + + This property contains the edit \l Menu for working + with text selection. Set it to \c null if no menu + is wanted. + + \note The menu is only in use when \l editable is \c true + */ + property Component menu: input.editMenu.defaultMenu + + /*! + \qmlproperty bool ComboBox::acceptableInput + \since QtQuick.Controls 1.1 + + Returns \c true if the combo box contains acceptable + text in the editable text field. + + If a validator was set, this property will return \c + true if the current text satisfies the validator or mask as + a final string (not as an intermediate string). + + \sa validator, accepted + + */ + readonly property alias acceptableInput: input.acceptableInput + + /*! + \qmlproperty bool ComboBox::selectByMouse + \since QtQuick.Controls 1.3 + + This property determines if the user can select the text in + the editable text field with the mouse. + + The default value is \c true. + */ + property bool selectByMouse: true + + /*! + \qmlproperty bool ComboBox::inputMethodComposing + \since QtQuick.Controls 1.3 + + This property holds whether an editable ComboBox has partial text input from an input method. + + While it is composing an input method may rely on mouse or key events from the ComboBox + to edit or commit the partial text. This property can be used to determine when to disable + events handlers that may interfere with the correct operation of an input method. + */ + readonly property bool inputMethodComposing: !!input.inputMethodComposing + + /*! + \qmlsignal ComboBox::accepted() + \since QtQuick.Controls 1.1 + + This signal is emitted when the Return or Enter key is pressed on an + \l editable combo box. If the confirmed string is not currently in the model, + the currentIndex will be set to -1 and the \l currentText will be updated + accordingly. + + \note If there is a \l validator set on the combobox, + the signal will only be emitted if the input is in an acceptable state. + + The corresponding handler is \c onAccepted. + */ + signal accepted + + /*! + \qmlsignal ComboBox::activated(int index) + \since QtQuick.Controls 1.1 + + This signal is similar to currentIndex changed, but will only + be emitted if the combo box index was changed by the user, not + when set programmatically. + + \e index is the activated model index, or \c -1 if a new string is + accepted. + + The corresponding handler is \c onActivated. + */ + signal activated(int index) + + /*! + \qmlmethod void ComboBox::selectAll() + \since QtQuick.Controls 1.1 + + Causes all \l editText to be selected. + */ + function selectAll() { + input.selectAll() + } + + /*! \internal */ + function __selectPrevItem() { + input.blockUpdate = true + if (currentIndex > 0) { + currentIndex--; + input.text = popup.currentText; + activated(currentIndex); + } + input.blockUpdate = false; + } + + /*! \internal */ + function __selectNextItem() { + input.blockUpdate = true; + if (currentIndex < popupItems.count - 1) { + currentIndex++; + input.text = popup.currentText; + activated(currentIndex); + } + input.blockUpdate = false; + } + + /*! \internal */ + property var __popup: popup + + style: Settings.styleComponent(Settings.style, "ComboBoxStyle.qml", comboBox) + + activeFocusOnTab: true + + Accessible.name: editable ? editText : currentText + Accessible.role: Accessible.ComboBox + Accessible.editable: editable + + MouseArea { + id: mouseArea + property bool overridePressed: false + readonly property bool effectivePressed: (pressed || overridePressed) && containsMouse + anchors.fill: parent + hoverEnabled: Settings.hoverEnabled + onPressed: { + if (comboBox.activeFocusOnPress) + forceActiveFocus() + if (!Settings.hasTouchScreen) + popup.toggleShow() + else + overridePressed = true + } + onCanceled: overridePressed = false + onClicked: { + if (Settings.hasTouchScreen) + popup.toggleShow() + overridePressed = false + } + onWheel: { + if (wheel.angleDelta.y > 0) { + __selectPrevItem(); + } else if (wheel.angleDelta.y < 0){ + __selectNextItem(); + } + } + } + + Component.onCompleted: { + if (currentIndex === -1) + currentIndex = 0 + + popup.ready = true + popup.resolveTextValue(textRole) + } + + Keys.onPressed: { + // Perform one-character based lookup for non-editable combo box + if (!editable && event.text.length > 0) { + var index = input.find(event.text, Qt.MatchStartsWith); + if (index >= 0 && index !== currentIndex) { + currentIndex = index; + activated(currentIndex); + } + } + } + + TextInputWithHandles { + id: input + + visible: editable + enabled: editable + focus: true + clip: contentWidth > width + + control: comboBox + cursorHandle: __style ? __style.__cursorHandle : undefined + selectionHandle: __style ? __style.__selectionHandle : undefined + + anchors.fill: parent + anchors.leftMargin: __style ? __style.padding.left : 0 + anchors.topMargin: __style ? __style.padding.top : 0 + anchors.rightMargin: __style ? __panel.dropDownButtonWidth + __style.padding.right : 0 + anchors.bottomMargin: __style ? __style.padding.bottom: 0 + + verticalAlignment: Text.AlignVCenter + + font: __panel && __panel.font !== undefined ? __panel.font : TextSingleton.font + renderType: __style ? __style.renderType : Text.NativeRendering + color: __panel ? __panel.textColor : "black" + selectionColor: __panel ? __panel.selectionColor : "blue" + selectedTextColor: __panel ? __panel.selectedTextColor : "white" + onAccepted: { + var idx = input.find(editText, Qt.MatchFixedString) + if (idx > -1) { + editTextMatches = true; + currentIndex = idx; + editText = textAt(idx); + } else { + editTextMatches = false; + currentIndex = -1; + popup.currentText = editText; + } + comboBox.accepted(); + } + + property bool blockUpdate: false + property string prevText + property bool editTextMatches: true + + function find (text, searchType) { + for (var i = 0 ; i < popupItems.count ; ++i) { + var currentString = popupItems.objectAt(i).text + if (searchType === Qt.MatchExactly) { + if (text === currentString) + return i; + } else if (searchType === Qt.CaseSensitive) { + if (currentString.indexOf(text) === 0) + return i; + } else if (searchType === Qt.MatchFixedString) { + if (currentString.toLowerCase().indexOf(text.toLowerCase()) === 0 + && currentString.length === text.length) + return i; + } else if (currentString.toLowerCase().indexOf(text.toLowerCase()) === 0) { + return i + } + } + return -1; + } + + // Finds first entry and shortest entry. Used by editable combo + function tryComplete (inputText) { + var candidate = ""; + var shortestString = ""; + for (var i = 0 ; i < popupItems.count ; ++i) { + var currentString = popupItems.objectAt(i).text; + + if (currentString.toLowerCase().indexOf(inputText.toLowerCase()) === 0) { + if (candidate.length) { // Find smallest possible match + var cmp = 0; + + // We try to complete the shortest string that matches our search + if (currentString.length < candidate.length) + candidate = currentString + + while (cmp < Math.min(currentString.length, shortestString.length) + && shortestString[cmp].toLowerCase() === currentString[cmp].toLowerCase()) + cmp++; + shortestString = shortestString.substring(0, cmp); + } else { // First match, select as current index and find other matches + candidate = currentString; + shortestString = currentString; + } + } + } + + if (candidate.length) + return inputText + candidate.substring(inputText.length, candidate.length); + return inputText; + } + + property bool allowComplete: false + Keys.forwardTo: comboBox + Keys.onPressed: allowComplete = (event.key !== Qt.Key_Backspace && event.key !== Qt.Key_Delete); + + onTextChanged: { + if (editable && !blockUpdate && allowComplete && text.length > 0) { + var completed = input.tryComplete(text) + if (completed.length > text.length) { + var oldtext = input.text; + input.text = completed; + input.select(text.length, oldtext.length); + } + } + prevText = text + } + } + + Qml.Binding { + target: input + property: "text" + value: popup.currentText + when: input.editTextMatches + restoreMode: Binding.RestoreBinding + } + + onTextRoleChanged: popup.resolveTextValue(textRole) + + ExclusiveGroup { id: eg } + + Menu { + id: popup + objectName: "popup" + + style: isPopup ? __style.__popupStyle : __style.__dropDownStyle + + property string currentText: selectedText + onSelectedTextChanged: popup.currentText = selectedText + + property string selectedText + property int triggeredIndex: -1 + on__SelectedIndexChanged: { + if (__selectedIndex === -1) + popup.currentText = "" + else + updateSelectedText() + if (triggeredIndex >= 0 && triggeredIndex == __selectedIndex) { + activated(currentIndex) + triggeredIndex = -1 + } + } + property string textRole: "" + + property bool ready: false + property bool isPopup: !editable && !!__panel && __panel.popup + + property int y: isPopup ? (comboBox.__panel.height - comboBox.__panel.implicitHeight) / 2.0 : comboBox.__panel.height + __minimumWidth: comboBox.width + __visualItem: comboBox + + property bool modelIsArray: false + + Instantiator { + id: popupItems + active: false + + property bool updatingModel: false + onModelChanged: { + popup.modelIsArray = !!model ? model.constructor === Array : false + if (active) { + if (updatingModel && popup.__selectedIndex === 0) { + // We still want to update the currentText + popup.updateSelectedText() + } else { + updatingModel = true + popup.__selectedIndex = 0 + } + } + popup.resolveTextValue(comboBox.textRole) + } + + MenuItem { + text: popup.textRole === '' ? + modelData : + ((popup.modelIsArray ? modelData[popup.textRole] : model[popup.textRole]) || '') + onTriggered: { + popup.triggeredIndex = index + comboBox.editText = text + } + onTextChanged: if (index === currentIndex) popup.updateSelectedText(); + checkable: true + exclusiveGroup: eg + } + onObjectAdded: { + popup.insertItem(index, object) + if (!updatingModel && index === popup.__selectedIndex) + popup.selectedText = object["text"] + } + onObjectRemoved: popup.removeItem(object) + + } + + function resolveTextValue(initialTextRole) { + if (!ready || !model) { + popupItems.active = false + return; + } + + var get = model['get']; + if (!get && popup.modelIsArray && !!model[0]) { + if (model[0].constructor !== String && model[0].constructor !== Number) + get = function(i) { return model[i]; } + } + + var modelMayHaveRoles = get !== undefined + textRole = initialTextRole + if (textRole === "" && modelMayHaveRoles && get(0)) { + // No text role set, check whether model has a suitable role + // If 'text' is found, or there's only one role, pick that. + var listElement = get(0) + var roleName = "" + var roleCount = 0 + for (var role in listElement) { + if (listElement[role].constructor === Function) + continue; + if (role === "text") { + roleName = role + break + } else if (!roleName) { + roleName = role + } + ++roleCount + } + if (roleCount > 1 && roleName !== "text") { + console.warn("No suitable 'textRole' found for ComboBox.") + } else { + textRole = roleName + } + } + + if (!popupItems.active) + popupItems.active = true + else + updateSelectedText() + } + + function toggleShow() { + if (popup.__popupVisible) { + popup.__dismissAndDestroy() + } else { + if (items[__selectedIndex]) + items[__selectedIndex].checked = true + __currentIndex = comboBox.currentIndex + if (Qt.application.layoutDirection === Qt.RightToLeft) + __popup(Qt.rect(comboBox.width, y, 0, 0), isPopup ? __selectedIndex : 0) + else + __popup(Qt.rect(0, y, 0, 0), isPopup ? __selectedIndex : 0) + } + } + + function updateSelectedText() { + var selectedItem; + if (__selectedIndex !== -1 && (selectedItem = items[__selectedIndex])) { + input.editTextMatches = true + selectedText = Qt.binding(function () { return selectedItem.text }) + if (currentText !== selectedText) // __selectedIndex went form -1 to 0 + selectedTextChanged() + } + } + } + + // The key bindings below will only be in use when popup is + // not visible. Otherwise, native popup key handling will take place: + Keys.onSpacePressed: { + if (!editable) + popup.toggleShow() + else + event.accepted = false + } + + Keys.onUpPressed: __selectPrevItem() + Keys.onDownPressed: __selectNextItem() +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ComboBox.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ComboBox.qmlc new file mode 100644 index 00000000..ab188cc3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ComboBox.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/GroupBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/GroupBox.qml new file mode 100644 index 00000000..0a414ed2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/GroupBox.qml @@ -0,0 +1,232 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.1 +import QtQuick.Layouts 1.0 + +/*! + \qmltype GroupBox + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief GroupBox provides a group box frame with a title. + + \image groupbox.png + + A group box provides a frame, a title on top and displays various other controls inside itself. Group boxes can also be checkable. + + Child controls in checkable group boxes are enabled or disabled depending on whether or not the group box is checked. + + You can minimize the space consumption of a group box by enabling the flat property. + In most styles, enabling this property results in the removal of the left, right and bottom edges of the frame. + + To add content to a group box, you can reparent it to its contentItem property. + + The implicit size of the GroupBox is calculated based on the size of its content. If you want to anchor + items inside the group box, you must specify an explicit width and height on the GroupBox itself. + + The following example shows how we use a GroupBox: + + \qml + GroupBox { + title: "Joining for?" + + Column { + spacing: 10 + + CheckBox { + text: "Breakfast" + checked: true + } + CheckBox { + text: "Lunch" + checked: false + } + CheckBox { + text: "Dinner" + checked: true + } + } + } + \endqml + + \sa CheckBox, RadioButton, Layout + +*/ + +FocusScope { + id: groupbox + + /*! + This property holds the group box title text. + + There is no default title text. + */ + property string title + + /*! + This property holds whether the group box is painted flat or has a frame. + + A group box usually consists of a surrounding frame with a title at the top. + If this property is enabled, only the top part of the frame is drawn in most styles; + otherwise, the whole frame is drawn. + + By default, this property is disabled, so group boxes are not flat unless explicitly specified. + + \note In some styles, flat and non-flat group boxes have similar representations and may not be as + distinguishable as they are in other styles. + */ + property bool flat: false + + /*! + This property holds whether the group box has a checkbox in its title. + + If this property is true, the group box displays its title using a checkbox in place of an ordinary label. + If the checkbox is checked, the group box's children are enabled; otherwise, they are disabled and inaccessible. + + By default, group boxes are not checkable. + */ + property bool checkable: false + + /*! + \qmlproperty bool GroupBox::checked + + This property holds whether the group box is checked. + + If the group box is checkable, it is displayed with a check box. If the check box is checked, the group + box's children are enabled; otherwise, the children are disabled and are inaccessible to the user. + + By default, checkable group boxes are also checked. + */ + property alias checked: check.checked + + + /*! \internal */ + default property alias __content: container.data + + /*! + \qmlproperty Item GroupBox::contentItem + + This property holds the content Item of the group box. + + Items declared as children of a GroupBox are automatically parented to the GroupBox's contentItem. + Items created dynamically need to be explicitly parented to the contentItem: + + \note The implicit size of the GroupBox is calculated based on the size of its content. If you want to anchor + items inside the group box, you must specify an explicit width and height on the GroupBox itself. + */ + readonly property alias contentItem: container + + /*! \internal */ + property Component style: Settings.styleComponent(Settings.style, "GroupBoxStyle.qml", groupbox) + + /*! \internal */ + property alias __checkbox: check + + /*! \internal */ + property alias __style: styleLoader.item + + implicitWidth: Math.max((!anchors.fill ? container.calcWidth() : 0) + loader.leftMargin + loader.rightMargin, + sizeHint.implicitWidth + (checkable ? 24 : 6)) + implicitHeight: (!anchors.fill ? container.calcHeight() : 0) + loader.topMargin + loader.bottomMargin + + Layout.minimumWidth: implicitWidth + Layout.minimumHeight: implicitHeight + + Accessible.role: Accessible.Grouping + Accessible.name: title + + activeFocusOnTab: false + + + data: [ + Loader { + id: loader + anchors.fill: parent + property int topMargin: __style ? __style.padding.top : 0 + property int bottomMargin: __style ? __style.padding.bottom : 0 + property int leftMargin: __style ? __style.padding.left : 0 + property int rightMargin: __style ? __style.padding.right : 0 + sourceComponent: styleLoader.item ? styleLoader.item.panel : null + onLoaded: item.z = -1 + Text { id: sizeHint ; visible: false ; text: title } + Loader { + id: styleLoader + property alias __control: groupbox + sourceComponent: groupbox.style + } + }, + CheckBox { + id: check + objectName: "check" + checked: true + text: groupbox.title + visible: checkable + anchors.top: parent.top + anchors.left: parent.left + anchors.right: parent.right + height: loader.topMargin + activeFocusOnTab: groupbox.checkable + style: CheckBoxStyle { panel: Item{} } + }, + Item { + id: container + objectName: "container" + z: 1 + focus: true + anchors.fill: parent + + anchors.topMargin: loader.topMargin + anchors.leftMargin: loader.leftMargin + anchors.rightMargin: loader.rightMargin + anchors.bottomMargin: loader.bottomMargin + enabled: (!groupbox.checkable || groupbox.checked) + + property Item layoutItem: container.children.length === 1 ? container.children[0] : null + function calcWidth () { return (layoutItem ? (layoutItem.implicitWidth || layoutItem.width) + + (layoutItem.anchors.fill ? layoutItem.anchors.leftMargin + + layoutItem.anchors.rightMargin : 0) : container.childrenRect.width) } + function calcHeight () { return (layoutItem ? (layoutItem.implicitHeight || layoutItem.height) + + (layoutItem.anchors.fill ? layoutItem.anchors.topMargin + + layoutItem.anchors.bottomMargin : 0) : container.childrenRect.height) } + }] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/GroupBox.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/GroupBox.qmlc new file mode 100644 index 00000000..39d88b0a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/GroupBox.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Label.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Label.qml new file mode 100644 index 00000000..ea3f27b3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Label.qml @@ -0,0 +1,92 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype Label + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief A text label. + + \image label.png + + In addition to the normal \l Text type, Label follows the font and + color scheme of the system. + Use the \c text property to assign a text to the label. For other properties + check \l Text. + + A simple label looks like this: + \qml + Label { + text: "Hello world" + } + \endqml + + You can use the properties of \l Text to change the appearance + of the text as desired: + \qml + Label { + text: "Hello world" + font.pixelSize: 22 + font.italic: true + color: "steelblue" + } + \endqml + + \sa Text, TextField, TextEdit +*/ + +Text { + /*! + \qmlproperty string Label::text + + The text to display. Use this property to get and set it. + */ + + id: label + color: SystemPaletteSingleton.windowText(enabled) + activeFocusOnTab: false + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + Accessible.name: text + Accessible.role: Accessible.StaticText +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Label.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Label.qmlc new file mode 100644 index 00000000..22bf8874 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Label.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Menu.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Menu.qml new file mode 100644 index 00000000..f91e8634 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Menu.qml @@ -0,0 +1,180 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Styles 1.1 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype Menu + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup menus + \ingroup controls + \brief Provides a menu component for use as a context menu, popup menu, or + as part of a menu bar. + + \image menu.png + + \code + Menu { + title: "Edit" + + MenuItem { + text: "Cut" + shortcut: "Ctrl+X" + onTriggered: ... + } + + MenuItem { + text: "Copy" + shortcut: "Ctrl+C" + onTriggered: ... + } + + MenuItem { + text: "Paste" + shortcut: "Ctrl+V" + onTriggered: ... + } + + MenuSeparator { } + + Menu { + title: "More Stuff" + + MenuItem { + text: "Do Nothing" + } + } + } + \endcode + + The main uses for menus: + \list + \li + as a \e top-level menu in a \l MenuBar + \li + as a \e submenu inside another menu + \li + as a standalone or \e context menu + \endlist + + Note that some properties, such as \c enabled, \c text, or \c iconSource, + only make sense in a particular use case of the menu. + + \sa MenuBar, MenuItem, MenuSeparator +*/ + +MenuPrivate { + id: root + + /*! \internal + \omit + Documented in qqquickmenu.cpp. + \endomit + */ + function addMenu(title) { + return root.insertMenu(items.length, title) + } + + /*! \internal + \omit + Documented in qquickmenu.cpp. + \endomit + */ + function insertMenu(index, title) { + if (!__selfComponent) + __selfComponent = Qt.createComponent("Menu.qml", root) + var submenu = __selfComponent.createObject(__selfComponent, { "title": title }) + root.insertItem(index, submenu) + return submenu + } + + /*! \internal */ + property Component __selfComponent: null + + /*! \qmlproperty Component Menu::style + \since QtQuick.Controls.Styles 1.2 + + The style Component for this control. + \sa {MenuStyle} + + */ + property Component style + + Component.onCompleted: { + if (!style) { + __usingDefaultStyle = true + style = Qt.binding(function() { return Settings.styleComponent(Settings.style, "MenuStyle.qml", root) }) + } + } + + /*! \internal */ + property bool __usingDefaultStyle: false + /*! \internal */ + property var __parentContentItem: __parentMenu ? __parentMenu.__contentItem : null + /*! \internal */ + property int __currentIndex: -1 + /*! \internal */ + onAboutToHide: __currentIndex = -1 + on__MenuPopupDestroyed: contentLoader.active = false + onPopupVisibleChanged: { + if (__popupVisible) + contentLoader.active = true + } + + /*! \internal */ + __contentItem: Loader { + id: contentLoader + Component { + id: menuContent + MenuContentItem { + __menu: root + } + } + + sourceComponent: root.__isNative ? null : menuContent + active: false + focus: true + Keys.forwardTo: item ? [item, root.__parentContentItem] : [] + property bool altPressed: root.__parentContentItem ? root.__parentContentItem.altPressed : false + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Menu.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Menu.qmlc new file mode 100644 index 00000000..ec01b60c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Menu.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/MenuBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/MenuBar.qml new file mode 100644 index 00000000..78fd7cc7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/MenuBar.qml @@ -0,0 +1,347 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Styles 1.1 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype MenuBar + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup applicationwindow + \ingroup controls + \brief Provides a horizontal menu bar. + + \image menubar.png + + MenuBar can be added to an \l ApplicationWindow, providing menu options + to access additional functionality of the application. + + \code + ApplicationWindow { + ... + menuBar: MenuBar { + Menu { + title: "File" + MenuItem { text: "Open..." } + MenuItem { text: "Close" } + } + + Menu { + title: "Edit" + MenuItem { text: "Cut" } + MenuItem { text: "Copy" } + MenuItem { text: "Paste" } + } + } + } + \endcode + + \sa ApplicationWindow::menuBar +*/ + +MenuBarPrivate { + id: root + + /*! \qmlproperty Component MenuBar::style + \since QtQuick.Controls.Styles 1.2 + + The style Component for this control. + \sa {MenuBarStyle} + + */ + property Component style: Settings.styleComponent(Settings.style, "MenuBarStyle.qml", root) + + /*! \internal */ + property QtObject __style: styleLoader.item + + __isNative: !__style.hasOwnProperty("__isNative") || __style.__isNative + + /*! \internal */ + __contentItem: Loader { + id: topLoader + sourceComponent: __menuBarComponent + active: !root.__isNative + focus: true + Keys.forwardTo: [item] + property real preferredWidth: parent && active ? parent.width : 0 + property bool altPressed: item ? item.__altPressed : false + + Loader { + id: styleLoader + property alias __control: topLoader.item + sourceComponent: root.style + onStatusChanged: { + if (status === Loader.Error) + console.error("Failed to load Style for", root) + } + } + } + + /*! \internal */ + property Component __menuBarComponent: Loader { + id: menuBarLoader + + Accessible.role: Accessible.MenuBar + + onStatusChanged: if (status === Loader.Error) console.error("Failed to load panel for", root) + + visible: status === Loader.Ready + sourceComponent: d.style ? d.style.background : undefined + + width: implicitWidth || root.__contentItem.preferredWidth + height: Math.max(row.height + d.heightPadding, item ? item.implicitHeight : 0) + + Qml.Binding { + // Make sure the styled menu bar is in the background + target: menuBarLoader.item + property: "z" + value: menuMouseArea.z - 1 + restoreMode: Binding.RestoreBinding + } + + QtObject { + id: d + + property Style style: __style + + property int openedMenuIndex: -1 + property bool preselectMenuItem: false + property real heightPadding: style ? style.padding.top + style.padding.bottom : 0 + + property bool altPressed: false + property bool altPressedAgain: false + property var mnemonicsMap: ({}) + + function openMenuAtIndex(index) { + if (openedMenuIndex === index) + return; + + var oldIndex = openedMenuIndex + openedMenuIndex = index + + if (oldIndex !== -1) { + var menu = root.menus[oldIndex] + if (menu.__popupVisible) + menu.__dismissAndDestroy() + } + + if (openedMenuIndex !== -1) { + menu = root.menus[openedMenuIndex] + if (menu.enabled) { + if (menu.__usingDefaultStyle) + menu.style = d.style.menuStyle + + var xPos = row.LayoutMirroring.enabled ? menuItemLoader.width : 0 + menu.__popup(Qt.rect(xPos, menuBarLoader.height - d.heightPadding, 0, 0), 0) + + if (preselectMenuItem) + menu.__currentIndex = 0 + } + } + } + + function dismissActiveFocus(event, reason) { + if (reason) { + altPressedAgain = false + altPressed = false + openMenuAtIndex(-1) + root.__contentItem.parent.forceActiveFocus() + } else { + event.accepted = false + } + } + + function maybeOpenFirstMenu(event) { + if (altPressed && openedMenuIndex === -1) { + preselectMenuItem = true + openMenuAtIndex(0) + } else { + event.accepted = false + } + } + } + property alias __altPressed: d.altPressed // Needed for the menu contents + + focus: true + + Keys.onPressed: { + var action = null + if (event.key === Qt.Key_Alt) { + if (!d.altPressed) + d.altPressed = true + else + d.altPressedAgain = true + } else if (d.altPressed && (action = d.mnemonicsMap[event.text.toUpperCase()])) { + d.preselectMenuItem = true + action.trigger() + event.accepted = true + } + } + + Keys.onReleased: d.dismissActiveFocus(event, d.altPressedAgain && d.openedMenuIndex === -1) + Keys.onEscapePressed: d.dismissActiveFocus(event, d.openedMenuIndex === -1) + + Keys.onUpPressed: d.maybeOpenFirstMenu(event) + Keys.onDownPressed: d.maybeOpenFirstMenu(event) + + Keys.onLeftPressed: { + if (d.openedMenuIndex > 0) { + var idx = d.openedMenuIndex - 1 + while (idx >= 0 && !(root.menus[idx].enabled && root.menus[idx].visible)) + idx-- + if (idx >= 0) { + d.preselectMenuItem = true + d.openMenuAtIndex(idx) + } + } else { + event.accepted = false; + } + } + + Keys.onRightPressed: { + if (d.openedMenuIndex !== -1 && d.openedMenuIndex < root.menus.length - 1) { + var idx = d.openedMenuIndex + 1 + while (idx < root.menus.length && !(root.menus[idx].enabled && root.menus[idx].visible)) + idx++ + if (idx < root.menus.length) { + d.preselectMenuItem = true + d.openMenuAtIndex(idx) + } + } else { + event.accepted = false; + } + } + + Keys.forwardTo: d.openedMenuIndex !== -1 ? [root.menus[d.openedMenuIndex].__contentItem] : [] + + Row { + id: row + x: d.style ? d.style.padding.left : 0 + y: d.style ? d.style.padding.top : 0 + width: parent.width - (d.style ? d.style.padding.left + d.style.padding.right : 0) + LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft + + Repeater { + id: itemsRepeater + model: root.menus + Loader { + id: menuItemLoader + + Accessible.role: Accessible.MenuItem + Accessible.name: StyleHelpers.removeMnemonics(opts.text) + Accessible.onPressAction: d.openMenuAtIndex(opts.index) + + property var styleData: QtObject { + id: opts + readonly property int index: __menuItemIndex + readonly property string text: !!__menuItem && __menuItem.title + readonly property bool enabled: !!__menuItem && __menuItem.enabled + readonly property bool selected: menuMouseArea.hoveredItem === menuItemLoader + readonly property bool open: !!__menuItem && __menuItem.__popupVisible || d.openedMenuIndex === index + readonly property bool underlineMnemonic: d.altPressed + } + + height: Math.max(menuBarLoader.height - d.heightPadding, + menuItemLoader.item ? menuItemLoader.item.implicitHeight : 0) + + readonly property var __menuItem: modelData + readonly property int __menuItemIndex: index + sourceComponent: d.style ? d.style.itemDelegate : null + visible: __menuItem.visible + + Connections { + target: __menuItem + function onAboutToHide() { + if (d.openedMenuIndex === index) { + d.openMenuAtIndex(-1) + menuMouseArea.hoveredItem = null + } + } + } + + Connections { + target: __menuItem.__action + function onTriggered() { d.openMenuAtIndex(__menuItemIndex) } + } + + Component.onCompleted: { + __menuItem.__visualItem = menuItemLoader + + var title = __menuItem.title + var ampersandPos = title.indexOf("&") + if (ampersandPos !== -1) + d.mnemonicsMap[title[ampersandPos + 1].toUpperCase()] = __menuItem.__action + } + } + } + } + + MouseArea { + id: menuMouseArea + anchors.fill: parent + hoverEnabled: Settings.hoverEnabled + + onPositionChanged: updateCurrentItem(mouse) + onPressed: updateCurrentItem(mouse) + onExited: hoveredItem = null + + property Item currentItem: null + property Item hoveredItem: null + function updateCurrentItem(mouse) { + var pos = mapToItem(row, mouse.x, mouse.y) + if (pressed || !hoveredItem + || !hoveredItem.contains(Qt.point(pos.x - currentItem.x, pos.y - currentItem.y))) { + hoveredItem = row.childAt(pos.x, pos.y) + if (!hoveredItem) + return false; + currentItem = hoveredItem + if (pressed || d.openedMenuIndex !== -1) { + d.preselectMenuItem = false + d.openMenuAtIndex(currentItem.__menuItemIndex) + } + } + return true; + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/MenuBar.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/MenuBar.qmlc new file mode 100644 index 00000000..c2a200cf Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/MenuBar.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/AbstractCheckable.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/AbstractCheckable.qml new file mode 100644 index 00000000..e96f0500 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/AbstractCheckable.qml @@ -0,0 +1,178 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Window 2.2 + +/*! + \qmltype AbstractCheckable + \inqmlmodule QtQuick.Controls + \brief An abstract representation of a checkable control with a label + \qmlabstract + \internal + + A checkable control is one that has two states: checked (on) and + unchecked (off). AbstractCheckable encapsulates the basic behavior and + states that are required by checkable controls. + + Examples of checkable controls are RadioButton and + CheckBox. CheckBox extends AbstractCheckable's behavior by adding a third + state: partially checked. +*/ + +Control { + id: abstractCheckable + + /*! + Emitted whenever the control is clicked. + */ + signal clicked + + /*! + \qmlproperty bool AbstractCheckable::pressed + + This property is \c true if the control is being pressed. + Set this property to manually invoke a mouse click. + */ + property alias pressed: mouseArea.effectivePressed + + /*! \qmlproperty bool AbstractCheckcable::hovered + + This property indicates whether the control is being hovered. + */ + readonly property alias hovered: mouseArea.containsMouse + + /*! + This property is \c true if the control is checked. + */ + property bool checked: false + Accessible.checked: checked + Accessible.checkable: true + + /*! + This property is \c true if the control takes the focus when it is + pressed; \l{QQuickItem::forceActiveFocus()}{forceActiveFocus()} will be + called on the control. + */ + property bool activeFocusOnPress: false + + /*! + This property stores the ExclusiveGroup that the control belongs to. + */ + property ExclusiveGroup exclusiveGroup: null + + /*! + This property holds the text that the label should display. + */ + property string text + + /*! + This property holds the button tooltip. + + \since QtQuick.Controls 1.7 + */ + property string tooltip + Accessible.description: tooltip + + /*! \internal */ + property var __cycleStatesHandler: cycleRadioButtonStates + + activeFocusOnTab: true + + MouseArea { + id: mouseArea + focus: true + anchors.fill: parent + hoverEnabled: Settings.hoverEnabled + enabled: !keyPressed + + property bool keyPressed: false + property bool effectivePressed: pressed && containsMouse || keyPressed + + onClicked: abstractCheckable.clicked(); + + onPressed: if (activeFocusOnPress) forceActiveFocus(); + + onExited: Tooltip.hideText() + onCanceled: Tooltip.hideText() + + onReleased: { + if (containsMouse && (!exclusiveGroup || !checked)) + __cycleStatesHandler(); + } + + Timer { + interval: 1000 + running: mouseArea.containsMouse && !pressed && tooltip.length && mouseArea.Window.visibility !== Window.Hidden + onTriggered: Tooltip.showText(mouseArea, Qt.point(mouseArea.mouseX, mouseArea.mouseY), tooltip) + } + } + + /*! \internal */ + onExclusiveGroupChanged: { + if (exclusiveGroup) + exclusiveGroup.bindCheckable(abstractCheckable) + } + + Keys.onPressed: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat && !mouseArea.pressed) + mouseArea.keyPressed = true; + } + + Keys.onReleased: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat && mouseArea.keyPressed) { + mouseArea.keyPressed = false; + if (!exclusiveGroup || !checked) + __cycleStatesHandler(); + clicked(); + } + } + + Action { + // handle mnemonic + text: abstractCheckable.text + onTriggered: { + if (!abstractCheckable.exclusiveGroup || !abstractCheckable.checked) + abstractCheckable.__cycleStatesHandler(); + abstractCheckable.clicked(); + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/AbstractCheckable.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/AbstractCheckable.qmlc new file mode 100644 index 00000000..2f984afd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/AbstractCheckable.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicButton.qml new file mode 100644 index 00000000..d5c5d28f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicButton.qml @@ -0,0 +1,241 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.1 +import QtQuick.Window 2.2 + +/*! + \qmltype BasicButton + \internal + \qmlabstract + \inqmlmodule QtQuick.Controls.Private +*/ + +Control { + id: button + + /*! This signal is emitted when the button is clicked. */ + signal clicked + + /*! \qmlproperty bool BasicButton::pressed + + This property holds whether the button is being pressed. */ + readonly property alias pressed: button.__effectivePressed + + /*! \qmlproperty bool BasicButton::hovered + + This property indicates whether the control is being hovered. + */ + readonly property alias hovered: behavior.containsMouse + + /*! This property holds whether the button is checkable. + + The default value is \c false. */ + property bool checkable: false + Accessible.checkable: checkable + + /*! This property holds whether the button is checked. + + Only checkable buttons can be checked. + + The default value is \c false. */ + property bool checked: false + Accessible.checked: checked + + /*! This property holds the ExclusiveGroup that the button belongs to. + + The default value is \c null. */ + property ExclusiveGroup exclusiveGroup: null + + /*! This property holds the associated button action. + + If a button has an action associated, the action defines the + button's properties like checked, text, tooltip etc. + + When an action is set, it's still possible to override the \l text, + \l tooltip, \l iconSource, and \l iconName properties. + + The default value is \c null. */ + property Action action: null + + /*! This property specifies whether the button should gain active focus when pressed. + + The default value is \c false. */ + property bool activeFocusOnPress: false + + /*! This property holds the text shown on the button. If the button has no + text, the \l text property will be an empty string. + + The default value is the empty string. + */ + property string text: action ? action.text : "" + + /*! This property holds the button tooltip. */ + property string tooltip: action ? (action.tooltip || StyleHelpers.removeMnemonics(action.text)) : "" + + /*! This property holds the icon shown on the button. If the button has no + icon, the iconSource property will be an empty string. + + The default value is the empty string. + */ + property url iconSource: action ? action.iconSource : "" + + /*! The image label source as theme name. + When an icon from the platform icon theme is found, this takes + precedence over iconSource. + + \include icons.qdocinc iconName + */ + property string iconName: action ? action.iconName : "" + + /*! \internal */ + property string __position: "only" + /*! \internal */ + readonly property bool __iconOverriden: button.action && (button.action.iconSource !== button.iconSource || button.action.iconName !== button.iconName) + /*! \internal */ + property Action __action: action || ownAction + /*! \internal */ + readonly property Action __iconAction: __iconOverriden ? ownAction : __action + + /*! \internal */ + onExclusiveGroupChanged: { + if (exclusiveGroup) + exclusiveGroup.bindCheckable(button) + } + + Accessible.role: Accessible.Button + Accessible.description: tooltip + + /*! \internal */ + function accessiblePressAction() { + __action.trigger(button) + } + + Action { + id: ownAction + enabled: button.enabled + iconSource: !button.action || __iconOverriden ? button.iconSource : "" + iconName: !button.action || __iconOverriden ? button.iconName : "" + + // let ownAction handle mnemonic if and only if the button does + // not already have an action assigned to avoid ambiguous shortcuts + text: button.action ? "" : button.text + } + + Connections { + target: __action + function onTriggered() { button.clicked() } + } + + activeFocusOnTab: true + + Keys.onPressed: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat && !behavior.pressed) { + behavior.keyPressed = true; + event.accepted = true; + } + } + + onFocusChanged: if (!focus) behavior.keyPressed = false + + Keys.onReleased: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat && behavior.keyPressed) { + behavior.keyPressed = false; + __action.trigger(button) + behavior.toggle() + event.accepted = true; + } + } + + MouseArea { + id: behavior + property bool keyPressed: false + property bool effectivePressed: pressed && containsMouse || keyPressed + + anchors.fill: parent + hoverEnabled: Settings.hoverEnabled + enabled: !keyPressed + + function toggle() { + if (button.checkable && !button.action && !(button.checked && button.exclusiveGroup)) + button.checked = !button.checked + } + + onReleased: { + if (containsMouse) { + toggle() + __action.trigger(button) + } + } + onExited: Tooltip.hideText() + onCanceled: Tooltip.hideText() + onPressed: { + if (activeFocusOnPress) + button.forceActiveFocus() + } + + Timer { + interval: 1000 + running: behavior.containsMouse && !pressed && tooltip.length && behavior.Window.visibility !== Window.Hidden + onTriggered: Tooltip.showText(behavior, Qt.point(behavior.mouseX, behavior.mouseY), tooltip) + } + } + + /*! \internal */ + property var __behavior: behavior + + /*! \internal */ + property bool __effectivePressed: behavior.effectivePressed + + states: [ + State { + name: "boundAction" + when: action !== null + PropertyChanges { + target: button + enabled: action.enabled + checkable: action.checkable + checked: action.checked + } + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicButton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicButton.qmlc new file mode 100644 index 00000000..b463219e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicButton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicTableView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicTableView.qml new file mode 100644 index 00000000..cd6114a1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicTableView.qml @@ -0,0 +1,792 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +import QtQml 2.14 as Qml +import QtQuick 2.6 +import QtQuick.Controls 1.5 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.2 +import QtQuick.Window 2.2 + +/*! + \qmltype BasicTableView + \qmlabstract + \inqmlmodule QtQuick.Controls.Private +*/ + +ScrollView { + id: root + + /*! \qmlproperty bool BasicTableView::alternatingRowColors + + This property is set to \c true if the view alternates the row color. + The default value is \c true. + */ + property bool alternatingRowColors: true + + /*! \qmlproperty bool BasicTableView::headerVisible + + This property determines if the header is visible. + The default value is \c true. + */ + property bool headerVisible: true + + /*! \qmlproperty bool BasicTableView::backgroundVisible + + This property determines if the background should be filled or not. + + The default value is \c true. + + \note The rowDelegate is not affected by this property + */ + property alias backgroundVisible: colorRect.visible + + /*! \qmlproperty Component BasicTableView::itemDelegate + \internal + + Documentation differs between TableView and TreeView. + See qtquickcontrols-treeview.qdoc and qtquickcontrols-tableview.qdoc + */ + property Component itemDelegate: __style ? __style.itemDelegate : null + + /*! \qmlproperty Component BasicTableView::rowDelegate + + This property defines a delegate to draw a row. + + In the row delegate you have access to the following special properties: + \list + \li styleData.alternate - true when the row uses the alternate background color + \li styleData.selected - true when the row is currently selected + \li styleData.row - the index of the row + \li styleData.hasActiveFocus - true when the row has focus (since QtQuick.Controls 1.3) + \li styleData.pressed - true when the row is pressed (since QtQuick.Controls 1.3) + \endlist + + \note For performance reasons, created delegates can be recycled + across multiple table rows. This implies that when you make use of implicit + properties such as \c styleData.row or \c model, these values can change + after the delegate has been constructed. This means that you should not assume + that content is fixed when \c Component.onCompleted is called, but instead rely on + bindings to such properties. + */ + property Component rowDelegate: __style ? __style.rowDelegate : null + + /*! \qmlproperty Component BasicTableView::headerDelegate + + This property defines a delegate to draw a header. + + In the header delegate you have access to the following special properties: + \list + \li styleData.value - the value or text for this item + \li styleData.column - the index of the column + \li styleData.pressed - true when the column is being pressed + \li styleData.containsMouse - true when the column is under the mouse + \li styleData.textAlignment - the horizontal text alignment of the column (since QtQuickControls 1.1) + \endlist + */ + property Component headerDelegate: __style ? __style.headerDelegate : null + + /*! \qmlproperty int BasicTableView::sortIndicatorColumn + + Index of the current sort column. + The default value is \c {0}. + */ + property int sortIndicatorColumn + + /*! \qmlproperty bool BasicTableView::sortIndicatorVisible + + This property shows or hides the sort indicator + The default value is \c false. + \note The view itself does not sort the data. + */ + property bool sortIndicatorVisible: false + + /*! \qmlproperty enumeration BasicTableView::sortIndicatorOrder + + This sets the sorting order of the sort indicator + The allowed values are: + \list + \li Qt.AscendingOrder - the default + \li Qt.DescendingOrder + \endlist + */ + property int sortIndicatorOrder: Qt.AscendingOrder + + /*! \qmlproperty Component BasicTableView::contentHeader + This is the content header of the view. + */ + property alias contentHeader: listView.header + + /*! \qmlproperty Component BasicTableView::contentFooter + This is the content footer of the view. + */ + property alias contentFooter: listView.footer + + /*! \qmlproperty int BasicTableView::columnCount + The current number of columns + */ + readonly property alias columnCount: columnModel.count + + /*! \qmlpropertygroup BasicTableView::section + \internal + \qmlproperty string BasicTableView::section.property + \qmlproperty enumeration BasicTableView::section.criteria + \qmlproperty Component BasicTableView::section.delegate + \qmlproperty enumeration BasicTableView::section.labelPositioning + + Moved to the qdoc files to keep the grouped property layout. + See qtquickcontrols-treeview.qdoc and qtquickcontrols-tableview.qdoc + */ + property alias section: listView.section + + /*! + \qmlproperty enumeration BasicTableView::selectionMode + \since QtQuick.Controls 1.1 + + This enum indicates how the view responds to user selections: + + The possible modes are: + + \list + + \li SelectionMode.NoSelection - Items cannot be selected. + + \li SelectionMode.SingleSelection - When the user selects an item, + any already-selected item becomes unselected, and the user cannot + unselect the selected item. (Default) + + \li SelectionMode.MultiSelection - When the user selects an item in the usual way, + the selection status of that item is toggled and the other items are left alone. + + \li SelectionMode.ExtendedSelection - When the user selects an item in the usual way, + the selection is cleared and the new item selected. However, if the user presses the + Ctrl key when clicking on an item, the clicked item gets toggled and all other items + are left untouched. If the user presses the Shift key while clicking + on an item, all items between the current item and the clicked item are selected or unselected, + depending on the state of the clicked item. Multiple items can be selected by dragging the + mouse over them. + + \li SelectionMode.ContiguousSelection - When the user selects an item in the usual way, + the selection is cleared and the new item selected. However, if the user presses the Shift key while + clicking on an item, all items between the current item and the clicked item are selected. + + \endlist + */ + property int selectionMode: SelectionMode.SingleSelection + + /*! + \qmlmethod TableViewColumn BasicTableView::addColumn(object column) + + Adds a \a column and returns the added column. + + The \a column argument can be an instance of TableViewColumn, + or a Component. The component has to contain a TableViewColumn. + Otherwise \c null is returned. + */ + function addColumn(column) { + return insertColumn(columnCount, column) + } + + /*! + \qmlmethod TableViewColumn BasicTableView::insertColumn(int index, object column) + + Inserts a \a column at the given \a index and returns the inserted column. + + The \a column argument can be an instance of TableViewColumn, + or a Component. The component has to contain a TableViewColumn. + Otherwise \c null is returned. + */ + function insertColumn(index, column) { + if (__isTreeView && index === 0 && columnCount > 0) { + console.warn(__viewTypeName + "::insertColumn(): Can't replace column 0") + return null + } + var object = column + if (typeof column['createObject'] === 'function') { + object = column.createObject(root) + } else if (object.__view) { + console.warn(__viewTypeName + "::insertColumn(): you cannot add a column to multiple views") + return null + } + if (index >= 0 && index <= columnCount && object.accessibleRole === Accessible.ColumnHeader) { + object.__view = root + columnModel.insert(index, {columnItem: object}) + if (root.__columns[index] !== object) { + // The new column needs to be put into __columns at the specified index + // so the list needs to be recreated to be correct + var arr = [] + for (var i = 0; i < index; ++i) + arr.push(root.__columns[i]) + arr.push(object) + for (i = index; i < root.__columns.length; ++i) + arr.push(root.__columns[i]) + root.__columns = arr + } + return object + } + + if (object !== column) + object.destroy() + console.warn(__viewTypeName + "::insertColumn(): invalid argument") + return null + } + + /*! + \qmlmethod void BasicTableView::removeColumn(int index) + + Removes and destroys a column at the given \a index. + */ + function removeColumn(index) { + if (index < 0 || index >= columnCount) { + console.warn(__viewTypeName + "::removeColumn(): invalid argument") + return + } + if (__isTreeView && index === 0) { + console.warn(__viewTypeName + "::removeColumn(): Can't remove column 0") + return + } + var column = columnModel.get(index).columnItem + columnModel.remove(index, 1) + column.destroy() + } + + /*! + \qmlmethod void BasicTableView::moveColumn(int from, int to) + + Moves a column \a from index \a to another. + */ + function moveColumn(from, to) { + if (from < 0 || from >= columnCount || to < 0 || to >= columnCount) { + console.warn(__viewTypeName + "::moveColumn(): invalid argument") + return + } + if (__isTreeView && to === 0) { + console.warn(__viewTypeName + "::moveColumn(): Can't move column 0") + return + } + if (sortIndicatorColumn === from) + sortIndicatorColumn = to + columnModel.move(from, to, 1) + } + + /*! + \qmlmethod TableViewColumn BasicTableView::getColumn(int index) + + Returns the column at the given \a index + or \c null if the \a index is invalid. + */ + function getColumn(index) { + if (index < 0 || index >= columnCount) + return null + return columnModel.get(index).columnItem + } + + /*! + \qmlmethod void BasicTableView::resizeColumnsToContents() + + Resizes all columns to ensure that the column contents and the headers will fit. + \since QtQuick.Controls 1.2 + */ + function resizeColumnsToContents () { + for (var i = 0; i < __columns.length; ++i) { + var col = getColumn(i) + var header = __listView.headerItem.headerRepeater.itemAt(i) + if (col) { + col.resizeToContents() + if (col.width < header.implicitWidth) + col.width = header.implicitWidth + } + } + } + + // Internal stuff. Do not look + + Component.onCompleted: { + for (var i = 0; i < __columns.length; ++i) { + var column = __columns[i] + if (column.accessibleRole === Accessible.ColumnHeader) + addColumn(column) + } + } + + activeFocusOnTab: true + + implicitWidth: 200 + implicitHeight: 150 + + frameVisible: true + __scrollBarTopMargin: headerVisible && (listView.transientScrollBars || Qt.platform.os === "osx") + ? listView.headerItem.height : 0 + + /*! \internal + Use this to display user-friendly messages in TableView and TreeView common functions. + */ + property string __viewTypeName + + /*! \internal */ + readonly property bool __isTreeView: __viewTypeName === "TreeView" + + /*! \internal */ + default property alias __columns: root.data + + /*! \internal */ + property alias __currentRowItem: listView.currentItem + + /*! \internal + This property is forwarded to TableView::currentRow, but not to any TreeView property. + */ + property alias __currentRow: listView.currentIndex + + /*! \internal */ + readonly property alias __listView: listView + + /*! \internal */ + property Component __itemDelegateLoader: null + + /*! \internal + Allows to override the model property in cases like TreeView, + where we want to use a proxy/adaptor model between the user's model + and whatever a ListView can swallow. + */ + property var __model + + /*! \internal */ + property bool __activateItemOnSingleClick: __style ? __style.activateItemOnSingleClick : false + + /*! \internal */ + property Item __mouseArea + + ListView { + id: listView + focus: true + activeFocusOnTab: false + Keys.forwardTo: [__mouseArea] + anchors.fill: parent + contentWidth: headerItem.headerRow.width + listView.vScrollbarPadding + // ### FIXME Late configuration of the header item requires + // this binding to get the header visible after creation + contentY: -headerItem.height + + currentIndex: -1 + visible: columnCount > 0 + interactive: Settings.hasTouchScreen + property var rowItemStack: [] // Used as a cache for rowDelegates + + readonly property bool transientScrollBars: __style && !!__style.transientScrollBars + readonly property real vScrollbarPadding: __scroller.verticalScrollBar.visible + && !transientScrollBars && Qt.platform.os === "osx" ? + __verticalScrollBar.width + __scroller.scrollBarSpacing + root.__style.padding.right : 0 + + Qml.Binding { + // On Mac, we reserve the vSB space in the contentItem because the vSB should + // appear under the header. Unfortunately, the ListView header won't expand + // beyond the ListView's boundaries, that's why we need to ressort to this. + target: root.__scroller + when: Qt.platform.os === "osx" + property: "verticalScrollbarOffset" + value: 0 + restoreMode: Binding.RestoreBinding + } + + function incrementCurrentIndexBlocking() { + var oldIndex = __listView.currentIndex + __scroller.blockUpdates = true; + incrementCurrentIndex(); + __scroller.blockUpdates = false; + return oldIndex !== __listView.currentIndex + } + + function decrementCurrentIndexBlocking() { + var oldIndex = __listView.currentIndex + __scroller.blockUpdates = true; + decrementCurrentIndex(); + __scroller.blockUpdates = false; + return oldIndex !== __listView.currentIndex + } + + function scrollIfNeeded(key) { + var diff = key === Qt.Key_PageDown ? height : + key === Qt.Key_PageUp ? -height : 0 + if (diff !== 0) + __verticalScrollBar.value += diff + } + + SystemPalette { + id: palette + colorGroup: enabled ? SystemPalette.Active : SystemPalette.Disabled + } + + Rectangle { + id: colorRect + parent: viewport + anchors.fill: parent + color: __style ? __style.backgroundColor : palette.base + z: -2 + } + + // Fills extra rows with alternate color + Column { + id: rowfiller + Loader { + id: rowSizeItem + sourceComponent: root.rowDelegate + visible: false + property QtObject styleData: QtObject { + property bool alternate: false + property bool selected: false + property bool hasActiveFocus: false + property bool pressed: false + } + } + property int rowHeight: Math.floor(rowSizeItem.implicitHeight) + property int paddedRowCount: rowHeight != 0 ? height/rowHeight : 0 + + y: listView.contentHeight - listView.contentY + listView.originY + width: parent.width + visible: alternatingRowColors + height: listView.model && listView.model.count ? (viewport.height - listView.contentHeight) : 0 + Repeater { + model: visible ? parent.paddedRowCount : 0 + Loader { + width: rowfiller.width + height: rowfiller.rowHeight + sourceComponent: root.rowDelegate + property QtObject styleData: QtObject { + readonly property bool alternate: (index + __listView.count) % 2 === 1 + readonly property bool selected: false + readonly property bool hasActiveFocus: false + readonly property bool pressed: false + } + readonly property var model: null + readonly property var modelData: null + } + } + } + + ListModel { + id: columnModel + } + + highlightFollowsCurrentItem: true + model: root.__model + + delegate: FocusScope { + id: rowItemContainer + + activeFocusOnTab: false + z: rowItem.activeFocus ? 0.7 : rowItem.itemSelected ? 0.5 : 0 + + property Item rowItem + // We recycle instantiated row items to speed up list scrolling + + Component.onDestruction: { + // move the rowItem back in cache + if (rowItem) { + rowItem.visible = false; + rowItem.parent = null; + rowItem.rowIndex = -1; + listView.rowItemStack.push(rowItem); // return rowItem to cache + } + } + + Component.onCompleted: { + // retrieve row item from cache + if (listView.rowItemStack.length > 0) + rowItem = listView.rowItemStack.pop(); + else + rowItem = rowComponent.createObject(listView); + + // Bind container to item size + rowItemContainer.width = Qt.binding( function() { return rowItem.width }); + rowItemContainer.height = Qt.binding( function() { return rowItem.height }); + + // Reassign row-specific bindings + rowItem.rowIndex = Qt.binding( function() { return model.index }); + rowItem.itemModelData = Qt.binding( function() { return typeof modelData === "undefined" ? null : modelData }); + rowItem.itemModel = Qt.binding( function() { return model }); + rowItem.parent = rowItemContainer; + rowItem.visible = true; + } + } + + Component { + id: rowComponent + + FocusScope { + id: rowitem + visible: false + + property int rowIndex + property var itemModelData + property var itemModel + property bool itemSelected: __mouseArea.selected(rowIndex) + property bool alternate: alternatingRowColors && rowIndex % 2 === 1 + readonly property color itemTextColor: itemSelected ? __style.highlightedTextColor : __style.textColor + property Item branchDecoration: null + + width: itemrow.width + height: rowstyle.height + + onActiveFocusChanged: { + if (activeFocus) + listView.currentIndex = rowIndex + } + + Loader { + id: rowstyle + // row delegate + sourceComponent: rowitem.itemModel !== undefined ? root.rowDelegate : null + // Row fills the view width regardless of item size + // But scrollbar should not adjust to it + height: item ? item.height : 16 + width: parent.width + __horizontalScrollBar.width + x: listView.contentX + + // these properties are exposed to the row delegate + // Note: these properties should be mirrored in the row filler as well + property QtObject styleData: QtObject { + readonly property int row: rowitem.rowIndex + readonly property bool alternate: rowitem.alternate + readonly property bool selected: rowitem.itemSelected + readonly property bool hasActiveFocus: rowitem.activeFocus + readonly property bool pressed: rowitem.rowIndex === __mouseArea.pressedRow + } + readonly property var model: rowitem.itemModel + readonly property var modelData: rowitem.itemModelData + } + Row { + id: itemrow + height: parent.height + Repeater { + model: columnModel + + delegate: __itemDelegateLoader + + onItemAdded: { + var columnItem = columnModel.get(index).columnItem + item.__rowItem = rowitem + item.__column = columnItem + } + } + } + } + } + + headerPositioning: ListView.OverlayHeader + header: Item { + id: tableHeader + visible: headerVisible + width: Math.max(headerRow.width + listView.vScrollbarPadding, root.viewport.width) + height: visible ? headerRow.height : 0 + + property alias headerRow: row + property alias headerRepeater: repeater + Row { + id: row + + Repeater { + id: repeater + + property int targetIndex: -1 + property int dragIndex: -1 + + model: columnModel + + delegate: Item { + id: headerRowDelegate + readonly property int column: index + z:-index + width: modelData.width + implicitWidth: columnCount === 1 ? viewport.width + __verticalScrollBar.width : headerStyle.implicitWidth + visible: modelData.visible + height: headerStyle.height + + readonly property bool treeViewMovable: !__isTreeView || index > 0 + + Loader { + id: headerStyle + sourceComponent: root.headerDelegate + width: parent.width + property QtObject styleData: QtObject { + readonly property string value: modelData.title + readonly property bool pressed: headerClickArea.pressed + readonly property bool containsMouse: headerClickArea.containsMouse + readonly property int column: index + readonly property int textAlignment: modelData.horizontalAlignment + readonly property bool resizable: modelData.resizable + } + } + + Rectangle{ + id: targetmark + width: parent.width + height:parent.height + opacity: (treeViewMovable && index === repeater.targetIndex && repeater.targetIndex !== repeater.dragIndex) ? 0.5 : 0 + Behavior on opacity { NumberAnimation { duration: 160 } } + color: palette.highlight + visible: modelData.movable + } + + MouseArea{ + id: headerClickArea + drag.axis: Qt.YAxis + hoverEnabled: Settings.hoverEnabled + anchors.fill: parent + onClicked: { + if (sortIndicatorColumn === index) + sortIndicatorOrder = sortIndicatorOrder === Qt.AscendingOrder ? Qt.DescendingOrder : Qt.AscendingOrder + sortIndicatorColumn = index + } + // Here we handle moving header sections + // NOTE: the direction is different from the master branch + // so this indicates that I am using an invalid assumption on item ordering + onPositionChanged: { + if (drag.active && modelData.movable && pressed && columnCount > 1) { // only do this while dragging + for (var h = columnCount-1 ; h >= 0 ; --h) { + if (headerRow.children[h].visible && drag.target.x + headerRowDelegate.width/2 > headerRow.children[h].x) { + repeater.targetIndex = h + break + } + } + } + } + + onPressed: { + repeater.dragIndex = index + } + + onReleased: { + if (repeater.targetIndex >= 0 && repeater.targetIndex !== index ) { + var targetColumn = columnModel.get(repeater.targetIndex).columnItem + if (targetColumn.movable && (!__isTreeView || repeater.targetIndex > 0)) { + if (sortIndicatorColumn === index) + sortIndicatorColumn = repeater.targetIndex + columnModel.move(index, repeater.targetIndex, 1) + } + } + repeater.targetIndex = -1 + repeater.dragIndex = -1 + } + drag.target: treeViewMovable && modelData.movable && columnCount > 1 ? draghandle : null + } + + Loader { + id: draghandle + property QtObject styleData: QtObject{ + readonly property string value: modelData.title + readonly property bool pressed: headerClickArea.pressed + readonly property bool containsMouse: headerClickArea.containsMouse + readonly property int column: index + readonly property int textAlignment: modelData.horizontalAlignment + } + parent: tableHeader + x: __implicitX + property double __implicitX: headerRowDelegate.x + width: modelData.width + height: parent.height + sourceComponent: root.headerDelegate + visible: headerClickArea.pressed + onVisibleChanged: { + if (!visible) + x = Qt.binding(function () { return __implicitX }) + } + opacity: 0.5 + } + + + MouseArea { + id: headerResizeHandle + property int offset: 0 + readonly property int minimumSize: 20 + preventStealing: true + anchors.rightMargin: -width/2 + width: Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : 16 + height: parent.height + anchors.right: parent.right + enabled: modelData.resizable && columnCount > 0 + onPositionChanged: { + var newHeaderWidth = modelData.width + (mouseX - offset) + modelData.width = Math.max(minimumSize, newHeaderWidth) + } + + onDoubleClicked: getColumn(index).resizeToContents() + onPressedChanged: if (pressed) offset=mouseX + cursorShape: enabled && repeater.dragIndex==-1 ? Qt.SplitHCursor : Qt.ArrowCursor + } + } + } + } + + Loader { + property QtObject styleData: QtObject{ + readonly property string value: "" + readonly property bool pressed: false + readonly property bool containsMouse: false + readonly property int column: -1 + readonly property int textAlignment: Text.AlignLeft + } + + anchors.top: parent.top + anchors.right: parent.right + anchors.bottom: headerRow.bottom + sourceComponent: root.headerDelegate + readonly property real __remainingWidth: parent.width - headerRow.width + visible: __remainingWidth > 0 + width: __remainingWidth + z:-1 + } + } + + function columnAt(offset) { + var item = listView.headerItem.headerRow.childAt(offset, 0) + return item ? item.column : -1 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicTableView.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicTableView.qmlc new file mode 100644 index 00000000..4367a364 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicTableView.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarHeaderModel.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarHeaderModel.qml new file mode 100644 index 00000000..40328a8b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarHeaderModel.qml @@ -0,0 +1,109 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +/* + CalendarHeaderModel contains a list of the days of a week, + according to a \l locale. The \l locale affects which day of the week + is first in the model. + + The only role provided by the model is \c dayOfWeek, which is one of the + following JavaScript values: + + \list + \li \c Locale.Sunday + \li \c Locale.Monday + \li \c Locale.Tuesday + \li \c Locale.Wednesday + \li \c Locale.Thursday + \li \c Locale.Friday + \li \c Locale.Saturday + \endlist + */ + +ListModel { + id: root + + /* + The locale that this model should be based on. + This affects which day of the week is first in the model. + */ + property var locale + + ListElement { + dayOfWeek: Locale.Sunday + } + ListElement { + dayOfWeek: Locale.Monday + } + ListElement { + dayOfWeek: Locale.Tuesday + } + ListElement { + dayOfWeek: Locale.Wednesday + } + ListElement { + dayOfWeek: Locale.Thursday + } + ListElement { + dayOfWeek: Locale.Friday + } + ListElement { + dayOfWeek: Locale.Saturday + } + + Component.onCompleted: updateFirstDayOfWeek() + onLocaleChanged: updateFirstDayOfWeek() + + function updateFirstDayOfWeek() { + var daysOfWeek = [Locale.Sunday, Locale.Monday, Locale.Tuesday, + Locale.Wednesday, Locale.Thursday, Locale.Friday, Locale.Saturday]; + var firstDayOfWeek = root.locale.firstDayOfWeek; + + var shifted = daysOfWeek.splice(firstDayOfWeek, daysOfWeek.length - firstDayOfWeek); + daysOfWeek = shifted.concat(daysOfWeek) + + if (firstDayOfWeek !== root.get(0).dayOfWeek) { + for (var i = 0; i < daysOfWeek.length; ++i) { + root.setProperty(i, "dayOfWeek", daysOfWeek[i]); + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarHeaderModel.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarHeaderModel.qmlc new file mode 100644 index 00000000..dba05b5c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarHeaderModel.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarUtils.js b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarUtils.js new file mode 100644 index 00000000..9a93d8da --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarUtils.js @@ -0,0 +1,137 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +.pragma library + +var daysInAWeek = 7; +var monthsInAYear = 12; + +// Not the number of weeks per month, but the number of weeks that are +// shown on a typical calendar. +var weeksOnACalendarMonth = 6; + +// Can't create year 1 directly... +var minimumCalendarDate = new Date(-1, 0, 1); +minimumCalendarDate.setFullYear(minimumCalendarDate.getFullYear() + 2); +var maximumCalendarDate = new Date(275759, 9, 25); + +function daysInMonth(date) { + // Passing 0 as the day will give us the previous month, which will be + // date.getMonth() since we added 1 to it. + return new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate(); +} + +/*! + Returns a copy of \a date with its month set to \a month, keeping the same + day if possible. Does not modify \a date. +*/ +function setMonth(date, month) { + var oldDay = date.getDate(); + var newDate = new Date(date); + // Set the day first, because setting the month could cause it to skip ahead + // a month if the day is larger than the latest day in that month. + newDate.setDate(1); + newDate.setMonth(month); + // We'd like to have the previous day still selected when we change + // months, but it might not be possible, so use the smallest of the two. + newDate.setDate(Math.min(oldDay, daysInMonth(newDate))); + return newDate; +} + +/*! + Returns the cell rectangle for the cell at the given \a index, assuming + that the grid has a number of columns equal to \a columns and rows + equal to \a rows, with an available width of \a availableWidth and height + of \a availableHeight. + + If \a gridLineWidth is greater than \c 0, the cell rectangle will be + calculated under the assumption that there is a grid between the cells: + + 31 | 1 | 2 | 3 | 4 | 5 | 6 + -------------------------------- + 7 | 8 | 9 | 10 | 11 | 12 | 13 + -------------------------------- + 14 | 15 | 16 | 17 | 18 | 19 | 20 + -------------------------------- + 21 | 22 | 23 | 24 | 25 | 26 | 27 + -------------------------------- + 28 | 29 | 30 | 31 | 1 | 2 | 3 + -------------------------------- + 4 | 5 | 6 | 7 | 8 | 9 | 10 +*/ +function cellRectAt(index, columns, rows, availableWidth, availableHeight, gridLineWidth) { + var col = Math.floor(index % columns); + var row = Math.floor(index / columns); + + var availableWidthMinusGridLines = availableWidth - ((columns - 1) * gridLineWidth); + var availableHeightMinusGridLines = availableHeight - ((rows - 1) * gridLineWidth); + var remainingHorizontalSpace = Math.floor(availableWidthMinusGridLines % columns); + var remainingVerticalSpace = Math.floor(availableHeightMinusGridLines % rows); + var baseCellWidth = Math.floor(availableWidthMinusGridLines / columns); + var baseCellHeight = Math.floor(availableHeightMinusGridLines / rows); + + var rect = Qt.rect(0, 0, 0, 0); + + rect.x = baseCellWidth * col; + rect.width = baseCellWidth; + if (remainingHorizontalSpace > 0) { + if (col < remainingHorizontalSpace) { + ++rect.width; + } + + // This cell's x position should be increased by 1 for every column above it. + rect.x += Math.min(remainingHorizontalSpace, col); + } + + rect.y = baseCellHeight * row; + rect.height = baseCellHeight; + if (remainingVerticalSpace > 0) { + if (row < remainingVerticalSpace) { + ++rect.height; + } + + // This cell's y position should be increased by 1 for every row above it. + rect.y += Math.min(remainingVerticalSpace, row); + } + + rect.x += col * gridLineWidth; + rect.y += row * gridLineWidth; + + return rect; +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarUtils.jsc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarUtils.jsc new file mode 100644 index 00000000..2b0e7a92 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarUtils.jsc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ColumnMenuContent.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ColumnMenuContent.qml new file mode 100644 index 00000000..5f8b4d68 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ColumnMenuContent.qml @@ -0,0 +1,252 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Item { + id: content + + property Component menuItemDelegate + property Component scrollIndicatorStyle + property Component scrollerStyle + property var itemsModel + property int minWidth: 100 + property real maxHeight: 800 + readonly property bool mousePressed: hoverArea.pressed + + signal triggered(var item) + + function menuItemAt(index) { + list.currentIndex = index + return list.currentItem + } + + width: Math.max(list.contentWidth, minWidth) + height: Math.min(list.contentHeight, fittedMaxHeight) + + readonly property int currentIndex: __menu.__currentIndex + property Item currentItem: null + property int itemHeight: 23 + + Component.onCompleted: { + var children = list.contentItem.children + for (var i = 0; i < list.count; i++) { + var child = children[i] + if (child.visible && child.styleData.type === MenuItemType.Item) { + itemHeight = children[i].height + break + } + } + } + + readonly property int fittingItems: Math.floor((maxHeight - downScroller.height) / itemHeight) + readonly property real fittedMaxHeight: itemHeight * fittingItems + downScroller.height + readonly property bool shouldUseScrollers: scrollView.style === emptyScrollerStyle && itemsModel.length > fittingItems + readonly property real upScrollerHeight: upScroller.visible ? upScroller.height : 0 + readonly property real downScrollerHeight: downScroller.visible ? downScroller.height : 0 + property var oldMousePos: undefined + property var openedSubmenu: null + + function updateCurrentItem(mouse) { + var pos = mapToItem(list.contentItem, mouse.x, mouse.y) + var dx = 0 + var dy = 0 + var dist = 0 + if (openedSubmenu && oldMousePos !== undefined) { + dx = mouse.x - oldMousePos.x + dy = mouse.y - oldMousePos.y + dist = Math.sqrt(dx * dx + dy * dy) + } + oldMousePos = mouse + if (openedSubmenu && dist > 5) { + var menuRect = __menu.__popupGeometry + var submenuRect = openedSubmenu.__popupGeometry + var angle = Math.atan2(dy, dx) + var ds = 0 + if (submenuRect.x > menuRect.x) { + ds = menuRect.width - oldMousePos.x + } else { + angle = Math.PI - angle + ds = oldMousePos.x + } + var above = submenuRect.y - menuRect.y - oldMousePos.y + var below = submenuRect.height - above + var minAngle = Math.atan2(above, ds) + var maxAngle = Math.atan2(below, ds) + // This tests that the current mouse position is in + // the triangle defined by the previous mouse position + // and the submenu's top-left and bottom-left corners. + if (minAngle < angle && angle < maxAngle) { + sloppyTimer.start() + return + } + } + + if (!currentItem || !currentItem.contains(Qt.point(pos.x - currentItem.x, pos.y - currentItem.y))) { + if (currentItem && !hoverArea.pressed + && currentItem.styleData.type === MenuItemType.Menu) { + currentItem.__closeSubMenu() + openedSubmenu = null + } + currentItem = list.itemAt(pos.x, pos.y) + if (currentItem) { + __menu.__currentIndex = currentItem.__menuItemIndex + if (currentItem.styleData.type === MenuItemType.Menu) { + showCurrentItemSubMenu(false) + } + } else { + __menu.__currentIndex = -1 + } + } + } + + function showCurrentItemSubMenu(immediately) { + if (!currentItem.__menuItem.__popupVisible) { + currentItem.__showSubMenu(immediately) + openedSubmenu = currentItem.__menuItem + } + } + + Timer { + id: sloppyTimer + interval: 1000 + + // Stop timer as soon as we hover one of the submenu items + property int currentIndex: openedSubmenu ? openedSubmenu.__currentIndex : -1 + onCurrentIndexChanged: if (currentIndex !== -1) stop() + + onTriggered: { + if (openedSubmenu && openedSubmenu.__currentIndex === -1) + updateCurrentItem(oldMousePos) + } + } + + Component { + id: emptyScrollerStyle + Style { + padding { left: 0; right: 0; top: 0; bottom: 0 } + property bool scrollToClickedPosition: false + property Component frame: Item { visible: false } + property Component corner: Item { visible: false } + property Component __scrollbar: Item { visible: false } + } + } + + ScrollView { + id: scrollView + anchors { + fill: parent + topMargin: upScrollerHeight + bottomMargin: downScrollerHeight + } + + style: scrollerStyle || emptyScrollerStyle + __wheelAreaScrollSpeed: itemHeight + + ListView { + id: list + model: itemsModel + delegate: menuItemDelegate + snapMode: ListView.SnapToItem + boundsBehavior: Flickable.StopAtBounds + highlightFollowsCurrentItem: true + highlightMoveDuration: 0 + } + } + + MouseArea { + id: hoverArea + anchors.left: scrollView.left + width: scrollView.width - scrollView.__verticalScrollBar.width + height: parent.height + + hoverEnabled: Settings.hoverEnabled + acceptedButtons: Qt.AllButtons + + onPositionChanged: updateCurrentItem({ "x": mouse.x, "y": mouse.y }) + onPressed: updateCurrentItem({ "x": mouse.x, "y": mouse.y }) + onReleased: { + if (currentItem && currentItem.__menuItem.enabled) { + if (currentItem.styleData.type === MenuItemType.Menu) { + showCurrentItemSubMenu(true) + } else { + content.triggered(currentItem) + } + } + } + onExited: { + if (currentItem && !currentItem.__menuItem.__popupVisible) { + currentItem = null + __menu.__currentIndex = -1 + } + } + + MenuContentScroller { + id: upScroller + direction: Qt.UpArrow + visible: shouldUseScrollers && !list.atYBeginning + function scrollABit() { list.contentY -= itemHeight } + } + + MenuContentScroller { + id: downScroller + direction: Qt.DownArrow + visible: shouldUseScrollers && !list.atYEnd + function scrollABit() { list.contentY += itemHeight } + } + } + + Timer { + interval: 1 + running: true + repeat: false + onTriggered: list.positionViewAtIndex(currentIndex, !scrollView.__style + ? ListView.Center : ListView.Beginning) + } + + Qml.Binding { + target: scrollView.__verticalScrollBar + property: "singleStep" + value: itemHeight + restoreMode: Binding.RestoreBinding + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ColumnMenuContent.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ColumnMenuContent.qmlc new file mode 100644 index 00000000..d5ada9cb Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ColumnMenuContent.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ContentItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ContentItem.qml new file mode 100644 index 00000000..2c5b3728 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ContentItem.qml @@ -0,0 +1,108 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Layouts 1.1 + +Item { + id: contentItem + property real minimumWidth: __calcMinimum('Width') + property real minimumHeight: __calcMinimum('Height') + property real maximumWidth: Number.POSITIVE_INFINITY + property real maximumHeight: Number.POSITIVE_INFINITY + implicitWidth: __calcImplicitWidth() + implicitHeight: __calcImplicitHeight() + + /*! \internal */ + property Item __layoutItem: contentItem.visibleChildren.length === 1 ? contentItem.visibleChildren[0] : null + /*! \internal */ + property real __marginsWidth: __layoutItem ? __layoutItem.anchors.leftMargin + __layoutItem.anchors.rightMargin : 0 + /*! \internal */ + property real __marginsHeight: __layoutItem ? __layoutItem.anchors.topMargin + __layoutItem.anchors.bottomMargin : 0 + + /*! \internal */ + property bool __noMinimumWidthGiven : false + /*! \internal */ + property bool __noMinimumHeightGiven : false + /*! \internal */ + property bool __noImplicitWidthGiven : false + /*! \internal */ + property bool __noImplicitHeightGiven : false + + function __calcImplicitWidth() { + if (__layoutItem && __layoutItem.anchors.fill) + return __calcImplicit('Width') + return contentItem.childrenRect.x + contentItem.childrenRect.width + } + + function __calcImplicitHeight() { + if (__layoutItem && __layoutItem.anchors.fill) + return __calcImplicit('Height') + return contentItem.childrenRect.y + contentItem.childrenRect.height + } + + function __calcImplicit(hw) { + var pref = __layoutItem.Layout['preferred' + hw] + if (pref < 0) { + pref = __layoutItem['implicit' + hw] + } + contentItem['__noImplicit' + hw + 'Given'] = (pref === 0 ? true : false) + pref += contentItem['__margins' + hw] + return pref + } + + function __calcMinimum(hw) { // hw is 'Width' or 'Height' + return (__layoutItem && __layoutItem.anchors.fill) ? __calcMinMax('minimum', hw) : 0 + } + + function __calcMaximum(hw) { // hw is 'Width' or 'Height' + return (__layoutItem && __layoutItem.anchors.fill) ? __calcMinMax('maximum', hw) : Number.POSITIVE_INFINITY + } + + function __calcMinMax(minMaxConstraint, hw) { + var attachedPropName = minMaxConstraint + hw + var extent = __layoutItem.Layout[attachedPropName] + + if (minMaxConstraint === 'minimum') + contentItem['__noMinimum' + hw + 'Given'] = (extent === 0 ? true : false) + + extent += contentItem['__margins' + hw] + return extent + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ContentItem.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ContentItem.qmlc new file mode 100644 index 00000000..d305adfd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ContentItem.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Control.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Control.qml new file mode 100644 index 00000000..182a1e99 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Control.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls.Styles 1.1 + +/*! + \qmltype Control + \internal + \qmlabstract + \inqmlmodule QtQuick.Controls.Private +*/ +FocusScope { + id: root + + /*! \qmlproperty Component Control::style + + The style Component for this control. + \sa {Qt Quick Controls Styles QML Types} + + */ + property Component style + + /*! \internal */ + property QtObject __style: styleLoader.item + + /*! \internal */ + property Item __panel: panelLoader.item + + /*! \internal */ + property var styleHints + + implicitWidth: __panel ? __panel.implicitWidth: 0 + implicitHeight: __panel ? __panel.implicitHeight: 0 + baselineOffset: __panel ? __panel.baselineOffset: 0 + activeFocusOnTab: false + + /*! \internal */ + property alias __styleData: styleLoader.styleData + + Loader { + id: styleLoader + sourceComponent: style + property Item __control: root + property QtObject styleData: null + onStatusChanged: { + if (status === Loader.Error) + console.error("Failed to load Style for", root) + } + } + + Loader { + id: panelLoader + anchors.fill: parent + sourceComponent: __style ? __style.panel : null + onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Control.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Control.qmlc new file mode 100644 index 00000000..38270477 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Control.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu.qml new file mode 100644 index 00000000..fde124ea --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu.qml @@ -0,0 +1,88 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Loader { + property Item control + property Item input + property Item cursorHandle + property Item selectionHandle + property Flickable flickable + property Component defaultMenu: item && item.defaultMenu ? item.defaultMenu : null + property QtObject menuInstance: null + property MouseArea mouseArea + property QtObject style: __style + + Connections { + target: control + function onMenuChanged() { + if (menuInstance !== null) { + menuInstance.destroy() + menuInstance = null + } + } + } + + function getMenuInstance() + { + // Lazy load menu when first requested + if (!menuInstance && control.menu) { + menuInstance = control.menu.createObject(input); + } + return menuInstance; + } + + function syncStyle() { + if (!style) + return; + + if (style.__editMenu) + sourceComponent = style.__editMenu; + else { + // todo: get ios/android/base menus from style as well + source = (Qt.resolvedUrl(Qt.platform.os === "ios" ? "" + : Qt.platform.os === "android" ? "" : "EditMenu_base.qml")); + } + } + onStyleChanged: syncStyle(); + Component.onCompleted: syncStyle(); +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu.qmlc new file mode 100644 index 00000000..e60c5cd6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu_base.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu_base.qml new file mode 100644 index 00000000..346eba2d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu_base.qml @@ -0,0 +1,173 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Item { + id: editMenuBase + anchors.fill: parent + + Component { + id: undoAction + Action { + text: qsTr("&Undo") + shortcut: StandardKey.Undo + iconName: "edit-undo" + enabled: input.canUndo + onTriggered: input.undo() + } + } + + Component { + id: redoAction + Action { + text: qsTr("&Redo") + shortcut: StandardKey.Redo + iconName: "edit-redo" + enabled: input.canRedo + onTriggered: input.redo() + } + } + + Component { + id: cutAction + Action { + text: qsTr("Cu&t") + shortcut: StandardKey.Cut + iconName: "edit-cut" + enabled: !input.readOnly && selectionStart !== selectionEnd + onTriggered: { + input.cut(); + input.select(input.cursorPosition, input.cursorPosition); + } + } + } + + Component { + id: copyAction + Action { + text: qsTr("&Copy") + shortcut: StandardKey.Copy + iconName: "edit-copy" + enabled: input.selectionStart !== input.selectionEnd + onTriggered: { + input.copy(); + input.select(input.cursorPosition, input.cursorPosition); + } + } + } + + Component { + id: pasteAction + Action { + text: qsTr("&Paste") + shortcut: StandardKey.Paste + iconName: "edit-paste" + enabled: input.canPaste + onTriggered: input.paste() + } + } + + Component { + id: deleteAction + Action { + text: qsTr("Delete") + shortcut: StandardKey.Delete + iconName: "edit-delete" + enabled: !input.readOnly && input.selectionStart !== input.selectionEnd + onTriggered: input.remove(input.selectionStart, input.selectionEnd) + } + } + + Component { + id: clearAction + Action { + text: qsTr("Clear") + shortcut: StandardKey.DeleteCompleteLine + iconName: "edit-clear" + enabled: !input.readOnly && input.length > 0 + onTriggered: input.remove(0, input.length) + } + } + + Component { + id: selectAllAction + Action { + text: qsTr("Select All") + shortcut: StandardKey.SelectAll + enabled: !(input.selectionStart === 0 && input.selectionEnd === input.length) + onTriggered: input.selectAll() + } + } + + property Component defaultMenu: Menu { + MenuItem { action: undoAction.createObject(editMenuBase) } + MenuItem { action: redoAction.createObject(editMenuBase) } + MenuSeparator {} + MenuItem { action: cutAction.createObject(editMenuBase) } + MenuItem { action: copyAction.createObject(editMenuBase) } + MenuItem { action: pasteAction.createObject(editMenuBase) } + MenuItem { action: deleteAction.createObject(editMenuBase) } + MenuItem { action: clearAction.createObject(editMenuBase) } + MenuSeparator {} + MenuItem { action: selectAllAction.createObject(editMenuBase) } + } + + Connections { + target: mouseArea + + function onClicked() { + if (input.selectionStart === input.selectionEnd) { + var cursorPos = input.positionAt(mouse.x, mouse.y) + input.moveHandles(cursorPos, cursorPos) + } + + input.activate() + + if (control.menu) { + var menu = getMenuInstance(); + menu.__dismissAndDestroy(); + var menuPos = mapToItem(null, mouse.x, mouse.y) + menu.__popup(Qt.rect(menuPos.x, menuPos.y, 0, 0), -1, MenuPrivate.EditMenu); + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu_base.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu_base.qmlc new file mode 100644 index 00000000..270ae19c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu_base.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FastGlow.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FastGlow.qml new file mode 100644 index 00000000..1a8b7a81 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FastGlow.qml @@ -0,0 +1,330 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.4 + +Item { + id: rootItem + property variant source + property real spread: 0.0 + property real blur: 0.0 + property color color: "white" + property bool transparentBorder: false + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + property string __internalBlurVertexShader: "qrc:/QtQuick/Controls/Shaders/blur.vert" + + property string __internalBlurFragmentShader: "qrc:/QtQuick/Controls/Shaders/blur.frag" + + ShaderEffect { + id: level0 + property variant source: sourceProxy.output + anchors.fill: parent + visible: false + smooth: true + } + + ShaderEffectSource { + id: level1 + width: Math.ceil(shaderItem.width / 32) * 32 + height: Math.ceil(shaderItem.height / 32) * 32 + sourceItem: level0 + hideSource: rootItem.visible + sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0,0,0,0) + smooth: true + visible: false + } + + ShaderEffect { + id: effect1 + property variant source: level1 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level2 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level2 + width: level1.width / 2 + height: level1.height / 2 + sourceItem: effect1 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect2 + property variant source: level2 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level3 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level3 + width: level2.width / 2 + height: level2.height / 2 + sourceItem: effect2 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect3 + property variant source: level3 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level4 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level4 + width: level3.width / 2 + height: level3.height / 2 + sourceItem: effect3 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect4 + property variant source: level4 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level5 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level5 + width: level4.width / 2 + height: level4.height / 2 + sourceItem: effect4 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect5 + property variant source: level5 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level6 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level6 + width: level5.width / 2 + height: level5.height / 2 + sourceItem: effect5 + hideSource: rootItem.visible + visible: false + smooth: true + } + + Item { + id: dummysource + width: 1 + height: 1 + visible: false + } + + ShaderEffectSource { + id: dummy + width: 1 + height: 1 + sourceItem: dummysource + visible: false + smooth: false + live: false + } + + ShaderEffect { + id: shaderItem + x: transparentBorder ? -64 : 0 + y: transparentBorder ? -64 : 0 + width: transparentBorder ? parent.width + 128 : parent.width + height: transparentBorder ? parent.height + 128 : parent.height + + property variant source1: level1 + property variant source2: level2 + property variant source3: level3 + property variant source4: level4 + property variant source5: level5 + property variant source6: level6 + property real lod: rootItem.blur + + property real weight1; + property real weight2; + property real weight3; + property real weight4; + property real weight5; + property real weight6; + + property real spread: 1.0 - (rootItem.spread * 0.98) + property alias color: rootItem.color + + function weight(v) { + if (v <= 0.0) + return 1 + if (v >= 0.5) + return 0 + + return 1.0 - v / 0.5 + } + + function calculateWeights() { + + var w1 = weight(Math.abs(lod - 0.100)) + var w2 = weight(Math.abs(lod - 0.300)) + var w3 = weight(Math.abs(lod - 0.500)) + var w4 = weight(Math.abs(lod - 0.700)) + var w5 = weight(Math.abs(lod - 0.900)) + var w6 = weight(Math.abs(lod - 1.100)) + + var sum = w1 + w2 + w3 + w4 + w5 + w6; + weight1 = w1 / sum; + weight2 = w2 / sum; + weight3 = w3 / sum; + weight4 = w4 / sum; + weight5 = w5 / sum; + weight6 = w6 / sum; + + upateSources() + } + + function upateSources() { + var sources = new Array(); + var weights = new Array(); + + if (weight1 > 0) { + sources.push(level1) + weights.push(weight1) + } + + if (weight2 > 0) { + sources.push(level2) + weights.push(weight2) + } + + if (weight3 > 0) { + sources.push(level3) + weights.push(weight3) + } + + if (weight4 > 0) { + sources.push(level4) + weights.push(weight4) + } + + if (weight5 > 0) { + sources.push(level5) + weights.push(weight5) + } + + if (weight6 > 0) { + sources.push(level6) + weights.push(weight6) + } + + for (var j = sources.length; j < 6; j++) { + sources.push(dummy) + weights.push(0.0) + } + + source1 = sources[0] + source2 = sources[1] + source3 = sources[2] + source4 = sources[3] + source5 = sources[4] + source6 = sources[5] + + weight1 = weights[0] + weight2 = weights[1] + weight3 = weights[2] + weight4 = weights[3] + weight5 = weights[4] + weight6 = weights[5] + } + + Component.onCompleted: calculateWeights() + + onLodChanged: calculateWeights() + + fragmentShader: "qrc:/QtQuick/Controls/Shaders/glow.frag" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FastGlow.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FastGlow.qmlc new file mode 100644 index 00000000..71c1c443 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FastGlow.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FocusFrame.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FocusFrame.qml new file mode 100644 index 00000000..570df32b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FocusFrame.qml @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype FocusFrame + \internal + \inqmlmodule QtQuick.Controls.Private +*/ +Item { + id: root + activeFocusOnTab: false + Accessible.role: Accessible.StatusBar + + anchors.topMargin: focusMargin + anchors.leftMargin: focusMargin + anchors.rightMargin: focusMargin + anchors.bottomMargin: focusMargin + + property int focusMargin: loader.item ? loader.item.margin : -3 + + Loader { + id: loader + z: 2 + anchors.fill: parent + sourceComponent: Settings.styleComponent(Settings.style, "FocusFrameStyle.qml", root) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FocusFrame.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FocusFrame.qmlc new file mode 100644 index 00000000..7696bad6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/FocusFrame.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/HoverButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/HoverButton.qml new file mode 100644 index 00000000..bc7f91bb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/HoverButton.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Item { + id: button + property alias source: image.source + signal clicked + + Rectangle { + id: fillRect + anchors.fill: parent + color: "black" + opacity: mouse.pressed ? 0.07 : mouse.containsMouse ? 0.02 : 0.0 + } + + Rectangle { + border.color: gridColor + anchors.fill: parent + anchors.margins: -1 + color: "transparent" + opacity: fillRect.opacity * 10 + } + + Image { + id: image + width: Math.min(implicitWidth, parent.width * 0.4) + height: Math.min(implicitHeight, parent.height * 0.4) + anchors.centerIn: parent + fillMode: Image.PreserveAspectFit + opacity: 0.6 + } + + MouseArea { + id: mouse + anchors.fill: parent + onClicked: button.clicked() + hoverEnabled: Settings.hoverEnabled + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/HoverButton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/HoverButton.qmlc new file mode 100644 index 00000000..c2ac174a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/HoverButton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentItem.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentItem.qml new file mode 100644 index 00000000..9fcb2f0f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentItem.qml @@ -0,0 +1,282 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Styles 1.1 +import QtQuick.Controls.Private 1.0 + +Loader { + id: menuFrameLoader + + property var __menu + + Accessible.role: Accessible.PopupMenu + + visible: status === Loader.Ready + width: content.width + (d.style ? d.style.padding.left + d.style.padding.right : 0) + height: content.height + (d.style ? d.style.padding.top + d.style.padding.bottom : 0) + + Loader { + id: styleLoader + active: !__menu.isNative + sourceComponent: __menu.style + property alias __control: menuFrameLoader + onStatusChanged: { + if (status === Loader.Error) + console.error("Failed to load Style for", __menu) + } + } + sourceComponent: d.style ? d.style.frame : undefined + + QtObject { + id: d + property var mnemonicsMap: ({}) + readonly property Style style: styleLoader.item + readonly property Component menuItemPanel: style ? style.menuItemPanel : null + + function canBeHovered(index) { + var item = content.menuItemAt(index) + if (item && item.visible && item.styleData.type !== MenuItemType.Separator && item.styleData.enabled) { + __menu.__currentIndex = index + return true + } + return false + } + + function triggerCurrent() { + var item = content.menuItemAt(__menu.__currentIndex) + if (item) + triggerAndDismiss(item) + } + + function triggerAndDismiss(item) { + if (!item) + return; + if (item.styleData.type === MenuItemType.Separator) + __menu.__dismissAndDestroy() + else if (item.styleData.type === MenuItemType.Item) + item.__menuItem.trigger() + } + } + + focus: true + + Keys.onPressed: { + var item = null + if (!(event.modifiers & Qt.AltModifier) + && (item = d.mnemonicsMap[event.text.toUpperCase()])) { + if (item.styleData.type === MenuItemType.Menu) { + __menu.__currentIndex = item.__menuItemIndex + item.__showSubMenu(true) + item.__menuItem.__currentIndex = 0 + } else { + d.triggerAndDismiss(item) + } + event.accepted = true + } else { + event.accepted = false + } + } + + Keys.onEscapePressed: __menu.__dismissAndDestroy() + + Keys.onDownPressed: { + if (__menu.__currentIndex < 0) + __menu.__currentIndex = -1 + + for (var i = __menu.__currentIndex + 1; + i < __menu.items.length && !d.canBeHovered(i); i++) + ; + event.accepted = true + } + + Keys.onUpPressed: { + for (var i = __menu.__currentIndex - 1; + i >= 0 && !d.canBeHovered(i); i--) + ; + event.accepted = true + } + + Keys.onLeftPressed: { + if ((event.accepted = __menu.__parentMenu.hasOwnProperty("title"))) + __menu.__closeAndDestroy() + } + + Keys.onRightPressed: { + var item = content.menuItemAt(__menu.__currentIndex) + if (item && item.styleData.type === MenuItemType.Menu + && !item.__menuItem.__popupVisible) { + item.__showSubMenu(true) + item.__menuItem.__currentIndex = 0 + event.accepted = true + } else { + event.accepted = false + } + } + + Keys.onSpacePressed: d.triggerCurrent() + Keys.onReturnPressed: d.triggerCurrent() + Keys.onEnterPressed: d.triggerCurrent() + + Qml.Binding { + // Make sure the styled frame is in the background + target: item + property: "z" + value: content.z - 1 + restoreMode: Binding.RestoreBinding + } + + ColumnMenuContent { + id: content + x: d.style ? d.style.padding.left : 0 + y: d.style ? d.style.padding.top : 0 + menuItemDelegate: menuItemComponent + scrollIndicatorStyle: d.style && d.style.scrollIndicator || null + scrollerStyle: d.style && d.style.__scrollerStyle + itemsModel: __menu.items + minWidth: __menu.__minimumWidth + maxHeight: d.style ? d.style.__maxPopupHeight : 0 + onTriggered: d.triggerAndDismiss(item) + } + + Component { + id: menuItemComponent + Loader { + id: menuItemLoader + + Accessible.role: opts.type === MenuItemType.Item || opts.type === MenuItemType.Menu ? + Accessible.MenuItem : Accessible.NoRole + Accessible.name: StyleHelpers.removeMnemonics(opts.text) + Accessible.checkable: opts.checkable + Accessible.checked: opts.checked + Accessible.onPressAction: { + if (opts.type === MenuItemType.Item) { + d.triggerAndDismiss(menuItemLoader) + } else if (opts.type === MenuItemType.Menu) { + __showSubMenu(true /*immediately*/) + } + } + + property QtObject styleData: QtObject { + id: opts + readonly property int index: __menuItemIndex + readonly property int type: __menuItem ? __menuItem.type : -1 + readonly property bool selected: type !== MenuItemType.Separator && __menu.__currentIndex === index + readonly property bool pressed: type !== MenuItemType.Separator && __menu.__currentIndex === index + && content.mousePressed // TODO Add key pressed condition once we get delayed menu closing + readonly property string text: type === MenuItemType.Menu ? __menuItem.title : + type !== MenuItemType.Separator ? __menuItem.text : "" + readonly property bool underlineMnemonic: __menu.__contentItem.altPressed + readonly property string shortcut: !!__menuItem && __menuItem["shortcut"] || "" + readonly property var iconSource: !!__menuItem && __menuItem["iconSource"] || undefined + readonly property bool enabled: type !== MenuItemType.Separator && !!__menuItem && __menuItem.enabled + readonly property bool checked: !!__menuItem && !!__menuItem["checked"] + readonly property bool checkable: !!__menuItem && !!__menuItem["checkable"] + readonly property bool exclusive: !!__menuItem && !!__menuItem["exclusiveGroup"] + readonly property int scrollerDirection: Qt.NoArrow + } + + readonly property var __menuItem: modelData + readonly property int __menuItemIndex: index + + sourceComponent: d.menuItemPanel + enabled: visible && opts.enabled + visible: !!__menuItem && __menuItem.visible + active: visible + + function __showSubMenu(immediately) { + if (!__menuItem.enabled) + return; + if (immediately) { + if (__menu.__currentIndex === __menuItemIndex) { + if (__menuItem.__usingDefaultStyle) + __menuItem.style = __menu.style + __menuItem.__popup(Qt.rect(menuFrameLoader.width - (d.style.submenuOverlap + d.style.padding.right), -d.style.padding.top, 0, 0), -1) + } + } else { + openMenuTimer.start() + } + } + + Timer { + id: openMenuTimer + interval: d.style.submenuPopupDelay + onTriggered: menuItemLoader.__showSubMenu(true) + } + + function __closeSubMenu() { + if (openMenuTimer.running) + openMenuTimer.stop() + else if (__menuItem.__popupVisible) + closeMenuTimer.start() + } + + Timer { + id: closeMenuTimer + interval: 1 + onTriggered: { + if (__menu.__currentIndex !== __menuItemIndex) + __menuItem.__closeAndDestroy() + } + } + + onLoaded: { + __menuItem.__visualItem = menuItemLoader + + if (content.width < item.implicitWidth) + content.width = item.implicitWidth + + var title = opts.text + var ampersandPos = title.indexOf("&") + if (ampersandPos !== -1) + d.mnemonicsMap[title[ampersandPos + 1].toUpperCase()] = menuItemLoader + } + + Qml.Binding { + target: menuItemLoader.item + property: "width" + property alias menuItem: menuItemLoader.item + value: menuItem ? Math.max(__menu.__minimumWidth, content.width) - 2 * menuItem.x : 0 + restoreMode: Binding.RestoreBinding + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentItem.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentItem.qmlc new file mode 100644 index 00000000..13d0eb1c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentItem.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentScroller.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentScroller.qml new file mode 100644 index 00000000..f33d2040 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentScroller.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +MouseArea { + id: scrollIndicator + property int direction: 0 + + anchors { + top: direction === Qt.UpArrow ? parent.top : undefined + bottom: direction === Qt.DownArrow ? parent.bottom : undefined + } + + hoverEnabled: visible && Settings.hoverEnabled + height: scrollerLoader.height + width: parent.width + + Loader { + id: scrollerLoader + + width: parent.width + sourceComponent: scrollIndicatorStyle + // Extra property values for desktop style + property var __menuItem: null + property var styleData: { + "index": -1, + "type": MenuItemType.ScrollIndicator, + "text": "", + "selected": scrollIndicator.containsMouse, + "scrollerDirection": scrollIndicator.direction, + "checkable": false, + "checked": false, + "enabled": true + } + } + + Timer { + interval: 100 + repeat: true + triggeredOnStart: true + running: parent.containsMouse + onTriggered: scrollABit() + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentScroller.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentScroller.qmlc new file mode 100644 index 00000000..83238b25 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentScroller.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuItemSubControls.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuItemSubControls.qml new file mode 100644 index 00000000..818b9578 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuItemSubControls.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +QtObject { + property Component background: null + property Component label: null + property Component submenuIndicator: null + property Component shortcut: null + property Component checkmarkIndicator: null +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuItemSubControls.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuItemSubControls.qmlc new file mode 100644 index 00000000..f1f2d80b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuItemSubControls.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ModalPopupBehavior.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ModalPopupBehavior.qml new file mode 100644 index 00000000..c9a4b68f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ModalPopupBehavior.qml @@ -0,0 +1,134 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +// KNOWN ISSUES +// none + +/*! + \qmltype ModalPopupBehavior + \internal + \inqmlmodule QtQuick.Controls.Private +*/ +Item { + id: popupBehavior + + property bool showing: false + property bool whenAlso: true // modifier to the "showing" property + property bool consumeCancelClick: true + property int delay: 0 // delay before popout becomes visible + property int deallocationDelay: 3000 // 3 seconds + + property Component popupComponent + + property alias popup: popupLoader.item // read-only + property alias window: popupBehavior.root // read-only + + signal prepareToShow + signal prepareToHide + signal cancelledByClick + + // implementation + + anchors.fill: parent + + onShowingChanged: notifyChange() + onWhenAlsoChanged: notifyChange() + function notifyChange() { + if(showing && whenAlso) { + if(popupLoader.sourceComponent == undefined) { + popupLoader.sourceComponent = popupComponent; + } + } else { + mouseArea.enabled = false; // disable before opacity is changed in case it has fading behavior + if(Qt.isQtObject(popupLoader.item)) { + popupBehavior.prepareToHide(); + popupLoader.item.opacity = 0; + } + } + } + + property Item root: findRoot() + function findRoot() { + var p = parent; + while(p.parent != undefined) + p = p.parent; + + return p; + } + + MouseArea { + id: mouseArea + anchors.fill: parent + enabled: false // enabled only when popout is showing + onPressed: { + popupBehavior.showing = false; + mouse.accepted = consumeCancelClick; + cancelledByClick(); + } + } + + Loader { + id: popupLoader + } + + Timer { // visibility timer + running: Qt.isQtObject(popupLoader.item) && showing && whenAlso + interval: delay + onTriggered: { + popupBehavior.prepareToShow(); + mouseArea.enabled = true; + popup.opacity = 1; + } + } + + Timer { // deallocation timer + running: Qt.isQtObject(popupLoader.item) && popupLoader.item.opacity == 0 + interval: deallocationDelay + onTriggered: popupLoader.sourceComponent = undefined + } + + states: State { + name: "active" + when: Qt.isQtObject(popupLoader.item) && popupLoader.item.opacity > 0 + ParentChange { target: popupBehavior; parent: root } + } + } + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ModalPopupBehavior.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ModalPopupBehavior.qmlc new file mode 100644 index 00000000..a300afa4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ModalPopupBehavior.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollBar.qml new file mode 100644 index 00000000..eea7a737 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollBar.qml @@ -0,0 +1,237 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ScrollBar + \internal + \inqmlmodule QtQuick.Controls.Private +*/ +Item { + id: scrollbar + + property bool isTransient: false + property bool active: false + property int orientation: Qt.Horizontal + property alias minimumValue: slider.minimumValue + property alias maximumValue: slider.maximumValue + property alias value: slider.value + property int singleStep: 20 + + activeFocusOnTab: false + + Accessible.role: Accessible.ScrollBar + implicitWidth: panelLoader.implicitWidth + implicitHeight: panelLoader.implicitHeight + + property bool upPressed + property bool downPressed + property bool pageUpPressed + property bool pageDownPressed + property bool handlePressed + + + property Item __panel: panelLoader.item + Loader { + id: panelLoader + anchors.fill: parent + sourceComponent: __style ? __style.__scrollbar : null + onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root) + property alias __control: scrollbar + property QtObject __styleData: QtObject { + readonly property alias horizontal: internal.horizontal + readonly property alias upPressed: scrollbar.upPressed + readonly property alias downPressed: scrollbar.downPressed + readonly property alias handlePressed: scrollbar.handlePressed + } + } + + MouseArea { + id: internal + property bool horizontal: orientation === Qt.Horizontal + property int pageStep: internal.horizontal ? width : height + property bool scrollToClickposition: internal.scrollToClickPosition + anchors.fill: parent + cursorShape: __panel && __panel.visible ? Qt.ArrowCursor : Qt.IBeamCursor // forces a cursor change + + property bool autoincrement: false + property bool scrollToClickPosition: __style ? __style.scrollToClickedPosition : 0 + + // Update hover item + onEntered: if (!pressed) __panel.activeControl = __panel.hitTest(mouseX, mouseY) + onExited: if (!pressed) __panel.activeControl = "none" + onMouseXChanged: if (!pressed) __panel.activeControl = __panel.hitTest(mouseX, mouseY) + hoverEnabled: Settings.hoverEnabled + preventStealing: true + property var pressedX + property var pressedY + property int oldPosition + property int grooveSize + + Timer { + running: upPressed || downPressed || pageUpPressed || pageDownPressed + interval: 350 + onTriggered: internal.autoincrement = true + } + + Timer { + running: internal.autoincrement + interval: 60 + repeat: true + onTriggered: { + if (upPressed && internal.containsMouse) + internal.decrement(); + else if (downPressed && internal.containsMouse) + internal.increment(); + else if (pageUpPressed) + internal.decrementPage(); + else if (pageDownPressed) + internal.incrementPage(); + } + } + + onPositionChanged: { + if (handlePressed) { + if (!horizontal) + slider.position = oldPosition + (mouseY - pressedY) + else + slider.position = oldPosition + (mouseX - pressedX) + } + } + + onPressed: { + if (mouse.source !== Qt.MouseEventNotSynthesized) { + mouse.accepted = false + return + } + __panel.activeControl = __panel.hitTest(mouseX, mouseY) + scrollToClickposition = scrollToClickPosition + var handleRect = __panel.subControlRect("handle") + var grooveRect = __panel.subControlRect("groove") + grooveSize = horizontal ? grooveRect.width - handleRect.width: + grooveRect.height - handleRect.height; + if (__panel.activeControl === "handle") { + pressedX = mouseX; + pressedY = mouseY; + handlePressed = true; + oldPosition = slider.position; + } else if (__panel.activeControl === "up") { + decrement(); + upPressed = Qt.binding(function() {return containsMouse}); + } else if (__panel.activeControl === "down") { + increment(); + downPressed = Qt.binding(function() {return containsMouse}); + } else if (!scrollToClickposition){ + if (__panel.activeControl === "upPage") { + decrementPage(); + pageUpPressed = true; + } else if (__panel.activeControl === "downPage") { + incrementPage(); + pageDownPressed = true; + } + } else { // scroll to click position + slider.position = horizontal ? mouseX - handleRect.width/2 - grooveRect.x + : mouseY - handleRect.height/2 - grooveRect.y + pressedX = mouseX; + pressedY = mouseY; + handlePressed = true; + oldPosition = slider.position; + } + } + + onReleased: { + __panel.activeControl = __panel.hitTest(mouseX, mouseY); + autoincrement = false; + upPressed = false; + downPressed = false; + handlePressed = false; + pageUpPressed = false; + pageDownPressed = false; + } + + onWheel: { + var stepCount = -(wheel.angleDelta.x ? wheel.angleDelta.x : wheel.angleDelta.y) / 120 + if (stepCount != 0) { + if (wheel.modifiers & Qt.ControlModifier || wheel.modifiers & Qt.ShiftModifier) + incrementPage(stepCount) + else + increment(stepCount) + } + } + + function incrementPage(stepCount) { + value = boundValue(value + getSteps(pageStep, stepCount)) + } + + function decrementPage(stepCount) { + value = boundValue(value - getSteps(pageStep, stepCount)) + } + + function increment(stepCount) { + value = boundValue(value + getSteps(singleStep, stepCount)) + } + + function decrement(stepCount) { + value = boundValue(value - getSteps(singleStep, stepCount)) + } + + function boundValue(val) { + return Math.min(Math.max(val, minimumValue), maximumValue) + } + + function getSteps(step, count) { + if (count) + step *= count + return step + } + + RangeModel { + id: slider + minimumValue: 0.0 + maximumValue: 1.0 + value: 0 + stepSize: 0.0 + inverted: false + positionAtMaximum: internal.grooveSize + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollBar.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollBar.qmlc new file mode 100644 index 00000000..5f71765f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollBar.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollViewHelper.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollViewHelper.qml new file mode 100644 index 00000000..f5ef5b17 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollViewHelper.qml @@ -0,0 +1,234 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ScrollViewHeader + \internal + \inqmlmodule QtQuick.Controls.Private +*/ +Item { + id: scrollHelper + + property alias horizontalScrollBar: hscrollbar + property alias verticalScrollBar: vscrollbar + property bool blockUpdates: false + property int availableHeight + property int availableWidth + property int contentHeight + property int contentWidth + property bool active + property int horizontalScrollBarPolicy: Qt.ScrollBarAsNeeded + property int verticalScrollBarPolicy: Qt.ScrollBarAsNeeded + + + property int leftMargin: outerFrame && root.__style ? root.__style.padding.left : 0 + property int rightMargin: outerFrame && root.__style ? root.__style.padding.right : 0 + property int topMargin: outerFrame && root.__style ? root.__style.padding.top : 0 + property int bottomMargin: outerFrame && root.__style ? root.__style.padding.bottom : 0 + + anchors.fill: parent + + Timer { + id: layoutTimer + interval: 0; + onTriggered: { + blockUpdates = true; + scrollHelper.contentWidth = flickableItem !== null ? flickableItem.contentWidth : 0 + scrollHelper.contentHeight = flickableItem !== null ? flickableItem.contentHeight : 0 + scrollHelper.availableWidth = viewport.width + scrollHelper.availableHeight = viewport.height + blockUpdates = false; + hscrollbar.valueChanged(); + vscrollbar.valueChanged(); + } + } + + Connections { + target: viewport + function onWidthChanged() { layoutTimer.running = true } + function onHeightChanged() { layoutTimer.running = true } + } + + Connections { + target: flickableItem + function onContentWidthChanged() { layoutTimer.running = true } + function onContentHeightChanged() { layoutTimer.running = true } + function onContentXChanged() { + hscrollbar.flash() + vscrollbar.flash() + } + function onContentYChanged() { + hscrollbar.flash() + vscrollbar.flash() + } + } + + Loader { + id: cornerFill + z: 1 + sourceComponent: __style ? __style.corner : null + anchors.right: parent.right + anchors.bottom: parent.bottom + anchors.bottomMargin: bottomMargin + anchors.rightMargin: rightMargin + width: visible ? vscrollbar.width : 0 + height: visible ? hscrollbar.height : 0 + visible: hscrollbar.visible && !hscrollbar.isTransient && vscrollbar.visible && !vscrollbar.isTransient + } + + ScrollBar { + id: hscrollbar + readonly property int scrollAmount: contentWidth - availableWidth + readonly property bool scrollable: scrollAmount > 0 + isTransient: !!__panel && !!__panel.isTransient + active: !!__panel && (__panel.sunken || __panel.activeControl !== "none") + enabled: !isTransient || __panel.visible + orientation: Qt.Horizontal + visible: horizontalScrollBarPolicy == Qt.ScrollBarAsNeeded ? scrollable : horizontalScrollBarPolicy == Qt.ScrollBarAlwaysOn + height: visible ? implicitHeight : 0 + z: 1 + maximumValue: scrollable ? scrollAmount : 0 + minimumValue: 0 + anchors.bottom: parent.bottom + anchors.left: parent.left + anchors.right: cornerFill.left + anchors.leftMargin: leftMargin + anchors.bottomMargin: bottomMargin + onScrollAmountChanged: { + var scrollableAmount = scrollable ? scrollAmount : 0 + if (flickableItem && (flickableItem.atXBeginning || flickableItem.atXEnd)) { + value = Math.min(scrollableAmount, flickableItem.contentX - flickableItem.originX); + } else if (value > scrollableAmount) { + value = scrollableAmount; + } + } + onValueChanged: { + if (flickableItem && !blockUpdates) { + flickableItem.contentX = value + flickableItem.originX + } + } + Qml.Binding { + target: hscrollbar.__panel + property: "raised" + value: vscrollbar.active || scrollHelper.active + when: hscrollbar.isTransient + restoreMode: Binding.RestoreBinding + } + Qml.Binding { + target: hscrollbar.__panel + property: "visible" + value: true + when: !hscrollbar.isTransient || scrollHelper.active + restoreMode: Binding.RestoreBinding + } + function flash() { + if (hscrollbar.isTransient) { + hscrollbar.__panel.on = true + hscrollbar.__panel.visible = true + hFlasher.start() + } + } + Timer { + id: hFlasher + interval: 10 + onTriggered: hscrollbar.__panel.on = false + } + } + + ScrollBar { + id: vscrollbar + readonly property int scrollAmount: contentHeight - availableHeight + readonly property bool scrollable: scrollAmount > 0 + isTransient: !!__panel && !!__panel.isTransient + active: !!__panel && (__panel.sunken || __panel.activeControl !== "none") + enabled: !isTransient || __panel.visible + orientation: Qt.Vertical + visible: verticalScrollBarPolicy === Qt.ScrollBarAsNeeded ? scrollable : verticalScrollBarPolicy === Qt.ScrollBarAlwaysOn + width: visible ? implicitWidth : 0 + z: 1 + anchors.bottom: cornerFill.top + maximumValue: scrollable ? scrollAmount + __viewTopMargin : 0 + minimumValue: 0 + anchors.right: parent.right + anchors.top: parent.top + anchors.topMargin: __scrollBarTopMargin + topMargin + anchors.rightMargin: rightMargin + onScrollAmountChanged: { + if (flickableItem && (flickableItem.atYBeginning || flickableItem.atYEnd)) { + value = flickableItem.contentY - flickableItem.originY + } + } + onValueChanged: { + if (flickableItem && !blockUpdates && enabled) { + flickableItem.contentY = value + flickableItem.originY + } + } + Qml.Binding { + target: vscrollbar.__panel + property: "raised" + value: hscrollbar.active || scrollHelper.active + when: vscrollbar.isTransient + restoreMode: Binding.RestoreBinding + } + Qml.Binding { + target: vscrollbar.__panel + property: "visible" + value: true + when: !vscrollbar.isTransient || scrollHelper.active + restoreMode: Binding.RestoreBinding + } + function flash() { + if (vscrollbar.isTransient) { + vscrollbar.__panel.on = true + vscrollbar.__panel.visible = true + vFlasher.start() + } + } + Timer { + id: vFlasher + interval: 10 + onTriggered: vscrollbar.__panel.on = false + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollViewHelper.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollViewHelper.qmlc new file mode 100644 index 00000000..44956859 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollViewHelper.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SourceProxy.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SourceProxy.qml new file mode 100644 index 00000000..275c24d3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SourceProxy.qml @@ -0,0 +1,136 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +Item { + id: rootItem + property variant input + property variant output + property variant sourceRect + visible: false + + Component.onCompleted: evaluateInput() + + onInputChanged: evaluateInput() + + onSourceRectChanged: evaluateInput() + + function evaluateInput() { + if (input == undefined) { + output = input + } + else if (sourceRect != undefined && sourceRect != Qt.rect(0, 0, 0, 0) && !isQQuickShaderEffectSource(input)) { + proxySource.sourceItem = input + output = proxySource + proxySource.sourceRect = sourceRect + } + else if (isQQuickItemLayerEnabled(input)) { + output = input + } + else if ((isQQuickImage(input) && !hasTileMode(input) && !hasChildren(input))) { + output = input + } + else if (isQQuickShaderEffectSource(input)) { + output = input + } + else { + proxySource.sourceItem = input + output = proxySource + proxySource.sourceRect = Qt.rect(0, 0, 0, 0) + } + } + + function isQQuickItemLayerEnabled(item) { + if (item.hasOwnProperty("layer")) { + var l = item["layer"] + if (l.hasOwnProperty("enabled") && l["enabled"].toString() == "true") + return true + } + return false + } + + function isQQuickImage(item) { + var imageProperties = [ "fillMode", "progress", "asynchronous", "sourceSize", "status", "smooth" ] + return hasProperties(item, imageProperties) + } + + function isQQuickShaderEffectSource(item) { + var shaderEffectSourceProperties = [ "hideSource", "format", "sourceItem", "mipmap", "wrapMode", "live", "recursive", "sourceRect" ] + return hasProperties(item, shaderEffectSourceProperties) + } + + function hasProperties(item, properties) { + var counter = 0 + for (var j = 0; j < properties.length; j++) { + if (item.hasOwnProperty(properties [j])) + counter++ + } + return properties.length == counter + } + + function hasChildren(item) { + if (item.hasOwnProperty("childrenRect")) { + if (item["childrenRect"].toString() != "QRectF(0, 0, 0, 0)") + return true + else + return false + } + return false + } + + function hasTileMode(item) { + if (item.hasOwnProperty("fillMode")) { + if (item["fillMode"].toString() != "0") + return true + else + return false + } + return false + } + + ShaderEffectSource { + id: proxySource + live: rootItem.input != rootItem.output + hideSource: false + smooth: true + visible: false + } +} + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SourceProxy.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SourceProxy.qmlc new file mode 100644 index 00000000..d8b51b1a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SourceProxy.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackView.js b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackView.js new file mode 100644 index 00000000..b0b77e21 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackView.js @@ -0,0 +1,66 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +var stackView = []; + +function push(p) +{ + if (!p) + return + stackView.push(p) + __depth++ + return p +} + +function pop() +{ + if (stackView.length === 0) + return null + var p = stackView.pop() + __depth-- + return p +} + +function current() +{ + if (stackView.length === 0) + return null + return stackView[stackView.length-1] +} + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackView.jsc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackView.jsc new file mode 100644 index 00000000..5b5da217 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackView.jsc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qml new file mode 100644 index 00000000..dcc14448 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qml @@ -0,0 +1,141 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 + +/*! + \qmltype StackViewSlideTransition + \internal + \inqmlmodule QtQuick.Controls.Private +*/ +StackViewDelegate { + id: root + + property bool horizontal: true + + function getTransition(properties) + { + return root[horizontal ? "horizontalSlide" : "verticalSlide"][properties.name] + } + + function transitionFinished(properties) + { + properties.exitItem.x = 0 + properties.exitItem.y = 0 + } + + property QtObject horizontalSlide: QtObject { + property Component pushTransition: StackViewTransition { + PropertyAnimation { + target: enterItem + property: "x" + from: target.width + to: 0 + duration: 400 + easing.type: Easing.OutCubic + } + PropertyAnimation { + target: exitItem + property: "x" + from: 0 + to: -target.width + duration: 400 + easing.type: Easing.OutCubic + } + } + + property Component popTransition: StackViewTransition { + PropertyAnimation { + target: enterItem + property: "x" + from: -target.width + to: 0 + duration: 400 + easing.type: Easing.OutCubic + } + PropertyAnimation { + target: exitItem + property: "x" + from: 0 + to: target.width + duration: 400 + easing.type: Easing.OutCubic + } + } + property Component replaceTransition: pushTransition + } + + property QtObject verticalSlide: QtObject { + property Component pushTransition: StackViewTransition { + PropertyAnimation { + target: enterItem + property: "y" + from: target.height + to: 0 + duration: 300 + } + PropertyAnimation { + target: exitItem + property: "y" + from: 0 + to: -target.height + duration: 300 + } + } + + property Component popTransition: StackViewTransition { + PropertyAnimation { + target: enterItem + property: "y" + from: -target.height + to: 0 + duration: 300 + } + PropertyAnimation { + target: exitItem + property: "y" + from: 0 + to: target.height + duration: 300 + } + } + property Component replaceTransition: pushTransition + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qmlc new file mode 100644 index 00000000..abba15c2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Style.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Style.qml new file mode 100644 index 00000000..805c9252 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Style.qml @@ -0,0 +1,53 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype Style + \internal + \inqmlmodule QtQuick.Controls.Private +*/ + +AbstractStyle { + /*! The control this style is attached to. */ + readonly property Item control: __control +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Style.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Style.qmlc new file mode 100644 index 00000000..a6b1a4ae Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/Style.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SystemPaletteSingleton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SystemPaletteSingleton.qml new file mode 100644 index 00000000..e4e82c55 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SystemPaletteSingleton.qml @@ -0,0 +1,61 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +pragma Singleton +import QtQuick 2.2 + +QtObject { + property SystemPalette active: SystemPalette { colorGroup: SystemPalette.Active } + property SystemPalette disabled: SystemPalette { colorGroup: SystemPalette.Disabled } + + function alternateBase(enabled) { return enabled ? active.alternateBase : disabled.alternateBase } + function base(enabled) { return enabled ? active.base : disabled.base } + function button(enabled) { return enabled ? active.button : disabled.button } + function buttonText(enabled) { return enabled ? active.buttonText : disabled.buttonText } + function dark(enabled) { return enabled ? active.dark : disabled.dark } + function highlight(enabled) { return enabled ? active.highlight : disabled.highlight } + function highlightedText(enabled) { return enabled ? active.highlightedText : disabled.highlightedText } + function light(enabled) { return enabled ? active.light : disabled.light } + function mid(enabled) { return enabled ? active.mid : disabled.mid } + function midlight(enabled) { return enabled ? active.midlight : disabled.midlight } + function shadow(enabled) { return enabled ? active.shadow : disabled.shadow } + function text(enabled) { return enabled ? active.text : disabled.text } + function window(enabled) { return enabled ? active.window : disabled.window } + function windowText(enabled) { return enabled ? active.windowText : disabled.windowText } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SystemPaletteSingleton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SystemPaletteSingleton.qmlc new file mode 100644 index 00000000..66abb87e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/SystemPaletteSingleton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TabBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TabBar.qml new file mode 100644 index 00000000..1186968d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TabBar.qml @@ -0,0 +1,331 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype TabBar + \internal + \inqmlmodule QtQuick.Controls.Private +*/ +FocusScope { + id: tabbar + height: Math.max(tabrow.height, Math.max(leftCorner.height, rightCorner.height)) + width: tabView.width + + activeFocusOnTab: true + + Keys.onRightPressed: { + if (tabView && tabView.currentIndex < tabView.count - 1) + tabView.currentIndex = tabView.currentIndex + 1 + } + Keys.onLeftPressed: { + if (tabView && tabView.currentIndex > 0) + tabView.currentIndex = tabView.currentIndex - 1 + } + + onTabViewChanged: parent = tabView + visible: tabView ? tabView.tabsVisible : true + + property var tabView + property var style + property var styleItem: tabView.__styleItem ? tabView.__styleItem : null + + property bool tabsMovable: styleItem ? styleItem.tabsMovable : false + + property int tabsAlignment: styleItem ? styleItem.tabsAlignment : Qt.AlignLeft + + property int tabOverlap: styleItem ? styleItem.tabOverlap : 0 + + property int elide: Text.ElideRight + + property real availableWidth: tabbar.width - leftCorner.width - rightCorner.width + + property var __selectedTabRect + + function tab(index) { + for (var i = 0; i < tabrow.children.length; ++i) { + if (tabrow.children[i].tabindex == index) { + return tabrow.children[i] + } + } + return null; + } + + /*! \internal */ + function __isAncestorOf(item, child) { + //TODO: maybe removed from 5.2 if the function was merged in qtdeclarative + if (child === item) + return false; + + while (child) { + child = child.parent; + if (child === item) + return true; + } + return false; + } + Loader { + id: background + anchors.fill: parent + sourceComponent: styleItem ? styleItem.tabBar : undefined + } + + ListView { + id: tabrow + objectName: "tabrow" + Accessible.role: Accessible.PageTabList + LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft + spacing: -tabOverlap + orientation: Qt.Horizontal + interactive: false + focus: true + clip: true + + // Note this will silence the binding loop warnings caused by QTBUG-35038 + // and should be removed when this issue is resolved. + property int contentWidthWorkaround: contentWidth > 0 ? contentWidth: 0 + width: Math.min(availableWidth, count ? contentWidthWorkaround : availableWidth) + height: currentItem ? currentItem.height : 0 + + highlightMoveDuration: 0 + + // We cannot bind directly to the currentIndex because the actual model is + // populated after the listview is completed, resulting in an invalid contentItem + currentIndex: tabView.currentIndex < model.count ? tabView.currentIndex : -1 + onCurrentIndexChanged: tabrow.positionViewAtIndex(currentIndex, ListView.Contain) + + moveDisplaced: Transition { + NumberAnimation { + property: "x" + duration: 125 + easing.type: Easing.OutQuad + } + } + + states: [ + State { + name: "left" + when: tabsAlignment === Qt.AlignLeft + AnchorChanges { target:tabrow ; anchors.left: parent.left } + PropertyChanges { target:tabrow ; anchors.leftMargin: leftCorner.width } + }, + State { + name: "center" + when: tabsAlignment === Qt.AlignHCenter + AnchorChanges { target:tabrow ; anchors.horizontalCenter: tabbar.horizontalCenter } + }, + State { + name: "right" + when: tabsAlignment === Qt.AlignRight + AnchorChanges { target:tabrow ; anchors.right: parent.right } + PropertyChanges { target:tabrow ; anchors.rightMargin: rightCorner.width } + } + ] + + model: tabView.__tabs + + delegate: MouseArea { + id: tabitem + objectName: "mousearea" + hoverEnabled: Settings.hoverEnabled + focus: true + enabled: modelData.enabled + + Qml.Binding { + target: tabbar + when: selected + property: "__selectedTabRect" + value: Qt.rect(x, y, width, height) + restoreMode: Binding.RestoreBinding + } + + drag.target: tabsMovable ? tabloader : null + drag.axis: Drag.XAxis + drag.minimumX: drag.active ? 0 : -Number.MAX_VALUE + drag.maximumX: tabrow.width - tabitem.width + + property int tabindex: index + property bool selected : tabView.currentIndex === index + property string title: modelData.title + property bool nextSelected: tabView.currentIndex === index + 1 + property bool previousSelected: tabView.currentIndex === index - 1 + + property bool keyPressed: false + property bool effectivePressed: pressed && containsMouse || keyPressed + + z: selected ? 1 : -index + implicitWidth: tabloader.implicitWidth + implicitHeight: tabloader.implicitHeight + + function changeTab() { + tabView.currentIndex = index; + var next = tabbar.nextItemInFocusChain(true); + if (__isAncestorOf(tabView.getTab(currentIndex), next)) + next.forceActiveFocus(); + } + + onClicked: { + if (tabrow.interactive) { + changeTab() + } + } + onPressed: { + if (!tabrow.interactive) { + changeTab() + } + } + + Keys.onPressed: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat && !tabitem.pressed) + tabitem.keyPressed = true + } + Keys.onReleased: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat && tabitem.keyPressed) + tabitem.keyPressed = false + } + onFocusChanged: if (!focus) tabitem.keyPressed = false + + Loader { + id: tabloader + + property Item control: tabView + property int index: tabindex + + property QtObject styleData: QtObject { + readonly property alias index: tabitem.tabindex + readonly property alias selected: tabitem.selected + readonly property alias title: tabitem.title + readonly property alias nextSelected: tabitem.nextSelected + readonly property alias previousSelected: tabitem.previousSelected + readonly property alias pressed: tabitem.effectivePressed + readonly property alias hovered: tabitem.containsMouse + readonly property alias enabled: tabitem.enabled + readonly property bool activeFocus: tabitem.activeFocus + readonly property real availableWidth: tabbar.availableWidth + readonly property real totalWidth: tabrow.contentWidth + } + + sourceComponent: loader.item ? loader.item.tab : null + + Drag.keys: "application/x-tabbartab" + Drag.active: tabitem.drag.active + Drag.source: tabitem + + property real __prevX: 0 + property real __dragX: 0 + onXChanged: { + if (Drag.active) { + // keep track for the snap back animation + __dragX = tabitem.mapFromItem(tabrow, tabloader.x, 0).x + + // when moving to the left, the hot spot is the left edge and vice versa + Drag.hotSpot.x = x < __prevX ? 0 : width + __prevX = x + } + } + + width: tabitem.width + state: Drag.active ? "drag" : "" + + transitions: [ + Transition { + to: "drag" + PropertyAction { target: tabloader; property: "parent"; value: tabrow } + }, + Transition { + from: "drag" + SequentialAnimation { + PropertyAction { target: tabloader; property: "parent"; value: tabitem } + NumberAnimation { + target: tabloader + duration: 50 + easing.type: Easing.OutQuad + property: "x" + from: tabloader.__dragX + to: 0 + } + } + } + ] + } + + Accessible.role: Accessible.PageTab + Accessible.name: modelData.title + } + } + + Loader { + id: leftCorner + anchors.verticalCenter: parent.verticalCenter + anchors.left: parent.left + sourceComponent: styleItem ? styleItem.leftCorner : undefined + width: item ? item.implicitWidth : 0 + height: item ? item.implicitHeight : 0 + } + + Loader { + id: rightCorner + anchors.verticalCenter: parent.verticalCenter + anchors.right: parent.right + sourceComponent: styleItem ? styleItem.rightCorner : undefined + width: item ? item.implicitWidth : 0 + height: item ? item.implicitHeight : 0 + } + + DropArea { + anchors.fill: tabrow + keys: "application/x-tabbartab" + onPositionChanged: { + var source = drag.source + var target = tabrow.itemAt(drag.x, drag.y) + if (source && target && source !== target) { + source = source.drag.target + target = target.drag.target + var center = target.parent.x + target.width / 2 + if ((source.index > target.index && source.x < center) + || (source.index < target.index && source.x + source.width > center)) + tabView.moveTab(source.index, target.index) + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TabBar.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TabBar.qmlc new file mode 100644 index 00000000..f737e191 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TabBar.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml new file mode 100644 index 00000000..c5c6584a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml @@ -0,0 +1,102 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +import QtQuick 2.5 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 + +/*! + \qmltype TableViewItemDelegateLoader + \internal + \qmlabstract + \inqmlmodule QtQuick.Controls.Private +*/ + +Loader { + id: itemDelegateLoader + + width: __column ? __column.width : 0 + height: parent ? parent.height : 0 + visible: __column ? __column.visible : false + + property bool isValid: false + sourceComponent: (__model === undefined || !isValid) ? null + : __column && __column.delegate ? __column.delegate : __itemDelegate + + // All these properties are internal + property int __index: index + property Item __rowItem: null + property var __model: __rowItem ? __rowItem.itemModel : undefined + property var __modelData: __rowItem ? __rowItem.itemModelData : undefined + property TableViewColumn __column: null + property Component __itemDelegate: null + property var __mouseArea: null + property var __style: null + + // These properties are exposed to the item delegate + readonly property var model: __model + readonly property var modelData: __modelData + + property QtObject styleData: QtObject { + readonly property int row: __rowItem ? __rowItem.rowIndex : -1 + readonly property int column: __index + readonly property int elideMode: __column ? __column.elideMode : Text.ElideLeft + readonly property int textAlignment: __column ? __column.horizontalAlignment : Text.AlignLeft + readonly property bool selected: __rowItem ? __rowItem.itemSelected : false + readonly property bool hasActiveFocus: __rowItem ? __rowItem.activeFocus : false + readonly property bool pressed: __mouseArea && row === __mouseArea.pressedRow && column === __mouseArea.pressedColumn + readonly property color textColor: __rowItem ? __rowItem.itemTextColor : "black" + readonly property string role: __column ? __column.role : "" + readonly property var value: model && model.hasOwnProperty(role) ? model[role] // Qml ListModel and QAbstractItemModel + : modelData && modelData.hasOwnProperty(role) ? modelData[role] // QObjectList / QObject + : modelData != undefined ? modelData : "" // Models without role + onRowChanged: if (row !== -1) itemDelegateLoader.isValid = true + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qmlc new file mode 100644 index 00000000..c2a46fe3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewSelection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewSelection.qml new file mode 100644 index 00000000..e8af9dd9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewSelection.qml @@ -0,0 +1,196 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +QtObject { + + property int count: 0 + signal selectionChanged + + property bool __dirty: false + property var __ranges: [] + + function forEach (callback) { + if (!(callback instanceof Function)) { + console.warn("TableViewSelection.forEach: argument is not a function") + return; + } + __forEach(callback, -1) + } + + function contains(index) { + for (var i = 0 ; i < __ranges.length ; ++i) { + if (__ranges[i][0] <= index && index <= __ranges[i][1]) + return true; + else if (__ranges[i][0] > index) + return false; + } + return false; + } + + function clear() { + __ranges = [] + __dirty = true + count = 0 + selectionChanged() + } + + function selectAll() { select(0, rowCount - 1) } + function select(first, last) { __select(true, first, last) } + function deselect(first, last) { __select(false, first, last) } + + // --- private section --- + + function __printRanges() { + var out = "" + for (var i = 0 ; i < __ranges.length ; ++ i) + out += ("{" + __ranges[i][0] + "," + __ranges[i][1] + "} ") + print(out) + } + + function __count() { + var sum = 0 + for (var i = 0 ; i < __ranges.length ; ++i) { + sum += (1 + __ranges[i][1] - __ranges[i][0]) + } + return sum + } + + function __forEach (callback, startIndex) { + __dirty = false + var i, j + + for (i = 0 ; i < __ranges.length && !__dirty ; ++i) { + for (j = __ranges[i][0] ; !__dirty && j <= __ranges[i][1] ; ++j) { + if (j >= startIndex) + callback.call(this, j) + } + } + + // Restart iteration at last index if selection changed + if (__dirty) + return __forEach(callback, j) + } + + function __selectOne(index) { + __ranges = [[index, index]] + __dirty = true + count = 1 + selectionChanged(); + } + + function __select(select, first, last) { + + var i, range + var start = first + var stop = first + var startRangeIndex = -1 + var stopRangeIndex = -1 + var newRangePos = 0 + + if (first < 0 || last < 0 || first >= rowCount || last >=rowCount) { + console.warn("TableViewSelection: index out of range") + return + } + + if (last !== undefined) { + start = first <= last ? first : last + stop = first <= last ? last : first + } + + if (select) { + + // Find beginning and end ranges + for (i = 0 ; i < __ranges.length; ++ i) { + range = __ranges[i] + if (range[0] > stop + 1) continue; // above range + if (range[1] < start - 1) { // below range + newRangePos = i + 1 + continue; + } + if (startRangeIndex === -1) + startRangeIndex = i + stopRangeIndex = i + } + + if (startRangeIndex !== -1) + start = Math.min(__ranges[startRangeIndex][0], start) + if (stopRangeIndex !== -1) + stop = Math.max(__ranges[stopRangeIndex][1], stop) + + if (startRangeIndex === -1) + startRangeIndex = newRangePos + + __ranges.splice(Math.max(0, startRangeIndex), + 1 + stopRangeIndex - startRangeIndex, [start, stop]) + + } else { + + // Find beginning and end ranges + for (i = 0 ; i < __ranges.length; ++ i) { + range = __ranges[i] + if (range[1] < start) continue; // below range + if (range[0] > stop) continue; // above range + if (startRangeIndex === -1) + startRangeIndex = i + stopRangeIndex = i + } + + // Slice ranges accordingly + if (startRangeIndex >= 0 && stopRangeIndex >= 0) { + var startRange = __ranges[startRangeIndex] + var stopRange = __ranges[stopRangeIndex] + var length = 1 + stopRangeIndex - startRangeIndex + if (start <= startRange[0] && stop >= stopRange[1]) { //remove + __ranges.splice(startRangeIndex, length) + } else if (start - 1 < startRange[0] && stop <= stopRange[1]) { //cut front + __ranges.splice(startRangeIndex, length, [stop + 1, stopRange[1]]) + } else if (start - 1 < startRange[1] && stop >= stopRange[1]) { // cut back + __ranges.splice(startRangeIndex, length, [startRange[0], start - 1]) + } else { //split + __ranges.splice(startRangeIndex, length, [startRange[0], start - 1], [stop + 1, stopRange[1]]) + } + } + } + __dirty = true + count = __count() // forces a re-evaluation of indexes in the delegates + selectionChanged() + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewSelection.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewSelection.qmlc new file mode 100644 index 00000000..7421daae Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewSelection.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextHandle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextHandle.qml new file mode 100644 index 00000000..45e97f71 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextHandle.qml @@ -0,0 +1,126 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Loader { + id: handle + + property Item editor + property int minimum: -1 + property int maximum: -1 + property int position: -1 + property alias delegate: handle.sourceComponent + + readonly property alias pressed: mouse.pressed + + readonly property real handleX: x + (item ? item.x : 0) + readonly property real handleY: y + (item ? item.y : 0) + readonly property real handleWidth: item ? item.width : 0 + readonly property real handleHeight: item ? item.height : 0 + + property Item control + property QtObject styleData: QtObject { + id: styleData + signal activated() + readonly property alias pressed: mouse.pressed + readonly property alias position: handle.position + readonly property bool hasSelection: editor.selectionStart !== editor.selectionEnd + readonly property real lineHeight: position !== -1 ? editor.positionToRectangle(position).height + : editor.cursorRectangle.height + } + + function activate() { + styleData.activated() + } + + MouseArea { + id: mouse + anchors.fill: item + enabled: item && item.visible + preventStealing: true + property real pressX + property point offset + property bool handleDragged: false + + onPressed: { + Qt.inputMethod.commit() + handleDragged = false + pressX = mouse.x + var handleRect = editor.positionToRectangle(handle.position) + var centerX = handleRect.x + (handleRect.width / 2) + var centerY = handleRect.y + (handleRect.height / 2) + var center = mapFromItem(editor, centerX, centerY) + offset = Qt.point(mouseX - center.x, mouseY - center.y) + } + onReleased: { + if (!handleDragged) { + // The user just clicked on the handle. In that + // case clear the selection. + var mousePos = editor.mapFromItem(item, mouse.x, mouse.y) + var editorPos = editor.positionAt(mousePos.x, mousePos.y) + editor.select(editorPos, editorPos) + } + } + onPositionChanged: { + handleDragged = true + var pt = mapToItem(editor, mouse.x - offset.x, mouse.y - offset.y) + + // limit vertically within mix/max coordinates or content bounds + var min = (minimum !== -1) ? minimum : 0 + var max = (maximum !== -1) ? maximum : editor.length + pt.y = Math.max(pt.y, editor.positionToRectangle(min).y) + pt.y = Math.min(pt.y, editor.positionToRectangle(max).y) + + var pos = editor.positionAt(pt.x, pt.y) + + // limit horizontally within min/max character positions + if (minimum !== -1) + pos = Math.max(pos, minimum) + pos = Math.max(pos, 0) + if (maximum !== -1) + pos = Math.min(pos, maximum) + pos = Math.min(pos, editor.length) + + handle.position = pos + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextHandle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextHandle.qmlc new file mode 100644 index 00000000..f1ad2f30 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextHandle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextInputWithHandles.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextInputWithHandles.qml new file mode 100644 index 00000000..ac78c269 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextInputWithHandles.qml @@ -0,0 +1,201 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Window 2.2 +import QtQuick.Controls.Private 1.0 + +TextInput { + id: input + + property Item control + property alias cursorHandle: cursorHandle.delegate + property alias selectionHandle: selectionHandle.delegate + + property bool blockRecursion: false + property bool hasSelection: selectionStart !== selectionEnd + readonly property int selectionPosition: selectionStart !== cursorPosition ? selectionStart : selectionEnd + readonly property alias containsMouse: mouseArea.containsMouse + property alias editMenu: editMenu + cursorDelegate: __style && __style.__cursorDelegate ? __style.__cursorDelegate : null + + selectByMouse: control.selectByMouse && (!Settings.isMobile || !cursorHandle.delegate || !selectionHandle.delegate) + + // force re-evaluation when selection moves: + // - cursorRectangle changes => content scrolled + // - contentWidth changes => text layout changed + property rect selectionRectangle: cursorRectangle.x && contentWidth ? positionToRectangle(selectionPosition) + : positionToRectangle(selectionPosition) + + onSelectionStartChanged: syncHandlesWithSelection() + onCursorPositionChanged: syncHandlesWithSelection() + + function syncHandlesWithSelection() + { + if (!blockRecursion && selectionHandle.delegate) { + blockRecursion = true + // We cannot use property selectionPosition since it gets updated after onSelectionStartChanged + cursorHandle.position = cursorPosition + selectionHandle.position = (selectionStart !== cursorPosition) ? selectionStart : selectionEnd + blockRecursion = false + } + } + + function activate() { + if (activeFocusOnPress) { + forceActiveFocus() + if (!readOnly) + Qt.inputMethod.show() + } + cursorHandle.activate() + selectionHandle.activate() + } + + function moveHandles(cursor, selection) { + blockRecursion = true + cursorPosition = cursor + if (selection === -1) { + selectWord() + selection = selectionStart + } + selectionHandle.position = selection + cursorHandle.position = cursorPosition + blockRecursion = false + } + + MouseArea { + id: mouseArea + anchors.fill: parent + hoverEnabled: Settings.hoverEnabled + cursorShape: Qt.IBeamCursor + acceptedButtons: (input.selectByMouse ? Qt.NoButton : Qt.LeftButton) | (control.menu ? Qt.RightButton : Qt.NoButton) + onClicked: { + if (editMenu.item) + return; + var pos = input.positionAt(mouse.x, mouse.y) + input.moveHandles(pos, pos) + input.activate() + } + onPressAndHold: { + if (editMenu.item) + return; + var pos = input.positionAt(mouse.x, mouse.y) + input.moveHandles(pos, control.selectByMouse ? -1 : pos) + input.activate() + } + } + + EditMenu { + id: editMenu + input: parent + mouseArea: mouseArea + control: parent.control + cursorHandle: cursorHandle + selectionHandle: selectionHandle + anchors.fill: parent + } + + ScenePosListener { + id: listener + item: input + enabled: input.activeFocus && Qt.platform.os !== "ios" && Settings.isMobile + } + + TextHandle { + id: selectionHandle + + editor: input + z: 1000001 // DefaultWindowDecoration+1 + parent: !input.activeFocus || Qt.platform.os === "ios" ? control : Window.contentItem // float (QTBUG-42538) + control: input.control + active: control.selectByMouse && Settings.isMobile + maximum: cursorHandle.position - 1 + + readonly property var mappedOrigin: editor.mapToItem(parent, 0,0) + + // Mention scenePos in the mappedPos binding to force re-evaluation if it changes + readonly property var mappedPos: listener.scenePos.x !== listener.scenePos.y !== Number.MAX_VALUE ? + editor.mapToItem(parent, editor.selectionRectangle.x, editor.selectionRectangle.y) : -1 + x: mappedPos.x + y: mappedPos.y + + visible: pressed || (input.hasSelection && handleX + handleWidth >= -1 && handleX - mappedOrigin.x <= control.width + 1) + + onPositionChanged: { + if (!input.blockRecursion) { + input.blockRecursion = true + input.select(selectionHandle.position, cursorHandle.position) + if (pressed) + input.ensureVisible(position) + input.blockRecursion = false + } + } + } + + TextHandle { + id: cursorHandle + + editor: input + z: 1000001 // DefaultWindowDecoration+1 + parent: !input.activeFocus || Qt.platform.os === "ios" ? control : Window.contentItem // float (QTBUG-42538) + control: input.control + active: control.selectByMouse && Settings.isMobile + minimum: input.hasSelection ? selectionHandle.position + 1 : -1 + + readonly property var mappedOrigin: editor.mapToItem(parent, 0,0) + + // Mention scenePos in the mappedPos binding to force re-evaluation if it changes + readonly property var mappedPos: listener.scenePos.x !== listener.scenePos.y !== Number.MAX_VALUE ? + editor.mapToItem(parent, editor.cursorRectangle.x, editor.cursorRectangle.y) : -1 + x: mappedPos.x + y: mappedPos.y + + visible: pressed || ((input.cursorVisible || input.hasSelection) && handleX + handleWidth >= -1 && handleX - mappedOrigin.x <= control.width + 1) + + onPositionChanged: { + if (!input.blockRecursion) { + input.blockRecursion = true + if (!input.hasSelection) + selectionHandle.position = cursorHandle.position + input.select(selectionHandle.position, cursorHandle.position) + input.blockRecursion = false + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextInputWithHandles.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextInputWithHandles.qmlc new file mode 100644 index 00000000..86fce2f5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextInputWithHandles.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextSingleton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextSingleton.qml new file mode 100644 index 00000000..83254698 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextSingleton.qml @@ -0,0 +1,43 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +pragma Singleton +import QtQuick 2.2 +Text { +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextSingleton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextSingleton.qmlc new file mode 100644 index 00000000..d0e3c559 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TextSingleton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ToolMenuButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ToolMenuButton.qml new file mode 100644 index 00000000..e6fba40c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ToolMenuButton.qml @@ -0,0 +1,127 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.4 +import QtQuick.Controls 1.3 +import QtQuick.Controls.Private 1.0 + +FocusScope { + id: button + + property Menu menu + readonly property bool pressed: behavior.containsPress || behavior.keyPressed + readonly property alias hovered: behavior.containsMouse + + property alias panel: loader.sourceComponent + property alias __panel: loader.item + + activeFocusOnTab: true + Accessible.role: Accessible.Button + implicitWidth: __panel ? __panel.implicitWidth : 0 + implicitHeight: __panel ? __panel.implicitHeight : 0 + + Loader { + id: loader + anchors.fill: parent + property QtObject styleData: QtObject { + readonly property alias pressed: button.pressed + readonly property alias hovered: button.hovered + readonly property alias activeFocus: button.activeFocus + } + onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", button) + } + + Keys.onPressed: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat && !behavior.keyPressed) + behavior.keyPressed = true + } + Keys.onReleased: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat && behavior.keyPressed) + behavior.keyPressed = false + } + onFocusChanged: { + if (!focus) + behavior.keyPressed = false + } + onPressedChanged: { + if (!Settings.hasTouchScreen && !pressed && menu) + popupMenuTimer.start() + } + + MouseArea { + id: behavior + property bool keyPressed: false + + anchors.fill: parent + enabled: !keyPressed + hoverEnabled: Settings.hoverEnabled + + onReleased: { + if (Settings.hasTouchScreen && containsMouse && menu) + popupMenuTimer.start() + } + + Timer { + id: popupMenuTimer + interval: 10 + onTriggered: { + behavior.keyPressed = false + if (Qt.application.layoutDirection === Qt.RightToLeft) + menu.__popup(Qt.rect(button.width, button.height, 0, 0), 0) + else + menu.__popup(Qt.rect(0, 0, button.width, button.height), 0) + } + } + } + + Qml.Binding { + target: menu + property: "__minimumWidth" + value: button.width + restoreMode: Binding.RestoreBinding + } + + Qml.Binding { + target: menu + property: "__visualItem" + value: button + restoreMode: Binding.RestoreBinding + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ToolMenuButton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ToolMenuButton.qmlc new file mode 100644 index 00000000..e7d0bce4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/ToolMenuButton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml new file mode 100644 index 00000000..ed9566af --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml @@ -0,0 +1,109 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +import QtQuick 2.5 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype TreeViewItemDelegateLoader + \internal + \qmlabstract + \inqmlmodule QtQuick.Controls.Private +*/ + +TableViewItemDelegateLoader { + id: itemDelegateLoader + + /* \internal */ + readonly property int __itemIndentation: __style && __index === 0 + ? __style.__indentation * (styleData.depth + 1) : 0 + /* \internal */ + property TreeModelAdaptor __treeModel: null + + // Exposed to the item delegate + styleData: QtObject { + readonly property int row: __rowItem ? __rowItem.rowIndex : -1 + readonly property int column: __index + readonly property int elideMode: __column ? __column.elideMode : Text.ElideLeft + readonly property int textAlignment: __column ? __column.horizontalAlignment : Text.AlignLeft + readonly property bool selected: __rowItem ? __rowItem.itemSelected : false + readonly property bool hasActiveFocus: __rowItem ? __rowItem.activeFocus : false + readonly property bool pressed: __mouseArea && row === __mouseArea.pressedRow && column === __mouseArea.pressedColumn + readonly property color textColor: __rowItem ? __rowItem.itemTextColor : "black" + readonly property string role: __column ? __column.role : "" + readonly property var value: model && model.hasOwnProperty(role) ? model[role] : "" + readonly property var index: model ? model["_q_TreeView_ModelIndex"] : __treeModel.index(-1,-1) + readonly property int depth: model && column === 0 ? model["_q_TreeView_ItemDepth"] : 0 + readonly property bool hasChildren: model ? model["_q_TreeView_HasChildren"] : false + readonly property bool hasSibling: model ? model["_q_TreeView_HasSibling"] : false + readonly property bool isExpanded: model ? model["_q_TreeView_ItemExpanded"] : false + } + + onLoaded: { + item.x = Qt.binding(function() { return __itemIndentation}) + item.width = Qt.binding(function() { return width - __itemIndentation }) + } + + Loader { + id: branchDelegateLoader + active: __model !== undefined + && __index === 0 + && styleData.hasChildren + visible: itemDelegateLoader.width > __itemIndentation + sourceComponent: __style && __style.__branchDelegate || null + anchors.right: parent.item ? parent.item.left : undefined + anchors.rightMargin: __style.__indentation > width ? (__style.__indentation - width) / 2 : 0 + anchors.verticalCenter: parent.verticalCenter + property QtObject styleData: itemDelegateLoader.styleData + onLoaded: if (__rowItem) __rowItem.branchDecoration = item + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qmlc new file mode 100644 index 00000000..cf910880 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/qmldir new file mode 100644 index 00000000..9fe84203 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/qmldir @@ -0,0 +1,37 @@ +module QtQuick.Controls.Private +AbstractCheckable 1.0 AbstractCheckable.qml +CalendarHeaderModel 1.0 CalendarHeaderModel.qml +Control 1.0 Control.qml +CalendarUtils 1.0 CalendarUtils.js +FocusFrame 1.0 FocusFrame.qml +Margins 1.0 Margins.qml +BasicButton 1.0 BasicButton.qml +ScrollBar 1.0 ScrollBar.qml +ScrollViewHelper 1.0 ScrollViewHelper.qml +Style 1.0 Style.qml +MenuItemSubControls 1.0 MenuItemSubControls.qml +TabBar 1.0 TabBar.qml +StackViewSlideDelegate 1.0 StackViewSlideDelegate.qml +StyleHelpers 1.0 style.js +JSArray 1.0 StackView.js +TableViewSelection 1.0 TableViewSelection.qml +FastGlow 1.0 FastGlow.qml +SourceProxy 1.0 SourceProxy.qml +GroupBoxStyle 1.0 ../Styles/Base/GroupBoxStyle.qml +FocusFrameStyle 1.0 ../Styles/Base/FocusFrameStyle.qml +ToolButtonStyle 1.0 ../Styles/Base/ToolButtonStyle.qml +MenuContentItem 1.0 MenuContentItem.qml +MenuContentScroller 1.0 MenuContentScroller.qml +ColumnMenuContent 1.0 ColumnMenuContent.qml +ContentItem 1.0 ContentItem.qml +HoverButton 1.0 HoverButton.qml +singleton SystemPaletteSingleton 1.0 SystemPaletteSingleton.qml +singleton TextSingleton 1.0 TextSingleton.qml +TextHandle 1.0 TextHandle.qml +TextInputWithHandles 1.0 TextInputWithHandles.qml +EditMenu 1.0 EditMenu.qml +EditMenu_base 1.0 EditMenu_base.qml +ToolMenuButton 1.0 ToolMenuButton.qml +BasicTableView 1.0 BasicTableView.qml +TableViewItemDelegateLoader 1.0 TableViewItemDelegateLoader.qml +TreeViewItemDelegateLoader 1.0 TreeViewItemDelegateLoader.qml diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/style.js b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/style.js new file mode 100644 index 00000000..844fdbda --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/style.js @@ -0,0 +1,62 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +.pragma library + +function underlineAmpersands(match, p1, p2, p3) { + if (p2 === "&") + return p1.concat(p2, p3) + return p1.concat("", p2, "", p3) +} + +function removeAmpersands(match, p1, p2, p3) { + return p1.concat(p2, p3) +} + +function replaceAmpersands(text, replaceFunction) { + return text.replace(/([^&]*)&(.)([^&]*)/g, replaceFunction) +} + +function stylizeMnemonics(text) { + return replaceAmpersands(text, underlineAmpersands) +} + +function removeMnemonics(text) { + return replaceAmpersands(text, removeAmpersands) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/style.jsc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/style.jsc new file mode 100644 index 00000000..f079143e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Private/style.jsc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ProgressBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ProgressBar.qml new file mode 100644 index 00000000..9171f7d7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ProgressBar.qml @@ -0,0 +1,167 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ProgressBar + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief A progress indicator. + + \image progressbar.png + + The ProgressBar is used to give an indication of the progress of an operation. + \l value is updated regularly and must be between \l minimumValue and \l maximumValue. + + \code + Column { + ProgressBar { + value: 0.5 + } + ProgressBar { + indeterminate: true + } + } + \endcode + + You can create a custom appearance for a ProgressBar by + assigning a \l {ProgressBarStyle}. +*/ + +Control { + id: progressbar + + /*! This property holds the progress bar's current value. + Attempting to change the current value to one outside the minimum-maximum + range has no effect on the current value. + + The default value is \c{0}. + */ + property real value: 0 + + /*! This property is the progress bar's minimum value. + The \l value is clamped to this value. + The default value is \c{0}. + */ + property real minimumValue: 0 + + /*! This property is the progress bar's maximum value. + The \l value is clamped to this value. + If maximumValue is smaller than \l minimumValue, \l minimumValue will be enforced. + The default value is \c{1}. + */ + property real maximumValue: 1 + + /*! This property toggles indeterminate mode. + When the actual progress is unknown, use this option. + The progress bar will be animated as a busy indicator instead. + The default value is \c false. + */ + property bool indeterminate: false + + /*! \qmlproperty enumeration orientation + + This property holds the orientation of the progress bar. + + \list + \li Qt.Horizontal - Horizontal orientation. (Default) + \li Qt.Vertical - Vertical orientation. + \endlist + */ + property int orientation: Qt.Horizontal + + /*! \qmlproperty bool ProgressBar::hovered + + This property indicates whether the control is being hovered. + */ + readonly property alias hovered: hoverArea.containsMouse + + /*! \internal */ + style: Settings.styleComponent(Settings.style, "ProgressBarStyle.qml", progressbar) + + /*! \internal */ + property bool __initialized: false + /*! \internal */ + onMaximumValueChanged: setValue(value) + /*! \internal */ + onMinimumValueChanged: setValue(value) + /*! \internal */ + onValueChanged: if (__initialized) setValue(value) + /*! \internal */ + Component.onCompleted: { + __initialized = true; + setValue(value) + } + + activeFocusOnTab: false + + Accessible.role: Accessible.ProgressBar + Accessible.name: value + + implicitWidth:(__panel ? __panel.implicitWidth : 0) + implicitHeight: (__panel ? __panel.implicitHeight: 0) + + MouseArea { + id: hoverArea + anchors.fill: parent + hoverEnabled: Settings.hoverEnabled + } + + /*! \internal */ + function setValue(v) { + var newval = parseFloat(v) + if (!isNaN(newval)) { + // we give minimumValue priority over maximum if they are inconsistent + if (newval > maximumValue) { + if (maximumValue >= minimumValue) + newval = maximumValue; + else + newval = minimumValue + } else if (v < minimumValue) { + newval = minimumValue + } + if (value !== newval) + value = newval + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ProgressBar.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ProgressBar.qmlc new file mode 100644 index 00000000..aac176b7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ProgressBar.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/RadioButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/RadioButton.qml new file mode 100644 index 00000000..cc191f5b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/RadioButton.qml @@ -0,0 +1,99 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype RadioButton + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief A radio button with a text label. + + \image radiobutton.png + + A RadioButton is an option button that can be switched on (checked) or off + (unchecked). Radio buttons typically present the user with a "one of many" + choices. In a group of radio buttons, only one radio button can be + checked at a time; if the user selects another button, the previously + selected button is switched off. + + \qml + GroupBox { + title: "Tab Position" + + RowLayout { + ExclusiveGroup { id: tabPositionGroup } + RadioButton { + text: "Top" + checked: true + exclusiveGroup: tabPositionGroup + } + RadioButton { + text: "Bottom" + exclusiveGroup: tabPositionGroup + } + } + } + \endqml + + You can create a custom appearance for a RadioButton by + assigning a \l {RadioButtonStyle}. +*/ + +AbstractCheckable { + id: radioButton + + activeFocusOnTab: true + + Accessible.name: text + Accessible.role: Accessible.RadioButton + + /*! + The style that should be applied to the radio button. Custom style + components can be created with: + + \codeline Qt.createComponent("path/to/style.qml", radioButtonId); + */ + style: Settings.styleComponent(Settings.style, "RadioButtonStyle.qml", radioButton) + + __cycleStatesHandler: function() { checked = !checked; } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/RadioButton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/RadioButton.qmlc new file mode 100644 index 00000000..8969b581 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/RadioButton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ScrollView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ScrollView.qml new file mode 100644 index 00000000..f79cfc8e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ScrollView.qml @@ -0,0 +1,374 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.1 + +/*! + \qmltype ScrollView + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup views + \ingroup controls + \brief Provides a scrolling view within another Item. + + \image scrollview.png + + A ScrollView can be used either to replace a \l Flickable or decorate an + existing \l Flickable. Depending on the platform, it will add scroll bars and + a content frame. + + Only one Item can be a direct child of the ScrollView and the child is implicitly anchored + to fill the scroll view. + + Example: + \code + ScrollView { + Image { source: "largeImage.png" } + } + \endcode + + In the previous example the Image item will implicitly get scroll behavior as if it was + used within a \l Flickable. The width and height of the child item will be used to + define the size of the content area. + + Example: + \code + ScrollView { + ListView { + ... + } + } + \endcode + + In this case the content size of the ScrollView will simply mirror that of its contained + \l flickableItem. + + You can create a custom appearance for a ScrollView by + assigning a \l {ScrollViewStyle}. +*/ + +FocusScope { + id: root + + implicitWidth: 240 + implicitHeight: 150 + + /*! + This property tells the ScrollView if it should render + a frame around its content. + + The default value is \c false. + */ + property bool frameVisible: false + + /*! \qmlproperty enumeration ScrollView::horizontalScrollBarPolicy + \since QtQuick.Controls 1.3 + + This property holds the policy for showing the horizontal scrollbar. + It can be any of the following values: + \list + \li Qt.ScrollBarAsNeeded + \li Qt.ScrollBarAlwaysOff + \li Qt.ScrollBarAlwaysOn + \endlist + + The default policy is \c Qt.ScrollBarAsNeeded. + */ + property alias horizontalScrollBarPolicy: scroller.horizontalScrollBarPolicy + + /*! \qmlproperty enumeration ScrollView::verticalScrollBarPolicy + \since QtQuick.Controls 1.3 + + This property holds the policy for showing the vertical scrollbar. + It can be any of the following values: + \list + \li Qt.ScrollBarAsNeeded + \li Qt.ScrollBarAlwaysOff + \li Qt.ScrollBarAlwaysOn + \endlist + + The default policy is \c Qt.ScrollBarAsNeeded. + */ + property alias verticalScrollBarPolicy: scroller.verticalScrollBarPolicy + + /*! + This property controls if there should be a highlight + around the frame when the ScrollView has input focus. + + The default value is \c false. + + \note This property is only applicable on some platforms, such + as Mac OS. + */ + property bool highlightOnFocus: false + + /*! + \qmlproperty Item ScrollView::viewport + + The viewport determines the current "window" on the contentItem. + In other words, it clips it and the size of the viewport tells you + how much of the content area is visible. + */ + property alias viewport: viewportItem + + /*! + \qmlproperty Item ScrollView::flickableItem + + The flickableItem of the ScrollView. If the contentItem provided + to the ScrollView is a Flickable, it will be the \l contentItem. + */ + readonly property alias flickableItem: internal.flickableItem + + /*! + The contentItem of the ScrollView. This is set by the user. + + Note that the definition of contentItem is somewhat different to that + of a Flickable, where the contentItem is implicitly created. + */ + default property Item contentItem + + /*! \internal */ + property alias __scroller: scroller + /*! \internal */ + property alias __verticalScrollbarOffset: scroller.verticalScrollbarOffset + /*! \internal */ + property alias __wheelAreaScrollSpeed: wheelArea.scrollSpeed + /*! \internal */ + property int __scrollBarTopMargin: 0 + /*! \internal */ + property int __viewTopMargin: 0 + /*! \internal */ + property alias __horizontalScrollBar: scroller.horizontalScrollBar + /*! \internal */ + property alias __verticalScrollBar: scroller.verticalScrollBar + /*! \qmlproperty Component ScrollView::style + + The style Component for this control. + \sa {Qt Quick Controls 1 Styles QML Types} + + */ + property Component style: Settings.styleComponent(Settings.style, "ScrollViewStyle.qml", root) + + /*! \internal */ + property Style __style: styleLoader.item + + activeFocusOnTab: false + + onContentItemChanged: { + + if (contentItem.hasOwnProperty("contentY") && // Check if flickable + contentItem.hasOwnProperty("contentHeight")) { + internal.flickableItem = contentItem // "Use content if it is a flickable + internal.flickableItem.parent = viewportItem + } else { + internal.flickableItem = flickableComponent.createObject(viewportItem) + contentItem.parent = internal.flickableItem.contentItem + } + internal.flickableItem.anchors.fill = viewportItem + if (!Settings.hasTouchScreen) + internal.flickableItem.interactive = false + } + + + children: Item { + id: internal + + property Flickable flickableItem + + Loader { + id: styleLoader + sourceComponent: style + onStatusChanged: { + if (status === Loader.Error) + console.error("Failed to load Style for", root) + } + property alias __control: root + } + + Qml.Binding { + target: flickableItem + property: "contentHeight" + when: contentItem !== flickableItem + value: contentItem ? contentItem.height : 0 + restoreMode: Binding.RestoreBinding + } + + Qml.Binding { + target: flickableItem + when: contentItem !== flickableItem + property: "contentWidth" + value: contentItem ? contentItem.width : 0 + restoreMode: Binding.RestoreBinding + } + + Connections { + target: flickableItem + + function onContentYChanged() { + scroller.blockUpdates = true + scroller.verticalScrollBar.value = flickableItem.contentY - flickableItem.originY + scroller.blockUpdates = false + } + + function onContentXChanged() { + scroller.blockUpdates = true + scroller.horizontalScrollBar.value = flickableItem.contentX - flickableItem.originX + scroller.blockUpdates = false + } + + } + + anchors.fill: parent + + Component { + id: flickableComponent + Flickable {} + } + + WheelArea { + id: wheelArea + parent: flickableItem + z: -1 + // ### Note this is needed due to broken mousewheel behavior in Flickable. + + anchors.fill: parent + + property int acceleration: 40 + property int flickThreshold: Settings.dragThreshold + property real speedThreshold: 3 + property real ignored: 0.001 // ## flick() does not work with 0 yVelocity + property int maxFlick: 400 + + property bool horizontalRecursionGuard: false + property bool verticalRecursionGuard: false + + horizontalMinimumValue: 0 + horizontalMaximumValue: flickableItem ? flickableItem.contentWidth - viewport.width : 0 + onHorizontalMaximumValueChanged: { + wheelArea.horizontalRecursionGuard = true + //if horizontalMaximumValue changed, horizontalValue may be actually synced with + wheelArea.horizontalValue = flickableItem.contentX - flickableItem.originX; + wheelArea.horizontalRecursionGuard = false + } + + verticalMinimumValue: 0 + verticalMaximumValue: flickableItem ? flickableItem.contentHeight - viewport.height + __viewTopMargin : 0 + onVerticalMaximumValueChanged: { + wheelArea.verticalRecursionGuard = true + //if verticalMaximumValue changed, verticalValue may be actually synced with + wheelArea.verticalValue = flickableItem.contentY - flickableItem.originY; + wheelArea.verticalRecursionGuard = false + } + + // The default scroll speed for typical angle-based mouse wheels. The value + // comes originally from QTextEdit, which sets 20px steps by default, as well as + // QQuickWheelArea. + // TODO: centralize somewhere, QPlatformTheme? + scrollSpeed: 20 * (__style && __style.__wheelScrollLines || 1) + + Connections { + target: flickableItem + + function onContentYChanged() { + wheelArea.verticalRecursionGuard = true + wheelArea.verticalValue = flickableItem.contentY - flickableItem.originY + wheelArea.verticalRecursionGuard = false + } + function onContentXChanged() { + wheelArea.horizontalRecursionGuard = true + wheelArea.horizontalValue = flickableItem.contentX - flickableItem.originX + wheelArea.horizontalRecursionGuard = false + } + } + + onVerticalValueChanged: { + if (!verticalRecursionGuard) { + var effectiveContentY = flickableItem.contentY - flickableItem.originY + if (effectiveContentY < flickThreshold && verticalDelta > speedThreshold) { + flickableItem.flick(ignored, Math.min(maxFlick, acceleration * verticalDelta)) + } else if (effectiveContentY > flickableItem.contentHeight - flickThreshold - viewport.height + && verticalDelta < -speedThreshold) { + flickableItem.flick(ignored, Math.max(-maxFlick, acceleration * verticalDelta)) + } else { + flickableItem.contentY = verticalValue + flickableItem.originY + } + } + } + + onHorizontalValueChanged: { + if (!horizontalRecursionGuard) + flickableItem.contentX = horizontalValue + flickableItem.originX + } + } + + ScrollViewHelper { + id: scroller + anchors.fill: parent + active: wheelArea.active + property bool outerFrame: !frameVisible || !(__style ? __style.__externalScrollBars : 0) + property int scrollBarSpacing: outerFrame ? 0 : (__style ? __style.__scrollBarSpacing : 0) + property int verticalScrollbarOffset: verticalScrollBar.visible && !verticalScrollBar.isTransient ? + verticalScrollBar.width + scrollBarSpacing : 0 + property int horizontalScrollbarOffset: horizontalScrollBar.visible && !horizontalScrollBar.isTransient ? + horizontalScrollBar.height + scrollBarSpacing : 0 + Loader { + id: frameLoader + sourceComponent: __style ? __style.frame : null + anchors.fill: parent + anchors.rightMargin: scroller.outerFrame ? 0 : scroller.verticalScrollbarOffset + anchors.bottomMargin: scroller.outerFrame ? 0 : scroller.horizontalScrollbarOffset + } + + Item { + id: viewportItem + anchors.fill: frameLoader + anchors.topMargin: frameVisible ? __style.padding.top : 0 + anchors.leftMargin: frameVisible ? __style.padding.left : 0 + anchors.rightMargin: (frameVisible ? __style.padding.right : 0) + (scroller.outerFrame ? scroller.verticalScrollbarOffset : 0) + anchors.bottomMargin: (frameVisible ? __style.padding.bottom : 0) + (scroller.outerFrame ? scroller.horizontalScrollbarOffset : 0) + clip: true + } + } + FocusFrame { visible: highlightOnFocus && root.activeFocus } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ScrollView.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ScrollView.qmlc new file mode 100644 index 00000000..e454b14f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ScrollView.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Slider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Slider.qml new file mode 100644 index 00000000..ff2f0c23 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Slider.qml @@ -0,0 +1,347 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype Slider + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief Provides a vertical or horizontal slider control. + + \image slider.png + + The slider is the classic control for providing a bounded value. It lets + the user move a slider handle along a horizontal or vertical groove + and translates the handle's position into a value within the legal range. + + \code + Slider { + value: 0.5 + } + \endcode + + The slider value is by default in the range [0, 1]. If integer values are + needed, you can set the \l stepSize. + + You can create a custom appearance for a Slider by + assigning a \l {SliderStyle}. +*/ + +Control { + id: slider + + /*! + \qmlproperty enumeration Slider::orientation + + This property holds the layout orientation of the slider. + The default value is \c Qt.Horizontal. + */ + property int orientation: Qt.Horizontal + + /*! + \qmlproperty real Slider::minimumValue + + This property holds the minimum value of the slider. + The default value is \c{0.0}. + */ + property alias minimumValue: range.minimumValue + + /*! + \qmlproperty real Slider::maximumValue + + This property holds the maximum value of the slider. + The default value is \c{1.0}. + */ + property alias maximumValue: range.maximumValue + + /*! + \qmlproperty bool Slider::updateValueWhileDragging + + This property indicates whether the current \l value should be updated while + the user is moving the slider handle, or only when the button has been released. + This property could for instance be modified if changing the slider value would turn + out to be too time consuming. + + The default value is \c true. + */ + property bool updateValueWhileDragging: true + + /*! + \qmlproperty bool Slider::pressed + + This property indicates whether the slider handle is being pressed. + */ + readonly property alias pressed: mouseArea.pressed + + /*! + \qmlproperty bool Slider::hovered + + This property indicates whether the slider handle is being hovered. + */ + readonly property alias hovered: mouseArea.handleHovered + + /*! + \qmlproperty real Slider::stepSize + + This property indicates the slider step size. + + A value of 0 indicates that the value of the slider operates in a + continuous range between \l minimumValue and \l maximumValue. + + Any non 0 value indicates a discrete stepSize. The following example + will generate a slider with integer values in the range [0-5]. + + \qml + Slider { + maximumValue: 5.0 + stepSize: 1.0 + } + \endqml + + The default value is \c{0.0}. + */ + property alias stepSize: range.stepSize + + /*! + \qmlproperty real Slider::value + + This property holds the current value of the slider. + The default value is \c{0.0}. + */ + property alias value: range.value + + /*! + \qmlproperty bool Slider::activeFocusOnPress + + This property indicates whether the slider should receive active focus when + pressed. + */ + property bool activeFocusOnPress: false + + /*! + \qmlproperty bool Slider::tickmarksEnabled + + This property indicates whether the slider should display tickmarks + at step intervals. Tick mark spacing is calculated based on the + \l stepSize property. + + The default value is \c false. + + \note This property may be ignored on some platforms when using the native style (e.g. Android). + */ + property bool tickmarksEnabled: false + + /*! + \qmlproperty bool Slider::wheelEnabled + + This property determines whether the control handles wheel events. + The default value is \c true. + + \since QtQuick.Controls 1.6 + */ + property alias wheelEnabled: wheelarea.enabled + + /*! \internal */ + property bool __horizontal: orientation === Qt.Horizontal + + /*! \internal + The extra arguments positionAtMinimum and positionAtMaximum are there to force + re-evaluation of the handle position when the constraints change (QTBUG-41255), + and the same for range.minimumValue (QTBUG-51765) and range.maximumValue (QTBUG-63354). + */ + property real __handlePos: range.valueForPosition(__horizontal ? fakeHandle.x : fakeHandle.y, + range.positionAtMinimum, range.positionAtMaximum, range.minimumValue, range.maximumValue) + + activeFocusOnTab: true + + Accessible.role: Accessible.Slider + /*! \internal */ + function accessibleIncreaseAction() { + range.increaseSingleStep() + } + /*! \internal */ + function accessibleDecreaseAction() { + range.decreaseSingleStep() + } + + style: Settings.styleComponent(Settings.style, "SliderStyle.qml", slider) + + Keys.onRightPressed: if (__horizontal) range.increaseSingleStep() + Keys.onLeftPressed: if (__horizontal) range.decreaseSingleStep() + Keys.onUpPressed: if (!__horizontal) range.increaseSingleStep() + Keys.onDownPressed: if (!__horizontal) range.decreaseSingleStep() + + RangeModel { + id: range + minimumValue: 0.0 + maximumValue: 1.0 + value: 0 + stepSize: 0.0 + inverted: __horizontal ? false : true + + positionAtMinimum: 0 + positionAtMaximum: __horizontal ? slider.width - fakeHandle.width : slider.height - fakeHandle.height + } + + Item { + id: fakeHandle + anchors.verticalCenter: __horizontal ? parent.verticalCenter : undefined + anchors.horizontalCenter: !__horizontal ? parent.horizontalCenter : undefined + width: __panel.handleWidth + height: __panel.handleHeight + + function updatePos() { + if (updateValueWhileDragging && !mouseArea.drag.active) + range.position = __horizontal ? x : y + } + + onXChanged: updatePos(); + onYChanged: updatePos(); + } + + MouseArea { + id: mouseArea + + anchors.fill: parent + hoverEnabled: Settings.hoverEnabled + property int clickOffset: 0 + property real pressX: 0 + property real pressY: 0 + property bool handleHovered: false + + function clamp ( val ) { + return Math.max(range.positionAtMinimum, Math.min(range.positionAtMaximum, val)) + } + + function updateHandlePosition(mouse, force) { + var pos, overThreshold + if (__horizontal) { + pos = clamp (mouse.x + clickOffset - fakeHandle.width/2) + overThreshold = Math.abs(mouse.x - pressX) >= Settings.dragThreshold + if (overThreshold) + preventStealing = true + if (overThreshold || force) + fakeHandle.x = pos + } else if (!__horizontal) { + pos = clamp (mouse.y + clickOffset- fakeHandle.height/2) + overThreshold = Math.abs(mouse.y - pressY) >= Settings.dragThreshold + if (overThreshold) + preventStealing = true + if (overThreshold || force) + fakeHandle.y = pos + } + } + + onPositionChanged: { + if (pressed) + updateHandlePosition(mouse, !Settings.hasTouchScreen || preventStealing) + + var point = mouseArea.mapToItem(fakeHandle, mouse.x, mouse.y) + handleHovered = fakeHandle.contains(Qt.point(point.x, point.y)) + } + + onPressed: { + if (slider.activeFocusOnPress) + slider.forceActiveFocus(); + + if (handleHovered) { + var point = mouseArea.mapToItem(fakeHandle, mouse.x, mouse.y) + clickOffset = __horizontal ? fakeHandle.width/2 - point.x : fakeHandle.height/2 - point.y + } + pressX = mouse.x + pressY = mouse.y + updateHandlePosition(mouse, !Settings.hasTouchScreen) + } + + onReleased: { + updateHandlePosition(mouse, Settings.hasTouchScreen) + // If we don't update while dragging, this is the only + // moment that the range is updated. + if (!slider.updateValueWhileDragging) + range.position = __horizontal ? fakeHandle.x : fakeHandle.y; + clickOffset = 0 + preventStealing = false + } + + onExited: handleHovered = false + } + + + // During the drag, we simply ignore the position set from the range, this + // means that setting a value while dragging will not "interrupt" the + // dragging activity. + Qml.Binding { + when: !mouseArea.drag.active + target: fakeHandle + property: __horizontal ? "x" : "y" + value: range.position + restoreMode: Binding.RestoreBinding + } + + WheelArea { + id: wheelarea + anchors.fill: parent + verticalValue: slider.value + horizontalValue: slider.value + horizontalMinimumValue: slider.minimumValue + horizontalMaximumValue: slider.maximumValue + verticalMinimumValue: slider.minimumValue + verticalMaximumValue: slider.maximumValue + property real step: (slider.maximumValue - slider.minimumValue)/(range.positionAtMaximum - range.positionAtMinimum) + + onVerticalWheelMoved: { + if (verticalDelta !== 0) { + var delta = Math.abs(verticalDelta)*step > stepSize ? verticalDelta*step : verticalDelta/Math.abs(verticalDelta)*stepSize + range.position = range.positionForValue(value - delta * (inverted ? 1 : -1)) + } + } + + onHorizontalWheelMoved: { + if (horizontalDelta !== 0) { + var delta = Math.abs(horizontalDelta)*step > stepSize ? horizontalDelta*step : horizontalDelta/Math.abs(horizontalDelta)*stepSize + range.position = range.positionForValue(value + delta * (inverted ? 1 : -1)) + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Slider.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Slider.qmlc new file mode 100644 index 00000000..3aaa4e2c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Slider.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SpinBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SpinBox.qml new file mode 100644 index 00000000..b7ec6a8f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SpinBox.qml @@ -0,0 +1,397 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype SpinBox + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief Provides a spin box control. + + \image spinbox.png + + SpinBox allows the user to choose a value by clicking the up or down buttons, or by + pressing up or down on the keyboard. The user can also type the value in manually. + + By default the SpinBox provides discrete values in the range [0-99] with a \l stepSize of 1 and 0 \l decimals. + + \code + SpinBox { + id: spinbox + } + \endcode + + Note that if you require decimal values you will need to set the \l decimals to a non 0 value. + + \code + SpinBox { + id: spinbox + decimals: 2 + } + \endcode + +*/ + +Control { + id: spinbox + + /*! + \qmlproperty real SpinBox::value + + The value of this SpinBox, clamped to \l minimumValue and \l maximumValue. + + The default value is \c{0.0}. + */ + property alias value: validator.value + + /*! + \qmlproperty real SpinBox::minimumValue + + The minimum value of the SpinBox range. + The \l value is clamped to this value. + + The default value is \c{0.0}. + */ + property alias minimumValue: validator.minimumValue + + /*! + \qmlproperty real SpinBox::maximumValue + + The maximum value of the SpinBox range. + The \l value is clamped to this value. If maximumValue is smaller than + \l minimumValue, \l minimumValue will be enforced. + + The default value is \c{99}. + */ + property alias maximumValue: validator.maximumValue + + /*! \qmlproperty real SpinBox::stepSize + The amount by which the \l value is incremented/decremented when a + spin button is pressed. + + The default value is \c{1.0}. + */ + property alias stepSize: validator.stepSize + + /*! \qmlproperty string SpinBox::suffix + The suffix for the value. I.e "cm" */ + property alias suffix: validator.suffix + + /*! \qmlproperty string SpinBox::prefix + The prefix for the value. I.e "$" */ + property alias prefix: validator.prefix + + /*! \qmlproperty int SpinBox::decimals + This property indicates the amount of decimals. + Note that if you enter more decimals than specified, they will + be truncated to the specified amount of decimal places. + The default value is \c{0}. + */ + property alias decimals: validator.decimals + + /*! \qmlproperty font SpinBox::font + + This property indicates the current font used by the SpinBox. + */ + property alias font: input.font + + /*! + \qmlproperty int SpinBox::cursorPosition + \since QtQuick.Controls 1.5 + + This property holds the position of the cursor in the SpinBox. + */ + property alias cursorPosition: input.cursorPosition + + + /*! This property indicates whether the Spinbox should get active + focus when pressed. + The default value is \c true. + */ + property bool activeFocusOnPress: true + + /*! \qmlproperty enumeration horizontalAlignment + \since QtQuick.Controls 1.1 + + This property indicates how the content is horizontally aligned + within the text field. + + The supported values are: + \list + \li Qt.AlignLeft + \li Qt.AlignHCenter + \li Qt.AlignRight + \endlist + + The default value is style dependent. + */ + property int horizontalAlignment: __panel ? __panel.horizontalAlignment : Qt.AlignLeft + + /*! + \qmlproperty bool SpinBox::hovered + + This property indicates whether the control is being hovered. + */ + readonly property bool hovered: mouseArea.containsMouse || input.containsMouse + || mouseUp.containsMouse || mouseDown.containsMouse + + /*! + \qmlsignal SpinBox::editingFinished() + \since QtQuick.Controls 1.1 + + This signal is emitted when the Return or Enter key is pressed or + the control loses focus. + + The corresponding handler is \c onEditingFinished. + */ + signal editingFinished() + + /*! + \qmlproperty bool SpinBox::selectByMouse + \since QtQuick.Controls 1.3 + + This property determines if the user can select the text with the + mouse. + + The default value is \c true. + */ + property bool selectByMouse: true + + /*! + \qmlproperty bool SpinBox::inputMethodComposing + \since QtQuick.Controls 1.3 + + This property holds whether the SpinBox has partial text input from an input method. + + While it is composing an input method may rely on mouse or key events from the SpinBox + to edit or commit the partial text. This property can be used to determine when to disable + events handlers that may interfere with the correct operation of an input method. + */ + readonly property bool inputMethodComposing: !!input.inputMethodComposing + + /*! + \since QtQuick.Controls 1.3 + + This property contains the edit \l Menu for working + with text selection. Set it to \c null if no menu + is wanted. + */ + property Component menu: input.editMenu.defaultMenu + + style: Settings.styleComponent(Settings.style, "SpinBoxStyle.qml", spinbox) + + /*! \internal */ + function __increment() { + validator.increment() + if (activeFocus) + input.selectValue() + } + + /*! \internal */ + function __decrement() { + validator.decrement() + if (activeFocus) + input.selectValue() + } + + /*! \internal */ + property alias __text: input.text + + /*! \internal */ + property alias __baselineOffset: input.baselineOffset + + __styleData: QtObject { + readonly property bool upEnabled: value != maximumValue; + readonly property alias upHovered: mouseUp.containsMouse + readonly property alias upPressed: mouseUp.pressed + + readonly property bool downEnabled: value != minimumValue; + readonly property alias downPressed: mouseDown.pressed + readonly property alias downHovered: mouseDown.containsMouse + + readonly property int contentHeight: Math.max(input.implicitHeight, 16) + readonly property int contentWidth: Math.max(maxSizeHint.implicitWidth, minSizeHint.implicitWidth) + } + + Text { + id: maxSizeHint + text: prefix + maximumValue.toFixed(decimals) + suffix + font: input.font + visible: false + } + + Text { + id: minSizeHint + text: prefix + minimumValue.toFixed(decimals) + suffix + font: input.font + visible: false + } + + activeFocusOnTab: true + + onActiveFocusChanged: if (activeFocus) input.selectValue() + + Accessible.name: input.text + Accessible.role: Accessible.SpinBox + Accessible.editable: true + + MouseArea { + id: mouseArea + anchors.fill: parent + hoverEnabled: Settings.hoverEnabled + onPressed: if (activeFocusOnPress) input.forceActiveFocus() + onWheel: { + if (wheel.angleDelta.y > 0) + __increment(); + else + __decrement(); + } + } + + TextInputWithHandles { + id: input + clip: contentWidth > width + anchors.fill: parent + anchors.leftMargin: __style ? __style.padding.left : 0 + anchors.topMargin: __style ? __style.padding.top : 0 + anchors.rightMargin: __style ? __style.padding.right: 0 + anchors.bottomMargin: __style ? __style.padding.bottom: 0 + + control: spinbox + cursorHandle: __style ? __style.__cursorHandle : undefined + selectionHandle: __style ? __style.__selectionHandle : undefined + + focus: true + activeFocusOnPress: spinbox.activeFocusOnPress + + horizontalAlignment: spinbox.horizontalAlignment + verticalAlignment: __panel ? __panel.verticalAlignment : Qt.AlignVCenter + inputMethodHints: Qt.ImhFormattedNumbersOnly + + validator: SpinBoxValidator { + id: validator + property bool ready: false // Delay validation until all properties are ready + onTextChanged: if (ready) input.text = validator.text + Component.onCompleted: {input.text = validator.text ; ready = true} + } + onAccepted: { + input.text = validator.text + selectValue() + } + + Keys.forwardTo: spinbox + + onEditingFinished: spinbox.editingFinished() + + font: __panel ? __panel.font : TextSingleton.font + color: __panel ? __panel.foregroundColor : "black" + selectionColor: __panel ? __panel.selectionColor : "black" + selectedTextColor: __panel ? __panel.selectedTextColor : "black" + + opacity: parent.enabled ? 1 : 0.5 + renderType: __style ? __style.renderType : Text.NativeRendering + + function selectValue() { + select(prefix.length, text.length - suffix.length) + } + } + + // Spinbox increment button + + MouseArea { + id: mouseUp + objectName: "mouseUp" + hoverEnabled: Settings.hoverEnabled + + property var upRect: __panel ? __panel.upRect : null + + anchors.left: parent.left + anchors.top: parent.top + + anchors.leftMargin: upRect ? upRect.x : 0 + anchors.topMargin: upRect ? upRect.y : 0 + + width: upRect ? upRect.width : 0 + height: upRect ? upRect.height : 0 + + onClicked: __increment() + onPressed: if (!Settings.hasTouchScreen && activeFocusOnPress) input.forceActiveFocus() + + property bool autoincrement: false; + onReleased: autoincrement = false + onExited: autoincrement = false + Timer { running: mouseUp.pressed; interval: 350 ; onTriggered: mouseUp.autoincrement = true } + Timer { running: mouseUp.autoincrement && mouseUp.containsMouse; interval: 60 ; repeat: true ; onTriggered: __increment() } + } + + // Spinbox decrement button + + MouseArea { + id: mouseDown + objectName: "mouseDown" + hoverEnabled: Settings.hoverEnabled + + onClicked: __decrement() + onPressed: if (!Settings.hasTouchScreen && activeFocusOnPress) input.forceActiveFocus() + + property var downRect: __panel ? __panel.downRect : null + + anchors.left: parent.left + anchors.top: parent.top + + anchors.leftMargin: downRect ? downRect.x : 0 + anchors.topMargin: downRect ? downRect.y : 0 + + width: downRect ? downRect.width : 0 + height: downRect ? downRect.height : 0 + + property bool autoincrement: false; + onReleased: autoincrement = false + onExited: autoincrement = false + Timer { running: mouseDown.pressed; interval: 350 ; onTriggered: mouseDown.autoincrement = true } + Timer { running: mouseDown.autoincrement && mouseDown.containsMouse; interval: 60 ; repeat: true ; onTriggered: __decrement() } + } + + Keys.onUpPressed: __increment() + Keys.onDownPressed: __decrement() +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SpinBox.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SpinBox.qmlc new file mode 100644 index 00000000..b6947e4f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SpinBox.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SplitView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SplitView.qml new file mode 100644 index 00000000..471e70a0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/SplitView.qml @@ -0,0 +1,633 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Layouts 1.0 +import QtQuick.Controls.Private 1.0 as Private +import QtQuick.Window 2.1 + +/*! + \qmltype SplitView + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup views + \ingroup controls + \brief Lays out items with a draggable splitter between each item. + + \image splitview.png + + SplitView is a control that lays out items horizontally or + vertically with a draggable splitter between each item. + + There will always be one (and only one) item in the SplitView that has \l{Layout::fillWidth}{Layout.fillWidth} + set to \c true (or \l{Layout::fillHeight}{Layout.fillHeight}, if orientation is Qt.Vertical). This means that the + item will get all leftover space when other items have been laid out. + By default, the last visible child of the SplitView will have this set, but + it can be changed by explicitly setting fillWidth to \c true on another item. + + As the fillWidth item will automatically be resized to fit the extra space, explicit assignments + to its width and height properties will be ignored (but \l{Layout::minimumWidth}{Layout.minimumWidth} and + \l{Layout::maximumWidth}{Layout.maximumWidth} will still be respected). + The initial sizes of other items should be set via their width and height properties. + Any binding assignment to an item's width or height will be broken as soon as the user + drags that item's splitter handle. + + A handle can belong to the item either on the left or top side, or on the right or bottom side: + \list + \li If the fillWidth item is to the right: the handle belongs to the left item. + \li if the fillWidth item is on the left: the handle belongs to the right item. + \endlist + + This will again control which item gets resized when the user drags a handle, + and which handle gets hidden when an item is told to hide. + + SplitView supports setting attached Layout properties on child items, which + means that you can set the following attached properties for each child: + \list + \li \l{Layout::minimumWidth}{Layout.minimumWidth} + \li \l{Layout::minimumHeight}{Layout.minimumHeight} + \li \l{Layout::maximumWidth}{Layout.maximumWidth} + \li \l{Layout::maximumHeight}{Layout.maximumHeight} + \li \l{Layout::fillWidth}{Layout.fillWidth} (\c true for only one child) + \li \l{Layout::fillHeight}{Layout.fillHeight} (\c true for only one child) + \endlist + + \note import QtQuick.Layouts 1.0 in your QML file in order to use the Layout + attached properties inside SplitView. + + Example: + + To create a SplitView with three items, and let the center item get superfluous space, one + could do the following: + + \qml + SplitView { + anchors.fill: parent + orientation: Qt.Horizontal + + Rectangle { + width: 200 + Layout.maximumWidth: 400 + color: "lightblue" + Text { + text: "View 1" + anchors.centerIn: parent + } + } + Rectangle { + id: centerItem + Layout.minimumWidth: 50 + Layout.fillWidth: true + color: "lightgray" + Text { + text: "View 2" + anchors.centerIn: parent + } + } + Rectangle { + width: 200 + color: "lightgreen" + Text { + text: "View 3" + anchors.centerIn: parent + } + } + } + + \endqml +*/ + +Item { + id: root + + /*! + \qmlproperty enumeration SplitView::orientation + + This property holds the orientation of the SplitView. + The value can be either \c Qt.Horizontal or \c Qt.Vertical. + The default value is \c Qt.Horizontal. + */ + property int orientation: Qt.Horizontal + + /*! + This property holds the delegate that will be instantiated between each + child item. Inside the delegate the following properties are available: + + \table + \row \li readonly property bool styleData.index \li Specifies the index of the splitter handle. The handle + between the first and the second item will get index 0, + the next handle index 1 etc. + \row \li readonly property bool styleData.hovered \li The handle is being hovered. + \row \li readonly property bool styleData.pressed \li The handle is being pressed. + \row \li readonly property bool styleData.resizing \li The handle is being dragged. + \endtable + +*/ + property Component handleDelegate: Rectangle { + width: 1 + height: 1 + color: Qt.darker(pal.window, 1.5) + } + + /*! + This propery is \c true when the user is resizing any of the items by + dragging on the splitter handles. + */ + property bool resizing: false + + /*! \internal */ + default property alias __contents: contents.data + /*! \internal */ + property alias __items: splitterItems.children + /*! \internal */ + property alias __handles: splitterHandles.children + + clip: true + Component.onCompleted: d.init() + onWidthChanged: d.updateLayout() + onHeightChanged: d.updateLayout() + onOrientationChanged: d.changeOrientation() + + /*! \qmlmethod void SplitView::addItem(Item item) + Add an \a item to the end of the view. + \since QtQuick.Controls 1.3 */ + function addItem(item) { + d.updateLayoutGuard = true + d.addItem_impl(item) + d.calculateImplicitSize() + d.updateLayoutGuard = false + d.updateFillIndex() + } + + /*! \qmlmethod void SplitView::removeItem(Item item) + Remove \a item from the view. + \since QtQuick.Controls 1.4 */ + function removeItem(item) { + d.updateLayoutGuard = true + var result = d.removeItem_impl(item) + if (result !== null) { + d.calculateImplicitSize() + d.updateLayoutGuard = false + d.updateFillIndex() + } + else { + d.updateLayoutGuard = false + } + } + + SystemPalette { id: pal } + + QtObject { + id: d + + readonly property string leftMargin: horizontal ? "leftMargin" : "topMargin" + readonly property string topMargin: horizontal ? "topMargin" : "leftMargin" + readonly property string rightMargin: horizontal ? "rightMargin" : "bottomMargin" + + property bool horizontal: orientation == Qt.Horizontal + readonly property string minimum: horizontal ? "minimumWidth" : "minimumHeight" + readonly property string maximum: horizontal ? "maximumWidth" : "maximumHeight" + readonly property string otherMinimum: horizontal ? "minimumHeight" : "minimumWidth" + readonly property string otherMaximum: horizontal ? "maximumHeight" : "maximumWidth" + readonly property string offset: horizontal ? "x" : "y" + readonly property string otherOffset: horizontal ? "y" : "x" + readonly property string size: horizontal ? "width" : "height" + readonly property string otherSize: horizontal ? "height" : "width" + readonly property string implicitSize: horizontal ? "implicitWidth" : "implicitHeight" + readonly property string implicitOtherSize: horizontal ? "implicitHeight" : "implicitWidth" + + property int fillIndex: -1 + property bool updateLayoutGuard: true + + function extraMarginSize(item, other) { + if (typeof(other) === 'undefined') + other = false; + if (other === horizontal) + // vertical + return item.Layout.topMargin + item.Layout.bottomMargin + return item.Layout.leftMargin + item.Layout.rightMargin + } + + function addItem_impl(item) + { + // temporarily set fillIndex to new item + fillIndex = __items.length + if (splitterItems.children.length > 0) + handleLoader.createObject(splitterHandles, {"__handleIndex":splitterItems.children.length - 1}) + + item.parent = splitterItems + d.initItemConnections(item) + } + + function initItemConnections(item) + { + // should match disconnections in terminateItemConnections + item.widthChanged.connect(d.updateLayout) + item.heightChanged.connect(d.updateLayout) + item.Layout.maximumWidthChanged.connect(d.updateLayout) + item.Layout.minimumWidthChanged.connect(d.updateLayout) + item.Layout.maximumHeightChanged.connect(d.updateLayout) + item.Layout.minimumHeightChanged.connect(d.updateLayout) + item.Layout.leftMarginChanged.connect(d.updateLayout) + item.Layout.topMarginChanged.connect(d.updateLayout) + item.Layout.rightMarginChanged.connect(d.updateLayout) + item.Layout.bottomMarginChanged.connect(d.updateLayout) + item.visibleChanged.connect(d.updateFillIndex) + item.Layout.fillWidthChanged.connect(d.updateFillIndex) + item.Layout.fillHeightChanged.connect(d.updateFillIndex) + } + + function terminateItemConnections(item) + { + // should match connections in initItemConnections + item.widthChanged.disconnect(d.updateLayout) + item.heightChanged.disconnect(d.updateLayout) + item.Layout.maximumWidthChanged.disconnect(d.updateLayout) + item.Layout.minimumWidthChanged.disconnect(d.updateLayout) + item.Layout.maximumHeightChanged.disconnect(d.updateLayout) + item.Layout.minimumHeightChanged.disconnect(d.updateLayout) + item.visibleChanged.disconnect(d.updateFillIndex) + item.Layout.fillWidthChanged.disconnect(d.updateFillIndex) + item.Layout.fillHeightChanged.disconnect(d.updateFillIndex) + } + + function removeItem_impl(item) + { + var pos = itemPos(item) + + // Check pos range + if (pos < 0 || pos >= __items.length) + return null + + // Temporary unset the fillIndex + fillIndex = __items.length - 1 + + // Remove the handle at the left/right of the item that + // is going to be removed + var handlePos = -1 + var hasPrevious = pos > 0 + var hasNext = (pos + 1) < __items.length + + if (hasPrevious) + handlePos = pos-1 + else if (hasNext) + handlePos = pos + if (handlePos >= 0) { + var handle = __handles[handlePos] + handle.visible = false + handle.parent = null + handle.destroy() + for (var i = handlePos; i < __handles.length; ++i) + __handles[i].__handleIndex = i + } + + // Remove the item. + // Disconnect the item to be removed + terminateItemConnections(item) + item.parent = null + + return item + } + + function itemPos(item) + { + for (var i = 0; i < __items.length; ++i) + if (item === __items[i]) + return i + return -1 + } + + function init() + { + for (var i=0; i<__contents.length; ++i) { + var item = __contents[i]; + if (!item.hasOwnProperty("x")) + continue + addItem_impl(item) + i-- // item was removed from list + } + + d.calculateImplicitSize() + d.updateLayoutGuard = false + d.updateFillIndex() + } + + function updateFillIndex() + { + if (lastItem.visible !== root.visible) + return + var policy = (root.orientation === Qt.Horizontal) ? "fillWidth" : "fillHeight" + for (var i=0; i<__items.length-1; ++i) { + if (__items[i].Layout[policy] === true) + break; + } + + d.fillIndex = i + d.updateLayout() + } + + function changeOrientation() + { + if (__items.length == 0) + return; + d.updateLayoutGuard = true + + // Swap width/height for items and handles: + for (var i=0; i<__items.length; ++i) { + var item = __items[i] + var tmp = item.x + item.x = item.y + item.y = tmp + tmp = item.width + item.width = item.height + item.height = tmp + + var handle = __handles[i] + if (handle) { + tmp = handle.x + handle.x = handle.y + handle.y = handle.x + tmp = handle.width + handle.width = handle.height + handle.height = tmp + } + } + + // Change d.horizontal explicit, since the binding will change too late: + d.horizontal = orientation == Qt.Horizontal + d.updateLayoutGuard = false + d.updateFillIndex() + } + + function calculateImplicitSize() + { + var implicitSize = 0 + var implicitOtherSize = 0 + + for (var i=0; i<__items.length; ++i) { + var item = __items[i]; + implicitSize += clampedMinMax(item[d.size], item.Layout[minimum], item.Layout[maximum]) + extraMarginSize(item) + var os = clampedMinMax(item[otherSize], item.Layout[otherMinimum], item.Layout[otherMaximum]) + extraMarginSize(item, true) + implicitOtherSize = Math.max(implicitOtherSize, os) + + var handle = __handles[i] + if (handle) + implicitSize += handle[d.size] //### Can handles have margins?? + } + + root[d.implicitSize] = implicitSize + root[d.implicitOtherSize] = implicitOtherSize + } + + function clampedMinMax(value, minimum, maximum) + { + if (value < minimum) + value = minimum + if (value > maximum) + value = maximum + return value + } + + function accumulatedSize(firstIndex, lastIndex, includeFillItemMinimum) + { + // Go through items and handles, and + // calculate their accummulated width. + var w = 0 + for (var i=firstIndex; i __handleIndex) + visible: __items[__handleIndex + (resizeLeftItem ? 0 : 1)].visible + sourceComponent: handleDelegate + onWidthChanged: d.updateLayout() + onHeightChanged: d.updateLayout() + onXChanged: moveHandle() + onYChanged: moveHandle() + + MouseArea { + id: mouseArea + anchors.fill: parent + property real defaultMargin: Private.Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : 2 + anchors.leftMargin: (parent.width <= 1) ? -defaultMargin : 0 + anchors.rightMargin: (parent.width <= 1) ? -defaultMargin : 0 + anchors.topMargin: (parent.height <= 1) ? -defaultMargin : 0 + anchors.bottomMargin: (parent.height <= 1) ? -defaultMargin : 0 + hoverEnabled: Private.Settings.hoverEnabled + drag.threshold: 0 + drag.target: parent + drag.axis: root.orientation === Qt.Horizontal ? Drag.XAxis : Drag.YAxis + cursorShape: root.orientation === Qt.Horizontal ? Qt.SplitHCursor : Qt.SplitVCursor + } + + function moveHandle() { + // Moving the handle means resizing an item. Which one, + // left or right, depends on where the fillItem is. + // 'updateLayout' will be overridden in case new width violates max/min. + // 'updateLayout' will be triggered when an item changes width. + if (d.updateLayoutGuard) + return + + var leftHandle, leftItem, rightItem, rightHandle + var leftEdge, rightEdge, newWidth, leftStopX, rightStopX + var i + + if (resizeLeftItem) { + // Ensure that the handle is not crossing other handles. So + // find the first visible handle to the left to determine the left edge: + leftEdge = 0 + for (i=__handleIndex-1; i>=0; --i) { + leftHandle = __handles[i] + if (leftHandle.visible) { + leftEdge = leftHandle[d.offset] + leftHandle[d.size] + break; + } + } + + // Ensure: leftStopX >= itemHandle[d.offset] >= rightStopX + var min = d.accumulatedSize(__handleIndex+1, __items.length, true) + rightStopX = root[d.size] - min - itemHandle[d.size] + leftStopX = Math.max(leftEdge, itemHandle[d.offset]) + itemHandle[d.offset] = Math.min(rightStopX, Math.max(leftStopX, itemHandle[d.offset])) + + newWidth = itemHandle[d.offset] - leftEdge + leftItem = __items[__handleIndex] + // The next line will trigger 'updateLayout': + leftItem[d.size] = newWidth + } else { + // Resize item to the right. + // Ensure that the handle is not crossing other handles. So + // find the first visible handle to the right to determine the right edge: + rightEdge = root[d.size] + for (i=__handleIndex+1; i<__handles.length; ++i) { + rightHandle = __handles[i] + if (rightHandle.visible) { + rightEdge = rightHandle[d.offset] + break; + } + } + + // Ensure: leftStopX <= itemHandle[d.offset] <= rightStopX + min = d.accumulatedSize(0, __handleIndex+1, true) + leftStopX = min - itemHandle[d.size] + rightStopX = Math.min((rightEdge - itemHandle[d.size]), itemHandle[d.offset]) + itemHandle[d.offset] = Math.max(leftStopX, Math.min(itemHandle[d.offset], rightStopX)) + + newWidth = rightEdge - (itemHandle[d.offset] + itemHandle[d.size]) + rightItem = __items[__handleIndex+1] + // The next line will trigger 'updateLayout': + rightItem[d.size] = newWidth + } + } + } + } + + Item { + id: contents + visible: false + anchors.fill: parent + } + Item { + id: splitterItems + anchors.fill: parent + } + Item { + id: splitterHandles + anchors.fill: parent + } + + Item { + id: lastItem + onVisibleChanged: d.updateFillIndex() + } + + Component.onDestruction: { + for (var i=0; i [A, B, C, D] - "push" transition animation between C and D + \li pop() => [A, B] - "pop" transition animation between C and B + \li \l{push()}{push(D, replace)} => [A, B, D] - "replace" transition between C and D + \li \l{pop()}{pop(A)} => [A] - "pop" transition between C and A + \endlist + + \note When the stack is empty, a push() will not perform a + transition animation because there is nothing to transition from (typically during + application start-up). A pop() on a stack with depth 1 or 0 is a no-operation. + If all items need to be removed from the stack, a separate function clear() is + available. + + Calling push() returns the item that was pushed onto the stack. + Calling pop() returns the item that was popped off the stack. When pop() is + called in an unwind operation, the top-most item (the first item that was + popped, which will also be the one transitioning out) is returned. + + \section1 Deep Linking + \e{Deep linking} means launching an application into a particular state. For example, + a newspaper application could be launched into showing a particular article, + bypassing the front item (and possibly a section item) that would normally have + to be navigated through to get to the article concerned. In terms of StackView, deep + linking means the ability to modify the state of the stack, so much so that it is + possible to push a set of items to the top of the stack, or to completely reset + the stack to a given state. + + The API for deep linking in StackView is the same as for basic navigation. Pushing + an array instead of a single item, will involve that all the items in that array will + be pushed onto the stack. The transition animation, however, will be conducted as + if only the last item in the array was pushed onto the stack. The normal semantics + of push() apply for deep linking, meaning that push() adds whatever is pushed onto + the stack. Note also that only the last item of the array will be loaded. + The rest will be lazy-loaded as needed when entering the screen upon subsequent + calls to pop (or when requesting the item by using \a get). + + This gives us the following result, given the stack [A, B, C]: + + \list + \li \l{push()}{push([D, E, F])} => [A, B, C, D, E, F] - "push" transition animation between C and F + \li \l{push()}{push([D, E, F], replace)} => [A, B, D, E, F] - "replace" transition animation between C and F + \li clear(); \l{push()}{push([D, E, F])} => [D, E, F] - no transition animation (since the stack was empty) + \endlist + + \section1 Pushing items + + An item pushed onto the StackView can be either an Item, a URL, a string + containing a URL, or a Component. To push it, assign it to a property "item" + inside a property list, and pass it as an argument to \l{StackView::push}{push}: + + \code + stackView.push({item: yourItem}) + \endcode + + The list can contain several properties that control how the item should be pushed: + \list + \li \c item: this property is required, and holds the item to be pushed. + \li \c properties: a list of QML properties to be assigned to the item upon push. These + properties will be copied into the item at load time, or when the item will become + the current item (normally upon push). + \li \c immediate: set this property to \c true to skip transition effects. When pushing + an array, this property only needs to be set on the first element to make the + whole operation immediate. + \li \c replace: set this property to replace the current item on the stack. When pushing + an array, you only need to set this property on the first element to replace + as many elements on the stack as inside the array. + \li \c destroyOnPop: set this boolean to \c true if StackView needs to destroy the item when + it is popped off the stack. By default (if \a destroyOnPop is not specified), StackView + will destroy items pushed as components or URLs. Items not destroyed will be re-parented + back to the original parents they had before being pushed onto the stack and hidden. + If you need to set this property, do it with care, so that items are not leaked. + \endlist + + If the only argument needed is "item", the following short-hand notation can be applied: + + \code + stackView.push(yourItem) + \endcode + + You can push several items in one go by using an array of property lists. This is + more efficient than pushing items one by one, as StackView can then load only the + last item in the list. The rest will be loaded as they are about to become + the current item (which happens when the stack is popped). The following example shows how + to push an array of items: + + \code + stackView.push([{item: yourItem1}, {item: yourItem2}]) + \endcode + + If an inline item is pushed, the item is temporarily re-parented into the StackView. When the item + is later popped off, it gets re-parented back to its original owner again. + If, however, an item is pushed as a component or a URL, the actual item will be created as an + item from that component. This happens automatically when the item is about to become the current + item in the stack. Ownership of the item will then normally be taken by the StackView, which will + automatically destroy the item when it is later popped off. The component that declared the item, by + contrast, remains in the ownership of the application and is not destroyed by the stack. + This can be overridden by explicitly setting \c{destroyOnPop} in the list of arguments given to push. + + If the \c properties to be pushed are specified, they will be copied into the item at loading time + (in case of a component or URL), or when the item becomes the current item (in case of an inline + item). The following example shows how this can be done: + + \code + stackView.push({item: someItem, properties: {fgcolor: "red", bgcolor: "blue"}}) + \endcode + + + \note If an item is declared inside another item, and that parent gets destroyed, + (even if a component was used), that child item will also be destroyed. + This follows normal Qt parent-child destruction rules, but sometimes comes as a surprise + for developers. + + \section1 Lifecycle + An item's lifecycle in the StackView can have the following transitions: + \list 1 + \li instantiation + \li inactive + \li activating + \li active + \li deactivating + \li inactive + \li destruction + \endlist + + It can move any number of times between inactive and active. When an item is activated, + it's visible on the screen and is considered to be the current item. An item + in a StackView that is not visible is not activated, even if the item is currently the + top-most item in the stack. When the stack becomes visible, the item that is top-most gets + activated. Likewise if the stack is then hidden, the topmost item would be deactivated. + Popping the item off the top of the stack at this point would not result in further + deactivation since the item is not active. + + There is an attached \l{Stack::status}{Stack.status} property that tracks the lifecycle. This + property is an enumeration with the following values: \c Stack.Inactive, \c Stack.Activating, + \c Stack.Active and \c Stack.Deactivating. Combined with the normal \c Component.onComplete and + \c Component.onDestruction signals, the entire lifecycle is thus: + + \list + \li Created: Component.onCompleted() + \li Activating: Stack.onStatusChanged (Stack.status is Stack.Activating) + \li Acivated: Stack.onStatusChanged (Stack.status is Stack.Active) + \li Deactivating: Stack.onStatusChanged (Stack.status is Stack.Deactivating) + \li Deactivated: Stack.onStatusChanged (Stack.status is Stack.Inactive) + \li Destruction: Component.onDestruction() + \endlist + + \section1 Finding items + Sometimes it is necessary to search for an item, for example, in order to unwind the stack to + an item to which the application does not have a reference. This is facilitated using a + function find() in StackView. The find() function takes a callback function as its + only argument. The callback gets invoked for each item in the stack (starting at the top). + If the callback returns true, then it signals that a match has been found and the find() + function returns that item. If the callback fails to return true (no match is found), + then find() returns \c null. + + The code below searches for an item in the stack that has a name "order_id" and then unwinds to + that item. Note that since find() returns \c {null} if no item is found, and since pop unwinds to + the bottom of the stack if null is given as the target item, the code works well even in + case no matching item is found. + + \code + stackView.pop(stackView.find(function(item) { + return item.name == "order_id"; + })); + \endcode + + You can also get to an item in the stack using \l {get()}{get(index)}. You should use + this function if your item depends on another item in the stack, as the function will + ensure that the item at the given index gets loaded before it is returned. + + \code + previousItem = stackView.get(myItem.Stack.index - 1)); + \endcode + + \section1 Transitions + + A transition is performed whenever a item is pushed or popped, and consists of + two items: enterItem and exitItem. The StackView itself will never move items + around, but instead delegates the job to an external animation set provided + by the style or the application developer. How items should visually enter and leave the stack + (and the geometry they should end up with) is therefore completely controlled from the outside. + + When the transition starts, the StackView will search for a transition that + matches the operation executed. There are three transitions to choose + from: \l {StackViewDelegate::}{pushTransition}, \l {StackViewDelegate::}{popTransition}, + and \l {StackViewDelegate::}{replaceTransition}. Each implements how + \c enterItem should animate in, and \c exitItem out. The transitions are + collected inside a StackViewDelegate object assigned to + \l {StackView::delegate}{delegate}. By default, popTransition and + replaceTransition will be the same as pushTransition, unless you set them + to something else. + + A simple fade transition could be implemented as: + + \qml + StackView { + delegate: StackViewDelegate { + function transitionFinished(properties) + { + properties.exitItem.opacity = 1 + } + + pushTransition: StackViewTransition { + PropertyAnimation { + target: enterItem + property: "opacity" + from: 0 + to: 1 + } + PropertyAnimation { + target: exitItem + property: "opacity" + from: 1 + to: 0 + } + } + } + } + \endqml + + PushTransition needs to inherit from StackViewTransition, which is a ParallelAnimation that + contains the properties \c enterItem and \c exitItem. These items should be assigned to the + \c target property of animations within the transition. Since the same items instance can + be pushed several times to a StackView, you should always override + \l {StackViewDelegate::transitionFinished()}{StackViewDelegate.transitionFinished()}. + Implement this function to reset any properties animated on the exitItem so that later + transitions can expect the items to be in a default state. + + A more complex example could look like the following. Here, the items are lying on the side before + being rotated to an upright position: + + \qml + StackView { + delegate: StackViewDelegate { + function transitionFinished(properties) + { + properties.exitItem.x = 0 + properties.exitItem.rotation = 0 + } + + pushTransition: StackViewTransition { + SequentialAnimation { + ScriptAction { + script: enterItem.rotation = 90 + } + PropertyAnimation { + target: enterItem + property: "x" + from: enterItem.width + to: 0 + } + PropertyAnimation { + target: enterItem + property: "rotation" + from: 90 + to: 0 + } + } + PropertyAnimation { + target: exitItem + property: "x" + from: 0 + to: -exitItem.width + } + } + } + } + \endqml + + \section2 Advanced usage + + When the StackView needs a new transition, it first calls + \l {StackViewDelegate::getTransition()}{StackViewDelegate.getTransition()}. + The base implementation of this function just looks for a property named \c properties.name inside + itself (root), which is how it finds \c {property Component pushTransition} in the examples above. + + \code + function getTransition(properties) + { + return root[properties.name] + } + \endcode + + You can override this function for your delegate if you need extra logic to decide which + transition to return. You could for example introspect the items, and return different animations + depending on the their internal state. StackView will expect you to return a Component that + contains a StackViewTransition, or a StackViewTransition directly. The former is easier, as StackView will + then create the transition and later destroy it when it's done, while avoiding any side effects + caused by the transition being alive long after it has run. Returning a StackViewTransition directly + can be useful if you need to write some sort of transition caching for performance reasons. + As an optimization, you can also return \c null to signal that you just want to show/hide the items + immediately without creating or running any transitions. You can also override this function if + you need to alter the items in any way before the transition starts. + + \c properties contains the properties that will be assigned to the StackViewTransition before + it runs. In fact, you can add more properties to this object during the call + if you need to initialize additional properties of your custom StackViewTransition when the returned + component is instantiated. + + The following example shows how you can decide which animation to use at runtime: + + \qml + StackViewDelegate { + function getTransition(properties) + { + return (properties.enterItem.Stack.index % 2) ? horizontalTransition : verticalTransition + } + + function transitionFinished(properties) + { + properties.exitItem.x = 0 + properties.exitItem.y = 0 + } + + property Component horizontalTransition: StackViewTransition { + PropertyAnimation { + target: enterItem + property: "x" + from: target.width + to: 0 + duration: 300 + } + PropertyAnimation { + target: exitItem + property: "x" + from: 0 + to: target.width + duration: 300 + } + } + + property Component verticalTransition: StackViewTransition { + PropertyAnimation { + target: enterItem + property: "y" + from: target.height + to: 0 + duration: 300 + } + PropertyAnimation { + target: exitItem + property: "y" + from: 0 + to: target.height + duration: 300 + } + } + } + \endqml + + \section1 Supported Attached Properties + + Items in a StackView support these attached properties: + \list + \li \l{Stack::index}{Stack.index} - Contains the index of the item inside the StackView + \li \l{Stack::view}{Stack.view} - Contains the StackView the item is in + \li \l{Stack::status}{Stack.status} - Contains the status of the item + \endlist +*/ + +FocusScope { + id: root + + /*! \qmlproperty int StackView::depth + \readonly + The number of items currently pushed onto the stack. + */ + readonly property alias depth: root.__depth + + /*! \qmlproperty Item StackView::currentItem + \readonly + The currently top-most item in the stack. + */ + readonly property alias currentItem: root.__currentItem + + /*! The first item that should be shown when the StackView is created. + \a initialItem can take same value as the first argument to \l{StackView::push()} + {StackView.push()}. Note that this is just a convenience for writing + \c{Component.onCompleted: stackView.push(myInitialItem)} + + Examples: + + \list + \li initialItem: Qt.resolvedUrl("MyItem.qml") + \li initialItem: myItem + \li initialItem: {"item" : Qt.resolvedUrl("MyRectangle.qml"), "properties" : {"color" : "red"}} + \endlist + \sa push + */ + property var initialItem: null + + /*! \readonly + \a busy is \c true if a transition is running, and \c false otherwise. */ + readonly property bool busy: __currentTransition !== null + + /*! The transitions to use when pushing or popping items. + For better understanding on how to apply custom transitions, read \l{Transitions}. + \sa {Transitions} */ + property StackViewDelegate delegate: StackViewSlideDelegate {} + + /*! \qmlmethod Item StackView::push(Item item) + Pushes an \a item onto the stack. + + The function can also take a property list as argument - \c {Item StackView::push(jsobject dict)}, which + should contain one or more of the following properties: + \list + \li \a item: this property is required, and holds the item you want to push. + \li \e properties: a list of QML properties that should be assigned + to the item upon push. These properties will be copied into the item when it is + loaded (in case of a component or URL), or when it becomes the current item for the + first time (normally upon push). + \li \e immediate: set this property to \c true to skip transition effects. When pushing + an array, you only need to set this property on the first element to make the + whole operation immediate. + \li \e replace: set this property to replace the current item on the stack. When pushing + an array, you only need to set this property on the first element to replace + as many elements on the stack as inside the array. + \li \e destroyOnPop: set this property to specify if the item needs to be destroyed + when its popped off the stack. By default (if \e destroyOnPop is not specified), + StackView will destroy items pushed as components or URLs. Items + not destroyed will be re-parented to the original parents they had before being + pushed onto the stack, and hidden. If you need to set this property, do it with + care, so that items are not leaked. + \endlist + + You can also push an array of items (property lists) if you need to push several items + in one go. A transition will then only occur between the current item and the last + item in the list. Loading the other items will be deferred until needed. + + Examples: + \list + \li stackView.push({item:anItem}) + \li stackView.push({item:aURL, immediate: true, replace: true}) + \li stackView.push({item:aRectangle, properties:{color:"red"}}) + \li stackView.push({item:aComponent, properties:{color:"red"}}) + \li stackView.push({item:aComponent.createObject(), destroyOnPop:true}) + \li stackView.push([{item:anitem, immediate:true}, {item:aURL}]) + \endlist + + \note If the only argument needed is "item", you can apply the following short- + hand notation: \c{stackView.push(anItem)}. + + Returns the item that became current. + + \sa initialItem + \sa {Pushing items} + */ + function push(item) { + // Note: we support two different APIs in this function; The old meego API, and + // the new "property list" API. Hence the reason for hiding the fact that you + // can pass more arguments than shown in the signature: + if (__recursionGuard(true)) + return + var properties = arguments[1] + var immediate = arguments[2] + var replace = arguments[3] + var arrayPushed = (item instanceof Array) + var firstItem = arrayPushed ? item[0] : item + immediate = (immediate || JSArray.stackView.length === 0) + + if (firstItem && firstItem.item && firstItem.hasOwnProperty("x") === false) { + // Property list API used: + immediate = immediate || firstItem.immediate + replace = replace || firstItem.replace + } + + // Create, and push, a new javascript object, called "element", onto the stack. + // This element contains all the information necessary to construct the item, and + // will, after loaded, also contain the loaded item: + if (arrayPushed) { + if (item.length === 0) + return + var outElement = replace ? JSArray.pop() : JSArray.current() + for (var i=0; i 1 && item !== undefined && item !== inElement.item) { + // Pop from the top until we find 'item', and return the corresponding + // element. Skip all non-loaded items (except the first), since no one + // has any references to such items anyway: + while (__depth > 1 && !JSArray.current().loaded) + JSArray.pop() + inElement = JSArray.current() + while (__depth > 1 && item !== inElement.item) { + JSArray.pop() + __cleanup(inElement) + while (__depth > 1 && !JSArray.current().loaded) + JSArray.pop() + inElement = JSArray.current() + } + } + + var transition = { + inElement: inElement, + outElement: outElement, + immediate: immediate, + replace: false, + push: false + } + __performTransition(transition) + __recursionGuard(false) + return outElement.item; + } + + /*! \qmlmethod void StackView::clear() + Remove all items from the stack. No animations will be applied. */ + function clear() { + if (__recursionGuard(true)) + return + if (__currentTransition) + __currentTransition.animation.complete() + __currentItem = null + var count = __depth + for (var i=0; i=0; --i) { + var element = JSArray.stackView[i]; + if (onlySearchLoadedItems !== true) + __loadElement(element) + else if (!element.item) + continue + if (func(element.item)) + return element.item + } + return null; + } + + /*! \qmlmethod Item StackView::get(int index, bool dontLoad = false) + Returns the item at position \a index in + the stack. If \a dontLoad is true, the + item will not be forced to load (and \c null + will be returned if not yet loaded) */ + function get(index, dontLoad) + { + if (index < 0 || index >= JSArray.stackView.length) + return null + var element = JSArray.stackView[index] + if (dontLoad !== true) { + __loadElement(element) + return element.item + } else if (element.item) { + return element.item + } else { + return null + } + } + + /*! \qmlmethod void StackView::completeTransition() + Immediately completes any ongoing transition. + /sa Animation.complete + */ + function completeTransition() + { + if (__recursionGuard(true)) + return + if (__currentTransition) + __currentTransition.animation.complete() + __recursionGuard(false) + } + + /********* DEPRECATED API *********/ + + /*! \internal + \deprecated Use Push() instead */ + function replace(item, properties, immediate) { + push(item, properties, immediate, true) + } + + /********* PRIVATE API *********/ + + /*! \internal The currently top-most item on the stack. */ + property Item __currentItem: null + /*! \internal The number of items currently pushed onto the stack. */ + property int __depth: 0 + /*! \internal Stores the transition info while a transition is ongoing */ + property var __currentTransition: null + /*! \internal Stops the user from pushing items while preparing a transition */ + property bool __guard: false + + Component.onCompleted: { + if (initialItem) + push(initialItem) + } + + Component.onDestruction: { + if (__currentTransition) + __currentTransition.animation.complete() + __currentItem = null + } + + /*! \internal */ + function __recursionGuard(use) + { + if (use && __guard) { + console.warn("Warning: StackView: You cannot push/pop recursively!") + console.trace() + return true + } + __guard = use + } + + /*! \internal */ + function __loadElement(element) + { + if (element.loaded) { + if (!element.item) { + element.item = invalidItemReplacement.createObject(root) + element.item.text = "\nError: The item has been deleted outside StackView!" + } + return + } + if (!element.itemComponent) { + element.item = invalidItemReplacement.createObject(root) + element.item.text = "\nError: Invalid item (item was 'null'). " + + "This might indicate that the item was deleted outside StackView!" + return + } + + var comp = __resolveComponent(element.itemComponent, element) + + // Assign properties to item: + if (!element.properties) + element.properties = {} + + if (comp.hasOwnProperty("createObject")) { + if (comp.status === Component.Error) { + element.item = invalidItemReplacement.createObject(root) + element.item.text = "\nError: Could not load: " + comp.errorString() + } else { + element.item = comp.createObject(root, element.properties) + // Destroy items we create unless the user specified something else: + if (!element.hasOwnProperty("destroyOnPop")) + element.destroyOnPop = true + } + } else { + // comp is already an Item, so just re-parent it into the StackView: + element.item = comp + element.originalParent = parent + element.item.parent = root + for (var prop in element.properties) { + if (element.item.hasOwnProperty(prop)) + element.item[prop] = element.properties[prop]; + } + // Do not destroy items we didn't create, unless the user specified something else: + if (!element.hasOwnProperty("destroyOnPop")) + element.destroyOnPop = false + } + + element.item.Stack.__index = element.index + element.item.Stack.__view = root + // Let item fill all available space by default: + element.item.width = Qt.binding(function() { return root.width }) + element.item.height = Qt.binding(function() { return root.height }) + element.loaded = true + } + + /*! \internal */ + function __resolveComponent(unknownObjectType, element) + { + // We need this extra resolve function since we don't really + // know what kind of object the user pushed. So we try to + // figure it out by inspecting the object: + if (unknownObjectType.hasOwnProperty("createObject")) { + return unknownObjectType + } else if (typeof unknownObjectType == "string") { + return Qt.createComponent(unknownObjectType) + } else if (unknownObjectType.hasOwnProperty("x")) { + return unknownObjectType + } else if (unknownObjectType.hasOwnProperty("item")) { + // INVARIANT: user pushed a JS-object + element.properties = unknownObjectType.properties + if (!unknownObjectType.item) + unknownObjectType.item = invalidItemReplacement + if (unknownObjectType.hasOwnProperty("destroyOnPop")) + element.destroyOnPop = unknownObjectType.destroyOnPop + return __resolveComponent(unknownObjectType.item, element) + } else { + // We cannot determine the type, so assume its a URL: + return Qt.createComponent(unknownObjectType) + } + } + + /*! \internal */ + function __cleanup(element) { + // INVARIANT: element has been removed from JSArray. Destroy its + // item, or re-parent it back to the parent it had before it was pushed: + var item = element.item + if (element.destroyOnPop) { + item.destroy() + } else { + // Mark the item as no longer part of the StackView. It + // might reenter on pop if pushed several times: + item.visible = false + __setStatus(item, Stack.Inactive) + item.Stack.__view = null + item.Stack.__index = -1 + if (element.originalParent) + item.parent = element.originalParent + } + } + + /*! \internal */ + function __setStatus(item, status) { + item.Stack.__status = status + } + + /*! \internal */ + function __performTransition(transition) + { + // Animate item in "outElement" out, and item in "inElement" in. Set a guard to protect + // the user from pushing new items on signals that will fire while preparing for the transition + // (e.g Stack.onCompleted, Stack.onStatusChanged, Stack.onIndexChanged etc). Otherwise, we will enter + // this function several times, which causes the items to be updated half-way. + if (__currentTransition) + __currentTransition.animation.complete() + __loadElement(transition.inElement) + + transition.name = transition.replace ? "replaceTransition" : (transition.push ? "pushTransition" : "popTransition") + var enterItem = transition.inElement.item + transition.enterItem = enterItem + + // Since an item can be pushed several times, we need to update its properties: + enterItem.parent = root + enterItem.Stack.__view = root + enterItem.Stack.__index = transition.inElement.index + __currentItem = enterItem + + if (!transition.outElement) { + // A transition consists of two items, but we got just one. So just show the item: + enterItem.visible = true + __setStatus(enterItem, Stack.Activating) + __setStatus(enterItem, Stack.Active) + return + } + + var exitItem = transition.outElement.item + transition.exitItem = exitItem + if (enterItem === exitItem) + return + + if (root.delegate) { + transition.properties = { + "name":transition.name, + "enterItem":transition.enterItem, + "exitItem":transition.exitItem, + "immediate":transition.immediate } + var anim = root.delegate.getTransition(transition.properties) + if (anim.createObject) { + anim = anim.createObject(null, transition.properties) + anim.runningChanged.connect(function(){ if (anim.running === false) anim.destroy() }) + } + transition.animation = anim + } + + if (!transition.animation) { + console.warn("Warning: StackView: no", transition.name, "found!") + return + } + if (enterItem.anchors.fill || exitItem.anchors.fill) + console.warn("Warning: StackView: cannot transition an item that is anchored!") + + __currentTransition = transition + __setStatus(exitItem, Stack.Deactivating) + enterItem.visible = true + __setStatus(enterItem, Stack.Activating) + transition.animation.runningChanged.connect(animationFinished) + transition.animation.start() + // NB! For empty animations, "animationFinished" is already + // executed at this point, leaving __animation === null: + if (transition.immediate === true && transition.animation) + transition.animation.complete() + } + + /*! \internal */ + function animationFinished() + { + if (!__currentTransition || __currentTransition.animation.running) + return + + __currentTransition.animation.runningChanged.disconnect(animationFinished) + __currentTransition.exitItem.visible = false + __setStatus(__currentTransition.exitItem, Stack.Inactive); + __setStatus(__currentTransition.enterItem, Stack.Active); + __currentTransition.properties.animation = __currentTransition.animation + root.delegate.transitionFinished(__currentTransition.properties) + + if (!__currentTransition.push || __currentTransition.replace) + __cleanup(__currentTransition.outElement) + + __currentTransition = null + } + + /*! \internal */ + property Component invalidItemReplacement: Component { + Text { + width: parent.width + height: parent.height + wrapMode: Text.WrapAtWordBoundaryOrAnywhere + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackView.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackView.qmlc new file mode 100644 index 00000000..24e5c231 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackView.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewDelegate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewDelegate.qml new file mode 100644 index 00000000..f85eb0ae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewDelegate.qml @@ -0,0 +1,100 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +/*! + \qmltype StackViewDelegate + \inqmlmodule QtQuick.Controls + \ingroup controls + \since 5.1 + + \brief A delegate used by StackView for loading transitions. + + See the documentation for the \l {StackView} component. + +*/ +QtObject { + id: root + + /*! + \qmlmethod Transition StackViewDelegate::getTransition(properties) + + The base implementation of this function just looks for a property named + \a {properties}.name inside itself and returns it. + \sa {Transitions} + */ + function getTransition(properties) + { + return root[properties.name] + } + + /*! + \qmlmethod void StackViewDelegate::transitionFinished(properties) + + Handles the completion of a transition for \a properties. The base + implementation of this function is empty. + + \sa {Transitions} + */ + function transitionFinished(properties) + { + } + + /*! + \qmlproperty Component StackViewDelegate::pushTransition + + The transition used on push operation. + */ + property Component pushTransition: StackViewTransition {} + /*! + \qmlproperty Component StackViewDelegate::popTransition + + The transition used on pop operation. + Unless set, the popTransition is the same as pushTransition + */ + property Component popTransition: root["pushTransition"] + /*! + \qmlproperty Component StackViewDelegate::replaceTransition + + The transition used on replace operation. + Unless set, the replaceTransition is the same as pushTransition + */ + property Component replaceTransition: root["pushTransition"] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewDelegate.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewDelegate.qmlc new file mode 100644 index 00000000..23e3c2bb Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewDelegate.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewTransition.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewTransition.qml new file mode 100644 index 00000000..9f4719e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewTransition.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +ParallelAnimation { + id: root + /*! The name of the animation that is running. Can be one of the following: + \list + \li 'PushTransition' + \li 'PopTransition' + \li 'ReplaceTransition' + \endlist + */ + property string name + /*! The page that is transitioning in. */ + property Item enterItem + /*! The page that is transitioning out */ + property Item exitItem + /*! Set to \c true if the transition is told to + fast-forward directly to its end-state */ + property bool immediate +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewTransition.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewTransition.qmlc new file mode 100644 index 00000000..b2f97001 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StackViewTransition.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StatusBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StatusBar.qml new file mode 100644 index 00000000..c1168d54 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StatusBar.qml @@ -0,0 +1,154 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype StatusBar + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup applicationwindow + \ingroup controls + \brief Contains status information in your app. + + The common way of using StatusBar is in relation to \l ApplicationWindow. + + Note that the StatusBar does not provide a layout of its own, but requires + you to position its contents, for instance by creating a \l RowLayout. + + If only a single item is used within the StatusBar, it will resize to fit the implicitHeight + of its contained item. This makes it particularly suitable for use together with layouts. + Otherwise the height is platform dependent. + + \code + import QtQuick.Controls 1.2 + import QtQuick.Layouts 1.0 + + ApplicationWindow { + statusBar: StatusBar { + RowLayout { + anchors.fill: parent + Label { text: "Read Only" } + } + } + } + \endcode +*/ + +FocusScope { + id: statusbar + + activeFocusOnTab: false + Accessible.role: Accessible.StatusBar + + width: parent ? parent.width : implicitWidth + implicitWidth: container.leftMargin + container.rightMargin + + Math.max(container.layoutWidth, __panel ? __panel.implicitWidth : 0) + implicitHeight: container.topMargin + container.bottomMargin + + Math.max(container.layoutHeight, __panel ? __panel.implicitHeight : 0) + + /*! \qmlproperty Component StatusBar::style + + The style Component for this control. + \sa {StatusBarStyle} + + */ + property Component style: Settings.styleComponent(Settings.style, "StatusBarStyle.qml", statusbar) + + /*! \internal */ + property alias __style: styleLoader.item + + /*! \internal */ + property Item __panel: panelLoader.item + + /*! \internal */ + default property alias __content: container.data + + /*! + \qmlproperty Item StatusBar::contentItem + + This property holds the content Item of the status bar. + + Items declared as children of a StatusBar are automatically parented to the StatusBar's contentItem. + Items created dynamically need to be explicitly parented to the contentItem: + + \note The implicit size of the StatusBar is calculated based on the size of its content. If you want to anchor + items inside the status bar, you must specify an explicit width and height on the StatusBar itself. + */ + readonly property alias contentItem: container + + data: [ + Loader { + id: panelLoader + anchors.fill: parent + sourceComponent: styleLoader.item ? styleLoader.item.panel : null + onLoaded: item.z = -1 + Loader { + id: styleLoader + property alias __control: statusbar + sourceComponent: style + } + }, + Item { + id: container + z: 1 + focus: true + anchors.fill: parent + + anchors.topMargin: topMargin + anchors.leftMargin: leftMargin + anchors.rightMargin: rightMargin + anchors.bottomMargin: bottomMargin + + property int topMargin: __style ? __style.padding.top : 0 + property int bottomMargin: __style ? __style.padding.bottom : 0 + property int leftMargin: __style ? __style.padding.left : 0 + property int rightMargin: __style ? __style.padding.right : 0 + + property Item layoutItem: container.children.length === 1 ? container.children[0] : null + property real layoutWidth: layoutItem ? (layoutItem.implicitWidth || layoutItem.width) + + (layoutItem.anchors.fill ? layoutItem.anchors.leftMargin + + layoutItem.anchors.rightMargin : 0) : 0 + property real layoutHeight: layoutItem ? (layoutItem.implicitHeight || layoutItem.height) + + (layoutItem.anchors.fill ? layoutItem.anchors.topMargin + + layoutItem.anchors.bottomMargin : 0) : 0 + }] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StatusBar.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StatusBar.qmlc new file mode 100644 index 00000000..b4a6f20d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/StatusBar.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml new file mode 100644 index 00000000..398567bb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml @@ -0,0 +1,136 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ApplicationWindowStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.4 + \ingroup controlsstyling + \brief Provides custom styling for ApplicationWindow. + + You can create a custom window background by replacing the "background" + delegate of ApplicationWindowStyle with a custom design. + + Example: + \qml + ApplicationWindow { + style: ApplicationWindowStyle { + background: BorderImage { + source: "background.png" + border { left: 20; top: 20; right: 20; bottom: 20 } + } + } + } + \endqml +*/ +QtObject { + /*! The window attached to this style. */ + readonly property ApplicationWindow control: __control + + /*! A custom background for the window. + + \note The window might have a custom background color set. The custom + background color is automatically filled by the window. The background + delegate should respect the custom background color by either hiding + itself altogether when a custom background color is set, or by letting + the custom background color shine through. + + The following read-only property is available within the scope + of the background delegate: + \table + \row \li \b {styleData.hasColor} : bool \li Whether the window has a custom background color set. + \endtable + */ + property Component background: Rectangle { + visible: !styleData.hasColor + color: SystemPaletteSingleton.window(true) + } + + /*! \internal */ + property Component panel: Item { + readonly property alias contentArea: contentArea + readonly property alias menuBarArea: menuBarArea + readonly property alias toolBarArea: toolBarArea + readonly property alias statusBarArea: statusBarArea + + Loader { + anchors.fill: parent + sourceComponent: background + } + + Item { + id: contentArea + anchors.top: toolBarArea.bottom + anchors.left: parent.left + anchors.right: parent.right + anchors.bottom: statusBarArea.top + } + + Item { + id: toolBarArea + anchors.top: parent.menuBarArea.bottom + anchors.left: parent.left + anchors.right: parent.right + implicitHeight: childrenRect.height + height: visibleChildren.length > 0 ? implicitHeight: 0 + } + + Item { + id: menuBarArea + anchors.top: parent.top + anchors.left: parent.left + anchors.right: parent.right + implicitHeight: childrenRect.height + height: visibleChildren.length > 0 ? implicitHeight: 0 + } + + Item { + id: statusBarArea + anchors.bottom: parent.bottom + anchors.left: parent.left + anchors.right: parent.right + implicitHeight: childrenRect.height + height: visibleChildren.length > 0 ? implicitHeight: 0 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qmlc new file mode 100644 index 00000000..36455522 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml new file mode 100644 index 00000000..334ee665 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml @@ -0,0 +1,164 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype BasicTableViewStyle + \internal + \inqmlmodule QtQuick.Controls.Styles + \inherits ScrollViewStyle + \qmlabstract +*/ + +ScrollViewStyle { + id: root + + /*! \qmlproperty BasicTableView BasicTableViewStyle::control + \internal */ + readonly property BasicTableView control: __control + + /*! \qmlproperty color BasicTableViewStyle::textColor + The text color. */ + property color textColor: SystemPaletteSingleton.text(control.enabled) + + /*! \qmlproperty color BasicTableViewStyle::backgroundColor + The background color. */ + property color backgroundColor: control.backgroundVisible ? SystemPaletteSingleton.base(control.enabled) : "transparent" + + /*! \qmlproperty color BasicTableViewStyle::alternateBackgroundColor + The alternate background color. */ + property color alternateBackgroundColor: "#f5f5f5" + + /*! \qmlproperty color BasicTableViewStyle::highlightedTextColor + The text highlight color, used within selections. */ + property color highlightedTextColor: "white" + + /*! \qmlproperty bool BasicTableViewStyle::activateItemOnSingleClick + Activates items on single click. + + Its default value is \c false. + */ + property bool activateItemOnSingleClick: false + + padding.top: control.headerVisible ? 0 : 1 + + /*! \qmlproperty Component BasicTableViewStyle::headerDelegate + \internal + + Different documentation for TableViewStyle and TreeViewStyle. + See qtquickcontrolsstyles-tableviewstyle.qdoc and qtquickcontrolsstyles-treeviewstyle.qdoc + */ + property Component headerDelegate: BorderImage { + height: Math.round(textItem.implicitHeight * 1.2) + source: "images/header.png" + border.left: 4 + border.bottom: 2 + border.top: 2 + Text { + id: textItem + anchors.fill: parent + verticalAlignment: Text.AlignVCenter + horizontalAlignment: styleData.textAlignment + anchors.leftMargin: horizontalAlignment === Text.AlignLeft ? 12 : 1 + anchors.rightMargin: horizontalAlignment === Text.AlignRight ? 8 : 1 + text: styleData.value + elide: Text.ElideRight + color: textColor + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + Rectangle { + width: 1 + height: parent.height - 2 + y: 1 + color: "#ccc" + } + } + + /*! \qmlproperty Component BasicTableViewStyle::rowDelegate + \internal + + Different documentation for TableViewStyle and TreeViewStyle. + See qtquickcontrolsstyles-tableviewstyle.qdoc and qtquickcontrolsstyles-treeviewstyle.qdoc + */ + property Component rowDelegate: Rectangle { + height: Math.round(TextSingleton.implicitHeight * 1.2) + property color selectedColor: control.activeFocus ? "#07c" : "#999" + color: styleData.selected ? selectedColor : + !styleData.alternate ? alternateBackgroundColor : backgroundColor + } + + /*! \qmlproperty Component BasicTableViewStyle::itemDelegate + \internal + + Different documentation for TableViewStyle and TreeViewStyle. + See qtquickcontrolsstyles-tableviewstyle.qdoc and qtquickcontrolsstyles-treeviewstyle.qdoc + */ + property Component itemDelegate: Item { + height: Math.max(16, label.implicitHeight) + property int implicitWidth: label.implicitWidth + 20 + + Text { + id: label + objectName: "label" + width: parent.width - x - (horizontalAlignment === Text.AlignRight ? 8 : 1) + x: (styleData.hasOwnProperty("depth") && styleData.column === 0) ? 0 : + horizontalAlignment === Text.AlignRight ? 1 : 8 + horizontalAlignment: styleData.textAlignment + anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: 1 + elide: styleData.elideMode + text: styleData.value !== undefined ? styleData.value.toString() : "" + color: styleData.textColor + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + } + + /*! \internal + Part of TreeViewStyle + */ + property Component __branchDelegate: null + + /*! \internal + Part of TreeViewStyle + */ + property int __indentation: 12 +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qmlc new file mode 100644 index 00000000..9942a0fd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml new file mode 100644 index 00000000..da2a2aa5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml @@ -0,0 +1,120 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype BusyIndicatorStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.2 + \ingroup controlsstyling + \brief Provides custom styling for BusyIndicatorStyle. + + You can create a busy indicator by replacing the "indicator" delegate + of the BusyIndicatorStyle with a custom design. + + Example: + \qml + BusyIndicator { + style: BusyIndicatorStyle { + indicator: Image { + visible: control.running + source: "spinner.png" + RotationAnimator on rotation { + running: control.running + loops: Animation.Infinite + duration: 2000 + from: 0 ; to: 360 + } + } + } + } + \endqml +*/ +Style { + id: indicatorstyle + + /*! The \l BusyIndicator this style is attached to. */ + readonly property BusyIndicator control: __control + + /*! This defines the appearance of the busy indicator. */ + property Component indicator: Item { + id: indicatorItem + + implicitWidth: 48 + implicitHeight: 48 + + opacity: control.running ? 1 : 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + + Image { + anchors.centerIn: parent + anchors.alignWhenCentered: true + width: Math.min(parent.width, parent.height) + height: width + source: width <= 32 ? "images/spinner_small.png" : + width >= 48 ? "images/spinner_large.png" : + "images/spinner_medium.png" + RotationAnimator on rotation { + duration: 800 + loops: Animation.Infinite + from: 0 + to: 360 + running: indicatorItem.visible && (control.running || indicatorItem.opacity > 0); + } + } + } + + /*! \internal */ + property Component panel: Item { + anchors.fill: parent + implicitWidth: indicatorLoader.implicitWidth + implicitHeight: indicatorLoader.implicitHeight + + Loader { + id: indicatorLoader + sourceComponent: indicator + anchors.centerIn: parent + width: Math.min(parent.width, parent.height) + height: width + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qmlc new file mode 100644 index 00000000..5ca5f86b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml new file mode 100644 index 00000000..5a3fa551 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml @@ -0,0 +1,175 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ButtonStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup controlsstyling + \brief Provides custom styling for Button. + + You can create a custom button by replacing the "background" delegate + of the ButtonStyle with a custom design. + + Example: + \qml + Button { + text: "A button" + style: ButtonStyle { + background: Rectangle { + implicitWidth: 100 + implicitHeight: 25 + border.width: control.activeFocus ? 2 : 1 + border.color: "#888" + radius: 4 + gradient: Gradient { + GradientStop { position: 0 ; color: control.pressed ? "#ccc" : "#eee" } + GradientStop { position: 1 ; color: control.pressed ? "#aaa" : "#ccc" } + } + } + } + } + \endqml + If you need a custom label, you can replace the label item. +*/ + +Style { + id: buttonstyle + + /*! The \l {QtQuick.Controls::}{Button} this style is attached to. */ + readonly property Button control: __control + + /*! The padding between the background and the label components. */ + padding { + top: 4 + left: 4 + right: 4 + (control.menu !== null ? Math.round(TextSingleton.implicitHeight * 0.5) : 0) + bottom: 4 + } + + /*! This defines the background of the button. */ + property Component background: Item { + property bool down: control.pressed || (control.checkable && control.checked) + implicitWidth: Math.round(TextSingleton.implicitHeight * 4.5) + implicitHeight: Math.max(25, Math.round(TextSingleton.implicitHeight * 1.2)) + Rectangle { + anchors.fill: parent + anchors.bottomMargin: down ? 0 : -1 + color: "#10000000" + radius: baserect.radius + } + Rectangle { + id: baserect + gradient: Gradient { + GradientStop {color: down ? "#aaa" : "#fefefe" ; position: 0} + GradientStop {color: down ? "#ccc" : "#e3e3e3" ; position: down ? 0.1: 1} + } + radius: TextSingleton.implicitHeight * 0.16 + anchors.fill: parent + border.color: control.activeFocus ? "#47b" : "#999" + Rectangle { + anchors.fill: parent + radius: parent.radius + color: control.activeFocus ? "#47b" : "white" + opacity: control.hovered || control.activeFocus ? 0.1 : 0 + Behavior on opacity {NumberAnimation{ duration: 100 }} + } + } + Image { + id: imageItem + visible: control.menu !== null + source: "images/arrow-down.png" + anchors.verticalCenter: parent.verticalCenter + anchors.right: parent.right + anchors.rightMargin: 4 + opacity: control.enabled ? 0.6 : 0.5 + } + } + + /*! This defines the label of the button. */ + property Component label: Item { + implicitWidth: row.implicitWidth + implicitHeight: row.implicitHeight + baselineOffset: row.y + text.y + text.baselineOffset + Row { + id: row + anchors.centerIn: parent + spacing: 2 + Image { + source: control.iconSource + anchors.verticalCenter: parent.verticalCenter + } + Text { + id: text + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + anchors.verticalCenter: parent.verticalCenter + text: StyleHelpers.stylizeMnemonics(control.text) + color: SystemPaletteSingleton.buttonText(control.enabled) + } + } + } + + /*! \internal */ + property Component panel: Item { + anchors.fill: parent + implicitWidth: Math.max(labelLoader.implicitWidth + padding.left + padding.right, backgroundLoader.implicitWidth) + implicitHeight: Math.max(labelLoader.implicitHeight + padding.top + padding.bottom, backgroundLoader.implicitHeight) + baselineOffset: labelLoader.item ? padding.top + labelLoader.item.baselineOffset : 0 + + Loader { + id: backgroundLoader + anchors.fill: parent + sourceComponent: background + } + + Loader { + id: labelLoader + sourceComponent: label + anchors.fill: parent + anchors.leftMargin: padding.left + anchors.topMargin: padding.top + anchors.rightMargin: padding.right + anchors.bottomMargin: padding.bottom + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qmlc new file mode 100644 index 00000000..132f55c9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CalendarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CalendarStyle.qml new file mode 100644 index 00000000..bde2f2cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CalendarStyle.qml @@ -0,0 +1,703 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype CalendarStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.3 + \ingroup controlsstyling + \brief Provides custom styling for \l Calendar. + + \section2 Component Map + + \image calendarstyle-components-week-numbers.png + + The calendar has the following styleable components: + + \table + \row \li \image square-white.png + \li \l background + \li Fills the entire control. + \row \li \image square-yellow.png + \li \l navigationBar + \li + \row \li \image square-green.png + \li \l dayOfWeekDelegate + \li One instance per day of week. + \row \li \image square-red.png + \li \l weekNumberDelegate + \li One instance per week. + \row \li \image square-blue.png + \li \l dayDelegate + \li One instance per day of month. + \endtable + + \section2 Custom Style Example + \qml + Calendar { + anchors.centerIn: parent + + style: CalendarStyle { + gridVisible: false + dayDelegate: Rectangle { + gradient: Gradient { + GradientStop { + position: 0.00 + color: styleData.selected ? "#111" : (styleData.visibleMonth && styleData.valid ? "#444" : "#666"); + } + GradientStop { + position: 1.00 + color: styleData.selected ? "#444" : (styleData.visibleMonth && styleData.valid ? "#111" : "#666"); + } + GradientStop { + position: 1.00 + color: styleData.selected ? "#777" : (styleData.visibleMonth && styleData.valid ? "#111" : "#666"); + } + } + + Label { + text: styleData.date.getDate() + anchors.centerIn: parent + color: styleData.valid ? "white" : "grey" + } + + Rectangle { + width: parent.width + height: 1 + color: "#555" + anchors.bottom: parent.bottom + } + + Rectangle { + width: 1 + height: parent.height + color: "#555" + anchors.right: parent.right + } + } + } + } + \endqml +*/ + +Style { + id: calendarStyle + + /*! + The Calendar this style is attached to. + */ + readonly property Calendar control: __control + + /*! + The color of the grid lines. + */ + property color gridColor: "#d3d3d3" + + /*! + This property determines the visibility of the grid. + + The default value is \c true. + */ + property bool gridVisible: true + + /*! + \internal + + The width of each grid line. + */ + property real __gridLineWidth: 1 + + /*! \internal */ + property color __horizontalSeparatorColor: gridColor + + /*! \internal */ + property color __verticalSeparatorColor: gridColor + + function __cellRectAt(index) { + return CalendarUtils.cellRectAt(index, control.__panel.columns, control.__panel.rows, + control.__panel.availableWidth, control.__panel.availableHeight, gridVisible ? __gridLineWidth : 0); + } + + function __isValidDate(date) { + return date !== undefined + && date.getTime() >= control.minimumDate.getTime() + && date.getTime() <= control.maximumDate.getTime(); + } + + /*! + The background of the calendar. + + The implicit size of the calendar is calculated based on the implicit size of the background delegate. + */ + property Component background: Rectangle { + color: "#fff" + implicitWidth: Math.max(250, Math.round(TextSingleton.implicitHeight * 14)) + implicitHeight: Math.max(250, Math.round(TextSingleton.implicitHeight * 14)) + } + + /*! + The navigation bar of the calendar. + + Styles the bar at the top of the calendar that contains the + next month/previous month buttons and the selected date label. + + The properties provided to the delegate are: + \table + \row \li readonly property string \b styleData.title + \li The title of the calendar. + \endtable + */ + property Component navigationBar: Rectangle { + height: Math.round(TextSingleton.implicitHeight * 2.73) + color: "#f9f9f9" + + Rectangle { + color: Qt.rgba(1,1,1,0.6) + height: 1 + width: parent.width + } + + Rectangle { + anchors.bottom: parent.bottom + height: 1 + width: parent.width + color: "#ddd" + } + HoverButton { + id: previousMonth + width: parent.height + height: width + anchors.verticalCenter: parent.verticalCenter + anchors.left: parent.left + source: "images/leftanglearrow.png" + onClicked: control.showPreviousMonth() + } + Label { + id: dateText + text: styleData.title + elide: Text.ElideRight + horizontalAlignment: Text.AlignHCenter + font.pixelSize: TextSingleton.implicitHeight * 1.25 + anchors.verticalCenter: parent.verticalCenter + anchors.left: previousMonth.right + anchors.leftMargin: 2 + anchors.right: nextMonth.left + anchors.rightMargin: 2 + } + HoverButton { + id: nextMonth + width: parent.height + height: width + anchors.verticalCenter: parent.verticalCenter + anchors.right: parent.right + source: "images/rightanglearrow.png" + onClicked: control.showNextMonth() + } + } + + /*! + The delegate that styles each date in the calendar. + + The properties provided to each delegate are: + \table + \row \li readonly property date \b styleData.date + \li The date this delegate represents. + \row \li readonly property bool \b styleData.selected + \li \c true if this is the selected date. + \row \li readonly property int \b styleData.index + \li The index of this delegate. + \row \li readonly property bool \b styleData.valid + \li \c true if this date is greater than or equal to than \l {Calendar::minimumDate}{minimumDate} and + less than or equal to \l {Calendar::maximumDate}{maximumDate}. + \row \li readonly property bool \b styleData.today + \li \c true if this date is equal to today's date. + \row \li readonly property bool \b styleData.visibleMonth + \li \c true if the month in this date is the visible month. + \row \li readonly property bool \b styleData.hovered + \li \c true if the mouse is over this cell. + \note This property is \c true even when the mouse is hovered over an invalid date. + \row \li readonly property bool \b styleData.pressed + \li \c true if the mouse is pressed on this cell. + \note This property is \c true even when the mouse is pressed on an invalid date. + \endtable + */ + property Component dayDelegate: Rectangle { + anchors.fill: parent + anchors.leftMargin: (!addExtraMargin || control.weekNumbersVisible) && styleData.index % CalendarUtils.daysInAWeek === 0 ? 0 : -1 + anchors.rightMargin: !addExtraMargin && styleData.index % CalendarUtils.daysInAWeek === CalendarUtils.daysInAWeek - 1 ? 0 : -1 + anchors.bottomMargin: !addExtraMargin && styleData.index >= CalendarUtils.daysInAWeek * (CalendarUtils.weeksOnACalendarMonth - 1) ? 0 : -1 + anchors.topMargin: styleData.selected ? -1 : 0 + color: styleData.date !== undefined && styleData.selected ? selectedDateColor : "transparent" + + readonly property bool addExtraMargin: control.frameVisible && styleData.selected + readonly property color sameMonthDateTextColor: "#444" + readonly property color selectedDateColor: Qt.platform.os === "osx" ? "#3778d0" : SystemPaletteSingleton.highlight(control.enabled) + readonly property color selectedDateTextColor: "white" + readonly property color differentMonthDateTextColor: "#bbb" + readonly property color invalidDateColor: "#dddddd" + Label { + id: dayDelegateText + text: styleData.date.getDate() + anchors.centerIn: parent + horizontalAlignment: Text.AlignRight + font.pixelSize: Math.min(parent.height/3, parent.width/3) + color: { + var theColor = invalidDateColor; + if (styleData.valid) { + // Date is within the valid range. + theColor = styleData.visibleMonth ? sameMonthDateTextColor : differentMonthDateTextColor; + if (styleData.selected) + theColor = selectedDateTextColor; + } + theColor; + } + } + } + + /*! + The delegate that styles each weekday. + + The height of the weekday row is calculated based on the maximum implicit height of the delegates. + + The properties provided to each delegate are: + \table + \row \li readonly property int \b styleData.index + \li The index (0-6) of the delegate. + \row \li readonly property int \b styleData.dayOfWeek + \li The day of the week this delegate represents. Possible values: + \list + \li \c Locale.Sunday + \li \c Locale.Monday + \li \c Locale.Tuesday + \li \c Locale.Wednesday + \li \c Locale.Thursday + \li \c Locale.Friday + \li \c Locale.Saturday + \endlist + \endtable + */ + property Component dayOfWeekDelegate: Rectangle { + color: gridVisible ? "#fcfcfc" : "transparent" + implicitHeight: Math.round(TextSingleton.implicitHeight * 2.25) + Label { + text: control.locale.dayName(styleData.dayOfWeek, control.dayOfWeekFormat) + anchors.centerIn: parent + } + } + + /*! + The delegate that styles each week number. + + The width of the week number column is calculated based on the maximum implicit width of the delegates. + + The properties provided to each delegate are: + \table + \row \li readonly property int \b styleData.index + \li The index (0-5) of the delegate. + \row \li readonly property int \b styleData.weekNumber + \li The number of the week this delegate represents. + \endtable + */ + property Component weekNumberDelegate: Rectangle { + implicitWidth: Math.round(TextSingleton.implicitHeight * 2) + Label { + text: styleData.weekNumber + anchors.centerIn: parent + color: "#444" + } + } + + /*! \internal */ + property Component panel: Item { + id: panelItem + + implicitWidth: backgroundLoader.implicitWidth + implicitHeight: backgroundLoader.implicitHeight + + property alias navigationBarItem: navigationBarLoader.item + + property alias dayOfWeekHeaderRow: dayOfWeekHeaderRow + + readonly property int weeksToShow: 6 + readonly property int rows: weeksToShow + readonly property int columns: CalendarUtils.daysInAWeek + + // The combined available width and height to be shared amongst each cell. + readonly property real availableWidth: viewContainer.width + readonly property real availableHeight: viewContainer.height + + property int hoveredCellIndex: -1 + property int pressedCellIndex: -1 + property int pressCellIndex: -1 + property var pressDate: null + + Rectangle { + anchors.fill: parent + color: "transparent" + border.color: gridColor + visible: control.frameVisible + } + + Item { + id: container + anchors.fill: parent + anchors.margins: control.frameVisible ? 1 : 0 + + Loader { + id: backgroundLoader + anchors.fill: parent + sourceComponent: background + } + + Loader { + id: navigationBarLoader + anchors.left: parent.left + anchors.right: parent.right + anchors.top: parent.top + sourceComponent: navigationBar + active: control.navigationBarVisible + + property QtObject styleData: QtObject { + readonly property string title: control.locale.standaloneMonthName(control.visibleMonth) + + new Date(control.visibleYear, control.visibleMonth, 1).toLocaleDateString(control.locale, " yyyy") + } + } + + Row { + id: dayOfWeekHeaderRow + anchors.top: navigationBarLoader.bottom + anchors.left: parent.left + anchors.leftMargin: (control.weekNumbersVisible ? weekNumbersItem.width : 0) + anchors.right: parent.right + spacing: gridVisible ? __gridLineWidth : 0 + property alias __repeater: repeater + + Repeater { + id: repeater + model: CalendarHeaderModel { + locale: control.locale + } + Loader { + id: dayOfWeekDelegateLoader + sourceComponent: dayOfWeekDelegate + width: __cellRectAt(index).width + + readonly property int __index: index + readonly property var __dayOfWeek: dayOfWeek + + property QtObject styleData: QtObject { + readonly property alias index: dayOfWeekDelegateLoader.__index + readonly property alias dayOfWeek: dayOfWeekDelegateLoader.__dayOfWeek + } + } + } + } + + Rectangle { + id: topGridLine + color: __horizontalSeparatorColor + width: parent.width + height: __gridLineWidth + visible: gridVisible + anchors.top: dayOfWeekHeaderRow.bottom + } + + Row { + id: gridRow + width: weekNumbersItem.width + viewContainer.width + height: viewContainer.height + anchors.top: topGridLine.bottom + + Column { + id: weekNumbersItem + visible: control.weekNumbersVisible + height: viewContainer.height + spacing: gridVisible ? __gridLineWidth : 0 + Repeater { + id: weekNumberRepeater + model: panelItem.weeksToShow + + Loader { + id: weekNumberDelegateLoader + height: __cellRectAt(index * panelItem.columns).height + sourceComponent: weekNumberDelegate + + readonly property int __index: index + property int __weekNumber: control.__model.weekNumberAt(index) + + Connections { + target: control + + function onVisibleMonthChanged() { + __weekNumber = control.__model.weekNumberAt(index) + } + + function onVisibleYearChanged() { + __weekNumber = control.__model.weekNumberAt(index) + } + } + + Connections { + target: control.__model + function onCountChanged() { + __weekNumber = control.__model.weekNumberAt(index) + } + } + + property QtObject styleData: QtObject { + readonly property alias index: weekNumberDelegateLoader.__index + readonly property int weekNumber: weekNumberDelegateLoader.__weekNumber + } + } + } + } + + Rectangle { + id: separator + anchors.topMargin: - dayOfWeekHeaderRow.height - 1 + anchors.top: weekNumbersItem.top + anchors.bottom: weekNumbersItem.bottom + + width: __gridLineWidth + color: __verticalSeparatorColor + visible: control.weekNumbersVisible + } + + // Contains the grid lines and the grid itself. + Item { + id: viewContainer + width: container.width - (control.weekNumbersVisible ? weekNumbersItem.width + separator.width : 0) + height: container.height - navigationBarLoader.height - dayOfWeekHeaderRow.height - topGridLine.height + + Repeater { + id: verticalGridLineRepeater + model: panelItem.columns - 1 + delegate: Rectangle { + x: __cellRectAt(index + 1).x - __gridLineWidth + y: 0 + width: __gridLineWidth + height: viewContainer.height + color: gridColor + visible: gridVisible + } + } + + Repeater { + id: horizontalGridLineRepeater + model: panelItem.rows - 1 + delegate: Rectangle { + x: 0 + y: __cellRectAt((index + 1) * panelItem.columns).y - __gridLineWidth + width: viewContainer.width + height: __gridLineWidth + color: gridColor + visible: gridVisible + } + } + + MouseArea { + id: mouseArea + anchors.fill: parent + + hoverEnabled: Settings.hoverEnabled + + function cellIndexAt(mouseX, mouseY) { + var viewContainerPos = viewContainer.mapFromItem(mouseArea, mouseX, mouseY); + var child = viewContainer.childAt(viewContainerPos.x, viewContainerPos.y); + // In the tests, the mouseArea sometimes gets picked instead of the cells, + // probably because stuff is still loading. To be safe, we check for that here. + return child && child !== mouseArea ? child.__index : -1; + } + + onEntered: { + hoveredCellIndex = cellIndexAt(mouseX, mouseY); + if (hoveredCellIndex === undefined) { + hoveredCellIndex = cellIndexAt(mouseX, mouseY); + } + + var date = view.model.dateAt(hoveredCellIndex); + if (__isValidDate(date)) { + control.hovered(date); + } + } + + onExited: { + hoveredCellIndex = -1; + } + + onPositionChanged: { + var indexOfCell = cellIndexAt(mouse.x, mouse.y); + var previousHoveredCellIndex = hoveredCellIndex; + hoveredCellIndex = indexOfCell; + if (indexOfCell !== -1) { + var date = view.model.dateAt(indexOfCell); + if (__isValidDate(date)) { + if (hoveredCellIndex !== previousHoveredCellIndex) + control.hovered(date); + + // The date must be different for the pressed signal to be emitted. + if (pressed && date.getTime() !== control.selectedDate.getTime()) { + control.pressed(date); + + // You can't select dates in a different month while dragging. + if (date.getMonth() === control.selectedDate.getMonth()) { + control.selectedDate = date; + pressedCellIndex = indexOfCell; + } + } + } + } + } + + onPressed: { + pressCellIndex = cellIndexAt(mouse.x, mouse.y); + pressDate = null; + if (pressCellIndex !== -1) { + var date = view.model.dateAt(pressCellIndex); + pressedCellIndex = pressCellIndex; + pressDate = date; + if (__isValidDate(date)) { + control.selectedDate = date; + control.pressed(date); + } + } + } + + onReleased: { + var indexOfCell = cellIndexAt(mouse.x, mouse.y); + if (indexOfCell !== -1) { + // The cell index might be valid, but the date has to be too. We could let the + // selected date validation take care of this, but then the selected date would + // change to the earliest day if a day before the minimum date is clicked, for example. + var date = view.model.dateAt(indexOfCell); + if (__isValidDate(date)) { + control.released(date); + } + } + pressedCellIndex = -1; + } + + onClicked: { + var indexOfCell = cellIndexAt(mouse.x, mouse.y); + if (indexOfCell !== -1 && indexOfCell === pressCellIndex) { + if (__isValidDate(pressDate)) + control.clicked(pressDate); + } + } + + onDoubleClicked: { + var indexOfCell = cellIndexAt(mouse.x, mouse.y); + if (indexOfCell !== -1) { + var date = view.model.dateAt(indexOfCell); + if (__isValidDate(date)) + control.doubleClicked(date); + } + } + + onPressAndHold: { + var indexOfCell = cellIndexAt(mouse.x, mouse.y); + if (indexOfCell !== -1 && indexOfCell === pressCellIndex) { + var date = view.model.dateAt(indexOfCell); + if (__isValidDate(date)) + control.pressAndHold(date); + } + } + } + + Connections { + target: control + function onSelectedDateChanged() { view.selectedDateChanged() } + } + + Repeater { + id: view + + property int currentIndex: -1 + + model: control.__model + + Component.onCompleted: selectedDateChanged() + + function selectedDateChanged() { + if (model !== undefined && model.locale !== undefined) { + currentIndex = model.indexAt(control.selectedDate); + } + } + + delegate: Loader { + id: delegateLoader + + x: __cellRectAt(index).x + y: __cellRectAt(index).y + width: __cellRectAt(index).width + height: __cellRectAt(index).height + sourceComponent: dayDelegate + + readonly property int __index: index + readonly property date __date: date + // We rely on the fact that an invalid QDate will be converted to a Date + // whose year is -4713, which is always an invalid date since our + // earliest minimum date is the year 1. + readonly property bool valid: __isValidDate(date) + + property QtObject styleData: QtObject { + readonly property alias index: delegateLoader.__index + readonly property bool selected: control.selectedDate.getFullYear() === date.getFullYear() && + control.selectedDate.getMonth() === date.getMonth() && + control.selectedDate.getDate() === date.getDate() + readonly property alias date: delegateLoader.__date + readonly property bool valid: delegateLoader.valid + // TODO: this will not be correct if the app is running when a new day begins. + readonly property bool today: date.getTime() === new Date().setHours(0, 0, 0, 0) + readonly property bool visibleMonth: date.getMonth() === control.visibleMonth + readonly property bool hovered: panelItem.hoveredCellIndex == index + readonly property bool pressed: panelItem.pressedCellIndex == index + // todo: pressed property here, clicked and doubleClicked in the control itself + } + } + } + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CalendarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CalendarStyle.qmlc new file mode 100644 index 00000000..f47d9789 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CalendarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml new file mode 100644 index 00000000..a476a953 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml @@ -0,0 +1,193 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Layouts 1.1 +import QtQuick.Window 2.1 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype CheckBoxStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup controlsstyling + \brief Provides custom styling for CheckBox. + + Example: + \qml + CheckBox { + text: "Check Box" + style: CheckBoxStyle { + indicator: Rectangle { + implicitWidth: 16 + implicitHeight: 16 + radius: 3 + border.color: control.activeFocus ? "darkblue" : "gray" + border.width: 1 + Rectangle { + visible: control.checked + color: "#555" + border.color: "#333" + radius: 1 + anchors.margins: 4 + anchors.fill: parent + } + } + } + } + \endqml +*/ +Style { + id: checkboxStyle + + /*! The \l CheckBox this style is attached to. */ + readonly property CheckBox control: __control + + /*! This defines the text label. */ + property Component label: Item { + implicitWidth: text.implicitWidth + 2 + implicitHeight: text.implicitHeight + baselineOffset: text.baselineOffset + Rectangle { + anchors.fill: text + anchors.margins: -1 + anchors.leftMargin: -3 + anchors.rightMargin: -3 + visible: control.activeFocus + height: 6 + radius: 3 + color: "#224f9fef" + border.color: "#47b" + opacity: 0.6 + } + Text { + id: text + text: StyleHelpers.stylizeMnemonics(control.text) + anchors.centerIn: parent + color: SystemPaletteSingleton.text(control.enabled) + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + } + /*! The background under indicator and label. */ + property Component background + + /*! The spacing between indicator and label. */ + property int spacing: Math.round(TextSingleton.implicitHeight/4) + + /*! This defines the indicator button. */ + property Component indicator: Item { + implicitWidth: Math.round(TextSingleton.implicitHeight) + implicitHeight: implicitWidth + Rectangle { + anchors.fill: parent + anchors.bottomMargin: -1 + color: "#44ffffff" + radius: baserect.radius + } + Rectangle { + id: baserect + gradient: Gradient { + GradientStop {color: "#eee" ; position: 0} + GradientStop {color: control.pressed ? "#eee" : "#fff" ; position: 0.1} + GradientStop {color: "#fff" ; position: 1} + } + radius: TextSingleton.implicitHeight * 0.16 + anchors.fill: parent + border.color: control.activeFocus ? "#47b" : "#999" + } + + Image { + source: "images/check.png" + opacity: control.checkedState === Qt.Checked ? control.enabled ? 1 : 0.5 : 0 + anchors.centerIn: parent + anchors.verticalCenterOffset: 1 + Behavior on opacity {NumberAnimation {duration: 80}} + } + + Rectangle { + anchors.fill: parent + anchors.margins: Math.round(baserect.radius) + antialiasing: true + gradient: Gradient { + GradientStop {color: control.pressed ? "#555" : "#999" ; position: 0} + GradientStop {color: "#555" ; position: 1} + } + radius: baserect.radius - 1 + anchors.centerIn: parent + anchors.alignWhenCentered: true + border.color: "#222" + Behavior on opacity {NumberAnimation {duration: 80}} + opacity: control.checkedState === Qt.PartiallyChecked ? control.enabled ? 1 : 0.5 : 0 + } + } + + /*! \internal */ + property Component panel: Item { + implicitWidth: Math.max(backgroundLoader.implicitWidth, row.implicitWidth + padding.left + padding.right) + implicitHeight: Math.max(backgroundLoader.implicitHeight, labelLoader.implicitHeight + padding.top + padding.bottom,indicatorLoader.implicitHeight + padding.top + padding.bottom) + baselineOffset: labelLoader.item ? padding.top + labelLoader.item.baselineOffset : 0 + + Loader { + id: backgroundLoader + sourceComponent: background + anchors.fill: parent + } + RowLayout { + id: row + anchors.fill: parent + + anchors.leftMargin: padding.left + anchors.rightMargin: padding.right + anchors.topMargin: padding.top + anchors.bottomMargin: padding.bottom + + spacing: checkboxStyle.spacing + Loader { + id: indicatorLoader + sourceComponent: indicator + } + Loader { + id: labelLoader + Layout.fillWidth: true + sourceComponent: label + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CheckBoxStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CheckBoxStyle.qmlc new file mode 100644 index 00000000..26a5a290 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CheckBoxStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml new file mode 100644 index 00000000..b2324e0e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Extras.Private 1.0 + +ButtonStyle { + id: buttonStyle + + label: Text { + anchors.fill: parent + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + text: control.text + font.pixelSize: TextSingleton.font.pixelSize * 1.25 + color: control.pressed || control.checked ? __buttonHelper.textColorDown : __buttonHelper.textColorUp + styleColor: control.pressed || control.checked ? __buttonHelper.textRaisedColorDown : __buttonHelper.textRaisedColorUp + style: Text.Raised + wrapMode: Text.Wrap + fontSizeMode: Text.Fit + } + + /*! \internal */ + property alias __buttonHelper: buttonHelper + + CircularButtonStyleHelper { + id: buttonHelper + control: buttonStyle.control + } + + background: Item { + implicitWidth: __buttonHelper.implicitWidth + implicitHeight: __buttonHelper.implicitHeight + + Canvas { + id: backgroundCanvas + anchors.fill: parent + + Connections { + target: control + function onPressedChanged() { backgroundCanvas.requestPaint() } + } + + onPaint: { + var ctx = getContext("2d"); + __buttonHelper.paintBackground(ctx); + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularButtonStyle.qmlc new file mode 100644 index 00000000..60a11ef1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml new file mode 100644 index 00000000..e40b8bb4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml @@ -0,0 +1,497 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtGraphicalEffects 1.0 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 + +/*! + \qmltype CircularGaugeStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.5 + \ingroup controlsstyling + \brief Provides custom styling for CircularGauge. + + You can create a custom circular gauge by replacing the following delegates: + \list + \li \l background + \li \l tickmark + \li \l minorTickmark + \li \l tickmarkLabel + \li \l needle + \li \l foreground + \endlist + + Below is an example that changes the needle to a basic orange \l Rectangle: + \code + CircularGauge { + style: CircularGaugeStyle { + needle: Rectangle { + y: outerRadius * 0.15 + implicitWidth: outerRadius * 0.03 + implicitHeight: outerRadius * 0.9 + antialiasing: true + color: Qt.rgba(0.66, 0.3, 0, 1) + } + } + } + \endcode + + The result: + \image circulargauge-needle-example-2.png CircularGaugeStyle example + + \section2 Direction + + \l minimumValueAngle and \l maximumValueAngle determine not only the + position of the tickmarks, labels and needle, but the direction in which + they are displayed around the gauge. For example, if \l minimumValueAngle + is greater than \l maximumValueAngle, the gauge will be anti-clockwise. + Below, there are two gauges: the top gauge has a \l minimumValueAngle of + \c -90 degrees and a \l maximumValueAngle of \c 90 degrees, and the bottom + gauge has the opposite. + + \image circulargauge-reversed.png Reversed CircularGauge + + \sa {Styling CircularGauge} +*/ + +Style { + id: circularGaugeStyle + + /*! + The \l CircularGauge that this style is attached to. + */ + readonly property CircularGauge control: __control + + /*! + The distance from the center of the gauge to the outer edge of the + gauge. + + This property is useful for determining the size of the various + components of the style, in order to ensure that they are scaled + proportionately when the gauge is resized. + */ + readonly property real outerRadius: Math.min(control.width, control.height) * 0.5 + + /*! + This property determines the angle at which the minimum value is + displayed on the gauge. + + The angle set affects the following components of the gauge: + \list + \li The angle of the needle + \li The position of the tickmarks and labels + \endlist + + The angle origin points north: + + \image circulargauge-angles.png + + There is no minimum or maximum angle for this property, but the default + style only supports angles whose absolute range is less than or equal + to \c 360 degrees. This is because ranges higher than \c 360 degrees + will cause the tickmarks and labels to overlap each other. + + The default value is \c -145. + */ + property real minimumValueAngle: -145 + + /*! + This property determines the angle at which the maximum value is + displayed on the gauge. + + The angle set affects the following components of the gauge: + \list + \li The angle of the needle + \li The position of the tickmarks and labels + \endlist + + The angle origin points north: + + \image circulargauge-angles.png + + There is no minimum or maximum angle for this property, but the default + style only supports angles whose absolute range is less than or equal + to \c 360 degrees. This is because ranges higher than \c 360 degrees + will cause the tickmarks and labels to overlap each other. + + The default value is \c 145. + */ + property real maximumValueAngle: 145 + + /*! + The range between \l minimumValueAngle and \l maximumValueAngle, in + degrees. This value will always be positive. + */ + readonly property real angleRange: control.__panel.circularTickmarkLabel.angleRange + + /*! + This property holds the rotation of the needle in degrees. + */ + property real needleRotation: { + var percentage = (control.value - control.minimumValue) / (control.maximumValue - control.minimumValue); + minimumValueAngle + percentage * angleRange; + } + + /*! + The interval at which tickmarks are displayed. + + For example, if this property is set to \c 10 (the default), + control.minimumValue to \c 0, and control.maximumValue to \c 100, + the tickmarks displayed will be 0, 10, 20, etc., to 100, + around the gauge. + */ + property real tickmarkStepSize: 10 + + /*! + The distance in pixels from the outside of the gauge (outerRadius) at + which the outermost point of the tickmark line is drawn. + */ + property real tickmarkInset: 0 + + + /*! + The amount of tickmarks displayed by the gauge, calculated from + \l tickmarkStepSize and the control's + \l {CircularGauge::minimumValue}{minimumValue} and + \l {CircularGauge::maximumValue}{maximumValue}. + + \sa minorTickmarkCount + */ + readonly property int tickmarkCount: control.__panel.circularTickmarkLabel.tickmarkCount + + /*! + The amount of minor tickmarks between each tickmark. + + The default value is \c 4. + + \sa tickmarkCount + */ + property int minorTickmarkCount: 4 + + /*! + The distance in pixels from the outside of the gauge (outerRadius) at + which the outermost point of the minor tickmark line is drawn. + */ + property real minorTickmarkInset: 0 + + /*! + The distance in pixels from the outside of the gauge (outerRadius) at + which the center of the value marker text is drawn. + */ + property real labelInset: __protectedScope.toPixels(0.19) + + /*! + The interval at which tickmark labels are displayed. + + For example, if this property is set to \c 10 (the default), + control.minimumValue to \c 0, and control.maximumValue to \c 100, the + tickmark labels displayed will be 0, 10, 20, etc., to 100, + around the gauge. + */ + property real labelStepSize: tickmarkStepSize + + /*! + The amount of tickmark labels displayed by the gauge, calculated from + \l labelStepSize and the control's + \l {CircularGauge::minimumValue}{minimumValue} and + \l {CircularGauge::maximumValue}{maximumValue}. + + \sa tickmarkCount, minorTickmarkCount + */ + readonly property int labelCount: control.__panel.circularTickmarkLabel.labelCount + + /*! \qmlmethod real CircularGaugeStyle::valueToAngle(real value) + Returns \a value as an angle in degrees. + + This function is useful for custom drawing or positioning of items in + the style's components. For example, it can be used to calculate the + angles at which to draw an arc around the gauge indicating the safe + area for the needle to be within. + + For example, if minimumValueAngle is set to \c 270 and + maximumValueAngle is set to \c 90, this function will return \c 270 + when passed minimumValue and \c 90 when passed maximumValue. + + \sa {Styling CircularGauge#styling-circulargauge-background}{ + Styling CircularGauge's background} + */ + function valueToAngle(value) { + return control.__panel.circularTickmarkLabel.valueToAngle(value); + } + + property QtObject __protectedScope: QtObject { + /*! + Converts a value expressed as a percentage of \l outerRadius to + a pixel value. + */ + function toPixels(percentageOfOuterRadius) { + return percentageOfOuterRadius * outerRadius; + } + } + + /*! + The background of the gauge. + + If set, the background determines the implicit size of the gauge. + + By default, there is no background defined. + + \sa {Styling CircularGauge#styling-circulargauge-background}{ + Styling CircularGauge's background} + */ + property Component background + + /*! + This component defines each individual tickmark. The position of each + tickmark is already set; only the + \l {Item::implicitWidth}{implicitWidth} and + \l {Item::implicitHeight}{implicitHeight} need to be specified. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this tickmark. + \row \li \c {readonly property real} \b styleData.value + \li The value that this tickmark represents. + \endtable + + To illustrate what these properties refer to, we can use the following + example: + + \snippet circulargauge-tickmark-indices-values.qml tickmarks + + We've replaced the conventional \e line tickmarks with \l Text items + and have hidden the tickmarkLabel component in order to make the + association clearer: + + \image circulargauge-tickmark-indices-values.png Tickmarks + + The index property can be useful if you have another model that + contains images to display for each index, for example. + + The value property is useful for drawing lower and upper limits around + the gauge to indicate the recommended value ranges. For example, speeds + above 200 kilometers an hour in a car's speedometer could be indicated + as dangerous using this property. + + \sa {Styling CircularGauge#styling-circulargauge-tickmark}{ + Styling CircularGauge's tickmark} + */ + property Component tickmark: Rectangle { + implicitWidth: outerRadius * 0.02 + antialiasing: true + implicitHeight: outerRadius * 0.06 + color: "#c8c8c8" + } + + /*! + This component defines each individual minor tickmark. The position of + each minor tickmark is already set; only the + \l {Item::implicitWidth}{implicitWidth} and + \l {Item::implicitHeight}{implicitHeight} need to be specified. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this tickmark. + \row \li \c {readonly property real} \b styleData.value + \li The value that this tickmark represents. + \endtable + + \sa {Styling CircularGauge#styling-circulargauge-minorTickmark}{ + Styling CircularGauge's minorTickmark} + */ + property Component minorTickmark: Rectangle { + implicitWidth: outerRadius * 0.01 + antialiasing: true + implicitHeight: outerRadius * 0.03 + color: "#c8c8c8" + } + + /*! + This defines the text of each tickmark label on the gauge. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this label. + \row \li \c {readonly property real} \b styleData.value + \li The value that this label represents. + \endtable + + \sa {Styling CircularGauge#styling-circulargauge-tickmarkLabel}{ + Styling CircularGauge's tickmarkLabel} + */ + property Component tickmarkLabel: Text { + font.pixelSize: Math.max(6, __protectedScope.toPixels(0.12)) + text: styleData.value + color: "#c8c8c8" + antialiasing: true + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + + /*! + The needle that points to the gauge's current value. + + This component is drawn below the \l foreground component. + + The style expects the needle to be pointing up at a rotation of \c 0, + in order for the rotation to be correct. For example: + + \image circulargauge-needle.png CircularGauge's needle + + When defining your own needle component, the only properties that the + style requires you to set are the + \l {Item::implicitWidth}{implicitWidth} and + \l {Item::implicitHeight}{implicitHeight}. + + Optionally, you can set \l {Item::x}{x} and \l {Item::y}{y} to change + the needle's transform origin. Setting the \c x position can be useful + for needle images where the needle is not centered exactly + horizontally. Setting the \c y position allows you to make the base of + the needle hang over the center of the gauge. + + \sa {Styling CircularGauge#styling-circulargauge-needle}{ + Styling CircularGauge's needle} + */ + property Component needle: Item { + implicitWidth: __protectedScope.toPixels(0.08) + implicitHeight: 0.9 * outerRadius + + Image { + anchors.fill: parent + source: "images/needle.png" + } + } + + /*! + The foreground of the gauge. This component is drawn above all others. + + Like \l background, the foreground component fills the entire gauge. + + By default, the knob of the gauge is defined here. + + \sa {Styling CircularGauge#styling-circulargauge-foreground}{ + Styling CircularGauge's foreground} + */ + property Component foreground: Item { + Image { + source: "images/knob.png" + anchors.centerIn: parent + scale: { + var idealHeight = __protectedScope.toPixels(0.2); + var originalImageHeight = sourceSize.height; + idealHeight / originalImageHeight; + } + } + } + + /*! \internal */ + property Component panel: Item { + id: panelItem + implicitWidth: backgroundLoader.item ? backgroundLoader.implicitWidth : TextSingleton.implicitHeight * 16 + implicitHeight: backgroundLoader.item ? backgroundLoader.implicitHeight : TextSingleton.implicitHeight * 16 + + property alias background: backgroundLoader.item + property alias circularTickmarkLabel: circularTickmarkLabel_ + + Loader { + id: backgroundLoader + sourceComponent: circularGaugeStyle.background + width: outerRadius * 2 + height: outerRadius * 2 + anchors.centerIn: parent + } + + CircularTickmarkLabel { + id: circularTickmarkLabel_ + anchors.fill: backgroundLoader + + minimumValue: control.minimumValue + maximumValue: control.maximumValue + stepSize: control.stepSize + tickmarksVisible: control.tickmarksVisible + minimumValueAngle: circularGaugeStyle.minimumValueAngle + maximumValueAngle: circularGaugeStyle.maximumValueAngle + tickmarkStepSize: circularGaugeStyle.tickmarkStepSize + tickmarkInset: circularGaugeStyle.tickmarkInset + minorTickmarkCount: circularGaugeStyle.minorTickmarkCount + minorTickmarkInset: circularGaugeStyle.minorTickmarkInset + labelInset: circularGaugeStyle.labelInset + labelStepSize: circularGaugeStyle.labelStepSize + + style: CircularTickmarkLabelStyle { + tickmark: circularGaugeStyle.tickmark + minorTickmark: circularGaugeStyle.minorTickmark + tickmarkLabel: circularGaugeStyle.tickmarkLabel + } + } + + Loader { + id: needleLoader + sourceComponent: circularGaugeStyle.needle + transform: [ + Rotation { + angle: needleRotation + origin.x: needleLoader.width / 2 + origin.y: needleLoader.height + }, + Translate { + x: panelItem.width / 2 - needleLoader.width / 2 + y: panelItem.height / 2 - needleLoader.height + } + ] + } + + Loader { + id: foreground + sourceComponent: circularGaugeStyle.foreground + anchors.fill: backgroundLoader + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qmlc new file mode 100644 index 00000000..4afb71df Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml new file mode 100644 index 00000000..494a7f28 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml @@ -0,0 +1,309 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras.Private 1.0 +import QtQuick.Extras.Private.CppUtils 1.0 + +Style { + id: circularTickmarkLabelStyle + + /*! + The distance from the center of the control to the outer edge. + */ + readonly property real outerRadius: Math.min(control.width, control.height) * 0.5 + + property QtObject __protectedScope: QtObject { + /*! + Converts a value expressed as a percentage of \l outerRadius to + a pixel value. + */ + function toPixels(percentageOfOuterRadius) { + return percentageOfOuterRadius * outerRadius; + } + } + + /*! + This component defines each individual tickmark. The position of each + tickmark is already set; only the size needs to be specified. + */ + property Component tickmark: Rectangle { + width: outerRadius * 0.02 + antialiasing: true + height: outerRadius * 0.06 + color: "#c8c8c8" + } + + /*! + This component defines each individual minor tickmark. The position of + each minor tickmark is already set; only the size needs to be specified. + */ + property Component minorTickmark: Rectangle { + width: outerRadius * 0.01 + antialiasing: true + height: outerRadius * 0.03 + color: "#c8c8c8" + } + + /*! + This defines the text of each tickmark label on the gauge. + */ + property Component tickmarkLabel: Text { + font.pixelSize: Math.max(6, __protectedScope.toPixels(0.12)) + text: styleData.value + color: "#c8c8c8" + antialiasing: true + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + + /*! \internal */ + property Component panel: Item { + id: panelItem + implicitWidth: 250 + implicitHeight: 250 + + function rangeUsed(count, stepSize) { + return (((count - 1) * stepSize) / (control.maximumValue - control.minimumValue)) * control.angleRange; + } + + readonly property real tickmarkSectionSize: rangeUsed(control.tickmarkCount, control.tickmarkStepSize) / (control.tickmarkCount - 1) + readonly property real tickmarkSectionValue: (control.maximumValue - control.minimumValue) / (control.tickmarkCount - 1) + readonly property real minorTickmarkSectionSize: tickmarkSectionSize / (control.minorTickmarkCount + 1) + readonly property real minorTickmarkSectionValue: tickmarkSectionValue / (control.minorTickmarkCount + 1) + readonly property int totalMinorTickmarkCount: { + // The size of each section within two major tickmarks, expressed as a percentage. + var minorSectionPercentage = 1 / (control.minorTickmarkCount + 1); + // The amount of major tickmarks not able to be displayed; will be 0 if they all fit. + var tickmarksNotDisplayed = control.__tickmarkCount - control.tickmarkCount; + var count = control.minorTickmarkCount * (control.tickmarkCount - 1); + // We'll try to display as many minor tickmarks as we can to fill up the space. + count + tickmarksNotDisplayed / minorSectionPercentage; + } + readonly property real labelSectionSize: rangeUsed(control.labelCount, control.labelStepSize) / (control.labelCount - 1) + + function toPixels(percentageOfOuterRadius) { + return percentageOfOuterRadius * outerRadius; + } + + /*! + Returns the angle of \a marker (in the range 0 ... n - 1, where n + is the amount of markers) on the gauge where sections are of size + tickmarkSectionSize. + */ + function tickmarkAngleFromIndex(tickmarkIndex) { + return tickmarkIndex * tickmarkSectionSize + control.minimumValueAngle; + } + + function labelAngleFromIndex(labelIndex) { + return labelIndex * labelSectionSize + control.minimumValueAngle; + } + + function labelPosFromIndex(index, labelWidth, labelHeight) { + return MathUtils.centerAlongCircle(outerRadius, outerRadius, labelWidth, labelHeight, + MathUtils.degToRadOffset(labelAngleFromIndex(index)), + outerRadius - control.labelInset) + } + + function minorTickmarkAngleFromIndex(minorTickmarkIndex) { + var baseAngle = tickmarkAngleFromIndex(Math.floor(minorTickmarkIndex / control.minorTickmarkCount)); + // + minorTickmarkSectionSize because we don't want the first minor tickmark to start on top of its "parent" tickmark. + var relativeMinorAngle = (minorTickmarkIndex % control.minorTickmarkCount * minorTickmarkSectionSize) + minorTickmarkSectionSize; + return baseAngle + relativeMinorAngle; + } + + function tickmarkValueFromIndex(majorIndex) { + return (majorIndex * tickmarkSectionValue) + control.minimumValue; + } + + function tickmarkValueFromMinorIndex(minorIndex) { + var majorIndex = Math.floor(minorIndex / control.minorTickmarkCount); + var relativeMinorIndex = minorIndex % control.minorTickmarkCount; + return tickmarkValueFromIndex(majorIndex) + ((relativeMinorIndex * minorTickmarkSectionValue) + minorTickmarkSectionValue); + } + + Loader { + active: control.tickmarksVisible && tickmark != null + width: outerRadius * 2 + height: outerRadius * 2 + anchors.centerIn: parent + + sourceComponent: Repeater { + id: tickmarkRepeater + model: control.tickmarkCount + delegate: Loader { + id: tickmarkLoader + objectName: "tickmark" + styleData.index + x: tickmarkRepeater.width / 2 + y: tickmarkRepeater.height / 2 + + transform: [ + Translate { + y: -outerRadius + control.tickmarkInset + }, + Rotation { + angle: panelItem.tickmarkAngleFromIndex(styleData.index) - __tickmarkWidthAsAngle / 2 + } + ] + + sourceComponent: tickmark + + property int __index: index + property QtObject styleData: QtObject { + readonly property alias index: tickmarkLoader.__index + readonly property real value: tickmarkValueFromIndex(index) + } + + readonly property real __tickmarkWidthAsAngle: MathUtils.radToDeg((width / (MathUtils.pi2 * outerRadius)) * MathUtils.pi2) + } + } + } + Loader { + active: control.tickmarksVisible && minorTickmark != null + width: outerRadius * 2 + height: outerRadius * 2 + anchors.centerIn: parent + + sourceComponent: Repeater { + id: minorRepeater + anchors.fill: parent + model: totalMinorTickmarkCount + delegate: Loader { + id: minorTickmarkLoader + objectName: "minorTickmark" + styleData.index + x: minorRepeater.width / 2 + y: minorRepeater.height / 2 + transform: [ + Translate { + y: -outerRadius + control.minorTickmarkInset + }, + Rotation { + angle: panelItem.minorTickmarkAngleFromIndex(styleData.index) - __minorTickmarkWidthAsAngle / 2 + } + ] + + sourceComponent: minorTickmark + + property int __index: index + property QtObject styleData: QtObject { + readonly property alias index: minorTickmarkLoader.__index + readonly property real value: tickmarkValueFromMinorIndex(index) + } + + readonly property real __minorTickmarkWidthAsAngle: MathUtils.radToDeg((width / (MathUtils.pi2 * outerRadius)) * MathUtils.pi2) + } + } + } + Loader { + id: labelLoader + active: control.tickmarksVisible && tickmarkLabel != null + width: outerRadius * 2 + height: outerRadius * 2 + anchors.centerIn: parent + + sourceComponent: Item { + id: labelItem + width: outerRadius * 2 + height: outerRadius * 2 + anchors.centerIn: parent + + Connections { + target: control + function onMinimumValueChanged() { valueTextModel.update() } + function onMaximumValueChanged() { valueTextModel.update() } + function onTickmarkStepSizeChanged() { valueTextModel.update() } + function onLabelStepSizeChanged() { valueTextModel.update() } + } + + Repeater { + id: labelItemRepeater + + Component.onCompleted: valueTextModel.update(); + + model: ListModel { + id: valueTextModel + + function update() { + if (control.labelStepSize === 0) { + return; + } + + // Make bigger if it's too small and vice versa. + // +1 because we want to show 11 values, with, for example: 0, 10, 20... 100. + var difference = control.labelCount - count; + if (difference > 0) { + for (; difference > 0; --difference) { + append({ value: 0 }); + } + } else if (difference < 0) { + for (; difference < 0; ++difference) { + remove(count - 1); + } + } + + var index = 0; + for (var value = control.minimumValue; + value <= control.maximumValue && index < count; + value += control.labelStepSize, ++index) { + setProperty(index, "value", value); + } + } + } + delegate: Loader { + id: tickmarkLabelDelegateLoader + objectName: "labelDelegateLoader" + index + sourceComponent: tickmarkLabel + x: pos.x + y: pos.y + + readonly property point pos: panelItem.labelPosFromIndex(index, width, height); + + readonly property int __index: index + readonly property real __value: value + property QtObject styleData: QtObject { + readonly property var value: index != -1 ? tickmarkLabelDelegateLoader.__value : 0 + readonly property alias index: tickmarkLabelDelegateLoader.__index + } + } + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qmlc new file mode 100644 index 00000000..ba7fd855 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml new file mode 100644 index 00000000..ea13696c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml @@ -0,0 +1,328 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Window 2.1 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Styles 1.1 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ComboBoxStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup controlsstyling + \brief Provides custom styling for ComboBox. +*/ + +Style { + id: cbStyle + + /*! + \qmlproperty enumeration renderType + \since QtQuick.Controls.Styles 1.2 + + Override the default rendering type for the control. + + Supported render types are: + \list + \li Text.QtRendering + \li Text.NativeRendering + \endlist + + The default value is platform dependent. + + \sa Text::renderType + */ + property int renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + + /*! + \since QtQuick.Controls.Styles 1.3 + The font of the control. + */ + property font font + + /*! + \since QtQuick.Controls.Styles 1.3 + The text color. + */ + property color textColor: SystemPaletteSingleton.text(control.enabled) + + /*! + \since QtQuick.Controls.Styles 1.3 + The text highlight color, used behind selections. + */ + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + + /*! + \since QtQuick.Controls.Styles 1.3 + The highlighted text color, used in selections. + */ + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) + + /*! The \l ComboBox this style is attached to. */ + readonly property ComboBox control: __control + + /*! The padding between the background and the label components. */ + padding { top: 4 ; left: 6 ; right: 6 ; bottom:4 } + + /*! The size of the drop down button when the combobox is editable. */ + property int dropDownButtonWidth: Math.round(TextSingleton.implicitHeight) + + /*! \internal Alias kept for backwards compatibility with a spelling mistake in 5.2.0) */ + property alias drowDownButtonWidth: cbStyle.dropDownButtonWidth + + /*! This defines the background of the button. */ + property Component background: Item { + implicitWidth: Math.round(TextSingleton.implicitHeight * 4.5) + implicitHeight: Math.max(25, Math.round(TextSingleton.implicitHeight * 1.2)) + Rectangle { + anchors.fill: parent + anchors.bottomMargin: control.pressed ? 0 : -1 + color: "#10000000" + radius: baserect.radius + } + Rectangle { + id: baserect + gradient: Gradient { + GradientStop {color: control.pressed ? "#bababa" : "#fefefe" ; position: 0} + GradientStop {color: control.pressed ? "#ccc" : "#e3e3e3" ; position: 1} + } + radius: TextSingleton.implicitHeight * 0.16 + anchors.fill: parent + border.color: control.activeFocus ? "#47b" : "#999" + Rectangle { + anchors.fill: parent + radius: parent.radius + color: control.activeFocus ? "#47b" : "white" + opacity: control.hovered || control.activeFocus ? 0.1 : 0 + Behavior on opacity {NumberAnimation{ duration: 100 }} + } + } + Image { + id: imageItem + visible: control.menu !== null + source: "images/arrow-down.png" + anchors.verticalCenter: parent.verticalCenter + anchors.right: parent.right + anchors.rightMargin: dropDownButtonWidth / 2 + opacity: control.enabled ? 0.6 : 0.3 + } + } + + /*! \internal */ + property Component __editor: Item { + implicitWidth: 100 + implicitHeight: Math.max(25, Math.round(TextSingleton.implicitHeight * 1.2)) + clip: true + Rectangle { + anchors.fill: parent + anchors.bottomMargin: 0 + color: "#44ffffff" + radius: baserect.radius + } + Rectangle { + id: baserect + anchors.rightMargin: -radius + anchors.bottomMargin: 1 + gradient: Gradient { + GradientStop {color: "#e0e0e0" ; position: 0} + GradientStop {color: "#fff" ; position: 0.1} + GradientStop {color: "#fff" ; position: 1} + } + radius: TextSingleton.implicitHeight * 0.16 + anchors.fill: parent + border.color: control.activeFocus ? "#47b" : "#999" + } + Rectangle { + color: "#aaa" + anchors.bottomMargin: 2 + anchors.topMargin: 1 + anchors.right: parent.right + anchors.top: parent.top + anchors.bottom: parent.bottom + width: 1 + } + } + + /*! This defines the label of the button. */ + property Component label: Item { + implicitWidth: textitem.implicitWidth + 20 + baselineOffset: textitem.y + textitem.baselineOffset + Text { + id: textitem + anchors.left: parent.left + anchors.right: parent.right + anchors.leftMargin: 4 + anchors.rightMargin: 10 + anchors.verticalCenter: parent.verticalCenter + text: control.currentText + renderType: cbStyle.renderType + font: cbStyle.font + color: cbStyle.textColor + elide: Text.ElideRight + } + } + + /*! \internal */ + property Component panel: Item { + property bool popup: false + property font font: cbStyle.font + property color textColor: cbStyle.textColor + property color selectionColor: cbStyle.selectionColor + property color selectedTextColor: cbStyle.selectedTextColor + property int dropDownButtonWidth: cbStyle.dropDownButtonWidth + anchors.centerIn: parent + anchors.fill: parent + implicitWidth: backgroundLoader.implicitWidth + implicitHeight: Math.max(labelLoader.implicitHeight + padding.top + padding.bottom, backgroundLoader.implicitHeight) + baselineOffset: labelLoader.item ? padding.top + labelLoader.item.baselineOffset: 0 + + Loader { + id: backgroundLoader + anchors.fill: parent + sourceComponent: background + + } + + Loader { + id: editorLoader + anchors.fill: parent + anchors.rightMargin: dropDownButtonWidth + padding.right + anchors.bottomMargin: -1 + sourceComponent: control.editable ? __editor : null + } + + Loader { + id: labelLoader + sourceComponent: label + visible: !control.editable + anchors.fill: parent + anchors.leftMargin: padding.left + anchors.topMargin: padding.top + anchors.rightMargin: padding.right + anchors.bottomMargin: padding.bottom + } + } + + /*! \internal */ + property Component __dropDownStyle: MenuStyle { + font: cbStyle.font + __labelColor: cbStyle.textColor + __selectedLabelColor: cbStyle.selectedTextColor + __selectedBackgroundColor: cbStyle.selectionColor + __maxPopupHeight: 600 + __menuItemType: "comboboxitem" + __scrollerStyle: ScrollViewStyle { } + } + + /*! \internal */ + property Component __popupStyle: Style { + property int __maxPopupHeight: 400 + property int submenuOverlap: 0 + property int submenuPopupDelay: 100 + + property Component frame: Rectangle { + id: popupFrame + border.color: "white" + Text { + text: "NOT IMPLEMENTED" + color: "red" + font { + pixelSize: 10 + bold: true + } + anchors.centerIn: parent + rotation: -Math.atan2(popupFrame.height, popupFrame.width) * 180 / Math.PI + } + } + + property Component menuItemPanel: Text { + text: styleData.text + } + + property Component __scrollerStyle: null + } + + /*! \internal + The cursor handle. + \since QtQuick.Controls.Styles 1.3 + + The parent of the handle is positioned to the top left corner of + the cursor position. The interactive area is determined by the + geometry of the handle delegate. + + The following signals and read-only properties are available within the scope + of the handle delegate: + \table + \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. + \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. + \row \li \b {styleData.position} : int \li The character position of the handle. + \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. + \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. + \endtable + */ + property Component __cursorHandle + + /*! \internal + The selection handle. + \since QtQuick.Controls.Styles 1.3 + + The parent of the handle is positioned to the top left corner of + the first selected character. The interactive area is determined + by the geometry of the handle delegate. + + The following signals and read-only properties are available within the scope + of the handle delegate: + \table + \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. + \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. + \row \li \b {styleData.position} : int \li The character position of the handle. + \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. + \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. + \endtable + */ + property Component __selectionHandle + + /*! \internal + The cursor delegate. + \since QtQuick.Controls.Styles 1.3 + */ + property Component __cursorDelegate +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ComboBoxStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ComboBoxStyle.qmlc new file mode 100644 index 00000000..f0ea9645 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ComboBoxStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml new file mode 100644 index 00000000..5deeb351 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +QtObject { + property Item control + + property color buttonColorUpTop: "#e3e3e3" + property color buttonColorUpBottom: "#b3b3b3" + property color buttonColorDownTop: "#d3d3d3" + property color buttonColorDownBottom: "#939393" + property color textColorUp: "#4e4e4e" + property color textColorDown: "#303030" + property color textRaisedColorUp: "#ffffff" + property color textRaisedColorDown: "#e3e3e3" + property color offColor: "#ff0000" + property color offColorShine: "#ff6666" + property color onColor: "#00cc00" + property color onColorShine: "#66ff66" + property color inactiveColor: "#1f1f1f" + property color inactiveColorShine: "#666666" +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CommonStyleHelper.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CommonStyleHelper.qmlc new file mode 100644 index 00000000..c0ce2efc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CommonStyleHelper.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml new file mode 100644 index 00000000..00a1716a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml @@ -0,0 +1,230 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtGraphicalEffects 1.0 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private.CppUtils 1.1 + +/*! + \qmltype DelayButtonStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.5 + \ingroup controlsstyling + \brief Provides custom styling for DelayButton. + + You can create a custom DelayButton by replacing the following delegates: + \list + \li \l foreground + \li \l {ButtonStyle::}{label} + \endlist +*/ + +CircularButtonStyle { + id: delayButtonStyle + + /*! + The \l DelayButton that this style is attached to. + */ + readonly property DelayButton control: __control + + /*! + The gradient of the progress bar around the button. + */ + property Gradient progressBarGradient: Gradient { + GradientStop { + position: 0 + color: "#ff6666" + } + GradientStop { + position: 1 + color: "#ff0000" + } + } + + /*! + The color of the drop shadow under the progress bar. + */ + property color progressBarDropShadowColor: "#ff6666" + + background: Item { + implicitWidth: __buttonHelper.implicitWidth + implicitHeight: __buttonHelper.implicitHeight + + Canvas { + id: backgroundCanvas + anchors.fill: parent + + Connections { + target: control + function onPressedChanged() { backgroundCanvas.requestPaint() } + function onCheckedChanged() { backgroundCanvas.requestPaint() } + } + + onPaint: { + var ctx = getContext("2d"); + __buttonHelper.paintBackground(ctx); + } + } + } + + /*! + The foreground of the button. + + The progress bar is drawn here. + */ + property Component foreground: Item { + id: foregroundItem + + state: "normal" + states: [ + State { + name: "normal" + + PropertyChanges { + target: foregroundItem + opacity: 1 + } + }, + State { + name: "activated" + } + ] + + transitions: [ + Transition { + from: "normal" + to: "activated" + SequentialAnimation { + loops: Animation.Infinite + + NumberAnimation { + target: foregroundItem + property: "opacity" + from: 0.8 + to: 0 + duration: 500 + easing.type: Easing.InOutSine + } + NumberAnimation { + target: foregroundItem + property: "opacity" + from: 0 + to: 0.8 + duration: 500 + easing.type: Easing.InOutSine + } + } + } + ] + + Connections { + target: control + function onActivated() { state = "activated" } + function onCheckedChanged() { if (!control.checked) state = "normal" } + } + + CircularProgressBar { + id: progressBar + visible: false + width: Math.min(parent.width, parent.height) + progressBarDropShadow.radius * 3 * 2 + height: width + anchors.centerIn: parent + antialiasing: true + barWidth: __buttonHelper.outerArcLineWidth + inset: progressBarDropShadow.radius * 3 + minimumValueAngle: -180 + maximumValueAngle: 180 + + progress: control.progress + + // TODO: Add gradient property if/when we drop support for building with 5.1. + function updateGradient() { + clearStops(); + for (var i = 0; i < progressBarGradient.stops.length; ++i) { + addStop(progressBarGradient.stops[i].position, progressBarGradient.stops[i].color); + } + } + + Component.onCompleted: updateGradient() + + Connections { + target: delayButtonStyle + function onProgressBarGradientChanged() { progressBar.updateGradient() } + } + } + + DropShadow { + id: progressBarDropShadow + anchors.fill: progressBar + // QTBUG-33747 +// cached: !control.pressed + color: progressBarDropShadowColor + source: progressBar + } + } + + panel: Item { + implicitWidth: backgroundLoader.implicitWidth + implicitHeight: backgroundLoader.implicitHeight + + Loader { + id: backgroundLoader + anchors.fill: parent + sourceComponent: background + } + + Loader { + id: foregroundLoader + anchors.fill: parent + sourceComponent: foreground + } + + Loader { + id: labelLoader + sourceComponent: label + anchors.fill: parent + anchors.leftMargin: padding.left + anchors.topMargin: padding.top + anchors.rightMargin: padding.right + anchors.bottomMargin: padding.bottom + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DelayButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DelayButtonStyle.qmlc new file mode 100644 index 00000000..16458634 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DelayButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DialStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DialStyle.qml new file mode 100644 index 00000000..95172455 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DialStyle.qml @@ -0,0 +1,359 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 +import QtQuick.Extras.Private.CppUtils 1.0 + +/*! + \qmltype DialStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.5 + \ingroup controlsstyling + \brief Provides custom styling for Dial. + + You can create a custom dial by replacing the following delegates: + \list + \li \l background + \endlist +*/ + +Style { + id: dialStyle + + /*! + The \l Dial that this style is attached to. + */ + readonly property Dial control: __control + + /*! + The distance from the center of the dial to the outer edge of the dial. + + This property is useful for determining the size of the various + components of the style, in order to ensure that they are scaled + proportionately when the dial is resized. + */ + readonly property real outerRadius: Math.min(control.height, control.width) / 2 + + /*! + The distance in pixels from the outside of the dial (outerRadius) + to the center of the handle. + */ + property real handleInset: (__tickmarkRadius * 4) + ((__handleRadius * 2) * 0.55) + + /*! + The interval at which tickmarks are displayed. + + For example, if this property is set to \c 10, + control.minimumValue to \c 0, and control.maximumValue to \c 100, + the tickmarks displayed will be 0, 10, 20, etc., to 100, along + the circumference of the dial. + */ + property real tickmarkStepSize: 1 + + /*! + The distance in pixels from the outside of the dial (outerRadius) at + which the outermost point of the tickmark line is drawn. + */ + property real tickmarkInset: 0 + + + /*! + The amount of tickmarks displayed by the dial, calculated from + \l tickmarkStepSize and the control's + \l {Dial::minimumValue}{minimumValue} and + \l {Dial::maximumValue}{maximumValue}. + + \sa minorTickmarkCount + */ + readonly property int tickmarkCount: control.__panel.circularTickmarkLabel.tickmarkCount + + /*! + The amount of minor tickmarks between each tickmark. + + \sa tickmarkCount + */ + property int minorTickmarkCount: 0 + + /*! + The distance in pixels from the outside of the dial (outerRadius) at + which the outermost point of the minor tickmark line is drawn. + */ + property real minorTickmarkInset: 0 + + /*! + The distance in pixels from the outside of the dial (outerRadius) at + which the center of the value marker text is drawn. + */ + property real labelInset: 0 + + /*! + The interval at which tickmark labels are displayed. + + For example, if this property is set to \c 10 (the default), + control.minimumValue to \c 0, and control.maximumValue to \c 100, the + tickmark labels displayed will be 0, 10, 20, etc., to 100, + along the circumference of the dial. + */ + property real labelStepSize: tickmarkStepSize + + /*! + The amount of tickmark labels displayed by the dial, calculated from + \l labelStepSize and the control's + \l {Dial::minimumValue}{minimumValue} and + \l {Dial::maximumValue}{maximumValue}. + + \sa tickmarkCount, minorTickmarkCount + */ + readonly property int labelCount: control.__panel.circularTickmarkLabel.labelCount + + /*! \qmlmethod real DialStyle::valueToAngle(real value) + Returns \a value as an angle in degrees. + + This function is useful for custom drawing or positioning of items in + the style's components. For example, it can be used to calculate the + angles at which to draw an arc around the dial indicating the safe + range of values. + */ + function valueToAngle(value) { + return control.__panel.circularTickmarkLabel.valueToAngle(value); + } + + /*! \internal */ + readonly property real __tickmarkRadius: outerRadius * 0.06 + + /*! \internal */ + readonly property real __handleRadius: outerRadius * 0.15 + + /*! + \internal + + This property determines whether it is possible to change the value of + the dial simply by pressing/tapping. + + If \c false, the user must drag to rotate the dial and hence change the + value. + + This property is useful for touch devices, where it is easy to + accidentally tap while flicking, for example. + */ + property bool __dragToSet: Settings.hasTouchScreen && Settings.isMobile + + /*! + The background of the dial. + + The implicit size of the dial is taken from this component. + */ + property Component background: Item { + id: backgroundItem + implicitWidth: backgroundHelper.implicitWidth + implicitHeight: backgroundHelper.implicitHeight + + CircularButtonStyleHelper { + id: backgroundHelper + control: dialStyle.control + property color zeroMarkerColor: "#a8a8a8" + property color zeroMarkerColorTransparent: "transparent" + property real zeroMarkerLength: outerArcLineWidth * 1.25 + property real zeroMarkerWidth: outerArcLineWidth * 0.3 + + smallestAxis: Math.min(backgroundItem.width, backgroundItem.height) - __tickmarkRadius * 4 + } + + Canvas { + id: backgroundCanvas + anchors.fill: parent + + readonly property real xCenter: width / 2 + readonly property real yCenter: height / 2 + + onPaint: { + var ctx = getContext("2d"); + backgroundHelper.paintBackground(ctx); + } + } + } + + /*! + The handle of the dial. + + The handle is automatically positioned within the dial, based on the + \l handleInset and the implicit width and height of the handle itself. + */ + property Component handle: Canvas { + implicitWidth: __handleRadius * 2 + implicitHeight: __handleRadius * 2 + + HandleStyleHelper { + id: handleHelper + } + + onPaint: { + var ctx = getContext("2d"); + handleHelper.paintHandle(ctx, 1, 1, width - 2, height - 2); + } + } + + /*! + This component defines each individual tickmark. The position of each + tickmark is already set; only the + \l {Item::implicitWidth}{implicitWidth} and + \l {Item::implicitHeight}{implicitHeight} need to be specified. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this tickmark. + \row \li \c {readonly property real} \b styleData.value + \li The value that this tickmark represents. + \endtable + */ + property Component tickmark: Rectangle { + implicitWidth: outerRadius * 0.015 + (styleData.index === 0 || styleData.index === tickmarkCount ? 1 : (styleData.index) / tickmarkCount) * __tickmarkRadius * 0.75 + implicitHeight: implicitWidth + radius: height / 2 + color: styleData.index === 0 ? "transparent" : Qt.rgba(0, 0, 0, 0.266) + antialiasing: true + border.width: styleData.index === 0 ? Math.max(1, outerRadius * 0.0075) : 0 + border.color: Qt.rgba(0, 0, 0, 0.266) + } + + /*! + This component defines each individual minor tickmark. The position of each + minor tickmark is already set; only the + \l {Item::implicitWidth}{implicitWidth} and + \l {Item::implicitHeight}{implicitHeight} need to be specified. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this tickmark. + \row \li \c {readonly property real} \b styleData.value + \li The value that this tickmark represents. + \endtable + + By default, no minor tickmark is defined. + */ + property Component minorTickmark + + /*! + This defines the text of each tickmark label on the dial. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this label. + \row \li \c {readonly property real} \b styleData.value + \li The value that this label represents. + \endtable + + By default, no label is defined. + */ + property Component tickmarkLabel + + /*! \internal */ + property Component panel: Item { + implicitWidth: backgroundLoader.implicitWidth + implicitHeight: backgroundLoader.implicitHeight + + property alias background: backgroundLoader.item + property alias circularTickmarkLabel: circularTickmarkLabel_ + + Loader { + id: backgroundLoader + sourceComponent: dialStyle.background + width: outerRadius * 2 + height: width + anchors.centerIn: parent + } + + Loader { + id: handleLoader + sourceComponent: dialStyle.handle + x: backgroundLoader.x + __pos.x - width / 2 + y: backgroundLoader.y + __pos.y - height / 2 + + readonly property point __pos: { + var radians = 0; + if (control.__wrap) { + radians = (control.value - control.minimumValue) / + (control.maximumValue - control.minimumValue) * + (MathUtils.pi2) + backgroundHelper.zeroAngle; + } else { + radians = -(Math.PI * 8 - (control.value - control.minimumValue) * 10 * + Math.PI / (control.maximumValue - control.minimumValue)) / 6; + } + + return MathUtils.centerAlongCircle(backgroundLoader.width / 2, backgroundLoader.height / 2, + 0, 0, radians, outerRadius - handleInset) + } + } + + CircularTickmarkLabel { + id: circularTickmarkLabel_ + anchors.fill: backgroundLoader + + minimumValue: control.minimumValue + maximumValue: control.maximumValue + stepSize: control.stepSize + tickmarksVisible: control.tickmarksVisible + minimumValueAngle: -150 + maximumValueAngle: 150 + tickmarkStepSize: dialStyle.tickmarkStepSize + tickmarkInset: dialStyle.tickmarkInset + minorTickmarkCount: dialStyle.minorTickmarkCount + minorTickmarkInset: dialStyle.minorTickmarkInset + labelInset: dialStyle.labelInset + labelStepSize: dialStyle.labelStepSize + + style: CircularTickmarkLabelStyle { + tickmark: dialStyle.tickmark + minorTickmark: dialStyle.minorTickmark + tickmarkLabel: dialStyle.tickmarkLabel + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DialStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DialStyle.qmlc new file mode 100644 index 00000000..4999b689 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DialStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml new file mode 100644 index 00000000..3db24796 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml @@ -0,0 +1,51 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype FocusFrameStyle + \internal + \inqmlmodule QtQuick.Controls.Styles +*/ +Item { + property int margin: -3 +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/FocusFrameStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/FocusFrameStyle.qmlc new file mode 100644 index 00000000..a8804c55 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/FocusFrameStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GaugeStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GaugeStyle.qml new file mode 100644 index 00000000..4ad1f7ef --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GaugeStyle.qml @@ -0,0 +1,544 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 + +/*! + \qmltype GaugeStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.5 + \ingroup controlsstyling + \brief Provides custom styling for Gauge. + + You can create a custom gauge by replacing the following delegates: + \list + \li \l background + \li valueBar + \li tickmarkLabel + \endlist + + Below, you'll find an example of how to create a temperature gauge that + changes color as its value increases: + + \code + import QtQuick 2.2 + import QtQuick.Controls 1.4 + import QtQuick.Controls.Styles 1.4 + import QtQuick.Extras 1.4 + + Rectangle { + width: 80 + height: 200 + + Timer { + running: true + repeat: true + interval: 2000 + onTriggered: gauge.value = gauge.value == gauge.maximumValue ? 5 : gauge.maximumValue + } + + Gauge { + id: gauge + anchors.fill: parent + anchors.margins: 10 + + value: 5 + Behavior on value { + NumberAnimation { + duration: 1000 + } + } + + style: GaugeStyle { + valueBar: Rectangle { + implicitWidth: 16 + color: Qt.rgba(gauge.value / gauge.maximumValue, 0, 1 - gauge.value / gauge.maximumValue, 1) + } + } + } + } + \endcode + + \image gauge-temperature.png + The gauge displaying values at various points during the animation. + + \sa {Styling Gauge} +*/ + +Style { + id: gaugeStyle + + /*! + The \l Gauge that this style is attached to. + */ + readonly property Gauge control: __control + + /*! + This property holds the value displayed by the gauge as a position in + pixels. + + It is useful for custom styling. + */ + readonly property real valuePosition: control.__panel.valuePosition + + /*! + The background of the gauge, displayed behind the \l valueBar. + + By default, no background is defined. + */ + property Component background + + /*! + Each tickmark displayed by the gauge. + + To set the size of the tickmarks, specify an + \l {Item::implicitWidth}{implicitWidth} and + \l {Item::implicitHeight}{implicitHeight}. + + The widest tickmark will determine the space set aside for all + tickmarks. For this reason, the \c implicitWidth of each tickmark + should be greater than or equal to that of each minor tickmark. If you + need minor tickmarks to have greater widths than the major tickmarks, + set the larger width in a child item of the \l minorTickmark component. + + For layouting reasons, each tickmark should have the same + \c implicitHeight. If different heights are needed for individual + tickmarks, specify those heights in a child item of the component. + + In the example below, we decrease the height of the tickmarks: + + \code + tickmark: Item { + implicitWidth: 18 + implicitHeight: 1 + + Rectangle { + color: "#c8c8c8" + anchors.fill: parent + anchors.leftMargin: 3 + anchors.rightMargin: 3 + } + } + \endcode + + \image gauge-tickmark-example.png Gauge tickmark example + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this tickmark. + \row \li \c {readonly property real} \b styleData.value + \li The value that this tickmark represents. + \row \li \c {readonly property real} \b styleData.valuePosition + \li The value that this tickmark represents as a position in + pixels, with 0 being at the bottom of the gauge. + \endtable + + \sa minorTickmark + */ + property Component tickmark: Item { + implicitWidth: Math.round(TextSingleton.height * 1.1) + implicitHeight: Math.max(2, Math.round(TextSingleton.height * 0.1)) + + Rectangle { + color: "#c8c8c8" + anchors.fill: parent + anchors.leftMargin: Math.round(TextSingleton.implicitHeight * 0.2) + anchors.rightMargin: Math.round(TextSingleton.implicitHeight * 0.2) + } + } + + /*! + Each minor tickmark displayed by the gauge. + + To set the size of the minor tickmarks, specify an + \l {Item::implicitWidth}{implicitWidth} and + \l {Item::implicitHeight}{implicitHeight}. + + For layouting reasons, each minor tickmark should have the same + \c implicitHeight. If different heights are needed for individual + tickmarks, specify those heights in a child item of the component. + + In the example below, we decrease the width of the minor tickmarks: + + \code + minorTickmark: Item { + implicitWidth: 8 + implicitHeight: 1 + + Rectangle { + color: "#cccccc" + anchors.fill: parent + anchors.leftMargin: 2 + anchors.rightMargin: 4 + } + } + \endcode + + \image gauge-minorTickmark-example.png Gauge minorTickmark example + + Each instance of this component has access to the following property: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this minor tickmark. + \row \li \c {readonly property real} \b styleData.value + \li The value that this minor tickmark represents. + \row \li \c {readonly property real} \b styleData.valuePosition + \li The value that this minor tickmark represents as a + position in pixels, with 0 being at the bottom of the + gauge. + \endtable + + \sa tickmark + */ + property Component minorTickmark: Item { + implicitWidth: Math.round(TextSingleton.implicitHeight * 0.65) + implicitHeight: Math.max(1, Math.round(TextSingleton.implicitHeight * 0.05)) + + Rectangle { + color: "#c8c8c8" + anchors.fill: parent + anchors.leftMargin: control.__tickmarkAlignment === Qt.AlignBottom || control.__tickmarkAlignment === Qt.AlignRight + ? Math.max(3, Math.round(TextSingleton.implicitHeight * 0.2)) + : 0 + anchors.rightMargin: control.__tickmarkAlignment === Qt.AlignBottom || control.__tickmarkAlignment === Qt.AlignRight + ? 0 + : Math.max(3, Math.round(TextSingleton.implicitHeight * 0.2)) + } + } + + /*! + This defines the text of each tickmark label on the gauge. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this label. + \row \li \c {readonly property real} \b styleData.value + \li The value that this label represents. + \endtable + */ + property Component tickmarkLabel: Text { + text: control.formatValue(styleData.value) + font: control.font + color: "#c8c8c8" + antialiasing: true + } + + /*! + The bar that represents the value of the gauge. + + To height of the value bar is automatically resized according to + \l {Gauge::value}{value}, and does not need to be specified. + + When a custom valueBar is defined, its + \l {Item::implicitWidth}{implicitWidth} property must be set. + */ + property Component valueBar: Rectangle { + color: "#00bbff" + implicitWidth: TextSingleton.implicitHeight + } + + /*! + The bar that represents the foreground of the gauge. + + This component is drawn above every other component. + */ + property Component foreground: Canvas { + readonly property real xCenter: width / 2 + readonly property real yCenter: height / 2 + property real shineLength: height * 0.95 + + onPaint: { + var ctx = getContext("2d"); + ctx.reset(); + + ctx.beginPath(); + ctx.rect(0, 0, width, height); + + var gradient = ctx.createLinearGradient(0, yCenter, width, yCenter); + + gradient.addColorStop(0, Qt.rgba(1, 1, 1, 0.08)); + gradient.addColorStop(1, Qt.rgba(1, 1, 1, 0.20)); + ctx.fillStyle = gradient; + ctx.fill(); + } + } + + /*! \internal */ + property Component panel: Item { + id: panelComponent + implicitWidth: control.orientation === Qt.Vertical ? tickmarkLabelBoundsWidth + rawBarWidth : TextSingleton.height * 14 + implicitHeight: control.orientation === Qt.Vertical ? TextSingleton.height * 14 : tickmarkLabelBoundsWidth + rawBarWidth + + readonly property int tickmarkCount: (control.maximumValue - control.minimumValue) / control.tickmarkStepSize + 1 + readonly property real tickmarkSpacing: (tickmarkLabelBounds.height - tickmarkWidth * tickmarkCount) / (tickmarkCount - 1) + + property real tickmarkLength: tickmarkColumn.width + // Can't deduce this from the column, so we set it from within the first tickmark delegate loader. + property real tickmarkWidth: 2 + + readonly property real tickmarkOffset: control.orientation === Qt.Vertical ? control.__hiddenText.height / 2 : control.__hiddenText.width / 2 + + readonly property real minorTickmarkStep: control.tickmarkStepSize / (control.minorTickmarkCount + 1); + + /*! + Returns the marker text that should be displayed based on + \a markerPos (\c 0 to \c 1.0). + */ + function markerTextFromPos(markerPos) { + return markerPos * (control.maximumValue - control.minimumValue) + control.minimumValue; + } + + readonly property real rawBarWidth: valueBarLoader.item.implicitWidth + readonly property real barLength: (control.orientation === Qt.Vertical ? control.height : control.width) - (tickmarkOffset * 2 - 2) + + readonly property real tickmarkLabelBoundsWidth: tickmarkLength + (control.orientation === Qt.Vertical ? control.__hiddenText.width : control.__hiddenText.height) + readonly property int valuePosition: valueBarLoader.height + + Item { + id: container + + width: control.orientation === Qt.Vertical ? parent.width : parent.height + height: control.orientation === Qt.Vertical ? parent.height : parent.width + rotation: control.orientation === Qt.Horizontal ? 90 : 0 + transformOrigin: Item.Center + anchors.centerIn: parent + + Item { + id: valueBarItem + + x: control.__tickmarkAlignment === Qt.AlignLeft || control.__tickmarkAlignment === Qt.AlignTop ? tickmarkLabelBounds.x + tickmarkLabelBounds.width : 0 + width: rawBarWidth + height: barLength + anchors.verticalCenter: parent.verticalCenter + + Loader { + id: backgroundLoader + sourceComponent: background + anchors.fill: parent + } + + Loader { + id: valueBarLoader + sourceComponent: valueBar + + readonly property real valueAsPercentage: (control.value - control.minimumValue) / (control.maximumValue - control.minimumValue) + + y: Math.round(parent.height - height) + height: Math.round(valueAsPercentage * parent.height) + } + } + Item { + id: tickmarkLabelBounds + + x: control.__tickmarkAlignment === Qt.AlignLeft || control.__tickmarkAlignment === Qt.AlignTop ? 0 : valueBarItem.width + width: tickmarkLabelBoundsWidth + height: barLength + anchors.verticalCenter: parent.verticalCenter + // We want our items to be laid out from bottom to top, but Column can't do that, so we flip + // the whole item containing the tickmarks and labels vertically. Then, we flip each tickmark + // and label back again. + transform: Rotation { + axis.x: 1 + axis.y: 0 + axis.z: 0 + origin.x: tickmarkLabelBounds.width / 2 + origin.y: tickmarkLabelBounds.height / 2 + angle: 180 + } + + Column { + id: tickmarkColumn + x: control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom ? 0 : tickmarkLabelBounds.width - width + spacing: tickmarkSpacing + anchors.verticalCenter: parent.verticalCenter + + Repeater { + id: tickmarkRepeater + model: tickmarkCount + delegate: Loader { + id: tickmarkDelegateLoader + + sourceComponent: gaugeStyle.tickmark + transform: Rotation { + axis.x: 1 + axis.y: 0 + axis.z: 0 + origin.x: tickmarkDelegateLoader.width / 2 + origin.y: tickmarkDelegateLoader.height / 2 + angle: 180 + } + + onHeightChanged: { + if (index == 0) + tickmarkWidth = height; + } + + readonly property int __index: index + property QtObject styleData: QtObject { + readonly property alias index: tickmarkDelegateLoader.__index + readonly property real value: (index / (tickmarkCount - 1)) * (control.maximumValue - control.minimumValue) + control.minimumValue + readonly property int valuePosition: Math.round(tickmarkDelegateLoader.y) + } + } + } + } + + // Doesn't need to be in a column, since we assume that the major tickmarks will always be longer than us. + Repeater { + id: minorTickmarkRepeater + model: (tickmarkCount - 1) * control.minorTickmarkCount + delegate: Loader { + id: minorTickmarkDelegateLoader + + x: control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom ? 0 : tickmarkLabelBounds.width - width + y: { + var tickmarkWidthOffset = Math.floor(index / control.minorTickmarkCount) * tickmarkWidth + tickmarkWidth; + var relativePosition = (index % control.minorTickmarkCount + 1) * (tickmarkSpacing / (control.minorTickmarkCount + 1)); + var clusterOffset = Math.floor(index / control.minorTickmarkCount) * tickmarkSpacing; + // We assume that each minorTickmark's height is the same. + return clusterOffset + tickmarkWidthOffset + relativePosition - height / 2; + } + + transform: Rotation { + axis.x: 1 + axis.y: 0 + axis.z: 0 + origin.x: minorTickmarkDelegateLoader.width / 2 + origin.y: minorTickmarkDelegateLoader.height / 2 + angle: 180 + } + + sourceComponent: gaugeStyle.minorTickmark + + readonly property int __index: index + property QtObject styleData: QtObject { + readonly property alias index: minorTickmarkDelegateLoader.__index + readonly property real value: { + var tickmarkIndex = Math.floor(index / control.minorTickmarkCount); + return index * minorTickmarkStep + minorTickmarkStep * tickmarkIndex + minorTickmarkStep + control.minimumValue; + } + readonly property int valuePosition: Math.round(minorTickmarkDelegateLoader.y) + } + } + } + + Item { + id: tickmarkLabelItem + x: control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom + ? tickmarkLength + : tickmarkLabelBounds.width - tickmarkLength - width + width: control.__hiddenText.width + // Use the bar height instead of the container's, as the labels seem to be translated by 1 when we + // flip the control vertically, and this fixes that. + height: parent.height + anchors.verticalCenter: parent.verticalCenter + + Repeater { + id: tickmarkTextRepeater + model: tickmarkCount + delegate: Item { + x: { + if (control.orientation === Qt.Vertical) + return 0; + + // Align the text to the edge of the tickmarks. + return ((width - height) / 2) * (control.__tickmarkAlignment === Qt.AlignBottom ? -1 : 1); + } + y: index * labelDistance - height / 2 + + width: control.__hiddenText.width + height: control.__hiddenText.height + + transformOrigin: Item.Center + rotation: control.orientation === Qt.Vertical ? 0 : 90 + + readonly property real labelDistance: tickmarkLabelBounds.height / (tickmarkCount - 1) + + Loader { + id: tickmarkTextRepeaterDelegate + + x: { + if (control.orientation === Qt.Horizontal) { + return parent.width / 2 - width / 2; + } + + return control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom + ? 0 + : parent.width - width; + } + + transform: Rotation { + axis.x: 1 + axis.y: 0 + axis.z: 0 + origin.x: tickmarkTextRepeaterDelegate.width / 2 + origin.y: tickmarkTextRepeaterDelegate.height / 2 + angle: 180 + } + + sourceComponent: tickmarkLabel + + readonly property int __index: index + property QtObject styleData: QtObject { + readonly property alias index: tickmarkTextRepeaterDelegate.__index + readonly property real value: markerTextFromPos(index / (tickmarkTextRepeater.count - 1)) + } + } + } + } + } + } + Loader { + id: foregroundLoader + sourceComponent: foreground + anchors.fill: valueBarItem + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GaugeStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GaugeStyle.qmlc new file mode 100644 index 00000000..d2fc21d9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GaugeStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml new file mode 100644 index 00000000..061a8069 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml @@ -0,0 +1,143 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype GroupBoxStyle + \internal + \inqmlmodule QtQuick.Controls.Styles + \ingroup controlsstyling + \since 5.1 +*/ +Style { + + /*! The \l GroupBox this style is attached to. */ + readonly property GroupBox control: __control + + /*! The margin from the content item to the groupbox. */ + padding { + top: (control.title.length > 0 || control.checkable ? TextSingleton.implicitHeight : 0) + 10 + left: 8 + right: 8 + bottom: 6 + } + + /*! The title text color. */ + property color textColor: SystemPaletteSingleton.text(control.enabled) + + /*! The check box. */ + property Component checkbox: Item { + implicitWidth: 18 + implicitHeight: 18 + BorderImage { + anchors.fill: parent + source: "images/editbox.png" + border.top: 6 + border.bottom: 6 + border.left: 6 + border.right: 6 + } + Rectangle { + height: 16 + width: 16 + antialiasing: true + visible: control.checked + color: "#666" + radius: 1 + anchors.margins: 4 + anchors.fill: parent + anchors.topMargin: 3 + anchors.bottomMargin: 5 + border.color: "#222" + opacity: control.enabled ? 1 : 0.5 + Rectangle { + anchors.fill: parent + anchors.margins: 1 + color: "transparent" + border.color: "#33ffffff" + } + } + BorderImage { + anchors.fill: parent + anchors.margins: -1 + source: "images/focusframe.png" + visible: control.activeFocus + border.left: 4 + border.right: 4 + border.top: 4 + border.bottom: 4 + } + } + + /*! The groupbox frame. */ + property Component panel: Item { + anchors.fill: parent + Loader { + id: checkboxloader + anchors.left: parent.left + sourceComponent: control.checkable ? checkbox : null + anchors.verticalCenter: label.verticalCenter + width: item ? item.implicitWidth : 0 + } + + Text { + id: label + anchors.top: parent.top + anchors.left: checkboxloader.right + anchors.margins: 4 + text: control.title + color: textColor + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + + BorderImage { + anchors.fill: parent + anchors.topMargin: padding.top - 7 + source: "images/groupbox.png" + border.left: 4 + border.right: 4 + border.top: 4 + border.bottom: 4 + visible: !control.flat + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GroupBoxStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GroupBoxStyle.qmlc new file mode 100644 index 00000000..a92fe66d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GroupBoxStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyle.qml new file mode 100644 index 00000000..0713c9ff --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyle.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 + +Style { + id: handleStyle + property alias handleColorTop: __helper.handleColorTop + property alias handleColorBottom: __helper.handleColorBottom + property alias handleColorBottomStop: __helper.handleColorBottomStop + + HandleStyleHelper { + id: __helper + } + + property Component handle: Item { + implicitWidth: 50 + implicitHeight: 50 + + Canvas { + id: handleCanvas + anchors.fill: parent + + onPaint: { + var ctx = getContext("2d"); + __helper.paintHandle(ctx); + } + } + } + + property Component panel: Item { + Loader { + id: handleLoader + sourceComponent: handle + anchors.fill: parent + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyle.qmlc new file mode 100644 index 00000000..2dff1750 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml new file mode 100644 index 00000000..78059bfe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +QtObject { + id: handleStyleHelper + + property color handleColorTop: "#969696" + property color handleColorBottom: Qt.rgba(0.9, 0.9, 0.9, 0.298) + property real handleColorBottomStop: 0.7 + + property color handleRingColorTop: "#b0b0b0" + property color handleRingColorBottom: "transparent" + + /*! + If \a ctx is the only argument, this is equivalent to calling + paintHandle(\c ctx, \c 0, \c 0, \c ctx.canvas.width, \c ctx.canvas.height). + */ + function paintHandle(ctx, handleX, handleY, handleWidth, handleHeight) { + ctx.reset(); + + if (handleWidth < 0) + return; + + if (arguments.length == 1) { + handleX = 0; + handleY = 0; + handleWidth = ctx.canvas.width; + handleHeight = ctx.canvas.height; + } + + ctx.beginPath(); + var gradient = ctx.createRadialGradient(handleX, handleY, 0, + handleX, handleY, handleWidth * 1.5); + gradient.addColorStop(0, handleColorTop); + gradient.addColorStop(handleColorBottomStop, handleColorBottom); + ctx.ellipse(handleX, handleY, handleWidth, handleHeight); + ctx.fillStyle = gradient; + ctx.fill(); + + /* Draw the ring gradient around the handle. */ + // Clip first, so we only draw inside the ring. + ctx.beginPath(); + ctx.ellipse(handleX, handleY, handleWidth, handleHeight); + ctx.ellipse(handleX + 2, handleY + 2, handleWidth - 4, handleHeight - 4); + ctx.clip(); + + ctx.beginPath(); + gradient = ctx.createLinearGradient(handleX + handleWidth / 2, handleY, + handleX + handleWidth / 2, handleY + handleHeight); + gradient.addColorStop(0, handleRingColorTop); + gradient.addColorStop(1, handleRingColorBottom); + ctx.ellipse(handleX, handleY, handleWidth, handleHeight); + ctx.fillStyle = gradient; + ctx.fill(); + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyleHelper.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyleHelper.qmlc new file mode 100644 index 00000000..3a116ee3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyleHelper.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuBarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuBarStyle.qml new file mode 100644 index 00000000..ade34b0a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuBarStyle.qml @@ -0,0 +1,131 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype MenuBarStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.3 + \ingroup controlsstyling + \brief Provides custom styling for MenuBar. + + \note Styling menu bars may not be supported on platforms using native menu bars + through their QPA plugin. +*/ + +Style { + id: root + + /*! + \qmlmethod string MenuBarStyle::formatMnemonic(string text, bool underline = false) + Returns a formatted string to render mnemonics for a given menu item \a text. + + The mnemonic character is prefixed by an ampersand in the original string. + + Passing \c true for \e underline will underline the mnemonic character (e.g., + \c formatMnemonic("&File", true) will return \c "File"). Passing \c false + for \a underline will return the plain text form (e.g., \c formatMnemonic("&File", false) + will return \c "File"). + + \sa Label + */ + function formatMnemonic(text, underline) { + return underline ? StyleHelpers.stylizeMnemonics(text) : StyleHelpers.removeMnemonics(text) + } + + /*! The background for the full menu bar. + + The background will be extended to the full containing window width. + Its height will always fit all of the menu bar items. The final size + will include the paddings. + */ + property Component background: Rectangle { + color: "#dcdcdc" + implicitHeight: 20 + } + + /*! The menu bar item. + + \target styleData properties + This item has to be configured using the \b styleData object which is in scope, + and contains the following read-only properties: + \table + \row \li \b {styleData.index} : int \li The index of the menu item in its menu. + \row \li \b {styleData.selected} : bool \li \c true if the menu item is selected. + \row \li \b {styleData.open} : bool \li \c true when the pull down menu is open. + \row \li \b {styleData.text} : string \li The menu bar item's text. + \row \li \b {styleData.underlineMnemonic} : bool \li When \c true, the style should underline the menu item's label mnemonic. + \endtable + + */ + property Component itemDelegate: Rectangle { + implicitWidth: text.width + 12 + implicitHeight: text.height + 4 + color: styleData.enabled && styleData.open ? "#49d" : "transparent" + + Text { + id: text + font: root.font + text: formatMnemonic(styleData.text, styleData.underlineMnemonic) + anchors.centerIn: parent + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + color: styleData.open ? "white" : SystemPaletteSingleton.windowText(control.enabled && styleData.enabled) + } + } + + /*! The style component for the menubar's own menus and their submenus. + + \sa {MenuStyle} + */ + property Component menuStyle: MenuStyle { + font: root.font + } + + /*! + \since QtQuick.Controls.Styles 1.3 + The font of the control. + */ + property font font + + /*! \internal */ + property bool __isNative: true +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuBarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuBarStyle.qmlc new file mode 100644 index 00000000..d193fe0c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuBarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuStyle.qml new file mode 100644 index 00000000..f40e0af7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuStyle.qml @@ -0,0 +1,477 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Window 2.1 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype MenuStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.3 + \ingroup controlsstyling + \brief Provides custom styling for Menu. + + \target styleData properties + The \b styleData object contains the following read-only properties: + \table + \row \li \b {styleData.index} : int \li The index of the menu item in its menu. + \row \li \b {styleData.type} : enumeration \li The type of menu item. See below for possible values. + \row \li \b {styleData.selected} : bool \li \c true if the menu item is selected. + \row \li \b {styleData.pressed} : bool \li \c true if the menu item is pressed. Available since 5.4. + \row \li \b {styleData.text} : string \li The menu item's text, or title if it's a submenu. + \row \li \b {styleData.underlineMnemonic} : bool \li Whether the style should underline the menu item's label mnemonic. + \row \li \b {styleData.shortcut} : string \li The text for the menu item's shortcut. + \row \li \b {styleData.iconSource} : url \li The source URL to the menu item's icon. Undefined if it has no icon. + \row \li \b {styleData.enabled} : bool \li \c true if the menu item is enabled. + \row \li \b {styleData.checkable} : bool \li \c true if the menu item is checkable. + \row \li \b {styleData.exclusive} : bool \li \c true if the menu item is checkable, and it's part of an \l ExclusiveGroup. + \row \li \b {styleData.checked} : bool \li \c true if the menu item is checkable and currently checked. + \row \li \b {styleData.scrollerDirection} : enumeration \li If the menu item is a scroller, its pointing direction. + Valid values are \c Qt.UpArrow, \c Qt.DownArrow, and \c Qt.NoArrow. + \endtable + + The valid values for \b {styleData.type} are: + \list + \li MenuItemType.Item + \li MenuItemType.Menu + \li MenuItemType.Separator + \li MenuItemType.ScrollIndicator + \endlist + + \note Styling menus may not be supported on platforms using native menus + through their QPA plugin. +*/ + +Style { + id: styleRoot + + padding { + top: 1 + bottom: 1 + left: 1 + right: 1 + } + + /*! The amount of pixels by which a submenu popup overlaps horizontally its parent menu. */ + property int submenuOverlap: 1 + + /*! The number of milliseconds to wait before opening a submenu. */ + property int submenuPopupDelay: 200 + + /*! + \qmlmethod string MenuStyle::formatMnemonic(string text, bool underline = false) + Returns a rich-text string to render mnemonics for a given menu item \a text. + + The mnemonic character is prefixed by an ampersand in the original string. + + Passing \c true for \a underline will underline the mnemonic character (e.g., + \c formatMnemonic("&Open...", true) will return \c "Open..."). Passing \c false + for \a underline will return the plain text form (e.g., \c formatMnemonic("&Open...", false) + will return \c "Open..."). + + \sa Label + */ + function formatMnemonic(text, underline) { + return underline ? StyleHelpers.stylizeMnemonics(text) : StyleHelpers.removeMnemonics(text) + } + + /*! The background frame for the menu popup. + + The \l Menu will resize the frame to its contents plus the padding. + */ + property Component frame: Rectangle { + color: styleRoot.__backgroundColor + border { width: 1; color: styleRoot.__borderColor } + } + + /*! \qmlproperty Object MenuStyle::itemDelegate + + The object containing the menu item subcontrol components. These subcontrols are used + for normal menu items only, i.e. not for separators or scroll indicators. + + The subcontrols are: + + \list + \li \b {itemDelegate.background} : Component + + The menu item background component. + + Its appearance generally changes with \l {styleData properties} {styleData.selected} + and \l {styleData properties} {styleData.enabled}. + + The default implementation shows only when the item is enabled and selected. It remains + invisible otherwise. + + \li \b {itemDelegate.label} : Component + + Component for the actual text label. + + The text itself is fetched from \l {styleData properties} {styleData.text}, and its appearance should depend + on \l {styleData properties} {styleData.enabled} and \l {styleData properties} {styleData.selected}. + + If \l {styleData properties} {styleData.underlineMnemonic} is true, the label should underline its mnemonic + character. \l formatMnemonic provides the default formatting. + + \li \b {itemDelegate.submenuIndicator} : Component + + It indicates that the current menu item is a submenu. + + Only used when \l {styleData properties} {styleData.type} equals \c MenuItemType.Menu. + + \li \b {itemDelegate.shortcut} : Component + + Displays the shortcut attached to the menu item. + + Only used when \l {styleData properties} {styleData.shortcut} is not empty. + + \li \b {itemDelegate.checkmarkIndicator} : Component + + Will be used when \l {styleData properties} {styleData.checkable} is \c true and its appearance + may depend on \l {styleData properties} {styleData.exclusive}, i.e., whether it will behave like a + checkbox or a radio button. Use \l {styleData properties} {styleData.checked} for the checked state. + \endlist + + \note This property cannot be overwritten although all of the subcontrol properties can. + */ + property alias itemDelegate: internalMenuItem + + MenuItemSubControls { + id: internalMenuItem + + background: Rectangle { + visible: styleData.selected && styleData.enabled + gradient: Gradient { + id: selectedGradient + GradientStop { color: Qt.lighter(__selectedBackgroundColor, 1.3); position: -0.2 } + GradientStop { color: __selectedBackgroundColor; position: 1.4 } + } + + border.width: 1 + border.color: Qt.darker(__selectedBackgroundColor, 1) + antialiasing: true + } + + label: Text { + text: formatMnemonic(styleData.text, styleData.underlineMnemonic) + color: __currentTextColor + font: styleRoot.font + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + + submenuIndicator: Text { + text: __mirrored ? "\u25c2" : "\u25b8" // BLACK LEFT/RIGHT-POINTING SMALL TRIANGLE + font: styleRoot.font + color: __currentTextColor + style: styleData.selected ? Text.Normal : Text.Raised + styleColor: Qt.lighter(color, 4) + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + + shortcut: Text { + text: styleData.shortcut + font { + bold: styleRoot.font.bold + capitalization: styleRoot.font.capitalization + family: styleRoot.font.family + italic: styleRoot.font.italic + letterSpacing: styleRoot.font.letterSpacing + pixelSize: styleRoot.font.pixelSize * 0.9 + strikeout: styleRoot.font.strikeout + underline: styleRoot.font.underline + weight: styleRoot.font.weight + wordSpacing: styleRoot.font.wordSpacing + } + color: __currentTextColor + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + + checkmarkIndicator: Loader { + sourceComponent: styleData.exclusive ? exclusiveCheckMark : nonExclusiveCheckMark + Component { + id: exclusiveCheckMark + Rectangle { + x: 1 + width: 10 + height: 10 + color: "white" + border.color: "gray" + antialiasing: true + radius: height/2 + + Rectangle { + anchors.centerIn: parent + visible: styleData.checked + width: 4 + height: 4 + color: "#666" + border.color: "#222" + antialiasing: true + radius: height/2 + } + } + } + + Component { + id: nonExclusiveCheckMark + BorderImage { + width: 12 + height: 12 + source: "images/editbox.png" + border.top: 6 + border.bottom: 6 + border.left: 6 + border.right: 6 + + Rectangle { + antialiasing: true + visible: styleData.checked + color: "#666" + radius: 1 + anchors.margins: 4 + anchors.fill: parent + border.color: "#222" + Rectangle { + anchors.fill: parent + anchors.margins: 1 + color: "transparent" + border.color: "#33ffffff" + } + } + } + } + } + } + + /*! Component for the separator menu item. + + Will be used when \l {styleData properties} {styleData.type} equals \c MenuItemType.Separator. + */ + property Component separator: Item { + implicitHeight: styleRoot.font.pixelSize / 2 + Rectangle { + width: parent.width - 2 + height: 1 + x: 1 + anchors.verticalCenter: parent.verticalCenter + color: "darkgray" + } + } + + /*! Component for the scroll indicator menu item. + + Will be used when \l {styleData properties} {styleData.type} equals \c MenuItemType.ScrollIndicator. + Its appearance should follow \l {styleData properties} {styleData.scrollerDirection}. + + This is the item added at the top and bottom of the menu popup when its contents won't fit the screen + to indicate more content is available in the direction of the arrow. + */ + property Component scrollIndicator: Image { + anchors.centerIn: parent + source: styleData.scrollerDirection === Qt.UpArrow ? "images/arrow-up.png" : "images/arrow-down.png" + } + + /*! + \since QtQuick.Controls.Styles 1.3 + The font of the control. + */ + property font font + + /*! \internal */ + property string __menuItemType: "menuitem" + + /*! \internal + The menu popup frame background color. + + This is set to be a uniform background. If you want a gradient or a pixmap, + you should override \l frame. + + \sa frame, borderColor + */ + property color __backgroundColor: "#dcdcdc" + + /*! \internal + The menu popup frame border color. + + The border width is set to 1 pixel. Override \l frame if you want a larger border. + + \sa frame, backgroundColor + */ + property color __borderColor: "darkgray" + + /*! \internal + The maximum height for a popup before it will show scrollers. + */ + property int __maxPopupHeight: 600 + + /*! \internal + The menu item background color when selected. + + This property is provided for convenience and only sets the color. + It does not change the style in any other way. + */ + property color __selectedBackgroundColor: "#49d" + + /*! \internal + The menu item label color. + + When set, keyboard shorcuts get the same color as the item's text. + + \sa selectedLabelColor, disabledLabelColor + */ + property color __labelColor: "#444" + + /*! \internal + The menu item label color when selected. + + \sa labelColor, selectedLabelColor + */ + property color __selectedLabelColor: "white" + + /*! \internal + The menu item label color when disabled. + + \sa labelColor, disabledLabelColor + */ + property color __disabledLabelColor: "gray" + + + /*! \internal */ + readonly property bool __mirrored: Qt.application.layoutDirection === Qt.RightToLeft + + /*! \internal + The margin between the frame and the menu item label's left side. + + Generally, this should be large enough to fit optional checkmarks on + the label's left side. + */ + property int __leftLabelMargin: 18 + + /*! \internal + The margin between the menu item label's right side and the frame. */ + property int __rightLabelMargin: 12 + + /*! \internal + The minimum spacing between the menu item label's text right side and any + element located on its right (submenu indicator or shortcut). + */ + property int __minRightLabelSpacing: 28 + + /*! \internal */ + property Component __scrollerStyle: null + + /*! \internal + The menu item contents itself. + + The default implementation uses \l MenuItemStyle. + */ + property Component menuItemPanel: Item { + id: panel + + property QtObject __styleData: styleData + /*! \internal + The current color of the text label. + + Use this if you're overriding e.g. \l shortcutIndicator to keep the color matched + with \l label, or to derive new colors from it. + */ + property color currentTextColor: !styleData.enabled ? __disabledLabelColor : + styleData.selected ? __selectedLabelColor : __labelColor + + implicitWidth: Math.max((parent ? parent.width : 0), + Math.round(__leftLabelMargin + labelLoader.width + __rightLabelMargin + + (rightIndicatorLoader.active ? __minRightLabelSpacing + rightIndicatorLoader.width : 0))) + implicitHeight: Math.round(styleData.type === MenuItemType.Separator ? separatorLoader.implicitHeight : + !!styleData.scrollerDirection ? styleRoot.font.pixelSize * 0.75 : labelLoader.height + 4) + + Loader { + property alias styleData: panel.__styleData + property alias __currentTextColor: panel.currentTextColor + anchors.fill: parent + sourceComponent: itemDelegate.background + } + + Loader { + id: separatorLoader + property alias styleData: panel.__styleData + property alias __currentTextColor: panel.currentTextColor + anchors.fill: parent + sourceComponent: separator + active: styleData.type === MenuItemType.Separator + } + + Loader { + property alias styleData: panel.__styleData + property alias __currentTextColor: panel.currentTextColor + x: __mirrored ? parent.width - width - 4 : 4 + anchors.verticalCenterOffset: -1 + anchors.verticalCenter: parent.verticalCenter + active: __menuItemType === "menuitem" && styleData.checkable + sourceComponent: itemDelegate.checkmarkIndicator + } + + Loader { + id: labelLoader + readonly property real offset: __menuItemType === "menuitem" ? __leftLabelMargin : 6 + property alias styleData: panel.__styleData + property alias __currentTextColor: panel.currentTextColor + x: __mirrored ? parent.width - width - offset : offset + y: 1 + active: styleData.type !== MenuItemType.Separator + sourceComponent: itemDelegate.label + baselineOffset: item ? item.baselineOffset : 0.0 + } + + Loader { + id: rightIndicatorLoader + property alias styleData: panel.__styleData + property alias __currentTextColor: panel.currentTextColor + active: styleData.type === MenuItemType.Menu || styleData.shortcut !== "" + sourceComponent: styleData.type === MenuItemType.Menu ? itemDelegate.submenuIndicator : itemDelegate.shortcut + LayoutMirroring.enabled: __mirrored + baselineOffset: item ? item.baselineOffset : 0.0 + anchors { + right: parent.right + rightMargin: 6 + baseline: !styleData.isSubmenu ? labelLoader.baseline : undefined + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuStyle.qmlc new file mode 100644 index 00000000..b06fba7a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/PieMenuStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/PieMenuStyle.qml new file mode 100644 index 00000000..ddeb4edd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/PieMenuStyle.qml @@ -0,0 +1,404 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtGraphicalEffects 1.0 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 +import QtQuick.Extras.Private.CppUtils 1.0 + +/*! + \qmltype PieMenuStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.5 + \ingroup controlsstyling + \brief Provides custom styling for PieMenu. + + PieMenuStyle is a style for PieMenu that draws each section of the menu as a + filled "slice". + + You can create a custom pie menu by replacing the following delegates: + \list + \li \l background + \li \l cancel + \li \l menuItem + \li \l title + \endlist + + To customize the appearance of each menuItem without having to define your + own, you can use the \l backgroundColor and \l selectionColor properties. + To customize the drop shadow, use the \l shadowColor, \l shadowRadius and + \l shadowSpread properties. + + Icons that are too large for the section that they are in will be scaled + down appropriately. + + To style individual sections of the menu, use the menuItem component: + \code + PieMenuStyle { + shadowRadius: 0 + + menuItem: Item { + id: item + rotation: -90 + sectionCenterAngle(styleData.index) + + Rectangle { + width: parent.height * 0.2 + height: width + color: "darkorange" + radius: width / 2 + anchors.right: parent.right + anchors.verticalCenter: parent.verticalCenter + + Text { + id: textItem + text: control.menuItems[styleData.index].text + anchors.centerIn: parent + color: control.currentIndex === styleData.index ? "red" : "white" + rotation: -item.rotation + } + } + } + } + \endcode + + \image piemenu-menuitem-example.png A custom PieMenu +*/ + +Style { + id: pieMenuStyle + + /*! + The \l PieMenu that this style is attached to. + */ + readonly property PieMenu control: __control + + /*! The background color. */ + property color backgroundColor: Qt.rgba(0.6, 0.6, 0.6, 0.66) + + /*! The selection color. */ + property color selectionColor: "#eee" + + /*! + The shadow color. + + \sa DropShadow + */ + property color shadowColor: Qt.rgba(0, 0, 0, 0.26) + + /*! + The shadow radius. + + \sa DropShadow + */ + property real shadowRadius: 10 + + /*! + The shadow spread. + + \sa DropShadow + */ + property real shadowSpread: 0.3 + + /*! + The distance from the center of the menu to the outer edge of the menu. + + \sa cancelRadius + */ + readonly property real radius: Math.min(control.width, control.height) * 0.5 + + /*! + The radius of the area that is used to cancel the menu. + + \sa radius + */ + property real cancelRadius: radius * 0.4 + + /*! + The angle (in degrees) at which the first menu item will be drawn. + + The absolute range formed by \a startAngle and \l endAngle must be + less than or equal to \c 360 degrees. + + Menu items are displayed clockwise when \a startAngle is less than + \l endAngle, otherwise they are displayed anti-clockwise. + + \sa endAngle + */ + property real startAngle: -90 + + /*! + The angle (in degrees) at which the last menu item will be drawn. + + The absolute range formed by \l startAngle and \a endAngle must be + less than or equal to \c 360 degrees. + + Menu items are displayed clockwise when \l startAngle is less than + \a endAngle, otherwise they are displayed anti-clockwise. + + \sa startAngle + */ + property real endAngle: 90 + + /*! + \qmlmethod real PieMenuStyle::sectionStartAngle(int itemIndex) + Returns the start of the section at \a itemIndex as an angle in degrees. + */ + function sectionStartAngle(itemIndex) { + return MathUtils.radToDegOffset(control.__protectedScope.sectionStartAngle(itemIndex)); + } + + /*! + \qmlmethod real PieMenuStyle::sectionCenterAngle(int itemIndex) + Returns the center of the section at \a itemIndex as an angle in + degrees. + */ + function sectionCenterAngle(itemIndex) { + return MathUtils.radToDegOffset(control.__protectedScope.sectionCenterAngle(itemIndex)); + } + + /*! + \qmlmethod real PieMenuStyle::sectionEndAngle(int itemIndex) + Returns the end of the section at \a itemIndex as an angle in degrees. + */ + function sectionEndAngle(itemIndex) { + return MathUtils.radToDegOffset(control.__protectedScope.sectionEndAngle(itemIndex)); + } + + /*! + \internal + + The distance in pixels from the center of each menu item's icon to the + center of the menu. A higher value means that the icons will be further + from the center of the menu. + */ + readonly property real __iconOffset: cancelRadius + ((radius - cancelRadius) / 2) + + /*! \internal */ + readonly property real __selectableRadius: radius - cancelRadius + + /*! \internal */ + property int __implicitWidth: Math.round(TextSingleton.implicitHeight * 12.5) + + /*! \internal */ + property int __implicitHeight: __implicitWidth + + /*! + The background of the menu. + + By default, there is no background defined. + */ + property Component background + + /*! + The cancel component of the menu. + + This is an area in the center of the menu that closes the menu when + clicked. + + By default, it is not visible. + */ + property Component cancel: null + + /*! + The component that displays the text of the currently selected menu + item, or the title if there is no current item. + + The current item's text is available via the \c styleData.text + property. + */ + property Component title: Text { + font.pointSize: 20 + text: styleData.text + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ccc" + antialiasing: true + } + + /*! + This component defines each section of the pie menu. + + This component covers the width and height of the control. + + No mouse events are propagated to this component, which means that + controls like Button will not function when used within it. You can + check if the mouse is over this section by comparing + \c control.currentIndex to \c styleData.index. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this menu item. + \row \li \c {readonly property bool} \b styleData.hovered + \li \c true if this menu item is under the mouse. + \row \li \c {readonly property bool} \b styleData.pressed + \li \c true if the mouse is pressed down on this menu item. + \endtable + */ + property Component menuItem: Item { + id: actionRootDelegateItem + + function drawRingSection(ctx, x, y, section, r, ringWidth, ringColor) { + ctx.fillStyle = ringColor; + + // Draw one section. + ctx.beginPath(); + ctx.moveTo(x,y); + + // Canvas draws 0 degrees at 3 o'clock, whereas we want it to draw it at 12. + var start = control.__protectedScope.sectionStartAngle(section); + var end = control.__protectedScope.sectionEndAngle(section); + ctx.arc(x, y, r, start, end, start > end); + ctx.fill(); + + // Either change this to the background color, or use the global composition. + ctx.fillStyle = "black"; + ctx.globalCompositeOperation = "destination-out"; + ctx.beginPath(); + ctx.moveTo(x, y); + ctx.arc(x, y, ringWidth, 0, Math.PI * 2); + ctx.closePath(); + ctx.fill(); + + // If using the global composition method, make sure to change it back to default. + ctx.globalCompositeOperation = "source-over"; + } + + Canvas { + id: actionCanvas + anchors.fill: parent + property color currentColor: control.currentIndex === styleData.index ? selectionColor : backgroundColor + + Connections { + target: pieMenuStyle + function onStartAngleChanged() { actionCanvas.requestPaint() } + function onEndAngleChanged() { actionCanvas.requestPaint() } + } + + Connections { + target: control + function onCurrentIndexChanged() { actionCanvas.requestPaint() } + } + + onPaint: { + var ctx = getContext("2d"); + ctx.reset(); + drawRingSection(ctx, width / 2, height / 2, styleData.index, radius, cancelRadius, currentColor); + } + } + + readonly property var __styleData: styleData + + PieMenuIcon { + control: pieMenuStyle.control + styleData: __styleData + } + } + + /*! \internal */ + property Component panel: Item { + implicitWidth: __implicitWidth + implicitHeight: __implicitHeight + + property alias titleItem: titleLoader.item + + Item { + id: itemgroup + anchors.fill: parent + visible: false + + Loader { + id: backgroundLoader + sourceComponent: background + anchors.fill: parent + } + + Loader { + id: cancelLoader + sourceComponent: cancel + anchors.centerIn: parent + } + + Repeater { + id: menuItemRepeater + model: control.__protectedScope.visibleItems + + delegate: Loader { + id: menuItemLoader + anchors.fill: parent + sourceComponent: menuItem + + readonly property int __index: index + property QtObject styleData: QtObject { + readonly property alias index: menuItemLoader.__index + readonly property bool hovered: control.currentIndex === index + readonly property bool pressed: control.__protectedScope.pressedIndex === index + } + } + } + } + DropShadow { + id: dropShadow + anchors.fill: itemgroup + spread: shadowSpread + samples: shadowRadius * 2 + 1 + transparentBorder: true + color: shadowColor + source: itemgroup + } + + Loader { + id: titleLoader + sourceComponent: title + x: parent.x + parent.width / 2 - width / 2 + y: -height - 10 + + property QtObject styleData: QtObject { + property string text: control.currentIndex !== -1 + ? control.__protectedScope.visibleItems[control.currentIndex].text + : control.title + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/PieMenuStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/PieMenuStyle.qmlc new file mode 100644 index 00000000..6e1036dc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/PieMenuStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml new file mode 100644 index 00000000..d51e056d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml @@ -0,0 +1,261 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ProgressBarStyle + + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup controlsstyling + \brief Provides custom styling for ProgressBar. + + Example: + \qml + ProgressBar { + value: slider.value + style: ProgressBarStyle { + background: Rectangle { + radius: 2 + color: "lightgray" + border.color: "gray" + border.width: 1 + implicitWidth: 200 + implicitHeight: 24 + } + progress: Rectangle { + color: "lightsteelblue" + border.color: "steelblue" + } + } + } + \endqml + + Note that the example above is somewhat simplified and will not animate + an indeterminate progress bar. The following snippet demonstrates + how you can incorporate a custom animation for the indeterminate + state as well. + + \code + progress: Rectangle { + border.color: "steelblue" + color: "lightsteelblue" + + // Indeterminate animation by animating alternating stripes: + Item { + anchors.fill: parent + anchors.margins: 1 + visible: control.indeterminate + clip: true + Row { + Repeater { + Rectangle { + color: index % 2 ? "steelblue" : "lightsteelblue" + width: 20 ; height: control.height + } + model: control.width / 20 + 2 + } + XAnimator on x { + from: 0 ; to: -40 + loops: Animation.Infinite + running: control.indeterminate + } + } + } + } + \endcode + + +*/ + +Style { + id: progressBarStyle + + /*! The \l ProgressBar this style is attached to. */ + readonly property ProgressBar control: __control + + /*! A value in the range [0-1] indicating the current progress. */ + readonly property real currentProgress: control.indeterminate ? 1.0 : + control.value / control.maximumValue + + /*! This property holds the visible contents of the progress bar + You can access the Slider through the \c control property. + + For convenience, you can also access the readonly property \c styleData.progress + which provides the current progress as a \c real in the range [0-1] + */ + padding { top: 0 ; left: 0 ; right: 0 ; bottom: 0 } + + /*! \qmlproperty Component ProgressBarStyle::progress + The progress component for this style. + */ + property Component progress: Item { + property color progressColor: "#49d" + anchors.fill: parent + clip: true + Rectangle { + id: base + anchors.fill: parent + radius: TextSingleton.implicitHeight * 0.16 + antialiasing: true + gradient: Gradient { + GradientStop {color: Qt.lighter(progressColor, 1.3) ; position: 0} + GradientStop {color: progressColor ; position: 1.4} + } + border.width: 1 + border.color: Qt.darker(progressColor, 1.2) + Rectangle { + color: "transparent" + radius: 1.5 + clip: true + antialiasing: true + anchors.fill: parent + anchors.margins: 1 + border.color: Qt.rgba(1,1,1,0.1) + Image { + visible: control.indeterminate + height: parent.height + NumberAnimation on x { + from: -39 + to: 0 + running: control.indeterminate + duration: 800 + loops: Animation.Infinite + } + fillMode: Image.Tile + width: parent.width + 25 + source: "images/progress-indeterminate.png" + } + } + } + Rectangle { + height: parent.height - 2 + width: 1 + y: 1 + anchors.right: parent.right + anchors.rightMargin: 1 + color: Qt.rgba(1,1,1,0.1) + visible: splitter.visible + } + Rectangle { + id: splitter + height: parent.height - 2 + width: 1 + y: 1 + anchors.right: parent.right + color: Qt.darker(progressColor, 1.2) + property int offset: currentProgress * control.width + visible: offset > base.radius && offset < control.width - base.radius + 1 + } + } + + /*! \qmlproperty Component ProgressBarStyle::background + The background component for this style. + + \note The implicitWidth and implicitHeight of the background component + must be set. + */ + property Component background: Item { + implicitWidth: 200 + implicitHeight: Math.max(17, Math.round(TextSingleton.implicitHeight * 0.7)) + Rectangle { + anchors.fill: parent + anchors.bottomMargin: control.pressed ? 0 : -1 + color: "#44ffffff" + radius: baserect.radius + } + Rectangle { + id: baserect + gradient: Gradient { + GradientStop {color: "#eee" ; position: 0} + GradientStop {color: "#fff" ; position: 0.1} + GradientStop {color: "#fff" ; position: 1} + } + radius: TextSingleton.implicitHeight * 0.16 + anchors.fill: parent + border.color: control.activeFocus ? "#47b" : "#999" + Rectangle { + anchors.fill: parent + radius: parent.radius + color: control.activeFocus ? "#47b" : "white" + opacity: control.hovered || control.activeFocus ? 0.1 : 0 + Behavior on opacity {NumberAnimation{ duration: 100 }} + } + } + } + + /*! \qmlproperty Component ProgressBarStyle::panel + The panel component for this style. + */ + property Component panel: Item{ + property bool horizontal: control.orientation == Qt.Horizontal + implicitWidth: horizontal ? backgroundLoader.implicitWidth : backgroundLoader.implicitHeight + implicitHeight: horizontal ? backgroundLoader.implicitHeight : backgroundLoader.implicitWidth + + Item { + width: horizontal ? parent.width : parent.height + height: !horizontal ? parent.width : parent.height + y: horizontal ? 0 : width + rotation: horizontal ? 0 : -90 + transformOrigin: Item.TopLeft + + Loader { + id: backgroundLoader + anchors.fill: parent + sourceComponent: background + } + + Loader { + sourceComponent: progressBarStyle.progress + anchors.topMargin: padding.top + anchors.leftMargin: padding.left + anchors.rightMargin: padding.right + anchors.bottomMargin: padding.bottom + + anchors.top: parent.top + anchors.left: parent.left + anchors.bottom: parent.bottom + width: currentProgress * (parent.width - padding.left - padding.right) + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ProgressBarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ProgressBarStyle.qmlc new file mode 100644 index 00000000..cff41523 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ProgressBarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml new file mode 100644 index 00000000..6e3a2dc4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml @@ -0,0 +1,172 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype RadioButtonStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup controlsstyling + \brief Provides custom styling for RadioButton. + + Example: + \qml + RadioButton { + text: "Radio Button" + style: RadioButtonStyle { + indicator: Rectangle { + implicitWidth: 16 + implicitHeight: 16 + radius: 9 + border.color: control.activeFocus ? "darkblue" : "gray" + border.width: 1 + Rectangle { + anchors.fill: parent + visible: control.checked + color: "#555" + radius: 9 + anchors.margins: 4 + } + } + } + } + \endqml +*/ + +Style { + id: radiobuttonStyle + + /*! The \l RadioButton this style is attached to. */ + readonly property RadioButton control: __control + + /*! This defines the text label. */ + property Component label: Item { + implicitWidth: text.implicitWidth + 2 + implicitHeight: text.implicitHeight + baselineOffset: text.y + text.baselineOffset + Rectangle { + anchors.fill: text + anchors.margins: -1 + anchors.leftMargin: -3 + anchors.rightMargin: -3 + visible: control.activeFocus + height: 6 + radius: 3 + color: "#224f9fef" + border.color: "#47b" + opacity: 0.6 + } + Text { + id: text + text: StyleHelpers.stylizeMnemonics(control.text) + anchors.centerIn: parent + color: SystemPaletteSingleton.text(control.enabled) + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + } + + /*! The background under indicator and label. */ + property Component background + + /*! The spacing between indicator and label. */ + property int spacing: Math.round(TextSingleton.implicitHeight/4) + + /*! This defines the indicator button. */ + property Component indicator: Rectangle { + width: Math.round(TextSingleton.implicitHeight) + height: width + gradient: Gradient { + GradientStop {color: "#eee" ; position: 0} + GradientStop {color: control.pressed ? "#eee" : "#fff" ; position: 0.4} + GradientStop {color: "#fff" ; position: 1} + } + border.color: control.activeFocus ? "#16c" : "gray" + antialiasing: true + radius: height/2 + Rectangle { + anchors.centerIn: parent + width: Math.round(parent.width * 0.5) + height: width + gradient: Gradient { + GradientStop {color: "#999" ; position: 0} + GradientStop {color: "#555" ; position: 1} + } + border.color: "#222" + antialiasing: true + radius: height/2 + Behavior on opacity {NumberAnimation {duration: 80}} + opacity: control.checked ? control.enabled ? 1 : 0.5 : 0 + } + } + + /*! \internal */ + property Component panel: Item { + implicitWidth: Math.max(backgroundLoader.implicitWidth, row.implicitWidth + padding.left + padding.right) + implicitHeight: Math.max(backgroundLoader.implicitHeight, labelLoader.implicitHeight + padding.top + padding.bottom,indicatorLoader.implicitHeight + padding.top + padding.bottom) + baselineOffset: labelLoader.item ? padding.top + labelLoader.item.baselineOffset : 0 + + Loader { + id:backgroundLoader + sourceComponent: background + anchors.fill: parent + } + Row { + id: row + anchors.fill: parent + + anchors.leftMargin: padding.left + anchors.rightMargin: padding.right + anchors.topMargin: padding.top + anchors.bottomMargin: padding.bottom + + spacing: radiobuttonStyle.spacing + Loader { + id: indicatorLoader + sourceComponent: indicator + } + Loader { + id: labelLoader + sourceComponent: label + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/RadioButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/RadioButtonStyle.qmlc new file mode 100644 index 00000000..9d8c6f9a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/RadioButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml new file mode 100644 index 00000000..36b518d3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml @@ -0,0 +1,406 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ScrollViewStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup viewsstyling + \ingroup controlsstyling + \brief Provides custom styling for ScrollView. +*/ +Style { + id: root + + /*! The \l ScrollView this style is attached to. */ + readonly property ScrollView control: __control + + /*! This property controls the frame border padding of the scrollView. */ + padding {left: 1; top: 1; right: 1; bottom: 1} + + /*! This Component paints the corner area between scroll bars */ + property Component corner: Rectangle { color: "#ccc" } + + /*! This component determines if the flickable should reposition itself at the + mouse location when clicked. */ + property bool scrollToClickedPosition: true + + /*! This property holds whether the scroll bars are transient. Transient scroll bars + appear when the content is scrolled and disappear when they are no longer needed. + + The default value is platform dependent. */ + property bool transientScrollBars: Settings.isMobile && Settings.hasTouchScreen + + /*! This Component paints the frame around scroll bars. */ + property Component frame: Rectangle { + color: control["backgroundVisible"] ? "white": "transparent" + border.color: "#999" + border.width: 1 + radius: 1 + visible: control.frameVisible + } + + /*! This is the minimum extent of the scroll bar handle. + + The default value is \c 30. + */ + + property int minimumHandleLength: 30 + + /*! This property controls the edge overlap + between the handle and the increment/decrement buttons. + + The default value is \c 30. + */ + + property int handleOverlap: 1 + + /*! This component controls the appearance of the + scroll bar background. + + You can access the following state properties: + + \table + \row \li property bool \b styleData.hovered + \row \li property bool \b styleData.horizontal + \endtable + */ + + property Component scrollBarBackground: Item { + property bool sticky: false + property bool hovered: styleData.hovered + implicitWidth: Math.round(TextSingleton.implicitHeight) + implicitHeight: Math.round(TextSingleton.implicitHeight) + clip: true + opacity: transientScrollBars ? 0.5 : 1.0 + visible: !Settings.hasTouchScreen && (!transientScrollBars || sticky) + Rectangle { + anchors.fill: parent + color: "#ddd" + border.color: "#aaa" + anchors.rightMargin: styleData.horizontal ? -2 : -1 + anchors.leftMargin: styleData.horizontal ? -2 : 0 + anchors.topMargin: styleData.horizontal ? 0 : -2 + anchors.bottomMargin: styleData.horizontal ? -1 : -2 + } + onHoveredChanged: if (hovered) sticky = true + onVisibleChanged: if (!visible) sticky = false + } + + /*! This component controls the appearance of the + scroll bar handle. + + You can access the following state properties: + + \table + \row \li property bool \b styleData.hovered + \row \li property bool \b styleData.pressed + \row \li property bool \b styleData.horizontal + \endtable + */ + + property Component handle: Item { + property bool sticky: false + property bool hovered: __activeControl !== "none" + implicitWidth: Math.round(TextSingleton.implicitHeight) + 1 + implicitHeight: Math.round(TextSingleton.implicitHeight) + 1 + BorderImage { + id: img + opacity: styleData.pressed && !transientScrollBars ? 0.5 : styleData.hovered ? 1 : 0.8 + source: "images/scrollbar-handle-" + (transientScrollBars ? "transient" : styleData.horizontal ? "horizontal" : "vertical") + ".png" + border.left: transientScrollBars ? 5 : 2 + border.top: transientScrollBars ? 5 : 2 + border.right: transientScrollBars ? 5 : 2 + border.bottom: transientScrollBars ? 5 : 2 + anchors.top: !styleData.horizontal ? parent.top : undefined + anchors.margins: transientScrollBars ? 2 : 0 + anchors.bottom: parent.bottom + anchors.right: parent.right + anchors.left: styleData.horizontal ? parent.left : undefined + width: !styleData.horizontal && transientScrollBars ? sticky ? 13 : 10 : parent.width + height: styleData.horizontal && transientScrollBars ? sticky ? 13 : 10 : parent.height + Behavior on width { enabled: !styleData.horizontal && transientScrollBars; NumberAnimation { duration: 100 } } + Behavior on height { enabled: styleData.horizontal && transientScrollBars; NumberAnimation { duration: 100 } } + } + onHoveredChanged: if (hovered) sticky = true + onVisibleChanged: if (!visible) sticky = false + } + + /*! This component controls the appearance of the + scroll bar increment button. + + You can access the following state properties: + + \table + \row \li property bool \b styleData.hovered + \row \li property bool \b styleData.pressed + \row \li property bool \b styleData.horizontal + \endtable + */ + property Component incrementControl: Rectangle { + visible: !transientScrollBars + implicitWidth: transientScrollBars ? 0 : Math.round(TextSingleton.implicitHeight) + implicitHeight: transientScrollBars ? 0 : Math.round(TextSingleton.implicitHeight) + Rectangle { + anchors.fill: parent + anchors.bottomMargin: -1 + anchors.rightMargin: -1 + border.color: "#aaa" + Rectangle { + anchors.fill: parent + anchors.margins: 1 + color: "transparent" + border.color: "#44ffffff" + } + Image { + source: styleData.horizontal ? "images/arrow-right.png" : "images/arrow-down.png" + anchors.centerIn: parent + opacity: control.enabled ? 0.6 : 0.5 + } + gradient: Gradient { + GradientStop {color: styleData.pressed ? "lightgray" : "white" ; position: 0} + GradientStop {color: styleData.pressed ? "lightgray" : "lightgray" ; position: 1} + } + } + } + + /*! This component controls the appearance of the + scroll bar decrement button. + + You can access the following state properties: + + \table + \row \li property bool \b styleData.hovered + \row \li property bool \b styleData.pressed + \row \li property bool \b styleData.horizontal + \endtable + */ + property Component decrementControl: Rectangle { + visible: !transientScrollBars + implicitWidth: transientScrollBars ? 0 : Math.round(TextSingleton.implicitHeight) + implicitHeight: transientScrollBars ? 0 : Math.round(TextSingleton.implicitHeight) + Rectangle { + anchors.fill: parent + anchors.topMargin: styleData.horizontal ? 0 : -1 + anchors.leftMargin: styleData.horizontal ? -1 : 0 + anchors.bottomMargin: styleData.horizontal ? -1 : 0 + anchors.rightMargin: styleData.horizontal ? 0 : -1 + color: "lightgray" + Rectangle { + anchors.fill: parent + anchors.margins: 1 + color: "transparent" + border.color: "#44ffffff" + } + Image { + source: styleData.horizontal ? "images/arrow-left.png" : "images/arrow-up.png" + anchors.centerIn: parent + anchors.verticalCenterOffset: styleData.horizontal ? 0 : -1 + anchors.horizontalCenterOffset: styleData.horizontal ? -1 : 0 + opacity: control.enabled ? 0.6 : 0.5 + } + gradient: Gradient { + GradientStop {color: styleData.pressed ? "lightgray" : "white" ; position: 0} + GradientStop {color: styleData.pressed ? "lightgray" : "lightgray" ; position: 1} + } + border.color: "#aaa" + } + } + + /*! \internal */ + property Component __scrollbar: Item { + id: panel + property string activeControl: "none" + property bool scrollToClickPosition: true + property bool isTransient: transientScrollBars + + property bool on: false + property bool raised: false + property bool sunken: __styleData.upPressed | __styleData.downPressed | __styleData.handlePressed + + states: State { + name: "out" + when: isTransient + && (!__stickyScrollbars || !flickableItem.moving) + && panel.activeControl === "none" + && !panel.on + && !panel.raised + PropertyChanges { target: panel; opacity: 0 } + } + + transitions: Transition { + to: "out" + SequentialAnimation { + PauseAnimation { duration: root.__scrollBarFadeDelay } + NumberAnimation { properties: "opacity"; duration: root.__scrollBarFadeDuration } + PropertyAction { target: panel; property: "visible"; value: false } + } + } + + implicitWidth: __styleData.horizontal ? 200 : bg.implicitWidth + implicitHeight: __styleData.horizontal ? bg.implicitHeight : 200 + + function pixelMetric(arg) { + if (arg === "scrollbarExtent") + return (__styleData.horizontal ? bg.height : bg.width); + return 0; + } + + function styleHint(arg) { + return false; + } + + function hitTest(argX, argY) { + if (itemIsHit(handleControl, argX, argY)) + return "handle" + else if (itemIsHit(incrementLoader, argX, argY)) + return "up"; + else if (itemIsHit(decrementLoader, argX, argY)) + return "down"; + else if (itemIsHit(bg, argX, argY)) { + if (__styleData.horizontal && argX < handleControl.x || !__styleData.horizontal && argY < handleControl.y) + return "upPage" + else + return "downPage" + } + + return "none"; + } + + function subControlRect(arg) { + if (arg === "handle") { + return Qt.rect(handleControl.x, handleControl.y, handleControl.width, handleControl.height); + } else if (arg === "groove") { + if (__styleData.horizontal) { + return Qt.rect(incrementLoader.width - handleOverlap, + 0, + __control.width - (incrementLoader.width + decrementLoader.width - handleOverlap * 2), + __control.height); + } else { + return Qt.rect(0, + incrementLoader.height - handleOverlap, + __control.width, + __control.height - (incrementLoader.height + decrementLoader.height - handleOverlap * 2)); + } + } + return Qt.rect(0,0,0,0); + } + + function itemIsHit(argItem, argX, argY) { + var pos = argItem.mapFromItem(__control, argX, argY); + return (pos.x >= 0 && pos.x <= argItem.width && pos.y >= 0 && pos.y <= argItem.height); + } + + Loader { + id: incrementLoader + anchors.top: parent.top + anchors.left: parent.left + sourceComponent: decrementControl + property QtObject styleData: QtObject { + readonly property bool hovered: activeControl === "up" + readonly property bool pressed: __styleData.upPressed + readonly property bool horizontal: __styleData.horizontal + } + } + + Loader { + id: bg + anchors.top: __styleData.horizontal ? undefined : incrementLoader.bottom + anchors.bottom: __styleData.horizontal ? undefined : decrementLoader.top + anchors.left: __styleData.horizontal ? incrementLoader.right : undefined + anchors.right: __styleData.horizontal ? decrementLoader.left : undefined + sourceComponent: scrollBarBackground + property QtObject styleData: QtObject { + readonly property bool horizontal: __styleData.horizontal + readonly property bool hovered: activeControl !== "none" + } + } + + Loader { + id: decrementLoader + anchors.bottom: __styleData.horizontal ? undefined : parent.bottom + anchors.right: __styleData.horizontal ? parent.right : undefined + sourceComponent: incrementControl + property QtObject styleData: QtObject { + readonly property bool hovered: activeControl === "down" + readonly property bool pressed: __styleData.downPressed + readonly property bool horizontal: __styleData.horizontal + } + } + + property var flickableItem: control.flickableItem + property int extent: Math.max(minimumHandleLength, __styleData.horizontal ? + Math.min(1, ((flickableItem && flickableItem.contentWidth > 0.0) ? flickableItem.width/flickableItem.contentWidth : 1)) * bg.width : + Math.min(1, ((flickableItem && flickableItem.contentHeight > 0.0) ? flickableItem.height/flickableItem.contentHeight : 1)) * bg.height) + readonly property real range: __control.maximumValue - __control.minimumValue + readonly property real begin: __control.value - __control.minimumValue + + Loader { + id: handleControl + height: __styleData.horizontal ? implicitHeight : extent + width: __styleData.horizontal ? extent : implicitWidth + anchors.top: bg.top + anchors.left: bg.left + anchors.topMargin: __styleData.horizontal || range === 0 ? 0 : -handleOverlap + (2 * begin * (bg.height + (2 * handleOverlap) - extent) + range) / (2 * range) + anchors.leftMargin: __styleData.horizontal && range !== 0 ? -handleOverlap + (2 * begin * (bg.width + (2 * handleOverlap) - extent) + range) / (2 * range) : 0 + sourceComponent: handle + property QtObject styleData: QtObject { + readonly property bool hovered: activeControl === "handle" + readonly property bool pressed: __styleData.handlePressed + readonly property bool horizontal: __styleData.horizontal + } + readonly property alias __activeControl: panel.activeControl + } + } + + /*! \internal */ + property bool __externalScrollBars: false + /*! \internal */ + property int __scrollBarSpacing: 4 + /*! \internal */ + property int __scrollBarFadeDelay: 450 + /*! \internal */ + property int __scrollBarFadeDuration: 200 + /*! \internal */ + property bool __stickyScrollbars: false +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ScrollViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ScrollViewStyle.qmlc new file mode 100644 index 00000000..8cb9221c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ScrollViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qml new file mode 100644 index 00000000..ca503064 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qml @@ -0,0 +1,232 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype SliderStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup controlsstyling + \brief Provides custom styling for Slider. + + The slider style allows you to create a custom appearance for + a \l Slider control. + + The implicit size of the slider is calculated based on the + maximum implicit size of the \c background and \c handle + delegates combined. + + Example: + \qml + Slider { + anchors.centerIn: parent + style: SliderStyle { + groove: Rectangle { + implicitWidth: 200 + implicitHeight: 8 + color: "gray" + radius: 8 + } + handle: Rectangle { + anchors.centerIn: parent + color: control.pressed ? "white" : "lightgray" + border.color: "gray" + border.width: 2 + implicitWidth: 34 + implicitHeight: 34 + radius: 12 + } + } + } + \endqml +*/ +Style { + id: styleitem + + /*! The \l Slider this style is attached to. */ + readonly property Slider control: __control + + padding { top: 0 ; left: 0 ; right: 0 ; bottom: 0 } + + /*! This property holds the item for the slider handle. + You can access the slider through the \c control property + */ + property Component handle: Item{ + implicitWidth: implicitHeight + implicitHeight: TextSingleton.implicitHeight * 1.2 + + FastGlow { + source: handle + anchors.fill: parent + anchors.bottomMargin: -1 + anchors.topMargin: 1 + smooth: true + color: "#11000000" + spread: 0.8 + transparentBorder: true + blur: 0.1 + + } + Rectangle { + id: handle + anchors.fill: parent + + radius: width/2 + gradient: Gradient { + GradientStop { color: control.pressed ? "#e0e0e0" : "#fff" ; position: 1 } + GradientStop { color: "#eee" ; position: 0 } + } + Rectangle { + anchors.fill: parent + anchors.margins: 1 + radius: width/2 + border.color: "#99ffffff" + color: control.activeFocus ? "#224f7fbf" : "transparent" + } + border.color: control.activeFocus ? "#47b" : "#777" + } + + } + /*! This property holds the background groove of the slider. + + You can access the handle position through the \c styleData.handlePosition property. + */ + property Component groove: Item { + property color fillColor: "#49d" + anchors.verticalCenter: parent.verticalCenter + implicitWidth: Math.round(TextSingleton.implicitHeight * 4.5) + implicitHeight: Math.max(6, Math.round(TextSingleton.implicitHeight * 0.3)) + Rectangle { + radius: height/2 + anchors.fill: parent + border.width: 1 + border.color: "#888" + gradient: Gradient { + GradientStop { color: "#bbb" ; position: 0 } + GradientStop { color: "#ccc" ; position: 0.6 } + GradientStop { color: "#ccc" ; position: 1 } + } + } + Item { + clip: true + width: styleData.handlePosition + height: parent.height + Rectangle { + anchors.fill: parent + border.color: Qt.darker(fillColor, 1.2) + radius: height/2 + gradient: Gradient { + GradientStop {color: Qt.lighter(fillColor, 1.3) ; position: 0} + GradientStop {color: fillColor ; position: 1.4} + } + } + } + } + + /*! This property holds the tick mark labels. + \since QtQuick.Controls.Styles 1.1 + + Every tickmark that should be drawn must be defined within this + component, so it is common to use a \l Repeater, for example. + + You can access the handle width through the \c styleData.handleWidth property. + */ + property Component tickmarks: Repeater { + id: repeater + model: control.stepSize > 0 ? 1 + (control.maximumValue - control.minimumValue) / control.stepSize : 0 + Rectangle { + color: "#777" + width: 1 ; height: 3 + y: repeater.height + x: styleData.handleWidth / 2 + index * ((repeater.width - styleData.handleWidth) / (repeater.count-1)) + } + } + + /*! This property holds the slider style panel. + + Note that it is generally not recommended to override this. + */ + property Component panel: Item { + id: root + property int handleWidth: handleLoader.width + property int handleHeight: handleLoader.height + + property bool horizontal : control.orientation === Qt.Horizontal + property int horizontalSize: grooveLoader.implicitWidth + padding.left + padding.right + property int verticalSize: Math.max(handleLoader.implicitHeight, grooveLoader.implicitHeight) + padding.top + padding.bottom + + implicitWidth: horizontal ? horizontalSize : verticalSize + implicitHeight: horizontal ? verticalSize : horizontalSize + + y: horizontal ? 0 : height + rotation: horizontal ? 0 : -90 + transformOrigin: Item.TopLeft + + Item { + + anchors.fill: parent + + Loader { + id: grooveLoader + property QtObject styleData: QtObject { + readonly property int handlePosition: handleLoader.x + handleLoader.width/2 + } + x: padding.left + sourceComponent: groove + width: (horizontal ? parent.width : parent.height) - padding.left - padding.right + y: Math.round(padding.top + (Math.round(horizontal ? parent.height : parent.width - padding.top - padding.bottom) - grooveLoader.item.height)/2) + } + Loader { + id: tickMarkLoader + anchors.fill: parent + sourceComponent: control.tickmarksEnabled ? tickmarks : null + property QtObject styleData: QtObject { readonly property int handleWidth: control.__panel.handleWidth } + } + Loader { + id: handleLoader + sourceComponent: handle + anchors.verticalCenter: grooveLoader.verticalCenter + x: Math.round((control.__handlePos - control.minimumValue) / (control.maximumValue - control.minimumValue) * ((horizontal ? root.width : root.height) - item.width)) + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qmlc new file mode 100644 index 00000000..b70a77bd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml new file mode 100644 index 00000000..bc57ef6e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml @@ -0,0 +1,258 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype SpinBoxStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.2 + \ingroup controlsstyling + \brief Provides custom styling for SpinBox. + + Example: + \qml + SpinBox { + style: SpinBoxStyle{ + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + border.color: "gray" + radius: 2 + } + } + } + \endqml +*/ + +Style { + id: spinboxStyle + + /*! The \l SpinBox this style is attached to. */ + readonly property SpinBox control: __control + + /*! The content margins of the text field. */ + padding { top: 1 ; left: Math.round(styleData.contentHeight/2) ; right: Math.max(22, Math.round(styleData.contentHeight)) ; bottom: 0 } + /*! \qmlproperty enumeration horizontalAlignment + + This property defines the default text aligment. + + The supported values are: + \list + \li Qt.AlignLeft + \li Qt.AlignHCenter + \li Qt.AlignRight + \endlist + + The default value is Qt.AlignRight + */ + property int horizontalAlignment: Qt.AlignRight + + /*! The text color. */ + property color textColor: SystemPaletteSingleton.text(control.enabled) + + /*! The text highlight color, used behind selections. */ + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + + /*! The highlighted text color, used in selections. */ + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) + + /*! + \qmlproperty enumeration renderType + + Override the default rendering type for the control. + + Supported render types are: + \list + \li Text.QtRendering + \li Text.NativeRendering + \endlist + + The default value is platform dependent. + + \sa Text::renderType + */ + property int renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + + /*! + \since QtQuick.Controls.Styles 1.3 + The font of the control. + */ + property font font + + /*! The button used to increment the value. */ + property Component incrementControl: Item { + implicitWidth: padding.right + Image { + source: "images/arrow-up.png" + anchors.centerIn: parent + anchors.verticalCenterOffset: 1 + opacity: control.enabled ? (styleData.upPressed ? 1 : 0.6) : 0.5 + } + } + + /*! The button used to decrement the value. */ + property Component decrementControl: Item { + implicitWidth: padding.right + Image { + source: "images/arrow-down.png" + anchors.centerIn: parent + anchors.verticalCenterOffset: -2 + opacity: control.enabled ? (styleData.downPressed ? 1 : 0.6) : 0.5 + } + } + + /*! The background of the SpinBox. */ + property Component background: Item { + implicitHeight: Math.max(25, Math.round(styleData.contentHeight * 1.2)) + implicitWidth: styleData.contentWidth + padding.left + padding.right + baselineOffset: control.__baselineOffset + Rectangle { + anchors.fill: parent + anchors.bottomMargin: -1 + color: "#44ffffff" + radius: baserect.radius + } + Rectangle { + id: baserect + gradient: Gradient { + GradientStop {color: "#eee" ; position: 0} + GradientStop {color: "#fff" ; position: 0.1} + GradientStop {color: "#fff" ; position: 1} + } + radius: control.font.pixelSize * 0.16 + anchors.fill: parent + border.color: control.activeFocus ? "#47b" : "#999" + } + } + + /*! \internal */ + property Component panel: Item { + id: styleitem + implicitWidth: backgroundLoader.implicitWidth + implicitHeight: backgroundLoader.implicitHeight + baselineOffset: backgroundLoader.item ? backgroundLoader.item.baselineOffset : 0 + + property font font: spinboxStyle.font + + property color foregroundColor: spinboxStyle.textColor + property color selectionColor: spinboxStyle.selectionColor + property color selectedTextColor: spinboxStyle.selectedTextColor + + property var margins: spinboxStyle.padding + + property rect upRect: Qt.rect(width - incrementControlLoader.implicitWidth, 0, incrementControlLoader.implicitWidth, height / 2 + 1) + property rect downRect: Qt.rect(width - decrementControlLoader.implicitWidth, height / 2, decrementControlLoader.implicitWidth, height / 2) + + property int horizontalAlignment: spinboxStyle.horizontalAlignment + property int verticalAlignment: Qt.AlignVCenter + + Loader { + id: backgroundLoader + anchors.fill: parent + sourceComponent: background + } + + Loader { + id: incrementControlLoader + x: upRect.x + y: upRect.y + width: upRect.width + height: upRect.height + sourceComponent: incrementControl + } + + Loader { + id: decrementControlLoader + x: downRect.x + y: downRect.y + width: downRect.width + height: downRect.height + sourceComponent: decrementControl + } + } + + /*! \internal + The cursor handle. + \since QtQuick.Controls.Styles 1.3 + + The parent of the handle is positioned to the top left corner of + the cursor position. The interactive area is determined by the + geometry of the handle delegate. + + The following signals and read-only properties are available within the scope + of the handle delegate: + \table + \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. + \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. + \row \li \b {styleData.position} : int \li The character position of the handle. + \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. + \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. + \endtable + */ + property Component __cursorHandle + + /*! \internal + The selection handle. + \since QtQuick.Controls.Styles 1.3 + + The parent of the handle is positioned to the top left corner of + the first selected character. The interactive area is determined + by the geometry of the handle delegate. + + The following signals and read-only properties are available within the scope + of the handle delegate: + \table + \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. + \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. + \row \li \b {styleData.position} : int \li The character position of the handle. + \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. + \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. + \endtable + */ + property Component __selectionHandle + + /*! \internal + The cursor delegate. + \since QtQuick.Controls.Styles 1.3 + */ + property Component __cursorDelegate +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SpinBoxStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SpinBoxStyle.qmlc new file mode 100644 index 00000000..c4a6cf34 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SpinBoxStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusBarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusBarStyle.qml new file mode 100644 index 00000000..8b620424 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusBarStyle.qml @@ -0,0 +1,115 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype StatusBarStyle + \inqmlmodule QtQuick.Controls.Styles + \ingroup controlsstyling + \since 5.2 + \brief Provides custom styling for StatusBar. + + The status bar can be defined by overriding the background component and + setting the content padding. + + Example: + \qml + StatusBar { + style: StatusBarStyle { + padding { + left: 8 + right: 8 + top: 3 + bottom: 3 + } + background: Rectangle { + implicitHeight: 16 + implicitWidth: 200 + gradient: Gradient{ + GradientStop{color: "#eee" ; position: 0} + GradientStop{color: "#ccc" ; position: 1} + } + Rectangle { + anchors.top: parent.top + width: parent.width + height: 1 + color: "#999" + } + } + } + } + \endqml +*/ + +Style { + + /*! The content padding inside the status bar. */ + padding { + left: 3 + right: 3 + top: 3 + bottom: 2 + } + + /*! This defines the background of the status bar. */ + property Component background: Rectangle { + implicitHeight: 16 + implicitWidth: 200 + + gradient: Gradient{ + GradientStop{color: "#eee" ; position: 0} + GradientStop{color: "#ccc" ; position: 1} + } + + Rectangle { + anchors.top: parent.top + width: parent.width + height: 1 + color: "#999" + } + } + + /*! This defines the panel of the status bar. */ + property Component panel: Loader { + sourceComponent: background + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusBarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusBarStyle.qmlc new file mode 100644 index 00000000..731d9c95 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusBarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml new file mode 100644 index 00000000..ae9f2110 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml @@ -0,0 +1,232 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtGraphicalEffects 1.0 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 + +/*! + \qmltype StatusIndicatorStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.5 + \ingroup controlsstyling + \brief Provides custom styling for StatusIndicatorStyle. + + You can create a custom status indicator by defining the \l indicator + component. +*/ + +Style { + id: pieMenuStyle + + /*! + The \l StatusIndicator that this style is attached to. + */ + readonly property StatusIndicator control: __control + + /*! + The color that instances of + \l [QtQuickExtras]{StatusIndicator} will have. + The \l [QtQuickExtras]{StatusIndicator::}{color} + property in \l [QtQuickExtras]{StatusIndicator} + will override this property when set. + */ + property color color: "red" + + /*! + This defines the indicator in both its on and off status. + */ + property Component indicator: Item { + readonly property real shineStep: 0.05 + readonly property real smallestAxis: Math.min(control.width, control.height) + readonly property real outerRecessPercentage: 0.11 + readonly property color offColor: Qt.rgba(0.13, 0.13, 0.13) + readonly property color baseColor: control.active ? control.color : offColor + + implicitWidth: TextSingleton.implicitHeight * 2 + implicitHeight: implicitWidth + + Canvas { + id: backgroundCanvas + width: Math.min(parent.width, parent.height) + // height: width --- QTBUG-42878 + height: Math.min(parent.width, parent.height) + anchors.centerIn: parent + + Connections { + target: control + function onActiveChanged() { backgroundCanvas.requestPaint() } + function onColorChanged() { backgroundCanvas.requestPaint() } + } + + onPaint: { + var ctx = getContext("2d"); + ctx.reset(); + + // Draw the semi-transparent background. + ctx.beginPath(); + var gradient = ctx.createLinearGradient(width / 2, 0, width / 2, height * 0.75); + gradient.addColorStop(0.0, Qt.rgba(0, 0, 0, control.active ? 0.1 : 0.25)); + gradient.addColorStop(1.0, control.active ? Qt.rgba(0, 0, 0, 0.1) : Qt.rgba(0.74, 0.74, 0.74, 0.25)); + + ctx.fillStyle = gradient; + ctx.ellipse(0, 0, width, height); + ctx.fill(); + } + } + + Item { + id: shadowGuard + anchors.fill: backgroundCanvas + anchors.margins: -shadow.radius + + Canvas { + id: colorCanvas + anchors.fill: parent + anchors.margins: shadow.radius + + Connections { + target: control + function onActiveChanged() { colorCanvas.requestPaint() } + function onColorChanged() { colorCanvas.requestPaint() } + } + + onPaint: { + var ctx = getContext("2d"); + ctx.reset(); + + // Draw the actual color within the circle. + ctx.beginPath(); + ctx.fillStyle = baseColor; + var recess = smallestAxis * outerRecessPercentage; + ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); + ctx.fill(); + } + } + } + + DropShadow { + id: shadow + source: shadowGuard + color: control.color + cached: true + anchors.fill: shadowGuard + visible: control.active + } + + Canvas { + id: foregroundCanvas + anchors.fill: backgroundCanvas + + Connections { + target: control + function onActiveChanged() { foregroundCanvas.requestPaint() } + function onColorChanged() { foregroundCanvas.requestPaint() } + } + + onPaint: { + var ctx = getContext("2d"); + ctx.reset(); + + // Draw the first shine. + ctx.beginPath(); + ctx.fillStyle = Qt.rgba(1, 1, 1, 0.03); + var recessPercentage = outerRecessPercentage + shineStep * 0.65; + var recess = smallestAxis * recessPercentage; + ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); + ctx.fill(); + + // Draw the second, inner shine. + ctx.beginPath(); + ctx.fillStyle = Qt.rgba(1, 1, 1, 0.06); + recessPercentage += shineStep; + recess = smallestAxis * recessPercentage; + ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); + ctx.fill(); + + // Now draw the final arced shine that goes over the first and second shines. + // First, clip the entire shine area. + ctx.beginPath(); + recessPercentage -= shineStep; + recess = smallestAxis * recessPercentage; + ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); + ctx.clip(); + + if (!control.active) { + // Then, clip the bottom area out of the shine. + ctx.ellipse(recess, height * 0.425, width - recess * 2, height - recess * 2); + ctx.clip(); + } + + ctx.beginPath(); + var gradient; + if (!control.active) { + // Draw the shine arc. + gradient = ctx.createLinearGradient(width / 2, height * 0.2, width / 2, height * 0.65); + gradient.addColorStop(0.0, Qt.rgba(1, 1, 1, 0.05)); + gradient.addColorStop(1.0, "transparent"); + } else { + // Draw the radial shine. + gradient = ctx.createRadialGradient(width / 2, height / 2, 0, width / 2, height / 2, width * 0.5 /* (same as height) */); + gradient.addColorStop(0.0, Qt.lighter(baseColor, 1.4)); + gradient.addColorStop(1.0, "transparent"); + } + + ctx.fillStyle = gradient; + ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); + ctx.fill(); + } + } + } + + /*! \internal */ + property Component panel: Item { + implicitWidth: indicatorLoader.implicitWidth + implicitHeight: indicatorLoader.implicitHeight + + Loader { + id: indicatorLoader + width: Math.max(1, parent.width) + height: Math.max(1, parent.height) + anchors.centerIn: parent + sourceComponent: indicator + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qmlc new file mode 100644 index 00000000..f416a34a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SwitchStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SwitchStyle.qml new file mode 100644 index 00000000..39db036b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SwitchStyle.qml @@ -0,0 +1,169 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype SwitchStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.2 + \ingroup controlsstyling + \brief Provides custom styling for Switch. + + Example: + \qml + Switch { + style: SwitchStyle { + groove: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + radius: 9 + border.color: control.activeFocus ? "darkblue" : "gray" + border.width: 1 + } + } + } + \endqml +*/ +Style { + id: switchstyle + + /*! The content padding. */ + padding { + top: 0 + left: 0 + right: 0 + bottom: 0 + } + + /*! This defines the switch handle. */ + property Component handle: Rectangle { + opacity: control.enabled ? 1.0 : 0.5 + implicitWidth: Math.round((parent.parent.width - padding.left - padding.right)/2) + implicitHeight: control.height - padding.top - padding.bottom + + border.color: control.activeFocus ? Qt.darker(highlight, 2) : Qt.darker(button, 2) + property color bg: control.activeFocus ? Qt.darker(highlight, 1.2) : button + property color highlight: SystemPaletteSingleton.highlight(control.enabled) + property color button: SystemPaletteSingleton.button(control.enabled) + gradient: Gradient { + GradientStop {color: Qt.lighter(bg, 1.4) ; position: 0} + GradientStop {color: bg ; position: 1} + } + + radius: 2 + } + + /*! This property holds the background groove of the switch. */ + property Component groove: Rectangle { + property color shadow: control.checked ? Qt.darker(highlight, 1.2): "#999" + property color bg: control.checked ? highlight:"#bbb" + property color highlight: SystemPaletteSingleton.highlight(control.enabled) + + implicitWidth: Math.round(implicitHeight * 3) + implicitHeight: Math.max(16, Math.round(TextSingleton.implicitHeight)) + + border.color: "gray" + color: "red" + + radius: 2 + Behavior on shadow {ColorAnimation{ duration: 80 }} + Behavior on bg {ColorAnimation{ duration: 80 }} + gradient: Gradient { + GradientStop {color: shadow; position: 0} + GradientStop {color: bg ; position: 0.2} + GradientStop {color: bg ; position: 1} + } + Rectangle { + color: "#44ffffff" + height: 1 + anchors.bottom: parent.bottom + anchors.bottomMargin: -1 + width: parent.width - 2 + x: 1 + } + } + + /*! \internal */ + property Component panel: Item { + + implicitWidth: Math.round(grooveLoader.width + padding.left + padding.right) + implicitHeight: grooveLoader.implicitHeight + padding.top + padding.bottom + + property var __handle: handleLoader + property int min: padding.left + property int max: grooveLoader.width - handleLoader.width - padding.right + + Loader { + id: grooveLoader + y: padding.top + x: padding.left + + sourceComponent: groove + anchors.verticalCenter: parent.verticalCenter + + + Loader { + id: handleLoader + + z:1 + + x: control.checked ? max : min + + anchors.top: grooveLoader.top + anchors.bottom: grooveLoader.bottom + anchors.topMargin: padding.top + anchors.bottomMargin: padding.bottom + + Behavior on x { + id: behavior + enabled: handleLoader.status === Loader.Ready + NumberAnimation { + duration: 150 + easing.type: Easing.OutCubic + } + } + + sourceComponent: handle + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SwitchStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SwitchStyle.qmlc new file mode 100644 index 00000000..a3c105a4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SwitchStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qml new file mode 100644 index 00000000..2d7d2d91 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qml @@ -0,0 +1,194 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype TabViewStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup viewsstyling + \ingroup controlsstyling + \brief Provides custom styling for TabView. + +\qml + TabView { + id: frame + anchors.fill: parent + anchors.margins: 4 + Tab { title: "Tab 1" } + Tab { title: "Tab 2" } + Tab { title: "Tab 3" } + + style: TabViewStyle { + frameOverlap: 1 + tab: Rectangle { + color: styleData.selected ? "steelblue" :"lightsteelblue" + border.color: "steelblue" + implicitWidth: Math.max(text.width + 4, 80) + implicitHeight: 20 + radius: 2 + Text { + id: text + anchors.centerIn: parent + text: styleData.title + color: styleData.selected ? "white" : "black" + } + } + frame: Rectangle { color: "steelblue" } + } + } +\endqml + +*/ + +Style { + + /*! The \l ScrollView this style is attached to. */ + readonly property TabView control: __control + + /*! This property holds whether the user can move the tabs. + Tabs are not movable by default. */ + property bool tabsMovable: false + + /*! This property holds the horizontal alignment of + the tab buttons. Supported values are: + \list + \li Qt.AlignLeft (default) + \li Qt.AlignHCenter + \li Qt.AlignRight + \endlist + */ + property int tabsAlignment: Qt.AlignLeft + + /*! This property holds the amount of overlap there are between + individual tab buttons. */ + property int tabOverlap: 1 + + /*! This property holds the amount of overlap there are between + individual tab buttons and the frame. */ + property int frameOverlap: 2 + + /*! This defines the tab frame. */ + property Component frame: Rectangle { + color: "#dcdcdc" + border.color: "#aaa" + + Rectangle { + anchors.fill: parent + color: "transparent" + border.color: "#66ffffff" + anchors.margins: 1 + } + } + + /*! This defines the tab. You can access the tab state through the + \c styleData property, with the following properties: + + \table + \row \li readonly property int \b styleData.index \li This is the current tab index. + \row \li readonly property bool \b styleData.selected \li This is the active tab. + \row \li readonly property string \b styleData.title \li Tab title text. + \row \li readonly property bool \b styleData.nextSelected \li The next tab is selected. + \row \li readonly property bool \b styleData.previousSelected \li The previous tab is selected. + \row \li readonly property bool \b styleData.pressed \li The tab is being pressed. (since QtQuick.Controls.Styles 1.3) + \row \li readonly property bool \b styleData.hovered \li The tab is being hovered. + \row \li readonly property bool \b styleData.enabled \li The tab is enabled. (since QtQuick.Controls.Styles 1.2) + \row \li readonly property bool \b styleData.activeFocus \li The tab button has keyboard focus. + \row \li readonly property bool \b styleData.availableWidth \li The available width for the tabs. + \row \li readonly property bool \b styleData.totalWidth \li The total width of the tabs. (since QtQuick.Controls.Styles 1.2) + \endtable + */ + property Component tab: Item { + scale: control.tabPosition === Qt.TopEdge ? 1 : -1 + + property int totalOverlap: tabOverlap * (control.count - 1) + property real maxTabWidth: control.count > 0 ? (styleData.availableWidth + totalOverlap) / control.count : 0 + + implicitWidth: Math.round(Math.min(maxTabWidth, textitem.implicitWidth + 20)) + implicitHeight: Math.round(textitem.implicitHeight + 10) + + Item { + anchors.fill: parent + anchors.bottomMargin: styleData.selected ? 0 : 2 + BorderImage { + anchors.fill: parent + source: styleData.selected ? "images/tab_selected.png" : "images/tab.png" + border.top: 6 + border.bottom: 6 + border.left: 6 + border.right: 6 + anchors.topMargin: styleData.selected ? 0 : 1 + } + } + Text { + id: textitem + anchors.fill: parent + anchors.leftMargin: 4 + anchors.rightMargin: 4 + verticalAlignment: Text.AlignVCenter + horizontalAlignment: Text.AlignHCenter + text: styleData.title + elide: Text.ElideMiddle + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + scale: control.tabPosition === Qt.TopEdge ? 1 : -1 + color: SystemPaletteSingleton.text(styleData.enabled) + Rectangle { + anchors.centerIn: parent + width: textitem.paintedWidth + 6 + height: textitem.paintedHeight + 4 + visible: (styleData.activeFocus && styleData.selected) + radius: 3 + color: "#224f9fef" + border.color: "#47b" + } + } + } + + /*! This defines the left corner. */ + property Component leftCorner: null + + /*! This defines the right corner. */ + property Component rightCorner: null + + /*! This defines the tab bar background. */ + property Component tabBar: null +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qmlc new file mode 100644 index 00000000..cea0d59d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TableViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TableViewStyle.qml new file mode 100644 index 00000000..f7a6bfa1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TableViewStyle.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.5 +import QtQuick.Controls 1.4 + +BasicTableViewStyle { + id: root + + readonly property TableView control: __control +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TableViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TableViewStyle.qmlc new file mode 100644 index 00000000..2ad2120a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TableViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextAreaStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextAreaStyle.qml new file mode 100644 index 00000000..8c08e211 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextAreaStyle.qml @@ -0,0 +1,158 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype TextAreaStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.2 + \ingroup controlsstyling + \brief Provides custom styling for TextArea. + + Example: + \qml + TextArea { + style: TextAreaStyle { + textColor: "#333" + selectionColor: "steelblue" + selectedTextColor: "#eee" + backgroundColor: "#eee" + } + } + \endqml +*/ + +ScrollViewStyle { + id: style + + /*! The \l TextArea this style is attached to. */ + readonly property TextArea control: __control + + /*! The current font. */ + property font font + + /*! The text color. */ + property color textColor: SystemPaletteSingleton.text(control.enabled) + + /*! The text highlight color, used behind selections. */ + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + + /*! The highlighted text color, used in selections. */ + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) + + /*! The background color. */ + property color backgroundColor: control.backgroundVisible ? SystemPaletteSingleton.base(control.enabled) : "transparent" + + /*! + \qmlproperty enumeration renderType + + Override the default rendering type for the control. + + Supported render types are: + \list + \li Text.QtRendering + \li Text.NativeRendering + \endlist + + The default value is platform dependent. + + \sa Text::renderType + */ + property int renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + + /*! The default margin, in pixels, around the text in the TextArea. + \since QtQuick.Controls.Styles 1.3 + \sa TextArea::textMargin */ + property real textMargin: 4 + + /*! \internal + The cursor handle. + \since QtQuick.Controls.Styles 1.3 + + The parent of the handle is positioned to the top left corner of + the cursor position. The interactive area is determined by the + geometry of the handle delegate. + + The following signals and read-only properties are available within the scope + of the handle delegate: + \table + \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. + \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. + \row \li \b {styleData.position} : int \li The character position of the handle. + \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. + \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. + \endtable + */ + property Component __cursorHandle + + /*! \internal + The selection handle. + \since QtQuick.Controls.Styles 1.3 + + The parent of the handle is positioned to the top left corner of + the first selected character. The interactive area is determined + by the geometry of the handle delegate. + + The following signals and read-only properties are available within the scope + of the handle delegate: + \table + \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. + \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. + \row \li \b {styleData.position} : int \li The character position of the handle. + \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. + \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. + \endtable + */ + property Component __selectionHandle + + /*! \internal + The cursor delegate. + \since QtQuick.Controls.Styles 1.3 + */ + property Component __cursorDelegate + + /*! \internal + The delegate for the cut/copy/paste menu. + \since QtQuick.Controls.Styles 1.4 + */ + property Component __editMenu +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextAreaStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextAreaStyle.qmlc new file mode 100644 index 00000000..4c8f422b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextAreaStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qml new file mode 100644 index 00000000..338b7af0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qml @@ -0,0 +1,221 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype TextFieldStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.1 + \ingroup controlsstyling + \brief Provides custom styling for TextField. + + Example: + \qml + TextField { + style: TextFieldStyle { + textColor: "black" + background: Rectangle { + radius: 2 + implicitWidth: 100 + implicitHeight: 24 + border.color: "#333" + border.width: 1 + } + } + } + \endqml +*/ + +Style { + id: style + + /*! The \l TextField this style is attached to. */ + readonly property TextField control: __control + + /*! The content margins of the text field. */ + padding { top: 4 ; left: Math.round(control.__contentHeight/3) ; right: control.__contentHeight/3 ; bottom: 4 } + + /*! The current font. */ + property font font + + /*! The text color. */ + property color textColor: SystemPaletteSingleton.text(control.enabled) + + /*! The text highlight color, used behind selections. */ + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + + /*! The highlighted text color, used in selections. */ + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) + + /*! + \qmlproperty string passwordCharacter + \since QtQuick.Controls.Styles 1.4 + + The password character that is displayed when echoMode + on the TextField is set to TextInput.Password or + TextInput.PasswordEchoOnEdit. + */ + property string passwordCharacter: Qt.styleHints.passwordMaskCharacter + + /*! + \qmlproperty enumeration renderType + \since QtQuick.Controls.Styles 1.1 + + Override the default rendering type for the control. + + Supported render types are: + \list + \li Text.QtRendering + \li Text.NativeRendering + \endlist + + The default value is platform dependent. + + \sa Text::renderType + */ + property int renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + + /*! The placeholder text color, used when the text field is empty. + \since QtQuick.Controls.Styles 1.1 + */ + property color placeholderTextColor: Qt.rgba(0, 0, 0, 0.5) + + /*! The background of the text field. */ + property Component background: Item { + Rectangle { + anchors.fill: parent + anchors.bottomMargin: -1 + color: "#44ffffff" + radius: baserect.radius + } + Rectangle { + id: baserect + gradient: Gradient { + GradientStop {color: "#e0e0e0" ; position: 0} + GradientStop {color: "#fff" ; position: 0.1} + GradientStop {color: "#fff" ; position: 1} + } + radius: control.__contentHeight * 0.16 + anchors.fill: parent + border.color: control.activeFocus ? "#47b" : "#999" + } + } + + /*! \internal */ + property Component panel: Item { + anchors.fill: parent + + property int topMargin: padding.top + property int leftMargin: padding.left + property int rightMargin: padding.right + property int bottomMargin: padding.bottom + + property color textColor: style.textColor + property color selectionColor: style.selectionColor + property color selectedTextColor: style.selectedTextColor + + implicitWidth: backgroundLoader.implicitWidth || Math.round(control.__contentHeight * 8) + implicitHeight: backgroundLoader.implicitHeight || Math.max(25, Math.round(control.__contentHeight * 1.2)) + baselineOffset: padding.top + control.__baselineOffset + + property color placeholderTextColor: style.placeholderTextColor + property font font: style.font + + Loader { + id: backgroundLoader + sourceComponent: background + anchors.fill: parent + } + } + + /*! \internal + The cursor handle. + \since QtQuick.Controls.Styles 1.3 + + The parent of the handle is positioned to the top left corner of + the cursor position. The interactive area is determined by the + geometry of the handle delegate. + + The following signals and read-only properties are available within the scope + of the handle delegate: + \table + \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. + \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. + \row \li \b {styleData.position} : int \li The character position of the handle. + \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. + \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. + \endtable + */ + property Component __cursorHandle + + /*! \internal + The selection handle. + \since QtQuick.Controls.Styles 1.3 + + The parent of the handle is positioned to the top left corner of + the first selected character. The interactive area is determined + by the geometry of the handle delegate. + + The following signals and read-only properties are available within the scope + of the handle delegate: + \table + \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. + \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. + \row \li \b {styleData.position} : int \li The character position of the handle. + \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. + \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. + \endtable + */ + property Component __selectionHandle + + /*! \internal + The cursor delegate. + \since QtQuick.Controls.Styles 1.3 + */ + property Component __cursorDelegate + + /*! \internal + The delegate for the cut/copy/paste menu. + \since QtQuick.Controls.Styles 1.4 + */ + property Component __editMenu +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qmlc new file mode 100644 index 00000000..fb5607a6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml new file mode 100644 index 00000000..2c47b4bf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml @@ -0,0 +1,290 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtGraphicalEffects 1.0 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 +import QtQuick.Extras.Private.CppUtils 1.0 + +/*! + \qmltype ToggleButtonStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.5 + \ingroup controlsstyling + \brief Provides custom styling for ToggleButton. + + You can create a custom toggle button by replacing the same delegates that + \l {ButtonStyle} provides. +*/ + +CircularButtonStyle { + id: circularButtonStyle + + /*! + The \l ToggleButton that this style is attached to. + */ + readonly property ToggleButton control: __control + + /*! + The gradient that is displayed on the inactive state indicator. The + inactive state indicator will be the checked gradient when the button + is unchecked, and the unchecked gradient when the button is checked. + + \sa checkedGradient, uncheckedGradient + */ + property Gradient inactiveGradient: Gradient { + GradientStop { + position: 0 + color: commonStyleHelper.inactiveColor + } + GradientStop { + position: 1 + color: commonStyleHelper.inactiveColorShine + } + } + + /*! + The gradient that is displayed on the checked state indicator. + + \sa uncheckedGradient, inactiveGradient + */ + property Gradient checkedGradient: Gradient { + GradientStop { + position: 0 + color: commonStyleHelper.onColor + } + GradientStop { + position: 1 + color: commonStyleHelper.onColorShine + } + } + + /*! + The gradient that is displayed on the unchecked state indicator. + + \sa checkedGradient, inactiveGradient + */ + property Gradient uncheckedGradient: Gradient { + GradientStop { + position: 0 + color: commonStyleHelper.offColor + } + GradientStop { + position: 1 + color: commonStyleHelper.offColorShine + } + } + + /*! + The color that is used for the drop shadow below the checked state + indicator. + + \sa uncheckedDropShadowColor + */ + property color checkedDropShadowColor: commonStyleHelper.onColor + + /*! + The color that is used for the drop shadow below the checked state + indicator. + + \sa checkedDropShadowColor + */ + property color uncheckedDropShadowColor: commonStyleHelper.offColor + + CommonStyleHelper { + id: commonStyleHelper + } + + background: Item { + implicitWidth: __buttonHelper.implicitWidth + implicitHeight: __buttonHelper.implicitHeight + + Connections { + target: control + function onPressedChanged() { + backgroundCanvas.requestPaint(); + } + + function onCheckedChanged() { + uncheckedCanvas.requestPaint(); + checkedCanvas.requestPaint(); + } + } + + Connections { + target: circularButtonStyle + + function onCheckedGradientChanged() { checkedCanvas.requestPaint() } + function onCheckedDropShadowColorChanged() { checkedCanvas.requestPaint() } + function onUncheckedGradientChanged() { uncheckedCanvas.requestPaint() } + function onUncheckedDropShadowColorChanged() { uncheckedCanvas.requestPaint() } + function onInactiveGradientChanged() { + checkedCanvas.requestPaint(); + uncheckedCanvas.requestPaint(); + } + } + + Connections { + target: circularButtonStyle.checkedGradient + function onUpdated() { checkedCanvas.requestPaint() } + } + + Connections { + target: circularButtonStyle.uncheckedGradient + function onUpdated() { uncheckedCanvas.requestPaint() } + } + + Connections { + target: circularButtonStyle.inactiveGradient + function onUpdated() { + uncheckedCanvas.requestPaint(); + checkedCanvas.requestPaint(); + } + } + + Canvas { + id: backgroundCanvas + anchors.fill: parent + + onPaint: { + var ctx = getContext("2d"); + __buttonHelper.paintBackground(ctx); + } + } + + Canvas { + id: uncheckedCanvas + anchors.fill: parent + anchors.margins: -(__buttonHelper.radius * 3) + visible: control.checked + + readonly property real xCenter: width / 2 + readonly property real yCenter: height / 2 + + onPaint: { + var ctx = getContext("2d"); + ctx.reset(); + + /* Draw unchecked indicator */ + ctx.beginPath(); + ctx.lineWidth = __buttonHelper.outerArcLineWidth - __buttonHelper.innerArcLineWidth; + ctx.arc(xCenter, yCenter, __buttonHelper.outerArcRadius + __buttonHelper.innerArcLineWidth / 2, + MathUtils.degToRad(180), MathUtils.degToRad(270), false); + var gradient = ctx.createLinearGradient(xCenter, yCenter + __buttonHelper.radius, + xCenter, yCenter - __buttonHelper.radius); + var relevantGradient = control.checked ? inactiveGradient : uncheckedGradient; + for (var i = 0; i < relevantGradient.stops.length; ++i) { + gradient.addColorStop(relevantGradient.stops[i].position, relevantGradient.stops[i].color); + } + ctx.strokeStyle = gradient; + ctx.stroke(); + } + } + + Canvas { + id: checkedCanvas + anchors.fill: parent + anchors.margins: -(__buttonHelper.radius * 3) + visible: !control.checked + + readonly property real xCenter: width / 2 + readonly property real yCenter: height / 2 + + onPaint: { + var ctx = getContext("2d"); + ctx.reset(); + + /* Draw checked indicator */ + ctx.beginPath(); + ctx.lineWidth = __buttonHelper.outerArcLineWidth - __buttonHelper.innerArcLineWidth; + ctx.arc(xCenter, yCenter, __buttonHelper.outerArcRadius + __buttonHelper.innerArcLineWidth / 2, + MathUtils.degToRad(270), MathUtils.degToRad(0), false); + var gradient = ctx.createLinearGradient(xCenter, yCenter + __buttonHelper.radius, + xCenter, yCenter - __buttonHelper.radius); + var relevantGradient = control.checked ? checkedGradient : inactiveGradient; + for (var i = 0; i < relevantGradient.stops.length; ++i) { + gradient.addColorStop(relevantGradient.stops[i].position, relevantGradient.stops[i].color); + } + ctx.strokeStyle = gradient; + ctx.stroke(); + } + } + + DropShadow { + id: uncheckedDropShadow + anchors.fill: uncheckedCanvas + cached: true + color: uncheckedDropShadowColor + source: uncheckedCanvas + visible: !control.checked + } + + DropShadow { + id: checkedDropShadow + anchors.fill: checkedCanvas + cached: true + color: checkedDropShadowColor + source: checkedCanvas + visible: control.checked + } + } + + panel: Item { + implicitWidth: backgroundLoader.implicitWidth + implicitHeight: backgroundLoader.implicitHeight + + Loader { + id: backgroundLoader + anchors.fill: parent + sourceComponent: background + } + + Loader { + id: labelLoader + sourceComponent: label + anchors.fill: parent + anchors.leftMargin: padding.left + anchors.topMargin: padding.top + anchors.rightMargin: padding.right + anchors.bottomMargin: padding.bottom + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qmlc new file mode 100644 index 00000000..26514fc9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolBarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolBarStyle.qml new file mode 100644 index 00000000..8c34efa9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolBarStyle.qml @@ -0,0 +1,126 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ToolBarStyle + \inqmlmodule QtQuick.Controls.Styles + \ingroup controlsstyling + \since 5.2 + \brief Provides custom styling for ToolBar. + + The tool bar can be defined by overriding the background component and + setting the content padding. + + Example: + \qml + ToolBar { + style: ToolBarStyle { + padding { + left: 8 + right: 8 + top: 3 + bottom: 3 + } + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + border.color: "#999" + gradient: Gradient { + GradientStop { position: 0 ; color: "#fff" } + GradientStop { position: 1 ; color: "#eee" } + } + } + } + } + \endqml +*/ + +Style { + + /*! The content padding inside the tool bar. */ + padding { + left: 6 + right: 6 + top: 3 + bottom: 3 + } + + /*! This defines the background of the tool bar. */ + property Component background: Item { + implicitHeight: 40 + implicitWidth: 200 + Rectangle { + anchors.fill: parent + gradient: Gradient{ + GradientStop{color: "#eee" ; position: 0} + GradientStop{color: "#ccc" ; position: 1} + } + Rectangle { + anchors.bottom: parent.bottom + width: parent.width + height: 1 + color: "#999" + } + } + } + + /*! This defines the menu button appearance on platforms + that have a unified tool bar and menu bar. + + \since QtQuick.Controls.Styles 1.3 + + The following read-only properties are available within the scope + of the menu button delegate: + \table + \row \li \b {styleData.pressed} : bool \li Whether the button is pressed. + \row \li \b {styleData.hovered} : bool \li Whether the button is hovered. + \row \li \b {styleData.activeFocus} : bool \li Whether the button has active focus. + \endtable + */ + property Component menuButton: null + + /*! This defines the panel of the tool bar. */ + property Component panel: Loader { + sourceComponent: background + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolBarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolBarStyle.qmlc new file mode 100644 index 00000000..5c5bc3f9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolBarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml new file mode 100644 index 00000000..9387188c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml @@ -0,0 +1,111 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ToolButtonStyle + \internal + \ingroup controlsstyling + \inqmlmodule QtQuick.Controls.Styles +*/ +Style { + readonly property ToolButton control: __control + property Component panel: Item { + id: styleitem + implicitWidth: (hasIcon ? icon.width : Math.max(label.implicitWidth + frame.border.left + frame.border.right, 36)) + + (arrow.visible ? 10 : 0) + implicitHeight: hasIcon ? icon.height : Math.max(label.implicitHeight, 36) + + readonly property bool hasIcon: icon.status === Image.Ready || icon.status === Image.Loading + + Rectangle { + anchors.fill: parent + visible: control.pressed || (control.checkable && control.checked) + color: "lightgray" + radius:4 + border.color: "#aaa" + } + Item { + anchors.left: parent.left + anchors.right: arrow.left + anchors.top: parent.top + anchors.bottom: parent.bottom + clip: true + Text { + id: label + visible: !hasIcon + anchors.centerIn: parent + text: StyleHelpers.stylizeMnemonics(control.text) + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + Image { + id: icon + anchors.centerIn: parent + source: control.iconSource + } + } + + BorderImage { + id: frame + anchors.fill: parent + anchors.margins: -1 + anchors.topMargin: -2 + anchors.rightMargin: 0 + source: "images/focusframe.png" + visible: control.activeFocus + border.left: 4 + border.right: 4 + border.top: 4 + border.bottom: 4 + } + + Image { + id: arrow + visible: control.menu !== null + source: visible ? "images/arrow-down.png" : "" + anchors.verticalCenter: parent.verticalCenter + anchors.right: parent.right + anchors.rightMargin: visible ? 3 : 0 + opacity: control.enabled ? 0.7 : 0.5 + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolButtonStyle.qmlc new file mode 100644 index 00000000..1daee201 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TreeViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TreeViewStyle.qml new file mode 100644 index 00000000..72825ccc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TreeViewStyle.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.5 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Private 1.0 + +BasicTableViewStyle { + id: root + + readonly property TreeView control: __control + + property int indentation: 16 + + property Component branchDelegate: Item { + width: indentation + height: 16 + Text { + visible: styleData.column === 0 && styleData.hasChildren + text: styleData.isExpanded ? "\u25bc" : "\u25b6" + color: !control.activeFocus || styleData.selected ? styleData.textColor : "#666" + font.pointSize: 10 + renderType: Text.NativeRendering + style: Text.PlainText + anchors.centerIn: parent + anchors.verticalCenterOffset: 2 + } + } + + __branchDelegate: branchDelegate + __indentation: indentation +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TreeViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TreeViewStyle.qmlc new file mode 100644 index 00000000..cc409ffe Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TreeViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TumblerStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TumblerStyle.qml new file mode 100644 index 00000000..c70aea6c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TumblerStyle.qml @@ -0,0 +1,334 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtGraphicalEffects 1.0 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 + +/*! + \qmltype TumblerStyle + \inqmlmodule QtQuick.Controls.Styles + \since 5.5 + \ingroup controlsstyling + \brief Provides custom styling for Tumbler. + + You can create a custom tumbler by replacing the following delegates: + \list + \li \l background + \li \l foreground + \li \l separator + \li \l delegate + \li \l highlight + \li \l frame + \endlist +*/ + +Style { + id: tumblerStyle + + padding.left: __padding + padding.right: __padding + padding.top: __padding + padding.bottom: __padding + + /*! + The \l Tumbler that this style is attached to. + */ + readonly property Tumbler control: __control + + /*! + \obsolete + + This property holds the spacing between each delegate. + + This property has no effect. + */ + property real spacing: 0 + + /*! + This property holds the amount of items visible in each column. + + This value should be an odd number. + */ + property int visibleItemCount: 3 + + /*! + \internal + + TODO: how do we handle differing padding values? + */ + readonly property real __padding: Math.max(6, Math.round(TextSingleton.implicitHeight * 0.4)) + /*! \internal */ + property real __delegateHeight: 0 + /*! \internal */ + property real __separatorWidth: 0 + + /*! + The background of the tumbler. + */ + property Component background: Rectangle { + gradient: Gradient { + GradientStop { position: 0.00; color: "#acacac" } + GradientStop { position: 0.12; color: "#d5d5d5" } + GradientStop { position: 0.24; color: "#e8e8e8" } + GradientStop { position: 0.39; color: "#ffffff" } + GradientStop { position: 0.61; color: "#ffffff" } + GradientStop { position: 0.76; color: "#e8e8e8" } + GradientStop { position: 0.88; color: "#d5d5d5" } + GradientStop { position: 1.00; color: "#acacac" } + } + } + + /*! + The foreground of the tumbler. + */ + property Component foreground: Item { + clip: true + + Rectangle { + id: rect + anchors.fill: parent + // Go one pixel larger than our parent so that we can hide our one pixel frame + // that the shadow is created from. + anchors.margins: -1 + color: "transparent" + border.color: "black" + visible: false + } + + DropShadow { + anchors.fill: rect + source: rect + samples: 15 + spread: 0.45 + cached: true + } + } + + /*! + The separator between each column. + + The \l {Item::}{implicitWidth} property must be set, and should be the + same value for each separator. + */ + property Component separator: Canvas { + implicitWidth: Math.max(10, Math.round(TextSingleton.implicitHeight * 0.4)) + + onPaint: { + var ctx = getContext("2d"); + ctx.reset(); + + ctx.fillStyle = "#11000000"; + ctx.fillRect(0, 0, width, height); + ctx.fillStyle = "#11000000"; + ctx.fillRect(width * 0.2, 0, width * 0.6, height); + ctx.fillStyle = "#66000000"; + ctx.fillRect(width * 0.4, 0, width * 0.2, height); + } + } + + /*! + The foreground of each column. + + In terms of stacking order, this component is displayed above the + delegate and highlight components, but below the foreground component. + + \table + \row \li \c {readonly property int} \b styleData.column + \li The index of the column that contains this item. + \row \li \c {readonly property bool} \b styleData.activeFocus + \li \c true if the column that contains this item has active focus. + + \endtable + + Delegates for items in specific columns can be defined using + TumblerColumn's \l {TumblerColumn::columnForeground}{columnForeground} + property, which will be used instead of this component. + */ + property Component columnForeground + + /*! + The frame around the tumbler. + + The \l {Item::}{implicitWidth} property must be set, and should be the + same value for each separator. + */ + property Component frame: Canvas { + onPaint: { + // workaround for QTBUG-40792 + var ctx = getContext("2d"); + ctx.reset(); + + var cornerRadius = Math.max(2, Math.round(TextSingleton.implicitHeight * 0.2)); + var outerLineWidth = Math.max(1, Math.round(TextSingleton.implicitHeight * 0.05)); + var innerLineWidth = __padding - outerLineWidth; + + ctx.save(); + ctx.lineWidth = outerLineWidth; + ctx.beginPath(); + ctx.roundedRect(0, 0, width, height, cornerRadius, cornerRadius); + ctx.roundedRect(outerLineWidth, outerLineWidth, width - outerLineWidth * 2, height - outerLineWidth * 2, + cornerRadius - outerLineWidth, cornerRadius - outerLineWidth); + ctx.clip(); + + ctx.beginPath(); + ctx.rect(0, 0, width, height); + var gradient = ctx.createLinearGradient(width / 2, 0, width / 2, height); + gradient.addColorStop(0, "#33b3b3b3"); + gradient.addColorStop(1, "#4ce6e6e6"); + ctx.fillStyle = gradient; + ctx.fill(); + ctx.restore(); + + // The inner stroke must account for its corner radius. + cornerRadius -= outerLineWidth; + + ctx.save(); + ctx.lineWidth = innerLineWidth; + ctx.beginPath(); + ctx.roundedRect(outerLineWidth, outerLineWidth, width - outerLineWidth * 2, height - outerLineWidth * 2, + cornerRadius, cornerRadius); + ctx.roundedRect(outerLineWidth + innerLineWidth, outerLineWidth + innerLineWidth, + width - outerLineWidth * 2 - innerLineWidth * 2, height - outerLineWidth * 2 - innerLineWidth * 2, + cornerRadius - innerLineWidth, cornerRadius - innerLineWidth); + ctx.clip(); + + ctx.beginPath(); + ctx.rect(0, 0, width, height); + gradient = ctx.createLinearGradient(width / 2, 0, width / 2, height); + gradient.addColorStop(0, "#4c666666"); + gradient.addColorStop(1, "#40cccccc"); + ctx.fillStyle = gradient; + ctx.fill(); + ctx.restore(); + } + } + + /*! + The delegate provides a template defining each item instantiated in the + column. Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this delegate in the model. + \row \li \c {readonly property int} \b styleData.column + \li The index of the column that contains this item. + \row \li \c {readonly property real} \b styleData.value + \li The value for this delegate from the model. + \row \li \c {readonly property bool} \b styleData.current + \li \c true if this delegate is the current item. + \row \li \c {readonly property real} \b styleData.displacement + \li \c A value from \c {-visibleItemCount / 2} to + \c {visibleItemCount / 2} which represents how far away + this item is from being the current item, with \c 0 being + completely current. + + For example, the item below will be 40% opaque when + it is not the current item, and transition to 100% + opacity when it becomes the current item: + + \code + delegate: Text { + text: styleData.value + opacity: 0.4 + Math.max(0, 1 - Math.abs(styleData.displacement)) * 0.6 + } + \endcode + \row \li \c {readonly property bool} \b styleData.activeFocus + \li \c true if the column that contains this item has active focus. + + \endtable + + Properties of the model are also available depending upon the type of + \l {qml-data-models}{Data Model}. + + Delegates for items in specific columns can be defined using + TumblerColumn's \l {TumblerColumn::delegate}{delegate} property, which + will be used instead of this delegate. + + The \l {Item::}{implicitHeight} property must be set, and it must be + the same for each delegate. + */ + property Component delegate: Item { + implicitHeight: (control.height - padding.top - padding.bottom) / tumblerStyle.visibleItemCount + + Text { + id: label + text: styleData.value + color: "#666666" + opacity: 0.4 + Math.max(0, 1 - Math.abs(styleData.displacement)) * 0.6 + font.pixelSize: Math.round(TextSingleton.font.pixelSize * 1.25) + anchors.centerIn: parent + } + } + + /*! + The delegate for the highlight of each column. + + Delegates for the highlight of specific columns can be defined using + TumblerColumn's \l {TumblerColumn::highlight}{highlight} property, + which will be used instead of this delegate. + + Each instance of this component has access to the following properties: + + \table + \row \li \c {readonly property int} \b styleData.index + \li The index of this column in the tumbler. + \row \li \c {readonly property int} \b styleData.columnIndex + \li The index of the column that contains this highlight. + \row \li \c {readonly property bool} \b styleData.activeFocus + \li \c true if the column that contains this highlight has active focus. + \endtable + */ + property Component highlight + + /*! \internal */ + property Component panel: Item { + implicitWidth: { + var w = (__separatorWidth * (control.columnCount - 1)) + tumblerStyle.padding.left + tumblerStyle.padding.right; + for (var i = 0; i < control.columnCount; ++i) + w += control.getColumn(i).width; + return w; + } + implicitHeight: TextSingleton.implicitHeight * 10 + tumblerStyle.padding.top + tumblerStyle.padding.bottom + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TumblerStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TumblerStyle.qmlc new file mode 100644 index 00000000..a3a073a5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TumblerStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-down.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-down.png new file mode 100644 index 00000000..dadd4f81 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-down.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png new file mode 100644 index 00000000..2829fd19 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-left.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-left.png new file mode 100644 index 00000000..7693fc72 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-left.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png new file mode 100644 index 00000000..0005b3e7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-right.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-right.png new file mode 100644 index 00000000..b5cb2b27 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-right.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png new file mode 100644 index 00000000..21b36f7b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-up.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-up.png new file mode 100644 index 00000000..d8a8247c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-up.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png new file mode 100644 index 00000000..1bd44d52 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/button.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/button.png new file mode 100644 index 00000000..3793f3ef Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/button.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/button_down.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/button_down.png new file mode 100644 index 00000000..7b016fa9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/button_down.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/check.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/check.png new file mode 100644 index 00000000..ad1df957 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/check.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/check@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/check@2x.png new file mode 100644 index 00000000..3eb4ae77 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/check@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/editbox.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/editbox.png new file mode 100644 index 00000000..f0e6ee43 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/editbox.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/focusframe.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/focusframe.png new file mode 100644 index 00000000..aad56612 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/focusframe.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/groupbox.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/groupbox.png new file mode 100644 index 00000000..680e926a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/groupbox.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/header.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/header.png new file mode 100644 index 00000000..aaf8f99e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/header.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/knob.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/knob.png new file mode 100644 index 00000000..9a948fd8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/knob.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/leftanglearrow.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/leftanglearrow.png new file mode 100644 index 00000000..1e479a3d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/leftanglearrow.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/needle.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/needle.png new file mode 100644 index 00000000..316dad71 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/needle.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png new file mode 100644 index 00000000..2ff41b45 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/rightanglearrow.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/rightanglearrow.png new file mode 100644 index 00000000..52f1a241 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/rightanglearrow.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png new file mode 100644 index 00000000..67f582d8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png new file mode 100644 index 00000000..34e7dd6a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png new file mode 100644 index 00000000..280dac50 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/slider-groove.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/slider-groove.png new file mode 100644 index 00000000..a9d059b7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/slider-groove.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/slider-handle.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/slider-handle.png new file mode 100644 index 00000000..0d4ee9c5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/slider-handle.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_large.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_large.png new file mode 100644 index 00000000..8e6a7738 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_large.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_medium.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_medium.png new file mode 100644 index 00000000..48a24d58 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_medium.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_small.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_small.png new file mode 100644 index 00000000..c3e86dc6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_small.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/tab.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/tab.png new file mode 100644 index 00000000..ce116cc6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/tab.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/tab_selected.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/tab_selected.png new file mode 100644 index 00000000..e0cb16a6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/tab_selected.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml new file mode 100644 index 00000000..455cafb9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml @@ -0,0 +1,42 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick.Controls.Styles 1.3 + +ApplicationWindowStyle { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qmlc new file mode 100644 index 00000000..2c56326f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml new file mode 100644 index 00000000..b73729d7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml @@ -0,0 +1,42 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick.Controls.Styles 1.1 + +BusyIndicatorStyle { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qmlc new file mode 100644 index 00000000..373da7a3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml new file mode 100644 index 00000000..21fc28b3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml @@ -0,0 +1,62 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + property Component panel: StyleItem { + id: styleitem + elementType: "button" + sunken: control.pressed || (control.checkable && control.checked) + raised: !(control.pressed || (control.checkable && control.checked)) + hover: control.hovered + text: control.iconSource === "" ? "" : control.text + hasFocus: control.activeFocus + hints: control.styleHints + // If no icon, let the style do the drawing + activeControl: control.isDefault ? "default" : "f" + + properties: { + "icon": control.__iconAction.__icon, + "menu": control.menu + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ButtonStyle.qmlc new file mode 100644 index 00000000..84f2cea0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml new file mode 100644 index 00000000..ec22f775 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml @@ -0,0 +1,42 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick.Controls.Styles 1.1 + +CalendarStyle {} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CalendarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CalendarStyle.qmlc new file mode 100644 index 00000000..fc74dcd9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CalendarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml new file mode 100644 index 00000000..7ed68699 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml @@ -0,0 +1,91 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + property Component panel: Item { + anchors.fill: parent + + implicitWidth: styleitem.implicitWidth + implicitHeight: styleitem.implicitHeight + baselineOffset: styleitem.baselineOffset + StyleItem { + id: styleitem + elementType: "checkbox" + sunken: control.pressed + on: control.checked || control.pressed + hover: control.hovered + enabled: control.enabled + hasFocus: control.activeFocus && styleitem.style == "mac" + hints: control.styleHints + properties: {"partiallyChecked": (control.checkedState === Qt.PartiallyChecked) } + contentHeight: textitem.implicitHeight + contentWidth: Math.ceil(textitem.implicitWidth) + 4 + property int indicatorWidth: pixelMetric("indicatorwidth") + (macStyle ? 2 : 4) + property bool macStyle: (style === "mac") + + Text { + id: textitem + text: control.text + anchors.left: parent.left + anchors.leftMargin: parent.indicatorWidth + anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: parent.macStyle ? 1 : 0 + anchors.right: parent.right + renderType: Text.NativeRendering + elide: Text.ElideRight + enabled: control.enabled + color: SystemPaletteSingleton.windowText(control.enabled) + StyleItem { + elementType: "focusrect" + anchors.margins: -1 + anchors.leftMargin: -2 + anchors.top: parent.top + anchors.left: parent.left + anchors.bottom: parent.bottom + width: textitem.implicitWidth + 3 + visible: control.activeFocus + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qmlc new file mode 100644 index 00000000..51973ebf Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml new file mode 100644 index 00000000..cd5ce47d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml @@ -0,0 +1,127 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Window 2.1 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import "." as Desktop + +Style { + readonly property ComboBox control: __control + property int renderType: Text.NativeRendering + padding { top: 4 ; left: 6 ; right: 6 ; bottom:4 } + property Component panel: Item { + property bool popup: !!styleItem.styleHint("comboboxpopup") + property color textColor: SystemPaletteSingleton.text(control.enabled) + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) + property int dropDownButtonWidth: 24 + + implicitWidth: 125 + implicitHeight: styleItem.implicitHeight + baselineOffset: styleItem.baselineOffset + anchors.fill: parent + StyleItem { + id: styleItem + + height: parent.height + width: parent.width + elementType: "combobox" + sunken: control.pressed + raised: !sunken + hover: control.hovered + enabled: control.enabled + // The style makes sure the text rendering won't overlap the decoration. + // In that case, 35 pixels margin in this case looks good enough. Worst + // case, the ellipsis will be truncated (2nd worst, not visible at all). + text: elidedText(control.currentText, Text.ElideRight, parent.width - 35) + hasFocus: control.activeFocus + // contentHeight as in QComboBox + contentHeight: Math.max(Math.ceil(textHeight("")), 14) + 2 + + hints: control.styleHints + properties: { + "popup": control.__popup, + "editable" : control.editable + } + } + } + + property Component __popupStyle: MenuStyle { + __menuItemType: "comboboxitem" + } + + property Component __dropDownStyle: Style { + id: dropDownStyleRoot + property int __maxPopupHeight: 600 + property int submenuOverlap: 0 + property int submenuPopupDelay: 0 + + property Component frame: StyleItem { + elementType: "frame" + Component.onCompleted: { + var defaultFrameWidth = pixelMetric("defaultframewidth") + dropDownStyleRoot.padding.left = defaultFrameWidth + dropDownStyleRoot.padding.right = defaultFrameWidth + dropDownStyleRoot.padding.top = defaultFrameWidth + dropDownStyleRoot.padding.bottom = defaultFrameWidth + } + } + + property Component menuItemPanel: StyleItem { + elementType: "itemrow" + selected: styleData.selected + + implicitWidth: textItem.implicitWidth + implicitHeight: textItem.implicitHeight + + StyleItem { + id: textItem + elementType: "item" + contentWidth: textWidth(text) + contentHeight: textHeight(text) + text: styleData.text + selected: parent ? parent.selected : false + } + } + + property Component __scrollerStyle: Desktop.ScrollViewStyle { } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qmlc new file mode 100644 index 00000000..2d6ed8a2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml new file mode 100644 index 00000000..59f52e60 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype FocusFrameStyle + \internal + \inqmlmodule QtQuick.Controls.Styles +*/ +StyleItem { + property int margin: -3 + anchors.fill: parent + elementType: "focusframe" +} + + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qmlc new file mode 100644 index 00000000..8fd3f9f9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml new file mode 100644 index 00000000..b3128933 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + + +Style { + readonly property GroupBox control: __control + + property var __style: StyleItem { id: style } + property int titleHeight: 18 + + Component.onCompleted: { + var stylename = __style.style + if (stylename.indexOf("windows") > -1) + titleHeight = 9 + } + + padding { + top: Math.round(Settings.dpiScaleFactor * (control.title.length > 0 || control.checkable ? titleHeight : 0) + (style.style == "mac" ? 9 : 6)) + left: Math.round(Settings.dpiScaleFactor * 8) + right: Math.round(Settings.dpiScaleFactor * 8) + bottom: Math.round(Settings.dpiScaleFactor * 7 + (style.style.indexOf("windows") > -1 ? 2 : 0)) + } + + property Component panel: StyleItem { + anchors.fill: parent + id: styleitem + elementType: "groupbox" + text: control.title + on: control.checked + hasFocus: control.__checkbox.activeFocus + activeControl: control.checkable ? "checkbox" : "" + properties: { "checkable" : control.checkable , "sunken" : !control.flat} + border {top: 32 ; bottom: 8} + Accessible.role: Accessible.Grouping + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qmlc new file mode 100644 index 00000000..04b57990 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml new file mode 100644 index 00000000..8e517c8a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import "." as Desktop + +Style { + id: styleRoot + + property Component background: StyleItem { + elementType: "menubar" + + Component.onCompleted: { + styleRoot.padding.left = pixelMetric("menubarhmargin") + pixelMetric("menubarpanelwidth") + styleRoot.padding.right = pixelMetric("menubarhmargin") + pixelMetric("menubarpanelwidth") + styleRoot.padding.top = pixelMetric("menubarvmargin") + pixelMetric("menubarpanelwidth") + styleRoot.padding.bottom = pixelMetric("menubarvmargin") + pixelMetric("menubarpanelwidth") + } + } + + property Component itemDelegate: StyleItem { + elementType: "menubaritem" + + text: styleData.text + property string plainText: StyleHelpers.removeMnemonics(text) + contentWidth: textWidth(plainText) + contentHeight: textHeight(plainText) + width: implicitWidth + + enabled: styleData.enabled + sunken: styleData.open + selected: (parent && styleData.selected) || sunken + + hints: { "showUnderlined": styleData.underlineMnemonic } + } + + property Component menuStyle: Desktop.MenuStyle { } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qmlc new file mode 100644 index 00000000..c2d86be3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuStyle.qml new file mode 100644 index 00000000..282860ae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuStyle.qml @@ -0,0 +1,117 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Window 2.1 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + id: styleRoot + + property string __menuItemType: "menuitem" + + property int submenuOverlap: 0 + property int submenuPopupDelay: 0 + property int __maxPopupHeight: 0 + + property Component frame: StyleItem { + elementType: "menu" + + Rectangle { + visible: anchors.margins > 0 + anchors { + fill: parent + margins: pixelMetric("menupanelwidth") + } + color: SystemPaletteSingleton.window(control.enabled) + } + + Component.onCompleted: { + var menuHMargin = pixelMetric("menuhmargin") + var menuVMargin = pixelMetric("menuvmargin") + var menuPanelWidth = pixelMetric("menupanelwidth") + styleRoot.padding.left = menuHMargin + menuPanelWidth + styleRoot.padding.right = menuHMargin + menuPanelWidth + styleRoot.padding.top = menuVMargin + menuPanelWidth + styleRoot.padding.bottom = menuVMargin + menuPanelWidth + styleRoot.submenuOverlap = 2 * menuPanelWidth + styleRoot.submenuPopupDelay = styleHint("submenupopupdelay") + } + + // ### The Screen attached property can only be set on an Item, + // ### and will get its values only when put on a Window. + readonly property int desktopAvailableHeight: Screen.desktopAvailableHeight + Qml.Binding { + target: styleRoot + property: "__maxPopupHeight" + value: desktopAvailableHeight * 0.99 + restoreMode: Binding.RestoreBinding + } + } + + property Component menuItemPanel: StyleItem { + elementType: __menuItemType + + text: styleData.text + property string textAndShorcut: text + (styleData.shortcut ? "\t" + styleData.shortcut : "") + contentWidth: textWidth(textAndShorcut) + contentHeight: textHeight(textAndShorcut) + + enabled: styleData.enabled + selected: styleData.selected + on: styleData.checkable && styleData.checked + + hints: { "showUnderlined": styleData.underlineMnemonic } + + properties: { + "checkable": styleData.checkable, + "exclusive": styleData.exclusive, + "shortcut": styleData.shortcut, + "type": styleData.type, + "scrollerDirection": styleData.scrollerDirection, + "icon": !!__menuItem && __menuItem.__icon + } + } + + property Component scrollIndicator: menuItemPanel + + property Component __scrollerStyle: null +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuStyle.qmlc new file mode 100644 index 00000000..e1c94ea4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml new file mode 100644 index 00000000..aa44b1ae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml @@ -0,0 +1,61 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + property Component panel: StyleItem { + anchors.fill: parent + elementType: "progressbar" + // XXX: since desktop uses int instead of real, the progressbar + // range [0..1] must be stretched to a good precision + property int factor : 1000 + property int decimals: 3 + value: indeterminate ? 0 : control.value.toFixed(decimals) * factor // does indeterminate value need to be 1 on windows? + minimum: indeterminate ? 0 : control.minimumValue.toFixed(decimals) * factor + maximum: indeterminate ? 0 : control.maximumValue.toFixed(decimals) * factor + enabled: control.enabled + horizontal: control.orientation === Qt.Horizontal + hints: control.styleHints + contentWidth: horizontal ? 200 : 23 + contentHeight: horizontal ? 23 : 200 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qmlc new file mode 100644 index 00000000..239933b1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml new file mode 100644 index 00000000..c2173878 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + readonly property RadioButton control: __control + property Component panel: Item { + anchors.fill: parent + + implicitWidth: styleitem.implicitWidth + implicitHeight: styleitem.implicitHeight + baselineOffset: styleitem.baselineOffset + + StyleItem { + id: styleitem + elementType: "radiobutton" + anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: macStyle ? -1 : 0 + sunken: control.pressed + on: control.checked || control.pressed + hover: control.hovered + enabled: control.enabled + hasFocus: control.activeFocus && styleitem.style == "mac" + hints: control.styleHints + contentHeight: textitem.implicitHeight + contentWidth: Math.ceil(textitem.implicitWidth) + 4 + property int indicatorWidth: pixelMetric("indicatorwidth") + (macStyle ? 2 : 4) + property bool macStyle: (style === "mac") + + Text { + id: textitem + text: control.text + anchors.left: parent.left + anchors.leftMargin: parent.indicatorWidth + anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: parent.macStyle ? 2 : 0 + anchors.right: parent.right + renderType: Text.NativeRendering + elide: Text.ElideRight + enabled: control.enabled + color: SystemPaletteSingleton.windowText(control.enabled) + StyleItem { + elementType: "focusrect" + anchors.margins: -1 + anchors.leftMargin: -2 + anchors.top: parent.top + anchors.left: parent.left + anchors.bottom: parent.bottom + width: textitem.implicitWidth + 3 + visible: control.activeFocus + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qmlc new file mode 100644 index 00000000..dfcf4722 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml new file mode 100644 index 00000000..5fd6e322 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +pragma Singleton +import QtQuick.Controls.Private 1.0 +StyleItem { + elementType: "itemrow" +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qmlc new file mode 100644 index 00000000..abc54eba Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml new file mode 100644 index 00000000..d8677384 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml @@ -0,0 +1,99 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + id: root + + padding { + property int frameWidth: __styleitem.pixelMetric("defaultframewidth") + left: frameWidth + top: frameWidth + bottom: frameWidth + right: frameWidth + } + + property StyleItem __styleitem: StyleItem { elementType: "frame" } + + property Component frame: StyleItem { + id: styleitem + elementType: "frame" + sunken: true + visible: control.frameVisible + textureHeight: 64 + textureWidth: 64 + border { + top: 16 + left: 16 + right: 16 + bottom: 16 + } + } + + property Component corner: StyleItem { elementType: "scrollareacorner" } + + readonly property bool __externalScrollBars: __styleitem.styleHint("externalScrollBars") + readonly property int __scrollBarSpacing: __styleitem.pixelMetric("scrollbarspacing") + readonly property bool scrollToClickedPosition: __styleitem.styleHint("scrollToClickPosition") !== 0 + property bool transientScrollBars: false + + readonly property int __wheelScrollLines: __styleitem.styleHint("wheelScrollLines") + + property Component __scrollbar: StyleItem { + anchors.fill:parent + elementType: "scrollbar" + hover: activeControl != "none" + activeControl: "none" + sunken: __styleData.upPressed | __styleData.downPressed | __styleData.handlePressed + minimum: __control.minimumValue + maximum: __control.maximumValue + value: __control.value + horizontal: __styleData.horizontal + enabled: __control.enabled + + implicitWidth: horizontal ? 200 : pixelMetric("scrollbarExtent") + implicitHeight: horizontal ? pixelMetric("scrollbarExtent") : 200 + + onIsTransientChanged: root.transientScrollBars = isTransient + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qmlc new file mode 100644 index 00000000..f122c1fe Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SliderStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SliderStyle.qml new file mode 100644 index 00000000..bba9d54d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SliderStyle.qml @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + readonly property Item control: __control + property Component panel: StyleItem { + elementType: "slider" + sunken: control.pressed + implicitWidth: 200 + contentHeight: horizontal ? 22 : 200 + contentWidth: horizontal ? 200 : 22 + + maximum: control.maximumValue*100 + minimum: control.minimumValue*100 + step: control.stepSize*100 + value: control.__handlePos*100 + horizontal: control.orientation === Qt.Horizontal + enabled: control.enabled + hasFocus: control.activeFocus + hover: control.hovered + hints: control.styleHints + activeControl: control.tickmarksEnabled ? "ticks" : "" + property int handleWidth: 15 + property int handleHeight: 15 + } + padding { top: 0 ; left: 0 ; right: 0 ; bottom: 0 } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SliderStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SliderStyle.qmlc new file mode 100644 index 00000000..22ed7857 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SliderStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml new file mode 100644 index 00000000..50e13ab4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml @@ -0,0 +1,128 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + readonly property SpinBox control: __control + + padding { + top: control.__panel ? control.__panel.topPadding + (styleitem.style === "mac" ? 2 : 0) : 0 + left: control.__panel ? control.__panel.leftPadding : 0 + right: control.__panel ? control.__panel.rightPadding : 0 + bottom: control.__panel ? control.__panel.bottomPadding : 0 + } + StyleItem {id: styleitem ; visible: false} + + property int renderType: Text.NativeRendering + + property Component panel: Item { + id: style + + property rect upRect + property rect downRect + + property int horizontalAlignment: Qt.platform.os === "osx" ? Qt.AlignRight : Qt.AlignLeft + property int verticalAlignment: Qt.AlignVCenter + + property alias font: styleitem.font + + property color foregroundColor: SystemPaletteSingleton.text(control.enabled) + property color backgroundColor: SystemPaletteSingleton.base(control.enabled) + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) + + property int topPadding: edit.anchors.topMargin + property int leftPadding: 3 + edit.anchors.leftMargin + property int rightPadding: 3 + edit.anchors.rightMargin + property int bottomPadding: edit.anchors.bottomMargin + + width: 100 + height: styleitem.implicitHeight + + implicitWidth: 2 + styleitem.implicitWidth + implicitHeight: styleitem.implicitHeight + baselineOffset: styleitem.baselineOffset + + Item { + id: edit + anchors.fill: parent + FocusFrame { + anchors.fill: parent + focusMargin:-6 + visible: spinbox.activeFocus && styleitem.styleHint("focuswidget") + } + } + + function updateRect() { + style.upRect = styleitem.subControlRect("up"); + style.downRect = styleitem.subControlRect("down"); + var inputRect = styleitem.subControlRect("edit"); + edit.anchors.topMargin = inputRect.y + edit.anchors.leftMargin = inputRect.x + edit.anchors.rightMargin = style.width - inputRect.width - edit.anchors.leftMargin + edit.anchors.bottomMargin = style.height - inputRect.height - edit.anchors.topMargin + } + + Component.onCompleted: updateRect() + onWidthChanged: updateRect() + onHeightChanged: updateRect() + + StyleItem { + id: styleitem + elementType: "spinbox" + anchors.fill: parent + sunken: (styleData.downEnabled && styleData.downPressed) || (styleData.upEnabled && styleData.upPressed) + hover: control.hovered + hints: control.styleHints + hasFocus: control.activeFocus + enabled: control.enabled + value: (styleData.upPressed ? 1 : 0) | + (styleData.downPressed ? 1<<1 : 0) | + (styleData.upEnabled ? (1<<2) : 0) | + (styleData.downEnabled ? (1<<3) : 0) + contentWidth: styleData.contentWidth + contentHeight: styleData.contentHeight + textureHeight: implicitHeight + border {top: 6 ; bottom: 6} + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qmlc new file mode 100644 index 00000000..5168139f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml new file mode 100644 index 00000000..744cff35 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype StatusBarStyle + \internal + \inqmlmodule QtQuick.Controls.Styles +*/ +Style { + + padding.left: 4 + padding.right: 4 + padding.top: 3 + padding.bottom: 2 + + property Component panel: StyleItem { + implicitHeight: 16 + implicitWidth: 200 + anchors.fill: parent + elementType: "statusbar" + textureWidth: 64 + border {left: 16 ; right: 16} + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qmlc new file mode 100644 index 00000000..fc7ebc94 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml new file mode 100644 index 00000000..719b6331 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.1 + +SwitchStyle { +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SwitchStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SwitchStyle.qmlc new file mode 100644 index 00000000..6cb34cfc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SwitchStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml new file mode 100644 index 00000000..c571e220 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml @@ -0,0 +1,116 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.1 +Style { + id: root + + property bool tabsMovable: false + property int tabsAlignment: __barstyle.styleHint("tabbaralignment") === "center" ? Qt.AlignHCenter : Qt.AlignLeft; + property int tabOverlap: __barstyle.pixelMetric("taboverlap"); + property int frameOverlap: __barstyle.pixelMetric("tabbaseoverlap"); + + property StyleItem __barstyle: StyleItem { + elementType: "tab" + properties: { "tabposition" : (control.tabPosition === Qt.TopEdge ? "Top" : "Bottom") } + visible: false + } + + property Component frame: StyleItem { + id: styleitem + anchors.fill: parent + anchors.topMargin: 1//stack.baseOverlap + z: style == "oxygen" ? 1 : 0 + elementType: "tabframe" + value: tabbarItem && tabsVisible && tabbarItem.tab(currentIndex) ? tabbarItem.tab(currentIndex).x : 0 + minimum: tabbarItem && tabsVisible && tabbarItem.tab(currentIndex) ? tabbarItem.tab(currentIndex).width : 0 + maximum: tabbarItem && tabsVisible ? tabbarItem.width : width + properties: { "selectedTabRect" : tabbarItem.__selectedTabRect, "orientation" : control.tabPosition } + hints: control.styleHints + Component.onCompleted: { + stack.frameWidth = styleitem.pixelMetric("defaultframewidth"); + stack.style = style; + } + border{ + top: 16 + bottom: 16 + } + textureHeight: 64 + } + + property Component tab: Item { + id: item + property string tabpos: control.count === 1 ? "only" : index === 0 ? "beginning" : index === control.count - 1 ? "end" : "middle" + property string selectedpos: styleData.nextSelected ? "next" : styleData.previousSelected ? "previous" : "" + property string orientation: control.tabPosition === Qt.TopEdge ? "Top" : "Bottom" + property int tabHSpace: __barstyle.pixelMetric("tabhspace"); + property int tabVSpace: __barstyle.pixelMetric("tabvspace"); + property int totalOverlap: tabOverlap * (control.count - 1) + property real maxTabWidth: control.count > 0 ? (control.width + totalOverlap) / control.count : 0 + implicitWidth: Math.min(maxTabWidth, Math.max(50, styleitem.textWidth(styleData.title)) + tabHSpace + 2) + implicitHeight: Math.max(styleitem.font.pixelSize + tabVSpace + 6, 0) + + StyleItem { + id: styleitem + + elementType: "tab" + paintMargins: style === "mac" ? 0 : 2 + + anchors.fill: parent + anchors.topMargin: style === "mac" ? 2 : 0 + anchors.rightMargin: -paintMargins + anchors.bottomMargin: -1 + anchors.leftMargin: -paintMargins + (style === "mac" && selected ? -1 : 0) + properties: { "hasFrame" : true, "orientation": orientation, "tabpos": tabpos, "selectedpos": selectedpos } + hints: control.styleHints + + enabled: styleData.enabled + selected: styleData.selected + text: elidedText(styleData.title, tabbarItem.elide, item.width - item.tabHSpace) + hover: styleData.hovered + hasFocus: tabbarItem.activeFocus && selected + } + } + + property Component leftCorner: null + property Component rightCorner: null +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TabViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TabViewStyle.qmlc new file mode 100644 index 00000000..fd82b889 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TabViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml new file mode 100644 index 00000000..6c008b30 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml @@ -0,0 +1,116 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import "." + +ScrollViewStyle { + id: root + + readonly property BasicTableView control: __control + property int __indentation: 8 + property bool activateItemOnSingleClick: __styleitem.styleHint("activateItemOnSingleClick") + property color textColor: __styleitem.textColor + property color backgroundColor: SystemPaletteSingleton.base(control.enabled) + property color highlightedTextColor: __styleitem.highlightedTextColor + + property StyleItem __styleitem: StyleItem{ + property color textColor: styleHint("textColor") + property color highlightedTextColor: styleHint("highlightedTextColor") + elementType: "item" + visible: false + active: control.activeFocus + onActiveChanged: { + highlightedTextColor = styleHint("highlightedTextColor") + textColor = styleHint("textColor") + } + } + + property Component headerDelegate: StyleItem { + elementType: "header" + activeControl: itemSort + raised: true + sunken: styleData.pressed + text: styleData.value + hover: styleData.containsMouse + hints: control.styleHints + properties: {"headerpos": headerPosition, "textalignment": styleData.textAlignment} + property string itemSort: (control.sortIndicatorVisible && styleData.column === control.sortIndicatorColumn) ? (control.sortIndicatorOrder == Qt.AscendingOrder ? "up" : "down") : ""; + property string headerPosition: !styleData.resizable && control.columnCount === 1 ? "only" : + !styleData.resizable && styleData.column === control.columnCount-1 ? "end" : + styleData.column === 0 ? "beginning" : "" + } + + property Component rowDelegate: BorderImage { + visible: styleData.selected || styleData.alternate + source: "image://__tablerow/" + (styleData.alternate ? "alternate_" : "") + + (styleData.selected ? "selected_" : "") + + (control.activeFocus ? "active" : "") + height: Math.max(16, RowItemSingleton.implicitHeight) + border.left: 4 ; border.right: 4 + } + + property Component itemDelegate: Item { + height: Math.max(16, label.implicitHeight) + property int implicitWidth: label.implicitWidth + 16 + + Text { + id: label + objectName: "label" + width: parent.width + font: __styleitem.font + anchors.left: parent.left + anchors.right: parent.right + anchors.leftMargin: styleData.hasOwnProperty("depth") && styleData.column === 0 ? 0 : + horizontalAlignment === Text.AlignRight ? 1 : 8 + anchors.rightMargin: (styleData.hasOwnProperty("depth") && styleData.column === 0) + || horizontalAlignment !== Text.AlignRight ? 1 : 8 + horizontalAlignment: styleData.textAlignment + anchors.verticalCenter: parent.verticalCenter + elide: styleData.elideMode + text: styleData.value !== undefined ? styleData.value : "" + color: styleData.textColor + renderType: Text.NativeRendering + } + } + + property Component __branchDelegate: null +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qmlc new file mode 100644 index 00000000..ef696ee9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml new file mode 100644 index 00000000..8a39f8ab --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml @@ -0,0 +1,59 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +ScrollViewStyle { + property font font: __styleitem.font + property color textColor: SystemPaletteSingleton.text(control.enabled) + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) + property color backgroundColor: control.backgroundVisible ? SystemPaletteSingleton.base(control.enabled) : "transparent" + + property StyleItem __styleitem: StyleItem{ + elementType: "edit" + visible: false + active: control.activeFocus + } + + property int renderType: Text.NativeRendering + property real textMargin: 4 +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qmlc new file mode 100644 index 00000000..9d9ae51e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml new file mode 100644 index 00000000..fd58d344 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + property int renderType: Text.NativeRendering + + property Component panel: StyleItem { + id: textfieldstyle + elementType: "edit" + anchors.fill: parent + + sunken: true + hasFocus: control.activeFocus + hover: hovered + hints: control.styleHints + + property color textColor: SystemPaletteSingleton.text(control.enabled) + property color placeholderTextColor: "darkGray" + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) + + + property bool rounded: !!hints["rounded"] + property int topMargin: style === "mac" ? 3 : 2 + property int leftMargin: rounded ? 12 : 4 + property int rightMargin: leftMargin + property int bottomMargin: 2 + + contentWidth: 100 + // Form QLineEdit::sizeHint + contentHeight: Math.max(control.__contentHeight, 16) + + FocusFrame { + anchors.fill: parent + visible: textfield.activeFocus && textfieldstyle.styleHint("focuswidget") && !rounded + } + textureHeight: implicitHeight + textureWidth: 32 + border {top: 8 ; bottom: 8 ; left: 8 ; right: 8} + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qmlc new file mode 100644 index 00000000..798a64c7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml new file mode 100644 index 00000000..fe1840ab --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml @@ -0,0 +1,65 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype StatusBarStyle + \internal + \inqmlmodule QtQuick.Controls.Styles +*/ +Style { + + padding.left: 6 + padding.right: 6 + padding.top: 1 + padding.bottom: style.style === "mac" ? 1 : style.style === "fusion" ? 3 : 2 + + StyleItem { id: style ; visible: false} + + property Component panel: StyleItem { + id: toolbar + anchors.fill: parent + elementType: "toolbar" + textureWidth: 64 + border {left: 16 ; right: 16} + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qmlc new file mode 100644 index 00000000..904f9fe6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml new file mode 100644 index 00000000..a4e15465 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +Style { + property Component panel: StyleItem { + id: styleitem + + anchors.fill: parent + elementType: "toolbutton" + on: control.checkable && control.checked + sunken: control.pressed + raised: !(control.checkable && control.checked) && control.hovered + hover: control.hovered + hasFocus: control.activeFocus + hints: control.styleHints + text: control.text + + properties: { + "icon": control.__iconAction.__icon, + "position": control.__position, + "menu" : control.menu !== null + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qmlc new file mode 100644 index 00000000..81644110 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml new file mode 100644 index 00000000..3ec6073a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Private 1.0 +import "." as Desktop + +Desktop.TableViewStyle { + id: root + + __indentation: 12 + + __branchDelegate: StyleItem { + id: si + elementType: "itembranchindicator" + properties: { + "hasChildren": styleData.hasChildren, + "hasSibling": styleData.hasSibling && !styleData.isExpanded + } + on: styleData.isExpanded + selected: styleData.selected + hasFocus: __styleitem.active + + Component.onCompleted: { + root.__indentation = si.pixelMetric("treeviewindentation") + implicitWidth = root.__indentation + implicitHeight = implicitWidth + var rect = si.subControlRect("dummy"); + width = rect.width + height = rect.height + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qmlc new file mode 100644 index 00000000..ca18c852 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/qmldir new file mode 100644 index 00000000..1b691871 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/qmldir @@ -0,0 +1,2 @@ +singleton RowItemSingleton 1.0 RowItemSingleton.qml +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/plugins.qmltypes new file mode 100644 index 00000000..e69de29b diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/qmldir new file mode 100644 index 00000000..2fe49220 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/qmldir @@ -0,0 +1,4 @@ +module QtQuick.Controls.Styles.Flat +plugin qtquickextrasflatplugin +classname QtQuickExtrasStylesPlugin +depends QtQml 2.14 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll new file mode 100644 index 00000000..347bc6fd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/qmldir new file mode 100644 index 00000000..4b2f9844 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Styles/qmldir @@ -0,0 +1,38 @@ +module QtQuick.Controls.Styles +ApplicationWindowStyle 1.3 Base/ApplicationWindowStyle.qml +ButtonStyle 1.0 Base/ButtonStyle.qml +BusyIndicatorStyle 1.1 Base/BusyIndicatorStyle.qml +CalendarStyle 1.1 Base/CalendarStyle.qml +CheckBoxStyle 1.0 Base/CheckBoxStyle.qml +ComboBoxStyle 1.0 Base/ComboBoxStyle.qml +MenuStyle 1.2 Base/MenuStyle.qml +MenuBarStyle 1.2 Base/MenuBarStyle.qml +ProgressBarStyle 1.0 Base/ProgressBarStyle.qml +RadioButtonStyle 1.0 Base/RadioButtonStyle.qml +ScrollViewStyle 1.0 Base/ScrollViewStyle.qml +SliderStyle 1.0 Base/SliderStyle.qml +SpinBoxStyle 1.1 Base/SpinBoxStyle.qml +SwitchStyle 1.1 Base/SwitchStyle.qml +TabViewStyle 1.0 Base/TabViewStyle.qml +TableViewStyle 1.0 Base/TableViewStyle.qml +TreeViewStyle 1.4 Base/TreeViewStyle.qml +TextAreaStyle 1.1 Base/TextAreaStyle.qml +TextFieldStyle 1.0 Base/TextFieldStyle.qml +ToolBarStyle 1.0 Base/ToolBarStyle.qml +StatusBarStyle 1.0 Base/StatusBarStyle.qml + +CircularGaugeStyle 1.0 Base/CircularGaugeStyle.qml +CircularButtonStyle 1.0 Base/CircularButtonStyle.qml +CircularTickmarkLabelStyle 1.0 Base/CircularTickmarkLabelStyle.qml +CommonStyleHelper 1.0 Base/CommonStyleHelper.qml +DelayButtonStyle 1.0 Base/DelayButtonStyle.qml +DialStyle 1.1 Base/DialStyle.qml +GaugeStyle 1.0 Base/GaugeStyle.qml +HandleStyle 1.0 Base/HandleStyle.qml +HandleStyleHelper 1.0 Base/HandleStyleHelper.qml +PieMenuStyle 1.3 Base/PieMenuStyle.qml +StatusIndicatorStyle 1.1 Base/StatusIndicatorStyle.qml +ToggleButtonStyle 1.0 Base/ToggleButtonStyle.qml +TumblerStyle 1.2 Base/TumblerStyle.qml + +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Switch.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Switch.qml new file mode 100644 index 00000000..b33f7d00 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Switch.qml @@ -0,0 +1,166 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype Switch + \inqmlmodule QtQuick.Controls + \since 5.2 + \ingroup controls + \brief A switch. + + \image switch.png + \caption On and Off states of a Switch. + + A Switch is a toggle button that can be switched on (checked) or off + (unchecked). Switches are typically used to represent features in an + application that can be enabled or disabled without affecting others. + + On mobile platforms, switches are commonly used to enable or disable + features. + + \qml + Column { + Switch { checked: true } + Switch { checked: false } + } + \endqml + + You can create a custom appearance for a Switch by + assigning a \l {SwitchStyle}. +*/ + +Control { + id: root + + /*! + This property is \c true if the control is checked. + The default value is \c false. + */ + property bool checked: false + + /*! + \qmlproperty bool Switch::pressed + \since QtQuick.Controls 1.3 + + This property is \c true when the control is pressed. + */ + readonly property alias pressed: internal.pressed + + /*! + This property is \c true if the control takes the focus when it is + pressed; \l{QQuickItem::forceActiveFocus()}{forceActiveFocus()} will be + called on the control. + */ + property bool activeFocusOnPress: false + + /*! + This property stores the ExclusiveGroup that the control belongs to. + */ + property ExclusiveGroup exclusiveGroup: null + + /*! + \since QtQuick.Controls 1.3 + + This signal is emitted when the control is clicked. + */ + signal clicked + + Keys.onPressed: { + if (event.key === Qt.Key_Space && !event.isAutoRepeat) + checked = !checked; + } + + /*! \internal */ + onExclusiveGroupChanged: { + if (exclusiveGroup) + exclusiveGroup.bindCheckable(root) + } + + MouseArea { + id: internal + + property Item handle: __panel.__handle + property int min: __panel.min + property int max: __panel.max + focus: true + anchors.fill: parent + drag.threshold: 0 + drag.target: handle + drag.axis: Drag.XAxis + drag.minimumX: min + drag.maximumX: max + + onPressed: { + if (activeFocusOnPress) + root.forceActiveFocus() + } + + onReleased: { + if (drag.active) { + checked = (handle.x < max/2) ? false : true; + internal.handle.x = checked ? internal.max : internal.min + } else { + checked = (handle.x === max) ? false : true + } + } + + onClicked: root.clicked() + } + + onCheckedChanged: { + if (internal.handle) + internal.handle.x = checked ? internal.max : internal.min + } + + activeFocusOnTab: true + Accessible.role: Accessible.CheckBox + Accessible.name: "switch" + + /*! + The style that should be applied to the switch. Custom style + components can be created with: + + \codeline Qt.createComponent("path/to/style.qml", switchId); + */ + style: Settings.styleComponent(Settings.style, "SwitchStyle.qml", root) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Switch.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Switch.qmlc new file mode 100644 index 00000000..feb134de Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Switch.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Tab.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Tab.qml new file mode 100644 index 00000000..657d389c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Tab.qml @@ -0,0 +1,86 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +/*! + \qmltype Tab + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup viewaddons + \ingroup controls + \brief Tab represents the content of a tab in a TabView. + + A Tab item inherits from Loader and provides a similar + API. + + Tabs are lazily loaded; only tabs that have been made current (for example, + by clicking on them) will have valid content. You can force loading of tabs + by setting the active property to \c true: + + \code + Tab { + active: true + } + \endcode + + \sa TabView +*/ + +Loader { + id: tab + anchors.fill: parent + + /*! This property holds the title of the tab. */ + property string title + + /*! \internal */ + property bool __inserted: false + + Accessible.role: Accessible.LayeredPane + active: false + visible: false + + activeFocusOnTab: false + + onVisibleChanged: if (visible) active = true + + /*! \internal */ + default property alias component: tab.sourceComponent +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Tab.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Tab.qmlc new file mode 100644 index 00000000..f820b75e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/Tab.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TabView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TabView.qml new file mode 100644 index 00000000..2579636f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TabView.qml @@ -0,0 +1,329 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype TabView + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup views + \ingroup controls + \brief A control that allows the user to select one of multiple stacked items. + + \image tabview.png + + TabView provides tab-based navigation model for your application. + For example, the following snippet uses tabs to present rectangles of + different color on each tab page: + + \qml + TabView { + Tab { + title: "Red" + Rectangle { color: "red" } + } + Tab { + title: "Blue" + Rectangle { color: "blue" } + } + Tab { + title: "Green" + Rectangle { color: "green" } + } + } + \endqml + + \note You can create a custom appearance for a TabView by + assigning a \l {TabViewStyle}. + + \l Tab represents the content of a tab in a TabView. +*/ + +FocusScope { + id: root + + implicitWidth: 240 + implicitHeight: 150 + + /*! The current tab index */ + property int currentIndex: 0 + + /*! The current tab count */ + readonly property int count: __tabs.count + + /*! The visibility of the tab frame around contents */ + property bool frameVisible: true + + /*! The visibility of the tab bar */ + property bool tabsVisible: true + + /*! + \qmlproperty enumeration TabView::tabPosition + + \list + \li Qt.TopEdge (default) + \li Qt.BottomEdge + \endlist + */ + property int tabPosition: Qt.TopEdge + + /*! + \qmlproperty Item TabView::contentItem + \since QtQuick.Controls 1.3 + + This property holds the content item of the tab view. + + Tabs declared as children of a TabView are automatically parented to the TabView's contentItem. + */ + readonly property alias contentItem: stack + + /*! \internal */ + default property alias data: stack.data + + /*! + \qmlmethod Tab TabView::addTab(string title, Component component) + + Adds a new tab with the given \a title and an optional \a component. + + Returns the newly added tab. + */ + function addTab(title, component) { + return insertTab(__tabs.count, title, component) + } + + /*! + \qmlmethod Tab TabView::insertTab(int index, string title, Component component) + + Inserts a new tab at \a index, with the given \a title and + an optional \a component. + + Returns the newly added tab. + */ + function insertTab(index, title, component) { + var tab = tabcomp.createObject() + tab.sourceComponent = component + tab.title = title + // insert at appropriate index first, then set the parent to + // avoid onChildrenChanged appending it to the end of the list + __tabs.insert(index, {tab: tab}) + tab.__inserted = true + tab.parent = stack + __didInsertIndex(index) + __setOpacities() + return tab + } + + /*! \qmlmethod void TabView::removeTab(int index) + Removes and destroys a tab at the given \a index. */ + function removeTab(index) { + var tab = __tabs.get(index).tab + __willRemoveIndex(index) + __tabs.remove(index, 1) + tab.destroy() + __setOpacities() + } + + /*! \qmlmethod void TabView::moveTab(int from, int to) + Moves a tab \a from index \a to another. */ + function moveTab(from, to) { + __tabs.move(from, to, 1) + + if (currentIndex == from) { + currentIndex = to + } else { + var start = Math.min(from, to) + var end = Math.max(from, to) + if (currentIndex >= start && currentIndex <= end) { + if (from < to) + --currentIndex + else + ++currentIndex + } + } + } + + /*! \qmlmethod Tab TabView::getTab(int index) + Returns the \l Tab item at \a index. */ + function getTab(index) { + var data = __tabs.get(index) + return data && data.tab + } + + /*! \internal */ + property ListModel __tabs: ListModel { } + + /*! \internal */ + property Component style: Settings.styleComponent(Settings.style, "TabViewStyle.qml", root) + + /*! \internal */ + property var __styleItem: loader.item + + onCurrentIndexChanged: __setOpacities() + + /*! \internal */ + function __willRemoveIndex(index) { + // Make sure currentIndex will points to the same tab after the removal. + // Also activate the next index if the current index is being removed, + // except when it's both the current and last index. + if (count > 1 && (currentIndex > index || currentIndex == count -1)) + --currentIndex + } + function __didInsertIndex(index) { + // Make sure currentIndex points to the same tab as before the insertion. + if (count > 1 && currentIndex >= index) + currentIndex++ + } + + function __setOpacities() { + for (var i = 0; i < __tabs.count; ++i) { + var child = __tabs.get(i).tab + child.visible = (i == currentIndex ? true : false) + } + } + + activeFocusOnTab: false + + Component { + id: tabcomp + Tab {} + } + + TabBar { + id: tabbarItem + objectName: "tabbar" + tabView: root + style: loader.item + anchors.top: parent.top + anchors.left: root.left + anchors.right: root.right + } + + Loader { + id: loader + z: tabbarItem.z - 1 + sourceComponent: style + property var __control: root + } + + Loader { + id: frameLoader + z: tabbarItem.z - 1 + + anchors.fill: parent + anchors.topMargin: tabPosition === Qt.TopEdge && tabbarItem && tabsVisible ? Math.max(0, tabbarItem.height - baseOverlap) : 0 + anchors.bottomMargin: tabPosition === Qt.BottomEdge && tabbarItem && tabsVisible ? Math.max(0, tabbarItem.height -baseOverlap) : 0 + sourceComponent: frameVisible && loader.item ? loader.item.frame : null + + property int baseOverlap: __styleItem ? __styleItem.frameOverlap : 0 + + Item { + id: stack + + anchors.fill: parent + anchors.margins: (frameVisible ? frameWidth : 0) + anchors.topMargin: anchors.margins + (style =="mac" ? 6 : 0) + anchors.bottomMargin: anchors.margins + + property int frameWidth + property string style + property bool completed: false + + Component.onCompleted: { + addTabs(stack.children) + completed = true + } + + onChildrenChanged: { + if (completed) + stack.addTabs(stack.children) + } + + function addTabs(tabs) { + var tabAdded = false + for (var i = 0 ; i < tabs.length ; ++i) { + var tab = tabs[i] + if (!tab.__inserted && tab.Accessible.role === Accessible.LayeredPane) { + tab.__inserted = true + // reparent tabs created dynamically by createObject(tabView) + tab.parent = stack + // a dynamically added tab should also get automatically removed when destructed + if (completed) + tab.Component.onDestruction.connect(stack.onDynamicTabDestroyed.bind(tab)) + __tabs.append({tab: tab}) + tabAdded = true + } + } + if (tabAdded) + __setOpacities() + } + + function onDynamicTabDestroyed() { + for (var i = 0; i < __tabs.count; ++i) { + if (__tabs.get(i).tab === this) { + __willRemoveIndex(i) + __tabs.remove(i, 1) + __setOpacities() + break + } + } + } + } + onLoaded: { item.z = -1 } + } + + onChildrenChanged: stack.addTabs(root.children) + + states: [ + State { + name: "Bottom" + when: tabPosition === Qt.BottomEdge && tabbarItem != undefined + PropertyChanges { + target: tabbarItem + anchors.topMargin: -frameLoader.baseOverlap + } + AnchorChanges { + target: tabbarItem + anchors.top: frameLoader.bottom + } + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TabView.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TabView.qmlc new file mode 100644 index 00000000..d74d7b65 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TabView.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableView.qml new file mode 100644 index 00000000..1dbdafd7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableView.qml @@ -0,0 +1,319 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.3 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.1 +import QtQuick.Window 2.1 + +BasicTableView { + id: root + + property var model + + readonly property int rowCount: __listView.count + property alias currentRow: root.__currentRow + + signal activated(int row) + signal clicked(int row) + signal doubleClicked(int row) + signal pressAndHold(int row) + + function positionViewAtRow(row, mode) { + __listView.positionViewAtIndex(row, mode) + } + + function rowAt(x, y) { + var obj = root.mapToItem(__listView.contentItem, x, y) + return __listView.indexAt(obj.x, obj.y) + } + + readonly property alias selection: selectionObject + + style: Settings.styleComponent(Settings.style, "TableViewStyle.qml", root) + + Accessible.role: Accessible.Table + + // Internal stuff. Do not look + + onModelChanged: selection.clear() + + __viewTypeName: "TableView" + __model: model + + __itemDelegateLoader: TableViewItemDelegateLoader { + __style: root.__style + __itemDelegate: root.itemDelegate + __mouseArea: mousearea + } + + __mouseArea: MouseArea { + id: mousearea + + parent: __listView + width: __listView.width + height: __listView.height + z: -1 + propagateComposedEvents: true + focus: true + + property bool autoincrement: false + property bool autodecrement: false + property int previousRow: 0 + property int clickedRow: -1 + property int dragRow: -1 + property int firstKeyRow: -1 + property int pressedRow: -1 + property int pressedColumn: -1 + + TableViewSelection { + id: selectionObject + } + + function selected(rowIndex) { + if (dragRow > -1 && (rowIndex >= clickedRow && rowIndex <= dragRow + || rowIndex <= clickedRow && rowIndex >= dragRow)) + return selection.contains(clickedRow) + + return selection.count && selection.contains(rowIndex) + } + + onReleased: { + pressedRow = -1 + pressedColumn = -1 + autoincrement = false + autodecrement = false + var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) + if (clickIndex > -1) { + if (Settings.hasTouchScreen) { + __listView.currentIndex = clickIndex + mouseSelect(clickIndex, mouse.modifiers) + } + previousRow = clickIndex + } + + if (mousearea.dragRow >= 0) { + selection.__select(selection.contains(mousearea.clickedRow), mousearea.clickedRow, mousearea.dragRow) + mousearea.dragRow = -1 + } + } + + function decrementCurrentIndex() { + __listView.decrementCurrentIndexBlocking(); + + var newIndex = __listView.indexAt(0, __listView.contentY) + if (newIndex !== -1) { + if (selectionMode > SelectionMode.SingleSelection) + mousearea.dragRow = newIndex + else if (selectionMode === SelectionMode.SingleSelection) + selection.__selectOne(newIndex) + } + } + + function incrementCurrentIndex() { + __listView.incrementCurrentIndexBlocking(); + + var newIndex = Math.max(0, __listView.indexAt(0, __listView.height + __listView.contentY)) + if (newIndex !== -1) { + if (selectionMode > SelectionMode.SingleSelection) + mousearea.dragRow = newIndex + else if (selectionMode === SelectionMode.SingleSelection) + selection.__selectOne(newIndex) + } + } + + // Handle vertical scrolling whem dragging mouse outside boundraries + Timer { + running: mousearea.autoincrement && __verticalScrollBar.visible + repeat: true + interval: 20 + onTriggered: mousearea.incrementCurrentIndex() + } + + Timer { + running: mousearea.autodecrement && __verticalScrollBar.visible + repeat: true + interval: 20 + onTriggered: mousearea.decrementCurrentIndex() + } + + onPositionChanged: { + if (mouseY > __listView.height && pressed) { + if (autoincrement) return; + autodecrement = false; + autoincrement = true; + } else if (mouseY < 0 && pressed) { + if (autodecrement) return; + autoincrement = false; + autodecrement = true; + } else { + autoincrement = false; + autodecrement = false; + } + + if (pressed && containsMouse) { + pressedRow = Math.max(0, __listView.indexAt(0, mouseY + __listView.contentY)) + pressedColumn = __listView.columnAt(mouseX) + if (!Settings.hasTouchScreen) { + if (pressedRow >= 0 && pressedRow !== currentRow) { + __listView.currentIndex = pressedRow; + if (selectionMode === SelectionMode.SingleSelection) { + selection.__selectOne(pressedRow) + } else if (selectionMode > 1) { + dragRow = pressedRow + } + } + } + } + } + + onClicked: { + var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) + if (clickIndex > -1) { + if (root.__activateItemOnSingleClick) + root.activated(clickIndex) + root.clicked(clickIndex) + } + } + + onPressed: { + pressedRow = __listView.indexAt(0, mouseY + __listView.contentY) + pressedColumn = __listView.columnAt(mouseX) + __listView.forceActiveFocus() + if (pressedRow > -1 && !Settings.hasTouchScreen) { + __listView.currentIndex = pressedRow + mouseSelect(pressedRow, mouse.modifiers) + mousearea.clickedRow = pressedRow + } + } + + onExited: { + mousearea.pressedRow = -1 + mousearea.pressedColumn = -1 + } + + onCanceled: { + mousearea.pressedRow = -1 + mousearea.pressedColumn = -1 + } + + function mouseSelect(index, modifiers) { + if (selectionMode) { + if (modifiers & Qt.ShiftModifier && (selectionMode === SelectionMode.ExtendedSelection)) { + selection.select(previousRow, index) + } else if (selectionMode === SelectionMode.MultiSelection || + (selectionMode === SelectionMode.ExtendedSelection && modifiers & Qt.ControlModifier)) { + selection.__select(!selection.contains(index) , index) + } else { + selection.__selectOne(index) + } + } + } + + onDoubleClicked: { + var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) + if (clickIndex > -1) { + if (!root.__activateItemOnSingleClick) + root.activated(clickIndex) + root.doubleClicked(clickIndex) + } + } + + onPressAndHold: { + var pressIndex = __listView.indexAt(0, mouseY + __listView.contentY) + if (pressIndex > -1) + root.pressAndHold(pressIndex) + } + + // Note: with boolean preventStealing we are keeping the flickable from + // eating our mouse press events + preventStealing: !Settings.hasTouchScreen + + function keySelect(shiftPressed, row) { + if (row < 0 || row > rowCount - 1) + return + if (shiftPressed && (selectionMode >= SelectionMode.ExtendedSelection)) { + selection.__ranges = new Array() + selection.select(mousearea.firstKeyRow, row) + } else { + selection.__selectOne(row) + } + } + + Keys.forwardTo: [root] + + Keys.onUpPressed: { + event.accepted = __listView.decrementCurrentIndexBlocking() + if (selectionMode) + keySelect(event.modifiers & Qt.ShiftModifier, currentRow) + } + + Keys.onDownPressed: { + event.accepted = __listView.incrementCurrentIndexBlocking() + if (selectionMode) + keySelect(event.modifiers & Qt.ShiftModifier, currentRow) + } + + Keys.onPressed: { + __listView.scrollIfNeeded(event.key) + + if (event.key === Qt.Key_Shift) { + firstKeyRow = currentRow + } + + if (event.key === Qt.Key_A && event.modifiers & Qt.ControlModifier) { + if (selectionMode > 1) + selection.selectAll() + } + } + + Keys.onReleased: { + if (event.key === Qt.Key_Shift) + firstKeyRow = -1 + } + + Keys.onReturnPressed: { + if (currentRow > -1) + root.activated(currentRow); + else + event.accepted = false + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableView.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableView.qmlc new file mode 100644 index 00000000..2d88a64e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableView.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableViewColumn.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableViewColumn.qml new file mode 100644 index 00000000..9fa05b3d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableViewColumn.qml @@ -0,0 +1,173 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +/*! + \qmltype TableViewColumn + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup viewitems + \ingroup controls + \brief Used to define columns in a \l TableView or in a \l TreeView. + + \image tableview.png + + TableViewColumn represents a column within a TableView or a TreeView. It provides + properties to decide how the data in that column is presented. + + \qml + TableView { + TableViewColumn { role: "title"; title: "Title"; width: 100 } + TableViewColumn { role: "author"; title: "Author"; width: 200 } + model: libraryModel + } + \endqml + + \sa TableView, TreeView +*/ + +QtObject { + + /*! \internal */ + property Item __view: null + + /*! \internal */ + property int __index: -1 + + /*! The title text of the column. */ + property string title + + /*! The model \c role of the column. */ + property string role + + /*! The current width of the column. + The default value depends on platform. If only one + column is defined, the width expands to the viewport. + */ + property int width: (__view && __view.columnCount === 1) ? __view.viewport.width : 160 + + /*! The visible status of the column. */ + property bool visible: true + + /*! Determines if the column should be resizable. + \since QtQuick.Controls 1.1 */ + property bool resizable: true + + /*! Determines if the column should be movable. + The default value is \c true. + \note A non-movable column may get indirectly moved if adjacent columns are movable. + \since QtQuick.Controls 1.1 */ + property bool movable: true + + /*! \qmlproperty enumeration TableViewColumn::elideMode + The text elide mode of the column. + Allowed values are: + \list + \li Text.ElideNone + \li Text.ElideLeft + \li Text.ElideMiddle + \li Text.ElideRight - the default + \endlist + \sa {Text::elide}{elide} */ + property int elideMode: Text.ElideRight + + /*! \qmlproperty enumeration TableViewColumn::horizontalAlignment + The horizontal text alignment of the column. + Allowed values are: + \list + \li Text.AlignLeft - the default + \li Text.AlignRight + \li Text.AlignHCenter + \li Text.AlignJustify + \endlist + \sa {Text::horizontalAlignment}{horizontalAlignment} */ + property int horizontalAlignment: Text.AlignLeft + + /*! The delegate of the column. This can be used to set the itemDelagate + of a \l TableView or \l TreeView for a specific column. + + In the delegate you have access to the following special properties: + \list + \li styleData.selected - if the item is currently selected + \li styleData.value - the value or text for this item + \li styleData.textColor - the default text color for an item + \li styleData.row - the index of the row + \li styleData.column - the index of the column + \li styleData.elideMode - the elide mode of the column + \li styleData.textAlignment - the horizontal text alignment of the column + \endlist + */ + property Component delegate + + property int accessibleRole: Accessible.ColumnHeader + + /*! \qmlmethod void TableViewColumn::resizeToContents() + Resizes the column so that the implicitWidth of the contents on every row will fit. + \since QtQuick.Controls 1.2 */ + function resizeToContents() { + var minWidth = 0 + var listdata = __view.__listView.children[0] + for (var i = 0; __index === -1 && i < __view.__columns.length; ++i) { + if (__view.__columns[i] === this) + __index = i + } + // ### HACK We don't have direct access to the instantiated item, + // so we go spelunking. Each 'item' variable check is annotated + // with the expected object it should point to in BasicTableView. + for (var row = 0 ; row < listdata.children.length ; ++row) { + var item = listdata.children[row] ? listdata.children[row].rowItem : undefined + if (item) { // FocusScope { id: rowitem } + item = item.children[1] + if (item) { // Row { id: itemrow } + item = item.children[__index] + if (item) { // Repeater.delegate a.k.a. __view.__itemDelegateLoader + var indent = __view.__isTreeView && __index === 0 ? item.__itemIndentation : 0 + item = item.item + if (item && item.hasOwnProperty("implicitWidth")) { + minWidth = Math.max(minWidth, item.implicitWidth + indent) + } + } + } + } + } + if (minWidth) + width = minWidth + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableViewColumn.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableViewColumn.qmlc new file mode 100644 index 00000000..3f5bb3bf Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TableViewColumn.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextArea.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextArea.qml new file mode 100644 index 00000000..d289780e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextArea.qml @@ -0,0 +1,978 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +/*! + \qmltype TextArea + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief Displays multiple lines of editable formatted text. + + \image textarea.png + + It can display both plain and rich text. For example: + + \qml + TextArea { + width: 240 + text: + "Lorem ipsum dolor sit amet, consectetur adipisicing elit, " + + "sed do eiusmod tempor incididunt ut labore et dolore magna " + + "aliqua. Ut enim ad minim veniam, quis nostrud exercitation " + + "ullamco laboris nisi ut aliquip ex ea commodo cosnsequat. "; + } + \endqml + + Clipboard support is provided by the cut(), copy(), and paste() functions, and the selection can + be handled in a traditional "mouse" mechanism by setting selectByMouse, or handled completely + from QML by manipulating selectionStart and selectionEnd, or using selectAll() or selectWord(). + + You can translate between cursor positions (characters from the start of the document) and pixel + points using positionAt() and positionToRectangle(). + + You can create a custom appearance for a TextArea by + assigning a \l {TextAreaStyle}. + + \sa TextField, TextEdit +*/ + +ScrollView { + id: area + + /*! + \qmlproperty bool TextArea::activeFocusOnPress + + Whether the TextEdit should gain active focus on a mouse press. By default this is + set to true. + */ + property alias activeFocusOnPress: edit.activeFocusOnPress + + /*! + \qmlproperty url TextArea::baseUrl + + This property specifies a base URL which is used to resolve relative URLs + within the text. + + The default value is the url of the QML file instantiating the TextArea item. + */ + property alias baseUrl: edit.baseUrl + + /*! + \qmlproperty bool TextArea::canPaste + + Returns true if the TextArea is writable and the content of the clipboard is + suitable for pasting into the TextArea. + */ + readonly property alias canPaste: edit.canPaste + + /*! + \qmlproperty bool TextArea::canRedo + + Returns true if the TextArea is writable and there are \l {undo}{undone} + operations that can be redone. + */ + readonly property alias canRedo: edit.canRedo + + /*! + \qmlproperty bool TextArea::canUndo + + Returns true if the TextArea is writable and there are previous operations + that can be undone. + */ + readonly property alias canUndo: edit.canUndo + + /*! + \qmlproperty color TextArea::textColor + + The text color. + + \qml + TextArea { textColor: "orange" } + \endqml + */ + property alias textColor: edit.color + + /*! + \qmlproperty int TextArea::cursorPosition + The position of the cursor in the TextArea. + */ + property alias cursorPosition: edit.cursorPosition + + /*! + \qmlproperty rect TextArea::cursorRectangle + \since QtQuick.Controls 1.3 + + The rectangle where the text cursor is rendered within the text area. + */ + readonly property alias cursorRectangle: edit.cursorRectangle + + /*! \qmlproperty font TextArea::font + + The font of the TextArea. + */ + property alias font: edit.font + + /*! + \qmlproperty enumeration TextArea::horizontalAlignment + + Sets the alignment of the text within the TextArea item's width. + + By default, the horizontal text alignment follows the natural alignment of the text, + for example, text that is read from left to right will be aligned to the left. + + The valid values for \c horizontalAlignment are: + \list + \li TextEdit.AlignLeft (Default) + \li TextEdit.AlignRight + \li TextEdit.AlignHCenter + \endlist + + When using the attached property LayoutMirroring::enabled to mirror application + layouts, the horizontal alignment of text will also be mirrored. However, the property + \c horizontalAlignment will remain unchanged. To query the effective horizontal alignment + of TextArea, use the read-only property \c effectiveHorizontalAlignment. + */ + property alias horizontalAlignment: edit.horizontalAlignment + + /*! + \qmlproperty enumeration TextArea::effectiveHorizontalAlignment + + Gets the effective horizontal alignment of the text within the TextArea item's width. + + To set/get the default horizontal alignment of TextArea, use the property \c horizontalAlignment. + + */ + readonly property alias effectiveHorizontalAlignment: edit.effectiveHorizontalAlignment + + /*! + \qmlproperty enumeration TextArea::verticalAlignment + + Sets the alignment of the text within the TextArea item's height. + + The valid values for \c verticalAlignment are: + \list + \li TextEdit.AlignTop + \li TextEdit.AlignBottom + \li TextEdit.AlignVCenter (Default) + \endlist + */ + property alias verticalAlignment: edit.verticalAlignment + + /*! + \qmlproperty bool TextArea::inputMethodComposing + \since QtQuick.Controls 1.3 + + This property holds whether the TextArea has partial text input from an input method. + + While it is composing an input method may rely on mouse or key events from the TextArea + to edit or commit the partial text. This property can be used to determine when to disable + events handlers that may interfere with the correct operation of an input method. + */ + readonly property bool inputMethodComposing: !!edit.inputMethodComposing + + /*! + \qmlproperty enumeration TextArea::inputMethodHints + + Provides hints to the input method about the expected content of the text edit, and how it + should operate. + + The value is a bit-wise combination of flags or Qt.ImhNone if no hints are set. + + The default value is \c Qt.ImhNone. + + Flags that alter behavior are: + + \list + \li Qt.ImhHiddenText - Characters should be hidden, as is typically used when entering passwords. + \li Qt.ImhSensitiveData - Typed text should not be stored by the active input method + in any persistent storage like predictive user dictionary. + \li Qt.ImhNoAutoUppercase - The input method should not try to automatically switch to upper case + when a sentence ends. + \li Qt.ImhPreferNumbers - Numbers are preferred (but not required). + \li Qt.ImhPreferUppercase - Upper case letters are preferred (but not required). + \li Qt.ImhPreferLowercase - Lower case letters are preferred (but not required). + \li Qt.ImhNoPredictiveText - Do not use predictive text (i.e. dictionary lookup) while typing. + + \li Qt.ImhDate - The text editor functions as a date field. + \li Qt.ImhTime - The text editor functions as a time field. + \endlist + + Flags that restrict input (exclusive flags) are: + + \list + \li Qt.ImhDigitsOnly - Only digits are allowed. + \li Qt.ImhFormattedNumbersOnly - Only number input is allowed. This includes decimal point and minus sign. + \li Qt.ImhUppercaseOnly - Only upper case letter input is allowed. + \li Qt.ImhLowercaseOnly - Only lower case letter input is allowed. + \li Qt.ImhDialableCharactersOnly - Only characters suitable for phone dialing are allowed. + \li Qt.ImhEmailCharactersOnly - Only characters suitable for email addresses are allowed. + \li Qt.ImhUrlCharactersOnly - Only characters suitable for URLs are allowed. + \endlist + + Masks: + + \list + \li Qt.ImhExclusiveInputMask - This mask yields nonzero if any of the exclusive flags are used. + \endlist + */ + property alias inputMethodHints: edit.inputMethodHints + + /*! + \qmlproperty int TextArea::length + + Returns the total number of plain text characters in the TextArea item. + + As this number doesn't include any formatting markup, it may not be the same as the + length of the string returned by the \l text property. + + This property can be faster than querying the length the \l text property as it doesn't + require any copying or conversion of the TextArea's internal string data. + */ + readonly property alias length: edit.length + + /*! + \qmlproperty int TextArea::lineCount + + Returns the total number of lines in the TextArea item. + */ + readonly property alias lineCount: edit.lineCount + + /*! + \qmlproperty bool TextArea::readOnly + + Whether the user can interact with the TextArea item. + + The difference from a disabled text field is that it will appear + to be active, and text can be selected and copied. + + If this property is set to \c true, the text cannot be edited by user interaction. + + By default this property is \c false. + */ + property alias readOnly: edit.readOnly + Accessible.readOnly: readOnly + + /*! + \qmlproperty string TextArea::selectedText + + This read-only property provides the text currently selected in the + text edit. + */ + readonly property alias selectedText: edit.selectedText + + /*! + \qmlproperty int TextArea::selectionEnd + + The cursor position after the last character in the current selection. + + This property is read-only. To change the selection, use select(start,end), + selectAll(), or selectWord(). + + \sa selectionStart, cursorPosition, selectedText + */ + readonly property alias selectionEnd: edit.selectionEnd + + /*! + \qmlproperty int TextArea::selectionStart + + The cursor position before the first character in the current selection. + + This property is read-only. To change the selection, use select(start,end), + selectAll(), or selectWord(). + + \sa selectionEnd, cursorPosition, selectedText + */ + readonly property alias selectionStart: edit.selectionStart + + /*! + \qmlproperty bool TextArea::tabChangesFocus + + This property holds whether Tab changes focus, or is accepted as input. + + Defaults to \c false. + */ + property bool tabChangesFocus: false + + /*! + \qmlproperty string TextArea::text + + The text to display. If the text format is AutoText the text edit will + automatically determine whether the text should be treated as + rich text. This determination is made using Qt::mightBeRichText(). + */ + property alias text: edit.text + + /*! + \qmlproperty enumeration TextArea::textFormat + + The way the text property should be displayed. + + \list + \li TextEdit.AutoText + \li TextEdit.PlainText + \li TextEdit.RichText + \endlist + + The default is TextEdit.PlainText. If the text format is TextEdit.AutoText the text edit + will automatically determine whether the text should be treated as + rich text. This determination is made using Qt::mightBeRichText(). + */ + property alias textFormat: edit.textFormat + + /*! + \qmlproperty enumeration TextArea::wrapMode + + Set this property to wrap the text to the TextArea item's width. + + \list + \li TextEdit.NoWrap (default) - no wrapping will be performed. + \li TextEdit.WordWrap - wrapping is done on word boundaries only. + \li TextEdit.WrapAnywhere - wrapping is done at any point on a line, even if it occurs in the middle of a word. + \li TextEdit.Wrap - if possible, wrapping occurs at a word boundary; otherwise it will occur at the appropriate point on the line, even in the middle of a word. + \endlist + */ + property alias wrapMode: edit.wrapMode + + /*! + \qmlproperty bool TextArea::selectByMouse + + This property determines if the user can select the text with the + mouse. + + The default value is \c true. + */ + property bool selectByMouse: true + + /*! + \qmlproperty bool TextArea::selectByKeyboard + + This property determines if the user can select the text with the + keyboard. + + If set to \c true, the user can use the keyboard to select the text + even if the editor is read-only. If set to \c false, the user cannot + use the keyboard to select the text even if the editor is editable. + + The default value is \c true when the editor is editable, + and \c false when read-only. + + \sa readOnly + */ + property alias selectByKeyboard: edit.selectByKeyboard + + /*! + \qmlsignal TextArea::linkActivated(string link) + + This signal is emitted when the user clicks on a link embedded in the text. + The link must be in rich text or HTML format and the + \e link string provides access to the particular link. + + The corresponding handler is \c onLinkActivated. + */ + signal linkActivated(string link) + + /*! + \qmlsignal TextArea::linkHovered(string link) + \since QtQuick.Controls 1.1 + + This signal is emitted when the user hovers a link embedded in the text. + The link must be in rich text or HTML format and the + \e link string provides access to the particular link. + + \sa hoveredLink + + The corresponding handler is \c onLinkHovered. + */ + signal linkHovered(string link) + + /*! + \qmlsignal TextArea::editingFinished() + \since QtQuick.Controls 1.5 + + This signal is emitted when the text area loses focus. + + The corresponding handler is \c onEditingFinished. + */ + signal editingFinished() + + /*! + \qmlproperty string TextArea::hoveredLink + \since QtQuick.Controls 1.1 + + This property contains the link string when user hovers a link + embedded in the text. The link must be in rich text or HTML format + and the link string provides access to the particular link. + */ + readonly property alias hoveredLink: edit.hoveredLink + + /*! + \since QtQuick.Controls 1.3 + + This property contains the edit \l Menu for working + with text selection. Set it to \c null if no menu + is wanted. + + \sa Menu + */ + property Component menu: editMenu.defaultMenu + + /*! + \qmlmethod void TextArea::append(string text) + + Appends a string \a text as a new line to the end of the text area. + */ + function append (string) { + edit.append(string) + __verticalScrollBar.value = __verticalScrollBar.maximumValue + } + + /*! + \qmlmethod void TextArea::copy() + + Copies the currently selected text to the system clipboard. + */ + function copy() { + edit.copy(); + } + + /*! + \qmlmethod void TextArea::cut() + + Moves the currently selected text to the system clipboard. + */ + function cut() { + edit.cut(); + } + + /*! + \qmlmethod void TextArea::deselect() + + Removes active text selection. + */ + function deselect() { + edit.deselect(); + } + + /*! + \qmlmethod string TextArea::getFormattedText(int start, int end) + + Returns the section of text that is between the \a start and \a end positions. + + The returned text will be formatted according to the \l textFormat property. + */ + function getFormattedText(start, end) { + return edit.getFormattedText(start, end); + } + + /*! + \qmlmethod string TextArea::getText(int start, int end) + + Returns the section of text that is between the \a start and \a end positions. + + The returned text does not include any rich text formatting. + */ + function getText(start, end) { + return edit.getText(start, end); + } + + /*! + \qmlmethod void TextArea::insert(int position, string text) + + Inserts \a text into the TextArea at \a position. + */ + function insert(position, text) { + edit.insert(position, text); + } + + /*! + \qmlmethod bool TextArea::isRightToLeft(int start, int end) + + Returns true if the natural reading direction of the editor text + found between positions \a start and \a end is right to left. + */ + function isRightToLeft(start, end) { + return edit.isRightToLeft(start, end); + } + + /*! + \qmlmethod void TextArea::moveCursorSelection(int position, SelectionMode mode = TextEdit.SelectCharacters) + + Moves the cursor to \a position and updates the selection according to the optional \a mode + parameter. (To only move the cursor, set the \l cursorPosition property.) + + When this method is called it additionally sets either the + selectionStart or the selectionEnd (whichever was at the previous cursor position) + to the specified position. This allows you to easily extend and contract the selected + text range. + + The selection mode specifies whether the selection is updated on a per character or a per word + basis. If not specified the selection mode will default to TextEdit.SelectCharacters. + + \list + \li TextEdit.SelectCharacters - Sets either the selectionStart or selectionEnd (whichever was at + the previous cursor position) to the specified position. + \li TextEdit.SelectWords - Sets the selectionStart and selectionEnd to include all + words between the specified position and the previous cursor position. Words partially in the + range are included. + \endlist + + For example, take this sequence of calls: + + \code + cursorPosition = 5 + moveCursorSelection(9, TextEdit.SelectCharacters) + moveCursorSelection(7, TextEdit.SelectCharacters) + \endcode + + This moves the cursor to the 5th position, extends the selection end from 5 to 9, + and then retracts the selection end from 9 to 7, leaving the text from the 5th + position to the 7th position selected (the 6th and 7th characters). + + The same sequence with TextEdit.SelectWords will extend the selection start to a word boundary + before or on the 5th position, and extend the selection end to a word boundary on or past the 9th position. + */ + function moveCursorSelection(position, mode) { + edit.moveCursorSelection(position, mode); + } + + /*! + \qmlmethod void TextArea::paste() + + Replaces the currently selected text by the contents of the system clipboard. + */ + function paste() { + edit.paste(); + } + + /*! + \qmlmethod int TextArea::positionAt(int x, int y) + + Returns the text position closest to pixel position (\a x, \a y). + + Position 0 is before the first character, position 1 is after the first character + but before the second, and so on until position \l {text}.length, which is after all characters. + */ + function positionAt(x, y) { + return edit.positionAt(x, y); + } + + /*! + \qmlmethod rectangle TextArea::positionToRectangle(position) + + Returns the rectangle at the given \a position in the text. The x, y, + and height properties correspond to the cursor that would describe + that position. + */ + function positionToRectangle(position) { + return edit.positionToRectangle(position); + } + + /*! + \qmlmethod void TextArea::redo() + + Redoes the last operation if redo is \l {canRedo}{available}. + */ + function redo() { + edit.redo(); + } + + /*! + \qmlmethod string TextArea::remove(int start, int end) + + Removes the section of text that is between the \a start and \a end positions from the TextArea. + */ + function remove(start, end) { + return edit.remove(start, end); + } + + /*! + \qmlmethod void TextArea::select(int start, int end) + + Causes the text from \a start to \a end to be selected. + + If either start or end is out of range, the selection is not changed. + + After calling this, selectionStart will become the lesser + and selectionEnd will become the greater (regardless of the order passed + to this method). + + \sa selectionStart, selectionEnd + */ + function select(start, end) { + edit.select(start, end); + } + + /*! + \qmlmethod void TextArea::selectAll() + + Causes all text to be selected. + */ + function selectAll() { + edit.selectAll(); + } + + /*! + \qmlmethod void TextArea::selectWord() + + Causes the word closest to the current cursor position to be selected. + */ + function selectWord() { + edit.selectWord(); + } + + /*! + \qmlmethod void TextArea::undo() + + Undoes the last operation if undo is \l {canUndo}{available}. Deselects any + current selection, and updates the selection start to the current cursor + position. + */ + function undo() { + edit.undo(); + } + + /*! \qmlproperty bool TextArea::backgroundVisible + + This property determines if the background should be filled or not. + + The default value is \c true. + */ + property alias backgroundVisible: colorRect.visible + + /*! \internal */ + default property alias data: area.data + + /*! \qmlproperty real TextArea::textMargin + \since QtQuick.Controls 1.1 + + The margin, in pixels, around the text in the TextArea. + */ + property alias textMargin: edit.textMargin + + /*! \qmlproperty real TextArea::contentWidth + \since QtQuick.Controls 1.3 + + The width of the text content. + */ + readonly property alias contentWidth: edit.contentWidth + + /*! \qmlproperty real TextArea::contentHeight + \since QtQuick.Controls 1.3 + + The height of the text content. + */ + readonly property alias contentHeight: edit.contentHeight + + frameVisible: true + + activeFocusOnTab: true + + Accessible.role: Accessible.EditableText + + style: Settings.styleComponent(Settings.style, "TextAreaStyle.qml", area) + + /*! + \qmlproperty TextDocument TextArea::textDocument + + This property exposes the \l QQuickTextDocument of this TextArea. + \sa TextEdit::textDocument + */ + property alias textDocument: edit.textDocument + + Flickable { + id: flickable + + interactive: !edit.selectByMouse + anchors.fill: parent + + TextEdit { + id: edit + focus: true + cursorDelegate: __style && __style.__cursorDelegate ? __style.__cursorDelegate : null + persistentSelection: true + + Rectangle { + id: colorRect + parent: viewport + anchors.fill: parent + color: __style ? __style.backgroundColor : "white" + z: -1 + } + + property int layoutRecursionDepth: 0 + + function doLayout() { + // scrollbars affect the document/viewport size and vice versa, so we + // must allow the layout loop to recurse twice until the sizes stabilize + if (layoutRecursionDepth <= 2) { + layoutRecursionDepth++ + + if (wrapMode == TextEdit.NoWrap) { + __horizontalScrollBar.visible = edit.contentWidth > viewport.width + edit.width = Math.max(viewport.width, edit.contentWidth) + } else { + __horizontalScrollBar.visible = false + edit.width = viewport.width + } + edit.height = Math.max(viewport.height, edit.contentHeight) + + flickable.contentWidth = edit.contentWidth + flickable.contentHeight = edit.contentHeight + + layoutRecursionDepth-- + } + } + + Connections { + target: area.viewport + function onWidthChanged() { edit.doLayout() } + function onHeightChanged() { edit.doLayout() } + } + onContentWidthChanged: edit.doLayout() + onContentHeightChanged: edit.doLayout() + onWrapModeChanged: edit.doLayout() + + renderType: __style ? __style.renderType : Text.NativeRendering + font: __style ? __style.font : TextSingleton.font + color: __style ? __style.textColor : "darkgray" + selectionColor: __style ? __style.selectionColor : "darkred" + selectedTextColor: __style ? __style.selectedTextColor : "white" + wrapMode: TextEdit.WordWrap + textMargin: __style && __style.textMargin !== undefined ? __style.textMargin : 4 + + selectByMouse: area.selectByMouse && Qt.platform.os != "ios" && (!Settings.isMobile || !cursorHandle.delegate || !selectionHandle.delegate) + readOnly: false + + Keys.forwardTo: area + + KeyNavigation.priority: KeyNavigation.BeforeItem + KeyNavigation.tab: area.tabChangesFocus ? area.KeyNavigation.tab : null + KeyNavigation.backtab: area.tabChangesFocus ? area.KeyNavigation.backtab : null + + property bool blockRecursion: false + property bool hasSelection: selectionStart !== selectionEnd + readonly property int selectionPosition: selectionStart !== cursorPosition ? selectionStart : selectionEnd + + // force re-evaluation when contentWidth changes => text layout changes => selection moves + property rect selectionRectangle: contentWidth ? positionToRectangle(selectionPosition) + : positionToRectangle(selectionPosition) + + onSelectionStartChanged: syncHandlesWithSelection() + onCursorPositionChanged: syncHandlesWithSelection() + + function syncHandlesWithSelection() + { + if (!blockRecursion && selectionHandle.delegate) { + blockRecursion = true + // We cannot use property selectionPosition since it gets updated after onSelectionStartChanged + cursorHandle.position = cursorPosition + selectionHandle.position = (selectionStart !== cursorPosition) ? selectionStart : selectionEnd + blockRecursion = false + } + ensureVisible(cursorRectangle) + } + + function ensureVisible(rect) { + if (rect.y >= flickableItem.contentY + viewport.height - rect.height - textMargin) { + // moving down + flickableItem.contentY = rect.y - viewport.height + rect.height + textMargin + } else if (rect.y < flickableItem.contentY) { + // moving up + flickableItem.contentY = rect.y - textMargin + } + + if (rect.x >= flickableItem.contentX + viewport.width - textMargin) { + // moving right + flickableItem.contentX = rect.x - viewport.width + textMargin + } else if (rect.x < flickableItem.contentX) { + // moving left + flickableItem.contentX = rect.x - textMargin + } + } + + onLinkActivated: area.linkActivated(link) + onLinkHovered: area.linkHovered(link) + onEditingFinished: area.editingFinished() + + function activate() { + if (activeFocusOnPress) { + forceActiveFocus() + if (!readOnly) + Qt.inputMethod.show() + } + cursorHandle.activate() + selectionHandle.activate() + } + + function moveHandles(cursor, selection) { + blockRecursion = true + cursorPosition = cursor + if (selection === -1) { + selectWord() + selection = selectionStart + } + selectionHandle.position = selection + cursorHandle.position = cursorPosition + blockRecursion = false + } + + MouseArea { + id: mouseArea + anchors.fill: parent + cursorShape: edit.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor + acceptedButtons: (edit.selectByMouse ? Qt.NoButton : Qt.LeftButton) | (area.menu ? Qt.RightButton : Qt.NoButton) + onClicked: { + if (editMenu.item) + return; + var pos = edit.positionAt(mouse.x, mouse.y) + edit.moveHandles(pos, pos) + edit.activate() + } + onPressAndHold: { + if (editMenu.item) + return; + var pos = edit.positionAt(mouse.x, mouse.y) + edit.moveHandles(pos, area.selectByMouse ? -1 : pos) + edit.activate() + } + } + + EditMenu { + id: editMenu + control: area + input: edit + mouseArea: mouseArea + cursorHandle: cursorHandle + selectionHandle: selectionHandle + flickable: flickable + anchors.fill: parent + } + + ScenePosListener { + id: listener + item: edit + enabled: edit.activeFocus && Qt.platform.os !== "ios" && Settings.isMobile + } + + TextHandle { + id: selectionHandle + + editor: edit + control: area + z: 1000001 // DefaultWindowDecoration+1 + parent: !edit.activeFocus || Qt.platform.os === "ios" ? editor : Window.contentItem // float (QTBUG-42538) + active: area.selectByMouse && Settings.isMobile + delegate: __style.__selectionHandle + maximum: cursorHandle.position - 1 + + // Mention scenePos, contentX and contentY in the mappedPos binding to force re-evaluation if they change + property var mappedPos: listener.scenePos.x !== listener.scenePos.y !== flickableItem.contentX !== flickableItem.contentY !== Number.MAX_VALUE ? + editor.mapToItem(parent, editor.selectionRectangle.x, editor.selectionRectangle.y) : -1 + x: mappedPos.x + y: mappedPos.y + + property var posInViewport: flickableItem.contentX !== flickableItem.contentY !== Number.MAX_VALUE ? + viewport.mapFromItem(parent, handleX, handleY) : -1 + visible: pressed || (edit.hasSelection + && posInViewport.y + handleHeight >= -1 + && posInViewport.y <= viewport.height + 1 + && posInViewport.x + handleWidth >= -1 + && posInViewport.x <= viewport.width + 1) + + onPositionChanged: { + if (!edit.blockRecursion) { + edit.blockRecursion = true + edit.select(selectionHandle.position, cursorHandle.position) + if (pressed) + edit.ensureVisible(edit.selectionRectangle) + edit.blockRecursion = false + } + } + } + + TextHandle { + id: cursorHandle + + editor: edit + control: area + z: 1000001 // DefaultWindowDecoration+1 + parent: !edit.activeFocus || Qt.platform.os === "ios" ? editor : Window.contentItem // float (QTBUG-42538) + active: area.selectByMouse && Settings.isMobile + delegate: __style.__cursorHandle + minimum: edit.hasSelection ? selectionHandle.position + 1 : -1 + + // Mention scenePos, contentX and contentY in the mappedPos binding to force re-evaluation if they change + property var mappedPos: listener.scenePos.x !== listener.scenePos.y !== flickableItem.contentX !== flickableItem.contentY !== Number.MAX_VALUE ? + editor.mapToItem(parent, editor.cursorRectangle.x, editor.cursorRectangle.y) : -1 + x: mappedPos.x + y: mappedPos.y + + property var posInViewport: flickableItem.contentX !== flickableItem.contentY !== Number.MAX_VALUE ? + viewport.mapFromItem(parent, handleX, handleY) : -1 + visible: pressed || ((edit.cursorVisible || edit.hasSelection) + && posInViewport.y + handleHeight >= -1 + && posInViewport.y <= viewport.height + 1 + && posInViewport.x + handleWidth >= -1 + && posInViewport.x <= viewport.width + 1) + + onPositionChanged: { + if (!edit.blockRecursion) { + edit.blockRecursion = true + if (!edit.hasSelection) + selectionHandle.position = cursorHandle.position + edit.select(selectionHandle.position, cursorHandle.position) + edit.blockRecursion = false + } + } + } + } + } + + Keys.onPressed: { + if (event.key == Qt.Key_PageUp) { + __verticalScrollBar.value -= area.height + } else if (event.key == Qt.Key_PageDown) + __verticalScrollBar.value += area.height + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextArea.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextArea.qmlc new file mode 100644 index 00000000..75903e28 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextArea.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextField.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextField.qml new file mode 100644 index 00000000..d0d1d5cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextField.qml @@ -0,0 +1,672 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype TextField + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief Displays a single line of editable plain text. + + \image textfield.png + + TextField is used to accept a line of text input. Input constraints can be + placed on a TextField item (for example, through a \l validator or \l + inputMask). Setting \l echoMode to an appropriate value enables + TextField to be used for a password input field. + + \qml + TextField { + placeholderText: qsTr("Enter name") + } + \endqml + + You can create a custom appearance for a TextField by + assigning a \l {TextFieldStyle}. + + \sa TextArea, TextInput +*/ + +Control { + id: textfield + + /*! + \qmlproperty bool TextField::acceptableInput + + Returns \c true if the text field contains acceptable + text. + + If a validator or input mask was set, this property will return \c + true if the current text satisfies the validator or mask as + a final string (not as an intermediate string). + + The default value is \c true. + + \sa validator, inputMask, accepted + + */ + readonly property alias acceptableInput: textInput.acceptableInput // read only + + /*! + \qmlproperty bool TextField::activeFocusOnPress + + This property is set to \c true if the TextField should gain active + focus on a mouse press. + + The default value is \c true. + */ + property alias activeFocusOnPress: textInput.activeFocusOnPress + + /*! + \qmlproperty bool TextField::canPaste + + Returns \c true if the TextField is writable and the content of the + clipboard is suitable for pasting into the TextField. + */ + readonly property alias canPaste: textInput.canPaste + + /*! + \qmlproperty bool TextField::canRedo + + Returns \c true if the TextField is writable and there are \l + {undo}{undone} operations that can be redone. + */ + readonly property alias canRedo: textInput.canRedo + + /*! + \qmlproperty bool TextField::canUndo + + Returns \c true if the TextField is writable and there are previous + operations that can be undone. + */ + readonly property alias canUndo: textInput.canUndo + + /*! + \qmlproperty color TextField::textColor + + This property holds the text color. + */ + property alias textColor: textInput.color + + /*! + \qmlproperty int TextField::cursorPosition + + This property holds the position of the cursor in the TextField. + */ + property alias cursorPosition: textInput.cursorPosition + + /*! + \qmlproperty rect TextField::cursorRectangle + \since QtQuick.Controls 1.3 + + The rectangle where the text cursor is rendered within the text field. + */ + readonly property alias cursorRectangle: textInput.cursorRectangle + + /*! + \qmlproperty string TextField::displayText + + This property holds the text displayed in the TextField. + + If \l echoMode is set to TextInput::Normal, this holds the + same value as the TextField::text property. Otherwise, + this property holds the text visible to the user, while + the \l text property holds the actual entered text. + */ + readonly property alias displayText: textInput.displayText + + /*! + \qmlproperty enumeration TextField::echoMode + + Specifies how the text should be displayed in the + TextField. + + The possible modes are: + \list + \li TextInput.Normal - Displays the text as it is. (Default) + \li TextInput.Password - Displays asterisks instead of characters. + \li TextInput.NoEcho - Displays nothing. + \li TextInput.PasswordEchoOnEdit - Displays characters as they are + entered while editing, otherwise displays asterisks. + \endlist + */ + property alias echoMode: textInput.echoMode + Accessible.passwordEdit: echoMode == TextInput.Password || echoMode === TextInput.PasswordEchoOnEdit + + /*! + \qmlproperty font TextField::font + + Sets the font of the TextField. + */ + property alias font: textInput.font + + /*! + \qmlproperty enumeration TextField::horizontalAlignment + + Sets the alignment of the text within the TextField item's width. + + By default, the horizontal text alignment follows the natural alignment + of the text, for example text that is read from left to right will be + aligned to the left. + + The possible alignment values are: + \list + \li TextInput.AlignLeft + \li TextInput.AlignRight + \li TextInput.AlignHCenter + \endlist + + When using the attached property, LayoutMirroring::enabled, to mirror + application layouts, the horizontal alignment of text will also be + mirrored. However, the property \c horizontalAlignment will remain + unchanged. To query the effective horizontal alignment of TextField, use + the read-only property \c effectiveHorizontalAlignment. + */ + property alias horizontalAlignment: textInput.horizontalAlignment + + /*! + \qmlproperty enumeration TextField::effectiveHorizontalAlignment + + Gets the effective horizontal alignment of the text within the TextField + item's width. + + \l horizontalAlignment contains the default horizontal alignment. + + \sa horizontalAlignment + + */ + readonly property alias effectiveHorizontalAlignment: textInput.effectiveHorizontalAlignment + + /*! + \qmlproperty enumeration TextField::verticalAlignment + + Sets the alignment of the text within the TextField item's height. + + The possible alignment values are: + \list + \li TextInput.AlignTop + \li TextInput.AlignBottom + \li TextInput.AlignVCenter (default). + \endlist + */ + property alias verticalAlignment: textInput.verticalAlignment + + /*! + \qmlproperty string TextField::inputMask + + Sets an input mask on the TextField, restricting the allowable text + inputs. See QLineEdit::inputMask for further details, as the exact same + mask strings are used by TextField. + + \sa acceptableInput, validator + */ + property alias inputMask: textInput.inputMask + + /*! + \qmlproperty bool TextField::inputMethodComposing + \since QtQuick.Controls 1.3 + + This property holds whether the TextField has partial text input from an input method. + + While it is composing an input method may rely on mouse or key events from the TextField + to edit or commit the partial text. This property can be used to determine when to disable + events handlers that may interfere with the correct operation of an input method. + */ + readonly property bool inputMethodComposing: !!textInput.inputMethodComposing + + /*! + \qmlproperty enumeration TextField::inputMethodHints + + Provides hints to the input method about the expected content of the + text field and how it should operate. + + The value is a bit-wise combination of flags, or \c Qt.ImhNone if no + hints are set. + + The default value is \c Qt.ImhNone. + + Flags that alter behavior are: + + \list + \li Qt.ImhHiddenText - Characters should be hidden, as is typically used when entering passwords. + This is automatically set when setting echoMode to \c TextInput.Password. + \li Qt.ImhSensitiveData - Typed text should not be stored by the active input method + in any persistent storage like predictive user dictionary. + \li Qt.ImhNoAutoUppercase - The input method should not try to automatically switch to upper case + when a sentence ends. + \li Qt.ImhPreferNumbers - Numbers are preferred (but not required). + \li Qt.ImhPreferUppercase - Uppercase letters are preferred (but not required). + \li Qt.ImhPreferLowercase - Lowercase letters are preferred (but not required). + \li Qt.ImhNoPredictiveText - Do not use predictive text (for example, dictionary lookup) while typing. + + \li Qt.ImhDate - The text editor functions as a date field. + \li Qt.ImhTime - The text editor functions as a time field. + \li Qt.ImhMultiLine - The text editor doesn't close software input keyboard when Return or Enter key is pressed (since QtQuick.Controls 1.3). + \endlist + + Flags that restrict input (exclusive flags) are: + + \list + \li Qt.ImhDigitsOnly - Only digits are allowed. + \li Qt.ImhFormattedNumbersOnly - Only number input is allowed. This includes decimal point and minus sign. + \li Qt.ImhUppercaseOnly - Only uppercase letter input is allowed. + \li Qt.ImhLowercaseOnly - Only lowercase letter input is allowed. + \li Qt.ImhDialableCharactersOnly - Only characters suitable for phone dialing are allowed. + \li Qt.ImhEmailCharactersOnly - Only characters suitable for email addresses are allowed. + \li Qt.ImhUrlCharactersOnly - Only characters suitable for URLs are allowed. + \endlist + + Masks: + \list + \li Qt.ImhExclusiveInputMask - This mask yields nonzero if any of the exclusive flags are used. + \endlist + */ + property alias inputMethodHints: textInput.inputMethodHints + + /*! + \qmlproperty int TextField::length + + Returns the total number of characters in the TextField item. + + If the TextField has an input mask, the length will include mask + characters and may differ from the length of the string returned by the + \l text property. + + This property can be faster than querying the length of the \l text + property as it doesn't require any copying or conversion of the + TextField's internal string data. + */ + readonly property alias length: textInput.length + + /*! + \qmlproperty int TextField::maximumLength + + This property holds the maximum permitted length of the text in the + TextField. + + If the text is too long, it is truncated at the limit. + */ + property alias maximumLength: textInput.maximumLength + + /*! + \qmlproperty string TextField::placeholderText + + This property contains the text that is shown in the text field when the + text field is empty. + */ + property alias placeholderText: placeholderTextComponent.text + + /*! + \qmlproperty bool TextField::readOnly + + Sets whether user input can modify the contents of the TextField. Read- + only is different from a disabled text field in that the text field will + appear to be active and text can still be selected and copied. + + If readOnly is set to \c true, then user input will not affect the text. + Any bindings or attempts to set the text property will still + work, however. + */ + property alias readOnly: textInput.readOnly + Accessible.readOnly: readOnly + + /*! + \qmlproperty bool TextField::selectByMouse + \since QtQuick.Controls 1.3 + + This property determines if the user can select the text with the + mouse. + + The default value is \c true. + */ + property bool selectByMouse: true + + /*! + \qmlproperty string TextField::selectedText + + Provides the text currently selected in the text input. + + It is equivalent to the following snippet, but is faster and easier + to use. + + \code + myTextField.text.toString().substring(myTextField.selectionStart, myTextField.selectionEnd); + \endcode + */ + readonly property alias selectedText: textInput.selectedText + + /*! + \qmlproperty int TextField::selectionEnd + + The cursor position after the last character in the current selection. + + This property is read-only. To change the selection, use + select(start,end), selectAll(), or selectWord(). + + \sa selectionStart, cursorPosition, selectedText + */ + readonly property alias selectionEnd: textInput.selectionEnd + + /*! + \qmlproperty int TextField::selectionStart + + The cursor position before the first character in the current selection. + + This property is read-only. To change the selection, use select(start,end), + selectAll(), or selectWord(). + + \sa selectionEnd, cursorPosition, selectedText + */ + readonly property alias selectionStart: textInput.selectionStart + + /*! + \qmlproperty string TextField::text + + This property contains the text in the TextField. + */ + property alias text: textInput.text + + /*! + \qmlproperty Validator TextField::validator + + Allows you to set a validator on the TextField. When a validator is set, + the TextField will only accept input which leaves the text property in + an intermediate state. The accepted signal will only be sent + if the text is in an acceptable state when enter is pressed. + + Currently supported validators are \l[QtQuick]{IntValidator}, + \l[QtQuick]{DoubleValidator}, and \l[QtQuick]{RegExpValidator}. An + example of using validators is shown below, which allows input of + integers between 11 and 31 into the text input: + + \code + import QtQuick 2.2 + import QtQuick.Controls 1.2 + + TextField { + validator: IntValidator {bottom: 11; top: 31;} + focus: true + } + \endcode + + \sa acceptableInput, inputMask, accepted + */ + property alias validator: textInput.validator + + /*! + \since QtQuick.Controls 1.3 + + This property contains the edit \l Menu for working + with text selection. Set it to \c null if no menu + is wanted. + */ + property Component menu: textInput.editMenu.defaultMenu + + /*! + \qmlsignal TextField::accepted() + + This signal is emitted when the Return or Enter key is pressed. + Note that if there is a \l validator or \l inputMask set on the text + field, the signal will only be emitted if the input is in an acceptable + state. + + The corresponding handler is \c onAccepted. + */ + signal accepted() + + /*! + \qmlsignal TextField::editingFinished() + \since QtQuick.Controls 1.1 + + This signal is emitted when the Return or Enter key is pressed or + the text field loses focus. Note that if there is a validator or + inputMask set on the text field and enter/return is pressed, this + signal will only be emitted if the input follows + the inputMask and the validator returns an acceptable state. + + The corresponding handler is \c onEditingFinished. + */ + signal editingFinished() + + /*! + \qmlmethod void TextField::copy() + + Copies the currently selected text to the system clipboard. + */ + function copy() { + textInput.copy() + } + + /*! + \qmlmethod void TextField::cut() + + Moves the currently selected text to the system clipboard. + */ + function cut() { + textInput.cut() + } + + /*! + \qmlmethod void TextField::deselect() + + Removes active text selection. + */ + function deselect() { + textInput.deselect(); + } + + /*! + \qmlmethod string TextField::getText(int start, int end) + + Removes the section of text that is between the \a start and \a end + positions from the TextField. + */ + function getText(start, end) { + return textInput.getText(start, end); + } + + /*! + \qmlmethod void TextField::insert(int position, string text) + + Inserts \a text into the TextField at \a position. + */ + function insert(position, text) { + textInput.insert(position, text); + } + + /*! + \qmlmethod bool TextField::isRightToLeft(int start, int end) + + Returns \c true if the natural reading direction of the editor text + found between positions \a start and \a end is right to left. + */ + function isRightToLeft(start, end) { + return textInput.isRightToLeft(start, end); + } + + /*! + \qmlmethod void TextField::paste() + + Replaces the currently selected text by the contents of the system + clipboard. + */ + function paste() { + textInput.paste() + } + + /*! + \qmlmethod void TextField::redo() + + Performs the last operation if redo is \l {canRedo}{available}. + */ + function redo() { + textInput.redo(); + } + + /*! + \qmlmethod void TextField::remove(int start, int end) + \since QtQuick.Controls 1.4 + + Removes the section of text that is between the \a start and \a end positions. + */ + function remove(start, end) { + textInput.remove(start, end) + } + + /*! + \qmlmethod void TextField::select(int start, int end) + + Causes the text from \a start to \a end to be selected. + + If either start or end is out of range, the selection is not changed. + + After calling select, selectionStart will become the lesser + and selectionEnd will become the greater (regardless of the order passed + to this method). + + \sa selectionStart, selectionEnd + */ + function select(start, end) { + textInput.select(start, end) + } + + /*! + \qmlmethod void TextField::selectAll() + + Causes all text to be selected. + */ + function selectAll() { + textInput.selectAll() + } + + /*! + \qmlmethod void TextField::selectWord() + + Causes the word closest to the current cursor position to be selected. + */ + function selectWord() { + textInput.selectWord() + } + + /*! + \qmlmethod void TextField::undo() + + Reverts the last operation if undo is \l {canUndo}{available}. undo() + deselects any current selection and updates the selection start to the + current cursor position. + */ + function undo() { + textInput.undo(); + } + + /*! \qmlproperty bool TextField::hovered + + This property holds whether the control is being hovered. + */ + readonly property alias hovered: textInput.containsMouse + + /*! \internal */ + property alias __contentHeight: textInput.contentHeight + + /*! \internal */ + property alias __contentWidth: textInput.contentWidth + + /*! \internal */ + property alias __baselineOffset: textInput.baselineOffset + + style: Settings.styleComponent(Settings.style, "TextFieldStyle.qml", textInput) + + activeFocusOnTab: true + + Accessible.name: text + Accessible.role: Accessible.EditableText + Accessible.description: placeholderText + + Text { + id: placeholderTextComponent + anchors.fill: textInput + font: textInput.font + horizontalAlignment: textInput.horizontalAlignment + verticalAlignment: textInput.verticalAlignment + opacity: !textInput.displayText && (!textInput.activeFocus || textInput.horizontalAlignment !== Qt.AlignHCenter) ? 1.0 : 0.0 + color: __panel ? __panel.placeholderTextColor : "darkgray" + clip: contentWidth > width; + elide: Text.ElideRight + renderType: __style ? __style.renderType : Text.NativeRendering + } + + TextInputWithHandles { + id: textInput + focus: true + passwordCharacter: __style && __style.passwordCharacter !== undefined ? __style.passwordCharacter + : Qt.styleHints.passwordMaskCharacter + selectionColor: __panel ? __panel.selectionColor : "darkred" + selectedTextColor: __panel ? __panel.selectedTextColor : "white" + + control: textfield + cursorHandle: __style ? __style.__cursorHandle : undefined + selectionHandle: __style ? __style.__selectionHandle : undefined + + font: __panel ? __panel.font : TextSingleton.font + anchors.leftMargin: __panel ? __panel.leftMargin : 0 + anchors.topMargin: __panel ? __panel.topMargin : 0 + anchors.rightMargin: __panel ? __panel.rightMargin : 0 + anchors.bottomMargin: __panel ? __panel.bottomMargin : 0 + + anchors.fill: parent + verticalAlignment: Text.AlignVCenter + + color: __panel ? __panel.textColor : "darkgray" + clip: contentWidth > width + + renderType: __style ? __style.renderType : Text.NativeRendering + + Keys.forwardTo: textfield + + EnterKey.type: control.EnterKey.type + + onAccepted: textfield.accepted() + + onEditingFinished: textfield.editingFinished() + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextField.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextField.qmlc new file mode 100644 index 00000000..26e12cf3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TextField.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolBar.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolBar.qml new file mode 100644 index 00000000..2e8a8fa3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolBar.qml @@ -0,0 +1,182 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ToolBar + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup applicationwindow + \ingroup controls + \brief Contains ToolButton and related controls. + + \image toolbar.png + + The common way of using ToolBar is in relation to \l ApplicationWindow. It + provides styling and is generally designed to work well with ToolButton as + well as other controls. + + Note that the ToolBar does not provide a layout of its own, but requires + you to position its contents, for instance by creating a \l RowLayout. + + If only a single item is used within the ToolBar, it will resize to fit the implicitHeight + of its contained item. This makes it particularly suitable for use together with layouts. + Otherwise the height is platform dependent. + + \code + ApplicationWindow { + ... + toolBar:ToolBar { + RowLayout { + anchors.fill: parent + ToolButton { + iconSource: "new.png" + } + ToolButton { + iconSource: "open.png" + } + ToolButton { + iconSource: "save-as.png" + } + Item { Layout.fillWidth: true } + CheckBox { + text: "Enabled" + checked: true + Layout.alignment: Qt.AlignRight + } + } + } + } + \endcode +*/ + +FocusScope { + id: toolbar + + activeFocusOnTab: false + Accessible.role: Accessible.ToolBar + LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft + LayoutMirroring.childrenInherit: true + + width: parent ? parent.width : implicitWidth + implicitWidth: container.leftMargin + container.rightMargin + + Math.max(container.layoutWidth, __panel ? __panel.implicitWidth : 0) + implicitHeight: container.topMargin + container.bottomMargin + + Math.max(container.layoutHeight, __panel ? __panel.implicitHeight : 0) + + /*! \internal */ + property Component style: Settings.styleComponent(Settings.style, "ToolBarStyle.qml", toolbar) + + /*! \internal */ + property alias __style: styleLoader.item + + /*! \internal */ + property Item __panel: panelLoader.item + + /*! \internal */ + default property alias __content: container.data + + /*! \internal */ + property var __menu + + /*! + \qmlproperty Item ToolBar::contentItem + + This property holds the content Item of the tool bar. + + Items declared as children of a ToolBar are automatically parented to the ToolBar's contentItem. + Items created dynamically need to be explicitly parented to the contentItem: + + \note The implicit size of the ToolBar is calculated based on the size of its content. If you want to anchor + items inside the tool bar, you must specify an explicit width and height on the ToolBar itself. + */ + readonly property alias contentItem: container + + data: [ + Loader { + id: panelLoader + anchors.fill: parent + sourceComponent: styleLoader.item ? styleLoader.item.panel : null + onLoaded: item.z = -1 + Loader { + id: styleLoader + property alias __control: toolbar + sourceComponent: style + } + }, + Item { + id: container + z: 1 + focus: true + anchors.fill: parent + + anchors.topMargin: topMargin + anchors.leftMargin: leftMargin + anchors.rightMargin: rightMargin + (buttonLoader.active ? buttonLoader.width + rightMargin : 0) + anchors.bottomMargin: bottomMargin + + property int topMargin: __style ? __style.padding.top : 0 + property int bottomMargin: __style ? __style.padding.bottom : 0 + property int leftMargin: __style ? __style.padding.left : 0 + property int rightMargin: __style ? __style.padding.right : 0 + + property Item layoutItem: container.children.length === 1 ? container.children[0] : null + property real layoutWidth: layoutItem ? (layoutItem.implicitWidth || layoutItem.width) + + (layoutItem.anchors.fill ? layoutItem.anchors.leftMargin + + layoutItem.anchors.rightMargin : 0) : 0 + property real layoutHeight: layoutItem ? (layoutItem.implicitHeight || layoutItem.height) + + (layoutItem.anchors.fill ? layoutItem.anchors.topMargin + + layoutItem.anchors.bottomMargin : 0) : 0 + }, + Loader { + id: buttonLoader + anchors.right: parent.right + anchors.rightMargin: container.rightMargin + anchors.verticalCenter: parent.verticalCenter + sourceComponent: ToolMenuButton { + menu: toolbar.__menu + panel: toolbar.__style.menuButton || null + } + active: !!__menu && __menu.items.length > 0 && !!__style.menuButton + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolBar.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolBar.qmlc new file mode 100644 index 00000000..d9defd0b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolBar.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolButton.qml new file mode 100644 index 00000000..1d5e474f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolButton.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ToolButton + \inqmlmodule QtQuick.Controls + \since 5.1 + \ingroup controls + \brief Provides a button type that is typically used within a ToolBar. + + \image toolbar.png + + ToolButton is functionally similar to \l {QtQuick.Controls::}{Button}, but + can provide a look that is more suitable within a \l ToolBar. + + \code + ApplicationWindow { + ... + toolBar: ToolBar { + RowLayout { + ToolButton { + iconSource: "new.png" + } + ToolButton { + iconSource: "open.png" + } + ToolButton { + iconSource: "save-as.png" + } + Item { Layout.fillWidth: true } + CheckBox { + text: "Enabled" + checked: true + } + } + } + } + \endcode + + You can create a custom appearance for a ToolButton by + assigning a \l {ButtonStyle}. +*/ + +Button { + id: button + style: Settings.styleComponent(Settings.style, "ToolButtonStyle.qml", button) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolButton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolButton.qmlc new file mode 100644 index 00000000..ff422440 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/ToolButton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TreeView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TreeView.qml new file mode 100644 index 00000000..2bedb9e6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TreeView.qml @@ -0,0 +1,421 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Controls module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.4 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.2 +import QtQml.Models 2.2 + +BasicTableView { + id: root + + property var model: null + property alias rootIndex: modelAdaptor.rootIndex + + readonly property var currentIndex: modelAdaptor.updateCount, modelAdaptor.mapRowToModelIndex(__currentRow) + property ItemSelectionModel selection: null + + signal activated(var index) + signal clicked(var index) + signal doubleClicked(var index) + signal pressAndHold(var index) + signal expanded(var index) + signal collapsed(var index) + + function isExpanded(index) { + if (index.valid && index.model !== model) { + console.warn("TreeView.isExpanded: model and index mismatch") + return false + } + return modelAdaptor.isExpanded(index) + } + + function collapse(index) { + if (index.valid && index.model !== model) + console.warn("TreeView.collapse: model and index mismatch") + else + modelAdaptor.collapse(index) + } + + function expand(index) { + if (index.valid && index.model !== model) + console.warn("TreeView.expand: model and index mismatch") + else + modelAdaptor.expand(index) + } + + function indexAt(x, y) { + var obj = root.mapToItem(__listView.contentItem, x, y) + return modelAdaptor.mapRowToModelIndex(__listView.indexAt(obj.x, obj.y)) + } + + style: Settings.styleComponent(Settings.style, "TreeViewStyle.qml", root) + + // Internal stuff. Do not look + + __viewTypeName: "TreeView" + + __model: TreeModelAdaptor { + id: modelAdaptor + model: root.model + + // Hack to force re-evaluation of the currentIndex binding + property int updateCount: 0 + onModelReset: updateCount++ + onRowsInserted: updateCount++ + onRowsRemoved: updateCount++ + + onExpanded: root.expanded(index) + onCollapsed: root.collapsed(index) + } + + __itemDelegateLoader: TreeViewItemDelegateLoader { + __style: root.__style + __itemDelegate: root.itemDelegate + __mouseArea: mouseArea + __treeModel: modelAdaptor + } + + onSelectionModeChanged: if (!!selection) selection.clear() + + __mouseArea: MouseArea { + id: mouseArea + + parent: __listView + width: __listView.width + height: __listView.height + z: -1 + propagateComposedEvents: true + focus: true + // If there is not a touchscreen, keep the flickable from eating our mouse drags. + // If there is a touchscreen, flicking is possible, but selection can be done only by tapping, not by dragging. + preventStealing: !Settings.hasTouchScreen + + property var clickedIndex: undefined + property var pressedIndex: undefined + property bool selectOnRelease: false + property int pressedColumn: -1 + readonly property alias currentRow: root.__currentRow + readonly property alias currentIndex: root.currentIndex + + // Handle vertical scrolling whem dragging mouse outside boundaries + property int autoScroll: 0 // 0 -> do nothing; 1 -> increment; 2 -> decrement + property bool shiftPressed: false // forward shift key state to the autoscroll timer + + Timer { + running: mouseArea.autoScroll !== 0 && __verticalScrollBar.visible + interval: 20 + repeat: true + onTriggered: { + var oldPressedIndex = mouseArea.pressedIndex + var row + if (mouseArea.autoScroll === 1) { + __listView.incrementCurrentIndexBlocking(); + row = __listView.indexAt(0, __listView.height + __listView.contentY) + if (row === -1) + row = __listView.count - 1 + } else { + __listView.decrementCurrentIndexBlocking(); + row = __listView.indexAt(0, __listView.contentY) + } + + var index = modelAdaptor.mapRowToModelIndex(row) + if (index !== oldPressedIndex) { + mouseArea.pressedIndex = index + var modifiers = mouseArea.shiftPressed ? Qt.ShiftModifier : Qt.NoModifier + mouseArea.mouseSelect(index, modifiers, true /* drag */) + } + } + } + + function mouseSelect(modelIndex, modifiers, drag) { + if (!selection) { + maybeWarnAboutSelectionMode() + return + } + + if (selectionMode) { + selection.setCurrentIndex(modelIndex, ItemSelectionModel.NoUpdate) + if (selectionMode === SelectionMode.SingleSelection) { + selection.select(modelIndex, ItemSelectionModel.ClearAndSelect) + } else { + var selectRowRange = (drag && (selectionMode === SelectionMode.MultiSelection + || (selectionMode === SelectionMode.ExtendedSelection + && modifiers & Qt.ControlModifier))) + || modifiers & Qt.ShiftModifier + var itemSelection = !selectRowRange || clickedIndex === modelIndex ? modelIndex + : modelAdaptor.selectionForRowRange(clickedIndex, modelIndex) + + if (selectionMode === SelectionMode.MultiSelection + || selectionMode === SelectionMode.ExtendedSelection && modifiers & Qt.ControlModifier) { + if (drag) + selection.select(itemSelection, ItemSelectionModel.ToggleCurrent) + else + selection.select(modelIndex, ItemSelectionModel.Toggle) + } else if (modifiers & Qt.ShiftModifier) { + selection.select(itemSelection, ItemSelectionModel.SelectCurrent) + } else { + clickedIndex = modelIndex // Needed only when drag is true + selection.select(modelIndex, ItemSelectionModel.ClearAndSelect) + } + } + } + } + + function keySelect(keyModifiers) { + if (selectionMode) { + if (!keyModifiers) + clickedIndex = currentIndex + if (!(keyModifiers & Qt.ControlModifier)) + mouseSelect(currentIndex, keyModifiers, keyModifiers & Qt.ShiftModifier) + } + } + + function selected(row) { + if (selectionMode === SelectionMode.NoSelection) + return false + + var modelIndex = null + if (!!selection) { + modelIndex = modelAdaptor.mapRowToModelIndex(row) + if (modelIndex.valid) { + if (selectionMode === SelectionMode.SingleSelection) + return selection.currentIndex === modelIndex + return selection.hasSelection && selection.isSelected(modelIndex) + } else { + return false + } + } + + return row === currentRow + && (selectionMode === SelectionMode.SingleSelection + || (selectionMode > SelectionMode.SingleSelection && !selection)) + } + + function branchDecorationContains(x, y) { + var clickedItem = __listView.itemAt(0, y + __listView.contentY) + if (!(clickedItem && clickedItem.rowItem)) + return false + var branchDecoration = clickedItem.rowItem.branchDecoration + if (!branchDecoration) + return false + var pos = mapToItem(branchDecoration, x, y) + return branchDecoration.contains(Qt.point(pos.x, pos.y)) + } + + function maybeWarnAboutSelectionMode() { + if (selectionMode > SelectionMode.SingleSelection) + console.warn("TreeView: Non-single selection is not supported without an ItemSelectionModel.") + } + + onPressed: { + var pressedRow = __listView.indexAt(0, mouseY + __listView.contentY) + pressedIndex = modelAdaptor.mapRowToModelIndex(pressedRow) + pressedColumn = __listView.columnAt(mouseX) + selectOnRelease = false + __listView.forceActiveFocus() + if (pressedRow === -1 + || Settings.hasTouchScreen + || branchDecorationContains(mouse.x, mouse.y)) { + return + } + if (selectionMode === SelectionMode.ExtendedSelection + && selection.isSelected(pressedIndex)) { + selectOnRelease = true + return + } + __listView.currentIndex = pressedRow + if (!clickedIndex) + clickedIndex = pressedIndex + mouseSelect(pressedIndex, mouse.modifiers, false) + if (!mouse.modifiers) + clickedIndex = pressedIndex + } + + onReleased: { + if (selectOnRelease) { + var releasedRow = __listView.indexAt(0, mouseY + __listView.contentY) + var releasedIndex = modelAdaptor.mapRowToModelIndex(releasedRow) + if (releasedRow >= 0 && releasedIndex === pressedIndex) + mouseSelect(pressedIndex, mouse.modifiers, false) + } + pressedIndex = undefined + pressedColumn = -1 + autoScroll = 0 + selectOnRelease = false + } + + onPositionChanged: { + // NOTE: Testing for pressed is not technically needed, at least + // until we decide to support tooltips or some other hover feature + if (mouseY > __listView.height && pressed) { + if (autoScroll === 1) return; + autoScroll = 1 + } else if (mouseY < 0 && pressed) { + if (autoScroll === 2) return; + autoScroll = 2 + } else { + autoScroll = 0 + } + + if (pressed && containsMouse) { + var oldPressedIndex = pressedIndex + var pressedRow = __listView.indexAt(0, mouseY + __listView.contentY) + pressedIndex = modelAdaptor.mapRowToModelIndex(pressedRow) + pressedColumn = __listView.columnAt(mouseX) + if (pressedRow > -1 && oldPressedIndex !== pressedIndex) { + __listView.currentIndex = pressedRow + mouseSelect(pressedIndex, mouse.modifiers, true /* drag */) + } + } + } + + onExited: { + pressedIndex = undefined + pressedColumn = -1 + selectOnRelease = false + } + + onCanceled: { + pressedIndex = undefined + pressedColumn = -1 + autoScroll = 0 + selectOnRelease = false + } + + onClicked: { + var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) + if (clickIndex > -1) { + var modelIndex = modelAdaptor.mapRowToModelIndex(clickIndex) + if (branchDecorationContains(mouse.x, mouse.y)) { + if (modelAdaptor.isExpanded(modelIndex)) + modelAdaptor.collapse(modelIndex) + else + modelAdaptor.expand(modelIndex) + } else { + if (Settings.hasTouchScreen) { + // compensate for the fact that onPressed didn't select on press: do it here instead + pressedIndex = modelAdaptor.mapRowToModelIndex(clickIndex) + pressedColumn = __listView.columnAt(mouseX) + selectOnRelease = false + __listView.forceActiveFocus() + __listView.currentIndex = clickIndex + if (!clickedIndex) + clickedIndex = pressedIndex + mouseSelect(pressedIndex, mouse.modifiers, false) + if (!mouse.modifiers) + clickedIndex = pressedIndex + } + if (root.__activateItemOnSingleClick && !mouse.modifiers) + root.activated(modelIndex) + } + root.clicked(modelIndex) + } + } + + onDoubleClicked: { + var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) + if (clickIndex > -1) { + var modelIndex = modelAdaptor.mapRowToModelIndex(clickIndex) + if (!root.__activateItemOnSingleClick) + root.activated(modelIndex) + root.doubleClicked(modelIndex) + } + } + + onPressAndHold: { + var pressIndex = __listView.indexAt(0, mouseY + __listView.contentY) + if (pressIndex > -1) { + var modelIndex = modelAdaptor.mapRowToModelIndex(pressIndex) + root.pressAndHold(modelIndex) + } + } + + Keys.forwardTo: [root] + + Keys.onUpPressed: { + event.accepted = __listView.decrementCurrentIndexBlocking() + keySelect(event.modifiers) + } + + Keys.onDownPressed: { + event.accepted = __listView.incrementCurrentIndexBlocking() + keySelect(event.modifiers) + } + + Keys.onRightPressed: { + if (root.currentIndex.valid) + root.expand(currentIndex) + else + event.accepted = false + } + + Keys.onLeftPressed: { + if (root.currentIndex.valid) + root.collapse(currentIndex) + else + event.accepted = false + } + + Keys.onReturnPressed: { + if (root.currentIndex.valid) + root.activated(currentIndex) + else + event.accepted = false + } + + Keys.onPressed: { + __listView.scrollIfNeeded(event.key) + + if (event.key === Qt.Key_A && event.modifiers & Qt.ControlModifier + && !!selection && selectionMode > SelectionMode.SingleSelection) { + var sel = modelAdaptor.selectionForRowRange(0, __listView.count - 1) + selection.select(sel, ItemSelectionModel.SelectCurrent) + } else if (event.key === Qt.Key_Shift) { + shiftPressed = true + } + } + + Keys.onReleased: { + if (event.key === Qt.Key_Shift) + shiftPressed = false + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TreeView.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TreeView.qmlc new file mode 100644 index 00000000..fb2b8c6c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/TreeView.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/plugins.qmltypes new file mode 100644 index 00000000..0242497c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/plugins.qmltypes @@ -0,0 +1,3439 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick.Controls 1.5' + +Module { + dependencies: [ + "QtGraphicalEffects 1.12", + "QtQml 2.14", + "QtQml.Models 2.2", + "QtQuick 2.9", + "QtQuick.Controls.Styles 1.4", + "QtQuick.Extras 1.4", + "QtQuick.Layouts 1.1", + "QtQuick.Window 2.2" + ] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/AbstractItemModel 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "LayoutChangeHint" + values: { + "NoLayoutChangeHint": 0, + "VerticalSortHint": 1, + "HorizontalSortHint": 2 + } + } + Enum { + name: "CheckIndexOption" + values: { + "NoOption": 0, + "IndexIsValid": 1, + "DoNotUseParent": 2, + "ParentIsInvalid": 4 + } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + name: "QQuickAbstractStyle1" + defaultProperty: "data" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/AbstractStyle 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "padding"; type: "QQuickPadding1"; isReadonly: true; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + name: "QQuickAction1" + prototype: "QObject" + exports: ["QtQuick.Controls/Action 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "text"; type: "string" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "__icon"; type: "QVariant"; isReadonly: true } + Property { name: "tooltip"; type: "string" } + Property { name: "enabled"; type: "bool" } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "shortcut"; type: "QVariant" } + Signal { + name: "triggered" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Signal { name: "triggered" } + Signal { + name: "toggled" + Parameter { name: "checked"; type: "bool" } + } + Signal { + name: "shortcutChanged" + Parameter { name: "shortcut"; type: "QVariant" } + } + Signal { name: "iconChanged" } + Signal { + name: "tooltipChanged" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "trigger" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Method { name: "trigger" } + } + Component { + name: "QQuickCalendarModel1" + prototype: "QAbstractListModel" + exports: ["QtQuick.Controls.Private/CalendarModel 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "visibleDate"; type: "QDate" } + Property { name: "locale"; type: "QLocale" } + Property { name: "count"; type: "int"; isReadonly: true } + Signal { + name: "visibleDateChanged" + Parameter { name: "visibleDate"; type: "QDate" } + } + Signal { + name: "localeChanged" + Parameter { name: "locale"; type: "QLocale" } + } + Signal { + name: "countChanged" + Parameter { name: "count"; type: "int" } + } + Method { + name: "dateAt" + type: "QDateTime" + Parameter { name: "index"; type: "int" } + } + Method { + name: "indexAt" + type: "int" + Parameter { name: "visibleDate"; type: "QDate" } + } + Method { + name: "weekNumberAt" + type: "int" + Parameter { name: "row"; type: "int" } + } + } + Component { + name: "QQuickControlSettings1" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/Settings 1.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Property { name: "style"; type: "QUrl"; isReadonly: true } + Property { name: "styleName"; type: "string" } + Property { name: "stylePath"; type: "string" } + Property { name: "dpiScaleFactor"; type: "double"; isReadonly: true } + Property { name: "dragThreshold"; type: "double"; isReadonly: true } + Property { name: "hasTouchScreen"; type: "bool"; isReadonly: true } + Property { name: "isMobile"; type: "bool"; isReadonly: true } + Property { name: "hoverEnabled"; type: "bool"; isReadonly: true } + Method { + name: "styleComponent" + type: "QQmlComponent*" + Parameter { name: "styleDirUrl"; type: "QUrl" } + Parameter { name: "controlStyleName"; type: "string" } + Parameter { name: "control"; type: "QObject"; isPointer: true } + } + } + Component { + name: "QQuickControlsPrivate1" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/Controls 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickControlsPrivate1Attached" + } + Component { + name: "QQuickControlsPrivate1Attached" + prototype: "QObject" + Property { name: "window"; type: "QQuickWindow"; isReadonly: true; isPointer: true } + } + Component { + name: "QQuickExclusiveGroup1" + defaultProperty: "__actions" + prototype: "QObject" + exports: ["QtQuick.Controls/ExclusiveGroup 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "current"; type: "QObject"; isPointer: true } + Property { name: "__actions"; type: "QQuickAction1"; isList: true; isReadonly: true } + Method { + name: "bindCheckable" + Parameter { name: "o"; type: "QObject"; isPointer: true } + } + Method { + name: "unbindCheckable" + Parameter { name: "o"; type: "QObject"; isPointer: true } + } + } + Component { + name: "QQuickMenu1" + defaultProperty: "items" + prototype: "QQuickMenuText1" + exports: ["QtQuick.Controls.Private/MenuPrivate 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "MenuType" + values: { + "DefaultMenu": 0, + "EditMenu": 1 + } + } + Property { name: "title"; type: "string" } + Property { name: "items"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "__selectedIndex"; type: "int" } + Property { name: "__popupVisible"; type: "bool"; isReadonly: true } + Property { name: "__contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__minimumWidth"; type: "int" } + Property { name: "__font"; type: "QFont" } + Property { name: "__xOffset"; type: "double" } + Property { name: "__yOffset"; type: "double" } + Property { name: "__action"; type: "QQuickAction1"; isReadonly: true; isPointer: true } + Property { name: "__popupGeometry"; type: "QRect"; isReadonly: true } + Property { name: "__isProxy"; type: "bool" } + Signal { name: "aboutToShow" } + Signal { name: "aboutToHide" } + Signal { name: "popupVisibleChanged" } + Signal { name: "__menuPopupDestroyed" } + Signal { name: "menuContentItemChanged" } + Signal { name: "minimumWidthChanged" } + Signal { name: "__proxyChanged" } + Method { name: "__dismissMenu" } + Method { name: "__closeAndDestroy" } + Method { name: "__dismissAndDestroy" } + Method { name: "popup" } + Method { + name: "addItem" + type: "QQuickMenuItem1*" + Parameter { type: "string" } + } + Method { + name: "insertItem" + type: "QQuickMenuItem1*" + Parameter { type: "int" } + Parameter { type: "string" } + } + Method { name: "addSeparator" } + Method { + name: "insertSeparator" + Parameter { type: "int" } + } + Method { + name: "insertItem" + Parameter { type: "int" } + Parameter { type: "QQuickMenuBase1"; isPointer: true } + } + Method { + name: "removeItem" + Parameter { type: "QQuickMenuBase1"; isPointer: true } + } + Method { name: "clear" } + Method { + name: "__popup" + Parameter { name: "targetRect"; type: "QRectF" } + Parameter { name: "atItemIndex"; type: "int" } + Parameter { name: "menuType"; type: "MenuType" } + } + Method { + name: "__popup" + Parameter { name: "targetRect"; type: "QRectF" } + Parameter { name: "atItemIndex"; type: "int" } + } + Method { + name: "__popup" + Parameter { name: "targetRect"; type: "QRectF" } + } + } + Component { + name: "QQuickMenuBar1" + defaultProperty: "menus" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/MenuBarPrivate 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "menus"; type: "QQuickMenu1"; isList: true; isReadonly: true } + Property { name: "__contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__parentWindow"; type: "QQuickWindow"; isPointer: true } + Property { name: "__isNative"; type: "bool" } + Signal { name: "nativeChanged" } + Signal { name: "contentItemChanged" } + } + Component { + name: "QQuickMenuBase1" + prototype: "QObject" + exports: ["QtQuick.Controls/MenuBase 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "visible"; type: "bool" } + Property { name: "type"; type: "QQuickMenuItemType1::MenuItemType"; isReadonly: true } + Property { name: "__parentMenu"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "__isNative"; type: "bool"; isReadonly: true } + Property { name: "__visualItem"; type: "QQuickItem"; isPointer: true } + } + Component { + name: "QQuickMenuItem1" + prototype: "QQuickMenuText1" + exports: ["QtQuick.Controls/MenuItem 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "text"; type: "string" } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "shortcut"; type: "QVariant" } + Property { name: "action"; type: "QQuickAction1"; isPointer: true } + Signal { name: "triggered" } + Signal { + name: "toggled" + Parameter { name: "checked"; type: "bool" } + } + Method { name: "trigger" } + } + Component { + name: "QQuickMenuItemType1" + exports: ["QtQuick.Controls/MenuItemType 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "MenuItemType" + values: { + "Separator": 0, + "Item": 1, + "Menu": 2, + "ScrollIndicator": 3 + } + } + } + Component { + name: "QQuickMenuSeparator1" + prototype: "QQuickMenuBase1" + exports: ["QtQuick.Controls/MenuSeparator 1.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickMenuText1" + prototype: "QQuickMenuBase1" + Property { name: "enabled"; type: "bool" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "__icon"; type: "QVariant"; isReadonly: true } + Signal { name: "__textChanged" } + } + Component { + name: "QQuickPadding1" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/Padding 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "left"; type: "int" } + Property { name: "top"; type: "int" } + Property { name: "right"; type: "int" } + Property { name: "bottom"; type: "int" } + Method { + name: "setLeft" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setTop" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setRight" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setBottom" + Parameter { name: "arg"; type: "int" } + } + } + Component { + name: "QQuickPopupWindow1" + defaultProperty: "popupContentItem" + prototype: "QQuickWindow" + exports: ["QtQuick.Controls.Private/PopupWindow 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "popupContentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "parentItem"; type: "QQuickItem"; isPointer: true } + Signal { name: "popupDismissed" } + Signal { name: "geometryChanged" } + Method { name: "show" } + Method { name: "dismissPopup" } + } + Component { + name: "QQuickRangeModel1" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/RangeModel 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "value"; type: "double" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "stepSize"; type: "double" } + Property { name: "position"; type: "double" } + Property { name: "positionAtMinimum"; type: "double" } + Property { name: "positionAtMaximum"; type: "double" } + Property { name: "inverted"; type: "bool" } + Signal { + name: "valueChanged" + Parameter { name: "value"; type: "double" } + } + Signal { + name: "positionChanged" + Parameter { name: "position"; type: "double" } + } + Signal { + name: "stepSizeChanged" + Parameter { name: "stepSize"; type: "double" } + } + Signal { + name: "invertedChanged" + Parameter { name: "inverted"; type: "bool" } + } + Signal { + name: "minimumChanged" + Parameter { name: "min"; type: "double" } + } + Signal { + name: "maximumChanged" + Parameter { name: "max"; type: "double" } + } + Signal { + name: "positionAtMinimumChanged" + Parameter { name: "min"; type: "double" } + } + Signal { + name: "positionAtMaximumChanged" + Parameter { name: "max"; type: "double" } + } + Method { name: "toMinimum" } + Method { name: "toMaximum" } + Method { + name: "setValue" + Parameter { name: "value"; type: "double" } + } + Method { + name: "setPosition" + Parameter { name: "position"; type: "double" } + } + Method { name: "increaseSingleStep" } + Method { name: "decreaseSingleStep" } + Method { + name: "valueForPosition" + type: "double" + Parameter { name: "position"; type: "double" } + } + Method { + name: "positionForValue" + type: "double" + Parameter { name: "value"; type: "double" } + } + } + Component { + name: "QQuickRangedDate1" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/RangedDate 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "date"; type: "QDateTime" } + Property { name: "minimumDate"; type: "QDateTime" } + Property { name: "maximumDate"; type: "QDateTime" } + } + Component { + name: "QQuickRootItem" + defaultProperty: "data" + prototype: "QQuickItem" + Method { + name: "setWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "h"; type: "int" } + } + } + Component { + name: "QQuickScenePosListener1" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/ScenePosListener 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "item"; type: "QQuickItem"; isPointer: true } + Property { name: "scenePos"; type: "QPointF"; isReadonly: true } + Property { name: "enabled"; type: "bool" } + } + Component { + name: "QQuickSelectionMode1" + exports: ["QtQuick.Controls/SelectionMode 1.1"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "SelectionMode" + values: { + "NoSelection": 0, + "SingleSelection": 1, + "ExtendedSelection": 2, + "MultiSelection": 3, + "ContiguousSelection": 4 + } + } + } + Component { + name: "QQuickSpinBoxValidator1" + prototype: "QValidator" + exports: ["QtQuick.Controls.Private/SpinBoxValidator 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "text"; type: "string"; isReadonly: true } + Property { name: "value"; type: "double" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "decimals"; type: "int" } + Property { name: "stepSize"; type: "double" } + Property { name: "prefix"; type: "string" } + Property { name: "suffix"; type: "string" } + Method { name: "increment" } + Method { name: "decrement" } + } + Component { + name: "QQuickStack1" + prototype: "QObject" + exports: ["QtQuick.Controls/Stack 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: { + "Inactive": 0, + "Deactivating": 1, + "Activating": 2, + "Active": 3 + } + } + Property { name: "index"; type: "int"; isReadonly: true } + Property { name: "__index"; type: "int" } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "__status"; type: "Status" } + Property { name: "view"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "__view"; type: "QQuickItem"; isPointer: true } + } + Component { + name: "QQuickStyleItem1" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.Private/StyleItem 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "border"; type: "QQuickPadding1"; isReadonly: true; isPointer: true } + Property { name: "sunken"; type: "bool" } + Property { name: "raised"; type: "bool" } + Property { name: "active"; type: "bool" } + Property { name: "selected"; type: "bool" } + Property { name: "hasFocus"; type: "bool" } + Property { name: "on"; type: "bool" } + Property { name: "hover"; type: "bool" } + Property { name: "horizontal"; type: "bool" } + Property { name: "isTransient"; type: "bool" } + Property { name: "elementType"; type: "string" } + Property { name: "text"; type: "string" } + Property { name: "activeControl"; type: "string" } + Property { name: "style"; type: "string"; isReadonly: true } + Property { name: "hints"; type: "QVariantMap" } + Property { name: "properties"; type: "QVariantMap" } + Property { name: "font"; type: "QFont"; isReadonly: true } + Property { name: "minimum"; type: "int" } + Property { name: "maximum"; type: "int" } + Property { name: "value"; type: "int" } + Property { name: "step"; type: "int" } + Property { name: "paintMargins"; type: "int" } + Property { name: "contentWidth"; type: "int" } + Property { name: "contentHeight"; type: "int" } + Property { name: "textureWidth"; type: "int" } + Property { name: "textureHeight"; type: "int" } + Signal { name: "transientChanged" } + Signal { name: "infoChanged" } + Signal { name: "hintChanged" } + Signal { + name: "contentWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "contentHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "textureWidthChanged" + Parameter { name: "w"; type: "int" } + } + Signal { + name: "textureHeightChanged" + Parameter { name: "h"; type: "int" } + } + Method { + name: "pixelMetric" + type: "int" + Parameter { type: "string" } + } + Method { + name: "styleHint" + type: "QVariant" + Parameter { type: "string" } + } + Method { name: "updateSizeHint" } + Method { name: "updateRect" } + Method { name: "updateBaselineOffset" } + Method { name: "updateItem" } + Method { + name: "hitTest" + type: "string" + Parameter { name: "x"; type: "int" } + Parameter { name: "y"; type: "int" } + } + Method { + name: "subControlRect" + type: "QRectF" + Parameter { name: "subcontrolString"; type: "string" } + } + Method { + name: "elidedText" + type: "string" + Parameter { name: "text"; type: "string" } + Parameter { name: "elideMode"; type: "int" } + Parameter { name: "width"; type: "int" } + } + Method { + name: "hasThemeIcon" + type: "bool" + Parameter { type: "string" } + } + Method { + name: "textWidth" + type: "double" + Parameter { type: "string" } + } + Method { + name: "textHeight" + type: "double" + Parameter { type: "string" } + } + } + Component { + name: "QQuickTooltip1" + prototype: "QObject" + exports: ["QtQuick.Controls.Private/Tooltip 1.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Method { + name: "showText" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + Parameter { name: "pos"; type: "QPointF" } + Parameter { name: "text"; type: "string" } + } + Method { name: "hideText" } + } + Component { + name: "QQuickTreeModelAdaptor1" + prototype: "QAbstractListModel" + exports: ["QtQuick.Controls.Private/TreeModelAdaptor 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } + Property { name: "rootIndex"; type: "QModelIndex" } + Signal { + name: "modelChanged" + Parameter { name: "model"; type: "QAbstractItemModel"; isPointer: true } + } + Signal { + name: "expanded" + Parameter { name: "index"; type: "QModelIndex" } + } + Signal { + name: "collapsed" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "expand" + Parameter { type: "QModelIndex" } + } + Method { + name: "collapse" + Parameter { type: "QModelIndex" } + } + Method { + name: "setModel" + Parameter { name: "model"; type: "QAbstractItemModel"; isPointer: true } + } + Method { + name: "mapRowToModelIndex" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + } + Method { + name: "selectionForRowRange" + type: "QItemSelection" + Parameter { name: "fromIndex"; type: "QModelIndex" } + Parameter { name: "toIndex"; type: "QModelIndex" } + } + Method { + name: "isExpanded" + type: "bool" + Parameter { type: "QModelIndex" } + } + } + Component { + name: "QQuickWheelArea1" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Controls.Private/WheelArea 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "verticalDelta"; type: "double" } + Property { name: "horizontalDelta"; type: "double" } + Property { name: "horizontalMinimumValue"; type: "double" } + Property { name: "horizontalMaximumValue"; type: "double" } + Property { name: "verticalMinimumValue"; type: "double" } + Property { name: "verticalMaximumValue"; type: "double" } + Property { name: "horizontalValue"; type: "double" } + Property { name: "verticalValue"; type: "double" } + Property { name: "scrollSpeed"; type: "double" } + Property { name: "active"; type: "bool" } + Property { name: "inverted"; type: "bool"; isReadonly: true } + Signal { name: "verticalWheelMoved" } + Signal { name: "horizontalWheelMoved" } + } + Component { + prototype: "QQuickWindowQmlImpl" + name: "QtQuick.Controls/ApplicationWindow 1.0" + exports: ["QtQuick.Controls/ApplicationWindow 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "menuBar"; type: "MenuBar_QMLTYPE_4"; isPointer: true } + Property { name: "toolBar"; type: "QQuickItem"; isPointer: true } + Property { name: "statusBar"; type: "QQuickItem"; isPointer: true } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__topBottomMargins"; type: "double" } + Property { name: "__qwindowsize_max"; type: "double"; isReadonly: true } + Property { name: "__width"; type: "double" } + Property { name: "__height"; type: "double" } + Property { name: "contentItem"; type: "ContentItem_QMLTYPE_2"; isReadonly: true; isPointer: true } + Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "__panel"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + prototype: "QObject" + name: "QtQuick.Controls.Styles/ApplicationWindowStyle 1.3" + exports: ["QtQuick.Controls.Styles/ApplicationWindowStyle 1.3"] + exportMetaObjectRevisions: [3] + isComposite: true + Property { + name: "control" + type: "ApplicationWindow_QMLTYPE_14" + isReadonly: true + isPointer: true + } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/BusyIndicator 1.1" + exports: ["QtQuick.Controls/BusyIndicator 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "running"; type: "bool" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/BusyIndicatorStyle 1.1" + exports: ["QtQuick.Controls.Styles/BusyIndicatorStyle 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "BusyIndicator_QMLTYPE_21"; isReadonly: true; isPointer: true } + Property { name: "indicator"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/Button 1.0" + exports: ["QtQuick.Controls/Button 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "isDefault"; type: "bool" } + Property { name: "menu"; type: "Menu_QMLTYPE_55"; isPointer: true } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "action"; type: "QQuickAction1"; isPointer: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "text"; type: "string" } + Property { name: "tooltip"; type: "string" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "__position"; type: "string" } + Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } + Property { name: "__action"; type: "QQuickAction1"; isPointer: true } + Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } + Property { name: "__behavior"; type: "QVariant" } + Property { name: "__effectivePressed"; type: "bool" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + Method { name: "accessiblePressAction"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/ButtonStyle 1.0" + exports: ["QtQuick.Controls.Styles/ButtonStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "Button_QMLTYPE_60"; isReadonly: true; isPointer: true } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "label"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/Calendar 1.2" + exports: ["QtQuick.Controls/Calendar 1.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "data" + Property { name: "visibleMonth"; type: "int" } + Property { name: "visibleYear"; type: "int" } + Property { name: "frameVisible"; type: "bool" } + Property { name: "weekNumbersVisible"; type: "bool" } + Property { name: "navigationBarVisible"; type: "bool" } + Property { name: "dayOfWeekFormat"; type: "int" } + Property { name: "locale"; type: "QVariant" } + Property { name: "__model"; type: "QQuickCalendarModel1"; isPointer: true } + Property { name: "selectedDate"; type: "QDateTime" } + Property { name: "minimumDate"; type: "QDateTime" } + Property { name: "maximumDate"; type: "QDateTime" } + Property { name: "__locale"; type: "QVariant" } + Signal { + name: "hovered" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "pressed" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "released" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "clicked" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "doubleClicked" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "pressAndHold" + Parameter { name: "date"; type: "QDateTime" } + } + Method { name: "showPreviousMonth"; type: "QVariant" } + Method { name: "showNextMonth"; type: "QVariant" } + Method { name: "showPreviousYear"; type: "QVariant" } + Method { name: "showNextYear"; type: "QVariant" } + Method { name: "__selectPreviousMonth"; type: "QVariant" } + Method { name: "__selectNextMonth"; type: "QVariant" } + Method { name: "__selectPreviousWeek"; type: "QVariant" } + Method { name: "__selectNextWeek"; type: "QVariant" } + Method { name: "__selectFirstDayOfMonth"; type: "QVariant" } + Method { name: "__selectLastDayOfMonth"; type: "QVariant" } + Method { name: "__selectPreviousDay"; type: "QVariant" } + Method { name: "__selectNextDay"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/Calendar 1.6" + exports: ["QtQuick.Controls/Calendar 1.6"] + exportMetaObjectRevisions: [6] + isComposite: true + defaultProperty: "data" + Property { name: "visibleMonth"; type: "int" } + Property { name: "visibleYear"; type: "int" } + Property { name: "frameVisible"; type: "bool" } + Property { name: "weekNumbersVisible"; type: "bool" } + Property { name: "navigationBarVisible"; type: "bool" } + Property { name: "dayOfWeekFormat"; type: "int" } + Property { name: "locale"; type: "QVariant" } + Property { name: "__model"; type: "QQuickCalendarModel1"; isPointer: true } + Property { name: "selectedDate"; type: "QDateTime" } + Property { name: "minimumDate"; type: "QDateTime" } + Property { name: "maximumDate"; type: "QDateTime" } + Property { name: "__locale"; type: "QVariant" } + Signal { + name: "hovered" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "pressed" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "released" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "clicked" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "doubleClicked" + Parameter { name: "date"; type: "QDateTime" } + } + Signal { + name: "pressAndHold" + Parameter { name: "date"; type: "QDateTime" } + } + Method { name: "showPreviousMonth"; type: "QVariant" } + Method { name: "showNextMonth"; type: "QVariant" } + Method { name: "showPreviousYear"; type: "QVariant" } + Method { name: "showNextYear"; type: "QVariant" } + Method { name: "__selectPreviousMonth"; type: "QVariant" } + Method { name: "__selectNextMonth"; type: "QVariant" } + Method { name: "__selectPreviousWeek"; type: "QVariant" } + Method { name: "__selectNextWeek"; type: "QVariant" } + Method { name: "__selectFirstDayOfMonth"; type: "QVariant" } + Method { name: "__selectLastDayOfMonth"; type: "QVariant" } + Method { name: "__selectPreviousDay"; type: "QVariant" } + Method { name: "__selectNextDay"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/CalendarStyle 1.1" + exports: ["QtQuick.Controls.Styles/CalendarStyle 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "Calendar_QMLTYPE_65"; isReadonly: true; isPointer: true } + Property { name: "gridColor"; type: "QColor" } + Property { name: "gridVisible"; type: "bool" } + Property { name: "__gridLineWidth"; type: "double" } + Property { name: "__horizontalSeparatorColor"; type: "QColor" } + Property { name: "__verticalSeparatorColor"; type: "QColor" } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "navigationBar"; type: "QQmlComponent"; isPointer: true } + Property { name: "dayDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "dayOfWeekDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "weekNumberDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Method { + name: "__cellRectAt" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "__isValidDate" + type: "QVariant" + Parameter { name: "date"; type: "QVariant" } + } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/CheckBox 1.0" + exports: ["QtQuick.Controls/CheckBox 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "checkedState"; type: "int" } + Property { name: "partiallyCheckedEnabled"; type: "bool" } + Property { name: "__ignoreChecked"; type: "bool" } + Property { name: "__ignoreCheckedState"; type: "bool" } + Method { name: "__cycleCheckBoxStates"; type: "QVariant" } + Property { name: "checked"; type: "bool" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "text"; type: "string" } + Property { name: "tooltip"; type: "string" } + Property { name: "__cycleStatesHandler"; type: "QVariant" } + Property { name: "pressed"; type: "bool" } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/CheckBoxStyle 1.0" + exports: ["QtQuick.Controls.Styles/CheckBoxStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "CheckBox_QMLTYPE_88"; isReadonly: true; isPointer: true } + Property { name: "label"; type: "QQmlComponent"; isPointer: true } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "spacing"; type: "int" } + Property { name: "indicator"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/CircularButtonStyle 1.0" + exports: ["QtQuick.Controls.Styles/CircularButtonStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { + name: "__buttonHelper" + type: "CircularButtonStyleHelper_QMLTYPE_93" + isReadonly: true + isPointer: true + } + Property { name: "control"; type: "Button_QMLTYPE_60"; isReadonly: true; isPointer: true } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "label"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/CircularGaugeStyle 1.0" + exports: ["QtQuick.Controls.Styles/CircularGaugeStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "CircularGauge_QMLTYPE_97"; isReadonly: true; isPointer: true } + Property { name: "outerRadius"; type: "double"; isReadonly: true } + Property { name: "minimumValueAngle"; type: "double" } + Property { name: "maximumValueAngle"; type: "double" } + Property { name: "angleRange"; type: "double"; isReadonly: true } + Property { name: "needleRotation"; type: "double" } + Property { name: "tickmarkStepSize"; type: "double" } + Property { name: "tickmarkInset"; type: "double" } + Property { name: "tickmarkCount"; type: "int"; isReadonly: true } + Property { name: "minorTickmarkCount"; type: "int" } + Property { name: "minorTickmarkInset"; type: "double" } + Property { name: "labelInset"; type: "double" } + Property { name: "labelStepSize"; type: "double" } + Property { name: "labelCount"; type: "int"; isReadonly: true } + Property { name: "__protectedScope"; type: "QObject"; isPointer: true } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "tickmark"; type: "QQmlComponent"; isPointer: true } + Property { name: "minorTickmark"; type: "QQmlComponent"; isPointer: true } + Property { name: "tickmarkLabel"; type: "QQmlComponent"; isPointer: true } + Property { name: "needle"; type: "QQmlComponent"; isPointer: true } + Property { name: "foreground"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Method { + name: "valueToAngle" + type: "QVariant" + Parameter { name: "value"; type: "QVariant" } + } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/CircularTickmarkLabelStyle 1.0" + exports: ["QtQuick.Controls.Styles/CircularTickmarkLabelStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "outerRadius"; type: "double"; isReadonly: true } + Property { name: "__protectedScope"; type: "QObject"; isPointer: true } + Property { name: "tickmark"; type: "QQmlComponent"; isPointer: true } + Property { name: "minorTickmark"; type: "QQmlComponent"; isPointer: true } + Property { name: "tickmarkLabel"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/ComboBox 1.0" + exports: ["QtQuick.Controls/ComboBox 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "textRole"; type: "string" } + Property { name: "editable"; type: "bool" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "menu"; type: "QQmlComponent"; isPointer: true } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "__popup"; type: "QVariant" } + Property { name: "model"; type: "QVariant" } + Property { name: "currentIndex"; type: "int" } + Property { name: "currentText"; type: "string"; isReadonly: true } + Property { name: "editText"; type: "string" } + Property { name: "inputMethodHints"; type: "int" } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "validator"; type: "QValidator"; isPointer: true } + Property { name: "acceptableInput"; type: "bool"; isReadonly: true } + Signal { name: "accepted" } + Signal { + name: "activated" + Parameter { name: "index"; type: "int" } + } + Method { + name: "textAt" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "find" + type: "QVariant" + Parameter { name: "text"; type: "QVariant" } + } + Method { name: "selectAll"; type: "QVariant" } + Method { name: "__selectPrevItem"; type: "QVariant" } + Method { name: "__selectNextItem"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/ComboBoxStyle 1.0" + exports: ["QtQuick.Controls.Styles/ComboBoxStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "renderType"; type: "int" } + Property { name: "font"; type: "QFont" } + Property { name: "textColor"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "selectedTextColor"; type: "QColor" } + Property { name: "control"; type: "ComboBox_QMLTYPE_120"; isReadonly: true; isPointer: true } + Property { name: "dropDownButtonWidth"; type: "int" } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "__editor"; type: "QQmlComponent"; isPointer: true } + Property { name: "label"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Property { name: "__dropDownStyle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__popupStyle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__cursorHandle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__selectionHandle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__cursorDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "drowDownButtonWidth"; type: "int" } + } + Component { + prototype: "QObject" + name: "QtQuick.Controls.Styles/CommonStyleHelper 1.0" + exports: ["QtQuick.Controls.Styles/CommonStyleHelper 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "buttonColorUpTop"; type: "QColor" } + Property { name: "buttonColorUpBottom"; type: "QColor" } + Property { name: "buttonColorDownTop"; type: "QColor" } + Property { name: "buttonColorDownBottom"; type: "QColor" } + Property { name: "textColorUp"; type: "QColor" } + Property { name: "textColorDown"; type: "QColor" } + Property { name: "textRaisedColorUp"; type: "QColor" } + Property { name: "textRaisedColorDown"; type: "QColor" } + Property { name: "offColor"; type: "QColor" } + Property { name: "offColorShine"; type: "QColor" } + Property { name: "onColor"; type: "QColor" } + Property { name: "onColorShine"; type: "QColor" } + Property { name: "inactiveColor"; type: "QColor" } + Property { name: "inactiveColorShine"; type: "QColor" } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/DelayButtonStyle 1.0" + exports: ["QtQuick.Controls.Styles/DelayButtonStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "DelayButton_QMLTYPE_159"; isReadonly: true; isPointer: true } + Property { name: "progressBarGradient"; type: "QQuickGradient"; isPointer: true } + Property { name: "progressBarDropShadowColor"; type: "QColor" } + Property { name: "foreground"; type: "QQmlComponent"; isPointer: true } + Property { + name: "__buttonHelper" + type: "CircularButtonStyleHelper_QMLTYPE_93" + isReadonly: true + isPointer: true + } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "label"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/DialStyle 1.1" + exports: ["QtQuick.Controls.Styles/DialStyle 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "Dial_QMLTYPE_165"; isReadonly: true; isPointer: true } + Property { name: "outerRadius"; type: "double"; isReadonly: true } + Property { name: "handleInset"; type: "double" } + Property { name: "tickmarkStepSize"; type: "double" } + Property { name: "tickmarkInset"; type: "double" } + Property { name: "tickmarkCount"; type: "int"; isReadonly: true } + Property { name: "minorTickmarkCount"; type: "int" } + Property { name: "minorTickmarkInset"; type: "double" } + Property { name: "labelInset"; type: "double" } + Property { name: "labelStepSize"; type: "double" } + Property { name: "labelCount"; type: "int"; isReadonly: true } + Property { name: "__tickmarkRadius"; type: "double"; isReadonly: true } + Property { name: "__handleRadius"; type: "double"; isReadonly: true } + Property { name: "__dragToSet"; type: "bool" } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Property { name: "tickmark"; type: "QQmlComponent"; isPointer: true } + Property { name: "minorTickmark"; type: "QQmlComponent"; isPointer: true } + Property { name: "tickmarkLabel"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Method { + name: "valueToAngle" + type: "QVariant" + Parameter { name: "value"; type: "QVariant" } + } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/GaugeStyle 1.0" + exports: ["QtQuick.Controls.Styles/GaugeStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "Gauge_QMLTYPE_173"; isReadonly: true; isPointer: true } + Property { name: "valuePosition"; type: "double"; isReadonly: true } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "tickmark"; type: "QQmlComponent"; isPointer: true } + Property { name: "minorTickmark"; type: "QQmlComponent"; isPointer: true } + Property { name: "tickmarkLabel"; type: "QQmlComponent"; isPointer: true } + Property { name: "valueBar"; type: "QQmlComponent"; isPointer: true } + Property { name: "foreground"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/GroupBox 1.0" + exports: ["QtQuick.Controls/GroupBox 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "__content" + Property { name: "title"; type: "string" } + Property { name: "flat"; type: "bool" } + Property { name: "checkable"; type: "bool" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "checked"; type: "bool" } + Property { name: "__content"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "__checkbox"; type: "CheckBox_QMLTYPE_88"; isReadonly: true; isPointer: true } + Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/HandleStyle 1.0" + exports: ["QtQuick.Controls.Styles/HandleStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Property { name: "handleColorTop"; type: "QColor" } + Property { name: "handleColorBottom"; type: "QColor" } + Property { name: "handleColorBottomStop"; type: "double" } + Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QObject" + name: "QtQuick.Controls.Styles/HandleStyleHelper 1.0" + exports: ["QtQuick.Controls.Styles/HandleStyleHelper 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + Property { name: "handleColorTop"; type: "QColor" } + Property { name: "handleColorBottom"; type: "QColor" } + Property { name: "handleColorBottomStop"; type: "double" } + Property { name: "handleRingColorTop"; type: "QColor" } + Property { name: "handleRingColorBottom"; type: "QColor" } + Method { + name: "paintHandle" + type: "QVariant" + Parameter { name: "ctx"; type: "QVariant" } + Parameter { name: "handleX"; type: "QVariant" } + Parameter { name: "handleY"; type: "QVariant" } + Parameter { name: "handleWidth"; type: "QVariant" } + Parameter { name: "handleHeight"; type: "QVariant" } + } + } + Component { + prototype: "QQuickText" + name: "QtQuick.Controls/Label 1.0" + exports: ["QtQuick.Controls/Label 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + } + Component { + prototype: "QQuickMenu1" + name: "QtQuick.Controls/Menu 1.0" + exports: ["QtQuick.Controls/Menu 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "items" + Property { name: "__selfComponent"; type: "QQmlComponent"; isPointer: true } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__usingDefaultStyle"; type: "bool" } + Property { name: "__parentContentItem"; type: "QVariant" } + Property { name: "__currentIndex"; type: "int" } + Method { + name: "addMenu" + type: "QVariant" + Parameter { name: "title"; type: "QVariant" } + } + Method { + name: "insertMenu" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + Parameter { name: "title"; type: "QVariant" } + } + } + Component { + prototype: "QQuickMenuBar1" + name: "QtQuick.Controls/MenuBar 1.0" + exports: ["QtQuick.Controls/MenuBar 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "menus" + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__menuBarComponent"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/MenuBarStyle 1.2" + exports: ["QtQuick.Controls.Styles/MenuBarStyle 1.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "data" + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "menuStyle"; type: "QQmlComponent"; isPointer: true } + Property { name: "font"; type: "QFont" } + Property { name: "__isNative"; type: "bool" } + Method { + name: "formatMnemonic" + type: "QVariant" + Parameter { name: "text"; type: "QVariant" } + Parameter { name: "underline"; type: "QVariant" } + } + Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/MenuStyle 1.2" + exports: ["QtQuick.Controls.Styles/MenuStyle 1.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "data" + Property { name: "submenuOverlap"; type: "int" } + Property { name: "submenuPopupDelay"; type: "int" } + Property { name: "frame"; type: "QQmlComponent"; isPointer: true } + Property { name: "separator"; type: "QQmlComponent"; isPointer: true } + Property { name: "scrollIndicator"; type: "QQmlComponent"; isPointer: true } + Property { name: "font"; type: "QFont" } + Property { name: "__menuItemType"; type: "string" } + Property { name: "__backgroundColor"; type: "QColor" } + Property { name: "__borderColor"; type: "QColor" } + Property { name: "__maxPopupHeight"; type: "int" } + Property { name: "__selectedBackgroundColor"; type: "QColor" } + Property { name: "__labelColor"; type: "QColor" } + Property { name: "__selectedLabelColor"; type: "QColor" } + Property { name: "__disabledLabelColor"; type: "QColor" } + Property { name: "__mirrored"; type: "bool"; isReadonly: true } + Property { name: "__leftLabelMargin"; type: "int" } + Property { name: "__rightLabelMargin"; type: "int" } + Property { name: "__minRightLabelSpacing"; type: "int" } + Property { name: "__scrollerStyle"; type: "QQmlComponent"; isPointer: true } + Property { name: "menuItemPanel"; type: "QQmlComponent"; isPointer: true } + Property { + name: "itemDelegate" + type: "MenuItemSubControls_QMLTYPE_125" + isReadonly: true + isPointer: true + } + Method { + name: "formatMnemonic" + type: "QVariant" + Parameter { name: "text"; type: "QVariant" } + Parameter { name: "underline"; type: "QVariant" } + } + Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/PieMenuStyle 1.3" + exports: ["QtQuick.Controls.Styles/PieMenuStyle 1.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "PieMenu_QMLTYPE_192"; isReadonly: true; isPointer: true } + Property { name: "backgroundColor"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "shadowColor"; type: "QColor" } + Property { name: "shadowRadius"; type: "double" } + Property { name: "shadowSpread"; type: "double" } + Property { name: "radius"; type: "double"; isReadonly: true } + Property { name: "cancelRadius"; type: "double" } + Property { name: "startAngle"; type: "double" } + Property { name: "endAngle"; type: "double" } + Property { name: "__iconOffset"; type: "double"; isReadonly: true } + Property { name: "__selectableRadius"; type: "double"; isReadonly: true } + Property { name: "__implicitWidth"; type: "int" } + Property { name: "__implicitHeight"; type: "int" } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "cancel"; type: "QQmlComponent"; isPointer: true } + Property { name: "title"; type: "QQmlComponent"; isPointer: true } + Property { name: "menuItem"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Method { + name: "sectionStartAngle" + type: "QVariant" + Parameter { name: "itemIndex"; type: "QVariant" } + } + Method { + name: "sectionCenterAngle" + type: "QVariant" + Parameter { name: "itemIndex"; type: "QVariant" } + } + Method { + name: "sectionEndAngle" + type: "QVariant" + Parameter { name: "itemIndex"; type: "QVariant" } + } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/ProgressBar 1.0" + exports: ["QtQuick.Controls/ProgressBar 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "value"; type: "double" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "indeterminate"; type: "bool" } + Property { name: "orientation"; type: "int" } + Property { name: "__initialized"; type: "bool" } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Method { + name: "setValue" + type: "QVariant" + Parameter { name: "v"; type: "QVariant" } + } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/ProgressBarStyle 1.0" + exports: ["QtQuick.Controls.Styles/ProgressBarStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "ProgressBar_QMLTYPE_207"; isReadonly: true; isPointer: true } + Property { name: "currentProgress"; type: "double"; isReadonly: true } + Property { name: "progress"; type: "QQmlComponent"; isPointer: true } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/RadioButton 1.0" + exports: ["QtQuick.Controls/RadioButton 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "checked"; type: "bool" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "text"; type: "string" } + Property { name: "tooltip"; type: "string" } + Property { name: "__cycleStatesHandler"; type: "QVariant" } + Property { name: "pressed"; type: "bool" } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/RadioButtonStyle 1.0" + exports: ["QtQuick.Controls.Styles/RadioButtonStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "RadioButton_QMLTYPE_214"; isReadonly: true; isPointer: true } + Property { name: "label"; type: "QQmlComponent"; isPointer: true } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "spacing"; type: "int" } + Property { name: "indicator"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/ScrollView 1.0" + exports: ["QtQuick.Controls/ScrollView 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentItem" + Property { name: "frameVisible"; type: "bool" } + Property { name: "highlightOnFocus"; type: "bool" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__scrollBarTopMargin"; type: "int" } + Property { name: "__viewTopMargin"; type: "int" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } + Property { name: "horizontalScrollBarPolicy"; type: "int" } + Property { name: "verticalScrollBarPolicy"; type: "int" } + Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } + Property { + name: "__scroller" + type: "ScrollViewHelper_QMLTYPE_32" + isReadonly: true + isPointer: true + } + Property { name: "__verticalScrollbarOffset"; type: "int" } + Property { name: "__wheelAreaScrollSpeed"; type: "double" } + Property { + name: "__horizontalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + Property { + name: "__verticalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/ScrollViewStyle 1.0" + exports: ["QtQuick.Controls.Styles/ScrollViewStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "ScrollView_QMLTYPE_37"; isReadonly: true; isPointer: true } + Property { name: "corner"; type: "QQmlComponent"; isPointer: true } + Property { name: "scrollToClickedPosition"; type: "bool" } + Property { name: "transientScrollBars"; type: "bool" } + Property { name: "frame"; type: "QQmlComponent"; isPointer: true } + Property { name: "minimumHandleLength"; type: "int" } + Property { name: "handleOverlap"; type: "int" } + Property { name: "scrollBarBackground"; type: "QQmlComponent"; isPointer: true } + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "__scrollbar"; type: "QQmlComponent"; isPointer: true } + Property { name: "__externalScrollBars"; type: "bool" } + Property { name: "__scrollBarSpacing"; type: "int" } + Property { name: "__scrollBarFadeDelay"; type: "int" } + Property { name: "__scrollBarFadeDuration"; type: "int" } + Property { name: "__stickyScrollbars"; type: "bool" } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/Slider 1.0" + exports: ["QtQuick.Controls/Slider 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "orientation"; type: "int" } + Property { name: "updateValueWhileDragging"; type: "bool" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "tickmarksEnabled"; type: "bool" } + Property { name: "__horizontal"; type: "bool" } + Property { name: "__handlePos"; type: "double" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "stepSize"; type: "double" } + Property { name: "value"; type: "double" } + Property { name: "wheelEnabled"; type: "bool" } + Method { name: "accessibleIncreaseAction"; type: "QVariant" } + Method { name: "accessibleDecreaseAction"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/Slider 1.6" + exports: ["QtQuick.Controls/Slider 1.6"] + exportMetaObjectRevisions: [6] + isComposite: true + defaultProperty: "data" + Property { name: "orientation"; type: "int" } + Property { name: "updateValueWhileDragging"; type: "bool" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "tickmarksEnabled"; type: "bool" } + Property { name: "__horizontal"; type: "bool" } + Property { name: "__handlePos"; type: "double" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "stepSize"; type: "double" } + Property { name: "value"; type: "double" } + Property { name: "wheelEnabled"; type: "bool" } + Method { name: "accessibleIncreaseAction"; type: "QVariant" } + Method { name: "accessibleDecreaseAction"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/SliderStyle 1.0" + exports: ["QtQuick.Controls.Styles/SliderStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "Slider_QMLTYPE_218"; isReadonly: true; isPointer: true } + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Property { name: "groove"; type: "QQmlComponent"; isPointer: true } + Property { name: "tickmarks"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/SpinBox 1.0" + exports: ["QtQuick.Controls/SpinBox 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "horizontalAlignment"; type: "int" } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "menu"; type: "QQmlComponent"; isPointer: true } + Property { name: "value"; type: "double" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "stepSize"; type: "double" } + Property { name: "suffix"; type: "string" } + Property { name: "prefix"; type: "string" } + Property { name: "decimals"; type: "int" } + Property { name: "font"; type: "QFont" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "__text"; type: "string" } + Property { name: "__baselineOffset"; type: "double" } + Signal { name: "editingFinished" } + Method { name: "__increment"; type: "QVariant" } + Method { name: "__decrement"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/SpinBoxStyle 1.1" + exports: ["QtQuick.Controls.Styles/SpinBoxStyle 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "SpinBox_QMLTYPE_238"; isReadonly: true; isPointer: true } + Property { name: "horizontalAlignment"; type: "int" } + Property { name: "textColor"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "selectedTextColor"; type: "QColor" } + Property { name: "renderType"; type: "int" } + Property { name: "font"; type: "QFont" } + Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Property { name: "__cursorHandle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__selectionHandle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__cursorDelegate"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickItem" + name: "QtQuick.Controls/SplitView 1.0" + exports: ["QtQuick.Controls/SplitView 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "__contents" + Property { name: "orientation"; type: "int" } + Property { name: "handleDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "resizing"; type: "bool" } + Property { name: "__contents"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "__items"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "__handles"; type: "QQuickItem"; isList: true; isReadonly: true } + Method { + name: "addItem" + type: "QVariant" + Parameter { name: "item"; type: "QVariant" } + } + Method { + name: "removeItem" + type: "QVariant" + Parameter { name: "item"; type: "QVariant" } + } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/StackView 1.0" + exports: ["QtQuick.Controls/StackView 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "initialItem"; type: "QVariant" } + Property { name: "busy"; type: "bool"; isReadonly: true } + Property { name: "delegate"; type: "StackViewDelegate_QMLTYPE_252"; isPointer: true } + Property { name: "__currentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__depth"; type: "int" } + Property { name: "__currentTransition"; type: "QVariant" } + Property { name: "__guard"; type: "bool" } + Property { name: "invalidItemReplacement"; type: "QQmlComponent"; isPointer: true } + Property { name: "depth"; type: "int"; isReadonly: true } + Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Method { + name: "push" + type: "QVariant" + Parameter { name: "item"; type: "QVariant" } + } + Method { + name: "pop" + type: "QVariant" + Parameter { name: "item"; type: "QVariant" } + } + Method { name: "clear"; type: "QVariant" } + Method { + name: "find" + type: "QVariant" + Parameter { name: "func"; type: "QVariant" } + Parameter { name: "onlySearchLoadedItems"; type: "QVariant" } + } + Method { + name: "get" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + Parameter { name: "dontLoad"; type: "QVariant" } + } + Method { name: "completeTransition"; type: "QVariant" } + Method { + name: "replace" + type: "QVariant" + Parameter { name: "item"; type: "QVariant" } + Parameter { name: "properties"; type: "QVariant" } + Parameter { name: "immediate"; type: "QVariant" } + } + Method { + name: "__recursionGuard" + type: "QVariant" + Parameter { name: "use"; type: "QVariant" } + } + Method { + name: "__loadElement" + type: "QVariant" + Parameter { name: "element"; type: "QVariant" } + } + Method { + name: "__resolveComponent" + type: "QVariant" + Parameter { name: "unknownObjectType"; type: "QVariant" } + Parameter { name: "element"; type: "QVariant" } + } + Method { + name: "__cleanup" + type: "QVariant" + Parameter { name: "element"; type: "QVariant" } + } + Method { + name: "__setStatus" + type: "QVariant" + Parameter { name: "item"; type: "QVariant" } + Parameter { name: "status"; type: "QVariant" } + } + Method { + name: "__performTransition" + type: "QVariant" + Parameter { name: "transition"; type: "QVariant" } + } + Method { name: "animationFinished"; type: "QVariant" } + } + Component { + prototype: "QObject" + name: "QtQuick.Controls/StackViewDelegate 1.0" + exports: ["QtQuick.Controls/StackViewDelegate 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + Property { name: "pushTransition"; type: "QQmlComponent"; isPointer: true } + Property { name: "popTransition"; type: "QQmlComponent"; isPointer: true } + Property { name: "replaceTransition"; type: "QQmlComponent"; isPointer: true } + Method { + name: "getTransition" + type: "QVariant" + Parameter { name: "properties"; type: "QVariant" } + } + Method { + name: "transitionFinished" + type: "QVariant" + Parameter { name: "properties"; type: "QVariant" } + } + } + Component { + prototype: "QQuickParallelAnimation" + name: "QtQuick.Controls/StackViewTransition 1.0" + exports: ["QtQuick.Controls/StackViewTransition 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "animations" + Property { name: "name"; type: "string" } + Property { name: "enterItem"; type: "QQuickItem"; isPointer: true } + Property { name: "exitItem"; type: "QQuickItem"; isPointer: true } + Property { name: "immediate"; type: "bool" } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/StatusBar 1.0" + exports: ["QtQuick.Controls/StatusBar 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "__content" + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "__content"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/StatusBarStyle 1.0" + exports: ["QtQuick.Controls.Styles/StatusBarStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/StatusIndicatorStyle 1.1" + exports: ["QtQuick.Controls.Styles/StatusIndicatorStyle 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { + name: "control" + type: "StatusIndicator_QMLTYPE_261" + isReadonly: true + isPointer: true + } + Property { name: "color"; type: "QColor" } + Property { name: "indicator"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/Switch 1.1" + exports: ["QtQuick.Controls/Switch 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "checked"; type: "bool" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/SwitchStyle 1.1" + exports: ["QtQuick.Controls.Styles/SwitchStyle 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Property { name: "groove"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickLoader" + name: "QtQuick.Controls/Tab 1.0" + exports: ["QtQuick.Controls/Tab 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "component" + Property { name: "title"; type: "string" } + Property { name: "__inserted"; type: "bool" } + Property { name: "component"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/TabView 1.0" + exports: ["QtQuick.Controls/TabView 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "currentIndex"; type: "int" } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "frameVisible"; type: "bool" } + Property { name: "tabsVisible"; type: "bool" } + Property { name: "tabPosition"; type: "int" } + Property { name: "__tabs"; type: "QQmlListModel"; isPointer: true } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__styleItem"; type: "QVariant" } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Method { + name: "addTab" + type: "QVariant" + Parameter { name: "title"; type: "QVariant" } + Parameter { name: "component"; type: "QVariant" } + } + Method { + name: "insertTab" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + Parameter { name: "title"; type: "QVariant" } + Parameter { name: "component"; type: "QVariant" } + } + Method { + name: "removeTab" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "moveTab" + type: "QVariant" + Parameter { name: "from"; type: "QVariant" } + Parameter { name: "to"; type: "QVariant" } + } + Method { + name: "getTab" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "__willRemoveIndex" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "__didInsertIndex" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { name: "__setOpacities"; type: "QVariant" } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/TabViewStyle 1.0" + exports: ["QtQuick.Controls.Styles/TabViewStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "TabView_QMLTYPE_280"; isReadonly: true; isPointer: true } + Property { name: "tabsMovable"; type: "bool" } + Property { name: "tabsAlignment"; type: "int" } + Property { name: "tabOverlap"; type: "int" } + Property { name: "frameOverlap"; type: "int" } + Property { name: "frame"; type: "QQmlComponent"; isPointer: true } + Property { name: "tab"; type: "QQmlComponent"; isPointer: true } + Property { name: "leftCorner"; type: "QQmlComponent"; isPointer: true } + Property { name: "rightCorner"; type: "QQmlComponent"; isPointer: true } + Property { name: "tabBar"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/TableView 1.0" + exports: ["QtQuick.Controls/TableView 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "__columns" + Property { name: "model"; type: "QVariant" } + Property { name: "rowCount"; type: "int"; isReadonly: true } + Property { name: "currentRow"; type: "int" } + Property { + name: "selection" + type: "TableViewSelection_QMLTYPE_308" + isReadonly: true + isPointer: true + } + Signal { + name: "activated" + Parameter { name: "row"; type: "int" } + } + Signal { + name: "clicked" + Parameter { name: "row"; type: "int" } + } + Signal { + name: "doubleClicked" + Parameter { name: "row"; type: "int" } + } + Signal { + name: "pressAndHold" + Parameter { name: "row"; type: "int" } + } + Method { + name: "positionViewAtRow" + type: "QVariant" + Parameter { name: "row"; type: "QVariant" } + Parameter { name: "mode"; type: "QVariant" } + } + Method { + name: "rowAt" + type: "QVariant" + Parameter { name: "x"; type: "QVariant" } + Parameter { name: "y"; type: "QVariant" } + } + Property { name: "alternatingRowColors"; type: "bool" } + Property { name: "headerVisible"; type: "bool" } + Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "sortIndicatorColumn"; type: "int" } + Property { name: "sortIndicatorVisible"; type: "bool" } + Property { name: "sortIndicatorOrder"; type: "int" } + Property { name: "selectionMode"; type: "int" } + Property { name: "__viewTypeName"; type: "string" } + Property { name: "__isTreeView"; type: "bool"; isReadonly: true } + Property { name: "__itemDelegateLoader"; type: "QQmlComponent"; isPointer: true } + Property { name: "__model"; type: "QVariant" } + Property { name: "__activateItemOnSingleClick"; type: "bool" } + Property { name: "__mouseArea"; type: "QQuickItem"; isPointer: true } + Property { name: "backgroundVisible"; type: "bool" } + Property { name: "contentHeader"; type: "QQmlComponent"; isPointer: true } + Property { name: "contentFooter"; type: "QQmlComponent"; isPointer: true } + Property { name: "columnCount"; type: "int"; isReadonly: true } + Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } + Property { name: "__columns"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "__currentRowItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "__currentRow"; type: "int" } + Property { name: "__listView"; type: "QQuickListView"; isReadonly: true; isPointer: true } + Method { + name: "addColumn" + type: "QVariant" + Parameter { name: "column"; type: "QVariant" } + } + Method { + name: "insertColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + Parameter { name: "column"; type: "QVariant" } + } + Method { + name: "removeColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "moveColumn" + type: "QVariant" + Parameter { name: "from"; type: "QVariant" } + Parameter { name: "to"; type: "QVariant" } + } + Method { + name: "getColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { name: "resizeColumnsToContents"; type: "QVariant" } + Property { name: "frameVisible"; type: "bool" } + Property { name: "highlightOnFocus"; type: "bool" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__scrollBarTopMargin"; type: "int" } + Property { name: "__viewTopMargin"; type: "int" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } + Property { name: "horizontalScrollBarPolicy"; type: "int" } + Property { name: "verticalScrollBarPolicy"; type: "int" } + Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } + Property { + name: "__scroller" + type: "ScrollViewHelper_QMLTYPE_32" + isReadonly: true + isPointer: true + } + Property { name: "__verticalScrollbarOffset"; type: "int" } + Property { name: "__wheelAreaScrollSpeed"; type: "double" } + Property { + name: "__horizontalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + Property { + name: "__verticalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + } + Component { + prototype: "QObject" + name: "QtQuick.Controls/TableViewColumn 1.0" + exports: ["QtQuick.Controls/TableViewColumn 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + Property { name: "__view"; type: "QQuickItem"; isPointer: true } + Property { name: "__index"; type: "int" } + Property { name: "title"; type: "string" } + Property { name: "role"; type: "string" } + Property { name: "width"; type: "int" } + Property { name: "visible"; type: "bool" } + Property { name: "resizable"; type: "bool" } + Property { name: "movable"; type: "bool" } + Property { name: "elideMode"; type: "int" } + Property { name: "horizontalAlignment"; type: "int" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Method { name: "resizeToContents"; type: "QVariant" } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/TableViewStyle 1.0" + exports: ["QtQuick.Controls.Styles/TableViewStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "TableView_QMLTYPE_312"; isReadonly: true; isPointer: true } + Property { name: "textColor"; type: "QColor" } + Property { name: "backgroundColor"; type: "QColor" } + Property { name: "alternateBackgroundColor"; type: "QColor" } + Property { name: "highlightedTextColor"; type: "QColor" } + Property { name: "activateItemOnSingleClick"; type: "bool" } + Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "__branchDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "__indentation"; type: "int" } + Property { name: "corner"; type: "QQmlComponent"; isPointer: true } + Property { name: "scrollToClickedPosition"; type: "bool" } + Property { name: "transientScrollBars"; type: "bool" } + Property { name: "frame"; type: "QQmlComponent"; isPointer: true } + Property { name: "minimumHandleLength"; type: "int" } + Property { name: "handleOverlap"; type: "int" } + Property { name: "scrollBarBackground"; type: "QQmlComponent"; isPointer: true } + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "__scrollbar"; type: "QQmlComponent"; isPointer: true } + Property { name: "__externalScrollBars"; type: "bool" } + Property { name: "__scrollBarSpacing"; type: "int" } + Property { name: "__scrollBarFadeDelay"; type: "int" } + Property { name: "__scrollBarFadeDuration"; type: "int" } + Property { name: "__stickyScrollbars"; type: "bool" } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/TextArea 1.0" + exports: ["QtQuick.Controls/TextArea 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "tabChangesFocus"; type: "bool" } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "menu"; type: "QQmlComponent"; isPointer: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "baseUrl"; type: "QUrl" } + Property { name: "canPaste"; type: "bool"; isReadonly: true } + Property { name: "canRedo"; type: "bool"; isReadonly: true } + Property { name: "canUndo"; type: "bool"; isReadonly: true } + Property { name: "textColor"; type: "QColor" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "font"; type: "QFont" } + Property { name: "horizontalAlignment"; type: "int" } + Property { name: "effectiveHorizontalAlignment"; type: "int"; isReadonly: true } + Property { name: "verticalAlignment"; type: "int" } + Property { name: "inputMethodHints"; type: "int" } + Property { name: "length"; type: "int"; isReadonly: true } + Property { name: "lineCount"; type: "int"; isReadonly: true } + Property { name: "readOnly"; type: "bool" } + Property { name: "selectedText"; type: "string"; isReadonly: true } + Property { name: "selectionEnd"; type: "int"; isReadonly: true } + Property { name: "selectionStart"; type: "int"; isReadonly: true } + Property { name: "text"; type: "string" } + Property { name: "textFormat"; type: "int" } + Property { name: "wrapMode"; type: "int" } + Property { name: "selectByKeyboard"; type: "bool" } + Property { name: "hoveredLink"; type: "string"; isReadonly: true } + Property { name: "backgroundVisible"; type: "bool" } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "textMargin"; type: "double" } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "textDocument"; type: "QQuickTextDocument"; isReadonly: true; isPointer: true } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "linkHovered" + Parameter { name: "link"; type: "string" } + } + Signal { name: "editingFinished" } + Method { + name: "append" + type: "QVariant" + Parameter { name: "string"; type: "QVariant" } + } + Method { name: "copy"; type: "QVariant" } + Method { name: "cut"; type: "QVariant" } + Method { name: "deselect"; type: "QVariant" } + Method { + name: "getFormattedText" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "getText" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "insert" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + Parameter { name: "text"; type: "QVariant" } + } + Method { + name: "isRightToLeft" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "moveCursorSelection" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + Parameter { name: "mode"; type: "QVariant" } + } + Method { name: "paste"; type: "QVariant" } + Method { + name: "positionAt" + type: "QVariant" + Parameter { name: "x"; type: "QVariant" } + Parameter { name: "y"; type: "QVariant" } + } + Method { + name: "positionToRectangle" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + } + Method { name: "redo"; type: "QVariant" } + Method { + name: "remove" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "select" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { name: "selectAll"; type: "QVariant" } + Method { name: "selectWord"; type: "QVariant" } + Method { name: "undo"; type: "QVariant" } + Property { name: "frameVisible"; type: "bool" } + Property { name: "highlightOnFocus"; type: "bool" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__scrollBarTopMargin"; type: "int" } + Property { name: "__viewTopMargin"; type: "int" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } + Property { name: "horizontalScrollBarPolicy"; type: "int" } + Property { name: "verticalScrollBarPolicy"; type: "int" } + Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } + Property { + name: "__scroller" + type: "ScrollViewHelper_QMLTYPE_32" + isReadonly: true + isPointer: true + } + Property { name: "__verticalScrollbarOffset"; type: "int" } + Property { name: "__wheelAreaScrollSpeed"; type: "double" } + Property { + name: "__horizontalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + Property { + name: "__verticalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/TextArea 1.3" + exports: ["QtQuick.Controls/TextArea 1.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "tabChangesFocus"; type: "bool" } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "menu"; type: "QQmlComponent"; isPointer: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "baseUrl"; type: "QUrl" } + Property { name: "canPaste"; type: "bool"; isReadonly: true } + Property { name: "canRedo"; type: "bool"; isReadonly: true } + Property { name: "canUndo"; type: "bool"; isReadonly: true } + Property { name: "textColor"; type: "QColor" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "font"; type: "QFont" } + Property { name: "horizontalAlignment"; type: "int" } + Property { name: "effectiveHorizontalAlignment"; type: "int"; isReadonly: true } + Property { name: "verticalAlignment"; type: "int" } + Property { name: "inputMethodHints"; type: "int" } + Property { name: "length"; type: "int"; isReadonly: true } + Property { name: "lineCount"; type: "int"; isReadonly: true } + Property { name: "readOnly"; type: "bool" } + Property { name: "selectedText"; type: "string"; isReadonly: true } + Property { name: "selectionEnd"; type: "int"; isReadonly: true } + Property { name: "selectionStart"; type: "int"; isReadonly: true } + Property { name: "text"; type: "string" } + Property { name: "textFormat"; type: "int" } + Property { name: "wrapMode"; type: "int" } + Property { name: "selectByKeyboard"; type: "bool" } + Property { name: "hoveredLink"; type: "string"; isReadonly: true } + Property { name: "backgroundVisible"; type: "bool" } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "textMargin"; type: "double" } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "textDocument"; type: "QQuickTextDocument"; isReadonly: true; isPointer: true } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "linkHovered" + Parameter { name: "link"; type: "string" } + } + Signal { name: "editingFinished" } + Method { + name: "append" + type: "QVariant" + Parameter { name: "string"; type: "QVariant" } + } + Method { name: "copy"; type: "QVariant" } + Method { name: "cut"; type: "QVariant" } + Method { name: "deselect"; type: "QVariant" } + Method { + name: "getFormattedText" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "getText" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "insert" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + Parameter { name: "text"; type: "QVariant" } + } + Method { + name: "isRightToLeft" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "moveCursorSelection" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + Parameter { name: "mode"; type: "QVariant" } + } + Method { name: "paste"; type: "QVariant" } + Method { + name: "positionAt" + type: "QVariant" + Parameter { name: "x"; type: "QVariant" } + Parameter { name: "y"; type: "QVariant" } + } + Method { + name: "positionToRectangle" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + } + Method { name: "redo"; type: "QVariant" } + Method { + name: "remove" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "select" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { name: "selectAll"; type: "QVariant" } + Method { name: "selectWord"; type: "QVariant" } + Method { name: "undo"; type: "QVariant" } + Property { name: "frameVisible"; type: "bool" } + Property { name: "highlightOnFocus"; type: "bool" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__scrollBarTopMargin"; type: "int" } + Property { name: "__viewTopMargin"; type: "int" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } + Property { name: "horizontalScrollBarPolicy"; type: "int" } + Property { name: "verticalScrollBarPolicy"; type: "int" } + Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } + Property { + name: "__scroller" + type: "ScrollViewHelper_QMLTYPE_32" + isReadonly: true + isPointer: true + } + Property { name: "__verticalScrollbarOffset"; type: "int" } + Property { name: "__wheelAreaScrollSpeed"; type: "double" } + Property { + name: "__horizontalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + Property { + name: "__verticalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/TextArea 1.5" + exports: ["QtQuick.Controls/TextArea 1.5"] + exportMetaObjectRevisions: [5] + isComposite: true + defaultProperty: "data" + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "tabChangesFocus"; type: "bool" } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "menu"; type: "QQmlComponent"; isPointer: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "baseUrl"; type: "QUrl" } + Property { name: "canPaste"; type: "bool"; isReadonly: true } + Property { name: "canRedo"; type: "bool"; isReadonly: true } + Property { name: "canUndo"; type: "bool"; isReadonly: true } + Property { name: "textColor"; type: "QColor" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "font"; type: "QFont" } + Property { name: "horizontalAlignment"; type: "int" } + Property { name: "effectiveHorizontalAlignment"; type: "int"; isReadonly: true } + Property { name: "verticalAlignment"; type: "int" } + Property { name: "inputMethodHints"; type: "int" } + Property { name: "length"; type: "int"; isReadonly: true } + Property { name: "lineCount"; type: "int"; isReadonly: true } + Property { name: "readOnly"; type: "bool" } + Property { name: "selectedText"; type: "string"; isReadonly: true } + Property { name: "selectionEnd"; type: "int"; isReadonly: true } + Property { name: "selectionStart"; type: "int"; isReadonly: true } + Property { name: "text"; type: "string" } + Property { name: "textFormat"; type: "int" } + Property { name: "wrapMode"; type: "int" } + Property { name: "selectByKeyboard"; type: "bool" } + Property { name: "hoveredLink"; type: "string"; isReadonly: true } + Property { name: "backgroundVisible"; type: "bool" } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "textMargin"; type: "double" } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "textDocument"; type: "QQuickTextDocument"; isReadonly: true; isPointer: true } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "linkHovered" + Parameter { name: "link"; type: "string" } + } + Signal { name: "editingFinished" } + Method { + name: "append" + type: "QVariant" + Parameter { name: "string"; type: "QVariant" } + } + Method { name: "copy"; type: "QVariant" } + Method { name: "cut"; type: "QVariant" } + Method { name: "deselect"; type: "QVariant" } + Method { + name: "getFormattedText" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "getText" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "insert" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + Parameter { name: "text"; type: "QVariant" } + } + Method { + name: "isRightToLeft" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "moveCursorSelection" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + Parameter { name: "mode"; type: "QVariant" } + } + Method { name: "paste"; type: "QVariant" } + Method { + name: "positionAt" + type: "QVariant" + Parameter { name: "x"; type: "QVariant" } + Parameter { name: "y"; type: "QVariant" } + } + Method { + name: "positionToRectangle" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + } + Method { name: "redo"; type: "QVariant" } + Method { + name: "remove" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "select" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { name: "selectAll"; type: "QVariant" } + Method { name: "selectWord"; type: "QVariant" } + Method { name: "undo"; type: "QVariant" } + Property { name: "frameVisible"; type: "bool" } + Property { name: "highlightOnFocus"; type: "bool" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__scrollBarTopMargin"; type: "int" } + Property { name: "__viewTopMargin"; type: "int" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } + Property { name: "horizontalScrollBarPolicy"; type: "int" } + Property { name: "verticalScrollBarPolicy"; type: "int" } + Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } + Property { + name: "__scroller" + type: "ScrollViewHelper_QMLTYPE_32" + isReadonly: true + isPointer: true + } + Property { name: "__verticalScrollbarOffset"; type: "int" } + Property { name: "__wheelAreaScrollSpeed"; type: "double" } + Property { + name: "__horizontalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + Property { + name: "__verticalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/TextAreaStyle 1.1" + exports: ["QtQuick.Controls.Styles/TextAreaStyle 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "TextArea_QMLTYPE_318"; isReadonly: true; isPointer: true } + Property { name: "font"; type: "QFont" } + Property { name: "textColor"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "selectedTextColor"; type: "QColor" } + Property { name: "backgroundColor"; type: "QColor" } + Property { name: "renderType"; type: "int" } + Property { name: "textMargin"; type: "double" } + Property { name: "__cursorHandle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__selectionHandle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__cursorDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "__editMenu"; type: "QQmlComponent"; isPointer: true } + Property { name: "corner"; type: "QQmlComponent"; isPointer: true } + Property { name: "scrollToClickedPosition"; type: "bool" } + Property { name: "transientScrollBars"; type: "bool" } + Property { name: "frame"; type: "QQmlComponent"; isPointer: true } + Property { name: "minimumHandleLength"; type: "int" } + Property { name: "handleOverlap"; type: "int" } + Property { name: "scrollBarBackground"; type: "QQmlComponent"; isPointer: true } + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "__scrollbar"; type: "QQmlComponent"; isPointer: true } + Property { name: "__externalScrollBars"; type: "bool" } + Property { name: "__scrollBarSpacing"; type: "int" } + Property { name: "__scrollBarFadeDelay"; type: "int" } + Property { name: "__scrollBarFadeDuration"; type: "int" } + Property { name: "__stickyScrollbars"; type: "bool" } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/TextField 1.0" + exports: ["QtQuick.Controls/TextField 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "menu"; type: "QQmlComponent"; isPointer: true } + Property { name: "acceptableInput"; type: "bool"; isReadonly: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "canPaste"; type: "bool"; isReadonly: true } + Property { name: "canRedo"; type: "bool"; isReadonly: true } + Property { name: "canUndo"; type: "bool"; isReadonly: true } + Property { name: "textColor"; type: "QColor" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "displayText"; type: "string"; isReadonly: true } + Property { name: "echoMode"; type: "int" } + Property { name: "font"; type: "QFont" } + Property { name: "horizontalAlignment"; type: "int" } + Property { name: "effectiveHorizontalAlignment"; type: "int"; isReadonly: true } + Property { name: "verticalAlignment"; type: "int" } + Property { name: "inputMask"; type: "string" } + Property { name: "inputMethodHints"; type: "int" } + Property { name: "length"; type: "int"; isReadonly: true } + Property { name: "maximumLength"; type: "int" } + Property { name: "placeholderText"; type: "string" } + Property { name: "readOnly"; type: "bool" } + Property { name: "selectedText"; type: "string"; isReadonly: true } + Property { name: "selectionEnd"; type: "int"; isReadonly: true } + Property { name: "selectionStart"; type: "int"; isReadonly: true } + Property { name: "text"; type: "string" } + Property { name: "validator"; type: "QValidator"; isPointer: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "__contentHeight"; type: "double"; isReadonly: true } + Property { name: "__contentWidth"; type: "double"; isReadonly: true } + Property { name: "__baselineOffset"; type: "double" } + Signal { name: "accepted" } + Signal { name: "editingFinished" } + Method { name: "copy"; type: "QVariant" } + Method { name: "cut"; type: "QVariant" } + Method { name: "deselect"; type: "QVariant" } + Method { + name: "getText" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "insert" + type: "QVariant" + Parameter { name: "position"; type: "QVariant" } + Parameter { name: "text"; type: "QVariant" } + } + Method { + name: "isRightToLeft" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { name: "paste"; type: "QVariant" } + Method { name: "redo"; type: "QVariant" } + Method { + name: "remove" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { + name: "select" + type: "QVariant" + Parameter { name: "start"; type: "QVariant" } + Parameter { name: "end"; type: "QVariant" } + } + Method { name: "selectAll"; type: "QVariant" } + Method { name: "selectWord"; type: "QVariant" } + Method { name: "undo"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/TextFieldStyle 1.0" + exports: ["QtQuick.Controls.Styles/TextFieldStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "TextField_QMLTYPE_324"; isReadonly: true; isPointer: true } + Property { name: "font"; type: "QFont" } + Property { name: "textColor"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "selectedTextColor"; type: "QColor" } + Property { name: "passwordCharacter"; type: "string" } + Property { name: "renderType"; type: "int" } + Property { name: "placeholderTextColor"; type: "QColor" } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Property { name: "__cursorHandle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__selectionHandle"; type: "QQmlComponent"; isPointer: true } + Property { name: "__cursorDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "__editMenu"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/ToggleButtonStyle 1.0" + exports: ["QtQuick.Controls.Styles/ToggleButtonStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "ToggleButton_QMLTYPE_327"; isReadonly: true; isPointer: true } + Property { name: "inactiveGradient"; type: "QQuickGradient"; isPointer: true } + Property { name: "checkedGradient"; type: "QQuickGradient"; isPointer: true } + Property { name: "uncheckedGradient"; type: "QQuickGradient"; isPointer: true } + Property { name: "checkedDropShadowColor"; type: "QColor" } + Property { name: "uncheckedDropShadowColor"; type: "QColor" } + Property { + name: "__buttonHelper" + type: "CircularButtonStyleHelper_QMLTYPE_93" + isReadonly: true + isPointer: true + } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "label"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/ToolBar 1.0" + exports: ["QtQuick.Controls/ToolBar 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "__content" + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "__menu"; type: "QVariant" } + Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "__content"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/ToolBarStyle 1.0" + exports: ["QtQuick.Controls.Styles/ToolBarStyle 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "menuButton"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/ToolButton 1.0" + exports: ["QtQuick.Controls/ToolButton 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "isDefault"; type: "bool" } + Property { name: "menu"; type: "Menu_QMLTYPE_55"; isPointer: true } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "action"; type: "QQuickAction1"; isPointer: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "text"; type: "string" } + Property { name: "tooltip"; type: "string" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "__position"; type: "string" } + Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } + Property { name: "__action"; type: "QQuickAction1"; isPointer: true } + Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } + Property { name: "__behavior"; type: "QVariant" } + Property { name: "__effectivePressed"; type: "bool" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + Method { name: "accessiblePressAction"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/TreeView 1.4" + exports: ["QtQuick.Controls/TreeView 1.4"] + exportMetaObjectRevisions: [4] + isComposite: true + defaultProperty: "__columns" + Property { name: "model"; type: "QVariant" } + Property { name: "currentIndex"; type: "QVariant"; isReadonly: true } + Property { name: "selection"; type: "QItemSelectionModel"; isPointer: true } + Property { name: "rootIndex"; type: "QModelIndex" } + Signal { + name: "activated" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "clicked" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "doubleClicked" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "pressAndHold" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "expanded" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "collapsed" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "isExpanded" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "collapse" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "expand" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "indexAt" + type: "QVariant" + Parameter { name: "x"; type: "QVariant" } + Parameter { name: "y"; type: "QVariant" } + } + Property { name: "alternatingRowColors"; type: "bool" } + Property { name: "headerVisible"; type: "bool" } + Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "sortIndicatorColumn"; type: "int" } + Property { name: "sortIndicatorVisible"; type: "bool" } + Property { name: "sortIndicatorOrder"; type: "int" } + Property { name: "selectionMode"; type: "int" } + Property { name: "__viewTypeName"; type: "string" } + Property { name: "__isTreeView"; type: "bool"; isReadonly: true } + Property { name: "__itemDelegateLoader"; type: "QQmlComponent"; isPointer: true } + Property { name: "__model"; type: "QVariant" } + Property { name: "__activateItemOnSingleClick"; type: "bool" } + Property { name: "__mouseArea"; type: "QQuickItem"; isPointer: true } + Property { name: "backgroundVisible"; type: "bool" } + Property { name: "contentHeader"; type: "QQmlComponent"; isPointer: true } + Property { name: "contentFooter"; type: "QQmlComponent"; isPointer: true } + Property { name: "columnCount"; type: "int"; isReadonly: true } + Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } + Property { name: "__columns"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "__currentRowItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "__currentRow"; type: "int" } + Property { name: "__listView"; type: "QQuickListView"; isReadonly: true; isPointer: true } + Method { + name: "addColumn" + type: "QVariant" + Parameter { name: "column"; type: "QVariant" } + } + Method { + name: "insertColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + Parameter { name: "column"; type: "QVariant" } + } + Method { + name: "removeColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "moveColumn" + type: "QVariant" + Parameter { name: "from"; type: "QVariant" } + Parameter { name: "to"; type: "QVariant" } + } + Method { + name: "getColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { name: "resizeColumnsToContents"; type: "QVariant" } + Property { name: "frameVisible"; type: "bool" } + Property { name: "highlightOnFocus"; type: "bool" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__scrollBarTopMargin"; type: "int" } + Property { name: "__viewTopMargin"; type: "int" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } + Property { name: "horizontalScrollBarPolicy"; type: "int" } + Property { name: "verticalScrollBarPolicy"; type: "int" } + Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } + Property { + name: "__scroller" + type: "ScrollViewHelper_QMLTYPE_32" + isReadonly: true + isPointer: true + } + Property { name: "__verticalScrollbarOffset"; type: "int" } + Property { name: "__wheelAreaScrollSpeed"; type: "double" } + Property { + name: "__horizontalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + Property { + name: "__verticalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Controls/TreeView 1.5" + exports: ["QtQuick.Controls/TreeView 1.5"] + exportMetaObjectRevisions: [5] + isComposite: true + defaultProperty: "__columns" + Property { name: "model"; type: "QVariant" } + Property { name: "currentIndex"; type: "QVariant"; isReadonly: true } + Property { name: "selection"; type: "QItemSelectionModel"; isPointer: true } + Property { name: "rootIndex"; type: "QModelIndex" } + Signal { + name: "activated" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "clicked" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "doubleClicked" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "pressAndHold" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "expanded" + Parameter { name: "index"; type: "QVariant" } + } + Signal { + name: "collapsed" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "isExpanded" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "collapse" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "expand" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "indexAt" + type: "QVariant" + Parameter { name: "x"; type: "QVariant" } + Parameter { name: "y"; type: "QVariant" } + } + Property { name: "alternatingRowColors"; type: "bool" } + Property { name: "headerVisible"; type: "bool" } + Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "sortIndicatorColumn"; type: "int" } + Property { name: "sortIndicatorVisible"; type: "bool" } + Property { name: "sortIndicatorOrder"; type: "int" } + Property { name: "selectionMode"; type: "int" } + Property { name: "__viewTypeName"; type: "string" } + Property { name: "__isTreeView"; type: "bool"; isReadonly: true } + Property { name: "__itemDelegateLoader"; type: "QQmlComponent"; isPointer: true } + Property { name: "__model"; type: "QVariant" } + Property { name: "__activateItemOnSingleClick"; type: "bool" } + Property { name: "__mouseArea"; type: "QQuickItem"; isPointer: true } + Property { name: "backgroundVisible"; type: "bool" } + Property { name: "contentHeader"; type: "QQmlComponent"; isPointer: true } + Property { name: "contentFooter"; type: "QQmlComponent"; isPointer: true } + Property { name: "columnCount"; type: "int"; isReadonly: true } + Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } + Property { name: "__columns"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "__currentRowItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "__currentRow"; type: "int" } + Property { name: "__listView"; type: "QQuickListView"; isReadonly: true; isPointer: true } + Method { + name: "addColumn" + type: "QVariant" + Parameter { name: "column"; type: "QVariant" } + } + Method { + name: "insertColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + Parameter { name: "column"; type: "QVariant" } + } + Method { + name: "removeColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "moveColumn" + type: "QVariant" + Parameter { name: "from"; type: "QVariant" } + Parameter { name: "to"; type: "QVariant" } + } + Method { + name: "getColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { name: "resizeColumnsToContents"; type: "QVariant" } + Property { name: "frameVisible"; type: "bool" } + Property { name: "highlightOnFocus"; type: "bool" } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__scrollBarTopMargin"; type: "int" } + Property { name: "__viewTopMargin"; type: "int" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } + Property { name: "horizontalScrollBarPolicy"; type: "int" } + Property { name: "verticalScrollBarPolicy"; type: "int" } + Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } + Property { + name: "__scroller" + type: "ScrollViewHelper_QMLTYPE_32" + isReadonly: true + isPointer: true + } + Property { name: "__verticalScrollbarOffset"; type: "int" } + Property { name: "__wheelAreaScrollSpeed"; type: "double" } + Property { + name: "__horizontalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + Property { + name: "__verticalScrollBar" + type: "ScrollBar_QMLTYPE_28" + isReadonly: true + isPointer: true + } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/TreeViewStyle 1.4" + exports: ["QtQuick.Controls.Styles/TreeViewStyle 1.4"] + exportMetaObjectRevisions: [4] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "TreeView_QMLTYPE_350"; isReadonly: true; isPointer: true } + Property { name: "indentation"; type: "int" } + Property { name: "branchDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "textColor"; type: "QColor" } + Property { name: "backgroundColor"; type: "QColor" } + Property { name: "alternateBackgroundColor"; type: "QColor" } + Property { name: "highlightedTextColor"; type: "QColor" } + Property { name: "activateItemOnSingleClick"; type: "bool" } + Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "__branchDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "__indentation"; type: "int" } + Property { name: "corner"; type: "QQmlComponent"; isPointer: true } + Property { name: "scrollToClickedPosition"; type: "bool" } + Property { name: "transientScrollBars"; type: "bool" } + Property { name: "frame"; type: "QQmlComponent"; isPointer: true } + Property { name: "minimumHandleLength"; type: "int" } + Property { name: "handleOverlap"; type: "int" } + Property { name: "scrollBarBackground"; type: "QQmlComponent"; isPointer: true } + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } + Property { name: "__scrollbar"; type: "QQmlComponent"; isPointer: true } + Property { name: "__externalScrollBars"; type: "bool" } + Property { name: "__scrollBarSpacing"; type: "int" } + Property { name: "__scrollBarFadeDelay"; type: "int" } + Property { name: "__scrollBarFadeDuration"; type: "int" } + Property { name: "__stickyScrollbars"; type: "bool" } + } + Component { + prototype: "QQuickAbstractStyle1" + name: "QtQuick.Controls.Styles/TumblerStyle 1.2" + exports: ["QtQuick.Controls.Styles/TumblerStyle 1.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "Tumbler_QMLTYPE_353"; isReadonly: true; isPointer: true } + Property { name: "spacing"; type: "double" } + Property { name: "visibleItemCount"; type: "int" } + Property { name: "__padding"; type: "double"; isReadonly: true } + Property { name: "__delegateHeight"; type: "double" } + Property { name: "__separatorWidth"; type: "double" } + Property { name: "background"; type: "QQmlComponent"; isPointer: true } + Property { name: "foreground"; type: "QQmlComponent"; isPointer: true } + Property { name: "separator"; type: "QQmlComponent"; isPointer: true } + Property { name: "columnForeground"; type: "QQmlComponent"; isPointer: true } + Property { name: "frame"; type: "QQmlComponent"; isPointer: true } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } + Property { name: "panel"; type: "QQmlComponent"; isPointer: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/qmldir new file mode 100644 index 00000000..6641de86 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/qmldir @@ -0,0 +1,8 @@ +module QtQuick.Controls +plugin qtquickcontrolsplugin +classname QtQuickControls1Plugin +typeinfo plugins.qmltypes +designersupported +depends QtQuick.Window 2.2 +depends QtQuick.Layouts 1.0 +depends QtQml 2.14 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/qtquickcontrolsplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/qtquickcontrolsplugin.dll new file mode 100644 index 00000000..17d97394 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Controls/qtquickcontrolsplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultColorDialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultColorDialog.qml new file mode 100644 index 00000000..f8c8e220 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultColorDialog.qml @@ -0,0 +1,405 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.4 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Dialogs 1.0 +import QtQuick.Window 2.1 +import "qml" + +AbstractColorDialog { + id: root + property bool __valueSet: true // guard to prevent binding loops + function __setControlsFromColor() { + __valueSet = false + hueSlider.value = root.currentHue + saturationSlider.value = root.currentSaturation + lightnessSlider.value = root.currentLightness + alphaSlider.value = root.currentAlpha + crosshairs.x = root.currentLightness * paletteMap.width + crosshairs.y = (1.0 - root.currentSaturation) * paletteMap.height + __valueSet = true + } + onCurrentColorChanged: __setControlsFromColor() + + Rectangle { + id: content + implicitHeight: Math.min(root.__maximumDimension, Screen.pixelDensity * (usePaletteMap ? 120 : 50)) + implicitWidth: Math.min(root.__maximumDimension, usePaletteMap ? Screen.pixelDensity * (usePaletteMap ? 100 : 50) : implicitHeight * 1.5) + color: palette.window + focus: root.visible + property real bottomMinHeight: sliders.height + buttonRow.height + outerSpacing * 3 + property real spacing: 8 + property real outerSpacing: 12 + property bool usePaletteMap: true + + Keys.onPressed: { + event.accepted = true + switch (event.key) { + case Qt.Key_Return: + case Qt.Key_Select: + accept() + break + case Qt.Key_Escape: + case Qt.Key_Back: + reject() + break + case Qt.Key_C: + if (event.modifiers & Qt.ControlModifier) + colorField.copyAll() + break + case Qt.Key_V: + if (event.modifiers & Qt.ControlModifier) { + colorField.paste() + root.currentColor = colorField.text + } + break + default: + // do nothing + event.accepted = false + break + } + } + + SystemPalette { id: palette } + + Item { + id: paletteFrame + visible: content.usePaletteMap + anchors { + top: parent.top + left: parent.left + right: parent.right + margins: content.outerSpacing + } + height: Math.min(content.height - content.bottomMinHeight, content.width - content.outerSpacing * 2) + + Image { + id: paletteMap + x: (parent.width - width) / 2 + width: height + onWidthChanged: root.__setControlsFromColor() + height: parent.height + source: "images/checkers.png" + fillMode: Image.Tile + + // note we smoothscale the shader from a smaller version to improve performance + ShaderEffect { + id: map + width: 64 + height: 64 + opacity: alphaSlider.value + scale: paletteMap.width / width; + layer.enabled: true + layer.smooth: true + anchors.centerIn: parent + property real hue: hueSlider.value + + fragmentShader: content.OpenGLInfo.profile === OpenGLInfo.CoreProfile ? "#version 150 + in vec2 qt_TexCoord0; + uniform float qt_Opacity; + uniform float hue; + out vec4 fragColor; + + float hueToIntensity(float v1, float v2, float h) { + h = fract(h); + if (h < 1.0 / 6.0) + return v1 + (v2 - v1) * 6.0 * h; + else if (h < 1.0 / 2.0) + return v2; + else if (h < 2.0 / 3.0) + return v1 + (v2 - v1) * 6.0 * (2.0 / 3.0 - h); + + return v1; + } + + vec3 HSLtoRGB(vec3 color) { + float h = color.x; + float l = color.z; + float s = color.y; + + if (s < 1.0 / 256.0) + return vec3(l, l, l); + + float v1; + float v2; + if (l < 0.5) + v2 = l * (1.0 + s); + else + v2 = (l + s) - (s * l); + + v1 = 2.0 * l - v2; + + float d = 1.0 / 3.0; + float r = hueToIntensity(v1, v2, h + d); + float g = hueToIntensity(v1, v2, h); + float b = hueToIntensity(v1, v2, h - d); + return vec3(r, g, b); + } + + void main() { + vec4 c = vec4(1.0); + c.rgb = HSLtoRGB(vec3(hue, 1.0 - qt_TexCoord0.t, qt_TexCoord0.s)); + fragColor = c * qt_Opacity; + } + " : " + varying mediump vec2 qt_TexCoord0; + uniform highp float qt_Opacity; + uniform highp float hue; + + highp float hueToIntensity(highp float v1, highp float v2, highp float h) { + h = fract(h); + if (h < 1.0 / 6.0) + return v1 + (v2 - v1) * 6.0 * h; + else if (h < 1.0 / 2.0) + return v2; + else if (h < 2.0 / 3.0) + return v1 + (v2 - v1) * 6.0 * (2.0 / 3.0 - h); + + return v1; + } + + highp vec3 HSLtoRGB(highp vec3 color) { + highp float h = color.x; + highp float l = color.z; + highp float s = color.y; + + if (s < 1.0 / 256.0) + return vec3(l, l, l); + + highp float v1; + highp float v2; + if (l < 0.5) + v2 = l * (1.0 + s); + else + v2 = (l + s) - (s * l); + + v1 = 2.0 * l - v2; + + highp float d = 1.0 / 3.0; + highp float r = hueToIntensity(v1, v2, h + d); + highp float g = hueToIntensity(v1, v2, h); + highp float b = hueToIntensity(v1, v2, h - d); + return vec3(r, g, b); + } + + void main() { + lowp vec4 c = vec4(1.0); + c.rgb = HSLtoRGB(vec3(hue, 1.0 - qt_TexCoord0.t, qt_TexCoord0.s)); + gl_FragColor = c * qt_Opacity; + } + " + } + + MouseArea { + id: mapMouseArea + anchors.fill: parent + onPositionChanged: { + if (pressed && containsMouse) { + var xx = Math.max(0, Math.min(mouse.x, parent.width)) + var yy = Math.max(0, Math.min(mouse.y, parent.height)) + saturationSlider.value = 1.0 - yy / parent.height + lightnessSlider.value = xx / parent.width + // TODO if we constrain the movement here, can avoid the containsMouse test + crosshairs.x = mouse.x - crosshairs.radius + crosshairs.y = mouse.y - crosshairs.radius + } + } + onPressed: positionChanged(mouse) + } + + Image { + id: crosshairs + property int radius: width / 2 // truncated to int + source: "images/crosshairs.png" + } + + BorderImage { + anchors.fill: parent + anchors.margins: -1 + anchors.leftMargin: -2 + source: "images/sunken_frame.png" + border.left: 8 + border.right: 8 + border.top: 8 + border.bottom: 8 + } + } + } + + Column { + id: sliders + anchors { + top: paletteFrame.bottom + left: parent.left + right: parent.right + margins: content.outerSpacing + } + + ColorSlider { + id: hueSlider + value: 0.5 + onValueChanged: if (__valueSet) root.currentColor = Qt.hsla(hueSlider.value, saturationSlider.value, lightnessSlider.value, alphaSlider.value) + text: qsTr("Hue") + trackDelegate: Rectangle { + rotation: -90 + transformOrigin: Item.TopLeft + gradient: Gradient { + GradientStop {position: 0.000; color: Qt.rgba(1, 0, 0, 1)} + GradientStop {position: 0.167; color: Qt.rgba(1, 1, 0, 1)} + GradientStop {position: 0.333; color: Qt.rgba(0, 1, 0, 1)} + GradientStop {position: 0.500; color: Qt.rgba(0, 1, 1, 1)} + GradientStop {position: 0.667; color: Qt.rgba(0, 0, 1, 1)} + GradientStop {position: 0.833; color: Qt.rgba(1, 0, 1, 1)} + GradientStop {position: 1.000; color: Qt.rgba(1, 0, 0, 1)} + } + } + } + + ColorSlider { + id: saturationSlider + visible: !content.usePaletteMap + value: 0.5 + onValueChanged: if (__valueSet) root.currentColor = Qt.hsla(hueSlider.value, saturationSlider.value, lightnessSlider.value, alphaSlider.value) + text: qsTr("Saturation") + trackDelegate: Rectangle { + rotation: -90 + transformOrigin: Item.TopLeft + gradient: Gradient { + GradientStop { position: 0; color: Qt.hsla(hueSlider.value, 0.0, lightnessSlider.value, 1.0) } + GradientStop { position: 1; color: Qt.hsla(hueSlider.value, 1.0, lightnessSlider.value, 1.0) } + } + } + } + + ColorSlider { + id: lightnessSlider + visible: !content.usePaletteMap + value: 0.5 + onValueChanged: if (__valueSet) root.currentColor = Qt.hsla(hueSlider.value, saturationSlider.value, lightnessSlider.value, alphaSlider.value) + text: qsTr("Luminosity") + trackDelegate: Rectangle { + rotation: -90 + transformOrigin: Item.TopLeft + gradient: Gradient { + GradientStop { position: 0; color: "black" } + GradientStop { position: 0.5; color: Qt.hsla(hueSlider.value, saturationSlider.value, 0.5, 1.0) } + GradientStop { position: 1; color: "white" } + } + } + } + + ColorSlider { + id: alphaSlider + minimum: 0.0 + maximum: 1.0 + value: 1.0 + onValueChanged: if (__valueSet) root.currentColor = Qt.hsla(hueSlider.value, saturationSlider.value, lightnessSlider.value, alphaSlider.value) + text: qsTr("Alpha") + visible: root.showAlphaChannel + trackDelegate: Item { + rotation: -90 + transformOrigin: Item.TopLeft + Image { + anchors {fill: parent} + source: "images/checkers.png" + fillMode: Image.TileVertically + } + Rectangle { + anchors.fill: parent + gradient: Gradient { + GradientStop { position: 0; color: "transparent" } + GradientStop { position: 1; color: Qt.hsla(hueSlider.value, + saturationSlider.value, + lightnessSlider.value, 1.0) } + } } + } + } + } + + Item { + id: buttonRow + height: Math.max(buttonsOnly.height, copyIcon.height) + width: parent.width + anchors { + left: parent.left + right: parent.right + bottom: content.bottom + margins: content.outerSpacing + } + Row { + spacing: content.spacing + height: visible ? parent.height : 0 + visible: !Settings.isMobile + TextField { + id: colorField + text: root.currentColor.toString() + anchors.verticalCenter: parent.verticalCenter + onAccepted: root.currentColor = text + Component.onCompleted: width = implicitWidth + 10 + } + Image { + id: copyIcon + anchors.verticalCenter: parent.verticalCenter + source: "images/copy.png" + MouseArea { + anchors.fill: parent + onClicked: colorField.copyAll() + } + } + } + Row { + id: buttonsOnly + spacing: content.spacing + anchors.right: parent.right + Button { + id: cancelButton + text: qsTr("Cancel") + onClicked: root.reject() + } + Button { + id: okButton + text: qsTr("OK") + onClicked: root.accept() + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultColorDialog.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultColorDialog.qmlc new file mode 100644 index 00000000..f8caa8e4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultColorDialog.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml new file mode 100644 index 00000000..3ca030c4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml @@ -0,0 +1,207 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Dialogs 1.2 +import QtQuick.Layouts 1.1 +import QtQuick.Window 2.1 +import "qml" + +AbstractDialog { + id: root + default property alias data: defaultContentItem.data + + signal actionChosen(var action) + + onVisibilityChanged: if (visible && contentItem) contentItem.forceActiveFocus() + + Rectangle { + id: content + property real spacing: 6 + property real outerSpacing: 12 + property real buttonsRowImplicitHeight: 0 + property real buttonsRowImplicitWidth: Screen.pixelDensity * 50 + property bool buttonsInSingleRow: defaultContentItem.width >= buttonsRowImplicitWidth + property real minimumHeight: implicitHeight + property real minimumWidth: implicitWidth + implicitHeight: defaultContentItem.implicitHeight + spacing + outerSpacing * 2 + Math.max(buttonsRight.implicitHeight, buttonsRowImplicitHeight) + implicitWidth: Math.min(root.__maximumDimension, Math.max( + defaultContentItem.implicitWidth, buttonsRowImplicitWidth, Screen.pixelDensity * 50) + outerSpacing * 2) + color: palette.window + Keys.onPressed: { + event.accepted = handleKey(event.key) + } + + SystemPalette { id: palette } + + Item { + id: defaultContentItem + anchors { + left: parent.left + right: parent.right + top: parent.top + bottom: buttonsLeft.implicitHeight ? buttonsLeft.top : buttonsRight.top + margins: content.outerSpacing + bottomMargin: buttonsLeft.implicitHeight + buttonsRight.implicitHeight > 0 ? content.spacing : 0 + } + implicitHeight: children.length === 1 ? children[0].implicitHeight + : (children.length ? childrenRect.height : 0) + implicitWidth: children.length === 1 ? children[0].implicitWidth + : (children.length ? childrenRect.width : 0) + } + + Flow { + id: buttonsLeft + spacing: content.spacing + anchors { + left: parent.left + bottom: content.buttonsInSingleRow ? parent.bottom : buttonsRight.top + margins: content.outerSpacing + } + + Repeater { + id: buttonsLeftRepeater + Button { + text: (buttonsLeftRepeater.model && buttonsLeftRepeater.model[index] ? buttonsLeftRepeater.model[index].text : index) + onClicked: content.handleButton(buttonsLeftRepeater.model[index].standardButton) + } + } + + Button { + id: moreButton + text: qsTr("Show Details...") + visible: false + } + } + + Flow { + id: buttonsRight + spacing: content.spacing + layoutDirection: Qt.RightToLeft + anchors { + left: parent.left + right: parent.right + bottom: parent.bottom + margins: content.outerSpacing + } + + Repeater { + id: buttonsRightRepeater + // TODO maybe: insert gaps if the button requires it (destructive buttons only) + Button { + text: (buttonsRightRepeater.model && buttonsRightRepeater.model[index] ? buttonsRightRepeater.model[index].text : index) + onClicked: content.handleButton(buttonsRightRepeater.model[index].standardButton) + } + } + } + + function handleButton(button) { + var action = { + "button": button, + "key": 0, + "accepted": true, + } + root.actionChosen(action) + if (action.accepted) { + click(button) + } + } + + function handleKey(key) { + var button = 0 + switch (key) { + case Qt.Key_Escape: + case Qt.Key_Back: + button = StandardButton.Cancel + break + case Qt.Key_Enter: + case Qt.Key_Return: + button = StandardButton.Ok + break + default: + return false + } + var action = { + "button": button, + "key": key, + "accepted": true, + } + root.actionChosen(action) + if (action.accepted) { + switch (button) { + case StandardButton.Cancel: + reject() + break + case StandardButton.Ok: + accept() + break + } + } + return true + } + } + function setupButtons() { + buttonsLeftRepeater.model = root.__standardButtonsLeftModel() + buttonsRightRepeater.model = root.__standardButtonsRightModel() + if (buttonsRightRepeater.model && buttonsRightRepeater.model.length > 0) + content.buttonsRowImplicitHeight = buttonsRight.visibleChildren[0].implicitHeight + if (buttonsLeftRepeater.count + buttonsRightRepeater.count < 1) + return; + var calcWidth = 0; + + function calculateForButton(i, b) { + var buttonWidth = b.implicitWidth; + if (buttonWidth > 0) { + if (i > 0) + buttonWidth += content.spacing + calcWidth += buttonWidth + } + } + + for (var i = 0; i < buttonsRight.visibleChildren.length; ++i) + calculateForButton(i, buttonsRight.visibleChildren[i]) + content.minimumWidth = Math.max(calcWidth + content.outerSpacing * 2, content.implicitWidth) + for (i = 0; i < buttonsLeft.visibleChildren.length; ++i) + calculateForButton(i, buttonsLeft.visibleChildren[i]) + content.buttonsRowImplicitWidth = calcWidth + content.spacing + } + onStandardButtonsChanged: setupButtons() + Component.onCompleted: setupButtons() +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultDialogWrapper.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultDialogWrapper.qmlc new file mode 100644 index 00000000..a6770ee6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultDialogWrapper.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml new file mode 100644 index 00000000..077b5acd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml @@ -0,0 +1,488 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 as ControlsPrivate +import QtQuick.Dialogs 1.1 +import QtQuick.Dialogs.Private 1.1 +import QtQuick.Layouts 1.1 +import QtQuick.Window 2.1 +import Qt.labs.folderlistmodel 2.1 +import Qt.labs.settings 1.0 +import "qml" + +AbstractFileDialog { + id: root + + property Component modelComponent: Component { + FolderListModel { + showFiles: !root.selectFolder + nameFilters: root.selectedNameFilterExtensions + sortField: (view.sortIndicatorColumn === 0 ? FolderListModel.Name : + (view.sortIndicatorColumn === 1 ? FolderListModel.Type : + (view.sortIndicatorColumn === 2 ? FolderListModel.Size : FolderListModel.LastModified))) + sortReversed: view.sortIndicatorOrder === Qt.DescendingOrder + } + } + + onVisibleChanged: { + if (visible) { + // If the TableView doesn't have a model yet, create it asynchronously to avoid a UI freeze + if (!view.model) { + var incubator = modelComponent.incubateObject(null, { }) + function init(model) { + view.model = model + model.nameFilters = root.selectedNameFilterExtensions + root.folder = model.folder + } + + if (incubator.status === Component.Ready) { + init(incubator.object) + } else { + incubator.onStatusChanged = function(status) { + if (status === Component.Ready) + init(incubator.object) + } + } + } + + view.needsWidthAdjustment = true + view.selection.clear() + view.focus = true + } + } + + Component.onCompleted: { + filterField.currentIndex = root.selectedNameFilterIndex + root.favoriteFolders = settings.favoriteFolders + } + + Component.onDestruction: { + settings.favoriteFolders = root.favoriteFolders + } + + property Settings settings: Settings { + category: "QQControlsFileDialog" + property alias width: root.width + property alias height: root.height + property alias sidebarWidth: sidebar.width + property alias sidebarSplit: shortcutsScroll.height + property alias sidebarVisible: root.sidebarVisible + property variant favoriteFolders: [] + } + + property bool showFocusHighlight: false + property SystemPalette palette: SystemPalette { } + property var favoriteFolders: [] + + function dirDown(path) { + view.selection.clear() + root.folder = "file://" + path + } + function dirUp() { + view.selection.clear() + if (view.model.parentFolder != "") + root.folder = view.model.parentFolder + } + function acceptSelection() { + // transfer the view's selections to QQuickFileDialog + clearSelection() + if (selectFolder && view.selection.count === 0) + addSelection(folder) + else { + view.selection.forEach(function(idx) { + if (view.model.isFolder(idx)) { + if (selectFolder) + addSelection(view.model.get(idx, "fileURL")) + } else { + if (!selectFolder) + addSelection(view.model.get(idx, "fileURL")) + } + }) + } + accept() + } + + property Action dirUpAction: Action { + text: "\ue810" + shortcut: "Ctrl+U" + onTriggered: dirUp() + tooltip: qsTr("Go up to the folder containing this one") + } + + Rectangle { + id: window + implicitWidth: Math.min(root.__maximumDimension, Math.max(Screen.pixelDensity * 100, splitter.implicitWidth)) + implicitHeight: Math.min(root.__maximumDimension, Screen.pixelDensity * 80) + color: root.palette.window + + Qml.Binding { + target: view.model + property: "folder" + value: root.folder + restoreMode: Binding.RestoreBinding + } + Qml.Binding { + target: currentPathField + property: "text" + value: root.urlToPath(root.folder) + restoreMode: Binding.RestoreBinding + } + Keys.onPressed: { + event.accepted = true + switch (event.key) { + case Qt.Key_Back: + case Qt.Key_Escape: + reject() + break + default: + event.accepted = false + break + } + } + Keys.forwardTo: [view.flickableItem] + + SplitView { + id: splitter + x: 0 + width: parent.width + anchors.top: titleBar.bottom + anchors.bottom: bottomBar.top + + Column { + id: sidebar + Component.onCompleted: if (width < 1) width = sidebarSplitter.maxShortcutWidth + height: parent.height + width: 0 // initial width only; settings and onCompleted will override it + visible: root.sidebarVisible + SplitView { + id: sidebarSplitter + orientation: Qt.Vertical + property real rowHeight: 10 + property real maxShortcutWidth: 80 + width: parent.width + height: parent.height - favoritesButtons.height + + ScrollView { + id: shortcutsScroll + Component.onCompleted: { + if (height < 1) + height = sidebarSplitter.rowHeight * 4.65 + Layout.minimumHeight = sidebarSplitter.rowHeight * 2.65 + } + height: 0 // initial width only; settings and onCompleted will override it + ListView { + id: shortcutsView + model: __shortcuts.length + anchors.bottomMargin: ControlsPrivate.Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : anchors.margins + implicitHeight: model.count * sidebarSplitter.rowHeight + delegate: Item { + id: shortcutItem + width: sidebarSplitter.width + height: shortcutLabel.implicitHeight * 1.5 + Text { + id: shortcutLabel + text: __shortcuts[index].name + anchors { + verticalCenter: parent.verticalCenter + left: parent.left + right: parent.right + margins: 4 + } + elide: Text.ElideLeft + renderType: ControlsPrivate.Settings.isMobile ? Text.QtRendering : Text.NativeRendering + Component.onCompleted: { + sidebarSplitter.rowHeight = parent.height + if (implicitWidth * 1.2 > sidebarSplitter.maxShortcutWidth) + sidebarSplitter.maxShortcutWidth = implicitWidth * 1.2 + } + } + MouseArea { + anchors.fill: parent + onClicked: root.folder = __shortcuts[index].url + } + } + } + } + + ScrollView { + Layout.minimumHeight: sidebarSplitter.rowHeight * 2.5 + ListView { + id: favorites + model: root.favoriteFolders + anchors.topMargin: ControlsPrivate.Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : anchors.margins + delegate: Item { + width: favorites.width + height: folderLabel.implicitHeight * 1.5 + Text { + id: folderLabel + text: root.favoriteFolders[index] + anchors { + verticalCenter: parent.verticalCenter + left: parent.left + right: parent.right + margins: 4 + } + elide: Text.ElideLeft + renderType: ControlsPrivate.Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + Menu { + id: favoriteCtxMenu + title: root.favoriteFolders[index] + MenuItem { + text: qsTr("Remove favorite") + onTriggered: { + root.favoriteFolders.splice(index, 1) + favorites.model = root.favoriteFolders + } + } + } + MouseArea { + id: favoriteArea + anchors.fill: parent + acceptedButtons: Qt.LeftButton | Qt.RightButton + hoverEnabled: true + onClicked: { + if (mouse.button == Qt.LeftButton) + root.folder = root.favoriteFolders[index] + else if (mouse.button == Qt.RightButton) + favoriteCtxMenu.popup() + } + onExited: ControlsPrivate.Tooltip.hideText() + onCanceled: ControlsPrivate.Tooltip.hideText() + Timer { + interval: 1000 + running: favoriteArea.containsMouse && !favoriteArea.pressed && folderLabel.truncated + onTriggered: ControlsPrivate.Tooltip.showText(favoriteArea, + Qt.point(favoriteArea.mouseX, favoriteArea.mouseY), urlToPath(root.favoriteFolders[index])) + } + } + } + } + } + } + + Row { + id: favoritesButtons + height: plusButton.height + 1 + anchors.right: parent.right + anchors.rightMargin: 6 + layoutDirection: Qt.RightToLeft + Button { + id: plusButton + style: IconButtonStyle { } + text: "\ue83e" + tooltip: qsTr("Add the current directory as a favorite") + width: height + onClicked: { + root.favoriteFolders.push(root.folder) + favorites.model = root.favoriteFolders + } + } + } + } + + TableView { + id: view + sortIndicatorVisible: true + Layout.fillWidth: true + Layout.minimumWidth: 40 + property bool needsWidthAdjustment: true + selectionMode: root.selectMultiple ? + (ControlsPrivate.Settings.hasTouchScreen ? SelectionMode.MultiSelection : SelectionMode.ExtendedSelection) : + SelectionMode.SingleSelection + onRowCountChanged: if (needsWidthAdjustment && rowCount > 0) { + resizeColumnsToContents() + needsWidthAdjustment = false + } + model: null + + onActivated: if (view.focus) { + if (view.selection.count > 0 && view.model.isFolder(row)) { + dirDown(view.model.get(row, "filePath")) + } else { + root.acceptSelection() + } + } + onClicked: currentPathField.text = view.model.get(row, "filePath") + + + TableViewColumn { + id: fileNameColumn + role: "fileName" + title: qsTr("Filename") + delegate: Item { + implicitWidth: pathText.implicitWidth + pathText.anchors.leftMargin + pathText.anchors.rightMargin + IconGlyph { + id: fileIcon + x: 4 + height: parent.height - 2 + unicode: view.model.isFolder(styleData.row) ? "\ue804" : "\ue802" + } + Text { + id: pathText + text: styleData.value + anchors { + left: parent.left + right: parent.right + leftMargin: fileIcon.width + 6 + rightMargin: 4 + verticalCenter: parent.verticalCenter + } + color: styleData.textColor + elide: Text.ElideRight + renderType: ControlsPrivate.Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + } + } + TableViewColumn { + role: "fileSuffix" + title: qsTr("Type", "file type (extension)") + // TODO should not need to create a whole new component just to customize the text value + // something like textFormat: function(text) { return view.model.get(styleData.row, "fileIsDir") ? "folder" : text } + delegate: Item { + implicitWidth: sizeText.implicitWidth + sizeText.anchors.leftMargin + sizeText.anchors.rightMargin + Text { + id: sizeText + text: view.model.get(styleData.row, "fileIsDir") ? "folder" : styleData.value + anchors { + left: parent.left + right: parent.right + leftMargin: 4 + rightMargin: 4 + verticalCenter: parent.verticalCenter + } + color: styleData.textColor + elide: Text.ElideRight + renderType: ControlsPrivate.Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + } + } + TableViewColumn { + role: "fileSize" + title: qsTr("Size", "file size") + horizontalAlignment: Text.AlignRight + } + TableViewColumn { id: modifiedColumn; role: "fileModified" ; title: qsTr("Modified", "last-modified time") } + TableViewColumn { id: accessedColumn; role: "fileAccessed" ; title: qsTr("Accessed", "last-accessed time") } + } + } + + ToolBar { + id: titleBar + RowLayout { + anchors.fill: parent + ToolButton { + action: dirUpAction + style: IconButtonStyle { } + Layout.maximumWidth: height * 1.5 + } + TextField { + id: currentPathField + Layout.fillWidth: true + function doAccept() { + root.clearSelection() + if (root.addSelection(root.pathToUrl(text))) + root.accept() + else + root.folder = root.pathFolder(text) + } + onAccepted: doAccept() + } + } + } + Item { + id: bottomBar + width: parent.width + height: buttonRow.height + buttonRow.spacing * 2 + anchors.bottom: parent.bottom + + Row { + id: buttonRow + anchors.right: parent.right + anchors.rightMargin: spacing + anchors.verticalCenter: parent.verticalCenter + spacing: 4 + Button { + id: toggleSidebarButton + checkable: true + style: IconButtonStyle { } + text: "\u25E7" + height: cancelButton.height + width: height + checked: root.sidebarVisible + onClicked: { + root.sidebarVisible = !root.sidebarVisible + } + } + ComboBox { + id: filterField + model: root.nameFilters + visible: !selectFolder + width: bottomBar.width - toggleSidebarButton.width - cancelButton.width - okButton.width - parent.spacing * 6 + anchors.verticalCenter: parent.verticalCenter + onCurrentTextChanged: { + root.selectNameFilter(currentText) + if (view.model) + view.model.nameFilters = root.selectedNameFilterExtensions + } + } + Button { + id: cancelButton + text: qsTr("Cancel") + onClicked: root.reject() + } + Button { + id: okButton + text: root.selectFolder ? qsTr("Choose") : (selectExisting ? qsTr("Open") : qsTr("Save")) + onClicked: { + if (view.model.isFolder(view.currentRow) && !selectFolder) + dirDown(view.model.get(view.currentRow, "filePath")) + else if (!(root.selectExisting)) + currentPathField.doAccept() + else + root.acceptSelection() + } + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qmlc new file mode 100644 index 00000000..5a4490c2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFontDialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFontDialog.qml new file mode 100644 index 00000000..ee6366a5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFontDialog.qml @@ -0,0 +1,403 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.0 +import QtQuick.Dialogs 1.1 +import QtQuick.Dialogs.Private 1.1 +import QtQuick.Layouts 1.1 +import QtQuick.Window 2.1 +import "qml" + +AbstractFontDialog { + id: root + + property alias font: content.externalFont + property alias currentFont: content.font + + Rectangle { + id: content + SystemPalette { id: palette } + + implicitWidth: Math.min(root.__maximumDimension, Math.max(Screen.pixelDensity * 100, mainLayout.implicitWidth + outerSpacing * 2)) + implicitHeight: Math.min(root.__maximumDimension, Math.max(Screen.pixelDensity * 60, mainLayout.implicitHeight + outerSpacing * 2)) + property real spacing: 6 + property real outerSpacing: 12 + color: palette.window + + property font font: Qt.font({ family: "Helvetica", pointSize: 24, weight: Font.Normal }) + property font externalFont + property string writingSystem + property string writingSystemSample + property var pointSizes + + onExternalFontChanged: { + if (Component.status != Component.Ready) + return + + if (content.font != content.externalFont) { + font = externalFont + wsComboBox.reset() + fontListView.reset() + weightListView.reset() + } + } + + Component.onCompleted: externalFontChanged() + + onWritingSystemSampleChanged: { sample.text = writingSystemSample; } + + Keys.onPressed: { + event.accepted = true + switch (event.key) { + case Qt.Key_Return: + case Qt.Key_Select: + updateUponAccepted() + break + case Qt.Key_Escape: + case Qt.Key_Back: + reject() + break + default: + // do nothing + event.accepted = false + break + } + } + + function updateUponAccepted() { + root.font = content.font + root.accept() + } + + ColumnLayout { + id: mainLayout + anchors { fill: parent; margins: content.outerSpacing } + spacing: content.spacing + + GridLayout { + columnSpacing: content.spacing; rowSpacing: content.spacing + columns: 3 + + Label { id: fontNameLabel; Layout.fillWidth: true; text: qsTr("Font"); font.bold: true } + Label { id: weightLabel; text: qsTr("Weight"); font.bold: true } + Label { id: sizeLabel; text: qsTr("Size"); font.bold: true } + TableView { + id: fontListView + focus: true + Layout.fillWidth: true + Layout.fillHeight: true + Layout.preferredWidth: fontColumn.width + headerVisible: false + function reset() { + fontModel.findIndex() + content.pointSizes = fontModel.pointSizes() + fontModel.findPointSizesIndex() + } + TableViewColumn{ id: fontColumn; role: "family"; title: qsTr("Font Family") } + model: FontListModel { + id: fontModel + scalableFonts: root.scalableFonts + nonScalableFonts: root.nonScalableFonts + monospacedFonts: root.monospacedFonts + proportionalFonts: root.proportionalFonts + Component.onCompleted: fontListView.reset() + onModelReset: { findIndex(); } + function findIndex() { + fontListView.selection.clear() + if (fontModel.count <= 0 || fontListView.rowCount <= 0) + return + + var currentRow = 0 + if (content.font.family != "") { + for (var i = 0; i < fontModel.count; ++i) { + if (content.font.family == fontModel.get(i).family) { + currentRow = i + break + } + } + } + content.font.family = fontModel.get(currentRow).family + fontListView.selection.select(currentRow) + fontListView.positionViewAtRow(currentRow, ListView.Contain) + fontListView.clicked(currentRow) + } + function findPointSizesIndex() { + pointSizesListView.selection.clear() + if (content.pointSizes.length <= 0 || pointSizesListView.rowCount <= 0) + return + + var currentRow = -1 + for (var i = 0; i < content.pointSizes.length; ++i) { + if (content.font.pointSize == content.pointSizes[i]) { + currentRow = i + break + } + } + if (currentRow != -1) { + content.font.pointSize = content.pointSizes[currentRow] + pointSizesListView.selection.select(currentRow) + pointSizesListView.positionViewAtRow(currentRow, ListView.Contain) + pointSizesListView.clicked(currentRow) + } + } + } + function select(row) { + if (row == -1) + return + currentRow = row + content.font.family = fontModel.get(row).family + positionViewAtRow(row, ListView.Contain) + } + onClicked: select(row) + onCurrentRowChanged: select(currentRow) + } + TableView { + id: weightListView + implicitWidth: (Component.status == Component.Ready) ? (weightColumn.width + content.outerSpacing) : (100) + Layout.fillHeight: true + Component.onCompleted: resizeColumnsToContents(); + headerVisible: false + function reset() { + weightModel.findIndex() + } + TableViewColumn { id: weightColumn; role: "name"; title: qsTr("Weight") } + model: ListModel { + id: weightModel + ListElement { name: qsTr("Thin"); weight: Font.Thin } + ListElement { name: qsTr("ExtraLight"); weight: Font.ExtraLight } + ListElement { name: qsTr("Light"); weight: Font.Light } + ListElement { name: qsTr("Normal"); weight: Font.Normal } + ListElement { name: qsTr("Medium"); weight: Font.Medium } + ListElement { name: qsTr("DemiBold"); weight: Font.DemiBold } + ListElement { name: qsTr("Bold"); weight: Font.Bold } + ListElement { name: qsTr("ExtraBold"); weight: Font.ExtraBold } + ListElement { name: qsTr("Black"); weight: Font.Black } + Component.onCompleted: weightListView.reset() + function findIndex() { + var currentRow = 1 + for (var i = 0; i < weightModel.count; ++i) { + if (content.font.weight == weightModel.get(i).weight) { + currentRow = i + break + } + } + content.font.weight = weightModel.get(currentRow).family + weightListView.selection.select(currentRow) + weightListView.positionViewAtRow(currentRow, ListView.Contain) + weightListView.clicked(currentRow) + } + } + function select(row) { + if (row == -1) + return + currentRow = row + content.font.weight = weightModel.get(row).weight + positionViewAtRow(row, ListView.Contain) + } + onClicked: select(row) + onCurrentRowChanged: select(currentRow) + } + ColumnLayout { + SpinBox { + id: pointSizeSpinBox; + implicitWidth: (Component.status == Component.Ready) ? (psColumn.width + content.outerSpacing) : (80) + value: content.font.pointSize + decimals: 0 + minimumValue: 1 + maximumValue: 512 + onValueChanged: { + content.font.pointSize = Number(value); + updatePointSizesIndex(); + } + function updatePointSizesIndex() { + pointSizesListView.selection.clear() + if (content.pointSizes.length <= 0 || pointSizesListView.rowCount <= 0) + return + var currentRow = -1 + for (var i = 0; i < content.pointSizes.length; ++i) { + if (content.font.pointSize == content.pointSizes[i]) { + currentRow = i + break + } + } + if (currentRow < 0) + return + content.font.pointSize = content.pointSizes[currentRow] + pointSizesListView.selection.select(currentRow) + pointSizesListView.positionViewAtRow(currentRow, ListView.Contain) + pointSizesListView.clicked(currentRow) + } + } + TableView { + id: pointSizesListView + Layout.fillHeight: true + headerVisible: false + implicitWidth: (Component.status == Component.Ready) ? (psColumn.width + content.outerSpacing) : (80) + Component.onCompleted: resizeColumnsToContents(); + TableViewColumn{ id: psColumn; role: ""; title: qsTr("Size") } + model: content.pointSizes + property bool guard: false + function select(row) { + if (row == -1 || !guard) + return + currentRow = row + content.font.pointSize = content.pointSizes[row] + pointSizeSpinBox.value = content.pointSizes[row] + positionViewAtRow(row, ListView.Contain) + } + onClicked: select(row) + onCurrentRowChanged: { + select(currentRow) + if (!guard) + guard = true + } + } + } + } + + RowLayout { + spacing: content.spacing + Layout.fillHeight: false + ColumnLayout { + spacing: content.spacing + Layout.rowSpan: 3 + Label { id: optionsLabel; text: qsTr("Style"); font.bold: true } + CheckBox { + id: italicCheckBox + text: qsTr("Italic") + checked: content.font.italic + onClicked: { content.font.italic = italicCheckBox.checked } + } + CheckBox { + id: underlineCheckBox + text: qsTr("Underline") + checked: content.font.underline + onClicked: { content.font.underline = underlineCheckBox.checked } + } + CheckBox { + id: overlineCheckBox + text: qsTr("Overline") + checked: content.font.overline + onClicked: { content.font.overline = overlineCheckBox.checked } + } + CheckBox { + id: strikeoutCheckBox + text: qsTr("Strikeout") + checked: content.font.strikeout + onClicked: { content.font.strikeout = strikeoutCheckBox.checked } + } + Item { Layout.fillHeight: true; } //spacer + Label { id: writingSystemLabel; text: qsTr("Writing System"); font.bold: true } + } + + ColumnLayout { + Layout.rowSpan: 3 + spacing: content.spacing + Layout.columnSpan: 2 + Layout.fillWidth: true + Layout.fillHeight: true + Label { id: sampleLabel; text: qsTr("Sample"); font.bold: true } + + Rectangle { + clip: true + Layout.fillWidth: true + Layout.fillHeight: true + implicitWidth: Math.min(360, sample.implicitWidth + parent.spacing) + implicitHeight: Math.min(240, sample.implicitHeight + parent.spacing) + color: "white" + border.color: "#999" + TextInput { + id: sample + activeFocusOnTab: true + Accessible.name: text + Accessible.role: Accessible.EditableText + anchors.centerIn: parent + font: content.font + onFocusChanged: if (!focus && sample.text == "") sample.text = content.writingSystemSample + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + } + } + } + + RowLayout { + id: buttonRow + Layout.columnSpan: 3 + spacing: content.spacing + ComboBox { + id: wsComboBox + function reset() { + if (wsModel.count > 0) { + currentIndex = 0 + } + } + textRole: "name" + model: WritingSystemListModel { + id: wsModel + Component.onCompleted: wsComboBox.reset() + } + onCurrentIndexChanged: { + if (currentIndex == -1) + return + + content.writingSystem = wsModel.get(currentIndex).name + fontModel.writingSystem = content.writingSystem + content.writingSystemSample = wsModel.get(currentIndex).sample + fontListView.reset() + } + } + Item { Layout.fillWidth: true; } //spacer + Button { + text: qsTr("Cancel") + onClicked: root.reject() + } + Button { + text: qsTr("OK") + onClicked: { + content.updateUponAccepted() + } + } + } + } + } +} + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFontDialog.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFontDialog.qmlc new file mode 100644 index 00000000..dba0ab47 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFontDialog.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultMessageDialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultMessageDialog.qml new file mode 100644 index 00000000..d2f2a078 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultMessageDialog.qml @@ -0,0 +1,320 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Dialogs 1.1 +import QtQuick.Window 2.1 +import "qml" + +AbstractMessageDialog { + id: root + + Rectangle { + id: content + property real spacing: 6 + property real outerSpacing: 12 + property real buttonsRowImplicitWidth: Screen.pixelDensity * 50 + implicitHeight: contentColumn.implicitHeight + outerSpacing * 2 + onImplicitHeightChanged: root.height = implicitHeight + implicitWidth: Math.min(root.__maximumDimension, Math.max( + mainText.implicitWidth, buttonsRowImplicitWidth) + outerSpacing * 2); + onImplicitWidthChanged: root.width = implicitWidth + color: palette.window + focus: root.visible + Keys.onPressed: { + event.accepted = true + if (event.modifiers === Qt.ControlModifier) + switch (event.key) { + case Qt.Key_A: + detailedText.selectAll() + break + case Qt.Key_C: + detailedText.copy() + break + case Qt.Key_Period: + if (Qt.platform.os === "osx") + reject() + break + } else switch (event.key) { + case Qt.Key_Escape: + case Qt.Key_Back: + reject() + break + case Qt.Key_Enter: + case Qt.Key_Return: + accept() + break + } + } + + Column { + id: contentColumn + spacing: content.spacing + x: content.outerSpacing + y: content.outerSpacing + width: content.width - content.outerSpacing * 2 + + SystemPalette { id: palette } + + Item { + width: parent.width + height: Math.max(icon.height, mainText.height + informativeText.height + content.spacing) + Image { + id: icon + source: root.standardIconSource + } + + Text { + id: mainText + anchors { + left: icon.right + leftMargin: content.spacing + right: parent.right + } + text: root.text + font.weight: Font.Bold + wrapMode: Text.WordWrap + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + + Text { + id: informativeText + anchors { + left: icon.right + right: parent.right + top: mainText.bottom + leftMargin: content.spacing + topMargin: content.spacing + } + text: root.informativeText + wrapMode: Text.WordWrap + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + } + + + Flow { + id: buttons + spacing: content.spacing + layoutDirection: Qt.RightToLeft + width: parent.width + content.outerSpacing + x: -content.outerSpacing + Button { + id: okButton + text: qsTr("OK") + onClicked: root.click(StandardButton.Ok) + visible: root.standardButtons & StandardButton.Ok + } + Button { + id: openButton + text: qsTr("Open") + onClicked: root.click(StandardButton.Open) + visible: root.standardButtons & StandardButton.Open + } + Button { + id: saveButton + text: qsTr("Save") + onClicked: root.click(StandardButton.Save) + visible: root.standardButtons & StandardButton.Save + } + Button { + id: saveAllButton + text: qsTr("Save All") + onClicked: root.click(StandardButton.SaveAll) + visible: root.standardButtons & StandardButton.SaveAll + } + Button { + id: retryButton + text: qsTr("Retry") + onClicked: root.click(StandardButton.Retry) + visible: root.standardButtons & StandardButton.Retry + } + Button { + id: ignoreButton + text: qsTr("Ignore") + onClicked: root.click(StandardButton.Ignore) + visible: root.standardButtons & StandardButton.Ignore + } + Button { + id: applyButton + text: qsTr("Apply") + onClicked: root.click(StandardButton.Apply) + visible: root.standardButtons & StandardButton.Apply + } + Button { + id: yesButton + text: qsTr("Yes") + onClicked: root.click(StandardButton.Yes) + visible: root.standardButtons & StandardButton.Yes + } + Button { + id: yesAllButton + text: qsTr("Yes to All") + onClicked: root.click(StandardButton.YesToAll) + visible: root.standardButtons & StandardButton.YesToAll + } + Button { + id: noButton + text: qsTr("No") + onClicked: root.click(StandardButton.No) + visible: root.standardButtons & StandardButton.No + } + Button { + id: noAllButton + text: qsTr("No to All") + onClicked: root.click(StandardButton.NoToAll) + visible: root.standardButtons & StandardButton.NoToAll + } + Button { + id: discardButton + text: qsTr("Discard") + onClicked: root.click(StandardButton.Discard) + visible: root.standardButtons & StandardButton.Discard + } + Button { + id: resetButton + text: qsTr("Reset") + onClicked: root.click(StandardButton.Reset) + visible: root.standardButtons & StandardButton.Reset + } + Button { + id: restoreDefaultsButton + text: qsTr("Restore Defaults") + onClicked: root.click(StandardButton.RestoreDefaults) + visible: root.standardButtons & StandardButton.RestoreDefaults + } + Button { + id: cancelButton + text: qsTr("Cancel") + onClicked: root.click(StandardButton.Cancel) + visible: root.standardButtons & StandardButton.Cancel + } + Button { + id: abortButton + text: qsTr("Abort") + onClicked: root.click(StandardButton.Abort) + visible: root.standardButtons & StandardButton.Abort + } + Button { + id: closeButton + text: qsTr("Close") + onClicked: root.click(StandardButton.Close) + visible: root.standardButtons & StandardButton.Close + } + Button { + id: moreButton + text: qsTr("Show Details...") + onClicked: content.state = (content.state === "" ? "expanded" : "") + visible: root.detailedText.length > 0 + } + Button { + id: helpButton + text: qsTr("Help") + onClicked: root.click(StandardButton.Help) + visible: root.standardButtons & StandardButton.Help + } + onVisibleChildrenChanged: calculateImplicitWidth() + } + } + + Item { + id: details + width: parent.width + implicitHeight: detailedText.implicitHeight + content.spacing + height: 0 + clip: true + + anchors { + left: parent.left + right: parent.right + top: contentColumn.bottom + topMargin: content.spacing + leftMargin: content.outerSpacing + rightMargin: content.outerSpacing + } + + Flickable { + id: flickable + contentHeight: detailedText.height + anchors.fill: parent + anchors.topMargin: content.spacing + anchors.bottomMargin: content.outerSpacing + TextEdit { + id: detailedText + text: root.detailedText + width: details.width + wrapMode: Text.WordWrap + readOnly: true + selectByMouse: true + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + } + } + + states: [ + State { + name: "expanded" + PropertyChanges { + target: details + height: content.height - contentColumn.height - content.spacing - content.outerSpacing + } + PropertyChanges { + target: content + implicitHeight: contentColumn.implicitHeight + content.spacing * 2 + + detailedText.implicitHeight + content.outerSpacing * 2 + } + PropertyChanges { + target: moreButton + text: qsTr("Hide Details") + } + } + ] + } + function calculateImplicitWidth() { + if (buttons.visibleChildren.length < 2) + return; + var calcWidth = 0; + for (var i = 0; i < buttons.visibleChildren.length; ++i) + calcWidth += Math.max(100, buttons.visibleChildren[i].implicitWidth) + content.spacing + content.buttonsRowImplicitWidth = content.outerSpacing + calcWidth + } + Component.onCompleted: calculateImplicitWidth() +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultMessageDialog.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultMessageDialog.qmlc new file mode 100644 index 00000000..ba1028bc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultMessageDialog.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/dialogsprivateplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/dialogsprivateplugin.dll new file mode 100644 index 00000000..cbf79312 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/dialogsprivateplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/plugins.qmltypes new file mode 100644 index 00000000..f508d501 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/plugins.qmltypes @@ -0,0 +1,334 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick.Dialogs.Private 1.1' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: { + "NoLayoutChangeHint": 0, + "VerticalSortHint": 1, + "HorizontalSortHint": 2 + } + } + Enum { + name: "CheckIndexOption" + values: { + "NoOption": 0, + "IndexIsValid": 1, + "DoNotUseParent": 2, + "ParentIsInvalid": 4 + } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + name: "QQuickFontListModel" + prototype: "QAbstractListModel" + exports: ["QtQuick.Dialogs.Private/FontListModel 1.1"] + exportMetaObjectRevisions: [0] + Property { name: "writingSystem"; type: "string" } + Property { name: "scalableFonts"; type: "bool" } + Property { name: "nonScalableFonts"; type: "bool" } + Property { name: "monospacedFonts"; type: "bool" } + Property { name: "proportionalFonts"; type: "bool" } + Property { name: "count"; type: "int"; isReadonly: true } + Signal { name: "rowCountChanged" } + Method { + name: "setScalableFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setNonScalableFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setMonospacedFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setProportionalFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + Method { name: "pointSizes"; type: "QJSValue" } + } + Component { + name: "QQuickWritingSystemListModel" + prototype: "QAbstractListModel" + exports: ["QtQuick.Dialogs.Private/WritingSystemListModel 1.1"] + exportMetaObjectRevisions: [0] + Property { name: "writingSystems"; type: "QStringList"; isReadonly: true } + Property { name: "count"; type: "int"; isReadonly: true } + Signal { name: "rowCountChanged" } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/qmldir new file mode 100644 index 00000000..562d59e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/Private/qmldir @@ -0,0 +1,4 @@ +module QtQuick.Dialogs.Private +plugin dialogsprivateplugin +classname QtQuick2DialogsPrivatePlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetColorDialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetColorDialog.qml new file mode 100644 index 00000000..891b371d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetColorDialog.qml @@ -0,0 +1,43 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.PrivateWidgets 1.0 + +QtColorDialog { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetColorDialog.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetColorDialog.qmlc new file mode 100644 index 00000000..1e4de339 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetColorDialog.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFileDialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFileDialog.qml new file mode 100644 index 00000000..f888431a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFileDialog.qml @@ -0,0 +1,43 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.PrivateWidgets 1.0 + +QtFileDialog { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFileDialog.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFileDialog.qmlc new file mode 100644 index 00000000..cffd7a28 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFileDialog.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFontDialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFontDialog.qml new file mode 100644 index 00000000..e1a10e57 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFontDialog.qml @@ -0,0 +1,43 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.PrivateWidgets 1.1 + +QtFontDialog { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFontDialog.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFontDialog.qmlc new file mode 100644 index 00000000..96fca2e6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFontDialog.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetMessageDialog.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetMessageDialog.qml new file mode 100644 index 00000000..52e8f1c1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetMessageDialog.qml @@ -0,0 +1,43 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.PrivateWidgets 1.1 + +QtMessageDialog { } diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetMessageDialog.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetMessageDialog.qmlc new file mode 100644 index 00000000..d5d4d7f1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetMessageDialog.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/dialogplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/dialogplugin.dll new file mode 100644 index 00000000..04df3790 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/dialogplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/checkers.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/checkers.png new file mode 100644 index 00000000..72cb9f03 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/checkers.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/checkmark.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/checkmark.png new file mode 100644 index 00000000..821aafcc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/checkmark.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/copy.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/copy.png new file mode 100644 index 00000000..2aeb2828 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/copy.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/critical.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/critical.png new file mode 100644 index 00000000..dc9c5aeb Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/critical.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/crosshairs.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/crosshairs.png new file mode 100644 index 00000000..9a61946e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/crosshairs.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/information.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/information.png new file mode 100644 index 00000000..0a2eb87d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/information.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/question.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/question.png new file mode 100644 index 00000000..2dd92fd7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/question.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/slider_handle.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/slider_handle.png new file mode 100644 index 00000000..e3b96543 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/slider_handle.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/sunken_frame.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/sunken_frame.png new file mode 100644 index 00000000..178c3092 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/sunken_frame.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/warning.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/warning.png new file mode 100644 index 00000000..cba78f6b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/warning.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/window_border.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/window_border.png new file mode 100644 index 00000000..23c011d0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/images/window_border.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/plugins.qmltypes new file mode 100644 index 00000000..559bb48a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/plugins.qmltypes @@ -0,0 +1,484 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick.Dialogs 1.3' + +Module { + dependencies: [ + "Qt.labs.folderlistmodel 2.1", + "Qt.labs.settings 1.0", + "QtGraphicalEffects 1.12", + "QtQml 2.14", + "QtQml.Models 2.2", + "QtQuick 2.9", + "QtQuick.Controls 1.5", + "QtQuick.Controls.Styles 1.4", + "QtQuick.Extras 1.4", + "QtQuick.Layouts 1.1", + "QtQuick.Window 2.2" + ] + Component { + name: "QQuickAbstractColorDialog" + prototype: "QQuickAbstractDialog" + Property { name: "showAlphaChannel"; type: "bool" } + Property { name: "color"; type: "QColor" } + Property { name: "currentColor"; type: "QColor" } + Property { name: "currentHue"; type: "double"; isReadonly: true } + Property { name: "currentSaturation"; type: "double"; isReadonly: true } + Property { name: "currentLightness"; type: "double"; isReadonly: true } + Property { name: "currentAlpha"; type: "double"; isReadonly: true } + Signal { name: "selectionAccepted" } + Method { + name: "setVisible" + Parameter { name: "v"; type: "bool" } + } + Method { + name: "setModality" + Parameter { name: "m"; type: "Qt::WindowModality" } + } + Method { + name: "setTitle" + Parameter { name: "t"; type: "string" } + } + Method { + name: "setColor" + Parameter { name: "arg"; type: "QColor" } + } + Method { + name: "setCurrentColor" + Parameter { name: "currentColor"; type: "QColor" } + } + Method { + name: "setShowAlphaChannel" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + name: "QQuickAbstractDialog" + prototype: "QObject" + Enum { + name: "StandardButton" + values: { + "NoButton": 0, + "Ok": 1024, + "Save": 2048, + "SaveAll": 4096, + "Open": 8192, + "Yes": 16384, + "YesToAll": 32768, + "No": 65536, + "NoToAll": 131072, + "Abort": 262144, + "Retry": 524288, + "Ignore": 1048576, + "Close": 2097152, + "Cancel": 4194304, + "Discard": 8388608, + "Help": 16777216, + "Apply": 33554432, + "Reset": 67108864, + "RestoreDefaults": 134217728, + "NButtons": 134217729 + } + } + Enum { + name: "StandardButtons" + values: { + "NoButton": 0, + "Ok": 1024, + "Save": 2048, + "SaveAll": 4096, + "Open": 8192, + "Yes": 16384, + "YesToAll": 32768, + "No": 65536, + "NoToAll": 131072, + "Abort": 262144, + "Retry": 524288, + "Ignore": 1048576, + "Close": 2097152, + "Cancel": 4194304, + "Discard": 8388608, + "Help": 16777216, + "Apply": 33554432, + "Reset": 67108864, + "RestoreDefaults": 134217728, + "NButtons": 134217729 + } + } + Property { name: "visible"; type: "bool" } + Property { name: "modality"; type: "Qt::WindowModality" } + Property { name: "title"; type: "string" } + Property { name: "isWindow"; type: "bool"; isReadonly: true } + Property { name: "x"; type: "int" } + Property { name: "y"; type: "int" } + Property { name: "width"; type: "int" } + Property { name: "height"; type: "int" } + Property { name: "__maximumDimension"; type: "int"; isReadonly: true } + Signal { name: "visibilityChanged" } + Signal { name: "geometryChanged" } + Signal { name: "accepted" } + Signal { name: "rejected" } + Method { name: "open" } + Method { name: "close" } + Method { + name: "setX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "arg"; type: "int" } + } + } + Component { + name: "QQuickAbstractFileDialog" + prototype: "QQuickAbstractDialog" + Property { name: "selectExisting"; type: "bool" } + Property { name: "selectMultiple"; type: "bool" } + Property { name: "selectFolder"; type: "bool" } + Property { name: "folder"; type: "QUrl" } + Property { name: "nameFilters"; type: "QStringList" } + Property { name: "selectedNameFilter"; type: "string" } + Property { name: "selectedNameFilterExtensions"; type: "QStringList"; isReadonly: true } + Property { name: "selectedNameFilterIndex"; type: "int" } + Property { name: "fileUrl"; type: "QUrl"; isReadonly: true } + Property { name: "fileUrls"; type: "QList"; isReadonly: true } + Property { name: "sidebarVisible"; type: "bool" } + Property { name: "defaultSuffix"; type: "string" } + Property { name: "shortcuts"; type: "QJSValue"; isReadonly: true } + Property { name: "__shortcuts"; type: "QJSValue"; isReadonly: true } + Signal { name: "filterSelected" } + Signal { name: "fileModeChanged" } + Signal { name: "selectionAccepted" } + Method { + name: "setVisible" + Parameter { name: "v"; type: "bool" } + } + Method { + name: "setTitle" + Parameter { name: "t"; type: "string" } + } + Method { + name: "setSelectExisting" + Parameter { name: "s"; type: "bool" } + } + Method { + name: "setSelectMultiple" + Parameter { name: "s"; type: "bool" } + } + Method { + name: "setSelectFolder" + Parameter { name: "s"; type: "bool" } + } + Method { + name: "setFolder" + Parameter { name: "f"; type: "QUrl" } + } + Method { + name: "setNameFilters" + Parameter { name: "f"; type: "QStringList" } + } + Method { + name: "selectNameFilter" + Parameter { name: "f"; type: "string" } + } + Method { + name: "setSelectedNameFilterIndex" + Parameter { name: "idx"; type: "int" } + } + Method { + name: "setSidebarVisible" + Parameter { name: "s"; type: "bool" } + } + Method { + name: "setDefaultSuffix" + Parameter { name: "suffix"; type: "string" } + } + } + Component { + name: "QQuickAbstractFontDialog" + prototype: "QQuickAbstractDialog" + Property { name: "scalableFonts"; type: "bool" } + Property { name: "nonScalableFonts"; type: "bool" } + Property { name: "monospacedFonts"; type: "bool" } + Property { name: "proportionalFonts"; type: "bool" } + Property { name: "font"; type: "QFont" } + Property { name: "currentFont"; type: "QFont" } + Signal { name: "selectionAccepted" } + Method { + name: "setVisible" + Parameter { name: "v"; type: "bool" } + } + Method { + name: "setModality" + Parameter { name: "m"; type: "Qt::WindowModality" } + } + Method { + name: "setTitle" + Parameter { name: "t"; type: "string" } + } + Method { + name: "setFont" + Parameter { name: "arg"; type: "QFont" } + } + Method { + name: "setCurrentFont" + Parameter { name: "arg"; type: "QFont" } + } + Method { + name: "setScalableFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setNonScalableFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setMonospacedFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setProportionalFonts" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + name: "QQuickAbstractMessageDialog" + prototype: "QQuickAbstractDialog" + Enum { + name: "Icon" + values: { + "NoIcon": 0, + "Information": 1, + "Warning": 2, + "Critical": 3, + "Question": 4 + } + } + Property { name: "text"; type: "string" } + Property { name: "informativeText"; type: "string" } + Property { name: "detailedText"; type: "string" } + Property { name: "icon"; type: "Icon" } + Property { name: "standardIconSource"; type: "QUrl"; isReadonly: true } + Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } + Property { + name: "clickedButton" + type: "QQuickAbstractDialog::StandardButton" + isReadonly: true + } + Signal { name: "buttonClicked" } + Signal { name: "discard" } + Signal { name: "help" } + Signal { name: "yes" } + Signal { name: "no" } + Signal { name: "apply" } + Signal { name: "reset" } + Method { + name: "setVisible" + Parameter { name: "v"; type: "bool" } + } + Method { + name: "setTitle" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setText" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setInformativeText" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setDetailedText" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setIcon" + Parameter { name: "icon"; type: "Icon" } + } + Method { + name: "setStandardButtons" + Parameter { name: "buttons"; type: "StandardButtons" } + } + Method { + name: "click" + Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } + } + } + Component { + name: "QQuickColorDialog" + defaultProperty: "contentItem" + prototype: "QQuickAbstractColorDialog" + exports: ["QtQuick.Dialogs/AbstractColorDialog 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + } + Component { + name: "QQuickDialog1" + defaultProperty: "contentItem" + prototype: "QQuickAbstractDialog" + exports: ["QtQuick.Dialogs/AbstractDialog 1.2"] + exportMetaObjectRevisions: [0] + Property { name: "title"; type: "string" } + Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } + Property { + name: "clickedButton" + type: "QQuickAbstractDialog::StandardButton" + isReadonly: true + } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Signal { name: "buttonClicked" } + Signal { name: "discard" } + Signal { name: "help" } + Signal { name: "yes" } + Signal { name: "no" } + Signal { name: "apply" } + Signal { name: "reset" } + Method { + name: "setTitle" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setStandardButtons" + Parameter { name: "buttons"; type: "StandardButtons" } + } + Method { + name: "click" + Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } + } + Method { name: "__standardButtonsLeftModel"; type: "QJSValue" } + Method { name: "__standardButtonsRightModel"; type: "QJSValue" } + } + Component { + name: "QQuickFileDialog" + defaultProperty: "contentItem" + prototype: "QQuickAbstractFileDialog" + exports: ["QtQuick.Dialogs/AbstractFileDialog 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Method { name: "clearSelection" } + Method { + name: "addSelection" + type: "bool" + Parameter { name: "path"; type: "QUrl" } + } + } + Component { + name: "QQuickFontDialog" + defaultProperty: "contentItem" + prototype: "QQuickAbstractFontDialog" + exports: ["QtQuick.Dialogs/AbstractFontDialog 1.1"] + exportMetaObjectRevisions: [0] + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + } + Component { + name: "QQuickMessageDialog" + defaultProperty: "contentItem" + prototype: "QQuickAbstractMessageDialog" + exports: ["QtQuick.Dialogs/AbstractMessageDialog 1.1"] + exportMetaObjectRevisions: [0] + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + } + Component { + name: "QQuickStandardButton" + exports: ["QtQuick.Dialogs/StandardButton 1.1"] + isCreatable: false + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickStandardIcon" + exports: ["QtQuick.Dialogs/StandardIcon 1.1"] + isCreatable: false + exportMetaObjectRevisions: [0] + } + Component { + prototype: "QQuickColorDialog" + name: "QtQuick.Dialogs/ColorDialog 1.0" + exports: ["QtQuick.Dialogs/ColorDialog 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentItem" + Property { name: "__valueSet"; type: "bool" } + Method { name: "__setControlsFromColor"; type: "QVariant" } + } + Component { + prototype: "QQuickDialog1" + name: "QtQuick.Dialogs/Dialog 1.2" + exports: ["QtQuick.Dialogs/Dialog 1.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "data" + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Signal { + name: "actionChosen" + Parameter { name: "action"; type: "QVariant" } + } + Method { name: "setupButtons"; type: "QVariant" } + } + Component { + prototype: "QQuickDialog1" + name: "QtQuick.Dialogs/Dialog 1.3" + exports: ["QtQuick.Dialogs/Dialog 1.3"] + exportMetaObjectRevisions: [3] + isComposite: true + defaultProperty: "data" + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Signal { + name: "actionChosen" + Parameter { name: "action"; type: "QVariant" } + } + Method { name: "setupButtons"; type: "QVariant" } + } + Component { + prototype: "QQuickFileDialog" + name: "QtQuick.Dialogs/FileDialog 1.0" + exports: ["QtQuick.Dialogs/FileDialog 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "contentItem" + Property { name: "modelComponent"; type: "QQmlComponent"; isPointer: true } + Property { name: "settings"; type: "QQmlSettings"; isPointer: true } + Property { name: "showFocusHighlight"; type: "bool" } + Property { name: "palette"; type: "QQuickSystemPalette"; isPointer: true } + Property { name: "favoriteFolders"; type: "QVariant" } + Property { name: "dirUpAction"; type: "QQuickAction1"; isPointer: true } + Method { + name: "dirDown" + type: "QVariant" + Parameter { name: "path"; type: "QVariant" } + } + Method { name: "dirUp"; type: "QVariant" } + Method { name: "acceptSelection"; type: "QVariant" } + } + Component { + prototype: "QQuickFontDialog" + name: "QtQuick.Dialogs/FontDialog 1.1" + exports: ["QtQuick.Dialogs/FontDialog 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "contentItem" + Property { name: "font"; type: "QFont" } + Property { name: "currentFont"; type: "QFont" } + } + Component { + prototype: "QQuickMessageDialog" + name: "QtQuick.Dialogs/MessageDialog 1.1" + exports: ["QtQuick.Dialogs/MessageDialog 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "contentItem" + Method { name: "calculateImplicitWidth"; type: "QVariant" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/ColorSlider.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/ColorSlider.qml new file mode 100644 index 00000000..8322910f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/ColorSlider.qml @@ -0,0 +1,139 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls.Private 1.0 + +Item { + id: colorSlider + + property real value: 1 + property real maximum: 1 + property real minimum: 0 + property string text: "" + property bool pressed: mouseArea.pressed + property bool integer: false + property Component trackDelegate + property string handleSource: "../images/slider_handle.png" + + width: parent.width + height: handle.height + textText.implicitHeight + + function updatePos() { + if (maximum > minimum) { + var pos = (track.width - 10) * (value - minimum) / (maximum - minimum) + 5; + return Math.min(Math.max(pos, 5), track.width - 5) - 10; + } else { + return 5; + } + } + + SystemPalette { id: palette } + + Column { + id: column + width: parent.width + spacing: 12 + Text { + id: textText + anchors.horizontalCenter: parent.horizontalCenter + text: colorSlider.text + anchors.left: parent.left + color: palette.windowText + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + } + + Item { + id: track + height: 8 + anchors.left: parent.left + anchors.right: parent.right + + Loader { + sourceComponent: trackDelegate + width: parent.height + height: parent.width + y: width + } + + BorderImage { + source: "../images/sunken_frame.png" + border.left: 8 + border.right: 8 + border.top:8 + border.bottom: 8 + anchors.fill: track + anchors.margins: -1 + anchors.topMargin: -2 + anchors.leftMargin: -2 + } + + Image { + id: handle + anchors.verticalCenter: parent.verticalCenter + smooth: true + source: "../images/slider_handle.png" + x: updatePos() - 8 + z: 1 + } + + MouseArea { + id: mouseArea + anchors {left: parent.left; right: parent.right; verticalCenter: parent.verticalCenter} + height: handle.height + width: handle.width + preventStealing: true + + onPressed: { + var handleX = Math.max(0, Math.min(mouseX, mouseArea.width)) + var realValue = (maximum - minimum) * handleX / mouseArea.width + minimum; + value = colorSlider.integer ? Math.round(realValue) : realValue; + } + + onPositionChanged: { + if (pressed) { + var handleX = Math.max(0, Math.min(mouseX, mouseArea.width)) + var realValue = (maximum - minimum) * handleX / mouseArea.width + minimum; + value = colorSlider.integer ? Math.round(realValue) : realValue; + } + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/ColorSlider.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/ColorSlider.qmlc new file mode 100644 index 00000000..577d4742 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/ColorSlider.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml new file mode 100644 index 00000000..ceb8b215 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +Rectangle { + color: "#80000000" + anchors.fill: parent + z: 1000000 + property alias content: borderImage.content + property bool dismissOnOuterClick: true + signal dismissed + MouseArea { + anchors.fill: parent + onClicked: if (dismissOnOuterClick) dismissed() + BorderImage { + id: borderImage + property Item content + + MouseArea { anchors.fill: parent } + + width: content ? content.width + 15 : 0 + height: content ? content.height + 15 : 0 + onWidthChanged: if (content) content.x = 5 + onHeightChanged: if (content) content.y = 5 + border { left: 10; top: 10; right: 10; bottom: 10 } + clip: true + source: "../images/window_border.png" + anchors.centerIn: parent + onContentChanged: if (content) content.parent = borderImage + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/DefaultWindowDecoration.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/DefaultWindowDecoration.qmlc new file mode 100644 index 00000000..51139d48 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/DefaultWindowDecoration.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconButtonStyle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconButtonStyle.qml new file mode 100644 index 00000000..a09debeb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconButtonStyle.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.2 +import QtQuick.Controls.Private 1.0 +import QtQuick.Controls.Styles 1.1 + +ButtonStyle { + FontLoader { id: iconFont; source: "icons.ttf" } + + label: Text { + id: text + font.family: iconFont.name + font.pointSize: TextSingleton.font.pointSize * 1.5 + renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering + text: control.text + color: SystemPaletteSingleton.buttonText(control.enabled) + verticalAlignment: Text.AlignVCenter + horizontalAlignment: Text.AlignHCenter + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconButtonStyle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconButtonStyle.qmlc new file mode 100644 index 00000000..795bc41d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconButtonStyle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconGlyph.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconGlyph.qml new file mode 100644 index 00000000..728ce7e1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconGlyph.qml @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 + +Text { + id: icon + width: height + verticalAlignment: Text.AlignVCenter + font.family: iconFont.name + property alias unicode: icon.text + FontLoader { id: iconFont; source: "icons.ttf"; onNameChanged: console.log("custom font" + name) } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconGlyph.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconGlyph.qmlc new file mode 100644 index 00000000..d1a1a5e6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconGlyph.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/icons.ttf b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/icons.ttf new file mode 100644 index 00000000..54289ca9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/icons.ttf differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/qmldir new file mode 100644 index 00000000..b130eec8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qml/qmldir @@ -0,0 +1,3 @@ +ColorSlider 1.0 ColorSlider.qml +IconButtonStyle 1.0 IconButtonStyle.qml +IconGlyph 1.0 IconGlyph.qml diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qmldir new file mode 100644 index 00000000..88df140e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Dialogs/qmldir @@ -0,0 +1,10 @@ +module QtQuick.Dialogs +plugin dialogplugin +classname QtQuick2DialogsPlugin +typeinfo plugins.qmltypes +depends Qt.labs.folderlistmodel 1.0 +depends Qt.labs.settings 1.0 +depends QtQuick.Dialogs.Private 1.0 +depends QtQuick.Controls 1.3 +depends QtQuick.PrivateWidgets 1.1 +depends QtQml 2.14 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/CircularGauge.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/CircularGauge.qml new file mode 100644 index 00000000..d42e17d5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/CircularGauge.qml @@ -0,0 +1,160 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +// Workaround for QTBUG-37751; we need this import for RangeModel, although we shouldn't. +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras.Private 1.0 + +/*! + \qmltype CircularGauge + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \ingroup extras-non-interactive + \brief A gauge that displays a value within a range along an arc. + + \image circulargauge.png CircularGauge + + The CircularGauge is similar to traditional mechanical gauges that use a + needle to display a value from some input, such as the speed of a vehicle or + air pressure, for example. + + The minimum and maximum values displayable by the gauge can be set with the + \l minimumValue and \l maximumValue properties. The angle at which these + values are displayed can be set with the + \l {CircularGaugeStyle::}{minimumValueAngle} and + \l {CircularGaugeStyle::}{maximumValueAngle} properties of + \l {CircularGaugeStyle}. + + Example: + \code + CircularGauge { + value: accelerating ? maximumValue : 0 + anchors.centerIn: parent + + property bool accelerating: false + + Keys.onSpacePressed: accelerating = true + Keys.onReleased: { + if (event.key === Qt.Key_Space) { + accelerating = false; + event.accepted = true; + } + } + + Component.onCompleted: forceActiveFocus() + + Behavior on value { + NumberAnimation { + duration: 1000 + } + } + } + \endcode + + You can create a custom appearance for a CircularGauge by assigning a + \l {CircularGaugeStyle}. +*/ + +Control { + id: circularGauge + + style: Settings.styleComponent(Settings.style, "CircularGaugeStyle.qml", circularGauge) + + /*! + \qmlproperty real CircularGauge::minimumValue + + This property holds the smallest value displayed by the gauge. + */ + property alias minimumValue: range.minimumValue + + /*! + \qmlproperty real CircularGauge::maximumValue + + This property holds the largest value displayed by the gauge. + */ + property alias maximumValue: range.maximumValue + + /*! + This property holds the current value displayed by the gauge, which will + always be between \l minimumValue and \l maximumValue, inclusive. + */ + property alias value: range.value + + /*! + \qmlproperty real CircularGauge::stepSize + + This property holds the size of the value increments that the needle + displays. + + For example, when stepSize is \c 10 and value is \c 0, adding \c 5 to + \l value will have no visible effect on the needle, although \l value + will still be incremented. Adding an extra \c 5 to \l value will then + cause the needle to point to \c 10. + */ + property alias stepSize: range.stepSize + + /*! + This property determines whether or not the gauge displays tickmarks, + minor tickmarks, and labels. + + For more fine-grained control over what is displayed, the following + style components of + \l CircularGaugeStyle can be + used: + + \list + \li \l {CircularGaugeStyle::}{tickmark} + \li \l {CircularGaugeStyle::}{minorTickmark} + \li \l {CircularGaugeStyle::}{tickmarkLabel} + \endlist + */ + property bool tickmarksVisible: true + + RangeModel { + id: range + minimumValue: 0 + maximumValue: 100 + stepSize: 0 + value: minimumValue + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/CircularGauge.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/CircularGauge.qmlc new file mode 100644 index 00000000..4879a7f3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/CircularGauge.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/DelayButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/DelayButton.qml new file mode 100644 index 00000000..9a0c3a25 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/DelayButton.qml @@ -0,0 +1,161 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype DelayButton + \inherits QtQuickControls::Button + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \ingroup extras-interactive + \brief A checkable button that triggers an action when held in long enough. + + \image delaybutton.png A DelayButton + + The DelayButton is a checkable button that incorporates a delay before + the button becomes checked and the \l activated signal is emitted. This + delay prevents accidental presses. + + The current progress is expressed as a decimal value between \c 0.0 and + \c 1.0. The time it takes for \l activated to be emitted is measured in + milliseconds, and can be set with the \l delay property. + + The progress is indicated by a progress indicator around the button. When + the indicator reaches completion, it flashes. + + \image delaybutton-progress.png A DelayButton being held down + A DelayButton being held down + \image delaybutton-activated.png A DelayButton after being activated + A DelayButton after being activated + + You can create a custom appearance for a DelayButton by assigning a + \l {DelayButtonStyle}. +*/ + +Button { + id: root + + style: Settings.styleComponent(Settings.style, "DelayButtonStyle.qml", root) + + /*! + \qmlproperty real DelayButton::progress + + This property holds the current progress as displayed by the progress + indicator, in the range \c 0.0 - \c 1.0. + */ + readonly property alias progress: root.__progress + + /*! + This property holds the time it takes (in milliseconds) for \l progress + to reach \c 1.0 and emit \l activated. + + The default value is \c 3000 ms. + */ + property int delay: 3000 + + /*! + This signal is emitted when \l progress reaches \c 1.0 and the button + becomes checked. + */ + signal activated + + + /*! \internal */ + property real __progress: 0.0 + + Behavior on __progress { + id: progressBehavior + + NumberAnimation { + id: numberAnimation + } + } + + Qml.Binding { + // Force checkable to false to get full control over the checked -property + target: root + property: "checkable" + value: false + restoreMode: Binding.RestoreBinding + } + + onProgressChanged: { + if (__progress === 1.0) { + checked = true; + activated(); + } + } + + onCheckedChanged: { + if (checked) { + if (__progress < 1) { + // Programmatically activated the button; don't animate. + progressBehavior.enabled = false; + __progress = 1; + progressBehavior.enabled = true; + } + } else { + // Unchecked the button after it was flashing; it should instantly stop + // flashing (with no reversed progress bar). + progressBehavior.enabled = false; + __progress = 0; + progressBehavior.enabled = true; + } + } + + onPressedChanged: { + if (checked) { + if (pressed) { + // Pressed the button to stop the activation. + checked = false; + } + } else { + var effectiveDelay = pressed ? delay : delay * 0.3; + // Not active. Either the button is being held down or let go. + numberAnimation.duration = Math.max(0, (pressed ? 1 - __progress : __progress) * effectiveDelay); + __progress = pressed ? 1 : 0; + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/DelayButton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/DelayButton.qmlc new file mode 100644 index 00000000..419644f8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/DelayButton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Dial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Dial.qml new file mode 100644 index 00000000..688f13d9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Dial.qml @@ -0,0 +1,229 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 + +/*! + \qmltype Dial + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \ingroup extras-interactive + \brief A circular dial that is rotated to set a value. + + \image dial.png A Dial + + The Dial is similar to a traditional dial knob that is found on devices + such as stereos or industrial equipment. It allows the user to specify a + value within a range. + + Like CircularGauge, Dial can display tickmarks to give an indication of + the current value. When a suitable stepSize is combined with + \l {DialStyle::}{tickmarkStepSize}, + the dial "snaps" to each tickmark. + + You can create a custom appearance for a Dial by assigning a + \l {DialStyle}. +*/ + +Control { + id: dial + + activeFocusOnTab: true + style: Settings.styleComponent(Settings.style, "DialStyle.qml", dial) + + /*! + \qmlproperty real Dial::value + + The angle of the handle along the dial, in the range of + \c 0.0 to \c 1.0. + + The default value is \c{0.0}. + */ + property alias value: range.value + + /*! + \qmlproperty real Dial::minimumValue + + The smallest value allowed by the dial. + + The default value is \c{0.0}. + + \sa value, maximumValue + */ + property alias minimumValue: range.minimumValue + + /*! + \qmlproperty real Dial::maximumValue + + The largest value allowed by the dial. + + The default value is \c{1.0}. + + \sa value, minimumValue + */ + property alias maximumValue: range.maximumValue + + /*! + \qmlproperty real Dial::hovered + + This property holds whether the button is being hovered. + */ + readonly property alias hovered: mouseArea.containsMouse + + /*! + \qmlproperty real Dial::stepSize + + The default value is \c{0.0}. + */ + property alias stepSize: range.stepSize + + /*! + \internal + Determines whether the dial can be freely rotated past the zero marker. + + The default value is \c false. + */ + property bool __wrap: false + + /*! + This property specifies whether the dial should gain active focus when + pressed. + + The default value is \c false. + + \sa pressed + */ + property bool activeFocusOnPress: false + + /*! + \qmlproperty bool Dial::pressed + + Returns \c true if the dial is pressed. + + \sa activeFocusOnPress + */ + readonly property alias pressed: mouseArea.pressed + + /*! + This property determines whether or not the dial displays tickmarks, + minor tickmarks, and labels. + + For more fine-grained control over what is displayed, the following + style components of + \l {DialStyle} can be used: + + \list + \li \l {DialStyle::}{tickmark} + \li \l {DialStyle::}{minorTickmark} + \li \l {DialStyle::}{tickmarkLabel} + \endlist + + The default value is \c true. + */ + property bool tickmarksVisible: true + + Keys.onLeftPressed: value -= stepSize + Keys.onDownPressed: value -= stepSize + Keys.onRightPressed: value += stepSize + Keys.onUpPressed: value += stepSize + Keys.onPressed: { + if (event.key === Qt.Key_Home) { + value = minimumValue; + event.accepted = true; + } else if (event.key === Qt.Key_End) { + value = maximumValue; + event.accepted = true; + } + } + + RangeModel { + id: range + minimumValue: 0.0 + maximumValue: 1.0 + stepSize: 0 + value: 0 + } + + MouseArea { + id: mouseArea + hoverEnabled: true + parent: __panel.background.parent + anchors.fill: parent + + onPositionChanged: { + if (pressed) { + value = valueFromPoint(mouseX, mouseY); + } + } + onPressed: { + if (!__style.__dragToSet) + value = valueFromPoint(mouseX, mouseY); + + if (activeFocusOnPress) + dial.forceActiveFocus(); + } + + function bound(val) { return Math.max(minimumValue, Math.min(maximumValue, val)); } + + function valueFromPoint(x, y) + { + var yy = height / 2.0 - y; + var xx = x - width / 2.0; + var angle = (xx || yy) ? Math.atan2(yy, xx) : 0; + + if (angle < Math.PI/ -2) + angle = angle + Math.PI * 2; + + var range = maximumValue - minimumValue; + var value; + if (__wrap) + value = (minimumValue + range * (Math.PI * 3 / 2 - angle) / (2 * Math.PI)); + else + value = (minimumValue + range * (Math.PI * 4 / 3 - angle) / (Math.PI * 10 / 6)); + + return bound(value) + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Dial.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Dial.qmlc new file mode 100644 index 00000000..40778d4d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Dial.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Gauge.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Gauge.qml new file mode 100644 index 00000000..276cc125 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Gauge.qml @@ -0,0 +1,210 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 + +/*! + \qmltype Gauge + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \ingroup extras-non-interactive + \brief A straight gauge that displays a value within a range. + + \image gauge.png Gauge + + The Gauge control displays a value within some range along a horizontal or + vertical axis. It can be thought of as an extension of ProgressBar, + providing tickmarks and labels to provide a visual measurement of the + progress. + + The minimum and maximum values displayable by the gauge can be set with the + \l minimumValue and \l maximumValue properties. + + Example: + \code + Gauge { + minimumValue: 0 + value: 50 + maximumValue: 100 + anchors.centerIn: parent + } + \endcode + + You can create a custom appearance for a Gauge by assigning a + \l {GaugeStyle}. +*/ + +Control { + id: gauge + + style: Settings.styleComponent(Settings.style, "GaugeStyle.qml", gauge) + + /*! + This property holds the smallest value displayed by the gauge. + + The default value is \c 0. + */ + property alias minimumValue: range.minimumValue + + /*! + This property holds the value displayed by the gauge. + + The default value is \c 0. + */ + property alias value: range.value + + /*! + This property holds the largest value displayed by the gauge. + + The default value is \c 100. + */ + property alias maximumValue: range.maximumValue + + /*! + This property determines the orientation of the gauge. + + The default value is \c Qt.Vertical. + */ + property int orientation: Qt.Vertical + + /*! + This property determines the alignment of each tickmark within the + gauge. When \l orientation is \c Qt.Vertical, the valid values are: + + \list + \li Qt.AlignLeft + \li Qt.AlignRight + \endlist + + Any other value will cause \c Qt.AlignLeft to be used, which is also the + default value for this orientation. + + When \l orientation is \c Qt.Horizontal, the valid values are: + + \list + \li Qt.AlignTop + \li Qt.AlignBottom + \endlist + + Any other value will cause \c Qt.AlignBottom to be used, which is also + the default value for this orientation. + */ + property int tickmarkAlignment: orientation == Qt.Vertical ? Qt.AlignLeft : Qt.AlignBottom + property int __tickmarkAlignment: { + if (orientation == Qt.Vertical) { + return (tickmarkAlignment == Qt.AlignLeft || tickmarkAlignment == Qt.AlignRight) ? tickmarkAlignment : Qt.AlignLeft; + } + + return (tickmarkAlignment == Qt.AlignTop || tickmarkAlignment == Qt.AlignBottom) ? tickmarkAlignment : Qt.AlignBottom; + } + + /*! + \internal + + TODO: finish this + + This property determines whether or not the tickmarks and their labels + are drawn inside (over) the gauge. The value of this property affects + \l tickmarkAlignment. + */ + property bool __tickmarksInside: false + + /*! + This property determines the rate at which tickmarks are drawn on the + gauge. The lower the value, the more often tickmarks are drawn. + + The default value is \c 10. + */ + property real tickmarkStepSize: 10 + + /*! + This property determines the amount of minor tickmarks drawn between + each regular tickmark. + + The default value is \c 4. + */ + property int minorTickmarkCount: 4 + + /*! + \qmlproperty font Gauge::font + + The font to use for the tickmark text. + */ + property alias font: hiddenText.font + + /*! + This property accepts a function that formats the given \a value for + display in + \l {GaugeStyle::}{tickmarkLabel}. + + For example, to provide a custom format that displays all values with 3 + decimal places: + + \code + formatValue: function(value) { + return value.toFixed(3); + } + \endcode + + The default function does no formatting. + */ + property var formatValue: function(value) { + return value; + } + + property alias __hiddenText: hiddenText + Text { + id: hiddenText + text: formatValue(maximumValue) + visible: false + } + + RangeModel { + id: range + minimumValue: 0 + value: 0 + maximumValue: 100 + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Gauge.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Gauge.qmlc new file mode 100644 index 00000000..ca7aa59b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Gauge.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/PieMenu.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/PieMenu.qml new file mode 100644 index 00000000..cfaaecbe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/PieMenu.qml @@ -0,0 +1,738 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 +import QtQuick.Extras.Private.CppUtils 1.0 as CppUtils + +/*! + \qmltype PieMenu + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \ingroup extras-interactive + \brief A popup menu that displays several menu items along an arc. + + \image piemenu.png A PieMenu + + The PieMenu provides a radial context menu as an alternative to a + traditional menu. All of the items in a PieMenu are an equal distance + from the center of the control. + + \section2 Populating the Menu + + To create a menu, define at least one MenuItem as a child of it: + \code + PieMenu { + id: pieMenu + + MenuItem { + text: "Action 1" + onTriggered: print("Action 1") + } + MenuItem { + text: "Action 2" + onTriggered: print("Action 2") + } + MenuItem { + text: "Action 3" + onTriggered: print("Action 3") + } + } + \endcode + + By default, only the currently selected item's text is displayed above the + menu. To provide text that is always visible when there is no current item, + set the \l title property. + + \section2 Displaying the Menu + + The typical use case for a menu is to open at the point of the mouse + cursor after a right click occurs. To do that, define a MouseArea that + covers the region upon which clicks should open the menu. When the + MouseArea is right-clicked, call the popup() function: + \code + MouseArea { + anchors.fill: parent + acceptedButtons: Qt.RightButton + + onClicked: pieMenu.popup(mouseX, mouseY) + } + \endcode + + If the menu is opened in a position where some of its menu items would be + outside of \l boundingItem, it is automatically moved to a position where + they will not be hidden. By default, the boundingItem is set to the parent + of the menu. It can also be set to \c null to prevent this behavior. + + PieMenu can be displayed at any position on the screen. With a traditional + context menu, the menu would be positioned with its top left corner at the + position of the right click, but since PieMenu is radial, we position it + centered over the position of the right click. + + To create a PieMenu that opens after a long press and selects items upon + releasing, you can combine ActivationMode.ActivateOnRelease with a + MouseArea using a Timer: + \code + MouseArea { + id: touchArea + anchors.fill: parent + + Timer { + id: pressAndHoldTimer + interval: 300 + onTriggered: pieMenu.popup(touchArea.mouseX, touchArea.mouseY); + } + + onPressed: pressAndHoldTimer.start() + onReleased: pressAndHoldTimer.stop(); + } + + PieMenu { + id: pieMenu + + triggerMode: TriggerMode.TriggerOnRelease + + MenuItem { + text: "Action 1" + onTriggered: print("Action 1") + } + MenuItem { + text: "Action 2" + onTriggered: print("Action 2") + } + MenuItem { + text: "Action 3" + onTriggered: print("Action 3") + } + } + \endcode + + You can hide individual menu items by setting their visible property to + \c false. Hiding items does not affect the + \l {PieMenuStyle::}{startAngle} or + \l {PieMenuStyle::}{endAngle}; the + remaining items will grow to consume the available space. + + You can create a custom appearance for a PieMenu by assigning a \l {PieMenuStyle} +*/ + +Control { + id: pieMenu + visible: false + + style: Settings.styleComponent(Settings.style, "PieMenuStyle.qml", pieMenu) + + /*! + This property reflects the angle (in radians) created by the imaginary + line from the center of the menu to the position of the cursor. + + Its value is undefined when the menu is not visible. + */ + readonly property real selectionAngle: { + var centerX = width / 2; + var centerY = height / 2; + var targetX = __protectedScope.selectionPos.x; + var targetY = __protectedScope.selectionPos.y; + + var xDistance = centerX - targetX; + var yDistance = centerY - targetY; + + var angleToTarget = Math.atan2(xDistance, yDistance) * -1; + angleToTarget; + } + + /*! + \qmlproperty enumeration PieMenu::activationMode + + This property determines the method for selecting items in the menu. + + \list + \li An activationMode of \a ActivationMode.ActivateOnPress means that menu + items will only be selected when a mouse press event occurs over them. + + \li An activationMode of \a ActivationMode.ActivateOnRelease means that menu + items will only be selected when a mouse release event occurs over them. + This means that the user must keep the mouse button down after opening + the menu and release the mouse over the item they wish to select. + + \li An activationMode of \a ActivationMode.ActivateOnClick means that menu + items will only be selected when the user clicks once over them. + \endlist + + \warning Changing the activationMode while the menu is visible will + result in undefined behavior. + + \deprecated Use triggerMode instead. + */ + property alias activationMode: pieMenu.triggerMode + + /*! + \qmlproperty enumeration PieMenu::triggerMode + + This property determines the method for selecting items in the menu. + + \list + \li A triggerMode of \a TriggerMode.TriggerOnPress means that menu + items will only be selected when a mouse press event occurs over them. + + \li A triggerMode of \a TriggerMode.TriggerOnRelease means that menu + items will only be selected when a mouse release event occurs over them. + This means that the user must keep the mouse button down after opening + the menu and release the mouse over the item they wish to select. + + \li A triggerMode of \a TriggerMode.TriggerOnClick means that menu + items will only be selected when the user clicks once over them. + \endlist + + \warning Changing the triggerMode while the menu is visible will + result in undefined behavior. + */ + property int triggerMode: TriggerMode.TriggerOnClick + + /*! + \qmlproperty list menuItems + + The list of menu items displayed by this menu. + + You can assign menu items by declaring them as children of PieMenu: + \code + PieMenu { + MenuItem { + text: "Action 1" + onTriggered: function() { print("Action 1"); } + } + MenuItem { + text: "Action 2" + onTriggered: function() { print("Action 2"); } + } + MenuItem { + text: "Action 3" + onTriggered: function() { print("Action 3"); } + } + } + \endcode + */ + default property alias menuItems: defaultPropertyHack.menuItems + + QtObject { + // Can't specify a list as a default property (QTBUG-10822) + id: defaultPropertyHack + property list menuItems + } + + /*! + \qmlproperty int PieMenu::currentIndex + + The index of the the menu item that is currently under the mouse, + or \c -1 if there is no such item. + */ + readonly property alias currentIndex: protectedScope.currentIndex + + /*! + \qmlproperty int PieMenu::currentItem + + The menu item that is currently under the mouse, or \c null if there is + no such item. + */ + readonly property alias currentItem: protectedScope.currentItem + + /*! + This property defines the text that is shown above the menu when + there is no current menu item (currentIndex is \c -1). + + The default value is \c "" (an empty string). + */ + property string title: "" + + /*! + The item which the menu must stay within. + + A typical use case for PieMenu involves: + + \list + \li A MouseArea that determines the clickable area within which the + menu can be opened. + \li The bounds that the menu must not go outside of. + \endlist + + Although they sound similar, they have different purposes. Consider the + example below: + + \image piemenu-boundingItem-example.png Canvas boundingItem example + + The user can only open the menu within the inner rectangle. In this + case, they've opened the menu on the edge of the MouseArea, but there + would not be enough room to display the entire menu centered at the + cursor position, so it was moved to the left. + + If for some reason we didn't want this restriction, we can set + boundingItem to \c null: + + \image piemenu-boundingItem-null-example.png Canvas null boundingItem example + + By default, the menu's \l {Item::}{parent} is the boundingItem. + */ + property Item boundingItem: parent + + /*! + \qmlmethod void popup(real x, real y) + + Opens the menu at coordinates \a x, \a y. + */ + function popup(x, y) { + if (x !== undefined) + pieMenu.x = x - pieMenu.width / 2; + if (y !== undefined) + pieMenu.y = y - pieMenu.height / 2; + + pieMenu.visible = true; + } + + /*! + \qmlmethod void addItem(string text) + + Adds a \a text item to the end of the menu items. + + Equivalent to passing calling \c insertItem(menuItems.length, text). + + Returns the newly added item. + */ + function addItem(text) { + return insertItem(menuItems.length, text); + } + + /*! + \qmlmethod void insertItem(int before, string text) + + Inserts a MenuItem with \a text before the index at \a before. + + To insert an item at the end, pass \c menuItems.length. + + Returns the newly inserted item, or \c null if \a before is invalid. + */ + function insertItem(before, text) { + if (before < 0 || before > menuItems.length) { + return null; + } + + var newItems = __protectedScope.copyItemsToJsArray(); + var newItem = Qt.createQmlObject("import QtQuick.Controls 1.1; MenuItem {}", pieMenu, ""); + newItem.text = text; + newItems.splice(before, 0, newItem); + + menuItems = newItems; + return newItem; + } + + /*! + \qmlmethod void removeItem(item) + + Removes \a item from the menu. + */ + function removeItem(item) { + for (var i = 0; i < menuItems.length; ++i) { + if (menuItems[i] === item) { + var newItems = __protectedScope.copyItemsToJsArray(); + + newItems.splice(i, 1); + menuItems = newItems; + break; + } + } + } + + MouseArea { + id: mouseArea + anchors.fill: parent + hoverEnabled: !Settings.hasTouchScreen && triggerMode !== TriggerMode.TriggerOnRelease + acceptedButtons: Qt.LeftButton | Qt.RightButton + onContainsMouseChanged: if (!containsMouse) __protectedScope.currentIndex = -1 + objectName: "PieMenu internal MouseArea" + + // The mouse thief also updates the selectionPos, so we can't bind to + // this mouseArea's mouseX/mouseY. + onPositionChanged: { + __protectedScope.selectionPos = Qt.point(mouseX, mouseY) + } + } + + /*! \internal */ + property alias __mouseThief: mouseThief + + CppUtils.MouseThief { + id: mouseThief + + onPressed: { + __protectedScope.selectionPos = Qt.point(mouseX, mouseY); + if (__protectedScope.handleEvent(ActivationMode.ActivateOnPress)) { + mouseThief.acceptCurrentEvent(); + // We handled the press event, so we can reset this now. + mouseThief.receivedPressEvent = false; + } + } + onReleased: { + __protectedScope.selectionPos = Qt.point(mouseX, mouseY); + if (__protectedScope.handleEvent(ActivationMode.ActivateOnRelease)) { + mouseThief.acceptCurrentEvent(); + // We handled the press event, so we can reset this now. + mouseThief.receivedPressEvent = false; + } + __protectedScope.pressedIndex = -1; + } + onClicked: { + __protectedScope.selectionPos = Qt.point(mouseX, mouseY); + if (__protectedScope.handleEvent(ActivationMode.ActivateOnClick)) { + mouseThief.acceptCurrentEvent(); + } + + // Clicked is the last stage in a click event (press, release, click), + // so we can safely set this to false now. + mouseThief.receivedPressEvent = false; + } + onTouchUpdate: __protectedScope.selectionPos = Qt.point(mouseX, mouseY) + } + + onVisibleChanged: { + // parent check is for when it's created without a parent, + // which we do in the tests, for example. + if (parent) { + if (visible) { + if (boundingItem) + __protectedScope.moveWithinBounds(); + + // We need to grab the mouse so that we can detect released() + // (which is only emitted after pressed(), which our MouseArea can't + // emit as it didn't have focus until we were made visible). + mouseThief.grabMouse(mouseArea); + } else { + mouseThief.ungrabMouse(); + __protectedScope.selectionPos = Qt.point(width / 2, height / 2); + } + } + } + onSelectionAngleChanged: __protectedScope.checkForCurrentItem() + + /*! \internal */ + property QtObject __protectedScope: QtObject { + id: protectedScope + + property int currentIndex: -1 + property MenuItem currentItem: currentIndex != -1 ? visibleItems[currentIndex] : null + property point selectionPos: Qt.point(width / 2, height / 2) + property int pressedIndex: -1 + readonly property var localRect: mapFromItem(mouseArea, mouseArea.mouseX, mouseArea.mouseY) + readonly property var visibleItems: { + var items = []; + for (var i = 0; i < menuItems.length; ++i) { + if (menuItems[i].visible) { + items.push(menuItems[i]); + } + } + return items; + } + + onSelectionPosChanged: __protectedScope.checkForCurrentItem() + + // Can't bind directly, because the menu sets this to (0, 0) on closing. + onLocalRectChanged: { + if (visible) + selectionPos = Qt.point(localRect.x, localRect.y); + } + + function copyItemsToJsArray() { + var newItems = []; + for (var j = 0; j < menuItems.length; ++j) { + newItems.push(menuItems[j]); + } + return newItems; + } + + /*! + Returns \c true if the mouse is over the section at \a itemIndex. + */ + function isMouseOver(itemIndex) { + if (__style == null) + return false; + + // Our mouse angle's origin is north naturally, but the section angles need to be + // altered to have their origin north, so we need to remove the alteration here in order to compare properly. + // For example, section 0 will start at -1.57, whereas we want it to start at 0. + var sectionStart = __protectedScope.sectionStartAngle(itemIndex) + Math.PI / 2; + var sectionEnd = __protectedScope.sectionEndAngle(itemIndex) + Math.PI / 2; + + var selAngle = selectionAngle; + var isWithinOurAngle = false; + + if (sectionStart > CppUtils.MathUtils.pi2) { + sectionStart %= CppUtils.MathUtils.pi2; + } else if (sectionStart < -CppUtils.MathUtils.pi2) { + sectionStart %= -CppUtils.MathUtils.pi2; + } + + if (sectionEnd > CppUtils.MathUtils.pi2) { + sectionEnd %= CppUtils.MathUtils.pi2; + } else if (sectionEnd < -CppUtils.MathUtils.pi2) { + sectionEnd %= -CppUtils.MathUtils.pi2; + } + + // If the section crosses the -180 => 180 wrap-around point (from atan2), + // temporarily rotate the section so it doesn't. + if (sectionStart > Math.PI) { + var difference = sectionStart - Math.PI; + selAngle -= difference; + sectionStart -= difference; + sectionEnd -= difference; + } else if (sectionStart < -Math.PI) { + difference = Math.abs(sectionStart - (-Math.PI)); + selAngle += difference; + sectionStart += difference; + sectionEnd += difference; + } + + if (sectionEnd > Math.PI) { + difference = sectionEnd - Math.PI; + selAngle -= difference; + sectionStart -= difference; + sectionEnd -= difference; + } else if (sectionEnd < -Math.PI) { + difference = Math.abs(sectionEnd - (-Math.PI)); + selAngle += difference; + sectionStart += difference; + sectionEnd += difference; + } + + // If we moved the mouse past -180 or 180, we need to move it back within, + // without changing its actual direction. + if (selAngle > Math.PI) { + selAngle = selAngle - CppUtils.MathUtils.pi2; + } else if (selAngle < -Math.PI) { + selAngle += CppUtils.MathUtils.pi2; + } + + if (sectionStart > sectionEnd) { + isWithinOurAngle = selAngle >= sectionEnd && selAngle < sectionStart; + } else { + isWithinOurAngle = selAngle >= sectionStart && selAngle < sectionEnd; + } + + var x1 = width / 2; + var y1 = height / 2; + var x2 = __protectedScope.selectionPos.x; + var y2 = __protectedScope.selectionPos.y; + var distanceFromCenter = Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2); + var cancelRadiusSquared = __style.cancelRadius * __style.cancelRadius; + var styleRadiusSquared = __style.radius * __style.radius; + var isWithinOurRadius = distanceFromCenter >= cancelRadiusSquared + && distanceFromCenter < styleRadiusSquared; + return isWithinOurAngle && isWithinOurRadius; + } + + readonly property real arcRange: endAngleRadians - startAngleRadians + + /*! + The size of one section in radians. + */ + readonly property real sectionSize: arcRange / visibleItems.length + readonly property real startAngleRadians: CppUtils.MathUtils.degToRadOffset(__style.startAngle) + readonly property real endAngleRadians: CppUtils.MathUtils.degToRadOffset(__style.endAngle) + + readonly property real circumferenceOfFullRange: 2 * Math.PI * __style.radius + readonly property real percentageOfFullRange: (arcRange / (Math.PI * 2)) + readonly property real circumferenceOfSection: (sectionSize / arcRange) * (percentageOfFullRange * circumferenceOfFullRange) + + function sectionStartAngle(section) { + var start = startAngleRadians + section * sectionSize; + return start; + } + + function sectionCenterAngle(section) { + return (sectionStartAngle(section) + sectionEndAngle(section)) / 2; + } + + function sectionEndAngle(section) { + var end = startAngleRadians + section * sectionSize + sectionSize; + return end; + } + + function handleEvent(eventType) { + if (!visible) + return false; + + checkForCurrentItem(); + + if (eventType === TriggerMode.TriggerOnPress) + pressedIndex = currentIndex; + + if (eventType === TriggerMode.TriggerOnPress && triggerMode === TriggerMode.TriggerOnClick) { + // We *MUST* accept press events if we plan on also accepting the release + // (aka click, since we create that ourselves) event. If we don't, the + // external mouse area gets the press event but not the release event, + // and won't open until a release event is received, which means until the + // user taps twice on the external mouse area. + // Usually, we accept the current event in the onX MouseThief event handlers above, + // but there we set receivedPressEvent to false if this function says it handled + // the event, which we don't want, since TriggerOnClick is expecting to have + // received a press event. So, we ensure that receivedPressEvent stays true + // by saying we didn't handle the event, even though we actually do. + mouseThief.acceptCurrentEvent(); + return false; + } + + if (triggerMode === eventType) { + if (eventType === TriggerMode.TriggerOnClick && !mouseThief.receivedPressEvent) { + // When the trigger mode is TriggerOnClick, we can't + // act on a click event if we didn't receive the press. + return false; + } + + // Setting visible to false resets the selectionPos to the center + // of the menu, which in turn causes the currentItem check to be re-evaluated, + // which sees that there's no current item because the selectionPos is centered. + // To avoid all of that, we store these variables before setting visible to false. + var currentItemBeforeClosing = currentItem; + var selectionPosBeforeClosing = selectionPos; + var currentIndexBeforeClosing = currentIndex; + + // If the cursor was over an item; trigger it. If it wasn't, + // close our menu regardless. We do this first so that it's + // possible to keep the menu open by setting visible to true in onTriggered. + visible = false; + + if (currentItemBeforeClosing) { + currentItemBeforeClosing.trigger(); + } + + if (visible && !Settings.hasTouchScreen && !Settings.isMobile) { + // The user kept the menu open in onTriggered, so restore the hover stuff. + selectionPos = selectionPosBeforeClosing; + currentIndex = currentIndexBeforeClosing; + } + + // If the trigger mode and event are Release, we should ensure + // that we received a press event beforehand. If we didn't, we shouldn't steal + // the event in MouseThief's event filter. + return mouseThief.receivedPressEvent; + } + return false; + } + + function checkForCurrentItem() { + // Use a temporary varibable because setting currentIndex to -1 here + // will trigger onCurrentIndexChanged. + if (!!visibleItems) { + var hoveredIndex = -1; + for (var i = 0; i < visibleItems.length; ++i) { + if (isMouseOver(i)) { + hoveredIndex = i; + break; + } + } + currentIndex = hoveredIndex; + } + } + + function simplifyAngle(angle) { + var simplified = angle % 360; + if (simplified < 0) + simplified += 360; + return simplified; + } + + function isWithinBottomEdge() { + var start = simplifyAngle(pieMenu.__style.startAngle); + var end = simplifyAngle(pieMenu.__style.endAngle); + return start >= 270 && end <= 90 && ((start < 360 && end <= 360) || (start >= 0 && end > 0)); + } + + function isWithinTopEdge() { + var start = simplifyAngle(pieMenu.__style.startAngle); + var end = simplifyAngle(pieMenu.__style.endAngle); + return start >= 90 && start < 270 && end > 90 && end <= 270; + } + + function isWithinLeftEdge() { + var start = simplifyAngle(pieMenu.__style.startAngle); + var end = simplifyAngle(pieMenu.__style.endAngle); + return (start === 360 || start >= 0) && start < 180 && end > 0 && end <= 180; + } + + function isWithinRightEdge() { + var start = simplifyAngle(pieMenu.__style.startAngle); + var end = simplifyAngle(pieMenu.__style.endAngle); + return start >= 180 && start < 360 && end > 180 && (end === 360 || end === 0); + } + + /*! + Moves the menu if it would open with parts outside of \a rootParent. + */ + function moveWithinBounds() { + // Find the bounding rect of the bounding item in the parent's referential. + var topLeft = boundingItem.mapToItem(pieMenu.parent, 0, 0); + var topRight = boundingItem.mapToItem(pieMenu.parent, boundingItem.width, 0); + var bottomLeft = boundingItem.mapToItem(pieMenu.parent, 0, boundingItem.height); + var bottomRight = boundingItem.mapToItem(pieMenu.parent, boundingItem.width, boundingItem.height); + + // If the boundingItem is rotated, normalize the bounding rect. + topLeft.x = Math.min(topLeft.x, topRight.x, bottomLeft.x, bottomRight.x); + topLeft.y = Math.min(topLeft.y, topRight.y, bottomLeft.y, bottomRight.y); + bottomRight.x = Math.max(topLeft.x, topRight.x, bottomLeft.x, bottomRight.x); + bottomRight.y = Math.max(topLeft.y, topRight.y, bottomLeft.y, bottomRight.y); + + if (pieMenu.x < topLeft.x && !isWithinLeftEdge()) { + // The width and height of the menu is always that of a full circle, + // so the menu is not always outside an edge when it's outside the edge - + // it depends on the start and end angles. + pieMenu.x = topLeft.x; + } else if (pieMenu.x + pieMenu.width > bottomRight.x && !isWithinRightEdge()) { + pieMenu.x = bottomRight.x - pieMenu.width; + } + + if (pieMenu.y < topLeft.y && !isWithinTopEdge()) { + pieMenu.y = topLeft.y; + } else if (pieMenu.y + pieMenu.height > bottomRight.y && !isWithinBottomEdge()) { + pieMenu.y = bottomRight.y - pieMenu.height; + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/PieMenu.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/PieMenu.qmlc new file mode 100644 index 00000000..ab5d0975 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/PieMenu.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButton.qml new file mode 100644 index 00000000..6a147ebf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButton.qml @@ -0,0 +1,51 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 + +/*! + \internal +*/ +Button { + id: button + style: Settings.styleComponent(Settings.style, "CircularButtonStyle.qml", button) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButton.qmlc new file mode 100644 index 00000000..9d918562 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButtonStyleHelper.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButtonStyleHelper.qml new file mode 100644 index 00000000..713d727f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButtonStyleHelper.qml @@ -0,0 +1,136 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 + +QtObject { + id: circularButtonStyleHelper + + property Item control + + property color buttonColorUpTop: "#e3e3e3" + property color buttonColorUpBottom: "#b3b3b3" + property color buttonColorDownTop: "#d3d3d3" + property color buttonColorDownBottom: "#939393" + property color outerArcColorTop: "#9c9c9c" + property color outerArcColorBottom: Qt.rgba(0.941, 0.941, 0.941, 0.29) + property color innerArcColorTop: "#e3e3e3" + property color innerArcColorBottom: "#acacac" + property real innerArcColorBottomStop: 0.4 + property color shineColor: Qt.rgba(1, 1, 1, 0.29) + property real smallestAxis: control ? Math.min(control.width, control.height) : 0 + property real outerArcLineWidth: smallestAxis * 0.04 + property real innerArcLineWidth: Math.max(1, outerArcLineWidth * 0.1) + property real shineArcLineWidth: Math.max(1, outerArcLineWidth * 0.1) + property real implicitWidth: Math.round(TextSingleton.implicitHeight * 8) + property real implicitHeight: Math.round(TextSingleton.implicitHeight * 8) + + property color textColorUp: "#4e4e4e" + property color textColorDown: "#303030" + property color textRaisedColorUp: "#ffffff" + property color textRaisedColorDown: "#e3e3e3" + + property real radius: (smallestAxis * 0.5) - outerArcLineWidth - innerArcLineWidth + property real halfRadius: radius / 2 + property real outerArcRadius: innerArcRadius + outerArcLineWidth / 2 + property real innerArcRadius: radius + innerArcLineWidth / 2 + property real shineArcRadius: outerArcRadius + outerArcLineWidth / 2 - shineArcLineWidth / 2 + property real zeroAngle: Math.PI * 0.5 + + property color buttonColorTop: control && control.pressed ? buttonColorDownTop : buttonColorUpTop + property color buttonColorBottom: control && control.pressed ? buttonColorDownBottom : buttonColorUpBottom + + function toPixels(percentageOfSmallestAxis) { + return percentageOfSmallestAxis * smallestAxis; + } + + function paintBackground(ctx) { + ctx.reset(); + + if (outerArcRadius < 0 || radius < 0) + return; + + var xCenter = ctx.canvas.width / 2; + var yCenter = ctx.canvas.height / 2; + + /* Draw outer arc */ + ctx.beginPath(); + ctx.lineWidth = outerArcLineWidth; + ctx.arc(xCenter, yCenter, outerArcRadius, 0, Math.PI * 2, false); + var gradient = ctx.createRadialGradient(xCenter, yCenter - halfRadius, + 0, xCenter, yCenter - halfRadius, radius * 1.5); + gradient.addColorStop(0, outerArcColorTop); + gradient.addColorStop(1, outerArcColorBottom); + ctx.strokeStyle = gradient; + ctx.stroke(); + + /* Draw the shine along the bottom */ + ctx.beginPath(); + ctx.lineWidth = shineArcLineWidth; + ctx.arc(xCenter, yCenter, shineArcRadius, 0, Math.PI, false); + gradient = ctx.createLinearGradient(xCenter, yCenter + radius, xCenter, yCenter); + gradient.addColorStop(0, shineColor); + gradient.addColorStop(0.5, "rgba(255, 255, 255, 0)"); + ctx.strokeStyle = gradient; + ctx.stroke(); + + /* Draw inner arc */ + ctx.beginPath(); + ctx.lineWidth = innerArcLineWidth + 1; + ctx.arc(xCenter, yCenter, innerArcRadius, 0, Math.PI * 2, false); + gradient = ctx.createLinearGradient(xCenter, yCenter - halfRadius, + xCenter, yCenter + halfRadius); + gradient.addColorStop(0, innerArcColorTop); + gradient.addColorStop(innerArcColorBottomStop, innerArcColorBottom); + ctx.strokeStyle = gradient; + ctx.stroke(); + + /* Draw the button's body */ + ctx.beginPath(); + ctx.ellipse(xCenter - radius, yCenter - radius, radius * 2, radius * 2); + gradient = ctx.createRadialGradient(xCenter, yCenter + radius * 0.85, 0, + xCenter, yCenter + radius * 0.85, radius * (0.85 * 2)); + gradient.addColorStop(1, buttonColorTop); + gradient.addColorStop(0, buttonColorBottom); + ctx.fillStyle = gradient; + ctx.fill(); + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButtonStyleHelper.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButtonStyleHelper.qmlc new file mode 100644 index 00000000..c9d5a931 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButtonStyleHelper.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularTickmarkLabel.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularTickmarkLabel.qml new file mode 100644 index 00000000..997a784b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularTickmarkLabel.qml @@ -0,0 +1,145 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +// Workaround for QTBUG-37751; we need this import for RangeModel, although we shouldn't. +import QtQuick.Controls 1.1 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 + +Control { + id: label + style: Settings.styleComponent(Settings.style, "CircularTickmarkLabelStyle.qml", label) + + property alias minimumValue: range.minimumValue + + property alias maximumValue: range.maximumValue + + property alias stepSize: range.stepSize + + RangeModel { + id: range + minimumValue: 0 + maximumValue: 100 + stepSize: 0 + // Not used. + value: minimumValue + } + + /*! + This property determines the angle at which the first tickmark is drawn. + */ + property real minimumValueAngle: -145 + + /*! + This property determines the angle at which the last tickmark is drawn. + */ + property real maximumValueAngle: 145 + + /*! + The range between \l minimumValueAngle and \l maximumValueAngle, in + degrees. + */ + readonly property real angleRange: maximumValueAngle - minimumValueAngle + + /*! + The interval at which tickmarks are displayed. + */ + property real tickmarkStepSize: 10 + + /*! + The distance in pixels from the outside of the control (outerRadius) at + which the outermost point of the tickmark line is drawn. + */ + property real tickmarkInset: 0.0 + + /*! + The amount of tickmarks displayed. + */ + readonly property int tickmarkCount: __tickmarkCount + + /*! + The amount of minor tickmarks between each tickmark. + */ + property int minorTickmarkCount: 4 + + /*! + The distance in pixels from the outside of the control (outerRadius) at + which the outermost point of the minor tickmark line is drawn. + */ + property real minorTickmarkInset: 0.0 + + /*! + The distance in pixels from the outside of the control (outerRadius) at + which the center of the value marker text is drawn. + */ + property real labelInset: __style.__protectedScope.toPixels(0.19) + + /*! + The interval at which tickmark labels are displayed. + */ + property real labelStepSize: tickmarkStepSize + + /*! + The amount of tickmark labels displayed. + */ + readonly property int labelCount: (maximumValue - minimumValue) / labelStepSize + 1 + + /*! \internal */ + readonly property real __tickmarkCount: tickmarkStepSize > 0 ? (maximumValue - minimumValue) / tickmarkStepSize + 1 : 0 + + /*! + This property determines whether or not the control displays tickmarks, + minor tickmarks, and labels. + */ + property bool tickmarksVisible: true + + /*! + Returns \a value as an angle in degrees. + + For example, if minimumValueAngle is set to \c 270 and maximumValueAngle + is set to \c 90, this function will return \c 270 when passed + minimumValue and \c 90 when passed maximumValue. + */ + function valueToAngle(value) { + var normalised = (value - minimumValue) / (maximumValue - minimumValue); + return (maximumValueAngle - minimumValueAngle) * normalised + minimumValueAngle; + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularTickmarkLabel.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularTickmarkLabel.qmlc new file mode 100644 index 00000000..1df42fb7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularTickmarkLabel.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/Handle.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/Handle.qml new file mode 100644 index 00000000..6c3fdaa6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/Handle.qml @@ -0,0 +1,123 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtGraphicalEffects 1.0 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras.Private 1.1 +import QtQuick.Extras.Private.CppUtils 1.0 + +Control { + id: root + x: handleArea.centerOfHandle.x - width / 2 + y: handleArea.centerOfHandle.y - height / 2 + + style: Settings.styleComponent(Settings.style, "HandleStyle.qml", root) + + /*! + The angle of the handle along the circumference of \l rotationRadius in + radians, scaled to be in the range of 0.0 to 1.0. + */ + property alias value: range.value + + RangeModel { + id: range + minimumValue: 0.0 + maximumValue: 1.0 + stepSize: 0 + value: minimumValue + } + + /*! + The angle in radians where the dial starts. + */ + property real zeroAngle: 0 + + /*! + The radius of the rotation of this handle. + */ + property real rotationRadius: 50 + + /*! + The center of the dial. This is the origin point for the handle's + rotation. + */ + property real dialXCenter: 0 + property real dialYCenter: 0 + + /*! + This property holds the amount of extra room added to each side of + the handle to make it easier to drag on touch devices. + */ + property real allowance: Math.max(width, height) * 1.5 + + /* + The function used to determine the handle's value from the position of + the mouse. + + Can be set to provide custom value calculation. It expects these + parameters: \c mouseX, \c mouseY, \c xCenter, \c yCenter, \c zeroAngle + */ + property var valueFromMouse: handleArea.valueFromMouse + + property alias handleArea: handleArea + + MouseArea { + id: handleArea + // Respond to value changes by calculating the new center of the handle. + property point centerOfHandle: MathUtils.centerAlongCircle(dialXCenter, dialYCenter, + 0, 0, MathUtils.valueToAngle(value, 1, zeroAngle), rotationRadius); + + anchors.fill: parent + anchors.margins: -allowance + + onPositionChanged: { + // Whenever the handle is moved with the mouse, update the value. + value = root.valueFromMouse(mouse.x + centerOfHandle.x - allowance, + mouse.y + centerOfHandle.y - allowance, dialXCenter, dialYCenter, zeroAngle); + } + + // A helper function for onPositionChanged. + function valueFromMouse(mouseX, mouseY, xCenter, yCenter, zeroAngle) { + return MathUtils.angleToValue( + MathUtils.halfPi - Math.atan2(mouseX - xCenter, mouseY - yCenter), 1, zeroAngle); + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/Handle.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/Handle.qmlc new file mode 100644 index 00000000..1c10e4e4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/Handle.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/PieMenuIcon.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/PieMenuIcon.qml new file mode 100644 index 00000000..7cb57e02 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/PieMenuIcon.qml @@ -0,0 +1,102 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.3 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 +import QtQuick.Extras.Private.CppUtils 1.0 + +Loader { + id: iconLoader + active: iconSource != "" + + property PieMenu control: null + property QtObject styleData: null + + readonly property string iconSource: styleData && styleData.index < control.__protectedScope.visibleItems.length + ? control.__protectedScope.visibleItems[styleData.index].iconSource + : "" + + sourceComponent: Image { + id: iconImage + source: iconSource + x: pos.x + y: pos.y + scale: scaleFactor + + readonly property point pos: MathUtils.centerAlongCircle( + iconLoader.parent.width / 2, iconLoader.parent.height / 2, width, height, + MathUtils.degToRadOffset(sectionCenterAngle(styleData.index)), control.__style.__iconOffset) + + /* + The icons should scale with the menu at some point, so that they + stay within the bounds of each section. We down-scale the image by + whichever of the following amounts are larger: + + a) The amount by which the largest dimension's diagonal size exceeds + the "selectable" radius. The selectable radius is the distance in pixels + between lines A and B in the incredibly visually appealing image below: + + __________ + - B - + / \ + / ____ \ + | / A \ | + --------| |-------- + + b) The amount by which the diagonal exceeds the circumference of + one section. + */ + readonly property real scaleFactor: { + var largestDimension = Math.max(iconImage.sourceSize.width, iconImage.sourceSize.height) * Math.sqrt(2); + // TODO: add padding + var radiusDifference = largestDimension - control.__style.__selectableRadius; + var circumferenceDifference = largestDimension - Math.abs(control.__protectedScope.circumferenceOfSection); + if (circumferenceDifference > 0 || radiusDifference > 0) { + // We need to down-scale. + if (radiusDifference > circumferenceDifference) { + return control.__style.__selectableRadius / largestDimension; + } else { + return Math.abs(control.__protectedScope.circumferenceOfSection) / largestDimension; + } + } + return 1; + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/PieMenuIcon.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/PieMenuIcon.qmlc new file mode 100644 index 00000000..66415ac7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/PieMenuIcon.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/TextSingleton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/TextSingleton.qml new file mode 100644 index 00000000..78e9003d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/TextSingleton.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +pragma Singleton +import QtQuick 2.1 + +Text { +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/TextSingleton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/TextSingleton.qmlc new file mode 100644 index 00000000..f5dc33de Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/TextSingleton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/qmldir new file mode 100644 index 00000000..3b115bba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Private/qmldir @@ -0,0 +1 @@ +module QtQuick.Extras.Private diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/StatusIndicator.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/StatusIndicator.qml new file mode 100644 index 00000000..aee171c4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/StatusIndicator.qml @@ -0,0 +1,119 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 + +/*! + \qmltype StatusIndicator + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \ingroup extras-non-interactive + \brief An indicator that displays active or inactive states. + + \image statusindicator-active.png A StatusIndicator in the active state + A StatusIndicator in the active state. + \image statusindicator-inactive.png A StatusIndicator in the inactive state + A StatusIndicator in the inactive state. + + The StatusIndicator displays active or inactive states. By using different + colors via the \l color property, StatusIndicator can provide extra + context to these states. For example: + + \table + \row + \li QML + \li Result + \row + \li + \code + import QtQuick 2.2 + import QtQuick.Extras 1.4 + + Rectangle { + width: 100 + height: 100 + color: "#cccccc" + + StatusIndicator { + anchors.centerIn: parent + color: "green" + } + } + \endcode + \li \image statusindicator-green.png "Green StatusIndicator" + \endtable + + You can create a custom appearance for a StatusIndicator by assigning a + \l {StatusIndicatorStyle}. +*/ + +Control { + id: statusIndicator + + style: Settings.styleComponent(Settings.style, "StatusIndicatorStyle.qml", statusIndicator) + + /*! + This property specifies whether the indicator is active or inactive. + + The default value is \c false (off). + + \deprecated Use active instead. + */ + property alias on: statusIndicator.active + + /*! + This property specifies whether the indicator is active or inactive. + + The default value is \c false (inactive). + */ + property bool active: false + + /*! + This property specifies the color of the indicator when it is active. + + The default value is \c "red". + */ + property color color: __style.color +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/StatusIndicator.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/StatusIndicator.qmlc new file mode 100644 index 00000000..4469a0b7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/StatusIndicator.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/ToggleButton.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/ToggleButton.qml new file mode 100644 index 00000000..9a667413 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/ToggleButton.qml @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype ToggleButton + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \ingroup extras-interactive + \brief A push button that toggles between two states. + + \image togglebutton-unchecked.png An unchecked ToggleButton + An unchecked ToggleButton. + \image togglebutton-checked.png A checked ToggleButton + A checked ToggleButton. + + The ToggleButton is a simple extension of Qt Quick Controls' Button, using + the checked property to toggle between two states: \e checked and + \e unchecked. It enhances the visibility of a checkable button's state by + placing color-coded indicators around the button. + + You can create a custom appearance for a ToggleButton by assigning a + \l {ToggleButtonStyle}. +*/ + +Button { + id: button + checkable: true + style: Settings.styleComponent(Settings.style, "ToggleButtonStyle.qml", button) +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/ToggleButton.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/ToggleButton.qmlc new file mode 100644 index 00000000..4170602c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/ToggleButton.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Tumbler.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Tumbler.qml new file mode 100644 index 00000000..355d676b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Tumbler.qml @@ -0,0 +1,478 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQml 2.14 as Qml +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Styles 1.4 +import QtQuick.Controls.Private 1.0 +import QtQuick.Extras 1.4 +import QtQuick.Extras.Private 1.0 +import QtQuick.Layouts 1.0 + +/*! + \qmltype Tumbler + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \ingroup extras-interactive + \brief A control that can have several spinnable wheels, each with items + that can be selected. + + \image tumbler.png A Tumbler + + \note Tumbler requires Qt 5.5.0 or later. + + The Tumbler control is used with one or more TumblerColumn items, which + define the content of each column: + + \code + Tumbler { + TumblerColumn { + model: 5 + } + TumblerColumn { + model: [0, 1, 2, 3, 4] + } + TumblerColumn { + model: ["A", "B", "C", "D", "E"] + } + } + \endcode + + You can also use a traditional model with roles: + + \code + Rectangle { + width: 220 + height: 350 + color: "#494d53" + + ListModel { + id: listModel + + ListElement { + foo: "A" + bar: "B" + baz: "C" + } + ListElement { + foo: "A" + bar: "B" + baz: "C" + } + ListElement { + foo: "A" + bar: "B" + baz: "C" + } + } + + Tumbler { + anchors.centerIn: parent + + TumblerColumn { + model: listModel + role: "foo" + } + TumblerColumn { + model: listModel + role: "bar" + } + TumblerColumn { + model: listModel + role: "baz" + } + } + } + \endcode + + \section1 Limitations + + For technical reasons, the model count must be equal to or greater than + \l {TumblerStyle::}{visibleItemCount} + plus one. The + \l {TumblerStyle::}{visibleItemCount} + must also be an odd number. + + You can create a custom appearance for a Tumbler by assigning a + \l {TumblerStyle}. To style + individual columns, use the \l {TumblerColumn::delegate}{delegate} and + \l {TumblerColumn::highlight}{highlight} properties of TumblerColumn. +*/ + +Control { + id: tumbler + + /* + \qmlproperty Component Tumbler::style + + The style Component for this control. + */ + style: Settings.styleComponent(Settings.style, "TumblerStyle.qml", tumbler) + + ListModel { + id: columnModel + } + + /*! + \qmlproperty int Tumbler::columnCount + + The number of columns in the Tumbler. + */ + readonly property alias columnCount: columnModel.count + + /*! \internal */ + function __isValidColumnIndex(index) { + return index >= 0 && index < columnCount/* && columnRepeater.children.length === columnCount*/; + } + + /*! \internal */ + function __isValidColumnAndItemIndex(columnIndex, itemIndex) { + return __isValidColumnIndex(columnIndex) && itemIndex >= 0 && itemIndex < __viewAt(columnIndex).count; + } + + /*! + \qmlmethod int Tumbler::currentIndexAt(int columnIndex) + Returns the current index of the column at \a columnIndex, or \c null + if \a columnIndex is invalid. + */ + function currentIndexAt(columnIndex) { + if (!__isValidColumnIndex(columnIndex)) + return -1; + + return columnModel.get(columnIndex).columnObject.currentIndex; + } + + /*! + \qmlmethod void Tumbler::setCurrentIndexAt(int columnIndex, int itemIndex, int interval) + Sets the current index of the column at \a columnIndex to \a itemIndex. The animation + length can be set with \a interval, which defaults to \c 0. + + Does nothing if \a columnIndex or \a itemIndex are invalid. + */ + function setCurrentIndexAt(columnIndex, itemIndex, interval) { + if (!__isValidColumnAndItemIndex(columnIndex, itemIndex)) + return; + + var view = columnRepeater.itemAt(columnIndex).view; + if (view.currentIndex !== itemIndex) { + view.highlightMoveDuration = typeof interval !== 'undefined' ? interval : 0; + view.currentIndex = itemIndex; + view.highlightMoveDuration = Qt.binding(function(){ return __highlightMoveDuration; }); + } + } + + /*! + \qmlmethod TumblerColumn Tumbler::getColumn(int columnIndex) + Returns the column at \a columnIndex or \c null if the index is + invalid. + */ + function getColumn(columnIndex) { + if (!__isValidColumnIndex(columnIndex)) + return null; + + return columnModel.get(columnIndex).columnObject; + } + + /*! + \qmlmethod TumblerColumn Tumbler::addColumn(TumblerColumn column) + Adds a \a column and returns the added column. + + The \a column argument can be an instance of TumblerColumn, + or a \l Component. The component has to contain a TumblerColumn. + Otherwise \c null is returned. + */ + function addColumn(column) { + return insertColumn(columnCount, column); + } + + /*! + \qmlmethod TumblerColumn Tumbler::insertColumn(int index, TumblerColumn column) + Inserts a \a column at the given \a index and returns the inserted column. + + The \a column argument can be an instance of TumblerColumn, + or a \l Component. The component has to contain a TumblerColumn. + Otherwise, \c null is returned. + */ + function insertColumn(index, column) { + var object = column; + if (typeof column["createObject"] === "function") { + object = column.createObject(root); + } else if (object.__tumbler) { + console.warn("Tumbler::insertColumn(): you cannot add a column to multiple Tumblers") + return null; + } + if (index >= 0 && index <= columnCount && object.accessibleRole === Accessible.ColumnHeader) { + object.__tumbler = tumbler; + object.__index = index; + columnModel.insert(index, { columnObject: object }); + return object; + } + + if (object !== column) + object.destroy(); + console.warn("Tumbler::insertColumn(): invalid argument"); + return null; + } + + /* + Try making one selection bar by invisible highlight item hack, so that bars go across separators + */ + + Component.onCompleted: { + for (var i = 0; i < data.length; ++i) { + var column = data[i]; + if (column.accessibleRole === Accessible.ColumnHeader) + addColumn(column); + } + } + + /*! \internal */ + readonly property alias __columnRow: columnRow + /*! \internal */ + property int __highlightMoveDuration: 300 + + /*! \internal */ + function __viewAt(index) { + if (!__isValidColumnIndex(index)) + return null; + + return columnRepeater.itemAt(index).view; + } + + /*! \internal */ + readonly property alias __movementDelayTimer: movementDelayTimer + + // When the up/down arrow keys are held down on a PathView, + // the movement of the items is limited to the highlightMoveDuration, + // but there is no built-in guard against trying to move the items at + // the speed of the auto-repeat key presses. This results in sluggish + // movement, so we enforce a delay with a timer to avoid this. + Timer { + id: movementDelayTimer + interval: __highlightMoveDuration + } + + Loader { + id: backgroundLoader + sourceComponent: __style.background + anchors.fill: columnRow + } + + Loader { + id: frameLoader + sourceComponent: __style.frame + anchors.fill: columnRow + anchors.leftMargin: -__style.padding.left + anchors.rightMargin: -__style.padding.right + anchors.topMargin: -__style.padding.top + anchors.bottomMargin: -__style.padding.bottom + } + + Row { + id: columnRow + x: __style.padding.left + y: __style.padding.top + + Repeater { + id: columnRepeater + model: columnModel + delegate: Item { + id: columnItem + width: columnPathView.width + separatorDelegateLoader.width + height: columnPathView.height + + readonly property int __columnIndex: index + // For index-related functions and tests. + readonly property alias view: columnPathView + readonly property alias separator: separatorDelegateLoader.item + + PathView { + id: columnPathView + width: columnObject.width + height: tumbler.height - tumbler.__style.padding.top - tumbler.__style.padding.bottom + visible: columnObject.visible + clip: true + + Qml.Binding { + target: columnObject + property: "__currentIndex" + value: columnPathView.currentIndex + restoreMode: Binding.RestoreBinding + } + + // We add one here so that the delegate's don't just appear in the view instantly, + // but rather come from the top/bottom. To account for this adjustment elsewhere, + // we extend the path height by half an item's height at the top and bottom. + pathItemCount: tumbler.__style.visibleItemCount + 1 + preferredHighlightBegin: 0.5 + preferredHighlightEnd: 0.5 + highlightMoveDuration: tumbler.__highlightMoveDuration + highlight: Loader { + id: highlightLoader + objectName: "highlightLoader" + sourceComponent: columnObject.highlight ? columnObject.highlight : __style.highlight + width: columnPathView.width + + readonly property int __index: index + + property QtObject styleData: QtObject { + readonly property alias index: highlightLoader.__index + readonly property int column: columnItem.__columnIndex + readonly property bool activeFocus: columnPathView.activeFocus + } + } + dragMargin: width / 2 + + activeFocusOnTab: true + Keys.onDownPressed: { + if (!movementDelayTimer.running) { + columnPathView.incrementCurrentIndex(); + movementDelayTimer.start(); + } + } + Keys.onUpPressed: { + if (!movementDelayTimer.running) { + columnPathView.decrementCurrentIndex(); + movementDelayTimer.start(); + } + } + + path: Path { + startX: columnPathView.width / 2 + startY: -tumbler.__style.__delegateHeight / 2 + PathLine { + x: columnPathView.width / 2 + y: columnPathView.pathItemCount * tumbler.__style.__delegateHeight - tumbler.__style.__delegateHeight / 2 + } + } + + model: columnObject.model + + delegate: Item { + id: delegateRootItem + property var itemModel: model + + implicitWidth: itemDelegateLoader.width + implicitHeight: itemDelegateLoader.height + + Loader { + id: itemDelegateLoader + sourceComponent: columnObject.delegate ? columnObject.delegate : __style.delegate + width: columnObject.width + + onHeightChanged: tumbler.__style.__delegateHeight = height; + + property var model: itemModel + + readonly property var __modelData: modelData + readonly property int __columnDelegateIndex: index + property QtObject styleData: QtObject { + readonly property var modelData: itemDelegateLoader.__modelData + readonly property alias index: itemDelegateLoader.__columnDelegateIndex + readonly property int column: columnItem.__columnIndex + readonly property bool activeFocus: columnPathView.activeFocus + readonly property real displacement: { + var count = delegateRootItem.PathView.view.count; + var offset = delegateRootItem.PathView.view.offset; + + var d = count - index - offset; + var halfVisibleItems = Math.floor(tumbler.__style.visibleItemCount / 2) + 1; + if (d > halfVisibleItems) + d -= count; + else if (d < -halfVisibleItems) + d += count; + return d; + } + readonly property bool current: delegateRootItem.PathView.isCurrentItem + readonly property string role: columnObject.role + readonly property var value: (itemModel && itemModel.hasOwnProperty(role)) + ? itemModel[role] // Qml ListModel and QAbstractItemModel + : modelData && modelData.hasOwnProperty(role) + ? modelData[role] // QObjectList/QObject + : modelData != undefined ? modelData : "" // Models without role + } + } + } + } + + Loader { + anchors.fill: columnPathView + sourceComponent: columnObject.columnForeground ? columnObject.columnForeground : __style.columnForeground + + property QtObject styleData: QtObject { + readonly property int column: columnItem.__columnIndex + readonly property bool activeFocus: columnPathView.activeFocus + } + } + + Loader { + id: separatorDelegateLoader + objectName: "separatorDelegateLoader" + sourceComponent: __style.separator + // Don't need a separator after the last delegate. + active: __columnIndex < tumbler.columnCount - 1 + anchors.left: columnPathView.right + anchors.top: parent.top + anchors.bottom: parent.bottom + visible: columnObject.visible + + // Use the width of the first separator to help us + // determine the default separator width. + onWidthChanged: { + if (__columnIndex == 0) { + tumbler.__style.__separatorWidth = width; + } + } + + property QtObject styleData: QtObject { + readonly property int index: __columnIndex + } + } + } + } + } + + Loader { + id: foregroundLoader + sourceComponent: __style.foreground + anchors.fill: backgroundLoader + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Tumbler.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Tumbler.qmlc new file mode 100644 index 00000000..f4629eb7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/Tumbler.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/TumblerColumn.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/TumblerColumn.qml new file mode 100644 index 00000000..f630a228 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/TumblerColumn.qml @@ -0,0 +1,171 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.2 +import QtQuick.Controls 1.4 +import QtQuick.Controls.Private 1.0 + +/*! + \qmltype TumblerColumn + \inqmlmodule QtQuick.Extras + \since 5.5 + \ingroup extras + \brief A column within a tumbler. + + TumblerColumn represents a column within a tumbler, providing the interface + to define the items and width of each column. + + \code + Tumbler { + TumblerColumn { + model: [1, 2, 3] + } + + TumblerColumn { + model: ["A", "B", "C"] + visible: false + } + } + \endcode + + You can create a custom appearance for a Tumbler by assigning a + \l {TumblerStyle}. +*/ + +QtObject { + id: tumblerColumn + + /*! \internal */ + property Item __tumbler: null + + /*! + \internal + + The index of this column within the tumbler. + */ + property int __index: -1 + + /*! + \internal + + The index of the current item, if the PathView has items instantiated, + or the last current index if it doesn't. + */ + property int __currentIndex: -1 + + property int accessibleRole: Accessible.ColumnHeader + + /*! + \qmlproperty int TumblerColumn::currentIndex + + This read-only property holds the index of the current item for this + column. If the model count is reduced, the current index will be + reduced to the new count minus one. + + \sa {Tumbler::currentIndexAt}, {Tumbler::setCurrentIndexAt} + */ + readonly property alias currentIndex: tumblerColumn.__currentIndex + + /*! + This property holds the model that provides data for this column. + */ + property var model: null + + /*! + This property holds the model role of this column. + */ + property string role: "" + + /*! + The item delegate for this column. + + If set, this delegate will be used to display items in this column, + instead of the + \l {TumblerStyle::}{delegate} + property in \l {TumblerStyle}. + + The \l {Item::implicitHeight}{implicitHeight} property must be set, + and it must be the same for each delegate. + */ + property Component delegate + + /*! + The highlight delegate for this column. + + If set, this highlight will be used to display the highlight in this + column, instead of the + \l {TumblerStyle::}{highlight} + property in \l {TumblerStyle}. + */ + property Component highlight + + /*! + The foreground of this column. + + If set, this component will be used to display the foreground in this + column, instead of the + \l {TumblerStyle::}{columnForeground} + property in \l {TumblerStyle}. + */ + property Component columnForeground + + /*! + This property holds the visibility of this column. + */ + property bool visible: true + + /*! + This read-only property indicates whether the item has active focus. + + See Item's \l {Item::activeFocus}{activeFocus} property for more + information. + */ + readonly property bool activeFocus: { + if (__tumbler === null) + return null; + + var view = __tumbler.__viewAt(__index); + return view && view.activeFocus ? true : false; + } + + /*! + This property holds the width of this column. + */ + property real width: TextSingleton.implicitHeight * 4 +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/TumblerColumn.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/TumblerColumn.qmlc new file mode 100644 index 00000000..c922b77c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/TumblerColumn.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/CircularGaugeSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/CircularGaugeSpecifics.qml new file mode 100644 index 00000000..f718b1b3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/CircularGaugeSpecifics.qml @@ -0,0 +1,114 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.1 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.0 + +Column { + anchors.left: parent.left + anchors.right: parent.right + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("CircularGauge") + + SectionLayout { + Label { + text: qsTr("Value") + tooltip: qsTr("Value") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.value + minimumValue: backendValues.minimumValue.value + maximumValue: backendValues.maximumValue.value + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Minimum Value") + tooltip: qsTr("Minimum Value") + } + SecondColumnLayout { + SpinBox { + id: minimumValueSpinBox + backendValue: backendValues.minimumValue + minimumValue: 0 + maximumValue: backendValues.maximumValue.value + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Maximum Value") + tooltip: qsTr("Maximum Value") + } + SecondColumnLayout { + SpinBox { + id: maximumValueSpinBox + backendValue: backendValues.maximumValue + minimumValue: backendValues.minimumValue.value + maximumValue: 1000 + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Step Size") + tooltip: qsTr("Step Size") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.stepSize + minimumValue: 0 + maximumValue: backendValues.maximumValue.value + } + ExpandingSpacer { + } + } + } + } +} + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/CircularGaugeSpecifics.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/CircularGaugeSpecifics.qmlc new file mode 100644 index 00000000..f35278a6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/CircularGaugeSpecifics.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DelayButtonSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DelayButtonSpecifics.qml new file mode 100644 index 00000000..8972c5d3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DelayButtonSpecifics.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.1 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.0 + +Column { + anchors.left: parent.left + anchors.right: parent.right + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("DelayButton") + + SectionLayout { + Label { + text: qsTr("Text") + tooltip: qsTr("Text") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.text + showTranslateCheckBox: true + implicitWidth: 180 + } + ExpandingSpacer { + } + } + +// Label { +// text: qsTr("Disable Button") +// tooltip: qsTr("Disable Button") +// } +// SecondColumnLayout { +// CheckBox { +// backendValue: backendValues.disabled +// implicitWidth: 180 +// } +// ExpandingSpacer { +// } +// } + + Label { + text: qsTr("Delay") + tooltip: qsTr("Delay") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.delay + minimumValue: 0 + maximumValue: 60000 + } + ExpandingSpacer { + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DelayButtonSpecifics.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DelayButtonSpecifics.qmlc new file mode 100644 index 00000000..c602f7a0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DelayButtonSpecifics.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DialSpecifics.qml new file mode 100644 index 00000000..645014fc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DialSpecifics.qml @@ -0,0 +1,131 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.1 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.0 + +Column { + anchors.left: parent.left + anchors.right: parent.right + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Dial") + + SectionLayout { + Label { + text: qsTr("Value") + tooltip: qsTr("Value") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.value + minimumValue: backendValues.minimumValue.value + maximumValue: backendValues.maximumValue.value + stepSize: 0.01 + decimals: 2 + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Minimum Value") + tooltip: qsTr("Minimum Value") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.minimumValue + minimumValue: -1000 + maximumValue: backendValues.maximumValue.value + stepSize: 0.01 + decimals: 2 + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Maximum Value") + tooltip: qsTr("Maximum Value") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.maximumValue + minimumValue: backendValues.minimumValue.value + maximumValue: 1000 + stepSize: 0.01 + decimals: 2 + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Step Size") + tooltip: qsTr("Step Size") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.stepSize + minimumValue: 0 + maximumValue: backendValues.maximumValue.value + stepSize: 0.01 + decimals: 2 + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Tickmarks Visible") + tooltip: qsTr("Tickmarks Visible") + } + SecondColumnLayout { + CheckBox { + backendValue: backendValues.tickmarksVisible + } + ExpandingSpacer { + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DialSpecifics.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DialSpecifics.qmlc new file mode 100644 index 00000000..9bc7e59c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/DialSpecifics.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/GaugeSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/GaugeSpecifics.qml new file mode 100644 index 00000000..0ed417cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/GaugeSpecifics.qml @@ -0,0 +1,134 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.1 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.0 + +Column { + anchors.left: parent.left + anchors.right: parent.right + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Gauge") + + SectionLayout { + + Label { + text: qsTr("Value") + tooltip: qsTr("Value") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.value + minimumValue: backendValues.minimumValue.value + maximumValue: backendValues.maximumValue.value + stepSize: 0.01 + decimals: 2 + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Minimum Value") + tooltip: qsTr("Minimum Value") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.minimumValue + minimumValue: 0 + maximumValue: backendValues.maximumValue.value + stepSize: 0.01 + decimals: 2 + } + ExpandingSpacer { + } + } + + Label { + text: qsTr("Maximum Value") + tooltip: qsTr("Maximum Value") + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.maximumValue + minimumValue: backendValues.minimumValue.value + maximumValue: 1000 + stepSize: 0.01 + decimals: 2 + } + ExpandingSpacer { + } + } + +// Label { +// text: qsTr("Orientation") +// tooltip: qsTr("Orientation") +// } +// SecondColumnLayout { +// ComboBox { +// id: orientationComboBox +// backendValue: backendValues.orientation +// implicitWidth: 180 +// model: ["Vertical", "Horizontal"] +// } +// ExpandingSpacer { +// } +// } + +// Label { +// text: qsTr("Tickmark Alignment") +// tooltip: qsTr("Tickmark Alignment") +// } + +// SecondColumnLayout { +// ComboBox { +// backendValue: backendValues.orientation +// implicitWidth: 180 +// model: orientationComboBox.currentText === "Vertical" ? ["AlignLeft", "AlignRight"] : ["AlignTop", "AlignBottom"] +// } +// ExpandingSpacer { +// } +// } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/GaugeSpecifics.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/GaugeSpecifics.qmlc new file mode 100644 index 00000000..c4ee8a40 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/GaugeSpecifics.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PictureSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PictureSpecifics.qml new file mode 100644 index 00000000..461e233a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PictureSpecifics.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.1 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.0 +import QtQuick.Controls 1.1 as Controls +import QtQuick.Controls.Styles 1.1 + +Column { + anchors.left: parent.left + anchors.right: parent.right + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Picture") + + SectionLayout { + Label { + text: qsTr("Source") + tooltip: qsTr("Source") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.source + showTranslateCheckBox: false + implicitWidth: 180 + } + ExpandingSpacer { + } + } + } + } + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Color") + + ColorEditor { + caption: qsTr("Color") + backendValue: backendValues.color + supportGradient: false + } + } +} + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PictureSpecifics.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PictureSpecifics.qmlc new file mode 100644 index 00000000..b819269b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PictureSpecifics.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PieMenuSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PieMenuSpecifics.qml new file mode 100644 index 00000000..f2e6a766 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PieMenuSpecifics.qml @@ -0,0 +1,103 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.1 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.0 +import QtQuick.Controls 1.1 as Controls +import QtQuick.Controls.Styles 1.1 + +Column { + anchors.left: parent.left + anchors.right: parent.right + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("PieMenu") + + SectionLayout { + Label { + text: qsTr("Trigger Mode") + tooltip: qsTr("Trigger Mode") + } + SecondColumnLayout { + // Work around ComboBox string => int problem. + Controls.ComboBox { + id: comboBox + + property variant backendValue: backendValues.triggerMode + + property color textColor: "white" + implicitWidth: 180 + model: ["TriggerOnPress", "TriggerOnRelease", "TriggerOnClick"] + + QtObject { + property variant valueFromBackend: comboBox.backendValue + onValueFromBackendChanged: { + comboBox.currentIndex = comboBox.find(comboBox.backendValue.valueToString); + } + } + + onCurrentTextChanged: { + if (backendValue === undefined) + return; + + if (backendValue.value !== currentText) + backendValue.value = comboBox.currentIndex + } + + style: CustomComboBoxStyle { + textColor: comboBox.textColor + } + + ExtendedFunctionButton { + x: 2 + y: 4 + backendValue: comboBox.backendValue + visible: comboBox.enabled + } + } + ExpandingSpacer { + } + } + } + } +} + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PieMenuSpecifics.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PieMenuSpecifics.qmlc new file mode 100644 index 00000000..e087c0b0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/PieMenuSpecifics.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/StatusIndicatorSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/StatusIndicatorSpecifics.qml new file mode 100644 index 00000000..9de61717 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/StatusIndicatorSpecifics.qml @@ -0,0 +1,79 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.1 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.0 + +Column { + anchors.left: parent.left + anchors.right: parent.right + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("StatusIndicator") + + SectionLayout { + Label { + text: qsTr("Active") + tooltip: qsTr("Active") + } + SecondColumnLayout { + CheckBox { + backendValue: backendValues.active + implicitWidth: 100 + } + ExpandingSpacer { + } + } + } + } + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("Color") + + ColorEditor { + caption: qsTr("Color") + backendValue: backendValues.color + supportGradient: false + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/StatusIndicatorSpecifics.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/StatusIndicatorSpecifics.qmlc new file mode 100644 index 00000000..79cc148e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/StatusIndicatorSpecifics.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/ToggleButtonSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/ToggleButtonSpecifics.qml new file mode 100644 index 00000000..3a1ecebd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/ToggleButtonSpecifics.qml @@ -0,0 +1,95 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the Qt Quick Extras module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.1 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.0 + +Column { + anchors.left: parent.left + anchors.right: parent.right + + Section { + anchors.left: parent.left + anchors.right: parent.right + caption: qsTr("ToggleButton") + + SectionLayout { + Label { + text: qsTr("Text") + tooltip: qsTr("Text") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.text + showTranslateCheckBox: true + implicitWidth: 180 + } + ExpandingSpacer { + } + } + +// Label { +// text: qsTr("Disable Button") +// tooltip: qsTr("Disable Button") +// } +// SecondColumnLayout { +// CheckBox { +// backendValue: backendValues.disabled +// implicitWidth: 180 +// } +// ExpandingSpacer { +// } +// } + + Label { + text: qsTr("Checked") + tooltip: qsTr("Checked") + } + SecondColumnLayout { + CheckBox { + backendValue: backendValues.checked + implicitWidth: 180 + } + ExpandingSpacer { + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/ToggleButtonSpecifics.qmlc b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/ToggleButtonSpecifics.qmlc new file mode 100644 index 00000000..58a5a299 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/ToggleButtonSpecifics.qmlc differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon.png new file mode 100644 index 00000000..2d0a31e9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon16.png new file mode 100644 index 00000000..713a22f9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon.png new file mode 100644 index 00000000..8532b64d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon16.png new file mode 100644 index 00000000..569d80d1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/dial-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/dial-icon.png new file mode 100644 index 00000000..7a1eb98b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/dial-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/dial-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/dial-icon16.png new file mode 100644 index 00000000..7036a6a2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/dial-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/gauge-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/gauge-icon.png new file mode 100644 index 00000000..8b63823d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/gauge-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/gauge-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/gauge-icon16.png new file mode 100644 index 00000000..467d1f52 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/gauge-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/picture-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/picture-icon.png new file mode 100644 index 00000000..2a719944 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/picture-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/picture-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/picture-icon16.png new file mode 100644 index 00000000..6544fbb5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/picture-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/piemenu-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/piemenu-icon.png new file mode 100644 index 00000000..23535573 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/piemenu-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/piemenu-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/piemenu-icon16.png new file mode 100644 index 00000000..c7b79cba Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/piemenu-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon.png new file mode 100644 index 00000000..0d8cb946 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon16.png new file mode 100644 index 00000000..cc7fabeb Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon.png new file mode 100644 index 00000000..9b7c9625 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon16.png new file mode 100644 index 00000000..afe9b716 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/tumbler-icon.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/tumbler-icon.png new file mode 100644 index 00000000..56359d57 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/tumbler-icon.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/tumbler-icon16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/tumbler-icon16.png new file mode 100644 index 00000000..4ac31735 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/images/tumbler-icon16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/qtquickextras.metainfo b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/qtquickextras.metainfo new file mode 100644 index 00000000..c2e89297 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/designer/qtquickextras.metainfo @@ -0,0 +1,122 @@ +MetaInfo { + Type { + name: "QtQuick.Extras.DelayButton" + icon: "images/delaybutton-icon16.png" + + ItemLibraryEntry { + name: "Delay Button" + category: "Qt Quick - Extras" + libraryIcon: "images/delaybutton-icon.png" + version: "1.0" + requiredImport: "QtQuick.Extras" + + Property { + name: "text" + type: "binding" + value: "qsTr(\"Button\")" + } + } + } + Type { + name: "QtQuick.Extras.ToggleButton" + icon: "images/togglebutton-icon16.png" + + ItemLibraryEntry { + name: "Toggle Button" + category: "Qt Quick - Extras" + libraryIcon: "images/togglebutton-icon.png" + version: "1.0" + requiredImport: "QtQuick.Extras" + + Property { + name: "text" + type: "binding" + value: "qsTr(\"Button\")" + } + } + } + Type { + name: "QtQuick.Extras.Gauge" + icon: "images/gauge-icon16.png" + + ItemLibraryEntry { + name: "Gauge" + category: "Qt Quick - Extras" + libraryIcon: "images/gauge-icon.png" + version: "1.0" + requiredImport: "QtQuick.Extras" + } + } + Type { + name: "QtQuick.Extras.CircularGauge" + icon: "images/circulargauge-icon16.png" + + ItemLibraryEntry { + name: "Circular Gauge" + category: "Qt Quick - Extras" + libraryIcon: "images/circulargauge-icon.png" + version: "1.0" + requiredImport: "QtQuick.Extras" + } + } + Type { + name: "QtQuick.Extras.PieMenu" + icon: "images/piemenu-icon16.png" + + ItemLibraryEntry { + name: "Pie Menu" + category: "Qt Quick - Extras" + libraryIcon: "images/piemenu-icon.png" + version: "1.0" + requiredImport: "QtQuick.Extras" + } + } + Type { + name: "QtQuick.Extras.Dial" + icon: "images/dial-icon16.png" + + ItemLibraryEntry { + name: "Dial" + category: "Qt Quick - Extras" + libraryIcon: "images/dial-icon.png" + version: "1.0" + requiredImport: "QtQuick.Extras" + } + } + Type { + name: "QtQuick.Extras.StatusIndicator" + icon: "images/statusindicator-icon16.png" + + ItemLibraryEntry { + name: "Status Indicator" + category: "Qt Quick - Extras" + libraryIcon: "images/statusindicator-icon.png" + version: "1.1" + requiredImport: "QtQuick.Extras" + } + } + Type { + name: "QtQuick.Extras.Tumbler" + icon: "images/tumbler-icon16.png" + + ItemLibraryEntry { + name: "Tumbler" + category: "Qt Quick - Extras" + libraryIcon: "images/tumbler-icon.png" + version: "1.2" + requiredImport: "QtQuick.Extras" + } + } + Type { + name: "QtQuick.Extras.Picture" + icon: "images/picture-icon16.png" + + ItemLibraryEntry { + name: "Picture" + category: "Qt Quick - Extras" + libraryIcon: "images/picture-icon.png" + version: "1.3" + requiredImport: "QtQuick.Extras" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/plugins.qmltypes new file mode 100644 index 00000000..f16f0b5c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/plugins.qmltypes @@ -0,0 +1,657 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick.Extras 1.4' + +Module { + dependencies: [ + "QtGraphicalEffects 1.12", + "QtQml 2.14", + "QtQml.Models 2.2", + "QtQuick 2.9", + "QtQuick.Controls 1.5", + "QtQuick.Controls.Styles 1.4", + "QtQuick.Layouts 1.1", + "QtQuick.Window 2.2" + ] + Component { + name: "QQuickActivationMode" + exports: ["QtQuick.Extras/ActivationMode 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "ActivationMode" + values: { + "ActivateOnPress": 0, + "ActivateOnRelease": 1, + "ActivateOnClick": 2 + } + } + } + Component { + name: "QQuickCircularProgressBar" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Extras.Private.CppUtils/CircularProgressBar 1.1"] + exportMetaObjectRevisions: [0] + Property { name: "progress"; type: "double" } + Property { name: "barWidth"; type: "double" } + Property { name: "inset"; type: "double" } + Property { name: "minimumValueAngle"; type: "double" } + Property { name: "maximumValueAngle"; type: "double" } + Property { name: "backgroundColor"; type: "QColor" } + Signal { + name: "progressChanged" + Parameter { name: "progress"; type: "double" } + } + Signal { + name: "barWidthChanged" + Parameter { name: "barWidth"; type: "double" } + } + Signal { + name: "insetChanged" + Parameter { name: "inset"; type: "double" } + } + Signal { + name: "minimumValueAngleChanged" + Parameter { name: "minimumValueAngle"; type: "double" } + } + Signal { + name: "maximumValueAngleChanged" + Parameter { name: "maximumValueAngle"; type: "double" } + } + Signal { + name: "backgroundColorChanged" + Parameter { name: "backgroundColor"; type: "QColor" } + } + Method { name: "clearStops" } + Method { + name: "addStop" + Parameter { name: "position"; type: "double" } + Parameter { name: "color"; type: "QColor" } + } + Method { name: "redraw" } + } + Component { + name: "QQuickFlatProgressBar" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Extras.Private.CppUtils/FlatProgressBar 1.1"] + exportMetaObjectRevisions: [0] + Property { name: "stripeOffset"; type: "double" } + Property { name: "progress"; type: "double" } + Property { name: "indeterminate"; type: "bool" } + Signal { + name: "stripeOffsetChanged" + Parameter { name: "stripeOffset"; type: "double" } + } + Signal { + name: "progressChanged" + Parameter { name: "progress"; type: "double" } + } + Signal { + name: "indeterminateChanged" + Parameter { name: "indeterminate"; type: "bool" } + } + Method { name: "repaint" } + Method { name: "restartAnimation" } + Method { name: "onVisibleChanged" } + Method { name: "onWidthChanged" } + Method { name: "onHeightChanged" } + } + Component { + name: "QQuickMathUtils" + prototype: "QObject" + exports: ["QtQuick.Extras.Private.CppUtils/MathUtils 1.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Property { name: "pi2"; type: "double"; isReadonly: true } + Method { + name: "degToRad" + type: "double" + Parameter { name: "degrees"; type: "double" } + } + Method { + name: "degToRadOffset" + type: "double" + Parameter { name: "degrees"; type: "double" } + } + Method { + name: "radToDeg" + type: "double" + Parameter { name: "radians"; type: "double" } + } + Method { + name: "radToDegOffset" + type: "double" + Parameter { name: "radians"; type: "double" } + } + Method { + name: "centerAlongCircle" + type: "QPointF" + Parameter { name: "xCenter"; type: "double" } + Parameter { name: "yCenter"; type: "double" } + Parameter { name: "width"; type: "double" } + Parameter { name: "height"; type: "double" } + Parameter { name: "angleOnCircle"; type: "double" } + Parameter { name: "distanceAlongRadius"; type: "double" } + } + Method { + name: "roundEven" + type: "double" + Parameter { name: "number"; type: "double" } + } + } + Component { + name: "QQuickMouseThief" + prototype: "QObject" + exports: ["QtQuick.Extras.Private.CppUtils/MouseThief 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "receivedPressEvent"; type: "bool" } + Signal { + name: "pressed" + Parameter { name: "mouseX"; type: "int" } + Parameter { name: "mouseY"; type: "int" } + } + Signal { + name: "released" + Parameter { name: "mouseX"; type: "int" } + Parameter { name: "mouseY"; type: "int" } + } + Signal { + name: "clicked" + Parameter { name: "mouseX"; type: "int" } + Parameter { name: "mouseY"; type: "int" } + } + Signal { + name: "touchUpdate" + Parameter { name: "mouseX"; type: "int" } + Parameter { name: "mouseY"; type: "int" } + } + Signal { name: "handledEventChanged" } + Method { + name: "grabMouse" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { name: "ungrabMouse" } + Method { name: "acceptCurrentEvent" } + } + Component { + name: "QQuickPicture" + defaultProperty: "data" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Extras/Picture 1.4"] + exportMetaObjectRevisions: [0] + Property { name: "source"; type: "QUrl" } + Property { name: "color"; type: "QColor" } + } + Component { + name: "QQuickTriggerMode" + exports: ["QtQuick.Extras/TriggerMode 1.3"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "TriggerMode" + values: { + "TriggerOnPress": 0, + "TriggerOnRelease": 1, + "TriggerOnClick": 2 + } + } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras.Private/CircularButton 1.0" + exports: ["QtQuick.Extras.Private/CircularButton 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "isDefault"; type: "bool" } + Property { name: "menu"; type: "Menu_QMLTYPE_38"; isPointer: true } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "action"; type: "QQuickAction1"; isPointer: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "text"; type: "string" } + Property { name: "tooltip"; type: "string" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "__position"; type: "string" } + Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } + Property { name: "__action"; type: "QQuickAction1"; isPointer: true } + Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } + Property { name: "__behavior"; type: "QVariant" } + Property { name: "__effectivePressed"; type: "bool" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + Method { name: "accessiblePressAction"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QObject" + name: "QtQuick.Extras.Private/CircularButtonStyleHelper 1.0" + exports: ["QtQuick.Extras.Private/CircularButtonStyleHelper 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + Property { name: "control"; type: "QQuickItem"; isPointer: true } + Property { name: "buttonColorUpTop"; type: "QColor" } + Property { name: "buttonColorUpBottom"; type: "QColor" } + Property { name: "buttonColorDownTop"; type: "QColor" } + Property { name: "buttonColorDownBottom"; type: "QColor" } + Property { name: "outerArcColorTop"; type: "QColor" } + Property { name: "outerArcColorBottom"; type: "QColor" } + Property { name: "innerArcColorTop"; type: "QColor" } + Property { name: "innerArcColorBottom"; type: "QColor" } + Property { name: "innerArcColorBottomStop"; type: "double" } + Property { name: "shineColor"; type: "QColor" } + Property { name: "smallestAxis"; type: "double" } + Property { name: "outerArcLineWidth"; type: "double" } + Property { name: "innerArcLineWidth"; type: "double" } + Property { name: "shineArcLineWidth"; type: "double" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "textColorUp"; type: "QColor" } + Property { name: "textColorDown"; type: "QColor" } + Property { name: "textRaisedColorUp"; type: "QColor" } + Property { name: "textRaisedColorDown"; type: "QColor" } + Property { name: "radius"; type: "double" } + Property { name: "halfRadius"; type: "double" } + Property { name: "outerArcRadius"; type: "double" } + Property { name: "innerArcRadius"; type: "double" } + Property { name: "shineArcRadius"; type: "double" } + Property { name: "zeroAngle"; type: "double" } + Property { name: "buttonColorTop"; type: "QColor" } + Property { name: "buttonColorBottom"; type: "QColor" } + Method { + name: "toPixels" + type: "QVariant" + Parameter { name: "percentageOfSmallestAxis"; type: "QVariant" } + } + Method { + name: "paintBackground" + type: "QVariant" + Parameter { name: "ctx"; type: "QVariant" } + } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/CircularGauge 1.0" + exports: ["QtQuick.Extras/CircularGauge 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "tickmarksVisible"; type: "bool" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "value"; type: "double" } + Property { name: "stepSize"; type: "double" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras.Private/CircularTickmarkLabel 1.0" + exports: ["QtQuick.Extras.Private/CircularTickmarkLabel 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "minimumValueAngle"; type: "double" } + Property { name: "maximumValueAngle"; type: "double" } + Property { name: "angleRange"; type: "double"; isReadonly: true } + Property { name: "tickmarkStepSize"; type: "double" } + Property { name: "tickmarkInset"; type: "double" } + Property { name: "tickmarkCount"; type: "int"; isReadonly: true } + Property { name: "minorTickmarkCount"; type: "int" } + Property { name: "minorTickmarkInset"; type: "double" } + Property { name: "labelInset"; type: "double" } + Property { name: "labelStepSize"; type: "double" } + Property { name: "labelCount"; type: "int"; isReadonly: true } + Property { name: "__tickmarkCount"; type: "double"; isReadonly: true } + Property { name: "tickmarksVisible"; type: "bool" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "stepSize"; type: "double" } + Method { + name: "valueToAngle" + type: "QVariant" + Parameter { name: "value"; type: "QVariant" } + } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/DelayButton 1.0" + exports: ["QtQuick.Extras/DelayButton 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "delay"; type: "int" } + Property { name: "__progress"; type: "double" } + Property { name: "progress"; type: "double"; isReadonly: true } + Signal { name: "activated" } + Property { name: "isDefault"; type: "bool" } + Property { name: "menu"; type: "Menu_QMLTYPE_38"; isPointer: true } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "action"; type: "QQuickAction1"; isPointer: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "text"; type: "string" } + Property { name: "tooltip"; type: "string" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "__position"; type: "string" } + Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } + Property { name: "__action"; type: "QQuickAction1"; isPointer: true } + Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } + Property { name: "__behavior"; type: "QVariant" } + Property { name: "__effectivePressed"; type: "bool" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + Method { name: "accessiblePressAction"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/Dial 1.0" + exports: ["QtQuick.Extras/Dial 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "__wrap"; type: "bool" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "tickmarksVisible"; type: "bool" } + Property { name: "value"; type: "double" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "stepSize"; type: "double" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/Dial 1.1" + exports: ["QtQuick.Extras/Dial 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "__wrap"; type: "bool" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "tickmarksVisible"; type: "bool" } + Property { name: "value"; type: "double" } + Property { name: "minimumValue"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "stepSize"; type: "double" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/Gauge 1.0" + exports: ["QtQuick.Extras/Gauge 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "orientation"; type: "int" } + Property { name: "tickmarkAlignment"; type: "int" } + Property { name: "__tickmarkAlignment"; type: "int" } + Property { name: "__tickmarksInside"; type: "bool" } + Property { name: "tickmarkStepSize"; type: "double" } + Property { name: "minorTickmarkCount"; type: "int" } + Property { name: "formatValue"; type: "QVariant" } + Property { name: "minimumValue"; type: "double" } + Property { name: "value"; type: "double" } + Property { name: "maximumValue"; type: "double" } + Property { name: "font"; type: "QFont" } + Property { name: "__hiddenText"; type: "QQuickText"; isReadonly: true; isPointer: true } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/PieMenu 1.0" + exports: ["QtQuick.Extras/PieMenu 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "menuItems" + Property { name: "selectionAngle"; type: "double"; isReadonly: true } + Property { name: "triggerMode"; type: "int" } + Property { name: "title"; type: "string" } + Property { name: "boundingItem"; type: "QQuickItem"; isPointer: true } + Property { name: "__protectedScope"; type: "QObject"; isPointer: true } + Property { name: "activationMode"; type: "int" } + Property { name: "menuItems"; type: "QQuickMenuItem1"; isList: true; isReadonly: true } + Property { name: "currentIndex"; type: "int"; isReadonly: true } + Property { name: "currentItem"; type: "QQuickMenuItem1"; isReadonly: true; isPointer: true } + Property { name: "__mouseThief"; type: "QQuickMouseThief"; isReadonly: true; isPointer: true } + Method { + name: "popup" + type: "QVariant" + Parameter { name: "x"; type: "QVariant" } + Parameter { name: "y"; type: "QVariant" } + } + Method { + name: "addItem" + type: "QVariant" + Parameter { name: "text"; type: "QVariant" } + } + Method { + name: "insertItem" + type: "QVariant" + Parameter { name: "before"; type: "QVariant" } + Parameter { name: "text"; type: "QVariant" } + } + Method { + name: "removeItem" + type: "QVariant" + Parameter { name: "item"; type: "QVariant" } + } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickLoader" + name: "QtQuick.Extras.Private/PieMenuIcon 1.0" + exports: ["QtQuick.Extras.Private/PieMenuIcon 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "control"; type: "PieMenu_QMLTYPE_98"; isPointer: true } + Property { name: "styleData"; type: "QObject"; isPointer: true } + Property { name: "iconSource"; type: "string"; isReadonly: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/StatusIndicator 1.0" + exports: ["QtQuick.Extras/StatusIndicator 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "active"; type: "bool" } + Property { name: "color"; type: "QColor" } + Property { name: "on"; type: "bool" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/StatusIndicator 1.1" + exports: ["QtQuick.Extras/StatusIndicator 1.1"] + exportMetaObjectRevisions: [1] + isComposite: true + defaultProperty: "data" + Property { name: "active"; type: "bool" } + Property { name: "color"; type: "QColor" } + Property { name: "on"; type: "bool" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickText" + name: "QtQuick.Extras.Private/TextSingleton 1.0" + exports: ["QtQuick.Extras.Private/TextSingleton 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + isCreatable: false + isSingleton: true + defaultProperty: "data" + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/ToggleButton 1.0" + exports: ["QtQuick.Extras/ToggleButton 1.0"] + exportMetaObjectRevisions: [0] + isComposite: true + defaultProperty: "data" + Property { name: "isDefault"; type: "bool" } + Property { name: "menu"; type: "Menu_QMLTYPE_38"; isPointer: true } + Property { name: "checkable"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } + Property { name: "action"; type: "QQuickAction1"; isPointer: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "text"; type: "string" } + Property { name: "tooltip"; type: "string" } + Property { name: "iconSource"; type: "QUrl" } + Property { name: "iconName"; type: "string" } + Property { name: "__position"; type: "string" } + Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } + Property { name: "__action"; type: "QQuickAction1"; isPointer: true } + Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } + Property { name: "__behavior"; type: "QVariant" } + Property { name: "__effectivePressed"; type: "bool" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + Method { name: "accessiblePressAction"; type: "QVariant" } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QQuickFocusScope" + name: "QtQuick.Extras/Tumbler 1.2" + exports: ["QtQuick.Extras/Tumbler 1.2"] + exportMetaObjectRevisions: [2] + isComposite: true + defaultProperty: "data" + Property { name: "__highlightMoveDuration"; type: "int" } + Property { name: "columnCount"; type: "int"; isReadonly: true } + Property { name: "__columnRow"; type: "QQuickRow"; isReadonly: true; isPointer: true } + Property { name: "__movementDelayTimer"; type: "QQmlTimer"; isReadonly: true; isPointer: true } + Method { + name: "__isValidColumnIndex" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Method { + name: "__isValidColumnAndItemIndex" + type: "QVariant" + Parameter { name: "columnIndex"; type: "QVariant" } + Parameter { name: "itemIndex"; type: "QVariant" } + } + Method { + name: "currentIndexAt" + type: "QVariant" + Parameter { name: "columnIndex"; type: "QVariant" } + } + Method { + name: "setCurrentIndexAt" + type: "QVariant" + Parameter { name: "columnIndex"; type: "QVariant" } + Parameter { name: "itemIndex"; type: "QVariant" } + Parameter { name: "interval"; type: "QVariant" } + } + Method { + name: "getColumn" + type: "QVariant" + Parameter { name: "columnIndex"; type: "QVariant" } + } + Method { + name: "addColumn" + type: "QVariant" + Parameter { name: "column"; type: "QVariant" } + } + Method { + name: "insertColumn" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + Parameter { name: "column"; type: "QVariant" } + } + Method { + name: "__viewAt" + type: "QVariant" + Parameter { name: "index"; type: "QVariant" } + } + Property { name: "style"; type: "QQmlComponent"; isPointer: true } + Property { name: "__style"; type: "QObject"; isPointer: true } + Property { name: "__panel"; type: "QQuickItem"; isPointer: true } + Property { name: "styleHints"; type: "QVariant" } + Property { name: "__styleData"; type: "QObject"; isPointer: true } + } + Component { + prototype: "QObject" + name: "QtQuick.Extras/TumblerColumn 1.2" + exports: ["QtQuick.Extras/TumblerColumn 1.2"] + exportMetaObjectRevisions: [2] + isComposite: true + Property { name: "__tumbler"; type: "QQuickItem"; isPointer: true } + Property { name: "__index"; type: "int" } + Property { name: "__currentIndex"; type: "int" } + Property { name: "model"; type: "QVariant" } + Property { name: "role"; type: "string" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } + Property { name: "columnForeground"; type: "QQmlComponent"; isPointer: true } + Property { name: "visible"; type: "bool" } + Property { name: "activeFocus"; type: "bool"; isReadonly: true } + Property { name: "width"; type: "double" } + Property { name: "currentIndex"; type: "int"; isReadonly: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/qmldir new file mode 100644 index 00000000..0cac6a55 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/qmldir @@ -0,0 +1,7 @@ +module QtQuick.Extras +plugin qtquickextrasplugin +classname QtQuickExtrasPlugin +#typeinfo plugins.qmltypes + +depends QtGraphicalEffects 1.0 +depends QtQml 2.14 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/qtquickextrasplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/qtquickextrasplugin.dll new file mode 100644 index 00000000..8ebdb086 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Extras/qtquickextrasplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/plugins.qmltypes new file mode 100644 index 00000000..d3f778d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/plugins.qmltypes @@ -0,0 +1,130 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0"] + Component { + file: "qquicklinearlayout_p.h" + name: "QQuickColumnLayout" + prototype: "QQuickLinearLayout" + exports: [ + "QtQuick.Layouts/ColumnLayout 1.0", + "QtQuick.Layouts/ColumnLayout 1.1", + "QtQuick.Layouts/ColumnLayout 1.11", + "QtQuick.Layouts/ColumnLayout 1.4", + "QtQuick.Layouts/ColumnLayout 1.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + } + Component { + file: "qquicklinearlayout_p.h" + name: "QQuickGridLayout" + prototype: "QQuickGridLayoutBase" + exports: [ + "QtQuick.Layouts/GridLayout 1.0", + "QtQuick.Layouts/GridLayout 1.1", + "QtQuick.Layouts/GridLayout 1.11", + "QtQuick.Layouts/GridLayout 1.4", + "QtQuick.Layouts/GridLayout 1.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "Flow" + values: ["LeftToRight", "TopToBottom"] + } + Property { name: "columnSpacing"; type: "double" } + Property { name: "rowSpacing"; type: "double" } + Property { name: "columns"; type: "int" } + Property { name: "rows"; type: "int" } + Property { name: "flow"; type: "Flow" } + } + Component { + file: "qquicklinearlayout_p.h" + name: "QQuickGridLayoutBase" + prototype: "QQuickLayout" + Property { name: "layoutDirection"; revision: 1; type: "Qt::LayoutDirection" } + Signal { name: "layoutDirectionChanged"; revision: 1 } + } + Component { + file: "qquicklayout_p.h" + name: "QQuickLayout" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick.Layouts/Layout 1.0", + "QtQuick.Layouts/Layout 1.1", + "QtQuick.Layouts/Layout 1.11", + "QtQuick.Layouts/Layout 1.4", + "QtQuick.Layouts/Layout 1.7" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + attachedType: "QQuickLayoutAttached" + Method { name: "invalidateSenderItem" } + Method { name: "_q_dumpLayoutTree" } + } + Component { + name: "QQuickLayoutAttached" + prototype: "QObject" + Property { name: "minimumWidth"; type: "double" } + Property { name: "minimumHeight"; type: "double" } + Property { name: "preferredWidth"; type: "double" } + Property { name: "preferredHeight"; type: "double" } + Property { name: "maximumWidth"; type: "double" } + Property { name: "maximumHeight"; type: "double" } + Property { name: "fillHeight"; type: "bool" } + Property { name: "fillWidth"; type: "bool" } + Property { name: "row"; type: "int" } + Property { name: "column"; type: "int" } + Property { name: "rowSpan"; type: "int" } + Property { name: "columnSpan"; type: "int" } + Property { name: "alignment"; type: "Qt::Alignment" } + Property { name: "margins"; type: "double" } + Property { name: "leftMargin"; type: "double" } + Property { name: "topMargin"; type: "double" } + Property { name: "rightMargin"; type: "double" } + Property { name: "bottomMargin"; type: "double" } + } + Component { + file: "qquicklinearlayout_p.h" + name: "QQuickLinearLayout" + prototype: "QQuickGridLayoutBase" + Property { name: "spacing"; type: "double" } + } + Component { + file: "qquicklinearlayout_p.h" + name: "QQuickRowLayout" + prototype: "QQuickLinearLayout" + exports: [ + "QtQuick.Layouts/RowLayout 1.0", + "QtQuick.Layouts/RowLayout 1.1", + "QtQuick.Layouts/RowLayout 1.11", + "QtQuick.Layouts/RowLayout 1.4", + "QtQuick.Layouts/RowLayout 1.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + } + Component { + file: "qquickstacklayout_p.h" + name: "QQuickStackLayout" + prototype: "QQuickLayout" + exports: [ + "QtQuick.Layouts/StackLayout 1.11", + "QtQuick.Layouts/StackLayout 1.3", + "QtQuick.Layouts/StackLayout 1.4", + "QtQuick.Layouts/StackLayout 1.7" + ] + exportMetaObjectRevisions: [11, 3, 4, 7] + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "currentIndex"; type: "int" } + Method { + name: "itemAt" + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/qmldir new file mode 100644 index 00000000..00f85f7d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/qmldir @@ -0,0 +1,5 @@ +module QtQuick.Layouts +plugin qquicklayoutsplugin +classname QtQuickLayoutsPlugin +typeinfo plugins.qmltypes +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/qquicklayoutsplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/qquicklayoutsplugin.dll new file mode 100644 index 00000000..6f37e005 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Layouts/qquicklayoutsplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/plugins.qmltypes new file mode 100644 index 00000000..b5490266 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/plugins.qmltypes @@ -0,0 +1,23 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: [] + Component { + file: "qquicklocalstorage_p.h" + name: "QQuickLocalStorage" + prototype: "QObject" + exports: ["QtQuick.LocalStorage/LocalStorage 2.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Method { + name: "openDatabaseSync" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/qmldir new file mode 100644 index 00000000..dd14cc62 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/qmldir @@ -0,0 +1,4 @@ +module QtQuick.LocalStorage +plugin qmllocalstorageplugin +classname QQmlLocalStoragePlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/qmllocalstorageplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/qmllocalstorageplugin.dll new file mode 100644 index 00000000..bc3e0fb6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/LocalStorage/qmllocalstorageplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/particlesplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/particlesplugin.dll new file mode 100644 index 00000000..040c67dc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/particlesplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/plugins.qmltypes new file mode 100644 index 00000000..ae432949 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/plugins.qmltypes @@ -0,0 +1,1385 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0"] + Component { + file: "qquickage_p.h" + name: "QQuickAgeAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/Age 2.0", + "QtQuick.Particles/Age 2.1", + "QtQuick.Particles/Age 2.11", + "QtQuick.Particles/Age 2.4", + "QtQuick.Particles/Age 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "lifeLeft"; type: "int" } + Property { name: "advancePosition"; type: "bool" } + Signal { + name: "lifeLeftChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "advancePositionChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setLifeLeft" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setAdvancePosition" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "qquickangledirection_p.h" + name: "QQuickAngleDirection" + prototype: "QQuickDirection" + exports: ["QtQuick.Particles/AngleDirection 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "angle"; type: "double" } + Property { name: "magnitude"; type: "double" } + Property { name: "angleVariation"; type: "double" } + Property { name: "magnitudeVariation"; type: "double" } + Signal { + name: "angleChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "magnitudeChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "angleVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "magnitudeVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setAngle" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setMagnitude" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setAngleVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setMagnitudeVariation" + Parameter { name: "arg"; type: "double" } + } + } + Component { + file: "qquickpointattractor_p.h" + name: "QQuickAttractorAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/Attractor 2.0", + "QtQuick.Particles/Attractor 2.1", + "QtQuick.Particles/Attractor 2.11", + "QtQuick.Particles/Attractor 2.4", + "QtQuick.Particles/Attractor 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "Proportion" + values: [ + "Constant", + "Linear", + "Quadratic", + "InverseLinear", + "InverseQuadratic" + ] + } + Enum { + name: "AffectableParameters" + values: ["Position", "Velocity", "Acceleration"] + } + Property { name: "strength"; type: "double" } + Property { name: "pointX"; type: "double" } + Property { name: "pointY"; type: "double" } + Property { name: "affectedParameter"; type: "AffectableParameters" } + Property { name: "proportionalToDistance"; type: "Proportion" } + Signal { + name: "strengthChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "pointXChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "pointYChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "affectedParameterChanged" + Parameter { name: "arg"; type: "AffectableParameters" } + } + Signal { + name: "proportionalToDistanceChanged" + Parameter { name: "arg"; type: "Proportion" } + } + Method { + name: "setStrength" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setPointX" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setPointY" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setAffectedParameter" + Parameter { name: "arg"; type: "AffectableParameters" } + } + Method { + name: "setProportionalToDistance" + Parameter { name: "arg"; type: "Proportion" } + } + } + Component { + file: "qquickcumulativedirection_p.h" + name: "QQuickCumulativeDirection" + defaultProperty: "directions" + prototype: "QQuickDirection" + exports: ["QtQuick.Particles/CumulativeDirection 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "directions"; type: "QQuickDirection"; isList: true; isReadonly: true } + } + Component { + file: "qquickcustomaffector_p.h" + name: "QQuickCustomAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/Affector 2.0", + "QtQuick.Particles/Affector 2.1", + "QtQuick.Particles/Affector 2.11", + "QtQuick.Particles/Affector 2.4", + "QtQuick.Particles/Affector 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "relative"; type: "bool" } + Property { name: "position"; type: "QQuickDirection"; isPointer: true } + Property { name: "velocity"; type: "QQuickDirection"; isPointer: true } + Property { name: "acceleration"; type: "QQuickDirection"; isPointer: true } + Signal { + name: "affectParticles" + Parameter { name: "particles"; type: "QJSValue" } + Parameter { name: "dt"; type: "double" } + } + Signal { + name: "positionChanged" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Signal { + name: "velocityChanged" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Signal { + name: "accelerationChanged" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Signal { + name: "relativeChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setPosition" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Method { + name: "setVelocity" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Method { + name: "setAcceleration" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Method { + name: "setRelative" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "qquickcustomparticle_p.h" + name: "QQuickCustomParticle" + prototype: "QQuickParticlePainter" + exports: [ + "QtQuick.Particles/CustomParticle 2.0", + "QtQuick.Particles/CustomParticle 2.1", + "QtQuick.Particles/CustomParticle 2.11", + "QtQuick.Particles/CustomParticle 2.4", + "QtQuick.Particles/CustomParticle 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "fragmentShader"; type: "QByteArray" } + Property { name: "vertexShader"; type: "QByteArray" } + Method { + name: "sourceDestroyed" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + } + Component { + file: "qquickdirection_p.h" + name: "QQuickDirection" + prototype: "QObject" + exports: ["QtQuick.Particles/NullVector 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + } + Component { + file: "qquickellipseextruder_p.h" + name: "QQuickEllipseExtruder" + prototype: "QQuickParticleExtruder" + exports: ["QtQuick.Particles/EllipseShape 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "fill"; type: "bool" } + Signal { + name: "fillChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setFill" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "qquickfriction_p.h" + name: "QQuickFrictionAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/Friction 2.0", + "QtQuick.Particles/Friction 2.1", + "QtQuick.Particles/Friction 2.11", + "QtQuick.Particles/Friction 2.4", + "QtQuick.Particles/Friction 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "factor"; type: "double" } + Property { name: "threshold"; type: "double" } + Signal { + name: "factorChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "thresholdChanged" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setFactor" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setThreshold" + Parameter { name: "arg"; type: "double" } + } + } + Component { + file: "qquickgravity_p.h" + name: "QQuickGravityAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/Gravity 2.0", + "QtQuick.Particles/Gravity 2.1", + "QtQuick.Particles/Gravity 2.11", + "QtQuick.Particles/Gravity 2.4", + "QtQuick.Particles/Gravity 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "magnitude"; type: "double" } + Property { name: "acceleration"; type: "double" } + Property { name: "angle"; type: "double" } + Signal { + name: "magnitudeChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "angleChanged" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setMagnitude" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setAcceleration" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setAngle" + Parameter { name: "arg"; type: "double" } + } + } + Component { + file: "qquickgroupgoal_p.h" + name: "QQuickGroupGoalAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/GroupGoal 2.0", + "QtQuick.Particles/GroupGoal 2.1", + "QtQuick.Particles/GroupGoal 2.11", + "QtQuick.Particles/GroupGoal 2.4", + "QtQuick.Particles/GroupGoal 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "goalState"; type: "string" } + Property { name: "jump"; type: "bool" } + Signal { + name: "goalStateChanged" + Parameter { name: "arg"; type: "string" } + } + Signal { + name: "jumpChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setGoalState" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setJump" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "qquickimageparticle_p.h" + name: "QQuickImageParticle" + prototype: "QQuickParticlePainter" + exports: [ + "QtQuick.Particles/ImageParticle 2.0", + "QtQuick.Particles/ImageParticle 2.1", + "QtQuick.Particles/ImageParticle 2.11", + "QtQuick.Particles/ImageParticle 2.4", + "QtQuick.Particles/ImageParticle 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Enum { + name: "EntryEffect" + values: ["None", "Fade", "Scale"] + } + Property { name: "source"; type: "QUrl" } + Property { name: "sprites"; type: "QQuickSprite"; isList: true; isReadonly: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "colorTable"; type: "QUrl" } + Property { name: "sizeTable"; type: "QUrl" } + Property { name: "opacityTable"; type: "QUrl" } + Property { name: "color"; type: "QColor" } + Property { name: "colorVariation"; type: "double" } + Property { name: "redVariation"; type: "double" } + Property { name: "greenVariation"; type: "double" } + Property { name: "blueVariation"; type: "double" } + Property { name: "alpha"; type: "double" } + Property { name: "alphaVariation"; type: "double" } + Property { name: "rotation"; type: "double" } + Property { name: "rotationVariation"; type: "double" } + Property { name: "rotationVelocity"; type: "double" } + Property { name: "rotationVelocityVariation"; type: "double" } + Property { name: "autoRotation"; type: "bool" } + Property { name: "xVector"; type: "QQuickDirection"; isPointer: true } + Property { name: "yVector"; type: "QQuickDirection"; isPointer: true } + Property { name: "spritesInterpolate"; type: "bool" } + Property { name: "entryEffect"; type: "EntryEffect" } + Signal { name: "imageChanged" } + Signal { name: "colortableChanged" } + Signal { name: "sizetableChanged" } + Signal { name: "opacitytableChanged" } + Signal { + name: "alphaVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "alphaChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "redVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "greenVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "blueVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "rotationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "rotationVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "rotationVelocityChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "rotationVelocityVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "autoRotationChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "xVectorChanged" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Signal { + name: "yVectorChanged" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Signal { + name: "spritesInterpolateChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "bypassOptimizationsChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "entryEffectChanged" + Parameter { name: "arg"; type: "EntryEffect" } + } + Signal { + name: "statusChanged" + Parameter { name: "arg"; type: "Status" } + } + Method { + name: "reloadColor" + Parameter { name: "c"; type: "Color4ub" } + Parameter { name: "d"; type: "QQuickParticleData"; isPointer: true } + } + Method { + name: "setAlphaVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setAlpha" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setRedVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setGreenVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setBlueVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setRotation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setRotationVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setRotationVelocity" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setRotationVelocityVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setAutoRotation" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setXVector" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Method { + name: "setYVector" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Method { + name: "setSpritesInterpolate" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setBypassOptimizations" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setEntryEffect" + Parameter { name: "arg"; type: "EntryEffect" } + } + Method { name: "createEngine" } + Method { + name: "spriteAdvance" + Parameter { name: "spriteIndex"; type: "int" } + } + Method { + name: "spritesUpdate" + Parameter { name: "time"; type: "double" } + } + Method { name: "spritesUpdate" } + Method { name: "mainThreadFetchImageData" } + Method { + name: "finishBuildParticleNodes" + Parameter { name: "n"; type: "QSGNode*"; isPointer: true } + } + } + Component { + file: "qquickitemparticle_p.h" + name: "QQuickItemParticle" + prototype: "QQuickParticlePainter" + exports: [ + "QtQuick.Particles/ItemParticle 2.0", + "QtQuick.Particles/ItemParticle 2.1", + "QtQuick.Particles/ItemParticle 2.11", + "QtQuick.Particles/ItemParticle 2.4", + "QtQuick.Particles/ItemParticle 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + attachedType: "QQuickItemParticleAttached" + Property { name: "fade"; type: "bool" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Signal { + name: "delegateChanged" + Parameter { name: "arg"; type: "QQmlComponent"; isPointer: true } + } + Method { + name: "freeze" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "unfreeze" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "take" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + Parameter { name: "prioritize"; type: "bool" } + } + Method { + name: "take" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "give" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "setFade" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setDelegate" + Parameter { name: "arg"; type: "QQmlComponent"; isPointer: true } + } + } + Component { + name: "QQuickItemParticleAttached" + prototype: "QObject" + Property { name: "particle"; type: "QQuickItemParticle"; isReadonly: true; isPointer: true } + Signal { name: "detached" } + Signal { name: "attached" } + } + Component { + file: "qquicklineextruder_p.h" + name: "QQuickLineExtruder" + prototype: "QQuickParticleExtruder" + exports: ["QtQuick.Particles/LineShape 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "mirrored"; type: "bool" } + Signal { + name: "mirroredChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setMirrored" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "qquickmaskextruder_p.h" + name: "QQuickMaskExtruder" + prototype: "QQuickParticleExtruder" + exports: ["QtQuick.Particles/MaskShape 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "source"; type: "QUrl" } + Signal { + name: "sourceChanged" + Parameter { name: "arg"; type: "QUrl" } + } + Method { + name: "setSource" + Parameter { name: "arg"; type: "QUrl" } + } + Method { name: "startMaskLoading" } + Method { name: "finishMaskLoading" } + } + Component { + file: "qquickparticleaffector_p.h" + name: "QQuickParticleAffector" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick.Particles/ParticleAffector 2.0", + "QtQuick.Particles/ParticleAffector 2.1", + "QtQuick.Particles/ParticleAffector 2.11", + "QtQuick.Particles/ParticleAffector 2.4", + "QtQuick.Particles/ParticleAffector 2.7" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "system"; type: "QQuickParticleSystem"; isPointer: true } + Property { name: "groups"; type: "QStringList" } + Property { name: "whenCollidingWith"; type: "QStringList" } + Property { name: "enabled"; type: "bool" } + Property { name: "once"; type: "bool" } + Property { name: "shape"; type: "QQuickParticleExtruder"; isPointer: true } + Signal { + name: "systemChanged" + Parameter { name: "arg"; type: "QQuickParticleSystem"; isPointer: true } + } + Signal { + name: "groupsChanged" + Parameter { name: "arg"; type: "QStringList" } + } + Signal { + name: "enabledChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "onceChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "shapeChanged" + Parameter { name: "arg"; type: "QQuickParticleExtruder"; isPointer: true } + } + Signal { + name: "affected" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Signal { + name: "whenCollidingWithChanged" + Parameter { name: "arg"; type: "QStringList" } + } + Method { + name: "setSystem" + Parameter { name: "arg"; type: "QQuickParticleSystem"; isPointer: true } + } + Method { + name: "setGroups" + Parameter { name: "arg"; type: "QStringList" } + } + Method { + name: "setEnabled" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setOnceOff" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setShape" + Parameter { name: "arg"; type: "QQuickParticleExtruder"; isPointer: true } + } + Method { + name: "setWhenCollidingWith" + Parameter { name: "arg"; type: "QStringList" } + } + Method { name: "updateOffsets" } + } + Component { + file: "qquickparticleemitter_p.h" + name: "QQuickParticleEmitter" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick.Particles/Emitter 2.0", + "QtQuick.Particles/Emitter 2.1", + "QtQuick.Particles/Emitter 2.11", + "QtQuick.Particles/Emitter 2.4", + "QtQuick.Particles/Emitter 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "Lifetime" + values: ["InfiniteLife"] + } + Property { name: "system"; type: "QQuickParticleSystem"; isPointer: true } + Property { name: "group"; type: "string" } + Property { name: "shape"; type: "QQuickParticleExtruder"; isPointer: true } + Property { name: "enabled"; type: "bool" } + Property { name: "startTime"; type: "int" } + Property { name: "emitRate"; type: "double" } + Property { name: "lifeSpan"; type: "int" } + Property { name: "lifeSpanVariation"; type: "int" } + Property { name: "maximumEmitted"; type: "int" } + Property { name: "size"; type: "double" } + Property { name: "endSize"; type: "double" } + Property { name: "sizeVariation"; type: "double" } + Property { name: "velocity"; type: "QQuickDirection"; isPointer: true } + Property { name: "acceleration"; type: "QQuickDirection"; isPointer: true } + Property { name: "velocityFromMovement"; type: "double" } + Signal { + name: "emitParticles" + Parameter { name: "particles"; type: "QJSValue" } + } + Signal { + name: "particlesPerSecondChanged" + Parameter { type: "double" } + } + Signal { + name: "particleDurationChanged" + Parameter { type: "int" } + } + Signal { + name: "enabledChanged" + Parameter { type: "bool" } + } + Signal { + name: "systemChanged" + Parameter { name: "arg"; type: "QQuickParticleSystem"; isPointer: true } + } + Signal { + name: "groupChanged" + Parameter { name: "arg"; type: "string" } + } + Signal { + name: "particleDurationVariationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "extruderChanged" + Parameter { name: "arg"; type: "QQuickParticleExtruder"; isPointer: true } + } + Signal { + name: "particleSizeChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "particleEndSizeChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "particleSizeVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "velocityChanged" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Signal { + name: "accelerationChanged" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Signal { + name: "maximumEmittedChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { name: "particleCountChanged" } + Signal { + name: "startTimeChanged" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "pulse" + Parameter { name: "milliseconds"; type: "int" } + } + Method { + name: "burst" + Parameter { name: "num"; type: "int" } + } + Method { + name: "burst" + Parameter { name: "num"; type: "int" } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "setEnabled" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setParticlesPerSecond" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setParticleDuration" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setSystem" + Parameter { name: "arg"; type: "QQuickParticleSystem"; isPointer: true } + } + Method { + name: "setGroup" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setParticleDurationVariation" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setExtruder" + Parameter { name: "arg"; type: "QQuickParticleExtruder"; isPointer: true } + } + Method { + name: "setParticleSize" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setParticleEndSize" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setParticleSizeVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setVelocity" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Method { + name: "setAcceleration" + Parameter { name: "arg"; type: "QQuickDirection"; isPointer: true } + } + Method { + name: "setMaxParticleCount" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setStartTime" + Parameter { name: "arg"; type: "int" } + } + Method { name: "reset" } + } + Component { + file: "qquickparticleextruder_p.h" + name: "QQuickParticleExtruder" + prototype: "QObject" + exports: ["QtQuick.Particles/ParticleExtruder 2.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + } + Component { + file: "qquickparticlegroup_p.h" + name: "QQuickParticleGroup" + defaultProperty: "particleChildren" + prototype: "QQuickStochasticState" + exports: ["QtQuick.Particles/ParticleGroup 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "system"; type: "QQuickParticleSystem"; isPointer: true } + Property { name: "particleChildren"; type: "QObject"; isList: true; isReadonly: true } + Signal { + name: "maximumAliveChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "systemChanged" + Parameter { name: "arg"; type: "QQuickParticleSystem"; isPointer: true } + } + Method { + name: "setMaximumAlive" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setSystem" + Parameter { name: "arg"; type: "QQuickParticleSystem"; isPointer: true } + } + Method { + name: "delayRedirect" + Parameter { name: "obj"; type: "QObject"; isPointer: true } + } + } + Component { + file: "qquickparticlepainter_p.h" + name: "QQuickParticlePainter" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick.Particles/ParticlePainter 2.0", + "QtQuick.Particles/ParticlePainter 2.1", + "QtQuick.Particles/ParticlePainter 2.11", + "QtQuick.Particles/ParticlePainter 2.4", + "QtQuick.Particles/ParticlePainter 2.7" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "system"; type: "QQuickParticleSystem"; isPointer: true } + Property { name: "groups"; type: "QStringList" } + Signal { name: "countChanged" } + Signal { + name: "systemChanged" + Parameter { name: "arg"; type: "QQuickParticleSystem"; isPointer: true } + } + Signal { + name: "groupsChanged" + Parameter { name: "arg"; type: "QStringList" } + } + Method { + name: "setSystem" + Parameter { name: "arg"; type: "QQuickParticleSystem"; isPointer: true } + } + Method { + name: "setGroups" + Parameter { name: "arg"; type: "QStringList" } + } + Method { + name: "calcSystemOffset" + Parameter { name: "resetPending"; type: "bool" } + } + Method { name: "calcSystemOffset" } + Method { name: "sceneGraphInvalidated" } + } + Component { + file: "qquickparticlesystem_p.h" + name: "QQuickParticleSystem" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick.Particles/ParticleSystem 2.0", + "QtQuick.Particles/ParticleSystem 2.1", + "QtQuick.Particles/ParticleSystem 2.11", + "QtQuick.Particles/ParticleSystem 2.4", + "QtQuick.Particles/ParticleSystem 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "running"; type: "bool" } + Property { name: "paused"; type: "bool" } + Property { name: "empty"; type: "bool"; isReadonly: true } + Signal { name: "systemInitialized" } + Signal { + name: "runningChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "pausedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "emptyChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { name: "start" } + Method { name: "stop" } + Method { name: "restart" } + Method { name: "pause" } + Method { name: "resume" } + Method { name: "reset" } + Method { + name: "setRunning" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setPaused" + Parameter { name: "arg"; type: "bool" } + } + Method { name: "duration"; type: "int" } + Method { name: "emittersChanged" } + Method { + name: "loadPainter" + Parameter { name: "p"; type: "QQuickParticlePainter"; isPointer: true } + } + Method { name: "createEngine" } + Method { + name: "particleStateChange" + Parameter { name: "idx"; type: "int" } + } + } + Component { + file: "qquickpointdirection_p.h" + name: "QQuickPointDirection" + prototype: "QQuickDirection" + exports: ["QtQuick.Particles/PointDirection 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "xVariation"; type: "double" } + Property { name: "yVariation"; type: "double" } + Signal { + name: "xChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "yChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "xVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "yVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setX" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setY" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setXVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setYVariation" + Parameter { name: "arg"; type: "double" } + } + } + Component { + file: "qquickrectangleextruder_p.h" + name: "QQuickRectangleExtruder" + prototype: "QQuickParticleExtruder" + exports: ["QtQuick.Particles/RectangleShape 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "fill"; type: "bool" } + Signal { + name: "fillChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setFill" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "qquickspritegoal_p.h" + name: "QQuickSpriteGoalAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/SpriteGoal 2.0", + "QtQuick.Particles/SpriteGoal 2.1", + "QtQuick.Particles/SpriteGoal 2.11", + "QtQuick.Particles/SpriteGoal 2.4", + "QtQuick.Particles/SpriteGoal 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "goalState"; type: "string" } + Property { name: "jump"; type: "bool" } + Property { name: "systemStates"; type: "bool" } + Signal { + name: "goalStateChanged" + Parameter { name: "arg"; type: "string" } + } + Signal { + name: "jumpChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "systemStatesChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setGoalState" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setJump" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setSystemStates" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + name: "QQuickStochasticState" + prototype: "QObject" + Property { name: "duration"; type: "int" } + Property { name: "durationVariation"; type: "int" } + Property { name: "randomStart"; type: "bool" } + Property { name: "to"; type: "QVariantMap" } + Property { name: "name"; type: "string" } + Signal { + name: "durationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "nameChanged" + Parameter { name: "arg"; type: "string" } + } + Signal { + name: "toChanged" + Parameter { name: "arg"; type: "QVariantMap" } + } + Signal { + name: "durationVariationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { name: "entered" } + Signal { + name: "randomStartChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setDuration" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setName" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setTo" + Parameter { name: "arg"; type: "QVariantMap" } + } + Method { + name: "setDurationVariation" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setRandomStart" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "qquicktargetdirection_p.h" + name: "QQuickTargetDirection" + prototype: "QQuickDirection" + exports: ["QtQuick.Particles/TargetDirection 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "targetX"; type: "double" } + Property { name: "targetY"; type: "double" } + Property { name: "targetItem"; type: "QQuickItem"; isPointer: true } + Property { name: "targetVariation"; type: "double" } + Property { name: "proportionalMagnitude"; type: "bool" } + Property { name: "magnitude"; type: "double" } + Property { name: "magnitudeVariation"; type: "double" } + Signal { + name: "targetXChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "targetYChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "targetVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "magnitudeChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "proprotionalMagnitudeChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "magnitudeVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "targetItemChanged" + Parameter { name: "arg"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "setTargetX" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setTargetY" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setTargetVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setMagnitude" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setProportionalMagnitude" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setMagnitudeVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setTargetItem" + Parameter { name: "arg"; type: "QQuickItem"; isPointer: true } + } + } + Component { + file: "qquicktrailemitter_p.h" + name: "QQuickTrailEmitter" + prototype: "QQuickParticleEmitter" + exports: [ + "QtQuick.Particles/TrailEmitter 2.0", + "QtQuick.Particles/TrailEmitter 2.1", + "QtQuick.Particles/TrailEmitter 2.11", + "QtQuick.Particles/TrailEmitter 2.4", + "QtQuick.Particles/TrailEmitter 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "EmitSize" + values: ["ParticleSize"] + } + Property { name: "follow"; type: "string" } + Property { name: "emitRatePerParticle"; type: "int" } + Property { name: "emitShape"; type: "QQuickParticleExtruder"; isPointer: true } + Property { name: "emitHeight"; type: "double" } + Property { name: "emitWidth"; type: "double" } + Signal { + name: "emitFollowParticles" + Parameter { name: "particles"; type: "QJSValue" } + Parameter { name: "followed"; type: "QJSValue" } + } + Signal { + name: "particlesPerParticlePerSecondChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "emitterXVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "emitterYVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "followChanged" + Parameter { name: "arg"; type: "string" } + } + Signal { + name: "emissionShapeChanged" + Parameter { name: "arg"; type: "QQuickParticleExtruder"; isPointer: true } + } + Method { + name: "setParticlesPerParticlePerSecond" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setEmitterXVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setEmitterYVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setFollow" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setEmissionShape" + Parameter { name: "arg"; type: "QQuickParticleExtruder"; isPointer: true } + } + Method { name: "recalcParticlesPerSecond" } + } + Component { + file: "qquickturbulence_p.h" + name: "QQuickTurbulenceAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/Turbulence 2.0", + "QtQuick.Particles/Turbulence 2.1", + "QtQuick.Particles/Turbulence 2.11", + "QtQuick.Particles/Turbulence 2.4", + "QtQuick.Particles/Turbulence 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Property { name: "strength"; type: "double" } + Property { name: "noiseSource"; type: "QUrl" } + Signal { + name: "strengthChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "noiseSourceChanged" + Parameter { name: "arg"; type: "QUrl" } + } + Method { + name: "setStrength" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setNoiseSource" + Parameter { name: "arg"; type: "QUrl" } + } + } + Component { + file: "qquickwander_p.h" + name: "QQuickWanderAffector" + prototype: "QQuickParticleAffector" + exports: [ + "QtQuick.Particles/Wander 2.0", + "QtQuick.Particles/Wander 2.1", + "QtQuick.Particles/Wander 2.11", + "QtQuick.Particles/Wander 2.4", + "QtQuick.Particles/Wander 2.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "AffectableParameters" + values: ["Position", "Velocity", "Acceleration"] + } + Property { name: "pace"; type: "double" } + Property { name: "xVariance"; type: "double" } + Property { name: "yVariance"; type: "double" } + Property { name: "affectedParameter"; type: "AffectableParameters" } + Signal { + name: "xVarianceChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "yVarianceChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "paceChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "affectedParameterChanged" + Parameter { name: "arg"; type: "AffectableParameters" } + } + Method { + name: "setXVariance" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setYVariance" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setPace" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setAffectedParameter" + Parameter { name: "arg"; type: "AffectableParameters" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/qmldir new file mode 100644 index 00000000..1f17baad --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Particles.2/qmldir @@ -0,0 +1,4 @@ +module QtQuick.Particles +plugin particlesplugin +classname QtQuick2ParticlesPlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/plugins.qmltypes new file mode 100644 index 00000000..5e70b3ba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/plugins.qmltypes @@ -0,0 +1,328 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick.PrivateWidgets 1.1' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QQuickAbstractColorDialog" + prototype: "QQuickAbstractDialog" + Property { name: "showAlphaChannel"; type: "bool" } + Property { name: "color"; type: "QColor" } + Property { name: "currentColor"; type: "QColor" } + Property { name: "currentHue"; type: "double"; isReadonly: true } + Property { name: "currentSaturation"; type: "double"; isReadonly: true } + Property { name: "currentLightness"; type: "double"; isReadonly: true } + Property { name: "currentAlpha"; type: "double"; isReadonly: true } + Signal { name: "selectionAccepted" } + Method { + name: "setVisible" + Parameter { name: "v"; type: "bool" } + } + Method { + name: "setModality" + Parameter { name: "m"; type: "Qt::WindowModality" } + } + Method { + name: "setTitle" + Parameter { name: "t"; type: "string" } + } + Method { + name: "setColor" + Parameter { name: "arg"; type: "QColor" } + } + Method { + name: "setCurrentColor" + Parameter { name: "currentColor"; type: "QColor" } + } + Method { + name: "setShowAlphaChannel" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + name: "QQuickAbstractDialog" + prototype: "QObject" + Enum { + name: "StandardButton" + values: { + "NoButton": 0, + "Ok": 1024, + "Save": 2048, + "SaveAll": 4096, + "Open": 8192, + "Yes": 16384, + "YesToAll": 32768, + "No": 65536, + "NoToAll": 131072, + "Abort": 262144, + "Retry": 524288, + "Ignore": 1048576, + "Close": 2097152, + "Cancel": 4194304, + "Discard": 8388608, + "Help": 16777216, + "Apply": 33554432, + "Reset": 67108864, + "RestoreDefaults": 134217728, + "NButtons": 134217729 + } + } + Enum { + name: "StandardButtons" + values: { + "NoButton": 0, + "Ok": 1024, + "Save": 2048, + "SaveAll": 4096, + "Open": 8192, + "Yes": 16384, + "YesToAll": 32768, + "No": 65536, + "NoToAll": 131072, + "Abort": 262144, + "Retry": 524288, + "Ignore": 1048576, + "Close": 2097152, + "Cancel": 4194304, + "Discard": 8388608, + "Help": 16777216, + "Apply": 33554432, + "Reset": 67108864, + "RestoreDefaults": 134217728, + "NButtons": 134217729 + } + } + Property { name: "visible"; type: "bool" } + Property { name: "modality"; type: "Qt::WindowModality" } + Property { name: "title"; type: "string" } + Property { name: "isWindow"; type: "bool"; isReadonly: true } + Property { name: "x"; type: "int" } + Property { name: "y"; type: "int" } + Property { name: "width"; type: "int" } + Property { name: "height"; type: "int" } + Property { name: "__maximumDimension"; type: "int"; isReadonly: true } + Signal { name: "visibilityChanged" } + Signal { name: "geometryChanged" } + Signal { name: "accepted" } + Signal { name: "rejected" } + Method { name: "open" } + Method { name: "close" } + Method { + name: "setX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "arg"; type: "int" } + } + } + Component { + name: "QQuickAbstractFileDialog" + prototype: "QQuickAbstractDialog" + Property { name: "selectExisting"; type: "bool" } + Property { name: "selectMultiple"; type: "bool" } + Property { name: "selectFolder"; type: "bool" } + Property { name: "folder"; type: "QUrl" } + Property { name: "nameFilters"; type: "QStringList" } + Property { name: "selectedNameFilter"; type: "string" } + Property { name: "selectedNameFilterExtensions"; type: "QStringList"; isReadonly: true } + Property { name: "selectedNameFilterIndex"; type: "int" } + Property { name: "fileUrl"; type: "QUrl"; isReadonly: true } + Property { name: "fileUrls"; type: "QList"; isReadonly: true } + Property { name: "sidebarVisible"; type: "bool" } + Property { name: "defaultSuffix"; type: "string" } + Property { name: "shortcuts"; type: "QJSValue"; isReadonly: true } + Property { name: "__shortcuts"; type: "QJSValue"; isReadonly: true } + Signal { name: "filterSelected" } + Signal { name: "fileModeChanged" } + Signal { name: "selectionAccepted" } + Method { + name: "setVisible" + Parameter { name: "v"; type: "bool" } + } + Method { + name: "setTitle" + Parameter { name: "t"; type: "string" } + } + Method { + name: "setSelectExisting" + Parameter { name: "s"; type: "bool" } + } + Method { + name: "setSelectMultiple" + Parameter { name: "s"; type: "bool" } + } + Method { + name: "setSelectFolder" + Parameter { name: "s"; type: "bool" } + } + Method { + name: "setFolder" + Parameter { name: "f"; type: "QUrl" } + } + Method { + name: "setNameFilters" + Parameter { name: "f"; type: "QStringList" } + } + Method { + name: "selectNameFilter" + Parameter { name: "f"; type: "string" } + } + Method { + name: "setSelectedNameFilterIndex" + Parameter { name: "idx"; type: "int" } + } + Method { + name: "setSidebarVisible" + Parameter { name: "s"; type: "bool" } + } + Method { + name: "setDefaultSuffix" + Parameter { name: "suffix"; type: "string" } + } + } + Component { + name: "QQuickAbstractFontDialog" + prototype: "QQuickAbstractDialog" + Property { name: "scalableFonts"; type: "bool" } + Property { name: "nonScalableFonts"; type: "bool" } + Property { name: "monospacedFonts"; type: "bool" } + Property { name: "proportionalFonts"; type: "bool" } + Property { name: "font"; type: "QFont" } + Property { name: "currentFont"; type: "QFont" } + Signal { name: "selectionAccepted" } + Method { + name: "setVisible" + Parameter { name: "v"; type: "bool" } + } + Method { + name: "setModality" + Parameter { name: "m"; type: "Qt::WindowModality" } + } + Method { + name: "setTitle" + Parameter { name: "t"; type: "string" } + } + Method { + name: "setFont" + Parameter { name: "arg"; type: "QFont" } + } + Method { + name: "setCurrentFont" + Parameter { name: "arg"; type: "QFont" } + } + Method { + name: "setScalableFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setNonScalableFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setMonospacedFonts" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setProportionalFonts" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + name: "QQuickAbstractMessageDialog" + prototype: "QQuickAbstractDialog" + exports: ["QtQuick.PrivateWidgets/QtMessageDialog 1.1"] + exportMetaObjectRevisions: [0] + Enum { + name: "Icon" + values: { + "NoIcon": 0, + "Information": 1, + "Warning": 2, + "Critical": 3, + "Question": 4 + } + } + Property { name: "text"; type: "string" } + Property { name: "informativeText"; type: "string" } + Property { name: "detailedText"; type: "string" } + Property { name: "icon"; type: "Icon" } + Property { name: "standardIconSource"; type: "QUrl"; isReadonly: true } + Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } + Property { + name: "clickedButton" + type: "QQuickAbstractDialog::StandardButton" + isReadonly: true + } + Signal { name: "buttonClicked" } + Signal { name: "discard" } + Signal { name: "help" } + Signal { name: "yes" } + Signal { name: "no" } + Signal { name: "apply" } + Signal { name: "reset" } + Method { + name: "setVisible" + Parameter { name: "v"; type: "bool" } + } + Method { + name: "setTitle" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setText" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setInformativeText" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setDetailedText" + Parameter { name: "arg"; type: "string" } + } + Method { + name: "setIcon" + Parameter { name: "icon"; type: "Icon" } + } + Method { + name: "setStandardButtons" + Parameter { name: "buttons"; type: "StandardButtons" } + } + Method { + name: "click" + Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } + } + } + Component { + name: "QQuickQColorDialog" + prototype: "QQuickAbstractColorDialog" + exports: ["QtQuick.PrivateWidgets/QtColorDialog 1.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickQFileDialog" + prototype: "QQuickAbstractFileDialog" + exports: ["QtQuick.PrivateWidgets/QtFileDialog 1.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickQFontDialog" + prototype: "QQuickAbstractFontDialog" + exports: ["QtQuick.PrivateWidgets/QtFontDialog 1.1"] + exportMetaObjectRevisions: [0] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/qmldir new file mode 100644 index 00000000..da63c98e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/qmldir @@ -0,0 +1,4 @@ +module QtQuick.PrivateWidgets +plugin widgetsplugin +classname QtQuick2PrivateWidgetsPlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/widgetsplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/widgetsplugin.dll new file mode 100644 index 00000000..8be0bb3c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/PrivateWidgets/widgetsplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/plugins.qmltypes new file mode 100644 index 00000000..16b89272 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/plugins.qmltypes @@ -0,0 +1,68 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Scene2D 2.15' + +Module { + dependencies: ["Qt3D.Core 2.0", "Qt3D.Render 2.0"] + Component { + name: "Qt3DRender::Quick::QScene2D" + defaultProperty: "item" + prototype: "Qt3DCore::QNode" + exports: ["QtQuick.Scene2D/Scene2D 2.9"] + exportMetaObjectRevisions: [209] + Enum { + name: "RenderPolicy" + values: { + "Continuous": 0, + "SingleShot": 1 + } + } + Property { name: "output"; type: "Qt3DRender::QRenderTargetOutput"; isPointer: true } + Property { name: "renderPolicy"; type: "QScene2D::RenderPolicy" } + Property { name: "item"; type: "QQuickItem"; isPointer: true } + Property { name: "mouseEnabled"; type: "bool" } + Signal { + name: "outputChanged" + Parameter { name: "output"; type: "Qt3DRender::QRenderTargetOutput"; isPointer: true } + } + Signal { + name: "renderPolicyChanged" + Parameter { name: "policy"; type: "QScene2D::RenderPolicy" } + } + Signal { + name: "itemChanged" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Signal { + name: "mouseEnabledChanged" + Parameter { name: "enabled"; type: "bool" } + } + Method { + name: "setOutput" + Parameter { name: "output"; type: "Qt3DRender::QRenderTargetOutput"; isPointer: true } + } + Method { + name: "setRenderPolicy" + Parameter { name: "policy"; type: "QScene2D::RenderPolicy" } + } + Method { + name: "setItem" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "setMouseEnabled" + Parameter { name: "enabled"; type: "bool" } + } + Property { + name: "entities" + revision: 209 + type: "Qt3DCore::QEntity" + isList: true + isReadonly: true + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/qmldir new file mode 100644 index 00000000..2e807f1e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/qmldir @@ -0,0 +1,3 @@ +module QtQuick.Scene2D +plugin qtquickscene2dplugin +classname QtQuickScene2DPlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/qtquickscene2dplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/qtquickscene2dplugin.dll new file mode 100644 index 00000000..781e6595 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene2D/qtquickscene2dplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/plugins.qmltypes new file mode 100644 index 00000000..f0ce9a33 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/plugins.qmltypes @@ -0,0 +1,87 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Scene3D 2.15' + +Module { + dependencies: ["Qt3D.Core 2.0", "QtQuick 2.0"] + Component { + name: "Qt3DRender::Scene3DItem" + defaultProperty: "entity" + prototype: "QQuickItem" + exports: [ + "QtQuick.Scene3D/Scene3D 2.0", + "QtQuick.Scene3D/Scene3D 2.14" + ] + exportMetaObjectRevisions: [0, 14] + Enum { + name: "CameraAspectRatioMode" + values: { + "AutomaticAspectRatio": 0, + "UserAspectRatio": 1 + } + } + Enum { + name: "CompositingMode" + values: { + "FBO": 0, + "Underlay": 1 + } + } + Property { name: "entity"; type: "Qt3DCore::QEntity"; isPointer: true } + Property { name: "aspects"; type: "QStringList" } + Property { name: "multisample"; type: "bool" } + Property { name: "cameraAspectRatioMode"; type: "CameraAspectRatioMode" } + Property { name: "hoverEnabled"; type: "bool" } + Property { name: "compositingMode"; revision: 14; type: "CompositingMode" } + Signal { + name: "cameraAspectRatioModeChanged" + Parameter { name: "mode"; type: "CameraAspectRatioMode" } + } + Method { + name: "setAspects" + Parameter { name: "aspects"; type: "QStringList" } + } + Method { + name: "setEntity" + Parameter { name: "entity"; type: "Qt3DCore::QEntity"; isPointer: true } + } + Method { + name: "setCameraAspectRatioMode" + Parameter { name: "mode"; type: "CameraAspectRatioMode" } + } + Method { + name: "setHoverEnabled" + Parameter { name: "enabled"; type: "bool" } + } + Method { + name: "setCompositingMode" + Parameter { name: "mode"; type: "CompositingMode" } + } + Method { + name: "setItemAreaAndDevicePixelRatio" + Parameter { name: "area"; type: "QSize" } + Parameter { name: "devicePixelRatio"; type: "double" } + } + } + Component { + name: "Qt3DRender::Scene3DView" + defaultProperty: "entity" + prototype: "QQuickItem" + exports: ["QtQuick.Scene3D/Scene3DView 2.14"] + exportMetaObjectRevisions: [0] + Property { name: "entity"; type: "Qt3DCore::QEntity"; isPointer: true } + Property { name: "scene3D"; type: "Qt3DRender::Scene3DItem"; isPointer: true } + Method { + name: "setEntity" + Parameter { name: "entity"; type: "Qt3DCore::QEntity"; isPointer: true } + } + Method { + name: "setScene3D" + Parameter { name: "scene3D"; type: "Scene3DItem"; isPointer: true } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/qmldir new file mode 100644 index 00000000..0f551d24 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/qmldir @@ -0,0 +1,3 @@ +module QtQuick.Scene3D +plugin qtquickscene3dplugin +classname QtQuickScene3DPlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/qtquickscene3dplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/qtquickscene3dplugin.dll new file mode 100644 index 00000000..cfc2901e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Scene3D/qtquickscene3dplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/plugins.qmltypes new file mode 100644 index 00000000..92320612 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/plugins.qmltypes @@ -0,0 +1,154 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0"] + Component { + file: "qquickshape_p.h" + name: "QQuickShape" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick.Shapes/Shape 1.0", + "QtQuick.Shapes/Shape 1.1", + "QtQuick.Shapes/Shape 1.11", + "QtQuick.Shapes/Shape 1.4", + "QtQuick.Shapes/Shape 1.7" + ] + exportMetaObjectRevisions: [0, 1, 11, 4, 7] + Enum { + name: "RendererType" + values: [ + "UnknownRenderer", + "GeometryRenderer", + "NvprRenderer", + "SoftwareRenderer" + ] + } + Enum { + name: "Status" + values: ["Null", "Ready", "Processing"] + } + Enum { + name: "ContainsMode" + values: ["BoundingRectContains", "FillContains"] + } + Property { name: "rendererType"; type: "RendererType"; isReadonly: true } + Property { name: "asynchronous"; type: "bool" } + Property { name: "vendorExtensionsEnabled"; type: "bool" } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "containsMode"; revision: 11; type: "ContainsMode" } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Signal { name: "rendererChanged" } + Signal { name: "containsModeChanged"; revision: 11 } + Method { name: "_q_shapePathChanged" } + } + Component { + file: "qquickshape_p.h" + name: "QQuickShapeConicalGradient" + defaultProperty: "stops" + prototype: "QQuickShapeGradient" + exports: [ + "QtQuick.Shapes/ConicalGradient 1.0", + "QtQuick.Shapes/ConicalGradient 1.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "centerX"; type: "double" } + Property { name: "centerY"; type: "double" } + Property { name: "angle"; type: "double" } + } + Component { + file: "qquickshape_p.h" + name: "QQuickShapeGradient" + defaultProperty: "stops" + prototype: "QQuickGradient" + exports: [ + "QtQuick.Shapes/ShapeGradient 1.0", + "QtQuick.Shapes/ShapeGradient 1.12" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 12] + Enum { + name: "SpreadMode" + values: ["PadSpread", "RepeatSpread", "ReflectSpread"] + } + Property { name: "spread"; type: "SpreadMode" } + } + Component { + file: "qquickshape_p.h" + name: "QQuickShapeLinearGradient" + defaultProperty: "stops" + prototype: "QQuickShapeGradient" + exports: [ + "QtQuick.Shapes/LinearGradient 1.0", + "QtQuick.Shapes/LinearGradient 1.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "x1"; type: "double" } + Property { name: "y1"; type: "double" } + Property { name: "x2"; type: "double" } + Property { name: "y2"; type: "double" } + } + Component { + file: "qquickshape_p.h" + name: "QQuickShapePath" + defaultProperty: "pathElements" + prototype: "QQuickPath" + exports: [ + "QtQuick.Shapes/ShapePath 1.0", + "QtQuick.Shapes/ShapePath 1.14" + ] + exportMetaObjectRevisions: [0, 14] + Enum { + name: "FillRule" + values: ["OddEvenFill", "WindingFill"] + } + Enum { + name: "JoinStyle" + values: ["MiterJoin", "BevelJoin", "RoundJoin"] + } + Enum { + name: "CapStyle" + values: ["FlatCap", "SquareCap", "RoundCap"] + } + Enum { + name: "StrokeStyle" + values: ["SolidLine", "DashLine"] + } + Property { name: "strokeColor"; type: "QColor" } + Property { name: "strokeWidth"; type: "double" } + Property { name: "fillColor"; type: "QColor" } + Property { name: "fillRule"; type: "FillRule" } + Property { name: "joinStyle"; type: "JoinStyle" } + Property { name: "miterLimit"; type: "int" } + Property { name: "capStyle"; type: "CapStyle" } + Property { name: "strokeStyle"; type: "StrokeStyle" } + Property { name: "dashOffset"; type: "double" } + Property { name: "dashPattern"; type: "QVector" } + Property { name: "fillGradient"; type: "QQuickShapeGradient"; isPointer: true } + Property { name: "scale"; revision: 14; type: "QSizeF" } + Signal { name: "shapePathChanged" } + Method { name: "_q_fillGradientChanged" } + } + Component { + file: "qquickshape_p.h" + name: "QQuickShapeRadialGradient" + defaultProperty: "stops" + prototype: "QQuickShapeGradient" + exports: [ + "QtQuick.Shapes/RadialGradient 1.0", + "QtQuick.Shapes/RadialGradient 1.12" + ] + exportMetaObjectRevisions: [0, 12] + Property { name: "centerX"; type: "double" } + Property { name: "centerY"; type: "double" } + Property { name: "centerRadius"; type: "double" } + Property { name: "focalX"; type: "double" } + Property { name: "focalY"; type: "double" } + Property { name: "focalRadius"; type: "double" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/qmldir new file mode 100644 index 00000000..306ad1ec --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/qmldir @@ -0,0 +1,4 @@ +module QtQuick.Shapes +plugin qmlshapesplugin +classname QmlShapesPlugin +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/qmlshapesplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/qmlshapesplugin.dll new file mode 100644 index 00000000..9d039773 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Shapes/qmlshapesplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/plugins.qmltypes new file mode 100644 index 00000000..42c04c80 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/plugins.qmltypes @@ -0,0 +1,3122 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Templates 2.15' + +Module { + dependencies: ["QtQuick 2.9", "QtQuick.Window 2.2"] + Component { + name: "QQuickAbstractButton" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/AbstractButton 2.0", + "QtQuick.Templates/AbstractButton 2.2", + "QtQuick.Templates/AbstractButton 2.3", + "QtQuick.Templates/AbstractButton 2.4", + "QtQuick.Templates/AbstractButton 2.5" + ] + exportMetaObjectRevisions: [0, 2, 3, 4, 5] + Enum { + name: "Display" + values: { + "IconOnly": 0, + "TextOnly": 1, + "TextBesideIcon": 2, + "TextUnderIcon": 3 + } + } + Property { name: "text"; type: "string" } + Property { name: "down"; type: "bool" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "checked"; type: "bool" } + Property { name: "checkable"; type: "bool" } + Property { name: "autoExclusive"; type: "bool" } + Property { name: "autoRepeat"; type: "bool" } + Property { name: "indicator"; type: "QQuickItem"; isPointer: true } + Property { name: "icon"; revision: 3; type: "QQuickIcon" } + Property { name: "display"; revision: 3; type: "Display" } + Property { name: "action"; revision: 3; type: "QQuickAction"; isPointer: true } + Property { name: "autoRepeatDelay"; revision: 4; type: "int" } + Property { name: "autoRepeatInterval"; revision: 4; type: "int" } + Property { name: "pressX"; revision: 4; type: "double"; isReadonly: true } + Property { name: "pressY"; revision: 4; type: "double"; isReadonly: true } + Property { name: "implicitIndicatorWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitIndicatorHeight"; revision: 5; type: "double"; isReadonly: true } + Signal { name: "pressed" } + Signal { name: "released" } + Signal { name: "canceled" } + Signal { name: "clicked" } + Signal { name: "pressAndHold" } + Signal { name: "doubleClicked" } + Signal { name: "toggled"; revision: 2 } + Signal { name: "iconChanged"; revision: 3 } + Signal { name: "displayChanged"; revision: 3 } + Signal { name: "actionChanged"; revision: 3 } + Signal { name: "autoRepeatDelayChanged"; revision: 4 } + Signal { name: "autoRepeatIntervalChanged"; revision: 4 } + Signal { name: "pressXChanged"; revision: 4 } + Signal { name: "pressYChanged"; revision: 4 } + Signal { name: "implicitIndicatorWidthChanged"; revision: 5 } + Signal { name: "implicitIndicatorHeightChanged"; revision: 5 } + Method { name: "toggle" } + } + Component { + name: "QQuickAction" + prototype: "QObject" + exports: ["QtQuick.Templates/Action 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "text"; type: "string" } + Property { name: "icon"; type: "QQuickIcon" } + Property { name: "enabled"; type: "bool" } + Property { name: "checked"; type: "bool" } + Property { name: "checkable"; type: "bool" } + Property { name: "shortcut"; type: "QVariant" } + Signal { + name: "textChanged" + Parameter { name: "text"; type: "string" } + } + Signal { + name: "iconChanged" + Parameter { name: "icon"; type: "QQuickIcon" } + } + Signal { + name: "enabledChanged" + Parameter { name: "enabled"; type: "bool" } + } + Signal { + name: "checkedChanged" + Parameter { name: "checked"; type: "bool" } + } + Signal { + name: "checkableChanged" + Parameter { name: "checkable"; type: "bool" } + } + Signal { + name: "shortcutChanged" + Parameter { name: "shortcut"; type: "QKeySequence" } + } + Signal { + name: "toggled" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Signal { name: "toggled" } + Signal { + name: "triggered" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Signal { name: "triggered" } + Method { + name: "toggle" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Method { name: "toggle" } + Method { + name: "trigger" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Method { name: "trigger" } + } + Component { + name: "QQuickActionGroup" + defaultProperty: "actions" + prototype: "QObject" + exports: ["QtQuick.Templates/ActionGroup 2.3"] + exportMetaObjectRevisions: [0] + attachedType: "QQuickActionGroupAttached" + Property { name: "checkedAction"; type: "QQuickAction"; isPointer: true } + Property { name: "actions"; type: "QQuickAction"; isList: true; isReadonly: true } + Property { name: "exclusive"; type: "bool" } + Property { name: "enabled"; type: "bool" } + Signal { + name: "triggered" + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "addAction" + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "removeAction" + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + } + Component { + name: "QQuickActionGroupAttached" + prototype: "QObject" + Property { name: "group"; type: "QQuickActionGroup"; isPointer: true } + } + Component { + name: "QQuickApplicationWindow" + defaultProperty: "contentData" + prototype: "QQuickWindowQmlImpl" + exports: [ + "QtQuick.Templates/ApplicationWindow 2.0", + "QtQuick.Templates/ApplicationWindow 2.3" + ] + exportMetaObjectRevisions: [0, 3] + attachedType: "QQuickApplicationWindowAttached" + Property { name: "background"; type: "QQuickItem"; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "activeFocusControl"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "header"; type: "QQuickItem"; isPointer: true } + Property { name: "footer"; type: "QQuickItem"; isPointer: true } + Property { name: "overlay"; type: "QQuickOverlay"; isReadonly: true; isPointer: true } + Property { name: "font"; type: "QFont" } + Property { name: "locale"; type: "QLocale" } + Property { name: "palette"; revision: 3; type: "QPalette" } + Property { name: "menuBar"; revision: 3; type: "QQuickItem"; isPointer: true } + Signal { name: "paletteChanged"; revision: 3 } + Signal { name: "menuBarChanged"; revision: 3 } + } + Component { + name: "QQuickApplicationWindowAttached" + prototype: "QObject" + Property { name: "window"; type: "QQuickApplicationWindow"; isReadonly: true; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "activeFocusControl"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "header"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "footer"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "overlay"; type: "QQuickOverlay"; isReadonly: true; isPointer: true } + Property { name: "menuBar"; type: "QQuickItem"; isReadonly: true; isPointer: true } + } + Component { + name: "QQuickBusyIndicator" + defaultProperty: "data" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/BusyIndicator 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "running"; type: "bool" } + } + Component { + name: "QQuickButton" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: ["QtQuick.Templates/Button 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "highlighted"; type: "bool" } + Property { name: "flat"; type: "bool" } + } + Component { + name: "QQuickButtonGroup" + prototype: "QObject" + exports: [ + "QtQuick.Templates/ButtonGroup 2.0", + "QtQuick.Templates/ButtonGroup 2.1", + "QtQuick.Templates/ButtonGroup 2.3", + "QtQuick.Templates/ButtonGroup 2.4" + ] + exportMetaObjectRevisions: [0, 1, 3, 4] + attachedType: "QQuickButtonGroupAttached" + Property { name: "checkedButton"; type: "QQuickAbstractButton"; isPointer: true } + Property { name: "buttons"; type: "QQuickAbstractButton"; isList: true; isReadonly: true } + Property { name: "exclusive"; revision: 3; type: "bool" } + Property { name: "checkState"; revision: 4; type: "Qt::CheckState" } + Signal { + name: "clicked" + revision: 1 + Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } + } + Signal { name: "exclusiveChanged"; revision: 3 } + Signal { name: "checkStateChanged"; revision: 4 } + Method { + name: "addButton" + Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } + } + Method { + name: "removeButton" + Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } + } + } + Component { + name: "QQuickButtonGroupAttached" + prototype: "QObject" + Property { name: "group"; type: "QQuickButtonGroup"; isPointer: true } + } + Component { + name: "QQuickCheckBox" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/CheckBox 2.0", + "QtQuick.Templates/CheckBox 2.4" + ] + exportMetaObjectRevisions: [0, 4] + Property { name: "tristate"; type: "bool" } + Property { name: "checkState"; type: "Qt::CheckState" } + Property { name: "nextCheckState"; revision: 4; type: "QJSValue" } + Signal { name: "nextCheckStateChanged"; revision: 4 } + } + Component { + name: "QQuickCheckDelegate" + defaultProperty: "data" + prototype: "QQuickItemDelegate" + exports: [ + "QtQuick.Templates/CheckDelegate 2.0", + "QtQuick.Templates/CheckDelegate 2.4" + ] + exportMetaObjectRevisions: [0, 4] + Property { name: "tristate"; type: "bool" } + Property { name: "checkState"; type: "Qt::CheckState" } + Property { name: "nextCheckState"; revision: 4; type: "QJSValue" } + Signal { name: "nextCheckStateChanged"; revision: 4 } + } + Component { + name: "QQuickComboBox" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/ComboBox 2.0", + "QtQuick.Templates/ComboBox 2.1", + "QtQuick.Templates/ComboBox 2.14", + "QtQuick.Templates/ComboBox 2.15", + "QtQuick.Templates/ComboBox 2.2", + "QtQuick.Templates/ComboBox 2.5" + ] + exportMetaObjectRevisions: [0, 1, 14, 15, 2, 5] + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "model"; type: "QVariant" } + Property { name: "delegateModel"; type: "QQmlInstanceModel"; isReadonly: true; isPointer: true } + Property { name: "pressed"; type: "bool" } + Property { name: "highlightedIndex"; type: "int"; isReadonly: true } + Property { name: "currentIndex"; type: "int" } + Property { name: "currentText"; type: "string"; isReadonly: true } + Property { name: "displayText"; type: "string" } + Property { name: "textRole"; type: "string" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "indicator"; type: "QQuickItem"; isPointer: true } + Property { name: "popup"; type: "QQuickPopup"; isPointer: true } + Property { name: "flat"; revision: 1; type: "bool" } + Property { name: "down"; revision: 2; type: "bool" } + Property { name: "editable"; revision: 2; type: "bool" } + Property { name: "editText"; revision: 2; type: "string" } + Property { name: "validator"; revision: 2; type: "QValidator"; isPointer: true } + Property { name: "inputMethodHints"; revision: 2; type: "Qt::InputMethodHints" } + Property { name: "inputMethodComposing"; revision: 2; type: "bool"; isReadonly: true } + Property { name: "acceptableInput"; revision: 2; type: "bool"; isReadonly: true } + Property { name: "implicitIndicatorWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitIndicatorHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "currentValue"; revision: 14; type: "QVariant"; isReadonly: true } + Property { name: "valueRole"; revision: 14; type: "string" } + Property { name: "selectTextByMouse"; revision: 15; type: "bool" } + Signal { + name: "activated" + Parameter { name: "index"; type: "int" } + } + Signal { + name: "highlighted" + Parameter { name: "index"; type: "int" } + } + Signal { name: "flatChanged"; revision: 1 } + Signal { name: "accepted"; revision: 2 } + Signal { name: "downChanged"; revision: 2 } + Signal { name: "editableChanged"; revision: 2 } + Signal { name: "editTextChanged"; revision: 2 } + Signal { name: "validatorChanged"; revision: 2 } + Signal { name: "inputMethodHintsChanged"; revision: 2 } + Signal { name: "inputMethodComposingChanged"; revision: 2 } + Signal { name: "acceptableInputChanged"; revision: 2 } + Signal { name: "implicitIndicatorWidthChanged"; revision: 5 } + Signal { name: "implicitIndicatorHeightChanged"; revision: 5 } + Signal { name: "valueRoleChanged"; revision: 14 } + Signal { name: "currentValueChanged"; revision: 14 } + Signal { name: "selectTextByMouseChanged"; revision: 15 } + Method { name: "incrementCurrentIndex" } + Method { name: "decrementCurrentIndex" } + Method { name: "selectAll"; revision: 2 } + Method { + name: "textAt" + type: "string" + Parameter { name: "index"; type: "int" } + } + Method { + name: "find" + type: "int" + Parameter { name: "text"; type: "string" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "find" + type: "int" + Parameter { name: "text"; type: "string" } + } + Method { + name: "valueAt" + revision: 14 + type: "QVariant" + Parameter { name: "index"; type: "int" } + } + Method { + name: "indexOfValue" + revision: 14 + type: "int" + Parameter { name: "value"; type: "QVariant" } + } + } + Component { + name: "QQuickContainer" + defaultProperty: "contentData" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/Container 2.0", + "QtQuick.Templates/Container 2.1", + "QtQuick.Templates/Container 2.3", + "QtQuick.Templates/Container 2.5" + ] + exportMetaObjectRevisions: [0, 1, 3, 5] + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "contentModel"; type: "QVariant"; isReadonly: true } + Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "contentChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "currentIndex"; type: "int" } + Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "contentWidth"; revision: 5; type: "double" } + Property { name: "contentHeight"; revision: 5; type: "double" } + Signal { name: "contentWidthChanged"; revision: 5 } + Signal { name: "contentHeightChanged"; revision: 5 } + Method { + name: "setCurrentIndex" + Parameter { name: "index"; type: "int" } + } + Method { name: "incrementCurrentIndex"; revision: 1 } + Method { name: "decrementCurrentIndex"; revision: 1 } + Method { + name: "itemAt" + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "addItem" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "insertItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "moveItem" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + } + Method { + name: "removeItem" + Parameter { name: "item"; type: "QVariant" } + } + Method { + name: "takeItem" + revision: 3 + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + } + Component { name: "QQuickContentItem"; defaultProperty: "data"; prototype: "QQuickItem" } + Component { + name: "QQuickControl" + defaultProperty: "data" + prototype: "QQuickItem" + exports: [ + "QtQuick.Templates/Control 2.0", + "QtQuick.Templates/Control 2.3", + "QtQuick.Templates/Control 2.5" + ] + exportMetaObjectRevisions: [0, 3, 5] + Property { name: "font"; type: "QFont" } + Property { name: "availableWidth"; type: "double"; isReadonly: true } + Property { name: "availableHeight"; type: "double"; isReadonly: true } + Property { name: "padding"; type: "double" } + Property { name: "topPadding"; type: "double" } + Property { name: "leftPadding"; type: "double" } + Property { name: "rightPadding"; type: "double" } + Property { name: "bottomPadding"; type: "double" } + Property { name: "spacing"; type: "double" } + Property { name: "locale"; type: "QLocale" } + Property { name: "mirrored"; type: "bool"; isReadonly: true } + Property { name: "focusPolicy"; type: "Qt::FocusPolicy" } + Property { name: "focusReason"; type: "Qt::FocusReason" } + Property { name: "visualFocus"; type: "bool"; isReadonly: true } + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "hoverEnabled"; type: "bool" } + Property { name: "wheelEnabled"; type: "bool" } + Property { name: "background"; type: "QQuickItem"; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "baselineOffset"; type: "double" } + Property { name: "palette"; revision: 3; type: "QPalette" } + Property { name: "horizontalPadding"; revision: 5; type: "double" } + Property { name: "verticalPadding"; revision: 5; type: "double" } + Property { name: "implicitContentWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitContentHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "topInset"; revision: 5; type: "double" } + Property { name: "leftInset"; revision: 5; type: "double" } + Property { name: "rightInset"; revision: 5; type: "double" } + Property { name: "bottomInset"; revision: 5; type: "double" } + Signal { name: "paletteChanged"; revision: 3 } + Signal { name: "horizontalPaddingChanged"; revision: 5 } + Signal { name: "verticalPaddingChanged"; revision: 5 } + Signal { name: "implicitContentWidthChanged"; revision: 5 } + Signal { name: "implicitContentHeightChanged"; revision: 5 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } + Signal { name: "topInsetChanged"; revision: 5 } + Signal { name: "leftInsetChanged"; revision: 5 } + Signal { name: "rightInsetChanged"; revision: 5 } + Signal { name: "bottomInsetChanged"; revision: 5 } + } + Component { + name: "QQuickDelayButton" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: ["QtQuick.Templates/DelayButton 2.2"] + exportMetaObjectRevisions: [0] + Property { name: "delay"; type: "int" } + Property { name: "progress"; type: "double" } + Property { name: "transition"; type: "QQuickTransition"; isPointer: true } + Signal { name: "activated" } + } + Component { + name: "QQuickDial" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/Dial 2.0", + "QtQuick.Templates/Dial 2.2", + "QtQuick.Templates/Dial 2.5" + ] + exportMetaObjectRevisions: [0, 2, 5] + Enum { + name: "SnapMode" + values: { + "NoSnap": 0, + "SnapAlways": 1, + "SnapOnRelease": 2 + } + } + Enum { + name: "InputMode" + values: { + "Circular": 0, + "Horizontal": 1, + "Vertical": 2 + } + } + Property { name: "from"; type: "double" } + Property { name: "to"; type: "double" } + Property { name: "value"; type: "double" } + Property { name: "position"; type: "double"; isReadonly: true } + Property { name: "angle"; type: "double"; isReadonly: true } + Property { name: "stepSize"; type: "double" } + Property { name: "snapMode"; type: "SnapMode" } + Property { name: "wrap"; type: "bool" } + Property { name: "pressed"; type: "bool"; isReadonly: true } + Property { name: "handle"; type: "QQuickItem"; isPointer: true } + Property { name: "live"; revision: 2; type: "bool" } + Property { name: "inputMode"; revision: 5; type: "InputMode" } + Signal { name: "moved"; revision: 2 } + Signal { name: "liveChanged"; revision: 2 } + Signal { name: "inputModeChanged"; revision: 5 } + Method { name: "increase" } + Method { name: "decrease" } + } + Component { + name: "QQuickDialog" + defaultProperty: "contentData" + prototype: "QQuickPopup" + exports: [ + "QtQuick.Templates/Dialog 2.1", + "QtQuick.Templates/Dialog 2.3", + "QtQuick.Templates/Dialog 2.5" + ] + exportMetaObjectRevisions: [0, 3, 5] + Enum { + name: "StandardCode" + values: { + "Rejected": 0, + "Accepted": 1 + } + } + Property { name: "title"; type: "string" } + Property { name: "header"; type: "QQuickItem"; isPointer: true } + Property { name: "footer"; type: "QQuickItem"; isPointer: true } + Property { name: "standardButtons"; type: "QPlatformDialogHelper::StandardButtons" } + Property { name: "result"; revision: 3; type: "int" } + Property { name: "implicitHeaderWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitHeaderHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitFooterWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitFooterHeight"; revision: 5; type: "double"; isReadonly: true } + Signal { name: "accepted" } + Signal { name: "rejected" } + Signal { name: "applied"; revision: 3 } + Signal { name: "reset"; revision: 3 } + Signal { name: "discarded"; revision: 3 } + Signal { name: "helpRequested"; revision: 3 } + Signal { name: "resultChanged"; revision: 3 } + Method { name: "accept" } + Method { name: "reject" } + Method { + name: "done" + Parameter { name: "result"; type: "int" } + } + Method { + name: "standardButton" + revision: 3 + type: "QQuickAbstractButton*" + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + } + } + Component { + name: "QQuickDialogButtonBox" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: [ + "QtQuick.Templates/DialogButtonBox 2.1", + "QtQuick.Templates/DialogButtonBox 2.3", + "QtQuick.Templates/DialogButtonBox 2.5" + ] + exportMetaObjectRevisions: [0, 3, 5] + attachedType: "QQuickDialogButtonBoxAttached" + Enum { + name: "Position" + values: { + "Header": 0, + "Footer": 1 + } + } + Property { name: "position"; type: "Position" } + Property { name: "alignment"; type: "Qt::Alignment" } + Property { name: "standardButtons"; type: "QPlatformDialogHelper::StandardButtons" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "buttonLayout"; revision: 5; type: "QPlatformDialogHelper::ButtonLayout" } + Signal { name: "accepted" } + Signal { name: "rejected" } + Signal { name: "helpRequested" } + Signal { + name: "clicked" + Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } + } + Signal { name: "applied"; revision: 3 } + Signal { name: "reset"; revision: 3 } + Signal { name: "discarded"; revision: 3 } + Signal { name: "buttonLayoutChanged"; revision: 5 } + Method { + name: "standardButton" + type: "QQuickAbstractButton*" + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + } + } + Component { + name: "QQuickDialogButtonBoxAttached" + prototype: "QObject" + Property { name: "buttonBox"; type: "QQuickDialogButtonBox"; isReadonly: true; isPointer: true } + Property { name: "buttonRole"; type: "QPlatformDialogHelper::ButtonRole" } + } + Component { + name: "QQuickDrawer" + defaultProperty: "contentData" + prototype: "QQuickPopup" + exports: [ + "QtQuick.Templates/Drawer 2.0", + "QtQuick.Templates/Drawer 2.2" + ] + exportMetaObjectRevisions: [0, 2] + Property { name: "edge"; type: "Qt::Edge" } + Property { name: "position"; type: "double" } + Property { name: "dragMargin"; type: "double" } + Property { name: "interactive"; revision: 2; type: "bool" } + Signal { name: "interactiveChanged"; revision: 2 } + } + Component { + name: "QQuickFrame" + defaultProperty: "contentData" + prototype: "QQuickPane" + exports: ["QtQuick.Templates/Frame 2.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickGroupBox" + defaultProperty: "contentData" + prototype: "QQuickFrame" + exports: [ + "QtQuick.Templates/GroupBox 2.0", + "QtQuick.Templates/GroupBox 2.5" + ] + exportMetaObjectRevisions: [0, 5] + Property { name: "title"; type: "string" } + Property { name: "label"; type: "QQuickItem"; isPointer: true } + Property { name: "implicitLabelWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitLabelHeight"; revision: 5; type: "double"; isReadonly: true } + Signal { name: "implicitLabelWidthChanged"; revision: 5 } + Signal { name: "implicitLabelHeightChanged"; revision: 5 } + } + Component { + name: "QQuickHeaderViewBase" + defaultProperty: "flickableData" + prototype: "QQuickTableView" + Property { name: "textRole"; type: "string" } + } + Component { + name: "QQuickHorizontalHeaderView" + defaultProperty: "flickableData" + prototype: "QQuickHeaderViewBase" + exports: ["QtQuick.Templates/HorizontalHeaderView 2.15"] + exportMetaObjectRevisions: [0] + attachedType: "QQuickTableViewAttached" + } + Component { + name: "QQuickIcon" + Property { name: "name"; type: "string" } + Property { name: "source"; type: "QUrl" } + Property { name: "width"; type: "int" } + Property { name: "height"; type: "int" } + Property { name: "color"; type: "QColor" } + Property { name: "cache"; type: "bool" } + } + Component { + name: "QQuickImplicitSizeItem" + defaultProperty: "data" + prototype: "QQuickItem" + Property { name: "implicitWidth"; type: "double"; isReadonly: true } + Property { name: "implicitHeight"; type: "double"; isReadonly: true } + } + Component { + name: "QQuickItem" + defaultProperty: "data" + prototype: "QObject" + Enum { + name: "Flags" + values: { + "ItemClipsChildrenToShape": 1, + "ItemAcceptsInputMethod": 2, + "ItemIsFocusScope": 4, + "ItemHasContents": 8, + "ItemAcceptsDrops": 16 + } + } + Enum { + name: "TransformOrigin" + values: { + "TopLeft": 0, + "Top": 1, + "TopRight": 2, + "Left": 3, + "Center": 4, + "Right": 5, + "BottomLeft": 6, + "Bottom": 7, + "BottomRight": 8 + } + } + Property { name: "parent"; type: "QQuickItem"; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "z"; type: "double" } + Property { name: "width"; type: "double" } + Property { name: "height"; type: "double" } + Property { name: "opacity"; type: "double" } + Property { name: "enabled"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } + Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } + Property { name: "state"; type: "string" } + Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } + Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } + Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } + Property { name: "baselineOffset"; type: "double" } + Property { name: "clip"; type: "bool" } + Property { name: "focus"; type: "bool" } + Property { name: "activeFocus"; type: "bool"; isReadonly: true } + Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } + Property { name: "rotation"; type: "double" } + Property { name: "scale"; type: "double" } + Property { name: "transformOrigin"; type: "TransformOrigin" } + Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } + Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } + Property { name: "smooth"; type: "bool" } + Property { name: "antialiasing"; type: "bool" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } + Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } + Signal { + name: "childrenRectChanged" + Parameter { type: "QRectF" } + } + Signal { + name: "baselineOffsetChanged" + Parameter { type: "double" } + } + Signal { + name: "stateChanged" + Parameter { type: "string" } + } + Signal { + name: "focusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusOnTabChanged" + revision: 1 + Parameter { type: "bool" } + } + Signal { + name: "parentChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "transformOriginChanged" + Parameter { type: "TransformOrigin" } + } + Signal { + name: "smoothChanged" + Parameter { type: "bool" } + } + Signal { + name: "antialiasingChanged" + Parameter { type: "bool" } + } + Signal { + name: "clipChanged" + Parameter { type: "bool" } + } + Signal { + name: "windowChanged" + revision: 1 + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "containmentMaskChanged"; revision: 11 } + Method { name: "update" } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "targetSize"; type: "QSize" } + } + Method { + name: "grabToImage" + revision: 4 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "contains" + type: "bool" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapFromItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToItem" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapFromGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "mapToGlobal" + revision: 7 + Parameter { type: "QQmlV4Function"; isPointer: true } + } + Method { name: "forceActiveFocus" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { + name: "nextItemInFocusChain" + revision: 1 + type: "QQuickItem*" + Parameter { name: "forward"; type: "bool" } + } + Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } + Method { + name: "childAt" + type: "QQuickItem*" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + name: "QQuickItemDelegate" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: ["QtQuick.Templates/ItemDelegate 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "highlighted"; type: "bool" } + } + Component { + name: "QQuickLabel" + defaultProperty: "data" + prototype: "QQuickText" + exports: [ + "QtQuick.Templates/Label 2.0", + "QtQuick.Templates/Label 2.3", + "QtQuick.Templates/Label 2.5" + ] + exportMetaObjectRevisions: [0, 3, 5] + Property { name: "font"; type: "QFont" } + Property { name: "background"; type: "QQuickItem"; isPointer: true } + Property { name: "palette"; revision: 3; type: "QPalette" } + Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "topInset"; revision: 5; type: "double" } + Property { name: "leftInset"; revision: 5; type: "double" } + Property { name: "rightInset"; revision: 5; type: "double" } + Property { name: "bottomInset"; revision: 5; type: "double" } + Signal { name: "paletteChanged"; revision: 3 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } + Signal { name: "topInsetChanged"; revision: 5 } + Signal { name: "leftInsetChanged"; revision: 5 } + Signal { name: "rightInsetChanged"; revision: 5 } + Signal { name: "bottomInsetChanged"; revision: 5 } + } + Component { + name: "QQuickMenu" + defaultProperty: "contentData" + prototype: "QQuickPopup" + exports: ["QtQuick.Templates/Menu 2.0", "QtQuick.Templates/Menu 2.3"] + exportMetaObjectRevisions: [0, 3] + Property { name: "contentModel"; type: "QVariant"; isReadonly: true } + Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "title"; type: "string" } + Property { name: "count"; revision: 3; type: "int"; isReadonly: true } + Property { name: "cascade"; revision: 3; type: "bool" } + Property { name: "overlap"; revision: 3; type: "double" } + Property { name: "delegate"; revision: 3; type: "QQmlComponent"; isPointer: true } + Property { name: "currentIndex"; revision: 3; type: "int" } + Signal { + name: "titleChanged" + Parameter { name: "title"; type: "string" } + } + Signal { name: "countChanged"; revision: 3 } + Signal { + name: "cascadeChanged" + revision: 3 + Parameter { name: "cascade"; type: "bool" } + } + Signal { name: "overlapChanged"; revision: 3 } + Signal { name: "delegateChanged"; revision: 3 } + Signal { name: "currentIndexChanged"; revision: 3 } + Method { + name: "itemAt" + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "addItem" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "insertItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "moveItem" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + } + Method { + name: "removeItem" + Parameter { name: "item"; type: "QVariant" } + } + Method { + name: "takeItem" + revision: 3 + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "menuAt" + revision: 3 + type: "QQuickMenu*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "addMenu" + revision: 3 + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "insertMenu" + revision: 3 + Parameter { name: "index"; type: "int" } + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "removeMenu" + revision: 3 + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "takeMenu" + revision: 3 + type: "QQuickMenu*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "actionAt" + revision: 3 + type: "QQuickAction*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "addAction" + revision: 3 + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "insertAction" + revision: 3 + Parameter { name: "index"; type: "int" } + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "removeAction" + revision: 3 + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "takeAction" + revision: 3 + type: "QQuickAction*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "popup" + revision: 3 + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { name: "dismiss"; revision: 3 } + } + Component { + name: "QQuickMenuBar" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: ["QtQuick.Templates/MenuBar 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "contentWidth"; type: "double" } + Property { name: "contentHeight"; type: "double" } + Property { name: "menus"; type: "QQuickMenu"; isList: true; isReadonly: true } + Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } + Method { + name: "menuAt" + type: "QQuickMenu*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "addMenu" + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "insertMenu" + Parameter { name: "index"; type: "int" } + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "removeMenu" + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "takeMenu" + type: "QQuickMenu*" + Parameter { name: "index"; type: "int" } + } + } + Component { + name: "QQuickMenuBarItem" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: ["QtQuick.Templates/MenuBarItem 2.3"] + exportMetaObjectRevisions: [0] + Property { name: "menuBar"; type: "QQuickMenuBar"; isReadonly: true; isPointer: true } + Property { name: "menu"; type: "QQuickMenu"; isPointer: true } + Property { name: "highlighted"; type: "bool" } + Signal { name: "triggered" } + } + Component { + name: "QQuickMenuItem" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/MenuItem 2.0", + "QtQuick.Templates/MenuItem 2.3" + ] + exportMetaObjectRevisions: [0, 3] + Property { name: "highlighted"; type: "bool" } + Property { name: "arrow"; revision: 3; type: "QQuickItem"; isPointer: true } + Property { name: "menu"; revision: 3; type: "QQuickMenu"; isReadonly: true; isPointer: true } + Property { name: "subMenu"; revision: 3; type: "QQuickMenu"; isReadonly: true; isPointer: true } + Signal { name: "triggered" } + Signal { name: "arrowChanged"; revision: 3 } + Signal { name: "menuChanged"; revision: 3 } + Signal { name: "subMenuChanged"; revision: 3 } + } + Component { + name: "QQuickMenuSeparator" + defaultProperty: "data" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/MenuSeparator 2.1"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickOverlay" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick.Templates/Overlay 2.3"] + isCreatable: false + exportMetaObjectRevisions: [0] + attachedType: "QQuickOverlayAttached" + Property { name: "modal"; type: "QQmlComponent"; isPointer: true } + Property { name: "modeless"; type: "QQmlComponent"; isPointer: true } + Signal { name: "pressed" } + Signal { name: "released" } + } + Component { + name: "QQuickOverlayAttached" + prototype: "QObject" + Property { name: "overlay"; type: "QQuickOverlay"; isReadonly: true; isPointer: true } + Property { name: "modal"; type: "QQmlComponent"; isPointer: true } + Property { name: "modeless"; type: "QQmlComponent"; isPointer: true } + Signal { name: "pressed" } + Signal { name: "released" } + } + Component { + name: "QQuickPage" + defaultProperty: "contentData" + prototype: "QQuickPane" + exports: [ + "QtQuick.Templates/Page 2.0", + "QtQuick.Templates/Page 2.1", + "QtQuick.Templates/Page 2.5" + ] + exportMetaObjectRevisions: [0, 1, 5] + Property { name: "title"; type: "string" } + Property { name: "header"; type: "QQuickItem"; isPointer: true } + Property { name: "footer"; type: "QQuickItem"; isPointer: true } + Property { name: "contentWidth"; revision: 1; type: "double" } + Property { name: "contentHeight"; revision: 1; type: "double" } + Property { name: "implicitHeaderWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitHeaderHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitFooterWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitFooterHeight"; revision: 5; type: "double"; isReadonly: true } + } + Component { + name: "QQuickPageIndicator" + defaultProperty: "data" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/PageIndicator 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "count"; type: "int" } + Property { name: "currentIndex"; type: "int" } + Property { name: "interactive"; type: "bool" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + } + Component { + name: "QQuickPane" + defaultProperty: "contentData" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/Pane 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "contentWidth"; type: "double" } + Property { name: "contentHeight"; type: "double" } + Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "contentChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + } + Component { + name: "QQuickPopup" + defaultProperty: "contentData" + prototype: "QObject" + exports: [ + "QtQuick.Templates/Popup 2.0", + "QtQuick.Templates/Popup 2.1", + "QtQuick.Templates/Popup 2.3", + "QtQuick.Templates/Popup 2.5" + ] + exportMetaObjectRevisions: [0, 1, 3, 5] + Enum { + name: "ClosePolicy" + values: { + "NoAutoClose": 0, + "CloseOnPressOutside": 1, + "CloseOnPressOutsideParent": 2, + "CloseOnReleaseOutside": 4, + "CloseOnReleaseOutsideParent": 8, + "CloseOnEscape": 16 + } + } + Enum { + name: "TransformOrigin" + values: { + "TopLeft": 0, + "Top": 1, + "TopRight": 2, + "Left": 3, + "Center": 4, + "Right": 5, + "BottomLeft": 6, + "Bottom": 7, + "BottomRight": 8 + } + } + Property { name: "x"; type: "double" } + Property { name: "y"; type: "double" } + Property { name: "z"; type: "double" } + Property { name: "width"; type: "double" } + Property { name: "height"; type: "double" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "contentWidth"; type: "double" } + Property { name: "contentHeight"; type: "double" } + Property { name: "availableWidth"; type: "double"; isReadonly: true } + Property { name: "availableHeight"; type: "double"; isReadonly: true } + Property { name: "margins"; type: "double" } + Property { name: "topMargin"; type: "double" } + Property { name: "leftMargin"; type: "double" } + Property { name: "rightMargin"; type: "double" } + Property { name: "bottomMargin"; type: "double" } + Property { name: "padding"; type: "double" } + Property { name: "topPadding"; type: "double" } + Property { name: "leftPadding"; type: "double" } + Property { name: "rightPadding"; type: "double" } + Property { name: "bottomPadding"; type: "double" } + Property { name: "locale"; type: "QLocale" } + Property { name: "font"; type: "QFont" } + Property { name: "parent"; type: "QQuickItem"; isPointer: true } + Property { name: "background"; type: "QQuickItem"; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } + Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "contentChildren"; type: "QQuickItem"; isList: true; isReadonly: true } + Property { name: "clip"; type: "bool" } + Property { name: "focus"; type: "bool" } + Property { name: "activeFocus"; type: "bool"; isReadonly: true } + Property { name: "modal"; type: "bool" } + Property { name: "dim"; type: "bool" } + Property { name: "visible"; type: "bool" } + Property { name: "opacity"; type: "double" } + Property { name: "scale"; type: "double" } + Property { name: "closePolicy"; type: "ClosePolicy" } + Property { name: "transformOrigin"; type: "TransformOrigin" } + Property { name: "enter"; type: "QQuickTransition"; isPointer: true } + Property { name: "exit"; type: "QQuickTransition"; isPointer: true } + Property { name: "spacing"; revision: 1; type: "double" } + Property { name: "opened"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "mirrored"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "enabled"; revision: 3; type: "bool" } + Property { name: "palette"; revision: 3; type: "QPalette" } + Property { name: "horizontalPadding"; type: "double" } + Property { name: "verticalPadding"; type: "double" } + Property { + name: "anchors" + revision: 5 + type: "QQuickPopupAnchors" + isReadonly: true + isPointer: true + } + Property { name: "implicitContentWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitContentHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "topInset"; revision: 5; type: "double" } + Property { name: "leftInset"; revision: 5; type: "double" } + Property { name: "rightInset"; revision: 5; type: "double" } + Property { name: "bottomInset"; revision: 5; type: "double" } + Signal { name: "opened" } + Signal { name: "closed" } + Signal { name: "aboutToShow" } + Signal { name: "aboutToHide" } + Signal { + name: "windowChanged" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "spacingChanged"; revision: 1 } + Signal { name: "openedChanged"; revision: 3 } + Signal { name: "mirroredChanged"; revision: 3 } + Signal { name: "enabledChanged"; revision: 3 } + Signal { name: "paletteChanged"; revision: 3 } + Signal { name: "horizontalPaddingChanged"; revision: 5 } + Signal { name: "verticalPaddingChanged"; revision: 5 } + Signal { name: "implicitContentWidthChanged"; revision: 5 } + Signal { name: "implicitContentHeightChanged"; revision: 5 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } + Signal { name: "topInsetChanged"; revision: 5 } + Signal { name: "leftInsetChanged"; revision: 5 } + Signal { name: "rightInsetChanged"; revision: 5 } + Signal { name: "bottomInsetChanged"; revision: 5 } + Method { name: "open" } + Method { name: "close" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { name: "forceActiveFocus" } + } + Component { + name: "QQuickPopupAnchors" + prototype: "QObject" + Property { name: "centerIn"; type: "QQuickItem"; isPointer: true } + } + Component { + name: "QQuickProgressBar" + defaultProperty: "data" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/ProgressBar 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "from"; type: "double" } + Property { name: "to"; type: "double" } + Property { name: "value"; type: "double" } + Property { name: "position"; type: "double"; isReadonly: true } + Property { name: "visualPosition"; type: "double"; isReadonly: true } + Property { name: "indeterminate"; type: "bool" } + } + Component { + name: "QQuickRadioButton" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: ["QtQuick.Templates/RadioButton 2.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickRadioDelegate" + defaultProperty: "data" + prototype: "QQuickItemDelegate" + exports: ["QtQuick.Templates/RadioDelegate 2.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickRangeSlider" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/RangeSlider 2.0", + "QtQuick.Templates/RangeSlider 2.1", + "QtQuick.Templates/RangeSlider 2.2", + "QtQuick.Templates/RangeSlider 2.3", + "QtQuick.Templates/RangeSlider 2.5" + ] + exportMetaObjectRevisions: [0, 1, 2, 3, 5] + Enum { + name: "SnapMode" + values: { + "NoSnap": 0, + "SnapAlways": 1, + "SnapOnRelease": 2 + } + } + Property { name: "from"; type: "double" } + Property { name: "to"; type: "double" } + Property { name: "first"; type: "QQuickRangeSliderNode"; isReadonly: true; isPointer: true } + Property { name: "second"; type: "QQuickRangeSliderNode"; isReadonly: true; isPointer: true } + Property { name: "stepSize"; type: "double" } + Property { name: "snapMode"; type: "SnapMode" } + Property { name: "orientation"; type: "Qt::Orientation" } + Property { name: "live"; revision: 2; type: "bool" } + Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "touchDragThreshold"; revision: 5; type: "double" } + Signal { name: "liveChanged"; revision: 2 } + Signal { name: "touchDragThresholdChanged"; revision: 5 } + Method { + name: "setValues" + Parameter { name: "firstValue"; type: "double" } + Parameter { name: "secondValue"; type: "double" } + } + Method { + name: "valueAt" + revision: 5 + type: "double" + Parameter { name: "position"; type: "double" } + } + } + Component { + name: "QQuickRangeSliderNode" + prototype: "QObject" + Property { name: "value"; type: "double" } + Property { name: "position"; type: "double"; isReadonly: true } + Property { name: "visualPosition"; type: "double"; isReadonly: true } + Property { name: "handle"; type: "QQuickItem"; isPointer: true } + Property { name: "pressed"; type: "bool" } + Property { name: "hovered"; revision: 1; type: "bool" } + Property { name: "implicitHandleWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitHandleHeight"; revision: 5; type: "double"; isReadonly: true } + Signal { name: "hoveredChanged"; revision: 1 } + Signal { name: "moved" } + Method { name: "increase" } + Method { name: "decrease" } + } + Component { + name: "QQuickRoundButton" + defaultProperty: "data" + prototype: "QQuickButton" + exports: ["QtQuick.Templates/RoundButton 2.1"] + exportMetaObjectRevisions: [0] + Property { name: "radius"; type: "double" } + } + Component { + name: "QQuickScrollBar" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/ScrollBar 2.0", + "QtQuick.Templates/ScrollBar 2.2", + "QtQuick.Templates/ScrollBar 2.3", + "QtQuick.Templates/ScrollBar 2.4" + ] + exportMetaObjectRevisions: [0, 2, 3, 4] + attachedType: "QQuickScrollBarAttached" + Enum { + name: "SnapMode" + values: { + "NoSnap": 0, + "SnapAlways": 1, + "SnapOnRelease": 2 + } + } + Enum { + name: "Policy" + values: { + "AsNeeded": 0, + "AlwaysOff": 1, + "AlwaysOn": 2 + } + } + Property { name: "size"; type: "double" } + Property { name: "position"; type: "double" } + Property { name: "stepSize"; type: "double" } + Property { name: "active"; type: "bool" } + Property { name: "pressed"; type: "bool" } + Property { name: "orientation"; type: "Qt::Orientation" } + Property { name: "snapMode"; revision: 2; type: "SnapMode" } + Property { name: "interactive"; revision: 2; type: "bool" } + Property { name: "policy"; revision: 2; type: "Policy" } + Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "minimumSize"; revision: 4; type: "double" } + Property { name: "visualSize"; revision: 4; type: "double"; isReadonly: true } + Property { name: "visualPosition"; revision: 4; type: "double"; isReadonly: true } + Signal { name: "snapModeChanged"; revision: 2 } + Signal { name: "interactiveChanged"; revision: 2 } + Signal { name: "policyChanged"; revision: 2 } + Signal { name: "minimumSizeChanged"; revision: 4 } + Signal { name: "visualSizeChanged"; revision: 4 } + Signal { name: "visualPositionChanged"; revision: 4 } + Method { name: "increase" } + Method { name: "decrease" } + Method { + name: "setSize" + Parameter { name: "size"; type: "double" } + } + Method { + name: "setPosition" + Parameter { name: "position"; type: "double" } + } + } + Component { + name: "QQuickScrollBarAttached" + prototype: "QObject" + Property { name: "horizontal"; type: "QQuickScrollBar"; isPointer: true } + Property { name: "vertical"; type: "QQuickScrollBar"; isPointer: true } + } + Component { + name: "QQuickScrollIndicator" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/ScrollIndicator 2.0", + "QtQuick.Templates/ScrollIndicator 2.3", + "QtQuick.Templates/ScrollIndicator 2.4" + ] + exportMetaObjectRevisions: [0, 3, 4] + attachedType: "QQuickScrollIndicatorAttached" + Property { name: "size"; type: "double" } + Property { name: "position"; type: "double" } + Property { name: "active"; type: "bool" } + Property { name: "orientation"; type: "Qt::Orientation" } + Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "minimumSize"; revision: 4; type: "double" } + Property { name: "visualSize"; revision: 4; type: "double"; isReadonly: true } + Property { name: "visualPosition"; revision: 4; type: "double"; isReadonly: true } + Signal { name: "minimumSizeChanged"; revision: 4 } + Signal { name: "visualSizeChanged"; revision: 4 } + Signal { name: "visualPositionChanged"; revision: 4 } + Method { + name: "setSize" + Parameter { name: "size"; type: "double" } + } + Method { + name: "setPosition" + Parameter { name: "position"; type: "double" } + } + } + Component { + name: "QQuickScrollIndicatorAttached" + prototype: "QObject" + Property { name: "horizontal"; type: "QQuickScrollIndicator"; isPointer: true } + Property { name: "vertical"; type: "QQuickScrollIndicator"; isPointer: true } + } + Component { + name: "QQuickScrollView" + defaultProperty: "contentData" + prototype: "QQuickPane" + exports: ["QtQuick.Templates/ScrollView 2.2"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickSlider" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/Slider 2.0", + "QtQuick.Templates/Slider 2.1", + "QtQuick.Templates/Slider 2.2", + "QtQuick.Templates/Slider 2.3", + "QtQuick.Templates/Slider 2.5" + ] + exportMetaObjectRevisions: [0, 1, 2, 3, 5] + Enum { + name: "SnapMode" + values: { + "NoSnap": 0, + "SnapAlways": 1, + "SnapOnRelease": 2 + } + } + Property { name: "from"; type: "double" } + Property { name: "to"; type: "double" } + Property { name: "value"; type: "double" } + Property { name: "position"; type: "double"; isReadonly: true } + Property { name: "visualPosition"; type: "double"; isReadonly: true } + Property { name: "stepSize"; type: "double" } + Property { name: "snapMode"; type: "SnapMode" } + Property { name: "pressed"; type: "bool" } + Property { name: "orientation"; type: "Qt::Orientation" } + Property { name: "handle"; type: "QQuickItem"; isPointer: true } + Property { name: "live"; revision: 2; type: "bool" } + Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "touchDragThreshold"; revision: 5; type: "double" } + Property { name: "implicitHandleWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitHandleHeight"; revision: 5; type: "double"; isReadonly: true } + Signal { name: "moved"; revision: 2 } + Signal { name: "liveChanged"; revision: 2 } + Signal { name: "touchDragThresholdChanged"; revision: 5 } + Signal { name: "implicitHandleWidthChanged"; revision: 5 } + Signal { name: "implicitHandleHeightChanged"; revision: 5 } + Method { name: "increase" } + Method { name: "decrease" } + Method { + name: "valueAt" + revision: 1 + type: "double" + Parameter { name: "position"; type: "double" } + } + } + Component { + name: "QQuickSpinBox" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/SpinBox 2.0", + "QtQuick.Templates/SpinBox 2.1", + "QtQuick.Templates/SpinBox 2.2", + "QtQuick.Templates/SpinBox 2.3", + "QtQuick.Templates/SpinBox 2.4", + "QtQuick.Templates/SpinBox 2.5" + ] + exportMetaObjectRevisions: [0, 1, 2, 3, 4, 5] + Property { name: "from"; type: "int" } + Property { name: "to"; type: "int" } + Property { name: "value"; type: "int" } + Property { name: "stepSize"; type: "int" } + Property { name: "editable"; type: "bool" } + Property { name: "validator"; type: "QValidator"; isPointer: true } + Property { name: "textFromValue"; type: "QJSValue" } + Property { name: "valueFromText"; type: "QJSValue" } + Property { name: "up"; type: "QQuickSpinButton"; isReadonly: true; isPointer: true } + Property { name: "down"; type: "QQuickSpinButton"; isReadonly: true; isPointer: true } + Property { name: "inputMethodHints"; revision: 2; type: "Qt::InputMethodHints" } + Property { name: "inputMethodComposing"; revision: 2; type: "bool"; isReadonly: true } + Property { name: "wrap"; revision: 3; type: "bool" } + Property { name: "displayText"; revision: 4; type: "string"; isReadonly: true } + Signal { name: "valueModified"; revision: 2 } + Signal { name: "inputMethodHintsChanged"; revision: 2 } + Signal { name: "inputMethodComposingChanged"; revision: 2 } + Signal { name: "wrapChanged"; revision: 3 } + Signal { name: "displayTextChanged"; revision: 4 } + Method { name: "increase" } + Method { name: "decrease" } + } + Component { + name: "QQuickSpinButton" + prototype: "QObject" + Property { name: "pressed"; type: "bool" } + Property { name: "indicator"; type: "QQuickItem"; isPointer: true } + Property { name: "hovered"; revision: 1; type: "bool" } + Property { name: "implicitIndicatorWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitIndicatorHeight"; revision: 5; type: "double"; isReadonly: true } + Signal { name: "hoveredChanged"; revision: 1 } + Signal { name: "implicitIndicatorWidthChanged"; revision: 5 } + Signal { name: "implicitIndicatorHeightChanged"; revision: 5 } + } + Component { + name: "QQuickSplitHandleAttached" + prototype: "QObject" + exports: ["QtQuick.Templates/SplitHandle 2.13"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "hovered"; type: "bool"; isReadonly: true } + Property { name: "pressed"; type: "bool"; isReadonly: true } + } + Component { + name: "QQuickSplitView" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: ["QtQuick.Templates/SplitView 2.13"] + exportMetaObjectRevisions: [0] + attachedType: "QQuickSplitViewAttached" + Property { name: "orientation"; type: "Qt::Orientation" } + Property { name: "resizing"; type: "bool"; isReadonly: true } + Property { name: "handle"; type: "QQmlComponent"; isPointer: true } + Method { name: "saveState"; type: "QVariant" } + Method { + name: "restoreState" + type: "bool" + Parameter { name: "state"; type: "QVariant" } + } + } + Component { + name: "QQuickSplitViewAttached" + prototype: "QObject" + Property { name: "view"; type: "QQuickSplitView"; isReadonly: true; isPointer: true } + Property { name: "minimumWidth"; type: "double" } + Property { name: "minimumHeight"; type: "double" } + Property { name: "preferredWidth"; type: "double" } + Property { name: "preferredHeight"; type: "double" } + Property { name: "maximumWidth"; type: "double" } + Property { name: "maximumHeight"; type: "double" } + Property { name: "fillHeight"; type: "bool" } + Property { name: "fillWidth"; type: "bool" } + } + Component { + name: "QQuickStackView" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/StackView 2.0", + "QtQuick.Templates/StackView 2.1" + ] + exportMetaObjectRevisions: [0, 1] + attachedType: "QQuickStackViewAttached" + Enum { + name: "Status" + values: { + "Inactive": 0, + "Deactivating": 1, + "Activating": 2, + "Active": 3 + } + } + Enum { + name: "LoadBehavior" + values: { + "DontLoad": 0, + "ForceLoad": 1 + } + } + Enum { + name: "Operation" + values: { + "Transition": -1, + "Immediate": 0, + "PushTransition": 1, + "ReplaceTransition": 2, + "PopTransition": 3 + } + } + Property { name: "busy"; type: "bool"; isReadonly: true } + Property { name: "depth"; type: "int"; isReadonly: true } + Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "initialItem"; type: "QJSValue" } + Property { name: "popEnter"; type: "QQuickTransition"; isPointer: true } + Property { name: "popExit"; type: "QQuickTransition"; isPointer: true } + Property { name: "pushEnter"; type: "QQuickTransition"; isPointer: true } + Property { name: "pushExit"; type: "QQuickTransition"; isPointer: true } + Property { name: "replaceEnter"; type: "QQuickTransition"; isPointer: true } + Property { name: "replaceExit"; type: "QQuickTransition"; isPointer: true } + Property { name: "empty"; revision: 3; type: "bool"; isReadonly: true } + Signal { name: "emptyChanged"; revision: 3 } + Method { + name: "clear" + Parameter { name: "operation"; type: "Operation" } + } + Method { name: "clear" } + Method { + name: "get" + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + Parameter { name: "behavior"; type: "LoadBehavior" } + } + Method { + name: "get" + type: "QQuickItem*" + Parameter { name: "index"; type: "int" } + } + Method { + name: "find" + type: "QQuickItem*" + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "behavior"; type: "LoadBehavior" } + } + Method { + name: "find" + type: "QQuickItem*" + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "push" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "pop" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "replace" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + } + Component { + name: "QQuickStackViewAttached" + prototype: "QObject" + Property { name: "index"; type: "int"; isReadonly: true } + Property { name: "view"; type: "QQuickStackView"; isReadonly: true; isPointer: true } + Property { name: "status"; type: "QQuickStackView::Status"; isReadonly: true } + Property { name: "visible"; type: "bool" } + Signal { name: "activated" } + Signal { name: "activating" } + Signal { name: "deactivated" } + Signal { name: "deactivating" } + Signal { name: "removed" } + } + Component { + name: "QQuickSwipe" + prototype: "QObject" + Property { name: "position"; type: "double" } + Property { name: "complete"; type: "bool"; isReadonly: true } + Property { name: "left"; type: "QQmlComponent"; isPointer: true } + Property { name: "behind"; type: "QQmlComponent"; isPointer: true } + Property { name: "right"; type: "QQmlComponent"; isPointer: true } + Property { name: "leftItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "behindItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "rightItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "enabled"; type: "bool" } + Property { name: "transition"; type: "QQuickTransition"; isPointer: true } + Signal { name: "completed" } + Signal { name: "opened" } + Signal { name: "closed" } + Method { name: "close"; revision: 1 } + Method { + name: "open" + revision: 2 + Parameter { name: "side"; type: "QQuickSwipeDelegate::Side" } + } + } + Component { + name: "QQuickSwipeDelegate" + defaultProperty: "data" + prototype: "QQuickItemDelegate" + exports: [ + "QtQuick.Templates/SwipeDelegate 2.0", + "QtQuick.Templates/SwipeDelegate 2.1", + "QtQuick.Templates/SwipeDelegate 2.2" + ] + exportMetaObjectRevisions: [0, 1, 2] + attachedType: "QQuickSwipeDelegateAttached" + Enum { + name: "Side" + values: { + "Left": 1, + "Right": -1 + } + } + Property { name: "swipe"; type: "QQuickSwipe"; isReadonly: true; isPointer: true } + } + Component { + name: "QQuickSwipeDelegateAttached" + prototype: "QObject" + Property { name: "pressed"; type: "bool"; isReadonly: true } + Signal { name: "clicked" } + } + Component { + name: "QQuickSwipeView" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: [ + "QtQuick.Templates/SwipeView 2.0", + "QtQuick.Templates/SwipeView 2.1", + "QtQuick.Templates/SwipeView 2.2" + ] + exportMetaObjectRevisions: [0, 1, 2] + attachedType: "QQuickSwipeViewAttached" + Property { name: "interactive"; revision: 1; type: "bool" } + Property { name: "orientation"; revision: 2; type: "Qt::Orientation" } + Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } + Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } + Signal { name: "interactiveChanged"; revision: 1 } + Signal { name: "orientationChanged"; revision: 2 } + } + Component { + name: "QQuickSwipeViewAttached" + prototype: "QObject" + Property { name: "index"; type: "int"; isReadonly: true } + Property { name: "isCurrentItem"; type: "bool"; isReadonly: true } + Property { name: "view"; type: "QQuickSwipeView"; isReadonly: true; isPointer: true } + Property { name: "isNextItem"; revision: 1; type: "bool"; isReadonly: true } + Property { name: "isPreviousItem"; revision: 1; type: "bool"; isReadonly: true } + } + Component { + name: "QQuickSwitch" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: ["QtQuick.Templates/Switch 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "position"; type: "double" } + Property { name: "visualPosition"; type: "double"; isReadonly: true } + } + Component { + name: "QQuickSwitchDelegate" + defaultProperty: "data" + prototype: "QQuickItemDelegate" + exports: ["QtQuick.Templates/SwitchDelegate 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "position"; type: "double" } + Property { name: "visualPosition"; type: "double"; isReadonly: true } + } + Component { + name: "QQuickTabBar" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: [ + "QtQuick.Templates/TabBar 2.0", + "QtQuick.Templates/TabBar 2.2" + ] + exportMetaObjectRevisions: [0, 2] + attachedType: "QQuickTabBarAttached" + Enum { + name: "Position" + values: { + "Header": 0, + "Footer": 1 + } + } + Property { name: "position"; type: "Position" } + Property { name: "contentWidth"; revision: 2; type: "double" } + Property { name: "contentHeight"; revision: 2; type: "double" } + } + Component { + name: "QQuickTabBarAttached" + prototype: "QObject" + Property { name: "index"; type: "int"; isReadonly: true } + Property { name: "tabBar"; type: "QQuickTabBar"; isReadonly: true; isPointer: true } + Property { name: "position"; type: "QQuickTabBar::Position"; isReadonly: true } + } + Component { + name: "QQuickTabButton" + defaultProperty: "data" + prototype: "QQuickAbstractButton" + exports: ["QtQuick.Templates/TabButton 2.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickTableView" + defaultProperty: "flickableData" + prototype: "QQuickFlickable" + exports: ["QtQuick.Templates/__TableView__ 2.15"] + exportMetaObjectRevisions: [15] + attachedType: "QQuickTableViewAttached" + Property { name: "rows"; type: "int"; isReadonly: true } + Property { name: "columns"; type: "int"; isReadonly: true } + Property { name: "rowSpacing"; type: "double" } + Property { name: "columnSpacing"; type: "double" } + Property { name: "rowHeightProvider"; type: "QJSValue" } + Property { name: "columnWidthProvider"; type: "QJSValue" } + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "reuseItems"; type: "bool" } + Property { name: "contentWidth"; type: "double" } + Property { name: "contentHeight"; type: "double" } + Property { name: "syncView"; revision: 14; type: "QQuickTableView"; isPointer: true } + Property { name: "syncDirection"; revision: 14; type: "Qt::Orientations" } + Signal { name: "syncViewChanged"; revision: 14 } + Signal { name: "syncDirectionChanged"; revision: 14 } + Method { name: "forceLayout" } + } + Component { + name: "QQuickTableViewAttached" + prototype: "QObject" + Property { name: "view"; type: "QQuickTableView"; isReadonly: true; isPointer: true } + Signal { name: "pooled" } + Signal { name: "reused" } + } + Component { + name: "QQuickText" + defaultProperty: "data" + prototype: "QQuickImplicitSizeItem" + Enum { + name: "HAlignment" + values: { + "AlignLeft": 1, + "AlignRight": 2, + "AlignHCenter": 4, + "AlignJustify": 8 + } + } + Enum { + name: "VAlignment" + values: { + "AlignTop": 32, + "AlignBottom": 64, + "AlignVCenter": 128 + } + } + Enum { + name: "TextStyle" + values: { + "Normal": 0, + "Outline": 1, + "Raised": 2, + "Sunken": 3 + } + } + Enum { + name: "TextFormat" + values: { + "PlainText": 0, + "RichText": 1, + "MarkdownText": 3, + "AutoText": 2, + "StyledText": 4 + } + } + Enum { + name: "TextElideMode" + values: { + "ElideLeft": 0, + "ElideRight": 1, + "ElideMiddle": 2, + "ElideNone": 3 + } + } + Enum { + name: "WrapMode" + values: { + "NoWrap": 0, + "WordWrap": 1, + "WrapAnywhere": 3, + "WrapAtWordBoundaryOrAnywhere": 4, + "Wrap": 4 + } + } + Enum { + name: "RenderType" + values: { + "QtRendering": 0, + "NativeRendering": 1 + } + } + Enum { + name: "LineHeightMode" + values: { + "ProportionalHeight": 0, + "FixedHeight": 1 + } + } + Enum { + name: "FontSizeMode" + values: { + "FixedSize": 0, + "HorizontalFit": 1, + "VerticalFit": 2, + "Fit": 3 + } + } + Property { name: "text"; type: "string" } + Property { name: "font"; type: "QFont" } + Property { name: "color"; type: "QColor" } + Property { name: "linkColor"; type: "QColor" } + Property { name: "style"; type: "TextStyle" } + Property { name: "styleColor"; type: "QColor" } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "wrapMode"; type: "WrapMode" } + Property { name: "lineCount"; type: "int"; isReadonly: true } + Property { name: "truncated"; type: "bool"; isReadonly: true } + Property { name: "maximumLineCount"; type: "int" } + Property { name: "textFormat"; type: "TextFormat" } + Property { name: "elide"; type: "TextElideMode" } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "paintedWidth"; type: "double"; isReadonly: true } + Property { name: "paintedHeight"; type: "double"; isReadonly: true } + Property { name: "lineHeight"; type: "double" } + Property { name: "lineHeightMode"; type: "LineHeightMode" } + Property { name: "baseUrl"; type: "QUrl" } + Property { name: "minimumPixelSize"; type: "int" } + Property { name: "minimumPointSize"; type: "int" } + Property { name: "fontSizeMode"; type: "FontSizeMode" } + Property { name: "renderType"; type: "RenderType" } + Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } + Property { name: "padding"; revision: 6; type: "double" } + Property { name: "topPadding"; revision: 6; type: "double" } + Property { name: "leftPadding"; revision: 6; type: "double" } + Property { name: "rightPadding"; revision: 6; type: "double" } + Property { name: "bottomPadding"; revision: 6; type: "double" } + Property { name: "fontInfo"; revision: 9; type: "QJSValue"; isReadonly: true } + Property { name: "advance"; revision: 10; type: "QSizeF"; isReadonly: true } + Signal { + name: "textChanged" + Parameter { name: "text"; type: "string" } + } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "linkHovered" + revision: 2 + Parameter { name: "link"; type: "string" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "styleChanged" + Parameter { name: "style"; type: "QQuickText::TextStyle" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::VAlignment" } + } + Signal { + name: "textFormatChanged" + Parameter { name: "textFormat"; type: "QQuickText::TextFormat" } + } + Signal { + name: "elideModeChanged" + Parameter { name: "mode"; type: "QQuickText::TextElideMode" } + } + Signal { name: "contentSizeChanged" } + Signal { + name: "contentWidthChanged" + Parameter { name: "contentWidth"; type: "double" } + } + Signal { + name: "contentHeightChanged" + Parameter { name: "contentHeight"; type: "double" } + } + Signal { + name: "lineHeightChanged" + Parameter { name: "lineHeight"; type: "double" } + } + Signal { + name: "lineHeightModeChanged" + Parameter { name: "mode"; type: "LineHeightMode" } + } + Signal { + name: "lineLaidOut" + Parameter { name: "line"; type: "QQuickTextLine"; isPointer: true } + } + Signal { name: "paddingChanged"; revision: 6 } + Signal { name: "topPaddingChanged"; revision: 6 } + Signal { name: "leftPaddingChanged"; revision: 6 } + Signal { name: "rightPaddingChanged"; revision: 6 } + Signal { name: "bottomPaddingChanged"; revision: 6 } + Signal { name: "fontInfoChanged"; revision: 9 } + Method { name: "doLayout" } + Method { name: "forceLayout"; revision: 9 } + Method { + name: "linkAt" + revision: 3 + type: "string" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + name: "QQuickTextArea" + defaultProperty: "data" + prototype: "QQuickTextEdit" + exports: [ + "QtQuick.Templates/TextArea 2.0", + "QtQuick.Templates/TextArea 2.1", + "QtQuick.Templates/TextArea 2.3", + "QtQuick.Templates/TextArea 2.5" + ] + exportMetaObjectRevisions: [0, 1, 3, 5] + attachedType: "QQuickTextAreaAttached" + Property { name: "font"; type: "QFont" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "background"; type: "QQuickItem"; isPointer: true } + Property { name: "placeholderText"; type: "string" } + Property { name: "focusReason"; type: "Qt::FocusReason" } + Property { name: "hovered"; revision: 1; type: "bool"; isReadonly: true } + Property { name: "hoverEnabled"; revision: 1; type: "bool" } + Property { name: "palette"; revision: 3; type: "QPalette" } + Property { name: "placeholderTextColor"; revision: 5; type: "QColor" } + Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "topInset"; revision: 5; type: "double" } + Property { name: "leftInset"; revision: 5; type: "double" } + Property { name: "rightInset"; revision: 5; type: "double" } + Property { name: "bottomInset"; revision: 5; type: "double" } + Signal { name: "implicitWidthChanged3" } + Signal { name: "implicitHeightChanged3" } + Signal { + name: "pressAndHold" + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "pressed" + revision: 1 + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "released" + revision: 1 + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { name: "hoveredChanged"; revision: 1 } + Signal { name: "hoverEnabledChanged"; revision: 1 } + Signal { name: "paletteChanged"; revision: 3 } + Signal { name: "placeholderTextColorChanged"; revision: 5 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } + Signal { name: "topInsetChanged"; revision: 5 } + Signal { name: "leftInsetChanged"; revision: 5 } + Signal { name: "rightInsetChanged"; revision: 5 } + Signal { name: "bottomInsetChanged"; revision: 5 } + } + Component { + name: "QQuickTextAreaAttached" + prototype: "QObject" + Property { name: "flickable"; type: "QQuickTextArea"; isPointer: true } + } + Component { + name: "QQuickTextEdit" + defaultProperty: "data" + prototype: "QQuickImplicitSizeItem" + Enum { + name: "HAlignment" + values: { + "AlignLeft": 1, + "AlignRight": 2, + "AlignHCenter": 4, + "AlignJustify": 8 + } + } + Enum { + name: "VAlignment" + values: { + "AlignTop": 32, + "AlignBottom": 64, + "AlignVCenter": 128 + } + } + Enum { + name: "TextFormat" + values: { + "PlainText": 0, + "RichText": 1, + "AutoText": 2, + "MarkdownText": 3 + } + } + Enum { + name: "WrapMode" + values: { + "NoWrap": 0, + "WordWrap": 1, + "WrapAnywhere": 3, + "WrapAtWordBoundaryOrAnywhere": 4, + "Wrap": 4 + } + } + Enum { + name: "SelectionMode" + values: { + "SelectCharacters": 0, + "SelectWords": 1 + } + } + Enum { + name: "RenderType" + values: { + "QtRendering": 0, + "NativeRendering": 1 + } + } + Property { name: "text"; type: "string" } + Property { name: "color"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "selectedTextColor"; type: "QColor" } + Property { name: "font"; type: "QFont" } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "wrapMode"; type: "WrapMode" } + Property { name: "lineCount"; type: "int"; isReadonly: true } + Property { name: "length"; type: "int"; isReadonly: true } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "paintedWidth"; type: "double"; isReadonly: true } + Property { name: "paintedHeight"; type: "double"; isReadonly: true } + Property { name: "textFormat"; type: "TextFormat" } + Property { name: "readOnly"; type: "bool" } + Property { name: "cursorVisible"; type: "bool" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "cursorDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "overwriteMode"; type: "bool" } + Property { name: "selectionStart"; type: "int"; isReadonly: true } + Property { name: "selectionEnd"; type: "int"; isReadonly: true } + Property { name: "selectedText"; type: "string"; isReadonly: true } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "persistentSelection"; type: "bool" } + Property { name: "textMargin"; type: "double" } + Property { name: "inputMethodHints"; type: "Qt::InputMethodHints" } + Property { name: "selectByKeyboard"; revision: 1; type: "bool" } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "mouseSelectionMode"; type: "SelectionMode" } + Property { name: "canPaste"; type: "bool"; isReadonly: true } + Property { name: "canUndo"; type: "bool"; isReadonly: true } + Property { name: "canRedo"; type: "bool"; isReadonly: true } + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "baseUrl"; type: "QUrl" } + Property { name: "renderType"; type: "RenderType" } + Property { + name: "textDocument" + revision: 1 + type: "QQuickTextDocument" + isReadonly: true + isPointer: true + } + Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } + Property { name: "padding"; revision: 6; type: "double" } + Property { name: "topPadding"; revision: 6; type: "double" } + Property { name: "leftPadding"; revision: 6; type: "double" } + Property { name: "rightPadding"; revision: 6; type: "double" } + Property { name: "bottomPadding"; revision: 6; type: "double" } + Property { name: "preeditText"; revision: 7; type: "string"; isReadonly: true } + Property { name: "tabStopDistance"; revision: 10; type: "double" } + Signal { name: "preeditTextChanged"; revision: 7 } + Signal { name: "contentSizeChanged" } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "selectionColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "selectedTextColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextEdit::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextEdit::VAlignment" } + } + Signal { + name: "textFormatChanged" + Parameter { name: "textFormat"; type: "QQuickTextEdit::TextFormat" } + } + Signal { + name: "readOnlyChanged" + Parameter { name: "isReadOnly"; type: "bool" } + } + Signal { + name: "cursorVisibleChanged" + Parameter { name: "isCursorVisible"; type: "bool" } + } + Signal { + name: "overwriteModeChanged" + Parameter { name: "overwriteMode"; type: "bool" } + } + Signal { + name: "activeFocusOnPressChanged" + Parameter { name: "activeFocusOnPressed"; type: "bool" } + } + Signal { + name: "persistentSelectionChanged" + Parameter { name: "isPersistentSelection"; type: "bool" } + } + Signal { + name: "textMarginChanged" + Parameter { name: "textMargin"; type: "double" } + } + Signal { + name: "selectByKeyboardChanged" + revision: 1 + Parameter { name: "selectByKeyboard"; type: "bool" } + } + Signal { + name: "selectByMouseChanged" + Parameter { name: "selectByMouse"; type: "bool" } + } + Signal { + name: "mouseSelectionModeChanged" + Parameter { name: "mode"; type: "QQuickTextEdit::SelectionMode" } + } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "string" } + } + Signal { + name: "linkHovered" + revision: 2 + Parameter { name: "link"; type: "string" } + } + Signal { name: "editingFinished"; revision: 6 } + Signal { name: "paddingChanged"; revision: 6 } + Signal { name: "topPaddingChanged"; revision: 6 } + Signal { name: "leftPaddingChanged"; revision: 6 } + Signal { name: "rightPaddingChanged"; revision: 6 } + Signal { name: "bottomPaddingChanged"; revision: 6 } + Signal { + name: "tabStopDistanceChanged" + revision: 10 + Parameter { name: "distance"; type: "double" } + } + Method { name: "selectAll" } + Method { name: "selectWord" } + Method { + name: "select" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "deselect" } + Method { + name: "isRightToLeft" + type: "bool" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "cut" } + Method { name: "copy" } + Method { name: "paste" } + Method { name: "undo" } + Method { name: "redo" } + Method { + name: "insert" + Parameter { name: "position"; type: "int" } + Parameter { name: "text"; type: "string" } + } + Method { + name: "remove" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "append" + revision: 2 + Parameter { name: "text"; type: "string" } + } + Method { name: "clear"; revision: 7 } + Method { + name: "inputMethodQuery" + revision: 4 + type: "QVariant" + Parameter { name: "query"; type: "Qt::InputMethodQuery" } + Parameter { name: "argument"; type: "QVariant" } + } + Method { + name: "positionToRectangle" + type: "QRectF" + Parameter { type: "int" } + } + Method { + name: "positionAt" + type: "int" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + Parameter { name: "mode"; type: "SelectionMode" } + } + Method { + name: "getText" + type: "string" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "getFormattedText" + type: "string" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "linkAt" + revision: 3 + type: "string" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + name: "QQuickTextField" + defaultProperty: "data" + prototype: "QQuickTextInput" + exports: [ + "QtQuick.Templates/TextField 2.0", + "QtQuick.Templates/TextField 2.1", + "QtQuick.Templates/TextField 2.3", + "QtQuick.Templates/TextField 2.5" + ] + exportMetaObjectRevisions: [0, 1, 3, 5] + Property { name: "font"; type: "QFont" } + Property { name: "implicitWidth"; type: "double" } + Property { name: "implicitHeight"; type: "double" } + Property { name: "background"; type: "QQuickItem"; isPointer: true } + Property { name: "placeholderText"; type: "string" } + Property { name: "focusReason"; type: "Qt::FocusReason" } + Property { name: "hovered"; revision: 1; type: "bool"; isReadonly: true } + Property { name: "hoverEnabled"; revision: 1; type: "bool" } + Property { name: "palette"; revision: 3; type: "QPalette" } + Property { name: "placeholderTextColor"; revision: 5; type: "QColor" } + Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } + Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } + Property { name: "topInset"; revision: 5; type: "double" } + Property { name: "leftInset"; revision: 5; type: "double" } + Property { name: "rightInset"; revision: 5; type: "double" } + Property { name: "bottomInset"; revision: 5; type: "double" } + Signal { name: "implicitWidthChanged3" } + Signal { name: "implicitHeightChanged3" } + Signal { + name: "pressAndHold" + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "pressed" + revision: 1 + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "released" + revision: 1 + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { name: "hoveredChanged"; revision: 1 } + Signal { name: "hoverEnabledChanged"; revision: 1 } + Signal { name: "paletteChanged"; revision: 3 } + Signal { name: "placeholderTextColorChanged"; revision: 5 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } + Signal { name: "topInsetChanged"; revision: 5 } + Signal { name: "leftInsetChanged"; revision: 5 } + Signal { name: "rightInsetChanged"; revision: 5 } + Signal { name: "bottomInsetChanged"; revision: 5 } + } + Component { + name: "QQuickTextInput" + defaultProperty: "data" + prototype: "QQuickImplicitSizeItem" + Enum { + name: "EchoMode" + values: { + "Normal": 0, + "NoEcho": 1, + "Password": 2, + "PasswordEchoOnEdit": 3 + } + } + Enum { + name: "HAlignment" + values: { + "AlignLeft": 1, + "AlignRight": 2, + "AlignHCenter": 4 + } + } + Enum { + name: "VAlignment" + values: { + "AlignTop": 32, + "AlignBottom": 64, + "AlignVCenter": 128 + } + } + Enum { + name: "WrapMode" + values: { + "NoWrap": 0, + "WordWrap": 1, + "WrapAnywhere": 3, + "WrapAtWordBoundaryOrAnywhere": 4, + "Wrap": 4 + } + } + Enum { + name: "SelectionMode" + values: { + "SelectCharacters": 0, + "SelectWords": 1 + } + } + Enum { + name: "CursorPosition" + values: { + "CursorBetweenCharacters": 0, + "CursorOnCharacter": 1 + } + } + Enum { + name: "RenderType" + values: { + "QtRendering": 0, + "NativeRendering": 1 + } + } + Property { name: "text"; type: "string" } + Property { name: "length"; type: "int"; isReadonly: true } + Property { name: "color"; type: "QColor" } + Property { name: "selectionColor"; type: "QColor" } + Property { name: "selectedTextColor"; type: "QColor" } + Property { name: "font"; type: "QFont" } + Property { name: "horizontalAlignment"; type: "HAlignment" } + Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } + Property { name: "verticalAlignment"; type: "VAlignment" } + Property { name: "wrapMode"; type: "WrapMode" } + Property { name: "readOnly"; type: "bool" } + Property { name: "cursorVisible"; type: "bool" } + Property { name: "cursorPosition"; type: "int" } + Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } + Property { name: "cursorDelegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "overwriteMode"; type: "bool" } + Property { name: "selectionStart"; type: "int"; isReadonly: true } + Property { name: "selectionEnd"; type: "int"; isReadonly: true } + Property { name: "selectedText"; type: "string"; isReadonly: true } + Property { name: "maximumLength"; type: "int" } + Property { name: "validator"; type: "QValidator"; isPointer: true } + Property { name: "inputMask"; type: "string" } + Property { name: "inputMethodHints"; type: "Qt::InputMethodHints" } + Property { name: "acceptableInput"; type: "bool"; isReadonly: true } + Property { name: "echoMode"; type: "EchoMode" } + Property { name: "activeFocusOnPress"; type: "bool" } + Property { name: "passwordCharacter"; type: "string" } + Property { name: "passwordMaskDelay"; revision: 4; type: "int" } + Property { name: "displayText"; type: "string"; isReadonly: true } + Property { name: "preeditText"; revision: 7; type: "string"; isReadonly: true } + Property { name: "autoScroll"; type: "bool" } + Property { name: "selectByMouse"; type: "bool" } + Property { name: "mouseSelectionMode"; type: "SelectionMode" } + Property { name: "persistentSelection"; type: "bool" } + Property { name: "canPaste"; type: "bool"; isReadonly: true } + Property { name: "canUndo"; type: "bool"; isReadonly: true } + Property { name: "canRedo"; type: "bool"; isReadonly: true } + Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } + Property { name: "contentWidth"; type: "double"; isReadonly: true } + Property { name: "contentHeight"; type: "double"; isReadonly: true } + Property { name: "renderType"; type: "RenderType" } + Property { name: "padding"; revision: 6; type: "double" } + Property { name: "topPadding"; revision: 6; type: "double" } + Property { name: "leftPadding"; revision: 6; type: "double" } + Property { name: "rightPadding"; revision: 6; type: "double" } + Property { name: "bottomPadding"; revision: 6; type: "double" } + Signal { name: "accepted" } + Signal { name: "editingFinished"; revision: 2 } + Signal { name: "textEdited"; revision: 9 } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextInput::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextInput::VAlignment" } + } + Signal { + name: "readOnlyChanged" + Parameter { name: "isReadOnly"; type: "bool" } + } + Signal { + name: "cursorVisibleChanged" + Parameter { name: "isCursorVisible"; type: "bool" } + } + Signal { + name: "overwriteModeChanged" + Parameter { name: "overwriteMode"; type: "bool" } + } + Signal { + name: "maximumLengthChanged" + Parameter { name: "maximumLength"; type: "int" } + } + Signal { + name: "inputMaskChanged" + Parameter { name: "inputMask"; type: "string" } + } + Signal { + name: "echoModeChanged" + Parameter { name: "echoMode"; type: "QQuickTextInput::EchoMode" } + } + Signal { + name: "passwordMaskDelayChanged" + revision: 4 + Parameter { name: "delay"; type: "int" } + } + Signal { name: "preeditTextChanged"; revision: 7 } + Signal { + name: "activeFocusOnPressChanged" + Parameter { name: "activeFocusOnPress"; type: "bool" } + } + Signal { + name: "autoScrollChanged" + Parameter { name: "autoScroll"; type: "bool" } + } + Signal { + name: "selectByMouseChanged" + Parameter { name: "selectByMouse"; type: "bool" } + } + Signal { + name: "mouseSelectionModeChanged" + Parameter { name: "mode"; type: "QQuickTextInput::SelectionMode" } + } + Signal { name: "contentSizeChanged" } + Signal { name: "paddingChanged"; revision: 6 } + Signal { name: "topPaddingChanged"; revision: 6 } + Signal { name: "leftPaddingChanged"; revision: 6 } + Signal { name: "rightPaddingChanged"; revision: 6 } + Signal { name: "bottomPaddingChanged"; revision: 6 } + Method { name: "selectAll" } + Method { name: "selectWord" } + Method { + name: "select" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "deselect" } + Method { + name: "isRightToLeft" + type: "bool" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "cut" } + Method { name: "copy" } + Method { name: "paste" } + Method { name: "undo" } + Method { name: "redo" } + Method { + name: "insert" + Parameter { name: "position"; type: "int" } + Parameter { name: "text"; type: "string" } + } + Method { + name: "remove" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "ensureVisible" + revision: 4 + Parameter { name: "position"; type: "int" } + } + Method { name: "clear"; revision: 7 } + Method { + name: "positionAt" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "positionToRectangle" + type: "QRectF" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + Parameter { name: "mode"; type: "SelectionMode" } + } + Method { + name: "inputMethodQuery" + revision: 4 + type: "QVariant" + Parameter { name: "query"; type: "Qt::InputMethodQuery" } + Parameter { name: "argument"; type: "QVariant" } + } + Method { + name: "getText" + type: "string" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + } + Component { + name: "QQuickToolBar" + defaultProperty: "contentData" + prototype: "QQuickPane" + exports: ["QtQuick.Templates/ToolBar 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Position" + values: { + "Header": 0, + "Footer": 1 + } + } + Property { name: "position"; type: "Position" } + } + Component { + name: "QQuickToolButton" + defaultProperty: "data" + prototype: "QQuickButton" + exports: ["QtQuick.Templates/ToolButton 2.0"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuickToolSeparator" + defaultProperty: "data" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/ToolSeparator 2.1"] + exportMetaObjectRevisions: [0] + Property { name: "orientation"; type: "Qt::Orientation" } + Property { name: "horizontal"; type: "bool"; isReadonly: true } + Property { name: "vertical"; type: "bool"; isReadonly: true } + } + Component { + name: "QQuickToolTip" + defaultProperty: "contentData" + prototype: "QQuickPopup" + exports: [ + "QtQuick.Templates/ToolTip 2.0", + "QtQuick.Templates/ToolTip 2.5" + ] + exportMetaObjectRevisions: [0, 5] + attachedType: "QQuickToolTipAttached" + Property { name: "delay"; type: "int" } + Property { name: "timeout"; type: "int" } + Property { name: "text"; type: "string" } + Method { + name: "show" + revision: 5 + Parameter { name: "text"; type: "string" } + Parameter { name: "ms"; type: "int" } + } + Method { + name: "show" + revision: 5 + Parameter { name: "text"; type: "string" } + } + Method { name: "hide"; revision: 5 } + } + Component { + name: "QQuickToolTipAttached" + prototype: "QObject" + Property { name: "text"; type: "string" } + Property { name: "delay"; type: "int" } + Property { name: "timeout"; type: "int" } + Property { name: "visible"; type: "bool" } + Property { name: "toolTip"; type: "QQuickToolTip"; isReadonly: true; isPointer: true } + Method { + name: "show" + Parameter { name: "text"; type: "string" } + Parameter { name: "ms"; type: "int" } + } + Method { + name: "show" + Parameter { name: "text"; type: "string" } + } + Method { name: "hide" } + } + Component { + name: "QQuickTumbler" + defaultProperty: "data" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/Tumbler 2.0", + "QtQuick.Templates/Tumbler 2.1", + "QtQuick.Templates/Tumbler 2.2" + ] + exportMetaObjectRevisions: [0, 1, 2] + attachedType: "QQuickTumblerAttached" + Enum { + name: "PositionMode" + values: { + "Beginning": 0, + "Center": 1, + "End": 2, + "Visible": 3, + "Contain": 4, + "SnapPosition": 5 + } + } + Property { name: "model"; type: "QVariant" } + Property { name: "count"; type: "int"; isReadonly: true } + Property { name: "currentIndex"; type: "int" } + Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "visibleItemCount"; type: "int" } + Property { name: "wrap"; revision: 1; type: "bool" } + Property { name: "moving"; revision: 2; type: "bool"; isReadonly: true } + Signal { name: "wrapChanged"; revision: 1 } + Signal { name: "movingChanged"; revision: 2 } + Method { + name: "positionViewAtIndex" + revision: 5 + Parameter { name: "index"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + } + } + Component { + name: "QQuickTumblerAttached" + prototype: "QObject" + Property { name: "tumbler"; type: "QQuickTumbler"; isReadonly: true; isPointer: true } + Property { name: "displacement"; type: "double"; isReadonly: true } + } + Component { + name: "QQuickVerticalHeaderView" + defaultProperty: "flickableData" + prototype: "QQuickHeaderViewBase" + exports: ["QtQuick.Templates/VerticalHeaderView 2.15"] + exportMetaObjectRevisions: [0] + attachedType: "QQuickTableViewAttached" + } + Component { + name: "QQuickWindow" + defaultProperty: "data" + prototype: "QWindow" + Enum { + name: "CreateTextureOptions" + values: { + "TextureHasAlphaChannel": 1, + "TextureHasMipmaps": 2, + "TextureOwnsGLTexture": 4, + "TextureCanUseAtlas": 8, + "TextureIsOpaque": 16 + } + } + Enum { + name: "SceneGraphError" + values: { + "ContextNotAvailable": 1 + } + } + Enum { + name: "TextRenderType" + values: { + "QtTextRendering": 0, + "NativeTextRendering": 1 + } + } + Enum { + name: "NativeObjectType" + values: { + "NativeObjectTexture": 0 + } + } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "color"; type: "QColor" } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { + name: "activeFocusItem" + revision: 1 + type: "QQuickItem" + isReadonly: true + isPointer: true + } + Signal { name: "frameSwapped" } + Signal { + name: "openglContextCreated" + revision: 2 + Parameter { name: "context"; type: "QOpenGLContext"; isPointer: true } + } + Signal { name: "sceneGraphInitialized" } + Signal { name: "sceneGraphInvalidated" } + Signal { name: "beforeSynchronizing" } + Signal { name: "afterSynchronizing"; revision: 2 } + Signal { name: "beforeRendering" } + Signal { name: "afterRendering" } + Signal { name: "afterAnimating"; revision: 2 } + Signal { name: "sceneGraphAboutToStop"; revision: 2 } + Signal { + name: "closing" + revision: 1 + Parameter { name: "close"; type: "QQuickCloseEvent"; isPointer: true } + } + Signal { + name: "colorChanged" + Parameter { type: "QColor" } + } + Signal { name: "activeFocusItemChanged"; revision: 1 } + Signal { + name: "sceneGraphError" + revision: 2 + Parameter { name: "error"; type: "QQuickWindow::SceneGraphError" } + Parameter { name: "message"; type: "string" } + } + Signal { name: "beforeRenderPassRecording"; revision: 14 } + Signal { name: "afterRenderPassRecording"; revision: 14 } + Method { name: "update" } + Method { name: "releaseResources" } + } + Component { + name: "QQuickWindowQmlImpl" + defaultProperty: "data" + prototype: "QQuickWindow" + Property { name: "visible"; type: "bool" } + Property { name: "visibility"; type: "Visibility" } + Property { name: "screen"; revision: 3; type: "QObject"; isPointer: true } + Signal { + name: "visibleChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "visibilityChanged" + Parameter { name: "visibility"; type: "QWindow::Visibility" } + } + Signal { name: "screenChanged"; revision: 3 } + } + Component { + name: "QWindow" + prototype: "QObject" + Enum { + name: "Visibility" + values: { + "Hidden": 0, + "AutomaticVisibility": 1, + "Windowed": 2, + "Minimized": 3, + "Maximized": 4, + "FullScreen": 5 + } + } + Enum { + name: "AncestorMode" + values: { + "ExcludeTransients": 0, + "IncludeTransients": 1 + } + } + Property { name: "title"; type: "string" } + Property { name: "modality"; type: "Qt::WindowModality" } + Property { name: "flags"; type: "Qt::WindowFlags" } + Property { name: "x"; type: "int" } + Property { name: "y"; type: "int" } + Property { name: "width"; type: "int" } + Property { name: "height"; type: "int" } + Property { name: "minimumWidth"; type: "int" } + Property { name: "minimumHeight"; type: "int" } + Property { name: "maximumWidth"; type: "int" } + Property { name: "maximumHeight"; type: "int" } + Property { name: "visible"; type: "bool" } + Property { name: "active"; revision: 1; type: "bool"; isReadonly: true } + Property { name: "visibility"; revision: 1; type: "Visibility" } + Property { name: "contentOrientation"; type: "Qt::ScreenOrientation" } + Property { name: "opacity"; revision: 1; type: "double" } + Property { name: "transientParent"; revision: 13; type: "QWindow"; isPointer: true } + Signal { + name: "screenChanged" + Parameter { name: "screen"; type: "QScreen"; isPointer: true } + } + Signal { + name: "modalityChanged" + Parameter { name: "modality"; type: "Qt::WindowModality" } + } + Signal { + name: "windowStateChanged" + Parameter { name: "windowState"; type: "Qt::WindowState" } + } + Signal { + name: "windowTitleChanged" + revision: 2 + Parameter { name: "title"; type: "string" } + } + Signal { + name: "xChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "yChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "widthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "heightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "minimumWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "minimumHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "maximumWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "maximumHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "visibleChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "visibilityChanged" + revision: 1 + Parameter { name: "visibility"; type: "QWindow::Visibility" } + } + Signal { name: "activeChanged"; revision: 1 } + Signal { + name: "contentOrientationChanged" + Parameter { name: "orientation"; type: "Qt::ScreenOrientation" } + } + Signal { + name: "focusObjectChanged" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "opacityChanged" + revision: 1 + Parameter { name: "opacity"; type: "double" } + } + Signal { + name: "transientParentChanged" + revision: 13 + Parameter { name: "transientParent"; type: "QWindow"; isPointer: true } + } + Method { name: "requestActivate"; revision: 1 } + Method { + name: "setVisible" + Parameter { name: "visible"; type: "bool" } + } + Method { name: "show" } + Method { name: "hide" } + Method { name: "showMinimized" } + Method { name: "showMaximized" } + Method { name: "showFullScreen" } + Method { name: "showNormal" } + Method { name: "close"; type: "bool" } + Method { name: "raise" } + Method { name: "lower" } + Method { + name: "startSystemResize" + type: "bool" + Parameter { name: "edges"; type: "Qt::Edges" } + } + Method { name: "startSystemMove"; type: "bool" } + Method { + name: "setTitle" + Parameter { type: "string" } + } + Method { + name: "setX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setGeometry" + Parameter { name: "posx"; type: "int" } + Parameter { name: "posy"; type: "int" } + Parameter { name: "w"; type: "int" } + Parameter { name: "h"; type: "int" } + } + Method { + name: "setGeometry" + Parameter { name: "rect"; type: "QRect" } + } + Method { + name: "setMinimumWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setMinimumHeight" + Parameter { name: "h"; type: "int" } + } + Method { + name: "setMaximumWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setMaximumHeight" + Parameter { name: "h"; type: "int" } + } + Method { + name: "alert" + revision: 1 + Parameter { name: "msec"; type: "int" } + } + Method { name: "requestUpdate"; revision: 3 } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/qmldir new file mode 100644 index 00000000..9f3773a8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/qmldir @@ -0,0 +1,5 @@ +module QtQuick.Templates +plugin qtquicktemplates2plugin +classname QtQuickTemplates2Plugin +depends QtQuick.Window 2.2 +depends QtQuick 2.9 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/qtquicktemplates2plugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/qtquicktemplates2plugin.dll new file mode 100644 index 00000000..79c8feb4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Templates.2/qtquicktemplates2plugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/plugins.qmltypes new file mode 100644 index 00000000..84191294 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/plugins.qmltypes @@ -0,0 +1,52 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick.Timeline 1.0' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QQuickKeyframe" + prototype: "QObject" + exports: ["QtQuick.Timeline/Keyframe 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "frame"; type: "double" } + Property { name: "easing"; type: "QEasingCurve" } + Property { name: "value"; type: "QVariant" } + Signal { name: "easingCurveChanged" } + } + Component { + name: "QQuickKeyframeGroup" + defaultProperty: "keyframes" + prototype: "QObject" + exports: ["QtQuick.Timeline/KeyframeGroup 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "target"; type: "QObject"; isPointer: true } + Property { name: "property"; type: "string" } + Property { name: "keyframes"; type: "QQuickKeyframe"; isList: true; isReadonly: true } + } + Component { + name: "QQuickTimeline" + defaultProperty: "keyframeGroups" + prototype: "QObject" + exports: ["QtQuick.Timeline/Timeline 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "startFrame"; type: "double" } + Property { name: "endFrame"; type: "double" } + Property { name: "currentFrame"; type: "double" } + Property { name: "keyframeGroups"; type: "QQuickKeyframeGroup"; isList: true; isReadonly: true } + Property { name: "animations"; type: "QQuickTimelineAnimation"; isList: true; isReadonly: true } + Property { name: "enabled"; type: "bool" } + } + Component { + name: "QQuickTimelineAnimation" + prototype: "QQuickNumberAnimation" + exports: ["QtQuick.Timeline/TimelineAnimation 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "pingPong"; type: "bool" } + Signal { name: "finished" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/qmldir new file mode 100644 index 00000000..29060c58 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/qmldir @@ -0,0 +1,5 @@ +module QtQuick.Timeline +plugin qtquicktimelineplugin +classname QtQuickTimelinePlugin +typeinfo plugins.qmltypes +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/qtquicktimelineplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/qtquicktimelineplugin.dll new file mode 100644 index 00000000..5682ce1d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Timeline/qtquicktimelineplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/plugins.qmltypes new file mode 100644 index 00000000..3ff3b618 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/plugins.qmltypes @@ -0,0 +1,409 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0"] + Component { + file: "plugin.h" + name: "QQuickRootItem" + defaultProperty: "data" + prototype: "QQuickItem" + Method { + name: "setWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "h"; type: "int" } + } + } + Component { + file: "plugin.h" + name: "QQuickScreen" + prototype: "QObject" + exports: [ + "QtQuick.Window/Screen 2.0", + "QtQuick.Window/Screen 2.10", + "QtQuick.Window/Screen 2.3" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 10, 3] + attachedType: "QQuickScreenAttached" + } + Component { + file: "plugin.h" + name: "QQuickScreenAttached" + prototype: "QQuickScreenInfo" + Property { name: "orientationUpdateMask"; type: "Qt::ScreenOrientations" } + Method { + name: "screenChanged" + Parameter { type: "QScreen"; isPointer: true } + } + Method { + name: "angleBetween" + type: "int" + Parameter { name: "a"; type: "int" } + Parameter { name: "b"; type: "int" } + } + } + Component { + file: "plugin.h" + name: "QQuickScreenInfo" + prototype: "QObject" + exports: [ + "QtQuick.Window/ScreenInfo 2.10", + "QtQuick.Window/ScreenInfo 2.3" + ] + isCreatable: false + exportMetaObjectRevisions: [10, 3] + Property { name: "name"; type: "string"; isReadonly: true } + Property { name: "manufacturer"; revision: 10; type: "string"; isReadonly: true } + Property { name: "model"; revision: 10; type: "string"; isReadonly: true } + Property { name: "serialNumber"; revision: 10; type: "string"; isReadonly: true } + Property { name: "width"; type: "int"; isReadonly: true } + Property { name: "height"; type: "int"; isReadonly: true } + Property { name: "desktopAvailableWidth"; type: "int"; isReadonly: true } + Property { name: "desktopAvailableHeight"; type: "int"; isReadonly: true } + Property { name: "logicalPixelDensity"; type: "double"; isReadonly: true } + Property { name: "pixelDensity"; type: "double"; isReadonly: true } + Property { name: "devicePixelRatio"; type: "double"; isReadonly: true } + Property { name: "primaryOrientation"; type: "Qt::ScreenOrientation"; isReadonly: true } + Property { name: "orientation"; type: "Qt::ScreenOrientation"; isReadonly: true } + Property { name: "virtualX"; revision: 3; type: "int"; isReadonly: true } + Property { name: "virtualY"; revision: 3; type: "int"; isReadonly: true } + Signal { name: "manufacturerChanged"; revision: 10 } + Signal { name: "modelChanged"; revision: 10 } + Signal { name: "serialNumberChanged"; revision: 10 } + Signal { name: "desktopGeometryChanged" } + Signal { name: "virtualXChanged"; revision: 3 } + Signal { name: "virtualYChanged"; revision: 3 } + } + Component { + file: "plugin.h" + name: "QQuickWindow" + defaultProperty: "data" + prototype: "QWindow" + exports: ["QtQuick.Window/Window 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "CreateTextureOptions" + alias: "CreateTextureOption" + isFlag: true + values: [ + "TextureHasAlphaChannel", + "TextureHasMipmaps", + "TextureOwnsGLTexture", + "TextureCanUseAtlas", + "TextureIsOpaque" + ] + } + Enum { + name: "SceneGraphError" + values: ["ContextNotAvailable"] + } + Enum { + name: "TextRenderType" + values: ["QtTextRendering", "NativeTextRendering"] + } + Enum { + name: "NativeObjectType" + values: ["NativeObjectTexture"] + } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "color"; type: "QColor" } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { + name: "activeFocusItem" + revision: 1 + type: "QQuickItem" + isReadonly: true + isPointer: true + } + Signal { name: "frameSwapped" } + Signal { + name: "openglContextCreated" + revision: 2 + Parameter { name: "context"; type: "QOpenGLContext"; isPointer: true } + } + Signal { name: "sceneGraphInitialized" } + Signal { name: "sceneGraphInvalidated" } + Signal { name: "beforeSynchronizing" } + Signal { name: "afterSynchronizing"; revision: 2 } + Signal { name: "beforeRendering" } + Signal { name: "afterRendering" } + Signal { name: "afterAnimating"; revision: 2 } + Signal { name: "sceneGraphAboutToStop"; revision: 2 } + Signal { + name: "closing" + revision: 1 + Parameter { name: "close"; type: "QQuickCloseEvent"; isPointer: true } + } + Signal { + name: "colorChanged" + Parameter { type: "QColor" } + } + Signal { name: "activeFocusItemChanged"; revision: 1 } + Signal { + name: "sceneGraphError" + revision: 2 + Parameter { name: "error"; type: "QQuickWindow::SceneGraphError" } + Parameter { name: "message"; type: "string" } + } + Signal { name: "beforeRenderPassRecording"; revision: 14 } + Signal { name: "afterRenderPassRecording"; revision: 14 } + Method { name: "update" } + Method { name: "releaseResources" } + Method { name: "maybeUpdate" } + Method { name: "cleanupSceneGraph" } + Method { name: "physicalDpiChanged" } + Method { + name: "handleScreenChanged" + Parameter { name: "screen"; type: "QScreen"; isPointer: true } + } + Method { + name: "setTransientParent_helper" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Method { name: "runJobsAfterSwap" } + Method { + name: "handleApplicationStateChanged" + Parameter { name: "state"; type: "Qt::ApplicationState" } + } + } + Component { + file: "plugin.h" + name: "QQuickWindowAttached" + prototype: "QObject" + Property { name: "visibility"; type: "QWindow::Visibility"; isReadonly: true } + Property { name: "active"; type: "bool"; isReadonly: true } + Property { name: "activeFocusItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } + Property { name: "width"; type: "int"; isReadonly: true } + Property { name: "height"; type: "int"; isReadonly: true } + Property { name: "window"; type: "QQuickWindow"; isReadonly: true; isPointer: true } + Method { + name: "windowChange" + Parameter { type: "QQuickWindow"; isPointer: true } + } + } + Component { + file: "plugin.h" + name: "QQuickWindowQmlImpl" + defaultProperty: "data" + prototype: "QQuickWindow" + exports: [ + "QtQuick.Window/Window 2.1", + "QtQuick.Window/Window 2.13", + "QtQuick.Window/Window 2.14", + "QtQuick.Window/Window 2.2", + "QtQuick.Window/Window 2.3" + ] + exportMetaObjectRevisions: [1, 13, 14, 2, 3] + attachedType: "QQuickWindowAttached" + Property { name: "visible"; type: "bool" } + Property { name: "visibility"; type: "Visibility" } + Property { name: "screen"; revision: 3; type: "QObject"; isPointer: true } + Signal { + name: "visibleChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "visibilityChanged" + Parameter { name: "visibility"; type: "QWindow::Visibility" } + } + Signal { name: "screenChanged"; revision: 3 } + Method { name: "setWindowVisibility" } + } + Component { + file: "plugin.h" + name: "QWindow" + prototype: "QObject" + Enum { + name: "Visibility" + values: [ + "Hidden", + "AutomaticVisibility", + "Windowed", + "Minimized", + "Maximized", + "FullScreen" + ] + } + Enum { + name: "AncestorMode" + values: ["ExcludeTransients", "IncludeTransients"] + } + Property { name: "title"; type: "string" } + Property { name: "modality"; type: "Qt::WindowModality" } + Property { name: "flags"; type: "Qt::WindowFlags" } + Property { name: "x"; type: "int" } + Property { name: "y"; type: "int" } + Property { name: "width"; type: "int" } + Property { name: "height"; type: "int" } + Property { name: "minimumWidth"; type: "int" } + Property { name: "minimumHeight"; type: "int" } + Property { name: "maximumWidth"; type: "int" } + Property { name: "maximumHeight"; type: "int" } + Property { name: "visible"; type: "bool" } + Property { name: "active"; revision: 1; type: "bool"; isReadonly: true } + Property { name: "visibility"; revision: 1; type: "Visibility" } + Property { name: "contentOrientation"; type: "Qt::ScreenOrientation" } + Property { name: "opacity"; revision: 1; type: "double" } + Property { name: "transientParent"; revision: 13; type: "QWindow"; isPointer: true } + Signal { + name: "screenChanged" + Parameter { name: "screen"; type: "QScreen"; isPointer: true } + } + Signal { + name: "modalityChanged" + Parameter { name: "modality"; type: "Qt::WindowModality" } + } + Signal { + name: "windowStateChanged" + Parameter { name: "windowState"; type: "Qt::WindowState" } + } + Signal { + name: "windowTitleChanged" + revision: 2 + Parameter { name: "title"; type: "string" } + } + Signal { + name: "xChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "yChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "widthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "heightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "minimumWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "minimumHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "maximumWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "maximumHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "visibleChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "visibilityChanged" + revision: 1 + Parameter { name: "visibility"; type: "QWindow::Visibility" } + } + Signal { name: "activeChanged"; revision: 1 } + Signal { + name: "contentOrientationChanged" + Parameter { name: "orientation"; type: "Qt::ScreenOrientation" } + } + Signal { + name: "focusObjectChanged" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "opacityChanged" + revision: 1 + Parameter { name: "opacity"; type: "double" } + } + Signal { + name: "transientParentChanged" + revision: 13 + Parameter { name: "transientParent"; type: "QWindow"; isPointer: true } + } + Method { name: "requestActivate"; revision: 1 } + Method { + name: "setVisible" + Parameter { name: "visible"; type: "bool" } + } + Method { name: "show" } + Method { name: "hide" } + Method { name: "showMinimized" } + Method { name: "showMaximized" } + Method { name: "showFullScreen" } + Method { name: "showNormal" } + Method { name: "close"; type: "bool" } + Method { name: "raise" } + Method { name: "lower" } + Method { + name: "startSystemResize" + type: "bool" + Parameter { name: "edges"; type: "Qt::Edges" } + } + Method { name: "startSystemMove"; type: "bool" } + Method { + name: "setTitle" + Parameter { type: "string" } + } + Method { + name: "setX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setGeometry" + Parameter { name: "posx"; type: "int" } + Parameter { name: "posy"; type: "int" } + Parameter { name: "w"; type: "int" } + Parameter { name: "h"; type: "int" } + } + Method { + name: "setGeometry" + Parameter { name: "rect"; type: "QRect" } + } + Method { + name: "setMinimumWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setMinimumHeight" + Parameter { name: "h"; type: "int" } + } + Method { + name: "setMaximumWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setMaximumHeight" + Parameter { name: "h"; type: "int" } + } + Method { + name: "alert" + revision: 1 + Parameter { name: "msec"; type: "int" } + } + Method { name: "requestUpdate"; revision: 3 } + Method { name: "_q_clearAlert" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/qmldir new file mode 100644 index 00000000..fb6202b3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/qmldir @@ -0,0 +1,5 @@ +module QtQuick.Window +plugin windowplugin +classname QtQuick2WindowPlugin +typeinfo plugins.qmltypes +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/windowplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/windowplugin.dll new file mode 100644 index 00000000..2ce0a687 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/Window.2/windowplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/plugins.qmltypes new file mode 100644 index 00000000..a2072f2c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/plugins.qmltypes @@ -0,0 +1,333 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick.XmlListModel 2.15' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QAbstractItemModel" + prototype: "QObject" + Enum { + name: "LayoutChangeHint" + values: { + "NoLayoutChangeHint": 0, + "VerticalSortHint": 1, + "HorizontalSortHint": 2 + } + } + Enum { + name: "CheckIndexOption" + values: { + "NoOption": 0, + "IndexIsValid": 1, + "DoNotUseParent": 2, + "ParentIsInvalid": 4 + } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "QVector" } + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutChanged" } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QList" } + } + Signal { name: "layoutAboutToBeChanged" } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "row"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + Parameter { name: "destination"; type: "QModelIndex" } + Parameter { name: "column"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int" } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int" } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool" } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } + Component { + name: "QQuickXmlListModel" + defaultProperty: "roles" + prototype: "QAbstractListModel" + exports: ["QtQuick.XmlListModel/XmlListModel 2.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: { + "Null": 0, + "Ready": 1, + "Loading": 2, + "Error": 3 + } + } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "progress"; type: "double"; isReadonly: true } + Property { name: "source"; type: "QUrl" } + Property { name: "xml"; type: "string" } + Property { name: "query"; type: "string" } + Property { name: "namespaceDeclarations"; type: "string" } + Property { name: "roles"; type: "QQuickXmlListModelRole"; isList: true; isReadonly: true } + Property { name: "count"; type: "int"; isReadonly: true } + Signal { + name: "statusChanged" + Parameter { type: "QQuickXmlListModel::Status" } + } + Signal { + name: "progressChanged" + Parameter { name: "progress"; type: "double" } + } + Method { name: "reload" } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + Method { name: "errorString"; type: "string" } + } + Component { + name: "QQuickXmlListModelRole" + prototype: "QObject" + exports: ["QtQuick.XmlListModel/XmlRole 2.0"] + exportMetaObjectRevisions: [0] + Property { name: "name"; type: "string" } + Property { name: "query"; type: "string" } + Property { name: "isKey"; type: "bool" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/qmldir new file mode 100644 index 00000000..1f17dbb1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/qmldir @@ -0,0 +1,5 @@ +module QtQuick.XmlListModel +plugin qmlxmllistmodelplugin +classname QmlXmlListModelPlugin +typeinfo plugins.qmltypes +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/qmlxmllistmodelplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/qmlxmllistmodelplugin.dll new file mode 100644 index 00000000..1e8470fd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick/XmlListModel/qmlxmllistmodelplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/AdditiveColorGradient.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/AdditiveColorGradient.qml new file mode 100644 index 00000000..03251146 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/AdditiveColorGradient.qml @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property vector3d bottomColor: Qt.vector3d(0.0, 0.0, 0.0) + property vector3d topColor: Qt.vector3d(1.0, 1.0, 1.0) + + Shader { + id: additivecolorgradient + stage: Shader.Fragment + shader: "shaders/additivecolorgradient.frag" + } + + passes: [ + Pass { + shaders: additivecolorgradient + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Blur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Blur.qml new file mode 100644 index 00000000..9a224e13 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Blur.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real amount: 0.01 + + Shader { + id: blur + stage: Shader.Fragment + shader: "shaders/blur.frag" + } + + passes: [ + Pass { + shaders: blur + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/BrushStrokes.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/BrushStrokes.qml new file mode 100644 index 00000000..11fecd7d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/BrushStrokes.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property TextureInput noiseSample: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/brushnoise.png" + } + } + property real brushLength: 1.0 // 0 - 3 + property real brushSize: 100.0 // 10 - 200 + property real brushAngle: 45.0 + readonly property real sinAlpha: Math.sin(degrees_to_radians(brushAngle)) + readonly property real cosAlpha: Math.cos(degrees_to_radians(brushAngle)) + + function degrees_to_radians(degrees) { + var pi = Math.PI; + return degrees * (pi/180); + } + + Shader { + id: brushstrokes + stage: Shader.Fragment + shader: "shaders/brushstrokes.frag" + } + + passes: [ + Pass { + shaders: brushstrokes + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/ChromaticAberration.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/ChromaticAberration.qml new file mode 100644 index 00000000..25f3ec1d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/ChromaticAberration.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property TextureInput maskTexture: TextureInput { + texture: Texture { + source: "maps/white.png" + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + } + } + readonly property TextureInput sourceTexture: TextureInput { + texture: Texture {} + } + readonly property TextureInput depthTexture: TextureInput { + texture: Texture {} + } + property real aberrationAmount: 50 + property real focusDepth: 600 + + Shader { + id: chromaticAberration + stage: Shader.Fragment + shader: "shaders/chromaticaberration.frag" + } + + passes: [ + Pass { + shaders: chromaticAberration + commands: [ + BufferInput { + param: "sourceTexture" + }, + DepthInput { + param: "depthTexture" + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/ColorMaster.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/ColorMaster.qml new file mode 100644 index 00000000..1c8551fc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/ColorMaster.qml @@ -0,0 +1,51 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real redStrength: 1.0 // 0 - 2 + property real greenStrength: 1.5 // 0 - 2 + property real blueStrength: 1.0 // 0 - 2 + property real saturation: 0.0 // -1 - 1 + + Shader { + id: colormaster + stage: Shader.Fragment + shader: "shaders/colormaster.frag" + } + + passes: [ + Pass { + shaders: colormaster + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DepthOfFieldHQBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DepthOfFieldHQBlur.qml new file mode 100644 index 00000000..7312e990 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DepthOfFieldHQBlur.qml @@ -0,0 +1,100 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + readonly property TextureInput sourceSampler: TextureInput { + texture: Texture {} + } + readonly property TextureInput depthSampler: TextureInput { + texture: Texture {} + } + property real focusDistance: 600 + property real focusRange: 100 + property real blurAmount: 4 + + Shader { + id: downsampleVert + stage: Shader.Vertex + shader: "shaders/downsample.vert" + } + Shader { + id: downsampleFrag + stage: Shader.Fragment + shader: "shaders/downsample.frag" + } + + Shader { + id: blurVert + stage: Shader.Vertex + shader: "shaders/depthoffieldblur.vert" + } + Shader { + id: blurFrag + stage: Shader.Fragment + shader: "shaders/depthoffieldblur.frag" + } + + Buffer { + id: downsampleBuffer + name: "downsampleBuffer" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.None + sizeMultiplier: 0.5 + } + + passes: [ + Pass { + shaders: [ downsampleVert, downsampleFrag ] + commands: BufferInput { + param: "depthSampler" + } + output: downsampleBuffer + }, + Pass { + shaders: [ blurVert, blurFrag ] + commands: [ + BufferInput { + buffer: downsampleBuffer + }, + BufferInput { + param: "sourceSampler" + }, + DepthInput { + param: "depthSampler" + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Desaturate.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Desaturate.qml new file mode 100644 index 00000000..e08ee0dd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Desaturate.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real amount: 0.5 + + Shader { + id: desaturate + stage: Shader.Fragment + shader: "shaders/desaturate.frag" + } + + passes: [ + Pass { + shaders: desaturate + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionRipple.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionRipple.qml new file mode 100644 index 00000000..2c18b10f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionRipple.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real radius: 100.0 // 0 - 100 + property real distortionWidth: 10.0 // 2 - 100 + property real distortionHeight: 10.0 // 0 - 100 + property real distortionPhase: 0.0 // 0 - 360 + property vector2d center: Qt.vector2d(0.5, 0.5) + + Shader { + id: distortionVert + stage: Shader.Vertex + shader: "shaders/distortion.vert" + } + + Shader { + id: distortionFrag + stage: Shader.Fragment + shader: "shaders/distortionripple.frag" + } + + passes: [ + Pass { + shaders: [ distortionVert, distortionFrag ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionSphere.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionSphere.qml new file mode 100644 index 00000000..3ff07799 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionSphere.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real radius: 0.25 // 0 - 1 + property real distortionHeight: 0.5 // -1 - 1 + property vector2d center: Qt.vector2d(0.5, 0.5) + + Shader { + id: distortionVert + stage: Shader.Vertex + shader: "shaders/distortion.vert" + } + + Shader { + id: distortionFrag + stage: Shader.Fragment + shader: "shaders/distortionsphere.frag" + } + + passes: [ + Pass { + shaders: [ distortionVert, distortionFrag ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionSpiral.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionSpiral.qml new file mode 100644 index 00000000..ddfea6f8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionSpiral.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real radius: 0.25 // 0 - 1 + property real distortionStrength: 1.0 // -10 - 10 + property vector2d center: Qt.vector2d(0.5, 0.5) + + Shader { + id: distortionVert + stage: Shader.Vertex + shader: "shaders/distortion.vert" + } + + Shader { + id: distortionFrag + stage: Shader.Fragment + shader: "shaders/distortionspiral.frag" + } + + passes: [ + Pass { + shaders: [ distortionVert, distortionFrag ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/EdgeDetect.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/EdgeDetect.qml new file mode 100644 index 00000000..4f243574 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/EdgeDetect.qml @@ -0,0 +1,54 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real edgeStrength: 0.5 // 0 - 1 + + Shader { + id: edgeVert + stage: Shader.Vertex + shader: "shaders/edgedetect.vert" + } + + Shader { + id: edgeFrag + stage: Shader.Fragment + shader: "shaders/edgedetect.frag" + } + + passes: [ + Pass { + shaders: [ edgeVert, edgeFrag ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Emboss.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Emboss.qml new file mode 100644 index 00000000..dc6feb5d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Emboss.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real amount: 0.003 // 0 - 0.01 + + Shader { + id: emboss + stage: Shader.Fragment + shader: "shaders/emboss.frag" + } + + passes: [ + Pass { + shaders: emboss + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Flip.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Flip.qml new file mode 100644 index 00000000..c219aeef --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Flip.qml @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property bool flipHorizontally: true + property bool flipVertically: true + + Shader { + id: flip + stage: Shader.Fragment + shader: "shaders/flip.frag" + } + + passes: [ + Pass { + shaders: flip + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Fxaa.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Fxaa.qml new file mode 100644 index 00000000..fda483d3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Fxaa.qml @@ -0,0 +1,73 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + readonly property TextureInput sprite: TextureInput { + texture: Texture {} + } + + Shader { + id: rgbl + stage: Shader.Fragment + shader: "shaders/fxaaRgbl.frag" + } + Shader { + id: blur + stage: Shader.Fragment + shader: "shaders/fxaaBlur.frag" + } + Buffer { + id: rgblBuffer + name: "rgbl_buffer" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.None // aka frame + } + + passes: [ + Pass { + shaders: rgbl + output: rgblBuffer + }, + Pass { + shaders: blur + commands: [ BufferInput { + buffer: rgblBuffer + }, BufferInput { + param: "sprite" + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/GaussianBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/GaussianBlur.qml new file mode 100644 index 00000000..da9605f9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/GaussianBlur.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real amount: 2 // 0 - 10 + Shader { + id: vertical + stage: Shader.Vertex + shader: "shaders/blurvertical.vert" + } + Shader { + id: horizontal + stage: Shader.Vertex + shader: "shaders/blurhorizontal.vert" + } + Shader { + id: gaussianblur + stage: Shader.Fragment + shader: "shaders/gaussianblur.frag" + } + + Buffer { + id: tempBuffer + name: "tempBuffer" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.None // aka frame + } + + passes: [ + Pass { + shaders: [ horizontal, gaussianblur ] + output: tempBuffer + }, + Pass { + shaders: [ vertical, gaussianblur ] + commands: [ + BufferInput { + buffer: tempBuffer + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/HDRBloomTonemap.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/HDRBloomTonemap.qml new file mode 100644 index 00000000..59351cdd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/HDRBloomTonemap.qml @@ -0,0 +1,155 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + readonly property TextureInput downsample2: TextureInput { + texture: Texture {} + } + readonly property TextureInput downsample4: TextureInput { + texture: Texture {} + } + property real gamma: 1 // 0.1 - 4 + property real exposure: 0 // -9 - 9 + readonly property real exposureExp2: Math.pow(2, exposure) + property real bloomThreshold: 1 + property real blurFalloff: 0 // 0 - 10 + readonly property real negativeBlurFalloffExp2: Math.pow(2, -blurFalloff) + property real tonemappingLerp: 1 // 0 - 1 + property real channelThreshold: 1 + readonly property real poissonRotation: 0 + readonly property real poissonDistance: 4 + + Shader { + id: luminosityVert + stage: Shader.Vertex + shader: "shaders/luminosity.vert" + } + Shader { + id: luminosityFrag + stage: Shader.Fragment + shader: "shaders/luminosity.frag" + } + + Shader { + id: blurVert + stage: Shader.Vertex + shader: "shaders/poissonblur.vert" + } + Shader { + id: blurFrag + stage: Shader.Fragment + shader: "shaders/poissonblur.frag" + } + + Shader { + id: combiner + stage: Shader.Fragment + shader: "shaders/combiner.frag" + } + + Buffer { + id: luminosity_buffer2 + name: "luminosity_buffer2" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.None + sizeMultiplier: 0.5 + } + Buffer { + id: downsample_buffer2 + name: "downsample_buffer2" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.None + sizeMultiplier: 0.5 + } + Buffer { + id: downsample_buffer4 + name: "downsample_buffer4" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.None + sizeMultiplier: 0.25 + } + + passes: [ + Pass { + shaders: [ luminosityVert, luminosityFrag ] + output: downsample_buffer2 + }, + Pass { + shaders: [ luminosityVert, luminosityFrag ] + commands: BufferInput { + buffer: downsample_buffer2 + } + output: luminosity_buffer2 + }, + Pass { + shaders: [ blurVert, blurFrag ] + commands: BufferInput { + buffer: luminosity_buffer2 + } + output: downsample_buffer2 + }, + Pass { + + shaders: [ blurVert, blurFrag ] + commands: [ + SetUniformValue { + target: "poissonRotation" + value: 0.62831 + }, + BufferInput { + buffer: luminosity_buffer2 + } + ] + output: downsample_buffer4 + }, + Pass { + shaders: combiner + commands: [ + BufferInput { + param: "downsample2" + buffer: downsample_buffer2 + }, + BufferInput { + param: "downsample4" + buffer: downsample_buffer4 + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/MotionBlur.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/MotionBlur.qml new file mode 100644 index 00000000..8ffd7636 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/MotionBlur.qml @@ -0,0 +1,121 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + readonly property TextureInput sprite: TextureInput { + texture: Texture {} + } + property real fadeAmount: 0.25 // 0 - 1 + property real blurQuality: 0.25 // 0.1 - 1.0 + + Shader { + id: vblurVert + stage: Shader.Vertex + shader: "shaders/motionblurvertical.vert" + } + Shader { + id: vblurFrag + stage: Shader.Fragment + shader: "shaders/motionblurvertical.frag" + } + + Shader { + id: hblurVert + stage: Shader.Vertex + shader: "shaders/motionblurhorizontal.vert" + } + Shader { + id: hblurFrag + stage: Shader.Fragment + shader: "shaders/motionblurhorizontal.frag" + } + + Shader { + id: blend + stage: Shader.Fragment + shader: "shaders/blend.frag" + } + + Buffer { + id: glowBuffer + name: "glowBuffer" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Nearest + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.SceneLifetime + sizeMultiplier: blurQuality + } + + Buffer { + id: tempBuffer + name: "tempBuffer" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.None + sizeMultiplier: blurQuality + } + + passes: [ + Pass { + shaders: [ hblurVert, hblurFrag ] + commands: [ + BufferInput { + param: "glowSampler" + buffer: glowBuffer + } + ] + output: tempBuffer + }, + Pass { + shaders: [ vblurVert, vblurFrag ] + commands: [ + BufferInput { + buffer: tempBuffer + } + ] + output: glowBuffer + }, + Pass { + shaders: blend + commands: [ + BufferInput { + buffer: glowBuffer + }, + BufferInput { + param: "sprite" + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/SCurveTonemap.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/SCurveTonemap.qml new file mode 100644 index 00000000..589558ba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/SCurveTonemap.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.14 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real shoulderSlope: 1.0 // 0.0 - 3.0 + property real shoulderEmphasis: 0 // -1.0 - 1.0 + property real toeSlope: 1.0 // 0.0 - 3.0 + property real toeEmphasis: 0 // -1.0 - 1.0 + property real contrastBoost: 0 // -1.0 - 2.0 + property real saturationLevel: 1 // 0.0 - 2.0 + property real gammaValue: 2.2 // 0.1 - 8.0 + property bool useExposure: false + property real whitePoint: 1.0 // 0.01 - 128.0 + property real exposureValue: 1.0 // 0.01 - 16.0 + + Shader { + id: tonemapShader + stage: Shader.Fragment + shader: "shaders/scurvetonemap.frag" + } + + Buffer { + // LDR output + id: defaultOutput + format: Buffer.RGBA8 + } + + passes: [ + Pass { + shaders: tonemapShader + output: defaultOutput + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Scatter.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Scatter.qml new file mode 100644 index 00000000..1afadabe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Scatter.qml @@ -0,0 +1,57 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property TextureInput noiseSample: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/brushnoise.png" + } + } + property real amount: 10.0 // 0 - 127 + property int direction: 0 // 0 = both, 1 = horizontal, 2 = vertical + property bool randomize: true + + Shader { + id: scatter + stage: Shader.Fragment + shader: "shaders/scatter.frag" + } + + passes: [ + Pass { + shaders: [ scatter ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/TiltShift.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/TiltShift.qml new file mode 100644 index 00000000..d09e7c3c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/TiltShift.qml @@ -0,0 +1,93 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + readonly property TextureInput sourceSampler: TextureInput { + texture: Texture {} + } + property real focusPosition: 0.5 // 0 - 1 + property real focusWidth: 0.2 // 0 - 1 + property real blurAmount: 4 // 0 - 10 + property bool isVertical: false + property bool isInverted: false + + Shader { + id: downsampleVert + stage: Shader.Vertex + shader: "shaders/downsample.vert" + } + Shader { + id: downsampleFrag + stage: Shader.Fragment + shader: "shaders/downsampletiltshift.frag" + } + + Shader { + id: blurVert + stage: Shader.Vertex + shader: "shaders/poissonblurtiltshift.vert" + } + Shader { + id: blurFrag + stage: Shader.Fragment + shader: "shaders/poissonblurtiltshift.frag" + } + + Buffer { + id: downsampleBuffer + name: "downsampleBuffer" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + bufferFlags: Buffer.None + sizeMultiplier: 0.5 + } + + passes: [ + Pass { + shaders: [ downsampleVert, downsampleFrag ] + output: downsampleBuffer + }, + Pass { + shaders: [ blurVert, blurFrag ] + commands: [ + BufferInput { + buffer: downsampleBuffer + }, + BufferInput { + param: "sourceSampler" + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Vignette.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Vignette.qml new file mode 100644 index 00000000..cc12e05f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/Vignette.qml @@ -0,0 +1,50 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + property real vignetteStrength: 15 // 0 - 15 + property vector3d vignetteColor: Qt.vector3d(0.5, 0.5, 0.5) + property real vignetteRadius: 0.35 // 0 - 5 + + Shader { + id: vignette + stage: Shader.Fragment + shader: "shaders/vignette.frag" + } + + passes: [ + Pass { + shaders: vignette + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/AdditiveColorGradientSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/AdditiveColorGradientSection.qml new file mode 100644 index 00000000..e41508d7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/AdditiveColorGradientSection.qml @@ -0,0 +1,60 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Top Color") + width: parent.width + ColorEditor { + caption: qsTr("Top Color") + backendValue: backendValues.topColor + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Bottom Color") + width: parent.width + ColorEditor { + caption: qsTr("Bottom Color") + backendValue: backendValues.bottomColor + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/AdditiveColorGradientSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/AdditiveColorGradientSpecifics.qml new file mode 100644 index 00000000..d912265b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/AdditiveColorGradientSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AdditiveColorGradientSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BlurSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BlurSection.qml new file mode 100644 index 00000000..9b31c9bb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BlurSection.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Blur") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Strength of the blur.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 0.1 + minimumValue: 0 + decimals: 3 + stepSize: 0.01 + backendValue: backendValues.amount + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BlurSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BlurSpecifics.qml new file mode 100644 index 00000000..064d0f80 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BlurSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + BlurSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BrushStrokesSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BrushStrokesSection.qml new file mode 100644 index 00000000..0913f882 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BrushStrokesSection.qml @@ -0,0 +1,104 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Noise") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Noise Sample Texture") + tooltip: qsTr("Defines a texture for noise samples.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.noiseSample_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Brush") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Length") + tooltip: qsTr("Length of the brush.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 3 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.brushLength + Layout.fillWidth: true + } + } + Label { + text: qsTr("Size") + tooltip: qsTr("Size of the brush.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 200 + minimumValue: 10 + decimals: 0 + backendValue: backendValues.brushSize + Layout.fillWidth: true + } + } + Label { + text: qsTr("Angle") + tooltip: qsTr("Angle of the brush") + } + SecondColumnLayout { + SpinBox { + maximumValue: 360 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.brushAngle + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BrushStrokesSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BrushStrokesSpecifics.qml new file mode 100644 index 00000000..584253c7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BrushStrokesSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + BrushStrokesSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ChromaticAberrationSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ChromaticAberrationSection.qml new file mode 100644 index 00000000..43209bba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ChromaticAberrationSection.qml @@ -0,0 +1,91 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Mask") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Mask Texture") + tooltip: qsTr("Defines a texture for mask.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.maskTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Aberration") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Amount of aberration.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1000 + minimumValue: -1000 + decimals: 0 + backendValue: backendValues.aberrationAmount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Focus Depth") + tooltip: qsTr("Focus depth of the aberration.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.focusDepth + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ChromaticAberrationSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ChromaticAberrationSpecifics.qml new file mode 100644 index 00000000..57f4ac6b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ChromaticAberrationSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ChromaticAberrationSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ColorMasterSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ColorMasterSection.qml new file mode 100644 index 00000000..27bee26a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ColorMasterSection.qml @@ -0,0 +1,100 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Colors") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Red Strength") + tooltip: qsTr("Red strength.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.redStrength + Layout.fillWidth: true + } + } + Label { + text: qsTr("Green Strength") + tooltip: qsTr("Green strength.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.greenStrength + Layout.fillWidth: true + } + } + Label { + text: qsTr("Blue Strength") + tooltip: qsTr("Blue strength.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.blueStrength + Layout.fillWidth: true + } + } + Label { + text: qsTr("Saturation") + tooltip: qsTr("Color saturation.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: -1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.saturation + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ColorMasterSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ColorMasterSpecifics.qml new file mode 100644 index 00000000..4d622f9d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ColorMasterSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ColorMasterSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DepthOfFieldHQBlurSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DepthOfFieldHQBlurSection.qml new file mode 100644 index 00000000..304483ae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DepthOfFieldHQBlurSection.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Blur") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Blur Amount") + tooltip: qsTr("Amount of blur.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 50 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.blurAmount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Focus Distance") + tooltip: qsTr("Focus distance of the blur.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 5000 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.focusDistance + Layout.fillWidth: true + } + } + Label { + text: qsTr("Focus Range") + tooltip: qsTr("Focus range of the blur.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 5000 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.focusRange + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DepthOfFieldHQBlurSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DepthOfFieldHQBlurSpecifics.qml new file mode 100644 index 00000000..94b1674f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DepthOfFieldHQBlurSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + DepthOfFieldHQBlurSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DesaturateSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DesaturateSection.qml new file mode 100644 index 00000000..42e5d56c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DesaturateSection.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Desaturate") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Strength of the desaturate.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: -1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.amount + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DesaturateSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DesaturateSpecifics.qml new file mode 100644 index 00000000..f2536139 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DesaturateSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + DesaturateSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionRippleSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionRippleSection.qml new file mode 100644 index 00000000..71b17e5e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionRippleSection.qml @@ -0,0 +1,150 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Distortion") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Radius") + tooltip: qsTr("Radius of the effect.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.radius + Layout.fillWidth: true + } + } + Label { + text: qsTr("Width") + tooltip: qsTr("Width of the distortion.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 2 + decimals: 2 + backendValue: backendValues.distortionWidth + Layout.fillWidth: true + } + } + Label { + text: qsTr("Height") + tooltip: qsTr("Height of the distortion.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.distortionHeight + Layout.fillWidth: true + } + } + Label { + text: qsTr("Phase") + tooltip: qsTr("Phase of the distortion.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 360 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.distortionPhase + Layout.fillWidth: true + } + } + } + } + + Section { + id: centerSection + width: parent.width + caption: qsTr("Position") + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + ColumnLayout { + width: parent.width - 16 + + Label { + width: 100 + text: qsTr("Center") + tooltip: qsTr("Center of the distortion.") + } + RowLayout { + spacing: centerSection.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: centerSection.labelWidth + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.center_x + Layout.fillWidth: true + Layout.minimumWidth: centerSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: centerSection.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: centerSection.labelWidth + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.center_y + Layout.fillWidth: true + Layout.minimumWidth: centerSection.spinBoxMinimumWidth + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionRippleSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionRippleSpecifics.qml new file mode 100644 index 00000000..f653eb8b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionRippleSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + DistortionRippleSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSphereSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSphereSection.qml new file mode 100644 index 00000000..53ea1fdb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSphereSection.qml @@ -0,0 +1,126 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Distortion") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Radius") + tooltip: qsTr("Radius of the effect.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.radius + Layout.fillWidth: true + } + } + Label { + text: qsTr("Height") + tooltip: qsTr("Height of the distortion.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: -1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.distortionHeight + Layout.fillWidth: true + } + } + } + } + + Section { + id: centerSection + width: parent.width + caption: qsTr("Position") + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + ColumnLayout { + width: parent.width - 16 + + Label { + width: 100 + text: qsTr("Center") + tooltip: qsTr("Center of the distortion.") + } + RowLayout { + spacing: centerSection.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: centerSection.labelWidth + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.center_x + Layout.fillWidth: true + Layout.minimumWidth: centerSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: centerSection.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: centerSection.labelWidth + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.center_y + Layout.fillWidth: true + Layout.minimumWidth: centerSection.spinBoxMinimumWidth + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSphereSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSphereSpecifics.qml new file mode 100644 index 00000000..1fc3e4c2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSphereSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + DistortionSphereSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSpiralSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSpiralSection.qml new file mode 100644 index 00000000..c3395be8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSpiralSection.qml @@ -0,0 +1,125 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Distortion") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Radius") + tooltip: qsTr("Radius of the effect.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.radius + Layout.fillWidth: true + } + } + Label { + text: qsTr("Strength") + tooltip: qsTr("Strength of the distortion.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10 + minimumValue: -10 + decimals: 2 + backendValue: backendValues.distortionStrength + Layout.fillWidth: true + } + } + } + } + + Section { + id: centerSection + width: parent.width + caption: qsTr("Position") + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + ColumnLayout { + width: parent.width - 16 + + Label { + width: 100 + text: qsTr("Center") + tooltip: qsTr("Center of the distortion.") + } + RowLayout { + spacing: centerSection.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: centerSection.labelWidth + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.center_x + Layout.fillWidth: true + Layout.minimumWidth: centerSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: centerSection.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: centerSection.labelWidth + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.center_y + Layout.fillWidth: true + Layout.minimumWidth: centerSection.spinBoxMinimumWidth + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSpiralSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSpiralSpecifics.qml new file mode 100644 index 00000000..5efe1495 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSpiralSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + DistortionSpiralSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EdgeDetectSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EdgeDetectSection.qml new file mode 100644 index 00000000..e81a3ffd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EdgeDetectSection.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Edge") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Strength") + tooltip: qsTr("Strength of the edge.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.edgeStrength + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EdgeDetectSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EdgeDetectSpecifics.qml new file mode 100644 index 00000000..a5e76852 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EdgeDetectSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + EdgeDetectSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EffectSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EffectSection.qml new file mode 100644 index 00000000..fc71164c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EffectSection.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Effect") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Passes") + tooltip: qsTr("Render passes of the effect.") + } + SecondColumnLayout { + EditableListView { + backendValue: backendValues.passes + model: backendValues.passes.expressionAsList + Layout.fillWidth: true + typeFilter: "QtQuick3D.Pass" + + onAdd: function(value) { backendValues.passes.idListAdd(value) } + onRemove: function(idx) { backendValues.passes.idListRemove(idx) } + onReplace: function (idx, value) { backendValues.passes.idListReplace(idx, value) } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EffectSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EffectSpecifics.qml new file mode 100644 index 00000000..f337d42f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EffectSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + EffectSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EmbossSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EmbossSection.qml new file mode 100644 index 00000000..688f8555 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EmbossSection.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Emboss") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Strength of the emboss.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 0.01 + minimumValue: 0 + decimals: 4 + stepSize: 0.001 + backendValue: backendValues.amount + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EmbossSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EmbossSpecifics.qml new file mode 100644 index 00000000..781d78b9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EmbossSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + EmbossSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FlipSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FlipSection.qml new file mode 100644 index 00000000..a2f494d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FlipSection.qml @@ -0,0 +1,66 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Flip") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Horizontal") + tooltip: qsTr("Flip horizontally.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.flipHorizontally.valueToString + backendValue: backendValues.flipHorizontally + Layout.fillWidth: true + } + } + Label { + text: qsTr("Vertical") + tooltip: qsTr("Flip vertically.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.flipVertically.valueToString + backendValue: backendValues.flipVertically + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FlipSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FlipSpecifics.qml new file mode 100644 index 00000000..05b203e7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FlipSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + FlipSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FxaaSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FxaaSection.qml new file mode 100644 index 00000000..b3468d3b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FxaaSection.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + // Fxaa effect has no modifiable properties +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FxaaSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FxaaSpecifics.qml new file mode 100644 index 00000000..621e69be --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FxaaSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + FxaaSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/GaussianBlurSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/GaussianBlurSection.qml new file mode 100644 index 00000000..b4536cd5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/GaussianBlurSection.qml @@ -0,0 +1,57 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Blur") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Strength of the blur.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.amount + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/GaussianBlurSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/GaussianBlurSpecifics.qml new file mode 100644 index 00000000..114bac69 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/GaussianBlurSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + GaussianBlurSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/HDRBloomTonemapSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/HDRBloomTonemapSection.qml new file mode 100644 index 00000000..d5411c68 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/HDRBloomTonemapSection.qml @@ -0,0 +1,126 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Tonemap") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Gamma") + tooltip: qsTr("Amount of gamma.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 4 + minimumValue: 0.1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.gamma + Layout.fillWidth: true + } + } + Label { + text: qsTr("Exposure") + tooltip: qsTr("Amount of exposure.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9 + minimumValue: -9 + decimals: 2 + backendValue: backendValues.exposure + Layout.fillWidth: true + } + } + Label { + text: qsTr("Blur Falloff") + tooltip: qsTr("Amount of blur falloff.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.blurFalloff + Layout.fillWidth: true + } + } + Label { + text: qsTr("Tonemapping Lerp") + tooltip: qsTr("Tonemapping linear interpolation value.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.tonemappingLerp + Layout.fillWidth: true + } + } + Label { + text: qsTr("Bloom Threshold") + tooltip: qsTr("Bloom color threshold value.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 3 + stepSize: 0.1 + backendValue: backendValues.bloomThreshold + Layout.fillWidth: true + } + } + Label { + text: qsTr("Channel Threshold") + tooltip: qsTr("Channel color threshold value.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 3 + stepSize: 0.1 + backendValue: backendValues.channelThreshold + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/HDRBloomTonemapSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/HDRBloomTonemapSpecifics.qml new file mode 100644 index 00000000..a4411299 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/HDRBloomTonemapSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + HDRBloomTonemapSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/IdComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/IdComboBox.qml new file mode 100644 index 00000000..be341ae4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/IdComboBox.qml @@ -0,0 +1,123 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 as HelperWidgets + +HelperWidgets.ComboBox { + id: comboBox + + property alias typeFilter: itemFilterModel.typeFilter + + manualMapping: true + editable: true + model: comboBox.addDefaultItem(itemFilterModel.itemModel) + + textInput.validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ } + + HelperWidgets.ItemFilterModel { + id: itemFilterModel + modelNodeBackendProperty: modelNodeBackend + } + + property string defaultItem: qsTr("None") + property string textValue: comboBox.backendValue.expression + property bool block: false + property bool dirty: true + property var editRegExp: /^[a-z_]\w*/ + + onTextValueChanged: { + if (comboBox.block) + return + + comboBox.setCurrentText(comboBox.textValue) + } + onModelChanged: comboBox.setCurrentText(comboBox.textValue) + onCompressedActivated: comboBox.handleActivate(index) + Component.onCompleted: comboBox.setCurrentText(comboBox.textValue) + + onEditTextChanged: { + comboBox.dirty = true + colorLogic.errorState = !(editRegExp.exec(comboBox.editText) !== null + || comboBox.editText === parenthesize(defaultItem)) + } + onFocusChanged: { + if (comboBox.dirty) + comboBox.handleActivate(comboBox.currentIndex) + } + + function handleActivate(index) + { + if (!comboBox.__isCompleted || comboBox.backendValue === undefined) + return + + var cText = (index === -1) ? comboBox.editText : comboBox.textAt(index) + comboBox.block = true + comboBox.setCurrentText(cText) + comboBox.block = false + } + + function setCurrentText(text) + { + if (!comboBox.__isCompleted || comboBox.backendValue === undefined) + return + + comboBox.currentIndex = comboBox.find(text) + + if (text === "") { + comboBox.currentIndex = 0 + comboBox.editText = parenthesize(comboBox.defaultItem) + } else { + if (comboBox.currentIndex === -1) + comboBox.editText = text + else if (comboBox.currentIndex === 0) + comboBox.editText = parenthesize(comboBox.defaultItem) + } + + if (comboBox.currentIndex === 0) { + comboBox.backendValue.resetValue() + } else { + if (comboBox.backendValue.expression !== comboBox.editText) + comboBox.backendValue.expression = comboBox.editText + } + comboBox.dirty = false + } + + function addDefaultItem(arr) + { + var copy = arr.slice() + copy.unshift(parenthesize(comboBox.defaultItem)) + return copy + } + + function parenthesize(value) + { + return "[" + value + "]" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/MotionBlurSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/MotionBlurSection.qml new file mode 100644 index 00000000..48d37205 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/MotionBlurSection.qml @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Blur") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Fade Amount") + tooltip: qsTr("Specifies how much the blur fades away each frame.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.fadeAmount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Quality") + tooltip: qsTr("Blur quality.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0.1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.blurQuality + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/MotionBlurSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/MotionBlurSpecifics.qml new file mode 100644 index 00000000..2746f1b8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/MotionBlurSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + MotionBlurSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/SCurveTonemapSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/SCurveTonemapSection.qml new file mode 100644 index 00000000..044ada8b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/SCurveTonemapSection.qml @@ -0,0 +1,186 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Curve") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Shoulder Slope") + tooltip: qsTr("Set the slope of the curve shoulder.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 3 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.shoulderSlope + Layout.fillWidth: true + } + } + Label { + text: qsTr("Shoulder Emphasis") + tooltip: qsTr("Set the emphasis of the curve shoulder.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: -1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.shoulderEmphasis + Layout.fillWidth: true + } + } + Label { + text: qsTr("Toe Slope") + tooltip: qsTr("Set the slope of the curve toe.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 3 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.toeSlope + Layout.fillWidth: true + } + } + Label { + text: qsTr("Toe Emphasis") + tooltip: qsTr("Set the emphasis of the curve toe.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: -1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.toeEmphasis + Layout.fillWidth: true + } + } + } + } + Section { + caption: qsTr("Color") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Contrast Boost") + tooltip: qsTr("Set the contrast boost amount.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: -1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.contrastBoost + Layout.fillWidth: true + } + } + Label { + text: qsTr("Saturation Level") + tooltip: qsTr("Set the color saturation level.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.saturationLevel + Layout.fillWidth: true + } + } + Label { + text: qsTr("Gamma") + tooltip: qsTr("Set the gamma value.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 8 + minimumValue: 0.1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.gammaValue + Layout.fillWidth: true + } + } + Label { + text: qsTr("Use Exposure") + tooltip: qsTr("Specifies if the exposure or white point should be used.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.useExposure.valueToString + backendValue: backendValues.useExposure + Layout.fillWidth: true + } + } + Label { + text: qsTr("White Point") + tooltip: qsTr("Set the white point value.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 128 + minimumValue: 0.01 + decimals: 2 + backendValue: backendValues.whitePoint + Layout.fillWidth: true + } + } + Label { + text: qsTr("Exposure") + tooltip: qsTr("Set the exposure value.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 16 + minimumValue: 0.01 + decimals: 2 + backendValue: backendValues.exposureValue + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/SCurveTonemapSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/SCurveTonemapSpecifics.qml new file mode 100644 index 00000000..ab56628d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/SCurveTonemapSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + SCurveTonemapSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ScatterSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ScatterSection.qml new file mode 100644 index 00000000..acb59a55 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ScatterSection.qml @@ -0,0 +1,101 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Noise") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Noise Sample Texture") + tooltip: qsTr("Defines a texture for noise samples.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.noiseSample_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Scatter") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Amount of scatter.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 127 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Direction") + tooltip: qsTr("Direction of scatter. 0 = both, 1 = horizontal, 2 = vertical.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.direction + Layout.fillWidth: true + } + } + Label { + text: qsTr("Randomize") + tooltip: qsTr("Specifies if the scatter is random.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.randomize.valueToString + backendValue: backendValues.randomize + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ScatterSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ScatterSpecifics.qml new file mode 100644 index 00000000..df84649f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ScatterSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ScatterSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/TiltShiftSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/TiltShiftSection.qml new file mode 100644 index 00000000..ccc6ac56 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/TiltShiftSection.qml @@ -0,0 +1,107 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Tilt Shift") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Focus Position") + tooltip: qsTr("Set the focus position.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.focusPosition + Layout.fillWidth: true + } + } + Label { + text: qsTr("Focus Width") + tooltip: qsTr("Set the focus width.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.focusWidth + Layout.fillWidth: true + } + } + Label { + text: qsTr("Blur Amount") + tooltip: qsTr("Set the blur amount.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.blurAmount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Vertical") + tooltip: qsTr("Specifies if the tilt shift is vertical.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.isVertical.valueToString + backendValue: backendValues.isVertical + Layout.fillWidth: true + } + } + Label { + text: qsTr("Inverted") + tooltip: qsTr("Specifies if the tilt shift is inverted.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.isInverted.valueToString + backendValue: backendValues.isInverted + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/TiltShiftSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/TiltShiftSpecifics.qml new file mode 100644 index 00000000..014fe65d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/TiltShiftSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + TiltShiftSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/VignetteSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/VignetteSection.qml new file mode 100644 index 00000000..49e8629d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/VignetteSection.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Vignette") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Strength") + tooltip: qsTr("Set the vignette strength.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 15 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.vignetteStrength + Layout.fillWidth: true + } + } + Label { + text: qsTr("Radius") + tooltip: qsTr("Set the vignette radius.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 5 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.vignetteRadius + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Color") + width: parent.width + ColorEditor { + caption: qsTr("Vignette Color") + backendValue: backendValues.vignetteColor + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/VignetteSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/VignetteSpecifics.qml new file mode 100644 index 00000000..022cee3f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/VignetteSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + VignetteSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/effectlib.metainfo b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/effectlib.metainfo new file mode 100644 index 00000000..91224b3a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/effectlib.metainfo @@ -0,0 +1,420 @@ +MetaInfo { + Type { + name: "QtQuick3D.Effects.AdditiveColorGradient" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Additive Color Gradient" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.Blur" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Blur" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.BrushStrokes" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Brush Strokes" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.ChromaticAberration" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Chromatic Aberration" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.ColorMaster" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Color Master" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.DepthOfFieldHQBlur" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Depth of Field HQ Blur" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.Desaturate" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Desaturate" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.DistortionRipple" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Distortion Ripple" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.DistortionSphere" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Distortion Sphere" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.DistortionSpiral" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Distortion Spiral" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.EdgeDetect" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Edge Detect" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.Emboss" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Emboss" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.Flip" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Flip" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.Fxaa" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Fxaa" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.GaussianBlur" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Gaussian Blur" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.HDRBloomTonemap" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "HDR Bloom Tonemap" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.MotionBlur" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Motion Blur" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.Scatter" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Scatter" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.SCurveTonemap" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "SCurve Tonemap" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.TiltShift" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Tilt Shift" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.Vignette" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Vignette" + category: "Qt Quick 3D Effects" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + } + } + Type { + name: "QtQuick3D.Effects.Effect" + icon: "images/effect16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Effect" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/effect.png" + version: "1.15" + requiredImport: "QtQuick3D.Effects" + QmlSource { source: "./source/effect_template.qml" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect.png new file mode 100644 index 00000000..8f9f2880 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect16.png new file mode 100644 index 00000000..93fbc032 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect@2x.png new file mode 100644 index 00000000..204f50ec Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/source/effect_template.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/source/effect_template.qml new file mode 100644 index 00000000..501c9162 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/designer/source/effect_template.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Effects 1.15 + +Effect { + passes: renderPass + + Pass { + id: renderPass + shaders: [fragShader] + } + + Shader { + id: fragShader + stage: Shader.Fragment + shader: "/* Set to a fragment shader file */" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/maps/brushnoise.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/maps/brushnoise.png new file mode 100644 index 00000000..43e2034a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/maps/brushnoise.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/maps/white.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/maps/white.png new file mode 100644 index 00000000..dd0f1d23 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/maps/white.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/plugins.qmltypes new file mode 100644 index 00000000..1eb2369a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/plugins.qmltypes @@ -0,0 +1,24 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick3D.Effects 1.15' + +Module { + dependencies: [ + "QtQuick 2.15", + "QtQuick.Window 2.1", + "QtQuick3D 1.15", + "QtQuick3D.Materials 1.15" + ] + Component { + name: "QQuick3DEffect" + defaultProperty: "data" + prototype: "QQuick3DObject" + exports: ["QtQuick3D.Effects/Effect 1.15"] + exportMetaObjectRevisions: [0] + Property { name: "passes"; type: "QQuick3DShaderUtilsRenderPass"; isList: true; isReadonly: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/qmldir new file mode 100644 index 00000000..1af83390 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/qmldir @@ -0,0 +1,27 @@ +module QtQuick3D.Effects +plugin qtquick3deffectplugin +classname QtQuick3DEffectPlugin +AdditiveColorGradient 1.0 AdditiveColorGradient.qml +Blur 1.0 Blur.qml +BrushStrokes 1.0 BrushStrokes.qml +ChromaticAberration 1.0 ChromaticAberration.qml +ColorMaster 1.0 ColorMaster.qml +DepthOfFieldHQBlur 1.0 DepthOfFieldHQBlur.qml +Desaturate 1.0 Desaturate.qml +DistortionRipple 1.0 DistortionRipple.qml +DistortionSphere 1.0 DistortionSphere.qml +DistortionSpiral 1.0 DistortionSpiral.qml +EdgeDetect 1.0 EdgeDetect.qml +Emboss 1.0 Emboss.qml +Flip 1.0 Flip.qml +Fxaa 1.0 Fxaa.qml +GaussianBlur 1.0 GaussianBlur.qml +HDRBloomTonemap 1.0 HDRBloomTonemap.qml +MotionBlur 1.0 MotionBlur.qml +Scatter 1.0 Scatter.qml +SCurveTonemap 1.0 SCurveTonemap.qml +TiltShift 1.0 TiltShift.qml +Vignette 1.0 Vignette.qml +designersupported +depends QtQuick3D 1.15 +depends QtQuick.Window 2.1 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/qtquick3deffectplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/qtquick3deffectplugin.dll new file mode 100644 index 00000000..8fb42fc8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Effects/qtquick3deffectplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/AxisHelper.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/AxisHelper.qml new file mode 100644 index 00000000..b27b9454 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/AxisHelper.qml @@ -0,0 +1,119 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +Node { + id: axisGrid_obj + + property alias gridColor: gridMaterial.diffuseColor + property alias gridOpacity: gridMaterial.opacity + property alias enableXZGrid: gridXZ.visible + property alias enableXYGrid: gridXY.visible + property alias enableYZGrid: gridYZ.visible + property bool enableAxisLines: true + + // Axis Lines + Model { + id: xAxis + source: "#Cube" + position: Qt.vector3d(5000, 0, 0) + scale: Qt.vector3d(100, .05, .05) + visible: enableAxisLines + + materials: DefaultMaterial { + lighting: DefaultMaterial.NoLighting + diffuseColor: "red" + } + } + + Model { + id: yAxis + source: "#Cube" + position: Qt.vector3d(0, 5000, 0) + scale: Qt.vector3d(0.05, 100, 0.05) + visible: enableAxisLines + materials: DefaultMaterial { + lighting: DefaultMaterial.NoLighting + diffuseColor: "green" + } + } + + Model { + id: zAxis + source: "#Cube" + position: Qt.vector3d(0, 0, 5000) + scale: Qt.vector3d(0.05, 0.05, 100) + visible: enableAxisLines + materials: DefaultMaterial { + lighting: DefaultMaterial.NoLighting + diffuseColor: "blue" + } + } + + // Grid Lines + DefaultMaterial { + id: gridMaterial + lighting: DefaultMaterial.NoLighting + opacity: 0.5 + diffuseColor: Qt.rgba(0.8, 0.8, 0.8, 1) + } + + Model { + id: gridXZ + source: "meshes/axisGrid.mesh" + scale: Qt.vector3d(100, 100, 100) + materials: [ + gridMaterial + ] + } + + Model { + id: gridXY + visible: false + source: "meshes/axisGrid.mesh" + scale: Qt.vector3d(100, 100, 100) + eulerRotation: Qt.vector3d(90, 0, 0) + materials: [ + gridMaterial + ] + } + + Model { + id: gridYZ + visible: false + source: "meshes/axisGrid.mesh" + scale: Qt.vector3d(100, 100, 100) + eulerRotation: Qt.vector3d(0, 0, 90) + materials: [ + gridMaterial + ] + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/DebugView.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/DebugView.qml new file mode 100644 index 00000000..ed6b9d2b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/DebugView.qml @@ -0,0 +1,65 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +Rectangle { + property var source: null + width: layout.width + 10 + height: layout.height + 10 + color: "#80778BA5" + radius: 5 + + Column { + id: layout + anchors.centerIn: parent + + Text { + text: source.renderStats.fps + " FPS (" + (source.renderStats.frameTime).toFixed(3) + "ms)" + font.pointSize: 13 + color: "white" + } + Text { + text: "Sync: " + (source.renderStats.syncTime).toFixed(3) + "ms" + font.pointSize: 9 + color: "white" + } + Text { + text: "Render: " + (source.renderStats.renderTime).toFixed(3) + "ms" + font.pointSize: 9 + color: "white" + } + Text { + text: "Max: " + (source.renderStats.maxFrameTime).toFixed(3) + "ms" + font.pointSize: 9 + color: "white" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/WasdController.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/WasdController.qml new file mode 100644 index 00000000..5f508f62 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/WasdController.qml @@ -0,0 +1,320 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +Item { + id: root + property Node controlledObject: undefined + + property real speed: 1 + property real shiftSpeed: 3 + + property real forwardSpeed: 5 + property real backSpeed: 5 + property real rightSpeed: 5 + property real leftSpeed: 5 + property real upSpeed: 5 + property real downSpeed: 5 + property real xSpeed: 0.1 + property real ySpeed: 0.1 + + property bool xInvert: false + property bool yInvert: true + + property bool mouseEnabled: true + property bool keysEnabled: true + + readonly property bool inputsNeedProcessing: status.moveForward | status.moveBack + | status.moveLeft | status.moveRight + | status.moveUp | status.moveDown + | status.useMouse + + property alias acceptedButtons: dragHandler.acceptedButtons + + + + implicitWidth: parent.width + implicitHeight: parent.height + focus: keysEnabled + + DragHandler { + id: dragHandler + target: null + enabled: mouseEnabled + onCentroidChanged: { + mouseMoved(Qt.vector2d(centroid.position.x, centroid.position.y)); + } + + onActiveChanged: { + if (active) + mousePressed(Qt.vector2d(centroid.position.x, centroid.position.y)); + else + mouseReleased(Qt.vector2d(centroid.position.x, centroid.position.y)); + } + } + + Keys.onPressed: if (keysEnabled) handleKeyPress(event) + Keys.onReleased: if (keysEnabled) handleKeyRelease(event) + + function mousePressed(newPos) { + status.currentPos = newPos + status.lastPos = newPos + status.useMouse = true; + } + + function mouseReleased(newPos) { + status.useMouse = false; + } + + function mouseMoved(newPos) { + status.currentPos = newPos; + } + + function forwardPressed() { + status.moveForward = true + status.moveBack = false + } + + function forwardReleased() { + status.moveForward = false + } + + function backPressed() { + status.moveBack = true + status.moveForward = false + } + + function backReleased() { + status.moveBack = false + } + + function rightPressed() { + status.moveRight = true + status.moveLeft = false + } + + function rightReleased() { + status.moveRight = false + } + + function leftPressed() { + status.moveLeft = true + status.moveRight = false + } + + function leftReleased() { + status.moveLeft = false + } + + function upPressed() { + status.moveUp = true + status.moveDown = false + } + + function upReleased() { + status.moveUp = false + } + + function downPressed() { + status.moveDown = true + status.moveUp = false + } + + function downReleased() { + status.moveDown = false + } + + function shiftPressed() { + status.shiftDown = true + } + + function shiftReleased() { + status.shiftDown = false + } + + function handleKeyPress(event) + { + switch (event.key) { + case Qt.Key_W: + case Qt.Key_Up: + forwardPressed(); + break; + case Qt.Key_S: + case Qt.Key_Down: + backPressed(); + break; + case Qt.Key_A: + case Qt.Key_Left: + leftPressed(); + break; + case Qt.Key_D: + case Qt.Key_Right: + rightPressed(); + break; + case Qt.Key_R: + case Qt.Key_PageUp: + upPressed(); + break; + case Qt.Key_F: + case Qt.Key_PageDown: + downPressed(); + break; + case Qt.Key_Shift: + shiftPressed(); + break; + } + } + + function handleKeyRelease(event) + { + switch (event.key) { + case Qt.Key_W: + case Qt.Key_Up: + forwardReleased(); + break; + case Qt.Key_S: + case Qt.Key_Down: + backReleased(); + break; + case Qt.Key_A: + case Qt.Key_Left: + leftReleased(); + break; + case Qt.Key_D: + case Qt.Key_Right: + rightReleased(); + break; + case Qt.Key_R: + case Qt.Key_PageUp: + upReleased(); + break; + case Qt.Key_F: + case Qt.Key_PageDown: + downReleased(); + break; + case Qt.Key_Shift: + shiftReleased(); + break; + } + } + + Timer { + id: updateTimer + interval: 16 + repeat: true + running: root.inputsNeedProcessing + onTriggered: { + processInputs(); + } + } + + function processInputs() + { + if (root.inputsNeedProcessing) + status.processInput(); + } + + QtObject { + id: status + + property bool moveForward: false + property bool moveBack: false + property bool moveLeft: false + property bool moveRight: false + property bool moveUp: false + property bool moveDown: false + property bool shiftDown: false + property bool useMouse: false + + property vector2d lastPos: Qt.vector2d(0, 0) + property vector2d currentPos: Qt.vector2d(0, 0) + + function updatePosition(vector, speed, position) + { + if (shiftDown) + speed *= shiftSpeed; + else + speed *= root.speed + + var direction = vector; + var velocity = Qt.vector3d(direction.x * speed, + direction.y * speed, + direction.z * speed); + controlledObject.position = Qt.vector3d(position.x + velocity.x, + position.y + velocity.y, + position.z + velocity.z); + } + + function negate(vector) { + return Qt.vector3d(-vector.x, -vector.y, -vector.z) + } + + function processInput() { + if (controlledObject == undefined) + return; + + if (moveForward) + updatePosition(controlledObject.forward, forwardSpeed, controlledObject.position); + else if (moveBack) + updatePosition(negate(controlledObject.forward), backSpeed, controlledObject.position); + + if (moveRight) + updatePosition(controlledObject.right, rightSpeed, controlledObject.position); + else if (moveLeft) + updatePosition(negate(controlledObject.right), leftSpeed, controlledObject.position); + + if (moveDown) + updatePosition(negate(controlledObject.up), downSpeed, controlledObject.position); + else if (moveUp) + updatePosition(controlledObject.up, upSpeed, controlledObject.position); + + if (useMouse) { + // Get the delta + var rotationVector = controlledObject.eulerRotation; + var delta = Qt.vector2d(lastPos.x - currentPos.x, + lastPos.y - currentPos.y); + // rotate x + var rotateX = delta.x * xSpeed + if (xInvert) + rotateX = -rotateX; + rotationVector.y += rotateX; + + // rotate y + var rotateY = delta.y * -ySpeed + if (yInvert) + rotateY = -rotateY; + rotationVector.x += rotateY; + controlledObject.setEulerRotation(rotationVector); + lastPos = currentPos; + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/meshes/axisGrid.mesh b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/meshes/axisGrid.mesh new file mode 100644 index 00000000..c1868883 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/meshes/axisGrid.mesh differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/plugins.qmltypes new file mode 100644 index 00000000..8b6293db --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/plugins.qmltypes @@ -0,0 +1,71 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick3D.Helpers 1.15' + +Module { + dependencies: [ + "QtQuick 2.15", + "QtQuick.Window 2.1", + "QtQuick3D 1.15", + "QtQuick3D.Effects 1.15", + "QtQuick3D.Materials 1.15" + ] + Component { + name: "GridGeometry" + defaultProperty: "data" + prototype: "QQuick3DGeometry" + exports: ["QtQuick3D.Helpers/GridGeometry 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "horizontalLines"; type: "int" } + Property { name: "verticalLines"; type: "int" } + Property { name: "horizontalStep"; type: "float" } + Property { name: "verticalStep"; type: "float" } + Method { + name: "setHorizontalLines" + Parameter { name: "count"; type: "int" } + } + Method { + name: "setVerticalLines" + Parameter { name: "count"; type: "int" } + } + Method { + name: "setHorizontalStep" + Parameter { name: "step"; type: "float" } + } + Method { + name: "setVerticalStep" + Parameter { name: "step"; type: "float" } + } + } + Component { + name: "PointerPlane" + defaultProperty: "data" + prototype: "QQuick3DNode" + exports: ["QtQuick3D.Helpers/PointerPlane 1.14"] + exportMetaObjectRevisions: [0] + Method { + name: "getIntersectPos" + type: "QVector3D" + Parameter { name: "rayPos0"; type: "QVector3D" } + Parameter { name: "rayPos1"; type: "QVector3D" } + Parameter { name: "planePos"; type: "QVector3D" } + Parameter { name: "planeNormal"; type: "QVector3D" } + } + Method { + name: "getIntersectPosFromSceneRay" + type: "QVector3D" + Parameter { name: "rayPos0"; type: "QVector3D" } + Parameter { name: "rayPos1"; type: "QVector3D" } + } + Method { + name: "getIntersectPosFromView" + type: "QVector3D" + Parameter { name: "view"; type: "QQuick3DViewport"; isPointer: true } + Parameter { name: "posInView"; type: "QPointF" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/qmldir new file mode 100644 index 00000000..93ebcd02 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/qmldir @@ -0,0 +1,8 @@ +module QtQuick3D.Helpers +plugin qtquick3dhelpersplugin +classname QtQuick3DHelpersPlugin +AxisHelper 1.0 AxisHelper.qml +DebugView 1.0 DebugView.qml +WasdController 1.0 WasdController.qml +designersupported +depends QtQuick3D 1.0 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/qtquick3dhelpersplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/qtquick3dhelpersplugin.dll new file mode 100644 index 00000000..ec1507d4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Helpers/qtquick3dhelpersplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumAnodizedEmissiveMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumAnodizedEmissiveMaterial.qml new file mode 100644 index 00000000..c8294644 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumAnodizedEmissiveMaterial.qml @@ -0,0 +1,104 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real roughness: 0.3 + property vector3d base_color: Qt.vector3d(0.7, 0.7, 0.7) + property real intensity: 1.0 + property vector3d emission_color: Qt.vector3d(0, 0, 0) + + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy + } + + property TextureInput emissive_texture: TextureInput { + id: emissiveTexture + enabled: true + texture: Texture { + id: emissiveImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/emissive.png" + } + } + + property TextureInput emissive_mask_texture: TextureInput { + id: emissiveMaskTexture + enabled: true + texture: Texture { + id: emissiveMaskImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/emissive_mask.png" + } + } + + property TextureInput uEnvironmentTexture: TextureInput { + id: uEnvironmentTexture + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/shadow.png" + } + } + + Shader { + id: aluminumAnodizedEmissiveShader + stage: Shader.Fragment + shader: "shaders/aluminumAnodizedEmissive.frag" + } + + passes: [ + Pass { + shaders: aluminumAnodizedEmissiveShader + } + ] + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumAnodizedMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumAnodizedMaterial.qml new file mode 100644 index 00000000..c5a9c425 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumAnodizedMaterial.qml @@ -0,0 +1,77 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real roughness: 0.3 + property vector3d base_color: Qt.vector3d(0.7, 0.7, 0.7) + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy + } + + property TextureInput uEnvironmentTexture: TextureInput { + id: uEnvironmentTexture + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/shadow.png" + } + } + + Shader { + id: aluminumAnodizedShader + stage: Shader.Fragment + shader: "shaders/aluminumAnodized.frag" + } + + passes: [ + Pass { + shaders: aluminumAnodizedShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumBrushedMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumBrushedMaterial.qml new file mode 100644 index 00000000..3a57d40d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumBrushedMaterial.qml @@ -0,0 +1,126 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property vector3d tiling: Qt.vector3d(3, 3, 3) + property real brushing_strength: 0.5 + property real reflection_stretch: 0.5 + property vector3d metal_color: Qt.vector3d(0.95, 0.95, 0.95) + property real bump_amount: 0.4 + +// +// + + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy + } + + + property TextureInput uEnvironmentTexture: TextureInput { + id: uEnvironmentTexture + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/shadow.png" + } + } + + property TextureInput brush_texture: TextureInput { + enabled: true + texture: Texture { + id: brushTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/brushed_full_contrast.png" + } + } + + property TextureInput roughness_texture_u: TextureInput { + enabled: true + texture: Texture { + id: roughnessUTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/brushed_full_contrast.png" + } + } + + property TextureInput roughness_texture_v: TextureInput { + enabled: true + texture: Texture { + id: roughnessVTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/brushed_full_contrast.png" + } + } + + + property TextureInput bump_texture: TextureInput { + enabled: true + texture: Texture { + id: bumpTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/brushed_a.png" + } + } + + Shader { + id: aluminumBrushedFragShader + stage: Shader.Fragment + shader: "shaders/aluminumBrushed.frag" + } + + passes: [ + Pass { + shaders: aluminumBrushedFragShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumEmissiveMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumEmissiveMaterial.qml new file mode 100644 index 00000000..ead75173 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumEmissiveMaterial.qml @@ -0,0 +1,137 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real reflection_map_offset: 0.5 + property real reflection_map_scale: 0.3 + property vector3d tiling: Qt.vector3d(1, 1, 1) + property real roughness_map_offset: 0.16 + property real roughness_map_scale: 0.4 + property vector3d metal_color: Qt.vector3d(0.95, 0.95, 0.95) + property real intensity: 1.0 + property vector3d emission_color: Qt.vector3d(0, 0, 0) + property vector3d emissive_mask_offset: Qt.vector3d(0, 0, 0) + property real bump_amount: 0.5 + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy + } + + property TextureInput uEnvironmentTexture: TextureInput { + id: uEnvironmentTexture + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/shadow.png" + } + } + + property TextureInput reflection_texture: TextureInput { + enabled: true + texture: Texture { + id: reflectionTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/grunge_b.png" + } + } + + property TextureInput roughness_texture: TextureInput { + enabled: true + texture: Texture { + id: roughnessTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/grunge_d.png" + } + } + + property TextureInput emissive_texture: TextureInput { + id: emissiveTexture + enabled: true + texture: Texture { + id: emissiveImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/emissive.png" + } + } + + property TextureInput emissive_mask_texture: TextureInput { + id: emissiveMaskTexture + enabled: true + texture: Texture { + id: emissiveMaskImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/emissive_mask.png" + } + } + + property TextureInput bump_texture: TextureInput { + enabled: true + texture: Texture { + id: bumpTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/grunge_d.png" + } + } + + Shader { + id: aluminumEmissiveShader + stage: Shader.Fragment + shader: "shaders/aluminumEmissive.frag" + } + + passes: [ + Pass { + shaders: aluminumEmissiveShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumMaterial.qml new file mode 100644 index 00000000..ecddb272 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumMaterial.qml @@ -0,0 +1,109 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + property real reflection_map_offset: 0.5 + property real reflection_map_scale: 0.3 + property real roughness_map_offset: 0.16 + property real roughness_map_scale: 0.4 + property real bump_amount: 0.5 + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property vector3d tiling: Qt.vector3d(1, 1, 1) + property vector3d metal_color: Qt.vector3d(0.95, 0.95, 0.95) + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy + } + + property TextureInput uEnvironmentTexture: TextureInput { + id: uEnvironmentTexture + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/shadow.png" + } + } + property TextureInput reflection_texture: TextureInput { + enabled: true + texture: Texture { + id: reflectionTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/grunge_b.png" + } + } + property TextureInput roughness_texture: TextureInput { + enabled: true + texture: Texture { + id: roughnessTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/grunge_d.png" + } + } + property TextureInput bump_texture: TextureInput { + enabled: true + texture: Texture { + id: bumpTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/grunge_d.png" + } + } + + Shader { + id: aluminumFragShader + stage: Shader.Fragment + shader: "shaders/aluminum.frag" + } + + passes: [ + Pass { + shaders: aluminumFragShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/CopperMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/CopperMaterial.qml new file mode 100644 index 00000000..b01692a1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/CopperMaterial.qml @@ -0,0 +1,72 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + // These properties names need to match the ones in the shader code! + property bool uEnvironmentMappingEnabled: false + property bool uShadowMappingEnabled: false + property real roughness: 0.0 + property vector3d metal_color: Qt.vector3d(0.805, 0.395, 0.305) + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy + } + + property TextureInput uEnvironmentTexture: TextureInput { + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + + Shader { + id: copperFragShader + stage: Shader.Fragment + shader: "shaders/copper.frag" + } + + passes: [ Pass { + shaders: copperFragShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/FrostedGlassMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/FrostedGlassMaterial.qml new file mode 100644 index 00000000..a3488e74 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/FrostedGlassMaterial.qml @@ -0,0 +1,236 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + // These properties names need to match the ones in the shader code! + property real roughness: 0.0 + property real blur_size: 8.0 + property real refract_depth: 5 + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real glass_bfactor: 0.0 + property bool glass_binside: false + property real uFresnelPower: 1.0 + property real reflectivity_amount: 1.0 + property real glass_ior: 1.5 + property real intLightFall: 2.0 + property real intLightRot: 0.0 + property real intLightBrt: 0.0 + property real bumpScale: 0.5 + property int bumpBands: 1 + property vector3d bumpCoords: Qt.vector3d(1.0, 1.0, 1.0) + property vector2d intLightPos: Qt.vector2d(0.5, 0.0) + property vector3d glass_color: Qt.vector3d(0.9, 0.9, 0.9) + property vector3d intLightCol: Qt.vector3d(0.9, 0.9, 0.9) + hasTransparency: true + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Refraction | ShaderInfo.Glossy + } + + property TextureInput glass_bump: TextureInput { + enabled: true + texture: Texture { + id: glassBumpMap + source: "maps/spherical_checker.png" + } + } + + property TextureInput uEnvironmentTexture: TextureInput { + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + property TextureInput randomGradient1D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient1D.png" + } + } + property TextureInput randomGradient2D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient2D.png" + } + } + property TextureInput randomGradient3D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient3D.png" + } + } + property TextureInput randomGradient4D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient4D.png" + } + } + + Shader { + id: mainShader + stage: Shader.Fragment + shader: "shaders/frostedThinGlass.frag" + } + Shader { + id: noopShader + stage: Shader.Fragment + shader: "shaders/frostedThinGlassNoop.frag" + } + Shader { + id: preBlurShader + stage: Shader.Fragment + shader: "shaders/frostedThinGlassPreBlur.frag" + } + Shader { + id: blurXShader + stage: Shader.Fragment + shader: "shaders/frostedThinGlassBlurX.frag" + } + Shader { + id: blurYShader + stage: Shader.Fragment + shader: "shaders/frostedThinGlassBlurY.frag" + } + + Buffer { + id: frameBuffer + name: "frameBuffer" + format: Buffer.Unknown + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + sizeMultiplier: 1.0 + bufferFlags: Buffer.None // aka frame + } + + Buffer { + id: dummyBuffer + name: "dummyBuffer" + format: Buffer.RGBA8 + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + sizeMultiplier: 1.0 + bufferFlags: Buffer.None // aka frame + } + + Buffer { + id: tempBuffer + name: "tempBuffer" + format: Buffer.RGBA16F + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + sizeMultiplier: 0.5 + bufferFlags: Buffer.None // aka frame + } + + Buffer { + id: blurYBuffer + name: "tempBlurY" + format: Buffer.RGBA16F + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + sizeMultiplier: 0.5 + bufferFlags: Buffer.None // aka frame + } + + Buffer { + id: blurXBuffer + name: "tempBlurX" + format: Buffer.RGBA16F + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + sizeMultiplier: 0.5 + bufferFlags: Buffer.None // aka frame + } + + passes: [ Pass { + shaders: noopShader + output: dummyBuffer + commands: [ BufferBlit { + destination: frameBuffer + } + ] + }, Pass { + shaders: preBlurShader + output: tempBuffer + commands: [ BufferInput { + buffer: frameBuffer + param: "OriginBuffer" + } + ] + }, Pass { + shaders: blurXShader + output: blurXBuffer + commands: [ BufferInput { + buffer: tempBuffer + param: "BlurBuffer" + } + ] + }, Pass { + shaders: blurYShader + output: blurYBuffer + commands: [ BufferInput { + buffer: blurXBuffer + param: "BlurBuffer" + }, BufferInput { + buffer: tempBuffer + param: "OriginBuffer" + } + ] + }, Pass { + shaders: mainShader + commands: [BufferInput { + buffer: blurYBuffer + param: "refractiveTexture" + }, Blending { + srcBlending: Blending.SrcAlpha + destBlending: Blending.OneMinusSrcAlpha + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/FrostedGlassSinglePassMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/FrostedGlassSinglePassMaterial.qml new file mode 100644 index 00000000..fc8ccdbf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/FrostedGlassSinglePassMaterial.qml @@ -0,0 +1,129 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + property real roughness: 0.0 + property real blur_size: 8.0 + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real uFresnelPower: 1.0 + property real reflectivity_amount: 1.0 + property real glass_ior: 1.5 + property real bumpScale: 0.5 + property real noiseScale: 2.0 + property int bumpBands: 1 + property vector3d noiseCoords: Qt.vector3d(1.0, 1.0, 1.0) + property vector3d bumpCoords: Qt.vector3d(1.0, 1.0, 1.0) + property vector3d glass_color: Qt.vector3d(0.9, 0.9, 0.9) + hasTransparency: true + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Refraction | ShaderInfo.Glossy + } + + property TextureInput uEnvironmentTexture: TextureInput { + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + property TextureInput randomGradient1D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient1D.png" + } + } + property TextureInput randomGradient2D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient2D.png" + } + } + property TextureInput randomGradient3D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient3D.png" + } + } + property TextureInput randomGradient4D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient4D.png" + } + } + + Shader { + id: frostedGlassSpFragShader + stage: Shader.Fragment + shader: "shaders/frostedThinGlassSp.frag" + } + + Buffer { + id: tempBuffer + name: "temp_buffer" + format: Buffer.Unknown + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + sizeMultiplier: 1.0 + bufferFlags: Buffer.None // aka frame + } + + passes: [ Pass { + shaders: frostedGlassSpFragShader + commands: [ BufferBlit { + destination: tempBuffer + }, BufferInput { + buffer: tempBuffer + param: "refractiveTexture" + }, Blending { + srcBlending: Blending.SrcAlpha + destBlending: Blending.OneMinusSrcAlpha + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/GlassMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/GlassMaterial.qml new file mode 100644 index 00000000..82e876d5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/GlassMaterial.qml @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + // These properties names need to match the ones in the shader code! + property bool uEnvironmentMappingEnabled: false + property bool uShadowMappingEnabled: false + property real uFresnelPower: 1.0 + property real uMinOpacity: 0.5 + property real reflectivity_amount: 0.5 + property real glass_ior: 1.5 + property vector3d glass_color: Qt.vector3d(0.6, 0.6, 0.6) + hasTransparency: true + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Transparent | ShaderInfo.Glossy + } + + property TextureInput uEnvironmentTexture: TextureInput { + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + + Shader { + id: simpleGlassFragShader + stage: Shader.Fragment + shader: "shaders/simpleGlass.frag" + } + + passes: [ Pass { + shaders: simpleGlassFragShader + commands: [ Blending { + srcBlending: Blending.SrcAlpha + destBlending: Blending.OneMinusSrcAlpha + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/GlassRefractiveMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/GlassRefractiveMaterial.qml new file mode 100644 index 00000000..de89521b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/GlassRefractiveMaterial.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + // These properties names need to match the ones in the shader code! + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real uFresnelPower: 1.0 + property real reflectivity_amount: 1.0 + property real glass_ior: 1.5 + property real roughness: 0.0 + property vector3d glass_color: Qt.vector3d(0.9, 0.9, 0.9) + hasTransparency: true + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Refraction | ShaderInfo.Glossy + } + + property TextureInput uEnvironmentTexture: TextureInput { + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + + Shader { + id: simpleGlassRefractiveFragShader + stage: Shader.Fragment + shader: "shaders/simpleGlassRefractive.frag" + } + + Buffer { + id: tempBuffer + name: "temp_buffer" + format: Buffer.Unknown + textureFilterOperation: Buffer.Linear + textureCoordOperation: Buffer.ClampToEdge + sizeMultiplier: 1.0 + bufferFlags: Buffer.None // aka frame + } + + passes: [ Pass { + shaders: simpleGlassRefractiveFragShader + commands: [ BufferBlit { + destination: tempBuffer + }, BufferInput { + buffer: tempBuffer + param: "refractiveTexture" + }, Blending { + srcBlending: Blending.SrcAlpha + destBlending: Blending.OneMinusSrcAlpha + } + ] + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PaperArtisticMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PaperArtisticMaterial.qml new file mode 100644 index 00000000..18d927a6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PaperArtisticMaterial.qml @@ -0,0 +1,101 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + // These properties names need to match the ones in the shader code! + property bool uEnvironmentMappingEnabled: false + property bool uShadowMappingEnabled: false + property real bump_amount: 0.5 + property real uTranslucentFalloff: 0.0 + property real uDiffuseLightWrap: 0.0 + property real uOpacity: 100.0 + property real transmission_weight: 0.2 + property real reflection_weight: 0.8 + property vector2d texture_tiling: Qt.vector2d(5.0, 5.0) + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Transmissive | ShaderInfo.Diffuse + } + + property TextureInput uEnvironmentTexture: TextureInput { + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + property TextureInput diffuse_texture: TextureInput { + enabled: true + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/paper_diffuse.png" + } + } + property TextureInput bump_texture: TextureInput { + enabled: true + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/art_paper_normal.png" + } + } + property TextureInput transmission_texture: TextureInput { + enabled: true + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/art_paper_trans.png" + } + } + + Shader { + id: paperArtisticFragShader + stage: Shader.Fragment + shader: "shaders/paperArtistic.frag" + } + + passes: [ Pass { + shaders: paperArtisticFragShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PaperOfficeMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PaperOfficeMaterial.qml new file mode 100644 index 00000000..6e55ddf3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PaperOfficeMaterial.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + // These properties names need to match the ones in the shader code! + property bool uShadowMappingEnabled: false + property real bump_amount: 0.5 + property real uTranslucentFalloff: 0.0 + property real uDiffuseLightWrap: 0.0 + property real uOpacity: 100.0 + property real transmission_weight: 0.2 + property real reflection_weight: 0.8 + property vector2d texture_tiling: Qt.vector2d(1.0, 1.0) + property vector3d paper_color: Qt.vector3d(0.531, 0.531, 0.531) + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Transmissive | ShaderInfo.Diffuse + } + + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + property TextureInput diffuse_texture: TextureInput { + enabled: true + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/paper_diffuse.png" + } + } + property TextureInput bump_texture: TextureInput { + enabled: true + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/paper_diffuse.png" + } + } + property TextureInput transmission_texture: TextureInput { + enabled: true + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/paper_trans.png" + } + } + + Shader { + id: paperOfficeFragShader + stage: Shader.Fragment + shader: "shaders/paperOffice.frag" + } + + passes: [ Pass { + shaders: paperOfficeFragShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PlasticStructuredRedEmissiveMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PlasticStructuredRedEmissiveMaterial.qml new file mode 100644 index 00000000..72cef762 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PlasticStructuredRedEmissiveMaterial.qml @@ -0,0 +1,125 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + // These properties names need to match the ones in the shader code! + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real roughness: 0.25 + property real material_ior: 1.46 + property real intensity: 1.0 + property real texture_scaling: 0.1 + property real bump_factor: 0.4 + property vector3d diffuse_color: Qt.vector3d(0.451, 0.04, 0.035) + property vector3d emission_color: Qt.vector3d(0.0, 0.0, 0.0) + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy | ShaderInfo.Diffuse + } + + property TextureInput uEnvironmentTexture: TextureInput { + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + property TextureInput emissive_texture: TextureInput { + id: emissiveTexture + enabled: true + texture: Texture { + id: emissiveImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/emissive.png" + } + } + property TextureInput emissive_mask_texture: TextureInput { + id: emissiveMaskTexture + enabled: true + texture: Texture { + id: emissiveMaskImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/emissive_mask.png" + } + } + property TextureInput randomGradient1D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient1D.png" + } + } + property TextureInput randomGradient2D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient2D.png" + } + } + property TextureInput randomGradient3D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient3D.png" + } + } + property TextureInput randomGradient4D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient4D.png" + } + } + + Shader { + id: plasticStructuredRedEmissiveFragShader + stage: Shader.Fragment + shader: "shaders/plasticStructuredRedEmissive.frag" + } + + passes: [ Pass { + shaders: plasticStructuredRedEmissiveFragShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PlasticStructuredRedMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PlasticStructuredRedMaterial.qml new file mode 100644 index 00000000..ea71d6c7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/PlasticStructuredRedMaterial.qml @@ -0,0 +1,104 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + // These properties names need to match the ones in the shader code! + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real roughness: 0.25 + property real material_ior: 1.46 + property real intensity: 1.0 + property real texture_scaling: 0.1 + property real bump_factor: 0.4 + property vector3d diffuse_color: Qt.vector3d(0.451, 0.04, 0.035) + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy | ShaderInfo.Diffuse + } + + property TextureInput uEnvironmentTexture: TextureInput { + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + source: "maps/shadow.png" + } + } + property TextureInput randomGradient1D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient1D.png" + } + } + property TextureInput randomGradient2D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient2D.png" + } + } + property TextureInput randomGradient3D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient3D.png" + } + } + property TextureInput randomGradient4D: TextureInput { + texture: Texture { + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/randomGradient4D.png" + } + } + + Shader { + id: plasticStructuredRedFragShader + stage: Shader.Fragment + shader: "shaders/plasticStructuredRed.frag" + } + + passes: [ Pass { + shaders: plasticStructuredRedFragShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/SteelMilledConcentricMaterial.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/SteelMilledConcentricMaterial.qml new file mode 100644 index 00000000..2dfebc2f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/SteelMilledConcentricMaterial.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + property bool uEnvironmentMappingEnabled: true + property bool uShadowMappingEnabled: false + property real material_ior: 2.5 + property real anisotropy: 0.8 + property vector2d texture_tiling: Qt.vector2d(8, 5) + + shaderInfo: ShaderInfo { + version: "330" + type: "GLSL" + shaderKey: ShaderInfo.Glossy + } + + property TextureInput uEnvironmentTexture: TextureInput { + id: uEnvironmentTexture + enabled: uEnvironmentMappingEnabled + texture: Texture { + id: envImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/spherical_checker.png" + } + } + property TextureInput uBakedShadowTexture: TextureInput { + enabled: uShadowMappingEnabled + texture: Texture { + id: shadowImage + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/shadow.png" + } + } + property TextureInput diffuse_texture: TextureInput { + enabled: true + texture: Texture { + id: diffuseTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/concentric_milled_steel.png" + } + } + property TextureInput anisotropy_rot_texture: TextureInput { + enabled: true + texture: Texture { + id: anisoTexture + tilingModeHorizontal: Texture.Repeat + tilingModeVertical: Texture.Repeat + source: "maps/concentric_milled_steel_aniso.png" + } + } + + Shader { + id: steelMilledConcentricFragShader + stage: Shader.Fragment + shader: "shaders/steelMilledConcentric.frag" + } + + passes: [ + Pass { + shaders: steelMilledConcentricFragShader + } + ] +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedEmissiveMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedEmissiveMaterialSection.qml new file mode 100644 index 00000000..fda6cb61 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedEmissiveMaterialSection.qml @@ -0,0 +1,188 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Emission") + width: parent.width + SectionLayout { + Label { + text: qsTr("Intensity") + tooltip: qsTr("Set the emission intensity.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.intensity + Layout.fillWidth: true + } + } + Label { + text: qsTr("Map Texture") + tooltip: qsTr("Defines a texture for emissive map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.emissive_texture_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("MaskTexture") + tooltip: qsTr("Defines a texture for emissive mask.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.emissive_mask_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Emission Color") + width: parent.width + ColorEditor { + caption: qsTr("Emission Color") + backendValue: backendValues.emission_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Base Color") + width: parent.width + ColorEditor { + caption: qsTr("Base Color") + backendValue: backendValues.base_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Roughness") + tooltip: qsTr("Set the material roughness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedEmissiveMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedEmissiveMaterialSpecifics.qml new file mode 100644 index 00000000..f8cb4fa0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedEmissiveMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AluminumAnodizedEmissiveMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedMaterialSection.qml new file mode 100644 index 00000000..579ab5c3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedMaterialSection.qml @@ -0,0 +1,131 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Base Color") + width: parent.width + ColorEditor { + caption: qsTr("Base Color") + backendValue: backendValues.base_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Roughness") + tooltip: qsTr("Set the material roughness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedMaterialSpecifics.qml new file mode 100644 index 00000000..891a2aa2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AluminumAnodizedMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumBrushedMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumBrushedMaterialSection.qml new file mode 100644 index 00000000..71530438 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumBrushedMaterialSection.qml @@ -0,0 +1,301 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 +import StudioTheme 1.0 as StudioTheme + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Metal Color") + width: parent.width + ColorEditor { + caption: qsTr("Metal Color") + backendValue: backendValues.metal_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Roughness") + width: parent.width + SectionLayout { + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a horizontal texture for roughness map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.roughness_texture_u_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a vertical texture for roughness map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.roughness_texture_v_texture + defaultItem: qsTr("Default") + } + } + } + } + Section { + caption: qsTr("Reflection") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Stretch") + tooltip: qsTr("Set the material reflection stretch.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflection_stretch + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a vertical texture for roughness map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.roughness_texture_v_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Brush") + width: parent.width + + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Strenght") + tooltip: qsTr("Set the strength of the brush strokes.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.brushing_strength + Layout.fillWidth: true + } + } + } + ColumnLayout { + width: parent.width + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Tiling") + tooltip: qsTr("Sets the tiling repeat of the brush map.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_z + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + } + + Section { + caption: qsTr("Bump") + width: parent.width + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Set the bump map bumpiness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bump_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for bump map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.bump_texture_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumBrushedMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumBrushedMaterialSpecifics.qml new file mode 100644 index 00000000..94da0a5c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumBrushedMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AluminumBrushedMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumEmissiveMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumEmissiveMaterialSection.qml new file mode 100644 index 00000000..87b2bfe5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumEmissiveMaterialSection.qml @@ -0,0 +1,430 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 +import StudioTheme 1.0 as StudioTheme + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Emission") + width: parent.width + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Intensity") + tooltip: qsTr("Set the emission intensity.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.intensity + Layout.fillWidth: true + } + } + Label { + text: qsTr("Map Texture") + tooltip: qsTr("Defines a texture for emissive map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.emissive_texture_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("MaskTexture") + tooltip: qsTr("Defines a texture for emissive mask.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.emissive_mask_texture_texture + defaultItem: qsTr("Default") + } + } + } + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Mask Offset") + tooltip: qsTr("Sets the mask offset of emissive map.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + width: parent.width + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.emissive_mask_offset_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.emissive_mask_offset_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.emissive_mask_offset_z + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + + Section { + caption: qsTr("Emission Color") + width: parent.width + ColorEditor { + caption: qsTr("Emission Color") + backendValue: backendValues.emission_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Metal Color") + width: parent.width + ColorEditor { + caption: qsTr("Metal Color") + backendValue: backendValues.metal_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Roughness") + width: parent.width + SectionLayout { + Label { + text: qsTr("Map Offset") + tooltip: qsTr("Set the material roughness map offset.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness_map_offset + Layout.fillWidth: true + } + } + Label { + text: qsTr("Map scale") + tooltip: qsTr("Set the material roughness map scale.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness_map_scale + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for roughness map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.roughness_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + Section { + caption: qsTr("Reflection") + width: parent.width + + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Map Offset") + tooltip: qsTr("Set the material reclection map offset.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflection_map_offset + Layout.fillWidth: true + } + } + Label { + text: qsTr("Map scale") + tooltip: qsTr("Set the material reclection map scale.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflection_map_scale + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for reflection map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.reflection_texture_texture + defaultItem: qsTr("Default") + } + } + } + + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Tiling") + tooltip: qsTr("Sets the tiling repeat of the reflection map.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_z + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + Section { + caption: qsTr("Bump") + width: parent.width + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Set the bump map bumpiness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bump_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for bump map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.bump_texture_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumEmissiveMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumEmissiveMaterialSpecifics.qml new file mode 100644 index 00000000..577f0eaf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumEmissiveMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AluminumEmissiveMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumMaterialSection.qml new file mode 100644 index 00000000..2f338193 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumMaterialSection.qml @@ -0,0 +1,306 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 +import StudioTheme 1.0 as StudioTheme + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Metal Color") + width: parent.width + ColorEditor { + caption: qsTr("Metal Color") + backendValue: backendValues.metal_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Roughness") + width: parent.width + SectionLayout { + Label { + text: qsTr("Map Offset") + tooltip: qsTr("Set the material roughness map offset.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness_map_offset + Layout.fillWidth: true + } + } + Label { + text: qsTr("Map scale") + tooltip: qsTr("Set the material roughness map scale.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness_map_scale + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for roughness map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.roughness_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + Section { + caption: qsTr("Reflection") + width: parent.width + + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Map Offset") + tooltip: qsTr("Set the material reclection map offset.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflection_map_offset + Layout.fillWidth: true + } + } + Label { + text: qsTr("Map scale") + tooltip: qsTr("Set the material reclection map scale.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflection_map_scale + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for reflection map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.reflection_texture_texture + defaultItem: qsTr("Default") + } + } + } + + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Tiling") + tooltip: qsTr("Sets the tiling repeat of the reflection map.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.tiling_z + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + Section { + caption: qsTr("Bump") + width: parent.width + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Set the bump map bumpiness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bump_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for bump map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.bump_texture_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumMaterialSpecifics.qml new file mode 100644 index 00000000..642c07c2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + AluminumMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CopperMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CopperMaterialSection.qml new file mode 100644 index 00000000..345622fb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CopperMaterialSection.qml @@ -0,0 +1,131 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Metal Color") + width: parent.width + ColorEditor { + caption: qsTr("Metal Color") + backendValue: backendValues.metal_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Roughness") + tooltip: qsTr("Set the material roughness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CopperMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CopperMaterialSpecifics.qml new file mode 100644 index 00000000..001c6ba4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CopperMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + CopperMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CustomMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CustomMaterialSection.qml new file mode 100644 index 00000000..bf540c5e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CustomMaterialSection.qml @@ -0,0 +1,160 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Custom Material") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Transparency") + tooltip: qsTr("Specifies if the material has transparency.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.hasTransparency.valueToString + backendValue: backendValues.hasTransparency + Layout.fillWidth: true + } + } + Label { + text: qsTr("Refraction") + tooltip: qsTr("Specifies if the material has refraction.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.hasRefraction.valueToString + backendValue: backendValues.hasRefraction + Layout.fillWidth: true + } + } + Label { + text: qsTr("Always Dirty") + tooltip: qsTr("Specifies if the material needs to be refreshed every time it is used.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.alwaysDirty.valueToString + backendValue: backendValues.alwaysDirty + Layout.fillWidth: true + } + } + Label { + text: qsTr("Shader Info") + tooltip: qsTr("Shader info for the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.ShaderInfo" + Layout.fillWidth: true + backendValue: backendValues.shaderInfo + } + } + Label { + text: qsTr("Passes") + tooltip: qsTr("Render passes of the material.") + } + SecondColumnLayout { + EditableListView { + backendValue: backendValues.passes + model: backendValues.passes.expressionAsList + Layout.fillWidth: true + typeFilter: "QtQuick3D.Pass" + + onAdd: function(value) { backendValues.passes.idListAdd(value) } + onRemove: function(idx) { backendValues.passes.idListRemove(idx) } + onReplace: function (idx, value) { backendValues.passes.idListReplace(idx, value) } + } + } + } + } + + Section { + // Copied from quick3d's MaterialSection.qml + caption: qsTr("Material") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Light Probe") + tooltip: qsTr("Defines a texture for overriding or setting an image based lighting texture for use with this material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.lightProbe + } + } + Label { + text: qsTr("Displacement Map") + tooltip: qsTr("Defines a grayscale image used to offset the vertices of geometry across the surface of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.displacementMap + } + } + Label { + text: qsTr("Displacement Amount") + tooltip: qsTr("Controls the offset amount for the displacement map.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.displacementAmount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Culling Mode") + tooltip: qsTr("Defines whether culling is enabled and which mode is actually enabled.") + } + ComboBox { + scope: "Material" + model: ["BackFaceCulling", "FrontFaceCulling", "NoCulling"] + backendValue: backendValues.cullMode + Layout.fillWidth: true + } + } + } +} + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CustomMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CustomMaterialSpecifics.qml new file mode 100644 index 00000000..ada74545 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CustomMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + CustomMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassMaterialSection.qml new file mode 100644 index 00000000..65b1f6c1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassMaterialSection.qml @@ -0,0 +1,501 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 +import StudioTheme 1.0 as StudioTheme + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + + Section { + caption: qsTr("Glass Color") + width: parent.width + ColorEditor { + caption: qsTr("Glass Color") + backendValue: backendValues.glass_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Band Light Color") + width: parent.width + ColorEditor { + caption: qsTr("Band Light Color") + backendValue: backendValues.intLightCol + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Bump") + width: parent.width + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Scale") + tooltip: qsTr("Set the scale of the bump bands.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 5 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bumpScale + Layout.fillWidth: true + } + } + Label { + text: qsTr("Bands") + tooltip: qsTr("Set the number of the bump bands.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.bumpBands + Layout.fillWidth: true + } + } + Label { + text: qsTr("Strength") + tooltip: qsTr("Set the glass bump map strength.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.glass_bfactor + Layout.fillWidth: true + } + } + Label { + text: qsTr("Internal") + tooltip: qsTr("Specifies if the bump map be used only for the internal lighting.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.glass_binside.valueToString + backendValue: backendValues.glass_binside + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for bump map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.glass_bump_texture + defaultItem: qsTr("Default") + } + } + } + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Coordinates") + tooltip: qsTr("Sets the bump coordinates of the refraction.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.bumpCoords_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.bumpCoords_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.bumpCoords_z + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Roughness") + tooltip: qsTr("Set the material roughness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + Label { + text: qsTr("Blur Size") + tooltip: qsTr("Set the amount of blurring behind the glass.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 50 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.blur_size + Layout.fillWidth: true + } + } + Label { + text: qsTr("Refract Depth") + tooltip: qsTr("Set the refract depth of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 5 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.refract_depth + Layout.fillWidth: true + } + } + Label { + text: qsTr("Fresnel Power") + tooltip: qsTr("Set the fresnel power of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.uFresnelPower + Layout.fillWidth: true + } + } + Label { + text: qsTr("Reflectivity") + tooltip: qsTr("Set the reflectivity of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflectivity_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Index of Refraction") + tooltip: qsTr("Set the index of refraction for the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2.1 + minimumValue: 1.4 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.glass_ior + Layout.fillWidth: true + } + } + } + } + Section { + caption: qsTr("Band Light") + width: parent.width + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Falloff") + tooltip: qsTr("Set the light intensity falloff rate.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.intLightFall + Layout.fillWidth: true + } + } + Label { + text: qsTr("Angle") + tooltip: qsTr("Set the angle of lightsource. Band is perpendicular to this.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 360 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.intLightRot + Layout.fillWidth: true + } + } + Label { + text: qsTr("Brightness") + tooltip: qsTr("Set the brightness of the band light.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.intLightBrt + Layout.fillWidth: true + } + } + } + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Position") + tooltip: qsTr("Sets the Position of the band light in the UV space.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.intLightPos_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + } + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.intLightPos_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + Section { + caption: qsTr("Random Gradient Maps") + width: parent.width + SectionLayout { + Label { + text: qsTr("1D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient1D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("2D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient2D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("3D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient3D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("4D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient4D_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassMaterialSpecifics.qml new file mode 100644 index 00000000..21b69720 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + FrostedGlassMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassSinglePassMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassSinglePassMaterialSection.qml new file mode 100644 index 00000000..9d9e1062 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassSinglePassMaterialSection.qml @@ -0,0 +1,432 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 +import StudioTheme 1.0 as StudioTheme + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + + Section { + caption: qsTr("Glass Color") + width: parent.width + ColorEditor { + caption: qsTr("Glass Color") + backendValue: backendValues.glass_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Bump") + width: parent.width + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Scale") + tooltip: qsTr("Set the scale of the bump bands.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 5 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bumpScale + Layout.fillWidth: true + } + } + Label { + text: qsTr("Bands") + tooltip: qsTr("Set the number of the bump bands.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.bumpBands + Layout.fillWidth: true + } + } + } + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Coordinates") + tooltip: qsTr("Sets the bump coordinates of the refraction.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.bumpCoords_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.bumpCoords_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.bumpCoords_z + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Roughness") + tooltip: qsTr("Set the material roughness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + Label { + text: qsTr("Blur Size") + tooltip: qsTr("Set the amount of blurring behind the glass.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 50 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.blur_size + Layout.fillWidth: true + } + } + Label { + text: qsTr("Fresnel Power") + tooltip: qsTr("Set the fresnel power of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.uFresnelPower + Layout.fillWidth: true + } + } + Label { + text: qsTr("Reflectivity") + tooltip: qsTr("Set the reflectivity of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflectivity_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Index of Refraction") + tooltip: qsTr("Set the index of refraction for the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2.1 + minimumValue: 1.4 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.glass_ior + Layout.fillWidth: true + } + } + } + } + Section { + caption: qsTr("Noise") + width: parent.width + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Scale") + tooltip: qsTr("Set the noise scale.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 40 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.noiseScale + Layout.fillWidth: true + } + } + } + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Coordinates") + tooltip: qsTr("Sets the noise coordinates.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.noiseCoords_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.noiseCoords_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: materialRoot.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 10000 + minimumValue: 0 + realDragRange: 1000 + decimals: 2 + backendValue: backendValues.noiseCoords_z + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + + Section { + caption: qsTr("Random Gradient Maps") + width: parent.width + SectionLayout { + Label { + text: qsTr("1D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient1D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("2D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient2D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("3D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient3D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("4D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient4D_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassSinglePassMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassSinglePassMaterialSpecifics.qml new file mode 100644 index 00000000..b18c1ac0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassSinglePassMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + FrostedGlassSinglePassMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassMaterialSection.qml new file mode 100644 index 00000000..19c0515e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassMaterialSection.qml @@ -0,0 +1,178 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + + Section { + caption: qsTr("Glass Color") + width: parent.width + ColorEditor { + caption: qsTr("Glass Color") + backendValue: backendValues.glass_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Fresnel Power") + tooltip: qsTr("Set the fresnel power of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.uFresnelPower + Layout.fillWidth: true + } + } + Label { + text: qsTr("Minimum Opacity") + tooltip: qsTr("Set the minimum opacity of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.uMinOpacity + Layout.fillWidth: true + } + } + Label { + text: qsTr("Reflectivity") + tooltip: qsTr("Set the reflectivity of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflectivity_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Index of Refraction") + tooltip: qsTr("Set the index of refraction for the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2.1 + minimumValue: 1.4 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.glass_ior + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassMaterialSpecifics.qml new file mode 100644 index 00000000..f53b1a43 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + GlassMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassRefractiveMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassRefractiveMaterialSection.qml new file mode 100644 index 00000000..f5f7b282 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassRefractiveMaterialSection.qml @@ -0,0 +1,178 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + + Section { + caption: qsTr("Glass Color") + width: parent.width + ColorEditor { + caption: qsTr("Glass Color") + backendValue: backendValues.glass_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Fresnel Power") + tooltip: qsTr("Set the fresnel power of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.uFresnelPower + Layout.fillWidth: true + } + } + Label { + text: qsTr("Roughness") + tooltip: qsTr("Set the roughness of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + Label { + text: qsTr("Reflectivity") + tooltip: qsTr("Set the reflectivity of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflectivity_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Index of Refraction") + tooltip: qsTr("Set the index of refraction for the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2.1 + minimumValue: 1.4 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.glass_ior + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassRefractiveMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassRefractiveMaterialSpecifics.qml new file mode 100644 index 00000000..04684a7a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassRefractiveMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + GlassRefractiveMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/IdComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/IdComboBox.qml new file mode 100644 index 00000000..be341ae4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/IdComboBox.qml @@ -0,0 +1,123 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 as HelperWidgets + +HelperWidgets.ComboBox { + id: comboBox + + property alias typeFilter: itemFilterModel.typeFilter + + manualMapping: true + editable: true + model: comboBox.addDefaultItem(itemFilterModel.itemModel) + + textInput.validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ } + + HelperWidgets.ItemFilterModel { + id: itemFilterModel + modelNodeBackendProperty: modelNodeBackend + } + + property string defaultItem: qsTr("None") + property string textValue: comboBox.backendValue.expression + property bool block: false + property bool dirty: true + property var editRegExp: /^[a-z_]\w*/ + + onTextValueChanged: { + if (comboBox.block) + return + + comboBox.setCurrentText(comboBox.textValue) + } + onModelChanged: comboBox.setCurrentText(comboBox.textValue) + onCompressedActivated: comboBox.handleActivate(index) + Component.onCompleted: comboBox.setCurrentText(comboBox.textValue) + + onEditTextChanged: { + comboBox.dirty = true + colorLogic.errorState = !(editRegExp.exec(comboBox.editText) !== null + || comboBox.editText === parenthesize(defaultItem)) + } + onFocusChanged: { + if (comboBox.dirty) + comboBox.handleActivate(comboBox.currentIndex) + } + + function handleActivate(index) + { + if (!comboBox.__isCompleted || comboBox.backendValue === undefined) + return + + var cText = (index === -1) ? comboBox.editText : comboBox.textAt(index) + comboBox.block = true + comboBox.setCurrentText(cText) + comboBox.block = false + } + + function setCurrentText(text) + { + if (!comboBox.__isCompleted || comboBox.backendValue === undefined) + return + + comboBox.currentIndex = comboBox.find(text) + + if (text === "") { + comboBox.currentIndex = 0 + comboBox.editText = parenthesize(comboBox.defaultItem) + } else { + if (comboBox.currentIndex === -1) + comboBox.editText = text + else if (comboBox.currentIndex === 0) + comboBox.editText = parenthesize(comboBox.defaultItem) + } + + if (comboBox.currentIndex === 0) { + comboBox.backendValue.resetValue() + } else { + if (comboBox.backendValue.expression !== comboBox.editText) + comboBox.backendValue.expression = comboBox.editText + } + comboBox.dirty = false + } + + function addDefaultItem(arr) + { + var copy = arr.slice() + copy.unshift(parenthesize(comboBox.defaultItem)) + return copy + } + + function parenthesize(value) + { + return "[" + value + "]" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperArtisticMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperArtisticMaterialSection.qml new file mode 100644 index 00000000..65d9d662 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperArtisticMaterialSection.qml @@ -0,0 +1,292 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Transmission") + width: parent.width + SectionLayout { + Label { + text: qsTr("Transmission Weight") + tooltip: qsTr("Set the material transmission weight.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.transmission_weight + Layout.fillWidth: true + } + } + Label { + text: qsTr("Reflection Weight") + tooltip: qsTr("Set the material reflection weight.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflection_weight + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for transmission map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.transmission_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + Section { + caption: qsTr("General") + width: parent.width + + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Translucency Falloff") + tooltip: qsTr("Set the falloff of the translucency of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.uTranslucentFalloff + Layout.fillWidth: true + } + } + Label { + text: qsTr("Opacity") + tooltip: qsTr("Set the opacity of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.uOpacity + Layout.fillWidth: true + } + } + } + + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Texture Tiling") + tooltip: qsTr("Sets the tiling repeat of the reflection map.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.texture_tiling_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.texture_tiling_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + Section { + caption: qsTr("Diffuse Map") + width: parent.width + SectionLayout { + Label { + text: qsTr("Light Wrap") + tooltip: qsTr("Set the diffuse light bend of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.uDiffuseLightWrap + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for diffuse map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.diffuse_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + Section { + caption: qsTr("Bump") + width: parent.width + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Set the bump map bumpiness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bump_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for bump map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.bump_texture_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperArtisticMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperArtisticMaterialSpecifics.qml new file mode 100644 index 00000000..ba115fad --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperArtisticMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PaperArtisticMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperOfficeMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperOfficeMaterialSection.qml new file mode 100644 index 00000000..c715692e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperOfficeMaterialSection.qml @@ -0,0 +1,272 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Transmission") + width: parent.width + SectionLayout { + Label { + text: qsTr("Transmission Weight") + tooltip: qsTr("Set the material transmission weight.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.transmission_weight + Layout.fillWidth: true + } + } + Label { + text: qsTr("Reflection Weight") + tooltip: qsTr("Set the material reflection weight.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.reflection_weight + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for transmission map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.transmission_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + Section { + caption: qsTr("General") + width: parent.width + + ColumnLayout { + width: parent.width - 16 + SectionLayout { + Label { + text: qsTr("Translucency Falloff") + tooltip: qsTr("Set the falloff of the translucency of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.uTranslucentFalloff + Layout.fillWidth: true + } + } + Label { + text: qsTr("Opacity") + tooltip: qsTr("Set the opacity of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 2 + backendValue: backendValues.uOpacity + Layout.fillWidth: true + } + } + } + + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Texture Tiling") + tooltip: qsTr("Sets the tiling repeat of the reflection map.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.texture_tiling_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.texture_tiling_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + } + } + Section { + caption: qsTr("Paper Color") + width: parent.width + ColorEditor { + caption: qsTr("Paper Color") + backendValue: backendValues.paper_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + Section { + caption: qsTr("Diffuse Map") + width: parent.width + SectionLayout { + Label { + text: qsTr("Light Wrap") + tooltip: qsTr("Set the diffuse light bend of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.uDiffuseLightWrap + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for diffuse map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.diffuse_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + Section { + caption: qsTr("Bump") + width: parent.width + SectionLayout { + Label { + text: qsTr("Amount") + tooltip: qsTr("Set the bump map bumpiness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bump_amount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for bump map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.bump_texture_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperOfficeMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperOfficeMaterialSpecifics.qml new file mode 100644 index 00000000..81643b22 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperOfficeMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PaperOfficeMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedEmissiveMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedEmissiveMaterialSection.qml new file mode 100644 index 00000000..e54c1d44 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedEmissiveMaterialSection.qml @@ -0,0 +1,290 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + + Section { + caption: qsTr("Diffuse Color") + width: parent.width + ColorEditor { + caption: qsTr("Diffuse Color") + backendValue: backendValues.diffuse_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Emission") + width: parent.width + SectionLayout { + Label { + text: qsTr("Intensity") + tooltip: qsTr("Set the emission intensity.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.intensity + Layout.fillWidth: true + } + } + Label { + text: qsTr("Map Texture") + tooltip: qsTr("Defines a texture for emissive map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.emissive_texture_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("MaskTexture") + tooltip: qsTr("Defines a texture for emissive mask.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.emissive_mask_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Emission Color") + width: parent.width + ColorEditor { + caption: qsTr("Emission Color") + backendValue: backendValues.emission_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Roughness") + tooltip: qsTr("Set the material roughness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + Label { + text: qsTr("Index of Refraction") + tooltip: qsTr("Set the index of refraction for the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1.6 + minimumValue: 1.4 + decimals: 3 + stepSize: 0.01 + backendValue: backendValues.material_ior + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture Scaling") + tooltip: qsTr("Set the texture scaling of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.texture_scaling + Layout.fillWidth: true + } + } + Label { + text: qsTr("Bump Factor") + tooltip: qsTr("Set the strength of the bumpiness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bump_factor + Layout.fillWidth: true + } + } + } + } + Section { + caption: qsTr("Random Gradient Maps") + width: parent.width + SectionLayout { + Label { + text: qsTr("1D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient1D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("2D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient2D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("3D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient3D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("4D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient4D_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedEmissiveMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedEmissiveMaterialSpecifics.qml new file mode 100644 index 00000000..c101f8b5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedEmissiveMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PlasticStructuredRedEmissiveMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedMaterialSection.qml new file mode 100644 index 00000000..29ad1617 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedMaterialSection.qml @@ -0,0 +1,233 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + + Section { + caption: qsTr("Diffuse Color") + width: parent.width + ColorEditor { + caption: qsTr("Diffuse Color") + backendValue: backendValues.diffuse_color + supportGradient: false + isVector3D: true + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Roughness") + tooltip: qsTr("Set the material roughness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + Label { + text: qsTr("Index of Refraction") + tooltip: qsTr("Set the index of refraction for the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1.6 + minimumValue: 1.4 + decimals: 3 + stepSize: 0.01 + backendValue: backendValues.material_ior + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture Scaling") + tooltip: qsTr("Set the texture scaling of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.texture_scaling + Layout.fillWidth: true + } + } + Label { + text: qsTr("Bump Factor") + tooltip: qsTr("Set the strength of the bumpiness.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bump_factor + Layout.fillWidth: true + } + } + } + } + Section { + caption: qsTr("Random Gradient Maps") + width: parent.width + SectionLayout { + Label { + text: qsTr("1D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient1D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("2D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient2D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("3D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient3D_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("4D") + tooltip: qsTr("Defines a texture map used to create the random bumpiness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.randomGradient4D_texture + defaultItem: qsTr("Default") + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedMaterialSpecifics.qml new file mode 100644 index 00000000..6f28aec6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PlasticStructuredRedMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/SteelMilledConcentricMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/SteelMilledConcentricMaterialSection.qml new file mode 100644 index 00000000..182b3ade --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/SteelMilledConcentricMaterialSection.qml @@ -0,0 +1,214 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + id: materialRoot + width: parent.width + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + Section { + caption: qsTr("Environment Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the environment map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uEnvironmentMappingEnabled.valueToString + backendValue: backendValues.uEnvironmentMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for environment map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uEnvironmentTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("Shadow Map") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Enabled") + tooltip: qsTr("Specifies if the shadow map is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.uShadowMappingEnabled.valueToString + backendValue: backendValues.uShadowMappingEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Texture") + tooltip: qsTr("Defines a texture for shadow map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.uBakedShadowTexture_texture + defaultItem: qsTr("Default") + } + } + } + } + + Section { + caption: qsTr("General") + width: parent.width + SectionLayout { + Label { + text: qsTr("Index of Refraction") + tooltip: qsTr("Set the index of refraction for the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2.97 + minimumValue: 0.47 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.material_ior + Layout.fillWidth: true + } + } + Label { + text: qsTr("Anisotropy") + tooltip: qsTr("Set the anisotropy of the material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0.01 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.anisotropy + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Textures") + width: parent.width + + ColumnLayout { + width: parent.width - 16 + ColumnLayout { + width: parent.width + Label { + width: 100 + text: qsTr("Tiling") + tooltip: qsTr("Sets the tiling repeat of the texture maps.") + } + + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: materialRoot.labelWidth + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.texture_tiling_x + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + RowLayout { + spacing: materialRoot.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: materialRoot.labelWidth + } + SpinBox { + maximumValue: 100 + minimumValue: 1 + decimals: 0 + backendValue: backendValues.texture_tiling_y + Layout.fillWidth: true + Layout.minimumWidth: materialRoot.spinBoxMinimumWidth + } + } + } + SectionLayout { + Label { + text: qsTr("Diffuse") + tooltip: qsTr("Defines a texture for diffuse map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.diffuse_texture_texture + defaultItem: qsTr("Default") + } + } + Label { + text: qsTr("Anisotropy") + tooltip: qsTr("Defines a texture for anisotropy map.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.anisotropy_rot_texture_texture + defaultItem: qsTr("Default") + } + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/SteelMilledConcentricMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/SteelMilledConcentricMaterialSpecifics.qml new file mode 100644 index 00000000..2d357149 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/SteelMilledConcentricMaterialSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + SteelMilledConcentricMaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial.png new file mode 100644 index 00000000..1b540da5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial16.png new file mode 100644 index 00000000..72847922 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial@2x.png new file mode 100644 index 00000000..3dbcf732 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/materiallib.metainfo b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/materiallib.metainfo new file mode 100644 index 00000000..0f63c0b7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/materiallib.metainfo @@ -0,0 +1,306 @@ +MetaInfo { + Type { + name: "QtQuick3D.Materials.AluminumAnodizedEmissiveMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Aluminum Anod Emis" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.AluminumAnodizedMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Aluminum Anodized" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.AluminumBrushedMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Aluminum Brushed" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.AluminumEmissiveMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Aluminum Emissive" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.AluminumMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Aluminum" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.CopperMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Copper" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.FrostedGlassMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Frosted Glass" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.FrostedGlassSinglePassMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Frosted Glass Single Pass" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.GlassMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Glass" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.GlassRefractiveMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Glass Refractive" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.PaperArtisticMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Paper Artistic" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.PaperOfficeMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Paper Office" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.PlasticStructuredRedEmissiveMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Plastic Struct Emissive" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.PlasticStructuredRedMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Plastic Structured" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.SteelMilledConcentricMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: false + } + + ItemLibraryEntry { + name: "Steel Milled Concentric" + category: "Qt Quick 3D Materials" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + } + } + Type { + name: "QtQuick3D.Materials.CustomMaterial" + icon: "images/custommaterial16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Custom Material" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/custommaterial.png" + version: "1.14" + requiredImport: "QtQuick3D.Materials" + QmlSource { source: "./source/custommaterial_template.qml" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/source/custommaterial_template.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/source/custommaterial_template.qml new file mode 100644 index 00000000..a5657663 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/designer/source/custommaterial_template.qml @@ -0,0 +1,60 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 +import QtQuick3D.Materials 1.15 + +CustomMaterial { + shaderInfo: shaderInformation + passes: renderPass + + ShaderInfo { + id: shaderInformation + type: "GLSL" + version: "330" + } + + Pass { + id: renderPass + shaders: [vertShader, fragShader] + } + + Shader { + id: vertShader + stage: Shader.Vertex + shader: "/* Set to a vertex shader file */" + } + + Shader { + id: fragShader + stage: Shader.Fragment + shader: "/* Set to a fragment shader file */" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/art_paper_normal.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/art_paper_normal.png new file mode 100644 index 00000000..5696c1af Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/art_paper_normal.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/art_paper_trans.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/art_paper_trans.png new file mode 100644 index 00000000..e70e8a63 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/art_paper_trans.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/brushed_a.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/brushed_a.png new file mode 100644 index 00000000..5196fbce Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/brushed_a.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/brushed_full_contrast.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/brushed_full_contrast.png new file mode 100644 index 00000000..a2322a6a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/brushed_full_contrast.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/concentric_milled_steel.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/concentric_milled_steel.png new file mode 100644 index 00000000..56101f25 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/concentric_milled_steel.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/concentric_milled_steel_aniso.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/concentric_milled_steel_aniso.png new file mode 100644 index 00000000..f4ef5b67 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/concentric_milled_steel_aniso.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/emissive.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/emissive.png new file mode 100644 index 00000000..599b1ccc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/emissive.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/emissive_mask.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/emissive_mask.png new file mode 100644 index 00000000..599b1ccc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/emissive_mask.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/grunge_b.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/grunge_b.png new file mode 100644 index 00000000..2dd49698 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/grunge_b.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/grunge_d.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/grunge_d.png new file mode 100644 index 00000000..88c571f1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/grunge_d.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/paper_diffuse.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/paper_diffuse.png new file mode 100644 index 00000000..863a0887 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/paper_diffuse.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/paper_trans.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/paper_trans.png new file mode 100644 index 00000000..68a38458 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/paper_trans.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient1D.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient1D.png new file mode 100644 index 00000000..0d37132f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient1D.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient2D.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient2D.png new file mode 100644 index 00000000..8b60ca68 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient2D.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient3D.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient3D.png new file mode 100644 index 00000000..c22e1ba8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient3D.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient4D.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient4D.png new file mode 100644 index 00000000..ad282d85 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient4D.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/shadow.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/shadow.png new file mode 100644 index 00000000..599b1ccc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/shadow.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/spherical_checker.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/spherical_checker.png new file mode 100644 index 00000000..e42394dd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/maps/spherical_checker.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/plugins.qmltypes new file mode 100644 index 00000000..a261e632 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/plugins.qmltypes @@ -0,0 +1,56 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick3D.Materials 1.15' + +Module { + dependencies: [ + "QtQuick 2.15", + "QtQuick.Window 2.1", + "QtQuick3D 1.15", + "QtQuick3D.Effects 1.15" + ] + Component { + name: "QQuick3DCustomMaterial" + defaultProperty: "data" + prototype: "QQuick3DMaterial" + exports: ["QtQuick3D.Materials/CustomMaterial 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "hasTransparency"; type: "bool" } + Property { name: "hasRefraction"; type: "bool" } + Property { name: "alwaysDirty"; type: "bool" } + Property { name: "shaderInfo"; type: "QQuick3DShaderUtilsShaderInfo"; isPointer: true } + Property { name: "passes"; type: "QQuick3DShaderUtilsRenderPass"; isList: true; isReadonly: true } + Signal { + name: "hasTransparencyChanged" + Parameter { name: "hasTransparency"; type: "bool" } + } + Signal { + name: "hasRefractionChanged" + Parameter { name: "hasRefraction"; type: "bool" } + } + Signal { + name: "alwaysDirtyChanged" + Parameter { name: "alwaysDirty"; type: "bool" } + } + Method { + name: "setHasTransparency" + Parameter { name: "hasTransparency"; type: "bool" } + } + Method { + name: "setHasRefraction" + Parameter { name: "hasRefraction"; type: "bool" } + } + Method { + name: "setShaderInfo" + Parameter { name: "shaderInfo"; type: "QQuick3DShaderUtilsShaderInfo"; isPointer: true } + } + Method { + name: "setAlwaysDirty" + Parameter { name: "alwaysDirty"; type: "bool" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/qmldir new file mode 100644 index 00000000..313ecf38 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/qmldir @@ -0,0 +1,22 @@ +module QtQuick3D.Materials +plugin qtquick3dmaterialplugin +classname QtQuick3DMaterialPlugin +AluminumAnisotropicMaterial 1.0 AluminumAnisotropicMaterial.qml +AluminumBrushedMaterial 1.0 AluminumBrushedMaterial.qml +AluminumEmissiveMaterial 1.0 AluminumEmissiveMaterial.qml +AluminumMaterial 1.0 AluminumMaterial.qml +AluminumAnodizedEmissiveMaterial 1.0 AluminumAnodizedEmissiveMaterial.qml +AluminumAnodizedMaterial 1.0 AluminumAnodizedMaterial.qml +CopperMaterial 1.0 CopperMaterial.qml +GlassMaterial 1.0 GlassMaterial.qml +GlassRefractiveMaterial 1.0 GlassRefractiveMaterial.qml +FrostedGlassMaterial 1.0 FrostedGlassMaterial.qml +FrostedGlassSinglePassMaterial 1.0 FrostedGlassSinglePassMaterial.qml +PaperArtisticMaterial 1.0 PaperArtisticMaterial.qml +PaperOfficeMaterial 1.0 PaperOfficeMaterial.qml +PlasticStructuredRedMaterial 1.0 PlasticStructuredRedMaterial.qml +PlasticStructuredRedEmissiveMaterial 1.0 PlasticStructuredRedEmissiveMaterial.qml +SteelMilledConcentricMaterial 1.0 SteelMilledConcentricMaterial.qml +designersupported +depends QtQuick3D 1.0 +depends QtQuick.Window 2.1 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/qtquick3dmaterialplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/qtquick3dmaterialplugin.dll new file mode 100644 index 00000000..9aab3989 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/Materials/qtquick3dmaterialplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/AreaLightSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/AreaLightSection.qml new file mode 100644 index 00000000..ad5efa55 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/AreaLightSection.qml @@ -0,0 +1,128 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("AreaLight") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Scope") + tooltip: qsTr("Sets the scope of the light. Only the node and its children are affected by this light.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Node" + Layout.fillWidth: true + backendValue: backendValues.scope + } + } + + Label { + text: qsTr("Brightness") + tooltip: qsTr("Sets the strength of the light.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.brightness + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Width") + tooltip: qsTr("Sets the width of the area light's rectangle.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.width + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Height") + tooltip: qsTr("Sets the height of the area light's rectangle.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.height + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Color") + width: parent.width + + ColorEditor { + caption: qsTr("Color") + backendValue: backendValues.color + supportGradient: false + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Ambient Color") + width: parent.width + ColorEditor { + caption: qsTr("Ambient Color") + backendValue: backendValues.ambientColor + supportGradient: false + Layout.fillWidth: true + } + } + + ShadowSection { + width: parent.width + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/AreaLightSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/AreaLightSpecifics.qml new file mode 100644 index 00000000..2479e02b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/AreaLightSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + NodeSection { + width: parent.width + } + + AreaLightSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BlendingSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BlendingSection.qml new file mode 100644 index 00000000..2f29301b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BlendingSection.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Blending") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Source") + tooltip: qsTr("Source blending for a pass.") + } + ComboBox { + scope: "Blending" + model: ["Unknown", "Zero", "One", "SrcColor", "OneMinusSrcColor", "DstColor", "OneMinusDstColor", "SrcAlpha", "OneMinusSrcAlpha", "DstAlpha", "OneMinusDstAlpha", "ConstantColor", "OneMinusConstantColor", "ConstantAlpha", "OneMinusConstantAlpha", "SrcAlphaSaturate"] + backendValue: backendValues.srcBlending + Layout.fillWidth: true + } + Label { + text: qsTr("Destination") + tooltip: qsTr("Destination blending for a pass.") + } + ComboBox { + scope: "Blending" + model: ["Unknown", "Zero", "One", "SrcColor", "OneMinusSrcColor", "DstColor", "OneMinusDstColor", "SrcAlpha", "OneMinusSrcAlpha", "DstAlpha", "OneMinusDstAlpha", "ConstantColor", "OneMinusConstantColor", "ConstantAlpha", "OneMinusConstantAlpha"] + backendValue: backendValues.destBlending + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BlendingSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BlendingSpecifics.qml new file mode 100644 index 00000000..6e1567f6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BlendingSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + BlendingSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferBlitSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferBlitSection.qml new file mode 100644 index 00000000..b5d26831 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferBlitSection.qml @@ -0,0 +1,66 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Buffer Blit") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Source") + tooltip: qsTr("Source buffer for the buffer blit.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Buffer" + Layout.fillWidth: true + backendValue: backendValues.source + } + } + Label { + text: qsTr("Destination") + tooltip: qsTr("Destination buffer for the buffer blit.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Buffer" + Layout.fillWidth: true + backendValue: backendValues.destination + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferBlitSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferBlitSpecifics.qml new file mode 100644 index 00000000..289c12f0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferBlitSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + BufferBlitSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferInputSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferInputSection.qml new file mode 100644 index 00000000..421c312d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferInputSection.qml @@ -0,0 +1,66 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Buffer Input") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Buffer") + tooltip: qsTr("Input buffer for a pass.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Buffer" + Layout.fillWidth: true + backendValue: backendValues.buffer + } + } + Label { + text: qsTr("Parameter") + tooltip: qsTr("Buffer input buffer name in the shader.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.param + Layout.fillWidth: true + showTranslateCheckBox: false + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferInputSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferInputSpecifics.qml new file mode 100644 index 00000000..7be28461 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferInputSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + BufferInputSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferSection.qml new file mode 100644 index 00000000..7bd7d534 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferSection.qml @@ -0,0 +1,114 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Buffer") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Name") + tooltip: qsTr("Buffer name.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.name + Layout.fillWidth: true + showTranslateCheckBox: false + } + } + + Label { + text: qsTr("Format") + tooltip: qsTr("Format of the buffer.") + } + ComboBox { + scope: "Buffer" + model: ["Unknown", "R8", "R16", "R16F", "R32I", "R32UI", "R32F", "RG8", "RGBA8", "RGB8", "SRGB8", "SRGB8A8", "RGB565", "RGBA16F", "RG16F", "RG32F", "RGB32F", "RGBA32F", "R11G11B10", "RGB9E5", "Depth16", "Depth24", "Depth32", "Depth24Stencil8"] + backendValue: backendValues.format + Layout.fillWidth: true + } + + Label { + text: qsTr("Filter") + tooltip: qsTr("Texture filter for the buffer.") + } + ComboBox { + scope: "Buffer" + model: ["Unknown", "Nearest", "Linear"] + backendValue: backendValues.textureFilterOperation + Layout.fillWidth: true + } + + Label { + text: qsTr("Coordinate Operation") + tooltip: qsTr("Texture coordinate operation for the buffer.") + } + ComboBox { + scope: "Buffer" + model: ["Unknown", "ClampToEdge", "MirroredRepeat", "Repeat"] + backendValue: backendValues.textureCoordOperation + Layout.fillWidth: true + } + + Label { + text: qsTr("Allocation Flags") + tooltip: qsTr("Allocation flags for the buffer.") + } + ComboBox { + scope: "Buffer" + model: ["None", "SceneLifetime"] + backendValue: backendValues.bufferFlags + Layout.fillWidth: true + } + + Label { + text: qsTr("Size Multiplier") + tooltip: qsTr("Defines the size multiplier for the buffer.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 10000 + minimumValue: 0 + decimals: 2 + realDragRange: 30 + backendValue: backendValues.sizeMultiplier + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferSpecifics.qml new file mode 100644 index 00000000..be0b16b2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/BufferSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + BufferSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CullModeSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CullModeSection.qml new file mode 100644 index 00000000..e3de29ca --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CullModeSection.qml @@ -0,0 +1,54 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Cull Mode") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Mode") + tooltip: qsTr("Cull mode for a pass.") + } + ComboBox { + scope: "Material" + model: ["BackFaceCulling", "FrontFaceCulling", "NoCulling"] + backendValue: backendValues.cullMode + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CullModeSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CullModeSpecifics.qml new file mode 100644 index 00000000..6a22c0d1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CullModeSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + CullModeSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CustomCameraSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CustomCameraSection.qml new file mode 100644 index 00000000..4acb2057 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CustomCameraSection.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Custom Camera") + + SectionLayout { + // TODO: projection is matrix4x4 property, is that supported? + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CustomCameraSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CustomCameraSpecifics.qml new file mode 100644 index 00000000..15f2ed69 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/CustomCameraSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + CustomCameraSection { + width: parent.width + } + + NodeSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DefaultMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DefaultMaterialSection.qml new file mode 100644 index 00000000..8af86f44 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DefaultMaterialSection.qml @@ -0,0 +1,395 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Default Material") + width: parent.width + SectionLayout { + Label { + text: qsTr("Lighting") + tooltip: qsTr("Defines which lighting method is used when generating this material.") + } + ComboBox { + scope: "DefaultMaterial" + model: ["NoLighting", "FragmentLighting"] + backendValue: backendValues.lighting + Layout.fillWidth: true + } + Label { + text: qsTr("Blend Mode") + tooltip: qsTr("Determines how the colors of the model rendered blend with those behind it.") + } + ComboBox { + scope: "DefaultMaterial" + model: ["SourceOver", "Screen", "Multiply", "Overlay", "ColorBurn", "ColorDodge"] + backendValue: backendValues.blendMode + Layout.fillWidth: true + } + Label { + text: qsTr("Enable Vertex Colors") + tooltip: qsTr("Enables the use of vertex colors from the mesh.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.vertexColorsEnabled.valueToString + backendValue: backendValues.vertexColorsEnabled + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Diffuse") + width: parent.width + Column { + width: parent.width + ColorEditor { + caption: qsTr("Diffuse Color") + backendValue: backendValues.diffuseColor + supportGradient: false + Layout.fillWidth: true + } + SectionLayout { + Label { + text: qsTr("Diffuse Map") + tooltip: qsTr("Defines a texture to apply to the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.diffuseMap + } + } + } + } + } + + Section { + caption: qsTr("Emissive") + width: parent.width + Column { + width: parent.width + ColorEditor { + caption: qsTr("Emissive Color") + backendValue: backendValues.emissiveColor + supportGradient: false + Layout.fillWidth: true + } + SectionLayout { + Label { + text: qsTr("Emissive Factor") + tooltip: qsTr("Determines the amount of self-illumination from the material (will not light other objects).") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.emissiveFactor + Layout.fillWidth: true + } + } + Label { + text: qsTr("Emissive Map") + tooltip: qsTr("Sets a texture to be used to set the emissive factor for different parts of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.emissiveMap + } + } + } + } + } + + Section { + caption: qsTr("Specular") + width: parent.width + Column { + width: parent.width + ColorEditor { + caption: qsTr("Specular Tint") + backendValue: backendValues.specularTint + supportGradient: false + Layout.fillWidth: true + } + + SectionLayout { + Label { + text: qsTr("Specular Amount") + tooltip: qsTr("Controls the strength of specularity (highlights and reflections).") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.specularAmount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Specular Map") + tooltip: qsTr("Defines a RGB texture to modulate the amount and the color of specularity across the surface of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.specularMap + } + } + Label { + text: qsTr("Specular Model") + tooltip: qsTr("Determines which functions are used to calculate specular highlights for lights in the scene.") + } + ComboBox { + scope: "DefaultMaterial" + model: ["Default", "KGGX", "KWard"] + backendValue: backendValues.specularModel + Layout.fillWidth: true + } + Label { + text: qsTr("Reflection Map") + tooltip: qsTr("Sets a texture used for specular highlights on the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.specularReflectionMap + } + } + Label { + text: qsTr("Index of Refraction") + tooltip: qsTr("Controls what angles of reflections are affected by the Fresnel power.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 3 + minimumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.indexOfRefraction + Layout.fillWidth: true + } + } + Label { + text: qsTr("Fresnel Power") + tooltip: qsTr("Decreases head-on reflections (looking directly at the surface) while maintaining reflections seen at grazing angles.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.fresnelPower + Layout.fillWidth: true + } + } + Label { + text: qsTr("Specular Roughness") + tooltip: qsTr("Controls the size of the specular highlight generated from lights and the clarity of reflections in general.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0.001 + decimals: 3 + backendValue: backendValues.specularRoughness + Layout.fillWidth: true + } + } + Label { + text: qsTr("Roughness Map") + tooltip: qsTr("Defines a texture to control the specular roughness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.roughnessMap + } + } + } + } + } + + Section { + caption: qsTr("Opacity") + width: parent.width + SectionLayout { + Label { + text: qsTr("Opacity") + tooltip: qsTr("Sets the visibility of the geometry for this material.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.opacity + Layout.fillWidth: true + } + } + Label { + text: qsTr("Opacity Map") + tooltip: qsTr("Defines a texture used to control the opacity differently for different parts of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.opacityMap + } + } + } + } + + Section { + caption: qsTr("Bump/Normal") + width: parent.width + SectionLayout { + Label { + text: qsTr("Bump Amount") + tooltip: qsTr("Controls the amount of simulated displacement for the bump map or normal map.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.bumpAmount + Layout.fillWidth: true + } + } + Label { + text: qsTr("Bump Map") + tooltip: qsTr("Defines a grayscale texture to simulate fine geometry displacement across the surface of the material.") + } + SecondColumnLayout { + IdComboBox { + id: bumpMapComboBox + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.bumpMap + + Connections { + target: normalMapComboBox.backendValue + onExpressionChanged: { + if (normalMapComboBox.backendValue.expression !== "") + bumpMapComboBox.backendValue.resetValue() + } + } + } + } + Label { + text: qsTr("Normal Map") + tooltip: qsTr("Defines a RGB image used to simulate fine geometry displacement across the surface of the material.") + } + SecondColumnLayout { + IdComboBox { + id: normalMapComboBox + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.normalMap + + Connections { + target: bumpMapComboBox.backendValue + onExpressionChanged: { + if (bumpMapComboBox.backendValue.expression !== "") + normalMapComboBox.backendValue.resetValue() + } + } + } + } + } + } + + Section { + caption: qsTr("Translucency") + width: parent.width + SectionLayout { + Label { + text: qsTr("Translucency Falloff") + tooltip: qsTr("Defines the amount of falloff for the translucency based on the angle of the normals of the object to the light source.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: -999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.translucentFalloff + Layout.fillWidth: true + } + } + Label { + text: qsTr("Diffuse Light Wrap") + tooltip: qsTr("Determines the amount of light wrap for the translucency map.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.diffuseLightWrap + Layout.fillWidth: true + } + } + Label { + text: qsTr("Translucency Map") + tooltip: qsTr("Defines a grayscale texture controlling how much light can pass through the material from behind.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.translucencyMap + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DefaultMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DefaultMaterialSpecifics.qml new file mode 100644 index 00000000..632c733d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DefaultMaterialSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + DefaultMaterialSection { + width: parent.width + } + + MaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DepthInputSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DepthInputSection.qml new file mode 100644 index 00000000..3811eae7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DepthInputSection.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Depth Input") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Parameter") + tooltip: qsTr("Depth input texture name in the shader.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.param + Layout.fillWidth: true + showTranslateCheckBox: false + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DepthInputSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DepthInputSpecifics.qml new file mode 100644 index 00000000..1cdcb4df --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DepthInputSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + DepthInputSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DirectionalLightSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DirectionalLightSection.qml new file mode 100644 index 00000000..b378167b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DirectionalLightSection.qml @@ -0,0 +1,97 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("DirectionalLight") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Scope") + tooltip: qsTr("Sets the scope of the light. Only the node and its children are affected by this light.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Node" + Layout.fillWidth: true + backendValue: backendValues.scope + } + } + Label { + text: qsTr("Brightness") + tooltip: qsTr("Sets the strength of the light.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.brightness + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Color") + width: parent.width + + ColorEditor { + caption: qsTr("Color") + backendValue: backendValues.color + supportGradient: false + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Ambient Color") + width: parent.width + ColorEditor { + caption: qsTr("Ambient Color") + backendValue: backendValues.ambientColor + supportGradient: false + Layout.fillWidth: true + } + } + + ShadowSection { + width: parent.width + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DirectionalLightSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DirectionalLightSpecifics.qml new file mode 100644 index 00000000..b1df0b36 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/DirectionalLightSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + NodeSection { + width: parent.width + } + + DirectionalLightSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/FrustumCameraSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/FrustumCameraSection.qml new file mode 100644 index 00000000..4b290ef4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/FrustumCameraSection.qml @@ -0,0 +1,95 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Frustum Camera") + + SectionLayout { + Label { + text: qsTr("Top") + tooltip: qsTr("Sets the top plane of the camera view frustum.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.top + Layout.fillWidth: true + } + } + Label { + text: qsTr("Bottom") + tooltip: qsTr("Sets the bottom plane of the camera view frustum.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.bottom + Layout.fillWidth: true + } + } + Label { + text: qsTr("Right") + tooltip: qsTr("Sets the right plane of the camera view frustum.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.right + Layout.fillWidth: true + } + } + Label { + text: qsTr("Left") + tooltip: qsTr("Sets the left plane of the camera view frustum.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.left + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/FrustumCameraSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/FrustumCameraSpecifics.qml new file mode 100644 index 00000000..55366944 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/FrustumCameraSpecifics.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + FrustumCameraSection { + width: parent.width + } + + PerspectiveCameraSection { + width: parent.width + } + + NodeSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/IdComboBox.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/IdComboBox.qml new file mode 100644 index 00000000..9020bc0f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/IdComboBox.qml @@ -0,0 +1,123 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 as HelperWidgets + +HelperWidgets.ComboBox { + id: comboBox + + property alias typeFilter: itemFilterModel.typeFilter + + manualMapping: true + editable: true + model: comboBox.addDefaultItem(itemFilterModel.itemModel) + + textInput.validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ } + + HelperWidgets.ItemFilterModel { + id: itemFilterModel + modelNodeBackendProperty: modelNodeBackend + } + + property string defaultItem: qsTr("None") + property string textValue: comboBox.backendValue.expression + property bool block: false + property bool dirty: true + property var editRegExp: /^[a-z_]\w*/ + + onTextValueChanged: { + if (comboBox.block) + return + + comboBox.setCurrentText(comboBox.textValue) + } + onModelChanged: comboBox.setCurrentText(comboBox.textValue) + onCompressedActivated: comboBox.handleActivate(index) + Component.onCompleted: comboBox.setCurrentText(comboBox.textValue) + + onEditTextChanged: { + comboBox.dirty = true + colorLogic.errorState = !(editRegExp.exec(comboBox.editText) !== null + || comboBox.editText === parenthesize(defaultItem)) + } + onFocusChanged: { + if (comboBox.dirty) + comboBox.handleActivate(comboBox.currentIndex) + } + + function handleActivate(index) + { + if (!comboBox.__isCompleted || comboBox.backendValue === undefined) + return + + var cText = (index === -1) ? comboBox.editText : comboBox.textAt(index) + comboBox.block = true + comboBox.setCurrentText(cText) + comboBox.block = false + } + + function setCurrentText(text) + { + if (!comboBox.__isCompleted || comboBox.backendValue === undefined) + return + + comboBox.currentIndex = comboBox.find(text) + + if (text === "") { + comboBox.currentIndex = 0 + comboBox.editText = parenthesize(comboBox.defaultItem) + } else { + if (comboBox.currentIndex === -1) + comboBox.editText = text + else if (comboBox.currentIndex === 0) + comboBox.editText = parenthesize(comboBox.defaultItem) + } + + if (comboBox.currentIndex === 0) { + comboBox.backendValue.resetValue() + } else { + if (comboBox.backendValue.expression !== comboBox.editText) + comboBox.backendValue.expression = comboBox.editText + } + comboBox.dirty = false + } + + function addDefaultItem(arr) + { + var copy = arr.slice() + copy.unshift(parenthesize(comboBox.defaultItem)) + return copy + } + + function parenthesize(value) + { + return "[" + value + "]" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/MaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/MaterialSection.qml new file mode 100644 index 00000000..67441fe6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/MaterialSection.qml @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Material") + + SectionLayout { + + // Baked Lighting properties (may be internal eventually) + // ### lightmapIndirect + // ### lightmapRadiosity + // ### lightmapShadow + + // ### iblProbe override + + Label { + text: qsTr("Light Probe") + tooltip: qsTr("Defines a texture for overriding or setting an image based lighting texture for use with this material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.lightProbe + } + } + + Label { + text: qsTr("Displacement Map") + tooltip: qsTr("Defines a grayscale image used to offset the vertices of geometry across the surface of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.displacementMap + } + } + + Label { + text: qsTr("Displacement Amount") + tooltip: qsTr("Controls the offset amount for the displacement map.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.displacementAmount + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Culling Mode") + tooltip: qsTr("Defines whether culling is enabled and which mode is actually enabled.") + } + ComboBox { + scope: "Material" + model: ["BackFaceCulling", "FrontFaceCulling", "NoCulling"] + backendValue: backendValues.cullMode + Layout.fillWidth: true + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ModelSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ModelSection.qml new file mode 100644 index 00000000..77ec3261 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ModelSection.qml @@ -0,0 +1,169 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Model") + + SectionLayout { + id: tessellationSection + + Label { + text: qsTr("Source") + tooltip: qsTr("Defines the location of the mesh file containing the geometry of this model.") + } + SecondColumnLayout { + UrlChooser { + backendValue: backendValues.source + filter: "*.mesh" + } + } + + function hasTessellationMode(mode) { + if (tessellationModeComboBox.backendValue.valueToString !== "" && + tessellationModeComboBox.backendValue.valueToString !== mode) + return false + + if (tessellationModeComboBox.backendValue.enumeration !== "" && + tessellationModeComboBox.backendValue.enumeration !== mode) + return false + + return true + } + + Label { + text: qsTr("Tessellation Mode") + tooltip: qsTr("Defines what method to use to dynamically generate additional geometry for the model.") + } + SecondColumnLayout { + ComboBox { + id: tessellationModeComboBox + scope: "Model" + model: ["NoTessellation", "Linear", "Phong", "NPatch"] + backendValue: backendValues.tessellationMode + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Edge Tessellation") + tooltip: qsTr("Defines the edge multiplier to the tessellation generator.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 64.0 + minimumValue: 0.0 + decimals: 0 + backendValue: backendValues.edgeTessellation + Layout.fillWidth: true + enabled: !tessellationSection.hasTessellationMode("NoTessellation") + } + } + Label { + text: qsTr("Inner Tessellation") + tooltip: qsTr("Defines the inner multiplier to the tessellation generator.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 64.0 + minimumValue: 0.0 + decimals: 0 + backendValue: backendValues.innerTessellation + Layout.fillWidth: true + enabled: !tessellationSection.hasTessellationMode("NoTessellation") + } + } + + Label { + text: qsTr("Enable Wireframe Mode") + tooltip: qsTr("Enables the wireframe mode if tesselation is enabled.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.isWireframeMode.valueToString + backendValue: backendValues.isWireframeMode + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Casts Shadows") + tooltip: qsTr("Enables the geometry of this model to be rendered to the shadow maps.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.castsShadows.valueToString + backendValue: backendValues.castsShadows + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Receives Shadows") + tooltip: qsTr("Enables the geometry of this model to receive shadows.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.receivesShadows.valueToString + backendValue: backendValues.receivesShadows + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Pickable") + tooltip: qsTr("Controls whether the model is pickable or not.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.pickable.valueToString + backendValue: backendValues.pickable + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Materials") + } + SecondColumnLayout { + EditableListView { + backendValue: backendValues.materials + model: backendValues.materials.expressionAsList + Layout.fillWidth: true + + onAdd: function(value) { backendValues.materials.idListAdd(value) } + onRemove: function(idx) { backendValues.materials.idListRemove(idx) } + onReplace: function (idx, value) { backendValues.materials.idListReplace(idx, value) } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ModelSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ModelSpecifics.qml new file mode 100644 index 00000000..2f7f80ba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ModelSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ModelSection { + width: parent.width + } + + NodeSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/NodeSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/NodeSection.qml new file mode 100644 index 00000000..c9569638 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/NodeSection.qml @@ -0,0 +1,350 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 +import StudioTheme 1.0 as StudioTheme + +Column { + width: parent.width + + Section { + width: parent.width + caption: qsTr("Node") + + SectionLayout { + + Label { + text: qsTr("Opacity") + tooltip: qsTr("Controls the local opacity value of the node.") + } + + // ### should be a slider + SpinBox { + minimumValue: 0 + maximumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.opacity + Layout.fillWidth: true + sliderIndicatorVisible: true + } + + Label { + text: qsTr("Visibility") + tooltip: qsTr("Sets the local visibility of the node.") + } + SecondColumnLayout { + // ### should be a slider + CheckBox { + text: qsTr("Is Visible") + backendValue: backendValues.visible + Layout.fillWidth: true + } + } + } + } + + Section { + id: transformSection + width: parent.width + caption: qsTr("Transform") + + property int labelWidth: 10 + property int labelSpinBoxSpacing: 0 + property int spinBoxMinimumWidth: 120 + + GridLayout { + columns: 2 + rows: 2 + columnSpacing: 24 + rowSpacing: 12 + width: parent.width - 16 + + ColumnLayout { + + Label { + width: 100 + text: qsTr("Translation") + tooltip: qsTr("Sets the translation of the node.") + } + + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.x + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.y + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.z + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + } + + ColumnLayout { + + Label { + width: 100 + text: qsTr("Rotation") + tooltip: qsTr("Sets the rotation of the node in degrees.") + } + + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.eulerRotation_x + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.eulerRotation_y + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.eulerRotation_z + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + } + + ColumnLayout { + + Label { + text: qsTr("Scale") + tooltip: qsTr("Sets the scale of the node.") + } + + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 50 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.scale_x + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 50 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.scale_y + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 50 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.scale_z + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + } + + ColumnLayout { + + Label { + text: qsTr("Pivot") + tooltip: qsTr("Sets the pivot of the node.") + } + + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("X") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisXColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.pivot_x + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("Y") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisYColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.pivot_y + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + RowLayout { + spacing: transformSection.labelSpinBoxSpacing + + Label { + text: qsTr("Z") + width: transformSection.labelWidth + color: StudioTheme.Values.theme3DAxisZColor + } + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.pivot_z + Layout.fillWidth: true + Layout.minimumWidth: transformSection.spinBoxMinimumWidth + } + } + } + + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/NodeSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/NodeSpecifics.qml new file mode 100644 index 00000000..124e6af9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/NodeSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + NodeSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/Object3DSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/Object3DSection.qml new file mode 100644 index 00000000..d708a097 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/Object3DSection.qml @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Object") + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/OrthographicCameraSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/OrthographicCameraSection.qml new file mode 100644 index 00000000..d6504298 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/OrthographicCameraSection.qml @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Orthographic Camera") + + SectionLayout { + Label { + text: qsTr("Clip Near") + tooltip: qsTr("Sets the near value of the camera view frustum.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.clipNear + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Clip Far") + tooltip: qsTr("Sets the far value of the camera view frustum.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + stepSize: 100 + backendValue: backendValues.clipFar + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/OrthographicCameraSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/OrthographicCameraSpecifics.qml new file mode 100644 index 00000000..3cd98e0d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/OrthographicCameraSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + OrthographicCameraSection { + width: parent.width + } + + NodeSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PassSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PassSection.qml new file mode 100644 index 00000000..da4109b9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PassSection.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Pass") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Commands") + tooltip: qsTr("Render commands of the pass.") + } + SecondColumnLayout { + EditableListView { + backendValue: backendValues.commands + model: backendValues.commands.expressionAsList + Layout.fillWidth: true + typeFilter: "QtQuick3D.Command" + + onAdd: function(value) { backendValues.commands.idListAdd(value) } + onRemove: function(idx) { backendValues.commands.idListRemove(idx) } + onReplace: function (idx, value) { backendValues.commands.idListReplace(idx, value) } + } + } + Label { + text: qsTr("Buffer") + tooltip: qsTr("Output buffer for the pass.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Buffer" + Layout.fillWidth: true + backendValue: backendValues.output + } + } + Label { + text: qsTr("Shaders") + tooltip: qsTr("Shaders for the pass.") + } + SecondColumnLayout { + EditableListView { + backendValue: backendValues.shaders + model: backendValues.shaders.expressionAsList + Layout.fillWidth: true + typeFilter: "QtQuick3D.Shader" + + onAdd: function(value) { backendValues.shaders.idListAdd(value) } + onRemove: function(idx) { backendValues.shaders.idListRemove(idx) } + onReplace: function (idx, value) { backendValues.shaders.idListReplace(idx, value) } + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PassSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PassSpecifics.qml new file mode 100644 index 00000000..2a59fb0b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PassSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PassSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PerspectiveCameraSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PerspectiveCameraSection.qml new file mode 100644 index 00000000..153686d5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PerspectiveCameraSection.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Perspective Camera") + + SectionLayout { + Label { + text: qsTr("Clip Near") + tooltip: qsTr("Sets the near value of the view frustum of the camera.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.clipNear + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Clip Far") + tooltip: qsTr("Sets the far value of the view frustum of the camera.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + stepSize: 100 + backendValue: backendValues.clipFar + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Field of View") + tooltip: qsTr("Sets the field of view of the camera in degrees.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 180 + decimals: 2 + backendValue: backendValues.fieldOfView + Layout.fillWidth: true + } + } + + Label { + text: qsTr("FOV Orientation") + tooltip: qsTr("Determines if the field of view property reflects the vertical or the horizontal field of view.") + } + ComboBox { + scope: "PerspectiveCamera" + model: ["Vertical", "Horizontal"] + backendValue: backendValues.fieldOfViewOrientation + Layout.fillWidth: true + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PerspectiveCameraSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PerspectiveCameraSpecifics.qml new file mode 100644 index 00000000..db48c589 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PerspectiveCameraSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PerspectiveCameraSection { + width: parent.width + } + + NodeSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PointLightSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PointLightSection.qml new file mode 100644 index 00000000..dd50ef0e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PointLightSection.qml @@ -0,0 +1,142 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("PointLight") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Scope") + tooltip: qsTr("Sets the scope of the light. Only the node and its children are affected by this light.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Node" + Layout.fillWidth: true + backendValue: backendValues.scope + } + } + Label { + text: qsTr("Brightness") + tooltip: qsTr("Sets the strength of the light.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.brightness + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Constant Fade") + tooltip: qsTr("Sets the constant attenuation of the light.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.constantFade + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Linear Fade") + tooltip: qsTr("Sets the linear attenuation of the light.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.linearFade + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Quadratic Fade") + tooltip: qsTr("Sets the quadratic attenuation of the light.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.quadraticFade + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Color") + width: parent.width + + ColorEditor { + caption: qsTr("Color") + backendValue: backendValues.color + supportGradient: false + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Ambient Color") + width: parent.width + ColorEditor { + caption: qsTr("Ambient Color") + backendValue: backendValues.ambientColor + supportGradient: false + Layout.fillWidth: true + } + } + + ShadowSection { + width: parent.width + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PointLightSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PointLightSpecifics.qml new file mode 100644 index 00000000..d765e889 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PointLightSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + NodeSection { + width: parent.width + } + + PointLightSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PrincipledMaterialSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PrincipledMaterialSection.qml new file mode 100644 index 00000000..c218a8c1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PrincipledMaterialSection.qml @@ -0,0 +1,447 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Principled Material") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Alpha Mode") + tooltip: qsTr("Sets the mode for how the alpha channel of material color is used.") + } + SecondColumnLayout { + ComboBox { + scope: "PrincipledMaterial" + model: ["Opaque", "Mask", "Blend"] + backendValue: backendValues.alphaMode + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Alpha Cutoff") + tooltip: qsTr("Specifies the cutoff value when using the Mask alphaMode.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.alphaCutoff + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Blend Mode") + tooltip: qsTr("Determines how the colors of the model rendered blend with those behind it.") + } + SecondColumnLayout { + ComboBox { + scope: "PrincipledMaterial" + model: ["SourceOver", "Screen", "Multiply", "Overlay", "ColorBurn", "ColorDodge"] + backendValue: backendValues.blendMode + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Index Of Refraction") + tooltip: qsTr("Controls how fast light travels through the material.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 1 + maximumValue: 3 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.indexOfRefraction + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Lighting") + tooltip: qsTr("Defines which lighting method is used when generating this material.") + } + SecondColumnLayout { + ComboBox { + scope: "PrincipledMaterial" + model: ["NoLighting", "FragmentLighting"] + backendValue: backendValues.lighting + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Metalness") + width: parent.width + SectionLayout { + Label { + text: qsTr("Metalness") + tooltip: qsTr("Defines the metalness of the the material.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.metalness + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Metalness Map") + tooltip: qsTr("Sets a texture to be used to set the metalness amount for the different parts of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.metalnessMap + } + } + + Label { + text: qsTr("Metalness Channel") + tooltip: qsTr("Defines the texture channel used to read the metalness value from metalnessMap.") + } + SecondColumnLayout { + ComboBox { + scope: "Material" + model: ["R", "G", "B", "A"] + backendValue: backendValues.metalnessChannel + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Normal") + width: parent.width + SectionLayout { + Label { + text: qsTr("Normal Map") + tooltip: qsTr("Defines an RGB image used to simulate fine geometry displacement across the surface of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.normalMap + } + } + + Label { + text: qsTr("Normal Strength") + tooltip: qsTr("Controls the amount of simulated displacement for the normalMap.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.normalStrength + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Occlusion") + width: parent.width + SectionLayout { + Label { + text: qsTr("Occlusion Amount") + tooltip: qsTr("Contains the factor used to modify the values from the occlusionMap texture.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.occlusionAmount + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Occlusion Map") + tooltip: qsTr("Defines a texture used to determine how much indirect light the different areas of the material should receive.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.occlusionMap + } + } + + Label { + text: qsTr("Occlusion Channel") + tooltip: qsTr("Defines the texture channel used to read the occlusion value from occlusionMap.") + } + SecondColumnLayout { + ComboBox { + scope: "Material" + model: ["R", "G", "B", "A"] + backendValue: backendValues.occlusionChannel + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Opacity") + width: parent.width + SectionLayout { + Label { + text: qsTr("Opacity") + tooltip: qsTr("Drops the opacity of just this material, separate from the model.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 1 + minimumValue: 0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.opacity + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Opacity Map") + tooltip: qsTr("Defines a texture used to control the opacity differently for different parts of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.opacityMap + } + } + + Label { + text: qsTr("Opacity Channel") + tooltip: qsTr("Defines the texture channel used to read the opacity value from opacityMap.") + } + SecondColumnLayout { + ComboBox { + scope: "Material" + model: ["R", "G", "B", "A"] + backendValue: backendValues.opacityChannel + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Roughness") + width: parent.width + SectionLayout { + Label { + text: qsTr("Roughness") + tooltip: qsTr("Controls the size of the specular highlight generated from lights, and the clarity of reflections in general.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.roughness + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Roughness Map") + tooltip: qsTr("Defines a texture to control the specular roughness of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.roughnessMap + } + } + + Label { + text: qsTr("Roughness Channel") + tooltip: qsTr("Defines the texture channel used to read the roughness value from roughnessMap.") + } + SecondColumnLayout { + ComboBox { + scope: "Material" + model: ["R", "G", "B", "A"] + backendValue: backendValues.roughnessChannel + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Specular") + width: parent.width + SectionLayout { + Label { + text: qsTr("Specular Amount") + tooltip: qsTr("Controls the strength of specularity (highlights and reflections).") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.specularAmount + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Specular Map") + tooltip: qsTr("Defines a RGB Texture to modulate the amount and the color of specularity across the surface of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.specularMap + } + } + + Label { + text: qsTr("Specular Reflection Map") + tooltip: qsTr("Sets a texture used for specular highlights on the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.specularReflectionMap + } + } + + Label { + text: qsTr("Specular Tint") + tooltip: qsTr("Defines how much of the base color contributes to the specular reflections.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 1 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.specularTint + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Base Color") + width: parent.width + + Column { + width: parent.width + + ColorEditor { + caption: qsTr("Base Color") + backendValue: backendValues.baseColor + supportGradient: false + Layout.fillWidth: true + } + SectionLayout { + Label { + text: qsTr("Base Color Map") + tooltip: qsTr("Defines a texture used to set the base color of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.baseColorMap + } + } + } + } + } + + Section { + caption: qsTr("Emissive Color") + width: parent.width + + Column { + width: parent.width + + ColorEditor { + caption: qsTr("Emissive Color") + backendValue: backendValues.emissiveColor + supportGradient: false + Layout.fillWidth: true + } + SectionLayout { + Label { + text: qsTr("Emissive Map") + tooltip: qsTr("Sets a texture to be used to set the emissive factor for different parts of the material.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.emissiveMap + } + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PrincipledMaterialSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PrincipledMaterialSpecifics.qml new file mode 100644 index 00000000..8bf490c8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/PrincipledMaterialSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + PrincipledMaterialSection { + width: parent.width + } + + MaterialSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/RenderStateSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/RenderStateSection.qml new file mode 100644 index 00000000..2d8f28ce --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/RenderStateSection.qml @@ -0,0 +1,65 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Render State") + width: parent.width + + SectionLayout { + Label { + text: qsTr("State") + tooltip: qsTr("Render state to set for a pass.") + } + ComboBox { + scope: "RenderState" + model: ["Unknown", "Blend", "CullFace", "DepthTest", "StencilTest", "ScissorTest", "DepthWrite", "Multisample"] + backendValue: backendValues.renderState + Layout.fillWidth: true + } + Label { + text: qsTr("Enabled") + tooltip: qsTr("Render state enable state.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.enabled.valueToString + backendValue: backendValues.enabled + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/RenderStateSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/RenderStateSpecifics.qml new file mode 100644 index 00000000..23ce2c13 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/RenderStateSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + RenderStateSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SceneEnvironmentSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SceneEnvironmentSection.qml new file mode 100644 index 00000000..eae40e4e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SceneEnvironmentSection.qml @@ -0,0 +1,318 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + Section { + caption: qsTr("Scene Environment") + width: parent.width + SectionLayout { + Label { + text: qsTr("Antialiasing Mode") + tooltip: qsTr("Sets the antialiasing mode applied to the scene.") + } + SecondColumnLayout { + ComboBox { + scope: "SceneEnvironment" + model: ["NoAA", "SSAA", "MSAA", "ProgressiveAA"] + backendValue: backendValues.antialiasingMode + Layout.fillWidth: true + } + } + Label { + text: qsTr("Antialiasing Quality") + tooltip: qsTr("Sets the level of antialiasing applied to the scene.") + } + SecondColumnLayout { + ComboBox { + scope: "SceneEnvironment" + model: ["Medium", "High", "VeryHigh"] + backendValue: backendValues.antialiasingQuality + Layout.fillWidth: true + } + } + Label { + text: qsTr("Temporal AA") + tooltip: qsTr("Enables temporal antialiasing using camera jittering and frame blending.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.temporalAAEnabled.valueToString + backendValue: backendValues.temporalAAEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Temporal AA Strength") + tooltip: qsTr("Sets the amount of temporal antialiasing applied.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 2.0 + minimumValue: 0.01 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.temporalAAStrength + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Background Mode") + tooltip: qsTr("Controls if and how the background of the scene should be cleared.") + } + SecondColumnLayout { + ComboBox { + scope: "SceneEnvironment" + model: ["Transparent", "Unspecified", "Color", "SkyBox"] + backendValue: backendValues.backgroundMode + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Enable Depth Test") + tooltip: qsTr("Enables depth testing. Disable to optimize render speed for layers with mostly transparent objects.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.depthTestEnabled.valueToString + backendValue: backendValues.depthTestEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Enable Depth Prepass") + tooltip: qsTr("Draw depth buffer as a separate pass. Disable to optimize render speed for layers with low depth complexity.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.depthPrePassEnabled.valueToString + backendValue: backendValues.depthPrePassEnabled + Layout.fillWidth: true + } + } + Label { + text: qsTr("Effect") + tooltip: qsTr("A post-processing effect applied to this scene.") + } + SecondColumnLayout { + EditableListView { + backendValue: backendValues.effects + model: backendValues.effects.expressionAsList + Layout.fillWidth: true + typeFilter: "QtQuick3D.Effect" + + onAdd: function(value) { backendValues.effects.idListAdd(value) } + onRemove: function(idx) { backendValues.effects.idListRemove(idx) } + onReplace: function (idx, value) { backendValues.effects.idListReplace(idx, value) } + } + } + } + } + + Section { + caption: qsTr("Clear Color") + width: parent.width + ColorEditor { + caption: qsTr("Clear Color") + backendValue: backendValues.clearColor + supportGradient: false + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Ambient Occlusion") + width: parent.width + + SectionLayout { + + Label { + text: qsTr("AO Strength") + tooltip: qsTr("Sets the amount of ambient occlusion applied.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 100 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.aoStrength + Layout.fillWidth: true + } + } + + Label { + text: qsTr("AO Distance") + tooltip: qsTr("Sets how far ambient occlusion shadows spread away from objects.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 99999 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.aoDistance + Layout.fillWidth: true + } + } + + Label { + text: qsTr("AO Softness") + tooltip: qsTr("Sets how smooth the edges of the ambient occlusion shading are.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 50 + minimumValue: 0 + decimals: 0 + backendValue: backendValues.aoSoftness + Layout.fillWidth: true + } + } + + Label { + text: qsTr("AO Dither") + tooltip: qsTr("Enables scattering of the ambient occlusion shadow band edges to improve smoothness (at the risk of sometimes producing obvious patterned artifacts).") + } + SecondColumnLayout { + CheckBox { + text: backendValues.aoDither.valueToString + backendValue: backendValues.aoDither + Layout.fillWidth: true + } + } + + Label { + text: qsTr("AO Sample Rate") + tooltip: qsTr("Sets the ambient occlusion quality (more shades of gray) at the expense of performance.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 4 + minimumValue: 2 + decimals: 0 + backendValue: backendValues.aoSampleRate + Layout.fillWidth: true + } + } + + Label { + text: qsTr("AO Bias") + tooltip: qsTr("Sets the cutoff distance preventing objects from exhibiting ambient occlusion at close distances.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: -999999 + realDragRange: 5000 + decimals: 2 + backendValue: backendValues.aoBias + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Image Based Lighting") + width: parent.width + SectionLayout { + Label { + text: qsTr("Light Probe") + tooltip: qsTr("Defines a texture for overriding or setting an image based lighting texture for use with the skybox of this scene.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.lightProbe + } + } + Label { + text: qsTr("Probe Brightness") + tooltip: qsTr("Sets the amount of light emitted by the light probe.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: -999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.probeBrightness + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Fast IBL") + tooltip: qsTr("Use a faster approximation to image-based lighting.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.aoDither.valueToString + backendValue: backendValues.fastIBL + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Probe Horizon") + tooltip: qsTr("Upper limit for horizon darkening of the light probe.") + } + SecondColumnLayout { + SpinBox { + maximumValue: -0.001 + minimumValue: -1 + decimals: 3 + stepSize: 0.1 + backendValue: backendValues.probeHorizon + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Probe FOV") + tooltip: qsTr("Image source FOV for the case of using a camera-source as the IBL probe.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 180 + minimumValue: 1.0 + decimals: 1 + backendValue: backendValues.probeFieldOfView + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SceneEnvironmentSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SceneEnvironmentSpecifics.qml new file mode 100644 index 00000000..86ff5d8b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SceneEnvironmentSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + SceneEnvironmentSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SetUniformValueSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SetUniformValueSection.qml new file mode 100644 index 00000000..76062779 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SetUniformValueSection.qml @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Set Uniform Value") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Target") + tooltip: qsTr("The name of the uniform to change value for a pass.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.target + Layout.fillWidth: true + showTranslateCheckBox: false + } + } + Label { + text: qsTr("Value") + tooltip: qsTr("The value of the uniform.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.value + Layout.fillWidth: true + showTranslateCheckBox: false + writeAsExpression: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SetUniformValueSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SetUniformValueSpecifics.qml new file mode 100644 index 00000000..96982ef9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SetUniformValueSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + SetUniformValueSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderInfoSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderInfoSection.qml new file mode 100644 index 00000000..c678b3a5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderInfoSection.qml @@ -0,0 +1,76 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Shader Info") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Version") + tooltip: qsTr("Shader code version to use.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.version + Layout.fillWidth: true + showTranslateCheckBox: false + } + } + Label { + text: qsTr("Type") + tooltip: qsTr("Shader type.") + } + SecondColumnLayout { + LineEdit { + backendValue: backendValues.type + Layout.fillWidth: true + showTranslateCheckBox: false + } + } + Label { + text: qsTr("Key") + tooltip: qsTr("Shader key.") + } + ComboBox { + scope: "ShaderInfo" + model: ["Diffuse", "Specular", "Cutout", "Refraction", "Transparent", "Displace", "Transmissive", "Glossy"] + backendValue: backendValues.shaderKey + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderInfoSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderInfoSpecifics.qml new file mode 100644 index 00000000..488076c3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderInfoSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ShaderInfoSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderSection.qml new file mode 100644 index 00000000..cc52cd18 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderSection.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Shader") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Source") + tooltip: qsTr("Shader source code.") + } + SecondColumnLayout { + UrlChooser { + backendValue: backendValues.shader + filter: "*.*" + } + } + Label { + text: qsTr("Stage") + tooltip: qsTr("Shader stage.") + } + ComboBox { + scope: "Shader" + model: ["Shared", "Vertex", "Fragment", "Geometry", "Compute"] + backendValue: backendValues.stage + Layout.fillWidth: true + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderSpecifics.qml new file mode 100644 index 00000000..3de46b66 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShaderSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + ShaderSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShadowSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShadowSection.qml new file mode 100644 index 00000000..ed4a6185 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/ShadowSection.qml @@ -0,0 +1,133 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Shadows") + width: parent.width + + SectionLayout { + + Label { + text: qsTr("Casts Shadow") + tooltip: qsTr("Enables shadow casting for this light.") + } + SecondColumnLayout { + CheckBox { + id: shadowCheckBox + text: backendValues.castsShadow.valueToString + backendValue: backendValues.castsShadow + Layout.fillWidth: true + } + } + + // ### all the following should only be shown when shadows are enabled + Label { + text: qsTr("Shadow Factor") + tooltip: qsTr("Determines how dark the cast shadows should be.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0.0 + maximumValue: 100.0 + decimals: 0 + backendValue: backendValues.shadowFactor + Layout.fillWidth: true + enabled: shadowCheckBox.backendValue.value === true + } + } + + Label { + text: qsTr("Shadow Filter") + tooltip: qsTr("Sets how much blur is applied to the shadows.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 1.0 + maximumValue: 100.0 + decimals: 0 + backendValue: backendValues.shadowFilter + Layout.fillWidth: true + enabled: shadowCheckBox.backendValue.value === true + } + } + + Label { + text: qsTr("Shadow Map Quality") + tooltip: qsTr("Sets the quality of the shadow map created for shadow rendering.") + } + SecondColumnLayout { + ComboBox { + scope: "Light" + model: ["ShadowMapQualityLow", "ShadowMapQualityMedium", "ShadowMapQualityHigh", "ShadowMapQualityVeryHigh"] + backendValue: backendValues.shadowMapQuality + Layout.fillWidth: true + enabled: shadowCheckBox.backendValue.value === true + } + } + + Label { + text: qsTr("Shadow Bias") + tooltip: qsTr("Sets a slight offset to avoid self-shadowing artifacts.") + } + SecondColumnLayout { + SpinBox { + minimumValue: -1.0 + maximumValue: 1.0 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.shadowBias + Layout.fillWidth: true + enabled: shadowCheckBox.backendValue.value === true + } + } + + Label { + text: qsTr("Shadow Map Far") + tooltip: qsTr("Determines the maximum distance for the shadow map.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + stepSize: 100 + backendValue: backendValues.shadowMapFar + Layout.fillWidth: true + enabled: shadowCheckBox.backendValue.value === true + } + } + + } +} + diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SpotLightSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SpotLightSection.qml new file mode 100644 index 00000000..6b7f361f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SpotLightSection.qml @@ -0,0 +1,170 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("SpotLight") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Scope") + tooltip: qsTr("Sets the scope of the light. Only the node and its children are affected by this light.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Node" + Layout.fillWidth: true + backendValue: backendValues.scope + } + } + Label { + text: qsTr("Brightness") + tooltip: qsTr("Sets the strength of the light.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 9999999 + minimumValue: -9999999 + realDragRange: 5000 + decimals: 0 + backendValue: backendValues.brightness + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Constant Fade") + tooltip: qsTr("Sets the constant attenuation of the light.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.constantFade + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Linear Fade") + tooltip: qsTr("Sets the linear attenuation of the light.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.linearFade + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Quadratic Fade") + tooltip: qsTr("Sets the quadratic attenuation of the light.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 10 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.quadraticFade + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Cone Angle") + tooltip: qsTr("Sets the angle of the light cone.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 180 + decimals: 2 + backendValue: backendValues.coneAngle + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Inner Cone Angle") + tooltip: qsTr("Sets the angle of the inner light cone.") + } + SecondColumnLayout { + SpinBox { + minimumValue: 0 + maximumValue: 180 + decimals: 2 + backendValue: backendValues.innerConeAngle + Layout.fillWidth: true + } + } + } + } + + Section { + caption: qsTr("Color") + width: parent.width + + ColorEditor { + caption: qsTr("Color") + backendValue: backendValues.color + supportGradient: false + Layout.fillWidth: true + } + } + + Section { + caption: qsTr("Ambient Color") + width: parent.width + ColorEditor { + caption: qsTr("Ambient Color") + backendValue: backendValues.ambientColor + supportGradient: false + Layout.fillWidth: true + } + } + + ShadowSection { + width: parent.width + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SpotLightSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SpotLightSpecifics.qml new file mode 100644 index 00000000..eba4f27f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/SpotLightSpecifics.qml @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + NodeSection { + width: parent.width + } + + SpotLightSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureInputSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureInputSection.qml new file mode 100644 index 00000000..560b1df1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureInputSection.qml @@ -0,0 +1,66 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + Section { + caption: qsTr("Texture Input") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Texture") + tooltip: qsTr("Input texture.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Texture" + Layout.fillWidth: true + backendValue: backendValues.texture + } + } + Label { + text: qsTr("Enabled") + tooltip: qsTr("Texture enable state.") + } + SecondColumnLayout { + CheckBox { + text: backendValues.enabled.valueToString + backendValue: backendValues.enabled + Layout.fillWidth: true + } + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureInputSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureInputSpecifics.qml new file mode 100644 index 00000000..32e714e6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureInputSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + TextureInputSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureSection.qml new file mode 100644 index 00000000..70e9af1e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureSection.qml @@ -0,0 +1,210 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("Image") + width: parent.width + SectionLayout { + Label { + text: qsTr("Source") + tooltip: qsTr("Holds the location of an image file containing the data used by the texture.") + } + SecondColumnLayout { + UrlChooser { + backendValue: backendValues.source + } + } + + Label { + text: qsTr("Source Item") + tooltip: qsTr("Defines an item to be used as the source of the texture.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick.Item" + Layout.fillWidth: true + backendValue: backendValues.sourceItem + } + } + + Label { + text: qsTr("U Scale") + tooltip: qsTr("Defines how to scale the U texture coordinate when mapping to UV coordinates of a mesh.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: 0 + realDragRange: 10 + decimals: 0 + backendValue: backendValues.scaleU + Layout.fillWidth: true + } + } + + Label { + text: qsTr("V Scale") + tooltip: qsTr("Defines how to scale the V texture coordinate when mapping to UV coordinates of a mesh.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: 0 + realDragRange: 10 + decimals: 0 + backendValue: backendValues.scaleV + Layout.fillWidth: true + } + } + + Label { + text: qsTr("Texture Mapping") + tooltip: qsTr("Defines which method of mapping to use when sampling this texture.") + } + SecondColumnLayout { + ComboBox { + scope: "Texture" + model: ["UV", "Environment", "LightProbe"] + backendValue: backendValues.mappingMode + Layout.fillWidth: true + } + } + + Label { + text: qsTr("U Tiling") + tooltip: qsTr("Controls how the texture is mapped when the U scaling value is greater than 1.") + } + SecondColumnLayout { + ComboBox { + scope: "Texture" + model: ["Unknown", "ClampToEdge", "MirroredRepeat", "Repeat"] + backendValue: backendValues.tilingModeHorizontal + Layout.fillWidth: true + } + } + + Label { + text: qsTr("V Tiling") + tooltip: qsTr("Controls how the texture is mapped when the V scaling value is greater than 1.") + } + SecondColumnLayout { + ComboBox { + scope: "Texture" + model: ["Unknown", "ClampToEdge", "MirroredRepeat", "Repeat"] + backendValue: backendValues.tilingModeVertical + Layout.fillWidth: true + } + } + + Label { + text: qsTr("UV Rotation") + tooltip: qsTr("Rotates the texture around the pivot point.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: -999999 + realDragRange: 360 + decimals: 0 + backendValue: backendValues.rotationUV + Layout.fillWidth: true + } + } + + Label { + text: qsTr("U Position") + tooltip: qsTr("Offsets the U coordinate mapping from left to right.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: -999999 + realDragRange: 2 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.positionU + Layout.fillWidth: true + } + } + + Label { + text: qsTr("V Position") + tooltip: qsTr("Offsets the V coordinate mapping from bottom to top.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: -999999 + realDragRange: 2 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.positionV + Layout.fillWidth: true + } + } + + Label { + text: qsTr("U Pivot") + tooltip: qsTr("Sets the pivot U position.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: -999999 + realDragRange: 2 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.pivotU + Layout.fillWidth: true + } + } + + Label { + text: qsTr("V Pivot") + tooltip: qsTr("Sets the pivot V position.") + } + SecondColumnLayout { + SpinBox { + maximumValue: 999999 + minimumValue: -999999 + realDragRange: 2 + decimals: 2 + stepSize: 0.1 + backendValue: backendValues.pivotV + Layout.fillWidth: true + } + } + + } + +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureSpecifics.qml new file mode 100644 index 00000000..8eec6551 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/TextureSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + TextureSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/View3DSection.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/View3DSection.qml new file mode 100644 index 00000000..f8f08ad5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/View3DSection.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Section { + caption: qsTr("View3D") + width: parent.width + + SectionLayout { + Label { + text: qsTr("Camera") + tooltip: qsTr("Specifies which camera is used to render the scene.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Camera" + Layout.fillWidth: true + backendValue: backendValues.camera + } + } + + Label { + text: qsTr("Environment") + tooltip: qsTr("Specifies the scene environment used to render the scene.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.SceneEnvironment" + Layout.fillWidth: true + backendValue: backendValues.environment + } + } + + Label { + text: qsTr("Import Scene") + tooltip: qsTr("Defines the reference node of the scene to render to the viewport.") + } + SecondColumnLayout { + IdComboBox { + typeFilter: "QtQuick3D.Node" + Layout.fillWidth: true + backendValue: backendValues.importScene + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/View3DSpecifics.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/View3DSpecifics.qml new file mode 100644 index 00000000..b0df5386 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/View3DSpecifics.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import HelperWidgets 2.0 +import QtQuick.Layouts 1.12 + +Column { + width: parent.width + + View3DSection { + width: parent.width + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera.png new file mode 100644 index 00000000..44604215 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera16.png new file mode 100644 index 00000000..74d84d62 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera@2x.png new file mode 100644 index 00000000..8931adb0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/camera@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone.png new file mode 100644 index 00000000..29e0df73 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone16.png new file mode 100644 index 00000000..d30f9244 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone@2x.png new file mode 100644 index 00000000..099e80c9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cone@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube.png new file mode 100644 index 00000000..95812637 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube16.png new file mode 100644 index 00000000..759f073d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube@2x.png new file mode 100644 index 00000000..7ab1e27a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cube@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder.png new file mode 100644 index 00000000..e3914465 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder16.png new file mode 100644 index 00000000..37d683d9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder@2x.png new file mode 100644 index 00000000..2b166ed3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy.png new file mode 100644 index 00000000..a3b6c7f6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy16.png new file mode 100644 index 00000000..de8906a7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy@2x.png new file mode 100644 index 00000000..7ca04a01 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group.png new file mode 100644 index 00000000..fd9d439c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group16.png new file mode 100644 index 00000000..0e85848c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group@2x.png new file mode 100644 index 00000000..d230647e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/group@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light.png new file mode 100644 index 00000000..d03cddaa Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light16.png new file mode 100644 index 00000000..12d2f41c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light@2x.png new file mode 100644 index 00000000..15926cd9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/light@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material.png new file mode 100644 index 00000000..7755645f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material16.png new file mode 100644 index 00000000..7f486b8d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material@2x.png new file mode 100644 index 00000000..ea604a96 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/material@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/model16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/model16.png new file mode 100644 index 00000000..759f073d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/model16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane.png new file mode 100644 index 00000000..87d4979d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane16.png new file mode 100644 index 00000000..6f55b081 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane@2x.png new file mode 100644 index 00000000..b8799e6d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/plane@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene.png new file mode 100644 index 00000000..e13791e5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene16.png new file mode 100644 index 00000000..202b2f90 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene@2x.png new file mode 100644 index 00000000..cef25b11 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/scene@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand.png new file mode 100644 index 00000000..86aa50b3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand16.png new file mode 100644 index 00000000..62a9160e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand@2x.png new file mode 100644 index 00000000..6fc3793e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil.png new file mode 100644 index 00000000..948752c3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil16.png new file mode 100644 index 00000000..a33401e0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil@2x.png new file mode 100644 index 00000000..a54511ed Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere.png new file mode 100644 index 00000000..28f0ab4c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere16.png new file mode 100644 index 00000000..1db5129b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere@2x.png new file mode 100644 index 00000000..9243df7e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture.png new file mode 100644 index 00000000..35abe7ac Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture16.png new file mode 100644 index 00000000..ea87efb7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture@2x.png new file mode 100644 index 00000000..b13e4fa4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/texture@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D.png new file mode 100644 index 00000000..5ac7ae83 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D16.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D16.png new file mode 100644 index 00000000..ade7500c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D16.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D@2x.png b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D@2x.png new file mode 100644 index 00000000..94a5c105 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D@2x.png differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/quick3d.metainfo b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/quick3d.metainfo new file mode 100644 index 00000000..e16e6dc2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/quick3d.metainfo @@ -0,0 +1,588 @@ +MetaInfo { + Type { + name: "QtQuick3D.PerspectiveCamera" + icon: "images/camera16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Camera Perspective" + category: "Qt Quick 3D" + libraryIcon: "images/camera.png" + version: "1.0" + requiredImport: "QtQuick3D" + Property { name: "z"; type: "int"; value: 500; } + } + } + Type { + name: "QtQuick3D.OrthographicCamera" + icon: "images/camera16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Camera Orthographic" + category: "Qt Quick 3D" + libraryIcon: "images/camera.png" + version: "1.0" + requiredImport: "QtQuick3D" + Property { name: "z"; type: "int"; value: 500; } + } + } + Type { + name: "QtQuick3D.FrustumCamera" + icon: "images/camera16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Camera Frustum" + category: "Qt Quick 3D" + libraryIcon: "images/camera.png" + version: "1.0" + requiredImport: "QtQuick3D" + Property { name: "z"; type: "int"; value: 500; } + } + } + Type { + name: "QtQuick3D.CustomCamera" + icon: "images/camera16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Camera Custom" + category: "Qt Quick 3D" + libraryIcon: "images/camera.png" + version: "1.0" + requiredImport: "QtQuick3D" + Property { name: "z"; type: "int"; value: 500; } + } + } + Type { + name: "QtQuick3D.DefaultMaterial" + icon: "images/material16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Default Material" + category: "Qt Quick 3D" + libraryIcon: "images/material.png" + version: "1.0" + requiredImport: "QtQuick3D" + Property { name: "diffuseColor"; type: "color"; value: "green"; } + } + } + Type { + name: "QtQuick3D.PrincipledMaterial" + icon: "images/material16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Principled Material" + category: "Qt Quick 3D" + libraryIcon: "images/material.png" + version: "1.0" + requiredImport: "QtQuick3D" + Property { name: "baseColor"; type: "color"; value: "#ff000000"; } + Property { name: "metalness"; type: "int"; value: "0"; } + Property { name: "roughness"; type: "float"; value: "0.734981"; } + } + } + Type { + name: "QtQuick3D.Texture" + icon: "images/texture16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeContainer: false + } + + ItemLibraryEntry { + name: "Texture" + category: "Qt Quick 3D" + libraryIcon: "images/texture.png" + version: "1.0" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.DirectionalLight" + icon: "images/light16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Light Directional" + category: "Qt Quick 3D" + libraryIcon: "images/light.png" + version: "1.0" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.PointLight" + icon: "images/light16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Light Point" + category: "Qt Quick 3D" + libraryIcon: "images/light.png" + version: "1.0" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.AreaLight" + icon: "images/light16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Light Area" + category: "Qt Quick 3D" + libraryIcon: "images/light.png" + version: "1.0" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.SpotLight" + icon: "images/light16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Light Spot" + category: "Qt Quick 3D" + libraryIcon: "images/light.png" + version: "1.0" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.Model" + icon: "images/model16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + visibleNonDefaultProperties: "materials" + } + + ItemLibraryEntry { + name: "Cube" + category: "Qt Quick 3D" + libraryIcon: "images/cube.png" + version: "1.0" + requiredImport: "QtQuick3D" + QmlSource { source: "./source/cube_model_template.qml" } + } + } + Type { + name: "QtQuick3D.Model" + icon: "images/model16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + visibleNonDefaultProperties: "materials" + } + + ItemLibraryEntry { + name: "Sphere" + category: "Qt Quick 3D" + libraryIcon: "images/sphere.png" + version: "1.0" + requiredImport: "QtQuick3D" + QmlSource { source: "./source/sphere_model_template.qml" } + } + } + Type { + name: "QtQuick3D.Model" + icon: "images/model16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + visibleNonDefaultProperties: "materials" + } + + ItemLibraryEntry { + name: "Cylinder" + category: "Qt Quick 3D" + libraryIcon: "images/cylinder.png" + version: "1.0" + requiredImport: "QtQuick3D" + QmlSource { source: "./source/cylinder_model_template.qml" } + } + } + Type { + name: "QtQuick3D.Model" + icon: "images/model16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + visibleNonDefaultProperties: "materials" + } + + ItemLibraryEntry { + name: "Plane" + category: "Qt Quick 3D" + libraryIcon: "images/plane.png" + version: "1.0" + requiredImport: "QtQuick3D" + QmlSource { source: "./source/plane_model_template.qml" } + } + } + Type { + name: "QtQuick3D.Model" + icon: "images/model16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + visibleNonDefaultProperties: "materials" + } + + ItemLibraryEntry { + name: "Cone" + category: "Qt Quick 3D" + libraryIcon: "images/cone.png" + version: "1.0" + requiredImport: "QtQuick3D" + QmlSource { source: "./source/cone_model_template.qml" } + } + } + Type { + name: "QtQuick3D.Node" + icon: "images/group16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + canBeDroppedInView3D: true + } + + ItemLibraryEntry { + name: "Group" + category: "Qt Quick 3D" + libraryIcon: "images/group.png" + version: "1.0" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.SceneEnvironment" + icon: "images/scene16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Scene Environment" + category: "Qt Quick 3D" + libraryIcon: "images/scene.png" + version: "1.0" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.View3D" + icon: "images/view3D16.png" + + ItemLibraryEntry { + name: "View3D" + category: "Qt Quick 3D" + libraryIcon: "images/view3D.png" + version: "1.0" + requiredImport: "QtQuick3D" + QmlSource { source: "./source/view3D_template.qml" } + } + } + Type { + name: "QtQuick3D.Shader" + icon: "images/shaderutil16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Shader" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shaderutil.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.ShaderInfo" + icon: "images/shaderutil16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Shader Info" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shaderutil.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.TextureInput" + icon: "images/shaderutil16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Texture Input" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shaderutil.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.Pass" + icon: "images/shaderutil16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Pass" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shaderutil.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.BufferInput" + icon: "images/shadercommand16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Buffer Input" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shadercommand.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.BufferBlit" + icon: "images/shadercommand16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Buffer Blit" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shadercommand.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.Blending" + icon: "images/shadercommand16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Blending" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shadercommand.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.Buffer" + icon: "images/shaderutil16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Buffer" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shaderutil.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.RenderState" + icon: "images/shadercommand16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Render State" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shadercommand.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.CullMode" + icon: "images/shadercommand16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Cull Mode" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shadercommand.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.DepthInput" + icon: "images/shadercommand16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Depth Input" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shadercommand.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } + Type { + name: "QtQuick3D.SetUniformValue" + icon: "images/shadercommand16.png" + + Hints { + visibleInNavigator: true + canBeDroppedInNavigator: true + canBeDroppedInFormEditor: false + } + + ItemLibraryEntry { + name: "Set Uniform Value" + category: "Qt Quick 3D Custom Shader Utils" + libraryIcon: "images/shadercommand.png" + version: "1.15" + requiredImport: "QtQuick3D" + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cone_model_template.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cone_model_template.qml new file mode 100644 index 00000000..b2df2c48 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cone_model_template.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +Model { + source: "#Cone" + + materials: coneMaterial + DefaultMaterial { + id: coneMaterial + diffuseColor: "#4aee45" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cube_model_template.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cube_model_template.qml new file mode 100644 index 00000000..fb893db2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cube_model_template.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +Model { + source: "#Cube" + + materials: cubeMaterial + DefaultMaterial { + id: cubeMaterial + diffuseColor: "#4aee45" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cylinder_model_template.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cylinder_model_template.qml new file mode 100644 index 00000000..527b2dc1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/cylinder_model_template.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +Model { + source: "#Cylinder" + + materials: cylinderMaterial + DefaultMaterial { + id: cylinderMaterial + diffuseColor: "#4aee45" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/plane_model_template.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/plane_model_template.qml new file mode 100644 index 00000000..11953ebe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/plane_model_template.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +Model { + source: "#Rectangle" + + materials: rectMaterial + DefaultMaterial { + id: rectMaterial + diffuseColor: "#4aee45" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/sphere_model_template.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/sphere_model_template.qml new file mode 100644 index 00000000..32255412 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/sphere_model_template.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2020 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +Model { + source: "#Sphere" + + materials: sphereMaterial + DefaultMaterial { + id: sphereMaterial + diffuseColor: "#4aee45" + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/view3D_template.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/view3D_template.qml new file mode 100644 index 00000000..db399277 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/designer/source/view3D_template.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Quick 3D. +** +** $QT_BEGIN_LICENSE:GPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 or (at your option) any later version +** approved by the KDE Free Qt Foundation. The licenses are as published by +** the Free Software Foundation and appearing in the file LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.15 +import QtQuick3D 1.15 + +View3D { + width: 400 + height: 400 + environment: sceneEnvironment + + SceneEnvironment { + id: sceneEnvironment + antialiasingMode: SceneEnvironment.MSAA + antialiasingQuality: SceneEnvironment.High + } + + Node { + id: scene + + DirectionalLight { + id: directionalLight + } + + PerspectiveCamera { + id: camera + z: 350 + } + + Model { + id: cubeModel + eulerRotation.x: 30 + eulerRotation.y: 45 + + source: "#Cube" + + materials: cubeMaterial + DefaultMaterial { + id: cubeMaterial + diffuseColor: "#4aee45" + } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/plugins.qmltypes new file mode 100644 index 00000000..0b541766 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/plugins.qmltypes @@ -0,0 +1,1998 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQuick3D 1.15' + +Module { + dependencies: [ + "QtQuick 2.15", + "QtQuick.Window 2.1", + "QtQuick3D.Effects 1.15", + "QtQuick3D.Materials 1.15" + ] + Component { + name: "QQuick3DAbstractLight" + defaultProperty: "data" + prototype: "QQuick3DNode" + exports: ["QtQuick3D/Light 1.14"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "QSSGShadowMapQuality" + values: { + "ShadowMapQualityLow": 0, + "ShadowMapQualityMedium": 1, + "ShadowMapQualityHigh": 2, + "ShadowMapQualityVeryHigh": 3 + } + } + Property { name: "color"; type: "QColor" } + Property { name: "ambientColor"; type: "QColor" } + Property { name: "brightness"; type: "float" } + Property { name: "scope"; type: "QQuick3DNode"; isPointer: true } + Property { name: "castsShadow"; type: "bool" } + Property { name: "shadowBias"; type: "float" } + Property { name: "shadowFactor"; type: "float" } + Property { name: "shadowMapQuality"; type: "QSSGShadowMapQuality" } + Property { name: "shadowMapFar"; type: "float" } + Property { name: "shadowFilter"; type: "float" } + Method { + name: "setColor" + Parameter { name: "color"; type: "QColor" } + } + Method { + name: "setAmbientColor" + Parameter { name: "ambientColor"; type: "QColor" } + } + Method { + name: "setBrightness" + Parameter { name: "brightness"; type: "float" } + } + Method { + name: "setScope" + Parameter { name: "scope"; type: "QQuick3DNode"; isPointer: true } + } + Method { + name: "setCastsShadow" + Parameter { name: "castsShadow"; type: "bool" } + } + Method { + name: "setShadowBias" + Parameter { name: "shadowBias"; type: "float" } + } + Method { + name: "setShadowFactor" + Parameter { name: "shadowFactor"; type: "float" } + } + Method { + name: "setShadowMapQuality" + Parameter { name: "shadowMapQuality"; type: "QSSGShadowMapQuality" } + } + Method { + name: "setShadowMapFar" + Parameter { name: "shadowMapFar"; type: "float" } + } + Method { + name: "setShadowFilter" + Parameter { name: "shadowFilter"; type: "float" } + } + } + Component { + name: "QQuick3DAreaLight" + defaultProperty: "data" + prototype: "QQuick3DAbstractLight" + exports: ["QtQuick3D/AreaLight 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "width"; type: "float" } + Property { name: "height"; type: "float" } + Method { + name: "setWidth" + Parameter { name: "width"; type: "float" } + } + Method { + name: "setHeight" + Parameter { name: "height"; type: "float" } + } + } + Component { + name: "QQuick3DCamera" + defaultProperty: "data" + prototype: "QQuick3DNode" + exports: ["QtQuick3D/Camera 1.14", "QtQuick3D/Camera 1.15"] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Enum { + name: "FieldOfViewOrientation" + values: { + "Vertical": 0, + "Horizontal": 1 + } + } + Property { name: "frustumCullingEnabled"; type: "bool" } + Method { + name: "setFrustumCullingEnabled" + Parameter { name: "frustumCullingEnabled"; type: "bool" } + } + Method { + name: "mapToViewport" + type: "QVector3D" + Parameter { name: "scenePos"; type: "QVector3D" } + } + Method { + name: "mapFromViewport" + type: "QVector3D" + Parameter { name: "viewportPos"; type: "QVector3D" } + } + Method { + name: "lookAt" + revision: 1 + Parameter { name: "scenePos"; type: "QVector3D" } + } + Method { + name: "lookAt" + revision: 1 + Parameter { name: "node"; type: "const QQuick3DNode"; isPointer: true } + } + } + Component { + name: "QQuick3DCustomCamera" + defaultProperty: "data" + prototype: "QQuick3DCamera" + exports: ["QtQuick3D/CustomCamera 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "projection"; type: "QMatrix4x4" } + Method { + name: "setProjection" + Parameter { name: "projection"; type: "QMatrix4x4" } + } + } + Component { + name: "QQuick3DCustomMaterial" + defaultProperty: "data" + prototype: "QQuick3DMaterial" + exports: ["QtQuick3D.Materials/CustomMaterial 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "hasTransparency"; type: "bool" } + Property { name: "hasRefraction"; type: "bool" } + Property { name: "alwaysDirty"; type: "bool" } + Property { name: "shaderInfo"; type: "QQuick3DShaderUtilsShaderInfo"; isPointer: true } + Property { name: "passes"; type: "QQuick3DShaderUtilsRenderPass"; isList: true; isReadonly: true } + Signal { + name: "hasTransparencyChanged" + Parameter { name: "hasTransparency"; type: "bool" } + } + Signal { + name: "hasRefractionChanged" + Parameter { name: "hasRefraction"; type: "bool" } + } + Signal { + name: "alwaysDirtyChanged" + Parameter { name: "alwaysDirty"; type: "bool" } + } + Method { + name: "setHasTransparency" + Parameter { name: "hasTransparency"; type: "bool" } + } + Method { + name: "setHasRefraction" + Parameter { name: "hasRefraction"; type: "bool" } + } + Method { + name: "setShaderInfo" + Parameter { name: "shaderInfo"; type: "QQuick3DShaderUtilsShaderInfo"; isPointer: true } + } + Method { + name: "setAlwaysDirty" + Parameter { name: "alwaysDirty"; type: "bool" } + } + } + Component { + name: "QQuick3DDefaultMaterial" + defaultProperty: "data" + prototype: "QQuick3DMaterial" + exports: [ + "QtQuick3D/DefaultMaterial 1.14", + "QtQuick3D/DefaultMaterial 1.15" + ] + exportMetaObjectRevisions: [0, 1] + Enum { + name: "Lighting" + values: { + "NoLighting": 0, + "FragmentLighting": 1 + } + } + Enum { + name: "BlendMode" + values: { + "SourceOver": 0, + "Screen": 1, + "Multiply": 2, + "Overlay": 3, + "ColorBurn": 4, + "ColorDodge": 5 + } + } + Enum { + name: "SpecularModel" + values: { + "Default": 0, + "KGGX": 1, + "KWard": 2 + } + } + Property { name: "lighting"; type: "Lighting" } + Property { name: "blendMode"; type: "BlendMode" } + Property { name: "diffuseColor"; type: "QColor" } + Property { name: "diffuseMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "emissiveFactor"; type: "float" } + Property { name: "emissiveMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "emissiveColor"; type: "QColor" } + Property { name: "specularReflectionMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "specularMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "specularModel"; type: "SpecularModel" } + Property { name: "specularTint"; type: "QColor" } + Property { name: "indexOfRefraction"; type: "float" } + Property { name: "fresnelPower"; type: "float" } + Property { name: "specularAmount"; type: "float" } + Property { name: "specularRoughness"; type: "float" } + Property { name: "roughnessMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "roughnessChannel"; revision: 1; type: "TextureChannelMapping" } + Property { name: "opacity"; type: "float" } + Property { name: "opacityMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "opacityChannel"; revision: 1; type: "TextureChannelMapping" } + Property { name: "bumpMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "bumpAmount"; type: "float" } + Property { name: "normalMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "translucencyMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "translucencyChannel"; revision: 1; type: "TextureChannelMapping" } + Property { name: "translucentFalloff"; type: "float" } + Property { name: "diffuseLightWrap"; type: "float" } + Property { name: "vertexColorsEnabled"; type: "bool" } + Signal { + name: "lightingChanged" + Parameter { name: "lighting"; type: "Lighting" } + } + Signal { + name: "blendModeChanged" + Parameter { name: "blendMode"; type: "BlendMode" } + } + Signal { + name: "diffuseColorChanged" + Parameter { name: "diffuseColor"; type: "QColor" } + } + Signal { + name: "diffuseMapChanged" + Parameter { name: "diffuseMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "emissiveFactorChanged" + Parameter { name: "emissiveFactor"; type: "float" } + } + Signal { + name: "emissiveMapChanged" + Parameter { name: "emissiveMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "emissiveColorChanged" + Parameter { name: "emissiveColor"; type: "QColor" } + } + Signal { + name: "specularReflectionMapChanged" + Parameter { name: "specularReflectionMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "specularMapChanged" + Parameter { name: "specularMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "specularModelChanged" + Parameter { name: "specularModel"; type: "SpecularModel" } + } + Signal { + name: "specularTintChanged" + Parameter { name: "specularTint"; type: "QColor" } + } + Signal { + name: "indexOfRefractionChanged" + Parameter { name: "indexOfRefraction"; type: "float" } + } + Signal { + name: "fresnelPowerChanged" + Parameter { name: "fresnelPower"; type: "float" } + } + Signal { + name: "specularAmountChanged" + Parameter { name: "specularAmount"; type: "float" } + } + Signal { + name: "specularRoughnessChanged" + Parameter { name: "specularRoughness"; type: "float" } + } + Signal { + name: "roughnessMapChanged" + Parameter { name: "roughnessMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "opacityChanged" + Parameter { name: "opacity"; type: "float" } + } + Signal { + name: "opacityMapChanged" + Parameter { name: "opacityMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "bumpMapChanged" + Parameter { name: "bumpMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "bumpAmountChanged" + Parameter { name: "bumpAmount"; type: "float" } + } + Signal { + name: "normalMapChanged" + Parameter { name: "normalMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "translucencyMapChanged" + Parameter { name: "translucencyMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "translucentFalloffChanged" + Parameter { name: "translucentFalloff"; type: "float" } + } + Signal { + name: "diffuseLightWrapChanged" + Parameter { name: "diffuseLightWrap"; type: "float" } + } + Signal { + name: "vertexColorsEnabledChanged" + Parameter { name: "vertexColorsEnabled"; type: "bool" } + } + Signal { + name: "roughnessChannelChanged" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Signal { + name: "opacityChannelChanged" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Signal { + name: "translucencyChannelChanged" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Method { + name: "setLighting" + Parameter { name: "lighting"; type: "Lighting" } + } + Method { + name: "setBlendMode" + Parameter { name: "blendMode"; type: "BlendMode" } + } + Method { + name: "setDiffuseColor" + Parameter { name: "diffuseColor"; type: "QColor" } + } + Method { + name: "setDiffuseMap" + Parameter { name: "diffuseMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setEmissiveFactor" + Parameter { name: "emissiveFactor"; type: "float" } + } + Method { + name: "setEmissiveMap" + Parameter { name: "emissiveMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setEmissiveColor" + Parameter { name: "emissiveColor"; type: "QColor" } + } + Method { + name: "setSpecularReflectionMap" + Parameter { name: "specularReflectionMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setSpecularMap" + Parameter { name: "specularMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setSpecularModel" + Parameter { name: "specularModel"; type: "SpecularModel" } + } + Method { + name: "setSpecularTint" + Parameter { name: "specularTint"; type: "QColor" } + } + Method { + name: "setIndexOfRefraction" + Parameter { name: "indexOfRefraction"; type: "float" } + } + Method { + name: "setFresnelPower" + Parameter { name: "fresnelPower"; type: "float" } + } + Method { + name: "setSpecularAmount" + Parameter { name: "specularAmount"; type: "float" } + } + Method { + name: "setSpecularRoughness" + Parameter { name: "specularRoughness"; type: "float" } + } + Method { + name: "setRoughnessMap" + Parameter { name: "roughnessMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setOpacity" + Parameter { name: "opacity"; type: "float" } + } + Method { + name: "setOpacityMap" + Parameter { name: "opacityMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setBumpMap" + Parameter { name: "bumpMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setBumpAmount" + Parameter { name: "bumpAmount"; type: "float" } + } + Method { + name: "setNormalMap" + Parameter { name: "normalMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setTranslucencyMap" + Parameter { name: "translucencyMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setTranslucentFalloff" + Parameter { name: "translucentFalloff"; type: "float" } + } + Method { + name: "setDiffuseLightWrap" + Parameter { name: "diffuseLightWrap"; type: "float" } + } + Method { + name: "setVertexColorsEnabled" + Parameter { name: "vertexColorsEnabled"; type: "bool" } + } + Method { + name: "setRoughnessChannel" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Method { + name: "setOpacityChannel" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Method { + name: "setTranslucencyChannel" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + } + Component { + name: "QQuick3DDirectionalLight" + defaultProperty: "data" + prototype: "QQuick3DAbstractLight" + exports: ["QtQuick3D/DirectionalLight 1.14"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuick3DEffect" + defaultProperty: "data" + prototype: "QQuick3DObject" + exports: ["QtQuick3D.Effects/Effect 1.15"] + exportMetaObjectRevisions: [0] + Property { name: "passes"; type: "QQuick3DShaderUtilsRenderPass"; isList: true; isReadonly: true } + } + Component { + name: "QQuick3DFrustumCamera" + defaultProperty: "data" + prototype: "QQuick3DPerspectiveCamera" + exports: ["QtQuick3D/FrustumCamera 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "top"; type: "float" } + Property { name: "bottom"; type: "float" } + Property { name: "right"; type: "float" } + Property { name: "left"; type: "float" } + Method { + name: "setTop" + Parameter { name: "top"; type: "float" } + } + Method { + name: "setBottom" + Parameter { name: "bottom"; type: "float" } + } + Method { + name: "setRight" + Parameter { name: "right"; type: "float" } + } + Method { + name: "setLeft" + Parameter { name: "left"; type: "float" } + } + } + Component { + name: "QQuick3DGeometry" + defaultProperty: "data" + prototype: "QQuick3DObject" + exports: ["QtQuick3D/Geometry 1.14"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "name"; type: "string" } + Signal { name: "geometryNodeDirty" } + Method { + name: "setName" + Parameter { name: "name"; type: "string" } + } + } + Component { + name: "QQuick3DLoader" + defaultProperty: "data" + prototype: "QQuick3DNode" + exports: ["QtQuick3D/Loader3D 1.14"] + exportMetaObjectRevisions: [0] + Enum { + name: "Status" + values: { + "Null": 0, + "Ready": 1, + "Loading": 2, + "Error": 3 + } + } + Property { name: "active"; type: "bool" } + Property { name: "source"; type: "QUrl" } + Property { name: "sourceComponent"; type: "QQmlComponent"; isPointer: true } + Property { name: "item"; type: "QObject"; isReadonly: true; isPointer: true } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "progress"; type: "double"; isReadonly: true } + Property { name: "asynchronous"; type: "bool" } + Signal { name: "loaded" } + Method { + name: "setSource" + Parameter { type: "QQmlV4Function"; isPointer: true } + } + } + Component { + name: "QQuick3DMaterial" + defaultProperty: "data" + prototype: "QQuick3DObject" + exports: ["QtQuick3D/Material 1.14"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "CullMode" + values: { + "BackFaceCulling": 1, + "FrontFaceCulling": 2, + "NoCulling": 3 + } + } + Enum { + name: "TextureChannelMapping" + values: { + "R": 0, + "G": 1, + "B": 2, + "A": 3 + } + } + Property { name: "lightmapIndirect"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "lightmapRadiosity"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "lightmapShadow"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "lightProbe"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "displacementMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "displacementAmount"; type: "float" } + Property { name: "cullMode"; type: "CullMode" } + Signal { + name: "lightmapIndirectChanged" + Parameter { name: "lightmapIndirect"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "lightmapRadiosityChanged" + Parameter { name: "lightmapRadiosity"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "lightmapShadowChanged" + Parameter { name: "lightmapShadow"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "lightProbeChanged" + Parameter { name: "lightProbe"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "displacementMapChanged" + Parameter { name: "displacementMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "displacementAmountChanged" + Parameter { name: "displacementAmount"; type: "float" } + } + Signal { + name: "cullModeChanged" + Parameter { name: "cullMode"; type: "CullMode" } + } + Method { + name: "setLightmapIndirect" + Parameter { name: "lightmapIndirect"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setLightmapRadiosity" + Parameter { name: "lightmapRadiosity"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setLightmapShadow" + Parameter { name: "lightmapShadow"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setLightProbe" + Parameter { name: "lightProbe"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setDisplacementMap" + Parameter { name: "displacementMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setDisplacementAmount" + Parameter { name: "displacementAmount"; type: "float" } + } + Method { + name: "setCullMode" + Parameter { name: "cullMode"; type: "CullMode" } + } + } + Component { + name: "QQuick3DModel" + defaultProperty: "data" + prototype: "QQuick3DNode" + exports: ["QtQuick3D/Model 1.14", "QtQuick3D/Model 1.15"] + exportMetaObjectRevisions: [0, 1] + Enum { + name: "QSSGTessellationModeValues" + values: { + "NoTessellation": 0, + "Linear": 1, + "Phong": 2, + "NPatch": 3 + } + } + Property { name: "source"; type: "QUrl" } + Property { name: "tessellationMode"; type: "QSSGTessellationModeValues" } + Property { name: "edgeTessellation"; type: "float" } + Property { name: "innerTessellation"; type: "float" } + Property { name: "isWireframeMode"; type: "bool" } + Property { name: "castsShadows"; type: "bool" } + Property { name: "receivesShadows"; type: "bool" } + Property { name: "materials"; type: "QQuick3DMaterial"; isList: true; isReadonly: true } + Property { name: "pickable"; type: "bool" } + Property { name: "geometry"; type: "QQuick3DGeometry"; isPointer: true } + Property { name: "bounds"; revision: 1; type: "QQuick3DBounds3"; isReadonly: true } + Method { + name: "setSource" + Parameter { name: "source"; type: "QUrl" } + } + Method { + name: "setTessellationMode" + Parameter { name: "tessellationMode"; type: "QSSGTessellationModeValues" } + } + Method { + name: "setEdgeTessellation" + Parameter { name: "edgeTessellation"; type: "float" } + } + Method { + name: "setInnerTessellation" + Parameter { name: "innerTessellation"; type: "float" } + } + Method { + name: "setIsWireframeMode" + Parameter { name: "isWireframeMode"; type: "bool" } + } + Method { + name: "setCastsShadows" + Parameter { name: "castsShadows"; type: "bool" } + } + Method { + name: "setReceivesShadows" + Parameter { name: "receivesShadows"; type: "bool" } + } + Method { + name: "setPickable" + Parameter { name: "pickable"; type: "bool" } + } + Method { + name: "setGeometry" + Parameter { name: "geometry"; type: "QQuick3DGeometry"; isPointer: true } + } + Method { + name: "setBounds" + Parameter { name: "min"; type: "QVector3D" } + Parameter { name: "max"; type: "QVector3D" } + } + } + Component { + name: "QQuick3DNode" + defaultProperty: "data" + prototype: "QQuick3DObject" + exports: ["QtQuick3D/Node 1.14", "QtQuick3D/Node 1.15"] + exportMetaObjectRevisions: [0, 1] + Enum { + name: "TransformSpace" + values: { + "LocalSpace": 0, + "ParentSpace": 1, + "SceneSpace": 2 + } + } + Enum { + name: "StaticFlags" + values: { + "None": 0 + } + } + Property { name: "x"; type: "float" } + Property { name: "y"; type: "float" } + Property { name: "z"; type: "float" } + Property { name: "rotation"; revision: 1; type: "QQuaternion" } + Property { name: "eulerRotation"; revision: 1; type: "QVector3D" } + Property { name: "position"; type: "QVector3D" } + Property { name: "scale"; type: "QVector3D" } + Property { name: "pivot"; type: "QVector3D" } + Property { name: "opacity"; type: "float" } + Property { name: "visible"; type: "bool" } + Property { name: "forward"; type: "QVector3D"; isReadonly: true } + Property { name: "up"; type: "QVector3D"; isReadonly: true } + Property { name: "right"; type: "QVector3D"; isReadonly: true } + Property { name: "scenePosition"; type: "QVector3D"; isReadonly: true } + Property { name: "sceneRotation"; revision: 1; type: "QQuaternion"; isReadonly: true } + Property { name: "sceneScale"; type: "QVector3D"; isReadonly: true } + Property { name: "sceneTransform"; type: "QMatrix4x4"; isReadonly: true } + Property { name: "staticFlags"; revision: 1; type: "int" } + Signal { name: "rotationChanged"; revision: 1 } + Signal { name: "eulerRotationChanged"; revision: 1 } + Signal { name: "localOpacityChanged" } + Method { + name: "setX" + Parameter { name: "x"; type: "float" } + } + Method { + name: "setY" + Parameter { name: "y"; type: "float" } + } + Method { + name: "setZ" + Parameter { name: "z"; type: "float" } + } + Method { + name: "setRotation" + revision: 1 + Parameter { name: "rotation"; type: "QQuaternion" } + } + Method { + name: "setEulerRotation" + revision: 1 + Parameter { name: "eulerRotation"; type: "QVector3D" } + } + Method { + name: "setPosition" + Parameter { name: "position"; type: "QVector3D" } + } + Method { + name: "setScale" + Parameter { name: "scale"; type: "QVector3D" } + } + Method { + name: "setPivot" + Parameter { name: "pivot"; type: "QVector3D" } + } + Method { + name: "setLocalOpacity" + Parameter { name: "opacity"; type: "float" } + } + Method { + name: "setVisible" + Parameter { name: "visible"; type: "bool" } + } + Method { + name: "setStaticFlags" + Parameter { name: "staticFlags"; type: "int" } + } + Method { + name: "rotate" + Parameter { name: "degrees"; type: "double" } + Parameter { name: "axis"; type: "QVector3D" } + Parameter { name: "space"; type: "TransformSpace" } + } + Method { + name: "mapPositionToScene" + type: "QVector3D" + Parameter { name: "localPosition"; type: "QVector3D" } + } + Method { + name: "mapPositionFromScene" + type: "QVector3D" + Parameter { name: "scenePosition"; type: "QVector3D" } + } + Method { + name: "mapPositionToNode" + type: "QVector3D" + Parameter { name: "node"; type: "QQuick3DNode"; isPointer: true } + Parameter { name: "localPosition"; type: "QVector3D" } + } + Method { + name: "mapPositionFromNode" + type: "QVector3D" + Parameter { name: "node"; type: "QQuick3DNode"; isPointer: true } + Parameter { name: "localPosition"; type: "QVector3D" } + } + Method { + name: "mapDirectionToScene" + type: "QVector3D" + Parameter { name: "localDirection"; type: "QVector3D" } + } + Method { + name: "mapDirectionFromScene" + type: "QVector3D" + Parameter { name: "sceneDirection"; type: "QVector3D" } + } + Method { + name: "mapDirectionToNode" + type: "QVector3D" + Parameter { name: "node"; type: "QQuick3DNode"; isPointer: true } + Parameter { name: "localDirection"; type: "QVector3D" } + } + Method { + name: "mapDirectionFromNode" + type: "QVector3D" + Parameter { name: "node"; type: "QQuick3DNode"; isPointer: true } + Parameter { name: "localDirection"; type: "QVector3D" } + } + } + Component { + name: "QQuick3DObject" + defaultProperty: "data" + prototype: "QObject" + exports: ["QtQuick3D/Object3D 1.14"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "parent"; type: "QQuick3DObject"; isPointer: true } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "children"; type: "QQuick3DObject"; isList: true; isReadonly: true } + Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } + Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } + Property { name: "state"; type: "string" } + Method { name: "update" } + Method { + name: "setParentItem" + Parameter { name: "parentItem"; type: "QQuick3DObject"; isPointer: true } + } + } + Component { + name: "QQuick3DOrthographicCamera" + defaultProperty: "data" + prototype: "QQuick3DCamera" + exports: ["QtQuick3D/OrthographicCamera 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "clipNear"; type: "float" } + Property { name: "clipFar"; type: "float" } + Method { + name: "setClipNear" + Parameter { name: "clipNear"; type: "float" } + } + Method { + name: "setClipFar" + Parameter { name: "clipFar"; type: "float" } + } + } + Component { + name: "QQuick3DPerspectiveCamera" + defaultProperty: "data" + prototype: "QQuick3DCamera" + exports: ["QtQuick3D/PerspectiveCamera 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "clipNear"; type: "float" } + Property { name: "clipFar"; type: "float" } + Property { name: "fieldOfView"; type: "float" } + Property { name: "fieldOfViewOrientation"; type: "FieldOfViewOrientation" } + Method { + name: "setClipNear" + Parameter { name: "clipNear"; type: "float" } + } + Method { + name: "setClipFar" + Parameter { name: "clipFar"; type: "float" } + } + Method { + name: "setFieldOfView" + Parameter { name: "fieldOfView"; type: "float" } + } + Method { + name: "setFieldOfViewOrientation" + Parameter { name: "fieldOfViewOrientation"; type: "FieldOfViewOrientation" } + } + } + Component { + name: "QQuick3DPointLight" + defaultProperty: "data" + prototype: "QQuick3DAbstractLight" + exports: ["QtQuick3D/PointLight 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "constantFade"; type: "float" } + Property { name: "linearFade"; type: "float" } + Property { name: "quadraticFade"; type: "float" } + Method { + name: "setConstantFade" + Parameter { name: "constantFade"; type: "float" } + } + Method { + name: "setLinearFade" + Parameter { name: "linearFade"; type: "float" } + } + Method { + name: "setQuadraticFade" + Parameter { name: "quadraticFade"; type: "float" } + } + } + Component { + name: "QQuick3DPrincipledMaterial" + defaultProperty: "data" + prototype: "QQuick3DMaterial" + exports: [ + "QtQuick3D/PrincipledMaterial 1.14", + "QtQuick3D/PrincipledMaterial 1.15" + ] + exportMetaObjectRevisions: [0, 1] + Enum { + name: "Lighting" + values: { + "NoLighting": 0, + "FragmentLighting": 1 + } + } + Enum { + name: "BlendMode" + values: { + "SourceOver": 0, + "Screen": 1, + "Multiply": 2, + "Overlay": 3, + "ColorBurn": 4, + "ColorDodge": 5 + } + } + Enum { + name: "AlphaMode" + values: { + "Opaque": 0, + "Mask": 1, + "Blend": 2 + } + } + Property { name: "lighting"; type: "Lighting" } + Property { name: "blendMode"; type: "BlendMode" } + Property { name: "baseColor"; type: "QColor" } + Property { name: "baseColorMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "metalness"; type: "float" } + Property { name: "metalnessMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "metalnessChannel"; revision: 1; type: "TextureChannelMapping" } + Property { name: "specularAmount"; type: "float" } + Property { name: "specularMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "specularTint"; type: "float" } + Property { name: "roughness"; type: "float" } + Property { name: "roughnessMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "roughnessChannel"; revision: 1; type: "TextureChannelMapping" } + Property { name: "indexOfRefraction"; type: "float" } + Property { name: "emissiveColor"; type: "QColor" } + Property { name: "emissiveMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "opacity"; type: "float" } + Property { name: "opacityMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "opacityChannel"; revision: 1; type: "TextureChannelMapping" } + Property { name: "normalMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "normalStrength"; type: "float" } + Property { name: "specularReflectionMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "occlusionMap"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "occlusionChannel"; revision: 1; type: "TextureChannelMapping" } + Property { name: "occlusionAmount"; type: "float" } + Property { name: "alphaMode"; type: "AlphaMode" } + Property { name: "alphaCutoff"; type: "float" } + Signal { + name: "lightingChanged" + Parameter { name: "lighting"; type: "Lighting" } + } + Signal { + name: "blendModeChanged" + Parameter { name: "blendMode"; type: "BlendMode" } + } + Signal { + name: "baseColorChanged" + Parameter { name: "baseColor"; type: "QColor" } + } + Signal { + name: "baseColorMapChanged" + Parameter { name: "baseColorMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "emissiveMapChanged" + Parameter { name: "emissiveMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "emissiveColorChanged" + Parameter { name: "emissiveColor"; type: "QColor" } + } + Signal { + name: "specularReflectionMapChanged" + Parameter { name: "specularReflectionMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "specularMapChanged" + Parameter { name: "specularMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "specularTintChanged" + Parameter { name: "specularTint"; type: "float" } + } + Signal { + name: "indexOfRefractionChanged" + Parameter { name: "indexOfRefraction"; type: "float" } + } + Signal { + name: "specularAmountChanged" + Parameter { name: "specularAmount"; type: "float" } + } + Signal { + name: "roughnessChanged" + Parameter { name: "roughness"; type: "float" } + } + Signal { + name: "roughnessMapChanged" + Parameter { name: "roughnessMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "opacityChanged" + Parameter { name: "opacity"; type: "float" } + } + Signal { + name: "opacityMapChanged" + Parameter { name: "opacityMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "normalMapChanged" + Parameter { name: "normalMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "metalnessChanged" + Parameter { name: "metalness"; type: "float" } + } + Signal { + name: "metalnessMapChanged" + Parameter { name: "metalnessMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "normalStrengthChanged" + Parameter { name: "normalStrength"; type: "float" } + } + Signal { + name: "occlusionMapChanged" + Parameter { name: "occlusionMap"; type: "QQuick3DTexture"; isPointer: true } + } + Signal { + name: "occlusionAmountChanged" + Parameter { name: "occlusionAmount"; type: "float" } + } + Signal { + name: "alphaModeChanged" + Parameter { name: "alphaMode"; type: "AlphaMode" } + } + Signal { + name: "alphaCutoffChanged" + Parameter { name: "alphaCutoff"; type: "float" } + } + Signal { + name: "metalnessChannelChanged" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Signal { + name: "roughnessChannelChanged" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Signal { + name: "opacityChannelChanged" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Signal { + name: "occlusionChannelChanged" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Method { + name: "setLighting" + Parameter { name: "lighting"; type: "Lighting" } + } + Method { + name: "setBlendMode" + Parameter { name: "blendMode"; type: "BlendMode" } + } + Method { + name: "setBaseColor" + Parameter { name: "baseColor"; type: "QColor" } + } + Method { + name: "setBaseColorMap" + Parameter { name: "baseColorMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setEmissiveMap" + Parameter { name: "emissiveMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setEmissiveColor" + Parameter { name: "emissiveColor"; type: "QColor" } + } + Method { + name: "setSpecularReflectionMap" + Parameter { name: "specularReflectionMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setSpecularMap" + Parameter { name: "specularMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setSpecularTint" + Parameter { name: "specularTint"; type: "float" } + } + Method { + name: "setIndexOfRefraction" + Parameter { name: "indexOfRefraction"; type: "float" } + } + Method { + name: "setSpecularAmount" + Parameter { name: "specularAmount"; type: "float" } + } + Method { + name: "setRoughness" + Parameter { name: "roughness"; type: "float" } + } + Method { + name: "setRoughnessMap" + Parameter { name: "roughnessMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setOpacity" + Parameter { name: "opacity"; type: "float" } + } + Method { + name: "setOpacityMap" + Parameter { name: "opacityMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setNormalMap" + Parameter { name: "normalMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setMetalness" + Parameter { name: "metalnessAmount"; type: "float" } + } + Method { + name: "setMetalnessMap" + Parameter { name: "metalnessMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setNormalStrength" + Parameter { name: "normalStrength"; type: "float" } + } + Method { + name: "setOcclusionMap" + Parameter { name: "occlusionMap"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setOcclusionAmount" + Parameter { name: "occlusionAmount"; type: "float" } + } + Method { + name: "setAlphaMode" + Parameter { name: "alphaMode"; type: "AlphaMode" } + } + Method { + name: "setAlphaCutoff" + Parameter { name: "alphaCutoff"; type: "float" } + } + Method { + name: "setMetalnessChannel" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Method { + name: "setRoughnessChannel" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Method { + name: "setOpacityChannel" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + Method { + name: "setOcclusionChannel" + revision: 1 + Parameter { name: "channel"; type: "TextureChannelMapping" } + } + } + Component { + name: "QQuick3DQuaternionAnimation" + prototype: "QQuickPropertyAnimation" + exports: ["QtQuick3D/QuaternionAnimation 1.15"] + exportMetaObjectRevisions: [0] + Enum { + name: "Type" + values: { + "Slerp": 0, + "Nlerp": 1 + } + } + Property { name: "from"; type: "QQuaternion" } + Property { name: "to"; type: "QQuaternion" } + Property { name: "type"; type: "Type" } + Property { name: "fromXRotation"; type: "float" } + Property { name: "fromYRotation"; type: "float" } + Property { name: "fromZRotation"; type: "float" } + Property { name: "toXRotation"; type: "float" } + Property { name: "toYRotation"; type: "float" } + Property { name: "toZRotation"; type: "float" } + Signal { + name: "typeChanged" + Parameter { name: "type"; type: "Type" } + } + Signal { + name: "fromXRotationChanged" + Parameter { name: "value"; type: "float" } + } + Signal { + name: "fromYRotationChanged" + Parameter { name: "value"; type: "float" } + } + Signal { + name: "fromZRotationChanged" + Parameter { name: "value"; type: "float" } + } + Signal { + name: "toXRotationChanged" + Parameter { name: "value"; type: "float" } + } + Signal { + name: "toYRotationChanged" + Parameter { name: "value"; type: "float" } + } + Signal { + name: "toZRotationChanged" + Parameter { name: "value"; type: "float" } + } + } + Component { + name: "QQuick3DQuaternionUtils" + prototype: "QObject" + exports: ["QtQuick3D/Quaternion 1.15"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Method { + name: "fromAxesAndAngles" + type: "QQuaternion" + Parameter { name: "axis1"; type: "QVector3D" } + Parameter { name: "angle1"; type: "float" } + Parameter { name: "axis2"; type: "QVector3D" } + Parameter { name: "angle2"; type: "float" } + Parameter { name: "axis3"; type: "QVector3D" } + Parameter { name: "angle3"; type: "float" } + } + Method { + name: "fromAxesAndAngles" + type: "QQuaternion" + Parameter { name: "axis1"; type: "QVector3D" } + Parameter { name: "angle1"; type: "float" } + Parameter { name: "axis2"; type: "QVector3D" } + Parameter { name: "angle2"; type: "float" } + } + Method { + name: "fromAxisAndAngle" + type: "QQuaternion" + Parameter { name: "x"; type: "float" } + Parameter { name: "y"; type: "float" } + Parameter { name: "z"; type: "float" } + Parameter { name: "angle"; type: "float" } + } + Method { + name: "fromAxisAndAngle" + type: "QQuaternion" + Parameter { name: "axis"; type: "QVector3D" } + Parameter { name: "angle"; type: "float" } + } + Method { + name: "fromEulerAngles" + type: "QQuaternion" + Parameter { name: "x"; type: "float" } + Parameter { name: "y"; type: "float" } + Parameter { name: "z"; type: "float" } + } + Method { + name: "fromEulerAngles" + type: "QQuaternion" + Parameter { name: "eulerAngles"; type: "QVector3D" } + } + Method { + name: "lookAt" + revision: 1 + type: "QQuaternion" + Parameter { name: "sourcePosition"; type: "QVector3D" } + Parameter { name: "sourceDirection"; type: "QVector3D" } + Parameter { name: "targetPosition"; type: "QVector3D" } + Parameter { name: "upDirection"; type: "QVector3D" } + } + Method { + name: "lookAt" + revision: 1 + type: "QQuaternion" + Parameter { name: "sourcePosition"; type: "QVector3D" } + Parameter { name: "sourceDirection"; type: "QVector3D" } + Parameter { name: "targetPosition"; type: "QVector3D" } + } + } + Component { + name: "QQuick3DRepeater" + defaultProperty: "delegate" + prototype: "QQuick3DNode" + exports: ["QtQuick3D/Repeater3D 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "model"; type: "QVariant" } + Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } + Property { name: "count"; type: "int"; isReadonly: true } + Signal { + name: "objectAdded" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QQuick3DObject"; isPointer: true } + } + Signal { + name: "objectRemoved" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QQuick3DObject"; isPointer: true } + } + Method { + name: "objectAt" + type: "QQuick3DObject*" + Parameter { name: "index"; type: "int" } + } + } + Component { + name: "QQuick3DSceneEnvironment" + defaultProperty: "data" + prototype: "QQuick3DObject" + exports: [ + "QtQuick3D/SceneEnvironment 1.14", + "QtQuick3D/SceneEnvironment 1.15" + ] + exportMetaObjectRevisions: [0, 1] + Enum { + name: "QQuick3DEnvironmentAAModeValues" + values: { + "NoAA": 0, + "SSAA": 1, + "MSAA": 2, + "ProgressiveAA": 3 + } + } + Enum { + name: "QQuick3DEnvironmentAAQualityValues" + values: { + "Medium": 2, + "High": 4, + "VeryHigh": 8 + } + } + Enum { + name: "QQuick3DEnvironmentBackgroundTypes" + values: { + "Transparent": 0, + "Unspecified": 1, + "Color": 2, + "SkyBox": 3 + } + } + Property { name: "antialiasingMode"; type: "QQuick3DEnvironmentAAModeValues" } + Property { name: "antialiasingQuality"; type: "QQuick3DEnvironmentAAQualityValues" } + Property { name: "temporalAAEnabled"; type: "bool" } + Property { name: "temporalAAStrength"; type: "float" } + Property { name: "backgroundMode"; type: "QQuick3DEnvironmentBackgroundTypes" } + Property { name: "clearColor"; type: "QColor" } + Property { name: "depthTestEnabled"; type: "bool" } + Property { name: "depthPrePassEnabled"; type: "bool" } + Property { name: "aoStrength"; type: "float" } + Property { name: "aoDistance"; type: "float" } + Property { name: "aoSoftness"; type: "float" } + Property { name: "aoDither"; type: "bool" } + Property { name: "aoSampleRate"; type: "int" } + Property { name: "aoBias"; type: "float" } + Property { name: "lightProbe"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "probeBrightness"; type: "float" } + Property { name: "fastImageBasedLightingEnabled"; type: "bool" } + Property { name: "probeHorizon"; type: "float" } + Property { name: "probeFieldOfView"; type: "float" } + Property { name: "effects"; revision: 1; type: "QQuick3DEffect"; isList: true; isReadonly: true } + Method { + name: "setAntialiasingMode" + Parameter { name: "antialiasingMode"; type: "QQuick3DEnvironmentAAModeValues" } + } + Method { + name: "setAntialiasingQuality" + Parameter { name: "antialiasingQuality"; type: "QQuick3DEnvironmentAAQualityValues" } + } + Method { + name: "setTemporalAAEnabled" + Parameter { name: "temporalAAEnabled"; type: "bool" } + } + Method { + name: "setTemporalAAStrength" + Parameter { name: "strength"; type: "float" } + } + Method { + name: "setBackgroundMode" + Parameter { name: "backgroundMode"; type: "QQuick3DEnvironmentBackgroundTypes" } + } + Method { + name: "setClearColor" + Parameter { name: "clearColor"; type: "QColor" } + } + Method { + name: "setAoStrength" + Parameter { name: "aoStrength"; type: "float" } + } + Method { + name: "setAoDistance" + Parameter { name: "aoDistance"; type: "float" } + } + Method { + name: "setAoSoftness" + Parameter { name: "aoSoftness"; type: "float" } + } + Method { + name: "setAoDither" + Parameter { name: "aoDither"; type: "bool" } + } + Method { + name: "setAoSampleRate" + Parameter { name: "aoSampleRate"; type: "int" } + } + Method { + name: "setAoBias" + Parameter { name: "aoBias"; type: "float" } + } + Method { + name: "setLightProbe" + Parameter { name: "lightProbe"; type: "QQuick3DTexture"; isPointer: true } + } + Method { + name: "setProbeBrightness" + Parameter { name: "probeBrightness"; type: "float" } + } + Method { + name: "setFastImageBasedLightingEnabled" + Parameter { name: "fastImageBasedLightingEnabled"; type: "bool" } + } + Method { + name: "setProbeHorizon" + Parameter { name: "probeHorizon"; type: "float" } + } + Method { + name: "setProbeFieldOfView" + Parameter { name: "probeFieldOfView"; type: "float" } + } + Method { + name: "setDepthTestEnabled" + Parameter { name: "depthTestEnabled"; type: "bool" } + } + Method { + name: "setDepthPrePassEnabled" + Parameter { name: "depthPrePassEnabled"; type: "bool" } + } + } + Component { + name: "QQuick3DShaderApplyDepthValue" + prototype: "QQuick3DShaderUtilsRenderCommand" + exports: ["QtQuick3D/DepthInput 1.15"] + exportMetaObjectRevisions: [0] + Property { name: "param"; type: "QByteArray" } + } + Component { + name: "QQuick3DShaderUtilsApplyValue" + prototype: "QQuick3DShaderUtilsRenderCommand" + exports: ["QtQuick3D/SetUniformValue 1.15"] + exportMetaObjectRevisions: [0] + Property { name: "target"; type: "QByteArray" } + Property { name: "value"; type: "QVariant" } + } + Component { + name: "QQuick3DShaderUtilsBlending" + prototype: "QQuick3DShaderUtilsRenderCommand" + exports: ["QtQuick3D/Blending 1.14"] + exportMetaObjectRevisions: [0] + Enum { + name: "SrcBlending" + values: { + "Unknown": 0, + "Zero": 1, + "One": 2, + "SrcColor": 3, + "OneMinusSrcColor": 4, + "DstColor": 5, + "OneMinusDstColor": 6, + "SrcAlpha": 7, + "OneMinusSrcAlpha": 8, + "DstAlpha": 9, + "OneMinusDstAlpha": 10, + "ConstantColor": 11, + "OneMinusConstantColor": 12, + "ConstantAlpha": 13, + "OneMinusConstantAlpha": 14, + "SrcAlphaSaturate": 15 + } + } + Enum { + name: "DestBlending" + values: { + "Unknown": 0, + "Zero": 1, + "One": 2, + "SrcColor": 3, + "OneMinusSrcColor": 4, + "DstColor": 5, + "OneMinusDstColor": 6, + "SrcAlpha": 7, + "OneMinusSrcAlpha": 8, + "DstAlpha": 9, + "OneMinusDstAlpha": 10, + "ConstantColor": 11, + "OneMinusConstantColor": 12, + "ConstantAlpha": 13, + "OneMinusConstantAlpha": 14 + } + } + Property { name: "srcBlending"; type: "SrcBlending" } + Property { name: "destBlending"; type: "DestBlending" } + Method { + name: "setDestBlending" + Parameter { name: "destBlending"; type: "DestBlending" } + } + Method { + name: "setSrcBlending" + Parameter { name: "srcBlending"; type: "SrcBlending" } + } + } + Component { + name: "QQuick3DShaderUtilsBuffer" + prototype: "QObject" + exports: ["QtQuick3D/Buffer 1.14"] + exportMetaObjectRevisions: [0] + Enum { + name: "TextureFilterOperation" + values: { + "Unknown": 0, + "Nearest": 1, + "Linear": 2 + } + } + Enum { + name: "TextureCoordOperation" + values: { + "Unknown": 0, + "ClampToEdge": 1, + "MirroredRepeat": 2, + "Repeat": 3 + } + } + Enum { + name: "AllocateBufferFlagValues" + values: { + "None": 0, + "SceneLifetime": 1 + } + } + Enum { + name: "TextureFormat" + values: { + "Unknown": 0, + "R8": 1, + "R16": 2, + "R16F": 3, + "R32I": 4, + "R32UI": 5, + "R32F": 6, + "RG8": 7, + "RGBA8": 8, + "RGB8": 9, + "SRGB8": 10, + "SRGB8A8": 11, + "RGB565": 12, + "RGBA16F": 13, + "RG16F": 14, + "RG32F": 15, + "RGB32F": 16, + "RGBA32F": 17, + "R11G11B10": 18, + "RGB9E5": 19, + "Depth16": 20, + "Depth24": 21, + "Depth32": 22, + "Depth24Stencil8": 23 + } + } + Property { name: "format"; type: "TextureFormat" } + Property { name: "textureFilterOperation"; type: "TextureFilterOperation" } + Property { name: "textureCoordOperation"; type: "TextureCoordOperation" } + Property { name: "sizeMultiplier"; type: "float" } + Property { name: "bufferFlags"; type: "AllocateBufferFlagValues" } + Property { name: "name"; type: "QByteArray" } + } + Component { + name: "QQuick3DShaderUtilsBufferBlit" + prototype: "QQuick3DShaderUtilsRenderCommand" + exports: ["QtQuick3D/BufferBlit 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "source"; type: "QQuick3DShaderUtilsBuffer"; isPointer: true } + Property { name: "destination"; type: "QQuick3DShaderUtilsBuffer"; isPointer: true } + } + Component { + name: "QQuick3DShaderUtilsBufferInput" + prototype: "QQuick3DShaderUtilsRenderCommand" + exports: ["QtQuick3D/BufferInput 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "buffer"; type: "QQuick3DShaderUtilsBuffer"; isPointer: true } + Property { name: "param"; type: "QByteArray" } + } + Component { + name: "QQuick3DShaderUtilsCullMode" + prototype: "QQuick3DShaderUtilsRenderCommand" + exports: ["QtQuick3D/CullMode 1.15"] + exportMetaObjectRevisions: [0] + Property { name: "cullMode"; type: "QQuick3DMaterial::CullMode" } + Method { + name: "setCullMode" + Parameter { name: "cullMode"; type: "QQuick3DMaterial::CullMode" } + } + } + Component { + name: "QQuick3DShaderUtilsRenderCommand" + prototype: "QObject" + exports: ["QtQuick3D/Command 1.14"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QQuick3DShaderUtilsRenderPass" + prototype: "QObject" + exports: ["QtQuick3D/Pass 1.14"] + exportMetaObjectRevisions: [0] + Property { + name: "commands" + type: "QQuick3DShaderUtilsRenderCommand" + isList: true + isReadonly: true + } + Property { name: "output"; type: "QQuick3DShaderUtilsBuffer"; isPointer: true } + Property { name: "shaders"; type: "QQuick3DShaderUtilsShader"; isList: true; isReadonly: true } + } + Component { + name: "QQuick3DShaderUtilsRenderState" + prototype: "QQuick3DShaderUtilsRenderCommand" + exports: ["QtQuick3D/RenderState 1.14"] + exportMetaObjectRevisions: [0] + Enum { + name: "RenderState" + values: { + "Unknown": 0, + "Blend": 1, + "CullFace": 2, + "DepthTest": 3, + "StencilTest": 4, + "ScissorTest": 5, + "DepthWrite": 6, + "Multisample": 7 + } + } + Property { name: "renderState"; type: "RenderState" } + Property { name: "enabled"; type: "bool" } + Method { + name: "setRenderState" + Parameter { name: "renderState"; type: "RenderState" } + } + } + Component { + name: "QQuick3DShaderUtilsShader" + prototype: "QObject" + exports: ["QtQuick3D/Shader 1.14"] + exportMetaObjectRevisions: [0] + Enum { + name: "Stage" + values: { + "Shared": 0, + "Vertex": 1, + "Fragment": 2, + "Geometry": 3, + "Compute": 4 + } + } + Property { name: "shader"; type: "QByteArray" } + Property { name: "stage"; type: "Stage" } + } + Component { + name: "QQuick3DShaderUtilsShaderInfo" + prototype: "QObject" + exports: ["QtQuick3D/ShaderInfo 1.14"] + exportMetaObjectRevisions: [0] + Enum { + name: "MaterialShaderKeyValues" + values: { + "Diffuse": 1, + "Specular": 2, + "Cutout": 4, + "Refraction": 8, + "Transparent": 16, + "Displace": 32, + "Transmissive": 64, + "Glossy": 3 + } + } + Property { name: "version"; type: "QByteArray" } + Property { name: "type"; type: "QByteArray" } + Property { name: "shaderKey"; type: "int" } + } + Component { + name: "QQuick3DShaderUtilsTextureInput" + prototype: "QObject" + exports: ["QtQuick3D/TextureInput 1.14"] + exportMetaObjectRevisions: [0] + Property { name: "texture"; type: "QQuick3DTexture"; isPointer: true } + Property { name: "enabled"; type: "bool" } + Signal { + name: "textureDirty" + Parameter { name: "texture"; type: "QQuick3DShaderUtilsTextureInput"; isPointer: true } + } + Method { + name: "setTexture" + Parameter { name: "texture"; type: "QQuick3DTexture"; isPointer: true } + } + } + Component { + name: "QQuick3DSpotLight" + defaultProperty: "data" + prototype: "QQuick3DAbstractLight" + exports: ["QtQuick3D/SpotLight 1.15"] + exportMetaObjectRevisions: [0] + Property { name: "constantFade"; type: "float" } + Property { name: "linearFade"; type: "float" } + Property { name: "quadraticFade"; type: "float" } + Property { name: "coneAngle"; type: "float" } + Property { name: "innerConeAngle"; type: "float" } + Method { + name: "setConstantFade" + Parameter { name: "constantFade"; type: "float" } + } + Method { + name: "setLinearFade" + Parameter { name: "linearFade"; type: "float" } + } + Method { + name: "setQuadraticFade" + Parameter { name: "quadraticFade"; type: "float" } + } + Method { + name: "setConeAngle" + Parameter { name: "coneAngle"; type: "float" } + } + Method { + name: "setInnerConeAngle" + Parameter { name: "innerConeAngle"; type: "float" } + } + } + Component { + name: "QQuick3DTexture" + defaultProperty: "data" + prototype: "QQuick3DObject" + exports: ["QtQuick3D/Texture 1.14"] + exportMetaObjectRevisions: [0] + Enum { + name: "MappingMode" + values: { + "UV": 0, + "Environment": 1, + "LightProbe": 2 + } + } + Enum { + name: "TilingMode" + values: { + "ClampToEdge": 1, + "MirroredRepeat": 2, + "Repeat": 3 + } + } + Enum { + name: "Format" + values: { + "Automatic": 0, + "R8": 1, + "R16": 2, + "R16F": 3, + "R32I": 4, + "R32UI": 5, + "R32F": 6, + "RG8": 7, + "RGBA8": 8, + "RGB8": 9, + "SRGB8": 10, + "SRGB8A8": 11, + "RGB565": 12, + "RGBA5551": 13, + "Alpha8": 14, + "Luminance8": 15, + "Luminance16": 16, + "LuminanceAlpha8": 17, + "RGBA16F": 18, + "RG16F": 19, + "RG32F": 20, + "RGB32F": 21, + "RGBA32F": 22, + "R11G11B10": 23, + "RGB9E5": 24, + "RGBA_DXT1": 25, + "RGB_DXT1": 26, + "RGBA_DXT3": 27, + "RGBA_DXT5": 28, + "Depth16": 29, + "Depth24": 30, + "Depth32": 31, + "Depth24Stencil8": 32 + } + } + Property { name: "source"; type: "QUrl" } + Property { name: "sourceItem"; type: "QQuickItem"; isPointer: true } + Property { name: "scaleU"; type: "float" } + Property { name: "scaleV"; type: "float" } + Property { name: "mappingMode"; type: "MappingMode" } + Property { name: "tilingModeHorizontal"; type: "TilingMode" } + Property { name: "tilingModeVertical"; type: "TilingMode" } + Property { name: "rotationUV"; type: "float" } + Property { name: "positionU"; type: "float" } + Property { name: "positionV"; type: "float" } + Property { name: "pivotU"; type: "float" } + Property { name: "pivotV"; type: "float" } + Property { name: "flipV"; type: "bool" } + Property { name: "format"; type: "Format" } + Signal { name: "horizontalTilingChanged" } + Signal { name: "verticalTilingChanged" } + Method { + name: "setSource" + Parameter { name: "source"; type: "QUrl" } + } + Method { + name: "setSourceItem" + Parameter { name: "sourceItem"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "setScaleU" + Parameter { name: "scaleU"; type: "float" } + } + Method { + name: "setScaleV" + Parameter { name: "scaleV"; type: "float" } + } + Method { + name: "setMappingMode" + Parameter { name: "mappingMode"; type: "MappingMode" } + } + Method { + name: "setHorizontalTiling" + Parameter { name: "tilingModeHorizontal"; type: "TilingMode" } + } + Method { + name: "setVerticalTiling" + Parameter { name: "tilingModeVertical"; type: "TilingMode" } + } + Method { + name: "setRotationUV" + Parameter { name: "rotationUV"; type: "float" } + } + Method { + name: "setPositionU" + Parameter { name: "positionU"; type: "float" } + } + Method { + name: "setPositionV" + Parameter { name: "positionV"; type: "float" } + } + Method { + name: "setPivotU" + Parameter { name: "pivotU"; type: "float" } + } + Method { + name: "setPivotV" + Parameter { name: "pivotV"; type: "float" } + } + Method { + name: "setFlipV" + Parameter { name: "flipV"; type: "bool" } + } + Method { + name: "setFormat" + Parameter { name: "format"; type: "Format" } + } + } + Component { + name: "QQuick3DViewport" + defaultProperty: "data" + prototype: "QQuickItem" + exports: ["QtQuick3D/View3D 1.14"] + exportMetaObjectRevisions: [0] + Enum { + name: "RenderMode" + values: { + "Offscreen": 0, + "Underlay": 1, + "Overlay": 2, + "Inline": 3 + } + } + Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "camera"; type: "QQuick3DCamera"; isPointer: true } + Property { name: "environment"; type: "QQuick3DSceneEnvironment"; isPointer: true } + Property { name: "scene"; type: "QQuick3DNode"; isReadonly: true; isPointer: true } + Property { name: "importScene"; type: "QQuick3DNode"; isPointer: true } + Property { name: "renderMode"; type: "RenderMode" } + Property { name: "renderStats"; type: "QQuick3DRenderStats"; isReadonly: true; isPointer: true } + Method { + name: "setCamera" + Parameter { name: "camera"; type: "QQuick3DCamera"; isPointer: true } + } + Method { + name: "setEnvironment" + Parameter { name: "environment"; type: "QQuick3DSceneEnvironment"; isPointer: true } + } + Method { + name: "setImportScene" + Parameter { name: "inScene"; type: "QQuick3DNode"; isPointer: true } + } + Method { + name: "setRenderMode" + Parameter { name: "renderMode"; type: "RenderMode" } + } + Method { + name: "mapFrom3DScene" + type: "QVector3D" + Parameter { name: "scenePos"; type: "QVector3D" } + } + Method { + name: "mapTo3DScene" + type: "QVector3D" + Parameter { name: "viewPos"; type: "QVector3D" } + } + Method { + name: "pick" + type: "QQuick3DPickResult" + Parameter { name: "x"; type: "float" } + Parameter { name: "y"; type: "float" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/qmldir new file mode 100644 index 00000000..d5cad0bb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/qmldir @@ -0,0 +1,5 @@ +module QtQuick3D +plugin qquick3dplugin +classname QQuick3DPlugin +typeinfo plugins.qmltypes +designersupported diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/qquick3dplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/qquick3dplugin.dll new file mode 100644 index 00000000..9e131154 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtQuick3D/qquick3dplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/plugins.qmltypes new file mode 100644 index 00000000..bf9d156a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/plugins.qmltypes @@ -0,0 +1,128 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtRemoteObjects 5.15' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QRemoteObjectAbstractPersistedStore" + prototype: "QObject" + exports: ["QtRemoteObjects/PersistedStore 5.12"] + isCreatable: false + exportMetaObjectRevisions: [0] + } + Component { + name: "QRemoteObjectHost" + prototype: "QRemoteObjectHostBase" + exports: ["QtRemoteObjects/Host 5.15"] + exportMetaObjectRevisions: [0] + Property { name: "hostUrl"; type: "QUrl" } + } + Component { + name: "QRemoteObjectHostBase" + prototype: "QRemoteObjectNode" + Enum { + name: "AllowedSchemas" + values: { + "BuiltInSchemasOnly": 0, + "AllowExternalRegistration": 1 + } + } + Method { + name: "enableRemoting" + type: "bool" + Parameter { name: "object"; type: "QObject"; isPointer: true } + Parameter { name: "name"; type: "string" } + } + Method { + name: "enableRemoting" + type: "bool" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "disableRemoting" + type: "bool" + Parameter { name: "remoteObject"; type: "QObject"; isPointer: true } + } + } + Component { + name: "QRemoteObjectNode" + prototype: "QObject" + exports: ["QtRemoteObjects/Node 5.12"] + exportMetaObjectRevisions: [0] + Enum { + name: "ErrorCode" + values: { + "NoError": 0, + "RegistryNotAcquired": 1, + "RegistryAlreadyHosted": 2, + "NodeIsNoServer": 3, + "ServerAlreadyCreated": 4, + "UnintendedRegistryHosting": 5, + "OperationNotValidOnClientNode": 6, + "SourceNotRegistered": 7, + "MissingObjectName": 8, + "HostUrlInvalid": 9, + "ProtocolMismatch": 10, + "ListenFailed": 11 + } + } + Property { name: "registryUrl"; type: "QUrl" } + Property { + name: "persistedStore" + type: "QRemoteObjectAbstractPersistedStore" + isPointer: true + } + Property { name: "heartbeatInterval"; type: "int" } + Signal { + name: "remoteObjectAdded" + Parameter { type: "QRemoteObjectSourceLocation" } + } + Signal { + name: "remoteObjectRemoved" + Parameter { type: "QRemoteObjectSourceLocation" } + } + Signal { + name: "error" + Parameter { name: "errorCode"; type: "QRemoteObjectNode::ErrorCode" } + } + Signal { + name: "heartbeatIntervalChanged" + Parameter { name: "heartbeatInterval"; type: "int" } + } + Method { + name: "connectToNode" + type: "bool" + Parameter { name: "address"; type: "QUrl" } + } + } + Component { + name: "QRemoteObjectSettingsStore" + prototype: "QRemoteObjectAbstractPersistedStore" + exports: ["QtRemoteObjects/SettingsStore 5.12"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QtQmlRemoteObjects" + prototype: "QObject" + exports: ["QtRemoteObjects/QtRemoteObjects 5.14"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Method { + name: "watch" + type: "QJSValue" + Parameter { name: "reply"; type: "QRemoteObjectPendingCall" } + Parameter { name: "timeout"; type: "int" } + } + Method { + name: "watch" + type: "QJSValue" + Parameter { name: "reply"; type: "QRemoteObjectPendingCall" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/qmldir new file mode 100644 index 00000000..a8d960b4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/qmldir @@ -0,0 +1,3 @@ +module QtRemoteObjects +plugin qtremoteobjects +classname QtRemoteObjectsPlugin diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/qtremoteobjects.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/qtremoteobjects.dll new file mode 100644 index 00000000..4f9c66b0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtRemoteObjects/qtremoteobjects.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/declarative_sensors.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/declarative_sensors.dll new file mode 100644 index 00000000..67d291f4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/declarative_sensors.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/plugins.qmltypes new file mode 100644 index 00000000..c68c37b3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/plugins.qmltypes @@ -0,0 +1,613 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtSensors 5.15' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QmlAccelerometer" + prototype: "QmlSensor" + exports: [ + "QtSensors/Accelerometer 5.0", + "QtSensors/Accelerometer 5.1", + "QtSensors/Accelerometer 5.2" + ] + exportMetaObjectRevisions: [0, 1, 1] + Enum { + name: "AccelerationMode" + values: { + "Combined": 0, + "Gravity": 1, + "User": 2 + } + } + Property { name: "accelerationMode"; revision: 1; type: "AccelerationMode" } + Signal { + name: "accelerationModeChanged" + revision: 1 + Parameter { name: "accelerationMode"; type: "AccelerationMode" } + } + } + Component { + name: "QmlAccelerometerReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/AccelerometerReading 5.0", + "QtSensors/AccelerometerReading 5.1", + "QtSensors/AccelerometerReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "z"; type: "double"; isReadonly: true } + } + Component { + name: "QmlAltimeter" + prototype: "QmlSensor" + exports: ["QtSensors/Altimeter 5.1", "QtSensors/Altimeter 5.2"] + exportMetaObjectRevisions: [0, 0] + } + Component { + name: "QmlAltimeterReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/AltimeterReading 5.1", + "QtSensors/AltimeterReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0] + Property { name: "altitude"; type: "double"; isReadonly: true } + } + Component { + name: "QmlAmbientLightSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/AmbientLightSensor 5.0", + "QtSensors/AmbientLightSensor 5.1", + "QtSensors/AmbientLightSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + } + Component { + name: "QmlAmbientLightSensorReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/AmbientLightReading 5.0", + "QtSensors/AmbientLightReading 5.1", + "QtSensors/AmbientLightReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "lightLevel"; type: "QAmbientLightReading::LightLevel"; isReadonly: true } + } + Component { + name: "QmlAmbientTemperatureReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/AmbientTemperatureReading 5.1", + "QtSensors/AmbientTemperatureReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0] + Property { name: "temperature"; type: "double"; isReadonly: true } + } + Component { + name: "QmlAmbientTemperatureSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/AmbientTemperatureSensor 5.1", + "QtSensors/AmbientTemperatureSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0] + } + Component { + name: "QmlCompass" + prototype: "QmlSensor" + exports: [ + "QtSensors/Compass 5.0", + "QtSensors/Compass 5.1", + "QtSensors/Compass 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + } + Component { + name: "QmlCompassReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/CompassReading 5.0", + "QtSensors/CompassReading 5.1", + "QtSensors/CompassReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "azimuth"; type: "double"; isReadonly: true } + Property { name: "calibrationLevel"; type: "double"; isReadonly: true } + } + Component { + name: "QmlDistanceReading" + prototype: "QmlSensorReading" + exports: ["QtSensors/DistanceReading 5.4"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "distance"; type: "double"; isReadonly: true } + } + Component { + name: "QmlDistanceSensor" + prototype: "QmlSensor" + exports: ["QtSensors/DistanceSensor 5.4"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QmlGyroscope" + prototype: "QmlSensor" + exports: [ + "QtSensors/Gyroscope 5.0", + "QtSensors/Gyroscope 5.1", + "QtSensors/Gyroscope 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + } + Component { + name: "QmlGyroscopeReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/GyroscopeReading 5.0", + "QtSensors/GyroscopeReading 5.1", + "QtSensors/GyroscopeReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "z"; type: "double"; isReadonly: true } + } + Component { + name: "QmlHolsterReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/HolsterReading 5.1", + "QtSensors/HolsterReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0] + Property { name: "holstered"; type: "bool"; isReadonly: true } + } + Component { + name: "QmlHolsterSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/HolsterSensor 5.1", + "QtSensors/HolsterSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0] + } + Component { + name: "QmlHumidityReading" + prototype: "QmlSensorReading" + exports: ["QtSensors/HumidityReading 5.9"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "relativeHumidity"; type: "double"; isReadonly: true } + Property { name: "absoluteHumidity"; type: "double"; isReadonly: true } + } + Component { + name: "QmlHumiditySensor" + prototype: "QmlSensor" + exports: ["QtSensors/HumiditySensor 5.9"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QmlIRProximitySensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/IRProximitySensor 5.0", + "QtSensors/IRProximitySensor 5.1", + "QtSensors/IRProximitySensor 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + } + Component { + name: "QmlIRProximitySensorReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/IRProximityReading 5.0", + "QtSensors/IRProximityReading 5.1", + "QtSensors/IRProximityReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "reflectance"; type: "double"; isReadonly: true } + } + Component { + name: "QmlLidReading" + prototype: "QmlSensorReading" + exports: ["QtSensors/LidReading 5.9"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "backLidChanged"; type: "bool"; isReadonly: true } + Property { name: "frontLidClosed"; type: "bool"; isReadonly: true } + Signal { + name: "backLidChanged" + Parameter { name: "closed"; type: "bool" } + } + Signal { + name: "frontLidChanged" + type: "bool" + Parameter { name: "closed"; type: "bool" } + } + } + Component { + name: "QmlLidSensor" + prototype: "QmlSensor" + exports: ["QtSensors/LidSensor 5.9"] + exportMetaObjectRevisions: [0] + } + Component { + name: "QmlLightSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/LightSensor 5.0", + "QtSensors/LightSensor 5.1", + "QtSensors/LightSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "fieldOfView"; type: "double"; isReadonly: true } + Signal { + name: "fieldOfViewChanged" + Parameter { name: "fieldOfView"; type: "double" } + } + } + Component { + name: "QmlLightSensorReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/LightReading 5.0", + "QtSensors/LightReading 5.1", + "QtSensors/LightReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "illuminance"; type: "double"; isReadonly: true } + } + Component { + name: "QmlMagnetometer" + prototype: "QmlSensor" + exports: [ + "QtSensors/Magnetometer 5.0", + "QtSensors/Magnetometer 5.1", + "QtSensors/Magnetometer 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "returnGeoValues"; type: "bool" } + Signal { + name: "returnGeoValuesChanged" + Parameter { name: "returnGeoValues"; type: "bool" } + } + } + Component { + name: "QmlMagnetometerReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/MagnetometerReading 5.0", + "QtSensors/MagnetometerReading 5.1", + "QtSensors/MagnetometerReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "z"; type: "double"; isReadonly: true } + Property { name: "calibrationLevel"; type: "double"; isReadonly: true } + } + Component { + name: "QmlOrientationSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/OrientationSensor 5.0", + "QtSensors/OrientationSensor 5.1", + "QtSensors/OrientationSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + } + Component { + name: "QmlOrientationSensorReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/OrientationReading 5.0", + "QtSensors/OrientationReading 5.1", + "QtSensors/OrientationReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "orientation"; type: "QOrientationReading::Orientation"; isReadonly: true } + } + Component { + name: "QmlPressureReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/PressureReading 5.1", + "QtSensors/PressureReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1] + Property { name: "pressure"; type: "double"; isReadonly: true } + Property { name: "temperature"; revision: 1; type: "double"; isReadonly: true } + Signal { name: "temperatureChanged"; revision: 1 } + } + Component { + name: "QmlPressureSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/PressureSensor 5.1", + "QtSensors/PressureSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0] + } + Component { + name: "QmlProximitySensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/ProximitySensor 5.0", + "QtSensors/ProximitySensor 5.1", + "QtSensors/ProximitySensor 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + } + Component { + name: "QmlProximitySensorReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/ProximityReading 5.0", + "QtSensors/ProximityReading 5.1", + "QtSensors/ProximityReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "near"; type: "bool"; isReadonly: true } + } + Component { + name: "QmlRotationSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/RotationSensor 5.0", + "QtSensors/RotationSensor 5.1", + "QtSensors/RotationSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "hasZ"; type: "bool"; isReadonly: true } + Signal { + name: "hasZChanged" + Parameter { name: "hasZ"; type: "bool" } + } + } + Component { + name: "QmlRotationSensorReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/RotationReading 5.0", + "QtSensors/RotationReading 5.1", + "QtSensors/RotationReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "x"; type: "double"; isReadonly: true } + Property { name: "y"; type: "double"; isReadonly: true } + Property { name: "z"; type: "double"; isReadonly: true } + } + Component { + name: "QmlSensor" + prototype: "QObject" + exports: [ + "QtSensors/Sensor 5.0", + "QtSensors/Sensor 5.1", + "QtSensors/Sensor 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 1, 1] + Enum { + name: "AxesOrientationMode" + values: { + "FixedOrientation": 0, + "AutomaticOrientation": 1, + "UserOrientation": 2 + } + } + Property { name: "identifier"; type: "string" } + Property { name: "type"; type: "string"; isReadonly: true } + Property { name: "connectedToBackend"; type: "bool"; isReadonly: true } + Property { name: "availableDataRates"; type: "QmlSensorRange"; isList: true; isReadonly: true } + Property { name: "dataRate"; type: "int" } + Property { name: "reading"; type: "QmlSensorReading"; isReadonly: true; isPointer: true } + Property { name: "busy"; type: "bool"; isReadonly: true } + Property { name: "active"; type: "bool" } + Property { name: "outputRanges"; type: "QmlSensorOutputRange"; isList: true; isReadonly: true } + Property { name: "outputRange"; type: "int" } + Property { name: "description"; type: "string"; isReadonly: true } + Property { name: "error"; type: "int"; isReadonly: true } + Property { name: "alwaysOn"; type: "bool" } + Property { name: "skipDuplicates"; revision: 1; type: "bool" } + Property { name: "axesOrientationMode"; revision: 1; type: "AxesOrientationMode" } + Property { name: "currentOrientation"; revision: 1; type: "int"; isReadonly: true } + Property { name: "userOrientation"; revision: 1; type: "int" } + Property { name: "maxBufferSize"; revision: 1; type: "int"; isReadonly: true } + Property { name: "efficientBufferSize"; revision: 1; type: "int"; isReadonly: true } + Property { name: "bufferSize"; revision: 1; type: "int" } + Signal { + name: "skipDuplicatesChanged" + revision: 1 + Parameter { name: "skipDuplicates"; type: "bool" } + } + Signal { + name: "axesOrientationModeChanged" + revision: 1 + Parameter { name: "axesOrientationMode"; type: "AxesOrientationMode" } + } + Signal { + name: "currentOrientationChanged" + revision: 1 + Parameter { name: "currentOrientation"; type: "int" } + } + Signal { + name: "userOrientationChanged" + revision: 1 + Parameter { name: "userOrientation"; type: "int" } + } + Signal { + name: "maxBufferSizeChanged" + revision: 1 + Parameter { name: "maxBufferSize"; type: "int" } + } + Signal { + name: "efficientBufferSizeChanged" + revision: 1 + Parameter { name: "efficientBufferSize"; type: "int" } + } + Signal { + name: "bufferSizeChanged" + revision: 1 + Parameter { name: "bufferSize"; type: "int" } + } + Method { name: "start"; type: "bool" } + Method { name: "stop" } + } + Component { + name: "QmlSensorGesture" + prototype: "QObject" + exports: [ + "QtSensors/SensorGesture 5.0", + "QtSensors/SensorGesture 5.1", + "QtSensors/SensorGesture 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "availableGestures"; type: "QStringList"; isReadonly: true } + Property { name: "gestures"; type: "QStringList" } + Property { name: "validGestures"; type: "QStringList"; isReadonly: true } + Property { name: "invalidGestures"; type: "QStringList"; isReadonly: true } + Property { name: "enabled"; type: "bool" } + Signal { + name: "detected" + Parameter { name: "gesture"; type: "string" } + } + } + Component { + name: "QmlSensorGlobal" + prototype: "QObject" + exports: [ + "QtSensors/QmlSensors 5.0", + "QtSensors/QmlSensors 5.1", + "QtSensors/QmlSensors 5.2" + ] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0, 0, 0] + Signal { name: "availableSensorsChanged" } + Method { name: "sensorTypes"; type: "QStringList" } + Method { + name: "sensorsForType" + type: "QStringList" + Parameter { name: "type"; type: "string" } + } + Method { + name: "defaultSensorForType" + type: "string" + Parameter { name: "type"; type: "string" } + } + } + Component { + name: "QmlSensorOutputRange" + prototype: "QObject" + exports: [ + "QtSensors/OutputRange 5.0", + "QtSensors/OutputRange 5.1", + "QtSensors/OutputRange 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "minimum"; type: "double"; isReadonly: true } + Property { name: "maximum"; type: "double"; isReadonly: true } + Property { name: "accuracy"; type: "double"; isReadonly: true } + } + Component { + name: "QmlSensorRange" + prototype: "QObject" + exports: [ + "QtSensors/Range 5.0", + "QtSensors/Range 5.1", + "QtSensors/Range 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "minimum"; type: "int"; isReadonly: true } + Property { name: "maximum"; type: "int"; isReadonly: true } + } + Component { + name: "QmlSensorReading" + prototype: "QObject" + exports: [ + "QtSensors/SensorReading 5.0", + "QtSensors/SensorReading 5.1", + "QtSensors/SensorReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "timestamp"; type: "qulonglong"; isReadonly: true } + } + Component { + name: "QmlTapSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/TapSensor 5.0", + "QtSensors/TapSensor 5.1", + "QtSensors/TapSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "returnDoubleTapEvents"; type: "bool" } + Signal { + name: "returnDoubleTapEventsChanged" + Parameter { name: "returnDoubleTapEvents"; type: "bool" } + } + } + Component { + name: "QmlTapSensorReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/TapReading 5.0", + "QtSensors/TapReading 5.1", + "QtSensors/TapReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "tapDirection"; type: "QTapReading::TapDirection"; isReadonly: true } + Property { name: "doubleTap"; type: "bool"; isReadonly: true } + Signal { name: "isDoubleTapChanged" } + } + Component { + name: "QmlTiltSensor" + prototype: "QmlSensor" + exports: [ + "QtSensors/TiltSensor 5.0", + "QtSensors/TiltSensor 5.1", + "QtSensors/TiltSensor 5.2" + ] + exportMetaObjectRevisions: [0, 0, 0] + Method { name: "calibrate" } + } + Component { + name: "QmlTiltSensorReading" + prototype: "QmlSensorReading" + exports: [ + "QtSensors/TiltReading 5.0", + "QtSensors/TiltReading 5.1", + "QtSensors/TiltReading 5.2" + ] + isCreatable: false + exportMetaObjectRevisions: [0, 0, 0] + Property { name: "yRotation"; type: "double"; isReadonly: true } + Property { name: "xRotation"; type: "double"; isReadonly: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/qmldir new file mode 100644 index 00000000..8ce4a5aa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtSensors/qmldir @@ -0,0 +1,4 @@ +module QtSensors +plugin declarative_sensors +classname QtSensorsDeclarativeModule +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/SignalSpy.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/SignalSpy.qml new file mode 100644 index 00000000..52ed83e2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/SignalSpy.qml @@ -0,0 +1,268 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtTest 1.1 + +/*! + \qmltype SignalSpy + \inqmlmodule QtTest + \brief Enables introspection of signal emission. + \since 4.8 + \ingroup qtquicktest + + In the following example, a SignalSpy is installed to watch the + "clicked" signal on a user-defined Button type. When the signal + is emitted, the \l count property on the spy will be increased. + + \code + Button { + id: button + SignalSpy { + id: spy + target: button + signalName: "clicked" + } + TestCase { + name: "ButtonClick" + function test_click() { + compare(spy.count, 0) + button.clicked(); + compare(spy.count, 1) + } + } + } + \endcode + + The above style of test is suitable for signals that are emitted + synchronously. For asynchronous signals, the wait() method can be + used to block the test until the signal occurs (or a timeout expires). + + \sa {QtTest::TestCase}{TestCase}, {Qt Quick Test} +*/ + +Item { + id: spy + visible: false + + TestUtil { + id: util + } + // Public API. + /*! + \qmlproperty object SignalSpy::target + + This property defines the target object that will be used to + listen for emissions of the \l signalName signal. + + \sa signalName, count + */ + property var target: null + /*! + \qmlproperty string SignalSpy::signalName + + This property defines the name of the signal on \l target to + listen for. + + \sa target, count + */ + property string signalName: "" + /*! + \qmlproperty int SignalSpy::count + + This property defines the number of times that \l signalName has + been emitted from \l target since the last call to clear(). + + \sa target, signalName, clear() + \readonly + */ + readonly property alias count: spy.qtest_count + /*! + \qmlproperty bool SignalSpy::valid + + This property defines the current signal connection status. It will be true when the \l signalName of the \l target is connected successfully, otherwise it will be false. + + \sa count, target, signalName, clear() + \readonly + */ + readonly property alias valid:spy.qtest_valid + /*! + \qmlproperty list SignalSpy::signalArguments + + This property holds a list of emitted signal arguments. Each emission of the signal will append one item to the list, containing the arguments of the signal. + When connecting to a new \l target or new \l signalName or calling the \l clear() method, the \l signalArguments will be reset to empty. + + \sa signalName, clear() + \readonly + */ + readonly property alias signalArguments:spy.qtest_signalArguments + + /*! + \qmlmethod SignalSpy::clear() + + Clears \l count to 0, resets \l valid to false and clears the \l signalArguments to empty. + + \sa count, wait() + */ + function clear() { + qtest_count = 0 + qtest_expectedCount = 0 + qtest_signalArguments = [] + } + + /*! + \qmlmethod SignalSpy::wait(timeout = 5000) + + Waits for the signal \l signalName on \l target to be emitted, + for up to \a timeout milliseconds. The test case will fail if + the signal is not emitted. + + \code + SignalSpy { + id: spy + target: button + signalName: "clicked" + } + + function test_async_click() { + ... + // do something that will cause clicked() to be emitted + ... + spy.wait() + compare(spy.count, 1) + } + \endcode + + There are two possible scenarios: the signal has already been + emitted when wait() is called, or the signal has not yet been + emitted. The wait() function handles the first scenario by immediately + returning if the signal has already occurred. + + The clear() method can be used to discard information about signals + that have already occurred to synchronize wait() with future signal + emissions. + + \sa clear(), TestCase::tryCompare() + */ + function wait(timeout) { + if (timeout === undefined) + timeout = 5000 + var expected = ++qtest_expectedCount + var i = 0 + while (i < timeout && qtest_count < expected) { + qtest_results.wait(50) + i += 50 + } + var success = (qtest_count >= expected) + if (!qtest_results.verify(success, "wait for signal " + signalName, util.callerFile(), util.callerLine())) + throw new Error("QtQuickTest::fail") + } + + // Internal implementation detail follows. + + TestResult { id: qtest_results } + + onTargetChanged: { + qtest_update() + } + onSignalNameChanged: { + qtest_update() + } + + /*! \internal */ + property var qtest_prevTarget: null + /*! \internal */ + property string qtest_prevSignalName: "" + /*! \internal */ + property int qtest_expectedCount: 0 + /*! \internal */ + property var qtest_signalArguments:[] + /*! \internal */ + property int qtest_count: 0 + /*! \internal */ + property bool qtest_valid:false + /*! \internal */ + + /*! \internal */ + function qtest_update() { + if (qtest_prevTarget != null) { + var prevHandlerName = qtest_signalHandlerName(qtest_prevSignalName) + var prevFunc = qtest_prevTarget[prevHandlerName] + if (prevFunc) + prevFunc.disconnect(spy.qtest_activated) + qtest_prevTarget = null + qtest_prevSignalName = "" + } + if (target != null && signalName != "") { + // Look for the signal name in the object + var func = target[signalName] + if (typeof func !== "function") { + // If it is not a function, try looking for signal handler + // i.e. (onSignal) this is needed for cases where there is a property + // and a signal with the same name, e.g. Mousearea.pressed + func = target[qtest_signalHandlerName(signalName)] + } + if (func === undefined) { + spy.qtest_valid = false + console.log("Signal '" + signalName + "' not found") + } else { + qtest_prevTarget = target + qtest_prevSignalName = signalName + func.connect(spy.qtest_activated) + spy.qtest_valid = true + spy.qtest_signalArguments = [] + } + } else { + spy.qtest_valid = false + } + } + + /*! \internal */ + function qtest_activated() { + ++qtest_count + spy.qtest_signalArguments[spy.qtest_signalArguments.length] = arguments + } + + /*! \internal */ + function qtest_signalHandlerName(sn) { + if (sn.substr(0, 2) === "on" && sn[2] === sn[2].toUpperCase()) + return sn + return "on" + sn.substr(0, 1).toUpperCase() + sn.substr(1) + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/TestCase.qml b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/TestCase.qml new file mode 100644 index 00000000..380b7e38 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/TestCase.qml @@ -0,0 +1,2045 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Window 2.0 // used for qtest_verifyItem +import QtTest 1.2 +import "testlogger.js" as TestLogger +import Qt.test.qtestroot 1.0 + +/*! + \qmltype TestCase + \inqmlmodule QtTest + \brief Represents a unit test case. + \since 4.8 + \ingroup qtquicktest + + \section1 Introduction to QML Test Cases + + Test cases are written as JavaScript functions within a TestCase + type: + + \code + import QtQuick 2.0 + import QtTest 1.2 + + TestCase { + name: "MathTests" + + function test_math() { + compare(2 + 2, 4, "2 + 2 = 4") + } + + function test_fail() { + compare(2 + 2, 5, "2 + 2 = 5") + } + } + \endcode + + Functions whose names start with "test_" are treated as test cases + to be executed. The \l name property is used to prefix the functions + in the output: + + \code + ********* Start testing of MathTests ********* + Config: Using QTest library 4.7.2, Qt 4.7.2 + PASS : MathTests::initTestCase() + FAIL! : MathTests::test_fail() 2 + 2 = 5 + Actual (): 4 + Expected (): 5 + Loc: [/home/.../tst_math.qml(12)] + PASS : MathTests::test_math() + PASS : MathTests::cleanupTestCase() + Totals: 3 passed, 1 failed, 0 skipped + ********* Finished testing of MathTests ********* + \endcode + + Because of the way JavaScript properties work, the order in which the + test functions are found is unpredictable. To assist with predictability, + the test framework will sort the functions on ascending order of name. + This can help when there are two tests that must be run in order. + + Multiple TestCase types can be supplied. The test program will exit + once they have all completed. If a test case doesn't need to run + (because a precondition has failed), then \l optional can be set to true. + + \section1 Data-driven Tests + + Table data can be provided to a test using a function name that ends + with "_data". Alternatively, the \c init_data() function can be used + to provide default test data for all test functions in a TestCase type: + + + \code + import QtQuick 2.0 + import QtTest 1.2 + + TestCase { + name: "DataTests" + + function init_data() { + return [ + {tag:"init_data_1", a:1, b:2, answer: 3}, + {tag:"init_data_2", a:2, b:4, answer: 6} + ]; + } + + function test_table_data() { + return [ + {tag: "2 + 2 = 4", a: 2, b: 2, answer: 4 }, + {tag: "2 + 6 = 8", a: 2, b: 6, answer: 8 }, + ] + } + + function test_table(data) { + //data comes from test_table_data + compare(data.a + data.b, data.answer) + } + + function test__default_table(data) { + //data comes from init_data + compare(data.a + data.b, data.answer) + } + } + \endcode + + The test framework will iterate over all of the rows in the table + and pass each row to the test function. As shown, the columns can be + extracted for use in the test. The \c tag column is special - it is + printed by the test framework when a row fails, to help the reader + identify which case failed amongst a set of otherwise passing tests. + + \section1 Benchmarks + + Functions whose names start with "benchmark_" will be run multiple + times with the Qt benchmark framework, with an average timing value + reported for the runs. This is equivalent to using the \c{QBENCHMARK} + macro in the C++ version of QTestLib. + + \code + TestCase { + id: top + name: "CreateBenchmark" + + function benchmark_create_component() { + var component = Qt.createComponent("item.qml") + var obj = component.createObject(top) + obj.destroy() + component.destroy() + } + } + + RESULT : CreateBenchmark::benchmark_create_component: + 0.23 msecs per iteration (total: 60, iterations: 256) + PASS : CreateBenchmark::benchmark_create_component() + \endcode + + To get the effect of the \c{QBENCHMARK_ONCE} macro, prefix the test + function name with "benchmark_once_". + + \section1 Simulating Keyboard and Mouse Events + + The keyPress(), keyRelease(), and keyClick() methods can be used + to simulate keyboard events within unit tests. The events are + delivered to the currently focused QML item. You can pass either + a Qt.Key enum value or a latin1 char (string of length one) + + \code + Rectangle { + width: 50; height: 50 + focus: true + + TestCase { + name: "KeyClick" + when: windowShown + + function test_key_click() { + keyClick(Qt.Key_Left) + keyClick("a") + ... + } + } + } + \endcode + + The mousePress(), mouseRelease(), mouseClick(), mouseDoubleClickSequence() + and mouseMove() methods can be used to simulate mouse events in a + similar fashion. + + \b{Note:} keyboard and mouse events can only be delivered once the + main window has been shown. Attempts to deliver events before then + will fail. Use the \l when and windowShown properties to track + when the main window has been shown. + + \section1 Managing Dynamically Created Test Objects + + A typical pattern with QML tests is to + \l {Dynamic QML Object Creation from JavaScript}{dynamically create} + an item and then destroy it at the end of the test function: + + \code + TestCase { + id: testCase + name: "MyTest" + when: windowShown + + function test_click() { + var item = Qt.createQmlObject("import QtQuick 2.0; Item {}", testCase); + verify(item); + + // Test item... + + item.destroy(); + } + } + \endcode + + The problem with this pattern is that any failures in the test function + will cause the call to \c item.destroy() to be skipped, leaving the item + hanging around in the scene until the test case has finished. This can + result in interference with future tests; for example, by blocking input + events or producing unrelated debug output that makes it difficult to + follow the code's execution. + + By calling \l createTemporaryQmlObject() instead, the object is guaranteed + to be destroyed at the end of the test function: + + \code + TestCase { + id: testCase + name: "MyTest" + when: windowShown + + function test_click() { + var item = createTemporaryQmlObject("import QtQuick 2.0; Item {}", testCase); + verify(item); + + // Test item... + + // Don't need to worry about destroying "item" here. + } + } + \endcode + + For objects that are created via the \l {Component::}{createObject()} function + of \l Component, the \l createTemporaryObject() function can be used. + + \sa {QtTest::SignalSpy}{SignalSpy}, {Qt Quick Test} +*/ + + +Item { + id: testCase + visible: false + TestUtil { + id:util + } + + /*! + \qmlproperty string TestCase::name + + This property defines the name of the test case for result reporting. + The default value is an empty string. + + \code + TestCase { + name: "ButtonTests" + ... + } + \endcode + */ + property string name + + /*! + \qmlproperty bool TestCase::when + + This property should be set to true when the application wants + the test cases to run. The default value is true. In the following + example, a test is run when the user presses the mouse button: + + \code + Rectangle { + id: foo + width: 640; height: 480 + color: "cyan" + + MouseArea { + id: area + anchors.fill: parent + } + + property bool bar: true + + TestCase { + name: "ItemTests" + when: area.pressed + id: test1 + + function test_bar() { + verify(bar) + } + } + } + \endcode + + The test application will exit once all \l TestCase types + have been triggered and have run. The \l optional property can + be used to exclude a \l TestCase type. + + \sa optional, completed + */ + property bool when: true + + /*! + \qmlproperty bool TestCase::completed + + This property will be set to true once the test case has completed + execution. Test cases are only executed once. The initial value + is false. + + \sa running, when + */ + property bool completed: false + + /*! + \qmlproperty bool TestCase::running + + This property will be set to true while the test case is running. + The initial value is false, and the value will become false again + once the test case completes. + + \sa completed, when + */ + property bool running: false + + /*! + \qmlproperty bool TestCase::optional + + Multiple \l TestCase types can be supplied in a test application. + The application will exit once they have all completed. If a test case + does not need to run (because a precondition has failed), then this + property can be set to true. The default value is false. + + \code + TestCase { + when: false + optional: true + function test_not_run() { + verify(false) + } + } + \endcode + + \sa when, completed + */ + property bool optional: false + + /*! + \qmlproperty bool TestCase::windowShown + + This property will be set to true after the QML viewing window has + been displayed. Normally test cases run as soon as the test application + is loaded and before a window is displayed. If the test case involves + visual types and behaviors, then it may need to be delayed until + after the window is shown. + + \code + Button { + id: button + onClicked: text = "Clicked" + TestCase { + name: "ClickTest" + when: windowShown + function test_click() { + button.clicked(); + compare(button.text, "Clicked"); + } + } + } + \endcode + */ + property bool windowShown: QTestRootObject.windowShown + + // Internal private state. Identifiers prefixed with qtest are reserved. + /*! \internal */ + property bool qtest_prevWhen: true + /*! \internal */ + property int qtest_testId: -1 + /*! \internal */ + property bool qtest_componentCompleted : false + /*! \internal */ + property var qtest_testCaseResult + /*! \internal */ + property var qtest_results: qtest_results_normal + /*! \internal */ + TestResult { id: qtest_results_normal } + /*! \internal */ + property var qtest_events: qtest_events_normal + TestEvent { id: qtest_events_normal } + /*! \internal */ + property var qtest_temporaryObjects: [] + + /*! + \qmlmethod TestCase::fail(message = "") + + Fails the current test case, with the optional \a message. + Similar to \c{QFAIL(message)} in C++. + */ + function fail(msg) { + if (msg === undefined) + msg = ""; + qtest_results.fail(msg, util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + + /*! \internal */ + function qtest_fail(msg, frame) { + if (msg === undefined) + msg = ""; + qtest_results.fail(msg, util.callerFile(frame), util.callerLine(frame)) + throw new Error("QtQuickTest::fail") + } + + /*! + \qmlmethod TestCase::verify(condition, message = "") + + Fails the current test case if \a condition is false, and + displays the optional \a message. Similar to \c{QVERIFY(condition)} + or \c{QVERIFY2(condition, message)} in C++. + */ + function verify(cond, msg) { + if (arguments.length > 2) + qtest_fail("More than two arguments given to verify(). Did you mean tryVerify() or tryCompare()?", 1) + + if (msg === undefined) + msg = ""; + if (!qtest_results.verify(cond, msg, util.callerFile(), util.callerLine())) + throw new Error("QtQuickTest::fail") + } + + /*! + \since 5.8 + \qmlmethod TestCase::tryVerify(function, timeout = 5000, message = "") + + Fails the current test case if \a function does not evaluate to + \c true before the specified \a timeout (in milliseconds) has elapsed. + The function is evaluated multiple times until the timeout is + reached. An optional \a message is displayed upon failure. + + This function is intended for testing applications where a condition + changes based on asynchronous events. Use verify() for testing + synchronous condition changes, and tryCompare() for testing + asynchronous property changes. + + For example, in the code below, it's not possible to use tryCompare(), + because the \c currentItem property might be \c null for a short period + of time: + + \code + tryCompare(listView.currentItem, "text", "Hello"); + \endcode + + Instead, we can use tryVerify() to first check that \c currentItem + isn't \c null, and then use a regular compare afterwards: + + \code + tryVerify(function(){ return listView.currentItem }) + compare(listView.currentItem.text, "Hello") + \endcode + + \sa verify(), compare(), tryCompare(), SignalSpy::wait() + */ + function tryVerify(expressionFunction, timeout, msg) { + if (!expressionFunction || !(expressionFunction instanceof Function)) { + qtest_results.fail("First argument must be a function", util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + + if (timeout && typeof(timeout) !== "number") { + qtest_results.fail("timeout argument must be a number", util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + + if (msg && typeof(msg) !== "string") { + qtest_results.fail("message argument must be a string", util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + + if (!timeout) + timeout = 5000 + + if (msg === undefined) + msg = "function returned false" + + if (!expressionFunction()) + wait(0) + + var i = 0 + while (i < timeout && !expressionFunction()) { + wait(50) + i += 50 + } + + if (!qtest_results.verify(expressionFunction(), msg, util.callerFile(), util.callerLine())) + throw new Error("QtQuickTest::fail") + } + + /*! + \since 5.13 + \qmlmethod bool TestCase::isPolishScheduled(object item) + + Returns \c true if \l {QQuickItem::}{updatePolish()} has not been called + on \a item since the last call to \l {QQuickItem::}{polish()}, + otherwise returns \c false. + + When assigning values to properties in QML, any layouting the item + must do as a result of the assignment might not take effect immediately, + but can instead be postponed until the item is polished. For these cases, + you can use this function to ensure that the item has been polished + before the execution of the test continues. For example: + + \code + verify(isPolishScheduled(item)) + verify(waitForItemPolished(item)) + \endcode + + Without the call to \c isPolishScheduled() above, the + call to \c waitForItemPolished() might see that no polish + was scheduled and therefore pass instantly, assuming that + the item had already been polished. This function + makes it obvious why an item wasn't polished and allows tests to + fail early under such circumstances. + + \sa waitForItemPolished(), QQuickItem::polish(), QQuickItem::updatePolish() + */ + function isPolishScheduled(item) { + if (!item || typeof item !== "object") { + qtest_results.fail("Argument must be a valid Item; actual type is " + typeof item, + util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + + return qtest_results.isPolishScheduled(item) + } + + /*! + \since 5.13 + \qmlmethod bool waitForItemPolished(object item, int timeout = 5000) + + Waits for \a timeout milliseconds or until + \l {QQuickItem::}{updatePolish()} has been called on \a item. + + Returns \c true if \c updatePolish() was called on \a item within + \a timeout milliseconds, otherwise returns \c false. + + \sa isPolishScheduled(), QQuickItem::polish(), QQuickItem::updatePolish() + */ + function waitForItemPolished(item, timeout) { + if (!item || typeof item !== "object") { + qtest_results.fail("First argument must be a valid Item; actual type is " + typeof item, + util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + + if (timeout !== undefined && typeof(timeout) != "number") { + qtest_results.fail("Second argument must be a number; actual type is " + typeof timeout, + util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + + if (!timeout) + timeout = 5000 + + return qtest_results.waitForItemPolished(item, timeout) + } + + /*! + \since 5.9 + \qmlmethod object TestCase::createTemporaryQmlObject(string qml, object parent, string filePath) + + This function dynamically creates a QML object from the given \a qml + string with the specified \a parent. The returned object will be + destroyed (if it was not already) after \l cleanup() has finished + executing, meaning that objects created with this function are + guaranteed to be destroyed after each test, regardless of whether or + not the tests fail. + + If there was an error while creating the object, \c null will be + returned. + + If \a filePath is specified, it will be used for error reporting for + the created object. + + This function calls + \l {QtQml::Qt::createQmlObject()}{Qt.createQmlObject()} internally. + + \sa {Managing Dynamically Created Test Objects} + */ + function createTemporaryQmlObject(qml, parent, filePath) { + if (typeof qml !== "string") { + qtest_results.fail("First argument must be a string of QML; actual type is " + typeof qml, + util.callerFile(), util.callerLine()); + throw new Error("QtQuickTest::fail"); + } + + if (!parent || typeof parent !== "object") { + qtest_results.fail("Second argument must be a valid parent object; actual type is " + typeof parent, + util.callerFile(), util.callerLine()); + throw new Error("QtQuickTest::fail"); + } + + if (filePath !== undefined && typeof filePath !== "string") { + qtest_results.fail("Third argument must be a file path string; actual type is " + typeof filePath, + util.callerFile(), util.callerLine()); + throw new Error("QtQuickTest::fail"); + } + + var object = Qt.createQmlObject(qml, parent, filePath); + qtest_temporaryObjects.push(object); + return object; + } + + /*! + \since 5.9 + \qmlmethod object TestCase::createTemporaryObject(Component component, object parent, object properties) + + This function dynamically creates a QML object from the given + \a component with the specified optional \a parent and \a properties. + The returned object will be destroyed (if it was not already) after + \l cleanup() has finished executing, meaning that objects created with + this function are guaranteed to be destroyed after each test, + regardless of whether or not the tests fail. + + If there was an error while creating the object, \c null will be + returned. + + This function calls + \l {QtQml::Component::createObject()}{component.createObject()} + internally. + + \sa {Managing Dynamically Created Test Objects} + */ + function createTemporaryObject(component, parent, properties) { + if (typeof component !== "object") { + qtest_results.fail("First argument must be a Component; actual type is " + typeof component, + util.callerFile(), util.callerLine()); + throw new Error("QtQuickTest::fail"); + } + + if (properties && typeof properties !== "object") { + qtest_results.fail("Third argument must be an object; actual type is " + typeof properties, + util.callerFile(), util.callerLine()); + throw new Error("QtQuickTest::fail"); + } + + var object = component.createObject(parent, properties ? properties : ({})); + qtest_temporaryObjects.push(object); + return object; + } + + /*! + \internal + + Destroys all temporary objects that still exist. + */ + function qtest_destroyTemporaryObjects() { + for (var i = 0; i < qtest_temporaryObjects.length; ++i) { + var temporaryObject = qtest_temporaryObjects[i]; + // ### the typeof check can be removed when QTBUG-57749 is fixed + if (temporaryObject && typeof temporaryObject.destroy === "function") + temporaryObject.destroy(); + } + qtest_temporaryObjects = []; + } + + /*! \internal */ + // Determine what is o. + // Discussions and reference: http://philrathe.com/articles/equiv + // Test suites: http://philrathe.com/tests/equiv + // Author: Philippe Rathé + function qtest_typeof(o) { + if (typeof o === "undefined") { + return "undefined"; + + // consider: typeof null === object + } else if (o === null) { + return "null"; + + } else if (o.constructor === String) { + return "string"; + + } else if (o.constructor === Boolean) { + return "boolean"; + + } else if (o.constructor === Number) { + + if (isNaN(o)) { + return "nan"; + } else { + return "number"; + } + // consider: typeof [] === object + } else if (o instanceof Array) { + return "array"; + + // consider: typeof new Date() === object + } else if (o instanceof Date) { + return "date"; + + // consider: /./ instanceof Object; + // /./ instanceof RegExp; + // typeof /./ === "function"; // => false in IE and Opera, + // true in FF and Safari + } else if (o instanceof RegExp) { + return "regexp"; + + } else if (typeof o === "object") { + if ("mapFromItem" in o && "mapToItem" in o) { + return "declarativeitem"; // @todo improve detection of declarative items + } else if ("x" in o && "y" in o && "z" in o) { + return "vector3d"; // Qt 3D vector + } + return "object"; + } else if (o instanceof Function) { + return "function"; + } else { + return undefined; + } + } + + /*! \internal */ + // Test for equality + // Large parts contain sources from QUnit or http://philrathe.com + // Discussions and reference: http://philrathe.com/articles/equiv + // Test suites: http://philrathe.com/tests/equiv + // Author: Philippe Rathé + function qtest_compareInternal(act, exp) { + var success = false; + if (act === exp) { + success = true; // catch the most you can + } else if (act === null || exp === null || typeof act === "undefined" || typeof exp === "undefined") { + success = false; // don't lose time with error prone cases + } else { + var typeExp = qtest_typeof(exp), typeAct = qtest_typeof(act) + if (typeExp !== typeAct) { + // allow object vs string comparison (e.g. for colors) + // else break on different types + if ((typeExp === "string" && (typeAct === "object") || typeAct == "declarativeitem") + || ((typeExp === "object" || typeExp == "declarativeitem") && typeAct === "string")) { + success = (act == exp) + } + } else if (typeExp === "string" || typeExp === "boolean" || + typeExp === "null" || typeExp === "undefined") { + if (exp instanceof act.constructor || act instanceof exp.constructor) { + // to catch short annotaion VS 'new' annotation of act declaration + // e.g. var i = 1; + // var j = new Number(1); + success = (act == exp) + } else { + success = (act === exp) + } + } else if (typeExp === "nan") { + success = isNaN(act); + } else if (typeExp === "number") { + // Use act fuzzy compare if the two values are floats + if (Math.abs(act - exp) <= 0.00001) { + success = true + } + } else if (typeExp === "array") { + success = qtest_compareInternalArrays(act, exp) + } else if (typeExp === "object") { + success = qtest_compareInternalObjects(act, exp) + } else if (typeExp === "declarativeitem") { + success = qtest_compareInternalObjects(act, exp) // @todo improve comparison of declarative items + } else if (typeExp === "vector3d") { + success = (Math.abs(act.x - exp.x) <= 0.00001 && + Math.abs(act.y - exp.y) <= 0.00001 && + Math.abs(act.z - exp.z) <= 0.00001) + } else if (typeExp === "date") { + success = (act.valueOf() === exp.valueOf()) + } else if (typeExp === "regexp") { + success = (act.source === exp.source && // the regex itself + act.global === exp.global && // and its modifers (gmi) ... + act.ignoreCase === exp.ignoreCase && + act.multiline === exp.multiline) + } + } + return success + } + + /*! \internal */ + function qtest_compareInternalObjects(act, exp) { + var i; + var eq = true; // unless we can proove it + var aProperties = [], bProperties = []; // collection of strings + + // comparing constructors is more strict than using instanceof + if (act.constructor !== exp.constructor) { + return false; + } + + for (i in act) { // be strict: don't ensures hasOwnProperty and go deep + aProperties.push(i); // collect act's properties + if (!qtest_compareInternal(act[i], exp[i])) { + eq = false; + break; + } + } + + for (i in exp) { + bProperties.push(i); // collect exp's properties + } + + if (aProperties.length == 0 && bProperties.length == 0) { // at least a special case for QUrl + return eq && (JSON.stringify(act) == JSON.stringify(exp)); + } + + // Ensures identical properties name + return eq && qtest_compareInternal(aProperties.sort(), bProperties.sort()); + + } + + /*! \internal */ + function qtest_compareInternalArrays(actual, expected) { + if (actual.length != expected.length) { + return false + } + + for (var i = 0, len = actual.length; i < len; i++) { + if (!qtest_compareInternal(actual[i], expected[i])) { + return false + } + } + + return true + } + + /*! + \qmlmethod TestCase::compare(actual, expected, message = "") + + Fails the current test case if \a actual is not the same as + \a expected, and displays the optional \a message. Similar + to \c{QCOMPARE(actual, expected)} in C++. + + \sa tryCompare(), fuzzyCompare + */ + function compare(actual, expected, msg) { + var act = qtest_results.stringify(actual) + var exp = qtest_results.stringify(expected) + + var success = qtest_compareInternal(actual, expected) + if (msg === undefined) { + if (success) + msg = "COMPARE()" + else + msg = "Compared values are not the same" + } + if (!qtest_results.compare(success, msg, act, exp, util.callerFile(), util.callerLine())) { + throw new Error("QtQuickTest::fail") + } + } + + /*! + \qmlmethod TestCase::fuzzyCompare(actual, expected, delta, message = "") + + Fails the current test case if the difference betwen \a actual and \a expected + is greater than \a delta, and displays the optional \a message. Similar + to \c{qFuzzyCompare(actual, expected)} in C++ but with a required \a delta value. + + This function can also be used for color comparisons if both the \a actual and + \a expected values can be converted into color values. If any of the differences + for RGBA channel values are greater than \a delta, the test fails. + + \sa tryCompare(), compare() + */ + function fuzzyCompare(actual, expected, delta, msg) { + if (delta === undefined) + qtest_fail("A delta value is required for fuzzyCompare", 2) + + var success = qtest_results.fuzzyCompare(actual, expected, delta) + if (msg === undefined) { + if (success) + msg = "FUZZYCOMPARE()" + else + msg = "Compared values are not the same with delta(" + delta + ")" + } + + if (!qtest_results.compare(success, msg, actual, expected, util.callerFile(), util.callerLine())) { + throw new Error("QtQuickTest::fail") + } + } + + /*! + \qmlmethod object TestCase::grabImage(item) + + Returns a snapshot image object of the given \a item. + + The returned image object has the following properties: + \list + \li width Returns the width of the underlying image (since 5.10) + \li height Returns the height of the underlying image (since 5.10) + \li size Returns the size of the underlying image (since 5.10) + \endlist + + Additionally, the returned image object has the following methods: + \list + \li \c {red(x, y)} Returns the red channel value of the pixel at \e x, \e y position + \li \c {green(x, y)} Returns the green channel value of the pixel at \e x, \e y position + \li \c {blue(x, y)} Returns the blue channel value of the pixel at \e x, \e y position + \li \c {alpha(x, y)} Returns the alpha channel value of the pixel at \e x, \e y position + \li \c {pixel(x, y)} Returns the color value of the pixel at \e x, \e y position + \li \c {equals(image)} Returns \c true if this image is identical to \e image - + see \l QImage::operator== (since 5.6) + + For example: + + \code + var image = grabImage(rect); + compare(image.red(10, 10), 255); + compare(image.pixel(20, 20), Qt.rgba(255, 0, 0, 255)); + + rect.width += 10; + var newImage = grabImage(rect); + verify(!newImage.equals(image)); + \endcode + + \li \c {save(path)} Saves the image to the given \e path. If the image cannot + be saved, an exception will be thrown. (since 5.10) + + This can be useful to perform postmortem analysis on failing tests, for + example: + + \code + var image = grabImage(rect); + try { + compare(image.width, 100); + } catch (ex) { + image.save("debug.png"); + throw ex; + } + \endcode + + \endlist + */ + function grabImage(item) { + return qtest_results.grabImage(item); + } + + /*! + \since 5.4 + \qmlmethod QtObject TestCase::findChild(parent, objectName) + + Returns the first child of \a parent with \a objectName, or \c null if + no such item exists. Both visual and non-visual children are searched + recursively, with visual children being searched first. + + \code + compare(findChild(item, "childObject"), expectedChildObject); + \endcode + */ + function findChild(parent, objectName) { + // First, search the visual item hierarchy. + var child = qtest_findVisualChild(parent, objectName); + if (child) + return child; + + // If it's not a visual child, it might be a QObject child. + return qtest_results.findChild(parent, objectName); + } + + /*! \internal */ + function qtest_findVisualChild(parent, objectName) { + if (!parent || parent.children === undefined) + return null; + + for (var i = 0; i < parent.children.length; ++i) { + // Is this direct child of ours the child we're after? + var child = parent.children[i]; + if (child.objectName === objectName) + return child; + } + + for (i = 0; i < parent.children.length; ++i) { + // Try the direct child's children. + child = qtest_findVisualChild(parent.children[i], objectName); + if (child) + return child; + } + return null; + } + + /*! + \qmlmethod TestCase::tryCompare(obj, property, expected, timeout = 5000, message = "") + + Fails the current test case if the specified \a property on \a obj + is not the same as \a expected, and displays the optional \a message. + The test will be retried multiple times until the + \a timeout (in milliseconds) is reached. + + This function is intended for testing applications where a property + changes value based on asynchronous events. Use compare() for testing + synchronous property changes. + + \code + tryCompare(img, "status", BorderImage.Ready) + compare(img.width, 120) + compare(img.height, 120) + compare(img.horizontalTileMode, BorderImage.Stretch) + compare(img.verticalTileMode, BorderImage.Stretch) + \endcode + + SignalSpy::wait() provides an alternative method to wait for a + signal to be emitted. + + \sa compare(), SignalSpy::wait() + */ + function tryCompare(obj, prop, value, timeout, msg) { + if (arguments.length == 1 || (typeof(prop) != "string" && typeof(prop) != "number")) { + qtest_results.fail("A property name as string or index is required for tryCompare", + util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + if (arguments.length == 2) { + qtest_results.fail("A value is required for tryCompare", + util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + if (timeout !== undefined && typeof(timeout) != "number") { + qtest_results.fail("timeout should be a number", + util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::fail") + } + if (!timeout) + timeout = 5000 + if (msg === undefined) + msg = "property " + prop + if (!qtest_compareInternal(obj[prop], value)) + wait(0) + var i = 0 + while (i < timeout && !qtest_compareInternal(obj[prop], value)) { + wait(50) + i += 50 + } + var actual = obj[prop] + var act = qtest_results.stringify(actual) + var exp = qtest_results.stringify(value) + var success = qtest_compareInternal(actual, value) + if (!qtest_results.compare(success, msg, act, exp, util.callerFile(), util.callerLine())) + throw new Error("QtQuickTest::fail") + } + + /*! + \qmlmethod TestCase::skip(message = "") + + Skips the current test case and prints the optional \a message. + If this is a data-driven test, then only the current row is skipped. + Similar to \c{QSKIP(message)} in C++. + */ + function skip(msg) { + if (msg === undefined) + msg = "" + qtest_results.skip(msg, util.callerFile(), util.callerLine()) + throw new Error("QtQuickTest::skip") + } + + /*! + \qmlmethod TestCase::expectFail(tag, message) + + In a data-driven test, marks the row associated with \a tag as + expected to fail. When the fail occurs, display the \a message, + abort the test, and mark the test as passing. Similar to + \c{QEXPECT_FAIL(tag, message, Abort)} in C++. + + If the test is not data-driven, then \a tag must be set to + an empty string. + + \sa expectFailContinue() + */ + function expectFail(tag, msg) { + if (tag === undefined) { + warn("tag argument missing from expectFail()") + tag = "" + } + if (msg === undefined) { + warn("message argument missing from expectFail()") + msg = "" + } + if (!qtest_results.expectFail(tag, msg, util.callerFile(), util.callerLine())) + throw new Error("QtQuickTest::expectFail") + } + + /*! + \qmlmethod TestCase::expectFailContinue(tag, message) + + In a data-driven test, marks the row associated with \a tag as + expected to fail. When the fail occurs, display the \a message, + and then continue the test. Similar to + \c{QEXPECT_FAIL(tag, message, Continue)} in C++. + + If the test is not data-driven, then \a tag must be set to + an empty string. + + \sa expectFail() + */ + function expectFailContinue(tag, msg) { + if (tag === undefined) { + warn("tag argument missing from expectFailContinue()") + tag = "" + } + if (msg === undefined) { + warn("message argument missing from expectFailContinue()") + msg = "" + } + if (!qtest_results.expectFailContinue(tag, msg, util.callerFile(), util.callerLine())) + throw new Error("QtQuickTest::expectFail") + } + + /*! + \qmlmethod TestCase::warn(message) + + Prints \a message as a warning message. Similar to + \c{QWARN(message)} in C++. + + \sa ignoreWarning() + */ + function warn(msg) { + if (msg === undefined) + msg = "" + qtest_results.warn(msg, util.callerFile(), util.callerLine()); + } + + /*! + \qmlmethod TestCase::ignoreWarning(message) + + Marks \a message as an ignored warning message. When it occurs, + the warning will not be printed and the test passes. If the message + does not occur, then the test will fail. Similar to + \c{QTest::ignoreMessage(QtWarningMsg, message)} in C++. + + Since Qt 5.12, \a message can be either a string, or a regular + expression providing a pattern of messages to ignore. + + For example, the following snippet will ignore a string warning message: + \qml + ignoreWarning("Something sort of bad happened") + \endqml + + And the following snippet will ignore a regular expression matching a + number of possible warning messages: + \qml + ignoreWarning(new RegExp("[0-9]+ bad things happened")) + \endqml + + \note Despite being a JavaScript RegExp object, it will not be + interpreted as such; instead, the pattern will be passed to + \l QRegularExpression. + + \sa warn() + */ + function ignoreWarning(msg) { + if (msg === undefined) + msg = "" + qtest_results.ignoreWarning(msg) + } + + /*! + \qmlmethod TestCase::wait(ms) + + Waits for \a ms milliseconds while processing Qt events. + + \sa sleep(), waitForRendering() + */ + function wait(ms) { + qtest_results.wait(ms) + } + + /*! + \qmlmethod TestCase::waitForRendering(item, timeout = 5000) + + Waits for \a timeout milliseconds or until the \a item is rendered by the renderer. + Returns true if \c item is rendered in \a timeout milliseconds, otherwise returns false. + The default \a timeout value is 5000. + + \sa sleep(), wait() + */ + function waitForRendering(item, timeout) { + if (timeout === undefined) + timeout = 5000 + if (!qtest_verifyItem(item, "waitForRendering")) + return + return qtest_results.waitForRendering(item, timeout) + } + + /*! + \qmlmethod TestCase::sleep(ms) + + Sleeps for \a ms milliseconds without processing Qt events. + + \sa wait(), waitForRendering() + */ + function sleep(ms) { + qtest_results.sleep(ms) + } + + /*! + \qmlmethod TestCase::keyPress(key, modifiers = Qt.NoModifier, delay = -1) + + Simulates pressing a \a key with optional \a modifiers on the currently + focused item. If \a delay is larger than 0, the test will wait for + \a delay milliseconds. + + The event will be sent to the TestCase window or, in case of multiple windows, + to the current active window. See \l QGuiApplication::focusWindow() for more details. + + \b{Note:} At some point you should release the key using keyRelease(). + + \sa keyRelease(), keyClick() + */ + function keyPress(key, modifiers, delay) { + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + if (typeof(key) == "string" && key.length == 1) { + if (!qtest_events.keyPressChar(key, modifiers, delay)) + qtest_fail("window not shown", 2) + } else { + if (!qtest_events.keyPress(key, modifiers, delay)) + qtest_fail("window not shown", 2) + } + } + + /*! + \qmlmethod TestCase::keyRelease(key, modifiers = Qt.NoModifier, delay = -1) + + Simulates releasing a \a key with optional \a modifiers on the currently + focused item. If \a delay is larger than 0, the test will wait for + \a delay milliseconds. + + The event will be sent to the TestCase window or, in case of multiple windows, + to the current active window. See \l QGuiApplication::focusWindow() for more details. + + \sa keyPress(), keyClick() + */ + function keyRelease(key, modifiers, delay) { + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + if (typeof(key) == "string" && key.length == 1) { + if (!qtest_events.keyReleaseChar(key, modifiers, delay)) + qtest_fail("window not shown", 2) + } else { + if (!qtest_events.keyRelease(key, modifiers, delay)) + qtest_fail("window not shown", 2) + } + } + + /*! + \qmlmethod TestCase::keyClick(key, modifiers = Qt.NoModifier, delay = -1) + + Simulates clicking of \a key with optional \a modifiers on the currently + focused item. If \a delay is larger than 0, the test will wait for + \a delay milliseconds. + + The event will be sent to the TestCase window or, in case of multiple windows, + to the current active window. See \l QGuiApplication::focusWindow() for more details. + + \sa keyPress(), keyRelease() + */ + function keyClick(key, modifiers, delay) { + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + if (typeof(key) == "string" && key.length == 1) { + if (!qtest_events.keyClickChar(key, modifiers, delay)) + qtest_fail("window not shown", 2) + } else { + if (!qtest_events.keyClick(key, modifiers, delay)) + qtest_fail("window not shown", 2) + } + } + + /*! + \since 5.10 + \qmlmethod TestCase::keySequence(keySequence) + + Simulates typing of \a keySequence. The key sequence can be set + to one of the \l{QKeySequence::StandardKey}{standard keyboard shortcuts}, or + it can be described with a string containing a sequence of up to four key + presses. + + Each event shall be sent to the TestCase window or, in case of multiple windows, + to the current active window. See \l QGuiApplication::focusWindow() for more details. + + \sa keyPress(), keyRelease(), {GNU Emacs Style Key Sequences}, + {QtQuick::Shortcut::sequence}{Shortcut.sequence} + */ + function keySequence(keySequence) { + if (!qtest_events.keySequence(keySequence)) + qtest_fail("window not shown", 2) + } + + /*! + \qmlmethod TestCase::mousePress(item, x = item.width / 2, y = item.height / 2, button = Qt.LeftButton, modifiers = Qt.NoModifier, delay = -1) + + Simulates pressing a mouse \a button with optional \a modifiers + on an \a item. The position is defined by \a x and \a y. + If \a x or \a y are not defined the position will be the center of \a item. + If \a delay is specified, the test will wait for the specified amount of + milliseconds before the press. + + The position given by \a x and \a y is transformed from the co-ordinate + system of \a item into window co-ordinates and then delivered. + If \a item is obscured by another item, or a child of \a item occupies + that position, then the event will be delivered to the other item instead. + + \sa mouseRelease(), mouseClick(), mouseDoubleClickSequence(), mouseMove(), mouseDrag(), mouseWheel() + */ + function mousePress(item, x, y, button, modifiers, delay) { + if (!qtest_verifyItem(item, "mousePress")) + return + + if (button === undefined) + button = Qt.LeftButton + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + if (x === undefined) + x = item.width / 2 + if (y === undefined) + y = item.height / 2 + if (!qtest_events.mousePress(item, x, y, button, modifiers, delay)) + qtest_fail("window not shown", 2) + } + + /*! + \qmlmethod TestCase::mouseRelease(item, x = item.width / 2, y = item.height / 2, button = Qt.LeftButton, modifiers = Qt.NoModifier, delay = -1) + + Simulates releasing a mouse \a button with optional \a modifiers + on an \a item. The position of the release is defined by \a x and \a y. + If \a x or \a y are not defined the position will be the center of \a item. + If \a delay is specified, the test will wait for the specified amount of + milliseconds before releasing the button. + + The position given by \a x and \a y is transformed from the co-ordinate + system of \a item into window co-ordinates and then delivered. + If \a item is obscured by another item, or a child of \a item occupies + that position, then the event will be delivered to the other item instead. + + \sa mousePress(), mouseClick(), mouseDoubleClickSequence(), mouseMove(), mouseDrag(), mouseWheel() + */ + function mouseRelease(item, x, y, button, modifiers, delay) { + if (!qtest_verifyItem(item, "mouseRelease")) + return + + if (button === undefined) + button = Qt.LeftButton + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + if (x === undefined) + x = item.width / 2 + if (y === undefined) + y = item.height / 2 + if (!qtest_events.mouseRelease(item, x, y, button, modifiers, delay)) + qtest_fail("window not shown", 2) + } + + /*! + \qmlmethod TestCase::mouseDrag(item, x, y, dx, dy, button = Qt.LeftButton, modifiers = Qt.NoModifier, delay = -1) + + Simulates dragging the mouse on an \a item with \a button pressed and optional \a modifiers + The initial drag position is defined by \a x and \a y, + and drag distance is defined by \a dx and \a dy. If \a delay is specified, + the test will wait for the specified amount of milliseconds before releasing the button. + + The position given by \a x and \a y is transformed from the co-ordinate + system of \a item into window co-ordinates and then delivered. + If \a item is obscured by another item, or a child of \a item occupies + that position, then the event will be delivered to the other item instead. + + \sa mousePress(), mouseClick(), mouseDoubleClickSequence(), mouseMove(), mouseRelease(), mouseWheel() + */ + function mouseDrag(item, x, y, dx, dy, button, modifiers, delay) { + if (!qtest_verifyItem(item, "mouseDrag")) + return + + if (item.x === undefined || item.y === undefined) + return + if (button === undefined) + button = Qt.LeftButton + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + var moveDelay = Math.max(1, delay === -1 ? qtest_events.defaultMouseDelay : delay) + + // Divide dx and dy to have intermediate mouseMove while dragging + // Fractions of dx/dy need be superior to the dragThreshold + // to make the drag works though + var intermediateDx = Math.round(dx/3) + if (Math.abs(intermediateDx) < (util.dragThreshold + 1)) + intermediateDx = 0 + var intermediateDy = Math.round(dy/3) + if (Math.abs(intermediateDy) < (util.dragThreshold + 1)) + intermediateDy = 0 + + mousePress(item, x, y, button, modifiers, delay) + + // Trigger dragging by dragging past the drag threshold, but making sure to only drag + // along a certain axis if a distance greater than zero was given for that axis. + var dragTriggerXDistance = dx > 0 ? (util.dragThreshold + 1) : 0 + var dragTriggerYDistance = dy > 0 ? (util.dragThreshold + 1) : 0 + mouseMove(item, x + dragTriggerXDistance, y + dragTriggerYDistance, moveDelay, button) + if (intermediateDx !== 0 || intermediateDy !== 0) { + mouseMove(item, x + intermediateDx, y + intermediateDy, moveDelay, button) + mouseMove(item, x + 2*intermediateDx, y + 2*intermediateDy, moveDelay, button) + } + mouseMove(item, x + dx, y + dy, moveDelay, button) + mouseRelease(item, x + dx, y + dy, button, modifiers, delay) + } + + /*! + \qmlmethod TestCase::mouseClick(item, x = item.width / 2, y = item.height / 2, button = Qt.LeftButton, modifiers = Qt.NoModifier, delay = -1) + + Simulates clicking a mouse \a button with optional \a modifiers + on an \a item. The position of the click is defined by \a x and \a y. + If \a x and \a y are not defined the position will be the center of \a item. + If \a delay is specified, the test will wait for the specified amount of + milliseconds before pressing and before releasing the button. + + The position given by \a x and \a y is transformed from the co-ordinate + system of \a item into window co-ordinates and then delivered. + If \a item is obscured by another item, or a child of \a item occupies + that position, then the event will be delivered to the other item instead. + + \sa mousePress(), mouseRelease(), mouseDoubleClickSequence(), mouseMove(), mouseDrag(), mouseWheel() + */ + function mouseClick(item, x, y, button, modifiers, delay) { + if (!qtest_verifyItem(item, "mouseClick")) + return + + if (button === undefined) + button = Qt.LeftButton + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + if (x === undefined) + x = item.width / 2 + if (y === undefined) + y = item.height / 2 + if (!qtest_events.mouseClick(item, x, y, button, modifiers, delay)) + qtest_fail("window not shown", 2) + } + + /*! + \qmlmethod TestCase::mouseDoubleClick(item, x = item.width / 2, y = item.height / 2, button = Qt.LeftButton, modifiers = Qt.NoModifier, delay = -1) + \deprecated + + Simulates double-clicking a mouse \a button with optional \a modifiers + on an \a item. The position of the click is defined by \a x and \a y. + If \a x and \a y are not defined the position will be the center of \a item. + If \a delay is specified, the test will wait for the specified amount of + milliseconds before pressing and before releasing the button. + + The position given by \a x and \a y is transformed from the co-ordinate + system of \a item into window co-ordinates and then delivered. + If \a item is obscured by another item, or a child of \a item occupies + that position, then the event will be delivered to the other item instead. + + \sa mouseDoubleClickSequence(), mousePress(), mouseRelease(), mouseClick(), mouseMove(), mouseDrag(), mouseWheel() + */ + function mouseDoubleClick(item, x, y, button, modifiers, delay) { + if (!qtest_verifyItem(item, "mouseDoubleClick")) + return + + if (button === undefined) + button = Qt.LeftButton + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + if (x === undefined) + x = item.width / 2 + if (y === undefined) + y = item.height / 2 + if (!qtest_events.mouseDoubleClick(item, x, y, button, modifiers, delay)) + qtest_fail("window not shown", 2) + } + + /*! + \qmlmethod TestCase::mouseDoubleClickSequence(item, x = item.width / 2, y = item.height / 2, button = Qt.LeftButton, modifiers = Qt.NoModifier, delay = -1) + + Simulates the full sequence of events generated by double-clicking a mouse + \a button with optional \a modifiers on an \a item. + + This method reproduces the sequence of mouse events generated when a user makes + a double click: Press-Release-Press-DoubleClick-Release. + + The position of the click is defined by \a x and \a y. + If \a x and \a y are not defined the position will be the center of \a item. + If \a delay is specified, the test will wait for the specified amount of + milliseconds before pressing and before releasing the button. + + The position given by \a x and \a y is transformed from the co-ordinate + system of \a item into window co-ordinates and then delivered. + If \a item is obscured by another item, or a child of \a item occupies + that position, then the event will be delivered to the other item instead. + + This QML method was introduced in Qt 5.5. + + \sa mousePress(), mouseRelease(), mouseClick(), mouseMove(), mouseDrag(), mouseWheel() + */ + function mouseDoubleClickSequence(item, x, y, button, modifiers, delay) { + if (!qtest_verifyItem(item, "mouseDoubleClickSequence")) + return + + if (button === undefined) + button = Qt.LeftButton + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (delay == undefined) + delay = -1 + if (x === undefined) + x = item.width / 2 + if (y === undefined) + y = item.height / 2 + if (!qtest_events.mouseDoubleClickSequence(item, x, y, button, modifiers, delay)) + qtest_fail("window not shown", 2) + } + + /*! + \qmlmethod TestCase::mouseMove(item, x, y, delay = -1) + + Moves the mouse pointer to the position given by \a x and \a y within + \a item. If a \a delay (in milliseconds) is given, the test will wait + before moving the mouse pointer. + + The position given by \a x and \a y is transformed from the co-ordinate + system of \a item into window co-ordinates and then delivered. + If \a item is obscured by another item, or a child of \a item occupies + that position, then the event will be delivered to the other item instead. + + \sa mousePress(), mouseRelease(), mouseClick(), mouseDoubleClickSequence(), mouseDrag(), mouseWheel() + */ + function mouseMove(item, x, y, delay, buttons) { + if (!qtest_verifyItem(item, "mouseMove")) + return + + if (delay == undefined) + delay = -1 + if (buttons == undefined) + buttons = Qt.NoButton + if (!qtest_events.mouseMove(item, x, y, delay, buttons)) + qtest_fail("window not shown", 2) + } + + /*! + \qmlmethod TestCase::mouseWheel(item, x, y, xDelta, yDelta, button = Qt.LeftButton, modifiers = Qt.NoModifier, delay = -1) + + Simulates rotating the mouse wheel on an \a item with \a button pressed and optional \a modifiers. + The position of the wheel event is defined by \a x and \a y. + If \a delay is specified, the test will wait for the specified amount of milliseconds before releasing the button. + + The position given by \a x and \a y is transformed from the co-ordinate + system of \a item into window co-ordinates and then delivered. + If \a item is obscured by another item, or a child of \a item occupies + that position, then the event will be delivered to the other item instead. + + The \a xDelta and \a yDelta contain the wheel rotation distance in eighths of a degree. see \l QWheelEvent::angleDelta() for more details. + + \sa mousePress(), mouseClick(), mouseDoubleClickSequence(), mouseMove(), mouseRelease(), mouseDrag(), QWheelEvent::angleDelta() + */ + function mouseWheel(item, x, y, xDelta, yDelta, buttons, modifiers, delay) { + if (!qtest_verifyItem(item, "mouseWheel")) + return + + if (delay == undefined) + delay = -1 + if (buttons == undefined) + buttons = Qt.NoButton + if (modifiers === undefined) + modifiers = Qt.NoModifier + if (xDelta == undefined) + xDelta = 0 + if (yDelta == undefined) + yDelta = 0 + if (!qtest_events.mouseWheel(item, x, y, buttons, modifiers, xDelta, yDelta, delay)) + qtest_fail("window not shown", 2) + } + + /*! + \qmlmethod TouchEventSequence TestCase::touchEvent(object item) + + \since 5.9 + + Begins a sequence of touch events through a simulated QTouchDevice::TouchScreen. + Events are delivered to the window containing \a item. + + The returned object is used to enumerate events to be delivered through a single + QTouchEvent. Touches are delivered to the window containing the TestCase unless + otherwise specified. + + \code + Rectangle { + width: 640; height: 480 + + MultiPointTouchArea { + id: area + anchors.fill: parent + + property bool touched: false + + onPressed: touched = true + } + + TestCase { + name: "ItemTests" + when: windowShown + id: test1 + + function test_touch() { + var touch = touchEvent(area); + touch.press(0, area, 10, 10); + touch.commit(); + verify(area.touched); + } + } + } + \endcode + + \sa TouchEventSequence::press(), TouchEventSequence::move(), TouchEventSequence::release(), TouchEventSequence::stationary(), TouchEventSequence::commit(), QTouchDevice::TouchScreen + */ + + function touchEvent(item) { + if (!qtest_verifyItem(item, "touchEvent")) + return + + return { + _defaultItem: item, + _sequence: qtest_events.touchEvent(item), + + press: function (id, target, x, y) { + if (!target) + target = this._defaultItem; + if (id === undefined) + qtest_fail("No id given to TouchEventSequence::press", 1); + if (x === undefined) + x = target.width / 2; + if (y === undefined) + y = target.height / 2; + this._sequence.press(id, target, x, y); + return this; + }, + + move: function (id, target, x, y) { + if (!target) + target = this._defaultItem; + if (id === undefined) + qtest_fail("No id given to TouchEventSequence::move", 1); + if (x === undefined) + x = target.width / 2; + if (y === undefined) + y = target.height / 2; + this._sequence.move(id, target, x, y); + return this; + }, + + stationary: function (id) { + if (id === undefined) + qtest_fail("No id given to TouchEventSequence::stationary", 1); + this._sequence.stationary(id); + return this; + }, + + release: function (id, target, x, y) { + if (!target) + target = this._defaultItem; + if (id === undefined) + qtest_fail("No id given to TouchEventSequence::release", 1); + if (x === undefined) + x = target.width / 2; + if (y === undefined) + y = target.height / 2; + this._sequence.release(id, target, x, y); + return this; + }, + + commit: function () { + this._sequence.commit(); + return this; + } + }; + } + + // Functions that can be overridden in subclasses for init/cleanup duties. + /*! + \qmlmethod TestCase::initTestCase() + + This function is called before any other test functions in the + \l TestCase type. The default implementation does nothing. + The application can provide its own implementation to perform + test case initialization. + + \sa cleanupTestCase(), init() + */ + function initTestCase() {} + + /*! + \qmlmethod TestCase::cleanupTestCase() + + This function is called after all other test functions in the + \l TestCase type have completed. The default implementation + does nothing. The application can provide its own implementation + to perform test case cleanup. + + \sa initTestCase(), cleanup() + */ + function cleanupTestCase() {} + + /*! + \qmlmethod TestCase::init() + + This function is called before each test function that is + executed in the \l TestCase type. The default implementation + does nothing. The application can provide its own implementation + to perform initialization before each test function. + + \sa cleanup(), initTestCase() + */ + function init() {} + + /*! + \qmlmethod TestCase::cleanup() + + This function is called after each test function that is + executed in the \l TestCase type. The default implementation + does nothing. The application can provide its own implementation + to perform cleanup after each test function. + + \sa init(), cleanupTestCase() + */ + function cleanup() {} + + /*! \internal */ + function qtest_verifyItem(item, method) { + try { + if (!(item instanceof Item) && + !(item instanceof Window)) { + // it's a QObject, but not a type + qtest_fail("TypeError: %1 requires an Item or Window type".arg(method), 2); + return false; + } + } catch (e) { // it's not a QObject + qtest_fail("TypeError: %1 requires an Item or Window type".arg(method), 3); + return false; + } + + return true; + } + + /*! \internal */ + function qtest_runInternal(prop, arg) { + try { + qtest_testCaseResult = testCase[prop](arg) + } catch (e) { + qtest_testCaseResult = [] + if (e.message.indexOf("QtQuickTest::") != 0) { + // Test threw an unrecognized exception - fail. + qtest_results.fail("Uncaught exception: " + e.message, + e.fileName, e.lineNumber) + } + } + return !qtest_results.failed + } + + /*! \internal */ + function qtest_runFunction(prop, arg) { + qtest_runInternal("init") + if (!qtest_results.skipped) { + qtest_runInternal(prop, arg) + qtest_results.finishTestData() + qtest_runInternal("cleanup") + qtest_destroyTemporaryObjects() + qtest_results.finishTestDataCleanup() + // wait(0) will call processEvents() so objects marked for deletion + // in the test function will be deleted. + wait(0) + } + } + + /*! \internal */ + function qtest_runBenchmarkFunction(prop, arg) { + qtest_results.startMeasurement() + do { + qtest_results.beginDataRun() + do { + // Run the initialization function. + qtest_runInternal("init") + if (qtest_results.skipped) + break + + // Execute the benchmark function. + if (prop.indexOf("benchmark_once_") != 0) + qtest_results.startBenchmark(TestResult.RepeatUntilValidMeasurement, qtest_results.dataTag) + else + qtest_results.startBenchmark(TestResult.RunOnce, qtest_results.dataTag) + while (!qtest_results.isBenchmarkDone()) { + var success = qtest_runInternal(prop, arg) + qtest_results.finishTestData() + if (!success) + break + qtest_results.nextBenchmark() + } + qtest_results.stopBenchmark() + + // Run the cleanup function. + qtest_runInternal("cleanup") + qtest_results.finishTestDataCleanup() + // wait(0) will call processEvents() so objects marked for deletion + // in the test function will be deleted. + wait(0) + } while (!qtest_results.measurementAccepted()) + qtest_results.endDataRun() + } while (qtest_results.needsMoreMeasurements()) + } + + /*! \internal */ + function qtest_run() { + if (TestLogger.log_start_test()) { + qtest_results.reset() + qtest_results.testCaseName = name + qtest_results.startLogging() + } else { + qtest_results.testCaseName = name + } + running = true + + // Check the run list to see if this class is mentioned. + let checkNames = false + let testsToRun = {} // explicitly provided function names to run and their tags for data-driven tests + + if (qtest_results.functionsToRun.length > 0) { + checkNames = true + var found = false + + if (name.length > 0) { + for (var index in qtest_results.functionsToRun) { + let caseFuncName = qtest_results.functionsToRun[index] + if (caseFuncName.indexOf(name + "::") != 0) + continue + + found = true + let funcName = caseFuncName.substring(name.length + 2) + + if (!(funcName in testsToRun)) + testsToRun[funcName] = [] + + let tagName = qtest_results.tagsToRun[index] + if (tagName.length > 0) // empty tags mean run all rows + testsToRun[funcName].push(tagName) + } + } + if (!found) { + completed = true + if (!TestLogger.log_complete_test(qtest_testId)) { + qtest_results.stopLogging() + Qt.quit() + } + qtest_results.testCaseName = "" + return + } + } + + // Run the initTestCase function. + qtest_results.functionName = "initTestCase" + var runTests = true + if (!qtest_runInternal("initTestCase")) + runTests = false + qtest_results.finishTestData() + qtest_results.finishTestDataCleanup() + qtest_results.finishTestFunction() + + // Run the test methods. + var testList = [] + if (runTests) { + for (var prop in testCase) { + if (prop.indexOf("test_") != 0 && prop.indexOf("benchmark_") != 0) + continue + var tail = prop.lastIndexOf("_data"); + if (tail != -1 && tail == (prop.length - 5)) + continue + testList.push(prop) + } + testList.sort() + } + + for (var index in testList) { + var prop = testList[index] + + if (checkNames && !(prop in testsToRun)) + continue + + var datafunc = prop + "_data" + var isBenchmark = (prop.indexOf("benchmark_") == 0) + qtest_results.functionName = prop + + if (!(datafunc in testCase)) + datafunc = "init_data"; + + if (datafunc in testCase) { + if (qtest_runInternal(datafunc)) { + var table = qtest_testCaseResult + var haveData = false + + let checkTags = (checkNames && testsToRun[prop].length > 0) + + qtest_results.initTestTable() + for (var index in table) { + haveData = true + var row = table[index] + if (!row.tag) + row.tag = "row " + index // Must have something + if (checkTags) { + let tags = testsToRun[prop] + let tagIdx = tags.indexOf(row.tag) + if (tagIdx < 0) + continue + tags.splice(tagIdx, 1) + } + qtest_results.dataTag = row.tag + if (isBenchmark) + qtest_runBenchmarkFunction(prop, row) + else + qtest_runFunction(prop, row) + qtest_results.dataTag = "" + qtest_results.skipped = false + } + if (!haveData) { + if (datafunc === "init_data") + qtest_runFunction(prop, null, isBenchmark) + else + qtest_results.warn("no data supplied for " + prop + "() by " + datafunc + "()" + , util.callerFile(), util.callerLine()); + } + qtest_results.clearTestTable() + } + } else if (isBenchmark) { + qtest_runBenchmarkFunction(prop, null, isBenchmark) + } else { + qtest_runFunction(prop, null, isBenchmark) + } + qtest_results.finishTestFunction() + qtest_results.skipped = false + + if (checkNames && testsToRun[prop].length <= 0) + delete testsToRun[prop] + } + + // Run the cleanupTestCase function. + qtest_results.skipped = false + qtest_results.functionName = "cleanupTestCase" + qtest_runInternal("cleanupTestCase") + + // Complain about missing functions that we were supposed to run. + if (checkNames) { + let missingTests = [] + for (var func in testsToRun) { + let caseFuncName = name + '::' + func + let tags = testsToRun[func] + if (tags.length <= 0) + missingTests.push(caseFuncName) + else + for (var i in tags) + missingTests.push(caseFuncName + ':' + tags[i]) + } + missingTests.sort() + if (missingTests.length > 0) + qtest_results.fail("Could not find test functions: " + missingTests, "", 0) + } + + // Clean up and exit. + running = false + completed = true + qtest_results.finishTestData() + qtest_results.finishTestDataCleanup() + qtest_results.finishTestFunction() + qtest_results.functionName = "" + + // Stop if there are no more tests to be run. + if (!TestLogger.log_complete_test(qtest_testId)) { + qtest_results.stopLogging() + Qt.quit() + } + qtest_results.testCaseName = "" + } + + onWhenChanged: { + if (when != qtest_prevWhen) { + qtest_prevWhen = when + if (when && !completed && !running && qtest_componentCompleted) + qtest_run() + } + } + + onOptionalChanged: { + if (!completed) { + if (optional) + TestLogger.log_optional_test(qtest_testId) + else + TestLogger.log_mandatory_test(qtest_testId) + } + } + + Component.onCompleted: { + QTestRootObject.hasTestCase = true; + qtest_componentCompleted = true; + qtest_testId = TestLogger.log_register_test(name) + if (optional) + TestLogger.log_optional_test(qtest_testId) + qtest_prevWhen = when + if (when && !completed && !running) + qtest_run() + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/plugins.qmltypes new file mode 100644 index 00000000..afa870bd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/plugins.qmltypes @@ -0,0 +1,368 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + dependencies: ["QtQuick 2.0", "QtQuick.Window 2.0"] + Component { + file: "quicktestevent_p.h" + name: "QQuickTouchEventSequence" + prototype: "QObject" + Method { + name: "press" + type: "QObject*" + Parameter { name: "touchId"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "move" + type: "QObject*" + Parameter { name: "touchId"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "release" + type: "QObject*" + Parameter { name: "touchId"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "stationary" + type: "QObject*" + Parameter { name: "touchId"; type: "int" } + } + Method { name: "commit"; type: "QObject*" } + } + Component { + file: "quicktestevent_p.h" + name: "QuickTestEvent" + prototype: "QObject" + exports: ["QtTest/TestEvent 1.0", "QtTest/TestEvent 1.2"] + exportMetaObjectRevisions: [0, 2] + Property { name: "defaultMouseDelay"; type: "int"; isReadonly: true } + Method { + name: "keyPress" + type: "bool" + Parameter { name: "key"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "keyRelease" + type: "bool" + Parameter { name: "key"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "keyClick" + type: "bool" + Parameter { name: "key"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "keyPressChar" + type: "bool" + Parameter { name: "character"; type: "string" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "keyReleaseChar" + type: "bool" + Parameter { name: "character"; type: "string" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "keyClickChar" + type: "bool" + Parameter { name: "character"; type: "string" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "keySequence" + revision: 2 + type: "bool" + Parameter { name: "keySequence"; type: "QVariant" } + } + Method { + name: "mousePress" + type: "bool" + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "button"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "mouseRelease" + type: "bool" + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "button"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "mouseClick" + type: "bool" + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "button"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "mouseDoubleClick" + type: "bool" + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "button"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "mouseDoubleClickSequence" + type: "bool" + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "button"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "mouseMove" + type: "bool" + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "delay"; type: "int" } + Parameter { name: "buttons"; type: "int" } + } + Method { + name: "mouseWheel" + type: "bool" + Parameter { name: "item"; type: "QObject"; isPointer: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "buttons"; type: "int" } + Parameter { name: "modifiers"; type: "int" } + Parameter { name: "xDelta"; type: "int" } + Parameter { name: "yDelta"; type: "int" } + Parameter { name: "delay"; type: "int" } + } + Method { + name: "touchEvent" + type: "QQuickTouchEventSequence*" + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { name: "touchEvent"; type: "QQuickTouchEventSequence*" } + } + Component { + file: "quicktestresultforeign_p.h" + name: "QuickTestResult" + prototype: "QObject" + exports: [ + "QtTest/TestResult 1.0", + "QtTest/TestResult 1.1", + "QtTest/TestResult 1.13" + ] + exportMetaObjectRevisions: [0, 1, 13] + Enum { + name: "RunMode" + values: ["RepeatUntilValidMeasurement", "RunOnce"] + } + Property { name: "testCaseName"; type: "string" } + Property { name: "functionName"; type: "string" } + Property { name: "dataTag"; type: "string" } + Property { name: "failed"; type: "bool"; isReadonly: true } + Property { name: "skipped"; type: "bool" } + Property { name: "passCount"; type: "int"; isReadonly: true } + Property { name: "failCount"; type: "int"; isReadonly: true } + Property { name: "skipCount"; type: "int"; isReadonly: true } + Property { name: "functionsToRun"; type: "QStringList"; isReadonly: true } + Property { name: "tagsToRun"; type: "QStringList"; isReadonly: true } + Signal { name: "programNameChanged" } + Method { name: "reset" } + Method { name: "startLogging" } + Method { name: "stopLogging" } + Method { name: "initTestTable" } + Method { name: "clearTestTable" } + Method { name: "finishTestData" } + Method { name: "finishTestDataCleanup" } + Method { name: "finishTestFunction" } + Method { + name: "stringify" + Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } + } + Method { + name: "fail" + Parameter { name: "message"; type: "string" } + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "line"; type: "int" } + } + Method { + name: "verify" + type: "bool" + Parameter { name: "success"; type: "bool" } + Parameter { name: "message"; type: "string" } + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "line"; type: "int" } + } + Method { + name: "compare" + type: "bool" + Parameter { name: "success"; type: "bool" } + Parameter { name: "message"; type: "string" } + Parameter { name: "val1"; type: "QVariant" } + Parameter { name: "val2"; type: "QVariant" } + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "line"; type: "int" } + } + Method { + name: "fuzzyCompare" + type: "bool" + Parameter { name: "actual"; type: "QVariant" } + Parameter { name: "expected"; type: "QVariant" } + Parameter { name: "delta"; type: "double" } + } + Method { + name: "skip" + Parameter { name: "message"; type: "string" } + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "line"; type: "int" } + } + Method { + name: "expectFail" + type: "bool" + Parameter { name: "tag"; type: "string" } + Parameter { name: "comment"; type: "string" } + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "line"; type: "int" } + } + Method { + name: "expectFailContinue" + type: "bool" + Parameter { name: "tag"; type: "string" } + Parameter { name: "comment"; type: "string" } + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "line"; type: "int" } + } + Method { + name: "warn" + Parameter { name: "message"; type: "string" } + Parameter { name: "location"; type: "QUrl" } + Parameter { name: "line"; type: "int" } + } + Method { + name: "ignoreWarning" + Parameter { name: "message"; type: "QJSValue" } + } + Method { + name: "wait" + Parameter { name: "ms"; type: "int" } + } + Method { + name: "sleep" + Parameter { name: "ms"; type: "int" } + } + Method { + name: "waitForRendering" + type: "bool" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + Parameter { name: "timeout"; type: "int" } + } + Method { + name: "waitForRendering" + type: "bool" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { name: "startMeasurement" } + Method { name: "beginDataRun" } + Method { name: "endDataRun" } + Method { name: "measurementAccepted"; type: "bool" } + Method { name: "needsMoreMeasurements"; type: "bool" } + Method { + name: "startBenchmark" + Parameter { name: "runMode"; type: "RunMode" } + Parameter { name: "tag"; type: "string" } + } + Method { name: "isBenchmarkDone"; type: "bool" } + Method { name: "nextBenchmark" } + Method { name: "stopBenchmark" } + Method { + name: "grabImage" + type: "QObject*" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "findChild" + revision: 1 + type: "QObject*" + Parameter { name: "parent"; type: "QObject"; isPointer: true } + Parameter { name: "objectName"; type: "string" } + } + Method { + name: "isPolishScheduled" + revision: 13 + type: "bool" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "waitForItemPolished" + revision: 13 + type: "bool" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + Parameter { name: "timeout"; type: "int" } + } + } + Component { + file: "quicktestutil_p.h" + name: "QuickTestUtil" + prototype: "QObject" + exports: ["QtTest/TestUtil 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "printAvailableFunctions"; type: "bool"; isReadonly: true } + Property { name: "dragThreshold"; type: "int"; isReadonly: true } + Method { + name: "typeName" + type: "QJSValue" + Parameter { name: "v"; type: "QVariant" } + } + Method { + name: "compare" + type: "bool" + Parameter { name: "act"; type: "QVariant" } + Parameter { name: "exp"; type: "QVariant" } + } + Method { + name: "callerFile" + type: "QJSValue" + Parameter { name: "frameIndex"; type: "int" } + } + Method { name: "callerFile"; type: "QJSValue" } + Method { + name: "callerLine" + type: "int" + Parameter { name: "frameIndex"; type: "int" } + } + Method { name: "callerLine"; type: "int" } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/qmldir new file mode 100644 index 00000000..be9039ab --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/qmldir @@ -0,0 +1,8 @@ +module QtTest +plugin qmltestplugin +classname QTestQmlModule +typeinfo plugins.qmltypes +TestCase 1.0 TestCase.qml +TestCase 1.2 TestCase.qml +SignalSpy 1.0 SignalSpy.qml +depends QtQuick.Window 2.0 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/qmltestplugin.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/qmltestplugin.dll new file mode 100644 index 00000000..d0e3388f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/qmltestplugin.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/testlogger.js b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/testlogger.js new file mode 100644 index 00000000..af6522c6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtTest/testlogger.js @@ -0,0 +1,96 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +.pragma library + +// We need a global place to store the results that can be +// shared between multiple TestCase instances. Because QML +// creates a separate scope for every inclusion of this file, +// we hijack the global "Qt" object to store our data. +function log_init_results() +{ + if (!Qt.testResults) { + Qt.testResults = { + reportedStart: false, + nextId: 0, + testCases: [] + } + } +} + +function log_register_test(name) +{ + log_init_results() + var testId = Qt.testResults.nextId++ + Qt.testResults.testCases.push(testId) + return testId +} + +function log_optional_test(testId) +{ + log_init_results() + var index = Qt.testResults.testCases.indexOf(testId) + if (index >= 0) + Qt.testResults.testCases.splice(index, 1) +} + +function log_mandatory_test(testId) +{ + log_init_results() + var index = Qt.testResults.testCases.indexOf(testId) + if (index == -1) + Qt.testResults.testCases.push(testId) +} + +function log_start_test() +{ + log_init_results() + if (Qt.testResults.reportedStart) + return false + Qt.testResults.reportedStart = true + return true +} + +function log_complete_test(testId) +{ + var index = Qt.testResults.testCases.indexOf(testId) + if (index >= 0) + Qt.testResults.testCases.splice(index, 1) + return Qt.testResults.testCases.length > 0 +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/declarative_webchannel.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/declarative_webchannel.dll new file mode 100644 index 00000000..5fc9085e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/declarative_webchannel.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/plugins.qmltypes new file mode 100644 index 00000000..68378d6e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/plugins.qmltypes @@ -0,0 +1,67 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtWebChannel 1.15' + +Module { + dependencies: [] + Component { + name: "QQmlWebChannel" + prototype: "QWebChannel" + exports: ["QtWebChannel/WebChannel 1.0"] + exportMetaObjectRevisions: [0] + attachedType: "QQmlWebChannelAttached" + Property { name: "transports"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "registeredObjects"; type: "QObject"; isList: true; isReadonly: true } + Method { + name: "registerObjects" + Parameter { name: "objects"; type: "QVariantMap" } + } + Method { + name: "connectTo" + Parameter { name: "transport"; type: "QObject"; isPointer: true } + } + Method { + name: "disconnectFrom" + Parameter { name: "transport"; type: "QObject"; isPointer: true } + } + } + Component { + name: "QQmlWebChannelAttached" + prototype: "QObject" + Property { name: "id"; type: "string" } + Signal { + name: "idChanged" + Parameter { name: "id"; type: "string" } + } + } + Component { + name: "QWebChannel" + prototype: "QObject" + Property { name: "blockUpdates"; type: "bool" } + Signal { + name: "blockUpdatesChanged" + Parameter { name: "block"; type: "bool" } + } + Method { + name: "connectTo" + Parameter { name: "transport"; type: "QWebChannelAbstractTransport"; isPointer: true } + } + Method { + name: "disconnectFrom" + Parameter { name: "transport"; type: "QWebChannelAbstractTransport"; isPointer: true } + } + Method { + name: "registerObject" + Parameter { name: "id"; type: "string" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "deregisterObject" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/qmldir new file mode 100644 index 00000000..c521f2f4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebChannel/qmldir @@ -0,0 +1,4 @@ +module QtWebChannel +classname QWebChannelPlugin +plugin declarative_webchannel +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/declarative_qmlwebsockets.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/declarative_qmlwebsockets.dll new file mode 100644 index 00000000..c988fef5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/declarative_qmlwebsockets.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/plugins.qmltypes new file mode 100644 index 00000000..cabe5a27 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/plugins.qmltypes @@ -0,0 +1,108 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtWebSockets 1.15' + +Module { + dependencies: [] + Component { + name: "QQmlWebSocket" + prototype: "QObject" + exports: ["QtWebSockets/WebSocket 1.0", "QtWebSockets/WebSocket 1.1"] + exportMetaObjectRevisions: [0, 1] + Enum { + name: "Status" + values: { + "Connecting": 0, + "Open": 1, + "Closing": 2, + "Closed": 3, + "Error": 4 + } + } + Property { name: "url"; type: "QUrl" } + Property { name: "status"; type: "Status"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "active"; type: "bool" } + Signal { + name: "textMessageReceived" + Parameter { name: "message"; type: "string" } + } + Signal { + name: "binaryMessageReceived" + revision: 1 + Parameter { name: "message"; type: "QByteArray" } + } + Signal { + name: "statusChanged" + Parameter { name: "status"; type: "QQmlWebSocket::Status" } + } + Signal { + name: "activeChanged" + Parameter { name: "isActive"; type: "bool" } + } + Signal { + name: "errorStringChanged" + Parameter { name: "errorString"; type: "string" } + } + Method { + name: "sendTextMessage" + type: "qlonglong" + Parameter { name: "message"; type: "string" } + } + Method { + name: "sendBinaryMessage" + revision: 1 + type: "qlonglong" + Parameter { name: "message"; type: "QByteArray" } + } + } + Component { + name: "QQmlWebSocketServer" + prototype: "QObject" + exports: ["QtWebSockets/WebSocketServer 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "url"; type: "QUrl"; isReadonly: true } + Property { name: "host"; type: "string" } + Property { name: "port"; type: "int" } + Property { name: "name"; type: "string" } + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "listen"; type: "bool" } + Property { name: "accept"; type: "bool" } + Signal { + name: "clientConnected" + Parameter { name: "webSocket"; type: "QQmlWebSocket"; isPointer: true } + } + Signal { + name: "errorStringChanged" + Parameter { name: "errorString"; type: "string" } + } + Signal { + name: "urlChanged" + Parameter { name: "url"; type: "QUrl" } + } + Signal { + name: "portChanged" + Parameter { name: "port"; type: "int" } + } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "string" } + } + Signal { + name: "hostChanged" + Parameter { name: "host"; type: "string" } + } + Signal { + name: "listenChanged" + Parameter { name: "listen"; type: "bool" } + } + Signal { + name: "acceptChanged" + Parameter { name: "accept"; type: "bool" } + } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/qmldir new file mode 100644 index 00000000..130b79f7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebSockets/qmldir @@ -0,0 +1,4 @@ +module QtWebSockets +plugin declarative_qmlwebsockets +classname QtWebSocketsDeclarativeModule +typeinfo plugins.qmltypes diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/declarative_webview.dll b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/declarative_webview.dll new file mode 100644 index 00000000..658911e3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/declarative_webview.dll differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/plugins.qmltypes b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/plugins.qmltypes new file mode 100644 index 00000000..945610e0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/plugins.qmltypes @@ -0,0 +1,90 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtWebView 1.14' + +Module { + dependencies: ["QtQuick 2.0"] + Component { + name: "QQuickViewController" + defaultProperty: "data" + prototype: "QQuickItem" + Method { + name: "onWindowChanged" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Method { name: "onVisibleChanged" } + } + Component { + name: "QQuickWebView" + defaultProperty: "data" + prototype: "QQuickViewController" + exports: [ + "QtWebView/WebView 1.0", + "QtWebView/WebView 1.1", + "QtWebView/WebView 1.14" + ] + exportMetaObjectRevisions: [0, 1, 14] + Enum { + name: "LoadStatus" + values: { + "LoadStartedStatus": 0, + "LoadStoppedStatus": 1, + "LoadSucceededStatus": 2, + "LoadFailedStatus": 3 + } + } + Property { name: "httpUserAgent"; revision: 14; type: "string" } + Property { name: "url"; type: "QUrl" } + Property { name: "loading"; revision: 1; type: "bool"; isReadonly: true } + Property { name: "loadProgress"; type: "int"; isReadonly: true } + Property { name: "title"; type: "string"; isReadonly: true } + Property { name: "canGoBack"; type: "bool"; isReadonly: true } + Property { name: "canGoForward"; type: "bool"; isReadonly: true } + Signal { + name: "loadingChanged" + revision: 1 + Parameter { name: "loadRequest"; type: "QQuickWebViewLoadRequest"; isPointer: true } + } + Signal { name: "httpUserAgentChanged"; revision: 14 } + Method { name: "goBack" } + Method { name: "goForward" } + Method { name: "reload" } + Method { name: "stop" } + Method { + name: "loadHtml" + revision: 1 + Parameter { name: "html"; type: "string" } + Parameter { name: "baseUrl"; type: "QUrl" } + } + Method { + name: "loadHtml" + revision: 1 + Parameter { name: "html"; type: "string" } + } + Method { + name: "runJavaScript" + revision: 1 + Parameter { name: "script"; type: "string" } + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "runJavaScript" + revision: 1 + Parameter { name: "script"; type: "string" } + } + } + Component { + name: "QQuickWebViewLoadRequest" + prototype: "QObject" + exports: ["QtWebView/WebViewLoadRequest 1.1"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "url"; type: "QUrl"; isReadonly: true } + Property { name: "status"; type: "QQuickWebView::LoadStatus"; isReadonly: true } + Property { name: "errorString"; type: "string"; isReadonly: true } + } +} diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/qmldir b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/qmldir new file mode 100644 index 00000000..25023503 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qml/QtWebView/qmldir @@ -0,0 +1,5 @@ +module QtWebView +plugin declarative_webview +typeinfo plugins.qmltypes +classname QWebViewModule +depends QtWebEngine 1.0 diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/qsci/api/python/PyQt5.api b/OTHERS/Jarvis/ools/PyQt5/Qt5/qsci/api/python/PyQt5.api new file mode 100644 index 00000000..30f18da4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/qsci/api/python/PyQt5.api @@ -0,0 +1,32940 @@ +QtCore.QtMsgType?10 +QtCore.QtMsgType.QtDebugMsg?10 +QtCore.QtMsgType.QtWarningMsg?10 +QtCore.QtMsgType.QtCriticalMsg?10 +QtCore.QtMsgType.QtFatalMsg?10 +QtCore.QtMsgType.QtSystemMsg?10 +QtCore.QtMsgType.QtInfoMsg?10 +QtCore.QCborKnownTags?10 +QtCore.QCborKnownTags.DateTimeString?10 +QtCore.QCborKnownTags.UnixTime_t?10 +QtCore.QCborKnownTags.PositiveBignum?10 +QtCore.QCborKnownTags.NegativeBignum?10 +QtCore.QCborKnownTags.Decimal?10 +QtCore.QCborKnownTags.Bigfloat?10 +QtCore.QCborKnownTags.COSE_Encrypt0?10 +QtCore.QCborKnownTags.COSE_Mac0?10 +QtCore.QCborKnownTags.COSE_Sign1?10 +QtCore.QCborKnownTags.ExpectedBase64url?10 +QtCore.QCborKnownTags.ExpectedBase64?10 +QtCore.QCborKnownTags.ExpectedBase16?10 +QtCore.QCborKnownTags.EncodedCbor?10 +QtCore.QCborKnownTags.Url?10 +QtCore.QCborKnownTags.Base64url?10 +QtCore.QCborKnownTags.Base64?10 +QtCore.QCborKnownTags.RegularExpression?10 +QtCore.QCborKnownTags.MimeMessage?10 +QtCore.QCborKnownTags.Uuid?10 +QtCore.QCborKnownTags.COSE_Encrypt?10 +QtCore.QCborKnownTags.COSE_Mac?10 +QtCore.QCborKnownTags.COSE_Sign?10 +QtCore.QCborKnownTags.Signature?10 +QtCore.QCborSimpleType?10 +QtCore.QCborSimpleType.False_?10 +QtCore.QCborSimpleType.True_?10 +QtCore.QCborSimpleType.Null?10 +QtCore.QCborSimpleType.Undefined?10 +QtCore.PYQT_VERSION?7 +QtCore.PYQT_VERSION_STR?7 +QtCore.QT_VERSION?7 +QtCore.QT_VERSION_STR?7 +QtCore.qAbs?4(float) -> float +QtCore.qRound?4(float) -> int +QtCore.qRound64?4(float) -> int +QtCore.qVersion?4() -> str +QtCore.qSharedBuild?4() -> bool +QtCore.qRegisterResourceData?4(int, bytes, bytes, bytes) -> bool +QtCore.qUnregisterResourceData?4(int, bytes, bytes, bytes) -> bool +QtCore.qFuzzyCompare?4(float, float) -> bool +QtCore.qIsNull?4(float) -> bool +QtCore.qsrand?4(int) +QtCore.qrand?4() -> int +QtCore.pyqtSetPickleProtocol?4(object) +QtCore.pyqtPickleProtocol?4() -> object +QtCore.qEnvironmentVariable?4(str) -> QString +QtCore.qEnvironmentVariable?4(str, QString) -> QString +QtCore.qCompress?4(QByteArray, int compressionLevel=-1) -> QByteArray +QtCore.qUncompress?4(QByteArray) -> QByteArray +QtCore.qChecksum?4(bytes) -> int +QtCore.qChecksum?4(bytes, Qt.ChecksumType) -> int +QtCore.qAddPostRoutine?4(callable) +QtCore.qRemovePostRoutine?4(callable) +QtCore.qAddPreRoutine?4(callable) +QtCore.pyqtRemoveInputHook?4() +QtCore.pyqtRestoreInputHook?4() +QtCore.qCritical?4(str) +QtCore.qDebug?4(str) +QtCore.qErrnoWarning?4(int, str) +QtCore.qErrnoWarning?4(str) +QtCore.qFatal?4(str) +QtCore.qInfo?4(str) +QtCore.qWarning?4(str) +QtCore.qInstallMessageHandler?4(callable) -> callable +QtCore.qSetMessagePattern?4(QString) +QtCore.qFormatLogMessage?4(QtMsgType, QMessageLogContext, QString) -> QString +QtCore.qIsInf?4(float) -> bool +QtCore.qIsFinite?4(float) -> bool +QtCore.qIsNaN?4(float) -> bool +QtCore.qInf?4() -> float +QtCore.qSNaN?4() -> float +QtCore.qQNaN?4() -> float +QtCore.qFloatDistance?4(float, float) -> int +QtCore.Q_CLASSINFO?4(str, str) -> object +QtCore.Q_ENUM?4(object) -> object +QtCore.Q_ENUMS?4(...) -> object +QtCore.Q_FLAG?4(object) -> object +QtCore.Q_FLAGS?4(...) -> object +QtCore.QT_TR_NOOP?4(object) -> object +QtCore.QT_TR_NOOP_UTF8?4(object) -> object +QtCore.QT_TRANSLATE_NOOP?4(object, object) -> object +QtCore.pyqtSlot?4(..., str name=None, str result=None) -> object +QtCore.Q_ARG?4(object, object) -> object +QtCore.Q_RETURN_ARG?4(object) -> object +QtCore.bin_?4(QTextStream) -> QTextStream +QtCore.oct_?4(QTextStream) -> QTextStream +QtCore.dec?4(QTextStream) -> QTextStream +QtCore.hex_?4(QTextStream) -> QTextStream +QtCore.showbase?4(QTextStream) -> QTextStream +QtCore.forcesign?4(QTextStream) -> QTextStream +QtCore.forcepoint?4(QTextStream) -> QTextStream +QtCore.noshowbase?4(QTextStream) -> QTextStream +QtCore.noforcesign?4(QTextStream) -> QTextStream +QtCore.noforcepoint?4(QTextStream) -> QTextStream +QtCore.uppercasebase?4(QTextStream) -> QTextStream +QtCore.uppercasedigits?4(QTextStream) -> QTextStream +QtCore.lowercasebase?4(QTextStream) -> QTextStream +QtCore.lowercasedigits?4(QTextStream) -> QTextStream +QtCore.fixed?4(QTextStream) -> QTextStream +QtCore.scientific?4(QTextStream) -> QTextStream +QtCore.left?4(QTextStream) -> QTextStream +QtCore.right?4(QTextStream) -> QTextStream +QtCore.center?4(QTextStream) -> QTextStream +QtCore.endl?4(QTextStream) -> QTextStream +QtCore.flush?4(QTextStream) -> QTextStream +QtCore.reset?4(QTextStream) -> QTextStream +QtCore.bom?4(QTextStream) -> QTextStream +QtCore.ws?4(QTextStream) -> QTextStream +QtCore.qSetFieldWidth?4(int) -> QTextStreamManipulator +QtCore.qSetPadChar?4(QChar) -> QTextStreamManipulator +QtCore.qSetRealNumberPrecision?4(int) -> QTextStreamManipulator +QtCore.Qt.HighDpiScaleFactorRoundingPolicy?10 +QtCore.Qt.HighDpiScaleFactorRoundingPolicy.Round?10 +QtCore.Qt.HighDpiScaleFactorRoundingPolicy.Ceil?10 +QtCore.Qt.HighDpiScaleFactorRoundingPolicy.Floor?10 +QtCore.Qt.HighDpiScaleFactorRoundingPolicy.RoundPreferFloor?10 +QtCore.Qt.HighDpiScaleFactorRoundingPolicy.PassThrough?10 +QtCore.Qt.ChecksumType?10 +QtCore.Qt.ChecksumType.ChecksumIso3309?10 +QtCore.Qt.ChecksumType.ChecksumItuV41?10 +QtCore.Qt.EnterKeyType?10 +QtCore.Qt.EnterKeyType.EnterKeyDefault?10 +QtCore.Qt.EnterKeyType.EnterKeyReturn?10 +QtCore.Qt.EnterKeyType.EnterKeyDone?10 +QtCore.Qt.EnterKeyType.EnterKeyGo?10 +QtCore.Qt.EnterKeyType.EnterKeySend?10 +QtCore.Qt.EnterKeyType.EnterKeySearch?10 +QtCore.Qt.EnterKeyType.EnterKeyNext?10 +QtCore.Qt.EnterKeyType.EnterKeyPrevious?10 +QtCore.Qt.ItemSelectionOperation?10 +QtCore.Qt.ItemSelectionOperation.ReplaceSelection?10 +QtCore.Qt.ItemSelectionOperation.AddToSelection?10 +QtCore.Qt.TabFocusBehavior?10 +QtCore.Qt.TabFocusBehavior.NoTabFocus?10 +QtCore.Qt.TabFocusBehavior.TabFocusTextControls?10 +QtCore.Qt.TabFocusBehavior.TabFocusListControls?10 +QtCore.Qt.TabFocusBehavior.TabFocusAllControls?10 +QtCore.Qt.MouseEventFlag?10 +QtCore.Qt.MouseEventFlag.MouseEventCreatedDoubleClick?10 +QtCore.Qt.MouseEventSource?10 +QtCore.Qt.MouseEventSource.MouseEventNotSynthesized?10 +QtCore.Qt.MouseEventSource.MouseEventSynthesizedBySystem?10 +QtCore.Qt.MouseEventSource.MouseEventSynthesizedByQt?10 +QtCore.Qt.MouseEventSource.MouseEventSynthesizedByApplication?10 +QtCore.Qt.ScrollPhase?10 +QtCore.Qt.ScrollPhase.ScrollBegin?10 +QtCore.Qt.ScrollPhase.ScrollUpdate?10 +QtCore.Qt.ScrollPhase.ScrollEnd?10 +QtCore.Qt.ScrollPhase.NoScrollPhase?10 +QtCore.Qt.ScrollPhase.ScrollMomentum?10 +QtCore.Qt.NativeGestureType?10 +QtCore.Qt.NativeGestureType.BeginNativeGesture?10 +QtCore.Qt.NativeGestureType.EndNativeGesture?10 +QtCore.Qt.NativeGestureType.PanNativeGesture?10 +QtCore.Qt.NativeGestureType.ZoomNativeGesture?10 +QtCore.Qt.NativeGestureType.SmartZoomNativeGesture?10 +QtCore.Qt.NativeGestureType.RotateNativeGesture?10 +QtCore.Qt.NativeGestureType.SwipeNativeGesture?10 +QtCore.Qt.Edge?10 +QtCore.Qt.Edge.TopEdge?10 +QtCore.Qt.Edge.LeftEdge?10 +QtCore.Qt.Edge.RightEdge?10 +QtCore.Qt.Edge.BottomEdge?10 +QtCore.Qt.ApplicationState?10 +QtCore.Qt.ApplicationState.ApplicationSuspended?10 +QtCore.Qt.ApplicationState.ApplicationHidden?10 +QtCore.Qt.ApplicationState.ApplicationInactive?10 +QtCore.Qt.ApplicationState.ApplicationActive?10 +QtCore.Qt.HitTestAccuracy?10 +QtCore.Qt.HitTestAccuracy.ExactHit?10 +QtCore.Qt.HitTestAccuracy.FuzzyHit?10 +QtCore.Qt.WhiteSpaceMode?10 +QtCore.Qt.WhiteSpaceMode.WhiteSpaceNormal?10 +QtCore.Qt.WhiteSpaceMode.WhiteSpacePre?10 +QtCore.Qt.WhiteSpaceMode.WhiteSpaceNoWrap?10 +QtCore.Qt.WhiteSpaceMode.WhiteSpaceModeUndefined?10 +QtCore.Qt.FindChildOption?10 +QtCore.Qt.FindChildOption.FindDirectChildrenOnly?10 +QtCore.Qt.FindChildOption.FindChildrenRecursively?10 +QtCore.Qt.ScreenOrientation?10 +QtCore.Qt.ScreenOrientation.PrimaryOrientation?10 +QtCore.Qt.ScreenOrientation.PortraitOrientation?10 +QtCore.Qt.ScreenOrientation.LandscapeOrientation?10 +QtCore.Qt.ScreenOrientation.InvertedPortraitOrientation?10 +QtCore.Qt.ScreenOrientation.InvertedLandscapeOrientation?10 +QtCore.Qt.CursorMoveStyle?10 +QtCore.Qt.CursorMoveStyle.LogicalMoveStyle?10 +QtCore.Qt.CursorMoveStyle.VisualMoveStyle?10 +QtCore.Qt.NavigationMode?10 +QtCore.Qt.NavigationMode.NavigationModeNone?10 +QtCore.Qt.NavigationMode.NavigationModeKeypadTabOrder?10 +QtCore.Qt.NavigationMode.NavigationModeKeypadDirectional?10 +QtCore.Qt.NavigationMode.NavigationModeCursorAuto?10 +QtCore.Qt.NavigationMode.NavigationModeCursorForceVisible?10 +QtCore.Qt.GestureFlag?10 +QtCore.Qt.GestureFlag.DontStartGestureOnChildren?10 +QtCore.Qt.GestureFlag.ReceivePartialGestures?10 +QtCore.Qt.GestureFlag.IgnoredGesturesPropagateToParent?10 +QtCore.Qt.GestureType?10 +QtCore.Qt.GestureType.TapGesture?10 +QtCore.Qt.GestureType.TapAndHoldGesture?10 +QtCore.Qt.GestureType.PanGesture?10 +QtCore.Qt.GestureType.PinchGesture?10 +QtCore.Qt.GestureType.SwipeGesture?10 +QtCore.Qt.GestureType.CustomGesture?10 +QtCore.Qt.GestureState?10 +QtCore.Qt.GestureState.GestureStarted?10 +QtCore.Qt.GestureState.GestureUpdated?10 +QtCore.Qt.GestureState.GestureFinished?10 +QtCore.Qt.GestureState.GestureCanceled?10 +QtCore.Qt.TouchPointState?10 +QtCore.Qt.TouchPointState.TouchPointPressed?10 +QtCore.Qt.TouchPointState.TouchPointMoved?10 +QtCore.Qt.TouchPointState.TouchPointStationary?10 +QtCore.Qt.TouchPointState.TouchPointReleased?10 +QtCore.Qt.CoordinateSystem?10 +QtCore.Qt.CoordinateSystem.DeviceCoordinates?10 +QtCore.Qt.CoordinateSystem.LogicalCoordinates?10 +QtCore.Qt.AnchorPoint?10 +QtCore.Qt.AnchorPoint.AnchorLeft?10 +QtCore.Qt.AnchorPoint.AnchorHorizontalCenter?10 +QtCore.Qt.AnchorPoint.AnchorRight?10 +QtCore.Qt.AnchorPoint.AnchorTop?10 +QtCore.Qt.AnchorPoint.AnchorVerticalCenter?10 +QtCore.Qt.AnchorPoint.AnchorBottom?10 +QtCore.Qt.InputMethodHint?10 +QtCore.Qt.InputMethodHint.ImhNone?10 +QtCore.Qt.InputMethodHint.ImhHiddenText?10 +QtCore.Qt.InputMethodHint.ImhNoAutoUppercase?10 +QtCore.Qt.InputMethodHint.ImhPreferNumbers?10 +QtCore.Qt.InputMethodHint.ImhPreferUppercase?10 +QtCore.Qt.InputMethodHint.ImhPreferLowercase?10 +QtCore.Qt.InputMethodHint.ImhNoPredictiveText?10 +QtCore.Qt.InputMethodHint.ImhDigitsOnly?10 +QtCore.Qt.InputMethodHint.ImhFormattedNumbersOnly?10 +QtCore.Qt.InputMethodHint.ImhUppercaseOnly?10 +QtCore.Qt.InputMethodHint.ImhLowercaseOnly?10 +QtCore.Qt.InputMethodHint.ImhDialableCharactersOnly?10 +QtCore.Qt.InputMethodHint.ImhEmailCharactersOnly?10 +QtCore.Qt.InputMethodHint.ImhUrlCharactersOnly?10 +QtCore.Qt.InputMethodHint.ImhExclusiveInputMask?10 +QtCore.Qt.InputMethodHint.ImhSensitiveData?10 +QtCore.Qt.InputMethodHint.ImhDate?10 +QtCore.Qt.InputMethodHint.ImhTime?10 +QtCore.Qt.InputMethodHint.ImhPreferLatin?10 +QtCore.Qt.InputMethodHint.ImhLatinOnly?10 +QtCore.Qt.InputMethodHint.ImhMultiLine?10 +QtCore.Qt.InputMethodHint.ImhNoEditMenu?10 +QtCore.Qt.InputMethodHint.ImhNoTextHandles?10 +QtCore.Qt.TileRule?10 +QtCore.Qt.TileRule.StretchTile?10 +QtCore.Qt.TileRule.RepeatTile?10 +QtCore.Qt.TileRule.RoundTile?10 +QtCore.Qt.WindowFrameSection?10 +QtCore.Qt.WindowFrameSection.NoSection?10 +QtCore.Qt.WindowFrameSection.LeftSection?10 +QtCore.Qt.WindowFrameSection.TopLeftSection?10 +QtCore.Qt.WindowFrameSection.TopSection?10 +QtCore.Qt.WindowFrameSection.TopRightSection?10 +QtCore.Qt.WindowFrameSection.RightSection?10 +QtCore.Qt.WindowFrameSection.BottomRightSection?10 +QtCore.Qt.WindowFrameSection.BottomSection?10 +QtCore.Qt.WindowFrameSection.BottomLeftSection?10 +QtCore.Qt.WindowFrameSection.TitleBarArea?10 +QtCore.Qt.SizeHint?10 +QtCore.Qt.SizeHint.MinimumSize?10 +QtCore.Qt.SizeHint.PreferredSize?10 +QtCore.Qt.SizeHint.MaximumSize?10 +QtCore.Qt.SizeHint.MinimumDescent?10 +QtCore.Qt.SizeMode?10 +QtCore.Qt.SizeMode.AbsoluteSize?10 +QtCore.Qt.SizeMode.RelativeSize?10 +QtCore.Qt.EventPriority?10 +QtCore.Qt.EventPriority.HighEventPriority?10 +QtCore.Qt.EventPriority.NormalEventPriority?10 +QtCore.Qt.EventPriority.LowEventPriority?10 +QtCore.Qt.Axis?10 +QtCore.Qt.Axis.XAxis?10 +QtCore.Qt.Axis.YAxis?10 +QtCore.Qt.Axis.ZAxis?10 +QtCore.Qt.MaskMode?10 +QtCore.Qt.MaskMode.MaskInColor?10 +QtCore.Qt.MaskMode.MaskOutColor?10 +QtCore.Qt.TextInteractionFlag?10 +QtCore.Qt.TextInteractionFlag.NoTextInteraction?10 +QtCore.Qt.TextInteractionFlag.TextSelectableByMouse?10 +QtCore.Qt.TextInteractionFlag.TextSelectableByKeyboard?10 +QtCore.Qt.TextInteractionFlag.LinksAccessibleByMouse?10 +QtCore.Qt.TextInteractionFlag.LinksAccessibleByKeyboard?10 +QtCore.Qt.TextInteractionFlag.TextEditable?10 +QtCore.Qt.TextInteractionFlag.TextEditorInteraction?10 +QtCore.Qt.TextInteractionFlag.TextBrowserInteraction?10 +QtCore.Qt.ItemSelectionMode?10 +QtCore.Qt.ItemSelectionMode.ContainsItemShape?10 +QtCore.Qt.ItemSelectionMode.IntersectsItemShape?10 +QtCore.Qt.ItemSelectionMode.ContainsItemBoundingRect?10 +QtCore.Qt.ItemSelectionMode.IntersectsItemBoundingRect?10 +QtCore.Qt.ApplicationAttribute?10 +QtCore.Qt.ApplicationAttribute.AA_ImmediateWidgetCreation?10 +QtCore.Qt.ApplicationAttribute.AA_MSWindowsUseDirect3DByDefault?10 +QtCore.Qt.ApplicationAttribute.AA_DontShowIconsInMenus?10 +QtCore.Qt.ApplicationAttribute.AA_NativeWindows?10 +QtCore.Qt.ApplicationAttribute.AA_DontCreateNativeWidgetSiblings?10 +QtCore.Qt.ApplicationAttribute.AA_MacPluginApplication?10 +QtCore.Qt.ApplicationAttribute.AA_DontUseNativeMenuBar?10 +QtCore.Qt.ApplicationAttribute.AA_MacDontSwapCtrlAndMeta?10 +QtCore.Qt.ApplicationAttribute.AA_X11InitThreads?10 +QtCore.Qt.ApplicationAttribute.AA_Use96Dpi?10 +QtCore.Qt.ApplicationAttribute.AA_SynthesizeTouchForUnhandledMouseEvents?10 +QtCore.Qt.ApplicationAttribute.AA_SynthesizeMouseForUnhandledTouchEvents?10 +QtCore.Qt.ApplicationAttribute.AA_UseHighDpiPixmaps?10 +QtCore.Qt.ApplicationAttribute.AA_ForceRasterWidgets?10 +QtCore.Qt.ApplicationAttribute.AA_UseDesktopOpenGL?10 +QtCore.Qt.ApplicationAttribute.AA_UseOpenGLES?10 +QtCore.Qt.ApplicationAttribute.AA_UseSoftwareOpenGL?10 +QtCore.Qt.ApplicationAttribute.AA_ShareOpenGLContexts?10 +QtCore.Qt.ApplicationAttribute.AA_SetPalette?10 +QtCore.Qt.ApplicationAttribute.AA_EnableHighDpiScaling?10 +QtCore.Qt.ApplicationAttribute.AA_DisableHighDpiScaling?10 +QtCore.Qt.ApplicationAttribute.AA_PluginApplication?10 +QtCore.Qt.ApplicationAttribute.AA_UseStyleSheetPropagationInWidgetStyles?10 +QtCore.Qt.ApplicationAttribute.AA_DontUseNativeDialogs?10 +QtCore.Qt.ApplicationAttribute.AA_SynthesizeMouseForUnhandledTabletEvents?10 +QtCore.Qt.ApplicationAttribute.AA_CompressHighFrequencyEvents?10 +QtCore.Qt.ApplicationAttribute.AA_DontCheckOpenGLContextThreadAffinity?10 +QtCore.Qt.ApplicationAttribute.AA_DisableShaderDiskCache?10 +QtCore.Qt.ApplicationAttribute.AA_DontShowShortcutsInContextMenus?10 +QtCore.Qt.ApplicationAttribute.AA_CompressTabletEvents?10 +QtCore.Qt.ApplicationAttribute.AA_DisableWindowContextHelpButton?10 +QtCore.Qt.ApplicationAttribute.AA_DisableSessionManager?10 +QtCore.Qt.ApplicationAttribute.AA_DisableNativeVirtualKeyboard?10 +QtCore.Qt.WindowModality?10 +QtCore.Qt.WindowModality.NonModal?10 +QtCore.Qt.WindowModality.WindowModal?10 +QtCore.Qt.WindowModality.ApplicationModal?10 +QtCore.Qt.MatchFlag?10 +QtCore.Qt.MatchFlag.MatchExactly?10 +QtCore.Qt.MatchFlag.MatchFixedString?10 +QtCore.Qt.MatchFlag.MatchContains?10 +QtCore.Qt.MatchFlag.MatchStartsWith?10 +QtCore.Qt.MatchFlag.MatchEndsWith?10 +QtCore.Qt.MatchFlag.MatchRegExp?10 +QtCore.Qt.MatchFlag.MatchWildcard?10 +QtCore.Qt.MatchFlag.MatchCaseSensitive?10 +QtCore.Qt.MatchFlag.MatchWrap?10 +QtCore.Qt.MatchFlag.MatchRecursive?10 +QtCore.Qt.MatchFlag.MatchRegularExpression?10 +QtCore.Qt.ItemFlag?10 +QtCore.Qt.ItemFlag.NoItemFlags?10 +QtCore.Qt.ItemFlag.ItemIsSelectable?10 +QtCore.Qt.ItemFlag.ItemIsEditable?10 +QtCore.Qt.ItemFlag.ItemIsDragEnabled?10 +QtCore.Qt.ItemFlag.ItemIsDropEnabled?10 +QtCore.Qt.ItemFlag.ItemIsUserCheckable?10 +QtCore.Qt.ItemFlag.ItemIsEnabled?10 +QtCore.Qt.ItemFlag.ItemIsTristate?10 +QtCore.Qt.ItemFlag.ItemNeverHasChildren?10 +QtCore.Qt.ItemFlag.ItemIsUserTristate?10 +QtCore.Qt.ItemFlag.ItemIsAutoTristate?10 +QtCore.Qt.ItemDataRole?10 +QtCore.Qt.ItemDataRole.DisplayRole?10 +QtCore.Qt.ItemDataRole.DecorationRole?10 +QtCore.Qt.ItemDataRole.EditRole?10 +QtCore.Qt.ItemDataRole.ToolTipRole?10 +QtCore.Qt.ItemDataRole.StatusTipRole?10 +QtCore.Qt.ItemDataRole.WhatsThisRole?10 +QtCore.Qt.ItemDataRole.FontRole?10 +QtCore.Qt.ItemDataRole.TextAlignmentRole?10 +QtCore.Qt.ItemDataRole.BackgroundRole?10 +QtCore.Qt.ItemDataRole.BackgroundColorRole?10 +QtCore.Qt.ItemDataRole.ForegroundRole?10 +QtCore.Qt.ItemDataRole.TextColorRole?10 +QtCore.Qt.ItemDataRole.CheckStateRole?10 +QtCore.Qt.ItemDataRole.AccessibleTextRole?10 +QtCore.Qt.ItemDataRole.AccessibleDescriptionRole?10 +QtCore.Qt.ItemDataRole.SizeHintRole?10 +QtCore.Qt.ItemDataRole.InitialSortOrderRole?10 +QtCore.Qt.ItemDataRole.UserRole?10 +QtCore.Qt.CheckState?10 +QtCore.Qt.CheckState.Unchecked?10 +QtCore.Qt.CheckState.PartiallyChecked?10 +QtCore.Qt.CheckState.Checked?10 +QtCore.Qt.DropAction?10 +QtCore.Qt.DropAction.CopyAction?10 +QtCore.Qt.DropAction.MoveAction?10 +QtCore.Qt.DropAction.LinkAction?10 +QtCore.Qt.DropAction.ActionMask?10 +QtCore.Qt.DropAction.TargetMoveAction?10 +QtCore.Qt.DropAction.IgnoreAction?10 +QtCore.Qt.LayoutDirection?10 +QtCore.Qt.LayoutDirection.LeftToRight?10 +QtCore.Qt.LayoutDirection.RightToLeft?10 +QtCore.Qt.LayoutDirection.LayoutDirectionAuto?10 +QtCore.Qt.ToolButtonStyle?10 +QtCore.Qt.ToolButtonStyle.ToolButtonIconOnly?10 +QtCore.Qt.ToolButtonStyle.ToolButtonTextOnly?10 +QtCore.Qt.ToolButtonStyle.ToolButtonTextBesideIcon?10 +QtCore.Qt.ToolButtonStyle.ToolButtonTextUnderIcon?10 +QtCore.Qt.ToolButtonStyle.ToolButtonFollowStyle?10 +QtCore.Qt.InputMethodQuery?10 +QtCore.Qt.InputMethodQuery.ImMicroFocus?10 +QtCore.Qt.InputMethodQuery.ImFont?10 +QtCore.Qt.InputMethodQuery.ImCursorPosition?10 +QtCore.Qt.InputMethodQuery.ImSurroundingText?10 +QtCore.Qt.InputMethodQuery.ImCurrentSelection?10 +QtCore.Qt.InputMethodQuery.ImMaximumTextLength?10 +QtCore.Qt.InputMethodQuery.ImAnchorPosition?10 +QtCore.Qt.InputMethodQuery.ImEnabled?10 +QtCore.Qt.InputMethodQuery.ImCursorRectangle?10 +QtCore.Qt.InputMethodQuery.ImHints?10 +QtCore.Qt.InputMethodQuery.ImPreferredLanguage?10 +QtCore.Qt.InputMethodQuery.ImPlatformData?10 +QtCore.Qt.InputMethodQuery.ImQueryInput?10 +QtCore.Qt.InputMethodQuery.ImQueryAll?10 +QtCore.Qt.InputMethodQuery.ImAbsolutePosition?10 +QtCore.Qt.InputMethodQuery.ImTextBeforeCursor?10 +QtCore.Qt.InputMethodQuery.ImTextAfterCursor?10 +QtCore.Qt.InputMethodQuery.ImEnterKeyType?10 +QtCore.Qt.InputMethodQuery.ImAnchorRectangle?10 +QtCore.Qt.InputMethodQuery.ImInputItemClipRectangle?10 +QtCore.Qt.ContextMenuPolicy?10 +QtCore.Qt.ContextMenuPolicy.NoContextMenu?10 +QtCore.Qt.ContextMenuPolicy.PreventContextMenu?10 +QtCore.Qt.ContextMenuPolicy.DefaultContextMenu?10 +QtCore.Qt.ContextMenuPolicy.ActionsContextMenu?10 +QtCore.Qt.ContextMenuPolicy.CustomContextMenu?10 +QtCore.Qt.FocusReason?10 +QtCore.Qt.FocusReason.MouseFocusReason?10 +QtCore.Qt.FocusReason.TabFocusReason?10 +QtCore.Qt.FocusReason.BacktabFocusReason?10 +QtCore.Qt.FocusReason.ActiveWindowFocusReason?10 +QtCore.Qt.FocusReason.PopupFocusReason?10 +QtCore.Qt.FocusReason.ShortcutFocusReason?10 +QtCore.Qt.FocusReason.MenuBarFocusReason?10 +QtCore.Qt.FocusReason.OtherFocusReason?10 +QtCore.Qt.FocusReason.NoFocusReason?10 +QtCore.Qt.TransformationMode?10 +QtCore.Qt.TransformationMode.FastTransformation?10 +QtCore.Qt.TransformationMode.SmoothTransformation?10 +QtCore.Qt.ClipOperation?10 +QtCore.Qt.ClipOperation.NoClip?10 +QtCore.Qt.ClipOperation.ReplaceClip?10 +QtCore.Qt.ClipOperation.IntersectClip?10 +QtCore.Qt.FillRule?10 +QtCore.Qt.FillRule.OddEvenFill?10 +QtCore.Qt.FillRule.WindingFill?10 +QtCore.Qt.ShortcutContext?10 +QtCore.Qt.ShortcutContext.WidgetShortcut?10 +QtCore.Qt.ShortcutContext.WindowShortcut?10 +QtCore.Qt.ShortcutContext.ApplicationShortcut?10 +QtCore.Qt.ShortcutContext.WidgetWithChildrenShortcut?10 +QtCore.Qt.ConnectionType?10 +QtCore.Qt.ConnectionType.AutoConnection?10 +QtCore.Qt.ConnectionType.DirectConnection?10 +QtCore.Qt.ConnectionType.QueuedConnection?10 +QtCore.Qt.ConnectionType.BlockingQueuedConnection?10 +QtCore.Qt.ConnectionType.UniqueConnection?10 +QtCore.Qt.Corner?10 +QtCore.Qt.Corner.TopLeftCorner?10 +QtCore.Qt.Corner.TopRightCorner?10 +QtCore.Qt.Corner.BottomLeftCorner?10 +QtCore.Qt.Corner.BottomRightCorner?10 +QtCore.Qt.CaseSensitivity?10 +QtCore.Qt.CaseSensitivity.CaseInsensitive?10 +QtCore.Qt.CaseSensitivity.CaseSensitive?10 +QtCore.Qt.ScrollBarPolicy?10 +QtCore.Qt.ScrollBarPolicy.ScrollBarAsNeeded?10 +QtCore.Qt.ScrollBarPolicy.ScrollBarAlwaysOff?10 +QtCore.Qt.ScrollBarPolicy.ScrollBarAlwaysOn?10 +QtCore.Qt.DayOfWeek?10 +QtCore.Qt.DayOfWeek.Monday?10 +QtCore.Qt.DayOfWeek.Tuesday?10 +QtCore.Qt.DayOfWeek.Wednesday?10 +QtCore.Qt.DayOfWeek.Thursday?10 +QtCore.Qt.DayOfWeek.Friday?10 +QtCore.Qt.DayOfWeek.Saturday?10 +QtCore.Qt.DayOfWeek.Sunday?10 +QtCore.Qt.TimeSpec?10 +QtCore.Qt.TimeSpec.LocalTime?10 +QtCore.Qt.TimeSpec.UTC?10 +QtCore.Qt.TimeSpec.OffsetFromUTC?10 +QtCore.Qt.TimeSpec.TimeZone?10 +QtCore.Qt.DateFormat?10 +QtCore.Qt.DateFormat.TextDate?10 +QtCore.Qt.DateFormat.ISODate?10 +QtCore.Qt.DateFormat.ISODateWithMs?10 +QtCore.Qt.DateFormat.LocalDate?10 +QtCore.Qt.DateFormat.SystemLocaleDate?10 +QtCore.Qt.DateFormat.LocaleDate?10 +QtCore.Qt.DateFormat.SystemLocaleShortDate?10 +QtCore.Qt.DateFormat.SystemLocaleLongDate?10 +QtCore.Qt.DateFormat.DefaultLocaleShortDate?10 +QtCore.Qt.DateFormat.DefaultLocaleLongDate?10 +QtCore.Qt.DateFormat.RFC2822Date?10 +QtCore.Qt.ToolBarArea?10 +QtCore.Qt.ToolBarArea.LeftToolBarArea?10 +QtCore.Qt.ToolBarArea.RightToolBarArea?10 +QtCore.Qt.ToolBarArea.TopToolBarArea?10 +QtCore.Qt.ToolBarArea.BottomToolBarArea?10 +QtCore.Qt.ToolBarArea.ToolBarArea_Mask?10 +QtCore.Qt.ToolBarArea.AllToolBarAreas?10 +QtCore.Qt.ToolBarArea.NoToolBarArea?10 +QtCore.Qt.TimerType?10 +QtCore.Qt.TimerType.PreciseTimer?10 +QtCore.Qt.TimerType.CoarseTimer?10 +QtCore.Qt.TimerType.VeryCoarseTimer?10 +QtCore.Qt.DockWidgetArea?10 +QtCore.Qt.DockWidgetArea.LeftDockWidgetArea?10 +QtCore.Qt.DockWidgetArea.RightDockWidgetArea?10 +QtCore.Qt.DockWidgetArea.TopDockWidgetArea?10 +QtCore.Qt.DockWidgetArea.BottomDockWidgetArea?10 +QtCore.Qt.DockWidgetArea.DockWidgetArea_Mask?10 +QtCore.Qt.DockWidgetArea.AllDockWidgetAreas?10 +QtCore.Qt.DockWidgetArea.NoDockWidgetArea?10 +QtCore.Qt.AspectRatioMode?10 +QtCore.Qt.AspectRatioMode.IgnoreAspectRatio?10 +QtCore.Qt.AspectRatioMode.KeepAspectRatio?10 +QtCore.Qt.AspectRatioMode.KeepAspectRatioByExpanding?10 +QtCore.Qt.TextFormat?10 +QtCore.Qt.TextFormat.PlainText?10 +QtCore.Qt.TextFormat.RichText?10 +QtCore.Qt.TextFormat.AutoText?10 +QtCore.Qt.TextFormat.MarkdownText?10 +QtCore.Qt.CursorShape?10 +QtCore.Qt.CursorShape.ArrowCursor?10 +QtCore.Qt.CursorShape.UpArrowCursor?10 +QtCore.Qt.CursorShape.CrossCursor?10 +QtCore.Qt.CursorShape.WaitCursor?10 +QtCore.Qt.CursorShape.IBeamCursor?10 +QtCore.Qt.CursorShape.SizeVerCursor?10 +QtCore.Qt.CursorShape.SizeHorCursor?10 +QtCore.Qt.CursorShape.SizeBDiagCursor?10 +QtCore.Qt.CursorShape.SizeFDiagCursor?10 +QtCore.Qt.CursorShape.SizeAllCursor?10 +QtCore.Qt.CursorShape.BlankCursor?10 +QtCore.Qt.CursorShape.SplitVCursor?10 +QtCore.Qt.CursorShape.SplitHCursor?10 +QtCore.Qt.CursorShape.PointingHandCursor?10 +QtCore.Qt.CursorShape.ForbiddenCursor?10 +QtCore.Qt.CursorShape.OpenHandCursor?10 +QtCore.Qt.CursorShape.ClosedHandCursor?10 +QtCore.Qt.CursorShape.WhatsThisCursor?10 +QtCore.Qt.CursorShape.BusyCursor?10 +QtCore.Qt.CursorShape.LastCursor?10 +QtCore.Qt.CursorShape.BitmapCursor?10 +QtCore.Qt.CursorShape.CustomCursor?10 +QtCore.Qt.CursorShape.DragCopyCursor?10 +QtCore.Qt.CursorShape.DragMoveCursor?10 +QtCore.Qt.CursorShape.DragLinkCursor?10 +QtCore.Qt.UIEffect?10 +QtCore.Qt.UIEffect.UI_General?10 +QtCore.Qt.UIEffect.UI_AnimateMenu?10 +QtCore.Qt.UIEffect.UI_FadeMenu?10 +QtCore.Qt.UIEffect.UI_AnimateCombo?10 +QtCore.Qt.UIEffect.UI_AnimateTooltip?10 +QtCore.Qt.UIEffect.UI_FadeTooltip?10 +QtCore.Qt.UIEffect.UI_AnimateToolBox?10 +QtCore.Qt.BrushStyle?10 +QtCore.Qt.BrushStyle.NoBrush?10 +QtCore.Qt.BrushStyle.SolidPattern?10 +QtCore.Qt.BrushStyle.Dense1Pattern?10 +QtCore.Qt.BrushStyle.Dense2Pattern?10 +QtCore.Qt.BrushStyle.Dense3Pattern?10 +QtCore.Qt.BrushStyle.Dense4Pattern?10 +QtCore.Qt.BrushStyle.Dense5Pattern?10 +QtCore.Qt.BrushStyle.Dense6Pattern?10 +QtCore.Qt.BrushStyle.Dense7Pattern?10 +QtCore.Qt.BrushStyle.HorPattern?10 +QtCore.Qt.BrushStyle.VerPattern?10 +QtCore.Qt.BrushStyle.CrossPattern?10 +QtCore.Qt.BrushStyle.BDiagPattern?10 +QtCore.Qt.BrushStyle.FDiagPattern?10 +QtCore.Qt.BrushStyle.DiagCrossPattern?10 +QtCore.Qt.BrushStyle.LinearGradientPattern?10 +QtCore.Qt.BrushStyle.RadialGradientPattern?10 +QtCore.Qt.BrushStyle.ConicalGradientPattern?10 +QtCore.Qt.BrushStyle.TexturePattern?10 +QtCore.Qt.PenJoinStyle?10 +QtCore.Qt.PenJoinStyle.MiterJoin?10 +QtCore.Qt.PenJoinStyle.BevelJoin?10 +QtCore.Qt.PenJoinStyle.RoundJoin?10 +QtCore.Qt.PenJoinStyle.MPenJoinStyle?10 +QtCore.Qt.PenJoinStyle.SvgMiterJoin?10 +QtCore.Qt.PenCapStyle?10 +QtCore.Qt.PenCapStyle.FlatCap?10 +QtCore.Qt.PenCapStyle.SquareCap?10 +QtCore.Qt.PenCapStyle.RoundCap?10 +QtCore.Qt.PenCapStyle.MPenCapStyle?10 +QtCore.Qt.PenStyle?10 +QtCore.Qt.PenStyle.NoPen?10 +QtCore.Qt.PenStyle.SolidLine?10 +QtCore.Qt.PenStyle.DashLine?10 +QtCore.Qt.PenStyle.DotLine?10 +QtCore.Qt.PenStyle.DashDotLine?10 +QtCore.Qt.PenStyle.DashDotDotLine?10 +QtCore.Qt.PenStyle.CustomDashLine?10 +QtCore.Qt.PenStyle.MPenStyle?10 +QtCore.Qt.ArrowType?10 +QtCore.Qt.ArrowType.NoArrow?10 +QtCore.Qt.ArrowType.UpArrow?10 +QtCore.Qt.ArrowType.DownArrow?10 +QtCore.Qt.ArrowType.LeftArrow?10 +QtCore.Qt.ArrowType.RightArrow?10 +QtCore.Qt.Key?10 +QtCore.Qt.Key.Key_Escape?10 +QtCore.Qt.Key.Key_Tab?10 +QtCore.Qt.Key.Key_Backtab?10 +QtCore.Qt.Key.Key_Backspace?10 +QtCore.Qt.Key.Key_Return?10 +QtCore.Qt.Key.Key_Enter?10 +QtCore.Qt.Key.Key_Insert?10 +QtCore.Qt.Key.Key_Delete?10 +QtCore.Qt.Key.Key_Pause?10 +QtCore.Qt.Key.Key_Print?10 +QtCore.Qt.Key.Key_SysReq?10 +QtCore.Qt.Key.Key_Clear?10 +QtCore.Qt.Key.Key_Home?10 +QtCore.Qt.Key.Key_End?10 +QtCore.Qt.Key.Key_Left?10 +QtCore.Qt.Key.Key_Up?10 +QtCore.Qt.Key.Key_Right?10 +QtCore.Qt.Key.Key_Down?10 +QtCore.Qt.Key.Key_PageUp?10 +QtCore.Qt.Key.Key_PageDown?10 +QtCore.Qt.Key.Key_Shift?10 +QtCore.Qt.Key.Key_Control?10 +QtCore.Qt.Key.Key_Meta?10 +QtCore.Qt.Key.Key_Alt?10 +QtCore.Qt.Key.Key_CapsLock?10 +QtCore.Qt.Key.Key_NumLock?10 +QtCore.Qt.Key.Key_ScrollLock?10 +QtCore.Qt.Key.Key_F1?10 +QtCore.Qt.Key.Key_F2?10 +QtCore.Qt.Key.Key_F3?10 +QtCore.Qt.Key.Key_F4?10 +QtCore.Qt.Key.Key_F5?10 +QtCore.Qt.Key.Key_F6?10 +QtCore.Qt.Key.Key_F7?10 +QtCore.Qt.Key.Key_F8?10 +QtCore.Qt.Key.Key_F9?10 +QtCore.Qt.Key.Key_F10?10 +QtCore.Qt.Key.Key_F11?10 +QtCore.Qt.Key.Key_F12?10 +QtCore.Qt.Key.Key_F13?10 +QtCore.Qt.Key.Key_F14?10 +QtCore.Qt.Key.Key_F15?10 +QtCore.Qt.Key.Key_F16?10 +QtCore.Qt.Key.Key_F17?10 +QtCore.Qt.Key.Key_F18?10 +QtCore.Qt.Key.Key_F19?10 +QtCore.Qt.Key.Key_F20?10 +QtCore.Qt.Key.Key_F21?10 +QtCore.Qt.Key.Key_F22?10 +QtCore.Qt.Key.Key_F23?10 +QtCore.Qt.Key.Key_F24?10 +QtCore.Qt.Key.Key_F25?10 +QtCore.Qt.Key.Key_F26?10 +QtCore.Qt.Key.Key_F27?10 +QtCore.Qt.Key.Key_F28?10 +QtCore.Qt.Key.Key_F29?10 +QtCore.Qt.Key.Key_F30?10 +QtCore.Qt.Key.Key_F31?10 +QtCore.Qt.Key.Key_F32?10 +QtCore.Qt.Key.Key_F33?10 +QtCore.Qt.Key.Key_F34?10 +QtCore.Qt.Key.Key_F35?10 +QtCore.Qt.Key.Key_Super_L?10 +QtCore.Qt.Key.Key_Super_R?10 +QtCore.Qt.Key.Key_Menu?10 +QtCore.Qt.Key.Key_Hyper_L?10 +QtCore.Qt.Key.Key_Hyper_R?10 +QtCore.Qt.Key.Key_Help?10 +QtCore.Qt.Key.Key_Direction_L?10 +QtCore.Qt.Key.Key_Direction_R?10 +QtCore.Qt.Key.Key_Space?10 +QtCore.Qt.Key.Key_Any?10 +QtCore.Qt.Key.Key_Exclam?10 +QtCore.Qt.Key.Key_QuoteDbl?10 +QtCore.Qt.Key.Key_NumberSign?10 +QtCore.Qt.Key.Key_Dollar?10 +QtCore.Qt.Key.Key_Percent?10 +QtCore.Qt.Key.Key_Ampersand?10 +QtCore.Qt.Key.Key_Apostrophe?10 +QtCore.Qt.Key.Key_ParenLeft?10 +QtCore.Qt.Key.Key_ParenRight?10 +QtCore.Qt.Key.Key_Asterisk?10 +QtCore.Qt.Key.Key_Plus?10 +QtCore.Qt.Key.Key_Comma?10 +QtCore.Qt.Key.Key_Minus?10 +QtCore.Qt.Key.Key_Period?10 +QtCore.Qt.Key.Key_Slash?10 +QtCore.Qt.Key.Key_0?10 +QtCore.Qt.Key.Key_1?10 +QtCore.Qt.Key.Key_2?10 +QtCore.Qt.Key.Key_3?10 +QtCore.Qt.Key.Key_4?10 +QtCore.Qt.Key.Key_5?10 +QtCore.Qt.Key.Key_6?10 +QtCore.Qt.Key.Key_7?10 +QtCore.Qt.Key.Key_8?10 +QtCore.Qt.Key.Key_9?10 +QtCore.Qt.Key.Key_Colon?10 +QtCore.Qt.Key.Key_Semicolon?10 +QtCore.Qt.Key.Key_Less?10 +QtCore.Qt.Key.Key_Equal?10 +QtCore.Qt.Key.Key_Greater?10 +QtCore.Qt.Key.Key_Question?10 +QtCore.Qt.Key.Key_At?10 +QtCore.Qt.Key.Key_A?10 +QtCore.Qt.Key.Key_B?10 +QtCore.Qt.Key.Key_C?10 +QtCore.Qt.Key.Key_D?10 +QtCore.Qt.Key.Key_E?10 +QtCore.Qt.Key.Key_F?10 +QtCore.Qt.Key.Key_G?10 +QtCore.Qt.Key.Key_H?10 +QtCore.Qt.Key.Key_I?10 +QtCore.Qt.Key.Key_J?10 +QtCore.Qt.Key.Key_K?10 +QtCore.Qt.Key.Key_L?10 +QtCore.Qt.Key.Key_M?10 +QtCore.Qt.Key.Key_N?10 +QtCore.Qt.Key.Key_O?10 +QtCore.Qt.Key.Key_P?10 +QtCore.Qt.Key.Key_Q?10 +QtCore.Qt.Key.Key_R?10 +QtCore.Qt.Key.Key_S?10 +QtCore.Qt.Key.Key_T?10 +QtCore.Qt.Key.Key_U?10 +QtCore.Qt.Key.Key_V?10 +QtCore.Qt.Key.Key_W?10 +QtCore.Qt.Key.Key_X?10 +QtCore.Qt.Key.Key_Y?10 +QtCore.Qt.Key.Key_Z?10 +QtCore.Qt.Key.Key_BracketLeft?10 +QtCore.Qt.Key.Key_Backslash?10 +QtCore.Qt.Key.Key_BracketRight?10 +QtCore.Qt.Key.Key_AsciiCircum?10 +QtCore.Qt.Key.Key_Underscore?10 +QtCore.Qt.Key.Key_QuoteLeft?10 +QtCore.Qt.Key.Key_BraceLeft?10 +QtCore.Qt.Key.Key_Bar?10 +QtCore.Qt.Key.Key_BraceRight?10 +QtCore.Qt.Key.Key_AsciiTilde?10 +QtCore.Qt.Key.Key_nobreakspace?10 +QtCore.Qt.Key.Key_exclamdown?10 +QtCore.Qt.Key.Key_cent?10 +QtCore.Qt.Key.Key_sterling?10 +QtCore.Qt.Key.Key_currency?10 +QtCore.Qt.Key.Key_yen?10 +QtCore.Qt.Key.Key_brokenbar?10 +QtCore.Qt.Key.Key_section?10 +QtCore.Qt.Key.Key_diaeresis?10 +QtCore.Qt.Key.Key_copyright?10 +QtCore.Qt.Key.Key_ordfeminine?10 +QtCore.Qt.Key.Key_guillemotleft?10 +QtCore.Qt.Key.Key_notsign?10 +QtCore.Qt.Key.Key_hyphen?10 +QtCore.Qt.Key.Key_registered?10 +QtCore.Qt.Key.Key_macron?10 +QtCore.Qt.Key.Key_degree?10 +QtCore.Qt.Key.Key_plusminus?10 +QtCore.Qt.Key.Key_twosuperior?10 +QtCore.Qt.Key.Key_threesuperior?10 +QtCore.Qt.Key.Key_acute?10 +QtCore.Qt.Key.Key_mu?10 +QtCore.Qt.Key.Key_paragraph?10 +QtCore.Qt.Key.Key_periodcentered?10 +QtCore.Qt.Key.Key_cedilla?10 +QtCore.Qt.Key.Key_onesuperior?10 +QtCore.Qt.Key.Key_masculine?10 +QtCore.Qt.Key.Key_guillemotright?10 +QtCore.Qt.Key.Key_onequarter?10 +QtCore.Qt.Key.Key_onehalf?10 +QtCore.Qt.Key.Key_threequarters?10 +QtCore.Qt.Key.Key_questiondown?10 +QtCore.Qt.Key.Key_Agrave?10 +QtCore.Qt.Key.Key_Aacute?10 +QtCore.Qt.Key.Key_Acircumflex?10 +QtCore.Qt.Key.Key_Atilde?10 +QtCore.Qt.Key.Key_Adiaeresis?10 +QtCore.Qt.Key.Key_Aring?10 +QtCore.Qt.Key.Key_AE?10 +QtCore.Qt.Key.Key_Ccedilla?10 +QtCore.Qt.Key.Key_Egrave?10 +QtCore.Qt.Key.Key_Eacute?10 +QtCore.Qt.Key.Key_Ecircumflex?10 +QtCore.Qt.Key.Key_Ediaeresis?10 +QtCore.Qt.Key.Key_Igrave?10 +QtCore.Qt.Key.Key_Iacute?10 +QtCore.Qt.Key.Key_Icircumflex?10 +QtCore.Qt.Key.Key_Idiaeresis?10 +QtCore.Qt.Key.Key_ETH?10 +QtCore.Qt.Key.Key_Ntilde?10 +QtCore.Qt.Key.Key_Ograve?10 +QtCore.Qt.Key.Key_Oacute?10 +QtCore.Qt.Key.Key_Ocircumflex?10 +QtCore.Qt.Key.Key_Otilde?10 +QtCore.Qt.Key.Key_Odiaeresis?10 +QtCore.Qt.Key.Key_multiply?10 +QtCore.Qt.Key.Key_Ooblique?10 +QtCore.Qt.Key.Key_Ugrave?10 +QtCore.Qt.Key.Key_Uacute?10 +QtCore.Qt.Key.Key_Ucircumflex?10 +QtCore.Qt.Key.Key_Udiaeresis?10 +QtCore.Qt.Key.Key_Yacute?10 +QtCore.Qt.Key.Key_THORN?10 +QtCore.Qt.Key.Key_ssharp?10 +QtCore.Qt.Key.Key_division?10 +QtCore.Qt.Key.Key_ydiaeresis?10 +QtCore.Qt.Key.Key_AltGr?10 +QtCore.Qt.Key.Key_Multi_key?10 +QtCore.Qt.Key.Key_Codeinput?10 +QtCore.Qt.Key.Key_SingleCandidate?10 +QtCore.Qt.Key.Key_MultipleCandidate?10 +QtCore.Qt.Key.Key_PreviousCandidate?10 +QtCore.Qt.Key.Key_Mode_switch?10 +QtCore.Qt.Key.Key_Kanji?10 +QtCore.Qt.Key.Key_Muhenkan?10 +QtCore.Qt.Key.Key_Henkan?10 +QtCore.Qt.Key.Key_Romaji?10 +QtCore.Qt.Key.Key_Hiragana?10 +QtCore.Qt.Key.Key_Katakana?10 +QtCore.Qt.Key.Key_Hiragana_Katakana?10 +QtCore.Qt.Key.Key_Zenkaku?10 +QtCore.Qt.Key.Key_Hankaku?10 +QtCore.Qt.Key.Key_Zenkaku_Hankaku?10 +QtCore.Qt.Key.Key_Touroku?10 +QtCore.Qt.Key.Key_Massyo?10 +QtCore.Qt.Key.Key_Kana_Lock?10 +QtCore.Qt.Key.Key_Kana_Shift?10 +QtCore.Qt.Key.Key_Eisu_Shift?10 +QtCore.Qt.Key.Key_Eisu_toggle?10 +QtCore.Qt.Key.Key_Hangul?10 +QtCore.Qt.Key.Key_Hangul_Start?10 +QtCore.Qt.Key.Key_Hangul_End?10 +QtCore.Qt.Key.Key_Hangul_Hanja?10 +QtCore.Qt.Key.Key_Hangul_Jamo?10 +QtCore.Qt.Key.Key_Hangul_Romaja?10 +QtCore.Qt.Key.Key_Hangul_Jeonja?10 +QtCore.Qt.Key.Key_Hangul_Banja?10 +QtCore.Qt.Key.Key_Hangul_PreHanja?10 +QtCore.Qt.Key.Key_Hangul_PostHanja?10 +QtCore.Qt.Key.Key_Hangul_Special?10 +QtCore.Qt.Key.Key_Dead_Grave?10 +QtCore.Qt.Key.Key_Dead_Acute?10 +QtCore.Qt.Key.Key_Dead_Circumflex?10 +QtCore.Qt.Key.Key_Dead_Tilde?10 +QtCore.Qt.Key.Key_Dead_Macron?10 +QtCore.Qt.Key.Key_Dead_Breve?10 +QtCore.Qt.Key.Key_Dead_Abovedot?10 +QtCore.Qt.Key.Key_Dead_Diaeresis?10 +QtCore.Qt.Key.Key_Dead_Abovering?10 +QtCore.Qt.Key.Key_Dead_Doubleacute?10 +QtCore.Qt.Key.Key_Dead_Caron?10 +QtCore.Qt.Key.Key_Dead_Cedilla?10 +QtCore.Qt.Key.Key_Dead_Ogonek?10 +QtCore.Qt.Key.Key_Dead_Iota?10 +QtCore.Qt.Key.Key_Dead_Voiced_Sound?10 +QtCore.Qt.Key.Key_Dead_Semivoiced_Sound?10 +QtCore.Qt.Key.Key_Dead_Belowdot?10 +QtCore.Qt.Key.Key_Dead_Hook?10 +QtCore.Qt.Key.Key_Dead_Horn?10 +QtCore.Qt.Key.Key_Back?10 +QtCore.Qt.Key.Key_Forward?10 +QtCore.Qt.Key.Key_Stop?10 +QtCore.Qt.Key.Key_Refresh?10 +QtCore.Qt.Key.Key_VolumeDown?10 +QtCore.Qt.Key.Key_VolumeMute?10 +QtCore.Qt.Key.Key_VolumeUp?10 +QtCore.Qt.Key.Key_BassBoost?10 +QtCore.Qt.Key.Key_BassUp?10 +QtCore.Qt.Key.Key_BassDown?10 +QtCore.Qt.Key.Key_TrebleUp?10 +QtCore.Qt.Key.Key_TrebleDown?10 +QtCore.Qt.Key.Key_MediaPlay?10 +QtCore.Qt.Key.Key_MediaStop?10 +QtCore.Qt.Key.Key_MediaPrevious?10 +QtCore.Qt.Key.Key_MediaNext?10 +QtCore.Qt.Key.Key_MediaRecord?10 +QtCore.Qt.Key.Key_HomePage?10 +QtCore.Qt.Key.Key_Favorites?10 +QtCore.Qt.Key.Key_Search?10 +QtCore.Qt.Key.Key_Standby?10 +QtCore.Qt.Key.Key_OpenUrl?10 +QtCore.Qt.Key.Key_LaunchMail?10 +QtCore.Qt.Key.Key_LaunchMedia?10 +QtCore.Qt.Key.Key_Launch0?10 +QtCore.Qt.Key.Key_Launch1?10 +QtCore.Qt.Key.Key_Launch2?10 +QtCore.Qt.Key.Key_Launch3?10 +QtCore.Qt.Key.Key_Launch4?10 +QtCore.Qt.Key.Key_Launch5?10 +QtCore.Qt.Key.Key_Launch6?10 +QtCore.Qt.Key.Key_Launch7?10 +QtCore.Qt.Key.Key_Launch8?10 +QtCore.Qt.Key.Key_Launch9?10 +QtCore.Qt.Key.Key_LaunchA?10 +QtCore.Qt.Key.Key_LaunchB?10 +QtCore.Qt.Key.Key_LaunchC?10 +QtCore.Qt.Key.Key_LaunchD?10 +QtCore.Qt.Key.Key_LaunchE?10 +QtCore.Qt.Key.Key_LaunchF?10 +QtCore.Qt.Key.Key_MediaLast?10 +QtCore.Qt.Key.Key_Select?10 +QtCore.Qt.Key.Key_Yes?10 +QtCore.Qt.Key.Key_No?10 +QtCore.Qt.Key.Key_Context1?10 +QtCore.Qt.Key.Key_Context2?10 +QtCore.Qt.Key.Key_Context3?10 +QtCore.Qt.Key.Key_Context4?10 +QtCore.Qt.Key.Key_Call?10 +QtCore.Qt.Key.Key_Hangup?10 +QtCore.Qt.Key.Key_Flip?10 +QtCore.Qt.Key.Key_unknown?10 +QtCore.Qt.Key.Key_Execute?10 +QtCore.Qt.Key.Key_Printer?10 +QtCore.Qt.Key.Key_Play?10 +QtCore.Qt.Key.Key_Sleep?10 +QtCore.Qt.Key.Key_Zoom?10 +QtCore.Qt.Key.Key_Cancel?10 +QtCore.Qt.Key.Key_MonBrightnessUp?10 +QtCore.Qt.Key.Key_MonBrightnessDown?10 +QtCore.Qt.Key.Key_KeyboardLightOnOff?10 +QtCore.Qt.Key.Key_KeyboardBrightnessUp?10 +QtCore.Qt.Key.Key_KeyboardBrightnessDown?10 +QtCore.Qt.Key.Key_PowerOff?10 +QtCore.Qt.Key.Key_WakeUp?10 +QtCore.Qt.Key.Key_Eject?10 +QtCore.Qt.Key.Key_ScreenSaver?10 +QtCore.Qt.Key.Key_WWW?10 +QtCore.Qt.Key.Key_Memo?10 +QtCore.Qt.Key.Key_LightBulb?10 +QtCore.Qt.Key.Key_Shop?10 +QtCore.Qt.Key.Key_History?10 +QtCore.Qt.Key.Key_AddFavorite?10 +QtCore.Qt.Key.Key_HotLinks?10 +QtCore.Qt.Key.Key_BrightnessAdjust?10 +QtCore.Qt.Key.Key_Finance?10 +QtCore.Qt.Key.Key_Community?10 +QtCore.Qt.Key.Key_AudioRewind?10 +QtCore.Qt.Key.Key_BackForward?10 +QtCore.Qt.Key.Key_ApplicationLeft?10 +QtCore.Qt.Key.Key_ApplicationRight?10 +QtCore.Qt.Key.Key_Book?10 +QtCore.Qt.Key.Key_CD?10 +QtCore.Qt.Key.Key_Calculator?10 +QtCore.Qt.Key.Key_ToDoList?10 +QtCore.Qt.Key.Key_ClearGrab?10 +QtCore.Qt.Key.Key_Close?10 +QtCore.Qt.Key.Key_Copy?10 +QtCore.Qt.Key.Key_Cut?10 +QtCore.Qt.Key.Key_Display?10 +QtCore.Qt.Key.Key_DOS?10 +QtCore.Qt.Key.Key_Documents?10 +QtCore.Qt.Key.Key_Excel?10 +QtCore.Qt.Key.Key_Explorer?10 +QtCore.Qt.Key.Key_Game?10 +QtCore.Qt.Key.Key_Go?10 +QtCore.Qt.Key.Key_iTouch?10 +QtCore.Qt.Key.Key_LogOff?10 +QtCore.Qt.Key.Key_Market?10 +QtCore.Qt.Key.Key_Meeting?10 +QtCore.Qt.Key.Key_MenuKB?10 +QtCore.Qt.Key.Key_MenuPB?10 +QtCore.Qt.Key.Key_MySites?10 +QtCore.Qt.Key.Key_News?10 +QtCore.Qt.Key.Key_OfficeHome?10 +QtCore.Qt.Key.Key_Option?10 +QtCore.Qt.Key.Key_Paste?10 +QtCore.Qt.Key.Key_Phone?10 +QtCore.Qt.Key.Key_Calendar?10 +QtCore.Qt.Key.Key_Reply?10 +QtCore.Qt.Key.Key_Reload?10 +QtCore.Qt.Key.Key_RotateWindows?10 +QtCore.Qt.Key.Key_RotationPB?10 +QtCore.Qt.Key.Key_RotationKB?10 +QtCore.Qt.Key.Key_Save?10 +QtCore.Qt.Key.Key_Send?10 +QtCore.Qt.Key.Key_Spell?10 +QtCore.Qt.Key.Key_SplitScreen?10 +QtCore.Qt.Key.Key_Support?10 +QtCore.Qt.Key.Key_TaskPane?10 +QtCore.Qt.Key.Key_Terminal?10 +QtCore.Qt.Key.Key_Tools?10 +QtCore.Qt.Key.Key_Travel?10 +QtCore.Qt.Key.Key_Video?10 +QtCore.Qt.Key.Key_Word?10 +QtCore.Qt.Key.Key_Xfer?10 +QtCore.Qt.Key.Key_ZoomIn?10 +QtCore.Qt.Key.Key_ZoomOut?10 +QtCore.Qt.Key.Key_Away?10 +QtCore.Qt.Key.Key_Messenger?10 +QtCore.Qt.Key.Key_WebCam?10 +QtCore.Qt.Key.Key_MailForward?10 +QtCore.Qt.Key.Key_Pictures?10 +QtCore.Qt.Key.Key_Music?10 +QtCore.Qt.Key.Key_Battery?10 +QtCore.Qt.Key.Key_Bluetooth?10 +QtCore.Qt.Key.Key_WLAN?10 +QtCore.Qt.Key.Key_UWB?10 +QtCore.Qt.Key.Key_AudioForward?10 +QtCore.Qt.Key.Key_AudioRepeat?10 +QtCore.Qt.Key.Key_AudioRandomPlay?10 +QtCore.Qt.Key.Key_Subtitle?10 +QtCore.Qt.Key.Key_AudioCycleTrack?10 +QtCore.Qt.Key.Key_Time?10 +QtCore.Qt.Key.Key_Hibernate?10 +QtCore.Qt.Key.Key_View?10 +QtCore.Qt.Key.Key_TopMenu?10 +QtCore.Qt.Key.Key_PowerDown?10 +QtCore.Qt.Key.Key_Suspend?10 +QtCore.Qt.Key.Key_ContrastAdjust?10 +QtCore.Qt.Key.Key_MediaPause?10 +QtCore.Qt.Key.Key_MediaTogglePlayPause?10 +QtCore.Qt.Key.Key_LaunchG?10 +QtCore.Qt.Key.Key_LaunchH?10 +QtCore.Qt.Key.Key_ToggleCallHangup?10 +QtCore.Qt.Key.Key_VoiceDial?10 +QtCore.Qt.Key.Key_LastNumberRedial?10 +QtCore.Qt.Key.Key_Camera?10 +QtCore.Qt.Key.Key_CameraFocus?10 +QtCore.Qt.Key.Key_TouchpadToggle?10 +QtCore.Qt.Key.Key_TouchpadOn?10 +QtCore.Qt.Key.Key_TouchpadOff?10 +QtCore.Qt.Key.Key_MicMute?10 +QtCore.Qt.Key.Key_Red?10 +QtCore.Qt.Key.Key_Green?10 +QtCore.Qt.Key.Key_Yellow?10 +QtCore.Qt.Key.Key_Blue?10 +QtCore.Qt.Key.Key_ChannelUp?10 +QtCore.Qt.Key.Key_ChannelDown?10 +QtCore.Qt.Key.Key_Guide?10 +QtCore.Qt.Key.Key_Info?10 +QtCore.Qt.Key.Key_Settings?10 +QtCore.Qt.Key.Key_Exit?10 +QtCore.Qt.Key.Key_MicVolumeUp?10 +QtCore.Qt.Key.Key_MicVolumeDown?10 +QtCore.Qt.Key.Key_New?10 +QtCore.Qt.Key.Key_Open?10 +QtCore.Qt.Key.Key_Find?10 +QtCore.Qt.Key.Key_Undo?10 +QtCore.Qt.Key.Key_Redo?10 +QtCore.Qt.Key.Key_Dead_Stroke?10 +QtCore.Qt.Key.Key_Dead_Abovecomma?10 +QtCore.Qt.Key.Key_Dead_Abovereversedcomma?10 +QtCore.Qt.Key.Key_Dead_Doublegrave?10 +QtCore.Qt.Key.Key_Dead_Belowring?10 +QtCore.Qt.Key.Key_Dead_Belowmacron?10 +QtCore.Qt.Key.Key_Dead_Belowcircumflex?10 +QtCore.Qt.Key.Key_Dead_Belowtilde?10 +QtCore.Qt.Key.Key_Dead_Belowbreve?10 +QtCore.Qt.Key.Key_Dead_Belowdiaeresis?10 +QtCore.Qt.Key.Key_Dead_Invertedbreve?10 +QtCore.Qt.Key.Key_Dead_Belowcomma?10 +QtCore.Qt.Key.Key_Dead_Currency?10 +QtCore.Qt.Key.Key_Dead_a?10 +QtCore.Qt.Key.Key_Dead_A?10 +QtCore.Qt.Key.Key_Dead_e?10 +QtCore.Qt.Key.Key_Dead_E?10 +QtCore.Qt.Key.Key_Dead_i?10 +QtCore.Qt.Key.Key_Dead_I?10 +QtCore.Qt.Key.Key_Dead_o?10 +QtCore.Qt.Key.Key_Dead_O?10 +QtCore.Qt.Key.Key_Dead_u?10 +QtCore.Qt.Key.Key_Dead_U?10 +QtCore.Qt.Key.Key_Dead_Small_Schwa?10 +QtCore.Qt.Key.Key_Dead_Capital_Schwa?10 +QtCore.Qt.Key.Key_Dead_Greek?10 +QtCore.Qt.Key.Key_Dead_Lowline?10 +QtCore.Qt.Key.Key_Dead_Aboveverticalline?10 +QtCore.Qt.Key.Key_Dead_Belowverticalline?10 +QtCore.Qt.Key.Key_Dead_Longsolidusoverlay?10 +QtCore.Qt.BGMode?10 +QtCore.Qt.BGMode.TransparentMode?10 +QtCore.Qt.BGMode.OpaqueMode?10 +QtCore.Qt.ImageConversionFlag?10 +QtCore.Qt.ImageConversionFlag.AutoColor?10 +QtCore.Qt.ImageConversionFlag.ColorOnly?10 +QtCore.Qt.ImageConversionFlag.MonoOnly?10 +QtCore.Qt.ImageConversionFlag.ThresholdAlphaDither?10 +QtCore.Qt.ImageConversionFlag.OrderedAlphaDither?10 +QtCore.Qt.ImageConversionFlag.DiffuseAlphaDither?10 +QtCore.Qt.ImageConversionFlag.DiffuseDither?10 +QtCore.Qt.ImageConversionFlag.OrderedDither?10 +QtCore.Qt.ImageConversionFlag.ThresholdDither?10 +QtCore.Qt.ImageConversionFlag.AutoDither?10 +QtCore.Qt.ImageConversionFlag.PreferDither?10 +QtCore.Qt.ImageConversionFlag.AvoidDither?10 +QtCore.Qt.ImageConversionFlag.NoOpaqueDetection?10 +QtCore.Qt.ImageConversionFlag.NoFormatConversion?10 +QtCore.Qt.WidgetAttribute?10 +QtCore.Qt.WidgetAttribute.WA_Disabled?10 +QtCore.Qt.WidgetAttribute.WA_UnderMouse?10 +QtCore.Qt.WidgetAttribute.WA_MouseTracking?10 +QtCore.Qt.WidgetAttribute.WA_OpaquePaintEvent?10 +QtCore.Qt.WidgetAttribute.WA_StaticContents?10 +QtCore.Qt.WidgetAttribute.WA_LaidOut?10 +QtCore.Qt.WidgetAttribute.WA_PaintOnScreen?10 +QtCore.Qt.WidgetAttribute.WA_NoSystemBackground?10 +QtCore.Qt.WidgetAttribute.WA_UpdatesDisabled?10 +QtCore.Qt.WidgetAttribute.WA_Mapped?10 +QtCore.Qt.WidgetAttribute.WA_MacNoClickThrough?10 +QtCore.Qt.WidgetAttribute.WA_InputMethodEnabled?10 +QtCore.Qt.WidgetAttribute.WA_WState_Visible?10 +QtCore.Qt.WidgetAttribute.WA_WState_Hidden?10 +QtCore.Qt.WidgetAttribute.WA_ForceDisabled?10 +QtCore.Qt.WidgetAttribute.WA_KeyCompression?10 +QtCore.Qt.WidgetAttribute.WA_PendingMoveEvent?10 +QtCore.Qt.WidgetAttribute.WA_PendingResizeEvent?10 +QtCore.Qt.WidgetAttribute.WA_SetPalette?10 +QtCore.Qt.WidgetAttribute.WA_SetFont?10 +QtCore.Qt.WidgetAttribute.WA_SetCursor?10 +QtCore.Qt.WidgetAttribute.WA_NoChildEventsFromChildren?10 +QtCore.Qt.WidgetAttribute.WA_WindowModified?10 +QtCore.Qt.WidgetAttribute.WA_Resized?10 +QtCore.Qt.WidgetAttribute.WA_Moved?10 +QtCore.Qt.WidgetAttribute.WA_PendingUpdate?10 +QtCore.Qt.WidgetAttribute.WA_InvalidSize?10 +QtCore.Qt.WidgetAttribute.WA_MacMetalStyle?10 +QtCore.Qt.WidgetAttribute.WA_CustomWhatsThis?10 +QtCore.Qt.WidgetAttribute.WA_LayoutOnEntireRect?10 +QtCore.Qt.WidgetAttribute.WA_OutsideWSRange?10 +QtCore.Qt.WidgetAttribute.WA_GrabbedShortcut?10 +QtCore.Qt.WidgetAttribute.WA_TransparentForMouseEvents?10 +QtCore.Qt.WidgetAttribute.WA_PaintUnclipped?10 +QtCore.Qt.WidgetAttribute.WA_SetWindowIcon?10 +QtCore.Qt.WidgetAttribute.WA_NoMouseReplay?10 +QtCore.Qt.WidgetAttribute.WA_DeleteOnClose?10 +QtCore.Qt.WidgetAttribute.WA_RightToLeft?10 +QtCore.Qt.WidgetAttribute.WA_SetLayoutDirection?10 +QtCore.Qt.WidgetAttribute.WA_NoChildEventsForParent?10 +QtCore.Qt.WidgetAttribute.WA_ForceUpdatesDisabled?10 +QtCore.Qt.WidgetAttribute.WA_WState_Created?10 +QtCore.Qt.WidgetAttribute.WA_WState_CompressKeys?10 +QtCore.Qt.WidgetAttribute.WA_WState_InPaintEvent?10 +QtCore.Qt.WidgetAttribute.WA_WState_Reparented?10 +QtCore.Qt.WidgetAttribute.WA_WState_ConfigPending?10 +QtCore.Qt.WidgetAttribute.WA_WState_Polished?10 +QtCore.Qt.WidgetAttribute.WA_WState_OwnSizePolicy?10 +QtCore.Qt.WidgetAttribute.WA_WState_ExplicitShowHide?10 +QtCore.Qt.WidgetAttribute.WA_MouseNoMask?10 +QtCore.Qt.WidgetAttribute.WA_GroupLeader?10 +QtCore.Qt.WidgetAttribute.WA_NoMousePropagation?10 +QtCore.Qt.WidgetAttribute.WA_Hover?10 +QtCore.Qt.WidgetAttribute.WA_InputMethodTransparent?10 +QtCore.Qt.WidgetAttribute.WA_QuitOnClose?10 +QtCore.Qt.WidgetAttribute.WA_KeyboardFocusChange?10 +QtCore.Qt.WidgetAttribute.WA_AcceptDrops?10 +QtCore.Qt.WidgetAttribute.WA_WindowPropagation?10 +QtCore.Qt.WidgetAttribute.WA_NoX11EventCompression?10 +QtCore.Qt.WidgetAttribute.WA_TintedBackground?10 +QtCore.Qt.WidgetAttribute.WA_X11OpenGLOverlay?10 +QtCore.Qt.WidgetAttribute.WA_AttributeCount?10 +QtCore.Qt.WidgetAttribute.WA_AlwaysShowToolTips?10 +QtCore.Qt.WidgetAttribute.WA_MacOpaqueSizeGrip?10 +QtCore.Qt.WidgetAttribute.WA_SetStyle?10 +QtCore.Qt.WidgetAttribute.WA_MacBrushedMetal?10 +QtCore.Qt.WidgetAttribute.WA_SetLocale?10 +QtCore.Qt.WidgetAttribute.WA_MacShowFocusRect?10 +QtCore.Qt.WidgetAttribute.WA_MacNormalSize?10 +QtCore.Qt.WidgetAttribute.WA_MacSmallSize?10 +QtCore.Qt.WidgetAttribute.WA_MacMiniSize?10 +QtCore.Qt.WidgetAttribute.WA_LayoutUsesWidgetRect?10 +QtCore.Qt.WidgetAttribute.WA_StyledBackground?10 +QtCore.Qt.WidgetAttribute.WA_MSWindowsUseDirect3D?10 +QtCore.Qt.WidgetAttribute.WA_MacAlwaysShowToolWindow?10 +QtCore.Qt.WidgetAttribute.WA_StyleSheet?10 +QtCore.Qt.WidgetAttribute.WA_ShowWithoutActivating?10 +QtCore.Qt.WidgetAttribute.WA_NativeWindow?10 +QtCore.Qt.WidgetAttribute.WA_DontCreateNativeAncestors?10 +QtCore.Qt.WidgetAttribute.WA_MacVariableSize?10 +QtCore.Qt.WidgetAttribute.WA_DontShowOnScreen?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeDesktop?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeDock?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeToolBar?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeMenu?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeUtility?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeSplash?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeDialog?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeDropDownMenu?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypePopupMenu?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeToolTip?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeNotification?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeCombo?10 +QtCore.Qt.WidgetAttribute.WA_X11NetWmWindowTypeDND?10 +QtCore.Qt.WidgetAttribute.WA_MacFrameworkScaled?10 +QtCore.Qt.WidgetAttribute.WA_TranslucentBackground?10 +QtCore.Qt.WidgetAttribute.WA_AcceptTouchEvents?10 +QtCore.Qt.WidgetAttribute.WA_TouchPadAcceptSingleTouchEvents?10 +QtCore.Qt.WidgetAttribute.WA_X11DoNotAcceptFocus?10 +QtCore.Qt.WidgetAttribute.WA_MacNoShadow?10 +QtCore.Qt.WidgetAttribute.WA_AlwaysStackOnTop?10 +QtCore.Qt.WidgetAttribute.WA_TabletTracking?10 +QtCore.Qt.WidgetAttribute.WA_ContentsMarginsRespectsSafeArea?10 +QtCore.Qt.WidgetAttribute.WA_StyleSheetTarget?10 +QtCore.Qt.WindowState?10 +QtCore.Qt.WindowState.WindowNoState?10 +QtCore.Qt.WindowState.WindowMinimized?10 +QtCore.Qt.WindowState.WindowMaximized?10 +QtCore.Qt.WindowState.WindowFullScreen?10 +QtCore.Qt.WindowState.WindowActive?10 +QtCore.Qt.WindowType?10 +QtCore.Qt.WindowType.Widget?10 +QtCore.Qt.WindowType.Window?10 +QtCore.Qt.WindowType.Dialog?10 +QtCore.Qt.WindowType.Sheet?10 +QtCore.Qt.WindowType.Drawer?10 +QtCore.Qt.WindowType.Popup?10 +QtCore.Qt.WindowType.Tool?10 +QtCore.Qt.WindowType.ToolTip?10 +QtCore.Qt.WindowType.SplashScreen?10 +QtCore.Qt.WindowType.Desktop?10 +QtCore.Qt.WindowType.SubWindow?10 +QtCore.Qt.WindowType.WindowType_Mask?10 +QtCore.Qt.WindowType.MSWindowsFixedSizeDialogHint?10 +QtCore.Qt.WindowType.MSWindowsOwnDC?10 +QtCore.Qt.WindowType.X11BypassWindowManagerHint?10 +QtCore.Qt.WindowType.FramelessWindowHint?10 +QtCore.Qt.WindowType.CustomizeWindowHint?10 +QtCore.Qt.WindowType.WindowTitleHint?10 +QtCore.Qt.WindowType.WindowSystemMenuHint?10 +QtCore.Qt.WindowType.WindowMinimizeButtonHint?10 +QtCore.Qt.WindowType.WindowMaximizeButtonHint?10 +QtCore.Qt.WindowType.WindowMinMaxButtonsHint?10 +QtCore.Qt.WindowType.WindowContextHelpButtonHint?10 +QtCore.Qt.WindowType.WindowShadeButtonHint?10 +QtCore.Qt.WindowType.WindowStaysOnTopHint?10 +QtCore.Qt.WindowType.WindowStaysOnBottomHint?10 +QtCore.Qt.WindowType.WindowCloseButtonHint?10 +QtCore.Qt.WindowType.MacWindowToolBarButtonHint?10 +QtCore.Qt.WindowType.BypassGraphicsProxyWidget?10 +QtCore.Qt.WindowType.WindowTransparentForInput?10 +QtCore.Qt.WindowType.WindowOverridesSystemGestures?10 +QtCore.Qt.WindowType.WindowDoesNotAcceptFocus?10 +QtCore.Qt.WindowType.NoDropShadowWindowHint?10 +QtCore.Qt.WindowType.WindowFullscreenButtonHint?10 +QtCore.Qt.WindowType.ForeignWindow?10 +QtCore.Qt.WindowType.BypassWindowManagerHint?10 +QtCore.Qt.WindowType.CoverWindow?10 +QtCore.Qt.WindowType.MaximizeUsingFullscreenGeometryHint?10 +QtCore.Qt.TextElideMode?10 +QtCore.Qt.TextElideMode.ElideLeft?10 +QtCore.Qt.TextElideMode.ElideRight?10 +QtCore.Qt.TextElideMode.ElideMiddle?10 +QtCore.Qt.TextElideMode.ElideNone?10 +QtCore.Qt.TextFlag?10 +QtCore.Qt.TextFlag.TextSingleLine?10 +QtCore.Qt.TextFlag.TextDontClip?10 +QtCore.Qt.TextFlag.TextExpandTabs?10 +QtCore.Qt.TextFlag.TextShowMnemonic?10 +QtCore.Qt.TextFlag.TextWordWrap?10 +QtCore.Qt.TextFlag.TextWrapAnywhere?10 +QtCore.Qt.TextFlag.TextDontPrint?10 +QtCore.Qt.TextFlag.TextIncludeTrailingSpaces?10 +QtCore.Qt.TextFlag.TextHideMnemonic?10 +QtCore.Qt.TextFlag.TextJustificationForced?10 +QtCore.Qt.AlignmentFlag?10 +QtCore.Qt.AlignmentFlag.AlignLeft?10 +QtCore.Qt.AlignmentFlag.AlignLeading?10 +QtCore.Qt.AlignmentFlag.AlignRight?10 +QtCore.Qt.AlignmentFlag.AlignTrailing?10 +QtCore.Qt.AlignmentFlag.AlignHCenter?10 +QtCore.Qt.AlignmentFlag.AlignJustify?10 +QtCore.Qt.AlignmentFlag.AlignAbsolute?10 +QtCore.Qt.AlignmentFlag.AlignHorizontal_Mask?10 +QtCore.Qt.AlignmentFlag.AlignTop?10 +QtCore.Qt.AlignmentFlag.AlignBottom?10 +QtCore.Qt.AlignmentFlag.AlignVCenter?10 +QtCore.Qt.AlignmentFlag.AlignVertical_Mask?10 +QtCore.Qt.AlignmentFlag.AlignCenter?10 +QtCore.Qt.AlignmentFlag.AlignBaseline?10 +QtCore.Qt.SortOrder?10 +QtCore.Qt.SortOrder.AscendingOrder?10 +QtCore.Qt.SortOrder.DescendingOrder?10 +QtCore.Qt.FocusPolicy?10 +QtCore.Qt.FocusPolicy.NoFocus?10 +QtCore.Qt.FocusPolicy.TabFocus?10 +QtCore.Qt.FocusPolicy.ClickFocus?10 +QtCore.Qt.FocusPolicy.StrongFocus?10 +QtCore.Qt.FocusPolicy.WheelFocus?10 +QtCore.Qt.Orientation?10 +QtCore.Qt.Orientation.Horizontal?10 +QtCore.Qt.Orientation.Vertical?10 +QtCore.Qt.MouseButton?10 +QtCore.Qt.MouseButton.NoButton?10 +QtCore.Qt.MouseButton.AllButtons?10 +QtCore.Qt.MouseButton.LeftButton?10 +QtCore.Qt.MouseButton.RightButton?10 +QtCore.Qt.MouseButton.MidButton?10 +QtCore.Qt.MouseButton.MiddleButton?10 +QtCore.Qt.MouseButton.XButton1?10 +QtCore.Qt.MouseButton.XButton2?10 +QtCore.Qt.MouseButton.BackButton?10 +QtCore.Qt.MouseButton.ExtraButton1?10 +QtCore.Qt.MouseButton.ForwardButton?10 +QtCore.Qt.MouseButton.ExtraButton2?10 +QtCore.Qt.MouseButton.TaskButton?10 +QtCore.Qt.MouseButton.ExtraButton3?10 +QtCore.Qt.MouseButton.ExtraButton4?10 +QtCore.Qt.MouseButton.ExtraButton5?10 +QtCore.Qt.MouseButton.ExtraButton6?10 +QtCore.Qt.MouseButton.ExtraButton7?10 +QtCore.Qt.MouseButton.ExtraButton8?10 +QtCore.Qt.MouseButton.ExtraButton9?10 +QtCore.Qt.MouseButton.ExtraButton10?10 +QtCore.Qt.MouseButton.ExtraButton11?10 +QtCore.Qt.MouseButton.ExtraButton12?10 +QtCore.Qt.MouseButton.ExtraButton13?10 +QtCore.Qt.MouseButton.ExtraButton14?10 +QtCore.Qt.MouseButton.ExtraButton15?10 +QtCore.Qt.MouseButton.ExtraButton16?10 +QtCore.Qt.MouseButton.ExtraButton17?10 +QtCore.Qt.MouseButton.ExtraButton18?10 +QtCore.Qt.MouseButton.ExtraButton19?10 +QtCore.Qt.MouseButton.ExtraButton20?10 +QtCore.Qt.MouseButton.ExtraButton21?10 +QtCore.Qt.MouseButton.ExtraButton22?10 +QtCore.Qt.MouseButton.ExtraButton23?10 +QtCore.Qt.MouseButton.ExtraButton24?10 +QtCore.Qt.Modifier?10 +QtCore.Qt.Modifier.META?10 +QtCore.Qt.Modifier.SHIFT?10 +QtCore.Qt.Modifier.CTRL?10 +QtCore.Qt.Modifier.ALT?10 +QtCore.Qt.Modifier.MODIFIER_MASK?10 +QtCore.Qt.Modifier.UNICODE_ACCEL?10 +QtCore.Qt.KeyboardModifier?10 +QtCore.Qt.KeyboardModifier.NoModifier?10 +QtCore.Qt.KeyboardModifier.ShiftModifier?10 +QtCore.Qt.KeyboardModifier.ControlModifier?10 +QtCore.Qt.KeyboardModifier.AltModifier?10 +QtCore.Qt.KeyboardModifier.MetaModifier?10 +QtCore.Qt.KeyboardModifier.KeypadModifier?10 +QtCore.Qt.KeyboardModifier.GroupSwitchModifier?10 +QtCore.Qt.KeyboardModifier.KeyboardModifierMask?10 +QtCore.Qt.GlobalColor?10 +QtCore.Qt.GlobalColor.color0?10 +QtCore.Qt.GlobalColor.color1?10 +QtCore.Qt.GlobalColor.black?10 +QtCore.Qt.GlobalColor.white?10 +QtCore.Qt.GlobalColor.darkGray?10 +QtCore.Qt.GlobalColor.gray?10 +QtCore.Qt.GlobalColor.lightGray?10 +QtCore.Qt.GlobalColor.red?10 +QtCore.Qt.GlobalColor.green?10 +QtCore.Qt.GlobalColor.blue?10 +QtCore.Qt.GlobalColor.cyan?10 +QtCore.Qt.GlobalColor.magenta?10 +QtCore.Qt.GlobalColor.yellow?10 +QtCore.Qt.GlobalColor.darkRed?10 +QtCore.Qt.GlobalColor.darkGreen?10 +QtCore.Qt.GlobalColor.darkBlue?10 +QtCore.Qt.GlobalColor.darkCyan?10 +QtCore.Qt.GlobalColor.darkMagenta?10 +QtCore.Qt.GlobalColor.darkYellow?10 +QtCore.Qt.GlobalColor.transparent?10 +QtCore.Qt.KeyboardModifiers?1() +QtCore.Qt.KeyboardModifiers.__init__?1(self) +QtCore.Qt.KeyboardModifiers?1(int) +QtCore.Qt.KeyboardModifiers.__init__?1(self, int) +QtCore.Qt.KeyboardModifiers?1(Qt.KeyboardModifiers) +QtCore.Qt.KeyboardModifiers.__init__?1(self, Qt.KeyboardModifiers) +QtCore.Qt.MouseButtons?1() +QtCore.Qt.MouseButtons.__init__?1(self) +QtCore.Qt.MouseButtons?1(int) +QtCore.Qt.MouseButtons.__init__?1(self, int) +QtCore.Qt.MouseButtons?1(Qt.MouseButtons) +QtCore.Qt.MouseButtons.__init__?1(self, Qt.MouseButtons) +QtCore.Qt.Orientations?1() +QtCore.Qt.Orientations.__init__?1(self) +QtCore.Qt.Orientations?1(int) +QtCore.Qt.Orientations.__init__?1(self, int) +QtCore.Qt.Orientations?1(Qt.Orientations) +QtCore.Qt.Orientations.__init__?1(self, Qt.Orientations) +QtCore.Qt.Alignment?1() +QtCore.Qt.Alignment.__init__?1(self) +QtCore.Qt.Alignment?1(int) +QtCore.Qt.Alignment.__init__?1(self, int) +QtCore.Qt.Alignment?1(Qt.Alignment) +QtCore.Qt.Alignment.__init__?1(self, Qt.Alignment) +QtCore.Qt.WindowFlags?1() +QtCore.Qt.WindowFlags.__init__?1(self) +QtCore.Qt.WindowFlags?1(int) +QtCore.Qt.WindowFlags.__init__?1(self, int) +QtCore.Qt.WindowFlags?1(Qt.WindowFlags) +QtCore.Qt.WindowFlags.__init__?1(self, Qt.WindowFlags) +QtCore.Qt.WindowStates?1() +QtCore.Qt.WindowStates.__init__?1(self) +QtCore.Qt.WindowStates?1(int) +QtCore.Qt.WindowStates.__init__?1(self, int) +QtCore.Qt.WindowStates?1(Qt.WindowStates) +QtCore.Qt.WindowStates.__init__?1(self, Qt.WindowStates) +QtCore.Qt.ImageConversionFlags?1() +QtCore.Qt.ImageConversionFlags.__init__?1(self) +QtCore.Qt.ImageConversionFlags?1(int) +QtCore.Qt.ImageConversionFlags.__init__?1(self, int) +QtCore.Qt.ImageConversionFlags?1(Qt.ImageConversionFlags) +QtCore.Qt.ImageConversionFlags.__init__?1(self, Qt.ImageConversionFlags) +QtCore.Qt.DockWidgetAreas?1() +QtCore.Qt.DockWidgetAreas.__init__?1(self) +QtCore.Qt.DockWidgetAreas?1(int) +QtCore.Qt.DockWidgetAreas.__init__?1(self, int) +QtCore.Qt.DockWidgetAreas?1(Qt.DockWidgetAreas) +QtCore.Qt.DockWidgetAreas.__init__?1(self, Qt.DockWidgetAreas) +QtCore.Qt.ToolBarAreas?1() +QtCore.Qt.ToolBarAreas.__init__?1(self) +QtCore.Qt.ToolBarAreas?1(int) +QtCore.Qt.ToolBarAreas.__init__?1(self, int) +QtCore.Qt.ToolBarAreas?1(Qt.ToolBarAreas) +QtCore.Qt.ToolBarAreas.__init__?1(self, Qt.ToolBarAreas) +QtCore.Qt.InputMethodQueries?1() +QtCore.Qt.InputMethodQueries.__init__?1(self) +QtCore.Qt.InputMethodQueries?1(int) +QtCore.Qt.InputMethodQueries.__init__?1(self, int) +QtCore.Qt.InputMethodQueries?1(Qt.InputMethodQueries) +QtCore.Qt.InputMethodQueries.__init__?1(self, Qt.InputMethodQueries) +QtCore.Qt.DropActions?1() +QtCore.Qt.DropActions.__init__?1(self) +QtCore.Qt.DropActions?1(int) +QtCore.Qt.DropActions.__init__?1(self, int) +QtCore.Qt.DropActions?1(Qt.DropActions) +QtCore.Qt.DropActions.__init__?1(self, Qt.DropActions) +QtCore.Qt.ItemFlags?1() +QtCore.Qt.ItemFlags.__init__?1(self) +QtCore.Qt.ItemFlags?1(int) +QtCore.Qt.ItemFlags.__init__?1(self, int) +QtCore.Qt.ItemFlags?1(Qt.ItemFlags) +QtCore.Qt.ItemFlags.__init__?1(self, Qt.ItemFlags) +QtCore.Qt.MatchFlags?1() +QtCore.Qt.MatchFlags.__init__?1(self) +QtCore.Qt.MatchFlags?1(int) +QtCore.Qt.MatchFlags.__init__?1(self, int) +QtCore.Qt.MatchFlags?1(Qt.MatchFlags) +QtCore.Qt.MatchFlags.__init__?1(self, Qt.MatchFlags) +QtCore.Qt.TextInteractionFlags?1() +QtCore.Qt.TextInteractionFlags.__init__?1(self) +QtCore.Qt.TextInteractionFlags?1(int) +QtCore.Qt.TextInteractionFlags.__init__?1(self, int) +QtCore.Qt.TextInteractionFlags?1(Qt.TextInteractionFlags) +QtCore.Qt.TextInteractionFlags.__init__?1(self, Qt.TextInteractionFlags) +QtCore.Qt.InputMethodHints?1() +QtCore.Qt.InputMethodHints.__init__?1(self) +QtCore.Qt.InputMethodHints?1(int) +QtCore.Qt.InputMethodHints.__init__?1(self, int) +QtCore.Qt.InputMethodHints?1(Qt.InputMethodHints) +QtCore.Qt.InputMethodHints.__init__?1(self, Qt.InputMethodHints) +QtCore.Qt.TouchPointStates?1() +QtCore.Qt.TouchPointStates.__init__?1(self) +QtCore.Qt.TouchPointStates?1(int) +QtCore.Qt.TouchPointStates.__init__?1(self, int) +QtCore.Qt.TouchPointStates?1(Qt.TouchPointStates) +QtCore.Qt.TouchPointStates.__init__?1(self, Qt.TouchPointStates) +QtCore.Qt.GestureFlags?1() +QtCore.Qt.GestureFlags.__init__?1(self) +QtCore.Qt.GestureFlags?1(int) +QtCore.Qt.GestureFlags.__init__?1(self, int) +QtCore.Qt.GestureFlags?1(Qt.GestureFlags) +QtCore.Qt.GestureFlags.__init__?1(self, Qt.GestureFlags) +QtCore.Qt.ScreenOrientations?1() +QtCore.Qt.ScreenOrientations.__init__?1(self) +QtCore.Qt.ScreenOrientations?1(int) +QtCore.Qt.ScreenOrientations.__init__?1(self, int) +QtCore.Qt.ScreenOrientations?1(Qt.ScreenOrientations) +QtCore.Qt.ScreenOrientations.__init__?1(self, Qt.ScreenOrientations) +QtCore.Qt.FindChildOptions?1() +QtCore.Qt.FindChildOptions.__init__?1(self) +QtCore.Qt.FindChildOptions?1(int) +QtCore.Qt.FindChildOptions.__init__?1(self, int) +QtCore.Qt.FindChildOptions?1(Qt.FindChildOptions) +QtCore.Qt.FindChildOptions.__init__?1(self, Qt.FindChildOptions) +QtCore.Qt.ApplicationStates?1() +QtCore.Qt.ApplicationStates.__init__?1(self) +QtCore.Qt.ApplicationStates?1(int) +QtCore.Qt.ApplicationStates.__init__?1(self, int) +QtCore.Qt.ApplicationStates?1(Qt.ApplicationStates) +QtCore.Qt.ApplicationStates.__init__?1(self, Qt.ApplicationStates) +QtCore.Qt.Edges?1() +QtCore.Qt.Edges.__init__?1(self) +QtCore.Qt.Edges?1(int) +QtCore.Qt.Edges.__init__?1(self, int) +QtCore.Qt.Edges?1(Qt.Edges) +QtCore.Qt.Edges.__init__?1(self, Qt.Edges) +QtCore.Qt.MouseEventFlags?1() +QtCore.Qt.MouseEventFlags.__init__?1(self) +QtCore.Qt.MouseEventFlags?1(int) +QtCore.Qt.MouseEventFlags.__init__?1(self, int) +QtCore.Qt.MouseEventFlags?1(Qt.MouseEventFlags) +QtCore.Qt.MouseEventFlags.__init__?1(self, Qt.MouseEventFlags) +QtCore.QObject.staticMetaObject?7 +QtCore.QObject?1(QObject parent=None) +QtCore.QObject.__init__?1(self, QObject parent=None) +QtCore.QObject.metaObject?4() -> QMetaObject +QtCore.QObject.pyqtConfigure?4(object) +QtCore.QObject.__getattr__?4(str) -> object +QtCore.QObject.event?4(QEvent) -> bool +QtCore.QObject.eventFilter?4(QObject, QEvent) -> bool +QtCore.QObject.tr?4(str, str disambiguation=None, int n=-1) -> QString +QtCore.QObject.findChild?4(type, QString name='', Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> object +QtCore.QObject.findChild?4(tuple, QString name='', Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> object +QtCore.QObject.findChildren?4(type, QString name='', Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list +QtCore.QObject.findChildren?4(tuple, QString name='', Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list +QtCore.QObject.findChildren?4(type, QRegExp, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list +QtCore.QObject.findChildren?4(tuple, QRegExp, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list +QtCore.QObject.findChildren?4(type, QRegularExpression, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list +QtCore.QObject.findChildren?4(tuple, QRegularExpression, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> list +QtCore.QObject.objectName?4() -> QString +QtCore.QObject.setObjectName?4(QString) +QtCore.QObject.isWidgetType?4() -> bool +QtCore.QObject.isWindowType?4() -> bool +QtCore.QObject.signalsBlocked?4() -> bool +QtCore.QObject.blockSignals?4(bool) -> bool +QtCore.QObject.thread?4() -> QThread +QtCore.QObject.moveToThread?4(QThread) +QtCore.QObject.startTimer?4(int, Qt.TimerType timerType=Qt.CoarseTimer) -> int +QtCore.QObject.killTimer?4(int) +QtCore.QObject.children?4() -> unknown-type +QtCore.QObject.setParent?4(QObject) +QtCore.QObject.installEventFilter?4(QObject) +QtCore.QObject.removeEventFilter?4(QObject) +QtCore.QObject.dumpObjectInfo?4() +QtCore.QObject.dumpObjectTree?4() +QtCore.QObject.dynamicPropertyNames?4() -> unknown-type +QtCore.QObject.setProperty?4(str, QVariant) -> bool +QtCore.QObject.property?4(str) -> QVariant +QtCore.QObject.destroyed?4(QObject object=None) +QtCore.QObject.objectNameChanged?4(QString) +QtCore.QObject.parent?4() -> QObject +QtCore.QObject.inherits?4(str) -> bool +QtCore.QObject.deleteLater?4() +QtCore.QObject.sender?4() -> QObject +QtCore.QObject.receivers?4(object) -> int +QtCore.QObject.timerEvent?4(QTimerEvent) +QtCore.QObject.childEvent?4(QChildEvent) +QtCore.QObject.customEvent?4(QEvent) +QtCore.QObject.connectNotify?4(QMetaMethod) +QtCore.QObject.disconnectNotify?4(QMetaMethod) +QtCore.QObject.senderSignalIndex?4() -> int +QtCore.QObject.isSignalConnected?4(QMetaMethod) -> bool +QtCore.QObject.disconnect?4(QMetaObject.Connection) -> bool +QtCore.QObject.disconnect?4() -> object +QtCore.QAbstractAnimation.DeletionPolicy?10 +QtCore.QAbstractAnimation.DeletionPolicy.KeepWhenStopped?10 +QtCore.QAbstractAnimation.DeletionPolicy.DeleteWhenStopped?10 +QtCore.QAbstractAnimation.State?10 +QtCore.QAbstractAnimation.State.Stopped?10 +QtCore.QAbstractAnimation.State.Paused?10 +QtCore.QAbstractAnimation.State.Running?10 +QtCore.QAbstractAnimation.Direction?10 +QtCore.QAbstractAnimation.Direction.Forward?10 +QtCore.QAbstractAnimation.Direction.Backward?10 +QtCore.QAbstractAnimation?1(QObject parent=None) +QtCore.QAbstractAnimation.__init__?1(self, QObject parent=None) +QtCore.QAbstractAnimation.state?4() -> QAbstractAnimation.State +QtCore.QAbstractAnimation.group?4() -> QAnimationGroup +QtCore.QAbstractAnimation.direction?4() -> QAbstractAnimation.Direction +QtCore.QAbstractAnimation.setDirection?4(QAbstractAnimation.Direction) +QtCore.QAbstractAnimation.currentTime?4() -> int +QtCore.QAbstractAnimation.currentLoopTime?4() -> int +QtCore.QAbstractAnimation.loopCount?4() -> int +QtCore.QAbstractAnimation.setLoopCount?4(int) +QtCore.QAbstractAnimation.currentLoop?4() -> int +QtCore.QAbstractAnimation.duration?4() -> int +QtCore.QAbstractAnimation.totalDuration?4() -> int +QtCore.QAbstractAnimation.finished?4() +QtCore.QAbstractAnimation.stateChanged?4(QAbstractAnimation.State, QAbstractAnimation.State) +QtCore.QAbstractAnimation.currentLoopChanged?4(int) +QtCore.QAbstractAnimation.directionChanged?4(QAbstractAnimation.Direction) +QtCore.QAbstractAnimation.start?4(QAbstractAnimation.DeletionPolicy policy=QAbstractAnimation.KeepWhenStopped) +QtCore.QAbstractAnimation.pause?4() +QtCore.QAbstractAnimation.resume?4() +QtCore.QAbstractAnimation.setPaused?4(bool) +QtCore.QAbstractAnimation.stop?4() +QtCore.QAbstractAnimation.setCurrentTime?4(int) +QtCore.QAbstractAnimation.event?4(QEvent) -> bool +QtCore.QAbstractAnimation.updateCurrentTime?4(int) +QtCore.QAbstractAnimation.updateState?4(QAbstractAnimation.State, QAbstractAnimation.State) +QtCore.QAbstractAnimation.updateDirection?4(QAbstractAnimation.Direction) +QtCore.QAbstractEventDispatcher?1(QObject parent=None) +QtCore.QAbstractEventDispatcher.__init__?1(self, QObject parent=None) +QtCore.QAbstractEventDispatcher.instance?4(QThread thread=None) -> QAbstractEventDispatcher +QtCore.QAbstractEventDispatcher.processEvents?4(QEventLoop.ProcessEventsFlags) -> bool +QtCore.QAbstractEventDispatcher.hasPendingEvents?4() -> bool +QtCore.QAbstractEventDispatcher.registerSocketNotifier?4(QSocketNotifier) +QtCore.QAbstractEventDispatcher.unregisterSocketNotifier?4(QSocketNotifier) +QtCore.QAbstractEventDispatcher.registerTimer?4(int, Qt.TimerType, QObject) -> int +QtCore.QAbstractEventDispatcher.registerTimer?4(int, int, Qt.TimerType, QObject) +QtCore.QAbstractEventDispatcher.unregisterTimer?4(int) -> bool +QtCore.QAbstractEventDispatcher.unregisterTimers?4(QObject) -> bool +QtCore.QAbstractEventDispatcher.registeredTimers?4(QObject) -> unknown-type +QtCore.QAbstractEventDispatcher.wakeUp?4() +QtCore.QAbstractEventDispatcher.interrupt?4() +QtCore.QAbstractEventDispatcher.flush?4() +QtCore.QAbstractEventDispatcher.startingUp?4() +QtCore.QAbstractEventDispatcher.closingDown?4() +QtCore.QAbstractEventDispatcher.remainingTime?4(int) -> int +QtCore.QAbstractEventDispatcher.installNativeEventFilter?4(QAbstractNativeEventFilter) +QtCore.QAbstractEventDispatcher.removeNativeEventFilter?4(QAbstractNativeEventFilter) +QtCore.QAbstractEventDispatcher.registerEventNotifier?4(QWinEventNotifier) -> bool +QtCore.QAbstractEventDispatcher.unregisterEventNotifier?4(QWinEventNotifier) +QtCore.QAbstractEventDispatcher.filterNativeEvent?4(QByteArray, sip.voidptr) -> (bool, int) +QtCore.QAbstractEventDispatcher.aboutToBlock?4() +QtCore.QAbstractEventDispatcher.awake?4() +QtCore.QAbstractEventDispatcher.TimerInfo.interval?7 +QtCore.QAbstractEventDispatcher.TimerInfo.timerId?7 +QtCore.QAbstractEventDispatcher.TimerInfo.timerType?7 +QtCore.QAbstractEventDispatcher.TimerInfo?1(int, int, Qt.TimerType) +QtCore.QAbstractEventDispatcher.TimerInfo.__init__?1(self, int, int, Qt.TimerType) +QtCore.QAbstractEventDispatcher.TimerInfo?1(QAbstractEventDispatcher.TimerInfo) +QtCore.QAbstractEventDispatcher.TimerInfo.__init__?1(self, QAbstractEventDispatcher.TimerInfo) +QtCore.QModelIndex?1() +QtCore.QModelIndex.__init__?1(self) +QtCore.QModelIndex?1(QModelIndex) +QtCore.QModelIndex.__init__?1(self, QModelIndex) +QtCore.QModelIndex?1(QPersistentModelIndex) +QtCore.QModelIndex.__init__?1(self, QPersistentModelIndex) +QtCore.QModelIndex.child?4(int, int) -> QModelIndex +QtCore.QModelIndex.row?4() -> int +QtCore.QModelIndex.column?4() -> int +QtCore.QModelIndex.data?4(int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtCore.QModelIndex.flags?4() -> Qt.ItemFlags +QtCore.QModelIndex.internalPointer?4() -> object +QtCore.QModelIndex.internalId?4() -> object +QtCore.QModelIndex.model?4() -> QAbstractItemModel +QtCore.QModelIndex.isValid?4() -> bool +QtCore.QModelIndex.parent?4() -> QModelIndex +QtCore.QModelIndex.sibling?4(int, int) -> QModelIndex +QtCore.QModelIndex.siblingAtColumn?4(int) -> QModelIndex +QtCore.QModelIndex.siblingAtRow?4(int) -> QModelIndex +QtCore.QPersistentModelIndex?1() +QtCore.QPersistentModelIndex.__init__?1(self) +QtCore.QPersistentModelIndex?1(QModelIndex) +QtCore.QPersistentModelIndex.__init__?1(self, QModelIndex) +QtCore.QPersistentModelIndex?1(QPersistentModelIndex) +QtCore.QPersistentModelIndex.__init__?1(self, QPersistentModelIndex) +QtCore.QPersistentModelIndex.row?4() -> int +QtCore.QPersistentModelIndex.column?4() -> int +QtCore.QPersistentModelIndex.data?4(int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtCore.QPersistentModelIndex.flags?4() -> Qt.ItemFlags +QtCore.QPersistentModelIndex.parent?4() -> QModelIndex +QtCore.QPersistentModelIndex.sibling?4(int, int) -> QModelIndex +QtCore.QPersistentModelIndex.child?4(int, int) -> QModelIndex +QtCore.QPersistentModelIndex.model?4() -> QAbstractItemModel +QtCore.QPersistentModelIndex.isValid?4() -> bool +QtCore.QPersistentModelIndex.swap?4(QPersistentModelIndex) +QtCore.QAbstractItemModel.CheckIndexOption?10 +QtCore.QAbstractItemModel.CheckIndexOption.NoOption?10 +QtCore.QAbstractItemModel.CheckIndexOption.IndexIsValid?10 +QtCore.QAbstractItemModel.CheckIndexOption.DoNotUseParent?10 +QtCore.QAbstractItemModel.CheckIndexOption.ParentIsInvalid?10 +QtCore.QAbstractItemModel.LayoutChangeHint?10 +QtCore.QAbstractItemModel.LayoutChangeHint.NoLayoutChangeHint?10 +QtCore.QAbstractItemModel.LayoutChangeHint.VerticalSortHint?10 +QtCore.QAbstractItemModel.LayoutChangeHint.HorizontalSortHint?10 +QtCore.QAbstractItemModel?1(QObject parent=None) +QtCore.QAbstractItemModel.__init__?1(self, QObject parent=None) +QtCore.QAbstractItemModel.hasIndex?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtCore.QAbstractItemModel.parent?4(QModelIndex) -> QModelIndex +QtCore.QAbstractItemModel.parent?4() -> QObject +QtCore.QAbstractItemModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtCore.QAbstractItemModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QAbstractItemModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QAbstractItemModel.hasChildren?4(QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.data?4(QModelIndex, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtCore.QAbstractItemModel.setData?4(QModelIndex, QVariant, int role=Qt.ItemDataRole.EditRole) -> bool +QtCore.QAbstractItemModel.headerData?4(int, Qt.Orientation, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtCore.QAbstractItemModel.setHeaderData?4(int, Qt.Orientation, QVariant, int role=Qt.ItemDataRole.EditRole) -> bool +QtCore.QAbstractItemModel.itemData?4(QModelIndex) -> unknown-type +QtCore.QAbstractItemModel.setItemData?4(QModelIndex, unknown-type) -> bool +QtCore.QAbstractItemModel.mimeTypes?4() -> QStringList +QtCore.QAbstractItemModel.mimeData?4(unknown-type) -> QMimeData +QtCore.QAbstractItemModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QAbstractItemModel.supportedDropActions?4() -> Qt.DropActions +QtCore.QAbstractItemModel.insertRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.insertColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.removeRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.removeColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.fetchMore?4(QModelIndex) +QtCore.QAbstractItemModel.canFetchMore?4(QModelIndex) -> bool +QtCore.QAbstractItemModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtCore.QAbstractItemModel.sort?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtCore.QAbstractItemModel.buddy?4(QModelIndex) -> QModelIndex +QtCore.QAbstractItemModel.match?4(QModelIndex, int, QVariant, int hits=1, Qt.MatchFlags flags=Qt.MatchStartsWith|Qt.MatchWrap) -> unknown-type +QtCore.QAbstractItemModel.span?4(QModelIndex) -> QSize +QtCore.QAbstractItemModel.dataChanged?4(QModelIndex, QModelIndex, unknown-type roles=[]) +QtCore.QAbstractItemModel.headerDataChanged?4(Qt.Orientation, int, int) +QtCore.QAbstractItemModel.layoutAboutToBeChanged?4(unknown-type parents=[], QAbstractItemModel.LayoutChangeHint hint=QAbstractItemModel.NoLayoutChangeHint) +QtCore.QAbstractItemModel.layoutChanged?4(unknown-type parents=[], QAbstractItemModel.LayoutChangeHint hint=QAbstractItemModel.NoLayoutChangeHint) +QtCore.QAbstractItemModel.rowsAboutToBeInserted?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.rowsInserted?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.rowsAboutToBeRemoved?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.rowsRemoved?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.columnsAboutToBeInserted?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.columnsInserted?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.columnsAboutToBeRemoved?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.columnsRemoved?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.modelAboutToBeReset?4() +QtCore.QAbstractItemModel.modelReset?4() +QtCore.QAbstractItemModel.submit?4() -> bool +QtCore.QAbstractItemModel.revert?4() +QtCore.QAbstractItemModel.encodeData?4(unknown-type, QDataStream) +QtCore.QAbstractItemModel.decodeData?4(int, int, QModelIndex, QDataStream) -> bool +QtCore.QAbstractItemModel.beginInsertRows?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.endInsertRows?4() +QtCore.QAbstractItemModel.beginRemoveRows?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.endRemoveRows?4() +QtCore.QAbstractItemModel.beginInsertColumns?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.endInsertColumns?4() +QtCore.QAbstractItemModel.beginRemoveColumns?4(QModelIndex, int, int) +QtCore.QAbstractItemModel.endRemoveColumns?4() +QtCore.QAbstractItemModel.persistentIndexList?4() -> unknown-type +QtCore.QAbstractItemModel.changePersistentIndex?4(QModelIndex, QModelIndex) +QtCore.QAbstractItemModel.changePersistentIndexList?4(unknown-type, unknown-type) +QtCore.QAbstractItemModel.insertRow?4(int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.insertColumn?4(int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.removeRow?4(int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.removeColumn?4(int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractItemModel.supportedDragActions?4() -> Qt.DropActions +QtCore.QAbstractItemModel.roleNames?4() -> unknown-type +QtCore.QAbstractItemModel.createIndex?4(int, int, object object=0) -> QModelIndex +QtCore.QAbstractItemModel.rowsAboutToBeMoved?4(QModelIndex, int, int, QModelIndex, int) +QtCore.QAbstractItemModel.rowsMoved?4(QModelIndex, int, int, QModelIndex, int) +QtCore.QAbstractItemModel.columnsAboutToBeMoved?4(QModelIndex, int, int, QModelIndex, int) +QtCore.QAbstractItemModel.columnsMoved?4(QModelIndex, int, int, QModelIndex, int) +QtCore.QAbstractItemModel.beginMoveRows?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QAbstractItemModel.endMoveRows?4() +QtCore.QAbstractItemModel.beginMoveColumns?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QAbstractItemModel.endMoveColumns?4() +QtCore.QAbstractItemModel.beginResetModel?4() +QtCore.QAbstractItemModel.endResetModel?4() +QtCore.QAbstractItemModel.resetInternalData?4() +QtCore.QAbstractItemModel.canDropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QAbstractItemModel.moveRows?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QAbstractItemModel.moveColumns?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QAbstractItemModel.moveRow?4(QModelIndex, int, QModelIndex, int) -> bool +QtCore.QAbstractItemModel.moveColumn?4(QModelIndex, int, QModelIndex, int) -> bool +QtCore.QAbstractItemModel.checkIndex?4(QModelIndex, QAbstractItemModel.CheckIndexOptions options=QAbstractItemModel.CheckIndexOption.NoOption) -> bool +QtCore.QAbstractItemModel.CheckIndexOptions?1() +QtCore.QAbstractItemModel.CheckIndexOptions.__init__?1(self) +QtCore.QAbstractItemModel.CheckIndexOptions?1(int) +QtCore.QAbstractItemModel.CheckIndexOptions.__init__?1(self, int) +QtCore.QAbstractItemModel.CheckIndexOptions?1(QAbstractItemModel.CheckIndexOptions) +QtCore.QAbstractItemModel.CheckIndexOptions.__init__?1(self, QAbstractItemModel.CheckIndexOptions) +QtCore.QAbstractTableModel?1(QObject parent=None) +QtCore.QAbstractTableModel.__init__?1(self, QObject parent=None) +QtCore.QAbstractTableModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtCore.QAbstractTableModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QAbstractTableModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtCore.QAbstractTableModel.parent?4() -> QObject +QtCore.QAbstractTableModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtCore.QAbstractListModel?1(QObject parent=None) +QtCore.QAbstractListModel.__init__?1(self, QObject parent=None) +QtCore.QAbstractListModel.index?4(int, int column=0, QModelIndex parent=QModelIndex()) -> QModelIndex +QtCore.QAbstractListModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QAbstractListModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtCore.QAbstractListModel.parent?4() -> QObject +QtCore.QAbstractListModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtCore.QAbstractNativeEventFilter?1() +QtCore.QAbstractNativeEventFilter.__init__?1(self) +QtCore.QAbstractNativeEventFilter.nativeEventFilter?4(QByteArray, sip.voidptr) -> (bool, int) +QtCore.QAbstractProxyModel?1(QObject parent=None) +QtCore.QAbstractProxyModel.__init__?1(self, QObject parent=None) +QtCore.QAbstractProxyModel.setSourceModel?4(QAbstractItemModel) +QtCore.QAbstractProxyModel.sourceModel?4() -> QAbstractItemModel +QtCore.QAbstractProxyModel.mapToSource?4(QModelIndex) -> QModelIndex +QtCore.QAbstractProxyModel.mapFromSource?4(QModelIndex) -> QModelIndex +QtCore.QAbstractProxyModel.mapSelectionToSource?4(QItemSelection) -> QItemSelection +QtCore.QAbstractProxyModel.mapSelectionFromSource?4(QItemSelection) -> QItemSelection +QtCore.QAbstractProxyModel.submit?4() -> bool +QtCore.QAbstractProxyModel.revert?4() +QtCore.QAbstractProxyModel.data?4(QModelIndex, int role=Qt.DisplayRole) -> QVariant +QtCore.QAbstractProxyModel.setData?4(QModelIndex, QVariant, int role=Qt.EditRole) -> bool +QtCore.QAbstractProxyModel.headerData?4(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant +QtCore.QAbstractProxyModel.setHeaderData?4(int, Qt.Orientation, QVariant, int role=Qt.EditRole) -> bool +QtCore.QAbstractProxyModel.itemData?4(QModelIndex) -> unknown-type +QtCore.QAbstractProxyModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtCore.QAbstractProxyModel.setItemData?4(QModelIndex, unknown-type) -> bool +QtCore.QAbstractProxyModel.buddy?4(QModelIndex) -> QModelIndex +QtCore.QAbstractProxyModel.canFetchMore?4(QModelIndex) -> bool +QtCore.QAbstractProxyModel.fetchMore?4(QModelIndex) +QtCore.QAbstractProxyModel.sort?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtCore.QAbstractProxyModel.span?4(QModelIndex) -> QSize +QtCore.QAbstractProxyModel.hasChildren?4(QModelIndex parent=QModelIndex()) -> bool +QtCore.QAbstractProxyModel.mimeData?4(unknown-type) -> QMimeData +QtCore.QAbstractProxyModel.mimeTypes?4() -> QStringList +QtCore.QAbstractProxyModel.supportedDropActions?4() -> Qt.DropActions +QtCore.QAbstractProxyModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtCore.QAbstractProxyModel.resetInternalData?4() +QtCore.QAbstractProxyModel.sourceModelChanged?4() +QtCore.QAbstractProxyModel.canDropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QAbstractProxyModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QAbstractProxyModel.supportedDragActions?4() -> Qt.DropActions +QtCore.QAbstractState?1(QState parent=None) +QtCore.QAbstractState.__init__?1(self, QState parent=None) +QtCore.QAbstractState.parentState?4() -> QState +QtCore.QAbstractState.machine?4() -> QStateMachine +QtCore.QAbstractState.active?4() -> bool +QtCore.QAbstractState.activeChanged?4(bool) +QtCore.QAbstractState.entered?4() +QtCore.QAbstractState.exited?4() +QtCore.QAbstractState.onEntry?4(QEvent) +QtCore.QAbstractState.onExit?4(QEvent) +QtCore.QAbstractState.event?4(QEvent) -> bool +QtCore.QAbstractTransition.TransitionType?10 +QtCore.QAbstractTransition.TransitionType.ExternalTransition?10 +QtCore.QAbstractTransition.TransitionType.InternalTransition?10 +QtCore.QAbstractTransition?1(QState sourceState=None) +QtCore.QAbstractTransition.__init__?1(self, QState sourceState=None) +QtCore.QAbstractTransition.sourceState?4() -> QState +QtCore.QAbstractTransition.targetState?4() -> QAbstractState +QtCore.QAbstractTransition.setTargetState?4(QAbstractState) +QtCore.QAbstractTransition.targetStates?4() -> unknown-type +QtCore.QAbstractTransition.setTargetStates?4(unknown-type) +QtCore.QAbstractTransition.machine?4() -> QStateMachine +QtCore.QAbstractTransition.addAnimation?4(QAbstractAnimation) +QtCore.QAbstractTransition.removeAnimation?4(QAbstractAnimation) +QtCore.QAbstractTransition.animations?4() -> unknown-type +QtCore.QAbstractTransition.triggered?4() +QtCore.QAbstractTransition.targetStateChanged?4() +QtCore.QAbstractTransition.targetStatesChanged?4() +QtCore.QAbstractTransition.eventTest?4(QEvent) -> bool +QtCore.QAbstractTransition.onTransition?4(QEvent) +QtCore.QAbstractTransition.event?4(QEvent) -> bool +QtCore.QAbstractTransition.transitionType?4() -> QAbstractTransition.TransitionType +QtCore.QAbstractTransition.setTransitionType?4(QAbstractTransition.TransitionType) +QtCore.QAnimationGroup?1(QObject parent=None) +QtCore.QAnimationGroup.__init__?1(self, QObject parent=None) +QtCore.QAnimationGroup.animationAt?4(int) -> QAbstractAnimation +QtCore.QAnimationGroup.animationCount?4() -> int +QtCore.QAnimationGroup.indexOfAnimation?4(QAbstractAnimation) -> int +QtCore.QAnimationGroup.addAnimation?4(QAbstractAnimation) +QtCore.QAnimationGroup.insertAnimation?4(int, QAbstractAnimation) +QtCore.QAnimationGroup.removeAnimation?4(QAbstractAnimation) +QtCore.QAnimationGroup.takeAnimation?4(int) -> QAbstractAnimation +QtCore.QAnimationGroup.clear?4() +QtCore.QAnimationGroup.event?4(QEvent) -> bool +QtCore.QBasicTimer?1() +QtCore.QBasicTimer.__init__?1(self) +QtCore.QBasicTimer?1(QBasicTimer) +QtCore.QBasicTimer.__init__?1(self, QBasicTimer) +QtCore.QBasicTimer.isActive?4() -> bool +QtCore.QBasicTimer.timerId?4() -> int +QtCore.QBasicTimer.start?4(int, Qt.TimerType, QObject) +QtCore.QBasicTimer.start?4(int, QObject) +QtCore.QBasicTimer.stop?4() +QtCore.QBasicTimer.swap?4(QBasicTimer) +QtCore.QBitArray?1() +QtCore.QBitArray.__init__?1(self) +QtCore.QBitArray?1(int, bool value=False) +QtCore.QBitArray.__init__?1(self, int, bool value=False) +QtCore.QBitArray?1(QBitArray) +QtCore.QBitArray.__init__?1(self, QBitArray) +QtCore.QBitArray.size?4() -> int +QtCore.QBitArray.count?4() -> int +QtCore.QBitArray.count?4(bool) -> int +QtCore.QBitArray.isEmpty?4() -> bool +QtCore.QBitArray.isNull?4() -> bool +QtCore.QBitArray.resize?4(int) +QtCore.QBitArray.detach?4() +QtCore.QBitArray.isDetached?4() -> bool +QtCore.QBitArray.clear?4() +QtCore.QBitArray.fill?4(bool, int, int) +QtCore.QBitArray.truncate?4(int) +QtCore.QBitArray.fill?4(bool, int size=-1) -> bool +QtCore.QBitArray.testBit?4(int) -> bool +QtCore.QBitArray.setBit?4(int) +QtCore.QBitArray.clearBit?4(int) +QtCore.QBitArray.setBit?4(int, bool) +QtCore.QBitArray.toggleBit?4(int) -> bool +QtCore.QBitArray.at?4(int) -> bool +QtCore.QBitArray.swap?4(QBitArray) +QtCore.QBitArray.bits?4() -> object +QtCore.QBitArray.fromBits?4(str, int) -> QBitArray +QtCore.QIODevice.OpenModeFlag?10 +QtCore.QIODevice.OpenModeFlag.NotOpen?10 +QtCore.QIODevice.OpenModeFlag.ReadOnly?10 +QtCore.QIODevice.OpenModeFlag.WriteOnly?10 +QtCore.QIODevice.OpenModeFlag.ReadWrite?10 +QtCore.QIODevice.OpenModeFlag.Append?10 +QtCore.QIODevice.OpenModeFlag.Truncate?10 +QtCore.QIODevice.OpenModeFlag.Text?10 +QtCore.QIODevice.OpenModeFlag.Unbuffered?10 +QtCore.QIODevice.OpenModeFlag.NewOnly?10 +QtCore.QIODevice.OpenModeFlag.ExistingOnly?10 +QtCore.QIODevice?1() +QtCore.QIODevice.__init__?1(self) +QtCore.QIODevice?1(QObject) +QtCore.QIODevice.__init__?1(self, QObject) +QtCore.QIODevice.openMode?4() -> QIODevice.OpenMode +QtCore.QIODevice.setTextModeEnabled?4(bool) +QtCore.QIODevice.isTextModeEnabled?4() -> bool +QtCore.QIODevice.isOpen?4() -> bool +QtCore.QIODevice.isReadable?4() -> bool +QtCore.QIODevice.isWritable?4() -> bool +QtCore.QIODevice.isSequential?4() -> bool +QtCore.QIODevice.open?4(QIODevice.OpenMode) -> bool +QtCore.QIODevice.close?4() +QtCore.QIODevice.pos?4() -> int +QtCore.QIODevice.size?4() -> int +QtCore.QIODevice.seek?4(int) -> bool +QtCore.QIODevice.atEnd?4() -> bool +QtCore.QIODevice.reset?4() -> bool +QtCore.QIODevice.bytesAvailable?4() -> int +QtCore.QIODevice.bytesToWrite?4() -> int +QtCore.QIODevice.read?4(int) -> object +QtCore.QIODevice.readAll?4() -> QByteArray +QtCore.QIODevice.readLine?4(int maxlen=0) -> object +QtCore.QIODevice.canReadLine?4() -> bool +QtCore.QIODevice.peek?4(int) -> QByteArray +QtCore.QIODevice.write?4(QByteArray) -> int +QtCore.QIODevice.waitForReadyRead?4(int) -> bool +QtCore.QIODevice.waitForBytesWritten?4(int) -> bool +QtCore.QIODevice.ungetChar?4(str) +QtCore.QIODevice.putChar?4(str) -> bool +QtCore.QIODevice.getChar?4() -> (bool, str) +QtCore.QIODevice.errorString?4() -> QString +QtCore.QIODevice.readyRead?4() +QtCore.QIODevice.bytesWritten?4(int) +QtCore.QIODevice.aboutToClose?4() +QtCore.QIODevice.readChannelFinished?4() +QtCore.QIODevice.readData?4(int) -> object +QtCore.QIODevice.readLineData?4(int) -> object +QtCore.QIODevice.writeData?4(bytes) -> int +QtCore.QIODevice.setOpenMode?4(QIODevice.OpenMode) +QtCore.QIODevice.setErrorString?4(QString) +QtCore.QIODevice.readChannelCount?4() -> int +QtCore.QIODevice.writeChannelCount?4() -> int +QtCore.QIODevice.currentReadChannel?4() -> int +QtCore.QIODevice.setCurrentReadChannel?4(int) +QtCore.QIODevice.currentWriteChannel?4() -> int +QtCore.QIODevice.setCurrentWriteChannel?4(int) +QtCore.QIODevice.startTransaction?4() +QtCore.QIODevice.commitTransaction?4() +QtCore.QIODevice.rollbackTransaction?4() +QtCore.QIODevice.isTransactionStarted?4() -> bool +QtCore.QIODevice.channelReadyRead?4(int) +QtCore.QIODevice.channelBytesWritten?4(int, int) +QtCore.QIODevice.skip?4(int) -> int +QtCore.QBuffer?1(QObject parent=None) +QtCore.QBuffer.__init__?1(self, QObject parent=None) +QtCore.QBuffer?1(QByteArray, QObject parent=None) +QtCore.QBuffer.__init__?1(self, QByteArray, QObject parent=None) +QtCore.QBuffer.buffer?4() -> QByteArray +QtCore.QBuffer.data?4() -> QByteArray +QtCore.QBuffer.setBuffer?4(QByteArray) +QtCore.QBuffer.setData?4(QByteArray) +QtCore.QBuffer.setData?4(bytes) +QtCore.QBuffer.open?4(QIODevice.OpenMode) -> bool +QtCore.QBuffer.close?4() +QtCore.QBuffer.size?4() -> int +QtCore.QBuffer.pos?4() -> int +QtCore.QBuffer.seek?4(int) -> bool +QtCore.QBuffer.atEnd?4() -> bool +QtCore.QBuffer.canReadLine?4() -> bool +QtCore.QBuffer.readData?4(int) -> object +QtCore.QBuffer.writeData?4(bytes) -> int +QtCore.QBuffer.connectNotify?4(QMetaMethod) +QtCore.QBuffer.disconnectNotify?4(QMetaMethod) +QtCore.QByteArray.Base64DecodingStatus?10 +QtCore.QByteArray.Base64DecodingStatus.Ok?10 +QtCore.QByteArray.Base64DecodingStatus.IllegalInputLength?10 +QtCore.QByteArray.Base64DecodingStatus.IllegalCharacter?10 +QtCore.QByteArray.Base64DecodingStatus.IllegalPadding?10 +QtCore.QByteArray.Base64Option?10 +QtCore.QByteArray.Base64Option.Base64Encoding?10 +QtCore.QByteArray.Base64Option.Base64UrlEncoding?10 +QtCore.QByteArray.Base64Option.KeepTrailingEquals?10 +QtCore.QByteArray.Base64Option.OmitTrailingEquals?10 +QtCore.QByteArray.Base64Option.IgnoreBase64DecodingErrors?10 +QtCore.QByteArray.Base64Option.AbortOnBase64DecodingErrors?10 +QtCore.QByteArray?1() +QtCore.QByteArray.__init__?1(self) +QtCore.QByteArray?1(int, str) +QtCore.QByteArray.__init__?1(self, int, str) +QtCore.QByteArray?1(QByteArray) +QtCore.QByteArray.__init__?1(self, QByteArray) +QtCore.QByteArray.resize?4(int) +QtCore.QByteArray.fill?4(str, int size=-1) -> QByteArray +QtCore.QByteArray.clear?4() +QtCore.QByteArray.indexOf?4(QByteArray, int from=0) -> int +QtCore.QByteArray.indexOf?4(QString, int from=0) -> int +QtCore.QByteArray.lastIndexOf?4(QByteArray, int from=-1) -> int +QtCore.QByteArray.lastIndexOf?4(QString, int from=-1) -> int +QtCore.QByteArray.count?4(QByteArray) -> int +QtCore.QByteArray.left?4(int) -> QByteArray +QtCore.QByteArray.right?4(int) -> QByteArray +QtCore.QByteArray.mid?4(int, int length=-1) -> QByteArray +QtCore.QByteArray.startsWith?4(QByteArray) -> bool +QtCore.QByteArray.endsWith?4(QByteArray) -> bool +QtCore.QByteArray.truncate?4(int) +QtCore.QByteArray.chop?4(int) +QtCore.QByteArray.toLower?4() -> QByteArray +QtCore.QByteArray.toUpper?4() -> QByteArray +QtCore.QByteArray.trimmed?4() -> QByteArray +QtCore.QByteArray.simplified?4() -> QByteArray +QtCore.QByteArray.leftJustified?4(int, str fill=' ', bool truncate=False) -> QByteArray +QtCore.QByteArray.rightJustified?4(int, str fill=' ', bool truncate=False) -> QByteArray +QtCore.QByteArray.prepend?4(QByteArray) -> QByteArray +QtCore.QByteArray.append?4(QByteArray) -> QByteArray +QtCore.QByteArray.append?4(QString) -> QByteArray +QtCore.QByteArray.insert?4(int, QByteArray) -> QByteArray +QtCore.QByteArray.insert?4(int, QString) -> QByteArray +QtCore.QByteArray.remove?4(int, int) -> QByteArray +QtCore.QByteArray.replace?4(int, int, QByteArray) -> QByteArray +QtCore.QByteArray.replace?4(QByteArray, QByteArray) -> QByteArray +QtCore.QByteArray.replace?4(QString, QByteArray) -> QByteArray +QtCore.QByteArray.split?4(str) -> unknown-type +QtCore.QByteArray.toShort?4(int base=10) -> (int, bool) +QtCore.QByteArray.toUShort?4(int base=10) -> (int, bool) +QtCore.QByteArray.toInt?4(int base=10) -> (int, bool) +QtCore.QByteArray.toUInt?4(int base=10) -> (int, bool) +QtCore.QByteArray.toLong?4(int base=10) -> (int, bool) +QtCore.QByteArray.toULong?4(int base=10) -> (int, bool) +QtCore.QByteArray.toLongLong?4(int base=10) -> (int, bool) +QtCore.QByteArray.toULongLong?4(int base=10) -> (int, bool) +QtCore.QByteArray.toFloat?4() -> (float, bool) +QtCore.QByteArray.toDouble?4() -> (float, bool) +QtCore.QByteArray.toBase64?4() -> QByteArray +QtCore.QByteArray.setNum?4(float, str format='g', int precision=6) -> QByteArray +QtCore.QByteArray.setNum?4(object, int base=10) -> QByteArray +QtCore.QByteArray.number?4(float, str format='g', int precision=6) -> QByteArray +QtCore.QByteArray.number?4(object, int base=10) -> QByteArray +QtCore.QByteArray.fromBase64?4(QByteArray) -> QByteArray +QtCore.QByteArray.fromRawData?4(bytes) -> QByteArray +QtCore.QByteArray.fromHex?4(QByteArray) -> QByteArray +QtCore.QByteArray.count?4() -> int +QtCore.QByteArray.length?4() -> int +QtCore.QByteArray.isNull?4() -> bool +QtCore.QByteArray.size?4() -> int +QtCore.QByteArray.at?4(int) -> str +QtCore.QByteArray.isEmpty?4() -> bool +QtCore.QByteArray.data?4() -> object +QtCore.QByteArray.capacity?4() -> int +QtCore.QByteArray.reserve?4(int) +QtCore.QByteArray.squeeze?4() +QtCore.QByteArray.push_back?4(QByteArray) +QtCore.QByteArray.push_front?4(QByteArray) +QtCore.QByteArray.contains?4(QByteArray) -> bool +QtCore.QByteArray.toHex?4() -> QByteArray +QtCore.QByteArray.toPercentEncoding?4(QByteArray exclude=QByteArray(), QByteArray include=QByteArray(), str percent='%') -> QByteArray +QtCore.QByteArray.fromPercentEncoding?4(QByteArray, str percent='%') -> QByteArray +QtCore.QByteArray.repeated?4(int) -> QByteArray +QtCore.QByteArray.swap?4(QByteArray) +QtCore.QByteArray.toBase64?4(QByteArray.Base64Options) -> QByteArray +QtCore.QByteArray.fromBase64?4(QByteArray, QByteArray.Base64Options) -> QByteArray +QtCore.QByteArray.prepend?4(int, str) -> QByteArray +QtCore.QByteArray.append?4(int, str) -> QByteArray +QtCore.QByteArray.insert?4(int, int, str) -> QByteArray +QtCore.QByteArray.toHex?4(str) -> QByteArray +QtCore.QByteArray.chopped?4(int) -> QByteArray +QtCore.QByteArray.compare?4(QByteArray, Qt.CaseSensitivity cs=Qt.CaseSensitive) -> int +QtCore.QByteArray.isUpper?4() -> bool +QtCore.QByteArray.isLower?4() -> bool +QtCore.QByteArray.fromBase64Encoding?4(QByteArray, QByteArray.Base64Options options=QByteArray.Base64Encoding) -> QByteArray.FromBase64Result +QtCore.QByteArray.Base64Options?1() +QtCore.QByteArray.Base64Options.__init__?1(self) +QtCore.QByteArray.Base64Options?1(int) +QtCore.QByteArray.Base64Options.__init__?1(self, int) +QtCore.QByteArray.Base64Options?1(QByteArray.Base64Options) +QtCore.QByteArray.Base64Options.__init__?1(self, QByteArray.Base64Options) +QtCore.QByteArray.FromBase64Result.decoded?7 +QtCore.QByteArray.FromBase64Result.decodingStatus?7 +QtCore.QByteArray.FromBase64Result?1() +QtCore.QByteArray.FromBase64Result.__init__?1(self) +QtCore.QByteArray.FromBase64Result?1(QByteArray.FromBase64Result) +QtCore.QByteArray.FromBase64Result.__init__?1(self, QByteArray.FromBase64Result) +QtCore.QByteArray.FromBase64Result.swap?4(QByteArray.FromBase64Result) +QtCore.QByteArrayMatcher?1() +QtCore.QByteArrayMatcher.__init__?1(self) +QtCore.QByteArrayMatcher?1(QByteArray) +QtCore.QByteArrayMatcher.__init__?1(self, QByteArray) +QtCore.QByteArrayMatcher?1(QByteArrayMatcher) +QtCore.QByteArrayMatcher.__init__?1(self, QByteArrayMatcher) +QtCore.QByteArrayMatcher.setPattern?4(QByteArray) +QtCore.QByteArrayMatcher.indexIn?4(QByteArray, int from=0) -> int +QtCore.QByteArrayMatcher.pattern?4() -> QByteArray +QtCore.QCalendar.System?10 +QtCore.QCalendar.System.Gregorian?10 +QtCore.QCalendar.System.Julian?10 +QtCore.QCalendar.System.Milankovic?10 +QtCore.QCalendar.System.Jalali?10 +QtCore.QCalendar.System.IslamicCivil?10 +QtCore.Unspecified?10 +QtCore.QCalendar?1() +QtCore.QCalendar.__init__?1(self) +QtCore.QCalendar?1(QCalendar.System) +QtCore.QCalendar.__init__?1(self, QCalendar.System) +QtCore.QCalendar?1(str) +QtCore.QCalendar.__init__?1(self, str) +QtCore.QCalendar?1(QCalendar) +QtCore.QCalendar.__init__?1(self, QCalendar) +QtCore.QCalendar.daysInMonth?4(int, int year=QCalendar.Unspecified) -> int +QtCore.QCalendar.daysInYear?4(int) -> int +QtCore.QCalendar.monthsInYear?4(int) -> int +QtCore.QCalendar.isDateValid?4(int, int, int) -> bool +QtCore.QCalendar.isLeapYear?4(int) -> bool +QtCore.QCalendar.isGregorian?4() -> bool +QtCore.QCalendar.isLunar?4() -> bool +QtCore.QCalendar.isLuniSolar?4() -> bool +QtCore.QCalendar.isSolar?4() -> bool +QtCore.QCalendar.isProleptic?4() -> bool +QtCore.QCalendar.hasYearZero?4() -> bool +QtCore.QCalendar.maximumDaysInMonth?4() -> int +QtCore.QCalendar.minimumDaysInMonth?4() -> int +QtCore.QCalendar.maximumMonthsInYear?4() -> int +QtCore.QCalendar.name?4() -> QString +QtCore.QCalendar.dateFromParts?4(int, int, int) -> QDate +QtCore.QCalendar.dateFromParts?4(QCalendar.YearMonthDay) -> QDate +QtCore.QCalendar.partsFromDate?4(QDate) -> QCalendar.YearMonthDay +QtCore.QCalendar.dayOfWeek?4(QDate) -> int +QtCore.QCalendar.monthName?4(QLocale, int, int year=QCalendar.Unspecified, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QCalendar.standaloneMonthName?4(QLocale, int, int year=QCalendar.Unspecified, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QCalendar.weekDayName?4(QLocale, int, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QCalendar.standaloneWeekDayName?4(QLocale, int, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QCalendar.dateTimeToString?4(QString, QDateTime, QDate, QTime, QLocale) -> QString +QtCore.QCalendar.availableCalendars?4() -> QStringList +QtCore.QCalendar.YearMonthDay.day?7 +QtCore.QCalendar.YearMonthDay.month?7 +QtCore.QCalendar.YearMonthDay.year?7 +QtCore.QCalendar.YearMonthDay?1() +QtCore.QCalendar.YearMonthDay.__init__?1(self) +QtCore.QCalendar.YearMonthDay?1(int, int month=1, int day=1) +QtCore.QCalendar.YearMonthDay.__init__?1(self, int, int month=1, int day=1) +QtCore.QCalendar.YearMonthDay?1(QCalendar.YearMonthDay) +QtCore.QCalendar.YearMonthDay.__init__?1(self, QCalendar.YearMonthDay) +QtCore.QCalendar.YearMonthDay.isValid?4() -> bool +QtCore.QCborError.Code?10 +QtCore.QCborError.Code.UnknownError?10 +QtCore.QCborError.Code.AdvancePastEnd?10 +QtCore.QCborError.Code.InputOutputError?10 +QtCore.QCborError.Code.GarbageAtEnd?10 +QtCore.QCborError.Code.EndOfFile?10 +QtCore.QCborError.Code.UnexpectedBreak?10 +QtCore.QCborError.Code.UnknownType?10 +QtCore.QCborError.Code.IllegalType?10 +QtCore.QCborError.Code.IllegalNumber?10 +QtCore.QCborError.Code.IllegalSimpleType?10 +QtCore.QCborError.Code.InvalidUtf8String?10 +QtCore.QCborError.Code.DataTooLarge?10 +QtCore.QCborError.Code.NestingTooDeep?10 +QtCore.QCborError.Code.UnsupportedType?10 +QtCore.QCborError.Code.NoError?10 +QtCore.QCborError?1() +QtCore.QCborError.__init__?1(self) +QtCore.QCborError?1(QCborError) +QtCore.QCborError.__init__?1(self, QCborError) +QtCore.QCborError.code?4() -> QCborError.Code +QtCore.QCborError.toString?4() -> QString +QtCore.QCborStreamWriter?1(QIODevice) +QtCore.QCborStreamWriter.__init__?1(self, QIODevice) +QtCore.QCborStreamWriter?1(QByteArray) +QtCore.QCborStreamWriter.__init__?1(self, QByteArray) +QtCore.QCborStreamWriter.setDevice?4(QIODevice) +QtCore.QCborStreamWriter.device?4() -> QIODevice +QtCore.QCborStreamWriter.append?4(QCborSimpleType) +QtCore.QCborStreamWriter.append?4(QCborKnownTags) +QtCore.QCborStreamWriter.append?4(QString) +QtCore.QCborStreamWriter.append?4(QByteArray) +QtCore.QCborStreamWriter.append?4(bool) +QtCore.QCborStreamWriter.append?4(float) +QtCore.QCborStreamWriter.append?4(object) +QtCore.QCborStreamWriter.appendNull?4() +QtCore.QCborStreamWriter.appendUndefined?4() +QtCore.QCborStreamWriter.startArray?4() +QtCore.QCborStreamWriter.startArray?4(int) +QtCore.QCborStreamWriter.endArray?4() -> bool +QtCore.QCborStreamWriter.startMap?4() +QtCore.QCborStreamWriter.startMap?4(int) +QtCore.QCborStreamWriter.endMap?4() -> bool +QtCore.QCborStreamReader.StringResultCode?10 +QtCore.QCborStreamReader.StringResultCode.EndOfString?10 +QtCore.QCborStreamReader.StringResultCode.Ok?10 +QtCore.QCborStreamReader.StringResultCode.Error?10 +QtCore.QCborStreamReader.Type?10 +QtCore.QCborStreamReader.Type.UnsignedInteger?10 +QtCore.QCborStreamReader.Type.NegativeInteger?10 +QtCore.QCborStreamReader.Type.ByteString?10 +QtCore.QCborStreamReader.Type.ByteArray?10 +QtCore.QCborStreamReader.Type.TextString?10 +QtCore.QCborStreamReader.Type.String?10 +QtCore.QCborStreamReader.Type.Array?10 +QtCore.QCborStreamReader.Type.Map?10 +QtCore.QCborStreamReader.Type.Tag?10 +QtCore.QCborStreamReader.Type.SimpleType?10 +QtCore.QCborStreamReader.Type.HalfFloat?10 +QtCore.QCborStreamReader.Type.Float16?10 +QtCore.QCborStreamReader.Type.Float?10 +QtCore.QCborStreamReader.Type.Double?10 +QtCore.QCborStreamReader.Type.Invalid?10 +QtCore.QCborStreamReader?1() +QtCore.QCborStreamReader.__init__?1(self) +QtCore.QCborStreamReader?1(QByteArray) +QtCore.QCborStreamReader.__init__?1(self, QByteArray) +QtCore.QCborStreamReader?1(QIODevice) +QtCore.QCborStreamReader.__init__?1(self, QIODevice) +QtCore.QCborStreamReader.setDevice?4(QIODevice) +QtCore.QCborStreamReader.device?4() -> QIODevice +QtCore.QCborStreamReader.addData?4(QByteArray) +QtCore.QCborStreamReader.reparse?4() +QtCore.QCborStreamReader.clear?4() +QtCore.QCborStreamReader.reset?4() +QtCore.QCborStreamReader.lastError?4() -> QCborError +QtCore.QCborStreamReader.currentOffset?4() -> int +QtCore.QCborStreamReader.isValid?4() -> bool +QtCore.QCborStreamReader.containerDepth?4() -> int +QtCore.QCborStreamReader.parentContainerType?4() -> QCborStreamReader.Type +QtCore.QCborStreamReader.hasNext?4() -> bool +QtCore.QCborStreamReader.next?4(int maxRecursion=10000) -> bool +QtCore.QCborStreamReader.type?4() -> QCborStreamReader.Type +QtCore.QCborStreamReader.isUnsignedInteger?4() -> bool +QtCore.QCborStreamReader.isNegativeInteger?4() -> bool +QtCore.QCborStreamReader.isInteger?4() -> bool +QtCore.QCborStreamReader.isByteArray?4() -> bool +QtCore.QCborStreamReader.isString?4() -> bool +QtCore.QCborStreamReader.isArray?4() -> bool +QtCore.QCborStreamReader.isMap?4() -> bool +QtCore.QCborStreamReader.isTag?4() -> bool +QtCore.QCborStreamReader.isSimpleType?4() -> bool +QtCore.QCborStreamReader.isFloat16?4() -> bool +QtCore.QCborStreamReader.isFloat?4() -> bool +QtCore.QCborStreamReader.isDouble?4() -> bool +QtCore.QCborStreamReader.isInvalid?4() -> bool +QtCore.QCborStreamReader.isSimpleType?4(QCborSimpleType) -> bool +QtCore.QCborStreamReader.isFalse?4() -> bool +QtCore.QCborStreamReader.isTrue?4() -> bool +QtCore.QCborStreamReader.isBool?4() -> bool +QtCore.QCborStreamReader.isNull?4() -> bool +QtCore.QCborStreamReader.isUndefined?4() -> bool +QtCore.QCborStreamReader.isLengthKnown?4() -> bool +QtCore.QCborStreamReader.length?4() -> int +QtCore.QCborStreamReader.isContainer?4() -> bool +QtCore.QCborStreamReader.enterContainer?4() -> bool +QtCore.QCborStreamReader.leaveContainer?4() -> bool +QtCore.QCborStreamReader.readString?4() -> tuple +QtCore.QCborStreamReader.readByteArray?4() -> tuple +QtCore.QCborStreamReader.toBool?4() -> bool +QtCore.QCborStreamReader.toUnsignedInteger?4() -> int +QtCore.QCborStreamReader.toSimpleType?4() -> QCborSimpleType +QtCore.QCborStreamReader.toDouble?4() -> float +QtCore.QCborStreamReader.toInteger?4() -> int +QtCore.QCollatorSortKey?1(QCollatorSortKey) +QtCore.QCollatorSortKey.__init__?1(self, QCollatorSortKey) +QtCore.QCollatorSortKey.swap?4(QCollatorSortKey) +QtCore.QCollatorSortKey.compare?4(QCollatorSortKey) -> int +QtCore.QCollator?1(QLocale locale=QLocale()) +QtCore.QCollator.__init__?1(self, QLocale locale=QLocale()) +QtCore.QCollator?1(QCollator) +QtCore.QCollator.__init__?1(self, QCollator) +QtCore.QCollator.swap?4(QCollator) +QtCore.QCollator.setLocale?4(QLocale) +QtCore.QCollator.locale?4() -> QLocale +QtCore.QCollator.caseSensitivity?4() -> Qt.CaseSensitivity +QtCore.QCollator.setCaseSensitivity?4(Qt.CaseSensitivity) +QtCore.QCollator.setNumericMode?4(bool) +QtCore.QCollator.numericMode?4() -> bool +QtCore.QCollator.setIgnorePunctuation?4(bool) +QtCore.QCollator.ignorePunctuation?4() -> bool +QtCore.QCollator.compare?4(QString, QString) -> int +QtCore.QCollator.sortKey?4(QString) -> QCollatorSortKey +QtCore.QCommandLineOption.Flag?10 +QtCore.QCommandLineOption.Flag.HiddenFromHelp?10 +QtCore.QCommandLineOption.Flag.ShortOptionStyle?10 +QtCore.QCommandLineOption?1(QString) +QtCore.QCommandLineOption.__init__?1(self, QString) +QtCore.QCommandLineOption?1(QStringList) +QtCore.QCommandLineOption.__init__?1(self, QStringList) +QtCore.QCommandLineOption?1(QString, QString, QString valueName='', QString defaultValue='') +QtCore.QCommandLineOption.__init__?1(self, QString, QString, QString valueName='', QString defaultValue='') +QtCore.QCommandLineOption?1(QStringList, QString, QString valueName='', QString defaultValue='') +QtCore.QCommandLineOption.__init__?1(self, QStringList, QString, QString valueName='', QString defaultValue='') +QtCore.QCommandLineOption?1(QCommandLineOption) +QtCore.QCommandLineOption.__init__?1(self, QCommandLineOption) +QtCore.QCommandLineOption.swap?4(QCommandLineOption) +QtCore.QCommandLineOption.names?4() -> QStringList +QtCore.QCommandLineOption.setValueName?4(QString) +QtCore.QCommandLineOption.valueName?4() -> QString +QtCore.QCommandLineOption.setDescription?4(QString) +QtCore.QCommandLineOption.description?4() -> QString +QtCore.QCommandLineOption.setDefaultValue?4(QString) +QtCore.QCommandLineOption.setDefaultValues?4(QStringList) +QtCore.QCommandLineOption.defaultValues?4() -> QStringList +QtCore.QCommandLineOption.setHidden?4(bool) +QtCore.QCommandLineOption.isHidden?4() -> bool +QtCore.QCommandLineOption.flags?4() -> QCommandLineOption.Flags +QtCore.QCommandLineOption.setFlags?4(QCommandLineOption.Flags) +QtCore.QCommandLineOption.Flags?1() +QtCore.QCommandLineOption.Flags.__init__?1(self) +QtCore.QCommandLineOption.Flags?1(int) +QtCore.QCommandLineOption.Flags.__init__?1(self, int) +QtCore.QCommandLineOption.Flags?1(QCommandLineOption.Flags) +QtCore.QCommandLineOption.Flags.__init__?1(self, QCommandLineOption.Flags) +QtCore.QCommandLineParser.OptionsAfterPositionalArgumentsMode?10 +QtCore.QCommandLineParser.OptionsAfterPositionalArgumentsMode.ParseAsOptions?10 +QtCore.QCommandLineParser.OptionsAfterPositionalArgumentsMode.ParseAsPositionalArguments?10 +QtCore.QCommandLineParser.SingleDashWordOptionMode?10 +QtCore.QCommandLineParser.SingleDashWordOptionMode.ParseAsCompactedShortOptions?10 +QtCore.QCommandLineParser.SingleDashWordOptionMode.ParseAsLongOptions?10 +QtCore.QCommandLineParser?1() +QtCore.QCommandLineParser.__init__?1(self) +QtCore.QCommandLineParser.setSingleDashWordOptionMode?4(QCommandLineParser.SingleDashWordOptionMode) +QtCore.QCommandLineParser.addOption?4(QCommandLineOption) -> bool +QtCore.QCommandLineParser.addVersionOption?4() -> QCommandLineOption +QtCore.QCommandLineParser.addHelpOption?4() -> QCommandLineOption +QtCore.QCommandLineParser.setApplicationDescription?4(QString) +QtCore.QCommandLineParser.applicationDescription?4() -> QString +QtCore.QCommandLineParser.addPositionalArgument?4(QString, QString, QString syntax='') +QtCore.QCommandLineParser.clearPositionalArguments?4() +QtCore.QCommandLineParser.process?4(QStringList) +QtCore.QCommandLineParser.process?4(QCoreApplication) +QtCore.QCommandLineParser.parse?4(QStringList) -> bool +QtCore.QCommandLineParser.errorText?4() -> QString +QtCore.QCommandLineParser.isSet?4(QString) -> bool +QtCore.QCommandLineParser.value?4(QString) -> QString +QtCore.QCommandLineParser.values?4(QString) -> QStringList +QtCore.QCommandLineParser.isSet?4(QCommandLineOption) -> bool +QtCore.QCommandLineParser.value?4(QCommandLineOption) -> QString +QtCore.QCommandLineParser.values?4(QCommandLineOption) -> QStringList +QtCore.QCommandLineParser.positionalArguments?4() -> QStringList +QtCore.QCommandLineParser.optionNames?4() -> QStringList +QtCore.QCommandLineParser.unknownOptionNames?4() -> QStringList +QtCore.QCommandLineParser.showHelp?4(int exitCode=0) +QtCore.QCommandLineParser.helpText?4() -> QString +QtCore.QCommandLineParser.addOptions?4(unknown-type) -> bool +QtCore.QCommandLineParser.showVersion?4() +QtCore.QCommandLineParser.setOptionsAfterPositionalArgumentsMode?4(QCommandLineParser.OptionsAfterPositionalArgumentsMode) +QtCore.QConcatenateTablesProxyModel?1(QObject parent=None) +QtCore.QConcatenateTablesProxyModel.__init__?1(self, QObject parent=None) +QtCore.QConcatenateTablesProxyModel.addSourceModel?4(QAbstractItemModel) +QtCore.QConcatenateTablesProxyModel.removeSourceModel?4(QAbstractItemModel) +QtCore.QConcatenateTablesProxyModel.mapFromSource?4(QModelIndex) -> QModelIndex +QtCore.QConcatenateTablesProxyModel.mapToSource?4(QModelIndex) -> QModelIndex +QtCore.QConcatenateTablesProxyModel.data?4(QModelIndex, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtCore.QConcatenateTablesProxyModel.setData?4(QModelIndex, QVariant, int role=Qt.ItemDataRole.EditRole) -> bool +QtCore.QConcatenateTablesProxyModel.itemData?4(QModelIndex) -> unknown-type +QtCore.QConcatenateTablesProxyModel.setItemData?4(QModelIndex, unknown-type) -> bool +QtCore.QConcatenateTablesProxyModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtCore.QConcatenateTablesProxyModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtCore.QConcatenateTablesProxyModel.parent?4(QModelIndex) -> QModelIndex +QtCore.QConcatenateTablesProxyModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QConcatenateTablesProxyModel.headerData?4(int, Qt.Orientation, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtCore.QConcatenateTablesProxyModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QConcatenateTablesProxyModel.mimeTypes?4() -> QStringList +QtCore.QConcatenateTablesProxyModel.mimeData?4(unknown-type) -> QMimeData +QtCore.QConcatenateTablesProxyModel.canDropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QConcatenateTablesProxyModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QConcatenateTablesProxyModel.span?4(QModelIndex) -> QSize +QtCore.QConcatenateTablesProxyModel.sourceModels?4() -> unknown-type +QtCore.QCoreApplication?1(list) +QtCore.QCoreApplication.__init__?1(self, list) +QtCore.QCoreApplication.setOrganizationDomain?4(QString) +QtCore.QCoreApplication.organizationDomain?4() -> QString +QtCore.QCoreApplication.setOrganizationName?4(QString) +QtCore.QCoreApplication.organizationName?4() -> QString +QtCore.QCoreApplication.setApplicationName?4(QString) +QtCore.QCoreApplication.applicationName?4() -> QString +QtCore.QCoreApplication.arguments?4() -> QStringList +QtCore.QCoreApplication.instance?4() -> QCoreApplication +QtCore.QCoreApplication.exec_?4() -> int +QtCore.QCoreApplication.exec?4() -> int +QtCore.QCoreApplication.processEvents?4(QEventLoop.ProcessEventsFlags flags=QEventLoop.ProcessEventsFlag.AllEvents) +QtCore.QCoreApplication.processEvents?4(QEventLoop.ProcessEventsFlags, int) +QtCore.QCoreApplication.exit?4(int returnCode=0) +QtCore.QCoreApplication.sendEvent?4(QObject, QEvent) -> bool +QtCore.QCoreApplication.postEvent?4(QObject, QEvent, int priority=Qt.EventPriority.NormalEventPriority) +QtCore.QCoreApplication.sendPostedEvents?4(QObject receiver=None, int eventType=0) +QtCore.QCoreApplication.removePostedEvents?4(QObject, int eventType=0) +QtCore.QCoreApplication.hasPendingEvents?4() -> bool +QtCore.QCoreApplication.notify?4(QObject, QEvent) -> bool +QtCore.QCoreApplication.startingUp?4() -> bool +QtCore.QCoreApplication.closingDown?4() -> bool +QtCore.QCoreApplication.applicationDirPath?4() -> QString +QtCore.QCoreApplication.applicationFilePath?4() -> QString +QtCore.QCoreApplication.setLibraryPaths?4(QStringList) +QtCore.QCoreApplication.libraryPaths?4() -> QStringList +QtCore.QCoreApplication.addLibraryPath?4(QString) +QtCore.QCoreApplication.removeLibraryPath?4(QString) +QtCore.QCoreApplication.installTranslator?4(QTranslator) -> bool +QtCore.QCoreApplication.removeTranslator?4(QTranslator) -> bool +QtCore.QCoreApplication.translate?4(str, str, str disambiguation=None, int n=-1) -> QString +QtCore.QCoreApplication.flush?4() +QtCore.QCoreApplication.setAttribute?4(Qt.ApplicationAttribute, bool on=True) +QtCore.QCoreApplication.testAttribute?4(Qt.ApplicationAttribute) -> bool +QtCore.QCoreApplication.quit?4() +QtCore.QCoreApplication.aboutToQuit?4() +QtCore.QCoreApplication.event?4(QEvent) -> bool +QtCore.QCoreApplication.setApplicationVersion?4(QString) +QtCore.QCoreApplication.applicationVersion?4() -> QString +QtCore.QCoreApplication.applicationPid?4() -> int +QtCore.QCoreApplication.eventDispatcher?4() -> QAbstractEventDispatcher +QtCore.QCoreApplication.setEventDispatcher?4(QAbstractEventDispatcher) +QtCore.QCoreApplication.isQuitLockEnabled?4() -> bool +QtCore.QCoreApplication.setQuitLockEnabled?4(bool) +QtCore.QCoreApplication.installNativeEventFilter?4(QAbstractNativeEventFilter) +QtCore.QCoreApplication.removeNativeEventFilter?4(QAbstractNativeEventFilter) +QtCore.QCoreApplication.setSetuidAllowed?4(bool) +QtCore.QCoreApplication.isSetuidAllowed?4() -> bool +QtCore.QCoreApplication.__enter__?4() -> object +QtCore.QCoreApplication.__exit__?4(object, object, object) +QtCore.QEvent.Type?10 +QtCore.QEvent.Type.None_?10 +QtCore.QEvent.Type.Timer?10 +QtCore.QEvent.Type.MouseButtonPress?10 +QtCore.QEvent.Type.MouseButtonRelease?10 +QtCore.QEvent.Type.MouseButtonDblClick?10 +QtCore.QEvent.Type.MouseMove?10 +QtCore.QEvent.Type.KeyPress?10 +QtCore.QEvent.Type.KeyRelease?10 +QtCore.QEvent.Type.FocusIn?10 +QtCore.QEvent.Type.FocusOut?10 +QtCore.QEvent.Type.Enter?10 +QtCore.QEvent.Type.Leave?10 +QtCore.QEvent.Type.Paint?10 +QtCore.QEvent.Type.Move?10 +QtCore.QEvent.Type.Resize?10 +QtCore.QEvent.Type.Show?10 +QtCore.QEvent.Type.Hide?10 +QtCore.QEvent.Type.Close?10 +QtCore.QEvent.Type.ParentChange?10 +QtCore.QEvent.Type.ParentAboutToChange?10 +QtCore.QEvent.Type.ThreadChange?10 +QtCore.QEvent.Type.WindowActivate?10 +QtCore.QEvent.Type.WindowDeactivate?10 +QtCore.QEvent.Type.ShowToParent?10 +QtCore.QEvent.Type.HideToParent?10 +QtCore.QEvent.Type.Wheel?10 +QtCore.QEvent.Type.WindowTitleChange?10 +QtCore.QEvent.Type.WindowIconChange?10 +QtCore.QEvent.Type.ApplicationWindowIconChange?10 +QtCore.QEvent.Type.ApplicationFontChange?10 +QtCore.QEvent.Type.ApplicationLayoutDirectionChange?10 +QtCore.QEvent.Type.ApplicationPaletteChange?10 +QtCore.QEvent.Type.PaletteChange?10 +QtCore.QEvent.Type.Clipboard?10 +QtCore.QEvent.Type.MetaCall?10 +QtCore.QEvent.Type.SockAct?10 +QtCore.QEvent.Type.WinEventAct?10 +QtCore.QEvent.Type.DeferredDelete?10 +QtCore.QEvent.Type.DragEnter?10 +QtCore.QEvent.Type.DragMove?10 +QtCore.QEvent.Type.DragLeave?10 +QtCore.QEvent.Type.Drop?10 +QtCore.QEvent.Type.ChildAdded?10 +QtCore.QEvent.Type.ChildPolished?10 +QtCore.QEvent.Type.ChildRemoved?10 +QtCore.QEvent.Type.PolishRequest?10 +QtCore.QEvent.Type.Polish?10 +QtCore.QEvent.Type.LayoutRequest?10 +QtCore.QEvent.Type.UpdateRequest?10 +QtCore.QEvent.Type.UpdateLater?10 +QtCore.QEvent.Type.ContextMenu?10 +QtCore.QEvent.Type.InputMethod?10 +QtCore.QEvent.Type.TabletMove?10 +QtCore.QEvent.Type.LocaleChange?10 +QtCore.QEvent.Type.LanguageChange?10 +QtCore.QEvent.Type.LayoutDirectionChange?10 +QtCore.QEvent.Type.TabletPress?10 +QtCore.QEvent.Type.TabletRelease?10 +QtCore.QEvent.Type.OkRequest?10 +QtCore.QEvent.Type.IconDrag?10 +QtCore.QEvent.Type.FontChange?10 +QtCore.QEvent.Type.EnabledChange?10 +QtCore.QEvent.Type.ActivationChange?10 +QtCore.QEvent.Type.StyleChange?10 +QtCore.QEvent.Type.IconTextChange?10 +QtCore.QEvent.Type.ModifiedChange?10 +QtCore.QEvent.Type.MouseTrackingChange?10 +QtCore.QEvent.Type.WindowBlocked?10 +QtCore.QEvent.Type.WindowUnblocked?10 +QtCore.QEvent.Type.WindowStateChange?10 +QtCore.QEvent.Type.ToolTip?10 +QtCore.QEvent.Type.WhatsThis?10 +QtCore.QEvent.Type.StatusTip?10 +QtCore.QEvent.Type.ActionChanged?10 +QtCore.QEvent.Type.ActionAdded?10 +QtCore.QEvent.Type.ActionRemoved?10 +QtCore.QEvent.Type.FileOpen?10 +QtCore.QEvent.Type.Shortcut?10 +QtCore.QEvent.Type.ShortcutOverride?10 +QtCore.QEvent.Type.WhatsThisClicked?10 +QtCore.QEvent.Type.ToolBarChange?10 +QtCore.QEvent.Type.ApplicationActivate?10 +QtCore.QEvent.Type.ApplicationActivated?10 +QtCore.QEvent.Type.ApplicationDeactivate?10 +QtCore.QEvent.Type.ApplicationDeactivated?10 +QtCore.QEvent.Type.QueryWhatsThis?10 +QtCore.QEvent.Type.EnterWhatsThisMode?10 +QtCore.QEvent.Type.LeaveWhatsThisMode?10 +QtCore.QEvent.Type.ZOrderChange?10 +QtCore.QEvent.Type.HoverEnter?10 +QtCore.QEvent.Type.HoverLeave?10 +QtCore.QEvent.Type.HoverMove?10 +QtCore.QEvent.Type.GraphicsSceneMouseMove?10 +QtCore.QEvent.Type.GraphicsSceneMousePress?10 +QtCore.QEvent.Type.GraphicsSceneMouseRelease?10 +QtCore.QEvent.Type.GraphicsSceneMouseDoubleClick?10 +QtCore.QEvent.Type.GraphicsSceneContextMenu?10 +QtCore.QEvent.Type.GraphicsSceneHoverEnter?10 +QtCore.QEvent.Type.GraphicsSceneHoverMove?10 +QtCore.QEvent.Type.GraphicsSceneHoverLeave?10 +QtCore.QEvent.Type.GraphicsSceneHelp?10 +QtCore.QEvent.Type.GraphicsSceneDragEnter?10 +QtCore.QEvent.Type.GraphicsSceneDragMove?10 +QtCore.QEvent.Type.GraphicsSceneDragLeave?10 +QtCore.QEvent.Type.GraphicsSceneDrop?10 +QtCore.QEvent.Type.GraphicsSceneWheel?10 +QtCore.QEvent.Type.GraphicsSceneResize?10 +QtCore.QEvent.Type.GraphicsSceneMove?10 +QtCore.QEvent.Type.KeyboardLayoutChange?10 +QtCore.QEvent.Type.DynamicPropertyChange?10 +QtCore.QEvent.Type.TabletEnterProximity?10 +QtCore.QEvent.Type.TabletLeaveProximity?10 +QtCore.QEvent.Type.NonClientAreaMouseMove?10 +QtCore.QEvent.Type.NonClientAreaMouseButtonPress?10 +QtCore.QEvent.Type.NonClientAreaMouseButtonRelease?10 +QtCore.QEvent.Type.NonClientAreaMouseButtonDblClick?10 +QtCore.QEvent.Type.MacSizeChange?10 +QtCore.QEvent.Type.ContentsRectChange?10 +QtCore.QEvent.Type.CursorChange?10 +QtCore.QEvent.Type.ToolTipChange?10 +QtCore.QEvent.Type.GrabMouse?10 +QtCore.QEvent.Type.UngrabMouse?10 +QtCore.QEvent.Type.GrabKeyboard?10 +QtCore.QEvent.Type.UngrabKeyboard?10 +QtCore.QEvent.Type.StateMachineSignal?10 +QtCore.QEvent.Type.StateMachineWrapped?10 +QtCore.QEvent.Type.TouchBegin?10 +QtCore.QEvent.Type.TouchUpdate?10 +QtCore.QEvent.Type.TouchEnd?10 +QtCore.QEvent.Type.RequestSoftwareInputPanel?10 +QtCore.QEvent.Type.CloseSoftwareInputPanel?10 +QtCore.QEvent.Type.WinIdChange?10 +QtCore.QEvent.Type.Gesture?10 +QtCore.QEvent.Type.GestureOverride?10 +QtCore.QEvent.Type.FocusAboutToChange?10 +QtCore.QEvent.Type.ScrollPrepare?10 +QtCore.QEvent.Type.Scroll?10 +QtCore.QEvent.Type.Expose?10 +QtCore.QEvent.Type.InputMethodQuery?10 +QtCore.QEvent.Type.OrientationChange?10 +QtCore.QEvent.Type.TouchCancel?10 +QtCore.QEvent.Type.PlatformPanel?10 +QtCore.QEvent.Type.ApplicationStateChange?10 +QtCore.QEvent.Type.ReadOnlyChange?10 +QtCore.QEvent.Type.PlatformSurface?10 +QtCore.QEvent.Type.TabletTrackingChange?10 +QtCore.QEvent.Type.User?10 +QtCore.QEvent.Type.MaxUser?10 +QtCore.QEvent?1(QEvent.Type) +QtCore.QEvent.__init__?1(self, QEvent.Type) +QtCore.QEvent?1(QEvent) +QtCore.QEvent.__init__?1(self, QEvent) +QtCore.QEvent.type?4() -> QEvent.Type +QtCore.QEvent.spontaneous?4() -> bool +QtCore.QEvent.setAccepted?4(bool) +QtCore.QEvent.isAccepted?4() -> bool +QtCore.QEvent.accept?4() +QtCore.QEvent.ignore?4() +QtCore.QEvent.registerEventType?4(int hint=-1) -> int +QtCore.QTimerEvent?1(int) +QtCore.QTimerEvent.__init__?1(self, int) +QtCore.QTimerEvent?1(QTimerEvent) +QtCore.QTimerEvent.__init__?1(self, QTimerEvent) +QtCore.QTimerEvent.timerId?4() -> int +QtCore.QChildEvent?1(QEvent.Type, QObject) +QtCore.QChildEvent.__init__?1(self, QEvent.Type, QObject) +QtCore.QChildEvent?1(QChildEvent) +QtCore.QChildEvent.__init__?1(self, QChildEvent) +QtCore.QChildEvent.child?4() -> QObject +QtCore.QChildEvent.added?4() -> bool +QtCore.QChildEvent.polished?4() -> bool +QtCore.QChildEvent.removed?4() -> bool +QtCore.QDynamicPropertyChangeEvent?1(QByteArray) +QtCore.QDynamicPropertyChangeEvent.__init__?1(self, QByteArray) +QtCore.QDynamicPropertyChangeEvent?1(QDynamicPropertyChangeEvent) +QtCore.QDynamicPropertyChangeEvent.__init__?1(self, QDynamicPropertyChangeEvent) +QtCore.QDynamicPropertyChangeEvent.propertyName?4() -> QByteArray +QtCore.QCryptographicHash.Algorithm?10 +QtCore.QCryptographicHash.Algorithm.Md4?10 +QtCore.QCryptographicHash.Algorithm.Md5?10 +QtCore.QCryptographicHash.Algorithm.Sha1?10 +QtCore.QCryptographicHash.Algorithm.Sha224?10 +QtCore.QCryptographicHash.Algorithm.Sha256?10 +QtCore.QCryptographicHash.Algorithm.Sha384?10 +QtCore.QCryptographicHash.Algorithm.Sha512?10 +QtCore.QCryptographicHash.Algorithm.Sha3_224?10 +QtCore.QCryptographicHash.Algorithm.Sha3_256?10 +QtCore.QCryptographicHash.Algorithm.Sha3_384?10 +QtCore.QCryptographicHash.Algorithm.Sha3_512?10 +QtCore.QCryptographicHash.Algorithm.Keccak_224?10 +QtCore.QCryptographicHash.Algorithm.Keccak_256?10 +QtCore.QCryptographicHash.Algorithm.Keccak_384?10 +QtCore.QCryptographicHash.Algorithm.Keccak_512?10 +QtCore.QCryptographicHash?1(QCryptographicHash.Algorithm) +QtCore.QCryptographicHash.__init__?1(self, QCryptographicHash.Algorithm) +QtCore.QCryptographicHash.reset?4() +QtCore.QCryptographicHash.addData?4(bytes) +QtCore.QCryptographicHash.addData?4(QByteArray) +QtCore.QCryptographicHash.addData?4(QIODevice) -> bool +QtCore.QCryptographicHash.result?4() -> QByteArray +QtCore.QCryptographicHash.hash?4(QByteArray, QCryptographicHash.Algorithm) -> QByteArray +QtCore.QCryptographicHash.hashLength?4(QCryptographicHash.Algorithm) -> int +QtCore.QDataStream.FloatingPointPrecision?10 +QtCore.QDataStream.FloatingPointPrecision.SinglePrecision?10 +QtCore.QDataStream.FloatingPointPrecision.DoublePrecision?10 +QtCore.QDataStream.Status?10 +QtCore.QDataStream.Status.Ok?10 +QtCore.QDataStream.Status.ReadPastEnd?10 +QtCore.QDataStream.Status.ReadCorruptData?10 +QtCore.QDataStream.Status.WriteFailed?10 +QtCore.QDataStream.ByteOrder?10 +QtCore.QDataStream.ByteOrder.BigEndian?10 +QtCore.QDataStream.ByteOrder.LittleEndian?10 +QtCore.QDataStream.Version?10 +QtCore.QDataStream.Version.Qt_1_0?10 +QtCore.QDataStream.Version.Qt_2_0?10 +QtCore.QDataStream.Version.Qt_2_1?10 +QtCore.QDataStream.Version.Qt_3_0?10 +QtCore.QDataStream.Version.Qt_3_1?10 +QtCore.QDataStream.Version.Qt_3_3?10 +QtCore.QDataStream.Version.Qt_4_0?10 +QtCore.QDataStream.Version.Qt_4_1?10 +QtCore.QDataStream.Version.Qt_4_2?10 +QtCore.QDataStream.Version.Qt_4_3?10 +QtCore.QDataStream.Version.Qt_4_4?10 +QtCore.QDataStream.Version.Qt_4_5?10 +QtCore.QDataStream.Version.Qt_4_6?10 +QtCore.QDataStream.Version.Qt_4_7?10 +QtCore.QDataStream.Version.Qt_4_8?10 +QtCore.QDataStream.Version.Qt_4_9?10 +QtCore.QDataStream.Version.Qt_5_0?10 +QtCore.QDataStream.Version.Qt_5_1?10 +QtCore.QDataStream.Version.Qt_5_2?10 +QtCore.QDataStream.Version.Qt_5_3?10 +QtCore.QDataStream.Version.Qt_5_4?10 +QtCore.QDataStream.Version.Qt_5_5?10 +QtCore.QDataStream.Version.Qt_5_6?10 +QtCore.QDataStream.Version.Qt_5_7?10 +QtCore.QDataStream.Version.Qt_5_8?10 +QtCore.QDataStream.Version.Qt_5_9?10 +QtCore.QDataStream.Version.Qt_5_10?10 +QtCore.QDataStream.Version.Qt_5_11?10 +QtCore.QDataStream.Version.Qt_5_12?10 +QtCore.QDataStream.Version.Qt_5_13?10 +QtCore.QDataStream.Version.Qt_5_14?10 +QtCore.QDataStream.Version.Qt_5_15?10 +QtCore.QDataStream?1() +QtCore.QDataStream.__init__?1(self) +QtCore.QDataStream?1(QIODevice) +QtCore.QDataStream.__init__?1(self, QIODevice) +QtCore.QDataStream?1(QByteArray, QIODevice.OpenMode) +QtCore.QDataStream.__init__?1(self, QByteArray, QIODevice.OpenMode) +QtCore.QDataStream?1(QByteArray) +QtCore.QDataStream.__init__?1(self, QByteArray) +QtCore.QDataStream.device?4() -> QIODevice +QtCore.QDataStream.setDevice?4(QIODevice) +QtCore.QDataStream.atEnd?4() -> bool +QtCore.QDataStream.status?4() -> QDataStream.Status +QtCore.QDataStream.setStatus?4(QDataStream.Status) +QtCore.QDataStream.resetStatus?4() +QtCore.QDataStream.byteOrder?4() -> QDataStream.ByteOrder +QtCore.QDataStream.setByteOrder?4(QDataStream.ByteOrder) +QtCore.QDataStream.version?4() -> int +QtCore.QDataStream.setVersion?4(int) +QtCore.QDataStream.skipRawData?4(int) -> int +QtCore.QDataStream.readInt?4() -> int +QtCore.QDataStream.readInt8?4() -> int +QtCore.QDataStream.readUInt8?4() -> int +QtCore.QDataStream.readInt16?4() -> int +QtCore.QDataStream.readUInt16?4() -> int +QtCore.QDataStream.readInt32?4() -> int +QtCore.QDataStream.readUInt32?4() -> int +QtCore.QDataStream.readInt64?4() -> int +QtCore.QDataStream.readUInt64?4() -> int +QtCore.QDataStream.readBool?4() -> bool +QtCore.QDataStream.readFloat?4() -> float +QtCore.QDataStream.readDouble?4() -> float +QtCore.QDataStream.readString?4() -> object +QtCore.QDataStream.writeInt?4(int) +QtCore.QDataStream.writeInt8?4(int) +QtCore.QDataStream.writeUInt8?4(int) +QtCore.QDataStream.writeInt16?4(int) +QtCore.QDataStream.writeUInt16?4(int) +QtCore.QDataStream.writeInt32?4(int) +QtCore.QDataStream.writeUInt32?4(int) +QtCore.QDataStream.writeInt64?4(int) +QtCore.QDataStream.writeUInt64?4(int) +QtCore.QDataStream.writeBool?4(bool) +QtCore.QDataStream.writeFloat?4(float) +QtCore.QDataStream.writeDouble?4(float) +QtCore.QDataStream.writeString?4(str) +QtCore.QDataStream.readQString?4() -> QString +QtCore.QDataStream.writeQString?4(QString) +QtCore.QDataStream.readQStringList?4() -> QStringList +QtCore.QDataStream.writeQStringList?4(QStringList) +QtCore.QDataStream.readQVariant?4() -> QVariant +QtCore.QDataStream.writeQVariant?4(QVariant) +QtCore.QDataStream.readQVariantList?4() -> unknown-type +QtCore.QDataStream.writeQVariantList?4(unknown-type) +QtCore.QDataStream.readQVariantMap?4() -> QVariantMap +QtCore.QDataStream.writeQVariantMap?4(QVariantMap) +QtCore.QDataStream.readQVariantHash?4() -> unknown-type +QtCore.QDataStream.writeQVariantHash?4(unknown-type) +QtCore.QDataStream.readBytes?4() -> object +QtCore.QDataStream.readRawData?4(int) -> object +QtCore.QDataStream.writeBytes?4(bytes) -> QDataStream +QtCore.QDataStream.writeRawData?4(bytes) -> int +QtCore.QDataStream.floatingPointPrecision?4() -> QDataStream.FloatingPointPrecision +QtCore.QDataStream.setFloatingPointPrecision?4(QDataStream.FloatingPointPrecision) +QtCore.QDataStream.startTransaction?4() +QtCore.QDataStream.commitTransaction?4() -> bool +QtCore.QDataStream.rollbackTransaction?4() +QtCore.QDataStream.abortTransaction?4() +QtCore.QDate.MonthNameType?10 +QtCore.QDate.MonthNameType.DateFormat?10 +QtCore.QDate.MonthNameType.StandaloneFormat?10 +QtCore.QDate?1() +QtCore.QDate.__init__?1(self) +QtCore.QDate?1(int, int, int) +QtCore.QDate.__init__?1(self, int, int, int) +QtCore.QDate?1(int, int, int, QCalendar) +QtCore.QDate.__init__?1(self, int, int, int, QCalendar) +QtCore.QDate?1(QDate) +QtCore.QDate.__init__?1(self, QDate) +QtCore.QDate.toPyDate?4() -> object +QtCore.QDate.isNull?4() -> bool +QtCore.QDate.isValid?4() -> bool +QtCore.QDate.year?4() -> int +QtCore.QDate.year?4(QCalendar) -> int +QtCore.QDate.month?4() -> int +QtCore.QDate.month?4(QCalendar) -> int +QtCore.QDate.day?4() -> int +QtCore.QDate.day?4(QCalendar) -> int +QtCore.QDate.dayOfWeek?4() -> int +QtCore.QDate.dayOfWeek?4(QCalendar) -> int +QtCore.QDate.dayOfYear?4() -> int +QtCore.QDate.dayOfYear?4(QCalendar) -> int +QtCore.QDate.daysInMonth?4() -> int +QtCore.QDate.daysInMonth?4(QCalendar) -> int +QtCore.QDate.daysInYear?4() -> int +QtCore.QDate.daysInYear?4(QCalendar) -> int +QtCore.QDate.weekNumber?4() -> (int, int) +QtCore.QDate.shortMonthName?4(int, QDate.MonthNameType type=QDate.DateFormat) -> QString +QtCore.QDate.shortDayName?4(int, QDate.MonthNameType type=QDate.DateFormat) -> QString +QtCore.QDate.longMonthName?4(int, QDate.MonthNameType type=QDate.DateFormat) -> QString +QtCore.QDate.longDayName?4(int, QDate.MonthNameType type=QDate.DateFormat) -> QString +QtCore.QDate.toString?4(Qt.DateFormat format=Qt.TextDate) -> QString +QtCore.QDate.toString?4(Qt.DateFormat, QCalendar) -> QString +QtCore.QDate.toString?4(QString) -> QString +QtCore.QDate.toString?4(QString, QCalendar) -> QString +QtCore.QDate.addDays?4(int) -> QDate +QtCore.QDate.addMonths?4(int) -> QDate +QtCore.QDate.addMonths?4(int, QCalendar) -> QDate +QtCore.QDate.addYears?4(int) -> QDate +QtCore.QDate.addYears?4(int, QCalendar) -> QDate +QtCore.QDate.daysTo?4(QDate) -> int +QtCore.QDate.currentDate?4() -> QDate +QtCore.QDate.fromString?4(QString, Qt.DateFormat format=Qt.TextDate) -> QDate +QtCore.QDate.fromString?4(QString, QString) -> QDate +QtCore.QDate.fromString?4(QString, QString, QCalendar) -> QDate +QtCore.QDate.isValid?4(int, int, int) -> bool +QtCore.QDate.isLeapYear?4(int) -> bool +QtCore.QDate.fromJulianDay?4(int) -> QDate +QtCore.QDate.toJulianDay?4() -> int +QtCore.QDate.setDate?4(int, int, int) -> bool +QtCore.QDate.getDate?4() -> (int, int, int) +QtCore.QDate.startOfDay?4(Qt.TimeSpec spec=Qt.LocalTime, int offsetSeconds=0) -> QDateTime +QtCore.QDate.endOfDay?4(Qt.TimeSpec spec=Qt.LocalTime, int offsetSeconds=0) -> QDateTime +QtCore.QDate.startOfDay?4(QTimeZone) -> QDateTime +QtCore.QDate.endOfDay?4(QTimeZone) -> QDateTime +QtCore.QDate.setDate?4(int, int, int, QCalendar) -> bool +QtCore.QTime?1() +QtCore.QTime.__init__?1(self) +QtCore.QTime?1(int, int, int second=0, int msec=0) +QtCore.QTime.__init__?1(self, int, int, int second=0, int msec=0) +QtCore.QTime?1(QTime) +QtCore.QTime.__init__?1(self, QTime) +QtCore.QTime.toPyTime?4() -> object +QtCore.QTime.isNull?4() -> bool +QtCore.QTime.isValid?4() -> bool +QtCore.QTime.hour?4() -> int +QtCore.QTime.minute?4() -> int +QtCore.QTime.second?4() -> int +QtCore.QTime.msec?4() -> int +QtCore.QTime.toString?4(Qt.DateFormat format=Qt.TextDate) -> QString +QtCore.QTime.toString?4(QString) -> QString +QtCore.QTime.setHMS?4(int, int, int, int msec=0) -> bool +QtCore.QTime.addSecs?4(int) -> QTime +QtCore.QTime.secsTo?4(QTime) -> int +QtCore.QTime.addMSecs?4(int) -> QTime +QtCore.QTime.msecsTo?4(QTime) -> int +QtCore.QTime.currentTime?4() -> QTime +QtCore.QTime.fromString?4(QString, Qt.DateFormat format=Qt.TextDate) -> QTime +QtCore.QTime.fromString?4(QString, QString) -> QTime +QtCore.QTime.isValid?4(int, int, int, int msec=0) -> bool +QtCore.QTime.start?4() +QtCore.QTime.restart?4() -> int +QtCore.QTime.elapsed?4() -> int +QtCore.QTime.fromMSecsSinceStartOfDay?4(int) -> QTime +QtCore.QTime.msecsSinceStartOfDay?4() -> int +QtCore.QDateTime.YearRange?10 +QtCore.QDateTime.YearRange.First?10 +QtCore.QDateTime.YearRange.Last?10 +QtCore.QDateTime?1() +QtCore.QDateTime.__init__?1(self) +QtCore.QDateTime?1(QDateTime) +QtCore.QDateTime.__init__?1(self, QDateTime) +QtCore.QDateTime?1(QDate) +QtCore.QDateTime.__init__?1(self, QDate) +QtCore.QDateTime?1(QDate, QTime, Qt.TimeSpec timeSpec=Qt.LocalTime) +QtCore.QDateTime.__init__?1(self, QDate, QTime, Qt.TimeSpec timeSpec=Qt.LocalTime) +QtCore.QDateTime?1(int, int, int, int, int, int second=0, int msec=0, int timeSpec=0) +QtCore.QDateTime.__init__?1(self, int, int, int, int, int, int second=0, int msec=0, int timeSpec=0) +QtCore.QDateTime?1(QDate, QTime, Qt.TimeSpec, int) +QtCore.QDateTime.__init__?1(self, QDate, QTime, Qt.TimeSpec, int) +QtCore.QDateTime?1(QDate, QTime, QTimeZone) +QtCore.QDateTime.__init__?1(self, QDate, QTime, QTimeZone) +QtCore.QDateTime.toPyDateTime?4() -> object +QtCore.QDateTime.isNull?4() -> bool +QtCore.QDateTime.isValid?4() -> bool +QtCore.QDateTime.date?4() -> QDate +QtCore.QDateTime.time?4() -> QTime +QtCore.QDateTime.timeSpec?4() -> Qt.TimeSpec +QtCore.QDateTime.toTime_t?4() -> int +QtCore.QDateTime.setDate?4(QDate) +QtCore.QDateTime.setTime?4(QTime) +QtCore.QDateTime.setTimeSpec?4(Qt.TimeSpec) +QtCore.QDateTime.setTime_t?4(int) +QtCore.QDateTime.toString?4(Qt.DateFormat format=Qt.TextDate) -> QString +QtCore.QDateTime.toString?4(QString) -> QString +QtCore.QDateTime.addDays?4(int) -> QDateTime +QtCore.QDateTime.addMonths?4(int) -> QDateTime +QtCore.QDateTime.addYears?4(int) -> QDateTime +QtCore.QDateTime.addSecs?4(int) -> QDateTime +QtCore.QDateTime.addMSecs?4(int) -> QDateTime +QtCore.QDateTime.toTimeSpec?4(Qt.TimeSpec) -> QDateTime +QtCore.QDateTime.toLocalTime?4() -> QDateTime +QtCore.QDateTime.toUTC?4() -> QDateTime +QtCore.QDateTime.daysTo?4(QDateTime) -> int +QtCore.QDateTime.secsTo?4(QDateTime) -> int +QtCore.QDateTime.currentDateTime?4() -> QDateTime +QtCore.QDateTime.fromString?4(QString, Qt.DateFormat format=Qt.TextDate) -> QDateTime +QtCore.QDateTime.fromString?4(QString, QString) -> QDateTime +QtCore.QDateTime.fromTime_t?4(int) -> QDateTime +QtCore.QDateTime.toMSecsSinceEpoch?4() -> int +QtCore.QDateTime.setMSecsSinceEpoch?4(int) +QtCore.QDateTime.msecsTo?4(QDateTime) -> int +QtCore.QDateTime.currentDateTimeUtc?4() -> QDateTime +QtCore.QDateTime.fromMSecsSinceEpoch?4(int) -> QDateTime +QtCore.QDateTime.currentMSecsSinceEpoch?4() -> int +QtCore.QDateTime.swap?4(QDateTime) +QtCore.QDateTime.offsetFromUtc?4() -> int +QtCore.QDateTime.timeZone?4() -> QTimeZone +QtCore.QDateTime.timeZoneAbbreviation?4() -> QString +QtCore.QDateTime.isDaylightTime?4() -> bool +QtCore.QDateTime.setOffsetFromUtc?4(int) +QtCore.QDateTime.setTimeZone?4(QTimeZone) +QtCore.QDateTime.toOffsetFromUtc?4(int) -> QDateTime +QtCore.QDateTime.toTimeZone?4(QTimeZone) -> QDateTime +QtCore.QDateTime.fromTime_t?4(int, Qt.TimeSpec, int offsetSeconds=0) -> QDateTime +QtCore.QDateTime.fromTime_t?4(int, QTimeZone) -> QDateTime +QtCore.QDateTime.fromMSecsSinceEpoch?4(int, Qt.TimeSpec, int offsetSeconds=0) -> QDateTime +QtCore.QDateTime.fromMSecsSinceEpoch?4(int, QTimeZone) -> QDateTime +QtCore.QDateTime.toSecsSinceEpoch?4() -> int +QtCore.QDateTime.setSecsSinceEpoch?4(int) +QtCore.QDateTime.fromSecsSinceEpoch?4(int, Qt.TimeSpec spec=Qt.LocalTime, int offsetSeconds=0) -> QDateTime +QtCore.QDateTime.fromSecsSinceEpoch?4(int, QTimeZone) -> QDateTime +QtCore.QDateTime.currentSecsSinceEpoch?4() -> int +QtCore.QDateTime.fromString?4(QString, QString, QCalendar) -> QDateTime +QtCore.QDateTime.toString?4(QString, QCalendar) -> QString +QtCore.QDeadlineTimer.ForeverConstant?10 +QtCore.QDeadlineTimer.ForeverConstant.Forever?10 +QtCore.QDeadlineTimer?1(Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer.__init__?1(self, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer?1(QDeadlineTimer.ForeverConstant, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer.__init__?1(self, QDeadlineTimer.ForeverConstant, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer?1(int, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer.__init__?1(self, int, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer?1(QDeadlineTimer) +QtCore.QDeadlineTimer.__init__?1(self, QDeadlineTimer) +QtCore.QDeadlineTimer.swap?4(QDeadlineTimer) +QtCore.QDeadlineTimer.isForever?4() -> bool +QtCore.QDeadlineTimer.hasExpired?4() -> bool +QtCore.QDeadlineTimer.timerType?4() -> Qt.TimerType +QtCore.QDeadlineTimer.setTimerType?4(Qt.TimerType) +QtCore.QDeadlineTimer.remainingTime?4() -> int +QtCore.QDeadlineTimer.remainingTimeNSecs?4() -> int +QtCore.QDeadlineTimer.setRemainingTime?4(int, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer.setPreciseRemainingTime?4(int, int nsecs=0, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer.deadline?4() -> int +QtCore.QDeadlineTimer.deadlineNSecs?4() -> int +QtCore.QDeadlineTimer.setDeadline?4(int, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer.setPreciseDeadline?4(int, int nsecs=0, Qt.TimerType type=Qt.CoarseTimer) +QtCore.QDeadlineTimer.addNSecs?4(QDeadlineTimer, int) -> QDeadlineTimer +QtCore.QDeadlineTimer.current?4(Qt.TimerType type=Qt.CoarseTimer) -> QDeadlineTimer +QtCore.QDir.SortFlag?10 +QtCore.QDir.SortFlag.Name?10 +QtCore.QDir.SortFlag.Time?10 +QtCore.QDir.SortFlag.Size?10 +QtCore.QDir.SortFlag.Unsorted?10 +QtCore.QDir.SortFlag.SortByMask?10 +QtCore.QDir.SortFlag.DirsFirst?10 +QtCore.QDir.SortFlag.Reversed?10 +QtCore.QDir.SortFlag.IgnoreCase?10 +QtCore.QDir.SortFlag.DirsLast?10 +QtCore.QDir.SortFlag.LocaleAware?10 +QtCore.QDir.SortFlag.Type?10 +QtCore.QDir.SortFlag.NoSort?10 +QtCore.QDir.Filter?10 +QtCore.QDir.Filter.Dirs?10 +QtCore.QDir.Filter.Files?10 +QtCore.QDir.Filter.Drives?10 +QtCore.QDir.Filter.NoSymLinks?10 +QtCore.QDir.Filter.AllEntries?10 +QtCore.QDir.Filter.TypeMask?10 +QtCore.QDir.Filter.Readable?10 +QtCore.QDir.Filter.Writable?10 +QtCore.QDir.Filter.Executable?10 +QtCore.QDir.Filter.PermissionMask?10 +QtCore.QDir.Filter.Modified?10 +QtCore.QDir.Filter.Hidden?10 +QtCore.QDir.Filter.System?10 +QtCore.QDir.Filter.AccessMask?10 +QtCore.QDir.Filter.AllDirs?10 +QtCore.QDir.Filter.CaseSensitive?10 +QtCore.QDir.Filter.NoDotAndDotDot?10 +QtCore.QDir.Filter.NoFilter?10 +QtCore.QDir.Filter.NoDot?10 +QtCore.QDir.Filter.NoDotDot?10 +QtCore.QDir?1(QDir) +QtCore.QDir.__init__?1(self, QDir) +QtCore.QDir?1(QString path='') +QtCore.QDir.__init__?1(self, QString path='') +QtCore.QDir?1(QString, QString, QDir.SortFlags sort=QDir.Name|QDir.IgnoreCase, QDir.Filters filters=QDir.AllEntries) +QtCore.QDir.__init__?1(self, QString, QString, QDir.SortFlags sort=QDir.Name|QDir.IgnoreCase, QDir.Filters filters=QDir.AllEntries) +QtCore.QDir.setPath?4(QString) +QtCore.QDir.path?4() -> QString +QtCore.QDir.absolutePath?4() -> QString +QtCore.QDir.canonicalPath?4() -> QString +QtCore.QDir.dirName?4() -> QString +QtCore.QDir.filePath?4(QString) -> QString +QtCore.QDir.absoluteFilePath?4(QString) -> QString +QtCore.QDir.relativeFilePath?4(QString) -> QString +QtCore.QDir.cd?4(QString) -> bool +QtCore.QDir.cdUp?4() -> bool +QtCore.QDir.nameFilters?4() -> QStringList +QtCore.QDir.setNameFilters?4(QStringList) +QtCore.QDir.filter?4() -> QDir.Filters +QtCore.QDir.setFilter?4(QDir.Filters) +QtCore.QDir.sorting?4() -> QDir.SortFlags +QtCore.QDir.setSorting?4(QDir.SortFlags) +QtCore.QDir.count?4() -> int +QtCore.QDir.nameFiltersFromString?4(QString) -> QStringList +QtCore.QDir.entryList?4(QDir.Filters filters=QDir.NoFilter, QDir.SortFlags sort=QDir.SortFlag.NoSort) -> QStringList +QtCore.QDir.entryList?4(QStringList, QDir.Filters filters=QDir.NoFilter, QDir.SortFlags sort=QDir.SortFlag.NoSort) -> QStringList +QtCore.QDir.entryInfoList?4(QDir.Filters filters=QDir.NoFilter, QDir.SortFlags sort=QDir.SortFlag.NoSort) -> unknown-type +QtCore.QDir.entryInfoList?4(QStringList, QDir.Filters filters=QDir.NoFilter, QDir.SortFlags sort=QDir.SortFlag.NoSort) -> unknown-type +QtCore.QDir.mkdir?4(QString) -> bool +QtCore.QDir.rmdir?4(QString) -> bool +QtCore.QDir.mkpath?4(QString) -> bool +QtCore.QDir.rmpath?4(QString) -> bool +QtCore.QDir.isReadable?4() -> bool +QtCore.QDir.exists?4() -> bool +QtCore.QDir.isRoot?4() -> bool +QtCore.QDir.isRelativePath?4(QString) -> bool +QtCore.QDir.isAbsolutePath?4(QString) -> bool +QtCore.QDir.isRelative?4() -> bool +QtCore.QDir.isAbsolute?4() -> bool +QtCore.QDir.makeAbsolute?4() -> bool +QtCore.QDir.remove?4(QString) -> bool +QtCore.QDir.rename?4(QString, QString) -> bool +QtCore.QDir.exists?4(QString) -> bool +QtCore.QDir.refresh?4() +QtCore.QDir.drives?4() -> unknown-type +QtCore.QDir.separator?4() -> QChar +QtCore.QDir.setCurrent?4(QString) -> bool +QtCore.QDir.current?4() -> QDir +QtCore.QDir.currentPath?4() -> QString +QtCore.QDir.home?4() -> QDir +QtCore.QDir.homePath?4() -> QString +QtCore.QDir.root?4() -> QDir +QtCore.QDir.rootPath?4() -> QString +QtCore.QDir.temp?4() -> QDir +QtCore.QDir.tempPath?4() -> QString +QtCore.QDir.match?4(QStringList, QString) -> bool +QtCore.QDir.match?4(QString, QString) -> bool +QtCore.QDir.cleanPath?4(QString) -> QString +QtCore.QDir.toNativeSeparators?4(QString) -> QString +QtCore.QDir.fromNativeSeparators?4(QString) -> QString +QtCore.QDir.setSearchPaths?4(QString, QStringList) +QtCore.QDir.addSearchPath?4(QString, QString) +QtCore.QDir.searchPaths?4(QString) -> QStringList +QtCore.QDir.removeRecursively?4() -> bool +QtCore.QDir.swap?4(QDir) +QtCore.QDir.listSeparator?4() -> QChar +QtCore.QDir.isEmpty?4(QDir.Filters filters=QDir.AllEntries|QDir.NoDotAndDotDot) -> bool +QtCore.QDir.Filters?1() +QtCore.QDir.Filters.__init__?1(self) +QtCore.QDir.Filters?1(int) +QtCore.QDir.Filters.__init__?1(self, int) +QtCore.QDir.Filters?1(QDir.Filters) +QtCore.QDir.Filters.__init__?1(self, QDir.Filters) +QtCore.QDir.SortFlags?1() +QtCore.QDir.SortFlags.__init__?1(self) +QtCore.QDir.SortFlags?1(int) +QtCore.QDir.SortFlags.__init__?1(self, int) +QtCore.QDir.SortFlags?1(QDir.SortFlags) +QtCore.QDir.SortFlags.__init__?1(self, QDir.SortFlags) +QtCore.QDirIterator.IteratorFlag?10 +QtCore.QDirIterator.IteratorFlag.NoIteratorFlags?10 +QtCore.QDirIterator.IteratorFlag.FollowSymlinks?10 +QtCore.QDirIterator.IteratorFlag.Subdirectories?10 +QtCore.QDirIterator?1(QDir, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags) +QtCore.QDirIterator.__init__?1(self, QDir, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags) +QtCore.QDirIterator?1(QString, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags) +QtCore.QDirIterator.__init__?1(self, QString, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags) +QtCore.QDirIterator?1(QString, QDir.Filters, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags) +QtCore.QDirIterator.__init__?1(self, QString, QDir.Filters, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags) +QtCore.QDirIterator?1(QString, QStringList, QDir.Filters filters=QDir.NoFilter, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags) +QtCore.QDirIterator.__init__?1(self, QString, QStringList, QDir.Filters filters=QDir.NoFilter, QDirIterator.IteratorFlags flags=QDirIterator.NoIteratorFlags) +QtCore.QDirIterator.next?4() -> QString +QtCore.QDirIterator.hasNext?4() -> bool +QtCore.QDirIterator.fileName?4() -> QString +QtCore.QDirIterator.filePath?4() -> QString +QtCore.QDirIterator.fileInfo?4() -> QFileInfo +QtCore.QDirIterator.path?4() -> QString +QtCore.QDirIterator.IteratorFlags?1() +QtCore.QDirIterator.IteratorFlags.__init__?1(self) +QtCore.QDirIterator.IteratorFlags?1(int) +QtCore.QDirIterator.IteratorFlags.__init__?1(self, int) +QtCore.QDirIterator.IteratorFlags?1(QDirIterator.IteratorFlags) +QtCore.QDirIterator.IteratorFlags.__init__?1(self, QDirIterator.IteratorFlags) +QtCore.QEasingCurve.Type?10 +QtCore.QEasingCurve.Type.Linear?10 +QtCore.QEasingCurve.Type.InQuad?10 +QtCore.QEasingCurve.Type.OutQuad?10 +QtCore.QEasingCurve.Type.InOutQuad?10 +QtCore.QEasingCurve.Type.OutInQuad?10 +QtCore.QEasingCurve.Type.InCubic?10 +QtCore.QEasingCurve.Type.OutCubic?10 +QtCore.QEasingCurve.Type.InOutCubic?10 +QtCore.QEasingCurve.Type.OutInCubic?10 +QtCore.QEasingCurve.Type.InQuart?10 +QtCore.QEasingCurve.Type.OutQuart?10 +QtCore.QEasingCurve.Type.InOutQuart?10 +QtCore.QEasingCurve.Type.OutInQuart?10 +QtCore.QEasingCurve.Type.InQuint?10 +QtCore.QEasingCurve.Type.OutQuint?10 +QtCore.QEasingCurve.Type.InOutQuint?10 +QtCore.QEasingCurve.Type.OutInQuint?10 +QtCore.QEasingCurve.Type.InSine?10 +QtCore.QEasingCurve.Type.OutSine?10 +QtCore.QEasingCurve.Type.InOutSine?10 +QtCore.QEasingCurve.Type.OutInSine?10 +QtCore.QEasingCurve.Type.InExpo?10 +QtCore.QEasingCurve.Type.OutExpo?10 +QtCore.QEasingCurve.Type.InOutExpo?10 +QtCore.QEasingCurve.Type.OutInExpo?10 +QtCore.QEasingCurve.Type.InCirc?10 +QtCore.QEasingCurve.Type.OutCirc?10 +QtCore.QEasingCurve.Type.InOutCirc?10 +QtCore.QEasingCurve.Type.OutInCirc?10 +QtCore.QEasingCurve.Type.InElastic?10 +QtCore.QEasingCurve.Type.OutElastic?10 +QtCore.QEasingCurve.Type.InOutElastic?10 +QtCore.QEasingCurve.Type.OutInElastic?10 +QtCore.QEasingCurve.Type.InBack?10 +QtCore.QEasingCurve.Type.OutBack?10 +QtCore.QEasingCurve.Type.InOutBack?10 +QtCore.QEasingCurve.Type.OutInBack?10 +QtCore.QEasingCurve.Type.InBounce?10 +QtCore.QEasingCurve.Type.OutBounce?10 +QtCore.QEasingCurve.Type.InOutBounce?10 +QtCore.QEasingCurve.Type.OutInBounce?10 +QtCore.QEasingCurve.Type.InCurve?10 +QtCore.QEasingCurve.Type.OutCurve?10 +QtCore.QEasingCurve.Type.SineCurve?10 +QtCore.QEasingCurve.Type.CosineCurve?10 +QtCore.QEasingCurve.Type.BezierSpline?10 +QtCore.QEasingCurve.Type.TCBSpline?10 +QtCore.QEasingCurve.Type.Custom?10 +QtCore.QEasingCurve?1(QEasingCurve.Type type=QEasingCurve.Linear) +QtCore.QEasingCurve.__init__?1(self, QEasingCurve.Type type=QEasingCurve.Linear) +QtCore.QEasingCurve?1(QEasingCurve) +QtCore.QEasingCurve.__init__?1(self, QEasingCurve) +QtCore.QEasingCurve.amplitude?4() -> float +QtCore.QEasingCurve.setAmplitude?4(float) +QtCore.QEasingCurve.period?4() -> float +QtCore.QEasingCurve.setPeriod?4(float) +QtCore.QEasingCurve.overshoot?4() -> float +QtCore.QEasingCurve.setOvershoot?4(float) +QtCore.QEasingCurve.type?4() -> QEasingCurve.Type +QtCore.QEasingCurve.setType?4(QEasingCurve.Type) +QtCore.QEasingCurve.setCustomType?4(callable) +QtCore.QEasingCurve.customType?4() -> callable +QtCore.QEasingCurve.valueForProgress?4(float) -> float +QtCore.QEasingCurve.swap?4(QEasingCurve) +QtCore.QEasingCurve.addCubicBezierSegment?4(QPointF, QPointF, QPointF) +QtCore.QEasingCurve.addTCBSegment?4(QPointF, float, float, float) +QtCore.QEasingCurve.toCubicSpline?4() -> unknown-type +QtCore.QElapsedTimer.ClockType?10 +QtCore.QElapsedTimer.ClockType.SystemTime?10 +QtCore.QElapsedTimer.ClockType.MonotonicClock?10 +QtCore.QElapsedTimer.ClockType.TickCounter?10 +QtCore.QElapsedTimer.ClockType.MachAbsoluteTime?10 +QtCore.QElapsedTimer.ClockType.PerformanceCounter?10 +QtCore.QElapsedTimer?1() +QtCore.QElapsedTimer.__init__?1(self) +QtCore.QElapsedTimer?1(QElapsedTimer) +QtCore.QElapsedTimer.__init__?1(self, QElapsedTimer) +QtCore.QElapsedTimer.clockType?4() -> QElapsedTimer.ClockType +QtCore.QElapsedTimer.isMonotonic?4() -> bool +QtCore.QElapsedTimer.start?4() +QtCore.QElapsedTimer.restart?4() -> int +QtCore.QElapsedTimer.invalidate?4() +QtCore.QElapsedTimer.isValid?4() -> bool +QtCore.QElapsedTimer.elapsed?4() -> int +QtCore.QElapsedTimer.hasExpired?4(int) -> bool +QtCore.QElapsedTimer.msecsSinceReference?4() -> int +QtCore.QElapsedTimer.msecsTo?4(QElapsedTimer) -> int +QtCore.QElapsedTimer.secsTo?4(QElapsedTimer) -> int +QtCore.QElapsedTimer.nsecsElapsed?4() -> int +QtCore.QEventLoop.ProcessEventsFlag?10 +QtCore.QEventLoop.ProcessEventsFlag.AllEvents?10 +QtCore.QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents?10 +QtCore.QEventLoop.ProcessEventsFlag.ExcludeSocketNotifiers?10 +QtCore.QEventLoop.ProcessEventsFlag.WaitForMoreEvents?10 +QtCore.QEventLoop.ProcessEventsFlag.X11ExcludeTimers?10 +QtCore.QEventLoop?1(QObject parent=None) +QtCore.QEventLoop.__init__?1(self, QObject parent=None) +QtCore.QEventLoop.processEvents?4(QEventLoop.ProcessEventsFlags flags=QEventLoop.AllEvents) -> bool +QtCore.QEventLoop.processEvents?4(QEventLoop.ProcessEventsFlags, int) +QtCore.QEventLoop.exec_?4(QEventLoop.ProcessEventsFlags flags=QEventLoop.AllEvents) -> int +QtCore.QEventLoop.exec?4(QEventLoop.ProcessEventsFlags flags=QEventLoop.AllEvents) -> int +QtCore.QEventLoop.exit?4(int returnCode=0) +QtCore.QEventLoop.isRunning?4() -> bool +QtCore.QEventLoop.wakeUp?4() +QtCore.QEventLoop.quit?4() +QtCore.QEventLoop.event?4(QEvent) -> bool +QtCore.QEventLoop.ProcessEventsFlags?1() +QtCore.QEventLoop.ProcessEventsFlags.__init__?1(self) +QtCore.QEventLoop.ProcessEventsFlags?1(int) +QtCore.QEventLoop.ProcessEventsFlags.__init__?1(self, int) +QtCore.QEventLoop.ProcessEventsFlags?1(QEventLoop.ProcessEventsFlags) +QtCore.QEventLoop.ProcessEventsFlags.__init__?1(self, QEventLoop.ProcessEventsFlags) +QtCore.QEventLoopLocker?1() +QtCore.QEventLoopLocker.__init__?1(self) +QtCore.QEventLoopLocker?1(QEventLoop) +QtCore.QEventLoopLocker.__init__?1(self, QEventLoop) +QtCore.QEventLoopLocker?1(QThread) +QtCore.QEventLoopLocker.__init__?1(self, QThread) +QtCore.QEventTransition?1(QState sourceState=None) +QtCore.QEventTransition.__init__?1(self, QState sourceState=None) +QtCore.QEventTransition?1(QObject, QEvent.Type, QState sourceState=None) +QtCore.QEventTransition.__init__?1(self, QObject, QEvent.Type, QState sourceState=None) +QtCore.QEventTransition.eventSource?4() -> QObject +QtCore.QEventTransition.setEventSource?4(QObject) +QtCore.QEventTransition.eventType?4() -> QEvent.Type +QtCore.QEventTransition.setEventType?4(QEvent.Type) +QtCore.QEventTransition.eventTest?4(QEvent) -> bool +QtCore.QEventTransition.onTransition?4(QEvent) +QtCore.QEventTransition.event?4(QEvent) -> bool +QtCore.QFileDevice.FileTime?10 +QtCore.QFileDevice.FileTime.FileAccessTime?10 +QtCore.QFileDevice.FileTime.FileBirthTime?10 +QtCore.QFileDevice.FileTime.FileMetadataChangeTime?10 +QtCore.QFileDevice.FileTime.FileModificationTime?10 +QtCore.QFileDevice.MemoryMapFlags?10 +QtCore.QFileDevice.MemoryMapFlags.NoOptions?10 +QtCore.QFileDevice.MemoryMapFlags.MapPrivateOption?10 +QtCore.QFileDevice.FileHandleFlag?10 +QtCore.QFileDevice.FileHandleFlag.AutoCloseHandle?10 +QtCore.QFileDevice.FileHandleFlag.DontCloseHandle?10 +QtCore.QFileDevice.Permission?10 +QtCore.QFileDevice.Permission.ReadOwner?10 +QtCore.QFileDevice.Permission.WriteOwner?10 +QtCore.QFileDevice.Permission.ExeOwner?10 +QtCore.QFileDevice.Permission.ReadUser?10 +QtCore.QFileDevice.Permission.WriteUser?10 +QtCore.QFileDevice.Permission.ExeUser?10 +QtCore.QFileDevice.Permission.ReadGroup?10 +QtCore.QFileDevice.Permission.WriteGroup?10 +QtCore.QFileDevice.Permission.ExeGroup?10 +QtCore.QFileDevice.Permission.ReadOther?10 +QtCore.QFileDevice.Permission.WriteOther?10 +QtCore.QFileDevice.Permission.ExeOther?10 +QtCore.QFileDevice.FileError?10 +QtCore.QFileDevice.FileError.NoError?10 +QtCore.QFileDevice.FileError.ReadError?10 +QtCore.QFileDevice.FileError.WriteError?10 +QtCore.QFileDevice.FileError.FatalError?10 +QtCore.QFileDevice.FileError.ResourceError?10 +QtCore.QFileDevice.FileError.OpenError?10 +QtCore.QFileDevice.FileError.AbortError?10 +QtCore.QFileDevice.FileError.TimeOutError?10 +QtCore.QFileDevice.FileError.UnspecifiedError?10 +QtCore.QFileDevice.FileError.RemoveError?10 +QtCore.QFileDevice.FileError.RenameError?10 +QtCore.QFileDevice.FileError.PositionError?10 +QtCore.QFileDevice.FileError.ResizeError?10 +QtCore.QFileDevice.FileError.PermissionsError?10 +QtCore.QFileDevice.FileError.CopyError?10 +QtCore.QFileDevice.error?4() -> QFileDevice.FileError +QtCore.QFileDevice.unsetError?4() +QtCore.QFileDevice.close?4() +QtCore.QFileDevice.isSequential?4() -> bool +QtCore.QFileDevice.handle?4() -> int +QtCore.QFileDevice.fileName?4() -> QString +QtCore.QFileDevice.pos?4() -> int +QtCore.QFileDevice.seek?4(int) -> bool +QtCore.QFileDevice.atEnd?4() -> bool +QtCore.QFileDevice.flush?4() -> bool +QtCore.QFileDevice.size?4() -> int +QtCore.QFileDevice.resize?4(int) -> bool +QtCore.QFileDevice.permissions?4() -> QFileDevice.Permissions +QtCore.QFileDevice.setPermissions?4(QFileDevice.Permissions) -> bool +QtCore.QFileDevice.map?4(int, int, QFileDevice.MemoryMapFlags flags=QFileDevice.NoOptions) -> sip.voidptr +QtCore.QFileDevice.unmap?4(sip.voidptr) -> bool +QtCore.QFileDevice.readData?4(int) -> object +QtCore.QFileDevice.writeData?4(bytes) -> int +QtCore.QFileDevice.readLineData?4(int) -> object +QtCore.QFileDevice.fileTime?4(QFileDevice.FileTime) -> QDateTime +QtCore.QFileDevice.setFileTime?4(QDateTime, QFileDevice.FileTime) -> bool +QtCore.QFile?1() +QtCore.QFile.__init__?1(self) +QtCore.QFile?1(QString) +QtCore.QFile.__init__?1(self, QString) +QtCore.QFile?1(QObject) +QtCore.QFile.__init__?1(self, QObject) +QtCore.QFile?1(QString, QObject) +QtCore.QFile.__init__?1(self, QString, QObject) +QtCore.QFile.fileName?4() -> QString +QtCore.QFile.setFileName?4(QString) +QtCore.QFile.encodeName?4(QString) -> QByteArray +QtCore.QFile.decodeName?4(QByteArray) -> QString +QtCore.QFile.decodeName?4(str) -> QString +QtCore.QFile.exists?4() -> bool +QtCore.QFile.exists?4(QString) -> bool +QtCore.QFile.symLinkTarget?4() -> QString +QtCore.QFile.symLinkTarget?4(QString) -> QString +QtCore.QFile.remove?4() -> bool +QtCore.QFile.remove?4(QString) -> bool +QtCore.QFile.rename?4(QString) -> bool +QtCore.QFile.rename?4(QString, QString) -> bool +QtCore.QFile.link?4(QString) -> bool +QtCore.QFile.link?4(QString, QString) -> bool +QtCore.QFile.copy?4(QString) -> bool +QtCore.QFile.copy?4(QString, QString) -> bool +QtCore.QFile.open?4(QIODevice.OpenMode) -> bool +QtCore.QFile.open?4(int, QIODevice.OpenMode, QFileDevice.FileHandleFlags handleFlags=QFileDevice.FileHandleFlag.DontCloseHandle) -> bool +QtCore.QFile.size?4() -> int +QtCore.QFile.resize?4(int) -> bool +QtCore.QFile.resize?4(QString, int) -> bool +QtCore.QFile.permissions?4() -> QFileDevice.Permissions +QtCore.QFile.permissions?4(QString) -> QFileDevice.Permissions +QtCore.QFile.setPermissions?4(QFileDevice.Permissions) -> bool +QtCore.QFile.setPermissions?4(QString, QFileDevice.Permissions) -> bool +QtCore.QFile.moveToTrash?4() -> bool +QtCore.QFile.moveToTrash?4(QString) -> (bool, QString) +QtCore.QFileDevice.Permissions?1() +QtCore.QFileDevice.Permissions.__init__?1(self) +QtCore.QFileDevice.Permissions?1(int) +QtCore.QFileDevice.Permissions.__init__?1(self, int) +QtCore.QFileDevice.Permissions?1(QFileDevice.Permissions) +QtCore.QFileDevice.Permissions.__init__?1(self, QFileDevice.Permissions) +QtCore.QFileDevice.FileHandleFlags?1() +QtCore.QFileDevice.FileHandleFlags.__init__?1(self) +QtCore.QFileDevice.FileHandleFlags?1(int) +QtCore.QFileDevice.FileHandleFlags.__init__?1(self, int) +QtCore.QFileDevice.FileHandleFlags?1(QFileDevice.FileHandleFlags) +QtCore.QFileDevice.FileHandleFlags.__init__?1(self, QFileDevice.FileHandleFlags) +QtCore.QFileInfo?1() +QtCore.QFileInfo.__init__?1(self) +QtCore.QFileInfo?1(QString) +QtCore.QFileInfo.__init__?1(self, QString) +QtCore.QFileInfo?1(QFile) +QtCore.QFileInfo.__init__?1(self, QFile) +QtCore.QFileInfo?1(QDir, QString) +QtCore.QFileInfo.__init__?1(self, QDir, QString) +QtCore.QFileInfo?1(QFileInfo) +QtCore.QFileInfo.__init__?1(self, QFileInfo) +QtCore.QFileInfo.setFile?4(QString) +QtCore.QFileInfo.setFile?4(QFile) +QtCore.QFileInfo.setFile?4(QDir, QString) +QtCore.QFileInfo.exists?4() -> bool +QtCore.QFileInfo.refresh?4() +QtCore.QFileInfo.filePath?4() -> QString +QtCore.QFileInfo.__fspath__?4() -> object +QtCore.QFileInfo.absoluteFilePath?4() -> QString +QtCore.QFileInfo.canonicalFilePath?4() -> QString +QtCore.QFileInfo.fileName?4() -> QString +QtCore.QFileInfo.baseName?4() -> QString +QtCore.QFileInfo.completeBaseName?4() -> QString +QtCore.QFileInfo.suffix?4() -> QString +QtCore.QFileInfo.completeSuffix?4() -> QString +QtCore.QFileInfo.path?4() -> QString +QtCore.QFileInfo.absolutePath?4() -> QString +QtCore.QFileInfo.canonicalPath?4() -> QString +QtCore.QFileInfo.dir?4() -> QDir +QtCore.QFileInfo.absoluteDir?4() -> QDir +QtCore.QFileInfo.isReadable?4() -> bool +QtCore.QFileInfo.isWritable?4() -> bool +QtCore.QFileInfo.isExecutable?4() -> bool +QtCore.QFileInfo.isHidden?4() -> bool +QtCore.QFileInfo.isRelative?4() -> bool +QtCore.QFileInfo.isAbsolute?4() -> bool +QtCore.QFileInfo.makeAbsolute?4() -> bool +QtCore.QFileInfo.isFile?4() -> bool +QtCore.QFileInfo.isDir?4() -> bool +QtCore.QFileInfo.isSymLink?4() -> bool +QtCore.QFileInfo.isRoot?4() -> bool +QtCore.QFileInfo.owner?4() -> QString +QtCore.QFileInfo.ownerId?4() -> int +QtCore.QFileInfo.group?4() -> QString +QtCore.QFileInfo.groupId?4() -> int +QtCore.QFileInfo.permission?4(QFileDevice.Permissions) -> bool +QtCore.QFileInfo.permissions?4() -> QFileDevice.Permissions +QtCore.QFileInfo.size?4() -> int +QtCore.QFileInfo.created?4() -> QDateTime +QtCore.QFileInfo.lastModified?4() -> QDateTime +QtCore.QFileInfo.lastRead?4() -> QDateTime +QtCore.QFileInfo.caching?4() -> bool +QtCore.QFileInfo.setCaching?4(bool) +QtCore.QFileInfo.symLinkTarget?4() -> QString +QtCore.QFileInfo.bundleName?4() -> QString +QtCore.QFileInfo.isBundle?4() -> bool +QtCore.QFileInfo.isNativePath?4() -> bool +QtCore.QFileInfo.swap?4(QFileInfo) +QtCore.QFileInfo.exists?4(QString) -> bool +QtCore.QFileInfo.birthTime?4() -> QDateTime +QtCore.QFileInfo.metadataChangeTime?4() -> QDateTime +QtCore.QFileInfo.fileTime?4(QFileDevice.FileTime) -> QDateTime +QtCore.QFileInfo.isSymbolicLink?4() -> bool +QtCore.QFileInfo.isShortcut?4() -> bool +QtCore.QFileInfo.isJunction?4() -> bool +QtCore.QFileSelector?1(QObject parent=None) +QtCore.QFileSelector.__init__?1(self, QObject parent=None) +QtCore.QFileSelector.select?4(QString) -> QString +QtCore.QFileSelector.select?4(QUrl) -> QUrl +QtCore.QFileSelector.extraSelectors?4() -> QStringList +QtCore.QFileSelector.setExtraSelectors?4(QStringList) +QtCore.QFileSelector.allSelectors?4() -> QStringList +QtCore.QFileSystemWatcher?1(QObject parent=None) +QtCore.QFileSystemWatcher.__init__?1(self, QObject parent=None) +QtCore.QFileSystemWatcher?1(QStringList, QObject parent=None) +QtCore.QFileSystemWatcher.__init__?1(self, QStringList, QObject parent=None) +QtCore.QFileSystemWatcher.addPath?4(QString) -> bool +QtCore.QFileSystemWatcher.addPaths?4(QStringList) -> QStringList +QtCore.QFileSystemWatcher.directories?4() -> QStringList +QtCore.QFileSystemWatcher.files?4() -> QStringList +QtCore.QFileSystemWatcher.removePath?4(QString) -> bool +QtCore.QFileSystemWatcher.removePaths?4(QStringList) -> QStringList +QtCore.QFileSystemWatcher.directoryChanged?4(QString) +QtCore.QFileSystemWatcher.fileChanged?4(QString) +QtCore.QFinalState?1(QState parent=None) +QtCore.QFinalState.__init__?1(self, QState parent=None) +QtCore.QFinalState.onEntry?4(QEvent) +QtCore.QFinalState.onExit?4(QEvent) +QtCore.QFinalState.event?4(QEvent) -> bool +QtCore.QHistoryState.HistoryType?10 +QtCore.QHistoryState.HistoryType.ShallowHistory?10 +QtCore.QHistoryState.HistoryType.DeepHistory?10 +QtCore.QHistoryState?1(QState parent=None) +QtCore.QHistoryState.__init__?1(self, QState parent=None) +QtCore.QHistoryState?1(QHistoryState.HistoryType, QState parent=None) +QtCore.QHistoryState.__init__?1(self, QHistoryState.HistoryType, QState parent=None) +QtCore.QHistoryState.defaultState?4() -> QAbstractState +QtCore.QHistoryState.setDefaultState?4(QAbstractState) +QtCore.QHistoryState.historyType?4() -> QHistoryState.HistoryType +QtCore.QHistoryState.setHistoryType?4(QHistoryState.HistoryType) +QtCore.QHistoryState.onEntry?4(QEvent) +QtCore.QHistoryState.onExit?4(QEvent) +QtCore.QHistoryState.event?4(QEvent) -> bool +QtCore.QHistoryState.defaultStateChanged?4() +QtCore.QHistoryState.historyTypeChanged?4() +QtCore.QHistoryState.defaultTransition?4() -> QAbstractTransition +QtCore.QHistoryState.setDefaultTransition?4(QAbstractTransition) +QtCore.QHistoryState.defaultTransitionChanged?4() +QtCore.QIdentityProxyModel?1(QObject parent=None) +QtCore.QIdentityProxyModel.__init__?1(self, QObject parent=None) +QtCore.QIdentityProxyModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QIdentityProxyModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtCore.QIdentityProxyModel.mapFromSource?4(QModelIndex) -> QModelIndex +QtCore.QIdentityProxyModel.mapToSource?4(QModelIndex) -> QModelIndex +QtCore.QIdentityProxyModel.parent?4(QModelIndex) -> QModelIndex +QtCore.QIdentityProxyModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QIdentityProxyModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QIdentityProxyModel.mapSelectionFromSource?4(QItemSelection) -> QItemSelection +QtCore.QIdentityProxyModel.mapSelectionToSource?4(QItemSelection) -> QItemSelection +QtCore.QIdentityProxyModel.match?4(QModelIndex, int, QVariant, int hits=1, Qt.MatchFlags flags=Qt.MatchStartsWith|Qt.MatchWrap) -> unknown-type +QtCore.QIdentityProxyModel.setSourceModel?4(QAbstractItemModel) +QtCore.QIdentityProxyModel.insertColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QIdentityProxyModel.insertRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QIdentityProxyModel.removeColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QIdentityProxyModel.removeRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QIdentityProxyModel.headerData?4(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant +QtCore.QIdentityProxyModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtCore.QIdentityProxyModel.moveRows?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QIdentityProxyModel.moveColumns?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QIODevice.OpenMode?1() +QtCore.QIODevice.OpenMode.__init__?1(self) +QtCore.QIODevice.OpenMode?1(int) +QtCore.QIODevice.OpenMode.__init__?1(self, int) +QtCore.QIODevice.OpenMode?1(QIODevice.OpenMode) +QtCore.QIODevice.OpenMode.__init__?1(self, QIODevice.OpenMode) +QtCore.QItemSelectionRange?1() +QtCore.QItemSelectionRange.__init__?1(self) +QtCore.QItemSelectionRange?1(QItemSelectionRange) +QtCore.QItemSelectionRange.__init__?1(self, QItemSelectionRange) +QtCore.QItemSelectionRange?1(QModelIndex, QModelIndex) +QtCore.QItemSelectionRange.__init__?1(self, QModelIndex, QModelIndex) +QtCore.QItemSelectionRange?1(QModelIndex) +QtCore.QItemSelectionRange.__init__?1(self, QModelIndex) +QtCore.QItemSelectionRange.top?4() -> int +QtCore.QItemSelectionRange.left?4() -> int +QtCore.QItemSelectionRange.bottom?4() -> int +QtCore.QItemSelectionRange.right?4() -> int +QtCore.QItemSelectionRange.width?4() -> int +QtCore.QItemSelectionRange.height?4() -> int +QtCore.QItemSelectionRange.topLeft?4() -> QPersistentModelIndex +QtCore.QItemSelectionRange.bottomRight?4() -> QPersistentModelIndex +QtCore.QItemSelectionRange.parent?4() -> QModelIndex +QtCore.QItemSelectionRange.model?4() -> QAbstractItemModel +QtCore.QItemSelectionRange.contains?4(QModelIndex) -> bool +QtCore.QItemSelectionRange.contains?4(int, int, QModelIndex) -> bool +QtCore.QItemSelectionRange.intersects?4(QItemSelectionRange) -> bool +QtCore.QItemSelectionRange.isValid?4() -> bool +QtCore.QItemSelectionRange.indexes?4() -> unknown-type +QtCore.QItemSelectionRange.intersected?4(QItemSelectionRange) -> QItemSelectionRange +QtCore.QItemSelectionRange.isEmpty?4() -> bool +QtCore.QItemSelectionRange.swap?4(QItemSelectionRange) +QtCore.QItemSelectionModel.SelectionFlag?10 +QtCore.QItemSelectionModel.SelectionFlag.NoUpdate?10 +QtCore.QItemSelectionModel.SelectionFlag.Clear?10 +QtCore.QItemSelectionModel.SelectionFlag.Select?10 +QtCore.QItemSelectionModel.SelectionFlag.Deselect?10 +QtCore.QItemSelectionModel.SelectionFlag.Toggle?10 +QtCore.QItemSelectionModel.SelectionFlag.Current?10 +QtCore.QItemSelectionModel.SelectionFlag.Rows?10 +QtCore.QItemSelectionModel.SelectionFlag.Columns?10 +QtCore.QItemSelectionModel.SelectionFlag.SelectCurrent?10 +QtCore.QItemSelectionModel.SelectionFlag.ToggleCurrent?10 +QtCore.QItemSelectionModel.SelectionFlag.ClearAndSelect?10 +QtCore.QItemSelectionModel?1(QAbstractItemModel model=None) +QtCore.QItemSelectionModel.__init__?1(self, QAbstractItemModel model=None) +QtCore.QItemSelectionModel?1(QAbstractItemModel, QObject) +QtCore.QItemSelectionModel.__init__?1(self, QAbstractItemModel, QObject) +QtCore.QItemSelectionModel.currentIndex?4() -> QModelIndex +QtCore.QItemSelectionModel.isSelected?4(QModelIndex) -> bool +QtCore.QItemSelectionModel.isRowSelected?4(int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QItemSelectionModel.isColumnSelected?4(int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QItemSelectionModel.rowIntersectsSelection?4(int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QItemSelectionModel.columnIntersectsSelection?4(int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QItemSelectionModel.selectedIndexes?4() -> unknown-type +QtCore.QItemSelectionModel.selection?4() -> QItemSelection +QtCore.QItemSelectionModel.model?4() -> QAbstractItemModel +QtCore.QItemSelectionModel.clear?4() +QtCore.QItemSelectionModel.clearSelection?4() +QtCore.QItemSelectionModel.reset?4() +QtCore.QItemSelectionModel.select?4(QModelIndex, QItemSelectionModel.SelectionFlags) +QtCore.QItemSelectionModel.select?4(QItemSelection, QItemSelectionModel.SelectionFlags) +QtCore.QItemSelectionModel.setCurrentIndex?4(QModelIndex, QItemSelectionModel.SelectionFlags) +QtCore.QItemSelectionModel.clearCurrentIndex?4() +QtCore.QItemSelectionModel.selectionChanged?4(QItemSelection, QItemSelection) +QtCore.QItemSelectionModel.currentChanged?4(QModelIndex, QModelIndex) +QtCore.QItemSelectionModel.currentRowChanged?4(QModelIndex, QModelIndex) +QtCore.QItemSelectionModel.currentColumnChanged?4(QModelIndex, QModelIndex) +QtCore.QItemSelectionModel.emitSelectionChanged?4(QItemSelection, QItemSelection) +QtCore.QItemSelectionModel.hasSelection?4() -> bool +QtCore.QItemSelectionModel.selectedRows?4(int column=0) -> unknown-type +QtCore.QItemSelectionModel.selectedColumns?4(int row=0) -> unknown-type +QtCore.QItemSelectionModel.setModel?4(QAbstractItemModel) +QtCore.QItemSelectionModel.modelChanged?4(QAbstractItemModel) +QtCore.QItemSelectionModel.SelectionFlags?1() +QtCore.QItemSelectionModel.SelectionFlags.__init__?1(self) +QtCore.QItemSelectionModel.SelectionFlags?1(int) +QtCore.QItemSelectionModel.SelectionFlags.__init__?1(self, int) +QtCore.QItemSelectionModel.SelectionFlags?1(QItemSelectionModel.SelectionFlags) +QtCore.QItemSelectionModel.SelectionFlags.__init__?1(self, QItemSelectionModel.SelectionFlags) +QtCore.QItemSelection?1() +QtCore.QItemSelection.__init__?1(self) +QtCore.QItemSelection?1(QModelIndex, QModelIndex) +QtCore.QItemSelection.__init__?1(self, QModelIndex, QModelIndex) +QtCore.QItemSelection?1(QItemSelection) +QtCore.QItemSelection.__init__?1(self, QItemSelection) +QtCore.QItemSelection.select?4(QModelIndex, QModelIndex) +QtCore.QItemSelection.contains?4(QModelIndex) -> bool +QtCore.QItemSelection.indexes?4() -> unknown-type +QtCore.QItemSelection.merge?4(QItemSelection, QItemSelectionModel.SelectionFlags) +QtCore.QItemSelection.split?4(QItemSelectionRange, QItemSelectionRange, QItemSelection) +QtCore.QItemSelection.clear?4() +QtCore.QItemSelection.isEmpty?4() -> bool +QtCore.QItemSelection.append?4(QItemSelectionRange) +QtCore.QItemSelection.prepend?4(QItemSelectionRange) +QtCore.QItemSelection.insert?4(int, QItemSelectionRange) +QtCore.QItemSelection.replace?4(int, QItemSelectionRange) +QtCore.QItemSelection.removeAt?4(int) +QtCore.QItemSelection.removeAll?4(QItemSelectionRange) -> int +QtCore.QItemSelection.takeAt?4(int) -> QItemSelectionRange +QtCore.QItemSelection.takeFirst?4() -> QItemSelectionRange +QtCore.QItemSelection.takeLast?4() -> QItemSelectionRange +QtCore.QItemSelection.move?4(int, int) +QtCore.QItemSelection.swap?4(int, int) +QtCore.QItemSelection.count?4(QItemSelectionRange) -> int +QtCore.QItemSelection.count?4() -> int +QtCore.QItemSelection.first?4() -> QItemSelectionRange +QtCore.QItemSelection.last?4() -> QItemSelectionRange +QtCore.QItemSelection.indexOf?4(QItemSelectionRange, int from=0) -> int +QtCore.QItemSelection.lastIndexOf?4(QItemSelectionRange, int from=-1) -> int +QtCore.QJsonParseError.ParseError?10 +QtCore.QJsonParseError.ParseError.NoError?10 +QtCore.QJsonParseError.ParseError.UnterminatedObject?10 +QtCore.QJsonParseError.ParseError.MissingNameSeparator?10 +QtCore.QJsonParseError.ParseError.UnterminatedArray?10 +QtCore.QJsonParseError.ParseError.MissingValueSeparator?10 +QtCore.QJsonParseError.ParseError.IllegalValue?10 +QtCore.QJsonParseError.ParseError.TerminationByNumber?10 +QtCore.QJsonParseError.ParseError.IllegalNumber?10 +QtCore.QJsonParseError.ParseError.IllegalEscapeSequence?10 +QtCore.QJsonParseError.ParseError.IllegalUTF8String?10 +QtCore.QJsonParseError.ParseError.UnterminatedString?10 +QtCore.QJsonParseError.ParseError.MissingObject?10 +QtCore.QJsonParseError.ParseError.DeepNesting?10 +QtCore.QJsonParseError.ParseError.DocumentTooLarge?10 +QtCore.QJsonParseError.ParseError.GarbageAtEnd?10 +QtCore.QJsonParseError.error?7 +QtCore.QJsonParseError.offset?7 +QtCore.QJsonParseError?1() +QtCore.QJsonParseError.__init__?1(self) +QtCore.QJsonParseError?1(QJsonParseError) +QtCore.QJsonParseError.__init__?1(self, QJsonParseError) +QtCore.QJsonParseError.errorString?4() -> QString +QtCore.QJsonDocument.JsonFormat?10 +QtCore.QJsonDocument.JsonFormat.Indented?10 +QtCore.QJsonDocument.JsonFormat.Compact?10 +QtCore.QJsonDocument.DataValidation?10 +QtCore.QJsonDocument.DataValidation.Validate?10 +QtCore.QJsonDocument.DataValidation.BypassValidation?10 +QtCore.QJsonDocument?1() +QtCore.QJsonDocument.__init__?1(self) +QtCore.QJsonDocument?1(QJsonObject) +QtCore.QJsonDocument.__init__?1(self, QJsonObject) +QtCore.QJsonDocument?1(QJsonArray) +QtCore.QJsonDocument.__init__?1(self, QJsonArray) +QtCore.QJsonDocument?1(QJsonDocument) +QtCore.QJsonDocument.__init__?1(self, QJsonDocument) +QtCore.QJsonDocument.fromRawData?4(str, int, QJsonDocument.DataValidation validation=QJsonDocument.Validate) -> QJsonDocument +QtCore.QJsonDocument.rawData?4() -> (str, int) +QtCore.QJsonDocument.fromBinaryData?4(QByteArray, QJsonDocument.DataValidation validation=QJsonDocument.Validate) -> QJsonDocument +QtCore.QJsonDocument.toBinaryData?4() -> QByteArray +QtCore.QJsonDocument.fromVariant?4(QVariant) -> QJsonDocument +QtCore.QJsonDocument.toVariant?4() -> QVariant +QtCore.QJsonDocument.fromJson?4(QByteArray, QJsonParseError error=None) -> QJsonDocument +QtCore.QJsonDocument.toJson?4() -> QByteArray +QtCore.QJsonDocument.toJson?4(QJsonDocument.JsonFormat) -> QByteArray +QtCore.QJsonDocument.isEmpty?4() -> bool +QtCore.QJsonDocument.isArray?4() -> bool +QtCore.QJsonDocument.isObject?4() -> bool +QtCore.QJsonDocument.object?4() -> QJsonObject +QtCore.QJsonDocument.array?4() -> QJsonArray +QtCore.QJsonDocument.setObject?4(QJsonObject) +QtCore.QJsonDocument.setArray?4(QJsonArray) +QtCore.QJsonDocument.isNull?4() -> bool +QtCore.QJsonDocument.swap?4(QJsonDocument) +QtCore.QJsonValue.Type?10 +QtCore.QJsonValue.Type.Null?10 +QtCore.QJsonValue.Type.Bool?10 +QtCore.QJsonValue.Type.Double?10 +QtCore.QJsonValue.Type.String?10 +QtCore.QJsonValue.Type.Array?10 +QtCore.QJsonValue.Type.Object?10 +QtCore.QJsonValue.Type.Undefined?10 +QtCore.QJsonValue?1(QJsonValue.Type type=QJsonValue.Null) +QtCore.QJsonValue.__init__?1(self, QJsonValue.Type type=QJsonValue.Null) +QtCore.QJsonValue?1(QJsonValue) +QtCore.QJsonValue.__init__?1(self, QJsonValue) +QtCore.QJsonValue.fromVariant?4(QVariant) -> QJsonValue +QtCore.QJsonValue.toVariant?4() -> QVariant +QtCore.QJsonValue.type?4() -> QJsonValue.Type +QtCore.QJsonValue.isNull?4() -> bool +QtCore.QJsonValue.isBool?4() -> bool +QtCore.QJsonValue.isDouble?4() -> bool +QtCore.QJsonValue.isString?4() -> bool +QtCore.QJsonValue.isArray?4() -> bool +QtCore.QJsonValue.isObject?4() -> bool +QtCore.QJsonValue.isUndefined?4() -> bool +QtCore.QJsonValue.toBool?4(bool defaultValue=False) -> bool +QtCore.QJsonValue.toInt?4(int defaultValue=0) -> int +QtCore.QJsonValue.toDouble?4(float defaultValue=0) -> float +QtCore.QJsonValue.toArray?4() -> QJsonArray +QtCore.QJsonValue.toArray?4(QJsonArray) -> QJsonArray +QtCore.QJsonValue.toObject?4() -> QJsonObject +QtCore.QJsonValue.toObject?4(QJsonObject) -> QJsonObject +QtCore.QJsonValue.toString?4() -> QString +QtCore.QJsonValue.toString?4(QString) -> QString +QtCore.QJsonValue.swap?4(QJsonValue) +QtCore.QLibrary.LoadHint?10 +QtCore.QLibrary.LoadHint.ResolveAllSymbolsHint?10 +QtCore.QLibrary.LoadHint.ExportExternalSymbolsHint?10 +QtCore.QLibrary.LoadHint.LoadArchiveMemberHint?10 +QtCore.QLibrary.LoadHint.PreventUnloadHint?10 +QtCore.QLibrary.LoadHint.DeepBindHint?10 +QtCore.QLibrary?1(QObject parent=None) +QtCore.QLibrary.__init__?1(self, QObject parent=None) +QtCore.QLibrary?1(QString, QObject parent=None) +QtCore.QLibrary.__init__?1(self, QString, QObject parent=None) +QtCore.QLibrary?1(QString, int, QObject parent=None) +QtCore.QLibrary.__init__?1(self, QString, int, QObject parent=None) +QtCore.QLibrary?1(QString, QString, QObject parent=None) +QtCore.QLibrary.__init__?1(self, QString, QString, QObject parent=None) +QtCore.QLibrary.errorString?4() -> QString +QtCore.QLibrary.fileName?4() -> QString +QtCore.QLibrary.isLoaded?4() -> bool +QtCore.QLibrary.load?4() -> bool +QtCore.QLibrary.loadHints?4() -> QLibrary.LoadHints +QtCore.QLibrary.resolve?4(str) -> sip.voidptr +QtCore.QLibrary.resolve?4(QString, str) -> sip.voidptr +QtCore.QLibrary.resolve?4(QString, int, str) -> sip.voidptr +QtCore.QLibrary.resolve?4(QString, QString, str) -> sip.voidptr +QtCore.QLibrary.unload?4() -> bool +QtCore.QLibrary.isLibrary?4(QString) -> bool +QtCore.QLibrary.setFileName?4(QString) +QtCore.QLibrary.setFileNameAndVersion?4(QString, int) +QtCore.QLibrary.setFileNameAndVersion?4(QString, QString) +QtCore.QLibrary.setLoadHints?4(QLibrary.LoadHints) +QtCore.QLibrary.LoadHints?1() +QtCore.QLibrary.LoadHints.__init__?1(self) +QtCore.QLibrary.LoadHints?1(int) +QtCore.QLibrary.LoadHints.__init__?1(self, int) +QtCore.QLibrary.LoadHints?1(QLibrary.LoadHints) +QtCore.QLibrary.LoadHints.__init__?1(self, QLibrary.LoadHints) +QtCore.QLibraryInfo.LibraryLocation?10 +QtCore.QLibraryInfo.LibraryLocation.PrefixPath?10 +QtCore.QLibraryInfo.LibraryLocation.DocumentationPath?10 +QtCore.QLibraryInfo.LibraryLocation.HeadersPath?10 +QtCore.QLibraryInfo.LibraryLocation.LibrariesPath?10 +QtCore.QLibraryInfo.LibraryLocation.BinariesPath?10 +QtCore.QLibraryInfo.LibraryLocation.PluginsPath?10 +QtCore.QLibraryInfo.LibraryLocation.DataPath?10 +QtCore.QLibraryInfo.LibraryLocation.TranslationsPath?10 +QtCore.QLibraryInfo.LibraryLocation.SettingsPath?10 +QtCore.QLibraryInfo.LibraryLocation.ExamplesPath?10 +QtCore.QLibraryInfo.LibraryLocation.ImportsPath?10 +QtCore.QLibraryInfo.LibraryLocation.TestsPath?10 +QtCore.QLibraryInfo.LibraryLocation.LibraryExecutablesPath?10 +QtCore.QLibraryInfo.LibraryLocation.Qml2ImportsPath?10 +QtCore.QLibraryInfo.LibraryLocation.ArchDataPath?10 +QtCore.QLibraryInfo?1(QLibraryInfo) +QtCore.QLibraryInfo.__init__?1(self, QLibraryInfo) +QtCore.QLibraryInfo.licensee?4() -> QString +QtCore.QLibraryInfo.licensedProducts?4() -> QString +QtCore.QLibraryInfo.location?4(QLibraryInfo.LibraryLocation) -> QString +QtCore.QLibraryInfo.buildDate?4() -> QDate +QtCore.QLibraryInfo.isDebugBuild?4() -> bool +QtCore.QLibraryInfo.version?4() -> QVersionNumber +QtCore.QLine?1() +QtCore.QLine.__init__?1(self) +QtCore.QLine?1(QPoint, QPoint) +QtCore.QLine.__init__?1(self, QPoint, QPoint) +QtCore.QLine?1(int, int, int, int) +QtCore.QLine.__init__?1(self, int, int, int, int) +QtCore.QLine?1(QLine) +QtCore.QLine.__init__?1(self, QLine) +QtCore.QLine.isNull?4() -> bool +QtCore.QLine.x1?4() -> int +QtCore.QLine.y1?4() -> int +QtCore.QLine.x2?4() -> int +QtCore.QLine.y2?4() -> int +QtCore.QLine.p1?4() -> QPoint +QtCore.QLine.p2?4() -> QPoint +QtCore.QLine.dx?4() -> int +QtCore.QLine.dy?4() -> int +QtCore.QLine.translate?4(QPoint) +QtCore.QLine.translate?4(int, int) +QtCore.QLine.translated?4(QPoint) -> QLine +QtCore.QLine.translated?4(int, int) -> QLine +QtCore.QLine.setP1?4(QPoint) +QtCore.QLine.setP2?4(QPoint) +QtCore.QLine.setPoints?4(QPoint, QPoint) +QtCore.QLine.setLine?4(int, int, int, int) +QtCore.QLine.center?4() -> QPoint +QtCore.QLineF.IntersectType?10 +QtCore.QLineF.IntersectType.NoIntersection?10 +QtCore.QLineF.IntersectType.BoundedIntersection?10 +QtCore.QLineF.IntersectType.UnboundedIntersection?10 +QtCore.QLineF?1(QLine) +QtCore.QLineF.__init__?1(self, QLine) +QtCore.QLineF?1() +QtCore.QLineF.__init__?1(self) +QtCore.QLineF?1(QPointF, QPointF) +QtCore.QLineF.__init__?1(self, QPointF, QPointF) +QtCore.QLineF?1(float, float, float, float) +QtCore.QLineF.__init__?1(self, float, float, float, float) +QtCore.QLineF?1(QLineF) +QtCore.QLineF.__init__?1(self, QLineF) +QtCore.QLineF.isNull?4() -> bool +QtCore.QLineF.length?4() -> float +QtCore.QLineF.unitVector?4() -> QLineF +QtCore.QLineF.intersect?4(QLineF, QPointF) -> QLineF.IntersectType +QtCore.QLineF.intersects?4(QLineF) -> (QLineF.IntersectType, QPointF) +QtCore.QLineF.x1?4() -> float +QtCore.QLineF.y1?4() -> float +QtCore.QLineF.x2?4() -> float +QtCore.QLineF.y2?4() -> float +QtCore.QLineF.p1?4() -> QPointF +QtCore.QLineF.p2?4() -> QPointF +QtCore.QLineF.dx?4() -> float +QtCore.QLineF.dy?4() -> float +QtCore.QLineF.normalVector?4() -> QLineF +QtCore.QLineF.translate?4(QPointF) +QtCore.QLineF.translate?4(float, float) +QtCore.QLineF.setLength?4(float) +QtCore.QLineF.pointAt?4(float) -> QPointF +QtCore.QLineF.toLine?4() -> QLine +QtCore.QLineF.fromPolar?4(float, float) -> QLineF +QtCore.QLineF.angle?4() -> float +QtCore.QLineF.setAngle?4(float) +QtCore.QLineF.angleTo?4(QLineF) -> float +QtCore.QLineF.translated?4(QPointF) -> QLineF +QtCore.QLineF.translated?4(float, float) -> QLineF +QtCore.QLineF.setP1?4(QPointF) +QtCore.QLineF.setP2?4(QPointF) +QtCore.QLineF.setPoints?4(QPointF, QPointF) +QtCore.QLineF.setLine?4(float, float, float, float) +QtCore.QLineF.center?4() -> QPointF +QtCore.QLocale.DataSizeFormat?10 +QtCore.QLocale.DataSizeFormat.DataSizeIecFormat?10 +QtCore.QLocale.DataSizeFormat.DataSizeTraditionalFormat?10 +QtCore.QLocale.DataSizeFormat.DataSizeSIFormat?10 +QtCore.QLocale.FloatingPointPrecisionOption?10 +QtCore.QLocale.FloatingPointPrecisionOption.FloatingPointShortest?10 +QtCore.QLocale.QuotationStyle?10 +QtCore.QLocale.QuotationStyle.StandardQuotation?10 +QtCore.QLocale.QuotationStyle.AlternateQuotation?10 +QtCore.QLocale.CurrencySymbolFormat?10 +QtCore.QLocale.CurrencySymbolFormat.CurrencyIsoCode?10 +QtCore.QLocale.CurrencySymbolFormat.CurrencySymbol?10 +QtCore.QLocale.CurrencySymbolFormat.CurrencyDisplayName?10 +QtCore.QLocale.Script?10 +QtCore.QLocale.Script.AnyScript?10 +QtCore.QLocale.Script.ArabicScript?10 +QtCore.QLocale.Script.CyrillicScript?10 +QtCore.QLocale.Script.DeseretScript?10 +QtCore.QLocale.Script.GurmukhiScript?10 +QtCore.QLocale.Script.SimplifiedHanScript?10 +QtCore.QLocale.Script.TraditionalHanScript?10 +QtCore.QLocale.Script.LatinScript?10 +QtCore.QLocale.Script.MongolianScript?10 +QtCore.QLocale.Script.TifinaghScript?10 +QtCore.QLocale.Script.SimplifiedChineseScript?10 +QtCore.QLocale.Script.TraditionalChineseScript?10 +QtCore.QLocale.Script.ArmenianScript?10 +QtCore.QLocale.Script.BengaliScript?10 +QtCore.QLocale.Script.CherokeeScript?10 +QtCore.QLocale.Script.DevanagariScript?10 +QtCore.QLocale.Script.EthiopicScript?10 +QtCore.QLocale.Script.GeorgianScript?10 +QtCore.QLocale.Script.GreekScript?10 +QtCore.QLocale.Script.GujaratiScript?10 +QtCore.QLocale.Script.HebrewScript?10 +QtCore.QLocale.Script.JapaneseScript?10 +QtCore.QLocale.Script.KhmerScript?10 +QtCore.QLocale.Script.KannadaScript?10 +QtCore.QLocale.Script.KoreanScript?10 +QtCore.QLocale.Script.LaoScript?10 +QtCore.QLocale.Script.MalayalamScript?10 +QtCore.QLocale.Script.MyanmarScript?10 +QtCore.QLocale.Script.OriyaScript?10 +QtCore.QLocale.Script.TamilScript?10 +QtCore.QLocale.Script.TeluguScript?10 +QtCore.QLocale.Script.ThaanaScript?10 +QtCore.QLocale.Script.ThaiScript?10 +QtCore.QLocale.Script.TibetanScript?10 +QtCore.QLocale.Script.SinhalaScript?10 +QtCore.QLocale.Script.SyriacScript?10 +QtCore.QLocale.Script.YiScript?10 +QtCore.QLocale.Script.VaiScript?10 +QtCore.QLocale.Script.AvestanScript?10 +QtCore.QLocale.Script.BalineseScript?10 +QtCore.QLocale.Script.BamumScript?10 +QtCore.QLocale.Script.BatakScript?10 +QtCore.QLocale.Script.BopomofoScript?10 +QtCore.QLocale.Script.BrahmiScript?10 +QtCore.QLocale.Script.BugineseScript?10 +QtCore.QLocale.Script.BuhidScript?10 +QtCore.QLocale.Script.CanadianAboriginalScript?10 +QtCore.QLocale.Script.CarianScript?10 +QtCore.QLocale.Script.ChakmaScript?10 +QtCore.QLocale.Script.ChamScript?10 +QtCore.QLocale.Script.CopticScript?10 +QtCore.QLocale.Script.CypriotScript?10 +QtCore.QLocale.Script.EgyptianHieroglyphsScript?10 +QtCore.QLocale.Script.FraserScript?10 +QtCore.QLocale.Script.GlagoliticScript?10 +QtCore.QLocale.Script.GothicScript?10 +QtCore.QLocale.Script.HanScript?10 +QtCore.QLocale.Script.HangulScript?10 +QtCore.QLocale.Script.HanunooScript?10 +QtCore.QLocale.Script.ImperialAramaicScript?10 +QtCore.QLocale.Script.InscriptionalPahlaviScript?10 +QtCore.QLocale.Script.InscriptionalParthianScript?10 +QtCore.QLocale.Script.JavaneseScript?10 +QtCore.QLocale.Script.KaithiScript?10 +QtCore.QLocale.Script.KatakanaScript?10 +QtCore.QLocale.Script.KayahLiScript?10 +QtCore.QLocale.Script.KharoshthiScript?10 +QtCore.QLocale.Script.LannaScript?10 +QtCore.QLocale.Script.LepchaScript?10 +QtCore.QLocale.Script.LimbuScript?10 +QtCore.QLocale.Script.LinearBScript?10 +QtCore.QLocale.Script.LycianScript?10 +QtCore.QLocale.Script.LydianScript?10 +QtCore.QLocale.Script.MandaeanScript?10 +QtCore.QLocale.Script.MeiteiMayekScript?10 +QtCore.QLocale.Script.MeroiticScript?10 +QtCore.QLocale.Script.MeroiticCursiveScript?10 +QtCore.QLocale.Script.NkoScript?10 +QtCore.QLocale.Script.NewTaiLueScript?10 +QtCore.QLocale.Script.OghamScript?10 +QtCore.QLocale.Script.OlChikiScript?10 +QtCore.QLocale.Script.OldItalicScript?10 +QtCore.QLocale.Script.OldPersianScript?10 +QtCore.QLocale.Script.OldSouthArabianScript?10 +QtCore.QLocale.Script.OrkhonScript?10 +QtCore.QLocale.Script.OsmanyaScript?10 +QtCore.QLocale.Script.PhagsPaScript?10 +QtCore.QLocale.Script.PhoenicianScript?10 +QtCore.QLocale.Script.PollardPhoneticScript?10 +QtCore.QLocale.Script.RejangScript?10 +QtCore.QLocale.Script.RunicScript?10 +QtCore.QLocale.Script.SamaritanScript?10 +QtCore.QLocale.Script.SaurashtraScript?10 +QtCore.QLocale.Script.SharadaScript?10 +QtCore.QLocale.Script.ShavianScript?10 +QtCore.QLocale.Script.SoraSompengScript?10 +QtCore.QLocale.Script.CuneiformScript?10 +QtCore.QLocale.Script.SundaneseScript?10 +QtCore.QLocale.Script.SylotiNagriScript?10 +QtCore.QLocale.Script.TagalogScript?10 +QtCore.QLocale.Script.TagbanwaScript?10 +QtCore.QLocale.Script.TaiLeScript?10 +QtCore.QLocale.Script.TaiVietScript?10 +QtCore.QLocale.Script.TakriScript?10 +QtCore.QLocale.Script.UgariticScript?10 +QtCore.QLocale.Script.BrailleScript?10 +QtCore.QLocale.Script.HiraganaScript?10 +QtCore.QLocale.Script.CaucasianAlbanianScript?10 +QtCore.QLocale.Script.BassaVahScript?10 +QtCore.QLocale.Script.DuployanScript?10 +QtCore.QLocale.Script.ElbasanScript?10 +QtCore.QLocale.Script.GranthaScript?10 +QtCore.QLocale.Script.PahawhHmongScript?10 +QtCore.QLocale.Script.KhojkiScript?10 +QtCore.QLocale.Script.LinearAScript?10 +QtCore.QLocale.Script.MahajaniScript?10 +QtCore.QLocale.Script.ManichaeanScript?10 +QtCore.QLocale.Script.MendeKikakuiScript?10 +QtCore.QLocale.Script.ModiScript?10 +QtCore.QLocale.Script.MroScript?10 +QtCore.QLocale.Script.OldNorthArabianScript?10 +QtCore.QLocale.Script.NabataeanScript?10 +QtCore.QLocale.Script.PalmyreneScript?10 +QtCore.QLocale.Script.PauCinHauScript?10 +QtCore.QLocale.Script.OldPermicScript?10 +QtCore.QLocale.Script.PsalterPahlaviScript?10 +QtCore.QLocale.Script.SiddhamScript?10 +QtCore.QLocale.Script.KhudawadiScript?10 +QtCore.QLocale.Script.TirhutaScript?10 +QtCore.QLocale.Script.VarangKshitiScript?10 +QtCore.QLocale.Script.AhomScript?10 +QtCore.QLocale.Script.AnatolianHieroglyphsScript?10 +QtCore.QLocale.Script.HatranScript?10 +QtCore.QLocale.Script.MultaniScript?10 +QtCore.QLocale.Script.OldHungarianScript?10 +QtCore.QLocale.Script.SignWritingScript?10 +QtCore.QLocale.Script.AdlamScript?10 +QtCore.QLocale.Script.BhaiksukiScript?10 +QtCore.QLocale.Script.MarchenScript?10 +QtCore.QLocale.Script.NewaScript?10 +QtCore.QLocale.Script.OsageScript?10 +QtCore.QLocale.Script.TangutScript?10 +QtCore.QLocale.Script.HanWithBopomofoScript?10 +QtCore.QLocale.Script.JamoScript?10 +QtCore.QLocale.MeasurementSystem?10 +QtCore.QLocale.MeasurementSystem.MetricSystem?10 +QtCore.QLocale.MeasurementSystem.ImperialSystem?10 +QtCore.QLocale.MeasurementSystem.ImperialUSSystem?10 +QtCore.QLocale.MeasurementSystem.ImperialUKSystem?10 +QtCore.QLocale.FormatType?10 +QtCore.QLocale.FormatType.LongFormat?10 +QtCore.QLocale.FormatType.ShortFormat?10 +QtCore.QLocale.FormatType.NarrowFormat?10 +QtCore.QLocale.NumberOption?10 +QtCore.QLocale.NumberOption.OmitGroupSeparator?10 +QtCore.QLocale.NumberOption.RejectGroupSeparator?10 +QtCore.QLocale.NumberOption.DefaultNumberOptions?10 +QtCore.QLocale.NumberOption.OmitLeadingZeroInExponent?10 +QtCore.QLocale.NumberOption.RejectLeadingZeroInExponent?10 +QtCore.QLocale.NumberOption.IncludeTrailingZeroesAfterDot?10 +QtCore.QLocale.NumberOption.RejectTrailingZeroesAfterDot?10 +QtCore.QLocale.Country?10 +QtCore.QLocale.Country.AnyCountry?10 +QtCore.QLocale.Country.Afghanistan?10 +QtCore.QLocale.Country.Albania?10 +QtCore.QLocale.Country.Algeria?10 +QtCore.QLocale.Country.AmericanSamoa?10 +QtCore.QLocale.Country.Andorra?10 +QtCore.QLocale.Country.Angola?10 +QtCore.QLocale.Country.Anguilla?10 +QtCore.QLocale.Country.Antarctica?10 +QtCore.QLocale.Country.AntiguaAndBarbuda?10 +QtCore.QLocale.Country.Argentina?10 +QtCore.QLocale.Country.Armenia?10 +QtCore.QLocale.Country.Aruba?10 +QtCore.QLocale.Country.Australia?10 +QtCore.QLocale.Country.Austria?10 +QtCore.QLocale.Country.Azerbaijan?10 +QtCore.QLocale.Country.Bahamas?10 +QtCore.QLocale.Country.Bahrain?10 +QtCore.QLocale.Country.Bangladesh?10 +QtCore.QLocale.Country.Barbados?10 +QtCore.QLocale.Country.Belarus?10 +QtCore.QLocale.Country.Belgium?10 +QtCore.QLocale.Country.Belize?10 +QtCore.QLocale.Country.Benin?10 +QtCore.QLocale.Country.Bermuda?10 +QtCore.QLocale.Country.Bhutan?10 +QtCore.QLocale.Country.Bolivia?10 +QtCore.QLocale.Country.BosniaAndHerzegowina?10 +QtCore.QLocale.Country.Botswana?10 +QtCore.QLocale.Country.BouvetIsland?10 +QtCore.QLocale.Country.Brazil?10 +QtCore.QLocale.Country.BritishIndianOceanTerritory?10 +QtCore.QLocale.Country.Bulgaria?10 +QtCore.QLocale.Country.BurkinaFaso?10 +QtCore.QLocale.Country.Burundi?10 +QtCore.QLocale.Country.Cambodia?10 +QtCore.QLocale.Country.Cameroon?10 +QtCore.QLocale.Country.Canada?10 +QtCore.QLocale.Country.CapeVerde?10 +QtCore.QLocale.Country.CaymanIslands?10 +QtCore.QLocale.Country.CentralAfricanRepublic?10 +QtCore.QLocale.Country.Chad?10 +QtCore.QLocale.Country.Chile?10 +QtCore.QLocale.Country.China?10 +QtCore.QLocale.Country.ChristmasIsland?10 +QtCore.QLocale.Country.CocosIslands?10 +QtCore.QLocale.Country.Colombia?10 +QtCore.QLocale.Country.Comoros?10 +QtCore.QLocale.Country.DemocraticRepublicOfCongo?10 +QtCore.QLocale.Country.PeoplesRepublicOfCongo?10 +QtCore.QLocale.Country.CookIslands?10 +QtCore.QLocale.Country.CostaRica?10 +QtCore.QLocale.Country.IvoryCoast?10 +QtCore.QLocale.Country.Croatia?10 +QtCore.QLocale.Country.Cuba?10 +QtCore.QLocale.Country.Cyprus?10 +QtCore.QLocale.Country.CzechRepublic?10 +QtCore.QLocale.Country.Denmark?10 +QtCore.QLocale.Country.Djibouti?10 +QtCore.QLocale.Country.Dominica?10 +QtCore.QLocale.Country.DominicanRepublic?10 +QtCore.QLocale.Country.EastTimor?10 +QtCore.QLocale.Country.Ecuador?10 +QtCore.QLocale.Country.Egypt?10 +QtCore.QLocale.Country.ElSalvador?10 +QtCore.QLocale.Country.EquatorialGuinea?10 +QtCore.QLocale.Country.Eritrea?10 +QtCore.QLocale.Country.Estonia?10 +QtCore.QLocale.Country.Ethiopia?10 +QtCore.QLocale.Country.FalklandIslands?10 +QtCore.QLocale.Country.FaroeIslands?10 +QtCore.QLocale.Country.Finland?10 +QtCore.QLocale.Country.France?10 +QtCore.QLocale.Country.FrenchGuiana?10 +QtCore.QLocale.Country.FrenchPolynesia?10 +QtCore.QLocale.Country.FrenchSouthernTerritories?10 +QtCore.QLocale.Country.Gabon?10 +QtCore.QLocale.Country.Gambia?10 +QtCore.QLocale.Country.Georgia?10 +QtCore.QLocale.Country.Germany?10 +QtCore.QLocale.Country.Ghana?10 +QtCore.QLocale.Country.Gibraltar?10 +QtCore.QLocale.Country.Greece?10 +QtCore.QLocale.Country.Greenland?10 +QtCore.QLocale.Country.Grenada?10 +QtCore.QLocale.Country.Guadeloupe?10 +QtCore.QLocale.Country.Guam?10 +QtCore.QLocale.Country.Guatemala?10 +QtCore.QLocale.Country.Guinea?10 +QtCore.QLocale.Country.GuineaBissau?10 +QtCore.QLocale.Country.Guyana?10 +QtCore.QLocale.Country.Haiti?10 +QtCore.QLocale.Country.HeardAndMcDonaldIslands?10 +QtCore.QLocale.Country.Honduras?10 +QtCore.QLocale.Country.HongKong?10 +QtCore.QLocale.Country.Hungary?10 +QtCore.QLocale.Country.Iceland?10 +QtCore.QLocale.Country.India?10 +QtCore.QLocale.Country.Indonesia?10 +QtCore.QLocale.Country.Iran?10 +QtCore.QLocale.Country.Iraq?10 +QtCore.QLocale.Country.Ireland?10 +QtCore.QLocale.Country.Israel?10 +QtCore.QLocale.Country.Italy?10 +QtCore.QLocale.Country.Jamaica?10 +QtCore.QLocale.Country.Japan?10 +QtCore.QLocale.Country.Jordan?10 +QtCore.QLocale.Country.Kazakhstan?10 +QtCore.QLocale.Country.Kenya?10 +QtCore.QLocale.Country.Kiribati?10 +QtCore.QLocale.Country.DemocraticRepublicOfKorea?10 +QtCore.QLocale.Country.RepublicOfKorea?10 +QtCore.QLocale.Country.Kuwait?10 +QtCore.QLocale.Country.Kyrgyzstan?10 +QtCore.QLocale.Country.Latvia?10 +QtCore.QLocale.Country.Lebanon?10 +QtCore.QLocale.Country.Lesotho?10 +QtCore.QLocale.Country.Liberia?10 +QtCore.QLocale.Country.Liechtenstein?10 +QtCore.QLocale.Country.Lithuania?10 +QtCore.QLocale.Country.Luxembourg?10 +QtCore.QLocale.Country.Macau?10 +QtCore.QLocale.Country.Macedonia?10 +QtCore.QLocale.Country.Madagascar?10 +QtCore.QLocale.Country.Malawi?10 +QtCore.QLocale.Country.Malaysia?10 +QtCore.QLocale.Country.Maldives?10 +QtCore.QLocale.Country.Mali?10 +QtCore.QLocale.Country.Malta?10 +QtCore.QLocale.Country.MarshallIslands?10 +QtCore.QLocale.Country.Martinique?10 +QtCore.QLocale.Country.Mauritania?10 +QtCore.QLocale.Country.Mauritius?10 +QtCore.QLocale.Country.Mayotte?10 +QtCore.QLocale.Country.Mexico?10 +QtCore.QLocale.Country.Micronesia?10 +QtCore.QLocale.Country.Moldova?10 +QtCore.QLocale.Country.Monaco?10 +QtCore.QLocale.Country.Mongolia?10 +QtCore.QLocale.Country.Montserrat?10 +QtCore.QLocale.Country.Morocco?10 +QtCore.QLocale.Country.Mozambique?10 +QtCore.QLocale.Country.Myanmar?10 +QtCore.QLocale.Country.Namibia?10 +QtCore.QLocale.Country.NauruCountry?10 +QtCore.QLocale.Country.Nepal?10 +QtCore.QLocale.Country.Netherlands?10 +QtCore.QLocale.Country.NewCaledonia?10 +QtCore.QLocale.Country.NewZealand?10 +QtCore.QLocale.Country.Nicaragua?10 +QtCore.QLocale.Country.Niger?10 +QtCore.QLocale.Country.Nigeria?10 +QtCore.QLocale.Country.Niue?10 +QtCore.QLocale.Country.NorfolkIsland?10 +QtCore.QLocale.Country.NorthernMarianaIslands?10 +QtCore.QLocale.Country.Norway?10 +QtCore.QLocale.Country.Oman?10 +QtCore.QLocale.Country.Pakistan?10 +QtCore.QLocale.Country.Palau?10 +QtCore.QLocale.Country.Panama?10 +QtCore.QLocale.Country.PapuaNewGuinea?10 +QtCore.QLocale.Country.Paraguay?10 +QtCore.QLocale.Country.Peru?10 +QtCore.QLocale.Country.Philippines?10 +QtCore.QLocale.Country.Pitcairn?10 +QtCore.QLocale.Country.Poland?10 +QtCore.QLocale.Country.Portugal?10 +QtCore.QLocale.Country.PuertoRico?10 +QtCore.QLocale.Country.Qatar?10 +QtCore.QLocale.Country.Reunion?10 +QtCore.QLocale.Country.Romania?10 +QtCore.QLocale.Country.RussianFederation?10 +QtCore.QLocale.Country.Rwanda?10 +QtCore.QLocale.Country.SaintKittsAndNevis?10 +QtCore.QLocale.Country.Samoa?10 +QtCore.QLocale.Country.SanMarino?10 +QtCore.QLocale.Country.SaoTomeAndPrincipe?10 +QtCore.QLocale.Country.SaudiArabia?10 +QtCore.QLocale.Country.Senegal?10 +QtCore.QLocale.Country.Seychelles?10 +QtCore.QLocale.Country.SierraLeone?10 +QtCore.QLocale.Country.Singapore?10 +QtCore.QLocale.Country.Slovakia?10 +QtCore.QLocale.Country.Slovenia?10 +QtCore.QLocale.Country.SolomonIslands?10 +QtCore.QLocale.Country.Somalia?10 +QtCore.QLocale.Country.SouthAfrica?10 +QtCore.QLocale.Country.SouthGeorgiaAndTheSouthSandwichIslands?10 +QtCore.QLocale.Country.Spain?10 +QtCore.QLocale.Country.SriLanka?10 +QtCore.QLocale.Country.Sudan?10 +QtCore.QLocale.Country.Suriname?10 +QtCore.QLocale.Country.SvalbardAndJanMayenIslands?10 +QtCore.QLocale.Country.Swaziland?10 +QtCore.QLocale.Country.Sweden?10 +QtCore.QLocale.Country.Switzerland?10 +QtCore.QLocale.Country.SyrianArabRepublic?10 +QtCore.QLocale.Country.Taiwan?10 +QtCore.QLocale.Country.Tajikistan?10 +QtCore.QLocale.Country.Tanzania?10 +QtCore.QLocale.Country.Thailand?10 +QtCore.QLocale.Country.Togo?10 +QtCore.QLocale.Country.Tokelau?10 +QtCore.QLocale.Country.TrinidadAndTobago?10 +QtCore.QLocale.Country.Tunisia?10 +QtCore.QLocale.Country.Turkey?10 +QtCore.QLocale.Country.Turkmenistan?10 +QtCore.QLocale.Country.TurksAndCaicosIslands?10 +QtCore.QLocale.Country.Tuvalu?10 +QtCore.QLocale.Country.Uganda?10 +QtCore.QLocale.Country.Ukraine?10 +QtCore.QLocale.Country.UnitedArabEmirates?10 +QtCore.QLocale.Country.UnitedKingdom?10 +QtCore.QLocale.Country.UnitedStates?10 +QtCore.QLocale.Country.UnitedStatesMinorOutlyingIslands?10 +QtCore.QLocale.Country.Uruguay?10 +QtCore.QLocale.Country.Uzbekistan?10 +QtCore.QLocale.Country.Vanuatu?10 +QtCore.QLocale.Country.VaticanCityState?10 +QtCore.QLocale.Country.Venezuela?10 +QtCore.QLocale.Country.BritishVirginIslands?10 +QtCore.QLocale.Country.WallisAndFutunaIslands?10 +QtCore.QLocale.Country.WesternSahara?10 +QtCore.QLocale.Country.Yemen?10 +QtCore.QLocale.Country.Zambia?10 +QtCore.QLocale.Country.Zimbabwe?10 +QtCore.QLocale.Country.Montenegro?10 +QtCore.QLocale.Country.Serbia?10 +QtCore.QLocale.Country.SaintBarthelemy?10 +QtCore.QLocale.Country.SaintMartin?10 +QtCore.QLocale.Country.LatinAmericaAndTheCaribbean?10 +QtCore.QLocale.Country.LastCountry?10 +QtCore.QLocale.Country.Brunei?10 +QtCore.QLocale.Country.CongoKinshasa?10 +QtCore.QLocale.Country.CongoBrazzaville?10 +QtCore.QLocale.Country.Fiji?10 +QtCore.QLocale.Country.Guernsey?10 +QtCore.QLocale.Country.NorthKorea?10 +QtCore.QLocale.Country.SouthKorea?10 +QtCore.QLocale.Country.Laos?10 +QtCore.QLocale.Country.Libya?10 +QtCore.QLocale.Country.CuraSao?10 +QtCore.QLocale.Country.PalestinianTerritories?10 +QtCore.QLocale.Country.Russia?10 +QtCore.QLocale.Country.SaintLucia?10 +QtCore.QLocale.Country.SaintVincentAndTheGrenadines?10 +QtCore.QLocale.Country.SaintHelena?10 +QtCore.QLocale.Country.SaintPierreAndMiquelon?10 +QtCore.QLocale.Country.Syria?10 +QtCore.QLocale.Country.Tonga?10 +QtCore.QLocale.Country.Vietnam?10 +QtCore.QLocale.Country.UnitedStatesVirginIslands?10 +QtCore.QLocale.Country.CanaryIslands?10 +QtCore.QLocale.Country.ClippertonIsland?10 +QtCore.QLocale.Country.AscensionIsland?10 +QtCore.QLocale.Country.AlandIslands?10 +QtCore.QLocale.Country.DiegoGarcia?10 +QtCore.QLocale.Country.CeutaAndMelilla?10 +QtCore.QLocale.Country.IsleOfMan?10 +QtCore.QLocale.Country.Jersey?10 +QtCore.QLocale.Country.TristanDaCunha?10 +QtCore.QLocale.Country.SouthSudan?10 +QtCore.QLocale.Country.Bonaire?10 +QtCore.QLocale.Country.SintMaarten?10 +QtCore.QLocale.Country.Kosovo?10 +QtCore.QLocale.Country.TokelauCountry?10 +QtCore.QLocale.Country.TuvaluCountry?10 +QtCore.QLocale.Country.EuropeanUnion?10 +QtCore.QLocale.Country.OutlyingOceania?10 +QtCore.QLocale.Country.LatinAmerica?10 +QtCore.QLocale.Country.World?10 +QtCore.QLocale.Country.Europe?10 +QtCore.QLocale.Language?10 +QtCore.QLocale.Language.C?10 +QtCore.QLocale.Language.Abkhazian?10 +QtCore.QLocale.Language.Afan?10 +QtCore.QLocale.Language.Afar?10 +QtCore.QLocale.Language.Afrikaans?10 +QtCore.QLocale.Language.Albanian?10 +QtCore.QLocale.Language.Amharic?10 +QtCore.QLocale.Language.Arabic?10 +QtCore.QLocale.Language.Armenian?10 +QtCore.QLocale.Language.Assamese?10 +QtCore.QLocale.Language.Aymara?10 +QtCore.QLocale.Language.Azerbaijani?10 +QtCore.QLocale.Language.Bashkir?10 +QtCore.QLocale.Language.Basque?10 +QtCore.QLocale.Language.Bengali?10 +QtCore.QLocale.Language.Bhutani?10 +QtCore.QLocale.Language.Bihari?10 +QtCore.QLocale.Language.Bislama?10 +QtCore.QLocale.Language.Breton?10 +QtCore.QLocale.Language.Bulgarian?10 +QtCore.QLocale.Language.Burmese?10 +QtCore.QLocale.Language.Byelorussian?10 +QtCore.QLocale.Language.Cambodian?10 +QtCore.QLocale.Language.Catalan?10 +QtCore.QLocale.Language.Chinese?10 +QtCore.QLocale.Language.Corsican?10 +QtCore.QLocale.Language.Croatian?10 +QtCore.QLocale.Language.Czech?10 +QtCore.QLocale.Language.Danish?10 +QtCore.QLocale.Language.Dutch?10 +QtCore.QLocale.Language.English?10 +QtCore.QLocale.Language.Esperanto?10 +QtCore.QLocale.Language.Estonian?10 +QtCore.QLocale.Language.Faroese?10 +QtCore.QLocale.Language.Finnish?10 +QtCore.QLocale.Language.French?10 +QtCore.QLocale.Language.Frisian?10 +QtCore.QLocale.Language.Gaelic?10 +QtCore.QLocale.Language.Galician?10 +QtCore.QLocale.Language.Georgian?10 +QtCore.QLocale.Language.German?10 +QtCore.QLocale.Language.Greek?10 +QtCore.QLocale.Language.Greenlandic?10 +QtCore.QLocale.Language.Guarani?10 +QtCore.QLocale.Language.Gujarati?10 +QtCore.QLocale.Language.Hausa?10 +QtCore.QLocale.Language.Hebrew?10 +QtCore.QLocale.Language.Hindi?10 +QtCore.QLocale.Language.Hungarian?10 +QtCore.QLocale.Language.Icelandic?10 +QtCore.QLocale.Language.Indonesian?10 +QtCore.QLocale.Language.Interlingua?10 +QtCore.QLocale.Language.Interlingue?10 +QtCore.QLocale.Language.Inuktitut?10 +QtCore.QLocale.Language.Inupiak?10 +QtCore.QLocale.Language.Irish?10 +QtCore.QLocale.Language.Italian?10 +QtCore.QLocale.Language.Japanese?10 +QtCore.QLocale.Language.Javanese?10 +QtCore.QLocale.Language.Kannada?10 +QtCore.QLocale.Language.Kashmiri?10 +QtCore.QLocale.Language.Kazakh?10 +QtCore.QLocale.Language.Kinyarwanda?10 +QtCore.QLocale.Language.Kirghiz?10 +QtCore.QLocale.Language.Korean?10 +QtCore.QLocale.Language.Kurdish?10 +QtCore.QLocale.Language.Kurundi?10 +QtCore.QLocale.Language.Latin?10 +QtCore.QLocale.Language.Latvian?10 +QtCore.QLocale.Language.Lingala?10 +QtCore.QLocale.Language.Lithuanian?10 +QtCore.QLocale.Language.Macedonian?10 +QtCore.QLocale.Language.Malagasy?10 +QtCore.QLocale.Language.Malay?10 +QtCore.QLocale.Language.Malayalam?10 +QtCore.QLocale.Language.Maltese?10 +QtCore.QLocale.Language.Maori?10 +QtCore.QLocale.Language.Marathi?10 +QtCore.QLocale.Language.Moldavian?10 +QtCore.QLocale.Language.Mongolian?10 +QtCore.QLocale.Language.NauruLanguage?10 +QtCore.QLocale.Language.Nepali?10 +QtCore.QLocale.Language.Norwegian?10 +QtCore.QLocale.Language.Occitan?10 +QtCore.QLocale.Language.Oriya?10 +QtCore.QLocale.Language.Pashto?10 +QtCore.QLocale.Language.Persian?10 +QtCore.QLocale.Language.Polish?10 +QtCore.QLocale.Language.Portuguese?10 +QtCore.QLocale.Language.Punjabi?10 +QtCore.QLocale.Language.Quechua?10 +QtCore.QLocale.Language.RhaetoRomance?10 +QtCore.QLocale.Language.Romanian?10 +QtCore.QLocale.Language.Russian?10 +QtCore.QLocale.Language.Samoan?10 +QtCore.QLocale.Language.Sanskrit?10 +QtCore.QLocale.Language.Serbian?10 +QtCore.QLocale.Language.SerboCroatian?10 +QtCore.QLocale.Language.Shona?10 +QtCore.QLocale.Language.Sindhi?10 +QtCore.QLocale.Language.Slovak?10 +QtCore.QLocale.Language.Slovenian?10 +QtCore.QLocale.Language.Somali?10 +QtCore.QLocale.Language.Spanish?10 +QtCore.QLocale.Language.Sundanese?10 +QtCore.QLocale.Language.Swahili?10 +QtCore.QLocale.Language.Swedish?10 +QtCore.QLocale.Language.Tagalog?10 +QtCore.QLocale.Language.Tajik?10 +QtCore.QLocale.Language.Tamil?10 +QtCore.QLocale.Language.Tatar?10 +QtCore.QLocale.Language.Telugu?10 +QtCore.QLocale.Language.Thai?10 +QtCore.QLocale.Language.Tibetan?10 +QtCore.QLocale.Language.Tigrinya?10 +QtCore.QLocale.Language.Tsonga?10 +QtCore.QLocale.Language.Turkish?10 +QtCore.QLocale.Language.Turkmen?10 +QtCore.QLocale.Language.Twi?10 +QtCore.QLocale.Language.Uigur?10 +QtCore.QLocale.Language.Ukrainian?10 +QtCore.QLocale.Language.Urdu?10 +QtCore.QLocale.Language.Uzbek?10 +QtCore.QLocale.Language.Vietnamese?10 +QtCore.QLocale.Language.Volapuk?10 +QtCore.QLocale.Language.Welsh?10 +QtCore.QLocale.Language.Wolof?10 +QtCore.QLocale.Language.Xhosa?10 +QtCore.QLocale.Language.Yiddish?10 +QtCore.QLocale.Language.Yoruba?10 +QtCore.QLocale.Language.Zhuang?10 +QtCore.QLocale.Language.Zulu?10 +QtCore.QLocale.Language.Bosnian?10 +QtCore.QLocale.Language.Divehi?10 +QtCore.QLocale.Language.Manx?10 +QtCore.QLocale.Language.Cornish?10 +QtCore.QLocale.Language.LastLanguage?10 +QtCore.QLocale.Language.NorwegianBokmal?10 +QtCore.QLocale.Language.NorwegianNynorsk?10 +QtCore.QLocale.Language.Akan?10 +QtCore.QLocale.Language.Konkani?10 +QtCore.QLocale.Language.Ga?10 +QtCore.QLocale.Language.Igbo?10 +QtCore.QLocale.Language.Kamba?10 +QtCore.QLocale.Language.Syriac?10 +QtCore.QLocale.Language.Blin?10 +QtCore.QLocale.Language.Geez?10 +QtCore.QLocale.Language.Koro?10 +QtCore.QLocale.Language.Sidamo?10 +QtCore.QLocale.Language.Atsam?10 +QtCore.QLocale.Language.Tigre?10 +QtCore.QLocale.Language.Jju?10 +QtCore.QLocale.Language.Friulian?10 +QtCore.QLocale.Language.Venda?10 +QtCore.QLocale.Language.Ewe?10 +QtCore.QLocale.Language.Walamo?10 +QtCore.QLocale.Language.Hawaiian?10 +QtCore.QLocale.Language.Tyap?10 +QtCore.QLocale.Language.Chewa?10 +QtCore.QLocale.Language.Filipino?10 +QtCore.QLocale.Language.SwissGerman?10 +QtCore.QLocale.Language.SichuanYi?10 +QtCore.QLocale.Language.Kpelle?10 +QtCore.QLocale.Language.LowGerman?10 +QtCore.QLocale.Language.SouthNdebele?10 +QtCore.QLocale.Language.NorthernSotho?10 +QtCore.QLocale.Language.NorthernSami?10 +QtCore.QLocale.Language.Taroko?10 +QtCore.QLocale.Language.Gusii?10 +QtCore.QLocale.Language.Taita?10 +QtCore.QLocale.Language.Fulah?10 +QtCore.QLocale.Language.Kikuyu?10 +QtCore.QLocale.Language.Samburu?10 +QtCore.QLocale.Language.Sena?10 +QtCore.QLocale.Language.NorthNdebele?10 +QtCore.QLocale.Language.Rombo?10 +QtCore.QLocale.Language.Tachelhit?10 +QtCore.QLocale.Language.Kabyle?10 +QtCore.QLocale.Language.Nyankole?10 +QtCore.QLocale.Language.Bena?10 +QtCore.QLocale.Language.Vunjo?10 +QtCore.QLocale.Language.Bambara?10 +QtCore.QLocale.Language.Embu?10 +QtCore.QLocale.Language.Cherokee?10 +QtCore.QLocale.Language.Morisyen?10 +QtCore.QLocale.Language.Makonde?10 +QtCore.QLocale.Language.Langi?10 +QtCore.QLocale.Language.Ganda?10 +QtCore.QLocale.Language.Bemba?10 +QtCore.QLocale.Language.Kabuverdianu?10 +QtCore.QLocale.Language.Meru?10 +QtCore.QLocale.Language.Kalenjin?10 +QtCore.QLocale.Language.Nama?10 +QtCore.QLocale.Language.Machame?10 +QtCore.QLocale.Language.Colognian?10 +QtCore.QLocale.Language.Masai?10 +QtCore.QLocale.Language.Soga?10 +QtCore.QLocale.Language.Luyia?10 +QtCore.QLocale.Language.Asu?10 +QtCore.QLocale.Language.Teso?10 +QtCore.QLocale.Language.Saho?10 +QtCore.QLocale.Language.KoyraChiini?10 +QtCore.QLocale.Language.Rwa?10 +QtCore.QLocale.Language.Luo?10 +QtCore.QLocale.Language.Chiga?10 +QtCore.QLocale.Language.CentralMoroccoTamazight?10 +QtCore.QLocale.Language.KoyraboroSenni?10 +QtCore.QLocale.Language.Shambala?10 +QtCore.QLocale.Language.AnyLanguage?10 +QtCore.QLocale.Language.Rundi?10 +QtCore.QLocale.Language.Bodo?10 +QtCore.QLocale.Language.Aghem?10 +QtCore.QLocale.Language.Basaa?10 +QtCore.QLocale.Language.Zarma?10 +QtCore.QLocale.Language.Duala?10 +QtCore.QLocale.Language.JolaFonyi?10 +QtCore.QLocale.Language.Ewondo?10 +QtCore.QLocale.Language.Bafia?10 +QtCore.QLocale.Language.LubaKatanga?10 +QtCore.QLocale.Language.MakhuwaMeetto?10 +QtCore.QLocale.Language.Mundang?10 +QtCore.QLocale.Language.Kwasio?10 +QtCore.QLocale.Language.Nuer?10 +QtCore.QLocale.Language.Sakha?10 +QtCore.QLocale.Language.Sangu?10 +QtCore.QLocale.Language.CongoSwahili?10 +QtCore.QLocale.Language.Tasawaq?10 +QtCore.QLocale.Language.Vai?10 +QtCore.QLocale.Language.Walser?10 +QtCore.QLocale.Language.Yangben?10 +QtCore.QLocale.Language.Oromo?10 +QtCore.QLocale.Language.Dzongkha?10 +QtCore.QLocale.Language.Belarusian?10 +QtCore.QLocale.Language.Khmer?10 +QtCore.QLocale.Language.Fijian?10 +QtCore.QLocale.Language.WesternFrisian?10 +QtCore.QLocale.Language.Lao?10 +QtCore.QLocale.Language.Marshallese?10 +QtCore.QLocale.Language.Romansh?10 +QtCore.QLocale.Language.Sango?10 +QtCore.QLocale.Language.Ossetic?10 +QtCore.QLocale.Language.SouthernSotho?10 +QtCore.QLocale.Language.Tswana?10 +QtCore.QLocale.Language.Sinhala?10 +QtCore.QLocale.Language.Swati?10 +QtCore.QLocale.Language.Sardinian?10 +QtCore.QLocale.Language.Tongan?10 +QtCore.QLocale.Language.Tahitian?10 +QtCore.QLocale.Language.Nyanja?10 +QtCore.QLocale.Language.Avaric?10 +QtCore.QLocale.Language.Chamorro?10 +QtCore.QLocale.Language.Chechen?10 +QtCore.QLocale.Language.Church?10 +QtCore.QLocale.Language.Chuvash?10 +QtCore.QLocale.Language.Cree?10 +QtCore.QLocale.Language.Haitian?10 +QtCore.QLocale.Language.Herero?10 +QtCore.QLocale.Language.HiriMotu?10 +QtCore.QLocale.Language.Kanuri?10 +QtCore.QLocale.Language.Komi?10 +QtCore.QLocale.Language.Kongo?10 +QtCore.QLocale.Language.Kwanyama?10 +QtCore.QLocale.Language.Limburgish?10 +QtCore.QLocale.Language.Luxembourgish?10 +QtCore.QLocale.Language.Navaho?10 +QtCore.QLocale.Language.Ndonga?10 +QtCore.QLocale.Language.Ojibwa?10 +QtCore.QLocale.Language.Pali?10 +QtCore.QLocale.Language.Walloon?10 +QtCore.QLocale.Language.Avestan?10 +QtCore.QLocale.Language.Asturian?10 +QtCore.QLocale.Language.Ngomba?10 +QtCore.QLocale.Language.Kako?10 +QtCore.QLocale.Language.Meta?10 +QtCore.QLocale.Language.Ngiemboon?10 +QtCore.QLocale.Language.Uighur?10 +QtCore.QLocale.Language.Aragonese?10 +QtCore.QLocale.Language.Akkadian?10 +QtCore.QLocale.Language.AncientEgyptian?10 +QtCore.QLocale.Language.AncientGreek?10 +QtCore.QLocale.Language.Aramaic?10 +QtCore.QLocale.Language.Balinese?10 +QtCore.QLocale.Language.Bamun?10 +QtCore.QLocale.Language.BatakToba?10 +QtCore.QLocale.Language.Buginese?10 +QtCore.QLocale.Language.Buhid?10 +QtCore.QLocale.Language.Carian?10 +QtCore.QLocale.Language.Chakma?10 +QtCore.QLocale.Language.ClassicalMandaic?10 +QtCore.QLocale.Language.Coptic?10 +QtCore.QLocale.Language.Dogri?10 +QtCore.QLocale.Language.EasternCham?10 +QtCore.QLocale.Language.EasternKayah?10 +QtCore.QLocale.Language.Etruscan?10 +QtCore.QLocale.Language.Gothic?10 +QtCore.QLocale.Language.Hanunoo?10 +QtCore.QLocale.Language.Ingush?10 +QtCore.QLocale.Language.LargeFloweryMiao?10 +QtCore.QLocale.Language.Lepcha?10 +QtCore.QLocale.Language.Limbu?10 +QtCore.QLocale.Language.Lisu?10 +QtCore.QLocale.Language.Lu?10 +QtCore.QLocale.Language.Lycian?10 +QtCore.QLocale.Language.Lydian?10 +QtCore.QLocale.Language.Mandingo?10 +QtCore.QLocale.Language.Manipuri?10 +QtCore.QLocale.Language.Meroitic?10 +QtCore.QLocale.Language.NorthernThai?10 +QtCore.QLocale.Language.OldIrish?10 +QtCore.QLocale.Language.OldNorse?10 +QtCore.QLocale.Language.OldPersian?10 +QtCore.QLocale.Language.OldTurkish?10 +QtCore.QLocale.Language.Pahlavi?10 +QtCore.QLocale.Language.Parthian?10 +QtCore.QLocale.Language.Phoenician?10 +QtCore.QLocale.Language.PrakritLanguage?10 +QtCore.QLocale.Language.Rejang?10 +QtCore.QLocale.Language.Sabaean?10 +QtCore.QLocale.Language.Samaritan?10 +QtCore.QLocale.Language.Santali?10 +QtCore.QLocale.Language.Saurashtra?10 +QtCore.QLocale.Language.Sora?10 +QtCore.QLocale.Language.Sylheti?10 +QtCore.QLocale.Language.Tagbanwa?10 +QtCore.QLocale.Language.TaiDam?10 +QtCore.QLocale.Language.TaiNua?10 +QtCore.QLocale.Language.Ugaritic?10 +QtCore.QLocale.Language.Akoose?10 +QtCore.QLocale.Language.Lakota?10 +QtCore.QLocale.Language.StandardMoroccanTamazight?10 +QtCore.QLocale.Language.Mapuche?10 +QtCore.QLocale.Language.CentralKurdish?10 +QtCore.QLocale.Language.LowerSorbian?10 +QtCore.QLocale.Language.UpperSorbian?10 +QtCore.QLocale.Language.Kenyang?10 +QtCore.QLocale.Language.Mohawk?10 +QtCore.QLocale.Language.Nko?10 +QtCore.QLocale.Language.Prussian?10 +QtCore.QLocale.Language.Kiche?10 +QtCore.QLocale.Language.SouthernSami?10 +QtCore.QLocale.Language.LuleSami?10 +QtCore.QLocale.Language.InariSami?10 +QtCore.QLocale.Language.SkoltSami?10 +QtCore.QLocale.Language.Warlpiri?10 +QtCore.QLocale.Language.ManichaeanMiddlePersian?10 +QtCore.QLocale.Language.Mende?10 +QtCore.QLocale.Language.AncientNorthArabian?10 +QtCore.QLocale.Language.LinearA?10 +QtCore.QLocale.Language.HmongNjua?10 +QtCore.QLocale.Language.Ho?10 +QtCore.QLocale.Language.Lezghian?10 +QtCore.QLocale.Language.Bassa?10 +QtCore.QLocale.Language.Mono?10 +QtCore.QLocale.Language.TedimChin?10 +QtCore.QLocale.Language.Maithili?10 +QtCore.QLocale.Language.Ahom?10 +QtCore.QLocale.Language.AmericanSignLanguage?10 +QtCore.QLocale.Language.ArdhamagadhiPrakrit?10 +QtCore.QLocale.Language.Bhojpuri?10 +QtCore.QLocale.Language.HieroglyphicLuwian?10 +QtCore.QLocale.Language.LiteraryChinese?10 +QtCore.QLocale.Language.Mazanderani?10 +QtCore.QLocale.Language.Mru?10 +QtCore.QLocale.Language.Newari?10 +QtCore.QLocale.Language.NorthernLuri?10 +QtCore.QLocale.Language.Palauan?10 +QtCore.QLocale.Language.Papiamento?10 +QtCore.QLocale.Language.Saraiki?10 +QtCore.QLocale.Language.TokelauLanguage?10 +QtCore.QLocale.Language.TokPisin?10 +QtCore.QLocale.Language.TuvaluLanguage?10 +QtCore.QLocale.Language.UncodedLanguages?10 +QtCore.QLocale.Language.Cantonese?10 +QtCore.QLocale.Language.Osage?10 +QtCore.QLocale.Language.Tangut?10 +QtCore.QLocale.Language.Ido?10 +QtCore.QLocale.Language.Lojban?10 +QtCore.QLocale.Language.Sicilian?10 +QtCore.QLocale.Language.SouthernKurdish?10 +QtCore.QLocale.Language.WesternBalochi?10 +QtCore.QLocale.Language.Cebuano?10 +QtCore.QLocale.Language.Erzya?10 +QtCore.QLocale.Language.Chickasaw?10 +QtCore.QLocale.Language.Muscogee?10 +QtCore.QLocale.Language.Silesian?10 +QtCore.QLocale?1() +QtCore.QLocale.__init__?1(self) +QtCore.QLocale?1(QString) +QtCore.QLocale.__init__?1(self, QString) +QtCore.QLocale?1(QLocale.Language, QLocale.Country country=QLocale.AnyCountry) +QtCore.QLocale.__init__?1(self, QLocale.Language, QLocale.Country country=QLocale.AnyCountry) +QtCore.QLocale?1(QLocale) +QtCore.QLocale.__init__?1(self, QLocale) +QtCore.QLocale?1(QLocale.Language, QLocale.Script, QLocale.Country) +QtCore.QLocale.__init__?1(self, QLocale.Language, QLocale.Script, QLocale.Country) +QtCore.QLocale.language?4() -> QLocale.Language +QtCore.QLocale.country?4() -> QLocale.Country +QtCore.QLocale.name?4() -> QString +QtCore.QLocale.toShort?4(QString) -> (int, bool) +QtCore.QLocale.toUShort?4(QString) -> (int, bool) +QtCore.QLocale.toInt?4(QString) -> (int, bool) +QtCore.QLocale.toUInt?4(QString) -> (int, bool) +QtCore.QLocale.toLongLong?4(QString) -> (int, bool) +QtCore.QLocale.toULongLong?4(QString) -> (int, bool) +QtCore.QLocale.toFloat?4(QString) -> (float, bool) +QtCore.QLocale.toDouble?4(QString) -> (float, bool) +QtCore.QLocale.toString?4(float, str format='g', int precision=6) -> QString +QtCore.QLocale.languageToString?4(QLocale.Language) -> QString +QtCore.QLocale.countryToString?4(QLocale.Country) -> QString +QtCore.QLocale.setDefault?4(QLocale) +QtCore.QLocale.c?4() -> QLocale +QtCore.QLocale.system?4() -> QLocale +QtCore.QLocale.toString?4(QDateTime, QString) -> QString +QtCore.QLocale.toString?4(QDateTime, QString, QCalendar) -> QString +QtCore.QLocale.toString?4(QDateTime, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.toString?4(QDateTime, QLocale.FormatType, QCalendar) -> QString +QtCore.QLocale.toString?4(QDate, QString) -> QString +QtCore.QLocale.toString?4(QDate, QString, QCalendar) -> QString +QtCore.QLocale.toString?4(QDate, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.toString?4(QDate, QLocale.FormatType, QCalendar) -> QString +QtCore.QLocale.toString?4(QTime, QString) -> QString +QtCore.QLocale.toString?4(QTime, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.dateFormat?4(QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.timeFormat?4(QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.dateTimeFormat?4(QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.toDate?4(QString, QLocale.FormatType format=QLocale.LongFormat) -> QDate +QtCore.QLocale.toDate?4(QString, QString) -> QDate +QtCore.QLocale.toTime?4(QString, QLocale.FormatType format=QLocale.LongFormat) -> QTime +QtCore.QLocale.toTime?4(QString, QString) -> QTime +QtCore.QLocale.toDateTime?4(QString, QLocale.FormatType format=QLocale.LongFormat) -> QDateTime +QtCore.QLocale.toDateTime?4(QString, QString) -> QDateTime +QtCore.QLocale.decimalPoint?4() -> QChar +QtCore.QLocale.groupSeparator?4() -> QChar +QtCore.QLocale.percent?4() -> QChar +QtCore.QLocale.zeroDigit?4() -> QChar +QtCore.QLocale.negativeSign?4() -> QChar +QtCore.QLocale.exponential?4() -> QChar +QtCore.QLocale.monthName?4(int, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.dayName?4(int, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.setNumberOptions?4(QLocale.NumberOptions) +QtCore.QLocale.numberOptions?4() -> QLocale.NumberOptions +QtCore.QLocale.measurementSystem?4() -> QLocale.MeasurementSystem +QtCore.QLocale.positiveSign?4() -> QChar +QtCore.QLocale.standaloneMonthName?4(int, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.standaloneDayName?4(int, QLocale.FormatType format=QLocale.LongFormat) -> QString +QtCore.QLocale.amText?4() -> QString +QtCore.QLocale.pmText?4() -> QString +QtCore.QLocale.textDirection?4() -> Qt.LayoutDirection +QtCore.QLocale.script?4() -> QLocale.Script +QtCore.QLocale.bcp47Name?4() -> QString +QtCore.QLocale.nativeLanguageName?4() -> QString +QtCore.QLocale.nativeCountryName?4() -> QString +QtCore.QLocale.firstDayOfWeek?4() -> Qt.DayOfWeek +QtCore.QLocale.weekdays?4() -> unknown-type +QtCore.QLocale.toUpper?4(QString) -> QString +QtCore.QLocale.toLower?4(QString) -> QString +QtCore.QLocale.currencySymbol?4(QLocale.CurrencySymbolFormat format=QLocale.CurrencySymbol) -> QString +QtCore.QLocale.toCurrencyString?4(float, QString symbol='') -> QString +QtCore.QLocale.toCurrencyString?4(float, QString, int) -> QString +QtCore.QLocale.uiLanguages?4() -> QStringList +QtCore.QLocale.scriptToString?4(QLocale.Script) -> QString +QtCore.QLocale.matchingLocales?4(QLocale.Language, QLocale.Script, QLocale.Country) -> unknown-type +QtCore.QLocale.quoteString?4(QString, QLocale.QuotationStyle style=QLocale.StandardQuotation) -> QString +QtCore.QLocale.createSeparatedList?4(QStringList) -> QString +QtCore.QLocale.swap?4(QLocale) +QtCore.QLocale.toString?4(object) -> QString +QtCore.QLocale.toCurrencyString?4(object, QString symbol='') -> QString +QtCore.QLocale.formattedDataSize?4(int, int precision=2, QLocale.DataSizeFormats format=QLocale.DataSizeIecFormat) -> QString +QtCore.QLocale.toLong?4(QString) -> (int, bool) +QtCore.QLocale.toULong?4(QString) -> (int, bool) +QtCore.QLocale.toDate?4(QString, QLocale.FormatType, QCalendar) -> QDate +QtCore.QLocale.toTime?4(QString, QLocale.FormatType, QCalendar) -> QTime +QtCore.QLocale.toDateTime?4(QString, QLocale.FormatType, QCalendar) -> QDateTime +QtCore.QLocale.toDate?4(QString, QString, QCalendar) -> QDate +QtCore.QLocale.toTime?4(QString, QString, QCalendar) -> QTime +QtCore.QLocale.toDateTime?4(QString, QString, QCalendar) -> QDateTime +QtCore.QLocale.collation?4() -> QLocale +QtCore.QLocale.NumberOptions?1() +QtCore.QLocale.NumberOptions.__init__?1(self) +QtCore.QLocale.NumberOptions?1(int) +QtCore.QLocale.NumberOptions.__init__?1(self, int) +QtCore.QLocale.NumberOptions?1(QLocale.NumberOptions) +QtCore.QLocale.NumberOptions.__init__?1(self, QLocale.NumberOptions) +QtCore.QLocale.DataSizeFormats?1() +QtCore.QLocale.DataSizeFormats.__init__?1(self) +QtCore.QLocale.DataSizeFormats?1(int) +QtCore.QLocale.DataSizeFormats.__init__?1(self, int) +QtCore.QLocale.DataSizeFormats?1(QLocale.DataSizeFormats) +QtCore.QLocale.DataSizeFormats.__init__?1(self, QLocale.DataSizeFormats) +QtCore.QLockFile.LockError?10 +QtCore.QLockFile.LockError.NoError?10 +QtCore.QLockFile.LockError.LockFailedError?10 +QtCore.QLockFile.LockError.PermissionError?10 +QtCore.QLockFile.LockError.UnknownError?10 +QtCore.QLockFile?1(QString) +QtCore.QLockFile.__init__?1(self, QString) +QtCore.QLockFile.lock?4() -> bool +QtCore.QLockFile.tryLock?4(int timeout=0) -> bool +QtCore.QLockFile.unlock?4() +QtCore.QLockFile.setStaleLockTime?4(int) +QtCore.QLockFile.staleLockTime?4() -> int +QtCore.QLockFile.isLocked?4() -> bool +QtCore.QLockFile.getLockInfo?4() -> (bool, int, QString, QString) +QtCore.QLockFile.removeStaleLockFile?4() -> bool +QtCore.QLockFile.error?4() -> QLockFile.LockError +QtCore.QMessageLogContext.category?7 +QtCore.QMessageLogContext.file?7 +QtCore.QMessageLogContext.function?7 +QtCore.QMessageLogContext.line?7 +QtCore.QMessageLogger?1() +QtCore.QMessageLogger.__init__?1(self) +QtCore.QMessageLogger?1(str, int, str) +QtCore.QMessageLogger.__init__?1(self, str, int, str) +QtCore.QMessageLogger?1(str, int, str, str) +QtCore.QMessageLogger.__init__?1(self, str, int, str, str) +QtCore.QMessageLogger.debug?4(str) +QtCore.QMessageLogger.warning?4(str) +QtCore.QMessageLogger.critical?4(str) +QtCore.QMessageLogger.fatal?4(str) +QtCore.QMessageLogger.info?4(str) +QtCore.QLoggingCategory?1(str) +QtCore.QLoggingCategory.__init__?1(self, str) +QtCore.QLoggingCategory?1(str, QtMsgType) +QtCore.QLoggingCategory.__init__?1(self, str, QtMsgType) +QtCore.QLoggingCategory.isEnabled?4(QtMsgType) -> bool +QtCore.QLoggingCategory.setEnabled?4(QtMsgType, bool) +QtCore.QLoggingCategory.isDebugEnabled?4() -> bool +QtCore.QLoggingCategory.isInfoEnabled?4() -> bool +QtCore.QLoggingCategory.isWarningEnabled?4() -> bool +QtCore.QLoggingCategory.isCriticalEnabled?4() -> bool +QtCore.QLoggingCategory.categoryName?4() -> str +QtCore.QLoggingCategory.defaultCategory?4() -> QLoggingCategory +QtCore.QLoggingCategory.setFilterRules?4(QString) +QtCore.QMargins?1() +QtCore.QMargins.__init__?1(self) +QtCore.QMargins?1(int, int, int, int) +QtCore.QMargins.__init__?1(self, int, int, int, int) +QtCore.QMargins?1(QMargins) +QtCore.QMargins.__init__?1(self, QMargins) +QtCore.QMargins.isNull?4() -> bool +QtCore.QMargins.left?4() -> int +QtCore.QMargins.top?4() -> int +QtCore.QMargins.right?4() -> int +QtCore.QMargins.bottom?4() -> int +QtCore.QMargins.setLeft?4(int) +QtCore.QMargins.setTop?4(int) +QtCore.QMargins.setRight?4(int) +QtCore.QMargins.setBottom?4(int) +QtCore.QMarginsF?1() +QtCore.QMarginsF.__init__?1(self) +QtCore.QMarginsF?1(float, float, float, float) +QtCore.QMarginsF.__init__?1(self, float, float, float, float) +QtCore.QMarginsF?1(QMargins) +QtCore.QMarginsF.__init__?1(self, QMargins) +QtCore.QMarginsF?1(QMarginsF) +QtCore.QMarginsF.__init__?1(self, QMarginsF) +QtCore.QMarginsF.isNull?4() -> bool +QtCore.QMarginsF.left?4() -> float +QtCore.QMarginsF.top?4() -> float +QtCore.QMarginsF.right?4() -> float +QtCore.QMarginsF.bottom?4() -> float +QtCore.QMarginsF.setLeft?4(float) +QtCore.QMarginsF.setTop?4(float) +QtCore.QMarginsF.setRight?4(float) +QtCore.QMarginsF.setBottom?4(float) +QtCore.QMarginsF.toMargins?4() -> QMargins +QtCore.QMessageAuthenticationCode?1(QCryptographicHash.Algorithm, QByteArray key=QByteArray()) +QtCore.QMessageAuthenticationCode.__init__?1(self, QCryptographicHash.Algorithm, QByteArray key=QByteArray()) +QtCore.QMessageAuthenticationCode.reset?4() +QtCore.QMessageAuthenticationCode.setKey?4(QByteArray) +QtCore.QMessageAuthenticationCode.addData?4(str, int) +QtCore.QMessageAuthenticationCode.addData?4(QByteArray) +QtCore.QMessageAuthenticationCode.addData?4(QIODevice) -> bool +QtCore.QMessageAuthenticationCode.result?4() -> QByteArray +QtCore.QMessageAuthenticationCode.hash?4(QByteArray, QByteArray, QCryptographicHash.Algorithm) -> QByteArray +QtCore.QMetaMethod.MethodType?10 +QtCore.QMetaMethod.MethodType.Method?10 +QtCore.QMetaMethod.MethodType.Signal?10 +QtCore.QMetaMethod.MethodType.Slot?10 +QtCore.QMetaMethod.MethodType.Constructor?10 +QtCore.QMetaMethod.Access?10 +QtCore.QMetaMethod.Access.Private?10 +QtCore.QMetaMethod.Access.Protected?10 +QtCore.QMetaMethod.Access.Public?10 +QtCore.QMetaMethod?1() +QtCore.QMetaMethod.__init__?1(self) +QtCore.QMetaMethod?1(QMetaMethod) +QtCore.QMetaMethod.__init__?1(self, QMetaMethod) +QtCore.QMetaMethod.typeName?4() -> str +QtCore.QMetaMethod.parameterTypes?4() -> unknown-type +QtCore.QMetaMethod.parameterNames?4() -> unknown-type +QtCore.QMetaMethod.tag?4() -> str +QtCore.QMetaMethod.access?4() -> QMetaMethod.Access +QtCore.QMetaMethod.methodType?4() -> QMetaMethod.MethodType +QtCore.QMetaMethod.invoke?4(QObject, Qt.ConnectionType, QGenericReturnArgument, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object +QtCore.QMetaMethod.invoke?4(QObject, QGenericReturnArgument, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object +QtCore.QMetaMethod.invoke?4(QObject, Qt.ConnectionType, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object +QtCore.QMetaMethod.invoke?4(QObject, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object +QtCore.QMetaMethod.methodIndex?4() -> int +QtCore.QMetaMethod.isValid?4() -> bool +QtCore.QMetaMethod.methodSignature?4() -> QByteArray +QtCore.QMetaMethod.name?4() -> QByteArray +QtCore.QMetaMethod.returnType?4() -> int +QtCore.QMetaMethod.parameterCount?4() -> int +QtCore.QMetaMethod.parameterType?4(int) -> int +QtCore.QMetaEnum?1() +QtCore.QMetaEnum.__init__?1(self) +QtCore.QMetaEnum?1(QMetaEnum) +QtCore.QMetaEnum.__init__?1(self, QMetaEnum) +QtCore.QMetaEnum.name?4() -> str +QtCore.QMetaEnum.isFlag?4() -> bool +QtCore.QMetaEnum.keyCount?4() -> int +QtCore.QMetaEnum.key?4(int) -> str +QtCore.QMetaEnum.value?4(int) -> int +QtCore.QMetaEnum.scope?4() -> str +QtCore.QMetaEnum.keyToValue?4(str) -> (int, bool) +QtCore.QMetaEnum.valueToKey?4(int) -> str +QtCore.QMetaEnum.keysToValue?4(str) -> (int, bool) +QtCore.QMetaEnum.valueToKeys?4(int) -> QByteArray +QtCore.QMetaEnum.isValid?4() -> bool +QtCore.QMetaEnum.isScoped?4() -> bool +QtCore.QMetaEnum.enumName?4() -> str +QtCore.QMetaProperty?1() +QtCore.QMetaProperty.__init__?1(self) +QtCore.QMetaProperty?1(QMetaProperty) +QtCore.QMetaProperty.__init__?1(self, QMetaProperty) +QtCore.QMetaProperty.name?4() -> str +QtCore.QMetaProperty.typeName?4() -> str +QtCore.QMetaProperty.type?4() -> QVariant.Type +QtCore.QMetaProperty.isReadable?4() -> bool +QtCore.QMetaProperty.isWritable?4() -> bool +QtCore.QMetaProperty.isDesignable?4(QObject object=None) -> bool +QtCore.QMetaProperty.isScriptable?4(QObject object=None) -> bool +QtCore.QMetaProperty.isStored?4(QObject object=None) -> bool +QtCore.QMetaProperty.isFlagType?4() -> bool +QtCore.QMetaProperty.isEnumType?4() -> bool +QtCore.QMetaProperty.enumerator?4() -> QMetaEnum +QtCore.QMetaProperty.read?4(QObject) -> QVariant +QtCore.QMetaProperty.write?4(QObject, QVariant) -> bool +QtCore.QMetaProperty.reset?4(QObject) -> bool +QtCore.QMetaProperty.hasStdCppSet?4() -> bool +QtCore.QMetaProperty.isValid?4() -> bool +QtCore.QMetaProperty.isResettable?4() -> bool +QtCore.QMetaProperty.isUser?4(QObject object=None) -> bool +QtCore.QMetaProperty.userType?4() -> int +QtCore.QMetaProperty.hasNotifySignal?4() -> bool +QtCore.QMetaProperty.notifySignal?4() -> QMetaMethod +QtCore.QMetaProperty.notifySignalIndex?4() -> int +QtCore.QMetaProperty.propertyIndex?4() -> int +QtCore.QMetaProperty.isConstant?4() -> bool +QtCore.QMetaProperty.isFinal?4() -> bool +QtCore.QMetaProperty.relativePropertyIndex?4() -> int +QtCore.QMetaProperty.isRequired?4() -> bool +QtCore.QMetaClassInfo?1() +QtCore.QMetaClassInfo.__init__?1(self) +QtCore.QMetaClassInfo?1(QMetaClassInfo) +QtCore.QMetaClassInfo.__init__?1(self, QMetaClassInfo) +QtCore.QMetaClassInfo.name?4() -> str +QtCore.QMetaClassInfo.value?4() -> str +QtCore.QMetaType.TypeFlag?10 +QtCore.QMetaType.TypeFlag.NeedsConstruction?10 +QtCore.QMetaType.TypeFlag.NeedsDestruction?10 +QtCore.QMetaType.TypeFlag.MovableType?10 +QtCore.QMetaType.TypeFlag.PointerToQObject?10 +QtCore.QMetaType.TypeFlag.IsEnumeration?10 +QtCore.QMetaType.Type?10 +QtCore.QMetaType.Type.UnknownType?10 +QtCore.QMetaType.Type.Void?10 +QtCore.QMetaType.Type.Bool?10 +QtCore.QMetaType.Type.Int?10 +QtCore.QMetaType.Type.UInt?10 +QtCore.QMetaType.Type.LongLong?10 +QtCore.QMetaType.Type.ULongLong?10 +QtCore.QMetaType.Type.Double?10 +QtCore.QMetaType.Type.QChar?10 +QtCore.QMetaType.Type.QVariantMap?10 +QtCore.QMetaType.Type.QVariantList?10 +QtCore.QMetaType.Type.QVariantHash?10 +QtCore.QMetaType.Type.QString?10 +QtCore.QMetaType.Type.QStringList?10 +QtCore.QMetaType.Type.QByteArray?10 +QtCore.QMetaType.Type.QBitArray?10 +QtCore.QMetaType.Type.QDate?10 +QtCore.QMetaType.Type.QTime?10 +QtCore.QMetaType.Type.QDateTime?10 +QtCore.QMetaType.Type.QUrl?10 +QtCore.QMetaType.Type.QLocale?10 +QtCore.QMetaType.Type.QRect?10 +QtCore.QMetaType.Type.QRectF?10 +QtCore.QMetaType.Type.QSize?10 +QtCore.QMetaType.Type.QSizeF?10 +QtCore.QMetaType.Type.QLine?10 +QtCore.QMetaType.Type.QLineF?10 +QtCore.QMetaType.Type.QPoint?10 +QtCore.QMetaType.Type.QPointF?10 +QtCore.QMetaType.Type.QRegExp?10 +QtCore.QMetaType.Type.LastCoreType?10 +QtCore.QMetaType.Type.FirstGuiType?10 +QtCore.QMetaType.Type.QFont?10 +QtCore.QMetaType.Type.QPixmap?10 +QtCore.QMetaType.Type.QBrush?10 +QtCore.QMetaType.Type.QColor?10 +QtCore.QMetaType.Type.QPalette?10 +QtCore.QMetaType.Type.QIcon?10 +QtCore.QMetaType.Type.QImage?10 +QtCore.QMetaType.Type.QPolygon?10 +QtCore.QMetaType.Type.QRegion?10 +QtCore.QMetaType.Type.QBitmap?10 +QtCore.QMetaType.Type.QCursor?10 +QtCore.QMetaType.Type.QSizePolicy?10 +QtCore.QMetaType.Type.QKeySequence?10 +QtCore.QMetaType.Type.QPen?10 +QtCore.QMetaType.Type.QTextLength?10 +QtCore.QMetaType.Type.QTextFormat?10 +QtCore.QMetaType.Type.QMatrix?10 +QtCore.QMetaType.Type.QTransform?10 +QtCore.QMetaType.Type.VoidStar?10 +QtCore.QMetaType.Type.Long?10 +QtCore.QMetaType.Type.Short?10 +QtCore.QMetaType.Type.Char?10 +QtCore.QMetaType.Type.ULong?10 +QtCore.QMetaType.Type.UShort?10 +QtCore.QMetaType.Type.UChar?10 +QtCore.QMetaType.Type.Float?10 +QtCore.QMetaType.Type.QObjectStar?10 +QtCore.QMetaType.Type.QMatrix4x4?10 +QtCore.QMetaType.Type.QVector2D?10 +QtCore.QMetaType.Type.QVector3D?10 +QtCore.QMetaType.Type.QVector4D?10 +QtCore.QMetaType.Type.QQuaternion?10 +QtCore.QMetaType.Type.QEasingCurve?10 +QtCore.QMetaType.Type.QVariant?10 +QtCore.QMetaType.Type.QUuid?10 +QtCore.QMetaType.Type.QModelIndex?10 +QtCore.QMetaType.Type.QPolygonF?10 +QtCore.QMetaType.Type.SChar?10 +QtCore.QMetaType.Type.QRegularExpression?10 +QtCore.QMetaType.Type.QJsonValue?10 +QtCore.QMetaType.Type.QJsonObject?10 +QtCore.QMetaType.Type.QJsonArray?10 +QtCore.QMetaType.Type.QJsonDocument?10 +QtCore.QMetaType.Type.QByteArrayList?10 +QtCore.QMetaType.Type.QPersistentModelIndex?10 +QtCore.QMetaType.Type.QCborSimpleType?10 +QtCore.QMetaType.Type.QCborValue?10 +QtCore.QMetaType.Type.QCborArray?10 +QtCore.QMetaType.Type.QCborMap?10 +QtCore.QMetaType.Type.QColorSpace?10 +QtCore.QMetaType.Type.User?10 +QtCore.QMetaType?1(int type=QMetaType.Type.UnknownType) +QtCore.QMetaType.__init__?1(self, int type=QMetaType.Type.UnknownType) +QtCore.QMetaType.type?4(str) -> int +QtCore.QMetaType.typeName?4(int) -> str +QtCore.QMetaType.isRegistered?4(int) -> bool +QtCore.QMetaType.typeFlags?4(int) -> QMetaType.TypeFlags +QtCore.QMetaType.flags?4() -> QMetaType.TypeFlags +QtCore.QMetaType.isValid?4() -> bool +QtCore.QMetaType.isRegistered?4() -> bool +QtCore.QMetaType.metaObjectForType?4(int) -> QMetaObject +QtCore.QMetaType.id?4() -> int +QtCore.QMetaType.name?4() -> QByteArray +QtCore.QMetaType.TypeFlags?1() +QtCore.QMetaType.TypeFlags.__init__?1(self) +QtCore.QMetaType.TypeFlags?1(int) +QtCore.QMetaType.TypeFlags.__init__?1(self, int) +QtCore.QMetaType.TypeFlags?1(QMetaType.TypeFlags) +QtCore.QMetaType.TypeFlags.__init__?1(self, QMetaType.TypeFlags) +QtCore.QMimeData?1() +QtCore.QMimeData.__init__?1(self) +QtCore.QMimeData.urls?4() -> unknown-type +QtCore.QMimeData.setUrls?4(unknown-type) +QtCore.QMimeData.hasUrls?4() -> bool +QtCore.QMimeData.text?4() -> QString +QtCore.QMimeData.setText?4(QString) +QtCore.QMimeData.hasText?4() -> bool +QtCore.QMimeData.html?4() -> QString +QtCore.QMimeData.setHtml?4(QString) +QtCore.QMimeData.hasHtml?4() -> bool +QtCore.QMimeData.imageData?4() -> QVariant +QtCore.QMimeData.setImageData?4(QVariant) +QtCore.QMimeData.hasImage?4() -> bool +QtCore.QMimeData.colorData?4() -> QVariant +QtCore.QMimeData.setColorData?4(QVariant) +QtCore.QMimeData.hasColor?4() -> bool +QtCore.QMimeData.data?4(QString) -> QByteArray +QtCore.QMimeData.setData?4(QString, QByteArray) +QtCore.QMimeData.hasFormat?4(QString) -> bool +QtCore.QMimeData.formats?4() -> QStringList +QtCore.QMimeData.clear?4() +QtCore.QMimeData.removeFormat?4(QString) +QtCore.QMimeData.retrieveData?4(QString, QVariant.Type) -> QVariant +QtCore.QMimeDatabase.MatchMode?10 +QtCore.QMimeDatabase.MatchMode.MatchDefault?10 +QtCore.QMimeDatabase.MatchMode.MatchExtension?10 +QtCore.QMimeDatabase.MatchMode.MatchContent?10 +QtCore.QMimeDatabase?1() +QtCore.QMimeDatabase.__init__?1(self) +QtCore.QMimeDatabase.mimeTypeForName?4(QString) -> QMimeType +QtCore.QMimeDatabase.mimeTypeForFile?4(QString, QMimeDatabase.MatchMode mode=QMimeDatabase.MatchDefault) -> QMimeType +QtCore.QMimeDatabase.mimeTypeForFile?4(QFileInfo, QMimeDatabase.MatchMode mode=QMimeDatabase.MatchDefault) -> QMimeType +QtCore.QMimeDatabase.mimeTypesForFileName?4(QString) -> unknown-type +QtCore.QMimeDatabase.mimeTypeForData?4(QByteArray) -> QMimeType +QtCore.QMimeDatabase.mimeTypeForData?4(QIODevice) -> QMimeType +QtCore.QMimeDatabase.mimeTypeForUrl?4(QUrl) -> QMimeType +QtCore.QMimeDatabase.mimeTypeForFileNameAndData?4(QString, QIODevice) -> QMimeType +QtCore.QMimeDatabase.mimeTypeForFileNameAndData?4(QString, QByteArray) -> QMimeType +QtCore.QMimeDatabase.suffixForFileName?4(QString) -> QString +QtCore.QMimeDatabase.allMimeTypes?4() -> unknown-type +QtCore.QMimeType?1() +QtCore.QMimeType.__init__?1(self) +QtCore.QMimeType?1(QMimeType) +QtCore.QMimeType.__init__?1(self, QMimeType) +QtCore.QMimeType.swap?4(QMimeType) +QtCore.QMimeType.isValid?4() -> bool +QtCore.QMimeType.isDefault?4() -> bool +QtCore.QMimeType.name?4() -> QString +QtCore.QMimeType.comment?4() -> QString +QtCore.QMimeType.genericIconName?4() -> QString +QtCore.QMimeType.iconName?4() -> QString +QtCore.QMimeType.globPatterns?4() -> QStringList +QtCore.QMimeType.parentMimeTypes?4() -> QStringList +QtCore.QMimeType.allAncestors?4() -> QStringList +QtCore.QMimeType.aliases?4() -> QStringList +QtCore.QMimeType.suffixes?4() -> QStringList +QtCore.QMimeType.preferredSuffix?4() -> QString +QtCore.QMimeType.inherits?4(QString) -> bool +QtCore.QMimeType.filterString?4() -> QString +QtCore.QMutexLocker?1(QMutex) +QtCore.QMutexLocker.__init__?1(self, QMutex) +QtCore.QMutexLocker?1(QRecursiveMutex) +QtCore.QMutexLocker.__init__?1(self, QRecursiveMutex) +QtCore.QMutexLocker.unlock?4() +QtCore.QMutexLocker.relock?4() +QtCore.QMutexLocker.mutex?4() -> QMutex +QtCore.QMutexLocker.__enter__?4() -> object +QtCore.QMutexLocker.__exit__?4(object, object, object) +QtCore.QMutex.RecursionMode?10 +QtCore.QMutex.RecursionMode.NonRecursive?10 +QtCore.QMutex.RecursionMode.Recursive?10 +QtCore.QMutex?1(QMutex.RecursionMode mode=QMutex.NonRecursive) +QtCore.QMutex.__init__?1(self, QMutex.RecursionMode mode=QMutex.NonRecursive) +QtCore.QMutex.lock?4() +QtCore.QMutex.tryLock?4(int timeout=0) -> bool +QtCore.QMutex.unlock?4() +QtCore.QMutex.isRecursive?4() -> bool +QtCore.QRecursiveMutex?1() +QtCore.QRecursiveMutex.__init__?1(self) +QtCore.QSignalBlocker?1(QObject) +QtCore.QSignalBlocker.__init__?1(self, QObject) +QtCore.QSignalBlocker.reblock?4() +QtCore.QSignalBlocker.unblock?4() +QtCore.QSignalBlocker.__enter__?4() -> object +QtCore.QSignalBlocker.__exit__?4(object, object, object) +QtCore.QObjectCleanupHandler?1() +QtCore.QObjectCleanupHandler.__init__?1(self) +QtCore.QObjectCleanupHandler.add?4(QObject) -> QObject +QtCore.QObjectCleanupHandler.remove?4(QObject) +QtCore.QObjectCleanupHandler.isEmpty?4() -> bool +QtCore.QObjectCleanupHandler.clear?4() +QtCore.QMetaObject?1() +QtCore.QMetaObject.__init__?1(self) +QtCore.QMetaObject?1(QMetaObject) +QtCore.QMetaObject.__init__?1(self, QMetaObject) +QtCore.QMetaObject.className?4() -> str +QtCore.QMetaObject.superClass?4() -> QMetaObject +QtCore.QMetaObject.userProperty?4() -> QMetaProperty +QtCore.QMetaObject.methodOffset?4() -> int +QtCore.QMetaObject.enumeratorOffset?4() -> int +QtCore.QMetaObject.propertyOffset?4() -> int +QtCore.QMetaObject.classInfoOffset?4() -> int +QtCore.QMetaObject.methodCount?4() -> int +QtCore.QMetaObject.enumeratorCount?4() -> int +QtCore.QMetaObject.propertyCount?4() -> int +QtCore.QMetaObject.classInfoCount?4() -> int +QtCore.QMetaObject.indexOfMethod?4(str) -> int +QtCore.QMetaObject.indexOfSignal?4(str) -> int +QtCore.QMetaObject.indexOfSlot?4(str) -> int +QtCore.QMetaObject.indexOfEnumerator?4(str) -> int +QtCore.QMetaObject.indexOfProperty?4(str) -> int +QtCore.QMetaObject.indexOfClassInfo?4(str) -> int +QtCore.QMetaObject.method?4(int) -> QMetaMethod +QtCore.QMetaObject.enumerator?4(int) -> QMetaEnum +QtCore.QMetaObject.property?4(int) -> QMetaProperty +QtCore.QMetaObject.classInfo?4(int) -> QMetaClassInfo +QtCore.QMetaObject.checkConnectArgs?4(str, str) -> bool +QtCore.QMetaObject.connectSlotsByName?4(QObject) +QtCore.QMetaObject.normalizedSignature?4(str) -> QByteArray +QtCore.QMetaObject.normalizedType?4(str) -> QByteArray +QtCore.QMetaObject.invokeMethod?4(QObject, str, Qt.ConnectionType, QGenericReturnArgument, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object +QtCore.QMetaObject.invokeMethod?4(QObject, str, QGenericReturnArgument, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object +QtCore.QMetaObject.invokeMethod?4(QObject, str, Qt.ConnectionType, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object +QtCore.QMetaObject.invokeMethod?4(QObject, str, QGenericArgument value0=QGenericArgument(0,0), QGenericArgument value1=QGenericArgument(0,0), QGenericArgument value2=QGenericArgument(0,0), QGenericArgument value3=QGenericArgument(0,0), QGenericArgument value4=QGenericArgument(0,0), QGenericArgument value5=QGenericArgument(0,0), QGenericArgument value6=QGenericArgument(0,0), QGenericArgument value7=QGenericArgument(0,0), QGenericArgument value8=QGenericArgument(0,0), QGenericArgument value9=QGenericArgument(0,0)) -> object +QtCore.QMetaObject.constructorCount?4() -> int +QtCore.QMetaObject.indexOfConstructor?4(str) -> int +QtCore.QMetaObject.constructor?4(int) -> QMetaMethod +QtCore.QMetaObject.checkConnectArgs?4(QMetaMethod, QMetaMethod) -> bool +QtCore.QMetaObject.inherits?4(QMetaObject) -> bool +QtCore.QMetaObject.Connection?1() +QtCore.QMetaObject.Connection.__init__?1(self) +QtCore.QMetaObject.Connection?1(QMetaObject.Connection) +QtCore.QMetaObject.Connection.__init__?1(self, QMetaObject.Connection) +QtCore.QOperatingSystemVersion.OSType?10 +QtCore.QOperatingSystemVersion.OSType.Unknown?10 +QtCore.QOperatingSystemVersion.OSType.Windows?10 +QtCore.QOperatingSystemVersion.OSType.MacOS?10 +QtCore.QOperatingSystemVersion.OSType.IOS?10 +QtCore.QOperatingSystemVersion.OSType.TvOS?10 +QtCore.QOperatingSystemVersion.OSType.WatchOS?10 +QtCore.QOperatingSystemVersion.OSType.Android?10 +QtCore.QOperatingSystemVersion.AndroidJellyBean?7 +QtCore.QOperatingSystemVersion.AndroidJellyBean_MR1?7 +QtCore.QOperatingSystemVersion.AndroidJellyBean_MR2?7 +QtCore.QOperatingSystemVersion.AndroidKitKat?7 +QtCore.QOperatingSystemVersion.AndroidLollipop?7 +QtCore.QOperatingSystemVersion.AndroidLollipop_MR1?7 +QtCore.QOperatingSystemVersion.AndroidMarshmallow?7 +QtCore.QOperatingSystemVersion.AndroidNougat?7 +QtCore.QOperatingSystemVersion.AndroidNougat_MR1?7 +QtCore.QOperatingSystemVersion.AndroidOreo?7 +QtCore.QOperatingSystemVersion.MacOSCatalina?7 +QtCore.QOperatingSystemVersion.MacOSHighSierra?7 +QtCore.QOperatingSystemVersion.MacOSMojave?7 +QtCore.QOperatingSystemVersion.MacOSSierra?7 +QtCore.QOperatingSystemVersion.OSXElCapitan?7 +QtCore.QOperatingSystemVersion.OSXMavericks?7 +QtCore.QOperatingSystemVersion.OSXYosemite?7 +QtCore.QOperatingSystemVersion.Windows10?7 +QtCore.QOperatingSystemVersion.Windows7?7 +QtCore.QOperatingSystemVersion.Windows8?7 +QtCore.QOperatingSystemVersion.Windows8_1?7 +QtCore.QOperatingSystemVersion?1(QOperatingSystemVersion.OSType, int, int vminor=-1, int vmicro=-1) +QtCore.QOperatingSystemVersion.__init__?1(self, QOperatingSystemVersion.OSType, int, int vminor=-1, int vmicro=-1) +QtCore.QOperatingSystemVersion?1(QOperatingSystemVersion) +QtCore.QOperatingSystemVersion.__init__?1(self, QOperatingSystemVersion) +QtCore.QOperatingSystemVersion.current?4() -> QOperatingSystemVersion +QtCore.QOperatingSystemVersion.currentType?4() -> QOperatingSystemVersion.OSType +QtCore.QOperatingSystemVersion.majorVersion?4() -> int +QtCore.QOperatingSystemVersion.minorVersion?4() -> int +QtCore.QOperatingSystemVersion.microVersion?4() -> int +QtCore.QOperatingSystemVersion.segmentCount?4() -> int +QtCore.QOperatingSystemVersion.type?4() -> QOperatingSystemVersion.OSType +QtCore.QOperatingSystemVersion.name?4() -> QString +QtCore.QParallelAnimationGroup?1(QObject parent=None) +QtCore.QParallelAnimationGroup.__init__?1(self, QObject parent=None) +QtCore.QParallelAnimationGroup.duration?4() -> int +QtCore.QParallelAnimationGroup.event?4(QEvent) -> bool +QtCore.QParallelAnimationGroup.updateCurrentTime?4(int) +QtCore.QParallelAnimationGroup.updateState?4(QAbstractAnimation.State, QAbstractAnimation.State) +QtCore.QParallelAnimationGroup.updateDirection?4(QAbstractAnimation.Direction) +QtCore.QPauseAnimation?1(QObject parent=None) +QtCore.QPauseAnimation.__init__?1(self, QObject parent=None) +QtCore.QPauseAnimation?1(int, QObject parent=None) +QtCore.QPauseAnimation.__init__?1(self, int, QObject parent=None) +QtCore.QPauseAnimation.duration?4() -> int +QtCore.QPauseAnimation.setDuration?4(int) +QtCore.QPauseAnimation.event?4(QEvent) -> bool +QtCore.QPauseAnimation.updateCurrentTime?4(int) +QtCore.QVariantAnimation?1(QObject parent=None) +QtCore.QVariantAnimation.__init__?1(self, QObject parent=None) +QtCore.QVariantAnimation.startValue?4() -> QVariant +QtCore.QVariantAnimation.setStartValue?4(QVariant) +QtCore.QVariantAnimation.endValue?4() -> QVariant +QtCore.QVariantAnimation.setEndValue?4(QVariant) +QtCore.QVariantAnimation.keyValueAt?4(float) -> QVariant +QtCore.QVariantAnimation.setKeyValueAt?4(float, QVariant) +QtCore.QVariantAnimation.keyValues?4() -> unknown-type +QtCore.QVariantAnimation.setKeyValues?4(unknown-type) +QtCore.QVariantAnimation.currentValue?4() -> QVariant +QtCore.QVariantAnimation.duration?4() -> int +QtCore.QVariantAnimation.setDuration?4(int) +QtCore.QVariantAnimation.easingCurve?4() -> QEasingCurve +QtCore.QVariantAnimation.setEasingCurve?4(QEasingCurve) +QtCore.QVariantAnimation.valueChanged?4(QVariant) +QtCore.QVariantAnimation.event?4(QEvent) -> bool +QtCore.QVariantAnimation.updateCurrentTime?4(int) +QtCore.QVariantAnimation.updateState?4(QAbstractAnimation.State, QAbstractAnimation.State) +QtCore.QVariantAnimation.updateCurrentValue?4(QVariant) +QtCore.QVariantAnimation.interpolated?4(QVariant, QVariant, float) -> QVariant +QtCore.QPropertyAnimation?1(QObject parent=None) +QtCore.QPropertyAnimation.__init__?1(self, QObject parent=None) +QtCore.QPropertyAnimation?1(QObject, QByteArray, QObject parent=None) +QtCore.QPropertyAnimation.__init__?1(self, QObject, QByteArray, QObject parent=None) +QtCore.QPropertyAnimation.targetObject?4() -> QObject +QtCore.QPropertyAnimation.setTargetObject?4(QObject) +QtCore.QPropertyAnimation.propertyName?4() -> QByteArray +QtCore.QPropertyAnimation.setPropertyName?4(QByteArray) +QtCore.QPropertyAnimation.event?4(QEvent) -> bool +QtCore.QPropertyAnimation.updateCurrentValue?4(QVariant) +QtCore.QPropertyAnimation.updateState?4(QAbstractAnimation.State, QAbstractAnimation.State) +QtCore.QPluginLoader?1(QObject parent=None) +QtCore.QPluginLoader.__init__?1(self, QObject parent=None) +QtCore.QPluginLoader?1(QString, QObject parent=None) +QtCore.QPluginLoader.__init__?1(self, QString, QObject parent=None) +QtCore.QPluginLoader.instance?4() -> QObject +QtCore.QPluginLoader.staticInstances?4() -> unknown-type +QtCore.QPluginLoader.load?4() -> bool +QtCore.QPluginLoader.unload?4() -> bool +QtCore.QPluginLoader.isLoaded?4() -> bool +QtCore.QPluginLoader.setFileName?4(QString) +QtCore.QPluginLoader.fileName?4() -> QString +QtCore.QPluginLoader.errorString?4() -> QString +QtCore.QPluginLoader.setLoadHints?4(QLibrary.LoadHints) +QtCore.QPluginLoader.loadHints?4() -> QLibrary.LoadHints +QtCore.QPoint?1() +QtCore.QPoint.__init__?1(self) +QtCore.QPoint?1(int, int) +QtCore.QPoint.__init__?1(self, int, int) +QtCore.QPoint?1(QPoint) +QtCore.QPoint.__init__?1(self, QPoint) +QtCore.QPoint.manhattanLength?4() -> int +QtCore.QPoint.isNull?4() -> bool +QtCore.QPoint.x?4() -> int +QtCore.QPoint.y?4() -> int +QtCore.QPoint.setX?4(int) +QtCore.QPoint.setY?4(int) +QtCore.QPoint.dotProduct?4(QPoint, QPoint) -> int +QtCore.QPoint.transposed?4() -> QPoint +QtCore.QPointF?1() +QtCore.QPointF.__init__?1(self) +QtCore.QPointF?1(float, float) +QtCore.QPointF.__init__?1(self, float, float) +QtCore.QPointF?1(QPoint) +QtCore.QPointF.__init__?1(self, QPoint) +QtCore.QPointF?1(QPointF) +QtCore.QPointF.__init__?1(self, QPointF) +QtCore.QPointF.isNull?4() -> bool +QtCore.QPointF.x?4() -> float +QtCore.QPointF.y?4() -> float +QtCore.QPointF.setX?4(float) +QtCore.QPointF.setY?4(float) +QtCore.QPointF.toPoint?4() -> QPoint +QtCore.QPointF.manhattanLength?4() -> float +QtCore.QPointF.dotProduct?4(QPointF, QPointF) -> float +QtCore.QPointF.transposed?4() -> QPointF +QtCore.QProcess.InputChannelMode?10 +QtCore.QProcess.InputChannelMode.ManagedInputChannel?10 +QtCore.QProcess.InputChannelMode.ForwardedInputChannel?10 +QtCore.QProcess.ProcessChannelMode?10 +QtCore.QProcess.ProcessChannelMode.SeparateChannels?10 +QtCore.QProcess.ProcessChannelMode.MergedChannels?10 +QtCore.QProcess.ProcessChannelMode.ForwardedChannels?10 +QtCore.QProcess.ProcessChannelMode.ForwardedOutputChannel?10 +QtCore.QProcess.ProcessChannelMode.ForwardedErrorChannel?10 +QtCore.QProcess.ProcessChannel?10 +QtCore.QProcess.ProcessChannel.StandardOutput?10 +QtCore.QProcess.ProcessChannel.StandardError?10 +QtCore.QProcess.ProcessState?10 +QtCore.QProcess.ProcessState.NotRunning?10 +QtCore.QProcess.ProcessState.Starting?10 +QtCore.QProcess.ProcessState.Running?10 +QtCore.QProcess.ProcessError?10 +QtCore.QProcess.ProcessError.FailedToStart?10 +QtCore.QProcess.ProcessError.Crashed?10 +QtCore.QProcess.ProcessError.Timedout?10 +QtCore.QProcess.ProcessError.ReadError?10 +QtCore.QProcess.ProcessError.WriteError?10 +QtCore.QProcess.ProcessError.UnknownError?10 +QtCore.QProcess.ExitStatus?10 +QtCore.QProcess.ExitStatus.NormalExit?10 +QtCore.QProcess.ExitStatus.CrashExit?10 +QtCore.QProcess?1(QObject parent=None) +QtCore.QProcess.__init__?1(self, QObject parent=None) +QtCore.QProcess.start?4(QString, QStringList, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtCore.QProcess.start?4(QString, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtCore.QProcess.start?4(QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtCore.QProcess.readChannel?4() -> QProcess.ProcessChannel +QtCore.QProcess.setReadChannel?4(QProcess.ProcessChannel) +QtCore.QProcess.closeReadChannel?4(QProcess.ProcessChannel) +QtCore.QProcess.closeWriteChannel?4() +QtCore.QProcess.workingDirectory?4() -> QString +QtCore.QProcess.setWorkingDirectory?4(QString) +QtCore.QProcess.error?4() -> QProcess.ProcessError +QtCore.QProcess.state?4() -> QProcess.ProcessState +QtCore.QProcess.pid?4() -> sip.voidptr +QtCore.QProcess.waitForStarted?4(int msecs=30000) -> bool +QtCore.QProcess.waitForReadyRead?4(int msecs=30000) -> bool +QtCore.QProcess.waitForBytesWritten?4(int msecs=30000) -> bool +QtCore.QProcess.waitForFinished?4(int msecs=30000) -> bool +QtCore.QProcess.readAllStandardOutput?4() -> QByteArray +QtCore.QProcess.readAllStandardError?4() -> QByteArray +QtCore.QProcess.exitCode?4() -> int +QtCore.QProcess.exitStatus?4() -> QProcess.ExitStatus +QtCore.QProcess.bytesAvailable?4() -> int +QtCore.QProcess.bytesToWrite?4() -> int +QtCore.QProcess.isSequential?4() -> bool +QtCore.QProcess.canReadLine?4() -> bool +QtCore.QProcess.close?4() +QtCore.QProcess.atEnd?4() -> bool +QtCore.QProcess.execute?4(QString, QStringList) -> int +QtCore.QProcess.execute?4(QString) -> int +QtCore.QProcess.startDetached?4(QString, QStringList, QString) -> (bool, int) +QtCore.QProcess.startDetached?4(QString, QStringList) -> bool +QtCore.QProcess.startDetached?4(QString) -> bool +QtCore.QProcess.startDetached?4() -> (bool, int) +QtCore.QProcess.systemEnvironment?4() -> QStringList +QtCore.QProcess.processChannelMode?4() -> QProcess.ProcessChannelMode +QtCore.QProcess.setProcessChannelMode?4(QProcess.ProcessChannelMode) +QtCore.QProcess.setStandardInputFile?4(QString) +QtCore.QProcess.setStandardOutputFile?4(QString, QIODevice.OpenMode mode=QIODevice.Truncate) +QtCore.QProcess.setStandardErrorFile?4(QString, QIODevice.OpenMode mode=QIODevice.Truncate) +QtCore.QProcess.setStandardOutputProcess?4(QProcess) +QtCore.QProcess.terminate?4() +QtCore.QProcess.kill?4() +QtCore.QProcess.started?4() +QtCore.QProcess.finished?4(int, QProcess.ExitStatus) +QtCore.QProcess.error?4(QProcess.ProcessError) +QtCore.QProcess.stateChanged?4(QProcess.ProcessState) +QtCore.QProcess.readyReadStandardOutput?4() +QtCore.QProcess.readyReadStandardError?4() +QtCore.QProcess.errorOccurred?4(QProcess.ProcessError) +QtCore.QProcess.setProcessState?4(QProcess.ProcessState) +QtCore.QProcess.setupChildProcess?4() +QtCore.QProcess.readData?4(int) -> object +QtCore.QProcess.writeData?4(bytes) -> int +QtCore.QProcess.setProcessEnvironment?4(QProcessEnvironment) +QtCore.QProcess.processEnvironment?4() -> QProcessEnvironment +QtCore.QProcess.program?4() -> QString +QtCore.QProcess.setProgram?4(QString) +QtCore.QProcess.arguments?4() -> QStringList +QtCore.QProcess.setArguments?4(QStringList) +QtCore.QProcess.open?4(QIODevice.OpenMode mode=QIODevice.ReadWrite) -> bool +QtCore.QProcess.inputChannelMode?4() -> QProcess.InputChannelMode +QtCore.QProcess.setInputChannelMode?4(QProcess.InputChannelMode) +QtCore.QProcess.nullDevice?4() -> QString +QtCore.QProcess.processId?4() -> int +QtCore.QProcessEnvironment?1() +QtCore.QProcessEnvironment.__init__?1(self) +QtCore.QProcessEnvironment?1(QProcessEnvironment) +QtCore.QProcessEnvironment.__init__?1(self, QProcessEnvironment) +QtCore.QProcessEnvironment.isEmpty?4() -> bool +QtCore.QProcessEnvironment.clear?4() +QtCore.QProcessEnvironment.contains?4(QString) -> bool +QtCore.QProcessEnvironment.insert?4(QString, QString) +QtCore.QProcessEnvironment.insert?4(QProcessEnvironment) +QtCore.QProcessEnvironment.remove?4(QString) +QtCore.QProcessEnvironment.value?4(QString, QString defaultValue='') -> QString +QtCore.QProcessEnvironment.toStringList?4() -> QStringList +QtCore.QProcessEnvironment.systemEnvironment?4() -> QProcessEnvironment +QtCore.QProcessEnvironment.keys?4() -> QStringList +QtCore.QProcessEnvironment.swap?4(QProcessEnvironment) +QtCore.QRandomGenerator?1(int seed=1) +QtCore.QRandomGenerator.__init__?1(self, int seed=1) +QtCore.QRandomGenerator?1(QRandomGenerator) +QtCore.QRandomGenerator.__init__?1(self, QRandomGenerator) +QtCore.QRandomGenerator.generate?4() -> int +QtCore.QRandomGenerator.generate64?4() -> int +QtCore.QRandomGenerator.generateDouble?4() -> float +QtCore.QRandomGenerator.bounded?4(float) -> float +QtCore.QRandomGenerator.bounded?4(int) -> int +QtCore.QRandomGenerator.bounded?4(int, int) -> int +QtCore.QRandomGenerator.seed?4(int seed=1) +QtCore.QRandomGenerator.discard?4(int) +QtCore.QRandomGenerator.min?4() -> int +QtCore.QRandomGenerator.max?4() -> int +QtCore.QRandomGenerator.system?4() -> QRandomGenerator +QtCore.QRandomGenerator.global_?4() -> QRandomGenerator +QtCore.QRandomGenerator.securelySeeded?4() -> QRandomGenerator +QtCore.QReadWriteLock.RecursionMode?10 +QtCore.QReadWriteLock.RecursionMode.NonRecursive?10 +QtCore.QReadWriteLock.RecursionMode.Recursive?10 +QtCore.QReadWriteLock?1(QReadWriteLock.RecursionMode recursionMode=QReadWriteLock.NonRecursive) +QtCore.QReadWriteLock.__init__?1(self, QReadWriteLock.RecursionMode recursionMode=QReadWriteLock.NonRecursive) +QtCore.QReadWriteLock.lockForRead?4() +QtCore.QReadWriteLock.tryLockForRead?4() -> bool +QtCore.QReadWriteLock.tryLockForRead?4(int) -> bool +QtCore.QReadWriteLock.lockForWrite?4() +QtCore.QReadWriteLock.tryLockForWrite?4() -> bool +QtCore.QReadWriteLock.tryLockForWrite?4(int) -> bool +QtCore.QReadWriteLock.unlock?4() +QtCore.QReadLocker?1(QReadWriteLock) +QtCore.QReadLocker.__init__?1(self, QReadWriteLock) +QtCore.QReadLocker.unlock?4() +QtCore.QReadLocker.relock?4() +QtCore.QReadLocker.readWriteLock?4() -> QReadWriteLock +QtCore.QReadLocker.__enter__?4() -> object +QtCore.QReadLocker.__exit__?4(object, object, object) +QtCore.QWriteLocker?1(QReadWriteLock) +QtCore.QWriteLocker.__init__?1(self, QReadWriteLock) +QtCore.QWriteLocker.unlock?4() +QtCore.QWriteLocker.relock?4() +QtCore.QWriteLocker.readWriteLock?4() -> QReadWriteLock +QtCore.QWriteLocker.__enter__?4() -> object +QtCore.QWriteLocker.__exit__?4(object, object, object) +QtCore.QRect?1() +QtCore.QRect.__init__?1(self) +QtCore.QRect?1(int, int, int, int) +QtCore.QRect.__init__?1(self, int, int, int, int) +QtCore.QRect?1(QPoint, QPoint) +QtCore.QRect.__init__?1(self, QPoint, QPoint) +QtCore.QRect?1(QPoint, QSize) +QtCore.QRect.__init__?1(self, QPoint, QSize) +QtCore.QRect?1(QRect) +QtCore.QRect.__init__?1(self, QRect) +QtCore.QRect.normalized?4() -> QRect +QtCore.QRect.moveCenter?4(QPoint) +QtCore.QRect.contains?4(QPoint, bool proper=False) -> bool +QtCore.QRect.contains?4(QRect, bool proper=False) -> bool +QtCore.QRect.intersects?4(QRect) -> bool +QtCore.QRect.isNull?4() -> bool +QtCore.QRect.isEmpty?4() -> bool +QtCore.QRect.isValid?4() -> bool +QtCore.QRect.left?4() -> int +QtCore.QRect.top?4() -> int +QtCore.QRect.right?4() -> int +QtCore.QRect.bottom?4() -> int +QtCore.QRect.x?4() -> int +QtCore.QRect.y?4() -> int +QtCore.QRect.setLeft?4(int) +QtCore.QRect.setTop?4(int) +QtCore.QRect.setRight?4(int) +QtCore.QRect.setBottom?4(int) +QtCore.QRect.setTopLeft?4(QPoint) +QtCore.QRect.setBottomRight?4(QPoint) +QtCore.QRect.setTopRight?4(QPoint) +QtCore.QRect.setBottomLeft?4(QPoint) +QtCore.QRect.setX?4(int) +QtCore.QRect.setY?4(int) +QtCore.QRect.topLeft?4() -> QPoint +QtCore.QRect.bottomRight?4() -> QPoint +QtCore.QRect.topRight?4() -> QPoint +QtCore.QRect.bottomLeft?4() -> QPoint +QtCore.QRect.center?4() -> QPoint +QtCore.QRect.width?4() -> int +QtCore.QRect.height?4() -> int +QtCore.QRect.size?4() -> QSize +QtCore.QRect.translate?4(int, int) +QtCore.QRect.translate?4(QPoint) +QtCore.QRect.translated?4(int, int) -> QRect +QtCore.QRect.translated?4(QPoint) -> QRect +QtCore.QRect.moveTo?4(int, int) +QtCore.QRect.moveTo?4(QPoint) +QtCore.QRect.moveLeft?4(int) +QtCore.QRect.moveTop?4(int) +QtCore.QRect.moveRight?4(int) +QtCore.QRect.moveBottom?4(int) +QtCore.QRect.moveTopLeft?4(QPoint) +QtCore.QRect.moveBottomRight?4(QPoint) +QtCore.QRect.moveTopRight?4(QPoint) +QtCore.QRect.moveBottomLeft?4(QPoint) +QtCore.QRect.getRect?4() -> (int, int, int, int) +QtCore.QRect.setRect?4(int, int, int, int) +QtCore.QRect.getCoords?4() -> (int, int, int, int) +QtCore.QRect.setCoords?4(int, int, int, int) +QtCore.QRect.adjusted?4(int, int, int, int) -> QRect +QtCore.QRect.adjust?4(int, int, int, int) +QtCore.QRect.setWidth?4(int) +QtCore.QRect.setHeight?4(int) +QtCore.QRect.setSize?4(QSize) +QtCore.QRect.contains?4(int, int, bool) -> bool +QtCore.QRect.contains?4(int, int) -> bool +QtCore.QRect.intersected?4(QRect) -> QRect +QtCore.QRect.united?4(QRect) -> QRect +QtCore.QRect.marginsAdded?4(QMargins) -> QRect +QtCore.QRect.marginsRemoved?4(QMargins) -> QRect +QtCore.QRect.transposed?4() -> QRect +QtCore.QRectF?1() +QtCore.QRectF.__init__?1(self) +QtCore.QRectF?1(QPointF, QSizeF) +QtCore.QRectF.__init__?1(self, QPointF, QSizeF) +QtCore.QRectF?1(QPointF, QPointF) +QtCore.QRectF.__init__?1(self, QPointF, QPointF) +QtCore.QRectF?1(float, float, float, float) +QtCore.QRectF.__init__?1(self, float, float, float, float) +QtCore.QRectF?1(QRect) +QtCore.QRectF.__init__?1(self, QRect) +QtCore.QRectF?1(QRectF) +QtCore.QRectF.__init__?1(self, QRectF) +QtCore.QRectF.normalized?4() -> QRectF +QtCore.QRectF.left?4() -> float +QtCore.QRectF.top?4() -> float +QtCore.QRectF.right?4() -> float +QtCore.QRectF.bottom?4() -> float +QtCore.QRectF.setX?4(float) +QtCore.QRectF.setY?4(float) +QtCore.QRectF.topLeft?4() -> QPointF +QtCore.QRectF.bottomRight?4() -> QPointF +QtCore.QRectF.topRight?4() -> QPointF +QtCore.QRectF.bottomLeft?4() -> QPointF +QtCore.QRectF.contains?4(QPointF) -> bool +QtCore.QRectF.contains?4(QRectF) -> bool +QtCore.QRectF.intersects?4(QRectF) -> bool +QtCore.QRectF.isNull?4() -> bool +QtCore.QRectF.isEmpty?4() -> bool +QtCore.QRectF.isValid?4() -> bool +QtCore.QRectF.x?4() -> float +QtCore.QRectF.y?4() -> float +QtCore.QRectF.setLeft?4(float) +QtCore.QRectF.setRight?4(float) +QtCore.QRectF.setTop?4(float) +QtCore.QRectF.setBottom?4(float) +QtCore.QRectF.setTopLeft?4(QPointF) +QtCore.QRectF.setTopRight?4(QPointF) +QtCore.QRectF.setBottomLeft?4(QPointF) +QtCore.QRectF.setBottomRight?4(QPointF) +QtCore.QRectF.center?4() -> QPointF +QtCore.QRectF.moveLeft?4(float) +QtCore.QRectF.moveTop?4(float) +QtCore.QRectF.moveRight?4(float) +QtCore.QRectF.moveBottom?4(float) +QtCore.QRectF.moveTopLeft?4(QPointF) +QtCore.QRectF.moveTopRight?4(QPointF) +QtCore.QRectF.moveBottomLeft?4(QPointF) +QtCore.QRectF.moveBottomRight?4(QPointF) +QtCore.QRectF.moveCenter?4(QPointF) +QtCore.QRectF.width?4() -> float +QtCore.QRectF.height?4() -> float +QtCore.QRectF.size?4() -> QSizeF +QtCore.QRectF.translate?4(float, float) +QtCore.QRectF.translate?4(QPointF) +QtCore.QRectF.moveTo?4(float, float) +QtCore.QRectF.moveTo?4(QPointF) +QtCore.QRectF.translated?4(float, float) -> QRectF +QtCore.QRectF.translated?4(QPointF) -> QRectF +QtCore.QRectF.getRect?4() -> (float, float, float, float) +QtCore.QRectF.setRect?4(float, float, float, float) +QtCore.QRectF.getCoords?4() -> (float, float, float, float) +QtCore.QRectF.setCoords?4(float, float, float, float) +QtCore.QRectF.adjust?4(float, float, float, float) +QtCore.QRectF.adjusted?4(float, float, float, float) -> QRectF +QtCore.QRectF.setWidth?4(float) +QtCore.QRectF.setHeight?4(float) +QtCore.QRectF.setSize?4(QSizeF) +QtCore.QRectF.contains?4(float, float) -> bool +QtCore.QRectF.intersected?4(QRectF) -> QRectF +QtCore.QRectF.united?4(QRectF) -> QRectF +QtCore.QRectF.toAlignedRect?4() -> QRect +QtCore.QRectF.toRect?4() -> QRect +QtCore.QRectF.marginsAdded?4(QMarginsF) -> QRectF +QtCore.QRectF.marginsRemoved?4(QMarginsF) -> QRectF +QtCore.QRectF.transposed?4() -> QRectF +QtCore.QRegExp.CaretMode?10 +QtCore.QRegExp.CaretMode.CaretAtZero?10 +QtCore.QRegExp.CaretMode.CaretAtOffset?10 +QtCore.QRegExp.CaretMode.CaretWontMatch?10 +QtCore.QRegExp.PatternSyntax?10 +QtCore.QRegExp.PatternSyntax.RegExp?10 +QtCore.QRegExp.PatternSyntax.RegExp2?10 +QtCore.QRegExp.PatternSyntax.Wildcard?10 +QtCore.QRegExp.PatternSyntax.FixedString?10 +QtCore.QRegExp.PatternSyntax.WildcardUnix?10 +QtCore.QRegExp.PatternSyntax.W3CXmlSchema11?10 +QtCore.QRegExp?1() +QtCore.QRegExp.__init__?1(self) +QtCore.QRegExp?1(QString, Qt.CaseSensitivity cs=Qt.CaseSensitive, QRegExp.PatternSyntax syntax=QRegExp.RegExp) +QtCore.QRegExp.__init__?1(self, QString, Qt.CaseSensitivity cs=Qt.CaseSensitive, QRegExp.PatternSyntax syntax=QRegExp.RegExp) +QtCore.QRegExp?1(QRegExp) +QtCore.QRegExp.__init__?1(self, QRegExp) +QtCore.QRegExp.isEmpty?4() -> bool +QtCore.QRegExp.isValid?4() -> bool +QtCore.QRegExp.pattern?4() -> QString +QtCore.QRegExp.setPattern?4(QString) +QtCore.QRegExp.caseSensitivity?4() -> Qt.CaseSensitivity +QtCore.QRegExp.setCaseSensitivity?4(Qt.CaseSensitivity) +QtCore.QRegExp.patternSyntax?4() -> QRegExp.PatternSyntax +QtCore.QRegExp.setPatternSyntax?4(QRegExp.PatternSyntax) +QtCore.QRegExp.isMinimal?4() -> bool +QtCore.QRegExp.setMinimal?4(bool) +QtCore.QRegExp.exactMatch?4(QString) -> bool +QtCore.QRegExp.indexIn?4(QString, int offset=0, QRegExp.CaretMode caretMode=QRegExp.CaretAtZero) -> int +QtCore.QRegExp.lastIndexIn?4(QString, int offset=-1, QRegExp.CaretMode caretMode=QRegExp.CaretAtZero) -> int +QtCore.QRegExp.matchedLength?4() -> int +QtCore.QRegExp.capturedTexts?4() -> QStringList +QtCore.QRegExp.cap?4(int nth=0) -> QString +QtCore.QRegExp.pos?4(int nth=0) -> int +QtCore.QRegExp.errorString?4() -> QString +QtCore.QRegExp.escape?4(QString) -> QString +QtCore.QRegExp.captureCount?4() -> int +QtCore.QRegExp.swap?4(QRegExp) +QtCore.QRegularExpression.MatchOption?10 +QtCore.QRegularExpression.MatchOption.NoMatchOption?10 +QtCore.QRegularExpression.MatchOption.AnchoredMatchOption?10 +QtCore.QRegularExpression.MatchOption.DontCheckSubjectStringMatchOption?10 +QtCore.QRegularExpression.MatchType?10 +QtCore.QRegularExpression.MatchType.NormalMatch?10 +QtCore.QRegularExpression.MatchType.PartialPreferCompleteMatch?10 +QtCore.QRegularExpression.MatchType.PartialPreferFirstMatch?10 +QtCore.QRegularExpression.MatchType.NoMatch?10 +QtCore.QRegularExpression.PatternOption?10 +QtCore.QRegularExpression.PatternOption.NoPatternOption?10 +QtCore.QRegularExpression.PatternOption.CaseInsensitiveOption?10 +QtCore.QRegularExpression.PatternOption.DotMatchesEverythingOption?10 +QtCore.QRegularExpression.PatternOption.MultilineOption?10 +QtCore.QRegularExpression.PatternOption.ExtendedPatternSyntaxOption?10 +QtCore.QRegularExpression.PatternOption.InvertedGreedinessOption?10 +QtCore.QRegularExpression.PatternOption.DontCaptureOption?10 +QtCore.QRegularExpression.PatternOption.UseUnicodePropertiesOption?10 +QtCore.QRegularExpression.PatternOption.OptimizeOnFirstUsageOption?10 +QtCore.QRegularExpression.PatternOption.DontAutomaticallyOptimizeOption?10 +QtCore.QRegularExpression?1() +QtCore.QRegularExpression.__init__?1(self) +QtCore.QRegularExpression?1(QString, QRegularExpression.PatternOptions options=QRegularExpression.NoPatternOption) +QtCore.QRegularExpression.__init__?1(self, QString, QRegularExpression.PatternOptions options=QRegularExpression.NoPatternOption) +QtCore.QRegularExpression?1(QRegularExpression) +QtCore.QRegularExpression.__init__?1(self, QRegularExpression) +QtCore.QRegularExpression.patternOptions?4() -> QRegularExpression.PatternOptions +QtCore.QRegularExpression.setPatternOptions?4(QRegularExpression.PatternOptions) +QtCore.QRegularExpression.swap?4(QRegularExpression) +QtCore.QRegularExpression.pattern?4() -> QString +QtCore.QRegularExpression.setPattern?4(QString) +QtCore.QRegularExpression.isValid?4() -> bool +QtCore.QRegularExpression.patternErrorOffset?4() -> int +QtCore.QRegularExpression.errorString?4() -> QString +QtCore.QRegularExpression.captureCount?4() -> int +QtCore.QRegularExpression.match?4(QString, int offset=0, QRegularExpression.MatchType matchType=QRegularExpression.NormalMatch, QRegularExpression.MatchOptions matchOptions=QRegularExpression.NoMatchOption) -> QRegularExpressionMatch +QtCore.QRegularExpression.globalMatch?4(QString, int offset=0, QRegularExpression.MatchType matchType=QRegularExpression.NormalMatch, QRegularExpression.MatchOptions matchOptions=QRegularExpression.NoMatchOption) -> QRegularExpressionMatchIterator +QtCore.QRegularExpression.escape?4(QString) -> QString +QtCore.QRegularExpression.namedCaptureGroups?4() -> QStringList +QtCore.QRegularExpression.optimize?4() +QtCore.QRegularExpression.wildcardToRegularExpression?4(QString) -> QString +QtCore.QRegularExpression.anchoredPattern?4(QString) -> QString +QtCore.QRegularExpression.PatternOptions?1() +QtCore.QRegularExpression.PatternOptions.__init__?1(self) +QtCore.QRegularExpression.PatternOptions?1(int) +QtCore.QRegularExpression.PatternOptions.__init__?1(self, int) +QtCore.QRegularExpression.PatternOptions?1(QRegularExpression.PatternOptions) +QtCore.QRegularExpression.PatternOptions.__init__?1(self, QRegularExpression.PatternOptions) +QtCore.QRegularExpression.MatchOptions?1() +QtCore.QRegularExpression.MatchOptions.__init__?1(self) +QtCore.QRegularExpression.MatchOptions?1(int) +QtCore.QRegularExpression.MatchOptions.__init__?1(self, int) +QtCore.QRegularExpression.MatchOptions?1(QRegularExpression.MatchOptions) +QtCore.QRegularExpression.MatchOptions.__init__?1(self, QRegularExpression.MatchOptions) +QtCore.QRegularExpressionMatch?1() +QtCore.QRegularExpressionMatch.__init__?1(self) +QtCore.QRegularExpressionMatch?1(QRegularExpressionMatch) +QtCore.QRegularExpressionMatch.__init__?1(self, QRegularExpressionMatch) +QtCore.QRegularExpressionMatch.swap?4(QRegularExpressionMatch) +QtCore.QRegularExpressionMatch.regularExpression?4() -> QRegularExpression +QtCore.QRegularExpressionMatch.matchType?4() -> QRegularExpression.MatchType +QtCore.QRegularExpressionMatch.matchOptions?4() -> QRegularExpression.MatchOptions +QtCore.QRegularExpressionMatch.hasMatch?4() -> bool +QtCore.QRegularExpressionMatch.hasPartialMatch?4() -> bool +QtCore.QRegularExpressionMatch.isValid?4() -> bool +QtCore.QRegularExpressionMatch.lastCapturedIndex?4() -> int +QtCore.QRegularExpressionMatch.captured?4(int nth=0) -> QString +QtCore.QRegularExpressionMatch.captured?4(QString) -> QString +QtCore.QRegularExpressionMatch.capturedTexts?4() -> QStringList +QtCore.QRegularExpressionMatch.capturedStart?4(int nth=0) -> int +QtCore.QRegularExpressionMatch.capturedLength?4(int nth=0) -> int +QtCore.QRegularExpressionMatch.capturedEnd?4(int nth=0) -> int +QtCore.QRegularExpressionMatch.capturedStart?4(QString) -> int +QtCore.QRegularExpressionMatch.capturedLength?4(QString) -> int +QtCore.QRegularExpressionMatch.capturedEnd?4(QString) -> int +QtCore.QRegularExpressionMatchIterator?1() +QtCore.QRegularExpressionMatchIterator.__init__?1(self) +QtCore.QRegularExpressionMatchIterator?1(QRegularExpressionMatchIterator) +QtCore.QRegularExpressionMatchIterator.__init__?1(self, QRegularExpressionMatchIterator) +QtCore.QRegularExpressionMatchIterator.swap?4(QRegularExpressionMatchIterator) +QtCore.QRegularExpressionMatchIterator.isValid?4() -> bool +QtCore.QRegularExpressionMatchIterator.hasNext?4() -> bool +QtCore.QRegularExpressionMatchIterator.next?4() -> QRegularExpressionMatch +QtCore.QRegularExpressionMatchIterator.peekNext?4() -> QRegularExpressionMatch +QtCore.QRegularExpressionMatchIterator.regularExpression?4() -> QRegularExpression +QtCore.QRegularExpressionMatchIterator.matchType?4() -> QRegularExpression.MatchType +QtCore.QRegularExpressionMatchIterator.matchOptions?4() -> QRegularExpression.MatchOptions +QtCore.QResource.Compression?10 +QtCore.QResource.Compression.NoCompression?10 +QtCore.QResource.Compression.ZlibCompression?10 +QtCore.QResource.Compression.ZstdCompression?10 +QtCore.QResource?1(QString fileName='', QLocale locale=QLocale()) +QtCore.QResource.__init__?1(self, QString fileName='', QLocale locale=QLocale()) +QtCore.QResource.absoluteFilePath?4() -> QString +QtCore.QResource.data?4() -> object +QtCore.QResource.fileName?4() -> QString +QtCore.QResource.isCompressed?4() -> bool +QtCore.QResource.isValid?4() -> bool +QtCore.QResource.locale?4() -> QLocale +QtCore.QResource.setFileName?4(QString) +QtCore.QResource.setLocale?4(QLocale) +QtCore.QResource.size?4() -> int +QtCore.QResource.registerResource?4(QString, QString mapRoot='') -> bool +QtCore.QResource.registerResourceData?4(bytes, QString mapRoot='') -> bool +QtCore.QResource.unregisterResource?4(QString, QString mapRoot='') -> bool +QtCore.QResource.unregisterResourceData?4(bytes, QString mapRoot='') -> bool +QtCore.QResource.children?4() -> QStringList +QtCore.QResource.isDir?4() -> bool +QtCore.QResource.isFile?4() -> bool +QtCore.QResource.lastModified?4() -> QDateTime +QtCore.QResource.compressionAlgorithm?4() -> QResource.Compression +QtCore.QResource.uncompressedSize?4() -> int +QtCore.QResource.uncompressedData?4() -> QByteArray +QtCore.QRunnable?1() +QtCore.QRunnable.__init__?1(self) +QtCore.QRunnable?1(QRunnable) +QtCore.QRunnable.__init__?1(self, QRunnable) +QtCore.QRunnable.run?4() +QtCore.QRunnable.autoDelete?4() -> bool +QtCore.QRunnable.setAutoDelete?4(bool) +QtCore.QRunnable.create?4(callable) -> QRunnable +QtCore.QSaveFile?1(QString) +QtCore.QSaveFile.__init__?1(self, QString) +QtCore.QSaveFile?1(QObject parent=None) +QtCore.QSaveFile.__init__?1(self, QObject parent=None) +QtCore.QSaveFile?1(QString, QObject) +QtCore.QSaveFile.__init__?1(self, QString, QObject) +QtCore.QSaveFile.fileName?4() -> QString +QtCore.QSaveFile.setFileName?4(QString) +QtCore.QSaveFile.open?4(QIODevice.OpenMode) -> bool +QtCore.QSaveFile.commit?4() -> bool +QtCore.QSaveFile.cancelWriting?4() +QtCore.QSaveFile.setDirectWriteFallback?4(bool) +QtCore.QSaveFile.directWriteFallback?4() -> bool +QtCore.QSaveFile.writeData?4(bytes) -> int +QtCore.QSemaphore?1(int n=0) +QtCore.QSemaphore.__init__?1(self, int n=0) +QtCore.QSemaphore.acquire?4(int n=1) +QtCore.QSemaphore.tryAcquire?4(int n=1) -> bool +QtCore.QSemaphore.tryAcquire?4(int, int) -> bool +QtCore.QSemaphore.release?4(int n=1) +QtCore.QSemaphore.available?4() -> int +QtCore.QSemaphoreReleaser?1() +QtCore.QSemaphoreReleaser.__init__?1(self) +QtCore.QSemaphoreReleaser?1(QSemaphore, int n=1) +QtCore.QSemaphoreReleaser.__init__?1(self, QSemaphore, int n=1) +QtCore.QSemaphoreReleaser.swap?4(QSemaphoreReleaser) +QtCore.QSemaphoreReleaser.semaphore?4() -> QSemaphore +QtCore.QSemaphoreReleaser.cancel?4() -> QSemaphore +QtCore.QSequentialAnimationGroup?1(QObject parent=None) +QtCore.QSequentialAnimationGroup.__init__?1(self, QObject parent=None) +QtCore.QSequentialAnimationGroup.addPause?4(int) -> QPauseAnimation +QtCore.QSequentialAnimationGroup.insertPause?4(int, int) -> QPauseAnimation +QtCore.QSequentialAnimationGroup.currentAnimation?4() -> QAbstractAnimation +QtCore.QSequentialAnimationGroup.duration?4() -> int +QtCore.QSequentialAnimationGroup.currentAnimationChanged?4(QAbstractAnimation) +QtCore.QSequentialAnimationGroup.event?4(QEvent) -> bool +QtCore.QSequentialAnimationGroup.updateCurrentTime?4(int) +QtCore.QSequentialAnimationGroup.updateState?4(QAbstractAnimation.State, QAbstractAnimation.State) +QtCore.QSequentialAnimationGroup.updateDirection?4(QAbstractAnimation.Direction) +QtCore.QSettings.Scope?10 +QtCore.QSettings.Scope.UserScope?10 +QtCore.QSettings.Scope.SystemScope?10 +QtCore.QSettings.Format?10 +QtCore.QSettings.Format.NativeFormat?10 +QtCore.QSettings.Format.IniFormat?10 +QtCore.QSettings.Format.InvalidFormat?10 +QtCore.QSettings.Status?10 +QtCore.QSettings.Status.NoError?10 +QtCore.QSettings.Status.AccessError?10 +QtCore.QSettings.Status.FormatError?10 +QtCore.QSettings?1(QString, QString application='', QObject parent=None) +QtCore.QSettings.__init__?1(self, QString, QString application='', QObject parent=None) +QtCore.QSettings?1(QSettings.Scope, QString, QString application='', QObject parent=None) +QtCore.QSettings.__init__?1(self, QSettings.Scope, QString, QString application='', QObject parent=None) +QtCore.QSettings?1(QSettings.Format, QSettings.Scope, QString, QString application='', QObject parent=None) +QtCore.QSettings.__init__?1(self, QSettings.Format, QSettings.Scope, QString, QString application='', QObject parent=None) +QtCore.QSettings?1(QString, QSettings.Format, QObject parent=None) +QtCore.QSettings.__init__?1(self, QString, QSettings.Format, QObject parent=None) +QtCore.QSettings?1(QSettings.Scope, QObject parent=None) +QtCore.QSettings.__init__?1(self, QSettings.Scope, QObject parent=None) +QtCore.QSettings?1(QObject parent=None) +QtCore.QSettings.__init__?1(self, QObject parent=None) +QtCore.QSettings.clear?4() +QtCore.QSettings.sync?4() +QtCore.QSettings.status?4() -> QSettings.Status +QtCore.QSettings.beginGroup?4(QString) +QtCore.QSettings.endGroup?4() +QtCore.QSettings.group?4() -> QString +QtCore.QSettings.beginReadArray?4(QString) -> int +QtCore.QSettings.beginWriteArray?4(QString, int size=-1) +QtCore.QSettings.endArray?4() +QtCore.QSettings.setArrayIndex?4(int) +QtCore.QSettings.allKeys?4() -> QStringList +QtCore.QSettings.childKeys?4() -> QStringList +QtCore.QSettings.childGroups?4() -> QStringList +QtCore.QSettings.isWritable?4() -> bool +QtCore.QSettings.setValue?4(QString, QVariant) +QtCore.QSettings.value?4(QString, QVariant defaultValue=None, object type=None) -> object +QtCore.QSettings.remove?4(QString) +QtCore.QSettings.contains?4(QString) -> bool +QtCore.QSettings.setFallbacksEnabled?4(bool) +QtCore.QSettings.fallbacksEnabled?4() -> bool +QtCore.QSettings.fileName?4() -> QString +QtCore.QSettings.setPath?4(QSettings.Format, QSettings.Scope, QString) +QtCore.QSettings.format?4() -> QSettings.Format +QtCore.QSettings.scope?4() -> QSettings.Scope +QtCore.QSettings.organizationName?4() -> QString +QtCore.QSettings.applicationName?4() -> QString +QtCore.QSettings.setDefaultFormat?4(QSettings.Format) +QtCore.QSettings.defaultFormat?4() -> QSettings.Format +QtCore.QSettings.setIniCodec?4(QTextCodec) +QtCore.QSettings.setIniCodec?4(str) +QtCore.QSettings.iniCodec?4() -> QTextCodec +QtCore.QSettings.isAtomicSyncRequired?4() -> bool +QtCore.QSettings.setAtomicSyncRequired?4(bool) +QtCore.QSettings.event?4(QEvent) -> bool +QtCore.QSharedMemory.SharedMemoryError?10 +QtCore.QSharedMemory.SharedMemoryError.NoError?10 +QtCore.QSharedMemory.SharedMemoryError.PermissionDenied?10 +QtCore.QSharedMemory.SharedMemoryError.InvalidSize?10 +QtCore.QSharedMemory.SharedMemoryError.KeyError?10 +QtCore.QSharedMemory.SharedMemoryError.AlreadyExists?10 +QtCore.QSharedMemory.SharedMemoryError.NotFound?10 +QtCore.QSharedMemory.SharedMemoryError.LockError?10 +QtCore.QSharedMemory.SharedMemoryError.OutOfResources?10 +QtCore.QSharedMemory.SharedMemoryError.UnknownError?10 +QtCore.QSharedMemory.AccessMode?10 +QtCore.QSharedMemory.AccessMode.ReadOnly?10 +QtCore.QSharedMemory.AccessMode.ReadWrite?10 +QtCore.QSharedMemory?1(QObject parent=None) +QtCore.QSharedMemory.__init__?1(self, QObject parent=None) +QtCore.QSharedMemory?1(QString, QObject parent=None) +QtCore.QSharedMemory.__init__?1(self, QString, QObject parent=None) +QtCore.QSharedMemory.setKey?4(QString) +QtCore.QSharedMemory.key?4() -> QString +QtCore.QSharedMemory.create?4(int, QSharedMemory.AccessMode mode=QSharedMemory.ReadWrite) -> bool +QtCore.QSharedMemory.size?4() -> int +QtCore.QSharedMemory.attach?4(QSharedMemory.AccessMode mode=QSharedMemory.ReadWrite) -> bool +QtCore.QSharedMemory.isAttached?4() -> bool +QtCore.QSharedMemory.detach?4() -> bool +QtCore.QSharedMemory.data?4() -> object +QtCore.QSharedMemory.constData?4() -> object +QtCore.QSharedMemory.lock?4() -> bool +QtCore.QSharedMemory.unlock?4() -> bool +QtCore.QSharedMemory.error?4() -> QSharedMemory.SharedMemoryError +QtCore.QSharedMemory.errorString?4() -> QString +QtCore.QSharedMemory.setNativeKey?4(QString) +QtCore.QSharedMemory.nativeKey?4() -> QString +QtCore.QSignalMapper?1(QObject parent=None) +QtCore.QSignalMapper.__init__?1(self, QObject parent=None) +QtCore.QSignalMapper.setMapping?4(QObject, int) +QtCore.QSignalMapper.setMapping?4(QObject, QString) +QtCore.QSignalMapper.setMapping?4(QObject, QWidget) +QtCore.QSignalMapper.setMapping?4(QObject, QObject) +QtCore.QSignalMapper.removeMappings?4(QObject) +QtCore.QSignalMapper.mapping?4(int) -> QObject +QtCore.QSignalMapper.mapping?4(QString) -> QObject +QtCore.QSignalMapper.mapping?4(QWidget) -> QObject +QtCore.QSignalMapper.mapping?4(QObject) -> QObject +QtCore.QSignalMapper.mapped?4(int) +QtCore.QSignalMapper.mapped?4(QString) +QtCore.QSignalMapper.mapped?4(QWidget) +QtCore.QSignalMapper.mapped?4(QObject) +QtCore.QSignalMapper.mappedInt?4(int) +QtCore.QSignalMapper.mappedString?4(QString) +QtCore.QSignalMapper.mappedWidget?4(QWidget) +QtCore.QSignalMapper.mappedObject?4(QObject) +QtCore.QSignalMapper.map?4() +QtCore.QSignalMapper.map?4(QObject) +QtCore.QSignalTransition?1(QState sourceState=None) +QtCore.QSignalTransition.__init__?1(self, QState sourceState=None) +QtCore.QSignalTransition?1(object, QState sourceState=None) +QtCore.QSignalTransition.__init__?1(self, object, QState sourceState=None) +QtCore.QSignalTransition.senderObject?4() -> QObject +QtCore.QSignalTransition.setSenderObject?4(QObject) +QtCore.QSignalTransition.signal?4() -> QByteArray +QtCore.QSignalTransition.setSignal?4(QByteArray) +QtCore.QSignalTransition.eventTest?4(QEvent) -> bool +QtCore.QSignalTransition.onTransition?4(QEvent) +QtCore.QSignalTransition.event?4(QEvent) -> bool +QtCore.QSignalTransition.senderObjectChanged?4() +QtCore.QSignalTransition.signalChanged?4() +QtCore.QSize?1() +QtCore.QSize.__init__?1(self) +QtCore.QSize?1(int, int) +QtCore.QSize.__init__?1(self, int, int) +QtCore.QSize?1(QSize) +QtCore.QSize.__init__?1(self, QSize) +QtCore.QSize.transpose?4() +QtCore.QSize.scale?4(QSize, Qt.AspectRatioMode) +QtCore.QSize.isNull?4() -> bool +QtCore.QSize.isEmpty?4() -> bool +QtCore.QSize.isValid?4() -> bool +QtCore.QSize.width?4() -> int +QtCore.QSize.height?4() -> int +QtCore.QSize.setWidth?4(int) +QtCore.QSize.setHeight?4(int) +QtCore.QSize.scale?4(int, int, Qt.AspectRatioMode) +QtCore.QSize.expandedTo?4(QSize) -> QSize +QtCore.QSize.boundedTo?4(QSize) -> QSize +QtCore.QSize.scaled?4(QSize, Qt.AspectRatioMode) -> QSize +QtCore.QSize.scaled?4(int, int, Qt.AspectRatioMode) -> QSize +QtCore.QSize.transposed?4() -> QSize +QtCore.QSize.grownBy?4(QMargins) -> QSize +QtCore.QSize.shrunkBy?4(QMargins) -> QSize +QtCore.QSizeF?1() +QtCore.QSizeF.__init__?1(self) +QtCore.QSizeF?1(QSize) +QtCore.QSizeF.__init__?1(self, QSize) +QtCore.QSizeF?1(float, float) +QtCore.QSizeF.__init__?1(self, float, float) +QtCore.QSizeF?1(QSizeF) +QtCore.QSizeF.__init__?1(self, QSizeF) +QtCore.QSizeF.transpose?4() +QtCore.QSizeF.scale?4(QSizeF, Qt.AspectRatioMode) +QtCore.QSizeF.isNull?4() -> bool +QtCore.QSizeF.isEmpty?4() -> bool +QtCore.QSizeF.isValid?4() -> bool +QtCore.QSizeF.width?4() -> float +QtCore.QSizeF.height?4() -> float +QtCore.QSizeF.setWidth?4(float) +QtCore.QSizeF.setHeight?4(float) +QtCore.QSizeF.scale?4(float, float, Qt.AspectRatioMode) +QtCore.QSizeF.expandedTo?4(QSizeF) -> QSizeF +QtCore.QSizeF.boundedTo?4(QSizeF) -> QSizeF +QtCore.QSizeF.toSize?4() -> QSize +QtCore.QSizeF.scaled?4(QSizeF, Qt.AspectRatioMode) -> QSizeF +QtCore.QSizeF.scaled?4(float, float, Qt.AspectRatioMode) -> QSizeF +QtCore.QSizeF.transposed?4() -> QSizeF +QtCore.QSizeF.grownBy?4(QMarginsF) -> QSizeF +QtCore.QSizeF.shrunkBy?4(QMarginsF) -> QSizeF +QtCore.QSocketNotifier.Type?10 +QtCore.QSocketNotifier.Type.Read?10 +QtCore.QSocketNotifier.Type.Write?10 +QtCore.QSocketNotifier.Type.Exception?10 +QtCore.QSocketNotifier?1(qintptr, QSocketNotifier.Type, QObject parent=None) +QtCore.QSocketNotifier.__init__?1(self, qintptr, QSocketNotifier.Type, QObject parent=None) +QtCore.QSocketNotifier.socket?4() -> qintptr +QtCore.QSocketNotifier.type?4() -> QSocketNotifier.Type +QtCore.QSocketNotifier.isEnabled?4() -> bool +QtCore.QSocketNotifier.setEnabled?4(bool) +QtCore.QSocketNotifier.activated?4(int) +QtCore.QSocketNotifier.event?4(QEvent) -> bool +QtCore.QSortFilterProxyModel?1(QObject parent=None) +QtCore.QSortFilterProxyModel.__init__?1(self, QObject parent=None) +QtCore.QSortFilterProxyModel.setSourceModel?4(QAbstractItemModel) +QtCore.QSortFilterProxyModel.mapToSource?4(QModelIndex) -> QModelIndex +QtCore.QSortFilterProxyModel.mapFromSource?4(QModelIndex) -> QModelIndex +QtCore.QSortFilterProxyModel.mapSelectionToSource?4(QItemSelection) -> QItemSelection +QtCore.QSortFilterProxyModel.mapSelectionFromSource?4(QItemSelection) -> QItemSelection +QtCore.QSortFilterProxyModel.filterRegExp?4() -> QRegExp +QtCore.QSortFilterProxyModel.filterRegularExpression?4() -> QRegularExpression +QtCore.QSortFilterProxyModel.filterKeyColumn?4() -> int +QtCore.QSortFilterProxyModel.setFilterKeyColumn?4(int) +QtCore.QSortFilterProxyModel.filterCaseSensitivity?4() -> Qt.CaseSensitivity +QtCore.QSortFilterProxyModel.setFilterCaseSensitivity?4(Qt.CaseSensitivity) +QtCore.QSortFilterProxyModel.invalidate?4() +QtCore.QSortFilterProxyModel.setFilterFixedString?4(QString) +QtCore.QSortFilterProxyModel.setFilterRegExp?4(QRegExp) +QtCore.QSortFilterProxyModel.setFilterRegExp?4(QString) +QtCore.QSortFilterProxyModel.setFilterRegularExpression?4(QRegularExpression) +QtCore.QSortFilterProxyModel.setFilterRegularExpression?4(QString) +QtCore.QSortFilterProxyModel.setFilterWildcard?4(QString) +QtCore.QSortFilterProxyModel.filterAcceptsRow?4(int, QModelIndex) -> bool +QtCore.QSortFilterProxyModel.filterAcceptsColumn?4(int, QModelIndex) -> bool +QtCore.QSortFilterProxyModel.lessThan?4(QModelIndex, QModelIndex) -> bool +QtCore.QSortFilterProxyModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtCore.QSortFilterProxyModel.parent?4(QModelIndex) -> QModelIndex +QtCore.QSortFilterProxyModel.parent?4() -> QObject +QtCore.QSortFilterProxyModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QSortFilterProxyModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QSortFilterProxyModel.hasChildren?4(QModelIndex parent=QModelIndex()) -> bool +QtCore.QSortFilterProxyModel.data?4(QModelIndex, int role=Qt.DisplayRole) -> QVariant +QtCore.QSortFilterProxyModel.setData?4(QModelIndex, QVariant, int role=Qt.EditRole) -> bool +QtCore.QSortFilterProxyModel.headerData?4(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant +QtCore.QSortFilterProxyModel.setHeaderData?4(int, Qt.Orientation, QVariant, int role=Qt.EditRole) -> bool +QtCore.QSortFilterProxyModel.mimeData?4(unknown-type) -> QMimeData +QtCore.QSortFilterProxyModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtCore.QSortFilterProxyModel.insertRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QSortFilterProxyModel.insertColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QSortFilterProxyModel.removeRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QSortFilterProxyModel.removeColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QSortFilterProxyModel.fetchMore?4(QModelIndex) +QtCore.QSortFilterProxyModel.canFetchMore?4(QModelIndex) -> bool +QtCore.QSortFilterProxyModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtCore.QSortFilterProxyModel.buddy?4(QModelIndex) -> QModelIndex +QtCore.QSortFilterProxyModel.span?4(QModelIndex) -> QSize +QtCore.QSortFilterProxyModel.match?4(QModelIndex, int, QVariant, int hits=1, Qt.MatchFlags flags=Qt.MatchStartsWith|Qt.MatchWrap) -> unknown-type +QtCore.QSortFilterProxyModel.sort?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtCore.QSortFilterProxyModel.sortCaseSensitivity?4() -> Qt.CaseSensitivity +QtCore.QSortFilterProxyModel.setSortCaseSensitivity?4(Qt.CaseSensitivity) +QtCore.QSortFilterProxyModel.dynamicSortFilter?4() -> bool +QtCore.QSortFilterProxyModel.setDynamicSortFilter?4(bool) +QtCore.QSortFilterProxyModel.sortRole?4() -> int +QtCore.QSortFilterProxyModel.setSortRole?4(int) +QtCore.QSortFilterProxyModel.sortColumn?4() -> int +QtCore.QSortFilterProxyModel.sortOrder?4() -> Qt.SortOrder +QtCore.QSortFilterProxyModel.filterRole?4() -> int +QtCore.QSortFilterProxyModel.setFilterRole?4(int) +QtCore.QSortFilterProxyModel.mimeTypes?4() -> QStringList +QtCore.QSortFilterProxyModel.supportedDropActions?4() -> Qt.DropActions +QtCore.QSortFilterProxyModel.isSortLocaleAware?4() -> bool +QtCore.QSortFilterProxyModel.setSortLocaleAware?4(bool) +QtCore.QSortFilterProxyModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtCore.QSortFilterProxyModel.isRecursiveFilteringEnabled?4() -> bool +QtCore.QSortFilterProxyModel.setRecursiveFilteringEnabled?4(bool) +QtCore.QSortFilterProxyModel.invalidateFilter?4() +QtCore.QSortFilterProxyModel.dynamicSortFilterChanged?4(bool) +QtCore.QSortFilterProxyModel.filterCaseSensitivityChanged?4(Qt.CaseSensitivity) +QtCore.QSortFilterProxyModel.sortCaseSensitivityChanged?4(Qt.CaseSensitivity) +QtCore.QSortFilterProxyModel.sortLocaleAwareChanged?4(bool) +QtCore.QSortFilterProxyModel.sortRoleChanged?4(int) +QtCore.QSortFilterProxyModel.filterRoleChanged?4(int) +QtCore.QSortFilterProxyModel.recursiveFilteringEnabledChanged?4(bool) +QtCore.QStandardPaths.LocateOption?10 +QtCore.QStandardPaths.LocateOption.LocateFile?10 +QtCore.QStandardPaths.LocateOption.LocateDirectory?10 +QtCore.QStandardPaths.StandardLocation?10 +QtCore.QStandardPaths.StandardLocation.DesktopLocation?10 +QtCore.QStandardPaths.StandardLocation.DocumentsLocation?10 +QtCore.QStandardPaths.StandardLocation.FontsLocation?10 +QtCore.QStandardPaths.StandardLocation.ApplicationsLocation?10 +QtCore.QStandardPaths.StandardLocation.MusicLocation?10 +QtCore.QStandardPaths.StandardLocation.MoviesLocation?10 +QtCore.QStandardPaths.StandardLocation.PicturesLocation?10 +QtCore.QStandardPaths.StandardLocation.TempLocation?10 +QtCore.QStandardPaths.StandardLocation.HomeLocation?10 +QtCore.QStandardPaths.StandardLocation.DataLocation?10 +QtCore.QStandardPaths.StandardLocation.CacheLocation?10 +QtCore.QStandardPaths.StandardLocation.GenericDataLocation?10 +QtCore.QStandardPaths.StandardLocation.RuntimeLocation?10 +QtCore.QStandardPaths.StandardLocation.ConfigLocation?10 +QtCore.QStandardPaths.StandardLocation.DownloadLocation?10 +QtCore.QStandardPaths.StandardLocation.GenericCacheLocation?10 +QtCore.QStandardPaths.StandardLocation.GenericConfigLocation?10 +QtCore.QStandardPaths.StandardLocation.AppDataLocation?10 +QtCore.QStandardPaths.StandardLocation.AppLocalDataLocation?10 +QtCore.QStandardPaths.StandardLocation.AppConfigLocation?10 +QtCore.QStandardPaths?1(QStandardPaths) +QtCore.QStandardPaths.__init__?1(self, QStandardPaths) +QtCore.QStandardPaths.writableLocation?4(QStandardPaths.StandardLocation) -> QString +QtCore.QStandardPaths.standardLocations?4(QStandardPaths.StandardLocation) -> QStringList +QtCore.QStandardPaths.locate?4(QStandardPaths.StandardLocation, QString, QStandardPaths.LocateOptions options=QStandardPaths.LocateFile) -> QString +QtCore.QStandardPaths.locateAll?4(QStandardPaths.StandardLocation, QString, QStandardPaths.LocateOptions options=QStandardPaths.LocateFile) -> QStringList +QtCore.QStandardPaths.displayName?4(QStandardPaths.StandardLocation) -> QString +QtCore.QStandardPaths.findExecutable?4(QString, QStringList paths=[]) -> QString +QtCore.QStandardPaths.enableTestMode?4(bool) +QtCore.QStandardPaths.setTestModeEnabled?4(bool) +QtCore.QStandardPaths.LocateOptions?1() +QtCore.QStandardPaths.LocateOptions.__init__?1(self) +QtCore.QStandardPaths.LocateOptions?1(int) +QtCore.QStandardPaths.LocateOptions.__init__?1(self, int) +QtCore.QStandardPaths.LocateOptions?1(QStandardPaths.LocateOptions) +QtCore.QStandardPaths.LocateOptions.__init__?1(self, QStandardPaths.LocateOptions) +QtCore.QState.RestorePolicy?10 +QtCore.QState.RestorePolicy.DontRestoreProperties?10 +QtCore.QState.RestorePolicy.RestoreProperties?10 +QtCore.QState.ChildMode?10 +QtCore.QState.ChildMode.ExclusiveStates?10 +QtCore.QState.ChildMode.ParallelStates?10 +QtCore.QState?1(QState parent=None) +QtCore.QState.__init__?1(self, QState parent=None) +QtCore.QState?1(QState.ChildMode, QState parent=None) +QtCore.QState.__init__?1(self, QState.ChildMode, QState parent=None) +QtCore.QState.errorState?4() -> QAbstractState +QtCore.QState.setErrorState?4(QAbstractState) +QtCore.QState.addTransition?4(QAbstractTransition) +QtCore.QState.addTransition?4(object, QAbstractState) -> QSignalTransition +QtCore.QState.addTransition?4(QAbstractState) -> QAbstractTransition +QtCore.QState.removeTransition?4(QAbstractTransition) +QtCore.QState.transitions?4() -> unknown-type +QtCore.QState.initialState?4() -> QAbstractState +QtCore.QState.setInitialState?4(QAbstractState) +QtCore.QState.childMode?4() -> QState.ChildMode +QtCore.QState.setChildMode?4(QState.ChildMode) +QtCore.QState.assignProperty?4(QObject, str, QVariant) +QtCore.QState.finished?4() +QtCore.QState.propertiesAssigned?4() +QtCore.QState.onEntry?4(QEvent) +QtCore.QState.onExit?4(QEvent) +QtCore.QState.event?4(QEvent) -> bool +QtCore.QState.childModeChanged?4() +QtCore.QState.initialStateChanged?4() +QtCore.QState.errorStateChanged?4() +QtCore.QStateMachine.Error?10 +QtCore.QStateMachine.Error.NoError?10 +QtCore.QStateMachine.Error.NoInitialStateError?10 +QtCore.QStateMachine.Error.NoDefaultStateInHistoryStateError?10 +QtCore.QStateMachine.Error.NoCommonAncestorForTransitionError?10 +QtCore.QStateMachine.Error.StateMachineChildModeSetToParallelError?10 +QtCore.QStateMachine.EventPriority?10 +QtCore.QStateMachine.EventPriority.NormalPriority?10 +QtCore.QStateMachine.EventPriority.HighPriority?10 +QtCore.QStateMachine?1(QObject parent=None) +QtCore.QStateMachine.__init__?1(self, QObject parent=None) +QtCore.QStateMachine?1(QState.ChildMode, QObject parent=None) +QtCore.QStateMachine.__init__?1(self, QState.ChildMode, QObject parent=None) +QtCore.QStateMachine.addState?4(QAbstractState) +QtCore.QStateMachine.removeState?4(QAbstractState) +QtCore.QStateMachine.error?4() -> QStateMachine.Error +QtCore.QStateMachine.errorString?4() -> QString +QtCore.QStateMachine.clearError?4() +QtCore.QStateMachine.isRunning?4() -> bool +QtCore.QStateMachine.isAnimated?4() -> bool +QtCore.QStateMachine.setAnimated?4(bool) +QtCore.QStateMachine.addDefaultAnimation?4(QAbstractAnimation) +QtCore.QStateMachine.defaultAnimations?4() -> unknown-type +QtCore.QStateMachine.removeDefaultAnimation?4(QAbstractAnimation) +QtCore.QStateMachine.globalRestorePolicy?4() -> QState.RestorePolicy +QtCore.QStateMachine.setGlobalRestorePolicy?4(QState.RestorePolicy) +QtCore.QStateMachine.postEvent?4(QEvent, QStateMachine.EventPriority priority=QStateMachine.NormalPriority) +QtCore.QStateMachine.postDelayedEvent?4(QEvent, int) -> int +QtCore.QStateMachine.cancelDelayedEvent?4(int) -> bool +QtCore.QStateMachine.configuration?4() -> unknown-type +QtCore.QStateMachine.eventFilter?4(QObject, QEvent) -> bool +QtCore.QStateMachine.start?4() +QtCore.QStateMachine.stop?4() +QtCore.QStateMachine.setRunning?4(bool) +QtCore.QStateMachine.started?4() +QtCore.QStateMachine.stopped?4() +QtCore.QStateMachine.runningChanged?4(bool) +QtCore.QStateMachine.onEntry?4(QEvent) +QtCore.QStateMachine.onExit?4(QEvent) +QtCore.QStateMachine.event?4(QEvent) -> bool +QtCore.QStateMachine.SignalEvent.sender?4() -> QObject +QtCore.QStateMachine.SignalEvent.signalIndex?4() -> int +QtCore.QStateMachine.SignalEvent.arguments?4() -> unknown-type +QtCore.QStateMachine.WrappedEvent.object?4() -> QObject +QtCore.QStateMachine.WrappedEvent.event?4() -> QEvent +QtCore.QStorageInfo?1() +QtCore.QStorageInfo.__init__?1(self) +QtCore.QStorageInfo?1(QString) +QtCore.QStorageInfo.__init__?1(self, QString) +QtCore.QStorageInfo?1(QDir) +QtCore.QStorageInfo.__init__?1(self, QDir) +QtCore.QStorageInfo?1(QStorageInfo) +QtCore.QStorageInfo.__init__?1(self, QStorageInfo) +QtCore.QStorageInfo.swap?4(QStorageInfo) +QtCore.QStorageInfo.setPath?4(QString) +QtCore.QStorageInfo.rootPath?4() -> QString +QtCore.QStorageInfo.device?4() -> QByteArray +QtCore.QStorageInfo.fileSystemType?4() -> QByteArray +QtCore.QStorageInfo.name?4() -> QString +QtCore.QStorageInfo.displayName?4() -> QString +QtCore.QStorageInfo.bytesTotal?4() -> int +QtCore.QStorageInfo.bytesFree?4() -> int +QtCore.QStorageInfo.bytesAvailable?4() -> int +QtCore.QStorageInfo.isReadOnly?4() -> bool +QtCore.QStorageInfo.isReady?4() -> bool +QtCore.QStorageInfo.isValid?4() -> bool +QtCore.QStorageInfo.refresh?4() +QtCore.QStorageInfo.mountedVolumes?4() -> unknown-type +QtCore.QStorageInfo.root?4() -> QStorageInfo +QtCore.QStorageInfo.isRoot?4() -> bool +QtCore.QStorageInfo.blockSize?4() -> int +QtCore.QStorageInfo.subvolume?4() -> QByteArray +QtCore.QStringListModel?1(QObject parent=None) +QtCore.QStringListModel.__init__?1(self, QObject parent=None) +QtCore.QStringListModel?1(QStringList, QObject parent=None) +QtCore.QStringListModel.__init__?1(self, QStringList, QObject parent=None) +QtCore.QStringListModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QStringListModel.data?4(QModelIndex, int) -> QVariant +QtCore.QStringListModel.setData?4(QModelIndex, QVariant, int role=Qt.EditRole) -> bool +QtCore.QStringListModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtCore.QStringListModel.insertRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QStringListModel.removeRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QStringListModel.stringList?4() -> QStringList +QtCore.QStringListModel.setStringList?4(QStringList) +QtCore.QStringListModel.sort?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtCore.QStringListModel.supportedDropActions?4() -> Qt.DropActions +QtCore.QStringListModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtCore.QStringListModel.moveRows?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QStringListModel.itemData?4(QModelIndex) -> unknown-type +QtCore.QStringListModel.setItemData?4(QModelIndex, unknown-type) -> bool +QtCore.QSystemSemaphore.SystemSemaphoreError?10 +QtCore.QSystemSemaphore.SystemSemaphoreError.NoError?10 +QtCore.QSystemSemaphore.SystemSemaphoreError.PermissionDenied?10 +QtCore.QSystemSemaphore.SystemSemaphoreError.KeyError?10 +QtCore.QSystemSemaphore.SystemSemaphoreError.AlreadyExists?10 +QtCore.QSystemSemaphore.SystemSemaphoreError.NotFound?10 +QtCore.QSystemSemaphore.SystemSemaphoreError.OutOfResources?10 +QtCore.QSystemSemaphore.SystemSemaphoreError.UnknownError?10 +QtCore.QSystemSemaphore.AccessMode?10 +QtCore.QSystemSemaphore.AccessMode.Open?10 +QtCore.QSystemSemaphore.AccessMode.Create?10 +QtCore.QSystemSemaphore?1(QString, int initialValue=0, QSystemSemaphore.AccessMode mode=QSystemSemaphore.Open) +QtCore.QSystemSemaphore.__init__?1(self, QString, int initialValue=0, QSystemSemaphore.AccessMode mode=QSystemSemaphore.Open) +QtCore.QSystemSemaphore.setKey?4(QString, int initialValue=0, QSystemSemaphore.AccessMode mode=QSystemSemaphore.Open) +QtCore.QSystemSemaphore.key?4() -> QString +QtCore.QSystemSemaphore.acquire?4() -> bool +QtCore.QSystemSemaphore.release?4(int n=1) -> bool +QtCore.QSystemSemaphore.error?4() -> QSystemSemaphore.SystemSemaphoreError +QtCore.QSystemSemaphore.errorString?4() -> QString +QtCore.QTemporaryDir?1() +QtCore.QTemporaryDir.__init__?1(self) +QtCore.QTemporaryDir?1(QString) +QtCore.QTemporaryDir.__init__?1(self, QString) +QtCore.QTemporaryDir.isValid?4() -> bool +QtCore.QTemporaryDir.autoRemove?4() -> bool +QtCore.QTemporaryDir.setAutoRemove?4(bool) +QtCore.QTemporaryDir.remove?4() -> bool +QtCore.QTemporaryDir.path?4() -> QString +QtCore.QTemporaryDir.errorString?4() -> QString +QtCore.QTemporaryDir.filePath?4(QString) -> QString +QtCore.QTemporaryFile?1() +QtCore.QTemporaryFile.__init__?1(self) +QtCore.QTemporaryFile?1(QString) +QtCore.QTemporaryFile.__init__?1(self, QString) +QtCore.QTemporaryFile?1(QObject) +QtCore.QTemporaryFile.__init__?1(self, QObject) +QtCore.QTemporaryFile?1(QString, QObject) +QtCore.QTemporaryFile.__init__?1(self, QString, QObject) +QtCore.QTemporaryFile.autoRemove?4() -> bool +QtCore.QTemporaryFile.setAutoRemove?4(bool) +QtCore.QTemporaryFile.open?4() -> bool +QtCore.QTemporaryFile.fileName?4() -> QString +QtCore.QTemporaryFile.fileTemplate?4() -> QString +QtCore.QTemporaryFile.setFileTemplate?4(QString) +QtCore.QTemporaryFile.createNativeFile?4(QString) -> QTemporaryFile +QtCore.QTemporaryFile.createNativeFile?4(QFile) -> QTemporaryFile +QtCore.QTemporaryFile.rename?4(QString) -> bool +QtCore.QTemporaryFile.open?4(QIODevice.OpenMode) -> bool +QtCore.QTextBoundaryFinder.BoundaryType?10 +QtCore.QTextBoundaryFinder.BoundaryType.Grapheme?10 +QtCore.QTextBoundaryFinder.BoundaryType.Word?10 +QtCore.QTextBoundaryFinder.BoundaryType.Line?10 +QtCore.QTextBoundaryFinder.BoundaryType.Sentence?10 +QtCore.QTextBoundaryFinder.BoundaryReason?10 +QtCore.QTextBoundaryFinder.BoundaryReason.NotAtBoundary?10 +QtCore.QTextBoundaryFinder.BoundaryReason.SoftHyphen?10 +QtCore.QTextBoundaryFinder.BoundaryReason.BreakOpportunity?10 +QtCore.QTextBoundaryFinder.BoundaryReason.StartOfItem?10 +QtCore.QTextBoundaryFinder.BoundaryReason.EndOfItem?10 +QtCore.QTextBoundaryFinder.BoundaryReason.MandatoryBreak?10 +QtCore.QTextBoundaryFinder?1() +QtCore.QTextBoundaryFinder.__init__?1(self) +QtCore.QTextBoundaryFinder?1(QTextBoundaryFinder) +QtCore.QTextBoundaryFinder.__init__?1(self, QTextBoundaryFinder) +QtCore.QTextBoundaryFinder?1(QTextBoundaryFinder.BoundaryType, QString) +QtCore.QTextBoundaryFinder.__init__?1(self, QTextBoundaryFinder.BoundaryType, QString) +QtCore.QTextBoundaryFinder.isValid?4() -> bool +QtCore.QTextBoundaryFinder.type?4() -> QTextBoundaryFinder.BoundaryType +QtCore.QTextBoundaryFinder.string?4() -> QString +QtCore.QTextBoundaryFinder.toStart?4() +QtCore.QTextBoundaryFinder.toEnd?4() +QtCore.QTextBoundaryFinder.position?4() -> int +QtCore.QTextBoundaryFinder.setPosition?4(int) +QtCore.QTextBoundaryFinder.toNextBoundary?4() -> int +QtCore.QTextBoundaryFinder.toPreviousBoundary?4() -> int +QtCore.QTextBoundaryFinder.isAtBoundary?4() -> bool +QtCore.QTextBoundaryFinder.boundaryReasons?4() -> QTextBoundaryFinder.BoundaryReasons +QtCore.QTextBoundaryFinder.BoundaryReasons?1() +QtCore.QTextBoundaryFinder.BoundaryReasons.__init__?1(self) +QtCore.QTextBoundaryFinder.BoundaryReasons?1(int) +QtCore.QTextBoundaryFinder.BoundaryReasons.__init__?1(self, int) +QtCore.QTextBoundaryFinder.BoundaryReasons?1(QTextBoundaryFinder.BoundaryReasons) +QtCore.QTextBoundaryFinder.BoundaryReasons.__init__?1(self, QTextBoundaryFinder.BoundaryReasons) +QtCore.QTextCodec.ConversionFlag?10 +QtCore.QTextCodec.ConversionFlag.DefaultConversion?10 +QtCore.QTextCodec.ConversionFlag.ConvertInvalidToNull?10 +QtCore.QTextCodec.ConversionFlag.IgnoreHeader?10 +QtCore.QTextCodec?1() +QtCore.QTextCodec.__init__?1(self) +QtCore.QTextCodec.codecForName?4(QByteArray) -> QTextCodec +QtCore.QTextCodec.codecForName?4(str) -> QTextCodec +QtCore.QTextCodec.codecForMib?4(int) -> QTextCodec +QtCore.QTextCodec.codecForHtml?4(QByteArray) -> QTextCodec +QtCore.QTextCodec.codecForHtml?4(QByteArray, QTextCodec) -> QTextCodec +QtCore.QTextCodec.codecForUtfText?4(QByteArray) -> QTextCodec +QtCore.QTextCodec.codecForUtfText?4(QByteArray, QTextCodec) -> QTextCodec +QtCore.QTextCodec.availableCodecs?4() -> unknown-type +QtCore.QTextCodec.availableMibs?4() -> unknown-type +QtCore.QTextCodec.codecForLocale?4() -> QTextCodec +QtCore.QTextCodec.setCodecForLocale?4(QTextCodec) +QtCore.QTextCodec.makeDecoder?4(QTextCodec.ConversionFlags flags=QTextCodec.DefaultConversion) -> QTextDecoder +QtCore.QTextCodec.makeEncoder?4(QTextCodec.ConversionFlags flags=QTextCodec.DefaultConversion) -> QTextEncoder +QtCore.QTextCodec.canEncode?4(QString) -> bool +QtCore.QTextCodec.toUnicode?4(QByteArray) -> QString +QtCore.QTextCodec.toUnicode?4(str) -> QString +QtCore.QTextCodec.fromUnicode?4(QString) -> QByteArray +QtCore.QTextCodec.toUnicode?4(bytes, QTextCodec.ConverterState state=None) -> QString +QtCore.QTextCodec.name?4() -> QByteArray +QtCore.QTextCodec.aliases?4() -> unknown-type +QtCore.QTextCodec.mibEnum?4() -> int +QtCore.QTextCodec.convertToUnicode?4(bytes, QTextCodec.ConverterState) -> QString +QtCore.QTextCodec.convertFromUnicode?4(QChar, QTextCodec.ConverterState) -> QByteArray +QtCore.QTextCodec.ConversionFlags?1() +QtCore.QTextCodec.ConversionFlags.__init__?1(self) +QtCore.QTextCodec.ConversionFlags?1(int) +QtCore.QTextCodec.ConversionFlags.__init__?1(self, int) +QtCore.QTextCodec.ConversionFlags?1(QTextCodec.ConversionFlags) +QtCore.QTextCodec.ConversionFlags.__init__?1(self, QTextCodec.ConversionFlags) +QtCore.QTextCodec.ConverterState?1(QTextCodec.ConversionFlags flags=QTextCodec.DefaultConversion) +QtCore.QTextCodec.ConverterState.__init__?1(self, QTextCodec.ConversionFlags flags=QTextCodec.DefaultConversion) +QtCore.QTextEncoder?1(QTextCodec) +QtCore.QTextEncoder.__init__?1(self, QTextCodec) +QtCore.QTextEncoder?1(QTextCodec, QTextCodec.ConversionFlags) +QtCore.QTextEncoder.__init__?1(self, QTextCodec, QTextCodec.ConversionFlags) +QtCore.QTextEncoder.fromUnicode?4(QString) -> QByteArray +QtCore.QTextDecoder?1(QTextCodec) +QtCore.QTextDecoder.__init__?1(self, QTextCodec) +QtCore.QTextDecoder?1(QTextCodec, QTextCodec.ConversionFlags) +QtCore.QTextDecoder.__init__?1(self, QTextCodec, QTextCodec.ConversionFlags) +QtCore.QTextDecoder.toUnicode?4(bytes) -> QString +QtCore.QTextDecoder.toUnicode?4(QByteArray) -> QString +QtCore.QTextStream.Status?10 +QtCore.QTextStream.Status.Ok?10 +QtCore.QTextStream.Status.ReadPastEnd?10 +QtCore.QTextStream.Status.ReadCorruptData?10 +QtCore.QTextStream.Status.WriteFailed?10 +QtCore.QTextStream.NumberFlag?10 +QtCore.QTextStream.NumberFlag.ShowBase?10 +QtCore.QTextStream.NumberFlag.ForcePoint?10 +QtCore.QTextStream.NumberFlag.ForceSign?10 +QtCore.QTextStream.NumberFlag.UppercaseBase?10 +QtCore.QTextStream.NumberFlag.UppercaseDigits?10 +QtCore.QTextStream.FieldAlignment?10 +QtCore.QTextStream.FieldAlignment.AlignLeft?10 +QtCore.QTextStream.FieldAlignment.AlignRight?10 +QtCore.QTextStream.FieldAlignment.AlignCenter?10 +QtCore.QTextStream.FieldAlignment.AlignAccountingStyle?10 +QtCore.QTextStream.RealNumberNotation?10 +QtCore.QTextStream.RealNumberNotation.SmartNotation?10 +QtCore.QTextStream.RealNumberNotation.FixedNotation?10 +QtCore.QTextStream.RealNumberNotation.ScientificNotation?10 +QtCore.QTextStream?1() +QtCore.QTextStream.__init__?1(self) +QtCore.QTextStream?1(QIODevice) +QtCore.QTextStream.__init__?1(self, QIODevice) +QtCore.QTextStream?1(QByteArray, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtCore.QTextStream.__init__?1(self, QByteArray, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtCore.QTextStream.setCodec?4(QTextCodec) +QtCore.QTextStream.setCodec?4(str) +QtCore.QTextStream.codec?4() -> QTextCodec +QtCore.QTextStream.setAutoDetectUnicode?4(bool) +QtCore.QTextStream.autoDetectUnicode?4() -> bool +QtCore.QTextStream.setGenerateByteOrderMark?4(bool) +QtCore.QTextStream.generateByteOrderMark?4() -> bool +QtCore.QTextStream.setDevice?4(QIODevice) +QtCore.QTextStream.device?4() -> QIODevice +QtCore.QTextStream.atEnd?4() -> bool +QtCore.QTextStream.reset?4() +QtCore.QTextStream.flush?4() +QtCore.QTextStream.seek?4(int) -> bool +QtCore.QTextStream.skipWhiteSpace?4() +QtCore.QTextStream.read?4(int) -> QString +QtCore.QTextStream.readLine?4(int maxLength=0) -> QString +QtCore.QTextStream.readAll?4() -> QString +QtCore.QTextStream.setFieldAlignment?4(QTextStream.FieldAlignment) +QtCore.QTextStream.fieldAlignment?4() -> QTextStream.FieldAlignment +QtCore.QTextStream.setPadChar?4(QChar) +QtCore.QTextStream.padChar?4() -> QChar +QtCore.QTextStream.setFieldWidth?4(int) +QtCore.QTextStream.fieldWidth?4() -> int +QtCore.QTextStream.setNumberFlags?4(QTextStream.NumberFlags) +QtCore.QTextStream.numberFlags?4() -> QTextStream.NumberFlags +QtCore.QTextStream.setIntegerBase?4(int) +QtCore.QTextStream.integerBase?4() -> int +QtCore.QTextStream.setRealNumberNotation?4(QTextStream.RealNumberNotation) +QtCore.QTextStream.realNumberNotation?4() -> QTextStream.RealNumberNotation +QtCore.QTextStream.setRealNumberPrecision?4(int) +QtCore.QTextStream.realNumberPrecision?4() -> int +QtCore.QTextStream.status?4() -> QTextStream.Status +QtCore.QTextStream.setStatus?4(QTextStream.Status) +QtCore.QTextStream.resetStatus?4() +QtCore.QTextStream.pos?4() -> int +QtCore.QTextStream.setLocale?4(QLocale) +QtCore.QTextStream.locale?4() -> QLocale +QtCore.QTextStream.NumberFlags?1() +QtCore.QTextStream.NumberFlags.__init__?1(self) +QtCore.QTextStream.NumberFlags?1(int) +QtCore.QTextStream.NumberFlags.__init__?1(self, int) +QtCore.QTextStream.NumberFlags?1(QTextStream.NumberFlags) +QtCore.QTextStream.NumberFlags.__init__?1(self, QTextStream.NumberFlags) +QtCore.QThread.Priority?10 +QtCore.QThread.Priority.IdlePriority?10 +QtCore.QThread.Priority.LowestPriority?10 +QtCore.QThread.Priority.LowPriority?10 +QtCore.QThread.Priority.NormalPriority?10 +QtCore.QThread.Priority.HighPriority?10 +QtCore.QThread.Priority.HighestPriority?10 +QtCore.QThread.Priority.TimeCriticalPriority?10 +QtCore.QThread.Priority.InheritPriority?10 +QtCore.QThread?1(QObject parent=None) +QtCore.QThread.__init__?1(self, QObject parent=None) +QtCore.QThread.currentThread?4() -> QThread +QtCore.QThread.currentThreadId?4() -> sip.voidptr +QtCore.QThread.idealThreadCount?4() -> int +QtCore.QThread.yieldCurrentThread?4() +QtCore.QThread.isFinished?4() -> bool +QtCore.QThread.isRunning?4() -> bool +QtCore.QThread.setPriority?4(QThread.Priority) +QtCore.QThread.priority?4() -> QThread.Priority +QtCore.QThread.setStackSize?4(int) +QtCore.QThread.stackSize?4() -> int +QtCore.QThread.exit?4(int returnCode=0) +QtCore.QThread.start?4(QThread.Priority priority=QThread.InheritPriority) +QtCore.QThread.terminate?4() +QtCore.QThread.quit?4() +QtCore.QThread.wait?4(int msecs=ULONG_MAX) -> bool +QtCore.QThread.wait?4(QDeadlineTimer) -> bool +QtCore.QThread.started?4() +QtCore.QThread.finished?4() +QtCore.QThread.run?4() +QtCore.QThread.exec_?4() -> int +QtCore.QThread.exec?4() -> int +QtCore.QThread.setTerminationEnabled?4(bool enabled=True) +QtCore.QThread.event?4(QEvent) -> bool +QtCore.QThread.sleep?4(int) +QtCore.QThread.msleep?4(int) +QtCore.QThread.usleep?4(int) +QtCore.QThread.eventDispatcher?4() -> QAbstractEventDispatcher +QtCore.QThread.setEventDispatcher?4(QAbstractEventDispatcher) +QtCore.QThread.requestInterruption?4() +QtCore.QThread.isInterruptionRequested?4() -> bool +QtCore.QThread.loopLevel?4() -> int +QtCore.QThreadPool?1(QObject parent=None) +QtCore.QThreadPool.__init__?1(self, QObject parent=None) +QtCore.QThreadPool.globalInstance?4() -> QThreadPool +QtCore.QThreadPool.start?4(QRunnable, int priority=0) +QtCore.QThreadPool.start?4(callable, int priority=0) +QtCore.QThreadPool.tryStart?4(QRunnable) -> bool +QtCore.QThreadPool.tryStart?4(callable) -> bool +QtCore.QThreadPool.tryTake?4(QRunnable) -> bool +QtCore.QThreadPool.expiryTimeout?4() -> int +QtCore.QThreadPool.setExpiryTimeout?4(int) +QtCore.QThreadPool.maxThreadCount?4() -> int +QtCore.QThreadPool.setMaxThreadCount?4(int) +QtCore.QThreadPool.activeThreadCount?4() -> int +QtCore.QThreadPool.reserveThread?4() +QtCore.QThreadPool.releaseThread?4() +QtCore.QThreadPool.waitForDone?4(int msecs=-1) -> bool +QtCore.QThreadPool.clear?4() +QtCore.QThreadPool.cancel?4(QRunnable) +QtCore.QThreadPool.setStackSize?4(int) +QtCore.QThreadPool.stackSize?4() -> int +QtCore.QTimeLine.State?10 +QtCore.QTimeLine.State.NotRunning?10 +QtCore.QTimeLine.State.Paused?10 +QtCore.QTimeLine.State.Running?10 +QtCore.QTimeLine.Direction?10 +QtCore.QTimeLine.Direction.Forward?10 +QtCore.QTimeLine.Direction.Backward?10 +QtCore.QTimeLine.CurveShape?10 +QtCore.QTimeLine.CurveShape.EaseInCurve?10 +QtCore.QTimeLine.CurveShape.EaseOutCurve?10 +QtCore.QTimeLine.CurveShape.EaseInOutCurve?10 +QtCore.QTimeLine.CurveShape.LinearCurve?10 +QtCore.QTimeLine.CurveShape.SineCurve?10 +QtCore.QTimeLine.CurveShape.CosineCurve?10 +QtCore.QTimeLine?1(int duration=1000, QObject parent=None) +QtCore.QTimeLine.__init__?1(self, int duration=1000, QObject parent=None) +QtCore.QTimeLine.state?4() -> QTimeLine.State +QtCore.QTimeLine.loopCount?4() -> int +QtCore.QTimeLine.setLoopCount?4(int) +QtCore.QTimeLine.direction?4() -> QTimeLine.Direction +QtCore.QTimeLine.setDirection?4(QTimeLine.Direction) +QtCore.QTimeLine.duration?4() -> int +QtCore.QTimeLine.setDuration?4(int) +QtCore.QTimeLine.startFrame?4() -> int +QtCore.QTimeLine.setStartFrame?4(int) +QtCore.QTimeLine.endFrame?4() -> int +QtCore.QTimeLine.setEndFrame?4(int) +QtCore.QTimeLine.setFrameRange?4(int, int) +QtCore.QTimeLine.updateInterval?4() -> int +QtCore.QTimeLine.setUpdateInterval?4(int) +QtCore.QTimeLine.curveShape?4() -> QTimeLine.CurveShape +QtCore.QTimeLine.setCurveShape?4(QTimeLine.CurveShape) +QtCore.QTimeLine.currentTime?4() -> int +QtCore.QTimeLine.currentFrame?4() -> int +QtCore.QTimeLine.currentValue?4() -> float +QtCore.QTimeLine.frameForTime?4(int) -> int +QtCore.QTimeLine.valueForTime?4(int) -> float +QtCore.QTimeLine.resume?4() +QtCore.QTimeLine.setCurrentTime?4(int) +QtCore.QTimeLine.setPaused?4(bool) +QtCore.QTimeLine.start?4() +QtCore.QTimeLine.stop?4() +QtCore.QTimeLine.toggleDirection?4() +QtCore.QTimeLine.finished?4() +QtCore.QTimeLine.frameChanged?4(int) +QtCore.QTimeLine.stateChanged?4(QTimeLine.State) +QtCore.QTimeLine.valueChanged?4(float) +QtCore.QTimeLine.timerEvent?4(QTimerEvent) +QtCore.QTimeLine.easingCurve?4() -> QEasingCurve +QtCore.QTimeLine.setEasingCurve?4(QEasingCurve) +QtCore.QTimer?1(QObject parent=None) +QtCore.QTimer.__init__?1(self, QObject parent=None) +QtCore.QTimer.isActive?4() -> bool +QtCore.QTimer.timerId?4() -> int +QtCore.QTimer.setInterval?4(int) +QtCore.QTimer.interval?4() -> int +QtCore.QTimer.isSingleShot?4() -> bool +QtCore.QTimer.setSingleShot?4(bool) +QtCore.QTimer.singleShot?4(int, object) +QtCore.QTimer.singleShot?4(int, Qt.TimerType, object) +QtCore.QTimer.start?4(int) +QtCore.QTimer.start?4() +QtCore.QTimer.stop?4() +QtCore.QTimer.timeout?4() +QtCore.QTimer.timerEvent?4(QTimerEvent) +QtCore.QTimer.setTimerType?4(Qt.TimerType) +QtCore.QTimer.timerType?4() -> Qt.TimerType +QtCore.QTimer.remainingTime?4() -> int +QtCore.QTimeZone.NameType?10 +QtCore.QTimeZone.NameType.DefaultName?10 +QtCore.QTimeZone.NameType.LongName?10 +QtCore.QTimeZone.NameType.ShortName?10 +QtCore.QTimeZone.NameType.OffsetName?10 +QtCore.QTimeZone.TimeType?10 +QtCore.QTimeZone.TimeType.StandardTime?10 +QtCore.QTimeZone.TimeType.DaylightTime?10 +QtCore.QTimeZone.TimeType.GenericTime?10 +QtCore.QTimeZone?1() +QtCore.QTimeZone.__init__?1(self) +QtCore.QTimeZone?1(QByteArray) +QtCore.QTimeZone.__init__?1(self, QByteArray) +QtCore.QTimeZone?1(int) +QtCore.QTimeZone.__init__?1(self, int) +QtCore.QTimeZone?1(QByteArray, int, QString, QString, QLocale.Country country=QLocale.AnyCountry, QString comment='') +QtCore.QTimeZone.__init__?1(self, QByteArray, int, QString, QString, QLocale.Country country=QLocale.AnyCountry, QString comment='') +QtCore.QTimeZone?1(QTimeZone) +QtCore.QTimeZone.__init__?1(self, QTimeZone) +QtCore.QTimeZone.swap?4(QTimeZone) +QtCore.QTimeZone.isValid?4() -> bool +QtCore.QTimeZone.id?4() -> QByteArray +QtCore.QTimeZone.country?4() -> QLocale.Country +QtCore.QTimeZone.comment?4() -> QString +QtCore.QTimeZone.displayName?4(QDateTime, QTimeZone.NameType nameType=QTimeZone.DefaultName, QLocale locale=QLocale()) -> QString +QtCore.QTimeZone.displayName?4(QTimeZone.TimeType, QTimeZone.NameType nameType=QTimeZone.DefaultName, QLocale locale=QLocale()) -> QString +QtCore.QTimeZone.abbreviation?4(QDateTime) -> QString +QtCore.QTimeZone.offsetFromUtc?4(QDateTime) -> int +QtCore.QTimeZone.standardTimeOffset?4(QDateTime) -> int +QtCore.QTimeZone.daylightTimeOffset?4(QDateTime) -> int +QtCore.QTimeZone.hasDaylightTime?4() -> bool +QtCore.QTimeZone.isDaylightTime?4(QDateTime) -> bool +QtCore.QTimeZone.offsetData?4(QDateTime) -> QTimeZone.OffsetData +QtCore.QTimeZone.hasTransitions?4() -> bool +QtCore.QTimeZone.nextTransition?4(QDateTime) -> QTimeZone.OffsetData +QtCore.QTimeZone.previousTransition?4(QDateTime) -> QTimeZone.OffsetData +QtCore.QTimeZone.transitions?4(QDateTime, QDateTime) -> unknown-type +QtCore.QTimeZone.systemTimeZoneId?4() -> QByteArray +QtCore.QTimeZone.isTimeZoneIdAvailable?4(QByteArray) -> bool +QtCore.QTimeZone.availableTimeZoneIds?4() -> unknown-type +QtCore.QTimeZone.availableTimeZoneIds?4(QLocale.Country) -> unknown-type +QtCore.QTimeZone.availableTimeZoneIds?4(int) -> unknown-type +QtCore.QTimeZone.ianaIdToWindowsId?4(QByteArray) -> QByteArray +QtCore.QTimeZone.windowsIdToDefaultIanaId?4(QByteArray) -> QByteArray +QtCore.QTimeZone.windowsIdToDefaultIanaId?4(QByteArray, QLocale.Country) -> QByteArray +QtCore.QTimeZone.windowsIdToIanaIds?4(QByteArray) -> unknown-type +QtCore.QTimeZone.windowsIdToIanaIds?4(QByteArray, QLocale.Country) -> unknown-type +QtCore.QTimeZone.systemTimeZone?4() -> QTimeZone +QtCore.QTimeZone.utc?4() -> QTimeZone +QtCore.QTimeZone.OffsetData.abbreviation?7 +QtCore.QTimeZone.OffsetData.atUtc?7 +QtCore.QTimeZone.OffsetData.daylightTimeOffset?7 +QtCore.QTimeZone.OffsetData.offsetFromUtc?7 +QtCore.QTimeZone.OffsetData.standardTimeOffset?7 +QtCore.QTimeZone.OffsetData?1() +QtCore.QTimeZone.OffsetData.__init__?1(self) +QtCore.QTimeZone.OffsetData?1(QTimeZone.OffsetData) +QtCore.QTimeZone.OffsetData.__init__?1(self, QTimeZone.OffsetData) +QtCore.QTranslator?1(QObject parent=None) +QtCore.QTranslator.__init__?1(self, QObject parent=None) +QtCore.QTranslator.translate?4(str, str, str disambiguation=None, int n=-1) -> QString +QtCore.QTranslator.isEmpty?4() -> bool +QtCore.QTranslator.load?4(QString, QString directory='', QString searchDelimiters='', QString suffix='') -> bool +QtCore.QTranslator.load?4(QLocale, QString, QString prefix='', QString directory='', QString suffix='') -> bool +QtCore.QTranslator.loadFromData?4(bytes, QString directory='') -> bool +QtCore.QTranslator.language?4() -> QString +QtCore.QTranslator.filePath?4() -> QString +QtCore.QTransposeProxyModel?1(QObject parent=None) +QtCore.QTransposeProxyModel.__init__?1(self, QObject parent=None) +QtCore.QTransposeProxyModel.setSourceModel?4(QAbstractItemModel) +QtCore.QTransposeProxyModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QTransposeProxyModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtCore.QTransposeProxyModel.headerData?4(int, Qt.Orientation, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtCore.QTransposeProxyModel.setHeaderData?4(int, Qt.Orientation, QVariant, int role=Qt.ItemDataRole.EditRole) -> bool +QtCore.QTransposeProxyModel.setItemData?4(QModelIndex, unknown-type) -> bool +QtCore.QTransposeProxyModel.span?4(QModelIndex) -> QSize +QtCore.QTransposeProxyModel.itemData?4(QModelIndex) -> unknown-type +QtCore.QTransposeProxyModel.mapFromSource?4(QModelIndex) -> QModelIndex +QtCore.QTransposeProxyModel.mapToSource?4(QModelIndex) -> QModelIndex +QtCore.QTransposeProxyModel.parent?4(QModelIndex) -> QModelIndex +QtCore.QTransposeProxyModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtCore.QTransposeProxyModel.insertRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QTransposeProxyModel.removeRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QTransposeProxyModel.moveRows?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QTransposeProxyModel.insertColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QTransposeProxyModel.removeColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtCore.QTransposeProxyModel.moveColumns?4(QModelIndex, int, int, QModelIndex, int) -> bool +QtCore.QTransposeProxyModel.sort?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtCore.QUrl.UserInputResolutionOption?10 +QtCore.QUrl.UserInputResolutionOption.DefaultResolution?10 +QtCore.QUrl.UserInputResolutionOption.AssumeLocalFile?10 +QtCore.QUrl.ComponentFormattingOption?10 +QtCore.QUrl.ComponentFormattingOption.PrettyDecoded?10 +QtCore.QUrl.ComponentFormattingOption.EncodeSpaces?10 +QtCore.QUrl.ComponentFormattingOption.EncodeUnicode?10 +QtCore.QUrl.ComponentFormattingOption.EncodeDelimiters?10 +QtCore.QUrl.ComponentFormattingOption.EncodeReserved?10 +QtCore.QUrl.ComponentFormattingOption.DecodeReserved?10 +QtCore.QUrl.ComponentFormattingOption.FullyEncoded?10 +QtCore.QUrl.ComponentFormattingOption.FullyDecoded?10 +QtCore.QUrl.UrlFormattingOption?10 +QtCore.QUrl.UrlFormattingOption.None_?10 +QtCore.QUrl.UrlFormattingOption.RemoveScheme?10 +QtCore.QUrl.UrlFormattingOption.RemovePassword?10 +QtCore.QUrl.UrlFormattingOption.RemoveUserInfo?10 +QtCore.QUrl.UrlFormattingOption.RemovePort?10 +QtCore.QUrl.UrlFormattingOption.RemoveAuthority?10 +QtCore.QUrl.UrlFormattingOption.RemovePath?10 +QtCore.QUrl.UrlFormattingOption.RemoveQuery?10 +QtCore.QUrl.UrlFormattingOption.RemoveFragment?10 +QtCore.QUrl.UrlFormattingOption.PreferLocalFile?10 +QtCore.QUrl.UrlFormattingOption.StripTrailingSlash?10 +QtCore.QUrl.UrlFormattingOption.RemoveFilename?10 +QtCore.QUrl.UrlFormattingOption.NormalizePathSegments?10 +QtCore.QUrl.ParsingMode?10 +QtCore.QUrl.ParsingMode.TolerantMode?10 +QtCore.QUrl.ParsingMode.StrictMode?10 +QtCore.QUrl.ParsingMode.DecodedMode?10 +QtCore.QUrl?1() +QtCore.QUrl.__init__?1(self) +QtCore.QUrl?1(QString, QUrl.ParsingMode mode=QUrl.TolerantMode) +QtCore.QUrl.__init__?1(self, QString, QUrl.ParsingMode mode=QUrl.TolerantMode) +QtCore.QUrl?1(QUrl) +QtCore.QUrl.__init__?1(self, QUrl) +QtCore.QUrl.url?4(QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrl.setUrl?4(QString, QUrl.ParsingMode mode=QUrl.TolerantMode) +QtCore.QUrl.isValid?4() -> bool +QtCore.QUrl.isEmpty?4() -> bool +QtCore.QUrl.clear?4() +QtCore.QUrl.setScheme?4(QString) +QtCore.QUrl.scheme?4() -> QString +QtCore.QUrl.setAuthority?4(QString, QUrl.ParsingMode mode=QUrl.TolerantMode) +QtCore.QUrl.authority?4(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrl.setUserInfo?4(QString, QUrl.ParsingMode mode=QUrl.TolerantMode) +QtCore.QUrl.userInfo?4(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrl.setUserName?4(QString, QUrl.ParsingMode mode=QUrl.DecodedMode) +QtCore.QUrl.userName?4(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> QString +QtCore.QUrl.setPassword?4(QString, QUrl.ParsingMode mode=QUrl.DecodedMode) +QtCore.QUrl.password?4(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> QString +QtCore.QUrl.setHost?4(QString, QUrl.ParsingMode mode=QUrl.DecodedMode) +QtCore.QUrl.host?4(QUrl.ComponentFormattingOptions=QUrl.FullyDecoded) -> QString +QtCore.QUrl.setPort?4(int) +QtCore.QUrl.port?4(int defaultPort=-1) -> int +QtCore.QUrl.setPath?4(QString, QUrl.ParsingMode mode=QUrl.DecodedMode) +QtCore.QUrl.path?4(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> QString +QtCore.QUrl.setFragment?4(QString, QUrl.ParsingMode mode=QUrl.TolerantMode) +QtCore.QUrl.fragment?4(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrl.resolved?4(QUrl) -> QUrl +QtCore.QUrl.isRelative?4() -> bool +QtCore.QUrl.isParentOf?4(QUrl) -> bool +QtCore.QUrl.fromLocalFile?4(QString) -> QUrl +QtCore.QUrl.toLocalFile?4() -> QString +QtCore.QUrl.toString?4(QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrl.toEncoded?4(QUrl.FormattingOptions options=QUrl.FullyEncoded) -> QByteArray +QtCore.QUrl.fromEncoded?4(QByteArray, QUrl.ParsingMode mode=QUrl.TolerantMode) -> QUrl +QtCore.QUrl.detach?4() +QtCore.QUrl.isDetached?4() -> bool +QtCore.QUrl.fromPercentEncoding?4(QByteArray) -> QString +QtCore.QUrl.toPercentEncoding?4(QString, QByteArray exclude=QByteArray(), QByteArray include=QByteArray()) -> QByteArray +QtCore.QUrl.hasQuery?4() -> bool +QtCore.QUrl.hasFragment?4() -> bool +QtCore.QUrl.errorString?4() -> QString +QtCore.QUrl.fromAce?4(QByteArray) -> QString +QtCore.QUrl.toAce?4(QString) -> QByteArray +QtCore.QUrl.idnWhitelist?4() -> QStringList +QtCore.QUrl.setIdnWhitelist?4(QStringList) +QtCore.QUrl.fromUserInput?4(QString) -> QUrl +QtCore.QUrl.swap?4(QUrl) +QtCore.QUrl.topLevelDomain?4(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> QString +QtCore.QUrl.isLocalFile?4() -> bool +QtCore.QUrl.toDisplayString?4(QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrl.setQuery?4(QString, QUrl.ParsingMode mode=QUrl.TolerantMode) +QtCore.QUrl.setQuery?4(QUrlQuery) +QtCore.QUrl.query?4(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrl.toStringList?4(unknown-type, QUrl.FormattingOptions options=QUrl.PrettyDecoded) -> QStringList +QtCore.QUrl.fromStringList?4(QStringList, QUrl.ParsingMode mode=QUrl.TolerantMode) -> unknown-type +QtCore.QUrl.adjusted?4(QUrl.FormattingOptions) -> QUrl +QtCore.QUrl.fileName?4(QUrl.ComponentFormattingOptions options=QUrl.FullyDecoded) -> QString +QtCore.QUrl.matches?4(QUrl, QUrl.FormattingOptions) -> bool +QtCore.QUrl.fromUserInput?4(QString, QString, QUrl.UserInputResolutionOptions options=QUrl.DefaultResolution) -> QUrl +QtCore.QUrl.FormattingOptions?1(QUrl.FormattingOptions) +QtCore.QUrl.FormattingOptions.__init__?1(self, QUrl.FormattingOptions) +QtCore.QUrl.ComponentFormattingOptions?1() +QtCore.QUrl.ComponentFormattingOptions.__init__?1(self) +QtCore.QUrl.ComponentFormattingOptions?1(int) +QtCore.QUrl.ComponentFormattingOptions.__init__?1(self, int) +QtCore.QUrl.ComponentFormattingOptions?1(QUrl.ComponentFormattingOptions) +QtCore.QUrl.ComponentFormattingOptions.__init__?1(self, QUrl.ComponentFormattingOptions) +QtCore.QUrl.UserInputResolutionOptions?1() +QtCore.QUrl.UserInputResolutionOptions.__init__?1(self) +QtCore.QUrl.UserInputResolutionOptions?1(int) +QtCore.QUrl.UserInputResolutionOptions.__init__?1(self, int) +QtCore.QUrl.UserInputResolutionOptions?1(QUrl.UserInputResolutionOptions) +QtCore.QUrl.UserInputResolutionOptions.__init__?1(self, QUrl.UserInputResolutionOptions) +QtCore.QUrlQuery?1() +QtCore.QUrlQuery.__init__?1(self) +QtCore.QUrlQuery?1(QUrl) +QtCore.QUrlQuery.__init__?1(self, QUrl) +QtCore.QUrlQuery?1(QString) +QtCore.QUrlQuery.__init__?1(self, QString) +QtCore.QUrlQuery?1(QUrlQuery) +QtCore.QUrlQuery.__init__?1(self, QUrlQuery) +QtCore.QUrlQuery.swap?4(QUrlQuery) +QtCore.QUrlQuery.isEmpty?4() -> bool +QtCore.QUrlQuery.isDetached?4() -> bool +QtCore.QUrlQuery.clear?4() +QtCore.QUrlQuery.query?4(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrlQuery.setQuery?4(QString) +QtCore.QUrlQuery.toString?4(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrlQuery.setQueryDelimiters?4(QChar, QChar) +QtCore.QUrlQuery.queryValueDelimiter?4() -> QChar +QtCore.QUrlQuery.queryPairDelimiter?4() -> QChar +QtCore.QUrlQuery.setQueryItems?4(unknown-type) +QtCore.QUrlQuery.queryItems?4(QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> unknown-type +QtCore.QUrlQuery.hasQueryItem?4(QString) -> bool +QtCore.QUrlQuery.addQueryItem?4(QString, QString) +QtCore.QUrlQuery.removeQueryItem?4(QString) +QtCore.QUrlQuery.queryItemValue?4(QString, QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> QString +QtCore.QUrlQuery.allQueryItemValues?4(QString, QUrl.ComponentFormattingOptions options=QUrl.PrettyDecoded) -> QStringList +QtCore.QUrlQuery.removeAllQueryItems?4(QString) +QtCore.QUrlQuery.defaultQueryValueDelimiter?4() -> QChar +QtCore.QUrlQuery.defaultQueryPairDelimiter?4() -> QChar +QtCore.QUuid.StringFormat?10 +QtCore.QUuid.StringFormat.WithBraces?10 +QtCore.QUuid.StringFormat.WithoutBraces?10 +QtCore.QUuid.StringFormat.Id128?10 +QtCore.QUuid.Version?10 +QtCore.QUuid.Version.VerUnknown?10 +QtCore.QUuid.Version.Time?10 +QtCore.QUuid.Version.EmbeddedPOSIX?10 +QtCore.QUuid.Version.Md5?10 +QtCore.QUuid.Version.Name?10 +QtCore.QUuid.Version.Random?10 +QtCore.QUuid.Version.Sha1?10 +QtCore.QUuid.Variant?10 +QtCore.QUuid.Variant.VarUnknown?10 +QtCore.QUuid.Variant.NCS?10 +QtCore.QUuid.Variant.DCE?10 +QtCore.QUuid.Variant.Microsoft?10 +QtCore.QUuid.Variant.Reserved?10 +QtCore.QUuid?1() +QtCore.QUuid.__init__?1(self) +QtCore.QUuid?1(int, int, int, int, int, int, int, int, int, int, int) +QtCore.QUuid.__init__?1(self, int, int, int, int, int, int, int, int, int, int, int) +QtCore.QUuid?1(QString) +QtCore.QUuid.__init__?1(self, QString) +QtCore.QUuid?1(QByteArray) +QtCore.QUuid.__init__?1(self, QByteArray) +QtCore.QUuid?1(QUuid) +QtCore.QUuid.__init__?1(self, QUuid) +QtCore.QUuid.toString?4() -> QString +QtCore.QUuid.toString?4(QUuid.StringFormat) -> QString +QtCore.QUuid.isNull?4() -> bool +QtCore.QUuid.createUuid?4() -> QUuid +QtCore.QUuid.createUuidV3?4(QUuid, QByteArray) -> QUuid +QtCore.QUuid.createUuidV5?4(QUuid, QByteArray) -> QUuid +QtCore.QUuid.createUuidV3?4(QUuid, QString) -> QUuid +QtCore.QUuid.createUuidV5?4(QUuid, QString) -> QUuid +QtCore.QUuid.variant?4() -> QUuid.Variant +QtCore.QUuid.version?4() -> QUuid.Version +QtCore.QUuid.toByteArray?4() -> QByteArray +QtCore.QUuid.toByteArray?4(QUuid.StringFormat) -> QByteArray +QtCore.QUuid.toRfc4122?4() -> QByteArray +QtCore.QUuid.fromRfc4122?4(QByteArray) -> QUuid +QtCore.QVariant.Type?10 +QtCore.QVariant.Type.Invalid?10 +QtCore.QVariant.Type.Bool?10 +QtCore.QVariant.Type.Int?10 +QtCore.QVariant.Type.UInt?10 +QtCore.QVariant.Type.LongLong?10 +QtCore.QVariant.Type.ULongLong?10 +QtCore.QVariant.Type.Double?10 +QtCore.QVariant.Type.Char?10 +QtCore.QVariant.Type.Map?10 +QtCore.QVariant.Type.List?10 +QtCore.QVariant.Type.String?10 +QtCore.QVariant.Type.StringList?10 +QtCore.QVariant.Type.ByteArray?10 +QtCore.QVariant.Type.BitArray?10 +QtCore.QVariant.Type.Date?10 +QtCore.QVariant.Type.Time?10 +QtCore.QVariant.Type.DateTime?10 +QtCore.QVariant.Type.Url?10 +QtCore.QVariant.Type.Locale?10 +QtCore.QVariant.Type.Rect?10 +QtCore.QVariant.Type.RectF?10 +QtCore.QVariant.Type.Size?10 +QtCore.QVariant.Type.SizeF?10 +QtCore.QVariant.Type.Line?10 +QtCore.QVariant.Type.LineF?10 +QtCore.QVariant.Type.Point?10 +QtCore.QVariant.Type.PointF?10 +QtCore.QVariant.Type.RegExp?10 +QtCore.QVariant.Type.Font?10 +QtCore.QVariant.Type.Pixmap?10 +QtCore.QVariant.Type.Brush?10 +QtCore.QVariant.Type.Color?10 +QtCore.QVariant.Type.Palette?10 +QtCore.QVariant.Type.Icon?10 +QtCore.QVariant.Type.Image?10 +QtCore.QVariant.Type.Polygon?10 +QtCore.QVariant.Type.Region?10 +QtCore.QVariant.Type.Bitmap?10 +QtCore.QVariant.Type.Cursor?10 +QtCore.QVariant.Type.SizePolicy?10 +QtCore.QVariant.Type.KeySequence?10 +QtCore.QVariant.Type.Pen?10 +QtCore.QVariant.Type.TextLength?10 +QtCore.QVariant.Type.TextFormat?10 +QtCore.QVariant.Type.Matrix?10 +QtCore.QVariant.Type.Transform?10 +QtCore.QVariant.Type.Hash?10 +QtCore.QVariant.Type.Matrix4x4?10 +QtCore.QVariant.Type.Vector2D?10 +QtCore.QVariant.Type.Vector3D?10 +QtCore.QVariant.Type.Vector4D?10 +QtCore.QVariant.Type.Quaternion?10 +QtCore.QVariant.Type.EasingCurve?10 +QtCore.QVariant.Type.Uuid?10 +QtCore.QVariant.Type.ModelIndex?10 +QtCore.QVariant.Type.PolygonF?10 +QtCore.QVariant.Type.RegularExpression?10 +QtCore.QVariant.Type.PersistentModelIndex?10 +QtCore.QVariant.Type.UserType?10 +QtCore.QVariant?1() +QtCore.QVariant.__init__?1(self) +QtCore.QVariant?1(QVariant.Type) +QtCore.QVariant.__init__?1(self, QVariant.Type) +QtCore.QVariant?1(object) +QtCore.QVariant.__init__?1(self, object) +QtCore.QVariant?1(QVariant) +QtCore.QVariant.__init__?1(self, QVariant) +QtCore.QVariant.value?4() -> object +QtCore.QVariant.type?4() -> QVariant.Type +QtCore.QVariant.userType?4() -> int +QtCore.QVariant.typeName?4() -> str +QtCore.QVariant.canConvert?4(int) -> bool +QtCore.QVariant.convert?4(int) -> bool +QtCore.QVariant.isValid?4() -> bool +QtCore.QVariant.isNull?4() -> bool +QtCore.QVariant.clear?4() +QtCore.QVariant.load?4(QDataStream) +QtCore.QVariant.save?4(QDataStream) +QtCore.QVariant.typeToName?4(int) -> str +QtCore.QVariant.nameToType?4(str) -> QVariant.Type +QtCore.QVariant.swap?4(QVariant) +QtCore.QVersionNumber?1() +QtCore.QVersionNumber.__init__?1(self) +QtCore.QVersionNumber?1(unknown-type) +QtCore.QVersionNumber.__init__?1(self, unknown-type) +QtCore.QVersionNumber?1(int) +QtCore.QVersionNumber.__init__?1(self, int) +QtCore.QVersionNumber?1(int, int) +QtCore.QVersionNumber.__init__?1(self, int, int) +QtCore.QVersionNumber?1(int, int, int) +QtCore.QVersionNumber.__init__?1(self, int, int, int) +QtCore.QVersionNumber?1(QVersionNumber) +QtCore.QVersionNumber.__init__?1(self, QVersionNumber) +QtCore.QVersionNumber.isNull?4() -> bool +QtCore.QVersionNumber.isNormalized?4() -> bool +QtCore.QVersionNumber.majorVersion?4() -> int +QtCore.QVersionNumber.minorVersion?4() -> int +QtCore.QVersionNumber.microVersion?4() -> int +QtCore.QVersionNumber.normalized?4() -> QVersionNumber +QtCore.QVersionNumber.segments?4() -> unknown-type +QtCore.QVersionNumber.segmentAt?4(int) -> int +QtCore.QVersionNumber.segmentCount?4() -> int +QtCore.QVersionNumber.isPrefixOf?4(QVersionNumber) -> bool +QtCore.QVersionNumber.compare?4(QVersionNumber, QVersionNumber) -> int +QtCore.QVersionNumber.commonPrefix?4(QVersionNumber, QVersionNumber) -> QVersionNumber +QtCore.QVersionNumber.toString?4() -> QString +QtCore.QVersionNumber.fromString?4(QString) -> (QVersionNumber, int) +QtCore.QWaitCondition?1() +QtCore.QWaitCondition.__init__?1(self) +QtCore.QWaitCondition.wait?4(QMutex, int msecs=ULONG_MAX) -> bool +QtCore.QWaitCondition.wait?4(QMutex, QDeadlineTimer) -> bool +QtCore.QWaitCondition.wait?4(QReadWriteLock, int msecs=ULONG_MAX) -> bool +QtCore.QWaitCondition.wait?4(QReadWriteLock, QDeadlineTimer) -> bool +QtCore.QWaitCondition.wakeOne?4() +QtCore.QWaitCondition.wakeAll?4() +QtCore.QXmlStreamAttribute?1() +QtCore.QXmlStreamAttribute.__init__?1(self) +QtCore.QXmlStreamAttribute?1(QString, QString) +QtCore.QXmlStreamAttribute.__init__?1(self, QString, QString) +QtCore.QXmlStreamAttribute?1(QString, QString, QString) +QtCore.QXmlStreamAttribute.__init__?1(self, QString, QString, QString) +QtCore.QXmlStreamAttribute?1(QXmlStreamAttribute) +QtCore.QXmlStreamAttribute.__init__?1(self, QXmlStreamAttribute) +QtCore.QXmlStreamAttribute.namespaceUri?4() -> QStringRef +QtCore.QXmlStreamAttribute.name?4() -> QStringRef +QtCore.QXmlStreamAttribute.qualifiedName?4() -> QStringRef +QtCore.QXmlStreamAttribute.prefix?4() -> QStringRef +QtCore.QXmlStreamAttribute.value?4() -> QStringRef +QtCore.QXmlStreamAttribute.isDefault?4() -> bool +QtCore.QXmlStreamAttributes?1() +QtCore.QXmlStreamAttributes.__init__?1(self) +QtCore.QXmlStreamAttributes?1(QXmlStreamAttributes) +QtCore.QXmlStreamAttributes.__init__?1(self, QXmlStreamAttributes) +QtCore.QXmlStreamAttributes.value?4(QString, QString) -> QStringRef +QtCore.QXmlStreamAttributes.value?4(QString) -> QStringRef +QtCore.QXmlStreamAttributes.append?4(QString, QString, QString) +QtCore.QXmlStreamAttributes.append?4(QString, QString) +QtCore.QXmlStreamAttributes.append?4(QXmlStreamAttribute) +QtCore.QXmlStreamAttributes.hasAttribute?4(QString) -> bool +QtCore.QXmlStreamAttributes.hasAttribute?4(QString, QString) -> bool +QtCore.QXmlStreamAttributes.at?4(int) -> QXmlStreamAttribute +QtCore.QXmlStreamAttributes.clear?4() +QtCore.QXmlStreamAttributes.contains?4(QXmlStreamAttribute) -> bool +QtCore.QXmlStreamAttributes.count?4(QXmlStreamAttribute) -> int +QtCore.QXmlStreamAttributes.count?4() -> int +QtCore.QXmlStreamAttributes.data?4() -> sip.voidptr +QtCore.QXmlStreamAttributes.fill?4(QXmlStreamAttribute, int size=-1) +QtCore.QXmlStreamAttributes.first?4() -> QXmlStreamAttribute +QtCore.QXmlStreamAttributes.indexOf?4(QXmlStreamAttribute, int from=0) -> int +QtCore.QXmlStreamAttributes.insert?4(int, QXmlStreamAttribute) +QtCore.QXmlStreamAttributes.isEmpty?4() -> bool +QtCore.QXmlStreamAttributes.last?4() -> QXmlStreamAttribute +QtCore.QXmlStreamAttributes.lastIndexOf?4(QXmlStreamAttribute, int from=-1) -> int +QtCore.QXmlStreamAttributes.prepend?4(QXmlStreamAttribute) +QtCore.QXmlStreamAttributes.remove?4(int) +QtCore.QXmlStreamAttributes.remove?4(int, int) +QtCore.QXmlStreamAttributes.replace?4(int, QXmlStreamAttribute) +QtCore.QXmlStreamAttributes.size?4() -> int +QtCore.QXmlStreamNamespaceDeclaration?1() +QtCore.QXmlStreamNamespaceDeclaration.__init__?1(self) +QtCore.QXmlStreamNamespaceDeclaration?1(QXmlStreamNamespaceDeclaration) +QtCore.QXmlStreamNamespaceDeclaration.__init__?1(self, QXmlStreamNamespaceDeclaration) +QtCore.QXmlStreamNamespaceDeclaration?1(QString, QString) +QtCore.QXmlStreamNamespaceDeclaration.__init__?1(self, QString, QString) +QtCore.QXmlStreamNamespaceDeclaration.prefix?4() -> QStringRef +QtCore.QXmlStreamNamespaceDeclaration.namespaceUri?4() -> QStringRef +QtCore.QXmlStreamNotationDeclaration?1() +QtCore.QXmlStreamNotationDeclaration.__init__?1(self) +QtCore.QXmlStreamNotationDeclaration?1(QXmlStreamNotationDeclaration) +QtCore.QXmlStreamNotationDeclaration.__init__?1(self, QXmlStreamNotationDeclaration) +QtCore.QXmlStreamNotationDeclaration.name?4() -> QStringRef +QtCore.QXmlStreamNotationDeclaration.systemId?4() -> QStringRef +QtCore.QXmlStreamNotationDeclaration.publicId?4() -> QStringRef +QtCore.QXmlStreamEntityDeclaration?1() +QtCore.QXmlStreamEntityDeclaration.__init__?1(self) +QtCore.QXmlStreamEntityDeclaration?1(QXmlStreamEntityDeclaration) +QtCore.QXmlStreamEntityDeclaration.__init__?1(self, QXmlStreamEntityDeclaration) +QtCore.QXmlStreamEntityDeclaration.name?4() -> QStringRef +QtCore.QXmlStreamEntityDeclaration.notationName?4() -> QStringRef +QtCore.QXmlStreamEntityDeclaration.systemId?4() -> QStringRef +QtCore.QXmlStreamEntityDeclaration.publicId?4() -> QStringRef +QtCore.QXmlStreamEntityDeclaration.value?4() -> QStringRef +QtCore.QXmlStreamEntityResolver?1() +QtCore.QXmlStreamEntityResolver.__init__?1(self) +QtCore.QXmlStreamEntityResolver?1(QXmlStreamEntityResolver) +QtCore.QXmlStreamEntityResolver.__init__?1(self, QXmlStreamEntityResolver) +QtCore.QXmlStreamEntityResolver.resolveUndeclaredEntity?4(QString) -> QString +QtCore.QXmlStreamReader.Error?10 +QtCore.QXmlStreamReader.Error.NoError?10 +QtCore.QXmlStreamReader.Error.UnexpectedElementError?10 +QtCore.QXmlStreamReader.Error.CustomError?10 +QtCore.QXmlStreamReader.Error.NotWellFormedError?10 +QtCore.QXmlStreamReader.Error.PrematureEndOfDocumentError?10 +QtCore.QXmlStreamReader.ReadElementTextBehaviour?10 +QtCore.QXmlStreamReader.ReadElementTextBehaviour.ErrorOnUnexpectedElement?10 +QtCore.QXmlStreamReader.ReadElementTextBehaviour.IncludeChildElements?10 +QtCore.QXmlStreamReader.ReadElementTextBehaviour.SkipChildElements?10 +QtCore.QXmlStreamReader.TokenType?10 +QtCore.QXmlStreamReader.TokenType.NoToken?10 +QtCore.QXmlStreamReader.TokenType.Invalid?10 +QtCore.QXmlStreamReader.TokenType.StartDocument?10 +QtCore.QXmlStreamReader.TokenType.EndDocument?10 +QtCore.QXmlStreamReader.TokenType.StartElement?10 +QtCore.QXmlStreamReader.TokenType.EndElement?10 +QtCore.QXmlStreamReader.TokenType.Characters?10 +QtCore.QXmlStreamReader.TokenType.Comment?10 +QtCore.QXmlStreamReader.TokenType.DTD?10 +QtCore.QXmlStreamReader.TokenType.EntityReference?10 +QtCore.QXmlStreamReader.TokenType.ProcessingInstruction?10 +QtCore.QXmlStreamReader?1() +QtCore.QXmlStreamReader.__init__?1(self) +QtCore.QXmlStreamReader?1(QIODevice) +QtCore.QXmlStreamReader.__init__?1(self, QIODevice) +QtCore.QXmlStreamReader?1(QByteArray) +QtCore.QXmlStreamReader.__init__?1(self, QByteArray) +QtCore.QXmlStreamReader?1(QString) +QtCore.QXmlStreamReader.__init__?1(self, QString) +QtCore.QXmlStreamReader.setDevice?4(QIODevice) +QtCore.QXmlStreamReader.device?4() -> QIODevice +QtCore.QXmlStreamReader.addData?4(QByteArray) +QtCore.QXmlStreamReader.addData?4(QString) +QtCore.QXmlStreamReader.clear?4() +QtCore.QXmlStreamReader.atEnd?4() -> bool +QtCore.QXmlStreamReader.readNext?4() -> QXmlStreamReader.TokenType +QtCore.QXmlStreamReader.tokenType?4() -> QXmlStreamReader.TokenType +QtCore.QXmlStreamReader.tokenString?4() -> QString +QtCore.QXmlStreamReader.setNamespaceProcessing?4(bool) +QtCore.QXmlStreamReader.namespaceProcessing?4() -> bool +QtCore.QXmlStreamReader.isStartDocument?4() -> bool +QtCore.QXmlStreamReader.isEndDocument?4() -> bool +QtCore.QXmlStreamReader.isStartElement?4() -> bool +QtCore.QXmlStreamReader.isEndElement?4() -> bool +QtCore.QXmlStreamReader.isCharacters?4() -> bool +QtCore.QXmlStreamReader.isWhitespace?4() -> bool +QtCore.QXmlStreamReader.isCDATA?4() -> bool +QtCore.QXmlStreamReader.isComment?4() -> bool +QtCore.QXmlStreamReader.isDTD?4() -> bool +QtCore.QXmlStreamReader.isEntityReference?4() -> bool +QtCore.QXmlStreamReader.isProcessingInstruction?4() -> bool +QtCore.QXmlStreamReader.isStandaloneDocument?4() -> bool +QtCore.QXmlStreamReader.documentVersion?4() -> QStringRef +QtCore.QXmlStreamReader.documentEncoding?4() -> QStringRef +QtCore.QXmlStreamReader.lineNumber?4() -> int +QtCore.QXmlStreamReader.columnNumber?4() -> int +QtCore.QXmlStreamReader.characterOffset?4() -> int +QtCore.QXmlStreamReader.attributes?4() -> QXmlStreamAttributes +QtCore.QXmlStreamReader.readElementText?4(QXmlStreamReader.ReadElementTextBehaviour behaviour=QXmlStreamReader.ErrorOnUnexpectedElement) -> QString +QtCore.QXmlStreamReader.name?4() -> QStringRef +QtCore.QXmlStreamReader.namespaceUri?4() -> QStringRef +QtCore.QXmlStreamReader.qualifiedName?4() -> QStringRef +QtCore.QXmlStreamReader.prefix?4() -> QStringRef +QtCore.QXmlStreamReader.processingInstructionTarget?4() -> QStringRef +QtCore.QXmlStreamReader.processingInstructionData?4() -> QStringRef +QtCore.QXmlStreamReader.text?4() -> QStringRef +QtCore.QXmlStreamReader.namespaceDeclarations?4() -> unknown-type +QtCore.QXmlStreamReader.addExtraNamespaceDeclaration?4(QXmlStreamNamespaceDeclaration) +QtCore.QXmlStreamReader.addExtraNamespaceDeclarations?4(unknown-type) +QtCore.QXmlStreamReader.notationDeclarations?4() -> unknown-type +QtCore.QXmlStreamReader.entityDeclarations?4() -> unknown-type +QtCore.QXmlStreamReader.dtdName?4() -> QStringRef +QtCore.QXmlStreamReader.dtdPublicId?4() -> QStringRef +QtCore.QXmlStreamReader.dtdSystemId?4() -> QStringRef +QtCore.QXmlStreamReader.raiseError?4(QString message='') +QtCore.QXmlStreamReader.errorString?4() -> QString +QtCore.QXmlStreamReader.error?4() -> QXmlStreamReader.Error +QtCore.QXmlStreamReader.hasError?4() -> bool +QtCore.QXmlStreamReader.setEntityResolver?4(QXmlStreamEntityResolver) +QtCore.QXmlStreamReader.entityResolver?4() -> QXmlStreamEntityResolver +QtCore.QXmlStreamReader.readNextStartElement?4() -> bool +QtCore.QXmlStreamReader.skipCurrentElement?4() +QtCore.QXmlStreamReader.entityExpansionLimit?4() -> int +QtCore.QXmlStreamReader.setEntityExpansionLimit?4(int) +QtCore.QXmlStreamWriter?1() +QtCore.QXmlStreamWriter.__init__?1(self) +QtCore.QXmlStreamWriter?1(QIODevice) +QtCore.QXmlStreamWriter.__init__?1(self, QIODevice) +QtCore.QXmlStreamWriter?1(QByteArray) +QtCore.QXmlStreamWriter.__init__?1(self, QByteArray) +QtCore.QXmlStreamWriter.setDevice?4(QIODevice) +QtCore.QXmlStreamWriter.device?4() -> QIODevice +QtCore.QXmlStreamWriter.setCodec?4(QTextCodec) +QtCore.QXmlStreamWriter.setCodec?4(str) +QtCore.QXmlStreamWriter.codec?4() -> QTextCodec +QtCore.QXmlStreamWriter.setAutoFormatting?4(bool) +QtCore.QXmlStreamWriter.autoFormatting?4() -> bool +QtCore.QXmlStreamWriter.setAutoFormattingIndent?4(int) +QtCore.QXmlStreamWriter.autoFormattingIndent?4() -> int +QtCore.QXmlStreamWriter.writeAttribute?4(QString, QString) +QtCore.QXmlStreamWriter.writeAttribute?4(QString, QString, QString) +QtCore.QXmlStreamWriter.writeAttribute?4(QXmlStreamAttribute) +QtCore.QXmlStreamWriter.writeAttributes?4(QXmlStreamAttributes) +QtCore.QXmlStreamWriter.writeCDATA?4(QString) +QtCore.QXmlStreamWriter.writeCharacters?4(QString) +QtCore.QXmlStreamWriter.writeComment?4(QString) +QtCore.QXmlStreamWriter.writeDTD?4(QString) +QtCore.QXmlStreamWriter.writeEmptyElement?4(QString) +QtCore.QXmlStreamWriter.writeEmptyElement?4(QString, QString) +QtCore.QXmlStreamWriter.writeTextElement?4(QString, QString) +QtCore.QXmlStreamWriter.writeTextElement?4(QString, QString, QString) +QtCore.QXmlStreamWriter.writeEndDocument?4() +QtCore.QXmlStreamWriter.writeEndElement?4() +QtCore.QXmlStreamWriter.writeEntityReference?4(QString) +QtCore.QXmlStreamWriter.writeNamespace?4(QString, QString prefix='') +QtCore.QXmlStreamWriter.writeDefaultNamespace?4(QString) +QtCore.QXmlStreamWriter.writeProcessingInstruction?4(QString, QString data='') +QtCore.QXmlStreamWriter.writeStartDocument?4() +QtCore.QXmlStreamWriter.writeStartDocument?4(QString) +QtCore.QXmlStreamWriter.writeStartDocument?4(QString, bool) +QtCore.QXmlStreamWriter.writeStartElement?4(QString) +QtCore.QXmlStreamWriter.writeStartElement?4(QString, QString) +QtCore.QXmlStreamWriter.writeCurrentToken?4(QXmlStreamReader) +QtCore.QXmlStreamWriter.hasError?4() -> bool +QtCore.QSysInfo.WinVersion?10 +QtCore.QSysInfo.WinVersion.WV_32s?10 +QtCore.QSysInfo.WinVersion.WV_95?10 +QtCore.QSysInfo.WinVersion.WV_98?10 +QtCore.QSysInfo.WinVersion.WV_Me?10 +QtCore.QSysInfo.WinVersion.WV_DOS_based?10 +QtCore.QSysInfo.WinVersion.WV_NT?10 +QtCore.QSysInfo.WinVersion.WV_2000?10 +QtCore.QSysInfo.WinVersion.WV_XP?10 +QtCore.QSysInfo.WinVersion.WV_2003?10 +QtCore.QSysInfo.WinVersion.WV_VISTA?10 +QtCore.QSysInfo.WinVersion.WV_WINDOWS7?10 +QtCore.QSysInfo.WinVersion.WV_WINDOWS8?10 +QtCore.QSysInfo.WinVersion.WV_WINDOWS8_1?10 +QtCore.QSysInfo.WinVersion.WV_WINDOWS10?10 +QtCore.QSysInfo.WinVersion.WV_NT_based?10 +QtCore.QSysInfo.WinVersion.WV_4_0?10 +QtCore.QSysInfo.WinVersion.WV_5_0?10 +QtCore.QSysInfo.WinVersion.WV_5_1?10 +QtCore.QSysInfo.WinVersion.WV_5_2?10 +QtCore.QSysInfo.WinVersion.WV_6_0?10 +QtCore.QSysInfo.WinVersion.WV_6_1?10 +QtCore.QSysInfo.WinVersion.WV_6_2?10 +QtCore.QSysInfo.WinVersion.WV_6_3?10 +QtCore.QSysInfo.WinVersion.WV_10_0?10 +QtCore.QSysInfo.WinVersion.WV_CE?10 +QtCore.QSysInfo.WinVersion.WV_CENET?10 +QtCore.QSysInfo.WinVersion.WV_CE_5?10 +QtCore.QSysInfo.WinVersion.WV_CE_6?10 +QtCore.QSysInfo.WinVersion.WV_CE_based?10 +QtCore.QSysInfo.Endian?10 +QtCore.QSysInfo.Endian.BigEndian?10 +QtCore.QSysInfo.Endian.LittleEndian?10 +QtCore.QSysInfo.Endian.ByteOrder?10 +QtCore.QSysInfo.Sizes?10 +QtCore.QSysInfo.Sizes.WordSize?10 +QtCore.QSysInfo.WindowsVersion?7 +QtCore.QSysInfo?1() +QtCore.QSysInfo.__init__?1(self) +QtCore.QSysInfo?1(QSysInfo) +QtCore.QSysInfo.__init__?1(self, QSysInfo) +QtCore.QSysInfo.windowsVersion?4() -> QSysInfo.WinVersion +QtCore.QSysInfo.buildAbi?4() -> QString +QtCore.QSysInfo.buildCpuArchitecture?4() -> QString +QtCore.QSysInfo.currentCpuArchitecture?4() -> QString +QtCore.QSysInfo.kernelType?4() -> QString +QtCore.QSysInfo.kernelVersion?4() -> QString +QtCore.QSysInfo.prettyProductName?4() -> QString +QtCore.QSysInfo.productType?4() -> QString +QtCore.QSysInfo.productVersion?4() -> QString +QtCore.QSysInfo.machineHostName?4() -> QString +QtCore.QWinEventNotifier?1(QObject parent=None) +QtCore.QWinEventNotifier.__init__?1(self, QObject parent=None) +QtCore.QWinEventNotifier?1(sip.voidptr, QObject parent=None) +QtCore.QWinEventNotifier.__init__?1(self, sip.voidptr, QObject parent=None) +QtCore.QWinEventNotifier.handle?4() -> sip.voidptr +QtCore.QWinEventNotifier.isEnabled?4() -> bool +QtCore.QWinEventNotifier.setHandle?4(sip.voidptr) +QtCore.QWinEventNotifier.setEnabled?4(bool) +QtCore.QWinEventNotifier.activated?4(sip.voidptr) +QtCore.QWinEventNotifier.event?4(QEvent) -> bool +QtNetwork.QOcspRevocationReason?10 +QtNetwork.QOcspRevocationReason.None_?10 +QtNetwork.QOcspRevocationReason.Unspecified?10 +QtNetwork.QOcspRevocationReason.KeyCompromise?10 +QtNetwork.QOcspRevocationReason.CACompromise?10 +QtNetwork.QOcspRevocationReason.AffiliationChanged?10 +QtNetwork.QOcspRevocationReason.Superseded?10 +QtNetwork.QOcspRevocationReason.CessationOfOperation?10 +QtNetwork.QOcspRevocationReason.CertificateHold?10 +QtNetwork.QOcspRevocationReason.RemoveFromCRL?10 +QtNetwork.QOcspCertificateStatus?10 +QtNetwork.QOcspCertificateStatus.Good?10 +QtNetwork.QOcspCertificateStatus.Revoked?10 +QtNetwork.QOcspCertificateStatus.Unknown?10 +QtNetwork.QNetworkCacheMetaData?1() +QtNetwork.QNetworkCacheMetaData.__init__?1(self) +QtNetwork.QNetworkCacheMetaData?1(QNetworkCacheMetaData) +QtNetwork.QNetworkCacheMetaData.__init__?1(self, QNetworkCacheMetaData) +QtNetwork.QNetworkCacheMetaData.isValid?4() -> bool +QtNetwork.QNetworkCacheMetaData.url?4() -> QUrl +QtNetwork.QNetworkCacheMetaData.setUrl?4(QUrl) +QtNetwork.QNetworkCacheMetaData.rawHeaders?4() -> unknown-type +QtNetwork.QNetworkCacheMetaData.setRawHeaders?4(unknown-type) +QtNetwork.QNetworkCacheMetaData.lastModified?4() -> QDateTime +QtNetwork.QNetworkCacheMetaData.setLastModified?4(QDateTime) +QtNetwork.QNetworkCacheMetaData.expirationDate?4() -> QDateTime +QtNetwork.QNetworkCacheMetaData.setExpirationDate?4(QDateTime) +QtNetwork.QNetworkCacheMetaData.saveToDisk?4() -> bool +QtNetwork.QNetworkCacheMetaData.setSaveToDisk?4(bool) +QtNetwork.QNetworkCacheMetaData.attributes?4() -> unknown-type +QtNetwork.QNetworkCacheMetaData.setAttributes?4(unknown-type) +QtNetwork.QNetworkCacheMetaData.swap?4(QNetworkCacheMetaData) +QtNetwork.QAbstractNetworkCache?1(QObject parent=None) +QtNetwork.QAbstractNetworkCache.__init__?1(self, QObject parent=None) +QtNetwork.QAbstractNetworkCache.metaData?4(QUrl) -> QNetworkCacheMetaData +QtNetwork.QAbstractNetworkCache.updateMetaData?4(QNetworkCacheMetaData) +QtNetwork.QAbstractNetworkCache.data?4(QUrl) -> QIODevice +QtNetwork.QAbstractNetworkCache.remove?4(QUrl) -> bool +QtNetwork.QAbstractNetworkCache.cacheSize?4() -> int +QtNetwork.QAbstractNetworkCache.prepare?4(QNetworkCacheMetaData) -> QIODevice +QtNetwork.QAbstractNetworkCache.insert?4(QIODevice) +QtNetwork.QAbstractNetworkCache.clear?4() +QtNetwork.QAbstractSocket.PauseMode?10 +QtNetwork.QAbstractSocket.PauseMode.PauseNever?10 +QtNetwork.QAbstractSocket.PauseMode.PauseOnSslErrors?10 +QtNetwork.QAbstractSocket.BindFlag?10 +QtNetwork.QAbstractSocket.BindFlag.DefaultForPlatform?10 +QtNetwork.QAbstractSocket.BindFlag.ShareAddress?10 +QtNetwork.QAbstractSocket.BindFlag.DontShareAddress?10 +QtNetwork.QAbstractSocket.BindFlag.ReuseAddressHint?10 +QtNetwork.QAbstractSocket.SocketOption?10 +QtNetwork.QAbstractSocket.SocketOption.LowDelayOption?10 +QtNetwork.QAbstractSocket.SocketOption.KeepAliveOption?10 +QtNetwork.QAbstractSocket.SocketOption.MulticastTtlOption?10 +QtNetwork.QAbstractSocket.SocketOption.MulticastLoopbackOption?10 +QtNetwork.QAbstractSocket.SocketOption.TypeOfServiceOption?10 +QtNetwork.QAbstractSocket.SocketOption.SendBufferSizeSocketOption?10 +QtNetwork.QAbstractSocket.SocketOption.ReceiveBufferSizeSocketOption?10 +QtNetwork.QAbstractSocket.SocketOption.PathMtuSocketOption?10 +QtNetwork.QAbstractSocket.SocketState?10 +QtNetwork.QAbstractSocket.SocketState.UnconnectedState?10 +QtNetwork.QAbstractSocket.SocketState.HostLookupState?10 +QtNetwork.QAbstractSocket.SocketState.ConnectingState?10 +QtNetwork.QAbstractSocket.SocketState.ConnectedState?10 +QtNetwork.QAbstractSocket.SocketState.BoundState?10 +QtNetwork.QAbstractSocket.SocketState.ListeningState?10 +QtNetwork.QAbstractSocket.SocketState.ClosingState?10 +QtNetwork.QAbstractSocket.SocketError?10 +QtNetwork.QAbstractSocket.SocketError.ConnectionRefusedError?10 +QtNetwork.QAbstractSocket.SocketError.RemoteHostClosedError?10 +QtNetwork.QAbstractSocket.SocketError.HostNotFoundError?10 +QtNetwork.QAbstractSocket.SocketError.SocketAccessError?10 +QtNetwork.QAbstractSocket.SocketError.SocketResourceError?10 +QtNetwork.QAbstractSocket.SocketError.SocketTimeoutError?10 +QtNetwork.QAbstractSocket.SocketError.DatagramTooLargeError?10 +QtNetwork.QAbstractSocket.SocketError.NetworkError?10 +QtNetwork.QAbstractSocket.SocketError.AddressInUseError?10 +QtNetwork.QAbstractSocket.SocketError.SocketAddressNotAvailableError?10 +QtNetwork.QAbstractSocket.SocketError.UnsupportedSocketOperationError?10 +QtNetwork.QAbstractSocket.SocketError.UnfinishedSocketOperationError?10 +QtNetwork.QAbstractSocket.SocketError.ProxyAuthenticationRequiredError?10 +QtNetwork.QAbstractSocket.SocketError.SslHandshakeFailedError?10 +QtNetwork.QAbstractSocket.SocketError.ProxyConnectionRefusedError?10 +QtNetwork.QAbstractSocket.SocketError.ProxyConnectionClosedError?10 +QtNetwork.QAbstractSocket.SocketError.ProxyConnectionTimeoutError?10 +QtNetwork.QAbstractSocket.SocketError.ProxyNotFoundError?10 +QtNetwork.QAbstractSocket.SocketError.ProxyProtocolError?10 +QtNetwork.QAbstractSocket.SocketError.OperationError?10 +QtNetwork.QAbstractSocket.SocketError.SslInternalError?10 +QtNetwork.QAbstractSocket.SocketError.SslInvalidUserDataError?10 +QtNetwork.QAbstractSocket.SocketError.TemporaryError?10 +QtNetwork.QAbstractSocket.SocketError.UnknownSocketError?10 +QtNetwork.QAbstractSocket.NetworkLayerProtocol?10 +QtNetwork.QAbstractSocket.NetworkLayerProtocol.IPv4Protocol?10 +QtNetwork.QAbstractSocket.NetworkLayerProtocol.IPv6Protocol?10 +QtNetwork.QAbstractSocket.NetworkLayerProtocol.AnyIPProtocol?10 +QtNetwork.QAbstractSocket.NetworkLayerProtocol.UnknownNetworkLayerProtocol?10 +QtNetwork.QAbstractSocket.SocketType?10 +QtNetwork.QAbstractSocket.SocketType.TcpSocket?10 +QtNetwork.QAbstractSocket.SocketType.UdpSocket?10 +QtNetwork.QAbstractSocket.SocketType.SctpSocket?10 +QtNetwork.QAbstractSocket.SocketType.UnknownSocketType?10 +QtNetwork.QAbstractSocket?1(QAbstractSocket.SocketType, QObject) +QtNetwork.QAbstractSocket.__init__?1(self, QAbstractSocket.SocketType, QObject) +QtNetwork.QAbstractSocket.connectToHost?4(QString, int, QIODevice.OpenMode mode=QIODevice.ReadWrite, QAbstractSocket.NetworkLayerProtocol protocol=QAbstractSocket.AnyIPProtocol) +QtNetwork.QAbstractSocket.connectToHost?4(QHostAddress, int, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtNetwork.QAbstractSocket.disconnectFromHost?4() +QtNetwork.QAbstractSocket.isValid?4() -> bool +QtNetwork.QAbstractSocket.bytesAvailable?4() -> int +QtNetwork.QAbstractSocket.bytesToWrite?4() -> int +QtNetwork.QAbstractSocket.canReadLine?4() -> bool +QtNetwork.QAbstractSocket.localPort?4() -> int +QtNetwork.QAbstractSocket.localAddress?4() -> QHostAddress +QtNetwork.QAbstractSocket.peerPort?4() -> int +QtNetwork.QAbstractSocket.peerAddress?4() -> QHostAddress +QtNetwork.QAbstractSocket.peerName?4() -> QString +QtNetwork.QAbstractSocket.readBufferSize?4() -> int +QtNetwork.QAbstractSocket.setReadBufferSize?4(int) +QtNetwork.QAbstractSocket.abort?4() +QtNetwork.QAbstractSocket.setSocketDescriptor?4(qintptr, QAbstractSocket.SocketState state=QAbstractSocket.ConnectedState, QIODevice.OpenMode mode=QIODevice.ReadWrite) -> bool +QtNetwork.QAbstractSocket.socketDescriptor?4() -> qintptr +QtNetwork.QAbstractSocket.socketType?4() -> QAbstractSocket.SocketType +QtNetwork.QAbstractSocket.state?4() -> QAbstractSocket.SocketState +QtNetwork.QAbstractSocket.error?4() -> QAbstractSocket.SocketError +QtNetwork.QAbstractSocket.close?4() +QtNetwork.QAbstractSocket.isSequential?4() -> bool +QtNetwork.QAbstractSocket.atEnd?4() -> bool +QtNetwork.QAbstractSocket.flush?4() -> bool +QtNetwork.QAbstractSocket.waitForConnected?4(int msecs=30000) -> bool +QtNetwork.QAbstractSocket.waitForReadyRead?4(int msecs=30000) -> bool +QtNetwork.QAbstractSocket.waitForBytesWritten?4(int msecs=30000) -> bool +QtNetwork.QAbstractSocket.waitForDisconnected?4(int msecs=30000) -> bool +QtNetwork.QAbstractSocket.setProxy?4(QNetworkProxy) +QtNetwork.QAbstractSocket.proxy?4() -> QNetworkProxy +QtNetwork.QAbstractSocket.hostFound?4() +QtNetwork.QAbstractSocket.connected?4() +QtNetwork.QAbstractSocket.disconnected?4() +QtNetwork.QAbstractSocket.stateChanged?4(QAbstractSocket.SocketState) +QtNetwork.QAbstractSocket.error?4(QAbstractSocket.SocketError) +QtNetwork.QAbstractSocket.errorOccurred?4(QAbstractSocket.SocketError) +QtNetwork.QAbstractSocket.proxyAuthenticationRequired?4(QNetworkProxy, QAuthenticator) +QtNetwork.QAbstractSocket.readData?4(int) -> object +QtNetwork.QAbstractSocket.readLineData?4(int) -> object +QtNetwork.QAbstractSocket.writeData?4(bytes) -> int +QtNetwork.QAbstractSocket.setSocketState?4(QAbstractSocket.SocketState) +QtNetwork.QAbstractSocket.setSocketError?4(QAbstractSocket.SocketError) +QtNetwork.QAbstractSocket.setLocalPort?4(int) +QtNetwork.QAbstractSocket.setLocalAddress?4(QHostAddress) +QtNetwork.QAbstractSocket.setPeerPort?4(int) +QtNetwork.QAbstractSocket.setPeerAddress?4(QHostAddress) +QtNetwork.QAbstractSocket.setPeerName?4(QString) +QtNetwork.QAbstractSocket.setSocketOption?4(QAbstractSocket.SocketOption, QVariant) +QtNetwork.QAbstractSocket.socketOption?4(QAbstractSocket.SocketOption) -> QVariant +QtNetwork.QAbstractSocket.resume?4() +QtNetwork.QAbstractSocket.pauseMode?4() -> QAbstractSocket.PauseModes +QtNetwork.QAbstractSocket.setPauseMode?4(QAbstractSocket.PauseModes) +QtNetwork.QAbstractSocket.bind?4(QHostAddress, int port=0, QAbstractSocket.BindMode mode=QAbstractSocket.DefaultForPlatform) -> bool +QtNetwork.QAbstractSocket.bind?4(int port=0, QAbstractSocket.BindMode mode=QAbstractSocket.DefaultForPlatform) -> bool +QtNetwork.QAbstractSocket.protocolTag?4() -> QString +QtNetwork.QAbstractSocket.setProtocolTag?4(QString) +QtNetwork.QAbstractSocket.BindMode?1() +QtNetwork.QAbstractSocket.BindMode.__init__?1(self) +QtNetwork.QAbstractSocket.BindMode?1(int) +QtNetwork.QAbstractSocket.BindMode.__init__?1(self, int) +QtNetwork.QAbstractSocket.BindMode?1(QAbstractSocket.BindMode) +QtNetwork.QAbstractSocket.BindMode.__init__?1(self, QAbstractSocket.BindMode) +QtNetwork.QAbstractSocket.PauseModes?1() +QtNetwork.QAbstractSocket.PauseModes.__init__?1(self) +QtNetwork.QAbstractSocket.PauseModes?1(int) +QtNetwork.QAbstractSocket.PauseModes.__init__?1(self, int) +QtNetwork.QAbstractSocket.PauseModes?1(QAbstractSocket.PauseModes) +QtNetwork.QAbstractSocket.PauseModes.__init__?1(self, QAbstractSocket.PauseModes) +QtNetwork.QAuthenticator?1() +QtNetwork.QAuthenticator.__init__?1(self) +QtNetwork.QAuthenticator?1(QAuthenticator) +QtNetwork.QAuthenticator.__init__?1(self, QAuthenticator) +QtNetwork.QAuthenticator.user?4() -> QString +QtNetwork.QAuthenticator.setUser?4(QString) +QtNetwork.QAuthenticator.password?4() -> QString +QtNetwork.QAuthenticator.setPassword?4(QString) +QtNetwork.QAuthenticator.realm?4() -> QString +QtNetwork.QAuthenticator.isNull?4() -> bool +QtNetwork.QAuthenticator.option?4(QString) -> QVariant +QtNetwork.QAuthenticator.options?4() -> unknown-type +QtNetwork.QAuthenticator.setOption?4(QString, QVariant) +QtNetwork.QDnsDomainNameRecord?1() +QtNetwork.QDnsDomainNameRecord.__init__?1(self) +QtNetwork.QDnsDomainNameRecord?1(QDnsDomainNameRecord) +QtNetwork.QDnsDomainNameRecord.__init__?1(self, QDnsDomainNameRecord) +QtNetwork.QDnsDomainNameRecord.swap?4(QDnsDomainNameRecord) +QtNetwork.QDnsDomainNameRecord.name?4() -> QString +QtNetwork.QDnsDomainNameRecord.timeToLive?4() -> int +QtNetwork.QDnsDomainNameRecord.value?4() -> QString +QtNetwork.QDnsHostAddressRecord?1() +QtNetwork.QDnsHostAddressRecord.__init__?1(self) +QtNetwork.QDnsHostAddressRecord?1(QDnsHostAddressRecord) +QtNetwork.QDnsHostAddressRecord.__init__?1(self, QDnsHostAddressRecord) +QtNetwork.QDnsHostAddressRecord.swap?4(QDnsHostAddressRecord) +QtNetwork.QDnsHostAddressRecord.name?4() -> QString +QtNetwork.QDnsHostAddressRecord.timeToLive?4() -> int +QtNetwork.QDnsHostAddressRecord.value?4() -> QHostAddress +QtNetwork.QDnsMailExchangeRecord?1() +QtNetwork.QDnsMailExchangeRecord.__init__?1(self) +QtNetwork.QDnsMailExchangeRecord?1(QDnsMailExchangeRecord) +QtNetwork.QDnsMailExchangeRecord.__init__?1(self, QDnsMailExchangeRecord) +QtNetwork.QDnsMailExchangeRecord.swap?4(QDnsMailExchangeRecord) +QtNetwork.QDnsMailExchangeRecord.exchange?4() -> QString +QtNetwork.QDnsMailExchangeRecord.name?4() -> QString +QtNetwork.QDnsMailExchangeRecord.preference?4() -> int +QtNetwork.QDnsMailExchangeRecord.timeToLive?4() -> int +QtNetwork.QDnsServiceRecord?1() +QtNetwork.QDnsServiceRecord.__init__?1(self) +QtNetwork.QDnsServiceRecord?1(QDnsServiceRecord) +QtNetwork.QDnsServiceRecord.__init__?1(self, QDnsServiceRecord) +QtNetwork.QDnsServiceRecord.swap?4(QDnsServiceRecord) +QtNetwork.QDnsServiceRecord.name?4() -> QString +QtNetwork.QDnsServiceRecord.port?4() -> int +QtNetwork.QDnsServiceRecord.priority?4() -> int +QtNetwork.QDnsServiceRecord.target?4() -> QString +QtNetwork.QDnsServiceRecord.timeToLive?4() -> int +QtNetwork.QDnsServiceRecord.weight?4() -> int +QtNetwork.QDnsTextRecord?1() +QtNetwork.QDnsTextRecord.__init__?1(self) +QtNetwork.QDnsTextRecord?1(QDnsTextRecord) +QtNetwork.QDnsTextRecord.__init__?1(self, QDnsTextRecord) +QtNetwork.QDnsTextRecord.swap?4(QDnsTextRecord) +QtNetwork.QDnsTextRecord.name?4() -> QString +QtNetwork.QDnsTextRecord.timeToLive?4() -> int +QtNetwork.QDnsTextRecord.values?4() -> unknown-type +QtNetwork.QDnsLookup.Type?10 +QtNetwork.QDnsLookup.Type.A?10 +QtNetwork.QDnsLookup.Type.AAAA?10 +QtNetwork.QDnsLookup.Type.ANY?10 +QtNetwork.QDnsLookup.Type.CNAME?10 +QtNetwork.QDnsLookup.Type.MX?10 +QtNetwork.QDnsLookup.Type.NS?10 +QtNetwork.QDnsLookup.Type.PTR?10 +QtNetwork.QDnsLookup.Type.SRV?10 +QtNetwork.QDnsLookup.Type.TXT?10 +QtNetwork.QDnsLookup.Error?10 +QtNetwork.QDnsLookup.Error.NoError?10 +QtNetwork.QDnsLookup.Error.ResolverError?10 +QtNetwork.QDnsLookup.Error.OperationCancelledError?10 +QtNetwork.QDnsLookup.Error.InvalidRequestError?10 +QtNetwork.QDnsLookup.Error.InvalidReplyError?10 +QtNetwork.QDnsLookup.Error.ServerFailureError?10 +QtNetwork.QDnsLookup.Error.ServerRefusedError?10 +QtNetwork.QDnsLookup.Error.NotFoundError?10 +QtNetwork.QDnsLookup?1(QObject parent=None) +QtNetwork.QDnsLookup.__init__?1(self, QObject parent=None) +QtNetwork.QDnsLookup?1(QDnsLookup.Type, QString, QObject parent=None) +QtNetwork.QDnsLookup.__init__?1(self, QDnsLookup.Type, QString, QObject parent=None) +QtNetwork.QDnsLookup?1(QDnsLookup.Type, QString, QHostAddress, QObject parent=None) +QtNetwork.QDnsLookup.__init__?1(self, QDnsLookup.Type, QString, QHostAddress, QObject parent=None) +QtNetwork.QDnsLookup.error?4() -> QDnsLookup.Error +QtNetwork.QDnsLookup.errorString?4() -> QString +QtNetwork.QDnsLookup.isFinished?4() -> bool +QtNetwork.QDnsLookup.name?4() -> QString +QtNetwork.QDnsLookup.setName?4(QString) +QtNetwork.QDnsLookup.type?4() -> QDnsLookup.Type +QtNetwork.QDnsLookup.setType?4(QDnsLookup.Type) +QtNetwork.QDnsLookup.canonicalNameRecords?4() -> unknown-type +QtNetwork.QDnsLookup.hostAddressRecords?4() -> unknown-type +QtNetwork.QDnsLookup.mailExchangeRecords?4() -> unknown-type +QtNetwork.QDnsLookup.nameServerRecords?4() -> unknown-type +QtNetwork.QDnsLookup.pointerRecords?4() -> unknown-type +QtNetwork.QDnsLookup.serviceRecords?4() -> unknown-type +QtNetwork.QDnsLookup.textRecords?4() -> unknown-type +QtNetwork.QDnsLookup.abort?4() +QtNetwork.QDnsLookup.lookup?4() +QtNetwork.QDnsLookup.finished?4() +QtNetwork.QDnsLookup.nameChanged?4(QString) +QtNetwork.QDnsLookup.typeChanged?4(QDnsLookup.Type) +QtNetwork.QDnsLookup.nameserver?4() -> QHostAddress +QtNetwork.QDnsLookup.setNameserver?4(QHostAddress) +QtNetwork.QDnsLookup.nameserverChanged?4(QHostAddress) +QtNetwork.QHostAddress.ConversionModeFlag?10 +QtNetwork.QHostAddress.ConversionModeFlag.ConvertV4MappedToIPv4?10 +QtNetwork.QHostAddress.ConversionModeFlag.ConvertV4CompatToIPv4?10 +QtNetwork.QHostAddress.ConversionModeFlag.ConvertUnspecifiedAddress?10 +QtNetwork.QHostAddress.ConversionModeFlag.ConvertLocalHost?10 +QtNetwork.QHostAddress.ConversionModeFlag.TolerantConversion?10 +QtNetwork.QHostAddress.ConversionModeFlag.StrictConversion?10 +QtNetwork.QHostAddress.SpecialAddress?10 +QtNetwork.QHostAddress.SpecialAddress.Null?10 +QtNetwork.QHostAddress.SpecialAddress.Broadcast?10 +QtNetwork.QHostAddress.SpecialAddress.LocalHost?10 +QtNetwork.QHostAddress.SpecialAddress.LocalHostIPv6?10 +QtNetwork.QHostAddress.SpecialAddress.AnyIPv4?10 +QtNetwork.QHostAddress.SpecialAddress.AnyIPv6?10 +QtNetwork.QHostAddress.SpecialAddress.Any?10 +QtNetwork.QHostAddress?1() +QtNetwork.QHostAddress.__init__?1(self) +QtNetwork.QHostAddress?1(QHostAddress.SpecialAddress) +QtNetwork.QHostAddress.__init__?1(self, QHostAddress.SpecialAddress) +QtNetwork.QHostAddress?1(int) +QtNetwork.QHostAddress.__init__?1(self, int) +QtNetwork.QHostAddress?1(QString) +QtNetwork.QHostAddress.__init__?1(self, QString) +QtNetwork.QHostAddress?1(Q_IPV6ADDR) +QtNetwork.QHostAddress.__init__?1(self, Q_IPV6ADDR) +QtNetwork.QHostAddress?1(QHostAddress) +QtNetwork.QHostAddress.__init__?1(self, QHostAddress) +QtNetwork.QHostAddress.setAddress?4(QHostAddress.SpecialAddress) +QtNetwork.QHostAddress.setAddress?4(int) +QtNetwork.QHostAddress.setAddress?4(QString) -> bool +QtNetwork.QHostAddress.setAddress?4(Q_IPV6ADDR) +QtNetwork.QHostAddress.protocol?4() -> QAbstractSocket.NetworkLayerProtocol +QtNetwork.QHostAddress.toIPv4Address?4() -> int +QtNetwork.QHostAddress.toIPv6Address?4() -> Q_IPV6ADDR +QtNetwork.QHostAddress.toString?4() -> QString +QtNetwork.QHostAddress.scopeId?4() -> QString +QtNetwork.QHostAddress.setScopeId?4(QString) +QtNetwork.QHostAddress.isNull?4() -> bool +QtNetwork.QHostAddress.clear?4() +QtNetwork.QHostAddress.isInSubnet?4(QHostAddress, int) -> bool +QtNetwork.QHostAddress.isInSubnet?4(unknown-type) -> bool +QtNetwork.QHostAddress.isLoopback?4() -> bool +QtNetwork.QHostAddress.parseSubnet?4(QString) -> unknown-type +QtNetwork.QHostAddress.swap?4(QHostAddress) +QtNetwork.QHostAddress.isMulticast?4() -> bool +QtNetwork.QHostAddress.isEqual?4(QHostAddress, QHostAddress.ConversionMode mode=QHostAddress.TolerantConversion) -> bool +QtNetwork.QHostAddress.isGlobal?4() -> bool +QtNetwork.QHostAddress.isLinkLocal?4() -> bool +QtNetwork.QHostAddress.isSiteLocal?4() -> bool +QtNetwork.QHostAddress.isUniqueLocalUnicast?4() -> bool +QtNetwork.QHostAddress.isBroadcast?4() -> bool +QtNetwork.QHostAddress.ConversionMode?1() +QtNetwork.QHostAddress.ConversionMode.__init__?1(self) +QtNetwork.QHostAddress.ConversionMode?1(int) +QtNetwork.QHostAddress.ConversionMode.__init__?1(self, int) +QtNetwork.QHostAddress.ConversionMode?1(QHostAddress.ConversionMode) +QtNetwork.QHostAddress.ConversionMode.__init__?1(self, QHostAddress.ConversionMode) +QtNetwork.QHostInfo.HostInfoError?10 +QtNetwork.QHostInfo.HostInfoError.NoError?10 +QtNetwork.QHostInfo.HostInfoError.HostNotFound?10 +QtNetwork.QHostInfo.HostInfoError.UnknownError?10 +QtNetwork.QHostInfo?1(int id=-1) +QtNetwork.QHostInfo.__init__?1(self, int id=-1) +QtNetwork.QHostInfo?1(QHostInfo) +QtNetwork.QHostInfo.__init__?1(self, QHostInfo) +QtNetwork.QHostInfo.hostName?4() -> QString +QtNetwork.QHostInfo.setHostName?4(QString) +QtNetwork.QHostInfo.addresses?4() -> unknown-type +QtNetwork.QHostInfo.setAddresses?4(unknown-type) +QtNetwork.QHostInfo.error?4() -> QHostInfo.HostInfoError +QtNetwork.QHostInfo.setError?4(QHostInfo.HostInfoError) +QtNetwork.QHostInfo.errorString?4() -> QString +QtNetwork.QHostInfo.setErrorString?4(QString) +QtNetwork.QHostInfo.setLookupId?4(int) +QtNetwork.QHostInfo.lookupId?4() -> int +QtNetwork.QHostInfo.lookupHost?4(QString, object) -> int +QtNetwork.QHostInfo.abortHostLookup?4(int) +QtNetwork.QHostInfo.fromName?4(QString) -> QHostInfo +QtNetwork.QHostInfo.localHostName?4() -> QString +QtNetwork.QHostInfo.localDomainName?4() -> QString +QtNetwork.QHostInfo.swap?4(QHostInfo) +QtNetwork.QHstsPolicy.PolicyFlag?10 +QtNetwork.QHstsPolicy.PolicyFlag.IncludeSubDomains?10 +QtNetwork.QHstsPolicy?1() +QtNetwork.QHstsPolicy.__init__?1(self) +QtNetwork.QHstsPolicy?1(QDateTime, QHstsPolicy.PolicyFlags, QString, QUrl.ParsingMode mode=QUrl.DecodedMode) +QtNetwork.QHstsPolicy.__init__?1(self, QDateTime, QHstsPolicy.PolicyFlags, QString, QUrl.ParsingMode mode=QUrl.DecodedMode) +QtNetwork.QHstsPolicy?1(QHstsPolicy) +QtNetwork.QHstsPolicy.__init__?1(self, QHstsPolicy) +QtNetwork.QHstsPolicy.swap?4(QHstsPolicy) +QtNetwork.QHstsPolicy.setHost?4(QString, QUrl.ParsingMode mode=QUrl.DecodedMode) +QtNetwork.QHstsPolicy.host?4(QUrl.ComponentFormattingOptions options=QUrl.ComponentFormattingOption.FullyDecoded) -> QString +QtNetwork.QHstsPolicy.setExpiry?4(QDateTime) +QtNetwork.QHstsPolicy.expiry?4() -> QDateTime +QtNetwork.QHstsPolicy.setIncludesSubDomains?4(bool) +QtNetwork.QHstsPolicy.includesSubDomains?4() -> bool +QtNetwork.QHstsPolicy.isExpired?4() -> bool +QtNetwork.QHstsPolicy.PolicyFlags?1() +QtNetwork.QHstsPolicy.PolicyFlags.__init__?1(self) +QtNetwork.QHstsPolicy.PolicyFlags?1(int) +QtNetwork.QHstsPolicy.PolicyFlags.__init__?1(self, int) +QtNetwork.QHstsPolicy.PolicyFlags?1(QHstsPolicy.PolicyFlags) +QtNetwork.QHstsPolicy.PolicyFlags.__init__?1(self, QHstsPolicy.PolicyFlags) +QtNetwork.QHttp2Configuration?1() +QtNetwork.QHttp2Configuration.__init__?1(self) +QtNetwork.QHttp2Configuration?1(QHttp2Configuration) +QtNetwork.QHttp2Configuration.__init__?1(self, QHttp2Configuration) +QtNetwork.QHttp2Configuration.setServerPushEnabled?4(bool) +QtNetwork.QHttp2Configuration.serverPushEnabled?4() -> bool +QtNetwork.QHttp2Configuration.setHuffmanCompressionEnabled?4(bool) +QtNetwork.QHttp2Configuration.huffmanCompressionEnabled?4() -> bool +QtNetwork.QHttp2Configuration.setSessionReceiveWindowSize?4(int) -> bool +QtNetwork.QHttp2Configuration.sessionReceiveWindowSize?4() -> int +QtNetwork.QHttp2Configuration.setStreamReceiveWindowSize?4(int) -> bool +QtNetwork.QHttp2Configuration.streamReceiveWindowSize?4() -> int +QtNetwork.QHttp2Configuration.setMaxFrameSize?4(int) -> bool +QtNetwork.QHttp2Configuration.maxFrameSize?4() -> int +QtNetwork.QHttp2Configuration.swap?4(QHttp2Configuration) +QtNetwork.QHttpPart?1() +QtNetwork.QHttpPart.__init__?1(self) +QtNetwork.QHttpPart?1(QHttpPart) +QtNetwork.QHttpPart.__init__?1(self, QHttpPart) +QtNetwork.QHttpPart.setHeader?4(QNetworkRequest.KnownHeaders, QVariant) +QtNetwork.QHttpPart.setRawHeader?4(QByteArray, QByteArray) +QtNetwork.QHttpPart.setBody?4(QByteArray) +QtNetwork.QHttpPart.setBodyDevice?4(QIODevice) +QtNetwork.QHttpPart.swap?4(QHttpPart) +QtNetwork.QHttpMultiPart.ContentType?10 +QtNetwork.QHttpMultiPart.ContentType.MixedType?10 +QtNetwork.QHttpMultiPart.ContentType.RelatedType?10 +QtNetwork.QHttpMultiPart.ContentType.FormDataType?10 +QtNetwork.QHttpMultiPart.ContentType.AlternativeType?10 +QtNetwork.QHttpMultiPart?1(QObject parent=None) +QtNetwork.QHttpMultiPart.__init__?1(self, QObject parent=None) +QtNetwork.QHttpMultiPart?1(QHttpMultiPart.ContentType, QObject parent=None) +QtNetwork.QHttpMultiPart.__init__?1(self, QHttpMultiPart.ContentType, QObject parent=None) +QtNetwork.QHttpMultiPart.append?4(QHttpPart) +QtNetwork.QHttpMultiPart.setContentType?4(QHttpMultiPart.ContentType) +QtNetwork.QHttpMultiPart.boundary?4() -> QByteArray +QtNetwork.QHttpMultiPart.setBoundary?4(QByteArray) +QtNetwork.QLocalServer.SocketOption?10 +QtNetwork.QLocalServer.SocketOption.UserAccessOption?10 +QtNetwork.QLocalServer.SocketOption.GroupAccessOption?10 +QtNetwork.QLocalServer.SocketOption.OtherAccessOption?10 +QtNetwork.QLocalServer.SocketOption.WorldAccessOption?10 +QtNetwork.QLocalServer?1(QObject parent=None) +QtNetwork.QLocalServer.__init__?1(self, QObject parent=None) +QtNetwork.QLocalServer.close?4() +QtNetwork.QLocalServer.errorString?4() -> QString +QtNetwork.QLocalServer.hasPendingConnections?4() -> bool +QtNetwork.QLocalServer.isListening?4() -> bool +QtNetwork.QLocalServer.listen?4(QString) -> bool +QtNetwork.QLocalServer.listen?4(qintptr) -> bool +QtNetwork.QLocalServer.maxPendingConnections?4() -> int +QtNetwork.QLocalServer.nextPendingConnection?4() -> QLocalSocket +QtNetwork.QLocalServer.serverName?4() -> QString +QtNetwork.QLocalServer.fullServerName?4() -> QString +QtNetwork.QLocalServer.serverError?4() -> QAbstractSocket.SocketError +QtNetwork.QLocalServer.setMaxPendingConnections?4(int) +QtNetwork.QLocalServer.waitForNewConnection?4(int msecs=0) -> (bool, bool) +QtNetwork.QLocalServer.removeServer?4(QString) -> bool +QtNetwork.QLocalServer.newConnection?4() +QtNetwork.QLocalServer.incomingConnection?4(quintptr) +QtNetwork.QLocalServer.setSocketOptions?4(QLocalServer.SocketOptions) +QtNetwork.QLocalServer.socketOptions?4() -> QLocalServer.SocketOptions +QtNetwork.QLocalServer.socketDescriptor?4() -> qintptr +QtNetwork.QLocalServer.SocketOptions?1() +QtNetwork.QLocalServer.SocketOptions.__init__?1(self) +QtNetwork.QLocalServer.SocketOptions?1(int) +QtNetwork.QLocalServer.SocketOptions.__init__?1(self, int) +QtNetwork.QLocalServer.SocketOptions?1(QLocalServer.SocketOptions) +QtNetwork.QLocalServer.SocketOptions.__init__?1(self, QLocalServer.SocketOptions) +QtNetwork.QLocalSocket.LocalSocketState?10 +QtNetwork.QLocalSocket.LocalSocketState.UnconnectedState?10 +QtNetwork.QLocalSocket.LocalSocketState.ConnectingState?10 +QtNetwork.QLocalSocket.LocalSocketState.ConnectedState?10 +QtNetwork.QLocalSocket.LocalSocketState.ClosingState?10 +QtNetwork.QLocalSocket.LocalSocketError?10 +QtNetwork.QLocalSocket.LocalSocketError.ConnectionRefusedError?10 +QtNetwork.QLocalSocket.LocalSocketError.PeerClosedError?10 +QtNetwork.QLocalSocket.LocalSocketError.ServerNotFoundError?10 +QtNetwork.QLocalSocket.LocalSocketError.SocketAccessError?10 +QtNetwork.QLocalSocket.LocalSocketError.SocketResourceError?10 +QtNetwork.QLocalSocket.LocalSocketError.SocketTimeoutError?10 +QtNetwork.QLocalSocket.LocalSocketError.DatagramTooLargeError?10 +QtNetwork.QLocalSocket.LocalSocketError.ConnectionError?10 +QtNetwork.QLocalSocket.LocalSocketError.UnsupportedSocketOperationError?10 +QtNetwork.QLocalSocket.LocalSocketError.OperationError?10 +QtNetwork.QLocalSocket.LocalSocketError.UnknownSocketError?10 +QtNetwork.QLocalSocket?1(QObject parent=None) +QtNetwork.QLocalSocket.__init__?1(self, QObject parent=None) +QtNetwork.QLocalSocket.connectToServer?4(QString, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtNetwork.QLocalSocket.connectToServer?4(QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtNetwork.QLocalSocket.disconnectFromServer?4() +QtNetwork.QLocalSocket.open?4(QIODevice.OpenMode mode=QIODevice.ReadWrite) -> bool +QtNetwork.QLocalSocket.serverName?4() -> QString +QtNetwork.QLocalSocket.setServerName?4(QString) +QtNetwork.QLocalSocket.fullServerName?4() -> QString +QtNetwork.QLocalSocket.abort?4() +QtNetwork.QLocalSocket.isSequential?4() -> bool +QtNetwork.QLocalSocket.bytesAvailable?4() -> int +QtNetwork.QLocalSocket.bytesToWrite?4() -> int +QtNetwork.QLocalSocket.canReadLine?4() -> bool +QtNetwork.QLocalSocket.close?4() +QtNetwork.QLocalSocket.error?4() -> QLocalSocket.LocalSocketError +QtNetwork.QLocalSocket.flush?4() -> bool +QtNetwork.QLocalSocket.isValid?4() -> bool +QtNetwork.QLocalSocket.readBufferSize?4() -> int +QtNetwork.QLocalSocket.setReadBufferSize?4(int) +QtNetwork.QLocalSocket.setSocketDescriptor?4(qintptr, QLocalSocket.LocalSocketState state=QLocalSocket.ConnectedState, QIODevice.OpenMode mode=QIODevice.ReadWrite) -> bool +QtNetwork.QLocalSocket.socketDescriptor?4() -> qintptr +QtNetwork.QLocalSocket.state?4() -> QLocalSocket.LocalSocketState +QtNetwork.QLocalSocket.waitForBytesWritten?4(int msecs=30000) -> bool +QtNetwork.QLocalSocket.waitForConnected?4(int msecs=30000) -> bool +QtNetwork.QLocalSocket.waitForDisconnected?4(int msecs=30000) -> bool +QtNetwork.QLocalSocket.waitForReadyRead?4(int msecs=30000) -> bool +QtNetwork.QLocalSocket.connected?4() +QtNetwork.QLocalSocket.disconnected?4() +QtNetwork.QLocalSocket.error?4(QLocalSocket.LocalSocketError) +QtNetwork.QLocalSocket.errorOccurred?4(QLocalSocket.LocalSocketError) +QtNetwork.QLocalSocket.stateChanged?4(QLocalSocket.LocalSocketState) +QtNetwork.QLocalSocket.readData?4(int) -> object +QtNetwork.QLocalSocket.writeData?4(bytes) -> int +QtNetwork.QNetworkAccessManager.NetworkAccessibility?10 +QtNetwork.QNetworkAccessManager.NetworkAccessibility.UnknownAccessibility?10 +QtNetwork.QNetworkAccessManager.NetworkAccessibility.NotAccessible?10 +QtNetwork.QNetworkAccessManager.NetworkAccessibility.Accessible?10 +QtNetwork.QNetworkAccessManager.Operation?10 +QtNetwork.QNetworkAccessManager.Operation.HeadOperation?10 +QtNetwork.QNetworkAccessManager.Operation.GetOperation?10 +QtNetwork.QNetworkAccessManager.Operation.PutOperation?10 +QtNetwork.QNetworkAccessManager.Operation.PostOperation?10 +QtNetwork.QNetworkAccessManager.Operation.DeleteOperation?10 +QtNetwork.QNetworkAccessManager.Operation.CustomOperation?10 +QtNetwork.QNetworkAccessManager?1(QObject parent=None) +QtNetwork.QNetworkAccessManager.__init__?1(self, QObject parent=None) +QtNetwork.QNetworkAccessManager.proxy?4() -> QNetworkProxy +QtNetwork.QNetworkAccessManager.setProxy?4(QNetworkProxy) +QtNetwork.QNetworkAccessManager.cookieJar?4() -> QNetworkCookieJar +QtNetwork.QNetworkAccessManager.setCookieJar?4(QNetworkCookieJar) +QtNetwork.QNetworkAccessManager.head?4(QNetworkRequest) -> QNetworkReply +QtNetwork.QNetworkAccessManager.get?4(QNetworkRequest) -> QNetworkReply +QtNetwork.QNetworkAccessManager.post?4(QNetworkRequest, QIODevice) -> QNetworkReply +QtNetwork.QNetworkAccessManager.post?4(QNetworkRequest, QByteArray) -> QNetworkReply +QtNetwork.QNetworkAccessManager.post?4(QNetworkRequest, QHttpMultiPart) -> QNetworkReply +QtNetwork.QNetworkAccessManager.put?4(QNetworkRequest, QIODevice) -> QNetworkReply +QtNetwork.QNetworkAccessManager.put?4(QNetworkRequest, QByteArray) -> QNetworkReply +QtNetwork.QNetworkAccessManager.put?4(QNetworkRequest, QHttpMultiPart) -> QNetworkReply +QtNetwork.QNetworkAccessManager.proxyAuthenticationRequired?4(QNetworkProxy, QAuthenticator) +QtNetwork.QNetworkAccessManager.authenticationRequired?4(QNetworkReply, QAuthenticator) +QtNetwork.QNetworkAccessManager.finished?4(QNetworkReply) +QtNetwork.QNetworkAccessManager.encrypted?4(QNetworkReply) +QtNetwork.QNetworkAccessManager.sslErrors?4(QNetworkReply, unknown-type) +QtNetwork.QNetworkAccessManager.networkAccessibleChanged?4(QNetworkAccessManager.NetworkAccessibility) +QtNetwork.QNetworkAccessManager.preSharedKeyAuthenticationRequired?4(QNetworkReply, QSslPreSharedKeyAuthenticator) +QtNetwork.QNetworkAccessManager.createRequest?4(QNetworkAccessManager.Operation, QNetworkRequest, QIODevice device=None) -> QNetworkReply +QtNetwork.QNetworkAccessManager.proxyFactory?4() -> QNetworkProxyFactory +QtNetwork.QNetworkAccessManager.setProxyFactory?4(QNetworkProxyFactory) +QtNetwork.QNetworkAccessManager.cache?4() -> QAbstractNetworkCache +QtNetwork.QNetworkAccessManager.setCache?4(QAbstractNetworkCache) +QtNetwork.QNetworkAccessManager.deleteResource?4(QNetworkRequest) -> QNetworkReply +QtNetwork.QNetworkAccessManager.sendCustomRequest?4(QNetworkRequest, QByteArray, QIODevice data=None) -> QNetworkReply +QtNetwork.QNetworkAccessManager.sendCustomRequest?4(QNetworkRequest, QByteArray, QByteArray) -> QNetworkReply +QtNetwork.QNetworkAccessManager.sendCustomRequest?4(QNetworkRequest, QByteArray, QHttpMultiPart) -> QNetworkReply +QtNetwork.QNetworkAccessManager.setConfiguration?4(QNetworkConfiguration) +QtNetwork.QNetworkAccessManager.configuration?4() -> QNetworkConfiguration +QtNetwork.QNetworkAccessManager.activeConfiguration?4() -> QNetworkConfiguration +QtNetwork.QNetworkAccessManager.setNetworkAccessible?4(QNetworkAccessManager.NetworkAccessibility) +QtNetwork.QNetworkAccessManager.networkAccessible?4() -> QNetworkAccessManager.NetworkAccessibility +QtNetwork.QNetworkAccessManager.clearAccessCache?4() +QtNetwork.QNetworkAccessManager.supportedSchemes?4() -> QStringList +QtNetwork.QNetworkAccessManager.connectToHostEncrypted?4(QString, int port=443, QSslConfiguration sslConfiguration=QSslConfiguration.defaultConfiguration()) +QtNetwork.QNetworkAccessManager.connectToHostEncrypted?4(QString, int, QSslConfiguration, QString) +QtNetwork.QNetworkAccessManager.connectToHost?4(QString, int port=80) +QtNetwork.QNetworkAccessManager.supportedSchemesImplementation?4() -> QStringList +QtNetwork.QNetworkAccessManager.clearConnectionCache?4() +QtNetwork.QNetworkAccessManager.setStrictTransportSecurityEnabled?4(bool) +QtNetwork.QNetworkAccessManager.isStrictTransportSecurityEnabled?4() -> bool +QtNetwork.QNetworkAccessManager.addStrictTransportSecurityHosts?4(unknown-type) +QtNetwork.QNetworkAccessManager.strictTransportSecurityHosts?4() -> unknown-type +QtNetwork.QNetworkAccessManager.setRedirectPolicy?4(QNetworkRequest.RedirectPolicy) +QtNetwork.QNetworkAccessManager.redirectPolicy?4() -> QNetworkRequest.RedirectPolicy +QtNetwork.QNetworkAccessManager.enableStrictTransportSecurityStore?4(bool, QString storeDir='') +QtNetwork.QNetworkAccessManager.isStrictTransportSecurityStoreEnabled?4() -> bool +QtNetwork.QNetworkAccessManager.autoDeleteReplies?4() -> bool +QtNetwork.QNetworkAccessManager.setAutoDeleteReplies?4(bool) +QtNetwork.QNetworkAccessManager.transferTimeout?4() -> int +QtNetwork.QNetworkAccessManager.setTransferTimeout?4(int timeout=QNetworkRequest.TransferTimeoutConstant.DefaultTransferTimeoutConstant) +QtNetwork.QNetworkConfigurationManager.Capability?10 +QtNetwork.QNetworkConfigurationManager.Capability.CanStartAndStopInterfaces?10 +QtNetwork.QNetworkConfigurationManager.Capability.DirectConnectionRouting?10 +QtNetwork.QNetworkConfigurationManager.Capability.SystemSessionSupport?10 +QtNetwork.QNetworkConfigurationManager.Capability.ApplicationLevelRoaming?10 +QtNetwork.QNetworkConfigurationManager.Capability.ForcedRoaming?10 +QtNetwork.QNetworkConfigurationManager.Capability.DataStatistics?10 +QtNetwork.QNetworkConfigurationManager.Capability.NetworkSessionRequired?10 +QtNetwork.QNetworkConfigurationManager?1(QObject parent=None) +QtNetwork.QNetworkConfigurationManager.__init__?1(self, QObject parent=None) +QtNetwork.QNetworkConfigurationManager.capabilities?4() -> QNetworkConfigurationManager.Capabilities +QtNetwork.QNetworkConfigurationManager.defaultConfiguration?4() -> QNetworkConfiguration +QtNetwork.QNetworkConfigurationManager.allConfigurations?4(QNetworkConfiguration.StateFlags flags=QNetworkConfiguration.StateFlags()) -> unknown-type +QtNetwork.QNetworkConfigurationManager.configurationFromIdentifier?4(QString) -> QNetworkConfiguration +QtNetwork.QNetworkConfigurationManager.updateConfigurations?4() +QtNetwork.QNetworkConfigurationManager.isOnline?4() -> bool +QtNetwork.QNetworkConfigurationManager.configurationAdded?4(QNetworkConfiguration) +QtNetwork.QNetworkConfigurationManager.configurationRemoved?4(QNetworkConfiguration) +QtNetwork.QNetworkConfigurationManager.configurationChanged?4(QNetworkConfiguration) +QtNetwork.QNetworkConfigurationManager.onlineStateChanged?4(bool) +QtNetwork.QNetworkConfigurationManager.updateCompleted?4() +QtNetwork.QNetworkConfigurationManager.Capabilities?1() +QtNetwork.QNetworkConfigurationManager.Capabilities.__init__?1(self) +QtNetwork.QNetworkConfigurationManager.Capabilities?1(int) +QtNetwork.QNetworkConfigurationManager.Capabilities.__init__?1(self, int) +QtNetwork.QNetworkConfigurationManager.Capabilities?1(QNetworkConfigurationManager.Capabilities) +QtNetwork.QNetworkConfigurationManager.Capabilities.__init__?1(self, QNetworkConfigurationManager.Capabilities) +QtNetwork.QNetworkConfiguration.BearerType?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerUnknown?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerEthernet?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerWLAN?10 +QtNetwork.QNetworkConfiguration.BearerType.Bearer2G?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerCDMA2000?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerWCDMA?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerHSPA?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerBluetooth?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerWiMAX?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerEVDO?10 +QtNetwork.QNetworkConfiguration.BearerType.BearerLTE?10 +QtNetwork.QNetworkConfiguration.BearerType.Bearer3G?10 +QtNetwork.QNetworkConfiguration.BearerType.Bearer4G?10 +QtNetwork.QNetworkConfiguration.StateFlag?10 +QtNetwork.QNetworkConfiguration.StateFlag.Undefined?10 +QtNetwork.QNetworkConfiguration.StateFlag.Defined?10 +QtNetwork.QNetworkConfiguration.StateFlag.Discovered?10 +QtNetwork.QNetworkConfiguration.StateFlag.Active?10 +QtNetwork.QNetworkConfiguration.Purpose?10 +QtNetwork.QNetworkConfiguration.Purpose.UnknownPurpose?10 +QtNetwork.QNetworkConfiguration.Purpose.PublicPurpose?10 +QtNetwork.QNetworkConfiguration.Purpose.PrivatePurpose?10 +QtNetwork.QNetworkConfiguration.Purpose.ServiceSpecificPurpose?10 +QtNetwork.QNetworkConfiguration.Type?10 +QtNetwork.QNetworkConfiguration.Type.InternetAccessPoint?10 +QtNetwork.QNetworkConfiguration.Type.ServiceNetwork?10 +QtNetwork.QNetworkConfiguration.Type.UserChoice?10 +QtNetwork.QNetworkConfiguration.Type.Invalid?10 +QtNetwork.QNetworkConfiguration?1() +QtNetwork.QNetworkConfiguration.__init__?1(self) +QtNetwork.QNetworkConfiguration?1(QNetworkConfiguration) +QtNetwork.QNetworkConfiguration.__init__?1(self, QNetworkConfiguration) +QtNetwork.QNetworkConfiguration.state?4() -> QNetworkConfiguration.StateFlags +QtNetwork.QNetworkConfiguration.type?4() -> QNetworkConfiguration.Type +QtNetwork.QNetworkConfiguration.purpose?4() -> QNetworkConfiguration.Purpose +QtNetwork.QNetworkConfiguration.bearerType?4() -> QNetworkConfiguration.BearerType +QtNetwork.QNetworkConfiguration.bearerTypeName?4() -> QString +QtNetwork.QNetworkConfiguration.bearerTypeFamily?4() -> QNetworkConfiguration.BearerType +QtNetwork.QNetworkConfiguration.identifier?4() -> QString +QtNetwork.QNetworkConfiguration.isRoamingAvailable?4() -> bool +QtNetwork.QNetworkConfiguration.children?4() -> unknown-type +QtNetwork.QNetworkConfiguration.name?4() -> QString +QtNetwork.QNetworkConfiguration.isValid?4() -> bool +QtNetwork.QNetworkConfiguration.swap?4(QNetworkConfiguration) +QtNetwork.QNetworkConfiguration.connectTimeout?4() -> int +QtNetwork.QNetworkConfiguration.setConnectTimeout?4(int) -> bool +QtNetwork.QNetworkConfiguration.StateFlags?1() +QtNetwork.QNetworkConfiguration.StateFlags.__init__?1(self) +QtNetwork.QNetworkConfiguration.StateFlags?1(int) +QtNetwork.QNetworkConfiguration.StateFlags.__init__?1(self, int) +QtNetwork.QNetworkConfiguration.StateFlags?1(QNetworkConfiguration.StateFlags) +QtNetwork.QNetworkConfiguration.StateFlags.__init__?1(self, QNetworkConfiguration.StateFlags) +QtNetwork.QNetworkCookie.RawForm?10 +QtNetwork.QNetworkCookie.RawForm.NameAndValueOnly?10 +QtNetwork.QNetworkCookie.RawForm.Full?10 +QtNetwork.QNetworkCookie?1(QByteArray name=QByteArray(), QByteArray value=QByteArray()) +QtNetwork.QNetworkCookie.__init__?1(self, QByteArray name=QByteArray(), QByteArray value=QByteArray()) +QtNetwork.QNetworkCookie?1(QNetworkCookie) +QtNetwork.QNetworkCookie.__init__?1(self, QNetworkCookie) +QtNetwork.QNetworkCookie.isSecure?4() -> bool +QtNetwork.QNetworkCookie.setSecure?4(bool) +QtNetwork.QNetworkCookie.isSessionCookie?4() -> bool +QtNetwork.QNetworkCookie.expirationDate?4() -> QDateTime +QtNetwork.QNetworkCookie.setExpirationDate?4(QDateTime) +QtNetwork.QNetworkCookie.domain?4() -> QString +QtNetwork.QNetworkCookie.setDomain?4(QString) +QtNetwork.QNetworkCookie.path?4() -> QString +QtNetwork.QNetworkCookie.setPath?4(QString) +QtNetwork.QNetworkCookie.name?4() -> QByteArray +QtNetwork.QNetworkCookie.setName?4(QByteArray) +QtNetwork.QNetworkCookie.value?4() -> QByteArray +QtNetwork.QNetworkCookie.setValue?4(QByteArray) +QtNetwork.QNetworkCookie.toRawForm?4(QNetworkCookie.RawForm form=QNetworkCookie.Full) -> QByteArray +QtNetwork.QNetworkCookie.parseCookies?4(QByteArray) -> unknown-type +QtNetwork.QNetworkCookie.isHttpOnly?4() -> bool +QtNetwork.QNetworkCookie.setHttpOnly?4(bool) +QtNetwork.QNetworkCookie.swap?4(QNetworkCookie) +QtNetwork.QNetworkCookie.hasSameIdentifier?4(QNetworkCookie) -> bool +QtNetwork.QNetworkCookie.normalize?4(QUrl) +QtNetwork.QNetworkCookieJar?1(QObject parent=None) +QtNetwork.QNetworkCookieJar.__init__?1(self, QObject parent=None) +QtNetwork.QNetworkCookieJar.cookiesForUrl?4(QUrl) -> unknown-type +QtNetwork.QNetworkCookieJar.setCookiesFromUrl?4(unknown-type, QUrl) -> bool +QtNetwork.QNetworkCookieJar.insertCookie?4(QNetworkCookie) -> bool +QtNetwork.QNetworkCookieJar.updateCookie?4(QNetworkCookie) -> bool +QtNetwork.QNetworkCookieJar.deleteCookie?4(QNetworkCookie) -> bool +QtNetwork.QNetworkCookieJar.setAllCookies?4(unknown-type) +QtNetwork.QNetworkCookieJar.allCookies?4() -> unknown-type +QtNetwork.QNetworkCookieJar.validateCookie?4(QNetworkCookie, QUrl) -> bool +QtNetwork.QNetworkDatagram?1() +QtNetwork.QNetworkDatagram.__init__?1(self) +QtNetwork.QNetworkDatagram?1(QByteArray, QHostAddress destinationAddress=QHostAddress(), int port=0) +QtNetwork.QNetworkDatagram.__init__?1(self, QByteArray, QHostAddress destinationAddress=QHostAddress(), int port=0) +QtNetwork.QNetworkDatagram?1(QNetworkDatagram) +QtNetwork.QNetworkDatagram.__init__?1(self, QNetworkDatagram) +QtNetwork.QNetworkDatagram.swap?4(QNetworkDatagram) +QtNetwork.QNetworkDatagram.clear?4() +QtNetwork.QNetworkDatagram.isValid?4() -> bool +QtNetwork.QNetworkDatagram.isNull?4() -> bool +QtNetwork.QNetworkDatagram.interfaceIndex?4() -> int +QtNetwork.QNetworkDatagram.setInterfaceIndex?4(int) +QtNetwork.QNetworkDatagram.senderAddress?4() -> QHostAddress +QtNetwork.QNetworkDatagram.destinationAddress?4() -> QHostAddress +QtNetwork.QNetworkDatagram.senderPort?4() -> int +QtNetwork.QNetworkDatagram.destinationPort?4() -> int +QtNetwork.QNetworkDatagram.setSender?4(QHostAddress, int port=0) +QtNetwork.QNetworkDatagram.setDestination?4(QHostAddress, int) +QtNetwork.QNetworkDatagram.hopLimit?4() -> int +QtNetwork.QNetworkDatagram.setHopLimit?4(int) +QtNetwork.QNetworkDatagram.data?4() -> QByteArray +QtNetwork.QNetworkDatagram.setData?4(QByteArray) +QtNetwork.QNetworkDatagram.makeReply?4(QByteArray) -> QNetworkDatagram +QtNetwork.QNetworkDiskCache?1(QObject parent=None) +QtNetwork.QNetworkDiskCache.__init__?1(self, QObject parent=None) +QtNetwork.QNetworkDiskCache.cacheDirectory?4() -> QString +QtNetwork.QNetworkDiskCache.setCacheDirectory?4(QString) +QtNetwork.QNetworkDiskCache.maximumCacheSize?4() -> int +QtNetwork.QNetworkDiskCache.setMaximumCacheSize?4(int) +QtNetwork.QNetworkDiskCache.cacheSize?4() -> int +QtNetwork.QNetworkDiskCache.metaData?4(QUrl) -> QNetworkCacheMetaData +QtNetwork.QNetworkDiskCache.updateMetaData?4(QNetworkCacheMetaData) +QtNetwork.QNetworkDiskCache.data?4(QUrl) -> QIODevice +QtNetwork.QNetworkDiskCache.remove?4(QUrl) -> bool +QtNetwork.QNetworkDiskCache.prepare?4(QNetworkCacheMetaData) -> QIODevice +QtNetwork.QNetworkDiskCache.insert?4(QIODevice) +QtNetwork.QNetworkDiskCache.fileMetaData?4(QString) -> QNetworkCacheMetaData +QtNetwork.QNetworkDiskCache.clear?4() +QtNetwork.QNetworkDiskCache.expire?4() -> int +QtNetwork.QNetworkAddressEntry.DnsEligibilityStatus?10 +QtNetwork.QNetworkAddressEntry.DnsEligibilityStatus.DnsEligibilityUnknown?10 +QtNetwork.QNetworkAddressEntry.DnsEligibilityStatus.DnsIneligible?10 +QtNetwork.QNetworkAddressEntry.DnsEligibilityStatus.DnsEligible?10 +QtNetwork.QNetworkAddressEntry?1() +QtNetwork.QNetworkAddressEntry.__init__?1(self) +QtNetwork.QNetworkAddressEntry?1(QNetworkAddressEntry) +QtNetwork.QNetworkAddressEntry.__init__?1(self, QNetworkAddressEntry) +QtNetwork.QNetworkAddressEntry.ip?4() -> QHostAddress +QtNetwork.QNetworkAddressEntry.setIp?4(QHostAddress) +QtNetwork.QNetworkAddressEntry.netmask?4() -> QHostAddress +QtNetwork.QNetworkAddressEntry.setNetmask?4(QHostAddress) +QtNetwork.QNetworkAddressEntry.broadcast?4() -> QHostAddress +QtNetwork.QNetworkAddressEntry.setBroadcast?4(QHostAddress) +QtNetwork.QNetworkAddressEntry.prefixLength?4() -> int +QtNetwork.QNetworkAddressEntry.setPrefixLength?4(int) +QtNetwork.QNetworkAddressEntry.swap?4(QNetworkAddressEntry) +QtNetwork.QNetworkAddressEntry.dnsEligibility?4() -> QNetworkAddressEntry.DnsEligibilityStatus +QtNetwork.QNetworkAddressEntry.setDnsEligibility?4(QNetworkAddressEntry.DnsEligibilityStatus) +QtNetwork.QNetworkAddressEntry.isLifetimeKnown?4() -> bool +QtNetwork.QNetworkAddressEntry.preferredLifetime?4() -> QDeadlineTimer +QtNetwork.QNetworkAddressEntry.validityLifetime?4() -> QDeadlineTimer +QtNetwork.QNetworkAddressEntry.setAddressLifetime?4(QDeadlineTimer, QDeadlineTimer) +QtNetwork.QNetworkAddressEntry.clearAddressLifetime?4() +QtNetwork.QNetworkAddressEntry.isPermanent?4() -> bool +QtNetwork.QNetworkAddressEntry.isTemporary?4() -> bool +QtNetwork.QNetworkInterface.InterfaceType?10 +QtNetwork.QNetworkInterface.InterfaceType.Unknown?10 +QtNetwork.QNetworkInterface.InterfaceType.Loopback?10 +QtNetwork.QNetworkInterface.InterfaceType.Virtual?10 +QtNetwork.QNetworkInterface.InterfaceType.Ethernet?10 +QtNetwork.QNetworkInterface.InterfaceType.Slip?10 +QtNetwork.QNetworkInterface.InterfaceType.CanBus?10 +QtNetwork.QNetworkInterface.InterfaceType.Ppp?10 +QtNetwork.QNetworkInterface.InterfaceType.Fddi?10 +QtNetwork.QNetworkInterface.InterfaceType.Wifi?10 +QtNetwork.QNetworkInterface.InterfaceType.Ieee80211?10 +QtNetwork.QNetworkInterface.InterfaceType.Phonet?10 +QtNetwork.QNetworkInterface.InterfaceType.Ieee802154?10 +QtNetwork.QNetworkInterface.InterfaceType.SixLoWPAN?10 +QtNetwork.QNetworkInterface.InterfaceType.Ieee80216?10 +QtNetwork.QNetworkInterface.InterfaceType.Ieee1394?10 +QtNetwork.QNetworkInterface.InterfaceFlag?10 +QtNetwork.QNetworkInterface.InterfaceFlag.IsUp?10 +QtNetwork.QNetworkInterface.InterfaceFlag.IsRunning?10 +QtNetwork.QNetworkInterface.InterfaceFlag.CanBroadcast?10 +QtNetwork.QNetworkInterface.InterfaceFlag.IsLoopBack?10 +QtNetwork.QNetworkInterface.InterfaceFlag.IsPointToPoint?10 +QtNetwork.QNetworkInterface.InterfaceFlag.CanMulticast?10 +QtNetwork.QNetworkInterface?1() +QtNetwork.QNetworkInterface.__init__?1(self) +QtNetwork.QNetworkInterface?1(QNetworkInterface) +QtNetwork.QNetworkInterface.__init__?1(self, QNetworkInterface) +QtNetwork.QNetworkInterface.isValid?4() -> bool +QtNetwork.QNetworkInterface.name?4() -> QString +QtNetwork.QNetworkInterface.flags?4() -> QNetworkInterface.InterfaceFlags +QtNetwork.QNetworkInterface.hardwareAddress?4() -> QString +QtNetwork.QNetworkInterface.addressEntries?4() -> unknown-type +QtNetwork.QNetworkInterface.interfaceFromName?4(QString) -> QNetworkInterface +QtNetwork.QNetworkInterface.interfaceFromIndex?4(int) -> QNetworkInterface +QtNetwork.QNetworkInterface.allInterfaces?4() -> unknown-type +QtNetwork.QNetworkInterface.allAddresses?4() -> unknown-type +QtNetwork.QNetworkInterface.index?4() -> int +QtNetwork.QNetworkInterface.humanReadableName?4() -> QString +QtNetwork.QNetworkInterface.swap?4(QNetworkInterface) +QtNetwork.QNetworkInterface.interfaceIndexFromName?4(QString) -> int +QtNetwork.QNetworkInterface.interfaceNameFromIndex?4(int) -> QString +QtNetwork.QNetworkInterface.type?4() -> QNetworkInterface.InterfaceType +QtNetwork.QNetworkInterface.maximumTransmissionUnit?4() -> int +QtNetwork.QNetworkInterface.InterfaceFlags?1() +QtNetwork.QNetworkInterface.InterfaceFlags.__init__?1(self) +QtNetwork.QNetworkInterface.InterfaceFlags?1(int) +QtNetwork.QNetworkInterface.InterfaceFlags.__init__?1(self, int) +QtNetwork.QNetworkInterface.InterfaceFlags?1(QNetworkInterface.InterfaceFlags) +QtNetwork.QNetworkInterface.InterfaceFlags.__init__?1(self, QNetworkInterface.InterfaceFlags) +QtNetwork.QNetworkProxy.Capability?10 +QtNetwork.QNetworkProxy.Capability.TunnelingCapability?10 +QtNetwork.QNetworkProxy.Capability.ListeningCapability?10 +QtNetwork.QNetworkProxy.Capability.UdpTunnelingCapability?10 +QtNetwork.QNetworkProxy.Capability.CachingCapability?10 +QtNetwork.QNetworkProxy.Capability.HostNameLookupCapability?10 +QtNetwork.QNetworkProxy.Capability.SctpTunnelingCapability?10 +QtNetwork.QNetworkProxy.Capability.SctpListeningCapability?10 +QtNetwork.QNetworkProxy.ProxyType?10 +QtNetwork.QNetworkProxy.ProxyType.DefaultProxy?10 +QtNetwork.QNetworkProxy.ProxyType.Socks5Proxy?10 +QtNetwork.QNetworkProxy.ProxyType.NoProxy?10 +QtNetwork.QNetworkProxy.ProxyType.HttpProxy?10 +QtNetwork.QNetworkProxy.ProxyType.HttpCachingProxy?10 +QtNetwork.QNetworkProxy.ProxyType.FtpCachingProxy?10 +QtNetwork.QNetworkProxy?1() +QtNetwork.QNetworkProxy.__init__?1(self) +QtNetwork.QNetworkProxy?1(QNetworkProxy.ProxyType, QString hostName='', int port=0, QString user='', QString password='') +QtNetwork.QNetworkProxy.__init__?1(self, QNetworkProxy.ProxyType, QString hostName='', int port=0, QString user='', QString password='') +QtNetwork.QNetworkProxy?1(QNetworkProxy) +QtNetwork.QNetworkProxy.__init__?1(self, QNetworkProxy) +QtNetwork.QNetworkProxy.setType?4(QNetworkProxy.ProxyType) +QtNetwork.QNetworkProxy.type?4() -> QNetworkProxy.ProxyType +QtNetwork.QNetworkProxy.setUser?4(QString) +QtNetwork.QNetworkProxy.user?4() -> QString +QtNetwork.QNetworkProxy.setPassword?4(QString) +QtNetwork.QNetworkProxy.password?4() -> QString +QtNetwork.QNetworkProxy.setHostName?4(QString) +QtNetwork.QNetworkProxy.hostName?4() -> QString +QtNetwork.QNetworkProxy.setPort?4(int) +QtNetwork.QNetworkProxy.port?4() -> int +QtNetwork.QNetworkProxy.setApplicationProxy?4(QNetworkProxy) +QtNetwork.QNetworkProxy.applicationProxy?4() -> QNetworkProxy +QtNetwork.QNetworkProxy.isCachingProxy?4() -> bool +QtNetwork.QNetworkProxy.isTransparentProxy?4() -> bool +QtNetwork.QNetworkProxy.setCapabilities?4(QNetworkProxy.Capabilities) +QtNetwork.QNetworkProxy.capabilities?4() -> QNetworkProxy.Capabilities +QtNetwork.QNetworkProxy.swap?4(QNetworkProxy) +QtNetwork.QNetworkProxy.header?4(QNetworkRequest.KnownHeaders) -> QVariant +QtNetwork.QNetworkProxy.setHeader?4(QNetworkRequest.KnownHeaders, QVariant) +QtNetwork.QNetworkProxy.hasRawHeader?4(QByteArray) -> bool +QtNetwork.QNetworkProxy.rawHeaderList?4() -> unknown-type +QtNetwork.QNetworkProxy.rawHeader?4(QByteArray) -> QByteArray +QtNetwork.QNetworkProxy.setRawHeader?4(QByteArray, QByteArray) +QtNetwork.QNetworkProxy.Capabilities?1() +QtNetwork.QNetworkProxy.Capabilities.__init__?1(self) +QtNetwork.QNetworkProxy.Capabilities?1(int) +QtNetwork.QNetworkProxy.Capabilities.__init__?1(self, int) +QtNetwork.QNetworkProxy.Capabilities?1(QNetworkProxy.Capabilities) +QtNetwork.QNetworkProxy.Capabilities.__init__?1(self, QNetworkProxy.Capabilities) +QtNetwork.QNetworkProxyQuery.QueryType?10 +QtNetwork.QNetworkProxyQuery.QueryType.TcpSocket?10 +QtNetwork.QNetworkProxyQuery.QueryType.UdpSocket?10 +QtNetwork.QNetworkProxyQuery.QueryType.TcpServer?10 +QtNetwork.QNetworkProxyQuery.QueryType.UrlRequest?10 +QtNetwork.QNetworkProxyQuery.QueryType.SctpSocket?10 +QtNetwork.QNetworkProxyQuery.QueryType.SctpServer?10 +QtNetwork.QNetworkProxyQuery?1() +QtNetwork.QNetworkProxyQuery.__init__?1(self) +QtNetwork.QNetworkProxyQuery?1(QUrl, QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.UrlRequest) +QtNetwork.QNetworkProxyQuery.__init__?1(self, QUrl, QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.UrlRequest) +QtNetwork.QNetworkProxyQuery?1(QString, int, QString protocolTag='', QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.TcpSocket) +QtNetwork.QNetworkProxyQuery.__init__?1(self, QString, int, QString protocolTag='', QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.TcpSocket) +QtNetwork.QNetworkProxyQuery?1(int, QString protocolTag='', QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.TcpServer) +QtNetwork.QNetworkProxyQuery.__init__?1(self, int, QString protocolTag='', QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.TcpServer) +QtNetwork.QNetworkProxyQuery?1(QNetworkConfiguration, QUrl, QNetworkProxyQuery.QueryType queryType=QNetworkProxyQuery.UrlRequest) +QtNetwork.QNetworkProxyQuery.__init__?1(self, QNetworkConfiguration, QUrl, QNetworkProxyQuery.QueryType queryType=QNetworkProxyQuery.UrlRequest) +QtNetwork.QNetworkProxyQuery?1(QNetworkConfiguration, QString, int, QString protocolTag='', QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.TcpSocket) +QtNetwork.QNetworkProxyQuery.__init__?1(self, QNetworkConfiguration, QString, int, QString protocolTag='', QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.TcpSocket) +QtNetwork.QNetworkProxyQuery?1(QNetworkConfiguration, int, QString protocolTag='', QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.TcpServer) +QtNetwork.QNetworkProxyQuery.__init__?1(self, QNetworkConfiguration, int, QString protocolTag='', QNetworkProxyQuery.QueryType type=QNetworkProxyQuery.TcpServer) +QtNetwork.QNetworkProxyQuery?1(QNetworkProxyQuery) +QtNetwork.QNetworkProxyQuery.__init__?1(self, QNetworkProxyQuery) +QtNetwork.QNetworkProxyQuery.queryType?4() -> QNetworkProxyQuery.QueryType +QtNetwork.QNetworkProxyQuery.setQueryType?4(QNetworkProxyQuery.QueryType) +QtNetwork.QNetworkProxyQuery.peerPort?4() -> int +QtNetwork.QNetworkProxyQuery.setPeerPort?4(int) +QtNetwork.QNetworkProxyQuery.peerHostName?4() -> QString +QtNetwork.QNetworkProxyQuery.setPeerHostName?4(QString) +QtNetwork.QNetworkProxyQuery.localPort?4() -> int +QtNetwork.QNetworkProxyQuery.setLocalPort?4(int) +QtNetwork.QNetworkProxyQuery.protocolTag?4() -> QString +QtNetwork.QNetworkProxyQuery.setProtocolTag?4(QString) +QtNetwork.QNetworkProxyQuery.url?4() -> QUrl +QtNetwork.QNetworkProxyQuery.setUrl?4(QUrl) +QtNetwork.QNetworkProxyQuery.networkConfiguration?4() -> QNetworkConfiguration +QtNetwork.QNetworkProxyQuery.setNetworkConfiguration?4(QNetworkConfiguration) +QtNetwork.QNetworkProxyQuery.swap?4(QNetworkProxyQuery) +QtNetwork.QNetworkProxyFactory?1() +QtNetwork.QNetworkProxyFactory.__init__?1(self) +QtNetwork.QNetworkProxyFactory?1(QNetworkProxyFactory) +QtNetwork.QNetworkProxyFactory.__init__?1(self, QNetworkProxyFactory) +QtNetwork.QNetworkProxyFactory.queryProxy?4(QNetworkProxyQuery query=QNetworkProxyQuery()) -> unknown-type +QtNetwork.QNetworkProxyFactory.setApplicationProxyFactory?4(QNetworkProxyFactory) +QtNetwork.QNetworkProxyFactory.proxyForQuery?4(QNetworkProxyQuery) -> unknown-type +QtNetwork.QNetworkProxyFactory.systemProxyForQuery?4(QNetworkProxyQuery query=QNetworkProxyQuery()) -> unknown-type +QtNetwork.QNetworkProxyFactory.setUseSystemConfiguration?4(bool) +QtNetwork.QNetworkProxyFactory.usesSystemConfiguration?4() -> bool +QtNetwork.QNetworkReply.NetworkError?10 +QtNetwork.QNetworkReply.NetworkError.NoError?10 +QtNetwork.QNetworkReply.NetworkError.ConnectionRefusedError?10 +QtNetwork.QNetworkReply.NetworkError.RemoteHostClosedError?10 +QtNetwork.QNetworkReply.NetworkError.HostNotFoundError?10 +QtNetwork.QNetworkReply.NetworkError.TimeoutError?10 +QtNetwork.QNetworkReply.NetworkError.OperationCanceledError?10 +QtNetwork.QNetworkReply.NetworkError.SslHandshakeFailedError?10 +QtNetwork.QNetworkReply.NetworkError.UnknownNetworkError?10 +QtNetwork.QNetworkReply.NetworkError.ProxyConnectionRefusedError?10 +QtNetwork.QNetworkReply.NetworkError.ProxyConnectionClosedError?10 +QtNetwork.QNetworkReply.NetworkError.ProxyNotFoundError?10 +QtNetwork.QNetworkReply.NetworkError.ProxyTimeoutError?10 +QtNetwork.QNetworkReply.NetworkError.ProxyAuthenticationRequiredError?10 +QtNetwork.QNetworkReply.NetworkError.UnknownProxyError?10 +QtNetwork.QNetworkReply.NetworkError.ContentAccessDenied?10 +QtNetwork.QNetworkReply.NetworkError.ContentOperationNotPermittedError?10 +QtNetwork.QNetworkReply.NetworkError.ContentNotFoundError?10 +QtNetwork.QNetworkReply.NetworkError.AuthenticationRequiredError?10 +QtNetwork.QNetworkReply.NetworkError.UnknownContentError?10 +QtNetwork.QNetworkReply.NetworkError.ProtocolUnknownError?10 +QtNetwork.QNetworkReply.NetworkError.ProtocolInvalidOperationError?10 +QtNetwork.QNetworkReply.NetworkError.ProtocolFailure?10 +QtNetwork.QNetworkReply.NetworkError.ContentReSendError?10 +QtNetwork.QNetworkReply.NetworkError.TemporaryNetworkFailureError?10 +QtNetwork.QNetworkReply.NetworkError.NetworkSessionFailedError?10 +QtNetwork.QNetworkReply.NetworkError.BackgroundRequestNotAllowedError?10 +QtNetwork.QNetworkReply.NetworkError.ContentConflictError?10 +QtNetwork.QNetworkReply.NetworkError.ContentGoneError?10 +QtNetwork.QNetworkReply.NetworkError.InternalServerError?10 +QtNetwork.QNetworkReply.NetworkError.OperationNotImplementedError?10 +QtNetwork.QNetworkReply.NetworkError.ServiceUnavailableError?10 +QtNetwork.QNetworkReply.NetworkError.UnknownServerError?10 +QtNetwork.QNetworkReply.NetworkError.TooManyRedirectsError?10 +QtNetwork.QNetworkReply.NetworkError.InsecureRedirectError?10 +QtNetwork.QNetworkReply?1(QObject parent=None) +QtNetwork.QNetworkReply.__init__?1(self, QObject parent=None) +QtNetwork.QNetworkReply.abort?4() +QtNetwork.QNetworkReply.close?4() +QtNetwork.QNetworkReply.isSequential?4() -> bool +QtNetwork.QNetworkReply.readBufferSize?4() -> int +QtNetwork.QNetworkReply.setReadBufferSize?4(int) +QtNetwork.QNetworkReply.manager?4() -> QNetworkAccessManager +QtNetwork.QNetworkReply.operation?4() -> QNetworkAccessManager.Operation +QtNetwork.QNetworkReply.request?4() -> QNetworkRequest +QtNetwork.QNetworkReply.error?4() -> QNetworkReply.NetworkError +QtNetwork.QNetworkReply.url?4() -> QUrl +QtNetwork.QNetworkReply.header?4(QNetworkRequest.KnownHeaders) -> QVariant +QtNetwork.QNetworkReply.hasRawHeader?4(QByteArray) -> bool +QtNetwork.QNetworkReply.rawHeaderList?4() -> unknown-type +QtNetwork.QNetworkReply.rawHeader?4(QByteArray) -> QByteArray +QtNetwork.QNetworkReply.attribute?4(QNetworkRequest.Attribute) -> QVariant +QtNetwork.QNetworkReply.sslConfiguration?4() -> QSslConfiguration +QtNetwork.QNetworkReply.setSslConfiguration?4(QSslConfiguration) +QtNetwork.QNetworkReply.ignoreSslErrors?4() +QtNetwork.QNetworkReply.metaDataChanged?4() +QtNetwork.QNetworkReply.finished?4() +QtNetwork.QNetworkReply.encrypted?4() +QtNetwork.QNetworkReply.error?4(QNetworkReply.NetworkError) +QtNetwork.QNetworkReply.errorOccurred?4(QNetworkReply.NetworkError) +QtNetwork.QNetworkReply.sslErrors?4(unknown-type) +QtNetwork.QNetworkReply.uploadProgress?4(int, int) +QtNetwork.QNetworkReply.downloadProgress?4(int, int) +QtNetwork.QNetworkReply.preSharedKeyAuthenticationRequired?4(QSslPreSharedKeyAuthenticator) +QtNetwork.QNetworkReply.redirected?4(QUrl) +QtNetwork.QNetworkReply.redirectAllowed?4() +QtNetwork.QNetworkReply.writeData?4(bytes) -> int +QtNetwork.QNetworkReply.setOperation?4(QNetworkAccessManager.Operation) +QtNetwork.QNetworkReply.setRequest?4(QNetworkRequest) +QtNetwork.QNetworkReply.setError?4(QNetworkReply.NetworkError, QString) +QtNetwork.QNetworkReply.setUrl?4(QUrl) +QtNetwork.QNetworkReply.setHeader?4(QNetworkRequest.KnownHeaders, QVariant) +QtNetwork.QNetworkReply.setRawHeader?4(QByteArray, QByteArray) +QtNetwork.QNetworkReply.setAttribute?4(QNetworkRequest.Attribute, QVariant) +QtNetwork.QNetworkReply.setFinished?4(bool) +QtNetwork.QNetworkReply.isFinished?4() -> bool +QtNetwork.QNetworkReply.isRunning?4() -> bool +QtNetwork.QNetworkReply.ignoreSslErrors?4(unknown-type) +QtNetwork.QNetworkReply.rawHeaderPairs?4() -> unknown-type +QtNetwork.QNetworkReply.sslConfigurationImplementation?4(QSslConfiguration) +QtNetwork.QNetworkReply.setSslConfigurationImplementation?4(QSslConfiguration) +QtNetwork.QNetworkReply.ignoreSslErrorsImplementation?4(unknown-type) +QtNetwork.QNetworkRequest.TransferTimeoutConstant?10 +QtNetwork.QNetworkRequest.TransferTimeoutConstant.DefaultTransferTimeoutConstant?10 +QtNetwork.QNetworkRequest.RedirectPolicy?10 +QtNetwork.QNetworkRequest.RedirectPolicy.ManualRedirectPolicy?10 +QtNetwork.QNetworkRequest.RedirectPolicy.NoLessSafeRedirectPolicy?10 +QtNetwork.QNetworkRequest.RedirectPolicy.SameOriginRedirectPolicy?10 +QtNetwork.QNetworkRequest.RedirectPolicy.UserVerifiedRedirectPolicy?10 +QtNetwork.QNetworkRequest.Priority?10 +QtNetwork.QNetworkRequest.Priority.HighPriority?10 +QtNetwork.QNetworkRequest.Priority.NormalPriority?10 +QtNetwork.QNetworkRequest.Priority.LowPriority?10 +QtNetwork.QNetworkRequest.LoadControl?10 +QtNetwork.QNetworkRequest.LoadControl.Automatic?10 +QtNetwork.QNetworkRequest.LoadControl.Manual?10 +QtNetwork.QNetworkRequest.CacheLoadControl?10 +QtNetwork.QNetworkRequest.CacheLoadControl.AlwaysNetwork?10 +QtNetwork.QNetworkRequest.CacheLoadControl.PreferNetwork?10 +QtNetwork.QNetworkRequest.CacheLoadControl.PreferCache?10 +QtNetwork.QNetworkRequest.CacheLoadControl.AlwaysCache?10 +QtNetwork.QNetworkRequest.Attribute?10 +QtNetwork.QNetworkRequest.Attribute.HttpStatusCodeAttribute?10 +QtNetwork.QNetworkRequest.Attribute.HttpReasonPhraseAttribute?10 +QtNetwork.QNetworkRequest.Attribute.RedirectionTargetAttribute?10 +QtNetwork.QNetworkRequest.Attribute.ConnectionEncryptedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.CacheLoadControlAttribute?10 +QtNetwork.QNetworkRequest.Attribute.CacheSaveControlAttribute?10 +QtNetwork.QNetworkRequest.Attribute.SourceIsFromCacheAttribute?10 +QtNetwork.QNetworkRequest.Attribute.DoNotBufferUploadDataAttribute?10 +QtNetwork.QNetworkRequest.Attribute.HttpPipeliningAllowedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.HttpPipeliningWasUsedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.CustomVerbAttribute?10 +QtNetwork.QNetworkRequest.Attribute.CookieLoadControlAttribute?10 +QtNetwork.QNetworkRequest.Attribute.AuthenticationReuseAttribute?10 +QtNetwork.QNetworkRequest.Attribute.CookieSaveControlAttribute?10 +QtNetwork.QNetworkRequest.Attribute.BackgroundRequestAttribute?10 +QtNetwork.QNetworkRequest.Attribute.SpdyAllowedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.SpdyWasUsedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.EmitAllUploadProgressSignalsAttribute?10 +QtNetwork.QNetworkRequest.Attribute.FollowRedirectsAttribute?10 +QtNetwork.QNetworkRequest.Attribute.HTTP2AllowedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.Http2AllowedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.HTTP2WasUsedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.Http2WasUsedAttribute?10 +QtNetwork.QNetworkRequest.Attribute.OriginalContentLengthAttribute?10 +QtNetwork.QNetworkRequest.Attribute.RedirectPolicyAttribute?10 +QtNetwork.QNetworkRequest.Attribute.Http2DirectAttribute?10 +QtNetwork.QNetworkRequest.Attribute.AutoDeleteReplyOnFinishAttribute?10 +QtNetwork.QNetworkRequest.Attribute.User?10 +QtNetwork.QNetworkRequest.Attribute.UserMax?10 +QtNetwork.QNetworkRequest.KnownHeaders?10 +QtNetwork.QNetworkRequest.KnownHeaders.ContentTypeHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.ContentLengthHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.LocationHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.LastModifiedHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.CookieHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.SetCookieHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.ContentDispositionHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.UserAgentHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.ServerHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.IfModifiedSinceHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.ETagHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.IfMatchHeader?10 +QtNetwork.QNetworkRequest.KnownHeaders.IfNoneMatchHeader?10 +QtNetwork.QNetworkRequest?1(QUrl url=QUrl()) +QtNetwork.QNetworkRequest.__init__?1(self, QUrl url=QUrl()) +QtNetwork.QNetworkRequest?1(QNetworkRequest) +QtNetwork.QNetworkRequest.__init__?1(self, QNetworkRequest) +QtNetwork.QNetworkRequest.url?4() -> QUrl +QtNetwork.QNetworkRequest.setUrl?4(QUrl) +QtNetwork.QNetworkRequest.header?4(QNetworkRequest.KnownHeaders) -> QVariant +QtNetwork.QNetworkRequest.setHeader?4(QNetworkRequest.KnownHeaders, QVariant) +QtNetwork.QNetworkRequest.hasRawHeader?4(QByteArray) -> bool +QtNetwork.QNetworkRequest.rawHeaderList?4() -> unknown-type +QtNetwork.QNetworkRequest.rawHeader?4(QByteArray) -> QByteArray +QtNetwork.QNetworkRequest.setRawHeader?4(QByteArray, QByteArray) +QtNetwork.QNetworkRequest.attribute?4(QNetworkRequest.Attribute, QVariant defaultValue=None) -> QVariant +QtNetwork.QNetworkRequest.setAttribute?4(QNetworkRequest.Attribute, QVariant) +QtNetwork.QNetworkRequest.sslConfiguration?4() -> QSslConfiguration +QtNetwork.QNetworkRequest.setSslConfiguration?4(QSslConfiguration) +QtNetwork.QNetworkRequest.setOriginatingObject?4(QObject) +QtNetwork.QNetworkRequest.originatingObject?4() -> QObject +QtNetwork.QNetworkRequest.priority?4() -> QNetworkRequest.Priority +QtNetwork.QNetworkRequest.setPriority?4(QNetworkRequest.Priority) +QtNetwork.QNetworkRequest.swap?4(QNetworkRequest) +QtNetwork.QNetworkRequest.maximumRedirectsAllowed?4() -> int +QtNetwork.QNetworkRequest.setMaximumRedirectsAllowed?4(int) +QtNetwork.QNetworkRequest.peerVerifyName?4() -> QString +QtNetwork.QNetworkRequest.setPeerVerifyName?4(QString) +QtNetwork.QNetworkRequest.http2Configuration?4() -> QHttp2Configuration +QtNetwork.QNetworkRequest.setHttp2Configuration?4(QHttp2Configuration) +QtNetwork.QNetworkRequest.transferTimeout?4() -> int +QtNetwork.QNetworkRequest.setTransferTimeout?4(int timeout=QNetworkRequest.TransferTimeoutConstant.DefaultTransferTimeoutConstant) +QtNetwork.QNetworkSession.UsagePolicy?10 +QtNetwork.QNetworkSession.UsagePolicy.NoPolicy?10 +QtNetwork.QNetworkSession.UsagePolicy.NoBackgroundTrafficPolicy?10 +QtNetwork.QNetworkSession.SessionError?10 +QtNetwork.QNetworkSession.SessionError.UnknownSessionError?10 +QtNetwork.QNetworkSession.SessionError.SessionAbortedError?10 +QtNetwork.QNetworkSession.SessionError.RoamingError?10 +QtNetwork.QNetworkSession.SessionError.OperationNotSupportedError?10 +QtNetwork.QNetworkSession.SessionError.InvalidConfigurationError?10 +QtNetwork.QNetworkSession.State?10 +QtNetwork.QNetworkSession.State.Invalid?10 +QtNetwork.QNetworkSession.State.NotAvailable?10 +QtNetwork.QNetworkSession.State.Connecting?10 +QtNetwork.QNetworkSession.State.Connected?10 +QtNetwork.QNetworkSession.State.Closing?10 +QtNetwork.QNetworkSession.State.Disconnected?10 +QtNetwork.QNetworkSession.State.Roaming?10 +QtNetwork.QNetworkSession?1(QNetworkConfiguration, QObject parent=None) +QtNetwork.QNetworkSession.__init__?1(self, QNetworkConfiguration, QObject parent=None) +QtNetwork.QNetworkSession.isOpen?4() -> bool +QtNetwork.QNetworkSession.configuration?4() -> QNetworkConfiguration +QtNetwork.QNetworkSession.interface?4() -> QNetworkInterface +QtNetwork.QNetworkSession.state?4() -> QNetworkSession.State +QtNetwork.QNetworkSession.error?4() -> QNetworkSession.SessionError +QtNetwork.QNetworkSession.errorString?4() -> QString +QtNetwork.QNetworkSession.sessionProperty?4(QString) -> QVariant +QtNetwork.QNetworkSession.setSessionProperty?4(QString, QVariant) +QtNetwork.QNetworkSession.bytesWritten?4() -> int +QtNetwork.QNetworkSession.bytesReceived?4() -> int +QtNetwork.QNetworkSession.activeTime?4() -> int +QtNetwork.QNetworkSession.waitForOpened?4(int msecs=30000) -> bool +QtNetwork.QNetworkSession.open?4() +QtNetwork.QNetworkSession.close?4() +QtNetwork.QNetworkSession.stop?4() +QtNetwork.QNetworkSession.migrate?4() +QtNetwork.QNetworkSession.ignore?4() +QtNetwork.QNetworkSession.accept?4() +QtNetwork.QNetworkSession.reject?4() +QtNetwork.QNetworkSession.stateChanged?4(QNetworkSession.State) +QtNetwork.QNetworkSession.opened?4() +QtNetwork.QNetworkSession.closed?4() +QtNetwork.QNetworkSession.error?4(QNetworkSession.SessionError) +QtNetwork.QNetworkSession.preferredConfigurationChanged?4(QNetworkConfiguration, bool) +QtNetwork.QNetworkSession.newConfigurationActivated?4() +QtNetwork.QNetworkSession.connectNotify?4(QMetaMethod) +QtNetwork.QNetworkSession.disconnectNotify?4(QMetaMethod) +QtNetwork.QNetworkSession.usagePolicies?4() -> QNetworkSession.UsagePolicies +QtNetwork.QNetworkSession.usagePoliciesChanged?4(QNetworkSession.UsagePolicies) +QtNetwork.QNetworkSession.UsagePolicies?1() +QtNetwork.QNetworkSession.UsagePolicies.__init__?1(self) +QtNetwork.QNetworkSession.UsagePolicies?1(int) +QtNetwork.QNetworkSession.UsagePolicies.__init__?1(self, int) +QtNetwork.QNetworkSession.UsagePolicies?1(QNetworkSession.UsagePolicies) +QtNetwork.QNetworkSession.UsagePolicies.__init__?1(self, QNetworkSession.UsagePolicies) +QtNetwork.QOcspResponse?1() +QtNetwork.QOcspResponse.__init__?1(self) +QtNetwork.QOcspResponse?1(QOcspResponse) +QtNetwork.QOcspResponse.__init__?1(self, QOcspResponse) +QtNetwork.QOcspResponse.certificateStatus?4() -> QOcspCertificateStatus +QtNetwork.QOcspResponse.revocationReason?4() -> QOcspRevocationReason +QtNetwork.QOcspResponse.responder?4() -> QSslCertificate +QtNetwork.QOcspResponse.subject?4() -> QSslCertificate +QtNetwork.QOcspResponse.swap?4(QOcspResponse) +QtNetwork.QPasswordDigestor.deriveKeyPbkdf1?4(QCryptographicHash.Algorithm, QByteArray, QByteArray, int, int) -> QByteArray +QtNetwork.QPasswordDigestor.deriveKeyPbkdf2?4(QCryptographicHash.Algorithm, QByteArray, QByteArray, int, int) -> QByteArray +QtNetwork.QSsl.SslOption?10 +QtNetwork.QSsl.SslOption.SslOptionDisableEmptyFragments?10 +QtNetwork.QSsl.SslOption.SslOptionDisableSessionTickets?10 +QtNetwork.QSsl.SslOption.SslOptionDisableCompression?10 +QtNetwork.QSsl.SslOption.SslOptionDisableServerNameIndication?10 +QtNetwork.QSsl.SslOption.SslOptionDisableLegacyRenegotiation?10 +QtNetwork.QSsl.SslOption.SslOptionDisableSessionSharing?10 +QtNetwork.QSsl.SslOption.SslOptionDisableSessionPersistence?10 +QtNetwork.QSsl.SslOption.SslOptionDisableServerCipherPreference?10 +QtNetwork.QSsl.SslProtocol?10 +QtNetwork.QSsl.SslProtocol.UnknownProtocol?10 +QtNetwork.QSsl.SslProtocol.SslV3?10 +QtNetwork.QSsl.SslProtocol.SslV2?10 +QtNetwork.QSsl.SslProtocol.TlsV1_0?10 +QtNetwork.QSsl.SslProtocol.TlsV1_0OrLater?10 +QtNetwork.QSsl.SslProtocol.TlsV1_1?10 +QtNetwork.QSsl.SslProtocol.TlsV1_1OrLater?10 +QtNetwork.QSsl.SslProtocol.TlsV1_2?10 +QtNetwork.QSsl.SslProtocol.TlsV1_2OrLater?10 +QtNetwork.QSsl.SslProtocol.AnyProtocol?10 +QtNetwork.QSsl.SslProtocol.TlsV1SslV3?10 +QtNetwork.QSsl.SslProtocol.SecureProtocols?10 +QtNetwork.QSsl.SslProtocol.DtlsV1_0?10 +QtNetwork.QSsl.SslProtocol.DtlsV1_0OrLater?10 +QtNetwork.QSsl.SslProtocol.DtlsV1_2?10 +QtNetwork.QSsl.SslProtocol.DtlsV1_2OrLater?10 +QtNetwork.QSsl.SslProtocol.TlsV1_3?10 +QtNetwork.QSsl.SslProtocol.TlsV1_3OrLater?10 +QtNetwork.QSsl.AlternativeNameEntryType?10 +QtNetwork.QSsl.AlternativeNameEntryType.EmailEntry?10 +QtNetwork.QSsl.AlternativeNameEntryType.DnsEntry?10 +QtNetwork.QSsl.AlternativeNameEntryType.IpAddressEntry?10 +QtNetwork.QSsl.KeyAlgorithm?10 +QtNetwork.QSsl.KeyAlgorithm.Opaque?10 +QtNetwork.QSsl.KeyAlgorithm.Rsa?10 +QtNetwork.QSsl.KeyAlgorithm.Dsa?10 +QtNetwork.QSsl.KeyAlgorithm.Ec?10 +QtNetwork.QSsl.KeyAlgorithm.Dh?10 +QtNetwork.QSsl.EncodingFormat?10 +QtNetwork.QSsl.EncodingFormat.Pem?10 +QtNetwork.QSsl.EncodingFormat.Der?10 +QtNetwork.QSsl.KeyType?10 +QtNetwork.QSsl.KeyType.PrivateKey?10 +QtNetwork.QSsl.KeyType.PublicKey?10 +QtNetwork.QSsl.SslOptions?1() +QtNetwork.QSsl.SslOptions.__init__?1(self) +QtNetwork.QSsl.SslOptions?1(int) +QtNetwork.QSsl.SslOptions.__init__?1(self, int) +QtNetwork.QSsl.SslOptions?1(QSsl.SslOptions) +QtNetwork.QSsl.SslOptions.__init__?1(self, QSsl.SslOptions) +QtNetwork.QSslCertificate.PatternSyntax?10 +QtNetwork.QSslCertificate.PatternSyntax.RegularExpression?10 +QtNetwork.QSslCertificate.PatternSyntax.Wildcard?10 +QtNetwork.QSslCertificate.PatternSyntax.FixedString?10 +QtNetwork.QSslCertificate.SubjectInfo?10 +QtNetwork.QSslCertificate.SubjectInfo.Organization?10 +QtNetwork.QSslCertificate.SubjectInfo.CommonName?10 +QtNetwork.QSslCertificate.SubjectInfo.LocalityName?10 +QtNetwork.QSslCertificate.SubjectInfo.OrganizationalUnitName?10 +QtNetwork.QSslCertificate.SubjectInfo.CountryName?10 +QtNetwork.QSslCertificate.SubjectInfo.StateOrProvinceName?10 +QtNetwork.QSslCertificate.SubjectInfo.DistinguishedNameQualifier?10 +QtNetwork.QSslCertificate.SubjectInfo.SerialNumber?10 +QtNetwork.QSslCertificate.SubjectInfo.EmailAddress?10 +QtNetwork.QSslCertificate?1(QIODevice, QSsl.EncodingFormat format=QSsl.Pem) +QtNetwork.QSslCertificate.__init__?1(self, QIODevice, QSsl.EncodingFormat format=QSsl.Pem) +QtNetwork.QSslCertificate?1(QByteArray data=QByteArray(), QSsl.EncodingFormat format=QSsl.Pem) +QtNetwork.QSslCertificate.__init__?1(self, QByteArray data=QByteArray(), QSsl.EncodingFormat format=QSsl.Pem) +QtNetwork.QSslCertificate?1(QSslCertificate) +QtNetwork.QSslCertificate.__init__?1(self, QSslCertificate) +QtNetwork.QSslCertificate.isNull?4() -> bool +QtNetwork.QSslCertificate.clear?4() +QtNetwork.QSslCertificate.version?4() -> QByteArray +QtNetwork.QSslCertificate.serialNumber?4() -> QByteArray +QtNetwork.QSslCertificate.digest?4(QCryptographicHash.Algorithm algorithm=QCryptographicHash.Md5) -> QByteArray +QtNetwork.QSslCertificate.issuerInfo?4(QSslCertificate.SubjectInfo) -> QStringList +QtNetwork.QSslCertificate.issuerInfo?4(QByteArray) -> QStringList +QtNetwork.QSslCertificate.subjectInfo?4(QSslCertificate.SubjectInfo) -> QStringList +QtNetwork.QSslCertificate.subjectInfo?4(QByteArray) -> QStringList +QtNetwork.QSslCertificate.subjectAlternativeNames?4() -> unknown-type +QtNetwork.QSslCertificate.effectiveDate?4() -> QDateTime +QtNetwork.QSslCertificate.expiryDate?4() -> QDateTime +QtNetwork.QSslCertificate.publicKey?4() -> QSslKey +QtNetwork.QSslCertificate.toPem?4() -> QByteArray +QtNetwork.QSslCertificate.toDer?4() -> QByteArray +QtNetwork.QSslCertificate.fromPath?4(QString, QSsl.EncodingFormat format=QSsl.Pem, QRegExp.PatternSyntax syntax=QRegExp.FixedString) -> unknown-type +QtNetwork.QSslCertificate.fromDevice?4(QIODevice, QSsl.EncodingFormat format=QSsl.Pem) -> unknown-type +QtNetwork.QSslCertificate.fromData?4(QByteArray, QSsl.EncodingFormat format=QSsl.Pem) -> unknown-type +QtNetwork.QSslCertificate.handle?4() -> sip.voidptr +QtNetwork.QSslCertificate.swap?4(QSslCertificate) +QtNetwork.QSslCertificate.isBlacklisted?4() -> bool +QtNetwork.QSslCertificate.subjectInfoAttributes?4() -> unknown-type +QtNetwork.QSslCertificate.issuerInfoAttributes?4() -> unknown-type +QtNetwork.QSslCertificate.extensions?4() -> unknown-type +QtNetwork.QSslCertificate.toText?4() -> QString +QtNetwork.QSslCertificate.verify?4(unknown-type, QString hostName='') -> unknown-type +QtNetwork.QSslCertificate.isSelfSigned?4() -> bool +QtNetwork.QSslCertificate.importPkcs12?4(QIODevice, QSslKey, QSslCertificate, unknown-type caCertificates=[], QByteArray passPhrase=QByteArray()) -> bool +QtNetwork.QSslCertificate.issuerDisplayName?4() -> QString +QtNetwork.QSslCertificate.subjectDisplayName?4() -> QString +QtNetwork.QSslCertificateExtension?1() +QtNetwork.QSslCertificateExtension.__init__?1(self) +QtNetwork.QSslCertificateExtension?1(QSslCertificateExtension) +QtNetwork.QSslCertificateExtension.__init__?1(self, QSslCertificateExtension) +QtNetwork.QSslCertificateExtension.swap?4(QSslCertificateExtension) +QtNetwork.QSslCertificateExtension.oid?4() -> QString +QtNetwork.QSslCertificateExtension.name?4() -> QString +QtNetwork.QSslCertificateExtension.value?4() -> QVariant +QtNetwork.QSslCertificateExtension.isCritical?4() -> bool +QtNetwork.QSslCertificateExtension.isSupported?4() -> bool +QtNetwork.QSslCipher?1() +QtNetwork.QSslCipher.__init__?1(self) +QtNetwork.QSslCipher?1(QString) +QtNetwork.QSslCipher.__init__?1(self, QString) +QtNetwork.QSslCipher?1(QString, QSsl.SslProtocol) +QtNetwork.QSslCipher.__init__?1(self, QString, QSsl.SslProtocol) +QtNetwork.QSslCipher?1(QSslCipher) +QtNetwork.QSslCipher.__init__?1(self, QSslCipher) +QtNetwork.QSslCipher.isNull?4() -> bool +QtNetwork.QSslCipher.name?4() -> QString +QtNetwork.QSslCipher.supportedBits?4() -> int +QtNetwork.QSslCipher.usedBits?4() -> int +QtNetwork.QSslCipher.keyExchangeMethod?4() -> QString +QtNetwork.QSslCipher.authenticationMethod?4() -> QString +QtNetwork.QSslCipher.encryptionMethod?4() -> QString +QtNetwork.QSslCipher.protocolString?4() -> QString +QtNetwork.QSslCipher.protocol?4() -> QSsl.SslProtocol +QtNetwork.QSslCipher.swap?4(QSslCipher) +QtNetwork.QSslConfiguration.NextProtocolNegotiationStatus?10 +QtNetwork.QSslConfiguration.NextProtocolNegotiationStatus.NextProtocolNegotiationNone?10 +QtNetwork.QSslConfiguration.NextProtocolNegotiationStatus.NextProtocolNegotiationNegotiated?10 +QtNetwork.QSslConfiguration.NextProtocolNegotiationStatus.NextProtocolNegotiationUnsupported?10 +QtNetwork.QSslConfiguration.NextProtocolHttp1_1?7 +QtNetwork.QSslConfiguration.NextProtocolSpdy3_0?7 +QtNetwork.QSslConfiguration?1() +QtNetwork.QSslConfiguration.__init__?1(self) +QtNetwork.QSslConfiguration?1(QSslConfiguration) +QtNetwork.QSslConfiguration.__init__?1(self, QSslConfiguration) +QtNetwork.QSslConfiguration.isNull?4() -> bool +QtNetwork.QSslConfiguration.protocol?4() -> QSsl.SslProtocol +QtNetwork.QSslConfiguration.setProtocol?4(QSsl.SslProtocol) +QtNetwork.QSslConfiguration.peerVerifyMode?4() -> QSslSocket.PeerVerifyMode +QtNetwork.QSslConfiguration.setPeerVerifyMode?4(QSslSocket.PeerVerifyMode) +QtNetwork.QSslConfiguration.peerVerifyDepth?4() -> int +QtNetwork.QSslConfiguration.setPeerVerifyDepth?4(int) +QtNetwork.QSslConfiguration.localCertificate?4() -> QSslCertificate +QtNetwork.QSslConfiguration.setLocalCertificate?4(QSslCertificate) +QtNetwork.QSslConfiguration.peerCertificate?4() -> QSslCertificate +QtNetwork.QSslConfiguration.peerCertificateChain?4() -> unknown-type +QtNetwork.QSslConfiguration.sessionCipher?4() -> QSslCipher +QtNetwork.QSslConfiguration.privateKey?4() -> QSslKey +QtNetwork.QSslConfiguration.setPrivateKey?4(QSslKey) +QtNetwork.QSslConfiguration.ciphers?4() -> unknown-type +QtNetwork.QSslConfiguration.setCiphers?4(unknown-type) +QtNetwork.QSslConfiguration.caCertificates?4() -> unknown-type +QtNetwork.QSslConfiguration.setCaCertificates?4(unknown-type) +QtNetwork.QSslConfiguration.defaultConfiguration?4() -> QSslConfiguration +QtNetwork.QSslConfiguration.setDefaultConfiguration?4(QSslConfiguration) +QtNetwork.QSslConfiguration.setSslOption?4(QSsl.SslOption, bool) +QtNetwork.QSslConfiguration.testSslOption?4(QSsl.SslOption) -> bool +QtNetwork.QSslConfiguration.swap?4(QSslConfiguration) +QtNetwork.QSslConfiguration.localCertificateChain?4() -> unknown-type +QtNetwork.QSslConfiguration.setLocalCertificateChain?4(unknown-type) +QtNetwork.QSslConfiguration.sessionTicket?4() -> QByteArray +QtNetwork.QSslConfiguration.setSessionTicket?4(QByteArray) +QtNetwork.QSslConfiguration.sessionTicketLifeTimeHint?4() -> int +QtNetwork.QSslConfiguration.setAllowedNextProtocols?4(unknown-type) +QtNetwork.QSslConfiguration.allowedNextProtocols?4() -> unknown-type +QtNetwork.QSslConfiguration.nextNegotiatedProtocol?4() -> QByteArray +QtNetwork.QSslConfiguration.nextProtocolNegotiationStatus?4() -> QSslConfiguration.NextProtocolNegotiationStatus +QtNetwork.QSslConfiguration.sessionProtocol?4() -> QSsl.SslProtocol +QtNetwork.QSslConfiguration.supportedCiphers?4() -> unknown-type +QtNetwork.QSslConfiguration.systemCaCertificates?4() -> unknown-type +QtNetwork.QSslConfiguration.ellipticCurves?4() -> unknown-type +QtNetwork.QSslConfiguration.setEllipticCurves?4(unknown-type) +QtNetwork.QSslConfiguration.supportedEllipticCurves?4() -> unknown-type +QtNetwork.QSslConfiguration.ephemeralServerKey?4() -> QSslKey +QtNetwork.QSslConfiguration.preSharedKeyIdentityHint?4() -> QByteArray +QtNetwork.QSslConfiguration.setPreSharedKeyIdentityHint?4(QByteArray) +QtNetwork.QSslConfiguration.diffieHellmanParameters?4() -> QSslDiffieHellmanParameters +QtNetwork.QSslConfiguration.setDiffieHellmanParameters?4(QSslDiffieHellmanParameters) +QtNetwork.QSslConfiguration.backendConfiguration?4() -> unknown-type +QtNetwork.QSslConfiguration.setBackendConfigurationOption?4(QByteArray, QVariant) +QtNetwork.QSslConfiguration.setBackendConfiguration?4(unknown-type backendConfiguration={}) +QtNetwork.QSslConfiguration.setOcspStaplingEnabled?4(bool) +QtNetwork.QSslConfiguration.ocspStaplingEnabled?4() -> bool +QtNetwork.QSslConfiguration.addCaCertificate?4(QSslCertificate) +QtNetwork.QSslConfiguration.addCaCertificates?4(QString, QSsl.EncodingFormat format=QSsl.Pem, QSslCertificate.PatternSyntax syntax=QSslCertificate.PatternSyntax.FixedString) -> bool +QtNetwork.QSslConfiguration.addCaCertificates?4(unknown-type) +QtNetwork.QSslDiffieHellmanParameters.Error?10 +QtNetwork.QSslDiffieHellmanParameters.Error.NoError?10 +QtNetwork.QSslDiffieHellmanParameters.Error.InvalidInputDataError?10 +QtNetwork.QSslDiffieHellmanParameters.Error.UnsafeParametersError?10 +QtNetwork.QSslDiffieHellmanParameters?1() +QtNetwork.QSslDiffieHellmanParameters.__init__?1(self) +QtNetwork.QSslDiffieHellmanParameters?1(QSslDiffieHellmanParameters) +QtNetwork.QSslDiffieHellmanParameters.__init__?1(self, QSslDiffieHellmanParameters) +QtNetwork.QSslDiffieHellmanParameters.swap?4(QSslDiffieHellmanParameters) +QtNetwork.QSslDiffieHellmanParameters.defaultParameters?4() -> QSslDiffieHellmanParameters +QtNetwork.QSslDiffieHellmanParameters.fromEncoded?4(QByteArray, QSsl.EncodingFormat encoding=QSsl.EncodingFormat.Pem) -> QSslDiffieHellmanParameters +QtNetwork.QSslDiffieHellmanParameters.fromEncoded?4(QIODevice, QSsl.EncodingFormat encoding=QSsl.EncodingFormat.Pem) -> QSslDiffieHellmanParameters +QtNetwork.QSslDiffieHellmanParameters.isEmpty?4() -> bool +QtNetwork.QSslDiffieHellmanParameters.isValid?4() -> bool +QtNetwork.QSslDiffieHellmanParameters.error?4() -> QSslDiffieHellmanParameters.Error +QtNetwork.QSslDiffieHellmanParameters.errorString?4() -> QString +QtNetwork.QSslEllipticCurve?1() +QtNetwork.QSslEllipticCurve.__init__?1(self) +QtNetwork.QSslEllipticCurve?1(QSslEllipticCurve) +QtNetwork.QSslEllipticCurve.__init__?1(self, QSslEllipticCurve) +QtNetwork.QSslEllipticCurve.fromShortName?4(QString) -> QSslEllipticCurve +QtNetwork.QSslEllipticCurve.fromLongName?4(QString) -> QSslEllipticCurve +QtNetwork.QSslEllipticCurve.shortName?4() -> QString +QtNetwork.QSslEllipticCurve.longName?4() -> QString +QtNetwork.QSslEllipticCurve.isValid?4() -> bool +QtNetwork.QSslEllipticCurve.isTlsNamedCurve?4() -> bool +QtNetwork.QSslError.SslError?10 +QtNetwork.QSslError.SslError.UnspecifiedError?10 +QtNetwork.QSslError.SslError.NoError?10 +QtNetwork.QSslError.SslError.UnableToGetIssuerCertificate?10 +QtNetwork.QSslError.SslError.UnableToDecryptCertificateSignature?10 +QtNetwork.QSslError.SslError.UnableToDecodeIssuerPublicKey?10 +QtNetwork.QSslError.SslError.CertificateSignatureFailed?10 +QtNetwork.QSslError.SslError.CertificateNotYetValid?10 +QtNetwork.QSslError.SslError.CertificateExpired?10 +QtNetwork.QSslError.SslError.InvalidNotBeforeField?10 +QtNetwork.QSslError.SslError.InvalidNotAfterField?10 +QtNetwork.QSslError.SslError.SelfSignedCertificate?10 +QtNetwork.QSslError.SslError.SelfSignedCertificateInChain?10 +QtNetwork.QSslError.SslError.UnableToGetLocalIssuerCertificate?10 +QtNetwork.QSslError.SslError.UnableToVerifyFirstCertificate?10 +QtNetwork.QSslError.SslError.CertificateRevoked?10 +QtNetwork.QSslError.SslError.InvalidCaCertificate?10 +QtNetwork.QSslError.SslError.PathLengthExceeded?10 +QtNetwork.QSslError.SslError.InvalidPurpose?10 +QtNetwork.QSslError.SslError.CertificateUntrusted?10 +QtNetwork.QSslError.SslError.CertificateRejected?10 +QtNetwork.QSslError.SslError.SubjectIssuerMismatch?10 +QtNetwork.QSslError.SslError.AuthorityIssuerSerialNumberMismatch?10 +QtNetwork.QSslError.SslError.NoPeerCertificate?10 +QtNetwork.QSslError.SslError.HostNameMismatch?10 +QtNetwork.QSslError.SslError.NoSslSupport?10 +QtNetwork.QSslError.SslError.CertificateBlacklisted?10 +QtNetwork.QSslError.SslError.CertificateStatusUnknown?10 +QtNetwork.QSslError.SslError.OcspNoResponseFound?10 +QtNetwork.QSslError.SslError.OcspMalformedRequest?10 +QtNetwork.QSslError.SslError.OcspMalformedResponse?10 +QtNetwork.QSslError.SslError.OcspInternalError?10 +QtNetwork.QSslError.SslError.OcspTryLater?10 +QtNetwork.QSslError.SslError.OcspSigRequred?10 +QtNetwork.QSslError.SslError.OcspUnauthorized?10 +QtNetwork.QSslError.SslError.OcspResponseCannotBeTrusted?10 +QtNetwork.QSslError.SslError.OcspResponseCertIdUnknown?10 +QtNetwork.QSslError.SslError.OcspResponseExpired?10 +QtNetwork.QSslError.SslError.OcspStatusUnknown?10 +QtNetwork.QSslError?1() +QtNetwork.QSslError.__init__?1(self) +QtNetwork.QSslError?1(QSslError.SslError) +QtNetwork.QSslError.__init__?1(self, QSslError.SslError) +QtNetwork.QSslError?1(QSslError.SslError, QSslCertificate) +QtNetwork.QSslError.__init__?1(self, QSslError.SslError, QSslCertificate) +QtNetwork.QSslError?1(QSslError) +QtNetwork.QSslError.__init__?1(self, QSslError) +QtNetwork.QSslError.error?4() -> QSslError.SslError +QtNetwork.QSslError.errorString?4() -> QString +QtNetwork.QSslError.certificate?4() -> QSslCertificate +QtNetwork.QSslError.swap?4(QSslError) +QtNetwork.QSslKey?1() +QtNetwork.QSslKey.__init__?1(self) +QtNetwork.QSslKey?1(QByteArray, QSsl.KeyAlgorithm, QSsl.EncodingFormat encoding=QSsl.Pem, QSsl.KeyType type=QSsl.PrivateKey, QByteArray passPhrase=QByteArray()) +QtNetwork.QSslKey.__init__?1(self, QByteArray, QSsl.KeyAlgorithm, QSsl.EncodingFormat encoding=QSsl.Pem, QSsl.KeyType type=QSsl.PrivateKey, QByteArray passPhrase=QByteArray()) +QtNetwork.QSslKey?1(QIODevice, QSsl.KeyAlgorithm, QSsl.EncodingFormat encoding=QSsl.Pem, QSsl.KeyType type=QSsl.PrivateKey, QByteArray passPhrase=QByteArray()) +QtNetwork.QSslKey.__init__?1(self, QIODevice, QSsl.KeyAlgorithm, QSsl.EncodingFormat encoding=QSsl.Pem, QSsl.KeyType type=QSsl.PrivateKey, QByteArray passPhrase=QByteArray()) +QtNetwork.QSslKey?1(sip.voidptr, QSsl.KeyType type=QSsl.PrivateKey) +QtNetwork.QSslKey.__init__?1(self, sip.voidptr, QSsl.KeyType type=QSsl.PrivateKey) +QtNetwork.QSslKey?1(QSslKey) +QtNetwork.QSslKey.__init__?1(self, QSslKey) +QtNetwork.QSslKey.isNull?4() -> bool +QtNetwork.QSslKey.clear?4() +QtNetwork.QSslKey.length?4() -> int +QtNetwork.QSslKey.type?4() -> QSsl.KeyType +QtNetwork.QSslKey.algorithm?4() -> QSsl.KeyAlgorithm +QtNetwork.QSslKey.toPem?4(QByteArray passPhrase=QByteArray()) -> QByteArray +QtNetwork.QSslKey.toDer?4(QByteArray passPhrase=QByteArray()) -> QByteArray +QtNetwork.QSslKey.handle?4() -> sip.voidptr +QtNetwork.QSslKey.swap?4(QSslKey) +QtNetwork.QSslPreSharedKeyAuthenticator?1() +QtNetwork.QSslPreSharedKeyAuthenticator.__init__?1(self) +QtNetwork.QSslPreSharedKeyAuthenticator?1(QSslPreSharedKeyAuthenticator) +QtNetwork.QSslPreSharedKeyAuthenticator.__init__?1(self, QSslPreSharedKeyAuthenticator) +QtNetwork.QSslPreSharedKeyAuthenticator.swap?4(QSslPreSharedKeyAuthenticator) +QtNetwork.QSslPreSharedKeyAuthenticator.identityHint?4() -> QByteArray +QtNetwork.QSslPreSharedKeyAuthenticator.setIdentity?4(QByteArray) +QtNetwork.QSslPreSharedKeyAuthenticator.identity?4() -> QByteArray +QtNetwork.QSslPreSharedKeyAuthenticator.maximumIdentityLength?4() -> int +QtNetwork.QSslPreSharedKeyAuthenticator.setPreSharedKey?4(QByteArray) +QtNetwork.QSslPreSharedKeyAuthenticator.preSharedKey?4() -> QByteArray +QtNetwork.QSslPreSharedKeyAuthenticator.maximumPreSharedKeyLength?4() -> int +QtNetwork.QTcpSocket?1(QObject parent=None) +QtNetwork.QTcpSocket.__init__?1(self, QObject parent=None) +QtNetwork.QSslSocket.PeerVerifyMode?10 +QtNetwork.QSslSocket.PeerVerifyMode.VerifyNone?10 +QtNetwork.QSslSocket.PeerVerifyMode.QueryPeer?10 +QtNetwork.QSslSocket.PeerVerifyMode.VerifyPeer?10 +QtNetwork.QSslSocket.PeerVerifyMode.AutoVerifyPeer?10 +QtNetwork.QSslSocket.SslMode?10 +QtNetwork.QSslSocket.SslMode.UnencryptedMode?10 +QtNetwork.QSslSocket.SslMode.SslClientMode?10 +QtNetwork.QSslSocket.SslMode.SslServerMode?10 +QtNetwork.QSslSocket?1(QObject parent=None) +QtNetwork.QSslSocket.__init__?1(self, QObject parent=None) +QtNetwork.QSslSocket.connectToHostEncrypted?4(QString, int, QIODevice.OpenMode mode=QIODevice.ReadWrite, QAbstractSocket.NetworkLayerProtocol protocol=QAbstractSocket.AnyIPProtocol) +QtNetwork.QSslSocket.connectToHostEncrypted?4(QString, int, QString, QIODevice.OpenMode mode=QIODevice.ReadWrite, QAbstractSocket.NetworkLayerProtocol protocol=QAbstractSocket.AnyIPProtocol) +QtNetwork.QSslSocket.setSocketDescriptor?4(qintptr, QAbstractSocket.SocketState state=QAbstractSocket.ConnectedState, QIODevice.OpenMode mode=QIODevice.ReadWrite) -> bool +QtNetwork.QSslSocket.mode?4() -> QSslSocket.SslMode +QtNetwork.QSslSocket.isEncrypted?4() -> bool +QtNetwork.QSslSocket.protocol?4() -> QSsl.SslProtocol +QtNetwork.QSslSocket.setProtocol?4(QSsl.SslProtocol) +QtNetwork.QSslSocket.bytesAvailable?4() -> int +QtNetwork.QSslSocket.bytesToWrite?4() -> int +QtNetwork.QSslSocket.canReadLine?4() -> bool +QtNetwork.QSslSocket.close?4() +QtNetwork.QSslSocket.atEnd?4() -> bool +QtNetwork.QSslSocket.flush?4() -> bool +QtNetwork.QSslSocket.abort?4() +QtNetwork.QSslSocket.setLocalCertificate?4(QSslCertificate) +QtNetwork.QSslSocket.setLocalCertificate?4(QString, QSsl.EncodingFormat format=QSsl.Pem) +QtNetwork.QSslSocket.localCertificate?4() -> QSslCertificate +QtNetwork.QSslSocket.peerCertificate?4() -> QSslCertificate +QtNetwork.QSslSocket.peerCertificateChain?4() -> unknown-type +QtNetwork.QSslSocket.sessionCipher?4() -> QSslCipher +QtNetwork.QSslSocket.setPrivateKey?4(QSslKey) +QtNetwork.QSslSocket.setPrivateKey?4(QString, QSsl.KeyAlgorithm algorithm=QSsl.Rsa, QSsl.EncodingFormat format=QSsl.Pem, QByteArray passPhrase=QByteArray()) +QtNetwork.QSslSocket.privateKey?4() -> QSslKey +QtNetwork.QSslSocket.ciphers?4() -> unknown-type +QtNetwork.QSslSocket.setCiphers?4(unknown-type) +QtNetwork.QSslSocket.setCiphers?4(QString) +QtNetwork.QSslSocket.setDefaultCiphers?4(unknown-type) +QtNetwork.QSslSocket.defaultCiphers?4() -> unknown-type +QtNetwork.QSslSocket.supportedCiphers?4() -> unknown-type +QtNetwork.QSslSocket.addCaCertificates?4(QString, QSsl.EncodingFormat format=QSsl.Pem, QRegExp.PatternSyntax syntax=QRegExp.FixedString) -> bool +QtNetwork.QSslSocket.addCaCertificate?4(QSslCertificate) +QtNetwork.QSslSocket.addCaCertificates?4(unknown-type) +QtNetwork.QSslSocket.setCaCertificates?4(unknown-type) +QtNetwork.QSslSocket.caCertificates?4() -> unknown-type +QtNetwork.QSslSocket.addDefaultCaCertificates?4(QString, QSsl.EncodingFormat format=QSsl.Pem, QRegExp.PatternSyntax syntax=QRegExp.FixedString) -> bool +QtNetwork.QSslSocket.addDefaultCaCertificate?4(QSslCertificate) +QtNetwork.QSslSocket.addDefaultCaCertificates?4(unknown-type) +QtNetwork.QSslSocket.setDefaultCaCertificates?4(unknown-type) +QtNetwork.QSslSocket.defaultCaCertificates?4() -> unknown-type +QtNetwork.QSslSocket.systemCaCertificates?4() -> unknown-type +QtNetwork.QSslSocket.waitForConnected?4(int msecs=30000) -> bool +QtNetwork.QSslSocket.waitForEncrypted?4(int msecs=30000) -> bool +QtNetwork.QSslSocket.waitForReadyRead?4(int msecs=30000) -> bool +QtNetwork.QSslSocket.waitForBytesWritten?4(int msecs=30000) -> bool +QtNetwork.QSslSocket.waitForDisconnected?4(int msecs=30000) -> bool +QtNetwork.QSslSocket.sslErrors?4() -> unknown-type +QtNetwork.QSslSocket.supportsSsl?4() -> bool +QtNetwork.QSslSocket.startClientEncryption?4() +QtNetwork.QSslSocket.startServerEncryption?4() +QtNetwork.QSslSocket.ignoreSslErrors?4() +QtNetwork.QSslSocket.encrypted?4() +QtNetwork.QSslSocket.sslErrors?4(unknown-type) +QtNetwork.QSslSocket.modeChanged?4(QSslSocket.SslMode) +QtNetwork.QSslSocket.preSharedKeyAuthenticationRequired?4(QSslPreSharedKeyAuthenticator) +QtNetwork.QSslSocket.readData?4(int) -> object +QtNetwork.QSslSocket.writeData?4(bytes) -> int +QtNetwork.QSslSocket.peerVerifyMode?4() -> QSslSocket.PeerVerifyMode +QtNetwork.QSslSocket.setPeerVerifyMode?4(QSslSocket.PeerVerifyMode) +QtNetwork.QSslSocket.peerVerifyDepth?4() -> int +QtNetwork.QSslSocket.setPeerVerifyDepth?4(int) +QtNetwork.QSslSocket.setReadBufferSize?4(int) +QtNetwork.QSslSocket.encryptedBytesAvailable?4() -> int +QtNetwork.QSslSocket.encryptedBytesToWrite?4() -> int +QtNetwork.QSslSocket.sslConfiguration?4() -> QSslConfiguration +QtNetwork.QSslSocket.setSslConfiguration?4(QSslConfiguration) +QtNetwork.QSslSocket.peerVerifyError?4(QSslError) +QtNetwork.QSslSocket.encryptedBytesWritten?4(int) +QtNetwork.QSslSocket.setSocketOption?4(QAbstractSocket.SocketOption, QVariant) +QtNetwork.QSslSocket.socketOption?4(QAbstractSocket.SocketOption) -> QVariant +QtNetwork.QSslSocket.ignoreSslErrors?4(unknown-type) +QtNetwork.QSslSocket.peerVerifyName?4() -> QString +QtNetwork.QSslSocket.setPeerVerifyName?4(QString) +QtNetwork.QSslSocket.resume?4() +QtNetwork.QSslSocket.connectToHost?4(QString, int, QIODevice.OpenMode mode=QIODevice.ReadWrite, QAbstractSocket.NetworkLayerProtocol protocol=QAbstractSocket.AnyIPProtocol) +QtNetwork.QSslSocket.disconnectFromHost?4() +QtNetwork.QSslSocket.sslLibraryVersionNumber?4() -> int +QtNetwork.QSslSocket.sslLibraryVersionString?4() -> QString +QtNetwork.QSslSocket.setLocalCertificateChain?4(unknown-type) +QtNetwork.QSslSocket.localCertificateChain?4() -> unknown-type +QtNetwork.QSslSocket.sessionProtocol?4() -> QSsl.SslProtocol +QtNetwork.QSslSocket.sslLibraryBuildVersionNumber?4() -> int +QtNetwork.QSslSocket.sslLibraryBuildVersionString?4() -> QString +QtNetwork.QSslSocket.ocspResponses?4() -> unknown-type +QtNetwork.QSslSocket.sslHandshakeErrors?4() -> unknown-type +QtNetwork.QSslSocket.newSessionTicketReceived?4() +QtNetwork.QTcpServer?1(QObject parent=None) +QtNetwork.QTcpServer.__init__?1(self, QObject parent=None) +QtNetwork.QTcpServer.listen?4(QHostAddress address=QHostAddress.Any, int port=0) -> bool +QtNetwork.QTcpServer.close?4() +QtNetwork.QTcpServer.isListening?4() -> bool +QtNetwork.QTcpServer.setMaxPendingConnections?4(int) +QtNetwork.QTcpServer.maxPendingConnections?4() -> int +QtNetwork.QTcpServer.serverPort?4() -> int +QtNetwork.QTcpServer.serverAddress?4() -> QHostAddress +QtNetwork.QTcpServer.socketDescriptor?4() -> qintptr +QtNetwork.QTcpServer.setSocketDescriptor?4(qintptr) -> bool +QtNetwork.QTcpServer.waitForNewConnection?4(int msecs=0) -> (bool, bool) +QtNetwork.QTcpServer.hasPendingConnections?4() -> bool +QtNetwork.QTcpServer.nextPendingConnection?4() -> QTcpSocket +QtNetwork.QTcpServer.serverError?4() -> QAbstractSocket.SocketError +QtNetwork.QTcpServer.errorString?4() -> QString +QtNetwork.QTcpServer.setProxy?4(QNetworkProxy) +QtNetwork.QTcpServer.proxy?4() -> QNetworkProxy +QtNetwork.QTcpServer.pauseAccepting?4() +QtNetwork.QTcpServer.resumeAccepting?4() +QtNetwork.QTcpServer.incomingConnection?4(qintptr) +QtNetwork.QTcpServer.addPendingConnection?4(QTcpSocket) +QtNetwork.QTcpServer.newConnection?4() +QtNetwork.QTcpServer.acceptError?4(QAbstractSocket.SocketError) +QtNetwork.QUdpSocket?1(QObject parent=None) +QtNetwork.QUdpSocket.__init__?1(self, QObject parent=None) +QtNetwork.QUdpSocket.hasPendingDatagrams?4() -> bool +QtNetwork.QUdpSocket.pendingDatagramSize?4() -> int +QtNetwork.QUdpSocket.readDatagram?4(int) -> (object, QHostAddress, int) +QtNetwork.QUdpSocket.writeDatagram?4(bytes, QHostAddress, int) -> int +QtNetwork.QUdpSocket.writeDatagram?4(QByteArray, QHostAddress, int) -> int +QtNetwork.QUdpSocket.joinMulticastGroup?4(QHostAddress) -> bool +QtNetwork.QUdpSocket.joinMulticastGroup?4(QHostAddress, QNetworkInterface) -> bool +QtNetwork.QUdpSocket.leaveMulticastGroup?4(QHostAddress) -> bool +QtNetwork.QUdpSocket.leaveMulticastGroup?4(QHostAddress, QNetworkInterface) -> bool +QtNetwork.QUdpSocket.multicastInterface?4() -> QNetworkInterface +QtNetwork.QUdpSocket.setMulticastInterface?4(QNetworkInterface) +QtNetwork.QUdpSocket.receiveDatagram?4(int maxSize=-1) -> QNetworkDatagram +QtNetwork.QUdpSocket.writeDatagram?4(QNetworkDatagram) -> int +QtGui.qt_set_sequence_auto_mnemonic?4(bool) +QtGui.qFuzzyCompare?4(QMatrix4x4, QMatrix4x4) -> bool +QtGui.qPixelFormatRgba?4(int, int, int, int, QPixelFormat.AlphaUsage, QPixelFormat.AlphaPosition, QPixelFormat.AlphaPremultiplied premultiplied=QPixelFormat.NotPremultiplied, QPixelFormat.TypeInterpretation typeInterpretation=QPixelFormat.UnsignedInteger) -> QPixelFormat +QtGui.qPixelFormatGrayscale?4(int, QPixelFormat.TypeInterpretation typeInterpretation=QPixelFormat.UnsignedInteger) -> QPixelFormat +QtGui.qPixelFormatCmyk?4(int, int alphaSize=0, QPixelFormat.AlphaUsage alphaUsage=QPixelFormat.IgnoresAlpha, QPixelFormat.AlphaPosition alphaPosition=QPixelFormat.AtBeginning, QPixelFormat.TypeInterpretation typeInterpretation=QPixelFormat.UnsignedInteger) -> QPixelFormat +QtGui.qPixelFormatHsl?4(int, int alphaSize=0, QPixelFormat.AlphaUsage alphaUsage=QPixelFormat.IgnoresAlpha, QPixelFormat.AlphaPosition alphaPosition=QPixelFormat.AtBeginning, QPixelFormat.TypeInterpretation typeInterpretation=QPixelFormat.FloatingPoint) -> QPixelFormat +QtGui.qPixelFormatHsv?4(int, int alphaSize=0, QPixelFormat.AlphaUsage alphaUsage=QPixelFormat.IgnoresAlpha, QPixelFormat.AlphaPosition alphaPosition=QPixelFormat.AtBeginning, QPixelFormat.TypeInterpretation typeInterpretation=QPixelFormat.FloatingPoint) -> QPixelFormat +QtGui.qPixelFormatYuv?4(QPixelFormat.YUVLayout, int alphaSize=0, QPixelFormat.AlphaUsage alphaUsage=QPixelFormat.IgnoresAlpha, QPixelFormat.AlphaPosition alphaPosition=QPixelFormat.AtBeginning, QPixelFormat.AlphaPremultiplied premultiplied=QPixelFormat.NotPremultiplied, QPixelFormat.TypeInterpretation typeInterpretation=QPixelFormat.UnsignedByte, QPixelFormat.ByteOrder byteOrder=QPixelFormat.LittleEndian) -> QPixelFormat +QtGui.qPixelFormatAlpha?4(int, QPixelFormat.TypeInterpretation typeInterpretation=QPixelFormat.UnsignedInteger) -> QPixelFormat +QtGui.qFuzzyCompare?4(QQuaternion, QQuaternion) -> bool +QtGui.qRgba64?4(int, int, int, int) -> QRgba64 +QtGui.qRgba64?4(int) -> QRgba64 +QtGui.qPremultiply?4(QRgba64) -> QRgba64 +QtGui.qUnpremultiply?4(QRgba64) -> QRgba64 +QtGui.qRed?4(QRgba64) -> int +QtGui.qGreen?4(QRgba64) -> int +QtGui.qBlue?4(QRgba64) -> int +QtGui.qAlpha?4(QRgba64) -> int +QtGui.qRed?4(int) -> int +QtGui.qGreen?4(int) -> int +QtGui.qBlue?4(int) -> int +QtGui.qAlpha?4(int) -> int +QtGui.qRgb?4(int, int, int) -> int +QtGui.qRgba?4(int, int, int, int) -> int +QtGui.qGray?4(int, int, int) -> int +QtGui.qGray?4(int) -> int +QtGui.qIsGray?4(int) -> bool +QtGui.qPremultiply?4(int) -> int +QtGui.qUnpremultiply?4(int) -> int +QtGui.qFuzzyCompare?4(QTransform, QTransform) -> bool +QtGui.qFuzzyCompare?4(QVector2D, QVector2D) -> bool +QtGui.qFuzzyCompare?4(QVector3D, QVector3D) -> bool +QtGui.qFuzzyCompare?4(QVector4D, QVector4D) -> bool +QtGui.QAbstractTextDocumentLayout?1(QTextDocument) +QtGui.QAbstractTextDocumentLayout.__init__?1(self, QTextDocument) +QtGui.QAbstractTextDocumentLayout.draw?4(QPainter, QAbstractTextDocumentLayout.PaintContext) +QtGui.QAbstractTextDocumentLayout.hitTest?4(QPointF, Qt.HitTestAccuracy) -> int +QtGui.QAbstractTextDocumentLayout.anchorAt?4(QPointF) -> QString +QtGui.QAbstractTextDocumentLayout.pageCount?4() -> int +QtGui.QAbstractTextDocumentLayout.documentSize?4() -> QSizeF +QtGui.QAbstractTextDocumentLayout.frameBoundingRect?4(QTextFrame) -> QRectF +QtGui.QAbstractTextDocumentLayout.blockBoundingRect?4(QTextBlock) -> QRectF +QtGui.QAbstractTextDocumentLayout.setPaintDevice?4(QPaintDevice) +QtGui.QAbstractTextDocumentLayout.paintDevice?4() -> QPaintDevice +QtGui.QAbstractTextDocumentLayout.document?4() -> QTextDocument +QtGui.QAbstractTextDocumentLayout.registerHandler?4(int, QObject) +QtGui.QAbstractTextDocumentLayout.unregisterHandler?4(int, QObject component=None) +QtGui.QAbstractTextDocumentLayout.handlerForObject?4(int) -> QTextObjectInterface +QtGui.QAbstractTextDocumentLayout.update?4(QRectF rect=QRectF(0,0,1e+09,1e+09)) +QtGui.QAbstractTextDocumentLayout.documentSizeChanged?4(QSizeF) +QtGui.QAbstractTextDocumentLayout.pageCountChanged?4(int) +QtGui.QAbstractTextDocumentLayout.updateBlock?4(QTextBlock) +QtGui.QAbstractTextDocumentLayout.documentChanged?4(int, int, int) +QtGui.QAbstractTextDocumentLayout.resizeInlineObject?4(QTextInlineObject, int, QTextFormat) +QtGui.QAbstractTextDocumentLayout.positionInlineObject?4(QTextInlineObject, int, QTextFormat) +QtGui.QAbstractTextDocumentLayout.drawInlineObject?4(QPainter, QRectF, QTextInlineObject, int, QTextFormat) +QtGui.QAbstractTextDocumentLayout.format?4(int) -> QTextCharFormat +QtGui.QAbstractTextDocumentLayout.imageAt?4(QPointF) -> QString +QtGui.QAbstractTextDocumentLayout.formatAt?4(QPointF) -> QTextFormat +QtGui.QAbstractTextDocumentLayout.blockWithMarkerAt?4(QPointF) -> QTextBlock +QtGui.QAbstractTextDocumentLayout.Selection.cursor?7 +QtGui.QAbstractTextDocumentLayout.Selection.format?7 +QtGui.QAbstractTextDocumentLayout.Selection?1() +QtGui.QAbstractTextDocumentLayout.Selection.__init__?1(self) +QtGui.QAbstractTextDocumentLayout.Selection?1(QAbstractTextDocumentLayout.Selection) +QtGui.QAbstractTextDocumentLayout.Selection.__init__?1(self, QAbstractTextDocumentLayout.Selection) +QtGui.QAbstractTextDocumentLayout.PaintContext.clip?7 +QtGui.QAbstractTextDocumentLayout.PaintContext.cursorPosition?7 +QtGui.QAbstractTextDocumentLayout.PaintContext.palette?7 +QtGui.QAbstractTextDocumentLayout.PaintContext.selections?7 +QtGui.QAbstractTextDocumentLayout.PaintContext?1() +QtGui.QAbstractTextDocumentLayout.PaintContext.__init__?1(self) +QtGui.QAbstractTextDocumentLayout.PaintContext?1(QAbstractTextDocumentLayout.PaintContext) +QtGui.QAbstractTextDocumentLayout.PaintContext.__init__?1(self, QAbstractTextDocumentLayout.PaintContext) +QtGui.QTextObjectInterface?1() +QtGui.QTextObjectInterface.__init__?1(self) +QtGui.QTextObjectInterface?1(QTextObjectInterface) +QtGui.QTextObjectInterface.__init__?1(self, QTextObjectInterface) +QtGui.QTextObjectInterface.intrinsicSize?4(QTextDocument, int, QTextFormat) -> QSizeF +QtGui.QTextObjectInterface.drawObject?4(QPainter, QRectF, QTextDocument, int, QTextFormat) +QtGui.QBackingStore?1(QWindow) +QtGui.QBackingStore.__init__?1(self, QWindow) +QtGui.QBackingStore.window?4() -> QWindow +QtGui.QBackingStore.paintDevice?4() -> QPaintDevice +QtGui.QBackingStore.flush?4(QRegion, QWindow window=None, QPoint offset=QPoint()) +QtGui.QBackingStore.resize?4(QSize) +QtGui.QBackingStore.size?4() -> QSize +QtGui.QBackingStore.scroll?4(QRegion, int, int) -> bool +QtGui.QBackingStore.beginPaint?4(QRegion) +QtGui.QBackingStore.endPaint?4() +QtGui.QBackingStore.setStaticContents?4(QRegion) +QtGui.QBackingStore.staticContents?4() -> QRegion +QtGui.QBackingStore.hasStaticContents?4() -> bool +QtGui.QPaintDevice.PaintDeviceMetric?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio?10 +QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled?10 +QtGui.QPaintDevice?1() +QtGui.QPaintDevice.__init__?1(self) +QtGui.QPaintDevice.paintEngine?4() -> QPaintEngine +QtGui.QPaintDevice.width?4() -> int +QtGui.QPaintDevice.height?4() -> int +QtGui.QPaintDevice.widthMM?4() -> int +QtGui.QPaintDevice.heightMM?4() -> int +QtGui.QPaintDevice.logicalDpiX?4() -> int +QtGui.QPaintDevice.logicalDpiY?4() -> int +QtGui.QPaintDevice.physicalDpiX?4() -> int +QtGui.QPaintDevice.physicalDpiY?4() -> int +QtGui.QPaintDevice.depth?4() -> int +QtGui.QPaintDevice.paintingActive?4() -> bool +QtGui.QPaintDevice.colorCount?4() -> int +QtGui.QPaintDevice.devicePixelRatio?4() -> int +QtGui.QPaintDevice.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QPaintDevice.devicePixelRatioF?4() -> float +QtGui.QPaintDevice.devicePixelRatioFScale?4() -> float +QtGui.QPixmap?1() +QtGui.QPixmap.__init__?1(self) +QtGui.QPixmap?1(int, int) +QtGui.QPixmap.__init__?1(self, int, int) +QtGui.QPixmap?1(QSize) +QtGui.QPixmap.__init__?1(self, QSize) +QtGui.QPixmap?1(QString, str format=None, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) +QtGui.QPixmap.__init__?1(self, QString, str format=None, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) +QtGui.QPixmap?1(list) +QtGui.QPixmap.__init__?1(self, list) +QtGui.QPixmap?1(QPixmap) +QtGui.QPixmap.__init__?1(self, QPixmap) +QtGui.QPixmap?1(QVariant) +QtGui.QPixmap.__init__?1(self, QVariant) +QtGui.QPixmap.isNull?4() -> bool +QtGui.QPixmap.devType?4() -> int +QtGui.QPixmap.width?4() -> int +QtGui.QPixmap.height?4() -> int +QtGui.QPixmap.size?4() -> QSize +QtGui.QPixmap.rect?4() -> QRect +QtGui.QPixmap.depth?4() -> int +QtGui.QPixmap.defaultDepth?4() -> int +QtGui.QPixmap.fill?4(QColor color=Qt.GlobalColor.white) +QtGui.QPixmap.mask?4() -> QBitmap +QtGui.QPixmap.setMask?4(QBitmap) +QtGui.QPixmap.hasAlpha?4() -> bool +QtGui.QPixmap.hasAlphaChannel?4() -> bool +QtGui.QPixmap.createHeuristicMask?4(bool clipTight=True) -> QBitmap +QtGui.QPixmap.createMaskFromColor?4(QColor, Qt.MaskMode mode=Qt.MaskInColor) -> QBitmap +QtGui.QPixmap.scaled?4(int, int, Qt.AspectRatioMode aspectRatioMode=Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode=Qt.FastTransformation) -> QPixmap +QtGui.QPixmap.scaled?4(QSize, Qt.AspectRatioMode aspectRatioMode=Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode=Qt.FastTransformation) -> QPixmap +QtGui.QPixmap.scaledToWidth?4(int, Qt.TransformationMode mode=Qt.FastTransformation) -> QPixmap +QtGui.QPixmap.scaledToHeight?4(int, Qt.TransformationMode mode=Qt.FastTransformation) -> QPixmap +QtGui.QPixmap.toImage?4() -> QImage +QtGui.QPixmap.fromImage?4(QImage, Qt.ImageConversionFlags flags=Qt.AutoColor) -> QPixmap +QtGui.QPixmap.fromImageReader?4(QImageReader, Qt.ImageConversionFlags flags=Qt.AutoColor) -> QPixmap +QtGui.QPixmap.convertFromImage?4(QImage, Qt.ImageConversionFlags flags=Qt.AutoColor) -> bool +QtGui.QPixmap.load?4(QString, str format=None, Qt.ImageConversionFlags flags=Qt.AutoColor) -> bool +QtGui.QPixmap.loadFromData?4(bytes, str format=None, Qt.ImageConversionFlags flags=Qt.AutoColor) -> bool +QtGui.QPixmap.loadFromData?4(QByteArray, str format=None, Qt.ImageConversionFlags flags=Qt.AutoColor) -> bool +QtGui.QPixmap.save?4(QString, str format=None, int quality=-1) -> bool +QtGui.QPixmap.save?4(QIODevice, str format=None, int quality=-1) -> bool +QtGui.QPixmap.copy?4(QRect rect=QRect()) -> QPixmap +QtGui.QPixmap.detach?4() +QtGui.QPixmap.isQBitmap?4() -> bool +QtGui.QPixmap.paintEngine?4() -> QPaintEngine +QtGui.QPixmap.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QPixmap.copy?4(int, int, int, int) -> QPixmap +QtGui.QPixmap.transformed?4(QTransform, Qt.TransformationMode mode=Qt.FastTransformation) -> QPixmap +QtGui.QPixmap.trueMatrix?4(QTransform, int, int) -> QTransform +QtGui.QPixmap.cacheKey?4() -> int +QtGui.QPixmap.scroll?4(int, int, QRect) -> QRegion +QtGui.QPixmap.scroll?4(int, int, int, int, int, int) -> QRegion +QtGui.QPixmap.swap?4(QPixmap) +QtGui.QPixmap.devicePixelRatio?4() -> float +QtGui.QPixmap.setDevicePixelRatio?4(float) +QtGui.QBitmap?1() +QtGui.QBitmap.__init__?1(self) +QtGui.QBitmap?1(QBitmap) +QtGui.QBitmap.__init__?1(self, QBitmap) +QtGui.QBitmap?1(QPixmap) +QtGui.QBitmap.__init__?1(self, QPixmap) +QtGui.QBitmap?1(int, int) +QtGui.QBitmap.__init__?1(self, int, int) +QtGui.QBitmap?1(QSize) +QtGui.QBitmap.__init__?1(self, QSize) +QtGui.QBitmap?1(QString, str format=None) +QtGui.QBitmap.__init__?1(self, QString, str format=None) +QtGui.QBitmap?1(QVariant) +QtGui.QBitmap.__init__?1(self, QVariant) +QtGui.QBitmap.clear?4() +QtGui.QBitmap.fromImage?4(QImage, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) -> QBitmap +QtGui.QBitmap.fromData?4(QSize, bytes, QImage.Format format=QImage.Format_MonoLSB) -> QBitmap +QtGui.QBitmap.transformed?4(QTransform) -> QBitmap +QtGui.QBitmap.swap?4(QBitmap) +QtGui.QColor.NameFormat?10 +QtGui.QColor.NameFormat.HexRgb?10 +QtGui.QColor.NameFormat.HexArgb?10 +QtGui.QColor.Spec?10 +QtGui.QColor.Spec.Invalid?10 +QtGui.QColor.Spec.Rgb?10 +QtGui.QColor.Spec.Hsv?10 +QtGui.QColor.Spec.Cmyk?10 +QtGui.QColor.Spec.Hsl?10 +QtGui.QColor.Spec.ExtendedRgb?10 +QtGui.QColor?1(Qt.GlobalColor) +QtGui.QColor.__init__?1(self, Qt.GlobalColor) +QtGui.QColor?1(int) +QtGui.QColor.__init__?1(self, int) +QtGui.QColor?1(QRgba64) +QtGui.QColor.__init__?1(self, QRgba64) +QtGui.QColor?1(QVariant) +QtGui.QColor.__init__?1(self, QVariant) +QtGui.QColor?1() +QtGui.QColor.__init__?1(self) +QtGui.QColor?1(int, int, int, int alpha=255) +QtGui.QColor.__init__?1(self, int, int, int, int alpha=255) +QtGui.QColor?1(QString) +QtGui.QColor.__init__?1(self, QString) +QtGui.QColor?1(QColor) +QtGui.QColor.__init__?1(self, QColor) +QtGui.QColor.name?4() -> QString +QtGui.QColor.setNamedColor?4(QString) +QtGui.QColor.colorNames?4() -> QStringList +QtGui.QColor.spec?4() -> QColor.Spec +QtGui.QColor.alpha?4() -> int +QtGui.QColor.setAlpha?4(int) +QtGui.QColor.alphaF?4() -> float +QtGui.QColor.setAlphaF?4(float) +QtGui.QColor.red?4() -> int +QtGui.QColor.green?4() -> int +QtGui.QColor.blue?4() -> int +QtGui.QColor.setRed?4(int) +QtGui.QColor.setGreen?4(int) +QtGui.QColor.setBlue?4(int) +QtGui.QColor.redF?4() -> float +QtGui.QColor.greenF?4() -> float +QtGui.QColor.blueF?4() -> float +QtGui.QColor.setRedF?4(float) +QtGui.QColor.setGreenF?4(float) +QtGui.QColor.setBlueF?4(float) +QtGui.QColor.getRgb?4() -> (int, int, int, int) +QtGui.QColor.setRgb?4(int, int, int, int alpha=255) +QtGui.QColor.getRgbF?4() -> (float, float, float, float) +QtGui.QColor.setRgbF?4(float, float, float, float alpha=1) +QtGui.QColor.rgba?4() -> int +QtGui.QColor.setRgba?4(int) +QtGui.QColor.rgb?4() -> int +QtGui.QColor.setRgb?4(int) +QtGui.QColor.hue?4() -> int +QtGui.QColor.saturation?4() -> int +QtGui.QColor.value?4() -> int +QtGui.QColor.hueF?4() -> float +QtGui.QColor.saturationF?4() -> float +QtGui.QColor.valueF?4() -> float +QtGui.QColor.getHsv?4() -> (int, int, int, int) +QtGui.QColor.setHsv?4(int, int, int, int alpha=255) +QtGui.QColor.getHsvF?4() -> (float, float, float, float) +QtGui.QColor.setHsvF?4(float, float, float, float alpha=1) +QtGui.QColor.cyan?4() -> int +QtGui.QColor.magenta?4() -> int +QtGui.QColor.yellow?4() -> int +QtGui.QColor.black?4() -> int +QtGui.QColor.cyanF?4() -> float +QtGui.QColor.magentaF?4() -> float +QtGui.QColor.yellowF?4() -> float +QtGui.QColor.blackF?4() -> float +QtGui.QColor.getCmyk?4() -> (int, int, int, int, int) +QtGui.QColor.setCmyk?4(int, int, int, int, int alpha=255) +QtGui.QColor.getCmykF?4() -> (float, float, float, float, float) +QtGui.QColor.setCmykF?4(float, float, float, float, float alpha=1) +QtGui.QColor.toRgb?4() -> QColor +QtGui.QColor.toHsv?4() -> QColor +QtGui.QColor.toCmyk?4() -> QColor +QtGui.QColor.convertTo?4(QColor.Spec) -> QColor +QtGui.QColor.fromRgb?4(int) -> QColor +QtGui.QColor.fromRgba?4(int) -> QColor +QtGui.QColor.fromRgb?4(int, int, int, int alpha=255) -> QColor +QtGui.QColor.fromRgbF?4(float, float, float, float alpha=1) -> QColor +QtGui.QColor.fromHsv?4(int, int, int, int alpha=255) -> QColor +QtGui.QColor.fromHsvF?4(float, float, float, float alpha=1) -> QColor +QtGui.QColor.fromCmyk?4(int, int, int, int, int alpha=255) -> QColor +QtGui.QColor.fromCmykF?4(float, float, float, float, float alpha=1) -> QColor +QtGui.QColor.isValid?4() -> bool +QtGui.QColor.lighter?4(int factor=150) -> QColor +QtGui.QColor.darker?4(int factor=200) -> QColor +QtGui.QColor.hsvHue?4() -> int +QtGui.QColor.hsvSaturation?4() -> int +QtGui.QColor.hsvHueF?4() -> float +QtGui.QColor.hsvSaturationF?4() -> float +QtGui.QColor.hslHue?4() -> int +QtGui.QColor.hslSaturation?4() -> int +QtGui.QColor.lightness?4() -> int +QtGui.QColor.hslHueF?4() -> float +QtGui.QColor.hslSaturationF?4() -> float +QtGui.QColor.lightnessF?4() -> float +QtGui.QColor.getHsl?4() -> (int, int, int, int) +QtGui.QColor.setHsl?4(int, int, int, int alpha=255) +QtGui.QColor.getHslF?4() -> (float, float, float, float) +QtGui.QColor.setHslF?4(float, float, float, float alpha=1) +QtGui.QColor.toHsl?4() -> QColor +QtGui.QColor.fromHsl?4(int, int, int, int alpha=255) -> QColor +QtGui.QColor.fromHslF?4(float, float, float, float alpha=1) -> QColor +QtGui.QColor.isValidColor?4(QString) -> bool +QtGui.QColor.name?4(QColor.NameFormat) -> QString +QtGui.QColor.rgba64?4() -> QRgba64 +QtGui.QColor.setRgba64?4(QRgba64) +QtGui.QColor.fromRgba64?4(int, int, int, int alpha=65535) -> QColor +QtGui.QColor.fromRgba64?4(QRgba64) -> QColor +QtGui.QColor.toExtendedRgb?4() -> QColor +QtGui.QColorConstants.Black?7 +QtGui.QColorConstants.Blue?7 +QtGui.QColorConstants.Color0?7 +QtGui.QColorConstants.Color1?7 +QtGui.QColorConstants.Cyan?7 +QtGui.QColorConstants.DarkBlue?7 +QtGui.QColorConstants.DarkCyan?7 +QtGui.QColorConstants.DarkGray?7 +QtGui.QColorConstants.DarkGreen?7 +QtGui.QColorConstants.DarkMagenta?7 +QtGui.QColorConstants.DarkRed?7 +QtGui.QColorConstants.DarkYellow?7 +QtGui.QColorConstants.Gray?7 +QtGui.QColorConstants.Green?7 +QtGui.QColorConstants.LightGray?7 +QtGui.QColorConstants.Magenta?7 +QtGui.QColorConstants.Red?7 +QtGui.QColorConstants.Transparent?7 +QtGui.QColorConstants.White?7 +QtGui.QColorConstants.Yellow?7 +QtGui.QColorConstants.Svg.aliceblue?7 +QtGui.QColorConstants.Svg.antiquewhite?7 +QtGui.QColorConstants.Svg.aqua?7 +QtGui.QColorConstants.Svg.aquamarine?7 +QtGui.QColorConstants.Svg.azure?7 +QtGui.QColorConstants.Svg.beige?7 +QtGui.QColorConstants.Svg.bisque?7 +QtGui.QColorConstants.Svg.black?7 +QtGui.QColorConstants.Svg.blanchedalmond?7 +QtGui.QColorConstants.Svg.blue?7 +QtGui.QColorConstants.Svg.blueviolet?7 +QtGui.QColorConstants.Svg.brown?7 +QtGui.QColorConstants.Svg.burlywood?7 +QtGui.QColorConstants.Svg.cadetblue?7 +QtGui.QColorConstants.Svg.chartreuse?7 +QtGui.QColorConstants.Svg.chocolate?7 +QtGui.QColorConstants.Svg.coral?7 +QtGui.QColorConstants.Svg.cornflowerblue?7 +QtGui.QColorConstants.Svg.cornsilk?7 +QtGui.QColorConstants.Svg.crimson?7 +QtGui.QColorConstants.Svg.cyan?7 +QtGui.QColorConstants.Svg.darkblue?7 +QtGui.QColorConstants.Svg.darkcyan?7 +QtGui.QColorConstants.Svg.darkgoldenrod?7 +QtGui.QColorConstants.Svg.darkgray?7 +QtGui.QColorConstants.Svg.darkgreen?7 +QtGui.QColorConstants.Svg.darkgrey?7 +QtGui.QColorConstants.Svg.darkkhaki?7 +QtGui.QColorConstants.Svg.darkmagenta?7 +QtGui.QColorConstants.Svg.darkolivegreen?7 +QtGui.QColorConstants.Svg.darkorange?7 +QtGui.QColorConstants.Svg.darkorchid?7 +QtGui.QColorConstants.Svg.darkred?7 +QtGui.QColorConstants.Svg.darksalmon?7 +QtGui.QColorConstants.Svg.darkseagreen?7 +QtGui.QColorConstants.Svg.darkslateblue?7 +QtGui.QColorConstants.Svg.darkslategray?7 +QtGui.QColorConstants.Svg.darkslategrey?7 +QtGui.QColorConstants.Svg.darkturquoise?7 +QtGui.QColorConstants.Svg.darkviolet?7 +QtGui.QColorConstants.Svg.deeppink?7 +QtGui.QColorConstants.Svg.deepskyblue?7 +QtGui.QColorConstants.Svg.dimgray?7 +QtGui.QColorConstants.Svg.dimgrey?7 +QtGui.QColorConstants.Svg.dodgerblue?7 +QtGui.QColorConstants.Svg.firebrick?7 +QtGui.QColorConstants.Svg.floralwhite?7 +QtGui.QColorConstants.Svg.forestgreen?7 +QtGui.QColorConstants.Svg.fuchsia?7 +QtGui.QColorConstants.Svg.gainsboro?7 +QtGui.QColorConstants.Svg.ghostwhite?7 +QtGui.QColorConstants.Svg.gold?7 +QtGui.QColorConstants.Svg.goldenrod?7 +QtGui.QColorConstants.Svg.gray?7 +QtGui.QColorConstants.Svg.green?7 +QtGui.QColorConstants.Svg.greenyellow?7 +QtGui.QColorConstants.Svg.grey?7 +QtGui.QColorConstants.Svg.honeydew?7 +QtGui.QColorConstants.Svg.hotpink?7 +QtGui.QColorConstants.Svg.indianred?7 +QtGui.QColorConstants.Svg.indigo?7 +QtGui.QColorConstants.Svg.ivory?7 +QtGui.QColorConstants.Svg.khaki?7 +QtGui.QColorConstants.Svg.lavender?7 +QtGui.QColorConstants.Svg.lavenderblush?7 +QtGui.QColorConstants.Svg.lawngreen?7 +QtGui.QColorConstants.Svg.lemonchiffon?7 +QtGui.QColorConstants.Svg.lightblue?7 +QtGui.QColorConstants.Svg.lightcoral?7 +QtGui.QColorConstants.Svg.lightcyan?7 +QtGui.QColorConstants.Svg.lightgoldenrodyellow?7 +QtGui.QColorConstants.Svg.lightgray?7 +QtGui.QColorConstants.Svg.lightgreen?7 +QtGui.QColorConstants.Svg.lightgrey?7 +QtGui.QColorConstants.Svg.lightpink?7 +QtGui.QColorConstants.Svg.lightsalmon?7 +QtGui.QColorConstants.Svg.lightseagreen?7 +QtGui.QColorConstants.Svg.lightskyblue?7 +QtGui.QColorConstants.Svg.lightslategray?7 +QtGui.QColorConstants.Svg.lightslategrey?7 +QtGui.QColorConstants.Svg.lightsteelblue?7 +QtGui.QColorConstants.Svg.lightyellow?7 +QtGui.QColorConstants.Svg.lime?7 +QtGui.QColorConstants.Svg.limegreen?7 +QtGui.QColorConstants.Svg.linen?7 +QtGui.QColorConstants.Svg.magenta?7 +QtGui.QColorConstants.Svg.maroon?7 +QtGui.QColorConstants.Svg.mediumaquamarine?7 +QtGui.QColorConstants.Svg.mediumblue?7 +QtGui.QColorConstants.Svg.mediumorchid?7 +QtGui.QColorConstants.Svg.mediumpurple?7 +QtGui.QColorConstants.Svg.mediumseagreen?7 +QtGui.QColorConstants.Svg.mediumslateblue?7 +QtGui.QColorConstants.Svg.mediumspringgreen?7 +QtGui.QColorConstants.Svg.mediumturquoise?7 +QtGui.QColorConstants.Svg.mediumvioletred?7 +QtGui.QColorConstants.Svg.midnightblue?7 +QtGui.QColorConstants.Svg.mintcream?7 +QtGui.QColorConstants.Svg.mistyrose?7 +QtGui.QColorConstants.Svg.moccasin?7 +QtGui.QColorConstants.Svg.navajowhite?7 +QtGui.QColorConstants.Svg.navy?7 +QtGui.QColorConstants.Svg.oldlace?7 +QtGui.QColorConstants.Svg.olive?7 +QtGui.QColorConstants.Svg.olivedrab?7 +QtGui.QColorConstants.Svg.orange?7 +QtGui.QColorConstants.Svg.orangered?7 +QtGui.QColorConstants.Svg.orchid?7 +QtGui.QColorConstants.Svg.palegoldenrod?7 +QtGui.QColorConstants.Svg.palegreen?7 +QtGui.QColorConstants.Svg.paleturquoise?7 +QtGui.QColorConstants.Svg.palevioletred?7 +QtGui.QColorConstants.Svg.papayawhip?7 +QtGui.QColorConstants.Svg.peachpuff?7 +QtGui.QColorConstants.Svg.peru?7 +QtGui.QColorConstants.Svg.pink?7 +QtGui.QColorConstants.Svg.plum?7 +QtGui.QColorConstants.Svg.powderblue?7 +QtGui.QColorConstants.Svg.purple?7 +QtGui.QColorConstants.Svg.red?7 +QtGui.QColorConstants.Svg.rosybrown?7 +QtGui.QColorConstants.Svg.royalblue?7 +QtGui.QColorConstants.Svg.saddlebrown?7 +QtGui.QColorConstants.Svg.salmon?7 +QtGui.QColorConstants.Svg.sandybrown?7 +QtGui.QColorConstants.Svg.seagreen?7 +QtGui.QColorConstants.Svg.seashell?7 +QtGui.QColorConstants.Svg.sienna?7 +QtGui.QColorConstants.Svg.silver?7 +QtGui.QColorConstants.Svg.skyblue?7 +QtGui.QColorConstants.Svg.slateblue?7 +QtGui.QColorConstants.Svg.slategray?7 +QtGui.QColorConstants.Svg.slategrey?7 +QtGui.QColorConstants.Svg.snow?7 +QtGui.QColorConstants.Svg.springgreen?7 +QtGui.QColorConstants.Svg.steelblue?7 +QtGui.QColorConstants.Svg.tan?7 +QtGui.QColorConstants.Svg.teal?7 +QtGui.QColorConstants.Svg.thistle?7 +QtGui.QColorConstants.Svg.tomato?7 +QtGui.QColorConstants.Svg.turquoise?7 +QtGui.QColorConstants.Svg.violet?7 +QtGui.QColorConstants.Svg.wheat?7 +QtGui.QColorConstants.Svg.white?7 +QtGui.QColorConstants.Svg.whitesmoke?7 +QtGui.QColorConstants.Svg.yellow?7 +QtGui.QColorConstants.Svg.yellowgreen?7 +QtGui.QBrush?1() +QtGui.QBrush.__init__?1(self) +QtGui.QBrush?1(Qt.BrushStyle) +QtGui.QBrush.__init__?1(self, Qt.BrushStyle) +QtGui.QBrush?1(QColor, Qt.BrushStyle style=Qt.SolidPattern) +QtGui.QBrush.__init__?1(self, QColor, Qt.BrushStyle style=Qt.SolidPattern) +QtGui.QBrush?1(QColor, QPixmap) +QtGui.QBrush.__init__?1(self, QColor, QPixmap) +QtGui.QBrush?1(QPixmap) +QtGui.QBrush.__init__?1(self, QPixmap) +QtGui.QBrush?1(QImage) +QtGui.QBrush.__init__?1(self, QImage) +QtGui.QBrush?1(QBrush) +QtGui.QBrush.__init__?1(self, QBrush) +QtGui.QBrush?1(QVariant) +QtGui.QBrush.__init__?1(self, QVariant) +QtGui.QBrush.setStyle?4(Qt.BrushStyle) +QtGui.QBrush.texture?4() -> QPixmap +QtGui.QBrush.setTexture?4(QPixmap) +QtGui.QBrush.setColor?4(QColor) +QtGui.QBrush.gradient?4() -> QGradient +QtGui.QBrush.isOpaque?4() -> bool +QtGui.QBrush.setColor?4(Qt.GlobalColor) +QtGui.QBrush.style?4() -> Qt.BrushStyle +QtGui.QBrush.color?4() -> QColor +QtGui.QBrush.setTextureImage?4(QImage) +QtGui.QBrush.textureImage?4() -> QImage +QtGui.QBrush.setTransform?4(QTransform) +QtGui.QBrush.transform?4() -> QTransform +QtGui.QBrush.swap?4(QBrush) +QtGui.QGradient.Preset?10 +QtGui.QGradient.Preset.WarmFlame?10 +QtGui.QGradient.Preset.NightFade?10 +QtGui.QGradient.Preset.SpringWarmth?10 +QtGui.QGradient.Preset.JuicyPeach?10 +QtGui.QGradient.Preset.YoungPassion?10 +QtGui.QGradient.Preset.LadyLips?10 +QtGui.QGradient.Preset.SunnyMorning?10 +QtGui.QGradient.Preset.RainyAshville?10 +QtGui.QGradient.Preset.FrozenDreams?10 +QtGui.QGradient.Preset.WinterNeva?10 +QtGui.QGradient.Preset.DustyGrass?10 +QtGui.QGradient.Preset.TemptingAzure?10 +QtGui.QGradient.Preset.HeavyRain?10 +QtGui.QGradient.Preset.AmyCrisp?10 +QtGui.QGradient.Preset.MeanFruit?10 +QtGui.QGradient.Preset.DeepBlue?10 +QtGui.QGradient.Preset.RipeMalinka?10 +QtGui.QGradient.Preset.CloudyKnoxville?10 +QtGui.QGradient.Preset.MalibuBeach?10 +QtGui.QGradient.Preset.NewLife?10 +QtGui.QGradient.Preset.TrueSunset?10 +QtGui.QGradient.Preset.MorpheusDen?10 +QtGui.QGradient.Preset.RareWind?10 +QtGui.QGradient.Preset.NearMoon?10 +QtGui.QGradient.Preset.WildApple?10 +QtGui.QGradient.Preset.SaintPetersburg?10 +QtGui.QGradient.Preset.PlumPlate?10 +QtGui.QGradient.Preset.EverlastingSky?10 +QtGui.QGradient.Preset.HappyFisher?10 +QtGui.QGradient.Preset.Blessing?10 +QtGui.QGradient.Preset.SharpeyeEagle?10 +QtGui.QGradient.Preset.LadogaBottom?10 +QtGui.QGradient.Preset.LemonGate?10 +QtGui.QGradient.Preset.ItmeoBranding?10 +QtGui.QGradient.Preset.ZeusMiracle?10 +QtGui.QGradient.Preset.OldHat?10 +QtGui.QGradient.Preset.StarWine?10 +QtGui.QGradient.Preset.HappyAcid?10 +QtGui.QGradient.Preset.AwesomePine?10 +QtGui.QGradient.Preset.NewYork?10 +QtGui.QGradient.Preset.ShyRainbow?10 +QtGui.QGradient.Preset.MixedHopes?10 +QtGui.QGradient.Preset.FlyHigh?10 +QtGui.QGradient.Preset.StrongBliss?10 +QtGui.QGradient.Preset.FreshMilk?10 +QtGui.QGradient.Preset.SnowAgain?10 +QtGui.QGradient.Preset.FebruaryInk?10 +QtGui.QGradient.Preset.KindSteel?10 +QtGui.QGradient.Preset.SoftGrass?10 +QtGui.QGradient.Preset.GrownEarly?10 +QtGui.QGradient.Preset.SharpBlues?10 +QtGui.QGradient.Preset.ShadyWater?10 +QtGui.QGradient.Preset.DirtyBeauty?10 +QtGui.QGradient.Preset.GreatWhale?10 +QtGui.QGradient.Preset.TeenNotebook?10 +QtGui.QGradient.Preset.PoliteRumors?10 +QtGui.QGradient.Preset.SweetPeriod?10 +QtGui.QGradient.Preset.WideMatrix?10 +QtGui.QGradient.Preset.SoftCherish?10 +QtGui.QGradient.Preset.RedSalvation?10 +QtGui.QGradient.Preset.BurningSpring?10 +QtGui.QGradient.Preset.NightParty?10 +QtGui.QGradient.Preset.SkyGlider?10 +QtGui.QGradient.Preset.HeavenPeach?10 +QtGui.QGradient.Preset.PurpleDivision?10 +QtGui.QGradient.Preset.AquaSplash?10 +QtGui.QGradient.Preset.SpikyNaga?10 +QtGui.QGradient.Preset.LoveKiss?10 +QtGui.QGradient.Preset.CleanMirror?10 +QtGui.QGradient.Preset.PremiumDark?10 +QtGui.QGradient.Preset.ColdEvening?10 +QtGui.QGradient.Preset.CochitiLake?10 +QtGui.QGradient.Preset.SummerGames?10 +QtGui.QGradient.Preset.PassionateBed?10 +QtGui.QGradient.Preset.MountainRock?10 +QtGui.QGradient.Preset.DesertHump?10 +QtGui.QGradient.Preset.JungleDay?10 +QtGui.QGradient.Preset.PhoenixStart?10 +QtGui.QGradient.Preset.OctoberSilence?10 +QtGui.QGradient.Preset.FarawayRiver?10 +QtGui.QGradient.Preset.AlchemistLab?10 +QtGui.QGradient.Preset.OverSun?10 +QtGui.QGradient.Preset.PremiumWhite?10 +QtGui.QGradient.Preset.MarsParty?10 +QtGui.QGradient.Preset.EternalConstance?10 +QtGui.QGradient.Preset.JapanBlush?10 +QtGui.QGradient.Preset.SmilingRain?10 +QtGui.QGradient.Preset.CloudyApple?10 +QtGui.QGradient.Preset.BigMango?10 +QtGui.QGradient.Preset.HealthyWater?10 +QtGui.QGradient.Preset.AmourAmour?10 +QtGui.QGradient.Preset.RiskyConcrete?10 +QtGui.QGradient.Preset.StrongStick?10 +QtGui.QGradient.Preset.ViciousStance?10 +QtGui.QGradient.Preset.PaloAlto?10 +QtGui.QGradient.Preset.HappyMemories?10 +QtGui.QGradient.Preset.MidnightBloom?10 +QtGui.QGradient.Preset.Crystalline?10 +QtGui.QGradient.Preset.PartyBliss?10 +QtGui.QGradient.Preset.ConfidentCloud?10 +QtGui.QGradient.Preset.LeCocktail?10 +QtGui.QGradient.Preset.RiverCity?10 +QtGui.QGradient.Preset.FrozenBerry?10 +QtGui.QGradient.Preset.ChildCare?10 +QtGui.QGradient.Preset.FlyingLemon?10 +QtGui.QGradient.Preset.NewRetrowave?10 +QtGui.QGradient.Preset.HiddenJaguar?10 +QtGui.QGradient.Preset.AboveTheSky?10 +QtGui.QGradient.Preset.Nega?10 +QtGui.QGradient.Preset.DenseWater?10 +QtGui.QGradient.Preset.Seashore?10 +QtGui.QGradient.Preset.MarbleWall?10 +QtGui.QGradient.Preset.CheerfulCaramel?10 +QtGui.QGradient.Preset.NightSky?10 +QtGui.QGradient.Preset.MagicLake?10 +QtGui.QGradient.Preset.YoungGrass?10 +QtGui.QGradient.Preset.ColorfulPeach?10 +QtGui.QGradient.Preset.GentleCare?10 +QtGui.QGradient.Preset.PlumBath?10 +QtGui.QGradient.Preset.HappyUnicorn?10 +QtGui.QGradient.Preset.AfricanField?10 +QtGui.QGradient.Preset.SolidStone?10 +QtGui.QGradient.Preset.OrangeJuice?10 +QtGui.QGradient.Preset.GlassWater?10 +QtGui.QGradient.Preset.NorthMiracle?10 +QtGui.QGradient.Preset.FruitBlend?10 +QtGui.QGradient.Preset.MillenniumPine?10 +QtGui.QGradient.Preset.HighFlight?10 +QtGui.QGradient.Preset.MoleHall?10 +QtGui.QGradient.Preset.SpaceShift?10 +QtGui.QGradient.Preset.ForestInei?10 +QtGui.QGradient.Preset.RoyalGarden?10 +QtGui.QGradient.Preset.RichMetal?10 +QtGui.QGradient.Preset.JuicyCake?10 +QtGui.QGradient.Preset.SmartIndigo?10 +QtGui.QGradient.Preset.SandStrike?10 +QtGui.QGradient.Preset.NorseBeauty?10 +QtGui.QGradient.Preset.AquaGuidance?10 +QtGui.QGradient.Preset.SunVeggie?10 +QtGui.QGradient.Preset.SeaLord?10 +QtGui.QGradient.Preset.BlackSea?10 +QtGui.QGradient.Preset.GrassShampoo?10 +QtGui.QGradient.Preset.LandingAircraft?10 +QtGui.QGradient.Preset.WitchDance?10 +QtGui.QGradient.Preset.SleeplessNight?10 +QtGui.QGradient.Preset.AngelCare?10 +QtGui.QGradient.Preset.CrystalRiver?10 +QtGui.QGradient.Preset.SoftLipstick?10 +QtGui.QGradient.Preset.SaltMountain?10 +QtGui.QGradient.Preset.PerfectWhite?10 +QtGui.QGradient.Preset.FreshOasis?10 +QtGui.QGradient.Preset.StrictNovember?10 +QtGui.QGradient.Preset.MorningSalad?10 +QtGui.QGradient.Preset.DeepRelief?10 +QtGui.QGradient.Preset.SeaStrike?10 +QtGui.QGradient.Preset.NightCall?10 +QtGui.QGradient.Preset.SupremeSky?10 +QtGui.QGradient.Preset.LightBlue?10 +QtGui.QGradient.Preset.MindCrawl?10 +QtGui.QGradient.Preset.LilyMeadow?10 +QtGui.QGradient.Preset.SugarLollipop?10 +QtGui.QGradient.Preset.SweetDessert?10 +QtGui.QGradient.Preset.MagicRay?10 +QtGui.QGradient.Preset.TeenParty?10 +QtGui.QGradient.Preset.FrozenHeat?10 +QtGui.QGradient.Preset.GagarinView?10 +QtGui.QGradient.Preset.FabledSunset?10 +QtGui.QGradient.Preset.PerfectBlue?10 +QtGui.QGradient.Preset.NumPresets?10 +QtGui.QGradient.Spread?10 +QtGui.QGradient.Spread.PadSpread?10 +QtGui.QGradient.Spread.ReflectSpread?10 +QtGui.QGradient.Spread.RepeatSpread?10 +QtGui.QGradient.Type?10 +QtGui.QGradient.Type.LinearGradient?10 +QtGui.QGradient.Type.RadialGradient?10 +QtGui.QGradient.Type.ConicalGradient?10 +QtGui.QGradient.Type.NoGradient?10 +QtGui.QGradient.CoordinateMode?10 +QtGui.QGradient.CoordinateMode.LogicalMode?10 +QtGui.QGradient.CoordinateMode.StretchToDeviceMode?10 +QtGui.QGradient.CoordinateMode.ObjectBoundingMode?10 +QtGui.QGradient.CoordinateMode.ObjectMode?10 +QtGui.QGradient?1() +QtGui.QGradient.__init__?1(self) +QtGui.QGradient?1(QGradient.Preset) +QtGui.QGradient.__init__?1(self, QGradient.Preset) +QtGui.QGradient?1(QGradient) +QtGui.QGradient.__init__?1(self, QGradient) +QtGui.QGradient.type?4() -> QGradient.Type +QtGui.QGradient.spread?4() -> QGradient.Spread +QtGui.QGradient.setColorAt?4(float, QColor) +QtGui.QGradient.setStops?4(unknown-type) +QtGui.QGradient.stops?4() -> unknown-type +QtGui.QGradient.setSpread?4(QGradient.Spread) +QtGui.QGradient.coordinateMode?4() -> QGradient.CoordinateMode +QtGui.QGradient.setCoordinateMode?4(QGradient.CoordinateMode) +QtGui.QLinearGradient?1() +QtGui.QLinearGradient.__init__?1(self) +QtGui.QLinearGradient?1(QPointF, QPointF) +QtGui.QLinearGradient.__init__?1(self, QPointF, QPointF) +QtGui.QLinearGradient?1(float, float, float, float) +QtGui.QLinearGradient.__init__?1(self, float, float, float, float) +QtGui.QLinearGradient?1(QLinearGradient) +QtGui.QLinearGradient.__init__?1(self, QLinearGradient) +QtGui.QLinearGradient.start?4() -> QPointF +QtGui.QLinearGradient.finalStop?4() -> QPointF +QtGui.QLinearGradient.setStart?4(QPointF) +QtGui.QLinearGradient.setStart?4(float, float) +QtGui.QLinearGradient.setFinalStop?4(QPointF) +QtGui.QLinearGradient.setFinalStop?4(float, float) +QtGui.QRadialGradient?1() +QtGui.QRadialGradient.__init__?1(self) +QtGui.QRadialGradient?1(QPointF, float, QPointF) +QtGui.QRadialGradient.__init__?1(self, QPointF, float, QPointF) +QtGui.QRadialGradient?1(QPointF, float, QPointF, float) +QtGui.QRadialGradient.__init__?1(self, QPointF, float, QPointF, float) +QtGui.QRadialGradient?1(QPointF, float) +QtGui.QRadialGradient.__init__?1(self, QPointF, float) +QtGui.QRadialGradient?1(float, float, float, float, float) +QtGui.QRadialGradient.__init__?1(self, float, float, float, float, float) +QtGui.QRadialGradient?1(float, float, float, float, float, float) +QtGui.QRadialGradient.__init__?1(self, float, float, float, float, float, float) +QtGui.QRadialGradient?1(float, float, float) +QtGui.QRadialGradient.__init__?1(self, float, float, float) +QtGui.QRadialGradient?1(QRadialGradient) +QtGui.QRadialGradient.__init__?1(self, QRadialGradient) +QtGui.QRadialGradient.center?4() -> QPointF +QtGui.QRadialGradient.focalPoint?4() -> QPointF +QtGui.QRadialGradient.radius?4() -> float +QtGui.QRadialGradient.setCenter?4(QPointF) +QtGui.QRadialGradient.setCenter?4(float, float) +QtGui.QRadialGradient.setFocalPoint?4(QPointF) +QtGui.QRadialGradient.setFocalPoint?4(float, float) +QtGui.QRadialGradient.setRadius?4(float) +QtGui.QRadialGradient.centerRadius?4() -> float +QtGui.QRadialGradient.setCenterRadius?4(float) +QtGui.QRadialGradient.focalRadius?4() -> float +QtGui.QRadialGradient.setFocalRadius?4(float) +QtGui.QConicalGradient?1() +QtGui.QConicalGradient.__init__?1(self) +QtGui.QConicalGradient?1(QPointF, float) +QtGui.QConicalGradient.__init__?1(self, QPointF, float) +QtGui.QConicalGradient?1(float, float, float) +QtGui.QConicalGradient.__init__?1(self, float, float, float) +QtGui.QConicalGradient?1(QConicalGradient) +QtGui.QConicalGradient.__init__?1(self, QConicalGradient) +QtGui.QConicalGradient.center?4() -> QPointF +QtGui.QConicalGradient.angle?4() -> float +QtGui.QConicalGradient.setCenter?4(QPointF) +QtGui.QConicalGradient.setCenter?4(float, float) +QtGui.QConicalGradient.setAngle?4(float) +QtGui.QClipboard.Mode?10 +QtGui.QClipboard.Mode.Clipboard?10 +QtGui.QClipboard.Mode.Selection?10 +QtGui.QClipboard.Mode.FindBuffer?10 +QtGui.QClipboard.clear?4(QClipboard.Mode mode=QClipboard.Clipboard) +QtGui.QClipboard.supportsFindBuffer?4() -> bool +QtGui.QClipboard.supportsSelection?4() -> bool +QtGui.QClipboard.ownsClipboard?4() -> bool +QtGui.QClipboard.ownsFindBuffer?4() -> bool +QtGui.QClipboard.ownsSelection?4() -> bool +QtGui.QClipboard.text?4(QClipboard.Mode mode=QClipboard.Clipboard) -> QString +QtGui.QClipboard.text?4(QString, QClipboard.Mode mode=QClipboard.Clipboard) -> tuple +QtGui.QClipboard.setText?4(QString, QClipboard.Mode mode=QClipboard.Clipboard) +QtGui.QClipboard.mimeData?4(QClipboard.Mode mode=QClipboard.Clipboard) -> QMimeData +QtGui.QClipboard.setMimeData?4(QMimeData, QClipboard.Mode mode=QClipboard.Clipboard) +QtGui.QClipboard.image?4(QClipboard.Mode mode=QClipboard.Clipboard) -> QImage +QtGui.QClipboard.pixmap?4(QClipboard.Mode mode=QClipboard.Clipboard) -> QPixmap +QtGui.QClipboard.setImage?4(QImage, QClipboard.Mode mode=QClipboard.Clipboard) +QtGui.QClipboard.setPixmap?4(QPixmap, QClipboard.Mode mode=QClipboard.Clipboard) +QtGui.QClipboard.changed?4(QClipboard.Mode) +QtGui.QClipboard.dataChanged?4() +QtGui.QClipboard.findBufferChanged?4() +QtGui.QClipboard.selectionChanged?4() +QtGui.QColorSpace.TransferFunction?10 +QtGui.QColorSpace.TransferFunction.Custom?10 +QtGui.QColorSpace.TransferFunction.Linear?10 +QtGui.QColorSpace.TransferFunction.Gamma?10 +QtGui.QColorSpace.TransferFunction.SRgb?10 +QtGui.QColorSpace.TransferFunction.ProPhotoRgb?10 +QtGui.QColorSpace.Primaries?10 +QtGui.QColorSpace.Primaries.Custom?10 +QtGui.QColorSpace.Primaries.SRgb?10 +QtGui.QColorSpace.Primaries.AdobeRgb?10 +QtGui.QColorSpace.Primaries.DciP3D65?10 +QtGui.QColorSpace.Primaries.ProPhotoRgb?10 +QtGui.QColorSpace.NamedColorSpace?10 +QtGui.QColorSpace.NamedColorSpace.SRgb?10 +QtGui.QColorSpace.NamedColorSpace.SRgbLinear?10 +QtGui.QColorSpace.NamedColorSpace.AdobeRgb?10 +QtGui.QColorSpace.NamedColorSpace.DisplayP3?10 +QtGui.QColorSpace.NamedColorSpace.ProPhotoRgb?10 +QtGui.QColorSpace?1() +QtGui.QColorSpace.__init__?1(self) +QtGui.QColorSpace?1(QColorSpace.NamedColorSpace) +QtGui.QColorSpace.__init__?1(self, QColorSpace.NamedColorSpace) +QtGui.QColorSpace?1(QColorSpace.Primaries, QColorSpace.TransferFunction, float gamma=0) +QtGui.QColorSpace.__init__?1(self, QColorSpace.Primaries, QColorSpace.TransferFunction, float gamma=0) +QtGui.QColorSpace?1(QColorSpace.Primaries, float) +QtGui.QColorSpace.__init__?1(self, QColorSpace.Primaries, float) +QtGui.QColorSpace?1(QPointF, QPointF, QPointF, QPointF, QColorSpace.TransferFunction, float gamma=0) +QtGui.QColorSpace.__init__?1(self, QPointF, QPointF, QPointF, QPointF, QColorSpace.TransferFunction, float gamma=0) +QtGui.QColorSpace?1(QColorSpace) +QtGui.QColorSpace.__init__?1(self, QColorSpace) +QtGui.QColorSpace.swap?4(QColorSpace) +QtGui.QColorSpace.primaries?4() -> QColorSpace.Primaries +QtGui.QColorSpace.transferFunction?4() -> QColorSpace.TransferFunction +QtGui.QColorSpace.gamma?4() -> float +QtGui.QColorSpace.setTransferFunction?4(QColorSpace.TransferFunction, float gamma=0) +QtGui.QColorSpace.withTransferFunction?4(QColorSpace.TransferFunction, float gamma=0) -> QColorSpace +QtGui.QColorSpace.setPrimaries?4(QColorSpace.Primaries) +QtGui.QColorSpace.setPrimaries?4(QPointF, QPointF, QPointF, QPointF) +QtGui.QColorSpace.isValid?4() -> bool +QtGui.QColorSpace.fromIccProfile?4(QByteArray) -> QColorSpace +QtGui.QColorSpace.iccProfile?4() -> QByteArray +QtGui.QColorSpace.transformationToColorSpace?4(QColorSpace) -> QColorTransform +QtGui.QColorTransform?1() +QtGui.QColorTransform.__init__?1(self) +QtGui.QColorTransform?1(QColorTransform) +QtGui.QColorTransform.__init__?1(self, QColorTransform) +QtGui.QColorTransform.swap?4(QColorTransform) +QtGui.QColorTransform.map?4(int) -> int +QtGui.QColorTransform.map?4(QRgba64) -> QRgba64 +QtGui.QColorTransform.map?4(QColor) -> QColor +QtGui.QCursor?1() +QtGui.QCursor.__init__?1(self) +QtGui.QCursor?1(QBitmap, QBitmap, int hotX=-1, int hotY=-1) +QtGui.QCursor.__init__?1(self, QBitmap, QBitmap, int hotX=-1, int hotY=-1) +QtGui.QCursor?1(QPixmap, int hotX=-1, int hotY=-1) +QtGui.QCursor.__init__?1(self, QPixmap, int hotX=-1, int hotY=-1) +QtGui.QCursor?1(QCursor) +QtGui.QCursor.__init__?1(self, QCursor) +QtGui.QCursor?1(QVariant) +QtGui.QCursor.__init__?1(self, QVariant) +QtGui.QCursor.shape?4() -> Qt.CursorShape +QtGui.QCursor.setShape?4(Qt.CursorShape) +QtGui.QCursor.bitmap?4() -> QBitmap +QtGui.QCursor.mask?4() -> QBitmap +QtGui.QCursor.pixmap?4() -> QPixmap +QtGui.QCursor.hotSpot?4() -> QPoint +QtGui.QCursor.pos?4() -> QPoint +QtGui.QCursor.setPos?4(int, int) +QtGui.QCursor.setPos?4(QPoint) +QtGui.QCursor.pos?4(QScreen) -> QPoint +QtGui.QCursor.setPos?4(QScreen, int, int) +QtGui.QCursor.setPos?4(QScreen, QPoint) +QtGui.QCursor.swap?4(QCursor) +QtGui.QDesktopServices?1() +QtGui.QDesktopServices.__init__?1(self) +QtGui.QDesktopServices?1(QDesktopServices) +QtGui.QDesktopServices.__init__?1(self, QDesktopServices) +QtGui.QDesktopServices.openUrl?4(QUrl) -> bool +QtGui.QDesktopServices.setUrlHandler?4(QString, QObject, str) +QtGui.QDesktopServices.setUrlHandler?4(QString, callable) +QtGui.QDesktopServices.unsetUrlHandler?4(QString) +QtGui.QDrag?1(QObject) +QtGui.QDrag.__init__?1(self, QObject) +QtGui.QDrag.exec_?4(Qt.DropActions supportedActions=Qt.MoveAction) -> Qt.DropAction +QtGui.QDrag.exec?4(Qt.DropActions supportedActions=Qt.MoveAction) -> Qt.DropAction +QtGui.QDrag.exec_?4(Qt.DropActions, Qt.DropAction) -> Qt.DropAction +QtGui.QDrag.exec?4(Qt.DropActions, Qt.DropAction) -> Qt.DropAction +QtGui.QDrag.setMimeData?4(QMimeData) +QtGui.QDrag.mimeData?4() -> QMimeData +QtGui.QDrag.setPixmap?4(QPixmap) +QtGui.QDrag.pixmap?4() -> QPixmap +QtGui.QDrag.setHotSpot?4(QPoint) +QtGui.QDrag.hotSpot?4() -> QPoint +QtGui.QDrag.source?4() -> QObject +QtGui.QDrag.target?4() -> QObject +QtGui.QDrag.setDragCursor?4(QPixmap, Qt.DropAction) +QtGui.QDrag.actionChanged?4(Qt.DropAction) +QtGui.QDrag.targetChanged?4(QObject) +QtGui.QDrag.dragCursor?4(Qt.DropAction) -> QPixmap +QtGui.QDrag.supportedActions?4() -> Qt.DropActions +QtGui.QDrag.defaultAction?4() -> Qt.DropAction +QtGui.QDrag.cancel?4() +QtGui.QInputEvent.modifiers?4() -> Qt.KeyboardModifiers +QtGui.QInputEvent.timestamp?4() -> int +QtGui.QInputEvent.setTimestamp?4(int) +QtGui.QMouseEvent?1(QEvent.Type, QPointF, Qt.MouseButton, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QMouseEvent.__init__?1(self, QEvent.Type, QPointF, Qt.MouseButton, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QMouseEvent?1(QEvent.Type, QPointF, QPointF, Qt.MouseButton, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QMouseEvent.__init__?1(self, QEvent.Type, QPointF, QPointF, Qt.MouseButton, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QMouseEvent?1(QEvent.Type, QPointF, QPointF, QPointF, Qt.MouseButton, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QMouseEvent.__init__?1(self, QEvent.Type, QPointF, QPointF, QPointF, Qt.MouseButton, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QMouseEvent?1(QEvent.Type, QPointF, QPointF, QPointF, Qt.MouseButton, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.MouseEventSource) +QtGui.QMouseEvent.__init__?1(self, QEvent.Type, QPointF, QPointF, QPointF, Qt.MouseButton, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.MouseEventSource) +QtGui.QMouseEvent?1(QMouseEvent) +QtGui.QMouseEvent.__init__?1(self, QMouseEvent) +QtGui.QMouseEvent.pos?4() -> QPoint +QtGui.QMouseEvent.globalPos?4() -> QPoint +QtGui.QMouseEvent.x?4() -> int +QtGui.QMouseEvent.y?4() -> int +QtGui.QMouseEvent.globalX?4() -> int +QtGui.QMouseEvent.globalY?4() -> int +QtGui.QMouseEvent.button?4() -> Qt.MouseButton +QtGui.QMouseEvent.buttons?4() -> Qt.MouseButtons +QtGui.QMouseEvent.localPos?4() -> QPointF +QtGui.QMouseEvent.windowPos?4() -> QPointF +QtGui.QMouseEvent.screenPos?4() -> QPointF +QtGui.QMouseEvent.source?4() -> Qt.MouseEventSource +QtGui.QMouseEvent.flags?4() -> Qt.MouseEventFlags +QtGui.QHoverEvent?1(QEvent.Type, QPointF, QPointF, Qt.KeyboardModifiers modifiers=Qt.NoModifier) +QtGui.QHoverEvent.__init__?1(self, QEvent.Type, QPointF, QPointF, Qt.KeyboardModifiers modifiers=Qt.NoModifier) +QtGui.QHoverEvent?1(QHoverEvent) +QtGui.QHoverEvent.__init__?1(self, QHoverEvent) +QtGui.QHoverEvent.pos?4() -> QPoint +QtGui.QHoverEvent.oldPos?4() -> QPoint +QtGui.QHoverEvent.posF?4() -> QPointF +QtGui.QHoverEvent.oldPosF?4() -> QPointF +QtGui.QWheelEvent?1(QPointF, QPointF, QPoint, QPoint, int, Qt.Orientation, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QWheelEvent.__init__?1(self, QPointF, QPointF, QPoint, QPoint, int, Qt.Orientation, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QWheelEvent?1(QPointF, QPointF, QPoint, QPoint, int, Qt.Orientation, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.ScrollPhase) +QtGui.QWheelEvent.__init__?1(self, QPointF, QPointF, QPoint, QPoint, int, Qt.Orientation, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.ScrollPhase) +QtGui.QWheelEvent?1(QPointF, QPointF, QPoint, QPoint, int, Qt.Orientation, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.ScrollPhase, Qt.MouseEventSource) +QtGui.QWheelEvent.__init__?1(self, QPointF, QPointF, QPoint, QPoint, int, Qt.Orientation, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.ScrollPhase, Qt.MouseEventSource) +QtGui.QWheelEvent?1(QPointF, QPointF, QPoint, QPoint, int, Qt.Orientation, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.ScrollPhase, Qt.MouseEventSource, bool) +QtGui.QWheelEvent.__init__?1(self, QPointF, QPointF, QPoint, QPoint, int, Qt.Orientation, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.ScrollPhase, Qt.MouseEventSource, bool) +QtGui.QWheelEvent?1(QPointF, QPointF, QPoint, QPoint, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.ScrollPhase, bool, Qt.MouseEventSource source=Qt.MouseEventNotSynthesized) +QtGui.QWheelEvent.__init__?1(self, QPointF, QPointF, QPoint, QPoint, Qt.MouseButtons, Qt.KeyboardModifiers, Qt.ScrollPhase, bool, Qt.MouseEventSource source=Qt.MouseEventNotSynthesized) +QtGui.QWheelEvent?1(QWheelEvent) +QtGui.QWheelEvent.__init__?1(self, QWheelEvent) +QtGui.QWheelEvent.pos?4() -> QPoint +QtGui.QWheelEvent.globalPos?4() -> QPoint +QtGui.QWheelEvent.x?4() -> int +QtGui.QWheelEvent.y?4() -> int +QtGui.QWheelEvent.globalX?4() -> int +QtGui.QWheelEvent.globalY?4() -> int +QtGui.QWheelEvent.buttons?4() -> Qt.MouseButtons +QtGui.QWheelEvent.pixelDelta?4() -> QPoint +QtGui.QWheelEvent.angleDelta?4() -> QPoint +QtGui.QWheelEvent.posF?4() -> QPointF +QtGui.QWheelEvent.globalPosF?4() -> QPointF +QtGui.QWheelEvent.phase?4() -> Qt.ScrollPhase +QtGui.QWheelEvent.source?4() -> Qt.MouseEventSource +QtGui.QWheelEvent.inverted?4() -> bool +QtGui.QWheelEvent.position?4() -> QPointF +QtGui.QWheelEvent.globalPosition?4() -> QPointF +QtGui.QTabletEvent.PointerType?10 +QtGui.QTabletEvent.PointerType.UnknownPointer?10 +QtGui.QTabletEvent.PointerType.Pen?10 +QtGui.QTabletEvent.PointerType.Cursor?10 +QtGui.QTabletEvent.PointerType.Eraser?10 +QtGui.QTabletEvent.TabletDevice?10 +QtGui.QTabletEvent.TabletDevice.NoDevice?10 +QtGui.QTabletEvent.TabletDevice.Puck?10 +QtGui.QTabletEvent.TabletDevice.Stylus?10 +QtGui.QTabletEvent.TabletDevice.Airbrush?10 +QtGui.QTabletEvent.TabletDevice.FourDMouse?10 +QtGui.QTabletEvent.TabletDevice.XFreeEraser?10 +QtGui.QTabletEvent.TabletDevice.RotationStylus?10 +QtGui.QTabletEvent?1(QEvent.Type, QPointF, QPointF, int, int, float, int, int, float, float, int, Qt.KeyboardModifiers, int, Qt.MouseButton, Qt.MouseButtons) +QtGui.QTabletEvent.__init__?1(self, QEvent.Type, QPointF, QPointF, int, int, float, int, int, float, float, int, Qt.KeyboardModifiers, int, Qt.MouseButton, Qt.MouseButtons) +QtGui.QTabletEvent?1(QEvent.Type, QPointF, QPointF, int, int, float, int, int, float, float, int, Qt.KeyboardModifiers, int) +QtGui.QTabletEvent.__init__?1(self, QEvent.Type, QPointF, QPointF, int, int, float, int, int, float, float, int, Qt.KeyboardModifiers, int) +QtGui.QTabletEvent?1(QTabletEvent) +QtGui.QTabletEvent.__init__?1(self, QTabletEvent) +QtGui.QTabletEvent.pos?4() -> QPoint +QtGui.QTabletEvent.globalPos?4() -> QPoint +QtGui.QTabletEvent.x?4() -> int +QtGui.QTabletEvent.y?4() -> int +QtGui.QTabletEvent.globalX?4() -> int +QtGui.QTabletEvent.globalY?4() -> int +QtGui.QTabletEvent.hiResGlobalX?4() -> float +QtGui.QTabletEvent.hiResGlobalY?4() -> float +QtGui.QTabletEvent.device?4() -> QTabletEvent.TabletDevice +QtGui.QTabletEvent.pointerType?4() -> QTabletEvent.PointerType +QtGui.QTabletEvent.uniqueId?4() -> int +QtGui.QTabletEvent.pressure?4() -> float +QtGui.QTabletEvent.z?4() -> int +QtGui.QTabletEvent.tangentialPressure?4() -> float +QtGui.QTabletEvent.rotation?4() -> float +QtGui.QTabletEvent.xTilt?4() -> int +QtGui.QTabletEvent.yTilt?4() -> int +QtGui.QTabletEvent.posF?4() -> QPointF +QtGui.QTabletEvent.globalPosF?4() -> QPointF +QtGui.QTabletEvent.button?4() -> Qt.MouseButton +QtGui.QTabletEvent.buttons?4() -> Qt.MouseButtons +QtGui.QTabletEvent.deviceType?4() -> QTabletEvent.TabletDevice +QtGui.QKeyEvent?1(QEvent.Type, int, Qt.KeyboardModifiers, int, int, int, QString text='', bool autorep=False, int count=1) +QtGui.QKeyEvent.__init__?1(self, QEvent.Type, int, Qt.KeyboardModifiers, int, int, int, QString text='', bool autorep=False, int count=1) +QtGui.QKeyEvent?1(QEvent.Type, int, Qt.KeyboardModifiers, QString text='', bool autorep=False, int count=1) +QtGui.QKeyEvent.__init__?1(self, QEvent.Type, int, Qt.KeyboardModifiers, QString text='', bool autorep=False, int count=1) +QtGui.QKeyEvent?1(QKeyEvent) +QtGui.QKeyEvent.__init__?1(self, QKeyEvent) +QtGui.QKeyEvent.key?4() -> int +QtGui.QKeyEvent.modifiers?4() -> Qt.KeyboardModifiers +QtGui.QKeyEvent.text?4() -> QString +QtGui.QKeyEvent.isAutoRepeat?4() -> bool +QtGui.QKeyEvent.count?4() -> int +QtGui.QKeyEvent.matches?4(QKeySequence.StandardKey) -> bool +QtGui.QKeyEvent.nativeModifiers?4() -> int +QtGui.QKeyEvent.nativeScanCode?4() -> int +QtGui.QKeyEvent.nativeVirtualKey?4() -> int +QtGui.QFocusEvent?1(QEvent.Type, Qt.FocusReason reason=Qt.OtherFocusReason) +QtGui.QFocusEvent.__init__?1(self, QEvent.Type, Qt.FocusReason reason=Qt.OtherFocusReason) +QtGui.QFocusEvent?1(QFocusEvent) +QtGui.QFocusEvent.__init__?1(self, QFocusEvent) +QtGui.QFocusEvent.gotFocus?4() -> bool +QtGui.QFocusEvent.lostFocus?4() -> bool +QtGui.QFocusEvent.reason?4() -> Qt.FocusReason +QtGui.QPaintEvent?1(QRegion) +QtGui.QPaintEvent.__init__?1(self, QRegion) +QtGui.QPaintEvent?1(QRect) +QtGui.QPaintEvent.__init__?1(self, QRect) +QtGui.QPaintEvent?1(QPaintEvent) +QtGui.QPaintEvent.__init__?1(self, QPaintEvent) +QtGui.QPaintEvent.rect?4() -> QRect +QtGui.QPaintEvent.region?4() -> QRegion +QtGui.QMoveEvent?1(QPoint, QPoint) +QtGui.QMoveEvent.__init__?1(self, QPoint, QPoint) +QtGui.QMoveEvent?1(QMoveEvent) +QtGui.QMoveEvent.__init__?1(self, QMoveEvent) +QtGui.QMoveEvent.pos?4() -> QPoint +QtGui.QMoveEvent.oldPos?4() -> QPoint +QtGui.QResizeEvent?1(QSize, QSize) +QtGui.QResizeEvent.__init__?1(self, QSize, QSize) +QtGui.QResizeEvent?1(QResizeEvent) +QtGui.QResizeEvent.__init__?1(self, QResizeEvent) +QtGui.QResizeEvent.size?4() -> QSize +QtGui.QResizeEvent.oldSize?4() -> QSize +QtGui.QCloseEvent?1() +QtGui.QCloseEvent.__init__?1(self) +QtGui.QCloseEvent?1(QCloseEvent) +QtGui.QCloseEvent.__init__?1(self, QCloseEvent) +QtGui.QIconDragEvent?1() +QtGui.QIconDragEvent.__init__?1(self) +QtGui.QIconDragEvent?1(QIconDragEvent) +QtGui.QIconDragEvent.__init__?1(self, QIconDragEvent) +QtGui.QShowEvent?1() +QtGui.QShowEvent.__init__?1(self) +QtGui.QShowEvent?1(QShowEvent) +QtGui.QShowEvent.__init__?1(self, QShowEvent) +QtGui.QHideEvent?1() +QtGui.QHideEvent.__init__?1(self) +QtGui.QHideEvent?1(QHideEvent) +QtGui.QHideEvent.__init__?1(self, QHideEvent) +QtGui.QContextMenuEvent.Reason?10 +QtGui.QContextMenuEvent.Reason.Mouse?10 +QtGui.QContextMenuEvent.Reason.Keyboard?10 +QtGui.QContextMenuEvent.Reason.Other?10 +QtGui.QContextMenuEvent?1(QContextMenuEvent.Reason, QPoint, QPoint, Qt.KeyboardModifiers) +QtGui.QContextMenuEvent.__init__?1(self, QContextMenuEvent.Reason, QPoint, QPoint, Qt.KeyboardModifiers) +QtGui.QContextMenuEvent?1(QContextMenuEvent.Reason, QPoint, QPoint) +QtGui.QContextMenuEvent.__init__?1(self, QContextMenuEvent.Reason, QPoint, QPoint) +QtGui.QContextMenuEvent?1(QContextMenuEvent.Reason, QPoint) +QtGui.QContextMenuEvent.__init__?1(self, QContextMenuEvent.Reason, QPoint) +QtGui.QContextMenuEvent?1(QContextMenuEvent) +QtGui.QContextMenuEvent.__init__?1(self, QContextMenuEvent) +QtGui.QContextMenuEvent.x?4() -> int +QtGui.QContextMenuEvent.y?4() -> int +QtGui.QContextMenuEvent.globalX?4() -> int +QtGui.QContextMenuEvent.globalY?4() -> int +QtGui.QContextMenuEvent.pos?4() -> QPoint +QtGui.QContextMenuEvent.globalPos?4() -> QPoint +QtGui.QContextMenuEvent.reason?4() -> QContextMenuEvent.Reason +QtGui.QInputMethodEvent.AttributeType?10 +QtGui.QInputMethodEvent.AttributeType.TextFormat?10 +QtGui.QInputMethodEvent.AttributeType.Cursor?10 +QtGui.QInputMethodEvent.AttributeType.Language?10 +QtGui.QInputMethodEvent.AttributeType.Ruby?10 +QtGui.QInputMethodEvent.AttributeType.Selection?10 +QtGui.QInputMethodEvent?1() +QtGui.QInputMethodEvent.__init__?1(self) +QtGui.QInputMethodEvent?1(QString, unknown-type) +QtGui.QInputMethodEvent.__init__?1(self, QString, unknown-type) +QtGui.QInputMethodEvent?1(QInputMethodEvent) +QtGui.QInputMethodEvent.__init__?1(self, QInputMethodEvent) +QtGui.QInputMethodEvent.setCommitString?4(QString, int from=0, int length=0) +QtGui.QInputMethodEvent.attributes?4() -> unknown-type +QtGui.QInputMethodEvent.preeditString?4() -> QString +QtGui.QInputMethodEvent.commitString?4() -> QString +QtGui.QInputMethodEvent.replacementStart?4() -> int +QtGui.QInputMethodEvent.replacementLength?4() -> int +QtGui.QInputMethodEvent.Attribute.length?7 +QtGui.QInputMethodEvent.Attribute.start?7 +QtGui.QInputMethodEvent.Attribute.type?7 +QtGui.QInputMethodEvent.Attribute.value?7 +QtGui.QInputMethodEvent.Attribute?1(QInputMethodEvent.AttributeType, int, int, QVariant) +QtGui.QInputMethodEvent.Attribute.__init__?1(self, QInputMethodEvent.AttributeType, int, int, QVariant) +QtGui.QInputMethodEvent.Attribute?1(QInputMethodEvent.AttributeType, int, int) +QtGui.QInputMethodEvent.Attribute.__init__?1(self, QInputMethodEvent.AttributeType, int, int) +QtGui.QInputMethodEvent.Attribute?1(QInputMethodEvent.Attribute) +QtGui.QInputMethodEvent.Attribute.__init__?1(self, QInputMethodEvent.Attribute) +QtGui.QInputMethodQueryEvent?1(Qt.InputMethodQueries) +QtGui.QInputMethodQueryEvent.__init__?1(self, Qt.InputMethodQueries) +QtGui.QInputMethodQueryEvent?1(QInputMethodQueryEvent) +QtGui.QInputMethodQueryEvent.__init__?1(self, QInputMethodQueryEvent) +QtGui.QInputMethodQueryEvent.queries?4() -> Qt.InputMethodQueries +QtGui.QInputMethodQueryEvent.setValue?4(Qt.InputMethodQuery, QVariant) +QtGui.QInputMethodQueryEvent.value?4(Qt.InputMethodQuery) -> QVariant +QtGui.QDropEvent?1(QPointF, Qt.DropActions, QMimeData, Qt.MouseButtons, Qt.KeyboardModifiers, QEvent.Type type=QEvent.Drop) +QtGui.QDropEvent.__init__?1(self, QPointF, Qt.DropActions, QMimeData, Qt.MouseButtons, Qt.KeyboardModifiers, QEvent.Type type=QEvent.Drop) +QtGui.QDropEvent?1(QDropEvent) +QtGui.QDropEvent.__init__?1(self, QDropEvent) +QtGui.QDropEvent.pos?4() -> QPoint +QtGui.QDropEvent.posF?4() -> QPointF +QtGui.QDropEvent.mouseButtons?4() -> Qt.MouseButtons +QtGui.QDropEvent.keyboardModifiers?4() -> Qt.KeyboardModifiers +QtGui.QDropEvent.possibleActions?4() -> Qt.DropActions +QtGui.QDropEvent.proposedAction?4() -> Qt.DropAction +QtGui.QDropEvent.acceptProposedAction?4() +QtGui.QDropEvent.dropAction?4() -> Qt.DropAction +QtGui.QDropEvent.setDropAction?4(Qt.DropAction) +QtGui.QDropEvent.source?4() -> QObject +QtGui.QDropEvent.mimeData?4() -> QMimeData +QtGui.QDragMoveEvent?1(QPoint, Qt.DropActions, QMimeData, Qt.MouseButtons, Qt.KeyboardModifiers, QEvent.Type type=QEvent.DragMove) +QtGui.QDragMoveEvent.__init__?1(self, QPoint, Qt.DropActions, QMimeData, Qt.MouseButtons, Qt.KeyboardModifiers, QEvent.Type type=QEvent.DragMove) +QtGui.QDragMoveEvent?1(QDragMoveEvent) +QtGui.QDragMoveEvent.__init__?1(self, QDragMoveEvent) +QtGui.QDragMoveEvent.answerRect?4() -> QRect +QtGui.QDragMoveEvent.accept?4() +QtGui.QDragMoveEvent.ignore?4() +QtGui.QDragMoveEvent.accept?4(QRect) +QtGui.QDragMoveEvent.ignore?4(QRect) +QtGui.QDragEnterEvent?1(QPoint, Qt.DropActions, QMimeData, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QDragEnterEvent.__init__?1(self, QPoint, Qt.DropActions, QMimeData, Qt.MouseButtons, Qt.KeyboardModifiers) +QtGui.QDragEnterEvent?1(QDragEnterEvent) +QtGui.QDragEnterEvent.__init__?1(self, QDragEnterEvent) +QtGui.QDragLeaveEvent?1() +QtGui.QDragLeaveEvent.__init__?1(self) +QtGui.QDragLeaveEvent?1(QDragLeaveEvent) +QtGui.QDragLeaveEvent.__init__?1(self, QDragLeaveEvent) +QtGui.QHelpEvent?1(QEvent.Type, QPoint, QPoint) +QtGui.QHelpEvent.__init__?1(self, QEvent.Type, QPoint, QPoint) +QtGui.QHelpEvent?1(QHelpEvent) +QtGui.QHelpEvent.__init__?1(self, QHelpEvent) +QtGui.QHelpEvent.x?4() -> int +QtGui.QHelpEvent.y?4() -> int +QtGui.QHelpEvent.globalX?4() -> int +QtGui.QHelpEvent.globalY?4() -> int +QtGui.QHelpEvent.pos?4() -> QPoint +QtGui.QHelpEvent.globalPos?4() -> QPoint +QtGui.QStatusTipEvent?1(QString) +QtGui.QStatusTipEvent.__init__?1(self, QString) +QtGui.QStatusTipEvent?1(QStatusTipEvent) +QtGui.QStatusTipEvent.__init__?1(self, QStatusTipEvent) +QtGui.QStatusTipEvent.tip?4() -> QString +QtGui.QWhatsThisClickedEvent?1(QString) +QtGui.QWhatsThisClickedEvent.__init__?1(self, QString) +QtGui.QWhatsThisClickedEvent?1(QWhatsThisClickedEvent) +QtGui.QWhatsThisClickedEvent.__init__?1(self, QWhatsThisClickedEvent) +QtGui.QWhatsThisClickedEvent.href?4() -> QString +QtGui.QActionEvent?1(int, QAction, QAction before=None) +QtGui.QActionEvent.__init__?1(self, int, QAction, QAction before=None) +QtGui.QActionEvent?1(QActionEvent) +QtGui.QActionEvent.__init__?1(self, QActionEvent) +QtGui.QActionEvent.action?4() -> QAction +QtGui.QActionEvent.before?4() -> QAction +QtGui.QFileOpenEvent.file?4() -> QString +QtGui.QFileOpenEvent.url?4() -> QUrl +QtGui.QFileOpenEvent.openFile?4(QFile, QIODevice.OpenMode) -> bool +QtGui.QShortcutEvent?1(QKeySequence, int, bool ambiguous=False) +QtGui.QShortcutEvent.__init__?1(self, QKeySequence, int, bool ambiguous=False) +QtGui.QShortcutEvent?1(QShortcutEvent) +QtGui.QShortcutEvent.__init__?1(self, QShortcutEvent) +QtGui.QShortcutEvent.isAmbiguous?4() -> bool +QtGui.QShortcutEvent.key?4() -> QKeySequence +QtGui.QShortcutEvent.shortcutId?4() -> int +QtGui.QWindowStateChangeEvent.oldState?4() -> Qt.WindowStates +QtGui.QTouchEvent?1(QEvent.Type, QTouchDevice device=None, Qt.KeyboardModifiers modifiers=Qt.NoModifier, Qt.TouchPointStates touchPointStates=Qt.TouchPointStates(), unknown-type touchPoints=[]) +QtGui.QTouchEvent.__init__?1(self, QEvent.Type, QTouchDevice device=None, Qt.KeyboardModifiers modifiers=Qt.NoModifier, Qt.TouchPointStates touchPointStates=Qt.TouchPointStates(), unknown-type touchPoints=[]) +QtGui.QTouchEvent?1(QTouchEvent) +QtGui.QTouchEvent.__init__?1(self, QTouchEvent) +QtGui.QTouchEvent.target?4() -> QObject +QtGui.QTouchEvent.touchPointStates?4() -> Qt.TouchPointStates +QtGui.QTouchEvent.touchPoints?4() -> unknown-type +QtGui.QTouchEvent.window?4() -> QWindow +QtGui.QTouchEvent.device?4() -> QTouchDevice +QtGui.QTouchEvent.setDevice?4(QTouchDevice) +QtGui.QTouchEvent.TouchPoint.InfoFlag?10 +QtGui.QTouchEvent.TouchPoint.InfoFlag.Pen?10 +QtGui.QTouchEvent.TouchPoint.InfoFlag.Token?10 +QtGui.QTouchEvent.TouchPoint.id?4() -> int +QtGui.QTouchEvent.TouchPoint.state?4() -> Qt.TouchPointState +QtGui.QTouchEvent.TouchPoint.pos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.startPos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.lastPos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.scenePos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.startScenePos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.lastScenePos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.screenPos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.startScreenPos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.lastScreenPos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.normalizedPos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.startNormalizedPos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.lastNormalizedPos?4() -> QPointF +QtGui.QTouchEvent.TouchPoint.rect?4() -> QRectF +QtGui.QTouchEvent.TouchPoint.sceneRect?4() -> QRectF +QtGui.QTouchEvent.TouchPoint.screenRect?4() -> QRectF +QtGui.QTouchEvent.TouchPoint.pressure?4() -> float +QtGui.QTouchEvent.TouchPoint.velocity?4() -> QVector2D +QtGui.QTouchEvent.TouchPoint.flags?4() -> QTouchEvent.TouchPoint.InfoFlags +QtGui.QTouchEvent.TouchPoint.rawScreenPositions?4() -> unknown-type +QtGui.QTouchEvent.TouchPoint.uniqueId?4() -> QPointingDeviceUniqueId +QtGui.QTouchEvent.TouchPoint.rotation?4() -> float +QtGui.QTouchEvent.TouchPoint.ellipseDiameters?4() -> QSizeF +QtGui.QTouchEvent.TouchPoint.InfoFlags?1() +QtGui.QTouchEvent.TouchPoint.InfoFlags.__init__?1(self) +QtGui.QTouchEvent.TouchPoint.InfoFlags?1(int) +QtGui.QTouchEvent.TouchPoint.InfoFlags.__init__?1(self, int) +QtGui.QTouchEvent.TouchPoint.InfoFlags?1(QTouchEvent.TouchPoint.InfoFlags) +QtGui.QTouchEvent.TouchPoint.InfoFlags.__init__?1(self, QTouchEvent.TouchPoint.InfoFlags) +QtGui.QExposeEvent?1(QRegion) +QtGui.QExposeEvent.__init__?1(self, QRegion) +QtGui.QExposeEvent?1(QExposeEvent) +QtGui.QExposeEvent.__init__?1(self, QExposeEvent) +QtGui.QExposeEvent.region?4() -> QRegion +QtGui.QScrollPrepareEvent?1(QPointF) +QtGui.QScrollPrepareEvent.__init__?1(self, QPointF) +QtGui.QScrollPrepareEvent?1(QScrollPrepareEvent) +QtGui.QScrollPrepareEvent.__init__?1(self, QScrollPrepareEvent) +QtGui.QScrollPrepareEvent.startPos?4() -> QPointF +QtGui.QScrollPrepareEvent.viewportSize?4() -> QSizeF +QtGui.QScrollPrepareEvent.contentPosRange?4() -> QRectF +QtGui.QScrollPrepareEvent.contentPos?4() -> QPointF +QtGui.QScrollPrepareEvent.setViewportSize?4(QSizeF) +QtGui.QScrollPrepareEvent.setContentPosRange?4(QRectF) +QtGui.QScrollPrepareEvent.setContentPos?4(QPointF) +QtGui.QScrollEvent.ScrollState?10 +QtGui.QScrollEvent.ScrollState.ScrollStarted?10 +QtGui.QScrollEvent.ScrollState.ScrollUpdated?10 +QtGui.QScrollEvent.ScrollState.ScrollFinished?10 +QtGui.QScrollEvent?1(QPointF, QPointF, QScrollEvent.ScrollState) +QtGui.QScrollEvent.__init__?1(self, QPointF, QPointF, QScrollEvent.ScrollState) +QtGui.QScrollEvent?1(QScrollEvent) +QtGui.QScrollEvent.__init__?1(self, QScrollEvent) +QtGui.QScrollEvent.contentPos?4() -> QPointF +QtGui.QScrollEvent.overshootDistance?4() -> QPointF +QtGui.QScrollEvent.scrollState?4() -> QScrollEvent.ScrollState +QtGui.QEnterEvent?1(QPointF, QPointF, QPointF) +QtGui.QEnterEvent.__init__?1(self, QPointF, QPointF, QPointF) +QtGui.QEnterEvent?1(QEnterEvent) +QtGui.QEnterEvent.__init__?1(self, QEnterEvent) +QtGui.QEnterEvent.pos?4() -> QPoint +QtGui.QEnterEvent.globalPos?4() -> QPoint +QtGui.QEnterEvent.x?4() -> int +QtGui.QEnterEvent.y?4() -> int +QtGui.QEnterEvent.globalX?4() -> int +QtGui.QEnterEvent.globalY?4() -> int +QtGui.QEnterEvent.localPos?4() -> QPointF +QtGui.QEnterEvent.windowPos?4() -> QPointF +QtGui.QEnterEvent.screenPos?4() -> QPointF +QtGui.QNativeGestureEvent?1(Qt.NativeGestureType, QPointF, QPointF, QPointF, float, int, int) +QtGui.QNativeGestureEvent.__init__?1(self, Qt.NativeGestureType, QPointF, QPointF, QPointF, float, int, int) +QtGui.QNativeGestureEvent?1(Qt.NativeGestureType, QTouchDevice, QPointF, QPointF, QPointF, float, int, int) +QtGui.QNativeGestureEvent.__init__?1(self, Qt.NativeGestureType, QTouchDevice, QPointF, QPointF, QPointF, float, int, int) +QtGui.QNativeGestureEvent?1(QNativeGestureEvent) +QtGui.QNativeGestureEvent.__init__?1(self, QNativeGestureEvent) +QtGui.QNativeGestureEvent.gestureType?4() -> Qt.NativeGestureType +QtGui.QNativeGestureEvent.value?4() -> float +QtGui.QNativeGestureEvent.pos?4() -> QPoint +QtGui.QNativeGestureEvent.globalPos?4() -> QPoint +QtGui.QNativeGestureEvent.localPos?4() -> QPointF +QtGui.QNativeGestureEvent.windowPos?4() -> QPointF +QtGui.QNativeGestureEvent.screenPos?4() -> QPointF +QtGui.QNativeGestureEvent.device?4() -> QTouchDevice +QtGui.QPlatformSurfaceEvent.SurfaceEventType?10 +QtGui.QPlatformSurfaceEvent.SurfaceEventType.SurfaceCreated?10 +QtGui.QPlatformSurfaceEvent.SurfaceEventType.SurfaceAboutToBeDestroyed?10 +QtGui.QPlatformSurfaceEvent?1(QPlatformSurfaceEvent.SurfaceEventType) +QtGui.QPlatformSurfaceEvent.__init__?1(self, QPlatformSurfaceEvent.SurfaceEventType) +QtGui.QPlatformSurfaceEvent?1(QPlatformSurfaceEvent) +QtGui.QPlatformSurfaceEvent.__init__?1(self, QPlatformSurfaceEvent) +QtGui.QPlatformSurfaceEvent.surfaceEventType?4() -> QPlatformSurfaceEvent.SurfaceEventType +QtGui.QPointingDeviceUniqueId?1() +QtGui.QPointingDeviceUniqueId.__init__?1(self) +QtGui.QPointingDeviceUniqueId?1(QPointingDeviceUniqueId) +QtGui.QPointingDeviceUniqueId.__init__?1(self, QPointingDeviceUniqueId) +QtGui.QPointingDeviceUniqueId.fromNumericId?4(int) -> QPointingDeviceUniqueId +QtGui.QPointingDeviceUniqueId.isValid?4() -> bool +QtGui.QPointingDeviceUniqueId.numericId?4() -> int +QtGui.QFont.HintingPreference?10 +QtGui.QFont.HintingPreference.PreferDefaultHinting?10 +QtGui.QFont.HintingPreference.PreferNoHinting?10 +QtGui.QFont.HintingPreference.PreferVerticalHinting?10 +QtGui.QFont.HintingPreference.PreferFullHinting?10 +QtGui.QFont.SpacingType?10 +QtGui.QFont.SpacingType.PercentageSpacing?10 +QtGui.QFont.SpacingType.AbsoluteSpacing?10 +QtGui.QFont.Capitalization?10 +QtGui.QFont.Capitalization.MixedCase?10 +QtGui.QFont.Capitalization.AllUppercase?10 +QtGui.QFont.Capitalization.AllLowercase?10 +QtGui.QFont.Capitalization.SmallCaps?10 +QtGui.QFont.Capitalization.Capitalize?10 +QtGui.QFont.Stretch?10 +QtGui.QFont.Stretch.AnyStretch?10 +QtGui.QFont.Stretch.UltraCondensed?10 +QtGui.QFont.Stretch.ExtraCondensed?10 +QtGui.QFont.Stretch.Condensed?10 +QtGui.QFont.Stretch.SemiCondensed?10 +QtGui.QFont.Stretch.Unstretched?10 +QtGui.QFont.Stretch.SemiExpanded?10 +QtGui.QFont.Stretch.Expanded?10 +QtGui.QFont.Stretch.ExtraExpanded?10 +QtGui.QFont.Stretch.UltraExpanded?10 +QtGui.QFont.Style?10 +QtGui.QFont.Style.StyleNormal?10 +QtGui.QFont.Style.StyleItalic?10 +QtGui.QFont.Style.StyleOblique?10 +QtGui.QFont.Weight?10 +QtGui.QFont.Weight.Thin?10 +QtGui.QFont.Weight.ExtraLight?10 +QtGui.QFont.Weight.Light?10 +QtGui.QFont.Weight.Normal?10 +QtGui.QFont.Weight.Medium?10 +QtGui.QFont.Weight.DemiBold?10 +QtGui.QFont.Weight.Bold?10 +QtGui.QFont.Weight.ExtraBold?10 +QtGui.QFont.Weight.Black?10 +QtGui.QFont.StyleStrategy?10 +QtGui.QFont.StyleStrategy.PreferDefault?10 +QtGui.QFont.StyleStrategy.PreferBitmap?10 +QtGui.QFont.StyleStrategy.PreferDevice?10 +QtGui.QFont.StyleStrategy.PreferOutline?10 +QtGui.QFont.StyleStrategy.ForceOutline?10 +QtGui.QFont.StyleStrategy.PreferMatch?10 +QtGui.QFont.StyleStrategy.PreferQuality?10 +QtGui.QFont.StyleStrategy.PreferAntialias?10 +QtGui.QFont.StyleStrategy.NoAntialias?10 +QtGui.QFont.StyleStrategy.NoSubpixelAntialias?10 +QtGui.QFont.StyleStrategy.OpenGLCompatible?10 +QtGui.QFont.StyleStrategy.NoFontMerging?10 +QtGui.QFont.StyleStrategy.ForceIntegerMetrics?10 +QtGui.QFont.StyleStrategy.PreferNoShaping?10 +QtGui.QFont.StyleHint?10 +QtGui.QFont.StyleHint.Helvetica?10 +QtGui.QFont.StyleHint.SansSerif?10 +QtGui.QFont.StyleHint.Times?10 +QtGui.QFont.StyleHint.Serif?10 +QtGui.QFont.StyleHint.Courier?10 +QtGui.QFont.StyleHint.TypeWriter?10 +QtGui.QFont.StyleHint.OldEnglish?10 +QtGui.QFont.StyleHint.Decorative?10 +QtGui.QFont.StyleHint.System?10 +QtGui.QFont.StyleHint.AnyStyle?10 +QtGui.QFont.StyleHint.Cursive?10 +QtGui.QFont.StyleHint.Monospace?10 +QtGui.QFont.StyleHint.Fantasy?10 +QtGui.QFont?1() +QtGui.QFont.__init__?1(self) +QtGui.QFont?1(QString, int pointSize=-1, int weight=-1, bool italic=False) +QtGui.QFont.__init__?1(self, QString, int pointSize=-1, int weight=-1, bool italic=False) +QtGui.QFont?1(QFont, QPaintDevice) +QtGui.QFont.__init__?1(self, QFont, QPaintDevice) +QtGui.QFont?1(QFont) +QtGui.QFont.__init__?1(self, QFont) +QtGui.QFont?1(QVariant) +QtGui.QFont.__init__?1(self, QVariant) +QtGui.QFont.family?4() -> QString +QtGui.QFont.setFamily?4(QString) +QtGui.QFont.pointSize?4() -> int +QtGui.QFont.setPointSize?4(int) +QtGui.QFont.pointSizeF?4() -> float +QtGui.QFont.setPointSizeF?4(float) +QtGui.QFont.pixelSize?4() -> int +QtGui.QFont.setPixelSize?4(int) +QtGui.QFont.weight?4() -> int +QtGui.QFont.setWeight?4(int) +QtGui.QFont.setStyle?4(QFont.Style) +QtGui.QFont.style?4() -> QFont.Style +QtGui.QFont.underline?4() -> bool +QtGui.QFont.setUnderline?4(bool) +QtGui.QFont.overline?4() -> bool +QtGui.QFont.setOverline?4(bool) +QtGui.QFont.strikeOut?4() -> bool +QtGui.QFont.setStrikeOut?4(bool) +QtGui.QFont.fixedPitch?4() -> bool +QtGui.QFont.setFixedPitch?4(bool) +QtGui.QFont.kerning?4() -> bool +QtGui.QFont.setKerning?4(bool) +QtGui.QFont.styleHint?4() -> QFont.StyleHint +QtGui.QFont.styleStrategy?4() -> QFont.StyleStrategy +QtGui.QFont.setStyleHint?4(QFont.StyleHint, QFont.StyleStrategy strategy=QFont.PreferDefault) +QtGui.QFont.setStyleStrategy?4(QFont.StyleStrategy) +QtGui.QFont.stretch?4() -> int +QtGui.QFont.setStretch?4(int) +QtGui.QFont.rawMode?4() -> bool +QtGui.QFont.setRawMode?4(bool) +QtGui.QFont.exactMatch?4() -> bool +QtGui.QFont.isCopyOf?4(QFont) -> bool +QtGui.QFont.setRawName?4(QString) +QtGui.QFont.rawName?4() -> QString +QtGui.QFont.key?4() -> QString +QtGui.QFont.toString?4() -> QString +QtGui.QFont.fromString?4(QString) -> bool +QtGui.QFont.substitute?4(QString) -> QString +QtGui.QFont.substitutes?4(QString) -> QStringList +QtGui.QFont.substitutions?4() -> QStringList +QtGui.QFont.insertSubstitution?4(QString, QString) +QtGui.QFont.insertSubstitutions?4(QString, QStringList) +QtGui.QFont.removeSubstitutions?4(QString) +QtGui.QFont.initialize?4() +QtGui.QFont.cleanup?4() +QtGui.QFont.cacheStatistics?4() +QtGui.QFont.defaultFamily?4() -> QString +QtGui.QFont.lastResortFamily?4() -> QString +QtGui.QFont.lastResortFont?4() -> QString +QtGui.QFont.resolve?4(QFont) -> QFont +QtGui.QFont.bold?4() -> bool +QtGui.QFont.setBold?4(bool) +QtGui.QFont.italic?4() -> bool +QtGui.QFont.setItalic?4(bool) +QtGui.QFont.letterSpacing?4() -> float +QtGui.QFont.letterSpacingType?4() -> QFont.SpacingType +QtGui.QFont.setLetterSpacing?4(QFont.SpacingType, float) +QtGui.QFont.wordSpacing?4() -> float +QtGui.QFont.setWordSpacing?4(float) +QtGui.QFont.setCapitalization?4(QFont.Capitalization) +QtGui.QFont.capitalization?4() -> QFont.Capitalization +QtGui.QFont.styleName?4() -> QString +QtGui.QFont.setStyleName?4(QString) +QtGui.QFont.setHintingPreference?4(QFont.HintingPreference) +QtGui.QFont.hintingPreference?4() -> QFont.HintingPreference +QtGui.QFont.swap?4(QFont) +QtGui.QFont.families?4() -> QStringList +QtGui.QFont.setFamilies?4(QStringList) +QtGui.QFontDatabase.SystemFont?10 +QtGui.QFontDatabase.SystemFont.GeneralFont?10 +QtGui.QFontDatabase.SystemFont.FixedFont?10 +QtGui.QFontDatabase.SystemFont.TitleFont?10 +QtGui.QFontDatabase.SystemFont.SmallestReadableFont?10 +QtGui.QFontDatabase.WritingSystem?10 +QtGui.QFontDatabase.WritingSystem.Any?10 +QtGui.QFontDatabase.WritingSystem.Latin?10 +QtGui.QFontDatabase.WritingSystem.Greek?10 +QtGui.QFontDatabase.WritingSystem.Cyrillic?10 +QtGui.QFontDatabase.WritingSystem.Armenian?10 +QtGui.QFontDatabase.WritingSystem.Hebrew?10 +QtGui.QFontDatabase.WritingSystem.Arabic?10 +QtGui.QFontDatabase.WritingSystem.Syriac?10 +QtGui.QFontDatabase.WritingSystem.Thaana?10 +QtGui.QFontDatabase.WritingSystem.Devanagari?10 +QtGui.QFontDatabase.WritingSystem.Bengali?10 +QtGui.QFontDatabase.WritingSystem.Gurmukhi?10 +QtGui.QFontDatabase.WritingSystem.Gujarati?10 +QtGui.QFontDatabase.WritingSystem.Oriya?10 +QtGui.QFontDatabase.WritingSystem.Tamil?10 +QtGui.QFontDatabase.WritingSystem.Telugu?10 +QtGui.QFontDatabase.WritingSystem.Kannada?10 +QtGui.QFontDatabase.WritingSystem.Malayalam?10 +QtGui.QFontDatabase.WritingSystem.Sinhala?10 +QtGui.QFontDatabase.WritingSystem.Thai?10 +QtGui.QFontDatabase.WritingSystem.Lao?10 +QtGui.QFontDatabase.WritingSystem.Tibetan?10 +QtGui.QFontDatabase.WritingSystem.Myanmar?10 +QtGui.QFontDatabase.WritingSystem.Georgian?10 +QtGui.QFontDatabase.WritingSystem.Khmer?10 +QtGui.QFontDatabase.WritingSystem.SimplifiedChinese?10 +QtGui.QFontDatabase.WritingSystem.TraditionalChinese?10 +QtGui.QFontDatabase.WritingSystem.Japanese?10 +QtGui.QFontDatabase.WritingSystem.Korean?10 +QtGui.QFontDatabase.WritingSystem.Vietnamese?10 +QtGui.QFontDatabase.WritingSystem.Other?10 +QtGui.QFontDatabase.WritingSystem.Symbol?10 +QtGui.QFontDatabase.WritingSystem.Ogham?10 +QtGui.QFontDatabase.WritingSystem.Runic?10 +QtGui.QFontDatabase.WritingSystem.Nko?10 +QtGui.QFontDatabase?1() +QtGui.QFontDatabase.__init__?1(self) +QtGui.QFontDatabase?1(QFontDatabase) +QtGui.QFontDatabase.__init__?1(self, QFontDatabase) +QtGui.QFontDatabase.standardSizes?4() -> unknown-type +QtGui.QFontDatabase.writingSystems?4() -> unknown-type +QtGui.QFontDatabase.writingSystems?4(QString) -> unknown-type +QtGui.QFontDatabase.families?4(QFontDatabase.WritingSystem writingSystem=QFontDatabase.Any) -> QStringList +QtGui.QFontDatabase.styles?4(QString) -> QStringList +QtGui.QFontDatabase.pointSizes?4(QString, QString style='') -> unknown-type +QtGui.QFontDatabase.smoothSizes?4(QString, QString) -> unknown-type +QtGui.QFontDatabase.styleString?4(QFont) -> QString +QtGui.QFontDatabase.styleString?4(QFontInfo) -> QString +QtGui.QFontDatabase.font?4(QString, QString, int) -> QFont +QtGui.QFontDatabase.isBitmapScalable?4(QString, QString style='') -> bool +QtGui.QFontDatabase.isSmoothlyScalable?4(QString, QString style='') -> bool +QtGui.QFontDatabase.isScalable?4(QString, QString style='') -> bool +QtGui.QFontDatabase.isFixedPitch?4(QString, QString style='') -> bool +QtGui.QFontDatabase.italic?4(QString, QString) -> bool +QtGui.QFontDatabase.bold?4(QString, QString) -> bool +QtGui.QFontDatabase.weight?4(QString, QString) -> int +QtGui.QFontDatabase.writingSystemName?4(QFontDatabase.WritingSystem) -> QString +QtGui.QFontDatabase.writingSystemSample?4(QFontDatabase.WritingSystem) -> QString +QtGui.QFontDatabase.addApplicationFont?4(QString) -> int +QtGui.QFontDatabase.addApplicationFontFromData?4(QByteArray) -> int +QtGui.QFontDatabase.applicationFontFamilies?4(int) -> QStringList +QtGui.QFontDatabase.removeApplicationFont?4(int) -> bool +QtGui.QFontDatabase.removeAllApplicationFonts?4() -> bool +QtGui.QFontDatabase.supportsThreadedFontRendering?4() -> bool +QtGui.QFontDatabase.systemFont?4(QFontDatabase.SystemFont) -> QFont +QtGui.QFontDatabase.isPrivateFamily?4(QString) -> bool +QtGui.QFontInfo?1(QFont) +QtGui.QFontInfo.__init__?1(self, QFont) +QtGui.QFontInfo?1(QFontInfo) +QtGui.QFontInfo.__init__?1(self, QFontInfo) +QtGui.QFontInfo.family?4() -> QString +QtGui.QFontInfo.pixelSize?4() -> int +QtGui.QFontInfo.pointSize?4() -> int +QtGui.QFontInfo.pointSizeF?4() -> float +QtGui.QFontInfo.italic?4() -> bool +QtGui.QFontInfo.style?4() -> QFont.Style +QtGui.QFontInfo.weight?4() -> int +QtGui.QFontInfo.bold?4() -> bool +QtGui.QFontInfo.fixedPitch?4() -> bool +QtGui.QFontInfo.styleHint?4() -> QFont.StyleHint +QtGui.QFontInfo.rawMode?4() -> bool +QtGui.QFontInfo.exactMatch?4() -> bool +QtGui.QFontInfo.styleName?4() -> QString +QtGui.QFontInfo.swap?4(QFontInfo) +QtGui.QFontMetrics?1(QFont) +QtGui.QFontMetrics.__init__?1(self, QFont) +QtGui.QFontMetrics?1(QFont, QPaintDevice) +QtGui.QFontMetrics.__init__?1(self, QFont, QPaintDevice) +QtGui.QFontMetrics?1(QFontMetrics) +QtGui.QFontMetrics.__init__?1(self, QFontMetrics) +QtGui.QFontMetrics.ascent?4() -> int +QtGui.QFontMetrics.descent?4() -> int +QtGui.QFontMetrics.height?4() -> int +QtGui.QFontMetrics.leading?4() -> int +QtGui.QFontMetrics.lineSpacing?4() -> int +QtGui.QFontMetrics.minLeftBearing?4() -> int +QtGui.QFontMetrics.minRightBearing?4() -> int +QtGui.QFontMetrics.maxWidth?4() -> int +QtGui.QFontMetrics.xHeight?4() -> int +QtGui.QFontMetrics.inFont?4(QChar) -> bool +QtGui.QFontMetrics.leftBearing?4(QChar) -> int +QtGui.QFontMetrics.rightBearing?4(QChar) -> int +QtGui.QFontMetrics.widthChar?4(QChar) -> int +QtGui.QFontMetrics.width?4(QString, int length=-1) -> int +QtGui.QFontMetrics.boundingRectChar?4(QChar) -> QRect +QtGui.QFontMetrics.boundingRect?4(QString) -> QRect +QtGui.QFontMetrics.boundingRect?4(QRect, int, QString, int tabStops=0, list tabArray=0) -> QRect +QtGui.QFontMetrics.boundingRect?4(int, int, int, int, int, QString, int tabStops=0, list tabArray=0) -> QRect +QtGui.QFontMetrics.size?4(int, QString, int tabStops=0, list tabArray=0) -> QSize +QtGui.QFontMetrics.underlinePos?4() -> int +QtGui.QFontMetrics.overlinePos?4() -> int +QtGui.QFontMetrics.strikeOutPos?4() -> int +QtGui.QFontMetrics.lineWidth?4() -> int +QtGui.QFontMetrics.averageCharWidth?4() -> int +QtGui.QFontMetrics.elidedText?4(QString, Qt.TextElideMode, int, int flags=0) -> QString +QtGui.QFontMetrics.tightBoundingRect?4(QString) -> QRect +QtGui.QFontMetrics.inFontUcs4?4(int) -> bool +QtGui.QFontMetrics.swap?4(QFontMetrics) +QtGui.QFontMetrics.capHeight?4() -> int +QtGui.QFontMetrics.horizontalAdvance?4(QString, int length=-1) -> int +QtGui.QFontMetrics.fontDpi?4() -> float +QtGui.QFontMetricsF?1(QFont) +QtGui.QFontMetricsF.__init__?1(self, QFont) +QtGui.QFontMetricsF?1(QFont, QPaintDevice) +QtGui.QFontMetricsF.__init__?1(self, QFont, QPaintDevice) +QtGui.QFontMetricsF?1(QFontMetrics) +QtGui.QFontMetricsF.__init__?1(self, QFontMetrics) +QtGui.QFontMetricsF?1(QFontMetricsF) +QtGui.QFontMetricsF.__init__?1(self, QFontMetricsF) +QtGui.QFontMetricsF.ascent?4() -> float +QtGui.QFontMetricsF.descent?4() -> float +QtGui.QFontMetricsF.height?4() -> float +QtGui.QFontMetricsF.leading?4() -> float +QtGui.QFontMetricsF.lineSpacing?4() -> float +QtGui.QFontMetricsF.minLeftBearing?4() -> float +QtGui.QFontMetricsF.minRightBearing?4() -> float +QtGui.QFontMetricsF.maxWidth?4() -> float +QtGui.QFontMetricsF.xHeight?4() -> float +QtGui.QFontMetricsF.inFont?4(QChar) -> bool +QtGui.QFontMetricsF.leftBearing?4(QChar) -> float +QtGui.QFontMetricsF.rightBearing?4(QChar) -> float +QtGui.QFontMetricsF.widthChar?4(QChar) -> float +QtGui.QFontMetricsF.width?4(QString) -> float +QtGui.QFontMetricsF.boundingRectChar?4(QChar) -> QRectF +QtGui.QFontMetricsF.boundingRect?4(QString) -> QRectF +QtGui.QFontMetricsF.boundingRect?4(QRectF, int, QString, int tabStops=0, list tabArray=0) -> QRectF +QtGui.QFontMetricsF.size?4(int, QString, int tabStops=0, list tabArray=0) -> QSizeF +QtGui.QFontMetricsF.underlinePos?4() -> float +QtGui.QFontMetricsF.overlinePos?4() -> float +QtGui.QFontMetricsF.strikeOutPos?4() -> float +QtGui.QFontMetricsF.lineWidth?4() -> float +QtGui.QFontMetricsF.averageCharWidth?4() -> float +QtGui.QFontMetricsF.elidedText?4(QString, Qt.TextElideMode, float, int flags=0) -> QString +QtGui.QFontMetricsF.tightBoundingRect?4(QString) -> QRectF +QtGui.QFontMetricsF.inFontUcs4?4(int) -> bool +QtGui.QFontMetricsF.swap?4(QFontMetricsF) +QtGui.QFontMetricsF.capHeight?4() -> float +QtGui.QFontMetricsF.horizontalAdvance?4(QString, int length=-1) -> float +QtGui.QFontMetricsF.fontDpi?4() -> float +QtGui.QMatrix4x3?1() +QtGui.QMatrix4x3.__init__?1(self) +QtGui.QMatrix4x3?1(QMatrix4x3) +QtGui.QMatrix4x3.__init__?1(self, QMatrix4x3) +QtGui.QMatrix4x3?1(object) +QtGui.QMatrix4x3.__init__?1(self, object) +QtGui.QMatrix4x3.data?4() -> list +QtGui.QMatrix4x3.copyDataTo?4() -> list +QtGui.QMatrix4x3.isIdentity?4() -> bool +QtGui.QMatrix4x3.setToIdentity?4() +QtGui.QMatrix4x3.fill?4(float) +QtGui.QMatrix4x3.transposed?4() -> QMatrix3x4 +QtGui.QMatrix4x2?1() +QtGui.QMatrix4x2.__init__?1(self) +QtGui.QMatrix4x2?1(QMatrix4x2) +QtGui.QMatrix4x2.__init__?1(self, QMatrix4x2) +QtGui.QMatrix4x2?1(object) +QtGui.QMatrix4x2.__init__?1(self, object) +QtGui.QMatrix4x2.data?4() -> list +QtGui.QMatrix4x2.copyDataTo?4() -> list +QtGui.QMatrix4x2.isIdentity?4() -> bool +QtGui.QMatrix4x2.setToIdentity?4() +QtGui.QMatrix4x2.fill?4(float) +QtGui.QMatrix4x2.transposed?4() -> QMatrix2x4 +QtGui.QMatrix3x4?1() +QtGui.QMatrix3x4.__init__?1(self) +QtGui.QMatrix3x4?1(QMatrix3x4) +QtGui.QMatrix3x4.__init__?1(self, QMatrix3x4) +QtGui.QMatrix3x4?1(object) +QtGui.QMatrix3x4.__init__?1(self, object) +QtGui.QMatrix3x4.data?4() -> list +QtGui.QMatrix3x4.copyDataTo?4() -> list +QtGui.QMatrix3x4.isIdentity?4() -> bool +QtGui.QMatrix3x4.setToIdentity?4() +QtGui.QMatrix3x4.fill?4(float) +QtGui.QMatrix3x4.transposed?4() -> QMatrix4x3 +QtGui.QMatrix3x3?1() +QtGui.QMatrix3x3.__init__?1(self) +QtGui.QMatrix3x3?1(QMatrix3x3) +QtGui.QMatrix3x3.__init__?1(self, QMatrix3x3) +QtGui.QMatrix3x3?1(object) +QtGui.QMatrix3x3.__init__?1(self, object) +QtGui.QMatrix3x3.data?4() -> list +QtGui.QMatrix3x3.copyDataTo?4() -> list +QtGui.QMatrix3x3.isIdentity?4() -> bool +QtGui.QMatrix3x3.setToIdentity?4() +QtGui.QMatrix3x3.fill?4(float) +QtGui.QMatrix3x3.transposed?4() -> QMatrix3x3 +QtGui.QMatrix3x2?1() +QtGui.QMatrix3x2.__init__?1(self) +QtGui.QMatrix3x2?1(QMatrix3x2) +QtGui.QMatrix3x2.__init__?1(self, QMatrix3x2) +QtGui.QMatrix3x2?1(object) +QtGui.QMatrix3x2.__init__?1(self, object) +QtGui.QMatrix3x2.data?4() -> list +QtGui.QMatrix3x2.copyDataTo?4() -> list +QtGui.QMatrix3x2.isIdentity?4() -> bool +QtGui.QMatrix3x2.setToIdentity?4() +QtGui.QMatrix3x2.fill?4(float) +QtGui.QMatrix3x2.transposed?4() -> QMatrix2x3 +QtGui.QMatrix2x4?1() +QtGui.QMatrix2x4.__init__?1(self) +QtGui.QMatrix2x4?1(QMatrix2x4) +QtGui.QMatrix2x4.__init__?1(self, QMatrix2x4) +QtGui.QMatrix2x4?1(object) +QtGui.QMatrix2x4.__init__?1(self, object) +QtGui.QMatrix2x4.data?4() -> list +QtGui.QMatrix2x4.copyDataTo?4() -> list +QtGui.QMatrix2x4.isIdentity?4() -> bool +QtGui.QMatrix2x4.setToIdentity?4() +QtGui.QMatrix2x4.fill?4(float) +QtGui.QMatrix2x4.transposed?4() -> QMatrix4x2 +QtGui.QMatrix2x3?1() +QtGui.QMatrix2x3.__init__?1(self) +QtGui.QMatrix2x3?1(QMatrix2x3) +QtGui.QMatrix2x3.__init__?1(self, QMatrix2x3) +QtGui.QMatrix2x3?1(object) +QtGui.QMatrix2x3.__init__?1(self, object) +QtGui.QMatrix2x3.data?4() -> list +QtGui.QMatrix2x3.copyDataTo?4() -> list +QtGui.QMatrix2x3.isIdentity?4() -> bool +QtGui.QMatrix2x3.setToIdentity?4() +QtGui.QMatrix2x3.fill?4(float) +QtGui.QMatrix2x3.transposed?4() -> QMatrix3x2 +QtGui.QMatrix2x2?1() +QtGui.QMatrix2x2.__init__?1(self) +QtGui.QMatrix2x2?1(QMatrix2x2) +QtGui.QMatrix2x2.__init__?1(self, QMatrix2x2) +QtGui.QMatrix2x2?1(object) +QtGui.QMatrix2x2.__init__?1(self, object) +QtGui.QMatrix2x2.data?4() -> list +QtGui.QMatrix2x2.copyDataTo?4() -> list +QtGui.QMatrix2x2.isIdentity?4() -> bool +QtGui.QMatrix2x2.setToIdentity?4() +QtGui.QMatrix2x2.fill?4(float) +QtGui.QMatrix2x2.transposed?4() -> QMatrix2x2 +QtGui.QGlyphRun.GlyphRunFlag?10 +QtGui.QGlyphRun.GlyphRunFlag.Overline?10 +QtGui.QGlyphRun.GlyphRunFlag.Underline?10 +QtGui.QGlyphRun.GlyphRunFlag.StrikeOut?10 +QtGui.QGlyphRun.GlyphRunFlag.RightToLeft?10 +QtGui.QGlyphRun.GlyphRunFlag.SplitLigature?10 +QtGui.QGlyphRun?1() +QtGui.QGlyphRun.__init__?1(self) +QtGui.QGlyphRun?1(QGlyphRun) +QtGui.QGlyphRun.__init__?1(self, QGlyphRun) +QtGui.QGlyphRun.rawFont?4() -> QRawFont +QtGui.QGlyphRun.setRawFont?4(QRawFont) +QtGui.QGlyphRun.glyphIndexes?4() -> unknown-type +QtGui.QGlyphRun.setGlyphIndexes?4(unknown-type) +QtGui.QGlyphRun.positions?4() -> unknown-type +QtGui.QGlyphRun.setPositions?4(unknown-type) +QtGui.QGlyphRun.clear?4() +QtGui.QGlyphRun.setOverline?4(bool) +QtGui.QGlyphRun.overline?4() -> bool +QtGui.QGlyphRun.setUnderline?4(bool) +QtGui.QGlyphRun.underline?4() -> bool +QtGui.QGlyphRun.setStrikeOut?4(bool) +QtGui.QGlyphRun.strikeOut?4() -> bool +QtGui.QGlyphRun.setRightToLeft?4(bool) +QtGui.QGlyphRun.isRightToLeft?4() -> bool +QtGui.QGlyphRun.setFlag?4(QGlyphRun.GlyphRunFlag, bool enabled=True) +QtGui.QGlyphRun.setFlags?4(QGlyphRun.GlyphRunFlags) +QtGui.QGlyphRun.flags?4() -> QGlyphRun.GlyphRunFlags +QtGui.QGlyphRun.setBoundingRect?4(QRectF) +QtGui.QGlyphRun.boundingRect?4() -> QRectF +QtGui.QGlyphRun.isEmpty?4() -> bool +QtGui.QGlyphRun.swap?4(QGlyphRun) +QtGui.QGlyphRun.GlyphRunFlags?1() +QtGui.QGlyphRun.GlyphRunFlags.__init__?1(self) +QtGui.QGlyphRun.GlyphRunFlags?1(int) +QtGui.QGlyphRun.GlyphRunFlags.__init__?1(self, int) +QtGui.QGlyphRun.GlyphRunFlags?1(QGlyphRun.GlyphRunFlags) +QtGui.QGlyphRun.GlyphRunFlags.__init__?1(self, QGlyphRun.GlyphRunFlags) +QtGui.QGuiApplication?1(list) +QtGui.QGuiApplication.__init__?1(self, list) +QtGui.QGuiApplication.allWindows?4() -> unknown-type +QtGui.QGuiApplication.topLevelWindows?4() -> unknown-type +QtGui.QGuiApplication.topLevelAt?4(QPoint) -> QWindow +QtGui.QGuiApplication.platformName?4() -> QString +QtGui.QGuiApplication.focusWindow?4() -> QWindow +QtGui.QGuiApplication.focusObject?4() -> QObject +QtGui.QGuiApplication.primaryScreen?4() -> QScreen +QtGui.QGuiApplication.screens?4() -> unknown-type +QtGui.QGuiApplication.overrideCursor?4() -> QCursor +QtGui.QGuiApplication.setOverrideCursor?4(QCursor) +QtGui.QGuiApplication.changeOverrideCursor?4(QCursor) +QtGui.QGuiApplication.restoreOverrideCursor?4() +QtGui.QGuiApplication.font?4() -> QFont +QtGui.QGuiApplication.setFont?4(QFont) +QtGui.QGuiApplication.clipboard?4() -> QClipboard +QtGui.QGuiApplication.palette?4() -> QPalette +QtGui.QGuiApplication.setPalette?4(QPalette) +QtGui.QGuiApplication.keyboardModifiers?4() -> Qt.KeyboardModifiers +QtGui.QGuiApplication.queryKeyboardModifiers?4() -> Qt.KeyboardModifiers +QtGui.QGuiApplication.mouseButtons?4() -> Qt.MouseButtons +QtGui.QGuiApplication.setLayoutDirection?4(Qt.LayoutDirection) +QtGui.QGuiApplication.layoutDirection?4() -> Qt.LayoutDirection +QtGui.QGuiApplication.isRightToLeft?4() -> bool +QtGui.QGuiApplication.isLeftToRight?4() -> bool +QtGui.QGuiApplication.setDesktopSettingsAware?4(bool) +QtGui.QGuiApplication.desktopSettingsAware?4() -> bool +QtGui.QGuiApplication.setQuitOnLastWindowClosed?4(bool) +QtGui.QGuiApplication.quitOnLastWindowClosed?4() -> bool +QtGui.QGuiApplication.exec_?4() -> int +QtGui.QGuiApplication.exec?4() -> int +QtGui.QGuiApplication.notify?4(QObject, QEvent) -> bool +QtGui.QGuiApplication.fontDatabaseChanged?4() +QtGui.QGuiApplication.screenAdded?4(QScreen) +QtGui.QGuiApplication.lastWindowClosed?4() +QtGui.QGuiApplication.focusObjectChanged?4(QObject) +QtGui.QGuiApplication.commitDataRequest?4(QSessionManager) +QtGui.QGuiApplication.saveStateRequest?4(QSessionManager) +QtGui.QGuiApplication.focusWindowChanged?4(QWindow) +QtGui.QGuiApplication.applicationStateChanged?4(Qt.ApplicationState) +QtGui.QGuiApplication.applicationDisplayNameChanged?4() +QtGui.QGuiApplication.setApplicationDisplayName?4(QString) +QtGui.QGuiApplication.applicationDisplayName?4() -> QString +QtGui.QGuiApplication.modalWindow?4() -> QWindow +QtGui.QGuiApplication.styleHints?4() -> QStyleHints +QtGui.QGuiApplication.inputMethod?4() -> QInputMethod +QtGui.QGuiApplication.devicePixelRatio?4() -> float +QtGui.QGuiApplication.isSessionRestored?4() -> bool +QtGui.QGuiApplication.sessionId?4() -> QString +QtGui.QGuiApplication.sessionKey?4() -> QString +QtGui.QGuiApplication.isSavingSession?4() -> bool +QtGui.QGuiApplication.applicationState?4() -> Qt.ApplicationState +QtGui.QGuiApplication.sync?4() +QtGui.QGuiApplication.setWindowIcon?4(QIcon) +QtGui.QGuiApplication.windowIcon?4() -> QIcon +QtGui.QGuiApplication.event?4(QEvent) -> bool +QtGui.QGuiApplication.screenRemoved?4(QScreen) +QtGui.QGuiApplication.layoutDirectionChanged?4(Qt.LayoutDirection) +QtGui.QGuiApplication.paletteChanged?4(QPalette) +QtGui.QGuiApplication.isFallbackSessionManagementEnabled?4() -> bool +QtGui.QGuiApplication.setFallbackSessionManagementEnabled?4(bool) +QtGui.QGuiApplication.primaryScreenChanged?4(QScreen) +QtGui.QGuiApplication.setDesktopFileName?4(QString) +QtGui.QGuiApplication.desktopFileName?4() -> QString +QtGui.QGuiApplication.screenAt?4(QPoint) -> QScreen +QtGui.QGuiApplication.fontChanged?4(QFont) +QtGui.QGuiApplication.setHighDpiScaleFactorRoundingPolicy?4(Qt.HighDpiScaleFactorRoundingPolicy) +QtGui.QGuiApplication.highDpiScaleFactorRoundingPolicy?4() -> Qt.HighDpiScaleFactorRoundingPolicy +QtGui.QIcon.State?10 +QtGui.QIcon.State.On?10 +QtGui.QIcon.State.Off?10 +QtGui.QIcon.Mode?10 +QtGui.QIcon.Mode.Normal?10 +QtGui.QIcon.Mode.Disabled?10 +QtGui.QIcon.Mode.Active?10 +QtGui.QIcon.Mode.Selected?10 +QtGui.QIcon?1() +QtGui.QIcon.__init__?1(self) +QtGui.QIcon?1(QPixmap) +QtGui.QIcon.__init__?1(self, QPixmap) +QtGui.QIcon?1(QIcon) +QtGui.QIcon.__init__?1(self, QIcon) +QtGui.QIcon?1(QString) +QtGui.QIcon.__init__?1(self, QString) +QtGui.QIcon?1(QIconEngine) +QtGui.QIcon.__init__?1(self, QIconEngine) +QtGui.QIcon?1(QVariant) +QtGui.QIcon.__init__?1(self, QVariant) +QtGui.QIcon.pixmap?4(QSize, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) -> QPixmap +QtGui.QIcon.pixmap?4(int, int, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) -> QPixmap +QtGui.QIcon.pixmap?4(int, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) -> QPixmap +QtGui.QIcon.pixmap?4(QWindow, QSize, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) -> QPixmap +QtGui.QIcon.actualSize?4(QSize, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) -> QSize +QtGui.QIcon.actualSize?4(QWindow, QSize, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) -> QSize +QtGui.QIcon.availableSizes?4(QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) -> unknown-type +QtGui.QIcon.paint?4(QPainter, QRect, Qt.Alignment alignment=Qt.AlignCenter, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) +QtGui.QIcon.paint?4(QPainter, int, int, int, int, Qt.Alignment alignment=Qt.AlignCenter, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) +QtGui.QIcon.isNull?4() -> bool +QtGui.QIcon.isDetached?4() -> bool +QtGui.QIcon.addPixmap?4(QPixmap, QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) +QtGui.QIcon.addFile?4(QString, QSize size=QSize(), QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) +QtGui.QIcon.cacheKey?4() -> int +QtGui.QIcon.fromTheme?4(QString) -> QIcon +QtGui.QIcon.fromTheme?4(QString, QIcon) -> QIcon +QtGui.QIcon.hasThemeIcon?4(QString) -> bool +QtGui.QIcon.themeSearchPaths?4() -> QStringList +QtGui.QIcon.setThemeSearchPaths?4(QStringList) +QtGui.QIcon.themeName?4() -> QString +QtGui.QIcon.setThemeName?4(QString) +QtGui.QIcon.name?4() -> QString +QtGui.QIcon.swap?4(QIcon) +QtGui.QIcon.setIsMask?4(bool) +QtGui.QIcon.isMask?4() -> bool +QtGui.QIcon.fallbackSearchPaths?4() -> QStringList +QtGui.QIcon.setFallbackSearchPaths?4(QStringList) +QtGui.QIcon.fallbackThemeName?4() -> QString +QtGui.QIcon.setFallbackThemeName?4(QString) +QtGui.QIconEngine.IconEngineHook?10 +QtGui.QIconEngine.IconEngineHook.AvailableSizesHook?10 +QtGui.QIconEngine.IconEngineHook.IconNameHook?10 +QtGui.QIconEngine.IconEngineHook.IsNullHook?10 +QtGui.QIconEngine.IconEngineHook.ScaledPixmapHook?10 +QtGui.QIconEngine?1() +QtGui.QIconEngine.__init__?1(self) +QtGui.QIconEngine?1(QIconEngine) +QtGui.QIconEngine.__init__?1(self, QIconEngine) +QtGui.QIconEngine.paint?4(QPainter, QRect, QIcon.Mode, QIcon.State) +QtGui.QIconEngine.actualSize?4(QSize, QIcon.Mode, QIcon.State) -> QSize +QtGui.QIconEngine.pixmap?4(QSize, QIcon.Mode, QIcon.State) -> QPixmap +QtGui.QIconEngine.addPixmap?4(QPixmap, QIcon.Mode, QIcon.State) +QtGui.QIconEngine.addFile?4(QString, QSize, QIcon.Mode, QIcon.State) +QtGui.QIconEngine.key?4() -> QString +QtGui.QIconEngine.clone?4() -> QIconEngine +QtGui.QIconEngine.read?4(QDataStream) -> bool +QtGui.QIconEngine.write?4(QDataStream) -> bool +QtGui.QIconEngine.availableSizes?4(QIcon.Mode mode=QIcon.Normal, QIcon.State state=QIcon.Off) -> unknown-type +QtGui.QIconEngine.iconName?4() -> QString +QtGui.QIconEngine.isNull?4() -> bool +QtGui.QIconEngine.scaledPixmap?4(QSize, QIcon.Mode, QIcon.State, float) -> QPixmap +QtGui.QIconEngine.AvailableSizesArgument.mode?7 +QtGui.QIconEngine.AvailableSizesArgument.sizes?7 +QtGui.QIconEngine.AvailableSizesArgument.state?7 +QtGui.QIconEngine.AvailableSizesArgument?1() +QtGui.QIconEngine.AvailableSizesArgument.__init__?1(self) +QtGui.QIconEngine.AvailableSizesArgument?1(QIconEngine.AvailableSizesArgument) +QtGui.QIconEngine.AvailableSizesArgument.__init__?1(self, QIconEngine.AvailableSizesArgument) +QtGui.QIconEngine.ScaledPixmapArgument.mode?7 +QtGui.QIconEngine.ScaledPixmapArgument.pixmap?7 +QtGui.QIconEngine.ScaledPixmapArgument.scale?7 +QtGui.QIconEngine.ScaledPixmapArgument.size?7 +QtGui.QIconEngine.ScaledPixmapArgument.state?7 +QtGui.QIconEngine.ScaledPixmapArgument?1() +QtGui.QIconEngine.ScaledPixmapArgument.__init__?1(self) +QtGui.QIconEngine.ScaledPixmapArgument?1(QIconEngine.ScaledPixmapArgument) +QtGui.QIconEngine.ScaledPixmapArgument.__init__?1(self, QIconEngine.ScaledPixmapArgument) +QtGui.QImage.Format?10 +QtGui.QImage.Format.Format_Invalid?10 +QtGui.QImage.Format.Format_Mono?10 +QtGui.QImage.Format.Format_MonoLSB?10 +QtGui.QImage.Format.Format_Indexed8?10 +QtGui.QImage.Format.Format_RGB32?10 +QtGui.QImage.Format.Format_ARGB32?10 +QtGui.QImage.Format.Format_ARGB32_Premultiplied?10 +QtGui.QImage.Format.Format_RGB16?10 +QtGui.QImage.Format.Format_ARGB8565_Premultiplied?10 +QtGui.QImage.Format.Format_RGB666?10 +QtGui.QImage.Format.Format_ARGB6666_Premultiplied?10 +QtGui.QImage.Format.Format_RGB555?10 +QtGui.QImage.Format.Format_ARGB8555_Premultiplied?10 +QtGui.QImage.Format.Format_RGB888?10 +QtGui.QImage.Format.Format_RGB444?10 +QtGui.QImage.Format.Format_ARGB4444_Premultiplied?10 +QtGui.QImage.Format.Format_RGBX8888?10 +QtGui.QImage.Format.Format_RGBA8888?10 +QtGui.QImage.Format.Format_RGBA8888_Premultiplied?10 +QtGui.QImage.Format.Format_BGR30?10 +QtGui.QImage.Format.Format_A2BGR30_Premultiplied?10 +QtGui.QImage.Format.Format_RGB30?10 +QtGui.QImage.Format.Format_A2RGB30_Premultiplied?10 +QtGui.QImage.Format.Format_Alpha8?10 +QtGui.QImage.Format.Format_Grayscale8?10 +QtGui.QImage.Format.Format_RGBX64?10 +QtGui.QImage.Format.Format_RGBA64?10 +QtGui.QImage.Format.Format_RGBA64_Premultiplied?10 +QtGui.QImage.Format.Format_Grayscale16?10 +QtGui.QImage.Format.Format_BGR888?10 +QtGui.QImage.InvertMode?10 +QtGui.QImage.InvertMode.InvertRgb?10 +QtGui.QImage.InvertMode.InvertRgba?10 +QtGui.QImage?1() +QtGui.QImage.__init__?1(self) +QtGui.QImage?1(QSize, QImage.Format) +QtGui.QImage.__init__?1(self, QSize, QImage.Format) +QtGui.QImage?1(int, int, QImage.Format) +QtGui.QImage.__init__?1(self, int, int, QImage.Format) +QtGui.QImage?1(bytes, int, int, QImage.Format) +QtGui.QImage.__init__?1(self, bytes, int, int, QImage.Format) +QtGui.QImage?1(sip.voidptr, int, int, QImage.Format) +QtGui.QImage.__init__?1(self, sip.voidptr, int, int, QImage.Format) +QtGui.QImage?1(bytes, int, int, int, QImage.Format) +QtGui.QImage.__init__?1(self, bytes, int, int, int, QImage.Format) +QtGui.QImage?1(sip.voidptr, int, int, int, QImage.Format) +QtGui.QImage.__init__?1(self, sip.voidptr, int, int, int, QImage.Format) +QtGui.QImage?1(list) +QtGui.QImage.__init__?1(self, list) +QtGui.QImage?1(QString, str format=None) +QtGui.QImage.__init__?1(self, QString, str format=None) +QtGui.QImage?1(QImage) +QtGui.QImage.__init__?1(self, QImage) +QtGui.QImage?1(QVariant) +QtGui.QImage.__init__?1(self, QVariant) +QtGui.QImage.isNull?4() -> bool +QtGui.QImage.devType?4() -> int +QtGui.QImage.detach?4() +QtGui.QImage.isDetached?4() -> bool +QtGui.QImage.copy?4(QRect rect=QRect()) -> QImage +QtGui.QImage.copy?4(int, int, int, int) -> QImage +QtGui.QImage.format?4() -> QImage.Format +QtGui.QImage.convertToFormat?4(QImage.Format, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) -> QImage +QtGui.QImage.convertToFormat?4(QImage.Format, unknown-type, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) -> QImage +QtGui.QImage.width?4() -> int +QtGui.QImage.height?4() -> int +QtGui.QImage.size?4() -> QSize +QtGui.QImage.rect?4() -> QRect +QtGui.QImage.depth?4() -> int +QtGui.QImage.color?4(int) -> int +QtGui.QImage.setColor?4(int, int) +QtGui.QImage.allGray?4() -> bool +QtGui.QImage.isGrayscale?4() -> bool +QtGui.QImage.bits?4() -> sip.voidptr +QtGui.QImage.constBits?4() -> sip.voidptr +QtGui.QImage.scanLine?4(int) -> sip.voidptr +QtGui.QImage.constScanLine?4(int) -> sip.voidptr +QtGui.QImage.bytesPerLine?4() -> int +QtGui.QImage.valid?4(QPoint) -> bool +QtGui.QImage.valid?4(int, int) -> bool +QtGui.QImage.pixelIndex?4(QPoint) -> int +QtGui.QImage.pixelIndex?4(int, int) -> int +QtGui.QImage.pixel?4(QPoint) -> int +QtGui.QImage.pixel?4(int, int) -> int +QtGui.QImage.setPixel?4(QPoint, int) +QtGui.QImage.setPixel?4(int, int, int) +QtGui.QImage.colorTable?4() -> unknown-type +QtGui.QImage.setColorTable?4(unknown-type) +QtGui.QImage.fill?4(Qt.GlobalColor) +QtGui.QImage.fill?4(QColor) +QtGui.QImage.fill?4(int) +QtGui.QImage.hasAlphaChannel?4() -> bool +QtGui.QImage.setAlphaChannel?4(QImage) +QtGui.QImage.createAlphaMask?4(Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) -> QImage +QtGui.QImage.createHeuristicMask?4(bool clipTight=True) -> QImage +QtGui.QImage.scaled?4(int, int, Qt.AspectRatioMode aspectRatioMode=Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode=Qt.FastTransformation) -> QImage +QtGui.QImage.scaled?4(QSize, Qt.AspectRatioMode aspectRatioMode=Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode=Qt.FastTransformation) -> QImage +QtGui.QImage.scaledToWidth?4(int, Qt.TransformationMode mode=Qt.FastTransformation) -> QImage +QtGui.QImage.scaledToHeight?4(int, Qt.TransformationMode mode=Qt.FastTransformation) -> QImage +QtGui.QImage.mirrored?4(bool horizontal=False, bool vertical=True) -> QImage +QtGui.QImage.rgbSwapped?4() -> QImage +QtGui.QImage.invertPixels?4(QImage.InvertMode mode=QImage.InvertRgb) +QtGui.QImage.load?4(QIODevice, str) -> bool +QtGui.QImage.load?4(QString, str format=None) -> bool +QtGui.QImage.loadFromData?4(bytes, str format=None) -> bool +QtGui.QImage.loadFromData?4(QByteArray, str format=None) -> bool +QtGui.QImage.save?4(QString, str format=None, int quality=-1) -> bool +QtGui.QImage.save?4(QIODevice, str format=None, int quality=-1) -> bool +QtGui.QImage.fromData?4(bytes, str format=None) -> QImage +QtGui.QImage.fromData?4(QByteArray, str format=None) -> QImage +QtGui.QImage.paintEngine?4() -> QPaintEngine +QtGui.QImage.dotsPerMeterX?4() -> int +QtGui.QImage.dotsPerMeterY?4() -> int +QtGui.QImage.setDotsPerMeterX?4(int) +QtGui.QImage.setDotsPerMeterY?4(int) +QtGui.QImage.offset?4() -> QPoint +QtGui.QImage.setOffset?4(QPoint) +QtGui.QImage.textKeys?4() -> QStringList +QtGui.QImage.text?4(QString key='') -> QString +QtGui.QImage.setText?4(QString, QString) +QtGui.QImage.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QImage.smoothScaled?4(int, int) -> QImage +QtGui.QImage.createMaskFromColor?4(int, Qt.MaskMode mode=Qt.MaskInColor) -> QImage +QtGui.QImage.transformed?4(QTransform, Qt.TransformationMode mode=Qt.FastTransformation) -> QImage +QtGui.QImage.trueMatrix?4(QTransform, int, int) -> QTransform +QtGui.QImage.cacheKey?4() -> int +QtGui.QImage.colorCount?4() -> int +QtGui.QImage.setColorCount?4(int) +QtGui.QImage.byteCount?4() -> int +QtGui.QImage.bitPlaneCount?4() -> int +QtGui.QImage.swap?4(QImage) +QtGui.QImage.devicePixelRatio?4() -> float +QtGui.QImage.setDevicePixelRatio?4(float) +QtGui.QImage.pixelFormat?4() -> QPixelFormat +QtGui.QImage.toPixelFormat?4(QImage.Format) -> QPixelFormat +QtGui.QImage.toImageFormat?4(QPixelFormat) -> QImage.Format +QtGui.QImage.pixelColor?4(int, int) -> QColor +QtGui.QImage.pixelColor?4(QPoint) -> QColor +QtGui.QImage.setPixelColor?4(int, int, QColor) +QtGui.QImage.setPixelColor?4(QPoint, QColor) +QtGui.QImage.reinterpretAsFormat?4(QImage.Format) -> bool +QtGui.QImage.sizeInBytes?4() -> int +QtGui.QImage.convertTo?4(QImage.Format, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) +QtGui.QImage.colorSpace?4() -> QColorSpace +QtGui.QImage.convertedToColorSpace?4(QColorSpace) -> QImage +QtGui.QImage.convertToColorSpace?4(QColorSpace) +QtGui.QImage.setColorSpace?4(QColorSpace) +QtGui.QImage.applyColorTransform?4(QColorTransform) +QtGui.QImageIOHandler.Transformation?10 +QtGui.QImageIOHandler.Transformation.TransformationNone?10 +QtGui.QImageIOHandler.Transformation.TransformationMirror?10 +QtGui.QImageIOHandler.Transformation.TransformationFlip?10 +QtGui.QImageIOHandler.Transformation.TransformationRotate180?10 +QtGui.QImageIOHandler.Transformation.TransformationRotate90?10 +QtGui.QImageIOHandler.Transformation.TransformationMirrorAndRotate90?10 +QtGui.QImageIOHandler.Transformation.TransformationFlipAndRotate90?10 +QtGui.QImageIOHandler.Transformation.TransformationRotate270?10 +QtGui.QImageIOHandler.ImageOption?10 +QtGui.QImageIOHandler.ImageOption.Size?10 +QtGui.QImageIOHandler.ImageOption.ClipRect?10 +QtGui.QImageIOHandler.ImageOption.Description?10 +QtGui.QImageIOHandler.ImageOption.ScaledClipRect?10 +QtGui.QImageIOHandler.ImageOption.ScaledSize?10 +QtGui.QImageIOHandler.ImageOption.CompressionRatio?10 +QtGui.QImageIOHandler.ImageOption.Gamma?10 +QtGui.QImageIOHandler.ImageOption.Quality?10 +QtGui.QImageIOHandler.ImageOption.Name?10 +QtGui.QImageIOHandler.ImageOption.SubType?10 +QtGui.QImageIOHandler.ImageOption.IncrementalReading?10 +QtGui.QImageIOHandler.ImageOption.Endianness?10 +QtGui.QImageIOHandler.ImageOption.Animation?10 +QtGui.QImageIOHandler.ImageOption.BackgroundColor?10 +QtGui.QImageIOHandler.ImageOption.SupportedSubTypes?10 +QtGui.QImageIOHandler.ImageOption.OptimizedWrite?10 +QtGui.QImageIOHandler.ImageOption.ProgressiveScanWrite?10 +QtGui.QImageIOHandler.ImageOption.ImageTransformation?10 +QtGui.QImageIOHandler.ImageOption.TransformedByDefault?10 +QtGui.QImageIOHandler?1() +QtGui.QImageIOHandler.__init__?1(self) +QtGui.QImageIOHandler.setDevice?4(QIODevice) +QtGui.QImageIOHandler.device?4() -> QIODevice +QtGui.QImageIOHandler.setFormat?4(QByteArray) +QtGui.QImageIOHandler.format?4() -> QByteArray +QtGui.QImageIOHandler.canRead?4() -> bool +QtGui.QImageIOHandler.read?4(QImage) -> bool +QtGui.QImageIOHandler.write?4(QImage) -> bool +QtGui.QImageIOHandler.option?4(QImageIOHandler.ImageOption) -> QVariant +QtGui.QImageIOHandler.setOption?4(QImageIOHandler.ImageOption, QVariant) +QtGui.QImageIOHandler.supportsOption?4(QImageIOHandler.ImageOption) -> bool +QtGui.QImageIOHandler.jumpToNextImage?4() -> bool +QtGui.QImageIOHandler.jumpToImage?4(int) -> bool +QtGui.QImageIOHandler.loopCount?4() -> int +QtGui.QImageIOHandler.imageCount?4() -> int +QtGui.QImageIOHandler.nextImageDelay?4() -> int +QtGui.QImageIOHandler.currentImageNumber?4() -> int +QtGui.QImageIOHandler.currentImageRect?4() -> QRect +QtGui.QImageIOHandler.Transformations?1() +QtGui.QImageIOHandler.Transformations.__init__?1(self) +QtGui.QImageIOHandler.Transformations?1(int) +QtGui.QImageIOHandler.Transformations.__init__?1(self, int) +QtGui.QImageIOHandler.Transformations?1(QImageIOHandler.Transformations) +QtGui.QImageIOHandler.Transformations.__init__?1(self, QImageIOHandler.Transformations) +QtGui.QImageReader.ImageReaderError?10 +QtGui.QImageReader.ImageReaderError.UnknownError?10 +QtGui.QImageReader.ImageReaderError.FileNotFoundError?10 +QtGui.QImageReader.ImageReaderError.DeviceError?10 +QtGui.QImageReader.ImageReaderError.UnsupportedFormatError?10 +QtGui.QImageReader.ImageReaderError.InvalidDataError?10 +QtGui.QImageReader?1() +QtGui.QImageReader.__init__?1(self) +QtGui.QImageReader?1(QIODevice, QByteArray format=QByteArray()) +QtGui.QImageReader.__init__?1(self, QIODevice, QByteArray format=QByteArray()) +QtGui.QImageReader?1(QString, QByteArray format=QByteArray()) +QtGui.QImageReader.__init__?1(self, QString, QByteArray format=QByteArray()) +QtGui.QImageReader.setFormat?4(QByteArray) +QtGui.QImageReader.format?4() -> QByteArray +QtGui.QImageReader.setDevice?4(QIODevice) +QtGui.QImageReader.device?4() -> QIODevice +QtGui.QImageReader.setFileName?4(QString) +QtGui.QImageReader.fileName?4() -> QString +QtGui.QImageReader.size?4() -> QSize +QtGui.QImageReader.setClipRect?4(QRect) +QtGui.QImageReader.clipRect?4() -> QRect +QtGui.QImageReader.setScaledSize?4(QSize) +QtGui.QImageReader.scaledSize?4() -> QSize +QtGui.QImageReader.setScaledClipRect?4(QRect) +QtGui.QImageReader.scaledClipRect?4() -> QRect +QtGui.QImageReader.canRead?4() -> bool +QtGui.QImageReader.read?4() -> QImage +QtGui.QImageReader.read?4(QImage) -> bool +QtGui.QImageReader.jumpToNextImage?4() -> bool +QtGui.QImageReader.jumpToImage?4(int) -> bool +QtGui.QImageReader.loopCount?4() -> int +QtGui.QImageReader.imageCount?4() -> int +QtGui.QImageReader.nextImageDelay?4() -> int +QtGui.QImageReader.currentImageNumber?4() -> int +QtGui.QImageReader.currentImageRect?4() -> QRect +QtGui.QImageReader.error?4() -> QImageReader.ImageReaderError +QtGui.QImageReader.errorString?4() -> QString +QtGui.QImageReader.imageFormat?4(QString) -> QByteArray +QtGui.QImageReader.imageFormat?4(QIODevice) -> QByteArray +QtGui.QImageReader.supportedImageFormats?4() -> unknown-type +QtGui.QImageReader.textKeys?4() -> QStringList +QtGui.QImageReader.text?4(QString) -> QString +QtGui.QImageReader.setBackgroundColor?4(QColor) +QtGui.QImageReader.backgroundColor?4() -> QColor +QtGui.QImageReader.supportsAnimation?4() -> bool +QtGui.QImageReader.setQuality?4(int) +QtGui.QImageReader.quality?4() -> int +QtGui.QImageReader.supportsOption?4(QImageIOHandler.ImageOption) -> bool +QtGui.QImageReader.setAutoDetectImageFormat?4(bool) +QtGui.QImageReader.autoDetectImageFormat?4() -> bool +QtGui.QImageReader.imageFormat?4() -> QImage.Format +QtGui.QImageReader.setDecideFormatFromContent?4(bool) +QtGui.QImageReader.decideFormatFromContent?4() -> bool +QtGui.QImageReader.supportedMimeTypes?4() -> unknown-type +QtGui.QImageReader.subType?4() -> QByteArray +QtGui.QImageReader.supportedSubTypes?4() -> unknown-type +QtGui.QImageReader.transformation?4() -> QImageIOHandler.Transformations +QtGui.QImageReader.setAutoTransform?4(bool) +QtGui.QImageReader.autoTransform?4() -> bool +QtGui.QImageReader.setGamma?4(float) +QtGui.QImageReader.gamma?4() -> float +QtGui.QImageReader.imageFormatsForMimeType?4(QByteArray) -> unknown-type +QtGui.QImageWriter.ImageWriterError?10 +QtGui.QImageWriter.ImageWriterError.UnknownError?10 +QtGui.QImageWriter.ImageWriterError.DeviceError?10 +QtGui.QImageWriter.ImageWriterError.UnsupportedFormatError?10 +QtGui.QImageWriter.ImageWriterError.InvalidImageError?10 +QtGui.QImageWriter?1() +QtGui.QImageWriter.__init__?1(self) +QtGui.QImageWriter?1(QIODevice, QByteArray) +QtGui.QImageWriter.__init__?1(self, QIODevice, QByteArray) +QtGui.QImageWriter?1(QString, QByteArray format=QByteArray()) +QtGui.QImageWriter.__init__?1(self, QString, QByteArray format=QByteArray()) +QtGui.QImageWriter.setFormat?4(QByteArray) +QtGui.QImageWriter.format?4() -> QByteArray +QtGui.QImageWriter.setDevice?4(QIODevice) +QtGui.QImageWriter.device?4() -> QIODevice +QtGui.QImageWriter.setFileName?4(QString) +QtGui.QImageWriter.fileName?4() -> QString +QtGui.QImageWriter.setQuality?4(int) +QtGui.QImageWriter.quality?4() -> int +QtGui.QImageWriter.setGamma?4(float) +QtGui.QImageWriter.gamma?4() -> float +QtGui.QImageWriter.canWrite?4() -> bool +QtGui.QImageWriter.write?4(QImage) -> bool +QtGui.QImageWriter.error?4() -> QImageWriter.ImageWriterError +QtGui.QImageWriter.errorString?4() -> QString +QtGui.QImageWriter.supportedImageFormats?4() -> unknown-type +QtGui.QImageWriter.setText?4(QString, QString) +QtGui.QImageWriter.supportsOption?4(QImageIOHandler.ImageOption) -> bool +QtGui.QImageWriter.setCompression?4(int) +QtGui.QImageWriter.compression?4() -> int +QtGui.QImageWriter.supportedMimeTypes?4() -> unknown-type +QtGui.QImageWriter.setSubType?4(QByteArray) +QtGui.QImageWriter.subType?4() -> QByteArray +QtGui.QImageWriter.supportedSubTypes?4() -> unknown-type +QtGui.QImageWriter.setOptimizedWrite?4(bool) +QtGui.QImageWriter.optimizedWrite?4() -> bool +QtGui.QImageWriter.setProgressiveScanWrite?4(bool) +QtGui.QImageWriter.progressiveScanWrite?4() -> bool +QtGui.QImageWriter.transformation?4() -> QImageIOHandler.Transformations +QtGui.QImageWriter.setTransformation?4(QImageIOHandler.Transformations) +QtGui.QImageWriter.imageFormatsForMimeType?4(QByteArray) -> unknown-type +QtGui.QInputMethod.Action?10 +QtGui.QInputMethod.Action.Click?10 +QtGui.QInputMethod.Action.ContextMenu?10 +QtGui.QInputMethod.inputItemTransform?4() -> QTransform +QtGui.QInputMethod.setInputItemTransform?4(QTransform) +QtGui.QInputMethod.cursorRectangle?4() -> QRectF +QtGui.QInputMethod.keyboardRectangle?4() -> QRectF +QtGui.QInputMethod.isVisible?4() -> bool +QtGui.QInputMethod.setVisible?4(bool) +QtGui.QInputMethod.isAnimating?4() -> bool +QtGui.QInputMethod.locale?4() -> QLocale +QtGui.QInputMethod.inputDirection?4() -> Qt.LayoutDirection +QtGui.QInputMethod.inputItemRectangle?4() -> QRectF +QtGui.QInputMethod.setInputItemRectangle?4(QRectF) +QtGui.QInputMethod.queryFocusObject?4(Qt.InputMethodQuery, QVariant) -> QVariant +QtGui.QInputMethod.show?4() +QtGui.QInputMethod.hide?4() +QtGui.QInputMethod.update?4(Qt.InputMethodQueries) +QtGui.QInputMethod.reset?4() +QtGui.QInputMethod.commit?4() +QtGui.QInputMethod.invokeAction?4(QInputMethod.Action, int) +QtGui.QInputMethod.cursorRectangleChanged?4() +QtGui.QInputMethod.keyboardRectangleChanged?4() +QtGui.QInputMethod.visibleChanged?4() +QtGui.QInputMethod.animatingChanged?4() +QtGui.QInputMethod.localeChanged?4() +QtGui.QInputMethod.inputDirectionChanged?4(Qt.LayoutDirection) +QtGui.QInputMethod.anchorRectangle?4() -> QRectF +QtGui.QInputMethod.inputItemClipRectangle?4() -> QRectF +QtGui.QInputMethod.anchorRectangleChanged?4() +QtGui.QInputMethod.inputItemClipRectangleChanged?4() +QtGui.QKeySequence.StandardKey?10 +QtGui.QKeySequence.StandardKey.UnknownKey?10 +QtGui.QKeySequence.StandardKey.HelpContents?10 +QtGui.QKeySequence.StandardKey.WhatsThis?10 +QtGui.QKeySequence.StandardKey.Open?10 +QtGui.QKeySequence.StandardKey.Close?10 +QtGui.QKeySequence.StandardKey.Save?10 +QtGui.QKeySequence.StandardKey.New?10 +QtGui.QKeySequence.StandardKey.Delete?10 +QtGui.QKeySequence.StandardKey.Cut?10 +QtGui.QKeySequence.StandardKey.Copy?10 +QtGui.QKeySequence.StandardKey.Paste?10 +QtGui.QKeySequence.StandardKey.Undo?10 +QtGui.QKeySequence.StandardKey.Redo?10 +QtGui.QKeySequence.StandardKey.Back?10 +QtGui.QKeySequence.StandardKey.Forward?10 +QtGui.QKeySequence.StandardKey.Refresh?10 +QtGui.QKeySequence.StandardKey.ZoomIn?10 +QtGui.QKeySequence.StandardKey.ZoomOut?10 +QtGui.QKeySequence.StandardKey.Print?10 +QtGui.QKeySequence.StandardKey.AddTab?10 +QtGui.QKeySequence.StandardKey.NextChild?10 +QtGui.QKeySequence.StandardKey.PreviousChild?10 +QtGui.QKeySequence.StandardKey.Find?10 +QtGui.QKeySequence.StandardKey.FindNext?10 +QtGui.QKeySequence.StandardKey.FindPrevious?10 +QtGui.QKeySequence.StandardKey.Replace?10 +QtGui.QKeySequence.StandardKey.SelectAll?10 +QtGui.QKeySequence.StandardKey.Bold?10 +QtGui.QKeySequence.StandardKey.Italic?10 +QtGui.QKeySequence.StandardKey.Underline?10 +QtGui.QKeySequence.StandardKey.MoveToNextChar?10 +QtGui.QKeySequence.StandardKey.MoveToPreviousChar?10 +QtGui.QKeySequence.StandardKey.MoveToNextWord?10 +QtGui.QKeySequence.StandardKey.MoveToPreviousWord?10 +QtGui.QKeySequence.StandardKey.MoveToNextLine?10 +QtGui.QKeySequence.StandardKey.MoveToPreviousLine?10 +QtGui.QKeySequence.StandardKey.MoveToNextPage?10 +QtGui.QKeySequence.StandardKey.MoveToPreviousPage?10 +QtGui.QKeySequence.StandardKey.MoveToStartOfLine?10 +QtGui.QKeySequence.StandardKey.MoveToEndOfLine?10 +QtGui.QKeySequence.StandardKey.MoveToStartOfBlock?10 +QtGui.QKeySequence.StandardKey.MoveToEndOfBlock?10 +QtGui.QKeySequence.StandardKey.MoveToStartOfDocument?10 +QtGui.QKeySequence.StandardKey.MoveToEndOfDocument?10 +QtGui.QKeySequence.StandardKey.SelectNextChar?10 +QtGui.QKeySequence.StandardKey.SelectPreviousChar?10 +QtGui.QKeySequence.StandardKey.SelectNextWord?10 +QtGui.QKeySequence.StandardKey.SelectPreviousWord?10 +QtGui.QKeySequence.StandardKey.SelectNextLine?10 +QtGui.QKeySequence.StandardKey.SelectPreviousLine?10 +QtGui.QKeySequence.StandardKey.SelectNextPage?10 +QtGui.QKeySequence.StandardKey.SelectPreviousPage?10 +QtGui.QKeySequence.StandardKey.SelectStartOfLine?10 +QtGui.QKeySequence.StandardKey.SelectEndOfLine?10 +QtGui.QKeySequence.StandardKey.SelectStartOfBlock?10 +QtGui.QKeySequence.StandardKey.SelectEndOfBlock?10 +QtGui.QKeySequence.StandardKey.SelectStartOfDocument?10 +QtGui.QKeySequence.StandardKey.SelectEndOfDocument?10 +QtGui.QKeySequence.StandardKey.DeleteStartOfWord?10 +QtGui.QKeySequence.StandardKey.DeleteEndOfWord?10 +QtGui.QKeySequence.StandardKey.DeleteEndOfLine?10 +QtGui.QKeySequence.StandardKey.InsertParagraphSeparator?10 +QtGui.QKeySequence.StandardKey.InsertLineSeparator?10 +QtGui.QKeySequence.StandardKey.SaveAs?10 +QtGui.QKeySequence.StandardKey.Preferences?10 +QtGui.QKeySequence.StandardKey.Quit?10 +QtGui.QKeySequence.StandardKey.FullScreen?10 +QtGui.QKeySequence.StandardKey.Deselect?10 +QtGui.QKeySequence.StandardKey.DeleteCompleteLine?10 +QtGui.QKeySequence.StandardKey.Backspace?10 +QtGui.QKeySequence.StandardKey.Cancel?10 +QtGui.QKeySequence.SequenceMatch?10 +QtGui.QKeySequence.SequenceMatch.NoMatch?10 +QtGui.QKeySequence.SequenceMatch.PartialMatch?10 +QtGui.QKeySequence.SequenceMatch.ExactMatch?10 +QtGui.QKeySequence.SequenceFormat?10 +QtGui.QKeySequence.SequenceFormat.NativeText?10 +QtGui.QKeySequence.SequenceFormat.PortableText?10 +QtGui.QKeySequence?1() +QtGui.QKeySequence.__init__?1(self) +QtGui.QKeySequence?1(QKeySequence) +QtGui.QKeySequence.__init__?1(self, QKeySequence) +QtGui.QKeySequence?1(QString, QKeySequence.SequenceFormat format=QKeySequence.NativeText) +QtGui.QKeySequence.__init__?1(self, QString, QKeySequence.SequenceFormat format=QKeySequence.NativeText) +QtGui.QKeySequence?1(int, int key2=0, int key3=0, int key4=0) +QtGui.QKeySequence.__init__?1(self, int, int key2=0, int key3=0, int key4=0) +QtGui.QKeySequence?1(QVariant) +QtGui.QKeySequence.__init__?1(self, QVariant) +QtGui.QKeySequence.count?4() -> int +QtGui.QKeySequence.isEmpty?4() -> bool +QtGui.QKeySequence.matches?4(QKeySequence) -> QKeySequence.SequenceMatch +QtGui.QKeySequence.mnemonic?4(QString) -> QKeySequence +QtGui.QKeySequence.isDetached?4() -> bool +QtGui.QKeySequence.swap?4(QKeySequence) +QtGui.QKeySequence.toString?4(QKeySequence.SequenceFormat format=QKeySequence.PortableText) -> QString +QtGui.QKeySequence.fromString?4(QString, QKeySequence.SequenceFormat format=QKeySequence.PortableText) -> QKeySequence +QtGui.QKeySequence.keyBindings?4(QKeySequence.StandardKey) -> unknown-type +QtGui.QKeySequence.listFromString?4(QString, QKeySequence.SequenceFormat format=QKeySequence.PortableText) -> unknown-type +QtGui.QKeySequence.listToString?4(unknown-type, QKeySequence.SequenceFormat format=QKeySequence.PortableText) -> QString +QtGui.QMatrix4x4?1() +QtGui.QMatrix4x4.__init__?1(self) +QtGui.QMatrix4x4?1(object) +QtGui.QMatrix4x4.__init__?1(self, object) +QtGui.QMatrix4x4?1(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) +QtGui.QMatrix4x4.__init__?1(self, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) +QtGui.QMatrix4x4?1(QTransform) +QtGui.QMatrix4x4.__init__?1(self, QTransform) +QtGui.QMatrix4x4?1(QMatrix4x4) +QtGui.QMatrix4x4.__init__?1(self, QMatrix4x4) +QtGui.QMatrix4x4.determinant?4() -> float +QtGui.QMatrix4x4.inverted?4() -> (QMatrix4x4, bool) +QtGui.QMatrix4x4.transposed?4() -> QMatrix4x4 +QtGui.QMatrix4x4.normalMatrix?4() -> QMatrix3x3 +QtGui.QMatrix4x4.scale?4(QVector3D) +QtGui.QMatrix4x4.scale?4(float, float) +QtGui.QMatrix4x4.scale?4(float, float, float) +QtGui.QMatrix4x4.scale?4(float) +QtGui.QMatrix4x4.translate?4(QVector3D) +QtGui.QMatrix4x4.translate?4(float, float) +QtGui.QMatrix4x4.translate?4(float, float, float) +QtGui.QMatrix4x4.rotate?4(float, QVector3D) +QtGui.QMatrix4x4.rotate?4(float, float, float, float z=0) +QtGui.QMatrix4x4.rotate?4(QQuaternion) +QtGui.QMatrix4x4.ortho?4(QRect) +QtGui.QMatrix4x4.ortho?4(QRectF) +QtGui.QMatrix4x4.ortho?4(float, float, float, float, float, float) +QtGui.QMatrix4x4.frustum?4(float, float, float, float, float, float) +QtGui.QMatrix4x4.perspective?4(float, float, float, float) +QtGui.QMatrix4x4.lookAt?4(QVector3D, QVector3D, QVector3D) +QtGui.QMatrix4x4.copyDataTo?4() -> list +QtGui.QMatrix4x4.toTransform?4() -> QTransform +QtGui.QMatrix4x4.toTransform?4(float) -> QTransform +QtGui.QMatrix4x4.mapRect?4(QRect) -> QRect +QtGui.QMatrix4x4.mapRect?4(QRectF) -> QRectF +QtGui.QMatrix4x4.data?4() -> list +QtGui.QMatrix4x4.optimize?4() +QtGui.QMatrix4x4.column?4(int) -> QVector4D +QtGui.QMatrix4x4.setColumn?4(int, QVector4D) +QtGui.QMatrix4x4.row?4(int) -> QVector4D +QtGui.QMatrix4x4.setRow?4(int, QVector4D) +QtGui.QMatrix4x4.isIdentity?4() -> bool +QtGui.QMatrix4x4.setToIdentity?4() +QtGui.QMatrix4x4.fill?4(float) +QtGui.QMatrix4x4.map?4(QPoint) -> QPoint +QtGui.QMatrix4x4.map?4(QPointF) -> QPointF +QtGui.QMatrix4x4.map?4(QVector3D) -> QVector3D +QtGui.QMatrix4x4.mapVector?4(QVector3D) -> QVector3D +QtGui.QMatrix4x4.map?4(QVector4D) -> QVector4D +QtGui.QMatrix4x4.viewport?4(float, float, float, float, float nearPlane=0, float farPlane=1) +QtGui.QMatrix4x4.viewport?4(QRectF) +QtGui.QMatrix4x4.isAffine?4() -> bool +QtGui.QMovie.CacheMode?10 +QtGui.QMovie.CacheMode.CacheNone?10 +QtGui.QMovie.CacheMode.CacheAll?10 +QtGui.QMovie.MovieState?10 +QtGui.QMovie.MovieState.NotRunning?10 +QtGui.QMovie.MovieState.Paused?10 +QtGui.QMovie.MovieState.Running?10 +QtGui.QMovie?1(QObject parent=None) +QtGui.QMovie.__init__?1(self, QObject parent=None) +QtGui.QMovie?1(QIODevice, QByteArray format=QByteArray(), QObject parent=None) +QtGui.QMovie.__init__?1(self, QIODevice, QByteArray format=QByteArray(), QObject parent=None) +QtGui.QMovie?1(QString, QByteArray format=QByteArray(), QObject parent=None) +QtGui.QMovie.__init__?1(self, QString, QByteArray format=QByteArray(), QObject parent=None) +QtGui.QMovie.supportedFormats?4() -> unknown-type +QtGui.QMovie.setDevice?4(QIODevice) +QtGui.QMovie.device?4() -> QIODevice +QtGui.QMovie.setFileName?4(QString) +QtGui.QMovie.fileName?4() -> QString +QtGui.QMovie.setFormat?4(QByteArray) +QtGui.QMovie.format?4() -> QByteArray +QtGui.QMovie.setBackgroundColor?4(QColor) +QtGui.QMovie.backgroundColor?4() -> QColor +QtGui.QMovie.state?4() -> QMovie.MovieState +QtGui.QMovie.frameRect?4() -> QRect +QtGui.QMovie.currentImage?4() -> QImage +QtGui.QMovie.currentPixmap?4() -> QPixmap +QtGui.QMovie.isValid?4() -> bool +QtGui.QMovie.jumpToFrame?4(int) -> bool +QtGui.QMovie.loopCount?4() -> int +QtGui.QMovie.frameCount?4() -> int +QtGui.QMovie.nextFrameDelay?4() -> int +QtGui.QMovie.currentFrameNumber?4() -> int +QtGui.QMovie.setSpeed?4(int) +QtGui.QMovie.speed?4() -> int +QtGui.QMovie.scaledSize?4() -> QSize +QtGui.QMovie.setScaledSize?4(QSize) +QtGui.QMovie.cacheMode?4() -> QMovie.CacheMode +QtGui.QMovie.setCacheMode?4(QMovie.CacheMode) +QtGui.QMovie.started?4() +QtGui.QMovie.resized?4(QSize) +QtGui.QMovie.updated?4(QRect) +QtGui.QMovie.stateChanged?4(QMovie.MovieState) +QtGui.QMovie.error?4(QImageReader.ImageReaderError) +QtGui.QMovie.finished?4() +QtGui.QMovie.frameChanged?4(int) +QtGui.QMovie.start?4() +QtGui.QMovie.jumpToNextFrame?4() -> bool +QtGui.QMovie.setPaused?4(bool) +QtGui.QMovie.stop?4() +QtGui.QMovie.lastError?4() -> QImageReader.ImageReaderError +QtGui.QMovie.lastErrorString?4() -> QString +QtGui.QSurface.SurfaceType?10 +QtGui.QSurface.SurfaceType.RasterSurface?10 +QtGui.QSurface.SurfaceType.OpenGLSurface?10 +QtGui.QSurface.SurfaceType.RasterGLSurface?10 +QtGui.QSurface.SurfaceType.OpenVGSurface?10 +QtGui.QSurface.SurfaceType.VulkanSurface?10 +QtGui.QSurface.SurfaceType.MetalSurface?10 +QtGui.QSurface.SurfaceClass?10 +QtGui.QSurface.SurfaceClass.Window?10 +QtGui.QSurface.SurfaceClass.Offscreen?10 +QtGui.QSurface?1(QSurface.SurfaceClass) +QtGui.QSurface.__init__?1(self, QSurface.SurfaceClass) +QtGui.QSurface?1(QSurface) +QtGui.QSurface.__init__?1(self, QSurface) +QtGui.QSurface.surfaceClass?4() -> QSurface.SurfaceClass +QtGui.QSurface.format?4() -> QSurfaceFormat +QtGui.QSurface.surfaceType?4() -> QSurface.SurfaceType +QtGui.QSurface.size?4() -> QSize +QtGui.QSurface.supportsOpenGL?4() -> bool +QtGui.QOffscreenSurface?1(QScreen screen=None) +QtGui.QOffscreenSurface.__init__?1(self, QScreen screen=None) +QtGui.QOffscreenSurface?1(QScreen, QObject) +QtGui.QOffscreenSurface.__init__?1(self, QScreen, QObject) +QtGui.QOffscreenSurface.surfaceType?4() -> QSurface.SurfaceType +QtGui.QOffscreenSurface.create?4() +QtGui.QOffscreenSurface.destroy?4() +QtGui.QOffscreenSurface.isValid?4() -> bool +QtGui.QOffscreenSurface.setFormat?4(QSurfaceFormat) +QtGui.QOffscreenSurface.format?4() -> QSurfaceFormat +QtGui.QOffscreenSurface.requestedFormat?4() -> QSurfaceFormat +QtGui.QOffscreenSurface.size?4() -> QSize +QtGui.QOffscreenSurface.screen?4() -> QScreen +QtGui.QOffscreenSurface.setScreen?4(QScreen) +QtGui.QOffscreenSurface.screenChanged?4(QScreen) +QtGui.QOffscreenSurface.nativeHandle?4() -> sip.voidptr +QtGui.QOffscreenSurface.setNativeHandle?4(sip.voidptr) +QtGui.QOpenGLBuffer.RangeAccessFlag?10 +QtGui.QOpenGLBuffer.RangeAccessFlag.RangeRead?10 +QtGui.QOpenGLBuffer.RangeAccessFlag.RangeWrite?10 +QtGui.QOpenGLBuffer.RangeAccessFlag.RangeInvalidate?10 +QtGui.QOpenGLBuffer.RangeAccessFlag.RangeInvalidateBuffer?10 +QtGui.QOpenGLBuffer.RangeAccessFlag.RangeFlushExplicit?10 +QtGui.QOpenGLBuffer.RangeAccessFlag.RangeUnsynchronized?10 +QtGui.QOpenGLBuffer.Access?10 +QtGui.QOpenGLBuffer.Access.ReadOnly?10 +QtGui.QOpenGLBuffer.Access.WriteOnly?10 +QtGui.QOpenGLBuffer.Access.ReadWrite?10 +QtGui.QOpenGLBuffer.UsagePattern?10 +QtGui.QOpenGLBuffer.UsagePattern.StreamDraw?10 +QtGui.QOpenGLBuffer.UsagePattern.StreamRead?10 +QtGui.QOpenGLBuffer.UsagePattern.StreamCopy?10 +QtGui.QOpenGLBuffer.UsagePattern.StaticDraw?10 +QtGui.QOpenGLBuffer.UsagePattern.StaticRead?10 +QtGui.QOpenGLBuffer.UsagePattern.StaticCopy?10 +QtGui.QOpenGLBuffer.UsagePattern.DynamicDraw?10 +QtGui.QOpenGLBuffer.UsagePattern.DynamicRead?10 +QtGui.QOpenGLBuffer.UsagePattern.DynamicCopy?10 +QtGui.QOpenGLBuffer.Type?10 +QtGui.QOpenGLBuffer.Type.VertexBuffer?10 +QtGui.QOpenGLBuffer.Type.IndexBuffer?10 +QtGui.QOpenGLBuffer.Type.PixelPackBuffer?10 +QtGui.QOpenGLBuffer.Type.PixelUnpackBuffer?10 +QtGui.QOpenGLBuffer?1() +QtGui.QOpenGLBuffer.__init__?1(self) +QtGui.QOpenGLBuffer?1(QOpenGLBuffer.Type) +QtGui.QOpenGLBuffer.__init__?1(self, QOpenGLBuffer.Type) +QtGui.QOpenGLBuffer?1(QOpenGLBuffer) +QtGui.QOpenGLBuffer.__init__?1(self, QOpenGLBuffer) +QtGui.QOpenGLBuffer.type?4() -> QOpenGLBuffer.Type +QtGui.QOpenGLBuffer.usagePattern?4() -> QOpenGLBuffer.UsagePattern +QtGui.QOpenGLBuffer.setUsagePattern?4(QOpenGLBuffer.UsagePattern) +QtGui.QOpenGLBuffer.create?4() -> bool +QtGui.QOpenGLBuffer.isCreated?4() -> bool +QtGui.QOpenGLBuffer.destroy?4() +QtGui.QOpenGLBuffer.bind?4() -> bool +QtGui.QOpenGLBuffer.release?4() +QtGui.QOpenGLBuffer.release?4(QOpenGLBuffer.Type) +QtGui.QOpenGLBuffer.bufferId?4() -> int +QtGui.QOpenGLBuffer.size?4() -> int +QtGui.QOpenGLBuffer.read?4(int, sip.voidptr, int) -> bool +QtGui.QOpenGLBuffer.write?4(int, sip.voidptr, int) +QtGui.QOpenGLBuffer.allocate?4(sip.voidptr, int) +QtGui.QOpenGLBuffer.allocate?4(int) +QtGui.QOpenGLBuffer.map?4(QOpenGLBuffer.Access) -> sip.voidptr +QtGui.QOpenGLBuffer.unmap?4() -> bool +QtGui.QOpenGLBuffer.mapRange?4(int, int, QOpenGLBuffer.RangeAccessFlags) -> sip.voidptr +QtGui.QOpenGLBuffer.RangeAccessFlags?1() +QtGui.QOpenGLBuffer.RangeAccessFlags.__init__?1(self) +QtGui.QOpenGLBuffer.RangeAccessFlags?1(int) +QtGui.QOpenGLBuffer.RangeAccessFlags.__init__?1(self, int) +QtGui.QOpenGLBuffer.RangeAccessFlags?1(QOpenGLBuffer.RangeAccessFlags) +QtGui.QOpenGLBuffer.RangeAccessFlags.__init__?1(self, QOpenGLBuffer.RangeAccessFlags) +QtGui.QOpenGLContextGroup.shares?4() -> unknown-type +QtGui.QOpenGLContextGroup.currentContextGroup?4() -> QOpenGLContextGroup +QtGui.QOpenGLContext.OpenGLModuleType?10 +QtGui.QOpenGLContext.OpenGLModuleType.LibGL?10 +QtGui.QOpenGLContext.OpenGLModuleType.LibGLES?10 +QtGui.QOpenGLContext?1(QObject parent=None) +QtGui.QOpenGLContext.__init__?1(self, QObject parent=None) +QtGui.QOpenGLContext.setFormat?4(QSurfaceFormat) +QtGui.QOpenGLContext.setShareContext?4(QOpenGLContext) +QtGui.QOpenGLContext.setScreen?4(QScreen) +QtGui.QOpenGLContext.create?4() -> bool +QtGui.QOpenGLContext.isValid?4() -> bool +QtGui.QOpenGLContext.format?4() -> QSurfaceFormat +QtGui.QOpenGLContext.shareContext?4() -> QOpenGLContext +QtGui.QOpenGLContext.shareGroup?4() -> QOpenGLContextGroup +QtGui.QOpenGLContext.screen?4() -> QScreen +QtGui.QOpenGLContext.defaultFramebufferObject?4() -> int +QtGui.QOpenGLContext.makeCurrent?4(QSurface) -> bool +QtGui.QOpenGLContext.doneCurrent?4() +QtGui.QOpenGLContext.swapBuffers?4(QSurface) +QtGui.QOpenGLContext.getProcAddress?4(QByteArray) -> sip.voidptr +QtGui.QOpenGLContext.surface?4() -> QSurface +QtGui.QOpenGLContext.currentContext?4() -> QOpenGLContext +QtGui.QOpenGLContext.areSharing?4(QOpenGLContext, QOpenGLContext) -> bool +QtGui.QOpenGLContext.extensions?4() -> unknown-type +QtGui.QOpenGLContext.hasExtension?4(QByteArray) -> bool +QtGui.QOpenGLContext.aboutToBeDestroyed?4() +QtGui.QOpenGLContext.versionFunctions?4(QOpenGLVersionProfile versionProfile=None) -> object +QtGui.QOpenGLContext.openGLModuleHandle?4() -> sip.voidptr +QtGui.QOpenGLContext.openGLModuleType?4() -> QOpenGLContext.OpenGLModuleType +QtGui.QOpenGLContext.isOpenGLES?4() -> bool +QtGui.QOpenGLContext.setNativeHandle?4(QVariant) +QtGui.QOpenGLContext.nativeHandle?4() -> QVariant +QtGui.QOpenGLContext.supportsThreadedOpenGL?4() -> bool +QtGui.QOpenGLContext.globalShareContext?4() -> QOpenGLContext +QtGui.QOpenGLVersionProfile?1() +QtGui.QOpenGLVersionProfile.__init__?1(self) +QtGui.QOpenGLVersionProfile?1(QSurfaceFormat) +QtGui.QOpenGLVersionProfile.__init__?1(self, QSurfaceFormat) +QtGui.QOpenGLVersionProfile?1(QOpenGLVersionProfile) +QtGui.QOpenGLVersionProfile.__init__?1(self, QOpenGLVersionProfile) +QtGui.QOpenGLVersionProfile.version?4() -> unknown-type +QtGui.QOpenGLVersionProfile.setVersion?4(int, int) +QtGui.QOpenGLVersionProfile.profile?4() -> QSurfaceFormat.OpenGLContextProfile +QtGui.QOpenGLVersionProfile.setProfile?4(QSurfaceFormat.OpenGLContextProfile) +QtGui.QOpenGLVersionProfile.hasProfiles?4() -> bool +QtGui.QOpenGLVersionProfile.isLegacyVersion?4() -> bool +QtGui.QOpenGLVersionProfile.isValid?4() -> bool +QtGui.QOpenGLDebugMessage.Severity?10 +QtGui.QOpenGLDebugMessage.Severity.InvalidSeverity?10 +QtGui.QOpenGLDebugMessage.Severity.HighSeverity?10 +QtGui.QOpenGLDebugMessage.Severity.MediumSeverity?10 +QtGui.QOpenGLDebugMessage.Severity.LowSeverity?10 +QtGui.QOpenGLDebugMessage.Severity.NotificationSeverity?10 +QtGui.QOpenGLDebugMessage.Severity.AnySeverity?10 +QtGui.QOpenGLDebugMessage.Type?10 +QtGui.QOpenGLDebugMessage.Type.InvalidType?10 +QtGui.QOpenGLDebugMessage.Type.ErrorType?10 +QtGui.QOpenGLDebugMessage.Type.DeprecatedBehaviorType?10 +QtGui.QOpenGLDebugMessage.Type.UndefinedBehaviorType?10 +QtGui.QOpenGLDebugMessage.Type.PortabilityType?10 +QtGui.QOpenGLDebugMessage.Type.PerformanceType?10 +QtGui.QOpenGLDebugMessage.Type.OtherType?10 +QtGui.QOpenGLDebugMessage.Type.MarkerType?10 +QtGui.QOpenGLDebugMessage.Type.GroupPushType?10 +QtGui.QOpenGLDebugMessage.Type.GroupPopType?10 +QtGui.QOpenGLDebugMessage.Type.AnyType?10 +QtGui.QOpenGLDebugMessage.Source?10 +QtGui.QOpenGLDebugMessage.Source.InvalidSource?10 +QtGui.QOpenGLDebugMessage.Source.APISource?10 +QtGui.QOpenGLDebugMessage.Source.WindowSystemSource?10 +QtGui.QOpenGLDebugMessage.Source.ShaderCompilerSource?10 +QtGui.QOpenGLDebugMessage.Source.ThirdPartySource?10 +QtGui.QOpenGLDebugMessage.Source.ApplicationSource?10 +QtGui.QOpenGLDebugMessage.Source.OtherSource?10 +QtGui.QOpenGLDebugMessage.Source.AnySource?10 +QtGui.QOpenGLDebugMessage?1() +QtGui.QOpenGLDebugMessage.__init__?1(self) +QtGui.QOpenGLDebugMessage?1(QOpenGLDebugMessage) +QtGui.QOpenGLDebugMessage.__init__?1(self, QOpenGLDebugMessage) +QtGui.QOpenGLDebugMessage.swap?4(QOpenGLDebugMessage) +QtGui.QOpenGLDebugMessage.source?4() -> QOpenGLDebugMessage.Source +QtGui.QOpenGLDebugMessage.type?4() -> QOpenGLDebugMessage.Type +QtGui.QOpenGLDebugMessage.severity?4() -> QOpenGLDebugMessage.Severity +QtGui.QOpenGLDebugMessage.id?4() -> int +QtGui.QOpenGLDebugMessage.message?4() -> QString +QtGui.QOpenGLDebugMessage.createApplicationMessage?4(QString, int id=0, QOpenGLDebugMessage.Severity severity=QOpenGLDebugMessage.NotificationSeverity, QOpenGLDebugMessage.Type type=QOpenGLDebugMessage.OtherType) -> QOpenGLDebugMessage +QtGui.QOpenGLDebugMessage.createThirdPartyMessage?4(QString, int id=0, QOpenGLDebugMessage.Severity severity=QOpenGLDebugMessage.NotificationSeverity, QOpenGLDebugMessage.Type type=QOpenGLDebugMessage.OtherType) -> QOpenGLDebugMessage +QtGui.QOpenGLDebugMessage.Sources?1() +QtGui.QOpenGLDebugMessage.Sources.__init__?1(self) +QtGui.QOpenGLDebugMessage.Sources?1(int) +QtGui.QOpenGLDebugMessage.Sources.__init__?1(self, int) +QtGui.QOpenGLDebugMessage.Sources?1(QOpenGLDebugMessage.Sources) +QtGui.QOpenGLDebugMessage.Sources.__init__?1(self, QOpenGLDebugMessage.Sources) +QtGui.QOpenGLDebugMessage.Types?1() +QtGui.QOpenGLDebugMessage.Types.__init__?1(self) +QtGui.QOpenGLDebugMessage.Types?1(int) +QtGui.QOpenGLDebugMessage.Types.__init__?1(self, int) +QtGui.QOpenGLDebugMessage.Types?1(QOpenGLDebugMessage.Types) +QtGui.QOpenGLDebugMessage.Types.__init__?1(self, QOpenGLDebugMessage.Types) +QtGui.QOpenGLDebugMessage.Severities?1() +QtGui.QOpenGLDebugMessage.Severities.__init__?1(self) +QtGui.QOpenGLDebugMessage.Severities?1(int) +QtGui.QOpenGLDebugMessage.Severities.__init__?1(self, int) +QtGui.QOpenGLDebugMessage.Severities?1(QOpenGLDebugMessage.Severities) +QtGui.QOpenGLDebugMessage.Severities.__init__?1(self, QOpenGLDebugMessage.Severities) +QtGui.QOpenGLDebugLogger.LoggingMode?10 +QtGui.QOpenGLDebugLogger.LoggingMode.AsynchronousLogging?10 +QtGui.QOpenGLDebugLogger.LoggingMode.SynchronousLogging?10 +QtGui.QOpenGLDebugLogger?1(QObject parent=None) +QtGui.QOpenGLDebugLogger.__init__?1(self, QObject parent=None) +QtGui.QOpenGLDebugLogger.initialize?4() -> bool +QtGui.QOpenGLDebugLogger.isLogging?4() -> bool +QtGui.QOpenGLDebugLogger.loggingMode?4() -> QOpenGLDebugLogger.LoggingMode +QtGui.QOpenGLDebugLogger.maximumMessageLength?4() -> int +QtGui.QOpenGLDebugLogger.pushGroup?4(QString, int id=0, QOpenGLDebugMessage.Source source=QOpenGLDebugMessage.ApplicationSource) +QtGui.QOpenGLDebugLogger.popGroup?4() +QtGui.QOpenGLDebugLogger.enableMessages?4(QOpenGLDebugMessage.Sources sources=QOpenGLDebugMessage.AnySource, QOpenGLDebugMessage.Types types=QOpenGLDebugMessage.AnyType, QOpenGLDebugMessage.Severities severities=QOpenGLDebugMessage.Severity.AnySeverity) +QtGui.QOpenGLDebugLogger.enableMessages?4(unknown-type, QOpenGLDebugMessage.Sources sources=QOpenGLDebugMessage.AnySource, QOpenGLDebugMessage.Types types=QOpenGLDebugMessage.AnyType) +QtGui.QOpenGLDebugLogger.disableMessages?4(QOpenGLDebugMessage.Sources sources=QOpenGLDebugMessage.AnySource, QOpenGLDebugMessage.Types types=QOpenGLDebugMessage.AnyType, QOpenGLDebugMessage.Severities severities=QOpenGLDebugMessage.Severity.AnySeverity) +QtGui.QOpenGLDebugLogger.disableMessages?4(unknown-type, QOpenGLDebugMessage.Sources sources=QOpenGLDebugMessage.AnySource, QOpenGLDebugMessage.Types types=QOpenGLDebugMessage.AnyType) +QtGui.QOpenGLDebugLogger.loggedMessages?4() -> unknown-type +QtGui.QOpenGLDebugLogger.logMessage?4(QOpenGLDebugMessage) +QtGui.QOpenGLDebugLogger.startLogging?4(QOpenGLDebugLogger.LoggingMode loggingMode=QOpenGLDebugLogger.AsynchronousLogging) +QtGui.QOpenGLDebugLogger.stopLogging?4() +QtGui.QOpenGLDebugLogger.messageLogged?4(QOpenGLDebugMessage) +QtGui.QOpenGLFramebufferObject.FramebufferRestorePolicy?10 +QtGui.QOpenGLFramebufferObject.FramebufferRestorePolicy.DontRestoreFramebufferBinding?10 +QtGui.QOpenGLFramebufferObject.FramebufferRestorePolicy.RestoreFramebufferBindingToDefault?10 +QtGui.QOpenGLFramebufferObject.FramebufferRestorePolicy.RestoreFrameBufferBinding?10 +QtGui.QOpenGLFramebufferObject.Attachment?10 +QtGui.QOpenGLFramebufferObject.Attachment.NoAttachment?10 +QtGui.QOpenGLFramebufferObject.Attachment.CombinedDepthStencil?10 +QtGui.QOpenGLFramebufferObject.Attachment.Depth?10 +QtGui.QOpenGLFramebufferObject?1(QSize, int target=GL_TEXTURE_2D) +QtGui.QOpenGLFramebufferObject.__init__?1(self, QSize, int target=GL_TEXTURE_2D) +QtGui.QOpenGLFramebufferObject?1(int, int, int target=GL_TEXTURE_2D) +QtGui.QOpenGLFramebufferObject.__init__?1(self, int, int, int target=GL_TEXTURE_2D) +QtGui.QOpenGLFramebufferObject?1(QSize, QOpenGLFramebufferObject.Attachment, int target=GL_TEXTURE_2D, int internal_format=GL_RGBA8) +QtGui.QOpenGLFramebufferObject.__init__?1(self, QSize, QOpenGLFramebufferObject.Attachment, int target=GL_TEXTURE_2D, int internal_format=GL_RGBA8) +QtGui.QOpenGLFramebufferObject?1(int, int, QOpenGLFramebufferObject.Attachment, int target=GL_TEXTURE_2D, int internal_format=GL_RGBA8) +QtGui.QOpenGLFramebufferObject.__init__?1(self, int, int, QOpenGLFramebufferObject.Attachment, int target=GL_TEXTURE_2D, int internal_format=GL_RGBA8) +QtGui.QOpenGLFramebufferObject?1(QSize, QOpenGLFramebufferObjectFormat) +QtGui.QOpenGLFramebufferObject.__init__?1(self, QSize, QOpenGLFramebufferObjectFormat) +QtGui.QOpenGLFramebufferObject?1(int, int, QOpenGLFramebufferObjectFormat) +QtGui.QOpenGLFramebufferObject.__init__?1(self, int, int, QOpenGLFramebufferObjectFormat) +QtGui.QOpenGLFramebufferObject.format?4() -> QOpenGLFramebufferObjectFormat +QtGui.QOpenGLFramebufferObject.isValid?4() -> bool +QtGui.QOpenGLFramebufferObject.isBound?4() -> bool +QtGui.QOpenGLFramebufferObject.bind?4() -> bool +QtGui.QOpenGLFramebufferObject.release?4() -> bool +QtGui.QOpenGLFramebufferObject.width?4() -> int +QtGui.QOpenGLFramebufferObject.height?4() -> int +QtGui.QOpenGLFramebufferObject.texture?4() -> int +QtGui.QOpenGLFramebufferObject.textures?4() -> unknown-type +QtGui.QOpenGLFramebufferObject.size?4() -> QSize +QtGui.QOpenGLFramebufferObject.toImage?4() -> QImage +QtGui.QOpenGLFramebufferObject.toImage?4(bool) -> QImage +QtGui.QOpenGLFramebufferObject.toImage?4(bool, int) -> QImage +QtGui.QOpenGLFramebufferObject.attachment?4() -> QOpenGLFramebufferObject.Attachment +QtGui.QOpenGLFramebufferObject.setAttachment?4(QOpenGLFramebufferObject.Attachment) +QtGui.QOpenGLFramebufferObject.handle?4() -> int +QtGui.QOpenGLFramebufferObject.bindDefault?4() -> bool +QtGui.QOpenGLFramebufferObject.hasOpenGLFramebufferObjects?4() -> bool +QtGui.QOpenGLFramebufferObject.hasOpenGLFramebufferBlit?4() -> bool +QtGui.QOpenGLFramebufferObject.blitFramebuffer?4(QOpenGLFramebufferObject, QRect, QOpenGLFramebufferObject, QRect, int buffers=GL_COLOR_BUFFER_BIT, int filter=GL_NEAREST) +QtGui.QOpenGLFramebufferObject.blitFramebuffer?4(QOpenGLFramebufferObject, QOpenGLFramebufferObject, int buffers=GL_COLOR_BUFFER_BIT, int filter=GL_NEAREST) +QtGui.QOpenGLFramebufferObject.blitFramebuffer?4(QOpenGLFramebufferObject, QRect, QOpenGLFramebufferObject, QRect, int, int, int, int) +QtGui.QOpenGLFramebufferObject.blitFramebuffer?4(QOpenGLFramebufferObject, QRect, QOpenGLFramebufferObject, QRect, int, int, int, int, QOpenGLFramebufferObject.FramebufferRestorePolicy) +QtGui.QOpenGLFramebufferObject.takeTexture?4() -> int +QtGui.QOpenGLFramebufferObject.takeTexture?4(int) -> int +QtGui.QOpenGLFramebufferObject.addColorAttachment?4(QSize, int internal_format=0) +QtGui.QOpenGLFramebufferObject.addColorAttachment?4(int, int, int internal_format=0) +QtGui.QOpenGLFramebufferObject.sizes?4() -> unknown-type +QtGui.QOpenGLFramebufferObjectFormat?1() +QtGui.QOpenGLFramebufferObjectFormat.__init__?1(self) +QtGui.QOpenGLFramebufferObjectFormat?1(QOpenGLFramebufferObjectFormat) +QtGui.QOpenGLFramebufferObjectFormat.__init__?1(self, QOpenGLFramebufferObjectFormat) +QtGui.QOpenGLFramebufferObjectFormat.setSamples?4(int) +QtGui.QOpenGLFramebufferObjectFormat.samples?4() -> int +QtGui.QOpenGLFramebufferObjectFormat.setMipmap?4(bool) +QtGui.QOpenGLFramebufferObjectFormat.mipmap?4() -> bool +QtGui.QOpenGLFramebufferObjectFormat.setAttachment?4(QOpenGLFramebufferObject.Attachment) +QtGui.QOpenGLFramebufferObjectFormat.attachment?4() -> QOpenGLFramebufferObject.Attachment +QtGui.QOpenGLFramebufferObjectFormat.setTextureTarget?4(int) +QtGui.QOpenGLFramebufferObjectFormat.textureTarget?4() -> int +QtGui.QOpenGLFramebufferObjectFormat.setInternalTextureFormat?4(int) +QtGui.QOpenGLFramebufferObjectFormat.internalTextureFormat?4() -> int +QtGui.QOpenGLPaintDevice?1() +QtGui.QOpenGLPaintDevice.__init__?1(self) +QtGui.QOpenGLPaintDevice?1(QSize) +QtGui.QOpenGLPaintDevice.__init__?1(self, QSize) +QtGui.QOpenGLPaintDevice?1(int, int) +QtGui.QOpenGLPaintDevice.__init__?1(self, int, int) +QtGui.QOpenGLPaintDevice.paintEngine?4() -> QPaintEngine +QtGui.QOpenGLPaintDevice.context?4() -> QOpenGLContext +QtGui.QOpenGLPaintDevice.size?4() -> QSize +QtGui.QOpenGLPaintDevice.setSize?4(QSize) +QtGui.QOpenGLPaintDevice.dotsPerMeterX?4() -> float +QtGui.QOpenGLPaintDevice.dotsPerMeterY?4() -> float +QtGui.QOpenGLPaintDevice.setDotsPerMeterX?4(float) +QtGui.QOpenGLPaintDevice.setDotsPerMeterY?4(float) +QtGui.QOpenGLPaintDevice.setPaintFlipped?4(bool) +QtGui.QOpenGLPaintDevice.paintFlipped?4() -> bool +QtGui.QOpenGLPaintDevice.ensureActiveTarget?4() +QtGui.QOpenGLPaintDevice.setDevicePixelRatio?4(float) +QtGui.QOpenGLPaintDevice.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QOpenGLPixelTransferOptions?1() +QtGui.QOpenGLPixelTransferOptions.__init__?1(self) +QtGui.QOpenGLPixelTransferOptions?1(QOpenGLPixelTransferOptions) +QtGui.QOpenGLPixelTransferOptions.__init__?1(self, QOpenGLPixelTransferOptions) +QtGui.QOpenGLPixelTransferOptions.swap?4(QOpenGLPixelTransferOptions) +QtGui.QOpenGLPixelTransferOptions.setAlignment?4(int) +QtGui.QOpenGLPixelTransferOptions.alignment?4() -> int +QtGui.QOpenGLPixelTransferOptions.setSkipImages?4(int) +QtGui.QOpenGLPixelTransferOptions.skipImages?4() -> int +QtGui.QOpenGLPixelTransferOptions.setSkipRows?4(int) +QtGui.QOpenGLPixelTransferOptions.skipRows?4() -> int +QtGui.QOpenGLPixelTransferOptions.setSkipPixels?4(int) +QtGui.QOpenGLPixelTransferOptions.skipPixels?4() -> int +QtGui.QOpenGLPixelTransferOptions.setImageHeight?4(int) +QtGui.QOpenGLPixelTransferOptions.imageHeight?4() -> int +QtGui.QOpenGLPixelTransferOptions.setRowLength?4(int) +QtGui.QOpenGLPixelTransferOptions.rowLength?4() -> int +QtGui.QOpenGLPixelTransferOptions.setLeastSignificantByteFirst?4(bool) +QtGui.QOpenGLPixelTransferOptions.isLeastSignificantBitFirst?4() -> bool +QtGui.QOpenGLPixelTransferOptions.setSwapBytesEnabled?4(bool) +QtGui.QOpenGLPixelTransferOptions.isSwapBytesEnabled?4() -> bool +QtGui.QOpenGLShader.ShaderTypeBit?10 +QtGui.QOpenGLShader.ShaderTypeBit.Vertex?10 +QtGui.QOpenGLShader.ShaderTypeBit.Fragment?10 +QtGui.QOpenGLShader.ShaderTypeBit.Geometry?10 +QtGui.QOpenGLShader.ShaderTypeBit.TessellationControl?10 +QtGui.QOpenGLShader.ShaderTypeBit.TessellationEvaluation?10 +QtGui.QOpenGLShader.ShaderTypeBit.Compute?10 +QtGui.QOpenGLShader?1(QOpenGLShader.ShaderType, QObject parent=None) +QtGui.QOpenGLShader.__init__?1(self, QOpenGLShader.ShaderType, QObject parent=None) +QtGui.QOpenGLShader.shaderType?4() -> QOpenGLShader.ShaderType +QtGui.QOpenGLShader.compileSourceCode?4(QByteArray) -> bool +QtGui.QOpenGLShader.compileSourceCode?4(QString) -> bool +QtGui.QOpenGLShader.compileSourceFile?4(QString) -> bool +QtGui.QOpenGLShader.sourceCode?4() -> QByteArray +QtGui.QOpenGLShader.isCompiled?4() -> bool +QtGui.QOpenGLShader.log?4() -> QString +QtGui.QOpenGLShader.shaderId?4() -> int +QtGui.QOpenGLShader.hasOpenGLShaders?4(QOpenGLShader.ShaderType, QOpenGLContext context=None) -> bool +QtGui.QOpenGLShader.ShaderType?1() +QtGui.QOpenGLShader.ShaderType.__init__?1(self) +QtGui.QOpenGLShader.ShaderType?1(int) +QtGui.QOpenGLShader.ShaderType.__init__?1(self, int) +QtGui.QOpenGLShader.ShaderType?1(QOpenGLShader.ShaderType) +QtGui.QOpenGLShader.ShaderType.__init__?1(self, QOpenGLShader.ShaderType) +QtGui.QOpenGLShaderProgram?1(QObject parent=None) +QtGui.QOpenGLShaderProgram.__init__?1(self, QObject parent=None) +QtGui.QOpenGLShaderProgram.addShader?4(QOpenGLShader) -> bool +QtGui.QOpenGLShaderProgram.removeShader?4(QOpenGLShader) +QtGui.QOpenGLShaderProgram.shaders?4() -> unknown-type +QtGui.QOpenGLShaderProgram.addShaderFromSourceCode?4(QOpenGLShader.ShaderType, QByteArray) -> bool +QtGui.QOpenGLShaderProgram.addShaderFromSourceCode?4(QOpenGLShader.ShaderType, QString) -> bool +QtGui.QOpenGLShaderProgram.addShaderFromSourceFile?4(QOpenGLShader.ShaderType, QString) -> bool +QtGui.QOpenGLShaderProgram.removeAllShaders?4() +QtGui.QOpenGLShaderProgram.link?4() -> bool +QtGui.QOpenGLShaderProgram.isLinked?4() -> bool +QtGui.QOpenGLShaderProgram.log?4() -> QString +QtGui.QOpenGLShaderProgram.bind?4() -> bool +QtGui.QOpenGLShaderProgram.release?4() +QtGui.QOpenGLShaderProgram.programId?4() -> int +QtGui.QOpenGLShaderProgram.bindAttributeLocation?4(QByteArray, int) +QtGui.QOpenGLShaderProgram.bindAttributeLocation?4(QString, int) +QtGui.QOpenGLShaderProgram.attributeLocation?4(QByteArray) -> int +QtGui.QOpenGLShaderProgram.attributeLocation?4(QString) -> int +QtGui.QOpenGLShaderProgram.setAttributeValue?4(int, float) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(int, float, float) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(int, float, float, float) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(int, float, float, float, float) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(int, QVector2D) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(int, QVector3D) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(int, QVector4D) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(int, QColor) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(str, float) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(str, float, float) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(str, float, float, float) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(str, float, float, float, float) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(str, QVector2D) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(str, QVector3D) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(str, QVector4D) +QtGui.QOpenGLShaderProgram.setAttributeValue?4(str, QColor) +QtGui.QOpenGLShaderProgram.setAttributeArray?4(int, object) +QtGui.QOpenGLShaderProgram.setAttributeArray?4(str, object) +QtGui.QOpenGLShaderProgram.setAttributeBuffer?4(int, int, int, int, int stride=0) +QtGui.QOpenGLShaderProgram.setAttributeBuffer?4(str, int, int, int, int stride=0) +QtGui.QOpenGLShaderProgram.enableAttributeArray?4(int) +QtGui.QOpenGLShaderProgram.enableAttributeArray?4(str) +QtGui.QOpenGLShaderProgram.disableAttributeArray?4(int) +QtGui.QOpenGLShaderProgram.disableAttributeArray?4(str) +QtGui.QOpenGLShaderProgram.uniformLocation?4(QByteArray) -> int +QtGui.QOpenGLShaderProgram.uniformLocation?4(QString) -> int +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, int) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, float) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, float, float) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, float, float, float) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, float, float, float, float) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QVector2D) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QVector3D) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QVector4D) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QColor) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QPoint) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QPointF) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QSize) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QSizeF) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix2x2) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix2x3) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix2x4) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix3x2) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix3x3) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix3x4) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix4x2) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix4x3) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QMatrix4x4) +QtGui.QOpenGLShaderProgram.setUniformValue?4(int, QTransform) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, int) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, float) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, float, float) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, float, float, float) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, float, float, float, float) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QVector2D) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QVector3D) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QVector4D) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QColor) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QPoint) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QPointF) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QSize) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QSizeF) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix2x2) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix2x3) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix2x4) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix3x2) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix3x3) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix3x4) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix4x2) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix4x3) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QMatrix4x4) +QtGui.QOpenGLShaderProgram.setUniformValue?4(str, QTransform) +QtGui.QOpenGLShaderProgram.setUniformValueArray?4(int, object) +QtGui.QOpenGLShaderProgram.setUniformValueArray?4(str, object) +QtGui.QOpenGLShaderProgram.hasOpenGLShaderPrograms?4(QOpenGLContext context=None) -> bool +QtGui.QOpenGLShaderProgram.maxGeometryOutputVertices?4() -> int +QtGui.QOpenGLShaderProgram.setPatchVertexCount?4(int) +QtGui.QOpenGLShaderProgram.patchVertexCount?4() -> int +QtGui.QOpenGLShaderProgram.setDefaultOuterTessellationLevels?4(unknown-type) +QtGui.QOpenGLShaderProgram.defaultOuterTessellationLevels?4() -> unknown-type +QtGui.QOpenGLShaderProgram.setDefaultInnerTessellationLevels?4(unknown-type) +QtGui.QOpenGLShaderProgram.defaultInnerTessellationLevels?4() -> unknown-type +QtGui.QOpenGLShaderProgram.create?4() -> bool +QtGui.QOpenGLShaderProgram.addCacheableShaderFromSourceCode?4(QOpenGLShader.ShaderType, QByteArray) -> bool +QtGui.QOpenGLShaderProgram.addCacheableShaderFromSourceCode?4(QOpenGLShader.ShaderType, QString) -> bool +QtGui.QOpenGLShaderProgram.addCacheableShaderFromSourceFile?4(QOpenGLShader.ShaderType, QString) -> bool +QtGui.QOpenGLTexture.ComparisonMode?10 +QtGui.QOpenGLTexture.ComparisonMode.CompareRefToTexture?10 +QtGui.QOpenGLTexture.ComparisonMode.CompareNone?10 +QtGui.QOpenGLTexture.ComparisonFunction?10 +QtGui.QOpenGLTexture.ComparisonFunction.CompareLessEqual?10 +QtGui.QOpenGLTexture.ComparisonFunction.CompareGreaterEqual?10 +QtGui.QOpenGLTexture.ComparisonFunction.CompareLess?10 +QtGui.QOpenGLTexture.ComparisonFunction.CompareGreater?10 +QtGui.QOpenGLTexture.ComparisonFunction.CompareEqual?10 +QtGui.QOpenGLTexture.ComparisonFunction.CommpareNotEqual?10 +QtGui.QOpenGLTexture.ComparisonFunction.CompareAlways?10 +QtGui.QOpenGLTexture.ComparisonFunction.CompareNever?10 +QtGui.QOpenGLTexture.CoordinateDirection?10 +QtGui.QOpenGLTexture.CoordinateDirection.DirectionS?10 +QtGui.QOpenGLTexture.CoordinateDirection.DirectionT?10 +QtGui.QOpenGLTexture.CoordinateDirection.DirectionR?10 +QtGui.QOpenGLTexture.WrapMode?10 +QtGui.QOpenGLTexture.WrapMode.Repeat?10 +QtGui.QOpenGLTexture.WrapMode.MirroredRepeat?10 +QtGui.QOpenGLTexture.WrapMode.ClampToEdge?10 +QtGui.QOpenGLTexture.WrapMode.ClampToBorder?10 +QtGui.QOpenGLTexture.Filter?10 +QtGui.QOpenGLTexture.Filter.Nearest?10 +QtGui.QOpenGLTexture.Filter.Linear?10 +QtGui.QOpenGLTexture.Filter.NearestMipMapNearest?10 +QtGui.QOpenGLTexture.Filter.NearestMipMapLinear?10 +QtGui.QOpenGLTexture.Filter.LinearMipMapNearest?10 +QtGui.QOpenGLTexture.Filter.LinearMipMapLinear?10 +QtGui.QOpenGLTexture.DepthStencilMode?10 +QtGui.QOpenGLTexture.DepthStencilMode.DepthMode?10 +QtGui.QOpenGLTexture.DepthStencilMode.StencilMode?10 +QtGui.QOpenGLTexture.SwizzleValue?10 +QtGui.QOpenGLTexture.SwizzleValue.RedValue?10 +QtGui.QOpenGLTexture.SwizzleValue.GreenValue?10 +QtGui.QOpenGLTexture.SwizzleValue.BlueValue?10 +QtGui.QOpenGLTexture.SwizzleValue.AlphaValue?10 +QtGui.QOpenGLTexture.SwizzleValue.ZeroValue?10 +QtGui.QOpenGLTexture.SwizzleValue.OneValue?10 +QtGui.QOpenGLTexture.SwizzleComponent?10 +QtGui.QOpenGLTexture.SwizzleComponent.SwizzleRed?10 +QtGui.QOpenGLTexture.SwizzleComponent.SwizzleGreen?10 +QtGui.QOpenGLTexture.SwizzleComponent.SwizzleBlue?10 +QtGui.QOpenGLTexture.SwizzleComponent.SwizzleAlpha?10 +QtGui.QOpenGLTexture.Feature?10 +QtGui.QOpenGLTexture.Feature.ImmutableStorage?10 +QtGui.QOpenGLTexture.Feature.ImmutableMultisampleStorage?10 +QtGui.QOpenGLTexture.Feature.TextureRectangle?10 +QtGui.QOpenGLTexture.Feature.TextureArrays?10 +QtGui.QOpenGLTexture.Feature.Texture3D?10 +QtGui.QOpenGLTexture.Feature.TextureMultisample?10 +QtGui.QOpenGLTexture.Feature.TextureBuffer?10 +QtGui.QOpenGLTexture.Feature.TextureCubeMapArrays?10 +QtGui.QOpenGLTexture.Feature.Swizzle?10 +QtGui.QOpenGLTexture.Feature.StencilTexturing?10 +QtGui.QOpenGLTexture.Feature.AnisotropicFiltering?10 +QtGui.QOpenGLTexture.Feature.NPOTTextures?10 +QtGui.QOpenGLTexture.Feature.NPOTTextureRepeat?10 +QtGui.QOpenGLTexture.Feature.Texture1D?10 +QtGui.QOpenGLTexture.Feature.TextureComparisonOperators?10 +QtGui.QOpenGLTexture.Feature.TextureMipMapLevel?10 +QtGui.QOpenGLTexture.PixelType?10 +QtGui.QOpenGLTexture.PixelType.NoPixelType?10 +QtGui.QOpenGLTexture.PixelType.Int8?10 +QtGui.QOpenGLTexture.PixelType.UInt8?10 +QtGui.QOpenGLTexture.PixelType.Int16?10 +QtGui.QOpenGLTexture.PixelType.UInt16?10 +QtGui.QOpenGLTexture.PixelType.Int32?10 +QtGui.QOpenGLTexture.PixelType.UInt32?10 +QtGui.QOpenGLTexture.PixelType.Float16?10 +QtGui.QOpenGLTexture.PixelType.Float16OES?10 +QtGui.QOpenGLTexture.PixelType.Float32?10 +QtGui.QOpenGLTexture.PixelType.UInt32_RGB9_E5?10 +QtGui.QOpenGLTexture.PixelType.UInt32_RG11B10F?10 +QtGui.QOpenGLTexture.PixelType.UInt8_RG3B2?10 +QtGui.QOpenGLTexture.PixelType.UInt8_RG3B2_Rev?10 +QtGui.QOpenGLTexture.PixelType.UInt16_RGB5A1?10 +QtGui.QOpenGLTexture.PixelType.UInt16_RGB5A1_Rev?10 +QtGui.QOpenGLTexture.PixelType.UInt16_R5G6B5?10 +QtGui.QOpenGLTexture.PixelType.UInt16_R5G6B5_Rev?10 +QtGui.QOpenGLTexture.PixelType.UInt16_RGBA4?10 +QtGui.QOpenGLTexture.PixelType.UInt16_RGBA4_Rev?10 +QtGui.QOpenGLTexture.PixelType.UInt32_RGB10A2?10 +QtGui.QOpenGLTexture.PixelType.UInt32_RGB10A2_Rev?10 +QtGui.QOpenGLTexture.PixelType.UInt32_RGBA8?10 +QtGui.QOpenGLTexture.PixelType.UInt32_RGBA8_Rev?10 +QtGui.QOpenGLTexture.PixelType.UInt32_D24S8?10 +QtGui.QOpenGLTexture.PixelType.Float32_D32_UInt32_S8_X24?10 +QtGui.QOpenGLTexture.PixelFormat?10 +QtGui.QOpenGLTexture.PixelFormat.NoSourceFormat?10 +QtGui.QOpenGLTexture.PixelFormat.Red?10 +QtGui.QOpenGLTexture.PixelFormat.RG?10 +QtGui.QOpenGLTexture.PixelFormat.RGB?10 +QtGui.QOpenGLTexture.PixelFormat.BGR?10 +QtGui.QOpenGLTexture.PixelFormat.RGBA?10 +QtGui.QOpenGLTexture.PixelFormat.BGRA?10 +QtGui.QOpenGLTexture.PixelFormat.Red_Integer?10 +QtGui.QOpenGLTexture.PixelFormat.RG_Integer?10 +QtGui.QOpenGLTexture.PixelFormat.RGB_Integer?10 +QtGui.QOpenGLTexture.PixelFormat.BGR_Integer?10 +QtGui.QOpenGLTexture.PixelFormat.RGBA_Integer?10 +QtGui.QOpenGLTexture.PixelFormat.BGRA_Integer?10 +QtGui.QOpenGLTexture.PixelFormat.Depth?10 +QtGui.QOpenGLTexture.PixelFormat.DepthStencil?10 +QtGui.QOpenGLTexture.PixelFormat.Alpha?10 +QtGui.QOpenGLTexture.PixelFormat.Luminance?10 +QtGui.QOpenGLTexture.PixelFormat.LuminanceAlpha?10 +QtGui.QOpenGLTexture.PixelFormat.Stencil?10 +QtGui.QOpenGLTexture.CubeMapFace?10 +QtGui.QOpenGLTexture.CubeMapFace.CubeMapPositiveX?10 +QtGui.QOpenGLTexture.CubeMapFace.CubeMapNegativeX?10 +QtGui.QOpenGLTexture.CubeMapFace.CubeMapPositiveY?10 +QtGui.QOpenGLTexture.CubeMapFace.CubeMapNegativeY?10 +QtGui.QOpenGLTexture.CubeMapFace.CubeMapPositiveZ?10 +QtGui.QOpenGLTexture.CubeMapFace.CubeMapNegativeZ?10 +QtGui.QOpenGLTexture.TextureFormat?10 +QtGui.QOpenGLTexture.TextureFormat.NoFormat?10 +QtGui.QOpenGLTexture.TextureFormat.R8_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RG8_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGB8_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA8_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.R16_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RG16_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGB16_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA16_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.R8_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RG8_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGB8_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA8_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.R16_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RG16_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGB16_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA16_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.R8U?10 +QtGui.QOpenGLTexture.TextureFormat.RG8U?10 +QtGui.QOpenGLTexture.TextureFormat.RGB8U?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA8U?10 +QtGui.QOpenGLTexture.TextureFormat.R16U?10 +QtGui.QOpenGLTexture.TextureFormat.RG16U?10 +QtGui.QOpenGLTexture.TextureFormat.RGB16U?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA16U?10 +QtGui.QOpenGLTexture.TextureFormat.R32U?10 +QtGui.QOpenGLTexture.TextureFormat.RG32U?10 +QtGui.QOpenGLTexture.TextureFormat.RGB32U?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA32U?10 +QtGui.QOpenGLTexture.TextureFormat.R8I?10 +QtGui.QOpenGLTexture.TextureFormat.RG8I?10 +QtGui.QOpenGLTexture.TextureFormat.RGB8I?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA8I?10 +QtGui.QOpenGLTexture.TextureFormat.R16I?10 +QtGui.QOpenGLTexture.TextureFormat.RG16I?10 +QtGui.QOpenGLTexture.TextureFormat.RGB16I?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA16I?10 +QtGui.QOpenGLTexture.TextureFormat.R32I?10 +QtGui.QOpenGLTexture.TextureFormat.RG32I?10 +QtGui.QOpenGLTexture.TextureFormat.RGB32I?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA32I?10 +QtGui.QOpenGLTexture.TextureFormat.R16F?10 +QtGui.QOpenGLTexture.TextureFormat.RG16F?10 +QtGui.QOpenGLTexture.TextureFormat.RGB16F?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA16F?10 +QtGui.QOpenGLTexture.TextureFormat.R32F?10 +QtGui.QOpenGLTexture.TextureFormat.RG32F?10 +QtGui.QOpenGLTexture.TextureFormat.RGB32F?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA32F?10 +QtGui.QOpenGLTexture.TextureFormat.RGB9E5?10 +QtGui.QOpenGLTexture.TextureFormat.RG11B10F?10 +QtGui.QOpenGLTexture.TextureFormat.RG3B2?10 +QtGui.QOpenGLTexture.TextureFormat.R5G6B5?10 +QtGui.QOpenGLTexture.TextureFormat.RGB5A1?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA4?10 +QtGui.QOpenGLTexture.TextureFormat.RGB10A2?10 +QtGui.QOpenGLTexture.TextureFormat.D16?10 +QtGui.QOpenGLTexture.TextureFormat.D24?10 +QtGui.QOpenGLTexture.TextureFormat.D24S8?10 +QtGui.QOpenGLTexture.TextureFormat.D32?10 +QtGui.QOpenGLTexture.TextureFormat.D32F?10 +QtGui.QOpenGLTexture.TextureFormat.D32FS8X24?10 +QtGui.QOpenGLTexture.TextureFormat.RGB_DXT1?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_DXT1?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_DXT3?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_DXT5?10 +QtGui.QOpenGLTexture.TextureFormat.R_ATI1N_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.R_ATI1N_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RG_ATI2N_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RG_ATI2N_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGB_BP_UNSIGNED_FLOAT?10 +QtGui.QOpenGLTexture.TextureFormat.RGB_BP_SIGNED_FLOAT?10 +QtGui.QOpenGLTexture.TextureFormat.RGB_BP_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB_DXT1?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB_Alpha_DXT1?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB_Alpha_DXT3?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB_Alpha_DXT5?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB_BP_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.DepthFormat?10 +QtGui.QOpenGLTexture.TextureFormat.AlphaFormat?10 +QtGui.QOpenGLTexture.TextureFormat.RGBFormat?10 +QtGui.QOpenGLTexture.TextureFormat.RGBAFormat?10 +QtGui.QOpenGLTexture.TextureFormat.LuminanceFormat?10 +QtGui.QOpenGLTexture.TextureFormat.LuminanceAlphaFormat?10 +QtGui.QOpenGLTexture.TextureFormat.S8?10 +QtGui.QOpenGLTexture.TextureFormat.R11_EAC_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.R11_EAC_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RG11_EAC_UNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RG11_EAC_SNorm?10 +QtGui.QOpenGLTexture.TextureFormat.RGB8_ETC2?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_ETC2?10 +QtGui.QOpenGLTexture.TextureFormat.RGB8_PunchThrough_Alpha1_ETC2?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_PunchThrough_Alpha1_ETC2?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA8_ETC2_EAC?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ETC2_EAC?10 +QtGui.QOpenGLTexture.TextureFormat.RGB8_ETC1?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_4x4?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_5x4?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_5x5?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_6x5?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_6x6?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_8x5?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_8x6?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_8x8?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_10x5?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_10x6?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_10x8?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_10x10?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_12x10?10 +QtGui.QOpenGLTexture.TextureFormat.RGBA_ASTC_12x12?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_4x4?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_5x4?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_5x5?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_6x5?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_6x6?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_8x5?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_8x6?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_8x8?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_10x5?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_10x6?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_10x8?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_10x10?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_12x10?10 +QtGui.QOpenGLTexture.TextureFormat.SRGB8_Alpha8_ASTC_12x12?10 +QtGui.QOpenGLTexture.TextureUnitReset?10 +QtGui.QOpenGLTexture.TextureUnitReset.ResetTextureUnit?10 +QtGui.QOpenGLTexture.TextureUnitReset.DontResetTextureUnit?10 +QtGui.QOpenGLTexture.MipMapGeneration?10 +QtGui.QOpenGLTexture.MipMapGeneration.GenerateMipMaps?10 +QtGui.QOpenGLTexture.MipMapGeneration.DontGenerateMipMaps?10 +QtGui.QOpenGLTexture.BindingTarget?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTarget1D?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTarget1DArray?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTarget2D?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTarget2DArray?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTarget3D?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTargetCubeMap?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTargetCubeMapArray?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTarget2DMultisample?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTarget2DMultisampleArray?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTargetRectangle?10 +QtGui.QOpenGLTexture.BindingTarget.BindingTargetBuffer?10 +QtGui.QOpenGLTexture.Target?10 +QtGui.QOpenGLTexture.Target.Target1D?10 +QtGui.QOpenGLTexture.Target.Target1DArray?10 +QtGui.QOpenGLTexture.Target.Target2D?10 +QtGui.QOpenGLTexture.Target.Target2DArray?10 +QtGui.QOpenGLTexture.Target.Target3D?10 +QtGui.QOpenGLTexture.Target.TargetCubeMap?10 +QtGui.QOpenGLTexture.Target.TargetCubeMapArray?10 +QtGui.QOpenGLTexture.Target.Target2DMultisample?10 +QtGui.QOpenGLTexture.Target.Target2DMultisampleArray?10 +QtGui.QOpenGLTexture.Target.TargetRectangle?10 +QtGui.QOpenGLTexture.Target.TargetBuffer?10 +QtGui.QOpenGLTexture?1(QOpenGLTexture.Target) +QtGui.QOpenGLTexture.__init__?1(self, QOpenGLTexture.Target) +QtGui.QOpenGLTexture?1(QImage, QOpenGLTexture.MipMapGeneration genMipMaps=QOpenGLTexture.GenerateMipMaps) +QtGui.QOpenGLTexture.__init__?1(self, QImage, QOpenGLTexture.MipMapGeneration genMipMaps=QOpenGLTexture.GenerateMipMaps) +QtGui.QOpenGLTexture.create?4() -> bool +QtGui.QOpenGLTexture.destroy?4() +QtGui.QOpenGLTexture.isCreated?4() -> bool +QtGui.QOpenGLTexture.textureId?4() -> int +QtGui.QOpenGLTexture.bind?4() +QtGui.QOpenGLTexture.bind?4(int, QOpenGLTexture.TextureUnitReset reset=QOpenGLTexture.DontResetTextureUnit) +QtGui.QOpenGLTexture.release?4() +QtGui.QOpenGLTexture.release?4(int, QOpenGLTexture.TextureUnitReset reset=QOpenGLTexture.DontResetTextureUnit) +QtGui.QOpenGLTexture.isBound?4() -> bool +QtGui.QOpenGLTexture.isBound?4(int) -> bool +QtGui.QOpenGLTexture.boundTextureId?4(QOpenGLTexture.BindingTarget) -> int +QtGui.QOpenGLTexture.boundTextureId?4(int, QOpenGLTexture.BindingTarget) -> int +QtGui.QOpenGLTexture.setFormat?4(QOpenGLTexture.TextureFormat) +QtGui.QOpenGLTexture.format?4() -> QOpenGLTexture.TextureFormat +QtGui.QOpenGLTexture.setSize?4(int, int height=1, int depth=1) +QtGui.QOpenGLTexture.width?4() -> int +QtGui.QOpenGLTexture.height?4() -> int +QtGui.QOpenGLTexture.depth?4() -> int +QtGui.QOpenGLTexture.setMipLevels?4(int) +QtGui.QOpenGLTexture.mipLevels?4() -> int +QtGui.QOpenGLTexture.maximumMipLevels?4() -> int +QtGui.QOpenGLTexture.setLayers?4(int) +QtGui.QOpenGLTexture.layers?4() -> int +QtGui.QOpenGLTexture.faces?4() -> int +QtGui.QOpenGLTexture.allocateStorage?4() +QtGui.QOpenGLTexture.allocateStorage?4(QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType) +QtGui.QOpenGLTexture.isStorageAllocated?4() -> bool +QtGui.QOpenGLTexture.createTextureView?4(QOpenGLTexture.Target, QOpenGLTexture.TextureFormat, int, int, int, int) -> QOpenGLTexture +QtGui.QOpenGLTexture.isTextureView?4() -> bool +QtGui.QOpenGLTexture.setData?4(int, int, QOpenGLTexture.CubeMapFace, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(int, int, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(int, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(QImage, QOpenGLTexture.MipMapGeneration genMipMaps=QOpenGLTexture.GenerateMipMaps) +QtGui.QOpenGLTexture.setCompressedData?4(int, int, QOpenGLTexture.CubeMapFace, int, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setCompressedData?4(int, int, int, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setCompressedData?4(int, int, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setCompressedData?4(int, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.hasFeature?4(QOpenGLTexture.Feature) -> bool +QtGui.QOpenGLTexture.setMipBaseLevel?4(int) +QtGui.QOpenGLTexture.mipBaseLevel?4() -> int +QtGui.QOpenGLTexture.setMipMaxLevel?4(int) +QtGui.QOpenGLTexture.mipMaxLevel?4() -> int +QtGui.QOpenGLTexture.setMipLevelRange?4(int, int) +QtGui.QOpenGLTexture.mipLevelRange?4() -> unknown-type +QtGui.QOpenGLTexture.setAutoMipMapGenerationEnabled?4(bool) +QtGui.QOpenGLTexture.isAutoMipMapGenerationEnabled?4() -> bool +QtGui.QOpenGLTexture.generateMipMaps?4() +QtGui.QOpenGLTexture.generateMipMaps?4(int, bool resetBaseLevel=True) +QtGui.QOpenGLTexture.setSwizzleMask?4(QOpenGLTexture.SwizzleComponent, QOpenGLTexture.SwizzleValue) +QtGui.QOpenGLTexture.setSwizzleMask?4(QOpenGLTexture.SwizzleValue, QOpenGLTexture.SwizzleValue, QOpenGLTexture.SwizzleValue, QOpenGLTexture.SwizzleValue) +QtGui.QOpenGLTexture.swizzleMask?4(QOpenGLTexture.SwizzleComponent) -> QOpenGLTexture.SwizzleValue +QtGui.QOpenGLTexture.setDepthStencilMode?4(QOpenGLTexture.DepthStencilMode) +QtGui.QOpenGLTexture.depthStencilMode?4() -> QOpenGLTexture.DepthStencilMode +QtGui.QOpenGLTexture.setMinificationFilter?4(QOpenGLTexture.Filter) +QtGui.QOpenGLTexture.minificationFilter?4() -> QOpenGLTexture.Filter +QtGui.QOpenGLTexture.setMagnificationFilter?4(QOpenGLTexture.Filter) +QtGui.QOpenGLTexture.magnificationFilter?4() -> QOpenGLTexture.Filter +QtGui.QOpenGLTexture.setMinMagFilters?4(QOpenGLTexture.Filter, QOpenGLTexture.Filter) +QtGui.QOpenGLTexture.minMagFilters?4() -> unknown-type +QtGui.QOpenGLTexture.setMaximumAnisotropy?4(float) +QtGui.QOpenGLTexture.maximumAnisotropy?4() -> float +QtGui.QOpenGLTexture.setWrapMode?4(QOpenGLTexture.WrapMode) +QtGui.QOpenGLTexture.setWrapMode?4(QOpenGLTexture.CoordinateDirection, QOpenGLTexture.WrapMode) +QtGui.QOpenGLTexture.wrapMode?4(QOpenGLTexture.CoordinateDirection) -> QOpenGLTexture.WrapMode +QtGui.QOpenGLTexture.setBorderColor?4(QColor) +QtGui.QOpenGLTexture.borderColor?4() -> QColor +QtGui.QOpenGLTexture.setMinimumLevelOfDetail?4(float) +QtGui.QOpenGLTexture.minimumLevelOfDetail?4() -> float +QtGui.QOpenGLTexture.setMaximumLevelOfDetail?4(float) +QtGui.QOpenGLTexture.maximumLevelOfDetail?4() -> float +QtGui.QOpenGLTexture.setLevelOfDetailRange?4(float, float) +QtGui.QOpenGLTexture.levelOfDetailRange?4() -> unknown-type +QtGui.QOpenGLTexture.setLevelofDetailBias?4(float) +QtGui.QOpenGLTexture.levelofDetailBias?4() -> float +QtGui.QOpenGLTexture.target?4() -> QOpenGLTexture.Target +QtGui.QOpenGLTexture.setSamples?4(int) +QtGui.QOpenGLTexture.samples?4() -> int +QtGui.QOpenGLTexture.setFixedSamplePositions?4(bool) +QtGui.QOpenGLTexture.isFixedSamplePositions?4() -> bool +QtGui.QOpenGLTexture.setComparisonFunction?4(QOpenGLTexture.ComparisonFunction) +QtGui.QOpenGLTexture.comparisonFunction?4() -> QOpenGLTexture.ComparisonFunction +QtGui.QOpenGLTexture.setComparisonMode?4(QOpenGLTexture.ComparisonMode) +QtGui.QOpenGLTexture.comparisonMode?4() -> QOpenGLTexture.ComparisonMode +QtGui.QOpenGLTexture.setData?4(int, int, int, QOpenGLTexture.CubeMapFace, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setCompressedData?4(int, int, int, QOpenGLTexture.CubeMapFace, int, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(int, int, int, int, int, int, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(int, int, int, int, int, int, int, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(int, int, int, int, int, int, int, int, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(int, int, int, int, int, int, int, int, QOpenGLTexture.CubeMapFace, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.setData?4(int, int, int, int, int, int, int, int, QOpenGLTexture.CubeMapFace, int, QOpenGLTexture.PixelFormat, QOpenGLTexture.PixelType, sip.voidptr, QOpenGLPixelTransferOptions options=None) +QtGui.QOpenGLTexture.Features?1() +QtGui.QOpenGLTexture.Features.__init__?1(self) +QtGui.QOpenGLTexture.Features?1(int) +QtGui.QOpenGLTexture.Features.__init__?1(self, int) +QtGui.QOpenGLTexture.Features?1(QOpenGLTexture.Features) +QtGui.QOpenGLTexture.Features.__init__?1(self, QOpenGLTexture.Features) +QtGui.QOpenGLTextureBlitter.Origin?10 +QtGui.QOpenGLTextureBlitter.Origin.OriginBottomLeft?10 +QtGui.QOpenGLTextureBlitter.Origin.OriginTopLeft?10 +QtGui.QOpenGLTextureBlitter?1() +QtGui.QOpenGLTextureBlitter.__init__?1(self) +QtGui.QOpenGLTextureBlitter.create?4() -> bool +QtGui.QOpenGLTextureBlitter.isCreated?4() -> bool +QtGui.QOpenGLTextureBlitter.destroy?4() +QtGui.QOpenGLTextureBlitter.supportsExternalOESTarget?4() -> bool +QtGui.QOpenGLTextureBlitter.bind?4(int target=GL_TEXTURE_2D) +QtGui.QOpenGLTextureBlitter.release?4() +QtGui.QOpenGLTextureBlitter.setRedBlueSwizzle?4(bool) +QtGui.QOpenGLTextureBlitter.setOpacity?4(float) +QtGui.QOpenGLTextureBlitter.blit?4(int, QMatrix4x4, QOpenGLTextureBlitter.Origin) +QtGui.QOpenGLTextureBlitter.blit?4(int, QMatrix4x4, QMatrix3x3) +QtGui.QOpenGLTextureBlitter.targetTransform?4(QRectF, QRect) -> QMatrix4x4 +QtGui.QOpenGLTextureBlitter.sourceTransform?4(QRectF, QSize, QOpenGLTextureBlitter.Origin) -> QMatrix3x3 +QtGui.QOpenGLTimerQuery?1(QObject parent=None) +QtGui.QOpenGLTimerQuery.__init__?1(self, QObject parent=None) +QtGui.QOpenGLTimerQuery.create?4() -> bool +QtGui.QOpenGLTimerQuery.destroy?4() +QtGui.QOpenGLTimerQuery.isCreated?4() -> bool +QtGui.QOpenGLTimerQuery.objectId?4() -> int +QtGui.QOpenGLTimerQuery.begin?4() +QtGui.QOpenGLTimerQuery.end?4() +QtGui.QOpenGLTimerQuery.waitForTimestamp?4() -> int +QtGui.QOpenGLTimerQuery.recordTimestamp?4() +QtGui.QOpenGLTimerQuery.isResultAvailable?4() -> bool +QtGui.QOpenGLTimerQuery.waitForResult?4() -> int +QtGui.QOpenGLTimeMonitor?1(QObject parent=None) +QtGui.QOpenGLTimeMonitor.__init__?1(self, QObject parent=None) +QtGui.QOpenGLTimeMonitor.setSampleCount?4(int) +QtGui.QOpenGLTimeMonitor.sampleCount?4() -> int +QtGui.QOpenGLTimeMonitor.create?4() -> bool +QtGui.QOpenGLTimeMonitor.destroy?4() +QtGui.QOpenGLTimeMonitor.isCreated?4() -> bool +QtGui.QOpenGLTimeMonitor.objectIds?4() -> unknown-type +QtGui.QOpenGLTimeMonitor.recordSample?4() -> int +QtGui.QOpenGLTimeMonitor.isResultAvailable?4() -> bool +QtGui.QOpenGLTimeMonitor.waitForSamples?4() -> unknown-type +QtGui.QOpenGLTimeMonitor.waitForIntervals?4() -> unknown-type +QtGui.QOpenGLTimeMonitor.reset?4() +QtGui.QOpenGLVertexArrayObject?1(QObject parent=None) +QtGui.QOpenGLVertexArrayObject.__init__?1(self, QObject parent=None) +QtGui.QOpenGLVertexArrayObject.create?4() -> bool +QtGui.QOpenGLVertexArrayObject.destroy?4() +QtGui.QOpenGLVertexArrayObject.isCreated?4() -> bool +QtGui.QOpenGLVertexArrayObject.objectId?4() -> int +QtGui.QOpenGLVertexArrayObject.bind?4() +QtGui.QOpenGLVertexArrayObject.release?4() +QtGui.QOpenGLVertexArrayObject.Binder?1(QOpenGLVertexArrayObject) +QtGui.QOpenGLVertexArrayObject.Binder.__init__?1(self, QOpenGLVertexArrayObject) +QtGui.QOpenGLVertexArrayObject.Binder.release?4() +QtGui.QOpenGLVertexArrayObject.Binder.rebind?4() +QtGui.QOpenGLVertexArrayObject.Binder.__enter__?4() -> object +QtGui.QOpenGLVertexArrayObject.Binder.__exit__?4(object, object, object) +QtGui.QWindow.Visibility?10 +QtGui.QWindow.Visibility.Hidden?10 +QtGui.QWindow.Visibility.AutomaticVisibility?10 +QtGui.QWindow.Visibility.Windowed?10 +QtGui.QWindow.Visibility.Minimized?10 +QtGui.QWindow.Visibility.Maximized?10 +QtGui.QWindow.Visibility.FullScreen?10 +QtGui.QWindow.AncestorMode?10 +QtGui.QWindow.AncestorMode.ExcludeTransients?10 +QtGui.QWindow.AncestorMode.IncludeTransients?10 +QtGui.QWindow?1(QScreen screen=None) +QtGui.QWindow.__init__?1(self, QScreen screen=None) +QtGui.QWindow?1(QWindow) +QtGui.QWindow.__init__?1(self, QWindow) +QtGui.QWindow.setSurfaceType?4(QSurface.SurfaceType) +QtGui.QWindow.surfaceType?4() -> QSurface.SurfaceType +QtGui.QWindow.isVisible?4() -> bool +QtGui.QWindow.create?4() +QtGui.QWindow.winId?4() -> quintptr +QtGui.QWindow.parent?4() -> QWindow +QtGui.QWindow.setParent?4(QWindow) +QtGui.QWindow.isTopLevel?4() -> bool +QtGui.QWindow.isModal?4() -> bool +QtGui.QWindow.modality?4() -> Qt.WindowModality +QtGui.QWindow.setModality?4(Qt.WindowModality) +QtGui.QWindow.setFormat?4(QSurfaceFormat) +QtGui.QWindow.format?4() -> QSurfaceFormat +QtGui.QWindow.requestedFormat?4() -> QSurfaceFormat +QtGui.QWindow.setFlags?4(Qt.WindowFlags) +QtGui.QWindow.flags?4() -> Qt.WindowFlags +QtGui.QWindow.type?4() -> Qt.WindowType +QtGui.QWindow.title?4() -> QString +QtGui.QWindow.setOpacity?4(float) +QtGui.QWindow.requestActivate?4() +QtGui.QWindow.isActive?4() -> bool +QtGui.QWindow.reportContentOrientationChange?4(Qt.ScreenOrientation) +QtGui.QWindow.contentOrientation?4() -> Qt.ScreenOrientation +QtGui.QWindow.devicePixelRatio?4() -> float +QtGui.QWindow.windowState?4() -> Qt.WindowState +QtGui.QWindow.setWindowState?4(Qt.WindowState) +QtGui.QWindow.setTransientParent?4(QWindow) +QtGui.QWindow.transientParent?4() -> QWindow +QtGui.QWindow.isAncestorOf?4(QWindow, QWindow.AncestorMode mode=QWindow.IncludeTransients) -> bool +QtGui.QWindow.isExposed?4() -> bool +QtGui.QWindow.minimumWidth?4() -> int +QtGui.QWindow.minimumHeight?4() -> int +QtGui.QWindow.maximumWidth?4() -> int +QtGui.QWindow.maximumHeight?4() -> int +QtGui.QWindow.minimumSize?4() -> QSize +QtGui.QWindow.maximumSize?4() -> QSize +QtGui.QWindow.baseSize?4() -> QSize +QtGui.QWindow.sizeIncrement?4() -> QSize +QtGui.QWindow.setMinimumSize?4(QSize) +QtGui.QWindow.setMaximumSize?4(QSize) +QtGui.QWindow.setBaseSize?4(QSize) +QtGui.QWindow.setSizeIncrement?4(QSize) +QtGui.QWindow.setGeometry?4(int, int, int, int) +QtGui.QWindow.setGeometry?4(QRect) +QtGui.QWindow.geometry?4() -> QRect +QtGui.QWindow.frameMargins?4() -> QMargins +QtGui.QWindow.frameGeometry?4() -> QRect +QtGui.QWindow.framePosition?4() -> QPoint +QtGui.QWindow.setFramePosition?4(QPoint) +QtGui.QWindow.width?4() -> int +QtGui.QWindow.height?4() -> int +QtGui.QWindow.x?4() -> int +QtGui.QWindow.y?4() -> int +QtGui.QWindow.size?4() -> QSize +QtGui.QWindow.position?4() -> QPoint +QtGui.QWindow.setPosition?4(QPoint) +QtGui.QWindow.setPosition?4(int, int) +QtGui.QWindow.resize?4(QSize) +QtGui.QWindow.resize?4(int, int) +QtGui.QWindow.setFilePath?4(QString) +QtGui.QWindow.filePath?4() -> QString +QtGui.QWindow.setIcon?4(QIcon) +QtGui.QWindow.icon?4() -> QIcon +QtGui.QWindow.destroy?4() +QtGui.QWindow.setKeyboardGrabEnabled?4(bool) -> bool +QtGui.QWindow.setMouseGrabEnabled?4(bool) -> bool +QtGui.QWindow.screen?4() -> QScreen +QtGui.QWindow.setScreen?4(QScreen) +QtGui.QWindow.focusObject?4() -> QObject +QtGui.QWindow.mapToGlobal?4(QPoint) -> QPoint +QtGui.QWindow.mapFromGlobal?4(QPoint) -> QPoint +QtGui.QWindow.cursor?4() -> QCursor +QtGui.QWindow.setCursor?4(QCursor) +QtGui.QWindow.unsetCursor?4() +QtGui.QWindow.setVisible?4(bool) +QtGui.QWindow.show?4() +QtGui.QWindow.hide?4() +QtGui.QWindow.showMinimized?4() +QtGui.QWindow.showMaximized?4() +QtGui.QWindow.showFullScreen?4() +QtGui.QWindow.showNormal?4() +QtGui.QWindow.close?4() -> bool +QtGui.QWindow.raise_?4() +QtGui.QWindow.lower?4() +QtGui.QWindow.setTitle?4(QString) +QtGui.QWindow.setX?4(int) +QtGui.QWindow.setY?4(int) +QtGui.QWindow.setWidth?4(int) +QtGui.QWindow.setHeight?4(int) +QtGui.QWindow.setMinimumWidth?4(int) +QtGui.QWindow.setMinimumHeight?4(int) +QtGui.QWindow.setMaximumWidth?4(int) +QtGui.QWindow.setMaximumHeight?4(int) +QtGui.QWindow.alert?4(int) +QtGui.QWindow.requestUpdate?4() +QtGui.QWindow.screenChanged?4(QScreen) +QtGui.QWindow.modalityChanged?4(Qt.WindowModality) +QtGui.QWindow.windowStateChanged?4(Qt.WindowState) +QtGui.QWindow.xChanged?4(int) +QtGui.QWindow.yChanged?4(int) +QtGui.QWindow.widthChanged?4(int) +QtGui.QWindow.heightChanged?4(int) +QtGui.QWindow.minimumWidthChanged?4(int) +QtGui.QWindow.minimumHeightChanged?4(int) +QtGui.QWindow.maximumWidthChanged?4(int) +QtGui.QWindow.maximumHeightChanged?4(int) +QtGui.QWindow.visibleChanged?4(bool) +QtGui.QWindow.contentOrientationChanged?4(Qt.ScreenOrientation) +QtGui.QWindow.focusObjectChanged?4(QObject) +QtGui.QWindow.windowTitleChanged?4(QString) +QtGui.QWindow.exposeEvent?4(QExposeEvent) +QtGui.QWindow.resizeEvent?4(QResizeEvent) +QtGui.QWindow.moveEvent?4(QMoveEvent) +QtGui.QWindow.focusInEvent?4(QFocusEvent) +QtGui.QWindow.focusOutEvent?4(QFocusEvent) +QtGui.QWindow.showEvent?4(QShowEvent) +QtGui.QWindow.hideEvent?4(QHideEvent) +QtGui.QWindow.event?4(QEvent) -> bool +QtGui.QWindow.keyPressEvent?4(QKeyEvent) +QtGui.QWindow.keyReleaseEvent?4(QKeyEvent) +QtGui.QWindow.mousePressEvent?4(QMouseEvent) +QtGui.QWindow.mouseReleaseEvent?4(QMouseEvent) +QtGui.QWindow.mouseDoubleClickEvent?4(QMouseEvent) +QtGui.QWindow.mouseMoveEvent?4(QMouseEvent) +QtGui.QWindow.wheelEvent?4(QWheelEvent) +QtGui.QWindow.touchEvent?4(QTouchEvent) +QtGui.QWindow.tabletEvent?4(QTabletEvent) +QtGui.QWindow.visibility?4() -> QWindow.Visibility +QtGui.QWindow.setVisibility?4(QWindow.Visibility) +QtGui.QWindow.opacity?4() -> float +QtGui.QWindow.setMask?4(QRegion) +QtGui.QWindow.mask?4() -> QRegion +QtGui.QWindow.fromWinId?4(quintptr) -> QWindow +QtGui.QWindow.visibilityChanged?4(QWindow.Visibility) +QtGui.QWindow.activeChanged?4() +QtGui.QWindow.opacityChanged?4(float) +QtGui.QWindow.parent?4(QWindow.AncestorMode) -> QWindow +QtGui.QWindow.setFlag?4(Qt.WindowType, bool on=True) +QtGui.QWindow.windowStates?4() -> Qt.WindowStates +QtGui.QWindow.setWindowStates?4(Qt.WindowStates) +QtGui.QWindow.startSystemResize?4(Qt.Edges) -> bool +QtGui.QWindow.startSystemMove?4() -> bool +QtGui.QPaintDeviceWindow.update?4(QRect) +QtGui.QPaintDeviceWindow.update?4(QRegion) +QtGui.QPaintDeviceWindow.update?4() +QtGui.QPaintDeviceWindow.paintEvent?4(QPaintEvent) +QtGui.QPaintDeviceWindow.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QPaintDeviceWindow.exposeEvent?4(QExposeEvent) +QtGui.QPaintDeviceWindow.event?4(QEvent) -> bool +QtGui.QOpenGLWindow.UpdateBehavior?10 +QtGui.QOpenGLWindow.UpdateBehavior.NoPartialUpdate?10 +QtGui.QOpenGLWindow.UpdateBehavior.PartialUpdateBlit?10 +QtGui.QOpenGLWindow.UpdateBehavior.PartialUpdateBlend?10 +QtGui.QOpenGLWindow?1(QOpenGLWindow.UpdateBehavior updateBehavior=QOpenGLWindow.NoPartialUpdate, QWindow parent=None) +QtGui.QOpenGLWindow.__init__?1(self, QOpenGLWindow.UpdateBehavior updateBehavior=QOpenGLWindow.NoPartialUpdate, QWindow parent=None) +QtGui.QOpenGLWindow?1(QOpenGLContext, QOpenGLWindow.UpdateBehavior updateBehavior=QOpenGLWindow.NoPartialUpdate, QWindow parent=None) +QtGui.QOpenGLWindow.__init__?1(self, QOpenGLContext, QOpenGLWindow.UpdateBehavior updateBehavior=QOpenGLWindow.NoPartialUpdate, QWindow parent=None) +QtGui.QOpenGLWindow.updateBehavior?4() -> QOpenGLWindow.UpdateBehavior +QtGui.QOpenGLWindow.isValid?4() -> bool +QtGui.QOpenGLWindow.makeCurrent?4() +QtGui.QOpenGLWindow.doneCurrent?4() +QtGui.QOpenGLWindow.context?4() -> QOpenGLContext +QtGui.QOpenGLWindow.defaultFramebufferObject?4() -> int +QtGui.QOpenGLWindow.grabFramebuffer?4() -> QImage +QtGui.QOpenGLWindow.shareContext?4() -> QOpenGLContext +QtGui.QOpenGLWindow.frameSwapped?4() +QtGui.QOpenGLWindow.initializeGL?4() +QtGui.QOpenGLWindow.resizeGL?4(int, int) +QtGui.QOpenGLWindow.paintGL?4() +QtGui.QOpenGLWindow.paintUnderGL?4() +QtGui.QOpenGLWindow.paintOverGL?4() +QtGui.QOpenGLWindow.paintEvent?4(QPaintEvent) +QtGui.QOpenGLWindow.resizeEvent?4(QResizeEvent) +QtGui.QOpenGLWindow.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QPagedPaintDevice.PdfVersion?10 +QtGui.QPagedPaintDevice.PdfVersion.PdfVersion_1_4?10 +QtGui.QPagedPaintDevice.PdfVersion.PdfVersion_A1b?10 +QtGui.QPagedPaintDevice.PdfVersion.PdfVersion_1_6?10 +QtGui.QPagedPaintDevice.PageSize?10 +QtGui.QPagedPaintDevice.PageSize.A4?10 +QtGui.QPagedPaintDevice.PageSize.B5?10 +QtGui.QPagedPaintDevice.PageSize.Letter?10 +QtGui.QPagedPaintDevice.PageSize.Legal?10 +QtGui.QPagedPaintDevice.PageSize.Executive?10 +QtGui.QPagedPaintDevice.PageSize.A0?10 +QtGui.QPagedPaintDevice.PageSize.A1?10 +QtGui.QPagedPaintDevice.PageSize.A2?10 +QtGui.QPagedPaintDevice.PageSize.A3?10 +QtGui.QPagedPaintDevice.PageSize.A5?10 +QtGui.QPagedPaintDevice.PageSize.A6?10 +QtGui.QPagedPaintDevice.PageSize.A7?10 +QtGui.QPagedPaintDevice.PageSize.A8?10 +QtGui.QPagedPaintDevice.PageSize.A9?10 +QtGui.QPagedPaintDevice.PageSize.B0?10 +QtGui.QPagedPaintDevice.PageSize.B1?10 +QtGui.QPagedPaintDevice.PageSize.B10?10 +QtGui.QPagedPaintDevice.PageSize.B2?10 +QtGui.QPagedPaintDevice.PageSize.B3?10 +QtGui.QPagedPaintDevice.PageSize.B4?10 +QtGui.QPagedPaintDevice.PageSize.B6?10 +QtGui.QPagedPaintDevice.PageSize.B7?10 +QtGui.QPagedPaintDevice.PageSize.B8?10 +QtGui.QPagedPaintDevice.PageSize.B9?10 +QtGui.QPagedPaintDevice.PageSize.C5E?10 +QtGui.QPagedPaintDevice.PageSize.Comm10E?10 +QtGui.QPagedPaintDevice.PageSize.DLE?10 +QtGui.QPagedPaintDevice.PageSize.Folio?10 +QtGui.QPagedPaintDevice.PageSize.Ledger?10 +QtGui.QPagedPaintDevice.PageSize.Tabloid?10 +QtGui.QPagedPaintDevice.PageSize.Custom?10 +QtGui.QPagedPaintDevice.PageSize.A10?10 +QtGui.QPagedPaintDevice.PageSize.A3Extra?10 +QtGui.QPagedPaintDevice.PageSize.A4Extra?10 +QtGui.QPagedPaintDevice.PageSize.A4Plus?10 +QtGui.QPagedPaintDevice.PageSize.A4Small?10 +QtGui.QPagedPaintDevice.PageSize.A5Extra?10 +QtGui.QPagedPaintDevice.PageSize.B5Extra?10 +QtGui.QPagedPaintDevice.PageSize.JisB0?10 +QtGui.QPagedPaintDevice.PageSize.JisB1?10 +QtGui.QPagedPaintDevice.PageSize.JisB2?10 +QtGui.QPagedPaintDevice.PageSize.JisB3?10 +QtGui.QPagedPaintDevice.PageSize.JisB4?10 +QtGui.QPagedPaintDevice.PageSize.JisB5?10 +QtGui.QPagedPaintDevice.PageSize.JisB6?10 +QtGui.QPagedPaintDevice.PageSize.JisB7?10 +QtGui.QPagedPaintDevice.PageSize.JisB8?10 +QtGui.QPagedPaintDevice.PageSize.JisB9?10 +QtGui.QPagedPaintDevice.PageSize.JisB10?10 +QtGui.QPagedPaintDevice.PageSize.AnsiC?10 +QtGui.QPagedPaintDevice.PageSize.AnsiD?10 +QtGui.QPagedPaintDevice.PageSize.AnsiE?10 +QtGui.QPagedPaintDevice.PageSize.LegalExtra?10 +QtGui.QPagedPaintDevice.PageSize.LetterExtra?10 +QtGui.QPagedPaintDevice.PageSize.LetterPlus?10 +QtGui.QPagedPaintDevice.PageSize.LetterSmall?10 +QtGui.QPagedPaintDevice.PageSize.TabloidExtra?10 +QtGui.QPagedPaintDevice.PageSize.ArchA?10 +QtGui.QPagedPaintDevice.PageSize.ArchB?10 +QtGui.QPagedPaintDevice.PageSize.ArchC?10 +QtGui.QPagedPaintDevice.PageSize.ArchD?10 +QtGui.QPagedPaintDevice.PageSize.ArchE?10 +QtGui.QPagedPaintDevice.PageSize.Imperial7x9?10 +QtGui.QPagedPaintDevice.PageSize.Imperial8x10?10 +QtGui.QPagedPaintDevice.PageSize.Imperial9x11?10 +QtGui.QPagedPaintDevice.PageSize.Imperial9x12?10 +QtGui.QPagedPaintDevice.PageSize.Imperial10x11?10 +QtGui.QPagedPaintDevice.PageSize.Imperial10x13?10 +QtGui.QPagedPaintDevice.PageSize.Imperial10x14?10 +QtGui.QPagedPaintDevice.PageSize.Imperial12x11?10 +QtGui.QPagedPaintDevice.PageSize.Imperial15x11?10 +QtGui.QPagedPaintDevice.PageSize.ExecutiveStandard?10 +QtGui.QPagedPaintDevice.PageSize.Note?10 +QtGui.QPagedPaintDevice.PageSize.Quarto?10 +QtGui.QPagedPaintDevice.PageSize.Statement?10 +QtGui.QPagedPaintDevice.PageSize.SuperA?10 +QtGui.QPagedPaintDevice.PageSize.SuperB?10 +QtGui.QPagedPaintDevice.PageSize.Postcard?10 +QtGui.QPagedPaintDevice.PageSize.DoublePostcard?10 +QtGui.QPagedPaintDevice.PageSize.Prc16K?10 +QtGui.QPagedPaintDevice.PageSize.Prc32K?10 +QtGui.QPagedPaintDevice.PageSize.Prc32KBig?10 +QtGui.QPagedPaintDevice.PageSize.FanFoldUS?10 +QtGui.QPagedPaintDevice.PageSize.FanFoldGerman?10 +QtGui.QPagedPaintDevice.PageSize.FanFoldGermanLegal?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeB4?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeB5?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeB6?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC0?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC1?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC2?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC3?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC4?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC6?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC65?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC7?10 +QtGui.QPagedPaintDevice.PageSize.Envelope9?10 +QtGui.QPagedPaintDevice.PageSize.Envelope11?10 +QtGui.QPagedPaintDevice.PageSize.Envelope12?10 +QtGui.QPagedPaintDevice.PageSize.Envelope14?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeMonarch?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePersonal?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeChou3?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeChou4?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeInvite?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeItalian?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeKaku2?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeKaku3?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc1?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc2?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc3?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc4?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc5?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc6?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc7?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc8?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc9?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopePrc10?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeYou4?10 +QtGui.QPagedPaintDevice.PageSize.NPaperSize?10 +QtGui.QPagedPaintDevice.PageSize.AnsiA?10 +QtGui.QPagedPaintDevice.PageSize.AnsiB?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeC5?10 +QtGui.QPagedPaintDevice.PageSize.EnvelopeDL?10 +QtGui.QPagedPaintDevice.PageSize.Envelope10?10 +QtGui.QPagedPaintDevice.PageSize.LastPageSize?10 +QtGui.QPagedPaintDevice?1() +QtGui.QPagedPaintDevice.__init__?1(self) +QtGui.QPagedPaintDevice.newPage?4() -> bool +QtGui.QPagedPaintDevice.setPageSize?4(QPagedPaintDevice.PageSize) +QtGui.QPagedPaintDevice.pageSize?4() -> QPagedPaintDevice.PageSize +QtGui.QPagedPaintDevice.setPageSizeMM?4(QSizeF) +QtGui.QPagedPaintDevice.pageSizeMM?4() -> QSizeF +QtGui.QPagedPaintDevice.setMargins?4(QPagedPaintDevice.Margins) +QtGui.QPagedPaintDevice.margins?4() -> QPagedPaintDevice.Margins +QtGui.QPagedPaintDevice.setPageLayout?4(QPageLayout) -> bool +QtGui.QPagedPaintDevice.setPageSize?4(QPageSize) -> bool +QtGui.QPagedPaintDevice.setPageOrientation?4(QPageLayout.Orientation) -> bool +QtGui.QPagedPaintDevice.setPageMargins?4(QMarginsF) -> bool +QtGui.QPagedPaintDevice.setPageMargins?4(QMarginsF, QPageLayout.Unit) -> bool +QtGui.QPagedPaintDevice.pageLayout?4() -> QPageLayout +QtGui.QPagedPaintDevice.Margins.bottom?7 +QtGui.QPagedPaintDevice.Margins.left?7 +QtGui.QPagedPaintDevice.Margins.right?7 +QtGui.QPagedPaintDevice.Margins.top?7 +QtGui.QPagedPaintDevice.Margins?1() +QtGui.QPagedPaintDevice.Margins.__init__?1(self) +QtGui.QPagedPaintDevice.Margins?1(QPagedPaintDevice.Margins) +QtGui.QPagedPaintDevice.Margins.__init__?1(self, QPagedPaintDevice.Margins) +QtGui.QPageLayout.Mode?10 +QtGui.QPageLayout.Mode.StandardMode?10 +QtGui.QPageLayout.Mode.FullPageMode?10 +QtGui.QPageLayout.Orientation?10 +QtGui.QPageLayout.Orientation.Portrait?10 +QtGui.QPageLayout.Orientation.Landscape?10 +QtGui.QPageLayout.Unit?10 +QtGui.QPageLayout.Unit.Millimeter?10 +QtGui.QPageLayout.Unit.Point?10 +QtGui.QPageLayout.Unit.Inch?10 +QtGui.QPageLayout.Unit.Pica?10 +QtGui.QPageLayout.Unit.Didot?10 +QtGui.QPageLayout.Unit.Cicero?10 +QtGui.QPageLayout?1() +QtGui.QPageLayout.__init__?1(self) +QtGui.QPageLayout?1(QPageSize, QPageLayout.Orientation, QMarginsF, QPageLayout.Unit units=QPageLayout.Point, QMarginsF minMargins=QMarginsF(0,0,0,0)) +QtGui.QPageLayout.__init__?1(self, QPageSize, QPageLayout.Orientation, QMarginsF, QPageLayout.Unit units=QPageLayout.Point, QMarginsF minMargins=QMarginsF(0,0,0,0)) +QtGui.QPageLayout?1(QPageLayout) +QtGui.QPageLayout.__init__?1(self, QPageLayout) +QtGui.QPageLayout.swap?4(QPageLayout) +QtGui.QPageLayout.isEquivalentTo?4(QPageLayout) -> bool +QtGui.QPageLayout.isValid?4() -> bool +QtGui.QPageLayout.setMode?4(QPageLayout.Mode) +QtGui.QPageLayout.mode?4() -> QPageLayout.Mode +QtGui.QPageLayout.setPageSize?4(QPageSize, QMarginsF minMargins=QMarginsF(0,0,0,0)) +QtGui.QPageLayout.pageSize?4() -> QPageSize +QtGui.QPageLayout.setOrientation?4(QPageLayout.Orientation) +QtGui.QPageLayout.orientation?4() -> QPageLayout.Orientation +QtGui.QPageLayout.setUnits?4(QPageLayout.Unit) +QtGui.QPageLayout.units?4() -> QPageLayout.Unit +QtGui.QPageLayout.setMargins?4(QMarginsF) -> bool +QtGui.QPageLayout.setLeftMargin?4(float) -> bool +QtGui.QPageLayout.setRightMargin?4(float) -> bool +QtGui.QPageLayout.setTopMargin?4(float) -> bool +QtGui.QPageLayout.setBottomMargin?4(float) -> bool +QtGui.QPageLayout.margins?4() -> QMarginsF +QtGui.QPageLayout.margins?4(QPageLayout.Unit) -> QMarginsF +QtGui.QPageLayout.marginsPoints?4() -> QMargins +QtGui.QPageLayout.marginsPixels?4(int) -> QMargins +QtGui.QPageLayout.setMinimumMargins?4(QMarginsF) +QtGui.QPageLayout.minimumMargins?4() -> QMarginsF +QtGui.QPageLayout.maximumMargins?4() -> QMarginsF +QtGui.QPageLayout.fullRect?4() -> QRectF +QtGui.QPageLayout.fullRect?4(QPageLayout.Unit) -> QRectF +QtGui.QPageLayout.fullRectPoints?4() -> QRect +QtGui.QPageLayout.fullRectPixels?4(int) -> QRect +QtGui.QPageLayout.paintRect?4() -> QRectF +QtGui.QPageLayout.paintRect?4(QPageLayout.Unit) -> QRectF +QtGui.QPageLayout.paintRectPoints?4() -> QRect +QtGui.QPageLayout.paintRectPixels?4(int) -> QRect +QtGui.QPageSize.SizeMatchPolicy?10 +QtGui.QPageSize.SizeMatchPolicy.FuzzyMatch?10 +QtGui.QPageSize.SizeMatchPolicy.FuzzyOrientationMatch?10 +QtGui.QPageSize.SizeMatchPolicy.ExactMatch?10 +QtGui.QPageSize.Unit?10 +QtGui.QPageSize.Unit.Millimeter?10 +QtGui.QPageSize.Unit.Point?10 +QtGui.QPageSize.Unit.Inch?10 +QtGui.QPageSize.Unit.Pica?10 +QtGui.QPageSize.Unit.Didot?10 +QtGui.QPageSize.Unit.Cicero?10 +QtGui.QPageSize.PageSizeId?10 +QtGui.QPageSize.PageSizeId.A4?10 +QtGui.QPageSize.PageSizeId.B5?10 +QtGui.QPageSize.PageSizeId.Letter?10 +QtGui.QPageSize.PageSizeId.Legal?10 +QtGui.QPageSize.PageSizeId.Executive?10 +QtGui.QPageSize.PageSizeId.A0?10 +QtGui.QPageSize.PageSizeId.A1?10 +QtGui.QPageSize.PageSizeId.A2?10 +QtGui.QPageSize.PageSizeId.A3?10 +QtGui.QPageSize.PageSizeId.A5?10 +QtGui.QPageSize.PageSizeId.A6?10 +QtGui.QPageSize.PageSizeId.A7?10 +QtGui.QPageSize.PageSizeId.A8?10 +QtGui.QPageSize.PageSizeId.A9?10 +QtGui.QPageSize.PageSizeId.B0?10 +QtGui.QPageSize.PageSizeId.B1?10 +QtGui.QPageSize.PageSizeId.B10?10 +QtGui.QPageSize.PageSizeId.B2?10 +QtGui.QPageSize.PageSizeId.B3?10 +QtGui.QPageSize.PageSizeId.B4?10 +QtGui.QPageSize.PageSizeId.B6?10 +QtGui.QPageSize.PageSizeId.B7?10 +QtGui.QPageSize.PageSizeId.B8?10 +QtGui.QPageSize.PageSizeId.B9?10 +QtGui.QPageSize.PageSizeId.C5E?10 +QtGui.QPageSize.PageSizeId.Comm10E?10 +QtGui.QPageSize.PageSizeId.DLE?10 +QtGui.QPageSize.PageSizeId.Folio?10 +QtGui.QPageSize.PageSizeId.Ledger?10 +QtGui.QPageSize.PageSizeId.Tabloid?10 +QtGui.QPageSize.PageSizeId.Custom?10 +QtGui.QPageSize.PageSizeId.A10?10 +QtGui.QPageSize.PageSizeId.A3Extra?10 +QtGui.QPageSize.PageSizeId.A4Extra?10 +QtGui.QPageSize.PageSizeId.A4Plus?10 +QtGui.QPageSize.PageSizeId.A4Small?10 +QtGui.QPageSize.PageSizeId.A5Extra?10 +QtGui.QPageSize.PageSizeId.B5Extra?10 +QtGui.QPageSize.PageSizeId.JisB0?10 +QtGui.QPageSize.PageSizeId.JisB1?10 +QtGui.QPageSize.PageSizeId.JisB2?10 +QtGui.QPageSize.PageSizeId.JisB3?10 +QtGui.QPageSize.PageSizeId.JisB4?10 +QtGui.QPageSize.PageSizeId.JisB5?10 +QtGui.QPageSize.PageSizeId.JisB6?10 +QtGui.QPageSize.PageSizeId.JisB7?10 +QtGui.QPageSize.PageSizeId.JisB8?10 +QtGui.QPageSize.PageSizeId.JisB9?10 +QtGui.QPageSize.PageSizeId.JisB10?10 +QtGui.QPageSize.PageSizeId.AnsiC?10 +QtGui.QPageSize.PageSizeId.AnsiD?10 +QtGui.QPageSize.PageSizeId.AnsiE?10 +QtGui.QPageSize.PageSizeId.LegalExtra?10 +QtGui.QPageSize.PageSizeId.LetterExtra?10 +QtGui.QPageSize.PageSizeId.LetterPlus?10 +QtGui.QPageSize.PageSizeId.LetterSmall?10 +QtGui.QPageSize.PageSizeId.TabloidExtra?10 +QtGui.QPageSize.PageSizeId.ArchA?10 +QtGui.QPageSize.PageSizeId.ArchB?10 +QtGui.QPageSize.PageSizeId.ArchC?10 +QtGui.QPageSize.PageSizeId.ArchD?10 +QtGui.QPageSize.PageSizeId.ArchE?10 +QtGui.QPageSize.PageSizeId.Imperial7x9?10 +QtGui.QPageSize.PageSizeId.Imperial8x10?10 +QtGui.QPageSize.PageSizeId.Imperial9x11?10 +QtGui.QPageSize.PageSizeId.Imperial9x12?10 +QtGui.QPageSize.PageSizeId.Imperial10x11?10 +QtGui.QPageSize.PageSizeId.Imperial10x13?10 +QtGui.QPageSize.PageSizeId.Imperial10x14?10 +QtGui.QPageSize.PageSizeId.Imperial12x11?10 +QtGui.QPageSize.PageSizeId.Imperial15x11?10 +QtGui.QPageSize.PageSizeId.ExecutiveStandard?10 +QtGui.QPageSize.PageSizeId.Note?10 +QtGui.QPageSize.PageSizeId.Quarto?10 +QtGui.QPageSize.PageSizeId.Statement?10 +QtGui.QPageSize.PageSizeId.SuperA?10 +QtGui.QPageSize.PageSizeId.SuperB?10 +QtGui.QPageSize.PageSizeId.Postcard?10 +QtGui.QPageSize.PageSizeId.DoublePostcard?10 +QtGui.QPageSize.PageSizeId.Prc16K?10 +QtGui.QPageSize.PageSizeId.Prc32K?10 +QtGui.QPageSize.PageSizeId.Prc32KBig?10 +QtGui.QPageSize.PageSizeId.FanFoldUS?10 +QtGui.QPageSize.PageSizeId.FanFoldGerman?10 +QtGui.QPageSize.PageSizeId.FanFoldGermanLegal?10 +QtGui.QPageSize.PageSizeId.EnvelopeB4?10 +QtGui.QPageSize.PageSizeId.EnvelopeB5?10 +QtGui.QPageSize.PageSizeId.EnvelopeB6?10 +QtGui.QPageSize.PageSizeId.EnvelopeC0?10 +QtGui.QPageSize.PageSizeId.EnvelopeC1?10 +QtGui.QPageSize.PageSizeId.EnvelopeC2?10 +QtGui.QPageSize.PageSizeId.EnvelopeC3?10 +QtGui.QPageSize.PageSizeId.EnvelopeC4?10 +QtGui.QPageSize.PageSizeId.EnvelopeC6?10 +QtGui.QPageSize.PageSizeId.EnvelopeC65?10 +QtGui.QPageSize.PageSizeId.EnvelopeC7?10 +QtGui.QPageSize.PageSizeId.Envelope9?10 +QtGui.QPageSize.PageSizeId.Envelope11?10 +QtGui.QPageSize.PageSizeId.Envelope12?10 +QtGui.QPageSize.PageSizeId.Envelope14?10 +QtGui.QPageSize.PageSizeId.EnvelopeMonarch?10 +QtGui.QPageSize.PageSizeId.EnvelopePersonal?10 +QtGui.QPageSize.PageSizeId.EnvelopeChou3?10 +QtGui.QPageSize.PageSizeId.EnvelopeChou4?10 +QtGui.QPageSize.PageSizeId.EnvelopeInvite?10 +QtGui.QPageSize.PageSizeId.EnvelopeItalian?10 +QtGui.QPageSize.PageSizeId.EnvelopeKaku2?10 +QtGui.QPageSize.PageSizeId.EnvelopeKaku3?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc1?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc2?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc3?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc4?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc5?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc6?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc7?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc8?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc9?10 +QtGui.QPageSize.PageSizeId.EnvelopePrc10?10 +QtGui.QPageSize.PageSizeId.EnvelopeYou4?10 +QtGui.QPageSize.PageSizeId.NPageSize?10 +QtGui.QPageSize.PageSizeId.NPaperSize?10 +QtGui.QPageSize.PageSizeId.AnsiA?10 +QtGui.QPageSize.PageSizeId.AnsiB?10 +QtGui.QPageSize.PageSizeId.EnvelopeC5?10 +QtGui.QPageSize.PageSizeId.EnvelopeDL?10 +QtGui.QPageSize.PageSizeId.Envelope10?10 +QtGui.QPageSize.PageSizeId.LastPageSize?10 +QtGui.QPageSize?1() +QtGui.QPageSize.__init__?1(self) +QtGui.QPageSize?1(QPageSize.PageSizeId) +QtGui.QPageSize.__init__?1(self, QPageSize.PageSizeId) +QtGui.QPageSize?1(QSize, QString name='', QPageSize.SizeMatchPolicy matchPolicy=QPageSize.FuzzyMatch) +QtGui.QPageSize.__init__?1(self, QSize, QString name='', QPageSize.SizeMatchPolicy matchPolicy=QPageSize.FuzzyMatch) +QtGui.QPageSize?1(QSizeF, QPageSize.Unit, QString name='', QPageSize.SizeMatchPolicy matchPolicy=QPageSize.FuzzyMatch) +QtGui.QPageSize.__init__?1(self, QSizeF, QPageSize.Unit, QString name='', QPageSize.SizeMatchPolicy matchPolicy=QPageSize.FuzzyMatch) +QtGui.QPageSize?1(QPageSize) +QtGui.QPageSize.__init__?1(self, QPageSize) +QtGui.QPageSize.swap?4(QPageSize) +QtGui.QPageSize.isEquivalentTo?4(QPageSize) -> bool +QtGui.QPageSize.isValid?4() -> bool +QtGui.QPageSize.key?4() -> QString +QtGui.QPageSize.name?4() -> QString +QtGui.QPageSize.id?4() -> QPageSize.PageSizeId +QtGui.QPageSize.windowsId?4() -> int +QtGui.QPageSize.definitionSize?4() -> QSizeF +QtGui.QPageSize.definitionUnits?4() -> QPageSize.Unit +QtGui.QPageSize.size?4(QPageSize.Unit) -> QSizeF +QtGui.QPageSize.sizePoints?4() -> QSize +QtGui.QPageSize.sizePixels?4(int) -> QSize +QtGui.QPageSize.rect?4(QPageSize.Unit) -> QRectF +QtGui.QPageSize.rectPoints?4() -> QRect +QtGui.QPageSize.rectPixels?4(int) -> QRect +QtGui.QPageSize.key?4(QPageSize.PageSizeId) -> QString +QtGui.QPageSize.name?4(QPageSize.PageSizeId) -> QString +QtGui.QPageSize.id?4(QSize, QPageSize.SizeMatchPolicy matchPolicy=QPageSize.FuzzyMatch) -> QPageSize.PageSizeId +QtGui.QPageSize.id?4(QSizeF, QPageSize.Unit, QPageSize.SizeMatchPolicy matchPolicy=QPageSize.FuzzyMatch) -> QPageSize.PageSizeId +QtGui.QPageSize.id?4(int) -> QPageSize.PageSizeId +QtGui.QPageSize.windowsId?4(QPageSize.PageSizeId) -> int +QtGui.QPageSize.definitionSize?4(QPageSize.PageSizeId) -> QSizeF +QtGui.QPageSize.definitionUnits?4(QPageSize.PageSizeId) -> QPageSize.Unit +QtGui.QPageSize.size?4(QPageSize.PageSizeId, QPageSize.Unit) -> QSizeF +QtGui.QPageSize.sizePoints?4(QPageSize.PageSizeId) -> QSize +QtGui.QPageSize.sizePixels?4(QPageSize.PageSizeId, int) -> QSize +QtGui.QPainter.PixmapFragmentHint?10 +QtGui.QPainter.PixmapFragmentHint.OpaqueHint?10 +QtGui.QPainter.CompositionMode?10 +QtGui.QPainter.CompositionMode.CompositionMode_SourceOver?10 +QtGui.QPainter.CompositionMode.CompositionMode_DestinationOver?10 +QtGui.QPainter.CompositionMode.CompositionMode_Clear?10 +QtGui.QPainter.CompositionMode.CompositionMode_Source?10 +QtGui.QPainter.CompositionMode.CompositionMode_Destination?10 +QtGui.QPainter.CompositionMode.CompositionMode_SourceIn?10 +QtGui.QPainter.CompositionMode.CompositionMode_DestinationIn?10 +QtGui.QPainter.CompositionMode.CompositionMode_SourceOut?10 +QtGui.QPainter.CompositionMode.CompositionMode_DestinationOut?10 +QtGui.QPainter.CompositionMode.CompositionMode_SourceAtop?10 +QtGui.QPainter.CompositionMode.CompositionMode_DestinationAtop?10 +QtGui.QPainter.CompositionMode.CompositionMode_Xor?10 +QtGui.QPainter.CompositionMode.CompositionMode_Plus?10 +QtGui.QPainter.CompositionMode.CompositionMode_Multiply?10 +QtGui.QPainter.CompositionMode.CompositionMode_Screen?10 +QtGui.QPainter.CompositionMode.CompositionMode_Overlay?10 +QtGui.QPainter.CompositionMode.CompositionMode_Darken?10 +QtGui.QPainter.CompositionMode.CompositionMode_Lighten?10 +QtGui.QPainter.CompositionMode.CompositionMode_ColorDodge?10 +QtGui.QPainter.CompositionMode.CompositionMode_ColorBurn?10 +QtGui.QPainter.CompositionMode.CompositionMode_HardLight?10 +QtGui.QPainter.CompositionMode.CompositionMode_SoftLight?10 +QtGui.QPainter.CompositionMode.CompositionMode_Difference?10 +QtGui.QPainter.CompositionMode.CompositionMode_Exclusion?10 +QtGui.QPainter.CompositionMode.RasterOp_SourceOrDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_SourceAndDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_SourceXorDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_NotSourceAndNotDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_NotSourceOrNotDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_NotSourceXorDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_NotSource?10 +QtGui.QPainter.CompositionMode.RasterOp_NotSourceAndDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_SourceAndNotDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_NotSourceOrDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_SourceOrNotDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_ClearDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_SetDestination?10 +QtGui.QPainter.CompositionMode.RasterOp_NotDestination?10 +QtGui.QPainter.RenderHint?10 +QtGui.QPainter.RenderHint.Antialiasing?10 +QtGui.QPainter.RenderHint.TextAntialiasing?10 +QtGui.QPainter.RenderHint.SmoothPixmapTransform?10 +QtGui.QPainter.RenderHint.HighQualityAntialiasing?10 +QtGui.QPainter.RenderHint.NonCosmeticDefaultPen?10 +QtGui.QPainter.RenderHint.Qt4CompatiblePainting?10 +QtGui.QPainter.RenderHint.LosslessImageRendering?10 +QtGui.QPainter?1() +QtGui.QPainter.__init__?1(self) +QtGui.QPainter?1(QPaintDevice) +QtGui.QPainter.__init__?1(self, QPaintDevice) +QtGui.QPainter.__enter__?4() -> object +QtGui.QPainter.__exit__?4(object, object, object) +QtGui.QPainter.device?4() -> QPaintDevice +QtGui.QPainter.begin?4(QPaintDevice) -> bool +QtGui.QPainter.end?4() -> bool +QtGui.QPainter.isActive?4() -> bool +QtGui.QPainter.setCompositionMode?4(QPainter.CompositionMode) +QtGui.QPainter.compositionMode?4() -> QPainter.CompositionMode +QtGui.QPainter.font?4() -> QFont +QtGui.QPainter.setFont?4(QFont) +QtGui.QPainter.fontMetrics?4() -> QFontMetrics +QtGui.QPainter.fontInfo?4() -> QFontInfo +QtGui.QPainter.setPen?4(QColor) +QtGui.QPainter.setPen?4(QPen) +QtGui.QPainter.setPen?4(Qt.PenStyle) +QtGui.QPainter.pen?4() -> QPen +QtGui.QPainter.setBrush?4(QBrush) +QtGui.QPainter.setBrush?4(Qt.BrushStyle) +QtGui.QPainter.brush?4() -> QBrush +QtGui.QPainter.setBackgroundMode?4(Qt.BGMode) +QtGui.QPainter.backgroundMode?4() -> Qt.BGMode +QtGui.QPainter.brushOrigin?4() -> QPoint +QtGui.QPainter.setBrushOrigin?4(QPointF) +QtGui.QPainter.setBackground?4(QBrush) +QtGui.QPainter.background?4() -> QBrush +QtGui.QPainter.clipRegion?4() -> QRegion +QtGui.QPainter.clipPath?4() -> QPainterPath +QtGui.QPainter.setClipRect?4(QRectF, Qt.ClipOperation operation=Qt.ReplaceClip) +QtGui.QPainter.setClipRegion?4(QRegion, Qt.ClipOperation operation=Qt.ReplaceClip) +QtGui.QPainter.setClipPath?4(QPainterPath, Qt.ClipOperation operation=Qt.ReplaceClip) +QtGui.QPainter.setClipping?4(bool) +QtGui.QPainter.hasClipping?4() -> bool +QtGui.QPainter.save?4() +QtGui.QPainter.restore?4() +QtGui.QPainter.scale?4(float, float) +QtGui.QPainter.shear?4(float, float) +QtGui.QPainter.rotate?4(float) +QtGui.QPainter.translate?4(QPointF) +QtGui.QPainter.window?4() -> QRect +QtGui.QPainter.setWindow?4(QRect) +QtGui.QPainter.viewport?4() -> QRect +QtGui.QPainter.setViewport?4(QRect) +QtGui.QPainter.setViewTransformEnabled?4(bool) +QtGui.QPainter.viewTransformEnabled?4() -> bool +QtGui.QPainter.strokePath?4(QPainterPath, QPen) +QtGui.QPainter.fillPath?4(QPainterPath, QBrush) +QtGui.QPainter.drawPath?4(QPainterPath) +QtGui.QPainter.drawPoints?4(QPointF, ...) +QtGui.QPainter.drawPoints?4(QPolygonF) +QtGui.QPainter.drawPoints?4(QPoint, ...) +QtGui.QPainter.drawPoints?4(QPolygon) +QtGui.QPainter.drawLines?4(QLineF, ...) +QtGui.QPainter.drawLines?4(unknown-type) +QtGui.QPainter.drawLines?4(QPointF, ...) +QtGui.QPainter.drawLines?4(unknown-type) +QtGui.QPainter.drawLines?4(QLine, ...) +QtGui.QPainter.drawLines?4(unknown-type) +QtGui.QPainter.drawLines?4(QPoint, ...) +QtGui.QPainter.drawLines?4(unknown-type) +QtGui.QPainter.drawRects?4(QRectF, ...) +QtGui.QPainter.drawRects?4(unknown-type) +QtGui.QPainter.drawRects?4(QRect, ...) +QtGui.QPainter.drawRects?4(unknown-type) +QtGui.QPainter.drawEllipse?4(QRectF) +QtGui.QPainter.drawEllipse?4(QRect) +QtGui.QPainter.drawPolyline?4(QPointF, ...) +QtGui.QPainter.drawPolyline?4(QPolygonF) +QtGui.QPainter.drawPolyline?4(QPoint, ...) +QtGui.QPainter.drawPolyline?4(QPolygon) +QtGui.QPainter.drawPolygon?4(QPointF, ...) +QtGui.QPainter.drawPolygon?4(QPolygonF, Qt.FillRule fillRule=Qt.OddEvenFill) +QtGui.QPainter.drawPolygon?4(QPoint, ...) +QtGui.QPainter.drawPolygon?4(QPolygon, Qt.FillRule fillRule=Qt.OddEvenFill) +QtGui.QPainter.drawConvexPolygon?4(QPointF, ...) +QtGui.QPainter.drawConvexPolygon?4(QPolygonF) +QtGui.QPainter.drawConvexPolygon?4(QPoint, ...) +QtGui.QPainter.drawConvexPolygon?4(QPolygon) +QtGui.QPainter.drawArc?4(QRectF, int, int) +QtGui.QPainter.drawPie?4(QRectF, int, int) +QtGui.QPainter.drawChord?4(QRectF, int, int) +QtGui.QPainter.drawTiledPixmap?4(QRectF, QPixmap, QPointF pos=QPointF()) +QtGui.QPainter.drawPicture?4(QPointF, QPicture) +QtGui.QPainter.drawPixmap?4(QRectF, QPixmap, QRectF) +QtGui.QPainter.setLayoutDirection?4(Qt.LayoutDirection) +QtGui.QPainter.layoutDirection?4() -> Qt.LayoutDirection +QtGui.QPainter.drawText?4(QPointF, QString) +QtGui.QPainter.drawText?4(QRectF, int, QString) -> QRectF +QtGui.QPainter.drawText?4(QRect, int, QString) -> QRect +QtGui.QPainter.drawText?4(QRectF, QString, QTextOption option=QTextOption()) +QtGui.QPainter.boundingRect?4(QRectF, int, QString) -> QRectF +QtGui.QPainter.boundingRect?4(QRect, int, QString) -> QRect +QtGui.QPainter.boundingRect?4(QRectF, QString, QTextOption option=QTextOption()) -> QRectF +QtGui.QPainter.fillRect?4(QRectF, QBrush) +QtGui.QPainter.fillRect?4(QRect, QBrush) +QtGui.QPainter.eraseRect?4(QRectF) +QtGui.QPainter.setRenderHint?4(QPainter.RenderHint, bool on=True) +QtGui.QPainter.renderHints?4() -> QPainter.RenderHints +QtGui.QPainter.setRenderHints?4(QPainter.RenderHints, bool on=True) +QtGui.QPainter.paintEngine?4() -> QPaintEngine +QtGui.QPainter.drawLine?4(QLineF) +QtGui.QPainter.drawLine?4(QLine) +QtGui.QPainter.drawLine?4(int, int, int, int) +QtGui.QPainter.drawLine?4(QPoint, QPoint) +QtGui.QPainter.drawLine?4(QPointF, QPointF) +QtGui.QPainter.drawRect?4(QRectF) +QtGui.QPainter.drawRect?4(int, int, int, int) +QtGui.QPainter.drawRect?4(QRect) +QtGui.QPainter.drawPoint?4(QPointF) +QtGui.QPainter.drawPoint?4(int, int) +QtGui.QPainter.drawPoint?4(QPoint) +QtGui.QPainter.drawEllipse?4(int, int, int, int) +QtGui.QPainter.drawArc?4(QRect, int, int) +QtGui.QPainter.drawArc?4(int, int, int, int, int, int) +QtGui.QPainter.drawPie?4(QRect, int, int) +QtGui.QPainter.drawPie?4(int, int, int, int, int, int) +QtGui.QPainter.drawChord?4(QRect, int, int) +QtGui.QPainter.drawChord?4(int, int, int, int, int, int) +QtGui.QPainter.setClipRect?4(int, int, int, int, Qt.ClipOperation operation=Qt.ReplaceClip) +QtGui.QPainter.setClipRect?4(QRect, Qt.ClipOperation operation=Qt.ReplaceClip) +QtGui.QPainter.eraseRect?4(QRect) +QtGui.QPainter.eraseRect?4(int, int, int, int) +QtGui.QPainter.fillRect?4(int, int, int, int, QBrush) +QtGui.QPainter.setBrushOrigin?4(int, int) +QtGui.QPainter.setBrushOrigin?4(QPoint) +QtGui.QPainter.drawTiledPixmap?4(QRect, QPixmap, QPoint pos=QPoint()) +QtGui.QPainter.drawTiledPixmap?4(int, int, int, int, QPixmap, int sx=0, int sy=0) +QtGui.QPainter.drawPixmap?4(QRect, QPixmap, QRect) +QtGui.QPainter.drawPixmap?4(QPointF, QPixmap) +QtGui.QPainter.drawPixmap?4(QPoint, QPixmap) +QtGui.QPainter.drawPixmap?4(QRect, QPixmap) +QtGui.QPainter.drawPixmap?4(int, int, QPixmap) +QtGui.QPainter.drawPixmap?4(int, int, int, int, QPixmap) +QtGui.QPainter.drawPixmap?4(int, int, int, int, QPixmap, int, int, int, int) +QtGui.QPainter.drawPixmap?4(int, int, QPixmap, int, int, int, int) +QtGui.QPainter.drawPixmap?4(QPointF, QPixmap, QRectF) +QtGui.QPainter.drawPixmap?4(QPoint, QPixmap, QRect) +QtGui.QPainter.drawImage?4(QRectF, QImage) +QtGui.QPainter.drawImage?4(QRect, QImage) +QtGui.QPainter.drawImage?4(QPointF, QImage) +QtGui.QPainter.drawImage?4(QPoint, QImage) +QtGui.QPainter.drawImage?4(int, int, QImage, int sx=0, int sy=0, int sw=-1, int sh=-1, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) +QtGui.QPainter.drawText?4(QPoint, QString) +QtGui.QPainter.drawText?4(int, int, int, int, int, QString) -> QRect +QtGui.QPainter.drawText?4(int, int, QString) +QtGui.QPainter.boundingRect?4(int, int, int, int, int, QString) -> QRect +QtGui.QPainter.opacity?4() -> float +QtGui.QPainter.setOpacity?4(float) +QtGui.QPainter.translate?4(float, float) +QtGui.QPainter.translate?4(QPoint) +QtGui.QPainter.setViewport?4(int, int, int, int) +QtGui.QPainter.setWindow?4(int, int, int, int) +QtGui.QPainter.worldMatrixEnabled?4() -> bool +QtGui.QPainter.setWorldMatrixEnabled?4(bool) +QtGui.QPainter.drawPicture?4(int, int, QPicture) +QtGui.QPainter.drawPicture?4(QPoint, QPicture) +QtGui.QPainter.setTransform?4(QTransform, bool combine=False) +QtGui.QPainter.transform?4() -> QTransform +QtGui.QPainter.deviceTransform?4() -> QTransform +QtGui.QPainter.resetTransform?4() +QtGui.QPainter.setWorldTransform?4(QTransform, bool combine=False) +QtGui.QPainter.worldTransform?4() -> QTransform +QtGui.QPainter.combinedTransform?4() -> QTransform +QtGui.QPainter.testRenderHint?4(QPainter.RenderHint) -> bool +QtGui.QPainter.drawRoundedRect?4(QRectF, float, float, Qt.SizeMode mode=Qt.AbsoluteSize) +QtGui.QPainter.drawRoundedRect?4(int, int, int, int, float, float, Qt.SizeMode mode=Qt.AbsoluteSize) +QtGui.QPainter.drawRoundedRect?4(QRect, float, float, Qt.SizeMode mode=Qt.AbsoluteSize) +QtGui.QPainter.drawEllipse?4(QPointF, float, float) +QtGui.QPainter.drawEllipse?4(QPoint, int, int) +QtGui.QPainter.fillRect?4(QRectF, QColor) +QtGui.QPainter.fillRect?4(QRect, QColor) +QtGui.QPainter.fillRect?4(int, int, int, int, QColor) +QtGui.QPainter.fillRect?4(int, int, int, int, Qt.GlobalColor) +QtGui.QPainter.fillRect?4(QRect, Qt.GlobalColor) +QtGui.QPainter.fillRect?4(QRectF, Qt.GlobalColor) +QtGui.QPainter.fillRect?4(int, int, int, int, Qt.BrushStyle) +QtGui.QPainter.fillRect?4(QRect, Qt.BrushStyle) +QtGui.QPainter.fillRect?4(QRectF, Qt.BrushStyle) +QtGui.QPainter.beginNativePainting?4() +QtGui.QPainter.endNativePainting?4() +QtGui.QPainter.drawPixmapFragments?4(list, QPixmap, QPainter.PixmapFragmentHints hints=0) +QtGui.QPainter.drawStaticText?4(QPointF, QStaticText) +QtGui.QPainter.drawStaticText?4(QPoint, QStaticText) +QtGui.QPainter.drawStaticText?4(int, int, QStaticText) +QtGui.QPainter.clipBoundingRect?4() -> QRectF +QtGui.QPainter.drawGlyphRun?4(QPointF, QGlyphRun) +QtGui.QPainter.fillRect?4(int, int, int, int, QGradient.Preset) +QtGui.QPainter.fillRect?4(QRect, QGradient.Preset) +QtGui.QPainter.fillRect?4(QRectF, QGradient.Preset) +QtGui.QPainter.drawImage?4(QRectF, QImage, QRectF, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) +QtGui.QPainter.drawImage?4(QRect, QImage, QRect, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) +QtGui.QPainter.drawImage?4(QPointF, QImage, QRectF, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) +QtGui.QPainter.drawImage?4(QPoint, QImage, QRect, Qt.ImageConversionFlags flags=Qt.ImageConversionFlag.AutoColor) +QtGui.QPainter.RenderHints?1() +QtGui.QPainter.RenderHints.__init__?1(self) +QtGui.QPainter.RenderHints?1(int) +QtGui.QPainter.RenderHints.__init__?1(self, int) +QtGui.QPainter.RenderHints?1(QPainter.RenderHints) +QtGui.QPainter.RenderHints.__init__?1(self, QPainter.RenderHints) +QtGui.QPainter.PixmapFragment.height?7 +QtGui.QPainter.PixmapFragment.opacity?7 +QtGui.QPainter.PixmapFragment.rotation?7 +QtGui.QPainter.PixmapFragment.scaleX?7 +QtGui.QPainter.PixmapFragment.scaleY?7 +QtGui.QPainter.PixmapFragment.sourceLeft?7 +QtGui.QPainter.PixmapFragment.sourceTop?7 +QtGui.QPainter.PixmapFragment.width?7 +QtGui.QPainter.PixmapFragment.x?7 +QtGui.QPainter.PixmapFragment.y?7 +QtGui.QPainter.PixmapFragment?1() +QtGui.QPainter.PixmapFragment.__init__?1(self) +QtGui.QPainter.PixmapFragment?1(QPainter.PixmapFragment) +QtGui.QPainter.PixmapFragment.__init__?1(self, QPainter.PixmapFragment) +QtGui.QPainter.PixmapFragment.create?4(QPointF, QRectF, float scaleX=1, float scaleY=1, float rotation=0, float opacity=1) -> QPainter.PixmapFragment +QtGui.QPainter.PixmapFragmentHints?1() +QtGui.QPainter.PixmapFragmentHints.__init__?1(self) +QtGui.QPainter.PixmapFragmentHints?1(int) +QtGui.QPainter.PixmapFragmentHints.__init__?1(self, int) +QtGui.QPainter.PixmapFragmentHints?1(QPainter.PixmapFragmentHints) +QtGui.QPainter.PixmapFragmentHints.__init__?1(self, QPainter.PixmapFragmentHints) +QtGui.QTextItem.RenderFlag?10 +QtGui.QTextItem.RenderFlag.RightToLeft?10 +QtGui.QTextItem.RenderFlag.Overline?10 +QtGui.QTextItem.RenderFlag.Underline?10 +QtGui.QTextItem.RenderFlag.StrikeOut?10 +QtGui.QTextItem?1() +QtGui.QTextItem.__init__?1(self) +QtGui.QTextItem?1(QTextItem) +QtGui.QTextItem.__init__?1(self, QTextItem) +QtGui.QTextItem.descent?4() -> float +QtGui.QTextItem.ascent?4() -> float +QtGui.QTextItem.width?4() -> float +QtGui.QTextItem.renderFlags?4() -> QTextItem.RenderFlags +QtGui.QTextItem.text?4() -> QString +QtGui.QTextItem.font?4() -> QFont +QtGui.QTextItem.RenderFlags?1() +QtGui.QTextItem.RenderFlags.__init__?1(self) +QtGui.QTextItem.RenderFlags?1(int) +QtGui.QTextItem.RenderFlags.__init__?1(self, int) +QtGui.QTextItem.RenderFlags?1(QTextItem.RenderFlags) +QtGui.QTextItem.RenderFlags.__init__?1(self, QTextItem.RenderFlags) +QtGui.QPaintEngine.Type?10 +QtGui.QPaintEngine.Type.X11?10 +QtGui.QPaintEngine.Type.Windows?10 +QtGui.QPaintEngine.Type.QuickDraw?10 +QtGui.QPaintEngine.Type.CoreGraphics?10 +QtGui.QPaintEngine.Type.MacPrinter?10 +QtGui.QPaintEngine.Type.QWindowSystem?10 +QtGui.QPaintEngine.Type.PostScript?10 +QtGui.QPaintEngine.Type.OpenGL?10 +QtGui.QPaintEngine.Type.Picture?10 +QtGui.QPaintEngine.Type.SVG?10 +QtGui.QPaintEngine.Type.Raster?10 +QtGui.QPaintEngine.Type.Direct3D?10 +QtGui.QPaintEngine.Type.Pdf?10 +QtGui.QPaintEngine.Type.OpenVG?10 +QtGui.QPaintEngine.Type.OpenGL2?10 +QtGui.QPaintEngine.Type.PaintBuffer?10 +QtGui.QPaintEngine.Type.Blitter?10 +QtGui.QPaintEngine.Type.Direct2D?10 +QtGui.QPaintEngine.Type.User?10 +QtGui.QPaintEngine.Type.MaxUser?10 +QtGui.QPaintEngine.PolygonDrawMode?10 +QtGui.QPaintEngine.PolygonDrawMode.OddEvenMode?10 +QtGui.QPaintEngine.PolygonDrawMode.WindingMode?10 +QtGui.QPaintEngine.PolygonDrawMode.ConvexMode?10 +QtGui.QPaintEngine.PolygonDrawMode.PolylineMode?10 +QtGui.QPaintEngine.DirtyFlag?10 +QtGui.QPaintEngine.DirtyFlag.DirtyPen?10 +QtGui.QPaintEngine.DirtyFlag.DirtyBrush?10 +QtGui.QPaintEngine.DirtyFlag.DirtyBrushOrigin?10 +QtGui.QPaintEngine.DirtyFlag.DirtyFont?10 +QtGui.QPaintEngine.DirtyFlag.DirtyBackground?10 +QtGui.QPaintEngine.DirtyFlag.DirtyBackgroundMode?10 +QtGui.QPaintEngine.DirtyFlag.DirtyTransform?10 +QtGui.QPaintEngine.DirtyFlag.DirtyClipRegion?10 +QtGui.QPaintEngine.DirtyFlag.DirtyClipPath?10 +QtGui.QPaintEngine.DirtyFlag.DirtyHints?10 +QtGui.QPaintEngine.DirtyFlag.DirtyCompositionMode?10 +QtGui.QPaintEngine.DirtyFlag.DirtyClipEnabled?10 +QtGui.QPaintEngine.DirtyFlag.DirtyOpacity?10 +QtGui.QPaintEngine.DirtyFlag.AllDirty?10 +QtGui.QPaintEngine.PaintEngineFeature?10 +QtGui.QPaintEngine.PaintEngineFeature.PrimitiveTransform?10 +QtGui.QPaintEngine.PaintEngineFeature.PatternTransform?10 +QtGui.QPaintEngine.PaintEngineFeature.PixmapTransform?10 +QtGui.QPaintEngine.PaintEngineFeature.PatternBrush?10 +QtGui.QPaintEngine.PaintEngineFeature.LinearGradientFill?10 +QtGui.QPaintEngine.PaintEngineFeature.RadialGradientFill?10 +QtGui.QPaintEngine.PaintEngineFeature.ConicalGradientFill?10 +QtGui.QPaintEngine.PaintEngineFeature.AlphaBlend?10 +QtGui.QPaintEngine.PaintEngineFeature.PorterDuff?10 +QtGui.QPaintEngine.PaintEngineFeature.PainterPaths?10 +QtGui.QPaintEngine.PaintEngineFeature.Antialiasing?10 +QtGui.QPaintEngine.PaintEngineFeature.BrushStroke?10 +QtGui.QPaintEngine.PaintEngineFeature.ConstantOpacity?10 +QtGui.QPaintEngine.PaintEngineFeature.MaskedBrush?10 +QtGui.QPaintEngine.PaintEngineFeature.PaintOutsidePaintEvent?10 +QtGui.QPaintEngine.PaintEngineFeature.PerspectiveTransform?10 +QtGui.QPaintEngine.PaintEngineFeature.BlendModes?10 +QtGui.QPaintEngine.PaintEngineFeature.ObjectBoundingModeGradients?10 +QtGui.QPaintEngine.PaintEngineFeature.RasterOpModes?10 +QtGui.QPaintEngine.PaintEngineFeature.AllFeatures?10 +QtGui.QPaintEngine?1(QPaintEngine.PaintEngineFeatures features=QPaintEngine.PaintEngineFeatures()) +QtGui.QPaintEngine.__init__?1(self, QPaintEngine.PaintEngineFeatures features=QPaintEngine.PaintEngineFeatures()) +QtGui.QPaintEngine.isActive?4() -> bool +QtGui.QPaintEngine.setActive?4(bool) +QtGui.QPaintEngine.begin?4(QPaintDevice) -> bool +QtGui.QPaintEngine.end?4() -> bool +QtGui.QPaintEngine.updateState?4(QPaintEngineState) +QtGui.QPaintEngine.drawRects?4(QRect) +QtGui.QPaintEngine.drawRects?4(QRectF) +QtGui.QPaintEngine.drawLines?4(QLine) +QtGui.QPaintEngine.drawLines?4(QLineF) +QtGui.QPaintEngine.drawEllipse?4(QRectF) +QtGui.QPaintEngine.drawEllipse?4(QRect) +QtGui.QPaintEngine.drawPath?4(QPainterPath) +QtGui.QPaintEngine.drawPoints?4(QPointF) +QtGui.QPaintEngine.drawPoints?4(QPoint) +QtGui.QPaintEngine.drawPolygon?4(QPointF, QPaintEngine.PolygonDrawMode) +QtGui.QPaintEngine.drawPolygon?4(QPoint, QPaintEngine.PolygonDrawMode) +QtGui.QPaintEngine.drawPixmap?4(QRectF, QPixmap, QRectF) +QtGui.QPaintEngine.drawTextItem?4(QPointF, QTextItem) +QtGui.QPaintEngine.drawTiledPixmap?4(QRectF, QPixmap, QPointF) +QtGui.QPaintEngine.drawImage?4(QRectF, QImage, QRectF, Qt.ImageConversionFlags flags=Qt.AutoColor) +QtGui.QPaintEngine.setPaintDevice?4(QPaintDevice) +QtGui.QPaintEngine.paintDevice?4() -> QPaintDevice +QtGui.QPaintEngine.type?4() -> QPaintEngine.Type +QtGui.QPaintEngine.painter?4() -> QPainter +QtGui.QPaintEngine.hasFeature?4(QPaintEngine.PaintEngineFeatures) -> bool +QtGui.QPaintEngine.PaintEngineFeatures?1() +QtGui.QPaintEngine.PaintEngineFeatures.__init__?1(self) +QtGui.QPaintEngine.PaintEngineFeatures?1(int) +QtGui.QPaintEngine.PaintEngineFeatures.__init__?1(self, int) +QtGui.QPaintEngine.PaintEngineFeatures?1(QPaintEngine.PaintEngineFeatures) +QtGui.QPaintEngine.PaintEngineFeatures.__init__?1(self, QPaintEngine.PaintEngineFeatures) +QtGui.QPaintEngine.DirtyFlags?1() +QtGui.QPaintEngine.DirtyFlags.__init__?1(self) +QtGui.QPaintEngine.DirtyFlags?1(int) +QtGui.QPaintEngine.DirtyFlags.__init__?1(self, int) +QtGui.QPaintEngine.DirtyFlags?1(QPaintEngine.DirtyFlags) +QtGui.QPaintEngine.DirtyFlags.__init__?1(self, QPaintEngine.DirtyFlags) +QtGui.QPaintEngineState?1() +QtGui.QPaintEngineState.__init__?1(self) +QtGui.QPaintEngineState?1(QPaintEngineState) +QtGui.QPaintEngineState.__init__?1(self, QPaintEngineState) +QtGui.QPaintEngineState.state?4() -> QPaintEngine.DirtyFlags +QtGui.QPaintEngineState.pen?4() -> QPen +QtGui.QPaintEngineState.brush?4() -> QBrush +QtGui.QPaintEngineState.brushOrigin?4() -> QPointF +QtGui.QPaintEngineState.backgroundBrush?4() -> QBrush +QtGui.QPaintEngineState.backgroundMode?4() -> Qt.BGMode +QtGui.QPaintEngineState.font?4() -> QFont +QtGui.QPaintEngineState.opacity?4() -> float +QtGui.QPaintEngineState.clipOperation?4() -> Qt.ClipOperation +QtGui.QPaintEngineState.clipRegion?4() -> QRegion +QtGui.QPaintEngineState.clipPath?4() -> QPainterPath +QtGui.QPaintEngineState.isClipEnabled?4() -> bool +QtGui.QPaintEngineState.renderHints?4() -> QPainter.RenderHints +QtGui.QPaintEngineState.compositionMode?4() -> QPainter.CompositionMode +QtGui.QPaintEngineState.painter?4() -> QPainter +QtGui.QPaintEngineState.transform?4() -> QTransform +QtGui.QPaintEngineState.brushNeedsResolving?4() -> bool +QtGui.QPaintEngineState.penNeedsResolving?4() -> bool +QtGui.QPainterPath.ElementType?10 +QtGui.QPainterPath.ElementType.MoveToElement?10 +QtGui.QPainterPath.ElementType.LineToElement?10 +QtGui.QPainterPath.ElementType.CurveToElement?10 +QtGui.QPainterPath.ElementType.CurveToDataElement?10 +QtGui.QPainterPath?1() +QtGui.QPainterPath.__init__?1(self) +QtGui.QPainterPath?1(QPointF) +QtGui.QPainterPath.__init__?1(self, QPointF) +QtGui.QPainterPath?1(QPainterPath) +QtGui.QPainterPath.__init__?1(self, QPainterPath) +QtGui.QPainterPath.closeSubpath?4() +QtGui.QPainterPath.moveTo?4(QPointF) +QtGui.QPainterPath.lineTo?4(QPointF) +QtGui.QPainterPath.arcTo?4(QRectF, float, float) +QtGui.QPainterPath.cubicTo?4(QPointF, QPointF, QPointF) +QtGui.QPainterPath.quadTo?4(QPointF, QPointF) +QtGui.QPainterPath.currentPosition?4() -> QPointF +QtGui.QPainterPath.addRect?4(QRectF) +QtGui.QPainterPath.addEllipse?4(QRectF) +QtGui.QPainterPath.addPolygon?4(QPolygonF) +QtGui.QPainterPath.addText?4(QPointF, QFont, QString) +QtGui.QPainterPath.addPath?4(QPainterPath) +QtGui.QPainterPath.addRegion?4(QRegion) +QtGui.QPainterPath.connectPath?4(QPainterPath) +QtGui.QPainterPath.contains?4(QPointF) -> bool +QtGui.QPainterPath.contains?4(QRectF) -> bool +QtGui.QPainterPath.intersects?4(QRectF) -> bool +QtGui.QPainterPath.boundingRect?4() -> QRectF +QtGui.QPainterPath.controlPointRect?4() -> QRectF +QtGui.QPainterPath.fillRule?4() -> Qt.FillRule +QtGui.QPainterPath.setFillRule?4(Qt.FillRule) +QtGui.QPainterPath.toReversed?4() -> QPainterPath +QtGui.QPainterPath.toSubpathPolygons?4() -> unknown-type +QtGui.QPainterPath.toFillPolygons?4() -> unknown-type +QtGui.QPainterPath.toFillPolygon?4() -> QPolygonF +QtGui.QPainterPath.moveTo?4(float, float) +QtGui.QPainterPath.arcMoveTo?4(QRectF, float) +QtGui.QPainterPath.arcMoveTo?4(float, float, float, float, float) +QtGui.QPainterPath.arcTo?4(float, float, float, float, float, float) +QtGui.QPainterPath.lineTo?4(float, float) +QtGui.QPainterPath.cubicTo?4(float, float, float, float, float, float) +QtGui.QPainterPath.quadTo?4(float, float, float, float) +QtGui.QPainterPath.addEllipse?4(float, float, float, float) +QtGui.QPainterPath.addRect?4(float, float, float, float) +QtGui.QPainterPath.addText?4(float, float, QFont, QString) +QtGui.QPainterPath.isEmpty?4() -> bool +QtGui.QPainterPath.elementCount?4() -> int +QtGui.QPainterPath.elementAt?4(int) -> QPainterPath.Element +QtGui.QPainterPath.setElementPositionAt?4(int, float, float) +QtGui.QPainterPath.toSubpathPolygons?4(QTransform) -> unknown-type +QtGui.QPainterPath.toFillPolygons?4(QTransform) -> unknown-type +QtGui.QPainterPath.toFillPolygon?4(QTransform) -> QPolygonF +QtGui.QPainterPath.length?4() -> float +QtGui.QPainterPath.percentAtLength?4(float) -> float +QtGui.QPainterPath.pointAtPercent?4(float) -> QPointF +QtGui.QPainterPath.angleAtPercent?4(float) -> float +QtGui.QPainterPath.slopeAtPercent?4(float) -> float +QtGui.QPainterPath.intersects?4(QPainterPath) -> bool +QtGui.QPainterPath.contains?4(QPainterPath) -> bool +QtGui.QPainterPath.united?4(QPainterPath) -> QPainterPath +QtGui.QPainterPath.intersected?4(QPainterPath) -> QPainterPath +QtGui.QPainterPath.subtracted?4(QPainterPath) -> QPainterPath +QtGui.QPainterPath.addRoundedRect?4(QRectF, float, float, Qt.SizeMode mode=Qt.AbsoluteSize) +QtGui.QPainterPath.addRoundedRect?4(float, float, float, float, float, float, Qt.SizeMode mode=Qt.AbsoluteSize) +QtGui.QPainterPath.addEllipse?4(QPointF, float, float) +QtGui.QPainterPath.simplified?4() -> QPainterPath +QtGui.QPainterPath.translate?4(float, float) +QtGui.QPainterPath.translated?4(float, float) -> QPainterPath +QtGui.QPainterPath.translate?4(QPointF) +QtGui.QPainterPath.translated?4(QPointF) -> QPainterPath +QtGui.QPainterPath.swap?4(QPainterPath) +QtGui.QPainterPath.clear?4() +QtGui.QPainterPath.reserve?4(int) +QtGui.QPainterPath.capacity?4() -> int +QtGui.QPainterPath.Element.type?7 +QtGui.QPainterPath.Element.x?7 +QtGui.QPainterPath.Element.y?7 +QtGui.QPainterPath.Element?1() +QtGui.QPainterPath.Element.__init__?1(self) +QtGui.QPainterPath.Element?1(QPainterPath.Element) +QtGui.QPainterPath.Element.__init__?1(self, QPainterPath.Element) +QtGui.QPainterPath.Element.isMoveTo?4() -> bool +QtGui.QPainterPath.Element.isLineTo?4() -> bool +QtGui.QPainterPath.Element.isCurveTo?4() -> bool +QtGui.QPainterPathStroker?1() +QtGui.QPainterPathStroker.__init__?1(self) +QtGui.QPainterPathStroker?1(QPen) +QtGui.QPainterPathStroker.__init__?1(self, QPen) +QtGui.QPainterPathStroker.setWidth?4(float) +QtGui.QPainterPathStroker.width?4() -> float +QtGui.QPainterPathStroker.setCapStyle?4(Qt.PenCapStyle) +QtGui.QPainterPathStroker.capStyle?4() -> Qt.PenCapStyle +QtGui.QPainterPathStroker.setJoinStyle?4(Qt.PenJoinStyle) +QtGui.QPainterPathStroker.joinStyle?4() -> Qt.PenJoinStyle +QtGui.QPainterPathStroker.setMiterLimit?4(float) +QtGui.QPainterPathStroker.miterLimit?4() -> float +QtGui.QPainterPathStroker.setCurveThreshold?4(float) +QtGui.QPainterPathStroker.curveThreshold?4() -> float +QtGui.QPainterPathStroker.setDashPattern?4(Qt.PenStyle) +QtGui.QPainterPathStroker.setDashPattern?4(unknown-type) +QtGui.QPainterPathStroker.dashPattern?4() -> unknown-type +QtGui.QPainterPathStroker.createStroke?4(QPainterPath) -> QPainterPath +QtGui.QPainterPathStroker.setDashOffset?4(float) +QtGui.QPainterPathStroker.dashOffset?4() -> float +QtGui.QPalette.ColorRole?10 +QtGui.QPalette.ColorRole.WindowText?10 +QtGui.QPalette.ColorRole.Foreground?10 +QtGui.QPalette.ColorRole.Button?10 +QtGui.QPalette.ColorRole.Light?10 +QtGui.QPalette.ColorRole.Midlight?10 +QtGui.QPalette.ColorRole.Dark?10 +QtGui.QPalette.ColorRole.Mid?10 +QtGui.QPalette.ColorRole.Text?10 +QtGui.QPalette.ColorRole.BrightText?10 +QtGui.QPalette.ColorRole.ButtonText?10 +QtGui.QPalette.ColorRole.Base?10 +QtGui.QPalette.ColorRole.Window?10 +QtGui.QPalette.ColorRole.Background?10 +QtGui.QPalette.ColorRole.Shadow?10 +QtGui.QPalette.ColorRole.Highlight?10 +QtGui.QPalette.ColorRole.HighlightedText?10 +QtGui.QPalette.ColorRole.Link?10 +QtGui.QPalette.ColorRole.LinkVisited?10 +QtGui.QPalette.ColorRole.AlternateBase?10 +QtGui.QPalette.ColorRole.ToolTipBase?10 +QtGui.QPalette.ColorRole.ToolTipText?10 +QtGui.QPalette.ColorRole.PlaceholderText?10 +QtGui.QPalette.ColorRole.NoRole?10 +QtGui.QPalette.ColorRole.NColorRoles?10 +QtGui.QPalette.ColorGroup?10 +QtGui.QPalette.ColorGroup.Active?10 +QtGui.QPalette.ColorGroup.Disabled?10 +QtGui.QPalette.ColorGroup.Inactive?10 +QtGui.QPalette.ColorGroup.NColorGroups?10 +QtGui.QPalette.ColorGroup.Current?10 +QtGui.QPalette.ColorGroup.All?10 +QtGui.QPalette.ColorGroup.Normal?10 +QtGui.QPalette?1() +QtGui.QPalette.__init__?1(self) +QtGui.QPalette?1(QColor) +QtGui.QPalette.__init__?1(self, QColor) +QtGui.QPalette?1(Qt.GlobalColor) +QtGui.QPalette.__init__?1(self, Qt.GlobalColor) +QtGui.QPalette?1(QColor, QColor) +QtGui.QPalette.__init__?1(self, QColor, QColor) +QtGui.QPalette?1(QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush) +QtGui.QPalette.__init__?1(self, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush) +QtGui.QPalette?1(QPalette) +QtGui.QPalette.__init__?1(self, QPalette) +QtGui.QPalette?1(QVariant) +QtGui.QPalette.__init__?1(self, QVariant) +QtGui.QPalette.currentColorGroup?4() -> QPalette.ColorGroup +QtGui.QPalette.setCurrentColorGroup?4(QPalette.ColorGroup) +QtGui.QPalette.color?4(QPalette.ColorGroup, QPalette.ColorRole) -> QColor +QtGui.QPalette.brush?4(QPalette.ColorGroup, QPalette.ColorRole) -> QBrush +QtGui.QPalette.setBrush?4(QPalette.ColorGroup, QPalette.ColorRole, QBrush) +QtGui.QPalette.setColorGroup?4(QPalette.ColorGroup, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush) +QtGui.QPalette.isEqual?4(QPalette.ColorGroup, QPalette.ColorGroup) -> bool +QtGui.QPalette.color?4(QPalette.ColorRole) -> QColor +QtGui.QPalette.brush?4(QPalette.ColorRole) -> QBrush +QtGui.QPalette.windowText?4() -> QBrush +QtGui.QPalette.button?4() -> QBrush +QtGui.QPalette.light?4() -> QBrush +QtGui.QPalette.dark?4() -> QBrush +QtGui.QPalette.mid?4() -> QBrush +QtGui.QPalette.text?4() -> QBrush +QtGui.QPalette.base?4() -> QBrush +QtGui.QPalette.alternateBase?4() -> QBrush +QtGui.QPalette.window?4() -> QBrush +QtGui.QPalette.midlight?4() -> QBrush +QtGui.QPalette.brightText?4() -> QBrush +QtGui.QPalette.buttonText?4() -> QBrush +QtGui.QPalette.shadow?4() -> QBrush +QtGui.QPalette.highlight?4() -> QBrush +QtGui.QPalette.highlightedText?4() -> QBrush +QtGui.QPalette.link?4() -> QBrush +QtGui.QPalette.linkVisited?4() -> QBrush +QtGui.QPalette.toolTipBase?4() -> QBrush +QtGui.QPalette.toolTipText?4() -> QBrush +QtGui.QPalette.placeholderText?4() -> QBrush +QtGui.QPalette.isCopyOf?4(QPalette) -> bool +QtGui.QPalette.resolve?4(QPalette) -> QPalette +QtGui.QPalette.resolve?4() -> int +QtGui.QPalette.resolve?4(int) +QtGui.QPalette.setColor?4(QPalette.ColorGroup, QPalette.ColorRole, QColor) +QtGui.QPalette.setColor?4(QPalette.ColorRole, QColor) +QtGui.QPalette.setBrush?4(QPalette.ColorRole, QBrush) +QtGui.QPalette.isBrushSet?4(QPalette.ColorGroup, QPalette.ColorRole) -> bool +QtGui.QPalette.cacheKey?4() -> int +QtGui.QPalette.swap?4(QPalette) +QtGui.QPdfWriter?1(QString) +QtGui.QPdfWriter.__init__?1(self, QString) +QtGui.QPdfWriter?1(QIODevice) +QtGui.QPdfWriter.__init__?1(self, QIODevice) +QtGui.QPdfWriter.title?4() -> QString +QtGui.QPdfWriter.setTitle?4(QString) +QtGui.QPdfWriter.creator?4() -> QString +QtGui.QPdfWriter.setCreator?4(QString) +QtGui.QPdfWriter.newPage?4() -> bool +QtGui.QPdfWriter.setPageSize?4(QPagedPaintDevice.PageSize) +QtGui.QPdfWriter.setPageSize?4(QPageSize) -> bool +QtGui.QPdfWriter.setPageSizeMM?4(QSizeF) +QtGui.QPdfWriter.setMargins?4(QPagedPaintDevice.Margins) +QtGui.QPdfWriter.paintEngine?4() -> QPaintEngine +QtGui.QPdfWriter.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QPdfWriter.setResolution?4(int) +QtGui.QPdfWriter.resolution?4() -> int +QtGui.QPdfWriter.setPdfVersion?4(QPagedPaintDevice.PdfVersion) +QtGui.QPdfWriter.pdfVersion?4() -> QPagedPaintDevice.PdfVersion +QtGui.QPdfWriter.setDocumentXmpMetadata?4(QByteArray) +QtGui.QPdfWriter.documentXmpMetadata?4() -> QByteArray +QtGui.QPdfWriter.addFileAttachment?4(QString, QByteArray, QString mimeType='') +QtGui.QPen?1() +QtGui.QPen.__init__?1(self) +QtGui.QPen?1(Qt.PenStyle) +QtGui.QPen.__init__?1(self, Qt.PenStyle) +QtGui.QPen?1(QBrush, float, Qt.PenStyle style=Qt.SolidLine, Qt.PenCapStyle cap=Qt.SquareCap, Qt.PenJoinStyle join=Qt.BevelJoin) +QtGui.QPen.__init__?1(self, QBrush, float, Qt.PenStyle style=Qt.SolidLine, Qt.PenCapStyle cap=Qt.SquareCap, Qt.PenJoinStyle join=Qt.BevelJoin) +QtGui.QPen?1(QPen) +QtGui.QPen.__init__?1(self, QPen) +QtGui.QPen?1(QVariant) +QtGui.QPen.__init__?1(self, QVariant) +QtGui.QPen.style?4() -> Qt.PenStyle +QtGui.QPen.setStyle?4(Qt.PenStyle) +QtGui.QPen.widthF?4() -> float +QtGui.QPen.setWidthF?4(float) +QtGui.QPen.width?4() -> int +QtGui.QPen.setWidth?4(int) +QtGui.QPen.color?4() -> QColor +QtGui.QPen.setColor?4(QColor) +QtGui.QPen.brush?4() -> QBrush +QtGui.QPen.setBrush?4(QBrush) +QtGui.QPen.isSolid?4() -> bool +QtGui.QPen.capStyle?4() -> Qt.PenCapStyle +QtGui.QPen.setCapStyle?4(Qt.PenCapStyle) +QtGui.QPen.joinStyle?4() -> Qt.PenJoinStyle +QtGui.QPen.setJoinStyle?4(Qt.PenJoinStyle) +QtGui.QPen.dashPattern?4() -> unknown-type +QtGui.QPen.setDashPattern?4(unknown-type) +QtGui.QPen.miterLimit?4() -> float +QtGui.QPen.setMiterLimit?4(float) +QtGui.QPen.dashOffset?4() -> float +QtGui.QPen.setDashOffset?4(float) +QtGui.QPen.isCosmetic?4() -> bool +QtGui.QPen.setCosmetic?4(bool) +QtGui.QPen.swap?4(QPen) +QtGui.QPicture?1(int formatVersion=-1) +QtGui.QPicture.__init__?1(self, int formatVersion=-1) +QtGui.QPicture?1(QPicture) +QtGui.QPicture.__init__?1(self, QPicture) +QtGui.QPicture.isNull?4() -> bool +QtGui.QPicture.devType?4() -> int +QtGui.QPicture.size?4() -> int +QtGui.QPicture.data?4() -> str +QtGui.QPicture.setData?4(bytes) +QtGui.QPicture.play?4(QPainter) -> bool +QtGui.QPicture.load?4(QIODevice, str format=None) -> bool +QtGui.QPicture.load?4(QString, str format=None) -> bool +QtGui.QPicture.save?4(QIODevice, str format=None) -> bool +QtGui.QPicture.save?4(QString, str format=None) -> bool +QtGui.QPicture.boundingRect?4() -> QRect +QtGui.QPicture.setBoundingRect?4(QRect) +QtGui.QPicture.detach?4() +QtGui.QPicture.isDetached?4() -> bool +QtGui.QPicture.paintEngine?4() -> QPaintEngine +QtGui.QPicture.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QPicture.swap?4(QPicture) +QtGui.QPictureIO?1() +QtGui.QPictureIO.__init__?1(self) +QtGui.QPictureIO?1(QIODevice, str) +QtGui.QPictureIO.__init__?1(self, QIODevice, str) +QtGui.QPictureIO?1(QString, str) +QtGui.QPictureIO.__init__?1(self, QString, str) +QtGui.QPictureIO.picture?4() -> QPicture +QtGui.QPictureIO.status?4() -> int +QtGui.QPictureIO.format?4() -> str +QtGui.QPictureIO.ioDevice?4() -> QIODevice +QtGui.QPictureIO.fileName?4() -> QString +QtGui.QPictureIO.quality?4() -> int +QtGui.QPictureIO.description?4() -> QString +QtGui.QPictureIO.parameters?4() -> str +QtGui.QPictureIO.gamma?4() -> float +QtGui.QPictureIO.setPicture?4(QPicture) +QtGui.QPictureIO.setStatus?4(int) +QtGui.QPictureIO.setFormat?4(str) +QtGui.QPictureIO.setIODevice?4(QIODevice) +QtGui.QPictureIO.setFileName?4(QString) +QtGui.QPictureIO.setQuality?4(int) +QtGui.QPictureIO.setDescription?4(QString) +QtGui.QPictureIO.setParameters?4(str) +QtGui.QPictureIO.setGamma?4(float) +QtGui.QPictureIO.read?4() -> bool +QtGui.QPictureIO.write?4() -> bool +QtGui.QPictureIO.pictureFormat?4(QString) -> QByteArray +QtGui.QPictureIO.pictureFormat?4(QIODevice) -> QByteArray +QtGui.QPictureIO.inputFormats?4() -> unknown-type +QtGui.QPictureIO.outputFormats?4() -> unknown-type +QtGui.QPictureIO.defineIOHandler?4(str, str, str, callable, callable) +QtGui.QPixelFormat.ByteOrder?10 +QtGui.QPixelFormat.ByteOrder.LittleEndian?10 +QtGui.QPixelFormat.ByteOrder.BigEndian?10 +QtGui.QPixelFormat.ByteOrder.CurrentSystemEndian?10 +QtGui.QPixelFormat.YUVLayout?10 +QtGui.QPixelFormat.YUVLayout.YUV444?10 +QtGui.QPixelFormat.YUVLayout.YUV422?10 +QtGui.QPixelFormat.YUVLayout.YUV411?10 +QtGui.QPixelFormat.YUVLayout.YUV420P?10 +QtGui.QPixelFormat.YUVLayout.YUV420SP?10 +QtGui.QPixelFormat.YUVLayout.YV12?10 +QtGui.QPixelFormat.YUVLayout.UYVY?10 +QtGui.QPixelFormat.YUVLayout.YUYV?10 +QtGui.QPixelFormat.YUVLayout.NV12?10 +QtGui.QPixelFormat.YUVLayout.NV21?10 +QtGui.QPixelFormat.YUVLayout.IMC1?10 +QtGui.QPixelFormat.YUVLayout.IMC2?10 +QtGui.QPixelFormat.YUVLayout.IMC3?10 +QtGui.QPixelFormat.YUVLayout.IMC4?10 +QtGui.QPixelFormat.YUVLayout.Y8?10 +QtGui.QPixelFormat.YUVLayout.Y16?10 +QtGui.QPixelFormat.TypeInterpretation?10 +QtGui.QPixelFormat.TypeInterpretation.UnsignedInteger?10 +QtGui.QPixelFormat.TypeInterpretation.UnsignedShort?10 +QtGui.QPixelFormat.TypeInterpretation.UnsignedByte?10 +QtGui.QPixelFormat.TypeInterpretation.FloatingPoint?10 +QtGui.QPixelFormat.AlphaPremultiplied?10 +QtGui.QPixelFormat.AlphaPremultiplied.NotPremultiplied?10 +QtGui.QPixelFormat.AlphaPremultiplied.Premultiplied?10 +QtGui.QPixelFormat.AlphaPosition?10 +QtGui.QPixelFormat.AlphaPosition.AtBeginning?10 +QtGui.QPixelFormat.AlphaPosition.AtEnd?10 +QtGui.QPixelFormat.AlphaUsage?10 +QtGui.QPixelFormat.AlphaUsage.UsesAlpha?10 +QtGui.QPixelFormat.AlphaUsage.IgnoresAlpha?10 +QtGui.QPixelFormat.ColorModel?10 +QtGui.QPixelFormat.ColorModel.RGB?10 +QtGui.QPixelFormat.ColorModel.BGR?10 +QtGui.QPixelFormat.ColorModel.Indexed?10 +QtGui.QPixelFormat.ColorModel.Grayscale?10 +QtGui.QPixelFormat.ColorModel.CMYK?10 +QtGui.QPixelFormat.ColorModel.HSL?10 +QtGui.QPixelFormat.ColorModel.HSV?10 +QtGui.QPixelFormat.ColorModel.YUV?10 +QtGui.QPixelFormat.ColorModel.Alpha?10 +QtGui.QPixelFormat?1() +QtGui.QPixelFormat.__init__?1(self) +QtGui.QPixelFormat?1(QPixelFormat.ColorModel, int, int, int, int, int, int, QPixelFormat.AlphaUsage, QPixelFormat.AlphaPosition, QPixelFormat.AlphaPremultiplied, QPixelFormat.TypeInterpretation, QPixelFormat.ByteOrder byteOrder=QPixelFormat.CurrentSystemEndian, int subEnum=0) +QtGui.QPixelFormat.__init__?1(self, QPixelFormat.ColorModel, int, int, int, int, int, int, QPixelFormat.AlphaUsage, QPixelFormat.AlphaPosition, QPixelFormat.AlphaPremultiplied, QPixelFormat.TypeInterpretation, QPixelFormat.ByteOrder byteOrder=QPixelFormat.CurrentSystemEndian, int subEnum=0) +QtGui.QPixelFormat?1(QPixelFormat) +QtGui.QPixelFormat.__init__?1(self, QPixelFormat) +QtGui.QPixelFormat.colorModel?4() -> QPixelFormat.ColorModel +QtGui.QPixelFormat.channelCount?4() -> int +QtGui.QPixelFormat.redSize?4() -> int +QtGui.QPixelFormat.greenSize?4() -> int +QtGui.QPixelFormat.blueSize?4() -> int +QtGui.QPixelFormat.cyanSize?4() -> int +QtGui.QPixelFormat.magentaSize?4() -> int +QtGui.QPixelFormat.yellowSize?4() -> int +QtGui.QPixelFormat.blackSize?4() -> int +QtGui.QPixelFormat.hueSize?4() -> int +QtGui.QPixelFormat.saturationSize?4() -> int +QtGui.QPixelFormat.lightnessSize?4() -> int +QtGui.QPixelFormat.brightnessSize?4() -> int +QtGui.QPixelFormat.alphaSize?4() -> int +QtGui.QPixelFormat.bitsPerPixel?4() -> int +QtGui.QPixelFormat.alphaUsage?4() -> QPixelFormat.AlphaUsage +QtGui.QPixelFormat.alphaPosition?4() -> QPixelFormat.AlphaPosition +QtGui.QPixelFormat.premultiplied?4() -> QPixelFormat.AlphaPremultiplied +QtGui.QPixelFormat.typeInterpretation?4() -> QPixelFormat.TypeInterpretation +QtGui.QPixelFormat.byteOrder?4() -> QPixelFormat.ByteOrder +QtGui.QPixelFormat.yuvLayout?4() -> QPixelFormat.YUVLayout +QtGui.QPixelFormat.subEnum?4() -> int +QtGui.QPixmapCache?1() +QtGui.QPixmapCache.__init__?1(self) +QtGui.QPixmapCache?1(QPixmapCache) +QtGui.QPixmapCache.__init__?1(self, QPixmapCache) +QtGui.QPixmapCache.cacheLimit?4() -> int +QtGui.QPixmapCache.clear?4() +QtGui.QPixmapCache.find?4(QString) -> QPixmap +QtGui.QPixmapCache.find?4(QPixmapCache.Key) -> QPixmap +QtGui.QPixmapCache.insert?4(QString, QPixmap) -> bool +QtGui.QPixmapCache.insert?4(QPixmap) -> QPixmapCache.Key +QtGui.QPixmapCache.remove?4(QString) +QtGui.QPixmapCache.remove?4(QPixmapCache.Key) +QtGui.QPixmapCache.replace?4(QPixmapCache.Key, QPixmap) -> bool +QtGui.QPixmapCache.setCacheLimit?4(int) +QtGui.QPixmapCache.Key?1() +QtGui.QPixmapCache.Key.__init__?1(self) +QtGui.QPixmapCache.Key?1(QPixmapCache.Key) +QtGui.QPixmapCache.Key.__init__?1(self, QPixmapCache.Key) +QtGui.QPixmapCache.Key.swap?4(QPixmapCache.Key) +QtGui.QPixmapCache.Key.isValid?4() -> bool +QtGui.QPolygon?1() +QtGui.QPolygon.__init__?1(self) +QtGui.QPolygon?1(QPolygon) +QtGui.QPolygon.__init__?1(self, QPolygon) +QtGui.QPolygon?1(list) +QtGui.QPolygon.__init__?1(self, list) +QtGui.QPolygon?1(unknown-type) +QtGui.QPolygon.__init__?1(self, unknown-type) +QtGui.QPolygon?1(QRect, bool closed=False) +QtGui.QPolygon.__init__?1(self, QRect, bool closed=False) +QtGui.QPolygon?1(int) +QtGui.QPolygon.__init__?1(self, int) +QtGui.QPolygon?1(QVariant) +QtGui.QPolygon.__init__?1(self, QVariant) +QtGui.QPolygon.translate?4(int, int) +QtGui.QPolygon.boundingRect?4() -> QRect +QtGui.QPolygon.point?4(int) -> QPoint +QtGui.QPolygon.setPoints?4(list) +QtGui.QPolygon.setPoints?4(int, int, ...) +QtGui.QPolygon.putPoints?4(int, int, int, ...) +QtGui.QPolygon.putPoints?4(int, int, QPolygon, int from=0) +QtGui.QPolygon.setPoint?4(int, QPoint) +QtGui.QPolygon.setPoint?4(int, int, int) +QtGui.QPolygon.translate?4(QPoint) +QtGui.QPolygon.containsPoint?4(QPoint, Qt.FillRule) -> bool +QtGui.QPolygon.united?4(QPolygon) -> QPolygon +QtGui.QPolygon.intersected?4(QPolygon) -> QPolygon +QtGui.QPolygon.subtracted?4(QPolygon) -> QPolygon +QtGui.QPolygon.translated?4(int, int) -> QPolygon +QtGui.QPolygon.translated?4(QPoint) -> QPolygon +QtGui.QPolygon.append?4(QPoint) +QtGui.QPolygon.at?4(int) -> QPoint +QtGui.QPolygon.clear?4() +QtGui.QPolygon.contains?4(QPoint) -> bool +QtGui.QPolygon.count?4(QPoint) -> int +QtGui.QPolygon.count?4() -> int +QtGui.QPolygon.data?4() -> sip.voidptr +QtGui.QPolygon.fill?4(QPoint, int size=-1) +QtGui.QPolygon.first?4() -> QPoint +QtGui.QPolygon.indexOf?4(QPoint, int from=0) -> int +QtGui.QPolygon.insert?4(int, QPoint) +QtGui.QPolygon.isEmpty?4() -> bool +QtGui.QPolygon.last?4() -> QPoint +QtGui.QPolygon.lastIndexOf?4(QPoint, int from=-1) -> int +QtGui.QPolygon.mid?4(int, int length=-1) -> QPolygon +QtGui.QPolygon.prepend?4(QPoint) +QtGui.QPolygon.remove?4(int) +QtGui.QPolygon.remove?4(int, int) +QtGui.QPolygon.replace?4(int, QPoint) +QtGui.QPolygon.size?4() -> int +QtGui.QPolygon.value?4(int) -> QPoint +QtGui.QPolygon.value?4(int, QPoint) -> QPoint +QtGui.QPolygon.swap?4(QPolygon) +QtGui.QPolygon.intersects?4(QPolygon) -> bool +QtGui.QPolygonF?1() +QtGui.QPolygonF.__init__?1(self) +QtGui.QPolygonF?1(QPolygonF) +QtGui.QPolygonF.__init__?1(self, QPolygonF) +QtGui.QPolygonF?1(unknown-type) +QtGui.QPolygonF.__init__?1(self, unknown-type) +QtGui.QPolygonF?1(QRectF) +QtGui.QPolygonF.__init__?1(self, QRectF) +QtGui.QPolygonF?1(QPolygon) +QtGui.QPolygonF.__init__?1(self, QPolygon) +QtGui.QPolygonF?1(int) +QtGui.QPolygonF.__init__?1(self, int) +QtGui.QPolygonF.translate?4(QPointF) +QtGui.QPolygonF.toPolygon?4() -> QPolygon +QtGui.QPolygonF.isClosed?4() -> bool +QtGui.QPolygonF.boundingRect?4() -> QRectF +QtGui.QPolygonF.translate?4(float, float) +QtGui.QPolygonF.containsPoint?4(QPointF, Qt.FillRule) -> bool +QtGui.QPolygonF.united?4(QPolygonF) -> QPolygonF +QtGui.QPolygonF.intersected?4(QPolygonF) -> QPolygonF +QtGui.QPolygonF.subtracted?4(QPolygonF) -> QPolygonF +QtGui.QPolygonF.translated?4(QPointF) -> QPolygonF +QtGui.QPolygonF.translated?4(float, float) -> QPolygonF +QtGui.QPolygonF.append?4(QPointF) +QtGui.QPolygonF.at?4(int) -> QPointF +QtGui.QPolygonF.clear?4() +QtGui.QPolygonF.contains?4(QPointF) -> bool +QtGui.QPolygonF.count?4(QPointF) -> int +QtGui.QPolygonF.count?4() -> int +QtGui.QPolygonF.data?4() -> sip.voidptr +QtGui.QPolygonF.fill?4(QPointF, int size=-1) +QtGui.QPolygonF.first?4() -> QPointF +QtGui.QPolygonF.indexOf?4(QPointF, int from=0) -> int +QtGui.QPolygonF.insert?4(int, QPointF) +QtGui.QPolygonF.isEmpty?4() -> bool +QtGui.QPolygonF.last?4() -> QPointF +QtGui.QPolygonF.lastIndexOf?4(QPointF, int from=-1) -> int +QtGui.QPolygonF.mid?4(int, int length=-1) -> QPolygonF +QtGui.QPolygonF.prepend?4(QPointF) +QtGui.QPolygonF.remove?4(int) +QtGui.QPolygonF.remove?4(int, int) +QtGui.QPolygonF.replace?4(int, QPointF) +QtGui.QPolygonF.size?4() -> int +QtGui.QPolygonF.value?4(int) -> QPointF +QtGui.QPolygonF.value?4(int, QPointF) -> QPointF +QtGui.QPolygonF.swap?4(QPolygonF) +QtGui.QPolygonF.intersects?4(QPolygonF) -> bool +QtGui.QQuaternion?1() +QtGui.QQuaternion.__init__?1(self) +QtGui.QQuaternion?1(float, float, float, float) +QtGui.QQuaternion.__init__?1(self, float, float, float, float) +QtGui.QQuaternion?1(float, QVector3D) +QtGui.QQuaternion.__init__?1(self, float, QVector3D) +QtGui.QQuaternion?1(QVector4D) +QtGui.QQuaternion.__init__?1(self, QVector4D) +QtGui.QQuaternion?1(QQuaternion) +QtGui.QQuaternion.__init__?1(self, QQuaternion) +QtGui.QQuaternion.length?4() -> float +QtGui.QQuaternion.lengthSquared?4() -> float +QtGui.QQuaternion.normalized?4() -> QQuaternion +QtGui.QQuaternion.normalize?4() +QtGui.QQuaternion.rotatedVector?4(QVector3D) -> QVector3D +QtGui.QQuaternion.fromAxisAndAngle?4(QVector3D, float) -> QQuaternion +QtGui.QQuaternion.fromAxisAndAngle?4(float, float, float, float) -> QQuaternion +QtGui.QQuaternion.slerp?4(QQuaternion, QQuaternion, float) -> QQuaternion +QtGui.QQuaternion.nlerp?4(QQuaternion, QQuaternion, float) -> QQuaternion +QtGui.QQuaternion.isNull?4() -> bool +QtGui.QQuaternion.isIdentity?4() -> bool +QtGui.QQuaternion.x?4() -> float +QtGui.QQuaternion.y?4() -> float +QtGui.QQuaternion.z?4() -> float +QtGui.QQuaternion.scalar?4() -> float +QtGui.QQuaternion.setX?4(float) +QtGui.QQuaternion.setY?4(float) +QtGui.QQuaternion.setZ?4(float) +QtGui.QQuaternion.setScalar?4(float) +QtGui.QQuaternion.conjugate?4() -> QQuaternion +QtGui.QQuaternion.setVector?4(QVector3D) +QtGui.QQuaternion.vector?4() -> QVector3D +QtGui.QQuaternion.setVector?4(float, float, float) +QtGui.QQuaternion.toVector4D?4() -> QVector4D +QtGui.QQuaternion.getAxisAndAngle?4() -> (QVector3D, float) +QtGui.QQuaternion.getEulerAngles?4() -> (float, float, float) +QtGui.QQuaternion.fromEulerAngles?4(float, float, float) -> QQuaternion +QtGui.QQuaternion.toRotationMatrix?4() -> QMatrix3x3 +QtGui.QQuaternion.fromRotationMatrix?4(QMatrix3x3) -> QQuaternion +QtGui.QQuaternion.getAxes?4() -> (QVector3D, QVector3D, QVector3D) +QtGui.QQuaternion.fromAxes?4(QVector3D, QVector3D, QVector3D) -> QQuaternion +QtGui.QQuaternion.fromDirection?4(QVector3D, QVector3D) -> QQuaternion +QtGui.QQuaternion.rotationTo?4(QVector3D, QVector3D) -> QQuaternion +QtGui.QQuaternion.dotProduct?4(QQuaternion, QQuaternion) -> float +QtGui.QQuaternion.inverted?4() -> QQuaternion +QtGui.QQuaternion.conjugated?4() -> QQuaternion +QtGui.QQuaternion.toEulerAngles?4() -> QVector3D +QtGui.QQuaternion.fromEulerAngles?4(QVector3D) -> QQuaternion +QtGui.QRasterWindow?1(QWindow parent=None) +QtGui.QRasterWindow.__init__?1(self, QWindow parent=None) +QtGui.QRasterWindow.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtGui.QRawFont.LayoutFlag?10 +QtGui.QRawFont.LayoutFlag.SeparateAdvances?10 +QtGui.QRawFont.LayoutFlag.KernedAdvances?10 +QtGui.QRawFont.LayoutFlag.UseDesignMetrics?10 +QtGui.QRawFont.AntialiasingType?10 +QtGui.QRawFont.AntialiasingType.PixelAntialiasing?10 +QtGui.QRawFont.AntialiasingType.SubPixelAntialiasing?10 +QtGui.QRawFont?1() +QtGui.QRawFont.__init__?1(self) +QtGui.QRawFont?1(QString, float, QFont.HintingPreference hintingPreference=QFont.PreferDefaultHinting) +QtGui.QRawFont.__init__?1(self, QString, float, QFont.HintingPreference hintingPreference=QFont.PreferDefaultHinting) +QtGui.QRawFont?1(QByteArray, float, QFont.HintingPreference hintingPreference=QFont.PreferDefaultHinting) +QtGui.QRawFont.__init__?1(self, QByteArray, float, QFont.HintingPreference hintingPreference=QFont.PreferDefaultHinting) +QtGui.QRawFont?1(QRawFont) +QtGui.QRawFont.__init__?1(self, QRawFont) +QtGui.QRawFont.isValid?4() -> bool +QtGui.QRawFont.familyName?4() -> QString +QtGui.QRawFont.styleName?4() -> QString +QtGui.QRawFont.style?4() -> QFont.Style +QtGui.QRawFont.weight?4() -> int +QtGui.QRawFont.glyphIndexesForString?4(QString) -> unknown-type +QtGui.QRawFont.advancesForGlyphIndexes?4(unknown-type) -> unknown-type +QtGui.QRawFont.advancesForGlyphIndexes?4(unknown-type, QRawFont.LayoutFlags) -> unknown-type +QtGui.QRawFont.alphaMapForGlyph?4(int, QRawFont.AntialiasingType antialiasingType=QRawFont.SubPixelAntialiasing, QTransform transform=QTransform()) -> QImage +QtGui.QRawFont.pathForGlyph?4(int) -> QPainterPath +QtGui.QRawFont.setPixelSize?4(float) +QtGui.QRawFont.pixelSize?4() -> float +QtGui.QRawFont.hintingPreference?4() -> QFont.HintingPreference +QtGui.QRawFont.ascent?4() -> float +QtGui.QRawFont.descent?4() -> float +QtGui.QRawFont.leading?4() -> float +QtGui.QRawFont.xHeight?4() -> float +QtGui.QRawFont.averageCharWidth?4() -> float +QtGui.QRawFont.maxCharWidth?4() -> float +QtGui.QRawFont.unitsPerEm?4() -> float +QtGui.QRawFont.loadFromFile?4(QString, float, QFont.HintingPreference) +QtGui.QRawFont.loadFromData?4(QByteArray, float, QFont.HintingPreference) +QtGui.QRawFont.supportsCharacter?4(int) -> bool +QtGui.QRawFont.supportsCharacter?4(QChar) -> bool +QtGui.QRawFont.supportedWritingSystems?4() -> unknown-type +QtGui.QRawFont.fontTable?4(str) -> QByteArray +QtGui.QRawFont.fromFont?4(QFont, QFontDatabase.WritingSystem writingSystem=QFontDatabase.Any) -> QRawFont +QtGui.QRawFont.boundingRect?4(int) -> QRectF +QtGui.QRawFont.lineThickness?4() -> float +QtGui.QRawFont.underlinePosition?4() -> float +QtGui.QRawFont.swap?4(QRawFont) +QtGui.QRawFont.capHeight?4() -> float +QtGui.QRawFont.LayoutFlags?1() +QtGui.QRawFont.LayoutFlags.__init__?1(self) +QtGui.QRawFont.LayoutFlags?1(int) +QtGui.QRawFont.LayoutFlags.__init__?1(self, int) +QtGui.QRawFont.LayoutFlags?1(QRawFont.LayoutFlags) +QtGui.QRawFont.LayoutFlags.__init__?1(self, QRawFont.LayoutFlags) +QtGui.QRegion.RegionType?10 +QtGui.QRegion.RegionType.Rectangle?10 +QtGui.QRegion.RegionType.Ellipse?10 +QtGui.QRegion?1() +QtGui.QRegion.__init__?1(self) +QtGui.QRegion?1(int, int, int, int, QRegion.RegionType type=QRegion.Rectangle) +QtGui.QRegion.__init__?1(self, int, int, int, int, QRegion.RegionType type=QRegion.Rectangle) +QtGui.QRegion?1(QRect, QRegion.RegionType type=QRegion.Rectangle) +QtGui.QRegion.__init__?1(self, QRect, QRegion.RegionType type=QRegion.Rectangle) +QtGui.QRegion?1(QPolygon, Qt.FillRule fillRule=Qt.OddEvenFill) +QtGui.QRegion.__init__?1(self, QPolygon, Qt.FillRule fillRule=Qt.OddEvenFill) +QtGui.QRegion?1(QBitmap) +QtGui.QRegion.__init__?1(self, QBitmap) +QtGui.QRegion?1(QRegion) +QtGui.QRegion.__init__?1(self, QRegion) +QtGui.QRegion?1(QVariant) +QtGui.QRegion.__init__?1(self, QVariant) +QtGui.QRegion.isEmpty?4() -> bool +QtGui.QRegion.contains?4(QPoint) -> bool +QtGui.QRegion.contains?4(QRect) -> bool +QtGui.QRegion.translate?4(int, int) +QtGui.QRegion.translate?4(QPoint) +QtGui.QRegion.translated?4(int, int) -> QRegion +QtGui.QRegion.translated?4(QPoint) -> QRegion +QtGui.QRegion.united?4(QRegion) -> QRegion +QtGui.QRegion.united?4(QRect) -> QRegion +QtGui.QRegion.boundingRect?4() -> QRect +QtGui.QRegion.rects?4() -> unknown-type +QtGui.QRegion.setRects?4(unknown-type) +QtGui.QRegion.intersected?4(QRegion) -> QRegion +QtGui.QRegion.intersected?4(QRect) -> QRegion +QtGui.QRegion.subtracted?4(QRegion) -> QRegion +QtGui.QRegion.xored?4(QRegion) -> QRegion +QtGui.QRegion.intersects?4(QRegion) -> bool +QtGui.QRegion.intersects?4(QRect) -> bool +QtGui.QRegion.rectCount?4() -> int +QtGui.QRegion.swap?4(QRegion) +QtGui.QRegion.isNull?4() -> bool +QtGui.QRgba64?1() +QtGui.QRgba64.__init__?1(self) +QtGui.QRgba64?1(QRgba64) +QtGui.QRgba64.__init__?1(self, QRgba64) +QtGui.QRgba64.fromRgba64?4(int) -> QRgba64 +QtGui.QRgba64.fromRgba64?4(int, int, int, int) -> QRgba64 +QtGui.QRgba64.fromRgba?4(int, int, int, int) -> QRgba64 +QtGui.QRgba64.fromArgb32?4(int) -> QRgba64 +QtGui.QRgba64.isOpaque?4() -> bool +QtGui.QRgba64.isTransparent?4() -> bool +QtGui.QRgba64.red?4() -> int +QtGui.QRgba64.green?4() -> int +QtGui.QRgba64.blue?4() -> int +QtGui.QRgba64.alpha?4() -> int +QtGui.QRgba64.setRed?4(int) +QtGui.QRgba64.setGreen?4(int) +QtGui.QRgba64.setBlue?4(int) +QtGui.QRgba64.setAlpha?4(int) +QtGui.QRgba64.red8?4() -> int +QtGui.QRgba64.green8?4() -> int +QtGui.QRgba64.blue8?4() -> int +QtGui.QRgba64.alpha8?4() -> int +QtGui.QRgba64.toArgb32?4() -> int +QtGui.QRgba64.toRgb16?4() -> int +QtGui.QRgba64.premultiplied?4() -> QRgba64 +QtGui.QRgba64.unpremultiplied?4() -> QRgba64 +QtGui.QScreen.name?4() -> QString +QtGui.QScreen.depth?4() -> int +QtGui.QScreen.size?4() -> QSize +QtGui.QScreen.geometry?4() -> QRect +QtGui.QScreen.physicalSize?4() -> QSizeF +QtGui.QScreen.physicalDotsPerInchX?4() -> float +QtGui.QScreen.physicalDotsPerInchY?4() -> float +QtGui.QScreen.physicalDotsPerInch?4() -> float +QtGui.QScreen.logicalDotsPerInchX?4() -> float +QtGui.QScreen.logicalDotsPerInchY?4() -> float +QtGui.QScreen.logicalDotsPerInch?4() -> float +QtGui.QScreen.availableSize?4() -> QSize +QtGui.QScreen.availableGeometry?4() -> QRect +QtGui.QScreen.virtualSiblings?4() -> unknown-type +QtGui.QScreen.virtualSize?4() -> QSize +QtGui.QScreen.virtualGeometry?4() -> QRect +QtGui.QScreen.availableVirtualSize?4() -> QSize +QtGui.QScreen.availableVirtualGeometry?4() -> QRect +QtGui.QScreen.nativeOrientation?4() -> Qt.ScreenOrientation +QtGui.QScreen.primaryOrientation?4() -> Qt.ScreenOrientation +QtGui.QScreen.orientation?4() -> Qt.ScreenOrientation +QtGui.QScreen.orientationUpdateMask?4() -> Qt.ScreenOrientations +QtGui.QScreen.setOrientationUpdateMask?4(Qt.ScreenOrientations) +QtGui.QScreen.angleBetween?4(Qt.ScreenOrientation, Qt.ScreenOrientation) -> int +QtGui.QScreen.transformBetween?4(Qt.ScreenOrientation, Qt.ScreenOrientation, QRect) -> QTransform +QtGui.QScreen.mapBetween?4(Qt.ScreenOrientation, Qt.ScreenOrientation, QRect) -> QRect +QtGui.QScreen.isPortrait?4(Qt.ScreenOrientation) -> bool +QtGui.QScreen.isLandscape?4(Qt.ScreenOrientation) -> bool +QtGui.QScreen.grabWindow?4(quintptr, int x=0, int y=0, int width=-1, int height=-1) -> QPixmap +QtGui.QScreen.refreshRate?4() -> float +QtGui.QScreen.devicePixelRatio?4() -> float +QtGui.QScreen.geometryChanged?4(QRect) +QtGui.QScreen.physicalDotsPerInchChanged?4(float) +QtGui.QScreen.logicalDotsPerInchChanged?4(float) +QtGui.QScreen.primaryOrientationChanged?4(Qt.ScreenOrientation) +QtGui.QScreen.orientationChanged?4(Qt.ScreenOrientation) +QtGui.QScreen.refreshRateChanged?4(float) +QtGui.QScreen.physicalSizeChanged?4(QSizeF) +QtGui.QScreen.virtualGeometryChanged?4(QRect) +QtGui.QScreen.availableGeometryChanged?4(QRect) +QtGui.QScreen.manufacturer?4() -> QString +QtGui.QScreen.model?4() -> QString +QtGui.QScreen.serialNumber?4() -> QString +QtGui.QScreen.virtualSiblingAt?4(QPoint) -> QScreen +QtGui.QSessionManager.RestartHint?10 +QtGui.QSessionManager.RestartHint.RestartIfRunning?10 +QtGui.QSessionManager.RestartHint.RestartAnyway?10 +QtGui.QSessionManager.RestartHint.RestartImmediately?10 +QtGui.QSessionManager.RestartHint.RestartNever?10 +QtGui.QSessionManager.sessionId?4() -> QString +QtGui.QSessionManager.sessionKey?4() -> QString +QtGui.QSessionManager.allowsInteraction?4() -> bool +QtGui.QSessionManager.allowsErrorInteraction?4() -> bool +QtGui.QSessionManager.release?4() +QtGui.QSessionManager.cancel?4() +QtGui.QSessionManager.setRestartHint?4(QSessionManager.RestartHint) +QtGui.QSessionManager.restartHint?4() -> QSessionManager.RestartHint +QtGui.QSessionManager.setRestartCommand?4(QStringList) +QtGui.QSessionManager.restartCommand?4() -> QStringList +QtGui.QSessionManager.setDiscardCommand?4(QStringList) +QtGui.QSessionManager.discardCommand?4() -> QStringList +QtGui.QSessionManager.setManagerProperty?4(QString, QString) +QtGui.QSessionManager.setManagerProperty?4(QString, QStringList) +QtGui.QSessionManager.isPhase2?4() -> bool +QtGui.QSessionManager.requestPhase2?4() +QtGui.QStandardItemModel?1(QObject parent=None) +QtGui.QStandardItemModel.__init__?1(self, QObject parent=None) +QtGui.QStandardItemModel?1(int, int, QObject parent=None) +QtGui.QStandardItemModel.__init__?1(self, int, int, QObject parent=None) +QtGui.QStandardItemModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtGui.QStandardItemModel.parent?4(QModelIndex) -> QModelIndex +QtGui.QStandardItemModel.parent?4() -> QObject +QtGui.QStandardItemModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtGui.QStandardItemModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtGui.QStandardItemModel.hasChildren?4(QModelIndex parent=QModelIndex()) -> bool +QtGui.QStandardItemModel.data?4(QModelIndex, int role=Qt.DisplayRole) -> QVariant +QtGui.QStandardItemModel.setData?4(QModelIndex, QVariant, int role=Qt.EditRole) -> bool +QtGui.QStandardItemModel.headerData?4(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant +QtGui.QStandardItemModel.setHeaderData?4(int, Qt.Orientation, QVariant, int role=Qt.EditRole) -> bool +QtGui.QStandardItemModel.insertRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtGui.QStandardItemModel.insertColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtGui.QStandardItemModel.removeRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtGui.QStandardItemModel.removeColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtGui.QStandardItemModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtGui.QStandardItemModel.clear?4() +QtGui.QStandardItemModel.supportedDropActions?4() -> Qt.DropActions +QtGui.QStandardItemModel.itemData?4(QModelIndex) -> unknown-type +QtGui.QStandardItemModel.setItemData?4(QModelIndex, unknown-type) -> bool +QtGui.QStandardItemModel.sort?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtGui.QStandardItemModel.itemFromIndex?4(QModelIndex) -> QStandardItem +QtGui.QStandardItemModel.indexFromItem?4(QStandardItem) -> QModelIndex +QtGui.QStandardItemModel.item?4(int, int column=0) -> QStandardItem +QtGui.QStandardItemModel.setItem?4(int, int, QStandardItem) +QtGui.QStandardItemModel.setItem?4(int, QStandardItem) +QtGui.QStandardItemModel.invisibleRootItem?4() -> QStandardItem +QtGui.QStandardItemModel.horizontalHeaderItem?4(int) -> QStandardItem +QtGui.QStandardItemModel.setHorizontalHeaderItem?4(int, QStandardItem) +QtGui.QStandardItemModel.verticalHeaderItem?4(int) -> QStandardItem +QtGui.QStandardItemModel.setVerticalHeaderItem?4(int, QStandardItem) +QtGui.QStandardItemModel.setHorizontalHeaderLabels?4(QStringList) +QtGui.QStandardItemModel.setVerticalHeaderLabels?4(QStringList) +QtGui.QStandardItemModel.setRowCount?4(int) +QtGui.QStandardItemModel.setColumnCount?4(int) +QtGui.QStandardItemModel.appendRow?4(unknown-type) +QtGui.QStandardItemModel.appendColumn?4(unknown-type) +QtGui.QStandardItemModel.insertRow?4(int, unknown-type) +QtGui.QStandardItemModel.insertColumn?4(int, unknown-type) +QtGui.QStandardItemModel.takeItem?4(int, int column=0) -> QStandardItem +QtGui.QStandardItemModel.takeRow?4(int) -> unknown-type +QtGui.QStandardItemModel.takeColumn?4(int) -> unknown-type +QtGui.QStandardItemModel.takeHorizontalHeaderItem?4(int) -> QStandardItem +QtGui.QStandardItemModel.takeVerticalHeaderItem?4(int) -> QStandardItem +QtGui.QStandardItemModel.itemPrototype?4() -> QStandardItem +QtGui.QStandardItemModel.setItemPrototype?4(QStandardItem) +QtGui.QStandardItemModel.findItems?4(QString, Qt.MatchFlags flags=Qt.MatchExactly, int column=0) -> unknown-type +QtGui.QStandardItemModel.sortRole?4() -> int +QtGui.QStandardItemModel.setSortRole?4(int) +QtGui.QStandardItemModel.appendRow?4(QStandardItem) +QtGui.QStandardItemModel.insertRow?4(int, QStandardItem) +QtGui.QStandardItemModel.insertRow?4(int, QModelIndex parent=QModelIndex()) -> bool +QtGui.QStandardItemModel.insertColumn?4(int, QModelIndex parent=QModelIndex()) -> bool +QtGui.QStandardItemModel.mimeTypes?4() -> QStringList +QtGui.QStandardItemModel.mimeData?4(unknown-type) -> QMimeData +QtGui.QStandardItemModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtGui.QStandardItemModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtGui.QStandardItemModel.setItemRoleNames?4(unknown-type) +QtGui.QStandardItemModel.itemChanged?4(QStandardItem) +QtGui.QStandardItemModel.clearItemData?4(QModelIndex) -> bool +QtGui.QStandardItem.ItemType?10 +QtGui.QStandardItem.ItemType.Type?10 +QtGui.QStandardItem.ItemType.UserType?10 +QtGui.QStandardItem?1() +QtGui.QStandardItem.__init__?1(self) +QtGui.QStandardItem?1(QString) +QtGui.QStandardItem.__init__?1(self, QString) +QtGui.QStandardItem?1(QIcon, QString) +QtGui.QStandardItem.__init__?1(self, QIcon, QString) +QtGui.QStandardItem?1(int, int columns=1) +QtGui.QStandardItem.__init__?1(self, int, int columns=1) +QtGui.QStandardItem?1(QStandardItem) +QtGui.QStandardItem.__init__?1(self, QStandardItem) +QtGui.QStandardItem.data?4(int role=Qt.UserRole+1) -> QVariant +QtGui.QStandardItem.setData?4(QVariant, int role=Qt.UserRole+1) +QtGui.QStandardItem.text?4() -> QString +QtGui.QStandardItem.icon?4() -> QIcon +QtGui.QStandardItem.toolTip?4() -> QString +QtGui.QStandardItem.statusTip?4() -> QString +QtGui.QStandardItem.whatsThis?4() -> QString +QtGui.QStandardItem.sizeHint?4() -> QSize +QtGui.QStandardItem.font?4() -> QFont +QtGui.QStandardItem.textAlignment?4() -> Qt.Alignment +QtGui.QStandardItem.background?4() -> QBrush +QtGui.QStandardItem.foreground?4() -> QBrush +QtGui.QStandardItem.checkState?4() -> Qt.CheckState +QtGui.QStandardItem.accessibleText?4() -> QString +QtGui.QStandardItem.accessibleDescription?4() -> QString +QtGui.QStandardItem.flags?4() -> Qt.ItemFlags +QtGui.QStandardItem.setFlags?4(Qt.ItemFlags) +QtGui.QStandardItem.isEnabled?4() -> bool +QtGui.QStandardItem.setEnabled?4(bool) +QtGui.QStandardItem.isEditable?4() -> bool +QtGui.QStandardItem.setEditable?4(bool) +QtGui.QStandardItem.isSelectable?4() -> bool +QtGui.QStandardItem.setSelectable?4(bool) +QtGui.QStandardItem.isCheckable?4() -> bool +QtGui.QStandardItem.setCheckable?4(bool) +QtGui.QStandardItem.isTristate?4() -> bool +QtGui.QStandardItem.setTristate?4(bool) +QtGui.QStandardItem.isDragEnabled?4() -> bool +QtGui.QStandardItem.setDragEnabled?4(bool) +QtGui.QStandardItem.isDropEnabled?4() -> bool +QtGui.QStandardItem.setDropEnabled?4(bool) +QtGui.QStandardItem.parent?4() -> QStandardItem +QtGui.QStandardItem.row?4() -> int +QtGui.QStandardItem.column?4() -> int +QtGui.QStandardItem.index?4() -> QModelIndex +QtGui.QStandardItem.model?4() -> QStandardItemModel +QtGui.QStandardItem.rowCount?4() -> int +QtGui.QStandardItem.setRowCount?4(int) +QtGui.QStandardItem.columnCount?4() -> int +QtGui.QStandardItem.setColumnCount?4(int) +QtGui.QStandardItem.hasChildren?4() -> bool +QtGui.QStandardItem.child?4(int, int column=0) -> QStandardItem +QtGui.QStandardItem.setChild?4(int, int, QStandardItem) +QtGui.QStandardItem.setChild?4(int, QStandardItem) +QtGui.QStandardItem.insertRow?4(int, unknown-type) +QtGui.QStandardItem.insertRow?4(int, QStandardItem) +QtGui.QStandardItem.insertRows?4(int, int) +QtGui.QStandardItem.insertColumn?4(int, unknown-type) +QtGui.QStandardItem.insertColumns?4(int, int) +QtGui.QStandardItem.removeRow?4(int) +QtGui.QStandardItem.removeColumn?4(int) +QtGui.QStandardItem.removeRows?4(int, int) +QtGui.QStandardItem.removeColumns?4(int, int) +QtGui.QStandardItem.takeChild?4(int, int column=0) -> QStandardItem +QtGui.QStandardItem.takeRow?4(int) -> unknown-type +QtGui.QStandardItem.takeColumn?4(int) -> unknown-type +QtGui.QStandardItem.sortChildren?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtGui.QStandardItem.clone?4() -> QStandardItem +QtGui.QStandardItem.type?4() -> int +QtGui.QStandardItem.read?4(QDataStream) +QtGui.QStandardItem.write?4(QDataStream) +QtGui.QStandardItem.setText?4(QString) +QtGui.QStandardItem.setIcon?4(QIcon) +QtGui.QStandardItem.setToolTip?4(QString) +QtGui.QStandardItem.setStatusTip?4(QString) +QtGui.QStandardItem.setWhatsThis?4(QString) +QtGui.QStandardItem.setSizeHint?4(QSize) +QtGui.QStandardItem.setFont?4(QFont) +QtGui.QStandardItem.setTextAlignment?4(Qt.Alignment) +QtGui.QStandardItem.setBackground?4(QBrush) +QtGui.QStandardItem.setForeground?4(QBrush) +QtGui.QStandardItem.setCheckState?4(Qt.CheckState) +QtGui.QStandardItem.setAccessibleText?4(QString) +QtGui.QStandardItem.setAccessibleDescription?4(QString) +QtGui.QStandardItem.appendRow?4(unknown-type) +QtGui.QStandardItem.appendRow?4(QStandardItem) +QtGui.QStandardItem.appendColumn?4(unknown-type) +QtGui.QStandardItem.insertRows?4(int, unknown-type) +QtGui.QStandardItem.appendRows?4(unknown-type) +QtGui.QStandardItem.emitDataChanged?4() +QtGui.QStandardItem.isAutoTristate?4() -> bool +QtGui.QStandardItem.setAutoTristate?4(bool) +QtGui.QStandardItem.isUserTristate?4() -> bool +QtGui.QStandardItem.setUserTristate?4(bool) +QtGui.QStandardItem.clearData?4() +QtGui.QStaticText.PerformanceHint?10 +QtGui.QStaticText.PerformanceHint.ModerateCaching?10 +QtGui.QStaticText.PerformanceHint.AggressiveCaching?10 +QtGui.QStaticText?1() +QtGui.QStaticText.__init__?1(self) +QtGui.QStaticText?1(QString) +QtGui.QStaticText.__init__?1(self, QString) +QtGui.QStaticText?1(QStaticText) +QtGui.QStaticText.__init__?1(self, QStaticText) +QtGui.QStaticText.setText?4(QString) +QtGui.QStaticText.text?4() -> QString +QtGui.QStaticText.setTextFormat?4(Qt.TextFormat) +QtGui.QStaticText.textFormat?4() -> Qt.TextFormat +QtGui.QStaticText.setTextWidth?4(float) +QtGui.QStaticText.textWidth?4() -> float +QtGui.QStaticText.setTextOption?4(QTextOption) +QtGui.QStaticText.textOption?4() -> QTextOption +QtGui.QStaticText.size?4() -> QSizeF +QtGui.QStaticText.prepare?4(QTransform matrix=QTransform(), QFont font=QFont()) +QtGui.QStaticText.setPerformanceHint?4(QStaticText.PerformanceHint) +QtGui.QStaticText.performanceHint?4() -> QStaticText.PerformanceHint +QtGui.QStaticText.swap?4(QStaticText) +QtGui.QStyleHints.mouseDoubleClickInterval?4() -> int +QtGui.QStyleHints.startDragDistance?4() -> int +QtGui.QStyleHints.startDragTime?4() -> int +QtGui.QStyleHints.startDragVelocity?4() -> int +QtGui.QStyleHints.keyboardInputInterval?4() -> int +QtGui.QStyleHints.keyboardAutoRepeatRate?4() -> int +QtGui.QStyleHints.cursorFlashTime?4() -> int +QtGui.QStyleHints.showIsFullScreen?4() -> bool +QtGui.QStyleHints.passwordMaskDelay?4() -> int +QtGui.QStyleHints.fontSmoothingGamma?4() -> float +QtGui.QStyleHints.useRtlExtensions?4() -> bool +QtGui.QStyleHints.passwordMaskCharacter?4() -> QChar +QtGui.QStyleHints.setFocusOnTouchRelease?4() -> bool +QtGui.QStyleHints.mousePressAndHoldInterval?4() -> int +QtGui.QStyleHints.tabFocusBehavior?4() -> Qt.TabFocusBehavior +QtGui.QStyleHints.singleClickActivation?4() -> bool +QtGui.QStyleHints.cursorFlashTimeChanged?4(int) +QtGui.QStyleHints.keyboardInputIntervalChanged?4(int) +QtGui.QStyleHints.mouseDoubleClickIntervalChanged?4(int) +QtGui.QStyleHints.startDragDistanceChanged?4(int) +QtGui.QStyleHints.startDragTimeChanged?4(int) +QtGui.QStyleHints.mousePressAndHoldIntervalChanged?4(int) +QtGui.QStyleHints.tabFocusBehaviorChanged?4(Qt.TabFocusBehavior) +QtGui.QStyleHints.showIsMaximized?4() -> bool +QtGui.QStyleHints.useHoverEffects?4() -> bool +QtGui.QStyleHints.setUseHoverEffects?4(bool) +QtGui.QStyleHints.useHoverEffectsChanged?4(bool) +QtGui.QStyleHints.wheelScrollLines?4() -> int +QtGui.QStyleHints.wheelScrollLinesChanged?4(int) +QtGui.QStyleHints.showShortcutsInContextMenus?4() -> bool +QtGui.QStyleHints.mouseQuickSelectionThreshold?4() -> int +QtGui.QStyleHints.mouseQuickSelectionThresholdChanged?4(int) +QtGui.QStyleHints.setShowShortcutsInContextMenus?4(bool) +QtGui.QStyleHints.showShortcutsInContextMenusChanged?4(bool) +QtGui.QStyleHints.mouseDoubleClickDistance?4() -> int +QtGui.QStyleHints.touchDoubleTapDistance?4() -> int +QtGui.QSurfaceFormat.ColorSpace?10 +QtGui.QSurfaceFormat.ColorSpace.DefaultColorSpace?10 +QtGui.QSurfaceFormat.ColorSpace.sRGBColorSpace?10 +QtGui.QSurfaceFormat.OpenGLContextProfile?10 +QtGui.QSurfaceFormat.OpenGLContextProfile.NoProfile?10 +QtGui.QSurfaceFormat.OpenGLContextProfile.CoreProfile?10 +QtGui.QSurfaceFormat.OpenGLContextProfile.CompatibilityProfile?10 +QtGui.QSurfaceFormat.RenderableType?10 +QtGui.QSurfaceFormat.RenderableType.DefaultRenderableType?10 +QtGui.QSurfaceFormat.RenderableType.OpenGL?10 +QtGui.QSurfaceFormat.RenderableType.OpenGLES?10 +QtGui.QSurfaceFormat.RenderableType.OpenVG?10 +QtGui.QSurfaceFormat.SwapBehavior?10 +QtGui.QSurfaceFormat.SwapBehavior.DefaultSwapBehavior?10 +QtGui.QSurfaceFormat.SwapBehavior.SingleBuffer?10 +QtGui.QSurfaceFormat.SwapBehavior.DoubleBuffer?10 +QtGui.QSurfaceFormat.SwapBehavior.TripleBuffer?10 +QtGui.QSurfaceFormat.FormatOption?10 +QtGui.QSurfaceFormat.FormatOption.StereoBuffers?10 +QtGui.QSurfaceFormat.FormatOption.DebugContext?10 +QtGui.QSurfaceFormat.FormatOption.DeprecatedFunctions?10 +QtGui.QSurfaceFormat.FormatOption.ResetNotification?10 +QtGui.QSurfaceFormat?1() +QtGui.QSurfaceFormat.__init__?1(self) +QtGui.QSurfaceFormat?1(QSurfaceFormat.FormatOptions) +QtGui.QSurfaceFormat.__init__?1(self, QSurfaceFormat.FormatOptions) +QtGui.QSurfaceFormat?1(QSurfaceFormat) +QtGui.QSurfaceFormat.__init__?1(self, QSurfaceFormat) +QtGui.QSurfaceFormat.setDepthBufferSize?4(int) +QtGui.QSurfaceFormat.depthBufferSize?4() -> int +QtGui.QSurfaceFormat.setStencilBufferSize?4(int) +QtGui.QSurfaceFormat.stencilBufferSize?4() -> int +QtGui.QSurfaceFormat.setRedBufferSize?4(int) +QtGui.QSurfaceFormat.redBufferSize?4() -> int +QtGui.QSurfaceFormat.setGreenBufferSize?4(int) +QtGui.QSurfaceFormat.greenBufferSize?4() -> int +QtGui.QSurfaceFormat.setBlueBufferSize?4(int) +QtGui.QSurfaceFormat.blueBufferSize?4() -> int +QtGui.QSurfaceFormat.setAlphaBufferSize?4(int) +QtGui.QSurfaceFormat.alphaBufferSize?4() -> int +QtGui.QSurfaceFormat.setSamples?4(int) +QtGui.QSurfaceFormat.samples?4() -> int +QtGui.QSurfaceFormat.setSwapBehavior?4(QSurfaceFormat.SwapBehavior) +QtGui.QSurfaceFormat.swapBehavior?4() -> QSurfaceFormat.SwapBehavior +QtGui.QSurfaceFormat.hasAlpha?4() -> bool +QtGui.QSurfaceFormat.setProfile?4(QSurfaceFormat.OpenGLContextProfile) +QtGui.QSurfaceFormat.profile?4() -> QSurfaceFormat.OpenGLContextProfile +QtGui.QSurfaceFormat.setRenderableType?4(QSurfaceFormat.RenderableType) +QtGui.QSurfaceFormat.renderableType?4() -> QSurfaceFormat.RenderableType +QtGui.QSurfaceFormat.setMajorVersion?4(int) +QtGui.QSurfaceFormat.majorVersion?4() -> int +QtGui.QSurfaceFormat.setMinorVersion?4(int) +QtGui.QSurfaceFormat.minorVersion?4() -> int +QtGui.QSurfaceFormat.setStereo?4(bool) +QtGui.QSurfaceFormat.setOption?4(QSurfaceFormat.FormatOptions) +QtGui.QSurfaceFormat.testOption?4(QSurfaceFormat.FormatOptions) -> bool +QtGui.QSurfaceFormat.stereo?4() -> bool +QtGui.QSurfaceFormat.version?4() -> unknown-type +QtGui.QSurfaceFormat.setVersion?4(int, int) +QtGui.QSurfaceFormat.setOptions?4(QSurfaceFormat.FormatOptions) +QtGui.QSurfaceFormat.setOption?4(QSurfaceFormat.FormatOption, bool on=True) +QtGui.QSurfaceFormat.testOption?4(QSurfaceFormat.FormatOption) -> bool +QtGui.QSurfaceFormat.options?4() -> QSurfaceFormat.FormatOptions +QtGui.QSurfaceFormat.swapInterval?4() -> int +QtGui.QSurfaceFormat.setSwapInterval?4(int) +QtGui.QSurfaceFormat.setDefaultFormat?4(QSurfaceFormat) +QtGui.QSurfaceFormat.defaultFormat?4() -> QSurfaceFormat +QtGui.QSurfaceFormat.colorSpace?4() -> QSurfaceFormat.ColorSpace +QtGui.QSurfaceFormat.setColorSpace?4(QSurfaceFormat.ColorSpace) +QtGui.QSurfaceFormat.FormatOptions?1() +QtGui.QSurfaceFormat.FormatOptions.__init__?1(self) +QtGui.QSurfaceFormat.FormatOptions?1(int) +QtGui.QSurfaceFormat.FormatOptions.__init__?1(self, int) +QtGui.QSurfaceFormat.FormatOptions?1(QSurfaceFormat.FormatOptions) +QtGui.QSurfaceFormat.FormatOptions.__init__?1(self, QSurfaceFormat.FormatOptions) +QtGui.QSyntaxHighlighter?1(QTextDocument) +QtGui.QSyntaxHighlighter.__init__?1(self, QTextDocument) +QtGui.QSyntaxHighlighter?1(QObject) +QtGui.QSyntaxHighlighter.__init__?1(self, QObject) +QtGui.QSyntaxHighlighter.setDocument?4(QTextDocument) +QtGui.QSyntaxHighlighter.document?4() -> QTextDocument +QtGui.QSyntaxHighlighter.rehighlight?4() +QtGui.QSyntaxHighlighter.rehighlightBlock?4(QTextBlock) +QtGui.QSyntaxHighlighter.highlightBlock?4(QString) +QtGui.QSyntaxHighlighter.setFormat?4(int, int, QTextCharFormat) +QtGui.QSyntaxHighlighter.setFormat?4(int, int, QColor) +QtGui.QSyntaxHighlighter.setFormat?4(int, int, QFont) +QtGui.QSyntaxHighlighter.format?4(int) -> QTextCharFormat +QtGui.QSyntaxHighlighter.previousBlockState?4() -> int +QtGui.QSyntaxHighlighter.currentBlockState?4() -> int +QtGui.QSyntaxHighlighter.setCurrentBlockState?4(int) +QtGui.QSyntaxHighlighter.setCurrentBlockUserData?4(QTextBlockUserData) +QtGui.QSyntaxHighlighter.currentBlockUserData?4() -> QTextBlockUserData +QtGui.QSyntaxHighlighter.currentBlock?4() -> QTextBlock +QtGui.QTextCursor.SelectionType?10 +QtGui.QTextCursor.SelectionType.WordUnderCursor?10 +QtGui.QTextCursor.SelectionType.LineUnderCursor?10 +QtGui.QTextCursor.SelectionType.BlockUnderCursor?10 +QtGui.QTextCursor.SelectionType.Document?10 +QtGui.QTextCursor.MoveOperation?10 +QtGui.QTextCursor.MoveOperation.NoMove?10 +QtGui.QTextCursor.MoveOperation.Start?10 +QtGui.QTextCursor.MoveOperation.Up?10 +QtGui.QTextCursor.MoveOperation.StartOfLine?10 +QtGui.QTextCursor.MoveOperation.StartOfBlock?10 +QtGui.QTextCursor.MoveOperation.StartOfWord?10 +QtGui.QTextCursor.MoveOperation.PreviousBlock?10 +QtGui.QTextCursor.MoveOperation.PreviousCharacter?10 +QtGui.QTextCursor.MoveOperation.PreviousWord?10 +QtGui.QTextCursor.MoveOperation.Left?10 +QtGui.QTextCursor.MoveOperation.WordLeft?10 +QtGui.QTextCursor.MoveOperation.End?10 +QtGui.QTextCursor.MoveOperation.Down?10 +QtGui.QTextCursor.MoveOperation.EndOfLine?10 +QtGui.QTextCursor.MoveOperation.EndOfWord?10 +QtGui.QTextCursor.MoveOperation.EndOfBlock?10 +QtGui.QTextCursor.MoveOperation.NextBlock?10 +QtGui.QTextCursor.MoveOperation.NextCharacter?10 +QtGui.QTextCursor.MoveOperation.NextWord?10 +QtGui.QTextCursor.MoveOperation.Right?10 +QtGui.QTextCursor.MoveOperation.WordRight?10 +QtGui.QTextCursor.MoveOperation.NextCell?10 +QtGui.QTextCursor.MoveOperation.PreviousCell?10 +QtGui.QTextCursor.MoveOperation.NextRow?10 +QtGui.QTextCursor.MoveOperation.PreviousRow?10 +QtGui.QTextCursor.MoveMode?10 +QtGui.QTextCursor.MoveMode.MoveAnchor?10 +QtGui.QTextCursor.MoveMode.KeepAnchor?10 +QtGui.QTextCursor?1() +QtGui.QTextCursor.__init__?1(self) +QtGui.QTextCursor?1(QTextDocument) +QtGui.QTextCursor.__init__?1(self, QTextDocument) +QtGui.QTextCursor?1(QTextFrame) +QtGui.QTextCursor.__init__?1(self, QTextFrame) +QtGui.QTextCursor?1(QTextBlock) +QtGui.QTextCursor.__init__?1(self, QTextBlock) +QtGui.QTextCursor?1(QTextCursor) +QtGui.QTextCursor.__init__?1(self, QTextCursor) +QtGui.QTextCursor.isNull?4() -> bool +QtGui.QTextCursor.setPosition?4(int, QTextCursor.MoveMode mode=QTextCursor.MoveAnchor) +QtGui.QTextCursor.position?4() -> int +QtGui.QTextCursor.anchor?4() -> int +QtGui.QTextCursor.insertText?4(QString) +QtGui.QTextCursor.insertText?4(QString, QTextCharFormat) +QtGui.QTextCursor.movePosition?4(QTextCursor.MoveOperation, QTextCursor.MoveMode mode=QTextCursor.MoveAnchor, int n=1) -> bool +QtGui.QTextCursor.deleteChar?4() +QtGui.QTextCursor.deletePreviousChar?4() +QtGui.QTextCursor.select?4(QTextCursor.SelectionType) +QtGui.QTextCursor.hasSelection?4() -> bool +QtGui.QTextCursor.hasComplexSelection?4() -> bool +QtGui.QTextCursor.removeSelectedText?4() +QtGui.QTextCursor.clearSelection?4() +QtGui.QTextCursor.selectionStart?4() -> int +QtGui.QTextCursor.selectionEnd?4() -> int +QtGui.QTextCursor.selectedText?4() -> QString +QtGui.QTextCursor.selection?4() -> QTextDocumentFragment +QtGui.QTextCursor.selectedTableCells?4() -> (int, int, int, int) +QtGui.QTextCursor.block?4() -> QTextBlock +QtGui.QTextCursor.charFormat?4() -> QTextCharFormat +QtGui.QTextCursor.setCharFormat?4(QTextCharFormat) +QtGui.QTextCursor.mergeCharFormat?4(QTextCharFormat) +QtGui.QTextCursor.blockFormat?4() -> QTextBlockFormat +QtGui.QTextCursor.setBlockFormat?4(QTextBlockFormat) +QtGui.QTextCursor.mergeBlockFormat?4(QTextBlockFormat) +QtGui.QTextCursor.blockCharFormat?4() -> QTextCharFormat +QtGui.QTextCursor.setBlockCharFormat?4(QTextCharFormat) +QtGui.QTextCursor.mergeBlockCharFormat?4(QTextCharFormat) +QtGui.QTextCursor.atBlockStart?4() -> bool +QtGui.QTextCursor.atBlockEnd?4() -> bool +QtGui.QTextCursor.atStart?4() -> bool +QtGui.QTextCursor.atEnd?4() -> bool +QtGui.QTextCursor.insertBlock?4() +QtGui.QTextCursor.insertBlock?4(QTextBlockFormat) +QtGui.QTextCursor.insertBlock?4(QTextBlockFormat, QTextCharFormat) +QtGui.QTextCursor.insertList?4(QTextListFormat) -> QTextList +QtGui.QTextCursor.insertList?4(QTextListFormat.Style) -> QTextList +QtGui.QTextCursor.createList?4(QTextListFormat) -> QTextList +QtGui.QTextCursor.createList?4(QTextListFormat.Style) -> QTextList +QtGui.QTextCursor.currentList?4() -> QTextList +QtGui.QTextCursor.insertTable?4(int, int, QTextTableFormat) -> QTextTable +QtGui.QTextCursor.insertTable?4(int, int) -> QTextTable +QtGui.QTextCursor.currentTable?4() -> QTextTable +QtGui.QTextCursor.insertFrame?4(QTextFrameFormat) -> QTextFrame +QtGui.QTextCursor.currentFrame?4() -> QTextFrame +QtGui.QTextCursor.insertFragment?4(QTextDocumentFragment) +QtGui.QTextCursor.insertHtml?4(QString) +QtGui.QTextCursor.insertImage?4(QTextImageFormat) +QtGui.QTextCursor.insertImage?4(QTextImageFormat, QTextFrameFormat.Position) +QtGui.QTextCursor.insertImage?4(QString) +QtGui.QTextCursor.insertImage?4(QImage, QString name='') +QtGui.QTextCursor.beginEditBlock?4() +QtGui.QTextCursor.joinPreviousEditBlock?4() +QtGui.QTextCursor.endEditBlock?4() +QtGui.QTextCursor.blockNumber?4() -> int +QtGui.QTextCursor.columnNumber?4() -> int +QtGui.QTextCursor.isCopyOf?4(QTextCursor) -> bool +QtGui.QTextCursor.visualNavigation?4() -> bool +QtGui.QTextCursor.setVisualNavigation?4(bool) +QtGui.QTextCursor.document?4() -> QTextDocument +QtGui.QTextCursor.positionInBlock?4() -> int +QtGui.QTextCursor.setVerticalMovementX?4(int) +QtGui.QTextCursor.verticalMovementX?4() -> int +QtGui.QTextCursor.setKeepPositionOnInsert?4(bool) +QtGui.QTextCursor.keepPositionOnInsert?4() -> bool +QtGui.QTextCursor.swap?4(QTextCursor) +QtGui.Qt.mightBeRichText?4(QString) -> bool +QtGui.Qt.convertFromPlainText?4(QString, Qt.WhiteSpaceMode mode=Qt.WhiteSpacePre) -> QString +QtGui.QTextDocument.MarkdownFeature?10 +QtGui.QTextDocument.MarkdownFeature.MarkdownNoHTML?10 +QtGui.QTextDocument.MarkdownFeature.MarkdownDialectCommonMark?10 +QtGui.QTextDocument.MarkdownFeature.MarkdownDialectGitHub?10 +QtGui.QTextDocument.Stacks?10 +QtGui.QTextDocument.Stacks.UndoStack?10 +QtGui.QTextDocument.Stacks.RedoStack?10 +QtGui.QTextDocument.Stacks.UndoAndRedoStacks?10 +QtGui.QTextDocument.ResourceType?10 +QtGui.QTextDocument.ResourceType.UnknownResource?10 +QtGui.QTextDocument.ResourceType.HtmlResource?10 +QtGui.QTextDocument.ResourceType.ImageResource?10 +QtGui.QTextDocument.ResourceType.StyleSheetResource?10 +QtGui.QTextDocument.ResourceType.MarkdownResource?10 +QtGui.QTextDocument.ResourceType.UserResource?10 +QtGui.QTextDocument.FindFlag?10 +QtGui.QTextDocument.FindFlag.FindBackward?10 +QtGui.QTextDocument.FindFlag.FindCaseSensitively?10 +QtGui.QTextDocument.FindFlag.FindWholeWords?10 +QtGui.QTextDocument.MetaInformation?10 +QtGui.QTextDocument.MetaInformation.DocumentTitle?10 +QtGui.QTextDocument.MetaInformation.DocumentUrl?10 +QtGui.QTextDocument?1(QObject parent=None) +QtGui.QTextDocument.__init__?1(self, QObject parent=None) +QtGui.QTextDocument?1(QString, QObject parent=None) +QtGui.QTextDocument.__init__?1(self, QString, QObject parent=None) +QtGui.QTextDocument.clone?4(QObject parent=None) -> QTextDocument +QtGui.QTextDocument.isEmpty?4() -> bool +QtGui.QTextDocument.clear?4() +QtGui.QTextDocument.setUndoRedoEnabled?4(bool) +QtGui.QTextDocument.isUndoRedoEnabled?4() -> bool +QtGui.QTextDocument.isUndoAvailable?4() -> bool +QtGui.QTextDocument.isRedoAvailable?4() -> bool +QtGui.QTextDocument.setDocumentLayout?4(QAbstractTextDocumentLayout) +QtGui.QTextDocument.documentLayout?4() -> QAbstractTextDocumentLayout +QtGui.QTextDocument.setMetaInformation?4(QTextDocument.MetaInformation, QString) +QtGui.QTextDocument.metaInformation?4(QTextDocument.MetaInformation) -> QString +QtGui.QTextDocument.toHtml?4(QByteArray encoding=QByteArray()) -> QString +QtGui.QTextDocument.setHtml?4(QString) +QtGui.QTextDocument.toPlainText?4() -> QString +QtGui.QTextDocument.setPlainText?4(QString) +QtGui.QTextDocument.find?4(QString, int position=0, QTextDocument.FindFlags options=0) -> QTextCursor +QtGui.QTextDocument.find?4(QRegExp, int position=0, QTextDocument.FindFlags options=0) -> QTextCursor +QtGui.QTextDocument.find?4(QRegularExpression, int position=0, QTextDocument.FindFlags options=0) -> QTextCursor +QtGui.QTextDocument.find?4(QString, QTextCursor, QTextDocument.FindFlags options=0) -> QTextCursor +QtGui.QTextDocument.find?4(QRegExp, QTextCursor, QTextDocument.FindFlags options=0) -> QTextCursor +QtGui.QTextDocument.find?4(QRegularExpression, QTextCursor, QTextDocument.FindFlags options=0) -> QTextCursor +QtGui.QTextDocument.rootFrame?4() -> QTextFrame +QtGui.QTextDocument.object?4(int) -> QTextObject +QtGui.QTextDocument.objectForFormat?4(QTextFormat) -> QTextObject +QtGui.QTextDocument.findBlock?4(int) -> QTextBlock +QtGui.QTextDocument.begin?4() -> QTextBlock +QtGui.QTextDocument.end?4() -> QTextBlock +QtGui.QTextDocument.setPageSize?4(QSizeF) +QtGui.QTextDocument.pageSize?4() -> QSizeF +QtGui.QTextDocument.setDefaultFont?4(QFont) +QtGui.QTextDocument.defaultFont?4() -> QFont +QtGui.QTextDocument.pageCount?4() -> int +QtGui.QTextDocument.isModified?4() -> bool +QtGui.QTextDocument.print_?4(QPagedPaintDevice) +QtGui.QTextDocument.print?4(QPagedPaintDevice) +QtGui.QTextDocument.resource?4(int, QUrl) -> QVariant +QtGui.QTextDocument.addResource?4(int, QUrl, QVariant) +QtGui.QTextDocument.allFormats?4() -> unknown-type +QtGui.QTextDocument.markContentsDirty?4(int, int) +QtGui.QTextDocument.setUseDesignMetrics?4(bool) +QtGui.QTextDocument.useDesignMetrics?4() -> bool +QtGui.QTextDocument.blockCountChanged?4(int) +QtGui.QTextDocument.contentsChange?4(int, int, int) +QtGui.QTextDocument.contentsChanged?4() +QtGui.QTextDocument.cursorPositionChanged?4(QTextCursor) +QtGui.QTextDocument.modificationChanged?4(bool) +QtGui.QTextDocument.redoAvailable?4(bool) +QtGui.QTextDocument.undoAvailable?4(bool) +QtGui.QTextDocument.undo?4() +QtGui.QTextDocument.redo?4() +QtGui.QTextDocument.setModified?4(bool on=True) +QtGui.QTextDocument.createObject?4(QTextFormat) -> QTextObject +QtGui.QTextDocument.loadResource?4(int, QUrl) -> QVariant +QtGui.QTextDocument.drawContents?4(QPainter, QRectF rect=QRectF()) +QtGui.QTextDocument.setTextWidth?4(float) +QtGui.QTextDocument.textWidth?4() -> float +QtGui.QTextDocument.idealWidth?4() -> float +QtGui.QTextDocument.adjustSize?4() +QtGui.QTextDocument.size?4() -> QSizeF +QtGui.QTextDocument.blockCount?4() -> int +QtGui.QTextDocument.setDefaultStyleSheet?4(QString) +QtGui.QTextDocument.defaultStyleSheet?4() -> QString +QtGui.QTextDocument.undo?4(QTextCursor) +QtGui.QTextDocument.redo?4(QTextCursor) +QtGui.QTextDocument.maximumBlockCount?4() -> int +QtGui.QTextDocument.setMaximumBlockCount?4(int) +QtGui.QTextDocument.defaultTextOption?4() -> QTextOption +QtGui.QTextDocument.setDefaultTextOption?4(QTextOption) +QtGui.QTextDocument.revision?4() -> int +QtGui.QTextDocument.findBlockByNumber?4(int) -> QTextBlock +QtGui.QTextDocument.findBlockByLineNumber?4(int) -> QTextBlock +QtGui.QTextDocument.firstBlock?4() -> QTextBlock +QtGui.QTextDocument.lastBlock?4() -> QTextBlock +QtGui.QTextDocument.indentWidth?4() -> float +QtGui.QTextDocument.setIndentWidth?4(float) +QtGui.QTextDocument.undoCommandAdded?4() +QtGui.QTextDocument.documentLayoutChanged?4() +QtGui.QTextDocument.characterAt?4(int) -> QChar +QtGui.QTextDocument.documentMargin?4() -> float +QtGui.QTextDocument.setDocumentMargin?4(float) +QtGui.QTextDocument.lineCount?4() -> int +QtGui.QTextDocument.characterCount?4() -> int +QtGui.QTextDocument.availableUndoSteps?4() -> int +QtGui.QTextDocument.availableRedoSteps?4() -> int +QtGui.QTextDocument.clearUndoRedoStacks?4(QTextDocument.Stacks stacks=QTextDocument.UndoAndRedoStacks) +QtGui.QTextDocument.defaultCursorMoveStyle?4() -> Qt.CursorMoveStyle +QtGui.QTextDocument.setDefaultCursorMoveStyle?4(Qt.CursorMoveStyle) +QtGui.QTextDocument.baseUrl?4() -> QUrl +QtGui.QTextDocument.setBaseUrl?4(QUrl) +QtGui.QTextDocument.baseUrlChanged?4(QUrl) +QtGui.QTextDocument.toRawText?4() -> QString +QtGui.QTextDocument.toMarkdown?4(QTextDocument.MarkdownFeatures features=QTextDocument.MarkdownDialectGitHub) -> QString +QtGui.QTextDocument.setMarkdown?4(QString, QTextDocument.MarkdownFeatures features=QTextDocument.MarkdownDialectGitHub) +QtGui.QTextDocument.FindFlags?1() +QtGui.QTextDocument.FindFlags.__init__?1(self) +QtGui.QTextDocument.FindFlags?1(int) +QtGui.QTextDocument.FindFlags.__init__?1(self, int) +QtGui.QTextDocument.FindFlags?1(QTextDocument.FindFlags) +QtGui.QTextDocument.FindFlags.__init__?1(self, QTextDocument.FindFlags) +QtGui.QTextDocument.MarkdownFeatures?1() +QtGui.QTextDocument.MarkdownFeatures.__init__?1(self) +QtGui.QTextDocument.MarkdownFeatures?1(int) +QtGui.QTextDocument.MarkdownFeatures.__init__?1(self, int) +QtGui.QTextDocument.MarkdownFeatures?1(QTextDocument.MarkdownFeatures) +QtGui.QTextDocument.MarkdownFeatures.__init__?1(self, QTextDocument.MarkdownFeatures) +QtGui.QTextDocumentFragment?1() +QtGui.QTextDocumentFragment.__init__?1(self) +QtGui.QTextDocumentFragment?1(QTextDocument) +QtGui.QTextDocumentFragment.__init__?1(self, QTextDocument) +QtGui.QTextDocumentFragment?1(QTextCursor) +QtGui.QTextDocumentFragment.__init__?1(self, QTextCursor) +QtGui.QTextDocumentFragment?1(QTextDocumentFragment) +QtGui.QTextDocumentFragment.__init__?1(self, QTextDocumentFragment) +QtGui.QTextDocumentFragment.isEmpty?4() -> bool +QtGui.QTextDocumentFragment.toPlainText?4() -> QString +QtGui.QTextDocumentFragment.toHtml?4(QByteArray encoding=QByteArray()) -> QString +QtGui.QTextDocumentFragment.fromPlainText?4(QString) -> QTextDocumentFragment +QtGui.QTextDocumentFragment.fromHtml?4(QString) -> QTextDocumentFragment +QtGui.QTextDocumentFragment.fromHtml?4(QString, QTextDocument) -> QTextDocumentFragment +QtGui.QTextDocumentWriter?1() +QtGui.QTextDocumentWriter.__init__?1(self) +QtGui.QTextDocumentWriter?1(QIODevice, QByteArray) +QtGui.QTextDocumentWriter.__init__?1(self, QIODevice, QByteArray) +QtGui.QTextDocumentWriter?1(QString, QByteArray format=QByteArray()) +QtGui.QTextDocumentWriter.__init__?1(self, QString, QByteArray format=QByteArray()) +QtGui.QTextDocumentWriter.setFormat?4(QByteArray) +QtGui.QTextDocumentWriter.format?4() -> QByteArray +QtGui.QTextDocumentWriter.setDevice?4(QIODevice) +QtGui.QTextDocumentWriter.device?4() -> QIODevice +QtGui.QTextDocumentWriter.setFileName?4(QString) +QtGui.QTextDocumentWriter.fileName?4() -> QString +QtGui.QTextDocumentWriter.write?4(QTextDocument) -> bool +QtGui.QTextDocumentWriter.write?4(QTextDocumentFragment) -> bool +QtGui.QTextDocumentWriter.setCodec?4(QTextCodec) +QtGui.QTextDocumentWriter.codec?4() -> QTextCodec +QtGui.QTextDocumentWriter.supportedDocumentFormats?4() -> unknown-type +QtGui.QTextLength.Type?10 +QtGui.QTextLength.Type.VariableLength?10 +QtGui.QTextLength.Type.FixedLength?10 +QtGui.QTextLength.Type.PercentageLength?10 +QtGui.QTextLength?1() +QtGui.QTextLength.__init__?1(self) +QtGui.QTextLength?1(QTextLength.Type, float) +QtGui.QTextLength.__init__?1(self, QTextLength.Type, float) +QtGui.QTextLength?1(QVariant) +QtGui.QTextLength.__init__?1(self, QVariant) +QtGui.QTextLength?1(QTextLength) +QtGui.QTextLength.__init__?1(self, QTextLength) +QtGui.QTextLength.type?4() -> QTextLength.Type +QtGui.QTextLength.value?4(float) -> float +QtGui.QTextLength.rawValue?4() -> float +QtGui.QTextFormat.Property?10 +QtGui.QTextFormat.Property.ObjectIndex?10 +QtGui.QTextFormat.Property.CssFloat?10 +QtGui.QTextFormat.Property.LayoutDirection?10 +QtGui.QTextFormat.Property.OutlinePen?10 +QtGui.QTextFormat.Property.BackgroundBrush?10 +QtGui.QTextFormat.Property.ForegroundBrush?10 +QtGui.QTextFormat.Property.BlockAlignment?10 +QtGui.QTextFormat.Property.BlockTopMargin?10 +QtGui.QTextFormat.Property.BlockBottomMargin?10 +QtGui.QTextFormat.Property.BlockLeftMargin?10 +QtGui.QTextFormat.Property.BlockRightMargin?10 +QtGui.QTextFormat.Property.TextIndent?10 +QtGui.QTextFormat.Property.BlockIndent?10 +QtGui.QTextFormat.Property.BlockNonBreakableLines?10 +QtGui.QTextFormat.Property.BlockTrailingHorizontalRulerWidth?10 +QtGui.QTextFormat.Property.FontFamily?10 +QtGui.QTextFormat.Property.FontPointSize?10 +QtGui.QTextFormat.Property.FontSizeAdjustment?10 +QtGui.QTextFormat.Property.FontSizeIncrement?10 +QtGui.QTextFormat.Property.FontWeight?10 +QtGui.QTextFormat.Property.FontItalic?10 +QtGui.QTextFormat.Property.FontUnderline?10 +QtGui.QTextFormat.Property.FontOverline?10 +QtGui.QTextFormat.Property.FontStrikeOut?10 +QtGui.QTextFormat.Property.FontFixedPitch?10 +QtGui.QTextFormat.Property.FontPixelSize?10 +QtGui.QTextFormat.Property.TextUnderlineColor?10 +QtGui.QTextFormat.Property.TextVerticalAlignment?10 +QtGui.QTextFormat.Property.TextOutline?10 +QtGui.QTextFormat.Property.IsAnchor?10 +QtGui.QTextFormat.Property.AnchorHref?10 +QtGui.QTextFormat.Property.AnchorName?10 +QtGui.QTextFormat.Property.ObjectType?10 +QtGui.QTextFormat.Property.ListStyle?10 +QtGui.QTextFormat.Property.ListIndent?10 +QtGui.QTextFormat.Property.FrameBorder?10 +QtGui.QTextFormat.Property.FrameMargin?10 +QtGui.QTextFormat.Property.FramePadding?10 +QtGui.QTextFormat.Property.FrameWidth?10 +QtGui.QTextFormat.Property.FrameHeight?10 +QtGui.QTextFormat.Property.TableColumns?10 +QtGui.QTextFormat.Property.TableColumnWidthConstraints?10 +QtGui.QTextFormat.Property.TableCellSpacing?10 +QtGui.QTextFormat.Property.TableCellPadding?10 +QtGui.QTextFormat.Property.TableCellRowSpan?10 +QtGui.QTextFormat.Property.TableCellColumnSpan?10 +QtGui.QTextFormat.Property.ImageName?10 +QtGui.QTextFormat.Property.ImageWidth?10 +QtGui.QTextFormat.Property.ImageHeight?10 +QtGui.QTextFormat.Property.TextUnderlineStyle?10 +QtGui.QTextFormat.Property.TableHeaderRowCount?10 +QtGui.QTextFormat.Property.FullWidthSelection?10 +QtGui.QTextFormat.Property.PageBreakPolicy?10 +QtGui.QTextFormat.Property.TextToolTip?10 +QtGui.QTextFormat.Property.FrameTopMargin?10 +QtGui.QTextFormat.Property.FrameBottomMargin?10 +QtGui.QTextFormat.Property.FrameLeftMargin?10 +QtGui.QTextFormat.Property.FrameRightMargin?10 +QtGui.QTextFormat.Property.FrameBorderBrush?10 +QtGui.QTextFormat.Property.FrameBorderStyle?10 +QtGui.QTextFormat.Property.BackgroundImageUrl?10 +QtGui.QTextFormat.Property.TabPositions?10 +QtGui.QTextFormat.Property.FirstFontProperty?10 +QtGui.QTextFormat.Property.FontCapitalization?10 +QtGui.QTextFormat.Property.FontLetterSpacing?10 +QtGui.QTextFormat.Property.FontWordSpacing?10 +QtGui.QTextFormat.Property.LastFontProperty?10 +QtGui.QTextFormat.Property.TableCellTopPadding?10 +QtGui.QTextFormat.Property.TableCellBottomPadding?10 +QtGui.QTextFormat.Property.TableCellLeftPadding?10 +QtGui.QTextFormat.Property.TableCellRightPadding?10 +QtGui.QTextFormat.Property.FontStyleHint?10 +QtGui.QTextFormat.Property.FontStyleStrategy?10 +QtGui.QTextFormat.Property.FontKerning?10 +QtGui.QTextFormat.Property.LineHeight?10 +QtGui.QTextFormat.Property.LineHeightType?10 +QtGui.QTextFormat.Property.FontHintingPreference?10 +QtGui.QTextFormat.Property.ListNumberPrefix?10 +QtGui.QTextFormat.Property.ListNumberSuffix?10 +QtGui.QTextFormat.Property.FontStretch?10 +QtGui.QTextFormat.Property.FontLetterSpacingType?10 +QtGui.QTextFormat.Property.HeadingLevel?10 +QtGui.QTextFormat.Property.ImageQuality?10 +QtGui.QTextFormat.Property.FontFamilies?10 +QtGui.QTextFormat.Property.FontStyleName?10 +QtGui.QTextFormat.Property.BlockQuoteLevel?10 +QtGui.QTextFormat.Property.BlockCodeLanguage?10 +QtGui.QTextFormat.Property.BlockCodeFence?10 +QtGui.QTextFormat.Property.BlockMarker?10 +QtGui.QTextFormat.Property.TableBorderCollapse?10 +QtGui.QTextFormat.Property.TableCellTopBorder?10 +QtGui.QTextFormat.Property.TableCellBottomBorder?10 +QtGui.QTextFormat.Property.TableCellLeftBorder?10 +QtGui.QTextFormat.Property.TableCellRightBorder?10 +QtGui.QTextFormat.Property.TableCellTopBorderStyle?10 +QtGui.QTextFormat.Property.TableCellBottomBorderStyle?10 +QtGui.QTextFormat.Property.TableCellLeftBorderStyle?10 +QtGui.QTextFormat.Property.TableCellRightBorderStyle?10 +QtGui.QTextFormat.Property.TableCellTopBorderBrush?10 +QtGui.QTextFormat.Property.TableCellBottomBorderBrush?10 +QtGui.QTextFormat.Property.TableCellLeftBorderBrush?10 +QtGui.QTextFormat.Property.TableCellRightBorderBrush?10 +QtGui.QTextFormat.Property.ImageTitle?10 +QtGui.QTextFormat.Property.ImageAltText?10 +QtGui.QTextFormat.Property.UserProperty?10 +QtGui.QTextFormat.PageBreakFlag?10 +QtGui.QTextFormat.PageBreakFlag.PageBreak_Auto?10 +QtGui.QTextFormat.PageBreakFlag.PageBreak_AlwaysBefore?10 +QtGui.QTextFormat.PageBreakFlag.PageBreak_AlwaysAfter?10 +QtGui.QTextFormat.ObjectTypes?10 +QtGui.QTextFormat.ObjectTypes.NoObject?10 +QtGui.QTextFormat.ObjectTypes.ImageObject?10 +QtGui.QTextFormat.ObjectTypes.TableObject?10 +QtGui.QTextFormat.ObjectTypes.TableCellObject?10 +QtGui.QTextFormat.ObjectTypes.UserObject?10 +QtGui.QTextFormat.FormatType?10 +QtGui.QTextFormat.FormatType.InvalidFormat?10 +QtGui.QTextFormat.FormatType.BlockFormat?10 +QtGui.QTextFormat.FormatType.CharFormat?10 +QtGui.QTextFormat.FormatType.ListFormat?10 +QtGui.QTextFormat.FormatType.TableFormat?10 +QtGui.QTextFormat.FormatType.FrameFormat?10 +QtGui.QTextFormat.FormatType.UserFormat?10 +QtGui.QTextFormat?1() +QtGui.QTextFormat.__init__?1(self) +QtGui.QTextFormat?1(int) +QtGui.QTextFormat.__init__?1(self, int) +QtGui.QTextFormat?1(QTextFormat) +QtGui.QTextFormat.__init__?1(self, QTextFormat) +QtGui.QTextFormat?1(QVariant) +QtGui.QTextFormat.__init__?1(self, QVariant) +QtGui.QTextFormat.merge?4(QTextFormat) +QtGui.QTextFormat.isValid?4() -> bool +QtGui.QTextFormat.type?4() -> int +QtGui.QTextFormat.objectIndex?4() -> int +QtGui.QTextFormat.setObjectIndex?4(int) +QtGui.QTextFormat.property?4(int) -> QVariant +QtGui.QTextFormat.setProperty?4(int, QVariant) +QtGui.QTextFormat.clearProperty?4(int) +QtGui.QTextFormat.hasProperty?4(int) -> bool +QtGui.QTextFormat.boolProperty?4(int) -> bool +QtGui.QTextFormat.intProperty?4(int) -> int +QtGui.QTextFormat.doubleProperty?4(int) -> float +QtGui.QTextFormat.stringProperty?4(int) -> QString +QtGui.QTextFormat.colorProperty?4(int) -> QColor +QtGui.QTextFormat.penProperty?4(int) -> QPen +QtGui.QTextFormat.brushProperty?4(int) -> QBrush +QtGui.QTextFormat.lengthProperty?4(int) -> QTextLength +QtGui.QTextFormat.lengthVectorProperty?4(int) -> unknown-type +QtGui.QTextFormat.setProperty?4(int, unknown-type) +QtGui.QTextFormat.properties?4() -> unknown-type +QtGui.QTextFormat.objectType?4() -> int +QtGui.QTextFormat.isCharFormat?4() -> bool +QtGui.QTextFormat.isBlockFormat?4() -> bool +QtGui.QTextFormat.isListFormat?4() -> bool +QtGui.QTextFormat.isFrameFormat?4() -> bool +QtGui.QTextFormat.isImageFormat?4() -> bool +QtGui.QTextFormat.isTableFormat?4() -> bool +QtGui.QTextFormat.toBlockFormat?4() -> QTextBlockFormat +QtGui.QTextFormat.toCharFormat?4() -> QTextCharFormat +QtGui.QTextFormat.toListFormat?4() -> QTextListFormat +QtGui.QTextFormat.toTableFormat?4() -> QTextTableFormat +QtGui.QTextFormat.toFrameFormat?4() -> QTextFrameFormat +QtGui.QTextFormat.toImageFormat?4() -> QTextImageFormat +QtGui.QTextFormat.setLayoutDirection?4(Qt.LayoutDirection) +QtGui.QTextFormat.layoutDirection?4() -> Qt.LayoutDirection +QtGui.QTextFormat.setBackground?4(QBrush) +QtGui.QTextFormat.background?4() -> QBrush +QtGui.QTextFormat.clearBackground?4() +QtGui.QTextFormat.setForeground?4(QBrush) +QtGui.QTextFormat.foreground?4() -> QBrush +QtGui.QTextFormat.clearForeground?4() +QtGui.QTextFormat.setObjectType?4(int) +QtGui.QTextFormat.propertyCount?4() -> int +QtGui.QTextFormat.isTableCellFormat?4() -> bool +QtGui.QTextFormat.toTableCellFormat?4() -> QTextTableCellFormat +QtGui.QTextFormat.swap?4(QTextFormat) +QtGui.QTextFormat.isEmpty?4() -> bool +QtGui.QTextFormat.PageBreakFlags?1() +QtGui.QTextFormat.PageBreakFlags.__init__?1(self) +QtGui.QTextFormat.PageBreakFlags?1(int) +QtGui.QTextFormat.PageBreakFlags.__init__?1(self, int) +QtGui.QTextFormat.PageBreakFlags?1(QTextFormat.PageBreakFlags) +QtGui.QTextFormat.PageBreakFlags.__init__?1(self, QTextFormat.PageBreakFlags) +QtGui.QTextCharFormat.FontPropertiesInheritanceBehavior?10 +QtGui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesSpecifiedOnly?10 +QtGui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesAll?10 +QtGui.QTextCharFormat.UnderlineStyle?10 +QtGui.QTextCharFormat.UnderlineStyle.NoUnderline?10 +QtGui.QTextCharFormat.UnderlineStyle.SingleUnderline?10 +QtGui.QTextCharFormat.UnderlineStyle.DashUnderline?10 +QtGui.QTextCharFormat.UnderlineStyle.DotLine?10 +QtGui.QTextCharFormat.UnderlineStyle.DashDotLine?10 +QtGui.QTextCharFormat.UnderlineStyle.DashDotDotLine?10 +QtGui.QTextCharFormat.UnderlineStyle.WaveUnderline?10 +QtGui.QTextCharFormat.UnderlineStyle.SpellCheckUnderline?10 +QtGui.QTextCharFormat.VerticalAlignment?10 +QtGui.QTextCharFormat.VerticalAlignment.AlignNormal?10 +QtGui.QTextCharFormat.VerticalAlignment.AlignSuperScript?10 +QtGui.QTextCharFormat.VerticalAlignment.AlignSubScript?10 +QtGui.QTextCharFormat.VerticalAlignment.AlignMiddle?10 +QtGui.QTextCharFormat.VerticalAlignment.AlignTop?10 +QtGui.QTextCharFormat.VerticalAlignment.AlignBottom?10 +QtGui.QTextCharFormat.VerticalAlignment.AlignBaseline?10 +QtGui.QTextCharFormat?1() +QtGui.QTextCharFormat.__init__?1(self) +QtGui.QTextCharFormat?1(QTextCharFormat) +QtGui.QTextCharFormat.__init__?1(self, QTextCharFormat) +QtGui.QTextCharFormat.isValid?4() -> bool +QtGui.QTextCharFormat.setFont?4(QFont) +QtGui.QTextCharFormat.font?4() -> QFont +QtGui.QTextCharFormat.setFontFamily?4(QString) +QtGui.QTextCharFormat.fontFamily?4() -> QString +QtGui.QTextCharFormat.setFontPointSize?4(float) +QtGui.QTextCharFormat.fontPointSize?4() -> float +QtGui.QTextCharFormat.setFontWeight?4(int) +QtGui.QTextCharFormat.fontWeight?4() -> int +QtGui.QTextCharFormat.setFontItalic?4(bool) +QtGui.QTextCharFormat.fontItalic?4() -> bool +QtGui.QTextCharFormat.setFontUnderline?4(bool) +QtGui.QTextCharFormat.fontUnderline?4() -> bool +QtGui.QTextCharFormat.setFontOverline?4(bool) +QtGui.QTextCharFormat.fontOverline?4() -> bool +QtGui.QTextCharFormat.setFontStrikeOut?4(bool) +QtGui.QTextCharFormat.fontStrikeOut?4() -> bool +QtGui.QTextCharFormat.setUnderlineColor?4(QColor) +QtGui.QTextCharFormat.underlineColor?4() -> QColor +QtGui.QTextCharFormat.setFontFixedPitch?4(bool) +QtGui.QTextCharFormat.fontFixedPitch?4() -> bool +QtGui.QTextCharFormat.setVerticalAlignment?4(QTextCharFormat.VerticalAlignment) +QtGui.QTextCharFormat.verticalAlignment?4() -> QTextCharFormat.VerticalAlignment +QtGui.QTextCharFormat.setAnchor?4(bool) +QtGui.QTextCharFormat.isAnchor?4() -> bool +QtGui.QTextCharFormat.setAnchorHref?4(QString) +QtGui.QTextCharFormat.anchorHref?4() -> QString +QtGui.QTextCharFormat.tableCellRowSpan?4() -> int +QtGui.QTextCharFormat.tableCellColumnSpan?4() -> int +QtGui.QTextCharFormat.setTableCellRowSpan?4(int) +QtGui.QTextCharFormat.setTableCellColumnSpan?4(int) +QtGui.QTextCharFormat.setTextOutline?4(QPen) +QtGui.QTextCharFormat.textOutline?4() -> QPen +QtGui.QTextCharFormat.setUnderlineStyle?4(QTextCharFormat.UnderlineStyle) +QtGui.QTextCharFormat.underlineStyle?4() -> QTextCharFormat.UnderlineStyle +QtGui.QTextCharFormat.setToolTip?4(QString) +QtGui.QTextCharFormat.toolTip?4() -> QString +QtGui.QTextCharFormat.setAnchorNames?4(QStringList) +QtGui.QTextCharFormat.anchorNames?4() -> QStringList +QtGui.QTextCharFormat.setFontCapitalization?4(QFont.Capitalization) +QtGui.QTextCharFormat.fontCapitalization?4() -> QFont.Capitalization +QtGui.QTextCharFormat.setFontLetterSpacing?4(float) +QtGui.QTextCharFormat.fontLetterSpacing?4() -> float +QtGui.QTextCharFormat.setFontWordSpacing?4(float) +QtGui.QTextCharFormat.fontWordSpacing?4() -> float +QtGui.QTextCharFormat.setFontStyleHint?4(QFont.StyleHint, QFont.StyleStrategy strategy=QFont.PreferDefault) +QtGui.QTextCharFormat.setFontStyleStrategy?4(QFont.StyleStrategy) +QtGui.QTextCharFormat.fontStyleHint?4() -> QFont.StyleHint +QtGui.QTextCharFormat.fontStyleStrategy?4() -> QFont.StyleStrategy +QtGui.QTextCharFormat.setFontKerning?4(bool) +QtGui.QTextCharFormat.fontKerning?4() -> bool +QtGui.QTextCharFormat.setFontHintingPreference?4(QFont.HintingPreference) +QtGui.QTextCharFormat.fontHintingPreference?4() -> QFont.HintingPreference +QtGui.QTextCharFormat.fontStretch?4() -> int +QtGui.QTextCharFormat.setFontStretch?4(int) +QtGui.QTextCharFormat.setFontLetterSpacingType?4(QFont.SpacingType) +QtGui.QTextCharFormat.fontLetterSpacingType?4() -> QFont.SpacingType +QtGui.QTextCharFormat.setFont?4(QFont, QTextCharFormat.FontPropertiesInheritanceBehavior) +QtGui.QTextCharFormat.setFontFamilies?4(QStringList) +QtGui.QTextCharFormat.fontFamilies?4() -> QVariant +QtGui.QTextCharFormat.setFontStyleName?4(QString) +QtGui.QTextCharFormat.fontStyleName?4() -> QVariant +QtGui.QTextBlockFormat.MarkerType?10 +QtGui.QTextBlockFormat.MarkerType.NoMarker?10 +QtGui.QTextBlockFormat.MarkerType.Unchecked?10 +QtGui.QTextBlockFormat.MarkerType.Checked?10 +QtGui.QTextBlockFormat.LineHeightTypes?10 +QtGui.QTextBlockFormat.LineHeightTypes.SingleHeight?10 +QtGui.QTextBlockFormat.LineHeightTypes.ProportionalHeight?10 +QtGui.QTextBlockFormat.LineHeightTypes.FixedHeight?10 +QtGui.QTextBlockFormat.LineHeightTypes.MinimumHeight?10 +QtGui.QTextBlockFormat.LineHeightTypes.LineDistanceHeight?10 +QtGui.QTextBlockFormat?1() +QtGui.QTextBlockFormat.__init__?1(self) +QtGui.QTextBlockFormat?1(QTextBlockFormat) +QtGui.QTextBlockFormat.__init__?1(self, QTextBlockFormat) +QtGui.QTextBlockFormat.isValid?4() -> bool +QtGui.QTextBlockFormat.alignment?4() -> Qt.Alignment +QtGui.QTextBlockFormat.setTopMargin?4(float) +QtGui.QTextBlockFormat.topMargin?4() -> float +QtGui.QTextBlockFormat.setBottomMargin?4(float) +QtGui.QTextBlockFormat.bottomMargin?4() -> float +QtGui.QTextBlockFormat.setLeftMargin?4(float) +QtGui.QTextBlockFormat.leftMargin?4() -> float +QtGui.QTextBlockFormat.setRightMargin?4(float) +QtGui.QTextBlockFormat.rightMargin?4() -> float +QtGui.QTextBlockFormat.setTextIndent?4(float) +QtGui.QTextBlockFormat.textIndent?4() -> float +QtGui.QTextBlockFormat.indent?4() -> int +QtGui.QTextBlockFormat.setNonBreakableLines?4(bool) +QtGui.QTextBlockFormat.nonBreakableLines?4() -> bool +QtGui.QTextBlockFormat.setAlignment?4(Qt.Alignment) +QtGui.QTextBlockFormat.setIndent?4(int) +QtGui.QTextBlockFormat.setPageBreakPolicy?4(QTextFormat.PageBreakFlags) +QtGui.QTextBlockFormat.pageBreakPolicy?4() -> QTextFormat.PageBreakFlags +QtGui.QTextBlockFormat.setTabPositions?4(unknown-type) +QtGui.QTextBlockFormat.tabPositions?4() -> unknown-type +QtGui.QTextBlockFormat.setLineHeight?4(float, int) +QtGui.QTextBlockFormat.lineHeight?4() -> float +QtGui.QTextBlockFormat.lineHeight?4(float, float scaling=1) -> float +QtGui.QTextBlockFormat.lineHeightType?4() -> int +QtGui.QTextBlockFormat.setHeadingLevel?4(int) +QtGui.QTextBlockFormat.headingLevel?4() -> int +QtGui.QTextBlockFormat.setMarker?4(QTextBlockFormat.MarkerType) +QtGui.QTextBlockFormat.marker?4() -> QTextBlockFormat.MarkerType +QtGui.QTextListFormat.Style?10 +QtGui.QTextListFormat.Style.ListDisc?10 +QtGui.QTextListFormat.Style.ListCircle?10 +QtGui.QTextListFormat.Style.ListSquare?10 +QtGui.QTextListFormat.Style.ListDecimal?10 +QtGui.QTextListFormat.Style.ListLowerAlpha?10 +QtGui.QTextListFormat.Style.ListUpperAlpha?10 +QtGui.QTextListFormat.Style.ListLowerRoman?10 +QtGui.QTextListFormat.Style.ListUpperRoman?10 +QtGui.QTextListFormat?1() +QtGui.QTextListFormat.__init__?1(self) +QtGui.QTextListFormat?1(QTextListFormat) +QtGui.QTextListFormat.__init__?1(self, QTextListFormat) +QtGui.QTextListFormat.isValid?4() -> bool +QtGui.QTextListFormat.style?4() -> QTextListFormat.Style +QtGui.QTextListFormat.indent?4() -> int +QtGui.QTextListFormat.setStyle?4(QTextListFormat.Style) +QtGui.QTextListFormat.setIndent?4(int) +QtGui.QTextListFormat.numberPrefix?4() -> QString +QtGui.QTextListFormat.numberSuffix?4() -> QString +QtGui.QTextListFormat.setNumberPrefix?4(QString) +QtGui.QTextListFormat.setNumberSuffix?4(QString) +QtGui.QTextImageFormat?1() +QtGui.QTextImageFormat.__init__?1(self) +QtGui.QTextImageFormat?1(QTextImageFormat) +QtGui.QTextImageFormat.__init__?1(self, QTextImageFormat) +QtGui.QTextImageFormat.isValid?4() -> bool +QtGui.QTextImageFormat.name?4() -> QString +QtGui.QTextImageFormat.width?4() -> float +QtGui.QTextImageFormat.height?4() -> float +QtGui.QTextImageFormat.quality?4() -> int +QtGui.QTextImageFormat.setName?4(QString) +QtGui.QTextImageFormat.setWidth?4(float) +QtGui.QTextImageFormat.setHeight?4(float) +QtGui.QTextImageFormat.setQuality?4(int quality=100) +QtGui.QTextFrameFormat.BorderStyle?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_None?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Dotted?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Dashed?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Solid?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Double?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_DotDash?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_DotDotDash?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Groove?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Ridge?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Inset?10 +QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Outset?10 +QtGui.QTextFrameFormat.Position?10 +QtGui.QTextFrameFormat.Position.InFlow?10 +QtGui.QTextFrameFormat.Position.FloatLeft?10 +QtGui.QTextFrameFormat.Position.FloatRight?10 +QtGui.QTextFrameFormat?1() +QtGui.QTextFrameFormat.__init__?1(self) +QtGui.QTextFrameFormat?1(QTextFrameFormat) +QtGui.QTextFrameFormat.__init__?1(self, QTextFrameFormat) +QtGui.QTextFrameFormat.isValid?4() -> bool +QtGui.QTextFrameFormat.setPosition?4(QTextFrameFormat.Position) +QtGui.QTextFrameFormat.position?4() -> QTextFrameFormat.Position +QtGui.QTextFrameFormat.border?4() -> float +QtGui.QTextFrameFormat.margin?4() -> float +QtGui.QTextFrameFormat.padding?4() -> float +QtGui.QTextFrameFormat.setWidth?4(QTextLength) +QtGui.QTextFrameFormat.width?4() -> QTextLength +QtGui.QTextFrameFormat.height?4() -> QTextLength +QtGui.QTextFrameFormat.setBorder?4(float) +QtGui.QTextFrameFormat.setMargin?4(float) +QtGui.QTextFrameFormat.setPadding?4(float) +QtGui.QTextFrameFormat.setWidth?4(float) +QtGui.QTextFrameFormat.setHeight?4(float) +QtGui.QTextFrameFormat.setHeight?4(QTextLength) +QtGui.QTextFrameFormat.setPageBreakPolicy?4(QTextFormat.PageBreakFlags) +QtGui.QTextFrameFormat.pageBreakPolicy?4() -> QTextFormat.PageBreakFlags +QtGui.QTextFrameFormat.setBorderBrush?4(QBrush) +QtGui.QTextFrameFormat.borderBrush?4() -> QBrush +QtGui.QTextFrameFormat.setBorderStyle?4(QTextFrameFormat.BorderStyle) +QtGui.QTextFrameFormat.borderStyle?4() -> QTextFrameFormat.BorderStyle +QtGui.QTextFrameFormat.topMargin?4() -> float +QtGui.QTextFrameFormat.bottomMargin?4() -> float +QtGui.QTextFrameFormat.leftMargin?4() -> float +QtGui.QTextFrameFormat.rightMargin?4() -> float +QtGui.QTextFrameFormat.setTopMargin?4(float) +QtGui.QTextFrameFormat.setBottomMargin?4(float) +QtGui.QTextFrameFormat.setLeftMargin?4(float) +QtGui.QTextFrameFormat.setRightMargin?4(float) +QtGui.QTextTableFormat?1() +QtGui.QTextTableFormat.__init__?1(self) +QtGui.QTextTableFormat?1(QTextTableFormat) +QtGui.QTextTableFormat.__init__?1(self, QTextTableFormat) +QtGui.QTextTableFormat.isValid?4() -> bool +QtGui.QTextTableFormat.columns?4() -> int +QtGui.QTextTableFormat.setColumnWidthConstraints?4(unknown-type) +QtGui.QTextTableFormat.columnWidthConstraints?4() -> unknown-type +QtGui.QTextTableFormat.clearColumnWidthConstraints?4() +QtGui.QTextTableFormat.cellSpacing?4() -> float +QtGui.QTextTableFormat.setCellSpacing?4(float) +QtGui.QTextTableFormat.cellPadding?4() -> float +QtGui.QTextTableFormat.alignment?4() -> Qt.Alignment +QtGui.QTextTableFormat.setColumns?4(int) +QtGui.QTextTableFormat.setCellPadding?4(float) +QtGui.QTextTableFormat.setAlignment?4(Qt.Alignment) +QtGui.QTextTableFormat.setHeaderRowCount?4(int) +QtGui.QTextTableFormat.headerRowCount?4() -> int +QtGui.QTextTableFormat.setBorderCollapse?4(bool) +QtGui.QTextTableFormat.borderCollapse?4() -> bool +QtGui.QTextTableCellFormat?1() +QtGui.QTextTableCellFormat.__init__?1(self) +QtGui.QTextTableCellFormat?1(QTextTableCellFormat) +QtGui.QTextTableCellFormat.__init__?1(self, QTextTableCellFormat) +QtGui.QTextTableCellFormat.isValid?4() -> bool +QtGui.QTextTableCellFormat.setTopPadding?4(float) +QtGui.QTextTableCellFormat.topPadding?4() -> float +QtGui.QTextTableCellFormat.setBottomPadding?4(float) +QtGui.QTextTableCellFormat.bottomPadding?4() -> float +QtGui.QTextTableCellFormat.setLeftPadding?4(float) +QtGui.QTextTableCellFormat.leftPadding?4() -> float +QtGui.QTextTableCellFormat.setRightPadding?4(float) +QtGui.QTextTableCellFormat.rightPadding?4() -> float +QtGui.QTextTableCellFormat.setPadding?4(float) +QtGui.QTextTableCellFormat.setTopBorder?4(float) +QtGui.QTextTableCellFormat.topBorder?4() -> float +QtGui.QTextTableCellFormat.setBottomBorder?4(float) +QtGui.QTextTableCellFormat.bottomBorder?4() -> float +QtGui.QTextTableCellFormat.setLeftBorder?4(float) +QtGui.QTextTableCellFormat.leftBorder?4() -> float +QtGui.QTextTableCellFormat.setRightBorder?4(float) +QtGui.QTextTableCellFormat.rightBorder?4() -> float +QtGui.QTextTableCellFormat.setBorder?4(float) +QtGui.QTextTableCellFormat.setTopBorderStyle?4(QTextFrameFormat.BorderStyle) +QtGui.QTextTableCellFormat.topBorderStyle?4() -> QTextFrameFormat.BorderStyle +QtGui.QTextTableCellFormat.setBottomBorderStyle?4(QTextFrameFormat.BorderStyle) +QtGui.QTextTableCellFormat.bottomBorderStyle?4() -> QTextFrameFormat.BorderStyle +QtGui.QTextTableCellFormat.setLeftBorderStyle?4(QTextFrameFormat.BorderStyle) +QtGui.QTextTableCellFormat.leftBorderStyle?4() -> QTextFrameFormat.BorderStyle +QtGui.QTextTableCellFormat.setRightBorderStyle?4(QTextFrameFormat.BorderStyle) +QtGui.QTextTableCellFormat.rightBorderStyle?4() -> QTextFrameFormat.BorderStyle +QtGui.QTextTableCellFormat.setBorderStyle?4(QTextFrameFormat.BorderStyle) +QtGui.QTextTableCellFormat.setTopBorderBrush?4(QBrush) +QtGui.QTextTableCellFormat.topBorderBrush?4() -> QBrush +QtGui.QTextTableCellFormat.setBottomBorderBrush?4(QBrush) +QtGui.QTextTableCellFormat.bottomBorderBrush?4() -> QBrush +QtGui.QTextTableCellFormat.setLeftBorderBrush?4(QBrush) +QtGui.QTextTableCellFormat.leftBorderBrush?4() -> QBrush +QtGui.QTextTableCellFormat.setRightBorderBrush?4(QBrush) +QtGui.QTextTableCellFormat.rightBorderBrush?4() -> QBrush +QtGui.QTextTableCellFormat.setBorderBrush?4(QBrush) +QtGui.QTextInlineObject?1() +QtGui.QTextInlineObject.__init__?1(self) +QtGui.QTextInlineObject?1(QTextInlineObject) +QtGui.QTextInlineObject.__init__?1(self, QTextInlineObject) +QtGui.QTextInlineObject.isValid?4() -> bool +QtGui.QTextInlineObject.rect?4() -> QRectF +QtGui.QTextInlineObject.width?4() -> float +QtGui.QTextInlineObject.ascent?4() -> float +QtGui.QTextInlineObject.descent?4() -> float +QtGui.QTextInlineObject.height?4() -> float +QtGui.QTextInlineObject.textDirection?4() -> Qt.LayoutDirection +QtGui.QTextInlineObject.setWidth?4(float) +QtGui.QTextInlineObject.setAscent?4(float) +QtGui.QTextInlineObject.setDescent?4(float) +QtGui.QTextInlineObject.textPosition?4() -> int +QtGui.QTextInlineObject.formatIndex?4() -> int +QtGui.QTextInlineObject.format?4() -> QTextFormat +QtGui.QTextLayout.CursorMode?10 +QtGui.QTextLayout.CursorMode.SkipCharacters?10 +QtGui.QTextLayout.CursorMode.SkipWords?10 +QtGui.QTextLayout?1() +QtGui.QTextLayout.__init__?1(self) +QtGui.QTextLayout?1(QString) +QtGui.QTextLayout.__init__?1(self, QString) +QtGui.QTextLayout?1(QString, QFont, QPaintDevice paintDevice=None) +QtGui.QTextLayout.__init__?1(self, QString, QFont, QPaintDevice paintDevice=None) +QtGui.QTextLayout?1(QTextBlock) +QtGui.QTextLayout.__init__?1(self, QTextBlock) +QtGui.QTextLayout.setFont?4(QFont) +QtGui.QTextLayout.font?4() -> QFont +QtGui.QTextLayout.setText?4(QString) +QtGui.QTextLayout.text?4() -> QString +QtGui.QTextLayout.setTextOption?4(QTextOption) +QtGui.QTextLayout.textOption?4() -> QTextOption +QtGui.QTextLayout.setPreeditArea?4(int, QString) +QtGui.QTextLayout.preeditAreaPosition?4() -> int +QtGui.QTextLayout.preeditAreaText?4() -> QString +QtGui.QTextLayout.setAdditionalFormats?4(unknown-type) +QtGui.QTextLayout.additionalFormats?4() -> unknown-type +QtGui.QTextLayout.clearAdditionalFormats?4() +QtGui.QTextLayout.setCacheEnabled?4(bool) +QtGui.QTextLayout.cacheEnabled?4() -> bool +QtGui.QTextLayout.beginLayout?4() +QtGui.QTextLayout.endLayout?4() +QtGui.QTextLayout.createLine?4() -> QTextLine +QtGui.QTextLayout.lineCount?4() -> int +QtGui.QTextLayout.lineAt?4(int) -> QTextLine +QtGui.QTextLayout.lineForTextPosition?4(int) -> QTextLine +QtGui.QTextLayout.isValidCursorPosition?4(int) -> bool +QtGui.QTextLayout.nextCursorPosition?4(int, QTextLayout.CursorMode mode=QTextLayout.SkipCharacters) -> int +QtGui.QTextLayout.previousCursorPosition?4(int, QTextLayout.CursorMode mode=QTextLayout.SkipCharacters) -> int +QtGui.QTextLayout.draw?4(QPainter, QPointF, unknown-type selections=[], QRectF clip=QRectF()) +QtGui.QTextLayout.drawCursor?4(QPainter, QPointF, int) +QtGui.QTextLayout.drawCursor?4(QPainter, QPointF, int, int) +QtGui.QTextLayout.position?4() -> QPointF +QtGui.QTextLayout.setPosition?4(QPointF) +QtGui.QTextLayout.boundingRect?4() -> QRectF +QtGui.QTextLayout.minimumWidth?4() -> float +QtGui.QTextLayout.maximumWidth?4() -> float +QtGui.QTextLayout.clearLayout?4() +QtGui.QTextLayout.setCursorMoveStyle?4(Qt.CursorMoveStyle) +QtGui.QTextLayout.cursorMoveStyle?4() -> Qt.CursorMoveStyle +QtGui.QTextLayout.leftCursorPosition?4(int) -> int +QtGui.QTextLayout.rightCursorPosition?4(int) -> int +QtGui.QTextLayout.glyphRuns?4(int from=-1, int length=-1) -> unknown-type +QtGui.QTextLayout.setFormats?4(unknown-type) +QtGui.QTextLayout.formats?4() -> unknown-type +QtGui.QTextLayout.clearFormats?4() +QtGui.QTextLayout.FormatRange.format?7 +QtGui.QTextLayout.FormatRange.length?7 +QtGui.QTextLayout.FormatRange.start?7 +QtGui.QTextLayout.FormatRange?1() +QtGui.QTextLayout.FormatRange.__init__?1(self) +QtGui.QTextLayout.FormatRange?1(QTextLayout.FormatRange) +QtGui.QTextLayout.FormatRange.__init__?1(self, QTextLayout.FormatRange) +QtGui.QTextLine.CursorPosition?10 +QtGui.QTextLine.CursorPosition.CursorBetweenCharacters?10 +QtGui.QTextLine.CursorPosition.CursorOnCharacter?10 +QtGui.QTextLine.Edge?10 +QtGui.QTextLine.Edge.Leading?10 +QtGui.QTextLine.Edge.Trailing?10 +QtGui.QTextLine?1() +QtGui.QTextLine.__init__?1(self) +QtGui.QTextLine?1(QTextLine) +QtGui.QTextLine.__init__?1(self, QTextLine) +QtGui.QTextLine.isValid?4() -> bool +QtGui.QTextLine.rect?4() -> QRectF +QtGui.QTextLine.x?4() -> float +QtGui.QTextLine.y?4() -> float +QtGui.QTextLine.width?4() -> float +QtGui.QTextLine.ascent?4() -> float +QtGui.QTextLine.descent?4() -> float +QtGui.QTextLine.height?4() -> float +QtGui.QTextLine.naturalTextWidth?4() -> float +QtGui.QTextLine.naturalTextRect?4() -> QRectF +QtGui.QTextLine.cursorToX?4(int, QTextLine.Edge edge=QTextLine.Leading) -> (float, int) +QtGui.QTextLine.xToCursor?4(float, QTextLine.CursorPosition edge=QTextLine.CursorBetweenCharacters) -> int +QtGui.QTextLine.setLineWidth?4(float) +QtGui.QTextLine.setNumColumns?4(int) +QtGui.QTextLine.setNumColumns?4(int, float) +QtGui.QTextLine.setPosition?4(QPointF) +QtGui.QTextLine.textStart?4() -> int +QtGui.QTextLine.textLength?4() -> int +QtGui.QTextLine.lineNumber?4() -> int +QtGui.QTextLine.draw?4(QPainter, QPointF, QTextLayout.FormatRange selection=None) +QtGui.QTextLine.position?4() -> QPointF +QtGui.QTextLine.leading?4() -> float +QtGui.QTextLine.setLeadingIncluded?4(bool) +QtGui.QTextLine.leadingIncluded?4() -> bool +QtGui.QTextLine.horizontalAdvance?4() -> float +QtGui.QTextLine.glyphRuns?4(int from=-1, int length=-1) -> unknown-type +QtGui.QTextObject?1(QTextDocument) +QtGui.QTextObject.__init__?1(self, QTextDocument) +QtGui.QTextObject.setFormat?4(QTextFormat) +QtGui.QTextObject.format?4() -> QTextFormat +QtGui.QTextObject.formatIndex?4() -> int +QtGui.QTextObject.document?4() -> QTextDocument +QtGui.QTextObject.objectIndex?4() -> int +QtGui.QTextBlockGroup?1(QTextDocument) +QtGui.QTextBlockGroup.__init__?1(self, QTextDocument) +QtGui.QTextBlockGroup.blockInserted?4(QTextBlock) +QtGui.QTextBlockGroup.blockRemoved?4(QTextBlock) +QtGui.QTextBlockGroup.blockFormatChanged?4(QTextBlock) +QtGui.QTextBlockGroup.blockList?4() -> unknown-type +QtGui.QTextList?1(QTextDocument) +QtGui.QTextList.__init__?1(self, QTextDocument) +QtGui.QTextList.count?4() -> int +QtGui.QTextList.item?4(int) -> QTextBlock +QtGui.QTextList.itemNumber?4(QTextBlock) -> int +QtGui.QTextList.itemText?4(QTextBlock) -> QString +QtGui.QTextList.removeItem?4(int) +QtGui.QTextList.remove?4(QTextBlock) +QtGui.QTextList.add?4(QTextBlock) +QtGui.QTextList.format?4() -> QTextListFormat +QtGui.QTextList.setFormat?4(QTextListFormat) +QtGui.QTextFrame?1(QTextDocument) +QtGui.QTextFrame.__init__?1(self, QTextDocument) +QtGui.QTextFrame.frameFormat?4() -> QTextFrameFormat +QtGui.QTextFrame.firstCursorPosition?4() -> QTextCursor +QtGui.QTextFrame.lastCursorPosition?4() -> QTextCursor +QtGui.QTextFrame.firstPosition?4() -> int +QtGui.QTextFrame.lastPosition?4() -> int +QtGui.QTextFrame.childFrames?4() -> unknown-type +QtGui.QTextFrame.parentFrame?4() -> QTextFrame +QtGui.QTextFrame.begin?4() -> QTextFrame.iterator +QtGui.QTextFrame.end?4() -> QTextFrame.iterator +QtGui.QTextFrame.setFrameFormat?4(QTextFrameFormat) +QtGui.QTextFrame.iterator?1() +QtGui.QTextFrame.iterator.__init__?1(self) +QtGui.QTextFrame.iterator?1(QTextFrame.iterator) +QtGui.QTextFrame.iterator.__init__?1(self, QTextFrame.iterator) +QtGui.QTextFrame.iterator.parentFrame?4() -> QTextFrame +QtGui.QTextFrame.iterator.currentFrame?4() -> QTextFrame +QtGui.QTextFrame.iterator.currentBlock?4() -> QTextBlock +QtGui.QTextFrame.iterator.atEnd?4() -> bool +QtGui.QTextBlock?1() +QtGui.QTextBlock.__init__?1(self) +QtGui.QTextBlock?1(QTextBlock) +QtGui.QTextBlock.__init__?1(self, QTextBlock) +QtGui.QTextBlock.isValid?4() -> bool +QtGui.QTextBlock.position?4() -> int +QtGui.QTextBlock.length?4() -> int +QtGui.QTextBlock.contains?4(int) -> bool +QtGui.QTextBlock.layout?4() -> QTextLayout +QtGui.QTextBlock.blockFormat?4() -> QTextBlockFormat +QtGui.QTextBlock.blockFormatIndex?4() -> int +QtGui.QTextBlock.charFormat?4() -> QTextCharFormat +QtGui.QTextBlock.charFormatIndex?4() -> int +QtGui.QTextBlock.text?4() -> QString +QtGui.QTextBlock.document?4() -> QTextDocument +QtGui.QTextBlock.textList?4() -> QTextList +QtGui.QTextBlock.begin?4() -> QTextBlock.iterator +QtGui.QTextBlock.end?4() -> QTextBlock.iterator +QtGui.QTextBlock.next?4() -> QTextBlock +QtGui.QTextBlock.previous?4() -> QTextBlock +QtGui.QTextBlock.userData?4() -> QTextBlockUserData +QtGui.QTextBlock.setUserData?4(QTextBlockUserData) +QtGui.QTextBlock.userState?4() -> int +QtGui.QTextBlock.setUserState?4(int) +QtGui.QTextBlock.clearLayout?4() +QtGui.QTextBlock.revision?4() -> int +QtGui.QTextBlock.setRevision?4(int) +QtGui.QTextBlock.isVisible?4() -> bool +QtGui.QTextBlock.setVisible?4(bool) +QtGui.QTextBlock.blockNumber?4() -> int +QtGui.QTextBlock.firstLineNumber?4() -> int +QtGui.QTextBlock.setLineCount?4(int) +QtGui.QTextBlock.lineCount?4() -> int +QtGui.QTextBlock.textDirection?4() -> Qt.LayoutDirection +QtGui.QTextBlock.textFormats?4() -> unknown-type +QtGui.QTextBlock.iterator?1() +QtGui.QTextBlock.iterator.__init__?1(self) +QtGui.QTextBlock.iterator?1(QTextBlock.iterator) +QtGui.QTextBlock.iterator.__init__?1(self, QTextBlock.iterator) +QtGui.QTextBlock.iterator.fragment?4() -> QTextFragment +QtGui.QTextBlock.iterator.atEnd?4() -> bool +QtGui.QTextFragment?1() +QtGui.QTextFragment.__init__?1(self) +QtGui.QTextFragment?1(QTextFragment) +QtGui.QTextFragment.__init__?1(self, QTextFragment) +QtGui.QTextFragment.isValid?4() -> bool +QtGui.QTextFragment.position?4() -> int +QtGui.QTextFragment.length?4() -> int +QtGui.QTextFragment.contains?4(int) -> bool +QtGui.QTextFragment.charFormat?4() -> QTextCharFormat +QtGui.QTextFragment.charFormatIndex?4() -> int +QtGui.QTextFragment.text?4() -> QString +QtGui.QTextFragment.glyphRuns?4(int from=-1, int length=-1) -> unknown-type +QtGui.QTextBlockUserData?1() +QtGui.QTextBlockUserData.__init__?1(self) +QtGui.QTextBlockUserData?1(QTextBlockUserData) +QtGui.QTextBlockUserData.__init__?1(self, QTextBlockUserData) +QtGui.QTextOption.TabType?10 +QtGui.QTextOption.TabType.LeftTab?10 +QtGui.QTextOption.TabType.RightTab?10 +QtGui.QTextOption.TabType.CenterTab?10 +QtGui.QTextOption.TabType.DelimiterTab?10 +QtGui.QTextOption.Flag?10 +QtGui.QTextOption.Flag.IncludeTrailingSpaces?10 +QtGui.QTextOption.Flag.ShowTabsAndSpaces?10 +QtGui.QTextOption.Flag.ShowLineAndParagraphSeparators?10 +QtGui.QTextOption.Flag.AddSpaceForLineAndParagraphSeparators?10 +QtGui.QTextOption.Flag.SuppressColors?10 +QtGui.QTextOption.Flag.ShowDocumentTerminator?10 +QtGui.QTextOption.WrapMode?10 +QtGui.QTextOption.WrapMode.NoWrap?10 +QtGui.QTextOption.WrapMode.WordWrap?10 +QtGui.QTextOption.WrapMode.ManualWrap?10 +QtGui.QTextOption.WrapMode.WrapAnywhere?10 +QtGui.QTextOption.WrapMode.WrapAtWordBoundaryOrAnywhere?10 +QtGui.QTextOption?1() +QtGui.QTextOption.__init__?1(self) +QtGui.QTextOption?1(Qt.Alignment) +QtGui.QTextOption.__init__?1(self, Qt.Alignment) +QtGui.QTextOption?1(QTextOption) +QtGui.QTextOption.__init__?1(self, QTextOption) +QtGui.QTextOption.alignment?4() -> Qt.Alignment +QtGui.QTextOption.setTextDirection?4(Qt.LayoutDirection) +QtGui.QTextOption.textDirection?4() -> Qt.LayoutDirection +QtGui.QTextOption.setWrapMode?4(QTextOption.WrapMode) +QtGui.QTextOption.wrapMode?4() -> QTextOption.WrapMode +QtGui.QTextOption.flags?4() -> QTextOption.Flags +QtGui.QTextOption.tabStop?4() -> float +QtGui.QTextOption.setTabArray?4(unknown-type) +QtGui.QTextOption.tabArray?4() -> unknown-type +QtGui.QTextOption.setUseDesignMetrics?4(bool) +QtGui.QTextOption.useDesignMetrics?4() -> bool +QtGui.QTextOption.setAlignment?4(Qt.Alignment) +QtGui.QTextOption.setFlags?4(QTextOption.Flags) +QtGui.QTextOption.setTabStop?4(float) +QtGui.QTextOption.setTabs?4(unknown-type) +QtGui.QTextOption.tabs?4() -> unknown-type +QtGui.QTextOption.setTabStopDistance?4(float) +QtGui.QTextOption.tabStopDistance?4() -> float +QtGui.QTextOption.Flags?1() +QtGui.QTextOption.Flags.__init__?1(self) +QtGui.QTextOption.Flags?1(int) +QtGui.QTextOption.Flags.__init__?1(self, int) +QtGui.QTextOption.Flags?1(QTextOption.Flags) +QtGui.QTextOption.Flags.__init__?1(self, QTextOption.Flags) +QtGui.QTextOption.Tab.delimiter?7 +QtGui.QTextOption.Tab.position?7 +QtGui.QTextOption.Tab.type?7 +QtGui.QTextOption.Tab?1() +QtGui.QTextOption.Tab.__init__?1(self) +QtGui.QTextOption.Tab?1(float, QTextOption.TabType, QChar delim='') +QtGui.QTextOption.Tab.__init__?1(self, float, QTextOption.TabType, QChar delim='') +QtGui.QTextOption.Tab?1(QTextOption.Tab) +QtGui.QTextOption.Tab.__init__?1(self, QTextOption.Tab) +QtGui.QTextTableCell?1() +QtGui.QTextTableCell.__init__?1(self) +QtGui.QTextTableCell?1(QTextTableCell) +QtGui.QTextTableCell.__init__?1(self, QTextTableCell) +QtGui.QTextTableCell.format?4() -> QTextCharFormat +QtGui.QTextTableCell.setFormat?4(QTextCharFormat) +QtGui.QTextTableCell.row?4() -> int +QtGui.QTextTableCell.column?4() -> int +QtGui.QTextTableCell.rowSpan?4() -> int +QtGui.QTextTableCell.columnSpan?4() -> int +QtGui.QTextTableCell.isValid?4() -> bool +QtGui.QTextTableCell.firstCursorPosition?4() -> QTextCursor +QtGui.QTextTableCell.lastCursorPosition?4() -> QTextCursor +QtGui.QTextTableCell.tableCellFormatIndex?4() -> int +QtGui.QTextTable?1(QTextDocument) +QtGui.QTextTable.__init__?1(self, QTextDocument) +QtGui.QTextTable.resize?4(int, int) +QtGui.QTextTable.insertRows?4(int, int) +QtGui.QTextTable.insertColumns?4(int, int) +QtGui.QTextTable.removeRows?4(int, int) +QtGui.QTextTable.removeColumns?4(int, int) +QtGui.QTextTable.mergeCells?4(int, int, int, int) +QtGui.QTextTable.mergeCells?4(QTextCursor) +QtGui.QTextTable.splitCell?4(int, int, int, int) +QtGui.QTextTable.rows?4() -> int +QtGui.QTextTable.columns?4() -> int +QtGui.QTextTable.cellAt?4(int, int) -> QTextTableCell +QtGui.QTextTable.cellAt?4(int) -> QTextTableCell +QtGui.QTextTable.cellAt?4(QTextCursor) -> QTextTableCell +QtGui.QTextTable.rowStart?4(QTextCursor) -> QTextCursor +QtGui.QTextTable.rowEnd?4(QTextCursor) -> QTextCursor +QtGui.QTextTable.format?4() -> QTextTableFormat +QtGui.QTextTable.setFormat?4(QTextTableFormat) +QtGui.QTextTable.appendRows?4(int) +QtGui.QTextTable.appendColumns?4(int) +QtGui.QTouchDevice.CapabilityFlag?10 +QtGui.QTouchDevice.CapabilityFlag.Position?10 +QtGui.QTouchDevice.CapabilityFlag.Area?10 +QtGui.QTouchDevice.CapabilityFlag.Pressure?10 +QtGui.QTouchDevice.CapabilityFlag.Velocity?10 +QtGui.QTouchDevice.CapabilityFlag.RawPositions?10 +QtGui.QTouchDevice.CapabilityFlag.NormalizedPosition?10 +QtGui.QTouchDevice.CapabilityFlag.MouseEmulation?10 +QtGui.QTouchDevice.DeviceType?10 +QtGui.QTouchDevice.DeviceType.TouchScreen?10 +QtGui.QTouchDevice.DeviceType.TouchPad?10 +QtGui.QTouchDevice?1() +QtGui.QTouchDevice.__init__?1(self) +QtGui.QTouchDevice?1(QTouchDevice) +QtGui.QTouchDevice.__init__?1(self, QTouchDevice) +QtGui.QTouchDevice.devices?4() -> unknown-type +QtGui.QTouchDevice.name?4() -> QString +QtGui.QTouchDevice.type?4() -> QTouchDevice.DeviceType +QtGui.QTouchDevice.capabilities?4() -> QTouchDevice.Capabilities +QtGui.QTouchDevice.setName?4(QString) +QtGui.QTouchDevice.setType?4(QTouchDevice.DeviceType) +QtGui.QTouchDevice.setCapabilities?4(QTouchDevice.Capabilities) +QtGui.QTouchDevice.maximumTouchPoints?4() -> int +QtGui.QTouchDevice.setMaximumTouchPoints?4(int) +QtGui.QTouchDevice.Capabilities?1() +QtGui.QTouchDevice.Capabilities.__init__?1(self) +QtGui.QTouchDevice.Capabilities?1(int) +QtGui.QTouchDevice.Capabilities.__init__?1(self, int) +QtGui.QTouchDevice.Capabilities?1(QTouchDevice.Capabilities) +QtGui.QTouchDevice.Capabilities.__init__?1(self, QTouchDevice.Capabilities) +QtGui.QTransform.TransformationType?10 +QtGui.QTransform.TransformationType.TxNone?10 +QtGui.QTransform.TransformationType.TxTranslate?10 +QtGui.QTransform.TransformationType.TxScale?10 +QtGui.QTransform.TransformationType.TxRotate?10 +QtGui.QTransform.TransformationType.TxShear?10 +QtGui.QTransform.TransformationType.TxProject?10 +QtGui.QTransform?1() +QtGui.QTransform.__init__?1(self) +QtGui.QTransform?1(float, float, float, float, float, float, float, float, float m33=1) +QtGui.QTransform.__init__?1(self, float, float, float, float, float, float, float, float, float m33=1) +QtGui.QTransform?1(float, float, float, float, float, float) +QtGui.QTransform.__init__?1(self, float, float, float, float, float, float) +QtGui.QTransform?1(QTransform) +QtGui.QTransform.__init__?1(self, QTransform) +QtGui.QTransform.type?4() -> QTransform.TransformationType +QtGui.QTransform.setMatrix?4(float, float, float, float, float, float, float, float, float) +QtGui.QTransform.inverted?4() -> (QTransform, bool) +QtGui.QTransform.adjoint?4() -> QTransform +QtGui.QTransform.transposed?4() -> QTransform +QtGui.QTransform.translate?4(float, float) -> QTransform +QtGui.QTransform.scale?4(float, float) -> QTransform +QtGui.QTransform.shear?4(float, float) -> QTransform +QtGui.QTransform.rotate?4(float, Qt.Axis axis=Qt.ZAxis) -> QTransform +QtGui.QTransform.rotateRadians?4(float, Qt.Axis axis=Qt.ZAxis) -> QTransform +QtGui.QTransform.squareToQuad?4(QPolygonF, QTransform) -> bool +QtGui.QTransform.quadToSquare?4(QPolygonF, QTransform) -> bool +QtGui.QTransform.quadToQuad?4(QPolygonF, QPolygonF, QTransform) -> bool +QtGui.QTransform.reset?4() +QtGui.QTransform.map?4(int, int) -> (int, int) +QtGui.QTransform.map?4(float, float) -> (float, float) +QtGui.QTransform.map?4(QPoint) -> QPoint +QtGui.QTransform.map?4(QPointF) -> QPointF +QtGui.QTransform.map?4(QLine) -> QLine +QtGui.QTransform.map?4(QLineF) -> QLineF +QtGui.QTransform.map?4(QPolygonF) -> QPolygonF +QtGui.QTransform.map?4(QPolygon) -> QPolygon +QtGui.QTransform.map?4(QRegion) -> QRegion +QtGui.QTransform.map?4(QPainterPath) -> QPainterPath +QtGui.QTransform.mapToPolygon?4(QRect) -> QPolygon +QtGui.QTransform.mapRect?4(QRect) -> QRect +QtGui.QTransform.mapRect?4(QRectF) -> QRectF +QtGui.QTransform.isAffine?4() -> bool +QtGui.QTransform.isIdentity?4() -> bool +QtGui.QTransform.isInvertible?4() -> bool +QtGui.QTransform.isScaling?4() -> bool +QtGui.QTransform.isRotating?4() -> bool +QtGui.QTransform.isTranslating?4() -> bool +QtGui.QTransform.determinant?4() -> float +QtGui.QTransform.m11?4() -> float +QtGui.QTransform.m12?4() -> float +QtGui.QTransform.m13?4() -> float +QtGui.QTransform.m21?4() -> float +QtGui.QTransform.m22?4() -> float +QtGui.QTransform.m23?4() -> float +QtGui.QTransform.m31?4() -> float +QtGui.QTransform.m32?4() -> float +QtGui.QTransform.m33?4() -> float +QtGui.QTransform.dx?4() -> float +QtGui.QTransform.dy?4() -> float +QtGui.QTransform.fromTranslate?4(float, float) -> QTransform +QtGui.QTransform.fromScale?4(float, float) -> QTransform +QtGui.QValidator.State?10 +QtGui.QValidator.State.Invalid?10 +QtGui.QValidator.State.Intermediate?10 +QtGui.QValidator.State.Acceptable?10 +QtGui.QValidator?1(QObject parent=None) +QtGui.QValidator.__init__?1(self, QObject parent=None) +QtGui.QValidator.validate?4(QString, int) -> (QValidator.State, QString, int) +QtGui.QValidator.fixup?4(QString) -> QString +QtGui.QValidator.setLocale?4(QLocale) +QtGui.QValidator.locale?4() -> QLocale +QtGui.QValidator.changed?4() +QtGui.QIntValidator?1(QObject parent=None) +QtGui.QIntValidator.__init__?1(self, QObject parent=None) +QtGui.QIntValidator?1(int, int, QObject parent=None) +QtGui.QIntValidator.__init__?1(self, int, int, QObject parent=None) +QtGui.QIntValidator.validate?4(QString, int) -> (QValidator.State, QString, int) +QtGui.QIntValidator.fixup?4(QString) -> QString +QtGui.QIntValidator.setBottom?4(int) +QtGui.QIntValidator.setTop?4(int) +QtGui.QIntValidator.setRange?4(int, int) +QtGui.QIntValidator.bottom?4() -> int +QtGui.QIntValidator.top?4() -> int +QtGui.QDoubleValidator.Notation?10 +QtGui.QDoubleValidator.Notation.StandardNotation?10 +QtGui.QDoubleValidator.Notation.ScientificNotation?10 +QtGui.QDoubleValidator?1(QObject parent=None) +QtGui.QDoubleValidator.__init__?1(self, QObject parent=None) +QtGui.QDoubleValidator?1(float, float, int, QObject parent=None) +QtGui.QDoubleValidator.__init__?1(self, float, float, int, QObject parent=None) +QtGui.QDoubleValidator.validate?4(QString, int) -> (QValidator.State, QString, int) +QtGui.QDoubleValidator.setRange?4(float, float, int decimals=0) +QtGui.QDoubleValidator.setBottom?4(float) +QtGui.QDoubleValidator.setTop?4(float) +QtGui.QDoubleValidator.setDecimals?4(int) +QtGui.QDoubleValidator.bottom?4() -> float +QtGui.QDoubleValidator.top?4() -> float +QtGui.QDoubleValidator.decimals?4() -> int +QtGui.QDoubleValidator.setNotation?4(QDoubleValidator.Notation) +QtGui.QDoubleValidator.notation?4() -> QDoubleValidator.Notation +QtGui.QRegExpValidator?1(QObject parent=None) +QtGui.QRegExpValidator.__init__?1(self, QObject parent=None) +QtGui.QRegExpValidator?1(QRegExp, QObject parent=None) +QtGui.QRegExpValidator.__init__?1(self, QRegExp, QObject parent=None) +QtGui.QRegExpValidator.validate?4(QString, int) -> (QValidator.State, QString, int) +QtGui.QRegExpValidator.setRegExp?4(QRegExp) +QtGui.QRegExpValidator.regExp?4() -> QRegExp +QtGui.QRegularExpressionValidator?1(QObject parent=None) +QtGui.QRegularExpressionValidator.__init__?1(self, QObject parent=None) +QtGui.QRegularExpressionValidator?1(QRegularExpression, QObject parent=None) +QtGui.QRegularExpressionValidator.__init__?1(self, QRegularExpression, QObject parent=None) +QtGui.QRegularExpressionValidator.validate?4(QString, int) -> (QValidator.State, QString, int) +QtGui.QRegularExpressionValidator.regularExpression?4() -> QRegularExpression +QtGui.QRegularExpressionValidator.setRegularExpression?4(QRegularExpression) +QtGui.QVector2D?1() +QtGui.QVector2D.__init__?1(self) +QtGui.QVector2D?1(float, float) +QtGui.QVector2D.__init__?1(self, float, float) +QtGui.QVector2D?1(QPoint) +QtGui.QVector2D.__init__?1(self, QPoint) +QtGui.QVector2D?1(QPointF) +QtGui.QVector2D.__init__?1(self, QPointF) +QtGui.QVector2D?1(QVector3D) +QtGui.QVector2D.__init__?1(self, QVector3D) +QtGui.QVector2D?1(QVector4D) +QtGui.QVector2D.__init__?1(self, QVector4D) +QtGui.QVector2D?1(QVector2D) +QtGui.QVector2D.__init__?1(self, QVector2D) +QtGui.QVector2D.length?4() -> float +QtGui.QVector2D.lengthSquared?4() -> float +QtGui.QVector2D.normalized?4() -> QVector2D +QtGui.QVector2D.normalize?4() +QtGui.QVector2D.dotProduct?4(QVector2D, QVector2D) -> float +QtGui.QVector2D.toVector3D?4() -> QVector3D +QtGui.QVector2D.toVector4D?4() -> QVector4D +QtGui.QVector2D.isNull?4() -> bool +QtGui.QVector2D.x?4() -> float +QtGui.QVector2D.y?4() -> float +QtGui.QVector2D.setX?4(float) +QtGui.QVector2D.setY?4(float) +QtGui.QVector2D.toPoint?4() -> QPoint +QtGui.QVector2D.toPointF?4() -> QPointF +QtGui.QVector2D.distanceToPoint?4(QVector2D) -> float +QtGui.QVector2D.distanceToLine?4(QVector2D, QVector2D) -> float +QtGui.QVector3D?1() +QtGui.QVector3D.__init__?1(self) +QtGui.QVector3D?1(float, float, float) +QtGui.QVector3D.__init__?1(self, float, float, float) +QtGui.QVector3D?1(QPoint) +QtGui.QVector3D.__init__?1(self, QPoint) +QtGui.QVector3D?1(QPointF) +QtGui.QVector3D.__init__?1(self, QPointF) +QtGui.QVector3D?1(QVector2D) +QtGui.QVector3D.__init__?1(self, QVector2D) +QtGui.QVector3D?1(QVector2D, float) +QtGui.QVector3D.__init__?1(self, QVector2D, float) +QtGui.QVector3D?1(QVector4D) +QtGui.QVector3D.__init__?1(self, QVector4D) +QtGui.QVector3D?1(QVector3D) +QtGui.QVector3D.__init__?1(self, QVector3D) +QtGui.QVector3D.length?4() -> float +QtGui.QVector3D.lengthSquared?4() -> float +QtGui.QVector3D.normalized?4() -> QVector3D +QtGui.QVector3D.normalize?4() +QtGui.QVector3D.dotProduct?4(QVector3D, QVector3D) -> float +QtGui.QVector3D.crossProduct?4(QVector3D, QVector3D) -> QVector3D +QtGui.QVector3D.normal?4(QVector3D, QVector3D) -> QVector3D +QtGui.QVector3D.normal?4(QVector3D, QVector3D, QVector3D) -> QVector3D +QtGui.QVector3D.distanceToPlane?4(QVector3D, QVector3D) -> float +QtGui.QVector3D.distanceToPlane?4(QVector3D, QVector3D, QVector3D) -> float +QtGui.QVector3D.distanceToLine?4(QVector3D, QVector3D) -> float +QtGui.QVector3D.toVector2D?4() -> QVector2D +QtGui.QVector3D.toVector4D?4() -> QVector4D +QtGui.QVector3D.isNull?4() -> bool +QtGui.QVector3D.x?4() -> float +QtGui.QVector3D.y?4() -> float +QtGui.QVector3D.z?4() -> float +QtGui.QVector3D.setX?4(float) +QtGui.QVector3D.setY?4(float) +QtGui.QVector3D.setZ?4(float) +QtGui.QVector3D.toPoint?4() -> QPoint +QtGui.QVector3D.toPointF?4() -> QPointF +QtGui.QVector3D.distanceToPoint?4(QVector3D) -> float +QtGui.QVector3D.project?4(QMatrix4x4, QMatrix4x4, QRect) -> QVector3D +QtGui.QVector3D.unproject?4(QMatrix4x4, QMatrix4x4, QRect) -> QVector3D +QtGui.QVector4D?1() +QtGui.QVector4D.__init__?1(self) +QtGui.QVector4D?1(float, float, float, float) +QtGui.QVector4D.__init__?1(self, float, float, float, float) +QtGui.QVector4D?1(QPoint) +QtGui.QVector4D.__init__?1(self, QPoint) +QtGui.QVector4D?1(QPointF) +QtGui.QVector4D.__init__?1(self, QPointF) +QtGui.QVector4D?1(QVector2D) +QtGui.QVector4D.__init__?1(self, QVector2D) +QtGui.QVector4D?1(QVector2D, float, float) +QtGui.QVector4D.__init__?1(self, QVector2D, float, float) +QtGui.QVector4D?1(QVector3D) +QtGui.QVector4D.__init__?1(self, QVector3D) +QtGui.QVector4D?1(QVector3D, float) +QtGui.QVector4D.__init__?1(self, QVector3D, float) +QtGui.QVector4D?1(QVector4D) +QtGui.QVector4D.__init__?1(self, QVector4D) +QtGui.QVector4D.length?4() -> float +QtGui.QVector4D.lengthSquared?4() -> float +QtGui.QVector4D.normalized?4() -> QVector4D +QtGui.QVector4D.normalize?4() +QtGui.QVector4D.dotProduct?4(QVector4D, QVector4D) -> float +QtGui.QVector4D.toVector2D?4() -> QVector2D +QtGui.QVector4D.toVector2DAffine?4() -> QVector2D +QtGui.QVector4D.toVector3D?4() -> QVector3D +QtGui.QVector4D.toVector3DAffine?4() -> QVector3D +QtGui.QVector4D.isNull?4() -> bool +QtGui.QVector4D.x?4() -> float +QtGui.QVector4D.y?4() -> float +QtGui.QVector4D.z?4() -> float +QtGui.QVector4D.w?4() -> float +QtGui.QVector4D.setX?4(float) +QtGui.QVector4D.setY?4(float) +QtGui.QVector4D.setZ?4(float) +QtGui.QVector4D.setW?4(float) +QtGui.QVector4D.toPoint?4() -> QPoint +QtGui.QVector4D.toPointF?4() -> QPointF +QtWidgets.QWIDGETSIZE_MAX?7 +QtWidgets.qApp?7 +QtWidgets.qDrawShadeLine?4(QPainter, int, int, int, int, QPalette, bool sunken=True, int lineWidth=1, int midLineWidth=0) +QtWidgets.qDrawShadeLine?4(QPainter, QPoint, QPoint, QPalette, bool sunken=True, int lineWidth=1, int midLineWidth=0) +QtWidgets.qDrawShadeRect?4(QPainter, int, int, int, int, QPalette, bool sunken=False, int lineWidth=1, int midLineWidth=0, QBrush fill=None) +QtWidgets.qDrawShadeRect?4(QPainter, QRect, QPalette, bool sunken=False, int lineWidth=1, int midLineWidth=0, QBrush fill=None) +QtWidgets.qDrawShadePanel?4(QPainter, int, int, int, int, QPalette, bool sunken=False, int lineWidth=1, QBrush fill=None) +QtWidgets.qDrawShadePanel?4(QPainter, QRect, QPalette, bool sunken=False, int lineWidth=1, QBrush fill=None) +QtWidgets.qDrawWinButton?4(QPainter, int, int, int, int, QPalette, bool sunken=False, QBrush fill=None) +QtWidgets.qDrawWinButton?4(QPainter, QRect, QPalette, bool sunken=False, QBrush fill=None) +QtWidgets.qDrawWinPanel?4(QPainter, int, int, int, int, QPalette, bool sunken=False, QBrush fill=None) +QtWidgets.qDrawWinPanel?4(QPainter, QRect, QPalette, bool sunken=False, QBrush fill=None) +QtWidgets.qDrawPlainRect?4(QPainter, int, int, int, int, QColor, int lineWidth=1, QBrush fill=None) +QtWidgets.qDrawPlainRect?4(QPainter, QRect, QColor, int lineWidth=1, QBrush fill=None) +QtWidgets.qDrawBorderPixmap?4(QPainter, QRect, QMargins, QPixmap) +QtWidgets.QWidget.RenderFlag?10 +QtWidgets.QWidget.RenderFlag.DrawWindowBackground?10 +QtWidgets.QWidget.RenderFlag.DrawChildren?10 +QtWidgets.QWidget.RenderFlag.IgnoreMask?10 +QtWidgets.QWidget?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QWidget.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QWidget.devType?4() -> int +QtWidgets.QWidget.style?4() -> QStyle +QtWidgets.QWidget.setStyle?4(QStyle) +QtWidgets.QWidget.isEnabledTo?4(QWidget) -> bool +QtWidgets.QWidget.setEnabled?4(bool) +QtWidgets.QWidget.setDisabled?4(bool) +QtWidgets.QWidget.setWindowModified?4(bool) +QtWidgets.QWidget.frameGeometry?4() -> QRect +QtWidgets.QWidget.normalGeometry?4() -> QRect +QtWidgets.QWidget.x?4() -> int +QtWidgets.QWidget.y?4() -> int +QtWidgets.QWidget.pos?4() -> QPoint +QtWidgets.QWidget.frameSize?4() -> QSize +QtWidgets.QWidget.childrenRect?4() -> QRect +QtWidgets.QWidget.childrenRegion?4() -> QRegion +QtWidgets.QWidget.minimumSize?4() -> QSize +QtWidgets.QWidget.maximumSize?4() -> QSize +QtWidgets.QWidget.setMinimumSize?4(int, int) +QtWidgets.QWidget.setMaximumSize?4(int, int) +QtWidgets.QWidget.setMinimumWidth?4(int) +QtWidgets.QWidget.setMinimumHeight?4(int) +QtWidgets.QWidget.setMaximumWidth?4(int) +QtWidgets.QWidget.setMaximumHeight?4(int) +QtWidgets.QWidget.sizeIncrement?4() -> QSize +QtWidgets.QWidget.setSizeIncrement?4(int, int) +QtWidgets.QWidget.baseSize?4() -> QSize +QtWidgets.QWidget.setBaseSize?4(int, int) +QtWidgets.QWidget.setFixedSize?4(QSize) +QtWidgets.QWidget.setFixedSize?4(int, int) +QtWidgets.QWidget.setFixedWidth?4(int) +QtWidgets.QWidget.setFixedHeight?4(int) +QtWidgets.QWidget.mapToGlobal?4(QPoint) -> QPoint +QtWidgets.QWidget.mapFromGlobal?4(QPoint) -> QPoint +QtWidgets.QWidget.mapToParent?4(QPoint) -> QPoint +QtWidgets.QWidget.mapFromParent?4(QPoint) -> QPoint +QtWidgets.QWidget.mapTo?4(QWidget, QPoint) -> QPoint +QtWidgets.QWidget.mapFrom?4(QWidget, QPoint) -> QPoint +QtWidgets.QWidget.window?4() -> QWidget +QtWidgets.QWidget.palette?4() -> QPalette +QtWidgets.QWidget.setPalette?4(QPalette) +QtWidgets.QWidget.setBackgroundRole?4(QPalette.ColorRole) +QtWidgets.QWidget.backgroundRole?4() -> QPalette.ColorRole +QtWidgets.QWidget.setForegroundRole?4(QPalette.ColorRole) +QtWidgets.QWidget.foregroundRole?4() -> QPalette.ColorRole +QtWidgets.QWidget.setFont?4(QFont) +QtWidgets.QWidget.cursor?4() -> QCursor +QtWidgets.QWidget.setCursor?4(QCursor) +QtWidgets.QWidget.unsetCursor?4() +QtWidgets.QWidget.setMask?4(QBitmap) +QtWidgets.QWidget.setMask?4(QRegion) +QtWidgets.QWidget.mask?4() -> QRegion +QtWidgets.QWidget.clearMask?4() +QtWidgets.QWidget.setWindowTitle?4(QString) +QtWidgets.QWidget.windowTitle?4() -> QString +QtWidgets.QWidget.setWindowIcon?4(QIcon) +QtWidgets.QWidget.windowIcon?4() -> QIcon +QtWidgets.QWidget.setWindowIconText?4(QString) +QtWidgets.QWidget.windowIconText?4() -> QString +QtWidgets.QWidget.setWindowRole?4(QString) +QtWidgets.QWidget.windowRole?4() -> QString +QtWidgets.QWidget.setWindowOpacity?4(float) +QtWidgets.QWidget.windowOpacity?4() -> float +QtWidgets.QWidget.isWindowModified?4() -> bool +QtWidgets.QWidget.setToolTip?4(QString) +QtWidgets.QWidget.toolTip?4() -> QString +QtWidgets.QWidget.setStatusTip?4(QString) +QtWidgets.QWidget.statusTip?4() -> QString +QtWidgets.QWidget.setWhatsThis?4(QString) +QtWidgets.QWidget.whatsThis?4() -> QString +QtWidgets.QWidget.accessibleName?4() -> QString +QtWidgets.QWidget.setAccessibleName?4(QString) +QtWidgets.QWidget.accessibleDescription?4() -> QString +QtWidgets.QWidget.setAccessibleDescription?4(QString) +QtWidgets.QWidget.setLayoutDirection?4(Qt.LayoutDirection) +QtWidgets.QWidget.layoutDirection?4() -> Qt.LayoutDirection +QtWidgets.QWidget.unsetLayoutDirection?4() +QtWidgets.QWidget.isRightToLeft?4() -> bool +QtWidgets.QWidget.isLeftToRight?4() -> bool +QtWidgets.QWidget.setFocus?4() +QtWidgets.QWidget.isActiveWindow?4() -> bool +QtWidgets.QWidget.activateWindow?4() +QtWidgets.QWidget.clearFocus?4() +QtWidgets.QWidget.setFocus?4(Qt.FocusReason) +QtWidgets.QWidget.focusPolicy?4() -> Qt.FocusPolicy +QtWidgets.QWidget.setFocusPolicy?4(Qt.FocusPolicy) +QtWidgets.QWidget.hasFocus?4() -> bool +QtWidgets.QWidget.setTabOrder?4(QWidget, QWidget) +QtWidgets.QWidget.setFocusProxy?4(QWidget) +QtWidgets.QWidget.focusProxy?4() -> QWidget +QtWidgets.QWidget.contextMenuPolicy?4() -> Qt.ContextMenuPolicy +QtWidgets.QWidget.setContextMenuPolicy?4(Qt.ContextMenuPolicy) +QtWidgets.QWidget.grabMouse?4() +QtWidgets.QWidget.grabMouse?4(QCursor) +QtWidgets.QWidget.releaseMouse?4() +QtWidgets.QWidget.grabKeyboard?4() +QtWidgets.QWidget.releaseKeyboard?4() +QtWidgets.QWidget.grabShortcut?4(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) -> int +QtWidgets.QWidget.releaseShortcut?4(int) +QtWidgets.QWidget.setShortcutEnabled?4(int, bool enabled=True) +QtWidgets.QWidget.mouseGrabber?4() -> QWidget +QtWidgets.QWidget.keyboardGrabber?4() -> QWidget +QtWidgets.QWidget.setUpdatesEnabled?4(bool) +QtWidgets.QWidget.update?4() +QtWidgets.QWidget.repaint?4() +QtWidgets.QWidget.update?4(QRect) +QtWidgets.QWidget.update?4(QRegion) +QtWidgets.QWidget.repaint?4(int, int, int, int) +QtWidgets.QWidget.repaint?4(QRect) +QtWidgets.QWidget.repaint?4(QRegion) +QtWidgets.QWidget.setVisible?4(bool) +QtWidgets.QWidget.setHidden?4(bool) +QtWidgets.QWidget.show?4() +QtWidgets.QWidget.hide?4() +QtWidgets.QWidget.showMinimized?4() +QtWidgets.QWidget.showMaximized?4() +QtWidgets.QWidget.showFullScreen?4() +QtWidgets.QWidget.showNormal?4() +QtWidgets.QWidget.close?4() -> bool +QtWidgets.QWidget.raise_?4() +QtWidgets.QWidget.lower?4() +QtWidgets.QWidget.stackUnder?4(QWidget) +QtWidgets.QWidget.move?4(QPoint) +QtWidgets.QWidget.resize?4(QSize) +QtWidgets.QWidget.setGeometry?4(QRect) +QtWidgets.QWidget.adjustSize?4() +QtWidgets.QWidget.isVisibleTo?4(QWidget) -> bool +QtWidgets.QWidget.isMinimized?4() -> bool +QtWidgets.QWidget.isMaximized?4() -> bool +QtWidgets.QWidget.isFullScreen?4() -> bool +QtWidgets.QWidget.windowState?4() -> Qt.WindowStates +QtWidgets.QWidget.setWindowState?4(Qt.WindowStates) +QtWidgets.QWidget.overrideWindowState?4(Qt.WindowStates) +QtWidgets.QWidget.sizeHint?4() -> QSize +QtWidgets.QWidget.minimumSizeHint?4() -> QSize +QtWidgets.QWidget.sizePolicy?4() -> QSizePolicy +QtWidgets.QWidget.setSizePolicy?4(QSizePolicy) +QtWidgets.QWidget.heightForWidth?4(int) -> int +QtWidgets.QWidget.visibleRegion?4() -> QRegion +QtWidgets.QWidget.setContentsMargins?4(int, int, int, int) +QtWidgets.QWidget.getContentsMargins?4() -> (int, int, int, int) +QtWidgets.QWidget.contentsRect?4() -> QRect +QtWidgets.QWidget.layout?4() -> QLayout +QtWidgets.QWidget.setLayout?4(QLayout) +QtWidgets.QWidget.updateGeometry?4() +QtWidgets.QWidget.setParent?4(QWidget) +QtWidgets.QWidget.setParent?4(QWidget, Qt.WindowFlags) +QtWidgets.QWidget.scroll?4(int, int) +QtWidgets.QWidget.scroll?4(int, int, QRect) +QtWidgets.QWidget.focusWidget?4() -> QWidget +QtWidgets.QWidget.nextInFocusChain?4() -> QWidget +QtWidgets.QWidget.acceptDrops?4() -> bool +QtWidgets.QWidget.setAcceptDrops?4(bool) +QtWidgets.QWidget.addAction?4(QAction) +QtWidgets.QWidget.addActions?4(unknown-type) +QtWidgets.QWidget.insertAction?4(QAction, QAction) +QtWidgets.QWidget.insertActions?4(QAction, unknown-type) +QtWidgets.QWidget.removeAction?4(QAction) +QtWidgets.QWidget.actions?4() -> unknown-type +QtWidgets.QWidget.setWindowFlags?4(Qt.WindowFlags) +QtWidgets.QWidget.overrideWindowFlags?4(Qt.WindowFlags) +QtWidgets.QWidget.find?4(quintptr) -> QWidget +QtWidgets.QWidget.childAt?4(QPoint) -> QWidget +QtWidgets.QWidget.setAttribute?4(Qt.WidgetAttribute, bool on=True) +QtWidgets.QWidget.paintEngine?4() -> QPaintEngine +QtWidgets.QWidget.ensurePolished?4() +QtWidgets.QWidget.isAncestorOf?4(QWidget) -> bool +QtWidgets.QWidget.customContextMenuRequested?4(QPoint) +QtWidgets.QWidget.event?4(QEvent) -> bool +QtWidgets.QWidget.mousePressEvent?4(QMouseEvent) +QtWidgets.QWidget.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QWidget.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QWidget.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QWidget.wheelEvent?4(QWheelEvent) +QtWidgets.QWidget.keyPressEvent?4(QKeyEvent) +QtWidgets.QWidget.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QWidget.focusInEvent?4(QFocusEvent) +QtWidgets.QWidget.focusOutEvent?4(QFocusEvent) +QtWidgets.QWidget.enterEvent?4(QEvent) +QtWidgets.QWidget.leaveEvent?4(QEvent) +QtWidgets.QWidget.paintEvent?4(QPaintEvent) +QtWidgets.QWidget.moveEvent?4(QMoveEvent) +QtWidgets.QWidget.resizeEvent?4(QResizeEvent) +QtWidgets.QWidget.closeEvent?4(QCloseEvent) +QtWidgets.QWidget.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QWidget.tabletEvent?4(QTabletEvent) +QtWidgets.QWidget.actionEvent?4(QActionEvent) +QtWidgets.QWidget.dragEnterEvent?4(QDragEnterEvent) +QtWidgets.QWidget.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QWidget.dragLeaveEvent?4(QDragLeaveEvent) +QtWidgets.QWidget.dropEvent?4(QDropEvent) +QtWidgets.QWidget.showEvent?4(QShowEvent) +QtWidgets.QWidget.hideEvent?4(QHideEvent) +QtWidgets.QWidget.changeEvent?4(QEvent) +QtWidgets.QWidget.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtWidgets.QWidget.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QWidget.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QWidget.updateMicroFocus?4() +QtWidgets.QWidget.create?4(quintptr window=0, bool initializeWindow=True, bool destroyOldWindow=True) +QtWidgets.QWidget.destroy?4(bool destroyWindow=True, bool destroySubWindows=True) +QtWidgets.QWidget.focusNextPrevChild?4(bool) -> bool +QtWidgets.QWidget.focusNextChild?4() -> bool +QtWidgets.QWidget.focusPreviousChild?4() -> bool +QtWidgets.QWidget.childAt?4(int, int) -> QWidget +QtWidgets.QWidget.windowType?4() -> Qt.WindowType +QtWidgets.QWidget.windowFlags?4() -> Qt.WindowFlags +QtWidgets.QWidget.winId?4() -> quintptr +QtWidgets.QWidget.isWindow?4() -> bool +QtWidgets.QWidget.isEnabled?4() -> bool +QtWidgets.QWidget.isModal?4() -> bool +QtWidgets.QWidget.minimumWidth?4() -> int +QtWidgets.QWidget.minimumHeight?4() -> int +QtWidgets.QWidget.maximumWidth?4() -> int +QtWidgets.QWidget.maximumHeight?4() -> int +QtWidgets.QWidget.setMinimumSize?4(QSize) +QtWidgets.QWidget.setMaximumSize?4(QSize) +QtWidgets.QWidget.setSizeIncrement?4(QSize) +QtWidgets.QWidget.setBaseSize?4(QSize) +QtWidgets.QWidget.font?4() -> QFont +QtWidgets.QWidget.fontMetrics?4() -> QFontMetrics +QtWidgets.QWidget.fontInfo?4() -> QFontInfo +QtWidgets.QWidget.setMouseTracking?4(bool) +QtWidgets.QWidget.hasMouseTracking?4() -> bool +QtWidgets.QWidget.underMouse?4() -> bool +QtWidgets.QWidget.updatesEnabled?4() -> bool +QtWidgets.QWidget.update?4(int, int, int, int) +QtWidgets.QWidget.isVisible?4() -> bool +QtWidgets.QWidget.isHidden?4() -> bool +QtWidgets.QWidget.move?4(int, int) +QtWidgets.QWidget.resize?4(int, int) +QtWidgets.QWidget.setGeometry?4(int, int, int, int) +QtWidgets.QWidget.rect?4() -> QRect +QtWidgets.QWidget.geometry?4() -> QRect +QtWidgets.QWidget.size?4() -> QSize +QtWidgets.QWidget.width?4() -> int +QtWidgets.QWidget.height?4() -> int +QtWidgets.QWidget.parentWidget?4() -> QWidget +QtWidgets.QWidget.setSizePolicy?4(QSizePolicy.Policy, QSizePolicy.Policy) +QtWidgets.QWidget.testAttribute?4(Qt.WidgetAttribute) -> bool +QtWidgets.QWidget.windowModality?4() -> Qt.WindowModality +QtWidgets.QWidget.setWindowModality?4(Qt.WindowModality) +QtWidgets.QWidget.autoFillBackground?4() -> bool +QtWidgets.QWidget.setAutoFillBackground?4(bool) +QtWidgets.QWidget.setStyleSheet?4(QString) +QtWidgets.QWidget.styleSheet?4() -> QString +QtWidgets.QWidget.setShortcutAutoRepeat?4(int, bool enabled=True) +QtWidgets.QWidget.saveGeometry?4() -> QByteArray +QtWidgets.QWidget.restoreGeometry?4(QByteArray) -> bool +QtWidgets.QWidget.render?4(QPaintDevice, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren)) +QtWidgets.QWidget.render?4(QPainter, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren)) +QtWidgets.QWidget.setLocale?4(QLocale) +QtWidgets.QWidget.locale?4() -> QLocale +QtWidgets.QWidget.unsetLocale?4() +QtWidgets.QWidget.effectiveWinId?4() -> quintptr +QtWidgets.QWidget.nativeParentWidget?4() -> QWidget +QtWidgets.QWidget.setWindowFilePath?4(QString) +QtWidgets.QWidget.windowFilePath?4() -> QString +QtWidgets.QWidget.graphicsProxyWidget?4() -> QGraphicsProxyWidget +QtWidgets.QWidget.graphicsEffect?4() -> QGraphicsEffect +QtWidgets.QWidget.setGraphicsEffect?4(QGraphicsEffect) +QtWidgets.QWidget.grabGesture?4(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags()) +QtWidgets.QWidget.ungrabGesture?4(Qt.GestureType) +QtWidgets.QWidget.setContentsMargins?4(QMargins) +QtWidgets.QWidget.contentsMargins?4() -> QMargins +QtWidgets.QWidget.previousInFocusChain?4() -> QWidget +QtWidgets.QWidget.inputMethodHints?4() -> Qt.InputMethodHints +QtWidgets.QWidget.setInputMethodHints?4(Qt.InputMethodHints) +QtWidgets.QWidget.hasHeightForWidth?4() -> bool +QtWidgets.QWidget.grab?4(QRect rectangle=QRect(QPoint(0,0),QSize(-1,-1))) -> QPixmap +QtWidgets.QWidget.createWindowContainer?4(QWindow, QWidget parent=None, Qt.WindowFlags flags=0) -> object +QtWidgets.QWidget.windowHandle?4() -> QWindow +QtWidgets.QWidget.nativeEvent?4(QByteArray, sip.voidptr) -> (bool, int) +QtWidgets.QWidget.sharedPainter?4() -> QPainter +QtWidgets.QWidget.initPainter?4(QPainter) +QtWidgets.QWidget.setToolTipDuration?4(int) +QtWidgets.QWidget.toolTipDuration?4() -> int +QtWidgets.QWidget.windowTitleChanged?4(QString) +QtWidgets.QWidget.windowIconChanged?4(QIcon) +QtWidgets.QWidget.windowIconTextChanged?4(QString) +QtWidgets.QWidget.setTabletTracking?4(bool) +QtWidgets.QWidget.hasTabletTracking?4() -> bool +QtWidgets.QWidget.setWindowFlag?4(Qt.WindowType, bool on=True) +QtWidgets.QWidget.screen?4() -> QScreen +QtWidgets.QAbstractButton?1(QWidget parent=None) +QtWidgets.QAbstractButton.__init__?1(self, QWidget parent=None) +QtWidgets.QAbstractButton.setAutoRepeatDelay?4(int) +QtWidgets.QAbstractButton.autoRepeatDelay?4() -> int +QtWidgets.QAbstractButton.setAutoRepeatInterval?4(int) +QtWidgets.QAbstractButton.autoRepeatInterval?4() -> int +QtWidgets.QAbstractButton.setText?4(QString) +QtWidgets.QAbstractButton.text?4() -> QString +QtWidgets.QAbstractButton.setIcon?4(QIcon) +QtWidgets.QAbstractButton.icon?4() -> QIcon +QtWidgets.QAbstractButton.iconSize?4() -> QSize +QtWidgets.QAbstractButton.setShortcut?4(QKeySequence) +QtWidgets.QAbstractButton.shortcut?4() -> QKeySequence +QtWidgets.QAbstractButton.setCheckable?4(bool) +QtWidgets.QAbstractButton.isCheckable?4() -> bool +QtWidgets.QAbstractButton.isChecked?4() -> bool +QtWidgets.QAbstractButton.setDown?4(bool) +QtWidgets.QAbstractButton.isDown?4() -> bool +QtWidgets.QAbstractButton.setAutoRepeat?4(bool) +QtWidgets.QAbstractButton.autoRepeat?4() -> bool +QtWidgets.QAbstractButton.setAutoExclusive?4(bool) +QtWidgets.QAbstractButton.autoExclusive?4() -> bool +QtWidgets.QAbstractButton.group?4() -> QButtonGroup +QtWidgets.QAbstractButton.setIconSize?4(QSize) +QtWidgets.QAbstractButton.animateClick?4(int msecs=100) +QtWidgets.QAbstractButton.click?4() +QtWidgets.QAbstractButton.toggle?4() +QtWidgets.QAbstractButton.setChecked?4(bool) +QtWidgets.QAbstractButton.pressed?4() +QtWidgets.QAbstractButton.released?4() +QtWidgets.QAbstractButton.clicked?4(bool checked=False) +QtWidgets.QAbstractButton.toggled?4(bool) +QtWidgets.QAbstractButton.paintEvent?4(QPaintEvent) +QtWidgets.QAbstractButton.hitButton?4(QPoint) -> bool +QtWidgets.QAbstractButton.checkStateSet?4() +QtWidgets.QAbstractButton.nextCheckState?4() +QtWidgets.QAbstractButton.event?4(QEvent) -> bool +QtWidgets.QAbstractButton.keyPressEvent?4(QKeyEvent) +QtWidgets.QAbstractButton.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QAbstractButton.mousePressEvent?4(QMouseEvent) +QtWidgets.QAbstractButton.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QAbstractButton.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QAbstractButton.focusInEvent?4(QFocusEvent) +QtWidgets.QAbstractButton.focusOutEvent?4(QFocusEvent) +QtWidgets.QAbstractButton.changeEvent?4(QEvent) +QtWidgets.QAbstractButton.timerEvent?4(QTimerEvent) +QtWidgets.QAbstractItemDelegate.EndEditHint?10 +QtWidgets.QAbstractItemDelegate.EndEditHint.NoHint?10 +QtWidgets.QAbstractItemDelegate.EndEditHint.EditNextItem?10 +QtWidgets.QAbstractItemDelegate.EndEditHint.EditPreviousItem?10 +QtWidgets.QAbstractItemDelegate.EndEditHint.SubmitModelCache?10 +QtWidgets.QAbstractItemDelegate.EndEditHint.RevertModelCache?10 +QtWidgets.QAbstractItemDelegate?1(QObject parent=None) +QtWidgets.QAbstractItemDelegate.__init__?1(self, QObject parent=None) +QtWidgets.QAbstractItemDelegate.paint?4(QPainter, QStyleOptionViewItem, QModelIndex) +QtWidgets.QAbstractItemDelegate.sizeHint?4(QStyleOptionViewItem, QModelIndex) -> QSize +QtWidgets.QAbstractItemDelegate.createEditor?4(QWidget, QStyleOptionViewItem, QModelIndex) -> QWidget +QtWidgets.QAbstractItemDelegate.setEditorData?4(QWidget, QModelIndex) +QtWidgets.QAbstractItemDelegate.setModelData?4(QWidget, QAbstractItemModel, QModelIndex) +QtWidgets.QAbstractItemDelegate.updateEditorGeometry?4(QWidget, QStyleOptionViewItem, QModelIndex) +QtWidgets.QAbstractItemDelegate.destroyEditor?4(QWidget, QModelIndex) +QtWidgets.QAbstractItemDelegate.editorEvent?4(QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) -> bool +QtWidgets.QAbstractItemDelegate.helpEvent?4(QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex) -> bool +QtWidgets.QAbstractItemDelegate.commitData?4(QWidget) +QtWidgets.QAbstractItemDelegate.closeEditor?4(QWidget, QAbstractItemDelegate.EndEditHint hint=QAbstractItemDelegate.NoHint) +QtWidgets.QAbstractItemDelegate.sizeHintChanged?4(QModelIndex) +QtWidgets.QFrame.StyleMask?10 +QtWidgets.QFrame.StyleMask.Shadow_Mask?10 +QtWidgets.QFrame.StyleMask.Shape_Mask?10 +QtWidgets.QFrame.Shape?10 +QtWidgets.QFrame.Shape.NoFrame?10 +QtWidgets.QFrame.Shape.Box?10 +QtWidgets.QFrame.Shape.Panel?10 +QtWidgets.QFrame.Shape.WinPanel?10 +QtWidgets.QFrame.Shape.HLine?10 +QtWidgets.QFrame.Shape.VLine?10 +QtWidgets.QFrame.Shape.StyledPanel?10 +QtWidgets.QFrame.Shadow?10 +QtWidgets.QFrame.Shadow.Plain?10 +QtWidgets.QFrame.Shadow.Raised?10 +QtWidgets.QFrame.Shadow.Sunken?10 +QtWidgets.QFrame?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QFrame.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QFrame.frameStyle?4() -> int +QtWidgets.QFrame.setFrameStyle?4(int) +QtWidgets.QFrame.frameWidth?4() -> int +QtWidgets.QFrame.sizeHint?4() -> QSize +QtWidgets.QFrame.frameShape?4() -> QFrame.Shape +QtWidgets.QFrame.setFrameShape?4(QFrame.Shape) +QtWidgets.QFrame.frameShadow?4() -> QFrame.Shadow +QtWidgets.QFrame.setFrameShadow?4(QFrame.Shadow) +QtWidgets.QFrame.lineWidth?4() -> int +QtWidgets.QFrame.setLineWidth?4(int) +QtWidgets.QFrame.midLineWidth?4() -> int +QtWidgets.QFrame.setMidLineWidth?4(int) +QtWidgets.QFrame.frameRect?4() -> QRect +QtWidgets.QFrame.setFrameRect?4(QRect) +QtWidgets.QFrame.event?4(QEvent) -> bool +QtWidgets.QFrame.paintEvent?4(QPaintEvent) +QtWidgets.QFrame.changeEvent?4(QEvent) +QtWidgets.QFrame.drawFrame?4(QPainter) +QtWidgets.QFrame.initStyleOption?4(QStyleOptionFrame) +QtWidgets.QAbstractScrollArea.SizeAdjustPolicy?10 +QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustIgnored?10 +QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContentsOnFirstShow?10 +QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContents?10 +QtWidgets.QAbstractScrollArea?1(QWidget parent=None) +QtWidgets.QAbstractScrollArea.__init__?1(self, QWidget parent=None) +QtWidgets.QAbstractScrollArea.verticalScrollBarPolicy?4() -> Qt.ScrollBarPolicy +QtWidgets.QAbstractScrollArea.setVerticalScrollBarPolicy?4(Qt.ScrollBarPolicy) +QtWidgets.QAbstractScrollArea.verticalScrollBar?4() -> QScrollBar +QtWidgets.QAbstractScrollArea.horizontalScrollBarPolicy?4() -> Qt.ScrollBarPolicy +QtWidgets.QAbstractScrollArea.setHorizontalScrollBarPolicy?4(Qt.ScrollBarPolicy) +QtWidgets.QAbstractScrollArea.horizontalScrollBar?4() -> QScrollBar +QtWidgets.QAbstractScrollArea.viewport?4() -> QWidget +QtWidgets.QAbstractScrollArea.maximumViewportSize?4() -> QSize +QtWidgets.QAbstractScrollArea.minimumSizeHint?4() -> QSize +QtWidgets.QAbstractScrollArea.sizeHint?4() -> QSize +QtWidgets.QAbstractScrollArea.setViewportMargins?4(int, int, int, int) +QtWidgets.QAbstractScrollArea.setViewportMargins?4(QMargins) +QtWidgets.QAbstractScrollArea.viewportMargins?4() -> QMargins +QtWidgets.QAbstractScrollArea.viewportSizeHint?4() -> QSize +QtWidgets.QAbstractScrollArea.event?4(QEvent) -> bool +QtWidgets.QAbstractScrollArea.viewportEvent?4(QEvent) -> bool +QtWidgets.QAbstractScrollArea.resizeEvent?4(QResizeEvent) +QtWidgets.QAbstractScrollArea.paintEvent?4(QPaintEvent) +QtWidgets.QAbstractScrollArea.mousePressEvent?4(QMouseEvent) +QtWidgets.QAbstractScrollArea.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QAbstractScrollArea.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QAbstractScrollArea.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QAbstractScrollArea.wheelEvent?4(QWheelEvent) +QtWidgets.QAbstractScrollArea.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QAbstractScrollArea.dragEnterEvent?4(QDragEnterEvent) +QtWidgets.QAbstractScrollArea.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QAbstractScrollArea.dragLeaveEvent?4(QDragLeaveEvent) +QtWidgets.QAbstractScrollArea.dropEvent?4(QDropEvent) +QtWidgets.QAbstractScrollArea.keyPressEvent?4(QKeyEvent) +QtWidgets.QAbstractScrollArea.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QAbstractScrollArea.scrollContentsBy?4(int, int) +QtWidgets.QAbstractScrollArea.setVerticalScrollBar?4(QScrollBar) +QtWidgets.QAbstractScrollArea.setHorizontalScrollBar?4(QScrollBar) +QtWidgets.QAbstractScrollArea.cornerWidget?4() -> QWidget +QtWidgets.QAbstractScrollArea.setCornerWidget?4(QWidget) +QtWidgets.QAbstractScrollArea.addScrollBarWidget?4(QWidget, Qt.Alignment) +QtWidgets.QAbstractScrollArea.scrollBarWidgets?4(Qt.Alignment) -> unknown-type +QtWidgets.QAbstractScrollArea.setViewport?4(QWidget) +QtWidgets.QAbstractScrollArea.setupViewport?4(QWidget) +QtWidgets.QAbstractScrollArea.sizeAdjustPolicy?4() -> QAbstractScrollArea.SizeAdjustPolicy +QtWidgets.QAbstractScrollArea.setSizeAdjustPolicy?4(QAbstractScrollArea.SizeAdjustPolicy) +QtWidgets.QAbstractItemView.DropIndicatorPosition?10 +QtWidgets.QAbstractItemView.DropIndicatorPosition.OnItem?10 +QtWidgets.QAbstractItemView.DropIndicatorPosition.AboveItem?10 +QtWidgets.QAbstractItemView.DropIndicatorPosition.BelowItem?10 +QtWidgets.QAbstractItemView.DropIndicatorPosition.OnViewport?10 +QtWidgets.QAbstractItemView.State?10 +QtWidgets.QAbstractItemView.State.NoState?10 +QtWidgets.QAbstractItemView.State.DraggingState?10 +QtWidgets.QAbstractItemView.State.DragSelectingState?10 +QtWidgets.QAbstractItemView.State.EditingState?10 +QtWidgets.QAbstractItemView.State.ExpandingState?10 +QtWidgets.QAbstractItemView.State.CollapsingState?10 +QtWidgets.QAbstractItemView.State.AnimatingState?10 +QtWidgets.QAbstractItemView.CursorAction?10 +QtWidgets.QAbstractItemView.CursorAction.MoveUp?10 +QtWidgets.QAbstractItemView.CursorAction.MoveDown?10 +QtWidgets.QAbstractItemView.CursorAction.MoveLeft?10 +QtWidgets.QAbstractItemView.CursorAction.MoveRight?10 +QtWidgets.QAbstractItemView.CursorAction.MoveHome?10 +QtWidgets.QAbstractItemView.CursorAction.MoveEnd?10 +QtWidgets.QAbstractItemView.CursorAction.MovePageUp?10 +QtWidgets.QAbstractItemView.CursorAction.MovePageDown?10 +QtWidgets.QAbstractItemView.CursorAction.MoveNext?10 +QtWidgets.QAbstractItemView.CursorAction.MovePrevious?10 +QtWidgets.QAbstractItemView.SelectionMode?10 +QtWidgets.QAbstractItemView.SelectionMode.NoSelection?10 +QtWidgets.QAbstractItemView.SelectionMode.SingleSelection?10 +QtWidgets.QAbstractItemView.SelectionMode.MultiSelection?10 +QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection?10 +QtWidgets.QAbstractItemView.SelectionMode.ContiguousSelection?10 +QtWidgets.QAbstractItemView.SelectionBehavior?10 +QtWidgets.QAbstractItemView.SelectionBehavior.SelectItems?10 +QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows?10 +QtWidgets.QAbstractItemView.SelectionBehavior.SelectColumns?10 +QtWidgets.QAbstractItemView.ScrollMode?10 +QtWidgets.QAbstractItemView.ScrollMode.ScrollPerItem?10 +QtWidgets.QAbstractItemView.ScrollMode.ScrollPerPixel?10 +QtWidgets.QAbstractItemView.ScrollHint?10 +QtWidgets.QAbstractItemView.ScrollHint.EnsureVisible?10 +QtWidgets.QAbstractItemView.ScrollHint.PositionAtTop?10 +QtWidgets.QAbstractItemView.ScrollHint.PositionAtBottom?10 +QtWidgets.QAbstractItemView.ScrollHint.PositionAtCenter?10 +QtWidgets.QAbstractItemView.EditTrigger?10 +QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers?10 +QtWidgets.QAbstractItemView.EditTrigger.CurrentChanged?10 +QtWidgets.QAbstractItemView.EditTrigger.DoubleClicked?10 +QtWidgets.QAbstractItemView.EditTrigger.SelectedClicked?10 +QtWidgets.QAbstractItemView.EditTrigger.EditKeyPressed?10 +QtWidgets.QAbstractItemView.EditTrigger.AnyKeyPressed?10 +QtWidgets.QAbstractItemView.EditTrigger.AllEditTriggers?10 +QtWidgets.QAbstractItemView.DragDropMode?10 +QtWidgets.QAbstractItemView.DragDropMode.NoDragDrop?10 +QtWidgets.QAbstractItemView.DragDropMode.DragOnly?10 +QtWidgets.QAbstractItemView.DragDropMode.DropOnly?10 +QtWidgets.QAbstractItemView.DragDropMode.DragDrop?10 +QtWidgets.QAbstractItemView.DragDropMode.InternalMove?10 +QtWidgets.QAbstractItemView?1(QWidget parent=None) +QtWidgets.QAbstractItemView.__init__?1(self, QWidget parent=None) +QtWidgets.QAbstractItemView.setModel?4(QAbstractItemModel) +QtWidgets.QAbstractItemView.model?4() -> QAbstractItemModel +QtWidgets.QAbstractItemView.setSelectionModel?4(QItemSelectionModel) +QtWidgets.QAbstractItemView.selectionModel?4() -> QItemSelectionModel +QtWidgets.QAbstractItemView.setItemDelegate?4(QAbstractItemDelegate) +QtWidgets.QAbstractItemView.itemDelegate?4() -> QAbstractItemDelegate +QtWidgets.QAbstractItemView.setSelectionMode?4(QAbstractItemView.SelectionMode) +QtWidgets.QAbstractItemView.selectionMode?4() -> QAbstractItemView.SelectionMode +QtWidgets.QAbstractItemView.setSelectionBehavior?4(QAbstractItemView.SelectionBehavior) +QtWidgets.QAbstractItemView.selectionBehavior?4() -> QAbstractItemView.SelectionBehavior +QtWidgets.QAbstractItemView.currentIndex?4() -> QModelIndex +QtWidgets.QAbstractItemView.rootIndex?4() -> QModelIndex +QtWidgets.QAbstractItemView.setEditTriggers?4(QAbstractItemView.EditTriggers) +QtWidgets.QAbstractItemView.editTriggers?4() -> QAbstractItemView.EditTriggers +QtWidgets.QAbstractItemView.setAutoScroll?4(bool) +QtWidgets.QAbstractItemView.hasAutoScroll?4() -> bool +QtWidgets.QAbstractItemView.setTabKeyNavigation?4(bool) +QtWidgets.QAbstractItemView.tabKeyNavigation?4() -> bool +QtWidgets.QAbstractItemView.setDropIndicatorShown?4(bool) +QtWidgets.QAbstractItemView.showDropIndicator?4() -> bool +QtWidgets.QAbstractItemView.setDragEnabled?4(bool) +QtWidgets.QAbstractItemView.dragEnabled?4() -> bool +QtWidgets.QAbstractItemView.setAlternatingRowColors?4(bool) +QtWidgets.QAbstractItemView.alternatingRowColors?4() -> bool +QtWidgets.QAbstractItemView.setIconSize?4(QSize) +QtWidgets.QAbstractItemView.iconSize?4() -> QSize +QtWidgets.QAbstractItemView.setTextElideMode?4(Qt.TextElideMode) +QtWidgets.QAbstractItemView.textElideMode?4() -> Qt.TextElideMode +QtWidgets.QAbstractItemView.keyboardSearch?4(QString) +QtWidgets.QAbstractItemView.visualRect?4(QModelIndex) -> QRect +QtWidgets.QAbstractItemView.scrollTo?4(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible) +QtWidgets.QAbstractItemView.indexAt?4(QPoint) -> QModelIndex +QtWidgets.QAbstractItemView.sizeHintForIndex?4(QModelIndex) -> QSize +QtWidgets.QAbstractItemView.sizeHintForRow?4(int) -> int +QtWidgets.QAbstractItemView.sizeHintForColumn?4(int) -> int +QtWidgets.QAbstractItemView.openPersistentEditor?4(QModelIndex) +QtWidgets.QAbstractItemView.closePersistentEditor?4(QModelIndex) +QtWidgets.QAbstractItemView.setIndexWidget?4(QModelIndex, QWidget) +QtWidgets.QAbstractItemView.indexWidget?4(QModelIndex) -> QWidget +QtWidgets.QAbstractItemView.reset?4() +QtWidgets.QAbstractItemView.setRootIndex?4(QModelIndex) +QtWidgets.QAbstractItemView.selectAll?4() +QtWidgets.QAbstractItemView.edit?4(QModelIndex) +QtWidgets.QAbstractItemView.clearSelection?4() +QtWidgets.QAbstractItemView.setCurrentIndex?4(QModelIndex) +QtWidgets.QAbstractItemView.scrollToTop?4() +QtWidgets.QAbstractItemView.scrollToBottom?4() +QtWidgets.QAbstractItemView.update?4() +QtWidgets.QAbstractItemView.update?4(QModelIndex) +QtWidgets.QAbstractItemView.dataChanged?4(QModelIndex, QModelIndex, unknown-type roles=[]) +QtWidgets.QAbstractItemView.rowsInserted?4(QModelIndex, int, int) +QtWidgets.QAbstractItemView.rowsAboutToBeRemoved?4(QModelIndex, int, int) +QtWidgets.QAbstractItemView.selectionChanged?4(QItemSelection, QItemSelection) +QtWidgets.QAbstractItemView.currentChanged?4(QModelIndex, QModelIndex) +QtWidgets.QAbstractItemView.updateEditorData?4() +QtWidgets.QAbstractItemView.updateEditorGeometries?4() +QtWidgets.QAbstractItemView.updateGeometries?4() +QtWidgets.QAbstractItemView.verticalScrollbarAction?4(int) +QtWidgets.QAbstractItemView.horizontalScrollbarAction?4(int) +QtWidgets.QAbstractItemView.verticalScrollbarValueChanged?4(int) +QtWidgets.QAbstractItemView.horizontalScrollbarValueChanged?4(int) +QtWidgets.QAbstractItemView.closeEditor?4(QWidget, QAbstractItemDelegate.EndEditHint) +QtWidgets.QAbstractItemView.commitData?4(QWidget) +QtWidgets.QAbstractItemView.editorDestroyed?4(QObject) +QtWidgets.QAbstractItemView.pressed?4(QModelIndex) +QtWidgets.QAbstractItemView.clicked?4(QModelIndex) +QtWidgets.QAbstractItemView.doubleClicked?4(QModelIndex) +QtWidgets.QAbstractItemView.activated?4(QModelIndex) +QtWidgets.QAbstractItemView.entered?4(QModelIndex) +QtWidgets.QAbstractItemView.viewportEntered?4() +QtWidgets.QAbstractItemView.iconSizeChanged?4(QSize) +QtWidgets.QAbstractItemView.moveCursor?4(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex +QtWidgets.QAbstractItemView.horizontalOffset?4() -> int +QtWidgets.QAbstractItemView.verticalOffset?4() -> int +QtWidgets.QAbstractItemView.isIndexHidden?4(QModelIndex) -> bool +QtWidgets.QAbstractItemView.setSelection?4(QRect, QItemSelectionModel.SelectionFlags) +QtWidgets.QAbstractItemView.visualRegionForSelection?4(QItemSelection) -> QRegion +QtWidgets.QAbstractItemView.selectedIndexes?4() -> unknown-type +QtWidgets.QAbstractItemView.edit?4(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool +QtWidgets.QAbstractItemView.selectionCommand?4(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags +QtWidgets.QAbstractItemView.startDrag?4(Qt.DropActions) +QtWidgets.QAbstractItemView.viewOptions?4() -> QStyleOptionViewItem +QtWidgets.QAbstractItemView.state?4() -> QAbstractItemView.State +QtWidgets.QAbstractItemView.setState?4(QAbstractItemView.State) +QtWidgets.QAbstractItemView.scheduleDelayedItemsLayout?4() +QtWidgets.QAbstractItemView.executeDelayedItemsLayout?4() +QtWidgets.QAbstractItemView.scrollDirtyRegion?4(int, int) +QtWidgets.QAbstractItemView.setDirtyRegion?4(QRegion) +QtWidgets.QAbstractItemView.dirtyRegionOffset?4() -> QPoint +QtWidgets.QAbstractItemView.event?4(QEvent) -> bool +QtWidgets.QAbstractItemView.viewportEvent?4(QEvent) -> bool +QtWidgets.QAbstractItemView.mousePressEvent?4(QMouseEvent) +QtWidgets.QAbstractItemView.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QAbstractItemView.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QAbstractItemView.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QAbstractItemView.dragEnterEvent?4(QDragEnterEvent) +QtWidgets.QAbstractItemView.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QAbstractItemView.dragLeaveEvent?4(QDragLeaveEvent) +QtWidgets.QAbstractItemView.dropEvent?4(QDropEvent) +QtWidgets.QAbstractItemView.focusInEvent?4(QFocusEvent) +QtWidgets.QAbstractItemView.focusOutEvent?4(QFocusEvent) +QtWidgets.QAbstractItemView.keyPressEvent?4(QKeyEvent) +QtWidgets.QAbstractItemView.resizeEvent?4(QResizeEvent) +QtWidgets.QAbstractItemView.timerEvent?4(QTimerEvent) +QtWidgets.QAbstractItemView.dropIndicatorPosition?4() -> QAbstractItemView.DropIndicatorPosition +QtWidgets.QAbstractItemView.setVerticalScrollMode?4(QAbstractItemView.ScrollMode) +QtWidgets.QAbstractItemView.verticalScrollMode?4() -> QAbstractItemView.ScrollMode +QtWidgets.QAbstractItemView.setHorizontalScrollMode?4(QAbstractItemView.ScrollMode) +QtWidgets.QAbstractItemView.horizontalScrollMode?4() -> QAbstractItemView.ScrollMode +QtWidgets.QAbstractItemView.setDragDropOverwriteMode?4(bool) +QtWidgets.QAbstractItemView.dragDropOverwriteMode?4() -> bool +QtWidgets.QAbstractItemView.setDragDropMode?4(QAbstractItemView.DragDropMode) +QtWidgets.QAbstractItemView.dragDropMode?4() -> QAbstractItemView.DragDropMode +QtWidgets.QAbstractItemView.setItemDelegateForRow?4(int, QAbstractItemDelegate) +QtWidgets.QAbstractItemView.itemDelegateForRow?4(int) -> QAbstractItemDelegate +QtWidgets.QAbstractItemView.setItemDelegateForColumn?4(int, QAbstractItemDelegate) +QtWidgets.QAbstractItemView.itemDelegateForColumn?4(int) -> QAbstractItemDelegate +QtWidgets.QAbstractItemView.itemDelegate?4(QModelIndex) -> QAbstractItemDelegate +QtWidgets.QAbstractItemView.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QAbstractItemView.setAutoScrollMargin?4(int) +QtWidgets.QAbstractItemView.autoScrollMargin?4() -> int +QtWidgets.QAbstractItemView.focusNextPrevChild?4(bool) -> bool +QtWidgets.QAbstractItemView.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QAbstractItemView.viewportSizeHint?4() -> QSize +QtWidgets.QAbstractItemView.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QAbstractItemView.setDefaultDropAction?4(Qt.DropAction) +QtWidgets.QAbstractItemView.defaultDropAction?4() -> Qt.DropAction +QtWidgets.QAbstractItemView.resetVerticalScrollMode?4() +QtWidgets.QAbstractItemView.resetHorizontalScrollMode?4() +QtWidgets.QAbstractItemView.isPersistentEditorOpen?4(QModelIndex) -> bool +QtWidgets.QAbstractItemView.EditTriggers?1() +QtWidgets.QAbstractItemView.EditTriggers.__init__?1(self) +QtWidgets.QAbstractItemView.EditTriggers?1(int) +QtWidgets.QAbstractItemView.EditTriggers.__init__?1(self, int) +QtWidgets.QAbstractItemView.EditTriggers?1(QAbstractItemView.EditTriggers) +QtWidgets.QAbstractItemView.EditTriggers.__init__?1(self, QAbstractItemView.EditTriggers) +QtWidgets.QAbstractSlider.SliderChange?10 +QtWidgets.QAbstractSlider.SliderChange.SliderRangeChange?10 +QtWidgets.QAbstractSlider.SliderChange.SliderOrientationChange?10 +QtWidgets.QAbstractSlider.SliderChange.SliderStepsChange?10 +QtWidgets.QAbstractSlider.SliderChange.SliderValueChange?10 +QtWidgets.QAbstractSlider.SliderAction?10 +QtWidgets.QAbstractSlider.SliderAction.SliderNoAction?10 +QtWidgets.QAbstractSlider.SliderAction.SliderSingleStepAdd?10 +QtWidgets.QAbstractSlider.SliderAction.SliderSingleStepSub?10 +QtWidgets.QAbstractSlider.SliderAction.SliderPageStepAdd?10 +QtWidgets.QAbstractSlider.SliderAction.SliderPageStepSub?10 +QtWidgets.QAbstractSlider.SliderAction.SliderToMinimum?10 +QtWidgets.QAbstractSlider.SliderAction.SliderToMaximum?10 +QtWidgets.QAbstractSlider.SliderAction.SliderMove?10 +QtWidgets.QAbstractSlider?1(QWidget parent=None) +QtWidgets.QAbstractSlider.__init__?1(self, QWidget parent=None) +QtWidgets.QAbstractSlider.orientation?4() -> Qt.Orientation +QtWidgets.QAbstractSlider.setMinimum?4(int) +QtWidgets.QAbstractSlider.minimum?4() -> int +QtWidgets.QAbstractSlider.setMaximum?4(int) +QtWidgets.QAbstractSlider.maximum?4() -> int +QtWidgets.QAbstractSlider.setRange?4(int, int) +QtWidgets.QAbstractSlider.setSingleStep?4(int) +QtWidgets.QAbstractSlider.singleStep?4() -> int +QtWidgets.QAbstractSlider.setPageStep?4(int) +QtWidgets.QAbstractSlider.pageStep?4() -> int +QtWidgets.QAbstractSlider.setTracking?4(bool) +QtWidgets.QAbstractSlider.hasTracking?4() -> bool +QtWidgets.QAbstractSlider.setSliderDown?4(bool) +QtWidgets.QAbstractSlider.isSliderDown?4() -> bool +QtWidgets.QAbstractSlider.setSliderPosition?4(int) +QtWidgets.QAbstractSlider.sliderPosition?4() -> int +QtWidgets.QAbstractSlider.setInvertedAppearance?4(bool) +QtWidgets.QAbstractSlider.invertedAppearance?4() -> bool +QtWidgets.QAbstractSlider.setInvertedControls?4(bool) +QtWidgets.QAbstractSlider.invertedControls?4() -> bool +QtWidgets.QAbstractSlider.value?4() -> int +QtWidgets.QAbstractSlider.triggerAction?4(QAbstractSlider.SliderAction) +QtWidgets.QAbstractSlider.setValue?4(int) +QtWidgets.QAbstractSlider.setOrientation?4(Qt.Orientation) +QtWidgets.QAbstractSlider.valueChanged?4(int) +QtWidgets.QAbstractSlider.sliderPressed?4() +QtWidgets.QAbstractSlider.sliderMoved?4(int) +QtWidgets.QAbstractSlider.sliderReleased?4() +QtWidgets.QAbstractSlider.rangeChanged?4(int, int) +QtWidgets.QAbstractSlider.actionTriggered?4(int) +QtWidgets.QAbstractSlider.setRepeatAction?4(QAbstractSlider.SliderAction, int thresholdTime=500, int repeatTime=50) +QtWidgets.QAbstractSlider.repeatAction?4() -> QAbstractSlider.SliderAction +QtWidgets.QAbstractSlider.sliderChange?4(QAbstractSlider.SliderChange) +QtWidgets.QAbstractSlider.event?4(QEvent) -> bool +QtWidgets.QAbstractSlider.keyPressEvent?4(QKeyEvent) +QtWidgets.QAbstractSlider.timerEvent?4(QTimerEvent) +QtWidgets.QAbstractSlider.wheelEvent?4(QWheelEvent) +QtWidgets.QAbstractSlider.changeEvent?4(QEvent) +QtWidgets.QAbstractSpinBox.StepType?10 +QtWidgets.QAbstractSpinBox.StepType.DefaultStepType?10 +QtWidgets.QAbstractSpinBox.StepType.AdaptiveDecimalStepType?10 +QtWidgets.QAbstractSpinBox.CorrectionMode?10 +QtWidgets.QAbstractSpinBox.CorrectionMode.CorrectToPreviousValue?10 +QtWidgets.QAbstractSpinBox.CorrectionMode.CorrectToNearestValue?10 +QtWidgets.QAbstractSpinBox.ButtonSymbols?10 +QtWidgets.QAbstractSpinBox.ButtonSymbols.UpDownArrows?10 +QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus?10 +QtWidgets.QAbstractSpinBox.ButtonSymbols.NoButtons?10 +QtWidgets.QAbstractSpinBox.StepEnabledFlag?10 +QtWidgets.QAbstractSpinBox.StepEnabledFlag.StepNone?10 +QtWidgets.QAbstractSpinBox.StepEnabledFlag.StepUpEnabled?10 +QtWidgets.QAbstractSpinBox.StepEnabledFlag.StepDownEnabled?10 +QtWidgets.QAbstractSpinBox?1(QWidget parent=None) +QtWidgets.QAbstractSpinBox.__init__?1(self, QWidget parent=None) +QtWidgets.QAbstractSpinBox.buttonSymbols?4() -> QAbstractSpinBox.ButtonSymbols +QtWidgets.QAbstractSpinBox.setButtonSymbols?4(QAbstractSpinBox.ButtonSymbols) +QtWidgets.QAbstractSpinBox.text?4() -> QString +QtWidgets.QAbstractSpinBox.specialValueText?4() -> QString +QtWidgets.QAbstractSpinBox.setSpecialValueText?4(QString) +QtWidgets.QAbstractSpinBox.wrapping?4() -> bool +QtWidgets.QAbstractSpinBox.setWrapping?4(bool) +QtWidgets.QAbstractSpinBox.setReadOnly?4(bool) +QtWidgets.QAbstractSpinBox.isReadOnly?4() -> bool +QtWidgets.QAbstractSpinBox.setAlignment?4(Qt.Alignment) +QtWidgets.QAbstractSpinBox.alignment?4() -> Qt.Alignment +QtWidgets.QAbstractSpinBox.setFrame?4(bool) +QtWidgets.QAbstractSpinBox.hasFrame?4() -> bool +QtWidgets.QAbstractSpinBox.sizeHint?4() -> QSize +QtWidgets.QAbstractSpinBox.minimumSizeHint?4() -> QSize +QtWidgets.QAbstractSpinBox.interpretText?4() +QtWidgets.QAbstractSpinBox.event?4(QEvent) -> bool +QtWidgets.QAbstractSpinBox.validate?4(QString, int) -> (QValidator.State, QString, int) +QtWidgets.QAbstractSpinBox.fixup?4(QString) -> QString +QtWidgets.QAbstractSpinBox.stepBy?4(int) +QtWidgets.QAbstractSpinBox.stepUp?4() +QtWidgets.QAbstractSpinBox.stepDown?4() +QtWidgets.QAbstractSpinBox.selectAll?4() +QtWidgets.QAbstractSpinBox.clear?4() +QtWidgets.QAbstractSpinBox.editingFinished?4() +QtWidgets.QAbstractSpinBox.resizeEvent?4(QResizeEvent) +QtWidgets.QAbstractSpinBox.keyPressEvent?4(QKeyEvent) +QtWidgets.QAbstractSpinBox.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QAbstractSpinBox.wheelEvent?4(QWheelEvent) +QtWidgets.QAbstractSpinBox.focusInEvent?4(QFocusEvent) +QtWidgets.QAbstractSpinBox.focusOutEvent?4(QFocusEvent) +QtWidgets.QAbstractSpinBox.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QAbstractSpinBox.changeEvent?4(QEvent) +QtWidgets.QAbstractSpinBox.closeEvent?4(QCloseEvent) +QtWidgets.QAbstractSpinBox.hideEvent?4(QHideEvent) +QtWidgets.QAbstractSpinBox.mousePressEvent?4(QMouseEvent) +QtWidgets.QAbstractSpinBox.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QAbstractSpinBox.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QAbstractSpinBox.timerEvent?4(QTimerEvent) +QtWidgets.QAbstractSpinBox.paintEvent?4(QPaintEvent) +QtWidgets.QAbstractSpinBox.showEvent?4(QShowEvent) +QtWidgets.QAbstractSpinBox.lineEdit?4() -> QLineEdit +QtWidgets.QAbstractSpinBox.setLineEdit?4(QLineEdit) +QtWidgets.QAbstractSpinBox.stepEnabled?4() -> QAbstractSpinBox.StepEnabled +QtWidgets.QAbstractSpinBox.initStyleOption?4(QStyleOptionSpinBox) +QtWidgets.QAbstractSpinBox.setCorrectionMode?4(QAbstractSpinBox.CorrectionMode) +QtWidgets.QAbstractSpinBox.correctionMode?4() -> QAbstractSpinBox.CorrectionMode +QtWidgets.QAbstractSpinBox.hasAcceptableInput?4() -> bool +QtWidgets.QAbstractSpinBox.setAccelerated?4(bool) +QtWidgets.QAbstractSpinBox.isAccelerated?4() -> bool +QtWidgets.QAbstractSpinBox.setKeyboardTracking?4(bool) +QtWidgets.QAbstractSpinBox.keyboardTracking?4() -> bool +QtWidgets.QAbstractSpinBox.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QAbstractSpinBox.setGroupSeparatorShown?4(bool) +QtWidgets.QAbstractSpinBox.isGroupSeparatorShown?4() -> bool +QtWidgets.QAbstractSpinBox.StepEnabled?1() +QtWidgets.QAbstractSpinBox.StepEnabled.__init__?1(self) +QtWidgets.QAbstractSpinBox.StepEnabled?1(int) +QtWidgets.QAbstractSpinBox.StepEnabled.__init__?1(self, int) +QtWidgets.QAbstractSpinBox.StepEnabled?1(QAbstractSpinBox.StepEnabled) +QtWidgets.QAbstractSpinBox.StepEnabled.__init__?1(self, QAbstractSpinBox.StepEnabled) +QtWidgets.QAction.Priority?10 +QtWidgets.QAction.Priority.LowPriority?10 +QtWidgets.QAction.Priority.NormalPriority?10 +QtWidgets.QAction.Priority.HighPriority?10 +QtWidgets.QAction.MenuRole?10 +QtWidgets.QAction.MenuRole.NoRole?10 +QtWidgets.QAction.MenuRole.TextHeuristicRole?10 +QtWidgets.QAction.MenuRole.ApplicationSpecificRole?10 +QtWidgets.QAction.MenuRole.AboutQtRole?10 +QtWidgets.QAction.MenuRole.AboutRole?10 +QtWidgets.QAction.MenuRole.PreferencesRole?10 +QtWidgets.QAction.MenuRole.QuitRole?10 +QtWidgets.QAction.ActionEvent?10 +QtWidgets.QAction.ActionEvent.Trigger?10 +QtWidgets.QAction.ActionEvent.Hover?10 +QtWidgets.QAction?1(QObject parent=None) +QtWidgets.QAction.__init__?1(self, QObject parent=None) +QtWidgets.QAction?1(QString, QObject parent=None) +QtWidgets.QAction.__init__?1(self, QString, QObject parent=None) +QtWidgets.QAction?1(QIcon, QString, QObject parent=None) +QtWidgets.QAction.__init__?1(self, QIcon, QString, QObject parent=None) +QtWidgets.QAction.setActionGroup?4(QActionGroup) +QtWidgets.QAction.actionGroup?4() -> QActionGroup +QtWidgets.QAction.setIcon?4(QIcon) +QtWidgets.QAction.icon?4() -> QIcon +QtWidgets.QAction.setText?4(QString) +QtWidgets.QAction.text?4() -> QString +QtWidgets.QAction.setIconText?4(QString) +QtWidgets.QAction.iconText?4() -> QString +QtWidgets.QAction.setToolTip?4(QString) +QtWidgets.QAction.toolTip?4() -> QString +QtWidgets.QAction.setStatusTip?4(QString) +QtWidgets.QAction.statusTip?4() -> QString +QtWidgets.QAction.setWhatsThis?4(QString) +QtWidgets.QAction.whatsThis?4() -> QString +QtWidgets.QAction.menu?4() -> QMenu +QtWidgets.QAction.setMenu?4(QMenu) +QtWidgets.QAction.setSeparator?4(bool) +QtWidgets.QAction.isSeparator?4() -> bool +QtWidgets.QAction.setShortcut?4(QKeySequence) +QtWidgets.QAction.shortcut?4() -> QKeySequence +QtWidgets.QAction.setShortcutContext?4(Qt.ShortcutContext) +QtWidgets.QAction.shortcutContext?4() -> Qt.ShortcutContext +QtWidgets.QAction.setFont?4(QFont) +QtWidgets.QAction.font?4() -> QFont +QtWidgets.QAction.setCheckable?4(bool) +QtWidgets.QAction.isCheckable?4() -> bool +QtWidgets.QAction.data?4() -> QVariant +QtWidgets.QAction.setData?4(QVariant) +QtWidgets.QAction.isChecked?4() -> bool +QtWidgets.QAction.isEnabled?4() -> bool +QtWidgets.QAction.isVisible?4() -> bool +QtWidgets.QAction.activate?4(QAction.ActionEvent) +QtWidgets.QAction.showStatusText?4(QWidget widget=None) -> bool +QtWidgets.QAction.parentWidget?4() -> QWidget +QtWidgets.QAction.event?4(QEvent) -> bool +QtWidgets.QAction.trigger?4() +QtWidgets.QAction.hover?4() +QtWidgets.QAction.setChecked?4(bool) +QtWidgets.QAction.toggle?4() +QtWidgets.QAction.setEnabled?4(bool) +QtWidgets.QAction.setDisabled?4(bool) +QtWidgets.QAction.setVisible?4(bool) +QtWidgets.QAction.changed?4() +QtWidgets.QAction.triggered?4(bool checked=False) +QtWidgets.QAction.hovered?4() +QtWidgets.QAction.toggled?4(bool) +QtWidgets.QAction.setShortcuts?4(unknown-type) +QtWidgets.QAction.setShortcuts?4(QKeySequence.StandardKey) +QtWidgets.QAction.shortcuts?4() -> unknown-type +QtWidgets.QAction.setAutoRepeat?4(bool) +QtWidgets.QAction.autoRepeat?4() -> bool +QtWidgets.QAction.setMenuRole?4(QAction.MenuRole) +QtWidgets.QAction.menuRole?4() -> QAction.MenuRole +QtWidgets.QAction.associatedWidgets?4() -> unknown-type +QtWidgets.QAction.associatedGraphicsWidgets?4() -> unknown-type +QtWidgets.QAction.setIconVisibleInMenu?4(bool) +QtWidgets.QAction.isIconVisibleInMenu?4() -> bool +QtWidgets.QAction.setPriority?4(QAction.Priority) +QtWidgets.QAction.priority?4() -> QAction.Priority +QtWidgets.QAction.setShortcutVisibleInContextMenu?4(bool) +QtWidgets.QAction.isShortcutVisibleInContextMenu?4() -> bool +QtWidgets.QActionGroup.ExclusionPolicy?10 +QtWidgets.QActionGroup.ExclusionPolicy.None_?10 +QtWidgets.QActionGroup.ExclusionPolicy.Exclusive?10 +QtWidgets.QActionGroup.ExclusionPolicy.ExclusiveOptional?10 +QtWidgets.QActionGroup?1(QObject) +QtWidgets.QActionGroup.__init__?1(self, QObject) +QtWidgets.QActionGroup.addAction?4(QAction) -> QAction +QtWidgets.QActionGroup.addAction?4(QString) -> QAction +QtWidgets.QActionGroup.addAction?4(QIcon, QString) -> QAction +QtWidgets.QActionGroup.removeAction?4(QAction) +QtWidgets.QActionGroup.actions?4() -> unknown-type +QtWidgets.QActionGroup.checkedAction?4() -> QAction +QtWidgets.QActionGroup.isExclusive?4() -> bool +QtWidgets.QActionGroup.isEnabled?4() -> bool +QtWidgets.QActionGroup.isVisible?4() -> bool +QtWidgets.QActionGroup.setEnabled?4(bool) +QtWidgets.QActionGroup.setDisabled?4(bool) +QtWidgets.QActionGroup.setVisible?4(bool) +QtWidgets.QActionGroup.setExclusive?4(bool) +QtWidgets.QActionGroup.triggered?4(QAction) +QtWidgets.QActionGroup.hovered?4(QAction) +QtWidgets.QActionGroup.exclusionPolicy?4() -> QActionGroup.ExclusionPolicy +QtWidgets.QActionGroup.setExclusionPolicy?4(QActionGroup.ExclusionPolicy) +QtWidgets.QApplication.ColorSpec?10 +QtWidgets.QApplication.ColorSpec.NormalColor?10 +QtWidgets.QApplication.ColorSpec.CustomColor?10 +QtWidgets.QApplication.ColorSpec.ManyColor?10 +QtWidgets.QApplication?1(list) +QtWidgets.QApplication.__init__?1(self, list) +QtWidgets.QApplication.style?4() -> QStyle +QtWidgets.QApplication.setStyle?4(QStyle) +QtWidgets.QApplication.setStyle?4(QString) -> QStyle +QtWidgets.QApplication.colorSpec?4() -> int +QtWidgets.QApplication.setColorSpec?4(int) +QtWidgets.QApplication.palette?4() -> QPalette +QtWidgets.QApplication.palette?4(QWidget) -> QPalette +QtWidgets.QApplication.palette?4(str) -> QPalette +QtWidgets.QApplication.setPalette?4(QPalette, str className=None) +QtWidgets.QApplication.font?4() -> QFont +QtWidgets.QApplication.font?4(QWidget) -> QFont +QtWidgets.QApplication.font?4(str) -> QFont +QtWidgets.QApplication.setFont?4(QFont, str className=None) +QtWidgets.QApplication.fontMetrics?4() -> QFontMetrics +QtWidgets.QApplication.setWindowIcon?4(QIcon) +QtWidgets.QApplication.windowIcon?4() -> QIcon +QtWidgets.QApplication.allWidgets?4() -> unknown-type +QtWidgets.QApplication.topLevelWidgets?4() -> unknown-type +QtWidgets.QApplication.desktop?4() -> QDesktopWidget +QtWidgets.QApplication.activePopupWidget?4() -> QWidget +QtWidgets.QApplication.activeModalWidget?4() -> QWidget +QtWidgets.QApplication.focusWidget?4() -> QWidget +QtWidgets.QApplication.activeWindow?4() -> QWidget +QtWidgets.QApplication.setActiveWindow?4(QWidget) +QtWidgets.QApplication.widgetAt?4(QPoint) -> QWidget +QtWidgets.QApplication.widgetAt?4(int, int) -> QWidget +QtWidgets.QApplication.topLevelAt?4(QPoint) -> QWidget +QtWidgets.QApplication.topLevelAt?4(int, int) -> QWidget +QtWidgets.QApplication.beep?4() +QtWidgets.QApplication.alert?4(QWidget, int msecs=0) +QtWidgets.QApplication.setCursorFlashTime?4(int) +QtWidgets.QApplication.cursorFlashTime?4() -> int +QtWidgets.QApplication.setDoubleClickInterval?4(int) +QtWidgets.QApplication.doubleClickInterval?4() -> int +QtWidgets.QApplication.setKeyboardInputInterval?4(int) +QtWidgets.QApplication.keyboardInputInterval?4() -> int +QtWidgets.QApplication.setWheelScrollLines?4(int) +QtWidgets.QApplication.wheelScrollLines?4() -> int +QtWidgets.QApplication.setGlobalStrut?4(QSize) +QtWidgets.QApplication.globalStrut?4() -> QSize +QtWidgets.QApplication.setStartDragTime?4(int) +QtWidgets.QApplication.startDragTime?4() -> int +QtWidgets.QApplication.setStartDragDistance?4(int) +QtWidgets.QApplication.startDragDistance?4() -> int +QtWidgets.QApplication.isEffectEnabled?4(Qt.UIEffect) -> bool +QtWidgets.QApplication.setEffectEnabled?4(Qt.UIEffect, bool enabled=True) +QtWidgets.QApplication.exec_?4() -> int +QtWidgets.QApplication.exec?4() -> int +QtWidgets.QApplication.notify?4(QObject, QEvent) -> bool +QtWidgets.QApplication.autoSipEnabled?4() -> bool +QtWidgets.QApplication.styleSheet?4() -> QString +QtWidgets.QApplication.focusChanged?4(QWidget, QWidget) +QtWidgets.QApplication.aboutQt?4() +QtWidgets.QApplication.closeAllWindows?4() +QtWidgets.QApplication.setAutoSipEnabled?4(bool) +QtWidgets.QApplication.setStyleSheet?4(QString) +QtWidgets.QApplication.event?4(QEvent) -> bool +QtWidgets.QLayoutItem?1(Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QLayoutItem.__init__?1(self, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QLayoutItem?1(QLayoutItem) +QtWidgets.QLayoutItem.__init__?1(self, QLayoutItem) +QtWidgets.QLayoutItem.sizeHint?4() -> QSize +QtWidgets.QLayoutItem.minimumSize?4() -> QSize +QtWidgets.QLayoutItem.maximumSize?4() -> QSize +QtWidgets.QLayoutItem.expandingDirections?4() -> Qt.Orientations +QtWidgets.QLayoutItem.setGeometry?4(QRect) +QtWidgets.QLayoutItem.geometry?4() -> QRect +QtWidgets.QLayoutItem.isEmpty?4() -> bool +QtWidgets.QLayoutItem.hasHeightForWidth?4() -> bool +QtWidgets.QLayoutItem.heightForWidth?4(int) -> int +QtWidgets.QLayoutItem.minimumHeightForWidth?4(int) -> int +QtWidgets.QLayoutItem.invalidate?4() +QtWidgets.QLayoutItem.widget?4() -> QWidget +QtWidgets.QLayoutItem.layout?4() -> QLayout +QtWidgets.QLayoutItem.spacerItem?4() -> QSpacerItem +QtWidgets.QLayoutItem.alignment?4() -> Qt.Alignment +QtWidgets.QLayoutItem.setAlignment?4(Qt.Alignment) +QtWidgets.QLayoutItem.controlTypes?4() -> QSizePolicy.ControlTypes +QtWidgets.QLayout.SizeConstraint?10 +QtWidgets.QLayout.SizeConstraint.SetDefaultConstraint?10 +QtWidgets.QLayout.SizeConstraint.SetNoConstraint?10 +QtWidgets.QLayout.SizeConstraint.SetMinimumSize?10 +QtWidgets.QLayout.SizeConstraint.SetFixedSize?10 +QtWidgets.QLayout.SizeConstraint.SetMaximumSize?10 +QtWidgets.QLayout.SizeConstraint.SetMinAndMaxSize?10 +QtWidgets.QLayout?1(QWidget) +QtWidgets.QLayout.__init__?1(self, QWidget) +QtWidgets.QLayout?1() +QtWidgets.QLayout.__init__?1(self) +QtWidgets.QLayout.spacing?4() -> int +QtWidgets.QLayout.setSpacing?4(int) +QtWidgets.QLayout.setAlignment?4(QWidget, Qt.Alignment) -> bool +QtWidgets.QLayout.setAlignment?4(QLayout, Qt.Alignment) -> bool +QtWidgets.QLayout.setAlignment?4(Qt.Alignment) +QtWidgets.QLayout.setSizeConstraint?4(QLayout.SizeConstraint) +QtWidgets.QLayout.sizeConstraint?4() -> QLayout.SizeConstraint +QtWidgets.QLayout.setMenuBar?4(QWidget) +QtWidgets.QLayout.menuBar?4() -> QWidget +QtWidgets.QLayout.parentWidget?4() -> QWidget +QtWidgets.QLayout.invalidate?4() +QtWidgets.QLayout.geometry?4() -> QRect +QtWidgets.QLayout.activate?4() -> bool +QtWidgets.QLayout.update?4() +QtWidgets.QLayout.addWidget?4(QWidget) +QtWidgets.QLayout.addItem?4(QLayoutItem) +QtWidgets.QLayout.removeWidget?4(QWidget) +QtWidgets.QLayout.removeItem?4(QLayoutItem) +QtWidgets.QLayout.expandingDirections?4() -> Qt.Orientations +QtWidgets.QLayout.minimumSize?4() -> QSize +QtWidgets.QLayout.maximumSize?4() -> QSize +QtWidgets.QLayout.setGeometry?4(QRect) +QtWidgets.QLayout.itemAt?4(int) -> QLayoutItem +QtWidgets.QLayout.takeAt?4(int) -> QLayoutItem +QtWidgets.QLayout.indexOf?4(QWidget) -> int +QtWidgets.QLayout.indexOf?4(QLayoutItem) -> int +QtWidgets.QLayout.count?4() -> int +QtWidgets.QLayout.isEmpty?4() -> bool +QtWidgets.QLayout.totalHeightForWidth?4(int) -> int +QtWidgets.QLayout.totalMinimumSize?4() -> QSize +QtWidgets.QLayout.totalMaximumSize?4() -> QSize +QtWidgets.QLayout.totalSizeHint?4() -> QSize +QtWidgets.QLayout.layout?4() -> QLayout +QtWidgets.QLayout.setEnabled?4(bool) +QtWidgets.QLayout.isEnabled?4() -> bool +QtWidgets.QLayout.closestAcceptableSize?4(QWidget, QSize) -> QSize +QtWidgets.QLayout.widgetEvent?4(QEvent) +QtWidgets.QLayout.childEvent?4(QChildEvent) +QtWidgets.QLayout.addChildLayout?4(QLayout) +QtWidgets.QLayout.addChildWidget?4(QWidget) +QtWidgets.QLayout.alignmentRect?4(QRect) -> QRect +QtWidgets.QLayout.setContentsMargins?4(int, int, int, int) +QtWidgets.QLayout.getContentsMargins?4() -> (int, int, int, int) +QtWidgets.QLayout.contentsRect?4() -> QRect +QtWidgets.QLayout.setContentsMargins?4(QMargins) +QtWidgets.QLayout.contentsMargins?4() -> QMargins +QtWidgets.QLayout.controlTypes?4() -> QSizePolicy.ControlTypes +QtWidgets.QLayout.replaceWidget?4(QWidget, QWidget, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> QLayoutItem +QtWidgets.QBoxLayout.Direction?10 +QtWidgets.QBoxLayout.Direction.LeftToRight?10 +QtWidgets.QBoxLayout.Direction.RightToLeft?10 +QtWidgets.QBoxLayout.Direction.TopToBottom?10 +QtWidgets.QBoxLayout.Direction.BottomToTop?10 +QtWidgets.QBoxLayout.Direction.Down?10 +QtWidgets.QBoxLayout.Direction.Up?10 +QtWidgets.QBoxLayout?1(QBoxLayout.Direction, QWidget parent=None) +QtWidgets.QBoxLayout.__init__?1(self, QBoxLayout.Direction, QWidget parent=None) +QtWidgets.QBoxLayout.direction?4() -> QBoxLayout.Direction +QtWidgets.QBoxLayout.setDirection?4(QBoxLayout.Direction) +QtWidgets.QBoxLayout.addSpacing?4(int) +QtWidgets.QBoxLayout.addStretch?4(int stretch=0) +QtWidgets.QBoxLayout.addWidget?4(QWidget, int stretch=0, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QBoxLayout.addLayout?4(QLayout, int stretch=0) +QtWidgets.QBoxLayout.addStrut?4(int) +QtWidgets.QBoxLayout.addItem?4(QLayoutItem) +QtWidgets.QBoxLayout.insertSpacing?4(int, int) +QtWidgets.QBoxLayout.insertStretch?4(int, int stretch=0) +QtWidgets.QBoxLayout.insertWidget?4(int, QWidget, int stretch=0, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QBoxLayout.insertLayout?4(int, QLayout, int stretch=0) +QtWidgets.QBoxLayout.setStretchFactor?4(QWidget, int) -> bool +QtWidgets.QBoxLayout.setStretchFactor?4(QLayout, int) -> bool +QtWidgets.QBoxLayout.sizeHint?4() -> QSize +QtWidgets.QBoxLayout.minimumSize?4() -> QSize +QtWidgets.QBoxLayout.maximumSize?4() -> QSize +QtWidgets.QBoxLayout.hasHeightForWidth?4() -> bool +QtWidgets.QBoxLayout.heightForWidth?4(int) -> int +QtWidgets.QBoxLayout.minimumHeightForWidth?4(int) -> int +QtWidgets.QBoxLayout.expandingDirections?4() -> Qt.Orientations +QtWidgets.QBoxLayout.invalidate?4() +QtWidgets.QBoxLayout.itemAt?4(int) -> QLayoutItem +QtWidgets.QBoxLayout.takeAt?4(int) -> QLayoutItem +QtWidgets.QBoxLayout.count?4() -> int +QtWidgets.QBoxLayout.setGeometry?4(QRect) +QtWidgets.QBoxLayout.spacing?4() -> int +QtWidgets.QBoxLayout.setSpacing?4(int) +QtWidgets.QBoxLayout.addSpacerItem?4(QSpacerItem) +QtWidgets.QBoxLayout.insertSpacerItem?4(int, QSpacerItem) +QtWidgets.QBoxLayout.setStretch?4(int, int) +QtWidgets.QBoxLayout.stretch?4(int) -> int +QtWidgets.QBoxLayout.insertItem?4(int, QLayoutItem) +QtWidgets.QHBoxLayout?1() +QtWidgets.QHBoxLayout.__init__?1(self) +QtWidgets.QHBoxLayout?1(QWidget) +QtWidgets.QHBoxLayout.__init__?1(self, QWidget) +QtWidgets.QVBoxLayout?1() +QtWidgets.QVBoxLayout.__init__?1(self) +QtWidgets.QVBoxLayout?1(QWidget) +QtWidgets.QVBoxLayout.__init__?1(self, QWidget) +QtWidgets.QButtonGroup?1(QObject parent=None) +QtWidgets.QButtonGroup.__init__?1(self, QObject parent=None) +QtWidgets.QButtonGroup.setExclusive?4(bool) +QtWidgets.QButtonGroup.exclusive?4() -> bool +QtWidgets.QButtonGroup.addButton?4(QAbstractButton, int id=-1) +QtWidgets.QButtonGroup.removeButton?4(QAbstractButton) +QtWidgets.QButtonGroup.buttons?4() -> unknown-type +QtWidgets.QButtonGroup.button?4(int) -> QAbstractButton +QtWidgets.QButtonGroup.checkedButton?4() -> QAbstractButton +QtWidgets.QButtonGroup.setId?4(QAbstractButton, int) +QtWidgets.QButtonGroup.id?4(QAbstractButton) -> int +QtWidgets.QButtonGroup.checkedId?4() -> int +QtWidgets.QButtonGroup.buttonClicked?4(QAbstractButton) +QtWidgets.QButtonGroup.buttonClicked?4(int) +QtWidgets.QButtonGroup.buttonPressed?4(QAbstractButton) +QtWidgets.QButtonGroup.buttonPressed?4(int) +QtWidgets.QButtonGroup.buttonReleased?4(QAbstractButton) +QtWidgets.QButtonGroup.buttonReleased?4(int) +QtWidgets.QButtonGroup.buttonToggled?4(QAbstractButton, bool) +QtWidgets.QButtonGroup.buttonToggled?4(int, bool) +QtWidgets.QButtonGroup.idClicked?4(int) +QtWidgets.QButtonGroup.idPressed?4(int) +QtWidgets.QButtonGroup.idReleased?4(int) +QtWidgets.QButtonGroup.idToggled?4(int, bool) +QtWidgets.QCalendarWidget.SelectionMode?10 +QtWidgets.QCalendarWidget.SelectionMode.NoSelection?10 +QtWidgets.QCalendarWidget.SelectionMode.SingleSelection?10 +QtWidgets.QCalendarWidget.VerticalHeaderFormat?10 +QtWidgets.QCalendarWidget.VerticalHeaderFormat.NoVerticalHeader?10 +QtWidgets.QCalendarWidget.VerticalHeaderFormat.ISOWeekNumbers?10 +QtWidgets.QCalendarWidget.HorizontalHeaderFormat?10 +QtWidgets.QCalendarWidget.HorizontalHeaderFormat.NoHorizontalHeader?10 +QtWidgets.QCalendarWidget.HorizontalHeaderFormat.SingleLetterDayNames?10 +QtWidgets.QCalendarWidget.HorizontalHeaderFormat.ShortDayNames?10 +QtWidgets.QCalendarWidget.HorizontalHeaderFormat.LongDayNames?10 +QtWidgets.QCalendarWidget?1(QWidget parent=None) +QtWidgets.QCalendarWidget.__init__?1(self, QWidget parent=None) +QtWidgets.QCalendarWidget.sizeHint?4() -> QSize +QtWidgets.QCalendarWidget.minimumSizeHint?4() -> QSize +QtWidgets.QCalendarWidget.selectedDate?4() -> QDate +QtWidgets.QCalendarWidget.yearShown?4() -> int +QtWidgets.QCalendarWidget.monthShown?4() -> int +QtWidgets.QCalendarWidget.minimumDate?4() -> QDate +QtWidgets.QCalendarWidget.setMinimumDate?4(QDate) +QtWidgets.QCalendarWidget.maximumDate?4() -> QDate +QtWidgets.QCalendarWidget.setMaximumDate?4(QDate) +QtWidgets.QCalendarWidget.firstDayOfWeek?4() -> Qt.DayOfWeek +QtWidgets.QCalendarWidget.setFirstDayOfWeek?4(Qt.DayOfWeek) +QtWidgets.QCalendarWidget.isGridVisible?4() -> bool +QtWidgets.QCalendarWidget.setGridVisible?4(bool) +QtWidgets.QCalendarWidget.selectionMode?4() -> QCalendarWidget.SelectionMode +QtWidgets.QCalendarWidget.setSelectionMode?4(QCalendarWidget.SelectionMode) +QtWidgets.QCalendarWidget.horizontalHeaderFormat?4() -> QCalendarWidget.HorizontalHeaderFormat +QtWidgets.QCalendarWidget.setHorizontalHeaderFormat?4(QCalendarWidget.HorizontalHeaderFormat) +QtWidgets.QCalendarWidget.verticalHeaderFormat?4() -> QCalendarWidget.VerticalHeaderFormat +QtWidgets.QCalendarWidget.setVerticalHeaderFormat?4(QCalendarWidget.VerticalHeaderFormat) +QtWidgets.QCalendarWidget.headerTextFormat?4() -> QTextCharFormat +QtWidgets.QCalendarWidget.setHeaderTextFormat?4(QTextCharFormat) +QtWidgets.QCalendarWidget.weekdayTextFormat?4(Qt.DayOfWeek) -> QTextCharFormat +QtWidgets.QCalendarWidget.setWeekdayTextFormat?4(Qt.DayOfWeek, QTextCharFormat) +QtWidgets.QCalendarWidget.dateTextFormat?4() -> unknown-type +QtWidgets.QCalendarWidget.dateTextFormat?4(QDate) -> QTextCharFormat +QtWidgets.QCalendarWidget.setDateTextFormat?4(QDate, QTextCharFormat) +QtWidgets.QCalendarWidget.updateCell?4(QDate) +QtWidgets.QCalendarWidget.updateCells?4() +QtWidgets.QCalendarWidget.event?4(QEvent) -> bool +QtWidgets.QCalendarWidget.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QCalendarWidget.mousePressEvent?4(QMouseEvent) +QtWidgets.QCalendarWidget.resizeEvent?4(QResizeEvent) +QtWidgets.QCalendarWidget.keyPressEvent?4(QKeyEvent) +QtWidgets.QCalendarWidget.paintCell?4(QPainter, QRect, QDate) +QtWidgets.QCalendarWidget.setCurrentPage?4(int, int) +QtWidgets.QCalendarWidget.setDateRange?4(QDate, QDate) +QtWidgets.QCalendarWidget.setSelectedDate?4(QDate) +QtWidgets.QCalendarWidget.showNextMonth?4() +QtWidgets.QCalendarWidget.showNextYear?4() +QtWidgets.QCalendarWidget.showPreviousMonth?4() +QtWidgets.QCalendarWidget.showPreviousYear?4() +QtWidgets.QCalendarWidget.showSelectedDate?4() +QtWidgets.QCalendarWidget.showToday?4() +QtWidgets.QCalendarWidget.activated?4(QDate) +QtWidgets.QCalendarWidget.clicked?4(QDate) +QtWidgets.QCalendarWidget.currentPageChanged?4(int, int) +QtWidgets.QCalendarWidget.selectionChanged?4() +QtWidgets.QCalendarWidget.isNavigationBarVisible?4() -> bool +QtWidgets.QCalendarWidget.isDateEditEnabled?4() -> bool +QtWidgets.QCalendarWidget.setDateEditEnabled?4(bool) +QtWidgets.QCalendarWidget.dateEditAcceptDelay?4() -> int +QtWidgets.QCalendarWidget.setDateEditAcceptDelay?4(int) +QtWidgets.QCalendarWidget.setNavigationBarVisible?4(bool) +QtWidgets.QCalendarWidget.calendar?4() -> QCalendar +QtWidgets.QCalendarWidget.setCalendar?4(QCalendar) +QtWidgets.QCheckBox?1(QWidget parent=None) +QtWidgets.QCheckBox.__init__?1(self, QWidget parent=None) +QtWidgets.QCheckBox?1(QString, QWidget parent=None) +QtWidgets.QCheckBox.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QCheckBox.sizeHint?4() -> QSize +QtWidgets.QCheckBox.setTristate?4(bool on=True) +QtWidgets.QCheckBox.isTristate?4() -> bool +QtWidgets.QCheckBox.checkState?4() -> Qt.CheckState +QtWidgets.QCheckBox.setCheckState?4(Qt.CheckState) +QtWidgets.QCheckBox.minimumSizeHint?4() -> QSize +QtWidgets.QCheckBox.stateChanged?4(int) +QtWidgets.QCheckBox.hitButton?4(QPoint) -> bool +QtWidgets.QCheckBox.checkStateSet?4() +QtWidgets.QCheckBox.nextCheckState?4() +QtWidgets.QCheckBox.event?4(QEvent) -> bool +QtWidgets.QCheckBox.paintEvent?4(QPaintEvent) +QtWidgets.QCheckBox.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QCheckBox.initStyleOption?4(QStyleOptionButton) +QtWidgets.QDialog.DialogCode?10 +QtWidgets.QDialog.DialogCode.Rejected?10 +QtWidgets.QDialog.DialogCode.Accepted?10 +QtWidgets.QDialog?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QDialog.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QDialog.result?4() -> int +QtWidgets.QDialog.setVisible?4(bool) +QtWidgets.QDialog.sizeHint?4() -> QSize +QtWidgets.QDialog.minimumSizeHint?4() -> QSize +QtWidgets.QDialog.setSizeGripEnabled?4(bool) +QtWidgets.QDialog.isSizeGripEnabled?4() -> bool +QtWidgets.QDialog.setModal?4(bool) +QtWidgets.QDialog.setResult?4(int) +QtWidgets.QDialog.exec_?4() -> int +QtWidgets.QDialog.exec?4() -> int +QtWidgets.QDialog.done?4(int) +QtWidgets.QDialog.accept?4() +QtWidgets.QDialog.reject?4() +QtWidgets.QDialog.open?4() +QtWidgets.QDialog.accepted?4() +QtWidgets.QDialog.finished?4(int) +QtWidgets.QDialog.rejected?4() +QtWidgets.QDialog.keyPressEvent?4(QKeyEvent) +QtWidgets.QDialog.closeEvent?4(QCloseEvent) +QtWidgets.QDialog.showEvent?4(QShowEvent) +QtWidgets.QDialog.resizeEvent?4(QResizeEvent) +QtWidgets.QDialog.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QDialog.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QColorDialog.ColorDialogOption?10 +QtWidgets.QColorDialog.ColorDialogOption.ShowAlphaChannel?10 +QtWidgets.QColorDialog.ColorDialogOption.NoButtons?10 +QtWidgets.QColorDialog.ColorDialogOption.DontUseNativeDialog?10 +QtWidgets.QColorDialog?1(QWidget parent=None) +QtWidgets.QColorDialog.__init__?1(self, QWidget parent=None) +QtWidgets.QColorDialog?1(QColor, QWidget parent=None) +QtWidgets.QColorDialog.__init__?1(self, QColor, QWidget parent=None) +QtWidgets.QColorDialog.getColor?4(QColor initial=Qt.white, QWidget parent=None, QString title='', QColorDialog.ColorDialogOptions options=QColorDialog.ColorDialogOptions()) -> QColor +QtWidgets.QColorDialog.customCount?4() -> int +QtWidgets.QColorDialog.customColor?4(int) -> QColor +QtWidgets.QColorDialog.setCustomColor?4(int, QColor) +QtWidgets.QColorDialog.standardColor?4(int) -> QColor +QtWidgets.QColorDialog.setStandardColor?4(int, QColor) +QtWidgets.QColorDialog.colorSelected?4(QColor) +QtWidgets.QColorDialog.currentColorChanged?4(QColor) +QtWidgets.QColorDialog.changeEvent?4(QEvent) +QtWidgets.QColorDialog.done?4(int) +QtWidgets.QColorDialog.setCurrentColor?4(QColor) +QtWidgets.QColorDialog.currentColor?4() -> QColor +QtWidgets.QColorDialog.selectedColor?4() -> QColor +QtWidgets.QColorDialog.setOption?4(QColorDialog.ColorDialogOption, bool on=True) +QtWidgets.QColorDialog.testOption?4(QColorDialog.ColorDialogOption) -> bool +QtWidgets.QColorDialog.setOptions?4(QColorDialog.ColorDialogOptions) +QtWidgets.QColorDialog.options?4() -> QColorDialog.ColorDialogOptions +QtWidgets.QColorDialog.open?4() +QtWidgets.QColorDialog.open?4(object) +QtWidgets.QColorDialog.setVisible?4(bool) +QtWidgets.QColorDialog.ColorDialogOptions?1() +QtWidgets.QColorDialog.ColorDialogOptions.__init__?1(self) +QtWidgets.QColorDialog.ColorDialogOptions?1(int) +QtWidgets.QColorDialog.ColorDialogOptions.__init__?1(self, int) +QtWidgets.QColorDialog.ColorDialogOptions?1(QColorDialog.ColorDialogOptions) +QtWidgets.QColorDialog.ColorDialogOptions.__init__?1(self, QColorDialog.ColorDialogOptions) +QtWidgets.QColumnView?1(QWidget parent=None) +QtWidgets.QColumnView.__init__?1(self, QWidget parent=None) +QtWidgets.QColumnView.columnWidths?4() -> unknown-type +QtWidgets.QColumnView.previewWidget?4() -> QWidget +QtWidgets.QColumnView.resizeGripsVisible?4() -> bool +QtWidgets.QColumnView.setColumnWidths?4(unknown-type) +QtWidgets.QColumnView.setPreviewWidget?4(QWidget) +QtWidgets.QColumnView.setResizeGripsVisible?4(bool) +QtWidgets.QColumnView.indexAt?4(QPoint) -> QModelIndex +QtWidgets.QColumnView.scrollTo?4(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible) +QtWidgets.QColumnView.sizeHint?4() -> QSize +QtWidgets.QColumnView.visualRect?4(QModelIndex) -> QRect +QtWidgets.QColumnView.setModel?4(QAbstractItemModel) +QtWidgets.QColumnView.setSelectionModel?4(QItemSelectionModel) +QtWidgets.QColumnView.setRootIndex?4(QModelIndex) +QtWidgets.QColumnView.selectAll?4() +QtWidgets.QColumnView.updatePreviewWidget?4(QModelIndex) +QtWidgets.QColumnView.createColumn?4(QModelIndex) -> QAbstractItemView +QtWidgets.QColumnView.initializeColumn?4(QAbstractItemView) +QtWidgets.QColumnView.isIndexHidden?4(QModelIndex) -> bool +QtWidgets.QColumnView.moveCursor?4(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex +QtWidgets.QColumnView.resizeEvent?4(QResizeEvent) +QtWidgets.QColumnView.setSelection?4(QRect, QItemSelectionModel.SelectionFlags) +QtWidgets.QColumnView.visualRegionForSelection?4(QItemSelection) -> QRegion +QtWidgets.QColumnView.horizontalOffset?4() -> int +QtWidgets.QColumnView.verticalOffset?4() -> int +QtWidgets.QColumnView.scrollContentsBy?4(int, int) +QtWidgets.QColumnView.rowsInserted?4(QModelIndex, int, int) +QtWidgets.QColumnView.currentChanged?4(QModelIndex, QModelIndex) +QtWidgets.QComboBox.SizeAdjustPolicy?10 +QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToContents?10 +QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToContentsOnFirstShow?10 +QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLength?10 +QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon?10 +QtWidgets.QComboBox.InsertPolicy?10 +QtWidgets.QComboBox.InsertPolicy.NoInsert?10 +QtWidgets.QComboBox.InsertPolicy.InsertAtTop?10 +QtWidgets.QComboBox.InsertPolicy.InsertAtCurrent?10 +QtWidgets.QComboBox.InsertPolicy.InsertAtBottom?10 +QtWidgets.QComboBox.InsertPolicy.InsertAfterCurrent?10 +QtWidgets.QComboBox.InsertPolicy.InsertBeforeCurrent?10 +QtWidgets.QComboBox.InsertPolicy.InsertAlphabetically?10 +QtWidgets.QComboBox?1(QWidget parent=None) +QtWidgets.QComboBox.__init__?1(self, QWidget parent=None) +QtWidgets.QComboBox.maxVisibleItems?4() -> int +QtWidgets.QComboBox.setMaxVisibleItems?4(int) +QtWidgets.QComboBox.count?4() -> int +QtWidgets.QComboBox.setMaxCount?4(int) +QtWidgets.QComboBox.maxCount?4() -> int +QtWidgets.QComboBox.duplicatesEnabled?4() -> bool +QtWidgets.QComboBox.setDuplicatesEnabled?4(bool) +QtWidgets.QComboBox.setFrame?4(bool) +QtWidgets.QComboBox.hasFrame?4() -> bool +QtWidgets.QComboBox.findText?4(QString, Qt.MatchFlags flags=Qt.MatchExactly|Qt.MatchCaseSensitive) -> int +QtWidgets.QComboBox.findData?4(QVariant, int role=Qt.UserRole, Qt.MatchFlags flags=Qt.MatchExactly|Qt.MatchCaseSensitive) -> int +QtWidgets.QComboBox.insertPolicy?4() -> QComboBox.InsertPolicy +QtWidgets.QComboBox.setInsertPolicy?4(QComboBox.InsertPolicy) +QtWidgets.QComboBox.sizeAdjustPolicy?4() -> QComboBox.SizeAdjustPolicy +QtWidgets.QComboBox.setSizeAdjustPolicy?4(QComboBox.SizeAdjustPolicy) +QtWidgets.QComboBox.minimumContentsLength?4() -> int +QtWidgets.QComboBox.setMinimumContentsLength?4(int) +QtWidgets.QComboBox.iconSize?4() -> QSize +QtWidgets.QComboBox.setIconSize?4(QSize) +QtWidgets.QComboBox.isEditable?4() -> bool +QtWidgets.QComboBox.setEditable?4(bool) +QtWidgets.QComboBox.setLineEdit?4(QLineEdit) +QtWidgets.QComboBox.lineEdit?4() -> QLineEdit +QtWidgets.QComboBox.setValidator?4(QValidator) +QtWidgets.QComboBox.validator?4() -> QValidator +QtWidgets.QComboBox.itemDelegate?4() -> QAbstractItemDelegate +QtWidgets.QComboBox.setItemDelegate?4(QAbstractItemDelegate) +QtWidgets.QComboBox.model?4() -> QAbstractItemModel +QtWidgets.QComboBox.setModel?4(QAbstractItemModel) +QtWidgets.QComboBox.rootModelIndex?4() -> QModelIndex +QtWidgets.QComboBox.setRootModelIndex?4(QModelIndex) +QtWidgets.QComboBox.modelColumn?4() -> int +QtWidgets.QComboBox.setModelColumn?4(int) +QtWidgets.QComboBox.currentIndex?4() -> int +QtWidgets.QComboBox.setCurrentIndex?4(int) +QtWidgets.QComboBox.currentText?4() -> QString +QtWidgets.QComboBox.itemText?4(int) -> QString +QtWidgets.QComboBox.itemIcon?4(int) -> QIcon +QtWidgets.QComboBox.itemData?4(int, int role=Qt.UserRole) -> QVariant +QtWidgets.QComboBox.addItems?4(QStringList) +QtWidgets.QComboBox.addItem?4(QString, QVariant userData=None) +QtWidgets.QComboBox.addItem?4(QIcon, QString, QVariant userData=None) +QtWidgets.QComboBox.insertItem?4(int, QString, QVariant userData=None) +QtWidgets.QComboBox.insertItem?4(int, QIcon, QString, QVariant userData=None) +QtWidgets.QComboBox.insertItems?4(int, QStringList) +QtWidgets.QComboBox.removeItem?4(int) +QtWidgets.QComboBox.setItemText?4(int, QString) +QtWidgets.QComboBox.setItemIcon?4(int, QIcon) +QtWidgets.QComboBox.setItemData?4(int, QVariant, int role=Qt.ItemDataRole.UserRole) +QtWidgets.QComboBox.view?4() -> QAbstractItemView +QtWidgets.QComboBox.setView?4(QAbstractItemView) +QtWidgets.QComboBox.sizeHint?4() -> QSize +QtWidgets.QComboBox.minimumSizeHint?4() -> QSize +QtWidgets.QComboBox.showPopup?4() +QtWidgets.QComboBox.hidePopup?4() +QtWidgets.QComboBox.event?4(QEvent) -> bool +QtWidgets.QComboBox.setCompleter?4(QCompleter) +QtWidgets.QComboBox.completer?4() -> QCompleter +QtWidgets.QComboBox.insertSeparator?4(int) +QtWidgets.QComboBox.clear?4() +QtWidgets.QComboBox.clearEditText?4() +QtWidgets.QComboBox.setEditText?4(QString) +QtWidgets.QComboBox.setCurrentText?4(QString) +QtWidgets.QComboBox.editTextChanged?4(QString) +QtWidgets.QComboBox.activated?4(int) +QtWidgets.QComboBox.activated?4(QString) +QtWidgets.QComboBox.currentIndexChanged?4(int) +QtWidgets.QComboBox.currentIndexChanged?4(QString) +QtWidgets.QComboBox.currentTextChanged?4(QString) +QtWidgets.QComboBox.highlighted?4(int) +QtWidgets.QComboBox.highlighted?4(QString) +QtWidgets.QComboBox.initStyleOption?4(QStyleOptionComboBox) +QtWidgets.QComboBox.focusInEvent?4(QFocusEvent) +QtWidgets.QComboBox.focusOutEvent?4(QFocusEvent) +QtWidgets.QComboBox.changeEvent?4(QEvent) +QtWidgets.QComboBox.resizeEvent?4(QResizeEvent) +QtWidgets.QComboBox.paintEvent?4(QPaintEvent) +QtWidgets.QComboBox.showEvent?4(QShowEvent) +QtWidgets.QComboBox.hideEvent?4(QHideEvent) +QtWidgets.QComboBox.mousePressEvent?4(QMouseEvent) +QtWidgets.QComboBox.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QComboBox.keyPressEvent?4(QKeyEvent) +QtWidgets.QComboBox.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QComboBox.wheelEvent?4(QWheelEvent) +QtWidgets.QComboBox.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QComboBox.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QComboBox.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QComboBox.currentData?4(int role=Qt.ItemDataRole.UserRole) -> QVariant +QtWidgets.QComboBox.inputMethodQuery?4(Qt.InputMethodQuery, QVariant) -> QVariant +QtWidgets.QComboBox.textActivated?4(QString) +QtWidgets.QComboBox.textHighlighted?4(QString) +QtWidgets.QComboBox.setPlaceholderText?4(QString) +QtWidgets.QComboBox.placeholderText?4() -> QString +QtWidgets.QPushButton?1(QWidget parent=None) +QtWidgets.QPushButton.__init__?1(self, QWidget parent=None) +QtWidgets.QPushButton?1(QString, QWidget parent=None) +QtWidgets.QPushButton.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QPushButton?1(QIcon, QString, QWidget parent=None) +QtWidgets.QPushButton.__init__?1(self, QIcon, QString, QWidget parent=None) +QtWidgets.QPushButton.sizeHint?4() -> QSize +QtWidgets.QPushButton.minimumSizeHint?4() -> QSize +QtWidgets.QPushButton.autoDefault?4() -> bool +QtWidgets.QPushButton.setAutoDefault?4(bool) +QtWidgets.QPushButton.isDefault?4() -> bool +QtWidgets.QPushButton.setDefault?4(bool) +QtWidgets.QPushButton.setMenu?4(QMenu) +QtWidgets.QPushButton.menu?4() -> QMenu +QtWidgets.QPushButton.setFlat?4(bool) +QtWidgets.QPushButton.isFlat?4() -> bool +QtWidgets.QPushButton.showMenu?4() +QtWidgets.QPushButton.initStyleOption?4(QStyleOptionButton) +QtWidgets.QPushButton.event?4(QEvent) -> bool +QtWidgets.QPushButton.paintEvent?4(QPaintEvent) +QtWidgets.QPushButton.keyPressEvent?4(QKeyEvent) +QtWidgets.QPushButton.focusInEvent?4(QFocusEvent) +QtWidgets.QPushButton.focusOutEvent?4(QFocusEvent) +QtWidgets.QPushButton.hitButton?4(QPoint) -> bool +QtWidgets.QCommandLinkButton?1(QWidget parent=None) +QtWidgets.QCommandLinkButton.__init__?1(self, QWidget parent=None) +QtWidgets.QCommandLinkButton?1(QString, QWidget parent=None) +QtWidgets.QCommandLinkButton.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QCommandLinkButton?1(QString, QString, QWidget parent=None) +QtWidgets.QCommandLinkButton.__init__?1(self, QString, QString, QWidget parent=None) +QtWidgets.QCommandLinkButton.description?4() -> QString +QtWidgets.QCommandLinkButton.setDescription?4(QString) +QtWidgets.QCommandLinkButton.sizeHint?4() -> QSize +QtWidgets.QCommandLinkButton.heightForWidth?4(int) -> int +QtWidgets.QCommandLinkButton.minimumSizeHint?4() -> QSize +QtWidgets.QCommandLinkButton.event?4(QEvent) -> bool +QtWidgets.QCommandLinkButton.paintEvent?4(QPaintEvent) +QtWidgets.QStyle.RequestSoftwareInputPanel?10 +QtWidgets.QStyle.RequestSoftwareInputPanel.RSIP_OnMouseClickAndAlreadyFocused?10 +QtWidgets.QStyle.RequestSoftwareInputPanel.RSIP_OnMouseClick?10 +QtWidgets.QStyle.StandardPixmap?10 +QtWidgets.QStyle.StandardPixmap.SP_TitleBarMenuButton?10 +QtWidgets.QStyle.StandardPixmap.SP_TitleBarMinButton?10 +QtWidgets.QStyle.StandardPixmap.SP_TitleBarMaxButton?10 +QtWidgets.QStyle.StandardPixmap.SP_TitleBarCloseButton?10 +QtWidgets.QStyle.StandardPixmap.SP_TitleBarNormalButton?10 +QtWidgets.QStyle.StandardPixmap.SP_TitleBarShadeButton?10 +QtWidgets.QStyle.StandardPixmap.SP_TitleBarUnshadeButton?10 +QtWidgets.QStyle.StandardPixmap.SP_TitleBarContextHelpButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DockWidgetCloseButton?10 +QtWidgets.QStyle.StandardPixmap.SP_MessageBoxInformation?10 +QtWidgets.QStyle.StandardPixmap.SP_MessageBoxWarning?10 +QtWidgets.QStyle.StandardPixmap.SP_MessageBoxCritical?10 +QtWidgets.QStyle.StandardPixmap.SP_MessageBoxQuestion?10 +QtWidgets.QStyle.StandardPixmap.SP_DesktopIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_TrashIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_ComputerIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DriveFDIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DriveHDIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DriveCDIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DriveDVDIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DriveNetIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DirOpenIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DirClosedIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DirLinkIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_FileIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_FileLinkIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_ToolBarHorizontalExtensionButton?10 +QtWidgets.QStyle.StandardPixmap.SP_ToolBarVerticalExtensionButton?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogStart?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogEnd?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogToParent?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogNewFolder?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogDetailedView?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogInfoView?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogContentsView?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogListView?10 +QtWidgets.QStyle.StandardPixmap.SP_FileDialogBack?10 +QtWidgets.QStyle.StandardPixmap.SP_DirIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogOkButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogCancelButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogHelpButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogOpenButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogSaveButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogCloseButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogApplyButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogResetButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogDiscardButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogYesButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogNoButton?10 +QtWidgets.QStyle.StandardPixmap.SP_ArrowUp?10 +QtWidgets.QStyle.StandardPixmap.SP_ArrowDown?10 +QtWidgets.QStyle.StandardPixmap.SP_ArrowLeft?10 +QtWidgets.QStyle.StandardPixmap.SP_ArrowRight?10 +QtWidgets.QStyle.StandardPixmap.SP_ArrowBack?10 +QtWidgets.QStyle.StandardPixmap.SP_ArrowForward?10 +QtWidgets.QStyle.StandardPixmap.SP_DirHomeIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_CommandLink?10 +QtWidgets.QStyle.StandardPixmap.SP_VistaShield?10 +QtWidgets.QStyle.StandardPixmap.SP_BrowserReload?10 +QtWidgets.QStyle.StandardPixmap.SP_BrowserStop?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaPlay?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaStop?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaPause?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaSkipForward?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaSkipBackward?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaSeekForward?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaSeekBackward?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaVolume?10 +QtWidgets.QStyle.StandardPixmap.SP_MediaVolumeMuted?10 +QtWidgets.QStyle.StandardPixmap.SP_DirLinkOpenIcon?10 +QtWidgets.QStyle.StandardPixmap.SP_LineEditClearButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogYesToAllButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogNoToAllButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogSaveAllButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogAbortButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogRetryButton?10 +QtWidgets.QStyle.StandardPixmap.SP_DialogIgnoreButton?10 +QtWidgets.QStyle.StandardPixmap.SP_RestoreDefaultsButton?10 +QtWidgets.QStyle.StandardPixmap.SP_CustomBase?10 +QtWidgets.QStyle.StyleHint?10 +QtWidgets.QStyle.StyleHint.SH_EtchDisabledText?10 +QtWidgets.QStyle.StyleHint.SH_DitherDisabledText?10 +QtWidgets.QStyle.StyleHint.SH_ScrollBar_MiddleClickAbsolutePosition?10 +QtWidgets.QStyle.StyleHint.SH_ScrollBar_ScrollWhenPointerLeavesControl?10 +QtWidgets.QStyle.StyleHint.SH_TabBar_SelectMouseType?10 +QtWidgets.QStyle.StyleHint.SH_TabBar_Alignment?10 +QtWidgets.QStyle.StyleHint.SH_Header_ArrowAlignment?10 +QtWidgets.QStyle.StyleHint.SH_Slider_SnapToValue?10 +QtWidgets.QStyle.StyleHint.SH_Slider_SloppyKeyEvents?10 +QtWidgets.QStyle.StyleHint.SH_ProgressDialog_CenterCancelButton?10 +QtWidgets.QStyle.StyleHint.SH_ProgressDialog_TextLabelAlignment?10 +QtWidgets.QStyle.StyleHint.SH_PrintDialog_RightAlignButtons?10 +QtWidgets.QStyle.StyleHint.SH_MainWindow_SpaceBelowMenuBar?10 +QtWidgets.QStyle.StyleHint.SH_FontDialog_SelectAssociatedText?10 +QtWidgets.QStyle.StyleHint.SH_Menu_AllowActiveAndDisabled?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SpaceActivatesItem?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SubMenuPopupDelay?10 +QtWidgets.QStyle.StyleHint.SH_ScrollView_FrameOnlyAroundContents?10 +QtWidgets.QStyle.StyleHint.SH_MenuBar_AltKeyNavigation?10 +QtWidgets.QStyle.StyleHint.SH_ComboBox_ListMouseTracking?10 +QtWidgets.QStyle.StyleHint.SH_Menu_MouseTracking?10 +QtWidgets.QStyle.StyleHint.SH_MenuBar_MouseTracking?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_ChangeHighlightOnFocus?10 +QtWidgets.QStyle.StyleHint.SH_Widget_ShareActivation?10 +QtWidgets.QStyle.StyleHint.SH_Workspace_FillSpaceOnMaximize?10 +QtWidgets.QStyle.StyleHint.SH_ComboBox_Popup?10 +QtWidgets.QStyle.StyleHint.SH_TitleBar_NoBorder?10 +QtWidgets.QStyle.StyleHint.SH_ScrollBar_StopMouseOverSlider?10 +QtWidgets.QStyle.StyleHint.SH_BlinkCursorWhenTextSelected?10 +QtWidgets.QStyle.StyleHint.SH_RichText_FullWidthSelection?10 +QtWidgets.QStyle.StyleHint.SH_Menu_Scrollable?10 +QtWidgets.QStyle.StyleHint.SH_GroupBox_TextLabelVerticalAlignment?10 +QtWidgets.QStyle.StyleHint.SH_GroupBox_TextLabelColor?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SloppySubMenus?10 +QtWidgets.QStyle.StyleHint.SH_Table_GridLineColor?10 +QtWidgets.QStyle.StyleHint.SH_LineEdit_PasswordCharacter?10 +QtWidgets.QStyle.StyleHint.SH_DialogButtons_DefaultButton?10 +QtWidgets.QStyle.StyleHint.SH_ToolBox_SelectedPageTitleBold?10 +QtWidgets.QStyle.StyleHint.SH_TabBar_PreferNoArrows?10 +QtWidgets.QStyle.StyleHint.SH_ScrollBar_LeftClickAbsolutePosition?10 +QtWidgets.QStyle.StyleHint.SH_UnderlineShortcut?10 +QtWidgets.QStyle.StyleHint.SH_SpinBox_AnimateButton?10 +QtWidgets.QStyle.StyleHint.SH_SpinBox_KeyPressAutoRepeatRate?10 +QtWidgets.QStyle.StyleHint.SH_SpinBox_ClickAutoRepeatRate?10 +QtWidgets.QStyle.StyleHint.SH_Menu_FillScreenWithScroll?10 +QtWidgets.QStyle.StyleHint.SH_ToolTipLabel_Opacity?10 +QtWidgets.QStyle.StyleHint.SH_DrawMenuBarSeparator?10 +QtWidgets.QStyle.StyleHint.SH_TitleBar_ModifyNotification?10 +QtWidgets.QStyle.StyleHint.SH_Button_FocusPolicy?10 +QtWidgets.QStyle.StyleHint.SH_MessageBox_UseBorderForButtonSpacing?10 +QtWidgets.QStyle.StyleHint.SH_TitleBar_AutoRaise?10 +QtWidgets.QStyle.StyleHint.SH_ToolButton_PopupDelay?10 +QtWidgets.QStyle.StyleHint.SH_FocusFrame_Mask?10 +QtWidgets.QStyle.StyleHint.SH_RubberBand_Mask?10 +QtWidgets.QStyle.StyleHint.SH_WindowFrame_Mask?10 +QtWidgets.QStyle.StyleHint.SH_SpinControls_DisableOnBounds?10 +QtWidgets.QStyle.StyleHint.SH_Dial_BackgroundRole?10 +QtWidgets.QStyle.StyleHint.SH_ComboBox_LayoutDirection?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_EllipsisLocation?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_ShowDecorationSelected?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_ActivateItemOnSingleClick?10 +QtWidgets.QStyle.StyleHint.SH_ScrollBar_ContextMenu?10 +QtWidgets.QStyle.StyleHint.SH_ScrollBar_RollBetweenButtons?10 +QtWidgets.QStyle.StyleHint.SH_Slider_StopMouseOverSlider?10 +QtWidgets.QStyle.StyleHint.SH_Slider_AbsoluteSetButtons?10 +QtWidgets.QStyle.StyleHint.SH_Slider_PageSetButtons?10 +QtWidgets.QStyle.StyleHint.SH_Menu_KeyboardSearch?10 +QtWidgets.QStyle.StyleHint.SH_TabBar_ElideMode?10 +QtWidgets.QStyle.StyleHint.SH_DialogButtonLayout?10 +QtWidgets.QStyle.StyleHint.SH_ComboBox_PopupFrameStyle?10 +QtWidgets.QStyle.StyleHint.SH_MessageBox_TextInteractionFlags?10 +QtWidgets.QStyle.StyleHint.SH_DialogButtonBox_ButtonsHaveIcons?10 +QtWidgets.QStyle.StyleHint.SH_SpellCheckUnderlineStyle?10 +QtWidgets.QStyle.StyleHint.SH_MessageBox_CenterButtons?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SelectionWrap?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_MovementWithoutUpdatingSelection?10 +QtWidgets.QStyle.StyleHint.SH_ToolTip_Mask?10 +QtWidgets.QStyle.StyleHint.SH_FocusFrame_AboveWidget?10 +QtWidgets.QStyle.StyleHint.SH_TextControl_FocusIndicatorTextCharFormat?10 +QtWidgets.QStyle.StyleHint.SH_WizardStyle?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_ArrowKeysNavigateIntoChildren?10 +QtWidgets.QStyle.StyleHint.SH_Menu_Mask?10 +QtWidgets.QStyle.StyleHint.SH_Menu_FlashTriggeredItem?10 +QtWidgets.QStyle.StyleHint.SH_Menu_FadeOutOnHide?10 +QtWidgets.QStyle.StyleHint.SH_SpinBox_ClickAutoRepeatThreshold?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_PaintAlternatingRowColorsForEmptyArea?10 +QtWidgets.QStyle.StyleHint.SH_FormLayoutWrapPolicy?10 +QtWidgets.QStyle.StyleHint.SH_TabWidget_DefaultTabPosition?10 +QtWidgets.QStyle.StyleHint.SH_ToolBar_Movable?10 +QtWidgets.QStyle.StyleHint.SH_FormLayoutFieldGrowthPolicy?10 +QtWidgets.QStyle.StyleHint.SH_FormLayoutFormAlignment?10 +QtWidgets.QStyle.StyleHint.SH_FormLayoutLabelAlignment?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_DrawDelegateFrame?10 +QtWidgets.QStyle.StyleHint.SH_TabBar_CloseButtonPosition?10 +QtWidgets.QStyle.StyleHint.SH_DockWidget_ButtonsHaveFrame?10 +QtWidgets.QStyle.StyleHint.SH_ToolButtonStyle?10 +QtWidgets.QStyle.StyleHint.SH_RequestSoftwareInputPanel?10 +QtWidgets.QStyle.StyleHint.SH_ListViewExpand_SelectMouseType?10 +QtWidgets.QStyle.StyleHint.SH_ScrollBar_Transient?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SupportsSections?10 +QtWidgets.QStyle.StyleHint.SH_ToolTip_WakeUpDelay?10 +QtWidgets.QStyle.StyleHint.SH_ToolTip_FallAsleepDelay?10 +QtWidgets.QStyle.StyleHint.SH_Widget_Animate?10 +QtWidgets.QStyle.StyleHint.SH_Splitter_OpaqueResize?10 +QtWidgets.QStyle.StyleHint.SH_LineEdit_PasswordMaskDelay?10 +QtWidgets.QStyle.StyleHint.SH_TabBar_ChangeCurrentDelay?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SubMenuUniDirection?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SubMenuUniDirectionFailCount?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SubMenuSloppySelectOtherActions?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SubMenuSloppyCloseTimeout?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SubMenuResetWhenReenteringParent?10 +QtWidgets.QStyle.StyleHint.SH_Menu_SubMenuDontStartSloppyOnLeave?10 +QtWidgets.QStyle.StyleHint.SH_ItemView_ScrollMode?10 +QtWidgets.QStyle.StyleHint.SH_TitleBar_ShowToolTipsOnButtons?10 +QtWidgets.QStyle.StyleHint.SH_Widget_Animation_Duration?10 +QtWidgets.QStyle.StyleHint.SH_ComboBox_AllowWheelScrolling?10 +QtWidgets.QStyle.StyleHint.SH_SpinBox_ButtonsInsideFrame?10 +QtWidgets.QStyle.StyleHint.SH_SpinBox_StepModifier?10 +QtWidgets.QStyle.StyleHint.SH_CustomBase?10 +QtWidgets.QStyle.ContentsType?10 +QtWidgets.QStyle.ContentsType.CT_PushButton?10 +QtWidgets.QStyle.ContentsType.CT_CheckBox?10 +QtWidgets.QStyle.ContentsType.CT_RadioButton?10 +QtWidgets.QStyle.ContentsType.CT_ToolButton?10 +QtWidgets.QStyle.ContentsType.CT_ComboBox?10 +QtWidgets.QStyle.ContentsType.CT_Splitter?10 +QtWidgets.QStyle.ContentsType.CT_ProgressBar?10 +QtWidgets.QStyle.ContentsType.CT_MenuItem?10 +QtWidgets.QStyle.ContentsType.CT_MenuBarItem?10 +QtWidgets.QStyle.ContentsType.CT_MenuBar?10 +QtWidgets.QStyle.ContentsType.CT_Menu?10 +QtWidgets.QStyle.ContentsType.CT_TabBarTab?10 +QtWidgets.QStyle.ContentsType.CT_Slider?10 +QtWidgets.QStyle.ContentsType.CT_ScrollBar?10 +QtWidgets.QStyle.ContentsType.CT_LineEdit?10 +QtWidgets.QStyle.ContentsType.CT_SpinBox?10 +QtWidgets.QStyle.ContentsType.CT_SizeGrip?10 +QtWidgets.QStyle.ContentsType.CT_TabWidget?10 +QtWidgets.QStyle.ContentsType.CT_DialogButtons?10 +QtWidgets.QStyle.ContentsType.CT_HeaderSection?10 +QtWidgets.QStyle.ContentsType.CT_GroupBox?10 +QtWidgets.QStyle.ContentsType.CT_MdiControls?10 +QtWidgets.QStyle.ContentsType.CT_ItemViewItem?10 +QtWidgets.QStyle.ContentsType.CT_CustomBase?10 +QtWidgets.QStyle.PixelMetric?10 +QtWidgets.QStyle.PixelMetric.PM_ButtonMargin?10 +QtWidgets.QStyle.PixelMetric.PM_ButtonDefaultIndicator?10 +QtWidgets.QStyle.PixelMetric.PM_MenuButtonIndicator?10 +QtWidgets.QStyle.PixelMetric.PM_ButtonShiftHorizontal?10 +QtWidgets.QStyle.PixelMetric.PM_ButtonShiftVertical?10 +QtWidgets.QStyle.PixelMetric.PM_DefaultFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_SpinBoxFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_ComboBoxFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_MaximumDragDistance?10 +QtWidgets.QStyle.PixelMetric.PM_ScrollBarExtent?10 +QtWidgets.QStyle.PixelMetric.PM_ScrollBarSliderMin?10 +QtWidgets.QStyle.PixelMetric.PM_SliderThickness?10 +QtWidgets.QStyle.PixelMetric.PM_SliderControlThickness?10 +QtWidgets.QStyle.PixelMetric.PM_SliderLength?10 +QtWidgets.QStyle.PixelMetric.PM_SliderTickmarkOffset?10 +QtWidgets.QStyle.PixelMetric.PM_SliderSpaceAvailable?10 +QtWidgets.QStyle.PixelMetric.PM_DockWidgetSeparatorExtent?10 +QtWidgets.QStyle.PixelMetric.PM_DockWidgetHandleExtent?10 +QtWidgets.QStyle.PixelMetric.PM_DockWidgetFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarTabOverlap?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarTabHSpace?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarTabVSpace?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarBaseHeight?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarBaseOverlap?10 +QtWidgets.QStyle.PixelMetric.PM_ProgressBarChunkWidth?10 +QtWidgets.QStyle.PixelMetric.PM_SplitterWidth?10 +QtWidgets.QStyle.PixelMetric.PM_TitleBarHeight?10 +QtWidgets.QStyle.PixelMetric.PM_MenuScrollerHeight?10 +QtWidgets.QStyle.PixelMetric.PM_MenuHMargin?10 +QtWidgets.QStyle.PixelMetric.PM_MenuVMargin?10 +QtWidgets.QStyle.PixelMetric.PM_MenuPanelWidth?10 +QtWidgets.QStyle.PixelMetric.PM_MenuTearoffHeight?10 +QtWidgets.QStyle.PixelMetric.PM_MenuDesktopFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_MenuBarPanelWidth?10 +QtWidgets.QStyle.PixelMetric.PM_MenuBarItemSpacing?10 +QtWidgets.QStyle.PixelMetric.PM_MenuBarVMargin?10 +QtWidgets.QStyle.PixelMetric.PM_MenuBarHMargin?10 +QtWidgets.QStyle.PixelMetric.PM_IndicatorWidth?10 +QtWidgets.QStyle.PixelMetric.PM_IndicatorHeight?10 +QtWidgets.QStyle.PixelMetric.PM_ExclusiveIndicatorWidth?10 +QtWidgets.QStyle.PixelMetric.PM_ExclusiveIndicatorHeight?10 +QtWidgets.QStyle.PixelMetric.PM_DialogButtonsSeparator?10 +QtWidgets.QStyle.PixelMetric.PM_DialogButtonsButtonWidth?10 +QtWidgets.QStyle.PixelMetric.PM_DialogButtonsButtonHeight?10 +QtWidgets.QStyle.PixelMetric.PM_MdiSubWindowFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_MDIFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_MdiSubWindowMinimizedWidth?10 +QtWidgets.QStyle.PixelMetric.PM_MDIMinimizedWidth?10 +QtWidgets.QStyle.PixelMetric.PM_HeaderMargin?10 +QtWidgets.QStyle.PixelMetric.PM_HeaderMarkSize?10 +QtWidgets.QStyle.PixelMetric.PM_HeaderGripMargin?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarTabShiftHorizontal?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarTabShiftVertical?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarScrollButtonWidth?10 +QtWidgets.QStyle.PixelMetric.PM_ToolBarFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_ToolBarHandleExtent?10 +QtWidgets.QStyle.PixelMetric.PM_ToolBarItemSpacing?10 +QtWidgets.QStyle.PixelMetric.PM_ToolBarItemMargin?10 +QtWidgets.QStyle.PixelMetric.PM_ToolBarSeparatorExtent?10 +QtWidgets.QStyle.PixelMetric.PM_ToolBarExtensionExtent?10 +QtWidgets.QStyle.PixelMetric.PM_SpinBoxSliderHeight?10 +QtWidgets.QStyle.PixelMetric.PM_DefaultTopLevelMargin?10 +QtWidgets.QStyle.PixelMetric.PM_DefaultChildMargin?10 +QtWidgets.QStyle.PixelMetric.PM_DefaultLayoutSpacing?10 +QtWidgets.QStyle.PixelMetric.PM_ToolBarIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_ListViewIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_IconViewIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_SmallIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_LargeIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_FocusFrameVMargin?10 +QtWidgets.QStyle.PixelMetric.PM_FocusFrameHMargin?10 +QtWidgets.QStyle.PixelMetric.PM_ToolTipLabelFrameWidth?10 +QtWidgets.QStyle.PixelMetric.PM_CheckBoxLabelSpacing?10 +QtWidgets.QStyle.PixelMetric.PM_TabBarIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_SizeGripSize?10 +QtWidgets.QStyle.PixelMetric.PM_DockWidgetTitleMargin?10 +QtWidgets.QStyle.PixelMetric.PM_MessageBoxIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_ButtonIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_DockWidgetTitleBarButtonMargin?10 +QtWidgets.QStyle.PixelMetric.PM_RadioButtonLabelSpacing?10 +QtWidgets.QStyle.PixelMetric.PM_LayoutLeftMargin?10 +QtWidgets.QStyle.PixelMetric.PM_LayoutTopMargin?10 +QtWidgets.QStyle.PixelMetric.PM_LayoutRightMargin?10 +QtWidgets.QStyle.PixelMetric.PM_LayoutBottomMargin?10 +QtWidgets.QStyle.PixelMetric.PM_LayoutHorizontalSpacing?10 +QtWidgets.QStyle.PixelMetric.PM_LayoutVerticalSpacing?10 +QtWidgets.QStyle.PixelMetric.PM_TabBar_ScrollButtonOverlap?10 +QtWidgets.QStyle.PixelMetric.PM_TextCursorWidth?10 +QtWidgets.QStyle.PixelMetric.PM_TabCloseIndicatorWidth?10 +QtWidgets.QStyle.PixelMetric.PM_TabCloseIndicatorHeight?10 +QtWidgets.QStyle.PixelMetric.PM_ScrollView_ScrollBarSpacing?10 +QtWidgets.QStyle.PixelMetric.PM_SubMenuOverlap?10 +QtWidgets.QStyle.PixelMetric.PM_ScrollView_ScrollBarOverlap?10 +QtWidgets.QStyle.PixelMetric.PM_TreeViewIndentation?10 +QtWidgets.QStyle.PixelMetric.PM_HeaderDefaultSectionSizeHorizontal?10 +QtWidgets.QStyle.PixelMetric.PM_HeaderDefaultSectionSizeVertical?10 +QtWidgets.QStyle.PixelMetric.PM_TitleBarButtonIconSize?10 +QtWidgets.QStyle.PixelMetric.PM_TitleBarButtonSize?10 +QtWidgets.QStyle.PixelMetric.PM_CustomBase?10 +QtWidgets.QStyle.SubControl?10 +QtWidgets.QStyle.SubControl.SC_None?10 +QtWidgets.QStyle.SubControl.SC_ScrollBarAddLine?10 +QtWidgets.QStyle.SubControl.SC_ScrollBarSubLine?10 +QtWidgets.QStyle.SubControl.SC_ScrollBarAddPage?10 +QtWidgets.QStyle.SubControl.SC_ScrollBarSubPage?10 +QtWidgets.QStyle.SubControl.SC_ScrollBarFirst?10 +QtWidgets.QStyle.SubControl.SC_ScrollBarLast?10 +QtWidgets.QStyle.SubControl.SC_ScrollBarSlider?10 +QtWidgets.QStyle.SubControl.SC_ScrollBarGroove?10 +QtWidgets.QStyle.SubControl.SC_SpinBoxUp?10 +QtWidgets.QStyle.SubControl.SC_SpinBoxDown?10 +QtWidgets.QStyle.SubControl.SC_SpinBoxFrame?10 +QtWidgets.QStyle.SubControl.SC_SpinBoxEditField?10 +QtWidgets.QStyle.SubControl.SC_ComboBoxFrame?10 +QtWidgets.QStyle.SubControl.SC_ComboBoxEditField?10 +QtWidgets.QStyle.SubControl.SC_ComboBoxArrow?10 +QtWidgets.QStyle.SubControl.SC_ComboBoxListBoxPopup?10 +QtWidgets.QStyle.SubControl.SC_SliderGroove?10 +QtWidgets.QStyle.SubControl.SC_SliderHandle?10 +QtWidgets.QStyle.SubControl.SC_SliderTickmarks?10 +QtWidgets.QStyle.SubControl.SC_ToolButton?10 +QtWidgets.QStyle.SubControl.SC_ToolButtonMenu?10 +QtWidgets.QStyle.SubControl.SC_TitleBarSysMenu?10 +QtWidgets.QStyle.SubControl.SC_TitleBarMinButton?10 +QtWidgets.QStyle.SubControl.SC_TitleBarMaxButton?10 +QtWidgets.QStyle.SubControl.SC_TitleBarCloseButton?10 +QtWidgets.QStyle.SubControl.SC_TitleBarNormalButton?10 +QtWidgets.QStyle.SubControl.SC_TitleBarShadeButton?10 +QtWidgets.QStyle.SubControl.SC_TitleBarUnshadeButton?10 +QtWidgets.QStyle.SubControl.SC_TitleBarContextHelpButton?10 +QtWidgets.QStyle.SubControl.SC_TitleBarLabel?10 +QtWidgets.QStyle.SubControl.SC_DialGroove?10 +QtWidgets.QStyle.SubControl.SC_DialHandle?10 +QtWidgets.QStyle.SubControl.SC_DialTickmarks?10 +QtWidgets.QStyle.SubControl.SC_GroupBoxCheckBox?10 +QtWidgets.QStyle.SubControl.SC_GroupBoxLabel?10 +QtWidgets.QStyle.SubControl.SC_GroupBoxContents?10 +QtWidgets.QStyle.SubControl.SC_GroupBoxFrame?10 +QtWidgets.QStyle.SubControl.SC_MdiMinButton?10 +QtWidgets.QStyle.SubControl.SC_MdiNormalButton?10 +QtWidgets.QStyle.SubControl.SC_MdiCloseButton?10 +QtWidgets.QStyle.SubControl.SC_CustomBase?10 +QtWidgets.QStyle.SubControl.SC_All?10 +QtWidgets.QStyle.ComplexControl?10 +QtWidgets.QStyle.ComplexControl.CC_SpinBox?10 +QtWidgets.QStyle.ComplexControl.CC_ComboBox?10 +QtWidgets.QStyle.ComplexControl.CC_ScrollBar?10 +QtWidgets.QStyle.ComplexControl.CC_Slider?10 +QtWidgets.QStyle.ComplexControl.CC_ToolButton?10 +QtWidgets.QStyle.ComplexControl.CC_TitleBar?10 +QtWidgets.QStyle.ComplexControl.CC_Dial?10 +QtWidgets.QStyle.ComplexControl.CC_GroupBox?10 +QtWidgets.QStyle.ComplexControl.CC_MdiControls?10 +QtWidgets.QStyle.ComplexControl.CC_CustomBase?10 +QtWidgets.QStyle.SubElement?10 +QtWidgets.QStyle.SubElement.SE_PushButtonContents?10 +QtWidgets.QStyle.SubElement.SE_PushButtonFocusRect?10 +QtWidgets.QStyle.SubElement.SE_CheckBoxIndicator?10 +QtWidgets.QStyle.SubElement.SE_CheckBoxContents?10 +QtWidgets.QStyle.SubElement.SE_CheckBoxFocusRect?10 +QtWidgets.QStyle.SubElement.SE_CheckBoxClickRect?10 +QtWidgets.QStyle.SubElement.SE_RadioButtonIndicator?10 +QtWidgets.QStyle.SubElement.SE_RadioButtonContents?10 +QtWidgets.QStyle.SubElement.SE_RadioButtonFocusRect?10 +QtWidgets.QStyle.SubElement.SE_RadioButtonClickRect?10 +QtWidgets.QStyle.SubElement.SE_ComboBoxFocusRect?10 +QtWidgets.QStyle.SubElement.SE_SliderFocusRect?10 +QtWidgets.QStyle.SubElement.SE_ProgressBarGroove?10 +QtWidgets.QStyle.SubElement.SE_ProgressBarContents?10 +QtWidgets.QStyle.SubElement.SE_ProgressBarLabel?10 +QtWidgets.QStyle.SubElement.SE_ToolBoxTabContents?10 +QtWidgets.QStyle.SubElement.SE_HeaderLabel?10 +QtWidgets.QStyle.SubElement.SE_HeaderArrow?10 +QtWidgets.QStyle.SubElement.SE_TabWidgetTabBar?10 +QtWidgets.QStyle.SubElement.SE_TabWidgetTabPane?10 +QtWidgets.QStyle.SubElement.SE_TabWidgetTabContents?10 +QtWidgets.QStyle.SubElement.SE_TabWidgetLeftCorner?10 +QtWidgets.QStyle.SubElement.SE_TabWidgetRightCorner?10 +QtWidgets.QStyle.SubElement.SE_ViewItemCheckIndicator?10 +QtWidgets.QStyle.SubElement.SE_TabBarTearIndicator?10 +QtWidgets.QStyle.SubElement.SE_TreeViewDisclosureItem?10 +QtWidgets.QStyle.SubElement.SE_LineEditContents?10 +QtWidgets.QStyle.SubElement.SE_FrameContents?10 +QtWidgets.QStyle.SubElement.SE_DockWidgetCloseButton?10 +QtWidgets.QStyle.SubElement.SE_DockWidgetFloatButton?10 +QtWidgets.QStyle.SubElement.SE_DockWidgetTitleBarText?10 +QtWidgets.QStyle.SubElement.SE_DockWidgetIcon?10 +QtWidgets.QStyle.SubElement.SE_CheckBoxLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_ComboBoxLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_DateTimeEditLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_DialogButtonBoxLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_LabelLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_ProgressBarLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_PushButtonLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_RadioButtonLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_SliderLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_SpinBoxLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_ToolButtonLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_FrameLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_GroupBoxLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_TabWidgetLayoutItem?10 +QtWidgets.QStyle.SubElement.SE_ItemViewItemCheckIndicator?10 +QtWidgets.QStyle.SubElement.SE_ItemViewItemDecoration?10 +QtWidgets.QStyle.SubElement.SE_ItemViewItemText?10 +QtWidgets.QStyle.SubElement.SE_ItemViewItemFocusRect?10 +QtWidgets.QStyle.SubElement.SE_TabBarTabLeftButton?10 +QtWidgets.QStyle.SubElement.SE_TabBarTabRightButton?10 +QtWidgets.QStyle.SubElement.SE_TabBarTabText?10 +QtWidgets.QStyle.SubElement.SE_ShapedFrameContents?10 +QtWidgets.QStyle.SubElement.SE_ToolBarHandle?10 +QtWidgets.QStyle.SubElement.SE_TabBarTearIndicatorLeft?10 +QtWidgets.QStyle.SubElement.SE_TabBarScrollLeftButton?10 +QtWidgets.QStyle.SubElement.SE_TabBarScrollRightButton?10 +QtWidgets.QStyle.SubElement.SE_TabBarTearIndicatorRight?10 +QtWidgets.QStyle.SubElement.SE_PushButtonBevel?10 +QtWidgets.QStyle.SubElement.SE_CustomBase?10 +QtWidgets.QStyle.ControlElement?10 +QtWidgets.QStyle.ControlElement.CE_PushButton?10 +QtWidgets.QStyle.ControlElement.CE_PushButtonBevel?10 +QtWidgets.QStyle.ControlElement.CE_PushButtonLabel?10 +QtWidgets.QStyle.ControlElement.CE_CheckBox?10 +QtWidgets.QStyle.ControlElement.CE_CheckBoxLabel?10 +QtWidgets.QStyle.ControlElement.CE_RadioButton?10 +QtWidgets.QStyle.ControlElement.CE_RadioButtonLabel?10 +QtWidgets.QStyle.ControlElement.CE_TabBarTab?10 +QtWidgets.QStyle.ControlElement.CE_TabBarTabShape?10 +QtWidgets.QStyle.ControlElement.CE_TabBarTabLabel?10 +QtWidgets.QStyle.ControlElement.CE_ProgressBar?10 +QtWidgets.QStyle.ControlElement.CE_ProgressBarGroove?10 +QtWidgets.QStyle.ControlElement.CE_ProgressBarContents?10 +QtWidgets.QStyle.ControlElement.CE_ProgressBarLabel?10 +QtWidgets.QStyle.ControlElement.CE_MenuItem?10 +QtWidgets.QStyle.ControlElement.CE_MenuScroller?10 +QtWidgets.QStyle.ControlElement.CE_MenuVMargin?10 +QtWidgets.QStyle.ControlElement.CE_MenuHMargin?10 +QtWidgets.QStyle.ControlElement.CE_MenuTearoff?10 +QtWidgets.QStyle.ControlElement.CE_MenuEmptyArea?10 +QtWidgets.QStyle.ControlElement.CE_MenuBarItem?10 +QtWidgets.QStyle.ControlElement.CE_MenuBarEmptyArea?10 +QtWidgets.QStyle.ControlElement.CE_ToolButtonLabel?10 +QtWidgets.QStyle.ControlElement.CE_Header?10 +QtWidgets.QStyle.ControlElement.CE_HeaderSection?10 +QtWidgets.QStyle.ControlElement.CE_HeaderLabel?10 +QtWidgets.QStyle.ControlElement.CE_ToolBoxTab?10 +QtWidgets.QStyle.ControlElement.CE_SizeGrip?10 +QtWidgets.QStyle.ControlElement.CE_Splitter?10 +QtWidgets.QStyle.ControlElement.CE_RubberBand?10 +QtWidgets.QStyle.ControlElement.CE_DockWidgetTitle?10 +QtWidgets.QStyle.ControlElement.CE_ScrollBarAddLine?10 +QtWidgets.QStyle.ControlElement.CE_ScrollBarSubLine?10 +QtWidgets.QStyle.ControlElement.CE_ScrollBarAddPage?10 +QtWidgets.QStyle.ControlElement.CE_ScrollBarSubPage?10 +QtWidgets.QStyle.ControlElement.CE_ScrollBarSlider?10 +QtWidgets.QStyle.ControlElement.CE_ScrollBarFirst?10 +QtWidgets.QStyle.ControlElement.CE_ScrollBarLast?10 +QtWidgets.QStyle.ControlElement.CE_FocusFrame?10 +QtWidgets.QStyle.ControlElement.CE_ComboBoxLabel?10 +QtWidgets.QStyle.ControlElement.CE_ToolBar?10 +QtWidgets.QStyle.ControlElement.CE_ToolBoxTabShape?10 +QtWidgets.QStyle.ControlElement.CE_ToolBoxTabLabel?10 +QtWidgets.QStyle.ControlElement.CE_HeaderEmptyArea?10 +QtWidgets.QStyle.ControlElement.CE_ColumnViewGrip?10 +QtWidgets.QStyle.ControlElement.CE_ItemViewItem?10 +QtWidgets.QStyle.ControlElement.CE_ShapedFrame?10 +QtWidgets.QStyle.ControlElement.CE_CustomBase?10 +QtWidgets.QStyle.PrimitiveElement?10 +QtWidgets.QStyle.PrimitiveElement.PE_Frame?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameDefaultButton?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameDockWidget?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameFocusRect?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameGroupBox?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameLineEdit?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameMenu?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameStatusBar?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameTabWidget?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameWindow?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameButtonBevel?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameButtonTool?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameTabBarBase?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelButtonCommand?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelButtonBevel?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelButtonTool?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelMenuBar?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelToolBar?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelLineEdit?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorArrowDown?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorArrowLeft?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorArrowRight?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorArrowUp?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorBranch?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorButtonDropDown?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorViewItemCheck?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorCheckBox?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorDockWidgetResizeHandle?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorHeaderArrow?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorMenuCheckMark?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorProgressChunk?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorRadioButton?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorSpinDown?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorSpinMinus?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorSpinPlus?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorSpinUp?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorToolBarHandle?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorToolBarSeparator?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelTipLabel?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorTabTear?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelScrollAreaCorner?10 +QtWidgets.QStyle.PrimitiveElement.PE_Widget?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorColumnViewArrow?10 +QtWidgets.QStyle.PrimitiveElement.PE_FrameStatusBarItem?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorItemViewItemCheck?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorItemViewItemDrop?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelItemViewItem?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelItemViewRow?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelStatusBar?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorTabClose?10 +QtWidgets.QStyle.PrimitiveElement.PE_PanelMenu?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorTabTearLeft?10 +QtWidgets.QStyle.PrimitiveElement.PE_IndicatorTabTearRight?10 +QtWidgets.QStyle.PrimitiveElement.PE_CustomBase?10 +QtWidgets.QStyle.StateFlag?10 +QtWidgets.QStyle.StateFlag.State_None?10 +QtWidgets.QStyle.StateFlag.State_Enabled?10 +QtWidgets.QStyle.StateFlag.State_Raised?10 +QtWidgets.QStyle.StateFlag.State_Sunken?10 +QtWidgets.QStyle.StateFlag.State_Off?10 +QtWidgets.QStyle.StateFlag.State_NoChange?10 +QtWidgets.QStyle.StateFlag.State_On?10 +QtWidgets.QStyle.StateFlag.State_DownArrow?10 +QtWidgets.QStyle.StateFlag.State_Horizontal?10 +QtWidgets.QStyle.StateFlag.State_HasFocus?10 +QtWidgets.QStyle.StateFlag.State_Top?10 +QtWidgets.QStyle.StateFlag.State_Bottom?10 +QtWidgets.QStyle.StateFlag.State_FocusAtBorder?10 +QtWidgets.QStyle.StateFlag.State_AutoRaise?10 +QtWidgets.QStyle.StateFlag.State_MouseOver?10 +QtWidgets.QStyle.StateFlag.State_UpArrow?10 +QtWidgets.QStyle.StateFlag.State_Selected?10 +QtWidgets.QStyle.StateFlag.State_Active?10 +QtWidgets.QStyle.StateFlag.State_Open?10 +QtWidgets.QStyle.StateFlag.State_Children?10 +QtWidgets.QStyle.StateFlag.State_Item?10 +QtWidgets.QStyle.StateFlag.State_Sibling?10 +QtWidgets.QStyle.StateFlag.State_Editing?10 +QtWidgets.QStyle.StateFlag.State_KeyboardFocusChange?10 +QtWidgets.QStyle.StateFlag.State_ReadOnly?10 +QtWidgets.QStyle.StateFlag.State_Window?10 +QtWidgets.QStyle.StateFlag.State_Small?10 +QtWidgets.QStyle.StateFlag.State_Mini?10 +QtWidgets.QStyle?1() +QtWidgets.QStyle.__init__?1(self) +QtWidgets.QStyle.polish?4(QWidget) +QtWidgets.QStyle.unpolish?4(QWidget) +QtWidgets.QStyle.polish?4(QApplication) +QtWidgets.QStyle.unpolish?4(QApplication) +QtWidgets.QStyle.polish?4(QPalette) -> QPalette +QtWidgets.QStyle.itemTextRect?4(QFontMetrics, QRect, int, bool, QString) -> QRect +QtWidgets.QStyle.itemPixmapRect?4(QRect, int, QPixmap) -> QRect +QtWidgets.QStyle.drawItemText?4(QPainter, QRect, int, QPalette, bool, QString, QPalette.ColorRole textRole=QPalette.NoRole) +QtWidgets.QStyle.drawItemPixmap?4(QPainter, QRect, int, QPixmap) +QtWidgets.QStyle.standardPalette?4() -> QPalette +QtWidgets.QStyle.drawPrimitive?4(QStyle.PrimitiveElement, QStyleOption, QPainter, QWidget widget=None) +QtWidgets.QStyle.drawControl?4(QStyle.ControlElement, QStyleOption, QPainter, QWidget widget=None) +QtWidgets.QStyle.subElementRect?4(QStyle.SubElement, QStyleOption, QWidget widget=None) -> QRect +QtWidgets.QStyle.drawComplexControl?4(QStyle.ComplexControl, QStyleOptionComplex, QPainter, QWidget widget=None) +QtWidgets.QStyle.hitTestComplexControl?4(QStyle.ComplexControl, QStyleOptionComplex, QPoint, QWidget widget=None) -> QStyle.SubControl +QtWidgets.QStyle.subControlRect?4(QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, QWidget widget=None) -> QRect +QtWidgets.QStyle.pixelMetric?4(QStyle.PixelMetric, QStyleOption option=None, QWidget widget=None) -> int +QtWidgets.QStyle.sizeFromContents?4(QStyle.ContentsType, QStyleOption, QSize, QWidget widget=None) -> QSize +QtWidgets.QStyle.styleHint?4(QStyle.StyleHint, QStyleOption option=None, QWidget widget=None, QStyleHintReturn returnData=None) -> int +QtWidgets.QStyle.standardPixmap?4(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QPixmap +QtWidgets.QStyle.standardIcon?4(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QIcon +QtWidgets.QStyle.generatedIconPixmap?4(QIcon.Mode, QPixmap, QStyleOption) -> QPixmap +QtWidgets.QStyle.visualRect?4(Qt.LayoutDirection, QRect, QRect) -> QRect +QtWidgets.QStyle.visualPos?4(Qt.LayoutDirection, QRect, QPoint) -> QPoint +QtWidgets.QStyle.sliderPositionFromValue?4(int, int, int, int, bool upsideDown=False) -> int +QtWidgets.QStyle.sliderValueFromPosition?4(int, int, int, int, bool upsideDown=False) -> int +QtWidgets.QStyle.visualAlignment?4(Qt.LayoutDirection, Qt.Alignment) -> Qt.Alignment +QtWidgets.QStyle.alignedRect?4(Qt.LayoutDirection, Qt.Alignment, QSize, QRect) -> QRect +QtWidgets.QStyle.layoutSpacing?4(QSizePolicy.ControlType, QSizePolicy.ControlType, Qt.Orientation, QStyleOption option=None, QWidget widget=None) -> int +QtWidgets.QStyle.combinedLayoutSpacing?4(QSizePolicy.ControlTypes, QSizePolicy.ControlTypes, Qt.Orientation, QStyleOption option=None, QWidget widget=None) -> int +QtWidgets.QStyle.proxy?4() -> QStyle +QtWidgets.QCommonStyle?1() +QtWidgets.QCommonStyle.__init__?1(self) +QtWidgets.QCommonStyle.polish?4(QWidget) +QtWidgets.QCommonStyle.unpolish?4(QWidget) +QtWidgets.QCommonStyle.polish?4(QApplication) +QtWidgets.QCommonStyle.unpolish?4(QApplication) +QtWidgets.QCommonStyle.polish?4(QPalette) -> QPalette +QtWidgets.QCommonStyle.drawPrimitive?4(QStyle.PrimitiveElement, QStyleOption, QPainter, QWidget widget=None) +QtWidgets.QCommonStyle.drawControl?4(QStyle.ControlElement, QStyleOption, QPainter, QWidget widget=None) +QtWidgets.QCommonStyle.subElementRect?4(QStyle.SubElement, QStyleOption, QWidget widget=None) -> QRect +QtWidgets.QCommonStyle.drawComplexControl?4(QStyle.ComplexControl, QStyleOptionComplex, QPainter, QWidget widget=None) +QtWidgets.QCommonStyle.hitTestComplexControl?4(QStyle.ComplexControl, QStyleOptionComplex, QPoint, QWidget widget=None) -> QStyle.SubControl +QtWidgets.QCommonStyle.subControlRect?4(QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, QWidget widget=None) -> QRect +QtWidgets.QCommonStyle.sizeFromContents?4(QStyle.ContentsType, QStyleOption, QSize, QWidget widget=None) -> QSize +QtWidgets.QCommonStyle.pixelMetric?4(QStyle.PixelMetric, QStyleOption option=None, QWidget widget=None) -> int +QtWidgets.QCommonStyle.styleHint?4(QStyle.StyleHint, QStyleOption option=None, QWidget widget=None, QStyleHintReturn returnData=None) -> int +QtWidgets.QCommonStyle.standardPixmap?4(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QPixmap +QtWidgets.QCommonStyle.generatedIconPixmap?4(QIcon.Mode, QPixmap, QStyleOption) -> QPixmap +QtWidgets.QCommonStyle.standardIcon?4(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QIcon +QtWidgets.QCommonStyle.layoutSpacing?4(QSizePolicy.ControlType, QSizePolicy.ControlType, Qt.Orientation, QStyleOption option=None, QWidget widget=None) -> int +QtWidgets.QCompleter.ModelSorting?10 +QtWidgets.QCompleter.ModelSorting.UnsortedModel?10 +QtWidgets.QCompleter.ModelSorting.CaseSensitivelySortedModel?10 +QtWidgets.QCompleter.ModelSorting.CaseInsensitivelySortedModel?10 +QtWidgets.QCompleter.CompletionMode?10 +QtWidgets.QCompleter.CompletionMode.PopupCompletion?10 +QtWidgets.QCompleter.CompletionMode.UnfilteredPopupCompletion?10 +QtWidgets.QCompleter.CompletionMode.InlineCompletion?10 +QtWidgets.QCompleter?1(QAbstractItemModel, QObject parent=None) +QtWidgets.QCompleter.__init__?1(self, QAbstractItemModel, QObject parent=None) +QtWidgets.QCompleter?1(QStringList, QObject parent=None) +QtWidgets.QCompleter.__init__?1(self, QStringList, QObject parent=None) +QtWidgets.QCompleter?1(QObject parent=None) +QtWidgets.QCompleter.__init__?1(self, QObject parent=None) +QtWidgets.QCompleter.setWidget?4(QWidget) +QtWidgets.QCompleter.widget?4() -> QWidget +QtWidgets.QCompleter.setModel?4(QAbstractItemModel) +QtWidgets.QCompleter.model?4() -> QAbstractItemModel +QtWidgets.QCompleter.setCompletionMode?4(QCompleter.CompletionMode) +QtWidgets.QCompleter.completionMode?4() -> QCompleter.CompletionMode +QtWidgets.QCompleter.popup?4() -> QAbstractItemView +QtWidgets.QCompleter.setPopup?4(QAbstractItemView) +QtWidgets.QCompleter.setCaseSensitivity?4(Qt.CaseSensitivity) +QtWidgets.QCompleter.caseSensitivity?4() -> Qt.CaseSensitivity +QtWidgets.QCompleter.setModelSorting?4(QCompleter.ModelSorting) +QtWidgets.QCompleter.modelSorting?4() -> QCompleter.ModelSorting +QtWidgets.QCompleter.setCompletionColumn?4(int) +QtWidgets.QCompleter.completionColumn?4() -> int +QtWidgets.QCompleter.setCompletionRole?4(int) +QtWidgets.QCompleter.completionRole?4() -> int +QtWidgets.QCompleter.completionCount?4() -> int +QtWidgets.QCompleter.setCurrentRow?4(int) -> bool +QtWidgets.QCompleter.currentRow?4() -> int +QtWidgets.QCompleter.currentIndex?4() -> QModelIndex +QtWidgets.QCompleter.currentCompletion?4() -> QString +QtWidgets.QCompleter.completionModel?4() -> QAbstractItemModel +QtWidgets.QCompleter.completionPrefix?4() -> QString +QtWidgets.QCompleter.pathFromIndex?4(QModelIndex) -> QString +QtWidgets.QCompleter.splitPath?4(QString) -> QStringList +QtWidgets.QCompleter.wrapAround?4() -> bool +QtWidgets.QCompleter.complete?4(QRect rect=QRect()) +QtWidgets.QCompleter.setCompletionPrefix?4(QString) +QtWidgets.QCompleter.setWrapAround?4(bool) +QtWidgets.QCompleter.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QCompleter.event?4(QEvent) -> bool +QtWidgets.QCompleter.activated?4(QString) +QtWidgets.QCompleter.activated?4(QModelIndex) +QtWidgets.QCompleter.highlighted?4(QString) +QtWidgets.QCompleter.highlighted?4(QModelIndex) +QtWidgets.QCompleter.maxVisibleItems?4() -> int +QtWidgets.QCompleter.setMaxVisibleItems?4(int) +QtWidgets.QCompleter.setFilterMode?4(Qt.MatchFlags) +QtWidgets.QCompleter.filterMode?4() -> Qt.MatchFlags +QtWidgets.QDataWidgetMapper.SubmitPolicy?10 +QtWidgets.QDataWidgetMapper.SubmitPolicy.AutoSubmit?10 +QtWidgets.QDataWidgetMapper.SubmitPolicy.ManualSubmit?10 +QtWidgets.QDataWidgetMapper?1(QObject parent=None) +QtWidgets.QDataWidgetMapper.__init__?1(self, QObject parent=None) +QtWidgets.QDataWidgetMapper.setModel?4(QAbstractItemModel) +QtWidgets.QDataWidgetMapper.model?4() -> QAbstractItemModel +QtWidgets.QDataWidgetMapper.setItemDelegate?4(QAbstractItemDelegate) +QtWidgets.QDataWidgetMapper.itemDelegate?4() -> QAbstractItemDelegate +QtWidgets.QDataWidgetMapper.setRootIndex?4(QModelIndex) +QtWidgets.QDataWidgetMapper.rootIndex?4() -> QModelIndex +QtWidgets.QDataWidgetMapper.setOrientation?4(Qt.Orientation) +QtWidgets.QDataWidgetMapper.orientation?4() -> Qt.Orientation +QtWidgets.QDataWidgetMapper.setSubmitPolicy?4(QDataWidgetMapper.SubmitPolicy) +QtWidgets.QDataWidgetMapper.submitPolicy?4() -> QDataWidgetMapper.SubmitPolicy +QtWidgets.QDataWidgetMapper.addMapping?4(QWidget, int) +QtWidgets.QDataWidgetMapper.addMapping?4(QWidget, int, QByteArray) +QtWidgets.QDataWidgetMapper.removeMapping?4(QWidget) +QtWidgets.QDataWidgetMapper.mappedPropertyName?4(QWidget) -> QByteArray +QtWidgets.QDataWidgetMapper.mappedSection?4(QWidget) -> int +QtWidgets.QDataWidgetMapper.mappedWidgetAt?4(int) -> QWidget +QtWidgets.QDataWidgetMapper.clearMapping?4() +QtWidgets.QDataWidgetMapper.currentIndex?4() -> int +QtWidgets.QDataWidgetMapper.revert?4() +QtWidgets.QDataWidgetMapper.setCurrentIndex?4(int) +QtWidgets.QDataWidgetMapper.setCurrentModelIndex?4(QModelIndex) +QtWidgets.QDataWidgetMapper.submit?4() -> bool +QtWidgets.QDataWidgetMapper.toFirst?4() +QtWidgets.QDataWidgetMapper.toLast?4() +QtWidgets.QDataWidgetMapper.toNext?4() +QtWidgets.QDataWidgetMapper.toPrevious?4() +QtWidgets.QDataWidgetMapper.currentIndexChanged?4(int) +QtWidgets.QDateTimeEdit.Section?10 +QtWidgets.QDateTimeEdit.Section.NoSection?10 +QtWidgets.QDateTimeEdit.Section.AmPmSection?10 +QtWidgets.QDateTimeEdit.Section.MSecSection?10 +QtWidgets.QDateTimeEdit.Section.SecondSection?10 +QtWidgets.QDateTimeEdit.Section.MinuteSection?10 +QtWidgets.QDateTimeEdit.Section.HourSection?10 +QtWidgets.QDateTimeEdit.Section.DaySection?10 +QtWidgets.QDateTimeEdit.Section.MonthSection?10 +QtWidgets.QDateTimeEdit.Section.YearSection?10 +QtWidgets.QDateTimeEdit.Section.TimeSections_Mask?10 +QtWidgets.QDateTimeEdit.Section.DateSections_Mask?10 +QtWidgets.QDateTimeEdit?1(QWidget parent=None) +QtWidgets.QDateTimeEdit.__init__?1(self, QWidget parent=None) +QtWidgets.QDateTimeEdit?1(QDateTime, QWidget parent=None) +QtWidgets.QDateTimeEdit.__init__?1(self, QDateTime, QWidget parent=None) +QtWidgets.QDateTimeEdit?1(QDate, QWidget parent=None) +QtWidgets.QDateTimeEdit.__init__?1(self, QDate, QWidget parent=None) +QtWidgets.QDateTimeEdit?1(QTime, QWidget parent=None) +QtWidgets.QDateTimeEdit.__init__?1(self, QTime, QWidget parent=None) +QtWidgets.QDateTimeEdit.dateTime?4() -> QDateTime +QtWidgets.QDateTimeEdit.date?4() -> QDate +QtWidgets.QDateTimeEdit.time?4() -> QTime +QtWidgets.QDateTimeEdit.minimumDate?4() -> QDate +QtWidgets.QDateTimeEdit.setMinimumDate?4(QDate) +QtWidgets.QDateTimeEdit.clearMinimumDate?4() +QtWidgets.QDateTimeEdit.maximumDate?4() -> QDate +QtWidgets.QDateTimeEdit.setMaximumDate?4(QDate) +QtWidgets.QDateTimeEdit.clearMaximumDate?4() +QtWidgets.QDateTimeEdit.setDateRange?4(QDate, QDate) +QtWidgets.QDateTimeEdit.minimumTime?4() -> QTime +QtWidgets.QDateTimeEdit.setMinimumTime?4(QTime) +QtWidgets.QDateTimeEdit.clearMinimumTime?4() +QtWidgets.QDateTimeEdit.maximumTime?4() -> QTime +QtWidgets.QDateTimeEdit.setMaximumTime?4(QTime) +QtWidgets.QDateTimeEdit.clearMaximumTime?4() +QtWidgets.QDateTimeEdit.setTimeRange?4(QTime, QTime) +QtWidgets.QDateTimeEdit.displayedSections?4() -> QDateTimeEdit.Sections +QtWidgets.QDateTimeEdit.currentSection?4() -> QDateTimeEdit.Section +QtWidgets.QDateTimeEdit.setCurrentSection?4(QDateTimeEdit.Section) +QtWidgets.QDateTimeEdit.sectionText?4(QDateTimeEdit.Section) -> QString +QtWidgets.QDateTimeEdit.displayFormat?4() -> QString +QtWidgets.QDateTimeEdit.setDisplayFormat?4(QString) +QtWidgets.QDateTimeEdit.calendarPopup?4() -> bool +QtWidgets.QDateTimeEdit.setCalendarPopup?4(bool) +QtWidgets.QDateTimeEdit.setSelectedSection?4(QDateTimeEdit.Section) +QtWidgets.QDateTimeEdit.sizeHint?4() -> QSize +QtWidgets.QDateTimeEdit.clear?4() +QtWidgets.QDateTimeEdit.stepBy?4(int) +QtWidgets.QDateTimeEdit.event?4(QEvent) -> bool +QtWidgets.QDateTimeEdit.sectionAt?4(int) -> QDateTimeEdit.Section +QtWidgets.QDateTimeEdit.currentSectionIndex?4() -> int +QtWidgets.QDateTimeEdit.setCurrentSectionIndex?4(int) +QtWidgets.QDateTimeEdit.sectionCount?4() -> int +QtWidgets.QDateTimeEdit.dateTimeChanged?4(QDateTime) +QtWidgets.QDateTimeEdit.timeChanged?4(QTime) +QtWidgets.QDateTimeEdit.dateChanged?4(QDate) +QtWidgets.QDateTimeEdit.setDateTime?4(QDateTime) +QtWidgets.QDateTimeEdit.setDate?4(QDate) +QtWidgets.QDateTimeEdit.setTime?4(QTime) +QtWidgets.QDateTimeEdit.initStyleOption?4(QStyleOptionSpinBox) +QtWidgets.QDateTimeEdit.keyPressEvent?4(QKeyEvent) +QtWidgets.QDateTimeEdit.wheelEvent?4(QWheelEvent) +QtWidgets.QDateTimeEdit.focusInEvent?4(QFocusEvent) +QtWidgets.QDateTimeEdit.focusNextPrevChild?4(bool) -> bool +QtWidgets.QDateTimeEdit.mousePressEvent?4(QMouseEvent) +QtWidgets.QDateTimeEdit.paintEvent?4(QPaintEvent) +QtWidgets.QDateTimeEdit.validate?4(QString, int) -> (QValidator.State, QString, int) +QtWidgets.QDateTimeEdit.fixup?4(QString) -> QString +QtWidgets.QDateTimeEdit.dateTimeFromText?4(QString) -> QDateTime +QtWidgets.QDateTimeEdit.textFromDateTime?4(QDateTime) -> QString +QtWidgets.QDateTimeEdit.stepEnabled?4() -> QAbstractSpinBox.StepEnabled +QtWidgets.QDateTimeEdit.minimumDateTime?4() -> QDateTime +QtWidgets.QDateTimeEdit.clearMinimumDateTime?4() +QtWidgets.QDateTimeEdit.setMinimumDateTime?4(QDateTime) +QtWidgets.QDateTimeEdit.maximumDateTime?4() -> QDateTime +QtWidgets.QDateTimeEdit.clearMaximumDateTime?4() +QtWidgets.QDateTimeEdit.setMaximumDateTime?4(QDateTime) +QtWidgets.QDateTimeEdit.setDateTimeRange?4(QDateTime, QDateTime) +QtWidgets.QDateTimeEdit.calendarWidget?4() -> QCalendarWidget +QtWidgets.QDateTimeEdit.setCalendarWidget?4(QCalendarWidget) +QtWidgets.QDateTimeEdit.timeSpec?4() -> Qt.TimeSpec +QtWidgets.QDateTimeEdit.setTimeSpec?4(Qt.TimeSpec) +QtWidgets.QDateTimeEdit.calendar?4() -> QCalendar +QtWidgets.QDateTimeEdit.setCalendar?4(QCalendar) +QtWidgets.QDateTimeEdit.Sections?1() +QtWidgets.QDateTimeEdit.Sections.__init__?1(self) +QtWidgets.QDateTimeEdit.Sections?1(int) +QtWidgets.QDateTimeEdit.Sections.__init__?1(self, int) +QtWidgets.QDateTimeEdit.Sections?1(QDateTimeEdit.Sections) +QtWidgets.QDateTimeEdit.Sections.__init__?1(self, QDateTimeEdit.Sections) +QtWidgets.QTimeEdit?1(QWidget parent=None) +QtWidgets.QTimeEdit.__init__?1(self, QWidget parent=None) +QtWidgets.QTimeEdit?1(QTime, QWidget parent=None) +QtWidgets.QTimeEdit.__init__?1(self, QTime, QWidget parent=None) +QtWidgets.QDateEdit?1(QWidget parent=None) +QtWidgets.QDateEdit.__init__?1(self, QWidget parent=None) +QtWidgets.QDateEdit?1(QDate, QWidget parent=None) +QtWidgets.QDateEdit.__init__?1(self, QDate, QWidget parent=None) +QtWidgets.QDesktopWidget?1() +QtWidgets.QDesktopWidget.__init__?1(self) +QtWidgets.QDesktopWidget.isVirtualDesktop?4() -> bool +QtWidgets.QDesktopWidget.primaryScreen?4() -> int +QtWidgets.QDesktopWidget.screenNumber?4(QWidget widget=None) -> int +QtWidgets.QDesktopWidget.screenNumber?4(QPoint) -> int +QtWidgets.QDesktopWidget.screen?4(int screen=-1) -> QWidget +QtWidgets.QDesktopWidget.screenCount?4() -> int +QtWidgets.QDesktopWidget.screenGeometry?4(int screen=-1) -> QRect +QtWidgets.QDesktopWidget.screenGeometry?4(QWidget) -> QRect +QtWidgets.QDesktopWidget.screenGeometry?4(QPoint) -> QRect +QtWidgets.QDesktopWidget.availableGeometry?4(int screen=-1) -> QRect +QtWidgets.QDesktopWidget.availableGeometry?4(QWidget) -> QRect +QtWidgets.QDesktopWidget.availableGeometry?4(QPoint) -> QRect +QtWidgets.QDesktopWidget.resized?4(int) +QtWidgets.QDesktopWidget.workAreaResized?4(int) +QtWidgets.QDesktopWidget.screenCountChanged?4(int) +QtWidgets.QDesktopWidget.primaryScreenChanged?4() +QtWidgets.QDesktopWidget.resizeEvent?4(QResizeEvent) +QtWidgets.QDial?1(QWidget parent=None) +QtWidgets.QDial.__init__?1(self, QWidget parent=None) +QtWidgets.QDial.wrapping?4() -> bool +QtWidgets.QDial.notchSize?4() -> int +QtWidgets.QDial.setNotchTarget?4(float) +QtWidgets.QDial.notchTarget?4() -> float +QtWidgets.QDial.notchesVisible?4() -> bool +QtWidgets.QDial.sizeHint?4() -> QSize +QtWidgets.QDial.minimumSizeHint?4() -> QSize +QtWidgets.QDial.setNotchesVisible?4(bool) +QtWidgets.QDial.setWrapping?4(bool) +QtWidgets.QDial.initStyleOption?4(QStyleOptionSlider) +QtWidgets.QDial.event?4(QEvent) -> bool +QtWidgets.QDial.resizeEvent?4(QResizeEvent) +QtWidgets.QDial.paintEvent?4(QPaintEvent) +QtWidgets.QDial.mousePressEvent?4(QMouseEvent) +QtWidgets.QDial.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QDial.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QDial.sliderChange?4(QAbstractSlider.SliderChange) +QtWidgets.QDialogButtonBox.StandardButton?10 +QtWidgets.QDialogButtonBox.StandardButton.NoButton?10 +QtWidgets.QDialogButtonBox.StandardButton.Ok?10 +QtWidgets.QDialogButtonBox.StandardButton.Save?10 +QtWidgets.QDialogButtonBox.StandardButton.SaveAll?10 +QtWidgets.QDialogButtonBox.StandardButton.Open?10 +QtWidgets.QDialogButtonBox.StandardButton.Yes?10 +QtWidgets.QDialogButtonBox.StandardButton.YesToAll?10 +QtWidgets.QDialogButtonBox.StandardButton.No?10 +QtWidgets.QDialogButtonBox.StandardButton.NoToAll?10 +QtWidgets.QDialogButtonBox.StandardButton.Abort?10 +QtWidgets.QDialogButtonBox.StandardButton.Retry?10 +QtWidgets.QDialogButtonBox.StandardButton.Ignore?10 +QtWidgets.QDialogButtonBox.StandardButton.Close?10 +QtWidgets.QDialogButtonBox.StandardButton.Cancel?10 +QtWidgets.QDialogButtonBox.StandardButton.Discard?10 +QtWidgets.QDialogButtonBox.StandardButton.Help?10 +QtWidgets.QDialogButtonBox.StandardButton.Apply?10 +QtWidgets.QDialogButtonBox.StandardButton.Reset?10 +QtWidgets.QDialogButtonBox.StandardButton.RestoreDefaults?10 +QtWidgets.QDialogButtonBox.ButtonRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.InvalidRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.AcceptRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.RejectRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.DestructiveRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.ActionRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.HelpRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.YesRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.NoRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.ResetRole?10 +QtWidgets.QDialogButtonBox.ButtonRole.ApplyRole?10 +QtWidgets.QDialogButtonBox.ButtonLayout?10 +QtWidgets.QDialogButtonBox.ButtonLayout.WinLayout?10 +QtWidgets.QDialogButtonBox.ButtonLayout.MacLayout?10 +QtWidgets.QDialogButtonBox.ButtonLayout.KdeLayout?10 +QtWidgets.QDialogButtonBox.ButtonLayout.GnomeLayout?10 +QtWidgets.QDialogButtonBox.ButtonLayout.AndroidLayout?10 +QtWidgets.QDialogButtonBox?1(QWidget parent=None) +QtWidgets.QDialogButtonBox.__init__?1(self, QWidget parent=None) +QtWidgets.QDialogButtonBox?1(Qt.Orientation, QWidget parent=None) +QtWidgets.QDialogButtonBox.__init__?1(self, Qt.Orientation, QWidget parent=None) +QtWidgets.QDialogButtonBox?1(QDialogButtonBox.StandardButtons, QWidget parent=None) +QtWidgets.QDialogButtonBox.__init__?1(self, QDialogButtonBox.StandardButtons, QWidget parent=None) +QtWidgets.QDialogButtonBox?1(QDialogButtonBox.StandardButtons, Qt.Orientation, QWidget parent=None) +QtWidgets.QDialogButtonBox.__init__?1(self, QDialogButtonBox.StandardButtons, Qt.Orientation, QWidget parent=None) +QtWidgets.QDialogButtonBox.setOrientation?4(Qt.Orientation) +QtWidgets.QDialogButtonBox.orientation?4() -> Qt.Orientation +QtWidgets.QDialogButtonBox.addButton?4(QAbstractButton, QDialogButtonBox.ButtonRole) +QtWidgets.QDialogButtonBox.addButton?4(QString, QDialogButtonBox.ButtonRole) -> QPushButton +QtWidgets.QDialogButtonBox.addButton?4(QDialogButtonBox.StandardButton) -> QPushButton +QtWidgets.QDialogButtonBox.removeButton?4(QAbstractButton) +QtWidgets.QDialogButtonBox.clear?4() +QtWidgets.QDialogButtonBox.buttons?4() -> unknown-type +QtWidgets.QDialogButtonBox.buttonRole?4(QAbstractButton) -> QDialogButtonBox.ButtonRole +QtWidgets.QDialogButtonBox.setStandardButtons?4(QDialogButtonBox.StandardButtons) +QtWidgets.QDialogButtonBox.standardButtons?4() -> QDialogButtonBox.StandardButtons +QtWidgets.QDialogButtonBox.standardButton?4(QAbstractButton) -> QDialogButtonBox.StandardButton +QtWidgets.QDialogButtonBox.button?4(QDialogButtonBox.StandardButton) -> QPushButton +QtWidgets.QDialogButtonBox.setCenterButtons?4(bool) +QtWidgets.QDialogButtonBox.centerButtons?4() -> bool +QtWidgets.QDialogButtonBox.accepted?4() +QtWidgets.QDialogButtonBox.clicked?4(QAbstractButton) +QtWidgets.QDialogButtonBox.helpRequested?4() +QtWidgets.QDialogButtonBox.rejected?4() +QtWidgets.QDialogButtonBox.changeEvent?4(QEvent) +QtWidgets.QDialogButtonBox.event?4(QEvent) -> bool +QtWidgets.QDialogButtonBox.StandardButtons?1() +QtWidgets.QDialogButtonBox.StandardButtons.__init__?1(self) +QtWidgets.QDialogButtonBox.StandardButtons?1(int) +QtWidgets.QDialogButtonBox.StandardButtons.__init__?1(self, int) +QtWidgets.QDialogButtonBox.StandardButtons?1(QDialogButtonBox.StandardButtons) +QtWidgets.QDialogButtonBox.StandardButtons.__init__?1(self, QDialogButtonBox.StandardButtons) +QtWidgets.QDirModel.Roles?10 +QtWidgets.QDirModel.Roles.FileIconRole?10 +QtWidgets.QDirModel.Roles.FilePathRole?10 +QtWidgets.QDirModel.Roles.FileNameRole?10 +QtWidgets.QDirModel?1(QStringList, QDir.Filters, QDir.SortFlags, QObject parent=None) +QtWidgets.QDirModel.__init__?1(self, QStringList, QDir.Filters, QDir.SortFlags, QObject parent=None) +QtWidgets.QDirModel?1(QObject parent=None) +QtWidgets.QDirModel.__init__?1(self, QObject parent=None) +QtWidgets.QDirModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtWidgets.QDirModel.parent?4(QModelIndex) -> QModelIndex +QtWidgets.QDirModel.parent?4() -> QObject +QtWidgets.QDirModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtWidgets.QDirModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtWidgets.QDirModel.data?4(QModelIndex, int role=Qt.DisplayRole) -> QVariant +QtWidgets.QDirModel.setData?4(QModelIndex, QVariant, int role=Qt.EditRole) -> bool +QtWidgets.QDirModel.headerData?4(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant +QtWidgets.QDirModel.hasChildren?4(QModelIndex parent=QModelIndex()) -> bool +QtWidgets.QDirModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtWidgets.QDirModel.sort?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtWidgets.QDirModel.mimeTypes?4() -> QStringList +QtWidgets.QDirModel.mimeData?4(unknown-type) -> QMimeData +QtWidgets.QDirModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtWidgets.QDirModel.supportedDropActions?4() -> Qt.DropActions +QtWidgets.QDirModel.setIconProvider?4(QFileIconProvider) +QtWidgets.QDirModel.iconProvider?4() -> QFileIconProvider +QtWidgets.QDirModel.setNameFilters?4(QStringList) +QtWidgets.QDirModel.nameFilters?4() -> QStringList +QtWidgets.QDirModel.setFilter?4(QDir.Filters) +QtWidgets.QDirModel.filter?4() -> QDir.Filters +QtWidgets.QDirModel.setSorting?4(QDir.SortFlags) +QtWidgets.QDirModel.sorting?4() -> QDir.SortFlags +QtWidgets.QDirModel.setResolveSymlinks?4(bool) +QtWidgets.QDirModel.resolveSymlinks?4() -> bool +QtWidgets.QDirModel.setReadOnly?4(bool) +QtWidgets.QDirModel.isReadOnly?4() -> bool +QtWidgets.QDirModel.setLazyChildCount?4(bool) +QtWidgets.QDirModel.lazyChildCount?4() -> bool +QtWidgets.QDirModel.refresh?4(QModelIndex parent=QModelIndex()) +QtWidgets.QDirModel.index?4(QString, int column=0) -> QModelIndex +QtWidgets.QDirModel.isDir?4(QModelIndex) -> bool +QtWidgets.QDirModel.mkdir?4(QModelIndex, QString) -> QModelIndex +QtWidgets.QDirModel.rmdir?4(QModelIndex) -> bool +QtWidgets.QDirModel.remove?4(QModelIndex) -> bool +QtWidgets.QDirModel.filePath?4(QModelIndex) -> QString +QtWidgets.QDirModel.fileName?4(QModelIndex) -> QString +QtWidgets.QDirModel.fileIcon?4(QModelIndex) -> QIcon +QtWidgets.QDirModel.fileInfo?4(QModelIndex) -> QFileInfo +QtWidgets.QDockWidget.DockWidgetFeature?10 +QtWidgets.QDockWidget.DockWidgetFeature.DockWidgetClosable?10 +QtWidgets.QDockWidget.DockWidgetFeature.DockWidgetMovable?10 +QtWidgets.QDockWidget.DockWidgetFeature.DockWidgetFloatable?10 +QtWidgets.QDockWidget.DockWidgetFeature.DockWidgetVerticalTitleBar?10 +QtWidgets.QDockWidget.DockWidgetFeature.AllDockWidgetFeatures?10 +QtWidgets.QDockWidget.DockWidgetFeature.NoDockWidgetFeatures?10 +QtWidgets.QDockWidget?1(QString, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QDockWidget.__init__?1(self, QString, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QDockWidget?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QDockWidget.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QDockWidget.widget?4() -> QWidget +QtWidgets.QDockWidget.setWidget?4(QWidget) +QtWidgets.QDockWidget.setFeatures?4(QDockWidget.DockWidgetFeatures) +QtWidgets.QDockWidget.features?4() -> QDockWidget.DockWidgetFeatures +QtWidgets.QDockWidget.setFloating?4(bool) +QtWidgets.QDockWidget.isFloating?4() -> bool +QtWidgets.QDockWidget.setAllowedAreas?4(Qt.DockWidgetAreas) +QtWidgets.QDockWidget.allowedAreas?4() -> Qt.DockWidgetAreas +QtWidgets.QDockWidget.isAreaAllowed?4(Qt.DockWidgetArea) -> bool +QtWidgets.QDockWidget.toggleViewAction?4() -> QAction +QtWidgets.QDockWidget.setTitleBarWidget?4(QWidget) +QtWidgets.QDockWidget.titleBarWidget?4() -> QWidget +QtWidgets.QDockWidget.featuresChanged?4(QDockWidget.DockWidgetFeatures) +QtWidgets.QDockWidget.topLevelChanged?4(bool) +QtWidgets.QDockWidget.allowedAreasChanged?4(Qt.DockWidgetAreas) +QtWidgets.QDockWidget.dockLocationChanged?4(Qt.DockWidgetArea) +QtWidgets.QDockWidget.visibilityChanged?4(bool) +QtWidgets.QDockWidget.initStyleOption?4(QStyleOptionDockWidget) +QtWidgets.QDockWidget.changeEvent?4(QEvent) +QtWidgets.QDockWidget.closeEvent?4(QCloseEvent) +QtWidgets.QDockWidget.paintEvent?4(QPaintEvent) +QtWidgets.QDockWidget.event?4(QEvent) -> bool +QtWidgets.QDockWidget.DockWidgetFeatures?1() +QtWidgets.QDockWidget.DockWidgetFeatures.__init__?1(self) +QtWidgets.QDockWidget.DockWidgetFeatures?1(int) +QtWidgets.QDockWidget.DockWidgetFeatures.__init__?1(self, int) +QtWidgets.QDockWidget.DockWidgetFeatures?1(QDockWidget.DockWidgetFeatures) +QtWidgets.QDockWidget.DockWidgetFeatures.__init__?1(self, QDockWidget.DockWidgetFeatures) +QtWidgets.QErrorMessage?1(QWidget parent=None) +QtWidgets.QErrorMessage.__init__?1(self, QWidget parent=None) +QtWidgets.QErrorMessage.qtHandler?4() -> QErrorMessage +QtWidgets.QErrorMessage.showMessage?4(QString) +QtWidgets.QErrorMessage.showMessage?4(QString, QString) +QtWidgets.QErrorMessage.changeEvent?4(QEvent) +QtWidgets.QErrorMessage.done?4(int) +QtWidgets.QFileDialog.Option?10 +QtWidgets.QFileDialog.Option.ShowDirsOnly?10 +QtWidgets.QFileDialog.Option.DontResolveSymlinks?10 +QtWidgets.QFileDialog.Option.DontConfirmOverwrite?10 +QtWidgets.QFileDialog.Option.DontUseSheet?10 +QtWidgets.QFileDialog.Option.DontUseNativeDialog?10 +QtWidgets.QFileDialog.Option.ReadOnly?10 +QtWidgets.QFileDialog.Option.HideNameFilterDetails?10 +QtWidgets.QFileDialog.Option.DontUseCustomDirectoryIcons?10 +QtWidgets.QFileDialog.DialogLabel?10 +QtWidgets.QFileDialog.DialogLabel.LookIn?10 +QtWidgets.QFileDialog.DialogLabel.FileName?10 +QtWidgets.QFileDialog.DialogLabel.FileType?10 +QtWidgets.QFileDialog.DialogLabel.Accept?10 +QtWidgets.QFileDialog.DialogLabel.Reject?10 +QtWidgets.QFileDialog.AcceptMode?10 +QtWidgets.QFileDialog.AcceptMode.AcceptOpen?10 +QtWidgets.QFileDialog.AcceptMode.AcceptSave?10 +QtWidgets.QFileDialog.FileMode?10 +QtWidgets.QFileDialog.FileMode.AnyFile?10 +QtWidgets.QFileDialog.FileMode.ExistingFile?10 +QtWidgets.QFileDialog.FileMode.Directory?10 +QtWidgets.QFileDialog.FileMode.ExistingFiles?10 +QtWidgets.QFileDialog.FileMode.DirectoryOnly?10 +QtWidgets.QFileDialog.ViewMode?10 +QtWidgets.QFileDialog.ViewMode.Detail?10 +QtWidgets.QFileDialog.ViewMode.List?10 +QtWidgets.QFileDialog?1(QWidget, Qt.WindowFlags) +QtWidgets.QFileDialog.__init__?1(self, QWidget, Qt.WindowFlags) +QtWidgets.QFileDialog?1(QWidget parent=None, QString caption='', QString directory='', QString filter='') +QtWidgets.QFileDialog.__init__?1(self, QWidget parent=None, QString caption='', QString directory='', QString filter='') +QtWidgets.QFileDialog.setDirectory?4(QString) +QtWidgets.QFileDialog.setDirectory?4(QDir) +QtWidgets.QFileDialog.directory?4() -> QDir +QtWidgets.QFileDialog.selectFile?4(QString) +QtWidgets.QFileDialog.selectedFiles?4() -> QStringList +QtWidgets.QFileDialog.setViewMode?4(QFileDialog.ViewMode) +QtWidgets.QFileDialog.viewMode?4() -> QFileDialog.ViewMode +QtWidgets.QFileDialog.setFileMode?4(QFileDialog.FileMode) +QtWidgets.QFileDialog.fileMode?4() -> QFileDialog.FileMode +QtWidgets.QFileDialog.setAcceptMode?4(QFileDialog.AcceptMode) +QtWidgets.QFileDialog.acceptMode?4() -> QFileDialog.AcceptMode +QtWidgets.QFileDialog.setDefaultSuffix?4(QString) +QtWidgets.QFileDialog.defaultSuffix?4() -> QString +QtWidgets.QFileDialog.setHistory?4(QStringList) +QtWidgets.QFileDialog.history?4() -> QStringList +QtWidgets.QFileDialog.setItemDelegate?4(QAbstractItemDelegate) +QtWidgets.QFileDialog.itemDelegate?4() -> QAbstractItemDelegate +QtWidgets.QFileDialog.setIconProvider?4(QFileIconProvider) +QtWidgets.QFileDialog.iconProvider?4() -> QFileIconProvider +QtWidgets.QFileDialog.setLabelText?4(QFileDialog.DialogLabel, QString) +QtWidgets.QFileDialog.labelText?4(QFileDialog.DialogLabel) -> QString +QtWidgets.QFileDialog.currentChanged?4(QString) +QtWidgets.QFileDialog.directoryEntered?4(QString) +QtWidgets.QFileDialog.filesSelected?4(QStringList) +QtWidgets.QFileDialog.filterSelected?4(QString) +QtWidgets.QFileDialog.fileSelected?4(QString) +QtWidgets.QFileDialog.getExistingDirectory?4(QWidget parent=None, QString caption='', QString directory='', QFileDialog.Options options=QFileDialog.ShowDirsOnly) -> QString +QtWidgets.QFileDialog.getExistingDirectoryUrl?4(QWidget parent=None, QString caption='', QUrl directory=QUrl(), QFileDialog.Options options=QFileDialog.ShowDirsOnly, QStringList supportedSchemes=[]) -> QUrl +QtWidgets.QFileDialog.getOpenFileName?4(QWidget parent=None, QString caption='', QString directory='', QString filter='', QString initialFilter='', QFileDialog.Options options=0) -> tuple +QtWidgets.QFileDialog.getOpenFileNames?4(QWidget parent=None, QString caption='', QString directory='', QString filter='', QString initialFilter='', QFileDialog.Options options=0) -> tuple +QtWidgets.QFileDialog.getSaveFileName?4(QWidget parent=None, QString caption='', QString directory='', QString filter='', QString initialFilter='', QFileDialog.Options options=0) -> tuple +QtWidgets.QFileDialog.done?4(int) +QtWidgets.QFileDialog.accept?4() +QtWidgets.QFileDialog.changeEvent?4(QEvent) +QtWidgets.QFileDialog.setSidebarUrls?4(unknown-type) +QtWidgets.QFileDialog.sidebarUrls?4() -> unknown-type +QtWidgets.QFileDialog.saveState?4() -> QByteArray +QtWidgets.QFileDialog.restoreState?4(QByteArray) -> bool +QtWidgets.QFileDialog.setProxyModel?4(QAbstractProxyModel) +QtWidgets.QFileDialog.proxyModel?4() -> QAbstractProxyModel +QtWidgets.QFileDialog.setNameFilter?4(QString) +QtWidgets.QFileDialog.setNameFilters?4(QStringList) +QtWidgets.QFileDialog.nameFilters?4() -> QStringList +QtWidgets.QFileDialog.selectNameFilter?4(QString) +QtWidgets.QFileDialog.selectedNameFilter?4() -> QString +QtWidgets.QFileDialog.filter?4() -> QDir.Filters +QtWidgets.QFileDialog.setFilter?4(QDir.Filters) +QtWidgets.QFileDialog.setOption?4(QFileDialog.Option, bool on=True) +QtWidgets.QFileDialog.testOption?4(QFileDialog.Option) -> bool +QtWidgets.QFileDialog.setOptions?4(QFileDialog.Options) +QtWidgets.QFileDialog.options?4() -> QFileDialog.Options +QtWidgets.QFileDialog.open?4() +QtWidgets.QFileDialog.open?4(object) +QtWidgets.QFileDialog.setVisible?4(bool) +QtWidgets.QFileDialog.setDirectoryUrl?4(QUrl) +QtWidgets.QFileDialog.directoryUrl?4() -> QUrl +QtWidgets.QFileDialog.selectUrl?4(QUrl) +QtWidgets.QFileDialog.selectedUrls?4() -> unknown-type +QtWidgets.QFileDialog.setMimeTypeFilters?4(QStringList) +QtWidgets.QFileDialog.mimeTypeFilters?4() -> QStringList +QtWidgets.QFileDialog.selectMimeTypeFilter?4(QString) +QtWidgets.QFileDialog.urlSelected?4(QUrl) +QtWidgets.QFileDialog.urlsSelected?4(unknown-type) +QtWidgets.QFileDialog.currentUrlChanged?4(QUrl) +QtWidgets.QFileDialog.directoryUrlEntered?4(QUrl) +QtWidgets.QFileDialog.getOpenFileUrl?4(QWidget parent=None, QString caption='', QUrl directory=QUrl(), QString filter='', QString initialFilter='', QFileDialog.Options options=0, QStringList supportedSchemes=[]) -> tuple +QtWidgets.QFileDialog.getOpenFileUrls?4(QWidget parent=None, QString caption='', QUrl directory=QUrl(), QString filter='', QString initialFilter='', QFileDialog.Options options=0, QStringList supportedSchemes=[]) -> tuple +QtWidgets.QFileDialog.getSaveFileUrl?4(QWidget parent=None, QString caption='', QUrl directory=QUrl(), QString filter='', QString initialFilter='', QFileDialog.Options options=0, QStringList supportedSchemes=[]) -> tuple +QtWidgets.QFileDialog.setSupportedSchemes?4(QStringList) +QtWidgets.QFileDialog.supportedSchemes?4() -> QStringList +QtWidgets.QFileDialog.selectedMimeTypeFilter?4() -> QString +QtWidgets.QFileDialog.saveFileContent?4(QByteArray, QString fileNameHint='') +QtWidgets.QFileDialog.Options?1() +QtWidgets.QFileDialog.Options.__init__?1(self) +QtWidgets.QFileDialog.Options?1(int) +QtWidgets.QFileDialog.Options.__init__?1(self, int) +QtWidgets.QFileDialog.Options?1(QFileDialog.Options) +QtWidgets.QFileDialog.Options.__init__?1(self, QFileDialog.Options) +QtWidgets.QFileIconProvider.Option?10 +QtWidgets.QFileIconProvider.Option.DontUseCustomDirectoryIcons?10 +QtWidgets.QFileIconProvider.IconType?10 +QtWidgets.QFileIconProvider.IconType.Computer?10 +QtWidgets.QFileIconProvider.IconType.Desktop?10 +QtWidgets.QFileIconProvider.IconType.Trashcan?10 +QtWidgets.QFileIconProvider.IconType.Network?10 +QtWidgets.QFileIconProvider.IconType.Drive?10 +QtWidgets.QFileIconProvider.IconType.Folder?10 +QtWidgets.QFileIconProvider.IconType.File?10 +QtWidgets.QFileIconProvider?1() +QtWidgets.QFileIconProvider.__init__?1(self) +QtWidgets.QFileIconProvider.icon?4(QFileIconProvider.IconType) -> QIcon +QtWidgets.QFileIconProvider.icon?4(QFileInfo) -> QIcon +QtWidgets.QFileIconProvider.type?4(QFileInfo) -> QString +QtWidgets.QFileIconProvider.setOptions?4(QFileIconProvider.Options) +QtWidgets.QFileIconProvider.options?4() -> QFileIconProvider.Options +QtWidgets.QFileIconProvider.Options?1() +QtWidgets.QFileIconProvider.Options.__init__?1(self) +QtWidgets.QFileIconProvider.Options?1(int) +QtWidgets.QFileIconProvider.Options.__init__?1(self, int) +QtWidgets.QFileIconProvider.Options?1(QFileIconProvider.Options) +QtWidgets.QFileIconProvider.Options.__init__?1(self, QFileIconProvider.Options) +QtWidgets.QFileSystemModel.Option?10 +QtWidgets.QFileSystemModel.Option.DontWatchForChanges?10 +QtWidgets.QFileSystemModel.Option.DontResolveSymlinks?10 +QtWidgets.QFileSystemModel.Option.DontUseCustomDirectoryIcons?10 +QtWidgets.QFileSystemModel.Roles?10 +QtWidgets.QFileSystemModel.Roles.FileIconRole?10 +QtWidgets.QFileSystemModel.Roles.FilePathRole?10 +QtWidgets.QFileSystemModel.Roles.FileNameRole?10 +QtWidgets.QFileSystemModel.Roles.FilePermissions?10 +QtWidgets.QFileSystemModel?1(QObject parent=None) +QtWidgets.QFileSystemModel.__init__?1(self, QObject parent=None) +QtWidgets.QFileSystemModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtWidgets.QFileSystemModel.index?4(QString, int column=0) -> QModelIndex +QtWidgets.QFileSystemModel.parent?4(QModelIndex) -> QModelIndex +QtWidgets.QFileSystemModel.hasChildren?4(QModelIndex parent=QModelIndex()) -> bool +QtWidgets.QFileSystemModel.canFetchMore?4(QModelIndex) -> bool +QtWidgets.QFileSystemModel.fetchMore?4(QModelIndex) +QtWidgets.QFileSystemModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtWidgets.QFileSystemModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtWidgets.QFileSystemModel.myComputer?4(int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtWidgets.QFileSystemModel.data?4(QModelIndex, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtWidgets.QFileSystemModel.setData?4(QModelIndex, QVariant, int role=Qt.ItemDataRole.EditRole) -> bool +QtWidgets.QFileSystemModel.headerData?4(int, Qt.Orientation, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtWidgets.QFileSystemModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtWidgets.QFileSystemModel.sort?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtWidgets.QFileSystemModel.mimeTypes?4() -> QStringList +QtWidgets.QFileSystemModel.mimeData?4(unknown-type) -> QMimeData +QtWidgets.QFileSystemModel.dropMimeData?4(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool +QtWidgets.QFileSystemModel.supportedDropActions?4() -> Qt.DropActions +QtWidgets.QFileSystemModel.setRootPath?4(QString) -> QModelIndex +QtWidgets.QFileSystemModel.rootPath?4() -> QString +QtWidgets.QFileSystemModel.rootDirectory?4() -> QDir +QtWidgets.QFileSystemModel.setIconProvider?4(QFileIconProvider) +QtWidgets.QFileSystemModel.iconProvider?4() -> QFileIconProvider +QtWidgets.QFileSystemModel.setFilter?4(QDir.Filters) +QtWidgets.QFileSystemModel.filter?4() -> QDir.Filters +QtWidgets.QFileSystemModel.setResolveSymlinks?4(bool) +QtWidgets.QFileSystemModel.resolveSymlinks?4() -> bool +QtWidgets.QFileSystemModel.setReadOnly?4(bool) +QtWidgets.QFileSystemModel.isReadOnly?4() -> bool +QtWidgets.QFileSystemModel.setNameFilterDisables?4(bool) +QtWidgets.QFileSystemModel.nameFilterDisables?4() -> bool +QtWidgets.QFileSystemModel.setNameFilters?4(QStringList) +QtWidgets.QFileSystemModel.nameFilters?4() -> QStringList +QtWidgets.QFileSystemModel.filePath?4(QModelIndex) -> QString +QtWidgets.QFileSystemModel.isDir?4(QModelIndex) -> bool +QtWidgets.QFileSystemModel.size?4(QModelIndex) -> int +QtWidgets.QFileSystemModel.type?4(QModelIndex) -> QString +QtWidgets.QFileSystemModel.lastModified?4(QModelIndex) -> QDateTime +QtWidgets.QFileSystemModel.mkdir?4(QModelIndex, QString) -> QModelIndex +QtWidgets.QFileSystemModel.permissions?4(QModelIndex) -> QFileDevice.Permissions +QtWidgets.QFileSystemModel.rmdir?4(QModelIndex) -> bool +QtWidgets.QFileSystemModel.fileName?4(QModelIndex) -> QString +QtWidgets.QFileSystemModel.fileIcon?4(QModelIndex) -> QIcon +QtWidgets.QFileSystemModel.fileInfo?4(QModelIndex) -> QFileInfo +QtWidgets.QFileSystemModel.remove?4(QModelIndex) -> bool +QtWidgets.QFileSystemModel.fileRenamed?4(QString, QString, QString) +QtWidgets.QFileSystemModel.rootPathChanged?4(QString) +QtWidgets.QFileSystemModel.directoryLoaded?4(QString) +QtWidgets.QFileSystemModel.event?4(QEvent) -> bool +QtWidgets.QFileSystemModel.timerEvent?4(QTimerEvent) +QtWidgets.QFileSystemModel.sibling?4(int, int, QModelIndex) -> QModelIndex +QtWidgets.QFileSystemModel.setOption?4(QFileSystemModel.Option, bool on=True) +QtWidgets.QFileSystemModel.testOption?4(QFileSystemModel.Option) -> bool +QtWidgets.QFileSystemModel.setOptions?4(QFileSystemModel.Options) +QtWidgets.QFileSystemModel.options?4() -> QFileSystemModel.Options +QtWidgets.QFileSystemModel.Options?1() +QtWidgets.QFileSystemModel.Options.__init__?1(self) +QtWidgets.QFileSystemModel.Options?1(int) +QtWidgets.QFileSystemModel.Options.__init__?1(self, int) +QtWidgets.QFileSystemModel.Options?1(QFileSystemModel.Options) +QtWidgets.QFileSystemModel.Options.__init__?1(self, QFileSystemModel.Options) +QtWidgets.QFocusFrame?1(QWidget parent=None) +QtWidgets.QFocusFrame.__init__?1(self, QWidget parent=None) +QtWidgets.QFocusFrame.setWidget?4(QWidget) +QtWidgets.QFocusFrame.widget?4() -> QWidget +QtWidgets.QFocusFrame.initStyleOption?4(QStyleOption) +QtWidgets.QFocusFrame.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QFocusFrame.event?4(QEvent) -> bool +QtWidgets.QFocusFrame.paintEvent?4(QPaintEvent) +QtWidgets.QFontComboBox.FontFilter?10 +QtWidgets.QFontComboBox.FontFilter.AllFonts?10 +QtWidgets.QFontComboBox.FontFilter.ScalableFonts?10 +QtWidgets.QFontComboBox.FontFilter.NonScalableFonts?10 +QtWidgets.QFontComboBox.FontFilter.MonospacedFonts?10 +QtWidgets.QFontComboBox.FontFilter.ProportionalFonts?10 +QtWidgets.QFontComboBox?1(QWidget parent=None) +QtWidgets.QFontComboBox.__init__?1(self, QWidget parent=None) +QtWidgets.QFontComboBox.fontFilters?4() -> QFontComboBox.FontFilters +QtWidgets.QFontComboBox.setWritingSystem?4(QFontDatabase.WritingSystem) +QtWidgets.QFontComboBox.writingSystem?4() -> QFontDatabase.WritingSystem +QtWidgets.QFontComboBox.setFontFilters?4(QFontComboBox.FontFilters) +QtWidgets.QFontComboBox.currentFont?4() -> QFont +QtWidgets.QFontComboBox.sizeHint?4() -> QSize +QtWidgets.QFontComboBox.setCurrentFont?4(QFont) +QtWidgets.QFontComboBox.currentFontChanged?4(QFont) +QtWidgets.QFontComboBox.event?4(QEvent) -> bool +QtWidgets.QFontComboBox.FontFilters?1() +QtWidgets.QFontComboBox.FontFilters.__init__?1(self) +QtWidgets.QFontComboBox.FontFilters?1(int) +QtWidgets.QFontComboBox.FontFilters.__init__?1(self, int) +QtWidgets.QFontComboBox.FontFilters?1(QFontComboBox.FontFilters) +QtWidgets.QFontComboBox.FontFilters.__init__?1(self, QFontComboBox.FontFilters) +QtWidgets.QFontDialog.FontDialogOption?10 +QtWidgets.QFontDialog.FontDialogOption.NoButtons?10 +QtWidgets.QFontDialog.FontDialogOption.DontUseNativeDialog?10 +QtWidgets.QFontDialog.FontDialogOption.ScalableFonts?10 +QtWidgets.QFontDialog.FontDialogOption.NonScalableFonts?10 +QtWidgets.QFontDialog.FontDialogOption.MonospacedFonts?10 +QtWidgets.QFontDialog.FontDialogOption.ProportionalFonts?10 +QtWidgets.QFontDialog?1(QWidget parent=None) +QtWidgets.QFontDialog.__init__?1(self, QWidget parent=None) +QtWidgets.QFontDialog?1(QFont, QWidget parent=None) +QtWidgets.QFontDialog.__init__?1(self, QFont, QWidget parent=None) +QtWidgets.QFontDialog.getFont?4(QFont, QWidget parent=None, QString caption='', QFontDialog.FontDialogOptions options=QFontDialog.FontDialogOptions()) -> (QFont, bool) +QtWidgets.QFontDialog.getFont?4(QWidget parent=None) -> (QFont, bool) +QtWidgets.QFontDialog.changeEvent?4(QEvent) +QtWidgets.QFontDialog.done?4(int) +QtWidgets.QFontDialog.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QFontDialog.setCurrentFont?4(QFont) +QtWidgets.QFontDialog.currentFont?4() -> QFont +QtWidgets.QFontDialog.selectedFont?4() -> QFont +QtWidgets.QFontDialog.setOption?4(QFontDialog.FontDialogOption, bool on=True) +QtWidgets.QFontDialog.testOption?4(QFontDialog.FontDialogOption) -> bool +QtWidgets.QFontDialog.setOptions?4(QFontDialog.FontDialogOptions) +QtWidgets.QFontDialog.options?4() -> QFontDialog.FontDialogOptions +QtWidgets.QFontDialog.open?4() +QtWidgets.QFontDialog.open?4(object) +QtWidgets.QFontDialog.setVisible?4(bool) +QtWidgets.QFontDialog.currentFontChanged?4(QFont) +QtWidgets.QFontDialog.fontSelected?4(QFont) +QtWidgets.QFontDialog.FontDialogOptions?1() +QtWidgets.QFontDialog.FontDialogOptions.__init__?1(self) +QtWidgets.QFontDialog.FontDialogOptions?1(int) +QtWidgets.QFontDialog.FontDialogOptions.__init__?1(self, int) +QtWidgets.QFontDialog.FontDialogOptions?1(QFontDialog.FontDialogOptions) +QtWidgets.QFontDialog.FontDialogOptions.__init__?1(self, QFontDialog.FontDialogOptions) +QtWidgets.QFormLayout.ItemRole?10 +QtWidgets.QFormLayout.ItemRole.LabelRole?10 +QtWidgets.QFormLayout.ItemRole.FieldRole?10 +QtWidgets.QFormLayout.ItemRole.SpanningRole?10 +QtWidgets.QFormLayout.RowWrapPolicy?10 +QtWidgets.QFormLayout.RowWrapPolicy.DontWrapRows?10 +QtWidgets.QFormLayout.RowWrapPolicy.WrapLongRows?10 +QtWidgets.QFormLayout.RowWrapPolicy.WrapAllRows?10 +QtWidgets.QFormLayout.FieldGrowthPolicy?10 +QtWidgets.QFormLayout.FieldGrowthPolicy.FieldsStayAtSizeHint?10 +QtWidgets.QFormLayout.FieldGrowthPolicy.ExpandingFieldsGrow?10 +QtWidgets.QFormLayout.FieldGrowthPolicy.AllNonFixedFieldsGrow?10 +QtWidgets.QFormLayout?1(QWidget parent=None) +QtWidgets.QFormLayout.__init__?1(self, QWidget parent=None) +QtWidgets.QFormLayout.setFieldGrowthPolicy?4(QFormLayout.FieldGrowthPolicy) +QtWidgets.QFormLayout.fieldGrowthPolicy?4() -> QFormLayout.FieldGrowthPolicy +QtWidgets.QFormLayout.setRowWrapPolicy?4(QFormLayout.RowWrapPolicy) +QtWidgets.QFormLayout.rowWrapPolicy?4() -> QFormLayout.RowWrapPolicy +QtWidgets.QFormLayout.setLabelAlignment?4(Qt.Alignment) +QtWidgets.QFormLayout.labelAlignment?4() -> Qt.Alignment +QtWidgets.QFormLayout.setFormAlignment?4(Qt.Alignment) +QtWidgets.QFormLayout.formAlignment?4() -> Qt.Alignment +QtWidgets.QFormLayout.setHorizontalSpacing?4(int) +QtWidgets.QFormLayout.horizontalSpacing?4() -> int +QtWidgets.QFormLayout.setVerticalSpacing?4(int) +QtWidgets.QFormLayout.verticalSpacing?4() -> int +QtWidgets.QFormLayout.spacing?4() -> int +QtWidgets.QFormLayout.setSpacing?4(int) +QtWidgets.QFormLayout.addRow?4(QWidget, QWidget) +QtWidgets.QFormLayout.addRow?4(QWidget, QLayout) +QtWidgets.QFormLayout.addRow?4(QString, QWidget) +QtWidgets.QFormLayout.addRow?4(QString, QLayout) +QtWidgets.QFormLayout.addRow?4(QWidget) +QtWidgets.QFormLayout.addRow?4(QLayout) +QtWidgets.QFormLayout.insertRow?4(int, QWidget, QWidget) +QtWidgets.QFormLayout.insertRow?4(int, QWidget, QLayout) +QtWidgets.QFormLayout.insertRow?4(int, QString, QWidget) +QtWidgets.QFormLayout.insertRow?4(int, QString, QLayout) +QtWidgets.QFormLayout.insertRow?4(int, QWidget) +QtWidgets.QFormLayout.insertRow?4(int, QLayout) +QtWidgets.QFormLayout.setItem?4(int, QFormLayout.ItemRole, QLayoutItem) +QtWidgets.QFormLayout.setWidget?4(int, QFormLayout.ItemRole, QWidget) +QtWidgets.QFormLayout.setLayout?4(int, QFormLayout.ItemRole, QLayout) +QtWidgets.QFormLayout.itemAt?4(int, QFormLayout.ItemRole) -> QLayoutItem +QtWidgets.QFormLayout.getItemPosition?4(int) -> (int, QFormLayout.ItemRole) +QtWidgets.QFormLayout.getWidgetPosition?4(QWidget) -> (int, QFormLayout.ItemRole) +QtWidgets.QFormLayout.getLayoutPosition?4(QLayout) -> (int, QFormLayout.ItemRole) +QtWidgets.QFormLayout.labelForField?4(QWidget) -> QWidget +QtWidgets.QFormLayout.labelForField?4(QLayout) -> QWidget +QtWidgets.QFormLayout.addItem?4(QLayoutItem) +QtWidgets.QFormLayout.itemAt?4(int) -> QLayoutItem +QtWidgets.QFormLayout.takeAt?4(int) -> QLayoutItem +QtWidgets.QFormLayout.setGeometry?4(QRect) +QtWidgets.QFormLayout.minimumSize?4() -> QSize +QtWidgets.QFormLayout.sizeHint?4() -> QSize +QtWidgets.QFormLayout.invalidate?4() +QtWidgets.QFormLayout.hasHeightForWidth?4() -> bool +QtWidgets.QFormLayout.heightForWidth?4(int) -> int +QtWidgets.QFormLayout.expandingDirections?4() -> Qt.Orientations +QtWidgets.QFormLayout.count?4() -> int +QtWidgets.QFormLayout.rowCount?4() -> int +QtWidgets.QFormLayout.removeRow?4(int) +QtWidgets.QFormLayout.removeRow?4(QWidget) +QtWidgets.QFormLayout.removeRow?4(QLayout) +QtWidgets.QFormLayout.takeRow?4(int) -> QFormLayout.TakeRowResult +QtWidgets.QFormLayout.takeRow?4(QWidget) -> QFormLayout.TakeRowResult +QtWidgets.QFormLayout.takeRow?4(QLayout) -> QFormLayout.TakeRowResult +QtWidgets.QFormLayout.TakeRowResult.fieldItem?7 +QtWidgets.QFormLayout.TakeRowResult.labelItem?7 +QtWidgets.QFormLayout.TakeRowResult?1() +QtWidgets.QFormLayout.TakeRowResult.__init__?1(self) +QtWidgets.QFormLayout.TakeRowResult?1(QFormLayout.TakeRowResult) +QtWidgets.QFormLayout.TakeRowResult.__init__?1(self, QFormLayout.TakeRowResult) +QtWidgets.QGesture.GestureCancelPolicy?10 +QtWidgets.QGesture.GestureCancelPolicy.CancelNone?10 +QtWidgets.QGesture.GestureCancelPolicy.CancelAllInContext?10 +QtWidgets.QGesture?1(QObject parent=None) +QtWidgets.QGesture.__init__?1(self, QObject parent=None) +QtWidgets.QGesture.gestureType?4() -> Qt.GestureType +QtWidgets.QGesture.state?4() -> Qt.GestureState +QtWidgets.QGesture.hotSpot?4() -> QPointF +QtWidgets.QGesture.setHotSpot?4(QPointF) +QtWidgets.QGesture.hasHotSpot?4() -> bool +QtWidgets.QGesture.unsetHotSpot?4() +QtWidgets.QGesture.setGestureCancelPolicy?4(QGesture.GestureCancelPolicy) +QtWidgets.QGesture.gestureCancelPolicy?4() -> QGesture.GestureCancelPolicy +QtWidgets.QPanGesture?1(QObject parent=None) +QtWidgets.QPanGesture.__init__?1(self, QObject parent=None) +QtWidgets.QPanGesture.lastOffset?4() -> QPointF +QtWidgets.QPanGesture.offset?4() -> QPointF +QtWidgets.QPanGesture.delta?4() -> QPointF +QtWidgets.QPanGesture.acceleration?4() -> float +QtWidgets.QPanGesture.setLastOffset?4(QPointF) +QtWidgets.QPanGesture.setOffset?4(QPointF) +QtWidgets.QPanGesture.setAcceleration?4(float) +QtWidgets.QPinchGesture.ChangeFlag?10 +QtWidgets.QPinchGesture.ChangeFlag.ScaleFactorChanged?10 +QtWidgets.QPinchGesture.ChangeFlag.RotationAngleChanged?10 +QtWidgets.QPinchGesture.ChangeFlag.CenterPointChanged?10 +QtWidgets.QPinchGesture?1(QObject parent=None) +QtWidgets.QPinchGesture.__init__?1(self, QObject parent=None) +QtWidgets.QPinchGesture.totalChangeFlags?4() -> QPinchGesture.ChangeFlags +QtWidgets.QPinchGesture.setTotalChangeFlags?4(QPinchGesture.ChangeFlags) +QtWidgets.QPinchGesture.changeFlags?4() -> QPinchGesture.ChangeFlags +QtWidgets.QPinchGesture.setChangeFlags?4(QPinchGesture.ChangeFlags) +QtWidgets.QPinchGesture.startCenterPoint?4() -> QPointF +QtWidgets.QPinchGesture.lastCenterPoint?4() -> QPointF +QtWidgets.QPinchGesture.centerPoint?4() -> QPointF +QtWidgets.QPinchGesture.setStartCenterPoint?4(QPointF) +QtWidgets.QPinchGesture.setLastCenterPoint?4(QPointF) +QtWidgets.QPinchGesture.setCenterPoint?4(QPointF) +QtWidgets.QPinchGesture.totalScaleFactor?4() -> float +QtWidgets.QPinchGesture.lastScaleFactor?4() -> float +QtWidgets.QPinchGesture.scaleFactor?4() -> float +QtWidgets.QPinchGesture.setTotalScaleFactor?4(float) +QtWidgets.QPinchGesture.setLastScaleFactor?4(float) +QtWidgets.QPinchGesture.setScaleFactor?4(float) +QtWidgets.QPinchGesture.totalRotationAngle?4() -> float +QtWidgets.QPinchGesture.lastRotationAngle?4() -> float +QtWidgets.QPinchGesture.rotationAngle?4() -> float +QtWidgets.QPinchGesture.setTotalRotationAngle?4(float) +QtWidgets.QPinchGesture.setLastRotationAngle?4(float) +QtWidgets.QPinchGesture.setRotationAngle?4(float) +QtWidgets.QPinchGesture.ChangeFlags?1() +QtWidgets.QPinchGesture.ChangeFlags.__init__?1(self) +QtWidgets.QPinchGesture.ChangeFlags?1(int) +QtWidgets.QPinchGesture.ChangeFlags.__init__?1(self, int) +QtWidgets.QPinchGesture.ChangeFlags?1(QPinchGesture.ChangeFlags) +QtWidgets.QPinchGesture.ChangeFlags.__init__?1(self, QPinchGesture.ChangeFlags) +QtWidgets.QSwipeGesture.SwipeDirection?10 +QtWidgets.QSwipeGesture.SwipeDirection.NoDirection?10 +QtWidgets.QSwipeGesture.SwipeDirection.Left?10 +QtWidgets.QSwipeGesture.SwipeDirection.Right?10 +QtWidgets.QSwipeGesture.SwipeDirection.Up?10 +QtWidgets.QSwipeGesture.SwipeDirection.Down?10 +QtWidgets.QSwipeGesture?1(QObject parent=None) +QtWidgets.QSwipeGesture.__init__?1(self, QObject parent=None) +QtWidgets.QSwipeGesture.horizontalDirection?4() -> QSwipeGesture.SwipeDirection +QtWidgets.QSwipeGesture.verticalDirection?4() -> QSwipeGesture.SwipeDirection +QtWidgets.QSwipeGesture.swipeAngle?4() -> float +QtWidgets.QSwipeGesture.setSwipeAngle?4(float) +QtWidgets.QTapGesture?1(QObject parent=None) +QtWidgets.QTapGesture.__init__?1(self, QObject parent=None) +QtWidgets.QTapGesture.position?4() -> QPointF +QtWidgets.QTapGesture.setPosition?4(QPointF) +QtWidgets.QTapAndHoldGesture?1(QObject parent=None) +QtWidgets.QTapAndHoldGesture.__init__?1(self, QObject parent=None) +QtWidgets.QTapAndHoldGesture.position?4() -> QPointF +QtWidgets.QTapAndHoldGesture.setPosition?4(QPointF) +QtWidgets.QTapAndHoldGesture.setTimeout?4(int) +QtWidgets.QTapAndHoldGesture.timeout?4() -> int +QtWidgets.QGestureEvent?1(unknown-type) +QtWidgets.QGestureEvent.__init__?1(self, unknown-type) +QtWidgets.QGestureEvent?1(QGestureEvent) +QtWidgets.QGestureEvent.__init__?1(self, QGestureEvent) +QtWidgets.QGestureEvent.gestures?4() -> unknown-type +QtWidgets.QGestureEvent.gesture?4(Qt.GestureType) -> QGesture +QtWidgets.QGestureEvent.activeGestures?4() -> unknown-type +QtWidgets.QGestureEvent.canceledGestures?4() -> unknown-type +QtWidgets.QGestureEvent.setAccepted?4(bool) +QtWidgets.QGestureEvent.isAccepted?4() -> bool +QtWidgets.QGestureEvent.accept?4() +QtWidgets.QGestureEvent.ignore?4() +QtWidgets.QGestureEvent.setAccepted?4(QGesture, bool) +QtWidgets.QGestureEvent.accept?4(QGesture) +QtWidgets.QGestureEvent.ignore?4(QGesture) +QtWidgets.QGestureEvent.isAccepted?4(QGesture) -> bool +QtWidgets.QGestureEvent.setAccepted?4(Qt.GestureType, bool) +QtWidgets.QGestureEvent.accept?4(Qt.GestureType) +QtWidgets.QGestureEvent.ignore?4(Qt.GestureType) +QtWidgets.QGestureEvent.isAccepted?4(Qt.GestureType) -> bool +QtWidgets.QGestureEvent.widget?4() -> QWidget +QtWidgets.QGestureEvent.mapToGraphicsScene?4(QPointF) -> QPointF +QtWidgets.QGestureRecognizer.ResultFlag?10 +QtWidgets.QGestureRecognizer.ResultFlag.Ignore?10 +QtWidgets.QGestureRecognizer.ResultFlag.MayBeGesture?10 +QtWidgets.QGestureRecognizer.ResultFlag.TriggerGesture?10 +QtWidgets.QGestureRecognizer.ResultFlag.FinishGesture?10 +QtWidgets.QGestureRecognizer.ResultFlag.CancelGesture?10 +QtWidgets.QGestureRecognizer.ResultFlag.ConsumeEventHint?10 +QtWidgets.QGestureRecognizer?1() +QtWidgets.QGestureRecognizer.__init__?1(self) +QtWidgets.QGestureRecognizer?1(QGestureRecognizer) +QtWidgets.QGestureRecognizer.__init__?1(self, QGestureRecognizer) +QtWidgets.QGestureRecognizer.create?4(QObject) -> QGesture +QtWidgets.QGestureRecognizer.recognize?4(QGesture, QObject, QEvent) -> QGestureRecognizer.Result +QtWidgets.QGestureRecognizer.reset?4(QGesture) +QtWidgets.QGestureRecognizer.registerRecognizer?4(QGestureRecognizer) -> Qt.GestureType +QtWidgets.QGestureRecognizer.unregisterRecognizer?4(Qt.GestureType) +QtWidgets.QGestureRecognizer.Result?1() +QtWidgets.QGestureRecognizer.Result.__init__?1(self) +QtWidgets.QGestureRecognizer.Result?1(int) +QtWidgets.QGestureRecognizer.Result.__init__?1(self, int) +QtWidgets.QGestureRecognizer.Result?1(QGestureRecognizer.Result) +QtWidgets.QGestureRecognizer.Result.__init__?1(self, QGestureRecognizer.Result) +QtWidgets.QGraphicsAnchor.setSpacing?4(float) +QtWidgets.QGraphicsAnchor.unsetSpacing?4() +QtWidgets.QGraphicsAnchor.spacing?4() -> float +QtWidgets.QGraphicsAnchor.setSizePolicy?4(QSizePolicy.Policy) +QtWidgets.QGraphicsAnchor.sizePolicy?4() -> QSizePolicy.Policy +QtWidgets.QGraphicsLayoutItem?1(QGraphicsLayoutItem parent=None, bool isLayout=False) +QtWidgets.QGraphicsLayoutItem.__init__?1(self, QGraphicsLayoutItem parent=None, bool isLayout=False) +QtWidgets.QGraphicsLayoutItem.setSizePolicy?4(QSizePolicy) +QtWidgets.QGraphicsLayoutItem.setSizePolicy?4(QSizePolicy.Policy, QSizePolicy.Policy, QSizePolicy.ControlType controlType=QSizePolicy.DefaultType) +QtWidgets.QGraphicsLayoutItem.sizePolicy?4() -> QSizePolicy +QtWidgets.QGraphicsLayoutItem.setMinimumSize?4(QSizeF) +QtWidgets.QGraphicsLayoutItem.minimumSize?4() -> QSizeF +QtWidgets.QGraphicsLayoutItem.setMinimumWidth?4(float) +QtWidgets.QGraphicsLayoutItem.setMinimumHeight?4(float) +QtWidgets.QGraphicsLayoutItem.setPreferredSize?4(QSizeF) +QtWidgets.QGraphicsLayoutItem.preferredSize?4() -> QSizeF +QtWidgets.QGraphicsLayoutItem.setPreferredWidth?4(float) +QtWidgets.QGraphicsLayoutItem.setPreferredHeight?4(float) +QtWidgets.QGraphicsLayoutItem.setMaximumSize?4(QSizeF) +QtWidgets.QGraphicsLayoutItem.maximumSize?4() -> QSizeF +QtWidgets.QGraphicsLayoutItem.setMaximumWidth?4(float) +QtWidgets.QGraphicsLayoutItem.setMaximumHeight?4(float) +QtWidgets.QGraphicsLayoutItem.setGeometry?4(QRectF) +QtWidgets.QGraphicsLayoutItem.geometry?4() -> QRectF +QtWidgets.QGraphicsLayoutItem.getContentsMargins?4() -> (float, float, float, float) +QtWidgets.QGraphicsLayoutItem.contentsRect?4() -> QRectF +QtWidgets.QGraphicsLayoutItem.effectiveSizeHint?4(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF +QtWidgets.QGraphicsLayoutItem.updateGeometry?4() +QtWidgets.QGraphicsLayoutItem.parentLayoutItem?4() -> QGraphicsLayoutItem +QtWidgets.QGraphicsLayoutItem.setParentLayoutItem?4(QGraphicsLayoutItem) +QtWidgets.QGraphicsLayoutItem.isLayout?4() -> bool +QtWidgets.QGraphicsLayoutItem.setMinimumSize?4(float, float) +QtWidgets.QGraphicsLayoutItem.setPreferredSize?4(float, float) +QtWidgets.QGraphicsLayoutItem.setMaximumSize?4(float, float) +QtWidgets.QGraphicsLayoutItem.minimumWidth?4() -> float +QtWidgets.QGraphicsLayoutItem.minimumHeight?4() -> float +QtWidgets.QGraphicsLayoutItem.preferredWidth?4() -> float +QtWidgets.QGraphicsLayoutItem.preferredHeight?4() -> float +QtWidgets.QGraphicsLayoutItem.maximumWidth?4() -> float +QtWidgets.QGraphicsLayoutItem.maximumHeight?4() -> float +QtWidgets.QGraphicsLayoutItem.graphicsItem?4() -> QGraphicsItem +QtWidgets.QGraphicsLayoutItem.ownedByLayout?4() -> bool +QtWidgets.QGraphicsLayoutItem.sizeHint?4(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF +QtWidgets.QGraphicsLayoutItem.setGraphicsItem?4(QGraphicsItem) +QtWidgets.QGraphicsLayoutItem.setOwnedByLayout?4(bool) +QtWidgets.QGraphicsLayout?1(QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsLayout.__init__?1(self, QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsLayout.setContentsMargins?4(float, float, float, float) +QtWidgets.QGraphicsLayout.getContentsMargins?4() -> (float, float, float, float) +QtWidgets.QGraphicsLayout.activate?4() +QtWidgets.QGraphicsLayout.isActivated?4() -> bool +QtWidgets.QGraphicsLayout.invalidate?4() +QtWidgets.QGraphicsLayout.widgetEvent?4(QEvent) +QtWidgets.QGraphicsLayout.count?4() -> int +QtWidgets.QGraphicsLayout.itemAt?4(int) -> QGraphicsLayoutItem +QtWidgets.QGraphicsLayout.removeAt?4(int) +QtWidgets.QGraphicsLayout.updateGeometry?4() +QtWidgets.QGraphicsLayout.addChildLayoutItem?4(QGraphicsLayoutItem) +QtWidgets.QGraphicsAnchorLayout?1(QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsAnchorLayout.__init__?1(self, QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsAnchorLayout.addAnchor?4(QGraphicsLayoutItem, Qt.AnchorPoint, QGraphicsLayoutItem, Qt.AnchorPoint) -> QGraphicsAnchor +QtWidgets.QGraphicsAnchorLayout.anchor?4(QGraphicsLayoutItem, Qt.AnchorPoint, QGraphicsLayoutItem, Qt.AnchorPoint) -> QGraphicsAnchor +QtWidgets.QGraphicsAnchorLayout.addCornerAnchors?4(QGraphicsLayoutItem, Qt.Corner, QGraphicsLayoutItem, Qt.Corner) +QtWidgets.QGraphicsAnchorLayout.addAnchors?4(QGraphicsLayoutItem, QGraphicsLayoutItem, Qt.Orientations orientations=Qt.Horizontal|Qt.Vertical) +QtWidgets.QGraphicsAnchorLayout.setHorizontalSpacing?4(float) +QtWidgets.QGraphicsAnchorLayout.setVerticalSpacing?4(float) +QtWidgets.QGraphicsAnchorLayout.setSpacing?4(float) +QtWidgets.QGraphicsAnchorLayout.horizontalSpacing?4() -> float +QtWidgets.QGraphicsAnchorLayout.verticalSpacing?4() -> float +QtWidgets.QGraphicsAnchorLayout.removeAt?4(int) +QtWidgets.QGraphicsAnchorLayout.setGeometry?4(QRectF) +QtWidgets.QGraphicsAnchorLayout.count?4() -> int +QtWidgets.QGraphicsAnchorLayout.itemAt?4(int) -> QGraphicsLayoutItem +QtWidgets.QGraphicsAnchorLayout.invalidate?4() +QtWidgets.QGraphicsAnchorLayout.sizeHint?4(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF +QtWidgets.QGraphicsEffect.PixmapPadMode?10 +QtWidgets.QGraphicsEffect.PixmapPadMode.NoPad?10 +QtWidgets.QGraphicsEffect.PixmapPadMode.PadToTransparentBorder?10 +QtWidgets.QGraphicsEffect.PixmapPadMode.PadToEffectiveBoundingRect?10 +QtWidgets.QGraphicsEffect.ChangeFlag?10 +QtWidgets.QGraphicsEffect.ChangeFlag.SourceAttached?10 +QtWidgets.QGraphicsEffect.ChangeFlag.SourceDetached?10 +QtWidgets.QGraphicsEffect.ChangeFlag.SourceBoundingRectChanged?10 +QtWidgets.QGraphicsEffect.ChangeFlag.SourceInvalidated?10 +QtWidgets.QGraphicsEffect?1(QObject parent=None) +QtWidgets.QGraphicsEffect.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsEffect.boundingRectFor?4(QRectF) -> QRectF +QtWidgets.QGraphicsEffect.boundingRect?4() -> QRectF +QtWidgets.QGraphicsEffect.isEnabled?4() -> bool +QtWidgets.QGraphicsEffect.setEnabled?4(bool) +QtWidgets.QGraphicsEffect.update?4() +QtWidgets.QGraphicsEffect.enabledChanged?4(bool) +QtWidgets.QGraphicsEffect.draw?4(QPainter) +QtWidgets.QGraphicsEffect.sourceChanged?4(QGraphicsEffect.ChangeFlags) +QtWidgets.QGraphicsEffect.updateBoundingRect?4() +QtWidgets.QGraphicsEffect.sourceIsPixmap?4() -> bool +QtWidgets.QGraphicsEffect.sourceBoundingRect?4(Qt.CoordinateSystem system=Qt.LogicalCoordinates) -> QRectF +QtWidgets.QGraphicsEffect.drawSource?4(QPainter) +QtWidgets.QGraphicsEffect.sourcePixmap?4(Qt.CoordinateSystem system=Qt.LogicalCoordinates, QGraphicsEffect.PixmapPadMode mode=QGraphicsEffect.PadToEffectiveBoundingRect) -> (QPixmap, QPoint) +QtWidgets.QGraphicsEffect.ChangeFlags?1() +QtWidgets.QGraphicsEffect.ChangeFlags.__init__?1(self) +QtWidgets.QGraphicsEffect.ChangeFlags?1(int) +QtWidgets.QGraphicsEffect.ChangeFlags.__init__?1(self, int) +QtWidgets.QGraphicsEffect.ChangeFlags?1(QGraphicsEffect.ChangeFlags) +QtWidgets.QGraphicsEffect.ChangeFlags.__init__?1(self, QGraphicsEffect.ChangeFlags) +QtWidgets.QGraphicsColorizeEffect?1(QObject parent=None) +QtWidgets.QGraphicsColorizeEffect.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsColorizeEffect.color?4() -> QColor +QtWidgets.QGraphicsColorizeEffect.strength?4() -> float +QtWidgets.QGraphicsColorizeEffect.setColor?4(QColor) +QtWidgets.QGraphicsColorizeEffect.setStrength?4(float) +QtWidgets.QGraphicsColorizeEffect.colorChanged?4(QColor) +QtWidgets.QGraphicsColorizeEffect.strengthChanged?4(float) +QtWidgets.QGraphicsColorizeEffect.draw?4(QPainter) +QtWidgets.QGraphicsBlurEffect.BlurHint?10 +QtWidgets.QGraphicsBlurEffect.BlurHint.PerformanceHint?10 +QtWidgets.QGraphicsBlurEffect.BlurHint.QualityHint?10 +QtWidgets.QGraphicsBlurEffect.BlurHint.AnimationHint?10 +QtWidgets.QGraphicsBlurEffect?1(QObject parent=None) +QtWidgets.QGraphicsBlurEffect.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsBlurEffect.boundingRectFor?4(QRectF) -> QRectF +QtWidgets.QGraphicsBlurEffect.blurRadius?4() -> float +QtWidgets.QGraphicsBlurEffect.blurHints?4() -> QGraphicsBlurEffect.BlurHints +QtWidgets.QGraphicsBlurEffect.setBlurRadius?4(float) +QtWidgets.QGraphicsBlurEffect.setBlurHints?4(QGraphicsBlurEffect.BlurHints) +QtWidgets.QGraphicsBlurEffect.blurRadiusChanged?4(float) +QtWidgets.QGraphicsBlurEffect.blurHintsChanged?4(QGraphicsBlurEffect.BlurHints) +QtWidgets.QGraphicsBlurEffect.draw?4(QPainter) +QtWidgets.QGraphicsBlurEffect.BlurHints?1() +QtWidgets.QGraphicsBlurEffect.BlurHints.__init__?1(self) +QtWidgets.QGraphicsBlurEffect.BlurHints?1(int) +QtWidgets.QGraphicsBlurEffect.BlurHints.__init__?1(self, int) +QtWidgets.QGraphicsBlurEffect.BlurHints?1(QGraphicsBlurEffect.BlurHints) +QtWidgets.QGraphicsBlurEffect.BlurHints.__init__?1(self, QGraphicsBlurEffect.BlurHints) +QtWidgets.QGraphicsDropShadowEffect?1(QObject parent=None) +QtWidgets.QGraphicsDropShadowEffect.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsDropShadowEffect.boundingRectFor?4(QRectF) -> QRectF +QtWidgets.QGraphicsDropShadowEffect.offset?4() -> QPointF +QtWidgets.QGraphicsDropShadowEffect.xOffset?4() -> float +QtWidgets.QGraphicsDropShadowEffect.yOffset?4() -> float +QtWidgets.QGraphicsDropShadowEffect.blurRadius?4() -> float +QtWidgets.QGraphicsDropShadowEffect.color?4() -> QColor +QtWidgets.QGraphicsDropShadowEffect.setOffset?4(QPointF) +QtWidgets.QGraphicsDropShadowEffect.setOffset?4(float, float) +QtWidgets.QGraphicsDropShadowEffect.setOffset?4(float) +QtWidgets.QGraphicsDropShadowEffect.setXOffset?4(float) +QtWidgets.QGraphicsDropShadowEffect.setYOffset?4(float) +QtWidgets.QGraphicsDropShadowEffect.setBlurRadius?4(float) +QtWidgets.QGraphicsDropShadowEffect.setColor?4(QColor) +QtWidgets.QGraphicsDropShadowEffect.offsetChanged?4(QPointF) +QtWidgets.QGraphicsDropShadowEffect.blurRadiusChanged?4(float) +QtWidgets.QGraphicsDropShadowEffect.colorChanged?4(QColor) +QtWidgets.QGraphicsDropShadowEffect.draw?4(QPainter) +QtWidgets.QGraphicsOpacityEffect?1(QObject parent=None) +QtWidgets.QGraphicsOpacityEffect.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsOpacityEffect.opacity?4() -> float +QtWidgets.QGraphicsOpacityEffect.opacityMask?4() -> QBrush +QtWidgets.QGraphicsOpacityEffect.setOpacity?4(float) +QtWidgets.QGraphicsOpacityEffect.setOpacityMask?4(QBrush) +QtWidgets.QGraphicsOpacityEffect.opacityChanged?4(float) +QtWidgets.QGraphicsOpacityEffect.opacityMaskChanged?4(QBrush) +QtWidgets.QGraphicsOpacityEffect.draw?4(QPainter) +QtWidgets.QGraphicsGridLayout?1(QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsGridLayout.__init__?1(self, QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsGridLayout.addItem?4(QGraphicsLayoutItem, int, int, int, int, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QGraphicsGridLayout.addItem?4(QGraphicsLayoutItem, int, int, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QGraphicsGridLayout.setHorizontalSpacing?4(float) +QtWidgets.QGraphicsGridLayout.horizontalSpacing?4() -> float +QtWidgets.QGraphicsGridLayout.setVerticalSpacing?4(float) +QtWidgets.QGraphicsGridLayout.verticalSpacing?4() -> float +QtWidgets.QGraphicsGridLayout.setSpacing?4(float) +QtWidgets.QGraphicsGridLayout.setRowSpacing?4(int, float) +QtWidgets.QGraphicsGridLayout.rowSpacing?4(int) -> float +QtWidgets.QGraphicsGridLayout.setColumnSpacing?4(int, float) +QtWidgets.QGraphicsGridLayout.columnSpacing?4(int) -> float +QtWidgets.QGraphicsGridLayout.setRowStretchFactor?4(int, int) +QtWidgets.QGraphicsGridLayout.rowStretchFactor?4(int) -> int +QtWidgets.QGraphicsGridLayout.setColumnStretchFactor?4(int, int) +QtWidgets.QGraphicsGridLayout.columnStretchFactor?4(int) -> int +QtWidgets.QGraphicsGridLayout.setRowMinimumHeight?4(int, float) +QtWidgets.QGraphicsGridLayout.rowMinimumHeight?4(int) -> float +QtWidgets.QGraphicsGridLayout.setRowPreferredHeight?4(int, float) +QtWidgets.QGraphicsGridLayout.rowPreferredHeight?4(int) -> float +QtWidgets.QGraphicsGridLayout.setRowMaximumHeight?4(int, float) +QtWidgets.QGraphicsGridLayout.rowMaximumHeight?4(int) -> float +QtWidgets.QGraphicsGridLayout.setRowFixedHeight?4(int, float) +QtWidgets.QGraphicsGridLayout.setColumnMinimumWidth?4(int, float) +QtWidgets.QGraphicsGridLayout.columnMinimumWidth?4(int) -> float +QtWidgets.QGraphicsGridLayout.setColumnPreferredWidth?4(int, float) +QtWidgets.QGraphicsGridLayout.columnPreferredWidth?4(int) -> float +QtWidgets.QGraphicsGridLayout.setColumnMaximumWidth?4(int, float) +QtWidgets.QGraphicsGridLayout.columnMaximumWidth?4(int) -> float +QtWidgets.QGraphicsGridLayout.setColumnFixedWidth?4(int, float) +QtWidgets.QGraphicsGridLayout.setRowAlignment?4(int, Qt.Alignment) +QtWidgets.QGraphicsGridLayout.rowAlignment?4(int) -> Qt.Alignment +QtWidgets.QGraphicsGridLayout.setColumnAlignment?4(int, Qt.Alignment) +QtWidgets.QGraphicsGridLayout.columnAlignment?4(int) -> Qt.Alignment +QtWidgets.QGraphicsGridLayout.setAlignment?4(QGraphicsLayoutItem, Qt.Alignment) +QtWidgets.QGraphicsGridLayout.alignment?4(QGraphicsLayoutItem) -> Qt.Alignment +QtWidgets.QGraphicsGridLayout.rowCount?4() -> int +QtWidgets.QGraphicsGridLayout.columnCount?4() -> int +QtWidgets.QGraphicsGridLayout.itemAt?4(int, int) -> QGraphicsLayoutItem +QtWidgets.QGraphicsGridLayout.count?4() -> int +QtWidgets.QGraphicsGridLayout.itemAt?4(int) -> QGraphicsLayoutItem +QtWidgets.QGraphicsGridLayout.removeAt?4(int) +QtWidgets.QGraphicsGridLayout.invalidate?4() +QtWidgets.QGraphicsGridLayout.setGeometry?4(QRectF) +QtWidgets.QGraphicsGridLayout.sizeHint?4(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF +QtWidgets.QGraphicsGridLayout.removeItem?4(QGraphicsLayoutItem) +QtWidgets.QGraphicsItem.PanelModality?10 +QtWidgets.QGraphicsItem.PanelModality.NonModal?10 +QtWidgets.QGraphicsItem.PanelModality.PanelModal?10 +QtWidgets.QGraphicsItem.PanelModality.SceneModal?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsMovable?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsSelectable?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsFocusable?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemClipsToShape?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemClipsChildrenToShape?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIgnoresTransformations?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIgnoresParentOpacity?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemDoesntPropagateOpacityToChildren?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStacksBehindParent?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemUsesExtendedStyleOption?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemHasNoContents?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemSendsGeometryChanges?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemAcceptsInputMethod?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemNegativeZStacksBehindParent?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsPanel?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemSendsScenePositionChanges?10 +QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemContainsChildrenInShape?10 +QtWidgets.QGraphicsItem.GraphicsItemChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemPositionChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemMatrixChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemVisibleChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemEnabledChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSelectedChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemParentChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemChildAddedChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemChildRemovedChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemPositionHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSceneChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemVisibleHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemEnabledHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSelectedHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemParentHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSceneHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemCursorChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemCursorHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemToolTipChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemToolTipHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemFlagsChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemFlagsHaveChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemZValueChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemZValueHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemOpacityChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemOpacityHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScenePositionHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemRotationChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemRotationHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScaleChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScaleHasChanged?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformOriginPointChange?10 +QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformOriginPointHasChanged?10 +QtWidgets.QGraphicsItem.CacheMode?10 +QtWidgets.QGraphicsItem.CacheMode.NoCache?10 +QtWidgets.QGraphicsItem.CacheMode.ItemCoordinateCache?10 +QtWidgets.QGraphicsItem.CacheMode.DeviceCoordinateCache?10 +QtWidgets.QGraphicsItem.Type?7 +QtWidgets.QGraphicsItem.UserType?7 +QtWidgets.QGraphicsItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsItem.scene?4() -> QGraphicsScene +QtWidgets.QGraphicsItem.parentItem?4() -> QGraphicsItem +QtWidgets.QGraphicsItem.topLevelItem?4() -> QGraphicsItem +QtWidgets.QGraphicsItem.setParentItem?4(QGraphicsItem) +QtWidgets.QGraphicsItem.group?4() -> QGraphicsItemGroup +QtWidgets.QGraphicsItem.setGroup?4(QGraphicsItemGroup) +QtWidgets.QGraphicsItem.flags?4() -> QGraphicsItem.GraphicsItemFlags +QtWidgets.QGraphicsItem.setFlag?4(QGraphicsItem.GraphicsItemFlag, bool enabled=True) +QtWidgets.QGraphicsItem.setFlags?4(QGraphicsItem.GraphicsItemFlags) +QtWidgets.QGraphicsItem.toolTip?4() -> QString +QtWidgets.QGraphicsItem.setToolTip?4(QString) +QtWidgets.QGraphicsItem.cursor?4() -> QCursor +QtWidgets.QGraphicsItem.setCursor?4(QCursor) +QtWidgets.QGraphicsItem.hasCursor?4() -> bool +QtWidgets.QGraphicsItem.unsetCursor?4() +QtWidgets.QGraphicsItem.isVisible?4() -> bool +QtWidgets.QGraphicsItem.setVisible?4(bool) +QtWidgets.QGraphicsItem.hide?4() +QtWidgets.QGraphicsItem.show?4() +QtWidgets.QGraphicsItem.isEnabled?4() -> bool +QtWidgets.QGraphicsItem.setEnabled?4(bool) +QtWidgets.QGraphicsItem.isSelected?4() -> bool +QtWidgets.QGraphicsItem.setSelected?4(bool) +QtWidgets.QGraphicsItem.acceptDrops?4() -> bool +QtWidgets.QGraphicsItem.setAcceptDrops?4(bool) +QtWidgets.QGraphicsItem.acceptedMouseButtons?4() -> Qt.MouseButtons +QtWidgets.QGraphicsItem.setAcceptedMouseButtons?4(Qt.MouseButtons) +QtWidgets.QGraphicsItem.hasFocus?4() -> bool +QtWidgets.QGraphicsItem.setFocus?4(Qt.FocusReason focusReason=Qt.OtherFocusReason) +QtWidgets.QGraphicsItem.clearFocus?4() +QtWidgets.QGraphicsItem.pos?4() -> QPointF +QtWidgets.QGraphicsItem.x?4() -> float +QtWidgets.QGraphicsItem.y?4() -> float +QtWidgets.QGraphicsItem.scenePos?4() -> QPointF +QtWidgets.QGraphicsItem.setPos?4(QPointF) +QtWidgets.QGraphicsItem.moveBy?4(float, float) +QtWidgets.QGraphicsItem.ensureVisible?4(QRectF rect=QRectF(), int xMargin=50, int yMargin=50) +QtWidgets.QGraphicsItem.advance?4(int) +QtWidgets.QGraphicsItem.zValue?4() -> float +QtWidgets.QGraphicsItem.setZValue?4(float) +QtWidgets.QGraphicsItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsItem.childrenBoundingRect?4() -> QRectF +QtWidgets.QGraphicsItem.sceneBoundingRect?4() -> QRectF +QtWidgets.QGraphicsItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsItem.collidesWithItem?4(QGraphicsItem, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> bool +QtWidgets.QGraphicsItem.collidesWithPath?4(QPainterPath, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> bool +QtWidgets.QGraphicsItem.collidingItems?4(Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> unknown-type +QtWidgets.QGraphicsItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsItem.update?4(QRectF rect=QRectF()) +QtWidgets.QGraphicsItem.mapToItem?4(QGraphicsItem, QPointF) -> QPointF +QtWidgets.QGraphicsItem.mapToParent?4(QPointF) -> QPointF +QtWidgets.QGraphicsItem.mapToScene?4(QPointF) -> QPointF +QtWidgets.QGraphicsItem.mapToItem?4(QGraphicsItem, QRectF) -> QPolygonF +QtWidgets.QGraphicsItem.mapToParent?4(QRectF) -> QPolygonF +QtWidgets.QGraphicsItem.mapToScene?4(QRectF) -> QPolygonF +QtWidgets.QGraphicsItem.mapToItem?4(QGraphicsItem, QPolygonF) -> QPolygonF +QtWidgets.QGraphicsItem.mapToParent?4(QPolygonF) -> QPolygonF +QtWidgets.QGraphicsItem.mapToScene?4(QPolygonF) -> QPolygonF +QtWidgets.QGraphicsItem.mapToItem?4(QGraphicsItem, QPainterPath) -> QPainterPath +QtWidgets.QGraphicsItem.mapToParent?4(QPainterPath) -> QPainterPath +QtWidgets.QGraphicsItem.mapToScene?4(QPainterPath) -> QPainterPath +QtWidgets.QGraphicsItem.mapFromItem?4(QGraphicsItem, QPointF) -> QPointF +QtWidgets.QGraphicsItem.mapFromParent?4(QPointF) -> QPointF +QtWidgets.QGraphicsItem.mapFromScene?4(QPointF) -> QPointF +QtWidgets.QGraphicsItem.mapFromItem?4(QGraphicsItem, QRectF) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromParent?4(QRectF) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromScene?4(QRectF) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromItem?4(QGraphicsItem, QPolygonF) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromParent?4(QPolygonF) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromScene?4(QPolygonF) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromItem?4(QGraphicsItem, QPainterPath) -> QPainterPath +QtWidgets.QGraphicsItem.mapFromParent?4(QPainterPath) -> QPainterPath +QtWidgets.QGraphicsItem.mapFromScene?4(QPainterPath) -> QPainterPath +QtWidgets.QGraphicsItem.isAncestorOf?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsItem.data?4(int) -> QVariant +QtWidgets.QGraphicsItem.setData?4(int, QVariant) +QtWidgets.QGraphicsItem.type?4() -> int +QtWidgets.QGraphicsItem.installSceneEventFilter?4(QGraphicsItem) +QtWidgets.QGraphicsItem.removeSceneEventFilter?4(QGraphicsItem) +QtWidgets.QGraphicsItem.contextMenuEvent?4(QGraphicsSceneContextMenuEvent) +QtWidgets.QGraphicsItem.dragEnterEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsItem.dragLeaveEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsItem.dragMoveEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsItem.dropEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsItem.focusInEvent?4(QFocusEvent) +QtWidgets.QGraphicsItem.focusOutEvent?4(QFocusEvent) +QtWidgets.QGraphicsItem.hoverEnterEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsItem.hoverLeaveEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsItem.hoverMoveEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsItem.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QGraphicsItem.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QGraphicsItem.itemChange?4(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant +QtWidgets.QGraphicsItem.keyPressEvent?4(QKeyEvent) +QtWidgets.QGraphicsItem.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QGraphicsItem.mouseDoubleClickEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsItem.mouseMoveEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsItem.mousePressEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsItem.mouseReleaseEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsItem.prepareGeometryChange?4() +QtWidgets.QGraphicsItem.sceneEvent?4(QEvent) -> bool +QtWidgets.QGraphicsItem.sceneEventFilter?4(QGraphicsItem, QEvent) -> bool +QtWidgets.QGraphicsItem.wheelEvent?4(QGraphicsSceneWheelEvent) +QtWidgets.QGraphicsItem.setPos?4(float, float) +QtWidgets.QGraphicsItem.ensureVisible?4(float, float, float, float, int xMargin=50, int yMargin=50) +QtWidgets.QGraphicsItem.update?4(float, float, float, float) +QtWidgets.QGraphicsItem.mapToItem?4(QGraphicsItem, float, float) -> QPointF +QtWidgets.QGraphicsItem.mapToParent?4(float, float) -> QPointF +QtWidgets.QGraphicsItem.mapToScene?4(float, float) -> QPointF +QtWidgets.QGraphicsItem.mapFromItem?4(QGraphicsItem, float, float) -> QPointF +QtWidgets.QGraphicsItem.mapFromParent?4(float, float) -> QPointF +QtWidgets.QGraphicsItem.mapFromScene?4(float, float) -> QPointF +QtWidgets.QGraphicsItem.transform?4() -> QTransform +QtWidgets.QGraphicsItem.sceneTransform?4() -> QTransform +QtWidgets.QGraphicsItem.deviceTransform?4(QTransform) -> QTransform +QtWidgets.QGraphicsItem.setTransform?4(QTransform, bool combine=False) +QtWidgets.QGraphicsItem.resetTransform?4() +QtWidgets.QGraphicsItem.isObscured?4(QRectF rect=QRectF()) -> bool +QtWidgets.QGraphicsItem.isObscured?4(float, float, float, float) -> bool +QtWidgets.QGraphicsItem.mapToItem?4(QGraphicsItem, float, float, float, float) -> QPolygonF +QtWidgets.QGraphicsItem.mapToParent?4(float, float, float, float) -> QPolygonF +QtWidgets.QGraphicsItem.mapToScene?4(float, float, float, float) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromItem?4(QGraphicsItem, float, float, float, float) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromParent?4(float, float, float, float) -> QPolygonF +QtWidgets.QGraphicsItem.mapFromScene?4(float, float, float, float) -> QPolygonF +QtWidgets.QGraphicsItem.parentWidget?4() -> QGraphicsWidget +QtWidgets.QGraphicsItem.topLevelWidget?4() -> QGraphicsWidget +QtWidgets.QGraphicsItem.window?4() -> QGraphicsWidget +QtWidgets.QGraphicsItem.childItems?4() -> unknown-type +QtWidgets.QGraphicsItem.isWidget?4() -> bool +QtWidgets.QGraphicsItem.isWindow?4() -> bool +QtWidgets.QGraphicsItem.cacheMode?4() -> QGraphicsItem.CacheMode +QtWidgets.QGraphicsItem.setCacheMode?4(QGraphicsItem.CacheMode, QSize logicalCacheSize=QSize()) +QtWidgets.QGraphicsItem.isVisibleTo?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsItem.acceptHoverEvents?4() -> bool +QtWidgets.QGraphicsItem.setAcceptHoverEvents?4(bool) +QtWidgets.QGraphicsItem.grabMouse?4() +QtWidgets.QGraphicsItem.ungrabMouse?4() +QtWidgets.QGraphicsItem.grabKeyboard?4() +QtWidgets.QGraphicsItem.ungrabKeyboard?4() +QtWidgets.QGraphicsItem.boundingRegion?4(QTransform) -> QRegion +QtWidgets.QGraphicsItem.boundingRegionGranularity?4() -> float +QtWidgets.QGraphicsItem.setBoundingRegionGranularity?4(float) +QtWidgets.QGraphicsItem.scroll?4(float, float, QRectF rect=QRectF()) +QtWidgets.QGraphicsItem.commonAncestorItem?4(QGraphicsItem) -> QGraphicsItem +QtWidgets.QGraphicsItem.isUnderMouse?4() -> bool +QtWidgets.QGraphicsItem.opacity?4() -> float +QtWidgets.QGraphicsItem.effectiveOpacity?4() -> float +QtWidgets.QGraphicsItem.setOpacity?4(float) +QtWidgets.QGraphicsItem.itemTransform?4(QGraphicsItem) -> (QTransform, bool) +QtWidgets.QGraphicsItem.isClipped?4() -> bool +QtWidgets.QGraphicsItem.clipPath?4() -> QPainterPath +QtWidgets.QGraphicsItem.mapRectToItem?4(QGraphicsItem, QRectF) -> QRectF +QtWidgets.QGraphicsItem.mapRectToParent?4(QRectF) -> QRectF +QtWidgets.QGraphicsItem.mapRectToScene?4(QRectF) -> QRectF +QtWidgets.QGraphicsItem.mapRectFromItem?4(QGraphicsItem, QRectF) -> QRectF +QtWidgets.QGraphicsItem.mapRectFromParent?4(QRectF) -> QRectF +QtWidgets.QGraphicsItem.mapRectFromScene?4(QRectF) -> QRectF +QtWidgets.QGraphicsItem.mapRectToItem?4(QGraphicsItem, float, float, float, float) -> QRectF +QtWidgets.QGraphicsItem.mapRectToParent?4(float, float, float, float) -> QRectF +QtWidgets.QGraphicsItem.mapRectToScene?4(float, float, float, float) -> QRectF +QtWidgets.QGraphicsItem.mapRectFromItem?4(QGraphicsItem, float, float, float, float) -> QRectF +QtWidgets.QGraphicsItem.mapRectFromParent?4(float, float, float, float) -> QRectF +QtWidgets.QGraphicsItem.mapRectFromScene?4(float, float, float, float) -> QRectF +QtWidgets.QGraphicsItem.parentObject?4() -> QGraphicsObject +QtWidgets.QGraphicsItem.panel?4() -> QGraphicsItem +QtWidgets.QGraphicsItem.isPanel?4() -> bool +QtWidgets.QGraphicsItem.toGraphicsObject?4() -> QGraphicsObject +QtWidgets.QGraphicsItem.panelModality?4() -> QGraphicsItem.PanelModality +QtWidgets.QGraphicsItem.setPanelModality?4(QGraphicsItem.PanelModality) +QtWidgets.QGraphicsItem.isBlockedByModalPanel?4() -> (bool, QGraphicsItem) +QtWidgets.QGraphicsItem.graphicsEffect?4() -> QGraphicsEffect +QtWidgets.QGraphicsItem.setGraphicsEffect?4(QGraphicsEffect) +QtWidgets.QGraphicsItem.acceptTouchEvents?4() -> bool +QtWidgets.QGraphicsItem.setAcceptTouchEvents?4(bool) +QtWidgets.QGraphicsItem.filtersChildEvents?4() -> bool +QtWidgets.QGraphicsItem.setFiltersChildEvents?4(bool) +QtWidgets.QGraphicsItem.isActive?4() -> bool +QtWidgets.QGraphicsItem.setActive?4(bool) +QtWidgets.QGraphicsItem.focusProxy?4() -> QGraphicsItem +QtWidgets.QGraphicsItem.setFocusProxy?4(QGraphicsItem) +QtWidgets.QGraphicsItem.focusItem?4() -> QGraphicsItem +QtWidgets.QGraphicsItem.setX?4(float) +QtWidgets.QGraphicsItem.setY?4(float) +QtWidgets.QGraphicsItem.setRotation?4(float) +QtWidgets.QGraphicsItem.rotation?4() -> float +QtWidgets.QGraphicsItem.setScale?4(float) +QtWidgets.QGraphicsItem.scale?4() -> float +QtWidgets.QGraphicsItem.transformations?4() -> unknown-type +QtWidgets.QGraphicsItem.setTransformations?4(unknown-type) +QtWidgets.QGraphicsItem.transformOriginPoint?4() -> QPointF +QtWidgets.QGraphicsItem.setTransformOriginPoint?4(QPointF) +QtWidgets.QGraphicsItem.setTransformOriginPoint?4(float, float) +QtWidgets.QGraphicsItem.stackBefore?4(QGraphicsItem) +QtWidgets.QGraphicsItem.inputMethodHints?4() -> Qt.InputMethodHints +QtWidgets.QGraphicsItem.setInputMethodHints?4(Qt.InputMethodHints) +QtWidgets.QGraphicsItem.updateMicroFocus?4() +QtWidgets.QGraphicsItem.GraphicsItemFlags?1() +QtWidgets.QGraphicsItem.GraphicsItemFlags.__init__?1(self) +QtWidgets.QGraphicsItem.GraphicsItemFlags?1(int) +QtWidgets.QGraphicsItem.GraphicsItemFlags.__init__?1(self, int) +QtWidgets.QGraphicsItem.GraphicsItemFlags?1(QGraphicsItem.GraphicsItemFlags) +QtWidgets.QGraphicsItem.GraphicsItemFlags.__init__?1(self, QGraphicsItem.GraphicsItemFlags) +QtWidgets.QAbstractGraphicsShapeItem?1(QGraphicsItem parent=None) +QtWidgets.QAbstractGraphicsShapeItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QAbstractGraphicsShapeItem.pen?4() -> QPen +QtWidgets.QAbstractGraphicsShapeItem.setPen?4(QPen) +QtWidgets.QAbstractGraphicsShapeItem.brush?4() -> QBrush +QtWidgets.QAbstractGraphicsShapeItem.setBrush?4(QBrush) +QtWidgets.QAbstractGraphicsShapeItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QAbstractGraphicsShapeItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsPathItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsPathItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsPathItem?1(QPainterPath, QGraphicsItem parent=None) +QtWidgets.QGraphicsPathItem.__init__?1(self, QPainterPath, QGraphicsItem parent=None) +QtWidgets.QGraphicsPathItem.path?4() -> QPainterPath +QtWidgets.QGraphicsPathItem.setPath?4(QPainterPath) +QtWidgets.QGraphicsPathItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsPathItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsPathItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsPathItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsPathItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsPathItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsPathItem.type?4() -> int +QtWidgets.QGraphicsRectItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsRectItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsRectItem?1(QRectF, QGraphicsItem parent=None) +QtWidgets.QGraphicsRectItem.__init__?1(self, QRectF, QGraphicsItem parent=None) +QtWidgets.QGraphicsRectItem?1(float, float, float, float, QGraphicsItem parent=None) +QtWidgets.QGraphicsRectItem.__init__?1(self, float, float, float, float, QGraphicsItem parent=None) +QtWidgets.QGraphicsRectItem.rect?4() -> QRectF +QtWidgets.QGraphicsRectItem.setRect?4(QRectF) +QtWidgets.QGraphicsRectItem.setRect?4(float, float, float, float) +QtWidgets.QGraphicsRectItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsRectItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsRectItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsRectItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsRectItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsRectItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsRectItem.type?4() -> int +QtWidgets.QGraphicsEllipseItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsEllipseItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsEllipseItem?1(QRectF, QGraphicsItem parent=None) +QtWidgets.QGraphicsEllipseItem.__init__?1(self, QRectF, QGraphicsItem parent=None) +QtWidgets.QGraphicsEllipseItem?1(float, float, float, float, QGraphicsItem parent=None) +QtWidgets.QGraphicsEllipseItem.__init__?1(self, float, float, float, float, QGraphicsItem parent=None) +QtWidgets.QGraphicsEllipseItem.rect?4() -> QRectF +QtWidgets.QGraphicsEllipseItem.setRect?4(QRectF) +QtWidgets.QGraphicsEllipseItem.setRect?4(float, float, float, float) +QtWidgets.QGraphicsEllipseItem.startAngle?4() -> int +QtWidgets.QGraphicsEllipseItem.setStartAngle?4(int) +QtWidgets.QGraphicsEllipseItem.spanAngle?4() -> int +QtWidgets.QGraphicsEllipseItem.setSpanAngle?4(int) +QtWidgets.QGraphicsEllipseItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsEllipseItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsEllipseItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsEllipseItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsEllipseItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsEllipseItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsEllipseItem.type?4() -> int +QtWidgets.QGraphicsPolygonItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsPolygonItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsPolygonItem?1(QPolygonF, QGraphicsItem parent=None) +QtWidgets.QGraphicsPolygonItem.__init__?1(self, QPolygonF, QGraphicsItem parent=None) +QtWidgets.QGraphicsPolygonItem.polygon?4() -> QPolygonF +QtWidgets.QGraphicsPolygonItem.setPolygon?4(QPolygonF) +QtWidgets.QGraphicsPolygonItem.fillRule?4() -> Qt.FillRule +QtWidgets.QGraphicsPolygonItem.setFillRule?4(Qt.FillRule) +QtWidgets.QGraphicsPolygonItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsPolygonItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsPolygonItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsPolygonItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsPolygonItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsPolygonItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsPolygonItem.type?4() -> int +QtWidgets.QGraphicsLineItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsLineItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsLineItem?1(QLineF, QGraphicsItem parent=None) +QtWidgets.QGraphicsLineItem.__init__?1(self, QLineF, QGraphicsItem parent=None) +QtWidgets.QGraphicsLineItem?1(float, float, float, float, QGraphicsItem parent=None) +QtWidgets.QGraphicsLineItem.__init__?1(self, float, float, float, float, QGraphicsItem parent=None) +QtWidgets.QGraphicsLineItem.pen?4() -> QPen +QtWidgets.QGraphicsLineItem.setPen?4(QPen) +QtWidgets.QGraphicsLineItem.line?4() -> QLineF +QtWidgets.QGraphicsLineItem.setLine?4(QLineF) +QtWidgets.QGraphicsLineItem.setLine?4(float, float, float, float) +QtWidgets.QGraphicsLineItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsLineItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsLineItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsLineItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsLineItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsLineItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsLineItem.type?4() -> int +QtWidgets.QGraphicsPixmapItem.ShapeMode?10 +QtWidgets.QGraphicsPixmapItem.ShapeMode.MaskShape?10 +QtWidgets.QGraphicsPixmapItem.ShapeMode.BoundingRectShape?10 +QtWidgets.QGraphicsPixmapItem.ShapeMode.HeuristicMaskShape?10 +QtWidgets.QGraphicsPixmapItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsPixmapItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsPixmapItem?1(QPixmap, QGraphicsItem parent=None) +QtWidgets.QGraphicsPixmapItem.__init__?1(self, QPixmap, QGraphicsItem parent=None) +QtWidgets.QGraphicsPixmapItem.pixmap?4() -> QPixmap +QtWidgets.QGraphicsPixmapItem.setPixmap?4(QPixmap) +QtWidgets.QGraphicsPixmapItem.transformationMode?4() -> Qt.TransformationMode +QtWidgets.QGraphicsPixmapItem.setTransformationMode?4(Qt.TransformationMode) +QtWidgets.QGraphicsPixmapItem.offset?4() -> QPointF +QtWidgets.QGraphicsPixmapItem.setOffset?4(QPointF) +QtWidgets.QGraphicsPixmapItem.setOffset?4(float, float) +QtWidgets.QGraphicsPixmapItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsPixmapItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsPixmapItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsPixmapItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget) +QtWidgets.QGraphicsPixmapItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsPixmapItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsPixmapItem.type?4() -> int +QtWidgets.QGraphicsPixmapItem.shapeMode?4() -> QGraphicsPixmapItem.ShapeMode +QtWidgets.QGraphicsPixmapItem.setShapeMode?4(QGraphicsPixmapItem.ShapeMode) +QtWidgets.QGraphicsSimpleTextItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsSimpleTextItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsSimpleTextItem?1(QString, QGraphicsItem parent=None) +QtWidgets.QGraphicsSimpleTextItem.__init__?1(self, QString, QGraphicsItem parent=None) +QtWidgets.QGraphicsSimpleTextItem.setText?4(QString) +QtWidgets.QGraphicsSimpleTextItem.text?4() -> QString +QtWidgets.QGraphicsSimpleTextItem.setFont?4(QFont) +QtWidgets.QGraphicsSimpleTextItem.font?4() -> QFont +QtWidgets.QGraphicsSimpleTextItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsSimpleTextItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsSimpleTextItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsSimpleTextItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget) +QtWidgets.QGraphicsSimpleTextItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsSimpleTextItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsSimpleTextItem.type?4() -> int +QtWidgets.QGraphicsItemGroup?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsItemGroup.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsItemGroup.addToGroup?4(QGraphicsItem) +QtWidgets.QGraphicsItemGroup.removeFromGroup?4(QGraphicsItem) +QtWidgets.QGraphicsItemGroup.boundingRect?4() -> QRectF +QtWidgets.QGraphicsItemGroup.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsItemGroup.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsItemGroup.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsItemGroup.type?4() -> int +QtWidgets.QGraphicsObject?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsObject.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsObject.grabGesture?4(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags()) +QtWidgets.QGraphicsObject.ungrabGesture?4(Qt.GestureType) +QtWidgets.QGraphicsObject.parentChanged?4() +QtWidgets.QGraphicsObject.opacityChanged?4() +QtWidgets.QGraphicsObject.visibleChanged?4() +QtWidgets.QGraphicsObject.enabledChanged?4() +QtWidgets.QGraphicsObject.xChanged?4() +QtWidgets.QGraphicsObject.yChanged?4() +QtWidgets.QGraphicsObject.zChanged?4() +QtWidgets.QGraphicsObject.rotationChanged?4() +QtWidgets.QGraphicsObject.scaleChanged?4() +QtWidgets.QGraphicsObject.updateMicroFocus?4() +QtWidgets.QGraphicsObject.event?4(QEvent) -> bool +QtWidgets.QGraphicsTextItem?1(QGraphicsItem parent=None) +QtWidgets.QGraphicsTextItem.__init__?1(self, QGraphicsItem parent=None) +QtWidgets.QGraphicsTextItem?1(QString, QGraphicsItem parent=None) +QtWidgets.QGraphicsTextItem.__init__?1(self, QString, QGraphicsItem parent=None) +QtWidgets.QGraphicsTextItem.toHtml?4() -> QString +QtWidgets.QGraphicsTextItem.setHtml?4(QString) +QtWidgets.QGraphicsTextItem.toPlainText?4() -> QString +QtWidgets.QGraphicsTextItem.setPlainText?4(QString) +QtWidgets.QGraphicsTextItem.font?4() -> QFont +QtWidgets.QGraphicsTextItem.setFont?4(QFont) +QtWidgets.QGraphicsTextItem.setDefaultTextColor?4(QColor) +QtWidgets.QGraphicsTextItem.defaultTextColor?4() -> QColor +QtWidgets.QGraphicsTextItem.boundingRect?4() -> QRectF +QtWidgets.QGraphicsTextItem.shape?4() -> QPainterPath +QtWidgets.QGraphicsTextItem.contains?4(QPointF) -> bool +QtWidgets.QGraphicsTextItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget) +QtWidgets.QGraphicsTextItem.isObscuredBy?4(QGraphicsItem) -> bool +QtWidgets.QGraphicsTextItem.opaqueArea?4() -> QPainterPath +QtWidgets.QGraphicsTextItem.type?4() -> int +QtWidgets.QGraphicsTextItem.setTextWidth?4(float) +QtWidgets.QGraphicsTextItem.textWidth?4() -> float +QtWidgets.QGraphicsTextItem.adjustSize?4() +QtWidgets.QGraphicsTextItem.setDocument?4(QTextDocument) +QtWidgets.QGraphicsTextItem.document?4() -> QTextDocument +QtWidgets.QGraphicsTextItem.setTextInteractionFlags?4(Qt.TextInteractionFlags) +QtWidgets.QGraphicsTextItem.textInteractionFlags?4() -> Qt.TextInteractionFlags +QtWidgets.QGraphicsTextItem.setTabChangesFocus?4(bool) +QtWidgets.QGraphicsTextItem.tabChangesFocus?4() -> bool +QtWidgets.QGraphicsTextItem.setOpenExternalLinks?4(bool) +QtWidgets.QGraphicsTextItem.openExternalLinks?4() -> bool +QtWidgets.QGraphicsTextItem.setTextCursor?4(QTextCursor) +QtWidgets.QGraphicsTextItem.textCursor?4() -> QTextCursor +QtWidgets.QGraphicsTextItem.linkActivated?4(QString) +QtWidgets.QGraphicsTextItem.linkHovered?4(QString) +QtWidgets.QGraphicsTextItem.sceneEvent?4(QEvent) -> bool +QtWidgets.QGraphicsTextItem.mousePressEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsTextItem.mouseMoveEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsTextItem.mouseReleaseEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsTextItem.mouseDoubleClickEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsTextItem.contextMenuEvent?4(QGraphicsSceneContextMenuEvent) +QtWidgets.QGraphicsTextItem.keyPressEvent?4(QKeyEvent) +QtWidgets.QGraphicsTextItem.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QGraphicsTextItem.focusInEvent?4(QFocusEvent) +QtWidgets.QGraphicsTextItem.focusOutEvent?4(QFocusEvent) +QtWidgets.QGraphicsTextItem.dragEnterEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsTextItem.dragLeaveEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsTextItem.dragMoveEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsTextItem.dropEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsTextItem.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QGraphicsTextItem.hoverEnterEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsTextItem.hoverMoveEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsTextItem.hoverLeaveEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsTextItem.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QGraphicsLinearLayout?1(QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsLinearLayout.__init__?1(self, QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsLinearLayout?1(Qt.Orientation, QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsLinearLayout.__init__?1(self, Qt.Orientation, QGraphicsLayoutItem parent=None) +QtWidgets.QGraphicsLinearLayout.setOrientation?4(Qt.Orientation) +QtWidgets.QGraphicsLinearLayout.orientation?4() -> Qt.Orientation +QtWidgets.QGraphicsLinearLayout.addItem?4(QGraphicsLayoutItem) +QtWidgets.QGraphicsLinearLayout.addStretch?4(int stretch=1) +QtWidgets.QGraphicsLinearLayout.insertItem?4(int, QGraphicsLayoutItem) +QtWidgets.QGraphicsLinearLayout.insertStretch?4(int, int stretch=1) +QtWidgets.QGraphicsLinearLayout.removeItem?4(QGraphicsLayoutItem) +QtWidgets.QGraphicsLinearLayout.removeAt?4(int) +QtWidgets.QGraphicsLinearLayout.setSpacing?4(float) +QtWidgets.QGraphicsLinearLayout.spacing?4() -> float +QtWidgets.QGraphicsLinearLayout.setItemSpacing?4(int, float) +QtWidgets.QGraphicsLinearLayout.itemSpacing?4(int) -> float +QtWidgets.QGraphicsLinearLayout.setStretchFactor?4(QGraphicsLayoutItem, int) +QtWidgets.QGraphicsLinearLayout.stretchFactor?4(QGraphicsLayoutItem) -> int +QtWidgets.QGraphicsLinearLayout.setAlignment?4(QGraphicsLayoutItem, Qt.Alignment) +QtWidgets.QGraphicsLinearLayout.alignment?4(QGraphicsLayoutItem) -> Qt.Alignment +QtWidgets.QGraphicsLinearLayout.setGeometry?4(QRectF) +QtWidgets.QGraphicsLinearLayout.count?4() -> int +QtWidgets.QGraphicsLinearLayout.itemAt?4(int) -> QGraphicsLayoutItem +QtWidgets.QGraphicsLinearLayout.invalidate?4() +QtWidgets.QGraphicsLinearLayout.sizeHint?4(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF +QtWidgets.QGraphicsWidget?1(QGraphicsItem parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QGraphicsWidget.__init__?1(self, QGraphicsItem parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QGraphicsWidget.layout?4() -> QGraphicsLayout +QtWidgets.QGraphicsWidget.setLayout?4(QGraphicsLayout) +QtWidgets.QGraphicsWidget.adjustSize?4() +QtWidgets.QGraphicsWidget.layoutDirection?4() -> Qt.LayoutDirection +QtWidgets.QGraphicsWidget.setLayoutDirection?4(Qt.LayoutDirection) +QtWidgets.QGraphicsWidget.unsetLayoutDirection?4() +QtWidgets.QGraphicsWidget.style?4() -> QStyle +QtWidgets.QGraphicsWidget.setStyle?4(QStyle) +QtWidgets.QGraphicsWidget.font?4() -> QFont +QtWidgets.QGraphicsWidget.setFont?4(QFont) +QtWidgets.QGraphicsWidget.palette?4() -> QPalette +QtWidgets.QGraphicsWidget.setPalette?4(QPalette) +QtWidgets.QGraphicsWidget.resize?4(QSizeF) +QtWidgets.QGraphicsWidget.resize?4(float, float) +QtWidgets.QGraphicsWidget.size?4() -> QSizeF +QtWidgets.QGraphicsWidget.setGeometry?4(QRectF) +QtWidgets.QGraphicsWidget.rect?4() -> QRectF +QtWidgets.QGraphicsWidget.setContentsMargins?4(QMarginsF) +QtWidgets.QGraphicsWidget.setContentsMargins?4(float, float, float, float) +QtWidgets.QGraphicsWidget.getContentsMargins?4() -> (float, float, float, float) +QtWidgets.QGraphicsWidget.setWindowFrameMargins?4(QMarginsF) +QtWidgets.QGraphicsWidget.setWindowFrameMargins?4(float, float, float, float) +QtWidgets.QGraphicsWidget.getWindowFrameMargins?4() -> (float, float, float, float) +QtWidgets.QGraphicsWidget.unsetWindowFrameMargins?4() +QtWidgets.QGraphicsWidget.windowFrameGeometry?4() -> QRectF +QtWidgets.QGraphicsWidget.windowFrameRect?4() -> QRectF +QtWidgets.QGraphicsWidget.windowFlags?4() -> Qt.WindowFlags +QtWidgets.QGraphicsWidget.windowType?4() -> Qt.WindowType +QtWidgets.QGraphicsWidget.setWindowFlags?4(Qt.WindowFlags) +QtWidgets.QGraphicsWidget.isActiveWindow?4() -> bool +QtWidgets.QGraphicsWidget.setWindowTitle?4(QString) +QtWidgets.QGraphicsWidget.windowTitle?4() -> QString +QtWidgets.QGraphicsWidget.focusPolicy?4() -> Qt.FocusPolicy +QtWidgets.QGraphicsWidget.setFocusPolicy?4(Qt.FocusPolicy) +QtWidgets.QGraphicsWidget.setTabOrder?4(QGraphicsWidget, QGraphicsWidget) +QtWidgets.QGraphicsWidget.focusWidget?4() -> QGraphicsWidget +QtWidgets.QGraphicsWidget.grabShortcut?4(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) -> int +QtWidgets.QGraphicsWidget.releaseShortcut?4(int) +QtWidgets.QGraphicsWidget.setShortcutEnabled?4(int, bool enabled=True) +QtWidgets.QGraphicsWidget.setShortcutAutoRepeat?4(int, bool enabled=True) +QtWidgets.QGraphicsWidget.addAction?4(QAction) +QtWidgets.QGraphicsWidget.addActions?4(unknown-type) +QtWidgets.QGraphicsWidget.insertAction?4(QAction, QAction) +QtWidgets.QGraphicsWidget.insertActions?4(QAction, unknown-type) +QtWidgets.QGraphicsWidget.removeAction?4(QAction) +QtWidgets.QGraphicsWidget.actions?4() -> unknown-type +QtWidgets.QGraphicsWidget.setAttribute?4(Qt.WidgetAttribute, bool on=True) +QtWidgets.QGraphicsWidget.testAttribute?4(Qt.WidgetAttribute) -> bool +QtWidgets.QGraphicsWidget.type?4() -> int +QtWidgets.QGraphicsWidget.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsWidget.paintWindowFrame?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtWidgets.QGraphicsWidget.boundingRect?4() -> QRectF +QtWidgets.QGraphicsWidget.shape?4() -> QPainterPath +QtWidgets.QGraphicsWidget.setGeometry?4(float, float, float, float) +QtWidgets.QGraphicsWidget.close?4() -> bool +QtWidgets.QGraphicsWidget.initStyleOption?4(QStyleOption) +QtWidgets.QGraphicsWidget.sizeHint?4(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF +QtWidgets.QGraphicsWidget.updateGeometry?4() +QtWidgets.QGraphicsWidget.itemChange?4(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant +QtWidgets.QGraphicsWidget.sceneEvent?4(QEvent) -> bool +QtWidgets.QGraphicsWidget.windowFrameEvent?4(QEvent) -> bool +QtWidgets.QGraphicsWidget.windowFrameSectionAt?4(QPointF) -> Qt.WindowFrameSection +QtWidgets.QGraphicsWidget.event?4(QEvent) -> bool +QtWidgets.QGraphicsWidget.changeEvent?4(QEvent) +QtWidgets.QGraphicsWidget.closeEvent?4(QCloseEvent) +QtWidgets.QGraphicsWidget.focusInEvent?4(QFocusEvent) +QtWidgets.QGraphicsWidget.focusNextPrevChild?4(bool) -> bool +QtWidgets.QGraphicsWidget.focusOutEvent?4(QFocusEvent) +QtWidgets.QGraphicsWidget.hideEvent?4(QHideEvent) +QtWidgets.QGraphicsWidget.moveEvent?4(QGraphicsSceneMoveEvent) +QtWidgets.QGraphicsWidget.polishEvent?4() +QtWidgets.QGraphicsWidget.resizeEvent?4(QGraphicsSceneResizeEvent) +QtWidgets.QGraphicsWidget.showEvent?4(QShowEvent) +QtWidgets.QGraphicsWidget.hoverMoveEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsWidget.hoverLeaveEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsWidget.grabMouseEvent?4(QEvent) +QtWidgets.QGraphicsWidget.ungrabMouseEvent?4(QEvent) +QtWidgets.QGraphicsWidget.grabKeyboardEvent?4(QEvent) +QtWidgets.QGraphicsWidget.ungrabKeyboardEvent?4(QEvent) +QtWidgets.QGraphicsWidget.autoFillBackground?4() -> bool +QtWidgets.QGraphicsWidget.setAutoFillBackground?4(bool) +QtWidgets.QGraphicsWidget.geometryChanged?4() +QtWidgets.QGraphicsProxyWidget?1(QGraphicsItem parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QGraphicsProxyWidget.__init__?1(self, QGraphicsItem parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QGraphicsProxyWidget.setWidget?4(QWidget) +QtWidgets.QGraphicsProxyWidget.widget?4() -> QWidget +QtWidgets.QGraphicsProxyWidget.subWidgetRect?4(QWidget) -> QRectF +QtWidgets.QGraphicsProxyWidget.setGeometry?4(QRectF) +QtWidgets.QGraphicsProxyWidget.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget) +QtWidgets.QGraphicsProxyWidget.type?4() -> int +QtWidgets.QGraphicsProxyWidget.createProxyForChildWidget?4(QWidget) -> QGraphicsProxyWidget +QtWidgets.QGraphicsProxyWidget.itemChange?4(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant +QtWidgets.QGraphicsProxyWidget.event?4(QEvent) -> bool +QtWidgets.QGraphicsProxyWidget.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QGraphicsProxyWidget.showEvent?4(QShowEvent) +QtWidgets.QGraphicsProxyWidget.hideEvent?4(QHideEvent) +QtWidgets.QGraphicsProxyWidget.contextMenuEvent?4(QGraphicsSceneContextMenuEvent) +QtWidgets.QGraphicsProxyWidget.hoverEnterEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsProxyWidget.hoverLeaveEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsProxyWidget.hoverMoveEvent?4(QGraphicsSceneHoverEvent) +QtWidgets.QGraphicsProxyWidget.grabMouseEvent?4(QEvent) +QtWidgets.QGraphicsProxyWidget.ungrabMouseEvent?4(QEvent) +QtWidgets.QGraphicsProxyWidget.mouseMoveEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsProxyWidget.mousePressEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsProxyWidget.mouseReleaseEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsProxyWidget.mouseDoubleClickEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsProxyWidget.wheelEvent?4(QGraphicsSceneWheelEvent) +QtWidgets.QGraphicsProxyWidget.keyPressEvent?4(QKeyEvent) +QtWidgets.QGraphicsProxyWidget.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QGraphicsProxyWidget.focusInEvent?4(QFocusEvent) +QtWidgets.QGraphicsProxyWidget.focusOutEvent?4(QFocusEvent) +QtWidgets.QGraphicsProxyWidget.focusNextPrevChild?4(bool) -> bool +QtWidgets.QGraphicsProxyWidget.sizeHint?4(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF +QtWidgets.QGraphicsProxyWidget.resizeEvent?4(QGraphicsSceneResizeEvent) +QtWidgets.QGraphicsProxyWidget.dragEnterEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsProxyWidget.dragLeaveEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsProxyWidget.dragMoveEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsProxyWidget.dropEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsProxyWidget.newProxyWidget?4(QWidget) -> QGraphicsProxyWidget +QtWidgets.QGraphicsProxyWidget.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QGraphicsProxyWidget.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QGraphicsScene.SceneLayer?10 +QtWidgets.QGraphicsScene.SceneLayer.ItemLayer?10 +QtWidgets.QGraphicsScene.SceneLayer.BackgroundLayer?10 +QtWidgets.QGraphicsScene.SceneLayer.ForegroundLayer?10 +QtWidgets.QGraphicsScene.SceneLayer.AllLayers?10 +QtWidgets.QGraphicsScene.ItemIndexMethod?10 +QtWidgets.QGraphicsScene.ItemIndexMethod.BspTreeIndex?10 +QtWidgets.QGraphicsScene.ItemIndexMethod.NoIndex?10 +QtWidgets.QGraphicsScene?1(QObject parent=None) +QtWidgets.QGraphicsScene.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsScene?1(QRectF, QObject parent=None) +QtWidgets.QGraphicsScene.__init__?1(self, QRectF, QObject parent=None) +QtWidgets.QGraphicsScene?1(float, float, float, float, QObject parent=None) +QtWidgets.QGraphicsScene.__init__?1(self, float, float, float, float, QObject parent=None) +QtWidgets.QGraphicsScene.sceneRect?4() -> QRectF +QtWidgets.QGraphicsScene.width?4() -> float +QtWidgets.QGraphicsScene.height?4() -> float +QtWidgets.QGraphicsScene.setSceneRect?4(QRectF) +QtWidgets.QGraphicsScene.setSceneRect?4(float, float, float, float) +QtWidgets.QGraphicsScene.render?4(QPainter, QRectF target=QRectF(), QRectF source=QRectF(), Qt.AspectRatioMode mode=Qt.KeepAspectRatio) +QtWidgets.QGraphicsScene.itemIndexMethod?4() -> QGraphicsScene.ItemIndexMethod +QtWidgets.QGraphicsScene.setItemIndexMethod?4(QGraphicsScene.ItemIndexMethod) +QtWidgets.QGraphicsScene.itemsBoundingRect?4() -> QRectF +QtWidgets.QGraphicsScene.items?4(Qt.SortOrder order=Qt.DescendingOrder) -> unknown-type +QtWidgets.QGraphicsScene.items?4(QPointF, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, Qt.SortOrder order=Qt.DescendingOrder, QTransform deviceTransform=QTransform()) -> unknown-type +QtWidgets.QGraphicsScene.items?4(QRectF, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, Qt.SortOrder order=Qt.DescendingOrder, QTransform deviceTransform=QTransform()) -> unknown-type +QtWidgets.QGraphicsScene.items?4(QPolygonF, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, Qt.SortOrder order=Qt.DescendingOrder, QTransform deviceTransform=QTransform()) -> unknown-type +QtWidgets.QGraphicsScene.items?4(QPainterPath, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, Qt.SortOrder order=Qt.DescendingOrder, QTransform deviceTransform=QTransform()) -> unknown-type +QtWidgets.QGraphicsScene.items?4(float, float, float, float, Qt.ItemSelectionMode, Qt.SortOrder, QTransform deviceTransform=QTransform()) -> unknown-type +QtWidgets.QGraphicsScene.collidingItems?4(QGraphicsItem, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> unknown-type +QtWidgets.QGraphicsScene.selectedItems?4() -> unknown-type +QtWidgets.QGraphicsScene.setSelectionArea?4(QPainterPath, QTransform) +QtWidgets.QGraphicsScene.setSelectionArea?4(QPainterPath, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, QTransform deviceTransform=QTransform()) +QtWidgets.QGraphicsScene.clearSelection?4() +QtWidgets.QGraphicsScene.createItemGroup?4(unknown-type) -> QGraphicsItemGroup +QtWidgets.QGraphicsScene.destroyItemGroup?4(QGraphicsItemGroup) +QtWidgets.QGraphicsScene.addItem?4(QGraphicsItem) +QtWidgets.QGraphicsScene.addEllipse?4(QRectF, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsEllipseItem +QtWidgets.QGraphicsScene.addEllipse?4(float, float, float, float, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsEllipseItem +QtWidgets.QGraphicsScene.addLine?4(QLineF, QPen pen=QPen()) -> QGraphicsLineItem +QtWidgets.QGraphicsScene.addLine?4(float, float, float, float, QPen pen=QPen()) -> QGraphicsLineItem +QtWidgets.QGraphicsScene.addPath?4(QPainterPath, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsPathItem +QtWidgets.QGraphicsScene.addPixmap?4(QPixmap) -> QGraphicsPixmapItem +QtWidgets.QGraphicsScene.addPolygon?4(QPolygonF, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsPolygonItem +QtWidgets.QGraphicsScene.addRect?4(QRectF, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsRectItem +QtWidgets.QGraphicsScene.addRect?4(float, float, float, float, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsRectItem +QtWidgets.QGraphicsScene.addSimpleText?4(QString, QFont font=QFont()) -> QGraphicsSimpleTextItem +QtWidgets.QGraphicsScene.addText?4(QString, QFont font=QFont()) -> QGraphicsTextItem +QtWidgets.QGraphicsScene.removeItem?4(QGraphicsItem) +QtWidgets.QGraphicsScene.focusItem?4() -> QGraphicsItem +QtWidgets.QGraphicsScene.setFocusItem?4(QGraphicsItem, Qt.FocusReason focusReason=Qt.OtherFocusReason) +QtWidgets.QGraphicsScene.hasFocus?4() -> bool +QtWidgets.QGraphicsScene.setFocus?4(Qt.FocusReason focusReason=Qt.OtherFocusReason) +QtWidgets.QGraphicsScene.clearFocus?4() +QtWidgets.QGraphicsScene.mouseGrabberItem?4() -> QGraphicsItem +QtWidgets.QGraphicsScene.backgroundBrush?4() -> QBrush +QtWidgets.QGraphicsScene.setBackgroundBrush?4(QBrush) +QtWidgets.QGraphicsScene.foregroundBrush?4() -> QBrush +QtWidgets.QGraphicsScene.setForegroundBrush?4(QBrush) +QtWidgets.QGraphicsScene.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QGraphicsScene.views?4() -> unknown-type +QtWidgets.QGraphicsScene.advance?4() +QtWidgets.QGraphicsScene.update?4(QRectF rect=QRectF()) +QtWidgets.QGraphicsScene.invalidate?4(QRectF rect=QRectF(), QGraphicsScene.SceneLayers layers=QGraphicsScene.AllLayers) +QtWidgets.QGraphicsScene.clear?4() +QtWidgets.QGraphicsScene.changed?4(unknown-type) +QtWidgets.QGraphicsScene.sceneRectChanged?4(QRectF) +QtWidgets.QGraphicsScene.selectionChanged?4() +QtWidgets.QGraphicsScene.event?4(QEvent) -> bool +QtWidgets.QGraphicsScene.contextMenuEvent?4(QGraphicsSceneContextMenuEvent) +QtWidgets.QGraphicsScene.dragEnterEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsScene.dragMoveEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsScene.dragLeaveEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsScene.dropEvent?4(QGraphicsSceneDragDropEvent) +QtWidgets.QGraphicsScene.focusInEvent?4(QFocusEvent) +QtWidgets.QGraphicsScene.focusOutEvent?4(QFocusEvent) +QtWidgets.QGraphicsScene.helpEvent?4(QGraphicsSceneHelpEvent) +QtWidgets.QGraphicsScene.keyPressEvent?4(QKeyEvent) +QtWidgets.QGraphicsScene.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QGraphicsScene.mousePressEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsScene.mouseMoveEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsScene.mouseReleaseEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsScene.mouseDoubleClickEvent?4(QGraphicsSceneMouseEvent) +QtWidgets.QGraphicsScene.wheelEvent?4(QGraphicsSceneWheelEvent) +QtWidgets.QGraphicsScene.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QGraphicsScene.drawBackground?4(QPainter, QRectF) +QtWidgets.QGraphicsScene.drawForeground?4(QPainter, QRectF) +QtWidgets.QGraphicsScene.bspTreeDepth?4() -> int +QtWidgets.QGraphicsScene.setBspTreeDepth?4(int) +QtWidgets.QGraphicsScene.selectionArea?4() -> QPainterPath +QtWidgets.QGraphicsScene.update?4(float, float, float, float) +QtWidgets.QGraphicsScene.addWidget?4(QWidget, Qt.WindowFlags flags=Qt.WindowFlags()) -> QGraphicsProxyWidget +QtWidgets.QGraphicsScene.style?4() -> QStyle +QtWidgets.QGraphicsScene.setStyle?4(QStyle) +QtWidgets.QGraphicsScene.font?4() -> QFont +QtWidgets.QGraphicsScene.setFont?4(QFont) +QtWidgets.QGraphicsScene.palette?4() -> QPalette +QtWidgets.QGraphicsScene.setPalette?4(QPalette) +QtWidgets.QGraphicsScene.activeWindow?4() -> QGraphicsWidget +QtWidgets.QGraphicsScene.setActiveWindow?4(QGraphicsWidget) +QtWidgets.QGraphicsScene.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QGraphicsScene.focusNextPrevChild?4(bool) -> bool +QtWidgets.QGraphicsScene.setStickyFocus?4(bool) +QtWidgets.QGraphicsScene.stickyFocus?4() -> bool +QtWidgets.QGraphicsScene.itemAt?4(QPointF, QTransform) -> QGraphicsItem +QtWidgets.QGraphicsScene.itemAt?4(float, float, QTransform) -> QGraphicsItem +QtWidgets.QGraphicsScene.isActive?4() -> bool +QtWidgets.QGraphicsScene.activePanel?4() -> QGraphicsItem +QtWidgets.QGraphicsScene.setActivePanel?4(QGraphicsItem) +QtWidgets.QGraphicsScene.sendEvent?4(QGraphicsItem, QEvent) -> bool +QtWidgets.QGraphicsScene.invalidate?4(float, float, float, float, QGraphicsScene.SceneLayers layers=QGraphicsScene.AllLayers) +QtWidgets.QGraphicsScene.minimumRenderSize?4() -> float +QtWidgets.QGraphicsScene.setMinimumRenderSize?4(float) +QtWidgets.QGraphicsScene.focusItemChanged?4(QGraphicsItem, QGraphicsItem, Qt.FocusReason) +QtWidgets.QGraphicsScene.setSelectionArea?4(QPainterPath, Qt.ItemSelectionOperation, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, QTransform deviceTransform=QTransform()) +QtWidgets.QGraphicsScene.focusOnTouch?4() -> bool +QtWidgets.QGraphicsScene.setFocusOnTouch?4(bool) +QtWidgets.QGraphicsScene.SceneLayers?1() +QtWidgets.QGraphicsScene.SceneLayers.__init__?1(self) +QtWidgets.QGraphicsScene.SceneLayers?1(int) +QtWidgets.QGraphicsScene.SceneLayers.__init__?1(self, int) +QtWidgets.QGraphicsScene.SceneLayers?1(QGraphicsScene.SceneLayers) +QtWidgets.QGraphicsScene.SceneLayers.__init__?1(self, QGraphicsScene.SceneLayers) +QtWidgets.QGraphicsSceneEvent.widget?4() -> QWidget +QtWidgets.QGraphicsSceneMouseEvent.pos?4() -> QPointF +QtWidgets.QGraphicsSceneMouseEvent.scenePos?4() -> QPointF +QtWidgets.QGraphicsSceneMouseEvent.screenPos?4() -> QPoint +QtWidgets.QGraphicsSceneMouseEvent.buttonDownPos?4(Qt.MouseButton) -> QPointF +QtWidgets.QGraphicsSceneMouseEvent.buttonDownScenePos?4(Qt.MouseButton) -> QPointF +QtWidgets.QGraphicsSceneMouseEvent.buttonDownScreenPos?4(Qt.MouseButton) -> QPoint +QtWidgets.QGraphicsSceneMouseEvent.lastPos?4() -> QPointF +QtWidgets.QGraphicsSceneMouseEvent.lastScenePos?4() -> QPointF +QtWidgets.QGraphicsSceneMouseEvent.lastScreenPos?4() -> QPoint +QtWidgets.QGraphicsSceneMouseEvent.buttons?4() -> Qt.MouseButtons +QtWidgets.QGraphicsSceneMouseEvent.button?4() -> Qt.MouseButton +QtWidgets.QGraphicsSceneMouseEvent.modifiers?4() -> Qt.KeyboardModifiers +QtWidgets.QGraphicsSceneMouseEvent.source?4() -> Qt.MouseEventSource +QtWidgets.QGraphicsSceneMouseEvent.flags?4() -> Qt.MouseEventFlags +QtWidgets.QGraphicsSceneWheelEvent.pos?4() -> QPointF +QtWidgets.QGraphicsSceneWheelEvent.scenePos?4() -> QPointF +QtWidgets.QGraphicsSceneWheelEvent.screenPos?4() -> QPoint +QtWidgets.QGraphicsSceneWheelEvent.buttons?4() -> Qt.MouseButtons +QtWidgets.QGraphicsSceneWheelEvent.modifiers?4() -> Qt.KeyboardModifiers +QtWidgets.QGraphicsSceneWheelEvent.delta?4() -> int +QtWidgets.QGraphicsSceneWheelEvent.orientation?4() -> Qt.Orientation +QtWidgets.QGraphicsSceneContextMenuEvent.Reason?10 +QtWidgets.QGraphicsSceneContextMenuEvent.Reason.Mouse?10 +QtWidgets.QGraphicsSceneContextMenuEvent.Reason.Keyboard?10 +QtWidgets.QGraphicsSceneContextMenuEvent.Reason.Other?10 +QtWidgets.QGraphicsSceneContextMenuEvent.pos?4() -> QPointF +QtWidgets.QGraphicsSceneContextMenuEvent.scenePos?4() -> QPointF +QtWidgets.QGraphicsSceneContextMenuEvent.screenPos?4() -> QPoint +QtWidgets.QGraphicsSceneContextMenuEvent.modifiers?4() -> Qt.KeyboardModifiers +QtWidgets.QGraphicsSceneContextMenuEvent.reason?4() -> QGraphicsSceneContextMenuEvent.Reason +QtWidgets.QGraphicsSceneHoverEvent.pos?4() -> QPointF +QtWidgets.QGraphicsSceneHoverEvent.scenePos?4() -> QPointF +QtWidgets.QGraphicsSceneHoverEvent.screenPos?4() -> QPoint +QtWidgets.QGraphicsSceneHoverEvent.lastPos?4() -> QPointF +QtWidgets.QGraphicsSceneHoverEvent.lastScenePos?4() -> QPointF +QtWidgets.QGraphicsSceneHoverEvent.lastScreenPos?4() -> QPoint +QtWidgets.QGraphicsSceneHoverEvent.modifiers?4() -> Qt.KeyboardModifiers +QtWidgets.QGraphicsSceneHelpEvent.scenePos?4() -> QPointF +QtWidgets.QGraphicsSceneHelpEvent.screenPos?4() -> QPoint +QtWidgets.QGraphicsSceneDragDropEvent.pos?4() -> QPointF +QtWidgets.QGraphicsSceneDragDropEvent.scenePos?4() -> QPointF +QtWidgets.QGraphicsSceneDragDropEvent.screenPos?4() -> QPoint +QtWidgets.QGraphicsSceneDragDropEvent.buttons?4() -> Qt.MouseButtons +QtWidgets.QGraphicsSceneDragDropEvent.modifiers?4() -> Qt.KeyboardModifiers +QtWidgets.QGraphicsSceneDragDropEvent.possibleActions?4() -> Qt.DropActions +QtWidgets.QGraphicsSceneDragDropEvent.proposedAction?4() -> Qt.DropAction +QtWidgets.QGraphicsSceneDragDropEvent.acceptProposedAction?4() +QtWidgets.QGraphicsSceneDragDropEvent.dropAction?4() -> Qt.DropAction +QtWidgets.QGraphicsSceneDragDropEvent.setDropAction?4(Qt.DropAction) +QtWidgets.QGraphicsSceneDragDropEvent.source?4() -> QWidget +QtWidgets.QGraphicsSceneDragDropEvent.mimeData?4() -> QMimeData +QtWidgets.QGraphicsSceneResizeEvent?1() +QtWidgets.QGraphicsSceneResizeEvent.__init__?1(self) +QtWidgets.QGraphicsSceneResizeEvent.oldSize?4() -> QSizeF +QtWidgets.QGraphicsSceneResizeEvent.newSize?4() -> QSizeF +QtWidgets.QGraphicsSceneMoveEvent?1() +QtWidgets.QGraphicsSceneMoveEvent.__init__?1(self) +QtWidgets.QGraphicsSceneMoveEvent.oldPos?4() -> QPointF +QtWidgets.QGraphicsSceneMoveEvent.newPos?4() -> QPointF +QtWidgets.QGraphicsTransform?1(QObject parent=None) +QtWidgets.QGraphicsTransform.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsTransform.applyTo?4(QMatrix4x4) +QtWidgets.QGraphicsTransform.update?4() +QtWidgets.QGraphicsScale?1(QObject parent=None) +QtWidgets.QGraphicsScale.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsScale.origin?4() -> QVector3D +QtWidgets.QGraphicsScale.setOrigin?4(QVector3D) +QtWidgets.QGraphicsScale.xScale?4() -> float +QtWidgets.QGraphicsScale.setXScale?4(float) +QtWidgets.QGraphicsScale.yScale?4() -> float +QtWidgets.QGraphicsScale.setYScale?4(float) +QtWidgets.QGraphicsScale.zScale?4() -> float +QtWidgets.QGraphicsScale.setZScale?4(float) +QtWidgets.QGraphicsScale.applyTo?4(QMatrix4x4) +QtWidgets.QGraphicsScale.originChanged?4() +QtWidgets.QGraphicsScale.scaleChanged?4() +QtWidgets.QGraphicsScale.xScaleChanged?4() +QtWidgets.QGraphicsScale.yScaleChanged?4() +QtWidgets.QGraphicsScale.zScaleChanged?4() +QtWidgets.QGraphicsRotation?1(QObject parent=None) +QtWidgets.QGraphicsRotation.__init__?1(self, QObject parent=None) +QtWidgets.QGraphicsRotation.origin?4() -> QVector3D +QtWidgets.QGraphicsRotation.setOrigin?4(QVector3D) +QtWidgets.QGraphicsRotation.angle?4() -> float +QtWidgets.QGraphicsRotation.setAngle?4(float) +QtWidgets.QGraphicsRotation.axis?4() -> QVector3D +QtWidgets.QGraphicsRotation.setAxis?4(QVector3D) +QtWidgets.QGraphicsRotation.setAxis?4(Qt.Axis) +QtWidgets.QGraphicsRotation.applyTo?4(QMatrix4x4) +QtWidgets.QGraphicsRotation.originChanged?4() +QtWidgets.QGraphicsRotation.angleChanged?4() +QtWidgets.QGraphicsRotation.axisChanged?4() +QtWidgets.QGraphicsView.OptimizationFlag?10 +QtWidgets.QGraphicsView.OptimizationFlag.DontClipPainter?10 +QtWidgets.QGraphicsView.OptimizationFlag.DontSavePainterState?10 +QtWidgets.QGraphicsView.OptimizationFlag.DontAdjustForAntialiasing?10 +QtWidgets.QGraphicsView.ViewportUpdateMode?10 +QtWidgets.QGraphicsView.ViewportUpdateMode.FullViewportUpdate?10 +QtWidgets.QGraphicsView.ViewportUpdateMode.MinimalViewportUpdate?10 +QtWidgets.QGraphicsView.ViewportUpdateMode.SmartViewportUpdate?10 +QtWidgets.QGraphicsView.ViewportUpdateMode.BoundingRectViewportUpdate?10 +QtWidgets.QGraphicsView.ViewportUpdateMode.NoViewportUpdate?10 +QtWidgets.QGraphicsView.ViewportAnchor?10 +QtWidgets.QGraphicsView.ViewportAnchor.NoAnchor?10 +QtWidgets.QGraphicsView.ViewportAnchor.AnchorViewCenter?10 +QtWidgets.QGraphicsView.ViewportAnchor.AnchorUnderMouse?10 +QtWidgets.QGraphicsView.DragMode?10 +QtWidgets.QGraphicsView.DragMode.NoDrag?10 +QtWidgets.QGraphicsView.DragMode.ScrollHandDrag?10 +QtWidgets.QGraphicsView.DragMode.RubberBandDrag?10 +QtWidgets.QGraphicsView.CacheModeFlag?10 +QtWidgets.QGraphicsView.CacheModeFlag.CacheNone?10 +QtWidgets.QGraphicsView.CacheModeFlag.CacheBackground?10 +QtWidgets.QGraphicsView?1(QWidget parent=None) +QtWidgets.QGraphicsView.__init__?1(self, QWidget parent=None) +QtWidgets.QGraphicsView?1(QGraphicsScene, QWidget parent=None) +QtWidgets.QGraphicsView.__init__?1(self, QGraphicsScene, QWidget parent=None) +QtWidgets.QGraphicsView.sizeHint?4() -> QSize +QtWidgets.QGraphicsView.renderHints?4() -> QPainter.RenderHints +QtWidgets.QGraphicsView.setRenderHint?4(QPainter.RenderHint, bool on=True) +QtWidgets.QGraphicsView.setRenderHints?4(QPainter.RenderHints) +QtWidgets.QGraphicsView.alignment?4() -> Qt.Alignment +QtWidgets.QGraphicsView.setAlignment?4(Qt.Alignment) +QtWidgets.QGraphicsView.transformationAnchor?4() -> QGraphicsView.ViewportAnchor +QtWidgets.QGraphicsView.setTransformationAnchor?4(QGraphicsView.ViewportAnchor) +QtWidgets.QGraphicsView.resizeAnchor?4() -> QGraphicsView.ViewportAnchor +QtWidgets.QGraphicsView.setResizeAnchor?4(QGraphicsView.ViewportAnchor) +QtWidgets.QGraphicsView.dragMode?4() -> QGraphicsView.DragMode +QtWidgets.QGraphicsView.setDragMode?4(QGraphicsView.DragMode) +QtWidgets.QGraphicsView.cacheMode?4() -> QGraphicsView.CacheMode +QtWidgets.QGraphicsView.setCacheMode?4(QGraphicsView.CacheMode) +QtWidgets.QGraphicsView.resetCachedContent?4() +QtWidgets.QGraphicsView.isInteractive?4() -> bool +QtWidgets.QGraphicsView.setInteractive?4(bool) +QtWidgets.QGraphicsView.scene?4() -> QGraphicsScene +QtWidgets.QGraphicsView.setScene?4(QGraphicsScene) +QtWidgets.QGraphicsView.sceneRect?4() -> QRectF +QtWidgets.QGraphicsView.setSceneRect?4(QRectF) +QtWidgets.QGraphicsView.rotate?4(float) +QtWidgets.QGraphicsView.scale?4(float, float) +QtWidgets.QGraphicsView.shear?4(float, float) +QtWidgets.QGraphicsView.translate?4(float, float) +QtWidgets.QGraphicsView.centerOn?4(QPointF) +QtWidgets.QGraphicsView.centerOn?4(QGraphicsItem) +QtWidgets.QGraphicsView.ensureVisible?4(QRectF, int xMargin=50, int yMargin=50) +QtWidgets.QGraphicsView.ensureVisible?4(QGraphicsItem, int xMargin=50, int yMargin=50) +QtWidgets.QGraphicsView.fitInView?4(QRectF, Qt.AspectRatioMode mode=Qt.IgnoreAspectRatio) +QtWidgets.QGraphicsView.fitInView?4(QGraphicsItem, Qt.AspectRatioMode mode=Qt.IgnoreAspectRatio) +QtWidgets.QGraphicsView.render?4(QPainter, QRectF target=QRectF(), QRect source=QRect(), Qt.AspectRatioMode mode=Qt.KeepAspectRatio) +QtWidgets.QGraphicsView.items?4() -> unknown-type +QtWidgets.QGraphicsView.items?4(QPoint) -> unknown-type +QtWidgets.QGraphicsView.items?4(int, int) -> unknown-type +QtWidgets.QGraphicsView.items?4(int, int, int, int, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> unknown-type +QtWidgets.QGraphicsView.items?4(QRect, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> unknown-type +QtWidgets.QGraphicsView.items?4(QPolygon, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> unknown-type +QtWidgets.QGraphicsView.items?4(QPainterPath, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> unknown-type +QtWidgets.QGraphicsView.itemAt?4(QPoint) -> QGraphicsItem +QtWidgets.QGraphicsView.mapToScene?4(QPoint) -> QPointF +QtWidgets.QGraphicsView.mapToScene?4(QRect) -> QPolygonF +QtWidgets.QGraphicsView.mapToScene?4(QPolygon) -> QPolygonF +QtWidgets.QGraphicsView.mapToScene?4(QPainterPath) -> QPainterPath +QtWidgets.QGraphicsView.mapFromScene?4(QPointF) -> QPoint +QtWidgets.QGraphicsView.mapFromScene?4(QRectF) -> QPolygon +QtWidgets.QGraphicsView.mapFromScene?4(QPolygonF) -> QPolygon +QtWidgets.QGraphicsView.mapFromScene?4(QPainterPath) -> QPainterPath +QtWidgets.QGraphicsView.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QGraphicsView.backgroundBrush?4() -> QBrush +QtWidgets.QGraphicsView.setBackgroundBrush?4(QBrush) +QtWidgets.QGraphicsView.foregroundBrush?4() -> QBrush +QtWidgets.QGraphicsView.setForegroundBrush?4(QBrush) +QtWidgets.QGraphicsView.invalidateScene?4(QRectF rect=QRectF(), QGraphicsScene.SceneLayers layers=QGraphicsScene.AllLayers) +QtWidgets.QGraphicsView.updateScene?4(unknown-type) +QtWidgets.QGraphicsView.updateSceneRect?4(QRectF) +QtWidgets.QGraphicsView.setupViewport?4(QWidget) +QtWidgets.QGraphicsView.event?4(QEvent) -> bool +QtWidgets.QGraphicsView.viewportEvent?4(QEvent) -> bool +QtWidgets.QGraphicsView.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QGraphicsView.dragEnterEvent?4(QDragEnterEvent) +QtWidgets.QGraphicsView.dragLeaveEvent?4(QDragLeaveEvent) +QtWidgets.QGraphicsView.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QGraphicsView.dropEvent?4(QDropEvent) +QtWidgets.QGraphicsView.focusInEvent?4(QFocusEvent) +QtWidgets.QGraphicsView.focusOutEvent?4(QFocusEvent) +QtWidgets.QGraphicsView.focusNextPrevChild?4(bool) -> bool +QtWidgets.QGraphicsView.keyPressEvent?4(QKeyEvent) +QtWidgets.QGraphicsView.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QGraphicsView.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QGraphicsView.mousePressEvent?4(QMouseEvent) +QtWidgets.QGraphicsView.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QGraphicsView.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QGraphicsView.wheelEvent?4(QWheelEvent) +QtWidgets.QGraphicsView.paintEvent?4(QPaintEvent) +QtWidgets.QGraphicsView.resizeEvent?4(QResizeEvent) +QtWidgets.QGraphicsView.scrollContentsBy?4(int, int) +QtWidgets.QGraphicsView.showEvent?4(QShowEvent) +QtWidgets.QGraphicsView.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QGraphicsView.drawBackground?4(QPainter, QRectF) +QtWidgets.QGraphicsView.drawForeground?4(QPainter, QRectF) +QtWidgets.QGraphicsView.setSceneRect?4(float, float, float, float) +QtWidgets.QGraphicsView.centerOn?4(float, float) +QtWidgets.QGraphicsView.ensureVisible?4(float, float, float, float, int xMargin=50, int yMargin=50) +QtWidgets.QGraphicsView.fitInView?4(float, float, float, float, Qt.AspectRatioMode mode=Qt.IgnoreAspectRatio) +QtWidgets.QGraphicsView.itemAt?4(int, int) -> QGraphicsItem +QtWidgets.QGraphicsView.mapToScene?4(int, int) -> QPointF +QtWidgets.QGraphicsView.mapToScene?4(int, int, int, int) -> QPolygonF +QtWidgets.QGraphicsView.mapFromScene?4(float, float) -> QPoint +QtWidgets.QGraphicsView.mapFromScene?4(float, float, float, float) -> QPolygon +QtWidgets.QGraphicsView.viewportUpdateMode?4() -> QGraphicsView.ViewportUpdateMode +QtWidgets.QGraphicsView.setViewportUpdateMode?4(QGraphicsView.ViewportUpdateMode) +QtWidgets.QGraphicsView.optimizationFlags?4() -> QGraphicsView.OptimizationFlags +QtWidgets.QGraphicsView.setOptimizationFlag?4(QGraphicsView.OptimizationFlag, bool enabled=True) +QtWidgets.QGraphicsView.setOptimizationFlags?4(QGraphicsView.OptimizationFlags) +QtWidgets.QGraphicsView.rubberBandSelectionMode?4() -> Qt.ItemSelectionMode +QtWidgets.QGraphicsView.setRubberBandSelectionMode?4(Qt.ItemSelectionMode) +QtWidgets.QGraphicsView.transform?4() -> QTransform +QtWidgets.QGraphicsView.viewportTransform?4() -> QTransform +QtWidgets.QGraphicsView.setTransform?4(QTransform, bool combine=False) +QtWidgets.QGraphicsView.resetTransform?4() +QtWidgets.QGraphicsView.isTransformed?4() -> bool +QtWidgets.QGraphicsView.rubberBandRect?4() -> QRect +QtWidgets.QGraphicsView.rubberBandChanged?4(QRect, QPointF, QPointF) +QtWidgets.QGraphicsView.CacheMode?1() +QtWidgets.QGraphicsView.CacheMode.__init__?1(self) +QtWidgets.QGraphicsView.CacheMode?1(int) +QtWidgets.QGraphicsView.CacheMode.__init__?1(self, int) +QtWidgets.QGraphicsView.CacheMode?1(QGraphicsView.CacheMode) +QtWidgets.QGraphicsView.CacheMode.__init__?1(self, QGraphicsView.CacheMode) +QtWidgets.QGraphicsView.OptimizationFlags?1() +QtWidgets.QGraphicsView.OptimizationFlags.__init__?1(self) +QtWidgets.QGraphicsView.OptimizationFlags?1(int) +QtWidgets.QGraphicsView.OptimizationFlags.__init__?1(self, int) +QtWidgets.QGraphicsView.OptimizationFlags?1(QGraphicsView.OptimizationFlags) +QtWidgets.QGraphicsView.OptimizationFlags.__init__?1(self, QGraphicsView.OptimizationFlags) +QtWidgets.QGridLayout?1(QWidget) +QtWidgets.QGridLayout.__init__?1(self, QWidget) +QtWidgets.QGridLayout?1() +QtWidgets.QGridLayout.__init__?1(self) +QtWidgets.QGridLayout.sizeHint?4() -> QSize +QtWidgets.QGridLayout.minimumSize?4() -> QSize +QtWidgets.QGridLayout.maximumSize?4() -> QSize +QtWidgets.QGridLayout.setRowStretch?4(int, int) +QtWidgets.QGridLayout.setColumnStretch?4(int, int) +QtWidgets.QGridLayout.rowStretch?4(int) -> int +QtWidgets.QGridLayout.columnStretch?4(int) -> int +QtWidgets.QGridLayout.setRowMinimumHeight?4(int, int) +QtWidgets.QGridLayout.setColumnMinimumWidth?4(int, int) +QtWidgets.QGridLayout.rowMinimumHeight?4(int) -> int +QtWidgets.QGridLayout.columnMinimumWidth?4(int) -> int +QtWidgets.QGridLayout.columnCount?4() -> int +QtWidgets.QGridLayout.rowCount?4() -> int +QtWidgets.QGridLayout.cellRect?4(int, int) -> QRect +QtWidgets.QGridLayout.hasHeightForWidth?4() -> bool +QtWidgets.QGridLayout.heightForWidth?4(int) -> int +QtWidgets.QGridLayout.minimumHeightForWidth?4(int) -> int +QtWidgets.QGridLayout.expandingDirections?4() -> Qt.Orientations +QtWidgets.QGridLayout.invalidate?4() +QtWidgets.QGridLayout.addWidget?4(QWidget) +QtWidgets.QGridLayout.addWidget?4(QWidget, int, int, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QGridLayout.addWidget?4(QWidget, int, int, int, int, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QGridLayout.addLayout?4(QLayout, int, int, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QGridLayout.addLayout?4(QLayout, int, int, int, int, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QGridLayout.setOriginCorner?4(Qt.Corner) +QtWidgets.QGridLayout.originCorner?4() -> Qt.Corner +QtWidgets.QGridLayout.itemAt?4(int) -> QLayoutItem +QtWidgets.QGridLayout.takeAt?4(int) -> QLayoutItem +QtWidgets.QGridLayout.count?4() -> int +QtWidgets.QGridLayout.setGeometry?4(QRect) +QtWidgets.QGridLayout.addItem?4(QLayoutItem, int, int, int rowSpan=1, int columnSpan=1, Qt.Alignment alignment=Qt.Alignment()) +QtWidgets.QGridLayout.setDefaultPositioning?4(int, Qt.Orientation) +QtWidgets.QGridLayout.getItemPosition?4(int) -> (int, int, int, int) +QtWidgets.QGridLayout.setHorizontalSpacing?4(int) +QtWidgets.QGridLayout.horizontalSpacing?4() -> int +QtWidgets.QGridLayout.setVerticalSpacing?4(int) +QtWidgets.QGridLayout.verticalSpacing?4() -> int +QtWidgets.QGridLayout.setSpacing?4(int) +QtWidgets.QGridLayout.spacing?4() -> int +QtWidgets.QGridLayout.itemAtPosition?4(int, int) -> QLayoutItem +QtWidgets.QGridLayout.addItem?4(QLayoutItem) +QtWidgets.QGroupBox?1(QWidget parent=None) +QtWidgets.QGroupBox.__init__?1(self, QWidget parent=None) +QtWidgets.QGroupBox?1(QString, QWidget parent=None) +QtWidgets.QGroupBox.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QGroupBox.title?4() -> QString +QtWidgets.QGroupBox.setTitle?4(QString) +QtWidgets.QGroupBox.alignment?4() -> Qt.Alignment +QtWidgets.QGroupBox.setAlignment?4(int) +QtWidgets.QGroupBox.minimumSizeHint?4() -> QSize +QtWidgets.QGroupBox.isFlat?4() -> bool +QtWidgets.QGroupBox.setFlat?4(bool) +QtWidgets.QGroupBox.isCheckable?4() -> bool +QtWidgets.QGroupBox.setCheckable?4(bool) +QtWidgets.QGroupBox.isChecked?4() -> bool +QtWidgets.QGroupBox.setChecked?4(bool) +QtWidgets.QGroupBox.clicked?4(bool checked=False) +QtWidgets.QGroupBox.toggled?4(bool) +QtWidgets.QGroupBox.initStyleOption?4(QStyleOptionGroupBox) +QtWidgets.QGroupBox.event?4(QEvent) -> bool +QtWidgets.QGroupBox.childEvent?4(QChildEvent) +QtWidgets.QGroupBox.resizeEvent?4(QResizeEvent) +QtWidgets.QGroupBox.paintEvent?4(QPaintEvent) +QtWidgets.QGroupBox.focusInEvent?4(QFocusEvent) +QtWidgets.QGroupBox.changeEvent?4(QEvent) +QtWidgets.QGroupBox.mousePressEvent?4(QMouseEvent) +QtWidgets.QGroupBox.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QGroupBox.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QHeaderView.ResizeMode?10 +QtWidgets.QHeaderView.ResizeMode.Interactive?10 +QtWidgets.QHeaderView.ResizeMode.Fixed?10 +QtWidgets.QHeaderView.ResizeMode.Stretch?10 +QtWidgets.QHeaderView.ResizeMode.ResizeToContents?10 +QtWidgets.QHeaderView.ResizeMode.Custom?10 +QtWidgets.QHeaderView?1(Qt.Orientation, QWidget parent=None) +QtWidgets.QHeaderView.__init__?1(self, Qt.Orientation, QWidget parent=None) +QtWidgets.QHeaderView.setModel?4(QAbstractItemModel) +QtWidgets.QHeaderView.orientation?4() -> Qt.Orientation +QtWidgets.QHeaderView.offset?4() -> int +QtWidgets.QHeaderView.length?4() -> int +QtWidgets.QHeaderView.sizeHint?4() -> QSize +QtWidgets.QHeaderView.sectionSizeHint?4(int) -> int +QtWidgets.QHeaderView.visualIndexAt?4(int) -> int +QtWidgets.QHeaderView.logicalIndexAt?4(int) -> int +QtWidgets.QHeaderView.sectionSize?4(int) -> int +QtWidgets.QHeaderView.sectionPosition?4(int) -> int +QtWidgets.QHeaderView.sectionViewportPosition?4(int) -> int +QtWidgets.QHeaderView.moveSection?4(int, int) +QtWidgets.QHeaderView.resizeSection?4(int, int) +QtWidgets.QHeaderView.isSectionHidden?4(int) -> bool +QtWidgets.QHeaderView.setSectionHidden?4(int, bool) +QtWidgets.QHeaderView.count?4() -> int +QtWidgets.QHeaderView.visualIndex?4(int) -> int +QtWidgets.QHeaderView.logicalIndex?4(int) -> int +QtWidgets.QHeaderView.setHighlightSections?4(bool) +QtWidgets.QHeaderView.highlightSections?4() -> bool +QtWidgets.QHeaderView.stretchSectionCount?4() -> int +QtWidgets.QHeaderView.setSortIndicatorShown?4(bool) +QtWidgets.QHeaderView.isSortIndicatorShown?4() -> bool +QtWidgets.QHeaderView.setSortIndicator?4(int, Qt.SortOrder) +QtWidgets.QHeaderView.sortIndicatorSection?4() -> int +QtWidgets.QHeaderView.sortIndicatorOrder?4() -> Qt.SortOrder +QtWidgets.QHeaderView.stretchLastSection?4() -> bool +QtWidgets.QHeaderView.setStretchLastSection?4(bool) +QtWidgets.QHeaderView.sectionsMoved?4() -> bool +QtWidgets.QHeaderView.setOffset?4(int) +QtWidgets.QHeaderView.headerDataChanged?4(Qt.Orientation, int, int) +QtWidgets.QHeaderView.setOffsetToSectionPosition?4(int) +QtWidgets.QHeaderView.geometriesChanged?4() +QtWidgets.QHeaderView.sectionMoved?4(int, int, int) +QtWidgets.QHeaderView.sectionResized?4(int, int, int) +QtWidgets.QHeaderView.sectionPressed?4(int) +QtWidgets.QHeaderView.sectionClicked?4(int) +QtWidgets.QHeaderView.sectionDoubleClicked?4(int) +QtWidgets.QHeaderView.sectionCountChanged?4(int, int) +QtWidgets.QHeaderView.sectionHandleDoubleClicked?4(int) +QtWidgets.QHeaderView.updateSection?4(int) +QtWidgets.QHeaderView.resizeSections?4() +QtWidgets.QHeaderView.sectionsInserted?4(QModelIndex, int, int) +QtWidgets.QHeaderView.sectionsAboutToBeRemoved?4(QModelIndex, int, int) +QtWidgets.QHeaderView.initialize?4() +QtWidgets.QHeaderView.initializeSections?4() +QtWidgets.QHeaderView.initializeSections?4(int, int) +QtWidgets.QHeaderView.currentChanged?4(QModelIndex, QModelIndex) +QtWidgets.QHeaderView.event?4(QEvent) -> bool +QtWidgets.QHeaderView.viewportEvent?4(QEvent) -> bool +QtWidgets.QHeaderView.paintEvent?4(QPaintEvent) +QtWidgets.QHeaderView.mousePressEvent?4(QMouseEvent) +QtWidgets.QHeaderView.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QHeaderView.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QHeaderView.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QHeaderView.paintSection?4(QPainter, QRect, int) +QtWidgets.QHeaderView.sectionSizeFromContents?4(int) -> QSize +QtWidgets.QHeaderView.horizontalOffset?4() -> int +QtWidgets.QHeaderView.verticalOffset?4() -> int +QtWidgets.QHeaderView.updateGeometries?4() +QtWidgets.QHeaderView.scrollContentsBy?4(int, int) +QtWidgets.QHeaderView.dataChanged?4(QModelIndex, QModelIndex, unknown-type roles=[]) +QtWidgets.QHeaderView.rowsInserted?4(QModelIndex, int, int) +QtWidgets.QHeaderView.visualRect?4(QModelIndex) -> QRect +QtWidgets.QHeaderView.scrollTo?4(QModelIndex, QAbstractItemView.ScrollHint) +QtWidgets.QHeaderView.indexAt?4(QPoint) -> QModelIndex +QtWidgets.QHeaderView.isIndexHidden?4(QModelIndex) -> bool +QtWidgets.QHeaderView.moveCursor?4(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex +QtWidgets.QHeaderView.setSelection?4(QRect, QItemSelectionModel.SelectionFlags) +QtWidgets.QHeaderView.visualRegionForSelection?4(QItemSelection) -> QRegion +QtWidgets.QHeaderView.logicalIndexAt?4(int, int) -> int +QtWidgets.QHeaderView.logicalIndexAt?4(QPoint) -> int +QtWidgets.QHeaderView.hideSection?4(int) +QtWidgets.QHeaderView.showSection?4(int) +QtWidgets.QHeaderView.resizeSections?4(QHeaderView.ResizeMode) +QtWidgets.QHeaderView.hiddenSectionCount?4() -> int +QtWidgets.QHeaderView.defaultSectionSize?4() -> int +QtWidgets.QHeaderView.setDefaultSectionSize?4(int) +QtWidgets.QHeaderView.defaultAlignment?4() -> Qt.Alignment +QtWidgets.QHeaderView.setDefaultAlignment?4(Qt.Alignment) +QtWidgets.QHeaderView.sectionsHidden?4() -> bool +QtWidgets.QHeaderView.swapSections?4(int, int) +QtWidgets.QHeaderView.cascadingSectionResizes?4() -> bool +QtWidgets.QHeaderView.setCascadingSectionResizes?4(bool) +QtWidgets.QHeaderView.minimumSectionSize?4() -> int +QtWidgets.QHeaderView.setMinimumSectionSize?4(int) +QtWidgets.QHeaderView.saveState?4() -> QByteArray +QtWidgets.QHeaderView.restoreState?4(QByteArray) -> bool +QtWidgets.QHeaderView.reset?4() +QtWidgets.QHeaderView.setOffsetToLastSection?4() +QtWidgets.QHeaderView.sectionEntered?4(int) +QtWidgets.QHeaderView.sortIndicatorChanged?4(int, Qt.SortOrder) +QtWidgets.QHeaderView.initStyleOption?4(QStyleOptionHeader) +QtWidgets.QHeaderView.setSectionsMovable?4(bool) +QtWidgets.QHeaderView.sectionsMovable?4() -> bool +QtWidgets.QHeaderView.setSectionsClickable?4(bool) +QtWidgets.QHeaderView.sectionsClickable?4() -> bool +QtWidgets.QHeaderView.sectionResizeMode?4(int) -> QHeaderView.ResizeMode +QtWidgets.QHeaderView.setSectionResizeMode?4(int, QHeaderView.ResizeMode) +QtWidgets.QHeaderView.setSectionResizeMode?4(QHeaderView.ResizeMode) +QtWidgets.QHeaderView.setVisible?4(bool) +QtWidgets.QHeaderView.setResizeContentsPrecision?4(int) +QtWidgets.QHeaderView.resizeContentsPrecision?4() -> int +QtWidgets.QHeaderView.maximumSectionSize?4() -> int +QtWidgets.QHeaderView.setMaximumSectionSize?4(int) +QtWidgets.QHeaderView.resetDefaultSectionSize?4() +QtWidgets.QHeaderView.setFirstSectionMovable?4(bool) +QtWidgets.QHeaderView.isFirstSectionMovable?4() -> bool +QtWidgets.QInputDialog.InputMode?10 +QtWidgets.QInputDialog.InputMode.TextInput?10 +QtWidgets.QInputDialog.InputMode.IntInput?10 +QtWidgets.QInputDialog.InputMode.DoubleInput?10 +QtWidgets.QInputDialog.InputDialogOption?10 +QtWidgets.QInputDialog.InputDialogOption.NoButtons?10 +QtWidgets.QInputDialog.InputDialogOption.UseListViewForComboBoxItems?10 +QtWidgets.QInputDialog.InputDialogOption.UsePlainTextEditForTextInput?10 +QtWidgets.QInputDialog?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QInputDialog.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QInputDialog.getText?4(QWidget, QString, QString, QLineEdit.EchoMode echo=QLineEdit.Normal, QString text='', Qt.WindowFlags flags=Qt.WindowFlags(), Qt.InputMethodHints inputMethodHints=Qt.ImhNone) -> (QString, bool) +QtWidgets.QInputDialog.getInt?4(QWidget, QString, QString, int value=0, int min=-2147483647, int max=2147483647, int step=1, Qt.WindowFlags flags=Qt.WindowFlags()) -> (int, bool) +QtWidgets.QInputDialog.getDouble?4(QWidget, QString, QString, float value=0, float min=-2147483647, float max=2147483647, int decimals=1, Qt.WindowFlags flags=Qt.WindowFlags()) -> (float, bool) +QtWidgets.QInputDialog.getDouble?4(QWidget, QString, QString, float, float, float, int, Qt.WindowFlags, float) -> (float, bool) +QtWidgets.QInputDialog.getItem?4(QWidget, QString, QString, QStringList, int current=0, bool editable=True, Qt.WindowFlags flags=Qt.WindowFlags(), Qt.InputMethodHints inputMethodHints=Qt.ImhNone) -> (QString, bool) +QtWidgets.QInputDialog.getMultiLineText?4(QWidget, QString, QString, QString text='', Qt.WindowFlags flags=Qt.WindowFlags(), Qt.InputMethodHints inputMethodHints=Qt.ImhNone) -> (QString, bool) +QtWidgets.QInputDialog.setInputMode?4(QInputDialog.InputMode) +QtWidgets.QInputDialog.inputMode?4() -> QInputDialog.InputMode +QtWidgets.QInputDialog.setLabelText?4(QString) +QtWidgets.QInputDialog.labelText?4() -> QString +QtWidgets.QInputDialog.setOption?4(QInputDialog.InputDialogOption, bool on=True) +QtWidgets.QInputDialog.testOption?4(QInputDialog.InputDialogOption) -> bool +QtWidgets.QInputDialog.setOptions?4(QInputDialog.InputDialogOptions) +QtWidgets.QInputDialog.options?4() -> QInputDialog.InputDialogOptions +QtWidgets.QInputDialog.setTextValue?4(QString) +QtWidgets.QInputDialog.textValue?4() -> QString +QtWidgets.QInputDialog.setTextEchoMode?4(QLineEdit.EchoMode) +QtWidgets.QInputDialog.textEchoMode?4() -> QLineEdit.EchoMode +QtWidgets.QInputDialog.setComboBoxEditable?4(bool) +QtWidgets.QInputDialog.isComboBoxEditable?4() -> bool +QtWidgets.QInputDialog.setComboBoxItems?4(QStringList) +QtWidgets.QInputDialog.comboBoxItems?4() -> QStringList +QtWidgets.QInputDialog.setIntValue?4(int) +QtWidgets.QInputDialog.intValue?4() -> int +QtWidgets.QInputDialog.setIntMinimum?4(int) +QtWidgets.QInputDialog.intMinimum?4() -> int +QtWidgets.QInputDialog.setIntMaximum?4(int) +QtWidgets.QInputDialog.intMaximum?4() -> int +QtWidgets.QInputDialog.setIntRange?4(int, int) +QtWidgets.QInputDialog.setIntStep?4(int) +QtWidgets.QInputDialog.intStep?4() -> int +QtWidgets.QInputDialog.setDoubleValue?4(float) +QtWidgets.QInputDialog.doubleValue?4() -> float +QtWidgets.QInputDialog.setDoubleMinimum?4(float) +QtWidgets.QInputDialog.doubleMinimum?4() -> float +QtWidgets.QInputDialog.setDoubleMaximum?4(float) +QtWidgets.QInputDialog.doubleMaximum?4() -> float +QtWidgets.QInputDialog.setDoubleRange?4(float, float) +QtWidgets.QInputDialog.setDoubleDecimals?4(int) +QtWidgets.QInputDialog.doubleDecimals?4() -> int +QtWidgets.QInputDialog.setOkButtonText?4(QString) +QtWidgets.QInputDialog.okButtonText?4() -> QString +QtWidgets.QInputDialog.setCancelButtonText?4(QString) +QtWidgets.QInputDialog.cancelButtonText?4() -> QString +QtWidgets.QInputDialog.open?4() +QtWidgets.QInputDialog.open?4(object) +QtWidgets.QInputDialog.minimumSizeHint?4() -> QSize +QtWidgets.QInputDialog.sizeHint?4() -> QSize +QtWidgets.QInputDialog.setVisible?4(bool) +QtWidgets.QInputDialog.done?4(int) +QtWidgets.QInputDialog.textValueChanged?4(QString) +QtWidgets.QInputDialog.textValueSelected?4(QString) +QtWidgets.QInputDialog.intValueChanged?4(int) +QtWidgets.QInputDialog.intValueSelected?4(int) +QtWidgets.QInputDialog.doubleValueChanged?4(float) +QtWidgets.QInputDialog.doubleValueSelected?4(float) +QtWidgets.QInputDialog.setDoubleStep?4(float) +QtWidgets.QInputDialog.doubleStep?4() -> float +QtWidgets.QInputDialog.InputDialogOptions?1() +QtWidgets.QInputDialog.InputDialogOptions.__init__?1(self) +QtWidgets.QInputDialog.InputDialogOptions?1(int) +QtWidgets.QInputDialog.InputDialogOptions.__init__?1(self, int) +QtWidgets.QInputDialog.InputDialogOptions?1(QInputDialog.InputDialogOptions) +QtWidgets.QInputDialog.InputDialogOptions.__init__?1(self, QInputDialog.InputDialogOptions) +QtWidgets.QItemDelegate?1(QObject parent=None) +QtWidgets.QItemDelegate.__init__?1(self, QObject parent=None) +QtWidgets.QItemDelegate.paint?4(QPainter, QStyleOptionViewItem, QModelIndex) +QtWidgets.QItemDelegate.sizeHint?4(QStyleOptionViewItem, QModelIndex) -> QSize +QtWidgets.QItemDelegate.createEditor?4(QWidget, QStyleOptionViewItem, QModelIndex) -> QWidget +QtWidgets.QItemDelegate.setEditorData?4(QWidget, QModelIndex) +QtWidgets.QItemDelegate.setModelData?4(QWidget, QAbstractItemModel, QModelIndex) +QtWidgets.QItemDelegate.updateEditorGeometry?4(QWidget, QStyleOptionViewItem, QModelIndex) +QtWidgets.QItemDelegate.itemEditorFactory?4() -> QItemEditorFactory +QtWidgets.QItemDelegate.setItemEditorFactory?4(QItemEditorFactory) +QtWidgets.QItemDelegate.hasClipping?4() -> bool +QtWidgets.QItemDelegate.setClipping?4(bool) +QtWidgets.QItemDelegate.drawBackground?4(QPainter, QStyleOptionViewItem, QModelIndex) +QtWidgets.QItemDelegate.drawCheck?4(QPainter, QStyleOptionViewItem, QRect, Qt.CheckState) +QtWidgets.QItemDelegate.drawDecoration?4(QPainter, QStyleOptionViewItem, QRect, QPixmap) +QtWidgets.QItemDelegate.drawDisplay?4(QPainter, QStyleOptionViewItem, QRect, QString) +QtWidgets.QItemDelegate.drawFocus?4(QPainter, QStyleOptionViewItem, QRect) +QtWidgets.QItemDelegate.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QItemDelegate.editorEvent?4(QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) -> bool +QtWidgets.QItemEditorCreatorBase?1() +QtWidgets.QItemEditorCreatorBase.__init__?1(self) +QtWidgets.QItemEditorCreatorBase?1(QItemEditorCreatorBase) +QtWidgets.QItemEditorCreatorBase.__init__?1(self, QItemEditorCreatorBase) +QtWidgets.QItemEditorCreatorBase.createWidget?4(QWidget) -> QWidget +QtWidgets.QItemEditorCreatorBase.valuePropertyName?4() -> QByteArray +QtWidgets.QItemEditorFactory?1() +QtWidgets.QItemEditorFactory.__init__?1(self) +QtWidgets.QItemEditorFactory?1(QItemEditorFactory) +QtWidgets.QItemEditorFactory.__init__?1(self, QItemEditorFactory) +QtWidgets.QItemEditorFactory.createEditor?4(int, QWidget) -> QWidget +QtWidgets.QItemEditorFactory.valuePropertyName?4(int) -> QByteArray +QtWidgets.QItemEditorFactory.registerEditor?4(int, QItemEditorCreatorBase) +QtWidgets.QItemEditorFactory.defaultFactory?4() -> QItemEditorFactory +QtWidgets.QItemEditorFactory.setDefaultFactory?4(QItemEditorFactory) +QtWidgets.QKeyEventTransition?1(QState sourceState=None) +QtWidgets.QKeyEventTransition.__init__?1(self, QState sourceState=None) +QtWidgets.QKeyEventTransition?1(QObject, QEvent.Type, int, QState sourceState=None) +QtWidgets.QKeyEventTransition.__init__?1(self, QObject, QEvent.Type, int, QState sourceState=None) +QtWidgets.QKeyEventTransition.key?4() -> int +QtWidgets.QKeyEventTransition.setKey?4(int) +QtWidgets.QKeyEventTransition.modifierMask?4() -> Qt.KeyboardModifiers +QtWidgets.QKeyEventTransition.setModifierMask?4(Qt.KeyboardModifiers) +QtWidgets.QKeyEventTransition.onTransition?4(QEvent) +QtWidgets.QKeyEventTransition.eventTest?4(QEvent) -> bool +QtWidgets.QKeySequenceEdit?1(QWidget parent=None) +QtWidgets.QKeySequenceEdit.__init__?1(self, QWidget parent=None) +QtWidgets.QKeySequenceEdit?1(QKeySequence, QWidget parent=None) +QtWidgets.QKeySequenceEdit.__init__?1(self, QKeySequence, QWidget parent=None) +QtWidgets.QKeySequenceEdit.keySequence?4() -> QKeySequence +QtWidgets.QKeySequenceEdit.setKeySequence?4(QKeySequence) +QtWidgets.QKeySequenceEdit.clear?4() +QtWidgets.QKeySequenceEdit.editingFinished?4() +QtWidgets.QKeySequenceEdit.keySequenceChanged?4(QKeySequence) +QtWidgets.QKeySequenceEdit.event?4(QEvent) -> bool +QtWidgets.QKeySequenceEdit.keyPressEvent?4(QKeyEvent) +QtWidgets.QKeySequenceEdit.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QKeySequenceEdit.timerEvent?4(QTimerEvent) +QtWidgets.QLabel?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QLabel.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QLabel?1(QString, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QLabel.__init__?1(self, QString, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QLabel.text?4() -> QString +QtWidgets.QLabel.pixmap?4() -> QPixmap +QtWidgets.QLabel.picture?4() -> QPicture +QtWidgets.QLabel.movie?4() -> QMovie +QtWidgets.QLabel.textFormat?4() -> Qt.TextFormat +QtWidgets.QLabel.setTextFormat?4(Qt.TextFormat) +QtWidgets.QLabel.alignment?4() -> Qt.Alignment +QtWidgets.QLabel.setAlignment?4(Qt.Alignment) +QtWidgets.QLabel.setWordWrap?4(bool) +QtWidgets.QLabel.wordWrap?4() -> bool +QtWidgets.QLabel.indent?4() -> int +QtWidgets.QLabel.setIndent?4(int) +QtWidgets.QLabel.margin?4() -> int +QtWidgets.QLabel.setMargin?4(int) +QtWidgets.QLabel.hasScaledContents?4() -> bool +QtWidgets.QLabel.setScaledContents?4(bool) +QtWidgets.QLabel.sizeHint?4() -> QSize +QtWidgets.QLabel.minimumSizeHint?4() -> QSize +QtWidgets.QLabel.setBuddy?4(QWidget) +QtWidgets.QLabel.buddy?4() -> QWidget +QtWidgets.QLabel.heightForWidth?4(int) -> int +QtWidgets.QLabel.openExternalLinks?4() -> bool +QtWidgets.QLabel.setTextInteractionFlags?4(Qt.TextInteractionFlags) +QtWidgets.QLabel.textInteractionFlags?4() -> Qt.TextInteractionFlags +QtWidgets.QLabel.setOpenExternalLinks?4(bool) +QtWidgets.QLabel.clear?4() +QtWidgets.QLabel.setMovie?4(QMovie) +QtWidgets.QLabel.setNum?4(float) +QtWidgets.QLabel.setNum?4(int) +QtWidgets.QLabel.setPicture?4(QPicture) +QtWidgets.QLabel.setPixmap?4(QPixmap) +QtWidgets.QLabel.setText?4(QString) +QtWidgets.QLabel.linkActivated?4(QString) +QtWidgets.QLabel.linkHovered?4(QString) +QtWidgets.QLabel.event?4(QEvent) -> bool +QtWidgets.QLabel.paintEvent?4(QPaintEvent) +QtWidgets.QLabel.changeEvent?4(QEvent) +QtWidgets.QLabel.keyPressEvent?4(QKeyEvent) +QtWidgets.QLabel.mousePressEvent?4(QMouseEvent) +QtWidgets.QLabel.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QLabel.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QLabel.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QLabel.focusInEvent?4(QFocusEvent) +QtWidgets.QLabel.focusOutEvent?4(QFocusEvent) +QtWidgets.QLabel.focusNextPrevChild?4(bool) -> bool +QtWidgets.QLabel.setSelection?4(int, int) +QtWidgets.QLabel.hasSelectedText?4() -> bool +QtWidgets.QLabel.selectedText?4() -> QString +QtWidgets.QLabel.selectionStart?4() -> int +QtWidgets.QSpacerItem?1(int, int, QSizePolicy.Policy hPolicy=QSizePolicy.Minimum, QSizePolicy.Policy vPolicy=QSizePolicy.Minimum) +QtWidgets.QSpacerItem.__init__?1(self, int, int, QSizePolicy.Policy hPolicy=QSizePolicy.Minimum, QSizePolicy.Policy vPolicy=QSizePolicy.Minimum) +QtWidgets.QSpacerItem?1(QSpacerItem) +QtWidgets.QSpacerItem.__init__?1(self, QSpacerItem) +QtWidgets.QSpacerItem.changeSize?4(int, int, QSizePolicy.Policy hPolicy=QSizePolicy.Minimum, QSizePolicy.Policy vPolicy=QSizePolicy.Minimum) +QtWidgets.QSpacerItem.sizeHint?4() -> QSize +QtWidgets.QSpacerItem.minimumSize?4() -> QSize +QtWidgets.QSpacerItem.maximumSize?4() -> QSize +QtWidgets.QSpacerItem.expandingDirections?4() -> Qt.Orientations +QtWidgets.QSpacerItem.isEmpty?4() -> bool +QtWidgets.QSpacerItem.setGeometry?4(QRect) +QtWidgets.QSpacerItem.geometry?4() -> QRect +QtWidgets.QSpacerItem.spacerItem?4() -> QSpacerItem +QtWidgets.QSpacerItem.sizePolicy?4() -> QSizePolicy +QtWidgets.QWidgetItem?1(QWidget) +QtWidgets.QWidgetItem.__init__?1(self, QWidget) +QtWidgets.QWidgetItem.sizeHint?4() -> QSize +QtWidgets.QWidgetItem.minimumSize?4() -> QSize +QtWidgets.QWidgetItem.maximumSize?4() -> QSize +QtWidgets.QWidgetItem.expandingDirections?4() -> Qt.Orientations +QtWidgets.QWidgetItem.isEmpty?4() -> bool +QtWidgets.QWidgetItem.setGeometry?4(QRect) +QtWidgets.QWidgetItem.geometry?4() -> QRect +QtWidgets.QWidgetItem.widget?4() -> QWidget +QtWidgets.QWidgetItem.hasHeightForWidth?4() -> bool +QtWidgets.QWidgetItem.heightForWidth?4(int) -> int +QtWidgets.QWidgetItem.controlTypes?4() -> QSizePolicy.ControlTypes +QtWidgets.QLCDNumber.SegmentStyle?10 +QtWidgets.QLCDNumber.SegmentStyle.Outline?10 +QtWidgets.QLCDNumber.SegmentStyle.Filled?10 +QtWidgets.QLCDNumber.SegmentStyle.Flat?10 +QtWidgets.QLCDNumber.Mode?10 +QtWidgets.QLCDNumber.Mode.Hex?10 +QtWidgets.QLCDNumber.Mode.Dec?10 +QtWidgets.QLCDNumber.Mode.Oct?10 +QtWidgets.QLCDNumber.Mode.Bin?10 +QtWidgets.QLCDNumber?1(QWidget parent=None) +QtWidgets.QLCDNumber.__init__?1(self, QWidget parent=None) +QtWidgets.QLCDNumber?1(int, QWidget parent=None) +QtWidgets.QLCDNumber.__init__?1(self, int, QWidget parent=None) +QtWidgets.QLCDNumber.smallDecimalPoint?4() -> bool +QtWidgets.QLCDNumber.digitCount?4() -> int +QtWidgets.QLCDNumber.setDigitCount?4(int) +QtWidgets.QLCDNumber.setNumDigits?4(int) +QtWidgets.QLCDNumber.checkOverflow?4(float) -> bool +QtWidgets.QLCDNumber.checkOverflow?4(int) -> bool +QtWidgets.QLCDNumber.mode?4() -> QLCDNumber.Mode +QtWidgets.QLCDNumber.setMode?4(QLCDNumber.Mode) +QtWidgets.QLCDNumber.segmentStyle?4() -> QLCDNumber.SegmentStyle +QtWidgets.QLCDNumber.setSegmentStyle?4(QLCDNumber.SegmentStyle) +QtWidgets.QLCDNumber.value?4() -> float +QtWidgets.QLCDNumber.intValue?4() -> int +QtWidgets.QLCDNumber.sizeHint?4() -> QSize +QtWidgets.QLCDNumber.display?4(QString) +QtWidgets.QLCDNumber.display?4(float) +QtWidgets.QLCDNumber.display?4(int) +QtWidgets.QLCDNumber.setHexMode?4() +QtWidgets.QLCDNumber.setDecMode?4() +QtWidgets.QLCDNumber.setOctMode?4() +QtWidgets.QLCDNumber.setBinMode?4() +QtWidgets.QLCDNumber.setSmallDecimalPoint?4(bool) +QtWidgets.QLCDNumber.overflow?4() +QtWidgets.QLCDNumber.event?4(QEvent) -> bool +QtWidgets.QLCDNumber.paintEvent?4(QPaintEvent) +QtWidgets.QLineEdit.ActionPosition?10 +QtWidgets.QLineEdit.ActionPosition.LeadingPosition?10 +QtWidgets.QLineEdit.ActionPosition.TrailingPosition?10 +QtWidgets.QLineEdit.EchoMode?10 +QtWidgets.QLineEdit.EchoMode.Normal?10 +QtWidgets.QLineEdit.EchoMode.NoEcho?10 +QtWidgets.QLineEdit.EchoMode.Password?10 +QtWidgets.QLineEdit.EchoMode.PasswordEchoOnEdit?10 +QtWidgets.QLineEdit?1(QWidget parent=None) +QtWidgets.QLineEdit.__init__?1(self, QWidget parent=None) +QtWidgets.QLineEdit?1(QString, QWidget parent=None) +QtWidgets.QLineEdit.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QLineEdit.text?4() -> QString +QtWidgets.QLineEdit.displayText?4() -> QString +QtWidgets.QLineEdit.maxLength?4() -> int +QtWidgets.QLineEdit.setMaxLength?4(int) +QtWidgets.QLineEdit.setFrame?4(bool) +QtWidgets.QLineEdit.hasFrame?4() -> bool +QtWidgets.QLineEdit.echoMode?4() -> QLineEdit.EchoMode +QtWidgets.QLineEdit.setEchoMode?4(QLineEdit.EchoMode) +QtWidgets.QLineEdit.isReadOnly?4() -> bool +QtWidgets.QLineEdit.setReadOnly?4(bool) +QtWidgets.QLineEdit.setValidator?4(QValidator) +QtWidgets.QLineEdit.validator?4() -> QValidator +QtWidgets.QLineEdit.sizeHint?4() -> QSize +QtWidgets.QLineEdit.minimumSizeHint?4() -> QSize +QtWidgets.QLineEdit.cursorPosition?4() -> int +QtWidgets.QLineEdit.setCursorPosition?4(int) +QtWidgets.QLineEdit.cursorPositionAt?4(QPoint) -> int +QtWidgets.QLineEdit.setAlignment?4(Qt.Alignment) +QtWidgets.QLineEdit.alignment?4() -> Qt.Alignment +QtWidgets.QLineEdit.cursorForward?4(bool, int steps=1) +QtWidgets.QLineEdit.cursorBackward?4(bool, int steps=1) +QtWidgets.QLineEdit.cursorWordForward?4(bool) +QtWidgets.QLineEdit.cursorWordBackward?4(bool) +QtWidgets.QLineEdit.backspace?4() +QtWidgets.QLineEdit.del_?4() +QtWidgets.QLineEdit.home?4(bool) +QtWidgets.QLineEdit.end?4(bool) +QtWidgets.QLineEdit.isModified?4() -> bool +QtWidgets.QLineEdit.setModified?4(bool) +QtWidgets.QLineEdit.setSelection?4(int, int) +QtWidgets.QLineEdit.hasSelectedText?4() -> bool +QtWidgets.QLineEdit.selectedText?4() -> QString +QtWidgets.QLineEdit.selectionStart?4() -> int +QtWidgets.QLineEdit.isUndoAvailable?4() -> bool +QtWidgets.QLineEdit.isRedoAvailable?4() -> bool +QtWidgets.QLineEdit.setDragEnabled?4(bool) +QtWidgets.QLineEdit.dragEnabled?4() -> bool +QtWidgets.QLineEdit.inputMask?4() -> QString +QtWidgets.QLineEdit.setInputMask?4(QString) +QtWidgets.QLineEdit.hasAcceptableInput?4() -> bool +QtWidgets.QLineEdit.setText?4(QString) +QtWidgets.QLineEdit.clear?4() +QtWidgets.QLineEdit.selectAll?4() +QtWidgets.QLineEdit.undo?4() +QtWidgets.QLineEdit.redo?4() +QtWidgets.QLineEdit.cut?4() +QtWidgets.QLineEdit.copy?4() +QtWidgets.QLineEdit.paste?4() +QtWidgets.QLineEdit.deselect?4() +QtWidgets.QLineEdit.insert?4(QString) +QtWidgets.QLineEdit.createStandardContextMenu?4() -> QMenu +QtWidgets.QLineEdit.textChanged?4(QString) +QtWidgets.QLineEdit.textEdited?4(QString) +QtWidgets.QLineEdit.cursorPositionChanged?4(int, int) +QtWidgets.QLineEdit.returnPressed?4() +QtWidgets.QLineEdit.editingFinished?4() +QtWidgets.QLineEdit.selectionChanged?4() +QtWidgets.QLineEdit.initStyleOption?4(QStyleOptionFrame) +QtWidgets.QLineEdit.mousePressEvent?4(QMouseEvent) +QtWidgets.QLineEdit.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QLineEdit.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QLineEdit.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QLineEdit.keyPressEvent?4(QKeyEvent) +QtWidgets.QLineEdit.focusInEvent?4(QFocusEvent) +QtWidgets.QLineEdit.focusOutEvent?4(QFocusEvent) +QtWidgets.QLineEdit.paintEvent?4(QPaintEvent) +QtWidgets.QLineEdit.dragEnterEvent?4(QDragEnterEvent) +QtWidgets.QLineEdit.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QLineEdit.dragLeaveEvent?4(QDragLeaveEvent) +QtWidgets.QLineEdit.dropEvent?4(QDropEvent) +QtWidgets.QLineEdit.changeEvent?4(QEvent) +QtWidgets.QLineEdit.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QLineEdit.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QLineEdit.cursorRect?4() -> QRect +QtWidgets.QLineEdit.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QLineEdit.event?4(QEvent) -> bool +QtWidgets.QLineEdit.setCompleter?4(QCompleter) +QtWidgets.QLineEdit.completer?4() -> QCompleter +QtWidgets.QLineEdit.setTextMargins?4(int, int, int, int) +QtWidgets.QLineEdit.getTextMargins?4() -> (int, int, int, int) +QtWidgets.QLineEdit.setTextMargins?4(QMargins) +QtWidgets.QLineEdit.textMargins?4() -> QMargins +QtWidgets.QLineEdit.placeholderText?4() -> QString +QtWidgets.QLineEdit.setPlaceholderText?4(QString) +QtWidgets.QLineEdit.setCursorMoveStyle?4(Qt.CursorMoveStyle) +QtWidgets.QLineEdit.cursorMoveStyle?4() -> Qt.CursorMoveStyle +QtWidgets.QLineEdit.setClearButtonEnabled?4(bool) +QtWidgets.QLineEdit.isClearButtonEnabled?4() -> bool +QtWidgets.QLineEdit.addAction?4(QAction) +QtWidgets.QLineEdit.addAction?4(QAction, QLineEdit.ActionPosition) +QtWidgets.QLineEdit.addAction?4(QIcon, QLineEdit.ActionPosition) -> QAction +QtWidgets.QLineEdit.inputMethodQuery?4(Qt.InputMethodQuery, QVariant) -> QVariant +QtWidgets.QLineEdit.selectionEnd?4() -> int +QtWidgets.QLineEdit.selectionLength?4() -> int +QtWidgets.QLineEdit.inputRejected?4() +QtWidgets.QListView.ViewMode?10 +QtWidgets.QListView.ViewMode.ListMode?10 +QtWidgets.QListView.ViewMode.IconMode?10 +QtWidgets.QListView.LayoutMode?10 +QtWidgets.QListView.LayoutMode.SinglePass?10 +QtWidgets.QListView.LayoutMode.Batched?10 +QtWidgets.QListView.ResizeMode?10 +QtWidgets.QListView.ResizeMode.Fixed?10 +QtWidgets.QListView.ResizeMode.Adjust?10 +QtWidgets.QListView.Flow?10 +QtWidgets.QListView.Flow.LeftToRight?10 +QtWidgets.QListView.Flow.TopToBottom?10 +QtWidgets.QListView.Movement?10 +QtWidgets.QListView.Movement.Static?10 +QtWidgets.QListView.Movement.Free?10 +QtWidgets.QListView.Movement.Snap?10 +QtWidgets.QListView?1(QWidget parent=None) +QtWidgets.QListView.__init__?1(self, QWidget parent=None) +QtWidgets.QListView.setMovement?4(QListView.Movement) +QtWidgets.QListView.movement?4() -> QListView.Movement +QtWidgets.QListView.setFlow?4(QListView.Flow) +QtWidgets.QListView.flow?4() -> QListView.Flow +QtWidgets.QListView.setWrapping?4(bool) +QtWidgets.QListView.isWrapping?4() -> bool +QtWidgets.QListView.setResizeMode?4(QListView.ResizeMode) +QtWidgets.QListView.resizeMode?4() -> QListView.ResizeMode +QtWidgets.QListView.setLayoutMode?4(QListView.LayoutMode) +QtWidgets.QListView.layoutMode?4() -> QListView.LayoutMode +QtWidgets.QListView.setSpacing?4(int) +QtWidgets.QListView.spacing?4() -> int +QtWidgets.QListView.setGridSize?4(QSize) +QtWidgets.QListView.gridSize?4() -> QSize +QtWidgets.QListView.setViewMode?4(QListView.ViewMode) +QtWidgets.QListView.viewMode?4() -> QListView.ViewMode +QtWidgets.QListView.clearPropertyFlags?4() +QtWidgets.QListView.isRowHidden?4(int) -> bool +QtWidgets.QListView.setRowHidden?4(int, bool) +QtWidgets.QListView.setModelColumn?4(int) +QtWidgets.QListView.modelColumn?4() -> int +QtWidgets.QListView.setUniformItemSizes?4(bool) +QtWidgets.QListView.uniformItemSizes?4() -> bool +QtWidgets.QListView.visualRect?4(QModelIndex) -> QRect +QtWidgets.QListView.scrollTo?4(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible) +QtWidgets.QListView.indexAt?4(QPoint) -> QModelIndex +QtWidgets.QListView.reset?4() +QtWidgets.QListView.setRootIndex?4(QModelIndex) +QtWidgets.QListView.indexesMoved?4(unknown-type) +QtWidgets.QListView.scrollContentsBy?4(int, int) +QtWidgets.QListView.dataChanged?4(QModelIndex, QModelIndex, unknown-type roles=[]) +QtWidgets.QListView.rowsInserted?4(QModelIndex, int, int) +QtWidgets.QListView.rowsAboutToBeRemoved?4(QModelIndex, int, int) +QtWidgets.QListView.event?4(QEvent) -> bool +QtWidgets.QListView.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QListView.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QListView.timerEvent?4(QTimerEvent) +QtWidgets.QListView.resizeEvent?4(QResizeEvent) +QtWidgets.QListView.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QListView.dragLeaveEvent?4(QDragLeaveEvent) +QtWidgets.QListView.dropEvent?4(QDropEvent) +QtWidgets.QListView.wheelEvent?4(QWheelEvent) +QtWidgets.QListView.startDrag?4(Qt.DropActions) +QtWidgets.QListView.viewOptions?4() -> QStyleOptionViewItem +QtWidgets.QListView.paintEvent?4(QPaintEvent) +QtWidgets.QListView.horizontalOffset?4() -> int +QtWidgets.QListView.verticalOffset?4() -> int +QtWidgets.QListView.moveCursor?4(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex +QtWidgets.QListView.rectForIndex?4(QModelIndex) -> QRect +QtWidgets.QListView.setPositionForIndex?4(QPoint, QModelIndex) +QtWidgets.QListView.setSelection?4(QRect, QItemSelectionModel.SelectionFlags) +QtWidgets.QListView.visualRegionForSelection?4(QItemSelection) -> QRegion +QtWidgets.QListView.selectedIndexes?4() -> unknown-type +QtWidgets.QListView.updateGeometries?4() +QtWidgets.QListView.isIndexHidden?4(QModelIndex) -> bool +QtWidgets.QListView.viewportSizeHint?4() -> QSize +QtWidgets.QListView.setBatchSize?4(int) +QtWidgets.QListView.batchSize?4() -> int +QtWidgets.QListView.setWordWrap?4(bool) +QtWidgets.QListView.wordWrap?4() -> bool +QtWidgets.QListView.setSelectionRectVisible?4(bool) +QtWidgets.QListView.isSelectionRectVisible?4() -> bool +QtWidgets.QListView.selectionChanged?4(QItemSelection, QItemSelection) +QtWidgets.QListView.currentChanged?4(QModelIndex, QModelIndex) +QtWidgets.QListView.setItemAlignment?4(Qt.Alignment) +QtWidgets.QListView.itemAlignment?4() -> Qt.Alignment +QtWidgets.QListWidgetItem.ItemType?10 +QtWidgets.QListWidgetItem.ItemType.Type?10 +QtWidgets.QListWidgetItem.ItemType.UserType?10 +QtWidgets.QListWidgetItem?1(QListWidget parent=None, int type=QListWidgetItem.Type) +QtWidgets.QListWidgetItem.__init__?1(self, QListWidget parent=None, int type=QListWidgetItem.Type) +QtWidgets.QListWidgetItem?1(QString, QListWidget parent=None, int type=QListWidgetItem.Type) +QtWidgets.QListWidgetItem.__init__?1(self, QString, QListWidget parent=None, int type=QListWidgetItem.Type) +QtWidgets.QListWidgetItem?1(QIcon, QString, QListWidget parent=None, int type=QListWidgetItem.Type) +QtWidgets.QListWidgetItem.__init__?1(self, QIcon, QString, QListWidget parent=None, int type=QListWidgetItem.Type) +QtWidgets.QListWidgetItem?1(QListWidgetItem) +QtWidgets.QListWidgetItem.__init__?1(self, QListWidgetItem) +QtWidgets.QListWidgetItem.clone?4() -> QListWidgetItem +QtWidgets.QListWidgetItem.listWidget?4() -> QListWidget +QtWidgets.QListWidgetItem.flags?4() -> Qt.ItemFlags +QtWidgets.QListWidgetItem.text?4() -> QString +QtWidgets.QListWidgetItem.icon?4() -> QIcon +QtWidgets.QListWidgetItem.statusTip?4() -> QString +QtWidgets.QListWidgetItem.toolTip?4() -> QString +QtWidgets.QListWidgetItem.whatsThis?4() -> QString +QtWidgets.QListWidgetItem.font?4() -> QFont +QtWidgets.QListWidgetItem.textAlignment?4() -> int +QtWidgets.QListWidgetItem.setTextAlignment?4(int) +QtWidgets.QListWidgetItem.checkState?4() -> Qt.CheckState +QtWidgets.QListWidgetItem.setCheckState?4(Qt.CheckState) +QtWidgets.QListWidgetItem.sizeHint?4() -> QSize +QtWidgets.QListWidgetItem.setSizeHint?4(QSize) +QtWidgets.QListWidgetItem.data?4(int) -> QVariant +QtWidgets.QListWidgetItem.setData?4(int, QVariant) +QtWidgets.QListWidgetItem.read?4(QDataStream) +QtWidgets.QListWidgetItem.write?4(QDataStream) +QtWidgets.QListWidgetItem.type?4() -> int +QtWidgets.QListWidgetItem.setFlags?4(Qt.ItemFlags) +QtWidgets.QListWidgetItem.setText?4(QString) +QtWidgets.QListWidgetItem.setIcon?4(QIcon) +QtWidgets.QListWidgetItem.setStatusTip?4(QString) +QtWidgets.QListWidgetItem.setToolTip?4(QString) +QtWidgets.QListWidgetItem.setWhatsThis?4(QString) +QtWidgets.QListWidgetItem.setFont?4(QFont) +QtWidgets.QListWidgetItem.background?4() -> QBrush +QtWidgets.QListWidgetItem.setBackground?4(QBrush) +QtWidgets.QListWidgetItem.foreground?4() -> QBrush +QtWidgets.QListWidgetItem.setForeground?4(QBrush) +QtWidgets.QListWidgetItem.setSelected?4(bool) +QtWidgets.QListWidgetItem.isSelected?4() -> bool +QtWidgets.QListWidgetItem.setHidden?4(bool) +QtWidgets.QListWidgetItem.isHidden?4() -> bool +QtWidgets.QListWidget?1(QWidget parent=None) +QtWidgets.QListWidget.__init__?1(self, QWidget parent=None) +QtWidgets.QListWidget.item?4(int) -> QListWidgetItem +QtWidgets.QListWidget.row?4(QListWidgetItem) -> int +QtWidgets.QListWidget.insertItem?4(int, QListWidgetItem) +QtWidgets.QListWidget.insertItem?4(int, QString) +QtWidgets.QListWidget.insertItems?4(int, QStringList) +QtWidgets.QListWidget.addItem?4(QListWidgetItem) +QtWidgets.QListWidget.addItem?4(QString) +QtWidgets.QListWidget.addItems?4(QStringList) +QtWidgets.QListWidget.takeItem?4(int) -> QListWidgetItem +QtWidgets.QListWidget.count?4() -> int +QtWidgets.QListWidget.currentItem?4() -> QListWidgetItem +QtWidgets.QListWidget.setCurrentItem?4(QListWidgetItem) +QtWidgets.QListWidget.setCurrentItem?4(QListWidgetItem, QItemSelectionModel.SelectionFlags) +QtWidgets.QListWidget.currentRow?4() -> int +QtWidgets.QListWidget.setCurrentRow?4(int) +QtWidgets.QListWidget.setCurrentRow?4(int, QItemSelectionModel.SelectionFlags) +QtWidgets.QListWidget.itemAt?4(QPoint) -> QListWidgetItem +QtWidgets.QListWidget.itemAt?4(int, int) -> QListWidgetItem +QtWidgets.QListWidget.itemWidget?4(QListWidgetItem) -> QWidget +QtWidgets.QListWidget.setItemWidget?4(QListWidgetItem, QWidget) +QtWidgets.QListWidget.visualItemRect?4(QListWidgetItem) -> QRect +QtWidgets.QListWidget.sortItems?4(Qt.SortOrder order=Qt.AscendingOrder) +QtWidgets.QListWidget.editItem?4(QListWidgetItem) +QtWidgets.QListWidget.openPersistentEditor?4(QListWidgetItem) +QtWidgets.QListWidget.closePersistentEditor?4(QListWidgetItem) +QtWidgets.QListWidget.selectedItems?4() -> unknown-type +QtWidgets.QListWidget.findItems?4(QString, Qt.MatchFlags) -> unknown-type +QtWidgets.QListWidget.clear?4() +QtWidgets.QListWidget.scrollToItem?4(QListWidgetItem, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible) +QtWidgets.QListWidget.itemPressed?4(QListWidgetItem) +QtWidgets.QListWidget.itemClicked?4(QListWidgetItem) +QtWidgets.QListWidget.itemDoubleClicked?4(QListWidgetItem) +QtWidgets.QListWidget.itemActivated?4(QListWidgetItem) +QtWidgets.QListWidget.itemEntered?4(QListWidgetItem) +QtWidgets.QListWidget.itemChanged?4(QListWidgetItem) +QtWidgets.QListWidget.currentItemChanged?4(QListWidgetItem, QListWidgetItem) +QtWidgets.QListWidget.currentTextChanged?4(QString) +QtWidgets.QListWidget.currentRowChanged?4(int) +QtWidgets.QListWidget.itemSelectionChanged?4() +QtWidgets.QListWidget.mimeTypes?4() -> QStringList +QtWidgets.QListWidget.mimeData?4(unknown-type) -> QMimeData +QtWidgets.QListWidget.dropMimeData?4(int, QMimeData, Qt.DropAction) -> bool +QtWidgets.QListWidget.supportedDropActions?4() -> Qt.DropActions +QtWidgets.QListWidget.items?4(QMimeData) -> unknown-type +QtWidgets.QListWidget.indexFromItem?4(QListWidgetItem) -> QModelIndex +QtWidgets.QListWidget.itemFromIndex?4(QModelIndex) -> QListWidgetItem +QtWidgets.QListWidget.event?4(QEvent) -> bool +QtWidgets.QListWidget.setSortingEnabled?4(bool) +QtWidgets.QListWidget.isSortingEnabled?4() -> bool +QtWidgets.QListWidget.dropEvent?4(QDropEvent) +QtWidgets.QListWidget.removeItemWidget?4(QListWidgetItem) +QtWidgets.QListWidget.setSelectionModel?4(QItemSelectionModel) +QtWidgets.QListWidget.isPersistentEditorOpen?4(QListWidgetItem) -> bool +QtWidgets.QMainWindow.DockOption?10 +QtWidgets.QMainWindow.DockOption.AnimatedDocks?10 +QtWidgets.QMainWindow.DockOption.AllowNestedDocks?10 +QtWidgets.QMainWindow.DockOption.AllowTabbedDocks?10 +QtWidgets.QMainWindow.DockOption.ForceTabbedDocks?10 +QtWidgets.QMainWindow.DockOption.VerticalTabs?10 +QtWidgets.QMainWindow.DockOption.GroupedDragging?10 +QtWidgets.QMainWindow?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QMainWindow.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QMainWindow.iconSize?4() -> QSize +QtWidgets.QMainWindow.setIconSize?4(QSize) +QtWidgets.QMainWindow.toolButtonStyle?4() -> Qt.ToolButtonStyle +QtWidgets.QMainWindow.setToolButtonStyle?4(Qt.ToolButtonStyle) +QtWidgets.QMainWindow.menuBar?4() -> QMenuBar +QtWidgets.QMainWindow.setMenuBar?4(QMenuBar) +QtWidgets.QMainWindow.statusBar?4() -> QStatusBar +QtWidgets.QMainWindow.setStatusBar?4(QStatusBar) +QtWidgets.QMainWindow.centralWidget?4() -> QWidget +QtWidgets.QMainWindow.setCentralWidget?4(QWidget) +QtWidgets.QMainWindow.setCorner?4(Qt.Corner, Qt.DockWidgetArea) +QtWidgets.QMainWindow.corner?4(Qt.Corner) -> Qt.DockWidgetArea +QtWidgets.QMainWindow.addToolBarBreak?4(Qt.ToolBarArea area=Qt.TopToolBarArea) +QtWidgets.QMainWindow.insertToolBarBreak?4(QToolBar) +QtWidgets.QMainWindow.addToolBar?4(Qt.ToolBarArea, QToolBar) +QtWidgets.QMainWindow.addToolBar?4(QToolBar) +QtWidgets.QMainWindow.addToolBar?4(QString) -> QToolBar +QtWidgets.QMainWindow.insertToolBar?4(QToolBar, QToolBar) +QtWidgets.QMainWindow.removeToolBar?4(QToolBar) +QtWidgets.QMainWindow.toolBarArea?4(QToolBar) -> Qt.ToolBarArea +QtWidgets.QMainWindow.addDockWidget?4(Qt.DockWidgetArea, QDockWidget) +QtWidgets.QMainWindow.addDockWidget?4(Qt.DockWidgetArea, QDockWidget, Qt.Orientation) +QtWidgets.QMainWindow.splitDockWidget?4(QDockWidget, QDockWidget, Qt.Orientation) +QtWidgets.QMainWindow.removeDockWidget?4(QDockWidget) +QtWidgets.QMainWindow.dockWidgetArea?4(QDockWidget) -> Qt.DockWidgetArea +QtWidgets.QMainWindow.saveState?4(int version=0) -> QByteArray +QtWidgets.QMainWindow.restoreState?4(QByteArray, int version=0) -> bool +QtWidgets.QMainWindow.createPopupMenu?4() -> QMenu +QtWidgets.QMainWindow.setAnimated?4(bool) +QtWidgets.QMainWindow.setDockNestingEnabled?4(bool) +QtWidgets.QMainWindow.iconSizeChanged?4(QSize) +QtWidgets.QMainWindow.toolButtonStyleChanged?4(Qt.ToolButtonStyle) +QtWidgets.QMainWindow.tabifiedDockWidgetActivated?4(QDockWidget) +QtWidgets.QMainWindow.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QMainWindow.event?4(QEvent) -> bool +QtWidgets.QMainWindow.isAnimated?4() -> bool +QtWidgets.QMainWindow.isDockNestingEnabled?4() -> bool +QtWidgets.QMainWindow.isSeparator?4(QPoint) -> bool +QtWidgets.QMainWindow.menuWidget?4() -> QWidget +QtWidgets.QMainWindow.setMenuWidget?4(QWidget) +QtWidgets.QMainWindow.tabifyDockWidget?4(QDockWidget, QDockWidget) +QtWidgets.QMainWindow.setDockOptions?4(QMainWindow.DockOptions) +QtWidgets.QMainWindow.dockOptions?4() -> QMainWindow.DockOptions +QtWidgets.QMainWindow.removeToolBarBreak?4(QToolBar) +QtWidgets.QMainWindow.toolBarBreak?4(QToolBar) -> bool +QtWidgets.QMainWindow.setUnifiedTitleAndToolBarOnMac?4(bool) +QtWidgets.QMainWindow.unifiedTitleAndToolBarOnMac?4() -> bool +QtWidgets.QMainWindow.restoreDockWidget?4(QDockWidget) -> bool +QtWidgets.QMainWindow.documentMode?4() -> bool +QtWidgets.QMainWindow.setDocumentMode?4(bool) +QtWidgets.QMainWindow.tabShape?4() -> QTabWidget.TabShape +QtWidgets.QMainWindow.setTabShape?4(QTabWidget.TabShape) +QtWidgets.QMainWindow.tabPosition?4(Qt.DockWidgetArea) -> QTabWidget.TabPosition +QtWidgets.QMainWindow.setTabPosition?4(Qt.DockWidgetAreas, QTabWidget.TabPosition) +QtWidgets.QMainWindow.tabifiedDockWidgets?4(QDockWidget) -> unknown-type +QtWidgets.QMainWindow.takeCentralWidget?4() -> QWidget +QtWidgets.QMainWindow.resizeDocks?4(unknown-type, unknown-type, Qt.Orientation) +QtWidgets.QMainWindow.DockOptions?1() +QtWidgets.QMainWindow.DockOptions.__init__?1(self) +QtWidgets.QMainWindow.DockOptions?1(int) +QtWidgets.QMainWindow.DockOptions.__init__?1(self, int) +QtWidgets.QMainWindow.DockOptions?1(QMainWindow.DockOptions) +QtWidgets.QMainWindow.DockOptions.__init__?1(self, QMainWindow.DockOptions) +QtWidgets.QMdiArea.WindowOrder?10 +QtWidgets.QMdiArea.WindowOrder.CreationOrder?10 +QtWidgets.QMdiArea.WindowOrder.StackingOrder?10 +QtWidgets.QMdiArea.WindowOrder.ActivationHistoryOrder?10 +QtWidgets.QMdiArea.ViewMode?10 +QtWidgets.QMdiArea.ViewMode.SubWindowView?10 +QtWidgets.QMdiArea.ViewMode.TabbedView?10 +QtWidgets.QMdiArea.AreaOption?10 +QtWidgets.QMdiArea.AreaOption.DontMaximizeSubWindowOnActivation?10 +QtWidgets.QMdiArea?1(QWidget parent=None) +QtWidgets.QMdiArea.__init__?1(self, QWidget parent=None) +QtWidgets.QMdiArea.sizeHint?4() -> QSize +QtWidgets.QMdiArea.minimumSizeHint?4() -> QSize +QtWidgets.QMdiArea.activeSubWindow?4() -> QMdiSubWindow +QtWidgets.QMdiArea.addSubWindow?4(QWidget, Qt.WindowFlags flags=Qt.WindowFlags()) -> QMdiSubWindow +QtWidgets.QMdiArea.subWindowList?4(QMdiArea.WindowOrder order=QMdiArea.CreationOrder) -> unknown-type +QtWidgets.QMdiArea.currentSubWindow?4() -> QMdiSubWindow +QtWidgets.QMdiArea.removeSubWindow?4(QWidget) +QtWidgets.QMdiArea.background?4() -> QBrush +QtWidgets.QMdiArea.setBackground?4(QBrush) +QtWidgets.QMdiArea.setOption?4(QMdiArea.AreaOption, bool on=True) +QtWidgets.QMdiArea.testOption?4(QMdiArea.AreaOption) -> bool +QtWidgets.QMdiArea.subWindowActivated?4(QMdiSubWindow) +QtWidgets.QMdiArea.setActiveSubWindow?4(QMdiSubWindow) +QtWidgets.QMdiArea.tileSubWindows?4() +QtWidgets.QMdiArea.cascadeSubWindows?4() +QtWidgets.QMdiArea.closeActiveSubWindow?4() +QtWidgets.QMdiArea.closeAllSubWindows?4() +QtWidgets.QMdiArea.activateNextSubWindow?4() +QtWidgets.QMdiArea.activatePreviousSubWindow?4() +QtWidgets.QMdiArea.setupViewport?4(QWidget) +QtWidgets.QMdiArea.event?4(QEvent) -> bool +QtWidgets.QMdiArea.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QMdiArea.paintEvent?4(QPaintEvent) +QtWidgets.QMdiArea.childEvent?4(QChildEvent) +QtWidgets.QMdiArea.resizeEvent?4(QResizeEvent) +QtWidgets.QMdiArea.timerEvent?4(QTimerEvent) +QtWidgets.QMdiArea.showEvent?4(QShowEvent) +QtWidgets.QMdiArea.viewportEvent?4(QEvent) -> bool +QtWidgets.QMdiArea.scrollContentsBy?4(int, int) +QtWidgets.QMdiArea.activationOrder?4() -> QMdiArea.WindowOrder +QtWidgets.QMdiArea.setActivationOrder?4(QMdiArea.WindowOrder) +QtWidgets.QMdiArea.setViewMode?4(QMdiArea.ViewMode) +QtWidgets.QMdiArea.viewMode?4() -> QMdiArea.ViewMode +QtWidgets.QMdiArea.setTabShape?4(QTabWidget.TabShape) +QtWidgets.QMdiArea.tabShape?4() -> QTabWidget.TabShape +QtWidgets.QMdiArea.setTabPosition?4(QTabWidget.TabPosition) +QtWidgets.QMdiArea.tabPosition?4() -> QTabWidget.TabPosition +QtWidgets.QMdiArea.documentMode?4() -> bool +QtWidgets.QMdiArea.setDocumentMode?4(bool) +QtWidgets.QMdiArea.setTabsClosable?4(bool) +QtWidgets.QMdiArea.tabsClosable?4() -> bool +QtWidgets.QMdiArea.setTabsMovable?4(bool) +QtWidgets.QMdiArea.tabsMovable?4() -> bool +QtWidgets.QMdiArea.AreaOptions?1() +QtWidgets.QMdiArea.AreaOptions.__init__?1(self) +QtWidgets.QMdiArea.AreaOptions?1(int) +QtWidgets.QMdiArea.AreaOptions.__init__?1(self, int) +QtWidgets.QMdiArea.AreaOptions?1(QMdiArea.AreaOptions) +QtWidgets.QMdiArea.AreaOptions.__init__?1(self, QMdiArea.AreaOptions) +QtWidgets.QMdiSubWindow.SubWindowOption?10 +QtWidgets.QMdiSubWindow.SubWindowOption.RubberBandResize?10 +QtWidgets.QMdiSubWindow.SubWindowOption.RubberBandMove?10 +QtWidgets.QMdiSubWindow?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QMdiSubWindow.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QMdiSubWindow.sizeHint?4() -> QSize +QtWidgets.QMdiSubWindow.minimumSizeHint?4() -> QSize +QtWidgets.QMdiSubWindow.setWidget?4(QWidget) +QtWidgets.QMdiSubWindow.widget?4() -> QWidget +QtWidgets.QMdiSubWindow.isShaded?4() -> bool +QtWidgets.QMdiSubWindow.setOption?4(QMdiSubWindow.SubWindowOption, bool on=True) +QtWidgets.QMdiSubWindow.testOption?4(QMdiSubWindow.SubWindowOption) -> bool +QtWidgets.QMdiSubWindow.setKeyboardSingleStep?4(int) +QtWidgets.QMdiSubWindow.keyboardSingleStep?4() -> int +QtWidgets.QMdiSubWindow.setKeyboardPageStep?4(int) +QtWidgets.QMdiSubWindow.keyboardPageStep?4() -> int +QtWidgets.QMdiSubWindow.setSystemMenu?4(QMenu) +QtWidgets.QMdiSubWindow.systemMenu?4() -> QMenu +QtWidgets.QMdiSubWindow.mdiArea?4() -> QMdiArea +QtWidgets.QMdiSubWindow.windowStateChanged?4(Qt.WindowStates, Qt.WindowStates) +QtWidgets.QMdiSubWindow.aboutToActivate?4() +QtWidgets.QMdiSubWindow.showSystemMenu?4() +QtWidgets.QMdiSubWindow.showShaded?4() +QtWidgets.QMdiSubWindow.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QMdiSubWindow.event?4(QEvent) -> bool +QtWidgets.QMdiSubWindow.showEvent?4(QShowEvent) +QtWidgets.QMdiSubWindow.hideEvent?4(QHideEvent) +QtWidgets.QMdiSubWindow.changeEvent?4(QEvent) +QtWidgets.QMdiSubWindow.closeEvent?4(QCloseEvent) +QtWidgets.QMdiSubWindow.leaveEvent?4(QEvent) +QtWidgets.QMdiSubWindow.resizeEvent?4(QResizeEvent) +QtWidgets.QMdiSubWindow.timerEvent?4(QTimerEvent) +QtWidgets.QMdiSubWindow.moveEvent?4(QMoveEvent) +QtWidgets.QMdiSubWindow.paintEvent?4(QPaintEvent) +QtWidgets.QMdiSubWindow.mousePressEvent?4(QMouseEvent) +QtWidgets.QMdiSubWindow.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QMdiSubWindow.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QMdiSubWindow.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QMdiSubWindow.keyPressEvent?4(QKeyEvent) +QtWidgets.QMdiSubWindow.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QMdiSubWindow.focusInEvent?4(QFocusEvent) +QtWidgets.QMdiSubWindow.focusOutEvent?4(QFocusEvent) +QtWidgets.QMdiSubWindow.childEvent?4(QChildEvent) +QtWidgets.QMdiSubWindow.SubWindowOptions?1() +QtWidgets.QMdiSubWindow.SubWindowOptions.__init__?1(self) +QtWidgets.QMdiSubWindow.SubWindowOptions?1(int) +QtWidgets.QMdiSubWindow.SubWindowOptions.__init__?1(self, int) +QtWidgets.QMdiSubWindow.SubWindowOptions?1(QMdiSubWindow.SubWindowOptions) +QtWidgets.QMdiSubWindow.SubWindowOptions.__init__?1(self, QMdiSubWindow.SubWindowOptions) +QtWidgets.QMenu?1(QWidget parent=None) +QtWidgets.QMenu.__init__?1(self, QWidget parent=None) +QtWidgets.QMenu?1(QString, QWidget parent=None) +QtWidgets.QMenu.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QMenu.addAction?4(QAction) +QtWidgets.QMenu.addAction?4(QString) -> QAction +QtWidgets.QMenu.addAction?4(QIcon, QString) -> QAction +QtWidgets.QMenu.addAction?4(QString, object, QKeySequence shortcut=0) -> QAction +QtWidgets.QMenu.addAction?4(QIcon, QString, object, QKeySequence shortcut=0) -> QAction +QtWidgets.QMenu.addMenu?4(QMenu) -> QAction +QtWidgets.QMenu.addMenu?4(QString) -> QMenu +QtWidgets.QMenu.addMenu?4(QIcon, QString) -> QMenu +QtWidgets.QMenu.addSeparator?4() -> QAction +QtWidgets.QMenu.insertMenu?4(QAction, QMenu) -> QAction +QtWidgets.QMenu.insertSeparator?4(QAction) -> QAction +QtWidgets.QMenu.clear?4() +QtWidgets.QMenu.setTearOffEnabled?4(bool) +QtWidgets.QMenu.isTearOffEnabled?4() -> bool +QtWidgets.QMenu.isTearOffMenuVisible?4() -> bool +QtWidgets.QMenu.hideTearOffMenu?4() +QtWidgets.QMenu.setDefaultAction?4(QAction) +QtWidgets.QMenu.defaultAction?4() -> QAction +QtWidgets.QMenu.setActiveAction?4(QAction) +QtWidgets.QMenu.activeAction?4() -> QAction +QtWidgets.QMenu.popup?4(QPoint, QAction action=None) +QtWidgets.QMenu.exec_?4() -> QAction +QtWidgets.QMenu.exec?4() -> QAction +QtWidgets.QMenu.exec_?4(QPoint, QAction action=None) -> QAction +QtWidgets.QMenu.exec?4(QPoint, QAction action=None) -> QAction +QtWidgets.QMenu.exec_?4(unknown-type, QPoint, QAction at=None, QWidget parent=None) -> QAction +QtWidgets.QMenu.exec?4(unknown-type, QPoint, QAction at=None, QWidget parent=None) -> QAction +QtWidgets.QMenu.sizeHint?4() -> QSize +QtWidgets.QMenu.actionGeometry?4(QAction) -> QRect +QtWidgets.QMenu.actionAt?4(QPoint) -> QAction +QtWidgets.QMenu.menuAction?4() -> QAction +QtWidgets.QMenu.title?4() -> QString +QtWidgets.QMenu.setTitle?4(QString) +QtWidgets.QMenu.icon?4() -> QIcon +QtWidgets.QMenu.setIcon?4(QIcon) +QtWidgets.QMenu.setNoReplayFor?4(QWidget) +QtWidgets.QMenu.aboutToHide?4() +QtWidgets.QMenu.aboutToShow?4() +QtWidgets.QMenu.hovered?4(QAction) +QtWidgets.QMenu.triggered?4(QAction) +QtWidgets.QMenu.columnCount?4() -> int +QtWidgets.QMenu.initStyleOption?4(QStyleOptionMenuItem, QAction) +QtWidgets.QMenu.changeEvent?4(QEvent) +QtWidgets.QMenu.keyPressEvent?4(QKeyEvent) +QtWidgets.QMenu.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QMenu.mousePressEvent?4(QMouseEvent) +QtWidgets.QMenu.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QMenu.wheelEvent?4(QWheelEvent) +QtWidgets.QMenu.enterEvent?4(QEvent) +QtWidgets.QMenu.leaveEvent?4(QEvent) +QtWidgets.QMenu.hideEvent?4(QHideEvent) +QtWidgets.QMenu.paintEvent?4(QPaintEvent) +QtWidgets.QMenu.actionEvent?4(QActionEvent) +QtWidgets.QMenu.timerEvent?4(QTimerEvent) +QtWidgets.QMenu.event?4(QEvent) -> bool +QtWidgets.QMenu.focusNextPrevChild?4(bool) -> bool +QtWidgets.QMenu.isEmpty?4() -> bool +QtWidgets.QMenu.separatorsCollapsible?4() -> bool +QtWidgets.QMenu.setSeparatorsCollapsible?4(bool) +QtWidgets.QMenu.addSection?4(QString) -> QAction +QtWidgets.QMenu.addSection?4(QIcon, QString) -> QAction +QtWidgets.QMenu.insertSection?4(QAction, QString) -> QAction +QtWidgets.QMenu.insertSection?4(QAction, QIcon, QString) -> QAction +QtWidgets.QMenu.toolTipsVisible?4() -> bool +QtWidgets.QMenu.setToolTipsVisible?4(bool) +QtWidgets.QMenu.showTearOffMenu?4() +QtWidgets.QMenu.showTearOffMenu?4(QPoint) +QtWidgets.QMenuBar?1(QWidget parent=None) +QtWidgets.QMenuBar.__init__?1(self, QWidget parent=None) +QtWidgets.QMenuBar.addAction?4(QAction) +QtWidgets.QMenuBar.addAction?4(QString) -> QAction +QtWidgets.QMenuBar.addAction?4(QString, object) -> QAction +QtWidgets.QMenuBar.addMenu?4(QMenu) -> QAction +QtWidgets.QMenuBar.addMenu?4(QString) -> QMenu +QtWidgets.QMenuBar.addMenu?4(QIcon, QString) -> QMenu +QtWidgets.QMenuBar.addSeparator?4() -> QAction +QtWidgets.QMenuBar.insertMenu?4(QAction, QMenu) -> QAction +QtWidgets.QMenuBar.insertSeparator?4(QAction) -> QAction +QtWidgets.QMenuBar.clear?4() +QtWidgets.QMenuBar.activeAction?4() -> QAction +QtWidgets.QMenuBar.setActiveAction?4(QAction) +QtWidgets.QMenuBar.setDefaultUp?4(bool) +QtWidgets.QMenuBar.isDefaultUp?4() -> bool +QtWidgets.QMenuBar.sizeHint?4() -> QSize +QtWidgets.QMenuBar.minimumSizeHint?4() -> QSize +QtWidgets.QMenuBar.heightForWidth?4(int) -> int +QtWidgets.QMenuBar.actionGeometry?4(QAction) -> QRect +QtWidgets.QMenuBar.actionAt?4(QPoint) -> QAction +QtWidgets.QMenuBar.setCornerWidget?4(QWidget, Qt.Corner corner=Qt.TopRightCorner) +QtWidgets.QMenuBar.cornerWidget?4(Qt.Corner corner=Qt.TopRightCorner) -> QWidget +QtWidgets.QMenuBar.setVisible?4(bool) +QtWidgets.QMenuBar.triggered?4(QAction) +QtWidgets.QMenuBar.hovered?4(QAction) +QtWidgets.QMenuBar.initStyleOption?4(QStyleOptionMenuItem, QAction) +QtWidgets.QMenuBar.changeEvent?4(QEvent) +QtWidgets.QMenuBar.keyPressEvent?4(QKeyEvent) +QtWidgets.QMenuBar.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QMenuBar.mousePressEvent?4(QMouseEvent) +QtWidgets.QMenuBar.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QMenuBar.leaveEvent?4(QEvent) +QtWidgets.QMenuBar.paintEvent?4(QPaintEvent) +QtWidgets.QMenuBar.resizeEvent?4(QResizeEvent) +QtWidgets.QMenuBar.actionEvent?4(QActionEvent) +QtWidgets.QMenuBar.focusOutEvent?4(QFocusEvent) +QtWidgets.QMenuBar.focusInEvent?4(QFocusEvent) +QtWidgets.QMenuBar.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QMenuBar.event?4(QEvent) -> bool +QtWidgets.QMenuBar.timerEvent?4(QTimerEvent) +QtWidgets.QMenuBar.isNativeMenuBar?4() -> bool +QtWidgets.QMenuBar.setNativeMenuBar?4(bool) +QtWidgets.QMessageBox.StandardButton?10 +QtWidgets.QMessageBox.StandardButton.NoButton?10 +QtWidgets.QMessageBox.StandardButton.Ok?10 +QtWidgets.QMessageBox.StandardButton.Save?10 +QtWidgets.QMessageBox.StandardButton.SaveAll?10 +QtWidgets.QMessageBox.StandardButton.Open?10 +QtWidgets.QMessageBox.StandardButton.Yes?10 +QtWidgets.QMessageBox.StandardButton.YesToAll?10 +QtWidgets.QMessageBox.StandardButton.No?10 +QtWidgets.QMessageBox.StandardButton.NoToAll?10 +QtWidgets.QMessageBox.StandardButton.Abort?10 +QtWidgets.QMessageBox.StandardButton.Retry?10 +QtWidgets.QMessageBox.StandardButton.Ignore?10 +QtWidgets.QMessageBox.StandardButton.Close?10 +QtWidgets.QMessageBox.StandardButton.Cancel?10 +QtWidgets.QMessageBox.StandardButton.Discard?10 +QtWidgets.QMessageBox.StandardButton.Help?10 +QtWidgets.QMessageBox.StandardButton.Apply?10 +QtWidgets.QMessageBox.StandardButton.Reset?10 +QtWidgets.QMessageBox.StandardButton.RestoreDefaults?10 +QtWidgets.QMessageBox.StandardButton.FirstButton?10 +QtWidgets.QMessageBox.StandardButton.LastButton?10 +QtWidgets.QMessageBox.StandardButton.YesAll?10 +QtWidgets.QMessageBox.StandardButton.NoAll?10 +QtWidgets.QMessageBox.StandardButton.Default?10 +QtWidgets.QMessageBox.StandardButton.Escape?10 +QtWidgets.QMessageBox.StandardButton.FlagMask?10 +QtWidgets.QMessageBox.StandardButton.ButtonMask?10 +QtWidgets.QMessageBox.Icon?10 +QtWidgets.QMessageBox.Icon.NoIcon?10 +QtWidgets.QMessageBox.Icon.Information?10 +QtWidgets.QMessageBox.Icon.Warning?10 +QtWidgets.QMessageBox.Icon.Critical?10 +QtWidgets.QMessageBox.Icon.Question?10 +QtWidgets.QMessageBox.ButtonRole?10 +QtWidgets.QMessageBox.ButtonRole.InvalidRole?10 +QtWidgets.QMessageBox.ButtonRole.AcceptRole?10 +QtWidgets.QMessageBox.ButtonRole.RejectRole?10 +QtWidgets.QMessageBox.ButtonRole.DestructiveRole?10 +QtWidgets.QMessageBox.ButtonRole.ActionRole?10 +QtWidgets.QMessageBox.ButtonRole.HelpRole?10 +QtWidgets.QMessageBox.ButtonRole.YesRole?10 +QtWidgets.QMessageBox.ButtonRole.NoRole?10 +QtWidgets.QMessageBox.ButtonRole.ResetRole?10 +QtWidgets.QMessageBox.ButtonRole.ApplyRole?10 +QtWidgets.QMessageBox?1(QWidget parent=None) +QtWidgets.QMessageBox.__init__?1(self, QWidget parent=None) +QtWidgets.QMessageBox?1(QMessageBox.Icon, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.NoButton, QWidget parent=None, Qt.WindowFlags flags=Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint) +QtWidgets.QMessageBox.__init__?1(self, QMessageBox.Icon, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.NoButton, QWidget parent=None, Qt.WindowFlags flags=Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint) +QtWidgets.QMessageBox.text?4() -> QString +QtWidgets.QMessageBox.setText?4(QString) +QtWidgets.QMessageBox.icon?4() -> QMessageBox.Icon +QtWidgets.QMessageBox.setIcon?4(QMessageBox.Icon) +QtWidgets.QMessageBox.iconPixmap?4() -> QPixmap +QtWidgets.QMessageBox.setIconPixmap?4(QPixmap) +QtWidgets.QMessageBox.textFormat?4() -> Qt.TextFormat +QtWidgets.QMessageBox.setTextFormat?4(Qt.TextFormat) +QtWidgets.QMessageBox.information?4(QWidget, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.Ok, QMessageBox.StandardButton defaultButton=QMessageBox.NoButton) -> QMessageBox.StandardButton +QtWidgets.QMessageBox.question?4(QWidget, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.StandardButtons(QMessageBox.Yes|QMessageBox.No), QMessageBox.StandardButton defaultButton=QMessageBox.NoButton) -> QMessageBox.StandardButton +QtWidgets.QMessageBox.warning?4(QWidget, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.Ok, QMessageBox.StandardButton defaultButton=QMessageBox.NoButton) -> QMessageBox.StandardButton +QtWidgets.QMessageBox.critical?4(QWidget, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.Ok, QMessageBox.StandardButton defaultButton=QMessageBox.NoButton) -> QMessageBox.StandardButton +QtWidgets.QMessageBox.about?4(QWidget, QString, QString) +QtWidgets.QMessageBox.aboutQt?4(QWidget, QString title='') +QtWidgets.QMessageBox.standardIcon?4(QMessageBox.Icon) -> QPixmap +QtWidgets.QMessageBox.event?4(QEvent) -> bool +QtWidgets.QMessageBox.resizeEvent?4(QResizeEvent) +QtWidgets.QMessageBox.showEvent?4(QShowEvent) +QtWidgets.QMessageBox.closeEvent?4(QCloseEvent) +QtWidgets.QMessageBox.keyPressEvent?4(QKeyEvent) +QtWidgets.QMessageBox.changeEvent?4(QEvent) +QtWidgets.QMessageBox.addButton?4(QAbstractButton, QMessageBox.ButtonRole) +QtWidgets.QMessageBox.addButton?4(QString, QMessageBox.ButtonRole) -> QPushButton +QtWidgets.QMessageBox.addButton?4(QMessageBox.StandardButton) -> QPushButton +QtWidgets.QMessageBox.removeButton?4(QAbstractButton) +QtWidgets.QMessageBox.setStandardButtons?4(QMessageBox.StandardButtons) +QtWidgets.QMessageBox.standardButtons?4() -> QMessageBox.StandardButtons +QtWidgets.QMessageBox.standardButton?4(QAbstractButton) -> QMessageBox.StandardButton +QtWidgets.QMessageBox.button?4(QMessageBox.StandardButton) -> QAbstractButton +QtWidgets.QMessageBox.defaultButton?4() -> QPushButton +QtWidgets.QMessageBox.setDefaultButton?4(QPushButton) +QtWidgets.QMessageBox.setDefaultButton?4(QMessageBox.StandardButton) +QtWidgets.QMessageBox.escapeButton?4() -> QAbstractButton +QtWidgets.QMessageBox.setEscapeButton?4(QAbstractButton) +QtWidgets.QMessageBox.setEscapeButton?4(QMessageBox.StandardButton) +QtWidgets.QMessageBox.clickedButton?4() -> QAbstractButton +QtWidgets.QMessageBox.informativeText?4() -> QString +QtWidgets.QMessageBox.setInformativeText?4(QString) +QtWidgets.QMessageBox.detailedText?4() -> QString +QtWidgets.QMessageBox.setDetailedText?4(QString) +QtWidgets.QMessageBox.setWindowTitle?4(QString) +QtWidgets.QMessageBox.setWindowModality?4(Qt.WindowModality) +QtWidgets.QMessageBox.open?4() +QtWidgets.QMessageBox.open?4(object) +QtWidgets.QMessageBox.buttons?4() -> unknown-type +QtWidgets.QMessageBox.buttonRole?4(QAbstractButton) -> QMessageBox.ButtonRole +QtWidgets.QMessageBox.buttonClicked?4(QAbstractButton) +QtWidgets.QMessageBox.setTextInteractionFlags?4(Qt.TextInteractionFlags) +QtWidgets.QMessageBox.textInteractionFlags?4() -> Qt.TextInteractionFlags +QtWidgets.QMessageBox.setCheckBox?4(QCheckBox) +QtWidgets.QMessageBox.checkBox?4() -> QCheckBox +QtWidgets.QMessageBox.StandardButtons?1() +QtWidgets.QMessageBox.StandardButtons.__init__?1(self) +QtWidgets.QMessageBox.StandardButtons?1(int) +QtWidgets.QMessageBox.StandardButtons.__init__?1(self, int) +QtWidgets.QMessageBox.StandardButtons?1(QMessageBox.StandardButtons) +QtWidgets.QMessageBox.StandardButtons.__init__?1(self, QMessageBox.StandardButtons) +QtWidgets.QMouseEventTransition?1(QState sourceState=None) +QtWidgets.QMouseEventTransition.__init__?1(self, QState sourceState=None) +QtWidgets.QMouseEventTransition?1(QObject, QEvent.Type, Qt.MouseButton, QState sourceState=None) +QtWidgets.QMouseEventTransition.__init__?1(self, QObject, QEvent.Type, Qt.MouseButton, QState sourceState=None) +QtWidgets.QMouseEventTransition.button?4() -> Qt.MouseButton +QtWidgets.QMouseEventTransition.setButton?4(Qt.MouseButton) +QtWidgets.QMouseEventTransition.modifierMask?4() -> Qt.KeyboardModifiers +QtWidgets.QMouseEventTransition.setModifierMask?4(Qt.KeyboardModifiers) +QtWidgets.QMouseEventTransition.hitTestPath?4() -> QPainterPath +QtWidgets.QMouseEventTransition.setHitTestPath?4(QPainterPath) +QtWidgets.QMouseEventTransition.onTransition?4(QEvent) +QtWidgets.QMouseEventTransition.eventTest?4(QEvent) -> bool +QtWidgets.QOpenGLWidget.UpdateBehavior?10 +QtWidgets.QOpenGLWidget.UpdateBehavior.NoPartialUpdate?10 +QtWidgets.QOpenGLWidget.UpdateBehavior.PartialUpdate?10 +QtWidgets.QOpenGLWidget?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QOpenGLWidget.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QOpenGLWidget.setFormat?4(QSurfaceFormat) +QtWidgets.QOpenGLWidget.format?4() -> QSurfaceFormat +QtWidgets.QOpenGLWidget.isValid?4() -> bool +QtWidgets.QOpenGLWidget.makeCurrent?4() +QtWidgets.QOpenGLWidget.doneCurrent?4() +QtWidgets.QOpenGLWidget.context?4() -> QOpenGLContext +QtWidgets.QOpenGLWidget.defaultFramebufferObject?4() -> int +QtWidgets.QOpenGLWidget.grabFramebuffer?4() -> QImage +QtWidgets.QOpenGLWidget.aboutToCompose?4() +QtWidgets.QOpenGLWidget.frameSwapped?4() +QtWidgets.QOpenGLWidget.aboutToResize?4() +QtWidgets.QOpenGLWidget.resized?4() +QtWidgets.QOpenGLWidget.initializeGL?4() +QtWidgets.QOpenGLWidget.resizeGL?4(int, int) +QtWidgets.QOpenGLWidget.paintGL?4() +QtWidgets.QOpenGLWidget.paintEvent?4(QPaintEvent) +QtWidgets.QOpenGLWidget.resizeEvent?4(QResizeEvent) +QtWidgets.QOpenGLWidget.event?4(QEvent) -> bool +QtWidgets.QOpenGLWidget.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtWidgets.QOpenGLWidget.paintEngine?4() -> QPaintEngine +QtWidgets.QOpenGLWidget.setUpdateBehavior?4(QOpenGLWidget.UpdateBehavior) +QtWidgets.QOpenGLWidget.updateBehavior?4() -> QOpenGLWidget.UpdateBehavior +QtWidgets.QOpenGLWidget.textureFormat?4() -> int +QtWidgets.QOpenGLWidget.setTextureFormat?4(int) +QtWidgets.QPlainTextEdit.LineWrapMode?10 +QtWidgets.QPlainTextEdit.LineWrapMode.NoWrap?10 +QtWidgets.QPlainTextEdit.LineWrapMode.WidgetWidth?10 +QtWidgets.QPlainTextEdit?1(QWidget parent=None) +QtWidgets.QPlainTextEdit.__init__?1(self, QWidget parent=None) +QtWidgets.QPlainTextEdit?1(QString, QWidget parent=None) +QtWidgets.QPlainTextEdit.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QPlainTextEdit.setDocument?4(QTextDocument) +QtWidgets.QPlainTextEdit.document?4() -> QTextDocument +QtWidgets.QPlainTextEdit.setTextCursor?4(QTextCursor) +QtWidgets.QPlainTextEdit.textCursor?4() -> QTextCursor +QtWidgets.QPlainTextEdit.isReadOnly?4() -> bool +QtWidgets.QPlainTextEdit.setReadOnly?4(bool) +QtWidgets.QPlainTextEdit.setTextInteractionFlags?4(Qt.TextInteractionFlags) +QtWidgets.QPlainTextEdit.textInteractionFlags?4() -> Qt.TextInteractionFlags +QtWidgets.QPlainTextEdit.mergeCurrentCharFormat?4(QTextCharFormat) +QtWidgets.QPlainTextEdit.setCurrentCharFormat?4(QTextCharFormat) +QtWidgets.QPlainTextEdit.currentCharFormat?4() -> QTextCharFormat +QtWidgets.QPlainTextEdit.tabChangesFocus?4() -> bool +QtWidgets.QPlainTextEdit.setTabChangesFocus?4(bool) +QtWidgets.QPlainTextEdit.setDocumentTitle?4(QString) +QtWidgets.QPlainTextEdit.documentTitle?4() -> QString +QtWidgets.QPlainTextEdit.isUndoRedoEnabled?4() -> bool +QtWidgets.QPlainTextEdit.setUndoRedoEnabled?4(bool) +QtWidgets.QPlainTextEdit.setMaximumBlockCount?4(int) +QtWidgets.QPlainTextEdit.maximumBlockCount?4() -> int +QtWidgets.QPlainTextEdit.lineWrapMode?4() -> QPlainTextEdit.LineWrapMode +QtWidgets.QPlainTextEdit.setLineWrapMode?4(QPlainTextEdit.LineWrapMode) +QtWidgets.QPlainTextEdit.wordWrapMode?4() -> QTextOption.WrapMode +QtWidgets.QPlainTextEdit.setWordWrapMode?4(QTextOption.WrapMode) +QtWidgets.QPlainTextEdit.setBackgroundVisible?4(bool) +QtWidgets.QPlainTextEdit.backgroundVisible?4() -> bool +QtWidgets.QPlainTextEdit.setCenterOnScroll?4(bool) +QtWidgets.QPlainTextEdit.centerOnScroll?4() -> bool +QtWidgets.QPlainTextEdit.find?4(QString, QTextDocument.FindFlags options=QTextDocument.FindFlags()) -> bool +QtWidgets.QPlainTextEdit.toPlainText?4() -> QString +QtWidgets.QPlainTextEdit.ensureCursorVisible?4() +QtWidgets.QPlainTextEdit.loadResource?4(int, QUrl) -> QVariant +QtWidgets.QPlainTextEdit.createStandardContextMenu?4() -> QMenu +QtWidgets.QPlainTextEdit.createStandardContextMenu?4(QPoint) -> QMenu +QtWidgets.QPlainTextEdit.cursorForPosition?4(QPoint) -> QTextCursor +QtWidgets.QPlainTextEdit.cursorRect?4(QTextCursor) -> QRect +QtWidgets.QPlainTextEdit.cursorRect?4() -> QRect +QtWidgets.QPlainTextEdit.overwriteMode?4() -> bool +QtWidgets.QPlainTextEdit.setOverwriteMode?4(bool) +QtWidgets.QPlainTextEdit.tabStopWidth?4() -> int +QtWidgets.QPlainTextEdit.setTabStopWidth?4(int) +QtWidgets.QPlainTextEdit.cursorWidth?4() -> int +QtWidgets.QPlainTextEdit.setCursorWidth?4(int) +QtWidgets.QPlainTextEdit.setExtraSelections?4(unknown-type) +QtWidgets.QPlainTextEdit.extraSelections?4() -> unknown-type +QtWidgets.QPlainTextEdit.moveCursor?4(QTextCursor.MoveOperation, QTextCursor.MoveMode mode=QTextCursor.MoveAnchor) +QtWidgets.QPlainTextEdit.canPaste?4() -> bool +QtWidgets.QPlainTextEdit.print_?4(QPagedPaintDevice) +QtWidgets.QPlainTextEdit.print?4(QPagedPaintDevice) +QtWidgets.QPlainTextEdit.blockCount?4() -> int +QtWidgets.QPlainTextEdit.setPlainText?4(QString) +QtWidgets.QPlainTextEdit.cut?4() +QtWidgets.QPlainTextEdit.copy?4() +QtWidgets.QPlainTextEdit.paste?4() +QtWidgets.QPlainTextEdit.undo?4() +QtWidgets.QPlainTextEdit.redo?4() +QtWidgets.QPlainTextEdit.clear?4() +QtWidgets.QPlainTextEdit.selectAll?4() +QtWidgets.QPlainTextEdit.insertPlainText?4(QString) +QtWidgets.QPlainTextEdit.appendPlainText?4(QString) +QtWidgets.QPlainTextEdit.appendHtml?4(QString) +QtWidgets.QPlainTextEdit.centerCursor?4() +QtWidgets.QPlainTextEdit.textChanged?4() +QtWidgets.QPlainTextEdit.undoAvailable?4(bool) +QtWidgets.QPlainTextEdit.redoAvailable?4(bool) +QtWidgets.QPlainTextEdit.copyAvailable?4(bool) +QtWidgets.QPlainTextEdit.selectionChanged?4() +QtWidgets.QPlainTextEdit.cursorPositionChanged?4() +QtWidgets.QPlainTextEdit.updateRequest?4(QRect, int) +QtWidgets.QPlainTextEdit.blockCountChanged?4(int) +QtWidgets.QPlainTextEdit.modificationChanged?4(bool) +QtWidgets.QPlainTextEdit.event?4(QEvent) -> bool +QtWidgets.QPlainTextEdit.timerEvent?4(QTimerEvent) +QtWidgets.QPlainTextEdit.keyPressEvent?4(QKeyEvent) +QtWidgets.QPlainTextEdit.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QPlainTextEdit.resizeEvent?4(QResizeEvent) +QtWidgets.QPlainTextEdit.paintEvent?4(QPaintEvent) +QtWidgets.QPlainTextEdit.mousePressEvent?4(QMouseEvent) +QtWidgets.QPlainTextEdit.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QPlainTextEdit.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QPlainTextEdit.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QPlainTextEdit.focusNextPrevChild?4(bool) -> bool +QtWidgets.QPlainTextEdit.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QPlainTextEdit.dragEnterEvent?4(QDragEnterEvent) +QtWidgets.QPlainTextEdit.dragLeaveEvent?4(QDragLeaveEvent) +QtWidgets.QPlainTextEdit.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QPlainTextEdit.dropEvent?4(QDropEvent) +QtWidgets.QPlainTextEdit.focusInEvent?4(QFocusEvent) +QtWidgets.QPlainTextEdit.focusOutEvent?4(QFocusEvent) +QtWidgets.QPlainTextEdit.showEvent?4(QShowEvent) +QtWidgets.QPlainTextEdit.changeEvent?4(QEvent) +QtWidgets.QPlainTextEdit.wheelEvent?4(QWheelEvent) +QtWidgets.QPlainTextEdit.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QPlainTextEdit.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QPlainTextEdit.createMimeDataFromSelection?4() -> QMimeData +QtWidgets.QPlainTextEdit.canInsertFromMimeData?4(QMimeData) -> bool +QtWidgets.QPlainTextEdit.insertFromMimeData?4(QMimeData) +QtWidgets.QPlainTextEdit.scrollContentsBy?4(int, int) +QtWidgets.QPlainTextEdit.firstVisibleBlock?4() -> QTextBlock +QtWidgets.QPlainTextEdit.contentOffset?4() -> QPointF +QtWidgets.QPlainTextEdit.blockBoundingRect?4(QTextBlock) -> QRectF +QtWidgets.QPlainTextEdit.blockBoundingGeometry?4(QTextBlock) -> QRectF +QtWidgets.QPlainTextEdit.getPaintContext?4() -> QAbstractTextDocumentLayout.PaintContext +QtWidgets.QPlainTextEdit.anchorAt?4(QPoint) -> QString +QtWidgets.QPlainTextEdit.zoomIn?4(int range=1) +QtWidgets.QPlainTextEdit.zoomOut?4(int range=1) +QtWidgets.QPlainTextEdit.setPlaceholderText?4(QString) +QtWidgets.QPlainTextEdit.placeholderText?4() -> QString +QtWidgets.QPlainTextEdit.find?4(QRegExp, QTextDocument.FindFlags options=QTextDocument.FindFlags()) -> bool +QtWidgets.QPlainTextEdit.find?4(QRegularExpression, QTextDocument.FindFlags options=QTextDocument.FindFlags()) -> bool +QtWidgets.QPlainTextEdit.inputMethodQuery?4(Qt.InputMethodQuery, QVariant) -> QVariant +QtWidgets.QPlainTextEdit.tabStopDistance?4() -> float +QtWidgets.QPlainTextEdit.setTabStopDistance?4(float) +QtWidgets.QPlainTextDocumentLayout?1(QTextDocument) +QtWidgets.QPlainTextDocumentLayout.__init__?1(self, QTextDocument) +QtWidgets.QPlainTextDocumentLayout.draw?4(QPainter, QAbstractTextDocumentLayout.PaintContext) +QtWidgets.QPlainTextDocumentLayout.hitTest?4(QPointF, Qt.HitTestAccuracy) -> int +QtWidgets.QPlainTextDocumentLayout.pageCount?4() -> int +QtWidgets.QPlainTextDocumentLayout.documentSize?4() -> QSizeF +QtWidgets.QPlainTextDocumentLayout.frameBoundingRect?4(QTextFrame) -> QRectF +QtWidgets.QPlainTextDocumentLayout.blockBoundingRect?4(QTextBlock) -> QRectF +QtWidgets.QPlainTextDocumentLayout.ensureBlockLayout?4(QTextBlock) +QtWidgets.QPlainTextDocumentLayout.setCursorWidth?4(int) +QtWidgets.QPlainTextDocumentLayout.cursorWidth?4() -> int +QtWidgets.QPlainTextDocumentLayout.requestUpdate?4() +QtWidgets.QPlainTextDocumentLayout.documentChanged?4(int, int, int) +QtWidgets.QProgressBar.Direction?10 +QtWidgets.QProgressBar.Direction.TopToBottom?10 +QtWidgets.QProgressBar.Direction.BottomToTop?10 +QtWidgets.QProgressBar?1(QWidget parent=None) +QtWidgets.QProgressBar.__init__?1(self, QWidget parent=None) +QtWidgets.QProgressBar.minimum?4() -> int +QtWidgets.QProgressBar.maximum?4() -> int +QtWidgets.QProgressBar.setRange?4(int, int) +QtWidgets.QProgressBar.value?4() -> int +QtWidgets.QProgressBar.text?4() -> QString +QtWidgets.QProgressBar.setTextVisible?4(bool) +QtWidgets.QProgressBar.isTextVisible?4() -> bool +QtWidgets.QProgressBar.alignment?4() -> Qt.Alignment +QtWidgets.QProgressBar.setAlignment?4(Qt.Alignment) +QtWidgets.QProgressBar.sizeHint?4() -> QSize +QtWidgets.QProgressBar.minimumSizeHint?4() -> QSize +QtWidgets.QProgressBar.orientation?4() -> Qt.Orientation +QtWidgets.QProgressBar.setInvertedAppearance?4(bool) +QtWidgets.QProgressBar.setTextDirection?4(QProgressBar.Direction) +QtWidgets.QProgressBar.setFormat?4(QString) +QtWidgets.QProgressBar.format?4() -> QString +QtWidgets.QProgressBar.resetFormat?4() +QtWidgets.QProgressBar.reset?4() +QtWidgets.QProgressBar.setMinimum?4(int) +QtWidgets.QProgressBar.setMaximum?4(int) +QtWidgets.QProgressBar.setValue?4(int) +QtWidgets.QProgressBar.setOrientation?4(Qt.Orientation) +QtWidgets.QProgressBar.valueChanged?4(int) +QtWidgets.QProgressBar.initStyleOption?4(QStyleOptionProgressBar) +QtWidgets.QProgressBar.event?4(QEvent) -> bool +QtWidgets.QProgressBar.paintEvent?4(QPaintEvent) +QtWidgets.QProgressDialog?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QProgressDialog.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QProgressDialog?1(QString, QString, int, int, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QProgressDialog.__init__?1(self, QString, QString, int, int, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QProgressDialog.setLabel?4(QLabel) +QtWidgets.QProgressDialog.setCancelButton?4(QPushButton) +QtWidgets.QProgressDialog.setBar?4(QProgressBar) +QtWidgets.QProgressDialog.wasCanceled?4() -> bool +QtWidgets.QProgressDialog.minimum?4() -> int +QtWidgets.QProgressDialog.maximum?4() -> int +QtWidgets.QProgressDialog.setRange?4(int, int) +QtWidgets.QProgressDialog.value?4() -> int +QtWidgets.QProgressDialog.sizeHint?4() -> QSize +QtWidgets.QProgressDialog.labelText?4() -> QString +QtWidgets.QProgressDialog.minimumDuration?4() -> int +QtWidgets.QProgressDialog.setAutoReset?4(bool) +QtWidgets.QProgressDialog.autoReset?4() -> bool +QtWidgets.QProgressDialog.setAutoClose?4(bool) +QtWidgets.QProgressDialog.autoClose?4() -> bool +QtWidgets.QProgressDialog.cancel?4() +QtWidgets.QProgressDialog.reset?4() +QtWidgets.QProgressDialog.setMaximum?4(int) +QtWidgets.QProgressDialog.setMinimum?4(int) +QtWidgets.QProgressDialog.setValue?4(int) +QtWidgets.QProgressDialog.setLabelText?4(QString) +QtWidgets.QProgressDialog.setCancelButtonText?4(QString) +QtWidgets.QProgressDialog.setMinimumDuration?4(int) +QtWidgets.QProgressDialog.canceled?4() +QtWidgets.QProgressDialog.resizeEvent?4(QResizeEvent) +QtWidgets.QProgressDialog.closeEvent?4(QCloseEvent) +QtWidgets.QProgressDialog.changeEvent?4(QEvent) +QtWidgets.QProgressDialog.showEvent?4(QShowEvent) +QtWidgets.QProgressDialog.forceShow?4() +QtWidgets.QProgressDialog.open?4() +QtWidgets.QProgressDialog.open?4(object) +QtWidgets.QProxyStyle?1(QStyle style=None) +QtWidgets.QProxyStyle.__init__?1(self, QStyle style=None) +QtWidgets.QProxyStyle?1(QString) +QtWidgets.QProxyStyle.__init__?1(self, QString) +QtWidgets.QProxyStyle.baseStyle?4() -> QStyle +QtWidgets.QProxyStyle.setBaseStyle?4(QStyle) +QtWidgets.QProxyStyle.drawPrimitive?4(QStyle.PrimitiveElement, QStyleOption, QPainter, QWidget widget=None) +QtWidgets.QProxyStyle.drawControl?4(QStyle.ControlElement, QStyleOption, QPainter, QWidget widget=None) +QtWidgets.QProxyStyle.drawComplexControl?4(QStyle.ComplexControl, QStyleOptionComplex, QPainter, QWidget widget=None) +QtWidgets.QProxyStyle.drawItemText?4(QPainter, QRect, int, QPalette, bool, QString, QPalette.ColorRole textRole=QPalette.NoRole) +QtWidgets.QProxyStyle.drawItemPixmap?4(QPainter, QRect, int, QPixmap) +QtWidgets.QProxyStyle.sizeFromContents?4(QStyle.ContentsType, QStyleOption, QSize, QWidget) -> QSize +QtWidgets.QProxyStyle.subElementRect?4(QStyle.SubElement, QStyleOption, QWidget) -> QRect +QtWidgets.QProxyStyle.subControlRect?4(QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, QWidget) -> QRect +QtWidgets.QProxyStyle.itemTextRect?4(QFontMetrics, QRect, int, bool, QString) -> QRect +QtWidgets.QProxyStyle.itemPixmapRect?4(QRect, int, QPixmap) -> QRect +QtWidgets.QProxyStyle.hitTestComplexControl?4(QStyle.ComplexControl, QStyleOptionComplex, QPoint, QWidget widget=None) -> QStyle.SubControl +QtWidgets.QProxyStyle.styleHint?4(QStyle.StyleHint, QStyleOption option=None, QWidget widget=None, QStyleHintReturn returnData=None) -> int +QtWidgets.QProxyStyle.pixelMetric?4(QStyle.PixelMetric, QStyleOption option=None, QWidget widget=None) -> int +QtWidgets.QProxyStyle.layoutSpacing?4(QSizePolicy.ControlType, QSizePolicy.ControlType, Qt.Orientation, QStyleOption option=None, QWidget widget=None) -> int +QtWidgets.QProxyStyle.standardIcon?4(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QIcon +QtWidgets.QProxyStyle.standardPixmap?4(QStyle.StandardPixmap, QStyleOption, QWidget widget=None) -> QPixmap +QtWidgets.QProxyStyle.generatedIconPixmap?4(QIcon.Mode, QPixmap, QStyleOption) -> QPixmap +QtWidgets.QProxyStyle.standardPalette?4() -> QPalette +QtWidgets.QProxyStyle.polish?4(QWidget) +QtWidgets.QProxyStyle.polish?4(QPalette) -> QPalette +QtWidgets.QProxyStyle.polish?4(QApplication) +QtWidgets.QProxyStyle.unpolish?4(QWidget) +QtWidgets.QProxyStyle.unpolish?4(QApplication) +QtWidgets.QProxyStyle.event?4(QEvent) -> bool +QtWidgets.QRadioButton?1(QWidget parent=None) +QtWidgets.QRadioButton.__init__?1(self, QWidget parent=None) +QtWidgets.QRadioButton?1(QString, QWidget parent=None) +QtWidgets.QRadioButton.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QRadioButton.sizeHint?4() -> QSize +QtWidgets.QRadioButton.minimumSizeHint?4() -> QSize +QtWidgets.QRadioButton.initStyleOption?4(QStyleOptionButton) +QtWidgets.QRadioButton.hitButton?4(QPoint) -> bool +QtWidgets.QRadioButton.event?4(QEvent) -> bool +QtWidgets.QRadioButton.paintEvent?4(QPaintEvent) +QtWidgets.QRadioButton.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QRubberBand.Shape?10 +QtWidgets.QRubberBand.Shape.Line?10 +QtWidgets.QRubberBand.Shape.Rectangle?10 +QtWidgets.QRubberBand?1(QRubberBand.Shape, QWidget parent=None) +QtWidgets.QRubberBand.__init__?1(self, QRubberBand.Shape, QWidget parent=None) +QtWidgets.QRubberBand.shape?4() -> QRubberBand.Shape +QtWidgets.QRubberBand.setGeometry?4(QRect) +QtWidgets.QRubberBand.setGeometry?4(int, int, int, int) +QtWidgets.QRubberBand.move?4(QPoint) +QtWidgets.QRubberBand.move?4(int, int) +QtWidgets.QRubberBand.resize?4(int, int) +QtWidgets.QRubberBand.resize?4(QSize) +QtWidgets.QRubberBand.initStyleOption?4(QStyleOptionRubberBand) +QtWidgets.QRubberBand.event?4(QEvent) -> bool +QtWidgets.QRubberBand.paintEvent?4(QPaintEvent) +QtWidgets.QRubberBand.changeEvent?4(QEvent) +QtWidgets.QRubberBand.showEvent?4(QShowEvent) +QtWidgets.QRubberBand.resizeEvent?4(QResizeEvent) +QtWidgets.QRubberBand.moveEvent?4(QMoveEvent) +QtWidgets.QScrollArea?1(QWidget parent=None) +QtWidgets.QScrollArea.__init__?1(self, QWidget parent=None) +QtWidgets.QScrollArea.widget?4() -> QWidget +QtWidgets.QScrollArea.setWidget?4(QWidget) +QtWidgets.QScrollArea.takeWidget?4() -> QWidget +QtWidgets.QScrollArea.widgetResizable?4() -> bool +QtWidgets.QScrollArea.setWidgetResizable?4(bool) +QtWidgets.QScrollArea.alignment?4() -> Qt.Alignment +QtWidgets.QScrollArea.setAlignment?4(Qt.Alignment) +QtWidgets.QScrollArea.sizeHint?4() -> QSize +QtWidgets.QScrollArea.focusNextPrevChild?4(bool) -> bool +QtWidgets.QScrollArea.ensureVisible?4(int, int, int xMargin=50, int yMargin=50) +QtWidgets.QScrollArea.ensureWidgetVisible?4(QWidget, int xMargin=50, int yMargin=50) +QtWidgets.QScrollArea.event?4(QEvent) -> bool +QtWidgets.QScrollArea.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QScrollArea.resizeEvent?4(QResizeEvent) +QtWidgets.QScrollArea.scrollContentsBy?4(int, int) +QtWidgets.QScrollArea.viewportSizeHint?4() -> QSize +QtWidgets.QScrollBar?1(QWidget parent=None) +QtWidgets.QScrollBar.__init__?1(self, QWidget parent=None) +QtWidgets.QScrollBar?1(Qt.Orientation, QWidget parent=None) +QtWidgets.QScrollBar.__init__?1(self, Qt.Orientation, QWidget parent=None) +QtWidgets.QScrollBar.sizeHint?4() -> QSize +QtWidgets.QScrollBar.event?4(QEvent) -> bool +QtWidgets.QScrollBar.initStyleOption?4(QStyleOptionSlider) +QtWidgets.QScrollBar.paintEvent?4(QPaintEvent) +QtWidgets.QScrollBar.mousePressEvent?4(QMouseEvent) +QtWidgets.QScrollBar.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QScrollBar.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QScrollBar.hideEvent?4(QHideEvent) +QtWidgets.QScrollBar.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QScrollBar.wheelEvent?4(QWheelEvent) +QtWidgets.QScrollBar.sliderChange?4(QAbstractSlider.SliderChange) +QtWidgets.QScroller.Input?10 +QtWidgets.QScroller.Input.InputPress?10 +QtWidgets.QScroller.Input.InputMove?10 +QtWidgets.QScroller.Input.InputRelease?10 +QtWidgets.QScroller.ScrollerGestureType?10 +QtWidgets.QScroller.ScrollerGestureType.TouchGesture?10 +QtWidgets.QScroller.ScrollerGestureType.LeftMouseButtonGesture?10 +QtWidgets.QScroller.ScrollerGestureType.RightMouseButtonGesture?10 +QtWidgets.QScroller.ScrollerGestureType.MiddleMouseButtonGesture?10 +QtWidgets.QScroller.State?10 +QtWidgets.QScroller.State.Inactive?10 +QtWidgets.QScroller.State.Pressed?10 +QtWidgets.QScroller.State.Dragging?10 +QtWidgets.QScroller.State.Scrolling?10 +QtWidgets.QScroller.hasScroller?4(QObject) -> bool +QtWidgets.QScroller.scroller?4(QObject) -> QScroller +QtWidgets.QScroller.grabGesture?4(QObject, QScroller.ScrollerGestureType scrollGestureType=QScroller.TouchGesture) -> Qt.GestureType +QtWidgets.QScroller.grabbedGesture?4(QObject) -> Qt.GestureType +QtWidgets.QScroller.ungrabGesture?4(QObject) +QtWidgets.QScroller.activeScrollers?4() -> unknown-type +QtWidgets.QScroller.target?4() -> QObject +QtWidgets.QScroller.state?4() -> QScroller.State +QtWidgets.QScroller.handleInput?4(QScroller.Input, QPointF, int timestamp=0) -> bool +QtWidgets.QScroller.stop?4() +QtWidgets.QScroller.velocity?4() -> QPointF +QtWidgets.QScroller.finalPosition?4() -> QPointF +QtWidgets.QScroller.pixelPerMeter?4() -> QPointF +QtWidgets.QScroller.scrollerProperties?4() -> QScrollerProperties +QtWidgets.QScroller.setSnapPositionsX?4(unknown-type) +QtWidgets.QScroller.setSnapPositionsX?4(float, float) +QtWidgets.QScroller.setSnapPositionsY?4(unknown-type) +QtWidgets.QScroller.setSnapPositionsY?4(float, float) +QtWidgets.QScroller.setScrollerProperties?4(QScrollerProperties) +QtWidgets.QScroller.scrollTo?4(QPointF) +QtWidgets.QScroller.scrollTo?4(QPointF, int) +QtWidgets.QScroller.ensureVisible?4(QRectF, float, float) +QtWidgets.QScroller.ensureVisible?4(QRectF, float, float, int) +QtWidgets.QScroller.resendPrepareEvent?4() +QtWidgets.QScroller.stateChanged?4(QScroller.State) +QtWidgets.QScroller.scrollerPropertiesChanged?4(QScrollerProperties) +QtWidgets.QScrollerProperties.ScrollMetric?10 +QtWidgets.QScrollerProperties.ScrollMetric.MousePressEventDelay?10 +QtWidgets.QScrollerProperties.ScrollMetric.DragStartDistance?10 +QtWidgets.QScrollerProperties.ScrollMetric.DragVelocitySmoothingFactor?10 +QtWidgets.QScrollerProperties.ScrollMetric.AxisLockThreshold?10 +QtWidgets.QScrollerProperties.ScrollMetric.ScrollingCurve?10 +QtWidgets.QScrollerProperties.ScrollMetric.DecelerationFactor?10 +QtWidgets.QScrollerProperties.ScrollMetric.MinimumVelocity?10 +QtWidgets.QScrollerProperties.ScrollMetric.MaximumVelocity?10 +QtWidgets.QScrollerProperties.ScrollMetric.MaximumClickThroughVelocity?10 +QtWidgets.QScrollerProperties.ScrollMetric.AcceleratingFlickMaximumTime?10 +QtWidgets.QScrollerProperties.ScrollMetric.AcceleratingFlickSpeedupFactor?10 +QtWidgets.QScrollerProperties.ScrollMetric.SnapPositionRatio?10 +QtWidgets.QScrollerProperties.ScrollMetric.SnapTime?10 +QtWidgets.QScrollerProperties.ScrollMetric.OvershootDragResistanceFactor?10 +QtWidgets.QScrollerProperties.ScrollMetric.OvershootDragDistanceFactor?10 +QtWidgets.QScrollerProperties.ScrollMetric.OvershootScrollDistanceFactor?10 +QtWidgets.QScrollerProperties.ScrollMetric.OvershootScrollTime?10 +QtWidgets.QScrollerProperties.ScrollMetric.HorizontalOvershootPolicy?10 +QtWidgets.QScrollerProperties.ScrollMetric.VerticalOvershootPolicy?10 +QtWidgets.QScrollerProperties.ScrollMetric.FrameRate?10 +QtWidgets.QScrollerProperties.ScrollMetric.ScrollMetricCount?10 +QtWidgets.QScrollerProperties.FrameRates?10 +QtWidgets.QScrollerProperties.FrameRates.Standard?10 +QtWidgets.QScrollerProperties.FrameRates.Fps60?10 +QtWidgets.QScrollerProperties.FrameRates.Fps30?10 +QtWidgets.QScrollerProperties.FrameRates.Fps20?10 +QtWidgets.QScrollerProperties.OvershootPolicy?10 +QtWidgets.QScrollerProperties.OvershootPolicy.OvershootWhenScrollable?10 +QtWidgets.QScrollerProperties.OvershootPolicy.OvershootAlwaysOff?10 +QtWidgets.QScrollerProperties.OvershootPolicy.OvershootAlwaysOn?10 +QtWidgets.QScrollerProperties?1() +QtWidgets.QScrollerProperties.__init__?1(self) +QtWidgets.QScrollerProperties?1(QScrollerProperties) +QtWidgets.QScrollerProperties.__init__?1(self, QScrollerProperties) +QtWidgets.QScrollerProperties.setDefaultScrollerProperties?4(QScrollerProperties) +QtWidgets.QScrollerProperties.unsetDefaultScrollerProperties?4() +QtWidgets.QScrollerProperties.scrollMetric?4(QScrollerProperties.ScrollMetric) -> QVariant +QtWidgets.QScrollerProperties.setScrollMetric?4(QScrollerProperties.ScrollMetric, QVariant) +QtWidgets.QShortcut?1(QWidget) +QtWidgets.QShortcut.__init__?1(self, QWidget) +QtWidgets.QShortcut?1(QKeySequence, QWidget, object member=0, object ambiguousMember=0, Qt.ShortcutContext context=Qt.WindowShortcut) +QtWidgets.QShortcut.__init__?1(self, QKeySequence, QWidget, object member=0, object ambiguousMember=0, Qt.ShortcutContext context=Qt.WindowShortcut) +QtWidgets.QShortcut.setKey?4(QKeySequence) +QtWidgets.QShortcut.key?4() -> QKeySequence +QtWidgets.QShortcut.setEnabled?4(bool) +QtWidgets.QShortcut.isEnabled?4() -> bool +QtWidgets.QShortcut.setContext?4(Qt.ShortcutContext) +QtWidgets.QShortcut.context?4() -> Qt.ShortcutContext +QtWidgets.QShortcut.setWhatsThis?4(QString) +QtWidgets.QShortcut.whatsThis?4() -> QString +QtWidgets.QShortcut.id?4() -> int +QtWidgets.QShortcut.parentWidget?4() -> QWidget +QtWidgets.QShortcut.setAutoRepeat?4(bool) +QtWidgets.QShortcut.autoRepeat?4() -> bool +QtWidgets.QShortcut.activated?4() +QtWidgets.QShortcut.activatedAmbiguously?4() +QtWidgets.QShortcut.event?4(QEvent) -> bool +QtWidgets.QSizeGrip?1(QWidget) +QtWidgets.QSizeGrip.__init__?1(self, QWidget) +QtWidgets.QSizeGrip.sizeHint?4() -> QSize +QtWidgets.QSizeGrip.setVisible?4(bool) +QtWidgets.QSizeGrip.paintEvent?4(QPaintEvent) +QtWidgets.QSizeGrip.mousePressEvent?4(QMouseEvent) +QtWidgets.QSizeGrip.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QSizeGrip.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QSizeGrip.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QSizeGrip.event?4(QEvent) -> bool +QtWidgets.QSizeGrip.moveEvent?4(QMoveEvent) +QtWidgets.QSizeGrip.showEvent?4(QShowEvent) +QtWidgets.QSizeGrip.hideEvent?4(QHideEvent) +QtWidgets.QSizePolicy.ControlType?10 +QtWidgets.QSizePolicy.ControlType.DefaultType?10 +QtWidgets.QSizePolicy.ControlType.ButtonBox?10 +QtWidgets.QSizePolicy.ControlType.CheckBox?10 +QtWidgets.QSizePolicy.ControlType.ComboBox?10 +QtWidgets.QSizePolicy.ControlType.Frame?10 +QtWidgets.QSizePolicy.ControlType.GroupBox?10 +QtWidgets.QSizePolicy.ControlType.Label?10 +QtWidgets.QSizePolicy.ControlType.Line?10 +QtWidgets.QSizePolicy.ControlType.LineEdit?10 +QtWidgets.QSizePolicy.ControlType.PushButton?10 +QtWidgets.QSizePolicy.ControlType.RadioButton?10 +QtWidgets.QSizePolicy.ControlType.Slider?10 +QtWidgets.QSizePolicy.ControlType.SpinBox?10 +QtWidgets.QSizePolicy.ControlType.TabWidget?10 +QtWidgets.QSizePolicy.ControlType.ToolButton?10 +QtWidgets.QSizePolicy.Policy?10 +QtWidgets.QSizePolicy.Policy.Fixed?10 +QtWidgets.QSizePolicy.Policy.Minimum?10 +QtWidgets.QSizePolicy.Policy.Maximum?10 +QtWidgets.QSizePolicy.Policy.Preferred?10 +QtWidgets.QSizePolicy.Policy.MinimumExpanding?10 +QtWidgets.QSizePolicy.Policy.Expanding?10 +QtWidgets.QSizePolicy.Policy.Ignored?10 +QtWidgets.QSizePolicy.PolicyFlag?10 +QtWidgets.QSizePolicy.PolicyFlag.GrowFlag?10 +QtWidgets.QSizePolicy.PolicyFlag.ExpandFlag?10 +QtWidgets.QSizePolicy.PolicyFlag.ShrinkFlag?10 +QtWidgets.QSizePolicy.PolicyFlag.IgnoreFlag?10 +QtWidgets.QSizePolicy?1() +QtWidgets.QSizePolicy.__init__?1(self) +QtWidgets.QSizePolicy?1(QSizePolicy.Policy, QSizePolicy.Policy, QSizePolicy.ControlType type=QSizePolicy.DefaultType) +QtWidgets.QSizePolicy.__init__?1(self, QSizePolicy.Policy, QSizePolicy.Policy, QSizePolicy.ControlType type=QSizePolicy.DefaultType) +QtWidgets.QSizePolicy?1(QVariant) +QtWidgets.QSizePolicy.__init__?1(self, QVariant) +QtWidgets.QSizePolicy?1(QSizePolicy) +QtWidgets.QSizePolicy.__init__?1(self, QSizePolicy) +QtWidgets.QSizePolicy.horizontalPolicy?4() -> QSizePolicy.Policy +QtWidgets.QSizePolicy.verticalPolicy?4() -> QSizePolicy.Policy +QtWidgets.QSizePolicy.setHorizontalPolicy?4(QSizePolicy.Policy) +QtWidgets.QSizePolicy.setVerticalPolicy?4(QSizePolicy.Policy) +QtWidgets.QSizePolicy.expandingDirections?4() -> Qt.Orientations +QtWidgets.QSizePolicy.setHeightForWidth?4(bool) +QtWidgets.QSizePolicy.hasHeightForWidth?4() -> bool +QtWidgets.QSizePolicy.horizontalStretch?4() -> int +QtWidgets.QSizePolicy.verticalStretch?4() -> int +QtWidgets.QSizePolicy.setHorizontalStretch?4(int) +QtWidgets.QSizePolicy.setVerticalStretch?4(int) +QtWidgets.QSizePolicy.transpose?4() +QtWidgets.QSizePolicy.transposed?4() -> QSizePolicy +QtWidgets.QSizePolicy.controlType?4() -> QSizePolicy.ControlType +QtWidgets.QSizePolicy.setControlType?4(QSizePolicy.ControlType) +QtWidgets.QSizePolicy.setWidthForHeight?4(bool) +QtWidgets.QSizePolicy.hasWidthForHeight?4() -> bool +QtWidgets.QSizePolicy.retainSizeWhenHidden?4() -> bool +QtWidgets.QSizePolicy.setRetainSizeWhenHidden?4(bool) +QtWidgets.QSizePolicy.ControlTypes?1() +QtWidgets.QSizePolicy.ControlTypes.__init__?1(self) +QtWidgets.QSizePolicy.ControlTypes?1(int) +QtWidgets.QSizePolicy.ControlTypes.__init__?1(self, int) +QtWidgets.QSizePolicy.ControlTypes?1(QSizePolicy.ControlTypes) +QtWidgets.QSizePolicy.ControlTypes.__init__?1(self, QSizePolicy.ControlTypes) +QtWidgets.QSlider.TickPosition?10 +QtWidgets.QSlider.TickPosition.NoTicks?10 +QtWidgets.QSlider.TickPosition.TicksAbove?10 +QtWidgets.QSlider.TickPosition.TicksLeft?10 +QtWidgets.QSlider.TickPosition.TicksBelow?10 +QtWidgets.QSlider.TickPosition.TicksRight?10 +QtWidgets.QSlider.TickPosition.TicksBothSides?10 +QtWidgets.QSlider?1(QWidget parent=None) +QtWidgets.QSlider.__init__?1(self, QWidget parent=None) +QtWidgets.QSlider?1(Qt.Orientation, QWidget parent=None) +QtWidgets.QSlider.__init__?1(self, Qt.Orientation, QWidget parent=None) +QtWidgets.QSlider.sizeHint?4() -> QSize +QtWidgets.QSlider.minimumSizeHint?4() -> QSize +QtWidgets.QSlider.setTickPosition?4(QSlider.TickPosition) +QtWidgets.QSlider.tickPosition?4() -> QSlider.TickPosition +QtWidgets.QSlider.setTickInterval?4(int) +QtWidgets.QSlider.tickInterval?4() -> int +QtWidgets.QSlider.event?4(QEvent) -> bool +QtWidgets.QSlider.initStyleOption?4(QStyleOptionSlider) +QtWidgets.QSlider.paintEvent?4(QPaintEvent) +QtWidgets.QSlider.mousePressEvent?4(QMouseEvent) +QtWidgets.QSlider.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QSlider.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QSpinBox?1(QWidget parent=None) +QtWidgets.QSpinBox.__init__?1(self, QWidget parent=None) +QtWidgets.QSpinBox.value?4() -> int +QtWidgets.QSpinBox.prefix?4() -> QString +QtWidgets.QSpinBox.setPrefix?4(QString) +QtWidgets.QSpinBox.suffix?4() -> QString +QtWidgets.QSpinBox.setSuffix?4(QString) +QtWidgets.QSpinBox.cleanText?4() -> QString +QtWidgets.QSpinBox.singleStep?4() -> int +QtWidgets.QSpinBox.setSingleStep?4(int) +QtWidgets.QSpinBox.minimum?4() -> int +QtWidgets.QSpinBox.setMinimum?4(int) +QtWidgets.QSpinBox.maximum?4() -> int +QtWidgets.QSpinBox.setMaximum?4(int) +QtWidgets.QSpinBox.setRange?4(int, int) +QtWidgets.QSpinBox.validate?4(QString, int) -> (QValidator.State, QString, int) +QtWidgets.QSpinBox.valueFromText?4(QString) -> int +QtWidgets.QSpinBox.textFromValue?4(int) -> QString +QtWidgets.QSpinBox.fixup?4(QString) -> QString +QtWidgets.QSpinBox.event?4(QEvent) -> bool +QtWidgets.QSpinBox.setValue?4(int) +QtWidgets.QSpinBox.valueChanged?4(int) +QtWidgets.QSpinBox.valueChanged?4(QString) +QtWidgets.QSpinBox.textChanged?4(QString) +QtWidgets.QSpinBox.displayIntegerBase?4() -> int +QtWidgets.QSpinBox.setDisplayIntegerBase?4(int) +QtWidgets.QSpinBox.stepType?4() -> QAbstractSpinBox.StepType +QtWidgets.QSpinBox.setStepType?4(QAbstractSpinBox.StepType) +QtWidgets.QDoubleSpinBox?1(QWidget parent=None) +QtWidgets.QDoubleSpinBox.__init__?1(self, QWidget parent=None) +QtWidgets.QDoubleSpinBox.value?4() -> float +QtWidgets.QDoubleSpinBox.prefix?4() -> QString +QtWidgets.QDoubleSpinBox.setPrefix?4(QString) +QtWidgets.QDoubleSpinBox.suffix?4() -> QString +QtWidgets.QDoubleSpinBox.setSuffix?4(QString) +QtWidgets.QDoubleSpinBox.cleanText?4() -> QString +QtWidgets.QDoubleSpinBox.singleStep?4() -> float +QtWidgets.QDoubleSpinBox.setSingleStep?4(float) +QtWidgets.QDoubleSpinBox.minimum?4() -> float +QtWidgets.QDoubleSpinBox.setMinimum?4(float) +QtWidgets.QDoubleSpinBox.maximum?4() -> float +QtWidgets.QDoubleSpinBox.setMaximum?4(float) +QtWidgets.QDoubleSpinBox.setRange?4(float, float) +QtWidgets.QDoubleSpinBox.decimals?4() -> int +QtWidgets.QDoubleSpinBox.setDecimals?4(int) +QtWidgets.QDoubleSpinBox.validate?4(QString, int) -> (QValidator.State, QString, int) +QtWidgets.QDoubleSpinBox.valueFromText?4(QString) -> float +QtWidgets.QDoubleSpinBox.textFromValue?4(float) -> QString +QtWidgets.QDoubleSpinBox.fixup?4(QString) -> QString +QtWidgets.QDoubleSpinBox.setValue?4(float) +QtWidgets.QDoubleSpinBox.valueChanged?4(float) +QtWidgets.QDoubleSpinBox.valueChanged?4(QString) +QtWidgets.QDoubleSpinBox.textChanged?4(QString) +QtWidgets.QDoubleSpinBox.stepType?4() -> QAbstractSpinBox.StepType +QtWidgets.QDoubleSpinBox.setStepType?4(QAbstractSpinBox.StepType) +QtWidgets.QSplashScreen?1(QPixmap pixmap=QPixmap(), Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QSplashScreen.__init__?1(self, QPixmap pixmap=QPixmap(), Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QSplashScreen?1(QWidget, QPixmap pixmap=QPixmap(), Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QSplashScreen.__init__?1(self, QWidget, QPixmap pixmap=QPixmap(), Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QSplashScreen?1(QScreen, QPixmap pixmap=QPixmap(), Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QSplashScreen.__init__?1(self, QScreen, QPixmap pixmap=QPixmap(), Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QSplashScreen.setPixmap?4(QPixmap) +QtWidgets.QSplashScreen.pixmap?4() -> QPixmap +QtWidgets.QSplashScreen.finish?4(QWidget) +QtWidgets.QSplashScreen.repaint?4() +QtWidgets.QSplashScreen.message?4() -> QString +QtWidgets.QSplashScreen.showMessage?4(QString, int alignment=Qt.AlignLeft, QColor color=Qt.black) +QtWidgets.QSplashScreen.clearMessage?4() +QtWidgets.QSplashScreen.messageChanged?4(QString) +QtWidgets.QSplashScreen.drawContents?4(QPainter) +QtWidgets.QSplashScreen.event?4(QEvent) -> bool +QtWidgets.QSplashScreen.mousePressEvent?4(QMouseEvent) +QtWidgets.QSplitter?1(QWidget parent=None) +QtWidgets.QSplitter.__init__?1(self, QWidget parent=None) +QtWidgets.QSplitter?1(Qt.Orientation, QWidget parent=None) +QtWidgets.QSplitter.__init__?1(self, Qt.Orientation, QWidget parent=None) +QtWidgets.QSplitter.addWidget?4(QWidget) +QtWidgets.QSplitter.insertWidget?4(int, QWidget) +QtWidgets.QSplitter.setOrientation?4(Qt.Orientation) +QtWidgets.QSplitter.orientation?4() -> Qt.Orientation +QtWidgets.QSplitter.setChildrenCollapsible?4(bool) +QtWidgets.QSplitter.childrenCollapsible?4() -> bool +QtWidgets.QSplitter.setCollapsible?4(int, bool) +QtWidgets.QSplitter.isCollapsible?4(int) -> bool +QtWidgets.QSplitter.setOpaqueResize?4(bool opaque=True) +QtWidgets.QSplitter.opaqueResize?4() -> bool +QtWidgets.QSplitter.refresh?4() +QtWidgets.QSplitter.sizeHint?4() -> QSize +QtWidgets.QSplitter.minimumSizeHint?4() -> QSize +QtWidgets.QSplitter.sizes?4() -> unknown-type +QtWidgets.QSplitter.setSizes?4(unknown-type) +QtWidgets.QSplitter.saveState?4() -> QByteArray +QtWidgets.QSplitter.restoreState?4(QByteArray) -> bool +QtWidgets.QSplitter.handleWidth?4() -> int +QtWidgets.QSplitter.setHandleWidth?4(int) +QtWidgets.QSplitter.indexOf?4(QWidget) -> int +QtWidgets.QSplitter.widget?4(int) -> QWidget +QtWidgets.QSplitter.count?4() -> int +QtWidgets.QSplitter.getRange?4(int) -> (int, int) +QtWidgets.QSplitter.handle?4(int) -> QSplitterHandle +QtWidgets.QSplitter.setStretchFactor?4(int, int) +QtWidgets.QSplitter.replaceWidget?4(int, QWidget) -> QWidget +QtWidgets.QSplitter.splitterMoved?4(int, int) +QtWidgets.QSplitter.createHandle?4() -> QSplitterHandle +QtWidgets.QSplitter.childEvent?4(QChildEvent) +QtWidgets.QSplitter.event?4(QEvent) -> bool +QtWidgets.QSplitter.resizeEvent?4(QResizeEvent) +QtWidgets.QSplitter.changeEvent?4(QEvent) +QtWidgets.QSplitter.moveSplitter?4(int, int) +QtWidgets.QSplitter.setRubberBand?4(int) +QtWidgets.QSplitter.closestLegalPosition?4(int, int) -> int +QtWidgets.QSplitterHandle?1(Qt.Orientation, QSplitter) +QtWidgets.QSplitterHandle.__init__?1(self, Qt.Orientation, QSplitter) +QtWidgets.QSplitterHandle.setOrientation?4(Qt.Orientation) +QtWidgets.QSplitterHandle.orientation?4() -> Qt.Orientation +QtWidgets.QSplitterHandle.opaqueResize?4() -> bool +QtWidgets.QSplitterHandle.splitter?4() -> QSplitter +QtWidgets.QSplitterHandle.sizeHint?4() -> QSize +QtWidgets.QSplitterHandle.paintEvent?4(QPaintEvent) +QtWidgets.QSplitterHandle.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QSplitterHandle.mousePressEvent?4(QMouseEvent) +QtWidgets.QSplitterHandle.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QSplitterHandle.event?4(QEvent) -> bool +QtWidgets.QSplitterHandle.moveSplitter?4(int) +QtWidgets.QSplitterHandle.closestLegalPosition?4(int) -> int +QtWidgets.QSplitterHandle.resizeEvent?4(QResizeEvent) +QtWidgets.QStackedLayout.StackingMode?10 +QtWidgets.QStackedLayout.StackingMode.StackOne?10 +QtWidgets.QStackedLayout.StackingMode.StackAll?10 +QtWidgets.QStackedLayout?1() +QtWidgets.QStackedLayout.__init__?1(self) +QtWidgets.QStackedLayout?1(QWidget) +QtWidgets.QStackedLayout.__init__?1(self, QWidget) +QtWidgets.QStackedLayout?1(QLayout) +QtWidgets.QStackedLayout.__init__?1(self, QLayout) +QtWidgets.QStackedLayout.addWidget?4(QWidget) -> int +QtWidgets.QStackedLayout.insertWidget?4(int, QWidget) -> int +QtWidgets.QStackedLayout.currentWidget?4() -> QWidget +QtWidgets.QStackedLayout.currentIndex?4() -> int +QtWidgets.QStackedLayout.widget?4(int) -> QWidget +QtWidgets.QStackedLayout.widget?4() -> QWidget +QtWidgets.QStackedLayout.count?4() -> int +QtWidgets.QStackedLayout.addItem?4(QLayoutItem) +QtWidgets.QStackedLayout.sizeHint?4() -> QSize +QtWidgets.QStackedLayout.minimumSize?4() -> QSize +QtWidgets.QStackedLayout.itemAt?4(int) -> QLayoutItem +QtWidgets.QStackedLayout.takeAt?4(int) -> QLayoutItem +QtWidgets.QStackedLayout.setGeometry?4(QRect) +QtWidgets.QStackedLayout.widgetRemoved?4(int) +QtWidgets.QStackedLayout.currentChanged?4(int) +QtWidgets.QStackedLayout.setCurrentIndex?4(int) +QtWidgets.QStackedLayout.setCurrentWidget?4(QWidget) +QtWidgets.QStackedLayout.stackingMode?4() -> QStackedLayout.StackingMode +QtWidgets.QStackedLayout.setStackingMode?4(QStackedLayout.StackingMode) +QtWidgets.QStackedLayout.hasHeightForWidth?4() -> bool +QtWidgets.QStackedLayout.heightForWidth?4(int) -> int +QtWidgets.QStackedWidget?1(QWidget parent=None) +QtWidgets.QStackedWidget.__init__?1(self, QWidget parent=None) +QtWidgets.QStackedWidget.addWidget?4(QWidget) -> int +QtWidgets.QStackedWidget.insertWidget?4(int, QWidget) -> int +QtWidgets.QStackedWidget.removeWidget?4(QWidget) +QtWidgets.QStackedWidget.currentWidget?4() -> QWidget +QtWidgets.QStackedWidget.currentIndex?4() -> int +QtWidgets.QStackedWidget.indexOf?4(QWidget) -> int +QtWidgets.QStackedWidget.widget?4(int) -> QWidget +QtWidgets.QStackedWidget.count?4() -> int +QtWidgets.QStackedWidget.setCurrentIndex?4(int) +QtWidgets.QStackedWidget.setCurrentWidget?4(QWidget) +QtWidgets.QStackedWidget.currentChanged?4(int) +QtWidgets.QStackedWidget.widgetRemoved?4(int) +QtWidgets.QStackedWidget.event?4(QEvent) -> bool +QtWidgets.QStatusBar?1(QWidget parent=None) +QtWidgets.QStatusBar.__init__?1(self, QWidget parent=None) +QtWidgets.QStatusBar.addWidget?4(QWidget, int stretch=0) +QtWidgets.QStatusBar.addPermanentWidget?4(QWidget, int stretch=0) +QtWidgets.QStatusBar.removeWidget?4(QWidget) +QtWidgets.QStatusBar.setSizeGripEnabled?4(bool) +QtWidgets.QStatusBar.isSizeGripEnabled?4() -> bool +QtWidgets.QStatusBar.currentMessage?4() -> QString +QtWidgets.QStatusBar.insertWidget?4(int, QWidget, int stretch=0) -> int +QtWidgets.QStatusBar.insertPermanentWidget?4(int, QWidget, int stretch=0) -> int +QtWidgets.QStatusBar.showMessage?4(QString, int msecs=0) +QtWidgets.QStatusBar.clearMessage?4() +QtWidgets.QStatusBar.messageChanged?4(QString) +QtWidgets.QStatusBar.paintEvent?4(QPaintEvent) +QtWidgets.QStatusBar.resizeEvent?4(QResizeEvent) +QtWidgets.QStatusBar.reformat?4() +QtWidgets.QStatusBar.hideOrShow?4() +QtWidgets.QStatusBar.event?4(QEvent) -> bool +QtWidgets.QStatusBar.showEvent?4(QShowEvent) +QtWidgets.QStyle.State?1() +QtWidgets.QStyle.State.__init__?1(self) +QtWidgets.QStyle.State?1(int) +QtWidgets.QStyle.State.__init__?1(self, int) +QtWidgets.QStyle.State?1(QStyle.State) +QtWidgets.QStyle.State.__init__?1(self, QStyle.State) +QtWidgets.QStyle.SubControls?1() +QtWidgets.QStyle.SubControls.__init__?1(self) +QtWidgets.QStyle.SubControls?1(int) +QtWidgets.QStyle.SubControls.__init__?1(self, int) +QtWidgets.QStyle.SubControls?1(QStyle.SubControls) +QtWidgets.QStyle.SubControls.__init__?1(self, QStyle.SubControls) +QtWidgets.QStyledItemDelegate?1(QObject parent=None) +QtWidgets.QStyledItemDelegate.__init__?1(self, QObject parent=None) +QtWidgets.QStyledItemDelegate.paint?4(QPainter, QStyleOptionViewItem, QModelIndex) +QtWidgets.QStyledItemDelegate.sizeHint?4(QStyleOptionViewItem, QModelIndex) -> QSize +QtWidgets.QStyledItemDelegate.createEditor?4(QWidget, QStyleOptionViewItem, QModelIndex) -> QWidget +QtWidgets.QStyledItemDelegate.setEditorData?4(QWidget, QModelIndex) +QtWidgets.QStyledItemDelegate.setModelData?4(QWidget, QAbstractItemModel, QModelIndex) +QtWidgets.QStyledItemDelegate.updateEditorGeometry?4(QWidget, QStyleOptionViewItem, QModelIndex) +QtWidgets.QStyledItemDelegate.itemEditorFactory?4() -> QItemEditorFactory +QtWidgets.QStyledItemDelegate.setItemEditorFactory?4(QItemEditorFactory) +QtWidgets.QStyledItemDelegate.displayText?4(QVariant, QLocale) -> QString +QtWidgets.QStyledItemDelegate.initStyleOption?4(QStyleOptionViewItem, QModelIndex) +QtWidgets.QStyledItemDelegate.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QStyledItemDelegate.editorEvent?4(QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) -> bool +QtWidgets.QStyleFactory?1() +QtWidgets.QStyleFactory.__init__?1(self) +QtWidgets.QStyleFactory?1(QStyleFactory) +QtWidgets.QStyleFactory.__init__?1(self, QStyleFactory) +QtWidgets.QStyleFactory.keys?4() -> QStringList +QtWidgets.QStyleFactory.create?4(QString) -> QStyle +QtWidgets.QStyleOption.StyleOptionVersion?10 +QtWidgets.QStyleOption.StyleOptionVersion.Version?10 +QtWidgets.QStyleOption.StyleOptionType?10 +QtWidgets.QStyleOption.StyleOptionType.Type?10 +QtWidgets.QStyleOption.OptionType?10 +QtWidgets.QStyleOption.OptionType.SO_Default?10 +QtWidgets.QStyleOption.OptionType.SO_FocusRect?10 +QtWidgets.QStyleOption.OptionType.SO_Button?10 +QtWidgets.QStyleOption.OptionType.SO_Tab?10 +QtWidgets.QStyleOption.OptionType.SO_MenuItem?10 +QtWidgets.QStyleOption.OptionType.SO_Frame?10 +QtWidgets.QStyleOption.OptionType.SO_ProgressBar?10 +QtWidgets.QStyleOption.OptionType.SO_ToolBox?10 +QtWidgets.QStyleOption.OptionType.SO_Header?10 +QtWidgets.QStyleOption.OptionType.SO_DockWidget?10 +QtWidgets.QStyleOption.OptionType.SO_ViewItem?10 +QtWidgets.QStyleOption.OptionType.SO_TabWidgetFrame?10 +QtWidgets.QStyleOption.OptionType.SO_TabBarBase?10 +QtWidgets.QStyleOption.OptionType.SO_RubberBand?10 +QtWidgets.QStyleOption.OptionType.SO_ToolBar?10 +QtWidgets.QStyleOption.OptionType.SO_Complex?10 +QtWidgets.QStyleOption.OptionType.SO_Slider?10 +QtWidgets.QStyleOption.OptionType.SO_SpinBox?10 +QtWidgets.QStyleOption.OptionType.SO_ToolButton?10 +QtWidgets.QStyleOption.OptionType.SO_ComboBox?10 +QtWidgets.QStyleOption.OptionType.SO_TitleBar?10 +QtWidgets.QStyleOption.OptionType.SO_GroupBox?10 +QtWidgets.QStyleOption.OptionType.SO_ComplexCustomBase?10 +QtWidgets.QStyleOption.OptionType.SO_GraphicsItem?10 +QtWidgets.QStyleOption.OptionType.SO_SizeGrip?10 +QtWidgets.QStyleOption.OptionType.SO_CustomBase?10 +QtWidgets.QStyleOption.direction?7 +QtWidgets.QStyleOption.fontMetrics?7 +QtWidgets.QStyleOption.palette?7 +QtWidgets.QStyleOption.rect?7 +QtWidgets.QStyleOption.state?7 +QtWidgets.QStyleOption.styleObject?7 +QtWidgets.QStyleOption.type?7 +QtWidgets.QStyleOption.version?7 +QtWidgets.QStyleOption?1(int version=QStyleOption.StyleOptionVersion.Version, int type=QStyleOption.OptionType.SO_Default) +QtWidgets.QStyleOption.__init__?1(self, int version=QStyleOption.StyleOptionVersion.Version, int type=QStyleOption.OptionType.SO_Default) +QtWidgets.QStyleOption?1(QStyleOption) +QtWidgets.QStyleOption.__init__?1(self, QStyleOption) +QtWidgets.QStyleOption.initFrom?4(QWidget) +QtWidgets.QStyleOptionFocusRect.StyleOptionVersion?10 +QtWidgets.QStyleOptionFocusRect.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionFocusRect.StyleOptionType?10 +QtWidgets.QStyleOptionFocusRect.StyleOptionType.Type?10 +QtWidgets.QStyleOptionFocusRect.backgroundColor?7 +QtWidgets.QStyleOptionFocusRect?1() +QtWidgets.QStyleOptionFocusRect.__init__?1(self) +QtWidgets.QStyleOptionFocusRect?1(QStyleOptionFocusRect) +QtWidgets.QStyleOptionFocusRect.__init__?1(self, QStyleOptionFocusRect) +QtWidgets.QStyleOptionFrame.FrameFeature?10 +QtWidgets.QStyleOptionFrame.FrameFeature.None_?10 +QtWidgets.QStyleOptionFrame.FrameFeature.Flat?10 +QtWidgets.QStyleOptionFrame.FrameFeature.Rounded?10 +QtWidgets.QStyleOptionFrame.StyleOptionVersion?10 +QtWidgets.QStyleOptionFrame.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionFrame.StyleOptionType?10 +QtWidgets.QStyleOptionFrame.StyleOptionType.Type?10 +QtWidgets.QStyleOptionFrame.features?7 +QtWidgets.QStyleOptionFrame.frameShape?7 +QtWidgets.QStyleOptionFrame.lineWidth?7 +QtWidgets.QStyleOptionFrame.midLineWidth?7 +QtWidgets.QStyleOptionFrame?1() +QtWidgets.QStyleOptionFrame.__init__?1(self) +QtWidgets.QStyleOptionFrame?1(QStyleOptionFrame) +QtWidgets.QStyleOptionFrame.__init__?1(self, QStyleOptionFrame) +QtWidgets.QStyleOptionFrame.FrameFeatures?1() +QtWidgets.QStyleOptionFrame.FrameFeatures.__init__?1(self) +QtWidgets.QStyleOptionFrame.FrameFeatures?1(int) +QtWidgets.QStyleOptionFrame.FrameFeatures.__init__?1(self, int) +QtWidgets.QStyleOptionFrame.FrameFeatures?1(QStyleOptionFrame.FrameFeatures) +QtWidgets.QStyleOptionFrame.FrameFeatures.__init__?1(self, QStyleOptionFrame.FrameFeatures) +QtWidgets.QStyleOptionTabWidgetFrame.StyleOptionVersion?10 +QtWidgets.QStyleOptionTabWidgetFrame.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionTabWidgetFrame.StyleOptionType?10 +QtWidgets.QStyleOptionTabWidgetFrame.StyleOptionType.Type?10 +QtWidgets.QStyleOptionTabWidgetFrame.leftCornerWidgetSize?7 +QtWidgets.QStyleOptionTabWidgetFrame.lineWidth?7 +QtWidgets.QStyleOptionTabWidgetFrame.midLineWidth?7 +QtWidgets.QStyleOptionTabWidgetFrame.rightCornerWidgetSize?7 +QtWidgets.QStyleOptionTabWidgetFrame.selectedTabRect?7 +QtWidgets.QStyleOptionTabWidgetFrame.shape?7 +QtWidgets.QStyleOptionTabWidgetFrame.tabBarRect?7 +QtWidgets.QStyleOptionTabWidgetFrame.tabBarSize?7 +QtWidgets.QStyleOptionTabWidgetFrame?1() +QtWidgets.QStyleOptionTabWidgetFrame.__init__?1(self) +QtWidgets.QStyleOptionTabWidgetFrame?1(QStyleOptionTabWidgetFrame) +QtWidgets.QStyleOptionTabWidgetFrame.__init__?1(self, QStyleOptionTabWidgetFrame) +QtWidgets.QStyleOptionTabBarBase.StyleOptionVersion?10 +QtWidgets.QStyleOptionTabBarBase.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionTabBarBase.StyleOptionType?10 +QtWidgets.QStyleOptionTabBarBase.StyleOptionType.Type?10 +QtWidgets.QStyleOptionTabBarBase.documentMode?7 +QtWidgets.QStyleOptionTabBarBase.selectedTabRect?7 +QtWidgets.QStyleOptionTabBarBase.shape?7 +QtWidgets.QStyleOptionTabBarBase.tabBarRect?7 +QtWidgets.QStyleOptionTabBarBase?1() +QtWidgets.QStyleOptionTabBarBase.__init__?1(self) +QtWidgets.QStyleOptionTabBarBase?1(QStyleOptionTabBarBase) +QtWidgets.QStyleOptionTabBarBase.__init__?1(self, QStyleOptionTabBarBase) +QtWidgets.QStyleOptionHeader.SortIndicator?10 +QtWidgets.QStyleOptionHeader.SortIndicator.None_?10 +QtWidgets.QStyleOptionHeader.SortIndicator.SortUp?10 +QtWidgets.QStyleOptionHeader.SortIndicator.SortDown?10 +QtWidgets.QStyleOptionHeader.SelectedPosition?10 +QtWidgets.QStyleOptionHeader.SelectedPosition.NotAdjacent?10 +QtWidgets.QStyleOptionHeader.SelectedPosition.NextIsSelected?10 +QtWidgets.QStyleOptionHeader.SelectedPosition.PreviousIsSelected?10 +QtWidgets.QStyleOptionHeader.SelectedPosition.NextAndPreviousAreSelected?10 +QtWidgets.QStyleOptionHeader.SectionPosition?10 +QtWidgets.QStyleOptionHeader.SectionPosition.Beginning?10 +QtWidgets.QStyleOptionHeader.SectionPosition.Middle?10 +QtWidgets.QStyleOptionHeader.SectionPosition.End?10 +QtWidgets.QStyleOptionHeader.SectionPosition.OnlyOneSection?10 +QtWidgets.QStyleOptionHeader.StyleOptionVersion?10 +QtWidgets.QStyleOptionHeader.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionHeader.StyleOptionType?10 +QtWidgets.QStyleOptionHeader.StyleOptionType.Type?10 +QtWidgets.QStyleOptionHeader.icon?7 +QtWidgets.QStyleOptionHeader.iconAlignment?7 +QtWidgets.QStyleOptionHeader.orientation?7 +QtWidgets.QStyleOptionHeader.position?7 +QtWidgets.QStyleOptionHeader.section?7 +QtWidgets.QStyleOptionHeader.selectedPosition?7 +QtWidgets.QStyleOptionHeader.sortIndicator?7 +QtWidgets.QStyleOptionHeader.text?7 +QtWidgets.QStyleOptionHeader.textAlignment?7 +QtWidgets.QStyleOptionHeader?1() +QtWidgets.QStyleOptionHeader.__init__?1(self) +QtWidgets.QStyleOptionHeader?1(QStyleOptionHeader) +QtWidgets.QStyleOptionHeader.__init__?1(self, QStyleOptionHeader) +QtWidgets.QStyleOptionButton.ButtonFeature?10 +QtWidgets.QStyleOptionButton.ButtonFeature.None_?10 +QtWidgets.QStyleOptionButton.ButtonFeature.Flat?10 +QtWidgets.QStyleOptionButton.ButtonFeature.HasMenu?10 +QtWidgets.QStyleOptionButton.ButtonFeature.DefaultButton?10 +QtWidgets.QStyleOptionButton.ButtonFeature.AutoDefaultButton?10 +QtWidgets.QStyleOptionButton.ButtonFeature.CommandLinkButton?10 +QtWidgets.QStyleOptionButton.StyleOptionVersion?10 +QtWidgets.QStyleOptionButton.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionButton.StyleOptionType?10 +QtWidgets.QStyleOptionButton.StyleOptionType.Type?10 +QtWidgets.QStyleOptionButton.features?7 +QtWidgets.QStyleOptionButton.icon?7 +QtWidgets.QStyleOptionButton.iconSize?7 +QtWidgets.QStyleOptionButton.text?7 +QtWidgets.QStyleOptionButton?1() +QtWidgets.QStyleOptionButton.__init__?1(self) +QtWidgets.QStyleOptionButton?1(QStyleOptionButton) +QtWidgets.QStyleOptionButton.__init__?1(self, QStyleOptionButton) +QtWidgets.QStyleOptionButton.ButtonFeatures?1() +QtWidgets.QStyleOptionButton.ButtonFeatures.__init__?1(self) +QtWidgets.QStyleOptionButton.ButtonFeatures?1(int) +QtWidgets.QStyleOptionButton.ButtonFeatures.__init__?1(self, int) +QtWidgets.QStyleOptionButton.ButtonFeatures?1(QStyleOptionButton.ButtonFeatures) +QtWidgets.QStyleOptionButton.ButtonFeatures.__init__?1(self, QStyleOptionButton.ButtonFeatures) +QtWidgets.QStyleOptionTab.TabFeature?10 +QtWidgets.QStyleOptionTab.TabFeature.None_?10 +QtWidgets.QStyleOptionTab.TabFeature.HasFrame?10 +QtWidgets.QStyleOptionTab.CornerWidget?10 +QtWidgets.QStyleOptionTab.CornerWidget.NoCornerWidgets?10 +QtWidgets.QStyleOptionTab.CornerWidget.LeftCornerWidget?10 +QtWidgets.QStyleOptionTab.CornerWidget.RightCornerWidget?10 +QtWidgets.QStyleOptionTab.SelectedPosition?10 +QtWidgets.QStyleOptionTab.SelectedPosition.NotAdjacent?10 +QtWidgets.QStyleOptionTab.SelectedPosition.NextIsSelected?10 +QtWidgets.QStyleOptionTab.SelectedPosition.PreviousIsSelected?10 +QtWidgets.QStyleOptionTab.TabPosition?10 +QtWidgets.QStyleOptionTab.TabPosition.Beginning?10 +QtWidgets.QStyleOptionTab.TabPosition.Middle?10 +QtWidgets.QStyleOptionTab.TabPosition.End?10 +QtWidgets.QStyleOptionTab.TabPosition.OnlyOneTab?10 +QtWidgets.QStyleOptionTab.StyleOptionVersion?10 +QtWidgets.QStyleOptionTab.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionTab.StyleOptionType?10 +QtWidgets.QStyleOptionTab.StyleOptionType.Type?10 +QtWidgets.QStyleOptionTab.cornerWidgets?7 +QtWidgets.QStyleOptionTab.documentMode?7 +QtWidgets.QStyleOptionTab.features?7 +QtWidgets.QStyleOptionTab.icon?7 +QtWidgets.QStyleOptionTab.iconSize?7 +QtWidgets.QStyleOptionTab.leftButtonSize?7 +QtWidgets.QStyleOptionTab.position?7 +QtWidgets.QStyleOptionTab.rightButtonSize?7 +QtWidgets.QStyleOptionTab.row?7 +QtWidgets.QStyleOptionTab.selectedPosition?7 +QtWidgets.QStyleOptionTab.shape?7 +QtWidgets.QStyleOptionTab.text?7 +QtWidgets.QStyleOptionTab?1() +QtWidgets.QStyleOptionTab.__init__?1(self) +QtWidgets.QStyleOptionTab?1(QStyleOptionTab) +QtWidgets.QStyleOptionTab.__init__?1(self, QStyleOptionTab) +QtWidgets.QStyleOptionTab.CornerWidgets?1() +QtWidgets.QStyleOptionTab.CornerWidgets.__init__?1(self) +QtWidgets.QStyleOptionTab.CornerWidgets?1(int) +QtWidgets.QStyleOptionTab.CornerWidgets.__init__?1(self, int) +QtWidgets.QStyleOptionTab.CornerWidgets?1(QStyleOptionTab.CornerWidgets) +QtWidgets.QStyleOptionTab.CornerWidgets.__init__?1(self, QStyleOptionTab.CornerWidgets) +QtWidgets.QStyleOptionTab.TabFeatures?1() +QtWidgets.QStyleOptionTab.TabFeatures.__init__?1(self) +QtWidgets.QStyleOptionTab.TabFeatures?1(int) +QtWidgets.QStyleOptionTab.TabFeatures.__init__?1(self, int) +QtWidgets.QStyleOptionTab.TabFeatures?1(QStyleOptionTab.TabFeatures) +QtWidgets.QStyleOptionTab.TabFeatures.__init__?1(self, QStyleOptionTab.TabFeatures) +QtWidgets.QStyleOptionTabV4.StyleOptionVersion?10 +QtWidgets.QStyleOptionTabV4.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionTabV4.tabIndex?7 +QtWidgets.QStyleOptionTabV4?1() +QtWidgets.QStyleOptionTabV4.__init__?1(self) +QtWidgets.QStyleOptionTabV4?1(QStyleOptionTabV4) +QtWidgets.QStyleOptionTabV4.__init__?1(self, QStyleOptionTabV4) +QtWidgets.QStyleOptionProgressBar.StyleOptionVersion?10 +QtWidgets.QStyleOptionProgressBar.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionProgressBar.StyleOptionType?10 +QtWidgets.QStyleOptionProgressBar.StyleOptionType.Type?10 +QtWidgets.QStyleOptionProgressBar.bottomToTop?7 +QtWidgets.QStyleOptionProgressBar.invertedAppearance?7 +QtWidgets.QStyleOptionProgressBar.maximum?7 +QtWidgets.QStyleOptionProgressBar.minimum?7 +QtWidgets.QStyleOptionProgressBar.orientation?7 +QtWidgets.QStyleOptionProgressBar.progress?7 +QtWidgets.QStyleOptionProgressBar.text?7 +QtWidgets.QStyleOptionProgressBar.textAlignment?7 +QtWidgets.QStyleOptionProgressBar.textVisible?7 +QtWidgets.QStyleOptionProgressBar?1() +QtWidgets.QStyleOptionProgressBar.__init__?1(self) +QtWidgets.QStyleOptionProgressBar?1(QStyleOptionProgressBar) +QtWidgets.QStyleOptionProgressBar.__init__?1(self, QStyleOptionProgressBar) +QtWidgets.QStyleOptionMenuItem.CheckType?10 +QtWidgets.QStyleOptionMenuItem.CheckType.NotCheckable?10 +QtWidgets.QStyleOptionMenuItem.CheckType.Exclusive?10 +QtWidgets.QStyleOptionMenuItem.CheckType.NonExclusive?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType.Normal?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType.DefaultItem?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType.Separator?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType.SubMenu?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType.Scroller?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType.TearOff?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType.Margin?10 +QtWidgets.QStyleOptionMenuItem.MenuItemType.EmptyArea?10 +QtWidgets.QStyleOptionMenuItem.StyleOptionVersion?10 +QtWidgets.QStyleOptionMenuItem.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionMenuItem.StyleOptionType?10 +QtWidgets.QStyleOptionMenuItem.StyleOptionType.Type?10 +QtWidgets.QStyleOptionMenuItem.checkType?7 +QtWidgets.QStyleOptionMenuItem.checked?7 +QtWidgets.QStyleOptionMenuItem.font?7 +QtWidgets.QStyleOptionMenuItem.icon?7 +QtWidgets.QStyleOptionMenuItem.maxIconWidth?7 +QtWidgets.QStyleOptionMenuItem.menuHasCheckableItems?7 +QtWidgets.QStyleOptionMenuItem.menuItemType?7 +QtWidgets.QStyleOptionMenuItem.menuRect?7 +QtWidgets.QStyleOptionMenuItem.tabWidth?7 +QtWidgets.QStyleOptionMenuItem.text?7 +QtWidgets.QStyleOptionMenuItem?1() +QtWidgets.QStyleOptionMenuItem.__init__?1(self) +QtWidgets.QStyleOptionMenuItem?1(QStyleOptionMenuItem) +QtWidgets.QStyleOptionMenuItem.__init__?1(self, QStyleOptionMenuItem) +QtWidgets.QStyleOptionDockWidget.StyleOptionVersion?10 +QtWidgets.QStyleOptionDockWidget.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionDockWidget.StyleOptionType?10 +QtWidgets.QStyleOptionDockWidget.StyleOptionType.Type?10 +QtWidgets.QStyleOptionDockWidget.closable?7 +QtWidgets.QStyleOptionDockWidget.floatable?7 +QtWidgets.QStyleOptionDockWidget.movable?7 +QtWidgets.QStyleOptionDockWidget.title?7 +QtWidgets.QStyleOptionDockWidget.verticalTitleBar?7 +QtWidgets.QStyleOptionDockWidget?1() +QtWidgets.QStyleOptionDockWidget.__init__?1(self) +QtWidgets.QStyleOptionDockWidget?1(QStyleOptionDockWidget) +QtWidgets.QStyleOptionDockWidget.__init__?1(self, QStyleOptionDockWidget) +QtWidgets.QStyleOptionViewItem.ViewItemPosition?10 +QtWidgets.QStyleOptionViewItem.ViewItemPosition.Invalid?10 +QtWidgets.QStyleOptionViewItem.ViewItemPosition.Beginning?10 +QtWidgets.QStyleOptionViewItem.ViewItemPosition.Middle?10 +QtWidgets.QStyleOptionViewItem.ViewItemPosition.End?10 +QtWidgets.QStyleOptionViewItem.ViewItemPosition.OnlyOne?10 +QtWidgets.QStyleOptionViewItem.ViewItemFeature?10 +QtWidgets.QStyleOptionViewItem.ViewItemFeature.None_?10 +QtWidgets.QStyleOptionViewItem.ViewItemFeature.WrapText?10 +QtWidgets.QStyleOptionViewItem.ViewItemFeature.Alternate?10 +QtWidgets.QStyleOptionViewItem.ViewItemFeature.HasCheckIndicator?10 +QtWidgets.QStyleOptionViewItem.ViewItemFeature.HasDisplay?10 +QtWidgets.QStyleOptionViewItem.ViewItemFeature.HasDecoration?10 +QtWidgets.QStyleOptionViewItem.Position?10 +QtWidgets.QStyleOptionViewItem.Position.Left?10 +QtWidgets.QStyleOptionViewItem.Position.Right?10 +QtWidgets.QStyleOptionViewItem.Position.Top?10 +QtWidgets.QStyleOptionViewItem.Position.Bottom?10 +QtWidgets.QStyleOptionViewItem.StyleOptionVersion?10 +QtWidgets.QStyleOptionViewItem.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionViewItem.StyleOptionType?10 +QtWidgets.QStyleOptionViewItem.StyleOptionType.Type?10 +QtWidgets.QStyleOptionViewItem.backgroundBrush?7 +QtWidgets.QStyleOptionViewItem.checkState?7 +QtWidgets.QStyleOptionViewItem.decorationAlignment?7 +QtWidgets.QStyleOptionViewItem.decorationPosition?7 +QtWidgets.QStyleOptionViewItem.decorationSize?7 +QtWidgets.QStyleOptionViewItem.displayAlignment?7 +QtWidgets.QStyleOptionViewItem.features?7 +QtWidgets.QStyleOptionViewItem.font?7 +QtWidgets.QStyleOptionViewItem.icon?7 +QtWidgets.QStyleOptionViewItem.index?7 +QtWidgets.QStyleOptionViewItem.locale?7 +QtWidgets.QStyleOptionViewItem.showDecorationSelected?7 +QtWidgets.QStyleOptionViewItem.text?7 +QtWidgets.QStyleOptionViewItem.textElideMode?7 +QtWidgets.QStyleOptionViewItem.viewItemPosition?7 +QtWidgets.QStyleOptionViewItem.widget?7 +QtWidgets.QStyleOptionViewItem?1() +QtWidgets.QStyleOptionViewItem.__init__?1(self) +QtWidgets.QStyleOptionViewItem?1(QStyleOptionViewItem) +QtWidgets.QStyleOptionViewItem.__init__?1(self, QStyleOptionViewItem) +QtWidgets.QStyleOptionViewItem.ViewItemFeatures?1() +QtWidgets.QStyleOptionViewItem.ViewItemFeatures.__init__?1(self) +QtWidgets.QStyleOptionViewItem.ViewItemFeatures?1(int) +QtWidgets.QStyleOptionViewItem.ViewItemFeatures.__init__?1(self, int) +QtWidgets.QStyleOptionViewItem.ViewItemFeatures?1(QStyleOptionViewItem.ViewItemFeatures) +QtWidgets.QStyleOptionViewItem.ViewItemFeatures.__init__?1(self, QStyleOptionViewItem.ViewItemFeatures) +QtWidgets.QStyleOptionToolBox.SelectedPosition?10 +QtWidgets.QStyleOptionToolBox.SelectedPosition.NotAdjacent?10 +QtWidgets.QStyleOptionToolBox.SelectedPosition.NextIsSelected?10 +QtWidgets.QStyleOptionToolBox.SelectedPosition.PreviousIsSelected?10 +QtWidgets.QStyleOptionToolBox.TabPosition?10 +QtWidgets.QStyleOptionToolBox.TabPosition.Beginning?10 +QtWidgets.QStyleOptionToolBox.TabPosition.Middle?10 +QtWidgets.QStyleOptionToolBox.TabPosition.End?10 +QtWidgets.QStyleOptionToolBox.TabPosition.OnlyOneTab?10 +QtWidgets.QStyleOptionToolBox.StyleOptionVersion?10 +QtWidgets.QStyleOptionToolBox.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionToolBox.StyleOptionType?10 +QtWidgets.QStyleOptionToolBox.StyleOptionType.Type?10 +QtWidgets.QStyleOptionToolBox.icon?7 +QtWidgets.QStyleOptionToolBox.position?7 +QtWidgets.QStyleOptionToolBox.selectedPosition?7 +QtWidgets.QStyleOptionToolBox.text?7 +QtWidgets.QStyleOptionToolBox?1() +QtWidgets.QStyleOptionToolBox.__init__?1(self) +QtWidgets.QStyleOptionToolBox?1(QStyleOptionToolBox) +QtWidgets.QStyleOptionToolBox.__init__?1(self, QStyleOptionToolBox) +QtWidgets.QStyleOptionRubberBand.StyleOptionVersion?10 +QtWidgets.QStyleOptionRubberBand.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionRubberBand.StyleOptionType?10 +QtWidgets.QStyleOptionRubberBand.StyleOptionType.Type?10 +QtWidgets.QStyleOptionRubberBand.opaque?7 +QtWidgets.QStyleOptionRubberBand.shape?7 +QtWidgets.QStyleOptionRubberBand?1() +QtWidgets.QStyleOptionRubberBand.__init__?1(self) +QtWidgets.QStyleOptionRubberBand?1(QStyleOptionRubberBand) +QtWidgets.QStyleOptionRubberBand.__init__?1(self, QStyleOptionRubberBand) +QtWidgets.QStyleOptionComplex.StyleOptionVersion?10 +QtWidgets.QStyleOptionComplex.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionComplex.StyleOptionType?10 +QtWidgets.QStyleOptionComplex.StyleOptionType.Type?10 +QtWidgets.QStyleOptionComplex.activeSubControls?7 +QtWidgets.QStyleOptionComplex.subControls?7 +QtWidgets.QStyleOptionComplex?1(int version=QStyleOptionComplex.StyleOptionVersion.Version, int type=QStyleOption.OptionType.SO_Complex) +QtWidgets.QStyleOptionComplex.__init__?1(self, int version=QStyleOptionComplex.StyleOptionVersion.Version, int type=QStyleOption.OptionType.SO_Complex) +QtWidgets.QStyleOptionComplex?1(QStyleOptionComplex) +QtWidgets.QStyleOptionComplex.__init__?1(self, QStyleOptionComplex) +QtWidgets.QStyleOptionSlider.StyleOptionVersion?10 +QtWidgets.QStyleOptionSlider.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionSlider.StyleOptionType?10 +QtWidgets.QStyleOptionSlider.StyleOptionType.Type?10 +QtWidgets.QStyleOptionSlider.dialWrapping?7 +QtWidgets.QStyleOptionSlider.maximum?7 +QtWidgets.QStyleOptionSlider.minimum?7 +QtWidgets.QStyleOptionSlider.notchTarget?7 +QtWidgets.QStyleOptionSlider.orientation?7 +QtWidgets.QStyleOptionSlider.pageStep?7 +QtWidgets.QStyleOptionSlider.singleStep?7 +QtWidgets.QStyleOptionSlider.sliderPosition?7 +QtWidgets.QStyleOptionSlider.sliderValue?7 +QtWidgets.QStyleOptionSlider.tickInterval?7 +QtWidgets.QStyleOptionSlider.tickPosition?7 +QtWidgets.QStyleOptionSlider.upsideDown?7 +QtWidgets.QStyleOptionSlider?1() +QtWidgets.QStyleOptionSlider.__init__?1(self) +QtWidgets.QStyleOptionSlider?1(QStyleOptionSlider) +QtWidgets.QStyleOptionSlider.__init__?1(self, QStyleOptionSlider) +QtWidgets.QStyleOptionSpinBox.StyleOptionVersion?10 +QtWidgets.QStyleOptionSpinBox.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionSpinBox.StyleOptionType?10 +QtWidgets.QStyleOptionSpinBox.StyleOptionType.Type?10 +QtWidgets.QStyleOptionSpinBox.buttonSymbols?7 +QtWidgets.QStyleOptionSpinBox.frame?7 +QtWidgets.QStyleOptionSpinBox.stepEnabled?7 +QtWidgets.QStyleOptionSpinBox?1() +QtWidgets.QStyleOptionSpinBox.__init__?1(self) +QtWidgets.QStyleOptionSpinBox?1(QStyleOptionSpinBox) +QtWidgets.QStyleOptionSpinBox.__init__?1(self, QStyleOptionSpinBox) +QtWidgets.QStyleOptionToolButton.ToolButtonFeature?10 +QtWidgets.QStyleOptionToolButton.ToolButtonFeature.None_?10 +QtWidgets.QStyleOptionToolButton.ToolButtonFeature.Arrow?10 +QtWidgets.QStyleOptionToolButton.ToolButtonFeature.Menu?10 +QtWidgets.QStyleOptionToolButton.ToolButtonFeature.PopupDelay?10 +QtWidgets.QStyleOptionToolButton.ToolButtonFeature.MenuButtonPopup?10 +QtWidgets.QStyleOptionToolButton.ToolButtonFeature.HasMenu?10 +QtWidgets.QStyleOptionToolButton.StyleOptionVersion?10 +QtWidgets.QStyleOptionToolButton.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionToolButton.StyleOptionType?10 +QtWidgets.QStyleOptionToolButton.StyleOptionType.Type?10 +QtWidgets.QStyleOptionToolButton.arrowType?7 +QtWidgets.QStyleOptionToolButton.features?7 +QtWidgets.QStyleOptionToolButton.font?7 +QtWidgets.QStyleOptionToolButton.icon?7 +QtWidgets.QStyleOptionToolButton.iconSize?7 +QtWidgets.QStyleOptionToolButton.pos?7 +QtWidgets.QStyleOptionToolButton.text?7 +QtWidgets.QStyleOptionToolButton.toolButtonStyle?7 +QtWidgets.QStyleOptionToolButton?1() +QtWidgets.QStyleOptionToolButton.__init__?1(self) +QtWidgets.QStyleOptionToolButton?1(QStyleOptionToolButton) +QtWidgets.QStyleOptionToolButton.__init__?1(self, QStyleOptionToolButton) +QtWidgets.QStyleOptionToolButton.ToolButtonFeatures?1() +QtWidgets.QStyleOptionToolButton.ToolButtonFeatures.__init__?1(self) +QtWidgets.QStyleOptionToolButton.ToolButtonFeatures?1(int) +QtWidgets.QStyleOptionToolButton.ToolButtonFeatures.__init__?1(self, int) +QtWidgets.QStyleOptionToolButton.ToolButtonFeatures?1(QStyleOptionToolButton.ToolButtonFeatures) +QtWidgets.QStyleOptionToolButton.ToolButtonFeatures.__init__?1(self, QStyleOptionToolButton.ToolButtonFeatures) +QtWidgets.QStyleOptionComboBox.StyleOptionVersion?10 +QtWidgets.QStyleOptionComboBox.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionComboBox.StyleOptionType?10 +QtWidgets.QStyleOptionComboBox.StyleOptionType.Type?10 +QtWidgets.QStyleOptionComboBox.currentIcon?7 +QtWidgets.QStyleOptionComboBox.currentText?7 +QtWidgets.QStyleOptionComboBox.editable?7 +QtWidgets.QStyleOptionComboBox.frame?7 +QtWidgets.QStyleOptionComboBox.iconSize?7 +QtWidgets.QStyleOptionComboBox.popupRect?7 +QtWidgets.QStyleOptionComboBox?1() +QtWidgets.QStyleOptionComboBox.__init__?1(self) +QtWidgets.QStyleOptionComboBox?1(QStyleOptionComboBox) +QtWidgets.QStyleOptionComboBox.__init__?1(self, QStyleOptionComboBox) +QtWidgets.QStyleOptionTitleBar.StyleOptionVersion?10 +QtWidgets.QStyleOptionTitleBar.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionTitleBar.StyleOptionType?10 +QtWidgets.QStyleOptionTitleBar.StyleOptionType.Type?10 +QtWidgets.QStyleOptionTitleBar.icon?7 +QtWidgets.QStyleOptionTitleBar.text?7 +QtWidgets.QStyleOptionTitleBar.titleBarFlags?7 +QtWidgets.QStyleOptionTitleBar.titleBarState?7 +QtWidgets.QStyleOptionTitleBar?1() +QtWidgets.QStyleOptionTitleBar.__init__?1(self) +QtWidgets.QStyleOptionTitleBar?1(QStyleOptionTitleBar) +QtWidgets.QStyleOptionTitleBar.__init__?1(self, QStyleOptionTitleBar) +QtWidgets.QStyleHintReturn.StyleOptionVersion?10 +QtWidgets.QStyleHintReturn.StyleOptionVersion.Version?10 +QtWidgets.QStyleHintReturn.StyleOptionType?10 +QtWidgets.QStyleHintReturn.StyleOptionType.Type?10 +QtWidgets.QStyleHintReturn.HintReturnType?10 +QtWidgets.QStyleHintReturn.HintReturnType.SH_Default?10 +QtWidgets.QStyleHintReturn.HintReturnType.SH_Mask?10 +QtWidgets.QStyleHintReturn.HintReturnType.SH_Variant?10 +QtWidgets.QStyleHintReturn.type?7 +QtWidgets.QStyleHintReturn.version?7 +QtWidgets.QStyleHintReturn?1(int version=QStyleOption.StyleOptionVersion.Version, int type=QStyleHintReturn.HintReturnType.SH_Default) +QtWidgets.QStyleHintReturn.__init__?1(self, int version=QStyleOption.StyleOptionVersion.Version, int type=QStyleHintReturn.HintReturnType.SH_Default) +QtWidgets.QStyleHintReturn?1(QStyleHintReturn) +QtWidgets.QStyleHintReturn.__init__?1(self, QStyleHintReturn) +QtWidgets.QStyleHintReturnMask.StyleOptionVersion?10 +QtWidgets.QStyleHintReturnMask.StyleOptionVersion.Version?10 +QtWidgets.QStyleHintReturnMask.StyleOptionType?10 +QtWidgets.QStyleHintReturnMask.StyleOptionType.Type?10 +QtWidgets.QStyleHintReturnMask.region?7 +QtWidgets.QStyleHintReturnMask?1() +QtWidgets.QStyleHintReturnMask.__init__?1(self) +QtWidgets.QStyleHintReturnMask?1(QStyleHintReturnMask) +QtWidgets.QStyleHintReturnMask.__init__?1(self, QStyleHintReturnMask) +QtWidgets.QStyleOptionToolBar.ToolBarFeature?10 +QtWidgets.QStyleOptionToolBar.ToolBarFeature.None_?10 +QtWidgets.QStyleOptionToolBar.ToolBarFeature.Movable?10 +QtWidgets.QStyleOptionToolBar.ToolBarPosition?10 +QtWidgets.QStyleOptionToolBar.ToolBarPosition.Beginning?10 +QtWidgets.QStyleOptionToolBar.ToolBarPosition.Middle?10 +QtWidgets.QStyleOptionToolBar.ToolBarPosition.End?10 +QtWidgets.QStyleOptionToolBar.ToolBarPosition.OnlyOne?10 +QtWidgets.QStyleOptionToolBar.StyleOptionVersion?10 +QtWidgets.QStyleOptionToolBar.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionToolBar.StyleOptionType?10 +QtWidgets.QStyleOptionToolBar.StyleOptionType.Type?10 +QtWidgets.QStyleOptionToolBar.features?7 +QtWidgets.QStyleOptionToolBar.lineWidth?7 +QtWidgets.QStyleOptionToolBar.midLineWidth?7 +QtWidgets.QStyleOptionToolBar.positionOfLine?7 +QtWidgets.QStyleOptionToolBar.positionWithinLine?7 +QtWidgets.QStyleOptionToolBar.toolBarArea?7 +QtWidgets.QStyleOptionToolBar?1() +QtWidgets.QStyleOptionToolBar.__init__?1(self) +QtWidgets.QStyleOptionToolBar?1(QStyleOptionToolBar) +QtWidgets.QStyleOptionToolBar.__init__?1(self, QStyleOptionToolBar) +QtWidgets.QStyleOptionToolBar.ToolBarFeatures?1() +QtWidgets.QStyleOptionToolBar.ToolBarFeatures.__init__?1(self) +QtWidgets.QStyleOptionToolBar.ToolBarFeatures?1(int) +QtWidgets.QStyleOptionToolBar.ToolBarFeatures.__init__?1(self, int) +QtWidgets.QStyleOptionToolBar.ToolBarFeatures?1(QStyleOptionToolBar.ToolBarFeatures) +QtWidgets.QStyleOptionToolBar.ToolBarFeatures.__init__?1(self, QStyleOptionToolBar.ToolBarFeatures) +QtWidgets.QStyleOptionGroupBox.StyleOptionVersion?10 +QtWidgets.QStyleOptionGroupBox.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionGroupBox.StyleOptionType?10 +QtWidgets.QStyleOptionGroupBox.StyleOptionType.Type?10 +QtWidgets.QStyleOptionGroupBox.features?7 +QtWidgets.QStyleOptionGroupBox.lineWidth?7 +QtWidgets.QStyleOptionGroupBox.midLineWidth?7 +QtWidgets.QStyleOptionGroupBox.text?7 +QtWidgets.QStyleOptionGroupBox.textAlignment?7 +QtWidgets.QStyleOptionGroupBox.textColor?7 +QtWidgets.QStyleOptionGroupBox?1() +QtWidgets.QStyleOptionGroupBox.__init__?1(self) +QtWidgets.QStyleOptionGroupBox?1(QStyleOptionGroupBox) +QtWidgets.QStyleOptionGroupBox.__init__?1(self, QStyleOptionGroupBox) +QtWidgets.QStyleOptionSizeGrip.StyleOptionVersion?10 +QtWidgets.QStyleOptionSizeGrip.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionSizeGrip.StyleOptionType?10 +QtWidgets.QStyleOptionSizeGrip.StyleOptionType.Type?10 +QtWidgets.QStyleOptionSizeGrip.corner?7 +QtWidgets.QStyleOptionSizeGrip?1() +QtWidgets.QStyleOptionSizeGrip.__init__?1(self) +QtWidgets.QStyleOptionSizeGrip?1(QStyleOptionSizeGrip) +QtWidgets.QStyleOptionSizeGrip.__init__?1(self, QStyleOptionSizeGrip) +QtWidgets.QStyleOptionGraphicsItem.StyleOptionVersion?10 +QtWidgets.QStyleOptionGraphicsItem.StyleOptionVersion.Version?10 +QtWidgets.QStyleOptionGraphicsItem.StyleOptionType?10 +QtWidgets.QStyleOptionGraphicsItem.StyleOptionType.Type?10 +QtWidgets.QStyleOptionGraphicsItem.exposedRect?7 +QtWidgets.QStyleOptionGraphicsItem?1() +QtWidgets.QStyleOptionGraphicsItem.__init__?1(self) +QtWidgets.QStyleOptionGraphicsItem?1(QStyleOptionGraphicsItem) +QtWidgets.QStyleOptionGraphicsItem.__init__?1(self, QStyleOptionGraphicsItem) +QtWidgets.QStyleOptionGraphicsItem.levelOfDetailFromTransform?4(QTransform) -> float +QtWidgets.QStyleHintReturnVariant.StyleOptionVersion?10 +QtWidgets.QStyleHintReturnVariant.StyleOptionVersion.Version?10 +QtWidgets.QStyleHintReturnVariant.StyleOptionType?10 +QtWidgets.QStyleHintReturnVariant.StyleOptionType.Type?10 +QtWidgets.QStyleHintReturnVariant.variant?7 +QtWidgets.QStyleHintReturnVariant?1() +QtWidgets.QStyleHintReturnVariant.__init__?1(self) +QtWidgets.QStyleHintReturnVariant?1(QStyleHintReturnVariant) +QtWidgets.QStyleHintReturnVariant.__init__?1(self, QStyleHintReturnVariant) +QtWidgets.QStylePainter?1() +QtWidgets.QStylePainter.__init__?1(self) +QtWidgets.QStylePainter?1(QWidget) +QtWidgets.QStylePainter.__init__?1(self, QWidget) +QtWidgets.QStylePainter?1(QPaintDevice, QWidget) +QtWidgets.QStylePainter.__init__?1(self, QPaintDevice, QWidget) +QtWidgets.QStylePainter.begin?4(QWidget) -> bool +QtWidgets.QStylePainter.begin?4(QPaintDevice, QWidget) -> bool +QtWidgets.QStylePainter.style?4() -> QStyle +QtWidgets.QStylePainter.drawPrimitive?4(QStyle.PrimitiveElement, QStyleOption) +QtWidgets.QStylePainter.drawControl?4(QStyle.ControlElement, QStyleOption) +QtWidgets.QStylePainter.drawComplexControl?4(QStyle.ComplexControl, QStyleOptionComplex) +QtWidgets.QStylePainter.drawItemText?4(QRect, int, QPalette, bool, QString, QPalette.ColorRole textRole=QPalette.NoRole) +QtWidgets.QStylePainter.drawItemPixmap?4(QRect, int, QPixmap) +QtWidgets.QSystemTrayIcon.MessageIcon?10 +QtWidgets.QSystemTrayIcon.MessageIcon.NoIcon?10 +QtWidgets.QSystemTrayIcon.MessageIcon.Information?10 +QtWidgets.QSystemTrayIcon.MessageIcon.Warning?10 +QtWidgets.QSystemTrayIcon.MessageIcon.Critical?10 +QtWidgets.QSystemTrayIcon.ActivationReason?10 +QtWidgets.QSystemTrayIcon.ActivationReason.Unknown?10 +QtWidgets.QSystemTrayIcon.ActivationReason.Context?10 +QtWidgets.QSystemTrayIcon.ActivationReason.DoubleClick?10 +QtWidgets.QSystemTrayIcon.ActivationReason.Trigger?10 +QtWidgets.QSystemTrayIcon.ActivationReason.MiddleClick?10 +QtWidgets.QSystemTrayIcon?1(QObject parent=None) +QtWidgets.QSystemTrayIcon.__init__?1(self, QObject parent=None) +QtWidgets.QSystemTrayIcon?1(QIcon, QObject parent=None) +QtWidgets.QSystemTrayIcon.__init__?1(self, QIcon, QObject parent=None) +QtWidgets.QSystemTrayIcon.setContextMenu?4(QMenu) +QtWidgets.QSystemTrayIcon.contextMenu?4() -> QMenu +QtWidgets.QSystemTrayIcon.geometry?4() -> QRect +QtWidgets.QSystemTrayIcon.icon?4() -> QIcon +QtWidgets.QSystemTrayIcon.setIcon?4(QIcon) +QtWidgets.QSystemTrayIcon.toolTip?4() -> QString +QtWidgets.QSystemTrayIcon.setToolTip?4(QString) +QtWidgets.QSystemTrayIcon.isSystemTrayAvailable?4() -> bool +QtWidgets.QSystemTrayIcon.supportsMessages?4() -> bool +QtWidgets.QSystemTrayIcon.showMessage?4(QString, QString, QSystemTrayIcon.MessageIcon icon=QSystemTrayIcon.Information, int msecs=10000) +QtWidgets.QSystemTrayIcon.showMessage?4(QString, QString, QIcon, int msecs=10000) +QtWidgets.QSystemTrayIcon.isVisible?4() -> bool +QtWidgets.QSystemTrayIcon.hide?4() +QtWidgets.QSystemTrayIcon.setVisible?4(bool) +QtWidgets.QSystemTrayIcon.show?4() +QtWidgets.QSystemTrayIcon.activated?4(QSystemTrayIcon.ActivationReason) +QtWidgets.QSystemTrayIcon.messageClicked?4() +QtWidgets.QSystemTrayIcon.event?4(QEvent) -> bool +QtWidgets.QTabBar.SelectionBehavior?10 +QtWidgets.QTabBar.SelectionBehavior.SelectLeftTab?10 +QtWidgets.QTabBar.SelectionBehavior.SelectRightTab?10 +QtWidgets.QTabBar.SelectionBehavior.SelectPreviousTab?10 +QtWidgets.QTabBar.ButtonPosition?10 +QtWidgets.QTabBar.ButtonPosition.LeftSide?10 +QtWidgets.QTabBar.ButtonPosition.RightSide?10 +QtWidgets.QTabBar.Shape?10 +QtWidgets.QTabBar.Shape.RoundedNorth?10 +QtWidgets.QTabBar.Shape.RoundedSouth?10 +QtWidgets.QTabBar.Shape.RoundedWest?10 +QtWidgets.QTabBar.Shape.RoundedEast?10 +QtWidgets.QTabBar.Shape.TriangularNorth?10 +QtWidgets.QTabBar.Shape.TriangularSouth?10 +QtWidgets.QTabBar.Shape.TriangularWest?10 +QtWidgets.QTabBar.Shape.TriangularEast?10 +QtWidgets.QTabBar?1(QWidget parent=None) +QtWidgets.QTabBar.__init__?1(self, QWidget parent=None) +QtWidgets.QTabBar.shape?4() -> QTabBar.Shape +QtWidgets.QTabBar.setShape?4(QTabBar.Shape) +QtWidgets.QTabBar.addTab?4(QString) -> int +QtWidgets.QTabBar.addTab?4(QIcon, QString) -> int +QtWidgets.QTabBar.insertTab?4(int, QString) -> int +QtWidgets.QTabBar.insertTab?4(int, QIcon, QString) -> int +QtWidgets.QTabBar.removeTab?4(int) +QtWidgets.QTabBar.isTabEnabled?4(int) -> bool +QtWidgets.QTabBar.setTabEnabled?4(int, bool) +QtWidgets.QTabBar.tabText?4(int) -> QString +QtWidgets.QTabBar.setTabText?4(int, QString) +QtWidgets.QTabBar.tabTextColor?4(int) -> QColor +QtWidgets.QTabBar.setTabTextColor?4(int, QColor) +QtWidgets.QTabBar.tabIcon?4(int) -> QIcon +QtWidgets.QTabBar.setTabIcon?4(int, QIcon) +QtWidgets.QTabBar.setTabToolTip?4(int, QString) +QtWidgets.QTabBar.tabToolTip?4(int) -> QString +QtWidgets.QTabBar.setTabWhatsThis?4(int, QString) +QtWidgets.QTabBar.tabWhatsThis?4(int) -> QString +QtWidgets.QTabBar.setTabData?4(int, QVariant) +QtWidgets.QTabBar.tabData?4(int) -> QVariant +QtWidgets.QTabBar.tabAt?4(QPoint) -> int +QtWidgets.QTabBar.tabRect?4(int) -> QRect +QtWidgets.QTabBar.currentIndex?4() -> int +QtWidgets.QTabBar.count?4() -> int +QtWidgets.QTabBar.sizeHint?4() -> QSize +QtWidgets.QTabBar.minimumSizeHint?4() -> QSize +QtWidgets.QTabBar.setDrawBase?4(bool) +QtWidgets.QTabBar.drawBase?4() -> bool +QtWidgets.QTabBar.iconSize?4() -> QSize +QtWidgets.QTabBar.setIconSize?4(QSize) +QtWidgets.QTabBar.elideMode?4() -> Qt.TextElideMode +QtWidgets.QTabBar.setElideMode?4(Qt.TextElideMode) +QtWidgets.QTabBar.setUsesScrollButtons?4(bool) +QtWidgets.QTabBar.usesScrollButtons?4() -> bool +QtWidgets.QTabBar.setCurrentIndex?4(int) +QtWidgets.QTabBar.currentChanged?4(int) +QtWidgets.QTabBar.initStyleOption?4(QStyleOptionTab, int) +QtWidgets.QTabBar.tabSizeHint?4(int) -> QSize +QtWidgets.QTabBar.tabInserted?4(int) +QtWidgets.QTabBar.tabRemoved?4(int) +QtWidgets.QTabBar.tabLayoutChange?4() +QtWidgets.QTabBar.event?4(QEvent) -> bool +QtWidgets.QTabBar.resizeEvent?4(QResizeEvent) +QtWidgets.QTabBar.showEvent?4(QShowEvent) +QtWidgets.QTabBar.paintEvent?4(QPaintEvent) +QtWidgets.QTabBar.mousePressEvent?4(QMouseEvent) +QtWidgets.QTabBar.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QTabBar.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QTabBar.keyPressEvent?4(QKeyEvent) +QtWidgets.QTabBar.changeEvent?4(QEvent) +QtWidgets.QTabBar.moveTab?4(int, int) +QtWidgets.QTabBar.tabsClosable?4() -> bool +QtWidgets.QTabBar.setTabsClosable?4(bool) +QtWidgets.QTabBar.setTabButton?4(int, QTabBar.ButtonPosition, QWidget) +QtWidgets.QTabBar.tabButton?4(int, QTabBar.ButtonPosition) -> QWidget +QtWidgets.QTabBar.selectionBehaviorOnRemove?4() -> QTabBar.SelectionBehavior +QtWidgets.QTabBar.setSelectionBehaviorOnRemove?4(QTabBar.SelectionBehavior) +QtWidgets.QTabBar.expanding?4() -> bool +QtWidgets.QTabBar.setExpanding?4(bool) +QtWidgets.QTabBar.isMovable?4() -> bool +QtWidgets.QTabBar.setMovable?4(bool) +QtWidgets.QTabBar.documentMode?4() -> bool +QtWidgets.QTabBar.setDocumentMode?4(bool) +QtWidgets.QTabBar.tabCloseRequested?4(int) +QtWidgets.QTabBar.tabMoved?4(int, int) +QtWidgets.QTabBar.hideEvent?4(QHideEvent) +QtWidgets.QTabBar.wheelEvent?4(QWheelEvent) +QtWidgets.QTabBar.minimumTabSizeHint?4(int) -> QSize +QtWidgets.QTabBar.tabBarClicked?4(int) +QtWidgets.QTabBar.tabBarDoubleClicked?4(int) +QtWidgets.QTabBar.autoHide?4() -> bool +QtWidgets.QTabBar.setAutoHide?4(bool) +QtWidgets.QTabBar.changeCurrentOnDrag?4() -> bool +QtWidgets.QTabBar.setChangeCurrentOnDrag?4(bool) +QtWidgets.QTabBar.timerEvent?4(QTimerEvent) +QtWidgets.QTabBar.accessibleTabName?4(int) -> QString +QtWidgets.QTabBar.setAccessibleTabName?4(int, QString) +QtWidgets.QTabBar.isTabVisible?4(int) -> bool +QtWidgets.QTabBar.setTabVisible?4(int, bool) +QtWidgets.QTableView?1(QWidget parent=None) +QtWidgets.QTableView.__init__?1(self, QWidget parent=None) +QtWidgets.QTableView.setModel?4(QAbstractItemModel) +QtWidgets.QTableView.setRootIndex?4(QModelIndex) +QtWidgets.QTableView.setSelectionModel?4(QItemSelectionModel) +QtWidgets.QTableView.horizontalHeader?4() -> QHeaderView +QtWidgets.QTableView.verticalHeader?4() -> QHeaderView +QtWidgets.QTableView.setHorizontalHeader?4(QHeaderView) +QtWidgets.QTableView.setVerticalHeader?4(QHeaderView) +QtWidgets.QTableView.rowViewportPosition?4(int) -> int +QtWidgets.QTableView.setRowHeight?4(int, int) +QtWidgets.QTableView.rowHeight?4(int) -> int +QtWidgets.QTableView.rowAt?4(int) -> int +QtWidgets.QTableView.columnViewportPosition?4(int) -> int +QtWidgets.QTableView.setColumnWidth?4(int, int) +QtWidgets.QTableView.columnWidth?4(int) -> int +QtWidgets.QTableView.columnAt?4(int) -> int +QtWidgets.QTableView.isRowHidden?4(int) -> bool +QtWidgets.QTableView.setRowHidden?4(int, bool) +QtWidgets.QTableView.isColumnHidden?4(int) -> bool +QtWidgets.QTableView.setColumnHidden?4(int, bool) +QtWidgets.QTableView.showGrid?4() -> bool +QtWidgets.QTableView.setShowGrid?4(bool) +QtWidgets.QTableView.gridStyle?4() -> Qt.PenStyle +QtWidgets.QTableView.setGridStyle?4(Qt.PenStyle) +QtWidgets.QTableView.visualRect?4(QModelIndex) -> QRect +QtWidgets.QTableView.scrollTo?4(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible) +QtWidgets.QTableView.indexAt?4(QPoint) -> QModelIndex +QtWidgets.QTableView.selectRow?4(int) +QtWidgets.QTableView.selectColumn?4(int) +QtWidgets.QTableView.hideRow?4(int) +QtWidgets.QTableView.hideColumn?4(int) +QtWidgets.QTableView.showRow?4(int) +QtWidgets.QTableView.showColumn?4(int) +QtWidgets.QTableView.resizeRowToContents?4(int) +QtWidgets.QTableView.resizeRowsToContents?4() +QtWidgets.QTableView.resizeColumnToContents?4(int) +QtWidgets.QTableView.resizeColumnsToContents?4() +QtWidgets.QTableView.rowMoved?4(int, int, int) +QtWidgets.QTableView.columnMoved?4(int, int, int) +QtWidgets.QTableView.rowResized?4(int, int, int) +QtWidgets.QTableView.columnResized?4(int, int, int) +QtWidgets.QTableView.rowCountChanged?4(int, int) +QtWidgets.QTableView.columnCountChanged?4(int, int) +QtWidgets.QTableView.scrollContentsBy?4(int, int) +QtWidgets.QTableView.viewOptions?4() -> QStyleOptionViewItem +QtWidgets.QTableView.paintEvent?4(QPaintEvent) +QtWidgets.QTableView.timerEvent?4(QTimerEvent) +QtWidgets.QTableView.horizontalOffset?4() -> int +QtWidgets.QTableView.verticalOffset?4() -> int +QtWidgets.QTableView.moveCursor?4(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex +QtWidgets.QTableView.setSelection?4(QRect, QItemSelectionModel.SelectionFlags) +QtWidgets.QTableView.visualRegionForSelection?4(QItemSelection) -> QRegion +QtWidgets.QTableView.selectedIndexes?4() -> unknown-type +QtWidgets.QTableView.updateGeometries?4() +QtWidgets.QTableView.sizeHintForRow?4(int) -> int +QtWidgets.QTableView.sizeHintForColumn?4(int) -> int +QtWidgets.QTableView.verticalScrollbarAction?4(int) +QtWidgets.QTableView.horizontalScrollbarAction?4(int) +QtWidgets.QTableView.isIndexHidden?4(QModelIndex) -> bool +QtWidgets.QTableView.viewportSizeHint?4() -> QSize +QtWidgets.QTableView.setSortingEnabled?4(bool) +QtWidgets.QTableView.isSortingEnabled?4() -> bool +QtWidgets.QTableView.setSpan?4(int, int, int, int) +QtWidgets.QTableView.rowSpan?4(int, int) -> int +QtWidgets.QTableView.columnSpan?4(int, int) -> int +QtWidgets.QTableView.sortByColumn?4(int, Qt.SortOrder) +QtWidgets.QTableView.setWordWrap?4(bool) +QtWidgets.QTableView.wordWrap?4() -> bool +QtWidgets.QTableView.setCornerButtonEnabled?4(bool) +QtWidgets.QTableView.isCornerButtonEnabled?4() -> bool +QtWidgets.QTableView.clearSpans?4() +QtWidgets.QTableView.selectionChanged?4(QItemSelection, QItemSelection) +QtWidgets.QTableView.currentChanged?4(QModelIndex, QModelIndex) +QtWidgets.QTableWidgetSelectionRange?1() +QtWidgets.QTableWidgetSelectionRange.__init__?1(self) +QtWidgets.QTableWidgetSelectionRange?1(int, int, int, int) +QtWidgets.QTableWidgetSelectionRange.__init__?1(self, int, int, int, int) +QtWidgets.QTableWidgetSelectionRange?1(QTableWidgetSelectionRange) +QtWidgets.QTableWidgetSelectionRange.__init__?1(self, QTableWidgetSelectionRange) +QtWidgets.QTableWidgetSelectionRange.topRow?4() -> int +QtWidgets.QTableWidgetSelectionRange.bottomRow?4() -> int +QtWidgets.QTableWidgetSelectionRange.leftColumn?4() -> int +QtWidgets.QTableWidgetSelectionRange.rightColumn?4() -> int +QtWidgets.QTableWidgetSelectionRange.rowCount?4() -> int +QtWidgets.QTableWidgetSelectionRange.columnCount?4() -> int +QtWidgets.QTableWidgetItem.ItemType?10 +QtWidgets.QTableWidgetItem.ItemType.Type?10 +QtWidgets.QTableWidgetItem.ItemType.UserType?10 +QtWidgets.QTableWidgetItem?1(int type=QTableWidgetItem.ItemType.Type) +QtWidgets.QTableWidgetItem.__init__?1(self, int type=QTableWidgetItem.ItemType.Type) +QtWidgets.QTableWidgetItem?1(QString, int type=QTableWidgetItem.ItemType.Type) +QtWidgets.QTableWidgetItem.__init__?1(self, QString, int type=QTableWidgetItem.ItemType.Type) +QtWidgets.QTableWidgetItem?1(QIcon, QString, int type=QTableWidgetItem.ItemType.Type) +QtWidgets.QTableWidgetItem.__init__?1(self, QIcon, QString, int type=QTableWidgetItem.ItemType.Type) +QtWidgets.QTableWidgetItem?1(QTableWidgetItem) +QtWidgets.QTableWidgetItem.__init__?1(self, QTableWidgetItem) +QtWidgets.QTableWidgetItem.clone?4() -> QTableWidgetItem +QtWidgets.QTableWidgetItem.tableWidget?4() -> QTableWidget +QtWidgets.QTableWidgetItem.flags?4() -> Qt.ItemFlags +QtWidgets.QTableWidgetItem.text?4() -> QString +QtWidgets.QTableWidgetItem.icon?4() -> QIcon +QtWidgets.QTableWidgetItem.statusTip?4() -> QString +QtWidgets.QTableWidgetItem.toolTip?4() -> QString +QtWidgets.QTableWidgetItem.whatsThis?4() -> QString +QtWidgets.QTableWidgetItem.font?4() -> QFont +QtWidgets.QTableWidgetItem.textAlignment?4() -> int +QtWidgets.QTableWidgetItem.setTextAlignment?4(int) +QtWidgets.QTableWidgetItem.checkState?4() -> Qt.CheckState +QtWidgets.QTableWidgetItem.setCheckState?4(Qt.CheckState) +QtWidgets.QTableWidgetItem.data?4(int) -> QVariant +QtWidgets.QTableWidgetItem.setData?4(int, QVariant) +QtWidgets.QTableWidgetItem.read?4(QDataStream) +QtWidgets.QTableWidgetItem.write?4(QDataStream) +QtWidgets.QTableWidgetItem.type?4() -> int +QtWidgets.QTableWidgetItem.setFlags?4(Qt.ItemFlags) +QtWidgets.QTableWidgetItem.setText?4(QString) +QtWidgets.QTableWidgetItem.setIcon?4(QIcon) +QtWidgets.QTableWidgetItem.setStatusTip?4(QString) +QtWidgets.QTableWidgetItem.setToolTip?4(QString) +QtWidgets.QTableWidgetItem.setWhatsThis?4(QString) +QtWidgets.QTableWidgetItem.setFont?4(QFont) +QtWidgets.QTableWidgetItem.sizeHint?4() -> QSize +QtWidgets.QTableWidgetItem.setSizeHint?4(QSize) +QtWidgets.QTableWidgetItem.background?4() -> QBrush +QtWidgets.QTableWidgetItem.setBackground?4(QBrush) +QtWidgets.QTableWidgetItem.foreground?4() -> QBrush +QtWidgets.QTableWidgetItem.setForeground?4(QBrush) +QtWidgets.QTableWidgetItem.row?4() -> int +QtWidgets.QTableWidgetItem.column?4() -> int +QtWidgets.QTableWidgetItem.setSelected?4(bool) +QtWidgets.QTableWidgetItem.isSelected?4() -> bool +QtWidgets.QTableWidget?1(QWidget parent=None) +QtWidgets.QTableWidget.__init__?1(self, QWidget parent=None) +QtWidgets.QTableWidget?1(int, int, QWidget parent=None) +QtWidgets.QTableWidget.__init__?1(self, int, int, QWidget parent=None) +QtWidgets.QTableWidget.setRowCount?4(int) +QtWidgets.QTableWidget.rowCount?4() -> int +QtWidgets.QTableWidget.setColumnCount?4(int) +QtWidgets.QTableWidget.columnCount?4() -> int +QtWidgets.QTableWidget.row?4(QTableWidgetItem) -> int +QtWidgets.QTableWidget.column?4(QTableWidgetItem) -> int +QtWidgets.QTableWidget.item?4(int, int) -> QTableWidgetItem +QtWidgets.QTableWidget.setItem?4(int, int, QTableWidgetItem) +QtWidgets.QTableWidget.takeItem?4(int, int) -> QTableWidgetItem +QtWidgets.QTableWidget.verticalHeaderItem?4(int) -> QTableWidgetItem +QtWidgets.QTableWidget.setVerticalHeaderItem?4(int, QTableWidgetItem) +QtWidgets.QTableWidget.takeVerticalHeaderItem?4(int) -> QTableWidgetItem +QtWidgets.QTableWidget.horizontalHeaderItem?4(int) -> QTableWidgetItem +QtWidgets.QTableWidget.setHorizontalHeaderItem?4(int, QTableWidgetItem) +QtWidgets.QTableWidget.takeHorizontalHeaderItem?4(int) -> QTableWidgetItem +QtWidgets.QTableWidget.setVerticalHeaderLabels?4(QStringList) +QtWidgets.QTableWidget.setHorizontalHeaderLabels?4(QStringList) +QtWidgets.QTableWidget.currentRow?4() -> int +QtWidgets.QTableWidget.currentColumn?4() -> int +QtWidgets.QTableWidget.currentItem?4() -> QTableWidgetItem +QtWidgets.QTableWidget.setCurrentItem?4(QTableWidgetItem) +QtWidgets.QTableWidget.setCurrentItem?4(QTableWidgetItem, QItemSelectionModel.SelectionFlags) +QtWidgets.QTableWidget.setCurrentCell?4(int, int) +QtWidgets.QTableWidget.setCurrentCell?4(int, int, QItemSelectionModel.SelectionFlags) +QtWidgets.QTableWidget.sortItems?4(int, Qt.SortOrder order=Qt.AscendingOrder) +QtWidgets.QTableWidget.setSortingEnabled?4(bool) +QtWidgets.QTableWidget.isSortingEnabled?4() -> bool +QtWidgets.QTableWidget.editItem?4(QTableWidgetItem) +QtWidgets.QTableWidget.openPersistentEditor?4(QTableWidgetItem) +QtWidgets.QTableWidget.closePersistentEditor?4(QTableWidgetItem) +QtWidgets.QTableWidget.cellWidget?4(int, int) -> QWidget +QtWidgets.QTableWidget.setCellWidget?4(int, int, QWidget) +QtWidgets.QTableWidget.removeCellWidget?4(int, int) +QtWidgets.QTableWidget.setRangeSelected?4(QTableWidgetSelectionRange, bool) +QtWidgets.QTableWidget.selectedRanges?4() -> unknown-type +QtWidgets.QTableWidget.selectedItems?4() -> unknown-type +QtWidgets.QTableWidget.findItems?4(QString, Qt.MatchFlags) -> unknown-type +QtWidgets.QTableWidget.visualRow?4(int) -> int +QtWidgets.QTableWidget.visualColumn?4(int) -> int +QtWidgets.QTableWidget.itemAt?4(QPoint) -> QTableWidgetItem +QtWidgets.QTableWidget.itemAt?4(int, int) -> QTableWidgetItem +QtWidgets.QTableWidget.visualItemRect?4(QTableWidgetItem) -> QRect +QtWidgets.QTableWidget.itemPrototype?4() -> QTableWidgetItem +QtWidgets.QTableWidget.setItemPrototype?4(QTableWidgetItem) +QtWidgets.QTableWidget.scrollToItem?4(QTableWidgetItem, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible) +QtWidgets.QTableWidget.insertRow?4(int) +QtWidgets.QTableWidget.insertColumn?4(int) +QtWidgets.QTableWidget.removeRow?4(int) +QtWidgets.QTableWidget.removeColumn?4(int) +QtWidgets.QTableWidget.clear?4() +QtWidgets.QTableWidget.clearContents?4() +QtWidgets.QTableWidget.itemPressed?4(QTableWidgetItem) +QtWidgets.QTableWidget.itemClicked?4(QTableWidgetItem) +QtWidgets.QTableWidget.itemDoubleClicked?4(QTableWidgetItem) +QtWidgets.QTableWidget.itemActivated?4(QTableWidgetItem) +QtWidgets.QTableWidget.itemEntered?4(QTableWidgetItem) +QtWidgets.QTableWidget.itemChanged?4(QTableWidgetItem) +QtWidgets.QTableWidget.currentItemChanged?4(QTableWidgetItem, QTableWidgetItem) +QtWidgets.QTableWidget.itemSelectionChanged?4() +QtWidgets.QTableWidget.cellPressed?4(int, int) +QtWidgets.QTableWidget.cellClicked?4(int, int) +QtWidgets.QTableWidget.cellDoubleClicked?4(int, int) +QtWidgets.QTableWidget.cellActivated?4(int, int) +QtWidgets.QTableWidget.cellEntered?4(int, int) +QtWidgets.QTableWidget.cellChanged?4(int, int) +QtWidgets.QTableWidget.currentCellChanged?4(int, int, int, int) +QtWidgets.QTableWidget.mimeTypes?4() -> QStringList +QtWidgets.QTableWidget.mimeData?4(unknown-type) -> QMimeData +QtWidgets.QTableWidget.dropMimeData?4(int, int, QMimeData, Qt.DropAction) -> bool +QtWidgets.QTableWidget.supportedDropActions?4() -> Qt.DropActions +QtWidgets.QTableWidget.items?4(QMimeData) -> unknown-type +QtWidgets.QTableWidget.indexFromItem?4(QTableWidgetItem) -> QModelIndex +QtWidgets.QTableWidget.itemFromIndex?4(QModelIndex) -> QTableWidgetItem +QtWidgets.QTableWidget.event?4(QEvent) -> bool +QtWidgets.QTableWidget.dropEvent?4(QDropEvent) +QtWidgets.QTableWidget.isPersistentEditorOpen?4(QTableWidgetItem) -> bool +QtWidgets.QTabWidget.TabShape?10 +QtWidgets.QTabWidget.TabShape.Rounded?10 +QtWidgets.QTabWidget.TabShape.Triangular?10 +QtWidgets.QTabWidget.TabPosition?10 +QtWidgets.QTabWidget.TabPosition.North?10 +QtWidgets.QTabWidget.TabPosition.South?10 +QtWidgets.QTabWidget.TabPosition.West?10 +QtWidgets.QTabWidget.TabPosition.East?10 +QtWidgets.QTabWidget?1(QWidget parent=None) +QtWidgets.QTabWidget.__init__?1(self, QWidget parent=None) +QtWidgets.QTabWidget.clear?4() +QtWidgets.QTabWidget.addTab?4(QWidget, QString) -> int +QtWidgets.QTabWidget.addTab?4(QWidget, QIcon, QString) -> int +QtWidgets.QTabWidget.insertTab?4(int, QWidget, QString) -> int +QtWidgets.QTabWidget.insertTab?4(int, QWidget, QIcon, QString) -> int +QtWidgets.QTabWidget.removeTab?4(int) +QtWidgets.QTabWidget.isTabEnabled?4(int) -> bool +QtWidgets.QTabWidget.setTabEnabled?4(int, bool) +QtWidgets.QTabWidget.tabText?4(int) -> QString +QtWidgets.QTabWidget.setTabText?4(int, QString) +QtWidgets.QTabWidget.tabIcon?4(int) -> QIcon +QtWidgets.QTabWidget.setTabIcon?4(int, QIcon) +QtWidgets.QTabWidget.setTabToolTip?4(int, QString) +QtWidgets.QTabWidget.tabToolTip?4(int) -> QString +QtWidgets.QTabWidget.setTabWhatsThis?4(int, QString) +QtWidgets.QTabWidget.tabWhatsThis?4(int) -> QString +QtWidgets.QTabWidget.currentIndex?4() -> int +QtWidgets.QTabWidget.currentWidget?4() -> QWidget +QtWidgets.QTabWidget.widget?4(int) -> QWidget +QtWidgets.QTabWidget.indexOf?4(QWidget) -> int +QtWidgets.QTabWidget.count?4() -> int +QtWidgets.QTabWidget.tabPosition?4() -> QTabWidget.TabPosition +QtWidgets.QTabWidget.setTabPosition?4(QTabWidget.TabPosition) +QtWidgets.QTabWidget.tabShape?4() -> QTabWidget.TabShape +QtWidgets.QTabWidget.setTabShape?4(QTabWidget.TabShape) +QtWidgets.QTabWidget.sizeHint?4() -> QSize +QtWidgets.QTabWidget.minimumSizeHint?4() -> QSize +QtWidgets.QTabWidget.setCornerWidget?4(QWidget, Qt.Corner corner=Qt.TopRightCorner) +QtWidgets.QTabWidget.cornerWidget?4(Qt.Corner corner=Qt.TopRightCorner) -> QWidget +QtWidgets.QTabWidget.setCurrentIndex?4(int) +QtWidgets.QTabWidget.setCurrentWidget?4(QWidget) +QtWidgets.QTabWidget.currentChanged?4(int) +QtWidgets.QTabWidget.initStyleOption?4(QStyleOptionTabWidgetFrame) +QtWidgets.QTabWidget.tabInserted?4(int) +QtWidgets.QTabWidget.tabRemoved?4(int) +QtWidgets.QTabWidget.event?4(QEvent) -> bool +QtWidgets.QTabWidget.showEvent?4(QShowEvent) +QtWidgets.QTabWidget.resizeEvent?4(QResizeEvent) +QtWidgets.QTabWidget.keyPressEvent?4(QKeyEvent) +QtWidgets.QTabWidget.paintEvent?4(QPaintEvent) +QtWidgets.QTabWidget.setTabBar?4(QTabBar) +QtWidgets.QTabWidget.tabBar?4() -> QTabBar +QtWidgets.QTabWidget.changeEvent?4(QEvent) +QtWidgets.QTabWidget.elideMode?4() -> Qt.TextElideMode +QtWidgets.QTabWidget.setElideMode?4(Qt.TextElideMode) +QtWidgets.QTabWidget.iconSize?4() -> QSize +QtWidgets.QTabWidget.setIconSize?4(QSize) +QtWidgets.QTabWidget.usesScrollButtons?4() -> bool +QtWidgets.QTabWidget.setUsesScrollButtons?4(bool) +QtWidgets.QTabWidget.tabsClosable?4() -> bool +QtWidgets.QTabWidget.setTabsClosable?4(bool) +QtWidgets.QTabWidget.isMovable?4() -> bool +QtWidgets.QTabWidget.setMovable?4(bool) +QtWidgets.QTabWidget.documentMode?4() -> bool +QtWidgets.QTabWidget.setDocumentMode?4(bool) +QtWidgets.QTabWidget.tabCloseRequested?4(int) +QtWidgets.QTabWidget.heightForWidth?4(int) -> int +QtWidgets.QTabWidget.hasHeightForWidth?4() -> bool +QtWidgets.QTabWidget.tabBarClicked?4(int) +QtWidgets.QTabWidget.tabBarDoubleClicked?4(int) +QtWidgets.QTabWidget.tabBarAutoHide?4() -> bool +QtWidgets.QTabWidget.setTabBarAutoHide?4(bool) +QtWidgets.QTabWidget.isTabVisible?4(int) -> bool +QtWidgets.QTabWidget.setTabVisible?4(int, bool) +QtWidgets.QTextEdit.AutoFormattingFlag?10 +QtWidgets.QTextEdit.AutoFormattingFlag.AutoNone?10 +QtWidgets.QTextEdit.AutoFormattingFlag.AutoBulletList?10 +QtWidgets.QTextEdit.AutoFormattingFlag.AutoAll?10 +QtWidgets.QTextEdit.LineWrapMode?10 +QtWidgets.QTextEdit.LineWrapMode.NoWrap?10 +QtWidgets.QTextEdit.LineWrapMode.WidgetWidth?10 +QtWidgets.QTextEdit.LineWrapMode.FixedPixelWidth?10 +QtWidgets.QTextEdit.LineWrapMode.FixedColumnWidth?10 +QtWidgets.QTextEdit?1(QWidget parent=None) +QtWidgets.QTextEdit.__init__?1(self, QWidget parent=None) +QtWidgets.QTextEdit?1(QString, QWidget parent=None) +QtWidgets.QTextEdit.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QTextEdit.setDocument?4(QTextDocument) +QtWidgets.QTextEdit.document?4() -> QTextDocument +QtWidgets.QTextEdit.setTextCursor?4(QTextCursor) +QtWidgets.QTextEdit.textCursor?4() -> QTextCursor +QtWidgets.QTextEdit.isReadOnly?4() -> bool +QtWidgets.QTextEdit.setReadOnly?4(bool) +QtWidgets.QTextEdit.fontPointSize?4() -> float +QtWidgets.QTextEdit.fontFamily?4() -> QString +QtWidgets.QTextEdit.fontWeight?4() -> int +QtWidgets.QTextEdit.fontUnderline?4() -> bool +QtWidgets.QTextEdit.fontItalic?4() -> bool +QtWidgets.QTextEdit.textColor?4() -> QColor +QtWidgets.QTextEdit.currentFont?4() -> QFont +QtWidgets.QTextEdit.alignment?4() -> Qt.Alignment +QtWidgets.QTextEdit.mergeCurrentCharFormat?4(QTextCharFormat) +QtWidgets.QTextEdit.setCurrentCharFormat?4(QTextCharFormat) +QtWidgets.QTextEdit.currentCharFormat?4() -> QTextCharFormat +QtWidgets.QTextEdit.autoFormatting?4() -> QTextEdit.AutoFormatting +QtWidgets.QTextEdit.setAutoFormatting?4(QTextEdit.AutoFormatting) +QtWidgets.QTextEdit.tabChangesFocus?4() -> bool +QtWidgets.QTextEdit.setTabChangesFocus?4(bool) +QtWidgets.QTextEdit.setDocumentTitle?4(QString) +QtWidgets.QTextEdit.documentTitle?4() -> QString +QtWidgets.QTextEdit.isUndoRedoEnabled?4() -> bool +QtWidgets.QTextEdit.setUndoRedoEnabled?4(bool) +QtWidgets.QTextEdit.lineWrapMode?4() -> QTextEdit.LineWrapMode +QtWidgets.QTextEdit.setLineWrapMode?4(QTextEdit.LineWrapMode) +QtWidgets.QTextEdit.lineWrapColumnOrWidth?4() -> int +QtWidgets.QTextEdit.setLineWrapColumnOrWidth?4(int) +QtWidgets.QTextEdit.wordWrapMode?4() -> QTextOption.WrapMode +QtWidgets.QTextEdit.setWordWrapMode?4(QTextOption.WrapMode) +QtWidgets.QTextEdit.find?4(QString, QTextDocument.FindFlags options=QTextDocument.FindFlags()) -> bool +QtWidgets.QTextEdit.toPlainText?4() -> QString +QtWidgets.QTextEdit.toHtml?4() -> QString +QtWidgets.QTextEdit.append?4(QString) +QtWidgets.QTextEdit.ensureCursorVisible?4() +QtWidgets.QTextEdit.loadResource?4(int, QUrl) -> QVariant +QtWidgets.QTextEdit.createStandardContextMenu?4() -> QMenu +QtWidgets.QTextEdit.createStandardContextMenu?4(QPoint) -> QMenu +QtWidgets.QTextEdit.cursorForPosition?4(QPoint) -> QTextCursor +QtWidgets.QTextEdit.cursorRect?4(QTextCursor) -> QRect +QtWidgets.QTextEdit.cursorRect?4() -> QRect +QtWidgets.QTextEdit.anchorAt?4(QPoint) -> QString +QtWidgets.QTextEdit.overwriteMode?4() -> bool +QtWidgets.QTextEdit.setOverwriteMode?4(bool) +QtWidgets.QTextEdit.tabStopWidth?4() -> int +QtWidgets.QTextEdit.setTabStopWidth?4(int) +QtWidgets.QTextEdit.acceptRichText?4() -> bool +QtWidgets.QTextEdit.setAcceptRichText?4(bool) +QtWidgets.QTextEdit.setTextInteractionFlags?4(Qt.TextInteractionFlags) +QtWidgets.QTextEdit.textInteractionFlags?4() -> Qt.TextInteractionFlags +QtWidgets.QTextEdit.setCursorWidth?4(int) +QtWidgets.QTextEdit.cursorWidth?4() -> int +QtWidgets.QTextEdit.setExtraSelections?4(unknown-type) +QtWidgets.QTextEdit.extraSelections?4() -> unknown-type +QtWidgets.QTextEdit.canPaste?4() -> bool +QtWidgets.QTextEdit.moveCursor?4(QTextCursor.MoveOperation, QTextCursor.MoveMode mode=QTextCursor.MoveAnchor) +QtWidgets.QTextEdit.print_?4(QPagedPaintDevice) +QtWidgets.QTextEdit.print?4(QPagedPaintDevice) +QtWidgets.QTextEdit.setFontPointSize?4(float) +QtWidgets.QTextEdit.setFontFamily?4(QString) +QtWidgets.QTextEdit.setFontWeight?4(int) +QtWidgets.QTextEdit.setFontUnderline?4(bool) +QtWidgets.QTextEdit.setFontItalic?4(bool) +QtWidgets.QTextEdit.setText?4(QString) +QtWidgets.QTextEdit.setTextColor?4(QColor) +QtWidgets.QTextEdit.setCurrentFont?4(QFont) +QtWidgets.QTextEdit.setAlignment?4(Qt.Alignment) +QtWidgets.QTextEdit.setPlainText?4(QString) +QtWidgets.QTextEdit.setHtml?4(QString) +QtWidgets.QTextEdit.cut?4() +QtWidgets.QTextEdit.copy?4() +QtWidgets.QTextEdit.paste?4() +QtWidgets.QTextEdit.clear?4() +QtWidgets.QTextEdit.selectAll?4() +QtWidgets.QTextEdit.insertPlainText?4(QString) +QtWidgets.QTextEdit.insertHtml?4(QString) +QtWidgets.QTextEdit.scrollToAnchor?4(QString) +QtWidgets.QTextEdit.redo?4() +QtWidgets.QTextEdit.undo?4() +QtWidgets.QTextEdit.zoomIn?4(int range=1) +QtWidgets.QTextEdit.zoomOut?4(int range=1) +QtWidgets.QTextEdit.textChanged?4() +QtWidgets.QTextEdit.undoAvailable?4(bool) +QtWidgets.QTextEdit.redoAvailable?4(bool) +QtWidgets.QTextEdit.currentCharFormatChanged?4(QTextCharFormat) +QtWidgets.QTextEdit.copyAvailable?4(bool) +QtWidgets.QTextEdit.selectionChanged?4() +QtWidgets.QTextEdit.cursorPositionChanged?4() +QtWidgets.QTextEdit.event?4(QEvent) -> bool +QtWidgets.QTextEdit.timerEvent?4(QTimerEvent) +QtWidgets.QTextEdit.keyPressEvent?4(QKeyEvent) +QtWidgets.QTextEdit.keyReleaseEvent?4(QKeyEvent) +QtWidgets.QTextEdit.resizeEvent?4(QResizeEvent) +QtWidgets.QTextEdit.paintEvent?4(QPaintEvent) +QtWidgets.QTextEdit.mousePressEvent?4(QMouseEvent) +QtWidgets.QTextEdit.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QTextEdit.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QTextEdit.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QTextEdit.focusNextPrevChild?4(bool) -> bool +QtWidgets.QTextEdit.contextMenuEvent?4(QContextMenuEvent) +QtWidgets.QTextEdit.dragEnterEvent?4(QDragEnterEvent) +QtWidgets.QTextEdit.dragLeaveEvent?4(QDragLeaveEvent) +QtWidgets.QTextEdit.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QTextEdit.dropEvent?4(QDropEvent) +QtWidgets.QTextEdit.focusInEvent?4(QFocusEvent) +QtWidgets.QTextEdit.focusOutEvent?4(QFocusEvent) +QtWidgets.QTextEdit.showEvent?4(QShowEvent) +QtWidgets.QTextEdit.changeEvent?4(QEvent) +QtWidgets.QTextEdit.wheelEvent?4(QWheelEvent) +QtWidgets.QTextEdit.createMimeDataFromSelection?4() -> QMimeData +QtWidgets.QTextEdit.canInsertFromMimeData?4(QMimeData) -> bool +QtWidgets.QTextEdit.insertFromMimeData?4(QMimeData) +QtWidgets.QTextEdit.inputMethodEvent?4(QInputMethodEvent) +QtWidgets.QTextEdit.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtWidgets.QTextEdit.scrollContentsBy?4(int, int) +QtWidgets.QTextEdit.textBackgroundColor?4() -> QColor +QtWidgets.QTextEdit.setTextBackgroundColor?4(QColor) +QtWidgets.QTextEdit.setPlaceholderText?4(QString) +QtWidgets.QTextEdit.placeholderText?4() -> QString +QtWidgets.QTextEdit.find?4(QRegExp, QTextDocument.FindFlags options=QTextDocument.FindFlags()) -> bool +QtWidgets.QTextEdit.find?4(QRegularExpression, QTextDocument.FindFlags options=QTextDocument.FindFlags()) -> bool +QtWidgets.QTextEdit.inputMethodQuery?4(Qt.InputMethodQuery, QVariant) -> QVariant +QtWidgets.QTextEdit.tabStopDistance?4() -> float +QtWidgets.QTextEdit.setTabStopDistance?4(float) +QtWidgets.QTextEdit.toMarkdown?4(QTextDocument.MarkdownFeatures features=QTextDocument.MarkdownDialectGitHub) -> QString +QtWidgets.QTextEdit.setMarkdown?4(QString) +QtWidgets.QTextBrowser?1(QWidget parent=None) +QtWidgets.QTextBrowser.__init__?1(self, QWidget parent=None) +QtWidgets.QTextBrowser.source?4() -> QUrl +QtWidgets.QTextBrowser.searchPaths?4() -> QStringList +QtWidgets.QTextBrowser.setSearchPaths?4(QStringList) +QtWidgets.QTextBrowser.loadResource?4(int, QUrl) -> QVariant +QtWidgets.QTextBrowser.setSource?4(QUrl) +QtWidgets.QTextBrowser.backward?4() +QtWidgets.QTextBrowser.forward?4() +QtWidgets.QTextBrowser.home?4() +QtWidgets.QTextBrowser.reload?4() +QtWidgets.QTextBrowser.backwardAvailable?4(bool) +QtWidgets.QTextBrowser.forwardAvailable?4(bool) +QtWidgets.QTextBrowser.sourceChanged?4(QUrl) +QtWidgets.QTextBrowser.highlighted?4(QUrl) +QtWidgets.QTextBrowser.highlighted?4(QString) +QtWidgets.QTextBrowser.anchorClicked?4(QUrl) +QtWidgets.QTextBrowser.event?4(QEvent) -> bool +QtWidgets.QTextBrowser.keyPressEvent?4(QKeyEvent) +QtWidgets.QTextBrowser.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QTextBrowser.mousePressEvent?4(QMouseEvent) +QtWidgets.QTextBrowser.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QTextBrowser.focusOutEvent?4(QFocusEvent) +QtWidgets.QTextBrowser.focusNextPrevChild?4(bool) -> bool +QtWidgets.QTextBrowser.paintEvent?4(QPaintEvent) +QtWidgets.QTextBrowser.isBackwardAvailable?4() -> bool +QtWidgets.QTextBrowser.isForwardAvailable?4() -> bool +QtWidgets.QTextBrowser.clearHistory?4() +QtWidgets.QTextBrowser.openExternalLinks?4() -> bool +QtWidgets.QTextBrowser.setOpenExternalLinks?4(bool) +QtWidgets.QTextBrowser.openLinks?4() -> bool +QtWidgets.QTextBrowser.setOpenLinks?4(bool) +QtWidgets.QTextBrowser.historyTitle?4(int) -> QString +QtWidgets.QTextBrowser.historyUrl?4(int) -> QUrl +QtWidgets.QTextBrowser.backwardHistoryCount?4() -> int +QtWidgets.QTextBrowser.forwardHistoryCount?4() -> int +QtWidgets.QTextBrowser.historyChanged?4() +QtWidgets.QTextBrowser.sourceType?4() -> QTextDocument.ResourceType +QtWidgets.QTextBrowser.setSource?4(QUrl, QTextDocument.ResourceType) +QtWidgets.QTextBrowser.doSetSource?4(QUrl, QTextDocument.ResourceType type=QTextDocument.UnknownResource) +QtWidgets.QTextEdit.ExtraSelection.cursor?7 +QtWidgets.QTextEdit.ExtraSelection.format?7 +QtWidgets.QTextEdit.ExtraSelection?1() +QtWidgets.QTextEdit.ExtraSelection.__init__?1(self) +QtWidgets.QTextEdit.ExtraSelection?1(QTextEdit.ExtraSelection) +QtWidgets.QTextEdit.ExtraSelection.__init__?1(self, QTextEdit.ExtraSelection) +QtWidgets.QTextEdit.AutoFormatting?1() +QtWidgets.QTextEdit.AutoFormatting.__init__?1(self) +QtWidgets.QTextEdit.AutoFormatting?1(int) +QtWidgets.QTextEdit.AutoFormatting.__init__?1(self, int) +QtWidgets.QTextEdit.AutoFormatting?1(QTextEdit.AutoFormatting) +QtWidgets.QTextEdit.AutoFormatting.__init__?1(self, QTextEdit.AutoFormatting) +QtWidgets.QToolBar?1(QString, QWidget parent=None) +QtWidgets.QToolBar.__init__?1(self, QString, QWidget parent=None) +QtWidgets.QToolBar?1(QWidget parent=None) +QtWidgets.QToolBar.__init__?1(self, QWidget parent=None) +QtWidgets.QToolBar.setMovable?4(bool) +QtWidgets.QToolBar.isMovable?4() -> bool +QtWidgets.QToolBar.setAllowedAreas?4(Qt.ToolBarAreas) +QtWidgets.QToolBar.allowedAreas?4() -> Qt.ToolBarAreas +QtWidgets.QToolBar.isAreaAllowed?4(Qt.ToolBarArea) -> bool +QtWidgets.QToolBar.setOrientation?4(Qt.Orientation) +QtWidgets.QToolBar.orientation?4() -> Qt.Orientation +QtWidgets.QToolBar.clear?4() +QtWidgets.QToolBar.addAction?4(QAction) +QtWidgets.QToolBar.addAction?4(QString) -> QAction +QtWidgets.QToolBar.addAction?4(QIcon, QString) -> QAction +QtWidgets.QToolBar.addAction?4(QString, object) -> QAction +QtWidgets.QToolBar.addAction?4(QIcon, QString, object) -> QAction +QtWidgets.QToolBar.addSeparator?4() -> QAction +QtWidgets.QToolBar.insertSeparator?4(QAction) -> QAction +QtWidgets.QToolBar.addWidget?4(QWidget) -> QAction +QtWidgets.QToolBar.insertWidget?4(QAction, QWidget) -> QAction +QtWidgets.QToolBar.actionGeometry?4(QAction) -> QRect +QtWidgets.QToolBar.actionAt?4(QPoint) -> QAction +QtWidgets.QToolBar.actionAt?4(int, int) -> QAction +QtWidgets.QToolBar.toggleViewAction?4() -> QAction +QtWidgets.QToolBar.iconSize?4() -> QSize +QtWidgets.QToolBar.toolButtonStyle?4() -> Qt.ToolButtonStyle +QtWidgets.QToolBar.widgetForAction?4(QAction) -> QWidget +QtWidgets.QToolBar.setIconSize?4(QSize) +QtWidgets.QToolBar.setToolButtonStyle?4(Qt.ToolButtonStyle) +QtWidgets.QToolBar.actionTriggered?4(QAction) +QtWidgets.QToolBar.movableChanged?4(bool) +QtWidgets.QToolBar.allowedAreasChanged?4(Qt.ToolBarAreas) +QtWidgets.QToolBar.orientationChanged?4(Qt.Orientation) +QtWidgets.QToolBar.iconSizeChanged?4(QSize) +QtWidgets.QToolBar.toolButtonStyleChanged?4(Qt.ToolButtonStyle) +QtWidgets.QToolBar.topLevelChanged?4(bool) +QtWidgets.QToolBar.visibilityChanged?4(bool) +QtWidgets.QToolBar.initStyleOption?4(QStyleOptionToolBar) +QtWidgets.QToolBar.actionEvent?4(QActionEvent) +QtWidgets.QToolBar.changeEvent?4(QEvent) +QtWidgets.QToolBar.paintEvent?4(QPaintEvent) +QtWidgets.QToolBar.event?4(QEvent) -> bool +QtWidgets.QToolBar.isFloatable?4() -> bool +QtWidgets.QToolBar.setFloatable?4(bool) +QtWidgets.QToolBar.isFloating?4() -> bool +QtWidgets.QToolBox?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QToolBox.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QToolBox.addItem?4(QWidget, QString) -> int +QtWidgets.QToolBox.addItem?4(QWidget, QIcon, QString) -> int +QtWidgets.QToolBox.insertItem?4(int, QWidget, QString) -> int +QtWidgets.QToolBox.insertItem?4(int, QWidget, QIcon, QString) -> int +QtWidgets.QToolBox.removeItem?4(int) +QtWidgets.QToolBox.setItemEnabled?4(int, bool) +QtWidgets.QToolBox.isItemEnabled?4(int) -> bool +QtWidgets.QToolBox.setItemText?4(int, QString) +QtWidgets.QToolBox.itemText?4(int) -> QString +QtWidgets.QToolBox.setItemIcon?4(int, QIcon) +QtWidgets.QToolBox.itemIcon?4(int) -> QIcon +QtWidgets.QToolBox.setItemToolTip?4(int, QString) +QtWidgets.QToolBox.itemToolTip?4(int) -> QString +QtWidgets.QToolBox.currentIndex?4() -> int +QtWidgets.QToolBox.currentWidget?4() -> QWidget +QtWidgets.QToolBox.widget?4(int) -> QWidget +QtWidgets.QToolBox.indexOf?4(QWidget) -> int +QtWidgets.QToolBox.count?4() -> int +QtWidgets.QToolBox.setCurrentIndex?4(int) +QtWidgets.QToolBox.setCurrentWidget?4(QWidget) +QtWidgets.QToolBox.currentChanged?4(int) +QtWidgets.QToolBox.itemInserted?4(int) +QtWidgets.QToolBox.itemRemoved?4(int) +QtWidgets.QToolBox.event?4(QEvent) -> bool +QtWidgets.QToolBox.showEvent?4(QShowEvent) +QtWidgets.QToolBox.changeEvent?4(QEvent) +QtWidgets.QToolButton.ToolButtonPopupMode?10 +QtWidgets.QToolButton.ToolButtonPopupMode.DelayedPopup?10 +QtWidgets.QToolButton.ToolButtonPopupMode.MenuButtonPopup?10 +QtWidgets.QToolButton.ToolButtonPopupMode.InstantPopup?10 +QtWidgets.QToolButton?1(QWidget parent=None) +QtWidgets.QToolButton.__init__?1(self, QWidget parent=None) +QtWidgets.QToolButton.sizeHint?4() -> QSize +QtWidgets.QToolButton.minimumSizeHint?4() -> QSize +QtWidgets.QToolButton.toolButtonStyle?4() -> Qt.ToolButtonStyle +QtWidgets.QToolButton.arrowType?4() -> Qt.ArrowType +QtWidgets.QToolButton.setArrowType?4(Qt.ArrowType) +QtWidgets.QToolButton.setMenu?4(QMenu) +QtWidgets.QToolButton.menu?4() -> QMenu +QtWidgets.QToolButton.setPopupMode?4(QToolButton.ToolButtonPopupMode) +QtWidgets.QToolButton.popupMode?4() -> QToolButton.ToolButtonPopupMode +QtWidgets.QToolButton.defaultAction?4() -> QAction +QtWidgets.QToolButton.setAutoRaise?4(bool) +QtWidgets.QToolButton.autoRaise?4() -> bool +QtWidgets.QToolButton.showMenu?4() +QtWidgets.QToolButton.setToolButtonStyle?4(Qt.ToolButtonStyle) +QtWidgets.QToolButton.setDefaultAction?4(QAction) +QtWidgets.QToolButton.triggered?4(QAction) +QtWidgets.QToolButton.initStyleOption?4(QStyleOptionToolButton) +QtWidgets.QToolButton.event?4(QEvent) -> bool +QtWidgets.QToolButton.mousePressEvent?4(QMouseEvent) +QtWidgets.QToolButton.paintEvent?4(QPaintEvent) +QtWidgets.QToolButton.actionEvent?4(QActionEvent) +QtWidgets.QToolButton.enterEvent?4(QEvent) +QtWidgets.QToolButton.leaveEvent?4(QEvent) +QtWidgets.QToolButton.timerEvent?4(QTimerEvent) +QtWidgets.QToolButton.changeEvent?4(QEvent) +QtWidgets.QToolButton.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QToolButton.nextCheckState?4() +QtWidgets.QToolButton.hitButton?4(QPoint) -> bool +QtWidgets.QToolTip?1(QToolTip) +QtWidgets.QToolTip.__init__?1(self, QToolTip) +QtWidgets.QToolTip.showText?4(QPoint, QString, QWidget widget=None) +QtWidgets.QToolTip.showText?4(QPoint, QString, QWidget, QRect) +QtWidgets.QToolTip.showText?4(QPoint, QString, QWidget, QRect, int) +QtWidgets.QToolTip.palette?4() -> QPalette +QtWidgets.QToolTip.hideText?4() +QtWidgets.QToolTip.setPalette?4(QPalette) +QtWidgets.QToolTip.font?4() -> QFont +QtWidgets.QToolTip.setFont?4(QFont) +QtWidgets.QToolTip.isVisible?4() -> bool +QtWidgets.QToolTip.text?4() -> QString +QtWidgets.QTreeView?1(QWidget parent=None) +QtWidgets.QTreeView.__init__?1(self, QWidget parent=None) +QtWidgets.QTreeView.setModel?4(QAbstractItemModel) +QtWidgets.QTreeView.setRootIndex?4(QModelIndex) +QtWidgets.QTreeView.setSelectionModel?4(QItemSelectionModel) +QtWidgets.QTreeView.header?4() -> QHeaderView +QtWidgets.QTreeView.setHeader?4(QHeaderView) +QtWidgets.QTreeView.indentation?4() -> int +QtWidgets.QTreeView.setIndentation?4(int) +QtWidgets.QTreeView.rootIsDecorated?4() -> bool +QtWidgets.QTreeView.setRootIsDecorated?4(bool) +QtWidgets.QTreeView.uniformRowHeights?4() -> bool +QtWidgets.QTreeView.setUniformRowHeights?4(bool) +QtWidgets.QTreeView.itemsExpandable?4() -> bool +QtWidgets.QTreeView.setItemsExpandable?4(bool) +QtWidgets.QTreeView.columnViewportPosition?4(int) -> int +QtWidgets.QTreeView.columnWidth?4(int) -> int +QtWidgets.QTreeView.columnAt?4(int) -> int +QtWidgets.QTreeView.isColumnHidden?4(int) -> bool +QtWidgets.QTreeView.setColumnHidden?4(int, bool) +QtWidgets.QTreeView.isRowHidden?4(int, QModelIndex) -> bool +QtWidgets.QTreeView.setRowHidden?4(int, QModelIndex, bool) +QtWidgets.QTreeView.isExpanded?4(QModelIndex) -> bool +QtWidgets.QTreeView.setExpanded?4(QModelIndex, bool) +QtWidgets.QTreeView.keyboardSearch?4(QString) +QtWidgets.QTreeView.visualRect?4(QModelIndex) -> QRect +QtWidgets.QTreeView.scrollTo?4(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible) +QtWidgets.QTreeView.indexAt?4(QPoint) -> QModelIndex +QtWidgets.QTreeView.indexAbove?4(QModelIndex) -> QModelIndex +QtWidgets.QTreeView.indexBelow?4(QModelIndex) -> QModelIndex +QtWidgets.QTreeView.reset?4() +QtWidgets.QTreeView.expanded?4(QModelIndex) +QtWidgets.QTreeView.collapsed?4(QModelIndex) +QtWidgets.QTreeView.dataChanged?4(QModelIndex, QModelIndex, unknown-type roles=[]) +QtWidgets.QTreeView.hideColumn?4(int) +QtWidgets.QTreeView.showColumn?4(int) +QtWidgets.QTreeView.expand?4(QModelIndex) +QtWidgets.QTreeView.expandAll?4() +QtWidgets.QTreeView.collapse?4(QModelIndex) +QtWidgets.QTreeView.collapseAll?4() +QtWidgets.QTreeView.resizeColumnToContents?4(int) +QtWidgets.QTreeView.selectAll?4() +QtWidgets.QTreeView.columnResized?4(int, int, int) +QtWidgets.QTreeView.columnCountChanged?4(int, int) +QtWidgets.QTreeView.columnMoved?4() +QtWidgets.QTreeView.reexpand?4() +QtWidgets.QTreeView.rowsRemoved?4(QModelIndex, int, int) +QtWidgets.QTreeView.scrollContentsBy?4(int, int) +QtWidgets.QTreeView.rowsInserted?4(QModelIndex, int, int) +QtWidgets.QTreeView.rowsAboutToBeRemoved?4(QModelIndex, int, int) +QtWidgets.QTreeView.moveCursor?4(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex +QtWidgets.QTreeView.horizontalOffset?4() -> int +QtWidgets.QTreeView.verticalOffset?4() -> int +QtWidgets.QTreeView.setSelection?4(QRect, QItemSelectionModel.SelectionFlags) +QtWidgets.QTreeView.visualRegionForSelection?4(QItemSelection) -> QRegion +QtWidgets.QTreeView.selectedIndexes?4() -> unknown-type +QtWidgets.QTreeView.paintEvent?4(QPaintEvent) +QtWidgets.QTreeView.timerEvent?4(QTimerEvent) +QtWidgets.QTreeView.mouseReleaseEvent?4(QMouseEvent) +QtWidgets.QTreeView.drawRow?4(QPainter, QStyleOptionViewItem, QModelIndex) +QtWidgets.QTreeView.drawBranches?4(QPainter, QRect, QModelIndex) +QtWidgets.QTreeView.drawTree?4(QPainter, QRegion) +QtWidgets.QTreeView.mousePressEvent?4(QMouseEvent) +QtWidgets.QTreeView.mouseMoveEvent?4(QMouseEvent) +QtWidgets.QTreeView.mouseDoubleClickEvent?4(QMouseEvent) +QtWidgets.QTreeView.keyPressEvent?4(QKeyEvent) +QtWidgets.QTreeView.updateGeometries?4() +QtWidgets.QTreeView.sizeHintForColumn?4(int) -> int +QtWidgets.QTreeView.indexRowSizeHint?4(QModelIndex) -> int +QtWidgets.QTreeView.horizontalScrollbarAction?4(int) +QtWidgets.QTreeView.isIndexHidden?4(QModelIndex) -> bool +QtWidgets.QTreeView.setColumnWidth?4(int, int) +QtWidgets.QTreeView.setSortingEnabled?4(bool) +QtWidgets.QTreeView.isSortingEnabled?4() -> bool +QtWidgets.QTreeView.setAnimated?4(bool) +QtWidgets.QTreeView.isAnimated?4() -> bool +QtWidgets.QTreeView.setAllColumnsShowFocus?4(bool) +QtWidgets.QTreeView.allColumnsShowFocus?4() -> bool +QtWidgets.QTreeView.sortByColumn?4(int, Qt.SortOrder) +QtWidgets.QTreeView.autoExpandDelay?4() -> int +QtWidgets.QTreeView.setAutoExpandDelay?4(int) +QtWidgets.QTreeView.isFirstColumnSpanned?4(int, QModelIndex) -> bool +QtWidgets.QTreeView.setFirstColumnSpanned?4(int, QModelIndex, bool) +QtWidgets.QTreeView.setWordWrap?4(bool) +QtWidgets.QTreeView.wordWrap?4() -> bool +QtWidgets.QTreeView.expandToDepth?4(int) +QtWidgets.QTreeView.dragMoveEvent?4(QDragMoveEvent) +QtWidgets.QTreeView.viewportEvent?4(QEvent) -> bool +QtWidgets.QTreeView.rowHeight?4(QModelIndex) -> int +QtWidgets.QTreeView.selectionChanged?4(QItemSelection, QItemSelection) +QtWidgets.QTreeView.currentChanged?4(QModelIndex, QModelIndex) +QtWidgets.QTreeView.expandsOnDoubleClick?4() -> bool +QtWidgets.QTreeView.setExpandsOnDoubleClick?4(bool) +QtWidgets.QTreeView.isHeaderHidden?4() -> bool +QtWidgets.QTreeView.setHeaderHidden?4(bool) +QtWidgets.QTreeView.setTreePosition?4(int) +QtWidgets.QTreeView.treePosition?4() -> int +QtWidgets.QTreeView.viewportSizeHint?4() -> QSize +QtWidgets.QTreeView.resetIndentation?4() +QtWidgets.QTreeView.expandRecursively?4(QModelIndex, int depth=-1) +QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy?10 +QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.ShowIndicator?10 +QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.DontShowIndicator?10 +QtWidgets.QTreeWidgetItem.ChildIndicatorPolicy.DontShowIndicatorWhenChildless?10 +QtWidgets.QTreeWidgetItem.ItemType?10 +QtWidgets.QTreeWidgetItem.ItemType.Type?10 +QtWidgets.QTreeWidgetItem.ItemType.UserType?10 +QtWidgets.QTreeWidgetItem?1(int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem.__init__?1(self, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem?1(QStringList, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem.__init__?1(self, QStringList, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem?1(QTreeWidget, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem.__init__?1(self, QTreeWidget, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem?1(QTreeWidget, QStringList, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem.__init__?1(self, QTreeWidget, QStringList, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem?1(QTreeWidget, QTreeWidgetItem, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem.__init__?1(self, QTreeWidget, QTreeWidgetItem, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem?1(QTreeWidgetItem, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem.__init__?1(self, QTreeWidgetItem, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem?1(QTreeWidgetItem, QStringList, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem.__init__?1(self, QTreeWidgetItem, QStringList, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem?1(QTreeWidgetItem, QTreeWidgetItem, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem.__init__?1(self, QTreeWidgetItem, QTreeWidgetItem, int type=QTreeWidgetItem.Type) +QtWidgets.QTreeWidgetItem?1(QTreeWidgetItem) +QtWidgets.QTreeWidgetItem.__init__?1(self, QTreeWidgetItem) +QtWidgets.QTreeWidgetItem.clone?4() -> QTreeWidgetItem +QtWidgets.QTreeWidgetItem.treeWidget?4() -> QTreeWidget +QtWidgets.QTreeWidgetItem.flags?4() -> Qt.ItemFlags +QtWidgets.QTreeWidgetItem.text?4(int) -> QString +QtWidgets.QTreeWidgetItem.icon?4(int) -> QIcon +QtWidgets.QTreeWidgetItem.statusTip?4(int) -> QString +QtWidgets.QTreeWidgetItem.toolTip?4(int) -> QString +QtWidgets.QTreeWidgetItem.whatsThis?4(int) -> QString +QtWidgets.QTreeWidgetItem.font?4(int) -> QFont +QtWidgets.QTreeWidgetItem.textAlignment?4(int) -> int +QtWidgets.QTreeWidgetItem.setTextAlignment?4(int, int) +QtWidgets.QTreeWidgetItem.checkState?4(int) -> Qt.CheckState +QtWidgets.QTreeWidgetItem.setCheckState?4(int, Qt.CheckState) +QtWidgets.QTreeWidgetItem.data?4(int, int) -> QVariant +QtWidgets.QTreeWidgetItem.setData?4(int, int, QVariant) +QtWidgets.QTreeWidgetItem.read?4(QDataStream) +QtWidgets.QTreeWidgetItem.write?4(QDataStream) +QtWidgets.QTreeWidgetItem.parent?4() -> QTreeWidgetItem +QtWidgets.QTreeWidgetItem.child?4(int) -> QTreeWidgetItem +QtWidgets.QTreeWidgetItem.childCount?4() -> int +QtWidgets.QTreeWidgetItem.columnCount?4() -> int +QtWidgets.QTreeWidgetItem.addChild?4(QTreeWidgetItem) +QtWidgets.QTreeWidgetItem.insertChild?4(int, QTreeWidgetItem) +QtWidgets.QTreeWidgetItem.takeChild?4(int) -> QTreeWidgetItem +QtWidgets.QTreeWidgetItem.type?4() -> int +QtWidgets.QTreeWidgetItem.setFlags?4(Qt.ItemFlags) +QtWidgets.QTreeWidgetItem.setText?4(int, QString) +QtWidgets.QTreeWidgetItem.setIcon?4(int, QIcon) +QtWidgets.QTreeWidgetItem.setStatusTip?4(int, QString) +QtWidgets.QTreeWidgetItem.setToolTip?4(int, QString) +QtWidgets.QTreeWidgetItem.setWhatsThis?4(int, QString) +QtWidgets.QTreeWidgetItem.setFont?4(int, QFont) +QtWidgets.QTreeWidgetItem.indexOfChild?4(QTreeWidgetItem) -> int +QtWidgets.QTreeWidgetItem.sizeHint?4(int) -> QSize +QtWidgets.QTreeWidgetItem.setSizeHint?4(int, QSize) +QtWidgets.QTreeWidgetItem.addChildren?4(unknown-type) +QtWidgets.QTreeWidgetItem.insertChildren?4(int, unknown-type) +QtWidgets.QTreeWidgetItem.takeChildren?4() -> unknown-type +QtWidgets.QTreeWidgetItem.background?4(int) -> QBrush +QtWidgets.QTreeWidgetItem.setBackground?4(int, QBrush) +QtWidgets.QTreeWidgetItem.foreground?4(int) -> QBrush +QtWidgets.QTreeWidgetItem.setForeground?4(int, QBrush) +QtWidgets.QTreeWidgetItem.sortChildren?4(int, Qt.SortOrder) +QtWidgets.QTreeWidgetItem.setSelected?4(bool) +QtWidgets.QTreeWidgetItem.isSelected?4() -> bool +QtWidgets.QTreeWidgetItem.setHidden?4(bool) +QtWidgets.QTreeWidgetItem.isHidden?4() -> bool +QtWidgets.QTreeWidgetItem.setExpanded?4(bool) +QtWidgets.QTreeWidgetItem.isExpanded?4() -> bool +QtWidgets.QTreeWidgetItem.setChildIndicatorPolicy?4(QTreeWidgetItem.ChildIndicatorPolicy) +QtWidgets.QTreeWidgetItem.childIndicatorPolicy?4() -> QTreeWidgetItem.ChildIndicatorPolicy +QtWidgets.QTreeWidgetItem.removeChild?4(QTreeWidgetItem) +QtWidgets.QTreeWidgetItem.setFirstColumnSpanned?4(bool) +QtWidgets.QTreeWidgetItem.isFirstColumnSpanned?4() -> bool +QtWidgets.QTreeWidgetItem.setDisabled?4(bool) +QtWidgets.QTreeWidgetItem.isDisabled?4() -> bool +QtWidgets.QTreeWidgetItem.emitDataChanged?4() +QtWidgets.QTreeWidget?1(QWidget parent=None) +QtWidgets.QTreeWidget.__init__?1(self, QWidget parent=None) +QtWidgets.QTreeWidget.columnCount?4() -> int +QtWidgets.QTreeWidget.setColumnCount?4(int) +QtWidgets.QTreeWidget.topLevelItem?4(int) -> QTreeWidgetItem +QtWidgets.QTreeWidget.topLevelItemCount?4() -> int +QtWidgets.QTreeWidget.insertTopLevelItem?4(int, QTreeWidgetItem) +QtWidgets.QTreeWidget.addTopLevelItem?4(QTreeWidgetItem) +QtWidgets.QTreeWidget.takeTopLevelItem?4(int) -> QTreeWidgetItem +QtWidgets.QTreeWidget.indexOfTopLevelItem?4(QTreeWidgetItem) -> int +QtWidgets.QTreeWidget.insertTopLevelItems?4(int, unknown-type) +QtWidgets.QTreeWidget.addTopLevelItems?4(unknown-type) +QtWidgets.QTreeWidget.headerItem?4() -> QTreeWidgetItem +QtWidgets.QTreeWidget.setHeaderItem?4(QTreeWidgetItem) +QtWidgets.QTreeWidget.setHeaderLabels?4(QStringList) +QtWidgets.QTreeWidget.currentItem?4() -> QTreeWidgetItem +QtWidgets.QTreeWidget.currentColumn?4() -> int +QtWidgets.QTreeWidget.setCurrentItem?4(QTreeWidgetItem) +QtWidgets.QTreeWidget.setCurrentItem?4(QTreeWidgetItem, int) +QtWidgets.QTreeWidget.setCurrentItem?4(QTreeWidgetItem, int, QItemSelectionModel.SelectionFlags) +QtWidgets.QTreeWidget.itemAt?4(QPoint) -> QTreeWidgetItem +QtWidgets.QTreeWidget.itemAt?4(int, int) -> QTreeWidgetItem +QtWidgets.QTreeWidget.visualItemRect?4(QTreeWidgetItem) -> QRect +QtWidgets.QTreeWidget.sortColumn?4() -> int +QtWidgets.QTreeWidget.sortItems?4(int, Qt.SortOrder) +QtWidgets.QTreeWidget.editItem?4(QTreeWidgetItem, int column=0) +QtWidgets.QTreeWidget.openPersistentEditor?4(QTreeWidgetItem, int column=0) +QtWidgets.QTreeWidget.closePersistentEditor?4(QTreeWidgetItem, int column=0) +QtWidgets.QTreeWidget.itemWidget?4(QTreeWidgetItem, int) -> QWidget +QtWidgets.QTreeWidget.setItemWidget?4(QTreeWidgetItem, int, QWidget) +QtWidgets.QTreeWidget.selectedItems?4() -> unknown-type +QtWidgets.QTreeWidget.findItems?4(QString, Qt.MatchFlags, int column=0) -> unknown-type +QtWidgets.QTreeWidget.scrollToItem?4(QTreeWidgetItem, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible) +QtWidgets.QTreeWidget.expandItem?4(QTreeWidgetItem) +QtWidgets.QTreeWidget.collapseItem?4(QTreeWidgetItem) +QtWidgets.QTreeWidget.clear?4() +QtWidgets.QTreeWidget.itemPressed?4(QTreeWidgetItem, int) +QtWidgets.QTreeWidget.itemClicked?4(QTreeWidgetItem, int) +QtWidgets.QTreeWidget.itemDoubleClicked?4(QTreeWidgetItem, int) +QtWidgets.QTreeWidget.itemActivated?4(QTreeWidgetItem, int) +QtWidgets.QTreeWidget.itemEntered?4(QTreeWidgetItem, int) +QtWidgets.QTreeWidget.itemChanged?4(QTreeWidgetItem, int) +QtWidgets.QTreeWidget.itemExpanded?4(QTreeWidgetItem) +QtWidgets.QTreeWidget.itemCollapsed?4(QTreeWidgetItem) +QtWidgets.QTreeWidget.currentItemChanged?4(QTreeWidgetItem, QTreeWidgetItem) +QtWidgets.QTreeWidget.itemSelectionChanged?4() +QtWidgets.QTreeWidget.mimeTypes?4() -> QStringList +QtWidgets.QTreeWidget.mimeData?4(unknown-type) -> QMimeData +QtWidgets.QTreeWidget.dropMimeData?4(QTreeWidgetItem, int, QMimeData, Qt.DropAction) -> bool +QtWidgets.QTreeWidget.supportedDropActions?4() -> Qt.DropActions +QtWidgets.QTreeWidget.indexFromItem?4(QTreeWidgetItem, int column=0) -> QModelIndex +QtWidgets.QTreeWidget.itemFromIndex?4(QModelIndex) -> QTreeWidgetItem +QtWidgets.QTreeWidget.event?4(QEvent) -> bool +QtWidgets.QTreeWidget.dropEvent?4(QDropEvent) +QtWidgets.QTreeWidget.invisibleRootItem?4() -> QTreeWidgetItem +QtWidgets.QTreeWidget.setHeaderLabel?4(QString) +QtWidgets.QTreeWidget.isFirstItemColumnSpanned?4(QTreeWidgetItem) -> bool +QtWidgets.QTreeWidget.setFirstItemColumnSpanned?4(QTreeWidgetItem, bool) +QtWidgets.QTreeWidget.itemAbove?4(QTreeWidgetItem) -> QTreeWidgetItem +QtWidgets.QTreeWidget.itemBelow?4(QTreeWidgetItem) -> QTreeWidgetItem +QtWidgets.QTreeWidget.removeItemWidget?4(QTreeWidgetItem, int) +QtWidgets.QTreeWidget.setSelectionModel?4(QItemSelectionModel) +QtWidgets.QTreeWidget.isPersistentEditorOpen?4(QTreeWidgetItem, int column=0) -> bool +QtWidgets.QTreeWidgetItemIterator.IteratorFlag?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.All?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.Hidden?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.NotHidden?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.Selected?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.Unselected?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.Selectable?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.NotSelectable?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.DragEnabled?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.DragDisabled?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.DropEnabled?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.DropDisabled?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.HasChildren?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.NoChildren?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.Checked?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.NotChecked?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.Enabled?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.Disabled?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.Editable?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.NotEditable?10 +QtWidgets.QTreeWidgetItemIterator.IteratorFlag.UserFlag?10 +QtWidgets.QTreeWidgetItemIterator?1(QTreeWidgetItemIterator) +QtWidgets.QTreeWidgetItemIterator.__init__?1(self, QTreeWidgetItemIterator) +QtWidgets.QTreeWidgetItemIterator?1(QTreeWidget, QTreeWidgetItemIterator.IteratorFlags flags=QTreeWidgetItemIterator.All) +QtWidgets.QTreeWidgetItemIterator.__init__?1(self, QTreeWidget, QTreeWidgetItemIterator.IteratorFlags flags=QTreeWidgetItemIterator.All) +QtWidgets.QTreeWidgetItemIterator?1(QTreeWidgetItem, QTreeWidgetItemIterator.IteratorFlags flags=QTreeWidgetItemIterator.All) +QtWidgets.QTreeWidgetItemIterator.__init__?1(self, QTreeWidgetItem, QTreeWidgetItemIterator.IteratorFlags flags=QTreeWidgetItemIterator.All) +QtWidgets.QTreeWidgetItemIterator.value?4() -> QTreeWidgetItem +QtWidgets.QTreeWidgetItemIterator.IteratorFlags?1() +QtWidgets.QTreeWidgetItemIterator.IteratorFlags.__init__?1(self) +QtWidgets.QTreeWidgetItemIterator.IteratorFlags?1(int) +QtWidgets.QTreeWidgetItemIterator.IteratorFlags.__init__?1(self, int) +QtWidgets.QTreeWidgetItemIterator.IteratorFlags?1(QTreeWidgetItemIterator.IteratorFlags) +QtWidgets.QTreeWidgetItemIterator.IteratorFlags.__init__?1(self, QTreeWidgetItemIterator.IteratorFlags) +QtWidgets.QUndoGroup?1(QObject parent=None) +QtWidgets.QUndoGroup.__init__?1(self, QObject parent=None) +QtWidgets.QUndoGroup.addStack?4(QUndoStack) +QtWidgets.QUndoGroup.removeStack?4(QUndoStack) +QtWidgets.QUndoGroup.stacks?4() -> unknown-type +QtWidgets.QUndoGroup.activeStack?4() -> QUndoStack +QtWidgets.QUndoGroup.createRedoAction?4(QObject, QString prefix='') -> QAction +QtWidgets.QUndoGroup.createUndoAction?4(QObject, QString prefix='') -> QAction +QtWidgets.QUndoGroup.canUndo?4() -> bool +QtWidgets.QUndoGroup.canRedo?4() -> bool +QtWidgets.QUndoGroup.undoText?4() -> QString +QtWidgets.QUndoGroup.redoText?4() -> QString +QtWidgets.QUndoGroup.isClean?4() -> bool +QtWidgets.QUndoGroup.redo?4() +QtWidgets.QUndoGroup.setActiveStack?4(QUndoStack) +QtWidgets.QUndoGroup.undo?4() +QtWidgets.QUndoGroup.activeStackChanged?4(QUndoStack) +QtWidgets.QUndoGroup.canRedoChanged?4(bool) +QtWidgets.QUndoGroup.canUndoChanged?4(bool) +QtWidgets.QUndoGroup.cleanChanged?4(bool) +QtWidgets.QUndoGroup.indexChanged?4(int) +QtWidgets.QUndoGroup.redoTextChanged?4(QString) +QtWidgets.QUndoGroup.undoTextChanged?4(QString) +QtWidgets.QUndoCommand?1(QUndoCommand parent=None) +QtWidgets.QUndoCommand.__init__?1(self, QUndoCommand parent=None) +QtWidgets.QUndoCommand?1(QString, QUndoCommand parent=None) +QtWidgets.QUndoCommand.__init__?1(self, QString, QUndoCommand parent=None) +QtWidgets.QUndoCommand.id?4() -> int +QtWidgets.QUndoCommand.mergeWith?4(QUndoCommand) -> bool +QtWidgets.QUndoCommand.redo?4() +QtWidgets.QUndoCommand.setText?4(QString) +QtWidgets.QUndoCommand.text?4() -> QString +QtWidgets.QUndoCommand.undo?4() +QtWidgets.QUndoCommand.childCount?4() -> int +QtWidgets.QUndoCommand.child?4(int) -> QUndoCommand +QtWidgets.QUndoCommand.actionText?4() -> QString +QtWidgets.QUndoCommand.isObsolete?4() -> bool +QtWidgets.QUndoCommand.setObsolete?4(bool) +QtWidgets.QUndoStack?1(QObject parent=None) +QtWidgets.QUndoStack.__init__?1(self, QObject parent=None) +QtWidgets.QUndoStack.clear?4() +QtWidgets.QUndoStack.push?4(QUndoCommand) +QtWidgets.QUndoStack.canUndo?4() -> bool +QtWidgets.QUndoStack.canRedo?4() -> bool +QtWidgets.QUndoStack.undoText?4() -> QString +QtWidgets.QUndoStack.redoText?4() -> QString +QtWidgets.QUndoStack.count?4() -> int +QtWidgets.QUndoStack.index?4() -> int +QtWidgets.QUndoStack.text?4(int) -> QString +QtWidgets.QUndoStack.createUndoAction?4(QObject, QString prefix='') -> QAction +QtWidgets.QUndoStack.createRedoAction?4(QObject, QString prefix='') -> QAction +QtWidgets.QUndoStack.isActive?4() -> bool +QtWidgets.QUndoStack.isClean?4() -> bool +QtWidgets.QUndoStack.cleanIndex?4() -> int +QtWidgets.QUndoStack.beginMacro?4(QString) +QtWidgets.QUndoStack.endMacro?4() +QtWidgets.QUndoStack.redo?4() +QtWidgets.QUndoStack.setActive?4(bool active=True) +QtWidgets.QUndoStack.setClean?4() +QtWidgets.QUndoStack.setIndex?4(int) +QtWidgets.QUndoStack.undo?4() +QtWidgets.QUndoStack.resetClean?4() +QtWidgets.QUndoStack.canRedoChanged?4(bool) +QtWidgets.QUndoStack.canUndoChanged?4(bool) +QtWidgets.QUndoStack.cleanChanged?4(bool) +QtWidgets.QUndoStack.indexChanged?4(int) +QtWidgets.QUndoStack.redoTextChanged?4(QString) +QtWidgets.QUndoStack.undoTextChanged?4(QString) +QtWidgets.QUndoStack.setUndoLimit?4(int) +QtWidgets.QUndoStack.undoLimit?4() -> int +QtWidgets.QUndoStack.command?4(int) -> QUndoCommand +QtWidgets.QUndoView?1(QWidget parent=None) +QtWidgets.QUndoView.__init__?1(self, QWidget parent=None) +QtWidgets.QUndoView?1(QUndoStack, QWidget parent=None) +QtWidgets.QUndoView.__init__?1(self, QUndoStack, QWidget parent=None) +QtWidgets.QUndoView?1(QUndoGroup, QWidget parent=None) +QtWidgets.QUndoView.__init__?1(self, QUndoGroup, QWidget parent=None) +QtWidgets.QUndoView.stack?4() -> QUndoStack +QtWidgets.QUndoView.group?4() -> QUndoGroup +QtWidgets.QUndoView.setEmptyLabel?4(QString) +QtWidgets.QUndoView.emptyLabel?4() -> QString +QtWidgets.QUndoView.setCleanIcon?4(QIcon) +QtWidgets.QUndoView.cleanIcon?4() -> QIcon +QtWidgets.QUndoView.setStack?4(QUndoStack) +QtWidgets.QUndoView.setGroup?4(QUndoGroup) +QtWidgets.QWhatsThis?1(QWhatsThis) +QtWidgets.QWhatsThis.__init__?1(self, QWhatsThis) +QtWidgets.QWhatsThis.enterWhatsThisMode?4() +QtWidgets.QWhatsThis.inWhatsThisMode?4() -> bool +QtWidgets.QWhatsThis.leaveWhatsThisMode?4() +QtWidgets.QWhatsThis.showText?4(QPoint, QString, QWidget widget=None) +QtWidgets.QWhatsThis.hideText?4() +QtWidgets.QWhatsThis.createAction?4(QObject parent=None) -> QAction +QtWidgets.QWidget.RenderFlags?1() +QtWidgets.QWidget.RenderFlags.__init__?1(self) +QtWidgets.QWidget.RenderFlags?1(int) +QtWidgets.QWidget.RenderFlags.__init__?1(self, int) +QtWidgets.QWidget.RenderFlags?1(QWidget.RenderFlags) +QtWidgets.QWidget.RenderFlags.__init__?1(self, QWidget.RenderFlags) +QtWidgets.QWidgetAction?1(QObject) +QtWidgets.QWidgetAction.__init__?1(self, QObject) +QtWidgets.QWidgetAction.setDefaultWidget?4(QWidget) +QtWidgets.QWidgetAction.defaultWidget?4() -> QWidget +QtWidgets.QWidgetAction.requestWidget?4(QWidget) -> QWidget +QtWidgets.QWidgetAction.releaseWidget?4(QWidget) +QtWidgets.QWidgetAction.event?4(QEvent) -> bool +QtWidgets.QWidgetAction.eventFilter?4(QObject, QEvent) -> bool +QtWidgets.QWidgetAction.createWidget?4(QWidget) -> QWidget +QtWidgets.QWidgetAction.deleteWidget?4(QWidget) +QtWidgets.QWidgetAction.createdWidgets?4() -> unknown-type +QtWidgets.QWizard.WizardOption?10 +QtWidgets.QWizard.WizardOption.IndependentPages?10 +QtWidgets.QWizard.WizardOption.IgnoreSubTitles?10 +QtWidgets.QWizard.WizardOption.ExtendedWatermarkPixmap?10 +QtWidgets.QWizard.WizardOption.NoDefaultButton?10 +QtWidgets.QWizard.WizardOption.NoBackButtonOnStartPage?10 +QtWidgets.QWizard.WizardOption.NoBackButtonOnLastPage?10 +QtWidgets.QWizard.WizardOption.DisabledBackButtonOnLastPage?10 +QtWidgets.QWizard.WizardOption.HaveNextButtonOnLastPage?10 +QtWidgets.QWizard.WizardOption.HaveFinishButtonOnEarlyPages?10 +QtWidgets.QWizard.WizardOption.NoCancelButton?10 +QtWidgets.QWizard.WizardOption.CancelButtonOnLeft?10 +QtWidgets.QWizard.WizardOption.HaveHelpButton?10 +QtWidgets.QWizard.WizardOption.HelpButtonOnRight?10 +QtWidgets.QWizard.WizardOption.HaveCustomButton1?10 +QtWidgets.QWizard.WizardOption.HaveCustomButton2?10 +QtWidgets.QWizard.WizardOption.HaveCustomButton3?10 +QtWidgets.QWizard.WizardOption.NoCancelButtonOnLastPage?10 +QtWidgets.QWizard.WizardStyle?10 +QtWidgets.QWizard.WizardStyle.ClassicStyle?10 +QtWidgets.QWizard.WizardStyle.ModernStyle?10 +QtWidgets.QWizard.WizardStyle.MacStyle?10 +QtWidgets.QWizard.WizardStyle.AeroStyle?10 +QtWidgets.QWizard.WizardPixmap?10 +QtWidgets.QWizard.WizardPixmap.WatermarkPixmap?10 +QtWidgets.QWizard.WizardPixmap.LogoPixmap?10 +QtWidgets.QWizard.WizardPixmap.BannerPixmap?10 +QtWidgets.QWizard.WizardPixmap.BackgroundPixmap?10 +QtWidgets.QWizard.WizardButton?10 +QtWidgets.QWizard.WizardButton.BackButton?10 +QtWidgets.QWizard.WizardButton.NextButton?10 +QtWidgets.QWizard.WizardButton.CommitButton?10 +QtWidgets.QWizard.WizardButton.FinishButton?10 +QtWidgets.QWizard.WizardButton.CancelButton?10 +QtWidgets.QWizard.WizardButton.HelpButton?10 +QtWidgets.QWizard.WizardButton.CustomButton1?10 +QtWidgets.QWizard.WizardButton.CustomButton2?10 +QtWidgets.QWizard.WizardButton.CustomButton3?10 +QtWidgets.QWizard.WizardButton.Stretch?10 +QtWidgets.QWizard?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QWizard.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtWidgets.QWizard.addPage?4(QWizardPage) -> int +QtWidgets.QWizard.setPage?4(int, QWizardPage) +QtWidgets.QWizard.page?4(int) -> QWizardPage +QtWidgets.QWizard.hasVisitedPage?4(int) -> bool +QtWidgets.QWizard.visitedPages?4() -> unknown-type +QtWidgets.QWizard.setStartId?4(int) +QtWidgets.QWizard.startId?4() -> int +QtWidgets.QWizard.currentPage?4() -> QWizardPage +QtWidgets.QWizard.currentId?4() -> int +QtWidgets.QWizard.validateCurrentPage?4() -> bool +QtWidgets.QWizard.nextId?4() -> int +QtWidgets.QWizard.setField?4(QString, QVariant) +QtWidgets.QWizard.field?4(QString) -> QVariant +QtWidgets.QWizard.setWizardStyle?4(QWizard.WizardStyle) +QtWidgets.QWizard.wizardStyle?4() -> QWizard.WizardStyle +QtWidgets.QWizard.setOption?4(QWizard.WizardOption, bool on=True) +QtWidgets.QWizard.testOption?4(QWizard.WizardOption) -> bool +QtWidgets.QWizard.setOptions?4(QWizard.WizardOptions) +QtWidgets.QWizard.options?4() -> QWizard.WizardOptions +QtWidgets.QWizard.setButtonText?4(QWizard.WizardButton, QString) +QtWidgets.QWizard.buttonText?4(QWizard.WizardButton) -> QString +QtWidgets.QWizard.setButtonLayout?4(unknown-type) +QtWidgets.QWizard.setButton?4(QWizard.WizardButton, QAbstractButton) +QtWidgets.QWizard.button?4(QWizard.WizardButton) -> QAbstractButton +QtWidgets.QWizard.setTitleFormat?4(Qt.TextFormat) +QtWidgets.QWizard.titleFormat?4() -> Qt.TextFormat +QtWidgets.QWizard.setSubTitleFormat?4(Qt.TextFormat) +QtWidgets.QWizard.subTitleFormat?4() -> Qt.TextFormat +QtWidgets.QWizard.setPixmap?4(QWizard.WizardPixmap, QPixmap) +QtWidgets.QWizard.pixmap?4(QWizard.WizardPixmap) -> QPixmap +QtWidgets.QWizard.setDefaultProperty?4(str, str, object) +QtWidgets.QWizard.setVisible?4(bool) +QtWidgets.QWizard.sizeHint?4() -> QSize +QtWidgets.QWizard.currentIdChanged?4(int) +QtWidgets.QWizard.helpRequested?4() +QtWidgets.QWizard.customButtonClicked?4(int) +QtWidgets.QWizard.back?4() +QtWidgets.QWizard.next?4() +QtWidgets.QWizard.restart?4() +QtWidgets.QWizard.event?4(QEvent) -> bool +QtWidgets.QWizard.resizeEvent?4(QResizeEvent) +QtWidgets.QWizard.paintEvent?4(QPaintEvent) +QtWidgets.QWizard.done?4(int) +QtWidgets.QWizard.initializePage?4(int) +QtWidgets.QWizard.cleanupPage?4(int) +QtWidgets.QWizard.removePage?4(int) +QtWidgets.QWizard.pageIds?4() -> unknown-type +QtWidgets.QWizard.setSideWidget?4(QWidget) +QtWidgets.QWizard.sideWidget?4() -> QWidget +QtWidgets.QWizard.pageAdded?4(int) +QtWidgets.QWizard.pageRemoved?4(int) +QtWidgets.QWizard.visitedIds?4() -> unknown-type +QtWidgets.QWizard.WizardOptions?1() +QtWidgets.QWizard.WizardOptions.__init__?1(self) +QtWidgets.QWizard.WizardOptions?1(int) +QtWidgets.QWizard.WizardOptions.__init__?1(self, int) +QtWidgets.QWizard.WizardOptions?1(QWizard.WizardOptions) +QtWidgets.QWizard.WizardOptions.__init__?1(self, QWizard.WizardOptions) +QtWidgets.QWizardPage?1(QWidget parent=None) +QtWidgets.QWizardPage.__init__?1(self, QWidget parent=None) +QtWidgets.QWizardPage.setTitle?4(QString) +QtWidgets.QWizardPage.title?4() -> QString +QtWidgets.QWizardPage.setSubTitle?4(QString) +QtWidgets.QWizardPage.subTitle?4() -> QString +QtWidgets.QWizardPage.setPixmap?4(QWizard.WizardPixmap, QPixmap) +QtWidgets.QWizardPage.pixmap?4(QWizard.WizardPixmap) -> QPixmap +QtWidgets.QWizardPage.setFinalPage?4(bool) +QtWidgets.QWizardPage.isFinalPage?4() -> bool +QtWidgets.QWizardPage.setCommitPage?4(bool) +QtWidgets.QWizardPage.isCommitPage?4() -> bool +QtWidgets.QWizardPage.setButtonText?4(QWizard.WizardButton, QString) +QtWidgets.QWizardPage.buttonText?4(QWizard.WizardButton) -> QString +QtWidgets.QWizardPage.initializePage?4() +QtWidgets.QWizardPage.cleanupPage?4() +QtWidgets.QWizardPage.validatePage?4() -> bool +QtWidgets.QWizardPage.isComplete?4() -> bool +QtWidgets.QWizardPage.nextId?4() -> int +QtWidgets.QWizardPage.completeChanged?4() +QtWidgets.QWizardPage.setField?4(QString, QVariant) +QtWidgets.QWizardPage.field?4(QString) -> QVariant +QtWidgets.QWizardPage.registerField?4(QString, QWidget, str property=None, object changedSignal=0) +QtWidgets.QWizardPage.wizard?4() -> QWizard +QtQml.qmlClearTypeRegistrations?4() +QtQml.qmlTypeId?4(str, int, int, str) -> int +QtQml.qjsEngine?4(QObject) -> QJSEngine +QtQml.qmlAttachedPropertiesObject?4(type, QObject, bool create=True) -> QObject +QtQml.qmlRegisterRevision?4(type, int, str, int, int, type attachedProperties=0) -> int +QtQml.qmlRegisterSingletonType?4(QUrl, str, int, int, str) -> int +QtQml.qmlRegisterSingletonType?4(type, str, int, int, str, callable) -> int +QtQml.qmlRegisterType?4(QUrl, str, int, int, str) -> int +QtQml.qmlRegisterType?4(type, type attachedProperties=0) -> int +QtQml.qmlRegisterType?4(type, str, int, int, str, type attachedProperties=0) -> int +QtQml.qmlRegisterType?4(type, int, str, int, int, str, type attachedProperties=0) -> int +QtQml.qmlRegisterUncreatableType?4(type, str, int, int, str, QString) -> int +QtQml.qmlRegisterUncreatableType?4(type, int, str, int, int, str, QString) -> int +QtQml.QJSEngine.Extension?10 +QtQml.QJSEngine.Extension.TranslationExtension?10 +QtQml.QJSEngine.Extension.ConsoleExtension?10 +QtQml.QJSEngine.Extension.GarbageCollectionExtension?10 +QtQml.QJSEngine.Extension.AllExtensions?10 +QtQml.QJSEngine?1() +QtQml.QJSEngine.__init__?1(self) +QtQml.QJSEngine?1(QObject) +QtQml.QJSEngine.__init__?1(self, QObject) +QtQml.QJSEngine.globalObject?4() -> QJSValue +QtQml.QJSEngine.evaluate?4(QString, QString fileName='', int lineNumber=1) -> QJSValue +QtQml.QJSEngine.newObject?4() -> QJSValue +QtQml.QJSEngine.newArray?4(int length=0) -> QJSValue +QtQml.QJSEngine.newQObject?4(QObject) -> QJSValue +QtQml.QJSEngine.collectGarbage?4() +QtQml.QJSEngine.installTranslatorFunctions?4(QJSValue object=QJSValue()) +QtQml.QJSEngine.installExtensions?4(QJSEngine.Extensions, QJSValue object=QJSValue()) +QtQml.QJSEngine.newQMetaObject?4(QMetaObject) -> QJSValue +QtQml.QJSEngine.importModule?4(QString) -> QJSValue +QtQml.QJSEngine.newErrorObject?4(QJSValue.ErrorType, QString message='') -> QJSValue +QtQml.QJSEngine.throwError?4(QString) +QtQml.QJSEngine.throwError?4(QJSValue.ErrorType, QString message='') +QtQml.QJSEngine.setInterrupted?4(bool) +QtQml.QJSEngine.isInterrupted?4() -> bool +QtQml.QJSEngine.uiLanguage?4() -> QString +QtQml.QJSEngine.setUiLanguage?4(QString) +QtQml.QJSEngine.uiLanguageChanged?4() +QtQml.QJSEngine.Extensions?1() +QtQml.QJSEngine.Extensions.__init__?1(self) +QtQml.QJSEngine.Extensions?1(int) +QtQml.QJSEngine.Extensions.__init__?1(self, int) +QtQml.QJSEngine.Extensions?1(QJSEngine.Extensions) +QtQml.QJSEngine.Extensions.__init__?1(self, QJSEngine.Extensions) +QtQml.QJSValue.ErrorType?10 +QtQml.QJSValue.ErrorType.GenericError?10 +QtQml.QJSValue.ErrorType.EvalError?10 +QtQml.QJSValue.ErrorType.RangeError?10 +QtQml.QJSValue.ErrorType.ReferenceError?10 +QtQml.QJSValue.ErrorType.SyntaxError?10 +QtQml.QJSValue.ErrorType.TypeError?10 +QtQml.QJSValue.ErrorType.URIError?10 +QtQml.QJSValue.SpecialValue?10 +QtQml.QJSValue.SpecialValue.NullValue?10 +QtQml.QJSValue.SpecialValue.UndefinedValue?10 +QtQml.QJSValue?1(QJSValue.SpecialValue value=QJSValue.UndefinedValue) +QtQml.QJSValue.__init__?1(self, QJSValue.SpecialValue value=QJSValue.UndefinedValue) +QtQml.QJSValue?1(QJSValue) +QtQml.QJSValue.__init__?1(self, QJSValue) +QtQml.QJSValue.isBool?4() -> bool +QtQml.QJSValue.isNumber?4() -> bool +QtQml.QJSValue.isNull?4() -> bool +QtQml.QJSValue.isString?4() -> bool +QtQml.QJSValue.isUndefined?4() -> bool +QtQml.QJSValue.isVariant?4() -> bool +QtQml.QJSValue.isQObject?4() -> bool +QtQml.QJSValue.isObject?4() -> bool +QtQml.QJSValue.isDate?4() -> bool +QtQml.QJSValue.isRegExp?4() -> bool +QtQml.QJSValue.isArray?4() -> bool +QtQml.QJSValue.isError?4() -> bool +QtQml.QJSValue.toString?4() -> QString +QtQml.QJSValue.toNumber?4() -> float +QtQml.QJSValue.toInt?4() -> int +QtQml.QJSValue.toUInt?4() -> int +QtQml.QJSValue.toBool?4() -> bool +QtQml.QJSValue.toVariant?4() -> QVariant +QtQml.QJSValue.toQObject?4() -> QObject +QtQml.QJSValue.toDateTime?4() -> QDateTime +QtQml.QJSValue.equals?4(QJSValue) -> bool +QtQml.QJSValue.strictlyEquals?4(QJSValue) -> bool +QtQml.QJSValue.prototype?4() -> QJSValue +QtQml.QJSValue.setPrototype?4(QJSValue) +QtQml.QJSValue.property?4(QString) -> QJSValue +QtQml.QJSValue.setProperty?4(QString, QJSValue) +QtQml.QJSValue.hasProperty?4(QString) -> bool +QtQml.QJSValue.hasOwnProperty?4(QString) -> bool +QtQml.QJSValue.property?4(int) -> QJSValue +QtQml.QJSValue.setProperty?4(int, QJSValue) +QtQml.QJSValue.deleteProperty?4(QString) -> bool +QtQml.QJSValue.isCallable?4() -> bool +QtQml.QJSValue.call?4(unknown-type args=[]) -> QJSValue +QtQml.QJSValue.callWithInstance?4(QJSValue, unknown-type args=[]) -> QJSValue +QtQml.QJSValue.callAsConstructor?4(unknown-type args=[]) -> QJSValue +QtQml.QJSValue.errorType?4() -> QJSValue.ErrorType +QtQml.QJSValueIterator?1(QJSValue) +QtQml.QJSValueIterator.__init__?1(self, QJSValue) +QtQml.QJSValueIterator.hasNext?4() -> bool +QtQml.QJSValueIterator.next?4() -> bool +QtQml.QJSValueIterator.name?4() -> QString +QtQml.QJSValueIterator.value?4() -> QJSValue +QtQml.QQmlAbstractUrlInterceptor.DataType?10 +QtQml.QQmlAbstractUrlInterceptor.DataType.QmlFile?10 +QtQml.QQmlAbstractUrlInterceptor.DataType.JavaScriptFile?10 +QtQml.QQmlAbstractUrlInterceptor.DataType.QmldirFile?10 +QtQml.QQmlAbstractUrlInterceptor.DataType.UrlString?10 +QtQml.QQmlAbstractUrlInterceptor?1() +QtQml.QQmlAbstractUrlInterceptor.__init__?1(self) +QtQml.QQmlAbstractUrlInterceptor?1(QQmlAbstractUrlInterceptor) +QtQml.QQmlAbstractUrlInterceptor.__init__?1(self, QQmlAbstractUrlInterceptor) +QtQml.QQmlAbstractUrlInterceptor.intercept?4(QUrl, QQmlAbstractUrlInterceptor.DataType) -> QUrl +QtQml.QQmlEngine.ObjectOwnership?10 +QtQml.QQmlEngine.ObjectOwnership.CppOwnership?10 +QtQml.QQmlEngine.ObjectOwnership.JavaScriptOwnership?10 +QtQml.QQmlEngine?1(QObject parent=None) +QtQml.QQmlEngine.__init__?1(self, QObject parent=None) +QtQml.QQmlEngine.rootContext?4() -> QQmlContext +QtQml.QQmlEngine.clearComponentCache?4() +QtQml.QQmlEngine.trimComponentCache?4() +QtQml.QQmlEngine.importPathList?4() -> QStringList +QtQml.QQmlEngine.setImportPathList?4(QStringList) +QtQml.QQmlEngine.addImportPath?4(QString) +QtQml.QQmlEngine.pluginPathList?4() -> QStringList +QtQml.QQmlEngine.setPluginPathList?4(QStringList) +QtQml.QQmlEngine.addPluginPath?4(QString) +QtQml.QQmlEngine.addNamedBundle?4(QString, QString) -> bool +QtQml.QQmlEngine.importPlugin?4(QString, QString, unknown-type) -> bool +QtQml.QQmlEngine.setNetworkAccessManagerFactory?4(QQmlNetworkAccessManagerFactory) +QtQml.QQmlEngine.networkAccessManagerFactory?4() -> QQmlNetworkAccessManagerFactory +QtQml.QQmlEngine.networkAccessManager?4() -> QNetworkAccessManager +QtQml.QQmlEngine.addImageProvider?4(QString, QQmlImageProviderBase) +QtQml.QQmlEngine.imageProvider?4(QString) -> QQmlImageProviderBase +QtQml.QQmlEngine.removeImageProvider?4(QString) +QtQml.QQmlEngine.setIncubationController?4(QQmlIncubationController) +QtQml.QQmlEngine.incubationController?4() -> QQmlIncubationController +QtQml.QQmlEngine.setOfflineStoragePath?4(QString) +QtQml.QQmlEngine.offlineStoragePath?4() -> QString +QtQml.QQmlEngine.baseUrl?4() -> QUrl +QtQml.QQmlEngine.setBaseUrl?4(QUrl) +QtQml.QQmlEngine.outputWarningsToStandardError?4() -> bool +QtQml.QQmlEngine.setOutputWarningsToStandardError?4(bool) +QtQml.QQmlEngine.contextForObject?4(QObject) -> QQmlContext +QtQml.QQmlEngine.setContextForObject?4(QObject, QQmlContext) +QtQml.QQmlEngine.setObjectOwnership?4(QObject, QQmlEngine.ObjectOwnership) +QtQml.QQmlEngine.objectOwnership?4(QObject) -> QQmlEngine.ObjectOwnership +QtQml.QQmlEngine.event?4(QEvent) -> bool +QtQml.QQmlEngine.quit?4() +QtQml.QQmlEngine.warnings?4(unknown-type) +QtQml.QQmlEngine.exit?4(int) +QtQml.QQmlEngine.offlineStorageDatabaseFilePath?4(QString) -> QString +QtQml.QQmlEngine.retranslate?4() +QtQml.QQmlEngine.singletonInstance?4(int) -> object +QtQml.QQmlApplicationEngine?1(QObject parent=None) +QtQml.QQmlApplicationEngine.__init__?1(self, QObject parent=None) +QtQml.QQmlApplicationEngine?1(QUrl, QObject parent=None) +QtQml.QQmlApplicationEngine.__init__?1(self, QUrl, QObject parent=None) +QtQml.QQmlApplicationEngine?1(QString, QObject parent=None) +QtQml.QQmlApplicationEngine.__init__?1(self, QString, QObject parent=None) +QtQml.QQmlApplicationEngine.rootObjects?4() -> unknown-type +QtQml.QQmlApplicationEngine.load?4(QUrl) +QtQml.QQmlApplicationEngine.load?4(QString) +QtQml.QQmlApplicationEngine.loadData?4(QByteArray, QUrl url=QUrl()) +QtQml.QQmlApplicationEngine.setInitialProperties?4(QVariantMap) +QtQml.QQmlApplicationEngine.objectCreated?4(QObject, QUrl) +QtQml.QQmlComponent.Status?10 +QtQml.QQmlComponent.Status.Null?10 +QtQml.QQmlComponent.Status.Ready?10 +QtQml.QQmlComponent.Status.Loading?10 +QtQml.QQmlComponent.Status.Error?10 +QtQml.QQmlComponent.CompilationMode?10 +QtQml.QQmlComponent.CompilationMode.PreferSynchronous?10 +QtQml.QQmlComponent.CompilationMode.Asynchronous?10 +QtQml.QQmlComponent?1(QQmlEngine, QObject parent=None) +QtQml.QQmlComponent.__init__?1(self, QQmlEngine, QObject parent=None) +QtQml.QQmlComponent?1(QQmlEngine, QString, QObject parent=None) +QtQml.QQmlComponent.__init__?1(self, QQmlEngine, QString, QObject parent=None) +QtQml.QQmlComponent?1(QQmlEngine, QString, QQmlComponent.CompilationMode, QObject parent=None) +QtQml.QQmlComponent.__init__?1(self, QQmlEngine, QString, QQmlComponent.CompilationMode, QObject parent=None) +QtQml.QQmlComponent?1(QQmlEngine, QUrl, QObject parent=None) +QtQml.QQmlComponent.__init__?1(self, QQmlEngine, QUrl, QObject parent=None) +QtQml.QQmlComponent?1(QQmlEngine, QUrl, QQmlComponent.CompilationMode, QObject parent=None) +QtQml.QQmlComponent.__init__?1(self, QQmlEngine, QUrl, QQmlComponent.CompilationMode, QObject parent=None) +QtQml.QQmlComponent?1(QObject parent=None) +QtQml.QQmlComponent.__init__?1(self, QObject parent=None) +QtQml.QQmlComponent.status?4() -> QQmlComponent.Status +QtQml.QQmlComponent.isNull?4() -> bool +QtQml.QQmlComponent.isReady?4() -> bool +QtQml.QQmlComponent.isError?4() -> bool +QtQml.QQmlComponent.isLoading?4() -> bool +QtQml.QQmlComponent.errors?4() -> unknown-type +QtQml.QQmlComponent.progress?4() -> float +QtQml.QQmlComponent.url?4() -> QUrl +QtQml.QQmlComponent.create?4(QQmlContext context=None) -> QObject +QtQml.QQmlComponent.createWithInitialProperties?4(QVariantMap, QQmlContext context=None) -> QObject +QtQml.QQmlComponent.beginCreate?4(QQmlContext) -> QObject +QtQml.QQmlComponent.completeCreate?4() +QtQml.QQmlComponent.create?4(QQmlIncubator, QQmlContext context=None, QQmlContext forContext=None) +QtQml.QQmlComponent.creationContext?4() -> QQmlContext +QtQml.QQmlComponent.loadUrl?4(QUrl) +QtQml.QQmlComponent.loadUrl?4(QUrl, QQmlComponent.CompilationMode) +QtQml.QQmlComponent.setData?4(QByteArray, QUrl) +QtQml.QQmlComponent.statusChanged?4(QQmlComponent.Status) +QtQml.QQmlComponent.progressChanged?4(float) +QtQml.QQmlComponent.engine?4() -> QQmlEngine +QtQml.QQmlComponent.setInitialProperties?4(QObject, QVariantMap) +QtQml.QQmlContext?1(QQmlEngine, QObject parent=None) +QtQml.QQmlContext.__init__?1(self, QQmlEngine, QObject parent=None) +QtQml.QQmlContext?1(QQmlContext, QObject parent=None) +QtQml.QQmlContext.__init__?1(self, QQmlContext, QObject parent=None) +QtQml.QQmlContext.isValid?4() -> bool +QtQml.QQmlContext.engine?4() -> QQmlEngine +QtQml.QQmlContext.parentContext?4() -> QQmlContext +QtQml.QQmlContext.contextObject?4() -> QObject +QtQml.QQmlContext.setContextObject?4(QObject) +QtQml.QQmlContext.contextProperty?4(QString) -> QVariant +QtQml.QQmlContext.setContextProperty?4(QString, QObject) +QtQml.QQmlContext.setContextProperty?4(QString, QVariant) +QtQml.QQmlContext.nameForObject?4(QObject) -> QString +QtQml.QQmlContext.resolvedUrl?4(QUrl) -> QUrl +QtQml.QQmlContext.setBaseUrl?4(QUrl) +QtQml.QQmlContext.baseUrl?4() -> QUrl +QtQml.QQmlContext.setContextProperties?4(unknown-type) +QtQml.QQmlContext.PropertyPair.name?7 +QtQml.QQmlContext.PropertyPair.value?7 +QtQml.QQmlContext.PropertyPair?1() +QtQml.QQmlContext.PropertyPair.__init__?1(self) +QtQml.QQmlContext.PropertyPair?1(QQmlContext.PropertyPair) +QtQml.QQmlContext.PropertyPair.__init__?1(self, QQmlContext.PropertyPair) +QtQml.QQmlImageProviderBase.Flag?10 +QtQml.QQmlImageProviderBase.Flag.ForceAsynchronousImageLoading?10 +QtQml.QQmlImageProviderBase.ImageType?10 +QtQml.QQmlImageProviderBase.ImageType.Image?10 +QtQml.QQmlImageProviderBase.ImageType.Pixmap?10 +QtQml.QQmlImageProviderBase.ImageType.Texture?10 +QtQml.QQmlImageProviderBase.ImageType.ImageResponse?10 +QtQml.QQmlImageProviderBase?1(QQmlImageProviderBase) +QtQml.QQmlImageProviderBase.__init__?1(self, QQmlImageProviderBase) +QtQml.QQmlImageProviderBase.imageType?4() -> QQmlImageProviderBase.ImageType +QtQml.QQmlImageProviderBase.flags?4() -> QQmlImageProviderBase.Flags +QtQml.QQmlImageProviderBase.Flags?1() +QtQml.QQmlImageProviderBase.Flags.__init__?1(self) +QtQml.QQmlImageProviderBase.Flags?1(int) +QtQml.QQmlImageProviderBase.Flags.__init__?1(self, int) +QtQml.QQmlImageProviderBase.Flags?1(QQmlImageProviderBase.Flags) +QtQml.QQmlImageProviderBase.Flags.__init__?1(self, QQmlImageProviderBase.Flags) +QtQml.QQmlError?1() +QtQml.QQmlError.__init__?1(self) +QtQml.QQmlError?1(QQmlError) +QtQml.QQmlError.__init__?1(self, QQmlError) +QtQml.QQmlError.isValid?4() -> bool +QtQml.QQmlError.url?4() -> QUrl +QtQml.QQmlError.setUrl?4(QUrl) +QtQml.QQmlError.description?4() -> QString +QtQml.QQmlError.setDescription?4(QString) +QtQml.QQmlError.line?4() -> int +QtQml.QQmlError.setLine?4(int) +QtQml.QQmlError.column?4() -> int +QtQml.QQmlError.setColumn?4(int) +QtQml.QQmlError.toString?4() -> QString +QtQml.QQmlError.object?4() -> QObject +QtQml.QQmlError.setObject?4(QObject) +QtQml.QQmlError.messageType?4() -> QtMsgType +QtQml.QQmlError.setMessageType?4(QtMsgType) +QtQml.QQmlExpression?1() +QtQml.QQmlExpression.__init__?1(self) +QtQml.QQmlExpression?1(QQmlContext, QObject, QString, QObject parent=None) +QtQml.QQmlExpression.__init__?1(self, QQmlContext, QObject, QString, QObject parent=None) +QtQml.QQmlExpression?1(QQmlScriptString, QQmlContext context=None, QObject scope=None, QObject parent=None) +QtQml.QQmlExpression.__init__?1(self, QQmlScriptString, QQmlContext context=None, QObject scope=None, QObject parent=None) +QtQml.QQmlExpression.engine?4() -> QQmlEngine +QtQml.QQmlExpression.context?4() -> QQmlContext +QtQml.QQmlExpression.expression?4() -> QString +QtQml.QQmlExpression.setExpression?4(QString) +QtQml.QQmlExpression.notifyOnValueChanged?4() -> bool +QtQml.QQmlExpression.setNotifyOnValueChanged?4(bool) +QtQml.QQmlExpression.sourceFile?4() -> QString +QtQml.QQmlExpression.lineNumber?4() -> int +QtQml.QQmlExpression.columnNumber?4() -> int +QtQml.QQmlExpression.setSourceLocation?4(QString, int, int column=0) +QtQml.QQmlExpression.scopeObject?4() -> QObject +QtQml.QQmlExpression.hasError?4() -> bool +QtQml.QQmlExpression.clearError?4() +QtQml.QQmlExpression.error?4() -> QQmlError +QtQml.QQmlExpression.evaluate?4() -> (QVariant, bool) +QtQml.QQmlExpression.valueChanged?4() +QtQml.QQmlExtensionPlugin?1(QObject parent=None) +QtQml.QQmlExtensionPlugin.__init__?1(self, QObject parent=None) +QtQml.QQmlExtensionPlugin.registerTypes?4(str) +QtQml.QQmlExtensionPlugin.initializeEngine?4(QQmlEngine, str) +QtQml.QQmlExtensionPlugin.baseUrl?4() -> QUrl +QtQml.QQmlEngineExtensionPlugin?1(QObject parent=None) +QtQml.QQmlEngineExtensionPlugin.__init__?1(self, QObject parent=None) +QtQml.QQmlEngineExtensionPlugin.initializeEngine?4(QQmlEngine, str) +QtQml.QQmlFileSelector?1(QQmlEngine, QObject parent=None) +QtQml.QQmlFileSelector.__init__?1(self, QQmlEngine, QObject parent=None) +QtQml.QQmlFileSelector.setSelector?4(QFileSelector) +QtQml.QQmlFileSelector.setExtraSelectors?4(QStringList) +QtQml.QQmlFileSelector.get?4(QQmlEngine) -> QQmlFileSelector +QtQml.QQmlFileSelector.selector?4() -> QFileSelector +QtQml.QQmlIncubator.Status?10 +QtQml.QQmlIncubator.Status.Null?10 +QtQml.QQmlIncubator.Status.Ready?10 +QtQml.QQmlIncubator.Status.Loading?10 +QtQml.QQmlIncubator.Status.Error?10 +QtQml.QQmlIncubator.IncubationMode?10 +QtQml.QQmlIncubator.IncubationMode.Asynchronous?10 +QtQml.QQmlIncubator.IncubationMode.AsynchronousIfNested?10 +QtQml.QQmlIncubator.IncubationMode.Synchronous?10 +QtQml.QQmlIncubator?1(QQmlIncubator.IncubationMode mode=QQmlIncubator.Asynchronous) +QtQml.QQmlIncubator.__init__?1(self, QQmlIncubator.IncubationMode mode=QQmlIncubator.Asynchronous) +QtQml.QQmlIncubator.clear?4() +QtQml.QQmlIncubator.forceCompletion?4() +QtQml.QQmlIncubator.isNull?4() -> bool +QtQml.QQmlIncubator.isReady?4() -> bool +QtQml.QQmlIncubator.isError?4() -> bool +QtQml.QQmlIncubator.isLoading?4() -> bool +QtQml.QQmlIncubator.errors?4() -> unknown-type +QtQml.QQmlIncubator.incubationMode?4() -> QQmlIncubator.IncubationMode +QtQml.QQmlIncubator.status?4() -> QQmlIncubator.Status +QtQml.QQmlIncubator.object?4() -> QObject +QtQml.QQmlIncubator.setInitialProperties?4(QVariantMap) +QtQml.QQmlIncubator.statusChanged?4(QQmlIncubator.Status) +QtQml.QQmlIncubator.setInitialState?4(QObject) +QtQml.QQmlIncubationController?1() +QtQml.QQmlIncubationController.__init__?1(self) +QtQml.QQmlIncubationController.engine?4() -> QQmlEngine +QtQml.QQmlIncubationController.incubatingObjectCount?4() -> int +QtQml.QQmlIncubationController.incubateFor?4(int) +QtQml.QQmlIncubationController.incubatingObjectCountChanged?4(int) +QtQml.QQmlListReference?1() +QtQml.QQmlListReference.__init__?1(self) +QtQml.QQmlListReference?1(QObject, str, QQmlEngine engine=None) +QtQml.QQmlListReference.__init__?1(self, QObject, str, QQmlEngine engine=None) +QtQml.QQmlListReference?1(QQmlListReference) +QtQml.QQmlListReference.__init__?1(self, QQmlListReference) +QtQml.QQmlListReference.isValid?4() -> bool +QtQml.QQmlListReference.object?4() -> QObject +QtQml.QQmlListReference.listElementType?4() -> QMetaObject +QtQml.QQmlListReference.canAppend?4() -> bool +QtQml.QQmlListReference.canAt?4() -> bool +QtQml.QQmlListReference.canClear?4() -> bool +QtQml.QQmlListReference.canCount?4() -> bool +QtQml.QQmlListReference.isManipulable?4() -> bool +QtQml.QQmlListReference.isReadable?4() -> bool +QtQml.QQmlListReference.append?4(QObject) -> bool +QtQml.QQmlListReference.at?4(int) -> QObject +QtQml.QQmlListReference.clear?4() -> bool +QtQml.QQmlListReference.count?4() -> int +QtQml.QQmlListReference.canReplace?4() -> bool +QtQml.QQmlListReference.canRemoveLast?4() -> bool +QtQml.QQmlListReference.replace?4(int, QObject) -> bool +QtQml.QQmlListReference.removeLast?4() -> bool +QtQml.QQmlNetworkAccessManagerFactory?1() +QtQml.QQmlNetworkAccessManagerFactory.__init__?1(self) +QtQml.QQmlNetworkAccessManagerFactory?1(QQmlNetworkAccessManagerFactory) +QtQml.QQmlNetworkAccessManagerFactory.__init__?1(self, QQmlNetworkAccessManagerFactory) +QtQml.QQmlNetworkAccessManagerFactory.create?4(QObject) -> QNetworkAccessManager +QtQml.QQmlParserStatus?1() +QtQml.QQmlParserStatus.__init__?1(self) +QtQml.QQmlParserStatus?1(QQmlParserStatus) +QtQml.QQmlParserStatus.__init__?1(self, QQmlParserStatus) +QtQml.QQmlParserStatus.classBegin?4() +QtQml.QQmlParserStatus.componentComplete?4() +QtQml.QQmlProperty.Type?10 +QtQml.QQmlProperty.Type.Invalid?10 +QtQml.QQmlProperty.Type.Property?10 +QtQml.QQmlProperty.Type.SignalProperty?10 +QtQml.QQmlProperty.PropertyTypeCategory?10 +QtQml.QQmlProperty.PropertyTypeCategory.InvalidCategory?10 +QtQml.QQmlProperty.PropertyTypeCategory.List?10 +QtQml.QQmlProperty.PropertyTypeCategory.Object?10 +QtQml.QQmlProperty.PropertyTypeCategory.Normal?10 +QtQml.QQmlProperty?1() +QtQml.QQmlProperty.__init__?1(self) +QtQml.QQmlProperty?1(QObject) +QtQml.QQmlProperty.__init__?1(self, QObject) +QtQml.QQmlProperty?1(QObject, QQmlContext) +QtQml.QQmlProperty.__init__?1(self, QObject, QQmlContext) +QtQml.QQmlProperty?1(QObject, QQmlEngine) +QtQml.QQmlProperty.__init__?1(self, QObject, QQmlEngine) +QtQml.QQmlProperty?1(QObject, QString) +QtQml.QQmlProperty.__init__?1(self, QObject, QString) +QtQml.QQmlProperty?1(QObject, QString, QQmlContext) +QtQml.QQmlProperty.__init__?1(self, QObject, QString, QQmlContext) +QtQml.QQmlProperty?1(QObject, QString, QQmlEngine) +QtQml.QQmlProperty.__init__?1(self, QObject, QString, QQmlEngine) +QtQml.QQmlProperty?1(QQmlProperty) +QtQml.QQmlProperty.__init__?1(self, QQmlProperty) +QtQml.QQmlProperty.type?4() -> QQmlProperty.Type +QtQml.QQmlProperty.isValid?4() -> bool +QtQml.QQmlProperty.isProperty?4() -> bool +QtQml.QQmlProperty.isSignalProperty?4() -> bool +QtQml.QQmlProperty.propertyType?4() -> int +QtQml.QQmlProperty.propertyTypeCategory?4() -> QQmlProperty.PropertyTypeCategory +QtQml.QQmlProperty.propertyTypeName?4() -> str +QtQml.QQmlProperty.name?4() -> QString +QtQml.QQmlProperty.read?4() -> QVariant +QtQml.QQmlProperty.read?4(QObject, QString) -> QVariant +QtQml.QQmlProperty.read?4(QObject, QString, QQmlContext) -> QVariant +QtQml.QQmlProperty.read?4(QObject, QString, QQmlEngine) -> QVariant +QtQml.QQmlProperty.write?4(QVariant) -> bool +QtQml.QQmlProperty.write?4(QObject, QString, QVariant) -> bool +QtQml.QQmlProperty.write?4(QObject, QString, QVariant, QQmlContext) -> bool +QtQml.QQmlProperty.write?4(QObject, QString, QVariant, QQmlEngine) -> bool +QtQml.QQmlProperty.reset?4() -> bool +QtQml.QQmlProperty.hasNotifySignal?4() -> bool +QtQml.QQmlProperty.needsNotifySignal?4() -> bool +QtQml.QQmlProperty.connectNotifySignal?4(object) -> bool +QtQml.QQmlProperty.connectNotifySignal?4(QObject, int) -> bool +QtQml.QQmlProperty.isWritable?4() -> bool +QtQml.QQmlProperty.isDesignable?4() -> bool +QtQml.QQmlProperty.isResettable?4() -> bool +QtQml.QQmlProperty.object?4() -> QObject +QtQml.QQmlProperty.index?4() -> int +QtQml.QQmlProperty.property?4() -> QMetaProperty +QtQml.QQmlProperty.method?4() -> QMetaMethod +QtQml.QQmlPropertyMap?1(QObject parent=None) +QtQml.QQmlPropertyMap.__init__?1(self, QObject parent=None) +QtQml.QQmlPropertyMap.value?4(QString) -> QVariant +QtQml.QQmlPropertyMap.insert?4(QString, QVariant) +QtQml.QQmlPropertyMap.clear?4(QString) +QtQml.QQmlPropertyMap.keys?4() -> QStringList +QtQml.QQmlPropertyMap.count?4() -> int +QtQml.QQmlPropertyMap.size?4() -> int +QtQml.QQmlPropertyMap.isEmpty?4() -> bool +QtQml.QQmlPropertyMap.contains?4(QString) -> bool +QtQml.QQmlPropertyMap.valueChanged?4(QString, QVariant) +QtQml.QQmlPropertyMap.updateValue?4(QString, QVariant) -> QVariant +QtQml.QQmlPropertyValueSource?1() +QtQml.QQmlPropertyValueSource.__init__?1(self) +QtQml.QQmlPropertyValueSource?1(QQmlPropertyValueSource) +QtQml.QQmlPropertyValueSource.__init__?1(self, QQmlPropertyValueSource) +QtQml.QQmlPropertyValueSource.setTarget?4(QQmlProperty) +QtQml.QQmlScriptString?1() +QtQml.QQmlScriptString.__init__?1(self) +QtQml.QQmlScriptString?1(QQmlScriptString) +QtQml.QQmlScriptString.__init__?1(self, QQmlScriptString) +QtQml.QQmlScriptString.isEmpty?4() -> bool +QtQml.QQmlScriptString.isUndefinedLiteral?4() -> bool +QtQml.QQmlScriptString.isNullLiteral?4() -> bool +QtQml.QQmlScriptString.stringLiteral?4() -> QString +QtQml.QQmlScriptString.numberLiteral?4() -> (float, bool) +QtQml.QQmlScriptString.booleanLiteral?4() -> (bool, bool) +QAxContainer.QAxBase?1() +QAxContainer.QAxBase.__init__?1(self) +QAxContainer.QAxBase?1(QAxBase) +QAxContainer.QAxBase.__init__?1(self, QAxBase) +QAxContainer.QAxBase.control?4() -> QString +QAxContainer.QAxBase.dynamicCall?4(str, unknown-type) -> QVariant +QAxContainer.QAxBase.dynamicCall?4(str, QVariant value1=None, QVariant value2=None, QVariant value3=None, QVariant value4=None, QVariant value5=None, QVariant value6=None, QVariant value7=None, QVariant value8=None) -> QVariant +QAxContainer.QAxBase.querySubObject?4(str, unknown-type) -> QAxObject +QAxContainer.QAxBase.querySubObject?4(str, QVariant value1=None, QVariant value2=None, QVariant value3=None, QVariant value4=None, QVariant value5=None, QVariant value6=None, QVariant value7=None, QVariant value8=None) -> QAxObject +QAxContainer.QAxBase.propertyBag?4() -> QVariantMap +QAxContainer.QAxBase.setPropertyBag?4(QVariantMap) +QAxContainer.QAxBase.generateDocumentation?4() -> QString +QAxContainer.QAxBase.propertyWritable?4(str) -> bool +QAxContainer.QAxBase.setPropertyWritable?4(str, bool) +QAxContainer.QAxBase.isNull?4() -> bool +QAxContainer.QAxBase.verbs?4() -> QStringList +QAxContainer.QAxBase.asVariant?4() -> QVariant +QAxContainer.QAxBase.signal?4(QString, int, sip.voidptr) +QAxContainer.QAxBase.propertyChanged?4(QString) +QAxContainer.QAxBase.exception?4(int, QString, QString, QString) +QAxContainer.QAxBase.clear?4() +QAxContainer.QAxBase.setControl?4(QString) -> bool +QAxContainer.QAxBase.disableMetaObject?4() +QAxContainer.QAxBase.disableClassInfo?4() +QAxContainer.QAxBase.disableEventSink?4() +QAxContainer.QAxBase.classContext?4() -> int +QAxContainer.QAxBase.setClassContext?4(int) +QAxContainer.QAxObject?1(QObject parent=None) +QAxContainer.QAxObject.__init__?1(self, QObject parent=None) +QAxContainer.QAxObject?1(QString, QObject parent=None) +QAxContainer.QAxObject.__init__?1(self, QString, QObject parent=None) +QAxContainer.QAxObject.doVerb?4(QString) -> bool +QAxContainer.QAxObject.connectNotify?4(QMetaMethod) +QAxContainer.QAxWidget?1(QWidget parent=None, Qt.WindowFlags flags=0) +QAxContainer.QAxWidget.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=0) +QAxContainer.QAxWidget?1(QString, QWidget parent=None, Qt.WindowFlags flags=0) +QAxContainer.QAxWidget.__init__?1(self, QString, QWidget parent=None, Qt.WindowFlags flags=0) +QAxContainer.QAxWidget.clear?4() +QAxContainer.QAxWidget.doVerb?4(QString) -> bool +QAxContainer.QAxWidget.sizeHint?4() -> QSize +QAxContainer.QAxWidget.minimumSizeHint?4() -> QSize +QAxContainer.QAxWidget.createHostWindow?4(bool) -> bool +QAxContainer.QAxWidget.changeEvent?4(QEvent) +QAxContainer.QAxWidget.resizeEvent?4(QResizeEvent) +QAxContainer.QAxWidget.translateKeyEvent?4(int, int) -> bool +QAxContainer.QAxWidget.connectNotify?4(QMetaMethod) +QtBluetooth.QBluetooth.AttAccessConstraint?10 +QtBluetooth.QBluetooth.AttAccessConstraint.AttAuthorizationRequired?10 +QtBluetooth.QBluetooth.AttAccessConstraint.AttAuthenticationRequired?10 +QtBluetooth.QBluetooth.AttAccessConstraint.AttEncryptionRequired?10 +QtBluetooth.QBluetooth.Security?10 +QtBluetooth.QBluetooth.Security.NoSecurity?10 +QtBluetooth.QBluetooth.Security.Authorization?10 +QtBluetooth.QBluetooth.Security.Authentication?10 +QtBluetooth.QBluetooth.Security.Encryption?10 +QtBluetooth.QBluetooth.Security.Secure?10 +QtBluetooth.QBluetooth.SecurityFlags?1() +QtBluetooth.QBluetooth.SecurityFlags.__init__?1(self) +QtBluetooth.QBluetooth.SecurityFlags?1(int) +QtBluetooth.QBluetooth.SecurityFlags.__init__?1(self, int) +QtBluetooth.QBluetooth.SecurityFlags?1(QBluetooth.SecurityFlags) +QtBluetooth.QBluetooth.SecurityFlags.__init__?1(self, QBluetooth.SecurityFlags) +QtBluetooth.QBluetooth.AttAccessConstraints?1() +QtBluetooth.QBluetooth.AttAccessConstraints.__init__?1(self) +QtBluetooth.QBluetooth.AttAccessConstraints?1(int) +QtBluetooth.QBluetooth.AttAccessConstraints.__init__?1(self, int) +QtBluetooth.QBluetooth.AttAccessConstraints?1(QBluetooth.AttAccessConstraints) +QtBluetooth.QBluetooth.AttAccessConstraints.__init__?1(self, QBluetooth.AttAccessConstraints) +QtBluetooth.QBluetoothAddress?1() +QtBluetooth.QBluetoothAddress.__init__?1(self) +QtBluetooth.QBluetoothAddress?1(int) +QtBluetooth.QBluetoothAddress.__init__?1(self, int) +QtBluetooth.QBluetoothAddress?1(QString) +QtBluetooth.QBluetoothAddress.__init__?1(self, QString) +QtBluetooth.QBluetoothAddress?1(QBluetoothAddress) +QtBluetooth.QBluetoothAddress.__init__?1(self, QBluetoothAddress) +QtBluetooth.QBluetoothAddress.isNull?4() -> bool +QtBluetooth.QBluetoothAddress.clear?4() +QtBluetooth.QBluetoothAddress.toUInt64?4() -> int +QtBluetooth.QBluetoothAddress.toString?4() -> QString +QtBluetooth.QBluetoothDeviceDiscoveryAgent.DiscoveryMethod?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.InquiryType?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.InquiryType.GeneralUnlimitedInquiry?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.InquiryType.LimitedInquiry?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.Error?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.Error.NoError?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.Error.InputOutputError?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.Error.PoweredOffError?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.Error.InvalidBluetoothAdapterError?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.Error.UnsupportedPlatformError?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.Error.UnsupportedDiscoveryMethod?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent.Error.UnknownError?10 +QtBluetooth.QBluetoothDeviceDiscoveryAgent?1(QObject parent=None) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.__init__?1(self, QObject parent=None) +QtBluetooth.QBluetoothDeviceDiscoveryAgent?1(QBluetoothAddress, QObject parent=None) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.__init__?1(self, QBluetoothAddress, QObject parent=None) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.inquiryType?4() -> QBluetoothDeviceDiscoveryAgent.InquiryType +QtBluetooth.QBluetoothDeviceDiscoveryAgent.setInquiryType?4(QBluetoothDeviceDiscoveryAgent.InquiryType) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.isActive?4() -> bool +QtBluetooth.QBluetoothDeviceDiscoveryAgent.error?4() -> QBluetoothDeviceDiscoveryAgent.Error +QtBluetooth.QBluetoothDeviceDiscoveryAgent.errorString?4() -> QString +QtBluetooth.QBluetoothDeviceDiscoveryAgent.discoveredDevices?4() -> unknown-type +QtBluetooth.QBluetoothDeviceDiscoveryAgent.start?4() +QtBluetooth.QBluetoothDeviceDiscoveryAgent.start?4(QBluetoothDeviceDiscoveryAgent.DiscoveryMethods) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.stop?4() +QtBluetooth.QBluetoothDeviceDiscoveryAgent.deviceDiscovered?4(QBluetoothDeviceInfo) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.finished?4() +QtBluetooth.QBluetoothDeviceDiscoveryAgent.error?4(QBluetoothDeviceDiscoveryAgent.Error) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.canceled?4() +QtBluetooth.QBluetoothDeviceDiscoveryAgent.deviceUpdated?4(QBluetoothDeviceInfo, QBluetoothDeviceInfo.Fields) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.setLowEnergyDiscoveryTimeout?4(int) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.lowEnergyDiscoveryTimeout?4() -> int +QtBluetooth.QBluetoothDeviceDiscoveryAgent.supportedDiscoveryMethods?4() -> QBluetoothDeviceDiscoveryAgent.DiscoveryMethods +QtBluetooth.QBluetoothDeviceDiscoveryAgent.DiscoveryMethods?1() +QtBluetooth.QBluetoothDeviceDiscoveryAgent.DiscoveryMethods.__init__?1(self) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.DiscoveryMethods?1(int) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.DiscoveryMethods.__init__?1(self, int) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.DiscoveryMethods?1(QBluetoothDeviceDiscoveryAgent.DiscoveryMethods) +QtBluetooth.QBluetoothDeviceDiscoveryAgent.DiscoveryMethods.__init__?1(self, QBluetoothDeviceDiscoveryAgent.DiscoveryMethods) +QtBluetooth.QBluetoothDeviceInfo.Field?10 +QtBluetooth.QBluetoothDeviceInfo.Field.None_?10 +QtBluetooth.QBluetoothDeviceInfo.Field.RSSI?10 +QtBluetooth.QBluetoothDeviceInfo.Field.ManufacturerData?10 +QtBluetooth.QBluetoothDeviceInfo.Field.All?10 +QtBluetooth.QBluetoothDeviceInfo.CoreConfiguration?10 +QtBluetooth.QBluetoothDeviceInfo.CoreConfiguration.UnknownCoreConfiguration?10 +QtBluetooth.QBluetoothDeviceInfo.CoreConfiguration.LowEnergyCoreConfiguration?10 +QtBluetooth.QBluetoothDeviceInfo.CoreConfiguration.BaseRateCoreConfiguration?10 +QtBluetooth.QBluetoothDeviceInfo.CoreConfiguration.BaseRateAndLowEnergyCoreConfiguration?10 +QtBluetooth.QBluetoothDeviceInfo.DataCompleteness?10 +QtBluetooth.QBluetoothDeviceInfo.DataCompleteness.DataComplete?10 +QtBluetooth.QBluetoothDeviceInfo.DataCompleteness.DataIncomplete?10 +QtBluetooth.QBluetoothDeviceInfo.DataCompleteness.DataUnavailable?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.NoService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.PositioningService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.NetworkingService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.RenderingService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.CapturingService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.ObjectTransferService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.AudioService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.TelephonyService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.InformationService?10 +QtBluetooth.QBluetoothDeviceInfo.ServiceClass.AllServices?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass.UncategorizedHealthDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass.HealthBloodPressureMonitor?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass.HealthThermometer?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass.HealthWeightScale?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass.HealthGlucoseMeter?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass.HealthPulseOximeter?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass.HealthDataDisplay?10 +QtBluetooth.QBluetoothDeviceInfo.MinorHealthClass.HealthStepCounter?10 +QtBluetooth.QBluetoothDeviceInfo.MinorToyClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorToyClass.UncategorizedToy?10 +QtBluetooth.QBluetoothDeviceInfo.MinorToyClass.ToyRobot?10 +QtBluetooth.QBluetoothDeviceInfo.MinorToyClass.ToyVehicle?10 +QtBluetooth.QBluetoothDeviceInfo.MinorToyClass.ToyDoll?10 +QtBluetooth.QBluetoothDeviceInfo.MinorToyClass.ToyController?10 +QtBluetooth.QBluetoothDeviceInfo.MinorToyClass.ToyGame?10 +QtBluetooth.QBluetoothDeviceInfo.MinorWearableClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorWearableClass.UncategorizedWearableDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorWearableClass.WearableWristWatch?10 +QtBluetooth.QBluetoothDeviceInfo.MinorWearableClass.WearablePager?10 +QtBluetooth.QBluetoothDeviceInfo.MinorWearableClass.WearableJacket?10 +QtBluetooth.QBluetoothDeviceInfo.MinorWearableClass.WearableHelmet?10 +QtBluetooth.QBluetoothDeviceInfo.MinorWearableClass.WearableGlasses?10 +QtBluetooth.QBluetoothDeviceInfo.MinorImagingClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorImagingClass.UncategorizedImagingDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorImagingClass.ImageDisplay?10 +QtBluetooth.QBluetoothDeviceInfo.MinorImagingClass.ImageCamera?10 +QtBluetooth.QBluetoothDeviceInfo.MinorImagingClass.ImageScanner?10 +QtBluetooth.QBluetoothDeviceInfo.MinorImagingClass.ImagePrinter?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.UncategorizedPeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.KeyboardPeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.PointingDevicePeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.KeyboardWithPointingDevicePeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.JoystickPeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.GamepadPeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.RemoteControlPeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.SensingDevicePeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.DigitizerTabletPeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPeripheralClass.CardReaderPeripheral?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.UncategorizedAudioVideoDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.WearableHeadsetDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.HandsFreeDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.Microphone?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.Loudspeaker?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.Headphones?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.PortableAudioDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.CarAudio?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.SetTopBox?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.HiFiAudioDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.Vcr?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.VideoCamera?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.Camcorder?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.VideoMonitor?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.VideoDisplayAndLoudspeaker?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.VideoConferencing?10 +QtBluetooth.QBluetoothDeviceInfo.MinorAudioVideoClass.GamingDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass.NetworkFullService?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass.NetworkLoadFactorOne?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass.NetworkLoadFactorTwo?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass.NetworkLoadFactorThree?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass.NetworkLoadFactorFour?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass.NetworkLoadFactorFive?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass.NetworkLoadFactorSix?10 +QtBluetooth.QBluetoothDeviceInfo.MinorNetworkClass.NetworkNoService?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPhoneClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPhoneClass.UncategorizedPhone?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPhoneClass.CellularPhone?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPhoneClass.CordlessPhone?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPhoneClass.SmartPhone?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPhoneClass.WiredModemOrVoiceGatewayPhone?10 +QtBluetooth.QBluetoothDeviceInfo.MinorPhoneClass.CommonIsdnAccessPhone?10 +QtBluetooth.QBluetoothDeviceInfo.MinorComputerClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorComputerClass.UncategorizedComputer?10 +QtBluetooth.QBluetoothDeviceInfo.MinorComputerClass.DesktopComputer?10 +QtBluetooth.QBluetoothDeviceInfo.MinorComputerClass.ServerComputer?10 +QtBluetooth.QBluetoothDeviceInfo.MinorComputerClass.LaptopComputer?10 +QtBluetooth.QBluetoothDeviceInfo.MinorComputerClass.HandheldClamShellComputer?10 +QtBluetooth.QBluetoothDeviceInfo.MinorComputerClass.HandheldComputer?10 +QtBluetooth.QBluetoothDeviceInfo.MinorComputerClass.WearableComputer?10 +QtBluetooth.QBluetoothDeviceInfo.MinorMiscellaneousClass?10 +QtBluetooth.QBluetoothDeviceInfo.MinorMiscellaneousClass.UncategorizedMiscellaneous?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.MiscellaneousDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.ComputerDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.PhoneDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.LANAccessDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.NetworkDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.AudioVideoDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.PeripheralDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.ImagingDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.WearableDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.ToyDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.HealthDevice?10 +QtBluetooth.QBluetoothDeviceInfo.MajorDeviceClass.UncategorizedDevice?10 +QtBluetooth.QBluetoothDeviceInfo?1() +QtBluetooth.QBluetoothDeviceInfo.__init__?1(self) +QtBluetooth.QBluetoothDeviceInfo?1(QBluetoothAddress, QString, int) +QtBluetooth.QBluetoothDeviceInfo.__init__?1(self, QBluetoothAddress, QString, int) +QtBluetooth.QBluetoothDeviceInfo?1(QBluetoothUuid, QString, int) +QtBluetooth.QBluetoothDeviceInfo.__init__?1(self, QBluetoothUuid, QString, int) +QtBluetooth.QBluetoothDeviceInfo?1(QBluetoothDeviceInfo) +QtBluetooth.QBluetoothDeviceInfo.__init__?1(self, QBluetoothDeviceInfo) +QtBluetooth.QBluetoothDeviceInfo.isValid?4() -> bool +QtBluetooth.QBluetoothDeviceInfo.isCached?4() -> bool +QtBluetooth.QBluetoothDeviceInfo.setCached?4(bool) +QtBluetooth.QBluetoothDeviceInfo.address?4() -> QBluetoothAddress +QtBluetooth.QBluetoothDeviceInfo.name?4() -> QString +QtBluetooth.QBluetoothDeviceInfo.serviceClasses?4() -> QBluetoothDeviceInfo.ServiceClasses +QtBluetooth.QBluetoothDeviceInfo.majorDeviceClass?4() -> QBluetoothDeviceInfo.MajorDeviceClass +QtBluetooth.QBluetoothDeviceInfo.minorDeviceClass?4() -> int +QtBluetooth.QBluetoothDeviceInfo.rssi?4() -> int +QtBluetooth.QBluetoothDeviceInfo.setRssi?4(int) +QtBluetooth.QBluetoothDeviceInfo.setServiceUuids?4(unknown-type, QBluetoothDeviceInfo.DataCompleteness) +QtBluetooth.QBluetoothDeviceInfo.setServiceUuids?4(unknown-type) +QtBluetooth.QBluetoothDeviceInfo.serviceUuids?4() -> (unknown-type, QBluetoothDeviceInfo.DataCompleteness) +QtBluetooth.QBluetoothDeviceInfo.serviceUuidsCompleteness?4() -> QBluetoothDeviceInfo.DataCompleteness +QtBluetooth.QBluetoothDeviceInfo.setCoreConfigurations?4(QBluetoothDeviceInfo.CoreConfigurations) +QtBluetooth.QBluetoothDeviceInfo.coreConfigurations?4() -> QBluetoothDeviceInfo.CoreConfigurations +QtBluetooth.QBluetoothDeviceInfo.setDeviceUuid?4(QBluetoothUuid) +QtBluetooth.QBluetoothDeviceInfo.deviceUuid?4() -> QBluetoothUuid +QtBluetooth.QBluetoothDeviceInfo.manufacturerIds?4() -> unknown-type +QtBluetooth.QBluetoothDeviceInfo.manufacturerData?4(int) -> QByteArray +QtBluetooth.QBluetoothDeviceInfo.setManufacturerData?4(int, QByteArray) -> bool +QtBluetooth.QBluetoothDeviceInfo.manufacturerData?4() -> unknown-type +QtBluetooth.QBluetoothDeviceInfo.ServiceClasses?1() +QtBluetooth.QBluetoothDeviceInfo.ServiceClasses.__init__?1(self) +QtBluetooth.QBluetoothDeviceInfo.ServiceClasses?1(int) +QtBluetooth.QBluetoothDeviceInfo.ServiceClasses.__init__?1(self, int) +QtBluetooth.QBluetoothDeviceInfo.ServiceClasses?1(QBluetoothDeviceInfo.ServiceClasses) +QtBluetooth.QBluetoothDeviceInfo.ServiceClasses.__init__?1(self, QBluetoothDeviceInfo.ServiceClasses) +QtBluetooth.QBluetoothDeviceInfo.CoreConfigurations?1() +QtBluetooth.QBluetoothDeviceInfo.CoreConfigurations.__init__?1(self) +QtBluetooth.QBluetoothDeviceInfo.CoreConfigurations?1(int) +QtBluetooth.QBluetoothDeviceInfo.CoreConfigurations.__init__?1(self, int) +QtBluetooth.QBluetoothDeviceInfo.CoreConfigurations?1(QBluetoothDeviceInfo.CoreConfigurations) +QtBluetooth.QBluetoothDeviceInfo.CoreConfigurations.__init__?1(self, QBluetoothDeviceInfo.CoreConfigurations) +QtBluetooth.QBluetoothDeviceInfo.Fields?1() +QtBluetooth.QBluetoothDeviceInfo.Fields.__init__?1(self) +QtBluetooth.QBluetoothDeviceInfo.Fields?1(int) +QtBluetooth.QBluetoothDeviceInfo.Fields.__init__?1(self, int) +QtBluetooth.QBluetoothDeviceInfo.Fields?1(QBluetoothDeviceInfo.Fields) +QtBluetooth.QBluetoothDeviceInfo.Fields.__init__?1(self, QBluetoothDeviceInfo.Fields) +QtBluetooth.QBluetoothHostInfo?1() +QtBluetooth.QBluetoothHostInfo.__init__?1(self) +QtBluetooth.QBluetoothHostInfo?1(QBluetoothHostInfo) +QtBluetooth.QBluetoothHostInfo.__init__?1(self, QBluetoothHostInfo) +QtBluetooth.QBluetoothHostInfo.address?4() -> QBluetoothAddress +QtBluetooth.QBluetoothHostInfo.setAddress?4(QBluetoothAddress) +QtBluetooth.QBluetoothHostInfo.name?4() -> QString +QtBluetooth.QBluetoothHostInfo.setName?4(QString) +QtBluetooth.QBluetoothLocalDevice.Error?10 +QtBluetooth.QBluetoothLocalDevice.Error.NoError?10 +QtBluetooth.QBluetoothLocalDevice.Error.PairingError?10 +QtBluetooth.QBluetoothLocalDevice.Error.UnknownError?10 +QtBluetooth.QBluetoothLocalDevice.HostMode?10 +QtBluetooth.QBluetoothLocalDevice.HostMode.HostPoweredOff?10 +QtBluetooth.QBluetoothLocalDevice.HostMode.HostConnectable?10 +QtBluetooth.QBluetoothLocalDevice.HostMode.HostDiscoverable?10 +QtBluetooth.QBluetoothLocalDevice.HostMode.HostDiscoverableLimitedInquiry?10 +QtBluetooth.QBluetoothLocalDevice.Pairing?10 +QtBluetooth.QBluetoothLocalDevice.Pairing.Unpaired?10 +QtBluetooth.QBluetoothLocalDevice.Pairing.Paired?10 +QtBluetooth.QBluetoothLocalDevice.Pairing.AuthorizedPaired?10 +QtBluetooth.QBluetoothLocalDevice?1(QObject parent=None) +QtBluetooth.QBluetoothLocalDevice.__init__?1(self, QObject parent=None) +QtBluetooth.QBluetoothLocalDevice?1(QBluetoothAddress, QObject parent=None) +QtBluetooth.QBluetoothLocalDevice.__init__?1(self, QBluetoothAddress, QObject parent=None) +QtBluetooth.QBluetoothLocalDevice.isValid?4() -> bool +QtBluetooth.QBluetoothLocalDevice.requestPairing?4(QBluetoothAddress, QBluetoothLocalDevice.Pairing) +QtBluetooth.QBluetoothLocalDevice.pairingStatus?4(QBluetoothAddress) -> QBluetoothLocalDevice.Pairing +QtBluetooth.QBluetoothLocalDevice.setHostMode?4(QBluetoothLocalDevice.HostMode) +QtBluetooth.QBluetoothLocalDevice.hostMode?4() -> QBluetoothLocalDevice.HostMode +QtBluetooth.QBluetoothLocalDevice.powerOn?4() +QtBluetooth.QBluetoothLocalDevice.name?4() -> QString +QtBluetooth.QBluetoothLocalDevice.address?4() -> QBluetoothAddress +QtBluetooth.QBluetoothLocalDevice.allDevices?4() -> unknown-type +QtBluetooth.QBluetoothLocalDevice.connectedDevices?4() -> unknown-type +QtBluetooth.QBluetoothLocalDevice.pairingConfirmation?4(bool) +QtBluetooth.QBluetoothLocalDevice.hostModeStateChanged?4(QBluetoothLocalDevice.HostMode) +QtBluetooth.QBluetoothLocalDevice.pairingFinished?4(QBluetoothAddress, QBluetoothLocalDevice.Pairing) +QtBluetooth.QBluetoothLocalDevice.pairingDisplayPinCode?4(QBluetoothAddress, QString) +QtBluetooth.QBluetoothLocalDevice.pairingDisplayConfirmation?4(QBluetoothAddress, QString) +QtBluetooth.QBluetoothLocalDevice.error?4(QBluetoothLocalDevice.Error) +QtBluetooth.QBluetoothLocalDevice.deviceConnected?4(QBluetoothAddress) +QtBluetooth.QBluetoothLocalDevice.deviceDisconnected?4(QBluetoothAddress) +QtBluetooth.QBluetoothServer.Error?10 +QtBluetooth.QBluetoothServer.Error.NoError?10 +QtBluetooth.QBluetoothServer.Error.UnknownError?10 +QtBluetooth.QBluetoothServer.Error.PoweredOffError?10 +QtBluetooth.QBluetoothServer.Error.InputOutputError?10 +QtBluetooth.QBluetoothServer.Error.ServiceAlreadyRegisteredError?10 +QtBluetooth.QBluetoothServer.Error.UnsupportedProtocolError?10 +QtBluetooth.QBluetoothServer?1(QBluetoothServiceInfo.Protocol, QObject parent=None) +QtBluetooth.QBluetoothServer.__init__?1(self, QBluetoothServiceInfo.Protocol, QObject parent=None) +QtBluetooth.QBluetoothServer.close?4() +QtBluetooth.QBluetoothServer.listen?4(QBluetoothAddress address=QBluetoothAddress(), int port=0) -> bool +QtBluetooth.QBluetoothServer.listen?4(QBluetoothUuid, QString serviceName='') -> QBluetoothServiceInfo +QtBluetooth.QBluetoothServer.isListening?4() -> bool +QtBluetooth.QBluetoothServer.setMaxPendingConnections?4(int) +QtBluetooth.QBluetoothServer.maxPendingConnections?4() -> int +QtBluetooth.QBluetoothServer.hasPendingConnections?4() -> bool +QtBluetooth.QBluetoothServer.nextPendingConnection?4() -> QBluetoothSocket +QtBluetooth.QBluetoothServer.serverAddress?4() -> QBluetoothAddress +QtBluetooth.QBluetoothServer.serverPort?4() -> int +QtBluetooth.QBluetoothServer.setSecurityFlags?4(QBluetooth.SecurityFlags) +QtBluetooth.QBluetoothServer.securityFlags?4() -> QBluetooth.SecurityFlags +QtBluetooth.QBluetoothServer.serverType?4() -> QBluetoothServiceInfo.Protocol +QtBluetooth.QBluetoothServer.error?4() -> QBluetoothServer.Error +QtBluetooth.QBluetoothServer.newConnection?4() +QtBluetooth.QBluetoothServer.error?4(QBluetoothServer.Error) +QtBluetooth.QBluetoothServiceDiscoveryAgent.DiscoveryMode?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent.DiscoveryMode.MinimalDiscovery?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent.DiscoveryMode.FullDiscovery?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent.Error?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent.Error.NoError?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent.Error.InputOutputError?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent.Error.PoweredOffError?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent.Error.InvalidBluetoothAdapterError?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent.Error.UnknownError?10 +QtBluetooth.QBluetoothServiceDiscoveryAgent?1(QObject parent=None) +QtBluetooth.QBluetoothServiceDiscoveryAgent.__init__?1(self, QObject parent=None) +QtBluetooth.QBluetoothServiceDiscoveryAgent?1(QBluetoothAddress, QObject parent=None) +QtBluetooth.QBluetoothServiceDiscoveryAgent.__init__?1(self, QBluetoothAddress, QObject parent=None) +QtBluetooth.QBluetoothServiceDiscoveryAgent.isActive?4() -> bool +QtBluetooth.QBluetoothServiceDiscoveryAgent.error?4() -> QBluetoothServiceDiscoveryAgent.Error +QtBluetooth.QBluetoothServiceDiscoveryAgent.errorString?4() -> QString +QtBluetooth.QBluetoothServiceDiscoveryAgent.discoveredServices?4() -> unknown-type +QtBluetooth.QBluetoothServiceDiscoveryAgent.setUuidFilter?4(unknown-type) +QtBluetooth.QBluetoothServiceDiscoveryAgent.setUuidFilter?4(QBluetoothUuid) +QtBluetooth.QBluetoothServiceDiscoveryAgent.uuidFilter?4() -> unknown-type +QtBluetooth.QBluetoothServiceDiscoveryAgent.setRemoteAddress?4(QBluetoothAddress) -> bool +QtBluetooth.QBluetoothServiceDiscoveryAgent.remoteAddress?4() -> QBluetoothAddress +QtBluetooth.QBluetoothServiceDiscoveryAgent.start?4(QBluetoothServiceDiscoveryAgent.DiscoveryMode mode=QBluetoothServiceDiscoveryAgent.MinimalDiscovery) +QtBluetooth.QBluetoothServiceDiscoveryAgent.stop?4() +QtBluetooth.QBluetoothServiceDiscoveryAgent.clear?4() +QtBluetooth.QBluetoothServiceDiscoveryAgent.serviceDiscovered?4(QBluetoothServiceInfo) +QtBluetooth.QBluetoothServiceDiscoveryAgent.finished?4() +QtBluetooth.QBluetoothServiceDiscoveryAgent.canceled?4() +QtBluetooth.QBluetoothServiceDiscoveryAgent.error?4(QBluetoothServiceDiscoveryAgent.Error) +QtBluetooth.QBluetoothServiceInfo.Protocol?10 +QtBluetooth.QBluetoothServiceInfo.Protocol.UnknownProtocol?10 +QtBluetooth.QBluetoothServiceInfo.Protocol.L2capProtocol?10 +QtBluetooth.QBluetoothServiceInfo.Protocol.RfcommProtocol?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceRecordHandle?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceClassIds?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceRecordState?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceId?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ProtocolDescriptorList?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.BrowseGroupList?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.LanguageBaseAttributeIdList?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceInfoTimeToLive?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceAvailability?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.BluetoothProfileDescriptorList?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.DocumentationUrl?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ClientExecutableUrl?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.IconUrl?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.AdditionalProtocolDescriptorList?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.PrimaryLanguageBase?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceName?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceDescription?10 +QtBluetooth.QBluetoothServiceInfo.AttributeId.ServiceProvider?10 +QtBluetooth.QBluetoothServiceInfo?1() +QtBluetooth.QBluetoothServiceInfo.__init__?1(self) +QtBluetooth.QBluetoothServiceInfo?1(QBluetoothServiceInfo) +QtBluetooth.QBluetoothServiceInfo.__init__?1(self, QBluetoothServiceInfo) +QtBluetooth.QBluetoothServiceInfo.isValid?4() -> bool +QtBluetooth.QBluetoothServiceInfo.isComplete?4() -> bool +QtBluetooth.QBluetoothServiceInfo.setDevice?4(QBluetoothDeviceInfo) +QtBluetooth.QBluetoothServiceInfo.device?4() -> QBluetoothDeviceInfo +QtBluetooth.QBluetoothServiceInfo.attribute?4(int) -> QVariant +QtBluetooth.QBluetoothServiceInfo.attributes?4() -> unknown-type +QtBluetooth.QBluetoothServiceInfo.contains?4(int) -> bool +QtBluetooth.QBluetoothServiceInfo.removeAttribute?4(int) +QtBluetooth.QBluetoothServiceInfo.socketProtocol?4() -> QBluetoothServiceInfo.Protocol +QtBluetooth.QBluetoothServiceInfo.protocolServiceMultiplexer?4() -> int +QtBluetooth.QBluetoothServiceInfo.serverChannel?4() -> int +QtBluetooth.QBluetoothServiceInfo.protocolDescriptor?4(QBluetoothUuid.ProtocolUuid) -> Sequence +QtBluetooth.QBluetoothServiceInfo.isRegistered?4() -> bool +QtBluetooth.QBluetoothServiceInfo.registerService?4(QBluetoothAddress localAdapter=QBluetoothAddress()) -> bool +QtBluetooth.QBluetoothServiceInfo.unregisterService?4() -> bool +QtBluetooth.QBluetoothServiceInfo.setAttribute?4(int, QBluetoothUuid) +QtBluetooth.QBluetoothServiceInfo.setAttribute?4(int, Sequence) +QtBluetooth.QBluetoothServiceInfo.setAttribute?4(int, QVariant) +QtBluetooth.QBluetoothServiceInfo.setServiceName?4(QString) +QtBluetooth.QBluetoothServiceInfo.serviceName?4() -> QString +QtBluetooth.QBluetoothServiceInfo.setServiceDescription?4(QString) +QtBluetooth.QBluetoothServiceInfo.serviceDescription?4() -> QString +QtBluetooth.QBluetoothServiceInfo.setServiceProvider?4(QString) +QtBluetooth.QBluetoothServiceInfo.serviceProvider?4() -> QString +QtBluetooth.QBluetoothServiceInfo.setServiceAvailability?4(int) +QtBluetooth.QBluetoothServiceInfo.serviceAvailability?4() -> int +QtBluetooth.QBluetoothServiceInfo.setServiceUuid?4(QBluetoothUuid) +QtBluetooth.QBluetoothServiceInfo.serviceUuid?4() -> QBluetoothUuid +QtBluetooth.QBluetoothServiceInfo.serviceClassUuids?4() -> unknown-type +QtBluetooth.QBluetoothSocket.SocketError?10 +QtBluetooth.QBluetoothSocket.SocketError.NoSocketError?10 +QtBluetooth.QBluetoothSocket.SocketError.UnknownSocketError?10 +QtBluetooth.QBluetoothSocket.SocketError.HostNotFoundError?10 +QtBluetooth.QBluetoothSocket.SocketError.ServiceNotFoundError?10 +QtBluetooth.QBluetoothSocket.SocketError.NetworkError?10 +QtBluetooth.QBluetoothSocket.SocketError.UnsupportedProtocolError?10 +QtBluetooth.QBluetoothSocket.SocketError.OperationError?10 +QtBluetooth.QBluetoothSocket.SocketError.RemoteHostClosedError?10 +QtBluetooth.QBluetoothSocket.SocketState?10 +QtBluetooth.QBluetoothSocket.SocketState.UnconnectedState?10 +QtBluetooth.QBluetoothSocket.SocketState.ServiceLookupState?10 +QtBluetooth.QBluetoothSocket.SocketState.ConnectingState?10 +QtBluetooth.QBluetoothSocket.SocketState.ConnectedState?10 +QtBluetooth.QBluetoothSocket.SocketState.BoundState?10 +QtBluetooth.QBluetoothSocket.SocketState.ClosingState?10 +QtBluetooth.QBluetoothSocket.SocketState.ListeningState?10 +QtBluetooth.QBluetoothSocket?1(QBluetoothServiceInfo.Protocol, QObject parent=None) +QtBluetooth.QBluetoothSocket.__init__?1(self, QBluetoothServiceInfo.Protocol, QObject parent=None) +QtBluetooth.QBluetoothSocket?1(QObject parent=None) +QtBluetooth.QBluetoothSocket.__init__?1(self, QObject parent=None) +QtBluetooth.QBluetoothSocket.abort?4() +QtBluetooth.QBluetoothSocket.close?4() +QtBluetooth.QBluetoothSocket.isSequential?4() -> bool +QtBluetooth.QBluetoothSocket.bytesAvailable?4() -> int +QtBluetooth.QBluetoothSocket.bytesToWrite?4() -> int +QtBluetooth.QBluetoothSocket.canReadLine?4() -> bool +QtBluetooth.QBluetoothSocket.connectToService?4(QBluetoothServiceInfo, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtBluetooth.QBluetoothSocket.connectToService?4(QBluetoothAddress, QBluetoothUuid, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtBluetooth.QBluetoothSocket.connectToService?4(QBluetoothAddress, int, QIODevice.OpenMode mode=QIODevice.ReadWrite) +QtBluetooth.QBluetoothSocket.disconnectFromService?4() +QtBluetooth.QBluetoothSocket.localName?4() -> QString +QtBluetooth.QBluetoothSocket.localAddress?4() -> QBluetoothAddress +QtBluetooth.QBluetoothSocket.localPort?4() -> int +QtBluetooth.QBluetoothSocket.peerName?4() -> QString +QtBluetooth.QBluetoothSocket.peerAddress?4() -> QBluetoothAddress +QtBluetooth.QBluetoothSocket.peerPort?4() -> int +QtBluetooth.QBluetoothSocket.setSocketDescriptor?4(int, QBluetoothServiceInfo.Protocol, QBluetoothSocket.SocketState state=QBluetoothSocket.ConnectedState, QIODevice.OpenMode mode=QIODevice.ReadWrite) -> bool +QtBluetooth.QBluetoothSocket.socketDescriptor?4() -> int +QtBluetooth.QBluetoothSocket.socketType?4() -> QBluetoothServiceInfo.Protocol +QtBluetooth.QBluetoothSocket.state?4() -> QBluetoothSocket.SocketState +QtBluetooth.QBluetoothSocket.error?4() -> QBluetoothSocket.SocketError +QtBluetooth.QBluetoothSocket.errorString?4() -> QString +QtBluetooth.QBluetoothSocket.connected?4() +QtBluetooth.QBluetoothSocket.disconnected?4() +QtBluetooth.QBluetoothSocket.error?4(QBluetoothSocket.SocketError) +QtBluetooth.QBluetoothSocket.stateChanged?4(QBluetoothSocket.SocketState) +QtBluetooth.QBluetoothSocket.readData?4(int) -> object +QtBluetooth.QBluetoothSocket.writeData?4(bytes) -> int +QtBluetooth.QBluetoothSocket.setSocketState?4(QBluetoothSocket.SocketState) +QtBluetooth.QBluetoothSocket.setSocketError?4(QBluetoothSocket.SocketError) +QtBluetooth.QBluetoothSocket.doDeviceDiscovery?4(QBluetoothServiceInfo, QIODevice.OpenMode) +QtBluetooth.QBluetoothSocket.setPreferredSecurityFlags?4(QBluetooth.SecurityFlags) +QtBluetooth.QBluetoothSocket.preferredSecurityFlags?4() -> QBluetooth.SecurityFlags +QtBluetooth.QBluetoothTransferManager?1(QObject parent=None) +QtBluetooth.QBluetoothTransferManager.__init__?1(self, QObject parent=None) +QtBluetooth.QBluetoothTransferManager.put?4(QBluetoothTransferRequest, QIODevice) -> QBluetoothTransferReply +QtBluetooth.QBluetoothTransferManager.finished?4(QBluetoothTransferReply) +QtBluetooth.QBluetoothTransferReply.TransferError?10 +QtBluetooth.QBluetoothTransferReply.TransferError.NoError?10 +QtBluetooth.QBluetoothTransferReply.TransferError.UnknownError?10 +QtBluetooth.QBluetoothTransferReply.TransferError.FileNotFoundError?10 +QtBluetooth.QBluetoothTransferReply.TransferError.HostNotFoundError?10 +QtBluetooth.QBluetoothTransferReply.TransferError.UserCanceledTransferError?10 +QtBluetooth.QBluetoothTransferReply.TransferError.IODeviceNotReadableError?10 +QtBluetooth.QBluetoothTransferReply.TransferError.ResourceBusyError?10 +QtBluetooth.QBluetoothTransferReply.TransferError.SessionError?10 +QtBluetooth.QBluetoothTransferReply?1(QObject parent=None) +QtBluetooth.QBluetoothTransferReply.__init__?1(self, QObject parent=None) +QtBluetooth.QBluetoothTransferReply.isFinished?4() -> bool +QtBluetooth.QBluetoothTransferReply.isRunning?4() -> bool +QtBluetooth.QBluetoothTransferReply.manager?4() -> QBluetoothTransferManager +QtBluetooth.QBluetoothTransferReply.error?4() -> QBluetoothTransferReply.TransferError +QtBluetooth.QBluetoothTransferReply.errorString?4() -> QString +QtBluetooth.QBluetoothTransferReply.request?4() -> QBluetoothTransferRequest +QtBluetooth.QBluetoothTransferReply.abort?4() +QtBluetooth.QBluetoothTransferReply.finished?4(QBluetoothTransferReply) +QtBluetooth.QBluetoothTransferReply.transferProgress?4(int, int) +QtBluetooth.QBluetoothTransferReply.error?4(QBluetoothTransferReply.TransferError) +QtBluetooth.QBluetoothTransferReply.setManager?4(QBluetoothTransferManager) +QtBluetooth.QBluetoothTransferReply.setRequest?4(QBluetoothTransferRequest) +QtBluetooth.QBluetoothTransferRequest.Attribute?10 +QtBluetooth.QBluetoothTransferRequest.Attribute.DescriptionAttribute?10 +QtBluetooth.QBluetoothTransferRequest.Attribute.TimeAttribute?10 +QtBluetooth.QBluetoothTransferRequest.Attribute.TypeAttribute?10 +QtBluetooth.QBluetoothTransferRequest.Attribute.LengthAttribute?10 +QtBluetooth.QBluetoothTransferRequest.Attribute.NameAttribute?10 +QtBluetooth.QBluetoothTransferRequest?1(QBluetoothAddress address=QBluetoothAddress()) +QtBluetooth.QBluetoothTransferRequest.__init__?1(self, QBluetoothAddress address=QBluetoothAddress()) +QtBluetooth.QBluetoothTransferRequest?1(QBluetoothTransferRequest) +QtBluetooth.QBluetoothTransferRequest.__init__?1(self, QBluetoothTransferRequest) +QtBluetooth.QBluetoothTransferRequest.attribute?4(QBluetoothTransferRequest.Attribute, QVariant defaultValue=None) -> QVariant +QtBluetooth.QBluetoothTransferRequest.setAttribute?4(QBluetoothTransferRequest.Attribute, QVariant) +QtBluetooth.QBluetoothTransferRequest.address?4() -> QBluetoothAddress +QtBluetooth.QBluetoothUuid.DescriptorType?10 +QtBluetooth.QBluetoothUuid.DescriptorType.UnknownDescriptorType?10 +QtBluetooth.QBluetoothUuid.DescriptorType.CharacteristicExtendedProperties?10 +QtBluetooth.QBluetoothUuid.DescriptorType.CharacteristicUserDescription?10 +QtBluetooth.QBluetoothUuid.DescriptorType.ClientCharacteristicConfiguration?10 +QtBluetooth.QBluetoothUuid.DescriptorType.ServerCharacteristicConfiguration?10 +QtBluetooth.QBluetoothUuid.DescriptorType.CharacteristicPresentationFormat?10 +QtBluetooth.QBluetoothUuid.DescriptorType.CharacteristicAggregateFormat?10 +QtBluetooth.QBluetoothUuid.DescriptorType.ValidRange?10 +QtBluetooth.QBluetoothUuid.DescriptorType.ExternalReportReference?10 +QtBluetooth.QBluetoothUuid.DescriptorType.ReportReference?10 +QtBluetooth.QBluetoothUuid.DescriptorType.EnvironmentalSensingConfiguration?10 +QtBluetooth.QBluetoothUuid.DescriptorType.EnvironmentalSensingMeasurement?10 +QtBluetooth.QBluetoothUuid.DescriptorType.EnvironmentalSensingTriggerSetting?10 +QtBluetooth.QBluetoothUuid.CharacteristicType?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DeviceName?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Appearance?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.PeripheralPrivacyFlag?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ReconnectionAddress?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.PeripheralPreferredConnectionParameters?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ServiceChanged?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AlertLevel?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TxPowerLevel?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DateTime?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DayOfWeek?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DayDateTime?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ExactTime256?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DSTOffset?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TimeZone?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.LocalTimeInformation?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TimeWithDST?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TimeAccuracy?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TimeSource?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ReferenceTimeInformation?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TimeUpdateControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TimeUpdateState?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.GlucoseMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BatteryLevel?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TemperatureMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TemperatureType?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.IntermediateTemperature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.MeasurementInterval?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BootKeyboardInputReport?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.SystemID?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ModelNumberString?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.SerialNumberString?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.FirmwareRevisionString?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.HardwareRevisionString?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.SoftwareRevisionString?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ManufacturerNameString?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.IEEE1107320601RegulatoryCertificationDataList?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.CurrentTime?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ScanRefresh?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BootKeyboardOutputReport?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BootMouseInputReport?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.GlucoseMeasurementContext?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BloodPressureMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.IntermediateCuffPressure?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.HeartRateMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BodySensorLocation?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.HeartRateControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AlertStatus?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.RingerControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.RingerSetting?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AlertCategoryIDBitMask?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AlertCategoryID?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AlertNotificationControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.UnreadAlertStatus?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.NewAlert?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.SupportedNewAlertCategory?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.SupportedUnreadAlertCategory?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BloodPressureFeature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.HIDInformation?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ReportMap?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.HIDControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Report?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ProtocolMode?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ScanIntervalWindow?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.PnPID?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.GlucoseFeature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.RecordAccessControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.RSCMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.RSCFeature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.SCControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.CSCMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.CSCFeature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.SensorLocation?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.CyclingPowerMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.CyclingPowerVector?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.CyclingPowerFeature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.CyclingPowerControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.LocationAndSpeed?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Navigation?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.PositionQuality?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.LNFeature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.LNControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.MagneticDeclination?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Elevation?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Pressure?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Temperature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Humidity?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TrueWindSpeed?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TrueWindDirection?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ApparentWindSpeed?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ApparentWindDirection?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.GustFactor?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.PollenConcentration?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.UVIndex?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Irradiance?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Rainfall?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.WindChill?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.HeatIndex?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DewPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DescriptorValueChanged?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AerobicHeartRateLowerLimit?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AerobicThreshold?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Age?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AnaerobicHeartRateLowerLimit?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AnaerobicHeartRateUpperLimit?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AnaerobicThreshold?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.AerobicHeartRateUpperLimit?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DateOfBirth?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DateOfThresholdAssessment?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.EmailAddress?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.FatBurnHeartRateLowerLimit?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.FatBurnHeartRateUpperLimit?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.FirstName?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.FiveZoneHeartRateLimits?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Gender?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.HeartRateMax?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Height?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.HipCircumference?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.LastName?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.MaximumRecommendedHeartRate?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.RestingHeartRate?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.SportTypeForAerobicAnaerobicThresholds?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.ThreeZoneHeartRateLimits?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.TwoZoneHeartRateLimits?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.VO2Max?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.WaistCircumference?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Weight?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.DatabaseChangeIncrement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.UserIndex?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BodyCompositionFeature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BodyCompositionMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.WeightMeasurement?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.WeightScaleFeature?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.UserControlPoint?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.MagneticFluxDensity2D?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.MagneticFluxDensity3D?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.Language?10 +QtBluetooth.QBluetoothUuid.CharacteristicType.BarometricPressureTrend?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ServiceDiscoveryServer?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.BrowseGroupDescriptor?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.PublicBrowseGroup?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.SerialPort?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.LANAccessUsingPPP?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.DialupNetworking?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.IrMCSync?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ObexObjectPush?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.OBEXFileTransfer?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.IrMCSyncCommand?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.Headset?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.AudioSource?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.AudioSink?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.AV_RemoteControlTarget?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.AdvancedAudioDistribution?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.AV_RemoteControl?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.AV_RemoteControlController?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HeadsetAG?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.PANU?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.NAP?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GN?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.DirectPrinting?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ReferencePrinting?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ImagingResponder?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ImagingAutomaticArchive?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ImagingReferenceObjects?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.Handsfree?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HandsfreeAudioGateway?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.DirectPrintingReferenceObjectsService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ReflectedUI?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.BasicPrinting?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.PrintingStatus?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HumanInterfaceDeviceService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HardcopyCableReplacement?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HCRPrint?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HCRScan?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.SIMAccess?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.PhonebookAccessPCE?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.PhonebookAccessPSE?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.PhonebookAccess?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HeadsetHS?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.MessageAccessServer?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.MessageNotificationServer?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.MessageAccessProfile?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.PnPInformation?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GenericNetworking?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GenericFileTransfer?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GenericAudio?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GenericTelephony?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.VideoSource?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.VideoSink?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.VideoDistribution?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HDP?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HDPSource?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HDPSink?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.BasicImage?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GNSS?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GNSSServer?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.Display3D?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.Glasses3D?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.Synchronization3D?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.MPSProfile?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.MPSService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GenericAccess?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.GenericAttribute?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ImmediateAlert?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.LinkLoss?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.TxPower?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.CurrentTimeService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ReferenceTimeUpdateService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.NextDSTChangeService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.Glucose?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HealthThermometer?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.DeviceInformation?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HeartRate?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.PhoneAlertStatusService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.BatteryService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.BloodPressure?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.AlertNotificationService?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.HumanInterfaceDevice?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ScanParameters?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.RunningSpeedAndCadence?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.CyclingSpeedAndCadence?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.CyclingPower?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.LocationAndNavigation?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.EnvironmentalSensing?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.BodyComposition?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.UserData?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.WeightScale?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.BondManagement?10 +QtBluetooth.QBluetoothUuid.ServiceClassUuid.ContinuousGlucoseMonitoring?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Sdp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Udp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Rfcomm?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Tcp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.TcsBin?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.TcsAt?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Att?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Obex?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Ip?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Ftp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Http?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Wsp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Bnep?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Upnp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Hidp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.HardcopyControlChannel?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.HardcopyDataChannel?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.HardcopyNotification?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Avctp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Avdtp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.Cmtp?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.UdiCPlain?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.McapControlChannel?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.McapDataChannel?10 +QtBluetooth.QBluetoothUuid.ProtocolUuid.L2cap?10 +QtBluetooth.QBluetoothUuid?1() +QtBluetooth.QBluetoothUuid.__init__?1(self) +QtBluetooth.QBluetoothUuid?1(int) +QtBluetooth.QBluetoothUuid.__init__?1(self, int) +QtBluetooth.QBluetoothUuid?1(quint128) +QtBluetooth.QBluetoothUuid.__init__?1(self, quint128) +QtBluetooth.QBluetoothUuid?1(QString) +QtBluetooth.QBluetoothUuid.__init__?1(self, QString) +QtBluetooth.QBluetoothUuid?1(QBluetoothUuid) +QtBluetooth.QBluetoothUuid.__init__?1(self, QBluetoothUuid) +QtBluetooth.QBluetoothUuid?1(QUuid) +QtBluetooth.QBluetoothUuid.__init__?1(self, QUuid) +QtBluetooth.QBluetoothUuid.minimumSize?4() -> int +QtBluetooth.QBluetoothUuid.toUInt16?4() -> (int, bool) +QtBluetooth.QBluetoothUuid.toUInt32?4() -> (int, bool) +QtBluetooth.QBluetoothUuid.toUInt128?4() -> quint128 +QtBluetooth.QBluetoothUuid.serviceClassToString?4(QBluetoothUuid.ServiceClassUuid) -> QString +QtBluetooth.QBluetoothUuid.protocolToString?4(QBluetoothUuid.ProtocolUuid) -> QString +QtBluetooth.QBluetoothUuid.characteristicToString?4(QBluetoothUuid.CharacteristicType) -> QString +QtBluetooth.QBluetoothUuid.descriptorToString?4(QBluetoothUuid.DescriptorType) -> QString +QtBluetooth.QLowEnergyAdvertisingData.Discoverability?10 +QtBluetooth.QLowEnergyAdvertisingData.Discoverability.DiscoverabilityNone?10 +QtBluetooth.QLowEnergyAdvertisingData.Discoverability.DiscoverabilityLimited?10 +QtBluetooth.QLowEnergyAdvertisingData.Discoverability.DiscoverabilityGeneral?10 +QtBluetooth.QLowEnergyAdvertisingData?1() +QtBluetooth.QLowEnergyAdvertisingData.__init__?1(self) +QtBluetooth.QLowEnergyAdvertisingData?1(QLowEnergyAdvertisingData) +QtBluetooth.QLowEnergyAdvertisingData.__init__?1(self, QLowEnergyAdvertisingData) +QtBluetooth.QLowEnergyAdvertisingData.setLocalName?4(QString) +QtBluetooth.QLowEnergyAdvertisingData.localName?4() -> QString +QtBluetooth.QLowEnergyAdvertisingData.invalidManufacturerId?4() -> int +QtBluetooth.QLowEnergyAdvertisingData.setManufacturerData?4(int, QByteArray) +QtBluetooth.QLowEnergyAdvertisingData.manufacturerId?4() -> int +QtBluetooth.QLowEnergyAdvertisingData.manufacturerData?4() -> QByteArray +QtBluetooth.QLowEnergyAdvertisingData.setIncludePowerLevel?4(bool) +QtBluetooth.QLowEnergyAdvertisingData.includePowerLevel?4() -> bool +QtBluetooth.QLowEnergyAdvertisingData.setDiscoverability?4(QLowEnergyAdvertisingData.Discoverability) +QtBluetooth.QLowEnergyAdvertisingData.discoverability?4() -> QLowEnergyAdvertisingData.Discoverability +QtBluetooth.QLowEnergyAdvertisingData.setServices?4(unknown-type) +QtBluetooth.QLowEnergyAdvertisingData.services?4() -> unknown-type +QtBluetooth.QLowEnergyAdvertisingData.setRawData?4(QByteArray) +QtBluetooth.QLowEnergyAdvertisingData.rawData?4() -> QByteArray +QtBluetooth.QLowEnergyAdvertisingData.swap?4(QLowEnergyAdvertisingData) +QtBluetooth.QLowEnergyAdvertisingParameters.FilterPolicy?10 +QtBluetooth.QLowEnergyAdvertisingParameters.FilterPolicy.IgnoreWhiteList?10 +QtBluetooth.QLowEnergyAdvertisingParameters.FilterPolicy.UseWhiteListForScanning?10 +QtBluetooth.QLowEnergyAdvertisingParameters.FilterPolicy.UseWhiteListForConnecting?10 +QtBluetooth.QLowEnergyAdvertisingParameters.FilterPolicy.UseWhiteListForScanningAndConnecting?10 +QtBluetooth.QLowEnergyAdvertisingParameters.Mode?10 +QtBluetooth.QLowEnergyAdvertisingParameters.Mode.AdvInd?10 +QtBluetooth.QLowEnergyAdvertisingParameters.Mode.AdvScanInd?10 +QtBluetooth.QLowEnergyAdvertisingParameters.Mode.AdvNonConnInd?10 +QtBluetooth.QLowEnergyAdvertisingParameters?1() +QtBluetooth.QLowEnergyAdvertisingParameters.__init__?1(self) +QtBluetooth.QLowEnergyAdvertisingParameters?1(QLowEnergyAdvertisingParameters) +QtBluetooth.QLowEnergyAdvertisingParameters.__init__?1(self, QLowEnergyAdvertisingParameters) +QtBluetooth.QLowEnergyAdvertisingParameters.setMode?4(QLowEnergyAdvertisingParameters.Mode) +QtBluetooth.QLowEnergyAdvertisingParameters.mode?4() -> QLowEnergyAdvertisingParameters.Mode +QtBluetooth.QLowEnergyAdvertisingParameters.setWhiteList?4(unknown-type, QLowEnergyAdvertisingParameters.FilterPolicy) +QtBluetooth.QLowEnergyAdvertisingParameters.whiteList?4() -> unknown-type +QtBluetooth.QLowEnergyAdvertisingParameters.filterPolicy?4() -> QLowEnergyAdvertisingParameters.FilterPolicy +QtBluetooth.QLowEnergyAdvertisingParameters.setInterval?4(int, int) +QtBluetooth.QLowEnergyAdvertisingParameters.minimumInterval?4() -> int +QtBluetooth.QLowEnergyAdvertisingParameters.maximumInterval?4() -> int +QtBluetooth.QLowEnergyAdvertisingParameters.swap?4(QLowEnergyAdvertisingParameters) +QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.address?7 +QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.type?7 +QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo?1(QBluetoothAddress, QLowEnergyController.RemoteAddressType) +QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.__init__?1(self, QBluetoothAddress, QLowEnergyController.RemoteAddressType) +QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo?1() +QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.__init__?1(self) +QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo?1(QLowEnergyAdvertisingParameters.AddressInfo) +QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.__init__?1(self, QLowEnergyAdvertisingParameters.AddressInfo) +QtBluetooth.QLowEnergyCharacteristic.PropertyType?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.Unknown?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.Broadcasting?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.Read?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.WriteNoResponse?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.Write?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.Notify?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.Indicate?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.WriteSigned?10 +QtBluetooth.QLowEnergyCharacteristic.PropertyType.ExtendedProperty?10 +QtBluetooth.QLowEnergyCharacteristic?1() +QtBluetooth.QLowEnergyCharacteristic.__init__?1(self) +QtBluetooth.QLowEnergyCharacteristic?1(QLowEnergyCharacteristic) +QtBluetooth.QLowEnergyCharacteristic.__init__?1(self, QLowEnergyCharacteristic) +QtBluetooth.QLowEnergyCharacteristic.name?4() -> QString +QtBluetooth.QLowEnergyCharacteristic.uuid?4() -> QBluetoothUuid +QtBluetooth.QLowEnergyCharacteristic.value?4() -> QByteArray +QtBluetooth.QLowEnergyCharacteristic.properties?4() -> QLowEnergyCharacteristic.PropertyTypes +QtBluetooth.QLowEnergyCharacteristic.handle?4() -> int +QtBluetooth.QLowEnergyCharacteristic.descriptor?4(QBluetoothUuid) -> QLowEnergyDescriptor +QtBluetooth.QLowEnergyCharacteristic.descriptors?4() -> unknown-type +QtBluetooth.QLowEnergyCharacteristic.isValid?4() -> bool +QtBluetooth.QLowEnergyCharacteristic.PropertyTypes?1() +QtBluetooth.QLowEnergyCharacteristic.PropertyTypes.__init__?1(self) +QtBluetooth.QLowEnergyCharacteristic.PropertyTypes?1(int) +QtBluetooth.QLowEnergyCharacteristic.PropertyTypes.__init__?1(self, int) +QtBluetooth.QLowEnergyCharacteristic.PropertyTypes?1(QLowEnergyCharacteristic.PropertyTypes) +QtBluetooth.QLowEnergyCharacteristic.PropertyTypes.__init__?1(self, QLowEnergyCharacteristic.PropertyTypes) +QtBluetooth.QLowEnergyCharacteristicData?1() +QtBluetooth.QLowEnergyCharacteristicData.__init__?1(self) +QtBluetooth.QLowEnergyCharacteristicData?1(QLowEnergyCharacteristicData) +QtBluetooth.QLowEnergyCharacteristicData.__init__?1(self, QLowEnergyCharacteristicData) +QtBluetooth.QLowEnergyCharacteristicData.uuid?4() -> QBluetoothUuid +QtBluetooth.QLowEnergyCharacteristicData.setUuid?4(QBluetoothUuid) +QtBluetooth.QLowEnergyCharacteristicData.value?4() -> QByteArray +QtBluetooth.QLowEnergyCharacteristicData.setValue?4(QByteArray) +QtBluetooth.QLowEnergyCharacteristicData.properties?4() -> QLowEnergyCharacteristic.PropertyTypes +QtBluetooth.QLowEnergyCharacteristicData.setProperties?4(QLowEnergyCharacteristic.PropertyTypes) +QtBluetooth.QLowEnergyCharacteristicData.descriptors?4() -> unknown-type +QtBluetooth.QLowEnergyCharacteristicData.setDescriptors?4(unknown-type) +QtBluetooth.QLowEnergyCharacteristicData.addDescriptor?4(QLowEnergyDescriptorData) +QtBluetooth.QLowEnergyCharacteristicData.setReadConstraints?4(QBluetooth.AttAccessConstraints) +QtBluetooth.QLowEnergyCharacteristicData.readConstraints?4() -> QBluetooth.AttAccessConstraints +QtBluetooth.QLowEnergyCharacteristicData.setWriteConstraints?4(QBluetooth.AttAccessConstraints) +QtBluetooth.QLowEnergyCharacteristicData.writeConstraints?4() -> QBluetooth.AttAccessConstraints +QtBluetooth.QLowEnergyCharacteristicData.setValueLength?4(int, int) +QtBluetooth.QLowEnergyCharacteristicData.minimumValueLength?4() -> int +QtBluetooth.QLowEnergyCharacteristicData.maximumValueLength?4() -> int +QtBluetooth.QLowEnergyCharacteristicData.isValid?4() -> bool +QtBluetooth.QLowEnergyCharacteristicData.swap?4(QLowEnergyCharacteristicData) +QtBluetooth.QLowEnergyConnectionParameters?1() +QtBluetooth.QLowEnergyConnectionParameters.__init__?1(self) +QtBluetooth.QLowEnergyConnectionParameters?1(QLowEnergyConnectionParameters) +QtBluetooth.QLowEnergyConnectionParameters.__init__?1(self, QLowEnergyConnectionParameters) +QtBluetooth.QLowEnergyConnectionParameters.setIntervalRange?4(float, float) +QtBluetooth.QLowEnergyConnectionParameters.minimumInterval?4() -> float +QtBluetooth.QLowEnergyConnectionParameters.maximumInterval?4() -> float +QtBluetooth.QLowEnergyConnectionParameters.setLatency?4(int) +QtBluetooth.QLowEnergyConnectionParameters.latency?4() -> int +QtBluetooth.QLowEnergyConnectionParameters.setSupervisionTimeout?4(int) +QtBluetooth.QLowEnergyConnectionParameters.supervisionTimeout?4() -> int +QtBluetooth.QLowEnergyConnectionParameters.swap?4(QLowEnergyConnectionParameters) +QtBluetooth.QLowEnergyController.Role?10 +QtBluetooth.QLowEnergyController.Role.CentralRole?10 +QtBluetooth.QLowEnergyController.Role.PeripheralRole?10 +QtBluetooth.QLowEnergyController.RemoteAddressType?10 +QtBluetooth.QLowEnergyController.RemoteAddressType.PublicAddress?10 +QtBluetooth.QLowEnergyController.RemoteAddressType.RandomAddress?10 +QtBluetooth.QLowEnergyController.ControllerState?10 +QtBluetooth.QLowEnergyController.ControllerState.UnconnectedState?10 +QtBluetooth.QLowEnergyController.ControllerState.ConnectingState?10 +QtBluetooth.QLowEnergyController.ControllerState.ConnectedState?10 +QtBluetooth.QLowEnergyController.ControllerState.DiscoveringState?10 +QtBluetooth.QLowEnergyController.ControllerState.DiscoveredState?10 +QtBluetooth.QLowEnergyController.ControllerState.ClosingState?10 +QtBluetooth.QLowEnergyController.ControllerState.AdvertisingState?10 +QtBluetooth.QLowEnergyController.Error?10 +QtBluetooth.QLowEnergyController.Error.NoError?10 +QtBluetooth.QLowEnergyController.Error.UnknownError?10 +QtBluetooth.QLowEnergyController.Error.UnknownRemoteDeviceError?10 +QtBluetooth.QLowEnergyController.Error.NetworkError?10 +QtBluetooth.QLowEnergyController.Error.InvalidBluetoothAdapterError?10 +QtBluetooth.QLowEnergyController.Error.ConnectionError?10 +QtBluetooth.QLowEnergyController.Error.AdvertisingError?10 +QtBluetooth.QLowEnergyController.Error.RemoteHostClosedError?10 +QtBluetooth.QLowEnergyController.Error.AuthorizationError?10 +QtBluetooth.QLowEnergyController?1(QBluetoothDeviceInfo, QObject parent=None) +QtBluetooth.QLowEnergyController.__init__?1(self, QBluetoothDeviceInfo, QObject parent=None) +QtBluetooth.QLowEnergyController?1(QBluetoothAddress, QObject parent=None) +QtBluetooth.QLowEnergyController.__init__?1(self, QBluetoothAddress, QObject parent=None) +QtBluetooth.QLowEnergyController?1(QBluetoothAddress, QBluetoothAddress, QObject parent=None) +QtBluetooth.QLowEnergyController.__init__?1(self, QBluetoothAddress, QBluetoothAddress, QObject parent=None) +QtBluetooth.QLowEnergyController.localAddress?4() -> QBluetoothAddress +QtBluetooth.QLowEnergyController.remoteAddress?4() -> QBluetoothAddress +QtBluetooth.QLowEnergyController.state?4() -> QLowEnergyController.ControllerState +QtBluetooth.QLowEnergyController.remoteAddressType?4() -> QLowEnergyController.RemoteAddressType +QtBluetooth.QLowEnergyController.setRemoteAddressType?4(QLowEnergyController.RemoteAddressType) +QtBluetooth.QLowEnergyController.connectToDevice?4() +QtBluetooth.QLowEnergyController.disconnectFromDevice?4() +QtBluetooth.QLowEnergyController.discoverServices?4() +QtBluetooth.QLowEnergyController.services?4() -> unknown-type +QtBluetooth.QLowEnergyController.createServiceObject?4(QBluetoothUuid, QObject parent=None) -> QLowEnergyService +QtBluetooth.QLowEnergyController.error?4() -> QLowEnergyController.Error +QtBluetooth.QLowEnergyController.errorString?4() -> QString +QtBluetooth.QLowEnergyController.remoteName?4() -> QString +QtBluetooth.QLowEnergyController.connected?4() +QtBluetooth.QLowEnergyController.disconnected?4() +QtBluetooth.QLowEnergyController.stateChanged?4(QLowEnergyController.ControllerState) +QtBluetooth.QLowEnergyController.error?4(QLowEnergyController.Error) +QtBluetooth.QLowEnergyController.serviceDiscovered?4(QBluetoothUuid) +QtBluetooth.QLowEnergyController.discoveryFinished?4() +QtBluetooth.QLowEnergyController.createCentral?4(QBluetoothDeviceInfo, QObject parent=None) -> QLowEnergyController +QtBluetooth.QLowEnergyController.createCentral?4(QBluetoothAddress, QBluetoothAddress, QObject parent=None) -> QLowEnergyController +QtBluetooth.QLowEnergyController.createPeripheral?4(QObject parent=None) -> QLowEnergyController +QtBluetooth.QLowEnergyController.startAdvertising?4(QLowEnergyAdvertisingParameters, QLowEnergyAdvertisingData, QLowEnergyAdvertisingData scanResponseData=QLowEnergyAdvertisingData()) +QtBluetooth.QLowEnergyController.stopAdvertising?4() +QtBluetooth.QLowEnergyController.addService?4(QLowEnergyServiceData, QObject parent=None) -> QLowEnergyService +QtBluetooth.QLowEnergyController.requestConnectionUpdate?4(QLowEnergyConnectionParameters) +QtBluetooth.QLowEnergyController.role?4() -> QLowEnergyController.Role +QtBluetooth.QLowEnergyController.connectionUpdated?4(QLowEnergyConnectionParameters) +QtBluetooth.QLowEnergyController.remoteDeviceUuid?4() -> QBluetoothUuid +QtBluetooth.QLowEnergyDescriptor?1() +QtBluetooth.QLowEnergyDescriptor.__init__?1(self) +QtBluetooth.QLowEnergyDescriptor?1(QLowEnergyDescriptor) +QtBluetooth.QLowEnergyDescriptor.__init__?1(self, QLowEnergyDescriptor) +QtBluetooth.QLowEnergyDescriptor.isValid?4() -> bool +QtBluetooth.QLowEnergyDescriptor.value?4() -> QByteArray +QtBluetooth.QLowEnergyDescriptor.uuid?4() -> QBluetoothUuid +QtBluetooth.QLowEnergyDescriptor.handle?4() -> int +QtBluetooth.QLowEnergyDescriptor.name?4() -> QString +QtBluetooth.QLowEnergyDescriptor.type?4() -> QBluetoothUuid.DescriptorType +QtBluetooth.QLowEnergyDescriptorData?1() +QtBluetooth.QLowEnergyDescriptorData.__init__?1(self) +QtBluetooth.QLowEnergyDescriptorData?1(QBluetoothUuid, QByteArray) +QtBluetooth.QLowEnergyDescriptorData.__init__?1(self, QBluetoothUuid, QByteArray) +QtBluetooth.QLowEnergyDescriptorData?1(QLowEnergyDescriptorData) +QtBluetooth.QLowEnergyDescriptorData.__init__?1(self, QLowEnergyDescriptorData) +QtBluetooth.QLowEnergyDescriptorData.value?4() -> QByteArray +QtBluetooth.QLowEnergyDescriptorData.setValue?4(QByteArray) +QtBluetooth.QLowEnergyDescriptorData.uuid?4() -> QBluetoothUuid +QtBluetooth.QLowEnergyDescriptorData.setUuid?4(QBluetoothUuid) +QtBluetooth.QLowEnergyDescriptorData.isValid?4() -> bool +QtBluetooth.QLowEnergyDescriptorData.setReadPermissions?4(bool, QBluetooth.AttAccessConstraints constraints=QBluetooth.AttAccessConstraints()) +QtBluetooth.QLowEnergyDescriptorData.isReadable?4() -> bool +QtBluetooth.QLowEnergyDescriptorData.readConstraints?4() -> QBluetooth.AttAccessConstraints +QtBluetooth.QLowEnergyDescriptorData.setWritePermissions?4(bool, QBluetooth.AttAccessConstraints constraints=QBluetooth.AttAccessConstraints()) +QtBluetooth.QLowEnergyDescriptorData.isWritable?4() -> bool +QtBluetooth.QLowEnergyDescriptorData.writeConstraints?4() -> QBluetooth.AttAccessConstraints +QtBluetooth.QLowEnergyDescriptorData.swap?4(QLowEnergyDescriptorData) +QtBluetooth.QLowEnergyService.WriteMode?10 +QtBluetooth.QLowEnergyService.WriteMode.WriteWithResponse?10 +QtBluetooth.QLowEnergyService.WriteMode.WriteWithoutResponse?10 +QtBluetooth.QLowEnergyService.WriteMode.WriteSigned?10 +QtBluetooth.QLowEnergyService.ServiceState?10 +QtBluetooth.QLowEnergyService.ServiceState.InvalidService?10 +QtBluetooth.QLowEnergyService.ServiceState.DiscoveryRequired?10 +QtBluetooth.QLowEnergyService.ServiceState.DiscoveringServices?10 +QtBluetooth.QLowEnergyService.ServiceState.ServiceDiscovered?10 +QtBluetooth.QLowEnergyService.ServiceState.LocalService?10 +QtBluetooth.QLowEnergyService.ServiceError?10 +QtBluetooth.QLowEnergyService.ServiceError.NoError?10 +QtBluetooth.QLowEnergyService.ServiceError.OperationError?10 +QtBluetooth.QLowEnergyService.ServiceError.CharacteristicWriteError?10 +QtBluetooth.QLowEnergyService.ServiceError.DescriptorWriteError?10 +QtBluetooth.QLowEnergyService.ServiceError.CharacteristicReadError?10 +QtBluetooth.QLowEnergyService.ServiceError.DescriptorReadError?10 +QtBluetooth.QLowEnergyService.ServiceError.UnknownError?10 +QtBluetooth.QLowEnergyService.ServiceType?10 +QtBluetooth.QLowEnergyService.ServiceType.PrimaryService?10 +QtBluetooth.QLowEnergyService.ServiceType.IncludedService?10 +QtBluetooth.QLowEnergyService.includedServices?4() -> unknown-type +QtBluetooth.QLowEnergyService.type?4() -> QLowEnergyService.ServiceTypes +QtBluetooth.QLowEnergyService.state?4() -> QLowEnergyService.ServiceState +QtBluetooth.QLowEnergyService.characteristic?4(QBluetoothUuid) -> QLowEnergyCharacteristic +QtBluetooth.QLowEnergyService.characteristics?4() -> unknown-type +QtBluetooth.QLowEnergyService.serviceUuid?4() -> QBluetoothUuid +QtBluetooth.QLowEnergyService.serviceName?4() -> QString +QtBluetooth.QLowEnergyService.discoverDetails?4() +QtBluetooth.QLowEnergyService.error?4() -> QLowEnergyService.ServiceError +QtBluetooth.QLowEnergyService.contains?4(QLowEnergyCharacteristic) -> bool +QtBluetooth.QLowEnergyService.contains?4(QLowEnergyDescriptor) -> bool +QtBluetooth.QLowEnergyService.writeCharacteristic?4(QLowEnergyCharacteristic, QByteArray, QLowEnergyService.WriteMode mode=QLowEnergyService.WriteWithResponse) +QtBluetooth.QLowEnergyService.writeDescriptor?4(QLowEnergyDescriptor, QByteArray) +QtBluetooth.QLowEnergyService.stateChanged?4(QLowEnergyService.ServiceState) +QtBluetooth.QLowEnergyService.characteristicChanged?4(QLowEnergyCharacteristic, QByteArray) +QtBluetooth.QLowEnergyService.characteristicWritten?4(QLowEnergyCharacteristic, QByteArray) +QtBluetooth.QLowEnergyService.descriptorWritten?4(QLowEnergyDescriptor, QByteArray) +QtBluetooth.QLowEnergyService.error?4(QLowEnergyService.ServiceError) +QtBluetooth.QLowEnergyService.readCharacteristic?4(QLowEnergyCharacteristic) +QtBluetooth.QLowEnergyService.readDescriptor?4(QLowEnergyDescriptor) +QtBluetooth.QLowEnergyService.characteristicRead?4(QLowEnergyCharacteristic, QByteArray) +QtBluetooth.QLowEnergyService.descriptorRead?4(QLowEnergyDescriptor, QByteArray) +QtBluetooth.QLowEnergyService.ServiceTypes?1() +QtBluetooth.QLowEnergyService.ServiceTypes.__init__?1(self) +QtBluetooth.QLowEnergyService.ServiceTypes?1(int) +QtBluetooth.QLowEnergyService.ServiceTypes.__init__?1(self, int) +QtBluetooth.QLowEnergyService.ServiceTypes?1(QLowEnergyService.ServiceTypes) +QtBluetooth.QLowEnergyService.ServiceTypes.__init__?1(self, QLowEnergyService.ServiceTypes) +QtBluetooth.QLowEnergyServiceData.ServiceType?10 +QtBluetooth.QLowEnergyServiceData.ServiceType.ServiceTypePrimary?10 +QtBluetooth.QLowEnergyServiceData.ServiceType.ServiceTypeSecondary?10 +QtBluetooth.QLowEnergyServiceData?1() +QtBluetooth.QLowEnergyServiceData.__init__?1(self) +QtBluetooth.QLowEnergyServiceData?1(QLowEnergyServiceData) +QtBluetooth.QLowEnergyServiceData.__init__?1(self, QLowEnergyServiceData) +QtBluetooth.QLowEnergyServiceData.type?4() -> QLowEnergyServiceData.ServiceType +QtBluetooth.QLowEnergyServiceData.setType?4(QLowEnergyServiceData.ServiceType) +QtBluetooth.QLowEnergyServiceData.uuid?4() -> QBluetoothUuid +QtBluetooth.QLowEnergyServiceData.setUuid?4(QBluetoothUuid) +QtBluetooth.QLowEnergyServiceData.includedServices?4() -> unknown-type +QtBluetooth.QLowEnergyServiceData.setIncludedServices?4(unknown-type) +QtBluetooth.QLowEnergyServiceData.addIncludedService?4(QLowEnergyService) +QtBluetooth.QLowEnergyServiceData.characteristics?4() -> unknown-type +QtBluetooth.QLowEnergyServiceData.setCharacteristics?4(unknown-type) +QtBluetooth.QLowEnergyServiceData.addCharacteristic?4(QLowEnergyCharacteristicData) +QtBluetooth.QLowEnergyServiceData.isValid?4() -> bool +QtBluetooth.QLowEnergyServiceData.swap?4(QLowEnergyServiceData) +QtDBus.QDBusAbstractAdaptor?1(QObject) +QtDBus.QDBusAbstractAdaptor.__init__?1(self, QObject) +QtDBus.QDBusAbstractAdaptor.setAutoRelaySignals?4(bool) +QtDBus.QDBusAbstractAdaptor.autoRelaySignals?4() -> bool +QtDBus.QDBusAbstractInterface?1(QString, QString, str, QDBusConnection, QObject) +QtDBus.QDBusAbstractInterface.__init__?1(self, QString, QString, str, QDBusConnection, QObject) +QtDBus.QDBusAbstractInterface.isValid?4() -> bool +QtDBus.QDBusAbstractInterface.connection?4() -> QDBusConnection +QtDBus.QDBusAbstractInterface.service?4() -> QString +QtDBus.QDBusAbstractInterface.path?4() -> QString +QtDBus.QDBusAbstractInterface.interface?4() -> QString +QtDBus.QDBusAbstractInterface.lastError?4() -> QDBusError +QtDBus.QDBusAbstractInterface.setTimeout?4(int) +QtDBus.QDBusAbstractInterface.timeout?4() -> int +QtDBus.QDBusAbstractInterface.call?4(QString, QVariant arg1=None, QVariant arg2=None, QVariant arg3=None, QVariant arg4=None, QVariant arg5=None, QVariant arg6=None, QVariant arg7=None, QVariant arg8=None) -> QDBusMessage +QtDBus.QDBusAbstractInterface.call?4(QDBus.CallMode, QString, QVariant arg1=None, QVariant arg2=None, QVariant arg3=None, QVariant arg4=None, QVariant arg5=None, QVariant arg6=None, QVariant arg7=None, QVariant arg8=None) -> QDBusMessage +QtDBus.QDBusAbstractInterface.callWithArgumentList?4(QDBus.CallMode, QString, unknown-type) -> QDBusMessage +QtDBus.QDBusAbstractInterface.callWithCallback?4(QString, unknown-type, object, object) -> bool +QtDBus.QDBusAbstractInterface.callWithCallback?4(QString, unknown-type, object) -> bool +QtDBus.QDBusAbstractInterface.asyncCall?4(QString, QVariant arg1=None, QVariant arg2=None, QVariant arg3=None, QVariant arg4=None, QVariant arg5=None, QVariant arg6=None, QVariant arg7=None, QVariant arg8=None) -> QDBusPendingCall +QtDBus.QDBusAbstractInterface.asyncCallWithArgumentList?4(QString, unknown-type) -> QDBusPendingCall +QtDBus.QDBusAbstractInterface.connectNotify?4(QMetaMethod) +QtDBus.QDBusAbstractInterface.disconnectNotify?4(QMetaMethod) +QtDBus.QDBusArgument?1() +QtDBus.QDBusArgument.__init__?1(self) +QtDBus.QDBusArgument?1(QDBusArgument) +QtDBus.QDBusArgument.__init__?1(self, QDBusArgument) +QtDBus.QDBusArgument?1(object, int id=QMetaType.Int) +QtDBus.QDBusArgument.__init__?1(self, object, int id=QMetaType.Int) +QtDBus.QDBusArgument.add?4(object, int id=QMetaType.Int) -> object +QtDBus.QDBusArgument.beginStructure?4() +QtDBus.QDBusArgument.endStructure?4() +QtDBus.QDBusArgument.beginArray?4(int) +QtDBus.QDBusArgument.endArray?4() +QtDBus.QDBusArgument.beginMap?4(int, int) +QtDBus.QDBusArgument.endMap?4() +QtDBus.QDBusArgument.beginMapEntry?4() +QtDBus.QDBusArgument.endMapEntry?4() +QtDBus.QDBusArgument.swap?4(QDBusArgument) +QtDBus.QDBus.CallMode?10 +QtDBus.QDBus.CallMode.NoBlock?10 +QtDBus.QDBus.CallMode.Block?10 +QtDBus.QDBus.CallMode.BlockWithGui?10 +QtDBus.QDBus.CallMode.AutoDetect?10 +QtDBus.QDBusConnection.ConnectionCapability?10 +QtDBus.QDBusConnection.ConnectionCapability.UnixFileDescriptorPassing?10 +QtDBus.QDBusConnection.UnregisterMode?10 +QtDBus.QDBusConnection.UnregisterMode.UnregisterNode?10 +QtDBus.QDBusConnection.UnregisterMode.UnregisterTree?10 +QtDBus.QDBusConnection.RegisterOption?10 +QtDBus.QDBusConnection.RegisterOption.ExportAdaptors?10 +QtDBus.QDBusConnection.RegisterOption.ExportScriptableSlots?10 +QtDBus.QDBusConnection.RegisterOption.ExportScriptableSignals?10 +QtDBus.QDBusConnection.RegisterOption.ExportScriptableProperties?10 +QtDBus.QDBusConnection.RegisterOption.ExportScriptableInvokables?10 +QtDBus.QDBusConnection.RegisterOption.ExportScriptableContents?10 +QtDBus.QDBusConnection.RegisterOption.ExportNonScriptableSlots?10 +QtDBus.QDBusConnection.RegisterOption.ExportNonScriptableSignals?10 +QtDBus.QDBusConnection.RegisterOption.ExportNonScriptableProperties?10 +QtDBus.QDBusConnection.RegisterOption.ExportNonScriptableInvokables?10 +QtDBus.QDBusConnection.RegisterOption.ExportNonScriptableContents?10 +QtDBus.QDBusConnection.RegisterOption.ExportAllSlots?10 +QtDBus.QDBusConnection.RegisterOption.ExportAllSignals?10 +QtDBus.QDBusConnection.RegisterOption.ExportAllProperties?10 +QtDBus.QDBusConnection.RegisterOption.ExportAllInvokables?10 +QtDBus.QDBusConnection.RegisterOption.ExportAllContents?10 +QtDBus.QDBusConnection.RegisterOption.ExportAllSignal?10 +QtDBus.QDBusConnection.RegisterOption.ExportChildObjects?10 +QtDBus.QDBusConnection.BusType?10 +QtDBus.QDBusConnection.BusType.SessionBus?10 +QtDBus.QDBusConnection.BusType.SystemBus?10 +QtDBus.QDBusConnection.BusType.ActivationBus?10 +QtDBus.QDBusConnection?1(QString) +QtDBus.QDBusConnection.__init__?1(self, QString) +QtDBus.QDBusConnection?1(QDBusConnection) +QtDBus.QDBusConnection.__init__?1(self, QDBusConnection) +QtDBus.QDBusConnection.isConnected?4() -> bool +QtDBus.QDBusConnection.baseService?4() -> QString +QtDBus.QDBusConnection.lastError?4() -> QDBusError +QtDBus.QDBusConnection.name?4() -> QString +QtDBus.QDBusConnection.connectionCapabilities?4() -> QDBusConnection.ConnectionCapabilities +QtDBus.QDBusConnection.send?4(QDBusMessage) -> bool +QtDBus.QDBusConnection.callWithCallback?4(QDBusMessage, object, object, int timeout=-1) -> bool +QtDBus.QDBusConnection.call?4(QDBusMessage, QDBus.CallMode mode=QDBus.Block, int timeout=-1) -> QDBusMessage +QtDBus.QDBusConnection.asyncCall?4(QDBusMessage, int timeout=-1) -> QDBusPendingCall +QtDBus.QDBusConnection.connect?4(QString, QString, QString, QString, object) -> bool +QtDBus.QDBusConnection.connect?4(QString, QString, QString, QString, QString, object) -> bool +QtDBus.QDBusConnection.connect?4(QString, QString, QString, QString, QStringList, QString, object) -> bool +QtDBus.QDBusConnection.disconnect?4(QString, QString, QString, QString, object) -> bool +QtDBus.QDBusConnection.disconnect?4(QString, QString, QString, QString, QString, object) -> bool +QtDBus.QDBusConnection.disconnect?4(QString, QString, QString, QString, QStringList, QString, object) -> bool +QtDBus.QDBusConnection.registerObject?4(QString, QObject, QDBusConnection.RegisterOptions options=QDBusConnection.ExportAdaptors) -> bool +QtDBus.QDBusConnection.registerObject?4(QString, QString, QObject, QDBusConnection.RegisterOptions options=QDBusConnection.ExportAdaptors) -> bool +QtDBus.QDBusConnection.unregisterObject?4(QString, QDBusConnection.UnregisterMode mode=QDBusConnection.UnregisterNode) +QtDBus.QDBusConnection.objectRegisteredAt?4(QString) -> QObject +QtDBus.QDBusConnection.registerService?4(QString) -> bool +QtDBus.QDBusConnection.unregisterService?4(QString) -> bool +QtDBus.QDBusConnection.interface?4() -> QDBusConnectionInterface +QtDBus.QDBusConnection.connectToBus?4(QDBusConnection.BusType, QString) -> QDBusConnection +QtDBus.QDBusConnection.connectToBus?4(QString, QString) -> QDBusConnection +QtDBus.QDBusConnection.connectToPeer?4(QString, QString) -> QDBusConnection +QtDBus.QDBusConnection.disconnectFromBus?4(QString) +QtDBus.QDBusConnection.disconnectFromPeer?4(QString) +QtDBus.QDBusConnection.localMachineId?4() -> QByteArray +QtDBus.QDBusConnection.sessionBus?4() -> QDBusConnection +QtDBus.QDBusConnection.systemBus?4() -> QDBusConnection +QtDBus.QDBusConnection.sender?4() -> QDBusConnection +QtDBus.QDBusConnection.swap?4(QDBusConnection) +QtDBus.QDBusConnection.RegisterOptions?1() +QtDBus.QDBusConnection.RegisterOptions.__init__?1(self) +QtDBus.QDBusConnection.RegisterOptions?1(int) +QtDBus.QDBusConnection.RegisterOptions.__init__?1(self, int) +QtDBus.QDBusConnection.RegisterOptions?1(QDBusConnection.RegisterOptions) +QtDBus.QDBusConnection.RegisterOptions.__init__?1(self, QDBusConnection.RegisterOptions) +QtDBus.QDBusConnection.ConnectionCapabilities?1() +QtDBus.QDBusConnection.ConnectionCapabilities.__init__?1(self) +QtDBus.QDBusConnection.ConnectionCapabilities?1(int) +QtDBus.QDBusConnection.ConnectionCapabilities.__init__?1(self, int) +QtDBus.QDBusConnection.ConnectionCapabilities?1(QDBusConnection.ConnectionCapabilities) +QtDBus.QDBusConnection.ConnectionCapabilities.__init__?1(self, QDBusConnection.ConnectionCapabilities) +QtDBus.QDBusConnectionInterface.RegisterServiceReply?10 +QtDBus.QDBusConnectionInterface.RegisterServiceReply.ServiceNotRegistered?10 +QtDBus.QDBusConnectionInterface.RegisterServiceReply.ServiceRegistered?10 +QtDBus.QDBusConnectionInterface.RegisterServiceReply.ServiceQueued?10 +QtDBus.QDBusConnectionInterface.ServiceReplacementOptions?10 +QtDBus.QDBusConnectionInterface.ServiceReplacementOptions.DontAllowReplacement?10 +QtDBus.QDBusConnectionInterface.ServiceReplacementOptions.AllowReplacement?10 +QtDBus.QDBusConnectionInterface.ServiceQueueOptions?10 +QtDBus.QDBusConnectionInterface.ServiceQueueOptions.DontQueueService?10 +QtDBus.QDBusConnectionInterface.ServiceQueueOptions.QueueService?10 +QtDBus.QDBusConnectionInterface.ServiceQueueOptions.ReplaceExistingService?10 +QtDBus.QDBusConnectionInterface.registeredServiceNames?4() -> unknown-type +QtDBus.QDBusConnectionInterface.activatableServiceNames?4() -> unknown-type +QtDBus.QDBusConnectionInterface.isServiceRegistered?4(QString) -> unknown-type +QtDBus.QDBusConnectionInterface.serviceOwner?4(QString) -> unknown-type +QtDBus.QDBusConnectionInterface.unregisterService?4(QString) -> unknown-type +QtDBus.QDBusConnectionInterface.registerService?4(QString, QDBusConnectionInterface.ServiceQueueOptions qoption=QDBusConnectionInterface.DontQueueService, QDBusConnectionInterface.ServiceReplacementOptions roption=QDBusConnectionInterface.DontAllowReplacement) -> unknown-type +QtDBus.QDBusConnectionInterface.servicePid?4(QString) -> unknown-type +QtDBus.QDBusConnectionInterface.serviceUid?4(QString) -> unknown-type +QtDBus.QDBusConnectionInterface.startService?4(QString) -> unknown-type +QtDBus.QDBusConnectionInterface.serviceRegistered?4(QString) +QtDBus.QDBusConnectionInterface.serviceUnregistered?4(QString) +QtDBus.QDBusConnectionInterface.serviceOwnerChanged?4(QString, QString, QString) +QtDBus.QDBusConnectionInterface.callWithCallbackFailed?4(QDBusError, QDBusMessage) +QtDBus.QDBusConnectionInterface.connectNotify?4(QMetaMethod) +QtDBus.QDBusConnectionInterface.disconnectNotify?4(QMetaMethod) +QtDBus.QDBusError.ErrorType?10 +QtDBus.QDBusError.ErrorType.NoError?10 +QtDBus.QDBusError.ErrorType.Other?10 +QtDBus.QDBusError.ErrorType.Failed?10 +QtDBus.QDBusError.ErrorType.NoMemory?10 +QtDBus.QDBusError.ErrorType.ServiceUnknown?10 +QtDBus.QDBusError.ErrorType.NoReply?10 +QtDBus.QDBusError.ErrorType.BadAddress?10 +QtDBus.QDBusError.ErrorType.NotSupported?10 +QtDBus.QDBusError.ErrorType.LimitsExceeded?10 +QtDBus.QDBusError.ErrorType.AccessDenied?10 +QtDBus.QDBusError.ErrorType.NoServer?10 +QtDBus.QDBusError.ErrorType.Timeout?10 +QtDBus.QDBusError.ErrorType.NoNetwork?10 +QtDBus.QDBusError.ErrorType.AddressInUse?10 +QtDBus.QDBusError.ErrorType.Disconnected?10 +QtDBus.QDBusError.ErrorType.InvalidArgs?10 +QtDBus.QDBusError.ErrorType.UnknownMethod?10 +QtDBus.QDBusError.ErrorType.TimedOut?10 +QtDBus.QDBusError.ErrorType.InvalidSignature?10 +QtDBus.QDBusError.ErrorType.UnknownInterface?10 +QtDBus.QDBusError.ErrorType.InternalError?10 +QtDBus.QDBusError.ErrorType.UnknownObject?10 +QtDBus.QDBusError.ErrorType.InvalidService?10 +QtDBus.QDBusError.ErrorType.InvalidObjectPath?10 +QtDBus.QDBusError.ErrorType.InvalidInterface?10 +QtDBus.QDBusError.ErrorType.InvalidMember?10 +QtDBus.QDBusError.ErrorType.UnknownProperty?10 +QtDBus.QDBusError.ErrorType.PropertyReadOnly?10 +QtDBus.QDBusError?1(QDBusError) +QtDBus.QDBusError.__init__?1(self, QDBusError) +QtDBus.QDBusError.type?4() -> QDBusError.ErrorType +QtDBus.QDBusError.name?4() -> QString +QtDBus.QDBusError.message?4() -> QString +QtDBus.QDBusError.isValid?4() -> bool +QtDBus.QDBusError.errorString?4(QDBusError.ErrorType) -> QString +QtDBus.QDBusError.swap?4(QDBusError) +QtDBus.QDBusObjectPath?1() +QtDBus.QDBusObjectPath.__init__?1(self) +QtDBus.QDBusObjectPath?1(QString) +QtDBus.QDBusObjectPath.__init__?1(self, QString) +QtDBus.QDBusObjectPath?1(QDBusObjectPath) +QtDBus.QDBusObjectPath.__init__?1(self, QDBusObjectPath) +QtDBus.QDBusObjectPath.path?4() -> QString +QtDBus.QDBusObjectPath.setPath?4(QString) +QtDBus.QDBusObjectPath.swap?4(QDBusObjectPath) +QtDBus.QDBusSignature?1() +QtDBus.QDBusSignature.__init__?1(self) +QtDBus.QDBusSignature?1(QString) +QtDBus.QDBusSignature.__init__?1(self, QString) +QtDBus.QDBusSignature?1(QDBusSignature) +QtDBus.QDBusSignature.__init__?1(self, QDBusSignature) +QtDBus.QDBusSignature.signature?4() -> QString +QtDBus.QDBusSignature.setSignature?4(QString) +QtDBus.QDBusSignature.swap?4(QDBusSignature) +QtDBus.QDBusVariant?1() +QtDBus.QDBusVariant.__init__?1(self) +QtDBus.QDBusVariant?1(QVariant) +QtDBus.QDBusVariant.__init__?1(self, QVariant) +QtDBus.QDBusVariant?1(QDBusVariant) +QtDBus.QDBusVariant.__init__?1(self, QDBusVariant) +QtDBus.QDBusVariant.variant?4() -> QVariant +QtDBus.QDBusVariant.setVariant?4(QVariant) +QtDBus.QDBusVariant.swap?4(QDBusVariant) +QtDBus.QDBusInterface?1(QString, QString, QString interface='', QDBusConnection connection=QDBusConnection.sessionBus(), QObject parent=None) +QtDBus.QDBusInterface.__init__?1(self, QString, QString, QString interface='', QDBusConnection connection=QDBusConnection.sessionBus(), QObject parent=None) +QtDBus.QDBusMessage.MessageType?10 +QtDBus.QDBusMessage.MessageType.InvalidMessage?10 +QtDBus.QDBusMessage.MessageType.MethodCallMessage?10 +QtDBus.QDBusMessage.MessageType.ReplyMessage?10 +QtDBus.QDBusMessage.MessageType.ErrorMessage?10 +QtDBus.QDBusMessage.MessageType.SignalMessage?10 +QtDBus.QDBusMessage?1() +QtDBus.QDBusMessage.__init__?1(self) +QtDBus.QDBusMessage?1(QDBusMessage) +QtDBus.QDBusMessage.__init__?1(self, QDBusMessage) +QtDBus.QDBusMessage.createSignal?4(QString, QString, QString) -> QDBusMessage +QtDBus.QDBusMessage.createMethodCall?4(QString, QString, QString, QString) -> QDBusMessage +QtDBus.QDBusMessage.createError?4(QString, QString) -> QDBusMessage +QtDBus.QDBusMessage.createError?4(QDBusError) -> QDBusMessage +QtDBus.QDBusMessage.createError?4(QDBusError.ErrorType, QString) -> QDBusMessage +QtDBus.QDBusMessage.createReply?4(unknown-type arguments=[]) -> QDBusMessage +QtDBus.QDBusMessage.createReply?4(QVariant) -> QDBusMessage +QtDBus.QDBusMessage.createErrorReply?4(QString, QString) -> QDBusMessage +QtDBus.QDBusMessage.createErrorReply?4(QDBusError) -> QDBusMessage +QtDBus.QDBusMessage.createErrorReply?4(QDBusError.ErrorType, QString) -> QDBusMessage +QtDBus.QDBusMessage.service?4() -> QString +QtDBus.QDBusMessage.path?4() -> QString +QtDBus.QDBusMessage.interface?4() -> QString +QtDBus.QDBusMessage.member?4() -> QString +QtDBus.QDBusMessage.errorName?4() -> QString +QtDBus.QDBusMessage.errorMessage?4() -> QString +QtDBus.QDBusMessage.type?4() -> QDBusMessage.MessageType +QtDBus.QDBusMessage.signature?4() -> QString +QtDBus.QDBusMessage.isReplyRequired?4() -> bool +QtDBus.QDBusMessage.setDelayedReply?4(bool) +QtDBus.QDBusMessage.isDelayedReply?4() -> bool +QtDBus.QDBusMessage.setAutoStartService?4(bool) +QtDBus.QDBusMessage.autoStartService?4() -> bool +QtDBus.QDBusMessage.setArguments?4(unknown-type) +QtDBus.QDBusMessage.arguments?4() -> unknown-type +QtDBus.QDBusMessage.swap?4(QDBusMessage) +QtDBus.QDBusMessage.createTargetedSignal?4(QString, QString, QString, QString) -> QDBusMessage +QtDBus.QDBusMessage.setInteractiveAuthorizationAllowed?4(bool) +QtDBus.QDBusMessage.isInteractiveAuthorizationAllowed?4() -> bool +QtDBus.QDBusPendingCall?1(QDBusPendingCall) +QtDBus.QDBusPendingCall.__init__?1(self, QDBusPendingCall) +QtDBus.QDBusPendingCall.fromError?4(QDBusError) -> QDBusPendingCall +QtDBus.QDBusPendingCall.fromCompletedCall?4(QDBusMessage) -> QDBusPendingCall +QtDBus.QDBusPendingCall.swap?4(QDBusPendingCall) +QtDBus.QDBusPendingCallWatcher?1(QDBusPendingCall, QObject parent=None) +QtDBus.QDBusPendingCallWatcher.__init__?1(self, QDBusPendingCall, QObject parent=None) +QtDBus.QDBusPendingCallWatcher.isFinished?4() -> bool +QtDBus.QDBusPendingCallWatcher.waitForFinished?4() +QtDBus.QDBusPendingCallWatcher.finished?4(QDBusPendingCallWatcher watcher=None) +QtDBus.QDBusServiceWatcher.WatchModeFlag?10 +QtDBus.QDBusServiceWatcher.WatchModeFlag.WatchForRegistration?10 +QtDBus.QDBusServiceWatcher.WatchModeFlag.WatchForUnregistration?10 +QtDBus.QDBusServiceWatcher.WatchModeFlag.WatchForOwnerChange?10 +QtDBus.QDBusServiceWatcher?1(QObject parent=None) +QtDBus.QDBusServiceWatcher.__init__?1(self, QObject parent=None) +QtDBus.QDBusServiceWatcher?1(QString, QDBusConnection, QDBusServiceWatcher.WatchMode watchMode=QDBusServiceWatcher.WatchForOwnerChange, QObject parent=None) +QtDBus.QDBusServiceWatcher.__init__?1(self, QString, QDBusConnection, QDBusServiceWatcher.WatchMode watchMode=QDBusServiceWatcher.WatchForOwnerChange, QObject parent=None) +QtDBus.QDBusServiceWatcher.watchedServices?4() -> QStringList +QtDBus.QDBusServiceWatcher.setWatchedServices?4(QStringList) +QtDBus.QDBusServiceWatcher.addWatchedService?4(QString) +QtDBus.QDBusServiceWatcher.removeWatchedService?4(QString) -> bool +QtDBus.QDBusServiceWatcher.watchMode?4() -> QDBusServiceWatcher.WatchMode +QtDBus.QDBusServiceWatcher.setWatchMode?4(QDBusServiceWatcher.WatchMode) +QtDBus.QDBusServiceWatcher.connection?4() -> QDBusConnection +QtDBus.QDBusServiceWatcher.setConnection?4(QDBusConnection) +QtDBus.QDBusServiceWatcher.serviceRegistered?4(QString) +QtDBus.QDBusServiceWatcher.serviceUnregistered?4(QString) +QtDBus.QDBusServiceWatcher.serviceOwnerChanged?4(QString, QString, QString) +QtDBus.QDBusServiceWatcher.WatchMode?1() +QtDBus.QDBusServiceWatcher.WatchMode.__init__?1(self) +QtDBus.QDBusServiceWatcher.WatchMode?1(int) +QtDBus.QDBusServiceWatcher.WatchMode.__init__?1(self, int) +QtDBus.QDBusServiceWatcher.WatchMode?1(QDBusServiceWatcher.WatchMode) +QtDBus.QDBusServiceWatcher.WatchMode.__init__?1(self, QDBusServiceWatcher.WatchMode) +QtDBus.QDBusUnixFileDescriptor?1() +QtDBus.QDBusUnixFileDescriptor.__init__?1(self) +QtDBus.QDBusUnixFileDescriptor?1(int) +QtDBus.QDBusUnixFileDescriptor.__init__?1(self, int) +QtDBus.QDBusUnixFileDescriptor?1(QDBusUnixFileDescriptor) +QtDBus.QDBusUnixFileDescriptor.__init__?1(self, QDBusUnixFileDescriptor) +QtDBus.QDBusUnixFileDescriptor.isValid?4() -> bool +QtDBus.QDBusUnixFileDescriptor.fileDescriptor?4() -> int +QtDBus.QDBusUnixFileDescriptor.setFileDescriptor?4(int) +QtDBus.QDBusUnixFileDescriptor.isSupported?4() -> bool +QtDBus.QDBusUnixFileDescriptor.swap?4(QDBusUnixFileDescriptor) +QtDBus.QDBusPendingReply?1() +QtDBus.QDBusPendingReply.__init__?1(self) +QtDBus.QDBusPendingReply?1(QDBusPendingReply) +QtDBus.QDBusPendingReply.__init__?1(self, QDBusPendingReply) +QtDBus.QDBusPendingReply?1(QDBusPendingCall) +QtDBus.QDBusPendingReply.__init__?1(self, QDBusPendingCall) +QtDBus.QDBusPendingReply?1(QDBusMessage) +QtDBus.QDBusPendingReply.__init__?1(self, QDBusMessage) +QtDBus.QDBusPendingReply.argumentAt?4(int) -> QVariant +QtDBus.QDBusPendingReply.error?4() -> QDBusError +QtDBus.QDBusPendingReply.isError?4() -> bool +QtDBus.QDBusPendingReply.isFinished?4() -> bool +QtDBus.QDBusPendingReply.isValid?4() -> bool +QtDBus.QDBusPendingReply.reply?4() -> QDBusMessage +QtDBus.QDBusPendingReply.waitForFinished?4() +QtDBus.QDBusPendingReply.value?4(object type=None) -> object +QtDBus.QDBusReply?1(QDBusMessage) +QtDBus.QDBusReply.__init__?1(self, QDBusMessage) +QtDBus.QDBusReply?1(QDBusPendingCall) +QtDBus.QDBusReply.__init__?1(self, QDBusPendingCall) +QtDBus.QDBusReply?1(QDBusError) +QtDBus.QDBusReply.__init__?1(self, QDBusError) +QtDBus.QDBusReply?1(QDBusReply) +QtDBus.QDBusReply.__init__?1(self, QDBusReply) +QtDBus.QDBusReply.error?4() -> QDBusError +QtDBus.QDBusReply.isValid?4() -> bool +QtDBus.QDBusReply.value?4(object type=None) -> object +QtDesigner.QDesignerActionEditorInterface?1(QWidget, Qt.WindowFlags flags=0) +QtDesigner.QDesignerActionEditorInterface.__init__?1(self, QWidget, Qt.WindowFlags flags=0) +QtDesigner.QDesignerActionEditorInterface.core?4() -> QDesignerFormEditorInterface +QtDesigner.QDesignerActionEditorInterface.manageAction?4(QAction) +QtDesigner.QDesignerActionEditorInterface.unmanageAction?4(QAction) +QtDesigner.QDesignerActionEditorInterface.setFormWindow?4(QDesignerFormWindowInterface) +QtDesigner.QAbstractFormBuilder?1() +QtDesigner.QAbstractFormBuilder.__init__?1(self) +QtDesigner.QAbstractFormBuilder.load?4(QIODevice, QWidget parent=None) -> QWidget +QtDesigner.QAbstractFormBuilder.save?4(QIODevice, QWidget) +QtDesigner.QAbstractFormBuilder.setWorkingDirectory?4(QDir) +QtDesigner.QAbstractFormBuilder.workingDirectory?4() -> QDir +QtDesigner.QAbstractFormBuilder.errorString?4() -> QString +QtDesigner.QDesignerFormEditorInterface?1(QObject parent=None) +QtDesigner.QDesignerFormEditorInterface.__init__?1(self, QObject parent=None) +QtDesigner.QDesignerFormEditorInterface.extensionManager?4() -> QExtensionManager +QtDesigner.QDesignerFormEditorInterface.topLevel?4() -> QWidget +QtDesigner.QDesignerFormEditorInterface.widgetBox?4() -> QDesignerWidgetBoxInterface +QtDesigner.QDesignerFormEditorInterface.propertyEditor?4() -> QDesignerPropertyEditorInterface +QtDesigner.QDesignerFormEditorInterface.objectInspector?4() -> QDesignerObjectInspectorInterface +QtDesigner.QDesignerFormEditorInterface.formWindowManager?4() -> QDesignerFormWindowManagerInterface +QtDesigner.QDesignerFormEditorInterface.actionEditor?4() -> QDesignerActionEditorInterface +QtDesigner.QDesignerFormEditorInterface.setWidgetBox?4(QDesignerWidgetBoxInterface) +QtDesigner.QDesignerFormEditorInterface.setPropertyEditor?4(QDesignerPropertyEditorInterface) +QtDesigner.QDesignerFormEditorInterface.setObjectInspector?4(QDesignerObjectInspectorInterface) +QtDesigner.QDesignerFormEditorInterface.setActionEditor?4(QDesignerActionEditorInterface) +QtDesigner.QDesignerFormWindowInterface.FeatureFlag?10 +QtDesigner.QDesignerFormWindowInterface.FeatureFlag.EditFeature?10 +QtDesigner.QDesignerFormWindowInterface.FeatureFlag.GridFeature?10 +QtDesigner.QDesignerFormWindowInterface.FeatureFlag.TabOrderFeature?10 +QtDesigner.QDesignerFormWindowInterface.FeatureFlag.DefaultFeature?10 +QtDesigner.QDesignerFormWindowInterface?1(QWidget parent=None, Qt.WindowFlags flags=0) +QtDesigner.QDesignerFormWindowInterface.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=0) +QtDesigner.QDesignerFormWindowInterface.fileName?4() -> QString +QtDesigner.QDesignerFormWindowInterface.absoluteDir?4() -> QDir +QtDesigner.QDesignerFormWindowInterface.contents?4() -> QString +QtDesigner.QDesignerFormWindowInterface.setContents?4(QIODevice, QString errorMessage='') -> bool +QtDesigner.QDesignerFormWindowInterface.features?4() -> QDesignerFormWindowInterface.Feature +QtDesigner.QDesignerFormWindowInterface.hasFeature?4(QDesignerFormWindowInterface.Feature) -> bool +QtDesigner.QDesignerFormWindowInterface.author?4() -> QString +QtDesigner.QDesignerFormWindowInterface.setAuthor?4(QString) +QtDesigner.QDesignerFormWindowInterface.comment?4() -> QString +QtDesigner.QDesignerFormWindowInterface.setComment?4(QString) +QtDesigner.QDesignerFormWindowInterface.layoutDefault?4() -> (int, int) +QtDesigner.QDesignerFormWindowInterface.setLayoutDefault?4(int, int) +QtDesigner.QDesignerFormWindowInterface.layoutFunction?4() -> (QString, QString) +QtDesigner.QDesignerFormWindowInterface.setLayoutFunction?4(QString, QString) +QtDesigner.QDesignerFormWindowInterface.pixmapFunction?4() -> QString +QtDesigner.QDesignerFormWindowInterface.setPixmapFunction?4(QString) +QtDesigner.QDesignerFormWindowInterface.exportMacro?4() -> QString +QtDesigner.QDesignerFormWindowInterface.setExportMacro?4(QString) +QtDesigner.QDesignerFormWindowInterface.includeHints?4() -> QStringList +QtDesigner.QDesignerFormWindowInterface.setIncludeHints?4(QStringList) +QtDesigner.QDesignerFormWindowInterface.core?4() -> QDesignerFormEditorInterface +QtDesigner.QDesignerFormWindowInterface.cursor?4() -> QDesignerFormWindowCursorInterface +QtDesigner.QDesignerFormWindowInterface.grid?4() -> QPoint +QtDesigner.QDesignerFormWindowInterface.mainContainer?4() -> QWidget +QtDesigner.QDesignerFormWindowInterface.setMainContainer?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.isManaged?4(QWidget) -> bool +QtDesigner.QDesignerFormWindowInterface.isDirty?4() -> bool +QtDesigner.QDesignerFormWindowInterface.findFormWindow?4(QWidget) -> QDesignerFormWindowInterface +QtDesigner.QDesignerFormWindowInterface.findFormWindow?4(QObject) -> QDesignerFormWindowInterface +QtDesigner.QDesignerFormWindowInterface.emitSelectionChanged?4() +QtDesigner.QDesignerFormWindowInterface.resourceFiles?4() -> QStringList +QtDesigner.QDesignerFormWindowInterface.addResourceFile?4(QString) +QtDesigner.QDesignerFormWindowInterface.removeResourceFile?4(QString) +QtDesigner.QDesignerFormWindowInterface.manageWidget?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.unmanageWidget?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.setFeatures?4(QDesignerFormWindowInterface.Feature) +QtDesigner.QDesignerFormWindowInterface.setDirty?4(bool) +QtDesigner.QDesignerFormWindowInterface.clearSelection?4(bool update=True) +QtDesigner.QDesignerFormWindowInterface.selectWidget?4(QWidget, bool select=True) +QtDesigner.QDesignerFormWindowInterface.setGrid?4(QPoint) +QtDesigner.QDesignerFormWindowInterface.setFileName?4(QString) +QtDesigner.QDesignerFormWindowInterface.setContents?4(QString) -> bool +QtDesigner.QDesignerFormWindowInterface.mainContainerChanged?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.fileNameChanged?4(QString) +QtDesigner.QDesignerFormWindowInterface.featureChanged?4(QDesignerFormWindowInterface.Feature) +QtDesigner.QDesignerFormWindowInterface.selectionChanged?4() +QtDesigner.QDesignerFormWindowInterface.geometryChanged?4() +QtDesigner.QDesignerFormWindowInterface.resourceFilesChanged?4() +QtDesigner.QDesignerFormWindowInterface.widgetManaged?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.widgetUnmanaged?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.aboutToUnmanageWidget?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.activated?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.changed?4() +QtDesigner.QDesignerFormWindowInterface.widgetRemoved?4(QWidget) +QtDesigner.QDesignerFormWindowInterface.objectRemoved?4(QObject) +QtDesigner.QDesignerFormWindowInterface.checkContents?4() -> QStringList +QtDesigner.QDesignerFormWindowInterface.activeResourceFilePaths?4() -> QStringList +QtDesigner.QDesignerFormWindowInterface.formContainer?4() -> QWidget +QtDesigner.QDesignerFormWindowInterface.activateResourceFilePaths?4(QStringList) -> (int, QString) +QtDesigner.QDesignerFormWindowInterface.Feature?1() +QtDesigner.QDesignerFormWindowInterface.Feature.__init__?1(self) +QtDesigner.QDesignerFormWindowInterface.Feature?1(int) +QtDesigner.QDesignerFormWindowInterface.Feature.__init__?1(self, int) +QtDesigner.QDesignerFormWindowInterface.Feature?1(QDesignerFormWindowInterface.Feature) +QtDesigner.QDesignerFormWindowInterface.Feature.__init__?1(self, QDesignerFormWindowInterface.Feature) +QtDesigner.QDesignerFormWindowCursorInterface.MoveMode?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveMode.MoveAnchor?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveMode.KeepAnchor?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.NoMove?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.Start?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.End?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.Next?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.Prev?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.Left?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.Right?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.Up?10 +QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation.Down?10 +QtDesigner.QDesignerFormWindowCursorInterface?1() +QtDesigner.QDesignerFormWindowCursorInterface.__init__?1(self) +QtDesigner.QDesignerFormWindowCursorInterface?1(QDesignerFormWindowCursorInterface) +QtDesigner.QDesignerFormWindowCursorInterface.__init__?1(self, QDesignerFormWindowCursorInterface) +QtDesigner.QDesignerFormWindowCursorInterface.formWindow?4() -> QDesignerFormWindowInterface +QtDesigner.QDesignerFormWindowCursorInterface.movePosition?4(QDesignerFormWindowCursorInterface.MoveOperation, QDesignerFormWindowCursorInterface.MoveMode mode=QDesignerFormWindowCursorInterface.MoveAnchor) -> bool +QtDesigner.QDesignerFormWindowCursorInterface.position?4() -> int +QtDesigner.QDesignerFormWindowCursorInterface.setPosition?4(int, QDesignerFormWindowCursorInterface.MoveMode mode=QDesignerFormWindowCursorInterface.MoveAnchor) +QtDesigner.QDesignerFormWindowCursorInterface.current?4() -> QWidget +QtDesigner.QDesignerFormWindowCursorInterface.widgetCount?4() -> int +QtDesigner.QDesignerFormWindowCursorInterface.widget?4(int) -> QWidget +QtDesigner.QDesignerFormWindowCursorInterface.hasSelection?4() -> bool +QtDesigner.QDesignerFormWindowCursorInterface.selectedWidgetCount?4() -> int +QtDesigner.QDesignerFormWindowCursorInterface.selectedWidget?4(int) -> QWidget +QtDesigner.QDesignerFormWindowCursorInterface.setProperty?4(QString, QVariant) +QtDesigner.QDesignerFormWindowCursorInterface.setWidgetProperty?4(QWidget, QString, QVariant) +QtDesigner.QDesignerFormWindowCursorInterface.resetWidgetProperty?4(QWidget, QString) +QtDesigner.QDesignerFormWindowCursorInterface.isWidgetSelected?4(QWidget) -> bool +QtDesigner.QDesignerFormWindowManagerInterface.ActionGroup?10 +QtDesigner.QDesignerFormWindowManagerInterface.ActionGroup.StyledPreviewActionGroup?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.CutAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.CopyAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.PasteAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.DeleteAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.SelectAllAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.LowerAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.RaiseAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.UndoAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.RedoAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.HorizontalLayoutAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.VerticalLayoutAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.SplitHorizontalAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.SplitVerticalAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.GridLayoutAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.FormLayoutAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.BreakLayoutAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.AdjustSizeAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.SimplifyLayoutAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.DefaultPreviewAction?10 +QtDesigner.QDesignerFormWindowManagerInterface.Action.FormWindowSettingsDialogAction?10 +QtDesigner.QDesignerFormWindowManagerInterface?1(QObject parent=None) +QtDesigner.QDesignerFormWindowManagerInterface.__init__?1(self, QObject parent=None) +QtDesigner.QDesignerFormWindowManagerInterface.actionFormLayout?4() -> QAction +QtDesigner.QDesignerFormWindowManagerInterface.actionSimplifyLayout?4() -> QAction +QtDesigner.QDesignerFormWindowManagerInterface.activeFormWindow?4() -> QDesignerFormWindowInterface +QtDesigner.QDesignerFormWindowManagerInterface.formWindowCount?4() -> int +QtDesigner.QDesignerFormWindowManagerInterface.formWindow?4(int) -> QDesignerFormWindowInterface +QtDesigner.QDesignerFormWindowManagerInterface.createFormWindow?4(QWidget parent=None, Qt.WindowFlags flags=0) -> QDesignerFormWindowInterface +QtDesigner.QDesignerFormWindowManagerInterface.core?4() -> QDesignerFormEditorInterface +QtDesigner.QDesignerFormWindowManagerInterface.formWindowAdded?4(QDesignerFormWindowInterface) +QtDesigner.QDesignerFormWindowManagerInterface.formWindowRemoved?4(QDesignerFormWindowInterface) +QtDesigner.QDesignerFormWindowManagerInterface.activeFormWindowChanged?4(QDesignerFormWindowInterface) +QtDesigner.QDesignerFormWindowManagerInterface.formWindowSettingsChanged?4(QDesignerFormWindowInterface) +QtDesigner.QDesignerFormWindowManagerInterface.addFormWindow?4(QDesignerFormWindowInterface) +QtDesigner.QDesignerFormWindowManagerInterface.removeFormWindow?4(QDesignerFormWindowInterface) +QtDesigner.QDesignerFormWindowManagerInterface.setActiveFormWindow?4(QDesignerFormWindowInterface) +QtDesigner.QDesignerFormWindowManagerInterface.action?4(QDesignerFormWindowManagerInterface.Action) -> QAction +QtDesigner.QDesignerFormWindowManagerInterface.actionGroup?4(QDesignerFormWindowManagerInterface.ActionGroup) -> QActionGroup +QtDesigner.QDesignerFormWindowManagerInterface.showPreview?4() +QtDesigner.QDesignerFormWindowManagerInterface.closeAllPreviews?4() +QtDesigner.QDesignerFormWindowManagerInterface.showPluginDialog?4() +QtDesigner.QDesignerObjectInspectorInterface?1(QWidget, Qt.WindowFlags flags=0) +QtDesigner.QDesignerObjectInspectorInterface.__init__?1(self, QWidget, Qt.WindowFlags flags=0) +QtDesigner.QDesignerObjectInspectorInterface.core?4() -> QDesignerFormEditorInterface +QtDesigner.QDesignerObjectInspectorInterface.setFormWindow?4(QDesignerFormWindowInterface) +QtDesigner.QDesignerPropertyEditorInterface?1(QWidget, Qt.WindowFlags flags=0) +QtDesigner.QDesignerPropertyEditorInterface.__init__?1(self, QWidget, Qt.WindowFlags flags=0) +QtDesigner.QDesignerPropertyEditorInterface.core?4() -> QDesignerFormEditorInterface +QtDesigner.QDesignerPropertyEditorInterface.isReadOnly?4() -> bool +QtDesigner.QDesignerPropertyEditorInterface.object?4() -> QObject +QtDesigner.QDesignerPropertyEditorInterface.currentPropertyName?4() -> QString +QtDesigner.QDesignerPropertyEditorInterface.propertyChanged?4(QString, QVariant) +QtDesigner.QDesignerPropertyEditorInterface.setObject?4(QObject) +QtDesigner.QDesignerPropertyEditorInterface.setPropertyValue?4(QString, QVariant, bool changed=True) +QtDesigner.QDesignerPropertyEditorInterface.setReadOnly?4(bool) +QtDesigner.QDesignerWidgetBoxInterface?1(QWidget parent=None, Qt.WindowFlags flags=0) +QtDesigner.QDesignerWidgetBoxInterface.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=0) +QtDesigner.QDesignerWidgetBoxInterface.setFileName?4(QString) +QtDesigner.QDesignerWidgetBoxInterface.fileName?4() -> QString +QtDesigner.QDesignerWidgetBoxInterface.load?4() -> bool +QtDesigner.QDesignerWidgetBoxInterface.save?4() -> bool +QtDesigner.QDesignerContainerExtension?1() +QtDesigner.QDesignerContainerExtension.__init__?1(self) +QtDesigner.QDesignerContainerExtension?1(QDesignerContainerExtension) +QtDesigner.QDesignerContainerExtension.__init__?1(self, QDesignerContainerExtension) +QtDesigner.QDesignerContainerExtension.count?4() -> int +QtDesigner.QDesignerContainerExtension.widget?4(int) -> QWidget +QtDesigner.QDesignerContainerExtension.currentIndex?4() -> int +QtDesigner.QDesignerContainerExtension.setCurrentIndex?4(int) +QtDesigner.QDesignerContainerExtension.addWidget?4(QWidget) +QtDesigner.QDesignerContainerExtension.insertWidget?4(int, QWidget) +QtDesigner.QDesignerContainerExtension.remove?4(int) +QtDesigner.QDesignerContainerExtension.canAddWidget?4() -> bool +QtDesigner.QDesignerContainerExtension.canRemove?4(int) -> bool +QtDesigner.QDesignerCustomWidgetInterface?1() +QtDesigner.QDesignerCustomWidgetInterface.__init__?1(self) +QtDesigner.QDesignerCustomWidgetInterface?1(QDesignerCustomWidgetInterface) +QtDesigner.QDesignerCustomWidgetInterface.__init__?1(self, QDesignerCustomWidgetInterface) +QtDesigner.QDesignerCustomWidgetInterface.name?4() -> QString +QtDesigner.QDesignerCustomWidgetInterface.group?4() -> QString +QtDesigner.QDesignerCustomWidgetInterface.toolTip?4() -> QString +QtDesigner.QDesignerCustomWidgetInterface.whatsThis?4() -> QString +QtDesigner.QDesignerCustomWidgetInterface.includeFile?4() -> QString +QtDesigner.QDesignerCustomWidgetInterface.icon?4() -> QIcon +QtDesigner.QDesignerCustomWidgetInterface.isContainer?4() -> bool +QtDesigner.QDesignerCustomWidgetInterface.createWidget?4(QWidget) -> QWidget +QtDesigner.QDesignerCustomWidgetInterface.isInitialized?4() -> bool +QtDesigner.QDesignerCustomWidgetInterface.initialize?4(QDesignerFormEditorInterface) +QtDesigner.QDesignerCustomWidgetInterface.domXml?4() -> QString +QtDesigner.QDesignerCustomWidgetInterface.codeTemplate?4() -> QString +QtDesigner.QDesignerCustomWidgetCollectionInterface?1() +QtDesigner.QDesignerCustomWidgetCollectionInterface.__init__?1(self) +QtDesigner.QDesignerCustomWidgetCollectionInterface?1(QDesignerCustomWidgetCollectionInterface) +QtDesigner.QDesignerCustomWidgetCollectionInterface.__init__?1(self, QDesignerCustomWidgetCollectionInterface) +QtDesigner.QDesignerCustomWidgetCollectionInterface.customWidgets?4() -> unknown-type +QtDesigner.QAbstractExtensionFactory?1() +QtDesigner.QAbstractExtensionFactory.__init__?1(self) +QtDesigner.QAbstractExtensionFactory?1(QAbstractExtensionFactory) +QtDesigner.QAbstractExtensionFactory.__init__?1(self, QAbstractExtensionFactory) +QtDesigner.QAbstractExtensionFactory.extension?4(QObject, QString) -> QObject +QtDesigner.QExtensionFactory?1(QExtensionManager parent=None) +QtDesigner.QExtensionFactory.__init__?1(self, QExtensionManager parent=None) +QtDesigner.QExtensionFactory.extension?4(QObject, QString) -> QObject +QtDesigner.QExtensionFactory.extensionManager?4() -> QExtensionManager +QtDesigner.QExtensionFactory.createExtension?4(QObject, QString, QObject) -> QObject +QtDesigner.QAbstractExtensionManager?1() +QtDesigner.QAbstractExtensionManager.__init__?1(self) +QtDesigner.QAbstractExtensionManager?1(QAbstractExtensionManager) +QtDesigner.QAbstractExtensionManager.__init__?1(self, QAbstractExtensionManager) +QtDesigner.QAbstractExtensionManager.registerExtensions?4(QAbstractExtensionFactory, QString) +QtDesigner.QAbstractExtensionManager.unregisterExtensions?4(QAbstractExtensionFactory, QString) +QtDesigner.QAbstractExtensionManager.extension?4(QObject, QString) -> QObject +QtDesigner.QFormBuilder?1() +QtDesigner.QFormBuilder.__init__?1(self) +QtDesigner.QFormBuilder.pluginPaths?4() -> QStringList +QtDesigner.QFormBuilder.clearPluginPaths?4() +QtDesigner.QFormBuilder.addPluginPath?4(QString) +QtDesigner.QFormBuilder.setPluginPath?4(QStringList) +QtDesigner.QFormBuilder.customWidgets?4() -> unknown-type +QtDesigner.QDesignerMemberSheetExtension?1() +QtDesigner.QDesignerMemberSheetExtension.__init__?1(self) +QtDesigner.QDesignerMemberSheetExtension?1(QDesignerMemberSheetExtension) +QtDesigner.QDesignerMemberSheetExtension.__init__?1(self, QDesignerMemberSheetExtension) +QtDesigner.QDesignerMemberSheetExtension.count?4() -> int +QtDesigner.QDesignerMemberSheetExtension.indexOf?4(QString) -> int +QtDesigner.QDesignerMemberSheetExtension.memberName?4(int) -> QString +QtDesigner.QDesignerMemberSheetExtension.memberGroup?4(int) -> QString +QtDesigner.QDesignerMemberSheetExtension.setMemberGroup?4(int, QString) +QtDesigner.QDesignerMemberSheetExtension.isVisible?4(int) -> bool +QtDesigner.QDesignerMemberSheetExtension.setVisible?4(int, bool) +QtDesigner.QDesignerMemberSheetExtension.isSignal?4(int) -> bool +QtDesigner.QDesignerMemberSheetExtension.isSlot?4(int) -> bool +QtDesigner.QDesignerMemberSheetExtension.inheritedFromWidget?4(int) -> bool +QtDesigner.QDesignerMemberSheetExtension.declaredInClass?4(int) -> QString +QtDesigner.QDesignerMemberSheetExtension.signature?4(int) -> QString +QtDesigner.QDesignerMemberSheetExtension.parameterTypes?4(int) -> unknown-type +QtDesigner.QDesignerMemberSheetExtension.parameterNames?4(int) -> unknown-type +QtDesigner.QDesignerPropertySheetExtension?1() +QtDesigner.QDesignerPropertySheetExtension.__init__?1(self) +QtDesigner.QDesignerPropertySheetExtension?1(QDesignerPropertySheetExtension) +QtDesigner.QDesignerPropertySheetExtension.__init__?1(self, QDesignerPropertySheetExtension) +QtDesigner.QDesignerPropertySheetExtension.count?4() -> int +QtDesigner.QDesignerPropertySheetExtension.indexOf?4(QString) -> int +QtDesigner.QDesignerPropertySheetExtension.propertyName?4(int) -> QString +QtDesigner.QDesignerPropertySheetExtension.propertyGroup?4(int) -> QString +QtDesigner.QDesignerPropertySheetExtension.setPropertyGroup?4(int, QString) +QtDesigner.QDesignerPropertySheetExtension.hasReset?4(int) -> bool +QtDesigner.QDesignerPropertySheetExtension.reset?4(int) -> bool +QtDesigner.QDesignerPropertySheetExtension.isVisible?4(int) -> bool +QtDesigner.QDesignerPropertySheetExtension.setVisible?4(int, bool) +QtDesigner.QDesignerPropertySheetExtension.isAttribute?4(int) -> bool +QtDesigner.QDesignerPropertySheetExtension.setAttribute?4(int, bool) +QtDesigner.QDesignerPropertySheetExtension.property?4(int) -> QVariant +QtDesigner.QDesignerPropertySheetExtension.setProperty?4(int, QVariant) +QtDesigner.QDesignerPropertySheetExtension.isChanged?4(int) -> bool +QtDesigner.QDesignerPropertySheetExtension.setChanged?4(int, bool) +QtDesigner.QDesignerPropertySheetExtension.isEnabled?4(int) -> bool +QtDesigner.QExtensionManager?1(QObject parent=None) +QtDesigner.QExtensionManager.__init__?1(self, QObject parent=None) +QtDesigner.QExtensionManager.registerExtensions?4(QAbstractExtensionFactory, QString iid='') +QtDesigner.QExtensionManager.unregisterExtensions?4(QAbstractExtensionFactory, QString iid='') +QtDesigner.QExtensionManager.extension?4(QObject, QString) -> QObject +QtDesigner.QDesignerTaskMenuExtension?1() +QtDesigner.QDesignerTaskMenuExtension.__init__?1(self) +QtDesigner.QDesignerTaskMenuExtension?1(QDesignerTaskMenuExtension) +QtDesigner.QDesignerTaskMenuExtension.__init__?1(self, QDesignerTaskMenuExtension) +QtDesigner.QDesignerTaskMenuExtension.taskActions?4() -> unknown-type +QtDesigner.QDesignerTaskMenuExtension.preferredEditAction?4() -> QAction +QtDesigner.QPyDesignerContainerExtension?1(QObject) +QtDesigner.QPyDesignerContainerExtension.__init__?1(self, QObject) +QtDesigner.QPyDesignerCustomWidgetCollectionPlugin?1(QObject parent=None) +QtDesigner.QPyDesignerCustomWidgetCollectionPlugin.__init__?1(self, QObject parent=None) +QtDesigner.QPyDesignerCustomWidgetPlugin?1(QObject parent=None) +QtDesigner.QPyDesignerCustomWidgetPlugin.__init__?1(self, QObject parent=None) +QtDesigner.QPyDesignerMemberSheetExtension?1(QObject) +QtDesigner.QPyDesignerMemberSheetExtension.__init__?1(self, QObject) +QtDesigner.QPyDesignerPropertySheetExtension?1(QObject) +QtDesigner.QPyDesignerPropertySheetExtension.__init__?1(self, QObject) +QtDesigner.QPyDesignerTaskMenuExtension?1(QObject) +QtDesigner.QPyDesignerTaskMenuExtension.__init__?1(self, QObject) +QtHelp.QCompressedHelpInfo?1() +QtHelp.QCompressedHelpInfo.__init__?1(self) +QtHelp.QCompressedHelpInfo?1(QCompressedHelpInfo) +QtHelp.QCompressedHelpInfo.__init__?1(self, QCompressedHelpInfo) +QtHelp.QCompressedHelpInfo.swap?4(QCompressedHelpInfo) +QtHelp.QCompressedHelpInfo.namespaceName?4() -> QString +QtHelp.QCompressedHelpInfo.component?4() -> QString +QtHelp.QCompressedHelpInfo.version?4() -> QVersionNumber +QtHelp.QCompressedHelpInfo.fromCompressedHelpFile?4(QString) -> QCompressedHelpInfo +QtHelp.QCompressedHelpInfo.isNull?4() -> bool +QtHelp.QHelpContentItem.child?4(int) -> QHelpContentItem +QtHelp.QHelpContentItem.childCount?4() -> int +QtHelp.QHelpContentItem.title?4() -> QString +QtHelp.QHelpContentItem.url?4() -> QUrl +QtHelp.QHelpContentItem.row?4() -> int +QtHelp.QHelpContentItem.parent?4() -> QHelpContentItem +QtHelp.QHelpContentItem.childPosition?4(QHelpContentItem) -> int +QtHelp.QHelpContentModel.createContents?4(QString) +QtHelp.QHelpContentModel.contentItemAt?4(QModelIndex) -> QHelpContentItem +QtHelp.QHelpContentModel.data?4(QModelIndex, int) -> QVariant +QtHelp.QHelpContentModel.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtHelp.QHelpContentModel.parent?4(QModelIndex) -> QModelIndex +QtHelp.QHelpContentModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtHelp.QHelpContentModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtHelp.QHelpContentModel.isCreatingContents?4() -> bool +QtHelp.QHelpContentModel.contentsCreationStarted?4() +QtHelp.QHelpContentModel.contentsCreated?4() +QtHelp.QHelpContentWidget.indexOf?4(QUrl) -> QModelIndex +QtHelp.QHelpContentWidget.linkActivated?4(QUrl) +QtHelp.QHelpEngineCore?1(QString, QObject parent=None) +QtHelp.QHelpEngineCore.__init__?1(self, QString, QObject parent=None) +QtHelp.QHelpEngineCore.setupData?4() -> bool +QtHelp.QHelpEngineCore.collectionFile?4() -> QString +QtHelp.QHelpEngineCore.setCollectionFile?4(QString) +QtHelp.QHelpEngineCore.copyCollectionFile?4(QString) -> bool +QtHelp.QHelpEngineCore.namespaceName?4(QString) -> QString +QtHelp.QHelpEngineCore.registerDocumentation?4(QString) -> bool +QtHelp.QHelpEngineCore.unregisterDocumentation?4(QString) -> bool +QtHelp.QHelpEngineCore.documentationFileName?4(QString) -> QString +QtHelp.QHelpEngineCore.customFilters?4() -> QStringList +QtHelp.QHelpEngineCore.removeCustomFilter?4(QString) -> bool +QtHelp.QHelpEngineCore.addCustomFilter?4(QString, QStringList) -> bool +QtHelp.QHelpEngineCore.filterAttributes?4() -> QStringList +QtHelp.QHelpEngineCore.filterAttributes?4(QString) -> QStringList +QtHelp.QHelpEngineCore.currentFilter?4() -> QString +QtHelp.QHelpEngineCore.setCurrentFilter?4(QString) +QtHelp.QHelpEngineCore.registeredDocumentations?4() -> QStringList +QtHelp.QHelpEngineCore.filterAttributeSets?4(QString) -> unknown-type +QtHelp.QHelpEngineCore.files?4(QString, QStringList, QString extensionFilter='') -> unknown-type +QtHelp.QHelpEngineCore.findFile?4(QUrl) -> QUrl +QtHelp.QHelpEngineCore.fileData?4(QUrl) -> QByteArray +QtHelp.QHelpEngineCore.linksForIdentifier?4(QString) -> unknown-type +QtHelp.QHelpEngineCore.linksForKeyword?4(QString) -> unknown-type +QtHelp.QHelpEngineCore.removeCustomValue?4(QString) -> bool +QtHelp.QHelpEngineCore.customValue?4(QString, QVariant defaultValue=None) -> QVariant +QtHelp.QHelpEngineCore.setCustomValue?4(QString, QVariant) -> bool +QtHelp.QHelpEngineCore.metaData?4(QString, QString) -> QVariant +QtHelp.QHelpEngineCore.error?4() -> QString +QtHelp.QHelpEngineCore.autoSaveFilter?4() -> bool +QtHelp.QHelpEngineCore.setAutoSaveFilter?4(bool) +QtHelp.QHelpEngineCore.setupStarted?4() +QtHelp.QHelpEngineCore.setupFinished?4() +QtHelp.QHelpEngineCore.currentFilterChanged?4(QString) +QtHelp.QHelpEngineCore.warning?4(QString) +QtHelp.QHelpEngineCore.readersAboutToBeInvalidated?4() +QtHelp.QHelpEngineCore.filterEngine?4() -> QHelpFilterEngine +QtHelp.QHelpEngineCore.files?4(QString, QString, QString extensionFilter='') -> unknown-type +QtHelp.QHelpEngineCore.setUsesFilterEngine?4(bool) +QtHelp.QHelpEngineCore.usesFilterEngine?4() -> bool +QtHelp.QHelpEngineCore.documentsForIdentifier?4(QString) -> unknown-type +QtHelp.QHelpEngineCore.documentsForIdentifier?4(QString, QString) -> unknown-type +QtHelp.QHelpEngineCore.documentsForKeyword?4(QString) -> unknown-type +QtHelp.QHelpEngineCore.documentsForKeyword?4(QString, QString) -> unknown-type +QtHelp.QHelpEngine?1(QString, QObject parent=None) +QtHelp.QHelpEngine.__init__?1(self, QString, QObject parent=None) +QtHelp.QHelpEngine.contentModel?4() -> QHelpContentModel +QtHelp.QHelpEngine.indexModel?4() -> QHelpIndexModel +QtHelp.QHelpEngine.contentWidget?4() -> QHelpContentWidget +QtHelp.QHelpEngine.indexWidget?4() -> QHelpIndexWidget +QtHelp.QHelpEngine.searchEngine?4() -> QHelpSearchEngine +QtHelp.QHelpFilterData?1() +QtHelp.QHelpFilterData.__init__?1(self) +QtHelp.QHelpFilterData?1(QHelpFilterData) +QtHelp.QHelpFilterData.__init__?1(self, QHelpFilterData) +QtHelp.QHelpFilterData.swap?4(QHelpFilterData) +QtHelp.QHelpFilterData.setComponents?4(QStringList) +QtHelp.QHelpFilterData.setVersions?4(unknown-type) +QtHelp.QHelpFilterData.components?4() -> QStringList +QtHelp.QHelpFilterData.versions?4() -> unknown-type +QtHelp.QHelpFilterEngine.namespaceToComponent?4() -> unknown-type +QtHelp.QHelpFilterEngine.namespaceToVersion?4() -> unknown-type +QtHelp.QHelpFilterEngine.filters?4() -> QStringList +QtHelp.QHelpFilterEngine.activeFilter?4() -> QString +QtHelp.QHelpFilterEngine.setActiveFilter?4(QString) -> bool +QtHelp.QHelpFilterEngine.availableComponents?4() -> QStringList +QtHelp.QHelpFilterEngine.filterData?4(QString) -> QHelpFilterData +QtHelp.QHelpFilterEngine.setFilterData?4(QString, QHelpFilterData) -> bool +QtHelp.QHelpFilterEngine.removeFilter?4(QString) -> bool +QtHelp.QHelpFilterEngine.namespacesForFilter?4(QString) -> QStringList +QtHelp.QHelpFilterEngine.filterActivated?4(QString) +QtHelp.QHelpFilterEngine.availableVersions?4() -> unknown-type +QtHelp.QHelpFilterEngine.indices?4() -> QStringList +QtHelp.QHelpFilterEngine.indices?4(QString) -> QStringList +QtHelp.QHelpFilterSettingsWidget?1(QWidget parent=None) +QtHelp.QHelpFilterSettingsWidget.__init__?1(self, QWidget parent=None) +QtHelp.QHelpFilterSettingsWidget.setAvailableComponents?4(QStringList) +QtHelp.QHelpFilterSettingsWidget.setAvailableVersions?4(unknown-type) +QtHelp.QHelpFilterSettingsWidget.readSettings?4(QHelpFilterEngine) +QtHelp.QHelpFilterSettingsWidget.applySettings?4(QHelpFilterEngine) -> bool +QtHelp.QHelpIndexModel.helpEngine?4() -> QHelpEngineCore +QtHelp.QHelpIndexModel.createIndex?4(QString) +QtHelp.QHelpIndexModel.filter?4(QString, QString wildcard='') -> QModelIndex +QtHelp.QHelpIndexModel.linksForKeyword?4(QString) -> unknown-type +QtHelp.QHelpIndexModel.isCreatingIndex?4() -> bool +QtHelp.QHelpIndexModel.indexCreationStarted?4() +QtHelp.QHelpIndexModel.indexCreated?4() +QtHelp.QHelpIndexWidget.linkActivated?4(QUrl, QString) +QtHelp.QHelpIndexWidget.linksActivated?4(unknown-type, QString) +QtHelp.QHelpIndexWidget.filterIndices?4(QString, QString wildcard='') +QtHelp.QHelpIndexWidget.activateCurrentItem?4() +QtHelp.QHelpIndexWidget.documentActivated?4(QHelpLink, QString) +QtHelp.QHelpIndexWidget.documentsActivated?4(unknown-type, QString) +QtHelp.QHelpLink.title?7 +QtHelp.QHelpLink.url?7 +QtHelp.QHelpLink?1() +QtHelp.QHelpLink.__init__?1(self) +QtHelp.QHelpLink?1(QHelpLink) +QtHelp.QHelpLink.__init__?1(self, QHelpLink) +QtHelp.QHelpSearchQuery.FieldName?10 +QtHelp.QHelpSearchQuery.FieldName.DEFAULT?10 +QtHelp.QHelpSearchQuery.FieldName.FUZZY?10 +QtHelp.QHelpSearchQuery.FieldName.WITHOUT?10 +QtHelp.QHelpSearchQuery.FieldName.PHRASE?10 +QtHelp.QHelpSearchQuery.FieldName.ALL?10 +QtHelp.QHelpSearchQuery.FieldName.ATLEAST?10 +QtHelp.QHelpSearchQuery?1() +QtHelp.QHelpSearchQuery.__init__?1(self) +QtHelp.QHelpSearchQuery?1(QHelpSearchQuery.FieldName, QStringList) +QtHelp.QHelpSearchQuery.__init__?1(self, QHelpSearchQuery.FieldName, QStringList) +QtHelp.QHelpSearchQuery?1(QHelpSearchQuery) +QtHelp.QHelpSearchQuery.__init__?1(self, QHelpSearchQuery) +QtHelp.QHelpSearchEngine?1(QHelpEngineCore, QObject parent=None) +QtHelp.QHelpSearchEngine.__init__?1(self, QHelpEngineCore, QObject parent=None) +QtHelp.QHelpSearchEngine.query?4() -> unknown-type +QtHelp.QHelpSearchEngine.queryWidget?4() -> QHelpSearchQueryWidget +QtHelp.QHelpSearchEngine.resultWidget?4() -> QHelpSearchResultWidget +QtHelp.QHelpSearchEngine.hitCount?4() -> int +QtHelp.QHelpSearchEngine.hits?4(int, int) -> unknown-type +QtHelp.QHelpSearchEngine.reindexDocumentation?4() +QtHelp.QHelpSearchEngine.cancelIndexing?4() +QtHelp.QHelpSearchEngine.search?4(unknown-type) +QtHelp.QHelpSearchEngine.cancelSearching?4() +QtHelp.QHelpSearchEngine.indexingStarted?4() +QtHelp.QHelpSearchEngine.indexingFinished?4() +QtHelp.QHelpSearchEngine.searchingStarted?4() +QtHelp.QHelpSearchEngine.searchingFinished?4(int) +QtHelp.QHelpSearchEngine.searchResultCount?4() -> int +QtHelp.QHelpSearchEngine.searchResults?4(int, int) -> unknown-type +QtHelp.QHelpSearchEngine.searchInput?4() -> QString +QtHelp.QHelpSearchEngine.search?4(QString) +QtHelp.QHelpSearchResult?1() +QtHelp.QHelpSearchResult.__init__?1(self) +QtHelp.QHelpSearchResult?1(QHelpSearchResult) +QtHelp.QHelpSearchResult.__init__?1(self, QHelpSearchResult) +QtHelp.QHelpSearchResult?1(QUrl, QString, QString) +QtHelp.QHelpSearchResult.__init__?1(self, QUrl, QString, QString) +QtHelp.QHelpSearchResult.title?4() -> QString +QtHelp.QHelpSearchResult.url?4() -> QUrl +QtHelp.QHelpSearchResult.snippet?4() -> QString +QtHelp.QHelpSearchQueryWidget?1(QWidget parent=None) +QtHelp.QHelpSearchQueryWidget.__init__?1(self, QWidget parent=None) +QtHelp.QHelpSearchQueryWidget.query?4() -> unknown-type +QtHelp.QHelpSearchQueryWidget.setQuery?4(unknown-type) +QtHelp.QHelpSearchQueryWidget.expandExtendedSearch?4() +QtHelp.QHelpSearchQueryWidget.collapseExtendedSearch?4() +QtHelp.QHelpSearchQueryWidget.search?4() +QtHelp.QHelpSearchQueryWidget.isCompactMode?4() -> bool +QtHelp.QHelpSearchQueryWidget.setCompactMode?4(bool) +QtHelp.QHelpSearchQueryWidget.searchInput?4() -> QString +QtHelp.QHelpSearchQueryWidget.setSearchInput?4(QString) +QtHelp.QHelpSearchResultWidget.linkAt?4(QPoint) -> QUrl +QtHelp.QHelpSearchResultWidget.requestShowLink?4(QUrl) +QtMultimedia.QAbstractVideoBuffer.MapMode?10 +QtMultimedia.QAbstractVideoBuffer.MapMode.NotMapped?10 +QtMultimedia.QAbstractVideoBuffer.MapMode.ReadOnly?10 +QtMultimedia.QAbstractVideoBuffer.MapMode.WriteOnly?10 +QtMultimedia.QAbstractVideoBuffer.MapMode.ReadWrite?10 +QtMultimedia.QAbstractVideoBuffer.HandleType?10 +QtMultimedia.QAbstractVideoBuffer.HandleType.NoHandle?10 +QtMultimedia.QAbstractVideoBuffer.HandleType.GLTextureHandle?10 +QtMultimedia.QAbstractVideoBuffer.HandleType.XvShmImageHandle?10 +QtMultimedia.QAbstractVideoBuffer.HandleType.CoreImageHandle?10 +QtMultimedia.QAbstractVideoBuffer.HandleType.QPixmapHandle?10 +QtMultimedia.QAbstractVideoBuffer.HandleType.EGLImageHandle?10 +QtMultimedia.QAbstractVideoBuffer.HandleType.UserHandle?10 +QtMultimedia.QAbstractVideoBuffer?1(QAbstractVideoBuffer.HandleType) +QtMultimedia.QAbstractVideoBuffer.__init__?1(self, QAbstractVideoBuffer.HandleType) +QtMultimedia.QAbstractVideoBuffer.handleType?4() -> QAbstractVideoBuffer.HandleType +QtMultimedia.QAbstractVideoBuffer.mapMode?4() -> QAbstractVideoBuffer.MapMode +QtMultimedia.QAbstractVideoBuffer.map?4(QAbstractVideoBuffer.MapMode) -> (object, int, int) +QtMultimedia.QAbstractVideoBuffer.unmap?4() +QtMultimedia.QAbstractVideoBuffer.handle?4() -> QVariant +QtMultimedia.QAbstractVideoBuffer.release?4() +QtMultimedia.QVideoFilterRunnable.RunFlag?10 +QtMultimedia.QVideoFilterRunnable.RunFlag.LastInChain?10 +QtMultimedia.QVideoFilterRunnable?1() +QtMultimedia.QVideoFilterRunnable.__init__?1(self) +QtMultimedia.QVideoFilterRunnable?1(QVideoFilterRunnable) +QtMultimedia.QVideoFilterRunnable.__init__?1(self, QVideoFilterRunnable) +QtMultimedia.QVideoFilterRunnable.run?4(QVideoFrame, QVideoSurfaceFormat, QVideoFilterRunnable.RunFlags) -> QVideoFrame +QtMultimedia.QVideoFilterRunnable.RunFlags?1() +QtMultimedia.QVideoFilterRunnable.RunFlags.__init__?1(self) +QtMultimedia.QVideoFilterRunnable.RunFlags?1(int) +QtMultimedia.QVideoFilterRunnable.RunFlags.__init__?1(self, int) +QtMultimedia.QVideoFilterRunnable.RunFlags?1(QVideoFilterRunnable.RunFlags) +QtMultimedia.QVideoFilterRunnable.RunFlags.__init__?1(self, QVideoFilterRunnable.RunFlags) +QtMultimedia.QAbstractVideoFilter?1(QObject parent=None) +QtMultimedia.QAbstractVideoFilter.__init__?1(self, QObject parent=None) +QtMultimedia.QAbstractVideoFilter.isActive?4() -> bool +QtMultimedia.QAbstractVideoFilter.createFilterRunnable?4() -> QVideoFilterRunnable +QtMultimedia.QAbstractVideoFilter.activeChanged?4() +QtMultimedia.QAbstractVideoSurface.Error?10 +QtMultimedia.QAbstractVideoSurface.Error.NoError?10 +QtMultimedia.QAbstractVideoSurface.Error.UnsupportedFormatError?10 +QtMultimedia.QAbstractVideoSurface.Error.IncorrectFormatError?10 +QtMultimedia.QAbstractVideoSurface.Error.StoppedError?10 +QtMultimedia.QAbstractVideoSurface.Error.ResourceError?10 +QtMultimedia.QAbstractVideoSurface?1(QObject parent=None) +QtMultimedia.QAbstractVideoSurface.__init__?1(self, QObject parent=None) +QtMultimedia.QAbstractVideoSurface.supportedPixelFormats?4(QAbstractVideoBuffer.HandleType type=QAbstractVideoBuffer.NoHandle) -> unknown-type +QtMultimedia.QAbstractVideoSurface.isFormatSupported?4(QVideoSurfaceFormat) -> bool +QtMultimedia.QAbstractVideoSurface.nearestFormat?4(QVideoSurfaceFormat) -> QVideoSurfaceFormat +QtMultimedia.QAbstractVideoSurface.surfaceFormat?4() -> QVideoSurfaceFormat +QtMultimedia.QAbstractVideoSurface.start?4(QVideoSurfaceFormat) -> bool +QtMultimedia.QAbstractVideoSurface.stop?4() +QtMultimedia.QAbstractVideoSurface.isActive?4() -> bool +QtMultimedia.QAbstractVideoSurface.present?4(QVideoFrame) -> bool +QtMultimedia.QAbstractVideoSurface.error?4() -> QAbstractVideoSurface.Error +QtMultimedia.QAbstractVideoSurface.activeChanged?4(bool) +QtMultimedia.QAbstractVideoSurface.surfaceFormatChanged?4(QVideoSurfaceFormat) +QtMultimedia.QAbstractVideoSurface.supportedFormatsChanged?4() +QtMultimedia.QAbstractVideoSurface.setError?4(QAbstractVideoSurface.Error) +QtMultimedia.QAbstractVideoSurface.nativeResolution?4() -> QSize +QtMultimedia.QAbstractVideoSurface.setNativeResolution?4(QSize) +QtMultimedia.QAbstractVideoSurface.nativeResolutionChanged?4(QSize) +QtMultimedia.QAudio.VolumeScale?10 +QtMultimedia.QAudio.VolumeScale.LinearVolumeScale?10 +QtMultimedia.QAudio.VolumeScale.CubicVolumeScale?10 +QtMultimedia.QAudio.VolumeScale.LogarithmicVolumeScale?10 +QtMultimedia.QAudio.VolumeScale.DecibelVolumeScale?10 +QtMultimedia.QAudio.Role?10 +QtMultimedia.QAudio.Role.UnknownRole?10 +QtMultimedia.QAudio.Role.MusicRole?10 +QtMultimedia.QAudio.Role.VideoRole?10 +QtMultimedia.QAudio.Role.VoiceCommunicationRole?10 +QtMultimedia.QAudio.Role.AlarmRole?10 +QtMultimedia.QAudio.Role.NotificationRole?10 +QtMultimedia.QAudio.Role.RingtoneRole?10 +QtMultimedia.QAudio.Role.AccessibilityRole?10 +QtMultimedia.QAudio.Role.SonificationRole?10 +QtMultimedia.QAudio.Role.GameRole?10 +QtMultimedia.QAudio.Role.CustomRole?10 +QtMultimedia.QAudio.Mode?10 +QtMultimedia.QAudio.Mode.AudioInput?10 +QtMultimedia.QAudio.Mode.AudioOutput?10 +QtMultimedia.QAudio.State?10 +QtMultimedia.QAudio.State.ActiveState?10 +QtMultimedia.QAudio.State.SuspendedState?10 +QtMultimedia.QAudio.State.StoppedState?10 +QtMultimedia.QAudio.State.IdleState?10 +QtMultimedia.QAudio.State.InterruptedState?10 +QtMultimedia.QAudio.Error?10 +QtMultimedia.QAudio.Error.NoError?10 +QtMultimedia.QAudio.Error.OpenError?10 +QtMultimedia.QAudio.Error.IOError?10 +QtMultimedia.QAudio.Error.UnderrunError?10 +QtMultimedia.QAudio.Error.FatalError?10 +QtMultimedia.QAudio.convertVolume?4(float, QAudio.VolumeScale, QAudio.VolumeScale) -> float +QtMultimedia.QAudioBuffer?1() +QtMultimedia.QAudioBuffer.__init__?1(self) +QtMultimedia.QAudioBuffer?1(QByteArray, QAudioFormat, int startTime=-1) +QtMultimedia.QAudioBuffer.__init__?1(self, QByteArray, QAudioFormat, int startTime=-1) +QtMultimedia.QAudioBuffer?1(int, QAudioFormat, int startTime=-1) +QtMultimedia.QAudioBuffer.__init__?1(self, int, QAudioFormat, int startTime=-1) +QtMultimedia.QAudioBuffer?1(QAudioBuffer) +QtMultimedia.QAudioBuffer.__init__?1(self, QAudioBuffer) +QtMultimedia.QAudioBuffer.isValid?4() -> bool +QtMultimedia.QAudioBuffer.format?4() -> QAudioFormat +QtMultimedia.QAudioBuffer.frameCount?4() -> int +QtMultimedia.QAudioBuffer.sampleCount?4() -> int +QtMultimedia.QAudioBuffer.byteCount?4() -> int +QtMultimedia.QAudioBuffer.duration?4() -> int +QtMultimedia.QAudioBuffer.startTime?4() -> int +QtMultimedia.QAudioBuffer.constData?4() -> sip.voidptr +QtMultimedia.QAudioBuffer.data?4() -> sip.voidptr +QtMultimedia.QMediaObject?1(QObject, QMediaService) +QtMultimedia.QMediaObject.__init__?1(self, QObject, QMediaService) +QtMultimedia.QMediaObject.isAvailable?4() -> bool +QtMultimedia.QMediaObject.availability?4() -> QMultimedia.AvailabilityStatus +QtMultimedia.QMediaObject.service?4() -> QMediaService +QtMultimedia.QMediaObject.notifyInterval?4() -> int +QtMultimedia.QMediaObject.setNotifyInterval?4(int) +QtMultimedia.QMediaObject.bind?4(QObject) -> bool +QtMultimedia.QMediaObject.unbind?4(QObject) +QtMultimedia.QMediaObject.isMetaDataAvailable?4() -> bool +QtMultimedia.QMediaObject.metaData?4(QString) -> QVariant +QtMultimedia.QMediaObject.availableMetaData?4() -> QStringList +QtMultimedia.QMediaObject.notifyIntervalChanged?4(int) +QtMultimedia.QMediaObject.metaDataAvailableChanged?4(bool) +QtMultimedia.QMediaObject.metaDataChanged?4() +QtMultimedia.QMediaObject.metaDataChanged?4(QString, QVariant) +QtMultimedia.QMediaObject.availabilityChanged?4(QMultimedia.AvailabilityStatus) +QtMultimedia.QMediaObject.availabilityChanged?4(bool) +QtMultimedia.QMediaObject.addPropertyWatch?4(QByteArray) +QtMultimedia.QMediaObject.removePropertyWatch?4(QByteArray) +QtMultimedia.QAudioDecoder.Error?10 +QtMultimedia.QAudioDecoder.Error.NoError?10 +QtMultimedia.QAudioDecoder.Error.ResourceError?10 +QtMultimedia.QAudioDecoder.Error.FormatError?10 +QtMultimedia.QAudioDecoder.Error.AccessDeniedError?10 +QtMultimedia.QAudioDecoder.Error.ServiceMissingError?10 +QtMultimedia.QAudioDecoder.State?10 +QtMultimedia.QAudioDecoder.State.StoppedState?10 +QtMultimedia.QAudioDecoder.State.DecodingState?10 +QtMultimedia.QAudioDecoder?1(QObject parent=None) +QtMultimedia.QAudioDecoder.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioDecoder.hasSupport?4(QString, QStringList codecs=[]) -> QMultimedia.SupportEstimate +QtMultimedia.QAudioDecoder.state?4() -> QAudioDecoder.State +QtMultimedia.QAudioDecoder.sourceFilename?4() -> QString +QtMultimedia.QAudioDecoder.setSourceFilename?4(QString) +QtMultimedia.QAudioDecoder.sourceDevice?4() -> QIODevice +QtMultimedia.QAudioDecoder.setSourceDevice?4(QIODevice) +QtMultimedia.QAudioDecoder.audioFormat?4() -> QAudioFormat +QtMultimedia.QAudioDecoder.setAudioFormat?4(QAudioFormat) +QtMultimedia.QAudioDecoder.error?4() -> QAudioDecoder.Error +QtMultimedia.QAudioDecoder.errorString?4() -> QString +QtMultimedia.QAudioDecoder.read?4() -> QAudioBuffer +QtMultimedia.QAudioDecoder.bufferAvailable?4() -> bool +QtMultimedia.QAudioDecoder.position?4() -> int +QtMultimedia.QAudioDecoder.duration?4() -> int +QtMultimedia.QAudioDecoder.start?4() +QtMultimedia.QAudioDecoder.stop?4() +QtMultimedia.QAudioDecoder.bufferAvailableChanged?4(bool) +QtMultimedia.QAudioDecoder.bufferReady?4() +QtMultimedia.QAudioDecoder.finished?4() +QtMultimedia.QAudioDecoder.stateChanged?4(QAudioDecoder.State) +QtMultimedia.QAudioDecoder.formatChanged?4(QAudioFormat) +QtMultimedia.QAudioDecoder.error?4(QAudioDecoder.Error) +QtMultimedia.QAudioDecoder.sourceChanged?4() +QtMultimedia.QAudioDecoder.positionChanged?4(int) +QtMultimedia.QAudioDecoder.durationChanged?4(int) +QtMultimedia.QAudioDecoder.bind?4(QObject) -> bool +QtMultimedia.QAudioDecoder.unbind?4(QObject) +QtMultimedia.QMediaControl?1(QObject parent=None) +QtMultimedia.QMediaControl.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioDecoderControl?1(QObject parent=None) +QtMultimedia.QAudioDecoderControl.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioDecoderControl.state?4() -> QAudioDecoder.State +QtMultimedia.QAudioDecoderControl.sourceFilename?4() -> QString +QtMultimedia.QAudioDecoderControl.setSourceFilename?4(QString) +QtMultimedia.QAudioDecoderControl.sourceDevice?4() -> QIODevice +QtMultimedia.QAudioDecoderControl.setSourceDevice?4(QIODevice) +QtMultimedia.QAudioDecoderControl.start?4() +QtMultimedia.QAudioDecoderControl.stop?4() +QtMultimedia.QAudioDecoderControl.audioFormat?4() -> QAudioFormat +QtMultimedia.QAudioDecoderControl.setAudioFormat?4(QAudioFormat) +QtMultimedia.QAudioDecoderControl.read?4() -> QAudioBuffer +QtMultimedia.QAudioDecoderControl.bufferAvailable?4() -> bool +QtMultimedia.QAudioDecoderControl.position?4() -> int +QtMultimedia.QAudioDecoderControl.duration?4() -> int +QtMultimedia.QAudioDecoderControl.stateChanged?4(QAudioDecoder.State) +QtMultimedia.QAudioDecoderControl.formatChanged?4(QAudioFormat) +QtMultimedia.QAudioDecoderControl.sourceChanged?4() +QtMultimedia.QAudioDecoderControl.error?4(int, QString) +QtMultimedia.QAudioDecoderControl.bufferReady?4() +QtMultimedia.QAudioDecoderControl.bufferAvailableChanged?4(bool) +QtMultimedia.QAudioDecoderControl.finished?4() +QtMultimedia.QAudioDecoderControl.positionChanged?4(int) +QtMultimedia.QAudioDecoderControl.durationChanged?4(int) +QtMultimedia.QAudioDeviceInfo?1() +QtMultimedia.QAudioDeviceInfo.__init__?1(self) +QtMultimedia.QAudioDeviceInfo?1(QAudioDeviceInfo) +QtMultimedia.QAudioDeviceInfo.__init__?1(self, QAudioDeviceInfo) +QtMultimedia.QAudioDeviceInfo.isNull?4() -> bool +QtMultimedia.QAudioDeviceInfo.deviceName?4() -> QString +QtMultimedia.QAudioDeviceInfo.isFormatSupported?4(QAudioFormat) -> bool +QtMultimedia.QAudioDeviceInfo.preferredFormat?4() -> QAudioFormat +QtMultimedia.QAudioDeviceInfo.nearestFormat?4(QAudioFormat) -> QAudioFormat +QtMultimedia.QAudioDeviceInfo.supportedCodecs?4() -> QStringList +QtMultimedia.QAudioDeviceInfo.supportedSampleSizes?4() -> unknown-type +QtMultimedia.QAudioDeviceInfo.supportedByteOrders?4() -> unknown-type +QtMultimedia.QAudioDeviceInfo.supportedSampleTypes?4() -> unknown-type +QtMultimedia.QAudioDeviceInfo.defaultInputDevice?4() -> QAudioDeviceInfo +QtMultimedia.QAudioDeviceInfo.defaultOutputDevice?4() -> QAudioDeviceInfo +QtMultimedia.QAudioDeviceInfo.availableDevices?4(QAudio.Mode) -> unknown-type +QtMultimedia.QAudioDeviceInfo.supportedSampleRates?4() -> unknown-type +QtMultimedia.QAudioDeviceInfo.supportedChannelCounts?4() -> unknown-type +QtMultimedia.QAudioDeviceInfo.realm?4() -> QString +QtMultimedia.QAudioEncoderSettingsControl?1(QObject parent=None) +QtMultimedia.QAudioEncoderSettingsControl.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioEncoderSettingsControl.supportedAudioCodecs?4() -> QStringList +QtMultimedia.QAudioEncoderSettingsControl.codecDescription?4(QString) -> QString +QtMultimedia.QAudioEncoderSettingsControl.supportedSampleRates?4(QAudioEncoderSettings) -> (unknown-type, bool) +QtMultimedia.QAudioEncoderSettingsControl.audioSettings?4() -> QAudioEncoderSettings +QtMultimedia.QAudioEncoderSettingsControl.setAudioSettings?4(QAudioEncoderSettings) +QtMultimedia.QAudioFormat.Endian?10 +QtMultimedia.QAudioFormat.Endian.BigEndian?10 +QtMultimedia.QAudioFormat.Endian.LittleEndian?10 +QtMultimedia.QAudioFormat.SampleType?10 +QtMultimedia.QAudioFormat.SampleType.Unknown?10 +QtMultimedia.QAudioFormat.SampleType.SignedInt?10 +QtMultimedia.QAudioFormat.SampleType.UnSignedInt?10 +QtMultimedia.QAudioFormat.SampleType.Float?10 +QtMultimedia.QAudioFormat?1() +QtMultimedia.QAudioFormat.__init__?1(self) +QtMultimedia.QAudioFormat?1(QAudioFormat) +QtMultimedia.QAudioFormat.__init__?1(self, QAudioFormat) +QtMultimedia.QAudioFormat.isValid?4() -> bool +QtMultimedia.QAudioFormat.setSampleSize?4(int) +QtMultimedia.QAudioFormat.sampleSize?4() -> int +QtMultimedia.QAudioFormat.setCodec?4(QString) +QtMultimedia.QAudioFormat.codec?4() -> QString +QtMultimedia.QAudioFormat.setByteOrder?4(QAudioFormat.Endian) +QtMultimedia.QAudioFormat.byteOrder?4() -> QAudioFormat.Endian +QtMultimedia.QAudioFormat.setSampleType?4(QAudioFormat.SampleType) +QtMultimedia.QAudioFormat.sampleType?4() -> QAudioFormat.SampleType +QtMultimedia.QAudioFormat.setSampleRate?4(int) +QtMultimedia.QAudioFormat.sampleRate?4() -> int +QtMultimedia.QAudioFormat.setChannelCount?4(int) +QtMultimedia.QAudioFormat.channelCount?4() -> int +QtMultimedia.QAudioFormat.bytesForDuration?4(int) -> int +QtMultimedia.QAudioFormat.durationForBytes?4(int) -> int +QtMultimedia.QAudioFormat.bytesForFrames?4(int) -> int +QtMultimedia.QAudioFormat.framesForBytes?4(int) -> int +QtMultimedia.QAudioFormat.framesForDuration?4(int) -> int +QtMultimedia.QAudioFormat.durationForFrames?4(int) -> int +QtMultimedia.QAudioFormat.bytesPerFrame?4() -> int +QtMultimedia.QAudioInput?1(QAudioFormat format=QAudioFormat(), QObject parent=None) +QtMultimedia.QAudioInput.__init__?1(self, QAudioFormat format=QAudioFormat(), QObject parent=None) +QtMultimedia.QAudioInput?1(QAudioDeviceInfo, QAudioFormat format=QAudioFormat(), QObject parent=None) +QtMultimedia.QAudioInput.__init__?1(self, QAudioDeviceInfo, QAudioFormat format=QAudioFormat(), QObject parent=None) +QtMultimedia.QAudioInput.format?4() -> QAudioFormat +QtMultimedia.QAudioInput.start?4(QIODevice) +QtMultimedia.QAudioInput.start?4() -> QIODevice +QtMultimedia.QAudioInput.stop?4() +QtMultimedia.QAudioInput.reset?4() +QtMultimedia.QAudioInput.suspend?4() +QtMultimedia.QAudioInput.resume?4() +QtMultimedia.QAudioInput.setBufferSize?4(int) +QtMultimedia.QAudioInput.bufferSize?4() -> int +QtMultimedia.QAudioInput.bytesReady?4() -> int +QtMultimedia.QAudioInput.periodSize?4() -> int +QtMultimedia.QAudioInput.setNotifyInterval?4(int) +QtMultimedia.QAudioInput.notifyInterval?4() -> int +QtMultimedia.QAudioInput.processedUSecs?4() -> int +QtMultimedia.QAudioInput.elapsedUSecs?4() -> int +QtMultimedia.QAudioInput.error?4() -> QAudio.Error +QtMultimedia.QAudioInput.state?4() -> QAudio.State +QtMultimedia.QAudioInput.stateChanged?4(QAudio.State) +QtMultimedia.QAudioInput.notify?4() +QtMultimedia.QAudioInput.setVolume?4(float) +QtMultimedia.QAudioInput.volume?4() -> float +QtMultimedia.QAudioInputSelectorControl?1(QObject parent=None) +QtMultimedia.QAudioInputSelectorControl.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioInputSelectorControl.availableInputs?4() -> unknown-type +QtMultimedia.QAudioInputSelectorControl.inputDescription?4(QString) -> QString +QtMultimedia.QAudioInputSelectorControl.defaultInput?4() -> QString +QtMultimedia.QAudioInputSelectorControl.activeInput?4() -> QString +QtMultimedia.QAudioInputSelectorControl.setActiveInput?4(QString) +QtMultimedia.QAudioInputSelectorControl.activeInputChanged?4(QString) +QtMultimedia.QAudioInputSelectorControl.availableInputsChanged?4() +QtMultimedia.QAudioOutput?1(QAudioFormat format=QAudioFormat(), QObject parent=None) +QtMultimedia.QAudioOutput.__init__?1(self, QAudioFormat format=QAudioFormat(), QObject parent=None) +QtMultimedia.QAudioOutput?1(QAudioDeviceInfo, QAudioFormat format=QAudioFormat(), QObject parent=None) +QtMultimedia.QAudioOutput.__init__?1(self, QAudioDeviceInfo, QAudioFormat format=QAudioFormat(), QObject parent=None) +QtMultimedia.QAudioOutput.format?4() -> QAudioFormat +QtMultimedia.QAudioOutput.start?4(QIODevice) +QtMultimedia.QAudioOutput.start?4() -> QIODevice +QtMultimedia.QAudioOutput.stop?4() +QtMultimedia.QAudioOutput.reset?4() +QtMultimedia.QAudioOutput.suspend?4() +QtMultimedia.QAudioOutput.resume?4() +QtMultimedia.QAudioOutput.setBufferSize?4(int) +QtMultimedia.QAudioOutput.bufferSize?4() -> int +QtMultimedia.QAudioOutput.bytesFree?4() -> int +QtMultimedia.QAudioOutput.periodSize?4() -> int +QtMultimedia.QAudioOutput.setNotifyInterval?4(int) +QtMultimedia.QAudioOutput.notifyInterval?4() -> int +QtMultimedia.QAudioOutput.processedUSecs?4() -> int +QtMultimedia.QAudioOutput.elapsedUSecs?4() -> int +QtMultimedia.QAudioOutput.error?4() -> QAudio.Error +QtMultimedia.QAudioOutput.state?4() -> QAudio.State +QtMultimedia.QAudioOutput.stateChanged?4(QAudio.State) +QtMultimedia.QAudioOutput.notify?4() +QtMultimedia.QAudioOutput.setVolume?4(float) +QtMultimedia.QAudioOutput.volume?4() -> float +QtMultimedia.QAudioOutput.category?4() -> QString +QtMultimedia.QAudioOutput.setCategory?4(QString) +QtMultimedia.QAudioOutputSelectorControl?1(QObject parent=None) +QtMultimedia.QAudioOutputSelectorControl.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioOutputSelectorControl.availableOutputs?4() -> unknown-type +QtMultimedia.QAudioOutputSelectorControl.outputDescription?4(QString) -> QString +QtMultimedia.QAudioOutputSelectorControl.defaultOutput?4() -> QString +QtMultimedia.QAudioOutputSelectorControl.activeOutput?4() -> QString +QtMultimedia.QAudioOutputSelectorControl.setActiveOutput?4(QString) +QtMultimedia.QAudioOutputSelectorControl.activeOutputChanged?4(QString) +QtMultimedia.QAudioOutputSelectorControl.availableOutputsChanged?4() +QtMultimedia.QAudioProbe?1(QObject parent=None) +QtMultimedia.QAudioProbe.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioProbe.setSource?4(QMediaObject) -> bool +QtMultimedia.QAudioProbe.setSource?4(QMediaRecorder) -> bool +QtMultimedia.QAudioProbe.isActive?4() -> bool +QtMultimedia.QAudioProbe.audioBufferProbed?4(QAudioBuffer) +QtMultimedia.QAudioProbe.flush?4() +QtMultimedia.QMediaBindableInterface?1() +QtMultimedia.QMediaBindableInterface.__init__?1(self) +QtMultimedia.QMediaBindableInterface?1(QMediaBindableInterface) +QtMultimedia.QMediaBindableInterface.__init__?1(self, QMediaBindableInterface) +QtMultimedia.QMediaBindableInterface.mediaObject?4() -> QMediaObject +QtMultimedia.QMediaBindableInterface.setMediaObject?4(QMediaObject) -> bool +QtMultimedia.QMediaRecorder.Error?10 +QtMultimedia.QMediaRecorder.Error.NoError?10 +QtMultimedia.QMediaRecorder.Error.ResourceError?10 +QtMultimedia.QMediaRecorder.Error.FormatError?10 +QtMultimedia.QMediaRecorder.Error.OutOfSpaceError?10 +QtMultimedia.QMediaRecorder.Status?10 +QtMultimedia.QMediaRecorder.Status.UnavailableStatus?10 +QtMultimedia.QMediaRecorder.Status.UnloadedStatus?10 +QtMultimedia.QMediaRecorder.Status.LoadingStatus?10 +QtMultimedia.QMediaRecorder.Status.LoadedStatus?10 +QtMultimedia.QMediaRecorder.Status.StartingStatus?10 +QtMultimedia.QMediaRecorder.Status.RecordingStatus?10 +QtMultimedia.QMediaRecorder.Status.PausedStatus?10 +QtMultimedia.QMediaRecorder.Status.FinalizingStatus?10 +QtMultimedia.QMediaRecorder.State?10 +QtMultimedia.QMediaRecorder.State.StoppedState?10 +QtMultimedia.QMediaRecorder.State.RecordingState?10 +QtMultimedia.QMediaRecorder.State.PausedState?10 +QtMultimedia.QMediaRecorder?1(QMediaObject, QObject parent=None) +QtMultimedia.QMediaRecorder.__init__?1(self, QMediaObject, QObject parent=None) +QtMultimedia.QMediaRecorder.mediaObject?4() -> QMediaObject +QtMultimedia.QMediaRecorder.isAvailable?4() -> bool +QtMultimedia.QMediaRecorder.availability?4() -> QMultimedia.AvailabilityStatus +QtMultimedia.QMediaRecorder.outputLocation?4() -> QUrl +QtMultimedia.QMediaRecorder.setOutputLocation?4(QUrl) -> bool +QtMultimedia.QMediaRecorder.actualLocation?4() -> QUrl +QtMultimedia.QMediaRecorder.state?4() -> QMediaRecorder.State +QtMultimedia.QMediaRecorder.status?4() -> QMediaRecorder.Status +QtMultimedia.QMediaRecorder.error?4() -> QMediaRecorder.Error +QtMultimedia.QMediaRecorder.errorString?4() -> QString +QtMultimedia.QMediaRecorder.duration?4() -> int +QtMultimedia.QMediaRecorder.isMuted?4() -> bool +QtMultimedia.QMediaRecorder.volume?4() -> float +QtMultimedia.QMediaRecorder.supportedContainers?4() -> QStringList +QtMultimedia.QMediaRecorder.containerDescription?4(QString) -> QString +QtMultimedia.QMediaRecorder.supportedAudioCodecs?4() -> QStringList +QtMultimedia.QMediaRecorder.audioCodecDescription?4(QString) -> QString +QtMultimedia.QMediaRecorder.supportedAudioSampleRates?4(QAudioEncoderSettings settings=QAudioEncoderSettings()) -> (unknown-type, bool) +QtMultimedia.QMediaRecorder.supportedVideoCodecs?4() -> QStringList +QtMultimedia.QMediaRecorder.videoCodecDescription?4(QString) -> QString +QtMultimedia.QMediaRecorder.supportedResolutions?4(QVideoEncoderSettings settings=QVideoEncoderSettings()) -> (unknown-type, bool) +QtMultimedia.QMediaRecorder.supportedFrameRates?4(QVideoEncoderSettings settings=QVideoEncoderSettings()) -> (unknown-type, bool) +QtMultimedia.QMediaRecorder.audioSettings?4() -> QAudioEncoderSettings +QtMultimedia.QMediaRecorder.videoSettings?4() -> QVideoEncoderSettings +QtMultimedia.QMediaRecorder.containerFormat?4() -> QString +QtMultimedia.QMediaRecorder.setAudioSettings?4(QAudioEncoderSettings) +QtMultimedia.QMediaRecorder.setVideoSettings?4(QVideoEncoderSettings) +QtMultimedia.QMediaRecorder.setContainerFormat?4(QString) +QtMultimedia.QMediaRecorder.setEncodingSettings?4(QAudioEncoderSettings, QVideoEncoderSettings video=QVideoEncoderSettings(), QString container='') +QtMultimedia.QMediaRecorder.isMetaDataAvailable?4() -> bool +QtMultimedia.QMediaRecorder.isMetaDataWritable?4() -> bool +QtMultimedia.QMediaRecorder.metaData?4(QString) -> QVariant +QtMultimedia.QMediaRecorder.setMetaData?4(QString, QVariant) +QtMultimedia.QMediaRecorder.availableMetaData?4() -> QStringList +QtMultimedia.QMediaRecorder.record?4() +QtMultimedia.QMediaRecorder.pause?4() +QtMultimedia.QMediaRecorder.stop?4() +QtMultimedia.QMediaRecorder.setMuted?4(bool) +QtMultimedia.QMediaRecorder.setVolume?4(float) +QtMultimedia.QMediaRecorder.stateChanged?4(QMediaRecorder.State) +QtMultimedia.QMediaRecorder.statusChanged?4(QMediaRecorder.Status) +QtMultimedia.QMediaRecorder.durationChanged?4(int) +QtMultimedia.QMediaRecorder.mutedChanged?4(bool) +QtMultimedia.QMediaRecorder.volumeChanged?4(float) +QtMultimedia.QMediaRecorder.actualLocationChanged?4(QUrl) +QtMultimedia.QMediaRecorder.error?4(QMediaRecorder.Error) +QtMultimedia.QMediaRecorder.metaDataAvailableChanged?4(bool) +QtMultimedia.QMediaRecorder.metaDataWritableChanged?4(bool) +QtMultimedia.QMediaRecorder.metaDataChanged?4(QString, QVariant) +QtMultimedia.QMediaRecorder.metaDataChanged?4() +QtMultimedia.QMediaRecorder.availabilityChanged?4(QMultimedia.AvailabilityStatus) +QtMultimedia.QMediaRecorder.availabilityChanged?4(bool) +QtMultimedia.QMediaRecorder.setMediaObject?4(QMediaObject) -> bool +QtMultimedia.QAudioRecorder?1(QObject parent=None) +QtMultimedia.QAudioRecorder.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioRecorder.audioInputs?4() -> QStringList +QtMultimedia.QAudioRecorder.defaultAudioInput?4() -> QString +QtMultimedia.QAudioRecorder.audioInputDescription?4(QString) -> QString +QtMultimedia.QAudioRecorder.audioInput?4() -> QString +QtMultimedia.QAudioRecorder.setAudioInput?4(QString) +QtMultimedia.QAudioRecorder.audioInputChanged?4(QString) +QtMultimedia.QAudioRecorder.availableAudioInputsChanged?4() +QtMultimedia.QAudioRoleControl?1(QObject parent=None) +QtMultimedia.QAudioRoleControl.__init__?1(self, QObject parent=None) +QtMultimedia.QAudioRoleControl.audioRole?4() -> QAudio.Role +QtMultimedia.QAudioRoleControl.setAudioRole?4(QAudio.Role) +QtMultimedia.QAudioRoleControl.supportedAudioRoles?4() -> unknown-type +QtMultimedia.QAudioRoleControl.audioRoleChanged?4(QAudio.Role) +QtMultimedia.QCamera.Position?10 +QtMultimedia.QCamera.Position.UnspecifiedPosition?10 +QtMultimedia.QCamera.Position.BackFace?10 +QtMultimedia.QCamera.Position.FrontFace?10 +QtMultimedia.QCamera.LockType?10 +QtMultimedia.QCamera.LockType.NoLock?10 +QtMultimedia.QCamera.LockType.LockExposure?10 +QtMultimedia.QCamera.LockType.LockWhiteBalance?10 +QtMultimedia.QCamera.LockType.LockFocus?10 +QtMultimedia.QCamera.LockChangeReason?10 +QtMultimedia.QCamera.LockChangeReason.UserRequest?10 +QtMultimedia.QCamera.LockChangeReason.LockAcquired?10 +QtMultimedia.QCamera.LockChangeReason.LockFailed?10 +QtMultimedia.QCamera.LockChangeReason.LockLost?10 +QtMultimedia.QCamera.LockChangeReason.LockTemporaryLost?10 +QtMultimedia.QCamera.LockStatus?10 +QtMultimedia.QCamera.LockStatus.Unlocked?10 +QtMultimedia.QCamera.LockStatus.Searching?10 +QtMultimedia.QCamera.LockStatus.Locked?10 +QtMultimedia.QCamera.Error?10 +QtMultimedia.QCamera.Error.NoError?10 +QtMultimedia.QCamera.Error.CameraError?10 +QtMultimedia.QCamera.Error.InvalidRequestError?10 +QtMultimedia.QCamera.Error.ServiceMissingError?10 +QtMultimedia.QCamera.Error.NotSupportedFeatureError?10 +QtMultimedia.QCamera.CaptureMode?10 +QtMultimedia.QCamera.CaptureMode.CaptureViewfinder?10 +QtMultimedia.QCamera.CaptureMode.CaptureStillImage?10 +QtMultimedia.QCamera.CaptureMode.CaptureVideo?10 +QtMultimedia.QCamera.State?10 +QtMultimedia.QCamera.State.UnloadedState?10 +QtMultimedia.QCamera.State.LoadedState?10 +QtMultimedia.QCamera.State.ActiveState?10 +QtMultimedia.QCamera.Status?10 +QtMultimedia.QCamera.Status.UnavailableStatus?10 +QtMultimedia.QCamera.Status.UnloadedStatus?10 +QtMultimedia.QCamera.Status.LoadingStatus?10 +QtMultimedia.QCamera.Status.UnloadingStatus?10 +QtMultimedia.QCamera.Status.LoadedStatus?10 +QtMultimedia.QCamera.Status.StandbyStatus?10 +QtMultimedia.QCamera.Status.StartingStatus?10 +QtMultimedia.QCamera.Status.StoppingStatus?10 +QtMultimedia.QCamera.Status.ActiveStatus?10 +QtMultimedia.QCamera?1(QObject parent=None) +QtMultimedia.QCamera.__init__?1(self, QObject parent=None) +QtMultimedia.QCamera?1(QByteArray, QObject parent=None) +QtMultimedia.QCamera.__init__?1(self, QByteArray, QObject parent=None) +QtMultimedia.QCamera?1(QCameraInfo, QObject parent=None) +QtMultimedia.QCamera.__init__?1(self, QCameraInfo, QObject parent=None) +QtMultimedia.QCamera?1(QCamera.Position, QObject parent=None) +QtMultimedia.QCamera.__init__?1(self, QCamera.Position, QObject parent=None) +QtMultimedia.QCamera.availableDevices?4() -> unknown-type +QtMultimedia.QCamera.deviceDescription?4(QByteArray) -> QString +QtMultimedia.QCamera.availability?4() -> QMultimedia.AvailabilityStatus +QtMultimedia.QCamera.state?4() -> QCamera.State +QtMultimedia.QCamera.status?4() -> QCamera.Status +QtMultimedia.QCamera.captureMode?4() -> QCamera.CaptureModes +QtMultimedia.QCamera.isCaptureModeSupported?4(QCamera.CaptureModes) -> bool +QtMultimedia.QCamera.exposure?4() -> QCameraExposure +QtMultimedia.QCamera.focus?4() -> QCameraFocus +QtMultimedia.QCamera.imageProcessing?4() -> QCameraImageProcessing +QtMultimedia.QCamera.setViewfinder?4(QVideoWidget) +QtMultimedia.QCamera.setViewfinder?4(QGraphicsVideoItem) +QtMultimedia.QCamera.setViewfinder?4(QAbstractVideoSurface) +QtMultimedia.QCamera.error?4() -> QCamera.Error +QtMultimedia.QCamera.errorString?4() -> QString +QtMultimedia.QCamera.supportedLocks?4() -> QCamera.LockTypes +QtMultimedia.QCamera.requestedLocks?4() -> QCamera.LockTypes +QtMultimedia.QCamera.lockStatus?4() -> QCamera.LockStatus +QtMultimedia.QCamera.lockStatus?4(QCamera.LockType) -> QCamera.LockStatus +QtMultimedia.QCamera.setCaptureMode?4(QCamera.CaptureModes) +QtMultimedia.QCamera.load?4() +QtMultimedia.QCamera.unload?4() +QtMultimedia.QCamera.start?4() +QtMultimedia.QCamera.stop?4() +QtMultimedia.QCamera.searchAndLock?4() +QtMultimedia.QCamera.unlock?4() +QtMultimedia.QCamera.searchAndLock?4(QCamera.LockTypes) +QtMultimedia.QCamera.unlock?4(QCamera.LockTypes) +QtMultimedia.QCamera.stateChanged?4(QCamera.State) +QtMultimedia.QCamera.captureModeChanged?4(QCamera.CaptureModes) +QtMultimedia.QCamera.statusChanged?4(QCamera.Status) +QtMultimedia.QCamera.locked?4() +QtMultimedia.QCamera.lockFailed?4() +QtMultimedia.QCamera.lockStatusChanged?4(QCamera.LockStatus, QCamera.LockChangeReason) +QtMultimedia.QCamera.lockStatusChanged?4(QCamera.LockType, QCamera.LockStatus, QCamera.LockChangeReason) +QtMultimedia.QCamera.error?4(QCamera.Error) +QtMultimedia.QCamera.errorOccurred?4(QCamera.Error) +QtMultimedia.QCamera.viewfinderSettings?4() -> QCameraViewfinderSettings +QtMultimedia.QCamera.setViewfinderSettings?4(QCameraViewfinderSettings) +QtMultimedia.QCamera.supportedViewfinderSettings?4(QCameraViewfinderSettings settings=QCameraViewfinderSettings()) -> unknown-type +QtMultimedia.QCamera.supportedViewfinderResolutions?4(QCameraViewfinderSettings settings=QCameraViewfinderSettings()) -> unknown-type +QtMultimedia.QCamera.supportedViewfinderFrameRateRanges?4(QCameraViewfinderSettings settings=QCameraViewfinderSettings()) -> unknown-type +QtMultimedia.QCamera.supportedViewfinderPixelFormats?4(QCameraViewfinderSettings settings=QCameraViewfinderSettings()) -> unknown-type +QtMultimedia.QCamera.CaptureModes?1() +QtMultimedia.QCamera.CaptureModes.__init__?1(self) +QtMultimedia.QCamera.CaptureModes?1(int) +QtMultimedia.QCamera.CaptureModes.__init__?1(self, int) +QtMultimedia.QCamera.CaptureModes?1(QCamera.CaptureModes) +QtMultimedia.QCamera.CaptureModes.__init__?1(self, QCamera.CaptureModes) +QtMultimedia.QCamera.LockTypes?1() +QtMultimedia.QCamera.LockTypes.__init__?1(self) +QtMultimedia.QCamera.LockTypes?1(int) +QtMultimedia.QCamera.LockTypes.__init__?1(self, int) +QtMultimedia.QCamera.LockTypes?1(QCamera.LockTypes) +QtMultimedia.QCamera.LockTypes.__init__?1(self, QCamera.LockTypes) +QtMultimedia.QCamera.FrameRateRange.maximumFrameRate?7 +QtMultimedia.QCamera.FrameRateRange.minimumFrameRate?7 +QtMultimedia.QCamera.FrameRateRange?1(float, float) +QtMultimedia.QCamera.FrameRateRange.__init__?1(self, float, float) +QtMultimedia.QCamera.FrameRateRange?1() +QtMultimedia.QCamera.FrameRateRange.__init__?1(self) +QtMultimedia.QCamera.FrameRateRange?1(QCamera.FrameRateRange) +QtMultimedia.QCamera.FrameRateRange.__init__?1(self, QCamera.FrameRateRange) +QtMultimedia.QCameraCaptureBufferFormatControl?1(QObject parent=None) +QtMultimedia.QCameraCaptureBufferFormatControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraCaptureBufferFormatControl.supportedBufferFormats?4() -> unknown-type +QtMultimedia.QCameraCaptureBufferFormatControl.bufferFormat?4() -> QVideoFrame.PixelFormat +QtMultimedia.QCameraCaptureBufferFormatControl.setBufferFormat?4(QVideoFrame.PixelFormat) +QtMultimedia.QCameraCaptureBufferFormatControl.bufferFormatChanged?4(QVideoFrame.PixelFormat) +QtMultimedia.QCameraCaptureDestinationControl?1(QObject parent=None) +QtMultimedia.QCameraCaptureDestinationControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraCaptureDestinationControl.isCaptureDestinationSupported?4(QCameraImageCapture.CaptureDestinations) -> bool +QtMultimedia.QCameraCaptureDestinationControl.captureDestination?4() -> QCameraImageCapture.CaptureDestinations +QtMultimedia.QCameraCaptureDestinationControl.setCaptureDestination?4(QCameraImageCapture.CaptureDestinations) +QtMultimedia.QCameraCaptureDestinationControl.captureDestinationChanged?4(QCameraImageCapture.CaptureDestinations) +QtMultimedia.QCameraControl.PropertyChangeType?10 +QtMultimedia.QCameraControl.PropertyChangeType.CaptureMode?10 +QtMultimedia.QCameraControl.PropertyChangeType.ImageEncodingSettings?10 +QtMultimedia.QCameraControl.PropertyChangeType.VideoEncodingSettings?10 +QtMultimedia.QCameraControl.PropertyChangeType.Viewfinder?10 +QtMultimedia.QCameraControl.PropertyChangeType.ViewfinderSettings?10 +QtMultimedia.QCameraControl?1(QObject parent=None) +QtMultimedia.QCameraControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraControl.state?4() -> QCamera.State +QtMultimedia.QCameraControl.setState?4(QCamera.State) +QtMultimedia.QCameraControl.status?4() -> QCamera.Status +QtMultimedia.QCameraControl.captureMode?4() -> QCamera.CaptureModes +QtMultimedia.QCameraControl.setCaptureMode?4(QCamera.CaptureModes) +QtMultimedia.QCameraControl.isCaptureModeSupported?4(QCamera.CaptureModes) -> bool +QtMultimedia.QCameraControl.canChangeProperty?4(QCameraControl.PropertyChangeType, QCamera.Status) -> bool +QtMultimedia.QCameraControl.stateChanged?4(QCamera.State) +QtMultimedia.QCameraControl.statusChanged?4(QCamera.Status) +QtMultimedia.QCameraControl.error?4(int, QString) +QtMultimedia.QCameraControl.captureModeChanged?4(QCamera.CaptureModes) +QtMultimedia.QCameraExposure.MeteringMode?10 +QtMultimedia.QCameraExposure.MeteringMode.MeteringMatrix?10 +QtMultimedia.QCameraExposure.MeteringMode.MeteringAverage?10 +QtMultimedia.QCameraExposure.MeteringMode.MeteringSpot?10 +QtMultimedia.QCameraExposure.ExposureMode?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureAuto?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureManual?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposurePortrait?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureNight?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureBacklight?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureSpotlight?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureSports?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureSnow?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureBeach?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureLargeAperture?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureSmallAperture?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureAction?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureLandscape?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureNightPortrait?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureTheatre?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureSunset?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureSteadyPhoto?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureFireworks?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureParty?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureCandlelight?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureBarcode?10 +QtMultimedia.QCameraExposure.ExposureMode.ExposureModeVendor?10 +QtMultimedia.QCameraExposure.FlashMode?10 +QtMultimedia.QCameraExposure.FlashMode.FlashAuto?10 +QtMultimedia.QCameraExposure.FlashMode.FlashOff?10 +QtMultimedia.QCameraExposure.FlashMode.FlashOn?10 +QtMultimedia.QCameraExposure.FlashMode.FlashRedEyeReduction?10 +QtMultimedia.QCameraExposure.FlashMode.FlashFill?10 +QtMultimedia.QCameraExposure.FlashMode.FlashTorch?10 +QtMultimedia.QCameraExposure.FlashMode.FlashVideoLight?10 +QtMultimedia.QCameraExposure.FlashMode.FlashSlowSyncFrontCurtain?10 +QtMultimedia.QCameraExposure.FlashMode.FlashSlowSyncRearCurtain?10 +QtMultimedia.QCameraExposure.FlashMode.FlashManual?10 +QtMultimedia.QCameraExposure.isAvailable?4() -> bool +QtMultimedia.QCameraExposure.flashMode?4() -> QCameraExposure.FlashModes +QtMultimedia.QCameraExposure.isFlashModeSupported?4(QCameraExposure.FlashModes) -> bool +QtMultimedia.QCameraExposure.isFlashReady?4() -> bool +QtMultimedia.QCameraExposure.exposureMode?4() -> QCameraExposure.ExposureMode +QtMultimedia.QCameraExposure.isExposureModeSupported?4(QCameraExposure.ExposureMode) -> bool +QtMultimedia.QCameraExposure.exposureCompensation?4() -> float +QtMultimedia.QCameraExposure.meteringMode?4() -> QCameraExposure.MeteringMode +QtMultimedia.QCameraExposure.isMeteringModeSupported?4(QCameraExposure.MeteringMode) -> bool +QtMultimedia.QCameraExposure.spotMeteringPoint?4() -> QPointF +QtMultimedia.QCameraExposure.setSpotMeteringPoint?4(QPointF) +QtMultimedia.QCameraExposure.isoSensitivity?4() -> int +QtMultimedia.QCameraExposure.aperture?4() -> float +QtMultimedia.QCameraExposure.shutterSpeed?4() -> float +QtMultimedia.QCameraExposure.requestedIsoSensitivity?4() -> int +QtMultimedia.QCameraExposure.requestedAperture?4() -> float +QtMultimedia.QCameraExposure.requestedShutterSpeed?4() -> float +QtMultimedia.QCameraExposure.supportedIsoSensitivities?4() -> (unknown-type, bool) +QtMultimedia.QCameraExposure.supportedApertures?4() -> (unknown-type, bool) +QtMultimedia.QCameraExposure.supportedShutterSpeeds?4() -> (unknown-type, bool) +QtMultimedia.QCameraExposure.setFlashMode?4(QCameraExposure.FlashModes) +QtMultimedia.QCameraExposure.setExposureMode?4(QCameraExposure.ExposureMode) +QtMultimedia.QCameraExposure.setMeteringMode?4(QCameraExposure.MeteringMode) +QtMultimedia.QCameraExposure.setExposureCompensation?4(float) +QtMultimedia.QCameraExposure.setManualIsoSensitivity?4(int) +QtMultimedia.QCameraExposure.setAutoIsoSensitivity?4() +QtMultimedia.QCameraExposure.setManualAperture?4(float) +QtMultimedia.QCameraExposure.setAutoAperture?4() +QtMultimedia.QCameraExposure.setManualShutterSpeed?4(float) +QtMultimedia.QCameraExposure.setAutoShutterSpeed?4() +QtMultimedia.QCameraExposure.flashReady?4(bool) +QtMultimedia.QCameraExposure.apertureChanged?4(float) +QtMultimedia.QCameraExposure.apertureRangeChanged?4() +QtMultimedia.QCameraExposure.shutterSpeedChanged?4(float) +QtMultimedia.QCameraExposure.shutterSpeedRangeChanged?4() +QtMultimedia.QCameraExposure.isoSensitivityChanged?4(int) +QtMultimedia.QCameraExposure.exposureCompensationChanged?4(float) +QtMultimedia.QCameraExposure.FlashModes?1() +QtMultimedia.QCameraExposure.FlashModes.__init__?1(self) +QtMultimedia.QCameraExposure.FlashModes?1(int) +QtMultimedia.QCameraExposure.FlashModes.__init__?1(self, int) +QtMultimedia.QCameraExposure.FlashModes?1(QCameraExposure.FlashModes) +QtMultimedia.QCameraExposure.FlashModes.__init__?1(self, QCameraExposure.FlashModes) +QtMultimedia.QCameraExposureControl.ExposureParameter?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.ISO?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.Aperture?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.ShutterSpeed?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.ExposureCompensation?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.FlashPower?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.FlashCompensation?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.TorchPower?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.SpotMeteringPoint?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.ExposureMode?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.MeteringMode?10 +QtMultimedia.QCameraExposureControl.ExposureParameter.ExtendedExposureParameter?10 +QtMultimedia.QCameraExposureControl?1(QObject parent=None) +QtMultimedia.QCameraExposureControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraExposureControl.isParameterSupported?4(QCameraExposureControl.ExposureParameter) -> bool +QtMultimedia.QCameraExposureControl.supportedParameterRange?4(QCameraExposureControl.ExposureParameter) -> (unknown-type, bool) +QtMultimedia.QCameraExposureControl.requestedValue?4(QCameraExposureControl.ExposureParameter) -> QVariant +QtMultimedia.QCameraExposureControl.actualValue?4(QCameraExposureControl.ExposureParameter) -> QVariant +QtMultimedia.QCameraExposureControl.setValue?4(QCameraExposureControl.ExposureParameter, QVariant) -> bool +QtMultimedia.QCameraExposureControl.requestedValueChanged?4(int) +QtMultimedia.QCameraExposureControl.actualValueChanged?4(int) +QtMultimedia.QCameraExposureControl.parameterRangeChanged?4(int) +QtMultimedia.QCameraFeedbackControl.EventType?10 +QtMultimedia.QCameraFeedbackControl.EventType.ViewfinderStarted?10 +QtMultimedia.QCameraFeedbackControl.EventType.ViewfinderStopped?10 +QtMultimedia.QCameraFeedbackControl.EventType.ImageCaptured?10 +QtMultimedia.QCameraFeedbackControl.EventType.ImageSaved?10 +QtMultimedia.QCameraFeedbackControl.EventType.ImageError?10 +QtMultimedia.QCameraFeedbackControl.EventType.RecordingStarted?10 +QtMultimedia.QCameraFeedbackControl.EventType.RecordingInProgress?10 +QtMultimedia.QCameraFeedbackControl.EventType.RecordingStopped?10 +QtMultimedia.QCameraFeedbackControl.EventType.AutoFocusInProgress?10 +QtMultimedia.QCameraFeedbackControl.EventType.AutoFocusLocked?10 +QtMultimedia.QCameraFeedbackControl.EventType.AutoFocusFailed?10 +QtMultimedia.QCameraFeedbackControl?1(QObject parent=None) +QtMultimedia.QCameraFeedbackControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraFeedbackControl.isEventFeedbackLocked?4(QCameraFeedbackControl.EventType) -> bool +QtMultimedia.QCameraFeedbackControl.isEventFeedbackEnabled?4(QCameraFeedbackControl.EventType) -> bool +QtMultimedia.QCameraFeedbackControl.setEventFeedbackEnabled?4(QCameraFeedbackControl.EventType, bool) -> bool +QtMultimedia.QCameraFeedbackControl.resetEventFeedback?4(QCameraFeedbackControl.EventType) +QtMultimedia.QCameraFeedbackControl.setEventFeedbackSound?4(QCameraFeedbackControl.EventType, QString) -> bool +QtMultimedia.QCameraFlashControl?1(QObject parent=None) +QtMultimedia.QCameraFlashControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraFlashControl.flashMode?4() -> QCameraExposure.FlashModes +QtMultimedia.QCameraFlashControl.setFlashMode?4(QCameraExposure.FlashModes) +QtMultimedia.QCameraFlashControl.isFlashModeSupported?4(QCameraExposure.FlashModes) -> bool +QtMultimedia.QCameraFlashControl.isFlashReady?4() -> bool +QtMultimedia.QCameraFlashControl.flashReady?4(bool) +QtMultimedia.QCameraFocusZone.FocusZoneStatus?10 +QtMultimedia.QCameraFocusZone.FocusZoneStatus.Invalid?10 +QtMultimedia.QCameraFocusZone.FocusZoneStatus.Unused?10 +QtMultimedia.QCameraFocusZone.FocusZoneStatus.Selected?10 +QtMultimedia.QCameraFocusZone.FocusZoneStatus.Focused?10 +QtMultimedia.QCameraFocusZone?1(QCameraFocusZone) +QtMultimedia.QCameraFocusZone.__init__?1(self, QCameraFocusZone) +QtMultimedia.QCameraFocusZone.isValid?4() -> bool +QtMultimedia.QCameraFocusZone.area?4() -> QRectF +QtMultimedia.QCameraFocusZone.status?4() -> QCameraFocusZone.FocusZoneStatus +QtMultimedia.QCameraFocus.FocusPointMode?10 +QtMultimedia.QCameraFocus.FocusPointMode.FocusPointAuto?10 +QtMultimedia.QCameraFocus.FocusPointMode.FocusPointCenter?10 +QtMultimedia.QCameraFocus.FocusPointMode.FocusPointFaceDetection?10 +QtMultimedia.QCameraFocus.FocusPointMode.FocusPointCustom?10 +QtMultimedia.QCameraFocus.FocusMode?10 +QtMultimedia.QCameraFocus.FocusMode.ManualFocus?10 +QtMultimedia.QCameraFocus.FocusMode.HyperfocalFocus?10 +QtMultimedia.QCameraFocus.FocusMode.InfinityFocus?10 +QtMultimedia.QCameraFocus.FocusMode.AutoFocus?10 +QtMultimedia.QCameraFocus.FocusMode.ContinuousFocus?10 +QtMultimedia.QCameraFocus.FocusMode.MacroFocus?10 +QtMultimedia.QCameraFocus.isAvailable?4() -> bool +QtMultimedia.QCameraFocus.focusMode?4() -> QCameraFocus.FocusModes +QtMultimedia.QCameraFocus.setFocusMode?4(QCameraFocus.FocusModes) +QtMultimedia.QCameraFocus.isFocusModeSupported?4(QCameraFocus.FocusModes) -> bool +QtMultimedia.QCameraFocus.focusPointMode?4() -> QCameraFocus.FocusPointMode +QtMultimedia.QCameraFocus.setFocusPointMode?4(QCameraFocus.FocusPointMode) +QtMultimedia.QCameraFocus.isFocusPointModeSupported?4(QCameraFocus.FocusPointMode) -> bool +QtMultimedia.QCameraFocus.customFocusPoint?4() -> QPointF +QtMultimedia.QCameraFocus.setCustomFocusPoint?4(QPointF) +QtMultimedia.QCameraFocus.focusZones?4() -> unknown-type +QtMultimedia.QCameraFocus.maximumOpticalZoom?4() -> float +QtMultimedia.QCameraFocus.maximumDigitalZoom?4() -> float +QtMultimedia.QCameraFocus.opticalZoom?4() -> float +QtMultimedia.QCameraFocus.digitalZoom?4() -> float +QtMultimedia.QCameraFocus.zoomTo?4(float, float) +QtMultimedia.QCameraFocus.opticalZoomChanged?4(float) +QtMultimedia.QCameraFocus.digitalZoomChanged?4(float) +QtMultimedia.QCameraFocus.focusZonesChanged?4() +QtMultimedia.QCameraFocus.maximumOpticalZoomChanged?4(float) +QtMultimedia.QCameraFocus.maximumDigitalZoomChanged?4(float) +QtMultimedia.QCameraFocus.FocusModes?1() +QtMultimedia.QCameraFocus.FocusModes.__init__?1(self) +QtMultimedia.QCameraFocus.FocusModes?1(int) +QtMultimedia.QCameraFocus.FocusModes.__init__?1(self, int) +QtMultimedia.QCameraFocus.FocusModes?1(QCameraFocus.FocusModes) +QtMultimedia.QCameraFocus.FocusModes.__init__?1(self, QCameraFocus.FocusModes) +QtMultimedia.QCameraFocusControl?1(QObject parent=None) +QtMultimedia.QCameraFocusControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraFocusControl.focusMode?4() -> QCameraFocus.FocusModes +QtMultimedia.QCameraFocusControl.setFocusMode?4(QCameraFocus.FocusModes) +QtMultimedia.QCameraFocusControl.isFocusModeSupported?4(QCameraFocus.FocusModes) -> bool +QtMultimedia.QCameraFocusControl.focusPointMode?4() -> QCameraFocus.FocusPointMode +QtMultimedia.QCameraFocusControl.setFocusPointMode?4(QCameraFocus.FocusPointMode) +QtMultimedia.QCameraFocusControl.isFocusPointModeSupported?4(QCameraFocus.FocusPointMode) -> bool +QtMultimedia.QCameraFocusControl.customFocusPoint?4() -> QPointF +QtMultimedia.QCameraFocusControl.setCustomFocusPoint?4(QPointF) +QtMultimedia.QCameraFocusControl.focusZones?4() -> unknown-type +QtMultimedia.QCameraFocusControl.focusModeChanged?4(QCameraFocus.FocusModes) +QtMultimedia.QCameraFocusControl.focusPointModeChanged?4(QCameraFocus.FocusPointMode) +QtMultimedia.QCameraFocusControl.customFocusPointChanged?4(QPointF) +QtMultimedia.QCameraFocusControl.focusZonesChanged?4() +QtMultimedia.QCameraImageCapture.CaptureDestination?10 +QtMultimedia.QCameraImageCapture.CaptureDestination.CaptureToFile?10 +QtMultimedia.QCameraImageCapture.CaptureDestination.CaptureToBuffer?10 +QtMultimedia.QCameraImageCapture.DriveMode?10 +QtMultimedia.QCameraImageCapture.DriveMode.SingleImageCapture?10 +QtMultimedia.QCameraImageCapture.Error?10 +QtMultimedia.QCameraImageCapture.Error.NoError?10 +QtMultimedia.QCameraImageCapture.Error.NotReadyError?10 +QtMultimedia.QCameraImageCapture.Error.ResourceError?10 +QtMultimedia.QCameraImageCapture.Error.OutOfSpaceError?10 +QtMultimedia.QCameraImageCapture.Error.NotSupportedFeatureError?10 +QtMultimedia.QCameraImageCapture.Error.FormatError?10 +QtMultimedia.QCameraImageCapture?1(QMediaObject, QObject parent=None) +QtMultimedia.QCameraImageCapture.__init__?1(self, QMediaObject, QObject parent=None) +QtMultimedia.QCameraImageCapture.isAvailable?4() -> bool +QtMultimedia.QCameraImageCapture.availability?4() -> QMultimedia.AvailabilityStatus +QtMultimedia.QCameraImageCapture.mediaObject?4() -> QMediaObject +QtMultimedia.QCameraImageCapture.error?4() -> QCameraImageCapture.Error +QtMultimedia.QCameraImageCapture.errorString?4() -> QString +QtMultimedia.QCameraImageCapture.isReadyForCapture?4() -> bool +QtMultimedia.QCameraImageCapture.supportedImageCodecs?4() -> QStringList +QtMultimedia.QCameraImageCapture.imageCodecDescription?4(QString) -> QString +QtMultimedia.QCameraImageCapture.supportedResolutions?4(QImageEncoderSettings settings=QImageEncoderSettings()) -> (unknown-type, bool) +QtMultimedia.QCameraImageCapture.encodingSettings?4() -> QImageEncoderSettings +QtMultimedia.QCameraImageCapture.setEncodingSettings?4(QImageEncoderSettings) +QtMultimedia.QCameraImageCapture.supportedBufferFormats?4() -> unknown-type +QtMultimedia.QCameraImageCapture.bufferFormat?4() -> QVideoFrame.PixelFormat +QtMultimedia.QCameraImageCapture.setBufferFormat?4(QVideoFrame.PixelFormat) +QtMultimedia.QCameraImageCapture.isCaptureDestinationSupported?4(QCameraImageCapture.CaptureDestinations) -> bool +QtMultimedia.QCameraImageCapture.captureDestination?4() -> QCameraImageCapture.CaptureDestinations +QtMultimedia.QCameraImageCapture.setCaptureDestination?4(QCameraImageCapture.CaptureDestinations) +QtMultimedia.QCameraImageCapture.capture?4(QString file='') -> int +QtMultimedia.QCameraImageCapture.cancelCapture?4() +QtMultimedia.QCameraImageCapture.error?4(int, QCameraImageCapture.Error, QString) +QtMultimedia.QCameraImageCapture.readyForCaptureChanged?4(bool) +QtMultimedia.QCameraImageCapture.bufferFormatChanged?4(QVideoFrame.PixelFormat) +QtMultimedia.QCameraImageCapture.captureDestinationChanged?4(QCameraImageCapture.CaptureDestinations) +QtMultimedia.QCameraImageCapture.imageExposed?4(int) +QtMultimedia.QCameraImageCapture.imageCaptured?4(int, QImage) +QtMultimedia.QCameraImageCapture.imageMetadataAvailable?4(int, QString, QVariant) +QtMultimedia.QCameraImageCapture.imageAvailable?4(int, QVideoFrame) +QtMultimedia.QCameraImageCapture.imageSaved?4(int, QString) +QtMultimedia.QCameraImageCapture.setMediaObject?4(QMediaObject) -> bool +QtMultimedia.QCameraImageCapture.CaptureDestinations?1() +QtMultimedia.QCameraImageCapture.CaptureDestinations.__init__?1(self) +QtMultimedia.QCameraImageCapture.CaptureDestinations?1(int) +QtMultimedia.QCameraImageCapture.CaptureDestinations.__init__?1(self, int) +QtMultimedia.QCameraImageCapture.CaptureDestinations?1(QCameraImageCapture.CaptureDestinations) +QtMultimedia.QCameraImageCapture.CaptureDestinations.__init__?1(self, QCameraImageCapture.CaptureDestinations) +QtMultimedia.QCameraImageCaptureControl?1(QObject parent=None) +QtMultimedia.QCameraImageCaptureControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraImageCaptureControl.isReadyForCapture?4() -> bool +QtMultimedia.QCameraImageCaptureControl.driveMode?4() -> QCameraImageCapture.DriveMode +QtMultimedia.QCameraImageCaptureControl.setDriveMode?4(QCameraImageCapture.DriveMode) +QtMultimedia.QCameraImageCaptureControl.capture?4(QString) -> int +QtMultimedia.QCameraImageCaptureControl.cancelCapture?4() +QtMultimedia.QCameraImageCaptureControl.readyForCaptureChanged?4(bool) +QtMultimedia.QCameraImageCaptureControl.imageExposed?4(int) +QtMultimedia.QCameraImageCaptureControl.imageCaptured?4(int, QImage) +QtMultimedia.QCameraImageCaptureControl.imageMetadataAvailable?4(int, QString, QVariant) +QtMultimedia.QCameraImageCaptureControl.imageAvailable?4(int, QVideoFrame) +QtMultimedia.QCameraImageCaptureControl.imageSaved?4(int, QString) +QtMultimedia.QCameraImageCaptureControl.error?4(int, int, QString) +QtMultimedia.QCameraImageProcessing.ColorFilter?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterNone?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterGrayscale?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterNegative?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterSolarize?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterSepia?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterPosterize?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterWhiteboard?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterBlackboard?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterAqua?10 +QtMultimedia.QCameraImageProcessing.ColorFilter.ColorFilterVendor?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceAuto?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceManual?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceSunlight?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceCloudy?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceShade?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceTungsten?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceFluorescent?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceFlash?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceSunset?10 +QtMultimedia.QCameraImageProcessing.WhiteBalanceMode.WhiteBalanceVendor?10 +QtMultimedia.QCameraImageProcessing.isAvailable?4() -> bool +QtMultimedia.QCameraImageProcessing.whiteBalanceMode?4() -> QCameraImageProcessing.WhiteBalanceMode +QtMultimedia.QCameraImageProcessing.setWhiteBalanceMode?4(QCameraImageProcessing.WhiteBalanceMode) +QtMultimedia.QCameraImageProcessing.isWhiteBalanceModeSupported?4(QCameraImageProcessing.WhiteBalanceMode) -> bool +QtMultimedia.QCameraImageProcessing.manualWhiteBalance?4() -> float +QtMultimedia.QCameraImageProcessing.setManualWhiteBalance?4(float) +QtMultimedia.QCameraImageProcessing.contrast?4() -> float +QtMultimedia.QCameraImageProcessing.setContrast?4(float) +QtMultimedia.QCameraImageProcessing.saturation?4() -> float +QtMultimedia.QCameraImageProcessing.setSaturation?4(float) +QtMultimedia.QCameraImageProcessing.sharpeningLevel?4() -> float +QtMultimedia.QCameraImageProcessing.setSharpeningLevel?4(float) +QtMultimedia.QCameraImageProcessing.denoisingLevel?4() -> float +QtMultimedia.QCameraImageProcessing.setDenoisingLevel?4(float) +QtMultimedia.QCameraImageProcessing.colorFilter?4() -> QCameraImageProcessing.ColorFilter +QtMultimedia.QCameraImageProcessing.setColorFilter?4(QCameraImageProcessing.ColorFilter) +QtMultimedia.QCameraImageProcessing.isColorFilterSupported?4(QCameraImageProcessing.ColorFilter) -> bool +QtMultimedia.QCameraImageProcessing.brightness?4() -> float +QtMultimedia.QCameraImageProcessing.setBrightness?4(float) +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.WhiteBalancePreset?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.ColorTemperature?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.Contrast?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.Saturation?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.Brightness?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.Sharpening?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.Denoising?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.ContrastAdjustment?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.SaturationAdjustment?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.BrightnessAdjustment?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.SharpeningAdjustment?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.DenoisingAdjustment?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.ColorFilter?10 +QtMultimedia.QCameraImageProcessingControl.ProcessingParameter.ExtendedParameter?10 +QtMultimedia.QCameraImageProcessingControl?1(QObject parent=None) +QtMultimedia.QCameraImageProcessingControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraImageProcessingControl.isParameterSupported?4(QCameraImageProcessingControl.ProcessingParameter) -> bool +QtMultimedia.QCameraImageProcessingControl.isParameterValueSupported?4(QCameraImageProcessingControl.ProcessingParameter, QVariant) -> bool +QtMultimedia.QCameraImageProcessingControl.parameter?4(QCameraImageProcessingControl.ProcessingParameter) -> QVariant +QtMultimedia.QCameraImageProcessingControl.setParameter?4(QCameraImageProcessingControl.ProcessingParameter, QVariant) +QtMultimedia.QCameraInfo?1(QByteArray name=QByteArray()) +QtMultimedia.QCameraInfo.__init__?1(self, QByteArray name=QByteArray()) +QtMultimedia.QCameraInfo?1(QCamera) +QtMultimedia.QCameraInfo.__init__?1(self, QCamera) +QtMultimedia.QCameraInfo?1(QCameraInfo) +QtMultimedia.QCameraInfo.__init__?1(self, QCameraInfo) +QtMultimedia.QCameraInfo.isNull?4() -> bool +QtMultimedia.QCameraInfo.deviceName?4() -> QString +QtMultimedia.QCameraInfo.description?4() -> QString +QtMultimedia.QCameraInfo.position?4() -> QCamera.Position +QtMultimedia.QCameraInfo.orientation?4() -> int +QtMultimedia.QCameraInfo.defaultCamera?4() -> QCameraInfo +QtMultimedia.QCameraInfo.availableCameras?4(QCamera.Position position=QCamera.UnspecifiedPosition) -> unknown-type +QtMultimedia.QCameraInfoControl?1(QObject parent=None) +QtMultimedia.QCameraInfoControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraInfoControl.cameraPosition?4(QString) -> QCamera.Position +QtMultimedia.QCameraInfoControl.cameraOrientation?4(QString) -> int +QtMultimedia.QCameraLocksControl?1(QObject parent=None) +QtMultimedia.QCameraLocksControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraLocksControl.supportedLocks?4() -> QCamera.LockTypes +QtMultimedia.QCameraLocksControl.lockStatus?4(QCamera.LockType) -> QCamera.LockStatus +QtMultimedia.QCameraLocksControl.searchAndLock?4(QCamera.LockTypes) +QtMultimedia.QCameraLocksControl.unlock?4(QCamera.LockTypes) +QtMultimedia.QCameraLocksControl.lockStatusChanged?4(QCamera.LockType, QCamera.LockStatus, QCamera.LockChangeReason) +QtMultimedia.QCameraViewfinderSettings?1() +QtMultimedia.QCameraViewfinderSettings.__init__?1(self) +QtMultimedia.QCameraViewfinderSettings?1(QCameraViewfinderSettings) +QtMultimedia.QCameraViewfinderSettings.__init__?1(self, QCameraViewfinderSettings) +QtMultimedia.QCameraViewfinderSettings.swap?4(QCameraViewfinderSettings) +QtMultimedia.QCameraViewfinderSettings.isNull?4() -> bool +QtMultimedia.QCameraViewfinderSettings.resolution?4() -> QSize +QtMultimedia.QCameraViewfinderSettings.setResolution?4(QSize) +QtMultimedia.QCameraViewfinderSettings.setResolution?4(int, int) +QtMultimedia.QCameraViewfinderSettings.minimumFrameRate?4() -> float +QtMultimedia.QCameraViewfinderSettings.setMinimumFrameRate?4(float) +QtMultimedia.QCameraViewfinderSettings.maximumFrameRate?4() -> float +QtMultimedia.QCameraViewfinderSettings.setMaximumFrameRate?4(float) +QtMultimedia.QCameraViewfinderSettings.pixelFormat?4() -> QVideoFrame.PixelFormat +QtMultimedia.QCameraViewfinderSettings.setPixelFormat?4(QVideoFrame.PixelFormat) +QtMultimedia.QCameraViewfinderSettings.pixelAspectRatio?4() -> QSize +QtMultimedia.QCameraViewfinderSettings.setPixelAspectRatio?4(QSize) +QtMultimedia.QCameraViewfinderSettings.setPixelAspectRatio?4(int, int) +QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter?10 +QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter.Resolution?10 +QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter.PixelAspectRatio?10 +QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter.MinimumFrameRate?10 +QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter.MaximumFrameRate?10 +QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter.PixelFormat?10 +QtMultimedia.QCameraViewfinderSettingsControl.ViewfinderParameter.UserParameter?10 +QtMultimedia.QCameraViewfinderSettingsControl?1(QObject parent=None) +QtMultimedia.QCameraViewfinderSettingsControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraViewfinderSettingsControl.isViewfinderParameterSupported?4(QCameraViewfinderSettingsControl.ViewfinderParameter) -> bool +QtMultimedia.QCameraViewfinderSettingsControl.viewfinderParameter?4(QCameraViewfinderSettingsControl.ViewfinderParameter) -> QVariant +QtMultimedia.QCameraViewfinderSettingsControl.setViewfinderParameter?4(QCameraViewfinderSettingsControl.ViewfinderParameter, QVariant) +QtMultimedia.QCameraViewfinderSettingsControl2?1(QObject parent=None) +QtMultimedia.QCameraViewfinderSettingsControl2.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraViewfinderSettingsControl2.supportedViewfinderSettings?4() -> unknown-type +QtMultimedia.QCameraViewfinderSettingsControl2.viewfinderSettings?4() -> QCameraViewfinderSettings +QtMultimedia.QCameraViewfinderSettingsControl2.setViewfinderSettings?4(QCameraViewfinderSettings) +QtMultimedia.QCameraZoomControl?1(QObject parent=None) +QtMultimedia.QCameraZoomControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCameraZoomControl.maximumOpticalZoom?4() -> float +QtMultimedia.QCameraZoomControl.maximumDigitalZoom?4() -> float +QtMultimedia.QCameraZoomControl.requestedOpticalZoom?4() -> float +QtMultimedia.QCameraZoomControl.requestedDigitalZoom?4() -> float +QtMultimedia.QCameraZoomControl.currentOpticalZoom?4() -> float +QtMultimedia.QCameraZoomControl.currentDigitalZoom?4() -> float +QtMultimedia.QCameraZoomControl.zoomTo?4(float, float) +QtMultimedia.QCameraZoomControl.maximumOpticalZoomChanged?4(float) +QtMultimedia.QCameraZoomControl.maximumDigitalZoomChanged?4(float) +QtMultimedia.QCameraZoomControl.requestedOpticalZoomChanged?4(float) +QtMultimedia.QCameraZoomControl.requestedDigitalZoomChanged?4(float) +QtMultimedia.QCameraZoomControl.currentOpticalZoomChanged?4(float) +QtMultimedia.QCameraZoomControl.currentDigitalZoomChanged?4(float) +QtMultimedia.QCustomAudioRoleControl?1(QObject parent=None) +QtMultimedia.QCustomAudioRoleControl.__init__?1(self, QObject parent=None) +QtMultimedia.QCustomAudioRoleControl.customAudioRole?4() -> QString +QtMultimedia.QCustomAudioRoleControl.setCustomAudioRole?4(QString) +QtMultimedia.QCustomAudioRoleControl.supportedCustomAudioRoles?4() -> QStringList +QtMultimedia.QCustomAudioRoleControl.customAudioRoleChanged?4(QString) +QtMultimedia.QImageEncoderControl?1(QObject parent=None) +QtMultimedia.QImageEncoderControl.__init__?1(self, QObject parent=None) +QtMultimedia.QImageEncoderControl.supportedImageCodecs?4() -> QStringList +QtMultimedia.QImageEncoderControl.imageCodecDescription?4(QString) -> QString +QtMultimedia.QImageEncoderControl.supportedResolutions?4(QImageEncoderSettings) -> (unknown-type, bool) +QtMultimedia.QImageEncoderControl.imageSettings?4() -> QImageEncoderSettings +QtMultimedia.QImageEncoderControl.setImageSettings?4(QImageEncoderSettings) +QtMultimedia.QMediaAudioProbeControl?1(QObject parent=None) +QtMultimedia.QMediaAudioProbeControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaAudioProbeControl.audioBufferProbed?4(QAudioBuffer) +QtMultimedia.QMediaAudioProbeControl.flush?4() +QtMultimedia.QMediaAvailabilityControl?1(QObject parent=None) +QtMultimedia.QMediaAvailabilityControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaAvailabilityControl.availability?4() -> QMultimedia.AvailabilityStatus +QtMultimedia.QMediaAvailabilityControl.availabilityChanged?4(QMultimedia.AvailabilityStatus) +QtMultimedia.QMediaContainerControl?1(QObject parent=None) +QtMultimedia.QMediaContainerControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaContainerControl.supportedContainers?4() -> QStringList +QtMultimedia.QMediaContainerControl.containerFormat?4() -> QString +QtMultimedia.QMediaContainerControl.setContainerFormat?4(QString) +QtMultimedia.QMediaContainerControl.containerDescription?4(QString) -> QString +QtMultimedia.QMediaContent?1() +QtMultimedia.QMediaContent.__init__?1(self) +QtMultimedia.QMediaContent?1(QUrl) +QtMultimedia.QMediaContent.__init__?1(self, QUrl) +QtMultimedia.QMediaContent?1(QNetworkRequest) +QtMultimedia.QMediaContent.__init__?1(self, QNetworkRequest) +QtMultimedia.QMediaContent?1(QMediaResource) +QtMultimedia.QMediaContent.__init__?1(self, QMediaResource) +QtMultimedia.QMediaContent?1(unknown-type) +QtMultimedia.QMediaContent.__init__?1(self, unknown-type) +QtMultimedia.QMediaContent?1(QMediaContent) +QtMultimedia.QMediaContent.__init__?1(self, QMediaContent) +QtMultimedia.QMediaContent?1(QMediaPlaylist, QUrl contentUrl=QUrl()) +QtMultimedia.QMediaContent.__init__?1(self, QMediaPlaylist, QUrl contentUrl=QUrl()) +QtMultimedia.QMediaContent.isNull?4() -> bool +QtMultimedia.QMediaContent.canonicalUrl?4() -> QUrl +QtMultimedia.QMediaContent.canonicalRequest?4() -> QNetworkRequest +QtMultimedia.QMediaContent.canonicalResource?4() -> QMediaResource +QtMultimedia.QMediaContent.resources?4() -> unknown-type +QtMultimedia.QMediaContent.playlist?4() -> QMediaPlaylist +QtMultimedia.QMediaContent.request?4() -> QNetworkRequest +QtMultimedia.QAudioEncoderSettings?1() +QtMultimedia.QAudioEncoderSettings.__init__?1(self) +QtMultimedia.QAudioEncoderSettings?1(QAudioEncoderSettings) +QtMultimedia.QAudioEncoderSettings.__init__?1(self, QAudioEncoderSettings) +QtMultimedia.QAudioEncoderSettings.isNull?4() -> bool +QtMultimedia.QAudioEncoderSettings.encodingMode?4() -> QMultimedia.EncodingMode +QtMultimedia.QAudioEncoderSettings.setEncodingMode?4(QMultimedia.EncodingMode) +QtMultimedia.QAudioEncoderSettings.codec?4() -> QString +QtMultimedia.QAudioEncoderSettings.setCodec?4(QString) +QtMultimedia.QAudioEncoderSettings.bitRate?4() -> int +QtMultimedia.QAudioEncoderSettings.setBitRate?4(int) +QtMultimedia.QAudioEncoderSettings.channelCount?4() -> int +QtMultimedia.QAudioEncoderSettings.setChannelCount?4(int) +QtMultimedia.QAudioEncoderSettings.sampleRate?4() -> int +QtMultimedia.QAudioEncoderSettings.setSampleRate?4(int) +QtMultimedia.QAudioEncoderSettings.quality?4() -> QMultimedia.EncodingQuality +QtMultimedia.QAudioEncoderSettings.setQuality?4(QMultimedia.EncodingQuality) +QtMultimedia.QAudioEncoderSettings.encodingOption?4(QString) -> QVariant +QtMultimedia.QAudioEncoderSettings.encodingOptions?4() -> QVariantMap +QtMultimedia.QAudioEncoderSettings.setEncodingOption?4(QString, QVariant) +QtMultimedia.QAudioEncoderSettings.setEncodingOptions?4(QVariantMap) +QtMultimedia.QVideoEncoderSettings?1() +QtMultimedia.QVideoEncoderSettings.__init__?1(self) +QtMultimedia.QVideoEncoderSettings?1(QVideoEncoderSettings) +QtMultimedia.QVideoEncoderSettings.__init__?1(self, QVideoEncoderSettings) +QtMultimedia.QVideoEncoderSettings.isNull?4() -> bool +QtMultimedia.QVideoEncoderSettings.encodingMode?4() -> QMultimedia.EncodingMode +QtMultimedia.QVideoEncoderSettings.setEncodingMode?4(QMultimedia.EncodingMode) +QtMultimedia.QVideoEncoderSettings.codec?4() -> QString +QtMultimedia.QVideoEncoderSettings.setCodec?4(QString) +QtMultimedia.QVideoEncoderSettings.resolution?4() -> QSize +QtMultimedia.QVideoEncoderSettings.setResolution?4(QSize) +QtMultimedia.QVideoEncoderSettings.setResolution?4(int, int) +QtMultimedia.QVideoEncoderSettings.frameRate?4() -> float +QtMultimedia.QVideoEncoderSettings.setFrameRate?4(float) +QtMultimedia.QVideoEncoderSettings.bitRate?4() -> int +QtMultimedia.QVideoEncoderSettings.setBitRate?4(int) +QtMultimedia.QVideoEncoderSettings.quality?4() -> QMultimedia.EncodingQuality +QtMultimedia.QVideoEncoderSettings.setQuality?4(QMultimedia.EncodingQuality) +QtMultimedia.QVideoEncoderSettings.encodingOption?4(QString) -> QVariant +QtMultimedia.QVideoEncoderSettings.encodingOptions?4() -> QVariantMap +QtMultimedia.QVideoEncoderSettings.setEncodingOption?4(QString, QVariant) +QtMultimedia.QVideoEncoderSettings.setEncodingOptions?4(QVariantMap) +QtMultimedia.QImageEncoderSettings?1() +QtMultimedia.QImageEncoderSettings.__init__?1(self) +QtMultimedia.QImageEncoderSettings?1(QImageEncoderSettings) +QtMultimedia.QImageEncoderSettings.__init__?1(self, QImageEncoderSettings) +QtMultimedia.QImageEncoderSettings.isNull?4() -> bool +QtMultimedia.QImageEncoderSettings.codec?4() -> QString +QtMultimedia.QImageEncoderSettings.setCodec?4(QString) +QtMultimedia.QImageEncoderSettings.resolution?4() -> QSize +QtMultimedia.QImageEncoderSettings.setResolution?4(QSize) +QtMultimedia.QImageEncoderSettings.setResolution?4(int, int) +QtMultimedia.QImageEncoderSettings.quality?4() -> QMultimedia.EncodingQuality +QtMultimedia.QImageEncoderSettings.setQuality?4(QMultimedia.EncodingQuality) +QtMultimedia.QImageEncoderSettings.encodingOption?4(QString) -> QVariant +QtMultimedia.QImageEncoderSettings.encodingOptions?4() -> QVariantMap +QtMultimedia.QImageEncoderSettings.setEncodingOption?4(QString, QVariant) +QtMultimedia.QImageEncoderSettings.setEncodingOptions?4(QVariantMap) +QtMultimedia.QMediaGaplessPlaybackControl?1(QObject parent=None) +QtMultimedia.QMediaGaplessPlaybackControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaGaplessPlaybackControl.nextMedia?4() -> QMediaContent +QtMultimedia.QMediaGaplessPlaybackControl.setNextMedia?4(QMediaContent) +QtMultimedia.QMediaGaplessPlaybackControl.isCrossfadeSupported?4() -> bool +QtMultimedia.QMediaGaplessPlaybackControl.crossfadeTime?4() -> float +QtMultimedia.QMediaGaplessPlaybackControl.setCrossfadeTime?4(float) +QtMultimedia.QMediaGaplessPlaybackControl.crossfadeTimeChanged?4(float) +QtMultimedia.QMediaGaplessPlaybackControl.nextMediaChanged?4(QMediaContent) +QtMultimedia.QMediaGaplessPlaybackControl.advancedToNextMedia?4() +QtMultimedia.QMediaMetaData.AlbumArtist?7 +QtMultimedia.QMediaMetaData.AlbumTitle?7 +QtMultimedia.QMediaMetaData.AudioBitRate?7 +QtMultimedia.QMediaMetaData.AudioCodec?7 +QtMultimedia.QMediaMetaData.Author?7 +QtMultimedia.QMediaMetaData.AverageLevel?7 +QtMultimedia.QMediaMetaData.CameraManufacturer?7 +QtMultimedia.QMediaMetaData.CameraModel?7 +QtMultimedia.QMediaMetaData.Category?7 +QtMultimedia.QMediaMetaData.ChannelCount?7 +QtMultimedia.QMediaMetaData.ChapterNumber?7 +QtMultimedia.QMediaMetaData.Comment?7 +QtMultimedia.QMediaMetaData.Composer?7 +QtMultimedia.QMediaMetaData.Conductor?7 +QtMultimedia.QMediaMetaData.Contrast?7 +QtMultimedia.QMediaMetaData.ContributingArtist?7 +QtMultimedia.QMediaMetaData.Copyright?7 +QtMultimedia.QMediaMetaData.CoverArtImage?7 +QtMultimedia.QMediaMetaData.CoverArtUrlLarge?7 +QtMultimedia.QMediaMetaData.CoverArtUrlSmall?7 +QtMultimedia.QMediaMetaData.Date?7 +QtMultimedia.QMediaMetaData.DateTimeDigitized?7 +QtMultimedia.QMediaMetaData.DateTimeOriginal?7 +QtMultimedia.QMediaMetaData.Description?7 +QtMultimedia.QMediaMetaData.DeviceSettingDescription?7 +QtMultimedia.QMediaMetaData.DigitalZoomRatio?7 +QtMultimedia.QMediaMetaData.Director?7 +QtMultimedia.QMediaMetaData.Duration?7 +QtMultimedia.QMediaMetaData.Event?7 +QtMultimedia.QMediaMetaData.ExposureBiasValue?7 +QtMultimedia.QMediaMetaData.ExposureMode?7 +QtMultimedia.QMediaMetaData.ExposureProgram?7 +QtMultimedia.QMediaMetaData.ExposureTime?7 +QtMultimedia.QMediaMetaData.FNumber?7 +QtMultimedia.QMediaMetaData.Flash?7 +QtMultimedia.QMediaMetaData.FocalLength?7 +QtMultimedia.QMediaMetaData.FocalLengthIn35mmFilm?7 +QtMultimedia.QMediaMetaData.GPSAltitude?7 +QtMultimedia.QMediaMetaData.GPSAreaInformation?7 +QtMultimedia.QMediaMetaData.GPSDOP?7 +QtMultimedia.QMediaMetaData.GPSImgDirection?7 +QtMultimedia.QMediaMetaData.GPSImgDirectionRef?7 +QtMultimedia.QMediaMetaData.GPSLatitude?7 +QtMultimedia.QMediaMetaData.GPSLongitude?7 +QtMultimedia.QMediaMetaData.GPSMapDatum?7 +QtMultimedia.QMediaMetaData.GPSProcessingMethod?7 +QtMultimedia.QMediaMetaData.GPSSatellites?7 +QtMultimedia.QMediaMetaData.GPSSpeed?7 +QtMultimedia.QMediaMetaData.GPSStatus?7 +QtMultimedia.QMediaMetaData.GPSTimeStamp?7 +QtMultimedia.QMediaMetaData.GPSTrack?7 +QtMultimedia.QMediaMetaData.GPSTrackRef?7 +QtMultimedia.QMediaMetaData.GainControl?7 +QtMultimedia.QMediaMetaData.Genre?7 +QtMultimedia.QMediaMetaData.ISOSpeedRatings?7 +QtMultimedia.QMediaMetaData.Keywords?7 +QtMultimedia.QMediaMetaData.Language?7 +QtMultimedia.QMediaMetaData.LeadPerformer?7 +QtMultimedia.QMediaMetaData.LightSource?7 +QtMultimedia.QMediaMetaData.Lyrics?7 +QtMultimedia.QMediaMetaData.MediaType?7 +QtMultimedia.QMediaMetaData.MeteringMode?7 +QtMultimedia.QMediaMetaData.Mood?7 +QtMultimedia.QMediaMetaData.Orientation?7 +QtMultimedia.QMediaMetaData.ParentalRating?7 +QtMultimedia.QMediaMetaData.PeakValue?7 +QtMultimedia.QMediaMetaData.PixelAspectRatio?7 +QtMultimedia.QMediaMetaData.PosterImage?7 +QtMultimedia.QMediaMetaData.PosterUrl?7 +QtMultimedia.QMediaMetaData.Publisher?7 +QtMultimedia.QMediaMetaData.RatingOrganization?7 +QtMultimedia.QMediaMetaData.Resolution?7 +QtMultimedia.QMediaMetaData.SampleRate?7 +QtMultimedia.QMediaMetaData.Saturation?7 +QtMultimedia.QMediaMetaData.SceneCaptureType?7 +QtMultimedia.QMediaMetaData.Sharpness?7 +QtMultimedia.QMediaMetaData.Size?7 +QtMultimedia.QMediaMetaData.SubTitle?7 +QtMultimedia.QMediaMetaData.Subject?7 +QtMultimedia.QMediaMetaData.SubjectDistance?7 +QtMultimedia.QMediaMetaData.ThumbnailImage?7 +QtMultimedia.QMediaMetaData.Title?7 +QtMultimedia.QMediaMetaData.TrackCount?7 +QtMultimedia.QMediaMetaData.TrackNumber?7 +QtMultimedia.QMediaMetaData.UserRating?7 +QtMultimedia.QMediaMetaData.VideoBitRate?7 +QtMultimedia.QMediaMetaData.VideoCodec?7 +QtMultimedia.QMediaMetaData.VideoFrameRate?7 +QtMultimedia.QMediaMetaData.WhiteBalance?7 +QtMultimedia.QMediaMetaData.Writer?7 +QtMultimedia.QMediaMetaData.Year?7 +QtMultimedia.QMediaNetworkAccessControl?1(QObject parent=None) +QtMultimedia.QMediaNetworkAccessControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaNetworkAccessControl.setConfigurations?4(unknown-type) +QtMultimedia.QMediaNetworkAccessControl.currentConfiguration?4() -> QNetworkConfiguration +QtMultimedia.QMediaNetworkAccessControl.configurationChanged?4(QNetworkConfiguration) +QtMultimedia.QMediaPlayer.Error?10 +QtMultimedia.QMediaPlayer.Error.NoError?10 +QtMultimedia.QMediaPlayer.Error.ResourceError?10 +QtMultimedia.QMediaPlayer.Error.FormatError?10 +QtMultimedia.QMediaPlayer.Error.NetworkError?10 +QtMultimedia.QMediaPlayer.Error.AccessDeniedError?10 +QtMultimedia.QMediaPlayer.Error.ServiceMissingError?10 +QtMultimedia.QMediaPlayer.Flag?10 +QtMultimedia.QMediaPlayer.Flag.LowLatency?10 +QtMultimedia.QMediaPlayer.Flag.StreamPlayback?10 +QtMultimedia.QMediaPlayer.Flag.VideoSurface?10 +QtMultimedia.QMediaPlayer.MediaStatus?10 +QtMultimedia.QMediaPlayer.MediaStatus.UnknownMediaStatus?10 +QtMultimedia.QMediaPlayer.MediaStatus.NoMedia?10 +QtMultimedia.QMediaPlayer.MediaStatus.LoadingMedia?10 +QtMultimedia.QMediaPlayer.MediaStatus.LoadedMedia?10 +QtMultimedia.QMediaPlayer.MediaStatus.StalledMedia?10 +QtMultimedia.QMediaPlayer.MediaStatus.BufferingMedia?10 +QtMultimedia.QMediaPlayer.MediaStatus.BufferedMedia?10 +QtMultimedia.QMediaPlayer.MediaStatus.EndOfMedia?10 +QtMultimedia.QMediaPlayer.MediaStatus.InvalidMedia?10 +QtMultimedia.QMediaPlayer.State?10 +QtMultimedia.QMediaPlayer.State.StoppedState?10 +QtMultimedia.QMediaPlayer.State.PlayingState?10 +QtMultimedia.QMediaPlayer.State.PausedState?10 +QtMultimedia.QMediaPlayer?1(QObject parent=None, QMediaPlayer.Flags flags=QMediaPlayer.Flags()) +QtMultimedia.QMediaPlayer.__init__?1(self, QObject parent=None, QMediaPlayer.Flags flags=QMediaPlayer.Flags()) +QtMultimedia.QMediaPlayer.hasSupport?4(QString, QStringList codecs=[], QMediaPlayer.Flags flags=QMediaPlayer.Flags()) -> QMultimedia.SupportEstimate +QtMultimedia.QMediaPlayer.supportedMimeTypes?4(QMediaPlayer.Flags flags=QMediaPlayer.Flags()) -> QStringList +QtMultimedia.QMediaPlayer.setVideoOutput?4(QVideoWidget) +QtMultimedia.QMediaPlayer.setVideoOutput?4(QGraphicsVideoItem) +QtMultimedia.QMediaPlayer.setVideoOutput?4(QAbstractVideoSurface) +QtMultimedia.QMediaPlayer.setVideoOutput?4(unknown-type) +QtMultimedia.QMediaPlayer.media?4() -> QMediaContent +QtMultimedia.QMediaPlayer.mediaStream?4() -> QIODevice +QtMultimedia.QMediaPlayer.playlist?4() -> QMediaPlaylist +QtMultimedia.QMediaPlayer.currentMedia?4() -> QMediaContent +QtMultimedia.QMediaPlayer.state?4() -> QMediaPlayer.State +QtMultimedia.QMediaPlayer.mediaStatus?4() -> QMediaPlayer.MediaStatus +QtMultimedia.QMediaPlayer.duration?4() -> int +QtMultimedia.QMediaPlayer.position?4() -> int +QtMultimedia.QMediaPlayer.volume?4() -> int +QtMultimedia.QMediaPlayer.isMuted?4() -> bool +QtMultimedia.QMediaPlayer.isAudioAvailable?4() -> bool +QtMultimedia.QMediaPlayer.isVideoAvailable?4() -> bool +QtMultimedia.QMediaPlayer.bufferStatus?4() -> int +QtMultimedia.QMediaPlayer.isSeekable?4() -> bool +QtMultimedia.QMediaPlayer.playbackRate?4() -> float +QtMultimedia.QMediaPlayer.error?4() -> QMediaPlayer.Error +QtMultimedia.QMediaPlayer.errorString?4() -> QString +QtMultimedia.QMediaPlayer.currentNetworkConfiguration?4() -> QNetworkConfiguration +QtMultimedia.QMediaPlayer.availability?4() -> QMultimedia.AvailabilityStatus +QtMultimedia.QMediaPlayer.play?4() +QtMultimedia.QMediaPlayer.pause?4() +QtMultimedia.QMediaPlayer.stop?4() +QtMultimedia.QMediaPlayer.setPosition?4(int) +QtMultimedia.QMediaPlayer.setVolume?4(int) +QtMultimedia.QMediaPlayer.setMuted?4(bool) +QtMultimedia.QMediaPlayer.setPlaybackRate?4(float) +QtMultimedia.QMediaPlayer.setMedia?4(QMediaContent, QIODevice stream=None) +QtMultimedia.QMediaPlayer.setPlaylist?4(QMediaPlaylist) +QtMultimedia.QMediaPlayer.setNetworkConfigurations?4(unknown-type) +QtMultimedia.QMediaPlayer.mediaChanged?4(QMediaContent) +QtMultimedia.QMediaPlayer.currentMediaChanged?4(QMediaContent) +QtMultimedia.QMediaPlayer.stateChanged?4(QMediaPlayer.State) +QtMultimedia.QMediaPlayer.mediaStatusChanged?4(QMediaPlayer.MediaStatus) +QtMultimedia.QMediaPlayer.durationChanged?4(int) +QtMultimedia.QMediaPlayer.positionChanged?4(int) +QtMultimedia.QMediaPlayer.volumeChanged?4(int) +QtMultimedia.QMediaPlayer.mutedChanged?4(bool) +QtMultimedia.QMediaPlayer.audioAvailableChanged?4(bool) +QtMultimedia.QMediaPlayer.videoAvailableChanged?4(bool) +QtMultimedia.QMediaPlayer.bufferStatusChanged?4(int) +QtMultimedia.QMediaPlayer.seekableChanged?4(bool) +QtMultimedia.QMediaPlayer.playbackRateChanged?4(float) +QtMultimedia.QMediaPlayer.error?4(QMediaPlayer.Error) +QtMultimedia.QMediaPlayer.networkConfigurationChanged?4(QNetworkConfiguration) +QtMultimedia.QMediaPlayer.bind?4(QObject) -> bool +QtMultimedia.QMediaPlayer.unbind?4(QObject) +QtMultimedia.QMediaPlayer.audioRole?4() -> QAudio.Role +QtMultimedia.QMediaPlayer.setAudioRole?4(QAudio.Role) +QtMultimedia.QMediaPlayer.supportedAudioRoles?4() -> unknown-type +QtMultimedia.QMediaPlayer.audioRoleChanged?4(QAudio.Role) +QtMultimedia.QMediaPlayer.customAudioRole?4() -> QString +QtMultimedia.QMediaPlayer.setCustomAudioRole?4(QString) +QtMultimedia.QMediaPlayer.supportedCustomAudioRoles?4() -> QStringList +QtMultimedia.QMediaPlayer.customAudioRoleChanged?4(QString) +QtMultimedia.QMediaPlayer.Flags?1() +QtMultimedia.QMediaPlayer.Flags.__init__?1(self) +QtMultimedia.QMediaPlayer.Flags?1(int) +QtMultimedia.QMediaPlayer.Flags.__init__?1(self, int) +QtMultimedia.QMediaPlayer.Flags?1(QMediaPlayer.Flags) +QtMultimedia.QMediaPlayer.Flags.__init__?1(self, QMediaPlayer.Flags) +QtMultimedia.QMediaPlayerControl?1(QObject parent=None) +QtMultimedia.QMediaPlayerControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaPlayerControl.state?4() -> QMediaPlayer.State +QtMultimedia.QMediaPlayerControl.mediaStatus?4() -> QMediaPlayer.MediaStatus +QtMultimedia.QMediaPlayerControl.duration?4() -> int +QtMultimedia.QMediaPlayerControl.position?4() -> int +QtMultimedia.QMediaPlayerControl.setPosition?4(int) +QtMultimedia.QMediaPlayerControl.volume?4() -> int +QtMultimedia.QMediaPlayerControl.setVolume?4(int) +QtMultimedia.QMediaPlayerControl.isMuted?4() -> bool +QtMultimedia.QMediaPlayerControl.setMuted?4(bool) +QtMultimedia.QMediaPlayerControl.bufferStatus?4() -> int +QtMultimedia.QMediaPlayerControl.isAudioAvailable?4() -> bool +QtMultimedia.QMediaPlayerControl.isVideoAvailable?4() -> bool +QtMultimedia.QMediaPlayerControl.isSeekable?4() -> bool +QtMultimedia.QMediaPlayerControl.availablePlaybackRanges?4() -> QMediaTimeRange +QtMultimedia.QMediaPlayerControl.playbackRate?4() -> float +QtMultimedia.QMediaPlayerControl.setPlaybackRate?4(float) +QtMultimedia.QMediaPlayerControl.media?4() -> QMediaContent +QtMultimedia.QMediaPlayerControl.mediaStream?4() -> QIODevice +QtMultimedia.QMediaPlayerControl.setMedia?4(QMediaContent, QIODevice) +QtMultimedia.QMediaPlayerControl.play?4() +QtMultimedia.QMediaPlayerControl.pause?4() +QtMultimedia.QMediaPlayerControl.stop?4() +QtMultimedia.QMediaPlayerControl.mediaChanged?4(QMediaContent) +QtMultimedia.QMediaPlayerControl.durationChanged?4(int) +QtMultimedia.QMediaPlayerControl.positionChanged?4(int) +QtMultimedia.QMediaPlayerControl.stateChanged?4(QMediaPlayer.State) +QtMultimedia.QMediaPlayerControl.mediaStatusChanged?4(QMediaPlayer.MediaStatus) +QtMultimedia.QMediaPlayerControl.volumeChanged?4(int) +QtMultimedia.QMediaPlayerControl.mutedChanged?4(bool) +QtMultimedia.QMediaPlayerControl.audioAvailableChanged?4(bool) +QtMultimedia.QMediaPlayerControl.videoAvailableChanged?4(bool) +QtMultimedia.QMediaPlayerControl.bufferStatusChanged?4(int) +QtMultimedia.QMediaPlayerControl.seekableChanged?4(bool) +QtMultimedia.QMediaPlayerControl.availablePlaybackRangesChanged?4(QMediaTimeRange) +QtMultimedia.QMediaPlayerControl.playbackRateChanged?4(float) +QtMultimedia.QMediaPlayerControl.error?4(int, QString) +QtMultimedia.QMediaPlaylist.Error?10 +QtMultimedia.QMediaPlaylist.Error.NoError?10 +QtMultimedia.QMediaPlaylist.Error.FormatError?10 +QtMultimedia.QMediaPlaylist.Error.FormatNotSupportedError?10 +QtMultimedia.QMediaPlaylist.Error.NetworkError?10 +QtMultimedia.QMediaPlaylist.Error.AccessDeniedError?10 +QtMultimedia.QMediaPlaylist.PlaybackMode?10 +QtMultimedia.QMediaPlaylist.PlaybackMode.CurrentItemOnce?10 +QtMultimedia.QMediaPlaylist.PlaybackMode.CurrentItemInLoop?10 +QtMultimedia.QMediaPlaylist.PlaybackMode.Sequential?10 +QtMultimedia.QMediaPlaylist.PlaybackMode.Loop?10 +QtMultimedia.QMediaPlaylist.PlaybackMode.Random?10 +QtMultimedia.QMediaPlaylist?1(QObject parent=None) +QtMultimedia.QMediaPlaylist.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaPlaylist.mediaObject?4() -> QMediaObject +QtMultimedia.QMediaPlaylist.playbackMode?4() -> QMediaPlaylist.PlaybackMode +QtMultimedia.QMediaPlaylist.setPlaybackMode?4(QMediaPlaylist.PlaybackMode) +QtMultimedia.QMediaPlaylist.currentIndex?4() -> int +QtMultimedia.QMediaPlaylist.currentMedia?4() -> QMediaContent +QtMultimedia.QMediaPlaylist.nextIndex?4(int steps=1) -> int +QtMultimedia.QMediaPlaylist.previousIndex?4(int steps=1) -> int +QtMultimedia.QMediaPlaylist.media?4(int) -> QMediaContent +QtMultimedia.QMediaPlaylist.mediaCount?4() -> int +QtMultimedia.QMediaPlaylist.isEmpty?4() -> bool +QtMultimedia.QMediaPlaylist.isReadOnly?4() -> bool +QtMultimedia.QMediaPlaylist.addMedia?4(QMediaContent) -> bool +QtMultimedia.QMediaPlaylist.addMedia?4(unknown-type) -> bool +QtMultimedia.QMediaPlaylist.insertMedia?4(int, QMediaContent) -> bool +QtMultimedia.QMediaPlaylist.insertMedia?4(int, unknown-type) -> bool +QtMultimedia.QMediaPlaylist.removeMedia?4(int) -> bool +QtMultimedia.QMediaPlaylist.removeMedia?4(int, int) -> bool +QtMultimedia.QMediaPlaylist.clear?4() -> bool +QtMultimedia.QMediaPlaylist.load?4(QNetworkRequest, str format=None) +QtMultimedia.QMediaPlaylist.load?4(QUrl, str format=None) +QtMultimedia.QMediaPlaylist.load?4(QIODevice, str format=None) +QtMultimedia.QMediaPlaylist.save?4(QUrl, str format=None) -> bool +QtMultimedia.QMediaPlaylist.save?4(QIODevice, str) -> bool +QtMultimedia.QMediaPlaylist.error?4() -> QMediaPlaylist.Error +QtMultimedia.QMediaPlaylist.errorString?4() -> QString +QtMultimedia.QMediaPlaylist.moveMedia?4(int, int) -> bool +QtMultimedia.QMediaPlaylist.shuffle?4() +QtMultimedia.QMediaPlaylist.next?4() +QtMultimedia.QMediaPlaylist.previous?4() +QtMultimedia.QMediaPlaylist.setCurrentIndex?4(int) +QtMultimedia.QMediaPlaylist.currentIndexChanged?4(int) +QtMultimedia.QMediaPlaylist.playbackModeChanged?4(QMediaPlaylist.PlaybackMode) +QtMultimedia.QMediaPlaylist.currentMediaChanged?4(QMediaContent) +QtMultimedia.QMediaPlaylist.mediaAboutToBeInserted?4(int, int) +QtMultimedia.QMediaPlaylist.mediaInserted?4(int, int) +QtMultimedia.QMediaPlaylist.mediaAboutToBeRemoved?4(int, int) +QtMultimedia.QMediaPlaylist.mediaRemoved?4(int, int) +QtMultimedia.QMediaPlaylist.mediaChanged?4(int, int) +QtMultimedia.QMediaPlaylist.loaded?4() +QtMultimedia.QMediaPlaylist.loadFailed?4() +QtMultimedia.QMediaPlaylist.setMediaObject?4(QMediaObject) -> bool +QtMultimedia.QMediaRecorderControl?1(QObject parent=None) +QtMultimedia.QMediaRecorderControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaRecorderControl.outputLocation?4() -> QUrl +QtMultimedia.QMediaRecorderControl.setOutputLocation?4(QUrl) -> bool +QtMultimedia.QMediaRecorderControl.state?4() -> QMediaRecorder.State +QtMultimedia.QMediaRecorderControl.status?4() -> QMediaRecorder.Status +QtMultimedia.QMediaRecorderControl.duration?4() -> int +QtMultimedia.QMediaRecorderControl.isMuted?4() -> bool +QtMultimedia.QMediaRecorderControl.volume?4() -> float +QtMultimedia.QMediaRecorderControl.applySettings?4() +QtMultimedia.QMediaRecorderControl.stateChanged?4(QMediaRecorder.State) +QtMultimedia.QMediaRecorderControl.statusChanged?4(QMediaRecorder.Status) +QtMultimedia.QMediaRecorderControl.durationChanged?4(int) +QtMultimedia.QMediaRecorderControl.mutedChanged?4(bool) +QtMultimedia.QMediaRecorderControl.volumeChanged?4(float) +QtMultimedia.QMediaRecorderControl.actualLocationChanged?4(QUrl) +QtMultimedia.QMediaRecorderControl.error?4(int, QString) +QtMultimedia.QMediaRecorderControl.setState?4(QMediaRecorder.State) +QtMultimedia.QMediaRecorderControl.setMuted?4(bool) +QtMultimedia.QMediaRecorderControl.setVolume?4(float) +QtMultimedia.QMediaResource?1() +QtMultimedia.QMediaResource.__init__?1(self) +QtMultimedia.QMediaResource?1(QUrl, QString mimeType='') +QtMultimedia.QMediaResource.__init__?1(self, QUrl, QString mimeType='') +QtMultimedia.QMediaResource?1(QNetworkRequest, QString mimeType='') +QtMultimedia.QMediaResource.__init__?1(self, QNetworkRequest, QString mimeType='') +QtMultimedia.QMediaResource?1(QMediaResource) +QtMultimedia.QMediaResource.__init__?1(self, QMediaResource) +QtMultimedia.QMediaResource.isNull?4() -> bool +QtMultimedia.QMediaResource.url?4() -> QUrl +QtMultimedia.QMediaResource.request?4() -> QNetworkRequest +QtMultimedia.QMediaResource.mimeType?4() -> QString +QtMultimedia.QMediaResource.language?4() -> QString +QtMultimedia.QMediaResource.setLanguage?4(QString) +QtMultimedia.QMediaResource.audioCodec?4() -> QString +QtMultimedia.QMediaResource.setAudioCodec?4(QString) +QtMultimedia.QMediaResource.videoCodec?4() -> QString +QtMultimedia.QMediaResource.setVideoCodec?4(QString) +QtMultimedia.QMediaResource.dataSize?4() -> int +QtMultimedia.QMediaResource.setDataSize?4(int) +QtMultimedia.QMediaResource.audioBitRate?4() -> int +QtMultimedia.QMediaResource.setAudioBitRate?4(int) +QtMultimedia.QMediaResource.sampleRate?4() -> int +QtMultimedia.QMediaResource.setSampleRate?4(int) +QtMultimedia.QMediaResource.channelCount?4() -> int +QtMultimedia.QMediaResource.setChannelCount?4(int) +QtMultimedia.QMediaResource.videoBitRate?4() -> int +QtMultimedia.QMediaResource.setVideoBitRate?4(int) +QtMultimedia.QMediaResource.resolution?4() -> QSize +QtMultimedia.QMediaResource.setResolution?4(QSize) +QtMultimedia.QMediaResource.setResolution?4(int, int) +QtMultimedia.QMediaService?1(QObject) +QtMultimedia.QMediaService.__init__?1(self, QObject) +QtMultimedia.QMediaService.requestControl?4(str) -> QMediaControl +QtMultimedia.QMediaService.releaseControl?4(QMediaControl) +QtMultimedia.QMediaStreamsControl.StreamType?10 +QtMultimedia.QMediaStreamsControl.StreamType.UnknownStream?10 +QtMultimedia.QMediaStreamsControl.StreamType.VideoStream?10 +QtMultimedia.QMediaStreamsControl.StreamType.AudioStream?10 +QtMultimedia.QMediaStreamsControl.StreamType.SubPictureStream?10 +QtMultimedia.QMediaStreamsControl.StreamType.DataStream?10 +QtMultimedia.QMediaStreamsControl?1(QObject parent=None) +QtMultimedia.QMediaStreamsControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaStreamsControl.streamCount?4() -> int +QtMultimedia.QMediaStreamsControl.streamType?4(int) -> QMediaStreamsControl.StreamType +QtMultimedia.QMediaStreamsControl.metaData?4(int, QString) -> QVariant +QtMultimedia.QMediaStreamsControl.isActive?4(int) -> bool +QtMultimedia.QMediaStreamsControl.setActive?4(int, bool) +QtMultimedia.QMediaStreamsControl.streamsChanged?4() +QtMultimedia.QMediaStreamsControl.activeStreamsChanged?4() +QtMultimedia.QMediaTimeInterval?1() +QtMultimedia.QMediaTimeInterval.__init__?1(self) +QtMultimedia.QMediaTimeInterval?1(int, int) +QtMultimedia.QMediaTimeInterval.__init__?1(self, int, int) +QtMultimedia.QMediaTimeInterval?1(QMediaTimeInterval) +QtMultimedia.QMediaTimeInterval.__init__?1(self, QMediaTimeInterval) +QtMultimedia.QMediaTimeInterval.start?4() -> int +QtMultimedia.QMediaTimeInterval.end?4() -> int +QtMultimedia.QMediaTimeInterval.contains?4(int) -> bool +QtMultimedia.QMediaTimeInterval.isNormal?4() -> bool +QtMultimedia.QMediaTimeInterval.normalized?4() -> QMediaTimeInterval +QtMultimedia.QMediaTimeInterval.translated?4(int) -> QMediaTimeInterval +QtMultimedia.QMediaTimeRange?1() +QtMultimedia.QMediaTimeRange.__init__?1(self) +QtMultimedia.QMediaTimeRange?1(int, int) +QtMultimedia.QMediaTimeRange.__init__?1(self, int, int) +QtMultimedia.QMediaTimeRange?1(QMediaTimeInterval) +QtMultimedia.QMediaTimeRange.__init__?1(self, QMediaTimeInterval) +QtMultimedia.QMediaTimeRange?1(QMediaTimeRange) +QtMultimedia.QMediaTimeRange.__init__?1(self, QMediaTimeRange) +QtMultimedia.QMediaTimeRange.earliestTime?4() -> int +QtMultimedia.QMediaTimeRange.latestTime?4() -> int +QtMultimedia.QMediaTimeRange.intervals?4() -> unknown-type +QtMultimedia.QMediaTimeRange.isEmpty?4() -> bool +QtMultimedia.QMediaTimeRange.isContinuous?4() -> bool +QtMultimedia.QMediaTimeRange.contains?4(int) -> bool +QtMultimedia.QMediaTimeRange.addInterval?4(int, int) +QtMultimedia.QMediaTimeRange.addInterval?4(QMediaTimeInterval) +QtMultimedia.QMediaTimeRange.addTimeRange?4(QMediaTimeRange) +QtMultimedia.QMediaTimeRange.removeInterval?4(int, int) +QtMultimedia.QMediaTimeRange.removeInterval?4(QMediaTimeInterval) +QtMultimedia.QMediaTimeRange.removeTimeRange?4(QMediaTimeRange) +QtMultimedia.QMediaTimeRange.clear?4() +QtMultimedia.QMediaVideoProbeControl?1(QObject parent=None) +QtMultimedia.QMediaVideoProbeControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMediaVideoProbeControl.videoFrameProbed?4(QVideoFrame) +QtMultimedia.QMediaVideoProbeControl.flush?4() +QtMultimedia.QMetaDataReaderControl?1(QObject parent=None) +QtMultimedia.QMetaDataReaderControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMetaDataReaderControl.isMetaDataAvailable?4() -> bool +QtMultimedia.QMetaDataReaderControl.metaData?4(QString) -> QVariant +QtMultimedia.QMetaDataReaderControl.availableMetaData?4() -> QStringList +QtMultimedia.QMetaDataReaderControl.metaDataChanged?4() +QtMultimedia.QMetaDataReaderControl.metaDataChanged?4(QString, QVariant) +QtMultimedia.QMetaDataReaderControl.metaDataAvailableChanged?4(bool) +QtMultimedia.QMetaDataWriterControl?1(QObject parent=None) +QtMultimedia.QMetaDataWriterControl.__init__?1(self, QObject parent=None) +QtMultimedia.QMetaDataWriterControl.isWritable?4() -> bool +QtMultimedia.QMetaDataWriterControl.isMetaDataAvailable?4() -> bool +QtMultimedia.QMetaDataWriterControl.metaData?4(QString) -> QVariant +QtMultimedia.QMetaDataWriterControl.setMetaData?4(QString, QVariant) +QtMultimedia.QMetaDataWriterControl.availableMetaData?4() -> QStringList +QtMultimedia.QMetaDataWriterControl.metaDataChanged?4() +QtMultimedia.QMetaDataWriterControl.metaDataChanged?4(QString, QVariant) +QtMultimedia.QMetaDataWriterControl.writableChanged?4(bool) +QtMultimedia.QMetaDataWriterControl.metaDataAvailableChanged?4(bool) +QtMultimedia.QMultimedia.AvailabilityStatus?10 +QtMultimedia.QMultimedia.AvailabilityStatus.Available?10 +QtMultimedia.QMultimedia.AvailabilityStatus.ServiceMissing?10 +QtMultimedia.QMultimedia.AvailabilityStatus.Busy?10 +QtMultimedia.QMultimedia.AvailabilityStatus.ResourceError?10 +QtMultimedia.QMultimedia.EncodingMode?10 +QtMultimedia.QMultimedia.EncodingMode.ConstantQualityEncoding?10 +QtMultimedia.QMultimedia.EncodingMode.ConstantBitRateEncoding?10 +QtMultimedia.QMultimedia.EncodingMode.AverageBitRateEncoding?10 +QtMultimedia.QMultimedia.EncodingMode.TwoPassEncoding?10 +QtMultimedia.QMultimedia.EncodingQuality?10 +QtMultimedia.QMultimedia.EncodingQuality.VeryLowQuality?10 +QtMultimedia.QMultimedia.EncodingQuality.LowQuality?10 +QtMultimedia.QMultimedia.EncodingQuality.NormalQuality?10 +QtMultimedia.QMultimedia.EncodingQuality.HighQuality?10 +QtMultimedia.QMultimedia.EncodingQuality.VeryHighQuality?10 +QtMultimedia.QMultimedia.SupportEstimate?10 +QtMultimedia.QMultimedia.SupportEstimate.NotSupported?10 +QtMultimedia.QMultimedia.SupportEstimate.MaybeSupported?10 +QtMultimedia.QMultimedia.SupportEstimate.ProbablySupported?10 +QtMultimedia.QMultimedia.SupportEstimate.PreferredService?10 +QtMultimedia.QRadioData.ProgramType?10 +QtMultimedia.QRadioData.ProgramType.Undefined?10 +QtMultimedia.QRadioData.ProgramType.News?10 +QtMultimedia.QRadioData.ProgramType.CurrentAffairs?10 +QtMultimedia.QRadioData.ProgramType.Information?10 +QtMultimedia.QRadioData.ProgramType.Sport?10 +QtMultimedia.QRadioData.ProgramType.Education?10 +QtMultimedia.QRadioData.ProgramType.Drama?10 +QtMultimedia.QRadioData.ProgramType.Culture?10 +QtMultimedia.QRadioData.ProgramType.Science?10 +QtMultimedia.QRadioData.ProgramType.Varied?10 +QtMultimedia.QRadioData.ProgramType.PopMusic?10 +QtMultimedia.QRadioData.ProgramType.RockMusic?10 +QtMultimedia.QRadioData.ProgramType.EasyListening?10 +QtMultimedia.QRadioData.ProgramType.LightClassical?10 +QtMultimedia.QRadioData.ProgramType.SeriousClassical?10 +QtMultimedia.QRadioData.ProgramType.OtherMusic?10 +QtMultimedia.QRadioData.ProgramType.Weather?10 +QtMultimedia.QRadioData.ProgramType.Finance?10 +QtMultimedia.QRadioData.ProgramType.ChildrensProgrammes?10 +QtMultimedia.QRadioData.ProgramType.SocialAffairs?10 +QtMultimedia.QRadioData.ProgramType.Religion?10 +QtMultimedia.QRadioData.ProgramType.PhoneIn?10 +QtMultimedia.QRadioData.ProgramType.Travel?10 +QtMultimedia.QRadioData.ProgramType.Leisure?10 +QtMultimedia.QRadioData.ProgramType.JazzMusic?10 +QtMultimedia.QRadioData.ProgramType.CountryMusic?10 +QtMultimedia.QRadioData.ProgramType.NationalMusic?10 +QtMultimedia.QRadioData.ProgramType.OldiesMusic?10 +QtMultimedia.QRadioData.ProgramType.FolkMusic?10 +QtMultimedia.QRadioData.ProgramType.Documentary?10 +QtMultimedia.QRadioData.ProgramType.AlarmTest?10 +QtMultimedia.QRadioData.ProgramType.Alarm?10 +QtMultimedia.QRadioData.ProgramType.Talk?10 +QtMultimedia.QRadioData.ProgramType.ClassicRock?10 +QtMultimedia.QRadioData.ProgramType.AdultHits?10 +QtMultimedia.QRadioData.ProgramType.SoftRock?10 +QtMultimedia.QRadioData.ProgramType.Top40?10 +QtMultimedia.QRadioData.ProgramType.Soft?10 +QtMultimedia.QRadioData.ProgramType.Nostalgia?10 +QtMultimedia.QRadioData.ProgramType.Classical?10 +QtMultimedia.QRadioData.ProgramType.RhythmAndBlues?10 +QtMultimedia.QRadioData.ProgramType.SoftRhythmAndBlues?10 +QtMultimedia.QRadioData.ProgramType.Language?10 +QtMultimedia.QRadioData.ProgramType.ReligiousMusic?10 +QtMultimedia.QRadioData.ProgramType.ReligiousTalk?10 +QtMultimedia.QRadioData.ProgramType.Personality?10 +QtMultimedia.QRadioData.ProgramType.Public?10 +QtMultimedia.QRadioData.ProgramType.College?10 +QtMultimedia.QRadioData.Error?10 +QtMultimedia.QRadioData.Error.NoError?10 +QtMultimedia.QRadioData.Error.ResourceError?10 +QtMultimedia.QRadioData.Error.OpenError?10 +QtMultimedia.QRadioData.Error.OutOfRangeError?10 +QtMultimedia.QRadioData?1(QMediaObject, QObject parent=None) +QtMultimedia.QRadioData.__init__?1(self, QMediaObject, QObject parent=None) +QtMultimedia.QRadioData.mediaObject?4() -> QMediaObject +QtMultimedia.QRadioData.availability?4() -> QMultimedia.AvailabilityStatus +QtMultimedia.QRadioData.stationId?4() -> QString +QtMultimedia.QRadioData.programType?4() -> QRadioData.ProgramType +QtMultimedia.QRadioData.programTypeName?4() -> QString +QtMultimedia.QRadioData.stationName?4() -> QString +QtMultimedia.QRadioData.radioText?4() -> QString +QtMultimedia.QRadioData.isAlternativeFrequenciesEnabled?4() -> bool +QtMultimedia.QRadioData.error?4() -> QRadioData.Error +QtMultimedia.QRadioData.errorString?4() -> QString +QtMultimedia.QRadioData.setAlternativeFrequenciesEnabled?4(bool) +QtMultimedia.QRadioData.stationIdChanged?4(QString) +QtMultimedia.QRadioData.programTypeChanged?4(QRadioData.ProgramType) +QtMultimedia.QRadioData.programTypeNameChanged?4(QString) +QtMultimedia.QRadioData.stationNameChanged?4(QString) +QtMultimedia.QRadioData.radioTextChanged?4(QString) +QtMultimedia.QRadioData.alternativeFrequenciesEnabledChanged?4(bool) +QtMultimedia.QRadioData.error?4(QRadioData.Error) +QtMultimedia.QRadioData.setMediaObject?4(QMediaObject) -> bool +QtMultimedia.QRadioDataControl?1(QObject parent=None) +QtMultimedia.QRadioDataControl.__init__?1(self, QObject parent=None) +QtMultimedia.QRadioDataControl.stationId?4() -> QString +QtMultimedia.QRadioDataControl.programType?4() -> QRadioData.ProgramType +QtMultimedia.QRadioDataControl.programTypeName?4() -> QString +QtMultimedia.QRadioDataControl.stationName?4() -> QString +QtMultimedia.QRadioDataControl.radioText?4() -> QString +QtMultimedia.QRadioDataControl.setAlternativeFrequenciesEnabled?4(bool) +QtMultimedia.QRadioDataControl.isAlternativeFrequenciesEnabled?4() -> bool +QtMultimedia.QRadioDataControl.error?4() -> QRadioData.Error +QtMultimedia.QRadioDataControl.errorString?4() -> QString +QtMultimedia.QRadioDataControl.stationIdChanged?4(QString) +QtMultimedia.QRadioDataControl.programTypeChanged?4(QRadioData.ProgramType) +QtMultimedia.QRadioDataControl.programTypeNameChanged?4(QString) +QtMultimedia.QRadioDataControl.stationNameChanged?4(QString) +QtMultimedia.QRadioDataControl.radioTextChanged?4(QString) +QtMultimedia.QRadioDataControl.alternativeFrequenciesEnabledChanged?4(bool) +QtMultimedia.QRadioDataControl.error?4(QRadioData.Error) +QtMultimedia.QRadioTuner.SearchMode?10 +QtMultimedia.QRadioTuner.SearchMode.SearchFast?10 +QtMultimedia.QRadioTuner.SearchMode.SearchGetStationId?10 +QtMultimedia.QRadioTuner.StereoMode?10 +QtMultimedia.QRadioTuner.StereoMode.ForceStereo?10 +QtMultimedia.QRadioTuner.StereoMode.ForceMono?10 +QtMultimedia.QRadioTuner.StereoMode.Auto?10 +QtMultimedia.QRadioTuner.Error?10 +QtMultimedia.QRadioTuner.Error.NoError?10 +QtMultimedia.QRadioTuner.Error.ResourceError?10 +QtMultimedia.QRadioTuner.Error.OpenError?10 +QtMultimedia.QRadioTuner.Error.OutOfRangeError?10 +QtMultimedia.QRadioTuner.Band?10 +QtMultimedia.QRadioTuner.Band.AM?10 +QtMultimedia.QRadioTuner.Band.FM?10 +QtMultimedia.QRadioTuner.Band.SW?10 +QtMultimedia.QRadioTuner.Band.LW?10 +QtMultimedia.QRadioTuner.Band.FM2?10 +QtMultimedia.QRadioTuner.State?10 +QtMultimedia.QRadioTuner.State.ActiveState?10 +QtMultimedia.QRadioTuner.State.StoppedState?10 +QtMultimedia.QRadioTuner?1(QObject parent=None) +QtMultimedia.QRadioTuner.__init__?1(self, QObject parent=None) +QtMultimedia.QRadioTuner.availability?4() -> QMultimedia.AvailabilityStatus +QtMultimedia.QRadioTuner.state?4() -> QRadioTuner.State +QtMultimedia.QRadioTuner.band?4() -> QRadioTuner.Band +QtMultimedia.QRadioTuner.isBandSupported?4(QRadioTuner.Band) -> bool +QtMultimedia.QRadioTuner.frequency?4() -> int +QtMultimedia.QRadioTuner.frequencyStep?4(QRadioTuner.Band) -> int +QtMultimedia.QRadioTuner.frequencyRange?4(QRadioTuner.Band) -> unknown-type +QtMultimedia.QRadioTuner.isStereo?4() -> bool +QtMultimedia.QRadioTuner.setStereoMode?4(QRadioTuner.StereoMode) +QtMultimedia.QRadioTuner.stereoMode?4() -> QRadioTuner.StereoMode +QtMultimedia.QRadioTuner.signalStrength?4() -> int +QtMultimedia.QRadioTuner.volume?4() -> int +QtMultimedia.QRadioTuner.isMuted?4() -> bool +QtMultimedia.QRadioTuner.isSearching?4() -> bool +QtMultimedia.QRadioTuner.isAntennaConnected?4() -> bool +QtMultimedia.QRadioTuner.error?4() -> QRadioTuner.Error +QtMultimedia.QRadioTuner.errorString?4() -> QString +QtMultimedia.QRadioTuner.radioData?4() -> QRadioData +QtMultimedia.QRadioTuner.searchForward?4() +QtMultimedia.QRadioTuner.searchBackward?4() +QtMultimedia.QRadioTuner.searchAllStations?4(QRadioTuner.SearchMode searchMode=QRadioTuner.SearchFast) +QtMultimedia.QRadioTuner.cancelSearch?4() +QtMultimedia.QRadioTuner.setBand?4(QRadioTuner.Band) +QtMultimedia.QRadioTuner.setFrequency?4(int) +QtMultimedia.QRadioTuner.setVolume?4(int) +QtMultimedia.QRadioTuner.setMuted?4(bool) +QtMultimedia.QRadioTuner.start?4() +QtMultimedia.QRadioTuner.stop?4() +QtMultimedia.QRadioTuner.stateChanged?4(QRadioTuner.State) +QtMultimedia.QRadioTuner.bandChanged?4(QRadioTuner.Band) +QtMultimedia.QRadioTuner.frequencyChanged?4(int) +QtMultimedia.QRadioTuner.stereoStatusChanged?4(bool) +QtMultimedia.QRadioTuner.searchingChanged?4(bool) +QtMultimedia.QRadioTuner.signalStrengthChanged?4(int) +QtMultimedia.QRadioTuner.volumeChanged?4(int) +QtMultimedia.QRadioTuner.mutedChanged?4(bool) +QtMultimedia.QRadioTuner.stationFound?4(int, QString) +QtMultimedia.QRadioTuner.antennaConnectedChanged?4(bool) +QtMultimedia.QRadioTuner.error?4(QRadioTuner.Error) +QtMultimedia.QRadioTunerControl?1(QObject parent=None) +QtMultimedia.QRadioTunerControl.__init__?1(self, QObject parent=None) +QtMultimedia.QRadioTunerControl.state?4() -> QRadioTuner.State +QtMultimedia.QRadioTunerControl.band?4() -> QRadioTuner.Band +QtMultimedia.QRadioTunerControl.setBand?4(QRadioTuner.Band) +QtMultimedia.QRadioTunerControl.isBandSupported?4(QRadioTuner.Band) -> bool +QtMultimedia.QRadioTunerControl.frequency?4() -> int +QtMultimedia.QRadioTunerControl.frequencyStep?4(QRadioTuner.Band) -> int +QtMultimedia.QRadioTunerControl.frequencyRange?4(QRadioTuner.Band) -> unknown-type +QtMultimedia.QRadioTunerControl.setFrequency?4(int) +QtMultimedia.QRadioTunerControl.isStereo?4() -> bool +QtMultimedia.QRadioTunerControl.stereoMode?4() -> QRadioTuner.StereoMode +QtMultimedia.QRadioTunerControl.setStereoMode?4(QRadioTuner.StereoMode) +QtMultimedia.QRadioTunerControl.signalStrength?4() -> int +QtMultimedia.QRadioTunerControl.volume?4() -> int +QtMultimedia.QRadioTunerControl.setVolume?4(int) +QtMultimedia.QRadioTunerControl.isMuted?4() -> bool +QtMultimedia.QRadioTunerControl.setMuted?4(bool) +QtMultimedia.QRadioTunerControl.isSearching?4() -> bool +QtMultimedia.QRadioTunerControl.isAntennaConnected?4() -> bool +QtMultimedia.QRadioTunerControl.searchForward?4() +QtMultimedia.QRadioTunerControl.searchBackward?4() +QtMultimedia.QRadioTunerControl.searchAllStations?4(QRadioTuner.SearchMode searchMode=QRadioTuner.SearchFast) +QtMultimedia.QRadioTunerControl.cancelSearch?4() +QtMultimedia.QRadioTunerControl.start?4() +QtMultimedia.QRadioTunerControl.stop?4() +QtMultimedia.QRadioTunerControl.error?4() -> QRadioTuner.Error +QtMultimedia.QRadioTunerControl.errorString?4() -> QString +QtMultimedia.QRadioTunerControl.stateChanged?4(QRadioTuner.State) +QtMultimedia.QRadioTunerControl.bandChanged?4(QRadioTuner.Band) +QtMultimedia.QRadioTunerControl.frequencyChanged?4(int) +QtMultimedia.QRadioTunerControl.stereoStatusChanged?4(bool) +QtMultimedia.QRadioTunerControl.searchingChanged?4(bool) +QtMultimedia.QRadioTunerControl.signalStrengthChanged?4(int) +QtMultimedia.QRadioTunerControl.volumeChanged?4(int) +QtMultimedia.QRadioTunerControl.mutedChanged?4(bool) +QtMultimedia.QRadioTunerControl.error?4(QRadioTuner.Error) +QtMultimedia.QRadioTunerControl.stationFound?4(int, QString) +QtMultimedia.QRadioTunerControl.antennaConnectedChanged?4(bool) +QtMultimedia.QSound.Loop?10 +QtMultimedia.QSound.Loop.Infinite?10 +QtMultimedia.QSound?1(QString, QObject parent=None) +QtMultimedia.QSound.__init__?1(self, QString, QObject parent=None) +QtMultimedia.QSound.play?4(QString) +QtMultimedia.QSound.loops?4() -> int +QtMultimedia.QSound.loopsRemaining?4() -> int +QtMultimedia.QSound.setLoops?4(int) +QtMultimedia.QSound.fileName?4() -> QString +QtMultimedia.QSound.isFinished?4() -> bool +QtMultimedia.QSound.play?4() +QtMultimedia.QSound.stop?4() +QtMultimedia.QSoundEffect.Status?10 +QtMultimedia.QSoundEffect.Status.Null?10 +QtMultimedia.QSoundEffect.Status.Loading?10 +QtMultimedia.QSoundEffect.Status.Ready?10 +QtMultimedia.QSoundEffect.Status.Error?10 +QtMultimedia.QSoundEffect.Loop?10 +QtMultimedia.QSoundEffect.Loop.Infinite?10 +QtMultimedia.QSoundEffect?1(QObject parent=None) +QtMultimedia.QSoundEffect.__init__?1(self, QObject parent=None) +QtMultimedia.QSoundEffect?1(QAudioDeviceInfo, QObject parent=None) +QtMultimedia.QSoundEffect.__init__?1(self, QAudioDeviceInfo, QObject parent=None) +QtMultimedia.QSoundEffect.supportedMimeTypes?4() -> QStringList +QtMultimedia.QSoundEffect.source?4() -> QUrl +QtMultimedia.QSoundEffect.setSource?4(QUrl) +QtMultimedia.QSoundEffect.loopCount?4() -> int +QtMultimedia.QSoundEffect.loopsRemaining?4() -> int +QtMultimedia.QSoundEffect.setLoopCount?4(int) +QtMultimedia.QSoundEffect.volume?4() -> float +QtMultimedia.QSoundEffect.setVolume?4(float) +QtMultimedia.QSoundEffect.isMuted?4() -> bool +QtMultimedia.QSoundEffect.setMuted?4(bool) +QtMultimedia.QSoundEffect.isLoaded?4() -> bool +QtMultimedia.QSoundEffect.isPlaying?4() -> bool +QtMultimedia.QSoundEffect.status?4() -> QSoundEffect.Status +QtMultimedia.QSoundEffect.category?4() -> QString +QtMultimedia.QSoundEffect.setCategory?4(QString) +QtMultimedia.QSoundEffect.sourceChanged?4() +QtMultimedia.QSoundEffect.loopCountChanged?4() +QtMultimedia.QSoundEffect.loopsRemainingChanged?4() +QtMultimedia.QSoundEffect.volumeChanged?4() +QtMultimedia.QSoundEffect.mutedChanged?4() +QtMultimedia.QSoundEffect.loadedChanged?4() +QtMultimedia.QSoundEffect.playingChanged?4() +QtMultimedia.QSoundEffect.statusChanged?4() +QtMultimedia.QSoundEffect.categoryChanged?4() +QtMultimedia.QSoundEffect.play?4() +QtMultimedia.QSoundEffect.stop?4() +QtMultimedia.QVideoDeviceSelectorControl?1(QObject parent=None) +QtMultimedia.QVideoDeviceSelectorControl.__init__?1(self, QObject parent=None) +QtMultimedia.QVideoDeviceSelectorControl.deviceCount?4() -> int +QtMultimedia.QVideoDeviceSelectorControl.deviceName?4(int) -> QString +QtMultimedia.QVideoDeviceSelectorControl.deviceDescription?4(int) -> QString +QtMultimedia.QVideoDeviceSelectorControl.defaultDevice?4() -> int +QtMultimedia.QVideoDeviceSelectorControl.selectedDevice?4() -> int +QtMultimedia.QVideoDeviceSelectorControl.setSelectedDevice?4(int) +QtMultimedia.QVideoDeviceSelectorControl.selectedDeviceChanged?4(int) +QtMultimedia.QVideoDeviceSelectorControl.selectedDeviceChanged?4(QString) +QtMultimedia.QVideoDeviceSelectorControl.devicesChanged?4() +QtMultimedia.QVideoEncoderSettingsControl?1(QObject parent=None) +QtMultimedia.QVideoEncoderSettingsControl.__init__?1(self, QObject parent=None) +QtMultimedia.QVideoEncoderSettingsControl.supportedResolutions?4(QVideoEncoderSettings) -> (unknown-type, bool) +QtMultimedia.QVideoEncoderSettingsControl.supportedFrameRates?4(QVideoEncoderSettings) -> (unknown-type, bool) +QtMultimedia.QVideoEncoderSettingsControl.supportedVideoCodecs?4() -> QStringList +QtMultimedia.QVideoEncoderSettingsControl.videoCodecDescription?4(QString) -> QString +QtMultimedia.QVideoEncoderSettingsControl.videoSettings?4() -> QVideoEncoderSettings +QtMultimedia.QVideoEncoderSettingsControl.setVideoSettings?4(QVideoEncoderSettings) +QtMultimedia.QVideoFrame.PixelFormat?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_Invalid?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_ARGB32?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_ARGB32_Premultiplied?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_RGB32?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_RGB24?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_RGB565?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_RGB555?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_ARGB8565_Premultiplied?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_BGRA32?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_BGRA32_Premultiplied?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_BGR32?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_BGR24?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_BGR565?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_BGR555?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_BGRA5658_Premultiplied?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_AYUV444?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_AYUV444_Premultiplied?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_YUV444?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_YUV420P?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_YV12?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_UYVY?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_YUYV?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_NV12?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_NV21?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_IMC1?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_IMC2?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_IMC3?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_IMC4?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_Y8?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_Y16?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_Jpeg?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_CameraRaw?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_AdobeDng?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_ABGR32?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_YUV422P?10 +QtMultimedia.QVideoFrame.PixelFormat.Format_User?10 +QtMultimedia.QVideoFrame.FieldType?10 +QtMultimedia.QVideoFrame.FieldType.ProgressiveFrame?10 +QtMultimedia.QVideoFrame.FieldType.TopField?10 +QtMultimedia.QVideoFrame.FieldType.BottomField?10 +QtMultimedia.QVideoFrame.FieldType.InterlacedFrame?10 +QtMultimedia.QVideoFrame?1() +QtMultimedia.QVideoFrame.__init__?1(self) +QtMultimedia.QVideoFrame?1(QAbstractVideoBuffer, QSize, QVideoFrame.PixelFormat) +QtMultimedia.QVideoFrame.__init__?1(self, QAbstractVideoBuffer, QSize, QVideoFrame.PixelFormat) +QtMultimedia.QVideoFrame?1(int, QSize, int, QVideoFrame.PixelFormat) +QtMultimedia.QVideoFrame.__init__?1(self, int, QSize, int, QVideoFrame.PixelFormat) +QtMultimedia.QVideoFrame?1(QImage) +QtMultimedia.QVideoFrame.__init__?1(self, QImage) +QtMultimedia.QVideoFrame?1(QVideoFrame) +QtMultimedia.QVideoFrame.__init__?1(self, QVideoFrame) +QtMultimedia.QVideoFrame.isValid?4() -> bool +QtMultimedia.QVideoFrame.pixelFormat?4() -> QVideoFrame.PixelFormat +QtMultimedia.QVideoFrame.handleType?4() -> QAbstractVideoBuffer.HandleType +QtMultimedia.QVideoFrame.size?4() -> QSize +QtMultimedia.QVideoFrame.width?4() -> int +QtMultimedia.QVideoFrame.height?4() -> int +QtMultimedia.QVideoFrame.fieldType?4() -> QVideoFrame.FieldType +QtMultimedia.QVideoFrame.setFieldType?4(QVideoFrame.FieldType) +QtMultimedia.QVideoFrame.isMapped?4() -> bool +QtMultimedia.QVideoFrame.isReadable?4() -> bool +QtMultimedia.QVideoFrame.isWritable?4() -> bool +QtMultimedia.QVideoFrame.mapMode?4() -> QAbstractVideoBuffer.MapMode +QtMultimedia.QVideoFrame.map?4(QAbstractVideoBuffer.MapMode) -> bool +QtMultimedia.QVideoFrame.unmap?4() +QtMultimedia.QVideoFrame.bytesPerLine?4() -> int +QtMultimedia.QVideoFrame.bytesPerLine?4(int) -> int +QtMultimedia.QVideoFrame.bits?4() -> object +QtMultimedia.QVideoFrame.bits?4(int) -> sip.voidptr +QtMultimedia.QVideoFrame.mappedBytes?4() -> int +QtMultimedia.QVideoFrame.handle?4() -> QVariant +QtMultimedia.QVideoFrame.startTime?4() -> int +QtMultimedia.QVideoFrame.setStartTime?4(int) +QtMultimedia.QVideoFrame.endTime?4() -> int +QtMultimedia.QVideoFrame.setEndTime?4(int) +QtMultimedia.QVideoFrame.pixelFormatFromImageFormat?4(QImage.Format) -> QVideoFrame.PixelFormat +QtMultimedia.QVideoFrame.imageFormatFromPixelFormat?4(QVideoFrame.PixelFormat) -> QImage.Format +QtMultimedia.QVideoFrame.availableMetaData?4() -> QVariantMap +QtMultimedia.QVideoFrame.metaData?4(QString) -> QVariant +QtMultimedia.QVideoFrame.setMetaData?4(QString, QVariant) +QtMultimedia.QVideoFrame.planeCount?4() -> int +QtMultimedia.QVideoFrame.buffer?4() -> QAbstractVideoBuffer +QtMultimedia.QVideoFrame.image?4() -> QImage +QtMultimedia.QVideoProbe?1(QObject parent=None) +QtMultimedia.QVideoProbe.__init__?1(self, QObject parent=None) +QtMultimedia.QVideoProbe.setSource?4(QMediaObject) -> bool +QtMultimedia.QVideoProbe.setSource?4(QMediaRecorder) -> bool +QtMultimedia.QVideoProbe.isActive?4() -> bool +QtMultimedia.QVideoProbe.videoFrameProbed?4(QVideoFrame) +QtMultimedia.QVideoProbe.flush?4() +QtMultimedia.QVideoRendererControl?1(QObject parent=None) +QtMultimedia.QVideoRendererControl.__init__?1(self, QObject parent=None) +QtMultimedia.QVideoRendererControl.surface?4() -> QAbstractVideoSurface +QtMultimedia.QVideoRendererControl.setSurface?4(QAbstractVideoSurface) +QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace?10 +QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace.YCbCr_Undefined?10 +QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace.YCbCr_BT601?10 +QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace.YCbCr_BT709?10 +QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace.YCbCr_xvYCC601?10 +QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace.YCbCr_xvYCC709?10 +QtMultimedia.QVideoSurfaceFormat.YCbCrColorSpace.YCbCr_JPEG?10 +QtMultimedia.QVideoSurfaceFormat.Direction?10 +QtMultimedia.QVideoSurfaceFormat.Direction.TopToBottom?10 +QtMultimedia.QVideoSurfaceFormat.Direction.BottomToTop?10 +QtMultimedia.QVideoSurfaceFormat?1() +QtMultimedia.QVideoSurfaceFormat.__init__?1(self) +QtMultimedia.QVideoSurfaceFormat?1(QSize, QVideoFrame.PixelFormat, QAbstractVideoBuffer.HandleType type=QAbstractVideoBuffer.NoHandle) +QtMultimedia.QVideoSurfaceFormat.__init__?1(self, QSize, QVideoFrame.PixelFormat, QAbstractVideoBuffer.HandleType type=QAbstractVideoBuffer.NoHandle) +QtMultimedia.QVideoSurfaceFormat?1(QVideoSurfaceFormat) +QtMultimedia.QVideoSurfaceFormat.__init__?1(self, QVideoSurfaceFormat) +QtMultimedia.QVideoSurfaceFormat.isValid?4() -> bool +QtMultimedia.QVideoSurfaceFormat.pixelFormat?4() -> QVideoFrame.PixelFormat +QtMultimedia.QVideoSurfaceFormat.handleType?4() -> QAbstractVideoBuffer.HandleType +QtMultimedia.QVideoSurfaceFormat.frameSize?4() -> QSize +QtMultimedia.QVideoSurfaceFormat.setFrameSize?4(QSize) +QtMultimedia.QVideoSurfaceFormat.setFrameSize?4(int, int) +QtMultimedia.QVideoSurfaceFormat.frameWidth?4() -> int +QtMultimedia.QVideoSurfaceFormat.frameHeight?4() -> int +QtMultimedia.QVideoSurfaceFormat.viewport?4() -> QRect +QtMultimedia.QVideoSurfaceFormat.setViewport?4(QRect) +QtMultimedia.QVideoSurfaceFormat.scanLineDirection?4() -> QVideoSurfaceFormat.Direction +QtMultimedia.QVideoSurfaceFormat.setScanLineDirection?4(QVideoSurfaceFormat.Direction) +QtMultimedia.QVideoSurfaceFormat.frameRate?4() -> float +QtMultimedia.QVideoSurfaceFormat.setFrameRate?4(float) +QtMultimedia.QVideoSurfaceFormat.pixelAspectRatio?4() -> QSize +QtMultimedia.QVideoSurfaceFormat.setPixelAspectRatio?4(QSize) +QtMultimedia.QVideoSurfaceFormat.setPixelAspectRatio?4(int, int) +QtMultimedia.QVideoSurfaceFormat.yCbCrColorSpace?4() -> QVideoSurfaceFormat.YCbCrColorSpace +QtMultimedia.QVideoSurfaceFormat.setYCbCrColorSpace?4(QVideoSurfaceFormat.YCbCrColorSpace) +QtMultimedia.QVideoSurfaceFormat.sizeHint?4() -> QSize +QtMultimedia.QVideoSurfaceFormat.propertyNames?4() -> unknown-type +QtMultimedia.QVideoSurfaceFormat.property?4(str) -> QVariant +QtMultimedia.QVideoSurfaceFormat.setProperty?4(str, QVariant) +QtMultimedia.QVideoSurfaceFormat.isMirrored?4() -> bool +QtMultimedia.QVideoSurfaceFormat.setMirrored?4(bool) +QtMultimedia.QVideoWindowControl?1(QObject parent=None) +QtMultimedia.QVideoWindowControl.__init__?1(self, QObject parent=None) +QtMultimedia.QVideoWindowControl.winId?4() -> quintptr +QtMultimedia.QVideoWindowControl.setWinId?4(quintptr) +QtMultimedia.QVideoWindowControl.displayRect?4() -> QRect +QtMultimedia.QVideoWindowControl.setDisplayRect?4(QRect) +QtMultimedia.QVideoWindowControl.isFullScreen?4() -> bool +QtMultimedia.QVideoWindowControl.setFullScreen?4(bool) +QtMultimedia.QVideoWindowControl.repaint?4() +QtMultimedia.QVideoWindowControl.nativeSize?4() -> QSize +QtMultimedia.QVideoWindowControl.aspectRatioMode?4() -> Qt.AspectRatioMode +QtMultimedia.QVideoWindowControl.setAspectRatioMode?4(Qt.AspectRatioMode) +QtMultimedia.QVideoWindowControl.brightness?4() -> int +QtMultimedia.QVideoWindowControl.setBrightness?4(int) +QtMultimedia.QVideoWindowControl.contrast?4() -> int +QtMultimedia.QVideoWindowControl.setContrast?4(int) +QtMultimedia.QVideoWindowControl.hue?4() -> int +QtMultimedia.QVideoWindowControl.setHue?4(int) +QtMultimedia.QVideoWindowControl.saturation?4() -> int +QtMultimedia.QVideoWindowControl.setSaturation?4(int) +QtMultimedia.QVideoWindowControl.fullScreenChanged?4(bool) +QtMultimedia.QVideoWindowControl.brightnessChanged?4(int) +QtMultimedia.QVideoWindowControl.contrastChanged?4(int) +QtMultimedia.QVideoWindowControl.hueChanged?4(int) +QtMultimedia.QVideoWindowControl.saturationChanged?4(int) +QtMultimedia.QVideoWindowControl.nativeSizeChanged?4() +QtMultimediaWidgets.QVideoWidget?1(QWidget parent=None) +QtMultimediaWidgets.QVideoWidget.__init__?1(self, QWidget parent=None) +QtMultimediaWidgets.QVideoWidget.mediaObject?4() -> QMediaObject +QtMultimediaWidgets.QVideoWidget.aspectRatioMode?4() -> Qt.AspectRatioMode +QtMultimediaWidgets.QVideoWidget.brightness?4() -> int +QtMultimediaWidgets.QVideoWidget.contrast?4() -> int +QtMultimediaWidgets.QVideoWidget.hue?4() -> int +QtMultimediaWidgets.QVideoWidget.saturation?4() -> int +QtMultimediaWidgets.QVideoWidget.sizeHint?4() -> QSize +QtMultimediaWidgets.QVideoWidget.setFullScreen?4(bool) +QtMultimediaWidgets.QVideoWidget.setAspectRatioMode?4(Qt.AspectRatioMode) +QtMultimediaWidgets.QVideoWidget.setBrightness?4(int) +QtMultimediaWidgets.QVideoWidget.setContrast?4(int) +QtMultimediaWidgets.QVideoWidget.setHue?4(int) +QtMultimediaWidgets.QVideoWidget.setSaturation?4(int) +QtMultimediaWidgets.QVideoWidget.fullScreenChanged?4(bool) +QtMultimediaWidgets.QVideoWidget.brightnessChanged?4(int) +QtMultimediaWidgets.QVideoWidget.contrastChanged?4(int) +QtMultimediaWidgets.QVideoWidget.hueChanged?4(int) +QtMultimediaWidgets.QVideoWidget.saturationChanged?4(int) +QtMultimediaWidgets.QVideoWidget.event?4(QEvent) -> bool +QtMultimediaWidgets.QVideoWidget.showEvent?4(QShowEvent) +QtMultimediaWidgets.QVideoWidget.hideEvent?4(QHideEvent) +QtMultimediaWidgets.QVideoWidget.resizeEvent?4(QResizeEvent) +QtMultimediaWidgets.QVideoWidget.moveEvent?4(QMoveEvent) +QtMultimediaWidgets.QVideoWidget.paintEvent?4(QPaintEvent) +QtMultimediaWidgets.QVideoWidget.setMediaObject?4(QMediaObject) -> bool +QtMultimediaWidgets.QVideoWidget.videoSurface?4() -> QAbstractVideoSurface +QtMultimediaWidgets.QCameraViewfinder?1(QWidget parent=None) +QtMultimediaWidgets.QCameraViewfinder.__init__?1(self, QWidget parent=None) +QtMultimediaWidgets.QCameraViewfinder.mediaObject?4() -> QMediaObject +QtMultimediaWidgets.QCameraViewfinder.setMediaObject?4(QMediaObject) -> bool +QtMultimediaWidgets.QGraphicsVideoItem?1(QGraphicsItem parent=None) +QtMultimediaWidgets.QGraphicsVideoItem.__init__?1(self, QGraphicsItem parent=None) +QtMultimediaWidgets.QGraphicsVideoItem.mediaObject?4() -> QMediaObject +QtMultimediaWidgets.QGraphicsVideoItem.aspectRatioMode?4() -> Qt.AspectRatioMode +QtMultimediaWidgets.QGraphicsVideoItem.setAspectRatioMode?4(Qt.AspectRatioMode) +QtMultimediaWidgets.QGraphicsVideoItem.offset?4() -> QPointF +QtMultimediaWidgets.QGraphicsVideoItem.setOffset?4(QPointF) +QtMultimediaWidgets.QGraphicsVideoItem.size?4() -> QSizeF +QtMultimediaWidgets.QGraphicsVideoItem.setSize?4(QSizeF) +QtMultimediaWidgets.QGraphicsVideoItem.nativeSize?4() -> QSizeF +QtMultimediaWidgets.QGraphicsVideoItem.boundingRect?4() -> QRectF +QtMultimediaWidgets.QGraphicsVideoItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtMultimediaWidgets.QGraphicsVideoItem.nativeSizeChanged?4(QSizeF) +QtMultimediaWidgets.QGraphicsVideoItem.timerEvent?4(QTimerEvent) +QtMultimediaWidgets.QGraphicsVideoItem.itemChange?4(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant +QtMultimediaWidgets.QGraphicsVideoItem.setMediaObject?4(QMediaObject) -> bool +QtMultimediaWidgets.QGraphicsVideoItem.videoSurface?4() -> QAbstractVideoSurface +QtMultimediaWidgets.QVideoWidgetControl?1(QObject parent=None) +QtMultimediaWidgets.QVideoWidgetControl.__init__?1(self, QObject parent=None) +QtMultimediaWidgets.QVideoWidgetControl.videoWidget?4() -> QWidget +QtMultimediaWidgets.QVideoWidgetControl.aspectRatioMode?4() -> Qt.AspectRatioMode +QtMultimediaWidgets.QVideoWidgetControl.setAspectRatioMode?4(Qt.AspectRatioMode) +QtMultimediaWidgets.QVideoWidgetControl.isFullScreen?4() -> bool +QtMultimediaWidgets.QVideoWidgetControl.setFullScreen?4(bool) +QtMultimediaWidgets.QVideoWidgetControl.brightness?4() -> int +QtMultimediaWidgets.QVideoWidgetControl.setBrightness?4(int) +QtMultimediaWidgets.QVideoWidgetControl.contrast?4() -> int +QtMultimediaWidgets.QVideoWidgetControl.setContrast?4(int) +QtMultimediaWidgets.QVideoWidgetControl.hue?4() -> int +QtMultimediaWidgets.QVideoWidgetControl.setHue?4(int) +QtMultimediaWidgets.QVideoWidgetControl.saturation?4() -> int +QtMultimediaWidgets.QVideoWidgetControl.setSaturation?4(int) +QtMultimediaWidgets.QVideoWidgetControl.fullScreenChanged?4(bool) +QtMultimediaWidgets.QVideoWidgetControl.brightnessChanged?4(int) +QtMultimediaWidgets.QVideoWidgetControl.contrastChanged?4(int) +QtMultimediaWidgets.QVideoWidgetControl.hueChanged?4(int) +QtMultimediaWidgets.QVideoWidgetControl.saturationChanged?4(int) +QtNfc.QNdefFilter?1() +QtNfc.QNdefFilter.__init__?1(self) +QtNfc.QNdefFilter?1(QNdefFilter) +QtNfc.QNdefFilter.__init__?1(self, QNdefFilter) +QtNfc.QNdefFilter.clear?4() +QtNfc.QNdefFilter.setOrderMatch?4(bool) +QtNfc.QNdefFilter.orderMatch?4() -> bool +QtNfc.QNdefFilter.appendRecord?4(QNdefRecord.TypeNameFormat, QByteArray, int min=1, int max=1) +QtNfc.QNdefFilter.appendRecord?4(QNdefFilter.Record) +QtNfc.QNdefFilter.recordCount?4() -> int +QtNfc.QNdefFilter.recordAt?4(int) -> QNdefFilter.Record +QtNfc.QNdefFilter.Record.maximum?7 +QtNfc.QNdefFilter.Record.minimum?7 +QtNfc.QNdefFilter.Record.type?7 +QtNfc.QNdefFilter.Record.typeNameFormat?7 +QtNfc.QNdefFilter.Record?1() +QtNfc.QNdefFilter.Record.__init__?1(self) +QtNfc.QNdefFilter.Record?1(QNdefFilter.Record) +QtNfc.QNdefFilter.Record.__init__?1(self, QNdefFilter.Record) +QtNfc.QNdefMessage?1() +QtNfc.QNdefMessage.__init__?1(self) +QtNfc.QNdefMessage?1(QNdefRecord) +QtNfc.QNdefMessage.__init__?1(self, QNdefRecord) +QtNfc.QNdefMessage?1(QNdefMessage) +QtNfc.QNdefMessage.__init__?1(self, QNdefMessage) +QtNfc.QNdefMessage?1(unknown-type) +QtNfc.QNdefMessage.__init__?1(self, unknown-type) +QtNfc.QNdefMessage.toByteArray?4() -> QByteArray +QtNfc.QNdefMessage.fromByteArray?4(QByteArray) -> QNdefMessage +QtNfc.QNdefRecord.TypeNameFormat?10 +QtNfc.QNdefRecord.TypeNameFormat.Empty?10 +QtNfc.QNdefRecord.TypeNameFormat.NfcRtd?10 +QtNfc.QNdefRecord.TypeNameFormat.Mime?10 +QtNfc.QNdefRecord.TypeNameFormat.Uri?10 +QtNfc.QNdefRecord.TypeNameFormat.ExternalRtd?10 +QtNfc.QNdefRecord.TypeNameFormat.Unknown?10 +QtNfc.QNdefRecord?1() +QtNfc.QNdefRecord.__init__?1(self) +QtNfc.QNdefRecord?1(QNdefRecord) +QtNfc.QNdefRecord.__init__?1(self, QNdefRecord) +QtNfc.QNdefRecord.setTypeNameFormat?4(QNdefRecord.TypeNameFormat) +QtNfc.QNdefRecord.typeNameFormat?4() -> QNdefRecord.TypeNameFormat +QtNfc.QNdefRecord.setType?4(QByteArray) +QtNfc.QNdefRecord.type?4() -> QByteArray +QtNfc.QNdefRecord.setId?4(QByteArray) +QtNfc.QNdefRecord.id?4() -> QByteArray +QtNfc.QNdefRecord.setPayload?4(QByteArray) +QtNfc.QNdefRecord.payload?4() -> QByteArray +QtNfc.QNdefRecord.isEmpty?4() -> bool +QtNfc.QNdefNfcIconRecord?1() +QtNfc.QNdefNfcIconRecord.__init__?1(self) +QtNfc.QNdefNfcIconRecord?1(QNdefRecord) +QtNfc.QNdefNfcIconRecord.__init__?1(self, QNdefRecord) +QtNfc.QNdefNfcIconRecord?1(QNdefNfcIconRecord) +QtNfc.QNdefNfcIconRecord.__init__?1(self, QNdefNfcIconRecord) +QtNfc.QNdefNfcIconRecord.setData?4(QByteArray) +QtNfc.QNdefNfcIconRecord.data?4() -> QByteArray +QtNfc.QNdefNfcSmartPosterRecord.Action?10 +QtNfc.QNdefNfcSmartPosterRecord.Action.UnspecifiedAction?10 +QtNfc.QNdefNfcSmartPosterRecord.Action.DoAction?10 +QtNfc.QNdefNfcSmartPosterRecord.Action.SaveAction?10 +QtNfc.QNdefNfcSmartPosterRecord.Action.EditAction?10 +QtNfc.QNdefNfcSmartPosterRecord?1() +QtNfc.QNdefNfcSmartPosterRecord.__init__?1(self) +QtNfc.QNdefNfcSmartPosterRecord?1(QNdefNfcSmartPosterRecord) +QtNfc.QNdefNfcSmartPosterRecord.__init__?1(self, QNdefNfcSmartPosterRecord) +QtNfc.QNdefNfcSmartPosterRecord?1(QNdefRecord) +QtNfc.QNdefNfcSmartPosterRecord.__init__?1(self, QNdefRecord) +QtNfc.QNdefNfcSmartPosterRecord.setPayload?4(QByteArray) +QtNfc.QNdefNfcSmartPosterRecord.hasTitle?4(QString locale='') -> bool +QtNfc.QNdefNfcSmartPosterRecord.hasAction?4() -> bool +QtNfc.QNdefNfcSmartPosterRecord.hasIcon?4(QByteArray mimetype=QByteArray()) -> bool +QtNfc.QNdefNfcSmartPosterRecord.hasSize?4() -> bool +QtNfc.QNdefNfcSmartPosterRecord.hasTypeInfo?4() -> bool +QtNfc.QNdefNfcSmartPosterRecord.titleCount?4() -> int +QtNfc.QNdefNfcSmartPosterRecord.title?4(QString locale='') -> QString +QtNfc.QNdefNfcSmartPosterRecord.titleRecord?4(int) -> QNdefNfcTextRecord +QtNfc.QNdefNfcSmartPosterRecord.titleRecords?4() -> unknown-type +QtNfc.QNdefNfcSmartPosterRecord.addTitle?4(QNdefNfcTextRecord) -> bool +QtNfc.QNdefNfcSmartPosterRecord.addTitle?4(QString, QString, QNdefNfcTextRecord.Encoding) -> bool +QtNfc.QNdefNfcSmartPosterRecord.removeTitle?4(QNdefNfcTextRecord) -> bool +QtNfc.QNdefNfcSmartPosterRecord.removeTitle?4(QString) -> bool +QtNfc.QNdefNfcSmartPosterRecord.setTitles?4(unknown-type) +QtNfc.QNdefNfcSmartPosterRecord.uri?4() -> QUrl +QtNfc.QNdefNfcSmartPosterRecord.uriRecord?4() -> QNdefNfcUriRecord +QtNfc.QNdefNfcSmartPosterRecord.setUri?4(QNdefNfcUriRecord) +QtNfc.QNdefNfcSmartPosterRecord.setUri?4(QUrl) +QtNfc.QNdefNfcSmartPosterRecord.action?4() -> QNdefNfcSmartPosterRecord.Action +QtNfc.QNdefNfcSmartPosterRecord.setAction?4(QNdefNfcSmartPosterRecord.Action) +QtNfc.QNdefNfcSmartPosterRecord.iconCount?4() -> int +QtNfc.QNdefNfcSmartPosterRecord.icon?4(QByteArray mimetype=QByteArray()) -> QByteArray +QtNfc.QNdefNfcSmartPosterRecord.iconRecord?4(int) -> QNdefNfcIconRecord +QtNfc.QNdefNfcSmartPosterRecord.iconRecords?4() -> unknown-type +QtNfc.QNdefNfcSmartPosterRecord.addIcon?4(QNdefNfcIconRecord) +QtNfc.QNdefNfcSmartPosterRecord.addIcon?4(QByteArray, QByteArray) +QtNfc.QNdefNfcSmartPosterRecord.removeIcon?4(QNdefNfcIconRecord) -> bool +QtNfc.QNdefNfcSmartPosterRecord.removeIcon?4(QByteArray) -> bool +QtNfc.QNdefNfcSmartPosterRecord.setIcons?4(unknown-type) +QtNfc.QNdefNfcSmartPosterRecord.size?4() -> int +QtNfc.QNdefNfcSmartPosterRecord.setSize?4(int) +QtNfc.QNdefNfcSmartPosterRecord.typeInfo?4() -> QByteArray +QtNfc.QNdefNfcSmartPosterRecord.setTypeInfo?4(QByteArray) +QtNfc.QNdefNfcTextRecord.Encoding?10 +QtNfc.QNdefNfcTextRecord.Encoding.Utf8?10 +QtNfc.QNdefNfcTextRecord.Encoding.Utf16?10 +QtNfc.QNdefNfcTextRecord?1() +QtNfc.QNdefNfcTextRecord.__init__?1(self) +QtNfc.QNdefNfcTextRecord?1(QNdefRecord) +QtNfc.QNdefNfcTextRecord.__init__?1(self, QNdefRecord) +QtNfc.QNdefNfcTextRecord?1(QNdefNfcTextRecord) +QtNfc.QNdefNfcTextRecord.__init__?1(self, QNdefNfcTextRecord) +QtNfc.QNdefNfcTextRecord.locale?4() -> QString +QtNfc.QNdefNfcTextRecord.setLocale?4(QString) +QtNfc.QNdefNfcTextRecord.text?4() -> QString +QtNfc.QNdefNfcTextRecord.setText?4(QString) +QtNfc.QNdefNfcTextRecord.encoding?4() -> QNdefNfcTextRecord.Encoding +QtNfc.QNdefNfcTextRecord.setEncoding?4(QNdefNfcTextRecord.Encoding) +QtNfc.QNdefNfcUriRecord?1() +QtNfc.QNdefNfcUriRecord.__init__?1(self) +QtNfc.QNdefNfcUriRecord?1(QNdefRecord) +QtNfc.QNdefNfcUriRecord.__init__?1(self, QNdefRecord) +QtNfc.QNdefNfcUriRecord?1(QNdefNfcUriRecord) +QtNfc.QNdefNfcUriRecord.__init__?1(self, QNdefNfcUriRecord) +QtNfc.QNdefNfcUriRecord.uri?4() -> QUrl +QtNfc.QNdefNfcUriRecord.setUri?4(QUrl) +QtNfc.QNearFieldManager.AdapterState?10 +QtNfc.QNearFieldManager.AdapterState.Offline?10 +QtNfc.QNearFieldManager.AdapterState.TurningOn?10 +QtNfc.QNearFieldManager.AdapterState.Online?10 +QtNfc.QNearFieldManager.AdapterState.TurningOff?10 +QtNfc.QNearFieldManager.TargetAccessMode?10 +QtNfc.QNearFieldManager.TargetAccessMode.NoTargetAccess?10 +QtNfc.QNearFieldManager.TargetAccessMode.NdefReadTargetAccess?10 +QtNfc.QNearFieldManager.TargetAccessMode.NdefWriteTargetAccess?10 +QtNfc.QNearFieldManager.TargetAccessMode.TagTypeSpecificTargetAccess?10 +QtNfc.QNearFieldManager?1(QObject parent=None) +QtNfc.QNearFieldManager.__init__?1(self, QObject parent=None) +QtNfc.QNearFieldManager.isAvailable?4() -> bool +QtNfc.QNearFieldManager.setTargetAccessModes?4(QNearFieldManager.TargetAccessModes) +QtNfc.QNearFieldManager.targetAccessModes?4() -> QNearFieldManager.TargetAccessModes +QtNfc.QNearFieldManager.startTargetDetection?4() -> bool +QtNfc.QNearFieldManager.stopTargetDetection?4() +QtNfc.QNearFieldManager.registerNdefMessageHandler?4(object) -> int +QtNfc.QNearFieldManager.registerNdefMessageHandler?4(QNdefRecord.TypeNameFormat, QByteArray, object) -> int +QtNfc.QNearFieldManager.registerNdefMessageHandler?4(QNdefFilter, object) -> int +QtNfc.QNearFieldManager.unregisterNdefMessageHandler?4(int) -> bool +QtNfc.QNearFieldManager.targetDetected?4(QNearFieldTarget) +QtNfc.QNearFieldManager.targetLost?4(QNearFieldTarget) +QtNfc.QNearFieldManager.isSupported?4() -> bool +QtNfc.QNearFieldManager.adapterStateChanged?4(QNearFieldManager.AdapterState) +QtNfc.QNearFieldManager.TargetAccessModes?1() +QtNfc.QNearFieldManager.TargetAccessModes.__init__?1(self) +QtNfc.QNearFieldManager.TargetAccessModes?1(int) +QtNfc.QNearFieldManager.TargetAccessModes.__init__?1(self, int) +QtNfc.QNearFieldManager.TargetAccessModes?1(QNearFieldManager.TargetAccessModes) +QtNfc.QNearFieldManager.TargetAccessModes.__init__?1(self, QNearFieldManager.TargetAccessModes) +QtNfc.QNearFieldShareManager.ShareMode?10 +QtNfc.QNearFieldShareManager.ShareMode.NoShare?10 +QtNfc.QNearFieldShareManager.ShareMode.NdefShare?10 +QtNfc.QNearFieldShareManager.ShareMode.FileShare?10 +QtNfc.QNearFieldShareManager.ShareError?10 +QtNfc.QNearFieldShareManager.ShareError.NoError?10 +QtNfc.QNearFieldShareManager.ShareError.UnknownError?10 +QtNfc.QNearFieldShareManager.ShareError.InvalidShareContentError?10 +QtNfc.QNearFieldShareManager.ShareError.ShareCanceledError?10 +QtNfc.QNearFieldShareManager.ShareError.ShareInterruptedError?10 +QtNfc.QNearFieldShareManager.ShareError.ShareRejectedError?10 +QtNfc.QNearFieldShareManager.ShareError.UnsupportedShareModeError?10 +QtNfc.QNearFieldShareManager.ShareError.ShareAlreadyInProgressError?10 +QtNfc.QNearFieldShareManager.ShareError.SharePermissionDeniedError?10 +QtNfc.QNearFieldShareManager?1(QObject parent=None) +QtNfc.QNearFieldShareManager.__init__?1(self, QObject parent=None) +QtNfc.QNearFieldShareManager.supportedShareModes?4() -> QNearFieldShareManager.ShareModes +QtNfc.QNearFieldShareManager.setShareModes?4(QNearFieldShareManager.ShareModes) +QtNfc.QNearFieldShareManager.shareModes?4() -> QNearFieldShareManager.ShareModes +QtNfc.QNearFieldShareManager.shareError?4() -> QNearFieldShareManager.ShareError +QtNfc.QNearFieldShareManager.targetDetected?4(QNearFieldShareTarget) +QtNfc.QNearFieldShareManager.shareModesChanged?4(QNearFieldShareManager.ShareModes) +QtNfc.QNearFieldShareManager.error?4(QNearFieldShareManager.ShareError) +QtNfc.QNearFieldShareManager.ShareModes?1() +QtNfc.QNearFieldShareManager.ShareModes.__init__?1(self) +QtNfc.QNearFieldShareManager.ShareModes?1(int) +QtNfc.QNearFieldShareManager.ShareModes.__init__?1(self, int) +QtNfc.QNearFieldShareManager.ShareModes?1(QNearFieldShareManager.ShareModes) +QtNfc.QNearFieldShareManager.ShareModes.__init__?1(self, QNearFieldShareManager.ShareModes) +QtNfc.QNearFieldShareTarget.shareModes?4() -> QNearFieldShareManager.ShareModes +QtNfc.QNearFieldShareTarget.share?4(QNdefMessage) -> bool +QtNfc.QNearFieldShareTarget.share?4(unknown-type) -> bool +QtNfc.QNearFieldShareTarget.cancel?4() +QtNfc.QNearFieldShareTarget.isShareInProgress?4() -> bool +QtNfc.QNearFieldShareTarget.shareError?4() -> QNearFieldShareManager.ShareError +QtNfc.QNearFieldShareTarget.error?4(QNearFieldShareManager.ShareError) +QtNfc.QNearFieldShareTarget.shareFinished?4() +QtNfc.QNearFieldTarget.Error?10 +QtNfc.QNearFieldTarget.Error.NoError?10 +QtNfc.QNearFieldTarget.Error.UnknownError?10 +QtNfc.QNearFieldTarget.Error.UnsupportedError?10 +QtNfc.QNearFieldTarget.Error.TargetOutOfRangeError?10 +QtNfc.QNearFieldTarget.Error.NoResponseError?10 +QtNfc.QNearFieldTarget.Error.ChecksumMismatchError?10 +QtNfc.QNearFieldTarget.Error.InvalidParametersError?10 +QtNfc.QNearFieldTarget.Error.NdefReadError?10 +QtNfc.QNearFieldTarget.Error.NdefWriteError?10 +QtNfc.QNearFieldTarget.Error.CommandError?10 +QtNfc.QNearFieldTarget.AccessMethod?10 +QtNfc.QNearFieldTarget.AccessMethod.UnknownAccess?10 +QtNfc.QNearFieldTarget.AccessMethod.NdefAccess?10 +QtNfc.QNearFieldTarget.AccessMethod.TagTypeSpecificAccess?10 +QtNfc.QNearFieldTarget.AccessMethod.LlcpAccess?10 +QtNfc.QNearFieldTarget.Type?10 +QtNfc.QNearFieldTarget.Type.ProprietaryTag?10 +QtNfc.QNearFieldTarget.Type.NfcTagType1?10 +QtNfc.QNearFieldTarget.Type.NfcTagType2?10 +QtNfc.QNearFieldTarget.Type.NfcTagType3?10 +QtNfc.QNearFieldTarget.Type.NfcTagType4?10 +QtNfc.QNearFieldTarget.Type.MifareTag?10 +QtNfc.QNearFieldTarget?1(QObject parent=None) +QtNfc.QNearFieldTarget.__init__?1(self, QObject parent=None) +QtNfc.QNearFieldTarget.uid?4() -> QByteArray +QtNfc.QNearFieldTarget.url?4() -> QUrl +QtNfc.QNearFieldTarget.type?4() -> QNearFieldTarget.Type +QtNfc.QNearFieldTarget.accessMethods?4() -> QNearFieldTarget.AccessMethods +QtNfc.QNearFieldTarget.isProcessingCommand?4() -> bool +QtNfc.QNearFieldTarget.hasNdefMessage?4() -> bool +QtNfc.QNearFieldTarget.readNdefMessages?4() -> QNearFieldTarget.RequestId +QtNfc.QNearFieldTarget.writeNdefMessages?4(unknown-type) -> QNearFieldTarget.RequestId +QtNfc.QNearFieldTarget.sendCommand?4(QByteArray) -> QNearFieldTarget.RequestId +QtNfc.QNearFieldTarget.sendCommands?4(unknown-type) -> QNearFieldTarget.RequestId +QtNfc.QNearFieldTarget.waitForRequestCompleted?4(QNearFieldTarget.RequestId, int msecs=5000) -> bool +QtNfc.QNearFieldTarget.requestResponse?4(QNearFieldTarget.RequestId) -> QVariant +QtNfc.QNearFieldTarget.setResponseForRequest?4(QNearFieldTarget.RequestId, QVariant, bool emitRequestCompleted=True) +QtNfc.QNearFieldTarget.handleResponse?4(QNearFieldTarget.RequestId, QByteArray) -> bool +QtNfc.QNearFieldTarget.reportError?4(QNearFieldTarget.Error, QNearFieldTarget.RequestId) +QtNfc.QNearFieldTarget.disconnected?4() +QtNfc.QNearFieldTarget.ndefMessageRead?4(QNdefMessage) +QtNfc.QNearFieldTarget.ndefMessagesWritten?4() +QtNfc.QNearFieldTarget.requestCompleted?4(QNearFieldTarget.RequestId) +QtNfc.QNearFieldTarget.error?4(QNearFieldTarget.Error, QNearFieldTarget.RequestId) +QtNfc.QNearFieldTarget.keepConnection?4() -> bool +QtNfc.QNearFieldTarget.setKeepConnection?4(bool) -> bool +QtNfc.QNearFieldTarget.disconnect?4() -> bool +QtNfc.QNearFieldTarget.maxCommandLength?4() -> int +QtNfc.QNearFieldTarget.AccessMethods?1() +QtNfc.QNearFieldTarget.AccessMethods.__init__?1(self) +QtNfc.QNearFieldTarget.AccessMethods?1(int) +QtNfc.QNearFieldTarget.AccessMethods.__init__?1(self, int) +QtNfc.QNearFieldTarget.AccessMethods?1(QNearFieldTarget.AccessMethods) +QtNfc.QNearFieldTarget.AccessMethods.__init__?1(self, QNearFieldTarget.AccessMethods) +QtNfc.QNearFieldTarget.RequestId?1() +QtNfc.QNearFieldTarget.RequestId.__init__?1(self) +QtNfc.QNearFieldTarget.RequestId?1(QNearFieldTarget.RequestId) +QtNfc.QNearFieldTarget.RequestId.__init__?1(self, QNearFieldTarget.RequestId) +QtNfc.QNearFieldTarget.RequestId.isValid?4() -> bool +QtNfc.QNearFieldTarget.RequestId.refCount?4() -> int +QtNfc.QQmlNdefRecord.TypeNameFormat?10 +QtNfc.QQmlNdefRecord.TypeNameFormat.Empty?10 +QtNfc.QQmlNdefRecord.TypeNameFormat.NfcRtd?10 +QtNfc.QQmlNdefRecord.TypeNameFormat.Mime?10 +QtNfc.QQmlNdefRecord.TypeNameFormat.Uri?10 +QtNfc.QQmlNdefRecord.TypeNameFormat.ExternalRtd?10 +QtNfc.QQmlNdefRecord.TypeNameFormat.Unknown?10 +QtNfc.QQmlNdefRecord?1(QObject parent=None) +QtNfc.QQmlNdefRecord.__init__?1(self, QObject parent=None) +QtNfc.QQmlNdefRecord?1(QNdefRecord, QObject parent=None) +QtNfc.QQmlNdefRecord.__init__?1(self, QNdefRecord, QObject parent=None) +QtNfc.QQmlNdefRecord.type?4() -> QString +QtNfc.QQmlNdefRecord.setType?4(QString) +QtNfc.QQmlNdefRecord.setTypeNameFormat?4(QQmlNdefRecord.TypeNameFormat) +QtNfc.QQmlNdefRecord.typeNameFormat?4() -> QQmlNdefRecord.TypeNameFormat +QtNfc.QQmlNdefRecord.record?4() -> QNdefRecord +QtNfc.QQmlNdefRecord.setRecord?4(QNdefRecord) +QtNfc.QQmlNdefRecord.typeChanged?4() +QtNfc.QQmlNdefRecord.typeNameFormatChanged?4() +QtNfc.QQmlNdefRecord.recordChanged?4() +QtOpenGL.QGL.FormatOption?10 +QtOpenGL.QGL.FormatOption.DoubleBuffer?10 +QtOpenGL.QGL.FormatOption.DepthBuffer?10 +QtOpenGL.QGL.FormatOption.Rgba?10 +QtOpenGL.QGL.FormatOption.AlphaChannel?10 +QtOpenGL.QGL.FormatOption.AccumBuffer?10 +QtOpenGL.QGL.FormatOption.StencilBuffer?10 +QtOpenGL.QGL.FormatOption.StereoBuffers?10 +QtOpenGL.QGL.FormatOption.DirectRendering?10 +QtOpenGL.QGL.FormatOption.HasOverlay?10 +QtOpenGL.QGL.FormatOption.SampleBuffers?10 +QtOpenGL.QGL.FormatOption.SingleBuffer?10 +QtOpenGL.QGL.FormatOption.NoDepthBuffer?10 +QtOpenGL.QGL.FormatOption.ColorIndex?10 +QtOpenGL.QGL.FormatOption.NoAlphaChannel?10 +QtOpenGL.QGL.FormatOption.NoAccumBuffer?10 +QtOpenGL.QGL.FormatOption.NoStencilBuffer?10 +QtOpenGL.QGL.FormatOption.NoStereoBuffers?10 +QtOpenGL.QGL.FormatOption.IndirectRendering?10 +QtOpenGL.QGL.FormatOption.NoOverlay?10 +QtOpenGL.QGL.FormatOption.NoSampleBuffers?10 +QtOpenGL.QGL.FormatOption.DeprecatedFunctions?10 +QtOpenGL.QGL.FormatOption.NoDeprecatedFunctions?10 +QtOpenGL.QGL.FormatOptions?1() +QtOpenGL.QGL.FormatOptions.__init__?1(self) +QtOpenGL.QGL.FormatOptions?1(int) +QtOpenGL.QGL.FormatOptions.__init__?1(self, int) +QtOpenGL.QGL.FormatOptions?1(QGL.FormatOptions) +QtOpenGL.QGL.FormatOptions.__init__?1(self, QGL.FormatOptions) +QtOpenGL.QGLFormat.OpenGLContextProfile?10 +QtOpenGL.QGLFormat.OpenGLContextProfile.NoProfile?10 +QtOpenGL.QGLFormat.OpenGLContextProfile.CoreProfile?10 +QtOpenGL.QGLFormat.OpenGLContextProfile.CompatibilityProfile?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_None?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_1_1?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_1_2?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_1_3?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_1_4?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_1_5?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_2_0?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_2_1?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_3_0?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_3_1?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_3_2?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_3_3?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_4_0?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_4_1?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_4_2?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_Version_4_3?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_ES_Common_Version_1_0?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_ES_CommonLite_Version_1_0?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_ES_Common_Version_1_1?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_ES_CommonLite_Version_1_1?10 +QtOpenGL.QGLFormat.OpenGLVersionFlag.OpenGL_ES_Version_2_0?10 +QtOpenGL.QGLFormat?1() +QtOpenGL.QGLFormat.__init__?1(self) +QtOpenGL.QGLFormat?1(QGL.FormatOptions, int plane=0) +QtOpenGL.QGLFormat.__init__?1(self, QGL.FormatOptions, int plane=0) +QtOpenGL.QGLFormat?1(QGLFormat) +QtOpenGL.QGLFormat.__init__?1(self, QGLFormat) +QtOpenGL.QGLFormat.setDepthBufferSize?4(int) +QtOpenGL.QGLFormat.depthBufferSize?4() -> int +QtOpenGL.QGLFormat.setAccumBufferSize?4(int) +QtOpenGL.QGLFormat.accumBufferSize?4() -> int +QtOpenGL.QGLFormat.setAlphaBufferSize?4(int) +QtOpenGL.QGLFormat.alphaBufferSize?4() -> int +QtOpenGL.QGLFormat.setStencilBufferSize?4(int) +QtOpenGL.QGLFormat.stencilBufferSize?4() -> int +QtOpenGL.QGLFormat.setSampleBuffers?4(bool) +QtOpenGL.QGLFormat.setSamples?4(int) +QtOpenGL.QGLFormat.samples?4() -> int +QtOpenGL.QGLFormat.setDoubleBuffer?4(bool) +QtOpenGL.QGLFormat.setDepth?4(bool) +QtOpenGL.QGLFormat.setRgba?4(bool) +QtOpenGL.QGLFormat.setAlpha?4(bool) +QtOpenGL.QGLFormat.setAccum?4(bool) +QtOpenGL.QGLFormat.setStencil?4(bool) +QtOpenGL.QGLFormat.setStereo?4(bool) +QtOpenGL.QGLFormat.setDirectRendering?4(bool) +QtOpenGL.QGLFormat.setOverlay?4(bool) +QtOpenGL.QGLFormat.plane?4() -> int +QtOpenGL.QGLFormat.setPlane?4(int) +QtOpenGL.QGLFormat.setOption?4(QGL.FormatOptions) +QtOpenGL.QGLFormat.testOption?4(QGL.FormatOptions) -> bool +QtOpenGL.QGLFormat.defaultFormat?4() -> QGLFormat +QtOpenGL.QGLFormat.setDefaultFormat?4(QGLFormat) +QtOpenGL.QGLFormat.defaultOverlayFormat?4() -> QGLFormat +QtOpenGL.QGLFormat.setDefaultOverlayFormat?4(QGLFormat) +QtOpenGL.QGLFormat.hasOpenGL?4() -> bool +QtOpenGL.QGLFormat.hasOpenGLOverlays?4() -> bool +QtOpenGL.QGLFormat.doubleBuffer?4() -> bool +QtOpenGL.QGLFormat.depth?4() -> bool +QtOpenGL.QGLFormat.rgba?4() -> bool +QtOpenGL.QGLFormat.alpha?4() -> bool +QtOpenGL.QGLFormat.accum?4() -> bool +QtOpenGL.QGLFormat.stencil?4() -> bool +QtOpenGL.QGLFormat.stereo?4() -> bool +QtOpenGL.QGLFormat.directRendering?4() -> bool +QtOpenGL.QGLFormat.hasOverlay?4() -> bool +QtOpenGL.QGLFormat.sampleBuffers?4() -> bool +QtOpenGL.QGLFormat.setRedBufferSize?4(int) +QtOpenGL.QGLFormat.redBufferSize?4() -> int +QtOpenGL.QGLFormat.setGreenBufferSize?4(int) +QtOpenGL.QGLFormat.greenBufferSize?4() -> int +QtOpenGL.QGLFormat.setBlueBufferSize?4(int) +QtOpenGL.QGLFormat.blueBufferSize?4() -> int +QtOpenGL.QGLFormat.setSwapInterval?4(int) +QtOpenGL.QGLFormat.swapInterval?4() -> int +QtOpenGL.QGLFormat.openGLVersionFlags?4() -> QGLFormat.OpenGLVersionFlags +QtOpenGL.QGLFormat.setVersion?4(int, int) +QtOpenGL.QGLFormat.majorVersion?4() -> int +QtOpenGL.QGLFormat.minorVersion?4() -> int +QtOpenGL.QGLFormat.setProfile?4(QGLFormat.OpenGLContextProfile) +QtOpenGL.QGLFormat.profile?4() -> QGLFormat.OpenGLContextProfile +QtOpenGL.QGLFormat.OpenGLVersionFlags?1() +QtOpenGL.QGLFormat.OpenGLVersionFlags.__init__?1(self) +QtOpenGL.QGLFormat.OpenGLVersionFlags?1(int) +QtOpenGL.QGLFormat.OpenGLVersionFlags.__init__?1(self, int) +QtOpenGL.QGLFormat.OpenGLVersionFlags?1(QGLFormat.OpenGLVersionFlags) +QtOpenGL.QGLFormat.OpenGLVersionFlags.__init__?1(self, QGLFormat.OpenGLVersionFlags) +QtOpenGL.QGLContext.BindOption?10 +QtOpenGL.QGLContext.BindOption.NoBindOption?10 +QtOpenGL.QGLContext.BindOption.InvertedYBindOption?10 +QtOpenGL.QGLContext.BindOption.MipmapBindOption?10 +QtOpenGL.QGLContext.BindOption.PremultipliedAlphaBindOption?10 +QtOpenGL.QGLContext.BindOption.LinearFilteringBindOption?10 +QtOpenGL.QGLContext.BindOption.DefaultBindOption?10 +QtOpenGL.QGLContext?1(QGLFormat) +QtOpenGL.QGLContext.__init__?1(self, QGLFormat) +QtOpenGL.QGLContext.create?4(QGLContext shareContext=None) -> bool +QtOpenGL.QGLContext.isValid?4() -> bool +QtOpenGL.QGLContext.isSharing?4() -> bool +QtOpenGL.QGLContext.reset?4() +QtOpenGL.QGLContext.format?4() -> QGLFormat +QtOpenGL.QGLContext.requestedFormat?4() -> QGLFormat +QtOpenGL.QGLContext.setFormat?4(QGLFormat) +QtOpenGL.QGLContext.makeCurrent?4() +QtOpenGL.QGLContext.doneCurrent?4() +QtOpenGL.QGLContext.swapBuffers?4() +QtOpenGL.QGLContext.bindTexture?4(QImage, int target=GL_TEXTURE_2D, int format=GL_RGBA) -> int +QtOpenGL.QGLContext.bindTexture?4(QPixmap, int target=GL_TEXTURE_2D, int format=GL_RGBA) -> int +QtOpenGL.QGLContext.drawTexture?4(QRectF, int, int textureTarget=GL_TEXTURE_2D) +QtOpenGL.QGLContext.drawTexture?4(QPointF, int, int textureTarget=GL_TEXTURE_2D) +QtOpenGL.QGLContext.bindTexture?4(QString) -> int +QtOpenGL.QGLContext.deleteTexture?4(int) +QtOpenGL.QGLContext.setTextureCacheLimit?4(int) +QtOpenGL.QGLContext.textureCacheLimit?4() -> int +QtOpenGL.QGLContext.getProcAddress?4(QString) -> sip.voidptr +QtOpenGL.QGLContext.device?4() -> QPaintDevice +QtOpenGL.QGLContext.overlayTransparentColor?4() -> QColor +QtOpenGL.QGLContext.currentContext?4() -> QGLContext +QtOpenGL.QGLContext.chooseContext?4(QGLContext shareContext=None) -> bool +QtOpenGL.QGLContext.deviceIsPixmap?4() -> bool +QtOpenGL.QGLContext.windowCreated?4() -> bool +QtOpenGL.QGLContext.setWindowCreated?4(bool) +QtOpenGL.QGLContext.initialized?4() -> bool +QtOpenGL.QGLContext.setInitialized?4(bool) +QtOpenGL.QGLContext.areSharing?4(QGLContext, QGLContext) -> bool +QtOpenGL.QGLContext.bindTexture?4(QImage, int, int, QGLContext.BindOptions) -> int +QtOpenGL.QGLContext.bindTexture?4(QPixmap, int, int, QGLContext.BindOptions) -> int +QtOpenGL.QGLContext.moveToThread?4(QThread) +QtOpenGL.QGLContext.BindOptions?1() +QtOpenGL.QGLContext.BindOptions.__init__?1(self) +QtOpenGL.QGLContext.BindOptions?1(int) +QtOpenGL.QGLContext.BindOptions.__init__?1(self, int) +QtOpenGL.QGLContext.BindOptions?1(QGLContext.BindOptions) +QtOpenGL.QGLContext.BindOptions.__init__?1(self, QGLContext.BindOptions) +QtOpenGL.QGLWidget?1(QWidget parent=None, QGLWidget shareWidget=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtOpenGL.QGLWidget.__init__?1(self, QWidget parent=None, QGLWidget shareWidget=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtOpenGL.QGLWidget?1(QGLContext, QWidget parent=None, QGLWidget shareWidget=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtOpenGL.QGLWidget.__init__?1(self, QGLContext, QWidget parent=None, QGLWidget shareWidget=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtOpenGL.QGLWidget?1(QGLFormat, QWidget parent=None, QGLWidget shareWidget=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtOpenGL.QGLWidget.__init__?1(self, QGLFormat, QWidget parent=None, QGLWidget shareWidget=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtOpenGL.QGLWidget.qglColor?4(QColor) +QtOpenGL.QGLWidget.qglClearColor?4(QColor) +QtOpenGL.QGLWidget.isValid?4() -> bool +QtOpenGL.QGLWidget.isSharing?4() -> bool +QtOpenGL.QGLWidget.makeCurrent?4() +QtOpenGL.QGLWidget.doneCurrent?4() +QtOpenGL.QGLWidget.doubleBuffer?4() -> bool +QtOpenGL.QGLWidget.swapBuffers?4() +QtOpenGL.QGLWidget.format?4() -> QGLFormat +QtOpenGL.QGLWidget.context?4() -> QGLContext +QtOpenGL.QGLWidget.setContext?4(QGLContext, QGLContext shareContext=None, bool deleteOldContext=True) +QtOpenGL.QGLWidget.renderPixmap?4(int width=0, int height=0, bool useContext=False) -> QPixmap +QtOpenGL.QGLWidget.grabFrameBuffer?4(bool withAlpha=False) -> QImage +QtOpenGL.QGLWidget.makeOverlayCurrent?4() +QtOpenGL.QGLWidget.overlayContext?4() -> QGLContext +QtOpenGL.QGLWidget.convertToGLFormat?4(QImage) -> QImage +QtOpenGL.QGLWidget.renderText?4(int, int, QString, QFont font=QFont()) +QtOpenGL.QGLWidget.renderText?4(float, float, float, QString, QFont font=QFont()) +QtOpenGL.QGLWidget.paintEngine?4() -> QPaintEngine +QtOpenGL.QGLWidget.bindTexture?4(QImage, int target=GL_TEXTURE_2D, int format=GL_RGBA) -> int +QtOpenGL.QGLWidget.bindTexture?4(QPixmap, int target=GL_TEXTURE_2D, int format=GL_RGBA) -> int +QtOpenGL.QGLWidget.bindTexture?4(QString) -> int +QtOpenGL.QGLWidget.drawTexture?4(QRectF, int, int textureTarget=GL_TEXTURE_2D) +QtOpenGL.QGLWidget.drawTexture?4(QPointF, int, int textureTarget=GL_TEXTURE_2D) +QtOpenGL.QGLWidget.deleteTexture?4(int) +QtOpenGL.QGLWidget.updateGL?4() +QtOpenGL.QGLWidget.updateOverlayGL?4() +QtOpenGL.QGLWidget.event?4(QEvent) -> bool +QtOpenGL.QGLWidget.initializeGL?4() +QtOpenGL.QGLWidget.resizeGL?4(int, int) +QtOpenGL.QGLWidget.paintGL?4() +QtOpenGL.QGLWidget.initializeOverlayGL?4() +QtOpenGL.QGLWidget.resizeOverlayGL?4(int, int) +QtOpenGL.QGLWidget.paintOverlayGL?4() +QtOpenGL.QGLWidget.setAutoBufferSwap?4(bool) +QtOpenGL.QGLWidget.autoBufferSwap?4() -> bool +QtOpenGL.QGLWidget.paintEvent?4(QPaintEvent) +QtOpenGL.QGLWidget.resizeEvent?4(QResizeEvent) +QtOpenGL.QGLWidget.glInit?4() +QtOpenGL.QGLWidget.glDraw?4() +QtOpenGL.QGLWidget.bindTexture?4(QImage, int, int, QGLContext.BindOptions) -> int +QtOpenGL.QGLWidget.bindTexture?4(QPixmap, int, int, QGLContext.BindOptions) -> int +QtPositioning.QGeoAddress?1() +QtPositioning.QGeoAddress.__init__?1(self) +QtPositioning.QGeoAddress?1(QGeoAddress) +QtPositioning.QGeoAddress.__init__?1(self, QGeoAddress) +QtPositioning.QGeoAddress.text?4() -> QString +QtPositioning.QGeoAddress.setText?4(QString) +QtPositioning.QGeoAddress.country?4() -> QString +QtPositioning.QGeoAddress.setCountry?4(QString) +QtPositioning.QGeoAddress.countryCode?4() -> QString +QtPositioning.QGeoAddress.setCountryCode?4(QString) +QtPositioning.QGeoAddress.state?4() -> QString +QtPositioning.QGeoAddress.setState?4(QString) +QtPositioning.QGeoAddress.county?4() -> QString +QtPositioning.QGeoAddress.setCounty?4(QString) +QtPositioning.QGeoAddress.city?4() -> QString +QtPositioning.QGeoAddress.setCity?4(QString) +QtPositioning.QGeoAddress.district?4() -> QString +QtPositioning.QGeoAddress.setDistrict?4(QString) +QtPositioning.QGeoAddress.postalCode?4() -> QString +QtPositioning.QGeoAddress.setPostalCode?4(QString) +QtPositioning.QGeoAddress.street?4() -> QString +QtPositioning.QGeoAddress.setStreet?4(QString) +QtPositioning.QGeoAddress.isEmpty?4() -> bool +QtPositioning.QGeoAddress.clear?4() +QtPositioning.QGeoAddress.isTextGenerated?4() -> bool +QtPositioning.QGeoAreaMonitorInfo?1(QString name='') +QtPositioning.QGeoAreaMonitorInfo.__init__?1(self, QString name='') +QtPositioning.QGeoAreaMonitorInfo?1(QGeoAreaMonitorInfo) +QtPositioning.QGeoAreaMonitorInfo.__init__?1(self, QGeoAreaMonitorInfo) +QtPositioning.QGeoAreaMonitorInfo.name?4() -> QString +QtPositioning.QGeoAreaMonitorInfo.setName?4(QString) +QtPositioning.QGeoAreaMonitorInfo.identifier?4() -> QString +QtPositioning.QGeoAreaMonitorInfo.isValid?4() -> bool +QtPositioning.QGeoAreaMonitorInfo.area?4() -> QGeoShape +QtPositioning.QGeoAreaMonitorInfo.setArea?4(QGeoShape) +QtPositioning.QGeoAreaMonitorInfo.expiration?4() -> QDateTime +QtPositioning.QGeoAreaMonitorInfo.setExpiration?4(QDateTime) +QtPositioning.QGeoAreaMonitorInfo.isPersistent?4() -> bool +QtPositioning.QGeoAreaMonitorInfo.setPersistent?4(bool) +QtPositioning.QGeoAreaMonitorInfo.notificationParameters?4() -> QVariantMap +QtPositioning.QGeoAreaMonitorInfo.setNotificationParameters?4(QVariantMap) +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeature?10 +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeature.PersistentAreaMonitorFeature?10 +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeature.AnyAreaMonitorFeature?10 +QtPositioning.QGeoAreaMonitorSource.Error?10 +QtPositioning.QGeoAreaMonitorSource.Error.AccessError?10 +QtPositioning.QGeoAreaMonitorSource.Error.InsufficientPositionInfo?10 +QtPositioning.QGeoAreaMonitorSource.Error.UnknownSourceError?10 +QtPositioning.QGeoAreaMonitorSource.Error.NoError?10 +QtPositioning.QGeoAreaMonitorSource?1(QObject) +QtPositioning.QGeoAreaMonitorSource.__init__?1(self, QObject) +QtPositioning.QGeoAreaMonitorSource.createDefaultSource?4(QObject) -> QGeoAreaMonitorSource +QtPositioning.QGeoAreaMonitorSource.createSource?4(QString, QObject) -> QGeoAreaMonitorSource +QtPositioning.QGeoAreaMonitorSource.availableSources?4() -> QStringList +QtPositioning.QGeoAreaMonitorSource.setPositionInfoSource?4(QGeoPositionInfoSource) +QtPositioning.QGeoAreaMonitorSource.positionInfoSource?4() -> QGeoPositionInfoSource +QtPositioning.QGeoAreaMonitorSource.sourceName?4() -> QString +QtPositioning.QGeoAreaMonitorSource.error?4() -> QGeoAreaMonitorSource.Error +QtPositioning.QGeoAreaMonitorSource.supportedAreaMonitorFeatures?4() -> QGeoAreaMonitorSource.AreaMonitorFeatures +QtPositioning.QGeoAreaMonitorSource.startMonitoring?4(QGeoAreaMonitorInfo) -> bool +QtPositioning.QGeoAreaMonitorSource.stopMonitoring?4(QGeoAreaMonitorInfo) -> bool +QtPositioning.QGeoAreaMonitorSource.requestUpdate?4(QGeoAreaMonitorInfo, str) -> bool +QtPositioning.QGeoAreaMonitorSource.activeMonitors?4() -> unknown-type +QtPositioning.QGeoAreaMonitorSource.activeMonitors?4(QGeoShape) -> unknown-type +QtPositioning.QGeoAreaMonitorSource.areaEntered?4(QGeoAreaMonitorInfo, QGeoPositionInfo) +QtPositioning.QGeoAreaMonitorSource.areaExited?4(QGeoAreaMonitorInfo, QGeoPositionInfo) +QtPositioning.QGeoAreaMonitorSource.monitorExpired?4(QGeoAreaMonitorInfo) +QtPositioning.QGeoAreaMonitorSource.error?4(QGeoAreaMonitorSource.Error) +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeatures?1() +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeatures.__init__?1(self) +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeatures?1(int) +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeatures.__init__?1(self, int) +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeatures?1(QGeoAreaMonitorSource.AreaMonitorFeatures) +QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeatures.__init__?1(self, QGeoAreaMonitorSource.AreaMonitorFeatures) +QtPositioning.QGeoShape.ShapeType?10 +QtPositioning.QGeoShape.ShapeType.UnknownType?10 +QtPositioning.QGeoShape.ShapeType.RectangleType?10 +QtPositioning.QGeoShape.ShapeType.CircleType?10 +QtPositioning.QGeoShape.ShapeType.PathType?10 +QtPositioning.QGeoShape.ShapeType.PolygonType?10 +QtPositioning.QGeoShape?1() +QtPositioning.QGeoShape.__init__?1(self) +QtPositioning.QGeoShape?1(QGeoShape) +QtPositioning.QGeoShape.__init__?1(self, QGeoShape) +QtPositioning.QGeoShape.type?4() -> QGeoShape.ShapeType +QtPositioning.QGeoShape.isValid?4() -> bool +QtPositioning.QGeoShape.isEmpty?4() -> bool +QtPositioning.QGeoShape.contains?4(QGeoCoordinate) -> bool +QtPositioning.QGeoShape.extendShape?4(QGeoCoordinate) +QtPositioning.QGeoShape.center?4() -> QGeoCoordinate +QtPositioning.QGeoShape.toString?4() -> QString +QtPositioning.QGeoShape.boundingGeoRectangle?4() -> QGeoRectangle +QtPositioning.QGeoCircle?1() +QtPositioning.QGeoCircle.__init__?1(self) +QtPositioning.QGeoCircle?1(QGeoCoordinate, float radius=-1) +QtPositioning.QGeoCircle.__init__?1(self, QGeoCoordinate, float radius=-1) +QtPositioning.QGeoCircle?1(QGeoCircle) +QtPositioning.QGeoCircle.__init__?1(self, QGeoCircle) +QtPositioning.QGeoCircle?1(QGeoShape) +QtPositioning.QGeoCircle.__init__?1(self, QGeoShape) +QtPositioning.QGeoCircle.setCenter?4(QGeoCoordinate) +QtPositioning.QGeoCircle.center?4() -> QGeoCoordinate +QtPositioning.QGeoCircle.setRadius?4(float) +QtPositioning.QGeoCircle.radius?4() -> float +QtPositioning.QGeoCircle.translate?4(float, float) +QtPositioning.QGeoCircle.translated?4(float, float) -> QGeoCircle +QtPositioning.QGeoCircle.toString?4() -> QString +QtPositioning.QGeoCircle.extendCircle?4(QGeoCoordinate) +QtPositioning.QGeoCoordinate.CoordinateFormat?10 +QtPositioning.QGeoCoordinate.CoordinateFormat.Degrees?10 +QtPositioning.QGeoCoordinate.CoordinateFormat.DegreesWithHemisphere?10 +QtPositioning.QGeoCoordinate.CoordinateFormat.DegreesMinutes?10 +QtPositioning.QGeoCoordinate.CoordinateFormat.DegreesMinutesWithHemisphere?10 +QtPositioning.QGeoCoordinate.CoordinateFormat.DegreesMinutesSeconds?10 +QtPositioning.QGeoCoordinate.CoordinateFormat.DegreesMinutesSecondsWithHemisphere?10 +QtPositioning.QGeoCoordinate.CoordinateType?10 +QtPositioning.QGeoCoordinate.CoordinateType.InvalidCoordinate?10 +QtPositioning.QGeoCoordinate.CoordinateType.Coordinate2D?10 +QtPositioning.QGeoCoordinate.CoordinateType.Coordinate3D?10 +QtPositioning.QGeoCoordinate?1() +QtPositioning.QGeoCoordinate.__init__?1(self) +QtPositioning.QGeoCoordinate?1(float, float) +QtPositioning.QGeoCoordinate.__init__?1(self, float, float) +QtPositioning.QGeoCoordinate?1(float, float, float) +QtPositioning.QGeoCoordinate.__init__?1(self, float, float, float) +QtPositioning.QGeoCoordinate?1(QGeoCoordinate) +QtPositioning.QGeoCoordinate.__init__?1(self, QGeoCoordinate) +QtPositioning.QGeoCoordinate.isValid?4() -> bool +QtPositioning.QGeoCoordinate.type?4() -> QGeoCoordinate.CoordinateType +QtPositioning.QGeoCoordinate.setLatitude?4(float) +QtPositioning.QGeoCoordinate.latitude?4() -> float +QtPositioning.QGeoCoordinate.setLongitude?4(float) +QtPositioning.QGeoCoordinate.longitude?4() -> float +QtPositioning.QGeoCoordinate.setAltitude?4(float) +QtPositioning.QGeoCoordinate.altitude?4() -> float +QtPositioning.QGeoCoordinate.distanceTo?4(QGeoCoordinate) -> float +QtPositioning.QGeoCoordinate.azimuthTo?4(QGeoCoordinate) -> float +QtPositioning.QGeoCoordinate.atDistanceAndAzimuth?4(float, float, float distanceUp=0) -> QGeoCoordinate +QtPositioning.QGeoCoordinate.toString?4(QGeoCoordinate.CoordinateFormat format=QGeoCoordinate.DegreesMinutesSecondsWithHemisphere) -> QString +QtPositioning.QGeoLocation?1() +QtPositioning.QGeoLocation.__init__?1(self) +QtPositioning.QGeoLocation?1(QGeoLocation) +QtPositioning.QGeoLocation.__init__?1(self, QGeoLocation) +QtPositioning.QGeoLocation.address?4() -> QGeoAddress +QtPositioning.QGeoLocation.setAddress?4(QGeoAddress) +QtPositioning.QGeoLocation.coordinate?4() -> QGeoCoordinate +QtPositioning.QGeoLocation.setCoordinate?4(QGeoCoordinate) +QtPositioning.QGeoLocation.boundingBox?4() -> QGeoRectangle +QtPositioning.QGeoLocation.setBoundingBox?4(QGeoRectangle) +QtPositioning.QGeoLocation.isEmpty?4() -> bool +QtPositioning.QGeoLocation.extendedAttributes?4() -> QVariantMap +QtPositioning.QGeoLocation.setExtendedAttributes?4(QVariantMap) +QtPositioning.QGeoPath?1() +QtPositioning.QGeoPath.__init__?1(self) +QtPositioning.QGeoPath?1(unknown-type, float width=0) +QtPositioning.QGeoPath.__init__?1(self, unknown-type, float width=0) +QtPositioning.QGeoPath?1(QGeoPath) +QtPositioning.QGeoPath.__init__?1(self, QGeoPath) +QtPositioning.QGeoPath?1(QGeoShape) +QtPositioning.QGeoPath.__init__?1(self, QGeoShape) +QtPositioning.QGeoPath.setPath?4(unknown-type) +QtPositioning.QGeoPath.path?4() -> unknown-type +QtPositioning.QGeoPath.setWidth?4(float) +QtPositioning.QGeoPath.width?4() -> float +QtPositioning.QGeoPath.translate?4(float, float) +QtPositioning.QGeoPath.translated?4(float, float) -> QGeoPath +QtPositioning.QGeoPath.length?4(int indexFrom=0, int indexTo=-1) -> float +QtPositioning.QGeoPath.addCoordinate?4(QGeoCoordinate) +QtPositioning.QGeoPath.insertCoordinate?4(int, QGeoCoordinate) +QtPositioning.QGeoPath.replaceCoordinate?4(int, QGeoCoordinate) +QtPositioning.QGeoPath.coordinateAt?4(int) -> QGeoCoordinate +QtPositioning.QGeoPath.containsCoordinate?4(QGeoCoordinate) -> bool +QtPositioning.QGeoPath.removeCoordinate?4(QGeoCoordinate) +QtPositioning.QGeoPath.removeCoordinate?4(int) +QtPositioning.QGeoPath.toString?4() -> QString +QtPositioning.QGeoPath.size?4() -> int +QtPositioning.QGeoPath.clearPath?4() +QtPositioning.QGeoPolygon?1() +QtPositioning.QGeoPolygon.__init__?1(self) +QtPositioning.QGeoPolygon?1(unknown-type) +QtPositioning.QGeoPolygon.__init__?1(self, unknown-type) +QtPositioning.QGeoPolygon?1(QGeoPolygon) +QtPositioning.QGeoPolygon.__init__?1(self, QGeoPolygon) +QtPositioning.QGeoPolygon?1(QGeoShape) +QtPositioning.QGeoPolygon.__init__?1(self, QGeoShape) +QtPositioning.QGeoPolygon.setPath?4(unknown-type) +QtPositioning.QGeoPolygon.path?4() -> unknown-type +QtPositioning.QGeoPolygon.translate?4(float, float) +QtPositioning.QGeoPolygon.translated?4(float, float) -> QGeoPolygon +QtPositioning.QGeoPolygon.length?4(int indexFrom=0, int indexTo=-1) -> float +QtPositioning.QGeoPolygon.size?4() -> int +QtPositioning.QGeoPolygon.addCoordinate?4(QGeoCoordinate) +QtPositioning.QGeoPolygon.insertCoordinate?4(int, QGeoCoordinate) +QtPositioning.QGeoPolygon.replaceCoordinate?4(int, QGeoCoordinate) +QtPositioning.QGeoPolygon.coordinateAt?4(int) -> QGeoCoordinate +QtPositioning.QGeoPolygon.containsCoordinate?4(QGeoCoordinate) -> bool +QtPositioning.QGeoPolygon.removeCoordinate?4(QGeoCoordinate) +QtPositioning.QGeoPolygon.removeCoordinate?4(int) +QtPositioning.QGeoPolygon.toString?4() -> QString +QtPositioning.QGeoPolygon.addHole?4(unknown-type) +QtPositioning.QGeoPolygon.addHole?4(QVariant) +QtPositioning.QGeoPolygon.hole?4(int) -> unknown-type +QtPositioning.QGeoPolygon.holePath?4(int) -> unknown-type +QtPositioning.QGeoPolygon.removeHole?4(int) +QtPositioning.QGeoPolygon.holesCount?4() -> int +QtPositioning.QGeoPolygon.setPerimeter?4(unknown-type) +QtPositioning.QGeoPolygon.perimeter?4() -> unknown-type +QtPositioning.QGeoPositionInfo.Attribute?10 +QtPositioning.QGeoPositionInfo.Attribute.Direction?10 +QtPositioning.QGeoPositionInfo.Attribute.GroundSpeed?10 +QtPositioning.QGeoPositionInfo.Attribute.VerticalSpeed?10 +QtPositioning.QGeoPositionInfo.Attribute.MagneticVariation?10 +QtPositioning.QGeoPositionInfo.Attribute.HorizontalAccuracy?10 +QtPositioning.QGeoPositionInfo.Attribute.VerticalAccuracy?10 +QtPositioning.QGeoPositionInfo?1() +QtPositioning.QGeoPositionInfo.__init__?1(self) +QtPositioning.QGeoPositionInfo?1(QGeoCoordinate, QDateTime) +QtPositioning.QGeoPositionInfo.__init__?1(self, QGeoCoordinate, QDateTime) +QtPositioning.QGeoPositionInfo?1(QGeoPositionInfo) +QtPositioning.QGeoPositionInfo.__init__?1(self, QGeoPositionInfo) +QtPositioning.QGeoPositionInfo.isValid?4() -> bool +QtPositioning.QGeoPositionInfo.setTimestamp?4(QDateTime) +QtPositioning.QGeoPositionInfo.timestamp?4() -> QDateTime +QtPositioning.QGeoPositionInfo.setCoordinate?4(QGeoCoordinate) +QtPositioning.QGeoPositionInfo.coordinate?4() -> QGeoCoordinate +QtPositioning.QGeoPositionInfo.setAttribute?4(QGeoPositionInfo.Attribute, float) +QtPositioning.QGeoPositionInfo.attribute?4(QGeoPositionInfo.Attribute) -> float +QtPositioning.QGeoPositionInfo.removeAttribute?4(QGeoPositionInfo.Attribute) +QtPositioning.QGeoPositionInfo.hasAttribute?4(QGeoPositionInfo.Attribute) -> bool +QtPositioning.QGeoPositionInfoSource.PositioningMethod?10 +QtPositioning.QGeoPositionInfoSource.PositioningMethod.NoPositioningMethods?10 +QtPositioning.QGeoPositionInfoSource.PositioningMethod.SatellitePositioningMethods?10 +QtPositioning.QGeoPositionInfoSource.PositioningMethod.NonSatellitePositioningMethods?10 +QtPositioning.QGeoPositionInfoSource.PositioningMethod.AllPositioningMethods?10 +QtPositioning.QGeoPositionInfoSource.Error?10 +QtPositioning.QGeoPositionInfoSource.Error.AccessError?10 +QtPositioning.QGeoPositionInfoSource.Error.ClosedError?10 +QtPositioning.QGeoPositionInfoSource.Error.UnknownSourceError?10 +QtPositioning.QGeoPositionInfoSource.Error.NoError?10 +QtPositioning.QGeoPositionInfoSource?1(QObject) +QtPositioning.QGeoPositionInfoSource.__init__?1(self, QObject) +QtPositioning.QGeoPositionInfoSource.setUpdateInterval?4(int) +QtPositioning.QGeoPositionInfoSource.updateInterval?4() -> int +QtPositioning.QGeoPositionInfoSource.setPreferredPositioningMethods?4(QGeoPositionInfoSource.PositioningMethods) +QtPositioning.QGeoPositionInfoSource.preferredPositioningMethods?4() -> QGeoPositionInfoSource.PositioningMethods +QtPositioning.QGeoPositionInfoSource.lastKnownPosition?4(bool fromSatellitePositioningMethodsOnly=False) -> QGeoPositionInfo +QtPositioning.QGeoPositionInfoSource.supportedPositioningMethods?4() -> QGeoPositionInfoSource.PositioningMethods +QtPositioning.QGeoPositionInfoSource.minimumUpdateInterval?4() -> int +QtPositioning.QGeoPositionInfoSource.sourceName?4() -> QString +QtPositioning.QGeoPositionInfoSource.createDefaultSource?4(QObject) -> QGeoPositionInfoSource +QtPositioning.QGeoPositionInfoSource.createDefaultSource?4(QVariantMap, QObject) -> QGeoPositionInfoSource +QtPositioning.QGeoPositionInfoSource.createSource?4(QString, QObject) -> QGeoPositionInfoSource +QtPositioning.QGeoPositionInfoSource.createSource?4(QString, QVariantMap, QObject) -> QGeoPositionInfoSource +QtPositioning.QGeoPositionInfoSource.availableSources?4() -> QStringList +QtPositioning.QGeoPositionInfoSource.error?4() -> QGeoPositionInfoSource.Error +QtPositioning.QGeoPositionInfoSource.startUpdates?4() +QtPositioning.QGeoPositionInfoSource.stopUpdates?4() +QtPositioning.QGeoPositionInfoSource.requestUpdate?4(int timeout=0) +QtPositioning.QGeoPositionInfoSource.positionUpdated?4(QGeoPositionInfo) +QtPositioning.QGeoPositionInfoSource.updateTimeout?4() +QtPositioning.QGeoPositionInfoSource.error?4(QGeoPositionInfoSource.Error) +QtPositioning.QGeoPositionInfoSource.supportedPositioningMethodsChanged?4() +QtPositioning.QGeoPositionInfoSource.setBackendProperty?4(QString, QVariant) -> bool +QtPositioning.QGeoPositionInfoSource.backendProperty?4(QString) -> QVariant +QtPositioning.QGeoPositionInfoSource.PositioningMethods?1() +QtPositioning.QGeoPositionInfoSource.PositioningMethods.__init__?1(self) +QtPositioning.QGeoPositionInfoSource.PositioningMethods?1(int) +QtPositioning.QGeoPositionInfoSource.PositioningMethods.__init__?1(self, int) +QtPositioning.QGeoPositionInfoSource.PositioningMethods?1(QGeoPositionInfoSource.PositioningMethods) +QtPositioning.QGeoPositionInfoSource.PositioningMethods.__init__?1(self, QGeoPositionInfoSource.PositioningMethods) +QtPositioning.QGeoRectangle?1() +QtPositioning.QGeoRectangle.__init__?1(self) +QtPositioning.QGeoRectangle?1(QGeoCoordinate, float, float) +QtPositioning.QGeoRectangle.__init__?1(self, QGeoCoordinate, float, float) +QtPositioning.QGeoRectangle?1(QGeoCoordinate, QGeoCoordinate) +QtPositioning.QGeoRectangle.__init__?1(self, QGeoCoordinate, QGeoCoordinate) +QtPositioning.QGeoRectangle?1(unknown-type) +QtPositioning.QGeoRectangle.__init__?1(self, unknown-type) +QtPositioning.QGeoRectangle?1(QGeoRectangle) +QtPositioning.QGeoRectangle.__init__?1(self, QGeoRectangle) +QtPositioning.QGeoRectangle?1(QGeoShape) +QtPositioning.QGeoRectangle.__init__?1(self, QGeoShape) +QtPositioning.QGeoRectangle.setTopLeft?4(QGeoCoordinate) +QtPositioning.QGeoRectangle.topLeft?4() -> QGeoCoordinate +QtPositioning.QGeoRectangle.setTopRight?4(QGeoCoordinate) +QtPositioning.QGeoRectangle.topRight?4() -> QGeoCoordinate +QtPositioning.QGeoRectangle.setBottomLeft?4(QGeoCoordinate) +QtPositioning.QGeoRectangle.bottomLeft?4() -> QGeoCoordinate +QtPositioning.QGeoRectangle.setBottomRight?4(QGeoCoordinate) +QtPositioning.QGeoRectangle.bottomRight?4() -> QGeoCoordinate +QtPositioning.QGeoRectangle.setCenter?4(QGeoCoordinate) +QtPositioning.QGeoRectangle.center?4() -> QGeoCoordinate +QtPositioning.QGeoRectangle.setWidth?4(float) +QtPositioning.QGeoRectangle.width?4() -> float +QtPositioning.QGeoRectangle.setHeight?4(float) +QtPositioning.QGeoRectangle.height?4() -> float +QtPositioning.QGeoRectangle.contains?4(QGeoRectangle) -> bool +QtPositioning.QGeoRectangle.intersects?4(QGeoRectangle) -> bool +QtPositioning.QGeoRectangle.translate?4(float, float) +QtPositioning.QGeoRectangle.translated?4(float, float) -> QGeoRectangle +QtPositioning.QGeoRectangle.united?4(QGeoRectangle) -> QGeoRectangle +QtPositioning.QGeoRectangle.toString?4() -> QString +QtPositioning.QGeoRectangle.extendRectangle?4(QGeoCoordinate) +QtPositioning.QGeoSatelliteInfo.SatelliteSystem?10 +QtPositioning.QGeoSatelliteInfo.SatelliteSystem.Undefined?10 +QtPositioning.QGeoSatelliteInfo.SatelliteSystem.GPS?10 +QtPositioning.QGeoSatelliteInfo.SatelliteSystem.GLONASS?10 +QtPositioning.QGeoSatelliteInfo.Attribute?10 +QtPositioning.QGeoSatelliteInfo.Attribute.Elevation?10 +QtPositioning.QGeoSatelliteInfo.Attribute.Azimuth?10 +QtPositioning.QGeoSatelliteInfo?1() +QtPositioning.QGeoSatelliteInfo.__init__?1(self) +QtPositioning.QGeoSatelliteInfo?1(QGeoSatelliteInfo) +QtPositioning.QGeoSatelliteInfo.__init__?1(self, QGeoSatelliteInfo) +QtPositioning.QGeoSatelliteInfo.setSatelliteSystem?4(QGeoSatelliteInfo.SatelliteSystem) +QtPositioning.QGeoSatelliteInfo.satelliteSystem?4() -> QGeoSatelliteInfo.SatelliteSystem +QtPositioning.QGeoSatelliteInfo.setSatelliteIdentifier?4(int) +QtPositioning.QGeoSatelliteInfo.satelliteIdentifier?4() -> int +QtPositioning.QGeoSatelliteInfo.setSignalStrength?4(int) +QtPositioning.QGeoSatelliteInfo.signalStrength?4() -> int +QtPositioning.QGeoSatelliteInfo.setAttribute?4(QGeoSatelliteInfo.Attribute, float) +QtPositioning.QGeoSatelliteInfo.attribute?4(QGeoSatelliteInfo.Attribute) -> float +QtPositioning.QGeoSatelliteInfo.removeAttribute?4(QGeoSatelliteInfo.Attribute) +QtPositioning.QGeoSatelliteInfo.hasAttribute?4(QGeoSatelliteInfo.Attribute) -> bool +QtPositioning.QGeoSatelliteInfoSource.Error?10 +QtPositioning.QGeoSatelliteInfoSource.Error.AccessError?10 +QtPositioning.QGeoSatelliteInfoSource.Error.ClosedError?10 +QtPositioning.QGeoSatelliteInfoSource.Error.NoError?10 +QtPositioning.QGeoSatelliteInfoSource.Error.UnknownSourceError?10 +QtPositioning.QGeoSatelliteInfoSource?1(QObject) +QtPositioning.QGeoSatelliteInfoSource.__init__?1(self, QObject) +QtPositioning.QGeoSatelliteInfoSource.createDefaultSource?4(QObject) -> QGeoSatelliteInfoSource +QtPositioning.QGeoSatelliteInfoSource.createDefaultSource?4(QVariantMap, QObject) -> QGeoSatelliteInfoSource +QtPositioning.QGeoSatelliteInfoSource.createSource?4(QString, QObject) -> QGeoSatelliteInfoSource +QtPositioning.QGeoSatelliteInfoSource.createSource?4(QString, QVariantMap, QObject) -> QGeoSatelliteInfoSource +QtPositioning.QGeoSatelliteInfoSource.availableSources?4() -> QStringList +QtPositioning.QGeoSatelliteInfoSource.sourceName?4() -> QString +QtPositioning.QGeoSatelliteInfoSource.setUpdateInterval?4(int) +QtPositioning.QGeoSatelliteInfoSource.updateInterval?4() -> int +QtPositioning.QGeoSatelliteInfoSource.minimumUpdateInterval?4() -> int +QtPositioning.QGeoSatelliteInfoSource.error?4() -> QGeoSatelliteInfoSource.Error +QtPositioning.QGeoSatelliteInfoSource.startUpdates?4() +QtPositioning.QGeoSatelliteInfoSource.stopUpdates?4() +QtPositioning.QGeoSatelliteInfoSource.requestUpdate?4(int timeout=0) +QtPositioning.QGeoSatelliteInfoSource.satellitesInViewUpdated?4(unknown-type) +QtPositioning.QGeoSatelliteInfoSource.satellitesInUseUpdated?4(unknown-type) +QtPositioning.QGeoSatelliteInfoSource.requestTimeout?4() +QtPositioning.QGeoSatelliteInfoSource.error?4(QGeoSatelliteInfoSource.Error) +QtPositioning.QNmeaPositionInfoSource.UpdateMode?10 +QtPositioning.QNmeaPositionInfoSource.UpdateMode.RealTimeMode?10 +QtPositioning.QNmeaPositionInfoSource.UpdateMode.SimulationMode?10 +QtPositioning.QNmeaPositionInfoSource?1(QNmeaPositionInfoSource.UpdateMode, QObject parent=None) +QtPositioning.QNmeaPositionInfoSource.__init__?1(self, QNmeaPositionInfoSource.UpdateMode, QObject parent=None) +QtPositioning.QNmeaPositionInfoSource.updateMode?4() -> QNmeaPositionInfoSource.UpdateMode +QtPositioning.QNmeaPositionInfoSource.setDevice?4(QIODevice) +QtPositioning.QNmeaPositionInfoSource.device?4() -> QIODevice +QtPositioning.QNmeaPositionInfoSource.setUpdateInterval?4(int) +QtPositioning.QNmeaPositionInfoSource.lastKnownPosition?4(bool fromSatellitePositioningMethodsOnly=False) -> QGeoPositionInfo +QtPositioning.QNmeaPositionInfoSource.supportedPositioningMethods?4() -> QGeoPositionInfoSource.PositioningMethods +QtPositioning.QNmeaPositionInfoSource.minimumUpdateInterval?4() -> int +QtPositioning.QNmeaPositionInfoSource.error?4() -> QGeoPositionInfoSource.Error +QtPositioning.QNmeaPositionInfoSource.startUpdates?4() +QtPositioning.QNmeaPositionInfoSource.stopUpdates?4() +QtPositioning.QNmeaPositionInfoSource.requestUpdate?4(int timeout=0) +QtPositioning.QNmeaPositionInfoSource.parsePosInfoFromNmeaData?4(str, int, QGeoPositionInfo) -> (bool, bool) +QtPositioning.QNmeaPositionInfoSource.setUserEquivalentRangeError?4(float) +QtPositioning.QNmeaPositionInfoSource.userEquivalentRangeError?4() -> float +QtLocation.QGeoCodeReply.Error?10 +QtLocation.QGeoCodeReply.Error.NoError?10 +QtLocation.QGeoCodeReply.Error.EngineNotSetError?10 +QtLocation.QGeoCodeReply.Error.CommunicationError?10 +QtLocation.QGeoCodeReply.Error.ParseError?10 +QtLocation.QGeoCodeReply.Error.UnsupportedOptionError?10 +QtLocation.QGeoCodeReply.Error.CombinationError?10 +QtLocation.QGeoCodeReply.Error.UnknownError?10 +QtLocation.QGeoCodeReply?1(QGeoCodeReply.Error, QString, QObject parent=None) +QtLocation.QGeoCodeReply.__init__?1(self, QGeoCodeReply.Error, QString, QObject parent=None) +QtLocation.QGeoCodeReply?1(QObject parent=None) +QtLocation.QGeoCodeReply.__init__?1(self, QObject parent=None) +QtLocation.QGeoCodeReply.isFinished?4() -> bool +QtLocation.QGeoCodeReply.error?4() -> QGeoCodeReply.Error +QtLocation.QGeoCodeReply.errorString?4() -> QString +QtLocation.QGeoCodeReply.viewport?4() -> QGeoShape +QtLocation.QGeoCodeReply.locations?4() -> unknown-type +QtLocation.QGeoCodeReply.limit?4() -> int +QtLocation.QGeoCodeReply.offset?4() -> int +QtLocation.QGeoCodeReply.abort?4() +QtLocation.QGeoCodeReply.aborted?4() +QtLocation.QGeoCodeReply.finished?4() +QtLocation.QGeoCodeReply.error?4(QGeoCodeReply.Error, QString errorString='') +QtLocation.QGeoCodeReply.setError?4(QGeoCodeReply.Error, QString) +QtLocation.QGeoCodeReply.setFinished?4(bool) +QtLocation.QGeoCodeReply.setViewport?4(QGeoShape) +QtLocation.QGeoCodeReply.addLocation?4(QGeoLocation) +QtLocation.QGeoCodeReply.setLocations?4(unknown-type) +QtLocation.QGeoCodeReply.setLimit?4(int) +QtLocation.QGeoCodeReply.setOffset?4(int) +QtLocation.QGeoCodingManager.managerName?4() -> QString +QtLocation.QGeoCodingManager.managerVersion?4() -> int +QtLocation.QGeoCodingManager.geocode?4(QGeoAddress, QGeoShape bounds=QGeoShape()) -> QGeoCodeReply +QtLocation.QGeoCodingManager.geocode?4(QString, int limit=-1, int offset=0, QGeoShape bounds=QGeoShape()) -> QGeoCodeReply +QtLocation.QGeoCodingManager.reverseGeocode?4(QGeoCoordinate, QGeoShape bounds=QGeoShape()) -> QGeoCodeReply +QtLocation.QGeoCodingManager.setLocale?4(QLocale) +QtLocation.QGeoCodingManager.locale?4() -> QLocale +QtLocation.QGeoCodingManager.finished?4(QGeoCodeReply) +QtLocation.QGeoCodingManager.error?4(QGeoCodeReply, QGeoCodeReply.Error, QString errorString='') +QtLocation.QGeoCodingManagerEngine?1(QVariantMap, QObject parent=None) +QtLocation.QGeoCodingManagerEngine.__init__?1(self, QVariantMap, QObject parent=None) +QtLocation.QGeoCodingManagerEngine.managerName?4() -> QString +QtLocation.QGeoCodingManagerEngine.managerVersion?4() -> int +QtLocation.QGeoCodingManagerEngine.geocode?4(QGeoAddress, QGeoShape) -> QGeoCodeReply +QtLocation.QGeoCodingManagerEngine.geocode?4(QString, int, int, QGeoShape) -> QGeoCodeReply +QtLocation.QGeoCodingManagerEngine.reverseGeocode?4(QGeoCoordinate, QGeoShape) -> QGeoCodeReply +QtLocation.QGeoCodingManagerEngine.setLocale?4(QLocale) +QtLocation.QGeoCodingManagerEngine.locale?4() -> QLocale +QtLocation.QGeoCodingManagerEngine.finished?4(QGeoCodeReply) +QtLocation.QGeoCodingManagerEngine.error?4(QGeoCodeReply, QGeoCodeReply.Error, QString errorString='') +QtLocation.QGeoManeuver.InstructionDirection?10 +QtLocation.QGeoManeuver.InstructionDirection.NoDirection?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionForward?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionBearRight?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionLightRight?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionRight?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionHardRight?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionUTurnRight?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionUTurnLeft?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionHardLeft?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionLeft?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionLightLeft?10 +QtLocation.QGeoManeuver.InstructionDirection.DirectionBearLeft?10 +QtLocation.QGeoManeuver?1() +QtLocation.QGeoManeuver.__init__?1(self) +QtLocation.QGeoManeuver?1(QGeoManeuver) +QtLocation.QGeoManeuver.__init__?1(self, QGeoManeuver) +QtLocation.QGeoManeuver.isValid?4() -> bool +QtLocation.QGeoManeuver.setPosition?4(QGeoCoordinate) +QtLocation.QGeoManeuver.position?4() -> QGeoCoordinate +QtLocation.QGeoManeuver.setInstructionText?4(QString) +QtLocation.QGeoManeuver.instructionText?4() -> QString +QtLocation.QGeoManeuver.setDirection?4(QGeoManeuver.InstructionDirection) +QtLocation.QGeoManeuver.direction?4() -> QGeoManeuver.InstructionDirection +QtLocation.QGeoManeuver.setTimeToNextInstruction?4(int) +QtLocation.QGeoManeuver.timeToNextInstruction?4() -> int +QtLocation.QGeoManeuver.setDistanceToNextInstruction?4(float) +QtLocation.QGeoManeuver.distanceToNextInstruction?4() -> float +QtLocation.QGeoManeuver.setWaypoint?4(QGeoCoordinate) +QtLocation.QGeoManeuver.waypoint?4() -> QGeoCoordinate +QtLocation.QGeoManeuver.setExtendedAttributes?4(QVariantMap) +QtLocation.QGeoManeuver.extendedAttributes?4() -> QVariantMap +QtLocation.QGeoRoute?1() +QtLocation.QGeoRoute.__init__?1(self) +QtLocation.QGeoRoute?1(QGeoRoute) +QtLocation.QGeoRoute.__init__?1(self, QGeoRoute) +QtLocation.QGeoRoute.setRouteId?4(QString) +QtLocation.QGeoRoute.routeId?4() -> QString +QtLocation.QGeoRoute.setRequest?4(QGeoRouteRequest) +QtLocation.QGeoRoute.request?4() -> QGeoRouteRequest +QtLocation.QGeoRoute.setBounds?4(QGeoRectangle) +QtLocation.QGeoRoute.bounds?4() -> QGeoRectangle +QtLocation.QGeoRoute.setFirstRouteSegment?4(QGeoRouteSegment) +QtLocation.QGeoRoute.firstRouteSegment?4() -> QGeoRouteSegment +QtLocation.QGeoRoute.setTravelTime?4(int) +QtLocation.QGeoRoute.travelTime?4() -> int +QtLocation.QGeoRoute.setDistance?4(float) +QtLocation.QGeoRoute.distance?4() -> float +QtLocation.QGeoRoute.setTravelMode?4(QGeoRouteRequest.TravelMode) +QtLocation.QGeoRoute.travelMode?4() -> QGeoRouteRequest.TravelMode +QtLocation.QGeoRoute.setPath?4(unknown-type) +QtLocation.QGeoRoute.path?4() -> unknown-type +QtLocation.QGeoRoute.setRouteLegs?4(unknown-type) +QtLocation.QGeoRoute.routeLegs?4() -> unknown-type +QtLocation.QGeoRoute.setExtendedAttributes?4(QVariantMap) +QtLocation.QGeoRoute.extendedAttributes?4() -> QVariantMap +QtLocation.QGeoRouteLeg?1() +QtLocation.QGeoRouteLeg.__init__?1(self) +QtLocation.QGeoRouteLeg?1(QGeoRouteLeg) +QtLocation.QGeoRouteLeg.__init__?1(self, QGeoRouteLeg) +QtLocation.QGeoRouteLeg.setLegIndex?4(int) +QtLocation.QGeoRouteLeg.legIndex?4() -> int +QtLocation.QGeoRouteLeg.setOverallRoute?4(QGeoRoute) +QtLocation.QGeoRouteLeg.overallRoute?4() -> QGeoRoute +QtLocation.QGeoRouteReply.Error?10 +QtLocation.QGeoRouteReply.Error.NoError?10 +QtLocation.QGeoRouteReply.Error.EngineNotSetError?10 +QtLocation.QGeoRouteReply.Error.CommunicationError?10 +QtLocation.QGeoRouteReply.Error.ParseError?10 +QtLocation.QGeoRouteReply.Error.UnsupportedOptionError?10 +QtLocation.QGeoRouteReply.Error.UnknownError?10 +QtLocation.QGeoRouteReply?1(QGeoRouteReply.Error, QString, QObject parent=None) +QtLocation.QGeoRouteReply.__init__?1(self, QGeoRouteReply.Error, QString, QObject parent=None) +QtLocation.QGeoRouteReply?1(QGeoRouteRequest, QObject parent=None) +QtLocation.QGeoRouteReply.__init__?1(self, QGeoRouteRequest, QObject parent=None) +QtLocation.QGeoRouteReply.isFinished?4() -> bool +QtLocation.QGeoRouteReply.error?4() -> QGeoRouteReply.Error +QtLocation.QGeoRouteReply.errorString?4() -> QString +QtLocation.QGeoRouteReply.request?4() -> QGeoRouteRequest +QtLocation.QGeoRouteReply.routes?4() -> unknown-type +QtLocation.QGeoRouteReply.abort?4() +QtLocation.QGeoRouteReply.aborted?4() +QtLocation.QGeoRouteReply.finished?4() +QtLocation.QGeoRouteReply.error?4(QGeoRouteReply.Error, QString errorString='') +QtLocation.QGeoRouteReply.setError?4(QGeoRouteReply.Error, QString) +QtLocation.QGeoRouteReply.setFinished?4(bool) +QtLocation.QGeoRouteReply.setRoutes?4(unknown-type) +QtLocation.QGeoRouteReply.addRoutes?4(unknown-type) +QtLocation.QGeoRouteRequest.ManeuverDetail?10 +QtLocation.QGeoRouteRequest.ManeuverDetail.NoManeuvers?10 +QtLocation.QGeoRouteRequest.ManeuverDetail.BasicManeuvers?10 +QtLocation.QGeoRouteRequest.SegmentDetail?10 +QtLocation.QGeoRouteRequest.SegmentDetail.NoSegmentData?10 +QtLocation.QGeoRouteRequest.SegmentDetail.BasicSegmentData?10 +QtLocation.QGeoRouteRequest.RouteOptimization?10 +QtLocation.QGeoRouteRequest.RouteOptimization.ShortestRoute?10 +QtLocation.QGeoRouteRequest.RouteOptimization.FastestRoute?10 +QtLocation.QGeoRouteRequest.RouteOptimization.MostEconomicRoute?10 +QtLocation.QGeoRouteRequest.RouteOptimization.MostScenicRoute?10 +QtLocation.QGeoRouteRequest.FeatureWeight?10 +QtLocation.QGeoRouteRequest.FeatureWeight.NeutralFeatureWeight?10 +QtLocation.QGeoRouteRequest.FeatureWeight.PreferFeatureWeight?10 +QtLocation.QGeoRouteRequest.FeatureWeight.RequireFeatureWeight?10 +QtLocation.QGeoRouteRequest.FeatureWeight.AvoidFeatureWeight?10 +QtLocation.QGeoRouteRequest.FeatureWeight.DisallowFeatureWeight?10 +QtLocation.QGeoRouteRequest.FeatureType?10 +QtLocation.QGeoRouteRequest.FeatureType.NoFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.TollFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.HighwayFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.PublicTransitFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.FerryFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.TunnelFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.DirtRoadFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.ParksFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.MotorPoolLaneFeature?10 +QtLocation.QGeoRouteRequest.FeatureType.TrafficFeature?10 +QtLocation.QGeoRouteRequest.TravelMode?10 +QtLocation.QGeoRouteRequest.TravelMode.CarTravel?10 +QtLocation.QGeoRouteRequest.TravelMode.PedestrianTravel?10 +QtLocation.QGeoRouteRequest.TravelMode.BicycleTravel?10 +QtLocation.QGeoRouteRequest.TravelMode.PublicTransitTravel?10 +QtLocation.QGeoRouteRequest.TravelMode.TruckTravel?10 +QtLocation.QGeoRouteRequest?1(unknown-type waypoints=[]) +QtLocation.QGeoRouteRequest.__init__?1(self, unknown-type waypoints=[]) +QtLocation.QGeoRouteRequest?1(QGeoCoordinate, QGeoCoordinate) +QtLocation.QGeoRouteRequest.__init__?1(self, QGeoCoordinate, QGeoCoordinate) +QtLocation.QGeoRouteRequest?1(QGeoRouteRequest) +QtLocation.QGeoRouteRequest.__init__?1(self, QGeoRouteRequest) +QtLocation.QGeoRouteRequest.setWaypoints?4(unknown-type) +QtLocation.QGeoRouteRequest.waypoints?4() -> unknown-type +QtLocation.QGeoRouteRequest.setExcludeAreas?4(unknown-type) +QtLocation.QGeoRouteRequest.excludeAreas?4() -> unknown-type +QtLocation.QGeoRouteRequest.setNumberAlternativeRoutes?4(int) +QtLocation.QGeoRouteRequest.numberAlternativeRoutes?4() -> int +QtLocation.QGeoRouteRequest.setTravelModes?4(QGeoRouteRequest.TravelModes) +QtLocation.QGeoRouteRequest.travelModes?4() -> QGeoRouteRequest.TravelModes +QtLocation.QGeoRouteRequest.setFeatureWeight?4(QGeoRouteRequest.FeatureType, QGeoRouteRequest.FeatureWeight) +QtLocation.QGeoRouteRequest.featureWeight?4(QGeoRouteRequest.FeatureType) -> QGeoRouteRequest.FeatureWeight +QtLocation.QGeoRouteRequest.featureTypes?4() -> unknown-type +QtLocation.QGeoRouteRequest.setRouteOptimization?4(QGeoRouteRequest.RouteOptimizations) +QtLocation.QGeoRouteRequest.routeOptimization?4() -> QGeoRouteRequest.RouteOptimizations +QtLocation.QGeoRouteRequest.setSegmentDetail?4(QGeoRouteRequest.SegmentDetail) +QtLocation.QGeoRouteRequest.segmentDetail?4() -> QGeoRouteRequest.SegmentDetail +QtLocation.QGeoRouteRequest.setManeuverDetail?4(QGeoRouteRequest.ManeuverDetail) +QtLocation.QGeoRouteRequest.maneuverDetail?4() -> QGeoRouteRequest.ManeuverDetail +QtLocation.QGeoRouteRequest.setWaypointsMetadata?4(unknown-type) +QtLocation.QGeoRouteRequest.waypointsMetadata?4() -> unknown-type +QtLocation.QGeoRouteRequest.setExtraParameters?4(QVariantMap) +QtLocation.QGeoRouteRequest.extraParameters?4() -> QVariantMap +QtLocation.QGeoRouteRequest.setDepartureTime?4(QDateTime) +QtLocation.QGeoRouteRequest.departureTime?4() -> QDateTime +QtLocation.QGeoRouteRequest.TravelModes?1() +QtLocation.QGeoRouteRequest.TravelModes.__init__?1(self) +QtLocation.QGeoRouteRequest.TravelModes?1(int) +QtLocation.QGeoRouteRequest.TravelModes.__init__?1(self, int) +QtLocation.QGeoRouteRequest.TravelModes?1(QGeoRouteRequest.TravelModes) +QtLocation.QGeoRouteRequest.TravelModes.__init__?1(self, QGeoRouteRequest.TravelModes) +QtLocation.QGeoRouteRequest.FeatureTypes?1() +QtLocation.QGeoRouteRequest.FeatureTypes.__init__?1(self) +QtLocation.QGeoRouteRequest.FeatureTypes?1(int) +QtLocation.QGeoRouteRequest.FeatureTypes.__init__?1(self, int) +QtLocation.QGeoRouteRequest.FeatureTypes?1(QGeoRouteRequest.FeatureTypes) +QtLocation.QGeoRouteRequest.FeatureTypes.__init__?1(self, QGeoRouteRequest.FeatureTypes) +QtLocation.QGeoRouteRequest.FeatureWeights?1() +QtLocation.QGeoRouteRequest.FeatureWeights.__init__?1(self) +QtLocation.QGeoRouteRequest.FeatureWeights?1(int) +QtLocation.QGeoRouteRequest.FeatureWeights.__init__?1(self, int) +QtLocation.QGeoRouteRequest.FeatureWeights?1(QGeoRouteRequest.FeatureWeights) +QtLocation.QGeoRouteRequest.FeatureWeights.__init__?1(self, QGeoRouteRequest.FeatureWeights) +QtLocation.QGeoRouteRequest.RouteOptimizations?1() +QtLocation.QGeoRouteRequest.RouteOptimizations.__init__?1(self) +QtLocation.QGeoRouteRequest.RouteOptimizations?1(int) +QtLocation.QGeoRouteRequest.RouteOptimizations.__init__?1(self, int) +QtLocation.QGeoRouteRequest.RouteOptimizations?1(QGeoRouteRequest.RouteOptimizations) +QtLocation.QGeoRouteRequest.RouteOptimizations.__init__?1(self, QGeoRouteRequest.RouteOptimizations) +QtLocation.QGeoRouteRequest.SegmentDetails?1() +QtLocation.QGeoRouteRequest.SegmentDetails.__init__?1(self) +QtLocation.QGeoRouteRequest.SegmentDetails?1(int) +QtLocation.QGeoRouteRequest.SegmentDetails.__init__?1(self, int) +QtLocation.QGeoRouteRequest.SegmentDetails?1(QGeoRouteRequest.SegmentDetails) +QtLocation.QGeoRouteRequest.SegmentDetails.__init__?1(self, QGeoRouteRequest.SegmentDetails) +QtLocation.QGeoRouteRequest.ManeuverDetails?1() +QtLocation.QGeoRouteRequest.ManeuverDetails.__init__?1(self) +QtLocation.QGeoRouteRequest.ManeuverDetails?1(int) +QtLocation.QGeoRouteRequest.ManeuverDetails.__init__?1(self, int) +QtLocation.QGeoRouteRequest.ManeuverDetails?1(QGeoRouteRequest.ManeuverDetails) +QtLocation.QGeoRouteRequest.ManeuverDetails.__init__?1(self, QGeoRouteRequest.ManeuverDetails) +QtLocation.QGeoRouteSegment?1() +QtLocation.QGeoRouteSegment.__init__?1(self) +QtLocation.QGeoRouteSegment?1(QGeoRouteSegment) +QtLocation.QGeoRouteSegment.__init__?1(self, QGeoRouteSegment) +QtLocation.QGeoRouteSegment.isValid?4() -> bool +QtLocation.QGeoRouteSegment.setNextRouteSegment?4(QGeoRouteSegment) +QtLocation.QGeoRouteSegment.nextRouteSegment?4() -> QGeoRouteSegment +QtLocation.QGeoRouteSegment.setTravelTime?4(int) +QtLocation.QGeoRouteSegment.travelTime?4() -> int +QtLocation.QGeoRouteSegment.setDistance?4(float) +QtLocation.QGeoRouteSegment.distance?4() -> float +QtLocation.QGeoRouteSegment.setPath?4(unknown-type) +QtLocation.QGeoRouteSegment.path?4() -> unknown-type +QtLocation.QGeoRouteSegment.setManeuver?4(QGeoManeuver) +QtLocation.QGeoRouteSegment.maneuver?4() -> QGeoManeuver +QtLocation.QGeoRouteSegment.isLegLastSegment?4() -> bool +QtLocation.QGeoRoutingManager.managerName?4() -> QString +QtLocation.QGeoRoutingManager.managerVersion?4() -> int +QtLocation.QGeoRoutingManager.calculateRoute?4(QGeoRouteRequest) -> QGeoRouteReply +QtLocation.QGeoRoutingManager.updateRoute?4(QGeoRoute, QGeoCoordinate) -> QGeoRouteReply +QtLocation.QGeoRoutingManager.supportedTravelModes?4() -> QGeoRouteRequest.TravelModes +QtLocation.QGeoRoutingManager.supportedFeatureTypes?4() -> QGeoRouteRequest.FeatureTypes +QtLocation.QGeoRoutingManager.supportedFeatureWeights?4() -> QGeoRouteRequest.FeatureWeights +QtLocation.QGeoRoutingManager.supportedRouteOptimizations?4() -> QGeoRouteRequest.RouteOptimizations +QtLocation.QGeoRoutingManager.supportedSegmentDetails?4() -> QGeoRouteRequest.SegmentDetails +QtLocation.QGeoRoutingManager.supportedManeuverDetails?4() -> QGeoRouteRequest.ManeuverDetails +QtLocation.QGeoRoutingManager.setLocale?4(QLocale) +QtLocation.QGeoRoutingManager.locale?4() -> QLocale +QtLocation.QGeoRoutingManager.setMeasurementSystem?4(QLocale.MeasurementSystem) +QtLocation.QGeoRoutingManager.measurementSystem?4() -> QLocale.MeasurementSystem +QtLocation.QGeoRoutingManager.finished?4(QGeoRouteReply) +QtLocation.QGeoRoutingManager.error?4(QGeoRouteReply, QGeoRouteReply.Error, QString errorString='') +QtLocation.QGeoRoutingManagerEngine?1(QVariantMap, QObject parent=None) +QtLocation.QGeoRoutingManagerEngine.__init__?1(self, QVariantMap, QObject parent=None) +QtLocation.QGeoRoutingManagerEngine.managerName?4() -> QString +QtLocation.QGeoRoutingManagerEngine.managerVersion?4() -> int +QtLocation.QGeoRoutingManagerEngine.calculateRoute?4(QGeoRouteRequest) -> QGeoRouteReply +QtLocation.QGeoRoutingManagerEngine.updateRoute?4(QGeoRoute, QGeoCoordinate) -> QGeoRouteReply +QtLocation.QGeoRoutingManagerEngine.supportedTravelModes?4() -> QGeoRouteRequest.TravelModes +QtLocation.QGeoRoutingManagerEngine.supportedFeatureTypes?4() -> QGeoRouteRequest.FeatureTypes +QtLocation.QGeoRoutingManagerEngine.supportedFeatureWeights?4() -> QGeoRouteRequest.FeatureWeights +QtLocation.QGeoRoutingManagerEngine.supportedRouteOptimizations?4() -> QGeoRouteRequest.RouteOptimizations +QtLocation.QGeoRoutingManagerEngine.supportedSegmentDetails?4() -> QGeoRouteRequest.SegmentDetails +QtLocation.QGeoRoutingManagerEngine.supportedManeuverDetails?4() -> QGeoRouteRequest.ManeuverDetails +QtLocation.QGeoRoutingManagerEngine.setLocale?4(QLocale) +QtLocation.QGeoRoutingManagerEngine.locale?4() -> QLocale +QtLocation.QGeoRoutingManagerEngine.setMeasurementSystem?4(QLocale.MeasurementSystem) +QtLocation.QGeoRoutingManagerEngine.measurementSystem?4() -> QLocale.MeasurementSystem +QtLocation.QGeoRoutingManagerEngine.finished?4(QGeoRouteReply) +QtLocation.QGeoRoutingManagerEngine.error?4(QGeoRouteReply, QGeoRouteReply.Error, QString errorString='') +QtLocation.QGeoRoutingManagerEngine.setSupportedTravelModes?4(QGeoRouteRequest.TravelModes) +QtLocation.QGeoRoutingManagerEngine.setSupportedFeatureTypes?4(QGeoRouteRequest.FeatureTypes) +QtLocation.QGeoRoutingManagerEngine.setSupportedFeatureWeights?4(QGeoRouteRequest.FeatureWeights) +QtLocation.QGeoRoutingManagerEngine.setSupportedRouteOptimizations?4(QGeoRouteRequest.RouteOptimizations) +QtLocation.QGeoRoutingManagerEngine.setSupportedSegmentDetails?4(QGeoRouteRequest.SegmentDetails) +QtLocation.QGeoRoutingManagerEngine.setSupportedManeuverDetails?4(QGeoRouteRequest.ManeuverDetails) +QtLocation.QGeoServiceProvider.NavigationFeature?10 +QtLocation.QGeoServiceProvider.NavigationFeature.NoNavigationFeatures?10 +QtLocation.QGeoServiceProvider.NavigationFeature.OnlineNavigationFeature?10 +QtLocation.QGeoServiceProvider.NavigationFeature.OfflineNavigationFeature?10 +QtLocation.QGeoServiceProvider.NavigationFeature.AnyNavigationFeatures?10 +QtLocation.QGeoServiceProvider.PlacesFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.NoPlacesFeatures?10 +QtLocation.QGeoServiceProvider.PlacesFeature.OnlinePlacesFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.OfflinePlacesFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.SavePlaceFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.RemovePlaceFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.SaveCategoryFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.RemoveCategoryFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.PlaceRecommendationsFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.SearchSuggestionsFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.LocalizedPlacesFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.NotificationsFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.PlaceMatchingFeature?10 +QtLocation.QGeoServiceProvider.PlacesFeature.AnyPlacesFeatures?10 +QtLocation.QGeoServiceProvider.MappingFeature?10 +QtLocation.QGeoServiceProvider.MappingFeature.NoMappingFeatures?10 +QtLocation.QGeoServiceProvider.MappingFeature.OnlineMappingFeature?10 +QtLocation.QGeoServiceProvider.MappingFeature.OfflineMappingFeature?10 +QtLocation.QGeoServiceProvider.MappingFeature.LocalizedMappingFeature?10 +QtLocation.QGeoServiceProvider.MappingFeature.AnyMappingFeatures?10 +QtLocation.QGeoServiceProvider.GeocodingFeature?10 +QtLocation.QGeoServiceProvider.GeocodingFeature.NoGeocodingFeatures?10 +QtLocation.QGeoServiceProvider.GeocodingFeature.OnlineGeocodingFeature?10 +QtLocation.QGeoServiceProvider.GeocodingFeature.OfflineGeocodingFeature?10 +QtLocation.QGeoServiceProvider.GeocodingFeature.ReverseGeocodingFeature?10 +QtLocation.QGeoServiceProvider.GeocodingFeature.LocalizedGeocodingFeature?10 +QtLocation.QGeoServiceProvider.GeocodingFeature.AnyGeocodingFeatures?10 +QtLocation.QGeoServiceProvider.RoutingFeature?10 +QtLocation.QGeoServiceProvider.RoutingFeature.NoRoutingFeatures?10 +QtLocation.QGeoServiceProvider.RoutingFeature.OnlineRoutingFeature?10 +QtLocation.QGeoServiceProvider.RoutingFeature.OfflineRoutingFeature?10 +QtLocation.QGeoServiceProvider.RoutingFeature.LocalizedRoutingFeature?10 +QtLocation.QGeoServiceProvider.RoutingFeature.RouteUpdatesFeature?10 +QtLocation.QGeoServiceProvider.RoutingFeature.AlternativeRoutesFeature?10 +QtLocation.QGeoServiceProvider.RoutingFeature.ExcludeAreasRoutingFeature?10 +QtLocation.QGeoServiceProvider.RoutingFeature.AnyRoutingFeatures?10 +QtLocation.QGeoServiceProvider.Error?10 +QtLocation.QGeoServiceProvider.Error.NoError?10 +QtLocation.QGeoServiceProvider.Error.NotSupportedError?10 +QtLocation.QGeoServiceProvider.Error.UnknownParameterError?10 +QtLocation.QGeoServiceProvider.Error.MissingRequiredParameterError?10 +QtLocation.QGeoServiceProvider.Error.ConnectionError?10 +QtLocation.QGeoServiceProvider.Error.LoaderError?10 +QtLocation.QGeoServiceProvider?1(QString, QVariantMap parameters={}, bool allowExperimental=False) +QtLocation.QGeoServiceProvider.__init__?1(self, QString, QVariantMap parameters={}, bool allowExperimental=False) +QtLocation.QGeoServiceProvider.availableServiceProviders?4() -> QStringList +QtLocation.QGeoServiceProvider.routingFeatures?4() -> QGeoServiceProvider.RoutingFeatures +QtLocation.QGeoServiceProvider.geocodingFeatures?4() -> QGeoServiceProvider.GeocodingFeatures +QtLocation.QGeoServiceProvider.mappingFeatures?4() -> QGeoServiceProvider.MappingFeatures +QtLocation.QGeoServiceProvider.placesFeatures?4() -> QGeoServiceProvider.PlacesFeatures +QtLocation.QGeoServiceProvider.geocodingManager?4() -> QGeoCodingManager +QtLocation.QGeoServiceProvider.routingManager?4() -> QGeoRoutingManager +QtLocation.QGeoServiceProvider.placeManager?4() -> QPlaceManager +QtLocation.QGeoServiceProvider.error?4() -> QGeoServiceProvider.Error +QtLocation.QGeoServiceProvider.errorString?4() -> QString +QtLocation.QGeoServiceProvider.setParameters?4(QVariantMap) +QtLocation.QGeoServiceProvider.setLocale?4(QLocale) +QtLocation.QGeoServiceProvider.setAllowExperimental?4(bool) +QtLocation.QGeoServiceProvider.navigationFeatures?4() -> QGeoServiceProvider.NavigationFeatures +QtLocation.QGeoServiceProvider.navigationManager?4() -> QNavigationManager +QtLocation.QGeoServiceProvider.mappingError?4() -> QGeoServiceProvider.Error +QtLocation.QGeoServiceProvider.mappingErrorString?4() -> QString +QtLocation.QGeoServiceProvider.geocodingError?4() -> QGeoServiceProvider.Error +QtLocation.QGeoServiceProvider.geocodingErrorString?4() -> QString +QtLocation.QGeoServiceProvider.routingError?4() -> QGeoServiceProvider.Error +QtLocation.QGeoServiceProvider.routingErrorString?4() -> QString +QtLocation.QGeoServiceProvider.placesError?4() -> QGeoServiceProvider.Error +QtLocation.QGeoServiceProvider.placesErrorString?4() -> QString +QtLocation.QGeoServiceProvider.navigationError?4() -> QGeoServiceProvider.Error +QtLocation.QGeoServiceProvider.navigationErrorString?4() -> QString +QtLocation.QGeoServiceProvider.RoutingFeatures?1() +QtLocation.QGeoServiceProvider.RoutingFeatures.__init__?1(self) +QtLocation.QGeoServiceProvider.RoutingFeatures?1(int) +QtLocation.QGeoServiceProvider.RoutingFeatures.__init__?1(self, int) +QtLocation.QGeoServiceProvider.RoutingFeatures?1(QGeoServiceProvider.RoutingFeatures) +QtLocation.QGeoServiceProvider.RoutingFeatures.__init__?1(self, QGeoServiceProvider.RoutingFeatures) +QtLocation.QGeoServiceProvider.GeocodingFeatures?1() +QtLocation.QGeoServiceProvider.GeocodingFeatures.__init__?1(self) +QtLocation.QGeoServiceProvider.GeocodingFeatures?1(int) +QtLocation.QGeoServiceProvider.GeocodingFeatures.__init__?1(self, int) +QtLocation.QGeoServiceProvider.GeocodingFeatures?1(QGeoServiceProvider.GeocodingFeatures) +QtLocation.QGeoServiceProvider.GeocodingFeatures.__init__?1(self, QGeoServiceProvider.GeocodingFeatures) +QtLocation.QGeoServiceProvider.MappingFeatures?1() +QtLocation.QGeoServiceProvider.MappingFeatures.__init__?1(self) +QtLocation.QGeoServiceProvider.MappingFeatures?1(int) +QtLocation.QGeoServiceProvider.MappingFeatures.__init__?1(self, int) +QtLocation.QGeoServiceProvider.MappingFeatures?1(QGeoServiceProvider.MappingFeatures) +QtLocation.QGeoServiceProvider.MappingFeatures.__init__?1(self, QGeoServiceProvider.MappingFeatures) +QtLocation.QGeoServiceProvider.PlacesFeatures?1() +QtLocation.QGeoServiceProvider.PlacesFeatures.__init__?1(self) +QtLocation.QGeoServiceProvider.PlacesFeatures?1(int) +QtLocation.QGeoServiceProvider.PlacesFeatures.__init__?1(self, int) +QtLocation.QGeoServiceProvider.PlacesFeatures?1(QGeoServiceProvider.PlacesFeatures) +QtLocation.QGeoServiceProvider.PlacesFeatures.__init__?1(self, QGeoServiceProvider.PlacesFeatures) +QtLocation.QGeoServiceProvider.NavigationFeatures?1() +QtLocation.QGeoServiceProvider.NavigationFeatures.__init__?1(self) +QtLocation.QGeoServiceProvider.NavigationFeatures?1(int) +QtLocation.QGeoServiceProvider.NavigationFeatures.__init__?1(self, int) +QtLocation.QGeoServiceProvider.NavigationFeatures?1(QGeoServiceProvider.NavigationFeatures) +QtLocation.QGeoServiceProvider.NavigationFeatures.__init__?1(self, QGeoServiceProvider.NavigationFeatures) +QtLocation.QLocation.Visibility?10 +QtLocation.QLocation.Visibility.UnspecifiedVisibility?10 +QtLocation.QLocation.Visibility.DeviceVisibility?10 +QtLocation.QLocation.Visibility.PrivateVisibility?10 +QtLocation.QLocation.Visibility.PublicVisibility?10 +QtLocation.QLocation.VisibilityScope?1() +QtLocation.QLocation.VisibilityScope.__init__?1(self) +QtLocation.QLocation.VisibilityScope?1(int) +QtLocation.QLocation.VisibilityScope.__init__?1(self, int) +QtLocation.QLocation.VisibilityScope?1(QLocation.VisibilityScope) +QtLocation.QLocation.VisibilityScope.__init__?1(self, QLocation.VisibilityScope) +QtLocation.QPlace?1() +QtLocation.QPlace.__init__?1(self) +QtLocation.QPlace?1(QPlace) +QtLocation.QPlace.__init__?1(self, QPlace) +QtLocation.QPlace.categories?4() -> unknown-type +QtLocation.QPlace.setCategory?4(QPlaceCategory) +QtLocation.QPlace.setCategories?4(unknown-type) +QtLocation.QPlace.location?4() -> QGeoLocation +QtLocation.QPlace.setLocation?4(QGeoLocation) +QtLocation.QPlace.ratings?4() -> QPlaceRatings +QtLocation.QPlace.setRatings?4(QPlaceRatings) +QtLocation.QPlace.supplier?4() -> QPlaceSupplier +QtLocation.QPlace.setSupplier?4(QPlaceSupplier) +QtLocation.QPlace.attribution?4() -> QString +QtLocation.QPlace.setAttribution?4(QString) +QtLocation.QPlace.icon?4() -> QPlaceIcon +QtLocation.QPlace.setIcon?4(QPlaceIcon) +QtLocation.QPlace.content?4(QPlaceContent.Type) -> unknown-type +QtLocation.QPlace.setContent?4(QPlaceContent.Type, unknown-type) +QtLocation.QPlace.insertContent?4(QPlaceContent.Type, unknown-type) +QtLocation.QPlace.totalContentCount?4(QPlaceContent.Type) -> int +QtLocation.QPlace.setTotalContentCount?4(QPlaceContent.Type, int) +QtLocation.QPlace.name?4() -> QString +QtLocation.QPlace.setName?4(QString) +QtLocation.QPlace.placeId?4() -> QString +QtLocation.QPlace.setPlaceId?4(QString) +QtLocation.QPlace.primaryPhone?4() -> QString +QtLocation.QPlace.primaryFax?4() -> QString +QtLocation.QPlace.primaryEmail?4() -> QString +QtLocation.QPlace.primaryWebsite?4() -> QUrl +QtLocation.QPlace.detailsFetched?4() -> bool +QtLocation.QPlace.setDetailsFetched?4(bool) +QtLocation.QPlace.extendedAttributeTypes?4() -> QStringList +QtLocation.QPlace.extendedAttribute?4(QString) -> QPlaceAttribute +QtLocation.QPlace.setExtendedAttribute?4(QString, QPlaceAttribute) +QtLocation.QPlace.removeExtendedAttribute?4(QString) +QtLocation.QPlace.contactTypes?4() -> QStringList +QtLocation.QPlace.contactDetails?4(QString) -> unknown-type +QtLocation.QPlace.setContactDetails?4(QString, unknown-type) +QtLocation.QPlace.appendContactDetail?4(QString, QPlaceContactDetail) +QtLocation.QPlace.removeContactDetails?4(QString) +QtLocation.QPlace.visibility?4() -> QLocation.Visibility +QtLocation.QPlace.setVisibility?4(QLocation.Visibility) +QtLocation.QPlace.isEmpty?4() -> bool +QtLocation.QPlaceAttribute.OpeningHours?7 +QtLocation.QPlaceAttribute.Payment?7 +QtLocation.QPlaceAttribute.Provider?7 +QtLocation.QPlaceAttribute?1() +QtLocation.QPlaceAttribute.__init__?1(self) +QtLocation.QPlaceAttribute?1(QPlaceAttribute) +QtLocation.QPlaceAttribute.__init__?1(self, QPlaceAttribute) +QtLocation.QPlaceAttribute.label?4() -> QString +QtLocation.QPlaceAttribute.setLabel?4(QString) +QtLocation.QPlaceAttribute.text?4() -> QString +QtLocation.QPlaceAttribute.setText?4(QString) +QtLocation.QPlaceAttribute.isEmpty?4() -> bool +QtLocation.QPlaceCategory?1() +QtLocation.QPlaceCategory.__init__?1(self) +QtLocation.QPlaceCategory?1(QPlaceCategory) +QtLocation.QPlaceCategory.__init__?1(self, QPlaceCategory) +QtLocation.QPlaceCategory.categoryId?4() -> QString +QtLocation.QPlaceCategory.setCategoryId?4(QString) +QtLocation.QPlaceCategory.name?4() -> QString +QtLocation.QPlaceCategory.setName?4(QString) +QtLocation.QPlaceCategory.visibility?4() -> QLocation.Visibility +QtLocation.QPlaceCategory.setVisibility?4(QLocation.Visibility) +QtLocation.QPlaceCategory.icon?4() -> QPlaceIcon +QtLocation.QPlaceCategory.setIcon?4(QPlaceIcon) +QtLocation.QPlaceCategory.isEmpty?4() -> bool +QtLocation.QPlaceContactDetail.Email?7 +QtLocation.QPlaceContactDetail.Fax?7 +QtLocation.QPlaceContactDetail.Phone?7 +QtLocation.QPlaceContactDetail.Website?7 +QtLocation.QPlaceContactDetail?1() +QtLocation.QPlaceContactDetail.__init__?1(self) +QtLocation.QPlaceContactDetail?1(QPlaceContactDetail) +QtLocation.QPlaceContactDetail.__init__?1(self, QPlaceContactDetail) +QtLocation.QPlaceContactDetail.label?4() -> QString +QtLocation.QPlaceContactDetail.setLabel?4(QString) +QtLocation.QPlaceContactDetail.value?4() -> QString +QtLocation.QPlaceContactDetail.setValue?4(QString) +QtLocation.QPlaceContactDetail.clear?4() +QtLocation.QPlaceContent.Type?10 +QtLocation.QPlaceContent.Type.NoType?10 +QtLocation.QPlaceContent.Type.ImageType?10 +QtLocation.QPlaceContent.Type.ReviewType?10 +QtLocation.QPlaceContent.Type.EditorialType?10 +QtLocation.QPlaceContent.Type.CustomType?10 +QtLocation.QPlaceContent?1() +QtLocation.QPlaceContent.__init__?1(self) +QtLocation.QPlaceContent?1(QPlaceContent) +QtLocation.QPlaceContent.__init__?1(self, QPlaceContent) +QtLocation.QPlaceContent.type?4() -> QPlaceContent.Type +QtLocation.QPlaceContent.supplier?4() -> QPlaceSupplier +QtLocation.QPlaceContent.setSupplier?4(QPlaceSupplier) +QtLocation.QPlaceContent.user?4() -> QPlaceUser +QtLocation.QPlaceContent.setUser?4(QPlaceUser) +QtLocation.QPlaceContent.attribution?4() -> QString +QtLocation.QPlaceContent.setAttribution?4(QString) +QtLocation.QPlaceReply.Type?10 +QtLocation.QPlaceReply.Type.Reply?10 +QtLocation.QPlaceReply.Type.DetailsReply?10 +QtLocation.QPlaceReply.Type.SearchReply?10 +QtLocation.QPlaceReply.Type.SearchSuggestionReply?10 +QtLocation.QPlaceReply.Type.ContentReply?10 +QtLocation.QPlaceReply.Type.IdReply?10 +QtLocation.QPlaceReply.Type.MatchReply?10 +QtLocation.QPlaceReply.Error?10 +QtLocation.QPlaceReply.Error.NoError?10 +QtLocation.QPlaceReply.Error.PlaceDoesNotExistError?10 +QtLocation.QPlaceReply.Error.CategoryDoesNotExistError?10 +QtLocation.QPlaceReply.Error.CommunicationError?10 +QtLocation.QPlaceReply.Error.ParseError?10 +QtLocation.QPlaceReply.Error.PermissionsError?10 +QtLocation.QPlaceReply.Error.UnsupportedError?10 +QtLocation.QPlaceReply.Error.BadArgumentError?10 +QtLocation.QPlaceReply.Error.CancelError?10 +QtLocation.QPlaceReply.Error.UnknownError?10 +QtLocation.QPlaceReply?1(QObject parent=None) +QtLocation.QPlaceReply.__init__?1(self, QObject parent=None) +QtLocation.QPlaceReply.isFinished?4() -> bool +QtLocation.QPlaceReply.type?4() -> QPlaceReply.Type +QtLocation.QPlaceReply.errorString?4() -> QString +QtLocation.QPlaceReply.error?4() -> QPlaceReply.Error +QtLocation.QPlaceReply.abort?4() +QtLocation.QPlaceReply.aborted?4() +QtLocation.QPlaceReply.finished?4() +QtLocation.QPlaceReply.error?4(QPlaceReply.Error, QString errorString='') +QtLocation.QPlaceReply.contentUpdated?4() +QtLocation.QPlaceReply.setFinished?4(bool) +QtLocation.QPlaceReply.setError?4(QPlaceReply.Error, QString) +QtLocation.QPlaceContentReply?1(QObject parent=None) +QtLocation.QPlaceContentReply.__init__?1(self, QObject parent=None) +QtLocation.QPlaceContentReply.type?4() -> QPlaceReply.Type +QtLocation.QPlaceContentReply.content?4() -> unknown-type +QtLocation.QPlaceContentReply.totalCount?4() -> int +QtLocation.QPlaceContentReply.request?4() -> QPlaceContentRequest +QtLocation.QPlaceContentReply.previousPageRequest?4() -> QPlaceContentRequest +QtLocation.QPlaceContentReply.nextPageRequest?4() -> QPlaceContentRequest +QtLocation.QPlaceContentReply.setContent?4(unknown-type) +QtLocation.QPlaceContentReply.setTotalCount?4(int) +QtLocation.QPlaceContentReply.setRequest?4(QPlaceContentRequest) +QtLocation.QPlaceContentReply.setPreviousPageRequest?4(QPlaceContentRequest) +QtLocation.QPlaceContentReply.setNextPageRequest?4(QPlaceContentRequest) +QtLocation.QPlaceContentRequest?1() +QtLocation.QPlaceContentRequest.__init__?1(self) +QtLocation.QPlaceContentRequest?1(QPlaceContentRequest) +QtLocation.QPlaceContentRequest.__init__?1(self, QPlaceContentRequest) +QtLocation.QPlaceContentRequest.contentType?4() -> QPlaceContent.Type +QtLocation.QPlaceContentRequest.setContentType?4(QPlaceContent.Type) +QtLocation.QPlaceContentRequest.placeId?4() -> QString +QtLocation.QPlaceContentRequest.setPlaceId?4(QString) +QtLocation.QPlaceContentRequest.contentContext?4() -> QVariant +QtLocation.QPlaceContentRequest.setContentContext?4(QVariant) +QtLocation.QPlaceContentRequest.limit?4() -> int +QtLocation.QPlaceContentRequest.setLimit?4(int) +QtLocation.QPlaceContentRequest.clear?4() +QtLocation.QPlaceDetailsReply?1(QObject parent=None) +QtLocation.QPlaceDetailsReply.__init__?1(self, QObject parent=None) +QtLocation.QPlaceDetailsReply.type?4() -> QPlaceReply.Type +QtLocation.QPlaceDetailsReply.place?4() -> QPlace +QtLocation.QPlaceDetailsReply.setPlace?4(QPlace) +QtLocation.QPlaceEditorial?1() +QtLocation.QPlaceEditorial.__init__?1(self) +QtLocation.QPlaceEditorial?1(QPlaceContent) +QtLocation.QPlaceEditorial.__init__?1(self, QPlaceContent) +QtLocation.QPlaceEditorial?1(QPlaceEditorial) +QtLocation.QPlaceEditorial.__init__?1(self, QPlaceEditorial) +QtLocation.QPlaceEditorial.text?4() -> QString +QtLocation.QPlaceEditorial.setText?4(QString) +QtLocation.QPlaceEditorial.title?4() -> QString +QtLocation.QPlaceEditorial.setTitle?4(QString) +QtLocation.QPlaceEditorial.language?4() -> QString +QtLocation.QPlaceEditorial.setLanguage?4(QString) +QtLocation.QPlaceIcon.SingleUrl?7 +QtLocation.QPlaceIcon?1() +QtLocation.QPlaceIcon.__init__?1(self) +QtLocation.QPlaceIcon?1(QPlaceIcon) +QtLocation.QPlaceIcon.__init__?1(self, QPlaceIcon) +QtLocation.QPlaceIcon.url?4(QSize size=QSize()) -> QUrl +QtLocation.QPlaceIcon.manager?4() -> QPlaceManager +QtLocation.QPlaceIcon.setManager?4(QPlaceManager) +QtLocation.QPlaceIcon.parameters?4() -> QVariantMap +QtLocation.QPlaceIcon.setParameters?4(QVariantMap) +QtLocation.QPlaceIcon.isEmpty?4() -> bool +QtLocation.QPlaceIdReply.OperationType?10 +QtLocation.QPlaceIdReply.OperationType.SavePlace?10 +QtLocation.QPlaceIdReply.OperationType.SaveCategory?10 +QtLocation.QPlaceIdReply.OperationType.RemovePlace?10 +QtLocation.QPlaceIdReply.OperationType.RemoveCategory?10 +QtLocation.QPlaceIdReply?1(QPlaceIdReply.OperationType, QObject parent=None) +QtLocation.QPlaceIdReply.__init__?1(self, QPlaceIdReply.OperationType, QObject parent=None) +QtLocation.QPlaceIdReply.type?4() -> QPlaceReply.Type +QtLocation.QPlaceIdReply.operationType?4() -> QPlaceIdReply.OperationType +QtLocation.QPlaceIdReply.id?4() -> QString +QtLocation.QPlaceIdReply.setId?4(QString) +QtLocation.QPlaceImage?1() +QtLocation.QPlaceImage.__init__?1(self) +QtLocation.QPlaceImage?1(QPlaceContent) +QtLocation.QPlaceImage.__init__?1(self, QPlaceContent) +QtLocation.QPlaceImage?1(QPlaceImage) +QtLocation.QPlaceImage.__init__?1(self, QPlaceImage) +QtLocation.QPlaceImage.url?4() -> QUrl +QtLocation.QPlaceImage.setUrl?4(QUrl) +QtLocation.QPlaceImage.imageId?4() -> QString +QtLocation.QPlaceImage.setImageId?4(QString) +QtLocation.QPlaceImage.mimeType?4() -> QString +QtLocation.QPlaceImage.setMimeType?4(QString) +QtLocation.QPlaceManager.managerName?4() -> QString +QtLocation.QPlaceManager.managerVersion?4() -> int +QtLocation.QPlaceManager.getPlaceDetails?4(QString) -> QPlaceDetailsReply +QtLocation.QPlaceManager.getPlaceContent?4(QPlaceContentRequest) -> QPlaceContentReply +QtLocation.QPlaceManager.search?4(QPlaceSearchRequest) -> QPlaceSearchReply +QtLocation.QPlaceManager.searchSuggestions?4(QPlaceSearchRequest) -> QPlaceSearchSuggestionReply +QtLocation.QPlaceManager.savePlace?4(QPlace) -> QPlaceIdReply +QtLocation.QPlaceManager.removePlace?4(QString) -> QPlaceIdReply +QtLocation.QPlaceManager.saveCategory?4(QPlaceCategory, QString parentId='') -> QPlaceIdReply +QtLocation.QPlaceManager.removeCategory?4(QString) -> QPlaceIdReply +QtLocation.QPlaceManager.initializeCategories?4() -> QPlaceReply +QtLocation.QPlaceManager.parentCategoryId?4(QString) -> QString +QtLocation.QPlaceManager.childCategoryIds?4(QString parentId='') -> QStringList +QtLocation.QPlaceManager.category?4(QString) -> QPlaceCategory +QtLocation.QPlaceManager.childCategories?4(QString parentId='') -> unknown-type +QtLocation.QPlaceManager.locales?4() -> unknown-type +QtLocation.QPlaceManager.setLocale?4(QLocale) +QtLocation.QPlaceManager.setLocales?4(unknown-type) +QtLocation.QPlaceManager.compatiblePlace?4(QPlace) -> QPlace +QtLocation.QPlaceManager.matchingPlaces?4(QPlaceMatchRequest) -> QPlaceMatchReply +QtLocation.QPlaceManager.finished?4(QPlaceReply) +QtLocation.QPlaceManager.error?4(QPlaceReply, QPlaceReply.Error, QString errorString='') +QtLocation.QPlaceManager.placeAdded?4(QString) +QtLocation.QPlaceManager.placeUpdated?4(QString) +QtLocation.QPlaceManager.placeRemoved?4(QString) +QtLocation.QPlaceManager.categoryAdded?4(QPlaceCategory, QString) +QtLocation.QPlaceManager.categoryUpdated?4(QPlaceCategory, QString) +QtLocation.QPlaceManager.categoryRemoved?4(QString, QString) +QtLocation.QPlaceManager.dataChanged?4() +QtLocation.QPlaceManagerEngine?1(QVariantMap, QObject parent=None) +QtLocation.QPlaceManagerEngine.__init__?1(self, QVariantMap, QObject parent=None) +QtLocation.QPlaceManagerEngine.managerName?4() -> QString +QtLocation.QPlaceManagerEngine.managerVersion?4() -> int +QtLocation.QPlaceManagerEngine.getPlaceDetails?4(QString) -> QPlaceDetailsReply +QtLocation.QPlaceManagerEngine.getPlaceContent?4(QPlaceContentRequest) -> QPlaceContentReply +QtLocation.QPlaceManagerEngine.search?4(QPlaceSearchRequest) -> QPlaceSearchReply +QtLocation.QPlaceManagerEngine.searchSuggestions?4(QPlaceSearchRequest) -> QPlaceSearchSuggestionReply +QtLocation.QPlaceManagerEngine.savePlace?4(QPlace) -> QPlaceIdReply +QtLocation.QPlaceManagerEngine.removePlace?4(QString) -> QPlaceIdReply +QtLocation.QPlaceManagerEngine.saveCategory?4(QPlaceCategory, QString) -> QPlaceIdReply +QtLocation.QPlaceManagerEngine.removeCategory?4(QString) -> QPlaceIdReply +QtLocation.QPlaceManagerEngine.initializeCategories?4() -> QPlaceReply +QtLocation.QPlaceManagerEngine.parentCategoryId?4(QString) -> QString +QtLocation.QPlaceManagerEngine.childCategoryIds?4(QString) -> QStringList +QtLocation.QPlaceManagerEngine.category?4(QString) -> QPlaceCategory +QtLocation.QPlaceManagerEngine.childCategories?4(QString) -> unknown-type +QtLocation.QPlaceManagerEngine.locales?4() -> unknown-type +QtLocation.QPlaceManagerEngine.setLocales?4(unknown-type) +QtLocation.QPlaceManagerEngine.constructIconUrl?4(QPlaceIcon, QSize) -> QUrl +QtLocation.QPlaceManagerEngine.compatiblePlace?4(QPlace) -> QPlace +QtLocation.QPlaceManagerEngine.matchingPlaces?4(QPlaceMatchRequest) -> QPlaceMatchReply +QtLocation.QPlaceManagerEngine.finished?4(QPlaceReply) +QtLocation.QPlaceManagerEngine.error?4(QPlaceReply, QPlaceReply.Error, QString errorString='') +QtLocation.QPlaceManagerEngine.placeAdded?4(QString) +QtLocation.QPlaceManagerEngine.placeUpdated?4(QString) +QtLocation.QPlaceManagerEngine.placeRemoved?4(QString) +QtLocation.QPlaceManagerEngine.categoryAdded?4(QPlaceCategory, QString) +QtLocation.QPlaceManagerEngine.categoryUpdated?4(QPlaceCategory, QString) +QtLocation.QPlaceManagerEngine.categoryRemoved?4(QString, QString) +QtLocation.QPlaceManagerEngine.dataChanged?4() +QtLocation.QPlaceManagerEngine.manager?4() -> QPlaceManager +QtLocation.QPlaceMatchReply?1(QObject parent=None) +QtLocation.QPlaceMatchReply.__init__?1(self, QObject parent=None) +QtLocation.QPlaceMatchReply.type?4() -> QPlaceReply.Type +QtLocation.QPlaceMatchReply.places?4() -> unknown-type +QtLocation.QPlaceMatchReply.request?4() -> QPlaceMatchRequest +QtLocation.QPlaceMatchReply.setPlaces?4(unknown-type) +QtLocation.QPlaceMatchReply.setRequest?4(QPlaceMatchRequest) +QtLocation.QPlaceMatchRequest.AlternativeId?7 +QtLocation.QPlaceMatchRequest?1() +QtLocation.QPlaceMatchRequest.__init__?1(self) +QtLocation.QPlaceMatchRequest?1(QPlaceMatchRequest) +QtLocation.QPlaceMatchRequest.__init__?1(self, QPlaceMatchRequest) +QtLocation.QPlaceMatchRequest.places?4() -> unknown-type +QtLocation.QPlaceMatchRequest.setPlaces?4(unknown-type) +QtLocation.QPlaceMatchRequest.setResults?4(unknown-type) +QtLocation.QPlaceMatchRequest.parameters?4() -> QVariantMap +QtLocation.QPlaceMatchRequest.setParameters?4(QVariantMap) +QtLocation.QPlaceMatchRequest.clear?4() +QtLocation.QPlaceSearchResult.SearchResultType?10 +QtLocation.QPlaceSearchResult.SearchResultType.UnknownSearchResult?10 +QtLocation.QPlaceSearchResult.SearchResultType.PlaceResult?10 +QtLocation.QPlaceSearchResult.SearchResultType.ProposedSearchResult?10 +QtLocation.QPlaceSearchResult?1() +QtLocation.QPlaceSearchResult.__init__?1(self) +QtLocation.QPlaceSearchResult?1(QPlaceSearchResult) +QtLocation.QPlaceSearchResult.__init__?1(self, QPlaceSearchResult) +QtLocation.QPlaceSearchResult.type?4() -> QPlaceSearchResult.SearchResultType +QtLocation.QPlaceSearchResult.title?4() -> QString +QtLocation.QPlaceSearchResult.setTitle?4(QString) +QtLocation.QPlaceSearchResult.icon?4() -> QPlaceIcon +QtLocation.QPlaceSearchResult.setIcon?4(QPlaceIcon) +QtLocation.QPlaceProposedSearchResult?1() +QtLocation.QPlaceProposedSearchResult.__init__?1(self) +QtLocation.QPlaceProposedSearchResult?1(QPlaceSearchResult) +QtLocation.QPlaceProposedSearchResult.__init__?1(self, QPlaceSearchResult) +QtLocation.QPlaceProposedSearchResult?1(QPlaceProposedSearchResult) +QtLocation.QPlaceProposedSearchResult.__init__?1(self, QPlaceProposedSearchResult) +QtLocation.QPlaceProposedSearchResult.searchRequest?4() -> QPlaceSearchRequest +QtLocation.QPlaceProposedSearchResult.setSearchRequest?4(QPlaceSearchRequest) +QtLocation.QPlaceRatings?1() +QtLocation.QPlaceRatings.__init__?1(self) +QtLocation.QPlaceRatings?1(QPlaceRatings) +QtLocation.QPlaceRatings.__init__?1(self, QPlaceRatings) +QtLocation.QPlaceRatings.average?4() -> float +QtLocation.QPlaceRatings.setAverage?4(float) +QtLocation.QPlaceRatings.count?4() -> int +QtLocation.QPlaceRatings.setCount?4(int) +QtLocation.QPlaceRatings.maximum?4() -> float +QtLocation.QPlaceRatings.setMaximum?4(float) +QtLocation.QPlaceRatings.isEmpty?4() -> bool +QtLocation.QPlaceResult?1() +QtLocation.QPlaceResult.__init__?1(self) +QtLocation.QPlaceResult?1(QPlaceSearchResult) +QtLocation.QPlaceResult.__init__?1(self, QPlaceSearchResult) +QtLocation.QPlaceResult?1(QPlaceResult) +QtLocation.QPlaceResult.__init__?1(self, QPlaceResult) +QtLocation.QPlaceResult.distance?4() -> float +QtLocation.QPlaceResult.setDistance?4(float) +QtLocation.QPlaceResult.place?4() -> QPlace +QtLocation.QPlaceResult.setPlace?4(QPlace) +QtLocation.QPlaceResult.isSponsored?4() -> bool +QtLocation.QPlaceResult.setSponsored?4(bool) +QtLocation.QPlaceReview?1() +QtLocation.QPlaceReview.__init__?1(self) +QtLocation.QPlaceReview?1(QPlaceContent) +QtLocation.QPlaceReview.__init__?1(self, QPlaceContent) +QtLocation.QPlaceReview?1(QPlaceReview) +QtLocation.QPlaceReview.__init__?1(self, QPlaceReview) +QtLocation.QPlaceReview.dateTime?4() -> QDateTime +QtLocation.QPlaceReview.setDateTime?4(QDateTime) +QtLocation.QPlaceReview.text?4() -> QString +QtLocation.QPlaceReview.setText?4(QString) +QtLocation.QPlaceReview.language?4() -> QString +QtLocation.QPlaceReview.setLanguage?4(QString) +QtLocation.QPlaceReview.rating?4() -> float +QtLocation.QPlaceReview.setRating?4(float) +QtLocation.QPlaceReview.reviewId?4() -> QString +QtLocation.QPlaceReview.setReviewId?4(QString) +QtLocation.QPlaceReview.title?4() -> QString +QtLocation.QPlaceReview.setTitle?4(QString) +QtLocation.QPlaceSearchReply?1(QObject parent=None) +QtLocation.QPlaceSearchReply.__init__?1(self, QObject parent=None) +QtLocation.QPlaceSearchReply.type?4() -> QPlaceReply.Type +QtLocation.QPlaceSearchReply.results?4() -> unknown-type +QtLocation.QPlaceSearchReply.request?4() -> QPlaceSearchRequest +QtLocation.QPlaceSearchReply.previousPageRequest?4() -> QPlaceSearchRequest +QtLocation.QPlaceSearchReply.nextPageRequest?4() -> QPlaceSearchRequest +QtLocation.QPlaceSearchReply.setResults?4(unknown-type) +QtLocation.QPlaceSearchReply.setRequest?4(QPlaceSearchRequest) +QtLocation.QPlaceSearchReply.setPreviousPageRequest?4(QPlaceSearchRequest) +QtLocation.QPlaceSearchReply.setNextPageRequest?4(QPlaceSearchRequest) +QtLocation.QPlaceSearchRequest.RelevanceHint?10 +QtLocation.QPlaceSearchRequest.RelevanceHint.UnspecifiedHint?10 +QtLocation.QPlaceSearchRequest.RelevanceHint.DistanceHint?10 +QtLocation.QPlaceSearchRequest.RelevanceHint.LexicalPlaceNameHint?10 +QtLocation.QPlaceSearchRequest?1() +QtLocation.QPlaceSearchRequest.__init__?1(self) +QtLocation.QPlaceSearchRequest?1(QPlaceSearchRequest) +QtLocation.QPlaceSearchRequest.__init__?1(self, QPlaceSearchRequest) +QtLocation.QPlaceSearchRequest.searchTerm?4() -> QString +QtLocation.QPlaceSearchRequest.setSearchTerm?4(QString) +QtLocation.QPlaceSearchRequest.categories?4() -> unknown-type +QtLocation.QPlaceSearchRequest.setCategory?4(QPlaceCategory) +QtLocation.QPlaceSearchRequest.setCategories?4(unknown-type) +QtLocation.QPlaceSearchRequest.searchArea?4() -> QGeoShape +QtLocation.QPlaceSearchRequest.setSearchArea?4(QGeoShape) +QtLocation.QPlaceSearchRequest.recommendationId?4() -> QString +QtLocation.QPlaceSearchRequest.setRecommendationId?4(QString) +QtLocation.QPlaceSearchRequest.searchContext?4() -> QVariant +QtLocation.QPlaceSearchRequest.setSearchContext?4(QVariant) +QtLocation.QPlaceSearchRequest.visibilityScope?4() -> QLocation.VisibilityScope +QtLocation.QPlaceSearchRequest.setVisibilityScope?4(QLocation.VisibilityScope) +QtLocation.QPlaceSearchRequest.relevanceHint?4() -> QPlaceSearchRequest.RelevanceHint +QtLocation.QPlaceSearchRequest.setRelevanceHint?4(QPlaceSearchRequest.RelevanceHint) +QtLocation.QPlaceSearchRequest.limit?4() -> int +QtLocation.QPlaceSearchRequest.setLimit?4(int) +QtLocation.QPlaceSearchRequest.clear?4() +QtLocation.QPlaceSearchSuggestionReply?1(QObject parent=None) +QtLocation.QPlaceSearchSuggestionReply.__init__?1(self, QObject parent=None) +QtLocation.QPlaceSearchSuggestionReply.suggestions?4() -> QStringList +QtLocation.QPlaceSearchSuggestionReply.type?4() -> QPlaceReply.Type +QtLocation.QPlaceSearchSuggestionReply.setSuggestions?4(QStringList) +QtLocation.QPlaceSupplier?1() +QtLocation.QPlaceSupplier.__init__?1(self) +QtLocation.QPlaceSupplier?1(QPlaceSupplier) +QtLocation.QPlaceSupplier.__init__?1(self, QPlaceSupplier) +QtLocation.QPlaceSupplier.name?4() -> QString +QtLocation.QPlaceSupplier.setName?4(QString) +QtLocation.QPlaceSupplier.supplierId?4() -> QString +QtLocation.QPlaceSupplier.setSupplierId?4(QString) +QtLocation.QPlaceSupplier.url?4() -> QUrl +QtLocation.QPlaceSupplier.setUrl?4(QUrl) +QtLocation.QPlaceSupplier.icon?4() -> QPlaceIcon +QtLocation.QPlaceSupplier.setIcon?4(QPlaceIcon) +QtLocation.QPlaceSupplier.isEmpty?4() -> bool +QtLocation.QPlaceUser?1() +QtLocation.QPlaceUser.__init__?1(self) +QtLocation.QPlaceUser?1(QPlaceUser) +QtLocation.QPlaceUser.__init__?1(self, QPlaceUser) +QtLocation.QPlaceUser.userId?4() -> QString +QtLocation.QPlaceUser.setUserId?4(QString) +QtLocation.QPlaceUser.name?4() -> QString +QtLocation.QPlaceUser.setName?4(QString) +QtPrintSupport.QAbstractPrintDialog.PrintDialogOption?10 +QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.None_?10 +QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintToFile?10 +QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintSelection?10 +QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintPageRange?10 +QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintCollateCopies?10 +QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintShowPageSize?10 +QtPrintSupport.QAbstractPrintDialog.PrintDialogOption.PrintCurrentPage?10 +QtPrintSupport.QAbstractPrintDialog.PrintRange?10 +QtPrintSupport.QAbstractPrintDialog.PrintRange.AllPages?10 +QtPrintSupport.QAbstractPrintDialog.PrintRange.Selection?10 +QtPrintSupport.QAbstractPrintDialog.PrintRange.PageRange?10 +QtPrintSupport.QAbstractPrintDialog.PrintRange.CurrentPage?10 +QtPrintSupport.QAbstractPrintDialog?1(QPrinter, QWidget parent=None) +QtPrintSupport.QAbstractPrintDialog.__init__?1(self, QPrinter, QWidget parent=None) +QtPrintSupport.QAbstractPrintDialog.exec_?4() -> int +QtPrintSupport.QAbstractPrintDialog.exec?4() -> int +QtPrintSupport.QAbstractPrintDialog.setPrintRange?4(QAbstractPrintDialog.PrintRange) +QtPrintSupport.QAbstractPrintDialog.printRange?4() -> QAbstractPrintDialog.PrintRange +QtPrintSupport.QAbstractPrintDialog.setMinMax?4(int, int) +QtPrintSupport.QAbstractPrintDialog.minPage?4() -> int +QtPrintSupport.QAbstractPrintDialog.maxPage?4() -> int +QtPrintSupport.QAbstractPrintDialog.setFromTo?4(int, int) +QtPrintSupport.QAbstractPrintDialog.fromPage?4() -> int +QtPrintSupport.QAbstractPrintDialog.toPage?4() -> int +QtPrintSupport.QAbstractPrintDialog.printer?4() -> QPrinter +QtPrintSupport.QAbstractPrintDialog.setOptionTabs?4(unknown-type) +QtPrintSupport.QAbstractPrintDialog.setEnabledOptions?4(QAbstractPrintDialog.PrintDialogOptions) +QtPrintSupport.QAbstractPrintDialog.enabledOptions?4() -> QAbstractPrintDialog.PrintDialogOptions +QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions?1() +QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions.__init__?1(self) +QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions?1(int) +QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions.__init__?1(self, int) +QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions?1(QAbstractPrintDialog.PrintDialogOptions) +QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions.__init__?1(self, QAbstractPrintDialog.PrintDialogOptions) +QtPrintSupport.QPageSetupDialog?1(QPrinter, QWidget parent=None) +QtPrintSupport.QPageSetupDialog.__init__?1(self, QPrinter, QWidget parent=None) +QtPrintSupport.QPageSetupDialog?1(QWidget parent=None) +QtPrintSupport.QPageSetupDialog.__init__?1(self, QWidget parent=None) +QtPrintSupport.QPageSetupDialog.setVisible?4(bool) +QtPrintSupport.QPageSetupDialog.exec_?4() -> int +QtPrintSupport.QPageSetupDialog.exec?4() -> int +QtPrintSupport.QPageSetupDialog.open?4() +QtPrintSupport.QPageSetupDialog.open?4(object) +QtPrintSupport.QPageSetupDialog.done?4(int) +QtPrintSupport.QPageSetupDialog.printer?4() -> QPrinter +QtPrintSupport.QPrintDialog?1(QPrinter, QWidget parent=None) +QtPrintSupport.QPrintDialog.__init__?1(self, QPrinter, QWidget parent=None) +QtPrintSupport.QPrintDialog?1(QWidget parent=None) +QtPrintSupport.QPrintDialog.__init__?1(self, QWidget parent=None) +QtPrintSupport.QPrintDialog.exec_?4() -> int +QtPrintSupport.QPrintDialog.exec?4() -> int +QtPrintSupport.QPrintDialog.done?4(int) +QtPrintSupport.QPrintDialog.setOption?4(QAbstractPrintDialog.PrintDialogOption, bool on=True) +QtPrintSupport.QPrintDialog.testOption?4(QAbstractPrintDialog.PrintDialogOption) -> bool +QtPrintSupport.QPrintDialog.setOptions?4(QAbstractPrintDialog.PrintDialogOptions) +QtPrintSupport.QPrintDialog.options?4() -> QAbstractPrintDialog.PrintDialogOptions +QtPrintSupport.QPrintDialog.setVisible?4(bool) +QtPrintSupport.QPrintDialog.open?4() +QtPrintSupport.QPrintDialog.open?4(object) +QtPrintSupport.QPrintDialog.accepted?4() +QtPrintSupport.QPrintDialog.accepted?4(QPrinter) +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_CollateCopies?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_ColorMode?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_Creator?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_DocumentName?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_FullPage?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_NumberOfCopies?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_Orientation?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_OutputFileName?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PageOrder?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PageRect?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PageSize?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PaperRect?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PaperSource?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PrinterName?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PrinterProgram?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_Resolution?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_SelectionOption?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_SupportedResolutions?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_WindowsPageSize?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_FontEmbedding?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_Duplex?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PaperSources?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_CustomPaperSize?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PageMargins?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PaperSize?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_CopyCount?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_SupportsMultipleCopies?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_PaperName?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_QPageSize?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_QPageMargins?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_QPageLayout?10 +QtPrintSupport.QPrintEngine.PrintEnginePropertyKey.PPK_CustomBase?10 +QtPrintSupport.QPrintEngine?1() +QtPrintSupport.QPrintEngine.__init__?1(self) +QtPrintSupport.QPrintEngine?1(QPrintEngine) +QtPrintSupport.QPrintEngine.__init__?1(self, QPrintEngine) +QtPrintSupport.QPrintEngine.setProperty?4(QPrintEngine.PrintEnginePropertyKey, QVariant) +QtPrintSupport.QPrintEngine.property?4(QPrintEngine.PrintEnginePropertyKey) -> QVariant +QtPrintSupport.QPrintEngine.newPage?4() -> bool +QtPrintSupport.QPrintEngine.abort?4() -> bool +QtPrintSupport.QPrintEngine.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtPrintSupport.QPrintEngine.printerState?4() -> QPrinter.PrinterState +QtPrintSupport.QPrinter.DuplexMode?10 +QtPrintSupport.QPrinter.DuplexMode.DuplexNone?10 +QtPrintSupport.QPrinter.DuplexMode.DuplexAuto?10 +QtPrintSupport.QPrinter.DuplexMode.DuplexLongSide?10 +QtPrintSupport.QPrinter.DuplexMode.DuplexShortSide?10 +QtPrintSupport.QPrinter.Unit?10 +QtPrintSupport.QPrinter.Unit.Millimeter?10 +QtPrintSupport.QPrinter.Unit.Point?10 +QtPrintSupport.QPrinter.Unit.Inch?10 +QtPrintSupport.QPrinter.Unit.Pica?10 +QtPrintSupport.QPrinter.Unit.Didot?10 +QtPrintSupport.QPrinter.Unit.Cicero?10 +QtPrintSupport.QPrinter.Unit.DevicePixel?10 +QtPrintSupport.QPrinter.PrintRange?10 +QtPrintSupport.QPrinter.PrintRange.AllPages?10 +QtPrintSupport.QPrinter.PrintRange.Selection?10 +QtPrintSupport.QPrinter.PrintRange.PageRange?10 +QtPrintSupport.QPrinter.PrintRange.CurrentPage?10 +QtPrintSupport.QPrinter.OutputFormat?10 +QtPrintSupport.QPrinter.OutputFormat.NativeFormat?10 +QtPrintSupport.QPrinter.OutputFormat.PdfFormat?10 +QtPrintSupport.QPrinter.PrinterState?10 +QtPrintSupport.QPrinter.PrinterState.Idle?10 +QtPrintSupport.QPrinter.PrinterState.Active?10 +QtPrintSupport.QPrinter.PrinterState.Aborted?10 +QtPrintSupport.QPrinter.PrinterState.Error?10 +QtPrintSupport.QPrinter.PaperSource?10 +QtPrintSupport.QPrinter.PaperSource.OnlyOne?10 +QtPrintSupport.QPrinter.PaperSource.Lower?10 +QtPrintSupport.QPrinter.PaperSource.Middle?10 +QtPrintSupport.QPrinter.PaperSource.Manual?10 +QtPrintSupport.QPrinter.PaperSource.Envelope?10 +QtPrintSupport.QPrinter.PaperSource.EnvelopeManual?10 +QtPrintSupport.QPrinter.PaperSource.Auto?10 +QtPrintSupport.QPrinter.PaperSource.Tractor?10 +QtPrintSupport.QPrinter.PaperSource.SmallFormat?10 +QtPrintSupport.QPrinter.PaperSource.LargeFormat?10 +QtPrintSupport.QPrinter.PaperSource.LargeCapacity?10 +QtPrintSupport.QPrinter.PaperSource.Cassette?10 +QtPrintSupport.QPrinter.PaperSource.FormSource?10 +QtPrintSupport.QPrinter.PaperSource.MaxPageSource?10 +QtPrintSupport.QPrinter.PaperSource.Upper?10 +QtPrintSupport.QPrinter.PaperSource.CustomSource?10 +QtPrintSupport.QPrinter.PaperSource.LastPaperSource?10 +QtPrintSupport.QPrinter.ColorMode?10 +QtPrintSupport.QPrinter.ColorMode.GrayScale?10 +QtPrintSupport.QPrinter.ColorMode.Color?10 +QtPrintSupport.QPrinter.PageOrder?10 +QtPrintSupport.QPrinter.PageOrder.FirstPageFirst?10 +QtPrintSupport.QPrinter.PageOrder.LastPageFirst?10 +QtPrintSupport.QPrinter.Orientation?10 +QtPrintSupport.QPrinter.Orientation.Portrait?10 +QtPrintSupport.QPrinter.Orientation.Landscape?10 +QtPrintSupport.QPrinter.PrinterMode?10 +QtPrintSupport.QPrinter.PrinterMode.ScreenResolution?10 +QtPrintSupport.QPrinter.PrinterMode.PrinterResolution?10 +QtPrintSupport.QPrinter.PrinterMode.HighResolution?10 +QtPrintSupport.QPrinter?1(QPrinter.PrinterMode mode=QPrinter.ScreenResolution) +QtPrintSupport.QPrinter.__init__?1(self, QPrinter.PrinterMode mode=QPrinter.ScreenResolution) +QtPrintSupport.QPrinter?1(QPrinterInfo, QPrinter.PrinterMode mode=QPrinter.ScreenResolution) +QtPrintSupport.QPrinter.__init__?1(self, QPrinterInfo, QPrinter.PrinterMode mode=QPrinter.ScreenResolution) +QtPrintSupport.QPrinter.setOutputFormat?4(QPrinter.OutputFormat) +QtPrintSupport.QPrinter.outputFormat?4() -> QPrinter.OutputFormat +QtPrintSupport.QPrinter.setPrinterName?4(QString) +QtPrintSupport.QPrinter.printerName?4() -> QString +QtPrintSupport.QPrinter.isValid?4() -> bool +QtPrintSupport.QPrinter.setOutputFileName?4(QString) +QtPrintSupport.QPrinter.outputFileName?4() -> QString +QtPrintSupport.QPrinter.setPrintProgram?4(QString) +QtPrintSupport.QPrinter.printProgram?4() -> QString +QtPrintSupport.QPrinter.setDocName?4(QString) +QtPrintSupport.QPrinter.docName?4() -> QString +QtPrintSupport.QPrinter.setCreator?4(QString) +QtPrintSupport.QPrinter.creator?4() -> QString +QtPrintSupport.QPrinter.setOrientation?4(QPrinter.Orientation) +QtPrintSupport.QPrinter.orientation?4() -> QPrinter.Orientation +QtPrintSupport.QPrinter.setPageSizeMM?4(QSizeF) +QtPrintSupport.QPrinter.setPaperSize?4(QPagedPaintDevice.PageSize) +QtPrintSupport.QPrinter.paperSize?4() -> QPagedPaintDevice.PageSize +QtPrintSupport.QPrinter.setPaperSize?4(QSizeF, QPrinter.Unit) +QtPrintSupport.QPrinter.paperSize?4(QPrinter.Unit) -> QSizeF +QtPrintSupport.QPrinter.setPageOrder?4(QPrinter.PageOrder) +QtPrintSupport.QPrinter.pageOrder?4() -> QPrinter.PageOrder +QtPrintSupport.QPrinter.setResolution?4(int) +QtPrintSupport.QPrinter.resolution?4() -> int +QtPrintSupport.QPrinter.setColorMode?4(QPrinter.ColorMode) +QtPrintSupport.QPrinter.colorMode?4() -> QPrinter.ColorMode +QtPrintSupport.QPrinter.setCollateCopies?4(bool) +QtPrintSupport.QPrinter.collateCopies?4() -> bool +QtPrintSupport.QPrinter.setFullPage?4(bool) +QtPrintSupport.QPrinter.fullPage?4() -> bool +QtPrintSupport.QPrinter.setCopyCount?4(int) +QtPrintSupport.QPrinter.copyCount?4() -> int +QtPrintSupport.QPrinter.supportsMultipleCopies?4() -> bool +QtPrintSupport.QPrinter.setPaperSource?4(QPrinter.PaperSource) +QtPrintSupport.QPrinter.paperSource?4() -> QPrinter.PaperSource +QtPrintSupport.QPrinter.setDuplex?4(QPrinter.DuplexMode) +QtPrintSupport.QPrinter.duplex?4() -> QPrinter.DuplexMode +QtPrintSupport.QPrinter.supportedResolutions?4() -> unknown-type +QtPrintSupport.QPrinter.setFontEmbeddingEnabled?4(bool) +QtPrintSupport.QPrinter.fontEmbeddingEnabled?4() -> bool +QtPrintSupport.QPrinter.setDoubleSidedPrinting?4(bool) +QtPrintSupport.QPrinter.doubleSidedPrinting?4() -> bool +QtPrintSupport.QPrinter.paperRect?4() -> QRect +QtPrintSupport.QPrinter.pageRect?4() -> QRect +QtPrintSupport.QPrinter.paperRect?4(QPrinter.Unit) -> QRectF +QtPrintSupport.QPrinter.pageRect?4(QPrinter.Unit) -> QRectF +QtPrintSupport.QPrinter.newPage?4() -> bool +QtPrintSupport.QPrinter.abort?4() -> bool +QtPrintSupport.QPrinter.printerState?4() -> QPrinter.PrinterState +QtPrintSupport.QPrinter.paintEngine?4() -> QPaintEngine +QtPrintSupport.QPrinter.printEngine?4() -> QPrintEngine +QtPrintSupport.QPrinter.setFromTo?4(int, int) +QtPrintSupport.QPrinter.fromPage?4() -> int +QtPrintSupport.QPrinter.toPage?4() -> int +QtPrintSupport.QPrinter.setPrintRange?4(QPrinter.PrintRange) +QtPrintSupport.QPrinter.printRange?4() -> QPrinter.PrintRange +QtPrintSupport.QPrinter.setMargins?4(QPagedPaintDevice.Margins) +QtPrintSupport.QPrinter.setPageMargins?4(float, float, float, float, QPrinter.Unit) +QtPrintSupport.QPrinter.getPageMargins?4(QPrinter.Unit) -> (float, float, float, float) +QtPrintSupport.QPrinter.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtPrintSupport.QPrinter.setEngines?4(QPrintEngine, QPaintEngine) +QtPrintSupport.QPrinter.setPaperName?4(QString) +QtPrintSupport.QPrinter.paperName?4() -> QString +QtPrintSupport.QPrinter.setPdfVersion?4(QPagedPaintDevice.PdfVersion) +QtPrintSupport.QPrinter.pdfVersion?4() -> QPagedPaintDevice.PdfVersion +QtPrintSupport.QPrinterInfo?1() +QtPrintSupport.QPrinterInfo.__init__?1(self) +QtPrintSupport.QPrinterInfo?1(QPrinterInfo) +QtPrintSupport.QPrinterInfo.__init__?1(self, QPrinterInfo) +QtPrintSupport.QPrinterInfo?1(QPrinter) +QtPrintSupport.QPrinterInfo.__init__?1(self, QPrinter) +QtPrintSupport.QPrinterInfo.printerName?4() -> QString +QtPrintSupport.QPrinterInfo.isNull?4() -> bool +QtPrintSupport.QPrinterInfo.isDefault?4() -> bool +QtPrintSupport.QPrinterInfo.supportedPaperSizes?4() -> unknown-type +QtPrintSupport.QPrinterInfo.supportedSizesWithNames?4() -> unknown-type +QtPrintSupport.QPrinterInfo.availablePrinters?4() -> unknown-type +QtPrintSupport.QPrinterInfo.defaultPrinter?4() -> QPrinterInfo +QtPrintSupport.QPrinterInfo.description?4() -> QString +QtPrintSupport.QPrinterInfo.location?4() -> QString +QtPrintSupport.QPrinterInfo.makeAndModel?4() -> QString +QtPrintSupport.QPrinterInfo.printerInfo?4(QString) -> QPrinterInfo +QtPrintSupport.QPrinterInfo.isRemote?4() -> bool +QtPrintSupport.QPrinterInfo.state?4() -> QPrinter.PrinterState +QtPrintSupport.QPrinterInfo.supportedPageSizes?4() -> unknown-type +QtPrintSupport.QPrinterInfo.defaultPageSize?4() -> QPageSize +QtPrintSupport.QPrinterInfo.supportsCustomPageSizes?4() -> bool +QtPrintSupport.QPrinterInfo.minimumPhysicalPageSize?4() -> QPageSize +QtPrintSupport.QPrinterInfo.maximumPhysicalPageSize?4() -> QPageSize +QtPrintSupport.QPrinterInfo.supportedResolutions?4() -> unknown-type +QtPrintSupport.QPrinterInfo.availablePrinterNames?4() -> QStringList +QtPrintSupport.QPrinterInfo.defaultPrinterName?4() -> QString +QtPrintSupport.QPrinterInfo.defaultDuplexMode?4() -> QPrinter.DuplexMode +QtPrintSupport.QPrinterInfo.supportedDuplexModes?4() -> unknown-type +QtPrintSupport.QPrinterInfo.defaultColorMode?4() -> QPrinter.ColorMode +QtPrintSupport.QPrinterInfo.supportedColorModes?4() -> unknown-type +QtPrintSupport.QPrintPreviewDialog?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtPrintSupport.QPrintPreviewDialog.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtPrintSupport.QPrintPreviewDialog?1(QPrinter, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtPrintSupport.QPrintPreviewDialog.__init__?1(self, QPrinter, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtPrintSupport.QPrintPreviewDialog.setVisible?4(bool) +QtPrintSupport.QPrintPreviewDialog.open?4() +QtPrintSupport.QPrintPreviewDialog.open?4(object) +QtPrintSupport.QPrintPreviewDialog.printer?4() -> QPrinter +QtPrintSupport.QPrintPreviewDialog.done?4(int) +QtPrintSupport.QPrintPreviewDialog.paintRequested?4(QPrinter) +QtPrintSupport.QPrintPreviewWidget.ZoomMode?10 +QtPrintSupport.QPrintPreviewWidget.ZoomMode.CustomZoom?10 +QtPrintSupport.QPrintPreviewWidget.ZoomMode.FitToWidth?10 +QtPrintSupport.QPrintPreviewWidget.ZoomMode.FitInView?10 +QtPrintSupport.QPrintPreviewWidget.ViewMode?10 +QtPrintSupport.QPrintPreviewWidget.ViewMode.SinglePageView?10 +QtPrintSupport.QPrintPreviewWidget.ViewMode.FacingPagesView?10 +QtPrintSupport.QPrintPreviewWidget.ViewMode.AllPagesView?10 +QtPrintSupport.QPrintPreviewWidget?1(QPrinter, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtPrintSupport.QPrintPreviewWidget.__init__?1(self, QPrinter, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtPrintSupport.QPrintPreviewWidget?1(QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtPrintSupport.QPrintPreviewWidget.__init__?1(self, QWidget parent=None, Qt.WindowFlags flags=Qt.WindowFlags()) +QtPrintSupport.QPrintPreviewWidget.zoomFactor?4() -> float +QtPrintSupport.QPrintPreviewWidget.orientation?4() -> QPrinter.Orientation +QtPrintSupport.QPrintPreviewWidget.viewMode?4() -> QPrintPreviewWidget.ViewMode +QtPrintSupport.QPrintPreviewWidget.zoomMode?4() -> QPrintPreviewWidget.ZoomMode +QtPrintSupport.QPrintPreviewWidget.currentPage?4() -> int +QtPrintSupport.QPrintPreviewWidget.setVisible?4(bool) +QtPrintSupport.QPrintPreviewWidget.print_?4() +QtPrintSupport.QPrintPreviewWidget.print?4() +QtPrintSupport.QPrintPreviewWidget.zoomIn?4(float factor=1.1) +QtPrintSupport.QPrintPreviewWidget.zoomOut?4(float factor=1.1) +QtPrintSupport.QPrintPreviewWidget.setZoomFactor?4(float) +QtPrintSupport.QPrintPreviewWidget.setOrientation?4(QPrinter.Orientation) +QtPrintSupport.QPrintPreviewWidget.setViewMode?4(QPrintPreviewWidget.ViewMode) +QtPrintSupport.QPrintPreviewWidget.setZoomMode?4(QPrintPreviewWidget.ZoomMode) +QtPrintSupport.QPrintPreviewWidget.setCurrentPage?4(int) +QtPrintSupport.QPrintPreviewWidget.fitToWidth?4() +QtPrintSupport.QPrintPreviewWidget.fitInView?4() +QtPrintSupport.QPrintPreviewWidget.setLandscapeOrientation?4() +QtPrintSupport.QPrintPreviewWidget.setPortraitOrientation?4() +QtPrintSupport.QPrintPreviewWidget.setSinglePageViewMode?4() +QtPrintSupport.QPrintPreviewWidget.setFacingPagesViewMode?4() +QtPrintSupport.QPrintPreviewWidget.setAllPagesViewMode?4() +QtPrintSupport.QPrintPreviewWidget.updatePreview?4() +QtPrintSupport.QPrintPreviewWidget.paintRequested?4(QPrinter) +QtPrintSupport.QPrintPreviewWidget.previewChanged?4() +QtPrintSupport.QPrintPreviewWidget.pageCount?4() -> int +QtQuick.QQuickItem.TransformOrigin?10 +QtQuick.QQuickItem.TransformOrigin.TopLeft?10 +QtQuick.QQuickItem.TransformOrigin.Top?10 +QtQuick.QQuickItem.TransformOrigin.TopRight?10 +QtQuick.QQuickItem.TransformOrigin.Left?10 +QtQuick.QQuickItem.TransformOrigin.Center?10 +QtQuick.QQuickItem.TransformOrigin.Right?10 +QtQuick.QQuickItem.TransformOrigin.BottomLeft?10 +QtQuick.QQuickItem.TransformOrigin.Bottom?10 +QtQuick.QQuickItem.TransformOrigin.BottomRight?10 +QtQuick.QQuickItem.ItemChange?10 +QtQuick.QQuickItem.ItemChange.ItemChildAddedChange?10 +QtQuick.QQuickItem.ItemChange.ItemChildRemovedChange?10 +QtQuick.QQuickItem.ItemChange.ItemSceneChange?10 +QtQuick.QQuickItem.ItemChange.ItemVisibleHasChanged?10 +QtQuick.QQuickItem.ItemChange.ItemParentHasChanged?10 +QtQuick.QQuickItem.ItemChange.ItemOpacityHasChanged?10 +QtQuick.QQuickItem.ItemChange.ItemActiveFocusHasChanged?10 +QtQuick.QQuickItem.ItemChange.ItemRotationHasChanged?10 +QtQuick.QQuickItem.ItemChange.ItemAntialiasingHasChanged?10 +QtQuick.QQuickItem.ItemChange.ItemDevicePixelRatioHasChanged?10 +QtQuick.QQuickItem.ItemChange.ItemEnabledHasChanged?10 +QtQuick.QQuickItem.Flag?10 +QtQuick.QQuickItem.Flag.ItemClipsChildrenToShape?10 +QtQuick.QQuickItem.Flag.ItemAcceptsInputMethod?10 +QtQuick.QQuickItem.Flag.ItemIsFocusScope?10 +QtQuick.QQuickItem.Flag.ItemHasContents?10 +QtQuick.QQuickItem.Flag.ItemAcceptsDrops?10 +QtQuick.QQuickItem?1(QQuickItem parent=None) +QtQuick.QQuickItem.__init__?1(self, QQuickItem parent=None) +QtQuick.QQuickItem.window?4() -> QQuickWindow +QtQuick.QQuickItem.parentItem?4() -> QQuickItem +QtQuick.QQuickItem.setParentItem?4(QQuickItem) +QtQuick.QQuickItem.stackBefore?4(QQuickItem) +QtQuick.QQuickItem.stackAfter?4(QQuickItem) +QtQuick.QQuickItem.childrenRect?4() -> QRectF +QtQuick.QQuickItem.childItems?4() -> unknown-type +QtQuick.QQuickItem.clip?4() -> bool +QtQuick.QQuickItem.setClip?4(bool) +QtQuick.QQuickItem.state?4() -> QString +QtQuick.QQuickItem.setState?4(QString) +QtQuick.QQuickItem.baselineOffset?4() -> float +QtQuick.QQuickItem.setBaselineOffset?4(float) +QtQuick.QQuickItem.x?4() -> float +QtQuick.QQuickItem.y?4() -> float +QtQuick.QQuickItem.setX?4(float) +QtQuick.QQuickItem.setY?4(float) +QtQuick.QQuickItem.width?4() -> float +QtQuick.QQuickItem.setWidth?4(float) +QtQuick.QQuickItem.resetWidth?4() +QtQuick.QQuickItem.setImplicitWidth?4(float) +QtQuick.QQuickItem.implicitWidth?4() -> float +QtQuick.QQuickItem.height?4() -> float +QtQuick.QQuickItem.setHeight?4(float) +QtQuick.QQuickItem.resetHeight?4() +QtQuick.QQuickItem.setImplicitHeight?4(float) +QtQuick.QQuickItem.implicitHeight?4() -> float +QtQuick.QQuickItem.transformOrigin?4() -> QQuickItem.TransformOrigin +QtQuick.QQuickItem.setTransformOrigin?4(QQuickItem.TransformOrigin) +QtQuick.QQuickItem.z?4() -> float +QtQuick.QQuickItem.setZ?4(float) +QtQuick.QQuickItem.rotation?4() -> float +QtQuick.QQuickItem.setRotation?4(float) +QtQuick.QQuickItem.scale?4() -> float +QtQuick.QQuickItem.setScale?4(float) +QtQuick.QQuickItem.opacity?4() -> float +QtQuick.QQuickItem.setOpacity?4(float) +QtQuick.QQuickItem.isVisible?4() -> bool +QtQuick.QQuickItem.setVisible?4(bool) +QtQuick.QQuickItem.isEnabled?4() -> bool +QtQuick.QQuickItem.setEnabled?4(bool) +QtQuick.QQuickItem.smooth?4() -> bool +QtQuick.QQuickItem.setSmooth?4(bool) +QtQuick.QQuickItem.antialiasing?4() -> bool +QtQuick.QQuickItem.setAntialiasing?4(bool) +QtQuick.QQuickItem.flags?4() -> QQuickItem.Flags +QtQuick.QQuickItem.setFlag?4(QQuickItem.Flag, bool enabled=True) +QtQuick.QQuickItem.setFlags?4(QQuickItem.Flags) +QtQuick.QQuickItem.hasActiveFocus?4() -> bool +QtQuick.QQuickItem.hasFocus?4() -> bool +QtQuick.QQuickItem.setFocus?4(bool) +QtQuick.QQuickItem.isFocusScope?4() -> bool +QtQuick.QQuickItem.scopedFocusItem?4() -> QQuickItem +QtQuick.QQuickItem.acceptedMouseButtons?4() -> Qt.MouseButtons +QtQuick.QQuickItem.setAcceptedMouseButtons?4(Qt.MouseButtons) +QtQuick.QQuickItem.acceptHoverEvents?4() -> bool +QtQuick.QQuickItem.setAcceptHoverEvents?4(bool) +QtQuick.QQuickItem.cursor?4() -> QCursor +QtQuick.QQuickItem.setCursor?4(QCursor) +QtQuick.QQuickItem.unsetCursor?4() +QtQuick.QQuickItem.grabMouse?4() +QtQuick.QQuickItem.ungrabMouse?4() +QtQuick.QQuickItem.keepMouseGrab?4() -> bool +QtQuick.QQuickItem.setKeepMouseGrab?4(bool) +QtQuick.QQuickItem.filtersChildMouseEvents?4() -> bool +QtQuick.QQuickItem.setFiltersChildMouseEvents?4(bool) +QtQuick.QQuickItem.grabTouchPoints?4(unknown-type) +QtQuick.QQuickItem.ungrabTouchPoints?4() +QtQuick.QQuickItem.keepTouchGrab?4() -> bool +QtQuick.QQuickItem.setKeepTouchGrab?4(bool) +QtQuick.QQuickItem.contains?4(QPointF) -> bool +QtQuick.QQuickItem.mapToItem?4(QQuickItem, QPointF) -> QPointF +QtQuick.QQuickItem.mapToScene?4(QPointF) -> QPointF +QtQuick.QQuickItem.mapRectToItem?4(QQuickItem, QRectF) -> QRectF +QtQuick.QQuickItem.mapRectToScene?4(QRectF) -> QRectF +QtQuick.QQuickItem.mapFromItem?4(QQuickItem, QPointF) -> QPointF +QtQuick.QQuickItem.mapFromScene?4(QPointF) -> QPointF +QtQuick.QQuickItem.mapRectFromItem?4(QQuickItem, QRectF) -> QRectF +QtQuick.QQuickItem.mapRectFromScene?4(QRectF) -> QRectF +QtQuick.QQuickItem.polish?4() +QtQuick.QQuickItem.forceActiveFocus?4() +QtQuick.QQuickItem.childAt?4(float, float) -> QQuickItem +QtQuick.QQuickItem.inputMethodQuery?4(Qt.InputMethodQuery) -> QVariant +QtQuick.QQuickItem.isTextureProvider?4() -> bool +QtQuick.QQuickItem.textureProvider?4() -> QSGTextureProvider +QtQuick.QQuickItem.update?4() +QtQuick.QQuickItem.event?4(QEvent) -> bool +QtQuick.QQuickItem.isComponentComplete?4() -> bool +QtQuick.QQuickItem.itemChange?4(QQuickItem.ItemChange, QQuickItem.ItemChangeData) +QtQuick.QQuickItem.updateInputMethod?4(Qt.InputMethodQueries queries=Qt.InputMethodQuery.ImQueryInput) +QtQuick.QQuickItem.widthValid?4() -> bool +QtQuick.QQuickItem.heightValid?4() -> bool +QtQuick.QQuickItem.classBegin?4() +QtQuick.QQuickItem.componentComplete?4() +QtQuick.QQuickItem.keyPressEvent?4(QKeyEvent) +QtQuick.QQuickItem.keyReleaseEvent?4(QKeyEvent) +QtQuick.QQuickItem.inputMethodEvent?4(QInputMethodEvent) +QtQuick.QQuickItem.focusInEvent?4(QFocusEvent) +QtQuick.QQuickItem.focusOutEvent?4(QFocusEvent) +QtQuick.QQuickItem.mousePressEvent?4(QMouseEvent) +QtQuick.QQuickItem.mouseMoveEvent?4(QMouseEvent) +QtQuick.QQuickItem.mouseReleaseEvent?4(QMouseEvent) +QtQuick.QQuickItem.mouseDoubleClickEvent?4(QMouseEvent) +QtQuick.QQuickItem.mouseUngrabEvent?4() +QtQuick.QQuickItem.touchUngrabEvent?4() +QtQuick.QQuickItem.wheelEvent?4(QWheelEvent) +QtQuick.QQuickItem.touchEvent?4(QTouchEvent) +QtQuick.QQuickItem.hoverEnterEvent?4(QHoverEvent) +QtQuick.QQuickItem.hoverMoveEvent?4(QHoverEvent) +QtQuick.QQuickItem.hoverLeaveEvent?4(QHoverEvent) +QtQuick.QQuickItem.dragEnterEvent?4(QDragEnterEvent) +QtQuick.QQuickItem.dragMoveEvent?4(QDragMoveEvent) +QtQuick.QQuickItem.dragLeaveEvent?4(QDragLeaveEvent) +QtQuick.QQuickItem.dropEvent?4(QDropEvent) +QtQuick.QQuickItem.childMouseEventFilter?4(QQuickItem, QEvent) -> bool +QtQuick.QQuickItem.geometryChanged?4(QRectF, QRectF) +QtQuick.QQuickItem.updatePaintNode?4(QSGNode, QQuickItem.UpdatePaintNodeData) -> QSGNode +QtQuick.QQuickItem.releaseResources?4() +QtQuick.QQuickItem.updatePolish?4() +QtQuick.QQuickItem.activeFocusOnTab?4() -> bool +QtQuick.QQuickItem.setActiveFocusOnTab?4(bool) +QtQuick.QQuickItem.setFocus?4(bool, Qt.FocusReason) +QtQuick.QQuickItem.forceActiveFocus?4(Qt.FocusReason) +QtQuick.QQuickItem.nextItemInFocusChain?4(bool forward=True) -> QQuickItem +QtQuick.QQuickItem.windowChanged?4(QQuickWindow) +QtQuick.QQuickItem.resetAntialiasing?4() +QtQuick.QQuickItem.grabToImage?4(QSize targetSize=QSize()) -> QQuickItemGrabResult +QtQuick.QQuickItem.isAncestorOf?4(QQuickItem) -> bool +QtQuick.QQuickItem.mapToGlobal?4(QPointF) -> QPointF +QtQuick.QQuickItem.mapFromGlobal?4(QPointF) -> QPointF +QtQuick.QQuickItem.size?4() -> QSizeF +QtQuick.QQuickItem.acceptTouchEvents?4() -> bool +QtQuick.QQuickItem.setAcceptTouchEvents?4(bool) +QtQuick.QQuickItem.containmentMask?4() -> QObject +QtQuick.QQuickItem.setContainmentMask?4(QObject) +QtQuick.QQuickItem.containmentMaskChanged?4() +QtQuick.QQuickFramebufferObject?1(QQuickItem parent=None) +QtQuick.QQuickFramebufferObject.__init__?1(self, QQuickItem parent=None) +QtQuick.QQuickFramebufferObject.textureFollowsItemSize?4() -> bool +QtQuick.QQuickFramebufferObject.setTextureFollowsItemSize?4(bool) +QtQuick.QQuickFramebufferObject.createRenderer?4() -> QQuickFramebufferObject.Renderer +QtQuick.QQuickFramebufferObject.geometryChanged?4(QRectF, QRectF) +QtQuick.QQuickFramebufferObject.updatePaintNode?4(QSGNode, QQuickItem.UpdatePaintNodeData) -> QSGNode +QtQuick.QQuickFramebufferObject.textureFollowsItemSizeChanged?4(bool) +QtQuick.QQuickFramebufferObject.isTextureProvider?4() -> bool +QtQuick.QQuickFramebufferObject.textureProvider?4() -> QSGTextureProvider +QtQuick.QQuickFramebufferObject.releaseResources?4() +QtQuick.QQuickFramebufferObject.mirrorVertically?4() -> bool +QtQuick.QQuickFramebufferObject.setMirrorVertically?4(bool) +QtQuick.QQuickFramebufferObject.mirrorVerticallyChanged?4(bool) +QtQuick.QQuickFramebufferObject.Renderer?1() +QtQuick.QQuickFramebufferObject.Renderer.__init__?1(self) +QtQuick.QQuickFramebufferObject.Renderer?1(QQuickFramebufferObject.Renderer) +QtQuick.QQuickFramebufferObject.Renderer.__init__?1(self, QQuickFramebufferObject.Renderer) +QtQuick.QQuickFramebufferObject.Renderer.render?4() +QtQuick.QQuickFramebufferObject.Renderer.createFramebufferObject?4(QSize) -> QOpenGLFramebufferObject +QtQuick.QQuickFramebufferObject.Renderer.synchronize?4(QQuickFramebufferObject) +QtQuick.QQuickFramebufferObject.Renderer.framebufferObject?4() -> QOpenGLFramebufferObject +QtQuick.QQuickFramebufferObject.Renderer.update?4() +QtQuick.QQuickFramebufferObject.Renderer.invalidateFramebufferObject?4() +QtQuick.QQuickTextureFactory?1() +QtQuick.QQuickTextureFactory.__init__?1(self) +QtQuick.QQuickTextureFactory.createTexture?4(QQuickWindow) -> QSGTexture +QtQuick.QQuickTextureFactory.textureSize?4() -> QSize +QtQuick.QQuickTextureFactory.textureByteCount?4() -> int +QtQuick.QQuickTextureFactory.image?4() -> QImage +QtQuick.QQuickTextureFactory.textureFactoryForImage?4(QImage) -> QQuickTextureFactory +QtQuick.QQuickImageProvider?1(QQmlImageProviderBase.ImageType, QQmlImageProviderBase.Flags flags=QQmlImageProviderBase.Flags()) +QtQuick.QQuickImageProvider.__init__?1(self, QQmlImageProviderBase.ImageType, QQmlImageProviderBase.Flags flags=QQmlImageProviderBase.Flags()) +QtQuick.QQuickImageProvider?1(QQuickImageProvider) +QtQuick.QQuickImageProvider.__init__?1(self, QQuickImageProvider) +QtQuick.QQuickImageProvider.imageType?4() -> QQmlImageProviderBase.ImageType +QtQuick.QQuickImageProvider.flags?4() -> QQmlImageProviderBase.Flags +QtQuick.QQuickImageProvider.requestImage?4(QString, QSize) -> (QImage, QSize) +QtQuick.QQuickImageProvider.requestPixmap?4(QString, QSize) -> (QPixmap, QSize) +QtQuick.QQuickImageProvider.requestTexture?4(QString, QSize) -> (QQuickTextureFactory, QSize) +QtQuick.QQuickImageResponse?1() +QtQuick.QQuickImageResponse.__init__?1(self) +QtQuick.QQuickImageResponse.textureFactory?4() -> QQuickTextureFactory +QtQuick.QQuickImageResponse.errorString?4() -> QString +QtQuick.QQuickImageResponse.cancel?4() +QtQuick.QQuickImageResponse.finished?4() +QtQuick.QQuickAsyncImageProvider?1() +QtQuick.QQuickAsyncImageProvider.__init__?1(self) +QtQuick.QQuickAsyncImageProvider?1(QQuickAsyncImageProvider) +QtQuick.QQuickAsyncImageProvider.__init__?1(self, QQuickAsyncImageProvider) +QtQuick.QQuickAsyncImageProvider.requestImageResponse?4(QString, QSize) -> QQuickImageResponse +QtQuick.QQuickItem.Flags?1() +QtQuick.QQuickItem.Flags.__init__?1(self) +QtQuick.QQuickItem.Flags?1(int) +QtQuick.QQuickItem.Flags.__init__?1(self, int) +QtQuick.QQuickItem.Flags?1(QQuickItem.Flags) +QtQuick.QQuickItem.Flags.__init__?1(self, QQuickItem.Flags) +QtQuick.QQuickItem.ItemChangeData.boolValue?7 +QtQuick.QQuickItem.ItemChangeData.item?7 +QtQuick.QQuickItem.ItemChangeData.realValue?7 +QtQuick.QQuickItem.ItemChangeData.window?7 +QtQuick.QQuickItem.ItemChangeData?1(QQuickItem) +QtQuick.QQuickItem.ItemChangeData.__init__?1(self, QQuickItem) +QtQuick.QQuickItem.ItemChangeData?1(QQuickWindow) +QtQuick.QQuickItem.ItemChangeData.__init__?1(self, QQuickWindow) +QtQuick.QQuickItem.ItemChangeData?1(float) +QtQuick.QQuickItem.ItemChangeData.__init__?1(self, float) +QtQuick.QQuickItem.ItemChangeData?1(bool) +QtQuick.QQuickItem.ItemChangeData.__init__?1(self, bool) +QtQuick.QQuickItem.ItemChangeData?1(QQuickItem.ItemChangeData) +QtQuick.QQuickItem.ItemChangeData.__init__?1(self, QQuickItem.ItemChangeData) +QtQuick.QQuickItem.UpdatePaintNodeData.transformNode?7 +QtQuick.QQuickItem.UpdatePaintNodeData?1(QQuickItem.UpdatePaintNodeData) +QtQuick.QQuickItem.UpdatePaintNodeData.__init__?1(self, QQuickItem.UpdatePaintNodeData) +QtQuick.QQuickItemGrabResult.image?4() -> QImage +QtQuick.QQuickItemGrabResult.url?4() -> QUrl +QtQuick.QQuickItemGrabResult.saveToFile?4(QString) -> bool +QtQuick.QQuickItemGrabResult.event?4(QEvent) -> bool +QtQuick.QQuickItemGrabResult.ready?4() +QtQuick.QQuickPaintedItem.PerformanceHint?10 +QtQuick.QQuickPaintedItem.PerformanceHint.FastFBOResizing?10 +QtQuick.QQuickPaintedItem.RenderTarget?10 +QtQuick.QQuickPaintedItem.RenderTarget.Image?10 +QtQuick.QQuickPaintedItem.RenderTarget.FramebufferObject?10 +QtQuick.QQuickPaintedItem.RenderTarget.InvertedYFramebufferObject?10 +QtQuick.QQuickPaintedItem?1(QQuickItem parent=None) +QtQuick.QQuickPaintedItem.__init__?1(self, QQuickItem parent=None) +QtQuick.QQuickPaintedItem.update?4(QRect rect=QRect()) +QtQuick.QQuickPaintedItem.opaquePainting?4() -> bool +QtQuick.QQuickPaintedItem.setOpaquePainting?4(bool) +QtQuick.QQuickPaintedItem.antialiasing?4() -> bool +QtQuick.QQuickPaintedItem.setAntialiasing?4(bool) +QtQuick.QQuickPaintedItem.mipmap?4() -> bool +QtQuick.QQuickPaintedItem.setMipmap?4(bool) +QtQuick.QQuickPaintedItem.performanceHints?4() -> QQuickPaintedItem.PerformanceHints +QtQuick.QQuickPaintedItem.setPerformanceHint?4(QQuickPaintedItem.PerformanceHint, bool enabled=True) +QtQuick.QQuickPaintedItem.setPerformanceHints?4(QQuickPaintedItem.PerformanceHints) +QtQuick.QQuickPaintedItem.contentsBoundingRect?4() -> QRectF +QtQuick.QQuickPaintedItem.contentsSize?4() -> QSize +QtQuick.QQuickPaintedItem.setContentsSize?4(QSize) +QtQuick.QQuickPaintedItem.resetContentsSize?4() +QtQuick.QQuickPaintedItem.contentsScale?4() -> float +QtQuick.QQuickPaintedItem.setContentsScale?4(float) +QtQuick.QQuickPaintedItem.fillColor?4() -> QColor +QtQuick.QQuickPaintedItem.setFillColor?4(QColor) +QtQuick.QQuickPaintedItem.renderTarget?4() -> QQuickPaintedItem.RenderTarget +QtQuick.QQuickPaintedItem.setRenderTarget?4(QQuickPaintedItem.RenderTarget) +QtQuick.QQuickPaintedItem.paint?4(QPainter) +QtQuick.QQuickPaintedItem.fillColorChanged?4() +QtQuick.QQuickPaintedItem.contentsSizeChanged?4() +QtQuick.QQuickPaintedItem.contentsScaleChanged?4() +QtQuick.QQuickPaintedItem.renderTargetChanged?4() +QtQuick.QQuickPaintedItem.updatePaintNode?4(QSGNode, QQuickItem.UpdatePaintNodeData) -> QSGNode +QtQuick.QQuickPaintedItem.isTextureProvider?4() -> bool +QtQuick.QQuickPaintedItem.textureProvider?4() -> QSGTextureProvider +QtQuick.QQuickPaintedItem.releaseResources?4() +QtQuick.QQuickPaintedItem.itemChange?4(QQuickItem.ItemChange, QQuickItem.ItemChangeData) +QtQuick.QQuickPaintedItem.textureSize?4() -> QSize +QtQuick.QQuickPaintedItem.setTextureSize?4(QSize) +QtQuick.QQuickPaintedItem.textureSizeChanged?4() +QtQuick.QQuickPaintedItem.PerformanceHints?1() +QtQuick.QQuickPaintedItem.PerformanceHints.__init__?1(self) +QtQuick.QQuickPaintedItem.PerformanceHints?1(int) +QtQuick.QQuickPaintedItem.PerformanceHints.__init__?1(self, int) +QtQuick.QQuickPaintedItem.PerformanceHints?1(QQuickPaintedItem.PerformanceHints) +QtQuick.QQuickPaintedItem.PerformanceHints.__init__?1(self, QQuickPaintedItem.PerformanceHints) +QtQuick.QQuickRenderControl?1(QObject parent=None) +QtQuick.QQuickRenderControl.__init__?1(self, QObject parent=None) +QtQuick.QQuickRenderControl.initialize?4(QOpenGLContext) +QtQuick.QQuickRenderControl.invalidate?4() +QtQuick.QQuickRenderControl.polishItems?4() +QtQuick.QQuickRenderControl.render?4() +QtQuick.QQuickRenderControl.sync?4() -> bool +QtQuick.QQuickRenderControl.grab?4() -> QImage +QtQuick.QQuickRenderControl.renderWindowFor?4(QQuickWindow, QPoint offset=None) -> QWindow +QtQuick.QQuickRenderControl.renderWindow?4(QPoint) -> QWindow +QtQuick.QQuickRenderControl.prepareThread?4(QThread) +QtQuick.QQuickRenderControl.renderRequested?4() +QtQuick.QQuickRenderControl.sceneChanged?4() +QtQuick.QQuickTextDocument?1(QQuickItem) +QtQuick.QQuickTextDocument.__init__?1(self, QQuickItem) +QtQuick.QQuickTextDocument.textDocument?4() -> QTextDocument +QtQuick.QQuickWindow.NativeObjectType?10 +QtQuick.QQuickWindow.NativeObjectType.NativeObjectTexture?10 +QtQuick.QQuickWindow.TextRenderType?10 +QtQuick.QQuickWindow.TextRenderType.QtTextRendering?10 +QtQuick.QQuickWindow.TextRenderType.NativeTextRendering?10 +QtQuick.QQuickWindow.RenderStage?10 +QtQuick.QQuickWindow.RenderStage.BeforeSynchronizingStage?10 +QtQuick.QQuickWindow.RenderStage.AfterSynchronizingStage?10 +QtQuick.QQuickWindow.RenderStage.BeforeRenderingStage?10 +QtQuick.QQuickWindow.RenderStage.AfterRenderingStage?10 +QtQuick.QQuickWindow.RenderStage.AfterSwapStage?10 +QtQuick.QQuickWindow.RenderStage.NoStage?10 +QtQuick.QQuickWindow.SceneGraphError?10 +QtQuick.QQuickWindow.SceneGraphError.ContextNotAvailable?10 +QtQuick.QQuickWindow.CreateTextureOption?10 +QtQuick.QQuickWindow.CreateTextureOption.TextureHasAlphaChannel?10 +QtQuick.QQuickWindow.CreateTextureOption.TextureHasMipmaps?10 +QtQuick.QQuickWindow.CreateTextureOption.TextureOwnsGLTexture?10 +QtQuick.QQuickWindow.CreateTextureOption.TextureCanUseAtlas?10 +QtQuick.QQuickWindow.CreateTextureOption.TextureIsOpaque?10 +QtQuick.QQuickWindow?1(QWindow parent=None) +QtQuick.QQuickWindow.__init__?1(self, QWindow parent=None) +QtQuick.QQuickWindow.contentItem?4() -> QQuickItem +QtQuick.QQuickWindow.activeFocusItem?4() -> QQuickItem +QtQuick.QQuickWindow.focusObject?4() -> QObject +QtQuick.QQuickWindow.mouseGrabberItem?4() -> QQuickItem +QtQuick.QQuickWindow.sendEvent?4(QQuickItem, QEvent) -> bool +QtQuick.QQuickWindow.grabWindow?4() -> QImage +QtQuick.QQuickWindow.setRenderTarget?4(QOpenGLFramebufferObject) +QtQuick.QQuickWindow.renderTarget?4() -> QOpenGLFramebufferObject +QtQuick.QQuickWindow.setRenderTarget?4(int, QSize) +QtQuick.QQuickWindow.renderTargetId?4() -> int +QtQuick.QQuickWindow.renderTargetSize?4() -> QSize +QtQuick.QQuickWindow.incubationController?4() -> QQmlIncubationController +QtQuick.QQuickWindow.createTextureFromImage?4(QImage) -> QSGTexture +QtQuick.QQuickWindow.createTextureFromImage?4(QImage, QQuickWindow.CreateTextureOptions) -> QSGTexture +QtQuick.QQuickWindow.createTextureFromId?4(int, QSize, QQuickWindow.CreateTextureOptions options=QQuickWindow.CreateTextureOption()) -> QSGTexture +QtQuick.QQuickWindow.createTextureFromNativeObject?4(QQuickWindow.NativeObjectType, sip.voidptr, int, QSize, QQuickWindow.CreateTextureOptions options=QQuickWindow.CreateTextureOption()) -> QSGTexture +QtQuick.QQuickWindow.setClearBeforeRendering?4(bool) +QtQuick.QQuickWindow.clearBeforeRendering?4() -> bool +QtQuick.QQuickWindow.setColor?4(QColor) +QtQuick.QQuickWindow.color?4() -> QColor +QtQuick.QQuickWindow.setPersistentOpenGLContext?4(bool) +QtQuick.QQuickWindow.isPersistentOpenGLContext?4() -> bool +QtQuick.QQuickWindow.setPersistentSceneGraph?4(bool) +QtQuick.QQuickWindow.isPersistentSceneGraph?4() -> bool +QtQuick.QQuickWindow.openglContext?4() -> QOpenGLContext +QtQuick.QQuickWindow.frameSwapped?4() +QtQuick.QQuickWindow.sceneGraphInitialized?4() +QtQuick.QQuickWindow.sceneGraphInvalidated?4() +QtQuick.QQuickWindow.beforeSynchronizing?4() +QtQuick.QQuickWindow.beforeRendering?4() +QtQuick.QQuickWindow.afterRendering?4() +QtQuick.QQuickWindow.colorChanged?4(QColor) +QtQuick.QQuickWindow.update?4() +QtQuick.QQuickWindow.releaseResources?4() +QtQuick.QQuickWindow.exposeEvent?4(QExposeEvent) +QtQuick.QQuickWindow.resizeEvent?4(QResizeEvent) +QtQuick.QQuickWindow.showEvent?4(QShowEvent) +QtQuick.QQuickWindow.hideEvent?4(QHideEvent) +QtQuick.QQuickWindow.focusInEvent?4(QFocusEvent) +QtQuick.QQuickWindow.focusOutEvent?4(QFocusEvent) +QtQuick.QQuickWindow.event?4(QEvent) -> bool +QtQuick.QQuickWindow.keyPressEvent?4(QKeyEvent) +QtQuick.QQuickWindow.keyReleaseEvent?4(QKeyEvent) +QtQuick.QQuickWindow.mousePressEvent?4(QMouseEvent) +QtQuick.QQuickWindow.mouseReleaseEvent?4(QMouseEvent) +QtQuick.QQuickWindow.mouseDoubleClickEvent?4(QMouseEvent) +QtQuick.QQuickWindow.mouseMoveEvent?4(QMouseEvent) +QtQuick.QQuickWindow.wheelEvent?4(QWheelEvent) +QtQuick.QQuickWindow.tabletEvent?4(QTabletEvent) +QtQuick.QQuickWindow.hasDefaultAlphaBuffer?4() -> bool +QtQuick.QQuickWindow.setDefaultAlphaBuffer?4(bool) +QtQuick.QQuickWindow.closing?4(QQuickCloseEvent) +QtQuick.QQuickWindow.activeFocusItemChanged?4() +QtQuick.QQuickWindow.resetOpenGLState?4() +QtQuick.QQuickWindow.openglContextCreated?4(QOpenGLContext) +QtQuick.QQuickWindow.afterSynchronizing?4() +QtQuick.QQuickWindow.afterAnimating?4() +QtQuick.QQuickWindow.sceneGraphAboutToStop?4() +QtQuick.QQuickWindow.sceneGraphError?4(QQuickWindow.SceneGraphError, QString) +QtQuick.QQuickWindow.scheduleRenderJob?4(QRunnable, QQuickWindow.RenderStage) +QtQuick.QQuickWindow.effectiveDevicePixelRatio?4() -> float +QtQuick.QQuickWindow.isSceneGraphInitialized?4() -> bool +QtQuick.QQuickWindow.rendererInterface?4() -> QSGRendererInterface +QtQuick.QQuickWindow.setSceneGraphBackend?4(QSGRendererInterface.GraphicsApi) +QtQuick.QQuickWindow.setSceneGraphBackend?4(QString) +QtQuick.QQuickWindow.createRectangleNode?4() -> QSGRectangleNode +QtQuick.QQuickWindow.createImageNode?4() -> QSGImageNode +QtQuick.QQuickWindow.sceneGraphBackend?4() -> QString +QtQuick.QQuickWindow.textRenderType?4() -> QQuickWindow.TextRenderType +QtQuick.QQuickWindow.setTextRenderType?4(QQuickWindow.TextRenderType) +QtQuick.QQuickWindow.beginExternalCommands?4() +QtQuick.QQuickWindow.endExternalCommands?4() +QtQuick.QQuickWindow.beforeRenderPassRecording?4() +QtQuick.QQuickWindow.afterRenderPassRecording?4() +QtQuick.QQuickView.Status?10 +QtQuick.QQuickView.Status.Null?10 +QtQuick.QQuickView.Status.Ready?10 +QtQuick.QQuickView.Status.Loading?10 +QtQuick.QQuickView.Status.Error?10 +QtQuick.QQuickView.ResizeMode?10 +QtQuick.QQuickView.ResizeMode.SizeViewToRootObject?10 +QtQuick.QQuickView.ResizeMode.SizeRootObjectToView?10 +QtQuick.QQuickView?1(QWindow parent=None) +QtQuick.QQuickView.__init__?1(self, QWindow parent=None) +QtQuick.QQuickView?1(QQmlEngine, QWindow) +QtQuick.QQuickView.__init__?1(self, QQmlEngine, QWindow) +QtQuick.QQuickView?1(QUrl, QWindow parent=None) +QtQuick.QQuickView.__init__?1(self, QUrl, QWindow parent=None) +QtQuick.QQuickView.source?4() -> QUrl +QtQuick.QQuickView.engine?4() -> QQmlEngine +QtQuick.QQuickView.rootContext?4() -> QQmlContext +QtQuick.QQuickView.rootObject?4() -> QQuickItem +QtQuick.QQuickView.resizeMode?4() -> QQuickView.ResizeMode +QtQuick.QQuickView.setResizeMode?4(QQuickView.ResizeMode) +QtQuick.QQuickView.status?4() -> QQuickView.Status +QtQuick.QQuickView.errors?4() -> unknown-type +QtQuick.QQuickView.initialSize?4() -> QSize +QtQuick.QQuickView.setSource?4(QUrl) +QtQuick.QQuickView.setInitialProperties?4(QVariantMap) +QtQuick.QQuickView.statusChanged?4(QQuickView.Status) +QtQuick.QQuickView.resizeEvent?4(QResizeEvent) +QtQuick.QQuickView.timerEvent?4(QTimerEvent) +QtQuick.QQuickView.keyPressEvent?4(QKeyEvent) +QtQuick.QQuickView.keyReleaseEvent?4(QKeyEvent) +QtQuick.QQuickView.mousePressEvent?4(QMouseEvent) +QtQuick.QQuickView.mouseReleaseEvent?4(QMouseEvent) +QtQuick.QQuickView.mouseMoveEvent?4(QMouseEvent) +QtQuick.QQuickWindow.CreateTextureOptions?1() +QtQuick.QQuickWindow.CreateTextureOptions.__init__?1(self) +QtQuick.QQuickWindow.CreateTextureOptions?1(int) +QtQuick.QQuickWindow.CreateTextureOptions.__init__?1(self, int) +QtQuick.QQuickWindow.CreateTextureOptions?1(QQuickWindow.CreateTextureOptions) +QtQuick.QQuickWindow.CreateTextureOptions.__init__?1(self, QQuickWindow.CreateTextureOptions) +QtQuick.QSGAbstractRenderer.MatrixTransformFlag?10 +QtQuick.QSGAbstractRenderer.MatrixTransformFlag.MatrixTransformFlipY?10 +QtQuick.QSGAbstractRenderer.ClearModeBit?10 +QtQuick.QSGAbstractRenderer.ClearModeBit.ClearColorBuffer?10 +QtQuick.QSGAbstractRenderer.ClearModeBit.ClearDepthBuffer?10 +QtQuick.QSGAbstractRenderer.ClearModeBit.ClearStencilBuffer?10 +QtQuick.QSGAbstractRenderer.setDeviceRect?4(QRect) +QtQuick.QSGAbstractRenderer.setDeviceRect?4(QSize) +QtQuick.QSGAbstractRenderer.deviceRect?4() -> QRect +QtQuick.QSGAbstractRenderer.setViewportRect?4(QRect) +QtQuick.QSGAbstractRenderer.setViewportRect?4(QSize) +QtQuick.QSGAbstractRenderer.viewportRect?4() -> QRect +QtQuick.QSGAbstractRenderer.setProjectionMatrixToRect?4(QRectF) +QtQuick.QSGAbstractRenderer.setProjectionMatrixToRect?4(QRectF, QSGAbstractRenderer.MatrixTransformFlags) +QtQuick.QSGAbstractRenderer.setProjectionMatrix?4(QMatrix4x4) +QtQuick.QSGAbstractRenderer.projectionMatrix?4() -> QMatrix4x4 +QtQuick.QSGAbstractRenderer.setClearColor?4(QColor) +QtQuick.QSGAbstractRenderer.clearColor?4() -> QColor +QtQuick.QSGAbstractRenderer.setClearMode?4(QSGAbstractRenderer.ClearMode) +QtQuick.QSGAbstractRenderer.clearMode?4() -> QSGAbstractRenderer.ClearMode +QtQuick.QSGAbstractRenderer.renderScene?4(int fboId=0) +QtQuick.QSGAbstractRenderer.sceneGraphChanged?4() +QtQuick.QSGAbstractRenderer.ClearMode?1() +QtQuick.QSGAbstractRenderer.ClearMode.__init__?1(self) +QtQuick.QSGAbstractRenderer.ClearMode?1(int) +QtQuick.QSGAbstractRenderer.ClearMode.__init__?1(self, int) +QtQuick.QSGAbstractRenderer.ClearMode?1(QSGAbstractRenderer.ClearMode) +QtQuick.QSGAbstractRenderer.ClearMode.__init__?1(self, QSGAbstractRenderer.ClearMode) +QtQuick.QSGAbstractRenderer.MatrixTransformFlags?1() +QtQuick.QSGAbstractRenderer.MatrixTransformFlags.__init__?1(self) +QtQuick.QSGAbstractRenderer.MatrixTransformFlags?1(int) +QtQuick.QSGAbstractRenderer.MatrixTransformFlags.__init__?1(self, int) +QtQuick.QSGAbstractRenderer.MatrixTransformFlags?1(QSGAbstractRenderer.MatrixTransformFlags) +QtQuick.QSGAbstractRenderer.MatrixTransformFlags.__init__?1(self, QSGAbstractRenderer.MatrixTransformFlags) +QtQuick.QSGEngine.CreateTextureOption?10 +QtQuick.QSGEngine.CreateTextureOption.TextureHasAlphaChannel?10 +QtQuick.QSGEngine.CreateTextureOption.TextureOwnsGLTexture?10 +QtQuick.QSGEngine.CreateTextureOption.TextureCanUseAtlas?10 +QtQuick.QSGEngine.CreateTextureOption.TextureIsOpaque?10 +QtQuick.QSGEngine?1(QObject parent=None) +QtQuick.QSGEngine.__init__?1(self, QObject parent=None) +QtQuick.QSGEngine.initialize?4(QOpenGLContext) +QtQuick.QSGEngine.invalidate?4() +QtQuick.QSGEngine.createRenderer?4() -> QSGAbstractRenderer +QtQuick.QSGEngine.createTextureFromImage?4(QImage, QSGEngine.CreateTextureOptions options=QSGEngine.CreateTextureOption()) -> QSGTexture +QtQuick.QSGEngine.createTextureFromId?4(int, QSize, QSGEngine.CreateTextureOptions options=QSGEngine.CreateTextureOption()) -> QSGTexture +QtQuick.QSGEngine.rendererInterface?4() -> QSGRendererInterface +QtQuick.QSGEngine.createRectangleNode?4() -> QSGRectangleNode +QtQuick.QSGEngine.createImageNode?4() -> QSGImageNode +QtQuick.QSGEngine.CreateTextureOptions?1() +QtQuick.QSGEngine.CreateTextureOptions.__init__?1(self) +QtQuick.QSGEngine.CreateTextureOptions?1(int) +QtQuick.QSGEngine.CreateTextureOptions.__init__?1(self, int) +QtQuick.QSGEngine.CreateTextureOptions?1(QSGEngine.CreateTextureOptions) +QtQuick.QSGEngine.CreateTextureOptions.__init__?1(self, QSGEngine.CreateTextureOptions) +QtQuick.QSGMaterial.Flag?10 +QtQuick.QSGMaterial.Flag.Blending?10 +QtQuick.QSGMaterial.Flag.RequiresDeterminant?10 +QtQuick.QSGMaterial.Flag.RequiresFullMatrixExceptTranslate?10 +QtQuick.QSGMaterial.Flag.RequiresFullMatrix?10 +QtQuick.QSGMaterial.Flag.CustomCompileStep?10 +QtQuick.QSGMaterial.Flag.SupportsRhiShader?10 +QtQuick.QSGMaterial.Flag.RhiShaderWanted?10 +QtQuick.QSGMaterial?1() +QtQuick.QSGMaterial.__init__?1(self) +QtQuick.QSGMaterial.type?4() -> QSGMaterialType +QtQuick.QSGMaterial.createShader?4() -> QSGMaterialShader +QtQuick.QSGMaterial.compare?4(QSGMaterial) -> int +QtQuick.QSGMaterial.flags?4() -> QSGMaterial.Flags +QtQuick.QSGMaterial.setFlag?4(QSGMaterial.Flags, bool enabled=True) +QtQuick.QSGFlatColorMaterial?1() +QtQuick.QSGFlatColorMaterial.__init__?1(self) +QtQuick.QSGFlatColorMaterial.type?4() -> QSGMaterialType +QtQuick.QSGFlatColorMaterial.createShader?4() -> QSGMaterialShader +QtQuick.QSGFlatColorMaterial.setColor?4(QColor) +QtQuick.QSGFlatColorMaterial.color?4() -> QColor +QtQuick.QSGFlatColorMaterial.compare?4(QSGMaterial) -> int +QtQuick.QSGGeometry.Type?10 +QtQuick.QSGGeometry.Type.ByteType?10 +QtQuick.QSGGeometry.Type.UnsignedByteType?10 +QtQuick.QSGGeometry.Type.ShortType?10 +QtQuick.QSGGeometry.Type.UnsignedShortType?10 +QtQuick.QSGGeometry.Type.IntType?10 +QtQuick.QSGGeometry.Type.UnsignedIntType?10 +QtQuick.QSGGeometry.Type.FloatType?10 +QtQuick.QSGGeometry.Type.Bytes2Type?10 +QtQuick.QSGGeometry.Type.Bytes3Type?10 +QtQuick.QSGGeometry.Type.Bytes4Type?10 +QtQuick.QSGGeometry.Type.DoubleType?10 +QtQuick.QSGGeometry.DrawingMode?10 +QtQuick.QSGGeometry.DrawingMode.DrawPoints?10 +QtQuick.QSGGeometry.DrawingMode.DrawLines?10 +QtQuick.QSGGeometry.DrawingMode.DrawLineLoop?10 +QtQuick.QSGGeometry.DrawingMode.DrawLineStrip?10 +QtQuick.QSGGeometry.DrawingMode.DrawTriangles?10 +QtQuick.QSGGeometry.DrawingMode.DrawTriangleStrip?10 +QtQuick.QSGGeometry.DrawingMode.DrawTriangleFan?10 +QtQuick.QSGGeometry.AttributeType?10 +QtQuick.QSGGeometry.AttributeType.UnknownAttribute?10 +QtQuick.QSGGeometry.AttributeType.PositionAttribute?10 +QtQuick.QSGGeometry.AttributeType.ColorAttribute?10 +QtQuick.QSGGeometry.AttributeType.TexCoordAttribute?10 +QtQuick.QSGGeometry.AttributeType.TexCoord1Attribute?10 +QtQuick.QSGGeometry.AttributeType.TexCoord2Attribute?10 +QtQuick.QSGGeometry.DataPattern?10 +QtQuick.QSGGeometry.DataPattern.AlwaysUploadPattern?10 +QtQuick.QSGGeometry.DataPattern.StreamPattern?10 +QtQuick.QSGGeometry.DataPattern.DynamicPattern?10 +QtQuick.QSGGeometry.DataPattern.StaticPattern?10 +QtQuick.GL_POINTS?10 +QtQuick.GL_LINES?10 +QtQuick.GL_LINE_LOOP?10 +QtQuick.GL_LINE_STRIP?10 +QtQuick.GL_TRIANGLES?10 +QtQuick.GL_TRIANGLE_STRIP?10 +QtQuick.GL_TRIANGLE_FAN?10 +QtQuick.GL_BYTE?10 +QtQuick.GL_DOUBLE?10 +QtQuick.GL_FLOAT?10 +QtQuick.GL_INT?10 +QtQuick.QSGGeometry?1(QSGGeometry.AttributeSet, int, int indexCount=0, int indexType=GL_UNSIGNED_SHORT) +QtQuick.QSGGeometry.__init__?1(self, QSGGeometry.AttributeSet, int, int indexCount=0, int indexType=GL_UNSIGNED_SHORT) +QtQuick.QSGGeometry.defaultAttributes_Point2D?4() -> QSGGeometry.AttributeSet +QtQuick.QSGGeometry.defaultAttributes_TexturedPoint2D?4() -> QSGGeometry.AttributeSet +QtQuick.QSGGeometry.defaultAttributes_ColoredPoint2D?4() -> QSGGeometry.AttributeSet +QtQuick.QSGGeometry.setDrawingMode?4(int) +QtQuick.QSGGeometry.drawingMode?4() -> int +QtQuick.QSGGeometry.allocate?4(int, int indexCount=0) +QtQuick.QSGGeometry.vertexCount?4() -> int +QtQuick.QSGGeometry.vertexData?4() -> sip.voidptr +QtQuick.QSGGeometry.indexType?4() -> int +QtQuick.QSGGeometry.indexCount?4() -> int +QtQuick.QSGGeometry.indexData?4() -> sip.voidptr +QtQuick.QSGGeometry.attributeCount?4() -> int +QtQuick.QSGGeometry.attributes?4() -> object +QtQuick.QSGGeometry.sizeOfVertex?4() -> int +QtQuick.QSGGeometry.updateRectGeometry?4(QSGGeometry, QRectF) +QtQuick.QSGGeometry.updateTexturedRectGeometry?4(QSGGeometry, QRectF, QRectF) +QtQuick.QSGGeometry.setIndexDataPattern?4(QSGGeometry.DataPattern) +QtQuick.QSGGeometry.indexDataPattern?4() -> QSGGeometry.DataPattern +QtQuick.QSGGeometry.setVertexDataPattern?4(QSGGeometry.DataPattern) +QtQuick.QSGGeometry.vertexDataPattern?4() -> QSGGeometry.DataPattern +QtQuick.QSGGeometry.markIndexDataDirty?4() +QtQuick.QSGGeometry.markVertexDataDirty?4() +QtQuick.QSGGeometry.lineWidth?4() -> float +QtQuick.QSGGeometry.setLineWidth?4(float) +QtQuick.QSGGeometry.indexDataAsUInt?4() -> object +QtQuick.QSGGeometry.indexDataAsUShort?4() -> object +QtQuick.QSGGeometry.vertexDataAsPoint2D?4() -> object +QtQuick.QSGGeometry.vertexDataAsTexturedPoint2D?4() -> object +QtQuick.QSGGeometry.vertexDataAsColoredPoint2D?4() -> object +QtQuick.QSGGeometry.sizeOfIndex?4() -> int +QtQuick.QSGGeometry.updateColoredRectGeometry?4(QSGGeometry, QRectF) +QtQuick.QSGGeometry.Attribute.attributeType?7 +QtQuick.QSGGeometry.Attribute.isVertexCoordinate?7 +QtQuick.QSGGeometry.Attribute.position?7 +QtQuick.QSGGeometry.Attribute.tupleSize?7 +QtQuick.QSGGeometry.Attribute.type?7 +QtQuick.QSGGeometry.Attribute?1() +QtQuick.QSGGeometry.Attribute.__init__?1(self) +QtQuick.QSGGeometry.Attribute?1(QSGGeometry.Attribute) +QtQuick.QSGGeometry.Attribute.__init__?1(self, QSGGeometry.Attribute) +QtQuick.QSGGeometry.Attribute.create?4(int, int, int, bool isPosition=False) -> QSGGeometry.Attribute +QtQuick.QSGGeometry.Attribute.createWithAttributeType?4(int, int, int, QSGGeometry.AttributeType) -> QSGGeometry.Attribute +QtQuick.QSGGeometry.AttributeSet.attributes?7 +QtQuick.QSGGeometry.AttributeSet.count?7 +QtQuick.QSGGeometry.AttributeSet.stride?7 +QtQuick.QSGGeometry.AttributeSet?1(object, int stride=0) +QtQuick.QSGGeometry.AttributeSet.__init__?1(self, object, int stride=0) +QtQuick.QSGGeometry.Point2D.x?7 +QtQuick.QSGGeometry.Point2D.y?7 +QtQuick.QSGGeometry.Point2D?1() +QtQuick.QSGGeometry.Point2D.__init__?1(self) +QtQuick.QSGGeometry.Point2D?1(QSGGeometry.Point2D) +QtQuick.QSGGeometry.Point2D.__init__?1(self, QSGGeometry.Point2D) +QtQuick.QSGGeometry.Point2D.set?4(float, float) +QtQuick.QSGGeometry.TexturedPoint2D.tx?7 +QtQuick.QSGGeometry.TexturedPoint2D.ty?7 +QtQuick.QSGGeometry.TexturedPoint2D.x?7 +QtQuick.QSGGeometry.TexturedPoint2D.y?7 +QtQuick.QSGGeometry.TexturedPoint2D?1() +QtQuick.QSGGeometry.TexturedPoint2D.__init__?1(self) +QtQuick.QSGGeometry.TexturedPoint2D?1(QSGGeometry.TexturedPoint2D) +QtQuick.QSGGeometry.TexturedPoint2D.__init__?1(self, QSGGeometry.TexturedPoint2D) +QtQuick.QSGGeometry.TexturedPoint2D.set?4(float, float, float, float) +QtQuick.QSGGeometry.ColoredPoint2D.a?7 +QtQuick.QSGGeometry.ColoredPoint2D.b?7 +QtQuick.QSGGeometry.ColoredPoint2D.g?7 +QtQuick.QSGGeometry.ColoredPoint2D.r?7 +QtQuick.QSGGeometry.ColoredPoint2D.x?7 +QtQuick.QSGGeometry.ColoredPoint2D.y?7 +QtQuick.QSGGeometry.ColoredPoint2D?1() +QtQuick.QSGGeometry.ColoredPoint2D.__init__?1(self) +QtQuick.QSGGeometry.ColoredPoint2D?1(QSGGeometry.ColoredPoint2D) +QtQuick.QSGGeometry.ColoredPoint2D.__init__?1(self, QSGGeometry.ColoredPoint2D) +QtQuick.QSGGeometry.ColoredPoint2D.set?4(float, float, int, int, int, int) +QtQuick.QSGNode.DirtyStateBit?10 +QtQuick.QSGNode.DirtyStateBit.DirtyMatrix?10 +QtQuick.QSGNode.DirtyStateBit.DirtyNodeAdded?10 +QtQuick.QSGNode.DirtyStateBit.DirtyNodeRemoved?10 +QtQuick.QSGNode.DirtyStateBit.DirtyGeometry?10 +QtQuick.QSGNode.DirtyStateBit.DirtyMaterial?10 +QtQuick.QSGNode.DirtyStateBit.DirtyOpacity?10 +QtQuick.QSGNode.Flag?10 +QtQuick.QSGNode.Flag.OwnedByParent?10 +QtQuick.QSGNode.Flag.UsePreprocess?10 +QtQuick.QSGNode.Flag.OwnsGeometry?10 +QtQuick.QSGNode.Flag.OwnsMaterial?10 +QtQuick.QSGNode.Flag.OwnsOpaqueMaterial?10 +QtQuick.QSGNode.NodeType?10 +QtQuick.QSGNode.NodeType.BasicNodeType?10 +QtQuick.QSGNode.NodeType.GeometryNodeType?10 +QtQuick.QSGNode.NodeType.TransformNodeType?10 +QtQuick.QSGNode.NodeType.ClipNodeType?10 +QtQuick.QSGNode.NodeType.OpacityNodeType?10 +QtQuick.QSGNode?1() +QtQuick.QSGNode.__init__?1(self) +QtQuick.QSGNode.parent?4() -> QSGNode +QtQuick.QSGNode.removeChildNode?4(QSGNode) +QtQuick.QSGNode.removeAllChildNodes?4() +QtQuick.QSGNode.prependChildNode?4(QSGNode) +QtQuick.QSGNode.appendChildNode?4(QSGNode) +QtQuick.QSGNode.insertChildNodeBefore?4(QSGNode, QSGNode) +QtQuick.QSGNode.insertChildNodeAfter?4(QSGNode, QSGNode) +QtQuick.QSGNode.childCount?4() -> int +QtQuick.QSGNode.childAtIndex?4(int) -> QSGNode +QtQuick.QSGNode.firstChild?4() -> QSGNode +QtQuick.QSGNode.lastChild?4() -> QSGNode +QtQuick.QSGNode.nextSibling?4() -> QSGNode +QtQuick.QSGNode.previousSibling?4() -> QSGNode +QtQuick.QSGNode.type?4() -> QSGNode.NodeType +QtQuick.QSGNode.markDirty?4(QSGNode.DirtyState) +QtQuick.QSGNode.isSubtreeBlocked?4() -> bool +QtQuick.QSGNode.flags?4() -> QSGNode.Flags +QtQuick.QSGNode.setFlag?4(QSGNode.Flag, bool enabled=True) +QtQuick.QSGNode.setFlags?4(QSGNode.Flags, bool enabled=True) +QtQuick.QSGNode.preprocess?4() +QtQuick.QSGBasicGeometryNode.setGeometry?4(QSGGeometry) +QtQuick.QSGBasicGeometryNode.geometry?4() -> QSGGeometry +QtQuick.QSGGeometryNode?1() +QtQuick.QSGGeometryNode.__init__?1(self) +QtQuick.QSGGeometryNode.setMaterial?4(QSGMaterial) +QtQuick.QSGGeometryNode.material?4() -> QSGMaterial +QtQuick.QSGGeometryNode.setOpaqueMaterial?4(QSGMaterial) +QtQuick.QSGGeometryNode.opaqueMaterial?4() -> QSGMaterial +QtQuick.QSGImageNode.TextureCoordinatesTransformFlag?10 +QtQuick.QSGImageNode.TextureCoordinatesTransformFlag.NoTransform?10 +QtQuick.QSGImageNode.TextureCoordinatesTransformFlag.MirrorHorizontally?10 +QtQuick.QSGImageNode.TextureCoordinatesTransformFlag.MirrorVertically?10 +QtQuick.QSGImageNode.setRect?4(QRectF) +QtQuick.QSGImageNode.setRect?4(float, float, float, float) +QtQuick.QSGImageNode.rect?4() -> QRectF +QtQuick.QSGImageNode.setSourceRect?4(QRectF) +QtQuick.QSGImageNode.setSourceRect?4(float, float, float, float) +QtQuick.QSGImageNode.sourceRect?4() -> QRectF +QtQuick.QSGImageNode.setTexture?4(QSGTexture) +QtQuick.QSGImageNode.texture?4() -> QSGTexture +QtQuick.QSGImageNode.setFiltering?4(QSGTexture.Filtering) +QtQuick.QSGImageNode.filtering?4() -> QSGTexture.Filtering +QtQuick.QSGImageNode.setMipmapFiltering?4(QSGTexture.Filtering) +QtQuick.QSGImageNode.mipmapFiltering?4() -> QSGTexture.Filtering +QtQuick.QSGImageNode.setTextureCoordinatesTransform?4(QSGImageNode.TextureCoordinatesTransformMode) +QtQuick.QSGImageNode.textureCoordinatesTransform?4() -> QSGImageNode.TextureCoordinatesTransformMode +QtQuick.QSGImageNode.setOwnsTexture?4(bool) +QtQuick.QSGImageNode.ownsTexture?4() -> bool +QtQuick.QSGImageNode.rebuildGeometry?4(QSGGeometry, QSGTexture, QRectF, QRectF, QSGImageNode.TextureCoordinatesTransformMode) +QtQuick.QSGImageNode.TextureCoordinatesTransformMode?1() +QtQuick.QSGImageNode.TextureCoordinatesTransformMode.__init__?1(self) +QtQuick.QSGImageNode.TextureCoordinatesTransformMode?1(int) +QtQuick.QSGImageNode.TextureCoordinatesTransformMode.__init__?1(self, int) +QtQuick.QSGImageNode.TextureCoordinatesTransformMode?1(QSGImageNode.TextureCoordinatesTransformMode) +QtQuick.QSGImageNode.TextureCoordinatesTransformMode.__init__?1(self, QSGImageNode.TextureCoordinatesTransformMode) +QtQuick.QSGMaterialShader?1() +QtQuick.QSGMaterialShader.__init__?1(self) +QtQuick.QSGMaterialShader.activate?4() +QtQuick.QSGMaterialShader.deactivate?4() +QtQuick.QSGMaterialShader.updateState?4(QSGMaterialShader.RenderState, QSGMaterial, QSGMaterial) +QtQuick.QSGMaterialShader.attributeNames?4() -> object +QtQuick.QSGMaterialShader.program?4() -> QOpenGLShaderProgram +QtQuick.QSGMaterialShader.compile?4() +QtQuick.QSGMaterialShader.initialize?4() +QtQuick.QSGMaterialShader.vertexShader?4() -> str +QtQuick.QSGMaterialShader.fragmentShader?4() -> str +QtQuick.QSGMaterialShader.setShaderSourceFile?4(QOpenGLShader.ShaderType, QString) +QtQuick.QSGMaterialShader.setShaderSourceFiles?4(QOpenGLShader.ShaderType, QStringList) +QtQuick.QSGMaterialShader.RenderState.DirtyState?10 +QtQuick.QSGMaterialShader.RenderState.DirtyState.DirtyMatrix?10 +QtQuick.QSGMaterialShader.RenderState.DirtyState.DirtyOpacity?10 +QtQuick.QSGMaterialShader.RenderState.DirtyState.DirtyCachedMaterialData?10 +QtQuick.QSGMaterialShader.RenderState.DirtyState.DirtyAll?10 +QtQuick.QSGMaterialShader.RenderState?1() +QtQuick.QSGMaterialShader.RenderState.__init__?1(self) +QtQuick.QSGMaterialShader.RenderState?1(QSGMaterialShader.RenderState) +QtQuick.QSGMaterialShader.RenderState.__init__?1(self, QSGMaterialShader.RenderState) +QtQuick.QSGMaterialShader.RenderState.dirtyStates?4() -> QSGMaterialShader.RenderState.DirtyStates +QtQuick.QSGMaterialShader.RenderState.isMatrixDirty?4() -> bool +QtQuick.QSGMaterialShader.RenderState.isOpacityDirty?4() -> bool +QtQuick.QSGMaterialShader.RenderState.opacity?4() -> float +QtQuick.QSGMaterialShader.RenderState.combinedMatrix?4() -> QMatrix4x4 +QtQuick.QSGMaterialShader.RenderState.modelViewMatrix?4() -> QMatrix4x4 +QtQuick.QSGMaterialShader.RenderState.viewportRect?4() -> QRect +QtQuick.QSGMaterialShader.RenderState.deviceRect?4() -> QRect +QtQuick.QSGMaterialShader.RenderState.determinant?4() -> float +QtQuick.QSGMaterialShader.RenderState.context?4() -> QOpenGLContext +QtQuick.QSGMaterialShader.RenderState.projectionMatrix?4() -> QMatrix4x4 +QtQuick.QSGMaterialShader.RenderState.devicePixelRatio?4() -> float +QtQuick.QSGMaterialShader.RenderState.isCachedMaterialDataDirty?4() -> bool +QtQuick.QSGMaterialShader.RenderState.DirtyStates?1() +QtQuick.QSGMaterialShader.RenderState.DirtyStates.__init__?1(self) +QtQuick.QSGMaterialShader.RenderState.DirtyStates?1(int) +QtQuick.QSGMaterialShader.RenderState.DirtyStates.__init__?1(self, int) +QtQuick.QSGMaterialShader.RenderState.DirtyStates?1(QSGMaterialShader.RenderState.DirtyStates) +QtQuick.QSGMaterialShader.RenderState.DirtyStates.__init__?1(self, QSGMaterialShader.RenderState.DirtyStates) +QtQuick.QSGMaterialType?1() +QtQuick.QSGMaterialType.__init__?1(self) +QtQuick.QSGMaterialType?1(QSGMaterialType) +QtQuick.QSGMaterialType.__init__?1(self, QSGMaterialType) +QtQuick.QSGMaterial.Flags?1() +QtQuick.QSGMaterial.Flags.__init__?1(self) +QtQuick.QSGMaterial.Flags?1(int) +QtQuick.QSGMaterial.Flags.__init__?1(self, int) +QtQuick.QSGMaterial.Flags?1(QSGMaterial.Flags) +QtQuick.QSGMaterial.Flags.__init__?1(self, QSGMaterial.Flags) +QtQuick.QSGMaterialRhiShader.Flag?10 +QtQuick.QSGMaterialRhiShader.Flag.UpdatesGraphicsPipelineState?10 +QtQuick.QSGMaterialRhiShader?1() +QtQuick.QSGMaterialRhiShader.__init__?1(self) +QtQuick.QSGMaterialRhiShader.updateUniformData?4(QSGMaterialRhiShader.RenderState, QSGMaterial, QSGMaterial) -> bool +QtQuick.QSGMaterialRhiShader.updateSampledImage?4(QSGMaterialRhiShader.RenderState, int, QSGMaterial, QSGMaterial) -> QSGTexture +QtQuick.QSGMaterialRhiShader.updateGraphicsPipelineState?4(QSGMaterialRhiShader.RenderState, QSGMaterialRhiShader.GraphicsPipelineState, QSGMaterial, QSGMaterial) -> bool +QtQuick.QSGMaterialRhiShader.flags?4() -> QSGMaterialRhiShader.Flags +QtQuick.QSGMaterialRhiShader.setFlag?4(QSGMaterialRhiShader.Flags, bool on=True) +QtQuick.QSGMaterialRhiShader.RenderState?1() +QtQuick.QSGMaterialRhiShader.RenderState.__init__?1(self) +QtQuick.QSGMaterialRhiShader.RenderState?1(QSGMaterialRhiShader.RenderState) +QtQuick.QSGMaterialRhiShader.RenderState.__init__?1(self, QSGMaterialRhiShader.RenderState) +QtQuick.QSGMaterialRhiShader.RenderState.dirtyStates?4() -> QSGMaterialShader.RenderState.DirtyStates +QtQuick.QSGMaterialRhiShader.RenderState.isMatrixDirty?4() -> bool +QtQuick.QSGMaterialRhiShader.RenderState.isOpacityDirty?4() -> bool +QtQuick.QSGMaterialRhiShader.RenderState.opacity?4() -> float +QtQuick.QSGMaterialRhiShader.RenderState.combinedMatrix?4() -> QMatrix4x4 +QtQuick.QSGMaterialRhiShader.RenderState.modelViewMatrix?4() -> QMatrix4x4 +QtQuick.QSGMaterialRhiShader.RenderState.projectionMatrix?4() -> QMatrix4x4 +QtQuick.QSGMaterialRhiShader.RenderState.viewportRect?4() -> QRect +QtQuick.QSGMaterialRhiShader.RenderState.deviceRect?4() -> QRect +QtQuick.QSGMaterialRhiShader.RenderState.determinant?4() -> float +QtQuick.QSGMaterialRhiShader.RenderState.devicePixelRatio?4() -> float +QtQuick.QSGMaterialRhiShader.RenderState.uniformData?4() -> QByteArray +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.CullMode?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.CullMode.CullNone?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.CullMode.CullFront?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.CullMode.CullBack?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent.R?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent.G?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent.B?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent.A?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.Zero?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.One?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.SrcColor?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.OneMinusSrcColor?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.DstColor?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.OneMinusDstColor?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.SrcAlpha?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.OneMinusSrcAlpha?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.DstAlpha?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.OneMinusDstAlpha?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.ConstantColor?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.OneMinusConstantColor?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.ConstantAlpha?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.OneMinusConstantAlpha?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.SrcAlphaSaturate?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.Src1Color?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.OneMinusSrc1Color?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.Src1Alpha?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor.OneMinusSrc1Alpha?10 +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState?1() +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.__init__?1(self) +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState?1(QSGMaterialRhiShader.GraphicsPipelineState) +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.__init__?1(self, QSGMaterialRhiShader.GraphicsPipelineState) +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMask?1() +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMask.__init__?1(self) +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMask?1(int) +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMask.__init__?1(self, int) +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMask?1(QSGMaterialRhiShader.GraphicsPipelineState.ColorMask) +QtQuick.QSGMaterialRhiShader.GraphicsPipelineState.ColorMask.__init__?1(self, QSGMaterialRhiShader.GraphicsPipelineState.ColorMask) +QtQuick.QSGMaterialRhiShader.Flags?1() +QtQuick.QSGMaterialRhiShader.Flags.__init__?1(self) +QtQuick.QSGMaterialRhiShader.Flags?1(int) +QtQuick.QSGMaterialRhiShader.Flags.__init__?1(self, int) +QtQuick.QSGMaterialRhiShader.Flags?1(QSGMaterialRhiShader.Flags) +QtQuick.QSGMaterialRhiShader.Flags.__init__?1(self, QSGMaterialRhiShader.Flags) +QtQuick.QSGNode.Flags?1() +QtQuick.QSGNode.Flags.__init__?1(self) +QtQuick.QSGNode.Flags?1(int) +QtQuick.QSGNode.Flags.__init__?1(self, int) +QtQuick.QSGNode.Flags?1(QSGNode.Flags) +QtQuick.QSGNode.Flags.__init__?1(self, QSGNode.Flags) +QtQuick.QSGNode.DirtyState?1() +QtQuick.QSGNode.DirtyState.__init__?1(self) +QtQuick.QSGNode.DirtyState?1(int) +QtQuick.QSGNode.DirtyState.__init__?1(self, int) +QtQuick.QSGNode.DirtyState?1(QSGNode.DirtyState) +QtQuick.QSGNode.DirtyState.__init__?1(self, QSGNode.DirtyState) +QtQuick.QSGClipNode?1() +QtQuick.QSGClipNode.__init__?1(self) +QtQuick.QSGClipNode.setIsRectangular?4(bool) +QtQuick.QSGClipNode.isRectangular?4() -> bool +QtQuick.QSGClipNode.setClipRect?4(QRectF) +QtQuick.QSGClipNode.clipRect?4() -> QRectF +QtQuick.QSGTransformNode?1() +QtQuick.QSGTransformNode.__init__?1(self) +QtQuick.QSGTransformNode.setMatrix?4(QMatrix4x4) +QtQuick.QSGTransformNode.matrix?4() -> QMatrix4x4 +QtQuick.QSGOpacityNode?1() +QtQuick.QSGOpacityNode.__init__?1(self) +QtQuick.QSGOpacityNode.setOpacity?4(float) +QtQuick.QSGOpacityNode.opacity?4() -> float +QtQuick.QSGRectangleNode.setRect?4(QRectF) +QtQuick.QSGRectangleNode.setRect?4(float, float, float, float) +QtQuick.QSGRectangleNode.rect?4() -> QRectF +QtQuick.QSGRectangleNode.setColor?4(QColor) +QtQuick.QSGRectangleNode.color?4() -> QColor +QtQuick.QSGRendererInterface.ShaderSourceType?10 +QtQuick.QSGRendererInterface.ShaderSourceType.ShaderSourceString?10 +QtQuick.QSGRendererInterface.ShaderSourceType.ShaderSourceFile?10 +QtQuick.QSGRendererInterface.ShaderSourceType.ShaderByteCode?10 +QtQuick.QSGRendererInterface.ShaderCompilationType?10 +QtQuick.QSGRendererInterface.ShaderCompilationType.RuntimeCompilation?10 +QtQuick.QSGRendererInterface.ShaderCompilationType.OfflineCompilation?10 +QtQuick.QSGRendererInterface.ShaderType?10 +QtQuick.QSGRendererInterface.ShaderType.UnknownShadingLanguage?10 +QtQuick.QSGRendererInterface.ShaderType.GLSL?10 +QtQuick.QSGRendererInterface.ShaderType.HLSL?10 +QtQuick.QSGRendererInterface.ShaderType.RhiShader?10 +QtQuick.QSGRendererInterface.Resource?10 +QtQuick.QSGRendererInterface.Resource.DeviceResource?10 +QtQuick.QSGRendererInterface.Resource.CommandQueueResource?10 +QtQuick.QSGRendererInterface.Resource.CommandListResource?10 +QtQuick.QSGRendererInterface.Resource.PainterResource?10 +QtQuick.QSGRendererInterface.Resource.RhiResource?10 +QtQuick.QSGRendererInterface.Resource.PhysicalDeviceResource?10 +QtQuick.QSGRendererInterface.Resource.OpenGLContextResource?10 +QtQuick.QSGRendererInterface.Resource.DeviceContextResource?10 +QtQuick.QSGRendererInterface.Resource.CommandEncoderResource?10 +QtQuick.QSGRendererInterface.Resource.VulkanInstanceResource?10 +QtQuick.QSGRendererInterface.Resource.RenderPassResource?10 +QtQuick.QSGRendererInterface.GraphicsApi?10 +QtQuick.QSGRendererInterface.GraphicsApi.Unknown?10 +QtQuick.QSGRendererInterface.GraphicsApi.Software?10 +QtQuick.QSGRendererInterface.GraphicsApi.OpenGL?10 +QtQuick.QSGRendererInterface.GraphicsApi.Direct3D12?10 +QtQuick.QSGRendererInterface.GraphicsApi.OpenVG?10 +QtQuick.QSGRendererInterface.GraphicsApi.OpenGLRhi?10 +QtQuick.QSGRendererInterface.GraphicsApi.Direct3D11Rhi?10 +QtQuick.QSGRendererInterface.GraphicsApi.VulkanRhi?10 +QtQuick.QSGRendererInterface.GraphicsApi.MetalRhi?10 +QtQuick.QSGRendererInterface.GraphicsApi.NullRhi?10 +QtQuick.QSGRendererInterface.graphicsApi?4() -> QSGRendererInterface.GraphicsApi +QtQuick.QSGRendererInterface.getResource?4(QQuickWindow, QSGRendererInterface.Resource) -> sip.voidptr +QtQuick.QSGRendererInterface.getResource?4(QQuickWindow, str) -> sip.voidptr +QtQuick.QSGRendererInterface.shaderType?4() -> QSGRendererInterface.ShaderType +QtQuick.QSGRendererInterface.shaderCompilationType?4() -> QSGRendererInterface.ShaderCompilationTypes +QtQuick.QSGRendererInterface.shaderSourceType?4() -> QSGRendererInterface.ShaderSourceTypes +QtQuick.QSGRendererInterface.isApiRhiBased?4(QSGRendererInterface.GraphicsApi) -> bool +QtQuick.QSGRendererInterface.ShaderCompilationTypes?1() +QtQuick.QSGRendererInterface.ShaderCompilationTypes.__init__?1(self) +QtQuick.QSGRendererInterface.ShaderCompilationTypes?1(int) +QtQuick.QSGRendererInterface.ShaderCompilationTypes.__init__?1(self, int) +QtQuick.QSGRendererInterface.ShaderCompilationTypes?1(QSGRendererInterface.ShaderCompilationTypes) +QtQuick.QSGRendererInterface.ShaderCompilationTypes.__init__?1(self, QSGRendererInterface.ShaderCompilationTypes) +QtQuick.QSGRendererInterface.ShaderSourceTypes?1() +QtQuick.QSGRendererInterface.ShaderSourceTypes.__init__?1(self) +QtQuick.QSGRendererInterface.ShaderSourceTypes?1(int) +QtQuick.QSGRendererInterface.ShaderSourceTypes.__init__?1(self, int) +QtQuick.QSGRendererInterface.ShaderSourceTypes?1(QSGRendererInterface.ShaderSourceTypes) +QtQuick.QSGRendererInterface.ShaderSourceTypes.__init__?1(self, QSGRendererInterface.ShaderSourceTypes) +QtQuick.QSGRenderNode.RenderingFlag?10 +QtQuick.QSGRenderNode.RenderingFlag.BoundedRectRendering?10 +QtQuick.QSGRenderNode.RenderingFlag.DepthAwareRendering?10 +QtQuick.QSGRenderNode.RenderingFlag.OpaqueRendering?10 +QtQuick.QSGRenderNode.StateFlag?10 +QtQuick.QSGRenderNode.StateFlag.DepthState?10 +QtQuick.QSGRenderNode.StateFlag.StencilState?10 +QtQuick.QSGRenderNode.StateFlag.ScissorState?10 +QtQuick.QSGRenderNode.StateFlag.ColorState?10 +QtQuick.QSGRenderNode.StateFlag.BlendState?10 +QtQuick.QSGRenderNode.StateFlag.CullState?10 +QtQuick.QSGRenderNode.StateFlag.ViewportState?10 +QtQuick.QSGRenderNode.StateFlag.RenderTargetState?10 +QtQuick.QSGRenderNode?1() +QtQuick.QSGRenderNode.__init__?1(self) +QtQuick.QSGRenderNode.changedStates?4() -> QSGRenderNode.StateFlags +QtQuick.QSGRenderNode.render?4(QSGRenderNode.RenderState) +QtQuick.QSGRenderNode.releaseResources?4() +QtQuick.QSGRenderNode.flags?4() -> QSGRenderNode.RenderingFlags +QtQuick.QSGRenderNode.rect?4() -> QRectF +QtQuick.QSGRenderNode.matrix?4() -> QMatrix4x4 +QtQuick.QSGRenderNode.clipList?4() -> QSGClipNode +QtQuick.QSGRenderNode.inheritedOpacity?4() -> float +QtQuick.QSGRenderNode.StateFlags?1() +QtQuick.QSGRenderNode.StateFlags.__init__?1(self) +QtQuick.QSGRenderNode.StateFlags?1(int) +QtQuick.QSGRenderNode.StateFlags.__init__?1(self, int) +QtQuick.QSGRenderNode.StateFlags?1(QSGRenderNode.StateFlags) +QtQuick.QSGRenderNode.StateFlags.__init__?1(self, QSGRenderNode.StateFlags) +QtQuick.QSGRenderNode.RenderingFlags?1() +QtQuick.QSGRenderNode.RenderingFlags.__init__?1(self) +QtQuick.QSGRenderNode.RenderingFlags?1(int) +QtQuick.QSGRenderNode.RenderingFlags.__init__?1(self, int) +QtQuick.QSGRenderNode.RenderingFlags?1(QSGRenderNode.RenderingFlags) +QtQuick.QSGRenderNode.RenderingFlags.__init__?1(self, QSGRenderNode.RenderingFlags) +QtQuick.QSGRenderNode.RenderState.projectionMatrix?4() -> QMatrix4x4 +QtQuick.QSGRenderNode.RenderState.scissorRect?4() -> QRect +QtQuick.QSGRenderNode.RenderState.scissorEnabled?4() -> bool +QtQuick.QSGRenderNode.RenderState.stencilValue?4() -> int +QtQuick.QSGRenderNode.RenderState.stencilEnabled?4() -> bool +QtQuick.QSGRenderNode.RenderState.clipRegion?4() -> QRegion +QtQuick.QSGRenderNode.RenderState.get?4(str) -> sip.voidptr +QtQuick.QSGSimpleRectNode?1(QRectF, QColor) +QtQuick.QSGSimpleRectNode.__init__?1(self, QRectF, QColor) +QtQuick.QSGSimpleRectNode?1() +QtQuick.QSGSimpleRectNode.__init__?1(self) +QtQuick.QSGSimpleRectNode.setRect?4(QRectF) +QtQuick.QSGSimpleRectNode.setRect?4(float, float, float, float) +QtQuick.QSGSimpleRectNode.rect?4() -> QRectF +QtQuick.QSGSimpleRectNode.setColor?4(QColor) +QtQuick.QSGSimpleRectNode.color?4() -> QColor +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformFlag?10 +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformFlag.NoTransform?10 +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformFlag.MirrorHorizontally?10 +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformFlag.MirrorVertically?10 +QtQuick.QSGSimpleTextureNode?1() +QtQuick.QSGSimpleTextureNode.__init__?1(self) +QtQuick.QSGSimpleTextureNode.setRect?4(QRectF) +QtQuick.QSGSimpleTextureNode.setRect?4(float, float, float, float) +QtQuick.QSGSimpleTextureNode.rect?4() -> QRectF +QtQuick.QSGSimpleTextureNode.setTexture?4(QSGTexture) +QtQuick.QSGSimpleTextureNode.texture?4() -> QSGTexture +QtQuick.QSGSimpleTextureNode.setFiltering?4(QSGTexture.Filtering) +QtQuick.QSGSimpleTextureNode.filtering?4() -> QSGTexture.Filtering +QtQuick.QSGSimpleTextureNode.setTextureCoordinatesTransform?4(QSGSimpleTextureNode.TextureCoordinatesTransformMode) +QtQuick.QSGSimpleTextureNode.textureCoordinatesTransform?4() -> QSGSimpleTextureNode.TextureCoordinatesTransformMode +QtQuick.QSGSimpleTextureNode.setOwnsTexture?4(bool) +QtQuick.QSGSimpleTextureNode.ownsTexture?4() -> bool +QtQuick.QSGSimpleTextureNode.setSourceRect?4(QRectF) +QtQuick.QSGSimpleTextureNode.setSourceRect?4(float, float, float, float) +QtQuick.QSGSimpleTextureNode.sourceRect?4() -> QRectF +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformMode?1() +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformMode.__init__?1(self) +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformMode?1(int) +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformMode.__init__?1(self, int) +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformMode?1(QSGSimpleTextureNode.TextureCoordinatesTransformMode) +QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformMode.__init__?1(self, QSGSimpleTextureNode.TextureCoordinatesTransformMode) +QtQuick.QSGTexture.AnisotropyLevel?10 +QtQuick.QSGTexture.AnisotropyLevel.AnisotropyNone?10 +QtQuick.QSGTexture.AnisotropyLevel.Anisotropy2x?10 +QtQuick.QSGTexture.AnisotropyLevel.Anisotropy4x?10 +QtQuick.QSGTexture.AnisotropyLevel.Anisotropy8x?10 +QtQuick.QSGTexture.AnisotropyLevel.Anisotropy16x?10 +QtQuick.QSGTexture.Filtering?10 +QtQuick.QSGTexture.Filtering.None_?10 +QtQuick.QSGTexture.Filtering.Nearest?10 +QtQuick.QSGTexture.Filtering.Linear?10 +QtQuick.QSGTexture.WrapMode?10 +QtQuick.QSGTexture.WrapMode.Repeat?10 +QtQuick.QSGTexture.WrapMode.ClampToEdge?10 +QtQuick.QSGTexture.WrapMode.MirroredRepeat?10 +QtQuick.QSGTexture?1() +QtQuick.QSGTexture.__init__?1(self) +QtQuick.QSGTexture.textureId?4() -> int +QtQuick.QSGTexture.textureSize?4() -> QSize +QtQuick.QSGTexture.hasAlphaChannel?4() -> bool +QtQuick.QSGTexture.hasMipmaps?4() -> bool +QtQuick.QSGTexture.normalizedTextureSubRect?4() -> QRectF +QtQuick.QSGTexture.isAtlasTexture?4() -> bool +QtQuick.QSGTexture.removedFromAtlas?4() -> QSGTexture +QtQuick.QSGTexture.bind?4() +QtQuick.QSGTexture.updateBindOptions?4(bool force=False) +QtQuick.QSGTexture.setMipmapFiltering?4(QSGTexture.Filtering) +QtQuick.QSGTexture.mipmapFiltering?4() -> QSGTexture.Filtering +QtQuick.QSGTexture.setFiltering?4(QSGTexture.Filtering) +QtQuick.QSGTexture.filtering?4() -> QSGTexture.Filtering +QtQuick.QSGTexture.setHorizontalWrapMode?4(QSGTexture.WrapMode) +QtQuick.QSGTexture.horizontalWrapMode?4() -> QSGTexture.WrapMode +QtQuick.QSGTexture.setVerticalWrapMode?4(QSGTexture.WrapMode) +QtQuick.QSGTexture.verticalWrapMode?4() -> QSGTexture.WrapMode +QtQuick.QSGTexture.convertToNormalizedSourceRect?4(QRectF) -> QRectF +QtQuick.QSGTexture.setAnisotropyLevel?4(QSGTexture.AnisotropyLevel) +QtQuick.QSGTexture.anisotropyLevel?4() -> QSGTexture.AnisotropyLevel +QtQuick.QSGTexture.comparisonKey?4() -> int +QtQuick.QSGTexture.nativeTexture?4() -> QSGTexture.NativeTexture +QtQuick.QSGTexture.NativeTexture.layout?7 +QtQuick.QSGTexture.NativeTexture.object?7 +QtQuick.QSGTexture.NativeTexture?1() +QtQuick.QSGTexture.NativeTexture.__init__?1(self) +QtQuick.QSGTexture.NativeTexture?1(QSGTexture.NativeTexture) +QtQuick.QSGTexture.NativeTexture.__init__?1(self, QSGTexture.NativeTexture) +QtQuick.QSGDynamicTexture?1() +QtQuick.QSGDynamicTexture.__init__?1(self) +QtQuick.QSGDynamicTexture.updateTexture?4() -> bool +QtQuick.QSGOpaqueTextureMaterial?1() +QtQuick.QSGOpaqueTextureMaterial.__init__?1(self) +QtQuick.QSGOpaqueTextureMaterial.type?4() -> QSGMaterialType +QtQuick.QSGOpaqueTextureMaterial.createShader?4() -> QSGMaterialShader +QtQuick.QSGOpaqueTextureMaterial.compare?4(QSGMaterial) -> int +QtQuick.QSGOpaqueTextureMaterial.setTexture?4(QSGTexture) +QtQuick.QSGOpaqueTextureMaterial.texture?4() -> QSGTexture +QtQuick.QSGOpaqueTextureMaterial.setMipmapFiltering?4(QSGTexture.Filtering) +QtQuick.QSGOpaqueTextureMaterial.mipmapFiltering?4() -> QSGTexture.Filtering +QtQuick.QSGOpaqueTextureMaterial.setFiltering?4(QSGTexture.Filtering) +QtQuick.QSGOpaqueTextureMaterial.filtering?4() -> QSGTexture.Filtering +QtQuick.QSGOpaqueTextureMaterial.setHorizontalWrapMode?4(QSGTexture.WrapMode) +QtQuick.QSGOpaqueTextureMaterial.horizontalWrapMode?4() -> QSGTexture.WrapMode +QtQuick.QSGOpaqueTextureMaterial.setVerticalWrapMode?4(QSGTexture.WrapMode) +QtQuick.QSGOpaqueTextureMaterial.verticalWrapMode?4() -> QSGTexture.WrapMode +QtQuick.QSGOpaqueTextureMaterial.setAnisotropyLevel?4(QSGTexture.AnisotropyLevel) +QtQuick.QSGOpaqueTextureMaterial.anisotropyLevel?4() -> QSGTexture.AnisotropyLevel +QtQuick.QSGTextureMaterial?1() +QtQuick.QSGTextureMaterial.__init__?1(self) +QtQuick.QSGTextureMaterial.type?4() -> QSGMaterialType +QtQuick.QSGTextureMaterial.createShader?4() -> QSGMaterialShader +QtQuick.QSGTextureProvider?1() +QtQuick.QSGTextureProvider.__init__?1(self) +QtQuick.QSGTextureProvider.texture?4() -> QSGTexture +QtQuick.QSGTextureProvider.textureChanged?4() +QtQuick.QSGVertexColorMaterial?1() +QtQuick.QSGVertexColorMaterial.__init__?1(self) +QtQuick.QSGVertexColorMaterial.compare?4(QSGMaterial) -> int +QtQuick.QSGVertexColorMaterial.type?4() -> QSGMaterialType +QtQuick.QSGVertexColorMaterial.createShader?4() -> QSGMaterialShader +QtQuick3D.QQuick3D?1() +QtQuick3D.QQuick3D.__init__?1(self) +QtQuick3D.QQuick3D?1(QQuick3D) +QtQuick3D.QQuick3D.__init__?1(self, QQuick3D) +QtQuick3D.QQuick3D.idealSurfaceFormat?4(int samples=-1) -> QSurfaceFormat +QtQuick3D.QQuick3DObject?1(QQuick3DObject parent=None) +QtQuick3D.QQuick3DObject.__init__?1(self, QQuick3DObject parent=None) +QtQuick3D.QQuick3DObject.state?4() -> QString +QtQuick3D.QQuick3DObject.setState?4(QString) +QtQuick3D.QQuick3DObject.parentItem?4() -> QQuick3DObject +QtQuick3D.QQuick3DObject.setParentItem?4(QQuick3DObject) +QtQuick3D.QQuick3DObject.stateChanged?4() +QtQuick3D.QQuick3DObject.classBegin?4() +QtQuick3D.QQuick3DObject.componentComplete?4() +QtQuick3D.QQuick3DGeometry.PrimitiveType?10 +QtQuick3D.QQuick3DGeometry.PrimitiveType.Unknown?10 +QtQuick3D.QQuick3DGeometry.PrimitiveType.Points?10 +QtQuick3D.QQuick3DGeometry.PrimitiveType.LineStrip?10 +QtQuick3D.QQuick3DGeometry.PrimitiveType.Lines?10 +QtQuick3D.QQuick3DGeometry.PrimitiveType.TriangleStrip?10 +QtQuick3D.QQuick3DGeometry.PrimitiveType.TriangleFan?10 +QtQuick3D.QQuick3DGeometry.PrimitiveType.Triangles?10 +QtQuick3D.QQuick3DGeometry?1(QQuick3DObject parent=None) +QtQuick3D.QQuick3DGeometry.__init__?1(self, QQuick3DObject parent=None) +QtQuick3D.QQuick3DGeometry.name?4() -> QString +QtQuick3D.QQuick3DGeometry.vertexBuffer?4() -> QByteArray +QtQuick3D.QQuick3DGeometry.indexBuffer?4() -> QByteArray +QtQuick3D.QQuick3DGeometry.attributeCount?4() -> int +QtQuick3D.QQuick3DGeometry.attribute?4(int) -> QQuick3DGeometry.Attribute +QtQuick3D.QQuick3DGeometry.primitiveType?4() -> QQuick3DGeometry.PrimitiveType +QtQuick3D.QQuick3DGeometry.boundsMin?4() -> QVector3D +QtQuick3D.QQuick3DGeometry.boundsMax?4() -> QVector3D +QtQuick3D.QQuick3DGeometry.stride?4() -> int +QtQuick3D.QQuick3DGeometry.setVertexData?4(QByteArray) +QtQuick3D.QQuick3DGeometry.setIndexData?4(QByteArray) +QtQuick3D.QQuick3DGeometry.setStride?4(int) +QtQuick3D.QQuick3DGeometry.setBounds?4(QVector3D, QVector3D) +QtQuick3D.QQuick3DGeometry.setPrimitiveType?4(QQuick3DGeometry.PrimitiveType) +QtQuick3D.QQuick3DGeometry.addAttribute?4(QQuick3DGeometry.Attribute.Semantic, int, QQuick3DGeometry.Attribute.ComponentType) +QtQuick3D.QQuick3DGeometry.addAttribute?4(QQuick3DGeometry.Attribute) +QtQuick3D.QQuick3DGeometry.clear?4() +QtQuick3D.QQuick3DGeometry.setName?4(QString) +QtQuick3D.QQuick3DGeometry.nameChanged?4() +QtQuick3D.QQuick3DGeometry.Attribute.ComponentType?10 +QtQuick3D.QQuick3DGeometry.Attribute.ComponentType.DefaultType?10 +QtQuick3D.QQuick3DGeometry.Attribute.ComponentType.U16Type?10 +QtQuick3D.QQuick3DGeometry.Attribute.ComponentType.U32Type?10 +QtQuick3D.QQuick3DGeometry.Attribute.ComponentType.F32Type?10 +QtQuick3D.QQuick3DGeometry.Attribute.Semantic?10 +QtQuick3D.QQuick3DGeometry.Attribute.Semantic.UnknownSemantic?10 +QtQuick3D.QQuick3DGeometry.Attribute.Semantic.IndexSemantic?10 +QtQuick3D.QQuick3DGeometry.Attribute.Semantic.PositionSemantic?10 +QtQuick3D.QQuick3DGeometry.Attribute.Semantic.NormalSemantic?10 +QtQuick3D.QQuick3DGeometry.Attribute.Semantic.TexCoordSemantic?10 +QtQuick3D.QQuick3DGeometry.Attribute.Semantic.TangentSemantic?10 +QtQuick3D.QQuick3DGeometry.Attribute.Semantic.BinormalSemantic?10 +QtQuick3D.QQuick3DGeometry.Attribute.componentType?7 +QtQuick3D.QQuick3DGeometry.Attribute.offset?7 +QtQuick3D.QQuick3DGeometry.Attribute.semantic?7 +QtQuick3D.QQuick3DGeometry.Attribute?1() +QtQuick3D.QQuick3DGeometry.Attribute.__init__?1(self) +QtQuick3D.QQuick3DGeometry.Attribute?1(QQuick3DGeometry.Attribute) +QtQuick3D.QQuick3DGeometry.Attribute.__init__?1(self, QQuick3DGeometry.Attribute) +QtQuickWidgets.QQuickWidget.Status?10 +QtQuickWidgets.QQuickWidget.Status.Null?10 +QtQuickWidgets.QQuickWidget.Status.Ready?10 +QtQuickWidgets.QQuickWidget.Status.Loading?10 +QtQuickWidgets.QQuickWidget.Status.Error?10 +QtQuickWidgets.QQuickWidget.ResizeMode?10 +QtQuickWidgets.QQuickWidget.ResizeMode.SizeViewToRootObject?10 +QtQuickWidgets.QQuickWidget.ResizeMode.SizeRootObjectToView?10 +QtQuickWidgets.QQuickWidget?1(QWidget parent=None) +QtQuickWidgets.QQuickWidget.__init__?1(self, QWidget parent=None) +QtQuickWidgets.QQuickWidget?1(QQmlEngine, QWidget) +QtQuickWidgets.QQuickWidget.__init__?1(self, QQmlEngine, QWidget) +QtQuickWidgets.QQuickWidget?1(QUrl, QWidget parent=None) +QtQuickWidgets.QQuickWidget.__init__?1(self, QUrl, QWidget parent=None) +QtQuickWidgets.QQuickWidget.source?4() -> QUrl +QtQuickWidgets.QQuickWidget.engine?4() -> QQmlEngine +QtQuickWidgets.QQuickWidget.rootContext?4() -> QQmlContext +QtQuickWidgets.QQuickWidget.rootObject?4() -> QQuickItem +QtQuickWidgets.QQuickWidget.resizeMode?4() -> QQuickWidget.ResizeMode +QtQuickWidgets.QQuickWidget.setResizeMode?4(QQuickWidget.ResizeMode) +QtQuickWidgets.QQuickWidget.status?4() -> QQuickWidget.Status +QtQuickWidgets.QQuickWidget.errors?4() -> unknown-type +QtQuickWidgets.QQuickWidget.sizeHint?4() -> QSize +QtQuickWidgets.QQuickWidget.initialSize?4() -> QSize +QtQuickWidgets.QQuickWidget.setFormat?4(QSurfaceFormat) +QtQuickWidgets.QQuickWidget.format?4() -> QSurfaceFormat +QtQuickWidgets.QQuickWidget.setSource?4(QUrl) +QtQuickWidgets.QQuickWidget.statusChanged?4(QQuickWidget.Status) +QtQuickWidgets.QQuickWidget.sceneGraphError?4(QQuickWindow.SceneGraphError, QString) +QtQuickWidgets.QQuickWidget.resizeEvent?4(QResizeEvent) +QtQuickWidgets.QQuickWidget.timerEvent?4(QTimerEvent) +QtQuickWidgets.QQuickWidget.keyPressEvent?4(QKeyEvent) +QtQuickWidgets.QQuickWidget.keyReleaseEvent?4(QKeyEvent) +QtQuickWidgets.QQuickWidget.mousePressEvent?4(QMouseEvent) +QtQuickWidgets.QQuickWidget.mouseReleaseEvent?4(QMouseEvent) +QtQuickWidgets.QQuickWidget.mouseMoveEvent?4(QMouseEvent) +QtQuickWidgets.QQuickWidget.mouseDoubleClickEvent?4(QMouseEvent) +QtQuickWidgets.QQuickWidget.showEvent?4(QShowEvent) +QtQuickWidgets.QQuickWidget.hideEvent?4(QHideEvent) +QtQuickWidgets.QQuickWidget.wheelEvent?4(QWheelEvent) +QtQuickWidgets.QQuickWidget.event?4(QEvent) -> bool +QtQuickWidgets.QQuickWidget.focusInEvent?4(QFocusEvent) +QtQuickWidgets.QQuickWidget.focusOutEvent?4(QFocusEvent) +QtQuickWidgets.QQuickWidget.dragEnterEvent?4(QDragEnterEvent) +QtQuickWidgets.QQuickWidget.dragMoveEvent?4(QDragMoveEvent) +QtQuickWidgets.QQuickWidget.dragLeaveEvent?4(QDragLeaveEvent) +QtQuickWidgets.QQuickWidget.dropEvent?4(QDropEvent) +QtQuickWidgets.QQuickWidget.paintEvent?4(QPaintEvent) +QtQuickWidgets.QQuickWidget.grabFramebuffer?4() -> QImage +QtQuickWidgets.QQuickWidget.setClearColor?4(QColor) +QtQuickWidgets.QQuickWidget.quickWindow?4() -> QQuickWindow +QtQuickWidgets.QQuickWidget.focusNextPrevChild?4(bool) -> bool +QtRemoteObjects.QAbstractItemModelReplica.selectionModel?4() -> QItemSelectionModel +QtRemoteObjects.QAbstractItemModelReplica.data?4(QModelIndex, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtRemoteObjects.QAbstractItemModelReplica.setData?4(QModelIndex, QVariant, int role=Qt.ItemDataRole.EditRole) -> bool +QtRemoteObjects.QAbstractItemModelReplica.parent?4(QModelIndex) -> QModelIndex +QtRemoteObjects.QAbstractItemModelReplica.index?4(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex +QtRemoteObjects.QAbstractItemModelReplica.hasChildren?4(QModelIndex parent=QModelIndex()) -> bool +QtRemoteObjects.QAbstractItemModelReplica.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtRemoteObjects.QAbstractItemModelReplica.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtRemoteObjects.QAbstractItemModelReplica.headerData?4(int, Qt.Orientation, int) -> QVariant +QtRemoteObjects.QAbstractItemModelReplica.flags?4(QModelIndex) -> Qt.ItemFlags +QtRemoteObjects.QAbstractItemModelReplica.availableRoles?4() -> unknown-type +QtRemoteObjects.QAbstractItemModelReplica.roleNames?4() -> unknown-type +QtRemoteObjects.QAbstractItemModelReplica.isInitialized?4() -> bool +QtRemoteObjects.QAbstractItemModelReplica.hasData?4(QModelIndex, int) -> bool +QtRemoteObjects.QAbstractItemModelReplica.rootCacheSize?4() -> int +QtRemoteObjects.QAbstractItemModelReplica.setRootCacheSize?4(int) +QtRemoteObjects.QAbstractItemModelReplica.initialized?4() +QtRemoteObjects.QRemoteObjectReplica.State?10 +QtRemoteObjects.QRemoteObjectReplica.State.Uninitialized?10 +QtRemoteObjects.QRemoteObjectReplica.State.Default?10 +QtRemoteObjects.QRemoteObjectReplica.State.Valid?10 +QtRemoteObjects.QRemoteObjectReplica.State.Suspect?10 +QtRemoteObjects.QRemoteObjectReplica.State.SignatureMismatch?10 +QtRemoteObjects.QRemoteObjectReplica.isReplicaValid?4() -> bool +QtRemoteObjects.QRemoteObjectReplica.waitForSource?4(int timeout=30000) -> bool +QtRemoteObjects.QRemoteObjectReplica.isInitialized?4() -> bool +QtRemoteObjects.QRemoteObjectReplica.state?4() -> QRemoteObjectReplica.State +QtRemoteObjects.QRemoteObjectReplica.node?4() -> QRemoteObjectNode +QtRemoteObjects.QRemoteObjectReplica.setNode?4(QRemoteObjectNode) +QtRemoteObjects.QRemoteObjectReplica.initialized?4() +QtRemoteObjects.QRemoteObjectReplica.stateChanged?4(QRemoteObjectReplica.State, QRemoteObjectReplica.State) +QtRemoteObjects.QRemoteObjectReplica.notified?4() +QtRemoteObjects.QRemoteObjectAbstractPersistedStore?1(QObject parent=None) +QtRemoteObjects.QRemoteObjectAbstractPersistedStore.__init__?1(self, QObject parent=None) +QtRemoteObjects.QRemoteObjectAbstractPersistedStore.saveProperties?4(QString, QByteArray, unknown-type) +QtRemoteObjects.QRemoteObjectAbstractPersistedStore.restoreProperties?4(QString, QByteArray) -> unknown-type +QtRemoteObjects.QRemoteObjectNode.ErrorCode?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.NoError?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.RegistryNotAcquired?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.RegistryAlreadyHosted?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.NodeIsNoServer?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.ServerAlreadyCreated?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.UnintendedRegistryHosting?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.OperationNotValidOnClientNode?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.SourceNotRegistered?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.MissingObjectName?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.HostUrlInvalid?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.ProtocolMismatch?10 +QtRemoteObjects.QRemoteObjectNode.ErrorCode.ListenFailed?10 +QtRemoteObjects.QRemoteObjectNode?1(QObject parent=None) +QtRemoteObjects.QRemoteObjectNode.__init__?1(self, QObject parent=None) +QtRemoteObjects.QRemoteObjectNode?1(QUrl, QObject parent=None) +QtRemoteObjects.QRemoteObjectNode.__init__?1(self, QUrl, QObject parent=None) +QtRemoteObjects.QRemoteObjectNode.connectToNode?4(QUrl) -> bool +QtRemoteObjects.QRemoteObjectNode.addClientSideConnection?4(QIODevice) +QtRemoteObjects.QRemoteObjectNode.setName?4(QString) +QtRemoteObjects.QRemoteObjectNode.instances?4(QString) -> QStringList +QtRemoteObjects.QRemoteObjectNode.acquireDynamic?4(QString) -> QRemoteObjectDynamicReplica +QtRemoteObjects.QRemoteObjectNode.acquireModel?4(QString, QtRemoteObjects.InitialAction action=QtRemoteObjects.FetchRootSize, unknown-type rolesHint=[]) -> QAbstractItemModelReplica +QtRemoteObjects.QRemoteObjectNode.registryUrl?4() -> QUrl +QtRemoteObjects.QRemoteObjectNode.setRegistryUrl?4(QUrl) -> bool +QtRemoteObjects.QRemoteObjectNode.waitForRegistry?4(int timeout=30000) -> bool +QtRemoteObjects.QRemoteObjectNode.registry?4() -> QRemoteObjectRegistry +QtRemoteObjects.QRemoteObjectNode.persistedStore?4() -> QRemoteObjectAbstractPersistedStore +QtRemoteObjects.QRemoteObjectNode.setPersistedStore?4(QRemoteObjectAbstractPersistedStore) +QtRemoteObjects.QRemoteObjectNode.lastError?4() -> QRemoteObjectNode.ErrorCode +QtRemoteObjects.QRemoteObjectNode.heartbeatInterval?4() -> int +QtRemoteObjects.QRemoteObjectNode.setHeartbeatInterval?4(int) +QtRemoteObjects.QRemoteObjectNode.remoteObjectAdded?4(unknown-type) +QtRemoteObjects.QRemoteObjectNode.remoteObjectRemoved?4(unknown-type) +QtRemoteObjects.QRemoteObjectNode.error?4(QRemoteObjectNode.ErrorCode) +QtRemoteObjects.QRemoteObjectNode.heartbeatIntervalChanged?4(int) +QtRemoteObjects.QRemoteObjectNode.timerEvent?4(QTimerEvent) +QtRemoteObjects.QRemoteObjectHostBase.AllowedSchemas?10 +QtRemoteObjects.QRemoteObjectHostBase.AllowedSchemas.BuiltInSchemasOnly?10 +QtRemoteObjects.QRemoteObjectHostBase.AllowedSchemas.AllowExternalRegistration?10 +QtRemoteObjects.QRemoteObjectHostBase.setName?4(QString) +QtRemoteObjects.QRemoteObjectHostBase.enableRemoting?4(QObject, QString name='') -> bool +QtRemoteObjects.QRemoteObjectHostBase.enableRemoting?4(QAbstractItemModel, QString, unknown-type, QItemSelectionModel selectionModel=None) -> bool +QtRemoteObjects.QRemoteObjectHostBase.disableRemoting?4(QObject) -> bool +QtRemoteObjects.QRemoteObjectHostBase.addHostSideConnection?4(QIODevice) +QtRemoteObjects.QRemoteObjectHostBase.proxy?4(QUrl, QUrl hostUrl=QUrl()) -> bool +QtRemoteObjects.QRemoteObjectHostBase.reverseProxy?4() -> bool +QtRemoteObjects.QRemoteObjectHost?1(QObject parent=None) +QtRemoteObjects.QRemoteObjectHost.__init__?1(self, QObject parent=None) +QtRemoteObjects.QRemoteObjectHost?1(QUrl, QUrl registryAddress=QUrl(), QRemoteObjectHostBase.AllowedSchemas allowedSchemas=QRemoteObjectHostBase.BuiltInSchemasOnly, QObject parent=None) +QtRemoteObjects.QRemoteObjectHost.__init__?1(self, QUrl, QUrl registryAddress=QUrl(), QRemoteObjectHostBase.AllowedSchemas allowedSchemas=QRemoteObjectHostBase.BuiltInSchemasOnly, QObject parent=None) +QtRemoteObjects.QRemoteObjectHost?1(QUrl, QObject) +QtRemoteObjects.QRemoteObjectHost.__init__?1(self, QUrl, QObject) +QtRemoteObjects.QRemoteObjectHost.hostUrl?4() -> QUrl +QtRemoteObjects.QRemoteObjectHost.setHostUrl?4(QUrl, QRemoteObjectHostBase.AllowedSchemas allowedSchemas=QRemoteObjectHostBase.BuiltInSchemasOnly) -> bool +QtRemoteObjects.QRemoteObjectHost.hostUrlChanged?4() +QtRemoteObjects.QRemoteObjectRegistryHost?1(QUrl registryAddress=QUrl(), QObject parent=None) +QtRemoteObjects.QRemoteObjectRegistryHost.__init__?1(self, QUrl registryAddress=QUrl(), QObject parent=None) +QtRemoteObjects.QRemoteObjectRegistryHost.setRegistryUrl?4(QUrl) -> bool +QtRemoteObjects.QRemoteObjectRegistry.sourceLocations?4() -> unknown-type +QtRemoteObjects.QRemoteObjectRegistry.remoteObjectAdded?4(unknown-type) +QtRemoteObjects.QRemoteObjectRegistry.remoteObjectRemoved?4(unknown-type) +QtRemoteObjects.QRemoteObjectSourceLocationInfo.hostUrl?7 +QtRemoteObjects.QRemoteObjectSourceLocationInfo.typeName?7 +QtRemoteObjects.QRemoteObjectSourceLocationInfo?1() +QtRemoteObjects.QRemoteObjectSourceLocationInfo.__init__?1(self) +QtRemoteObjects.QRemoteObjectSourceLocationInfo?1(QString, QUrl) +QtRemoteObjects.QRemoteObjectSourceLocationInfo.__init__?1(self, QString, QUrl) +QtRemoteObjects.QRemoteObjectSourceLocationInfo?1(QRemoteObjectSourceLocationInfo) +QtRemoteObjects.QRemoteObjectSourceLocationInfo.__init__?1(self, QRemoteObjectSourceLocationInfo) +QtRemoteObjects.QtRemoteObjects.InitialAction?10 +QtRemoteObjects.QtRemoteObjects.InitialAction.FetchRootSize?10 +QtRemoteObjects.QtRemoteObjects.InitialAction.PrefetchData?10 +QtSensors.QSensorReading.timestamp?4() -> int +QtSensors.QSensorReading.setTimestamp?4(int) +QtSensors.QSensorReading.valueCount?4() -> int +QtSensors.QSensorReading.value?4(int) -> QVariant +QtSensors.QAccelerometerReading.x?4() -> float +QtSensors.QAccelerometerReading.setX?4(float) +QtSensors.QAccelerometerReading.y?4() -> float +QtSensors.QAccelerometerReading.setY?4(float) +QtSensors.QAccelerometerReading.z?4() -> float +QtSensors.QAccelerometerReading.setZ?4(float) +QtSensors.QSensorFilter?1() +QtSensors.QSensorFilter.__init__?1(self) +QtSensors.QSensorFilter?1(QSensorFilter) +QtSensors.QSensorFilter.__init__?1(self, QSensorFilter) +QtSensors.QSensorFilter.filter?4(QSensorReading) -> bool +QtSensors.QAccelerometerFilter?1() +QtSensors.QAccelerometerFilter.__init__?1(self) +QtSensors.QAccelerometerFilter?1(QAccelerometerFilter) +QtSensors.QAccelerometerFilter.__init__?1(self, QAccelerometerFilter) +QtSensors.QAccelerometerFilter.filter?4(QAccelerometerReading) -> bool +QtSensors.QSensor.AxesOrientationMode?10 +QtSensors.QSensor.AxesOrientationMode.FixedOrientation?10 +QtSensors.QSensor.AxesOrientationMode.AutomaticOrientation?10 +QtSensors.QSensor.AxesOrientationMode.UserOrientation?10 +QtSensors.QSensor.Feature?10 +QtSensors.QSensor.Feature.Buffering?10 +QtSensors.QSensor.Feature.AlwaysOn?10 +QtSensors.QSensor.Feature.GeoValues?10 +QtSensors.QSensor.Feature.FieldOfView?10 +QtSensors.QSensor.Feature.AccelerationMode?10 +QtSensors.QSensor.Feature.SkipDuplicates?10 +QtSensors.QSensor.Feature.AxesOrientation?10 +QtSensors.QSensor.Feature.PressureSensorTemperature?10 +QtSensors.QSensor?1(QByteArray, QObject parent=None) +QtSensors.QSensor.__init__?1(self, QByteArray, QObject parent=None) +QtSensors.QSensor.identifier?4() -> QByteArray +QtSensors.QSensor.setIdentifier?4(QByteArray) +QtSensors.QSensor.type?4() -> QByteArray +QtSensors.QSensor.connectToBackend?4() -> bool +QtSensors.QSensor.isConnectedToBackend?4() -> bool +QtSensors.QSensor.isBusy?4() -> bool +QtSensors.QSensor.setActive?4(bool) +QtSensors.QSensor.isActive?4() -> bool +QtSensors.QSensor.isAlwaysOn?4() -> bool +QtSensors.QSensor.setAlwaysOn?4(bool) +QtSensors.QSensor.skipDuplicates?4() -> bool +QtSensors.QSensor.setSkipDuplicates?4(bool) +QtSensors.QSensor.availableDataRates?4() -> unknown-type +QtSensors.QSensor.dataRate?4() -> int +QtSensors.QSensor.setDataRate?4(int) +QtSensors.QSensor.outputRanges?4() -> unknown-type +QtSensors.QSensor.outputRange?4() -> int +QtSensors.QSensor.setOutputRange?4(int) +QtSensors.QSensor.description?4() -> QString +QtSensors.QSensor.error?4() -> int +QtSensors.QSensor.addFilter?4(QSensorFilter) +QtSensors.QSensor.removeFilter?4(QSensorFilter) +QtSensors.QSensor.filters?4() -> unknown-type +QtSensors.QSensor.reading?4() -> QSensorReading +QtSensors.QSensor.sensorTypes?4() -> unknown-type +QtSensors.QSensor.sensorsForType?4(QByteArray) -> unknown-type +QtSensors.QSensor.defaultSensorForType?4(QByteArray) -> QByteArray +QtSensors.QSensor.isFeatureSupported?4(QSensor.Feature) -> bool +QtSensors.QSensor.axesOrientationMode?4() -> QSensor.AxesOrientationMode +QtSensors.QSensor.setAxesOrientationMode?4(QSensor.AxesOrientationMode) +QtSensors.QSensor.currentOrientation?4() -> int +QtSensors.QSensor.setCurrentOrientation?4(int) +QtSensors.QSensor.userOrientation?4() -> int +QtSensors.QSensor.setUserOrientation?4(int) +QtSensors.QSensor.maxBufferSize?4() -> int +QtSensors.QSensor.setMaxBufferSize?4(int) +QtSensors.QSensor.efficientBufferSize?4() -> int +QtSensors.QSensor.setEfficientBufferSize?4(int) +QtSensors.QSensor.bufferSize?4() -> int +QtSensors.QSensor.setBufferSize?4(int) +QtSensors.QSensor.start?4() -> bool +QtSensors.QSensor.stop?4() +QtSensors.QSensor.busyChanged?4() +QtSensors.QSensor.activeChanged?4() +QtSensors.QSensor.readingChanged?4() +QtSensors.QSensor.sensorError?4(int) +QtSensors.QSensor.availableSensorsChanged?4() +QtSensors.QSensor.alwaysOnChanged?4() +QtSensors.QSensor.dataRateChanged?4() +QtSensors.QSensor.skipDuplicatesChanged?4(bool) +QtSensors.QSensor.axesOrientationModeChanged?4(QSensor.AxesOrientationMode) +QtSensors.QSensor.currentOrientationChanged?4(int) +QtSensors.QSensor.userOrientationChanged?4(int) +QtSensors.QSensor.maxBufferSizeChanged?4(int) +QtSensors.QSensor.efficientBufferSizeChanged?4(int) +QtSensors.QSensor.bufferSizeChanged?4(int) +QtSensors.QAccelerometer.AccelerationMode?10 +QtSensors.QAccelerometer.AccelerationMode.Combined?10 +QtSensors.QAccelerometer.AccelerationMode.Gravity?10 +QtSensors.QAccelerometer.AccelerationMode.User?10 +QtSensors.QAccelerometer?1(QObject parent=None) +QtSensors.QAccelerometer.__init__?1(self, QObject parent=None) +QtSensors.QAccelerometer.accelerationMode?4() -> QAccelerometer.AccelerationMode +QtSensors.QAccelerometer.setAccelerationMode?4(QAccelerometer.AccelerationMode) +QtSensors.QAccelerometer.reading?4() -> QAccelerometerReading +QtSensors.QAccelerometer.accelerationModeChanged?4(QAccelerometer.AccelerationMode) +QtSensors.QAltimeterReading.altitude?4() -> float +QtSensors.QAltimeterReading.setAltitude?4(float) +QtSensors.QAltimeterFilter?1() +QtSensors.QAltimeterFilter.__init__?1(self) +QtSensors.QAltimeterFilter?1(QAltimeterFilter) +QtSensors.QAltimeterFilter.__init__?1(self, QAltimeterFilter) +QtSensors.QAltimeterFilter.filter?4(QAltimeterReading) -> bool +QtSensors.QAltimeter?1(QObject parent=None) +QtSensors.QAltimeter.__init__?1(self, QObject parent=None) +QtSensors.QAltimeter.reading?4() -> QAltimeterReading +QtSensors.QAmbientLightReading.LightLevel?10 +QtSensors.QAmbientLightReading.LightLevel.Undefined?10 +QtSensors.QAmbientLightReading.LightLevel.Dark?10 +QtSensors.QAmbientLightReading.LightLevel.Twilight?10 +QtSensors.QAmbientLightReading.LightLevel.Light?10 +QtSensors.QAmbientLightReading.LightLevel.Bright?10 +QtSensors.QAmbientLightReading.LightLevel.Sunny?10 +QtSensors.QAmbientLightReading.lightLevel?4() -> QAmbientLightReading.LightLevel +QtSensors.QAmbientLightReading.setLightLevel?4(QAmbientLightReading.LightLevel) +QtSensors.QAmbientLightFilter?1() +QtSensors.QAmbientLightFilter.__init__?1(self) +QtSensors.QAmbientLightFilter?1(QAmbientLightFilter) +QtSensors.QAmbientLightFilter.__init__?1(self, QAmbientLightFilter) +QtSensors.QAmbientLightFilter.filter?4(QAmbientLightReading) -> bool +QtSensors.QAmbientLightSensor?1(QObject parent=None) +QtSensors.QAmbientLightSensor.__init__?1(self, QObject parent=None) +QtSensors.QAmbientLightSensor.reading?4() -> QAmbientLightReading +QtSensors.QAmbientTemperatureReading.temperature?4() -> float +QtSensors.QAmbientTemperatureReading.setTemperature?4(float) +QtSensors.QAmbientTemperatureFilter?1() +QtSensors.QAmbientTemperatureFilter.__init__?1(self) +QtSensors.QAmbientTemperatureFilter?1(QAmbientTemperatureFilter) +QtSensors.QAmbientTemperatureFilter.__init__?1(self, QAmbientTemperatureFilter) +QtSensors.QAmbientTemperatureFilter.filter?4(QAmbientTemperatureReading) -> bool +QtSensors.QAmbientTemperatureSensor?1(QObject parent=None) +QtSensors.QAmbientTemperatureSensor.__init__?1(self, QObject parent=None) +QtSensors.QAmbientTemperatureSensor.reading?4() -> QAmbientTemperatureReading +QtSensors.QCompassReading.azimuth?4() -> float +QtSensors.QCompassReading.setAzimuth?4(float) +QtSensors.QCompassReading.calibrationLevel?4() -> float +QtSensors.QCompassReading.setCalibrationLevel?4(float) +QtSensors.QCompassFilter?1() +QtSensors.QCompassFilter.__init__?1(self) +QtSensors.QCompassFilter?1(QCompassFilter) +QtSensors.QCompassFilter.__init__?1(self, QCompassFilter) +QtSensors.QCompassFilter.filter?4(QCompassReading) -> bool +QtSensors.QCompass?1(QObject parent=None) +QtSensors.QCompass.__init__?1(self, QObject parent=None) +QtSensors.QCompass.reading?4() -> QCompassReading +QtSensors.QDistanceReading.distance?4() -> float +QtSensors.QDistanceReading.setDistance?4(float) +QtSensors.QDistanceFilter?1() +QtSensors.QDistanceFilter.__init__?1(self) +QtSensors.QDistanceFilter?1(QDistanceFilter) +QtSensors.QDistanceFilter.__init__?1(self, QDistanceFilter) +QtSensors.QDistanceFilter.filter?4(QDistanceReading) -> bool +QtSensors.QDistanceSensor?1(QObject parent=None) +QtSensors.QDistanceSensor.__init__?1(self, QObject parent=None) +QtSensors.QDistanceSensor.reading?4() -> QDistanceReading +QtSensors.QGyroscopeReading.x?4() -> float +QtSensors.QGyroscopeReading.setX?4(float) +QtSensors.QGyroscopeReading.y?4() -> float +QtSensors.QGyroscopeReading.setY?4(float) +QtSensors.QGyroscopeReading.z?4() -> float +QtSensors.QGyroscopeReading.setZ?4(float) +QtSensors.QGyroscopeFilter?1() +QtSensors.QGyroscopeFilter.__init__?1(self) +QtSensors.QGyroscopeFilter?1(QGyroscopeFilter) +QtSensors.QGyroscopeFilter.__init__?1(self, QGyroscopeFilter) +QtSensors.QGyroscopeFilter.filter?4(QGyroscopeReading) -> bool +QtSensors.QGyroscope?1(QObject parent=None) +QtSensors.QGyroscope.__init__?1(self, QObject parent=None) +QtSensors.QGyroscope.reading?4() -> QGyroscopeReading +QtSensors.QHolsterReading.holstered?4() -> bool +QtSensors.QHolsterReading.setHolstered?4(bool) +QtSensors.QHolsterFilter?1() +QtSensors.QHolsterFilter.__init__?1(self) +QtSensors.QHolsterFilter?1(QHolsterFilter) +QtSensors.QHolsterFilter.__init__?1(self, QHolsterFilter) +QtSensors.QHolsterFilter.filter?4(QHolsterReading) -> bool +QtSensors.QHolsterSensor?1(QObject parent=None) +QtSensors.QHolsterSensor.__init__?1(self, QObject parent=None) +QtSensors.QHolsterSensor.reading?4() -> QHolsterReading +QtSensors.QHumidityReading.relativeHumidity?4() -> float +QtSensors.QHumidityReading.setRelativeHumidity?4(float) +QtSensors.QHumidityReading.absoluteHumidity?4() -> float +QtSensors.QHumidityReading.setAbsoluteHumidity?4(float) +QtSensors.QHumidityFilter?1() +QtSensors.QHumidityFilter.__init__?1(self) +QtSensors.QHumidityFilter?1(QHumidityFilter) +QtSensors.QHumidityFilter.__init__?1(self, QHumidityFilter) +QtSensors.QHumidityFilter.filter?4(QHumidityReading) -> bool +QtSensors.QHumiditySensor?1(QObject parent=None) +QtSensors.QHumiditySensor.__init__?1(self, QObject parent=None) +QtSensors.QHumiditySensor.reading?4() -> QHumidityReading +QtSensors.QIRProximityReading.reflectance?4() -> float +QtSensors.QIRProximityReading.setReflectance?4(float) +QtSensors.QIRProximityFilter?1() +QtSensors.QIRProximityFilter.__init__?1(self) +QtSensors.QIRProximityFilter?1(QIRProximityFilter) +QtSensors.QIRProximityFilter.__init__?1(self, QIRProximityFilter) +QtSensors.QIRProximityFilter.filter?4(QIRProximityReading) -> bool +QtSensors.QIRProximitySensor?1(QObject parent=None) +QtSensors.QIRProximitySensor.__init__?1(self, QObject parent=None) +QtSensors.QIRProximitySensor.reading?4() -> QIRProximityReading +QtSensors.QLidReading.backLidClosed?4() -> bool +QtSensors.QLidReading.setBackLidClosed?4(bool) +QtSensors.QLidReading.frontLidClosed?4() -> bool +QtSensors.QLidReading.setFrontLidClosed?4(bool) +QtSensors.QLidReading.backLidChanged?4(bool) +QtSensors.QLidReading.frontLidChanged?4(bool) +QtSensors.QLidFilter?1() +QtSensors.QLidFilter.__init__?1(self) +QtSensors.QLidFilter?1(QLidFilter) +QtSensors.QLidFilter.__init__?1(self, QLidFilter) +QtSensors.QLidFilter.filter?4(QLidReading) -> bool +QtSensors.QLidSensor?1(QObject parent=None) +QtSensors.QLidSensor.__init__?1(self, QObject parent=None) +QtSensors.QLidSensor.reading?4() -> QLidReading +QtSensors.QLightReading.lux?4() -> float +QtSensors.QLightReading.setLux?4(float) +QtSensors.QLightFilter?1() +QtSensors.QLightFilter.__init__?1(self) +QtSensors.QLightFilter?1(QLightFilter) +QtSensors.QLightFilter.__init__?1(self, QLightFilter) +QtSensors.QLightFilter.filter?4(QLightReading) -> bool +QtSensors.QLightSensor?1(QObject parent=None) +QtSensors.QLightSensor.__init__?1(self, QObject parent=None) +QtSensors.QLightSensor.reading?4() -> QLightReading +QtSensors.QLightSensor.fieldOfView?4() -> float +QtSensors.QLightSensor.setFieldOfView?4(float) +QtSensors.QLightSensor.fieldOfViewChanged?4(float) +QtSensors.QMagnetometerReading.x?4() -> float +QtSensors.QMagnetometerReading.setX?4(float) +QtSensors.QMagnetometerReading.y?4() -> float +QtSensors.QMagnetometerReading.setY?4(float) +QtSensors.QMagnetometerReading.z?4() -> float +QtSensors.QMagnetometerReading.setZ?4(float) +QtSensors.QMagnetometerReading.calibrationLevel?4() -> float +QtSensors.QMagnetometerReading.setCalibrationLevel?4(float) +QtSensors.QMagnetometerFilter?1() +QtSensors.QMagnetometerFilter.__init__?1(self) +QtSensors.QMagnetometerFilter?1(QMagnetometerFilter) +QtSensors.QMagnetometerFilter.__init__?1(self, QMagnetometerFilter) +QtSensors.QMagnetometerFilter.filter?4(QMagnetometerReading) -> bool +QtSensors.QMagnetometer?1(QObject parent=None) +QtSensors.QMagnetometer.__init__?1(self, QObject parent=None) +QtSensors.QMagnetometer.reading?4() -> QMagnetometerReading +QtSensors.QMagnetometer.returnGeoValues?4() -> bool +QtSensors.QMagnetometer.setReturnGeoValues?4(bool) +QtSensors.QMagnetometer.returnGeoValuesChanged?4(bool) +QtSensors.QOrientationReading.Orientation?10 +QtSensors.QOrientationReading.Orientation.Undefined?10 +QtSensors.QOrientationReading.Orientation.TopUp?10 +QtSensors.QOrientationReading.Orientation.TopDown?10 +QtSensors.QOrientationReading.Orientation.LeftUp?10 +QtSensors.QOrientationReading.Orientation.RightUp?10 +QtSensors.QOrientationReading.Orientation.FaceUp?10 +QtSensors.QOrientationReading.Orientation.FaceDown?10 +QtSensors.QOrientationReading.orientation?4() -> QOrientationReading.Orientation +QtSensors.QOrientationReading.setOrientation?4(QOrientationReading.Orientation) +QtSensors.QOrientationFilter?1() +QtSensors.QOrientationFilter.__init__?1(self) +QtSensors.QOrientationFilter?1(QOrientationFilter) +QtSensors.QOrientationFilter.__init__?1(self, QOrientationFilter) +QtSensors.QOrientationFilter.filter?4(QOrientationReading) -> bool +QtSensors.QOrientationSensor?1(QObject parent=None) +QtSensors.QOrientationSensor.__init__?1(self, QObject parent=None) +QtSensors.QOrientationSensor.reading?4() -> QOrientationReading +QtSensors.QPressureReading.pressure?4() -> float +QtSensors.QPressureReading.setPressure?4(float) +QtSensors.QPressureReading.temperature?4() -> float +QtSensors.QPressureReading.setTemperature?4(float) +QtSensors.QPressureFilter?1() +QtSensors.QPressureFilter.__init__?1(self) +QtSensors.QPressureFilter?1(QPressureFilter) +QtSensors.QPressureFilter.__init__?1(self, QPressureFilter) +QtSensors.QPressureFilter.filter?4(QPressureReading) -> bool +QtSensors.QPressureSensor?1(QObject parent=None) +QtSensors.QPressureSensor.__init__?1(self, QObject parent=None) +QtSensors.QPressureSensor.reading?4() -> QPressureReading +QtSensors.QProximityReading.close?4() -> bool +QtSensors.QProximityReading.setClose?4(bool) +QtSensors.QProximityFilter?1() +QtSensors.QProximityFilter.__init__?1(self) +QtSensors.QProximityFilter?1(QProximityFilter) +QtSensors.QProximityFilter.__init__?1(self, QProximityFilter) +QtSensors.QProximityFilter.filter?4(QProximityReading) -> bool +QtSensors.QProximitySensor?1(QObject parent=None) +QtSensors.QProximitySensor.__init__?1(self, QObject parent=None) +QtSensors.QProximitySensor.reading?4() -> QProximityReading +QtSensors.qoutputrange.accuracy?7 +QtSensors.qoutputrange.maximum?7 +QtSensors.qoutputrange.minimum?7 +QtSensors.qoutputrange?1() +QtSensors.qoutputrange.__init__?1(self) +QtSensors.qoutputrange?1(qoutputrange) +QtSensors.qoutputrange.__init__?1(self, qoutputrange) +QtSensors.QTapReading.TapDirection?10 +QtSensors.QTapReading.TapDirection.Undefined?10 +QtSensors.QTapReading.TapDirection.X?10 +QtSensors.QTapReading.TapDirection.Y?10 +QtSensors.QTapReading.TapDirection.Z?10 +QtSensors.QTapReading.TapDirection.X_Pos?10 +QtSensors.QTapReading.TapDirection.Y_Pos?10 +QtSensors.QTapReading.TapDirection.Z_Pos?10 +QtSensors.QTapReading.TapDirection.X_Neg?10 +QtSensors.QTapReading.TapDirection.Y_Neg?10 +QtSensors.QTapReading.TapDirection.Z_Neg?10 +QtSensors.QTapReading.TapDirection.X_Both?10 +QtSensors.QTapReading.TapDirection.Y_Both?10 +QtSensors.QTapReading.TapDirection.Z_Both?10 +QtSensors.QTapReading.tapDirection?4() -> QTapReading.TapDirection +QtSensors.QTapReading.setTapDirection?4(QTapReading.TapDirection) +QtSensors.QTapReading.isDoubleTap?4() -> bool +QtSensors.QTapReading.setDoubleTap?4(bool) +QtSensors.QTapFilter?1() +QtSensors.QTapFilter.__init__?1(self) +QtSensors.QTapFilter?1(QTapFilter) +QtSensors.QTapFilter.__init__?1(self, QTapFilter) +QtSensors.QTapFilter.filter?4(QTapReading) -> bool +QtSensors.QTapSensor?1(QObject parent=None) +QtSensors.QTapSensor.__init__?1(self, QObject parent=None) +QtSensors.QTapSensor.reading?4() -> QTapReading +QtSensors.QTapSensor.returnDoubleTapEvents?4() -> bool +QtSensors.QTapSensor.setReturnDoubleTapEvents?4(bool) +QtSensors.QTapSensor.returnDoubleTapEventsChanged?4(bool) +QtSensors.QTiltReading.yRotation?4() -> float +QtSensors.QTiltReading.setYRotation?4(float) +QtSensors.QTiltReading.xRotation?4() -> float +QtSensors.QTiltReading.setXRotation?4(float) +QtSensors.QTiltFilter?1() +QtSensors.QTiltFilter.__init__?1(self) +QtSensors.QTiltFilter?1(QTiltFilter) +QtSensors.QTiltFilter.__init__?1(self, QTiltFilter) +QtSensors.QTiltFilter.filter?4(QTiltReading) -> bool +QtSensors.QTiltSensor?1(QObject parent=None) +QtSensors.QTiltSensor.__init__?1(self, QObject parent=None) +QtSensors.QTiltSensor.reading?4() -> QTiltReading +QtSensors.QTiltSensor.calibrate?4() +QtSensors.QRotationReading.x?4() -> float +QtSensors.QRotationReading.y?4() -> float +QtSensors.QRotationReading.z?4() -> float +QtSensors.QRotationReading.setFromEuler?4(float, float, float) +QtSensors.QRotationFilter?1() +QtSensors.QRotationFilter.__init__?1(self) +QtSensors.QRotationFilter?1(QRotationFilter) +QtSensors.QRotationFilter.__init__?1(self, QRotationFilter) +QtSensors.QRotationFilter.filter?4(QRotationReading) -> bool +QtSensors.QRotationSensor?1(QObject parent=None) +QtSensors.QRotationSensor.__init__?1(self, QObject parent=None) +QtSensors.QRotationSensor.reading?4() -> QRotationReading +QtSensors.QRotationSensor.hasZ?4() -> bool +QtSensors.QRotationSensor.setHasZ?4(bool) +QtSensors.QRotationSensor.hasZChanged?4(bool) +QtSerialPort.QSerialPort.SerialPortError?10 +QtSerialPort.QSerialPort.SerialPortError.NoError?10 +QtSerialPort.QSerialPort.SerialPortError.DeviceNotFoundError?10 +QtSerialPort.QSerialPort.SerialPortError.PermissionError?10 +QtSerialPort.QSerialPort.SerialPortError.OpenError?10 +QtSerialPort.QSerialPort.SerialPortError.ParityError?10 +QtSerialPort.QSerialPort.SerialPortError.FramingError?10 +QtSerialPort.QSerialPort.SerialPortError.BreakConditionError?10 +QtSerialPort.QSerialPort.SerialPortError.WriteError?10 +QtSerialPort.QSerialPort.SerialPortError.ReadError?10 +QtSerialPort.QSerialPort.SerialPortError.ResourceError?10 +QtSerialPort.QSerialPort.SerialPortError.UnsupportedOperationError?10 +QtSerialPort.QSerialPort.SerialPortError.TimeoutError?10 +QtSerialPort.QSerialPort.SerialPortError.NotOpenError?10 +QtSerialPort.QSerialPort.SerialPortError.UnknownError?10 +QtSerialPort.QSerialPort.DataErrorPolicy?10 +QtSerialPort.QSerialPort.DataErrorPolicy.SkipPolicy?10 +QtSerialPort.QSerialPort.DataErrorPolicy.PassZeroPolicy?10 +QtSerialPort.QSerialPort.DataErrorPolicy.IgnorePolicy?10 +QtSerialPort.QSerialPort.DataErrorPolicy.StopReceivingPolicy?10 +QtSerialPort.QSerialPort.DataErrorPolicy.UnknownPolicy?10 +QtSerialPort.QSerialPort.PinoutSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.NoSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.TransmittedDataSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.ReceivedDataSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.DataTerminalReadySignal?10 +QtSerialPort.QSerialPort.PinoutSignal.DataCarrierDetectSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.DataSetReadySignal?10 +QtSerialPort.QSerialPort.PinoutSignal.RingIndicatorSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.RequestToSendSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.ClearToSendSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.SecondaryTransmittedDataSignal?10 +QtSerialPort.QSerialPort.PinoutSignal.SecondaryReceivedDataSignal?10 +QtSerialPort.QSerialPort.FlowControl?10 +QtSerialPort.QSerialPort.FlowControl.NoFlowControl?10 +QtSerialPort.QSerialPort.FlowControl.HardwareControl?10 +QtSerialPort.QSerialPort.FlowControl.SoftwareControl?10 +QtSerialPort.QSerialPort.FlowControl.UnknownFlowControl?10 +QtSerialPort.QSerialPort.StopBits?10 +QtSerialPort.QSerialPort.StopBits.OneStop?10 +QtSerialPort.QSerialPort.StopBits.OneAndHalfStop?10 +QtSerialPort.QSerialPort.StopBits.TwoStop?10 +QtSerialPort.QSerialPort.StopBits.UnknownStopBits?10 +QtSerialPort.QSerialPort.Parity?10 +QtSerialPort.QSerialPort.Parity.NoParity?10 +QtSerialPort.QSerialPort.Parity.EvenParity?10 +QtSerialPort.QSerialPort.Parity.OddParity?10 +QtSerialPort.QSerialPort.Parity.SpaceParity?10 +QtSerialPort.QSerialPort.Parity.MarkParity?10 +QtSerialPort.QSerialPort.Parity.UnknownParity?10 +QtSerialPort.QSerialPort.DataBits?10 +QtSerialPort.QSerialPort.DataBits.Data5?10 +QtSerialPort.QSerialPort.DataBits.Data6?10 +QtSerialPort.QSerialPort.DataBits.Data7?10 +QtSerialPort.QSerialPort.DataBits.Data8?10 +QtSerialPort.QSerialPort.DataBits.UnknownDataBits?10 +QtSerialPort.QSerialPort.BaudRate?10 +QtSerialPort.QSerialPort.BaudRate.Baud1200?10 +QtSerialPort.QSerialPort.BaudRate.Baud2400?10 +QtSerialPort.QSerialPort.BaudRate.Baud4800?10 +QtSerialPort.QSerialPort.BaudRate.Baud9600?10 +QtSerialPort.QSerialPort.BaudRate.Baud19200?10 +QtSerialPort.QSerialPort.BaudRate.Baud38400?10 +QtSerialPort.QSerialPort.BaudRate.Baud57600?10 +QtSerialPort.QSerialPort.BaudRate.Baud115200?10 +QtSerialPort.QSerialPort.BaudRate.UnknownBaud?10 +QtSerialPort.QSerialPort.Direction?10 +QtSerialPort.QSerialPort.Direction.Input?10 +QtSerialPort.QSerialPort.Direction.Output?10 +QtSerialPort.QSerialPort.Direction.AllDirections?10 +QtSerialPort.QSerialPort?1(QObject parent=None) +QtSerialPort.QSerialPort.__init__?1(self, QObject parent=None) +QtSerialPort.QSerialPort?1(QString, QObject parent=None) +QtSerialPort.QSerialPort.__init__?1(self, QString, QObject parent=None) +QtSerialPort.QSerialPort?1(QSerialPortInfo, QObject parent=None) +QtSerialPort.QSerialPort.__init__?1(self, QSerialPortInfo, QObject parent=None) +QtSerialPort.QSerialPort.setPortName?4(QString) +QtSerialPort.QSerialPort.portName?4() -> QString +QtSerialPort.QSerialPort.setPort?4(QSerialPortInfo) +QtSerialPort.QSerialPort.open?4(QIODevice.OpenMode) -> bool +QtSerialPort.QSerialPort.close?4() +QtSerialPort.QSerialPort.setSettingsRestoredOnClose?4(bool) +QtSerialPort.QSerialPort.settingsRestoredOnClose?4() -> bool +QtSerialPort.QSerialPort.setBaudRate?4(int, QSerialPort.Directions dir=QSerialPort.AllDirections) -> bool +QtSerialPort.QSerialPort.baudRate?4(QSerialPort.Directions dir=QSerialPort.AllDirections) -> int +QtSerialPort.QSerialPort.setDataBits?4(QSerialPort.DataBits) -> bool +QtSerialPort.QSerialPort.dataBits?4() -> QSerialPort.DataBits +QtSerialPort.QSerialPort.setParity?4(QSerialPort.Parity) -> bool +QtSerialPort.QSerialPort.parity?4() -> QSerialPort.Parity +QtSerialPort.QSerialPort.setStopBits?4(QSerialPort.StopBits) -> bool +QtSerialPort.QSerialPort.stopBits?4() -> QSerialPort.StopBits +QtSerialPort.QSerialPort.setFlowControl?4(QSerialPort.FlowControl) -> bool +QtSerialPort.QSerialPort.flowControl?4() -> QSerialPort.FlowControl +QtSerialPort.QSerialPort.setDataTerminalReady?4(bool) -> bool +QtSerialPort.QSerialPort.isDataTerminalReady?4() -> bool +QtSerialPort.QSerialPort.setRequestToSend?4(bool) -> bool +QtSerialPort.QSerialPort.isRequestToSend?4() -> bool +QtSerialPort.QSerialPort.pinoutSignals?4() -> QSerialPort.PinoutSignals +QtSerialPort.QSerialPort.flush?4() -> bool +QtSerialPort.QSerialPort.clear?4(QSerialPort.Directions dir=QSerialPort.AllDirections) -> bool +QtSerialPort.QSerialPort.atEnd?4() -> bool +QtSerialPort.QSerialPort.setDataErrorPolicy?4(QSerialPort.DataErrorPolicy policy=QSerialPort.IgnorePolicy) -> bool +QtSerialPort.QSerialPort.dataErrorPolicy?4() -> QSerialPort.DataErrorPolicy +QtSerialPort.QSerialPort.error?4() -> QSerialPort.SerialPortError +QtSerialPort.QSerialPort.clearError?4() +QtSerialPort.QSerialPort.readBufferSize?4() -> int +QtSerialPort.QSerialPort.setReadBufferSize?4(int) +QtSerialPort.QSerialPort.isSequential?4() -> bool +QtSerialPort.QSerialPort.bytesAvailable?4() -> int +QtSerialPort.QSerialPort.bytesToWrite?4() -> int +QtSerialPort.QSerialPort.canReadLine?4() -> bool +QtSerialPort.QSerialPort.waitForReadyRead?4(int msecs=30000) -> bool +QtSerialPort.QSerialPort.waitForBytesWritten?4(int msecs=30000) -> bool +QtSerialPort.QSerialPort.sendBreak?4(int duration=0) -> bool +QtSerialPort.QSerialPort.setBreakEnabled?4(bool enabled=True) -> bool +QtSerialPort.QSerialPort.baudRateChanged?4(int, QSerialPort.Directions) +QtSerialPort.QSerialPort.dataBitsChanged?4(QSerialPort.DataBits) +QtSerialPort.QSerialPort.parityChanged?4(QSerialPort.Parity) +QtSerialPort.QSerialPort.stopBitsChanged?4(QSerialPort.StopBits) +QtSerialPort.QSerialPort.flowControlChanged?4(QSerialPort.FlowControl) +QtSerialPort.QSerialPort.dataErrorPolicyChanged?4(QSerialPort.DataErrorPolicy) +QtSerialPort.QSerialPort.dataTerminalReadyChanged?4(bool) +QtSerialPort.QSerialPort.requestToSendChanged?4(bool) +QtSerialPort.QSerialPort.error?4(QSerialPort.SerialPortError) +QtSerialPort.QSerialPort.settingsRestoredOnCloseChanged?4(bool) +QtSerialPort.QSerialPort.readData?4(int) -> object +QtSerialPort.QSerialPort.readLineData?4(int) -> object +QtSerialPort.QSerialPort.writeData?4(bytes) -> int +QtSerialPort.QSerialPort.handle?4() -> sip.voidptr +QtSerialPort.QSerialPort.isBreakEnabled?4() -> bool +QtSerialPort.QSerialPort.breakEnabledChanged?4(bool) +QtSerialPort.QSerialPort.errorOccurred?4(QSerialPort.SerialPortError) +QtSerialPort.QSerialPort.Directions?1() +QtSerialPort.QSerialPort.Directions.__init__?1(self) +QtSerialPort.QSerialPort.Directions?1(int) +QtSerialPort.QSerialPort.Directions.__init__?1(self, int) +QtSerialPort.QSerialPort.Directions?1(QSerialPort.Directions) +QtSerialPort.QSerialPort.Directions.__init__?1(self, QSerialPort.Directions) +QtSerialPort.QSerialPort.PinoutSignals?1() +QtSerialPort.QSerialPort.PinoutSignals.__init__?1(self) +QtSerialPort.QSerialPort.PinoutSignals?1(int) +QtSerialPort.QSerialPort.PinoutSignals.__init__?1(self, int) +QtSerialPort.QSerialPort.PinoutSignals?1(QSerialPort.PinoutSignals) +QtSerialPort.QSerialPort.PinoutSignals.__init__?1(self, QSerialPort.PinoutSignals) +QtSerialPort.QSerialPortInfo?1() +QtSerialPort.QSerialPortInfo.__init__?1(self) +QtSerialPort.QSerialPortInfo?1(QSerialPort) +QtSerialPort.QSerialPortInfo.__init__?1(self, QSerialPort) +QtSerialPort.QSerialPortInfo?1(QString) +QtSerialPort.QSerialPortInfo.__init__?1(self, QString) +QtSerialPort.QSerialPortInfo?1(QSerialPortInfo) +QtSerialPort.QSerialPortInfo.__init__?1(self, QSerialPortInfo) +QtSerialPort.QSerialPortInfo.swap?4(QSerialPortInfo) +QtSerialPort.QSerialPortInfo.portName?4() -> QString +QtSerialPort.QSerialPortInfo.systemLocation?4() -> QString +QtSerialPort.QSerialPortInfo.description?4() -> QString +QtSerialPort.QSerialPortInfo.manufacturer?4() -> QString +QtSerialPort.QSerialPortInfo.vendorIdentifier?4() -> int +QtSerialPort.QSerialPortInfo.productIdentifier?4() -> int +QtSerialPort.QSerialPortInfo.hasVendorIdentifier?4() -> bool +QtSerialPort.QSerialPortInfo.hasProductIdentifier?4() -> bool +QtSerialPort.QSerialPortInfo.isBusy?4() -> bool +QtSerialPort.QSerialPortInfo.isValid?4() -> bool +QtSerialPort.QSerialPortInfo.standardBaudRates?4() -> unknown-type +QtSerialPort.QSerialPortInfo.availablePorts?4() -> unknown-type +QtSerialPort.QSerialPortInfo.isNull?4() -> bool +QtSerialPort.QSerialPortInfo.serialNumber?4() -> QString +QtSql.QSqlDriverCreatorBase?1() +QtSql.QSqlDriverCreatorBase.__init__?1(self) +QtSql.QSqlDriverCreatorBase?1(QSqlDriverCreatorBase) +QtSql.QSqlDriverCreatorBase.__init__?1(self, QSqlDriverCreatorBase) +QtSql.QSqlDriverCreatorBase.createObject?4() -> QSqlDriver +QtSql.QSqlDatabase?1() +QtSql.QSqlDatabase.__init__?1(self) +QtSql.QSqlDatabase?1(QSqlDatabase) +QtSql.QSqlDatabase.__init__?1(self, QSqlDatabase) +QtSql.QSqlDatabase?1(QString) +QtSql.QSqlDatabase.__init__?1(self, QString) +QtSql.QSqlDatabase?1(QSqlDriver) +QtSql.QSqlDatabase.__init__?1(self, QSqlDriver) +QtSql.QSqlDatabase.open?4() -> bool +QtSql.QSqlDatabase.open?4(QString, QString) -> bool +QtSql.QSqlDatabase.close?4() +QtSql.QSqlDatabase.isOpen?4() -> bool +QtSql.QSqlDatabase.isOpenError?4() -> bool +QtSql.QSqlDatabase.tables?4(QSql.TableType type=QSql.Tables) -> QStringList +QtSql.QSqlDatabase.primaryIndex?4(QString) -> QSqlIndex +QtSql.QSqlDatabase.record?4(QString) -> QSqlRecord +QtSql.QSqlDatabase.exec_?4(QString query='') -> QSqlQuery +QtSql.QSqlDatabase.exec?4(QString query='') -> QSqlQuery +QtSql.QSqlDatabase.lastError?4() -> QSqlError +QtSql.QSqlDatabase.isValid?4() -> bool +QtSql.QSqlDatabase.transaction?4() -> bool +QtSql.QSqlDatabase.commit?4() -> bool +QtSql.QSqlDatabase.rollback?4() -> bool +QtSql.QSqlDatabase.setDatabaseName?4(QString) +QtSql.QSqlDatabase.setUserName?4(QString) +QtSql.QSqlDatabase.setPassword?4(QString) +QtSql.QSqlDatabase.setHostName?4(QString) +QtSql.QSqlDatabase.setPort?4(int) +QtSql.QSqlDatabase.setConnectOptions?4(QString options='') +QtSql.QSqlDatabase.databaseName?4() -> QString +QtSql.QSqlDatabase.userName?4() -> QString +QtSql.QSqlDatabase.password?4() -> QString +QtSql.QSqlDatabase.hostName?4() -> QString +QtSql.QSqlDatabase.driverName?4() -> QString +QtSql.QSqlDatabase.port?4() -> int +QtSql.QSqlDatabase.connectOptions?4() -> QString +QtSql.QSqlDatabase.connectionName?4() -> QString +QtSql.QSqlDatabase.driver?4() -> QSqlDriver +QtSql.QSqlDatabase.addDatabase?4(QString, QString connectionName='') -> QSqlDatabase +QtSql.QSqlDatabase.addDatabase?4(QSqlDriver, QString connectionName='') -> QSqlDatabase +QtSql.QSqlDatabase.cloneDatabase?4(QSqlDatabase, QString) -> QSqlDatabase +QtSql.QSqlDatabase.cloneDatabase?4(QString, QString) -> QSqlDatabase +QtSql.QSqlDatabase.database?4(QString connectionName='', bool open=True) -> QSqlDatabase +QtSql.QSqlDatabase.removeDatabase?4(QString) +QtSql.QSqlDatabase.contains?4(QString connectionName='') -> bool +QtSql.QSqlDatabase.drivers?4() -> QStringList +QtSql.QSqlDatabase.connectionNames?4() -> QStringList +QtSql.QSqlDatabase.registerSqlDriver?4(QString, QSqlDriverCreatorBase) +QtSql.QSqlDatabase.isDriverAvailable?4(QString) -> bool +QtSql.QSqlDatabase.setNumericalPrecisionPolicy?4(QSql.NumericalPrecisionPolicy) +QtSql.QSqlDatabase.numericalPrecisionPolicy?4() -> QSql.NumericalPrecisionPolicy +QtSql.QSqlDriver.DbmsType?10 +QtSql.QSqlDriver.DbmsType.UnknownDbms?10 +QtSql.QSqlDriver.DbmsType.MSSqlServer?10 +QtSql.QSqlDriver.DbmsType.MySqlServer?10 +QtSql.QSqlDriver.DbmsType.PostgreSQL?10 +QtSql.QSqlDriver.DbmsType.Oracle?10 +QtSql.QSqlDriver.DbmsType.Sybase?10 +QtSql.QSqlDriver.DbmsType.SQLite?10 +QtSql.QSqlDriver.DbmsType.Interbase?10 +QtSql.QSqlDriver.DbmsType.DB2?10 +QtSql.QSqlDriver.NotificationSource?10 +QtSql.QSqlDriver.NotificationSource.UnknownSource?10 +QtSql.QSqlDriver.NotificationSource.SelfSource?10 +QtSql.QSqlDriver.NotificationSource.OtherSource?10 +QtSql.QSqlDriver.IdentifierType?10 +QtSql.QSqlDriver.IdentifierType.FieldName?10 +QtSql.QSqlDriver.IdentifierType.TableName?10 +QtSql.QSqlDriver.StatementType?10 +QtSql.QSqlDriver.StatementType.WhereStatement?10 +QtSql.QSqlDriver.StatementType.SelectStatement?10 +QtSql.QSqlDriver.StatementType.UpdateStatement?10 +QtSql.QSqlDriver.StatementType.InsertStatement?10 +QtSql.QSqlDriver.StatementType.DeleteStatement?10 +QtSql.QSqlDriver.DriverFeature?10 +QtSql.QSqlDriver.DriverFeature.Transactions?10 +QtSql.QSqlDriver.DriverFeature.QuerySize?10 +QtSql.QSqlDriver.DriverFeature.BLOB?10 +QtSql.QSqlDriver.DriverFeature.Unicode?10 +QtSql.QSqlDriver.DriverFeature.PreparedQueries?10 +QtSql.QSqlDriver.DriverFeature.NamedPlaceholders?10 +QtSql.QSqlDriver.DriverFeature.PositionalPlaceholders?10 +QtSql.QSqlDriver.DriverFeature.LastInsertId?10 +QtSql.QSqlDriver.DriverFeature.BatchOperations?10 +QtSql.QSqlDriver.DriverFeature.SimpleLocking?10 +QtSql.QSqlDriver.DriverFeature.LowPrecisionNumbers?10 +QtSql.QSqlDriver.DriverFeature.EventNotifications?10 +QtSql.QSqlDriver.DriverFeature.FinishQuery?10 +QtSql.QSqlDriver.DriverFeature.MultipleResultSets?10 +QtSql.QSqlDriver?1(QObject parent=None) +QtSql.QSqlDriver.__init__?1(self, QObject parent=None) +QtSql.QSqlDriver.isOpen?4() -> bool +QtSql.QSqlDriver.isOpenError?4() -> bool +QtSql.QSqlDriver.beginTransaction?4() -> bool +QtSql.QSqlDriver.commitTransaction?4() -> bool +QtSql.QSqlDriver.rollbackTransaction?4() -> bool +QtSql.QSqlDriver.tables?4(QSql.TableType) -> QStringList +QtSql.QSqlDriver.primaryIndex?4(QString) -> QSqlIndex +QtSql.QSqlDriver.record?4(QString) -> QSqlRecord +QtSql.QSqlDriver.formatValue?4(QSqlField, bool trimStrings=False) -> QString +QtSql.QSqlDriver.escapeIdentifier?4(QString, QSqlDriver.IdentifierType) -> QString +QtSql.QSqlDriver.sqlStatement?4(QSqlDriver.StatementType, QString, QSqlRecord, bool) -> QString +QtSql.QSqlDriver.lastError?4() -> QSqlError +QtSql.QSqlDriver.handle?4() -> QVariant +QtSql.QSqlDriver.hasFeature?4(QSqlDriver.DriverFeature) -> bool +QtSql.QSqlDriver.close?4() +QtSql.QSqlDriver.createResult?4() -> QSqlResult +QtSql.QSqlDriver.open?4(QString, QString user='', QString password='', QString host='', int port=-1, QString options='') -> bool +QtSql.QSqlDriver.setOpen?4(bool) +QtSql.QSqlDriver.setOpenError?4(bool) +QtSql.QSqlDriver.setLastError?4(QSqlError) +QtSql.QSqlDriver.subscribeToNotification?4(QString) -> bool +QtSql.QSqlDriver.unsubscribeFromNotification?4(QString) -> bool +QtSql.QSqlDriver.subscribedToNotifications?4() -> QStringList +QtSql.QSqlDriver.notification?4(QString) +QtSql.QSqlDriver.notification?4(QString, QSqlDriver.NotificationSource, QVariant) +QtSql.QSqlDriver.isIdentifierEscaped?4(QString, QSqlDriver.IdentifierType) -> bool +QtSql.QSqlDriver.stripDelimiters?4(QString, QSqlDriver.IdentifierType) -> QString +QtSql.QSqlDriver.setNumericalPrecisionPolicy?4(QSql.NumericalPrecisionPolicy) +QtSql.QSqlDriver.numericalPrecisionPolicy?4() -> QSql.NumericalPrecisionPolicy +QtSql.QSqlDriver.dbmsType?4() -> QSqlDriver.DbmsType +QtSql.QSqlError.ErrorType?10 +QtSql.QSqlError.ErrorType.NoError?10 +QtSql.QSqlError.ErrorType.ConnectionError?10 +QtSql.QSqlError.ErrorType.StatementError?10 +QtSql.QSqlError.ErrorType.TransactionError?10 +QtSql.QSqlError.ErrorType.UnknownError?10 +QtSql.QSqlError?1(QString driverText='', QString databaseText='', QSqlError.ErrorType type=QSqlError.NoError, QString errorCode='') +QtSql.QSqlError.__init__?1(self, QString driverText='', QString databaseText='', QSqlError.ErrorType type=QSqlError.NoError, QString errorCode='') +QtSql.QSqlError?1(QString, QString, QSqlError.ErrorType, int) +QtSql.QSqlError.__init__?1(self, QString, QString, QSqlError.ErrorType, int) +QtSql.QSqlError?1(QSqlError) +QtSql.QSqlError.__init__?1(self, QSqlError) +QtSql.QSqlError.driverText?4() -> QString +QtSql.QSqlError.setDriverText?4(QString) +QtSql.QSqlError.databaseText?4() -> QString +QtSql.QSqlError.setDatabaseText?4(QString) +QtSql.QSqlError.type?4() -> QSqlError.ErrorType +QtSql.QSqlError.setType?4(QSqlError.ErrorType) +QtSql.QSqlError.number?4() -> int +QtSql.QSqlError.setNumber?4(int) +QtSql.QSqlError.text?4() -> QString +QtSql.QSqlError.isValid?4() -> bool +QtSql.QSqlError.nativeErrorCode?4() -> QString +QtSql.QSqlError.swap?4(QSqlError) +QtSql.QSqlField.RequiredStatus?10 +QtSql.QSqlField.RequiredStatus.Unknown?10 +QtSql.QSqlField.RequiredStatus.Optional?10 +QtSql.QSqlField.RequiredStatus.Required?10 +QtSql.QSqlField?1(QString fieldName='', QVariant.Type type=QVariant.Invalid) +QtSql.QSqlField.__init__?1(self, QString fieldName='', QVariant.Type type=QVariant.Invalid) +QtSql.QSqlField?1(QString, QVariant.Type, QString) +QtSql.QSqlField.__init__?1(self, QString, QVariant.Type, QString) +QtSql.QSqlField?1(QSqlField) +QtSql.QSqlField.__init__?1(self, QSqlField) +QtSql.QSqlField.setValue?4(QVariant) +QtSql.QSqlField.value?4() -> QVariant +QtSql.QSqlField.setName?4(QString) +QtSql.QSqlField.name?4() -> QString +QtSql.QSqlField.isNull?4() -> bool +QtSql.QSqlField.setReadOnly?4(bool) +QtSql.QSqlField.isReadOnly?4() -> bool +QtSql.QSqlField.clear?4() +QtSql.QSqlField.type?4() -> QVariant.Type +QtSql.QSqlField.isAutoValue?4() -> bool +QtSql.QSqlField.setType?4(QVariant.Type) +QtSql.QSqlField.setRequiredStatus?4(QSqlField.RequiredStatus) +QtSql.QSqlField.setRequired?4(bool) +QtSql.QSqlField.setLength?4(int) +QtSql.QSqlField.setPrecision?4(int) +QtSql.QSqlField.setDefaultValue?4(QVariant) +QtSql.QSqlField.setSqlType?4(int) +QtSql.QSqlField.setGenerated?4(bool) +QtSql.QSqlField.setAutoValue?4(bool) +QtSql.QSqlField.requiredStatus?4() -> QSqlField.RequiredStatus +QtSql.QSqlField.length?4() -> int +QtSql.QSqlField.precision?4() -> int +QtSql.QSqlField.defaultValue?4() -> QVariant +QtSql.QSqlField.typeID?4() -> int +QtSql.QSqlField.isGenerated?4() -> bool +QtSql.QSqlField.isValid?4() -> bool +QtSql.QSqlField.setTableName?4(QString) +QtSql.QSqlField.tableName?4() -> QString +QtSql.QSqlRecord?1() +QtSql.QSqlRecord.__init__?1(self) +QtSql.QSqlRecord?1(QSqlRecord) +QtSql.QSqlRecord.__init__?1(self, QSqlRecord) +QtSql.QSqlRecord.value?4(int) -> QVariant +QtSql.QSqlRecord.value?4(QString) -> QVariant +QtSql.QSqlRecord.setValue?4(int, QVariant) +QtSql.QSqlRecord.setValue?4(QString, QVariant) +QtSql.QSqlRecord.setNull?4(int) +QtSql.QSqlRecord.setNull?4(QString) +QtSql.QSqlRecord.isNull?4(int) -> bool +QtSql.QSqlRecord.isNull?4(QString) -> bool +QtSql.QSqlRecord.indexOf?4(QString) -> int +QtSql.QSqlRecord.fieldName?4(int) -> QString +QtSql.QSqlRecord.field?4(int) -> QSqlField +QtSql.QSqlRecord.field?4(QString) -> QSqlField +QtSql.QSqlRecord.isGenerated?4(int) -> bool +QtSql.QSqlRecord.isGenerated?4(QString) -> bool +QtSql.QSqlRecord.setGenerated?4(QString, bool) +QtSql.QSqlRecord.setGenerated?4(int, bool) +QtSql.QSqlRecord.append?4(QSqlField) +QtSql.QSqlRecord.replace?4(int, QSqlField) +QtSql.QSqlRecord.insert?4(int, QSqlField) +QtSql.QSqlRecord.remove?4(int) +QtSql.QSqlRecord.isEmpty?4() -> bool +QtSql.QSqlRecord.contains?4(QString) -> bool +QtSql.QSqlRecord.clear?4() +QtSql.QSqlRecord.clearValues?4() +QtSql.QSqlRecord.count?4() -> int +QtSql.QSqlRecord.keyValues?4(QSqlRecord) -> QSqlRecord +QtSql.QSqlIndex?1(QString cursorName='', QString name='') +QtSql.QSqlIndex.__init__?1(self, QString cursorName='', QString name='') +QtSql.QSqlIndex?1(QSqlIndex) +QtSql.QSqlIndex.__init__?1(self, QSqlIndex) +QtSql.QSqlIndex.setCursorName?4(QString) +QtSql.QSqlIndex.cursorName?4() -> QString +QtSql.QSqlIndex.setName?4(QString) +QtSql.QSqlIndex.name?4() -> QString +QtSql.QSqlIndex.append?4(QSqlField) +QtSql.QSqlIndex.append?4(QSqlField, bool) +QtSql.QSqlIndex.isDescending?4(int) -> bool +QtSql.QSqlIndex.setDescending?4(int, bool) +QtSql.QSqlQuery.BatchExecutionMode?10 +QtSql.QSqlQuery.BatchExecutionMode.ValuesAsRows?10 +QtSql.QSqlQuery.BatchExecutionMode.ValuesAsColumns?10 +QtSql.QSqlQuery?1(QSqlResult) +QtSql.QSqlQuery.__init__?1(self, QSqlResult) +QtSql.QSqlQuery?1(QString query='', QSqlDatabase db=QSqlDatabase()) +QtSql.QSqlQuery.__init__?1(self, QString query='', QSqlDatabase db=QSqlDatabase()) +QtSql.QSqlQuery?1(QSqlDatabase) +QtSql.QSqlQuery.__init__?1(self, QSqlDatabase) +QtSql.QSqlQuery?1(QSqlQuery) +QtSql.QSqlQuery.__init__?1(self, QSqlQuery) +QtSql.QSqlQuery.isValid?4() -> bool +QtSql.QSqlQuery.isActive?4() -> bool +QtSql.QSqlQuery.isNull?4(int) -> bool +QtSql.QSqlQuery.isNull?4(QString) -> bool +QtSql.QSqlQuery.at?4() -> int +QtSql.QSqlQuery.lastQuery?4() -> QString +QtSql.QSqlQuery.numRowsAffected?4() -> int +QtSql.QSqlQuery.lastError?4() -> QSqlError +QtSql.QSqlQuery.isSelect?4() -> bool +QtSql.QSqlQuery.size?4() -> int +QtSql.QSqlQuery.driver?4() -> QSqlDriver +QtSql.QSqlQuery.result?4() -> QSqlResult +QtSql.QSqlQuery.isForwardOnly?4() -> bool +QtSql.QSqlQuery.record?4() -> QSqlRecord +QtSql.QSqlQuery.setForwardOnly?4(bool) +QtSql.QSqlQuery.exec_?4(QString) -> bool +QtSql.QSqlQuery.exec?4(QString) -> bool +QtSql.QSqlQuery.value?4(int) -> QVariant +QtSql.QSqlQuery.value?4(QString) -> QVariant +QtSql.QSqlQuery.seek?4(int, bool relative=False) -> bool +QtSql.QSqlQuery.next?4() -> bool +QtSql.QSqlQuery.previous?4() -> bool +QtSql.QSqlQuery.first?4() -> bool +QtSql.QSqlQuery.last?4() -> bool +QtSql.QSqlQuery.clear?4() +QtSql.QSqlQuery.exec_?4() -> bool +QtSql.QSqlQuery.exec?4() -> bool +QtSql.QSqlQuery.execBatch?4(QSqlQuery.BatchExecutionMode mode=QSqlQuery.ValuesAsRows) -> bool +QtSql.QSqlQuery.prepare?4(QString) -> bool +QtSql.QSqlQuery.bindValue?4(QString, QVariant, QSql.ParamType type=QSql.In) +QtSql.QSqlQuery.bindValue?4(int, QVariant, QSql.ParamType type=QSql.In) +QtSql.QSqlQuery.addBindValue?4(QVariant, QSql.ParamType type=QSql.In) +QtSql.QSqlQuery.boundValue?4(QString) -> QVariant +QtSql.QSqlQuery.boundValue?4(int) -> QVariant +QtSql.QSqlQuery.boundValues?4() -> unknown-type +QtSql.QSqlQuery.executedQuery?4() -> QString +QtSql.QSqlQuery.lastInsertId?4() -> QVariant +QtSql.QSqlQuery.setNumericalPrecisionPolicy?4(QSql.NumericalPrecisionPolicy) +QtSql.QSqlQuery.numericalPrecisionPolicy?4() -> QSql.NumericalPrecisionPolicy +QtSql.QSqlQuery.finish?4() +QtSql.QSqlQuery.nextResult?4() -> bool +QtSql.QSqlQueryModel?1(QObject parent=None) +QtSql.QSqlQueryModel.__init__?1(self, QObject parent=None) +QtSql.QSqlQueryModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtSql.QSqlQueryModel.columnCount?4(QModelIndex parent=QModelIndex()) -> int +QtSql.QSqlQueryModel.record?4(int) -> QSqlRecord +QtSql.QSqlQueryModel.record?4() -> QSqlRecord +QtSql.QSqlQueryModel.data?4(QModelIndex, int role=Qt.DisplayRole) -> QVariant +QtSql.QSqlQueryModel.headerData?4(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant +QtSql.QSqlQueryModel.setHeaderData?4(int, Qt.Orientation, QVariant, int role=Qt.EditRole) -> bool +QtSql.QSqlQueryModel.insertColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtSql.QSqlQueryModel.removeColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtSql.QSqlQueryModel.setQuery?4(QSqlQuery) +QtSql.QSqlQueryModel.setQuery?4(QString, QSqlDatabase db=QSqlDatabase()) +QtSql.QSqlQueryModel.query?4() -> QSqlQuery +QtSql.QSqlQueryModel.clear?4() +QtSql.QSqlQueryModel.lastError?4() -> QSqlError +QtSql.QSqlQueryModel.fetchMore?4(QModelIndex parent=QModelIndex()) +QtSql.QSqlQueryModel.canFetchMore?4(QModelIndex parent=QModelIndex()) -> bool +QtSql.QSqlQueryModel.queryChange?4() +QtSql.QSqlQueryModel.indexInQuery?4(QModelIndex) -> QModelIndex +QtSql.QSqlQueryModel.setLastError?4(QSqlError) +QtSql.QSqlQueryModel.beginResetModel?4() +QtSql.QSqlQueryModel.endResetModel?4() +QtSql.QSqlQueryModel.beginInsertRows?4(QModelIndex, int, int) +QtSql.QSqlQueryModel.endInsertRows?4() +QtSql.QSqlQueryModel.beginRemoveRows?4(QModelIndex, int, int) +QtSql.QSqlQueryModel.endRemoveRows?4() +QtSql.QSqlQueryModel.beginInsertColumns?4(QModelIndex, int, int) +QtSql.QSqlQueryModel.endInsertColumns?4() +QtSql.QSqlQueryModel.beginRemoveColumns?4(QModelIndex, int, int) +QtSql.QSqlQueryModel.endRemoveColumns?4() +QtSql.QSqlQueryModel.roleNames?4() -> unknown-type +QtSql.QSqlRelationalDelegate?1(QObject parent=None) +QtSql.QSqlRelationalDelegate.__init__?1(self, QObject parent=None) +QtSql.QSqlRelationalDelegate.createEditor?4(QWidget, QStyleOptionViewItem, QModelIndex) -> QWidget +QtSql.QSqlRelationalDelegate.setModelData?4(QWidget, QAbstractItemModel, QModelIndex) +QtSql.QSqlRelationalDelegate.setEditorData?4(QWidget, QModelIndex) +QtSql.QSqlRelation?1() +QtSql.QSqlRelation.__init__?1(self) +QtSql.QSqlRelation?1(QString, QString, QString) +QtSql.QSqlRelation.__init__?1(self, QString, QString, QString) +QtSql.QSqlRelation?1(QSqlRelation) +QtSql.QSqlRelation.__init__?1(self, QSqlRelation) +QtSql.QSqlRelation.tableName?4() -> QString +QtSql.QSqlRelation.indexColumn?4() -> QString +QtSql.QSqlRelation.displayColumn?4() -> QString +QtSql.QSqlRelation.isValid?4() -> bool +QtSql.QSqlRelation.swap?4(QSqlRelation) +QtSql.QSqlTableModel.EditStrategy?10 +QtSql.QSqlTableModel.EditStrategy.OnFieldChange?10 +QtSql.QSqlTableModel.EditStrategy.OnRowChange?10 +QtSql.QSqlTableModel.EditStrategy.OnManualSubmit?10 +QtSql.QSqlTableModel?1(QObject parent=None, QSqlDatabase db=QSqlDatabase()) +QtSql.QSqlTableModel.__init__?1(self, QObject parent=None, QSqlDatabase db=QSqlDatabase()) +QtSql.QSqlTableModel.select?4() -> bool +QtSql.QSqlTableModel.setTable?4(QString) +QtSql.QSqlTableModel.tableName?4() -> QString +QtSql.QSqlTableModel.flags?4(QModelIndex) -> Qt.ItemFlags +QtSql.QSqlTableModel.data?4(QModelIndex, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtSql.QSqlTableModel.setData?4(QModelIndex, QVariant, int role=Qt.ItemDataRole.EditRole) -> bool +QtSql.QSqlTableModel.headerData?4(int, Qt.Orientation, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtSql.QSqlTableModel.isDirty?4(QModelIndex) -> bool +QtSql.QSqlTableModel.isDirty?4() -> bool +QtSql.QSqlTableModel.clear?4() +QtSql.QSqlTableModel.setEditStrategy?4(QSqlTableModel.EditStrategy) +QtSql.QSqlTableModel.editStrategy?4() -> QSqlTableModel.EditStrategy +QtSql.QSqlTableModel.primaryKey?4() -> QSqlIndex +QtSql.QSqlTableModel.database?4() -> QSqlDatabase +QtSql.QSqlTableModel.fieldIndex?4(QString) -> int +QtSql.QSqlTableModel.sort?4(int, Qt.SortOrder) +QtSql.QSqlTableModel.setSort?4(int, Qt.SortOrder) +QtSql.QSqlTableModel.filter?4() -> QString +QtSql.QSqlTableModel.setFilter?4(QString) +QtSql.QSqlTableModel.rowCount?4(QModelIndex parent=QModelIndex()) -> int +QtSql.QSqlTableModel.removeColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtSql.QSqlTableModel.removeRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtSql.QSqlTableModel.insertRows?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtSql.QSqlTableModel.insertRecord?4(int, QSqlRecord) -> bool +QtSql.QSqlTableModel.setRecord?4(int, QSqlRecord) -> bool +QtSql.QSqlTableModel.revertRow?4(int) +QtSql.QSqlTableModel.submit?4() -> bool +QtSql.QSqlTableModel.revert?4() +QtSql.QSqlTableModel.submitAll?4() -> bool +QtSql.QSqlTableModel.revertAll?4() +QtSql.QSqlTableModel.primeInsert?4(int, QSqlRecord) +QtSql.QSqlTableModel.beforeInsert?4(QSqlRecord) +QtSql.QSqlTableModel.beforeUpdate?4(int, QSqlRecord) +QtSql.QSqlTableModel.beforeDelete?4(int) +QtSql.QSqlTableModel.updateRowInTable?4(int, QSqlRecord) -> bool +QtSql.QSqlTableModel.insertRowIntoTable?4(QSqlRecord) -> bool +QtSql.QSqlTableModel.deleteRowFromTable?4(int) -> bool +QtSql.QSqlTableModel.orderByClause?4() -> QString +QtSql.QSqlTableModel.selectStatement?4() -> QString +QtSql.QSqlTableModel.setPrimaryKey?4(QSqlIndex) +QtSql.QSqlTableModel.setQuery?4(QSqlQuery) +QtSql.QSqlTableModel.indexInQuery?4(QModelIndex) -> QModelIndex +QtSql.QSqlTableModel.selectRow?4(int) -> bool +QtSql.QSqlTableModel.record?4() -> QSqlRecord +QtSql.QSqlTableModel.record?4(int) -> QSqlRecord +QtSql.QSqlTableModel.primaryValues?4(int) -> QSqlRecord +QtSql.QSqlRelationalTableModel.JoinMode?10 +QtSql.QSqlRelationalTableModel.JoinMode.InnerJoin?10 +QtSql.QSqlRelationalTableModel.JoinMode.LeftJoin?10 +QtSql.QSqlRelationalTableModel?1(QObject parent=None, QSqlDatabase db=QSqlDatabase()) +QtSql.QSqlRelationalTableModel.__init__?1(self, QObject parent=None, QSqlDatabase db=QSqlDatabase()) +QtSql.QSqlRelationalTableModel.data?4(QModelIndex, int role=Qt.ItemDataRole.DisplayRole) -> QVariant +QtSql.QSqlRelationalTableModel.setData?4(QModelIndex, QVariant, int role=Qt.ItemDataRole.EditRole) -> bool +QtSql.QSqlRelationalTableModel.clear?4() +QtSql.QSqlRelationalTableModel.select?4() -> bool +QtSql.QSqlRelationalTableModel.setTable?4(QString) +QtSql.QSqlRelationalTableModel.setRelation?4(int, QSqlRelation) +QtSql.QSqlRelationalTableModel.relation?4(int) -> QSqlRelation +QtSql.QSqlRelationalTableModel.relationModel?4(int) -> QSqlTableModel +QtSql.QSqlRelationalTableModel.revertRow?4(int) +QtSql.QSqlRelationalTableModel.removeColumns?4(int, int, QModelIndex parent=QModelIndex()) -> bool +QtSql.QSqlRelationalTableModel.selectStatement?4() -> QString +QtSql.QSqlRelationalTableModel.updateRowInTable?4(int, QSqlRecord) -> bool +QtSql.QSqlRelationalTableModel.orderByClause?4() -> QString +QtSql.QSqlRelationalTableModel.insertRowIntoTable?4(QSqlRecord) -> bool +QtSql.QSqlRelationalTableModel.setJoinMode?4(QSqlRelationalTableModel.JoinMode) +QtSql.QSqlResult.BindingSyntax?10 +QtSql.QSqlResult.BindingSyntax.PositionalBinding?10 +QtSql.QSqlResult.BindingSyntax.NamedBinding?10 +QtSql.QSqlResult?1(QSqlDriver) +QtSql.QSqlResult.__init__?1(self, QSqlDriver) +QtSql.QSqlResult.handle?4() -> QVariant +QtSql.QSqlResult.at?4() -> int +QtSql.QSqlResult.lastQuery?4() -> QString +QtSql.QSqlResult.lastError?4() -> QSqlError +QtSql.QSqlResult.isValid?4() -> bool +QtSql.QSqlResult.isActive?4() -> bool +QtSql.QSqlResult.isSelect?4() -> bool +QtSql.QSqlResult.isForwardOnly?4() -> bool +QtSql.QSqlResult.driver?4() -> QSqlDriver +QtSql.QSqlResult.setAt?4(int) +QtSql.QSqlResult.setActive?4(bool) +QtSql.QSqlResult.setLastError?4(QSqlError) +QtSql.QSqlResult.setQuery?4(QString) +QtSql.QSqlResult.setSelect?4(bool) +QtSql.QSqlResult.setForwardOnly?4(bool) +QtSql.QSqlResult.exec_?4() -> bool +QtSql.QSqlResult.exec?4() -> bool +QtSql.QSqlResult.prepare?4(QString) -> bool +QtSql.QSqlResult.savePrepare?4(QString) -> bool +QtSql.QSqlResult.bindValue?4(int, QVariant, QSql.ParamType) +QtSql.QSqlResult.bindValue?4(QString, QVariant, QSql.ParamType) +QtSql.QSqlResult.addBindValue?4(QVariant, QSql.ParamType) +QtSql.QSqlResult.boundValue?4(QString) -> QVariant +QtSql.QSqlResult.boundValue?4(int) -> QVariant +QtSql.QSqlResult.bindValueType?4(QString) -> QSql.ParamType +QtSql.QSqlResult.bindValueType?4(int) -> QSql.ParamType +QtSql.QSqlResult.boundValueCount?4() -> int +QtSql.QSqlResult.boundValues?4() -> unknown-type +QtSql.QSqlResult.executedQuery?4() -> QString +QtSql.QSqlResult.boundValueName?4(int) -> QString +QtSql.QSqlResult.clear?4() +QtSql.QSqlResult.hasOutValues?4() -> bool +QtSql.QSqlResult.bindingSyntax?4() -> QSqlResult.BindingSyntax +QtSql.QSqlResult.data?4(int) -> QVariant +QtSql.QSqlResult.isNull?4(int) -> bool +QtSql.QSqlResult.reset?4(QString) -> bool +QtSql.QSqlResult.fetch?4(int) -> bool +QtSql.QSqlResult.fetchNext?4() -> bool +QtSql.QSqlResult.fetchPrevious?4() -> bool +QtSql.QSqlResult.fetchFirst?4() -> bool +QtSql.QSqlResult.fetchLast?4() -> bool +QtSql.QSqlResult.size?4() -> int +QtSql.QSqlResult.numRowsAffected?4() -> int +QtSql.QSqlResult.record?4() -> QSqlRecord +QtSql.QSqlResult.lastInsertId?4() -> QVariant +QtSql.QSql.NumericalPrecisionPolicy?10 +QtSql.QSql.NumericalPrecisionPolicy.LowPrecisionInt32?10 +QtSql.QSql.NumericalPrecisionPolicy.LowPrecisionInt64?10 +QtSql.QSql.NumericalPrecisionPolicy.LowPrecisionDouble?10 +QtSql.QSql.NumericalPrecisionPolicy.HighPrecision?10 +QtSql.QSql.TableType?10 +QtSql.QSql.TableType.Tables?10 +QtSql.QSql.TableType.SystemTables?10 +QtSql.QSql.TableType.Views?10 +QtSql.QSql.TableType.AllTables?10 +QtSql.QSql.ParamTypeFlag?10 +QtSql.QSql.ParamTypeFlag.In?10 +QtSql.QSql.ParamTypeFlag.Out?10 +QtSql.QSql.ParamTypeFlag.InOut?10 +QtSql.QSql.ParamTypeFlag.Binary?10 +QtSql.QSql.Location?10 +QtSql.QSql.Location.BeforeFirstRow?10 +QtSql.QSql.Location.AfterLastRow?10 +QtSql.QSql.ParamType?1() +QtSql.QSql.ParamType.__init__?1(self) +QtSql.QSql.ParamType?1(int) +QtSql.QSql.ParamType.__init__?1(self, int) +QtSql.QSql.ParamType?1(QSql.ParamType) +QtSql.QSql.ParamType.__init__?1(self, QSql.ParamType) +QtSvg.QGraphicsSvgItem?1(QGraphicsItem parent=None) +QtSvg.QGraphicsSvgItem.__init__?1(self, QGraphicsItem parent=None) +QtSvg.QGraphicsSvgItem?1(QString, QGraphicsItem parent=None) +QtSvg.QGraphicsSvgItem.__init__?1(self, QString, QGraphicsItem parent=None) +QtSvg.QGraphicsSvgItem.setSharedRenderer?4(QSvgRenderer) +QtSvg.QGraphicsSvgItem.renderer?4() -> QSvgRenderer +QtSvg.QGraphicsSvgItem.setElementId?4(QString) +QtSvg.QGraphicsSvgItem.elementId?4() -> QString +QtSvg.QGraphicsSvgItem.setMaximumCacheSize?4(QSize) +QtSvg.QGraphicsSvgItem.maximumCacheSize?4() -> QSize +QtSvg.QGraphicsSvgItem.boundingRect?4() -> QRectF +QtSvg.QGraphicsSvgItem.paint?4(QPainter, QStyleOptionGraphicsItem, QWidget widget=None) +QtSvg.QGraphicsSvgItem.type?4() -> int +QtSvg.QSvgGenerator?1() +QtSvg.QSvgGenerator.__init__?1(self) +QtSvg.QSvgGenerator.size?4() -> QSize +QtSvg.QSvgGenerator.setSize?4(QSize) +QtSvg.QSvgGenerator.fileName?4() -> QString +QtSvg.QSvgGenerator.setFileName?4(QString) +QtSvg.QSvgGenerator.outputDevice?4() -> QIODevice +QtSvg.QSvgGenerator.setOutputDevice?4(QIODevice) +QtSvg.QSvgGenerator.resolution?4() -> int +QtSvg.QSvgGenerator.setResolution?4(int) +QtSvg.QSvgGenerator.title?4() -> QString +QtSvg.QSvgGenerator.setTitle?4(QString) +QtSvg.QSvgGenerator.description?4() -> QString +QtSvg.QSvgGenerator.setDescription?4(QString) +QtSvg.QSvgGenerator.viewBox?4() -> QRect +QtSvg.QSvgGenerator.viewBoxF?4() -> QRectF +QtSvg.QSvgGenerator.setViewBox?4(QRect) +QtSvg.QSvgGenerator.setViewBox?4(QRectF) +QtSvg.QSvgGenerator.paintEngine?4() -> QPaintEngine +QtSvg.QSvgGenerator.metric?4(QPaintDevice.PaintDeviceMetric) -> int +QtSvg.QSvgRenderer?1(QObject parent=None) +QtSvg.QSvgRenderer.__init__?1(self, QObject parent=None) +QtSvg.QSvgRenderer?1(QString, QObject parent=None) +QtSvg.QSvgRenderer.__init__?1(self, QString, QObject parent=None) +QtSvg.QSvgRenderer?1(QByteArray, QObject parent=None) +QtSvg.QSvgRenderer.__init__?1(self, QByteArray, QObject parent=None) +QtSvg.QSvgRenderer?1(QXmlStreamReader, QObject parent=None) +QtSvg.QSvgRenderer.__init__?1(self, QXmlStreamReader, QObject parent=None) +QtSvg.QSvgRenderer.isValid?4() -> bool +QtSvg.QSvgRenderer.defaultSize?4() -> QSize +QtSvg.QSvgRenderer.elementExists?4(QString) -> bool +QtSvg.QSvgRenderer.viewBox?4() -> QRect +QtSvg.QSvgRenderer.viewBoxF?4() -> QRectF +QtSvg.QSvgRenderer.setViewBox?4(QRect) +QtSvg.QSvgRenderer.setViewBox?4(QRectF) +QtSvg.QSvgRenderer.animated?4() -> bool +QtSvg.QSvgRenderer.boundsOnElement?4(QString) -> QRectF +QtSvg.QSvgRenderer.framesPerSecond?4() -> int +QtSvg.QSvgRenderer.setFramesPerSecond?4(int) +QtSvg.QSvgRenderer.currentFrame?4() -> int +QtSvg.QSvgRenderer.setCurrentFrame?4(int) +QtSvg.QSvgRenderer.animationDuration?4() -> int +QtSvg.QSvgRenderer.load?4(QString) -> bool +QtSvg.QSvgRenderer.load?4(QByteArray) -> bool +QtSvg.QSvgRenderer.load?4(QXmlStreamReader) -> bool +QtSvg.QSvgRenderer.render?4(QPainter) +QtSvg.QSvgRenderer.render?4(QPainter, QRectF) +QtSvg.QSvgRenderer.render?4(QPainter, QString, QRectF bounds=QRectF()) +QtSvg.QSvgRenderer.repaintNeeded?4() +QtSvg.QSvgRenderer.aspectRatioMode?4() -> Qt.AspectRatioMode +QtSvg.QSvgRenderer.setAspectRatioMode?4(Qt.AspectRatioMode) +QtSvg.QSvgRenderer.transformForElement?4(QString) -> QTransform +QtSvg.QSvgWidget?1(QWidget parent=None) +QtSvg.QSvgWidget.__init__?1(self, QWidget parent=None) +QtSvg.QSvgWidget?1(QString, QWidget parent=None) +QtSvg.QSvgWidget.__init__?1(self, QString, QWidget parent=None) +QtSvg.QSvgWidget.renderer?4() -> QSvgRenderer +QtSvg.QSvgWidget.sizeHint?4() -> QSize +QtSvg.QSvgWidget.load?4(QString) +QtSvg.QSvgWidget.load?4(QByteArray) +QtSvg.QSvgWidget.paintEvent?4(QPaintEvent) +QtTest.QAbstractItemModelTester.FailureReportingMode?10 +QtTest.QAbstractItemModelTester.FailureReportingMode.QtTest?10 +QtTest.QAbstractItemModelTester.FailureReportingMode.Warning?10 +QtTest.QAbstractItemModelTester.FailureReportingMode.Fatal?10 +QtTest.QAbstractItemModelTester?1(QAbstractItemModel, QObject parent=None) +QtTest.QAbstractItemModelTester.__init__?1(self, QAbstractItemModel, QObject parent=None) +QtTest.QAbstractItemModelTester?1(QAbstractItemModel, QAbstractItemModelTester.FailureReportingMode, QObject parent=None) +QtTest.QAbstractItemModelTester.__init__?1(self, QAbstractItemModel, QAbstractItemModelTester.FailureReportingMode, QObject parent=None) +QtTest.QAbstractItemModelTester.model?4() -> QAbstractItemModel +QtTest.QAbstractItemModelTester.failureReportingMode?4() -> QAbstractItemModelTester.FailureReportingMode +QtTest.QSignalSpy?1(object) +QtTest.QSignalSpy.__init__?1(self, object) +QtTest.QSignalSpy?1(QObject, QMetaMethod) +QtTest.QSignalSpy.__init__?1(self, QObject, QMetaMethod) +QtTest.QSignalSpy.isValid?4() -> bool +QtTest.QSignalSpy.signal?4() -> QByteArray +QtTest.QSignalSpy.wait?4(int timeout=5000) -> bool +QtTest.QTest.KeyAction?10 +QtTest.QTest.KeyAction.Press?10 +QtTest.QTest.KeyAction.Release?10 +QtTest.QTest.KeyAction.Click?10 +QtTest.QTest.KeyAction.Shortcut?10 +QtTest.QTest.qSleep?4(int) +QtTest.QTest.keyClick?4(QWidget, Qt.Key, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyClick?4(QWidget, str, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyClicks?4(QWidget, QString, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyEvent?4(QTest.KeyAction, QWidget, Qt.Key, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyEvent?4(QTest.KeyAction, QWidget, str, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyPress?4(QWidget, Qt.Key, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyPress?4(QWidget, str, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyRelease?4(QWidget, Qt.Key, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyRelease?4(QWidget, str, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keySequence?4(QWidget, QKeySequence) +QtTest.QTest.keyEvent?4(QTest.KeyAction, QWindow, Qt.Key, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyEvent?4(QTest.KeyAction, QWindow, str, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyClick?4(QWindow, Qt.Key, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyClick?4(QWindow, str, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyPress?4(QWindow, Qt.Key, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyPress?4(QWindow, str, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyRelease?4(QWindow, Qt.Key, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keyRelease?4(QWindow, str, Qt.KeyboardModifiers modifier=Qt.NoModifier, int delay=-1) +QtTest.QTest.keySequence?4(QWindow, QKeySequence) +QtTest.QTest.mouseClick?4(QWidget, Qt.MouseButton, Qt.KeyboardModifiers modifier=Qt.KeyboardModifiers(), QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mouseDClick?4(QWidget, Qt.MouseButton, Qt.KeyboardModifiers modifier=Qt.KeyboardModifiers(), QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mouseMove?4(QWidget, QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mousePress?4(QWidget, Qt.MouseButton, Qt.KeyboardModifiers modifier=Qt.KeyboardModifiers(), QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mouseRelease?4(QWidget, Qt.MouseButton, Qt.KeyboardModifiers modifier=Qt.KeyboardModifiers(), QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mousePress?4(QWindow, Qt.MouseButton, Qt.KeyboardModifiers modifier=Qt.KeyboardModifiers(), QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mouseRelease?4(QWindow, Qt.MouseButton, Qt.KeyboardModifiers modifier=Qt.KeyboardModifiers(), QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mouseClick?4(QWindow, Qt.MouseButton, Qt.KeyboardModifiers modifier=Qt.KeyboardModifiers(), QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mouseDClick?4(QWindow, Qt.MouseButton, Qt.KeyboardModifiers modifier=Qt.KeyboardModifiers(), QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.mouseMove?4(QWindow, QPoint pos=QPoint(), int delay=-1) +QtTest.QTest.qWait?4(int) +QtTest.QTest.qWaitForWindowActive?4(QWindow, int timeout=5000) -> bool +QtTest.QTest.qWaitForWindowExposed?4(QWindow, int timeout=5000) -> bool +QtTest.QTest.qWaitForWindowActive?4(QWidget, int timeout=5000) -> bool +QtTest.QTest.qWaitForWindowExposed?4(QWidget, int timeout=5000) -> bool +QtTest.QTest.touchEvent?4(QWidget, QTouchDevice) -> QTest.QTouchEventSequence +QtTest.QTest.touchEvent?4(QWindow, QTouchDevice) -> QTest.QTouchEventSequence +QtTest.QTest.QTouchEventSequence?1(QTest.QTouchEventSequence) +QtTest.QTest.QTouchEventSequence.__init__?1(self, QTest.QTouchEventSequence) +QtTest.QTest.QTouchEventSequence.press?4(int, QPoint, QWindow window=None) -> QTest.QTouchEventSequence +QtTest.QTest.QTouchEventSequence.move?4(int, QPoint, QWindow window=None) -> QTest.QTouchEventSequence +QtTest.QTest.QTouchEventSequence.release?4(int, QPoint, QWindow window=None) -> QTest.QTouchEventSequence +QtTest.QTest.QTouchEventSequence.stationary?4(int) -> QTest.QTouchEventSequence +QtTest.QTest.QTouchEventSequence.press?4(int, QPoint, QWidget) -> QTest.QTouchEventSequence +QtTest.QTest.QTouchEventSequence.move?4(int, QPoint, QWidget) -> QTest.QTouchEventSequence +QtTest.QTest.QTouchEventSequence.release?4(int, QPoint, QWidget) -> QTest.QTouchEventSequence +QtTest.QTest.QTouchEventSequence.commit?4(bool processEvents=True) +QtTextToSpeech.QTextToSpeech.State?10 +QtTextToSpeech.QTextToSpeech.State.Ready?10 +QtTextToSpeech.QTextToSpeech.State.Speaking?10 +QtTextToSpeech.QTextToSpeech.State.Paused?10 +QtTextToSpeech.QTextToSpeech.State.BackendError?10 +QtTextToSpeech.QTextToSpeech?1(QObject parent=None) +QtTextToSpeech.QTextToSpeech.__init__?1(self, QObject parent=None) +QtTextToSpeech.QTextToSpeech?1(QString, QObject parent=None) +QtTextToSpeech.QTextToSpeech.__init__?1(self, QString, QObject parent=None) +QtTextToSpeech.QTextToSpeech.state?4() -> QTextToSpeech.State +QtTextToSpeech.QTextToSpeech.availableLocales?4() -> unknown-type +QtTextToSpeech.QTextToSpeech.locale?4() -> QLocale +QtTextToSpeech.QTextToSpeech.voice?4() -> QVoice +QtTextToSpeech.QTextToSpeech.availableVoices?4() -> unknown-type +QtTextToSpeech.QTextToSpeech.rate?4() -> float +QtTextToSpeech.QTextToSpeech.pitch?4() -> float +QtTextToSpeech.QTextToSpeech.volume?4() -> float +QtTextToSpeech.QTextToSpeech.availableEngines?4() -> QStringList +QtTextToSpeech.QTextToSpeech.say?4(QString) +QtTextToSpeech.QTextToSpeech.stop?4() +QtTextToSpeech.QTextToSpeech.pause?4() +QtTextToSpeech.QTextToSpeech.resume?4() +QtTextToSpeech.QTextToSpeech.setLocale?4(QLocale) +QtTextToSpeech.QTextToSpeech.setRate?4(float) +QtTextToSpeech.QTextToSpeech.setPitch?4(float) +QtTextToSpeech.QTextToSpeech.setVolume?4(float) +QtTextToSpeech.QTextToSpeech.setVoice?4(QVoice) +QtTextToSpeech.QTextToSpeech.stateChanged?4(QTextToSpeech.State) +QtTextToSpeech.QTextToSpeech.localeChanged?4(QLocale) +QtTextToSpeech.QTextToSpeech.rateChanged?4(float) +QtTextToSpeech.QTextToSpeech.pitchChanged?4(float) +QtTextToSpeech.QTextToSpeech.volumeChanged?4(float) +QtTextToSpeech.QTextToSpeech.volumeChanged?4(int) +QtTextToSpeech.QTextToSpeech.voiceChanged?4(QVoice) +QtTextToSpeech.QVoice.Age?10 +QtTextToSpeech.QVoice.Age.Child?10 +QtTextToSpeech.QVoice.Age.Teenager?10 +QtTextToSpeech.QVoice.Age.Adult?10 +QtTextToSpeech.QVoice.Age.Senior?10 +QtTextToSpeech.QVoice.Age.Other?10 +QtTextToSpeech.QVoice.Gender?10 +QtTextToSpeech.QVoice.Gender.Male?10 +QtTextToSpeech.QVoice.Gender.Female?10 +QtTextToSpeech.QVoice.Gender.Unknown?10 +QtTextToSpeech.QVoice?1() +QtTextToSpeech.QVoice.__init__?1(self) +QtTextToSpeech.QVoice?1(QVoice) +QtTextToSpeech.QVoice.__init__?1(self, QVoice) +QtTextToSpeech.QVoice.name?4() -> QString +QtTextToSpeech.QVoice.gender?4() -> QVoice.Gender +QtTextToSpeech.QVoice.age?4() -> QVoice.Age +QtTextToSpeech.QVoice.genderName?4(QVoice.Gender) -> QString +QtTextToSpeech.QVoice.ageName?4(QVoice.Age) -> QString +QtWebChannel.QWebChannel?1(QObject parent=None) +QtWebChannel.QWebChannel.__init__?1(self, QObject parent=None) +QtWebChannel.QWebChannel.registerObjects?4(unknown-type) +QtWebChannel.QWebChannel.registeredObjects?4() -> unknown-type +QtWebChannel.QWebChannel.registerObject?4(QString, QObject) +QtWebChannel.QWebChannel.deregisterObject?4(QObject) +QtWebChannel.QWebChannel.blockUpdates?4() -> bool +QtWebChannel.QWebChannel.setBlockUpdates?4(bool) +QtWebChannel.QWebChannel.blockUpdatesChanged?4(bool) +QtWebChannel.QWebChannel.connectTo?4(QWebChannelAbstractTransport) +QtWebChannel.QWebChannel.disconnectFrom?4(QWebChannelAbstractTransport) +QtWebChannel.QWebChannelAbstractTransport?1(QObject parent=None) +QtWebChannel.QWebChannelAbstractTransport.__init__?1(self, QObject parent=None) +QtWebChannel.QWebChannelAbstractTransport.sendMessage?4(QJsonObject) +QtWebChannel.QWebChannelAbstractTransport.messageReceived?4(QJsonObject, QWebChannelAbstractTransport) +QtWebSockets.QMaskGenerator?1(QObject parent=None) +QtWebSockets.QMaskGenerator.__init__?1(self, QObject parent=None) +QtWebSockets.QMaskGenerator.seed?4() -> bool +QtWebSockets.QMaskGenerator.nextMask?4() -> int +QtWebSockets.QWebSocket?1(QString origin='', QWebSocketProtocol.Version version=QWebSocketProtocol.VersionLatest, QObject parent=None) +QtWebSockets.QWebSocket.__init__?1(self, QString origin='', QWebSocketProtocol.Version version=QWebSocketProtocol.VersionLatest, QObject parent=None) +QtWebSockets.QWebSocket.abort?4() +QtWebSockets.QWebSocket.error?4() -> QAbstractSocket.SocketError +QtWebSockets.QWebSocket.errorString?4() -> QString +QtWebSockets.QWebSocket.flush?4() -> bool +QtWebSockets.QWebSocket.isValid?4() -> bool +QtWebSockets.QWebSocket.localAddress?4() -> QHostAddress +QtWebSockets.QWebSocket.localPort?4() -> int +QtWebSockets.QWebSocket.pauseMode?4() -> QAbstractSocket.PauseModes +QtWebSockets.QWebSocket.peerAddress?4() -> QHostAddress +QtWebSockets.QWebSocket.peerName?4() -> QString +QtWebSockets.QWebSocket.peerPort?4() -> int +QtWebSockets.QWebSocket.proxy?4() -> QNetworkProxy +QtWebSockets.QWebSocket.setProxy?4(QNetworkProxy) +QtWebSockets.QWebSocket.setMaskGenerator?4(QMaskGenerator) +QtWebSockets.QWebSocket.maskGenerator?4() -> QMaskGenerator +QtWebSockets.QWebSocket.readBufferSize?4() -> int +QtWebSockets.QWebSocket.setReadBufferSize?4(int) +QtWebSockets.QWebSocket.resume?4() +QtWebSockets.QWebSocket.setPauseMode?4(QAbstractSocket.PauseModes) +QtWebSockets.QWebSocket.state?4() -> QAbstractSocket.SocketState +QtWebSockets.QWebSocket.version?4() -> QWebSocketProtocol.Version +QtWebSockets.QWebSocket.resourceName?4() -> QString +QtWebSockets.QWebSocket.requestUrl?4() -> QUrl +QtWebSockets.QWebSocket.origin?4() -> QString +QtWebSockets.QWebSocket.closeCode?4() -> QWebSocketProtocol.CloseCode +QtWebSockets.QWebSocket.closeReason?4() -> QString +QtWebSockets.QWebSocket.sendTextMessage?4(QString) -> int +QtWebSockets.QWebSocket.sendBinaryMessage?4(QByteArray) -> int +QtWebSockets.QWebSocket.ignoreSslErrors?4(unknown-type) +QtWebSockets.QWebSocket.setSslConfiguration?4(QSslConfiguration) +QtWebSockets.QWebSocket.sslConfiguration?4() -> QSslConfiguration +QtWebSockets.QWebSocket.request?4() -> QNetworkRequest +QtWebSockets.QWebSocket.close?4(QWebSocketProtocol.CloseCode closeCode=QWebSocketProtocol.CloseCodeNormal, QString reason='') +QtWebSockets.QWebSocket.open?4(QUrl) +QtWebSockets.QWebSocket.open?4(QNetworkRequest) +QtWebSockets.QWebSocket.ping?4(QByteArray payload=QByteArray()) +QtWebSockets.QWebSocket.ignoreSslErrors?4() +QtWebSockets.QWebSocket.aboutToClose?4() +QtWebSockets.QWebSocket.connected?4() +QtWebSockets.QWebSocket.disconnected?4() +QtWebSockets.QWebSocket.stateChanged?4(QAbstractSocket.SocketState) +QtWebSockets.QWebSocket.proxyAuthenticationRequired?4(QNetworkProxy, QAuthenticator) +QtWebSockets.QWebSocket.readChannelFinished?4() +QtWebSockets.QWebSocket.textFrameReceived?4(QString, bool) +QtWebSockets.QWebSocket.binaryFrameReceived?4(QByteArray, bool) +QtWebSockets.QWebSocket.textMessageReceived?4(QString) +QtWebSockets.QWebSocket.binaryMessageReceived?4(QByteArray) +QtWebSockets.QWebSocket.error?4(QAbstractSocket.SocketError) +QtWebSockets.QWebSocket.pong?4(int, QByteArray) +QtWebSockets.QWebSocket.bytesWritten?4(int) +QtWebSockets.QWebSocket.sslErrors?4(unknown-type) +QtWebSockets.QWebSocket.preSharedKeyAuthenticationRequired?4(QSslPreSharedKeyAuthenticator) +QtWebSockets.QWebSocket.bytesToWrite?4() -> int +QtWebSockets.QWebSocket.setMaxAllowedIncomingFrameSize?4(int) +QtWebSockets.QWebSocket.maxAllowedIncomingFrameSize?4() -> int +QtWebSockets.QWebSocket.setMaxAllowedIncomingMessageSize?4(int) +QtWebSockets.QWebSocket.maxAllowedIncomingMessageSize?4() -> int +QtWebSockets.QWebSocket.maxIncomingMessageSize?4() -> int +QtWebSockets.QWebSocket.maxIncomingFrameSize?4() -> int +QtWebSockets.QWebSocket.setOutgoingFrameSize?4(int) +QtWebSockets.QWebSocket.outgoingFrameSize?4() -> int +QtWebSockets.QWebSocket.maxOutgoingFrameSize?4() -> int +QtWebSockets.QWebSocketCorsAuthenticator?1(QString) +QtWebSockets.QWebSocketCorsAuthenticator.__init__?1(self, QString) +QtWebSockets.QWebSocketCorsAuthenticator?1(QWebSocketCorsAuthenticator) +QtWebSockets.QWebSocketCorsAuthenticator.__init__?1(self, QWebSocketCorsAuthenticator) +QtWebSockets.QWebSocketCorsAuthenticator.swap?4(QWebSocketCorsAuthenticator) +QtWebSockets.QWebSocketCorsAuthenticator.origin?4() -> QString +QtWebSockets.QWebSocketCorsAuthenticator.setAllowed?4(bool) +QtWebSockets.QWebSocketCorsAuthenticator.allowed?4() -> bool +QtWebSockets.QWebSocketProtocol.CloseCode?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeNormal?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeGoingAway?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeProtocolError?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeDatatypeNotSupported?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeReserved1004?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeMissingStatusCode?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeAbnormalDisconnection?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeWrongDatatype?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodePolicyViolated?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeTooMuchData?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeMissingExtension?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeBadOperation?10 +QtWebSockets.QWebSocketProtocol.CloseCode.CloseCodeTlsHandshakeFailed?10 +QtWebSockets.QWebSocketProtocol.Version?10 +QtWebSockets.QWebSocketProtocol.Version.VersionUnknown?10 +QtWebSockets.QWebSocketProtocol.Version.Version0?10 +QtWebSockets.QWebSocketProtocol.Version.Version4?10 +QtWebSockets.QWebSocketProtocol.Version.Version5?10 +QtWebSockets.QWebSocketProtocol.Version.Version6?10 +QtWebSockets.QWebSocketProtocol.Version.Version7?10 +QtWebSockets.QWebSocketProtocol.Version.Version8?10 +QtWebSockets.QWebSocketProtocol.Version.Version13?10 +QtWebSockets.QWebSocketProtocol.Version.VersionLatest?10 +QtWebSockets.QWebSocketServer.SslMode?10 +QtWebSockets.QWebSocketServer.SslMode.SecureMode?10 +QtWebSockets.QWebSocketServer.SslMode.NonSecureMode?10 +QtWebSockets.QWebSocketServer?1(QString, QWebSocketServer.SslMode, QObject parent=None) +QtWebSockets.QWebSocketServer.__init__?1(self, QString, QWebSocketServer.SslMode, QObject parent=None) +QtWebSockets.QWebSocketServer.listen?4(QHostAddress address=QHostAddress.SpecialAddress.Any, int port=0) -> bool +QtWebSockets.QWebSocketServer.close?4() +QtWebSockets.QWebSocketServer.isListening?4() -> bool +QtWebSockets.QWebSocketServer.setMaxPendingConnections?4(int) +QtWebSockets.QWebSocketServer.maxPendingConnections?4() -> int +QtWebSockets.QWebSocketServer.serverPort?4() -> int +QtWebSockets.QWebSocketServer.serverAddress?4() -> QHostAddress +QtWebSockets.QWebSocketServer.secureMode?4() -> QWebSocketServer.SslMode +QtWebSockets.QWebSocketServer.setSocketDescriptor?4(int) -> bool +QtWebSockets.QWebSocketServer.socketDescriptor?4() -> int +QtWebSockets.QWebSocketServer.hasPendingConnections?4() -> bool +QtWebSockets.QWebSocketServer.nextPendingConnection?4() -> QWebSocket +QtWebSockets.QWebSocketServer.error?4() -> QWebSocketProtocol.CloseCode +QtWebSockets.QWebSocketServer.errorString?4() -> QString +QtWebSockets.QWebSocketServer.pauseAccepting?4() +QtWebSockets.QWebSocketServer.resumeAccepting?4() +QtWebSockets.QWebSocketServer.setServerName?4(QString) +QtWebSockets.QWebSocketServer.serverName?4() -> QString +QtWebSockets.QWebSocketServer.setProxy?4(QNetworkProxy) +QtWebSockets.QWebSocketServer.proxy?4() -> QNetworkProxy +QtWebSockets.QWebSocketServer.setSslConfiguration?4(QSslConfiguration) +QtWebSockets.QWebSocketServer.sslConfiguration?4() -> QSslConfiguration +QtWebSockets.QWebSocketServer.supportedVersions?4() -> unknown-type +QtWebSockets.QWebSocketServer.serverUrl?4() -> QUrl +QtWebSockets.QWebSocketServer.handleConnection?4(QTcpSocket) +QtWebSockets.QWebSocketServer.acceptError?4(QAbstractSocket.SocketError) +QtWebSockets.QWebSocketServer.serverError?4(QWebSocketProtocol.CloseCode) +QtWebSockets.QWebSocketServer.originAuthenticationRequired?4(QWebSocketCorsAuthenticator) +QtWebSockets.QWebSocketServer.newConnection?4() +QtWebSockets.QWebSocketServer.peerVerifyError?4(QSslError) +QtWebSockets.QWebSocketServer.sslErrors?4(unknown-type) +QtWebSockets.QWebSocketServer.closed?4() +QtWebSockets.QWebSocketServer.preSharedKeyAuthenticationRequired?4(QSslPreSharedKeyAuthenticator) +QtWebSockets.QWebSocketServer.setNativeDescriptor?4(qintptr) -> bool +QtWebSockets.QWebSocketServer.nativeDescriptor?4() -> qintptr +QtWebSockets.QWebSocketServer.setHandshakeTimeout?4(int) +QtWebSockets.QWebSocketServer.handshakeTimeoutMS?4() -> int +QtWinExtras.QtWin.WindowFlip3DPolicy?10 +QtWinExtras.QtWin.WindowFlip3DPolicy.FlipDefault?10 +QtWinExtras.QtWin.WindowFlip3DPolicy.FlipExcludeBelow?10 +QtWinExtras.QtWin.WindowFlip3DPolicy.FlipExcludeAbove?10 +QtWinExtras.QtWin.HBitmapFormat?10 +QtWinExtras.QtWin.HBitmapFormat.HBitmapNoAlpha?10 +QtWinExtras.QtWin.HBitmapFormat.HBitmapPremultipliedAlpha?10 +QtWinExtras.QtWin.HBitmapFormat.HBitmapAlpha?10 +QtWinExtras.QtWin.createMask?4(QBitmap) -> sip.voidptr +QtWinExtras.QtWin.toHBITMAP?4(QPixmap, QtWin.HBitmapFormat format=QtWin.HBitmapNoAlpha) -> sip.voidptr +QtWinExtras.QtWin.fromHBITMAP?4(sip.voidptr, QtWin.HBitmapFormat format=QtWin.HBitmapNoAlpha) -> QPixmap +QtWinExtras.QtWin.toHICON?4(QPixmap) -> sip.voidptr +QtWinExtras.QtWin.imageFromHBITMAP?4(sip.voidptr, sip.voidptr, int, int) -> QImage +QtWinExtras.QtWin.fromHICON?4(sip.voidptr) -> QPixmap +QtWinExtras.QtWin.toHRGN?4(QRegion) -> sip.voidptr +QtWinExtras.QtWin.fromHRGN?4(sip.voidptr) -> QRegion +QtWinExtras.QtWin.stringFromHresult?4(int) -> QString +QtWinExtras.QtWin.errorStringFromHresult?4(int) -> QString +QtWinExtras.QtWin.colorizationColor?4() -> (QColor, bool) +QtWinExtras.QtWin.realColorizationColor?4() -> QColor +QtWinExtras.QtWin.setWindowExcludedFromPeek?4(QWindow, bool) +QtWinExtras.QtWin.isWindowExcludedFromPeek?4(QWindow) -> bool +QtWinExtras.QtWin.setWindowDisallowPeek?4(QWindow, bool) +QtWinExtras.QtWin.isWindowPeekDisallowed?4(QWindow) -> bool +QtWinExtras.QtWin.setWindowFlip3DPolicy?4(QWindow, QtWin.WindowFlip3DPolicy) +QtWinExtras.QtWin.windowFlip3DPolicy?4(QWindow) -> QtWin.WindowFlip3DPolicy +QtWinExtras.QtWin.extendFrameIntoClientArea?4(QWindow, int, int, int, int) +QtWinExtras.QtWin.extendFrameIntoClientArea?4(QWindow, QMargins) +QtWinExtras.QtWin.resetExtendedFrame?4(QWindow) +QtWinExtras.QtWin.enableBlurBehindWindow?4(QWindow, QRegion) +QtWinExtras.QtWin.enableBlurBehindWindow?4(QWindow) +QtWinExtras.QtWin.disableBlurBehindWindow?4(QWindow) +QtWinExtras.QtWin.isCompositionEnabled?4() -> bool +QtWinExtras.QtWin.setCompositionEnabled?4(bool) +QtWinExtras.QtWin.isCompositionOpaque?4() -> bool +QtWinExtras.QtWin.setCurrentProcessExplicitAppUserModelID?4(QString) +QtWinExtras.QtWin.markFullscreenWindow?4(QWindow, bool fullscreen=True) +QtWinExtras.QtWin.taskbarActivateTab?4(QWindow) +QtWinExtras.QtWin.taskbarActivateTabAlt?4(QWindow) +QtWinExtras.QtWin.taskbarAddTab?4(QWindow) +QtWinExtras.QtWin.taskbarDeleteTab?4(QWindow) +QtWinExtras.QtWin.setWindowExcludedFromPeek?4(QWidget, bool) +QtWinExtras.QtWin.isWindowExcludedFromPeek?4(QWidget) -> bool +QtWinExtras.QtWin.setWindowDisallowPeek?4(QWidget, bool) +QtWinExtras.QtWin.isWindowPeekDisallowed?4(QWidget) -> bool +QtWinExtras.QtWin.setWindowFlip3DPolicy?4(QWidget, QtWin.WindowFlip3DPolicy) +QtWinExtras.QtWin.windowFlip3DPolicy?4(QWidget) -> QtWin.WindowFlip3DPolicy +QtWinExtras.QtWin.extendFrameIntoClientArea?4(QWidget, QMargins) +QtWinExtras.QtWin.extendFrameIntoClientArea?4(QWidget, int, int, int, int) +QtWinExtras.QtWin.resetExtendedFrame?4(QWidget) +QtWinExtras.QtWin.enableBlurBehindWindow?4(QWidget, QRegion) +QtWinExtras.QtWin.enableBlurBehindWindow?4(QWidget) +QtWinExtras.QtWin.disableBlurBehindWindow?4(QWidget) +QtWinExtras.QtWin.markFullscreenWindow?4(QWidget, bool fullscreen=True) +QtWinExtras.QtWin.taskbarActivateTab?4(QWidget) +QtWinExtras.QtWin.taskbarActivateTabAlt?4(QWidget) +QtWinExtras.QtWin.taskbarAddTab?4(QWidget) +QtWinExtras.QtWin.taskbarDeleteTab?4(QWidget) +QtWinExtras.QWinJumpList?1(QObject parent=None) +QtWinExtras.QWinJumpList.__init__?1(self, QObject parent=None) +QtWinExtras.QWinJumpList.identifier?4() -> QString +QtWinExtras.QWinJumpList.setIdentifier?4(QString) +QtWinExtras.QWinJumpList.recent?4() -> QWinJumpListCategory +QtWinExtras.QWinJumpList.frequent?4() -> QWinJumpListCategory +QtWinExtras.QWinJumpList.tasks?4() -> QWinJumpListCategory +QtWinExtras.QWinJumpList.categories?4() -> unknown-type +QtWinExtras.QWinJumpList.addCategory?4(QWinJumpListCategory) +QtWinExtras.QWinJumpList.addCategory?4(QString, unknown-type items=[]) -> QWinJumpListCategory +QtWinExtras.QWinJumpList.clear?4() +QtWinExtras.QWinJumpListCategory.Type?10 +QtWinExtras.QWinJumpListCategory.Type.Custom?10 +QtWinExtras.QWinJumpListCategory.Type.Recent?10 +QtWinExtras.QWinJumpListCategory.Type.Frequent?10 +QtWinExtras.QWinJumpListCategory.Type.Tasks?10 +QtWinExtras.QWinJumpListCategory?1(QString title='') +QtWinExtras.QWinJumpListCategory.__init__?1(self, QString title='') +QtWinExtras.QWinJumpListCategory.type?4() -> QWinJumpListCategory.Type +QtWinExtras.QWinJumpListCategory.isVisible?4() -> bool +QtWinExtras.QWinJumpListCategory.setVisible?4(bool) +QtWinExtras.QWinJumpListCategory.title?4() -> QString +QtWinExtras.QWinJumpListCategory.setTitle?4(QString) +QtWinExtras.QWinJumpListCategory.count?4() -> int +QtWinExtras.QWinJumpListCategory.isEmpty?4() -> bool +QtWinExtras.QWinJumpListCategory.items?4() -> unknown-type +QtWinExtras.QWinJumpListCategory.addItem?4(QWinJumpListItem) +QtWinExtras.QWinJumpListCategory.addDestination?4(QString) -> QWinJumpListItem +QtWinExtras.QWinJumpListCategory.addLink?4(QString, QString, QStringList arguments=[]) -> QWinJumpListItem +QtWinExtras.QWinJumpListCategory.addLink?4(QIcon, QString, QString, QStringList arguments=[]) -> QWinJumpListItem +QtWinExtras.QWinJumpListCategory.addSeparator?4() -> QWinJumpListItem +QtWinExtras.QWinJumpListCategory.clear?4() +QtWinExtras.QWinJumpListItem.Type?10 +QtWinExtras.QWinJumpListItem.Type.Destination?10 +QtWinExtras.QWinJumpListItem.Type.Link?10 +QtWinExtras.QWinJumpListItem.Type.Separator?10 +QtWinExtras.QWinJumpListItem?1(QWinJumpListItem.Type) +QtWinExtras.QWinJumpListItem.__init__?1(self, QWinJumpListItem.Type) +QtWinExtras.QWinJumpListItem.setType?4(QWinJumpListItem.Type) +QtWinExtras.QWinJumpListItem.type?4() -> QWinJumpListItem.Type +QtWinExtras.QWinJumpListItem.setFilePath?4(QString) +QtWinExtras.QWinJumpListItem.filePath?4() -> QString +QtWinExtras.QWinJumpListItem.setWorkingDirectory?4(QString) +QtWinExtras.QWinJumpListItem.workingDirectory?4() -> QString +QtWinExtras.QWinJumpListItem.setIcon?4(QIcon) +QtWinExtras.QWinJumpListItem.icon?4() -> QIcon +QtWinExtras.QWinJumpListItem.setTitle?4(QString) +QtWinExtras.QWinJumpListItem.title?4() -> QString +QtWinExtras.QWinJumpListItem.setDescription?4(QString) +QtWinExtras.QWinJumpListItem.description?4() -> QString +QtWinExtras.QWinJumpListItem.setArguments?4(QStringList) +QtWinExtras.QWinJumpListItem.arguments?4() -> QStringList +QtWinExtras.QWinTaskbarButton?1(QObject parent=None) +QtWinExtras.QWinTaskbarButton.__init__?1(self, QObject parent=None) +QtWinExtras.QWinTaskbarButton.setWindow?4(QWindow) +QtWinExtras.QWinTaskbarButton.window?4() -> QWindow +QtWinExtras.QWinTaskbarButton.overlayIcon?4() -> QIcon +QtWinExtras.QWinTaskbarButton.overlayAccessibleDescription?4() -> QString +QtWinExtras.QWinTaskbarButton.progress?4() -> QWinTaskbarProgress +QtWinExtras.QWinTaskbarButton.eventFilter?4(QObject, QEvent) -> bool +QtWinExtras.QWinTaskbarButton.setOverlayIcon?4(QIcon) +QtWinExtras.QWinTaskbarButton.setOverlayAccessibleDescription?4(QString) +QtWinExtras.QWinTaskbarButton.clearOverlayIcon?4() +QtWinExtras.QWinTaskbarProgress?1(QObject parent=None) +QtWinExtras.QWinTaskbarProgress.__init__?1(self, QObject parent=None) +QtWinExtras.QWinTaskbarProgress.value?4() -> int +QtWinExtras.QWinTaskbarProgress.minimum?4() -> int +QtWinExtras.QWinTaskbarProgress.maximum?4() -> int +QtWinExtras.QWinTaskbarProgress.isVisible?4() -> bool +QtWinExtras.QWinTaskbarProgress.isPaused?4() -> bool +QtWinExtras.QWinTaskbarProgress.isStopped?4() -> bool +QtWinExtras.QWinTaskbarProgress.setValue?4(int) +QtWinExtras.QWinTaskbarProgress.setMinimum?4(int) +QtWinExtras.QWinTaskbarProgress.setMaximum?4(int) +QtWinExtras.QWinTaskbarProgress.setRange?4(int, int) +QtWinExtras.QWinTaskbarProgress.reset?4() +QtWinExtras.QWinTaskbarProgress.show?4() +QtWinExtras.QWinTaskbarProgress.hide?4() +QtWinExtras.QWinTaskbarProgress.setVisible?4(bool) +QtWinExtras.QWinTaskbarProgress.pause?4() +QtWinExtras.QWinTaskbarProgress.resume?4() +QtWinExtras.QWinTaskbarProgress.setPaused?4(bool) +QtWinExtras.QWinTaskbarProgress.stop?4() +QtWinExtras.QWinTaskbarProgress.valueChanged?4(int) +QtWinExtras.QWinTaskbarProgress.minimumChanged?4(int) +QtWinExtras.QWinTaskbarProgress.maximumChanged?4(int) +QtWinExtras.QWinTaskbarProgress.visibilityChanged?4(bool) +QtWinExtras.QWinThumbnailToolBar?1(QObject parent=None) +QtWinExtras.QWinThumbnailToolBar.__init__?1(self, QObject parent=None) +QtWinExtras.QWinThumbnailToolBar.setWindow?4(QWindow) +QtWinExtras.QWinThumbnailToolBar.window?4() -> QWindow +QtWinExtras.QWinThumbnailToolBar.addButton?4(QWinThumbnailToolButton) +QtWinExtras.QWinThumbnailToolBar.removeButton?4(QWinThumbnailToolButton) +QtWinExtras.QWinThumbnailToolBar.setButtons?4(unknown-type) +QtWinExtras.QWinThumbnailToolBar.buttons?4() -> unknown-type +QtWinExtras.QWinThumbnailToolBar.count?4() -> int +QtWinExtras.QWinThumbnailToolBar.iconicPixmapNotificationsEnabled?4() -> bool +QtWinExtras.QWinThumbnailToolBar.setIconicPixmapNotificationsEnabled?4(bool) +QtWinExtras.QWinThumbnailToolBar.iconicThumbnailPixmap?4() -> QPixmap +QtWinExtras.QWinThumbnailToolBar.iconicLivePreviewPixmap?4() -> QPixmap +QtWinExtras.QWinThumbnailToolBar.clear?4() +QtWinExtras.QWinThumbnailToolBar.setIconicThumbnailPixmap?4(QPixmap) +QtWinExtras.QWinThumbnailToolBar.setIconicLivePreviewPixmap?4(QPixmap) +QtWinExtras.QWinThumbnailToolBar.iconicThumbnailPixmapRequested?4() +QtWinExtras.QWinThumbnailToolBar.iconicLivePreviewPixmapRequested?4() +QtWinExtras.QWinThumbnailToolButton?1(QObject parent=None) +QtWinExtras.QWinThumbnailToolButton.__init__?1(self, QObject parent=None) +QtWinExtras.QWinThumbnailToolButton.setToolTip?4(QString) +QtWinExtras.QWinThumbnailToolButton.toolTip?4() -> QString +QtWinExtras.QWinThumbnailToolButton.setIcon?4(QIcon) +QtWinExtras.QWinThumbnailToolButton.icon?4() -> QIcon +QtWinExtras.QWinThumbnailToolButton.setEnabled?4(bool) +QtWinExtras.QWinThumbnailToolButton.isEnabled?4() -> bool +QtWinExtras.QWinThumbnailToolButton.setInteractive?4(bool) +QtWinExtras.QWinThumbnailToolButton.isInteractive?4() -> bool +QtWinExtras.QWinThumbnailToolButton.setVisible?4(bool) +QtWinExtras.QWinThumbnailToolButton.isVisible?4() -> bool +QtWinExtras.QWinThumbnailToolButton.setDismissOnClick?4(bool) +QtWinExtras.QWinThumbnailToolButton.dismissOnClick?4() -> bool +QtWinExtras.QWinThumbnailToolButton.setFlat?4(bool) +QtWinExtras.QWinThumbnailToolButton.isFlat?4() -> bool +QtWinExtras.QWinThumbnailToolButton.click?4() +QtWinExtras.QWinThumbnailToolButton.clicked?4() +QtXml.QDomImplementation.InvalidDataPolicy?10 +QtXml.QDomImplementation.InvalidDataPolicy.AcceptInvalidChars?10 +QtXml.QDomImplementation.InvalidDataPolicy.DropInvalidChars?10 +QtXml.QDomImplementation.InvalidDataPolicy.ReturnNullNode?10 +QtXml.QDomImplementation?1() +QtXml.QDomImplementation.__init__?1(self) +QtXml.QDomImplementation?1(QDomImplementation) +QtXml.QDomImplementation.__init__?1(self, QDomImplementation) +QtXml.QDomImplementation.hasFeature?4(QString, QString) -> bool +QtXml.QDomImplementation.createDocumentType?4(QString, QString, QString) -> QDomDocumentType +QtXml.QDomImplementation.createDocument?4(QString, QString, QDomDocumentType) -> QDomDocument +QtXml.QDomImplementation.invalidDataPolicy?4() -> QDomImplementation.InvalidDataPolicy +QtXml.QDomImplementation.setInvalidDataPolicy?4(QDomImplementation.InvalidDataPolicy) +QtXml.QDomImplementation.isNull?4() -> bool +QtXml.QDomNode.EncodingPolicy?10 +QtXml.QDomNode.EncodingPolicy.EncodingFromDocument?10 +QtXml.QDomNode.EncodingPolicy.EncodingFromTextStream?10 +QtXml.QDomNode.NodeType?10 +QtXml.QDomNode.NodeType.ElementNode?10 +QtXml.QDomNode.NodeType.AttributeNode?10 +QtXml.QDomNode.NodeType.TextNode?10 +QtXml.QDomNode.NodeType.CDATASectionNode?10 +QtXml.QDomNode.NodeType.EntityReferenceNode?10 +QtXml.QDomNode.NodeType.EntityNode?10 +QtXml.QDomNode.NodeType.ProcessingInstructionNode?10 +QtXml.QDomNode.NodeType.CommentNode?10 +QtXml.QDomNode.NodeType.DocumentNode?10 +QtXml.QDomNode.NodeType.DocumentTypeNode?10 +QtXml.QDomNode.NodeType.DocumentFragmentNode?10 +QtXml.QDomNode.NodeType.NotationNode?10 +QtXml.QDomNode.NodeType.BaseNode?10 +QtXml.QDomNode.NodeType.CharacterDataNode?10 +QtXml.QDomNode?1() +QtXml.QDomNode.__init__?1(self) +QtXml.QDomNode?1(QDomNode) +QtXml.QDomNode.__init__?1(self, QDomNode) +QtXml.QDomNode.insertBefore?4(QDomNode, QDomNode) -> QDomNode +QtXml.QDomNode.insertAfter?4(QDomNode, QDomNode) -> QDomNode +QtXml.QDomNode.replaceChild?4(QDomNode, QDomNode) -> QDomNode +QtXml.QDomNode.removeChild?4(QDomNode) -> QDomNode +QtXml.QDomNode.appendChild?4(QDomNode) -> QDomNode +QtXml.QDomNode.hasChildNodes?4() -> bool +QtXml.QDomNode.cloneNode?4(bool deep=True) -> QDomNode +QtXml.QDomNode.normalize?4() +QtXml.QDomNode.isSupported?4(QString, QString) -> bool +QtXml.QDomNode.nodeName?4() -> QString +QtXml.QDomNode.nodeType?4() -> QDomNode.NodeType +QtXml.QDomNode.parentNode?4() -> QDomNode +QtXml.QDomNode.childNodes?4() -> QDomNodeList +QtXml.QDomNode.firstChild?4() -> QDomNode +QtXml.QDomNode.lastChild?4() -> QDomNode +QtXml.QDomNode.previousSibling?4() -> QDomNode +QtXml.QDomNode.nextSibling?4() -> QDomNode +QtXml.QDomNode.attributes?4() -> QDomNamedNodeMap +QtXml.QDomNode.ownerDocument?4() -> QDomDocument +QtXml.QDomNode.namespaceURI?4() -> QString +QtXml.QDomNode.localName?4() -> QString +QtXml.QDomNode.hasAttributes?4() -> bool +QtXml.QDomNode.nodeValue?4() -> QString +QtXml.QDomNode.setNodeValue?4(QString) +QtXml.QDomNode.prefix?4() -> QString +QtXml.QDomNode.setPrefix?4(QString) +QtXml.QDomNode.isAttr?4() -> bool +QtXml.QDomNode.isCDATASection?4() -> bool +QtXml.QDomNode.isDocumentFragment?4() -> bool +QtXml.QDomNode.isDocument?4() -> bool +QtXml.QDomNode.isDocumentType?4() -> bool +QtXml.QDomNode.isElement?4() -> bool +QtXml.QDomNode.isEntityReference?4() -> bool +QtXml.QDomNode.isText?4() -> bool +QtXml.QDomNode.isEntity?4() -> bool +QtXml.QDomNode.isNotation?4() -> bool +QtXml.QDomNode.isProcessingInstruction?4() -> bool +QtXml.QDomNode.isCharacterData?4() -> bool +QtXml.QDomNode.isComment?4() -> bool +QtXml.QDomNode.namedItem?4(QString) -> QDomNode +QtXml.QDomNode.isNull?4() -> bool +QtXml.QDomNode.clear?4() +QtXml.QDomNode.toAttr?4() -> QDomAttr +QtXml.QDomNode.toCDATASection?4() -> QDomCDATASection +QtXml.QDomNode.toDocumentFragment?4() -> QDomDocumentFragment +QtXml.QDomNode.toDocument?4() -> QDomDocument +QtXml.QDomNode.toDocumentType?4() -> QDomDocumentType +QtXml.QDomNode.toElement?4() -> QDomElement +QtXml.QDomNode.toEntityReference?4() -> QDomEntityReference +QtXml.QDomNode.toText?4() -> QDomText +QtXml.QDomNode.toEntity?4() -> QDomEntity +QtXml.QDomNode.toNotation?4() -> QDomNotation +QtXml.QDomNode.toProcessingInstruction?4() -> QDomProcessingInstruction +QtXml.QDomNode.toCharacterData?4() -> QDomCharacterData +QtXml.QDomNode.toComment?4() -> QDomComment +QtXml.QDomNode.save?4(QTextStream, int, QDomNode.EncodingPolicy=QDomNode.EncodingFromDocument) +QtXml.QDomNode.firstChildElement?4(QString tagName='') -> QDomElement +QtXml.QDomNode.lastChildElement?4(QString tagName='') -> QDomElement +QtXml.QDomNode.previousSiblingElement?4(QString tagName='') -> QDomElement +QtXml.QDomNode.nextSiblingElement?4(QString taName='') -> QDomElement +QtXml.QDomNode.lineNumber?4() -> int +QtXml.QDomNode.columnNumber?4() -> int +QtXml.QDomNodeList?1() +QtXml.QDomNodeList.__init__?1(self) +QtXml.QDomNodeList?1(QDomNodeList) +QtXml.QDomNodeList.__init__?1(self, QDomNodeList) +QtXml.QDomNodeList.item?4(int) -> QDomNode +QtXml.QDomNodeList.at?4(int) -> QDomNode +QtXml.QDomNodeList.length?4() -> int +QtXml.QDomNodeList.count?4() -> int +QtXml.QDomNodeList.size?4() -> int +QtXml.QDomNodeList.isEmpty?4() -> bool +QtXml.QDomDocumentType?1() +QtXml.QDomDocumentType.__init__?1(self) +QtXml.QDomDocumentType?1(QDomDocumentType) +QtXml.QDomDocumentType.__init__?1(self, QDomDocumentType) +QtXml.QDomDocumentType.name?4() -> QString +QtXml.QDomDocumentType.entities?4() -> QDomNamedNodeMap +QtXml.QDomDocumentType.notations?4() -> QDomNamedNodeMap +QtXml.QDomDocumentType.publicId?4() -> QString +QtXml.QDomDocumentType.systemId?4() -> QString +QtXml.QDomDocumentType.internalSubset?4() -> QString +QtXml.QDomDocumentType.nodeType?4() -> QDomNode.NodeType +QtXml.QDomDocument?1() +QtXml.QDomDocument.__init__?1(self) +QtXml.QDomDocument?1(QString) +QtXml.QDomDocument.__init__?1(self, QString) +QtXml.QDomDocument?1(QDomDocumentType) +QtXml.QDomDocument.__init__?1(self, QDomDocumentType) +QtXml.QDomDocument?1(QDomDocument) +QtXml.QDomDocument.__init__?1(self, QDomDocument) +QtXml.QDomDocument.createElement?4(QString) -> QDomElement +QtXml.QDomDocument.createDocumentFragment?4() -> QDomDocumentFragment +QtXml.QDomDocument.createTextNode?4(QString) -> QDomText +QtXml.QDomDocument.createComment?4(QString) -> QDomComment +QtXml.QDomDocument.createCDATASection?4(QString) -> QDomCDATASection +QtXml.QDomDocument.createProcessingInstruction?4(QString, QString) -> QDomProcessingInstruction +QtXml.QDomDocument.createAttribute?4(QString) -> QDomAttr +QtXml.QDomDocument.createEntityReference?4(QString) -> QDomEntityReference +QtXml.QDomDocument.elementsByTagName?4(QString) -> QDomNodeList +QtXml.QDomDocument.importNode?4(QDomNode, bool) -> QDomNode +QtXml.QDomDocument.createElementNS?4(QString, QString) -> QDomElement +QtXml.QDomDocument.createAttributeNS?4(QString, QString) -> QDomAttr +QtXml.QDomDocument.elementsByTagNameNS?4(QString, QString) -> QDomNodeList +QtXml.QDomDocument.elementById?4(QString) -> QDomElement +QtXml.QDomDocument.doctype?4() -> QDomDocumentType +QtXml.QDomDocument.implementation?4() -> QDomImplementation +QtXml.QDomDocument.documentElement?4() -> QDomElement +QtXml.QDomDocument.nodeType?4() -> QDomNode.NodeType +QtXml.QDomDocument.setContent?4(QByteArray, bool) -> (bool, QString, int, int) +QtXml.QDomDocument.setContent?4(QString, bool) -> (bool, QString, int, int) +QtXml.QDomDocument.setContent?4(QIODevice, bool) -> (bool, QString, int, int) +QtXml.QDomDocument.setContent?4(QXmlInputSource, bool) -> (bool, QString, int, int) +QtXml.QDomDocument.setContent?4(QByteArray) -> (bool, QString, int, int) +QtXml.QDomDocument.setContent?4(QString) -> (bool, QString, int, int) +QtXml.QDomDocument.setContent?4(QIODevice) -> (bool, QString, int, int) +QtXml.QDomDocument.setContent?4(QXmlInputSource, QXmlReader) -> (bool, QString, int, int) +QtXml.QDomDocument.setContent?4(QXmlStreamReader, bool) -> (bool, QString, int, int) +QtXml.QDomDocument.toString?4(int indent=1) -> QString +QtXml.QDomDocument.toByteArray?4(int indent=1) -> QByteArray +QtXml.QDomNamedNodeMap?1() +QtXml.QDomNamedNodeMap.__init__?1(self) +QtXml.QDomNamedNodeMap?1(QDomNamedNodeMap) +QtXml.QDomNamedNodeMap.__init__?1(self, QDomNamedNodeMap) +QtXml.QDomNamedNodeMap.namedItem?4(QString) -> QDomNode +QtXml.QDomNamedNodeMap.setNamedItem?4(QDomNode) -> QDomNode +QtXml.QDomNamedNodeMap.removeNamedItem?4(QString) -> QDomNode +QtXml.QDomNamedNodeMap.item?4(int) -> QDomNode +QtXml.QDomNamedNodeMap.namedItemNS?4(QString, QString) -> QDomNode +QtXml.QDomNamedNodeMap.setNamedItemNS?4(QDomNode) -> QDomNode +QtXml.QDomNamedNodeMap.removeNamedItemNS?4(QString, QString) -> QDomNode +QtXml.QDomNamedNodeMap.length?4() -> int +QtXml.QDomNamedNodeMap.count?4() -> int +QtXml.QDomNamedNodeMap.size?4() -> int +QtXml.QDomNamedNodeMap.isEmpty?4() -> bool +QtXml.QDomNamedNodeMap.contains?4(QString) -> bool +QtXml.QDomDocumentFragment?1() +QtXml.QDomDocumentFragment.__init__?1(self) +QtXml.QDomDocumentFragment?1(QDomDocumentFragment) +QtXml.QDomDocumentFragment.__init__?1(self, QDomDocumentFragment) +QtXml.QDomDocumentFragment.nodeType?4() -> QDomNode.NodeType +QtXml.QDomCharacterData?1() +QtXml.QDomCharacterData.__init__?1(self) +QtXml.QDomCharacterData?1(QDomCharacterData) +QtXml.QDomCharacterData.__init__?1(self, QDomCharacterData) +QtXml.QDomCharacterData.substringData?4(int, int) -> QString +QtXml.QDomCharacterData.appendData?4(QString) +QtXml.QDomCharacterData.insertData?4(int, QString) +QtXml.QDomCharacterData.deleteData?4(int, int) +QtXml.QDomCharacterData.replaceData?4(int, int, QString) +QtXml.QDomCharacterData.length?4() -> int +QtXml.QDomCharacterData.data?4() -> QString +QtXml.QDomCharacterData.setData?4(QString) +QtXml.QDomCharacterData.nodeType?4() -> QDomNode.NodeType +QtXml.QDomAttr?1() +QtXml.QDomAttr.__init__?1(self) +QtXml.QDomAttr?1(QDomAttr) +QtXml.QDomAttr.__init__?1(self, QDomAttr) +QtXml.QDomAttr.name?4() -> QString +QtXml.QDomAttr.specified?4() -> bool +QtXml.QDomAttr.ownerElement?4() -> QDomElement +QtXml.QDomAttr.value?4() -> QString +QtXml.QDomAttr.setValue?4(QString) +QtXml.QDomAttr.nodeType?4() -> QDomNode.NodeType +QtXml.QDomElement?1() +QtXml.QDomElement.__init__?1(self) +QtXml.QDomElement?1(QDomElement) +QtXml.QDomElement.__init__?1(self, QDomElement) +QtXml.QDomElement.attribute?4(QString, QString defaultValue='') -> QString +QtXml.QDomElement.setAttribute?4(QString, QString) +QtXml.QDomElement.setAttribute?4(QString, int) +QtXml.QDomElement.setAttribute?4(QString, int) +QtXml.QDomElement.setAttribute?4(QString, float) +QtXml.QDomElement.setAttribute?4(QString, int) +QtXml.QDomElement.removeAttribute?4(QString) +QtXml.QDomElement.attributeNode?4(QString) -> QDomAttr +QtXml.QDomElement.setAttributeNode?4(QDomAttr) -> QDomAttr +QtXml.QDomElement.removeAttributeNode?4(QDomAttr) -> QDomAttr +QtXml.QDomElement.elementsByTagName?4(QString) -> QDomNodeList +QtXml.QDomElement.hasAttribute?4(QString) -> bool +QtXml.QDomElement.attributeNS?4(QString, QString, QString defaultValue='') -> QString +QtXml.QDomElement.setAttributeNS?4(QString, QString, QString) +QtXml.QDomElement.setAttributeNS?4(QString, QString, int) +QtXml.QDomElement.setAttributeNS?4(QString, QString, int) +QtXml.QDomElement.setAttributeNS?4(QString, QString, float) +QtXml.QDomElement.setAttributeNS?4(QString, QString, int) +QtXml.QDomElement.removeAttributeNS?4(QString, QString) +QtXml.QDomElement.attributeNodeNS?4(QString, QString) -> QDomAttr +QtXml.QDomElement.setAttributeNodeNS?4(QDomAttr) -> QDomAttr +QtXml.QDomElement.elementsByTagNameNS?4(QString, QString) -> QDomNodeList +QtXml.QDomElement.hasAttributeNS?4(QString, QString) -> bool +QtXml.QDomElement.tagName?4() -> QString +QtXml.QDomElement.setTagName?4(QString) +QtXml.QDomElement.attributes?4() -> QDomNamedNodeMap +QtXml.QDomElement.nodeType?4() -> QDomNode.NodeType +QtXml.QDomElement.text?4() -> QString +QtXml.QDomText?1() +QtXml.QDomText.__init__?1(self) +QtXml.QDomText?1(QDomText) +QtXml.QDomText.__init__?1(self, QDomText) +QtXml.QDomText.splitText?4(int) -> QDomText +QtXml.QDomText.nodeType?4() -> QDomNode.NodeType +QtXml.QDomComment?1() +QtXml.QDomComment.__init__?1(self) +QtXml.QDomComment?1(QDomComment) +QtXml.QDomComment.__init__?1(self, QDomComment) +QtXml.QDomComment.nodeType?4() -> QDomNode.NodeType +QtXml.QDomCDATASection?1() +QtXml.QDomCDATASection.__init__?1(self) +QtXml.QDomCDATASection?1(QDomCDATASection) +QtXml.QDomCDATASection.__init__?1(self, QDomCDATASection) +QtXml.QDomCDATASection.nodeType?4() -> QDomNode.NodeType +QtXml.QDomNotation?1() +QtXml.QDomNotation.__init__?1(self) +QtXml.QDomNotation?1(QDomNotation) +QtXml.QDomNotation.__init__?1(self, QDomNotation) +QtXml.QDomNotation.publicId?4() -> QString +QtXml.QDomNotation.systemId?4() -> QString +QtXml.QDomNotation.nodeType?4() -> QDomNode.NodeType +QtXml.QDomEntity?1() +QtXml.QDomEntity.__init__?1(self) +QtXml.QDomEntity?1(QDomEntity) +QtXml.QDomEntity.__init__?1(self, QDomEntity) +QtXml.QDomEntity.publicId?4() -> QString +QtXml.QDomEntity.systemId?4() -> QString +QtXml.QDomEntity.notationName?4() -> QString +QtXml.QDomEntity.nodeType?4() -> QDomNode.NodeType +QtXml.QDomEntityReference?1() +QtXml.QDomEntityReference.__init__?1(self) +QtXml.QDomEntityReference?1(QDomEntityReference) +QtXml.QDomEntityReference.__init__?1(self, QDomEntityReference) +QtXml.QDomEntityReference.nodeType?4() -> QDomNode.NodeType +QtXml.QDomProcessingInstruction?1() +QtXml.QDomProcessingInstruction.__init__?1(self) +QtXml.QDomProcessingInstruction?1(QDomProcessingInstruction) +QtXml.QDomProcessingInstruction.__init__?1(self, QDomProcessingInstruction) +QtXml.QDomProcessingInstruction.target?4() -> QString +QtXml.QDomProcessingInstruction.data?4() -> QString +QtXml.QDomProcessingInstruction.setData?4(QString) +QtXml.QDomProcessingInstruction.nodeType?4() -> QDomNode.NodeType +QtXml.QXmlNamespaceSupport?1() +QtXml.QXmlNamespaceSupport.__init__?1(self) +QtXml.QXmlNamespaceSupport.setPrefix?4(QString, QString) +QtXml.QXmlNamespaceSupport.prefix?4(QString) -> QString +QtXml.QXmlNamespaceSupport.uri?4(QString) -> QString +QtXml.QXmlNamespaceSupport.splitName?4(QString, QString, QString) +QtXml.QXmlNamespaceSupport.processName?4(QString, bool, QString, QString) +QtXml.QXmlNamespaceSupport.prefixes?4() -> QStringList +QtXml.QXmlNamespaceSupport.prefixes?4(QString) -> QStringList +QtXml.QXmlNamespaceSupport.pushContext?4() +QtXml.QXmlNamespaceSupport.popContext?4() +QtXml.QXmlNamespaceSupport.reset?4() +QtXml.QXmlAttributes?1() +QtXml.QXmlAttributes.__init__?1(self) +QtXml.QXmlAttributes?1(QXmlAttributes) +QtXml.QXmlAttributes.__init__?1(self, QXmlAttributes) +QtXml.QXmlAttributes.index?4(QString) -> int +QtXml.QXmlAttributes.index?4(QString, QString) -> int +QtXml.QXmlAttributes.length?4() -> int +QtXml.QXmlAttributes.localName?4(int) -> QString +QtXml.QXmlAttributes.qName?4(int) -> QString +QtXml.QXmlAttributes.uri?4(int) -> QString +QtXml.QXmlAttributes.type?4(int) -> QString +QtXml.QXmlAttributes.type?4(QString) -> QString +QtXml.QXmlAttributes.type?4(QString, QString) -> QString +QtXml.QXmlAttributes.value?4(int) -> QString +QtXml.QXmlAttributes.value?4(QString) -> QString +QtXml.QXmlAttributes.value?4(QString, QString) -> QString +QtXml.QXmlAttributes.clear?4() +QtXml.QXmlAttributes.append?4(QString, QString, QString, QString) +QtXml.QXmlAttributes.count?4() -> int +QtXml.QXmlAttributes.swap?4(QXmlAttributes) +QtXml.QXmlInputSource.EndOfData?7 +QtXml.QXmlInputSource.EndOfDocument?7 +QtXml.QXmlInputSource?1() +QtXml.QXmlInputSource.__init__?1(self) +QtXml.QXmlInputSource?1(QIODevice) +QtXml.QXmlInputSource.__init__?1(self, QIODevice) +QtXml.QXmlInputSource?1(QXmlInputSource) +QtXml.QXmlInputSource.__init__?1(self, QXmlInputSource) +QtXml.QXmlInputSource.setData?4(QString) +QtXml.QXmlInputSource.setData?4(QByteArray) +QtXml.QXmlInputSource.fetchData?4() +QtXml.QXmlInputSource.data?4() -> QString +QtXml.QXmlInputSource.next?4() -> QChar +QtXml.QXmlInputSource.reset?4() +QtXml.QXmlInputSource.fromRawData?4(QByteArray, bool beginning=False) -> QString +QtXml.QXmlParseException?1(QString name='', int column=-1, int line=-1, QString publicId='', QString systemId='') +QtXml.QXmlParseException.__init__?1(self, QString name='', int column=-1, int line=-1, QString publicId='', QString systemId='') +QtXml.QXmlParseException?1(QXmlParseException) +QtXml.QXmlParseException.__init__?1(self, QXmlParseException) +QtXml.QXmlParseException.columnNumber?4() -> int +QtXml.QXmlParseException.lineNumber?4() -> int +QtXml.QXmlParseException.publicId?4() -> QString +QtXml.QXmlParseException.systemId?4() -> QString +QtXml.QXmlParseException.message?4() -> QString +QtXml.QXmlReader?1() +QtXml.QXmlReader.__init__?1(self) +QtXml.QXmlReader?1(QXmlReader) +QtXml.QXmlReader.__init__?1(self, QXmlReader) +QtXml.QXmlReader.feature?4(QString) -> (bool, bool) +QtXml.QXmlReader.setFeature?4(QString, bool) +QtXml.QXmlReader.hasFeature?4(QString) -> bool +QtXml.QXmlReader.property?4(QString) -> (sip.voidptr, bool) +QtXml.QXmlReader.setProperty?4(QString, sip.voidptr) +QtXml.QXmlReader.hasProperty?4(QString) -> bool +QtXml.QXmlReader.setEntityResolver?4(QXmlEntityResolver) +QtXml.QXmlReader.entityResolver?4() -> QXmlEntityResolver +QtXml.QXmlReader.setDTDHandler?4(QXmlDTDHandler) +QtXml.QXmlReader.DTDHandler?4() -> QXmlDTDHandler +QtXml.QXmlReader.setContentHandler?4(QXmlContentHandler) +QtXml.QXmlReader.contentHandler?4() -> QXmlContentHandler +QtXml.QXmlReader.setErrorHandler?4(QXmlErrorHandler) +QtXml.QXmlReader.errorHandler?4() -> QXmlErrorHandler +QtXml.QXmlReader.setLexicalHandler?4(QXmlLexicalHandler) +QtXml.QXmlReader.lexicalHandler?4() -> QXmlLexicalHandler +QtXml.QXmlReader.setDeclHandler?4(QXmlDeclHandler) +QtXml.QXmlReader.declHandler?4() -> QXmlDeclHandler +QtXml.QXmlReader.parse?4(QXmlInputSource) -> bool +QtXml.QXmlReader.parse?4(QXmlInputSource) -> bool +QtXml.QXmlSimpleReader?1() +QtXml.QXmlSimpleReader.__init__?1(self) +QtXml.QXmlSimpleReader.feature?4(QString) -> (bool, bool) +QtXml.QXmlSimpleReader.setFeature?4(QString, bool) +QtXml.QXmlSimpleReader.hasFeature?4(QString) -> bool +QtXml.QXmlSimpleReader.property?4(QString) -> (sip.voidptr, bool) +QtXml.QXmlSimpleReader.setProperty?4(QString, sip.voidptr) +QtXml.QXmlSimpleReader.hasProperty?4(QString) -> bool +QtXml.QXmlSimpleReader.setEntityResolver?4(QXmlEntityResolver) +QtXml.QXmlSimpleReader.entityResolver?4() -> QXmlEntityResolver +QtXml.QXmlSimpleReader.setDTDHandler?4(QXmlDTDHandler) +QtXml.QXmlSimpleReader.DTDHandler?4() -> QXmlDTDHandler +QtXml.QXmlSimpleReader.setContentHandler?4(QXmlContentHandler) +QtXml.QXmlSimpleReader.contentHandler?4() -> QXmlContentHandler +QtXml.QXmlSimpleReader.setErrorHandler?4(QXmlErrorHandler) +QtXml.QXmlSimpleReader.errorHandler?4() -> QXmlErrorHandler +QtXml.QXmlSimpleReader.setLexicalHandler?4(QXmlLexicalHandler) +QtXml.QXmlSimpleReader.lexicalHandler?4() -> QXmlLexicalHandler +QtXml.QXmlSimpleReader.setDeclHandler?4(QXmlDeclHandler) +QtXml.QXmlSimpleReader.declHandler?4() -> QXmlDeclHandler +QtXml.QXmlSimpleReader.parse?4(QXmlInputSource) -> bool +QtXml.QXmlSimpleReader.parse?4(QXmlInputSource, bool) -> bool +QtXml.QXmlSimpleReader.parseContinue?4() -> bool +QtXml.QXmlLocator?1() +QtXml.QXmlLocator.__init__?1(self) +QtXml.QXmlLocator?1(QXmlLocator) +QtXml.QXmlLocator.__init__?1(self, QXmlLocator) +QtXml.QXmlLocator.columnNumber?4() -> int +QtXml.QXmlLocator.lineNumber?4() -> int +QtXml.QXmlContentHandler?1() +QtXml.QXmlContentHandler.__init__?1(self) +QtXml.QXmlContentHandler?1(QXmlContentHandler) +QtXml.QXmlContentHandler.__init__?1(self, QXmlContentHandler) +QtXml.QXmlContentHandler.setDocumentLocator?4(QXmlLocator) +QtXml.QXmlContentHandler.startDocument?4() -> bool +QtXml.QXmlContentHandler.endDocument?4() -> bool +QtXml.QXmlContentHandler.startPrefixMapping?4(QString, QString) -> bool +QtXml.QXmlContentHandler.endPrefixMapping?4(QString) -> bool +QtXml.QXmlContentHandler.startElement?4(QString, QString, QString, QXmlAttributes) -> bool +QtXml.QXmlContentHandler.endElement?4(QString, QString, QString) -> bool +QtXml.QXmlContentHandler.characters?4(QString) -> bool +QtXml.QXmlContentHandler.ignorableWhitespace?4(QString) -> bool +QtXml.QXmlContentHandler.processingInstruction?4(QString, QString) -> bool +QtXml.QXmlContentHandler.skippedEntity?4(QString) -> bool +QtXml.QXmlContentHandler.errorString?4() -> QString +QtXml.QXmlErrorHandler?1() +QtXml.QXmlErrorHandler.__init__?1(self) +QtXml.QXmlErrorHandler?1(QXmlErrorHandler) +QtXml.QXmlErrorHandler.__init__?1(self, QXmlErrorHandler) +QtXml.QXmlErrorHandler.warning?4(QXmlParseException) -> bool +QtXml.QXmlErrorHandler.error?4(QXmlParseException) -> bool +QtXml.QXmlErrorHandler.fatalError?4(QXmlParseException) -> bool +QtXml.QXmlErrorHandler.errorString?4() -> QString +QtXml.QXmlDTDHandler?1() +QtXml.QXmlDTDHandler.__init__?1(self) +QtXml.QXmlDTDHandler?1(QXmlDTDHandler) +QtXml.QXmlDTDHandler.__init__?1(self, QXmlDTDHandler) +QtXml.QXmlDTDHandler.notationDecl?4(QString, QString, QString) -> bool +QtXml.QXmlDTDHandler.unparsedEntityDecl?4(QString, QString, QString, QString) -> bool +QtXml.QXmlDTDHandler.errorString?4() -> QString +QtXml.QXmlEntityResolver?1() +QtXml.QXmlEntityResolver.__init__?1(self) +QtXml.QXmlEntityResolver?1(QXmlEntityResolver) +QtXml.QXmlEntityResolver.__init__?1(self, QXmlEntityResolver) +QtXml.QXmlEntityResolver.resolveEntity?4(QString, QString) -> (bool, QXmlInputSource) +QtXml.QXmlEntityResolver.errorString?4() -> QString +QtXml.QXmlLexicalHandler?1() +QtXml.QXmlLexicalHandler.__init__?1(self) +QtXml.QXmlLexicalHandler?1(QXmlLexicalHandler) +QtXml.QXmlLexicalHandler.__init__?1(self, QXmlLexicalHandler) +QtXml.QXmlLexicalHandler.startDTD?4(QString, QString, QString) -> bool +QtXml.QXmlLexicalHandler.endDTD?4() -> bool +QtXml.QXmlLexicalHandler.startEntity?4(QString) -> bool +QtXml.QXmlLexicalHandler.endEntity?4(QString) -> bool +QtXml.QXmlLexicalHandler.startCDATA?4() -> bool +QtXml.QXmlLexicalHandler.endCDATA?4() -> bool +QtXml.QXmlLexicalHandler.comment?4(QString) -> bool +QtXml.QXmlLexicalHandler.errorString?4() -> QString +QtXml.QXmlDeclHandler?1() +QtXml.QXmlDeclHandler.__init__?1(self) +QtXml.QXmlDeclHandler?1(QXmlDeclHandler) +QtXml.QXmlDeclHandler.__init__?1(self, QXmlDeclHandler) +QtXml.QXmlDeclHandler.attributeDecl?4(QString, QString, QString, QString, QString) -> bool +QtXml.QXmlDeclHandler.internalEntityDecl?4(QString, QString) -> bool +QtXml.QXmlDeclHandler.externalEntityDecl?4(QString, QString, QString) -> bool +QtXml.QXmlDeclHandler.errorString?4() -> QString +QtXml.QXmlDefaultHandler?1() +QtXml.QXmlDefaultHandler.__init__?1(self) +QtXml.QXmlDefaultHandler.setDocumentLocator?4(QXmlLocator) +QtXml.QXmlDefaultHandler.startDocument?4() -> bool +QtXml.QXmlDefaultHandler.endDocument?4() -> bool +QtXml.QXmlDefaultHandler.startPrefixMapping?4(QString, QString) -> bool +QtXml.QXmlDefaultHandler.endPrefixMapping?4(QString) -> bool +QtXml.QXmlDefaultHandler.startElement?4(QString, QString, QString, QXmlAttributes) -> bool +QtXml.QXmlDefaultHandler.endElement?4(QString, QString, QString) -> bool +QtXml.QXmlDefaultHandler.characters?4(QString) -> bool +QtXml.QXmlDefaultHandler.ignorableWhitespace?4(QString) -> bool +QtXml.QXmlDefaultHandler.processingInstruction?4(QString, QString) -> bool +QtXml.QXmlDefaultHandler.skippedEntity?4(QString) -> bool +QtXml.QXmlDefaultHandler.warning?4(QXmlParseException) -> bool +QtXml.QXmlDefaultHandler.error?4(QXmlParseException) -> bool +QtXml.QXmlDefaultHandler.fatalError?4(QXmlParseException) -> bool +QtXml.QXmlDefaultHandler.notationDecl?4(QString, QString, QString) -> bool +QtXml.QXmlDefaultHandler.unparsedEntityDecl?4(QString, QString, QString, QString) -> bool +QtXml.QXmlDefaultHandler.resolveEntity?4(QString, QString) -> (bool, QXmlInputSource) +QtXml.QXmlDefaultHandler.startDTD?4(QString, QString, QString) -> bool +QtXml.QXmlDefaultHandler.endDTD?4() -> bool +QtXml.QXmlDefaultHandler.startEntity?4(QString) -> bool +QtXml.QXmlDefaultHandler.endEntity?4(QString) -> bool +QtXml.QXmlDefaultHandler.startCDATA?4() -> bool +QtXml.QXmlDefaultHandler.endCDATA?4() -> bool +QtXml.QXmlDefaultHandler.comment?4(QString) -> bool +QtXml.QXmlDefaultHandler.attributeDecl?4(QString, QString, QString, QString, QString) -> bool +QtXml.QXmlDefaultHandler.internalEntityDecl?4(QString, QString) -> bool +QtXml.QXmlDefaultHandler.externalEntityDecl?4(QString, QString, QString) -> bool +QtXml.QXmlDefaultHandler.errorString?4() -> QString +QtXmlPatterns.QAbstractMessageHandler?1(QObject parent=None) +QtXmlPatterns.QAbstractMessageHandler.__init__?1(self, QObject parent=None) +QtXmlPatterns.QAbstractMessageHandler.message?4(QtMsgType, QString, QUrl identifier=QUrl(), QSourceLocation sourceLocation=QSourceLocation()) +QtXmlPatterns.QAbstractMessageHandler.handleMessage?4(QtMsgType, QString, QUrl, QSourceLocation) +QtXmlPatterns.QAbstractUriResolver?1(QObject parent=None) +QtXmlPatterns.QAbstractUriResolver.__init__?1(self, QObject parent=None) +QtXmlPatterns.QAbstractUriResolver.resolve?4(QUrl, QUrl) -> QUrl +QtXmlPatterns.QXmlNodeModelIndex.DocumentOrder?10 +QtXmlPatterns.QXmlNodeModelIndex.DocumentOrder.Precedes?10 +QtXmlPatterns.QXmlNodeModelIndex.DocumentOrder.Is?10 +QtXmlPatterns.QXmlNodeModelIndex.DocumentOrder.Follows?10 +QtXmlPatterns.QXmlNodeModelIndex.NodeKind?10 +QtXmlPatterns.QXmlNodeModelIndex.NodeKind.Attribute?10 +QtXmlPatterns.QXmlNodeModelIndex.NodeKind.Comment?10 +QtXmlPatterns.QXmlNodeModelIndex.NodeKind.Document?10 +QtXmlPatterns.QXmlNodeModelIndex.NodeKind.Element?10 +QtXmlPatterns.QXmlNodeModelIndex.NodeKind.Namespace?10 +QtXmlPatterns.QXmlNodeModelIndex.NodeKind.ProcessingInstruction?10 +QtXmlPatterns.QXmlNodeModelIndex.NodeKind.Text?10 +QtXmlPatterns.QXmlNodeModelIndex?1() +QtXmlPatterns.QXmlNodeModelIndex.__init__?1(self) +QtXmlPatterns.QXmlNodeModelIndex?1(QXmlNodeModelIndex) +QtXmlPatterns.QXmlNodeModelIndex.__init__?1(self, QXmlNodeModelIndex) +QtXmlPatterns.QXmlNodeModelIndex.data?4() -> int +QtXmlPatterns.QXmlNodeModelIndex.internalPointer?4() -> object +QtXmlPatterns.QXmlNodeModelIndex.model?4() -> QAbstractXmlNodeModel +QtXmlPatterns.QXmlNodeModelIndex.additionalData?4() -> int +QtXmlPatterns.QXmlNodeModelIndex.isNull?4() -> bool +QtXmlPatterns.QAbstractXmlNodeModel.SimpleAxis?10 +QtXmlPatterns.QAbstractXmlNodeModel.SimpleAxis.Parent?10 +QtXmlPatterns.QAbstractXmlNodeModel.SimpleAxis.FirstChild?10 +QtXmlPatterns.QAbstractXmlNodeModel.SimpleAxis.PreviousSibling?10 +QtXmlPatterns.QAbstractXmlNodeModel.SimpleAxis.NextSibling?10 +QtXmlPatterns.QAbstractXmlNodeModel?1() +QtXmlPatterns.QAbstractXmlNodeModel.__init__?1(self) +QtXmlPatterns.QAbstractXmlNodeModel.baseUri?4(QXmlNodeModelIndex) -> QUrl +QtXmlPatterns.QAbstractXmlNodeModel.documentUri?4(QXmlNodeModelIndex) -> QUrl +QtXmlPatterns.QAbstractXmlNodeModel.kind?4(QXmlNodeModelIndex) -> QXmlNodeModelIndex.NodeKind +QtXmlPatterns.QAbstractXmlNodeModel.compareOrder?4(QXmlNodeModelIndex, QXmlNodeModelIndex) -> QXmlNodeModelIndex.DocumentOrder +QtXmlPatterns.QAbstractXmlNodeModel.root?4(QXmlNodeModelIndex) -> QXmlNodeModelIndex +QtXmlPatterns.QAbstractXmlNodeModel.name?4(QXmlNodeModelIndex) -> QXmlName +QtXmlPatterns.QAbstractXmlNodeModel.stringValue?4(QXmlNodeModelIndex) -> QString +QtXmlPatterns.QAbstractXmlNodeModel.typedValue?4(QXmlNodeModelIndex) -> QVariant +QtXmlPatterns.QAbstractXmlNodeModel.namespaceBindings?4(QXmlNodeModelIndex) -> unknown-type +QtXmlPatterns.QAbstractXmlNodeModel.elementById?4(QXmlName) -> QXmlNodeModelIndex +QtXmlPatterns.QAbstractXmlNodeModel.nodesByIdref?4(QXmlName) -> unknown-type +QtXmlPatterns.QAbstractXmlNodeModel.sourceLocation?4(QXmlNodeModelIndex) -> QSourceLocation +QtXmlPatterns.QAbstractXmlNodeModel.nextFromSimpleAxis?4(QAbstractXmlNodeModel.SimpleAxis, QXmlNodeModelIndex) -> QXmlNodeModelIndex +QtXmlPatterns.QAbstractXmlNodeModel.attributes?4(QXmlNodeModelIndex) -> unknown-type +QtXmlPatterns.QAbstractXmlNodeModel.createIndex?4(int) -> QXmlNodeModelIndex +QtXmlPatterns.QAbstractXmlNodeModel.createIndex?4(int, int) -> QXmlNodeModelIndex +QtXmlPatterns.QAbstractXmlNodeModel.createIndex?4(object, int additionalData=0) -> QXmlNodeModelIndex +QtXmlPatterns.QXmlItem?1() +QtXmlPatterns.QXmlItem.__init__?1(self) +QtXmlPatterns.QXmlItem?1(QXmlItem) +QtXmlPatterns.QXmlItem.__init__?1(self, QXmlItem) +QtXmlPatterns.QXmlItem?1(QXmlNodeModelIndex) +QtXmlPatterns.QXmlItem.__init__?1(self, QXmlNodeModelIndex) +QtXmlPatterns.QXmlItem?1(QVariant) +QtXmlPatterns.QXmlItem.__init__?1(self, QVariant) +QtXmlPatterns.QXmlItem.isNull?4() -> bool +QtXmlPatterns.QXmlItem.isNode?4() -> bool +QtXmlPatterns.QXmlItem.isAtomicValue?4() -> bool +QtXmlPatterns.QXmlItem.toAtomicValue?4() -> QVariant +QtXmlPatterns.QXmlItem.toNodeModelIndex?4() -> QXmlNodeModelIndex +QtXmlPatterns.QAbstractXmlReceiver?1() +QtXmlPatterns.QAbstractXmlReceiver.__init__?1(self) +QtXmlPatterns.QAbstractXmlReceiver.startElement?4(QXmlName) +QtXmlPatterns.QAbstractXmlReceiver.endElement?4() +QtXmlPatterns.QAbstractXmlReceiver.attribute?4(QXmlName, QStringRef) +QtXmlPatterns.QAbstractXmlReceiver.comment?4(QString) +QtXmlPatterns.QAbstractXmlReceiver.characters?4(QStringRef) +QtXmlPatterns.QAbstractXmlReceiver.startDocument?4() +QtXmlPatterns.QAbstractXmlReceiver.endDocument?4() +QtXmlPatterns.QAbstractXmlReceiver.processingInstruction?4(QXmlName, QString) +QtXmlPatterns.QAbstractXmlReceiver.atomicValue?4(QVariant) +QtXmlPatterns.QAbstractXmlReceiver.namespaceBinding?4(QXmlName) +QtXmlPatterns.QAbstractXmlReceiver.startOfSequence?4() +QtXmlPatterns.QAbstractXmlReceiver.endOfSequence?4() +QtXmlPatterns.QSimpleXmlNodeModel?1(QXmlNamePool) +QtXmlPatterns.QSimpleXmlNodeModel.__init__?1(self, QXmlNamePool) +QtXmlPatterns.QSimpleXmlNodeModel.baseUri?4(QXmlNodeModelIndex) -> QUrl +QtXmlPatterns.QSimpleXmlNodeModel.namePool?4() -> QXmlNamePool +QtXmlPatterns.QSimpleXmlNodeModel.namespaceBindings?4(QXmlNodeModelIndex) -> unknown-type +QtXmlPatterns.QSimpleXmlNodeModel.stringValue?4(QXmlNodeModelIndex) -> QString +QtXmlPatterns.QSimpleXmlNodeModel.elementById?4(QXmlName) -> QXmlNodeModelIndex +QtXmlPatterns.QSimpleXmlNodeModel.nodesByIdref?4(QXmlName) -> unknown-type +QtXmlPatterns.QSourceLocation?1() +QtXmlPatterns.QSourceLocation.__init__?1(self) +QtXmlPatterns.QSourceLocation?1(QSourceLocation) +QtXmlPatterns.QSourceLocation.__init__?1(self, QSourceLocation) +QtXmlPatterns.QSourceLocation?1(QUrl, int line=-1, int column=-1) +QtXmlPatterns.QSourceLocation.__init__?1(self, QUrl, int line=-1, int column=-1) +QtXmlPatterns.QSourceLocation.column?4() -> int +QtXmlPatterns.QSourceLocation.setColumn?4(int) +QtXmlPatterns.QSourceLocation.line?4() -> int +QtXmlPatterns.QSourceLocation.setLine?4(int) +QtXmlPatterns.QSourceLocation.uri?4() -> QUrl +QtXmlPatterns.QSourceLocation.setUri?4(QUrl) +QtXmlPatterns.QSourceLocation.isNull?4() -> bool +QtXmlPatterns.QXmlSerializer?1(QXmlQuery, QIODevice) +QtXmlPatterns.QXmlSerializer.__init__?1(self, QXmlQuery, QIODevice) +QtXmlPatterns.QXmlSerializer.namespaceBinding?4(QXmlName) +QtXmlPatterns.QXmlSerializer.characters?4(QStringRef) +QtXmlPatterns.QXmlSerializer.comment?4(QString) +QtXmlPatterns.QXmlSerializer.startElement?4(QXmlName) +QtXmlPatterns.QXmlSerializer.endElement?4() +QtXmlPatterns.QXmlSerializer.attribute?4(QXmlName, QStringRef) +QtXmlPatterns.QXmlSerializer.processingInstruction?4(QXmlName, QString) +QtXmlPatterns.QXmlSerializer.atomicValue?4(QVariant) +QtXmlPatterns.QXmlSerializer.startDocument?4() +QtXmlPatterns.QXmlSerializer.endDocument?4() +QtXmlPatterns.QXmlSerializer.startOfSequence?4() +QtXmlPatterns.QXmlSerializer.endOfSequence?4() +QtXmlPatterns.QXmlSerializer.outputDevice?4() -> QIODevice +QtXmlPatterns.QXmlSerializer.setCodec?4(QTextCodec) +QtXmlPatterns.QXmlSerializer.codec?4() -> QTextCodec +QtXmlPatterns.QXmlFormatter?1(QXmlQuery, QIODevice) +QtXmlPatterns.QXmlFormatter.__init__?1(self, QXmlQuery, QIODevice) +QtXmlPatterns.QXmlFormatter.characters?4(QStringRef) +QtXmlPatterns.QXmlFormatter.comment?4(QString) +QtXmlPatterns.QXmlFormatter.startElement?4(QXmlName) +QtXmlPatterns.QXmlFormatter.endElement?4() +QtXmlPatterns.QXmlFormatter.attribute?4(QXmlName, QStringRef) +QtXmlPatterns.QXmlFormatter.processingInstruction?4(QXmlName, QString) +QtXmlPatterns.QXmlFormatter.atomicValue?4(QVariant) +QtXmlPatterns.QXmlFormatter.startDocument?4() +QtXmlPatterns.QXmlFormatter.endDocument?4() +QtXmlPatterns.QXmlFormatter.startOfSequence?4() +QtXmlPatterns.QXmlFormatter.endOfSequence?4() +QtXmlPatterns.QXmlFormatter.indentationDepth?4() -> int +QtXmlPatterns.QXmlFormatter.setIndentationDepth?4(int) +QtXmlPatterns.QXmlName?1() +QtXmlPatterns.QXmlName.__init__?1(self) +QtXmlPatterns.QXmlName?1(QXmlNamePool, QString, QString namespaceUri='', QString prefix='') +QtXmlPatterns.QXmlName.__init__?1(self, QXmlNamePool, QString, QString namespaceUri='', QString prefix='') +QtXmlPatterns.QXmlName?1(QXmlName) +QtXmlPatterns.QXmlName.__init__?1(self, QXmlName) +QtXmlPatterns.QXmlName.namespaceUri?4(QXmlNamePool) -> QString +QtXmlPatterns.QXmlName.prefix?4(QXmlNamePool) -> QString +QtXmlPatterns.QXmlName.localName?4(QXmlNamePool) -> QString +QtXmlPatterns.QXmlName.toClarkName?4(QXmlNamePool) -> QString +QtXmlPatterns.QXmlName.isNull?4() -> bool +QtXmlPatterns.QXmlName.isNCName?4(QString) -> bool +QtXmlPatterns.QXmlName.fromClarkName?4(QString, QXmlNamePool) -> QXmlName +QtXmlPatterns.QXmlNamePool?1() +QtXmlPatterns.QXmlNamePool.__init__?1(self) +QtXmlPatterns.QXmlNamePool?1(QXmlNamePool) +QtXmlPatterns.QXmlNamePool.__init__?1(self, QXmlNamePool) +QtXmlPatterns.QXmlQuery.QueryLanguage?10 +QtXmlPatterns.QXmlQuery.QueryLanguage.XQuery10?10 +QtXmlPatterns.QXmlQuery.QueryLanguage.XSLT20?10 +QtXmlPatterns.QXmlQuery?1() +QtXmlPatterns.QXmlQuery.__init__?1(self) +QtXmlPatterns.QXmlQuery?1(QXmlQuery) +QtXmlPatterns.QXmlQuery.__init__?1(self, QXmlQuery) +QtXmlPatterns.QXmlQuery?1(QXmlNamePool) +QtXmlPatterns.QXmlQuery.__init__?1(self, QXmlNamePool) +QtXmlPatterns.QXmlQuery?1(QXmlQuery.QueryLanguage, QXmlNamePool pool=QXmlNamePool()) +QtXmlPatterns.QXmlQuery.__init__?1(self, QXmlQuery.QueryLanguage, QXmlNamePool pool=QXmlNamePool()) +QtXmlPatterns.QXmlQuery.setMessageHandler?4(QAbstractMessageHandler) +QtXmlPatterns.QXmlQuery.messageHandler?4() -> QAbstractMessageHandler +QtXmlPatterns.QXmlQuery.setQuery?4(QString, QUrl documentUri=QUrl()) +QtXmlPatterns.QXmlQuery.setQuery?4(QIODevice, QUrl documentUri=QUrl()) +QtXmlPatterns.QXmlQuery.setQuery?4(QUrl, QUrl baseUri=QUrl()) +QtXmlPatterns.QXmlQuery.namePool?4() -> QXmlNamePool +QtXmlPatterns.QXmlQuery.bindVariable?4(QXmlName, QXmlItem) +QtXmlPatterns.QXmlQuery.bindVariable?4(QXmlName, QIODevice) +QtXmlPatterns.QXmlQuery.bindVariable?4(QXmlName, QXmlQuery) +QtXmlPatterns.QXmlQuery.bindVariable?4(QString, QXmlItem) +QtXmlPatterns.QXmlQuery.bindVariable?4(QString, QIODevice) +QtXmlPatterns.QXmlQuery.bindVariable?4(QString, QXmlQuery) +QtXmlPatterns.QXmlQuery.isValid?4() -> bool +QtXmlPatterns.QXmlQuery.evaluateTo?4(QXmlResultItems) +QtXmlPatterns.QXmlQuery.evaluateTo?4(QAbstractXmlReceiver) -> bool +QtXmlPatterns.QXmlQuery.evaluateToStringList?4() -> object +QtXmlPatterns.QXmlQuery.evaluateTo?4(QIODevice) -> bool +QtXmlPatterns.QXmlQuery.evaluateToString?4() -> object +QtXmlPatterns.QXmlQuery.setUriResolver?4(QAbstractUriResolver) +QtXmlPatterns.QXmlQuery.uriResolver?4() -> QAbstractUriResolver +QtXmlPatterns.QXmlQuery.setFocus?4(QXmlItem) +QtXmlPatterns.QXmlQuery.setFocus?4(QUrl) -> bool +QtXmlPatterns.QXmlQuery.setFocus?4(QIODevice) -> bool +QtXmlPatterns.QXmlQuery.setFocus?4(QString) -> bool +QtXmlPatterns.QXmlQuery.setInitialTemplateName?4(QXmlName) +QtXmlPatterns.QXmlQuery.setInitialTemplateName?4(QString) +QtXmlPatterns.QXmlQuery.initialTemplateName?4() -> QXmlName +QtXmlPatterns.QXmlQuery.setNetworkAccessManager?4(QNetworkAccessManager) +QtXmlPatterns.QXmlQuery.networkAccessManager?4() -> QNetworkAccessManager +QtXmlPatterns.QXmlQuery.queryLanguage?4() -> QXmlQuery.QueryLanguage +QtXmlPatterns.QXmlResultItems?1() +QtXmlPatterns.QXmlResultItems.__init__?1(self) +QtXmlPatterns.QXmlResultItems.hasError?4() -> bool +QtXmlPatterns.QXmlResultItems.next?4() -> QXmlItem +QtXmlPatterns.QXmlResultItems.current?4() -> QXmlItem +QtXmlPatterns.QXmlSchema?1() +QtXmlPatterns.QXmlSchema.__init__?1(self) +QtXmlPatterns.QXmlSchema?1(QXmlSchema) +QtXmlPatterns.QXmlSchema.__init__?1(self, QXmlSchema) +QtXmlPatterns.QXmlSchema.load?4(QUrl) -> bool +QtXmlPatterns.QXmlSchema.load?4(QIODevice, QUrl documentUri=QUrl()) -> bool +QtXmlPatterns.QXmlSchema.load?4(QByteArray, QUrl documentUri=QUrl()) -> bool +QtXmlPatterns.QXmlSchema.isValid?4() -> bool +QtXmlPatterns.QXmlSchema.namePool?4() -> QXmlNamePool +QtXmlPatterns.QXmlSchema.documentUri?4() -> QUrl +QtXmlPatterns.QXmlSchema.setMessageHandler?4(QAbstractMessageHandler) +QtXmlPatterns.QXmlSchema.messageHandler?4() -> QAbstractMessageHandler +QtXmlPatterns.QXmlSchema.setUriResolver?4(QAbstractUriResolver) +QtXmlPatterns.QXmlSchema.uriResolver?4() -> QAbstractUriResolver +QtXmlPatterns.QXmlSchema.setNetworkAccessManager?4(QNetworkAccessManager) +QtXmlPatterns.QXmlSchema.networkAccessManager?4() -> QNetworkAccessManager +QtXmlPatterns.QXmlSchemaValidator?1() +QtXmlPatterns.QXmlSchemaValidator.__init__?1(self) +QtXmlPatterns.QXmlSchemaValidator?1(QXmlSchema) +QtXmlPatterns.QXmlSchemaValidator.__init__?1(self, QXmlSchema) +QtXmlPatterns.QXmlSchemaValidator.setSchema?4(QXmlSchema) +QtXmlPatterns.QXmlSchemaValidator.validate?4(QUrl) -> bool +QtXmlPatterns.QXmlSchemaValidator.validate?4(QIODevice, QUrl documentUri=QUrl()) -> bool +QtXmlPatterns.QXmlSchemaValidator.validate?4(QByteArray, QUrl documentUri=QUrl()) -> bool +QtXmlPatterns.QXmlSchemaValidator.namePool?4() -> QXmlNamePool +QtXmlPatterns.QXmlSchemaValidator.schema?4() -> QXmlSchema +QtXmlPatterns.QXmlSchemaValidator.setMessageHandler?4(QAbstractMessageHandler) +QtXmlPatterns.QXmlSchemaValidator.messageHandler?4() -> QAbstractMessageHandler +QtXmlPatterns.QXmlSchemaValidator.setUriResolver?4(QAbstractUriResolver) +QtXmlPatterns.QXmlSchemaValidator.uriResolver?4() -> QAbstractUriResolver +QtXmlPatterns.QXmlSchemaValidator.setNetworkAccessManager?4(QNetworkAccessManager) +QtXmlPatterns.QXmlSchemaValidator.networkAccessManager?4() -> QNetworkAccessManager diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ar.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ar.qm new file mode 100644 index 00000000..33eda481 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ar.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_bg.qm new file mode 100644 index 00000000..ad48af72 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ca.qm new file mode 100644 index 00000000..ae864657 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_cs.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_cs.qm new file mode 100644 index 00000000..40aec718 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_cs.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_da.qm new file mode 100644 index 00000000..eefbe648 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_de.qm new file mode 100644 index 00000000..2e94a253 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_es.qm new file mode 100644 index 00000000..6957a6ba Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fa.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fa.qm new file mode 100644 index 00000000..15ef2b54 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fa.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fi.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fi.qm new file mode 100644 index 00000000..72518587 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fi.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fr.qm new file mode 100644 index 00000000..151e4d49 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_gd.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_gd.qm new file mode 100644 index 00000000..7b4d0407 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_gd.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_gl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_gl.qm new file mode 100644 index 00000000..52557340 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_gl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_he.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_he.qm new file mode 100644 index 00000000..bdcc6cef Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_he.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ar.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ar.qm new file mode 100644 index 00000000..aa92f02b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ar.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_bg.qm new file mode 100644 index 00000000..c65d2600 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ca.qm new file mode 100644 index 00000000..64ba0a55 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_cs.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_cs.qm new file mode 100644 index 00000000..fd50d843 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_cs.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_da.qm new file mode 100644 index 00000000..2c26d75f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_de.qm new file mode 100644 index 00000000..86340861 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_es.qm new file mode 100644 index 00000000..94e3967d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_fr.qm new file mode 100644 index 00000000..b3fa1646 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_gl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_gl.qm new file mode 100644 index 00000000..aef1ab6d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_gl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_hu.qm new file mode 100644 index 00000000..4af61f43 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_it.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_it.qm new file mode 100644 index 00000000..e3bc2521 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_it.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ja.qm new file mode 100644 index 00000000..e64507aa Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ko.qm new file mode 100644 index 00000000..f6b1d13d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_pl.qm new file mode 100644 index 00000000..c2b82b28 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ru.qm new file mode 100644 index 00000000..2a7d88b7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_sk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_sk.qm new file mode 100644 index 00000000..8a4a4476 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_sk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_sl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_sl.qm new file mode 100644 index 00000000..fd122a6d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_sl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_tr.qm new file mode 100644 index 00000000..5483b56b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_uk.qm new file mode 100644 index 00000000..192d28d8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_zh_CN.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_zh_CN.qm new file mode 100644 index 00000000..bbcab15e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_zh_CN.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_zh_TW.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_zh_TW.qm new file mode 100644 index 00000000..394d0df6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_help_zh_TW.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_hu.qm new file mode 100644 index 00000000..c78fe25f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_it.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_it.qm new file mode 100644 index 00000000..215d45e9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_it.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ja.qm new file mode 100644 index 00000000..aa0e9a6f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ko.qm new file mode 100644 index 00000000..8bc348a3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_lt.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_lt.qm new file mode 100644 index 00000000..e9c36fe4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_lt.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_lv.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_lv.qm new file mode 100644 index 00000000..f30e48ab Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_lv.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_pl.qm new file mode 100644 index 00000000..2156928c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_pt.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_pt.qm new file mode 100644 index 00000000..03353ea8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_pt.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ru.qm new file mode 100644 index 00000000..868886a7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sk.qm new file mode 100644 index 00000000..584a8684 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sl.qm new file mode 100644 index 00000000..bc2073b6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sv.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sv.qm new file mode 100644 index 00000000..294ae141 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_sv.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_tr.qm new file mode 100644 index 00000000..c1b953a7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_uk.qm new file mode 100644 index 00000000..cc60d075 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_zh_CN.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_zh_CN.qm new file mode 100644 index 00000000..77ff1441 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_zh_CN.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_zh_TW.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_zh_TW.qm new file mode 100644 index 00000000..c4b24c61 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qt_zh_TW.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ar.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ar.qm new file mode 100644 index 00000000..32861b81 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ar.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_bg.qm new file mode 100644 index 00000000..faeb1676 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ca.qm new file mode 100644 index 00000000..20b751d4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_cs.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_cs.qm new file mode 100644 index 00000000..459ef266 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_cs.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_da.qm new file mode 100644 index 00000000..4ede24b4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_de.qm new file mode 100644 index 00000000..4a4c988e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_es.qm new file mode 100644 index 00000000..1a131578 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_fi.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_fi.qm new file mode 100644 index 00000000..934aecdd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_fi.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_fr.qm new file mode 100644 index 00000000..009fb5a4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_gd.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_gd.qm new file mode 100644 index 00000000..3fe3841c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_gd.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_he.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_he.qm new file mode 100644 index 00000000..95ed0c70 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_he.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_hu.qm new file mode 100644 index 00000000..e4920a63 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_it.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_it.qm new file mode 100644 index 00000000..a0205781 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_it.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ja.qm new file mode 100644 index 00000000..9cf6069e Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ko.qm new file mode 100644 index 00000000..20e4661c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_lv.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_lv.qm new file mode 100644 index 00000000..f88a761f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_lv.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_pl.qm new file mode 100644 index 00000000..28d4d8fe Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ru.qm new file mode 100644 index 00000000..c1a22864 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_sk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_sk.qm new file mode 100644 index 00000000..55a377e9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_sk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_tr.qm new file mode 100644 index 00000000..3d289bb4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_uk.qm new file mode 100644 index 00000000..21a30389 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_zh_TW.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_zh_TW.qm new file mode 100644 index 00000000..62052980 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtbase_zh_TW.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_bg.qm new file mode 100644 index 00000000..3771f95b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ca.qm new file mode 100644 index 00000000..6925808f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_da.qm new file mode 100644 index 00000000..5ebf0f86 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_de.qm new file mode 100644 index 00000000..76c1b438 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_es.qm new file mode 100644 index 00000000..b08c44f2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_hu.qm new file mode 100644 index 00000000..ef52500c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ko.qm new file mode 100644 index 00000000..d8a5dace Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_pl.qm new file mode 100644 index 00000000..7682a920 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ru.qm new file mode 100644 index 00000000..0a44d0f2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_tr.qm new file mode 100644 index 00000000..36d3e4b1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_uk.qm new file mode 100644 index 00000000..d9a2cf39 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtconnectivity_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_bg.qm new file mode 100644 index 00000000..7e49f829 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_da.qm new file mode 100644 index 00000000..0dabc6b3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_de.qm new file mode 100644 index 00000000..ed7bd249 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_es.qm new file mode 100644 index 00000000..da67b7f7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_fi.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_fi.qm new file mode 100644 index 00000000..cdd21cd8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_fi.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_fr.qm new file mode 100644 index 00000000..22705a63 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_hu.qm new file mode 100644 index 00000000..c554a4fd Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ja.qm new file mode 100644 index 00000000..ff73ef1c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ko.qm new file mode 100644 index 00000000..0b38a861 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_lv.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_lv.qm new file mode 100644 index 00000000..7e88b0dc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_lv.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_pl.qm new file mode 100644 index 00000000..0fbf88f3 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ru.qm new file mode 100644 index 00000000..57b513fc Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_sk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_sk.qm new file mode 100644 index 00000000..d6d21ad0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_sk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_tr.qm new file mode 100644 index 00000000..57179ea7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_uk.qm new file mode 100644 index 00000000..4730edd4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtdeclarative_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_bg.qm new file mode 100644 index 00000000..f56e0e06 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ca.qm new file mode 100644 index 00000000..c899fc32 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_da.qm new file mode 100644 index 00000000..b5e932da Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_de.qm new file mode 100644 index 00000000..0b431ff8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_es.qm new file mode 100644 index 00000000..2b898a96 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_fi.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_fi.qm new file mode 100644 index 00000000..950275f7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_fi.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_fr.qm new file mode 100644 index 00000000..c8f16c34 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_hu.qm new file mode 100644 index 00000000..d7d1f0d8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ko.qm new file mode 100644 index 00000000..18202c93 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_pl.qm new file mode 100644 index 00000000..176a76d1 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ru.qm new file mode 100644 index 00000000..e374246b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_tr.qm new file mode 100644 index 00000000..7b08a71d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_uk.qm new file mode 100644 index 00000000..63438a15 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtlocation_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ar.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ar.qm new file mode 100644 index 00000000..8422ab3b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ar.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_bg.qm new file mode 100644 index 00000000..d3bd8251 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ca.qm new file mode 100644 index 00000000..145a5c64 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_cs.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_cs.qm new file mode 100644 index 00000000..106a5e4d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_cs.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_da.qm new file mode 100644 index 00000000..93247328 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_de.qm new file mode 100644 index 00000000..257aa5de Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_es.qm new file mode 100644 index 00000000..fe500a09 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_fi.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_fi.qm new file mode 100644 index 00000000..2a391971 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_fi.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_fr.qm new file mode 100644 index 00000000..da412e89 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_hu.qm new file mode 100644 index 00000000..9437a8ad Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_it.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_it.qm new file mode 100644 index 00000000..c1060bfb Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_it.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ja.qm new file mode 100644 index 00000000..87af0b9b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ko.qm new file mode 100644 index 00000000..a48156e4 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_pl.qm new file mode 100644 index 00000000..09f3a4af Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ru.qm new file mode 100644 index 00000000..d6baa83b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_sk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_sk.qm new file mode 100644 index 00000000..b9638b53 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_sk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_tr.qm new file mode 100644 index 00000000..5c2646f7 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_uk.qm new file mode 100644 index 00000000..501246e2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_zh_TW.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_zh_TW.qm new file mode 100644 index 00000000..fb4a9f82 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtmultimedia_zh_TW.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ar.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ar.qm new file mode 100644 index 00000000..b6700c10 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ar.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_bg.qm new file mode 100644 index 00000000..4a243cd6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ca.qm new file mode 100644 index 00000000..a16e00b6 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_da.qm new file mode 100644 index 00000000..c0b2e995 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_hu.qm new file mode 100644 index 00000000..951f6ba2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ko.qm new file mode 100644 index 00000000..0589b4be Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_tr.qm new file mode 100644 index 00000000..2030325f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_uk.qm new file mode 100644 index 00000000..8527d06d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_zh_TW.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_zh_TW.qm new file mode 100644 index 00000000..c9e38c3c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols2_zh_TW.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_bg.qm new file mode 100644 index 00000000..47e5864d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ca.qm new file mode 100644 index 00000000..eca75e77 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_da.qm new file mode 100644 index 00000000..7db00f27 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_de.qm new file mode 100644 index 00000000..9616dcfb Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_fi.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_fi.qm new file mode 100644 index 00000000..b733c488 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_fi.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_fr.qm new file mode 100644 index 00000000..a4cd8c9a Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ja.qm new file mode 100644 index 00000000..49efc2e9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ko.qm new file mode 100644 index 00000000..fe604cb8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ru.qm new file mode 100644 index 00000000..d4b5d8b2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_tr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_tr.qm new file mode 100644 index 00000000..f2e86d08 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_tr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_uk.qm new file mode 100644 index 00000000..76e0e86f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_zh_TW.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_zh_TW.qm new file mode 100644 index 00000000..a405d479 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtquickcontrols_zh_TW.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_de.qm new file mode 100644 index 00000000..4f15f641 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_es.qm new file mode 100644 index 00000000..79eb553f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ja.qm new file mode 100644 index 00000000..4199f540 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ko.qm new file mode 100644 index 00000000..7b4feb04 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_pl.qm new file mode 100644 index 00000000..42e9e75d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ru.qm new file mode 100644 index 00000000..043c2dad Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_uk.qm new file mode 100644 index 00000000..bc0b13f2 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtserialport_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ca.qm new file mode 100644 index 00000000..ebe32f4c Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_de.qm new file mode 100644 index 00000000..ab7e3418 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_es.qm new file mode 100644 index 00000000..e26e83de Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_fr.qm new file mode 100644 index 00000000..b86c6173 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ja.qm new file mode 100644 index 00000000..66191e9d Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ko.qm new file mode 100644 index 00000000..939f42bb Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_pl.qm new file mode 100644 index 00000000..0f7d2b42 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ru.qm new file mode 100644 index 00000000..ee6a9cae Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_uk.qm new file mode 100644 index 00000000..3925a64b Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtwebsockets_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_bg.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_bg.qm new file mode 100644 index 00000000..6fdf0305 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_bg.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ca.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ca.qm new file mode 100644 index 00000000..8078d4c8 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ca.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_cs.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_cs.qm new file mode 100644 index 00000000..f06b0a03 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_cs.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_da.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_da.qm new file mode 100644 index 00000000..87ca5229 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_da.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_de.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_de.qm new file mode 100644 index 00000000..6ef0e7cf Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_de.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_en.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_en.qm new file mode 100644 index 00000000..be651eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_en.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý \ No newline at end of file diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_es.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_es.qm new file mode 100644 index 00000000..2769e011 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_es.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_fr.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_fr.qm new file mode 100644 index 00000000..807cbbd0 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_fr.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_hu.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_hu.qm new file mode 100644 index 00000000..ef047fd9 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_hu.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_it.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_it.qm new file mode 100644 index 00000000..79004497 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_it.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ja.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ja.qm new file mode 100644 index 00000000..d3e2f5c5 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ja.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ko.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ko.qm new file mode 100644 index 00000000..d050da0f Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ko.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_pl.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_pl.qm new file mode 100644 index 00000000..bf5fef38 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_pl.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ru.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ru.qm new file mode 100644 index 00000000..b6711eef Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_ru.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_sk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_sk.qm new file mode 100644 index 00000000..51207037 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_sk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_uk.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_uk.qm new file mode 100644 index 00000000..ff8fbe30 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_uk.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_zh_TW.qm b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_zh_TW.qm new file mode 100644 index 00000000..5f46e914 Binary files /dev/null and b/OTHERS/Jarvis/ools/PyQt5/Qt5/translations/qtxmlpatterns_zh_TW.qm differ diff --git a/OTHERS/Jarvis/ools/PyQt5/QtBluetooth.pyi b/OTHERS/Jarvis/ools/PyQt5/QtBluetooth.pyi new file mode 100644 index 00000000..035d7f8c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtBluetooth.pyi @@ -0,0 +1,1367 @@ +# The PEP 484 type hints stub file for the QtBluetooth module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QBluetooth(PyQt5.sip.simplewrapper): + + class AttAccessConstraint(int): + AttAuthorizationRequired = ... # type: QBluetooth.AttAccessConstraint + AttAuthenticationRequired = ... # type: QBluetooth.AttAccessConstraint + AttEncryptionRequired = ... # type: QBluetooth.AttAccessConstraint + + class Security(int): + NoSecurity = ... # type: QBluetooth.Security + Authorization = ... # type: QBluetooth.Security + Authentication = ... # type: QBluetooth.Security + Encryption = ... # type: QBluetooth.Security + Secure = ... # type: QBluetooth.Security + + class SecurityFlags(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QBluetooth.SecurityFlags', 'QBluetooth.Security']) -> None: ... + @typing.overload + def __init__(self, a0: 'QBluetooth.SecurityFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QBluetooth.SecurityFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class AttAccessConstraints(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QBluetooth.AttAccessConstraints', 'QBluetooth.AttAccessConstraint']) -> None: ... + @typing.overload + def __init__(self, a0: 'QBluetooth.AttAccessConstraints') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QBluetooth.AttAccessConstraints': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + +class QBluetoothAddress(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, address: int) -> None: ... + @typing.overload + def __init__(self, address: str) -> None: ... + @typing.overload + def __init__(self, other: 'QBluetoothAddress') -> None: ... + + def toString(self) -> str: ... + def toUInt64(self) -> int: ... + def clear(self) -> None: ... + def isNull(self) -> bool: ... + + +class QBluetoothDeviceDiscoveryAgent(QtCore.QObject): + + class DiscoveryMethod(int): + + class InquiryType(int): + GeneralUnlimitedInquiry = ... # type: QBluetoothDeviceDiscoveryAgent.InquiryType + LimitedInquiry = ... # type: QBluetoothDeviceDiscoveryAgent.InquiryType + + class Error(int): + NoError = ... # type: QBluetoothDeviceDiscoveryAgent.Error + InputOutputError = ... # type: QBluetoothDeviceDiscoveryAgent.Error + PoweredOffError = ... # type: QBluetoothDeviceDiscoveryAgent.Error + InvalidBluetoothAdapterError = ... # type: QBluetoothDeviceDiscoveryAgent.Error + UnsupportedPlatformError = ... # type: QBluetoothDeviceDiscoveryAgent.Error + UnsupportedDiscoveryMethod = ... # type: QBluetoothDeviceDiscoveryAgent.Error + UnknownError = ... # type: QBluetoothDeviceDiscoveryAgent.Error + + class DiscoveryMethods(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QBluetoothDeviceDiscoveryAgent.DiscoveryMethods', 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethod']) -> None: ... + @typing.overload + def __init__(self, a0: 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethods') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethods': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, deviceAdapter: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + @staticmethod + def supportedDiscoveryMethods() -> 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethods': ... + def lowEnergyDiscoveryTimeout(self) -> int: ... + def setLowEnergyDiscoveryTimeout(self, msTimeout: int) -> None: ... + def deviceUpdated(self, info: 'QBluetoothDeviceInfo', updatedFields: typing.Union['QBluetoothDeviceInfo.Fields', 'QBluetoothDeviceInfo.Field']) -> None: ... + def canceled(self) -> None: ... + def finished(self) -> None: ... + def deviceDiscovered(self, info: 'QBluetoothDeviceInfo') -> None: ... + def stop(self) -> None: ... + @typing.overload + def start(self) -> None: ... + @typing.overload + def start(self, method: typing.Union['QBluetoothDeviceDiscoveryAgent.DiscoveryMethods', 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethod']) -> None: ... + def discoveredDevices(self) -> typing.List['QBluetoothDeviceInfo']: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QBluetoothDeviceDiscoveryAgent.Error': ... + @typing.overload + def error(self, error: 'QBluetoothDeviceDiscoveryAgent.Error') -> None: ... + def isActive(self) -> bool: ... + def setInquiryType(self, type: 'QBluetoothDeviceDiscoveryAgent.InquiryType') -> None: ... + def inquiryType(self) -> 'QBluetoothDeviceDiscoveryAgent.InquiryType': ... + + +class QBluetoothDeviceInfo(PyQt5.sip.wrapper): + + class Field(int): + None_ = ... # type: QBluetoothDeviceInfo.Field + RSSI = ... # type: QBluetoothDeviceInfo.Field + ManufacturerData = ... # type: QBluetoothDeviceInfo.Field + All = ... # type: QBluetoothDeviceInfo.Field + + class CoreConfiguration(int): + UnknownCoreConfiguration = ... # type: QBluetoothDeviceInfo.CoreConfiguration + LowEnergyCoreConfiguration = ... # type: QBluetoothDeviceInfo.CoreConfiguration + BaseRateCoreConfiguration = ... # type: QBluetoothDeviceInfo.CoreConfiguration + BaseRateAndLowEnergyCoreConfiguration = ... # type: QBluetoothDeviceInfo.CoreConfiguration + + class DataCompleteness(int): + DataComplete = ... # type: QBluetoothDeviceInfo.DataCompleteness + DataIncomplete = ... # type: QBluetoothDeviceInfo.DataCompleteness + DataUnavailable = ... # type: QBluetoothDeviceInfo.DataCompleteness + + class ServiceClass(int): + NoService = ... # type: QBluetoothDeviceInfo.ServiceClass + PositioningService = ... # type: QBluetoothDeviceInfo.ServiceClass + NetworkingService = ... # type: QBluetoothDeviceInfo.ServiceClass + RenderingService = ... # type: QBluetoothDeviceInfo.ServiceClass + CapturingService = ... # type: QBluetoothDeviceInfo.ServiceClass + ObjectTransferService = ... # type: QBluetoothDeviceInfo.ServiceClass + AudioService = ... # type: QBluetoothDeviceInfo.ServiceClass + TelephonyService = ... # type: QBluetoothDeviceInfo.ServiceClass + InformationService = ... # type: QBluetoothDeviceInfo.ServiceClass + AllServices = ... # type: QBluetoothDeviceInfo.ServiceClass + + class MinorHealthClass(int): + UncategorizedHealthDevice = ... # type: QBluetoothDeviceInfo.MinorHealthClass + HealthBloodPressureMonitor = ... # type: QBluetoothDeviceInfo.MinorHealthClass + HealthThermometer = ... # type: QBluetoothDeviceInfo.MinorHealthClass + HealthWeightScale = ... # type: QBluetoothDeviceInfo.MinorHealthClass + HealthGlucoseMeter = ... # type: QBluetoothDeviceInfo.MinorHealthClass + HealthPulseOximeter = ... # type: QBluetoothDeviceInfo.MinorHealthClass + HealthDataDisplay = ... # type: QBluetoothDeviceInfo.MinorHealthClass + HealthStepCounter = ... # type: QBluetoothDeviceInfo.MinorHealthClass + + class MinorToyClass(int): + UncategorizedToy = ... # type: QBluetoothDeviceInfo.MinorToyClass + ToyRobot = ... # type: QBluetoothDeviceInfo.MinorToyClass + ToyVehicle = ... # type: QBluetoothDeviceInfo.MinorToyClass + ToyDoll = ... # type: QBluetoothDeviceInfo.MinorToyClass + ToyController = ... # type: QBluetoothDeviceInfo.MinorToyClass + ToyGame = ... # type: QBluetoothDeviceInfo.MinorToyClass + + class MinorWearableClass(int): + UncategorizedWearableDevice = ... # type: QBluetoothDeviceInfo.MinorWearableClass + WearableWristWatch = ... # type: QBluetoothDeviceInfo.MinorWearableClass + WearablePager = ... # type: QBluetoothDeviceInfo.MinorWearableClass + WearableJacket = ... # type: QBluetoothDeviceInfo.MinorWearableClass + WearableHelmet = ... # type: QBluetoothDeviceInfo.MinorWearableClass + WearableGlasses = ... # type: QBluetoothDeviceInfo.MinorWearableClass + + class MinorImagingClass(int): + UncategorizedImagingDevice = ... # type: QBluetoothDeviceInfo.MinorImagingClass + ImageDisplay = ... # type: QBluetoothDeviceInfo.MinorImagingClass + ImageCamera = ... # type: QBluetoothDeviceInfo.MinorImagingClass + ImageScanner = ... # type: QBluetoothDeviceInfo.MinorImagingClass + ImagePrinter = ... # type: QBluetoothDeviceInfo.MinorImagingClass + + class MinorPeripheralClass(int): + UncategorizedPeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + KeyboardPeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + PointingDevicePeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + KeyboardWithPointingDevicePeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + JoystickPeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + GamepadPeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + RemoteControlPeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + SensingDevicePeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + DigitizerTabletPeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + CardReaderPeripheral = ... # type: QBluetoothDeviceInfo.MinorPeripheralClass + + class MinorAudioVideoClass(int): + UncategorizedAudioVideoDevice = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + WearableHeadsetDevice = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + HandsFreeDevice = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + Microphone = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + Loudspeaker = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + Headphones = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + PortableAudioDevice = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + CarAudio = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + SetTopBox = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + HiFiAudioDevice = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + Vcr = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + VideoCamera = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + Camcorder = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + VideoMonitor = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + VideoDisplayAndLoudspeaker = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + VideoConferencing = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + GamingDevice = ... # type: QBluetoothDeviceInfo.MinorAudioVideoClass + + class MinorNetworkClass(int): + NetworkFullService = ... # type: QBluetoothDeviceInfo.MinorNetworkClass + NetworkLoadFactorOne = ... # type: QBluetoothDeviceInfo.MinorNetworkClass + NetworkLoadFactorTwo = ... # type: QBluetoothDeviceInfo.MinorNetworkClass + NetworkLoadFactorThree = ... # type: QBluetoothDeviceInfo.MinorNetworkClass + NetworkLoadFactorFour = ... # type: QBluetoothDeviceInfo.MinorNetworkClass + NetworkLoadFactorFive = ... # type: QBluetoothDeviceInfo.MinorNetworkClass + NetworkLoadFactorSix = ... # type: QBluetoothDeviceInfo.MinorNetworkClass + NetworkNoService = ... # type: QBluetoothDeviceInfo.MinorNetworkClass + + class MinorPhoneClass(int): + UncategorizedPhone = ... # type: QBluetoothDeviceInfo.MinorPhoneClass + CellularPhone = ... # type: QBluetoothDeviceInfo.MinorPhoneClass + CordlessPhone = ... # type: QBluetoothDeviceInfo.MinorPhoneClass + SmartPhone = ... # type: QBluetoothDeviceInfo.MinorPhoneClass + WiredModemOrVoiceGatewayPhone = ... # type: QBluetoothDeviceInfo.MinorPhoneClass + CommonIsdnAccessPhone = ... # type: QBluetoothDeviceInfo.MinorPhoneClass + + class MinorComputerClass(int): + UncategorizedComputer = ... # type: QBluetoothDeviceInfo.MinorComputerClass + DesktopComputer = ... # type: QBluetoothDeviceInfo.MinorComputerClass + ServerComputer = ... # type: QBluetoothDeviceInfo.MinorComputerClass + LaptopComputer = ... # type: QBluetoothDeviceInfo.MinorComputerClass + HandheldClamShellComputer = ... # type: QBluetoothDeviceInfo.MinorComputerClass + HandheldComputer = ... # type: QBluetoothDeviceInfo.MinorComputerClass + WearableComputer = ... # type: QBluetoothDeviceInfo.MinorComputerClass + + class MinorMiscellaneousClass(int): + UncategorizedMiscellaneous = ... # type: QBluetoothDeviceInfo.MinorMiscellaneousClass + + class MajorDeviceClass(int): + MiscellaneousDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + ComputerDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + PhoneDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + LANAccessDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + NetworkDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + AudioVideoDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + PeripheralDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + ImagingDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + WearableDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + ToyDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + HealthDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + UncategorizedDevice = ... # type: QBluetoothDeviceInfo.MajorDeviceClass + + class ServiceClasses(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QBluetoothDeviceInfo.ServiceClasses', 'QBluetoothDeviceInfo.ServiceClass']) -> None: ... + @typing.overload + def __init__(self, a0: 'QBluetoothDeviceInfo.ServiceClasses') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QBluetoothDeviceInfo.ServiceClasses': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class CoreConfigurations(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QBluetoothDeviceInfo.CoreConfigurations', 'QBluetoothDeviceInfo.CoreConfiguration']) -> None: ... + @typing.overload + def __init__(self, a0: 'QBluetoothDeviceInfo.CoreConfigurations') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QBluetoothDeviceInfo.CoreConfigurations': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class Fields(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QBluetoothDeviceInfo.Fields', 'QBluetoothDeviceInfo.Field']) -> None: ... + @typing.overload + def __init__(self, a0: 'QBluetoothDeviceInfo.Fields') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QBluetoothDeviceInfo.Fields': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, address: QBluetoothAddress, name: str, classOfDevice: int) -> None: ... + @typing.overload + def __init__(self, uuid: 'QBluetoothUuid', name: str, classOfDevice: int) -> None: ... + @typing.overload + def __init__(self, other: 'QBluetoothDeviceInfo') -> None: ... + + def setManufacturerData(self, manufacturerId: int, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + @typing.overload + def manufacturerData(self, manufacturerId: int) -> QtCore.QByteArray: ... + @typing.overload + def manufacturerData(self) -> typing.Dict[int, QtCore.QByteArray]: ... + def manufacturerIds(self) -> typing.List[int]: ... + def deviceUuid(self) -> 'QBluetoothUuid': ... + def setDeviceUuid(self, uuid: 'QBluetoothUuid') -> None: ... + def coreConfigurations(self) -> 'QBluetoothDeviceInfo.CoreConfigurations': ... + def setCoreConfigurations(self, coreConfigs: typing.Union['QBluetoothDeviceInfo.CoreConfigurations', 'QBluetoothDeviceInfo.CoreConfiguration']) -> None: ... + def serviceUuidsCompleteness(self) -> 'QBluetoothDeviceInfo.DataCompleteness': ... + def serviceUuids(self) -> typing.Tuple[typing.List['QBluetoothUuid'], 'QBluetoothDeviceInfo.DataCompleteness']: ... + @typing.overload + def setServiceUuids(self, uuids: typing.Iterable['QBluetoothUuid'], completeness: 'QBluetoothDeviceInfo.DataCompleteness') -> None: ... + @typing.overload + def setServiceUuids(self, uuids: typing.Iterable['QBluetoothUuid']) -> None: ... + def setRssi(self, signal: int) -> None: ... + def rssi(self) -> int: ... + def minorDeviceClass(self) -> int: ... + def majorDeviceClass(self) -> 'QBluetoothDeviceInfo.MajorDeviceClass': ... + def serviceClasses(self) -> 'QBluetoothDeviceInfo.ServiceClasses': ... + def name(self) -> str: ... + def address(self) -> QBluetoothAddress: ... + def setCached(self, cached: bool) -> None: ... + def isCached(self) -> bool: ... + def isValid(self) -> bool: ... + + +class QBluetoothHostInfo(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QBluetoothHostInfo') -> None: ... + + def setName(self, name: str) -> None: ... + def name(self) -> str: ... + def setAddress(self, address: QBluetoothAddress) -> None: ... + def address(self) -> QBluetoothAddress: ... + + +class QBluetoothLocalDevice(QtCore.QObject): + + class Error(int): + NoError = ... # type: QBluetoothLocalDevice.Error + PairingError = ... # type: QBluetoothLocalDevice.Error + UnknownError = ... # type: QBluetoothLocalDevice.Error + + class HostMode(int): + HostPoweredOff = ... # type: QBluetoothLocalDevice.HostMode + HostConnectable = ... # type: QBluetoothLocalDevice.HostMode + HostDiscoverable = ... # type: QBluetoothLocalDevice.HostMode + HostDiscoverableLimitedInquiry = ... # type: QBluetoothLocalDevice.HostMode + + class Pairing(int): + Unpaired = ... # type: QBluetoothLocalDevice.Pairing + Paired = ... # type: QBluetoothLocalDevice.Pairing + AuthorizedPaired = ... # type: QBluetoothLocalDevice.Pairing + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, address: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def deviceDisconnected(self, address: QBluetoothAddress) -> None: ... + def deviceConnected(self, address: QBluetoothAddress) -> None: ... + def error(self, error: 'QBluetoothLocalDevice.Error') -> None: ... + def pairingDisplayConfirmation(self, address: QBluetoothAddress, pin: str) -> None: ... + def pairingDisplayPinCode(self, address: QBluetoothAddress, pin: str) -> None: ... + def pairingFinished(self, address: QBluetoothAddress, pairing: 'QBluetoothLocalDevice.Pairing') -> None: ... + def hostModeStateChanged(self, state: 'QBluetoothLocalDevice.HostMode') -> None: ... + def pairingConfirmation(self, confirmation: bool) -> None: ... + def connectedDevices(self) -> typing.List[QBluetoothAddress]: ... + @staticmethod + def allDevices() -> typing.List[QBluetoothHostInfo]: ... + def address(self) -> QBluetoothAddress: ... + def name(self) -> str: ... + def powerOn(self) -> None: ... + def hostMode(self) -> 'QBluetoothLocalDevice.HostMode': ... + def setHostMode(self, mode: 'QBluetoothLocalDevice.HostMode') -> None: ... + def pairingStatus(self, address: QBluetoothAddress) -> 'QBluetoothLocalDevice.Pairing': ... + def requestPairing(self, address: QBluetoothAddress, pairing: 'QBluetoothLocalDevice.Pairing') -> None: ... + def isValid(self) -> bool: ... + + +class QBluetoothServer(QtCore.QObject): + + class Error(int): + NoError = ... # type: QBluetoothServer.Error + UnknownError = ... # type: QBluetoothServer.Error + PoweredOffError = ... # type: QBluetoothServer.Error + InputOutputError = ... # type: QBluetoothServer.Error + ServiceAlreadyRegisteredError = ... # type: QBluetoothServer.Error + UnsupportedProtocolError = ... # type: QBluetoothServer.Error + + def __init__(self, serverType: 'QBluetoothServiceInfo.Protocol', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def newConnection(self) -> None: ... + @typing.overload + def error(self) -> 'QBluetoothServer.Error': ... + @typing.overload + def error(self, a0: 'QBluetoothServer.Error') -> None: ... + def serverType(self) -> 'QBluetoothServiceInfo.Protocol': ... + def securityFlags(self) -> QBluetooth.SecurityFlags: ... + def setSecurityFlags(self, security: typing.Union[QBluetooth.SecurityFlags, QBluetooth.Security]) -> None: ... + def serverPort(self) -> int: ... + def serverAddress(self) -> QBluetoothAddress: ... + def nextPendingConnection(self) -> 'QBluetoothSocket': ... + def hasPendingConnections(self) -> bool: ... + def maxPendingConnections(self) -> int: ... + def setMaxPendingConnections(self, numConnections: int) -> None: ... + def isListening(self) -> bool: ... + @typing.overload + def listen(self, address: QBluetoothAddress = ..., port: int = ...) -> bool: ... + @typing.overload + def listen(self, uuid: 'QBluetoothUuid', serviceName: str = ...) -> 'QBluetoothServiceInfo': ... + def close(self) -> None: ... + + +class QBluetoothServiceDiscoveryAgent(QtCore.QObject): + + class DiscoveryMode(int): + MinimalDiscovery = ... # type: QBluetoothServiceDiscoveryAgent.DiscoveryMode + FullDiscovery = ... # type: QBluetoothServiceDiscoveryAgent.DiscoveryMode + + class Error(int): + NoError = ... # type: QBluetoothServiceDiscoveryAgent.Error + InputOutputError = ... # type: QBluetoothServiceDiscoveryAgent.Error + PoweredOffError = ... # type: QBluetoothServiceDiscoveryAgent.Error + InvalidBluetoothAdapterError = ... # type: QBluetoothServiceDiscoveryAgent.Error + UnknownError = ... # type: QBluetoothServiceDiscoveryAgent.Error + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, deviceAdapter: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def canceled(self) -> None: ... + def finished(self) -> None: ... + def serviceDiscovered(self, info: 'QBluetoothServiceInfo') -> None: ... + def clear(self) -> None: ... + def stop(self) -> None: ... + def start(self, mode: 'QBluetoothServiceDiscoveryAgent.DiscoveryMode' = ...) -> None: ... + def remoteAddress(self) -> QBluetoothAddress: ... + def setRemoteAddress(self, address: QBluetoothAddress) -> bool: ... + def uuidFilter(self) -> typing.List['QBluetoothUuid']: ... + @typing.overload + def setUuidFilter(self, uuids: typing.Iterable['QBluetoothUuid']) -> None: ... + @typing.overload + def setUuidFilter(self, uuid: 'QBluetoothUuid') -> None: ... + def discoveredServices(self) -> typing.List['QBluetoothServiceInfo']: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QBluetoothServiceDiscoveryAgent.Error': ... + @typing.overload + def error(self, error: 'QBluetoothServiceDiscoveryAgent.Error') -> None: ... + def isActive(self) -> bool: ... + + +class QBluetoothServiceInfo(PyQt5.sip.wrapper): + + class Protocol(int): + UnknownProtocol = ... # type: QBluetoothServiceInfo.Protocol + L2capProtocol = ... # type: QBluetoothServiceInfo.Protocol + RfcommProtocol = ... # type: QBluetoothServiceInfo.Protocol + + class AttributeId(int): + ServiceRecordHandle = ... # type: QBluetoothServiceInfo.AttributeId + ServiceClassIds = ... # type: QBluetoothServiceInfo.AttributeId + ServiceRecordState = ... # type: QBluetoothServiceInfo.AttributeId + ServiceId = ... # type: QBluetoothServiceInfo.AttributeId + ProtocolDescriptorList = ... # type: QBluetoothServiceInfo.AttributeId + BrowseGroupList = ... # type: QBluetoothServiceInfo.AttributeId + LanguageBaseAttributeIdList = ... # type: QBluetoothServiceInfo.AttributeId + ServiceInfoTimeToLive = ... # type: QBluetoothServiceInfo.AttributeId + ServiceAvailability = ... # type: QBluetoothServiceInfo.AttributeId + BluetoothProfileDescriptorList = ... # type: QBluetoothServiceInfo.AttributeId + DocumentationUrl = ... # type: QBluetoothServiceInfo.AttributeId + ClientExecutableUrl = ... # type: QBluetoothServiceInfo.AttributeId + IconUrl = ... # type: QBluetoothServiceInfo.AttributeId + AdditionalProtocolDescriptorList = ... # type: QBluetoothServiceInfo.AttributeId + PrimaryLanguageBase = ... # type: QBluetoothServiceInfo.AttributeId + ServiceName = ... # type: QBluetoothServiceInfo.AttributeId + ServiceDescription = ... # type: QBluetoothServiceInfo.AttributeId + ServiceProvider = ... # type: QBluetoothServiceInfo.AttributeId + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QBluetoothServiceInfo') -> None: ... + + def serviceClassUuids(self) -> typing.List['QBluetoothUuid']: ... + def serviceUuid(self) -> 'QBluetoothUuid': ... + def setServiceUuid(self, uuid: 'QBluetoothUuid') -> None: ... + def serviceAvailability(self) -> int: ... + def setServiceAvailability(self, availability: int) -> None: ... + def serviceProvider(self) -> str: ... + def setServiceProvider(self, provider: str) -> None: ... + def serviceDescription(self) -> str: ... + def setServiceDescription(self, description: str) -> None: ... + def serviceName(self) -> str: ... + def setServiceName(self, name: str) -> None: ... + @typing.overload + def setAttribute(self, attributeId: int, value: 'QBluetoothUuid') -> None: ... + @typing.overload + def setAttribute(self, attributeId: int, value: typing.Iterable[typing.Any]) -> None: ... + @typing.overload + def setAttribute(self, attributeId: int, value: typing.Any) -> None: ... + def unregisterService(self) -> bool: ... + def registerService(self, localAdapter: QBluetoothAddress = ...) -> bool: ... + def isRegistered(self) -> bool: ... + def protocolDescriptor(self, protocol: 'QBluetoothUuid.ProtocolUuid') -> typing.List[typing.Any]: ... + def serverChannel(self) -> int: ... + def protocolServiceMultiplexer(self) -> int: ... + def socketProtocol(self) -> 'QBluetoothServiceInfo.Protocol': ... + def removeAttribute(self, attributeId: int) -> None: ... + def contains(self, attributeId: int) -> bool: ... + def attributes(self) -> typing.List[int]: ... + def attribute(self, attributeId: int) -> typing.Any: ... + def device(self) -> QBluetoothDeviceInfo: ... + def setDevice(self, info: QBluetoothDeviceInfo) -> None: ... + def isComplete(self) -> bool: ... + def isValid(self) -> bool: ... + + +class QBluetoothSocket(QtCore.QIODevice): + + class SocketError(int): + NoSocketError = ... # type: QBluetoothSocket.SocketError + UnknownSocketError = ... # type: QBluetoothSocket.SocketError + HostNotFoundError = ... # type: QBluetoothSocket.SocketError + ServiceNotFoundError = ... # type: QBluetoothSocket.SocketError + NetworkError = ... # type: QBluetoothSocket.SocketError + UnsupportedProtocolError = ... # type: QBluetoothSocket.SocketError + OperationError = ... # type: QBluetoothSocket.SocketError + RemoteHostClosedError = ... # type: QBluetoothSocket.SocketError + + class SocketState(int): + UnconnectedState = ... # type: QBluetoothSocket.SocketState + ServiceLookupState = ... # type: QBluetoothSocket.SocketState + ConnectingState = ... # type: QBluetoothSocket.SocketState + ConnectedState = ... # type: QBluetoothSocket.SocketState + BoundState = ... # type: QBluetoothSocket.SocketState + ClosingState = ... # type: QBluetoothSocket.SocketState + ListeningState = ... # type: QBluetoothSocket.SocketState + + @typing.overload + def __init__(self, socketType: QBluetoothServiceInfo.Protocol, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def preferredSecurityFlags(self) -> QBluetooth.SecurityFlags: ... + def setPreferredSecurityFlags(self, flags: typing.Union[QBluetooth.SecurityFlags, QBluetooth.Security]) -> None: ... + def doDeviceDiscovery(self, service: QBluetoothServiceInfo, openMode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag]) -> None: ... + def setSocketError(self, error: 'QBluetoothSocket.SocketError') -> None: ... + def setSocketState(self, state: 'QBluetoothSocket.SocketState') -> None: ... + def writeData(self, data: bytes) -> int: ... + def readData(self, maxlen: int) -> bytes: ... + def stateChanged(self, state: 'QBluetoothSocket.SocketState') -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QBluetoothSocket.SocketError': ... + @typing.overload + def error(self, error: 'QBluetoothSocket.SocketError') -> None: ... + def state(self) -> 'QBluetoothSocket.SocketState': ... + def socketType(self) -> QBluetoothServiceInfo.Protocol: ... + def socketDescriptor(self) -> int: ... + def setSocketDescriptor(self, socketDescriptor: int, socketType: QBluetoothServiceInfo.Protocol, state: 'QBluetoothSocket.SocketState' = ..., mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> bool: ... + def peerPort(self) -> int: ... + def peerAddress(self) -> QBluetoothAddress: ... + def peerName(self) -> str: ... + def localPort(self) -> int: ... + def localAddress(self) -> QBluetoothAddress: ... + def localName(self) -> str: ... + def disconnectFromService(self) -> None: ... + @typing.overload + def connectToService(self, service: QBluetoothServiceInfo, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> None: ... + @typing.overload + def connectToService(self, address: QBluetoothAddress, uuid: 'QBluetoothUuid', mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> None: ... + @typing.overload + def connectToService(self, address: QBluetoothAddress, port: int, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> None: ... + def canReadLine(self) -> bool: ... + def bytesToWrite(self) -> int: ... + def bytesAvailable(self) -> int: ... + def isSequential(self) -> bool: ... + def close(self) -> None: ... + def abort(self) -> None: ... + + +class QBluetoothTransferManager(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def finished(self, reply: 'QBluetoothTransferReply') -> None: ... + def put(self, request: 'QBluetoothTransferRequest', data: QtCore.QIODevice) -> 'QBluetoothTransferReply': ... + + +class QBluetoothTransferReply(QtCore.QObject): + + class TransferError(int): + NoError = ... # type: QBluetoothTransferReply.TransferError + UnknownError = ... # type: QBluetoothTransferReply.TransferError + FileNotFoundError = ... # type: QBluetoothTransferReply.TransferError + HostNotFoundError = ... # type: QBluetoothTransferReply.TransferError + UserCanceledTransferError = ... # type: QBluetoothTransferReply.TransferError + IODeviceNotReadableError = ... # type: QBluetoothTransferReply.TransferError + ResourceBusyError = ... # type: QBluetoothTransferReply.TransferError + SessionError = ... # type: QBluetoothTransferReply.TransferError + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setRequest(self, request: 'QBluetoothTransferRequest') -> None: ... + def setManager(self, manager: QBluetoothTransferManager) -> None: ... + def transferProgress(self, bytesTransferred: int, bytesTotal: int) -> None: ... + def finished(self, a0: 'QBluetoothTransferReply') -> None: ... + def abort(self) -> None: ... + def request(self) -> 'QBluetoothTransferRequest': ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QBluetoothTransferReply.TransferError': ... + @typing.overload + def error(self, lastError: 'QBluetoothTransferReply.TransferError') -> None: ... + def manager(self) -> QBluetoothTransferManager: ... + def isRunning(self) -> bool: ... + def isFinished(self) -> bool: ... + + +class QBluetoothTransferRequest(PyQt5.sip.wrapper): + + class Attribute(int): + DescriptionAttribute = ... # type: QBluetoothTransferRequest.Attribute + TimeAttribute = ... # type: QBluetoothTransferRequest.Attribute + TypeAttribute = ... # type: QBluetoothTransferRequest.Attribute + LengthAttribute = ... # type: QBluetoothTransferRequest.Attribute + NameAttribute = ... # type: QBluetoothTransferRequest.Attribute + + @typing.overload + def __init__(self, address: QBluetoothAddress = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QBluetoothTransferRequest') -> None: ... + + def address(self) -> QBluetoothAddress: ... + def setAttribute(self, code: 'QBluetoothTransferRequest.Attribute', value: typing.Any) -> None: ... + def attribute(self, code: 'QBluetoothTransferRequest.Attribute', defaultValue: typing.Any = ...) -> typing.Any: ... + + +class QBluetoothUuid(QtCore.QUuid): + + class DescriptorType(int): + UnknownDescriptorType = ... # type: QBluetoothUuid.DescriptorType + CharacteristicExtendedProperties = ... # type: QBluetoothUuid.DescriptorType + CharacteristicUserDescription = ... # type: QBluetoothUuid.DescriptorType + ClientCharacteristicConfiguration = ... # type: QBluetoothUuid.DescriptorType + ServerCharacteristicConfiguration = ... # type: QBluetoothUuid.DescriptorType + CharacteristicPresentationFormat = ... # type: QBluetoothUuid.DescriptorType + CharacteristicAggregateFormat = ... # type: QBluetoothUuid.DescriptorType + ValidRange = ... # type: QBluetoothUuid.DescriptorType + ExternalReportReference = ... # type: QBluetoothUuid.DescriptorType + ReportReference = ... # type: QBluetoothUuid.DescriptorType + EnvironmentalSensingConfiguration = ... # type: QBluetoothUuid.DescriptorType + EnvironmentalSensingMeasurement = ... # type: QBluetoothUuid.DescriptorType + EnvironmentalSensingTriggerSetting = ... # type: QBluetoothUuid.DescriptorType + + class CharacteristicType(int): + DeviceName = ... # type: QBluetoothUuid.CharacteristicType + Appearance = ... # type: QBluetoothUuid.CharacteristicType + PeripheralPrivacyFlag = ... # type: QBluetoothUuid.CharacteristicType + ReconnectionAddress = ... # type: QBluetoothUuid.CharacteristicType + PeripheralPreferredConnectionParameters = ... # type: QBluetoothUuid.CharacteristicType + ServiceChanged = ... # type: QBluetoothUuid.CharacteristicType + AlertLevel = ... # type: QBluetoothUuid.CharacteristicType + TxPowerLevel = ... # type: QBluetoothUuid.CharacteristicType + DateTime = ... # type: QBluetoothUuid.CharacteristicType + DayOfWeek = ... # type: QBluetoothUuid.CharacteristicType + DayDateTime = ... # type: QBluetoothUuid.CharacteristicType + ExactTime256 = ... # type: QBluetoothUuid.CharacteristicType + DSTOffset = ... # type: QBluetoothUuid.CharacteristicType + TimeZone = ... # type: QBluetoothUuid.CharacteristicType + LocalTimeInformation = ... # type: QBluetoothUuid.CharacteristicType + TimeWithDST = ... # type: QBluetoothUuid.CharacteristicType + TimeAccuracy = ... # type: QBluetoothUuid.CharacteristicType + TimeSource = ... # type: QBluetoothUuid.CharacteristicType + ReferenceTimeInformation = ... # type: QBluetoothUuid.CharacteristicType + TimeUpdateControlPoint = ... # type: QBluetoothUuid.CharacteristicType + TimeUpdateState = ... # type: QBluetoothUuid.CharacteristicType + GlucoseMeasurement = ... # type: QBluetoothUuid.CharacteristicType + BatteryLevel = ... # type: QBluetoothUuid.CharacteristicType + TemperatureMeasurement = ... # type: QBluetoothUuid.CharacteristicType + TemperatureType = ... # type: QBluetoothUuid.CharacteristicType + IntermediateTemperature = ... # type: QBluetoothUuid.CharacteristicType + MeasurementInterval = ... # type: QBluetoothUuid.CharacteristicType + BootKeyboardInputReport = ... # type: QBluetoothUuid.CharacteristicType + SystemID = ... # type: QBluetoothUuid.CharacteristicType + ModelNumberString = ... # type: QBluetoothUuid.CharacteristicType + SerialNumberString = ... # type: QBluetoothUuid.CharacteristicType + FirmwareRevisionString = ... # type: QBluetoothUuid.CharacteristicType + HardwareRevisionString = ... # type: QBluetoothUuid.CharacteristicType + SoftwareRevisionString = ... # type: QBluetoothUuid.CharacteristicType + ManufacturerNameString = ... # type: QBluetoothUuid.CharacteristicType + IEEE1107320601RegulatoryCertificationDataList = ... # type: QBluetoothUuid.CharacteristicType + CurrentTime = ... # type: QBluetoothUuid.CharacteristicType + ScanRefresh = ... # type: QBluetoothUuid.CharacteristicType + BootKeyboardOutputReport = ... # type: QBluetoothUuid.CharacteristicType + BootMouseInputReport = ... # type: QBluetoothUuid.CharacteristicType + GlucoseMeasurementContext = ... # type: QBluetoothUuid.CharacteristicType + BloodPressureMeasurement = ... # type: QBluetoothUuid.CharacteristicType + IntermediateCuffPressure = ... # type: QBluetoothUuid.CharacteristicType + HeartRateMeasurement = ... # type: QBluetoothUuid.CharacteristicType + BodySensorLocation = ... # type: QBluetoothUuid.CharacteristicType + HeartRateControlPoint = ... # type: QBluetoothUuid.CharacteristicType + AlertStatus = ... # type: QBluetoothUuid.CharacteristicType + RingerControlPoint = ... # type: QBluetoothUuid.CharacteristicType + RingerSetting = ... # type: QBluetoothUuid.CharacteristicType + AlertCategoryIDBitMask = ... # type: QBluetoothUuid.CharacteristicType + AlertCategoryID = ... # type: QBluetoothUuid.CharacteristicType + AlertNotificationControlPoint = ... # type: QBluetoothUuid.CharacteristicType + UnreadAlertStatus = ... # type: QBluetoothUuid.CharacteristicType + NewAlert = ... # type: QBluetoothUuid.CharacteristicType + SupportedNewAlertCategory = ... # type: QBluetoothUuid.CharacteristicType + SupportedUnreadAlertCategory = ... # type: QBluetoothUuid.CharacteristicType + BloodPressureFeature = ... # type: QBluetoothUuid.CharacteristicType + HIDInformation = ... # type: QBluetoothUuid.CharacteristicType + ReportMap = ... # type: QBluetoothUuid.CharacteristicType + HIDControlPoint = ... # type: QBluetoothUuid.CharacteristicType + Report = ... # type: QBluetoothUuid.CharacteristicType + ProtocolMode = ... # type: QBluetoothUuid.CharacteristicType + ScanIntervalWindow = ... # type: QBluetoothUuid.CharacteristicType + PnPID = ... # type: QBluetoothUuid.CharacteristicType + GlucoseFeature = ... # type: QBluetoothUuid.CharacteristicType + RecordAccessControlPoint = ... # type: QBluetoothUuid.CharacteristicType + RSCMeasurement = ... # type: QBluetoothUuid.CharacteristicType + RSCFeature = ... # type: QBluetoothUuid.CharacteristicType + SCControlPoint = ... # type: QBluetoothUuid.CharacteristicType + CSCMeasurement = ... # type: QBluetoothUuid.CharacteristicType + CSCFeature = ... # type: QBluetoothUuid.CharacteristicType + SensorLocation = ... # type: QBluetoothUuid.CharacteristicType + CyclingPowerMeasurement = ... # type: QBluetoothUuid.CharacteristicType + CyclingPowerVector = ... # type: QBluetoothUuid.CharacteristicType + CyclingPowerFeature = ... # type: QBluetoothUuid.CharacteristicType + CyclingPowerControlPoint = ... # type: QBluetoothUuid.CharacteristicType + LocationAndSpeed = ... # type: QBluetoothUuid.CharacteristicType + Navigation = ... # type: QBluetoothUuid.CharacteristicType + PositionQuality = ... # type: QBluetoothUuid.CharacteristicType + LNFeature = ... # type: QBluetoothUuid.CharacteristicType + LNControlPoint = ... # type: QBluetoothUuid.CharacteristicType + MagneticDeclination = ... # type: QBluetoothUuid.CharacteristicType + Elevation = ... # type: QBluetoothUuid.CharacteristicType + Pressure = ... # type: QBluetoothUuid.CharacteristicType + Temperature = ... # type: QBluetoothUuid.CharacteristicType + Humidity = ... # type: QBluetoothUuid.CharacteristicType + TrueWindSpeed = ... # type: QBluetoothUuid.CharacteristicType + TrueWindDirection = ... # type: QBluetoothUuid.CharacteristicType + ApparentWindSpeed = ... # type: QBluetoothUuid.CharacteristicType + ApparentWindDirection = ... # type: QBluetoothUuid.CharacteristicType + GustFactor = ... # type: QBluetoothUuid.CharacteristicType + PollenConcentration = ... # type: QBluetoothUuid.CharacteristicType + UVIndex = ... # type: QBluetoothUuid.CharacteristicType + Irradiance = ... # type: QBluetoothUuid.CharacteristicType + Rainfall = ... # type: QBluetoothUuid.CharacteristicType + WindChill = ... # type: QBluetoothUuid.CharacteristicType + HeatIndex = ... # type: QBluetoothUuid.CharacteristicType + DewPoint = ... # type: QBluetoothUuid.CharacteristicType + DescriptorValueChanged = ... # type: QBluetoothUuid.CharacteristicType + AerobicHeartRateLowerLimit = ... # type: QBluetoothUuid.CharacteristicType + AerobicThreshold = ... # type: QBluetoothUuid.CharacteristicType + Age = ... # type: QBluetoothUuid.CharacteristicType + AnaerobicHeartRateLowerLimit = ... # type: QBluetoothUuid.CharacteristicType + AnaerobicHeartRateUpperLimit = ... # type: QBluetoothUuid.CharacteristicType + AnaerobicThreshold = ... # type: QBluetoothUuid.CharacteristicType + AerobicHeartRateUpperLimit = ... # type: QBluetoothUuid.CharacteristicType + DateOfBirth = ... # type: QBluetoothUuid.CharacteristicType + DateOfThresholdAssessment = ... # type: QBluetoothUuid.CharacteristicType + EmailAddress = ... # type: QBluetoothUuid.CharacteristicType + FatBurnHeartRateLowerLimit = ... # type: QBluetoothUuid.CharacteristicType + FatBurnHeartRateUpperLimit = ... # type: QBluetoothUuid.CharacteristicType + FirstName = ... # type: QBluetoothUuid.CharacteristicType + FiveZoneHeartRateLimits = ... # type: QBluetoothUuid.CharacteristicType + Gender = ... # type: QBluetoothUuid.CharacteristicType + HeartRateMax = ... # type: QBluetoothUuid.CharacteristicType + Height = ... # type: QBluetoothUuid.CharacteristicType + HipCircumference = ... # type: QBluetoothUuid.CharacteristicType + LastName = ... # type: QBluetoothUuid.CharacteristicType + MaximumRecommendedHeartRate = ... # type: QBluetoothUuid.CharacteristicType + RestingHeartRate = ... # type: QBluetoothUuid.CharacteristicType + SportTypeForAerobicAnaerobicThresholds = ... # type: QBluetoothUuid.CharacteristicType + ThreeZoneHeartRateLimits = ... # type: QBluetoothUuid.CharacteristicType + TwoZoneHeartRateLimits = ... # type: QBluetoothUuid.CharacteristicType + VO2Max = ... # type: QBluetoothUuid.CharacteristicType + WaistCircumference = ... # type: QBluetoothUuid.CharacteristicType + Weight = ... # type: QBluetoothUuid.CharacteristicType + DatabaseChangeIncrement = ... # type: QBluetoothUuid.CharacteristicType + UserIndex = ... # type: QBluetoothUuid.CharacteristicType + BodyCompositionFeature = ... # type: QBluetoothUuid.CharacteristicType + BodyCompositionMeasurement = ... # type: QBluetoothUuid.CharacteristicType + WeightMeasurement = ... # type: QBluetoothUuid.CharacteristicType + WeightScaleFeature = ... # type: QBluetoothUuid.CharacteristicType + UserControlPoint = ... # type: QBluetoothUuid.CharacteristicType + MagneticFluxDensity2D = ... # type: QBluetoothUuid.CharacteristicType + MagneticFluxDensity3D = ... # type: QBluetoothUuid.CharacteristicType + Language = ... # type: QBluetoothUuid.CharacteristicType + BarometricPressureTrend = ... # type: QBluetoothUuid.CharacteristicType + + class ServiceClassUuid(int): + ServiceDiscoveryServer = ... # type: QBluetoothUuid.ServiceClassUuid + BrowseGroupDescriptor = ... # type: QBluetoothUuid.ServiceClassUuid + PublicBrowseGroup = ... # type: QBluetoothUuid.ServiceClassUuid + SerialPort = ... # type: QBluetoothUuid.ServiceClassUuid + LANAccessUsingPPP = ... # type: QBluetoothUuid.ServiceClassUuid + DialupNetworking = ... # type: QBluetoothUuid.ServiceClassUuid + IrMCSync = ... # type: QBluetoothUuid.ServiceClassUuid + ObexObjectPush = ... # type: QBluetoothUuid.ServiceClassUuid + OBEXFileTransfer = ... # type: QBluetoothUuid.ServiceClassUuid + IrMCSyncCommand = ... # type: QBluetoothUuid.ServiceClassUuid + Headset = ... # type: QBluetoothUuid.ServiceClassUuid + AudioSource = ... # type: QBluetoothUuid.ServiceClassUuid + AudioSink = ... # type: QBluetoothUuid.ServiceClassUuid + AV_RemoteControlTarget = ... # type: QBluetoothUuid.ServiceClassUuid + AdvancedAudioDistribution = ... # type: QBluetoothUuid.ServiceClassUuid + AV_RemoteControl = ... # type: QBluetoothUuid.ServiceClassUuid + AV_RemoteControlController = ... # type: QBluetoothUuid.ServiceClassUuid + HeadsetAG = ... # type: QBluetoothUuid.ServiceClassUuid + PANU = ... # type: QBluetoothUuid.ServiceClassUuid + NAP = ... # type: QBluetoothUuid.ServiceClassUuid + GN = ... # type: QBluetoothUuid.ServiceClassUuid + DirectPrinting = ... # type: QBluetoothUuid.ServiceClassUuid + ReferencePrinting = ... # type: QBluetoothUuid.ServiceClassUuid + ImagingResponder = ... # type: QBluetoothUuid.ServiceClassUuid + ImagingAutomaticArchive = ... # type: QBluetoothUuid.ServiceClassUuid + ImagingReferenceObjects = ... # type: QBluetoothUuid.ServiceClassUuid + Handsfree = ... # type: QBluetoothUuid.ServiceClassUuid + HandsfreeAudioGateway = ... # type: QBluetoothUuid.ServiceClassUuid + DirectPrintingReferenceObjectsService = ... # type: QBluetoothUuid.ServiceClassUuid + ReflectedUI = ... # type: QBluetoothUuid.ServiceClassUuid + BasicPrinting = ... # type: QBluetoothUuid.ServiceClassUuid + PrintingStatus = ... # type: QBluetoothUuid.ServiceClassUuid + HumanInterfaceDeviceService = ... # type: QBluetoothUuid.ServiceClassUuid + HardcopyCableReplacement = ... # type: QBluetoothUuid.ServiceClassUuid + HCRPrint = ... # type: QBluetoothUuid.ServiceClassUuid + HCRScan = ... # type: QBluetoothUuid.ServiceClassUuid + SIMAccess = ... # type: QBluetoothUuid.ServiceClassUuid + PhonebookAccessPCE = ... # type: QBluetoothUuid.ServiceClassUuid + PhonebookAccessPSE = ... # type: QBluetoothUuid.ServiceClassUuid + PhonebookAccess = ... # type: QBluetoothUuid.ServiceClassUuid + HeadsetHS = ... # type: QBluetoothUuid.ServiceClassUuid + MessageAccessServer = ... # type: QBluetoothUuid.ServiceClassUuid + MessageNotificationServer = ... # type: QBluetoothUuid.ServiceClassUuid + MessageAccessProfile = ... # type: QBluetoothUuid.ServiceClassUuid + PnPInformation = ... # type: QBluetoothUuid.ServiceClassUuid + GenericNetworking = ... # type: QBluetoothUuid.ServiceClassUuid + GenericFileTransfer = ... # type: QBluetoothUuid.ServiceClassUuid + GenericAudio = ... # type: QBluetoothUuid.ServiceClassUuid + GenericTelephony = ... # type: QBluetoothUuid.ServiceClassUuid + VideoSource = ... # type: QBluetoothUuid.ServiceClassUuid + VideoSink = ... # type: QBluetoothUuid.ServiceClassUuid + VideoDistribution = ... # type: QBluetoothUuid.ServiceClassUuid + HDP = ... # type: QBluetoothUuid.ServiceClassUuid + HDPSource = ... # type: QBluetoothUuid.ServiceClassUuid + HDPSink = ... # type: QBluetoothUuid.ServiceClassUuid + BasicImage = ... # type: QBluetoothUuid.ServiceClassUuid + GNSS = ... # type: QBluetoothUuid.ServiceClassUuid + GNSSServer = ... # type: QBluetoothUuid.ServiceClassUuid + Display3D = ... # type: QBluetoothUuid.ServiceClassUuid + Glasses3D = ... # type: QBluetoothUuid.ServiceClassUuid + Synchronization3D = ... # type: QBluetoothUuid.ServiceClassUuid + MPSProfile = ... # type: QBluetoothUuid.ServiceClassUuid + MPSService = ... # type: QBluetoothUuid.ServiceClassUuid + GenericAccess = ... # type: QBluetoothUuid.ServiceClassUuid + GenericAttribute = ... # type: QBluetoothUuid.ServiceClassUuid + ImmediateAlert = ... # type: QBluetoothUuid.ServiceClassUuid + LinkLoss = ... # type: QBluetoothUuid.ServiceClassUuid + TxPower = ... # type: QBluetoothUuid.ServiceClassUuid + CurrentTimeService = ... # type: QBluetoothUuid.ServiceClassUuid + ReferenceTimeUpdateService = ... # type: QBluetoothUuid.ServiceClassUuid + NextDSTChangeService = ... # type: QBluetoothUuid.ServiceClassUuid + Glucose = ... # type: QBluetoothUuid.ServiceClassUuid + HealthThermometer = ... # type: QBluetoothUuid.ServiceClassUuid + DeviceInformation = ... # type: QBluetoothUuid.ServiceClassUuid + HeartRate = ... # type: QBluetoothUuid.ServiceClassUuid + PhoneAlertStatusService = ... # type: QBluetoothUuid.ServiceClassUuid + BatteryService = ... # type: QBluetoothUuid.ServiceClassUuid + BloodPressure = ... # type: QBluetoothUuid.ServiceClassUuid + AlertNotificationService = ... # type: QBluetoothUuid.ServiceClassUuid + HumanInterfaceDevice = ... # type: QBluetoothUuid.ServiceClassUuid + ScanParameters = ... # type: QBluetoothUuid.ServiceClassUuid + RunningSpeedAndCadence = ... # type: QBluetoothUuid.ServiceClassUuid + CyclingSpeedAndCadence = ... # type: QBluetoothUuid.ServiceClassUuid + CyclingPower = ... # type: QBluetoothUuid.ServiceClassUuid + LocationAndNavigation = ... # type: QBluetoothUuid.ServiceClassUuid + EnvironmentalSensing = ... # type: QBluetoothUuid.ServiceClassUuid + BodyComposition = ... # type: QBluetoothUuid.ServiceClassUuid + UserData = ... # type: QBluetoothUuid.ServiceClassUuid + WeightScale = ... # type: QBluetoothUuid.ServiceClassUuid + BondManagement = ... # type: QBluetoothUuid.ServiceClassUuid + ContinuousGlucoseMonitoring = ... # type: QBluetoothUuid.ServiceClassUuid + + class ProtocolUuid(int): + Sdp = ... # type: QBluetoothUuid.ProtocolUuid + Udp = ... # type: QBluetoothUuid.ProtocolUuid + Rfcomm = ... # type: QBluetoothUuid.ProtocolUuid + Tcp = ... # type: QBluetoothUuid.ProtocolUuid + TcsBin = ... # type: QBluetoothUuid.ProtocolUuid + TcsAt = ... # type: QBluetoothUuid.ProtocolUuid + Att = ... # type: QBluetoothUuid.ProtocolUuid + Obex = ... # type: QBluetoothUuid.ProtocolUuid + Ip = ... # type: QBluetoothUuid.ProtocolUuid + Ftp = ... # type: QBluetoothUuid.ProtocolUuid + Http = ... # type: QBluetoothUuid.ProtocolUuid + Wsp = ... # type: QBluetoothUuid.ProtocolUuid + Bnep = ... # type: QBluetoothUuid.ProtocolUuid + Upnp = ... # type: QBluetoothUuid.ProtocolUuid + Hidp = ... # type: QBluetoothUuid.ProtocolUuid + HardcopyControlChannel = ... # type: QBluetoothUuid.ProtocolUuid + HardcopyDataChannel = ... # type: QBluetoothUuid.ProtocolUuid + HardcopyNotification = ... # type: QBluetoothUuid.ProtocolUuid + Avctp = ... # type: QBluetoothUuid.ProtocolUuid + Avdtp = ... # type: QBluetoothUuid.ProtocolUuid + Cmtp = ... # type: QBluetoothUuid.ProtocolUuid + UdiCPlain = ... # type: QBluetoothUuid.ProtocolUuid + McapControlChannel = ... # type: QBluetoothUuid.ProtocolUuid + McapDataChannel = ... # type: QBluetoothUuid.ProtocolUuid + L2cap = ... # type: QBluetoothUuid.ProtocolUuid + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, uuid: int) -> None: ... + @typing.overload + def __init__(self, uuid: typing.Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]) -> None: ... + @typing.overload + def __init__(self, uuid: str) -> None: ... + @typing.overload + def __init__(self, uuid: 'QBluetoothUuid') -> None: ... + @typing.overload + def __init__(self, uuid: QtCore.QUuid) -> None: ... + + @staticmethod + def descriptorToString(uuid: 'QBluetoothUuid.DescriptorType') -> str: ... + @staticmethod + def characteristicToString(uuid: 'QBluetoothUuid.CharacteristicType') -> str: ... + @staticmethod + def protocolToString(uuid: 'QBluetoothUuid.ProtocolUuid') -> str: ... + @staticmethod + def serviceClassToString(uuid: 'QBluetoothUuid.ServiceClassUuid') -> str: ... + def toUInt128(self) -> typing.Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]: ... + def toUInt32(self) -> typing.Tuple[int, bool]: ... + def toUInt16(self) -> typing.Tuple[int, bool]: ... + def minimumSize(self) -> int: ... + + +class QLowEnergyAdvertisingData(PyQt5.sip.wrapper): + + class Discoverability(int): + DiscoverabilityNone = ... # type: QLowEnergyAdvertisingData.Discoverability + DiscoverabilityLimited = ... # type: QLowEnergyAdvertisingData.Discoverability + DiscoverabilityGeneral = ... # type: QLowEnergyAdvertisingData.Discoverability + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QLowEnergyAdvertisingData') -> None: ... + + def swap(self, other: 'QLowEnergyAdvertisingData') -> None: ... + def rawData(self) -> QtCore.QByteArray: ... + def setRawData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def services(self) -> typing.List[QBluetoothUuid]: ... + def setServices(self, services: typing.Iterable[QBluetoothUuid]) -> None: ... + def discoverability(self) -> 'QLowEnergyAdvertisingData.Discoverability': ... + def setDiscoverability(self, mode: 'QLowEnergyAdvertisingData.Discoverability') -> None: ... + def includePowerLevel(self) -> bool: ... + def setIncludePowerLevel(self, doInclude: bool) -> None: ... + def manufacturerData(self) -> QtCore.QByteArray: ... + def manufacturerId(self) -> int: ... + def setManufacturerData(self, id: int, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + @staticmethod + def invalidManufacturerId() -> int: ... + def localName(self) -> str: ... + def setLocalName(self, name: str) -> None: ... + + +class QLowEnergyAdvertisingParameters(PyQt5.sip.wrapper): + + class FilterPolicy(int): + IgnoreWhiteList = ... # type: QLowEnergyAdvertisingParameters.FilterPolicy + UseWhiteListForScanning = ... # type: QLowEnergyAdvertisingParameters.FilterPolicy + UseWhiteListForConnecting = ... # type: QLowEnergyAdvertisingParameters.FilterPolicy + UseWhiteListForScanningAndConnecting = ... # type: QLowEnergyAdvertisingParameters.FilterPolicy + + class Mode(int): + AdvInd = ... # type: QLowEnergyAdvertisingParameters.Mode + AdvScanInd = ... # type: QLowEnergyAdvertisingParameters.Mode + AdvNonConnInd = ... # type: QLowEnergyAdvertisingParameters.Mode + + class AddressInfo(PyQt5.sip.wrapper): + + address = ... # type: QBluetoothAddress + type = ... # type: 'QLowEnergyController.RemoteAddressType' + + @typing.overload + def __init__(self, addr: QBluetoothAddress, t: 'QLowEnergyController.RemoteAddressType') -> None: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QLowEnergyAdvertisingParameters.AddressInfo') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QLowEnergyAdvertisingParameters') -> None: ... + + def swap(self, other: 'QLowEnergyAdvertisingParameters') -> None: ... + def maximumInterval(self) -> int: ... + def minimumInterval(self) -> int: ... + def setInterval(self, minimum: int, maximum: int) -> None: ... + def filterPolicy(self) -> 'QLowEnergyAdvertisingParameters.FilterPolicy': ... + def whiteList(self) -> typing.List['QLowEnergyAdvertisingParameters.AddressInfo']: ... + def setWhiteList(self, whiteList: typing.Iterable['QLowEnergyAdvertisingParameters.AddressInfo'], policy: 'QLowEnergyAdvertisingParameters.FilterPolicy') -> None: ... + def mode(self) -> 'QLowEnergyAdvertisingParameters.Mode': ... + def setMode(self, mode: 'QLowEnergyAdvertisingParameters.Mode') -> None: ... + + +class QLowEnergyCharacteristic(PyQt5.sip.wrapper): + + class PropertyType(int): + Unknown = ... # type: QLowEnergyCharacteristic.PropertyType + Broadcasting = ... # type: QLowEnergyCharacteristic.PropertyType + Read = ... # type: QLowEnergyCharacteristic.PropertyType + WriteNoResponse = ... # type: QLowEnergyCharacteristic.PropertyType + Write = ... # type: QLowEnergyCharacteristic.PropertyType + Notify = ... # type: QLowEnergyCharacteristic.PropertyType + Indicate = ... # type: QLowEnergyCharacteristic.PropertyType + WriteSigned = ... # type: QLowEnergyCharacteristic.PropertyType + ExtendedProperty = ... # type: QLowEnergyCharacteristic.PropertyType + + class PropertyTypes(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QLowEnergyCharacteristic.PropertyTypes', 'QLowEnergyCharacteristic.PropertyType']) -> None: ... + @typing.overload + def __init__(self, a0: 'QLowEnergyCharacteristic.PropertyTypes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QLowEnergyCharacteristic.PropertyTypes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QLowEnergyCharacteristic') -> None: ... + + def isValid(self) -> bool: ... + def descriptors(self) -> typing.List['QLowEnergyDescriptor']: ... + def descriptor(self, uuid: QBluetoothUuid) -> 'QLowEnergyDescriptor': ... + def handle(self) -> int: ... + def properties(self) -> 'QLowEnergyCharacteristic.PropertyTypes': ... + def value(self) -> QtCore.QByteArray: ... + def uuid(self) -> QBluetoothUuid: ... + def name(self) -> str: ... + + +class QLowEnergyCharacteristicData(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QLowEnergyCharacteristicData') -> None: ... + + def swap(self, other: 'QLowEnergyCharacteristicData') -> None: ... + def isValid(self) -> bool: ... + def maximumValueLength(self) -> int: ... + def minimumValueLength(self) -> int: ... + def setValueLength(self, minimum: int, maximum: int) -> None: ... + def writeConstraints(self) -> QBluetooth.AttAccessConstraints: ... + def setWriteConstraints(self, constraints: typing.Union[QBluetooth.AttAccessConstraints, QBluetooth.AttAccessConstraint]) -> None: ... + def readConstraints(self) -> QBluetooth.AttAccessConstraints: ... + def setReadConstraints(self, constraints: typing.Union[QBluetooth.AttAccessConstraints, QBluetooth.AttAccessConstraint]) -> None: ... + def addDescriptor(self, descriptor: 'QLowEnergyDescriptorData') -> None: ... + def setDescriptors(self, descriptors: typing.Iterable['QLowEnergyDescriptorData']) -> None: ... + def descriptors(self) -> typing.List['QLowEnergyDescriptorData']: ... + def setProperties(self, properties: typing.Union[QLowEnergyCharacteristic.PropertyTypes, QLowEnergyCharacteristic.PropertyType]) -> None: ... + def properties(self) -> QLowEnergyCharacteristic.PropertyTypes: ... + def setValue(self, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def value(self) -> QtCore.QByteArray: ... + def setUuid(self, uuid: QBluetoothUuid) -> None: ... + def uuid(self) -> QBluetoothUuid: ... + + +class QLowEnergyConnectionParameters(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QLowEnergyConnectionParameters') -> None: ... + + def swap(self, other: 'QLowEnergyConnectionParameters') -> None: ... + def supervisionTimeout(self) -> int: ... + def setSupervisionTimeout(self, timeout: int) -> None: ... + def latency(self) -> int: ... + def setLatency(self, latency: int) -> None: ... + def maximumInterval(self) -> float: ... + def minimumInterval(self) -> float: ... + def setIntervalRange(self, minimum: float, maximum: float) -> None: ... + + +class QLowEnergyController(QtCore.QObject): + + class Role(int): + CentralRole = ... # type: QLowEnergyController.Role + PeripheralRole = ... # type: QLowEnergyController.Role + + class RemoteAddressType(int): + PublicAddress = ... # type: QLowEnergyController.RemoteAddressType + RandomAddress = ... # type: QLowEnergyController.RemoteAddressType + + class ControllerState(int): + UnconnectedState = ... # type: QLowEnergyController.ControllerState + ConnectingState = ... # type: QLowEnergyController.ControllerState + ConnectedState = ... # type: QLowEnergyController.ControllerState + DiscoveringState = ... # type: QLowEnergyController.ControllerState + DiscoveredState = ... # type: QLowEnergyController.ControllerState + ClosingState = ... # type: QLowEnergyController.ControllerState + AdvertisingState = ... # type: QLowEnergyController.ControllerState + + class Error(int): + NoError = ... # type: QLowEnergyController.Error + UnknownError = ... # type: QLowEnergyController.Error + UnknownRemoteDeviceError = ... # type: QLowEnergyController.Error + NetworkError = ... # type: QLowEnergyController.Error + InvalidBluetoothAdapterError = ... # type: QLowEnergyController.Error + ConnectionError = ... # type: QLowEnergyController.Error + AdvertisingError = ... # type: QLowEnergyController.Error + RemoteHostClosedError = ... # type: QLowEnergyController.Error + AuthorizationError = ... # type: QLowEnergyController.Error + + @typing.overload + def __init__(self, remoteDevice: QBluetoothDeviceInfo, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, remoteDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, remoteDevice: QBluetoothAddress, localDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def remoteDeviceUuid(self) -> QBluetoothUuid: ... + def connectionUpdated(self, parameters: QLowEnergyConnectionParameters) -> None: ... + def role(self) -> 'QLowEnergyController.Role': ... + def requestConnectionUpdate(self, parameters: QLowEnergyConnectionParameters) -> None: ... + def addService(self, service: 'QLowEnergyServiceData', parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyService': ... + def stopAdvertising(self) -> None: ... + def startAdvertising(self, parameters: QLowEnergyAdvertisingParameters, advertisingData: QLowEnergyAdvertisingData, scanResponseData: QLowEnergyAdvertisingData = ...) -> None: ... + @staticmethod + def createPeripheral(parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyController': ... + @typing.overload + @staticmethod + def createCentral(remoteDevice: QBluetoothDeviceInfo, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyController': ... + @typing.overload + @staticmethod + def createCentral(remoteDevice: QBluetoothAddress, localDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyController': ... + def discoveryFinished(self) -> None: ... + def serviceDiscovered(self, newService: QBluetoothUuid) -> None: ... + def stateChanged(self, state: 'QLowEnergyController.ControllerState') -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... + def remoteName(self) -> str: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QLowEnergyController.Error': ... + @typing.overload + def error(self, newError: 'QLowEnergyController.Error') -> None: ... + def createServiceObject(self, service: QBluetoothUuid, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyService': ... + def services(self) -> typing.List[QBluetoothUuid]: ... + def discoverServices(self) -> None: ... + def disconnectFromDevice(self) -> None: ... + def connectToDevice(self) -> None: ... + def setRemoteAddressType(self, type: 'QLowEnergyController.RemoteAddressType') -> None: ... + def remoteAddressType(self) -> 'QLowEnergyController.RemoteAddressType': ... + def state(self) -> 'QLowEnergyController.ControllerState': ... + def remoteAddress(self) -> QBluetoothAddress: ... + def localAddress(self) -> QBluetoothAddress: ... + + +class QLowEnergyDescriptor(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QLowEnergyDescriptor') -> None: ... + + def type(self) -> QBluetoothUuid.DescriptorType: ... + def name(self) -> str: ... + def handle(self) -> int: ... + def uuid(self) -> QBluetoothUuid: ... + def value(self) -> QtCore.QByteArray: ... + def isValid(self) -> bool: ... + + +class QLowEnergyDescriptorData(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, uuid: QBluetoothUuid, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, other: 'QLowEnergyDescriptorData') -> None: ... + + def swap(self, other: 'QLowEnergyDescriptorData') -> None: ... + def writeConstraints(self) -> QBluetooth.AttAccessConstraints: ... + def isWritable(self) -> bool: ... + def setWritePermissions(self, writable: bool, constraints: typing.Union[QBluetooth.AttAccessConstraints, QBluetooth.AttAccessConstraint] = ...) -> None: ... + def readConstraints(self) -> QBluetooth.AttAccessConstraints: ... + def isReadable(self) -> bool: ... + def setReadPermissions(self, readable: bool, constraints: typing.Union[QBluetooth.AttAccessConstraints, QBluetooth.AttAccessConstraint] = ...) -> None: ... + def isValid(self) -> bool: ... + def setUuid(self, uuid: QBluetoothUuid) -> None: ... + def uuid(self) -> QBluetoothUuid: ... + def setValue(self, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def value(self) -> QtCore.QByteArray: ... + + +class QLowEnergyService(QtCore.QObject): + + class WriteMode(int): + WriteWithResponse = ... # type: QLowEnergyService.WriteMode + WriteWithoutResponse = ... # type: QLowEnergyService.WriteMode + WriteSigned = ... # type: QLowEnergyService.WriteMode + + class ServiceState(int): + InvalidService = ... # type: QLowEnergyService.ServiceState + DiscoveryRequired = ... # type: QLowEnergyService.ServiceState + DiscoveringServices = ... # type: QLowEnergyService.ServiceState + ServiceDiscovered = ... # type: QLowEnergyService.ServiceState + LocalService = ... # type: QLowEnergyService.ServiceState + + class ServiceError(int): + NoError = ... # type: QLowEnergyService.ServiceError + OperationError = ... # type: QLowEnergyService.ServiceError + CharacteristicWriteError = ... # type: QLowEnergyService.ServiceError + DescriptorWriteError = ... # type: QLowEnergyService.ServiceError + CharacteristicReadError = ... # type: QLowEnergyService.ServiceError + DescriptorReadError = ... # type: QLowEnergyService.ServiceError + UnknownError = ... # type: QLowEnergyService.ServiceError + + class ServiceType(int): + PrimaryService = ... # type: QLowEnergyService.ServiceType + IncludedService = ... # type: QLowEnergyService.ServiceType + + class ServiceTypes(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QLowEnergyService.ServiceTypes', 'QLowEnergyService.ServiceType']) -> None: ... + @typing.overload + def __init__(self, a0: 'QLowEnergyService.ServiceTypes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QLowEnergyService.ServiceTypes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def descriptorRead(self, info: QLowEnergyDescriptor, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def characteristicRead(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def readDescriptor(self, descriptor: QLowEnergyDescriptor) -> None: ... + def readCharacteristic(self, characteristic: QLowEnergyCharacteristic) -> None: ... + def descriptorWritten(self, info: QLowEnergyDescriptor, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def characteristicWritten(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def characteristicChanged(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def stateChanged(self, newState: 'QLowEnergyService.ServiceState') -> None: ... + def writeDescriptor(self, descriptor: QLowEnergyDescriptor, newValue: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def writeCharacteristic(self, characteristic: QLowEnergyCharacteristic, newValue: typing.Union[QtCore.QByteArray, bytes, bytearray], mode: 'QLowEnergyService.WriteMode' = ...) -> None: ... + @typing.overload + def contains(self, characteristic: QLowEnergyCharacteristic) -> bool: ... + @typing.overload + def contains(self, descriptor: QLowEnergyDescriptor) -> bool: ... + @typing.overload + def error(self) -> 'QLowEnergyService.ServiceError': ... + @typing.overload + def error(self, error: 'QLowEnergyService.ServiceError') -> None: ... + def discoverDetails(self) -> None: ... + def serviceName(self) -> str: ... + def serviceUuid(self) -> QBluetoothUuid: ... + def characteristics(self) -> typing.List[QLowEnergyCharacteristic]: ... + def characteristic(self, uuid: QBluetoothUuid) -> QLowEnergyCharacteristic: ... + def state(self) -> 'QLowEnergyService.ServiceState': ... + def type(self) -> 'QLowEnergyService.ServiceTypes': ... + def includedServices(self) -> typing.List[QBluetoothUuid]: ... + + +class QLowEnergyServiceData(PyQt5.sip.wrapper): + + class ServiceType(int): + ServiceTypePrimary = ... # type: QLowEnergyServiceData.ServiceType + ServiceTypeSecondary = ... # type: QLowEnergyServiceData.ServiceType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QLowEnergyServiceData') -> None: ... + + def swap(self, other: 'QLowEnergyServiceData') -> None: ... + def isValid(self) -> bool: ... + def addCharacteristic(self, characteristic: QLowEnergyCharacteristicData) -> None: ... + def setCharacteristics(self, characteristics: typing.Iterable[QLowEnergyCharacteristicData]) -> None: ... + def characteristics(self) -> typing.List[QLowEnergyCharacteristicData]: ... + def addIncludedService(self, service: QLowEnergyService) -> None: ... + def setIncludedServices(self, services: typing.Iterable[QLowEnergyService]) -> None: ... + def includedServices(self) -> typing.List[QLowEnergyService]: ... + def setUuid(self, uuid: QBluetoothUuid) -> None: ... + def uuid(self) -> QBluetoothUuid: ... + def setType(self, type: 'QLowEnergyServiceData.ServiceType') -> None: ... + def type(self) -> 'QLowEnergyServiceData.ServiceType': ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtCore.pyi b/OTHERS/Jarvis/ools/PyQt5/QtCore.pyi new file mode 100644 index 00000000..3a969914 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtCore.pyi @@ -0,0 +1,9364 @@ +# The PEP 484 type hints stub file for the QtCore module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +# Support for QDate, QDateTime and QTime. +import datetime + + +# Support for new-style signals and slots. +class pyqtSignal: + + signatures = ... # type: typing.Tuple[str, ...] + + def __init__(self, *types: typing.Any, name: str = ...) -> None: ... + + @typing.overload + def __get__(self, instance: None, owner: typing.Type['QObject']) -> 'pyqtSignal': ... + + @typing.overload + def __get__(self, instance: 'QObject', owner: typing.Type['QObject']) -> 'pyqtBoundSignal': ... + + + +class pyqtBoundSignal: + + signal = ... # type: str + + def __getitem__(self, key: object) -> 'pyqtBoundSignal': ... + + def connect(self, slot: 'PYQT_SLOT') -> 'QMetaObject.Connection': ... + + @typing.overload + def disconnect(self) -> None: ... + + @typing.overload + def disconnect(self, slot: typing.Union['PYQT_SLOT', 'QMetaObject.Connection']) -> None: ... + + def emit(self, *args: typing.Any) -> None: ... + + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[pyqtSignal, pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], pyqtBoundSignal] + + +class QtMsgType(int): + QtDebugMsg = ... # type: QtMsgType + QtWarningMsg = ... # type: QtMsgType + QtCriticalMsg = ... # type: QtMsgType + QtFatalMsg = ... # type: QtMsgType + QtSystemMsg = ... # type: QtMsgType + QtInfoMsg = ... # type: QtMsgType + + +class QCborKnownTags(int): + DateTimeString = ... # type: QCborKnownTags + UnixTime_t = ... # type: QCborKnownTags + PositiveBignum = ... # type: QCborKnownTags + NegativeBignum = ... # type: QCborKnownTags + Decimal = ... # type: QCborKnownTags + Bigfloat = ... # type: QCborKnownTags + COSE_Encrypt0 = ... # type: QCborKnownTags + COSE_Mac0 = ... # type: QCborKnownTags + COSE_Sign1 = ... # type: QCborKnownTags + ExpectedBase64url = ... # type: QCborKnownTags + ExpectedBase64 = ... # type: QCborKnownTags + ExpectedBase16 = ... # type: QCborKnownTags + EncodedCbor = ... # type: QCborKnownTags + Url = ... # type: QCborKnownTags + Base64url = ... # type: QCborKnownTags + Base64 = ... # type: QCborKnownTags + RegularExpression = ... # type: QCborKnownTags + MimeMessage = ... # type: QCborKnownTags + Uuid = ... # type: QCborKnownTags + COSE_Encrypt = ... # type: QCborKnownTags + COSE_Mac = ... # type: QCborKnownTags + COSE_Sign = ... # type: QCborKnownTags + Signature = ... # type: QCborKnownTags + + +class QCborSimpleType(int): + False_ = ... # type: QCborSimpleType + True_ = ... # type: QCborSimpleType + Null = ... # type: QCborSimpleType + Undefined = ... # type: QCborSimpleType + + +class Qt(PyQt5.sip.simplewrapper): + + class HighDpiScaleFactorRoundingPolicy(int): + Round = ... # type: Qt.HighDpiScaleFactorRoundingPolicy + Ceil = ... # type: Qt.HighDpiScaleFactorRoundingPolicy + Floor = ... # type: Qt.HighDpiScaleFactorRoundingPolicy + RoundPreferFloor = ... # type: Qt.HighDpiScaleFactorRoundingPolicy + PassThrough = ... # type: Qt.HighDpiScaleFactorRoundingPolicy + + class ChecksumType(int): + ChecksumIso3309 = ... # type: Qt.ChecksumType + ChecksumItuV41 = ... # type: Qt.ChecksumType + + class EnterKeyType(int): + EnterKeyDefault = ... # type: Qt.EnterKeyType + EnterKeyReturn = ... # type: Qt.EnterKeyType + EnterKeyDone = ... # type: Qt.EnterKeyType + EnterKeyGo = ... # type: Qt.EnterKeyType + EnterKeySend = ... # type: Qt.EnterKeyType + EnterKeySearch = ... # type: Qt.EnterKeyType + EnterKeyNext = ... # type: Qt.EnterKeyType + EnterKeyPrevious = ... # type: Qt.EnterKeyType + + class ItemSelectionOperation(int): + ReplaceSelection = ... # type: Qt.ItemSelectionOperation + AddToSelection = ... # type: Qt.ItemSelectionOperation + + class TabFocusBehavior(int): + NoTabFocus = ... # type: Qt.TabFocusBehavior + TabFocusTextControls = ... # type: Qt.TabFocusBehavior + TabFocusListControls = ... # type: Qt.TabFocusBehavior + TabFocusAllControls = ... # type: Qt.TabFocusBehavior + + class MouseEventFlag(int): + MouseEventCreatedDoubleClick = ... # type: Qt.MouseEventFlag + + class MouseEventSource(int): + MouseEventNotSynthesized = ... # type: Qt.MouseEventSource + MouseEventSynthesizedBySystem = ... # type: Qt.MouseEventSource + MouseEventSynthesizedByQt = ... # type: Qt.MouseEventSource + MouseEventSynthesizedByApplication = ... # type: Qt.MouseEventSource + + class ScrollPhase(int): + ScrollBegin = ... # type: Qt.ScrollPhase + ScrollUpdate = ... # type: Qt.ScrollPhase + ScrollEnd = ... # type: Qt.ScrollPhase + NoScrollPhase = ... # type: Qt.ScrollPhase + ScrollMomentum = ... # type: Qt.ScrollPhase + + class NativeGestureType(int): + BeginNativeGesture = ... # type: Qt.NativeGestureType + EndNativeGesture = ... # type: Qt.NativeGestureType + PanNativeGesture = ... # type: Qt.NativeGestureType + ZoomNativeGesture = ... # type: Qt.NativeGestureType + SmartZoomNativeGesture = ... # type: Qt.NativeGestureType + RotateNativeGesture = ... # type: Qt.NativeGestureType + SwipeNativeGesture = ... # type: Qt.NativeGestureType + + class Edge(int): + TopEdge = ... # type: Qt.Edge + LeftEdge = ... # type: Qt.Edge + RightEdge = ... # type: Qt.Edge + BottomEdge = ... # type: Qt.Edge + + class ApplicationState(int): + ApplicationSuspended = ... # type: Qt.ApplicationState + ApplicationHidden = ... # type: Qt.ApplicationState + ApplicationInactive = ... # type: Qt.ApplicationState + ApplicationActive = ... # type: Qt.ApplicationState + + class HitTestAccuracy(int): + ExactHit = ... # type: Qt.HitTestAccuracy + FuzzyHit = ... # type: Qt.HitTestAccuracy + + class WhiteSpaceMode(int): + WhiteSpaceNormal = ... # type: Qt.WhiteSpaceMode + WhiteSpacePre = ... # type: Qt.WhiteSpaceMode + WhiteSpaceNoWrap = ... # type: Qt.WhiteSpaceMode + WhiteSpaceModeUndefined = ... # type: Qt.WhiteSpaceMode + + class FindChildOption(int): + FindDirectChildrenOnly = ... # type: Qt.FindChildOption + FindChildrenRecursively = ... # type: Qt.FindChildOption + + class ScreenOrientation(int): + PrimaryOrientation = ... # type: Qt.ScreenOrientation + PortraitOrientation = ... # type: Qt.ScreenOrientation + LandscapeOrientation = ... # type: Qt.ScreenOrientation + InvertedPortraitOrientation = ... # type: Qt.ScreenOrientation + InvertedLandscapeOrientation = ... # type: Qt.ScreenOrientation + + class CursorMoveStyle(int): + LogicalMoveStyle = ... # type: Qt.CursorMoveStyle + VisualMoveStyle = ... # type: Qt.CursorMoveStyle + + class NavigationMode(int): + NavigationModeNone = ... # type: Qt.NavigationMode + NavigationModeKeypadTabOrder = ... # type: Qt.NavigationMode + NavigationModeKeypadDirectional = ... # type: Qt.NavigationMode + NavigationModeCursorAuto = ... # type: Qt.NavigationMode + NavigationModeCursorForceVisible = ... # type: Qt.NavigationMode + + class GestureFlag(int): + DontStartGestureOnChildren = ... # type: Qt.GestureFlag + ReceivePartialGestures = ... # type: Qt.GestureFlag + IgnoredGesturesPropagateToParent = ... # type: Qt.GestureFlag + + class GestureType(int): + TapGesture = ... # type: Qt.GestureType + TapAndHoldGesture = ... # type: Qt.GestureType + PanGesture = ... # type: Qt.GestureType + PinchGesture = ... # type: Qt.GestureType + SwipeGesture = ... # type: Qt.GestureType + CustomGesture = ... # type: Qt.GestureType + + class GestureState(int): + GestureStarted = ... # type: Qt.GestureState + GestureUpdated = ... # type: Qt.GestureState + GestureFinished = ... # type: Qt.GestureState + GestureCanceled = ... # type: Qt.GestureState + + class TouchPointState(int): + TouchPointPressed = ... # type: Qt.TouchPointState + TouchPointMoved = ... # type: Qt.TouchPointState + TouchPointStationary = ... # type: Qt.TouchPointState + TouchPointReleased = ... # type: Qt.TouchPointState + + class CoordinateSystem(int): + DeviceCoordinates = ... # type: Qt.CoordinateSystem + LogicalCoordinates = ... # type: Qt.CoordinateSystem + + class AnchorPoint(int): + AnchorLeft = ... # type: Qt.AnchorPoint + AnchorHorizontalCenter = ... # type: Qt.AnchorPoint + AnchorRight = ... # type: Qt.AnchorPoint + AnchorTop = ... # type: Qt.AnchorPoint + AnchorVerticalCenter = ... # type: Qt.AnchorPoint + AnchorBottom = ... # type: Qt.AnchorPoint + + class InputMethodHint(int): + ImhNone = ... # type: Qt.InputMethodHint + ImhHiddenText = ... # type: Qt.InputMethodHint + ImhNoAutoUppercase = ... # type: Qt.InputMethodHint + ImhPreferNumbers = ... # type: Qt.InputMethodHint + ImhPreferUppercase = ... # type: Qt.InputMethodHint + ImhPreferLowercase = ... # type: Qt.InputMethodHint + ImhNoPredictiveText = ... # type: Qt.InputMethodHint + ImhDigitsOnly = ... # type: Qt.InputMethodHint + ImhFormattedNumbersOnly = ... # type: Qt.InputMethodHint + ImhUppercaseOnly = ... # type: Qt.InputMethodHint + ImhLowercaseOnly = ... # type: Qt.InputMethodHint + ImhDialableCharactersOnly = ... # type: Qt.InputMethodHint + ImhEmailCharactersOnly = ... # type: Qt.InputMethodHint + ImhUrlCharactersOnly = ... # type: Qt.InputMethodHint + ImhExclusiveInputMask = ... # type: Qt.InputMethodHint + ImhSensitiveData = ... # type: Qt.InputMethodHint + ImhDate = ... # type: Qt.InputMethodHint + ImhTime = ... # type: Qt.InputMethodHint + ImhPreferLatin = ... # type: Qt.InputMethodHint + ImhLatinOnly = ... # type: Qt.InputMethodHint + ImhMultiLine = ... # type: Qt.InputMethodHint + ImhNoEditMenu = ... # type: Qt.InputMethodHint + ImhNoTextHandles = ... # type: Qt.InputMethodHint + + class TileRule(int): + StretchTile = ... # type: Qt.TileRule + RepeatTile = ... # type: Qt.TileRule + RoundTile = ... # type: Qt.TileRule + + class WindowFrameSection(int): + NoSection = ... # type: Qt.WindowFrameSection + LeftSection = ... # type: Qt.WindowFrameSection + TopLeftSection = ... # type: Qt.WindowFrameSection + TopSection = ... # type: Qt.WindowFrameSection + TopRightSection = ... # type: Qt.WindowFrameSection + RightSection = ... # type: Qt.WindowFrameSection + BottomRightSection = ... # type: Qt.WindowFrameSection + BottomSection = ... # type: Qt.WindowFrameSection + BottomLeftSection = ... # type: Qt.WindowFrameSection + TitleBarArea = ... # type: Qt.WindowFrameSection + + class SizeHint(int): + MinimumSize = ... # type: Qt.SizeHint + PreferredSize = ... # type: Qt.SizeHint + MaximumSize = ... # type: Qt.SizeHint + MinimumDescent = ... # type: Qt.SizeHint + + class SizeMode(int): + AbsoluteSize = ... # type: Qt.SizeMode + RelativeSize = ... # type: Qt.SizeMode + + class EventPriority(int): + HighEventPriority = ... # type: Qt.EventPriority + NormalEventPriority = ... # type: Qt.EventPriority + LowEventPriority = ... # type: Qt.EventPriority + + class Axis(int): + XAxis = ... # type: Qt.Axis + YAxis = ... # type: Qt.Axis + ZAxis = ... # type: Qt.Axis + + class MaskMode(int): + MaskInColor = ... # type: Qt.MaskMode + MaskOutColor = ... # type: Qt.MaskMode + + class TextInteractionFlag(int): + NoTextInteraction = ... # type: Qt.TextInteractionFlag + TextSelectableByMouse = ... # type: Qt.TextInteractionFlag + TextSelectableByKeyboard = ... # type: Qt.TextInteractionFlag + LinksAccessibleByMouse = ... # type: Qt.TextInteractionFlag + LinksAccessibleByKeyboard = ... # type: Qt.TextInteractionFlag + TextEditable = ... # type: Qt.TextInteractionFlag + TextEditorInteraction = ... # type: Qt.TextInteractionFlag + TextBrowserInteraction = ... # type: Qt.TextInteractionFlag + + class ItemSelectionMode(int): + ContainsItemShape = ... # type: Qt.ItemSelectionMode + IntersectsItemShape = ... # type: Qt.ItemSelectionMode + ContainsItemBoundingRect = ... # type: Qt.ItemSelectionMode + IntersectsItemBoundingRect = ... # type: Qt.ItemSelectionMode + + class ApplicationAttribute(int): + AA_ImmediateWidgetCreation = ... # type: Qt.ApplicationAttribute + AA_MSWindowsUseDirect3DByDefault = ... # type: Qt.ApplicationAttribute + AA_DontShowIconsInMenus = ... # type: Qt.ApplicationAttribute + AA_NativeWindows = ... # type: Qt.ApplicationAttribute + AA_DontCreateNativeWidgetSiblings = ... # type: Qt.ApplicationAttribute + AA_MacPluginApplication = ... # type: Qt.ApplicationAttribute + AA_DontUseNativeMenuBar = ... # type: Qt.ApplicationAttribute + AA_MacDontSwapCtrlAndMeta = ... # type: Qt.ApplicationAttribute + AA_X11InitThreads = ... # type: Qt.ApplicationAttribute + AA_Use96Dpi = ... # type: Qt.ApplicationAttribute + AA_SynthesizeTouchForUnhandledMouseEvents = ... # type: Qt.ApplicationAttribute + AA_SynthesizeMouseForUnhandledTouchEvents = ... # type: Qt.ApplicationAttribute + AA_UseHighDpiPixmaps = ... # type: Qt.ApplicationAttribute + AA_ForceRasterWidgets = ... # type: Qt.ApplicationAttribute + AA_UseDesktopOpenGL = ... # type: Qt.ApplicationAttribute + AA_UseOpenGLES = ... # type: Qt.ApplicationAttribute + AA_UseSoftwareOpenGL = ... # type: Qt.ApplicationAttribute + AA_ShareOpenGLContexts = ... # type: Qt.ApplicationAttribute + AA_SetPalette = ... # type: Qt.ApplicationAttribute + AA_EnableHighDpiScaling = ... # type: Qt.ApplicationAttribute + AA_DisableHighDpiScaling = ... # type: Qt.ApplicationAttribute + AA_PluginApplication = ... # type: Qt.ApplicationAttribute + AA_UseStyleSheetPropagationInWidgetStyles = ... # type: Qt.ApplicationAttribute + AA_DontUseNativeDialogs = ... # type: Qt.ApplicationAttribute + AA_SynthesizeMouseForUnhandledTabletEvents = ... # type: Qt.ApplicationAttribute + AA_CompressHighFrequencyEvents = ... # type: Qt.ApplicationAttribute + AA_DontCheckOpenGLContextThreadAffinity = ... # type: Qt.ApplicationAttribute + AA_DisableShaderDiskCache = ... # type: Qt.ApplicationAttribute + AA_DontShowShortcutsInContextMenus = ... # type: Qt.ApplicationAttribute + AA_CompressTabletEvents = ... # type: Qt.ApplicationAttribute + AA_DisableWindowContextHelpButton = ... # type: Qt.ApplicationAttribute + AA_DisableSessionManager = ... # type: Qt.ApplicationAttribute + AA_DisableNativeVirtualKeyboard = ... # type: Qt.ApplicationAttribute + + class WindowModality(int): + NonModal = ... # type: Qt.WindowModality + WindowModal = ... # type: Qt.WindowModality + ApplicationModal = ... # type: Qt.WindowModality + + class MatchFlag(int): + MatchExactly = ... # type: Qt.MatchFlag + MatchFixedString = ... # type: Qt.MatchFlag + MatchContains = ... # type: Qt.MatchFlag + MatchStartsWith = ... # type: Qt.MatchFlag + MatchEndsWith = ... # type: Qt.MatchFlag + MatchRegExp = ... # type: Qt.MatchFlag + MatchWildcard = ... # type: Qt.MatchFlag + MatchCaseSensitive = ... # type: Qt.MatchFlag + MatchWrap = ... # type: Qt.MatchFlag + MatchRecursive = ... # type: Qt.MatchFlag + MatchRegularExpression = ... # type: Qt.MatchFlag + + class ItemFlag(int): + NoItemFlags = ... # type: Qt.ItemFlag + ItemIsSelectable = ... # type: Qt.ItemFlag + ItemIsEditable = ... # type: Qt.ItemFlag + ItemIsDragEnabled = ... # type: Qt.ItemFlag + ItemIsDropEnabled = ... # type: Qt.ItemFlag + ItemIsUserCheckable = ... # type: Qt.ItemFlag + ItemIsEnabled = ... # type: Qt.ItemFlag + ItemIsTristate = ... # type: Qt.ItemFlag + ItemNeverHasChildren = ... # type: Qt.ItemFlag + ItemIsUserTristate = ... # type: Qt.ItemFlag + ItemIsAutoTristate = ... # type: Qt.ItemFlag + + class ItemDataRole(int): + DisplayRole = ... # type: Qt.ItemDataRole + DecorationRole = ... # type: Qt.ItemDataRole + EditRole = ... # type: Qt.ItemDataRole + ToolTipRole = ... # type: Qt.ItemDataRole + StatusTipRole = ... # type: Qt.ItemDataRole + WhatsThisRole = ... # type: Qt.ItemDataRole + FontRole = ... # type: Qt.ItemDataRole + TextAlignmentRole = ... # type: Qt.ItemDataRole + BackgroundRole = ... # type: Qt.ItemDataRole + BackgroundColorRole = ... # type: Qt.ItemDataRole + ForegroundRole = ... # type: Qt.ItemDataRole + TextColorRole = ... # type: Qt.ItemDataRole + CheckStateRole = ... # type: Qt.ItemDataRole + AccessibleTextRole = ... # type: Qt.ItemDataRole + AccessibleDescriptionRole = ... # type: Qt.ItemDataRole + SizeHintRole = ... # type: Qt.ItemDataRole + InitialSortOrderRole = ... # type: Qt.ItemDataRole + UserRole = ... # type: Qt.ItemDataRole + + class CheckState(int): + Unchecked = ... # type: Qt.CheckState + PartiallyChecked = ... # type: Qt.CheckState + Checked = ... # type: Qt.CheckState + + class DropAction(int): + CopyAction = ... # type: Qt.DropAction + MoveAction = ... # type: Qt.DropAction + LinkAction = ... # type: Qt.DropAction + ActionMask = ... # type: Qt.DropAction + TargetMoveAction = ... # type: Qt.DropAction + IgnoreAction = ... # type: Qt.DropAction + + class LayoutDirection(int): + LeftToRight = ... # type: Qt.LayoutDirection + RightToLeft = ... # type: Qt.LayoutDirection + LayoutDirectionAuto = ... # type: Qt.LayoutDirection + + class ToolButtonStyle(int): + ToolButtonIconOnly = ... # type: Qt.ToolButtonStyle + ToolButtonTextOnly = ... # type: Qt.ToolButtonStyle + ToolButtonTextBesideIcon = ... # type: Qt.ToolButtonStyle + ToolButtonTextUnderIcon = ... # type: Qt.ToolButtonStyle + ToolButtonFollowStyle = ... # type: Qt.ToolButtonStyle + + class InputMethodQuery(int): + ImMicroFocus = ... # type: Qt.InputMethodQuery + ImFont = ... # type: Qt.InputMethodQuery + ImCursorPosition = ... # type: Qt.InputMethodQuery + ImSurroundingText = ... # type: Qt.InputMethodQuery + ImCurrentSelection = ... # type: Qt.InputMethodQuery + ImMaximumTextLength = ... # type: Qt.InputMethodQuery + ImAnchorPosition = ... # type: Qt.InputMethodQuery + ImEnabled = ... # type: Qt.InputMethodQuery + ImCursorRectangle = ... # type: Qt.InputMethodQuery + ImHints = ... # type: Qt.InputMethodQuery + ImPreferredLanguage = ... # type: Qt.InputMethodQuery + ImPlatformData = ... # type: Qt.InputMethodQuery + ImQueryInput = ... # type: Qt.InputMethodQuery + ImQueryAll = ... # type: Qt.InputMethodQuery + ImAbsolutePosition = ... # type: Qt.InputMethodQuery + ImTextBeforeCursor = ... # type: Qt.InputMethodQuery + ImTextAfterCursor = ... # type: Qt.InputMethodQuery + ImEnterKeyType = ... # type: Qt.InputMethodQuery + ImAnchorRectangle = ... # type: Qt.InputMethodQuery + ImInputItemClipRectangle = ... # type: Qt.InputMethodQuery + + class ContextMenuPolicy(int): + NoContextMenu = ... # type: Qt.ContextMenuPolicy + PreventContextMenu = ... # type: Qt.ContextMenuPolicy + DefaultContextMenu = ... # type: Qt.ContextMenuPolicy + ActionsContextMenu = ... # type: Qt.ContextMenuPolicy + CustomContextMenu = ... # type: Qt.ContextMenuPolicy + + class FocusReason(int): + MouseFocusReason = ... # type: Qt.FocusReason + TabFocusReason = ... # type: Qt.FocusReason + BacktabFocusReason = ... # type: Qt.FocusReason + ActiveWindowFocusReason = ... # type: Qt.FocusReason + PopupFocusReason = ... # type: Qt.FocusReason + ShortcutFocusReason = ... # type: Qt.FocusReason + MenuBarFocusReason = ... # type: Qt.FocusReason + OtherFocusReason = ... # type: Qt.FocusReason + NoFocusReason = ... # type: Qt.FocusReason + + class TransformationMode(int): + FastTransformation = ... # type: Qt.TransformationMode + SmoothTransformation = ... # type: Qt.TransformationMode + + class ClipOperation(int): + NoClip = ... # type: Qt.ClipOperation + ReplaceClip = ... # type: Qt.ClipOperation + IntersectClip = ... # type: Qt.ClipOperation + + class FillRule(int): + OddEvenFill = ... # type: Qt.FillRule + WindingFill = ... # type: Qt.FillRule + + class ShortcutContext(int): + WidgetShortcut = ... # type: Qt.ShortcutContext + WindowShortcut = ... # type: Qt.ShortcutContext + ApplicationShortcut = ... # type: Qt.ShortcutContext + WidgetWithChildrenShortcut = ... # type: Qt.ShortcutContext + + class ConnectionType(int): + AutoConnection = ... # type: Qt.ConnectionType + DirectConnection = ... # type: Qt.ConnectionType + QueuedConnection = ... # type: Qt.ConnectionType + BlockingQueuedConnection = ... # type: Qt.ConnectionType + UniqueConnection = ... # type: Qt.ConnectionType + + class Corner(int): + TopLeftCorner = ... # type: Qt.Corner + TopRightCorner = ... # type: Qt.Corner + BottomLeftCorner = ... # type: Qt.Corner + BottomRightCorner = ... # type: Qt.Corner + + class CaseSensitivity(int): + CaseInsensitive = ... # type: Qt.CaseSensitivity + CaseSensitive = ... # type: Qt.CaseSensitivity + + class ScrollBarPolicy(int): + ScrollBarAsNeeded = ... # type: Qt.ScrollBarPolicy + ScrollBarAlwaysOff = ... # type: Qt.ScrollBarPolicy + ScrollBarAlwaysOn = ... # type: Qt.ScrollBarPolicy + + class DayOfWeek(int): + Monday = ... # type: Qt.DayOfWeek + Tuesday = ... # type: Qt.DayOfWeek + Wednesday = ... # type: Qt.DayOfWeek + Thursday = ... # type: Qt.DayOfWeek + Friday = ... # type: Qt.DayOfWeek + Saturday = ... # type: Qt.DayOfWeek + Sunday = ... # type: Qt.DayOfWeek + + class TimeSpec(int): + LocalTime = ... # type: Qt.TimeSpec + UTC = ... # type: Qt.TimeSpec + OffsetFromUTC = ... # type: Qt.TimeSpec + TimeZone = ... # type: Qt.TimeSpec + + class DateFormat(int): + TextDate = ... # type: Qt.DateFormat + ISODate = ... # type: Qt.DateFormat + ISODateWithMs = ... # type: Qt.DateFormat + LocalDate = ... # type: Qt.DateFormat + SystemLocaleDate = ... # type: Qt.DateFormat + LocaleDate = ... # type: Qt.DateFormat + SystemLocaleShortDate = ... # type: Qt.DateFormat + SystemLocaleLongDate = ... # type: Qt.DateFormat + DefaultLocaleShortDate = ... # type: Qt.DateFormat + DefaultLocaleLongDate = ... # type: Qt.DateFormat + RFC2822Date = ... # type: Qt.DateFormat + + class ToolBarArea(int): + LeftToolBarArea = ... # type: Qt.ToolBarArea + RightToolBarArea = ... # type: Qt.ToolBarArea + TopToolBarArea = ... # type: Qt.ToolBarArea + BottomToolBarArea = ... # type: Qt.ToolBarArea + ToolBarArea_Mask = ... # type: Qt.ToolBarArea + AllToolBarAreas = ... # type: Qt.ToolBarArea + NoToolBarArea = ... # type: Qt.ToolBarArea + + class TimerType(int): + PreciseTimer = ... # type: Qt.TimerType + CoarseTimer = ... # type: Qt.TimerType + VeryCoarseTimer = ... # type: Qt.TimerType + + class DockWidgetArea(int): + LeftDockWidgetArea = ... # type: Qt.DockWidgetArea + RightDockWidgetArea = ... # type: Qt.DockWidgetArea + TopDockWidgetArea = ... # type: Qt.DockWidgetArea + BottomDockWidgetArea = ... # type: Qt.DockWidgetArea + DockWidgetArea_Mask = ... # type: Qt.DockWidgetArea + AllDockWidgetAreas = ... # type: Qt.DockWidgetArea + NoDockWidgetArea = ... # type: Qt.DockWidgetArea + + class AspectRatioMode(int): + IgnoreAspectRatio = ... # type: Qt.AspectRatioMode + KeepAspectRatio = ... # type: Qt.AspectRatioMode + KeepAspectRatioByExpanding = ... # type: Qt.AspectRatioMode + + class TextFormat(int): + PlainText = ... # type: Qt.TextFormat + RichText = ... # type: Qt.TextFormat + AutoText = ... # type: Qt.TextFormat + MarkdownText = ... # type: Qt.TextFormat + + class CursorShape(int): + ArrowCursor = ... # type: Qt.CursorShape + UpArrowCursor = ... # type: Qt.CursorShape + CrossCursor = ... # type: Qt.CursorShape + WaitCursor = ... # type: Qt.CursorShape + IBeamCursor = ... # type: Qt.CursorShape + SizeVerCursor = ... # type: Qt.CursorShape + SizeHorCursor = ... # type: Qt.CursorShape + SizeBDiagCursor = ... # type: Qt.CursorShape + SizeFDiagCursor = ... # type: Qt.CursorShape + SizeAllCursor = ... # type: Qt.CursorShape + BlankCursor = ... # type: Qt.CursorShape + SplitVCursor = ... # type: Qt.CursorShape + SplitHCursor = ... # type: Qt.CursorShape + PointingHandCursor = ... # type: Qt.CursorShape + ForbiddenCursor = ... # type: Qt.CursorShape + OpenHandCursor = ... # type: Qt.CursorShape + ClosedHandCursor = ... # type: Qt.CursorShape + WhatsThisCursor = ... # type: Qt.CursorShape + BusyCursor = ... # type: Qt.CursorShape + LastCursor = ... # type: Qt.CursorShape + BitmapCursor = ... # type: Qt.CursorShape + CustomCursor = ... # type: Qt.CursorShape + DragCopyCursor = ... # type: Qt.CursorShape + DragMoveCursor = ... # type: Qt.CursorShape + DragLinkCursor = ... # type: Qt.CursorShape + + class UIEffect(int): + UI_General = ... # type: Qt.UIEffect + UI_AnimateMenu = ... # type: Qt.UIEffect + UI_FadeMenu = ... # type: Qt.UIEffect + UI_AnimateCombo = ... # type: Qt.UIEffect + UI_AnimateTooltip = ... # type: Qt.UIEffect + UI_FadeTooltip = ... # type: Qt.UIEffect + UI_AnimateToolBox = ... # type: Qt.UIEffect + + class BrushStyle(int): + NoBrush = ... # type: Qt.BrushStyle + SolidPattern = ... # type: Qt.BrushStyle + Dense1Pattern = ... # type: Qt.BrushStyle + Dense2Pattern = ... # type: Qt.BrushStyle + Dense3Pattern = ... # type: Qt.BrushStyle + Dense4Pattern = ... # type: Qt.BrushStyle + Dense5Pattern = ... # type: Qt.BrushStyle + Dense6Pattern = ... # type: Qt.BrushStyle + Dense7Pattern = ... # type: Qt.BrushStyle + HorPattern = ... # type: Qt.BrushStyle + VerPattern = ... # type: Qt.BrushStyle + CrossPattern = ... # type: Qt.BrushStyle + BDiagPattern = ... # type: Qt.BrushStyle + FDiagPattern = ... # type: Qt.BrushStyle + DiagCrossPattern = ... # type: Qt.BrushStyle + LinearGradientPattern = ... # type: Qt.BrushStyle + RadialGradientPattern = ... # type: Qt.BrushStyle + ConicalGradientPattern = ... # type: Qt.BrushStyle + TexturePattern = ... # type: Qt.BrushStyle + + class PenJoinStyle(int): + MiterJoin = ... # type: Qt.PenJoinStyle + BevelJoin = ... # type: Qt.PenJoinStyle + RoundJoin = ... # type: Qt.PenJoinStyle + MPenJoinStyle = ... # type: Qt.PenJoinStyle + SvgMiterJoin = ... # type: Qt.PenJoinStyle + + class PenCapStyle(int): + FlatCap = ... # type: Qt.PenCapStyle + SquareCap = ... # type: Qt.PenCapStyle + RoundCap = ... # type: Qt.PenCapStyle + MPenCapStyle = ... # type: Qt.PenCapStyle + + class PenStyle(int): + NoPen = ... # type: Qt.PenStyle + SolidLine = ... # type: Qt.PenStyle + DashLine = ... # type: Qt.PenStyle + DotLine = ... # type: Qt.PenStyle + DashDotLine = ... # type: Qt.PenStyle + DashDotDotLine = ... # type: Qt.PenStyle + CustomDashLine = ... # type: Qt.PenStyle + MPenStyle = ... # type: Qt.PenStyle + + class ArrowType(int): + NoArrow = ... # type: Qt.ArrowType + UpArrow = ... # type: Qt.ArrowType + DownArrow = ... # type: Qt.ArrowType + LeftArrow = ... # type: Qt.ArrowType + RightArrow = ... # type: Qt.ArrowType + + class Key(int): + Key_Escape = ... # type: Qt.Key + Key_Tab = ... # type: Qt.Key + Key_Backtab = ... # type: Qt.Key + Key_Backspace = ... # type: Qt.Key + Key_Return = ... # type: Qt.Key + Key_Enter = ... # type: Qt.Key + Key_Insert = ... # type: Qt.Key + Key_Delete = ... # type: Qt.Key + Key_Pause = ... # type: Qt.Key + Key_Print = ... # type: Qt.Key + Key_SysReq = ... # type: Qt.Key + Key_Clear = ... # type: Qt.Key + Key_Home = ... # type: Qt.Key + Key_End = ... # type: Qt.Key + Key_Left = ... # type: Qt.Key + Key_Up = ... # type: Qt.Key + Key_Right = ... # type: Qt.Key + Key_Down = ... # type: Qt.Key + Key_PageUp = ... # type: Qt.Key + Key_PageDown = ... # type: Qt.Key + Key_Shift = ... # type: Qt.Key + Key_Control = ... # type: Qt.Key + Key_Meta = ... # type: Qt.Key + Key_Alt = ... # type: Qt.Key + Key_CapsLock = ... # type: Qt.Key + Key_NumLock = ... # type: Qt.Key + Key_ScrollLock = ... # type: Qt.Key + Key_F1 = ... # type: Qt.Key + Key_F2 = ... # type: Qt.Key + Key_F3 = ... # type: Qt.Key + Key_F4 = ... # type: Qt.Key + Key_F5 = ... # type: Qt.Key + Key_F6 = ... # type: Qt.Key + Key_F7 = ... # type: Qt.Key + Key_F8 = ... # type: Qt.Key + Key_F9 = ... # type: Qt.Key + Key_F10 = ... # type: Qt.Key + Key_F11 = ... # type: Qt.Key + Key_F12 = ... # type: Qt.Key + Key_F13 = ... # type: Qt.Key + Key_F14 = ... # type: Qt.Key + Key_F15 = ... # type: Qt.Key + Key_F16 = ... # type: Qt.Key + Key_F17 = ... # type: Qt.Key + Key_F18 = ... # type: Qt.Key + Key_F19 = ... # type: Qt.Key + Key_F20 = ... # type: Qt.Key + Key_F21 = ... # type: Qt.Key + Key_F22 = ... # type: Qt.Key + Key_F23 = ... # type: Qt.Key + Key_F24 = ... # type: Qt.Key + Key_F25 = ... # type: Qt.Key + Key_F26 = ... # type: Qt.Key + Key_F27 = ... # type: Qt.Key + Key_F28 = ... # type: Qt.Key + Key_F29 = ... # type: Qt.Key + Key_F30 = ... # type: Qt.Key + Key_F31 = ... # type: Qt.Key + Key_F32 = ... # type: Qt.Key + Key_F33 = ... # type: Qt.Key + Key_F34 = ... # type: Qt.Key + Key_F35 = ... # type: Qt.Key + Key_Super_L = ... # type: Qt.Key + Key_Super_R = ... # type: Qt.Key + Key_Menu = ... # type: Qt.Key + Key_Hyper_L = ... # type: Qt.Key + Key_Hyper_R = ... # type: Qt.Key + Key_Help = ... # type: Qt.Key + Key_Direction_L = ... # type: Qt.Key + Key_Direction_R = ... # type: Qt.Key + Key_Space = ... # type: Qt.Key + Key_Any = ... # type: Qt.Key + Key_Exclam = ... # type: Qt.Key + Key_QuoteDbl = ... # type: Qt.Key + Key_NumberSign = ... # type: Qt.Key + Key_Dollar = ... # type: Qt.Key + Key_Percent = ... # type: Qt.Key + Key_Ampersand = ... # type: Qt.Key + Key_Apostrophe = ... # type: Qt.Key + Key_ParenLeft = ... # type: Qt.Key + Key_ParenRight = ... # type: Qt.Key + Key_Asterisk = ... # type: Qt.Key + Key_Plus = ... # type: Qt.Key + Key_Comma = ... # type: Qt.Key + Key_Minus = ... # type: Qt.Key + Key_Period = ... # type: Qt.Key + Key_Slash = ... # type: Qt.Key + Key_0 = ... # type: Qt.Key + Key_1 = ... # type: Qt.Key + Key_2 = ... # type: Qt.Key + Key_3 = ... # type: Qt.Key + Key_4 = ... # type: Qt.Key + Key_5 = ... # type: Qt.Key + Key_6 = ... # type: Qt.Key + Key_7 = ... # type: Qt.Key + Key_8 = ... # type: Qt.Key + Key_9 = ... # type: Qt.Key + Key_Colon = ... # type: Qt.Key + Key_Semicolon = ... # type: Qt.Key + Key_Less = ... # type: Qt.Key + Key_Equal = ... # type: Qt.Key + Key_Greater = ... # type: Qt.Key + Key_Question = ... # type: Qt.Key + Key_At = ... # type: Qt.Key + Key_A = ... # type: Qt.Key + Key_B = ... # type: Qt.Key + Key_C = ... # type: Qt.Key + Key_D = ... # type: Qt.Key + Key_E = ... # type: Qt.Key + Key_F = ... # type: Qt.Key + Key_G = ... # type: Qt.Key + Key_H = ... # type: Qt.Key + Key_I = ... # type: Qt.Key + Key_J = ... # type: Qt.Key + Key_K = ... # type: Qt.Key + Key_L = ... # type: Qt.Key + Key_M = ... # type: Qt.Key + Key_N = ... # type: Qt.Key + Key_O = ... # type: Qt.Key + Key_P = ... # type: Qt.Key + Key_Q = ... # type: Qt.Key + Key_R = ... # type: Qt.Key + Key_S = ... # type: Qt.Key + Key_T = ... # type: Qt.Key + Key_U = ... # type: Qt.Key + Key_V = ... # type: Qt.Key + Key_W = ... # type: Qt.Key + Key_X = ... # type: Qt.Key + Key_Y = ... # type: Qt.Key + Key_Z = ... # type: Qt.Key + Key_BracketLeft = ... # type: Qt.Key + Key_Backslash = ... # type: Qt.Key + Key_BracketRight = ... # type: Qt.Key + Key_AsciiCircum = ... # type: Qt.Key + Key_Underscore = ... # type: Qt.Key + Key_QuoteLeft = ... # type: Qt.Key + Key_BraceLeft = ... # type: Qt.Key + Key_Bar = ... # type: Qt.Key + Key_BraceRight = ... # type: Qt.Key + Key_AsciiTilde = ... # type: Qt.Key + Key_nobreakspace = ... # type: Qt.Key + Key_exclamdown = ... # type: Qt.Key + Key_cent = ... # type: Qt.Key + Key_sterling = ... # type: Qt.Key + Key_currency = ... # type: Qt.Key + Key_yen = ... # type: Qt.Key + Key_brokenbar = ... # type: Qt.Key + Key_section = ... # type: Qt.Key + Key_diaeresis = ... # type: Qt.Key + Key_copyright = ... # type: Qt.Key + Key_ordfeminine = ... # type: Qt.Key + Key_guillemotleft = ... # type: Qt.Key + Key_notsign = ... # type: Qt.Key + Key_hyphen = ... # type: Qt.Key + Key_registered = ... # type: Qt.Key + Key_macron = ... # type: Qt.Key + Key_degree = ... # type: Qt.Key + Key_plusminus = ... # type: Qt.Key + Key_twosuperior = ... # type: Qt.Key + Key_threesuperior = ... # type: Qt.Key + Key_acute = ... # type: Qt.Key + Key_mu = ... # type: Qt.Key + Key_paragraph = ... # type: Qt.Key + Key_periodcentered = ... # type: Qt.Key + Key_cedilla = ... # type: Qt.Key + Key_onesuperior = ... # type: Qt.Key + Key_masculine = ... # type: Qt.Key + Key_guillemotright = ... # type: Qt.Key + Key_onequarter = ... # type: Qt.Key + Key_onehalf = ... # type: Qt.Key + Key_threequarters = ... # type: Qt.Key + Key_questiondown = ... # type: Qt.Key + Key_Agrave = ... # type: Qt.Key + Key_Aacute = ... # type: Qt.Key + Key_Acircumflex = ... # type: Qt.Key + Key_Atilde = ... # type: Qt.Key + Key_Adiaeresis = ... # type: Qt.Key + Key_Aring = ... # type: Qt.Key + Key_AE = ... # type: Qt.Key + Key_Ccedilla = ... # type: Qt.Key + Key_Egrave = ... # type: Qt.Key + Key_Eacute = ... # type: Qt.Key + Key_Ecircumflex = ... # type: Qt.Key + Key_Ediaeresis = ... # type: Qt.Key + Key_Igrave = ... # type: Qt.Key + Key_Iacute = ... # type: Qt.Key + Key_Icircumflex = ... # type: Qt.Key + Key_Idiaeresis = ... # type: Qt.Key + Key_ETH = ... # type: Qt.Key + Key_Ntilde = ... # type: Qt.Key + Key_Ograve = ... # type: Qt.Key + Key_Oacute = ... # type: Qt.Key + Key_Ocircumflex = ... # type: Qt.Key + Key_Otilde = ... # type: Qt.Key + Key_Odiaeresis = ... # type: Qt.Key + Key_multiply = ... # type: Qt.Key + Key_Ooblique = ... # type: Qt.Key + Key_Ugrave = ... # type: Qt.Key + Key_Uacute = ... # type: Qt.Key + Key_Ucircumflex = ... # type: Qt.Key + Key_Udiaeresis = ... # type: Qt.Key + Key_Yacute = ... # type: Qt.Key + Key_THORN = ... # type: Qt.Key + Key_ssharp = ... # type: Qt.Key + Key_division = ... # type: Qt.Key + Key_ydiaeresis = ... # type: Qt.Key + Key_AltGr = ... # type: Qt.Key + Key_Multi_key = ... # type: Qt.Key + Key_Codeinput = ... # type: Qt.Key + Key_SingleCandidate = ... # type: Qt.Key + Key_MultipleCandidate = ... # type: Qt.Key + Key_PreviousCandidate = ... # type: Qt.Key + Key_Mode_switch = ... # type: Qt.Key + Key_Kanji = ... # type: Qt.Key + Key_Muhenkan = ... # type: Qt.Key + Key_Henkan = ... # type: Qt.Key + Key_Romaji = ... # type: Qt.Key + Key_Hiragana = ... # type: Qt.Key + Key_Katakana = ... # type: Qt.Key + Key_Hiragana_Katakana = ... # type: Qt.Key + Key_Zenkaku = ... # type: Qt.Key + Key_Hankaku = ... # type: Qt.Key + Key_Zenkaku_Hankaku = ... # type: Qt.Key + Key_Touroku = ... # type: Qt.Key + Key_Massyo = ... # type: Qt.Key + Key_Kana_Lock = ... # type: Qt.Key + Key_Kana_Shift = ... # type: Qt.Key + Key_Eisu_Shift = ... # type: Qt.Key + Key_Eisu_toggle = ... # type: Qt.Key + Key_Hangul = ... # type: Qt.Key + Key_Hangul_Start = ... # type: Qt.Key + Key_Hangul_End = ... # type: Qt.Key + Key_Hangul_Hanja = ... # type: Qt.Key + Key_Hangul_Jamo = ... # type: Qt.Key + Key_Hangul_Romaja = ... # type: Qt.Key + Key_Hangul_Jeonja = ... # type: Qt.Key + Key_Hangul_Banja = ... # type: Qt.Key + Key_Hangul_PreHanja = ... # type: Qt.Key + Key_Hangul_PostHanja = ... # type: Qt.Key + Key_Hangul_Special = ... # type: Qt.Key + Key_Dead_Grave = ... # type: Qt.Key + Key_Dead_Acute = ... # type: Qt.Key + Key_Dead_Circumflex = ... # type: Qt.Key + Key_Dead_Tilde = ... # type: Qt.Key + Key_Dead_Macron = ... # type: Qt.Key + Key_Dead_Breve = ... # type: Qt.Key + Key_Dead_Abovedot = ... # type: Qt.Key + Key_Dead_Diaeresis = ... # type: Qt.Key + Key_Dead_Abovering = ... # type: Qt.Key + Key_Dead_Doubleacute = ... # type: Qt.Key + Key_Dead_Caron = ... # type: Qt.Key + Key_Dead_Cedilla = ... # type: Qt.Key + Key_Dead_Ogonek = ... # type: Qt.Key + Key_Dead_Iota = ... # type: Qt.Key + Key_Dead_Voiced_Sound = ... # type: Qt.Key + Key_Dead_Semivoiced_Sound = ... # type: Qt.Key + Key_Dead_Belowdot = ... # type: Qt.Key + Key_Dead_Hook = ... # type: Qt.Key + Key_Dead_Horn = ... # type: Qt.Key + Key_Back = ... # type: Qt.Key + Key_Forward = ... # type: Qt.Key + Key_Stop = ... # type: Qt.Key + Key_Refresh = ... # type: Qt.Key + Key_VolumeDown = ... # type: Qt.Key + Key_VolumeMute = ... # type: Qt.Key + Key_VolumeUp = ... # type: Qt.Key + Key_BassBoost = ... # type: Qt.Key + Key_BassUp = ... # type: Qt.Key + Key_BassDown = ... # type: Qt.Key + Key_TrebleUp = ... # type: Qt.Key + Key_TrebleDown = ... # type: Qt.Key + Key_MediaPlay = ... # type: Qt.Key + Key_MediaStop = ... # type: Qt.Key + Key_MediaPrevious = ... # type: Qt.Key + Key_MediaNext = ... # type: Qt.Key + Key_MediaRecord = ... # type: Qt.Key + Key_HomePage = ... # type: Qt.Key + Key_Favorites = ... # type: Qt.Key + Key_Search = ... # type: Qt.Key + Key_Standby = ... # type: Qt.Key + Key_OpenUrl = ... # type: Qt.Key + Key_LaunchMail = ... # type: Qt.Key + Key_LaunchMedia = ... # type: Qt.Key + Key_Launch0 = ... # type: Qt.Key + Key_Launch1 = ... # type: Qt.Key + Key_Launch2 = ... # type: Qt.Key + Key_Launch3 = ... # type: Qt.Key + Key_Launch4 = ... # type: Qt.Key + Key_Launch5 = ... # type: Qt.Key + Key_Launch6 = ... # type: Qt.Key + Key_Launch7 = ... # type: Qt.Key + Key_Launch8 = ... # type: Qt.Key + Key_Launch9 = ... # type: Qt.Key + Key_LaunchA = ... # type: Qt.Key + Key_LaunchB = ... # type: Qt.Key + Key_LaunchC = ... # type: Qt.Key + Key_LaunchD = ... # type: Qt.Key + Key_LaunchE = ... # type: Qt.Key + Key_LaunchF = ... # type: Qt.Key + Key_MediaLast = ... # type: Qt.Key + Key_Select = ... # type: Qt.Key + Key_Yes = ... # type: Qt.Key + Key_No = ... # type: Qt.Key + Key_Context1 = ... # type: Qt.Key + Key_Context2 = ... # type: Qt.Key + Key_Context3 = ... # type: Qt.Key + Key_Context4 = ... # type: Qt.Key + Key_Call = ... # type: Qt.Key + Key_Hangup = ... # type: Qt.Key + Key_Flip = ... # type: Qt.Key + Key_unknown = ... # type: Qt.Key + Key_Execute = ... # type: Qt.Key + Key_Printer = ... # type: Qt.Key + Key_Play = ... # type: Qt.Key + Key_Sleep = ... # type: Qt.Key + Key_Zoom = ... # type: Qt.Key + Key_Cancel = ... # type: Qt.Key + Key_MonBrightnessUp = ... # type: Qt.Key + Key_MonBrightnessDown = ... # type: Qt.Key + Key_KeyboardLightOnOff = ... # type: Qt.Key + Key_KeyboardBrightnessUp = ... # type: Qt.Key + Key_KeyboardBrightnessDown = ... # type: Qt.Key + Key_PowerOff = ... # type: Qt.Key + Key_WakeUp = ... # type: Qt.Key + Key_Eject = ... # type: Qt.Key + Key_ScreenSaver = ... # type: Qt.Key + Key_WWW = ... # type: Qt.Key + Key_Memo = ... # type: Qt.Key + Key_LightBulb = ... # type: Qt.Key + Key_Shop = ... # type: Qt.Key + Key_History = ... # type: Qt.Key + Key_AddFavorite = ... # type: Qt.Key + Key_HotLinks = ... # type: Qt.Key + Key_BrightnessAdjust = ... # type: Qt.Key + Key_Finance = ... # type: Qt.Key + Key_Community = ... # type: Qt.Key + Key_AudioRewind = ... # type: Qt.Key + Key_BackForward = ... # type: Qt.Key + Key_ApplicationLeft = ... # type: Qt.Key + Key_ApplicationRight = ... # type: Qt.Key + Key_Book = ... # type: Qt.Key + Key_CD = ... # type: Qt.Key + Key_Calculator = ... # type: Qt.Key + Key_ToDoList = ... # type: Qt.Key + Key_ClearGrab = ... # type: Qt.Key + Key_Close = ... # type: Qt.Key + Key_Copy = ... # type: Qt.Key + Key_Cut = ... # type: Qt.Key + Key_Display = ... # type: Qt.Key + Key_DOS = ... # type: Qt.Key + Key_Documents = ... # type: Qt.Key + Key_Excel = ... # type: Qt.Key + Key_Explorer = ... # type: Qt.Key + Key_Game = ... # type: Qt.Key + Key_Go = ... # type: Qt.Key + Key_iTouch = ... # type: Qt.Key + Key_LogOff = ... # type: Qt.Key + Key_Market = ... # type: Qt.Key + Key_Meeting = ... # type: Qt.Key + Key_MenuKB = ... # type: Qt.Key + Key_MenuPB = ... # type: Qt.Key + Key_MySites = ... # type: Qt.Key + Key_News = ... # type: Qt.Key + Key_OfficeHome = ... # type: Qt.Key + Key_Option = ... # type: Qt.Key + Key_Paste = ... # type: Qt.Key + Key_Phone = ... # type: Qt.Key + Key_Calendar = ... # type: Qt.Key + Key_Reply = ... # type: Qt.Key + Key_Reload = ... # type: Qt.Key + Key_RotateWindows = ... # type: Qt.Key + Key_RotationPB = ... # type: Qt.Key + Key_RotationKB = ... # type: Qt.Key + Key_Save = ... # type: Qt.Key + Key_Send = ... # type: Qt.Key + Key_Spell = ... # type: Qt.Key + Key_SplitScreen = ... # type: Qt.Key + Key_Support = ... # type: Qt.Key + Key_TaskPane = ... # type: Qt.Key + Key_Terminal = ... # type: Qt.Key + Key_Tools = ... # type: Qt.Key + Key_Travel = ... # type: Qt.Key + Key_Video = ... # type: Qt.Key + Key_Word = ... # type: Qt.Key + Key_Xfer = ... # type: Qt.Key + Key_ZoomIn = ... # type: Qt.Key + Key_ZoomOut = ... # type: Qt.Key + Key_Away = ... # type: Qt.Key + Key_Messenger = ... # type: Qt.Key + Key_WebCam = ... # type: Qt.Key + Key_MailForward = ... # type: Qt.Key + Key_Pictures = ... # type: Qt.Key + Key_Music = ... # type: Qt.Key + Key_Battery = ... # type: Qt.Key + Key_Bluetooth = ... # type: Qt.Key + Key_WLAN = ... # type: Qt.Key + Key_UWB = ... # type: Qt.Key + Key_AudioForward = ... # type: Qt.Key + Key_AudioRepeat = ... # type: Qt.Key + Key_AudioRandomPlay = ... # type: Qt.Key + Key_Subtitle = ... # type: Qt.Key + Key_AudioCycleTrack = ... # type: Qt.Key + Key_Time = ... # type: Qt.Key + Key_Hibernate = ... # type: Qt.Key + Key_View = ... # type: Qt.Key + Key_TopMenu = ... # type: Qt.Key + Key_PowerDown = ... # type: Qt.Key + Key_Suspend = ... # type: Qt.Key + Key_ContrastAdjust = ... # type: Qt.Key + Key_MediaPause = ... # type: Qt.Key + Key_MediaTogglePlayPause = ... # type: Qt.Key + Key_LaunchG = ... # type: Qt.Key + Key_LaunchH = ... # type: Qt.Key + Key_ToggleCallHangup = ... # type: Qt.Key + Key_VoiceDial = ... # type: Qt.Key + Key_LastNumberRedial = ... # type: Qt.Key + Key_Camera = ... # type: Qt.Key + Key_CameraFocus = ... # type: Qt.Key + Key_TouchpadToggle = ... # type: Qt.Key + Key_TouchpadOn = ... # type: Qt.Key + Key_TouchpadOff = ... # type: Qt.Key + Key_MicMute = ... # type: Qt.Key + Key_Red = ... # type: Qt.Key + Key_Green = ... # type: Qt.Key + Key_Yellow = ... # type: Qt.Key + Key_Blue = ... # type: Qt.Key + Key_ChannelUp = ... # type: Qt.Key + Key_ChannelDown = ... # type: Qt.Key + Key_Guide = ... # type: Qt.Key + Key_Info = ... # type: Qt.Key + Key_Settings = ... # type: Qt.Key + Key_Exit = ... # type: Qt.Key + Key_MicVolumeUp = ... # type: Qt.Key + Key_MicVolumeDown = ... # type: Qt.Key + Key_New = ... # type: Qt.Key + Key_Open = ... # type: Qt.Key + Key_Find = ... # type: Qt.Key + Key_Undo = ... # type: Qt.Key + Key_Redo = ... # type: Qt.Key + Key_Dead_Stroke = ... # type: Qt.Key + Key_Dead_Abovecomma = ... # type: Qt.Key + Key_Dead_Abovereversedcomma = ... # type: Qt.Key + Key_Dead_Doublegrave = ... # type: Qt.Key + Key_Dead_Belowring = ... # type: Qt.Key + Key_Dead_Belowmacron = ... # type: Qt.Key + Key_Dead_Belowcircumflex = ... # type: Qt.Key + Key_Dead_Belowtilde = ... # type: Qt.Key + Key_Dead_Belowbreve = ... # type: Qt.Key + Key_Dead_Belowdiaeresis = ... # type: Qt.Key + Key_Dead_Invertedbreve = ... # type: Qt.Key + Key_Dead_Belowcomma = ... # type: Qt.Key + Key_Dead_Currency = ... # type: Qt.Key + Key_Dead_a = ... # type: Qt.Key + Key_Dead_A = ... # type: Qt.Key + Key_Dead_e = ... # type: Qt.Key + Key_Dead_E = ... # type: Qt.Key + Key_Dead_i = ... # type: Qt.Key + Key_Dead_I = ... # type: Qt.Key + Key_Dead_o = ... # type: Qt.Key + Key_Dead_O = ... # type: Qt.Key + Key_Dead_u = ... # type: Qt.Key + Key_Dead_U = ... # type: Qt.Key + Key_Dead_Small_Schwa = ... # type: Qt.Key + Key_Dead_Capital_Schwa = ... # type: Qt.Key + Key_Dead_Greek = ... # type: Qt.Key + Key_Dead_Lowline = ... # type: Qt.Key + Key_Dead_Aboveverticalline = ... # type: Qt.Key + Key_Dead_Belowverticalline = ... # type: Qt.Key + Key_Dead_Longsolidusoverlay = ... # type: Qt.Key + + class BGMode(int): + TransparentMode = ... # type: Qt.BGMode + OpaqueMode = ... # type: Qt.BGMode + + class ImageConversionFlag(int): + AutoColor = ... # type: Qt.ImageConversionFlag + ColorOnly = ... # type: Qt.ImageConversionFlag + MonoOnly = ... # type: Qt.ImageConversionFlag + ThresholdAlphaDither = ... # type: Qt.ImageConversionFlag + OrderedAlphaDither = ... # type: Qt.ImageConversionFlag + DiffuseAlphaDither = ... # type: Qt.ImageConversionFlag + DiffuseDither = ... # type: Qt.ImageConversionFlag + OrderedDither = ... # type: Qt.ImageConversionFlag + ThresholdDither = ... # type: Qt.ImageConversionFlag + AutoDither = ... # type: Qt.ImageConversionFlag + PreferDither = ... # type: Qt.ImageConversionFlag + AvoidDither = ... # type: Qt.ImageConversionFlag + NoOpaqueDetection = ... # type: Qt.ImageConversionFlag + NoFormatConversion = ... # type: Qt.ImageConversionFlag + + class WidgetAttribute(int): + WA_Disabled = ... # type: Qt.WidgetAttribute + WA_UnderMouse = ... # type: Qt.WidgetAttribute + WA_MouseTracking = ... # type: Qt.WidgetAttribute + WA_OpaquePaintEvent = ... # type: Qt.WidgetAttribute + WA_StaticContents = ... # type: Qt.WidgetAttribute + WA_LaidOut = ... # type: Qt.WidgetAttribute + WA_PaintOnScreen = ... # type: Qt.WidgetAttribute + WA_NoSystemBackground = ... # type: Qt.WidgetAttribute + WA_UpdatesDisabled = ... # type: Qt.WidgetAttribute + WA_Mapped = ... # type: Qt.WidgetAttribute + WA_MacNoClickThrough = ... # type: Qt.WidgetAttribute + WA_InputMethodEnabled = ... # type: Qt.WidgetAttribute + WA_WState_Visible = ... # type: Qt.WidgetAttribute + WA_WState_Hidden = ... # type: Qt.WidgetAttribute + WA_ForceDisabled = ... # type: Qt.WidgetAttribute + WA_KeyCompression = ... # type: Qt.WidgetAttribute + WA_PendingMoveEvent = ... # type: Qt.WidgetAttribute + WA_PendingResizeEvent = ... # type: Qt.WidgetAttribute + WA_SetPalette = ... # type: Qt.WidgetAttribute + WA_SetFont = ... # type: Qt.WidgetAttribute + WA_SetCursor = ... # type: Qt.WidgetAttribute + WA_NoChildEventsFromChildren = ... # type: Qt.WidgetAttribute + WA_WindowModified = ... # type: Qt.WidgetAttribute + WA_Resized = ... # type: Qt.WidgetAttribute + WA_Moved = ... # type: Qt.WidgetAttribute + WA_PendingUpdate = ... # type: Qt.WidgetAttribute + WA_InvalidSize = ... # type: Qt.WidgetAttribute + WA_MacMetalStyle = ... # type: Qt.WidgetAttribute + WA_CustomWhatsThis = ... # type: Qt.WidgetAttribute + WA_LayoutOnEntireRect = ... # type: Qt.WidgetAttribute + WA_OutsideWSRange = ... # type: Qt.WidgetAttribute + WA_GrabbedShortcut = ... # type: Qt.WidgetAttribute + WA_TransparentForMouseEvents = ... # type: Qt.WidgetAttribute + WA_PaintUnclipped = ... # type: Qt.WidgetAttribute + WA_SetWindowIcon = ... # type: Qt.WidgetAttribute + WA_NoMouseReplay = ... # type: Qt.WidgetAttribute + WA_DeleteOnClose = ... # type: Qt.WidgetAttribute + WA_RightToLeft = ... # type: Qt.WidgetAttribute + WA_SetLayoutDirection = ... # type: Qt.WidgetAttribute + WA_NoChildEventsForParent = ... # type: Qt.WidgetAttribute + WA_ForceUpdatesDisabled = ... # type: Qt.WidgetAttribute + WA_WState_Created = ... # type: Qt.WidgetAttribute + WA_WState_CompressKeys = ... # type: Qt.WidgetAttribute + WA_WState_InPaintEvent = ... # type: Qt.WidgetAttribute + WA_WState_Reparented = ... # type: Qt.WidgetAttribute + WA_WState_ConfigPending = ... # type: Qt.WidgetAttribute + WA_WState_Polished = ... # type: Qt.WidgetAttribute + WA_WState_OwnSizePolicy = ... # type: Qt.WidgetAttribute + WA_WState_ExplicitShowHide = ... # type: Qt.WidgetAttribute + WA_MouseNoMask = ... # type: Qt.WidgetAttribute + WA_GroupLeader = ... # type: Qt.WidgetAttribute + WA_NoMousePropagation = ... # type: Qt.WidgetAttribute + WA_Hover = ... # type: Qt.WidgetAttribute + WA_InputMethodTransparent = ... # type: Qt.WidgetAttribute + WA_QuitOnClose = ... # type: Qt.WidgetAttribute + WA_KeyboardFocusChange = ... # type: Qt.WidgetAttribute + WA_AcceptDrops = ... # type: Qt.WidgetAttribute + WA_WindowPropagation = ... # type: Qt.WidgetAttribute + WA_NoX11EventCompression = ... # type: Qt.WidgetAttribute + WA_TintedBackground = ... # type: Qt.WidgetAttribute + WA_X11OpenGLOverlay = ... # type: Qt.WidgetAttribute + WA_AttributeCount = ... # type: Qt.WidgetAttribute + WA_AlwaysShowToolTips = ... # type: Qt.WidgetAttribute + WA_MacOpaqueSizeGrip = ... # type: Qt.WidgetAttribute + WA_SetStyle = ... # type: Qt.WidgetAttribute + WA_MacBrushedMetal = ... # type: Qt.WidgetAttribute + WA_SetLocale = ... # type: Qt.WidgetAttribute + WA_MacShowFocusRect = ... # type: Qt.WidgetAttribute + WA_MacNormalSize = ... # type: Qt.WidgetAttribute + WA_MacSmallSize = ... # type: Qt.WidgetAttribute + WA_MacMiniSize = ... # type: Qt.WidgetAttribute + WA_LayoutUsesWidgetRect = ... # type: Qt.WidgetAttribute + WA_StyledBackground = ... # type: Qt.WidgetAttribute + WA_MSWindowsUseDirect3D = ... # type: Qt.WidgetAttribute + WA_MacAlwaysShowToolWindow = ... # type: Qt.WidgetAttribute + WA_StyleSheet = ... # type: Qt.WidgetAttribute + WA_ShowWithoutActivating = ... # type: Qt.WidgetAttribute + WA_NativeWindow = ... # type: Qt.WidgetAttribute + WA_DontCreateNativeAncestors = ... # type: Qt.WidgetAttribute + WA_MacVariableSize = ... # type: Qt.WidgetAttribute + WA_DontShowOnScreen = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeDesktop = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeDock = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeToolBar = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeMenu = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeUtility = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeSplash = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeDialog = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeDropDownMenu = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypePopupMenu = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeToolTip = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeNotification = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeCombo = ... # type: Qt.WidgetAttribute + WA_X11NetWmWindowTypeDND = ... # type: Qt.WidgetAttribute + WA_MacFrameworkScaled = ... # type: Qt.WidgetAttribute + WA_TranslucentBackground = ... # type: Qt.WidgetAttribute + WA_AcceptTouchEvents = ... # type: Qt.WidgetAttribute + WA_TouchPadAcceptSingleTouchEvents = ... # type: Qt.WidgetAttribute + WA_X11DoNotAcceptFocus = ... # type: Qt.WidgetAttribute + WA_MacNoShadow = ... # type: Qt.WidgetAttribute + WA_AlwaysStackOnTop = ... # type: Qt.WidgetAttribute + WA_TabletTracking = ... # type: Qt.WidgetAttribute + WA_ContentsMarginsRespectsSafeArea = ... # type: Qt.WidgetAttribute + WA_StyleSheetTarget = ... # type: Qt.WidgetAttribute + + class WindowState(int): + WindowNoState = ... # type: Qt.WindowState + WindowMinimized = ... # type: Qt.WindowState + WindowMaximized = ... # type: Qt.WindowState + WindowFullScreen = ... # type: Qt.WindowState + WindowActive = ... # type: Qt.WindowState + + class WindowType(int): + Widget = ... # type: Qt.WindowType + Window = ... # type: Qt.WindowType + Dialog = ... # type: Qt.WindowType + Sheet = ... # type: Qt.WindowType + Drawer = ... # type: Qt.WindowType + Popup = ... # type: Qt.WindowType + Tool = ... # type: Qt.WindowType + ToolTip = ... # type: Qt.WindowType + SplashScreen = ... # type: Qt.WindowType + Desktop = ... # type: Qt.WindowType + SubWindow = ... # type: Qt.WindowType + WindowType_Mask = ... # type: Qt.WindowType + MSWindowsFixedSizeDialogHint = ... # type: Qt.WindowType + MSWindowsOwnDC = ... # type: Qt.WindowType + X11BypassWindowManagerHint = ... # type: Qt.WindowType + FramelessWindowHint = ... # type: Qt.WindowType + CustomizeWindowHint = ... # type: Qt.WindowType + WindowTitleHint = ... # type: Qt.WindowType + WindowSystemMenuHint = ... # type: Qt.WindowType + WindowMinimizeButtonHint = ... # type: Qt.WindowType + WindowMaximizeButtonHint = ... # type: Qt.WindowType + WindowMinMaxButtonsHint = ... # type: Qt.WindowType + WindowContextHelpButtonHint = ... # type: Qt.WindowType + WindowShadeButtonHint = ... # type: Qt.WindowType + WindowStaysOnTopHint = ... # type: Qt.WindowType + WindowStaysOnBottomHint = ... # type: Qt.WindowType + WindowCloseButtonHint = ... # type: Qt.WindowType + MacWindowToolBarButtonHint = ... # type: Qt.WindowType + BypassGraphicsProxyWidget = ... # type: Qt.WindowType + WindowTransparentForInput = ... # type: Qt.WindowType + WindowOverridesSystemGestures = ... # type: Qt.WindowType + WindowDoesNotAcceptFocus = ... # type: Qt.WindowType + NoDropShadowWindowHint = ... # type: Qt.WindowType + WindowFullscreenButtonHint = ... # type: Qt.WindowType + ForeignWindow = ... # type: Qt.WindowType + BypassWindowManagerHint = ... # type: Qt.WindowType + CoverWindow = ... # type: Qt.WindowType + MaximizeUsingFullscreenGeometryHint = ... # type: Qt.WindowType + + class TextElideMode(int): + ElideLeft = ... # type: Qt.TextElideMode + ElideRight = ... # type: Qt.TextElideMode + ElideMiddle = ... # type: Qt.TextElideMode + ElideNone = ... # type: Qt.TextElideMode + + class TextFlag(int): + TextSingleLine = ... # type: Qt.TextFlag + TextDontClip = ... # type: Qt.TextFlag + TextExpandTabs = ... # type: Qt.TextFlag + TextShowMnemonic = ... # type: Qt.TextFlag + TextWordWrap = ... # type: Qt.TextFlag + TextWrapAnywhere = ... # type: Qt.TextFlag + TextDontPrint = ... # type: Qt.TextFlag + TextIncludeTrailingSpaces = ... # type: Qt.TextFlag + TextHideMnemonic = ... # type: Qt.TextFlag + TextJustificationForced = ... # type: Qt.TextFlag + + class AlignmentFlag(int): + AlignLeft = ... # type: Qt.AlignmentFlag + AlignLeading = ... # type: Qt.AlignmentFlag + AlignRight = ... # type: Qt.AlignmentFlag + AlignTrailing = ... # type: Qt.AlignmentFlag + AlignHCenter = ... # type: Qt.AlignmentFlag + AlignJustify = ... # type: Qt.AlignmentFlag + AlignAbsolute = ... # type: Qt.AlignmentFlag + AlignHorizontal_Mask = ... # type: Qt.AlignmentFlag + AlignTop = ... # type: Qt.AlignmentFlag + AlignBottom = ... # type: Qt.AlignmentFlag + AlignVCenter = ... # type: Qt.AlignmentFlag + AlignVertical_Mask = ... # type: Qt.AlignmentFlag + AlignCenter = ... # type: Qt.AlignmentFlag + AlignBaseline = ... # type: Qt.AlignmentFlag + + class SortOrder(int): + AscendingOrder = ... # type: Qt.SortOrder + DescendingOrder = ... # type: Qt.SortOrder + + class FocusPolicy(int): + NoFocus = ... # type: Qt.FocusPolicy + TabFocus = ... # type: Qt.FocusPolicy + ClickFocus = ... # type: Qt.FocusPolicy + StrongFocus = ... # type: Qt.FocusPolicy + WheelFocus = ... # type: Qt.FocusPolicy + + class Orientation(int): + Horizontal = ... # type: Qt.Orientation + Vertical = ... # type: Qt.Orientation + + class MouseButton(int): + NoButton = ... # type: Qt.MouseButton + AllButtons = ... # type: Qt.MouseButton + LeftButton = ... # type: Qt.MouseButton + RightButton = ... # type: Qt.MouseButton + MidButton = ... # type: Qt.MouseButton + MiddleButton = ... # type: Qt.MouseButton + XButton1 = ... # type: Qt.MouseButton + XButton2 = ... # type: Qt.MouseButton + BackButton = ... # type: Qt.MouseButton + ExtraButton1 = ... # type: Qt.MouseButton + ForwardButton = ... # type: Qt.MouseButton + ExtraButton2 = ... # type: Qt.MouseButton + TaskButton = ... # type: Qt.MouseButton + ExtraButton3 = ... # type: Qt.MouseButton + ExtraButton4 = ... # type: Qt.MouseButton + ExtraButton5 = ... # type: Qt.MouseButton + ExtraButton6 = ... # type: Qt.MouseButton + ExtraButton7 = ... # type: Qt.MouseButton + ExtraButton8 = ... # type: Qt.MouseButton + ExtraButton9 = ... # type: Qt.MouseButton + ExtraButton10 = ... # type: Qt.MouseButton + ExtraButton11 = ... # type: Qt.MouseButton + ExtraButton12 = ... # type: Qt.MouseButton + ExtraButton13 = ... # type: Qt.MouseButton + ExtraButton14 = ... # type: Qt.MouseButton + ExtraButton15 = ... # type: Qt.MouseButton + ExtraButton16 = ... # type: Qt.MouseButton + ExtraButton17 = ... # type: Qt.MouseButton + ExtraButton18 = ... # type: Qt.MouseButton + ExtraButton19 = ... # type: Qt.MouseButton + ExtraButton20 = ... # type: Qt.MouseButton + ExtraButton21 = ... # type: Qt.MouseButton + ExtraButton22 = ... # type: Qt.MouseButton + ExtraButton23 = ... # type: Qt.MouseButton + ExtraButton24 = ... # type: Qt.MouseButton + + class Modifier(int): + META = ... # type: Qt.Modifier + SHIFT = ... # type: Qt.Modifier + CTRL = ... # type: Qt.Modifier + ALT = ... # type: Qt.Modifier + MODIFIER_MASK = ... # type: Qt.Modifier + UNICODE_ACCEL = ... # type: Qt.Modifier + + class KeyboardModifier(int): + NoModifier = ... # type: Qt.KeyboardModifier + ShiftModifier = ... # type: Qt.KeyboardModifier + ControlModifier = ... # type: Qt.KeyboardModifier + AltModifier = ... # type: Qt.KeyboardModifier + MetaModifier = ... # type: Qt.KeyboardModifier + KeypadModifier = ... # type: Qt.KeyboardModifier + GroupSwitchModifier = ... # type: Qt.KeyboardModifier + KeyboardModifierMask = ... # type: Qt.KeyboardModifier + + class GlobalColor(int): + color0 = ... # type: Qt.GlobalColor + color1 = ... # type: Qt.GlobalColor + black = ... # type: Qt.GlobalColor + white = ... # type: Qt.GlobalColor + darkGray = ... # type: Qt.GlobalColor + gray = ... # type: Qt.GlobalColor + lightGray = ... # type: Qt.GlobalColor + red = ... # type: Qt.GlobalColor + green = ... # type: Qt.GlobalColor + blue = ... # type: Qt.GlobalColor + cyan = ... # type: Qt.GlobalColor + magenta = ... # type: Qt.GlobalColor + yellow = ... # type: Qt.GlobalColor + darkRed = ... # type: Qt.GlobalColor + darkGreen = ... # type: Qt.GlobalColor + darkBlue = ... # type: Qt.GlobalColor + darkCyan = ... # type: Qt.GlobalColor + darkMagenta = ... # type: Qt.GlobalColor + darkYellow = ... # type: Qt.GlobalColor + transparent = ... # type: Qt.GlobalColor + + class KeyboardModifiers(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.KeyboardModifiers', 'Qt.KeyboardModifier']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.KeyboardModifiers') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.KeyboardModifiers': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class MouseButtons(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.MouseButtons', 'Qt.MouseButton']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.MouseButtons') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.MouseButtons': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class Orientations(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.Orientations', 'Qt.Orientation']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.Orientations') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.Orientations': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class Alignment(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.Alignment', 'Qt.AlignmentFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.Alignment') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.Alignment': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class WindowFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.WindowFlags', 'Qt.WindowType']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.WindowFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.WindowFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class WindowStates(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.WindowStates', 'Qt.WindowState']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.WindowStates') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.WindowStates': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ImageConversionFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.ImageConversionFlags', 'Qt.ImageConversionFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.ImageConversionFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.ImageConversionFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class DockWidgetAreas(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.DockWidgetAreas', 'Qt.DockWidgetArea']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.DockWidgetAreas') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.DockWidgetAreas': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ToolBarAreas(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.ToolBarAreas', 'Qt.ToolBarArea']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.ToolBarAreas') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.ToolBarAreas': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class InputMethodQueries(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.InputMethodQueries', 'Qt.InputMethodQuery']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.InputMethodQueries') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.InputMethodQueries': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class DropActions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.DropActions', 'Qt.DropAction']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.DropActions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.DropActions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ItemFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.ItemFlags', 'Qt.ItemFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.ItemFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.ItemFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class MatchFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.MatchFlags', 'Qt.MatchFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.MatchFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.MatchFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class TextInteractionFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.TextInteractionFlags', 'Qt.TextInteractionFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.TextInteractionFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.TextInteractionFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class InputMethodHints(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.InputMethodHints', 'Qt.InputMethodHint']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.InputMethodHints') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.InputMethodHints': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class TouchPointStates(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.TouchPointStates', 'Qt.TouchPointState']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.TouchPointStates') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.TouchPointStates': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class GestureFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.GestureFlags', 'Qt.GestureFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.GestureFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.GestureFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ScreenOrientations(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.ScreenOrientations', 'Qt.ScreenOrientation']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.ScreenOrientations') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.ScreenOrientations': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class FindChildOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.FindChildOptions', 'Qt.FindChildOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.FindChildOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.FindChildOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ApplicationStates(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.ApplicationStates', 'Qt.ApplicationState']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.ApplicationStates') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.ApplicationStates': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class Edges(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.Edges', 'Qt.Edge']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.Edges') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.Edges': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class MouseEventFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['Qt.MouseEventFlags', 'Qt.MouseEventFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'Qt.MouseEventFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'Qt.MouseEventFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + +class QObject(PyQt5.sip.wrapper): + + staticMetaObject = ... # type: 'QMetaObject' + + def __init__(self, parent: typing.Optional['QObject'] = ...) -> None: ... + + @typing.overload + @staticmethod + def disconnect(a0: 'QMetaObject.Connection') -> bool: ... + @typing.overload + def disconnect(self) -> None: ... + def isSignalConnected(self, signal: 'QMetaMethod') -> bool: ... + def senderSignalIndex(self) -> int: ... + def disconnectNotify(self, signal: 'QMetaMethod') -> None: ... + def connectNotify(self, signal: 'QMetaMethod') -> None: ... + def customEvent(self, a0: 'QEvent') -> None: ... + def childEvent(self, a0: 'QChildEvent') -> None: ... + def timerEvent(self, a0: 'QTimerEvent') -> None: ... + def receivers(self, signal: PYQT_SIGNAL) -> int: ... + def sender(self) -> 'QObject': ... + def deleteLater(self) -> None: ... + def inherits(self, classname: str) -> bool: ... + def parent(self) -> 'QObject': ... + def objectNameChanged(self, objectName: str) -> None: ... + def destroyed(self, object: typing.Optional['QObject'] = ...) -> None: ... + def property(self, name: str) -> typing.Any: ... + def setProperty(self, name: str, value: typing.Any) -> bool: ... + def dynamicPropertyNames(self) -> typing.List['QByteArray']: ... + def dumpObjectTree(self) -> None: ... + def dumpObjectInfo(self) -> None: ... + def removeEventFilter(self, a0: 'QObject') -> None: ... + def installEventFilter(self, a0: 'QObject') -> None: ... + def setParent(self, a0: 'QObject') -> None: ... + def children(self) -> typing.List['QObject']: ... + def killTimer(self, id: int) -> None: ... + def startTimer(self, interval: int, timerType: Qt.TimerType = ...) -> int: ... + def moveToThread(self, thread: 'QThread') -> None: ... + def thread(self) -> 'QThread': ... + def blockSignals(self, b: bool) -> bool: ... + def signalsBlocked(self) -> bool: ... + def isWindowType(self) -> bool: ... + def isWidgetType(self) -> bool: ... + def setObjectName(self, name: str) -> None: ... + def objectName(self) -> str: ... + @typing.overload + def findChildren(self, type: type, name: str = ..., options: typing.Union[Qt.FindChildOptions, Qt.FindChildOption] = ...) -> typing.List['QObject']: ... + @typing.overload + def findChildren(self, types: typing.Tuple, name: str = ..., options: typing.Union[Qt.FindChildOptions, Qt.FindChildOption] = ...) -> typing.List['QObject']: ... + @typing.overload + def findChildren(self, type: type, regExp: 'QRegExp', options: typing.Union[Qt.FindChildOptions, Qt.FindChildOption] = ...) -> typing.List['QObject']: ... + @typing.overload + def findChildren(self, types: typing.Tuple, regExp: 'QRegExp', options: typing.Union[Qt.FindChildOptions, Qt.FindChildOption] = ...) -> typing.List['QObject']: ... + @typing.overload + def findChildren(self, type: type, re: 'QRegularExpression', options: typing.Union[Qt.FindChildOptions, Qt.FindChildOption] = ...) -> typing.List['QObject']: ... + @typing.overload + def findChildren(self, types: typing.Tuple, re: 'QRegularExpression', options: typing.Union[Qt.FindChildOptions, Qt.FindChildOption] = ...) -> typing.List['QObject']: ... + @typing.overload + def findChild(self, type: type, name: str = ..., options: typing.Union[Qt.FindChildOptions, Qt.FindChildOption] = ...) -> 'QObject': ... + @typing.overload + def findChild(self, types: typing.Tuple, name: str = ..., options: typing.Union[Qt.FindChildOptions, Qt.FindChildOption] = ...) -> 'QObject': ... + def tr(self, sourceText: str, disambiguation: typing.Optional[str] = ..., n: int = ...) -> str: ... + def eventFilter(self, a0: 'QObject', a1: 'QEvent') -> bool: ... + def event(self, a0: 'QEvent') -> bool: ... + def pyqtConfigure(self, a0: typing.Any) -> None: ... + def metaObject(self) -> 'QMetaObject': ... + + +class QAbstractAnimation(QObject): + + class DeletionPolicy(int): + KeepWhenStopped = ... # type: QAbstractAnimation.DeletionPolicy + DeleteWhenStopped = ... # type: QAbstractAnimation.DeletionPolicy + + class State(int): + Stopped = ... # type: QAbstractAnimation.State + Paused = ... # type: QAbstractAnimation.State + Running = ... # type: QAbstractAnimation.State + + class Direction(int): + Forward = ... # type: QAbstractAnimation.Direction + Backward = ... # type: QAbstractAnimation.Direction + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def updateDirection(self, direction: 'QAbstractAnimation.Direction') -> None: ... + def updateState(self, newState: 'QAbstractAnimation.State', oldState: 'QAbstractAnimation.State') -> None: ... + def updateCurrentTime(self, currentTime: int) -> None: ... + def event(self, event: 'QEvent') -> bool: ... + def setCurrentTime(self, msecs: int) -> None: ... + def stop(self) -> None: ... + def setPaused(self, a0: bool) -> None: ... + def resume(self) -> None: ... + def pause(self) -> None: ... + def start(self, policy: 'QAbstractAnimation.DeletionPolicy' = ...) -> None: ... + def directionChanged(self, a0: 'QAbstractAnimation.Direction') -> None: ... + def currentLoopChanged(self, currentLoop: int) -> None: ... + def stateChanged(self, newState: 'QAbstractAnimation.State', oldState: 'QAbstractAnimation.State') -> None: ... + def finished(self) -> None: ... + def totalDuration(self) -> int: ... + def duration(self) -> int: ... + def currentLoop(self) -> int: ... + def setLoopCount(self, loopCount: int) -> None: ... + def loopCount(self) -> int: ... + def currentLoopTime(self) -> int: ... + def currentTime(self) -> int: ... + def setDirection(self, direction: 'QAbstractAnimation.Direction') -> None: ... + def direction(self) -> 'QAbstractAnimation.Direction': ... + def group(self) -> 'QAnimationGroup': ... + def state(self) -> 'QAbstractAnimation.State': ... + + +class QAbstractEventDispatcher(QObject): + + class TimerInfo(sip.simplewrapper): + + interval = ... # type: int + timerId = ... # type: int + timerType = ... # type: Qt.TimerType + + @typing.overload + def __init__(self, id: int, i: int, t: Qt.TimerType) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractEventDispatcher.TimerInfo') -> None: ... + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def awake(self) -> None: ... + def aboutToBlock(self) -> None: ... + def filterNativeEvent(self, eventType: typing.Union['QByteArray', bytes, bytearray], message: PyQt5.sip.voidptr) -> typing.Tuple[bool, int]: ... + def unregisterEventNotifier(self, notifier: 'QWinEventNotifier') -> None: ... + def registerEventNotifier(self, notifier: 'QWinEventNotifier') -> bool: ... + def removeNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter') -> None: ... + def installNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter') -> None: ... + def remainingTime(self, timerId: int) -> int: ... + def closingDown(self) -> None: ... + def startingUp(self) -> None: ... + def flush(self) -> None: ... + def interrupt(self) -> None: ... + def wakeUp(self) -> None: ... + def registeredTimers(self, object: QObject) -> typing.List['QAbstractEventDispatcher.TimerInfo']: ... + def unregisterTimers(self, object: QObject) -> bool: ... + def unregisterTimer(self, timerId: int) -> bool: ... + @typing.overload + def registerTimer(self, interval: int, timerType: Qt.TimerType, object: QObject) -> int: ... + @typing.overload + def registerTimer(self, timerId: int, interval: int, timerType: Qt.TimerType, object: QObject) -> None: ... + def unregisterSocketNotifier(self, notifier: 'QSocketNotifier') -> None: ... + def registerSocketNotifier(self, notifier: 'QSocketNotifier') -> None: ... + def hasPendingEvents(self) -> bool: ... + def processEvents(self, flags: typing.Union['QEventLoop.ProcessEventsFlags', 'QEventLoop.ProcessEventsFlag']) -> bool: ... + @staticmethod + def instance(thread: typing.Optional['QThread'] = ...) -> 'QAbstractEventDispatcher': ... + + +class QModelIndex(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QModelIndex') -> None: ... + @typing.overload + def __init__(self, a0: 'QPersistentModelIndex') -> None: ... + + def __hash__(self) -> int: ... + def siblingAtRow(self, row: int) -> 'QModelIndex': ... + def siblingAtColumn(self, column: int) -> 'QModelIndex': ... + def sibling(self, arow: int, acolumn: int) -> 'QModelIndex': ... + def parent(self) -> 'QModelIndex': ... + def isValid(self) -> bool: ... + def model(self) -> 'QAbstractItemModel': ... + def internalId(self) -> int: ... + def internalPointer(self) -> typing.Any: ... + def flags(self) -> Qt.ItemFlags: ... + def data(self, role: int = ...) -> typing.Any: ... + def column(self) -> int: ... + def row(self) -> int: ... + def child(self, arow: int, acolumn: int) -> 'QModelIndex': ... + + +class QPersistentModelIndex(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, index: QModelIndex) -> None: ... + @typing.overload + def __init__(self, other: 'QPersistentModelIndex') -> None: ... + + def __hash__(self) -> int: ... + def swap(self, other: 'QPersistentModelIndex') -> None: ... + def isValid(self) -> bool: ... + def model(self) -> 'QAbstractItemModel': ... + def child(self, row: int, column: int) -> QModelIndex: ... + def sibling(self, row: int, column: int) -> QModelIndex: ... + def parent(self) -> QModelIndex: ... + def flags(self) -> Qt.ItemFlags: ... + def data(self, role: int = ...) -> typing.Any: ... + def column(self) -> int: ... + def row(self) -> int: ... + + +class QAbstractItemModel(QObject): + + class CheckIndexOption(int): + NoOption = ... # type: QAbstractItemModel.CheckIndexOption + IndexIsValid = ... # type: QAbstractItemModel.CheckIndexOption + DoNotUseParent = ... # type: QAbstractItemModel.CheckIndexOption + ParentIsInvalid = ... # type: QAbstractItemModel.CheckIndexOption + + class LayoutChangeHint(int): + NoLayoutChangeHint = ... # type: QAbstractItemModel.LayoutChangeHint + VerticalSortHint = ... # type: QAbstractItemModel.LayoutChangeHint + HorizontalSortHint = ... # type: QAbstractItemModel.LayoutChangeHint + + class CheckIndexOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QAbstractItemModel.CheckIndexOptions', 'QAbstractItemModel.CheckIndexOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractItemModel.CheckIndexOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QAbstractItemModel.CheckIndexOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def checkIndex(self, index: QModelIndex, options: typing.Union['QAbstractItemModel.CheckIndexOptions', 'QAbstractItemModel.CheckIndexOption'] = ...) -> bool: ... + def moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def canDropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def resetInternalData(self) -> None: ... + def endResetModel(self) -> None: ... + def beginResetModel(self) -> None: ... + def endMoveColumns(self) -> None: ... + def beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) -> bool: ... + def endMoveRows(self) -> None: ... + def beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) -> bool: ... + def columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) -> None: ... + def columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) -> None: ... + def rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) -> None: ... + def rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) -> None: ... + def createIndex(self, row: int, column: int, object: typing.Any = ...) -> QModelIndex: ... + def roleNames(self) -> typing.Dict[int, 'QByteArray']: ... + def supportedDragActions(self) -> Qt.DropActions: ... + def removeColumn(self, column: int, parent: QModelIndex = ...) -> bool: ... + def removeRow(self, row: int, parent: QModelIndex = ...) -> bool: ... + def insertColumn(self, column: int, parent: QModelIndex = ...) -> bool: ... + def insertRow(self, row: int, parent: QModelIndex = ...) -> bool: ... + def changePersistentIndexList(self, from_: typing.Iterable[QModelIndex], to: typing.Iterable[QModelIndex]) -> None: ... + def changePersistentIndex(self, from_: QModelIndex, to: QModelIndex) -> None: ... + def persistentIndexList(self) -> typing.List[QModelIndex]: ... + def endRemoveColumns(self) -> None: ... + def beginRemoveColumns(self, parent: QModelIndex, first: int, last: int) -> None: ... + def endInsertColumns(self) -> None: ... + def beginInsertColumns(self, parent: QModelIndex, first: int, last: int) -> None: ... + def endRemoveRows(self) -> None: ... + def beginRemoveRows(self, parent: QModelIndex, first: int, last: int) -> None: ... + def endInsertRows(self) -> None: ... + def beginInsertRows(self, parent: QModelIndex, first: int, last: int) -> None: ... + def decodeData(self, row: int, column: int, parent: QModelIndex, stream: 'QDataStream') -> bool: ... + def encodeData(self, indexes: typing.Iterable[QModelIndex], stream: 'QDataStream') -> None: ... + def revert(self) -> None: ... + def submit(self) -> bool: ... + def modelReset(self) -> None: ... + def modelAboutToBeReset(self) -> None: ... + def columnsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... + def columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... + def columnsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... + def columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... + def rowsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... + def rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... + def rowsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... + def rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... + def layoutChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... + def layoutAboutToBeChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... + def headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) -> None: ... + def dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: typing.Iterable[int] = ...) -> None: ... + def span(self, index: QModelIndex) -> 'QSize': ... + def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: typing.Union[Qt.MatchFlags, Qt.MatchFlag] = ...) -> typing.List[QModelIndex]: ... + def buddy(self, index: QModelIndex) -> QModelIndex: ... + def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ... + def flags(self, index: QModelIndex) -> Qt.ItemFlags: ... + def canFetchMore(self, parent: QModelIndex) -> bool: ... + def fetchMore(self, parent: QModelIndex) -> None: ... + def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ... + def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def supportedDropActions(self) -> Qt.DropActions: ... + def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def mimeData(self, indexes: typing.Iterable[QModelIndex]) -> 'QMimeData': ... + def mimeTypes(self) -> typing.List[str]: ... + def setItemData(self, index: QModelIndex, roles: typing.Dict[int, typing.Any]) -> bool: ... + def itemData(self, index: QModelIndex) -> typing.Dict[int, typing.Any]: ... + def setHeaderData(self, section: int, orientation: Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ... + def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ... + def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, index: QModelIndex, role: int = ...) -> typing.Any: ... + def hasChildren(self, parent: QModelIndex = ...) -> bool: ... + def columnCount(self, parent: QModelIndex = ...) -> int: ... + def rowCount(self, parent: QModelIndex = ...) -> int: ... + def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... + @typing.overload + def parent(self, child: QModelIndex) -> QModelIndex: ... + @typing.overload + def parent(self) -> QObject: ... + def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ... + def hasIndex(self, row: int, column: int, parent: QModelIndex = ...) -> bool: ... + + +class QAbstractTableModel(QAbstractItemModel): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... + def parent(self) -> QObject: ... + def flags(self, index: QModelIndex) -> Qt.ItemFlags: ... + def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ... + + +class QAbstractListModel(QAbstractItemModel): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... + def parent(self) -> QObject: ... + def flags(self, index: QModelIndex) -> Qt.ItemFlags: ... + def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def index(self, row: int, column: int = ..., parent: QModelIndex = ...) -> QModelIndex: ... + + +class QAbstractNativeEventFilter(sip.simplewrapper): + + def __init__(self) -> None: ... + + def nativeEventFilter(self, eventType: typing.Union['QByteArray', bytes, bytearray], message: PyQt5.sip.voidptr) -> typing.Tuple[bool, int]: ... + + +class QAbstractProxyModel(QAbstractItemModel): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def supportedDragActions(self) -> Qt.DropActions: ... + def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def canDropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def sourceModelChanged(self) -> None: ... + def resetInternalData(self) -> None: ... + def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... + def supportedDropActions(self) -> Qt.DropActions: ... + def mimeTypes(self) -> typing.List[str]: ... + def mimeData(self, indexes: typing.Iterable[QModelIndex]) -> 'QMimeData': ... + def hasChildren(self, parent: QModelIndex = ...) -> bool: ... + def span(self, index: QModelIndex) -> 'QSize': ... + def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ... + def fetchMore(self, parent: QModelIndex) -> None: ... + def canFetchMore(self, parent: QModelIndex) -> bool: ... + def buddy(self, index: QModelIndex) -> QModelIndex: ... + def setItemData(self, index: QModelIndex, roles: typing.Dict[int, typing.Any]) -> bool: ... + def flags(self, index: QModelIndex) -> Qt.ItemFlags: ... + def itemData(self, index: QModelIndex) -> typing.Dict[int, typing.Any]: ... + def setHeaderData(self, section: int, orientation: Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ... + def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ... + def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, proxyIndex: QModelIndex, role: int = ...) -> typing.Any: ... + def revert(self) -> None: ... + def submit(self) -> bool: ... + def mapSelectionFromSource(self, selection: 'QItemSelection') -> 'QItemSelection': ... + def mapSelectionToSource(self, selection: 'QItemSelection') -> 'QItemSelection': ... + def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ... + def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ... + def sourceModel(self) -> QAbstractItemModel: ... + def setSourceModel(self, sourceModel: QAbstractItemModel) -> None: ... + + +class QAbstractState(QObject): + + def __init__(self, parent: typing.Optional['QState'] = ...) -> None: ... + + def event(self, e: 'QEvent') -> bool: ... + def onExit(self, event: 'QEvent') -> None: ... + def onEntry(self, event: 'QEvent') -> None: ... + def exited(self) -> None: ... + def entered(self) -> None: ... + def activeChanged(self, active: bool) -> None: ... + def active(self) -> bool: ... + def machine(self) -> 'QStateMachine': ... + def parentState(self) -> 'QState': ... + + +class QAbstractTransition(QObject): + + class TransitionType(int): + ExternalTransition = ... # type: QAbstractTransition.TransitionType + InternalTransition = ... # type: QAbstractTransition.TransitionType + + def __init__(self, sourceState: typing.Optional['QState'] = ...) -> None: ... + + def setTransitionType(self, type: 'QAbstractTransition.TransitionType') -> None: ... + def transitionType(self) -> 'QAbstractTransition.TransitionType': ... + def event(self, e: 'QEvent') -> bool: ... + def onTransition(self, event: 'QEvent') -> None: ... + def eventTest(self, event: 'QEvent') -> bool: ... + def targetStatesChanged(self) -> None: ... + def targetStateChanged(self) -> None: ... + def triggered(self) -> None: ... + def animations(self) -> typing.List[QAbstractAnimation]: ... + def removeAnimation(self, animation: QAbstractAnimation) -> None: ... + def addAnimation(self, animation: QAbstractAnimation) -> None: ... + def machine(self) -> 'QStateMachine': ... + def setTargetStates(self, targets: typing.Iterable[QAbstractState]) -> None: ... + def targetStates(self) -> typing.List[QAbstractState]: ... + def setTargetState(self, target: QAbstractState) -> None: ... + def targetState(self) -> QAbstractState: ... + def sourceState(self) -> 'QState': ... + + +class QAnimationGroup(QAbstractAnimation): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def event(self, event: 'QEvent') -> bool: ... + def clear(self) -> None: ... + def takeAnimation(self, index: int) -> QAbstractAnimation: ... + def removeAnimation(self, animation: QAbstractAnimation) -> None: ... + def insertAnimation(self, index: int, animation: QAbstractAnimation) -> None: ... + def addAnimation(self, animation: QAbstractAnimation) -> None: ... + def indexOfAnimation(self, animation: QAbstractAnimation) -> int: ... + def animationCount(self) -> int: ... + def animationAt(self, index: int) -> QAbstractAnimation: ... + + +class QBasicTimer(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QBasicTimer') -> None: ... + + def swap(self, other: 'QBasicTimer') -> None: ... + def stop(self) -> None: ... + @typing.overload + def start(self, msec: int, timerType: Qt.TimerType, obj: QObject) -> None: ... + @typing.overload + def start(self, msec: int, obj: QObject) -> None: ... + def timerId(self) -> int: ... + def isActive(self) -> bool: ... + + +class QBitArray(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int, value: bool = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QBitArray') -> None: ... + + @staticmethod + def fromBits(data: bytes, len: int) -> 'QBitArray': ... + def bits(self) -> bytes: ... + def swap(self, other: 'QBitArray') -> None: ... + def __hash__(self) -> int: ... + def at(self, i: int) -> bool: ... + def __getitem__(self, i: int) -> bool: ... + def toggleBit(self, i: int) -> bool: ... + def clearBit(self, i: int) -> None: ... + @typing.overload + def setBit(self, i: int) -> None: ... + @typing.overload + def setBit(self, i: int, val: bool) -> None: ... + def testBit(self, i: int) -> bool: ... + def truncate(self, pos: int) -> None: ... + @typing.overload + def fill(self, val: bool, first: int, last: int) -> None: ... + @typing.overload + def fill(self, value: bool, size: int = ...) -> bool: ... + def __invert__(self) -> 'QBitArray': ... + def clear(self) -> None: ... + def isDetached(self) -> bool: ... + def detach(self) -> None: ... + def resize(self, size: int) -> None: ... + def isNull(self) -> bool: ... + def isEmpty(self) -> bool: ... + def __len__(self) -> int: ... + @typing.overload + def count(self) -> int: ... + @typing.overload + def count(self, on: bool) -> int: ... + def size(self) -> int: ... + + +class QIODevice(QObject): + + class OpenModeFlag(int): + NotOpen = ... # type: QIODevice.OpenModeFlag + ReadOnly = ... # type: QIODevice.OpenModeFlag + WriteOnly = ... # type: QIODevice.OpenModeFlag + ReadWrite = ... # type: QIODevice.OpenModeFlag + Append = ... # type: QIODevice.OpenModeFlag + Truncate = ... # type: QIODevice.OpenModeFlag + Text = ... # type: QIODevice.OpenModeFlag + Unbuffered = ... # type: QIODevice.OpenModeFlag + NewOnly = ... # type: QIODevice.OpenModeFlag + ExistingOnly = ... # type: QIODevice.OpenModeFlag + + class OpenMode(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QIODevice.OpenMode', 'QIODevice.OpenModeFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QIODevice.OpenMode') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QIODevice.OpenMode': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, parent: QObject) -> None: ... + + def skip(self, maxSize: int) -> int: ... + def channelBytesWritten(self, channel: int, bytes: int) -> None: ... + def channelReadyRead(self, channel: int) -> None: ... + def isTransactionStarted(self) -> bool: ... + def rollbackTransaction(self) -> None: ... + def commitTransaction(self) -> None: ... + def startTransaction(self) -> None: ... + def setCurrentWriteChannel(self, channel: int) -> None: ... + def currentWriteChannel(self) -> int: ... + def setCurrentReadChannel(self, channel: int) -> None: ... + def currentReadChannel(self) -> int: ... + def writeChannelCount(self) -> int: ... + def readChannelCount(self) -> int: ... + def setErrorString(self, errorString: str) -> None: ... + def setOpenMode(self, openMode: typing.Union['QIODevice.OpenMode', 'QIODevice.OpenModeFlag']) -> None: ... + def writeData(self, data: bytes) -> int: ... + def readLineData(self, maxlen: int) -> bytes: ... + def readData(self, maxlen: int) -> bytes: ... + def readChannelFinished(self) -> None: ... + def aboutToClose(self) -> None: ... + def bytesWritten(self, bytes: int) -> None: ... + def readyRead(self) -> None: ... + def errorString(self) -> str: ... + def getChar(self) -> typing.Tuple[bool, bytes]: ... + def putChar(self, c: str) -> bool: ... + def ungetChar(self, c: str) -> None: ... + def waitForBytesWritten(self, msecs: int) -> bool: ... + def waitForReadyRead(self, msecs: int) -> bool: ... + def write(self, data: typing.Union['QByteArray', bytes, bytearray]) -> int: ... + def peek(self, maxlen: int) -> 'QByteArray': ... + def canReadLine(self) -> bool: ... + def readLine(self, maxlen: int = ...) -> bytes: ... + def readAll(self) -> 'QByteArray': ... + def read(self, maxlen: int) -> bytes: ... + def bytesToWrite(self) -> int: ... + def bytesAvailable(self) -> int: ... + def reset(self) -> bool: ... + def atEnd(self) -> bool: ... + def seek(self, pos: int) -> bool: ... + def size(self) -> int: ... + def pos(self) -> int: ... + def close(self) -> None: ... + def open(self, mode: typing.Union['QIODevice.OpenMode', 'QIODevice.OpenModeFlag']) -> bool: ... + def isSequential(self) -> bool: ... + def isWritable(self) -> bool: ... + def isReadable(self) -> bool: ... + def isOpen(self) -> bool: ... + def isTextModeEnabled(self) -> bool: ... + def setTextModeEnabled(self, enabled: bool) -> None: ... + def openMode(self) -> 'QIODevice.OpenMode': ... + + +class QBuffer(QIODevice): + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, byteArray: 'QByteArray', parent: typing.Optional[QObject] = ...) -> None: ... + + def disconnectNotify(self, a0: 'QMetaMethod') -> None: ... + def connectNotify(self, a0: 'QMetaMethod') -> None: ... + def writeData(self, data: bytes) -> int: ... + def readData(self, maxlen: int) -> bytes: ... + def canReadLine(self) -> bool: ... + def atEnd(self) -> bool: ... + def seek(self, off: int) -> bool: ... + def pos(self) -> int: ... + def size(self) -> int: ... + def close(self) -> None: ... + def open(self, openMode: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> bool: ... + @typing.overload + def setData(self, data: typing.Union['QByteArray', bytes, bytearray]) -> None: ... + @typing.overload + def setData(self, adata: bytes) -> None: ... + def setBuffer(self, a: 'QByteArray') -> None: ... + def data(self) -> 'QByteArray': ... + def buffer(self) -> 'QByteArray': ... + + +class QByteArray(sip.simplewrapper): + + class Base64DecodingStatus(int): + Ok = ... # type: QByteArray.Base64DecodingStatus + IllegalInputLength = ... # type: QByteArray.Base64DecodingStatus + IllegalCharacter = ... # type: QByteArray.Base64DecodingStatus + IllegalPadding = ... # type: QByteArray.Base64DecodingStatus + + class Base64Option(int): + Base64Encoding = ... # type: QByteArray.Base64Option + Base64UrlEncoding = ... # type: QByteArray.Base64Option + KeepTrailingEquals = ... # type: QByteArray.Base64Option + OmitTrailingEquals = ... # type: QByteArray.Base64Option + IgnoreBase64DecodingErrors = ... # type: QByteArray.Base64Option + AbortOnBase64DecodingErrors = ... # type: QByteArray.Base64Option + + class Base64Options(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QByteArray.Base64Options', 'QByteArray.Base64Option']) -> None: ... + @typing.overload + def __init__(self, a0: 'QByteArray.Base64Options') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QByteArray.Base64Options': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class FromBase64Result(sip.simplewrapper): + + decoded = ... # type: typing.Union['QByteArray', bytes, bytearray] + decodingStatus = ... # type: 'QByteArray.Base64DecodingStatus' + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QByteArray.FromBase64Result') -> None: ... + + def __hash__(self) -> int: ... + def __int__(self) -> bool: ... + def swap(self, other: 'QByteArray.FromBase64Result') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: int, c: str) -> None: ... + @typing.overload + def __init__(self, a: typing.Union['QByteArray', bytes, bytearray]) -> None: ... + + @staticmethod + def fromBase64Encoding(base64: typing.Union['QByteArray', bytes, bytearray], options: typing.Union['QByteArray.Base64Options', 'QByteArray.Base64Option'] = ...) -> 'QByteArray.FromBase64Result': ... + def isLower(self) -> bool: ... + def isUpper(self) -> bool: ... + def compare(self, a: typing.Union['QByteArray', bytes, bytearray], cs: Qt.CaseSensitivity = ...) -> int: ... + def chopped(self, len: int) -> 'QByteArray': ... + def swap(self, other: 'QByteArray') -> None: ... + def repeated(self, times: int) -> 'QByteArray': ... + @staticmethod + def fromPercentEncoding(input: typing.Union['QByteArray', bytes, bytearray], percent: str = ...) -> 'QByteArray': ... + def toPercentEncoding(self, exclude: typing.Union['QByteArray', bytes, bytearray] = ..., include: typing.Union['QByteArray', bytes, bytearray] = ..., percent: str = ...) -> 'QByteArray': ... + @typing.overload + def toHex(self) -> 'QByteArray': ... + @typing.overload + def toHex(self, separator: str) -> 'QByteArray': ... + def contains(self, a: typing.Union['QByteArray', bytes, bytearray]) -> bool: ... + def push_front(self, a: typing.Union['QByteArray', bytes, bytearray]) -> None: ... + def push_back(self, a: typing.Union['QByteArray', bytes, bytearray]) -> None: ... + def squeeze(self) -> None: ... + def reserve(self, size: int) -> None: ... + def capacity(self) -> int: ... + def data(self) -> bytes: ... + def isEmpty(self) -> bool: ... + def __repr__(self) -> str: ... + def __str__(self) -> str: ... + def __hash__(self) -> int: ... + def __contains__(self, a: typing.Union['QByteArray', bytes, bytearray]) -> int: ... + @typing.overload + def __getitem__(self, i: int) -> bytes: ... + @typing.overload + def __getitem__(self, slice: slice) -> 'QByteArray': ... + def at(self, i: int) -> bytes: ... + def size(self) -> int: ... + def isNull(self) -> bool: ... + def length(self) -> int: ... + def __len__(self) -> int: ... + @staticmethod + def fromHex(hexEncoded: typing.Union['QByteArray', bytes, bytearray]) -> 'QByteArray': ... + @staticmethod + def fromRawData(a0: bytes) -> 'QByteArray': ... + @typing.overload + @staticmethod + def fromBase64(base64: typing.Union['QByteArray', bytes, bytearray]) -> 'QByteArray': ... + @typing.overload + @staticmethod + def fromBase64(base64: typing.Union['QByteArray', bytes, bytearray], options: typing.Union['QByteArray.Base64Options', 'QByteArray.Base64Option']) -> 'QByteArray': ... + @typing.overload + @staticmethod + def number(n: float, format: str = ..., precision: int = ...) -> 'QByteArray': ... + @typing.overload + @staticmethod + def number(n: int, base: int = ...) -> 'QByteArray': ... + @typing.overload + def setNum(self, n: float, format: str = ..., precision: int = ...) -> 'QByteArray': ... + @typing.overload + def setNum(self, n: int, base: int = ...) -> 'QByteArray': ... + @typing.overload + def toBase64(self) -> 'QByteArray': ... + @typing.overload + def toBase64(self, options: typing.Union['QByteArray.Base64Options', 'QByteArray.Base64Option']) -> 'QByteArray': ... + def toDouble(self) -> typing.Tuple[float, bool]: ... + def toFloat(self) -> typing.Tuple[float, bool]: ... + def toULongLong(self, base: int = ...) -> typing.Tuple[int, bool]: ... + def toLongLong(self, base: int = ...) -> typing.Tuple[int, bool]: ... + def toULong(self, base: int = ...) -> typing.Tuple[int, bool]: ... + def toLong(self, base: int = ...) -> typing.Tuple[int, bool]: ... + def toUInt(self, base: int = ...) -> typing.Tuple[int, bool]: ... + def toInt(self, base: int = ...) -> typing.Tuple[int, bool]: ... + def toUShort(self, base: int = ...) -> typing.Tuple[int, bool]: ... + def toShort(self, base: int = ...) -> typing.Tuple[int, bool]: ... + def split(self, sep: str) -> typing.List['QByteArray']: ... + @typing.overload + def replace(self, index: int, len: int, s: typing.Union['QByteArray', bytes, bytearray]) -> 'QByteArray': ... + @typing.overload + def replace(self, before: typing.Union['QByteArray', bytes, bytearray], after: typing.Union['QByteArray', bytes, bytearray]) -> 'QByteArray': ... + @typing.overload + def replace(self, before: str, after: typing.Union['QByteArray', bytes, bytearray]) -> 'QByteArray': ... + def remove(self, index: int, len: int) -> 'QByteArray': ... + @typing.overload + def insert(self, i: int, a: typing.Union['QByteArray', bytes, bytearray]) -> 'QByteArray': ... + @typing.overload + def insert(self, i: int, s: str) -> 'QByteArray': ... + @typing.overload + def insert(self, i: int, count: int, c: bytes) -> 'QByteArray': ... + @typing.overload + def append(self, a: typing.Union['QByteArray', bytes, bytearray]) -> 'QByteArray': ... + @typing.overload + def append(self, s: str) -> 'QByteArray': ... + @typing.overload + def append(self, count: int, c: bytes) -> 'QByteArray': ... + @typing.overload + def prepend(self, a: typing.Union['QByteArray', bytes, bytearray]) -> 'QByteArray': ... + @typing.overload + def prepend(self, count: int, c: bytes) -> 'QByteArray': ... + def rightJustified(self, width: int, fill: str = ..., truncate: bool = ...) -> 'QByteArray': ... + def leftJustified(self, width: int, fill: str = ..., truncate: bool = ...) -> 'QByteArray': ... + def simplified(self) -> 'QByteArray': ... + def trimmed(self) -> 'QByteArray': ... + def toUpper(self) -> 'QByteArray': ... + def toLower(self) -> 'QByteArray': ... + def chop(self, n: int) -> None: ... + def truncate(self, pos: int) -> None: ... + def endsWith(self, a: typing.Union['QByteArray', bytes, bytearray]) -> bool: ... + def startsWith(self, a: typing.Union['QByteArray', bytes, bytearray]) -> bool: ... + def mid(self, pos: int, length: int = ...) -> 'QByteArray': ... + def right(self, len: int) -> 'QByteArray': ... + def left(self, len: int) -> 'QByteArray': ... + @typing.overload + def count(self, a: typing.Union['QByteArray', bytes, bytearray]) -> int: ... + @typing.overload + def count(self) -> int: ... + @typing.overload + def lastIndexOf(self, ba: typing.Union['QByteArray', bytes, bytearray], from_: int = ...) -> int: ... + @typing.overload + def lastIndexOf(self, str: str, from_: int = ...) -> int: ... + @typing.overload + def indexOf(self, ba: typing.Union['QByteArray', bytes, bytearray], from_: int = ...) -> int: ... + @typing.overload + def indexOf(self, str: str, from_: int = ...) -> int: ... + def clear(self) -> None: ... + def fill(self, ch: str, size: int = ...) -> 'QByteArray': ... + def resize(self, size: int) -> None: ... + + +class QByteArrayMatcher(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pattern: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, other: 'QByteArrayMatcher') -> None: ... + + def pattern(self) -> QByteArray: ... + def indexIn(self, ba: typing.Union[QByteArray, bytes, bytearray], from_: int = ...) -> int: ... + def setPattern(self, pattern: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + + +class QCalendar(sip.simplewrapper): + + class System(int): + Gregorian = ... # type: QCalendar.System + Julian = ... # type: QCalendar.System + Milankovic = ... # type: QCalendar.System + Jalali = ... # type: QCalendar.System + IslamicCivil = ... # type: QCalendar.System + + Unspecified = ... # type: int + + class YearMonthDay(sip.simplewrapper): + + day = ... # type: int + month = ... # type: int + year = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, year: int, month: int = ..., day: int = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QCalendar.YearMonthDay') -> None: ... + + def isValid(self) -> bool: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, system: 'QCalendar.System') -> None: ... + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, a0: 'QCalendar') -> None: ... + + @staticmethod + def availableCalendars() -> typing.List[str]: ... + def dateTimeToString(self, format: str, datetime: typing.Union['QDateTime', datetime.datetime], dateOnly: typing.Union['QDate', datetime.date], timeOnly: typing.Union['QTime', datetime.time], locale: 'QLocale') -> str: ... + def standaloneWeekDayName(self, locale: 'QLocale', day: int, format: 'QLocale.FormatType' = ...) -> str: ... + def weekDayName(self, locale: 'QLocale', day: int, format: 'QLocale.FormatType' = ...) -> str: ... + def standaloneMonthName(self, locale: 'QLocale', month: int, year: int = ..., format: 'QLocale.FormatType' = ...) -> str: ... + def monthName(self, locale: 'QLocale', month: int, year: int = ..., format: 'QLocale.FormatType' = ...) -> str: ... + def dayOfWeek(self, date: typing.Union['QDate', datetime.date]) -> int: ... + def partsFromDate(self, date: typing.Union['QDate', datetime.date]) -> 'QCalendar.YearMonthDay': ... + @typing.overload + def dateFromParts(self, year: int, month: int, day: int) -> 'QDate': ... + @typing.overload + def dateFromParts(self, parts: 'QCalendar.YearMonthDay') -> 'QDate': ... + def name(self) -> str: ... + def maximumMonthsInYear(self) -> int: ... + def minimumDaysInMonth(self) -> int: ... + def maximumDaysInMonth(self) -> int: ... + def hasYearZero(self) -> bool: ... + def isProleptic(self) -> bool: ... + def isSolar(self) -> bool: ... + def isLuniSolar(self) -> bool: ... + def isLunar(self) -> bool: ... + def isGregorian(self) -> bool: ... + def isLeapYear(self, year: int) -> bool: ... + def isDateValid(self, year: int, month: int, day: int) -> bool: ... + def monthsInYear(self, year: int) -> int: ... + def daysInYear(self, year: int) -> int: ... + def daysInMonth(self, month: int, year: int = ...) -> int: ... + + +class QCborError(sip.simplewrapper): + + class Code(int): + UnknownError = ... # type: QCborError.Code + AdvancePastEnd = ... # type: QCborError.Code + InputOutputError = ... # type: QCborError.Code + GarbageAtEnd = ... # type: QCborError.Code + EndOfFile = ... # type: QCborError.Code + UnexpectedBreak = ... # type: QCborError.Code + UnknownType = ... # type: QCborError.Code + IllegalType = ... # type: QCborError.Code + IllegalNumber = ... # type: QCborError.Code + IllegalSimpleType = ... # type: QCborError.Code + InvalidUtf8String = ... # type: QCborError.Code + DataTooLarge = ... # type: QCborError.Code + NestingTooDeep = ... # type: QCborError.Code + UnsupportedType = ... # type: QCborError.Code + NoError = ... # type: QCborError.Code + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QCborError') -> None: ... + + def toString(self) -> str: ... + def code(self) -> 'QCborError.Code': ... + + +class QCborStreamWriter(sip.simplewrapper): + + @typing.overload + def __init__(self, device: QIODevice) -> None: ... + @typing.overload + def __init__(self, data: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + + def endMap(self) -> bool: ... + @typing.overload + def startMap(self) -> None: ... + @typing.overload + def startMap(self, count: int) -> None: ... + def endArray(self) -> bool: ... + @typing.overload + def startArray(self) -> None: ... + @typing.overload + def startArray(self, count: int) -> None: ... + def appendUndefined(self) -> None: ... + def appendNull(self) -> None: ... + @typing.overload + def append(self, st: QCborSimpleType) -> None: ... + @typing.overload + def append(self, tag: QCborKnownTags) -> None: ... + @typing.overload + def append(self, str: str) -> None: ... + @typing.overload + def append(self, ba: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def append(self, b: bool) -> None: ... + @typing.overload + def append(self, d: float) -> None: ... + @typing.overload + def append(self, a0: int) -> None: ... + def device(self) -> QIODevice: ... + def setDevice(self, device: QIODevice) -> None: ... + + +class QCborStreamReader(sip.simplewrapper): + + class StringResultCode(int): + EndOfString = ... # type: QCborStreamReader.StringResultCode + Ok = ... # type: QCborStreamReader.StringResultCode + Error = ... # type: QCborStreamReader.StringResultCode + + class Type(int): + UnsignedInteger = ... # type: QCborStreamReader.Type + NegativeInteger = ... # type: QCborStreamReader.Type + ByteString = ... # type: QCborStreamReader.Type + ByteArray = ... # type: QCborStreamReader.Type + TextString = ... # type: QCborStreamReader.Type + String = ... # type: QCborStreamReader.Type + Array = ... # type: QCborStreamReader.Type + Map = ... # type: QCborStreamReader.Type + Tag = ... # type: QCborStreamReader.Type + SimpleType = ... # type: QCborStreamReader.Type + HalfFloat = ... # type: QCborStreamReader.Type + Float16 = ... # type: QCborStreamReader.Type + Float = ... # type: QCborStreamReader.Type + Double = ... # type: QCborStreamReader.Type + Invalid = ... # type: QCborStreamReader.Type + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, data: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, device: QIODevice) -> None: ... + + def toInteger(self) -> int: ... + def toDouble(self) -> float: ... + def toSimpleType(self) -> QCborSimpleType: ... + def toUnsignedInteger(self) -> int: ... + def toBool(self) -> bool: ... + def readByteArray(self) -> typing.Tuple[QByteArray, 'QCborStreamReader.StringResultCode']: ... + def readString(self) -> typing.Tuple[str, 'QCborStreamReader.StringResultCode']: ... + def leaveContainer(self) -> bool: ... + def enterContainer(self) -> bool: ... + def isContainer(self) -> bool: ... + def __len__(self) -> int: ... + def length(self) -> int: ... + def isLengthKnown(self) -> bool: ... + def isUndefined(self) -> bool: ... + def isNull(self) -> bool: ... + def isBool(self) -> bool: ... + def isTrue(self) -> bool: ... + def isFalse(self) -> bool: ... + def isInvalid(self) -> bool: ... + def isDouble(self) -> bool: ... + def isFloat(self) -> bool: ... + def isFloat16(self) -> bool: ... + @typing.overload + def isSimpleType(self) -> bool: ... + @typing.overload + def isSimpleType(self, st: QCborSimpleType) -> bool: ... + def isTag(self) -> bool: ... + def isMap(self) -> bool: ... + def isArray(self) -> bool: ... + def isString(self) -> bool: ... + def isByteArray(self) -> bool: ... + def isInteger(self) -> bool: ... + def isNegativeInteger(self) -> bool: ... + def isUnsignedInteger(self) -> bool: ... + def type(self) -> 'QCborStreamReader.Type': ... + def next(self, maxRecursion: int = ...) -> bool: ... + def hasNext(self) -> bool: ... + def parentContainerType(self) -> 'QCborStreamReader.Type': ... + def containerDepth(self) -> int: ... + def isValid(self) -> bool: ... + def currentOffset(self) -> int: ... + def lastError(self) -> QCborError: ... + def reset(self) -> None: ... + def clear(self) -> None: ... + def reparse(self) -> None: ... + def addData(self, data: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + def device(self) -> QIODevice: ... + def setDevice(self, device: QIODevice) -> None: ... + + +class QCollatorSortKey(sip.simplewrapper): + + def __init__(self, other: 'QCollatorSortKey') -> None: ... + + def compare(self, key: 'QCollatorSortKey') -> int: ... + def swap(self, other: 'QCollatorSortKey') -> None: ... + + +class QCollator(sip.simplewrapper): + + @typing.overload + def __init__(self, locale: 'QLocale' = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QCollator') -> None: ... + + def sortKey(self, string: str) -> QCollatorSortKey: ... + def compare(self, s1: str, s2: str) -> int: ... + def ignorePunctuation(self) -> bool: ... + def setIgnorePunctuation(self, on: bool) -> None: ... + def numericMode(self) -> bool: ... + def setNumericMode(self, on: bool) -> None: ... + def setCaseSensitivity(self, cs: Qt.CaseSensitivity) -> None: ... + def caseSensitivity(self) -> Qt.CaseSensitivity: ... + def locale(self) -> 'QLocale': ... + def setLocale(self, locale: 'QLocale') -> None: ... + def swap(self, other: 'QCollator') -> None: ... + + +class QCommandLineOption(sip.simplewrapper): + + class Flag(int): + HiddenFromHelp = ... # type: QCommandLineOption.Flag + ShortOptionStyle = ... # type: QCommandLineOption.Flag + + class Flags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QCommandLineOption.Flags', 'QCommandLineOption.Flag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QCommandLineOption.Flags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QCommandLineOption.Flags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, names: typing.Iterable[str]) -> None: ... + @typing.overload + def __init__(self, name: str, description: str, valueName: str = ..., defaultValue: str = ...) -> None: ... + @typing.overload + def __init__(self, names: typing.Iterable[str], description: str, valueName: str = ..., defaultValue: str = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QCommandLineOption') -> None: ... + + def setFlags(self, aflags: typing.Union['QCommandLineOption.Flags', 'QCommandLineOption.Flag']) -> None: ... + def flags(self) -> 'QCommandLineOption.Flags': ... + def isHidden(self) -> bool: ... + def setHidden(self, hidden: bool) -> None: ... + def defaultValues(self) -> typing.List[str]: ... + def setDefaultValues(self, defaultValues: typing.Iterable[str]) -> None: ... + def setDefaultValue(self, defaultValue: str) -> None: ... + def description(self) -> str: ... + def setDescription(self, description: str) -> None: ... + def valueName(self) -> str: ... + def setValueName(self, name: str) -> None: ... + def names(self) -> typing.List[str]: ... + def swap(self, other: 'QCommandLineOption') -> None: ... + + +class QCommandLineParser(sip.simplewrapper): + + class OptionsAfterPositionalArgumentsMode(int): + ParseAsOptions = ... # type: QCommandLineParser.OptionsAfterPositionalArgumentsMode + ParseAsPositionalArguments = ... # type: QCommandLineParser.OptionsAfterPositionalArgumentsMode + + class SingleDashWordOptionMode(int): + ParseAsCompactedShortOptions = ... # type: QCommandLineParser.SingleDashWordOptionMode + ParseAsLongOptions = ... # type: QCommandLineParser.SingleDashWordOptionMode + + def __init__(self) -> None: ... + + def setOptionsAfterPositionalArgumentsMode(self, mode: 'QCommandLineParser.OptionsAfterPositionalArgumentsMode') -> None: ... + def showVersion(self) -> None: ... + def addOptions(self, options: typing.Iterable[QCommandLineOption]) -> bool: ... + def helpText(self) -> str: ... + def showHelp(self, exitCode: int = ...) -> None: ... + def unknownOptionNames(self) -> typing.List[str]: ... + def optionNames(self) -> typing.List[str]: ... + def positionalArguments(self) -> typing.List[str]: ... + @typing.overload + def values(self, name: str) -> typing.List[str]: ... + @typing.overload + def values(self, option: QCommandLineOption) -> typing.List[str]: ... + @typing.overload + def value(self, name: str) -> str: ... + @typing.overload + def value(self, option: QCommandLineOption) -> str: ... + @typing.overload + def isSet(self, name: str) -> bool: ... + @typing.overload + def isSet(self, option: QCommandLineOption) -> bool: ... + def errorText(self) -> str: ... + def parse(self, arguments: typing.Iterable[str]) -> bool: ... + @typing.overload + def process(self, arguments: typing.Iterable[str]) -> None: ... + @typing.overload + def process(self, app: 'QCoreApplication') -> None: ... + def clearPositionalArguments(self) -> None: ... + def addPositionalArgument(self, name: str, description: str, syntax: str = ...) -> None: ... + def applicationDescription(self) -> str: ... + def setApplicationDescription(self, description: str) -> None: ... + def addHelpOption(self) -> QCommandLineOption: ... + def addVersionOption(self) -> QCommandLineOption: ... + def addOption(self, commandLineOption: QCommandLineOption) -> bool: ... + def setSingleDashWordOptionMode(self, parsingMode: 'QCommandLineParser.SingleDashWordOptionMode') -> None: ... + + +class QConcatenateTablesProxyModel(QAbstractItemModel): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def sourceModels(self) -> typing.List[QAbstractItemModel]: ... + def span(self, index: QModelIndex) -> 'QSize': ... + def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def canDropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def mimeData(self, indexes: typing.Iterable[QModelIndex]) -> 'QMimeData': ... + def mimeTypes(self) -> typing.List[str]: ... + def columnCount(self, parent: QModelIndex = ...) -> int: ... + def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ... + def rowCount(self, parent: QModelIndex = ...) -> int: ... + def parent(self, index: QModelIndex) -> QModelIndex: ... + def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ... + def flags(self, index: QModelIndex) -> Qt.ItemFlags: ... + def setItemData(self, index: QModelIndex, roles: typing.Dict[int, typing.Any]) -> bool: ... + def itemData(self, proxyIndex: QModelIndex) -> typing.Dict[int, typing.Any]: ... + def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, index: QModelIndex, role: int = ...) -> typing.Any: ... + def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ... + def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ... + def removeSourceModel(self, sourceModel: QAbstractItemModel) -> None: ... + def addSourceModel(self, sourceModel: QAbstractItemModel) -> None: ... + + +class QCoreApplication(QObject): + + def __init__(self, argv: typing.List[str]) -> None: ... + + def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ... + def __enter__(self) -> typing.Any: ... + @staticmethod + def isSetuidAllowed() -> bool: ... + @staticmethod + def setSetuidAllowed(allow: bool) -> None: ... + def removeNativeEventFilter(self, filterObj: QAbstractNativeEventFilter) -> None: ... + def installNativeEventFilter(self, filterObj: QAbstractNativeEventFilter) -> None: ... + @staticmethod + def setQuitLockEnabled(enabled: bool) -> None: ... + @staticmethod + def isQuitLockEnabled() -> bool: ... + @staticmethod + def setEventDispatcher(eventDispatcher: QAbstractEventDispatcher) -> None: ... + @staticmethod + def eventDispatcher() -> QAbstractEventDispatcher: ... + @staticmethod + def applicationPid() -> int: ... + @staticmethod + def applicationVersion() -> str: ... + @staticmethod + def setApplicationVersion(version: str) -> None: ... + def event(self, a0: 'QEvent') -> bool: ... + def aboutToQuit(self) -> None: ... + @staticmethod + def quit() -> None: ... + @staticmethod + def testAttribute(attribute: Qt.ApplicationAttribute) -> bool: ... + @staticmethod + def setAttribute(attribute: Qt.ApplicationAttribute, on: bool = ...) -> None: ... + @staticmethod + def flush() -> None: ... + @staticmethod + def translate(context: str, sourceText: str, disambiguation: typing.Optional[str] = ..., n: int = ...) -> str: ... + @staticmethod + def removeTranslator(messageFile: 'QTranslator') -> bool: ... + @staticmethod + def installTranslator(messageFile: 'QTranslator') -> bool: ... + @staticmethod + def removeLibraryPath(a0: str) -> None: ... + @staticmethod + def addLibraryPath(a0: str) -> None: ... + @staticmethod + def libraryPaths() -> typing.List[str]: ... + @staticmethod + def setLibraryPaths(a0: typing.Iterable[str]) -> None: ... + @staticmethod + def applicationFilePath() -> str: ... + @staticmethod + def applicationDirPath() -> str: ... + @staticmethod + def closingDown() -> bool: ... + @staticmethod + def startingUp() -> bool: ... + def notify(self, a0: QObject, a1: 'QEvent') -> bool: ... + @staticmethod + def hasPendingEvents() -> bool: ... + @staticmethod + def removePostedEvents(receiver: QObject, eventType: int = ...) -> None: ... + @staticmethod + def sendPostedEvents(receiver: typing.Optional[QObject] = ..., eventType: int = ...) -> None: ... + @staticmethod + def postEvent(receiver: QObject, event: 'QEvent', priority: int = ...) -> None: ... + @staticmethod + def sendEvent(receiver: QObject, event: 'QEvent') -> bool: ... + @staticmethod + def exit(returnCode: int = ...) -> None: ... + @typing.overload + @staticmethod + def processEvents(flags: typing.Union['QEventLoop.ProcessEventsFlags', 'QEventLoop.ProcessEventsFlag'] = ...) -> None: ... + @typing.overload + @staticmethod + def processEvents(flags: typing.Union['QEventLoop.ProcessEventsFlags', 'QEventLoop.ProcessEventsFlag'], maxtime: int) -> None: ... + @staticmethod + def exec() -> int: ... + @staticmethod + def exec_() -> int: ... + @staticmethod + def instance() -> 'QCoreApplication': ... + @staticmethod + def arguments() -> typing.List[str]: ... + @staticmethod + def applicationName() -> str: ... + @staticmethod + def setApplicationName(application: str) -> None: ... + @staticmethod + def organizationName() -> str: ... + @staticmethod + def setOrganizationName(orgName: str) -> None: ... + @staticmethod + def organizationDomain() -> str: ... + @staticmethod + def setOrganizationDomain(orgDomain: str) -> None: ... + + +class QEvent(PyQt5.sip.wrapper): + + class Type(int): + None_ = ... # type: QEvent.Type + Timer = ... # type: QEvent.Type + MouseButtonPress = ... # type: QEvent.Type + MouseButtonRelease = ... # type: QEvent.Type + MouseButtonDblClick = ... # type: QEvent.Type + MouseMove = ... # type: QEvent.Type + KeyPress = ... # type: QEvent.Type + KeyRelease = ... # type: QEvent.Type + FocusIn = ... # type: QEvent.Type + FocusOut = ... # type: QEvent.Type + Enter = ... # type: QEvent.Type + Leave = ... # type: QEvent.Type + Paint = ... # type: QEvent.Type + Move = ... # type: QEvent.Type + Resize = ... # type: QEvent.Type + Show = ... # type: QEvent.Type + Hide = ... # type: QEvent.Type + Close = ... # type: QEvent.Type + ParentChange = ... # type: QEvent.Type + ParentAboutToChange = ... # type: QEvent.Type + ThreadChange = ... # type: QEvent.Type + WindowActivate = ... # type: QEvent.Type + WindowDeactivate = ... # type: QEvent.Type + ShowToParent = ... # type: QEvent.Type + HideToParent = ... # type: QEvent.Type + Wheel = ... # type: QEvent.Type + WindowTitleChange = ... # type: QEvent.Type + WindowIconChange = ... # type: QEvent.Type + ApplicationWindowIconChange = ... # type: QEvent.Type + ApplicationFontChange = ... # type: QEvent.Type + ApplicationLayoutDirectionChange = ... # type: QEvent.Type + ApplicationPaletteChange = ... # type: QEvent.Type + PaletteChange = ... # type: QEvent.Type + Clipboard = ... # type: QEvent.Type + MetaCall = ... # type: QEvent.Type + SockAct = ... # type: QEvent.Type + WinEventAct = ... # type: QEvent.Type + DeferredDelete = ... # type: QEvent.Type + DragEnter = ... # type: QEvent.Type + DragMove = ... # type: QEvent.Type + DragLeave = ... # type: QEvent.Type + Drop = ... # type: QEvent.Type + ChildAdded = ... # type: QEvent.Type + ChildPolished = ... # type: QEvent.Type + ChildRemoved = ... # type: QEvent.Type + PolishRequest = ... # type: QEvent.Type + Polish = ... # type: QEvent.Type + LayoutRequest = ... # type: QEvent.Type + UpdateRequest = ... # type: QEvent.Type + UpdateLater = ... # type: QEvent.Type + ContextMenu = ... # type: QEvent.Type + InputMethod = ... # type: QEvent.Type + TabletMove = ... # type: QEvent.Type + LocaleChange = ... # type: QEvent.Type + LanguageChange = ... # type: QEvent.Type + LayoutDirectionChange = ... # type: QEvent.Type + TabletPress = ... # type: QEvent.Type + TabletRelease = ... # type: QEvent.Type + OkRequest = ... # type: QEvent.Type + IconDrag = ... # type: QEvent.Type + FontChange = ... # type: QEvent.Type + EnabledChange = ... # type: QEvent.Type + ActivationChange = ... # type: QEvent.Type + StyleChange = ... # type: QEvent.Type + IconTextChange = ... # type: QEvent.Type + ModifiedChange = ... # type: QEvent.Type + MouseTrackingChange = ... # type: QEvent.Type + WindowBlocked = ... # type: QEvent.Type + WindowUnblocked = ... # type: QEvent.Type + WindowStateChange = ... # type: QEvent.Type + ToolTip = ... # type: QEvent.Type + WhatsThis = ... # type: QEvent.Type + StatusTip = ... # type: QEvent.Type + ActionChanged = ... # type: QEvent.Type + ActionAdded = ... # type: QEvent.Type + ActionRemoved = ... # type: QEvent.Type + FileOpen = ... # type: QEvent.Type + Shortcut = ... # type: QEvent.Type + ShortcutOverride = ... # type: QEvent.Type + WhatsThisClicked = ... # type: QEvent.Type + ToolBarChange = ... # type: QEvent.Type + ApplicationActivate = ... # type: QEvent.Type + ApplicationActivated = ... # type: QEvent.Type + ApplicationDeactivate = ... # type: QEvent.Type + ApplicationDeactivated = ... # type: QEvent.Type + QueryWhatsThis = ... # type: QEvent.Type + EnterWhatsThisMode = ... # type: QEvent.Type + LeaveWhatsThisMode = ... # type: QEvent.Type + ZOrderChange = ... # type: QEvent.Type + HoverEnter = ... # type: QEvent.Type + HoverLeave = ... # type: QEvent.Type + HoverMove = ... # type: QEvent.Type + GraphicsSceneMouseMove = ... # type: QEvent.Type + GraphicsSceneMousePress = ... # type: QEvent.Type + GraphicsSceneMouseRelease = ... # type: QEvent.Type + GraphicsSceneMouseDoubleClick = ... # type: QEvent.Type + GraphicsSceneContextMenu = ... # type: QEvent.Type + GraphicsSceneHoverEnter = ... # type: QEvent.Type + GraphicsSceneHoverMove = ... # type: QEvent.Type + GraphicsSceneHoverLeave = ... # type: QEvent.Type + GraphicsSceneHelp = ... # type: QEvent.Type + GraphicsSceneDragEnter = ... # type: QEvent.Type + GraphicsSceneDragMove = ... # type: QEvent.Type + GraphicsSceneDragLeave = ... # type: QEvent.Type + GraphicsSceneDrop = ... # type: QEvent.Type + GraphicsSceneWheel = ... # type: QEvent.Type + GraphicsSceneResize = ... # type: QEvent.Type + GraphicsSceneMove = ... # type: QEvent.Type + KeyboardLayoutChange = ... # type: QEvent.Type + DynamicPropertyChange = ... # type: QEvent.Type + TabletEnterProximity = ... # type: QEvent.Type + TabletLeaveProximity = ... # type: QEvent.Type + NonClientAreaMouseMove = ... # type: QEvent.Type + NonClientAreaMouseButtonPress = ... # type: QEvent.Type + NonClientAreaMouseButtonRelease = ... # type: QEvent.Type + NonClientAreaMouseButtonDblClick = ... # type: QEvent.Type + MacSizeChange = ... # type: QEvent.Type + ContentsRectChange = ... # type: QEvent.Type + CursorChange = ... # type: QEvent.Type + ToolTipChange = ... # type: QEvent.Type + GrabMouse = ... # type: QEvent.Type + UngrabMouse = ... # type: QEvent.Type + GrabKeyboard = ... # type: QEvent.Type + UngrabKeyboard = ... # type: QEvent.Type + StateMachineSignal = ... # type: QEvent.Type + StateMachineWrapped = ... # type: QEvent.Type + TouchBegin = ... # type: QEvent.Type + TouchUpdate = ... # type: QEvent.Type + TouchEnd = ... # type: QEvent.Type + RequestSoftwareInputPanel = ... # type: QEvent.Type + CloseSoftwareInputPanel = ... # type: QEvent.Type + WinIdChange = ... # type: QEvent.Type + Gesture = ... # type: QEvent.Type + GestureOverride = ... # type: QEvent.Type + FocusAboutToChange = ... # type: QEvent.Type + ScrollPrepare = ... # type: QEvent.Type + Scroll = ... # type: QEvent.Type + Expose = ... # type: QEvent.Type + InputMethodQuery = ... # type: QEvent.Type + OrientationChange = ... # type: QEvent.Type + TouchCancel = ... # type: QEvent.Type + PlatformPanel = ... # type: QEvent.Type + ApplicationStateChange = ... # type: QEvent.Type + ReadOnlyChange = ... # type: QEvent.Type + PlatformSurface = ... # type: QEvent.Type + TabletTrackingChange = ... # type: QEvent.Type + User = ... # type: QEvent.Type + MaxUser = ... # type: QEvent.Type + + @typing.overload + def __init__(self, type: 'QEvent.Type') -> None: ... + @typing.overload + def __init__(self, other: 'QEvent') -> None: ... + + @staticmethod + def registerEventType(hint: int = ...) -> int: ... + def ignore(self) -> None: ... + def accept(self) -> None: ... + def isAccepted(self) -> bool: ... + def setAccepted(self, accepted: bool) -> None: ... + def spontaneous(self) -> bool: ... + def type(self) -> 'QEvent.Type': ... + + +class QTimerEvent(QEvent): + + @typing.overload + def __init__(self, timerId: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QTimerEvent') -> None: ... + + def timerId(self) -> int: ... + + +class QChildEvent(QEvent): + + @typing.overload + def __init__(self, type: QEvent.Type, child: QObject) -> None: ... + @typing.overload + def __init__(self, a0: 'QChildEvent') -> None: ... + + def removed(self) -> bool: ... + def polished(self) -> bool: ... + def added(self) -> bool: ... + def child(self) -> QObject: ... + + +class QDynamicPropertyChangeEvent(QEvent): + + @typing.overload + def __init__(self, name: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, a0: 'QDynamicPropertyChangeEvent') -> None: ... + + def propertyName(self) -> QByteArray: ... + + +class QCryptographicHash(sip.simplewrapper): + + class Algorithm(int): + Md4 = ... # type: QCryptographicHash.Algorithm + Md5 = ... # type: QCryptographicHash.Algorithm + Sha1 = ... # type: QCryptographicHash.Algorithm + Sha224 = ... # type: QCryptographicHash.Algorithm + Sha256 = ... # type: QCryptographicHash.Algorithm + Sha384 = ... # type: QCryptographicHash.Algorithm + Sha512 = ... # type: QCryptographicHash.Algorithm + Sha3_224 = ... # type: QCryptographicHash.Algorithm + Sha3_256 = ... # type: QCryptographicHash.Algorithm + Sha3_384 = ... # type: QCryptographicHash.Algorithm + Sha3_512 = ... # type: QCryptographicHash.Algorithm + Keccak_224 = ... # type: QCryptographicHash.Algorithm + Keccak_256 = ... # type: QCryptographicHash.Algorithm + Keccak_384 = ... # type: QCryptographicHash.Algorithm + Keccak_512 = ... # type: QCryptographicHash.Algorithm + + def __init__(self, method: 'QCryptographicHash.Algorithm') -> None: ... + + @staticmethod + def hashLength(method: 'QCryptographicHash.Algorithm') -> int: ... + @staticmethod + def hash(data: typing.Union[QByteArray, bytes, bytearray], method: 'QCryptographicHash.Algorithm') -> QByteArray: ... + def result(self) -> QByteArray: ... + @typing.overload + def addData(self, data: bytes) -> None: ... + @typing.overload + def addData(self, data: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def addData(self, device: QIODevice) -> bool: ... + def reset(self) -> None: ... + + +class QDataStream(sip.simplewrapper): + + class FloatingPointPrecision(int): + SinglePrecision = ... # type: QDataStream.FloatingPointPrecision + DoublePrecision = ... # type: QDataStream.FloatingPointPrecision + + class Status(int): + Ok = ... # type: QDataStream.Status + ReadPastEnd = ... # type: QDataStream.Status + ReadCorruptData = ... # type: QDataStream.Status + WriteFailed = ... # type: QDataStream.Status + + class ByteOrder(int): + BigEndian = ... # type: QDataStream.ByteOrder + LittleEndian = ... # type: QDataStream.ByteOrder + + class Version(int): + Qt_1_0 = ... # type: QDataStream.Version + Qt_2_0 = ... # type: QDataStream.Version + Qt_2_1 = ... # type: QDataStream.Version + Qt_3_0 = ... # type: QDataStream.Version + Qt_3_1 = ... # type: QDataStream.Version + Qt_3_3 = ... # type: QDataStream.Version + Qt_4_0 = ... # type: QDataStream.Version + Qt_4_1 = ... # type: QDataStream.Version + Qt_4_2 = ... # type: QDataStream.Version + Qt_4_3 = ... # type: QDataStream.Version + Qt_4_4 = ... # type: QDataStream.Version + Qt_4_5 = ... # type: QDataStream.Version + Qt_4_6 = ... # type: QDataStream.Version + Qt_4_7 = ... # type: QDataStream.Version + Qt_4_8 = ... # type: QDataStream.Version + Qt_4_9 = ... # type: QDataStream.Version + Qt_5_0 = ... # type: QDataStream.Version + Qt_5_1 = ... # type: QDataStream.Version + Qt_5_2 = ... # type: QDataStream.Version + Qt_5_3 = ... # type: QDataStream.Version + Qt_5_4 = ... # type: QDataStream.Version + Qt_5_5 = ... # type: QDataStream.Version + Qt_5_6 = ... # type: QDataStream.Version + Qt_5_7 = ... # type: QDataStream.Version + Qt_5_8 = ... # type: QDataStream.Version + Qt_5_9 = ... # type: QDataStream.Version + Qt_5_10 = ... # type: QDataStream.Version + Qt_5_11 = ... # type: QDataStream.Version + Qt_5_12 = ... # type: QDataStream.Version + Qt_5_13 = ... # type: QDataStream.Version + Qt_5_14 = ... # type: QDataStream.Version + Qt_5_15 = ... # type: QDataStream.Version + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: QIODevice) -> None: ... + @typing.overload + def __init__(self, a0: QByteArray, flags: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> None: ... + @typing.overload + def __init__(self, a0: QByteArray) -> None: ... + + def abortTransaction(self) -> None: ... + def rollbackTransaction(self) -> None: ... + def commitTransaction(self) -> bool: ... + def startTransaction(self) -> None: ... + def setFloatingPointPrecision(self, precision: 'QDataStream.FloatingPointPrecision') -> None: ... + def floatingPointPrecision(self) -> 'QDataStream.FloatingPointPrecision': ... + def writeRawData(self, a0: bytes) -> int: ... + def writeBytes(self, a0: bytes) -> 'QDataStream': ... + def readRawData(self, len: int) -> bytes: ... + def readBytes(self) -> bytes: ... + def writeQVariantHash(self, qvarhash: typing.Dict[str, typing.Any]) -> None: ... + def readQVariantHash(self) -> typing.Dict[str, typing.Any]: ... + def writeQVariantMap(self, qvarmap: typing.Dict[str, typing.Any]) -> None: ... + def readQVariantMap(self) -> typing.Dict[str, typing.Any]: ... + def writeQVariantList(self, qvarlst: typing.Iterable[typing.Any]) -> None: ... + def readQVariantList(self) -> typing.List[typing.Any]: ... + def writeQVariant(self, qvar: typing.Any) -> None: ... + def readQVariant(self) -> typing.Any: ... + def writeQStringList(self, qstrlst: typing.Iterable[str]) -> None: ... + def readQStringList(self) -> typing.List[str]: ... + def writeQString(self, qstr: str) -> None: ... + def readQString(self) -> str: ... + def writeString(self, str: bytes) -> None: ... + def writeDouble(self, f: float) -> None: ... + def writeFloat(self, f: float) -> None: ... + def writeBool(self, i: bool) -> None: ... + def writeUInt64(self, i: int) -> None: ... + def writeInt64(self, i: int) -> None: ... + def writeUInt32(self, i: int) -> None: ... + def writeInt32(self, i: int) -> None: ... + def writeUInt16(self, i: int) -> None: ... + def writeInt16(self, i: int) -> None: ... + def writeUInt8(self, i: int) -> None: ... + def writeInt8(self, i: int) -> None: ... + def writeInt(self, i: int) -> None: ... + def readString(self) -> bytes: ... + def readDouble(self) -> float: ... + def readFloat(self) -> float: ... + def readBool(self) -> bool: ... + def readUInt64(self) -> int: ... + def readInt64(self) -> int: ... + def readUInt32(self) -> int: ... + def readInt32(self) -> int: ... + def readUInt16(self) -> int: ... + def readInt16(self) -> int: ... + def readUInt8(self) -> int: ... + def readInt8(self) -> int: ... + def readInt(self) -> int: ... + def skipRawData(self, len: int) -> int: ... + def setVersion(self, v: int) -> None: ... + def version(self) -> int: ... + def setByteOrder(self, a0: 'QDataStream.ByteOrder') -> None: ... + def byteOrder(self) -> 'QDataStream.ByteOrder': ... + def resetStatus(self) -> None: ... + def setStatus(self, status: 'QDataStream.Status') -> None: ... + def status(self) -> 'QDataStream.Status': ... + def atEnd(self) -> bool: ... + def setDevice(self, a0: QIODevice) -> None: ... + def device(self) -> QIODevice: ... + + +class QDate(sip.simplewrapper): + + class MonthNameType(int): + DateFormat = ... # type: QDate.MonthNameType + StandaloneFormat = ... # type: QDate.MonthNameType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, y: int, m: int, d: int) -> None: ... + @typing.overload + def __init__(self, y: int, m: int, d: int, cal: QCalendar) -> None: ... + @typing.overload + def __init__(self, a0: 'QDate') -> None: ... + + @typing.overload + def endOfDay(self, spec: Qt.TimeSpec = ..., offsetSeconds: int = ...) -> 'QDateTime': ... + @typing.overload + def endOfDay(self, zone: 'QTimeZone') -> 'QDateTime': ... + @typing.overload + def startOfDay(self, spec: Qt.TimeSpec = ..., offsetSeconds: int = ...) -> 'QDateTime': ... + @typing.overload + def startOfDay(self, zone: 'QTimeZone') -> 'QDateTime': ... + def getDate(self) -> typing.Tuple[int, int, int]: ... + @typing.overload + def setDate(self, year: int, month: int, date: int) -> bool: ... + @typing.overload + def setDate(self, year: int, month: int, day: int, cal: QCalendar) -> bool: ... + def toJulianDay(self) -> int: ... + @staticmethod + def fromJulianDay(jd: int) -> 'QDate': ... + @staticmethod + def isLeapYear(year: int) -> bool: ... + @typing.overload + @staticmethod + def fromString(string: str, format: Qt.DateFormat = ...) -> 'QDate': ... + @typing.overload + @staticmethod + def fromString(s: str, format: str) -> 'QDate': ... + @typing.overload + @staticmethod + def fromString(s: str, format: str, cal: QCalendar) -> 'QDate': ... + @staticmethod + def currentDate() -> 'QDate': ... + def daysTo(self, a0: typing.Union['QDate', datetime.date]) -> int: ... + @typing.overload + def addYears(self, years: int) -> 'QDate': ... + @typing.overload + def addYears(self, years: int, cal: QCalendar) -> 'QDate': ... + @typing.overload + def addMonths(self, months: int) -> 'QDate': ... + @typing.overload + def addMonths(self, months: int, cal: QCalendar) -> 'QDate': ... + def addDays(self, days: int) -> 'QDate': ... + @typing.overload + def toString(self, format: Qt.DateFormat = ...) -> str: ... + @typing.overload + def toString(self, f: Qt.DateFormat, cal: QCalendar) -> str: ... + @typing.overload + def toString(self, format: str) -> str: ... + @typing.overload + def toString(self, format: str, cal: QCalendar) -> str: ... + @staticmethod + def longDayName(weekday: int, type: 'QDate.MonthNameType' = ...) -> str: ... + @staticmethod + def longMonthName(month: int, type: 'QDate.MonthNameType' = ...) -> str: ... + @staticmethod + def shortDayName(weekday: int, type: 'QDate.MonthNameType' = ...) -> str: ... + @staticmethod + def shortMonthName(month: int, type: 'QDate.MonthNameType' = ...) -> str: ... + def weekNumber(self) -> typing.Tuple[int, int]: ... + @typing.overload + def daysInYear(self) -> int: ... + @typing.overload + def daysInYear(self, cal: QCalendar) -> int: ... + @typing.overload + def daysInMonth(self) -> int: ... + @typing.overload + def daysInMonth(self, cal: QCalendar) -> int: ... + @typing.overload + def dayOfYear(self) -> int: ... + @typing.overload + def dayOfYear(self, cal: QCalendar) -> int: ... + @typing.overload + def dayOfWeek(self) -> int: ... + @typing.overload + def dayOfWeek(self, cal: QCalendar) -> int: ... + @typing.overload + def day(self) -> int: ... + @typing.overload + def day(self, cal: QCalendar) -> int: ... + @typing.overload + def month(self) -> int: ... + @typing.overload + def month(self, cal: QCalendar) -> int: ... + @typing.overload + def year(self) -> int: ... + @typing.overload + def year(self, cal: QCalendar) -> int: ... + @typing.overload + def isValid(self) -> bool: ... + @typing.overload + @staticmethod + def isValid(y: int, m: int, d: int) -> bool: ... + def __bool__(self) -> int: ... + def isNull(self) -> bool: ... + def toPyDate(self) -> datetime.date: ... + def __hash__(self) -> int: ... + def __repr__(self) -> str: ... + + +class QTime(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, h: int, m: int, second: int = ..., msec: int = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QTime') -> None: ... + + def msecsSinceStartOfDay(self) -> int: ... + @staticmethod + def fromMSecsSinceStartOfDay(msecs: int) -> 'QTime': ... + def elapsed(self) -> int: ... + def restart(self) -> int: ... + def start(self) -> None: ... + @typing.overload + @staticmethod + def fromString(string: str, format: Qt.DateFormat = ...) -> 'QTime': ... + @typing.overload + @staticmethod + def fromString(s: str, format: str) -> 'QTime': ... + @staticmethod + def currentTime() -> 'QTime': ... + def msecsTo(self, a0: typing.Union['QTime', datetime.time]) -> int: ... + def addMSecs(self, ms: int) -> 'QTime': ... + def secsTo(self, a0: typing.Union['QTime', datetime.time]) -> int: ... + def addSecs(self, secs: int) -> 'QTime': ... + def setHMS(self, h: int, m: int, s: int, msec: int = ...) -> bool: ... + @typing.overload + def toString(self, format: Qt.DateFormat = ...) -> str: ... + @typing.overload + def toString(self, format: str) -> str: ... + def msec(self) -> int: ... + def second(self) -> int: ... + def minute(self) -> int: ... + def hour(self) -> int: ... + @typing.overload + def isValid(self) -> bool: ... + @typing.overload + @staticmethod + def isValid(h: int, m: int, s: int, msec: int = ...) -> bool: ... + def __bool__(self) -> int: ... + def isNull(self) -> bool: ... + def toPyTime(self) -> datetime.time: ... + def __hash__(self) -> int: ... + def __repr__(self) -> str: ... + + +class QDateTime(sip.simplewrapper): + + class YearRange(int): + First = ... # type: QDateTime.YearRange + Last = ... # type: QDateTime.YearRange + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: typing.Union['QDateTime', datetime.datetime]) -> None: ... + @typing.overload + def __init__(self, a0: typing.Union[QDate, datetime.date]) -> None: ... + @typing.overload + def __init__(self, date: typing.Union[QDate, datetime.date], time: typing.Union[QTime, datetime.time], timeSpec: Qt.TimeSpec = ...) -> None: ... + @typing.overload + def __init__(self, year: int, month: int, day: int, hour: int, minute: int, second: int = ..., msec: int = ..., timeSpec: int = ...) -> None: ... + @typing.overload + def __init__(self, date: typing.Union[QDate, datetime.date], time: typing.Union[QTime, datetime.time], spec: Qt.TimeSpec, offsetSeconds: int) -> None: ... + @typing.overload + def __init__(self, date: typing.Union[QDate, datetime.date], time: typing.Union[QTime, datetime.time], timeZone: 'QTimeZone') -> None: ... + + @staticmethod + def currentSecsSinceEpoch() -> int: ... + @typing.overload + @staticmethod + def fromSecsSinceEpoch(secs: int, spec: Qt.TimeSpec = ..., offsetSeconds: int = ...) -> 'QDateTime': ... + @typing.overload + @staticmethod + def fromSecsSinceEpoch(secs: int, timeZone: 'QTimeZone') -> 'QDateTime': ... + def setSecsSinceEpoch(self, secs: int) -> None: ... + def toSecsSinceEpoch(self) -> int: ... + def toTimeZone(self, toZone: 'QTimeZone') -> 'QDateTime': ... + def toOffsetFromUtc(self, offsetSeconds: int) -> 'QDateTime': ... + def setTimeZone(self, toZone: 'QTimeZone') -> None: ... + def setOffsetFromUtc(self, offsetSeconds: int) -> None: ... + def isDaylightTime(self) -> bool: ... + def timeZoneAbbreviation(self) -> str: ... + def timeZone(self) -> 'QTimeZone': ... + def offsetFromUtc(self) -> int: ... + def swap(self, other: 'QDateTime') -> None: ... + @staticmethod + def currentMSecsSinceEpoch() -> int: ... + @typing.overload + @staticmethod + def fromMSecsSinceEpoch(msecs: int) -> 'QDateTime': ... + @typing.overload + @staticmethod + def fromMSecsSinceEpoch(msecs: int, spec: Qt.TimeSpec, offsetSeconds: int = ...) -> 'QDateTime': ... + @typing.overload + @staticmethod + def fromMSecsSinceEpoch(msecs: int, timeZone: 'QTimeZone') -> 'QDateTime': ... + @staticmethod + def currentDateTimeUtc() -> 'QDateTime': ... + def msecsTo(self, a0: typing.Union['QDateTime', datetime.datetime]) -> int: ... + def setMSecsSinceEpoch(self, msecs: int) -> None: ... + def toMSecsSinceEpoch(self) -> int: ... + @typing.overload + @staticmethod + def fromTime_t(secsSince1Jan1970UTC: int) -> 'QDateTime': ... + @typing.overload + @staticmethod + def fromTime_t(secsSince1Jan1970UTC: int, spec: Qt.TimeSpec, offsetSeconds: int = ...) -> 'QDateTime': ... + @typing.overload + @staticmethod + def fromTime_t(secsSince1Jan1970UTC: int, timeZone: 'QTimeZone') -> 'QDateTime': ... + @typing.overload + @staticmethod + def fromString(string: str, format: Qt.DateFormat = ...) -> 'QDateTime': ... + @typing.overload + @staticmethod + def fromString(s: str, format: str) -> 'QDateTime': ... + @typing.overload + @staticmethod + def fromString(s: str, format: str, cal: QCalendar) -> 'QDateTime': ... + @staticmethod + def currentDateTime() -> 'QDateTime': ... + def secsTo(self, a0: typing.Union['QDateTime', datetime.datetime]) -> int: ... + def daysTo(self, a0: typing.Union['QDateTime', datetime.datetime]) -> int: ... + def toUTC(self) -> 'QDateTime': ... + def toLocalTime(self) -> 'QDateTime': ... + def toTimeSpec(self, spec: Qt.TimeSpec) -> 'QDateTime': ... + def addMSecs(self, msecs: int) -> 'QDateTime': ... + def addSecs(self, secs: int) -> 'QDateTime': ... + def addYears(self, years: int) -> 'QDateTime': ... + def addMonths(self, months: int) -> 'QDateTime': ... + def addDays(self, days: int) -> 'QDateTime': ... + @typing.overload + def toString(self, format: Qt.DateFormat = ...) -> str: ... + @typing.overload + def toString(self, format: str) -> str: ... + @typing.overload + def toString(self, format: str, cal: QCalendar) -> str: ... + def setTime_t(self, secsSince1Jan1970UTC: int) -> None: ... + def setTimeSpec(self, spec: Qt.TimeSpec) -> None: ... + def setTime(self, time: typing.Union[QTime, datetime.time]) -> None: ... + def setDate(self, date: typing.Union[QDate, datetime.date]) -> None: ... + def toTime_t(self) -> int: ... + def timeSpec(self) -> Qt.TimeSpec: ... + def time(self) -> QTime: ... + def date(self) -> QDate: ... + def isValid(self) -> bool: ... + def __bool__(self) -> int: ... + def isNull(self) -> bool: ... + def toPyDateTime(self) -> datetime.datetime: ... + def __hash__(self) -> int: ... + def __repr__(self) -> str: ... + + +class QDeadlineTimer(sip.simplewrapper): + + class ForeverConstant(int): + Forever = ... # type: QDeadlineTimer.ForeverConstant + + @typing.overload + def __init__(self, type: Qt.TimerType = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QDeadlineTimer.ForeverConstant', type: Qt.TimerType = ...) -> None: ... + @typing.overload + def __init__(self, msecs: int, type: Qt.TimerType = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QDeadlineTimer') -> None: ... + + @staticmethod + def current(type: Qt.TimerType = ...) -> 'QDeadlineTimer': ... + @staticmethod + def addNSecs(dt: 'QDeadlineTimer', nsecs: int) -> 'QDeadlineTimer': ... + def setPreciseDeadline(self, secs: int, nsecs: int = ..., type: Qt.TimerType = ...) -> None: ... + def setDeadline(self, msecs: int, type: Qt.TimerType = ...) -> None: ... + def deadlineNSecs(self) -> int: ... + def deadline(self) -> int: ... + def setPreciseRemainingTime(self, secs: int, nsecs: int = ..., type: Qt.TimerType = ...) -> None: ... + def setRemainingTime(self, msecs: int, type: Qt.TimerType = ...) -> None: ... + def remainingTimeNSecs(self) -> int: ... + def remainingTime(self) -> int: ... + def setTimerType(self, type: Qt.TimerType) -> None: ... + def timerType(self) -> Qt.TimerType: ... + def hasExpired(self) -> bool: ... + def isForever(self) -> bool: ... + def swap(self, other: 'QDeadlineTimer') -> None: ... + + +class QDir(sip.simplewrapper): + + class SortFlag(int): + Name = ... # type: QDir.SortFlag + Time = ... # type: QDir.SortFlag + Size = ... # type: QDir.SortFlag + Unsorted = ... # type: QDir.SortFlag + SortByMask = ... # type: QDir.SortFlag + DirsFirst = ... # type: QDir.SortFlag + Reversed = ... # type: QDir.SortFlag + IgnoreCase = ... # type: QDir.SortFlag + DirsLast = ... # type: QDir.SortFlag + LocaleAware = ... # type: QDir.SortFlag + Type = ... # type: QDir.SortFlag + NoSort = ... # type: QDir.SortFlag + + class Filter(int): + Dirs = ... # type: QDir.Filter + Files = ... # type: QDir.Filter + Drives = ... # type: QDir.Filter + NoSymLinks = ... # type: QDir.Filter + AllEntries = ... # type: QDir.Filter + TypeMask = ... # type: QDir.Filter + Readable = ... # type: QDir.Filter + Writable = ... # type: QDir.Filter + Executable = ... # type: QDir.Filter + PermissionMask = ... # type: QDir.Filter + Modified = ... # type: QDir.Filter + Hidden = ... # type: QDir.Filter + System = ... # type: QDir.Filter + AccessMask = ... # type: QDir.Filter + AllDirs = ... # type: QDir.Filter + CaseSensitive = ... # type: QDir.Filter + NoDotAndDotDot = ... # type: QDir.Filter + NoFilter = ... # type: QDir.Filter + NoDot = ... # type: QDir.Filter + NoDotDot = ... # type: QDir.Filter + + class Filters(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDir.Filters', 'QDir.Filter']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDir.Filters') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDir.Filters': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class SortFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDir.SortFlags', 'QDir.SortFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDir.SortFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDir.SortFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, a0: 'QDir') -> None: ... + @typing.overload + def __init__(self, path: str = ...) -> None: ... + @typing.overload + def __init__(self, path: str, nameFilter: str, sort: 'QDir.SortFlags' = ..., filters: 'QDir.Filters' = ...) -> None: ... + + def isEmpty(self, filters: typing.Union['QDir.Filters', 'QDir.Filter'] = ...) -> bool: ... + @staticmethod + def listSeparator() -> str: ... + def swap(self, other: 'QDir') -> None: ... + def removeRecursively(self) -> bool: ... + @staticmethod + def searchPaths(prefix: str) -> typing.List[str]: ... + @staticmethod + def addSearchPath(prefix: str, path: str) -> None: ... + @staticmethod + def setSearchPaths(prefix: str, searchPaths: typing.Iterable[str]) -> None: ... + @staticmethod + def fromNativeSeparators(pathName: str) -> str: ... + @staticmethod + def toNativeSeparators(pathName: str) -> str: ... + @staticmethod + def cleanPath(path: str) -> str: ... + @typing.overload + @staticmethod + def match(filters: typing.Iterable[str], fileName: str) -> bool: ... + @typing.overload + @staticmethod + def match(filter: str, fileName: str) -> bool: ... + @staticmethod + def tempPath() -> str: ... + @staticmethod + def temp() -> 'QDir': ... + @staticmethod + def rootPath() -> str: ... + @staticmethod + def root() -> 'QDir': ... + @staticmethod + def homePath() -> str: ... + @staticmethod + def home() -> 'QDir': ... + @staticmethod + def currentPath() -> str: ... + @staticmethod + def current() -> 'QDir': ... + @staticmethod + def setCurrent(path: str) -> bool: ... + @staticmethod + def separator() -> str: ... + @staticmethod + def drives() -> typing.List['QFileInfo']: ... + def refresh(self) -> None: ... + def rename(self, oldName: str, newName: str) -> bool: ... + def remove(self, fileName: str) -> bool: ... + def makeAbsolute(self) -> bool: ... + def isAbsolute(self) -> bool: ... + def isRelative(self) -> bool: ... + @staticmethod + def isAbsolutePath(path: str) -> bool: ... + @staticmethod + def isRelativePath(path: str) -> bool: ... + def isRoot(self) -> bool: ... + @typing.overload + def exists(self) -> bool: ... + @typing.overload + def exists(self, name: str) -> bool: ... + def isReadable(self) -> bool: ... + def rmpath(self, dirPath: str) -> bool: ... + def mkpath(self, dirPath: str) -> bool: ... + def rmdir(self, dirName: str) -> bool: ... + def mkdir(self, dirName: str) -> bool: ... + @typing.overload + def entryInfoList(self, filters: typing.Union['QDir.Filters', 'QDir.Filter'] = ..., sort: typing.Union['QDir.SortFlags', 'QDir.SortFlag'] = ...) -> typing.List['QFileInfo']: ... + @typing.overload + def entryInfoList(self, nameFilters: typing.Iterable[str], filters: typing.Union['QDir.Filters', 'QDir.Filter'] = ..., sort: typing.Union['QDir.SortFlags', 'QDir.SortFlag'] = ...) -> typing.List['QFileInfo']: ... + @typing.overload + def entryList(self, filters: typing.Union['QDir.Filters', 'QDir.Filter'] = ..., sort: typing.Union['QDir.SortFlags', 'QDir.SortFlag'] = ...) -> typing.List[str]: ... + @typing.overload + def entryList(self, nameFilters: typing.Iterable[str], filters: typing.Union['QDir.Filters', 'QDir.Filter'] = ..., sort: typing.Union['QDir.SortFlags', 'QDir.SortFlag'] = ...) -> typing.List[str]: ... + @staticmethod + def nameFiltersFromString(nameFilter: str) -> typing.List[str]: ... + def __contains__(self, a0: str) -> int: ... + @typing.overload + def __getitem__(self, a0: int) -> str: ... + @typing.overload + def __getitem__(self, a0: slice) -> typing.List[str]: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def setSorting(self, sort: typing.Union['QDir.SortFlags', 'QDir.SortFlag']) -> None: ... + def sorting(self) -> 'QDir.SortFlags': ... + def setFilter(self, filter: typing.Union['QDir.Filters', 'QDir.Filter']) -> None: ... + def filter(self) -> 'QDir.Filters': ... + def setNameFilters(self, nameFilters: typing.Iterable[str]) -> None: ... + def nameFilters(self) -> typing.List[str]: ... + def cdUp(self) -> bool: ... + def cd(self, dirName: str) -> bool: ... + def relativeFilePath(self, fileName: str) -> str: ... + def absoluteFilePath(self, fileName: str) -> str: ... + def filePath(self, fileName: str) -> str: ... + def dirName(self) -> str: ... + def canonicalPath(self) -> str: ... + def absolutePath(self) -> str: ... + def path(self) -> str: ... + def setPath(self, path: str) -> None: ... + + +class QDirIterator(sip.simplewrapper): + + class IteratorFlag(int): + NoIteratorFlags = ... # type: QDirIterator.IteratorFlag + FollowSymlinks = ... # type: QDirIterator.IteratorFlag + Subdirectories = ... # type: QDirIterator.IteratorFlag + + class IteratorFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDirIterator.IteratorFlags', 'QDirIterator.IteratorFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDirIterator.IteratorFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDirIterator.IteratorFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, dir: QDir, flags: 'QDirIterator.IteratorFlags' = ...) -> None: ... + @typing.overload + def __init__(self, path: str, flags: 'QDirIterator.IteratorFlags' = ...) -> None: ... + @typing.overload + def __init__(self, path: str, filters: QDir.Filters, flags: 'QDirIterator.IteratorFlags' = ...) -> None: ... + @typing.overload + def __init__(self, path: str, nameFilters: typing.Iterable[str], filters: QDir.Filters = ..., flags: 'QDirIterator.IteratorFlags' = ...) -> None: ... + + def path(self) -> str: ... + def fileInfo(self) -> 'QFileInfo': ... + def filePath(self) -> str: ... + def fileName(self) -> str: ... + def hasNext(self) -> bool: ... + def next(self) -> str: ... + + +class QEasingCurve(sip.simplewrapper): + + class Type(int): + Linear = ... # type: QEasingCurve.Type + InQuad = ... # type: QEasingCurve.Type + OutQuad = ... # type: QEasingCurve.Type + InOutQuad = ... # type: QEasingCurve.Type + OutInQuad = ... # type: QEasingCurve.Type + InCubic = ... # type: QEasingCurve.Type + OutCubic = ... # type: QEasingCurve.Type + InOutCubic = ... # type: QEasingCurve.Type + OutInCubic = ... # type: QEasingCurve.Type + InQuart = ... # type: QEasingCurve.Type + OutQuart = ... # type: QEasingCurve.Type + InOutQuart = ... # type: QEasingCurve.Type + OutInQuart = ... # type: QEasingCurve.Type + InQuint = ... # type: QEasingCurve.Type + OutQuint = ... # type: QEasingCurve.Type + InOutQuint = ... # type: QEasingCurve.Type + OutInQuint = ... # type: QEasingCurve.Type + InSine = ... # type: QEasingCurve.Type + OutSine = ... # type: QEasingCurve.Type + InOutSine = ... # type: QEasingCurve.Type + OutInSine = ... # type: QEasingCurve.Type + InExpo = ... # type: QEasingCurve.Type + OutExpo = ... # type: QEasingCurve.Type + InOutExpo = ... # type: QEasingCurve.Type + OutInExpo = ... # type: QEasingCurve.Type + InCirc = ... # type: QEasingCurve.Type + OutCirc = ... # type: QEasingCurve.Type + InOutCirc = ... # type: QEasingCurve.Type + OutInCirc = ... # type: QEasingCurve.Type + InElastic = ... # type: QEasingCurve.Type + OutElastic = ... # type: QEasingCurve.Type + InOutElastic = ... # type: QEasingCurve.Type + OutInElastic = ... # type: QEasingCurve.Type + InBack = ... # type: QEasingCurve.Type + OutBack = ... # type: QEasingCurve.Type + InOutBack = ... # type: QEasingCurve.Type + OutInBack = ... # type: QEasingCurve.Type + InBounce = ... # type: QEasingCurve.Type + OutBounce = ... # type: QEasingCurve.Type + InOutBounce = ... # type: QEasingCurve.Type + OutInBounce = ... # type: QEasingCurve.Type + InCurve = ... # type: QEasingCurve.Type + OutCurve = ... # type: QEasingCurve.Type + SineCurve = ... # type: QEasingCurve.Type + CosineCurve = ... # type: QEasingCurve.Type + BezierSpline = ... # type: QEasingCurve.Type + TCBSpline = ... # type: QEasingCurve.Type + Custom = ... # type: QEasingCurve.Type + + @typing.overload + def __init__(self, type: 'QEasingCurve.Type' = ...) -> None: ... + @typing.overload + def __init__(self, other: typing.Union['QEasingCurve', 'QEasingCurve.Type']) -> None: ... + + def toCubicSpline(self) -> typing.List['QPointF']: ... + def addTCBSegment(self, nextPoint: typing.Union['QPointF', 'QPoint'], t: float, c: float, b: float) -> None: ... + def addCubicBezierSegment(self, c1: typing.Union['QPointF', 'QPoint'], c2: typing.Union['QPointF', 'QPoint'], endPoint: typing.Union['QPointF', 'QPoint']) -> None: ... + def swap(self, other: 'QEasingCurve') -> None: ... + def valueForProgress(self, progress: float) -> float: ... + def customType(self) -> typing.Callable[[float], float]: ... + def setCustomType(self, func: typing.Callable[[float], float]) -> None: ... + def setType(self, type: 'QEasingCurve.Type') -> None: ... + def type(self) -> 'QEasingCurve.Type': ... + def setOvershoot(self, overshoot: float) -> None: ... + def overshoot(self) -> float: ... + def setPeriod(self, period: float) -> None: ... + def period(self) -> float: ... + def setAmplitude(self, amplitude: float) -> None: ... + def amplitude(self) -> float: ... + + +class QElapsedTimer(sip.simplewrapper): + + class ClockType(int): + SystemTime = ... # type: QElapsedTimer.ClockType + MonotonicClock = ... # type: QElapsedTimer.ClockType + TickCounter = ... # type: QElapsedTimer.ClockType + MachAbsoluteTime = ... # type: QElapsedTimer.ClockType + PerformanceCounter = ... # type: QElapsedTimer.ClockType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QElapsedTimer') -> None: ... + + def nsecsElapsed(self) -> int: ... + def secsTo(self, other: 'QElapsedTimer') -> int: ... + def msecsTo(self, other: 'QElapsedTimer') -> int: ... + def msecsSinceReference(self) -> int: ... + def hasExpired(self, timeout: int) -> bool: ... + def elapsed(self) -> int: ... + def isValid(self) -> bool: ... + def invalidate(self) -> None: ... + def restart(self) -> int: ... + def start(self) -> None: ... + @staticmethod + def isMonotonic() -> bool: ... + @staticmethod + def clockType() -> 'QElapsedTimer.ClockType': ... + + +class QEventLoop(QObject): + + class ProcessEventsFlag(int): + AllEvents = ... # type: QEventLoop.ProcessEventsFlag + ExcludeUserInputEvents = ... # type: QEventLoop.ProcessEventsFlag + ExcludeSocketNotifiers = ... # type: QEventLoop.ProcessEventsFlag + WaitForMoreEvents = ... # type: QEventLoop.ProcessEventsFlag + X11ExcludeTimers = ... # type: QEventLoop.ProcessEventsFlag + + class ProcessEventsFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QEventLoop.ProcessEventsFlags', 'QEventLoop.ProcessEventsFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QEventLoop.ProcessEventsFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QEventLoop.ProcessEventsFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def event(self, event: QEvent) -> bool: ... + def quit(self) -> None: ... + def wakeUp(self) -> None: ... + def isRunning(self) -> bool: ... + def exit(self, returnCode: int = ...) -> None: ... + def exec(self, flags: 'QEventLoop.ProcessEventsFlags' = ...) -> int: ... + def exec_(self, flags: 'QEventLoop.ProcessEventsFlags' = ...) -> int: ... + @typing.overload + def processEvents(self, flags: typing.Union['QEventLoop.ProcessEventsFlags', 'QEventLoop.ProcessEventsFlag'] = ...) -> bool: ... + @typing.overload + def processEvents(self, flags: typing.Union['QEventLoop.ProcessEventsFlags', 'QEventLoop.ProcessEventsFlag'], maximumTime: int) -> None: ... + + +class QEventLoopLocker(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, loop: QEventLoop) -> None: ... + @typing.overload + def __init__(self, thread: 'QThread') -> None: ... + + +class QEventTransition(QAbstractTransition): + + @typing.overload + def __init__(self, sourceState: typing.Optional['QState'] = ...) -> None: ... + @typing.overload + def __init__(self, object: QObject, type: QEvent.Type, sourceState: typing.Optional['QState'] = ...) -> None: ... + + def event(self, e: QEvent) -> bool: ... + def onTransition(self, event: QEvent) -> None: ... + def eventTest(self, event: QEvent) -> bool: ... + def setEventType(self, type: QEvent.Type) -> None: ... + def eventType(self) -> QEvent.Type: ... + def setEventSource(self, object: QObject) -> None: ... + def eventSource(self) -> QObject: ... + + +class QFileDevice(QIODevice): + + class FileTime(int): + FileAccessTime = ... # type: QFileDevice.FileTime + FileBirthTime = ... # type: QFileDevice.FileTime + FileMetadataChangeTime = ... # type: QFileDevice.FileTime + FileModificationTime = ... # type: QFileDevice.FileTime + + class MemoryMapFlags(int): + NoOptions = ... # type: QFileDevice.MemoryMapFlags + MapPrivateOption = ... # type: QFileDevice.MemoryMapFlags + + class FileHandleFlag(int): + AutoCloseHandle = ... # type: QFileDevice.FileHandleFlag + DontCloseHandle = ... # type: QFileDevice.FileHandleFlag + + class Permission(int): + ReadOwner = ... # type: QFileDevice.Permission + WriteOwner = ... # type: QFileDevice.Permission + ExeOwner = ... # type: QFileDevice.Permission + ReadUser = ... # type: QFileDevice.Permission + WriteUser = ... # type: QFileDevice.Permission + ExeUser = ... # type: QFileDevice.Permission + ReadGroup = ... # type: QFileDevice.Permission + WriteGroup = ... # type: QFileDevice.Permission + ExeGroup = ... # type: QFileDevice.Permission + ReadOther = ... # type: QFileDevice.Permission + WriteOther = ... # type: QFileDevice.Permission + ExeOther = ... # type: QFileDevice.Permission + + class FileError(int): + NoError = ... # type: QFileDevice.FileError + ReadError = ... # type: QFileDevice.FileError + WriteError = ... # type: QFileDevice.FileError + FatalError = ... # type: QFileDevice.FileError + ResourceError = ... # type: QFileDevice.FileError + OpenError = ... # type: QFileDevice.FileError + AbortError = ... # type: QFileDevice.FileError + TimeOutError = ... # type: QFileDevice.FileError + UnspecifiedError = ... # type: QFileDevice.FileError + RemoveError = ... # type: QFileDevice.FileError + RenameError = ... # type: QFileDevice.FileError + PositionError = ... # type: QFileDevice.FileError + ResizeError = ... # type: QFileDevice.FileError + PermissionsError = ... # type: QFileDevice.FileError + CopyError = ... # type: QFileDevice.FileError + + class Permissions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QFileDevice.Permissions', 'QFileDevice.Permission']) -> None: ... + @typing.overload + def __init__(self, a0: 'QFileDevice.Permissions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QFileDevice.Permissions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class FileHandleFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QFileDevice.FileHandleFlags', 'QFileDevice.FileHandleFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QFileDevice.FileHandleFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QFileDevice.FileHandleFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def setFileTime(self, newDate: typing.Union[QDateTime, datetime.datetime], fileTime: 'QFileDevice.FileTime') -> bool: ... + def fileTime(self, time: 'QFileDevice.FileTime') -> QDateTime: ... + def readLineData(self, maxlen: int) -> bytes: ... + def writeData(self, data: bytes) -> int: ... + def readData(self, maxlen: int) -> bytes: ... + def unmap(self, address: PyQt5.sip.voidptr) -> bool: ... + def map(self, offset: int, size: int, flags: 'QFileDevice.MemoryMapFlags' = ...) -> PyQt5.sip.voidptr: ... + def setPermissions(self, permissionSpec: typing.Union['QFileDevice.Permissions', 'QFileDevice.Permission']) -> bool: ... + def permissions(self) -> 'QFileDevice.Permissions': ... + def resize(self, sz: int) -> bool: ... + def size(self) -> int: ... + def flush(self) -> bool: ... + def atEnd(self) -> bool: ... + def seek(self, offset: int) -> bool: ... + def pos(self) -> int: ... + def fileName(self) -> str: ... + def handle(self) -> int: ... + def isSequential(self) -> bool: ... + def close(self) -> None: ... + def unsetError(self) -> None: ... + def error(self) -> 'QFileDevice.FileError': ... + + +class QFile(QFileDevice): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, parent: QObject) -> None: ... + @typing.overload + def __init__(self, name: str, parent: QObject) -> None: ... + + @typing.overload + def moveToTrash(self) -> bool: ... + @typing.overload + @staticmethod + def moveToTrash(fileName: str) -> typing.Tuple[bool, str]: ... + @typing.overload + def setPermissions(self, permissionSpec: typing.Union[QFileDevice.Permissions, QFileDevice.Permission]) -> bool: ... + @typing.overload + @staticmethod + def setPermissions(filename: str, permissionSpec: typing.Union[QFileDevice.Permissions, QFileDevice.Permission]) -> bool: ... + @typing.overload + def permissions(self) -> QFileDevice.Permissions: ... + @typing.overload + @staticmethod + def permissions(filename: str) -> QFileDevice.Permissions: ... + @typing.overload + def resize(self, sz: int) -> bool: ... + @typing.overload + @staticmethod + def resize(filename: str, sz: int) -> bool: ... + def size(self) -> int: ... + @typing.overload + def open(self, flags: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> bool: ... + @typing.overload + def open(self, fd: int, ioFlags: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag], handleFlags: typing.Union[QFileDevice.FileHandleFlags, QFileDevice.FileHandleFlag] = ...) -> bool: ... + @typing.overload + def copy(self, newName: str) -> bool: ... + @typing.overload + @staticmethod + def copy(fileName: str, newName: str) -> bool: ... + @typing.overload + def link(self, newName: str) -> bool: ... + @typing.overload + @staticmethod + def link(oldname: str, newName: str) -> bool: ... + @typing.overload + def rename(self, newName: str) -> bool: ... + @typing.overload + @staticmethod + def rename(oldName: str, newName: str) -> bool: ... + @typing.overload + def remove(self) -> bool: ... + @typing.overload + @staticmethod + def remove(fileName: str) -> bool: ... + @typing.overload + def symLinkTarget(self) -> str: ... + @typing.overload + @staticmethod + def symLinkTarget(fileName: str) -> str: ... + @typing.overload + def exists(self) -> bool: ... + @typing.overload + @staticmethod + def exists(fileName: str) -> bool: ... + @typing.overload + @staticmethod + def decodeName(localFileName: typing.Union[QByteArray, bytes, bytearray]) -> str: ... + @typing.overload + @staticmethod + def decodeName(localFileName: str) -> str: ... + @staticmethod + def encodeName(fileName: str) -> QByteArray: ... + def setFileName(self, name: str) -> None: ... + def fileName(self) -> str: ... + + +class QFileInfo(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, file: str) -> None: ... + @typing.overload + def __init__(self, file: QFile) -> None: ... + @typing.overload + def __init__(self, dir: QDir, file: str) -> None: ... + @typing.overload + def __init__(self, fileinfo: 'QFileInfo') -> None: ... + + def isJunction(self) -> bool: ... + def isShortcut(self) -> bool: ... + def isSymbolicLink(self) -> bool: ... + def fileTime(self, time: QFileDevice.FileTime) -> QDateTime: ... + def metadataChangeTime(self) -> QDateTime: ... + def birthTime(self) -> QDateTime: ... + def swap(self, other: 'QFileInfo') -> None: ... + def isNativePath(self) -> bool: ... + def isBundle(self) -> bool: ... + def bundleName(self) -> str: ... + def symLinkTarget(self) -> str: ... + def setCaching(self, on: bool) -> None: ... + def caching(self) -> bool: ... + def lastRead(self) -> QDateTime: ... + def lastModified(self) -> QDateTime: ... + def created(self) -> QDateTime: ... + def size(self) -> int: ... + def permissions(self) -> QFileDevice.Permissions: ... + def permission(self, permissions: typing.Union[QFileDevice.Permissions, QFileDevice.Permission]) -> bool: ... + def groupId(self) -> int: ... + def group(self) -> str: ... + def ownerId(self) -> int: ... + def owner(self) -> str: ... + def isRoot(self) -> bool: ... + def isSymLink(self) -> bool: ... + def isDir(self) -> bool: ... + def isFile(self) -> bool: ... + def makeAbsolute(self) -> bool: ... + def isAbsolute(self) -> bool: ... + def isRelative(self) -> bool: ... + def isHidden(self) -> bool: ... + def isExecutable(self) -> bool: ... + def isWritable(self) -> bool: ... + def isReadable(self) -> bool: ... + def absoluteDir(self) -> QDir: ... + def dir(self) -> QDir: ... + def canonicalPath(self) -> str: ... + def absolutePath(self) -> str: ... + def path(self) -> str: ... + def completeSuffix(self) -> str: ... + def suffix(self) -> str: ... + def completeBaseName(self) -> str: ... + def baseName(self) -> str: ... + def fileName(self) -> str: ... + def canonicalFilePath(self) -> str: ... + def absoluteFilePath(self) -> str: ... + def __fspath__(self) -> typing.Any: ... + def filePath(self) -> str: ... + def refresh(self) -> None: ... + @typing.overload + def exists(self) -> bool: ... + @typing.overload + @staticmethod + def exists(file: str) -> bool: ... + @typing.overload + def setFile(self, file: str) -> None: ... + @typing.overload + def setFile(self, file: QFile) -> None: ... + @typing.overload + def setFile(self, dir: QDir, file: str) -> None: ... + + +class QFileSelector(QObject): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def allSelectors(self) -> typing.List[str]: ... + def setExtraSelectors(self, list: typing.Iterable[str]) -> None: ... + def extraSelectors(self) -> typing.List[str]: ... + @typing.overload + def select(self, filePath: str) -> str: ... + @typing.overload + def select(self, filePath: 'QUrl') -> 'QUrl': ... + + +class QFileSystemWatcher(QObject): + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, paths: typing.Iterable[str], parent: typing.Optional[QObject] = ...) -> None: ... + + def fileChanged(self, path: str) -> None: ... + def directoryChanged(self, path: str) -> None: ... + def removePaths(self, files: typing.Iterable[str]) -> typing.List[str]: ... + def removePath(self, file: str) -> bool: ... + def files(self) -> typing.List[str]: ... + def directories(self) -> typing.List[str]: ... + def addPaths(self, files: typing.Iterable[str]) -> typing.List[str]: ... + def addPath(self, file: str) -> bool: ... + + +class QFinalState(QAbstractState): + + def __init__(self, parent: typing.Optional['QState'] = ...) -> None: ... + + def event(self, e: QEvent) -> bool: ... + def onExit(self, event: QEvent) -> None: ... + def onEntry(self, event: QEvent) -> None: ... + + +class QHistoryState(QAbstractState): + + class HistoryType(int): + ShallowHistory = ... # type: QHistoryState.HistoryType + DeepHistory = ... # type: QHistoryState.HistoryType + + @typing.overload + def __init__(self, parent: typing.Optional['QState'] = ...) -> None: ... + @typing.overload + def __init__(self, type: 'QHistoryState.HistoryType', parent: typing.Optional['QState'] = ...) -> None: ... + + def defaultTransitionChanged(self) -> None: ... + def setDefaultTransition(self, transition: QAbstractTransition) -> None: ... + def defaultTransition(self) -> QAbstractTransition: ... + def historyTypeChanged(self) -> None: ... + def defaultStateChanged(self) -> None: ... + def event(self, e: QEvent) -> bool: ... + def onExit(self, event: QEvent) -> None: ... + def onEntry(self, event: QEvent) -> None: ... + def setHistoryType(self, type: 'QHistoryState.HistoryType') -> None: ... + def historyType(self) -> 'QHistoryState.HistoryType': ... + def setDefaultState(self, state: QAbstractState) -> None: ... + def defaultState(self) -> QAbstractState: ... + + +class QIdentityProxyModel(QAbstractProxyModel): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... + def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ... + def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ... + def setSourceModel(self, sourceModel: QAbstractItemModel) -> None: ... + def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: typing.Union[Qt.MatchFlags, Qt.MatchFlag] = ...) -> typing.List[QModelIndex]: ... + def mapSelectionToSource(self, selection: 'QItemSelection') -> 'QItemSelection': ... + def mapSelectionFromSource(self, selection: 'QItemSelection') -> 'QItemSelection': ... + def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def rowCount(self, parent: QModelIndex = ...) -> int: ... + def parent(self, child: QModelIndex) -> QModelIndex: ... + def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ... + def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ... + def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ... + def columnCount(self, parent: QModelIndex = ...) -> int: ... + + +class QItemSelectionRange(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QItemSelectionRange') -> None: ... + @typing.overload + def __init__(self, atopLeft: QModelIndex, abottomRight: QModelIndex) -> None: ... + @typing.overload + def __init__(self, index: QModelIndex) -> None: ... + + def swap(self, other: 'QItemSelectionRange') -> None: ... + def isEmpty(self) -> bool: ... + def __hash__(self) -> int: ... + def intersected(self, other: 'QItemSelectionRange') -> 'QItemSelectionRange': ... + def indexes(self) -> typing.List[QModelIndex]: ... + def isValid(self) -> bool: ... + def intersects(self, other: 'QItemSelectionRange') -> bool: ... + @typing.overload + def contains(self, index: QModelIndex) -> bool: ... + @typing.overload + def contains(self, row: int, column: int, parentIndex: QModelIndex) -> bool: ... + def model(self) -> QAbstractItemModel: ... + def parent(self) -> QModelIndex: ... + def bottomRight(self) -> QPersistentModelIndex: ... + def topLeft(self) -> QPersistentModelIndex: ... + def height(self) -> int: ... + def width(self) -> int: ... + def right(self) -> int: ... + def bottom(self) -> int: ... + def left(self) -> int: ... + def top(self) -> int: ... + + +class QItemSelectionModel(QObject): + + class SelectionFlag(int): + NoUpdate = ... # type: QItemSelectionModel.SelectionFlag + Clear = ... # type: QItemSelectionModel.SelectionFlag + Select = ... # type: QItemSelectionModel.SelectionFlag + Deselect = ... # type: QItemSelectionModel.SelectionFlag + Toggle = ... # type: QItemSelectionModel.SelectionFlag + Current = ... # type: QItemSelectionModel.SelectionFlag + Rows = ... # type: QItemSelectionModel.SelectionFlag + Columns = ... # type: QItemSelectionModel.SelectionFlag + SelectCurrent = ... # type: QItemSelectionModel.SelectionFlag + ToggleCurrent = ... # type: QItemSelectionModel.SelectionFlag + ClearAndSelect = ... # type: QItemSelectionModel.SelectionFlag + + class SelectionFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QItemSelectionModel.SelectionFlags', 'QItemSelectionModel.SelectionFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QItemSelectionModel.SelectionFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QItemSelectionModel.SelectionFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, model: typing.Optional[QAbstractItemModel] = ...) -> None: ... + @typing.overload + def __init__(self, model: QAbstractItemModel, parent: QObject) -> None: ... + + def modelChanged(self, model: QAbstractItemModel) -> None: ... + def setModel(self, model: QAbstractItemModel) -> None: ... + def selectedColumns(self, row: int = ...) -> typing.List[QModelIndex]: ... + def selectedRows(self, column: int = ...) -> typing.List[QModelIndex]: ... + def hasSelection(self) -> bool: ... + def emitSelectionChanged(self, newSelection: 'QItemSelection', oldSelection: 'QItemSelection') -> None: ... + def currentColumnChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... + def currentRowChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... + def currentChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... + def selectionChanged(self, selected: 'QItemSelection', deselected: 'QItemSelection') -> None: ... + def clearCurrentIndex(self) -> None: ... + def setCurrentIndex(self, index: QModelIndex, command: typing.Union['QItemSelectionModel.SelectionFlags', 'QItemSelectionModel.SelectionFlag']) -> None: ... + @typing.overload + def select(self, index: QModelIndex, command: typing.Union['QItemSelectionModel.SelectionFlags', 'QItemSelectionModel.SelectionFlag']) -> None: ... + @typing.overload + def select(self, selection: 'QItemSelection', command: typing.Union['QItemSelectionModel.SelectionFlags', 'QItemSelectionModel.SelectionFlag']) -> None: ... + def reset(self) -> None: ... + def clearSelection(self) -> None: ... + def clear(self) -> None: ... + def model(self) -> QAbstractItemModel: ... + def selection(self) -> 'QItemSelection': ... + def selectedIndexes(self) -> typing.List[QModelIndex]: ... + def columnIntersectsSelection(self, column: int, parent: QModelIndex = ...) -> bool: ... + def rowIntersectsSelection(self, row: int, parent: QModelIndex = ...) -> bool: ... + def isColumnSelected(self, column: int, parent: QModelIndex = ...) -> bool: ... + def isRowSelected(self, row: int, parent: QModelIndex = ...) -> bool: ... + def isSelected(self, index: QModelIndex) -> bool: ... + def currentIndex(self) -> QModelIndex: ... + + +class QItemSelection(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, topLeft: QModelIndex, bottomRight: QModelIndex) -> None: ... + @typing.overload + def __init__(self, a0: 'QItemSelection') -> None: ... + + def lastIndexOf(self, value: QItemSelectionRange, from_: int = ...) -> int: ... + def indexOf(self, value: QItemSelectionRange, from_: int = ...) -> int: ... + def last(self) -> QItemSelectionRange: ... + def first(self) -> QItemSelectionRange: ... + def __len__(self) -> int: ... + @typing.overload + def count(self, range: QItemSelectionRange) -> int: ... + @typing.overload + def count(self) -> int: ... + def swap(self, i: int, j: int) -> None: ... + def move(self, from_: int, to: int) -> None: ... + def takeLast(self) -> QItemSelectionRange: ... + def takeFirst(self) -> QItemSelectionRange: ... + def takeAt(self, i: int) -> QItemSelectionRange: ... + def removeAll(self, range: QItemSelectionRange) -> int: ... + def removeAt(self, i: int) -> None: ... + def replace(self, i: int, range: QItemSelectionRange) -> None: ... + def insert(self, i: int, range: QItemSelectionRange) -> None: ... + def prepend(self, range: QItemSelectionRange) -> None: ... + def append(self, range: QItemSelectionRange) -> None: ... + def isEmpty(self) -> bool: ... + def clear(self) -> None: ... + @typing.overload + def __getitem__(self, i: int) -> QItemSelectionRange: ... + @typing.overload + def __getitem__(self, slice: slice) -> 'QItemSelection': ... + @typing.overload + def __delitem__(self, i: int) -> None: ... + @typing.overload + def __delitem__(self, slice: slice) -> None: ... + @typing.overload + def __setitem__(self, i: int, range: QItemSelectionRange) -> None: ... + @typing.overload + def __setitem__(self, slice: slice, list: 'QItemSelection') -> None: ... + @staticmethod + def split(range: QItemSelectionRange, other: QItemSelectionRange, result: 'QItemSelection') -> None: ... + def merge(self, other: 'QItemSelection', command: typing.Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) -> None: ... + def indexes(self) -> typing.List[QModelIndex]: ... + def __contains__(self, index: QModelIndex) -> int: ... + def contains(self, index: QModelIndex) -> bool: ... + def select(self, topLeft: QModelIndex, bottomRight: QModelIndex) -> None: ... + + +class QJsonParseError(sip.simplewrapper): + + class ParseError(int): + NoError = ... # type: QJsonParseError.ParseError + UnterminatedObject = ... # type: QJsonParseError.ParseError + MissingNameSeparator = ... # type: QJsonParseError.ParseError + UnterminatedArray = ... # type: QJsonParseError.ParseError + MissingValueSeparator = ... # type: QJsonParseError.ParseError + IllegalValue = ... # type: QJsonParseError.ParseError + TerminationByNumber = ... # type: QJsonParseError.ParseError + IllegalNumber = ... # type: QJsonParseError.ParseError + IllegalEscapeSequence = ... # type: QJsonParseError.ParseError + IllegalUTF8String = ... # type: QJsonParseError.ParseError + UnterminatedString = ... # type: QJsonParseError.ParseError + MissingObject = ... # type: QJsonParseError.ParseError + DeepNesting = ... # type: QJsonParseError.ParseError + DocumentTooLarge = ... # type: QJsonParseError.ParseError + GarbageAtEnd = ... # type: QJsonParseError.ParseError + + error = ... # type: 'QJsonParseError.ParseError' + offset = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QJsonParseError') -> None: ... + + def errorString(self) -> str: ... + + +class QJsonDocument(sip.simplewrapper): + + class JsonFormat(int): + Indented = ... # type: QJsonDocument.JsonFormat + Compact = ... # type: QJsonDocument.JsonFormat + + class DataValidation(int): + Validate = ... # type: QJsonDocument.DataValidation + BypassValidation = ... # type: QJsonDocument.DataValidation + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, object: typing.Dict[str, typing.Union['QJsonValue', 'QJsonValue.Type', typing.Iterable['QJsonValue'], bool, int, float, None, str]]) -> None: ... + @typing.overload + def __init__(self, array: typing.Iterable['QJsonValue']) -> None: ... + @typing.overload + def __init__(self, other: 'QJsonDocument') -> None: ... + + @typing.overload + def __getitem__(self, key: str) -> 'QJsonValue': ... + @typing.overload + def __getitem__(self, i: int) -> 'QJsonValue': ... + def swap(self, other: 'QJsonDocument') -> None: ... + def isNull(self) -> bool: ... + def setArray(self, array: typing.Iterable['QJsonValue']) -> None: ... + def setObject(self, object: typing.Dict[str, typing.Union['QJsonValue', 'QJsonValue.Type', typing.Iterable['QJsonValue'], bool, int, float, None, str]]) -> None: ... + def array(self) -> typing.List['QJsonValue']: ... + def object(self) -> typing.Dict[str, typing.Union['QJsonValue', 'QJsonValue.Type', typing.Iterable['QJsonValue'], bool, int, float, None, str]]: ... + def isObject(self) -> bool: ... + def isArray(self) -> bool: ... + def isEmpty(self) -> bool: ... + @typing.overload + def toJson(self) -> QByteArray: ... + @typing.overload + def toJson(self, format: 'QJsonDocument.JsonFormat') -> QByteArray: ... + @staticmethod + def fromJson(json: typing.Union[QByteArray, bytes, bytearray], error: typing.Optional[QJsonParseError] = ...) -> 'QJsonDocument': ... + def toVariant(self) -> typing.Any: ... + @staticmethod + def fromVariant(variant: typing.Any) -> 'QJsonDocument': ... + def toBinaryData(self) -> QByteArray: ... + @staticmethod + def fromBinaryData(data: typing.Union[QByteArray, bytes, bytearray], validation: 'QJsonDocument.DataValidation' = ...) -> 'QJsonDocument': ... + def rawData(self) -> typing.Tuple[bytes, int]: ... + @staticmethod + def fromRawData(data: bytes, size: int, validation: 'QJsonDocument.DataValidation' = ...) -> 'QJsonDocument': ... + + +class QJsonValue(sip.simplewrapper): + + class Type(int): + Null = ... # type: QJsonValue.Type + Bool = ... # type: QJsonValue.Type + Double = ... # type: QJsonValue.Type + String = ... # type: QJsonValue.Type + Array = ... # type: QJsonValue.Type + Object = ... # type: QJsonValue.Type + Undefined = ... # type: QJsonValue.Type + + @typing.overload + def __init__(self, type: 'QJsonValue.Type' = ...) -> None: ... + @typing.overload + def __init__(self, other: typing.Union['QJsonValue', 'QJsonValue.Type', typing.Iterable['QJsonValue'], bool, int, float, None, str]) -> None: ... + + def __hash__(self) -> int: ... + @typing.overload + def __getitem__(self, key: str) -> 'QJsonValue': ... + @typing.overload + def __getitem__(self, i: int) -> 'QJsonValue': ... + def swap(self, other: 'QJsonValue') -> None: ... + @typing.overload + def toString(self) -> str: ... + @typing.overload + def toString(self, defaultValue: str) -> str: ... + @typing.overload + def toObject(self) -> typing.Dict[str, typing.Union['QJsonValue', 'QJsonValue.Type', typing.Iterable['QJsonValue'], bool, int, float, None, str]]: ... + @typing.overload + def toObject(self, defaultValue: typing.Dict[str, typing.Union['QJsonValue', 'QJsonValue.Type', typing.Iterable['QJsonValue'], bool, int, float, None, str]]) -> typing.Dict[str, typing.Union['QJsonValue', 'QJsonValue.Type', typing.Iterable['QJsonValue'], bool, int, float, None, str]]: ... + @typing.overload + def toArray(self) -> typing.List['QJsonValue']: ... + @typing.overload + def toArray(self, defaultValue: typing.Iterable['QJsonValue']) -> typing.List['QJsonValue']: ... + def toDouble(self, defaultValue: float = ...) -> float: ... + def toInt(self, defaultValue: int = ...) -> int: ... + def toBool(self, defaultValue: bool = ...) -> bool: ... + def isUndefined(self) -> bool: ... + def isObject(self) -> bool: ... + def isArray(self) -> bool: ... + def isString(self) -> bool: ... + def isDouble(self) -> bool: ... + def isBool(self) -> bool: ... + def isNull(self) -> bool: ... + def type(self) -> 'QJsonValue.Type': ... + def toVariant(self) -> typing.Any: ... + @staticmethod + def fromVariant(variant: typing.Any) -> 'QJsonValue': ... + + +class QLibrary(QObject): + + class LoadHint(int): + ResolveAllSymbolsHint = ... # type: QLibrary.LoadHint + ExportExternalSymbolsHint = ... # type: QLibrary.LoadHint + LoadArchiveMemberHint = ... # type: QLibrary.LoadHint + PreventUnloadHint = ... # type: QLibrary.LoadHint + DeepBindHint = ... # type: QLibrary.LoadHint + + class LoadHints(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QLibrary.LoadHints', 'QLibrary.LoadHint']) -> None: ... + @typing.overload + def __init__(self, a0: 'QLibrary.LoadHints') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QLibrary.LoadHints': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, fileName: str, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, fileName: str, verNum: int, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, fileName: str, version: str, parent: typing.Optional[QObject] = ...) -> None: ... + + def setLoadHints(self, hints: typing.Union['QLibrary.LoadHints', 'QLibrary.LoadHint']) -> None: ... + @typing.overload + def setFileNameAndVersion(self, fileName: str, verNum: int) -> None: ... + @typing.overload + def setFileNameAndVersion(self, fileName: str, version: str) -> None: ... + def setFileName(self, fileName: str) -> None: ... + @staticmethod + def isLibrary(fileName: str) -> bool: ... + def unload(self) -> bool: ... + @typing.overload + def resolve(self, symbol: str) -> PyQt5.sip.voidptr: ... + @typing.overload + @staticmethod + def resolve(fileName: str, symbol: str) -> PyQt5.sip.voidptr: ... + @typing.overload + @staticmethod + def resolve(fileName: str, verNum: int, symbol: str) -> PyQt5.sip.voidptr: ... + @typing.overload + @staticmethod + def resolve(fileName: str, version: str, symbol: str) -> PyQt5.sip.voidptr: ... + def loadHints(self) -> 'QLibrary.LoadHints': ... + def load(self) -> bool: ... + def isLoaded(self) -> bool: ... + def fileName(self) -> str: ... + def errorString(self) -> str: ... + + +class QLibraryInfo(sip.simplewrapper): + + class LibraryLocation(int): + PrefixPath = ... # type: QLibraryInfo.LibraryLocation + DocumentationPath = ... # type: QLibraryInfo.LibraryLocation + HeadersPath = ... # type: QLibraryInfo.LibraryLocation + LibrariesPath = ... # type: QLibraryInfo.LibraryLocation + BinariesPath = ... # type: QLibraryInfo.LibraryLocation + PluginsPath = ... # type: QLibraryInfo.LibraryLocation + DataPath = ... # type: QLibraryInfo.LibraryLocation + TranslationsPath = ... # type: QLibraryInfo.LibraryLocation + SettingsPath = ... # type: QLibraryInfo.LibraryLocation + ExamplesPath = ... # type: QLibraryInfo.LibraryLocation + ImportsPath = ... # type: QLibraryInfo.LibraryLocation + TestsPath = ... # type: QLibraryInfo.LibraryLocation + LibraryExecutablesPath = ... # type: QLibraryInfo.LibraryLocation + Qml2ImportsPath = ... # type: QLibraryInfo.LibraryLocation + ArchDataPath = ... # type: QLibraryInfo.LibraryLocation + + def __init__(self, a0: 'QLibraryInfo') -> None: ... + + @staticmethod + def version() -> 'QVersionNumber': ... + @staticmethod + def isDebugBuild() -> bool: ... + @staticmethod + def buildDate() -> QDate: ... + @staticmethod + def location(a0: 'QLibraryInfo.LibraryLocation') -> str: ... + @staticmethod + def licensedProducts() -> str: ... + @staticmethod + def licensee() -> str: ... + + +class QLine(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pt1_: 'QPoint', pt2_: 'QPoint') -> None: ... + @typing.overload + def __init__(self, x1pos: int, y1pos: int, x2pos: int, y2pos: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QLine') -> None: ... + + def center(self) -> 'QPoint': ... + def setLine(self, aX1: int, aY1: int, aX2: int, aY2: int) -> None: ... + def setPoints(self, aP1: 'QPoint', aP2: 'QPoint') -> None: ... + def setP2(self, aP2: 'QPoint') -> None: ... + def setP1(self, aP1: 'QPoint') -> None: ... + @typing.overload + def translated(self, p: 'QPoint') -> 'QLine': ... + @typing.overload + def translated(self, adx: int, ady: int) -> 'QLine': ... + @typing.overload + def translate(self, point: 'QPoint') -> None: ... + @typing.overload + def translate(self, adx: int, ady: int) -> None: ... + def dy(self) -> int: ... + def dx(self) -> int: ... + def p2(self) -> 'QPoint': ... + def p1(self) -> 'QPoint': ... + def y2(self) -> int: ... + def x2(self) -> int: ... + def y1(self) -> int: ... + def x1(self) -> int: ... + def __bool__(self) -> int: ... + def isNull(self) -> bool: ... + def __repr__(self) -> str: ... + + +class QLineF(sip.simplewrapper): + + class IntersectType(int): + NoIntersection = ... # type: QLineF.IntersectType + BoundedIntersection = ... # type: QLineF.IntersectType + UnboundedIntersection = ... # type: QLineF.IntersectType + + @typing.overload + def __init__(self, line: QLine) -> None: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, apt1: typing.Union['QPointF', 'QPoint'], apt2: typing.Union['QPointF', 'QPoint']) -> None: ... + @typing.overload + def __init__(self, x1pos: float, y1pos: float, x2pos: float, y2pos: float) -> None: ... + @typing.overload + def __init__(self, a0: 'QLineF') -> None: ... + + def center(self) -> 'QPointF': ... + def setLine(self, aX1: float, aY1: float, aX2: float, aY2: float) -> None: ... + def setPoints(self, aP1: typing.Union['QPointF', 'QPoint'], aP2: typing.Union['QPointF', 'QPoint']) -> None: ... + def setP2(self, aP2: typing.Union['QPointF', 'QPoint']) -> None: ... + def setP1(self, aP1: typing.Union['QPointF', 'QPoint']) -> None: ... + @typing.overload + def translated(self, p: typing.Union['QPointF', 'QPoint']) -> 'QLineF': ... + @typing.overload + def translated(self, adx: float, ady: float) -> 'QLineF': ... + def angleTo(self, l: 'QLineF') -> float: ... + def setAngle(self, angle: float) -> None: ... + def angle(self) -> float: ... + @staticmethod + def fromPolar(length: float, angle: float) -> 'QLineF': ... + def toLine(self) -> QLine: ... + def pointAt(self, t: float) -> 'QPointF': ... + def setLength(self, len: float) -> None: ... + @typing.overload + def translate(self, point: typing.Union['QPointF', 'QPoint']) -> None: ... + @typing.overload + def translate(self, adx: float, ady: float) -> None: ... + def normalVector(self) -> 'QLineF': ... + def dy(self) -> float: ... + def dx(self) -> float: ... + def p2(self) -> 'QPointF': ... + def p1(self) -> 'QPointF': ... + def y2(self) -> float: ... + def x2(self) -> float: ... + def y1(self) -> float: ... + def x1(self) -> float: ... + def __repr__(self) -> str: ... + def intersects(self, l: 'QLineF') -> typing.Tuple['QLineF.IntersectType', 'QPointF']: ... + def intersect(self, l: 'QLineF', intersectionPoint: typing.Union['QPointF', 'QPoint']) -> 'QLineF.IntersectType': ... + def unitVector(self) -> 'QLineF': ... + def length(self) -> float: ... + def __bool__(self) -> int: ... + def isNull(self) -> bool: ... + + +class QLocale(sip.simplewrapper): + + class DataSizeFormat(int): + DataSizeIecFormat = ... # type: QLocale.DataSizeFormat + DataSizeTraditionalFormat = ... # type: QLocale.DataSizeFormat + DataSizeSIFormat = ... # type: QLocale.DataSizeFormat + + class FloatingPointPrecisionOption(int): + FloatingPointShortest = ... # type: QLocale.FloatingPointPrecisionOption + + class QuotationStyle(int): + StandardQuotation = ... # type: QLocale.QuotationStyle + AlternateQuotation = ... # type: QLocale.QuotationStyle + + class CurrencySymbolFormat(int): + CurrencyIsoCode = ... # type: QLocale.CurrencySymbolFormat + CurrencySymbol = ... # type: QLocale.CurrencySymbolFormat + CurrencyDisplayName = ... # type: QLocale.CurrencySymbolFormat + + class Script(int): + AnyScript = ... # type: QLocale.Script + ArabicScript = ... # type: QLocale.Script + CyrillicScript = ... # type: QLocale.Script + DeseretScript = ... # type: QLocale.Script + GurmukhiScript = ... # type: QLocale.Script + SimplifiedHanScript = ... # type: QLocale.Script + TraditionalHanScript = ... # type: QLocale.Script + LatinScript = ... # type: QLocale.Script + MongolianScript = ... # type: QLocale.Script + TifinaghScript = ... # type: QLocale.Script + SimplifiedChineseScript = ... # type: QLocale.Script + TraditionalChineseScript = ... # type: QLocale.Script + ArmenianScript = ... # type: QLocale.Script + BengaliScript = ... # type: QLocale.Script + CherokeeScript = ... # type: QLocale.Script + DevanagariScript = ... # type: QLocale.Script + EthiopicScript = ... # type: QLocale.Script + GeorgianScript = ... # type: QLocale.Script + GreekScript = ... # type: QLocale.Script + GujaratiScript = ... # type: QLocale.Script + HebrewScript = ... # type: QLocale.Script + JapaneseScript = ... # type: QLocale.Script + KhmerScript = ... # type: QLocale.Script + KannadaScript = ... # type: QLocale.Script + KoreanScript = ... # type: QLocale.Script + LaoScript = ... # type: QLocale.Script + MalayalamScript = ... # type: QLocale.Script + MyanmarScript = ... # type: QLocale.Script + OriyaScript = ... # type: QLocale.Script + TamilScript = ... # type: QLocale.Script + TeluguScript = ... # type: QLocale.Script + ThaanaScript = ... # type: QLocale.Script + ThaiScript = ... # type: QLocale.Script + TibetanScript = ... # type: QLocale.Script + SinhalaScript = ... # type: QLocale.Script + SyriacScript = ... # type: QLocale.Script + YiScript = ... # type: QLocale.Script + VaiScript = ... # type: QLocale.Script + AvestanScript = ... # type: QLocale.Script + BalineseScript = ... # type: QLocale.Script + BamumScript = ... # type: QLocale.Script + BatakScript = ... # type: QLocale.Script + BopomofoScript = ... # type: QLocale.Script + BrahmiScript = ... # type: QLocale.Script + BugineseScript = ... # type: QLocale.Script + BuhidScript = ... # type: QLocale.Script + CanadianAboriginalScript = ... # type: QLocale.Script + CarianScript = ... # type: QLocale.Script + ChakmaScript = ... # type: QLocale.Script + ChamScript = ... # type: QLocale.Script + CopticScript = ... # type: QLocale.Script + CypriotScript = ... # type: QLocale.Script + EgyptianHieroglyphsScript = ... # type: QLocale.Script + FraserScript = ... # type: QLocale.Script + GlagoliticScript = ... # type: QLocale.Script + GothicScript = ... # type: QLocale.Script + HanScript = ... # type: QLocale.Script + HangulScript = ... # type: QLocale.Script + HanunooScript = ... # type: QLocale.Script + ImperialAramaicScript = ... # type: QLocale.Script + InscriptionalPahlaviScript = ... # type: QLocale.Script + InscriptionalParthianScript = ... # type: QLocale.Script + JavaneseScript = ... # type: QLocale.Script + KaithiScript = ... # type: QLocale.Script + KatakanaScript = ... # type: QLocale.Script + KayahLiScript = ... # type: QLocale.Script + KharoshthiScript = ... # type: QLocale.Script + LannaScript = ... # type: QLocale.Script + LepchaScript = ... # type: QLocale.Script + LimbuScript = ... # type: QLocale.Script + LinearBScript = ... # type: QLocale.Script + LycianScript = ... # type: QLocale.Script + LydianScript = ... # type: QLocale.Script + MandaeanScript = ... # type: QLocale.Script + MeiteiMayekScript = ... # type: QLocale.Script + MeroiticScript = ... # type: QLocale.Script + MeroiticCursiveScript = ... # type: QLocale.Script + NkoScript = ... # type: QLocale.Script + NewTaiLueScript = ... # type: QLocale.Script + OghamScript = ... # type: QLocale.Script + OlChikiScript = ... # type: QLocale.Script + OldItalicScript = ... # type: QLocale.Script + OldPersianScript = ... # type: QLocale.Script + OldSouthArabianScript = ... # type: QLocale.Script + OrkhonScript = ... # type: QLocale.Script + OsmanyaScript = ... # type: QLocale.Script + PhagsPaScript = ... # type: QLocale.Script + PhoenicianScript = ... # type: QLocale.Script + PollardPhoneticScript = ... # type: QLocale.Script + RejangScript = ... # type: QLocale.Script + RunicScript = ... # type: QLocale.Script + SamaritanScript = ... # type: QLocale.Script + SaurashtraScript = ... # type: QLocale.Script + SharadaScript = ... # type: QLocale.Script + ShavianScript = ... # type: QLocale.Script + SoraSompengScript = ... # type: QLocale.Script + CuneiformScript = ... # type: QLocale.Script + SundaneseScript = ... # type: QLocale.Script + SylotiNagriScript = ... # type: QLocale.Script + TagalogScript = ... # type: QLocale.Script + TagbanwaScript = ... # type: QLocale.Script + TaiLeScript = ... # type: QLocale.Script + TaiVietScript = ... # type: QLocale.Script + TakriScript = ... # type: QLocale.Script + UgariticScript = ... # type: QLocale.Script + BrailleScript = ... # type: QLocale.Script + HiraganaScript = ... # type: QLocale.Script + CaucasianAlbanianScript = ... # type: QLocale.Script + BassaVahScript = ... # type: QLocale.Script + DuployanScript = ... # type: QLocale.Script + ElbasanScript = ... # type: QLocale.Script + GranthaScript = ... # type: QLocale.Script + PahawhHmongScript = ... # type: QLocale.Script + KhojkiScript = ... # type: QLocale.Script + LinearAScript = ... # type: QLocale.Script + MahajaniScript = ... # type: QLocale.Script + ManichaeanScript = ... # type: QLocale.Script + MendeKikakuiScript = ... # type: QLocale.Script + ModiScript = ... # type: QLocale.Script + MroScript = ... # type: QLocale.Script + OldNorthArabianScript = ... # type: QLocale.Script + NabataeanScript = ... # type: QLocale.Script + PalmyreneScript = ... # type: QLocale.Script + PauCinHauScript = ... # type: QLocale.Script + OldPermicScript = ... # type: QLocale.Script + PsalterPahlaviScript = ... # type: QLocale.Script + SiddhamScript = ... # type: QLocale.Script + KhudawadiScript = ... # type: QLocale.Script + TirhutaScript = ... # type: QLocale.Script + VarangKshitiScript = ... # type: QLocale.Script + AhomScript = ... # type: QLocale.Script + AnatolianHieroglyphsScript = ... # type: QLocale.Script + HatranScript = ... # type: QLocale.Script + MultaniScript = ... # type: QLocale.Script + OldHungarianScript = ... # type: QLocale.Script + SignWritingScript = ... # type: QLocale.Script + AdlamScript = ... # type: QLocale.Script + BhaiksukiScript = ... # type: QLocale.Script + MarchenScript = ... # type: QLocale.Script + NewaScript = ... # type: QLocale.Script + OsageScript = ... # type: QLocale.Script + TangutScript = ... # type: QLocale.Script + HanWithBopomofoScript = ... # type: QLocale.Script + JamoScript = ... # type: QLocale.Script + + class MeasurementSystem(int): + MetricSystem = ... # type: QLocale.MeasurementSystem + ImperialSystem = ... # type: QLocale.MeasurementSystem + ImperialUSSystem = ... # type: QLocale.MeasurementSystem + ImperialUKSystem = ... # type: QLocale.MeasurementSystem + + class FormatType(int): + LongFormat = ... # type: QLocale.FormatType + ShortFormat = ... # type: QLocale.FormatType + NarrowFormat = ... # type: QLocale.FormatType + + class NumberOption(int): + OmitGroupSeparator = ... # type: QLocale.NumberOption + RejectGroupSeparator = ... # type: QLocale.NumberOption + DefaultNumberOptions = ... # type: QLocale.NumberOption + OmitLeadingZeroInExponent = ... # type: QLocale.NumberOption + RejectLeadingZeroInExponent = ... # type: QLocale.NumberOption + IncludeTrailingZeroesAfterDot = ... # type: QLocale.NumberOption + RejectTrailingZeroesAfterDot = ... # type: QLocale.NumberOption + + class Country(int): + AnyCountry = ... # type: QLocale.Country + Afghanistan = ... # type: QLocale.Country + Albania = ... # type: QLocale.Country + Algeria = ... # type: QLocale.Country + AmericanSamoa = ... # type: QLocale.Country + Andorra = ... # type: QLocale.Country + Angola = ... # type: QLocale.Country + Anguilla = ... # type: QLocale.Country + Antarctica = ... # type: QLocale.Country + AntiguaAndBarbuda = ... # type: QLocale.Country + Argentina = ... # type: QLocale.Country + Armenia = ... # type: QLocale.Country + Aruba = ... # type: QLocale.Country + Australia = ... # type: QLocale.Country + Austria = ... # type: QLocale.Country + Azerbaijan = ... # type: QLocale.Country + Bahamas = ... # type: QLocale.Country + Bahrain = ... # type: QLocale.Country + Bangladesh = ... # type: QLocale.Country + Barbados = ... # type: QLocale.Country + Belarus = ... # type: QLocale.Country + Belgium = ... # type: QLocale.Country + Belize = ... # type: QLocale.Country + Benin = ... # type: QLocale.Country + Bermuda = ... # type: QLocale.Country + Bhutan = ... # type: QLocale.Country + Bolivia = ... # type: QLocale.Country + BosniaAndHerzegowina = ... # type: QLocale.Country + Botswana = ... # type: QLocale.Country + BouvetIsland = ... # type: QLocale.Country + Brazil = ... # type: QLocale.Country + BritishIndianOceanTerritory = ... # type: QLocale.Country + Bulgaria = ... # type: QLocale.Country + BurkinaFaso = ... # type: QLocale.Country + Burundi = ... # type: QLocale.Country + Cambodia = ... # type: QLocale.Country + Cameroon = ... # type: QLocale.Country + Canada = ... # type: QLocale.Country + CapeVerde = ... # type: QLocale.Country + CaymanIslands = ... # type: QLocale.Country + CentralAfricanRepublic = ... # type: QLocale.Country + Chad = ... # type: QLocale.Country + Chile = ... # type: QLocale.Country + China = ... # type: QLocale.Country + ChristmasIsland = ... # type: QLocale.Country + CocosIslands = ... # type: QLocale.Country + Colombia = ... # type: QLocale.Country + Comoros = ... # type: QLocale.Country + DemocraticRepublicOfCongo = ... # type: QLocale.Country + PeoplesRepublicOfCongo = ... # type: QLocale.Country + CookIslands = ... # type: QLocale.Country + CostaRica = ... # type: QLocale.Country + IvoryCoast = ... # type: QLocale.Country + Croatia = ... # type: QLocale.Country + Cuba = ... # type: QLocale.Country + Cyprus = ... # type: QLocale.Country + CzechRepublic = ... # type: QLocale.Country + Denmark = ... # type: QLocale.Country + Djibouti = ... # type: QLocale.Country + Dominica = ... # type: QLocale.Country + DominicanRepublic = ... # type: QLocale.Country + EastTimor = ... # type: QLocale.Country + Ecuador = ... # type: QLocale.Country + Egypt = ... # type: QLocale.Country + ElSalvador = ... # type: QLocale.Country + EquatorialGuinea = ... # type: QLocale.Country + Eritrea = ... # type: QLocale.Country + Estonia = ... # type: QLocale.Country + Ethiopia = ... # type: QLocale.Country + FalklandIslands = ... # type: QLocale.Country + FaroeIslands = ... # type: QLocale.Country + Finland = ... # type: QLocale.Country + France = ... # type: QLocale.Country + FrenchGuiana = ... # type: QLocale.Country + FrenchPolynesia = ... # type: QLocale.Country + FrenchSouthernTerritories = ... # type: QLocale.Country + Gabon = ... # type: QLocale.Country + Gambia = ... # type: QLocale.Country + Georgia = ... # type: QLocale.Country + Germany = ... # type: QLocale.Country + Ghana = ... # type: QLocale.Country + Gibraltar = ... # type: QLocale.Country + Greece = ... # type: QLocale.Country + Greenland = ... # type: QLocale.Country + Grenada = ... # type: QLocale.Country + Guadeloupe = ... # type: QLocale.Country + Guam = ... # type: QLocale.Country + Guatemala = ... # type: QLocale.Country + Guinea = ... # type: QLocale.Country + GuineaBissau = ... # type: QLocale.Country + Guyana = ... # type: QLocale.Country + Haiti = ... # type: QLocale.Country + HeardAndMcDonaldIslands = ... # type: QLocale.Country + Honduras = ... # type: QLocale.Country + HongKong = ... # type: QLocale.Country + Hungary = ... # type: QLocale.Country + Iceland = ... # type: QLocale.Country + India = ... # type: QLocale.Country + Indonesia = ... # type: QLocale.Country + Iran = ... # type: QLocale.Country + Iraq = ... # type: QLocale.Country + Ireland = ... # type: QLocale.Country + Israel = ... # type: QLocale.Country + Italy = ... # type: QLocale.Country + Jamaica = ... # type: QLocale.Country + Japan = ... # type: QLocale.Country + Jordan = ... # type: QLocale.Country + Kazakhstan = ... # type: QLocale.Country + Kenya = ... # type: QLocale.Country + Kiribati = ... # type: QLocale.Country + DemocraticRepublicOfKorea = ... # type: QLocale.Country + RepublicOfKorea = ... # type: QLocale.Country + Kuwait = ... # type: QLocale.Country + Kyrgyzstan = ... # type: QLocale.Country + Latvia = ... # type: QLocale.Country + Lebanon = ... # type: QLocale.Country + Lesotho = ... # type: QLocale.Country + Liberia = ... # type: QLocale.Country + Liechtenstein = ... # type: QLocale.Country + Lithuania = ... # type: QLocale.Country + Luxembourg = ... # type: QLocale.Country + Macau = ... # type: QLocale.Country + Macedonia = ... # type: QLocale.Country + Madagascar = ... # type: QLocale.Country + Malawi = ... # type: QLocale.Country + Malaysia = ... # type: QLocale.Country + Maldives = ... # type: QLocale.Country + Mali = ... # type: QLocale.Country + Malta = ... # type: QLocale.Country + MarshallIslands = ... # type: QLocale.Country + Martinique = ... # type: QLocale.Country + Mauritania = ... # type: QLocale.Country + Mauritius = ... # type: QLocale.Country + Mayotte = ... # type: QLocale.Country + Mexico = ... # type: QLocale.Country + Micronesia = ... # type: QLocale.Country + Moldova = ... # type: QLocale.Country + Monaco = ... # type: QLocale.Country + Mongolia = ... # type: QLocale.Country + Montserrat = ... # type: QLocale.Country + Morocco = ... # type: QLocale.Country + Mozambique = ... # type: QLocale.Country + Myanmar = ... # type: QLocale.Country + Namibia = ... # type: QLocale.Country + NauruCountry = ... # type: QLocale.Country + Nepal = ... # type: QLocale.Country + Netherlands = ... # type: QLocale.Country + NewCaledonia = ... # type: QLocale.Country + NewZealand = ... # type: QLocale.Country + Nicaragua = ... # type: QLocale.Country + Niger = ... # type: QLocale.Country + Nigeria = ... # type: QLocale.Country + Niue = ... # type: QLocale.Country + NorfolkIsland = ... # type: QLocale.Country + NorthernMarianaIslands = ... # type: QLocale.Country + Norway = ... # type: QLocale.Country + Oman = ... # type: QLocale.Country + Pakistan = ... # type: QLocale.Country + Palau = ... # type: QLocale.Country + Panama = ... # type: QLocale.Country + PapuaNewGuinea = ... # type: QLocale.Country + Paraguay = ... # type: QLocale.Country + Peru = ... # type: QLocale.Country + Philippines = ... # type: QLocale.Country + Pitcairn = ... # type: QLocale.Country + Poland = ... # type: QLocale.Country + Portugal = ... # type: QLocale.Country + PuertoRico = ... # type: QLocale.Country + Qatar = ... # type: QLocale.Country + Reunion = ... # type: QLocale.Country + Romania = ... # type: QLocale.Country + RussianFederation = ... # type: QLocale.Country + Rwanda = ... # type: QLocale.Country + SaintKittsAndNevis = ... # type: QLocale.Country + Samoa = ... # type: QLocale.Country + SanMarino = ... # type: QLocale.Country + SaoTomeAndPrincipe = ... # type: QLocale.Country + SaudiArabia = ... # type: QLocale.Country + Senegal = ... # type: QLocale.Country + Seychelles = ... # type: QLocale.Country + SierraLeone = ... # type: QLocale.Country + Singapore = ... # type: QLocale.Country + Slovakia = ... # type: QLocale.Country + Slovenia = ... # type: QLocale.Country + SolomonIslands = ... # type: QLocale.Country + Somalia = ... # type: QLocale.Country + SouthAfrica = ... # type: QLocale.Country + SouthGeorgiaAndTheSouthSandwichIslands = ... # type: QLocale.Country + Spain = ... # type: QLocale.Country + SriLanka = ... # type: QLocale.Country + Sudan = ... # type: QLocale.Country + Suriname = ... # type: QLocale.Country + SvalbardAndJanMayenIslands = ... # type: QLocale.Country + Swaziland = ... # type: QLocale.Country + Sweden = ... # type: QLocale.Country + Switzerland = ... # type: QLocale.Country + SyrianArabRepublic = ... # type: QLocale.Country + Taiwan = ... # type: QLocale.Country + Tajikistan = ... # type: QLocale.Country + Tanzania = ... # type: QLocale.Country + Thailand = ... # type: QLocale.Country + Togo = ... # type: QLocale.Country + Tokelau = ... # type: QLocale.Country + TrinidadAndTobago = ... # type: QLocale.Country + Tunisia = ... # type: QLocale.Country + Turkey = ... # type: QLocale.Country + Turkmenistan = ... # type: QLocale.Country + TurksAndCaicosIslands = ... # type: QLocale.Country + Tuvalu = ... # type: QLocale.Country + Uganda = ... # type: QLocale.Country + Ukraine = ... # type: QLocale.Country + UnitedArabEmirates = ... # type: QLocale.Country + UnitedKingdom = ... # type: QLocale.Country + UnitedStates = ... # type: QLocale.Country + UnitedStatesMinorOutlyingIslands = ... # type: QLocale.Country + Uruguay = ... # type: QLocale.Country + Uzbekistan = ... # type: QLocale.Country + Vanuatu = ... # type: QLocale.Country + VaticanCityState = ... # type: QLocale.Country + Venezuela = ... # type: QLocale.Country + BritishVirginIslands = ... # type: QLocale.Country + WallisAndFutunaIslands = ... # type: QLocale.Country + WesternSahara = ... # type: QLocale.Country + Yemen = ... # type: QLocale.Country + Zambia = ... # type: QLocale.Country + Zimbabwe = ... # type: QLocale.Country + Montenegro = ... # type: QLocale.Country + Serbia = ... # type: QLocale.Country + SaintBarthelemy = ... # type: QLocale.Country + SaintMartin = ... # type: QLocale.Country + LatinAmericaAndTheCaribbean = ... # type: QLocale.Country + LastCountry = ... # type: QLocale.Country + Brunei = ... # type: QLocale.Country + CongoKinshasa = ... # type: QLocale.Country + CongoBrazzaville = ... # type: QLocale.Country + Fiji = ... # type: QLocale.Country + Guernsey = ... # type: QLocale.Country + NorthKorea = ... # type: QLocale.Country + SouthKorea = ... # type: QLocale.Country + Laos = ... # type: QLocale.Country + Libya = ... # type: QLocale.Country + CuraSao = ... # type: QLocale.Country + PalestinianTerritories = ... # type: QLocale.Country + Russia = ... # type: QLocale.Country + SaintLucia = ... # type: QLocale.Country + SaintVincentAndTheGrenadines = ... # type: QLocale.Country + SaintHelena = ... # type: QLocale.Country + SaintPierreAndMiquelon = ... # type: QLocale.Country + Syria = ... # type: QLocale.Country + Tonga = ... # type: QLocale.Country + Vietnam = ... # type: QLocale.Country + UnitedStatesVirginIslands = ... # type: QLocale.Country + CanaryIslands = ... # type: QLocale.Country + ClippertonIsland = ... # type: QLocale.Country + AscensionIsland = ... # type: QLocale.Country + AlandIslands = ... # type: QLocale.Country + DiegoGarcia = ... # type: QLocale.Country + CeutaAndMelilla = ... # type: QLocale.Country + IsleOfMan = ... # type: QLocale.Country + Jersey = ... # type: QLocale.Country + TristanDaCunha = ... # type: QLocale.Country + SouthSudan = ... # type: QLocale.Country + Bonaire = ... # type: QLocale.Country + SintMaarten = ... # type: QLocale.Country + Kosovo = ... # type: QLocale.Country + TokelauCountry = ... # type: QLocale.Country + TuvaluCountry = ... # type: QLocale.Country + EuropeanUnion = ... # type: QLocale.Country + OutlyingOceania = ... # type: QLocale.Country + LatinAmerica = ... # type: QLocale.Country + World = ... # type: QLocale.Country + Europe = ... # type: QLocale.Country + + class Language(int): + C = ... # type: QLocale.Language + Abkhazian = ... # type: QLocale.Language + Afan = ... # type: QLocale.Language + Afar = ... # type: QLocale.Language + Afrikaans = ... # type: QLocale.Language + Albanian = ... # type: QLocale.Language + Amharic = ... # type: QLocale.Language + Arabic = ... # type: QLocale.Language + Armenian = ... # type: QLocale.Language + Assamese = ... # type: QLocale.Language + Aymara = ... # type: QLocale.Language + Azerbaijani = ... # type: QLocale.Language + Bashkir = ... # type: QLocale.Language + Basque = ... # type: QLocale.Language + Bengali = ... # type: QLocale.Language + Bhutani = ... # type: QLocale.Language + Bihari = ... # type: QLocale.Language + Bislama = ... # type: QLocale.Language + Breton = ... # type: QLocale.Language + Bulgarian = ... # type: QLocale.Language + Burmese = ... # type: QLocale.Language + Byelorussian = ... # type: QLocale.Language + Cambodian = ... # type: QLocale.Language + Catalan = ... # type: QLocale.Language + Chinese = ... # type: QLocale.Language + Corsican = ... # type: QLocale.Language + Croatian = ... # type: QLocale.Language + Czech = ... # type: QLocale.Language + Danish = ... # type: QLocale.Language + Dutch = ... # type: QLocale.Language + English = ... # type: QLocale.Language + Esperanto = ... # type: QLocale.Language + Estonian = ... # type: QLocale.Language + Faroese = ... # type: QLocale.Language + Finnish = ... # type: QLocale.Language + French = ... # type: QLocale.Language + Frisian = ... # type: QLocale.Language + Gaelic = ... # type: QLocale.Language + Galician = ... # type: QLocale.Language + Georgian = ... # type: QLocale.Language + German = ... # type: QLocale.Language + Greek = ... # type: QLocale.Language + Greenlandic = ... # type: QLocale.Language + Guarani = ... # type: QLocale.Language + Gujarati = ... # type: QLocale.Language + Hausa = ... # type: QLocale.Language + Hebrew = ... # type: QLocale.Language + Hindi = ... # type: QLocale.Language + Hungarian = ... # type: QLocale.Language + Icelandic = ... # type: QLocale.Language + Indonesian = ... # type: QLocale.Language + Interlingua = ... # type: QLocale.Language + Interlingue = ... # type: QLocale.Language + Inuktitut = ... # type: QLocale.Language + Inupiak = ... # type: QLocale.Language + Irish = ... # type: QLocale.Language + Italian = ... # type: QLocale.Language + Japanese = ... # type: QLocale.Language + Javanese = ... # type: QLocale.Language + Kannada = ... # type: QLocale.Language + Kashmiri = ... # type: QLocale.Language + Kazakh = ... # type: QLocale.Language + Kinyarwanda = ... # type: QLocale.Language + Kirghiz = ... # type: QLocale.Language + Korean = ... # type: QLocale.Language + Kurdish = ... # type: QLocale.Language + Kurundi = ... # type: QLocale.Language + Latin = ... # type: QLocale.Language + Latvian = ... # type: QLocale.Language + Lingala = ... # type: QLocale.Language + Lithuanian = ... # type: QLocale.Language + Macedonian = ... # type: QLocale.Language + Malagasy = ... # type: QLocale.Language + Malay = ... # type: QLocale.Language + Malayalam = ... # type: QLocale.Language + Maltese = ... # type: QLocale.Language + Maori = ... # type: QLocale.Language + Marathi = ... # type: QLocale.Language + Moldavian = ... # type: QLocale.Language + Mongolian = ... # type: QLocale.Language + NauruLanguage = ... # type: QLocale.Language + Nepali = ... # type: QLocale.Language + Norwegian = ... # type: QLocale.Language + Occitan = ... # type: QLocale.Language + Oriya = ... # type: QLocale.Language + Pashto = ... # type: QLocale.Language + Persian = ... # type: QLocale.Language + Polish = ... # type: QLocale.Language + Portuguese = ... # type: QLocale.Language + Punjabi = ... # type: QLocale.Language + Quechua = ... # type: QLocale.Language + RhaetoRomance = ... # type: QLocale.Language + Romanian = ... # type: QLocale.Language + Russian = ... # type: QLocale.Language + Samoan = ... # type: QLocale.Language + Sanskrit = ... # type: QLocale.Language + Serbian = ... # type: QLocale.Language + SerboCroatian = ... # type: QLocale.Language + Shona = ... # type: QLocale.Language + Sindhi = ... # type: QLocale.Language + Slovak = ... # type: QLocale.Language + Slovenian = ... # type: QLocale.Language + Somali = ... # type: QLocale.Language + Spanish = ... # type: QLocale.Language + Sundanese = ... # type: QLocale.Language + Swahili = ... # type: QLocale.Language + Swedish = ... # type: QLocale.Language + Tagalog = ... # type: QLocale.Language + Tajik = ... # type: QLocale.Language + Tamil = ... # type: QLocale.Language + Tatar = ... # type: QLocale.Language + Telugu = ... # type: QLocale.Language + Thai = ... # type: QLocale.Language + Tibetan = ... # type: QLocale.Language + Tigrinya = ... # type: QLocale.Language + Tsonga = ... # type: QLocale.Language + Turkish = ... # type: QLocale.Language + Turkmen = ... # type: QLocale.Language + Twi = ... # type: QLocale.Language + Uigur = ... # type: QLocale.Language + Ukrainian = ... # type: QLocale.Language + Urdu = ... # type: QLocale.Language + Uzbek = ... # type: QLocale.Language + Vietnamese = ... # type: QLocale.Language + Volapuk = ... # type: QLocale.Language + Welsh = ... # type: QLocale.Language + Wolof = ... # type: QLocale.Language + Xhosa = ... # type: QLocale.Language + Yiddish = ... # type: QLocale.Language + Yoruba = ... # type: QLocale.Language + Zhuang = ... # type: QLocale.Language + Zulu = ... # type: QLocale.Language + Bosnian = ... # type: QLocale.Language + Divehi = ... # type: QLocale.Language + Manx = ... # type: QLocale.Language + Cornish = ... # type: QLocale.Language + LastLanguage = ... # type: QLocale.Language + NorwegianBokmal = ... # type: QLocale.Language + NorwegianNynorsk = ... # type: QLocale.Language + Akan = ... # type: QLocale.Language + Konkani = ... # type: QLocale.Language + Ga = ... # type: QLocale.Language + Igbo = ... # type: QLocale.Language + Kamba = ... # type: QLocale.Language + Syriac = ... # type: QLocale.Language + Blin = ... # type: QLocale.Language + Geez = ... # type: QLocale.Language + Koro = ... # type: QLocale.Language + Sidamo = ... # type: QLocale.Language + Atsam = ... # type: QLocale.Language + Tigre = ... # type: QLocale.Language + Jju = ... # type: QLocale.Language + Friulian = ... # type: QLocale.Language + Venda = ... # type: QLocale.Language + Ewe = ... # type: QLocale.Language + Walamo = ... # type: QLocale.Language + Hawaiian = ... # type: QLocale.Language + Tyap = ... # type: QLocale.Language + Chewa = ... # type: QLocale.Language + Filipino = ... # type: QLocale.Language + SwissGerman = ... # type: QLocale.Language + SichuanYi = ... # type: QLocale.Language + Kpelle = ... # type: QLocale.Language + LowGerman = ... # type: QLocale.Language + SouthNdebele = ... # type: QLocale.Language + NorthernSotho = ... # type: QLocale.Language + NorthernSami = ... # type: QLocale.Language + Taroko = ... # type: QLocale.Language + Gusii = ... # type: QLocale.Language + Taita = ... # type: QLocale.Language + Fulah = ... # type: QLocale.Language + Kikuyu = ... # type: QLocale.Language + Samburu = ... # type: QLocale.Language + Sena = ... # type: QLocale.Language + NorthNdebele = ... # type: QLocale.Language + Rombo = ... # type: QLocale.Language + Tachelhit = ... # type: QLocale.Language + Kabyle = ... # type: QLocale.Language + Nyankole = ... # type: QLocale.Language + Bena = ... # type: QLocale.Language + Vunjo = ... # type: QLocale.Language + Bambara = ... # type: QLocale.Language + Embu = ... # type: QLocale.Language + Cherokee = ... # type: QLocale.Language + Morisyen = ... # type: QLocale.Language + Makonde = ... # type: QLocale.Language + Langi = ... # type: QLocale.Language + Ganda = ... # type: QLocale.Language + Bemba = ... # type: QLocale.Language + Kabuverdianu = ... # type: QLocale.Language + Meru = ... # type: QLocale.Language + Kalenjin = ... # type: QLocale.Language + Nama = ... # type: QLocale.Language + Machame = ... # type: QLocale.Language + Colognian = ... # type: QLocale.Language + Masai = ... # type: QLocale.Language + Soga = ... # type: QLocale.Language + Luyia = ... # type: QLocale.Language + Asu = ... # type: QLocale.Language + Teso = ... # type: QLocale.Language + Saho = ... # type: QLocale.Language + KoyraChiini = ... # type: QLocale.Language + Rwa = ... # type: QLocale.Language + Luo = ... # type: QLocale.Language + Chiga = ... # type: QLocale.Language + CentralMoroccoTamazight = ... # type: QLocale.Language + KoyraboroSenni = ... # type: QLocale.Language + Shambala = ... # type: QLocale.Language + AnyLanguage = ... # type: QLocale.Language + Rundi = ... # type: QLocale.Language + Bodo = ... # type: QLocale.Language + Aghem = ... # type: QLocale.Language + Basaa = ... # type: QLocale.Language + Zarma = ... # type: QLocale.Language + Duala = ... # type: QLocale.Language + JolaFonyi = ... # type: QLocale.Language + Ewondo = ... # type: QLocale.Language + Bafia = ... # type: QLocale.Language + LubaKatanga = ... # type: QLocale.Language + MakhuwaMeetto = ... # type: QLocale.Language + Mundang = ... # type: QLocale.Language + Kwasio = ... # type: QLocale.Language + Nuer = ... # type: QLocale.Language + Sakha = ... # type: QLocale.Language + Sangu = ... # type: QLocale.Language + CongoSwahili = ... # type: QLocale.Language + Tasawaq = ... # type: QLocale.Language + Vai = ... # type: QLocale.Language + Walser = ... # type: QLocale.Language + Yangben = ... # type: QLocale.Language + Oromo = ... # type: QLocale.Language + Dzongkha = ... # type: QLocale.Language + Belarusian = ... # type: QLocale.Language + Khmer = ... # type: QLocale.Language + Fijian = ... # type: QLocale.Language + WesternFrisian = ... # type: QLocale.Language + Lao = ... # type: QLocale.Language + Marshallese = ... # type: QLocale.Language + Romansh = ... # type: QLocale.Language + Sango = ... # type: QLocale.Language + Ossetic = ... # type: QLocale.Language + SouthernSotho = ... # type: QLocale.Language + Tswana = ... # type: QLocale.Language + Sinhala = ... # type: QLocale.Language + Swati = ... # type: QLocale.Language + Sardinian = ... # type: QLocale.Language + Tongan = ... # type: QLocale.Language + Tahitian = ... # type: QLocale.Language + Nyanja = ... # type: QLocale.Language + Avaric = ... # type: QLocale.Language + Chamorro = ... # type: QLocale.Language + Chechen = ... # type: QLocale.Language + Church = ... # type: QLocale.Language + Chuvash = ... # type: QLocale.Language + Cree = ... # type: QLocale.Language + Haitian = ... # type: QLocale.Language + Herero = ... # type: QLocale.Language + HiriMotu = ... # type: QLocale.Language + Kanuri = ... # type: QLocale.Language + Komi = ... # type: QLocale.Language + Kongo = ... # type: QLocale.Language + Kwanyama = ... # type: QLocale.Language + Limburgish = ... # type: QLocale.Language + Luxembourgish = ... # type: QLocale.Language + Navaho = ... # type: QLocale.Language + Ndonga = ... # type: QLocale.Language + Ojibwa = ... # type: QLocale.Language + Pali = ... # type: QLocale.Language + Walloon = ... # type: QLocale.Language + Avestan = ... # type: QLocale.Language + Asturian = ... # type: QLocale.Language + Ngomba = ... # type: QLocale.Language + Kako = ... # type: QLocale.Language + Meta = ... # type: QLocale.Language + Ngiemboon = ... # type: QLocale.Language + Uighur = ... # type: QLocale.Language + Aragonese = ... # type: QLocale.Language + Akkadian = ... # type: QLocale.Language + AncientEgyptian = ... # type: QLocale.Language + AncientGreek = ... # type: QLocale.Language + Aramaic = ... # type: QLocale.Language + Balinese = ... # type: QLocale.Language + Bamun = ... # type: QLocale.Language + BatakToba = ... # type: QLocale.Language + Buginese = ... # type: QLocale.Language + Buhid = ... # type: QLocale.Language + Carian = ... # type: QLocale.Language + Chakma = ... # type: QLocale.Language + ClassicalMandaic = ... # type: QLocale.Language + Coptic = ... # type: QLocale.Language + Dogri = ... # type: QLocale.Language + EasternCham = ... # type: QLocale.Language + EasternKayah = ... # type: QLocale.Language + Etruscan = ... # type: QLocale.Language + Gothic = ... # type: QLocale.Language + Hanunoo = ... # type: QLocale.Language + Ingush = ... # type: QLocale.Language + LargeFloweryMiao = ... # type: QLocale.Language + Lepcha = ... # type: QLocale.Language + Limbu = ... # type: QLocale.Language + Lisu = ... # type: QLocale.Language + Lu = ... # type: QLocale.Language + Lycian = ... # type: QLocale.Language + Lydian = ... # type: QLocale.Language + Mandingo = ... # type: QLocale.Language + Manipuri = ... # type: QLocale.Language + Meroitic = ... # type: QLocale.Language + NorthernThai = ... # type: QLocale.Language + OldIrish = ... # type: QLocale.Language + OldNorse = ... # type: QLocale.Language + OldPersian = ... # type: QLocale.Language + OldTurkish = ... # type: QLocale.Language + Pahlavi = ... # type: QLocale.Language + Parthian = ... # type: QLocale.Language + Phoenician = ... # type: QLocale.Language + PrakritLanguage = ... # type: QLocale.Language + Rejang = ... # type: QLocale.Language + Sabaean = ... # type: QLocale.Language + Samaritan = ... # type: QLocale.Language + Santali = ... # type: QLocale.Language + Saurashtra = ... # type: QLocale.Language + Sora = ... # type: QLocale.Language + Sylheti = ... # type: QLocale.Language + Tagbanwa = ... # type: QLocale.Language + TaiDam = ... # type: QLocale.Language + TaiNua = ... # type: QLocale.Language + Ugaritic = ... # type: QLocale.Language + Akoose = ... # type: QLocale.Language + Lakota = ... # type: QLocale.Language + StandardMoroccanTamazight = ... # type: QLocale.Language + Mapuche = ... # type: QLocale.Language + CentralKurdish = ... # type: QLocale.Language + LowerSorbian = ... # type: QLocale.Language + UpperSorbian = ... # type: QLocale.Language + Kenyang = ... # type: QLocale.Language + Mohawk = ... # type: QLocale.Language + Nko = ... # type: QLocale.Language + Prussian = ... # type: QLocale.Language + Kiche = ... # type: QLocale.Language + SouthernSami = ... # type: QLocale.Language + LuleSami = ... # type: QLocale.Language + InariSami = ... # type: QLocale.Language + SkoltSami = ... # type: QLocale.Language + Warlpiri = ... # type: QLocale.Language + ManichaeanMiddlePersian = ... # type: QLocale.Language + Mende = ... # type: QLocale.Language + AncientNorthArabian = ... # type: QLocale.Language + LinearA = ... # type: QLocale.Language + HmongNjua = ... # type: QLocale.Language + Ho = ... # type: QLocale.Language + Lezghian = ... # type: QLocale.Language + Bassa = ... # type: QLocale.Language + Mono = ... # type: QLocale.Language + TedimChin = ... # type: QLocale.Language + Maithili = ... # type: QLocale.Language + Ahom = ... # type: QLocale.Language + AmericanSignLanguage = ... # type: QLocale.Language + ArdhamagadhiPrakrit = ... # type: QLocale.Language + Bhojpuri = ... # type: QLocale.Language + HieroglyphicLuwian = ... # type: QLocale.Language + LiteraryChinese = ... # type: QLocale.Language + Mazanderani = ... # type: QLocale.Language + Mru = ... # type: QLocale.Language + Newari = ... # type: QLocale.Language + NorthernLuri = ... # type: QLocale.Language + Palauan = ... # type: QLocale.Language + Papiamento = ... # type: QLocale.Language + Saraiki = ... # type: QLocale.Language + TokelauLanguage = ... # type: QLocale.Language + TokPisin = ... # type: QLocale.Language + TuvaluLanguage = ... # type: QLocale.Language + UncodedLanguages = ... # type: QLocale.Language + Cantonese = ... # type: QLocale.Language + Osage = ... # type: QLocale.Language + Tangut = ... # type: QLocale.Language + Ido = ... # type: QLocale.Language + Lojban = ... # type: QLocale.Language + Sicilian = ... # type: QLocale.Language + SouthernKurdish = ... # type: QLocale.Language + WesternBalochi = ... # type: QLocale.Language + Cebuano = ... # type: QLocale.Language + Erzya = ... # type: QLocale.Language + Chickasaw = ... # type: QLocale.Language + Muscogee = ... # type: QLocale.Language + Silesian = ... # type: QLocale.Language + + class NumberOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QLocale.NumberOptions', 'QLocale.NumberOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QLocale.NumberOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QLocale.NumberOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class DataSizeFormats(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QLocale.DataSizeFormats', 'QLocale.DataSizeFormat']) -> None: ... + @typing.overload + def __init__(self, a0: 'QLocale.DataSizeFormats') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QLocale.DataSizeFormats': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, language: 'QLocale.Language', country: 'QLocale.Country' = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QLocale') -> None: ... + @typing.overload + def __init__(self, language: 'QLocale.Language', script: 'QLocale.Script', country: 'QLocale.Country') -> None: ... + + def collation(self) -> 'QLocale': ... + def toULong(self, s: str) -> typing.Tuple[int, bool]: ... + def toLong(self, s: str) -> typing.Tuple[int, bool]: ... + def formattedDataSize(self, bytes: int, precision: int = ..., format: typing.Union['QLocale.DataSizeFormats', 'QLocale.DataSizeFormat'] = ...) -> str: ... + def swap(self, other: 'QLocale') -> None: ... + def __hash__(self) -> int: ... + def createSeparatedList(self, list: typing.Iterable[str]) -> str: ... + def quoteString(self, str: str, style: 'QLocale.QuotationStyle' = ...) -> str: ... + @staticmethod + def matchingLocales(language: 'QLocale.Language', script: 'QLocale.Script', country: 'QLocale.Country') -> typing.List['QLocale']: ... + @staticmethod + def scriptToString(script: 'QLocale.Script') -> str: ... + def uiLanguages(self) -> typing.List[str]: ... + @typing.overload + def toCurrencyString(self, value: float, symbol: str = ...) -> str: ... + @typing.overload + def toCurrencyString(self, value: float, symbol: str, precision: int) -> str: ... + @typing.overload + def toCurrencyString(self, value: int, symbol: str = ...) -> str: ... + def currencySymbol(self, format: 'QLocale.CurrencySymbolFormat' = ...) -> str: ... + def toLower(self, str: str) -> str: ... + def toUpper(self, str: str) -> str: ... + def weekdays(self) -> typing.List[Qt.DayOfWeek]: ... + def firstDayOfWeek(self) -> Qt.DayOfWeek: ... + def nativeCountryName(self) -> str: ... + def nativeLanguageName(self) -> str: ... + def bcp47Name(self) -> str: ... + def script(self) -> 'QLocale.Script': ... + def textDirection(self) -> Qt.LayoutDirection: ... + def pmText(self) -> str: ... + def amText(self) -> str: ... + def standaloneDayName(self, a0: int, format: 'QLocale.FormatType' = ...) -> str: ... + def standaloneMonthName(self, a0: int, format: 'QLocale.FormatType' = ...) -> str: ... + def positiveSign(self) -> str: ... + def measurementSystem(self) -> 'QLocale.MeasurementSystem': ... + def numberOptions(self) -> 'QLocale.NumberOptions': ... + def setNumberOptions(self, options: typing.Union['QLocale.NumberOptions', 'QLocale.NumberOption']) -> None: ... + def dayName(self, a0: int, format: 'QLocale.FormatType' = ...) -> str: ... + def monthName(self, a0: int, format: 'QLocale.FormatType' = ...) -> str: ... + def exponential(self) -> str: ... + def negativeSign(self) -> str: ... + def zeroDigit(self) -> str: ... + def percent(self) -> str: ... + def groupSeparator(self) -> str: ... + def decimalPoint(self) -> str: ... + @typing.overload + def toDateTime(self, string: str, format: 'QLocale.FormatType' = ...) -> QDateTime: ... + @typing.overload + def toDateTime(self, string: str, format: str) -> QDateTime: ... + @typing.overload + def toDateTime(self, string: str, format: 'QLocale.FormatType', cal: QCalendar) -> QDateTime: ... + @typing.overload + def toDateTime(self, string: str, format: str, cal: QCalendar) -> QDateTime: ... + @typing.overload + def toTime(self, string: str, format: 'QLocale.FormatType' = ...) -> QTime: ... + @typing.overload + def toTime(self, string: str, format: str) -> QTime: ... + @typing.overload + def toTime(self, string: str, format: 'QLocale.FormatType', cal: QCalendar) -> QTime: ... + @typing.overload + def toTime(self, string: str, format: str, cal: QCalendar) -> QTime: ... + @typing.overload + def toDate(self, string: str, format: 'QLocale.FormatType' = ...) -> QDate: ... + @typing.overload + def toDate(self, string: str, format: str) -> QDate: ... + @typing.overload + def toDate(self, string: str, format: 'QLocale.FormatType', cal: QCalendar) -> QDate: ... + @typing.overload + def toDate(self, string: str, format: str, cal: QCalendar) -> QDate: ... + def dateTimeFormat(self, format: 'QLocale.FormatType' = ...) -> str: ... + def timeFormat(self, format: 'QLocale.FormatType' = ...) -> str: ... + def dateFormat(self, format: 'QLocale.FormatType' = ...) -> str: ... + @staticmethod + def system() -> 'QLocale': ... + @staticmethod + def c() -> 'QLocale': ... + @staticmethod + def setDefault(locale: 'QLocale') -> None: ... + @staticmethod + def countryToString(country: 'QLocale.Country') -> str: ... + @staticmethod + def languageToString(language: 'QLocale.Language') -> str: ... + @typing.overload + def toString(self, i: float, format: str = ..., precision: int = ...) -> str: ... + @typing.overload + def toString(self, dateTime: typing.Union[QDateTime, datetime.datetime], format: str) -> str: ... + @typing.overload + def toString(self, dateTime: typing.Union[QDateTime, datetime.datetime], formatStr: str, cal: QCalendar) -> str: ... + @typing.overload + def toString(self, dateTime: typing.Union[QDateTime, datetime.datetime], format: 'QLocale.FormatType' = ...) -> str: ... + @typing.overload + def toString(self, dateTime: typing.Union[QDateTime, datetime.datetime], format: 'QLocale.FormatType', cal: QCalendar) -> str: ... + @typing.overload + def toString(self, date: typing.Union[QDate, datetime.date], formatStr: str) -> str: ... + @typing.overload + def toString(self, date: typing.Union[QDate, datetime.date], formatStr: str, cal: QCalendar) -> str: ... + @typing.overload + def toString(self, date: typing.Union[QDate, datetime.date], format: 'QLocale.FormatType' = ...) -> str: ... + @typing.overload + def toString(self, date: typing.Union[QDate, datetime.date], format: 'QLocale.FormatType', cal: QCalendar) -> str: ... + @typing.overload + def toString(self, time: typing.Union[QTime, datetime.time], formatStr: str) -> str: ... + @typing.overload + def toString(self, time: typing.Union[QTime, datetime.time], format: 'QLocale.FormatType' = ...) -> str: ... + @typing.overload + def toString(self, i: int) -> str: ... + def toDouble(self, s: str) -> typing.Tuple[float, bool]: ... + def toFloat(self, s: str) -> typing.Tuple[float, bool]: ... + def toULongLong(self, s: str) -> typing.Tuple[int, bool]: ... + def toLongLong(self, s: str) -> typing.Tuple[int, bool]: ... + def toUInt(self, s: str) -> typing.Tuple[int, bool]: ... + def toInt(self, s: str) -> typing.Tuple[int, bool]: ... + def toUShort(self, s: str) -> typing.Tuple[int, bool]: ... + def toShort(self, s: str) -> typing.Tuple[int, bool]: ... + def name(self) -> str: ... + def country(self) -> 'QLocale.Country': ... + def language(self) -> 'QLocale.Language': ... + + +class QLockFile(sip.simplewrapper): + + class LockError(int): + NoError = ... # type: QLockFile.LockError + LockFailedError = ... # type: QLockFile.LockError + PermissionError = ... # type: QLockFile.LockError + UnknownError = ... # type: QLockFile.LockError + + def __init__(self, fileName: str) -> None: ... + + def error(self) -> 'QLockFile.LockError': ... + def removeStaleLockFile(self) -> bool: ... + def getLockInfo(self) -> typing.Tuple[bool, int, str, str]: ... + def isLocked(self) -> bool: ... + def staleLockTime(self) -> int: ... + def setStaleLockTime(self, a0: int) -> None: ... + def unlock(self) -> None: ... + def tryLock(self, timeout: int = ...) -> bool: ... + def lock(self) -> bool: ... + + +class QMessageLogContext(sip.simplewrapper): + + category = ... # type: str + file = ... # type: str + function = ... # type: str + line = ... # type: int + + +class QMessageLogger(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, file: str, line: int, function: str) -> None: ... + @typing.overload + def __init__(self, file: str, line: int, function: str, category: str) -> None: ... + + def info(self, msg: str) -> None: ... + def fatal(self, msg: str) -> None: ... + def critical(self, msg: str) -> None: ... + def warning(self, msg: str) -> None: ... + def debug(self, msg: str) -> None: ... + + +class QLoggingCategory(sip.simplewrapper): + + @typing.overload + def __init__(self, category: str) -> None: ... + @typing.overload + def __init__(self, category: str, severityLevel: QtMsgType) -> None: ... + + @staticmethod + def setFilterRules(rules: str) -> None: ... + @staticmethod + def defaultCategory() -> 'QLoggingCategory': ... + def __call__(self) -> 'QLoggingCategory': ... + def categoryName(self) -> str: ... + def isCriticalEnabled(self) -> bool: ... + def isWarningEnabled(self) -> bool: ... + def isInfoEnabled(self) -> bool: ... + def isDebugEnabled(self) -> bool: ... + def setEnabled(self, type: QtMsgType, enable: bool) -> None: ... + def isEnabled(self, type: QtMsgType) -> bool: ... + + +class QMargins(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, aleft: int, atop: int, aright: int, abottom: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QMargins') -> None: ... + + def __neg__(self) -> 'QMargins': ... + def __pos__(self) -> 'QMargins': ... + def setBottom(self, abottom: int) -> None: ... + def setRight(self, aright: int) -> None: ... + def setTop(self, atop: int) -> None: ... + def setLeft(self, aleft: int) -> None: ... + def bottom(self) -> int: ... + def right(self) -> int: ... + def top(self) -> int: ... + def left(self) -> int: ... + def isNull(self) -> bool: ... + + +class QMarginsF(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, aleft: float, atop: float, aright: float, abottom: float) -> None: ... + @typing.overload + def __init__(self, margins: QMargins) -> None: ... + @typing.overload + def __init__(self, a0: 'QMarginsF') -> None: ... + + def __neg__(self) -> 'QMarginsF': ... + def __pos__(self) -> 'QMarginsF': ... + def toMargins(self) -> QMargins: ... + def setBottom(self, abottom: float) -> None: ... + def setRight(self, aright: float) -> None: ... + def setTop(self, atop: float) -> None: ... + def setLeft(self, aleft: float) -> None: ... + def bottom(self) -> float: ... + def right(self) -> float: ... + def top(self) -> float: ... + def left(self) -> float: ... + def isNull(self) -> bool: ... + + +class QMessageAuthenticationCode(sip.simplewrapper): + + def __init__(self, method: QCryptographicHash.Algorithm, key: typing.Union[QByteArray, bytes, bytearray] = ...) -> None: ... + + @staticmethod + def hash(message: typing.Union[QByteArray, bytes, bytearray], key: typing.Union[QByteArray, bytes, bytearray], method: QCryptographicHash.Algorithm) -> QByteArray: ... + def result(self) -> QByteArray: ... + @typing.overload + def addData(self, data: str, length: int) -> None: ... + @typing.overload + def addData(self, data: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def addData(self, device: QIODevice) -> bool: ... + def setKey(self, key: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + def reset(self) -> None: ... + + +class QMetaMethod(sip.simplewrapper): + + class MethodType(int): + Method = ... # type: QMetaMethod.MethodType + Signal = ... # type: QMetaMethod.MethodType + Slot = ... # type: QMetaMethod.MethodType + Constructor = ... # type: QMetaMethod.MethodType + + class Access(int): + Private = ... # type: QMetaMethod.Access + Protected = ... # type: QMetaMethod.Access + Public = ... # type: QMetaMethod.Access + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QMetaMethod') -> None: ... + + def parameterType(self, index: int) -> int: ... + def parameterCount(self) -> int: ... + def returnType(self) -> int: ... + def name(self) -> QByteArray: ... + def methodSignature(self) -> QByteArray: ... + def isValid(self) -> bool: ... + def methodIndex(self) -> int: ... + @typing.overload + def invoke(self, object: QObject, connectionType: Qt.ConnectionType, returnValue: 'QGenericReturnArgument', value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ... + @typing.overload + def invoke(self, object: QObject, returnValue: 'QGenericReturnArgument', value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ... + @typing.overload + def invoke(self, object: QObject, connectionType: Qt.ConnectionType, value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ... + @typing.overload + def invoke(self, object: QObject, value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ... + def methodType(self) -> 'QMetaMethod.MethodType': ... + def access(self) -> 'QMetaMethod.Access': ... + def tag(self) -> str: ... + def parameterNames(self) -> typing.List[QByteArray]: ... + def parameterTypes(self) -> typing.List[QByteArray]: ... + def typeName(self) -> str: ... + + +class QMetaEnum(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QMetaEnum') -> None: ... + + def enumName(self) -> str: ... + def isScoped(self) -> bool: ... + def isValid(self) -> bool: ... + def valueToKeys(self, value: int) -> QByteArray: ... + def keysToValue(self, keys: str) -> typing.Tuple[int, bool]: ... + def valueToKey(self, value: int) -> str: ... + def keyToValue(self, key: str) -> typing.Tuple[int, bool]: ... + def scope(self) -> str: ... + def value(self, index: int) -> int: ... + def key(self, index: int) -> str: ... + def keyCount(self) -> int: ... + def isFlag(self) -> bool: ... + def name(self) -> str: ... + + +class QMetaProperty(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QMetaProperty') -> None: ... + + def isRequired(self) -> bool: ... + def relativePropertyIndex(self) -> int: ... + def isFinal(self) -> bool: ... + def isConstant(self) -> bool: ... + def propertyIndex(self) -> int: ... + def notifySignalIndex(self) -> int: ... + def notifySignal(self) -> QMetaMethod: ... + def hasNotifySignal(self) -> bool: ... + def userType(self) -> int: ... + def isUser(self, object: typing.Optional[QObject] = ...) -> bool: ... + def isResettable(self) -> bool: ... + def isValid(self) -> bool: ... + def hasStdCppSet(self) -> bool: ... + def reset(self, obj: QObject) -> bool: ... + def write(self, obj: QObject, value: typing.Any) -> bool: ... + def read(self, obj: QObject) -> typing.Any: ... + def enumerator(self) -> QMetaEnum: ... + def isEnumType(self) -> bool: ... + def isFlagType(self) -> bool: ... + def isStored(self, object: typing.Optional[QObject] = ...) -> bool: ... + def isScriptable(self, object: typing.Optional[QObject] = ...) -> bool: ... + def isDesignable(self, object: typing.Optional[QObject] = ...) -> bool: ... + def isWritable(self) -> bool: ... + def isReadable(self) -> bool: ... + def type(self) -> 'QVariant.Type': ... + def typeName(self) -> str: ... + def name(self) -> str: ... + + +class QMetaClassInfo(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QMetaClassInfo') -> None: ... + + def value(self) -> str: ... + def name(self) -> str: ... + + +class QMetaType(sip.simplewrapper): + + class TypeFlag(int): + NeedsConstruction = ... # type: QMetaType.TypeFlag + NeedsDestruction = ... # type: QMetaType.TypeFlag + MovableType = ... # type: QMetaType.TypeFlag + PointerToQObject = ... # type: QMetaType.TypeFlag + IsEnumeration = ... # type: QMetaType.TypeFlag + + class Type(int): + UnknownType = ... # type: QMetaType.Type + Void = ... # type: QMetaType.Type + Bool = ... # type: QMetaType.Type + Int = ... # type: QMetaType.Type + UInt = ... # type: QMetaType.Type + LongLong = ... # type: QMetaType.Type + ULongLong = ... # type: QMetaType.Type + Double = ... # type: QMetaType.Type + QChar = ... # type: QMetaType.Type + QVariantMap = ... # type: QMetaType.Type + QVariantList = ... # type: QMetaType.Type + QVariantHash = ... # type: QMetaType.Type + QString = ... # type: QMetaType.Type + QStringList = ... # type: QMetaType.Type + QByteArray = ... # type: QMetaType.Type + QBitArray = ... # type: QMetaType.Type + QDate = ... # type: QMetaType.Type + QTime = ... # type: QMetaType.Type + QDateTime = ... # type: QMetaType.Type + QUrl = ... # type: QMetaType.Type + QLocale = ... # type: QMetaType.Type + QRect = ... # type: QMetaType.Type + QRectF = ... # type: QMetaType.Type + QSize = ... # type: QMetaType.Type + QSizeF = ... # type: QMetaType.Type + QLine = ... # type: QMetaType.Type + QLineF = ... # type: QMetaType.Type + QPoint = ... # type: QMetaType.Type + QPointF = ... # type: QMetaType.Type + QRegExp = ... # type: QMetaType.Type + LastCoreType = ... # type: QMetaType.Type + FirstGuiType = ... # type: QMetaType.Type + QFont = ... # type: QMetaType.Type + QPixmap = ... # type: QMetaType.Type + QBrush = ... # type: QMetaType.Type + QColor = ... # type: QMetaType.Type + QPalette = ... # type: QMetaType.Type + QIcon = ... # type: QMetaType.Type + QImage = ... # type: QMetaType.Type + QPolygon = ... # type: QMetaType.Type + QRegion = ... # type: QMetaType.Type + QBitmap = ... # type: QMetaType.Type + QCursor = ... # type: QMetaType.Type + QSizePolicy = ... # type: QMetaType.Type + QKeySequence = ... # type: QMetaType.Type + QPen = ... # type: QMetaType.Type + QTextLength = ... # type: QMetaType.Type + QTextFormat = ... # type: QMetaType.Type + QMatrix = ... # type: QMetaType.Type + QTransform = ... # type: QMetaType.Type + VoidStar = ... # type: QMetaType.Type + Long = ... # type: QMetaType.Type + Short = ... # type: QMetaType.Type + Char = ... # type: QMetaType.Type + ULong = ... # type: QMetaType.Type + UShort = ... # type: QMetaType.Type + UChar = ... # type: QMetaType.Type + Float = ... # type: QMetaType.Type + QObjectStar = ... # type: QMetaType.Type + QMatrix4x4 = ... # type: QMetaType.Type + QVector2D = ... # type: QMetaType.Type + QVector3D = ... # type: QMetaType.Type + QVector4D = ... # type: QMetaType.Type + QQuaternion = ... # type: QMetaType.Type + QEasingCurve = ... # type: QMetaType.Type + QVariant = ... # type: QMetaType.Type + QUuid = ... # type: QMetaType.Type + QModelIndex = ... # type: QMetaType.Type + QPolygonF = ... # type: QMetaType.Type + SChar = ... # type: QMetaType.Type + QRegularExpression = ... # type: QMetaType.Type + QJsonValue = ... # type: QMetaType.Type + QJsonObject = ... # type: QMetaType.Type + QJsonArray = ... # type: QMetaType.Type + QJsonDocument = ... # type: QMetaType.Type + QByteArrayList = ... # type: QMetaType.Type + QPersistentModelIndex = ... # type: QMetaType.Type + QCborSimpleType = ... # type: QMetaType.Type + QCborValue = ... # type: QMetaType.Type + QCborArray = ... # type: QMetaType.Type + QCborMap = ... # type: QMetaType.Type + QColorSpace = ... # type: QMetaType.Type + User = ... # type: QMetaType.Type + + class TypeFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QMetaType.TypeFlags', 'QMetaType.TypeFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QMetaType.TypeFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QMetaType.TypeFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, type: int = ...) -> None: ... + + def name(self) -> QByteArray: ... + def id(self) -> int: ... + @staticmethod + def metaObjectForType(type: int) -> 'QMetaObject': ... + def isValid(self) -> bool: ... + def flags(self) -> 'QMetaType.TypeFlags': ... + @staticmethod + def typeFlags(type: int) -> 'QMetaType.TypeFlags': ... + @typing.overload + @staticmethod + def isRegistered(type: int) -> bool: ... + @typing.overload + def isRegistered(self) -> bool: ... + @staticmethod + def typeName(type: int) -> str: ... + @staticmethod + def type(typeName: str) -> int: ... + + +class QMimeData(QObject): + + def __init__(self) -> None: ... + + def retrieveData(self, mimetype: str, preferredType: 'QVariant.Type') -> typing.Any: ... + def removeFormat(self, mimetype: str) -> None: ... + def clear(self) -> None: ... + def formats(self) -> typing.List[str]: ... + def hasFormat(self, mimetype: str) -> bool: ... + def setData(self, mimetype: str, data: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + def data(self, mimetype: str) -> QByteArray: ... + def hasColor(self) -> bool: ... + def setColorData(self, color: typing.Any) -> None: ... + def colorData(self) -> typing.Any: ... + def hasImage(self) -> bool: ... + def setImageData(self, image: typing.Any) -> None: ... + def imageData(self) -> typing.Any: ... + def hasHtml(self) -> bool: ... + def setHtml(self, html: str) -> None: ... + def html(self) -> str: ... + def hasText(self) -> bool: ... + def setText(self, text: str) -> None: ... + def text(self) -> str: ... + def hasUrls(self) -> bool: ... + def setUrls(self, urls: typing.Iterable['QUrl']) -> None: ... + def urls(self) -> typing.List['QUrl']: ... + + +class QMimeDatabase(sip.simplewrapper): + + class MatchMode(int): + MatchDefault = ... # type: QMimeDatabase.MatchMode + MatchExtension = ... # type: QMimeDatabase.MatchMode + MatchContent = ... # type: QMimeDatabase.MatchMode + + def __init__(self) -> None: ... + + def allMimeTypes(self) -> typing.List['QMimeType']: ... + def suffixForFileName(self, fileName: str) -> str: ... + @typing.overload + def mimeTypeForFileNameAndData(self, fileName: str, device: QIODevice) -> 'QMimeType': ... + @typing.overload + def mimeTypeForFileNameAndData(self, fileName: str, data: typing.Union[QByteArray, bytes, bytearray]) -> 'QMimeType': ... + def mimeTypeForUrl(self, url: 'QUrl') -> 'QMimeType': ... + @typing.overload + def mimeTypeForData(self, data: typing.Union[QByteArray, bytes, bytearray]) -> 'QMimeType': ... + @typing.overload + def mimeTypeForData(self, device: QIODevice) -> 'QMimeType': ... + def mimeTypesForFileName(self, fileName: str) -> typing.List['QMimeType']: ... + @typing.overload + def mimeTypeForFile(self, fileName: str, mode: 'QMimeDatabase.MatchMode' = ...) -> 'QMimeType': ... + @typing.overload + def mimeTypeForFile(self, fileInfo: QFileInfo, mode: 'QMimeDatabase.MatchMode' = ...) -> 'QMimeType': ... + def mimeTypeForName(self, nameOrAlias: str) -> 'QMimeType': ... + + +class QMimeType(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMimeType') -> None: ... + + def __hash__(self) -> int: ... + def filterString(self) -> str: ... + def inherits(self, mimeTypeName: str) -> bool: ... + def preferredSuffix(self) -> str: ... + def suffixes(self) -> typing.List[str]: ... + def aliases(self) -> typing.List[str]: ... + def allAncestors(self) -> typing.List[str]: ... + def parentMimeTypes(self) -> typing.List[str]: ... + def globPatterns(self) -> typing.List[str]: ... + def iconName(self) -> str: ... + def genericIconName(self) -> str: ... + def comment(self) -> str: ... + def name(self) -> str: ... + def isDefault(self) -> bool: ... + def isValid(self) -> bool: ... + def swap(self, other: 'QMimeType') -> None: ... + + +class QMutexLocker(sip.simplewrapper): + + @typing.overload + def __init__(self, m: 'QMutex') -> None: ... + @typing.overload + def __init__(self, m: 'QRecursiveMutex') -> None: ... + + def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ... + def __enter__(self) -> typing.Any: ... + def mutex(self) -> 'QMutex': ... + def relock(self) -> None: ... + def unlock(self) -> None: ... + + +class QMutex(sip.simplewrapper): + + class RecursionMode(int): + NonRecursive = ... # type: QMutex.RecursionMode + Recursive = ... # type: QMutex.RecursionMode + + def __init__(self, mode: 'QMutex.RecursionMode' = ...) -> None: ... + + def isRecursive(self) -> bool: ... + def unlock(self) -> None: ... + def tryLock(self, timeout: int = ...) -> bool: ... + def lock(self) -> None: ... + + +class QRecursiveMutex(sip.simplewrapper): + + def __init__(self) -> None: ... + + +class QSignalBlocker(sip.simplewrapper): + + def __init__(self, o: QObject) -> None: ... + + def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ... + def __enter__(self) -> typing.Any: ... + def unblock(self) -> None: ... + def reblock(self) -> None: ... + + +class QObjectCleanupHandler(QObject): + + def __init__(self) -> None: ... + + def clear(self) -> None: ... + def isEmpty(self) -> bool: ... + def remove(self, object: QObject) -> None: ... + def add(self, object: QObject) -> QObject: ... + + +class QMetaObject(sip.simplewrapper): + + class Connection(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMetaObject.Connection') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QMetaObject') -> None: ... + + def inherits(self, metaObject: 'QMetaObject') -> bool: ... + def constructor(self, index: int) -> QMetaMethod: ... + def indexOfConstructor(self, constructor: str) -> int: ... + def constructorCount(self) -> int: ... + @typing.overload + @staticmethod + def invokeMethod(obj: QObject, member: str, type: Qt.ConnectionType, ret: 'QGenericReturnArgument', value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ... + @typing.overload + @staticmethod + def invokeMethod(obj: QObject, member: str, ret: 'QGenericReturnArgument', value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ... + @typing.overload + @staticmethod + def invokeMethod(obj: QObject, member: str, type: Qt.ConnectionType, value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ... + @typing.overload + @staticmethod + def invokeMethod(obj: QObject, member: str, value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ... + @staticmethod + def normalizedType(type: str) -> QByteArray: ... + @staticmethod + def normalizedSignature(method: str) -> QByteArray: ... + @staticmethod + def connectSlotsByName(o: QObject) -> None: ... + @typing.overload + @staticmethod + def checkConnectArgs(signal: str, method: str) -> bool: ... + @typing.overload + @staticmethod + def checkConnectArgs(signal: QMetaMethod, method: QMetaMethod) -> bool: ... + def classInfo(self, index: int) -> QMetaClassInfo: ... + def property(self, index: int) -> QMetaProperty: ... + def enumerator(self, index: int) -> QMetaEnum: ... + def method(self, index: int) -> QMetaMethod: ... + def indexOfClassInfo(self, name: str) -> int: ... + def indexOfProperty(self, name: str) -> int: ... + def indexOfEnumerator(self, name: str) -> int: ... + def indexOfSlot(self, slot: str) -> int: ... + def indexOfSignal(self, signal: str) -> int: ... + def indexOfMethod(self, method: str) -> int: ... + def classInfoCount(self) -> int: ... + def propertyCount(self) -> int: ... + def enumeratorCount(self) -> int: ... + def methodCount(self) -> int: ... + def classInfoOffset(self) -> int: ... + def propertyOffset(self) -> int: ... + def enumeratorOffset(self) -> int: ... + def methodOffset(self) -> int: ... + def userProperty(self) -> QMetaProperty: ... + def superClass(self) -> 'QMetaObject': ... + def className(self) -> str: ... + + +class QGenericArgument(sip.simplewrapper): ... + + +class QGenericReturnArgument(sip.simplewrapper): ... + + +class QOperatingSystemVersion(sip.simplewrapper): + + class OSType(int): + Unknown = ... # type: QOperatingSystemVersion.OSType + Windows = ... # type: QOperatingSystemVersion.OSType + MacOS = ... # type: QOperatingSystemVersion.OSType + IOS = ... # type: QOperatingSystemVersion.OSType + TvOS = ... # type: QOperatingSystemVersion.OSType + WatchOS = ... # type: QOperatingSystemVersion.OSType + Android = ... # type: QOperatingSystemVersion.OSType + + AndroidJellyBean = ... # type: 'QOperatingSystemVersion' + AndroidJellyBean_MR1 = ... # type: 'QOperatingSystemVersion' + AndroidJellyBean_MR2 = ... # type: 'QOperatingSystemVersion' + AndroidKitKat = ... # type: 'QOperatingSystemVersion' + AndroidLollipop = ... # type: 'QOperatingSystemVersion' + AndroidLollipop_MR1 = ... # type: 'QOperatingSystemVersion' + AndroidMarshmallow = ... # type: 'QOperatingSystemVersion' + AndroidNougat = ... # type: 'QOperatingSystemVersion' + AndroidNougat_MR1 = ... # type: 'QOperatingSystemVersion' + AndroidOreo = ... # type: 'QOperatingSystemVersion' + MacOSCatalina = ... # type: 'QOperatingSystemVersion' + MacOSHighSierra = ... # type: 'QOperatingSystemVersion' + MacOSMojave = ... # type: 'QOperatingSystemVersion' + MacOSSierra = ... # type: 'QOperatingSystemVersion' + OSXElCapitan = ... # type: 'QOperatingSystemVersion' + OSXMavericks = ... # type: 'QOperatingSystemVersion' + OSXYosemite = ... # type: 'QOperatingSystemVersion' + Windows10 = ... # type: 'QOperatingSystemVersion' + Windows7 = ... # type: 'QOperatingSystemVersion' + Windows8 = ... # type: 'QOperatingSystemVersion' + Windows8_1 = ... # type: 'QOperatingSystemVersion' + + @typing.overload + def __init__(self, osType: 'QOperatingSystemVersion.OSType', vmajor: int, vminor: int = ..., vmicro: int = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QOperatingSystemVersion') -> None: ... + + def name(self) -> str: ... + def type(self) -> 'QOperatingSystemVersion.OSType': ... + def segmentCount(self) -> int: ... + def microVersion(self) -> int: ... + def minorVersion(self) -> int: ... + def majorVersion(self) -> int: ... + @staticmethod + def currentType() -> 'QOperatingSystemVersion.OSType': ... + @staticmethod + def current() -> 'QOperatingSystemVersion': ... + + +class QParallelAnimationGroup(QAnimationGroup): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def updateDirection(self, direction: QAbstractAnimation.Direction) -> None: ... + def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... + def updateCurrentTime(self, currentTime: int) -> None: ... + def event(self, event: QEvent) -> bool: ... + def duration(self) -> int: ... + + +class QPauseAnimation(QAbstractAnimation): + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, msecs: int, parent: typing.Optional[QObject] = ...) -> None: ... + + def updateCurrentTime(self, a0: int) -> None: ... + def event(self, e: QEvent) -> bool: ... + def setDuration(self, msecs: int) -> None: ... + def duration(self) -> int: ... + + +class QVariantAnimation(QAbstractAnimation): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def interpolated(self, from_: typing.Any, to: typing.Any, progress: float) -> typing.Any: ... + def updateCurrentValue(self, value: typing.Any) -> None: ... + def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... + def updateCurrentTime(self, a0: int) -> None: ... + def event(self, event: QEvent) -> bool: ... + def valueChanged(self, value: typing.Any) -> None: ... + def setEasingCurve(self, easing: typing.Union[QEasingCurve, QEasingCurve.Type]) -> None: ... + def easingCurve(self) -> QEasingCurve: ... + def setDuration(self, msecs: int) -> None: ... + def duration(self) -> int: ... + def currentValue(self) -> typing.Any: ... + def setKeyValues(self, values: typing.Iterable[typing.Tuple[float, typing.Any]]) -> None: ... + def keyValues(self) -> typing.List[typing.Tuple[float, typing.Any]]: ... + def setKeyValueAt(self, step: float, value: typing.Any) -> None: ... + def keyValueAt(self, step: float) -> typing.Any: ... + def setEndValue(self, value: typing.Any) -> None: ... + def endValue(self) -> typing.Any: ... + def setStartValue(self, value: typing.Any) -> None: ... + def startValue(self) -> typing.Any: ... + + +class QPropertyAnimation(QVariantAnimation): + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, target: QObject, propertyName: typing.Union[QByteArray, bytes, bytearray], parent: typing.Optional[QObject] = ...) -> None: ... + + def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... + def updateCurrentValue(self, value: typing.Any) -> None: ... + def event(self, event: QEvent) -> bool: ... + def setPropertyName(self, propertyName: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + def propertyName(self) -> QByteArray: ... + def setTargetObject(self, target: QObject) -> None: ... + def targetObject(self) -> QObject: ... + + +class QPluginLoader(QObject): + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, fileName: str, parent: typing.Optional[QObject] = ...) -> None: ... + + def loadHints(self) -> QLibrary.LoadHints: ... + def setLoadHints(self, loadHints: typing.Union[QLibrary.LoadHints, QLibrary.LoadHint]) -> None: ... + def errorString(self) -> str: ... + def fileName(self) -> str: ... + def setFileName(self, fileName: str) -> None: ... + def isLoaded(self) -> bool: ... + def unload(self) -> bool: ... + def load(self) -> bool: ... + @staticmethod + def staticInstances() -> typing.List[QObject]: ... + def instance(self) -> QObject: ... + + +class QPoint(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, xpos: int, ypos: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QPoint') -> None: ... + + def __neg__(self) -> 'QPoint': ... + def __pos__(self) -> 'QPoint': ... + def transposed(self) -> 'QPoint': ... + @staticmethod + def dotProduct(p1: 'QPoint', p2: 'QPoint') -> int: ... + def setY(self, ypos: int) -> None: ... + def setX(self, xpos: int) -> None: ... + def y(self) -> int: ... + def x(self) -> int: ... + def __bool__(self) -> int: ... + def isNull(self) -> bool: ... + def __repr__(self) -> str: ... + def manhattanLength(self) -> int: ... + + +class QPointF(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, xpos: float, ypos: float) -> None: ... + @typing.overload + def __init__(self, p: QPoint) -> None: ... + @typing.overload + def __init__(self, a0: 'QPointF') -> None: ... + + def __neg__(self) -> 'QPointF': ... + def __pos__(self) -> 'QPointF': ... + def transposed(self) -> 'QPointF': ... + @staticmethod + def dotProduct(p1: typing.Union['QPointF', QPoint], p2: typing.Union['QPointF', QPoint]) -> float: ... + def manhattanLength(self) -> float: ... + def toPoint(self) -> QPoint: ... + def setY(self, ypos: float) -> None: ... + def setX(self, xpos: float) -> None: ... + def y(self) -> float: ... + def x(self) -> float: ... + def __bool__(self) -> int: ... + def isNull(self) -> bool: ... + def __repr__(self) -> str: ... + + +class QProcess(QIODevice): + + class InputChannelMode(int): + ManagedInputChannel = ... # type: QProcess.InputChannelMode + ForwardedInputChannel = ... # type: QProcess.InputChannelMode + + class ProcessChannelMode(int): + SeparateChannels = ... # type: QProcess.ProcessChannelMode + MergedChannels = ... # type: QProcess.ProcessChannelMode + ForwardedChannels = ... # type: QProcess.ProcessChannelMode + ForwardedOutputChannel = ... # type: QProcess.ProcessChannelMode + ForwardedErrorChannel = ... # type: QProcess.ProcessChannelMode + + class ProcessChannel(int): + StandardOutput = ... # type: QProcess.ProcessChannel + StandardError = ... # type: QProcess.ProcessChannel + + class ProcessState(int): + NotRunning = ... # type: QProcess.ProcessState + Starting = ... # type: QProcess.ProcessState + Running = ... # type: QProcess.ProcessState + + class ProcessError(int): + FailedToStart = ... # type: QProcess.ProcessError + Crashed = ... # type: QProcess.ProcessError + Timedout = ... # type: QProcess.ProcessError + ReadError = ... # type: QProcess.ProcessError + WriteError = ... # type: QProcess.ProcessError + UnknownError = ... # type: QProcess.ProcessError + + class ExitStatus(int): + NormalExit = ... # type: QProcess.ExitStatus + CrashExit = ... # type: QProcess.ExitStatus + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def processId(self) -> int: ... + @staticmethod + def nullDevice() -> str: ... + def setInputChannelMode(self, mode: 'QProcess.InputChannelMode') -> None: ... + def inputChannelMode(self) -> 'QProcess.InputChannelMode': ... + def open(self, mode: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = ...) -> bool: ... + def setArguments(self, arguments: typing.Iterable[str]) -> None: ... + def arguments(self) -> typing.List[str]: ... + def setProgram(self, program: str) -> None: ... + def program(self) -> str: ... + def processEnvironment(self) -> 'QProcessEnvironment': ... + def setProcessEnvironment(self, environment: 'QProcessEnvironment') -> None: ... + def writeData(self, data: bytes) -> int: ... + def readData(self, maxlen: int) -> bytes: ... + def setupChildProcess(self) -> None: ... + def setProcessState(self, state: 'QProcess.ProcessState') -> None: ... + def errorOccurred(self, error: 'QProcess.ProcessError') -> None: ... + def readyReadStandardError(self) -> None: ... + def readyReadStandardOutput(self) -> None: ... + def stateChanged(self, state: 'QProcess.ProcessState') -> None: ... + def finished(self, exitCode: int, exitStatus: 'QProcess.ExitStatus') -> None: ... + def started(self) -> None: ... + def kill(self) -> None: ... + def terminate(self) -> None: ... + def setStandardOutputProcess(self, destination: 'QProcess') -> None: ... + def setStandardErrorFile(self, fileName: str, mode: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = ...) -> None: ... + def setStandardOutputFile(self, fileName: str, mode: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = ...) -> None: ... + def setStandardInputFile(self, fileName: str) -> None: ... + def setProcessChannelMode(self, mode: 'QProcess.ProcessChannelMode') -> None: ... + def processChannelMode(self) -> 'QProcess.ProcessChannelMode': ... + @staticmethod + def systemEnvironment() -> typing.List[str]: ... + @typing.overload + @staticmethod + def startDetached(program: str, arguments: typing.Iterable[str], workingDirectory: str) -> typing.Tuple[bool, int]: ... + @typing.overload + @staticmethod + def startDetached(program: str, arguments: typing.Iterable[str]) -> bool: ... + @typing.overload + @staticmethod + def startDetached(program: str) -> bool: ... + @typing.overload + def startDetached(self) -> typing.Tuple[bool, int]: ... + @typing.overload + @staticmethod + def execute(program: str, arguments: typing.Iterable[str]) -> int: ... + @typing.overload + @staticmethod + def execute(program: str) -> int: ... + def atEnd(self) -> bool: ... + def close(self) -> None: ... + def canReadLine(self) -> bool: ... + def isSequential(self) -> bool: ... + def bytesToWrite(self) -> int: ... + def bytesAvailable(self) -> int: ... + def exitStatus(self) -> 'QProcess.ExitStatus': ... + def exitCode(self) -> int: ... + def readAllStandardError(self) -> QByteArray: ... + def readAllStandardOutput(self) -> QByteArray: ... + def waitForFinished(self, msecs: int = ...) -> bool: ... + def waitForBytesWritten(self, msecs: int = ...) -> bool: ... + def waitForReadyRead(self, msecs: int = ...) -> bool: ... + def waitForStarted(self, msecs: int = ...) -> bool: ... + def pid(self) -> PyQt5.sip.voidptr: ... + def state(self) -> 'QProcess.ProcessState': ... + @typing.overload + def error(self) -> 'QProcess.ProcessError': ... + @typing.overload + def error(self, error: 'QProcess.ProcessError') -> None: ... + def setWorkingDirectory(self, dir: str) -> None: ... + def workingDirectory(self) -> str: ... + def closeWriteChannel(self) -> None: ... + def closeReadChannel(self, channel: 'QProcess.ProcessChannel') -> None: ... + def setReadChannel(self, channel: 'QProcess.ProcessChannel') -> None: ... + def readChannel(self) -> 'QProcess.ProcessChannel': ... + @typing.overload + def start(self, program: str, arguments: typing.Iterable[str], mode: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = ...) -> None: ... + @typing.overload + def start(self, command: str, mode: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = ...) -> None: ... + @typing.overload + def start(self, mode: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = ...) -> None: ... + + +class QProcessEnvironment(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QProcessEnvironment') -> None: ... + + def swap(self, other: 'QProcessEnvironment') -> None: ... + def keys(self) -> typing.List[str]: ... + @staticmethod + def systemEnvironment() -> 'QProcessEnvironment': ... + def toStringList(self) -> typing.List[str]: ... + def value(self, name: str, defaultValue: str = ...) -> str: ... + def remove(self, name: str) -> None: ... + @typing.overload + def insert(self, name: str, value: str) -> None: ... + @typing.overload + def insert(self, e: 'QProcessEnvironment') -> None: ... + def contains(self, name: str) -> bool: ... + def clear(self) -> None: ... + def isEmpty(self) -> bool: ... + + +class QRandomGenerator(sip.simplewrapper): + + @typing.overload + def __init__(self, seed: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QRandomGenerator') -> None: ... + + @staticmethod + def securelySeeded() -> 'QRandomGenerator': ... + @staticmethod + def global_() -> 'QRandomGenerator': ... + @staticmethod + def system() -> 'QRandomGenerator': ... + @staticmethod + def max() -> int: ... + @staticmethod + def min() -> int: ... + def discard(self, z: int) -> None: ... + def seed(self, seed: int = ...) -> None: ... + def __call__(self) -> int: ... + @typing.overload + def bounded(self, highest: float) -> float: ... + @typing.overload + def bounded(self, highest: int) -> int: ... + @typing.overload + def bounded(self, lowest: int, highest: int) -> int: ... + def generateDouble(self) -> float: ... + def generate64(self) -> int: ... + def generate(self) -> int: ... + + +class QReadWriteLock(sip.simplewrapper): + + class RecursionMode(int): + NonRecursive = ... # type: QReadWriteLock.RecursionMode + Recursive = ... # type: QReadWriteLock.RecursionMode + + def __init__(self, recursionMode: 'QReadWriteLock.RecursionMode' = ...) -> None: ... + + def unlock(self) -> None: ... + @typing.overload + def tryLockForWrite(self) -> bool: ... + @typing.overload + def tryLockForWrite(self, timeout: int) -> bool: ... + def lockForWrite(self) -> None: ... + @typing.overload + def tryLockForRead(self) -> bool: ... + @typing.overload + def tryLockForRead(self, timeout: int) -> bool: ... + def lockForRead(self) -> None: ... + + +class QReadLocker(sip.simplewrapper): + + def __init__(self, areadWriteLock: QReadWriteLock) -> None: ... + + def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ... + def __enter__(self) -> typing.Any: ... + def readWriteLock(self) -> QReadWriteLock: ... + def relock(self) -> None: ... + def unlock(self) -> None: ... + + +class QWriteLocker(sip.simplewrapper): + + def __init__(self, areadWriteLock: QReadWriteLock) -> None: ... + + def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ... + def __enter__(self) -> typing.Any: ... + def readWriteLock(self) -> QReadWriteLock: ... + def relock(self) -> None: ... + def unlock(self) -> None: ... + + +class QRect(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, aleft: int, atop: int, awidth: int, aheight: int) -> None: ... + @typing.overload + def __init__(self, atopLeft: QPoint, abottomRight: QPoint) -> None: ... + @typing.overload + def __init__(self, atopLeft: QPoint, asize: 'QSize') -> None: ... + @typing.overload + def __init__(self, a0: 'QRect') -> None: ... + + def transposed(self) -> 'QRect': ... + def marginsRemoved(self, margins: QMargins) -> 'QRect': ... + def marginsAdded(self, margins: QMargins) -> 'QRect': ... + def united(self, r: 'QRect') -> 'QRect': ... + def intersected(self, other: 'QRect') -> 'QRect': ... + def setSize(self, s: 'QSize') -> None: ... + def setHeight(self, h: int) -> None: ... + def setWidth(self, w: int) -> None: ... + def adjust(self, dx1: int, dy1: int, dx2: int, dy2: int) -> None: ... + def adjusted(self, xp1: int, yp1: int, xp2: int, yp2: int) -> 'QRect': ... + def setCoords(self, xp1: int, yp1: int, xp2: int, yp2: int) -> None: ... + def getCoords(self) -> typing.Tuple[int, int, int, int]: ... + def setRect(self, ax: int, ay: int, aw: int, ah: int) -> None: ... + def getRect(self) -> typing.Tuple[int, int, int, int]: ... + def moveBottomLeft(self, p: QPoint) -> None: ... + def moveTopRight(self, p: QPoint) -> None: ... + def moveBottomRight(self, p: QPoint) -> None: ... + def moveTopLeft(self, p: QPoint) -> None: ... + def moveBottom(self, pos: int) -> None: ... + def moveRight(self, pos: int) -> None: ... + def moveTop(self, pos: int) -> None: ... + def moveLeft(self, pos: int) -> None: ... + @typing.overload + def moveTo(self, ax: int, ay: int) -> None: ... + @typing.overload + def moveTo(self, p: QPoint) -> None: ... + @typing.overload + def translated(self, dx: int, dy: int) -> 'QRect': ... + @typing.overload + def translated(self, p: QPoint) -> 'QRect': ... + @typing.overload + def translate(self, dx: int, dy: int) -> None: ... + @typing.overload + def translate(self, p: QPoint) -> None: ... + def size(self) -> 'QSize': ... + def height(self) -> int: ... + def width(self) -> int: ... + def center(self) -> QPoint: ... + def bottomLeft(self) -> QPoint: ... + def topRight(self) -> QPoint: ... + def bottomRight(self) -> QPoint: ... + def topLeft(self) -> QPoint: ... + def setY(self, ay: int) -> None: ... + def setX(self, ax: int) -> None: ... + def setBottomLeft(self, p: QPoint) -> None: ... + def setTopRight(self, p: QPoint) -> None: ... + def setBottomRight(self, p: QPoint) -> None: ... + def setTopLeft(self, p: QPoint) -> None: ... + def setBottom(self, pos: int) -> None: ... + def setRight(self, pos: int) -> None: ... + def setTop(self, pos: int) -> None: ... + def setLeft(self, pos: int) -> None: ... + def y(self) -> int: ... + def x(self) -> int: ... + def bottom(self) -> int: ... + def right(self) -> int: ... + def top(self) -> int: ... + def left(self) -> int: ... + def __bool__(self) -> int: ... + def isValid(self) -> bool: ... + def isEmpty(self) -> bool: ... + def isNull(self) -> bool: ... + def __repr__(self) -> str: ... + def intersects(self, r: 'QRect') -> bool: ... + @typing.overload + def __contains__(self, p: QPoint) -> int: ... + @typing.overload + def __contains__(self, r: 'QRect') -> int: ... + @typing.overload + def contains(self, point: QPoint, proper: bool = ...) -> bool: ... + @typing.overload + def contains(self, rectangle: 'QRect', proper: bool = ...) -> bool: ... + @typing.overload + def contains(self, ax: int, ay: int, aproper: bool) -> bool: ... + @typing.overload + def contains(self, ax: int, ay: int) -> bool: ... + def moveCenter(self, p: QPoint) -> None: ... + def normalized(self) -> 'QRect': ... + + +class QRectF(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, atopLeft: typing.Union[QPointF, QPoint], asize: 'QSizeF') -> None: ... + @typing.overload + def __init__(self, atopLeft: typing.Union[QPointF, QPoint], abottomRight: typing.Union[QPointF, QPoint]) -> None: ... + @typing.overload + def __init__(self, aleft: float, atop: float, awidth: float, aheight: float) -> None: ... + @typing.overload + def __init__(self, r: QRect) -> None: ... + @typing.overload + def __init__(self, a0: 'QRectF') -> None: ... + + def transposed(self) -> 'QRectF': ... + def marginsRemoved(self, margins: QMarginsF) -> 'QRectF': ... + def marginsAdded(self, margins: QMarginsF) -> 'QRectF': ... + def toRect(self) -> QRect: ... + def toAlignedRect(self) -> QRect: ... + def united(self, r: 'QRectF') -> 'QRectF': ... + def intersected(self, r: 'QRectF') -> 'QRectF': ... + def setSize(self, s: 'QSizeF') -> None: ... + def setHeight(self, ah: float) -> None: ... + def setWidth(self, aw: float) -> None: ... + def adjusted(self, xp1: float, yp1: float, xp2: float, yp2: float) -> 'QRectF': ... + def adjust(self, xp1: float, yp1: float, xp2: float, yp2: float) -> None: ... + def setCoords(self, xp1: float, yp1: float, xp2: float, yp2: float) -> None: ... + def getCoords(self) -> typing.Tuple[float, float, float, float]: ... + def setRect(self, ax: float, ay: float, aaw: float, aah: float) -> None: ... + def getRect(self) -> typing.Tuple[float, float, float, float]: ... + @typing.overload + def translated(self, dx: float, dy: float) -> 'QRectF': ... + @typing.overload + def translated(self, p: typing.Union[QPointF, QPoint]) -> 'QRectF': ... + @typing.overload + def moveTo(self, ax: float, ay: float) -> None: ... + @typing.overload + def moveTo(self, p: typing.Union[QPointF, QPoint]) -> None: ... + @typing.overload + def translate(self, dx: float, dy: float) -> None: ... + @typing.overload + def translate(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def size(self) -> 'QSizeF': ... + def height(self) -> float: ... + def width(self) -> float: ... + def moveCenter(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def moveBottomRight(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def moveBottomLeft(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def moveTopRight(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def moveTopLeft(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def moveBottom(self, pos: float) -> None: ... + def moveRight(self, pos: float) -> None: ... + def moveTop(self, pos: float) -> None: ... + def moveLeft(self, pos: float) -> None: ... + def center(self) -> QPointF: ... + def setBottomRight(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def setBottomLeft(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def setTopRight(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def setTopLeft(self, p: typing.Union[QPointF, QPoint]) -> None: ... + def setBottom(self, pos: float) -> None: ... + def setTop(self, pos: float) -> None: ... + def setRight(self, pos: float) -> None: ... + def setLeft(self, pos: float) -> None: ... + def y(self) -> float: ... + def x(self) -> float: ... + def __bool__(self) -> int: ... + def isValid(self) -> bool: ... + def isEmpty(self) -> bool: ... + def isNull(self) -> bool: ... + def intersects(self, r: 'QRectF') -> bool: ... + @typing.overload + def __contains__(self, p: typing.Union[QPointF, QPoint]) -> int: ... + @typing.overload + def __contains__(self, r: 'QRectF') -> int: ... + @typing.overload + def contains(self, p: typing.Union[QPointF, QPoint]) -> bool: ... + @typing.overload + def contains(self, r: 'QRectF') -> bool: ... + @typing.overload + def contains(self, ax: float, ay: float) -> bool: ... + def bottomLeft(self) -> QPointF: ... + def topRight(self) -> QPointF: ... + def bottomRight(self) -> QPointF: ... + def topLeft(self) -> QPointF: ... + def setY(self, pos: float) -> None: ... + def setX(self, pos: float) -> None: ... + def bottom(self) -> float: ... + def right(self) -> float: ... + def top(self) -> float: ... + def left(self) -> float: ... + def normalized(self) -> 'QRectF': ... + def __repr__(self) -> str: ... + + +class QRegExp(sip.simplewrapper): + + class CaretMode(int): + CaretAtZero = ... # type: QRegExp.CaretMode + CaretAtOffset = ... # type: QRegExp.CaretMode + CaretWontMatch = ... # type: QRegExp.CaretMode + + class PatternSyntax(int): + RegExp = ... # type: QRegExp.PatternSyntax + RegExp2 = ... # type: QRegExp.PatternSyntax + Wildcard = ... # type: QRegExp.PatternSyntax + FixedString = ... # type: QRegExp.PatternSyntax + WildcardUnix = ... # type: QRegExp.PatternSyntax + W3CXmlSchema11 = ... # type: QRegExp.PatternSyntax + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pattern: str, cs: Qt.CaseSensitivity = ..., syntax: 'QRegExp.PatternSyntax' = ...) -> None: ... + @typing.overload + def __init__(self, rx: 'QRegExp') -> None: ... + + def __hash__(self) -> int: ... + def swap(self, other: 'QRegExp') -> None: ... + def captureCount(self) -> int: ... + @staticmethod + def escape(str: str) -> str: ... + def errorString(self) -> str: ... + def pos(self, nth: int = ...) -> int: ... + def cap(self, nth: int = ...) -> str: ... + def capturedTexts(self) -> typing.List[str]: ... + def matchedLength(self) -> int: ... + def lastIndexIn(self, str: str, offset: int = ..., caretMode: 'QRegExp.CaretMode' = ...) -> int: ... + def indexIn(self, str: str, offset: int = ..., caretMode: 'QRegExp.CaretMode' = ...) -> int: ... + def exactMatch(self, str: str) -> bool: ... + def setMinimal(self, minimal: bool) -> None: ... + def isMinimal(self) -> bool: ... + def setPatternSyntax(self, syntax: 'QRegExp.PatternSyntax') -> None: ... + def patternSyntax(self) -> 'QRegExp.PatternSyntax': ... + def setCaseSensitivity(self, cs: Qt.CaseSensitivity) -> None: ... + def caseSensitivity(self) -> Qt.CaseSensitivity: ... + def setPattern(self, pattern: str) -> None: ... + def pattern(self) -> str: ... + def isValid(self) -> bool: ... + def isEmpty(self) -> bool: ... + def __repr__(self) -> str: ... + + +class QRegularExpression(sip.simplewrapper): + + class MatchOption(int): + NoMatchOption = ... # type: QRegularExpression.MatchOption + AnchoredMatchOption = ... # type: QRegularExpression.MatchOption + DontCheckSubjectStringMatchOption = ... # type: QRegularExpression.MatchOption + + class MatchType(int): + NormalMatch = ... # type: QRegularExpression.MatchType + PartialPreferCompleteMatch = ... # type: QRegularExpression.MatchType + PartialPreferFirstMatch = ... # type: QRegularExpression.MatchType + NoMatch = ... # type: QRegularExpression.MatchType + + class PatternOption(int): + NoPatternOption = ... # type: QRegularExpression.PatternOption + CaseInsensitiveOption = ... # type: QRegularExpression.PatternOption + DotMatchesEverythingOption = ... # type: QRegularExpression.PatternOption + MultilineOption = ... # type: QRegularExpression.PatternOption + ExtendedPatternSyntaxOption = ... # type: QRegularExpression.PatternOption + InvertedGreedinessOption = ... # type: QRegularExpression.PatternOption + DontCaptureOption = ... # type: QRegularExpression.PatternOption + UseUnicodePropertiesOption = ... # type: QRegularExpression.PatternOption + OptimizeOnFirstUsageOption = ... # type: QRegularExpression.PatternOption + DontAutomaticallyOptimizeOption = ... # type: QRegularExpression.PatternOption + + class PatternOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QRegularExpression.PatternOptions', 'QRegularExpression.PatternOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QRegularExpression.PatternOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QRegularExpression.PatternOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class MatchOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QRegularExpression.MatchOptions', 'QRegularExpression.MatchOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QRegularExpression.MatchOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QRegularExpression.MatchOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pattern: str, options: typing.Union['QRegularExpression.PatternOptions', 'QRegularExpression.PatternOption'] = ...) -> None: ... + @typing.overload + def __init__(self, re: 'QRegularExpression') -> None: ... + + @staticmethod + def anchoredPattern(expression: str) -> str: ... + @staticmethod + def wildcardToRegularExpression(str: str) -> str: ... + def __hash__(self) -> int: ... + def optimize(self) -> None: ... + def namedCaptureGroups(self) -> typing.List[str]: ... + @staticmethod + def escape(str: str) -> str: ... + def globalMatch(self, subject: str, offset: int = ..., matchType: 'QRegularExpression.MatchType' = ..., matchOptions: typing.Union['QRegularExpression.MatchOptions', 'QRegularExpression.MatchOption'] = ...) -> 'QRegularExpressionMatchIterator': ... + def match(self, subject: str, offset: int = ..., matchType: 'QRegularExpression.MatchType' = ..., matchOptions: typing.Union['QRegularExpression.MatchOptions', 'QRegularExpression.MatchOption'] = ...) -> 'QRegularExpressionMatch': ... + def captureCount(self) -> int: ... + def errorString(self) -> str: ... + def patternErrorOffset(self) -> int: ... + def isValid(self) -> bool: ... + def setPattern(self, pattern: str) -> None: ... + def pattern(self) -> str: ... + def swap(self, re: 'QRegularExpression') -> None: ... + def __repr__(self) -> str: ... + def setPatternOptions(self, options: typing.Union['QRegularExpression.PatternOptions', 'QRegularExpression.PatternOption']) -> None: ... + def patternOptions(self) -> 'QRegularExpression.PatternOptions': ... + + +class QRegularExpressionMatch(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, match: 'QRegularExpressionMatch') -> None: ... + + @typing.overload + def capturedEnd(self, nth: int = ...) -> int: ... + @typing.overload + def capturedEnd(self, name: str) -> int: ... + @typing.overload + def capturedLength(self, nth: int = ...) -> int: ... + @typing.overload + def capturedLength(self, name: str) -> int: ... + @typing.overload + def capturedStart(self, nth: int = ...) -> int: ... + @typing.overload + def capturedStart(self, name: str) -> int: ... + def capturedTexts(self) -> typing.List[str]: ... + @typing.overload + def captured(self, nth: int = ...) -> str: ... + @typing.overload + def captured(self, name: str) -> str: ... + def lastCapturedIndex(self) -> int: ... + def isValid(self) -> bool: ... + def hasPartialMatch(self) -> bool: ... + def hasMatch(self) -> bool: ... + def matchOptions(self) -> QRegularExpression.MatchOptions: ... + def matchType(self) -> QRegularExpression.MatchType: ... + def regularExpression(self) -> QRegularExpression: ... + def swap(self, match: 'QRegularExpressionMatch') -> None: ... + + +class QRegularExpressionMatchIterator(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, iterator: 'QRegularExpressionMatchIterator') -> None: ... + + def matchOptions(self) -> QRegularExpression.MatchOptions: ... + def matchType(self) -> QRegularExpression.MatchType: ... + def regularExpression(self) -> QRegularExpression: ... + def peekNext(self) -> QRegularExpressionMatch: ... + def next(self) -> QRegularExpressionMatch: ... + def hasNext(self) -> bool: ... + def isValid(self) -> bool: ... + def swap(self, iterator: 'QRegularExpressionMatchIterator') -> None: ... + + +class QResource(sip.simplewrapper): + + class Compression(int): + NoCompression = ... # type: QResource.Compression + ZlibCompression = ... # type: QResource.Compression + ZstdCompression = ... # type: QResource.Compression + + def __init__(self, fileName: str = ..., locale: QLocale = ...) -> None: ... + + def uncompressedData(self) -> QByteArray: ... + def uncompressedSize(self) -> int: ... + def compressionAlgorithm(self) -> 'QResource.Compression': ... + def lastModified(self) -> QDateTime: ... + def isFile(self) -> bool: ... + def isDir(self) -> bool: ... + def children(self) -> typing.List[str]: ... + @staticmethod + def unregisterResourceData(rccData: bytes, mapRoot: str = ...) -> bool: ... + @staticmethod + def unregisterResource(rccFileName: str, mapRoot: str = ...) -> bool: ... + @staticmethod + def registerResourceData(rccData: bytes, mapRoot: str = ...) -> bool: ... + @staticmethod + def registerResource(rccFileName: str, mapRoot: str = ...) -> bool: ... + def size(self) -> int: ... + def setLocale(self, locale: QLocale) -> None: ... + def setFileName(self, file: str) -> None: ... + def locale(self) -> QLocale: ... + def isValid(self) -> bool: ... + def isCompressed(self) -> bool: ... + def fileName(self) -> str: ... + def data(self) -> bytes: ... + def absoluteFilePath(self) -> str: ... + + +class QRunnable(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QRunnable') -> None: ... + + @staticmethod + def create(functionToRun: typing.Callable[[], None]) -> 'QRunnable': ... + def setAutoDelete(self, _autoDelete: bool) -> None: ... + def autoDelete(self) -> bool: ... + def run(self) -> None: ... + + +class QSaveFile(QFileDevice): + + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, name: str, parent: QObject) -> None: ... + + def writeData(self, data: bytes) -> int: ... + def directWriteFallback(self) -> bool: ... + def setDirectWriteFallback(self, enabled: bool) -> None: ... + def cancelWriting(self) -> None: ... + def commit(self) -> bool: ... + def open(self, flags: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> bool: ... + def setFileName(self, name: str) -> None: ... + def fileName(self) -> str: ... + + +class QSemaphore(sip.simplewrapper): + + def __init__(self, n: int = ...) -> None: ... + + def available(self) -> int: ... + def release(self, n: int = ...) -> None: ... + @typing.overload + def tryAcquire(self, n: int = ...) -> bool: ... + @typing.overload + def tryAcquire(self, n: int, timeout: int) -> bool: ... + def acquire(self, n: int = ...) -> None: ... + + +class QSemaphoreReleaser(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, sem: QSemaphore, n: int = ...) -> None: ... + + def cancel(self) -> QSemaphore: ... + def semaphore(self) -> QSemaphore: ... + def swap(self, other: 'QSemaphoreReleaser') -> None: ... + + +class QSequentialAnimationGroup(QAnimationGroup): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def updateDirection(self, direction: QAbstractAnimation.Direction) -> None: ... + def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... + def updateCurrentTime(self, a0: int) -> None: ... + def event(self, event: QEvent) -> bool: ... + def currentAnimationChanged(self, current: QAbstractAnimation) -> None: ... + def duration(self) -> int: ... + def currentAnimation(self) -> QAbstractAnimation: ... + def insertPause(self, index: int, msecs: int) -> QPauseAnimation: ... + def addPause(self, msecs: int) -> QPauseAnimation: ... + + +class QSettings(QObject): + + class Scope(int): + UserScope = ... # type: QSettings.Scope + SystemScope = ... # type: QSettings.Scope + + class Format(int): + NativeFormat = ... # type: QSettings.Format + IniFormat = ... # type: QSettings.Format + InvalidFormat = ... # type: QSettings.Format + + class Status(int): + NoError = ... # type: QSettings.Status + AccessError = ... # type: QSettings.Status + FormatError = ... # type: QSettings.Status + + @typing.overload + def __init__(self, organization: str, application: str = ..., parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, scope: 'QSettings.Scope', organization: str, application: str = ..., parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, format: 'QSettings.Format', scope: 'QSettings.Scope', organization: str, application: str = ..., parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: 'QSettings.Format', parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, scope: 'QSettings.Scope', parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def event(self, event: QEvent) -> bool: ... + def setAtomicSyncRequired(self, enable: bool) -> None: ... + def isAtomicSyncRequired(self) -> bool: ... + def iniCodec(self) -> 'QTextCodec': ... + @typing.overload + def setIniCodec(self, codec: 'QTextCodec') -> None: ... + @typing.overload + def setIniCodec(self, codecName: str) -> None: ... + @staticmethod + def defaultFormat() -> 'QSettings.Format': ... + @staticmethod + def setDefaultFormat(format: 'QSettings.Format') -> None: ... + def applicationName(self) -> str: ... + def organizationName(self) -> str: ... + def scope(self) -> 'QSettings.Scope': ... + def format(self) -> 'QSettings.Format': ... + @staticmethod + def setPath(format: 'QSettings.Format', scope: 'QSettings.Scope', path: str) -> None: ... + def fileName(self) -> str: ... + def fallbacksEnabled(self) -> bool: ... + def setFallbacksEnabled(self, b: bool) -> None: ... + def contains(self, key: str) -> bool: ... + def remove(self, key: str) -> None: ... + def value(self, key: str, defaultValue: typing.Any = ..., type: type = ...) -> typing.Any: ... + def setValue(self, key: str, value: typing.Any) -> None: ... + def isWritable(self) -> bool: ... + def childGroups(self) -> typing.List[str]: ... + def childKeys(self) -> typing.List[str]: ... + def allKeys(self) -> typing.List[str]: ... + def setArrayIndex(self, i: int) -> None: ... + def endArray(self) -> None: ... + def beginWriteArray(self, prefix: str, size: int = ...) -> None: ... + def beginReadArray(self, prefix: str) -> int: ... + def group(self) -> str: ... + def endGroup(self) -> None: ... + def beginGroup(self, prefix: str) -> None: ... + def status(self) -> 'QSettings.Status': ... + def sync(self) -> None: ... + def clear(self) -> None: ... + + +class QSharedMemory(QObject): + + class SharedMemoryError(int): + NoError = ... # type: QSharedMemory.SharedMemoryError + PermissionDenied = ... # type: QSharedMemory.SharedMemoryError + InvalidSize = ... # type: QSharedMemory.SharedMemoryError + KeyError = ... # type: QSharedMemory.SharedMemoryError + AlreadyExists = ... # type: QSharedMemory.SharedMemoryError + NotFound = ... # type: QSharedMemory.SharedMemoryError + LockError = ... # type: QSharedMemory.SharedMemoryError + OutOfResources = ... # type: QSharedMemory.SharedMemoryError + UnknownError = ... # type: QSharedMemory.SharedMemoryError + + class AccessMode(int): + ReadOnly = ... # type: QSharedMemory.AccessMode + ReadWrite = ... # type: QSharedMemory.AccessMode + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, key: str, parent: typing.Optional[QObject] = ...) -> None: ... + + def nativeKey(self) -> str: ... + def setNativeKey(self, key: str) -> None: ... + def errorString(self) -> str: ... + def error(self) -> 'QSharedMemory.SharedMemoryError': ... + def unlock(self) -> bool: ... + def lock(self) -> bool: ... + def constData(self) -> PyQt5.sip.voidptr: ... + def data(self) -> PyQt5.sip.voidptr: ... + def detach(self) -> bool: ... + def isAttached(self) -> bool: ... + def attach(self, mode: 'QSharedMemory.AccessMode' = ...) -> bool: ... + def size(self) -> int: ... + def create(self, size: int, mode: 'QSharedMemory.AccessMode' = ...) -> bool: ... + def key(self) -> str: ... + def setKey(self, key: str) -> None: ... + + +class QSignalMapper(QObject): + + from PyQt5.QtWidgets import QWidget + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + @typing.overload + def map(self) -> None: ... + @typing.overload + def map(self, sender: QObject) -> None: ... + def mappedObject(self, a0: QObject) -> None: ... + def mappedWidget(self, a0: QWidget) -> None: ... + def mappedString(self, a0: str) -> None: ... + def mappedInt(self, a0: int) -> None: ... + @typing.overload + def mapped(self, a0: int) -> None: ... + @typing.overload + def mapped(self, a0: str) -> None: ... + @typing.overload + def mapped(self, a0: QWidget) -> None: ... + @typing.overload + def mapped(self, a0: QObject) -> None: ... + @typing.overload + def mapping(self, id: int) -> QObject: ... + @typing.overload + def mapping(self, text: str) -> QObject: ... + @typing.overload + def mapping(self, widget: QWidget) -> QObject: ... + @typing.overload + def mapping(self, object: QObject) -> QObject: ... + def removeMappings(self, sender: QObject) -> None: ... + @typing.overload + def setMapping(self, sender: QObject, id: int) -> None: ... + @typing.overload + def setMapping(self, sender: QObject, text: str) -> None: ... + @typing.overload + def setMapping(self, sender: QObject, widget: QWidget) -> None: ... + @typing.overload + def setMapping(self, sender: QObject, object: QObject) -> None: ... + + +class QSignalTransition(QAbstractTransition): + + @typing.overload + def __init__(self, sourceState: typing.Optional['QState'] = ...) -> None: ... + @typing.overload + def __init__(self, signal: pyqtBoundSignal, sourceState: typing.Optional['QState'] = ...) -> None: ... + + def signalChanged(self) -> None: ... + def senderObjectChanged(self) -> None: ... + def event(self, e: QEvent) -> bool: ... + def onTransition(self, event: QEvent) -> None: ... + def eventTest(self, event: QEvent) -> bool: ... + def setSignal(self, signal: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + def signal(self) -> QByteArray: ... + def setSenderObject(self, sender: QObject) -> None: ... + def senderObject(self) -> QObject: ... + + +class QSize(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, w: int, h: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QSize') -> None: ... + + def shrunkBy(self, m: QMargins) -> 'QSize': ... + def grownBy(self, m: QMargins) -> 'QSize': ... + def transposed(self) -> 'QSize': ... + @typing.overload + def scaled(self, s: 'QSize', mode: Qt.AspectRatioMode) -> 'QSize': ... + @typing.overload + def scaled(self, w: int, h: int, mode: Qt.AspectRatioMode) -> 'QSize': ... + def boundedTo(self, otherSize: 'QSize') -> 'QSize': ... + def expandedTo(self, otherSize: 'QSize') -> 'QSize': ... + def setHeight(self, h: int) -> None: ... + def setWidth(self, w: int) -> None: ... + def height(self) -> int: ... + def width(self) -> int: ... + def __bool__(self) -> int: ... + def isValid(self) -> bool: ... + def isEmpty(self) -> bool: ... + def isNull(self) -> bool: ... + def __repr__(self) -> str: ... + @typing.overload + def scale(self, s: 'QSize', mode: Qt.AspectRatioMode) -> None: ... + @typing.overload + def scale(self, w: int, h: int, mode: Qt.AspectRatioMode) -> None: ... + def transpose(self) -> None: ... + + +class QSizeF(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, sz: QSize) -> None: ... + @typing.overload + def __init__(self, w: float, h: float) -> None: ... + @typing.overload + def __init__(self, a0: 'QSizeF') -> None: ... + + def shrunkBy(self, m: QMarginsF) -> 'QSizeF': ... + def grownBy(self, m: QMarginsF) -> 'QSizeF': ... + def transposed(self) -> 'QSizeF': ... + @typing.overload + def scaled(self, s: 'QSizeF', mode: Qt.AspectRatioMode) -> 'QSizeF': ... + @typing.overload + def scaled(self, w: float, h: float, mode: Qt.AspectRatioMode) -> 'QSizeF': ... + def toSize(self) -> QSize: ... + def boundedTo(self, otherSize: 'QSizeF') -> 'QSizeF': ... + def expandedTo(self, otherSize: 'QSizeF') -> 'QSizeF': ... + def setHeight(self, h: float) -> None: ... + def setWidth(self, w: float) -> None: ... + def height(self) -> float: ... + def width(self) -> float: ... + def __bool__(self) -> int: ... + def isValid(self) -> bool: ... + def isEmpty(self) -> bool: ... + def isNull(self) -> bool: ... + def __repr__(self) -> str: ... + @typing.overload + def scale(self, s: 'QSizeF', mode: Qt.AspectRatioMode) -> None: ... + @typing.overload + def scale(self, w: float, h: float, mode: Qt.AspectRatioMode) -> None: ... + def transpose(self) -> None: ... + + +class QSocketNotifier(QObject): + + class Type(int): + Read = ... # type: QSocketNotifier.Type + Write = ... # type: QSocketNotifier.Type + Exception = ... # type: QSocketNotifier.Type + + def __init__(self, socket: PyQt5.sip.voidptr, a1: 'QSocketNotifier.Type', parent: typing.Optional[QObject] = ...) -> None: ... + + def event(self, a0: QEvent) -> bool: ... + def activated(self, socket: int) -> None: ... + def setEnabled(self, a0: bool) -> None: ... + def isEnabled(self) -> bool: ... + def type(self) -> 'QSocketNotifier.Type': ... + def socket(self) -> PyQt5.sip.voidptr: ... + + +class QSortFilterProxyModel(QAbstractProxyModel): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def recursiveFilteringEnabledChanged(self, recursiveFilteringEnabled: bool) -> None: ... + def filterRoleChanged(self, filterRole: int) -> None: ... + def sortRoleChanged(self, sortRole: int) -> None: ... + def sortLocaleAwareChanged(self, sortLocaleAware: bool) -> None: ... + def sortCaseSensitivityChanged(self, sortCaseSensitivity: Qt.CaseSensitivity) -> None: ... + def filterCaseSensitivityChanged(self, filterCaseSensitivity: Qt.CaseSensitivity) -> None: ... + def dynamicSortFilterChanged(self, dynamicSortFilter: bool) -> None: ... + def invalidateFilter(self) -> None: ... + def setRecursiveFilteringEnabled(self, recursive: bool) -> None: ... + def isRecursiveFilteringEnabled(self) -> bool: ... + def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... + def setSortLocaleAware(self, on: bool) -> None: ... + def isSortLocaleAware(self) -> bool: ... + def supportedDropActions(self) -> Qt.DropActions: ... + def mimeTypes(self) -> typing.List[str]: ... + def setFilterRole(self, role: int) -> None: ... + def filterRole(self) -> int: ... + def sortOrder(self) -> Qt.SortOrder: ... + def sortColumn(self) -> int: ... + def setSortRole(self, role: int) -> None: ... + def sortRole(self) -> int: ... + def setDynamicSortFilter(self, enable: bool) -> None: ... + def dynamicSortFilter(self) -> bool: ... + def setSortCaseSensitivity(self, cs: Qt.CaseSensitivity) -> None: ... + def sortCaseSensitivity(self) -> Qt.CaseSensitivity: ... + def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ... + def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: typing.Union[Qt.MatchFlags, Qt.MatchFlag] = ...) -> typing.List[QModelIndex]: ... + def span(self, index: QModelIndex) -> QSize: ... + def buddy(self, index: QModelIndex) -> QModelIndex: ... + def flags(self, index: QModelIndex) -> Qt.ItemFlags: ... + def canFetchMore(self, parent: QModelIndex) -> bool: ... + def fetchMore(self, parent: QModelIndex) -> None: ... + def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ... + def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... + def mimeData(self, indexes: typing.Iterable[QModelIndex]) -> QMimeData: ... + def setHeaderData(self, section: int, orientation: Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ... + def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ... + def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, index: QModelIndex, role: int = ...) -> typing.Any: ... + def hasChildren(self, parent: QModelIndex = ...) -> bool: ... + def columnCount(self, parent: QModelIndex = ...) -> int: ... + def rowCount(self, parent: QModelIndex = ...) -> int: ... + @typing.overload + def parent(self, child: QModelIndex) -> QModelIndex: ... + @typing.overload + def parent(self) -> QObject: ... + def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ... + def lessThan(self, left: QModelIndex, right: QModelIndex) -> bool: ... + def filterAcceptsColumn(self, source_column: int, source_parent: QModelIndex) -> bool: ... + def filterAcceptsRow(self, source_row: int, source_parent: QModelIndex) -> bool: ... + def setFilterWildcard(self, pattern: str) -> None: ... + @typing.overload + def setFilterRegularExpression(self, regularExpression: QRegularExpression) -> None: ... + @typing.overload + def setFilterRegularExpression(self, pattern: str) -> None: ... + @typing.overload + def setFilterRegExp(self, regExp: QRegExp) -> None: ... + @typing.overload + def setFilterRegExp(self, pattern: str) -> None: ... + def setFilterFixedString(self, pattern: str) -> None: ... + def invalidate(self) -> None: ... + def setFilterCaseSensitivity(self, cs: Qt.CaseSensitivity) -> None: ... + def filterCaseSensitivity(self) -> Qt.CaseSensitivity: ... + def setFilterKeyColumn(self, column: int) -> None: ... + def filterKeyColumn(self) -> int: ... + def filterRegularExpression(self) -> QRegularExpression: ... + def filterRegExp(self) -> QRegExp: ... + def mapSelectionFromSource(self, sourceSelection: QItemSelection) -> QItemSelection: ... + def mapSelectionToSource(self, proxySelection: QItemSelection) -> QItemSelection: ... + def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ... + def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ... + def setSourceModel(self, sourceModel: QAbstractItemModel) -> None: ... + + +class QStandardPaths(sip.simplewrapper): + + class LocateOption(int): + LocateFile = ... # type: QStandardPaths.LocateOption + LocateDirectory = ... # type: QStandardPaths.LocateOption + + class StandardLocation(int): + DesktopLocation = ... # type: QStandardPaths.StandardLocation + DocumentsLocation = ... # type: QStandardPaths.StandardLocation + FontsLocation = ... # type: QStandardPaths.StandardLocation + ApplicationsLocation = ... # type: QStandardPaths.StandardLocation + MusicLocation = ... # type: QStandardPaths.StandardLocation + MoviesLocation = ... # type: QStandardPaths.StandardLocation + PicturesLocation = ... # type: QStandardPaths.StandardLocation + TempLocation = ... # type: QStandardPaths.StandardLocation + HomeLocation = ... # type: QStandardPaths.StandardLocation + DataLocation = ... # type: QStandardPaths.StandardLocation + CacheLocation = ... # type: QStandardPaths.StandardLocation + GenericDataLocation = ... # type: QStandardPaths.StandardLocation + RuntimeLocation = ... # type: QStandardPaths.StandardLocation + ConfigLocation = ... # type: QStandardPaths.StandardLocation + DownloadLocation = ... # type: QStandardPaths.StandardLocation + GenericCacheLocation = ... # type: QStandardPaths.StandardLocation + GenericConfigLocation = ... # type: QStandardPaths.StandardLocation + AppDataLocation = ... # type: QStandardPaths.StandardLocation + AppLocalDataLocation = ... # type: QStandardPaths.StandardLocation + AppConfigLocation = ... # type: QStandardPaths.StandardLocation + + class LocateOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStandardPaths.LocateOptions', 'QStandardPaths.LocateOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStandardPaths.LocateOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStandardPaths.LocateOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, a0: 'QStandardPaths') -> None: ... + + @staticmethod + def setTestModeEnabled(testMode: bool) -> None: ... + @staticmethod + def enableTestMode(testMode: bool) -> None: ... + @staticmethod + def findExecutable(executableName: str, paths: typing.Iterable[str] = ...) -> str: ... + @staticmethod + def displayName(type: 'QStandardPaths.StandardLocation') -> str: ... + @staticmethod + def locateAll(type: 'QStandardPaths.StandardLocation', fileName: str, options: 'QStandardPaths.LocateOptions' = ...) -> typing.List[str]: ... + @staticmethod + def locate(type: 'QStandardPaths.StandardLocation', fileName: str, options: 'QStandardPaths.LocateOptions' = ...) -> str: ... + @staticmethod + def standardLocations(type: 'QStandardPaths.StandardLocation') -> typing.List[str]: ... + @staticmethod + def writableLocation(type: 'QStandardPaths.StandardLocation') -> str: ... + + +class QState(QAbstractState): + + class RestorePolicy(int): + DontRestoreProperties = ... # type: QState.RestorePolicy + RestoreProperties = ... # type: QState.RestorePolicy + + class ChildMode(int): + ExclusiveStates = ... # type: QState.ChildMode + ParallelStates = ... # type: QState.ChildMode + + @typing.overload + def __init__(self, parent: typing.Optional['QState'] = ...) -> None: ... + @typing.overload + def __init__(self, childMode: 'QState.ChildMode', parent: typing.Optional['QState'] = ...) -> None: ... + + def errorStateChanged(self) -> None: ... + def initialStateChanged(self) -> None: ... + def childModeChanged(self) -> None: ... + def event(self, e: QEvent) -> bool: ... + def onExit(self, event: QEvent) -> None: ... + def onEntry(self, event: QEvent) -> None: ... + def propertiesAssigned(self) -> None: ... + def finished(self) -> None: ... + def assignProperty(self, object: QObject, name: str, value: typing.Any) -> None: ... + def setChildMode(self, mode: 'QState.ChildMode') -> None: ... + def childMode(self) -> 'QState.ChildMode': ... + def setInitialState(self, state: QAbstractState) -> None: ... + def initialState(self) -> QAbstractState: ... + def transitions(self) -> typing.List[QAbstractTransition]: ... + def removeTransition(self, transition: QAbstractTransition) -> None: ... + @typing.overload + def addTransition(self, transition: QAbstractTransition) -> None: ... + @typing.overload + def addTransition(self, signal: pyqtBoundSignal, target: QAbstractState) -> QSignalTransition: ... + @typing.overload + def addTransition(self, target: QAbstractState) -> QAbstractTransition: ... + def setErrorState(self, state: QAbstractState) -> None: ... + def errorState(self) -> QAbstractState: ... + + +class QStateMachine(QState): + + class Error(int): + NoError = ... # type: QStateMachine.Error + NoInitialStateError = ... # type: QStateMachine.Error + NoDefaultStateInHistoryStateError = ... # type: QStateMachine.Error + NoCommonAncestorForTransitionError = ... # type: QStateMachine.Error + StateMachineChildModeSetToParallelError = ... # type: QStateMachine.Error + + class EventPriority(int): + NormalPriority = ... # type: QStateMachine.EventPriority + HighPriority = ... # type: QStateMachine.EventPriority + + class SignalEvent(QEvent): + + def arguments(self) -> typing.List[typing.Any]: ... + def signalIndex(self) -> int: ... + def sender(self) -> QObject: ... + + class WrappedEvent(QEvent): + + def event(self) -> QEvent: ... + def object(self) -> QObject: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, childMode: QState.ChildMode, parent: typing.Optional[QObject] = ...) -> None: ... + + def event(self, e: QEvent) -> bool: ... + def onExit(self, event: QEvent) -> None: ... + def onEntry(self, event: QEvent) -> None: ... + def runningChanged(self, running: bool) -> None: ... + def stopped(self) -> None: ... + def started(self) -> None: ... + def setRunning(self, running: bool) -> None: ... + def stop(self) -> None: ... + def start(self) -> None: ... + def eventFilter(self, watched: QObject, event: QEvent) -> bool: ... + def configuration(self) -> typing.Set[QAbstractState]: ... + def cancelDelayedEvent(self, id: int) -> bool: ... + def postDelayedEvent(self, event: QEvent, delay: int) -> int: ... + def postEvent(self, event: QEvent, priority: 'QStateMachine.EventPriority' = ...) -> None: ... + def setGlobalRestorePolicy(self, restorePolicy: QState.RestorePolicy) -> None: ... + def globalRestorePolicy(self) -> QState.RestorePolicy: ... + def removeDefaultAnimation(self, animation: QAbstractAnimation) -> None: ... + def defaultAnimations(self) -> typing.List[QAbstractAnimation]: ... + def addDefaultAnimation(self, animation: QAbstractAnimation) -> None: ... + def setAnimated(self, enabled: bool) -> None: ... + def isAnimated(self) -> bool: ... + def isRunning(self) -> bool: ... + def clearError(self) -> None: ... + def errorString(self) -> str: ... + def error(self) -> 'QStateMachine.Error': ... + def removeState(self, state: QAbstractState) -> None: ... + def addState(self, state: QAbstractState) -> None: ... + + +class QStorageInfo(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, path: str) -> None: ... + @typing.overload + def __init__(self, dir: QDir) -> None: ... + @typing.overload + def __init__(self, other: 'QStorageInfo') -> None: ... + + def subvolume(self) -> QByteArray: ... + def blockSize(self) -> int: ... + def isRoot(self) -> bool: ... + @staticmethod + def root() -> 'QStorageInfo': ... + @staticmethod + def mountedVolumes() -> typing.List['QStorageInfo']: ... + def refresh(self) -> None: ... + def isValid(self) -> bool: ... + def isReady(self) -> bool: ... + def isReadOnly(self) -> bool: ... + def bytesAvailable(self) -> int: ... + def bytesFree(self) -> int: ... + def bytesTotal(self) -> int: ... + def displayName(self) -> str: ... + def name(self) -> str: ... + def fileSystemType(self) -> QByteArray: ... + def device(self) -> QByteArray: ... + def rootPath(self) -> str: ... + def setPath(self, path: str) -> None: ... + def swap(self, other: 'QStorageInfo') -> None: ... + + +class QStringListModel(QAbstractListModel): + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, strings: typing.Iterable[str], parent: typing.Optional[QObject] = ...) -> None: ... + + def setItemData(self, index: QModelIndex, roles: typing.Dict[int, typing.Any]) -> bool: ... + def itemData(self, index: QModelIndex) -> typing.Dict[int, typing.Any]: ... + def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... + def supportedDropActions(self) -> Qt.DropActions: ... + def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ... + def setStringList(self, strings: typing.Iterable[str]) -> None: ... + def stringList(self) -> typing.List[str]: ... + def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def flags(self, index: QModelIndex) -> Qt.ItemFlags: ... + def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, index: QModelIndex, role: int) -> typing.Any: ... + def rowCount(self, parent: QModelIndex = ...) -> int: ... + + +class QSystemSemaphore(sip.simplewrapper): + + class SystemSemaphoreError(int): + NoError = ... # type: QSystemSemaphore.SystemSemaphoreError + PermissionDenied = ... # type: QSystemSemaphore.SystemSemaphoreError + KeyError = ... # type: QSystemSemaphore.SystemSemaphoreError + AlreadyExists = ... # type: QSystemSemaphore.SystemSemaphoreError + NotFound = ... # type: QSystemSemaphore.SystemSemaphoreError + OutOfResources = ... # type: QSystemSemaphore.SystemSemaphoreError + UnknownError = ... # type: QSystemSemaphore.SystemSemaphoreError + + class AccessMode(int): + Open = ... # type: QSystemSemaphore.AccessMode + Create = ... # type: QSystemSemaphore.AccessMode + + def __init__(self, key: str, initialValue: int = ..., mode: 'QSystemSemaphore.AccessMode' = ...) -> None: ... + + def errorString(self) -> str: ... + def error(self) -> 'QSystemSemaphore.SystemSemaphoreError': ... + def release(self, n: int = ...) -> bool: ... + def acquire(self) -> bool: ... + def key(self) -> str: ... + def setKey(self, key: str, initialValue: int = ..., mode: 'QSystemSemaphore.AccessMode' = ...) -> None: ... + + +class QTemporaryDir(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, templateName: str) -> None: ... + + def filePath(self, fileName: str) -> str: ... + def errorString(self) -> str: ... + def path(self) -> str: ... + def remove(self) -> bool: ... + def setAutoRemove(self, b: bool) -> None: ... + def autoRemove(self) -> bool: ... + def isValid(self) -> bool: ... + + +class QTemporaryFile(QFile): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, templateName: str) -> None: ... + @typing.overload + def __init__(self, parent: QObject) -> None: ... + @typing.overload + def __init__(self, templateName: str, parent: QObject) -> None: ... + + def rename(self, newName: str) -> bool: ... + @typing.overload + @staticmethod + def createNativeFile(fileName: str) -> 'QTemporaryFile': ... + @typing.overload + @staticmethod + def createNativeFile(file: QFile) -> 'QTemporaryFile': ... + def setFileTemplate(self, name: str) -> None: ... + def fileTemplate(self) -> str: ... + def fileName(self) -> str: ... + @typing.overload + def open(self) -> bool: ... + @typing.overload + def open(self, flags: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> bool: ... + def setAutoRemove(self, b: bool) -> None: ... + def autoRemove(self) -> bool: ... + + +class QTextBoundaryFinder(sip.simplewrapper): + + class BoundaryType(int): + Grapheme = ... # type: QTextBoundaryFinder.BoundaryType + Word = ... # type: QTextBoundaryFinder.BoundaryType + Line = ... # type: QTextBoundaryFinder.BoundaryType + Sentence = ... # type: QTextBoundaryFinder.BoundaryType + + class BoundaryReason(int): + NotAtBoundary = ... # type: QTextBoundaryFinder.BoundaryReason + SoftHyphen = ... # type: QTextBoundaryFinder.BoundaryReason + BreakOpportunity = ... # type: QTextBoundaryFinder.BoundaryReason + StartOfItem = ... # type: QTextBoundaryFinder.BoundaryReason + EndOfItem = ... # type: QTextBoundaryFinder.BoundaryReason + MandatoryBreak = ... # type: QTextBoundaryFinder.BoundaryReason + + class BoundaryReasons(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextBoundaryFinder.BoundaryReasons', 'QTextBoundaryFinder.BoundaryReason']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextBoundaryFinder.BoundaryReasons') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextBoundaryFinder.BoundaryReasons': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QTextBoundaryFinder') -> None: ... + @typing.overload + def __init__(self, type: 'QTextBoundaryFinder.BoundaryType', string: str) -> None: ... + + def boundaryReasons(self) -> 'QTextBoundaryFinder.BoundaryReasons': ... + def isAtBoundary(self) -> bool: ... + def toPreviousBoundary(self) -> int: ... + def toNextBoundary(self) -> int: ... + def setPosition(self, position: int) -> None: ... + def position(self) -> int: ... + def toEnd(self) -> None: ... + def toStart(self) -> None: ... + def string(self) -> str: ... + def type(self) -> 'QTextBoundaryFinder.BoundaryType': ... + def isValid(self) -> bool: ... + + +class QTextCodec(PyQt5.sip.wrapper): + + class ConversionFlag(int): + DefaultConversion = ... # type: QTextCodec.ConversionFlag + ConvertInvalidToNull = ... # type: QTextCodec.ConversionFlag + IgnoreHeader = ... # type: QTextCodec.ConversionFlag + + class ConversionFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextCodec.ConversionFlags', 'QTextCodec.ConversionFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextCodec.ConversionFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextCodec.ConversionFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ConverterState(sip.simplewrapper): + + def __init__(self, flags: typing.Union['QTextCodec.ConversionFlags', 'QTextCodec.ConversionFlag'] = ...) -> None: ... + + def __init__(self) -> None: ... + + def convertFromUnicode(self, in_: str, state: 'QTextCodec.ConverterState') -> QByteArray: ... + def convertToUnicode(self, in_: bytes, state: 'QTextCodec.ConverterState') -> str: ... + def mibEnum(self) -> int: ... + def aliases(self) -> typing.List[QByteArray]: ... + def name(self) -> QByteArray: ... + def fromUnicode(self, uc: str) -> QByteArray: ... + @typing.overload + def toUnicode(self, a0: typing.Union[QByteArray, bytes, bytearray]) -> str: ... + @typing.overload + def toUnicode(self, chars: bytes) -> str: ... + @typing.overload + def toUnicode(self, in_: bytes, state: typing.Optional['QTextCodec.ConverterState'] = ...) -> str: ... + def canEncode(self, a0: str) -> bool: ... + def makeEncoder(self, flags: typing.Union['QTextCodec.ConversionFlags', 'QTextCodec.ConversionFlag'] = ...) -> 'QTextEncoder': ... + def makeDecoder(self, flags: typing.Union['QTextCodec.ConversionFlags', 'QTextCodec.ConversionFlag'] = ...) -> 'QTextDecoder': ... + @staticmethod + def setCodecForLocale(c: 'QTextCodec') -> None: ... + @staticmethod + def codecForLocale() -> 'QTextCodec': ... + @staticmethod + def availableMibs() -> typing.List[int]: ... + @staticmethod + def availableCodecs() -> typing.List[QByteArray]: ... + @typing.overload + @staticmethod + def codecForUtfText(ba: typing.Union[QByteArray, bytes, bytearray]) -> 'QTextCodec': ... + @typing.overload + @staticmethod + def codecForUtfText(ba: typing.Union[QByteArray, bytes, bytearray], defaultCodec: 'QTextCodec') -> 'QTextCodec': ... + @typing.overload + @staticmethod + def codecForHtml(ba: typing.Union[QByteArray, bytes, bytearray]) -> 'QTextCodec': ... + @typing.overload + @staticmethod + def codecForHtml(ba: typing.Union[QByteArray, bytes, bytearray], defaultCodec: 'QTextCodec') -> 'QTextCodec': ... + @staticmethod + def codecForMib(mib: int) -> 'QTextCodec': ... + @typing.overload + @staticmethod + def codecForName(name: typing.Union[QByteArray, bytes, bytearray]) -> 'QTextCodec': ... + @typing.overload + @staticmethod + def codecForName(name: str) -> 'QTextCodec': ... + + +class QTextEncoder(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self, codec: QTextCodec) -> None: ... + @typing.overload + def __init__(self, codec: QTextCodec, flags: typing.Union[QTextCodec.ConversionFlags, QTextCodec.ConversionFlag]) -> None: ... + + def fromUnicode(self, str: str) -> QByteArray: ... + + +class QTextDecoder(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self, codec: QTextCodec) -> None: ... + @typing.overload + def __init__(self, codec: QTextCodec, flags: typing.Union[QTextCodec.ConversionFlags, QTextCodec.ConversionFlag]) -> None: ... + + @typing.overload + def toUnicode(self, chars: bytes) -> str: ... + @typing.overload + def toUnicode(self, ba: typing.Union[QByteArray, bytes, bytearray]) -> str: ... + + +class QTextStream(sip.simplewrapper): + + class Status(int): + Ok = ... # type: QTextStream.Status + ReadPastEnd = ... # type: QTextStream.Status + ReadCorruptData = ... # type: QTextStream.Status + WriteFailed = ... # type: QTextStream.Status + + class NumberFlag(int): + ShowBase = ... # type: QTextStream.NumberFlag + ForcePoint = ... # type: QTextStream.NumberFlag + ForceSign = ... # type: QTextStream.NumberFlag + UppercaseBase = ... # type: QTextStream.NumberFlag + UppercaseDigits = ... # type: QTextStream.NumberFlag + + class FieldAlignment(int): + AlignLeft = ... # type: QTextStream.FieldAlignment + AlignRight = ... # type: QTextStream.FieldAlignment + AlignCenter = ... # type: QTextStream.FieldAlignment + AlignAccountingStyle = ... # type: QTextStream.FieldAlignment + + class RealNumberNotation(int): + SmartNotation = ... # type: QTextStream.RealNumberNotation + FixedNotation = ... # type: QTextStream.RealNumberNotation + ScientificNotation = ... # type: QTextStream.RealNumberNotation + + class NumberFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextStream.NumberFlags', 'QTextStream.NumberFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextStream.NumberFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextStream.NumberFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, device: QIODevice) -> None: ... + @typing.overload + def __init__(self, array: QByteArray, mode: typing.Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = ...) -> None: ... + + def locale(self) -> QLocale: ... + def setLocale(self, locale: QLocale) -> None: ... + def pos(self) -> int: ... + def resetStatus(self) -> None: ... + def setStatus(self, status: 'QTextStream.Status') -> None: ... + def status(self) -> 'QTextStream.Status': ... + def realNumberPrecision(self) -> int: ... + def setRealNumberPrecision(self, precision: int) -> None: ... + def realNumberNotation(self) -> 'QTextStream.RealNumberNotation': ... + def setRealNumberNotation(self, notation: 'QTextStream.RealNumberNotation') -> None: ... + def integerBase(self) -> int: ... + def setIntegerBase(self, base: int) -> None: ... + def numberFlags(self) -> 'QTextStream.NumberFlags': ... + def setNumberFlags(self, flags: typing.Union['QTextStream.NumberFlags', 'QTextStream.NumberFlag']) -> None: ... + def fieldWidth(self) -> int: ... + def setFieldWidth(self, width: int) -> None: ... + def padChar(self) -> str: ... + def setPadChar(self, ch: str) -> None: ... + def fieldAlignment(self) -> 'QTextStream.FieldAlignment': ... + def setFieldAlignment(self, alignment: 'QTextStream.FieldAlignment') -> None: ... + def readAll(self) -> str: ... + def readLine(self, maxLength: int = ...) -> str: ... + def read(self, maxlen: int) -> str: ... + def skipWhiteSpace(self) -> None: ... + def seek(self, pos: int) -> bool: ... + def flush(self) -> None: ... + def reset(self) -> None: ... + def atEnd(self) -> bool: ... + def device(self) -> QIODevice: ... + def setDevice(self, device: QIODevice) -> None: ... + def generateByteOrderMark(self) -> bool: ... + def setGenerateByteOrderMark(self, generate: bool) -> None: ... + def autoDetectUnicode(self) -> bool: ... + def setAutoDetectUnicode(self, enabled: bool) -> None: ... + def codec(self) -> QTextCodec: ... + @typing.overload + def setCodec(self, codec: QTextCodec) -> None: ... + @typing.overload + def setCodec(self, codecName: str) -> None: ... + + +class QTextStreamManipulator(sip.simplewrapper): ... + + +class QThread(QObject): + + class Priority(int): + IdlePriority = ... # type: QThread.Priority + LowestPriority = ... # type: QThread.Priority + LowPriority = ... # type: QThread.Priority + NormalPriority = ... # type: QThread.Priority + HighPriority = ... # type: QThread.Priority + HighestPriority = ... # type: QThread.Priority + TimeCriticalPriority = ... # type: QThread.Priority + InheritPriority = ... # type: QThread.Priority + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def loopLevel(self) -> int: ... + def isInterruptionRequested(self) -> bool: ... + def requestInterruption(self) -> None: ... + def setEventDispatcher(self, eventDispatcher: QAbstractEventDispatcher) -> None: ... + def eventDispatcher(self) -> QAbstractEventDispatcher: ... + @staticmethod + def usleep(a0: int) -> None: ... + @staticmethod + def msleep(a0: int) -> None: ... + @staticmethod + def sleep(a0: int) -> None: ... + def event(self, event: QEvent) -> bool: ... + @staticmethod + def setTerminationEnabled(enabled: bool = ...) -> None: ... + def exec(self) -> int: ... + def exec_(self) -> int: ... + def run(self) -> None: ... + def finished(self) -> None: ... + def started(self) -> None: ... + @typing.overload + def wait(self, msecs: int = ...) -> bool: ... + @typing.overload + def wait(self, deadline: QDeadlineTimer) -> bool: ... + def quit(self) -> None: ... + def terminate(self) -> None: ... + def start(self, priority: 'QThread.Priority' = ...) -> None: ... + def exit(self, returnCode: int = ...) -> None: ... + def stackSize(self) -> int: ... + def setStackSize(self, stackSize: int) -> None: ... + def priority(self) -> 'QThread.Priority': ... + def setPriority(self, priority: 'QThread.Priority') -> None: ... + def isRunning(self) -> bool: ... + def isFinished(self) -> bool: ... + @staticmethod + def yieldCurrentThread() -> None: ... + @staticmethod + def idealThreadCount() -> int: ... + @staticmethod + def currentThreadId() -> PyQt5.sip.voidptr: ... + @staticmethod + def currentThread() -> 'QThread': ... + + +class QThreadPool(QObject): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def stackSize(self) -> int: ... + def setStackSize(self, stackSize: int) -> None: ... + def cancel(self, runnable: QRunnable) -> None: ... + def clear(self) -> None: ... + def waitForDone(self, msecs: int = ...) -> bool: ... + def releaseThread(self) -> None: ... + def reserveThread(self) -> None: ... + def activeThreadCount(self) -> int: ... + def setMaxThreadCount(self, maxThreadCount: int) -> None: ... + def maxThreadCount(self) -> int: ... + def setExpiryTimeout(self, expiryTimeout: int) -> None: ... + def expiryTimeout(self) -> int: ... + def tryTake(self, runnable: QRunnable) -> bool: ... + @typing.overload + def tryStart(self, runnable: QRunnable) -> bool: ... + @typing.overload + def tryStart(self, functionToRun: typing.Callable[[], None]) -> bool: ... + @typing.overload + def start(self, runnable: QRunnable, priority: int = ...) -> None: ... + @typing.overload + def start(self, functionToRun: typing.Callable[[], None], priority: int = ...) -> None: ... + @staticmethod + def globalInstance() -> 'QThreadPool': ... + + +class QTimeLine(QObject): + + class State(int): + NotRunning = ... # type: QTimeLine.State + Paused = ... # type: QTimeLine.State + Running = ... # type: QTimeLine.State + + class Direction(int): + Forward = ... # type: QTimeLine.Direction + Backward = ... # type: QTimeLine.Direction + + class CurveShape(int): + EaseInCurve = ... # type: QTimeLine.CurveShape + EaseOutCurve = ... # type: QTimeLine.CurveShape + EaseInOutCurve = ... # type: QTimeLine.CurveShape + LinearCurve = ... # type: QTimeLine.CurveShape + SineCurve = ... # type: QTimeLine.CurveShape + CosineCurve = ... # type: QTimeLine.CurveShape + + def __init__(self, duration: int = ..., parent: typing.Optional[QObject] = ...) -> None: ... + + def setEasingCurve(self, curve: typing.Union[QEasingCurve, QEasingCurve.Type]) -> None: ... + def easingCurve(self) -> QEasingCurve: ... + def timerEvent(self, event: QTimerEvent) -> None: ... + def valueChanged(self, x: float) -> None: ... + def stateChanged(self, newState: 'QTimeLine.State') -> None: ... + def frameChanged(self, a0: int) -> None: ... + def finished(self) -> None: ... + def toggleDirection(self) -> None: ... + def stop(self) -> None: ... + def start(self) -> None: ... + def setPaused(self, paused: bool) -> None: ... + def setCurrentTime(self, msec: int) -> None: ... + def resume(self) -> None: ... + def valueForTime(self, msec: int) -> float: ... + def frameForTime(self, msec: int) -> int: ... + def currentValue(self) -> float: ... + def currentFrame(self) -> int: ... + def currentTime(self) -> int: ... + def setCurveShape(self, shape: 'QTimeLine.CurveShape') -> None: ... + def curveShape(self) -> 'QTimeLine.CurveShape': ... + def setUpdateInterval(self, interval: int) -> None: ... + def updateInterval(self) -> int: ... + def setFrameRange(self, startFrame: int, endFrame: int) -> None: ... + def setEndFrame(self, frame: int) -> None: ... + def endFrame(self) -> int: ... + def setStartFrame(self, frame: int) -> None: ... + def startFrame(self) -> int: ... + def setDuration(self, duration: int) -> None: ... + def duration(self) -> int: ... + def setDirection(self, direction: 'QTimeLine.Direction') -> None: ... + def direction(self) -> 'QTimeLine.Direction': ... + def setLoopCount(self, count: int) -> None: ... + def loopCount(self) -> int: ... + def state(self) -> 'QTimeLine.State': ... + + +class QTimer(QObject): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def remainingTime(self) -> int: ... + def timerType(self) -> Qt.TimerType: ... + def setTimerType(self, atype: Qt.TimerType) -> None: ... + def timerEvent(self, a0: QTimerEvent) -> None: ... + def timeout(self) -> None: ... + def stop(self) -> None: ... + @typing.overload + def start(self, msec: int) -> None: ... + @typing.overload + def start(self) -> None: ... + @typing.overload + @staticmethod + def singleShot(msec: int, slot: PYQT_SLOT) -> None: ... + @typing.overload + @staticmethod + def singleShot(msec: int, timerType: Qt.TimerType, slot: PYQT_SLOT) -> None: ... + def setSingleShot(self, asingleShot: bool) -> None: ... + def isSingleShot(self) -> bool: ... + def interval(self) -> int: ... + def setInterval(self, msec: int) -> None: ... + def timerId(self) -> int: ... + def isActive(self) -> bool: ... + + +class QTimeZone(sip.simplewrapper): + + class NameType(int): + DefaultName = ... # type: QTimeZone.NameType + LongName = ... # type: QTimeZone.NameType + ShortName = ... # type: QTimeZone.NameType + OffsetName = ... # type: QTimeZone.NameType + + class TimeType(int): + StandardTime = ... # type: QTimeZone.TimeType + DaylightTime = ... # type: QTimeZone.TimeType + GenericTime = ... # type: QTimeZone.TimeType + + class OffsetData(sip.simplewrapper): + + abbreviation = ... # type: str + atUtc = ... # type: typing.Union[QDateTime, datetime.datetime] + daylightTimeOffset = ... # type: int + offsetFromUtc = ... # type: int + standardTimeOffset = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTimeZone.OffsetData') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, ianaId: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, offsetSeconds: int) -> None: ... + @typing.overload + def __init__(self, zoneId: typing.Union[QByteArray, bytes, bytearray], offsetSeconds: int, name: str, abbreviation: str, country: QLocale.Country = ..., comment: str = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QTimeZone') -> None: ... + + @staticmethod + def utc() -> 'QTimeZone': ... + @staticmethod + def systemTimeZone() -> 'QTimeZone': ... + @typing.overload + @staticmethod + def windowsIdToIanaIds(windowsId: typing.Union[QByteArray, bytes, bytearray]) -> typing.List[QByteArray]: ... + @typing.overload + @staticmethod + def windowsIdToIanaIds(windowsId: typing.Union[QByteArray, bytes, bytearray], country: QLocale.Country) -> typing.List[QByteArray]: ... + @typing.overload + @staticmethod + def windowsIdToDefaultIanaId(windowsId: typing.Union[QByteArray, bytes, bytearray]) -> QByteArray: ... + @typing.overload + @staticmethod + def windowsIdToDefaultIanaId(windowsId: typing.Union[QByteArray, bytes, bytearray], country: QLocale.Country) -> QByteArray: ... + @staticmethod + def ianaIdToWindowsId(ianaId: typing.Union[QByteArray, bytes, bytearray]) -> QByteArray: ... + @typing.overload + @staticmethod + def availableTimeZoneIds() -> typing.List[QByteArray]: ... + @typing.overload + @staticmethod + def availableTimeZoneIds(country: QLocale.Country) -> typing.List[QByteArray]: ... + @typing.overload + @staticmethod + def availableTimeZoneIds(offsetSeconds: int) -> typing.List[QByteArray]: ... + @staticmethod + def isTimeZoneIdAvailable(ianaId: typing.Union[QByteArray, bytes, bytearray]) -> bool: ... + @staticmethod + def systemTimeZoneId() -> QByteArray: ... + def transitions(self, fromDateTime: typing.Union[QDateTime, datetime.datetime], toDateTime: typing.Union[QDateTime, datetime.datetime]) -> typing.List['QTimeZone.OffsetData']: ... + def previousTransition(self, beforeDateTime: typing.Union[QDateTime, datetime.datetime]) -> 'QTimeZone.OffsetData': ... + def nextTransition(self, afterDateTime: typing.Union[QDateTime, datetime.datetime]) -> 'QTimeZone.OffsetData': ... + def hasTransitions(self) -> bool: ... + def offsetData(self, forDateTime: typing.Union[QDateTime, datetime.datetime]) -> 'QTimeZone.OffsetData': ... + def isDaylightTime(self, atDateTime: typing.Union[QDateTime, datetime.datetime]) -> bool: ... + def hasDaylightTime(self) -> bool: ... + def daylightTimeOffset(self, atDateTime: typing.Union[QDateTime, datetime.datetime]) -> int: ... + def standardTimeOffset(self, atDateTime: typing.Union[QDateTime, datetime.datetime]) -> int: ... + def offsetFromUtc(self, atDateTime: typing.Union[QDateTime, datetime.datetime]) -> int: ... + def abbreviation(self, atDateTime: typing.Union[QDateTime, datetime.datetime]) -> str: ... + @typing.overload + def displayName(self, atDateTime: typing.Union[QDateTime, datetime.datetime], nameType: 'QTimeZone.NameType' = ..., locale: QLocale = ...) -> str: ... + @typing.overload + def displayName(self, timeType: 'QTimeZone.TimeType', nameType: 'QTimeZone.NameType' = ..., locale: QLocale = ...) -> str: ... + def comment(self) -> str: ... + def country(self) -> QLocale.Country: ... + def id(self) -> QByteArray: ... + def isValid(self) -> bool: ... + def swap(self, other: 'QTimeZone') -> None: ... + + +class QTranslator(QObject): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def filePath(self) -> str: ... + def language(self) -> str: ... + def loadFromData(self, data: bytes, directory: str = ...) -> bool: ... + @typing.overload + def load(self, fileName: str, directory: str = ..., searchDelimiters: str = ..., suffix: str = ...) -> bool: ... + @typing.overload + def load(self, locale: QLocale, fileName: str, prefix: str = ..., directory: str = ..., suffix: str = ...) -> bool: ... + def isEmpty(self) -> bool: ... + def translate(self, context: str, sourceText: str, disambiguation: typing.Optional[str] = ..., n: int = ...) -> str: ... + + +class QTransposeProxyModel(QAbstractProxyModel): + + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + + def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ... + def moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ... + def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ... + def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ... + def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ... + def parent(self, index: QModelIndex) -> QModelIndex: ... + def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ... + def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ... + def itemData(self, index: QModelIndex) -> typing.Dict[int, typing.Any]: ... + def span(self, index: QModelIndex) -> QSize: ... + def setItemData(self, index: QModelIndex, roles: typing.Dict[int, typing.Any]) -> bool: ... + def setHeaderData(self, section: int, orientation: Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ... + def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ... + def columnCount(self, parent: QModelIndex = ...) -> int: ... + def rowCount(self, parent: QModelIndex = ...) -> int: ... + def setSourceModel(self, newSourceModel: QAbstractItemModel) -> None: ... + + +class QUrl(sip.simplewrapper): + + class UserInputResolutionOption(int): + DefaultResolution = ... # type: QUrl.UserInputResolutionOption + AssumeLocalFile = ... # type: QUrl.UserInputResolutionOption + + class ComponentFormattingOption(int): + PrettyDecoded = ... # type: QUrl.ComponentFormattingOption + EncodeSpaces = ... # type: QUrl.ComponentFormattingOption + EncodeUnicode = ... # type: QUrl.ComponentFormattingOption + EncodeDelimiters = ... # type: QUrl.ComponentFormattingOption + EncodeReserved = ... # type: QUrl.ComponentFormattingOption + DecodeReserved = ... # type: QUrl.ComponentFormattingOption + FullyEncoded = ... # type: QUrl.ComponentFormattingOption + FullyDecoded = ... # type: QUrl.ComponentFormattingOption + + class UrlFormattingOption(int): + None_ = ... # type: QUrl.UrlFormattingOption + RemoveScheme = ... # type: QUrl.UrlFormattingOption + RemovePassword = ... # type: QUrl.UrlFormattingOption + RemoveUserInfo = ... # type: QUrl.UrlFormattingOption + RemovePort = ... # type: QUrl.UrlFormattingOption + RemoveAuthority = ... # type: QUrl.UrlFormattingOption + RemovePath = ... # type: QUrl.UrlFormattingOption + RemoveQuery = ... # type: QUrl.UrlFormattingOption + RemoveFragment = ... # type: QUrl.UrlFormattingOption + PreferLocalFile = ... # type: QUrl.UrlFormattingOption + StripTrailingSlash = ... # type: QUrl.UrlFormattingOption + RemoveFilename = ... # type: QUrl.UrlFormattingOption + NormalizePathSegments = ... # type: QUrl.UrlFormattingOption + + class ParsingMode(int): + TolerantMode = ... # type: QUrl.ParsingMode + StrictMode = ... # type: QUrl.ParsingMode + DecodedMode = ... # type: QUrl.ParsingMode + + class FormattingOptions(sip.simplewrapper): + + def __init__(self, a0: 'QUrl.FormattingOptions') -> None: ... + + + class ComponentFormattingOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QUrl.ComponentFormattingOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QUrl.ComponentFormattingOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class UserInputResolutionOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QUrl.UserInputResolutionOptions', 'QUrl.UserInputResolutionOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QUrl.UserInputResolutionOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QUrl.UserInputResolutionOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, url: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + @typing.overload + def __init__(self, copy: 'QUrl') -> None: ... + + def matches(self, url: 'QUrl', options: 'QUrl.FormattingOptions') -> bool: ... + def fileName(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def adjusted(self, options: 'QUrl.FormattingOptions') -> 'QUrl': ... + @staticmethod + def fromStringList(uris: typing.Iterable[str], mode: 'QUrl.ParsingMode' = ...) -> typing.List['QUrl']: ... + @staticmethod + def toStringList(uris: typing.Iterable['QUrl'], options: 'QUrl.FormattingOptions' = ...) -> typing.List[str]: ... + def query(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + @typing.overload + def setQuery(self, query: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + @typing.overload + def setQuery(self, query: 'QUrlQuery') -> None: ... + def toDisplayString(self, options: 'QUrl.FormattingOptions' = ...) -> str: ... + def isLocalFile(self) -> bool: ... + def topLevelDomain(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def swap(self, other: 'QUrl') -> None: ... + @typing.overload + @staticmethod + def fromUserInput(userInput: str) -> 'QUrl': ... + @typing.overload + @staticmethod + def fromUserInput(userInput: str, workingDirectory: str, options: typing.Union['QUrl.UserInputResolutionOptions', 'QUrl.UserInputResolutionOption'] = ...) -> 'QUrl': ... + @staticmethod + def setIdnWhitelist(a0: typing.Iterable[str]) -> None: ... + @staticmethod + def idnWhitelist() -> typing.List[str]: ... + @staticmethod + def toAce(a0: str) -> QByteArray: ... + @staticmethod + def fromAce(a0: typing.Union[QByteArray, bytes, bytearray]) -> str: ... + def errorString(self) -> str: ... + def hasFragment(self) -> bool: ... + def hasQuery(self) -> bool: ... + @staticmethod + def toPercentEncoding(input: str, exclude: typing.Union[QByteArray, bytes, bytearray] = ..., include: typing.Union[QByteArray, bytes, bytearray] = ...) -> QByteArray: ... + @staticmethod + def fromPercentEncoding(a0: typing.Union[QByteArray, bytes, bytearray]) -> str: ... + def isDetached(self) -> bool: ... + def detach(self) -> None: ... + @staticmethod + def fromEncoded(u: typing.Union[QByteArray, bytes, bytearray], mode: 'QUrl.ParsingMode' = ...) -> 'QUrl': ... + def toEncoded(self, options: 'QUrl.FormattingOptions' = ...) -> QByteArray: ... + def toString(self, options: 'QUrl.FormattingOptions' = ...) -> str: ... + def toLocalFile(self) -> str: ... + @staticmethod + def fromLocalFile(localfile: str) -> 'QUrl': ... + def isParentOf(self, url: 'QUrl') -> bool: ... + def isRelative(self) -> bool: ... + def resolved(self, relative: 'QUrl') -> 'QUrl': ... + def fragment(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def setFragment(self, fragment: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + def path(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def setPath(self, path: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + def port(self, defaultPort: int = ...) -> int: ... + def setPort(self, port: int) -> None: ... + def host(self, a0: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def setHost(self, host: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + def password(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def setPassword(self, password: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + def userName(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def setUserName(self, userName: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + def userInfo(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def setUserInfo(self, userInfo: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + def authority(self, options: typing.Union['QUrl.ComponentFormattingOptions', 'QUrl.ComponentFormattingOption'] = ...) -> str: ... + def setAuthority(self, authority: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + def scheme(self) -> str: ... + def setScheme(self, scheme: str) -> None: ... + def clear(self) -> None: ... + def isEmpty(self) -> bool: ... + def isValid(self) -> bool: ... + def setUrl(self, url: str, mode: 'QUrl.ParsingMode' = ...) -> None: ... + def url(self, options: 'QUrl.FormattingOptions' = ...) -> str: ... + def __repr__(self) -> str: ... + def __hash__(self) -> int: ... + + +class QUrlQuery(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, url: QUrl) -> None: ... + @typing.overload + def __init__(self, queryString: str) -> None: ... + @typing.overload + def __init__(self, other: 'QUrlQuery') -> None: ... + + def __hash__(self) -> int: ... + @staticmethod + def defaultQueryPairDelimiter() -> str: ... + @staticmethod + def defaultQueryValueDelimiter() -> str: ... + def removeAllQueryItems(self, key: str) -> None: ... + def allQueryItemValues(self, key: str, options: typing.Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = ...) -> typing.List[str]: ... + def queryItemValue(self, key: str, options: typing.Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = ...) -> str: ... + def removeQueryItem(self, key: str) -> None: ... + def addQueryItem(self, key: str, value: str) -> None: ... + def hasQueryItem(self, key: str) -> bool: ... + def queryItems(self, options: typing.Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = ...) -> typing.List[typing.Tuple[str, str]]: ... + def setQueryItems(self, query: typing.Iterable[typing.Tuple[str, str]]) -> None: ... + def queryPairDelimiter(self) -> str: ... + def queryValueDelimiter(self) -> str: ... + def setQueryDelimiters(self, valueDelimiter: str, pairDelimiter: str) -> None: ... + def toString(self, options: typing.Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = ...) -> str: ... + def setQuery(self, queryString: str) -> None: ... + def query(self, options: typing.Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = ...) -> str: ... + def clear(self) -> None: ... + def isDetached(self) -> bool: ... + def isEmpty(self) -> bool: ... + def swap(self, other: 'QUrlQuery') -> None: ... + + +class QUuid(sip.simplewrapper): + + class StringFormat(int): + WithBraces = ... # type: QUuid.StringFormat + WithoutBraces = ... # type: QUuid.StringFormat + Id128 = ... # type: QUuid.StringFormat + + class Version(int): + VerUnknown = ... # type: QUuid.Version + Time = ... # type: QUuid.Version + EmbeddedPOSIX = ... # type: QUuid.Version + Md5 = ... # type: QUuid.Version + Name = ... # type: QUuid.Version + Random = ... # type: QUuid.Version + Sha1 = ... # type: QUuid.Version + + class Variant(int): + VarUnknown = ... # type: QUuid.Variant + NCS = ... # type: QUuid.Variant + DCE = ... # type: QUuid.Variant + Microsoft = ... # type: QUuid.Variant + Reserved = ... # type: QUuid.Variant + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, l: int, w1: int, w2: int, b1: int, b2: int, b3: int, b4: int, b5: int, b6: int, b7: int, b8: int) -> None: ... + @typing.overload + def __init__(self, a0: str) -> None: ... + @typing.overload + def __init__(self, a0: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, a0: 'QUuid') -> None: ... + + @staticmethod + def fromRfc4122(a0: typing.Union[QByteArray, bytes, bytearray]) -> 'QUuid': ... + def toRfc4122(self) -> QByteArray: ... + @typing.overload + def toByteArray(self) -> QByteArray: ... + @typing.overload + def toByteArray(self, mode: 'QUuid.StringFormat') -> QByteArray: ... + def version(self) -> 'QUuid.Version': ... + def variant(self) -> 'QUuid.Variant': ... + @typing.overload + @staticmethod + def createUuidV5(ns: 'QUuid', baseData: typing.Union[QByteArray, bytes, bytearray]) -> 'QUuid': ... + @typing.overload + @staticmethod + def createUuidV5(ns: 'QUuid', baseData: str) -> 'QUuid': ... + @typing.overload + @staticmethod + def createUuidV3(ns: 'QUuid', baseData: typing.Union[QByteArray, bytes, bytearray]) -> 'QUuid': ... + @typing.overload + @staticmethod + def createUuidV3(ns: 'QUuid', baseData: str) -> 'QUuid': ... + @staticmethod + def createUuid() -> 'QUuid': ... + def isNull(self) -> bool: ... + @typing.overload + def toString(self) -> str: ... + @typing.overload + def toString(self, mode: 'QUuid.StringFormat') -> str: ... + def __repr__(self) -> str: ... + def __hash__(self) -> int: ... + + +class QVariant(sip.simplewrapper): + + class Type(int): + Invalid = ... # type: QVariant.Type + Bool = ... # type: QVariant.Type + Int = ... # type: QVariant.Type + UInt = ... # type: QVariant.Type + LongLong = ... # type: QVariant.Type + ULongLong = ... # type: QVariant.Type + Double = ... # type: QVariant.Type + Char = ... # type: QVariant.Type + Map = ... # type: QVariant.Type + List = ... # type: QVariant.Type + String = ... # type: QVariant.Type + StringList = ... # type: QVariant.Type + ByteArray = ... # type: QVariant.Type + BitArray = ... # type: QVariant.Type + Date = ... # type: QVariant.Type + Time = ... # type: QVariant.Type + DateTime = ... # type: QVariant.Type + Url = ... # type: QVariant.Type + Locale = ... # type: QVariant.Type + Rect = ... # type: QVariant.Type + RectF = ... # type: QVariant.Type + Size = ... # type: QVariant.Type + SizeF = ... # type: QVariant.Type + Line = ... # type: QVariant.Type + LineF = ... # type: QVariant.Type + Point = ... # type: QVariant.Type + PointF = ... # type: QVariant.Type + RegExp = ... # type: QVariant.Type + Font = ... # type: QVariant.Type + Pixmap = ... # type: QVariant.Type + Brush = ... # type: QVariant.Type + Color = ... # type: QVariant.Type + Palette = ... # type: QVariant.Type + Icon = ... # type: QVariant.Type + Image = ... # type: QVariant.Type + Polygon = ... # type: QVariant.Type + Region = ... # type: QVariant.Type + Bitmap = ... # type: QVariant.Type + Cursor = ... # type: QVariant.Type + SizePolicy = ... # type: QVariant.Type + KeySequence = ... # type: QVariant.Type + Pen = ... # type: QVariant.Type + TextLength = ... # type: QVariant.Type + TextFormat = ... # type: QVariant.Type + Matrix = ... # type: QVariant.Type + Transform = ... # type: QVariant.Type + Hash = ... # type: QVariant.Type + Matrix4x4 = ... # type: QVariant.Type + Vector2D = ... # type: QVariant.Type + Vector3D = ... # type: QVariant.Type + Vector4D = ... # type: QVariant.Type + Quaternion = ... # type: QVariant.Type + EasingCurve = ... # type: QVariant.Type + Uuid = ... # type: QVariant.Type + ModelIndex = ... # type: QVariant.Type + PolygonF = ... # type: QVariant.Type + RegularExpression = ... # type: QVariant.Type + PersistentModelIndex = ... # type: QVariant.Type + UserType = ... # type: QVariant.Type + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, type: 'QVariant.Type') -> None: ... + @typing.overload + def __init__(self, obj: typing.Any) -> None: ... + @typing.overload + def __init__(self, a0: 'QVariant') -> None: ... + + def swap(self, other: 'QVariant') -> None: ... + @staticmethod + def nameToType(name: str) -> 'QVariant.Type': ... + @staticmethod + def typeToName(typeId: int) -> str: ... + def save(self, ds: QDataStream) -> None: ... + def load(self, ds: QDataStream) -> None: ... + def clear(self) -> None: ... + def isNull(self) -> bool: ... + def isValid(self) -> bool: ... + def convert(self, targetTypeId: int) -> bool: ... + def canConvert(self, targetTypeId: int) -> bool: ... + def typeName(self) -> str: ... + def userType(self) -> int: ... + def type(self) -> 'QVariant.Type': ... + def value(self) -> typing.Any: ... + + +class QVersionNumber(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, seg: typing.Iterable[int]) -> None: ... + @typing.overload + def __init__(self, maj: int) -> None: ... + @typing.overload + def __init__(self, maj: int, min: int) -> None: ... + @typing.overload + def __init__(self, maj: int, min: int, mic: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QVersionNumber') -> None: ... + + def __hash__(self) -> int: ... + @staticmethod + def fromString(string: str) -> typing.Tuple['QVersionNumber', int]: ... + def toString(self) -> str: ... + @staticmethod + def commonPrefix(v1: 'QVersionNumber', v2: 'QVersionNumber') -> 'QVersionNumber': ... + @staticmethod + def compare(v1: 'QVersionNumber', v2: 'QVersionNumber') -> int: ... + def isPrefixOf(self, other: 'QVersionNumber') -> bool: ... + def segmentCount(self) -> int: ... + def segmentAt(self, index: int) -> int: ... + def segments(self) -> typing.List[int]: ... + def normalized(self) -> 'QVersionNumber': ... + def microVersion(self) -> int: ... + def minorVersion(self) -> int: ... + def majorVersion(self) -> int: ... + def isNormalized(self) -> bool: ... + def isNull(self) -> bool: ... + + +class QWaitCondition(sip.simplewrapper): + + def __init__(self) -> None: ... + + def wakeAll(self) -> None: ... + def wakeOne(self) -> None: ... + @typing.overload + def wait(self, mutex: QMutex, msecs: int = ...) -> bool: ... + @typing.overload + def wait(self, lockedMutex: QMutex, deadline: QDeadlineTimer) -> bool: ... + @typing.overload + def wait(self, readWriteLock: QReadWriteLock, msecs: int = ...) -> bool: ... + @typing.overload + def wait(self, lockedReadWriteLock: QReadWriteLock, deadline: QDeadlineTimer) -> bool: ... + + +class QXmlStreamAttribute(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, qualifiedName: str, value: str) -> None: ... + @typing.overload + def __init__(self, namespaceUri: str, name: str, value: str) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlStreamAttribute') -> None: ... + + def isDefault(self) -> bool: ... + def value(self) -> str: ... + def prefix(self) -> str: ... + def qualifiedName(self) -> str: ... + def name(self) -> str: ... + def namespaceUri(self) -> str: ... + + +class QXmlStreamAttributes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlStreamAttributes') -> None: ... + + def __contains__(self, value: QXmlStreamAttribute) -> int: ... + @typing.overload + def __delitem__(self, i: int) -> None: ... + @typing.overload + def __delitem__(self, slice: slice) -> None: ... + @typing.overload + def __setitem__(self, i: int, value: QXmlStreamAttribute) -> None: ... + @typing.overload + def __setitem__(self, slice: slice, list: 'QXmlStreamAttributes') -> None: ... + @typing.overload + def __getitem__(self, i: int) -> QXmlStreamAttribute: ... + @typing.overload + def __getitem__(self, slice: slice) -> 'QXmlStreamAttributes': ... + def size(self) -> int: ... + def replace(self, i: int, value: QXmlStreamAttribute) -> None: ... + @typing.overload + def remove(self, i: int) -> None: ... + @typing.overload + def remove(self, i: int, count: int) -> None: ... + def prepend(self, value: QXmlStreamAttribute) -> None: ... + def lastIndexOf(self, value: QXmlStreamAttribute, from_: int = ...) -> int: ... + def last(self) -> QXmlStreamAttribute: ... + def isEmpty(self) -> bool: ... + def insert(self, i: int, value: QXmlStreamAttribute) -> None: ... + def indexOf(self, value: QXmlStreamAttribute, from_: int = ...) -> int: ... + def first(self) -> QXmlStreamAttribute: ... + def fill(self, value: QXmlStreamAttribute, size: int = ...) -> None: ... + def data(self) -> PyQt5.sip.voidptr: ... + def __len__(self) -> int: ... + @typing.overload + def count(self, value: QXmlStreamAttribute) -> int: ... + @typing.overload + def count(self) -> int: ... + def contains(self, value: QXmlStreamAttribute) -> bool: ... + def clear(self) -> None: ... + def at(self, i: int) -> QXmlStreamAttribute: ... + @typing.overload + def hasAttribute(self, qualifiedName: str) -> bool: ... + @typing.overload + def hasAttribute(self, namespaceUri: str, name: str) -> bool: ... + @typing.overload + def append(self, namespaceUri: str, name: str, value: str) -> None: ... + @typing.overload + def append(self, qualifiedName: str, value: str) -> None: ... + @typing.overload + def append(self, attribute: QXmlStreamAttribute) -> None: ... + @typing.overload + def value(self, namespaceUri: str, name: str) -> str: ... + @typing.overload + def value(self, qualifiedName: str) -> str: ... + + +class QXmlStreamNamespaceDeclaration(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlStreamNamespaceDeclaration') -> None: ... + @typing.overload + def __init__(self, prefix: str, namespaceUri: str) -> None: ... + + def namespaceUri(self) -> str: ... + def prefix(self) -> str: ... + + +class QXmlStreamNotationDeclaration(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlStreamNotationDeclaration') -> None: ... + + def publicId(self) -> str: ... + def systemId(self) -> str: ... + def name(self) -> str: ... + + +class QXmlStreamEntityDeclaration(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlStreamEntityDeclaration') -> None: ... + + def value(self) -> str: ... + def publicId(self) -> str: ... + def systemId(self) -> str: ... + def notationName(self) -> str: ... + def name(self) -> str: ... + + +class QXmlStreamEntityResolver(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlStreamEntityResolver') -> None: ... + + def resolveUndeclaredEntity(self, name: str) -> str: ... + + +class QXmlStreamReader(sip.simplewrapper): + + class Error(int): + NoError = ... # type: QXmlStreamReader.Error + UnexpectedElementError = ... # type: QXmlStreamReader.Error + CustomError = ... # type: QXmlStreamReader.Error + NotWellFormedError = ... # type: QXmlStreamReader.Error + PrematureEndOfDocumentError = ... # type: QXmlStreamReader.Error + + class ReadElementTextBehaviour(int): + ErrorOnUnexpectedElement = ... # type: QXmlStreamReader.ReadElementTextBehaviour + IncludeChildElements = ... # type: QXmlStreamReader.ReadElementTextBehaviour + SkipChildElements = ... # type: QXmlStreamReader.ReadElementTextBehaviour + + class TokenType(int): + NoToken = ... # type: QXmlStreamReader.TokenType + Invalid = ... # type: QXmlStreamReader.TokenType + StartDocument = ... # type: QXmlStreamReader.TokenType + EndDocument = ... # type: QXmlStreamReader.TokenType + StartElement = ... # type: QXmlStreamReader.TokenType + EndElement = ... # type: QXmlStreamReader.TokenType + Characters = ... # type: QXmlStreamReader.TokenType + Comment = ... # type: QXmlStreamReader.TokenType + DTD = ... # type: QXmlStreamReader.TokenType + EntityReference = ... # type: QXmlStreamReader.TokenType + ProcessingInstruction = ... # type: QXmlStreamReader.TokenType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, device: QIODevice) -> None: ... + @typing.overload + def __init__(self, data: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, data: str) -> None: ... + + def setEntityExpansionLimit(self, limit: int) -> None: ... + def entityExpansionLimit(self) -> int: ... + def skipCurrentElement(self) -> None: ... + def readNextStartElement(self) -> bool: ... + def entityResolver(self) -> QXmlStreamEntityResolver: ... + def setEntityResolver(self, resolver: QXmlStreamEntityResolver) -> None: ... + def hasError(self) -> bool: ... + def error(self) -> 'QXmlStreamReader.Error': ... + def errorString(self) -> str: ... + def raiseError(self, message: str = ...) -> None: ... + def dtdSystemId(self) -> str: ... + def dtdPublicId(self) -> str: ... + def dtdName(self) -> str: ... + def entityDeclarations(self) -> typing.List[QXmlStreamEntityDeclaration]: ... + def notationDeclarations(self) -> typing.List[QXmlStreamNotationDeclaration]: ... + def addExtraNamespaceDeclarations(self, extraNamespaceDeclaractions: typing.Iterable[QXmlStreamNamespaceDeclaration]) -> None: ... + def addExtraNamespaceDeclaration(self, extraNamespaceDeclaraction: QXmlStreamNamespaceDeclaration) -> None: ... + def namespaceDeclarations(self) -> typing.List[QXmlStreamNamespaceDeclaration]: ... + def text(self) -> str: ... + def processingInstructionData(self) -> str: ... + def processingInstructionTarget(self) -> str: ... + def prefix(self) -> str: ... + def qualifiedName(self) -> str: ... + def namespaceUri(self) -> str: ... + def name(self) -> str: ... + def readElementText(self, behaviour: 'QXmlStreamReader.ReadElementTextBehaviour' = ...) -> str: ... + def attributes(self) -> QXmlStreamAttributes: ... + def characterOffset(self) -> int: ... + def columnNumber(self) -> int: ... + def lineNumber(self) -> int: ... + def documentEncoding(self) -> str: ... + def documentVersion(self) -> str: ... + def isStandaloneDocument(self) -> bool: ... + def isProcessingInstruction(self) -> bool: ... + def isEntityReference(self) -> bool: ... + def isDTD(self) -> bool: ... + def isComment(self) -> bool: ... + def isCDATA(self) -> bool: ... + def isWhitespace(self) -> bool: ... + def isCharacters(self) -> bool: ... + def isEndElement(self) -> bool: ... + def isStartElement(self) -> bool: ... + def isEndDocument(self) -> bool: ... + def isStartDocument(self) -> bool: ... + def namespaceProcessing(self) -> bool: ... + def setNamespaceProcessing(self, a0: bool) -> None: ... + def tokenString(self) -> str: ... + def tokenType(self) -> 'QXmlStreamReader.TokenType': ... + def readNext(self) -> 'QXmlStreamReader.TokenType': ... + def atEnd(self) -> bool: ... + def clear(self) -> None: ... + @typing.overload + def addData(self, data: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def addData(self, data: str) -> None: ... + def device(self) -> QIODevice: ... + def setDevice(self, device: QIODevice) -> None: ... + + +class QXmlStreamWriter(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, device: QIODevice) -> None: ... + @typing.overload + def __init__(self, array: typing.Union[QByteArray, bytes, bytearray]) -> None: ... + + def hasError(self) -> bool: ... + def writeCurrentToken(self, reader: QXmlStreamReader) -> None: ... + @typing.overload + def writeStartElement(self, qualifiedName: str) -> None: ... + @typing.overload + def writeStartElement(self, namespaceUri: str, name: str) -> None: ... + @typing.overload + def writeStartDocument(self) -> None: ... + @typing.overload + def writeStartDocument(self, version: str) -> None: ... + @typing.overload + def writeStartDocument(self, version: str, standalone: bool) -> None: ... + def writeProcessingInstruction(self, target: str, data: str = ...) -> None: ... + def writeDefaultNamespace(self, namespaceUri: str) -> None: ... + def writeNamespace(self, namespaceUri: str, prefix: str = ...) -> None: ... + def writeEntityReference(self, name: str) -> None: ... + def writeEndElement(self) -> None: ... + def writeEndDocument(self) -> None: ... + @typing.overload + def writeTextElement(self, qualifiedName: str, text: str) -> None: ... + @typing.overload + def writeTextElement(self, namespaceUri: str, name: str, text: str) -> None: ... + @typing.overload + def writeEmptyElement(self, qualifiedName: str) -> None: ... + @typing.overload + def writeEmptyElement(self, namespaceUri: str, name: str) -> None: ... + def writeDTD(self, dtd: str) -> None: ... + def writeComment(self, text: str) -> None: ... + def writeCharacters(self, text: str) -> None: ... + def writeCDATA(self, text: str) -> None: ... + def writeAttributes(self, attributes: QXmlStreamAttributes) -> None: ... + @typing.overload + def writeAttribute(self, qualifiedName: str, value: str) -> None: ... + @typing.overload + def writeAttribute(self, namespaceUri: str, name: str, value: str) -> None: ... + @typing.overload + def writeAttribute(self, attribute: QXmlStreamAttribute) -> None: ... + def autoFormattingIndent(self) -> int: ... + def setAutoFormattingIndent(self, spaces: int) -> None: ... + def autoFormatting(self) -> bool: ... + def setAutoFormatting(self, a0: bool) -> None: ... + def codec(self) -> QTextCodec: ... + @typing.overload + def setCodec(self, codec: QTextCodec) -> None: ... + @typing.overload + def setCodec(self, codecName: str) -> None: ... + def device(self) -> QIODevice: ... + def setDevice(self, device: QIODevice) -> None: ... + + +class QSysInfo(sip.simplewrapper): + + class WinVersion(int): + WV_32s = ... # type: QSysInfo.WinVersion + WV_95 = ... # type: QSysInfo.WinVersion + WV_98 = ... # type: QSysInfo.WinVersion + WV_Me = ... # type: QSysInfo.WinVersion + WV_DOS_based = ... # type: QSysInfo.WinVersion + WV_NT = ... # type: QSysInfo.WinVersion + WV_2000 = ... # type: QSysInfo.WinVersion + WV_XP = ... # type: QSysInfo.WinVersion + WV_2003 = ... # type: QSysInfo.WinVersion + WV_VISTA = ... # type: QSysInfo.WinVersion + WV_WINDOWS7 = ... # type: QSysInfo.WinVersion + WV_WINDOWS8 = ... # type: QSysInfo.WinVersion + WV_WINDOWS8_1 = ... # type: QSysInfo.WinVersion + WV_WINDOWS10 = ... # type: QSysInfo.WinVersion + WV_NT_based = ... # type: QSysInfo.WinVersion + WV_4_0 = ... # type: QSysInfo.WinVersion + WV_5_0 = ... # type: QSysInfo.WinVersion + WV_5_1 = ... # type: QSysInfo.WinVersion + WV_5_2 = ... # type: QSysInfo.WinVersion + WV_6_0 = ... # type: QSysInfo.WinVersion + WV_6_1 = ... # type: QSysInfo.WinVersion + WV_6_2 = ... # type: QSysInfo.WinVersion + WV_6_3 = ... # type: QSysInfo.WinVersion + WV_10_0 = ... # type: QSysInfo.WinVersion + WV_CE = ... # type: QSysInfo.WinVersion + WV_CENET = ... # type: QSysInfo.WinVersion + WV_CE_5 = ... # type: QSysInfo.WinVersion + WV_CE_6 = ... # type: QSysInfo.WinVersion + WV_CE_based = ... # type: QSysInfo.WinVersion + + class Endian(int): + BigEndian = ... # type: QSysInfo.Endian + LittleEndian = ... # type: QSysInfo.Endian + ByteOrder = ... # type: QSysInfo.Endian + + class Sizes(int): + WordSize = ... # type: QSysInfo.Sizes + + WindowsVersion = ... # type: 'QSysInfo.WinVersion' + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSysInfo') -> None: ... + + @staticmethod + def machineHostName() -> str: ... + @staticmethod + def productVersion() -> str: ... + @staticmethod + def productType() -> str: ... + @staticmethod + def prettyProductName() -> str: ... + @staticmethod + def kernelVersion() -> str: ... + @staticmethod + def kernelType() -> str: ... + @staticmethod + def currentCpuArchitecture() -> str: ... + @staticmethod + def buildCpuArchitecture() -> str: ... + @staticmethod + def buildAbi() -> str: ... + @staticmethod + def windowsVersion() -> 'QSysInfo.WinVersion': ... + + +class QWinEventNotifier(QObject): + + @typing.overload + def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... + @typing.overload + def __init__(self, hEvent: PyQt5.sip.voidptr, parent: typing.Optional[QObject] = ...) -> None: ... + + def event(self, e: QEvent) -> bool: ... + def activated(self, hEvent: PyQt5.sip.voidptr) -> None: ... + def setEnabled(self, enable: bool) -> None: ... + def setHandle(self, hEvent: PyQt5.sip.voidptr) -> None: ... + def isEnabled(self) -> bool: ... + def handle(self) -> PyQt5.sip.voidptr: ... + + +PYQT_VERSION = ... # type: int +PYQT_VERSION_STR = ... # type: str +QT_VERSION = ... # type: int +QT_VERSION_STR = ... # type: str + + +def qSetRealNumberPrecision(precision: int) -> QTextStreamManipulator: ... +def qSetPadChar(ch: str) -> QTextStreamManipulator: ... +def qSetFieldWidth(width: int) -> QTextStreamManipulator: ... +def ws(s: QTextStream) -> QTextStream: ... +def bom(s: QTextStream) -> QTextStream: ... +def reset(s: QTextStream) -> QTextStream: ... +def flush(s: QTextStream) -> QTextStream: ... +def endl(s: QTextStream) -> QTextStream: ... +def center(s: QTextStream) -> QTextStream: ... +def right(s: QTextStream) -> QTextStream: ... +def left(s: QTextStream) -> QTextStream: ... +def scientific(s: QTextStream) -> QTextStream: ... +def fixed(s: QTextStream) -> QTextStream: ... +def lowercasedigits(s: QTextStream) -> QTextStream: ... +def lowercasebase(s: QTextStream) -> QTextStream: ... +def uppercasedigits(s: QTextStream) -> QTextStream: ... +def uppercasebase(s: QTextStream) -> QTextStream: ... +def noforcepoint(s: QTextStream) -> QTextStream: ... +def noforcesign(s: QTextStream) -> QTextStream: ... +def noshowbase(s: QTextStream) -> QTextStream: ... +def forcepoint(s: QTextStream) -> QTextStream: ... +def forcesign(s: QTextStream) -> QTextStream: ... +def showbase(s: QTextStream) -> QTextStream: ... +def hex_(s: QTextStream) -> QTextStream: ... +def dec(s: QTextStream) -> QTextStream: ... +def oct_(s: QTextStream) -> QTextStream: ... +def bin_(s: QTextStream) -> QTextStream: ... +def Q_RETURN_ARG(type: typing.Any) -> QGenericReturnArgument: ... +def Q_ARG(type: typing.Any, data: typing.Any) -> QGenericArgument: ... +def pyqtSlot(*types, name: typing.Optional[str] = ..., result: typing.Optional[str] = ...) -> typing.Callable[..., typing.Optional[str]]: ... +def QT_TRANSLATE_NOOP(a0: str, a1: str) -> str: ... +def QT_TR_NOOP_UTF8(a0: str) -> str: ... +def QT_TR_NOOP(a0: str) -> str: ... +def Q_FLAGS(*a0) -> None: ... +def Q_FLAG(a0: typing.Union[type, enum.Enum]) -> None: ... +def Q_ENUMS(*a0) -> None: ... +def Q_ENUM(a0: typing.Union[type, enum.Enum]) -> None: ... +def Q_CLASSINFO(name: str, value: str) -> None: ... +def qFloatDistance(a: float, b: float) -> int: ... +def qQNaN() -> float: ... +def qSNaN() -> float: ... +def qInf() -> float: ... +def qIsNaN(d: float) -> bool: ... +def qIsFinite(d: float) -> bool: ... +def qIsInf(d: float) -> bool: ... +def qFormatLogMessage(type: QtMsgType, context: QMessageLogContext, buf: str) -> str: ... +def qSetMessagePattern(messagePattern: str) -> None: ... +def qInstallMessageHandler(a0: typing.Optional[typing.Callable[[QtMsgType, QMessageLogContext, str], None]]) -> typing.Optional[typing.Callable[[QtMsgType, QMessageLogContext, str], None]]: ... +def qWarning(msg: str) -> None: ... +def qInfo(msg: str) -> None: ... +def qFatal(msg: str) -> None: ... +@typing.overload +def qErrnoWarning(code: int, msg: str) -> None: ... +@typing.overload +def qErrnoWarning(msg: str) -> None: ... +def qDebug(msg: str) -> None: ... +def qCritical(msg: str) -> None: ... +def pyqtRestoreInputHook() -> None: ... +def pyqtRemoveInputHook() -> None: ... +def qAddPreRoutine(routine: typing.Callable[[], None]) -> None: ... +def qRemovePostRoutine(a0: typing.Callable[..., None]) -> None: ... +def qAddPostRoutine(a0: typing.Callable[..., None]) -> None: ... +@typing.overload +def qChecksum(s: bytes) -> int: ... +@typing.overload +def qChecksum(s: bytes, standard: Qt.ChecksumType) -> int: ... +def qUncompress(data: typing.Union[QByteArray, bytes, bytearray]) -> QByteArray: ... +def qCompress(data: typing.Union[QByteArray, bytes, bytearray], compressionLevel: int = ...) -> QByteArray: ... +@typing.overload +def qEnvironmentVariable(varName: str) -> str: ... +@typing.overload +def qEnvironmentVariable(varName: str, defaultValue: str) -> str: ... +def pyqtPickleProtocol() -> typing.Optional[int]: ... +def pyqtSetPickleProtocol(a0: typing.Optional[int]) -> None: ... +def qrand() -> int: ... +def qsrand(seed: int) -> None: ... +def qIsNull(d: float) -> bool: ... +def qFuzzyCompare(p1: float, p2: float) -> bool: ... +def qUnregisterResourceData(a0: int, a1: bytes, a2: bytes, a3: bytes) -> bool: ... +def qRegisterResourceData(a0: int, a1: bytes, a2: bytes, a3: bytes) -> bool: ... +def qSharedBuild() -> bool: ... +def qVersion() -> str: ... +def qRound64(d: float) -> int: ... +def qRound(d: float) -> int: ... +def qAbs(t: float) -> float: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtDBus.pyi b/OTHERS/Jarvis/ools/PyQt5/QtDBus.pyi new file mode 100644 index 00000000..3eb0248e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtDBus.pyi @@ -0,0 +1,519 @@ +# The PEP 484 type hints stub file for the QtDBus module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QDBusAbstractAdaptor(QtCore.QObject): + + def __init__(self, parent: QtCore.QObject) -> None: ... + + def autoRelaySignals(self) -> bool: ... + def setAutoRelaySignals(self, enable: bool) -> None: ... + + +class QDBusAbstractInterface(QtCore.QObject): + + def __init__(self, service: str, path: str, interface: str, connection: 'QDBusConnection', parent: QtCore.QObject) -> None: ... + + def disconnectNotify(self, signal: QtCore.QMetaMethod) -> None: ... + def connectNotify(self, signal: QtCore.QMetaMethod) -> None: ... + def asyncCallWithArgumentList(self, method: str, args: typing.Iterable[typing.Any]) -> 'QDBusPendingCall': ... + def asyncCall(self, method: str, arg1: typing.Any = ..., arg2: typing.Any = ..., arg3: typing.Any = ..., arg4: typing.Any = ..., arg5: typing.Any = ..., arg6: typing.Any = ..., arg7: typing.Any = ..., arg8: typing.Any = ...) -> 'QDBusPendingCall': ... + @typing.overload + def callWithCallback(self, method: str, args: typing.Iterable[typing.Any], returnMethod: PYQT_SLOT, errorMethod: PYQT_SLOT) -> bool: ... + @typing.overload + def callWithCallback(self, method: str, args: typing.Iterable[typing.Any], slot: PYQT_SLOT) -> bool: ... + def callWithArgumentList(self, mode: 'QDBus.CallMode', method: str, args: typing.Iterable[typing.Any]) -> 'QDBusMessage': ... + @typing.overload + def call(self, method: str, arg1: typing.Any = ..., arg2: typing.Any = ..., arg3: typing.Any = ..., arg4: typing.Any = ..., arg5: typing.Any = ..., arg6: typing.Any = ..., arg7: typing.Any = ..., arg8: typing.Any = ...) -> 'QDBusMessage': ... + @typing.overload + def call(self, mode: 'QDBus.CallMode', method: str, arg1: typing.Any = ..., arg2: typing.Any = ..., arg3: typing.Any = ..., arg4: typing.Any = ..., arg5: typing.Any = ..., arg6: typing.Any = ..., arg7: typing.Any = ..., arg8: typing.Any = ...) -> 'QDBusMessage': ... + def timeout(self) -> int: ... + def setTimeout(self, timeout: int) -> None: ... + def lastError(self) -> 'QDBusError': ... + def interface(self) -> str: ... + def path(self) -> str: ... + def service(self) -> str: ... + def connection(self) -> 'QDBusConnection': ... + def isValid(self) -> bool: ... + + +class QDBusArgument(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QDBusArgument') -> None: ... + @typing.overload + def __init__(self, arg: typing.Any, id: int = ...) -> None: ... + + def swap(self, other: 'QDBusArgument') -> None: ... + def endMapEntry(self) -> None: ... + def beginMapEntry(self) -> None: ... + def endMap(self) -> None: ... + def beginMap(self, kid: int, vid: int) -> None: ... + def endArray(self) -> None: ... + def beginArray(self, id: int) -> None: ... + def endStructure(self) -> None: ... + def beginStructure(self) -> None: ... + def add(self, arg: typing.Any, id: int = ...) -> None: ... + + +class QDBus(PyQt5.sip.simplewrapper): + + class CallMode(int): + NoBlock = ... # type: QDBus.CallMode + Block = ... # type: QDBus.CallMode + BlockWithGui = ... # type: QDBus.CallMode + AutoDetect = ... # type: QDBus.CallMode + + +class QDBusConnection(sip.simplewrapper): + + class ConnectionCapability(int): + UnixFileDescriptorPassing = ... # type: QDBusConnection.ConnectionCapability + + class UnregisterMode(int): + UnregisterNode = ... # type: QDBusConnection.UnregisterMode + UnregisterTree = ... # type: QDBusConnection.UnregisterMode + + class RegisterOption(int): + ExportAdaptors = ... # type: QDBusConnection.RegisterOption + ExportScriptableSlots = ... # type: QDBusConnection.RegisterOption + ExportScriptableSignals = ... # type: QDBusConnection.RegisterOption + ExportScriptableProperties = ... # type: QDBusConnection.RegisterOption + ExportScriptableInvokables = ... # type: QDBusConnection.RegisterOption + ExportScriptableContents = ... # type: QDBusConnection.RegisterOption + ExportNonScriptableSlots = ... # type: QDBusConnection.RegisterOption + ExportNonScriptableSignals = ... # type: QDBusConnection.RegisterOption + ExportNonScriptableProperties = ... # type: QDBusConnection.RegisterOption + ExportNonScriptableInvokables = ... # type: QDBusConnection.RegisterOption + ExportNonScriptableContents = ... # type: QDBusConnection.RegisterOption + ExportAllSlots = ... # type: QDBusConnection.RegisterOption + ExportAllSignals = ... # type: QDBusConnection.RegisterOption + ExportAllProperties = ... # type: QDBusConnection.RegisterOption + ExportAllInvokables = ... # type: QDBusConnection.RegisterOption + ExportAllContents = ... # type: QDBusConnection.RegisterOption + ExportAllSignal = ... # type: QDBusConnection.RegisterOption + ExportChildObjects = ... # type: QDBusConnection.RegisterOption + + class BusType(int): + SessionBus = ... # type: QDBusConnection.BusType + SystemBus = ... # type: QDBusConnection.BusType + ActivationBus = ... # type: QDBusConnection.BusType + + class RegisterOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDBusConnection.RegisterOptions', 'QDBusConnection.RegisterOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDBusConnection.RegisterOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDBusConnection.RegisterOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ConnectionCapabilities(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDBusConnection.ConnectionCapabilities', 'QDBusConnection.ConnectionCapability']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDBusConnection.ConnectionCapabilities') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDBusConnection.ConnectionCapabilities': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, other: 'QDBusConnection') -> None: ... + + def swap(self, other: 'QDBusConnection') -> None: ... + @staticmethod + def sender() -> 'QDBusConnection': ... + @staticmethod + def systemBus() -> 'QDBusConnection': ... + @staticmethod + def sessionBus() -> 'QDBusConnection': ... + @staticmethod + def localMachineId() -> QtCore.QByteArray: ... + @staticmethod + def disconnectFromPeer(name: str) -> None: ... + @staticmethod + def disconnectFromBus(name: str) -> None: ... + @staticmethod + def connectToPeer(address: str, name: str) -> 'QDBusConnection': ... + @typing.overload + @staticmethod + def connectToBus(type: 'QDBusConnection.BusType', name: str) -> 'QDBusConnection': ... + @typing.overload + @staticmethod + def connectToBus(address: str, name: str) -> 'QDBusConnection': ... + def interface(self) -> 'QDBusConnectionInterface': ... + def unregisterService(self, serviceName: str) -> bool: ... + def registerService(self, serviceName: str) -> bool: ... + def objectRegisteredAt(self, path: str) -> QtCore.QObject: ... + def unregisterObject(self, path: str, mode: 'QDBusConnection.UnregisterMode' = ...) -> None: ... + @typing.overload + def registerObject(self, path: str, object: QtCore.QObject, options: typing.Union['QDBusConnection.RegisterOptions', 'QDBusConnection.RegisterOption'] = ...) -> bool: ... + @typing.overload + def registerObject(self, path: str, interface: str, object: QtCore.QObject, options: typing.Union['QDBusConnection.RegisterOptions', 'QDBusConnection.RegisterOption'] = ...) -> bool: ... + @typing.overload + def disconnect(self, service: str, path: str, interface: str, name: str, slot: PYQT_SLOT) -> bool: ... + @typing.overload + def disconnect(self, service: str, path: str, interface: str, name: str, signature: str, slot: PYQT_SLOT) -> bool: ... + @typing.overload + def disconnect(self, service: str, path: str, interface: str, name: str, argumentMatch: typing.Iterable[str], signature: str, slot: PYQT_SLOT) -> bool: ... + @typing.overload + def connect(self, service: str, path: str, interface: str, name: str, slot: PYQT_SLOT) -> bool: ... + @typing.overload + def connect(self, service: str, path: str, interface: str, name: str, signature: str, slot: PYQT_SLOT) -> bool: ... + @typing.overload + def connect(self, service: str, path: str, interface: str, name: str, argumentMatch: typing.Iterable[str], signature: str, slot: PYQT_SLOT) -> bool: ... + def asyncCall(self, message: 'QDBusMessage', timeout: int = ...) -> 'QDBusPendingCall': ... + def call(self, message: 'QDBusMessage', mode: QDBus.CallMode = ..., timeout: int = ...) -> 'QDBusMessage': ... + def callWithCallback(self, message: 'QDBusMessage', returnMethod: PYQT_SLOT, errorMethod: PYQT_SLOT, timeout: int = ...) -> bool: ... + def send(self, message: 'QDBusMessage') -> bool: ... + def connectionCapabilities(self) -> 'QDBusConnection.ConnectionCapabilities': ... + def name(self) -> str: ... + def lastError(self) -> 'QDBusError': ... + def baseService(self) -> str: ... + def isConnected(self) -> bool: ... + + +class QDBusConnectionInterface(QDBusAbstractInterface): + + class RegisterServiceReply(int): + ServiceNotRegistered = ... # type: QDBusConnectionInterface.RegisterServiceReply + ServiceRegistered = ... # type: QDBusConnectionInterface.RegisterServiceReply + ServiceQueued = ... # type: QDBusConnectionInterface.RegisterServiceReply + + class ServiceReplacementOptions(int): + DontAllowReplacement = ... # type: QDBusConnectionInterface.ServiceReplacementOptions + AllowReplacement = ... # type: QDBusConnectionInterface.ServiceReplacementOptions + + class ServiceQueueOptions(int): + DontQueueService = ... # type: QDBusConnectionInterface.ServiceQueueOptions + QueueService = ... # type: QDBusConnectionInterface.ServiceQueueOptions + ReplaceExistingService = ... # type: QDBusConnectionInterface.ServiceQueueOptions + + def disconnectNotify(self, a0: QtCore.QMetaMethod) -> None: ... + def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ... + def callWithCallbackFailed(self, error: 'QDBusError', call: 'QDBusMessage') -> None: ... + def serviceOwnerChanged(self, name: str, oldOwner: str, newOwner: str) -> None: ... + def serviceUnregistered(self, service: str) -> None: ... + def serviceRegistered(self, service: str) -> None: ... + def startService(self, name: str) -> QDBusReply: ... + def serviceUid(self, serviceName: str) -> QDBusReply: ... + def servicePid(self, serviceName: str) -> QDBusReply: ... + def registerService(self, serviceName: str, qoption: 'QDBusConnectionInterface.ServiceQueueOptions' = ..., roption: 'QDBusConnectionInterface.ServiceReplacementOptions' = ...) -> QDBusReply: ... + def unregisterService(self, serviceName: str) -> QDBusReply: ... + def serviceOwner(self, name: str) -> QDBusReply: ... + def isServiceRegistered(self, serviceName: str) -> QDBusReply: ... + def activatableServiceNames(self) -> QDBusReply: ... + def registeredServiceNames(self) -> QDBusReply: ... + + +class QDBusError(sip.simplewrapper): + + class ErrorType(int): + NoError = ... # type: QDBusError.ErrorType + Other = ... # type: QDBusError.ErrorType + Failed = ... # type: QDBusError.ErrorType + NoMemory = ... # type: QDBusError.ErrorType + ServiceUnknown = ... # type: QDBusError.ErrorType + NoReply = ... # type: QDBusError.ErrorType + BadAddress = ... # type: QDBusError.ErrorType + NotSupported = ... # type: QDBusError.ErrorType + LimitsExceeded = ... # type: QDBusError.ErrorType + AccessDenied = ... # type: QDBusError.ErrorType + NoServer = ... # type: QDBusError.ErrorType + Timeout = ... # type: QDBusError.ErrorType + NoNetwork = ... # type: QDBusError.ErrorType + AddressInUse = ... # type: QDBusError.ErrorType + Disconnected = ... # type: QDBusError.ErrorType + InvalidArgs = ... # type: QDBusError.ErrorType + UnknownMethod = ... # type: QDBusError.ErrorType + TimedOut = ... # type: QDBusError.ErrorType + InvalidSignature = ... # type: QDBusError.ErrorType + UnknownInterface = ... # type: QDBusError.ErrorType + InternalError = ... # type: QDBusError.ErrorType + UnknownObject = ... # type: QDBusError.ErrorType + InvalidService = ... # type: QDBusError.ErrorType + InvalidObjectPath = ... # type: QDBusError.ErrorType + InvalidInterface = ... # type: QDBusError.ErrorType + InvalidMember = ... # type: QDBusError.ErrorType + UnknownProperty = ... # type: QDBusError.ErrorType + PropertyReadOnly = ... # type: QDBusError.ErrorType + + def __init__(self, other: 'QDBusError') -> None: ... + + def swap(self, other: 'QDBusError') -> None: ... + @staticmethod + def errorString(error: 'QDBusError.ErrorType') -> str: ... + def isValid(self) -> bool: ... + def message(self) -> str: ... + def name(self) -> str: ... + def type(self) -> 'QDBusError.ErrorType': ... + + +class QDBusObjectPath(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, objectPath: str) -> None: ... + @typing.overload + def __init__(self, a0: 'QDBusObjectPath') -> None: ... + + def swap(self, other: 'QDBusObjectPath') -> None: ... + def __hash__(self) -> int: ... + def setPath(self, objectPath: str) -> None: ... + def path(self) -> str: ... + + +class QDBusSignature(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, dBusSignature: str) -> None: ... + @typing.overload + def __init__(self, a0: 'QDBusSignature') -> None: ... + + def swap(self, other: 'QDBusSignature') -> None: ... + def __hash__(self) -> int: ... + def setSignature(self, dBusSignature: str) -> None: ... + def signature(self) -> str: ... + + +class QDBusVariant(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, dBusVariant: typing.Any) -> None: ... + @typing.overload + def __init__(self, a0: 'QDBusVariant') -> None: ... + + def swap(self, other: 'QDBusVariant') -> None: ... + def setVariant(self, dBusVariant: typing.Any) -> None: ... + def variant(self) -> typing.Any: ... + + +class QDBusInterface(QDBusAbstractInterface): + + def __init__(self, service: str, path: str, interface: str = ..., connection: QDBusConnection = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + +class QDBusMessage(sip.simplewrapper): + + class MessageType(int): + InvalidMessage = ... # type: QDBusMessage.MessageType + MethodCallMessage = ... # type: QDBusMessage.MessageType + ReplyMessage = ... # type: QDBusMessage.MessageType + ErrorMessage = ... # type: QDBusMessage.MessageType + SignalMessage = ... # type: QDBusMessage.MessageType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QDBusMessage') -> None: ... + + def isInteractiveAuthorizationAllowed(self) -> bool: ... + def setInteractiveAuthorizationAllowed(self, enable: bool) -> None: ... + @staticmethod + def createTargetedSignal(service: str, path: str, interface: str, name: str) -> 'QDBusMessage': ... + def swap(self, other: 'QDBusMessage') -> None: ... + def arguments(self) -> typing.List[typing.Any]: ... + def setArguments(self, arguments: typing.Iterable[typing.Any]) -> None: ... + def autoStartService(self) -> bool: ... + def setAutoStartService(self, enable: bool) -> None: ... + def isDelayedReply(self) -> bool: ... + def setDelayedReply(self, enable: bool) -> None: ... + def isReplyRequired(self) -> bool: ... + def signature(self) -> str: ... + def type(self) -> 'QDBusMessage.MessageType': ... + def errorMessage(self) -> str: ... + def errorName(self) -> str: ... + def member(self) -> str: ... + def interface(self) -> str: ... + def path(self) -> str: ... + def service(self) -> str: ... + @typing.overload + def createErrorReply(self, name: str, msg: str) -> 'QDBusMessage': ... + @typing.overload + def createErrorReply(self, error: QDBusError) -> 'QDBusMessage': ... + @typing.overload + def createErrorReply(self, type: QDBusError.ErrorType, msg: str) -> 'QDBusMessage': ... + @typing.overload + def createReply(self, arguments: typing.Iterable[typing.Any] = ...) -> 'QDBusMessage': ... + @typing.overload + def createReply(self, argument: typing.Any) -> 'QDBusMessage': ... + @typing.overload + @staticmethod + def createError(name: str, msg: str) -> 'QDBusMessage': ... + @typing.overload + @staticmethod + def createError(error: QDBusError) -> 'QDBusMessage': ... + @typing.overload + @staticmethod + def createError(type: QDBusError.ErrorType, msg: str) -> 'QDBusMessage': ... + @staticmethod + def createMethodCall(service: str, path: str, interface: str, method: str) -> 'QDBusMessage': ... + @staticmethod + def createSignal(path: str, interface: str, name: str) -> 'QDBusMessage': ... + + +class QDBusPendingCall(sip.simplewrapper): + + def __init__(self, other: 'QDBusPendingCall') -> None: ... + + def swap(self, other: 'QDBusPendingCall') -> None: ... + @staticmethod + def fromCompletedCall(message: QDBusMessage) -> 'QDBusPendingCall': ... + @staticmethod + def fromError(error: QDBusError) -> 'QDBusPendingCall': ... + + +class QDBusPendingCallWatcher(QtCore.QObject, QDBusPendingCall): + + def __init__(self, call: QDBusPendingCall, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def finished(self, watcher: typing.Optional['QDBusPendingCallWatcher'] = ...) -> None: ... + def waitForFinished(self) -> None: ... + def isFinished(self) -> bool: ... + + +class QDBusServiceWatcher(QtCore.QObject): + + class WatchModeFlag(int): + WatchForRegistration = ... # type: QDBusServiceWatcher.WatchModeFlag + WatchForUnregistration = ... # type: QDBusServiceWatcher.WatchModeFlag + WatchForOwnerChange = ... # type: QDBusServiceWatcher.WatchModeFlag + + class WatchMode(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDBusServiceWatcher.WatchMode') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDBusServiceWatcher.WatchMode': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, service: str, connection: QDBusConnection, watchMode: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag'] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def serviceOwnerChanged(self, service: str, oldOwner: str, newOwner: str) -> None: ... + def serviceUnregistered(self, service: str) -> None: ... + def serviceRegistered(self, service: str) -> None: ... + def setConnection(self, connection: QDBusConnection) -> None: ... + def connection(self) -> QDBusConnection: ... + def setWatchMode(self, mode: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag']) -> None: ... + def watchMode(self) -> 'QDBusServiceWatcher.WatchMode': ... + def removeWatchedService(self, service: str) -> bool: ... + def addWatchedService(self, newService: str) -> None: ... + def setWatchedServices(self, services: typing.Iterable[str]) -> None: ... + def watchedServices(self) -> typing.List[str]: ... + + +class QDBusUnixFileDescriptor(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, fileDescriptor: int) -> None: ... + @typing.overload + def __init__(self, other: 'QDBusUnixFileDescriptor') -> None: ... + + def swap(self, other: 'QDBusUnixFileDescriptor') -> None: ... + @staticmethod + def isSupported() -> bool: ... + def setFileDescriptor(self, fileDescriptor: int) -> None: ... + def fileDescriptor(self) -> int: ... + def isValid(self) -> bool: ... + + +class QDBusPendingReply(QDBusPendingCall): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QDBusPendingReply') -> None: ... + @typing.overload + def __init__(self, call: QDBusPendingCall) -> None: ... + @typing.overload + def __init__(self, reply: QDBusMessage) -> None: ... + + def value(self, type: typing.Any = ...) -> typing.Any: ... + def waitForFinished(self) -> None: ... + def reply(self) -> QDBusMessage: ... + def isValid(self) -> bool: ... + def isFinished(self) -> bool: ... + def isError(self) -> bool: ... + def error(self) -> QDBusError: ... + def argumentAt(self, index: int) -> typing.Any: ... + + +class QDBusReply(sip.simplewrapper): + + @typing.overload + def __init__(self, reply: QDBusMessage) -> None: ... + @typing.overload + def __init__(self, call: QDBusPendingCall) -> None: ... + @typing.overload + def __init__(self, error: QDBusError) -> None: ... + @typing.overload + def __init__(self, other: 'QDBusReply') -> None: ... + + def value(self, type: typing.Any = ...) -> typing.Any: ... + def isValid(self) -> bool: ... + def error(self) -> QDBusError: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtDesigner.pyi b/OTHERS/Jarvis/ools/PyQt5/QtDesigner.pyi new file mode 100644 index 00000000..0f34d72a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtDesigner.pyi @@ -0,0 +1,483 @@ +# The PEP 484 type hints stub file for the QtDesigner module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QDesignerActionEditorInterface(QtWidgets.QWidget): + + def __init__(self, parent: QtWidgets.QWidget, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def setFormWindow(self, formWindow: 'QDesignerFormWindowInterface') -> None: ... + def unmanageAction(self, action: QtWidgets.QAction) -> None: ... + def manageAction(self, action: QtWidgets.QAction) -> None: ... + def core(self) -> 'QDesignerFormEditorInterface': ... + + +class QAbstractFormBuilder(sip.simplewrapper): + + def __init__(self) -> None: ... + + def errorString(self) -> str: ... + def workingDirectory(self) -> QtCore.QDir: ... + def setWorkingDirectory(self, directory: QtCore.QDir) -> None: ... + def save(self, dev: QtCore.QIODevice, widget: QtWidgets.QWidget) -> None: ... + def load(self, device: QtCore.QIODevice, parent: typing.Optional[QtWidgets.QWidget] = ...) -> QtWidgets.QWidget: ... + + +class QDesignerFormEditorInterface(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setActionEditor(self, actionEditor: QDesignerActionEditorInterface) -> None: ... + def setObjectInspector(self, objectInspector: 'QDesignerObjectInspectorInterface') -> None: ... + def setPropertyEditor(self, propertyEditor: 'QDesignerPropertyEditorInterface') -> None: ... + def setWidgetBox(self, widgetBox: 'QDesignerWidgetBoxInterface') -> None: ... + def actionEditor(self) -> QDesignerActionEditorInterface: ... + def formWindowManager(self) -> 'QDesignerFormWindowManagerInterface': ... + def objectInspector(self) -> 'QDesignerObjectInspectorInterface': ... + def propertyEditor(self) -> 'QDesignerPropertyEditorInterface': ... + def widgetBox(self) -> 'QDesignerWidgetBoxInterface': ... + def topLevel(self) -> QtWidgets.QWidget: ... + def extensionManager(self) -> 'QExtensionManager': ... + + +class QDesignerFormWindowInterface(QtWidgets.QWidget): + + class FeatureFlag(int): + EditFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag + GridFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag + TabOrderFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag + DefaultFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag + + class Feature(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDesignerFormWindowInterface.Feature', 'QDesignerFormWindowInterface.FeatureFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesignerFormWindowInterface.Feature') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDesignerFormWindowInterface.Feature': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def activateResourceFilePaths(self, paths: typing.Iterable[str]) -> typing.Tuple[int, str]: ... + def formContainer(self) -> QtWidgets.QWidget: ... + def activeResourceFilePaths(self) -> typing.List[str]: ... + def checkContents(self) -> typing.List[str]: ... + def objectRemoved(self, o: QtCore.QObject) -> None: ... + def widgetRemoved(self, w: QtWidgets.QWidget) -> None: ... + def changed(self) -> None: ... + def activated(self, widget: QtWidgets.QWidget) -> None: ... + def aboutToUnmanageWidget(self, widget: QtWidgets.QWidget) -> None: ... + def widgetUnmanaged(self, widget: QtWidgets.QWidget) -> None: ... + def widgetManaged(self, widget: QtWidgets.QWidget) -> None: ... + def resourceFilesChanged(self) -> None: ... + def geometryChanged(self) -> None: ... + def selectionChanged(self) -> None: ... + def featureChanged(self, f: typing.Union['QDesignerFormWindowInterface.Feature', 'QDesignerFormWindowInterface.FeatureFlag']) -> None: ... + def fileNameChanged(self, fileName: str) -> None: ... + def mainContainerChanged(self, mainContainer: QtWidgets.QWidget) -> None: ... + def setFileName(self, fileName: str) -> None: ... + def setGrid(self, grid: QtCore.QPoint) -> None: ... + def selectWidget(self, widget: QtWidgets.QWidget, select: bool = ...) -> None: ... + def clearSelection(self, update: bool = ...) -> None: ... + def setDirty(self, dirty: bool) -> None: ... + def setFeatures(self, f: typing.Union['QDesignerFormWindowInterface.Feature', 'QDesignerFormWindowInterface.FeatureFlag']) -> None: ... + def unmanageWidget(self, widget: QtWidgets.QWidget) -> None: ... + def manageWidget(self, widget: QtWidgets.QWidget) -> None: ... + def removeResourceFile(self, path: str) -> None: ... + def addResourceFile(self, path: str) -> None: ... + def resourceFiles(self) -> typing.List[str]: ... + def emitSelectionChanged(self) -> None: ... + @typing.overload + @staticmethod + def findFormWindow(w: QtWidgets.QWidget) -> 'QDesignerFormWindowInterface': ... + @typing.overload + @staticmethod + def findFormWindow(obj: QtCore.QObject) -> 'QDesignerFormWindowInterface': ... + def isDirty(self) -> bool: ... + def isManaged(self, widget: QtWidgets.QWidget) -> bool: ... + def setMainContainer(self, mainContainer: QtWidgets.QWidget) -> None: ... + def mainContainer(self) -> QtWidgets.QWidget: ... + def grid(self) -> QtCore.QPoint: ... + def cursor(self) -> 'QDesignerFormWindowCursorInterface': ... + def core(self) -> QDesignerFormEditorInterface: ... + def setIncludeHints(self, includeHints: typing.Iterable[str]) -> None: ... + def includeHints(self) -> typing.List[str]: ... + def setExportMacro(self, exportMacro: str) -> None: ... + def exportMacro(self) -> str: ... + def setPixmapFunction(self, pixmapFunction: str) -> None: ... + def pixmapFunction(self) -> str: ... + def setLayoutFunction(self, margin: str, spacing: str) -> None: ... + def layoutFunction(self) -> typing.Tuple[str, str]: ... + def setLayoutDefault(self, margin: int, spacing: int) -> None: ... + def layoutDefault(self) -> typing.Tuple[int, int]: ... + def setComment(self, comment: str) -> None: ... + def comment(self) -> str: ... + def setAuthor(self, author: str) -> None: ... + def author(self) -> str: ... + def hasFeature(self, f: typing.Union['QDesignerFormWindowInterface.Feature', 'QDesignerFormWindowInterface.FeatureFlag']) -> bool: ... + def features(self) -> 'QDesignerFormWindowInterface.Feature': ... + @typing.overload + def setContents(self, dev: QtCore.QIODevice, errorMessage: typing.Optional[str] = ...) -> bool: ... + @typing.overload + def setContents(self, contents: str) -> bool: ... + def contents(self) -> str: ... + def absoluteDir(self) -> QtCore.QDir: ... + def fileName(self) -> str: ... + + +class QDesignerFormWindowCursorInterface(sip.simplewrapper): + + class MoveMode(int): + MoveAnchor = ... # type: QDesignerFormWindowCursorInterface.MoveMode + KeepAnchor = ... # type: QDesignerFormWindowCursorInterface.MoveMode + + class MoveOperation(int): + NoMove = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + Start = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + End = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + Next = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + Prev = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + Left = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + Right = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + Up = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + Down = ... # type: QDesignerFormWindowCursorInterface.MoveOperation + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesignerFormWindowCursorInterface') -> None: ... + + def isWidgetSelected(self, widget: QtWidgets.QWidget) -> bool: ... + def resetWidgetProperty(self, widget: QtWidgets.QWidget, name: str) -> None: ... + def setWidgetProperty(self, widget: QtWidgets.QWidget, name: str, value: typing.Any) -> None: ... + def setProperty(self, name: str, value: typing.Any) -> None: ... + def selectedWidget(self, index: int) -> QtWidgets.QWidget: ... + def selectedWidgetCount(self) -> int: ... + def hasSelection(self) -> bool: ... + def widget(self, index: int) -> QtWidgets.QWidget: ... + def widgetCount(self) -> int: ... + def current(self) -> QtWidgets.QWidget: ... + def setPosition(self, pos: int, mode: 'QDesignerFormWindowCursorInterface.MoveMode' = ...) -> None: ... + def position(self) -> int: ... + def movePosition(self, op: 'QDesignerFormWindowCursorInterface.MoveOperation', mode: 'QDesignerFormWindowCursorInterface.MoveMode' = ...) -> bool: ... + def formWindow(self) -> QDesignerFormWindowInterface: ... + + +class QDesignerFormWindowManagerInterface(QtCore.QObject): + + class ActionGroup(int): + StyledPreviewActionGroup = ... # type: QDesignerFormWindowManagerInterface.ActionGroup + + class Action(int): + CutAction = ... # type: QDesignerFormWindowManagerInterface.Action + CopyAction = ... # type: QDesignerFormWindowManagerInterface.Action + PasteAction = ... # type: QDesignerFormWindowManagerInterface.Action + DeleteAction = ... # type: QDesignerFormWindowManagerInterface.Action + SelectAllAction = ... # type: QDesignerFormWindowManagerInterface.Action + LowerAction = ... # type: QDesignerFormWindowManagerInterface.Action + RaiseAction = ... # type: QDesignerFormWindowManagerInterface.Action + UndoAction = ... # type: QDesignerFormWindowManagerInterface.Action + RedoAction = ... # type: QDesignerFormWindowManagerInterface.Action + HorizontalLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action + VerticalLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action + SplitHorizontalAction = ... # type: QDesignerFormWindowManagerInterface.Action + SplitVerticalAction = ... # type: QDesignerFormWindowManagerInterface.Action + GridLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action + FormLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action + BreakLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action + AdjustSizeAction = ... # type: QDesignerFormWindowManagerInterface.Action + SimplifyLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action + DefaultPreviewAction = ... # type: QDesignerFormWindowManagerInterface.Action + FormWindowSettingsDialogAction = ... # type: QDesignerFormWindowManagerInterface.Action + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def showPluginDialog(self) -> None: ... + def closeAllPreviews(self) -> None: ... + def showPreview(self) -> None: ... + def actionGroup(self, actionGroup: 'QDesignerFormWindowManagerInterface.ActionGroup') -> QtWidgets.QActionGroup: ... + def action(self, action: 'QDesignerFormWindowManagerInterface.Action') -> QtWidgets.QAction: ... + def setActiveFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def removeFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def addFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def formWindowSettingsChanged(self, fw: QDesignerFormWindowInterface) -> None: ... + def activeFormWindowChanged(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def formWindowRemoved(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def formWindowAdded(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def core(self) -> QDesignerFormEditorInterface: ... + def createFormWindow(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> QDesignerFormWindowInterface: ... + def formWindow(self, index: int) -> QDesignerFormWindowInterface: ... + def formWindowCount(self) -> int: ... + def activeFormWindow(self) -> QDesignerFormWindowInterface: ... + def actionSimplifyLayout(self) -> QtWidgets.QAction: ... + def actionFormLayout(self) -> QtWidgets.QAction: ... + + +class QDesignerObjectInspectorInterface(QtWidgets.QWidget): + + def __init__(self, parent: QtWidgets.QWidget, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def setFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def core(self) -> QDesignerFormEditorInterface: ... + + +class QDesignerPropertyEditorInterface(QtWidgets.QWidget): + + def __init__(self, parent: QtWidgets.QWidget, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def setReadOnly(self, readOnly: bool) -> None: ... + def setPropertyValue(self, name: str, value: typing.Any, changed: bool = ...) -> None: ... + def setObject(self, object: QtCore.QObject) -> None: ... + def propertyChanged(self, name: str, value: typing.Any) -> None: ... + def currentPropertyName(self) -> str: ... + def object(self) -> QtCore.QObject: ... + def isReadOnly(self) -> bool: ... + def core(self) -> QDesignerFormEditorInterface: ... + + +class QDesignerWidgetBoxInterface(QtWidgets.QWidget): + + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def save(self) -> bool: ... + def load(self) -> bool: ... + def fileName(self) -> str: ... + def setFileName(self, file_name: str) -> None: ... + + +class QDesignerContainerExtension(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesignerContainerExtension') -> None: ... + + def canRemove(self, index: int) -> bool: ... + def canAddWidget(self) -> bool: ... + def remove(self, index: int) -> None: ... + def insertWidget(self, index: int, widget: QtWidgets.QWidget) -> None: ... + def addWidget(self, widget: QtWidgets.QWidget) -> None: ... + def setCurrentIndex(self, index: int) -> None: ... + def currentIndex(self) -> int: ... + def widget(self, index: int) -> QtWidgets.QWidget: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + + +class QDesignerCustomWidgetInterface(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesignerCustomWidgetInterface') -> None: ... + + def codeTemplate(self) -> str: ... + def domXml(self) -> str: ... + def initialize(self, core: QDesignerFormEditorInterface) -> None: ... + def isInitialized(self) -> bool: ... + def createWidget(self, parent: QtWidgets.QWidget) -> QtWidgets.QWidget: ... + def isContainer(self) -> bool: ... + def icon(self) -> QtGui.QIcon: ... + def includeFile(self) -> str: ... + def whatsThis(self) -> str: ... + def toolTip(self) -> str: ... + def group(self) -> str: ... + def name(self) -> str: ... + + +class QDesignerCustomWidgetCollectionInterface(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesignerCustomWidgetCollectionInterface') -> None: ... + + def customWidgets(self) -> typing.List[QDesignerCustomWidgetInterface]: ... + + +class QAbstractExtensionFactory(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractExtensionFactory') -> None: ... + + def extension(self, object: QtCore.QObject, iid: str) -> QtCore.QObject: ... + + +class QExtensionFactory(QtCore.QObject, QAbstractExtensionFactory): + + def __init__(self, parent: typing.Optional['QExtensionManager'] = ...) -> None: ... + + def createExtension(self, object: QtCore.QObject, iid: str, parent: QtCore.QObject) -> QtCore.QObject: ... + def extensionManager(self) -> 'QExtensionManager': ... + def extension(self, object: QtCore.QObject, iid: str) -> QtCore.QObject: ... + + +class QAbstractExtensionManager(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractExtensionManager') -> None: ... + + def extension(self, object: QtCore.QObject, iid: str) -> QtCore.QObject: ... + def unregisterExtensions(self, factory: QAbstractExtensionFactory, iid: str) -> None: ... + def registerExtensions(self, factory: QAbstractExtensionFactory, iid: str) -> None: ... + + +class QFormBuilder(QAbstractFormBuilder): + + def __init__(self) -> None: ... + + def customWidgets(self) -> typing.List[QDesignerCustomWidgetInterface]: ... + def setPluginPath(self, pluginPaths: typing.Iterable[str]) -> None: ... + def addPluginPath(self, pluginPath: str) -> None: ... + def clearPluginPaths(self) -> None: ... + def pluginPaths(self) -> typing.List[str]: ... + + +class QDesignerMemberSheetExtension(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesignerMemberSheetExtension') -> None: ... + + def parameterNames(self, index: int) -> typing.List[QtCore.QByteArray]: ... + def parameterTypes(self, index: int) -> typing.List[QtCore.QByteArray]: ... + def signature(self, index: int) -> str: ... + def declaredInClass(self, index: int) -> str: ... + def inheritedFromWidget(self, index: int) -> bool: ... + def isSlot(self, index: int) -> bool: ... + def isSignal(self, index: int) -> bool: ... + def setVisible(self, index: int, b: bool) -> None: ... + def isVisible(self, index: int) -> bool: ... + def setMemberGroup(self, index: int, group: str) -> None: ... + def memberGroup(self, index: int) -> str: ... + def memberName(self, index: int) -> str: ... + def indexOf(self, name: str) -> int: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + + +class QDesignerPropertySheetExtension(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesignerPropertySheetExtension') -> None: ... + + def isEnabled(self, index: int) -> bool: ... + def setChanged(self, index: int, changed: bool) -> None: ... + def isChanged(self, index: int) -> bool: ... + def setProperty(self, index: int, value: typing.Any) -> None: ... + def property(self, index: int) -> typing.Any: ... + def setAttribute(self, index: int, b: bool) -> None: ... + def isAttribute(self, index: int) -> bool: ... + def setVisible(self, index: int, b: bool) -> None: ... + def isVisible(self, index: int) -> bool: ... + def reset(self, index: int) -> bool: ... + def hasReset(self, index: int) -> bool: ... + def setPropertyGroup(self, index: int, group: str) -> None: ... + def propertyGroup(self, index: int) -> str: ... + def propertyName(self, index: int) -> str: ... + def indexOf(self, name: str) -> int: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + + +class QExtensionManager(QtCore.QObject, QAbstractExtensionManager): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def extension(self, object: QtCore.QObject, iid: str) -> QtCore.QObject: ... + def unregisterExtensions(self, factory: QAbstractExtensionFactory, iid: str = ...) -> None: ... + def registerExtensions(self, factory: QAbstractExtensionFactory, iid: str = ...) -> None: ... + + +class QDesignerTaskMenuExtension(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesignerTaskMenuExtension') -> None: ... + + def preferredEditAction(self) -> QtWidgets.QAction: ... + def taskActions(self) -> typing.List[QtWidgets.QAction]: ... + + +class QPyDesignerContainerExtension(QtCore.QObject, QDesignerContainerExtension): + + def __init__(self, parent: QtCore.QObject) -> None: ... + + +class QPyDesignerCustomWidgetCollectionPlugin(QtCore.QObject, QDesignerCustomWidgetCollectionInterface): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + +class QPyDesignerCustomWidgetPlugin(QtCore.QObject, QDesignerCustomWidgetInterface): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + +class QPyDesignerMemberSheetExtension(QtCore.QObject, QDesignerMemberSheetExtension): + + def __init__(self, parent: QtCore.QObject) -> None: ... + + +class QPyDesignerPropertySheetExtension(QtCore.QObject, QDesignerPropertySheetExtension): + + def __init__(self, parent: QtCore.QObject) -> None: ... + + +class QPyDesignerTaskMenuExtension(QtCore.QObject, QDesignerTaskMenuExtension): + + def __init__(self, parent: QtCore.QObject) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtGui.pyi b/OTHERS/Jarvis/ools/PyQt5/QtGui.pyi new file mode 100644 index 00000000..bfd5cb11 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtGui.pyi @@ -0,0 +1,8868 @@ +# The PEP 484 type hints stub file for the QtGui module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_SHADER_ATTRIBUTE_ARRAY = typing.Union[typing.Sequence['QVector2D'], + typing.Sequence['QVector3D'], typing.Sequence['QVector4D'], + typing.Sequence[typing.Sequence[float]]] +PYQT_SHADER_UNIFORM_VALUE_ARRAY = typing.Union[typing.Sequence['QVector2D'], + typing.Sequence['QVector3D'], typing.Sequence['QVector4D'], + typing.Sequence['QMatrix2x2'], typing.Sequence['QMatrix2x3'], + typing.Sequence['QMatrix2x4'], typing.Sequence['QMatrix3x2'], + typing.Sequence['QMatrix3x3'], typing.Sequence['QMatrix3x4'], + typing.Sequence['QMatrix4x2'], typing.Sequence['QMatrix4x3'], + typing.Sequence['QMatrix4x4'], typing.Sequence[typing.Sequence[float]]] + + +class QAbstractTextDocumentLayout(QtCore.QObject): + + class Selection(sip.simplewrapper): + + cursor = ... # type: 'QTextCursor' + format = ... # type: 'QTextCharFormat' + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractTextDocumentLayout.Selection') -> None: ... + + class PaintContext(sip.simplewrapper): + + clip = ... # type: QtCore.QRectF + cursorPosition = ... # type: int + palette = ... # type: 'QPalette' + selections = ... # type: typing.Iterable['QAbstractTextDocumentLayout.Selection'] + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractTextDocumentLayout.PaintContext') -> None: ... + + def __init__(self, doc: 'QTextDocument') -> None: ... + + def blockWithMarkerAt(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> 'QTextBlock': ... + def formatAt(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> 'QTextFormat': ... + def imageAt(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> str: ... + def format(self, pos: int) -> 'QTextCharFormat': ... + def drawInlineObject(self, painter: 'QPainter', rect: QtCore.QRectF, object: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... + def positionInlineObject(self, item: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... + def resizeInlineObject(self, item: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... + def documentChanged(self, from_: int, charsRemoved: int, charsAdded: int) -> None: ... + def updateBlock(self, block: 'QTextBlock') -> None: ... + def pageCountChanged(self, newPages: int) -> None: ... + def documentSizeChanged(self, newSize: QtCore.QSizeF) -> None: ... + def update(self, rect: QtCore.QRectF = ...) -> None: ... + def handlerForObject(self, objectType: int) -> 'QTextObjectInterface': ... + def unregisterHandler(self, objectType: int, component: typing.Optional[QtCore.QObject] = ...) -> None: ... + def registerHandler(self, objectType: int, component: QtCore.QObject) -> None: ... + def document(self) -> 'QTextDocument': ... + def paintDevice(self) -> 'QPaintDevice': ... + def setPaintDevice(self, device: 'QPaintDevice') -> None: ... + def blockBoundingRect(self, block: 'QTextBlock') -> QtCore.QRectF: ... + def frameBoundingRect(self, frame: 'QTextFrame') -> QtCore.QRectF: ... + def documentSize(self) -> QtCore.QSizeF: ... + def pageCount(self) -> int: ... + def anchorAt(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> str: ... + def hitTest(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], accuracy: QtCore.Qt.HitTestAccuracy) -> int: ... + def draw(self, painter: 'QPainter', context: 'QAbstractTextDocumentLayout.PaintContext') -> None: ... + + +class QTextObjectInterface(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextObjectInterface') -> None: ... + + def drawObject(self, painter: 'QPainter', rect: QtCore.QRectF, doc: 'QTextDocument', posInDocument: int, format: 'QTextFormat') -> None: ... + def intrinsicSize(self, doc: 'QTextDocument', posInDocument: int, format: 'QTextFormat') -> QtCore.QSizeF: ... + + +class QBackingStore(sip.simplewrapper): + + def __init__(self, window: 'QWindow') -> None: ... + + def hasStaticContents(self) -> bool: ... + def staticContents(self) -> 'QRegion': ... + def setStaticContents(self, region: 'QRegion') -> None: ... + def endPaint(self) -> None: ... + def beginPaint(self, a0: 'QRegion') -> None: ... + def scroll(self, area: 'QRegion', dx: int, dy: int) -> bool: ... + def size(self) -> QtCore.QSize: ... + def resize(self, size: QtCore.QSize) -> None: ... + def flush(self, region: 'QRegion', window: typing.Optional['QWindow'] = ..., offset: QtCore.QPoint = ...) -> None: ... + def paintDevice(self) -> 'QPaintDevice': ... + def window(self) -> 'QWindow': ... + + +class QPaintDevice(sip.simplewrapper): + + class PaintDeviceMetric(int): + PdmWidth = ... # type: QPaintDevice.PaintDeviceMetric + PdmHeight = ... # type: QPaintDevice.PaintDeviceMetric + PdmWidthMM = ... # type: QPaintDevice.PaintDeviceMetric + PdmHeightMM = ... # type: QPaintDevice.PaintDeviceMetric + PdmNumColors = ... # type: QPaintDevice.PaintDeviceMetric + PdmDepth = ... # type: QPaintDevice.PaintDeviceMetric + PdmDpiX = ... # type: QPaintDevice.PaintDeviceMetric + PdmDpiY = ... # type: QPaintDevice.PaintDeviceMetric + PdmPhysicalDpiX = ... # type: QPaintDevice.PaintDeviceMetric + PdmPhysicalDpiY = ... # type: QPaintDevice.PaintDeviceMetric + PdmDevicePixelRatio = ... # type: QPaintDevice.PaintDeviceMetric + PdmDevicePixelRatioScaled = ... # type: QPaintDevice.PaintDeviceMetric + + def __init__(self) -> None: ... + + @staticmethod + def devicePixelRatioFScale() -> float: ... + def devicePixelRatioF(self) -> float: ... + def metric(self, metric: 'QPaintDevice.PaintDeviceMetric') -> int: ... + def devicePixelRatio(self) -> int: ... + def colorCount(self) -> int: ... + def paintingActive(self) -> bool: ... + def depth(self) -> int: ... + def physicalDpiY(self) -> int: ... + def physicalDpiX(self) -> int: ... + def logicalDpiY(self) -> int: ... + def logicalDpiX(self) -> int: ... + def heightMM(self) -> int: ... + def widthMM(self) -> int: ... + def height(self) -> int: ... + def width(self) -> int: ... + def paintEngine(self) -> 'QPaintEngine': ... + + +class QPixmap(QPaintDevice): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, w: int, h: int) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QSize) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: typing.Optional[str] = ..., flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> None: ... + @typing.overload + def __init__(self, xpm: typing.List[str]) -> None: ... + @typing.overload + def __init__(self, a0: 'QPixmap') -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def setDevicePixelRatio(self, scaleFactor: float) -> None: ... + def devicePixelRatio(self) -> float: ... + def swap(self, other: 'QPixmap') -> None: ... + @typing.overload + def scroll(self, dx: int, dy: int, rect: QtCore.QRect) -> 'QRegion': ... + @typing.overload + def scroll(self, dx: int, dy: int, x: int, y: int, width: int, height: int) -> 'QRegion': ... + def cacheKey(self) -> int: ... + @staticmethod + def trueMatrix(m: 'QTransform', w: int, h: int) -> 'QTransform': ... + def transformed(self, transform: 'QTransform', mode: QtCore.Qt.TransformationMode = ...) -> 'QPixmap': ... + def metric(self, a0: QPaintDevice.PaintDeviceMetric) -> int: ... + def paintEngine(self) -> 'QPaintEngine': ... + def isQBitmap(self) -> bool: ... + def detach(self) -> None: ... + @typing.overload + def copy(self, rect: QtCore.QRect = ...) -> 'QPixmap': ... + @typing.overload + def copy(self, ax: int, ay: int, awidth: int, aheight: int) -> 'QPixmap': ... + @typing.overload + def save(self, fileName: str, format: typing.Optional[str] = ..., quality: int = ...) -> bool: ... + @typing.overload + def save(self, device: QtCore.QIODevice, format: typing.Optional[str] = ..., quality: int = ...) -> bool: ... + @typing.overload + def loadFromData(self, buf: bytes, format: typing.Optional[str] = ..., flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> bool: ... + @typing.overload + def loadFromData(self, buf: typing.Union[QtCore.QByteArray, bytes, bytearray], format: typing.Optional[str] = ..., flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> bool: ... + def load(self, fileName: str, format: typing.Optional[str] = ..., flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> bool: ... + def convertFromImage(self, img: 'QImage', flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> bool: ... + @staticmethod + def fromImageReader(imageReader: 'QImageReader', flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> 'QPixmap': ... + @staticmethod + def fromImage(image: 'QImage', flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> 'QPixmap': ... + def toImage(self) -> 'QImage': ... + def scaledToHeight(self, height: int, mode: QtCore.Qt.TransformationMode = ...) -> 'QPixmap': ... + def scaledToWidth(self, width: int, mode: QtCore.Qt.TransformationMode = ...) -> 'QPixmap': ... + @typing.overload + def scaled(self, width: int, height: int, aspectRatioMode: QtCore.Qt.AspectRatioMode = ..., transformMode: QtCore.Qt.TransformationMode = ...) -> 'QPixmap': ... + @typing.overload + def scaled(self, size: QtCore.QSize, aspectRatioMode: QtCore.Qt.AspectRatioMode = ..., transformMode: QtCore.Qt.TransformationMode = ...) -> 'QPixmap': ... + def createMaskFromColor(self, maskColor: typing.Union['QColor', QtCore.Qt.GlobalColor], mode: QtCore.Qt.MaskMode = ...) -> 'QBitmap': ... + def createHeuristicMask(self, clipTight: bool = ...) -> 'QBitmap': ... + def hasAlphaChannel(self) -> bool: ... + def hasAlpha(self) -> bool: ... + def setMask(self, a0: 'QBitmap') -> None: ... + def mask(self) -> 'QBitmap': ... + def fill(self, color: typing.Union['QColor', QtCore.Qt.GlobalColor] = ...) -> None: ... + @staticmethod + def defaultDepth() -> int: ... + def depth(self) -> int: ... + def rect(self) -> QtCore.QRect: ... + def size(self) -> QtCore.QSize: ... + def height(self) -> int: ... + def width(self) -> int: ... + def devType(self) -> int: ... + def isNull(self) -> bool: ... + + +class QBitmap(QPixmap): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QBitmap') -> None: ... + @typing.overload + def __init__(self, a0: QPixmap) -> None: ... + @typing.overload + def __init__(self, w: int, h: int) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QSize) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: typing.Optional[str] = ...) -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def swap(self, other: 'QBitmap') -> None: ... + def transformed(self, matrix: 'QTransform') -> 'QBitmap': ... + @staticmethod + def fromData(size: QtCore.QSize, bits: bytes, format: 'QImage.Format' = ...) -> 'QBitmap': ... + @staticmethod + def fromImage(image: 'QImage', flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> 'QBitmap': ... + def clear(self) -> None: ... + + +class QColor(sip.simplewrapper): + + class NameFormat(int): + HexRgb = ... # type: QColor.NameFormat + HexArgb = ... # type: QColor.NameFormat + + class Spec(int): + Invalid = ... # type: QColor.Spec + Rgb = ... # type: QColor.Spec + Hsv = ... # type: QColor.Spec + Cmyk = ... # type: QColor.Spec + Hsl = ... # type: QColor.Spec + ExtendedRgb = ... # type: QColor.Spec + + @typing.overload + def __init__(self, color: QtCore.Qt.GlobalColor) -> None: ... + @typing.overload + def __init__(self, rgb: int) -> None: ... + @typing.overload + def __init__(self, rgba64: 'QRgba64') -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, r: int, g: int, b: int, alpha: int = ...) -> None: ... + @typing.overload + def __init__(self, aname: str) -> None: ... + @typing.overload + def __init__(self, acolor: typing.Union['QColor', QtCore.Qt.GlobalColor]) -> None: ... + + def toExtendedRgb(self) -> 'QColor': ... + @typing.overload + @staticmethod + def fromRgba64(r: int, g: int, b: int, alpha: int = ...) -> 'QColor': ... + @typing.overload + @staticmethod + def fromRgba64(rgba: 'QRgba64') -> 'QColor': ... + def setRgba64(self, rgba: 'QRgba64') -> None: ... + def rgba64(self) -> 'QRgba64': ... + @staticmethod + def isValidColor(name: str) -> bool: ... + @staticmethod + def fromHslF(h: float, s: float, l: float, alpha: float = ...) -> 'QColor': ... + @staticmethod + def fromHsl(h: int, s: int, l: int, alpha: int = ...) -> 'QColor': ... + def toHsl(self) -> 'QColor': ... + def setHslF(self, h: float, s: float, l: float, alpha: float = ...) -> None: ... + def getHslF(self) -> typing.Tuple[float, float, float, float]: ... + def setHsl(self, h: int, s: int, l: int, alpha: int = ...) -> None: ... + def getHsl(self) -> typing.Tuple[int, int, int, int]: ... + def lightnessF(self) -> float: ... + def hslSaturationF(self) -> float: ... + def hslHueF(self) -> float: ... + def lightness(self) -> int: ... + def hslSaturation(self) -> int: ... + def hslHue(self) -> int: ... + def hsvSaturationF(self) -> float: ... + def hsvHueF(self) -> float: ... + def hsvSaturation(self) -> int: ... + def hsvHue(self) -> int: ... + def darker(self, factor: int = ...) -> 'QColor': ... + def lighter(self, factor: int = ...) -> 'QColor': ... + def isValid(self) -> bool: ... + @staticmethod + def fromCmykF(c: float, m: float, y: float, k: float, alpha: float = ...) -> 'QColor': ... + @staticmethod + def fromCmyk(c: int, m: int, y: int, k: int, alpha: int = ...) -> 'QColor': ... + @staticmethod + def fromHsvF(h: float, s: float, v: float, alpha: float = ...) -> 'QColor': ... + @staticmethod + def fromHsv(h: int, s: int, v: int, alpha: int = ...) -> 'QColor': ... + @staticmethod + def fromRgbF(r: float, g: float, b: float, alpha: float = ...) -> 'QColor': ... + @staticmethod + def fromRgba(rgba: int) -> 'QColor': ... + @typing.overload + @staticmethod + def fromRgb(rgb: int) -> 'QColor': ... + @typing.overload + @staticmethod + def fromRgb(r: int, g: int, b: int, alpha: int = ...) -> 'QColor': ... + def convertTo(self, colorSpec: 'QColor.Spec') -> 'QColor': ... + def toCmyk(self) -> 'QColor': ... + def toHsv(self) -> 'QColor': ... + def toRgb(self) -> 'QColor': ... + def setCmykF(self, c: float, m: float, y: float, k: float, alpha: float = ...) -> None: ... + def getCmykF(self) -> typing.Tuple[float, float, float, float, float]: ... + def setCmyk(self, c: int, m: int, y: int, k: int, alpha: int = ...) -> None: ... + def getCmyk(self) -> typing.Tuple[int, int, int, int, int]: ... + def blackF(self) -> float: ... + def yellowF(self) -> float: ... + def magentaF(self) -> float: ... + def cyanF(self) -> float: ... + def black(self) -> int: ... + def yellow(self) -> int: ... + def magenta(self) -> int: ... + def cyan(self) -> int: ... + def setHsvF(self, h: float, s: float, v: float, alpha: float = ...) -> None: ... + def getHsvF(self) -> typing.Tuple[float, float, float, float]: ... + def setHsv(self, h: int, s: int, v: int, alpha: int = ...) -> None: ... + def getHsv(self) -> typing.Tuple[int, int, int, int]: ... + def valueF(self) -> float: ... + def saturationF(self) -> float: ... + def hueF(self) -> float: ... + def value(self) -> int: ... + def saturation(self) -> int: ... + def hue(self) -> int: ... + def rgb(self) -> int: ... + def setRgba(self, rgba: int) -> None: ... + def rgba(self) -> int: ... + def setRgbF(self, r: float, g: float, b: float, alpha: float = ...) -> None: ... + def getRgbF(self) -> typing.Tuple[float, float, float, float]: ... + @typing.overload + def setRgb(self, r: int, g: int, b: int, alpha: int = ...) -> None: ... + @typing.overload + def setRgb(self, rgb: int) -> None: ... + def getRgb(self) -> typing.Tuple[int, int, int, int]: ... + def setBlueF(self, blue: float) -> None: ... + def setGreenF(self, green: float) -> None: ... + def setRedF(self, red: float) -> None: ... + def blueF(self) -> float: ... + def greenF(self) -> float: ... + def redF(self) -> float: ... + def setBlue(self, blue: int) -> None: ... + def setGreen(self, green: int) -> None: ... + def setRed(self, red: int) -> None: ... + def blue(self) -> int: ... + def green(self) -> int: ... + def red(self) -> int: ... + def setAlphaF(self, alpha: float) -> None: ... + def alphaF(self) -> float: ... + def setAlpha(self, alpha: int) -> None: ... + def alpha(self) -> int: ... + def spec(self) -> 'QColor.Spec': ... + @staticmethod + def colorNames() -> typing.List[str]: ... + def setNamedColor(self, name: str) -> None: ... + @typing.overload + def name(self) -> str: ... + @typing.overload + def name(self, format: 'QColor.NameFormat') -> str: ... + + +class QColorConstants(PyQt5.sip.simplewrapper): + + class Svg(PyQt5.sip.simplewrapper): + + aliceblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + antiquewhite = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + aqua = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + aquamarine = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + azure = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + beige = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + bisque = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + black = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + blanchedalmond = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + blue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + blueviolet = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + brown = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + burlywood = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + cadetblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + chartreuse = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + chocolate = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + coral = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + cornflowerblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + cornsilk = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + crimson = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + cyan = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkcyan = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkgoldenrod = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkgray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkgreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkgrey = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkkhaki = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkmagenta = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkolivegreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkorange = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkorchid = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkred = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darksalmon = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkseagreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkslateblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkslategray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkslategrey = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkturquoise = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + darkviolet = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + deeppink = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + deepskyblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + dimgray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + dimgrey = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + dodgerblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + firebrick = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + floralwhite = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + forestgreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + fuchsia = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + gainsboro = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + ghostwhite = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + gold = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + goldenrod = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + gray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + green = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + greenyellow = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + grey = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + honeydew = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + hotpink = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + indianred = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + indigo = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + ivory = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + khaki = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lavender = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lavenderblush = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lawngreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lemonchiffon = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightcoral = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightcyan = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightgoldenrodyellow = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightgray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightgreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightgrey = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightpink = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightsalmon = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightseagreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightskyblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightslategray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightslategrey = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightsteelblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lightyellow = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + lime = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + limegreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + linen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + magenta = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + maroon = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumaquamarine = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumorchid = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumpurple = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumseagreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumslateblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumspringgreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumturquoise = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mediumvioletred = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + midnightblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mintcream = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + mistyrose = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + moccasin = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + navajowhite = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + navy = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + oldlace = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + olive = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + olivedrab = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + orange = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + orangered = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + orchid = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + palegoldenrod = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + palegreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + paleturquoise = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + palevioletred = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + papayawhip = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + peachpuff = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + peru = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + pink = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + plum = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + powderblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + purple = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + red = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + rosybrown = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + royalblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + saddlebrown = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + salmon = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + sandybrown = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + seagreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + seashell = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + sienna = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + silver = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + skyblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + slateblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + slategray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + slategrey = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + snow = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + springgreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + steelblue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + tan = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + teal = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + thistle = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + tomato = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + turquoise = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + violet = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + wheat = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + white = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + whitesmoke = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + yellow = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + yellowgreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + + Black = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Blue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Color0 = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Color1 = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Cyan = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + DarkBlue = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + DarkCyan = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + DarkGray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + DarkGreen = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + DarkMagenta = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + DarkRed = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + DarkYellow = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Gray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Green = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + LightGray = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Magenta = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Red = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Transparent = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + White = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + Yellow = ... # type: typing.Union[QColor, QtCore.Qt.GlobalColor] + + +class QBrush(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, bs: QtCore.Qt.BrushStyle) -> None: ... + @typing.overload + def __init__(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor], style: QtCore.Qt.BrushStyle = ...) -> None: ... + @typing.overload + def __init__(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor], pixmap: QPixmap) -> None: ... + @typing.overload + def __init__(self, pixmap: QPixmap) -> None: ... + @typing.overload + def __init__(self, image: 'QImage') -> None: ... + @typing.overload + def __init__(self, brush: typing.Union['QBrush', QColor, QtCore.Qt.GlobalColor, 'QGradient']) -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def swap(self, other: 'QBrush') -> None: ... + def transform(self) -> 'QTransform': ... + def setTransform(self, a0: 'QTransform') -> None: ... + def textureImage(self) -> 'QImage': ... + def setTextureImage(self, image: 'QImage') -> None: ... + def color(self) -> QColor: ... + def style(self) -> QtCore.Qt.BrushStyle: ... + def isOpaque(self) -> bool: ... + def gradient(self) -> 'QGradient': ... + @typing.overload + def setColor(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, 'QGradient']) -> None: ... + @typing.overload + def setColor(self, acolor: QtCore.Qt.GlobalColor) -> None: ... + def setTexture(self, pixmap: QPixmap) -> None: ... + def texture(self) -> QPixmap: ... + def setStyle(self, a0: QtCore.Qt.BrushStyle) -> None: ... + + +class QGradient(sip.simplewrapper): + + class Preset(int): + WarmFlame = ... # type: QGradient.Preset + NightFade = ... # type: QGradient.Preset + SpringWarmth = ... # type: QGradient.Preset + JuicyPeach = ... # type: QGradient.Preset + YoungPassion = ... # type: QGradient.Preset + LadyLips = ... # type: QGradient.Preset + SunnyMorning = ... # type: QGradient.Preset + RainyAshville = ... # type: QGradient.Preset + FrozenDreams = ... # type: QGradient.Preset + WinterNeva = ... # type: QGradient.Preset + DustyGrass = ... # type: QGradient.Preset + TemptingAzure = ... # type: QGradient.Preset + HeavyRain = ... # type: QGradient.Preset + AmyCrisp = ... # type: QGradient.Preset + MeanFruit = ... # type: QGradient.Preset + DeepBlue = ... # type: QGradient.Preset + RipeMalinka = ... # type: QGradient.Preset + CloudyKnoxville = ... # type: QGradient.Preset + MalibuBeach = ... # type: QGradient.Preset + NewLife = ... # type: QGradient.Preset + TrueSunset = ... # type: QGradient.Preset + MorpheusDen = ... # type: QGradient.Preset + RareWind = ... # type: QGradient.Preset + NearMoon = ... # type: QGradient.Preset + WildApple = ... # type: QGradient.Preset + SaintPetersburg = ... # type: QGradient.Preset + PlumPlate = ... # type: QGradient.Preset + EverlastingSky = ... # type: QGradient.Preset + HappyFisher = ... # type: QGradient.Preset + Blessing = ... # type: QGradient.Preset + SharpeyeEagle = ... # type: QGradient.Preset + LadogaBottom = ... # type: QGradient.Preset + LemonGate = ... # type: QGradient.Preset + ItmeoBranding = ... # type: QGradient.Preset + ZeusMiracle = ... # type: QGradient.Preset + OldHat = ... # type: QGradient.Preset + StarWine = ... # type: QGradient.Preset + HappyAcid = ... # type: QGradient.Preset + AwesomePine = ... # type: QGradient.Preset + NewYork = ... # type: QGradient.Preset + ShyRainbow = ... # type: QGradient.Preset + MixedHopes = ... # type: QGradient.Preset + FlyHigh = ... # type: QGradient.Preset + StrongBliss = ... # type: QGradient.Preset + FreshMilk = ... # type: QGradient.Preset + SnowAgain = ... # type: QGradient.Preset + FebruaryInk = ... # type: QGradient.Preset + KindSteel = ... # type: QGradient.Preset + SoftGrass = ... # type: QGradient.Preset + GrownEarly = ... # type: QGradient.Preset + SharpBlues = ... # type: QGradient.Preset + ShadyWater = ... # type: QGradient.Preset + DirtyBeauty = ... # type: QGradient.Preset + GreatWhale = ... # type: QGradient.Preset + TeenNotebook = ... # type: QGradient.Preset + PoliteRumors = ... # type: QGradient.Preset + SweetPeriod = ... # type: QGradient.Preset + WideMatrix = ... # type: QGradient.Preset + SoftCherish = ... # type: QGradient.Preset + RedSalvation = ... # type: QGradient.Preset + BurningSpring = ... # type: QGradient.Preset + NightParty = ... # type: QGradient.Preset + SkyGlider = ... # type: QGradient.Preset + HeavenPeach = ... # type: QGradient.Preset + PurpleDivision = ... # type: QGradient.Preset + AquaSplash = ... # type: QGradient.Preset + SpikyNaga = ... # type: QGradient.Preset + LoveKiss = ... # type: QGradient.Preset + CleanMirror = ... # type: QGradient.Preset + PremiumDark = ... # type: QGradient.Preset + ColdEvening = ... # type: QGradient.Preset + CochitiLake = ... # type: QGradient.Preset + SummerGames = ... # type: QGradient.Preset + PassionateBed = ... # type: QGradient.Preset + MountainRock = ... # type: QGradient.Preset + DesertHump = ... # type: QGradient.Preset + JungleDay = ... # type: QGradient.Preset + PhoenixStart = ... # type: QGradient.Preset + OctoberSilence = ... # type: QGradient.Preset + FarawayRiver = ... # type: QGradient.Preset + AlchemistLab = ... # type: QGradient.Preset + OverSun = ... # type: QGradient.Preset + PremiumWhite = ... # type: QGradient.Preset + MarsParty = ... # type: QGradient.Preset + EternalConstance = ... # type: QGradient.Preset + JapanBlush = ... # type: QGradient.Preset + SmilingRain = ... # type: QGradient.Preset + CloudyApple = ... # type: QGradient.Preset + BigMango = ... # type: QGradient.Preset + HealthyWater = ... # type: QGradient.Preset + AmourAmour = ... # type: QGradient.Preset + RiskyConcrete = ... # type: QGradient.Preset + StrongStick = ... # type: QGradient.Preset + ViciousStance = ... # type: QGradient.Preset + PaloAlto = ... # type: QGradient.Preset + HappyMemories = ... # type: QGradient.Preset + MidnightBloom = ... # type: QGradient.Preset + Crystalline = ... # type: QGradient.Preset + PartyBliss = ... # type: QGradient.Preset + ConfidentCloud = ... # type: QGradient.Preset + LeCocktail = ... # type: QGradient.Preset + RiverCity = ... # type: QGradient.Preset + FrozenBerry = ... # type: QGradient.Preset + ChildCare = ... # type: QGradient.Preset + FlyingLemon = ... # type: QGradient.Preset + NewRetrowave = ... # type: QGradient.Preset + HiddenJaguar = ... # type: QGradient.Preset + AboveTheSky = ... # type: QGradient.Preset + Nega = ... # type: QGradient.Preset + DenseWater = ... # type: QGradient.Preset + Seashore = ... # type: QGradient.Preset + MarbleWall = ... # type: QGradient.Preset + CheerfulCaramel = ... # type: QGradient.Preset + NightSky = ... # type: QGradient.Preset + MagicLake = ... # type: QGradient.Preset + YoungGrass = ... # type: QGradient.Preset + ColorfulPeach = ... # type: QGradient.Preset + GentleCare = ... # type: QGradient.Preset + PlumBath = ... # type: QGradient.Preset + HappyUnicorn = ... # type: QGradient.Preset + AfricanField = ... # type: QGradient.Preset + SolidStone = ... # type: QGradient.Preset + OrangeJuice = ... # type: QGradient.Preset + GlassWater = ... # type: QGradient.Preset + NorthMiracle = ... # type: QGradient.Preset + FruitBlend = ... # type: QGradient.Preset + MillenniumPine = ... # type: QGradient.Preset + HighFlight = ... # type: QGradient.Preset + MoleHall = ... # type: QGradient.Preset + SpaceShift = ... # type: QGradient.Preset + ForestInei = ... # type: QGradient.Preset + RoyalGarden = ... # type: QGradient.Preset + RichMetal = ... # type: QGradient.Preset + JuicyCake = ... # type: QGradient.Preset + SmartIndigo = ... # type: QGradient.Preset + SandStrike = ... # type: QGradient.Preset + NorseBeauty = ... # type: QGradient.Preset + AquaGuidance = ... # type: QGradient.Preset + SunVeggie = ... # type: QGradient.Preset + SeaLord = ... # type: QGradient.Preset + BlackSea = ... # type: QGradient.Preset + GrassShampoo = ... # type: QGradient.Preset + LandingAircraft = ... # type: QGradient.Preset + WitchDance = ... # type: QGradient.Preset + SleeplessNight = ... # type: QGradient.Preset + AngelCare = ... # type: QGradient.Preset + CrystalRiver = ... # type: QGradient.Preset + SoftLipstick = ... # type: QGradient.Preset + SaltMountain = ... # type: QGradient.Preset + PerfectWhite = ... # type: QGradient.Preset + FreshOasis = ... # type: QGradient.Preset + StrictNovember = ... # type: QGradient.Preset + MorningSalad = ... # type: QGradient.Preset + DeepRelief = ... # type: QGradient.Preset + SeaStrike = ... # type: QGradient.Preset + NightCall = ... # type: QGradient.Preset + SupremeSky = ... # type: QGradient.Preset + LightBlue = ... # type: QGradient.Preset + MindCrawl = ... # type: QGradient.Preset + LilyMeadow = ... # type: QGradient.Preset + SugarLollipop = ... # type: QGradient.Preset + SweetDessert = ... # type: QGradient.Preset + MagicRay = ... # type: QGradient.Preset + TeenParty = ... # type: QGradient.Preset + FrozenHeat = ... # type: QGradient.Preset + GagarinView = ... # type: QGradient.Preset + FabledSunset = ... # type: QGradient.Preset + PerfectBlue = ... # type: QGradient.Preset + NumPresets = ... # type: QGradient.Preset + + class Spread(int): + PadSpread = ... # type: QGradient.Spread + ReflectSpread = ... # type: QGradient.Spread + RepeatSpread = ... # type: QGradient.Spread + + class Type(int): + LinearGradient = ... # type: QGradient.Type + RadialGradient = ... # type: QGradient.Type + ConicalGradient = ... # type: QGradient.Type + NoGradient = ... # type: QGradient.Type + + class CoordinateMode(int): + LogicalMode = ... # type: QGradient.CoordinateMode + StretchToDeviceMode = ... # type: QGradient.CoordinateMode + ObjectBoundingMode = ... # type: QGradient.CoordinateMode + ObjectMode = ... # type: QGradient.CoordinateMode + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QGradient.Preset') -> None: ... + @typing.overload + def __init__(self, a0: 'QGradient') -> None: ... + + def setCoordinateMode(self, mode: 'QGradient.CoordinateMode') -> None: ... + def coordinateMode(self) -> 'QGradient.CoordinateMode': ... + def setSpread(self, aspread: 'QGradient.Spread') -> None: ... + def stops(self) -> typing.List[typing.Tuple[float, QColor]]: ... + def setStops(self, stops: typing.Iterable[typing.Tuple[float, typing.Union[QColor, QtCore.Qt.GlobalColor, 'QGradient']]]) -> None: ... + def setColorAt(self, pos: float, color: typing.Union[QColor, QtCore.Qt.GlobalColor, 'QGradient']) -> None: ... + def spread(self) -> 'QGradient.Spread': ... + def type(self) -> 'QGradient.Type': ... + + +class QLinearGradient(QGradient): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, start: typing.Union[QtCore.QPointF, QtCore.QPoint], finalStop: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, xStart: float, yStart: float, xFinalStop: float, yFinalStop: float) -> None: ... + @typing.overload + def __init__(self, a0: 'QLinearGradient') -> None: ... + + @typing.overload + def setFinalStop(self, stop: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setFinalStop(self, x: float, y: float) -> None: ... + @typing.overload + def setStart(self, start: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setStart(self, x: float, y: float) -> None: ... + def finalStop(self) -> QtCore.QPointF: ... + def start(self) -> QtCore.QPointF: ... + + +class QRadialGradient(QGradient): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, center: typing.Union[QtCore.QPointF, QtCore.QPoint], radius: float, focalPoint: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, center: typing.Union[QtCore.QPointF, QtCore.QPoint], centerRadius: float, focalPoint: typing.Union[QtCore.QPointF, QtCore.QPoint], focalRadius: float) -> None: ... + @typing.overload + def __init__(self, center: typing.Union[QtCore.QPointF, QtCore.QPoint], radius: float) -> None: ... + @typing.overload + def __init__(self, cx: float, cy: float, radius: float, fx: float, fy: float) -> None: ... + @typing.overload + def __init__(self, cx: float, cy: float, centerRadius: float, fx: float, fy: float, focalRadius: float) -> None: ... + @typing.overload + def __init__(self, cx: float, cy: float, radius: float) -> None: ... + @typing.overload + def __init__(self, a0: 'QRadialGradient') -> None: ... + + def setFocalRadius(self, radius: float) -> None: ... + def focalRadius(self) -> float: ... + def setCenterRadius(self, radius: float) -> None: ... + def centerRadius(self) -> float: ... + def setRadius(self, radius: float) -> None: ... + @typing.overload + def setFocalPoint(self, focalPoint: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setFocalPoint(self, x: float, y: float) -> None: ... + @typing.overload + def setCenter(self, center: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setCenter(self, x: float, y: float) -> None: ... + def radius(self) -> float: ... + def focalPoint(self) -> QtCore.QPointF: ... + def center(self) -> QtCore.QPointF: ... + + +class QConicalGradient(QGradient): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, center: typing.Union[QtCore.QPointF, QtCore.QPoint], startAngle: float) -> None: ... + @typing.overload + def __init__(self, cx: float, cy: float, startAngle: float) -> None: ... + @typing.overload + def __init__(self, a0: 'QConicalGradient') -> None: ... + + def setAngle(self, angle: float) -> None: ... + @typing.overload + def setCenter(self, center: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setCenter(self, x: float, y: float) -> None: ... + def angle(self) -> float: ... + def center(self) -> QtCore.QPointF: ... + + +class QClipboard(QtCore.QObject): + + class Mode(int): + Clipboard = ... # type: QClipboard.Mode + Selection = ... # type: QClipboard.Mode + FindBuffer = ... # type: QClipboard.Mode + + def selectionChanged(self) -> None: ... + def findBufferChanged(self) -> None: ... + def dataChanged(self) -> None: ... + def changed(self, mode: 'QClipboard.Mode') -> None: ... + def setPixmap(self, a0: QPixmap, mode: 'QClipboard.Mode' = ...) -> None: ... + def setImage(self, a0: 'QImage', mode: 'QClipboard.Mode' = ...) -> None: ... + def pixmap(self, mode: 'QClipboard.Mode' = ...) -> QPixmap: ... + def image(self, mode: 'QClipboard.Mode' = ...) -> 'QImage': ... + def setMimeData(self, data: QtCore.QMimeData, mode: 'QClipboard.Mode' = ...) -> None: ... + def mimeData(self, mode: 'QClipboard.Mode' = ...) -> QtCore.QMimeData: ... + def setText(self, a0: str, mode: 'QClipboard.Mode' = ...) -> None: ... + @typing.overload + def text(self, mode: 'QClipboard.Mode' = ...) -> str: ... + @typing.overload + def text(self, subtype: str, mode: 'QClipboard.Mode' = ...) -> typing.Tuple[str, str]: ... + def ownsSelection(self) -> bool: ... + def ownsFindBuffer(self) -> bool: ... + def ownsClipboard(self) -> bool: ... + def supportsSelection(self) -> bool: ... + def supportsFindBuffer(self) -> bool: ... + def clear(self, mode: 'QClipboard.Mode' = ...) -> None: ... + + +class QColorSpace(sip.simplewrapper): + + class TransferFunction(int): + Custom = ... # type: QColorSpace.TransferFunction + Linear = ... # type: QColorSpace.TransferFunction + Gamma = ... # type: QColorSpace.TransferFunction + SRgb = ... # type: QColorSpace.TransferFunction + ProPhotoRgb = ... # type: QColorSpace.TransferFunction + + class Primaries(int): + Custom = ... # type: QColorSpace.Primaries + SRgb = ... # type: QColorSpace.Primaries + AdobeRgb = ... # type: QColorSpace.Primaries + DciP3D65 = ... # type: QColorSpace.Primaries + ProPhotoRgb = ... # type: QColorSpace.Primaries + + class NamedColorSpace(int): + SRgb = ... # type: QColorSpace.NamedColorSpace + SRgbLinear = ... # type: QColorSpace.NamedColorSpace + AdobeRgb = ... # type: QColorSpace.NamedColorSpace + DisplayP3 = ... # type: QColorSpace.NamedColorSpace + ProPhotoRgb = ... # type: QColorSpace.NamedColorSpace + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, namedColorSpace: 'QColorSpace.NamedColorSpace') -> None: ... + @typing.overload + def __init__(self, primaries: 'QColorSpace.Primaries', fun: 'QColorSpace.TransferFunction', gamma: float = ...) -> None: ... + @typing.overload + def __init__(self, primaries: 'QColorSpace.Primaries', gamma: float) -> None: ... + @typing.overload + def __init__(self, whitePoint: typing.Union[QtCore.QPointF, QtCore.QPoint], redPoint: typing.Union[QtCore.QPointF, QtCore.QPoint], greenPoint: typing.Union[QtCore.QPointF, QtCore.QPoint], bluePoint: typing.Union[QtCore.QPointF, QtCore.QPoint], fun: 'QColorSpace.TransferFunction', gamma: float = ...) -> None: ... + @typing.overload + def __init__(self, colorSpace: 'QColorSpace') -> None: ... + + def transformationToColorSpace(self, colorspace: 'QColorSpace') -> 'QColorTransform': ... + def iccProfile(self) -> QtCore.QByteArray: ... + @staticmethod + def fromIccProfile(iccProfile: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> 'QColorSpace': ... + def isValid(self) -> bool: ... + @typing.overload + def setPrimaries(self, primariesId: 'QColorSpace.Primaries') -> None: ... + @typing.overload + def setPrimaries(self, whitePoint: typing.Union[QtCore.QPointF, QtCore.QPoint], redPoint: typing.Union[QtCore.QPointF, QtCore.QPoint], greenPoint: typing.Union[QtCore.QPointF, QtCore.QPoint], bluePoint: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def withTransferFunction(self, transferFunction: 'QColorSpace.TransferFunction', gamma: float = ...) -> 'QColorSpace': ... + def setTransferFunction(self, transferFunction: 'QColorSpace.TransferFunction', gamma: float = ...) -> None: ... + def gamma(self) -> float: ... + def transferFunction(self) -> 'QColorSpace.TransferFunction': ... + def primaries(self) -> 'QColorSpace.Primaries': ... + def swap(self, colorSpace: 'QColorSpace') -> None: ... + + +class QColorTransform(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, colorTransform: 'QColorTransform') -> None: ... + + @typing.overload + def map(self, argb: int) -> int: ... + @typing.overload + def map(self, rgba64: 'QRgba64') -> 'QRgba64': ... + @typing.overload + def map(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> QColor: ... + def swap(self, other: 'QColorTransform') -> None: ... + + +class QCursor(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, bitmap: QBitmap, mask: QBitmap, hotX: int = ..., hotY: int = ...) -> None: ... + @typing.overload + def __init__(self, pixmap: QPixmap, hotX: int = ..., hotY: int = ...) -> None: ... + @typing.overload + def __init__(self, cursor: typing.Union['QCursor', QtCore.Qt.CursorShape]) -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def swap(self, other: typing.Union['QCursor', QtCore.Qt.CursorShape]) -> None: ... + @typing.overload + @staticmethod + def setPos(x: int, y: int) -> None: ... + @typing.overload + @staticmethod + def setPos(p: QtCore.QPoint) -> None: ... + @typing.overload + @staticmethod + def setPos(screen: 'QScreen', x: int, y: int) -> None: ... + @typing.overload + @staticmethod + def setPos(screen: 'QScreen', p: QtCore.QPoint) -> None: ... + @typing.overload + @staticmethod + def pos() -> QtCore.QPoint: ... + @typing.overload + @staticmethod + def pos(screen: 'QScreen') -> QtCore.QPoint: ... + def hotSpot(self) -> QtCore.QPoint: ... + def pixmap(self) -> QPixmap: ... + def mask(self) -> QBitmap: ... + def bitmap(self) -> QBitmap: ... + def setShape(self, newShape: QtCore.Qt.CursorShape) -> None: ... + def shape(self) -> QtCore.Qt.CursorShape: ... + + +class QDesktopServices(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDesktopServices') -> None: ... + + @staticmethod + def unsetUrlHandler(scheme: str) -> None: ... + @typing.overload + @staticmethod + def setUrlHandler(scheme: str, receiver: QtCore.QObject, method: str) -> None: ... + @typing.overload + @staticmethod + def setUrlHandler(scheme: str, method: typing.Callable[[QtCore.QUrl], None]) -> None: ... + @staticmethod + def openUrl(url: QtCore.QUrl) -> bool: ... + + +class QDrag(QtCore.QObject): + + def __init__(self, dragSource: QtCore.QObject) -> None: ... + + @staticmethod + def cancel() -> None: ... + def defaultAction(self) -> QtCore.Qt.DropAction: ... + def supportedActions(self) -> QtCore.Qt.DropActions: ... + def dragCursor(self, action: QtCore.Qt.DropAction) -> QPixmap: ... + def targetChanged(self, newTarget: QtCore.QObject) -> None: ... + def actionChanged(self, action: QtCore.Qt.DropAction) -> None: ... + def setDragCursor(self, cursor: QPixmap, action: QtCore.Qt.DropAction) -> None: ... + def target(self) -> QtCore.QObject: ... + def source(self) -> QtCore.QObject: ... + def hotSpot(self) -> QtCore.QPoint: ... + def setHotSpot(self, hotspot: QtCore.QPoint) -> None: ... + def pixmap(self) -> QPixmap: ... + def setPixmap(self, a0: QPixmap) -> None: ... + def mimeData(self) -> QtCore.QMimeData: ... + def setMimeData(self, data: QtCore.QMimeData) -> None: ... + @typing.overload + def exec(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction] = ...) -> QtCore.Qt.DropAction: ... + @typing.overload + def exec(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction], defaultDropAction: QtCore.Qt.DropAction) -> QtCore.Qt.DropAction: ... + @typing.overload + def exec_(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction] = ...) -> QtCore.Qt.DropAction: ... + @typing.overload + def exec_(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction], defaultDropAction: QtCore.Qt.DropAction) -> QtCore.Qt.DropAction: ... + + +class QInputEvent(QtCore.QEvent): + + def setTimestamp(self, atimestamp: int) -> None: ... + def timestamp(self) -> int: ... + def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ... + + +class QMouseEvent(QInputEvent): + + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], button: QtCore.Qt.MouseButton, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ... + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], button: QtCore.Qt.MouseButton, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ... + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], windowPos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], button: QtCore.Qt.MouseButton, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ... + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, localPos: typing.Union[QtCore.QPointF, QtCore.QPoint], windowPos: typing.Union[QtCore.QPointF, QtCore.QPoint], screenPos: typing.Union[QtCore.QPointF, QtCore.QPoint], button: QtCore.Qt.MouseButton, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], source: QtCore.Qt.MouseEventSource) -> None: ... + @typing.overload + def __init__(self, a0: 'QMouseEvent') -> None: ... + + def flags(self) -> QtCore.Qt.MouseEventFlags: ... + def source(self) -> QtCore.Qt.MouseEventSource: ... + def screenPos(self) -> QtCore.QPointF: ... + def windowPos(self) -> QtCore.QPointF: ... + def localPos(self) -> QtCore.QPointF: ... + def buttons(self) -> QtCore.Qt.MouseButtons: ... + def button(self) -> QtCore.Qt.MouseButton: ... + def globalY(self) -> int: ... + def globalX(self) -> int: ... + def y(self) -> int: ... + def x(self) -> int: ... + def globalPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + + +class QHoverEvent(QInputEvent): + + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], oldPos: typing.Union[QtCore.QPointF, QtCore.QPoint], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QHoverEvent') -> None: ... + + def oldPosF(self) -> QtCore.QPointF: ... + def posF(self) -> QtCore.QPointF: ... + def oldPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + + +class QWheelEvent(QInputEvent): + + @typing.overload + def __init__(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], pixelDelta: QtCore.QPoint, angleDelta: QtCore.QPoint, qt4Delta: int, qt4Orientation: QtCore.Qt.Orientation, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ... + @typing.overload + def __init__(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], pixelDelta: QtCore.QPoint, angleDelta: QtCore.QPoint, qt4Delta: int, qt4Orientation: QtCore.Qt.Orientation, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], phase: QtCore.Qt.ScrollPhase) -> None: ... + @typing.overload + def __init__(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], pixelDelta: QtCore.QPoint, angleDelta: QtCore.QPoint, qt4Delta: int, qt4Orientation: QtCore.Qt.Orientation, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], phase: QtCore.Qt.ScrollPhase, source: QtCore.Qt.MouseEventSource) -> None: ... + @typing.overload + def __init__(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], pixelDelta: QtCore.QPoint, angleDelta: QtCore.QPoint, qt4Delta: int, qt4Orientation: QtCore.Qt.Orientation, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], phase: QtCore.Qt.ScrollPhase, source: QtCore.Qt.MouseEventSource, inverted: bool) -> None: ... + @typing.overload + def __init__(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], pixelDelta: QtCore.QPoint, angleDelta: QtCore.QPoint, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], phase: QtCore.Qt.ScrollPhase, inverted: bool, source: QtCore.Qt.MouseEventSource = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QWheelEvent') -> None: ... + + def globalPosition(self) -> QtCore.QPointF: ... + def position(self) -> QtCore.QPointF: ... + def inverted(self) -> bool: ... + def source(self) -> QtCore.Qt.MouseEventSource: ... + def phase(self) -> QtCore.Qt.ScrollPhase: ... + def globalPosF(self) -> QtCore.QPointF: ... + def posF(self) -> QtCore.QPointF: ... + def angleDelta(self) -> QtCore.QPoint: ... + def pixelDelta(self) -> QtCore.QPoint: ... + def buttons(self) -> QtCore.Qt.MouseButtons: ... + def globalY(self) -> int: ... + def globalX(self) -> int: ... + def y(self) -> int: ... + def x(self) -> int: ... + def globalPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + + +class QTabletEvent(QInputEvent): + + class PointerType(int): + UnknownPointer = ... # type: QTabletEvent.PointerType + Pen = ... # type: QTabletEvent.PointerType + Cursor = ... # type: QTabletEvent.PointerType + Eraser = ... # type: QTabletEvent.PointerType + + class TabletDevice(int): + NoDevice = ... # type: QTabletEvent.TabletDevice + Puck = ... # type: QTabletEvent.TabletDevice + Stylus = ... # type: QTabletEvent.TabletDevice + Airbrush = ... # type: QTabletEvent.TabletDevice + FourDMouse = ... # type: QTabletEvent.TabletDevice + XFreeEraser = ... # type: QTabletEvent.TabletDevice + RotationStylus = ... # type: QTabletEvent.TabletDevice + + @typing.overload + def __init__(self, t: QtCore.QEvent.Type, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], device: int, pointerType: int, pressure: float, xTilt: int, yTilt: int, tangentialPressure: float, rotation: float, z: int, keyState: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], uniqueID: int, button: QtCore.Qt.MouseButton, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton]) -> None: ... + @typing.overload + def __init__(self, t: QtCore.QEvent.Type, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], globalPos: typing.Union[QtCore.QPointF, QtCore.QPoint], device: int, pointerType: int, pressure: float, xTilt: int, yTilt: int, tangentialPressure: float, rotation: float, z: int, keyState: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], uniqueID: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QTabletEvent') -> None: ... + + def deviceType(self) -> 'QTabletEvent.TabletDevice': ... + def buttons(self) -> QtCore.Qt.MouseButtons: ... + def button(self) -> QtCore.Qt.MouseButton: ... + def globalPosF(self) -> QtCore.QPointF: ... + def posF(self) -> QtCore.QPointF: ... + def yTilt(self) -> int: ... + def xTilt(self) -> int: ... + def rotation(self) -> float: ... + def tangentialPressure(self) -> float: ... + def z(self) -> int: ... + def pressure(self) -> float: ... + def uniqueId(self) -> int: ... + def pointerType(self) -> 'QTabletEvent.PointerType': ... + def device(self) -> 'QTabletEvent.TabletDevice': ... + def hiResGlobalY(self) -> float: ... + def hiResGlobalX(self) -> float: ... + def globalY(self) -> int: ... + def globalX(self) -> int: ... + def y(self) -> int: ... + def x(self) -> int: ... + def globalPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + + +class QKeyEvent(QInputEvent): + + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, key: int, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], nativeScanCode: int, nativeVirtualKey: int, nativeModifiers: int, text: str = ..., autorep: bool = ..., count: int = ...) -> None: ... + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, key: int, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], text: str = ..., autorep: bool = ..., count: int = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QKeyEvent') -> None: ... + + def nativeVirtualKey(self) -> int: ... + def nativeScanCode(self) -> int: ... + def nativeModifiers(self) -> int: ... + def matches(self, key: 'QKeySequence.StandardKey') -> bool: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def isAutoRepeat(self) -> bool: ... + def text(self) -> str: ... + def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ... + def key(self) -> int: ... + + +class QFocusEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, reason: QtCore.Qt.FocusReason = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QFocusEvent') -> None: ... + + def reason(self) -> QtCore.Qt.FocusReason: ... + def lostFocus(self) -> bool: ... + def gotFocus(self) -> bool: ... + + +class QPaintEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, paintRegion: 'QRegion') -> None: ... + @typing.overload + def __init__(self, paintRect: QtCore.QRect) -> None: ... + @typing.overload + def __init__(self, a0: 'QPaintEvent') -> None: ... + + def region(self) -> 'QRegion': ... + def rect(self) -> QtCore.QRect: ... + + +class QMoveEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, pos: QtCore.QPoint, oldPos: QtCore.QPoint) -> None: ... + @typing.overload + def __init__(self, a0: 'QMoveEvent') -> None: ... + + def oldPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + + +class QResizeEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, size: QtCore.QSize, oldSize: QtCore.QSize) -> None: ... + @typing.overload + def __init__(self, a0: 'QResizeEvent') -> None: ... + + def oldSize(self) -> QtCore.QSize: ... + def size(self) -> QtCore.QSize: ... + + +class QCloseEvent(QtCore.QEvent): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QCloseEvent') -> None: ... + + +class QIconDragEvent(QtCore.QEvent): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QIconDragEvent') -> None: ... + + +class QShowEvent(QtCore.QEvent): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QShowEvent') -> None: ... + + +class QHideEvent(QtCore.QEvent): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QHideEvent') -> None: ... + + +class QContextMenuEvent(QInputEvent): + + class Reason(int): + Mouse = ... # type: QContextMenuEvent.Reason + Keyboard = ... # type: QContextMenuEvent.Reason + Other = ... # type: QContextMenuEvent.Reason + + @typing.overload + def __init__(self, reason: 'QContextMenuEvent.Reason', pos: QtCore.QPoint, globalPos: QtCore.QPoint, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ... + @typing.overload + def __init__(self, reason: 'QContextMenuEvent.Reason', pos: QtCore.QPoint, globalPos: QtCore.QPoint) -> None: ... + @typing.overload + def __init__(self, reason: 'QContextMenuEvent.Reason', pos: QtCore.QPoint) -> None: ... + @typing.overload + def __init__(self, a0: 'QContextMenuEvent') -> None: ... + + def reason(self) -> 'QContextMenuEvent.Reason': ... + def globalPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + def globalY(self) -> int: ... + def globalX(self) -> int: ... + def y(self) -> int: ... + def x(self) -> int: ... + + +class QInputMethodEvent(QtCore.QEvent): + + class AttributeType(int): + TextFormat = ... # type: QInputMethodEvent.AttributeType + Cursor = ... # type: QInputMethodEvent.AttributeType + Language = ... # type: QInputMethodEvent.AttributeType + Ruby = ... # type: QInputMethodEvent.AttributeType + Selection = ... # type: QInputMethodEvent.AttributeType + + class Attribute(sip.simplewrapper): + + length = ... # type: int + start = ... # type: int + type = ... # type: 'QInputMethodEvent.AttributeType' + value = ... # type: typing.Any + + @typing.overload + def __init__(self, t: 'QInputMethodEvent.AttributeType', s: int, l: int, val: typing.Any) -> None: ... + @typing.overload + def __init__(self, typ: 'QInputMethodEvent.AttributeType', s: int, l: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QInputMethodEvent.Attribute') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, preeditText: str, attributes: typing.Iterable['QInputMethodEvent.Attribute']) -> None: ... + @typing.overload + def __init__(self, other: 'QInputMethodEvent') -> None: ... + + def replacementLength(self) -> int: ... + def replacementStart(self) -> int: ... + def commitString(self) -> str: ... + def preeditString(self) -> str: ... + def attributes(self) -> typing.List['QInputMethodEvent.Attribute']: ... + def setCommitString(self, commitString: str, from_: int = ..., length: int = ...) -> None: ... + + +class QInputMethodQueryEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, queries: typing.Union[QtCore.Qt.InputMethodQueries, QtCore.Qt.InputMethodQuery]) -> None: ... + @typing.overload + def __init__(self, a0: 'QInputMethodQueryEvent') -> None: ... + + def value(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def setValue(self, query: QtCore.Qt.InputMethodQuery, value: typing.Any) -> None: ... + def queries(self) -> QtCore.Qt.InputMethodQueries: ... + + +class QDropEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], actions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction], data: QtCore.QMimeData, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], type: QtCore.QEvent.Type = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QDropEvent') -> None: ... + + def mimeData(self) -> QtCore.QMimeData: ... + def source(self) -> QtCore.QObject: ... + def setDropAction(self, action: QtCore.Qt.DropAction) -> None: ... + def dropAction(self) -> QtCore.Qt.DropAction: ... + def acceptProposedAction(self) -> None: ... + def proposedAction(self) -> QtCore.Qt.DropAction: ... + def possibleActions(self) -> QtCore.Qt.DropActions: ... + def keyboardModifiers(self) -> QtCore.Qt.KeyboardModifiers: ... + def mouseButtons(self) -> QtCore.Qt.MouseButtons: ... + def posF(self) -> QtCore.QPointF: ... + def pos(self) -> QtCore.QPoint: ... + + +class QDragMoveEvent(QDropEvent): + + @typing.overload + def __init__(self, pos: QtCore.QPoint, actions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction], data: QtCore.QMimeData, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier], type: QtCore.QEvent.Type = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QDragMoveEvent') -> None: ... + + @typing.overload + def ignore(self) -> None: ... + @typing.overload + def ignore(self, r: QtCore.QRect) -> None: ... + @typing.overload + def accept(self) -> None: ... + @typing.overload + def accept(self, r: QtCore.QRect) -> None: ... + def answerRect(self) -> QtCore.QRect: ... + + +class QDragEnterEvent(QDragMoveEvent): + + @typing.overload + def __init__(self, pos: QtCore.QPoint, actions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction], data: QtCore.QMimeData, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton], modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ... + @typing.overload + def __init__(self, a0: 'QDragEnterEvent') -> None: ... + + +class QDragLeaveEvent(QtCore.QEvent): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDragLeaveEvent') -> None: ... + + +class QHelpEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, type: QtCore.QEvent.Type, pos: QtCore.QPoint, globalPos: QtCore.QPoint) -> None: ... + @typing.overload + def __init__(self, a0: 'QHelpEvent') -> None: ... + + def globalPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + def globalY(self) -> int: ... + def globalX(self) -> int: ... + def y(self) -> int: ... + def x(self) -> int: ... + + +class QStatusTipEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, tip: str) -> None: ... + @typing.overload + def __init__(self, a0: 'QStatusTipEvent') -> None: ... + + def tip(self) -> str: ... + + +class QWhatsThisClickedEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, href: str) -> None: ... + @typing.overload + def __init__(self, a0: 'QWhatsThisClickedEvent') -> None: ... + + def href(self) -> str: ... + + +class QActionEvent(QtCore.QEvent): + + from PyQt5.QtWidgets import QAction + + @typing.overload + def __init__(self, type: int, action: QAction, before: typing.Optional[QAction] = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QActionEvent') -> None: ... + + def before(self) -> QAction: ... + def action(self) -> QAction: ... + + +class QFileOpenEvent(QtCore.QEvent): + + def openFile(self, file: QtCore.QFile, flags: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag]) -> bool: ... + def url(self) -> QtCore.QUrl: ... + def file(self) -> str: ... + + +class QShortcutEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, key: typing.Union['QKeySequence', 'QKeySequence.StandardKey', str, int], id: int, ambiguous: bool = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QShortcutEvent') -> None: ... + + def shortcutId(self) -> int: ... + def key(self) -> 'QKeySequence': ... + def isAmbiguous(self) -> bool: ... + + +class QWindowStateChangeEvent(QtCore.QEvent): + + def oldState(self) -> QtCore.Qt.WindowStates: ... + + +class QTouchEvent(QInputEvent): + + class TouchPoint(sip.simplewrapper): + + class InfoFlag(int): + Pen = ... # type: QTouchEvent.TouchPoint.InfoFlag + Token = ... # type: QTouchEvent.TouchPoint.InfoFlag + + class InfoFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTouchEvent.TouchPoint.InfoFlags', 'QTouchEvent.TouchPoint.InfoFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTouchEvent.TouchPoint.InfoFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTouchEvent.TouchPoint.InfoFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def ellipseDiameters(self) -> QtCore.QSizeF: ... + def rotation(self) -> float: ... + def uniqueId(self) -> 'QPointingDeviceUniqueId': ... + def rawScreenPositions(self) -> typing.List[QtCore.QPointF]: ... + def flags(self) -> 'QTouchEvent.TouchPoint.InfoFlags': ... + def velocity(self) -> 'QVector2D': ... + def pressure(self) -> float: ... + def screenRect(self) -> QtCore.QRectF: ... + def sceneRect(self) -> QtCore.QRectF: ... + def rect(self) -> QtCore.QRectF: ... + def lastNormalizedPos(self) -> QtCore.QPointF: ... + def startNormalizedPos(self) -> QtCore.QPointF: ... + def normalizedPos(self) -> QtCore.QPointF: ... + def lastScreenPos(self) -> QtCore.QPointF: ... + def startScreenPos(self) -> QtCore.QPointF: ... + def screenPos(self) -> QtCore.QPointF: ... + def lastScenePos(self) -> QtCore.QPointF: ... + def startScenePos(self) -> QtCore.QPointF: ... + def scenePos(self) -> QtCore.QPointF: ... + def lastPos(self) -> QtCore.QPointF: ... + def startPos(self) -> QtCore.QPointF: ... + def pos(self) -> QtCore.QPointF: ... + def state(self) -> QtCore.Qt.TouchPointState: ... + def id(self) -> int: ... + + @typing.overload + def __init__(self, eventType: QtCore.QEvent.Type, device: typing.Optional['QTouchDevice'] = ..., modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., touchPointStates: typing.Union[QtCore.Qt.TouchPointStates, QtCore.Qt.TouchPointState] = ..., touchPoints: typing.Iterable['QTouchEvent.TouchPoint'] = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QTouchEvent') -> None: ... + + def setDevice(self, adevice: 'QTouchDevice') -> None: ... + def device(self) -> 'QTouchDevice': ... + def window(self) -> 'QWindow': ... + def touchPoints(self) -> typing.List['QTouchEvent.TouchPoint']: ... + def touchPointStates(self) -> QtCore.Qt.TouchPointStates: ... + def target(self) -> QtCore.QObject: ... + + +class QExposeEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, rgn: 'QRegion') -> None: ... + @typing.overload + def __init__(self, a0: 'QExposeEvent') -> None: ... + + def region(self) -> 'QRegion': ... + + +class QScrollPrepareEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, startPos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, a0: 'QScrollPrepareEvent') -> None: ... + + def setContentPos(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def setContentPosRange(self, rect: QtCore.QRectF) -> None: ... + def setViewportSize(self, size: QtCore.QSizeF) -> None: ... + def contentPos(self) -> QtCore.QPointF: ... + def contentPosRange(self) -> QtCore.QRectF: ... + def viewportSize(self) -> QtCore.QSizeF: ... + def startPos(self) -> QtCore.QPointF: ... + + +class QScrollEvent(QtCore.QEvent): + + class ScrollState(int): + ScrollStarted = ... # type: QScrollEvent.ScrollState + ScrollUpdated = ... # type: QScrollEvent.ScrollState + ScrollFinished = ... # type: QScrollEvent.ScrollState + + @typing.overload + def __init__(self, contentPos: typing.Union[QtCore.QPointF, QtCore.QPoint], overshoot: typing.Union[QtCore.QPointF, QtCore.QPoint], scrollState: 'QScrollEvent.ScrollState') -> None: ... + @typing.overload + def __init__(self, a0: 'QScrollEvent') -> None: ... + + def scrollState(self) -> 'QScrollEvent.ScrollState': ... + def overshootDistance(self) -> QtCore.QPointF: ... + def contentPos(self) -> QtCore.QPointF: ... + + +class QEnterEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, localPos: typing.Union[QtCore.QPointF, QtCore.QPoint], windowPos: typing.Union[QtCore.QPointF, QtCore.QPoint], screenPos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, a0: 'QEnterEvent') -> None: ... + + def screenPos(self) -> QtCore.QPointF: ... + def windowPos(self) -> QtCore.QPointF: ... + def localPos(self) -> QtCore.QPointF: ... + def globalY(self) -> int: ... + def globalX(self) -> int: ... + def y(self) -> int: ... + def x(self) -> int: ... + def globalPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + + +class QNativeGestureEvent(QInputEvent): + + @typing.overload + def __init__(self, type: QtCore.Qt.NativeGestureType, localPos: typing.Union[QtCore.QPointF, QtCore.QPoint], windowPos: typing.Union[QtCore.QPointF, QtCore.QPoint], screenPos: typing.Union[QtCore.QPointF, QtCore.QPoint], value: float, sequenceId: int, intArgument: int) -> None: ... + @typing.overload + def __init__(self, type: QtCore.Qt.NativeGestureType, dev: 'QTouchDevice', localPos: typing.Union[QtCore.QPointF, QtCore.QPoint], windowPos: typing.Union[QtCore.QPointF, QtCore.QPoint], screenPos: typing.Union[QtCore.QPointF, QtCore.QPoint], value: float, sequenceId: int, intArgument: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QNativeGestureEvent') -> None: ... + + def device(self) -> 'QTouchDevice': ... + def screenPos(self) -> QtCore.QPointF: ... + def windowPos(self) -> QtCore.QPointF: ... + def localPos(self) -> QtCore.QPointF: ... + def globalPos(self) -> QtCore.QPoint: ... + def pos(self) -> QtCore.QPoint: ... + def value(self) -> float: ... + def gestureType(self) -> QtCore.Qt.NativeGestureType: ... + + +class QPlatformSurfaceEvent(QtCore.QEvent): + + class SurfaceEventType(int): + SurfaceCreated = ... # type: QPlatformSurfaceEvent.SurfaceEventType + SurfaceAboutToBeDestroyed = ... # type: QPlatformSurfaceEvent.SurfaceEventType + + @typing.overload + def __init__(self, surfaceEventType: 'QPlatformSurfaceEvent.SurfaceEventType') -> None: ... + @typing.overload + def __init__(self, a0: 'QPlatformSurfaceEvent') -> None: ... + + def surfaceEventType(self) -> 'QPlatformSurfaceEvent.SurfaceEventType': ... + + +class QPointingDeviceUniqueId(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QPointingDeviceUniqueId') -> None: ... + + def __hash__(self) -> int: ... + def numericId(self) -> int: ... + def isValid(self) -> bool: ... + @staticmethod + def fromNumericId(id: int) -> 'QPointingDeviceUniqueId': ... + + +class QFont(sip.simplewrapper): + + class HintingPreference(int): + PreferDefaultHinting = ... # type: QFont.HintingPreference + PreferNoHinting = ... # type: QFont.HintingPreference + PreferVerticalHinting = ... # type: QFont.HintingPreference + PreferFullHinting = ... # type: QFont.HintingPreference + + class SpacingType(int): + PercentageSpacing = ... # type: QFont.SpacingType + AbsoluteSpacing = ... # type: QFont.SpacingType + + class Capitalization(int): + MixedCase = ... # type: QFont.Capitalization + AllUppercase = ... # type: QFont.Capitalization + AllLowercase = ... # type: QFont.Capitalization + SmallCaps = ... # type: QFont.Capitalization + Capitalize = ... # type: QFont.Capitalization + + class Stretch(int): + AnyStretch = ... # type: QFont.Stretch + UltraCondensed = ... # type: QFont.Stretch + ExtraCondensed = ... # type: QFont.Stretch + Condensed = ... # type: QFont.Stretch + SemiCondensed = ... # type: QFont.Stretch + Unstretched = ... # type: QFont.Stretch + SemiExpanded = ... # type: QFont.Stretch + Expanded = ... # type: QFont.Stretch + ExtraExpanded = ... # type: QFont.Stretch + UltraExpanded = ... # type: QFont.Stretch + + class Style(int): + StyleNormal = ... # type: QFont.Style + StyleItalic = ... # type: QFont.Style + StyleOblique = ... # type: QFont.Style + + class Weight(int): + Thin = ... # type: QFont.Weight + ExtraLight = ... # type: QFont.Weight + Light = ... # type: QFont.Weight + Normal = ... # type: QFont.Weight + Medium = ... # type: QFont.Weight + DemiBold = ... # type: QFont.Weight + Bold = ... # type: QFont.Weight + ExtraBold = ... # type: QFont.Weight + Black = ... # type: QFont.Weight + + class StyleStrategy(int): + PreferDefault = ... # type: QFont.StyleStrategy + PreferBitmap = ... # type: QFont.StyleStrategy + PreferDevice = ... # type: QFont.StyleStrategy + PreferOutline = ... # type: QFont.StyleStrategy + ForceOutline = ... # type: QFont.StyleStrategy + PreferMatch = ... # type: QFont.StyleStrategy + PreferQuality = ... # type: QFont.StyleStrategy + PreferAntialias = ... # type: QFont.StyleStrategy + NoAntialias = ... # type: QFont.StyleStrategy + NoSubpixelAntialias = ... # type: QFont.StyleStrategy + OpenGLCompatible = ... # type: QFont.StyleStrategy + NoFontMerging = ... # type: QFont.StyleStrategy + ForceIntegerMetrics = ... # type: QFont.StyleStrategy + PreferNoShaping = ... # type: QFont.StyleStrategy + + class StyleHint(int): + Helvetica = ... # type: QFont.StyleHint + SansSerif = ... # type: QFont.StyleHint + Times = ... # type: QFont.StyleHint + Serif = ... # type: QFont.StyleHint + Courier = ... # type: QFont.StyleHint + TypeWriter = ... # type: QFont.StyleHint + OldEnglish = ... # type: QFont.StyleHint + Decorative = ... # type: QFont.StyleHint + System = ... # type: QFont.StyleHint + AnyStyle = ... # type: QFont.StyleHint + Cursive = ... # type: QFont.StyleHint + Monospace = ... # type: QFont.StyleHint + Fantasy = ... # type: QFont.StyleHint + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, family: str, pointSize: int = ..., weight: int = ..., italic: bool = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QFont', pd: QPaintDevice) -> None: ... + @typing.overload + def __init__(self, a0: 'QFont') -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def setFamilies(self, a0: typing.Iterable[str]) -> None: ... + def families(self) -> typing.List[str]: ... + def __hash__(self) -> int: ... + def swap(self, other: 'QFont') -> None: ... + def hintingPreference(self) -> 'QFont.HintingPreference': ... + def setHintingPreference(self, hintingPreference: 'QFont.HintingPreference') -> None: ... + def setStyleName(self, styleName: str) -> None: ... + def styleName(self) -> str: ... + def capitalization(self) -> 'QFont.Capitalization': ... + def setCapitalization(self, a0: 'QFont.Capitalization') -> None: ... + def setWordSpacing(self, spacing: float) -> None: ... + def wordSpacing(self) -> float: ... + def setLetterSpacing(self, type: 'QFont.SpacingType', spacing: float) -> None: ... + def letterSpacingType(self) -> 'QFont.SpacingType': ... + def letterSpacing(self) -> float: ... + def setItalic(self, b: bool) -> None: ... + def italic(self) -> bool: ... + def setBold(self, enable: bool) -> None: ... + def bold(self) -> bool: ... + def resolve(self, a0: 'QFont') -> 'QFont': ... + def lastResortFont(self) -> str: ... + def lastResortFamily(self) -> str: ... + def defaultFamily(self) -> str: ... + @staticmethod + def cacheStatistics() -> None: ... + @staticmethod + def cleanup() -> None: ... + @staticmethod + def initialize() -> None: ... + @staticmethod + def removeSubstitutions(a0: str) -> None: ... + @staticmethod + def insertSubstitutions(a0: str, a1: typing.Iterable[str]) -> None: ... + @staticmethod + def insertSubstitution(a0: str, a1: str) -> None: ... + @staticmethod + def substitutions() -> typing.List[str]: ... + @staticmethod + def substitutes(a0: str) -> typing.List[str]: ... + @staticmethod + def substitute(a0: str) -> str: ... + def fromString(self, a0: str) -> bool: ... + def toString(self) -> str: ... + def key(self) -> str: ... + def rawName(self) -> str: ... + def setRawName(self, a0: str) -> None: ... + def isCopyOf(self, a0: 'QFont') -> bool: ... + def exactMatch(self) -> bool: ... + def setRawMode(self, a0: bool) -> None: ... + def rawMode(self) -> bool: ... + def setStretch(self, a0: int) -> None: ... + def stretch(self) -> int: ... + def setStyleStrategy(self, s: 'QFont.StyleStrategy') -> None: ... + def setStyleHint(self, hint: 'QFont.StyleHint', strategy: 'QFont.StyleStrategy' = ...) -> None: ... + def styleStrategy(self) -> 'QFont.StyleStrategy': ... + def styleHint(self) -> 'QFont.StyleHint': ... + def setKerning(self, a0: bool) -> None: ... + def kerning(self) -> bool: ... + def setFixedPitch(self, a0: bool) -> None: ... + def fixedPitch(self) -> bool: ... + def setStrikeOut(self, a0: bool) -> None: ... + def strikeOut(self) -> bool: ... + def setOverline(self, a0: bool) -> None: ... + def overline(self) -> bool: ... + def setUnderline(self, a0: bool) -> None: ... + def underline(self) -> bool: ... + def style(self) -> 'QFont.Style': ... + def setStyle(self, style: 'QFont.Style') -> None: ... + def setWeight(self, a0: int) -> None: ... + def weight(self) -> int: ... + def setPixelSize(self, a0: int) -> None: ... + def pixelSize(self) -> int: ... + def setPointSizeF(self, a0: float) -> None: ... + def pointSizeF(self) -> float: ... + def setPointSize(self, a0: int) -> None: ... + def pointSize(self) -> int: ... + def setFamily(self, a0: str) -> None: ... + def family(self) -> str: ... + + +class QFontDatabase(sip.simplewrapper): + + class SystemFont(int): + GeneralFont = ... # type: QFontDatabase.SystemFont + FixedFont = ... # type: QFontDatabase.SystemFont + TitleFont = ... # type: QFontDatabase.SystemFont + SmallestReadableFont = ... # type: QFontDatabase.SystemFont + + class WritingSystem(int): + Any = ... # type: QFontDatabase.WritingSystem + Latin = ... # type: QFontDatabase.WritingSystem + Greek = ... # type: QFontDatabase.WritingSystem + Cyrillic = ... # type: QFontDatabase.WritingSystem + Armenian = ... # type: QFontDatabase.WritingSystem + Hebrew = ... # type: QFontDatabase.WritingSystem + Arabic = ... # type: QFontDatabase.WritingSystem + Syriac = ... # type: QFontDatabase.WritingSystem + Thaana = ... # type: QFontDatabase.WritingSystem + Devanagari = ... # type: QFontDatabase.WritingSystem + Bengali = ... # type: QFontDatabase.WritingSystem + Gurmukhi = ... # type: QFontDatabase.WritingSystem + Gujarati = ... # type: QFontDatabase.WritingSystem + Oriya = ... # type: QFontDatabase.WritingSystem + Tamil = ... # type: QFontDatabase.WritingSystem + Telugu = ... # type: QFontDatabase.WritingSystem + Kannada = ... # type: QFontDatabase.WritingSystem + Malayalam = ... # type: QFontDatabase.WritingSystem + Sinhala = ... # type: QFontDatabase.WritingSystem + Thai = ... # type: QFontDatabase.WritingSystem + Lao = ... # type: QFontDatabase.WritingSystem + Tibetan = ... # type: QFontDatabase.WritingSystem + Myanmar = ... # type: QFontDatabase.WritingSystem + Georgian = ... # type: QFontDatabase.WritingSystem + Khmer = ... # type: QFontDatabase.WritingSystem + SimplifiedChinese = ... # type: QFontDatabase.WritingSystem + TraditionalChinese = ... # type: QFontDatabase.WritingSystem + Japanese = ... # type: QFontDatabase.WritingSystem + Korean = ... # type: QFontDatabase.WritingSystem + Vietnamese = ... # type: QFontDatabase.WritingSystem + Other = ... # type: QFontDatabase.WritingSystem + Symbol = ... # type: QFontDatabase.WritingSystem + Ogham = ... # type: QFontDatabase.WritingSystem + Runic = ... # type: QFontDatabase.WritingSystem + Nko = ... # type: QFontDatabase.WritingSystem + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QFontDatabase') -> None: ... + + def isPrivateFamily(self, family: str) -> bool: ... + @staticmethod + def systemFont(type: 'QFontDatabase.SystemFont') -> QFont: ... + @staticmethod + def supportsThreadedFontRendering() -> bool: ... + @staticmethod + def removeAllApplicationFonts() -> bool: ... + @staticmethod + def removeApplicationFont(id: int) -> bool: ... + @staticmethod + def applicationFontFamilies(id: int) -> typing.List[str]: ... + @staticmethod + def addApplicationFontFromData(fontData: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> int: ... + @staticmethod + def addApplicationFont(fileName: str) -> int: ... + @staticmethod + def writingSystemSample(writingSystem: 'QFontDatabase.WritingSystem') -> str: ... + @staticmethod + def writingSystemName(writingSystem: 'QFontDatabase.WritingSystem') -> str: ... + def weight(self, family: str, style: str) -> int: ... + def bold(self, family: str, style: str) -> bool: ... + def italic(self, family: str, style: str) -> bool: ... + def isFixedPitch(self, family: str, style: str = ...) -> bool: ... + def isScalable(self, family: str, style: str = ...) -> bool: ... + def isSmoothlyScalable(self, family: str, style: str = ...) -> bool: ... + def isBitmapScalable(self, family: str, style: str = ...) -> bool: ... + def font(self, family: str, style: str, pointSize: int) -> QFont: ... + @typing.overload + def styleString(self, font: QFont) -> str: ... + @typing.overload + def styleString(self, fontInfo: 'QFontInfo') -> str: ... + def smoothSizes(self, family: str, style: str) -> typing.List[int]: ... + def pointSizes(self, family: str, style: str = ...) -> typing.List[int]: ... + def styles(self, family: str) -> typing.List[str]: ... + def families(self, writingSystem: 'QFontDatabase.WritingSystem' = ...) -> typing.List[str]: ... + @typing.overload + def writingSystems(self) -> typing.List['QFontDatabase.WritingSystem']: ... + @typing.overload + def writingSystems(self, family: str) -> typing.List['QFontDatabase.WritingSystem']: ... + @staticmethod + def standardSizes() -> typing.List[int]: ... + + +class QFontInfo(sip.simplewrapper): + + @typing.overload + def __init__(self, a0: QFont) -> None: ... + @typing.overload + def __init__(self, a0: 'QFontInfo') -> None: ... + + def swap(self, other: 'QFontInfo') -> None: ... + def styleName(self) -> str: ... + def exactMatch(self) -> bool: ... + def rawMode(self) -> bool: ... + def styleHint(self) -> QFont.StyleHint: ... + def fixedPitch(self) -> bool: ... + def bold(self) -> bool: ... + def weight(self) -> int: ... + def style(self) -> QFont.Style: ... + def italic(self) -> bool: ... + def pointSizeF(self) -> float: ... + def pointSize(self) -> int: ... + def pixelSize(self) -> int: ... + def family(self) -> str: ... + + +class QFontMetrics(sip.simplewrapper): + + @typing.overload + def __init__(self, a0: QFont) -> None: ... + @typing.overload + def __init__(self, a0: QFont, pd: QPaintDevice) -> None: ... + @typing.overload + def __init__(self, a0: 'QFontMetrics') -> None: ... + + def fontDpi(self) -> float: ... + def horizontalAdvance(self, a0: str, length: int = ...) -> int: ... + def capHeight(self) -> int: ... + def swap(self, other: 'QFontMetrics') -> None: ... + def inFontUcs4(self, character: int) -> bool: ... + def tightBoundingRect(self, text: str) -> QtCore.QRect: ... + def elidedText(self, text: str, mode: QtCore.Qt.TextElideMode, width: int, flags: int = ...) -> str: ... + def averageCharWidth(self) -> int: ... + def lineWidth(self) -> int: ... + def strikeOutPos(self) -> int: ... + def overlinePos(self) -> int: ... + def underlinePos(self) -> int: ... + def size(self, flags: int, text: str, tabStops: int = ..., tabArray: typing.Optional[typing.Optional[typing.List[int]]] = ...) -> QtCore.QSize: ... + @typing.overload + def boundingRect(self, text: str) -> QtCore.QRect: ... + @typing.overload + def boundingRect(self, rect: QtCore.QRect, flags: int, text: str, tabStops: int = ..., tabArray: typing.Optional[typing.Optional[typing.List[int]]] = ...) -> QtCore.QRect: ... + @typing.overload + def boundingRect(self, x: int, y: int, width: int, height: int, flags: int, text: str, tabStops: int = ..., tabArray: typing.Optional[typing.Optional[typing.List[int]]] = ...) -> QtCore.QRect: ... + def boundingRectChar(self, a0: str) -> QtCore.QRect: ... + def width(self, text: str, length: int = ...) -> int: ... + def widthChar(self, a0: str) -> int: ... + def rightBearing(self, a0: str) -> int: ... + def leftBearing(self, a0: str) -> int: ... + def inFont(self, a0: str) -> bool: ... + def xHeight(self) -> int: ... + def maxWidth(self) -> int: ... + def minRightBearing(self) -> int: ... + def minLeftBearing(self) -> int: ... + def lineSpacing(self) -> int: ... + def leading(self) -> int: ... + def height(self) -> int: ... + def descent(self) -> int: ... + def ascent(self) -> int: ... + + +class QFontMetricsF(sip.simplewrapper): + + @typing.overload + def __init__(self, a0: QFont) -> None: ... + @typing.overload + def __init__(self, a0: QFont, pd: QPaintDevice) -> None: ... + @typing.overload + def __init__(self, a0: QFontMetrics) -> None: ... + @typing.overload + def __init__(self, a0: 'QFontMetricsF') -> None: ... + + def fontDpi(self) -> float: ... + def horizontalAdvance(self, string: str, length: int = ...) -> float: ... + def capHeight(self) -> float: ... + def swap(self, other: 'QFontMetricsF') -> None: ... + def inFontUcs4(self, character: int) -> bool: ... + def tightBoundingRect(self, text: str) -> QtCore.QRectF: ... + def elidedText(self, text: str, mode: QtCore.Qt.TextElideMode, width: float, flags: int = ...) -> str: ... + def averageCharWidth(self) -> float: ... + def lineWidth(self) -> float: ... + def strikeOutPos(self) -> float: ... + def overlinePos(self) -> float: ... + def underlinePos(self) -> float: ... + def size(self, flags: int, text: str, tabStops: int = ..., tabArray: typing.Optional[typing.Optional[typing.List[int]]] = ...) -> QtCore.QSizeF: ... + @typing.overload + def boundingRect(self, string: str) -> QtCore.QRectF: ... + @typing.overload + def boundingRect(self, rect: QtCore.QRectF, flags: int, text: str, tabStops: int = ..., tabArray: typing.Optional[typing.Optional[typing.List[int]]] = ...) -> QtCore.QRectF: ... + def boundingRectChar(self, a0: str) -> QtCore.QRectF: ... + def width(self, string: str) -> float: ... + def widthChar(self, a0: str) -> float: ... + def rightBearing(self, a0: str) -> float: ... + def leftBearing(self, a0: str) -> float: ... + def inFont(self, a0: str) -> bool: ... + def xHeight(self) -> float: ... + def maxWidth(self) -> float: ... + def minRightBearing(self) -> float: ... + def minLeftBearing(self) -> float: ... + def lineSpacing(self) -> float: ... + def leading(self) -> float: ... + def height(self) -> float: ... + def descent(self) -> float: ... + def ascent(self) -> float: ... + + +class QMatrix4x3(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMatrix4x3') -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + + def transposed(self) -> 'QMatrix3x4': ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def copyDataTo(self) -> typing.List[float]: ... + def data(self) -> typing.List[float]: ... + def __repr__(self) -> str: ... + + +class QMatrix4x2(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMatrix4x2') -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + + def transposed(self) -> 'QMatrix2x4': ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def copyDataTo(self) -> typing.List[float]: ... + def data(self) -> typing.List[float]: ... + def __repr__(self) -> str: ... + + +class QMatrix3x4(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMatrix3x4') -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + + def transposed(self) -> QMatrix4x3: ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def copyDataTo(self) -> typing.List[float]: ... + def data(self) -> typing.List[float]: ... + def __repr__(self) -> str: ... + + +class QMatrix3x3(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMatrix3x3') -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + + def transposed(self) -> 'QMatrix3x3': ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def copyDataTo(self) -> typing.List[float]: ... + def data(self) -> typing.List[float]: ... + def __repr__(self) -> str: ... + + +class QMatrix3x2(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMatrix3x2') -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + + def transposed(self) -> 'QMatrix2x3': ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def copyDataTo(self) -> typing.List[float]: ... + def data(self) -> typing.List[float]: ... + def __repr__(self) -> str: ... + + +class QMatrix2x4(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMatrix2x4') -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + + def transposed(self) -> QMatrix4x2: ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def copyDataTo(self) -> typing.List[float]: ... + def data(self) -> typing.List[float]: ... + def __repr__(self) -> str: ... + + +class QMatrix2x3(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMatrix2x3') -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + + def transposed(self) -> QMatrix3x2: ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def copyDataTo(self) -> typing.List[float]: ... + def data(self) -> typing.List[float]: ... + def __repr__(self) -> str: ... + + +class QMatrix2x2(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QMatrix2x2') -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + + def transposed(self) -> 'QMatrix2x2': ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def copyDataTo(self) -> typing.List[float]: ... + def data(self) -> typing.List[float]: ... + def __repr__(self) -> str: ... + + +class QGlyphRun(sip.simplewrapper): + + class GlyphRunFlag(int): + Overline = ... # type: QGlyphRun.GlyphRunFlag + Underline = ... # type: QGlyphRun.GlyphRunFlag + StrikeOut = ... # type: QGlyphRun.GlyphRunFlag + RightToLeft = ... # type: QGlyphRun.GlyphRunFlag + SplitLigature = ... # type: QGlyphRun.GlyphRunFlag + + class GlyphRunFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGlyphRun.GlyphRunFlags', 'QGlyphRun.GlyphRunFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGlyphRun.GlyphRunFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGlyphRun.GlyphRunFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGlyphRun') -> None: ... + + def swap(self, other: 'QGlyphRun') -> None: ... + def isEmpty(self) -> bool: ... + def boundingRect(self) -> QtCore.QRectF: ... + def setBoundingRect(self, boundingRect: QtCore.QRectF) -> None: ... + def flags(self) -> 'QGlyphRun.GlyphRunFlags': ... + def setFlags(self, flags: typing.Union['QGlyphRun.GlyphRunFlags', 'QGlyphRun.GlyphRunFlag']) -> None: ... + def setFlag(self, flag: 'QGlyphRun.GlyphRunFlag', enabled: bool = ...) -> None: ... + def isRightToLeft(self) -> bool: ... + def setRightToLeft(self, on: bool) -> None: ... + def strikeOut(self) -> bool: ... + def setStrikeOut(self, strikeOut: bool) -> None: ... + def underline(self) -> bool: ... + def setUnderline(self, underline: bool) -> None: ... + def overline(self) -> bool: ... + def setOverline(self, overline: bool) -> None: ... + def clear(self) -> None: ... + def setPositions(self, positions: typing.Iterable[typing.Union[QtCore.QPointF, QtCore.QPoint]]) -> None: ... + def positions(self) -> typing.List[QtCore.QPointF]: ... + def setGlyphIndexes(self, glyphIndexes: typing.Iterable[int]) -> None: ... + def glyphIndexes(self) -> typing.List[int]: ... + def setRawFont(self, rawFont: 'QRawFont') -> None: ... + def rawFont(self) -> 'QRawFont': ... + + +class QGuiApplication(QtCore.QCoreApplication): + + def __init__(self, argv: typing.List[str]) -> None: ... + + @staticmethod + def highDpiScaleFactorRoundingPolicy() -> QtCore.Qt.HighDpiScaleFactorRoundingPolicy: ... + @staticmethod + def setHighDpiScaleFactorRoundingPolicy(policy: QtCore.Qt.HighDpiScaleFactorRoundingPolicy) -> None: ... + def fontChanged(self, font: QFont) -> None: ... + @staticmethod + def screenAt(point: QtCore.QPoint) -> 'QScreen': ... + @staticmethod + def desktopFileName() -> str: ... + @staticmethod + def setDesktopFileName(name: str) -> None: ... + def primaryScreenChanged(self, screen: 'QScreen') -> None: ... + @staticmethod + def setFallbackSessionManagementEnabled(a0: bool) -> None: ... + @staticmethod + def isFallbackSessionManagementEnabled() -> bool: ... + def paletteChanged(self, pal: 'QPalette') -> None: ... + def layoutDirectionChanged(self, direction: QtCore.Qt.LayoutDirection) -> None: ... + def screenRemoved(self, screen: 'QScreen') -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + @staticmethod + def windowIcon() -> 'QIcon': ... + @staticmethod + def setWindowIcon(icon: 'QIcon') -> None: ... + @staticmethod + def sync() -> None: ... + @staticmethod + def applicationState() -> QtCore.Qt.ApplicationState: ... + def isSavingSession(self) -> bool: ... + def sessionKey(self) -> str: ... + def sessionId(self) -> str: ... + def isSessionRestored(self) -> bool: ... + def devicePixelRatio(self) -> float: ... + @staticmethod + def inputMethod() -> 'QInputMethod': ... + @staticmethod + def styleHints() -> 'QStyleHints': ... + @staticmethod + def modalWindow() -> 'QWindow': ... + @staticmethod + def applicationDisplayName() -> str: ... + @staticmethod + def setApplicationDisplayName(name: str) -> None: ... + def applicationDisplayNameChanged(self) -> None: ... + def applicationStateChanged(self, state: QtCore.Qt.ApplicationState) -> None: ... + def focusWindowChanged(self, focusWindow: 'QWindow') -> None: ... + def saveStateRequest(self, sessionManager: 'QSessionManager') -> None: ... + def commitDataRequest(self, sessionManager: 'QSessionManager') -> None: ... + def focusObjectChanged(self, focusObject: QtCore.QObject) -> None: ... + def lastWindowClosed(self) -> None: ... + def screenAdded(self, screen: 'QScreen') -> None: ... + def fontDatabaseChanged(self) -> None: ... + def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + @staticmethod + def exec() -> int: ... + @staticmethod + def exec_() -> int: ... + @staticmethod + def quitOnLastWindowClosed() -> bool: ... + @staticmethod + def setQuitOnLastWindowClosed(quit: bool) -> None: ... + @staticmethod + def desktopSettingsAware() -> bool: ... + @staticmethod + def setDesktopSettingsAware(on: bool) -> None: ... + @staticmethod + def isLeftToRight() -> bool: ... + @staticmethod + def isRightToLeft() -> bool: ... + @staticmethod + def layoutDirection() -> QtCore.Qt.LayoutDirection: ... + @staticmethod + def setLayoutDirection(direction: QtCore.Qt.LayoutDirection) -> None: ... + @staticmethod + def mouseButtons() -> QtCore.Qt.MouseButtons: ... + @staticmethod + def queryKeyboardModifiers() -> QtCore.Qt.KeyboardModifiers: ... + @staticmethod + def keyboardModifiers() -> QtCore.Qt.KeyboardModifiers: ... + @staticmethod + def setPalette(pal: 'QPalette') -> None: ... + @staticmethod + def palette() -> 'QPalette': ... + @staticmethod + def clipboard() -> QClipboard: ... + @staticmethod + def setFont(a0: QFont) -> None: ... + @staticmethod + def font() -> QFont: ... + @staticmethod + def restoreOverrideCursor() -> None: ... + @staticmethod + def changeOverrideCursor(a0: typing.Union[QCursor, QtCore.Qt.CursorShape]) -> None: ... + @staticmethod + def setOverrideCursor(a0: typing.Union[QCursor, QtCore.Qt.CursorShape]) -> None: ... + @staticmethod + def overrideCursor() -> QCursor: ... + @staticmethod + def screens() -> typing.List['QScreen']: ... + @staticmethod + def primaryScreen() -> 'QScreen': ... + @staticmethod + def focusObject() -> QtCore.QObject: ... + @staticmethod + def focusWindow() -> 'QWindow': ... + @staticmethod + def platformName() -> str: ... + @staticmethod + def topLevelAt(pos: QtCore.QPoint) -> 'QWindow': ... + @staticmethod + def topLevelWindows() -> typing.List['QWindow']: ... + @staticmethod + def allWindows() -> typing.List['QWindow']: ... + + +class QIcon(PyQt5.sip.wrapper): + + class State(int): + On = ... # type: QIcon.State + Off = ... # type: QIcon.State + + class Mode(int): + Normal = ... # type: QIcon.Mode + Disabled = ... # type: QIcon.Mode + Active = ... # type: QIcon.Mode + Selected = ... # type: QIcon.Mode + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pixmap: QPixmap) -> None: ... + @typing.overload + def __init__(self, other: 'QIcon') -> None: ... + @typing.overload + def __init__(self, fileName: str) -> None: ... + @typing.overload + def __init__(self, engine: 'QIconEngine') -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + @staticmethod + def setFallbackThemeName(name: str) -> None: ... + @staticmethod + def fallbackThemeName() -> str: ... + @staticmethod + def setFallbackSearchPaths(paths: typing.Iterable[str]) -> None: ... + @staticmethod + def fallbackSearchPaths() -> typing.List[str]: ... + def isMask(self) -> bool: ... + def setIsMask(self, isMask: bool) -> None: ... + def swap(self, other: 'QIcon') -> None: ... + def name(self) -> str: ... + @staticmethod + def setThemeName(path: str) -> None: ... + @staticmethod + def themeName() -> str: ... + @staticmethod + def setThemeSearchPaths(searchpath: typing.Iterable[str]) -> None: ... + @staticmethod + def themeSearchPaths() -> typing.List[str]: ... + @staticmethod + def hasThemeIcon(name: str) -> bool: ... + @typing.overload + @staticmethod + def fromTheme(name: str) -> 'QIcon': ... + @typing.overload + @staticmethod + def fromTheme(name: str, fallback: 'QIcon') -> 'QIcon': ... + def cacheKey(self) -> int: ... + def addFile(self, fileName: str, size: QtCore.QSize = ..., mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> None: ... + def addPixmap(self, pixmap: QPixmap, mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> None: ... + def isDetached(self) -> bool: ... + def isNull(self) -> bool: ... + @typing.overload + def paint(self, painter: 'QPainter', rect: QtCore.QRect, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ..., mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> None: ... + @typing.overload + def paint(self, painter: 'QPainter', x: int, y: int, w: int, h: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ..., mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> None: ... + def availableSizes(self, mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> typing.List[QtCore.QSize]: ... + @typing.overload + def actualSize(self, size: QtCore.QSize, mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> QtCore.QSize: ... + @typing.overload + def actualSize(self, window: 'QWindow', size: QtCore.QSize, mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> QtCore.QSize: ... + @typing.overload + def pixmap(self, size: QtCore.QSize, mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> QPixmap: ... + @typing.overload + def pixmap(self, w: int, h: int, mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> QPixmap: ... + @typing.overload + def pixmap(self, extent: int, mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> QPixmap: ... + @typing.overload + def pixmap(self, window: 'QWindow', size: QtCore.QSize, mode: 'QIcon.Mode' = ..., state: 'QIcon.State' = ...) -> QPixmap: ... + + +class QIconEngine(PyQt5.sip.wrapper): + + class IconEngineHook(int): + AvailableSizesHook = ... # type: QIconEngine.IconEngineHook + IconNameHook = ... # type: QIconEngine.IconEngineHook + IsNullHook = ... # type: QIconEngine.IconEngineHook + ScaledPixmapHook = ... # type: QIconEngine.IconEngineHook + + class AvailableSizesArgument(sip.simplewrapper): + + mode = ... # type: QIcon.Mode + sizes = ... # type: typing.Iterable[QtCore.QSize] + state = ... # type: QIcon.State + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QIconEngine.AvailableSizesArgument') -> None: ... + + class ScaledPixmapArgument(sip.simplewrapper): + + mode = ... # type: QIcon.Mode + pixmap = ... # type: QPixmap + scale = ... # type: float + size = ... # type: QtCore.QSize + state = ... # type: QIcon.State + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QIconEngine.ScaledPixmapArgument') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QIconEngine') -> None: ... + + def scaledPixmap(self, size: QtCore.QSize, mode: QIcon.Mode, state: QIcon.State, scale: float) -> QPixmap: ... + def isNull(self) -> bool: ... + def iconName(self) -> str: ... + def availableSizes(self, mode: QIcon.Mode = ..., state: QIcon.State = ...) -> typing.List[QtCore.QSize]: ... + def write(self, out: QtCore.QDataStream) -> bool: ... + def read(self, in_: QtCore.QDataStream) -> bool: ... + def clone(self) -> 'QIconEngine': ... + def key(self) -> str: ... + def addFile(self, fileName: str, size: QtCore.QSize, mode: QIcon.Mode, state: QIcon.State) -> None: ... + def addPixmap(self, pixmap: QPixmap, mode: QIcon.Mode, state: QIcon.State) -> None: ... + def pixmap(self, size: QtCore.QSize, mode: QIcon.Mode, state: QIcon.State) -> QPixmap: ... + def actualSize(self, size: QtCore.QSize, mode: QIcon.Mode, state: QIcon.State) -> QtCore.QSize: ... + def paint(self, painter: 'QPainter', rect: QtCore.QRect, mode: QIcon.Mode, state: QIcon.State) -> None: ... + + +class QImage(QPaintDevice): + + class Format(int): + Format_Invalid = ... # type: QImage.Format + Format_Mono = ... # type: QImage.Format + Format_MonoLSB = ... # type: QImage.Format + Format_Indexed8 = ... # type: QImage.Format + Format_RGB32 = ... # type: QImage.Format + Format_ARGB32 = ... # type: QImage.Format + Format_ARGB32_Premultiplied = ... # type: QImage.Format + Format_RGB16 = ... # type: QImage.Format + Format_ARGB8565_Premultiplied = ... # type: QImage.Format + Format_RGB666 = ... # type: QImage.Format + Format_ARGB6666_Premultiplied = ... # type: QImage.Format + Format_RGB555 = ... # type: QImage.Format + Format_ARGB8555_Premultiplied = ... # type: QImage.Format + Format_RGB888 = ... # type: QImage.Format + Format_RGB444 = ... # type: QImage.Format + Format_ARGB4444_Premultiplied = ... # type: QImage.Format + Format_RGBX8888 = ... # type: QImage.Format + Format_RGBA8888 = ... # type: QImage.Format + Format_RGBA8888_Premultiplied = ... # type: QImage.Format + Format_BGR30 = ... # type: QImage.Format + Format_A2BGR30_Premultiplied = ... # type: QImage.Format + Format_RGB30 = ... # type: QImage.Format + Format_A2RGB30_Premultiplied = ... # type: QImage.Format + Format_Alpha8 = ... # type: QImage.Format + Format_Grayscale8 = ... # type: QImage.Format + Format_RGBX64 = ... # type: QImage.Format + Format_RGBA64 = ... # type: QImage.Format + Format_RGBA64_Premultiplied = ... # type: QImage.Format + Format_Grayscale16 = ... # type: QImage.Format + Format_BGR888 = ... # type: QImage.Format + + class InvertMode(int): + InvertRgb = ... # type: QImage.InvertMode + InvertRgba = ... # type: QImage.InvertMode + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: QtCore.QSize, format: 'QImage.Format') -> None: ... + @typing.overload + def __init__(self, width: int, height: int, format: 'QImage.Format') -> None: ... + @typing.overload + def __init__(self, data: bytes, width: int, height: int, format: 'QImage.Format') -> None: ... + @typing.overload + def __init__(self, data: PyQt5.sip.voidptr, width: int, height: int, format: 'QImage.Format') -> None: ... + @typing.overload + def __init__(self, data: bytes, width: int, height: int, bytesPerLine: int, format: 'QImage.Format') -> None: ... + @typing.overload + def __init__(self, data: PyQt5.sip.voidptr, width: int, height: int, bytesPerLine: int, format: 'QImage.Format') -> None: ... + @typing.overload + def __init__(self, xpm: typing.List[str]) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: typing.Optional[str] = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QImage') -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def applyColorTransform(self, transform: QColorTransform) -> None: ... + def setColorSpace(self, a0: QColorSpace) -> None: ... + def convertToColorSpace(self, a0: QColorSpace) -> None: ... + def convertedToColorSpace(self, a0: QColorSpace) -> 'QImage': ... + def colorSpace(self) -> QColorSpace: ... + def convertTo(self, f: 'QImage.Format', flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> None: ... + def sizeInBytes(self) -> int: ... + def reinterpretAsFormat(self, f: 'QImage.Format') -> bool: ... + @typing.overload + def setPixelColor(self, x: int, y: int, c: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setPixelColor(self, pt: QtCore.QPoint, c: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def pixelColor(self, x: int, y: int) -> QColor: ... + @typing.overload + def pixelColor(self, pt: QtCore.QPoint) -> QColor: ... + @staticmethod + def toImageFormat(format: 'QPixelFormat') -> 'QImage.Format': ... + @staticmethod + def toPixelFormat(format: 'QImage.Format') -> 'QPixelFormat': ... + def pixelFormat(self) -> 'QPixelFormat': ... + def setDevicePixelRatio(self, scaleFactor: float) -> None: ... + def devicePixelRatio(self) -> float: ... + def swap(self, other: 'QImage') -> None: ... + def bitPlaneCount(self) -> int: ... + def byteCount(self) -> int: ... + def setColorCount(self, a0: int) -> None: ... + def colorCount(self) -> int: ... + def cacheKey(self) -> int: ... + @staticmethod + def trueMatrix(a0: 'QTransform', w: int, h: int) -> 'QTransform': ... + def transformed(self, matrix: 'QTransform', mode: QtCore.Qt.TransformationMode = ...) -> 'QImage': ... + def createMaskFromColor(self, color: int, mode: QtCore.Qt.MaskMode = ...) -> 'QImage': ... + def smoothScaled(self, w: int, h: int) -> 'QImage': ... + def metric(self, metric: QPaintDevice.PaintDeviceMetric) -> int: ... + def setText(self, key: str, value: str) -> None: ... + def text(self, key: str = ...) -> str: ... + def textKeys(self) -> typing.List[str]: ... + def setOffset(self, a0: QtCore.QPoint) -> None: ... + def offset(self) -> QtCore.QPoint: ... + def setDotsPerMeterY(self, a0: int) -> None: ... + def setDotsPerMeterX(self, a0: int) -> None: ... + def dotsPerMeterY(self) -> int: ... + def dotsPerMeterX(self) -> int: ... + def paintEngine(self) -> 'QPaintEngine': ... + @typing.overload + @staticmethod + def fromData(data: bytes, format: typing.Optional[str] = ...) -> 'QImage': ... + @typing.overload + @staticmethod + def fromData(data: typing.Union[QtCore.QByteArray, bytes, bytearray], format: typing.Optional[str] = ...) -> 'QImage': ... + @typing.overload + def save(self, fileName: str, format: typing.Optional[str] = ..., quality: int = ...) -> bool: ... + @typing.overload + def save(self, device: QtCore.QIODevice, format: typing.Optional[str] = ..., quality: int = ...) -> bool: ... + @typing.overload + def loadFromData(self, data: bytes, format: typing.Optional[str] = ...) -> bool: ... + @typing.overload + def loadFromData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray], format: typing.Optional[str] = ...) -> bool: ... + @typing.overload + def load(self, device: QtCore.QIODevice, format: str) -> bool: ... + @typing.overload + def load(self, fileName: str, format: typing.Optional[str] = ...) -> bool: ... + def invertPixels(self, mode: 'QImage.InvertMode' = ...) -> None: ... + def rgbSwapped(self) -> 'QImage': ... + def mirrored(self, horizontal: bool = ..., vertical: bool = ...) -> 'QImage': ... + def scaledToHeight(self, height: int, mode: QtCore.Qt.TransformationMode = ...) -> 'QImage': ... + def scaledToWidth(self, width: int, mode: QtCore.Qt.TransformationMode = ...) -> 'QImage': ... + @typing.overload + def scaled(self, width: int, height: int, aspectRatioMode: QtCore.Qt.AspectRatioMode = ..., transformMode: QtCore.Qt.TransformationMode = ...) -> 'QImage': ... + @typing.overload + def scaled(self, size: QtCore.QSize, aspectRatioMode: QtCore.Qt.AspectRatioMode = ..., transformMode: QtCore.Qt.TransformationMode = ...) -> 'QImage': ... + def createHeuristicMask(self, clipTight: bool = ...) -> 'QImage': ... + def createAlphaMask(self, flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> 'QImage': ... + def setAlphaChannel(self, alphaChannel: 'QImage') -> None: ... + def hasAlphaChannel(self) -> bool: ... + @typing.overload + def fill(self, color: QtCore.Qt.GlobalColor) -> None: ... + @typing.overload + def fill(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def fill(self, pixel: int) -> None: ... + def setColorTable(self, colors: typing.Iterable[int]) -> None: ... + def colorTable(self) -> typing.List[int]: ... + @typing.overload + def setPixel(self, pt: QtCore.QPoint, index_or_rgb: int) -> None: ... + @typing.overload + def setPixel(self, x: int, y: int, index_or_rgb: int) -> None: ... + @typing.overload + def pixel(self, pt: QtCore.QPoint) -> int: ... + @typing.overload + def pixel(self, x: int, y: int) -> int: ... + @typing.overload + def pixelIndex(self, pt: QtCore.QPoint) -> int: ... + @typing.overload + def pixelIndex(self, x: int, y: int) -> int: ... + @typing.overload + def valid(self, pt: QtCore.QPoint) -> bool: ... + @typing.overload + def valid(self, x: int, y: int) -> bool: ... + def bytesPerLine(self) -> int: ... + def constScanLine(self, a0: int) -> PyQt5.sip.voidptr: ... + def scanLine(self, a0: int) -> PyQt5.sip.voidptr: ... + def constBits(self) -> PyQt5.sip.voidptr: ... + def bits(self) -> PyQt5.sip.voidptr: ... + def isGrayscale(self) -> bool: ... + def allGray(self) -> bool: ... + def setColor(self, i: int, c: int) -> None: ... + def color(self, i: int) -> int: ... + def depth(self) -> int: ... + def rect(self) -> QtCore.QRect: ... + def size(self) -> QtCore.QSize: ... + def height(self) -> int: ... + def width(self) -> int: ... + @typing.overload + def convertToFormat(self, f: 'QImage.Format', flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> 'QImage': ... + @typing.overload + def convertToFormat(self, f: 'QImage.Format', colorTable: typing.Iterable[int], flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> 'QImage': ... + def format(self) -> 'QImage.Format': ... + @typing.overload + def copy(self, rect: QtCore.QRect = ...) -> 'QImage': ... + @typing.overload + def copy(self, x: int, y: int, w: int, h: int) -> 'QImage': ... + def isDetached(self) -> bool: ... + def detach(self) -> None: ... + def devType(self) -> int: ... + def isNull(self) -> bool: ... + + +class QImageIOHandler(sip.simplewrapper): + + class Transformation(int): + TransformationNone = ... # type: QImageIOHandler.Transformation + TransformationMirror = ... # type: QImageIOHandler.Transformation + TransformationFlip = ... # type: QImageIOHandler.Transformation + TransformationRotate180 = ... # type: QImageIOHandler.Transformation + TransformationRotate90 = ... # type: QImageIOHandler.Transformation + TransformationMirrorAndRotate90 = ... # type: QImageIOHandler.Transformation + TransformationFlipAndRotate90 = ... # type: QImageIOHandler.Transformation + TransformationRotate270 = ... # type: QImageIOHandler.Transformation + + class ImageOption(int): + Size = ... # type: QImageIOHandler.ImageOption + ClipRect = ... # type: QImageIOHandler.ImageOption + Description = ... # type: QImageIOHandler.ImageOption + ScaledClipRect = ... # type: QImageIOHandler.ImageOption + ScaledSize = ... # type: QImageIOHandler.ImageOption + CompressionRatio = ... # type: QImageIOHandler.ImageOption + Gamma = ... # type: QImageIOHandler.ImageOption + Quality = ... # type: QImageIOHandler.ImageOption + Name = ... # type: QImageIOHandler.ImageOption + SubType = ... # type: QImageIOHandler.ImageOption + IncrementalReading = ... # type: QImageIOHandler.ImageOption + Endianness = ... # type: QImageIOHandler.ImageOption + Animation = ... # type: QImageIOHandler.ImageOption + BackgroundColor = ... # type: QImageIOHandler.ImageOption + SupportedSubTypes = ... # type: QImageIOHandler.ImageOption + OptimizedWrite = ... # type: QImageIOHandler.ImageOption + ProgressiveScanWrite = ... # type: QImageIOHandler.ImageOption + ImageTransformation = ... # type: QImageIOHandler.ImageOption + TransformedByDefault = ... # type: QImageIOHandler.ImageOption + + class Transformations(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QImageIOHandler.Transformations', 'QImageIOHandler.Transformation']) -> None: ... + @typing.overload + def __init__(self, a0: 'QImageIOHandler.Transformations') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QImageIOHandler.Transformations': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self) -> None: ... + + def currentImageRect(self) -> QtCore.QRect: ... + def currentImageNumber(self) -> int: ... + def nextImageDelay(self) -> int: ... + def imageCount(self) -> int: ... + def loopCount(self) -> int: ... + def jumpToImage(self, imageNumber: int) -> bool: ... + def jumpToNextImage(self) -> bool: ... + def supportsOption(self, option: 'QImageIOHandler.ImageOption') -> bool: ... + def setOption(self, option: 'QImageIOHandler.ImageOption', value: typing.Any) -> None: ... + def option(self, option: 'QImageIOHandler.ImageOption') -> typing.Any: ... + def write(self, image: QImage) -> bool: ... + def read(self, image: QImage) -> bool: ... + def canRead(self) -> bool: ... + def format(self) -> QtCore.QByteArray: ... + def setFormat(self, format: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def device(self) -> QtCore.QIODevice: ... + def setDevice(self, device: QtCore.QIODevice) -> None: ... + + +class QImageReader(sip.simplewrapper): + + class ImageReaderError(int): + UnknownError = ... # type: QImageReader.ImageReaderError + FileNotFoundError = ... # type: QImageReader.ImageReaderError + DeviceError = ... # type: QImageReader.ImageReaderError + UnsupportedFormatError = ... # type: QImageReader.ImageReaderError + InvalidDataError = ... # type: QImageReader.ImageReaderError + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, device: QtCore.QIODevice, format: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + + @staticmethod + def imageFormatsForMimeType(mimeType: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> typing.List[QtCore.QByteArray]: ... + def gamma(self) -> float: ... + def setGamma(self, gamma: float) -> None: ... + def autoTransform(self) -> bool: ... + def setAutoTransform(self, enabled: bool) -> None: ... + def transformation(self) -> QImageIOHandler.Transformations: ... + def supportedSubTypes(self) -> typing.List[QtCore.QByteArray]: ... + def subType(self) -> QtCore.QByteArray: ... + @staticmethod + def supportedMimeTypes() -> typing.List[QtCore.QByteArray]: ... + def decideFormatFromContent(self) -> bool: ... + def setDecideFormatFromContent(self, ignored: bool) -> None: ... + def autoDetectImageFormat(self) -> bool: ... + def setAutoDetectImageFormat(self, enabled: bool) -> None: ... + def supportsOption(self, option: QImageIOHandler.ImageOption) -> bool: ... + def quality(self) -> int: ... + def setQuality(self, quality: int) -> None: ... + def supportsAnimation(self) -> bool: ... + def backgroundColor(self) -> QColor: ... + def setBackgroundColor(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def text(self, key: str) -> str: ... + def textKeys(self) -> typing.List[str]: ... + @staticmethod + def supportedImageFormats() -> typing.List[QtCore.QByteArray]: ... + @typing.overload + @staticmethod + def imageFormat(fileName: str) -> QtCore.QByteArray: ... + @typing.overload + @staticmethod + def imageFormat(device: QtCore.QIODevice) -> QtCore.QByteArray: ... + @typing.overload + def imageFormat(self) -> QImage.Format: ... + def errorString(self) -> str: ... + def error(self) -> 'QImageReader.ImageReaderError': ... + def currentImageRect(self) -> QtCore.QRect: ... + def currentImageNumber(self) -> int: ... + def nextImageDelay(self) -> int: ... + def imageCount(self) -> int: ... + def loopCount(self) -> int: ... + def jumpToImage(self, imageNumber: int) -> bool: ... + def jumpToNextImage(self) -> bool: ... + @typing.overload + def read(self) -> QImage: ... + @typing.overload + def read(self, image: QImage) -> bool: ... + def canRead(self) -> bool: ... + def scaledClipRect(self) -> QtCore.QRect: ... + def setScaledClipRect(self, rect: QtCore.QRect) -> None: ... + def scaledSize(self) -> QtCore.QSize: ... + def setScaledSize(self, size: QtCore.QSize) -> None: ... + def clipRect(self) -> QtCore.QRect: ... + def setClipRect(self, rect: QtCore.QRect) -> None: ... + def size(self) -> QtCore.QSize: ... + def fileName(self) -> str: ... + def setFileName(self, fileName: str) -> None: ... + def device(self) -> QtCore.QIODevice: ... + def setDevice(self, device: QtCore.QIODevice) -> None: ... + def format(self) -> QtCore.QByteArray: ... + def setFormat(self, format: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + + +class QImageWriter(sip.simplewrapper): + + class ImageWriterError(int): + UnknownError = ... # type: QImageWriter.ImageWriterError + DeviceError = ... # type: QImageWriter.ImageWriterError + UnsupportedFormatError = ... # type: QImageWriter.ImageWriterError + InvalidImageError = ... # type: QImageWriter.ImageWriterError + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, device: QtCore.QIODevice, format: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + + @staticmethod + def imageFormatsForMimeType(mimeType: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> typing.List[QtCore.QByteArray]: ... + def setTransformation(self, orientation: typing.Union[QImageIOHandler.Transformations, QImageIOHandler.Transformation]) -> None: ... + def transformation(self) -> QImageIOHandler.Transformations: ... + def progressiveScanWrite(self) -> bool: ... + def setProgressiveScanWrite(self, progressive: bool) -> None: ... + def optimizedWrite(self) -> bool: ... + def setOptimizedWrite(self, optimize: bool) -> None: ... + def supportedSubTypes(self) -> typing.List[QtCore.QByteArray]: ... + def subType(self) -> QtCore.QByteArray: ... + def setSubType(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + @staticmethod + def supportedMimeTypes() -> typing.List[QtCore.QByteArray]: ... + def compression(self) -> int: ... + def setCompression(self, compression: int) -> None: ... + def supportsOption(self, option: QImageIOHandler.ImageOption) -> bool: ... + def setText(self, key: str, text: str) -> None: ... + @staticmethod + def supportedImageFormats() -> typing.List[QtCore.QByteArray]: ... + def errorString(self) -> str: ... + def error(self) -> 'QImageWriter.ImageWriterError': ... + def write(self, image: QImage) -> bool: ... + def canWrite(self) -> bool: ... + def gamma(self) -> float: ... + def setGamma(self, gamma: float) -> None: ... + def quality(self) -> int: ... + def setQuality(self, quality: int) -> None: ... + def fileName(self) -> str: ... + def setFileName(self, fileName: str) -> None: ... + def device(self) -> QtCore.QIODevice: ... + def setDevice(self, device: QtCore.QIODevice) -> None: ... + def format(self) -> QtCore.QByteArray: ... + def setFormat(self, format: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + + +class QInputMethod(QtCore.QObject): + + class Action(int): + Click = ... # type: QInputMethod.Action + ContextMenu = ... # type: QInputMethod.Action + + def inputItemClipRectangleChanged(self) -> None: ... + def anchorRectangleChanged(self) -> None: ... + def inputItemClipRectangle(self) -> QtCore.QRectF: ... + def anchorRectangle(self) -> QtCore.QRectF: ... + def inputDirectionChanged(self, newDirection: QtCore.Qt.LayoutDirection) -> None: ... + def localeChanged(self) -> None: ... + def animatingChanged(self) -> None: ... + def visibleChanged(self) -> None: ... + def keyboardRectangleChanged(self) -> None: ... + def cursorRectangleChanged(self) -> None: ... + def invokeAction(self, a: 'QInputMethod.Action', cursorPosition: int) -> None: ... + def commit(self) -> None: ... + def reset(self) -> None: ... + def update(self, queries: typing.Union[QtCore.Qt.InputMethodQueries, QtCore.Qt.InputMethodQuery]) -> None: ... + def hide(self) -> None: ... + def show(self) -> None: ... + @staticmethod + def queryFocusObject(query: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ... + def setInputItemRectangle(self, rect: QtCore.QRectF) -> None: ... + def inputItemRectangle(self) -> QtCore.QRectF: ... + def inputDirection(self) -> QtCore.Qt.LayoutDirection: ... + def locale(self) -> QtCore.QLocale: ... + def isAnimating(self) -> bool: ... + def setVisible(self, visible: bool) -> None: ... + def isVisible(self) -> bool: ... + def keyboardRectangle(self) -> QtCore.QRectF: ... + def cursorRectangle(self) -> QtCore.QRectF: ... + def setInputItemTransform(self, transform: 'QTransform') -> None: ... + def inputItemTransform(self) -> 'QTransform': ... + + +class QKeySequence(sip.simplewrapper): + + class StandardKey(int): + UnknownKey = ... # type: QKeySequence.StandardKey + HelpContents = ... # type: QKeySequence.StandardKey + WhatsThis = ... # type: QKeySequence.StandardKey + Open = ... # type: QKeySequence.StandardKey + Close = ... # type: QKeySequence.StandardKey + Save = ... # type: QKeySequence.StandardKey + New = ... # type: QKeySequence.StandardKey + Delete = ... # type: QKeySequence.StandardKey + Cut = ... # type: QKeySequence.StandardKey + Copy = ... # type: QKeySequence.StandardKey + Paste = ... # type: QKeySequence.StandardKey + Undo = ... # type: QKeySequence.StandardKey + Redo = ... # type: QKeySequence.StandardKey + Back = ... # type: QKeySequence.StandardKey + Forward = ... # type: QKeySequence.StandardKey + Refresh = ... # type: QKeySequence.StandardKey + ZoomIn = ... # type: QKeySequence.StandardKey + ZoomOut = ... # type: QKeySequence.StandardKey + Print = ... # type: QKeySequence.StandardKey + AddTab = ... # type: QKeySequence.StandardKey + NextChild = ... # type: QKeySequence.StandardKey + PreviousChild = ... # type: QKeySequence.StandardKey + Find = ... # type: QKeySequence.StandardKey + FindNext = ... # type: QKeySequence.StandardKey + FindPrevious = ... # type: QKeySequence.StandardKey + Replace = ... # type: QKeySequence.StandardKey + SelectAll = ... # type: QKeySequence.StandardKey + Bold = ... # type: QKeySequence.StandardKey + Italic = ... # type: QKeySequence.StandardKey + Underline = ... # type: QKeySequence.StandardKey + MoveToNextChar = ... # type: QKeySequence.StandardKey + MoveToPreviousChar = ... # type: QKeySequence.StandardKey + MoveToNextWord = ... # type: QKeySequence.StandardKey + MoveToPreviousWord = ... # type: QKeySequence.StandardKey + MoveToNextLine = ... # type: QKeySequence.StandardKey + MoveToPreviousLine = ... # type: QKeySequence.StandardKey + MoveToNextPage = ... # type: QKeySequence.StandardKey + MoveToPreviousPage = ... # type: QKeySequence.StandardKey + MoveToStartOfLine = ... # type: QKeySequence.StandardKey + MoveToEndOfLine = ... # type: QKeySequence.StandardKey + MoveToStartOfBlock = ... # type: QKeySequence.StandardKey + MoveToEndOfBlock = ... # type: QKeySequence.StandardKey + MoveToStartOfDocument = ... # type: QKeySequence.StandardKey + MoveToEndOfDocument = ... # type: QKeySequence.StandardKey + SelectNextChar = ... # type: QKeySequence.StandardKey + SelectPreviousChar = ... # type: QKeySequence.StandardKey + SelectNextWord = ... # type: QKeySequence.StandardKey + SelectPreviousWord = ... # type: QKeySequence.StandardKey + SelectNextLine = ... # type: QKeySequence.StandardKey + SelectPreviousLine = ... # type: QKeySequence.StandardKey + SelectNextPage = ... # type: QKeySequence.StandardKey + SelectPreviousPage = ... # type: QKeySequence.StandardKey + SelectStartOfLine = ... # type: QKeySequence.StandardKey + SelectEndOfLine = ... # type: QKeySequence.StandardKey + SelectStartOfBlock = ... # type: QKeySequence.StandardKey + SelectEndOfBlock = ... # type: QKeySequence.StandardKey + SelectStartOfDocument = ... # type: QKeySequence.StandardKey + SelectEndOfDocument = ... # type: QKeySequence.StandardKey + DeleteStartOfWord = ... # type: QKeySequence.StandardKey + DeleteEndOfWord = ... # type: QKeySequence.StandardKey + DeleteEndOfLine = ... # type: QKeySequence.StandardKey + InsertParagraphSeparator = ... # type: QKeySequence.StandardKey + InsertLineSeparator = ... # type: QKeySequence.StandardKey + SaveAs = ... # type: QKeySequence.StandardKey + Preferences = ... # type: QKeySequence.StandardKey + Quit = ... # type: QKeySequence.StandardKey + FullScreen = ... # type: QKeySequence.StandardKey + Deselect = ... # type: QKeySequence.StandardKey + DeleteCompleteLine = ... # type: QKeySequence.StandardKey + Backspace = ... # type: QKeySequence.StandardKey + Cancel = ... # type: QKeySequence.StandardKey + + class SequenceMatch(int): + NoMatch = ... # type: QKeySequence.SequenceMatch + PartialMatch = ... # type: QKeySequence.SequenceMatch + ExactMatch = ... # type: QKeySequence.SequenceMatch + + class SequenceFormat(int): + NativeText = ... # type: QKeySequence.SequenceFormat + PortableText = ... # type: QKeySequence.SequenceFormat + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, ks: typing.Union['QKeySequence', 'QKeySequence.StandardKey', str, int]) -> None: ... + @typing.overload + def __init__(self, key: str, format: 'QKeySequence.SequenceFormat' = ...) -> None: ... + @typing.overload + def __init__(self, k1: int, key2: int = ..., key3: int = ..., key4: int = ...) -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def __hash__(self) -> int: ... + @staticmethod + def listToString(list: typing.Iterable[typing.Union['QKeySequence', 'QKeySequence.StandardKey', str, int]], format: 'QKeySequence.SequenceFormat' = ...) -> str: ... + @staticmethod + def listFromString(str: str, format: 'QKeySequence.SequenceFormat' = ...) -> typing.List['QKeySequence']: ... + @staticmethod + def keyBindings(key: 'QKeySequence.StandardKey') -> typing.List['QKeySequence']: ... + @staticmethod + def fromString(str: str, format: 'QKeySequence.SequenceFormat' = ...) -> 'QKeySequence': ... + def toString(self, format: 'QKeySequence.SequenceFormat' = ...) -> str: ... + def swap(self, other: 'QKeySequence') -> None: ... + def isDetached(self) -> bool: ... + def __getitem__(self, i: int) -> int: ... + @staticmethod + def mnemonic(text: str) -> 'QKeySequence': ... + def matches(self, seq: typing.Union['QKeySequence', 'QKeySequence.StandardKey', str, int]) -> 'QKeySequence.SequenceMatch': ... + def isEmpty(self) -> bool: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + + +class QMatrix4x4(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, values: typing.Sequence[float]) -> None: ... + @typing.overload + def __init__(self, m11: float, m12: float, m13: float, m14: float, m21: float, m22: float, m23: float, m24: float, m31: float, m32: float, m33: float, m34: float, m41: float, m42: float, m43: float, m44: float) -> None: ... + @typing.overload + def __init__(self, transform: 'QTransform') -> None: ... + @typing.overload + def __init__(self, a0: 'QMatrix4x4') -> None: ... + + def __neg__(self) -> 'QMatrix4x4': ... + def isAffine(self) -> bool: ... + @typing.overload + def viewport(self, left: float, bottom: float, width: float, height: float, nearPlane: float = ..., farPlane: float = ...) -> None: ... + @typing.overload + def viewport(self, rect: QtCore.QRectF) -> None: ... + def mapVector(self, vector: 'QVector3D') -> 'QVector3D': ... + @typing.overload + def map(self, point: QtCore.QPoint) -> QtCore.QPoint: ... + @typing.overload + def map(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + @typing.overload + def map(self, point: 'QVector3D') -> 'QVector3D': ... + @typing.overload + def map(self, point: 'QVector4D') -> 'QVector4D': ... + def fill(self, value: float) -> None: ... + def setToIdentity(self) -> None: ... + def isIdentity(self) -> bool: ... + def setRow(self, index: int, value: 'QVector4D') -> None: ... + def row(self, index: int) -> 'QVector4D': ... + def setColumn(self, index: int, value: 'QVector4D') -> None: ... + def column(self, index: int) -> 'QVector4D': ... + def __setitem__(self, a0: typing.Any, a1: float) -> None: ... + def __getitem__(self, a0: typing.Any) -> typing.Any: ... + def optimize(self) -> None: ... + def data(self) -> typing.List[float]: ... + @typing.overload + def mapRect(self, rect: QtCore.QRect) -> QtCore.QRect: ... + @typing.overload + def mapRect(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + @typing.overload + def toTransform(self) -> 'QTransform': ... + @typing.overload + def toTransform(self, distanceToPlane: float) -> 'QTransform': ... + def copyDataTo(self) -> typing.List[float]: ... + def lookAt(self, eye: 'QVector3D', center: 'QVector3D', up: 'QVector3D') -> None: ... + def perspective(self, angle: float, aspect: float, nearPlane: float, farPlane: float) -> None: ... + def frustum(self, left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float) -> None: ... + @typing.overload + def ortho(self, rect: QtCore.QRect) -> None: ... + @typing.overload + def ortho(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def ortho(self, left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float) -> None: ... + @typing.overload + def rotate(self, angle: float, vector: 'QVector3D') -> None: ... + @typing.overload + def rotate(self, angle: float, x: float, y: float, z: float = ...) -> None: ... + @typing.overload + def rotate(self, quaternion: 'QQuaternion') -> None: ... + @typing.overload + def translate(self, vector: 'QVector3D') -> None: ... + @typing.overload + def translate(self, x: float, y: float) -> None: ... + @typing.overload + def translate(self, x: float, y: float, z: float) -> None: ... + @typing.overload + def scale(self, vector: 'QVector3D') -> None: ... + @typing.overload + def scale(self, x: float, y: float) -> None: ... + @typing.overload + def scale(self, x: float, y: float, z: float) -> None: ... + @typing.overload + def scale(self, factor: float) -> None: ... + def normalMatrix(self) -> QMatrix3x3: ... + def transposed(self) -> 'QMatrix4x4': ... + def inverted(self) -> typing.Tuple['QMatrix4x4', bool]: ... + def determinant(self) -> float: ... + def __repr__(self) -> str: ... + + +class QMovie(QtCore.QObject): + + class CacheMode(int): + CacheNone = ... # type: QMovie.CacheMode + CacheAll = ... # type: QMovie.CacheMode + + class MovieState(int): + NotRunning = ... # type: QMovie.MovieState + Paused = ... # type: QMovie.MovieState + Running = ... # type: QMovie.MovieState + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, device: QtCore.QIODevice, format: typing.Union[QtCore.QByteArray, bytes, bytearray] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: typing.Union[QtCore.QByteArray, bytes, bytearray] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def lastErrorString(self) -> str: ... + def lastError(self) -> QImageReader.ImageReaderError: ... + def stop(self) -> None: ... + def setPaused(self, paused: bool) -> None: ... + def jumpToNextFrame(self) -> bool: ... + def start(self) -> None: ... + def frameChanged(self, frameNumber: int) -> None: ... + def finished(self) -> None: ... + def error(self, error: QImageReader.ImageReaderError) -> None: ... + def stateChanged(self, state: 'QMovie.MovieState') -> None: ... + def updated(self, rect: QtCore.QRect) -> None: ... + def resized(self, size: QtCore.QSize) -> None: ... + def started(self) -> None: ... + def setCacheMode(self, mode: 'QMovie.CacheMode') -> None: ... + def cacheMode(self) -> 'QMovie.CacheMode': ... + def setScaledSize(self, size: QtCore.QSize) -> None: ... + def scaledSize(self) -> QtCore.QSize: ... + def speed(self) -> int: ... + def setSpeed(self, percentSpeed: int) -> None: ... + def currentFrameNumber(self) -> int: ... + def nextFrameDelay(self) -> int: ... + def frameCount(self) -> int: ... + def loopCount(self) -> int: ... + def jumpToFrame(self, frameNumber: int) -> bool: ... + def isValid(self) -> bool: ... + def currentPixmap(self) -> QPixmap: ... + def currentImage(self) -> QImage: ... + def frameRect(self) -> QtCore.QRect: ... + def state(self) -> 'QMovie.MovieState': ... + def backgroundColor(self) -> QColor: ... + def setBackgroundColor(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def format(self) -> QtCore.QByteArray: ... + def setFormat(self, format: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def fileName(self) -> str: ... + def setFileName(self, fileName: str) -> None: ... + def device(self) -> QtCore.QIODevice: ... + def setDevice(self, device: QtCore.QIODevice) -> None: ... + @staticmethod + def supportedFormats() -> typing.List[QtCore.QByteArray]: ... + + +class QSurface(sip.simplewrapper): + + class SurfaceType(int): + RasterSurface = ... # type: QSurface.SurfaceType + OpenGLSurface = ... # type: QSurface.SurfaceType + RasterGLSurface = ... # type: QSurface.SurfaceType + OpenVGSurface = ... # type: QSurface.SurfaceType + VulkanSurface = ... # type: QSurface.SurfaceType + MetalSurface = ... # type: QSurface.SurfaceType + + class SurfaceClass(int): + Window = ... # type: QSurface.SurfaceClass + Offscreen = ... # type: QSurface.SurfaceClass + + @typing.overload + def __init__(self, type: 'QSurface.SurfaceClass') -> None: ... + @typing.overload + def __init__(self, a0: 'QSurface') -> None: ... + + def supportsOpenGL(self) -> bool: ... + def size(self) -> QtCore.QSize: ... + def surfaceType(self) -> 'QSurface.SurfaceType': ... + def format(self) -> 'QSurfaceFormat': ... + def surfaceClass(self) -> 'QSurface.SurfaceClass': ... + + +class QOffscreenSurface(QtCore.QObject, QSurface): + + @typing.overload + def __init__(self, screen: typing.Optional['QScreen'] = ...) -> None: ... + @typing.overload + def __init__(self, screen: 'QScreen', parent: QtCore.QObject) -> None: ... + + def setNativeHandle(self, handle: PyQt5.sip.voidptr) -> None: ... + def nativeHandle(self) -> PyQt5.sip.voidptr: ... + def screenChanged(self, screen: 'QScreen') -> None: ... + def setScreen(self, screen: 'QScreen') -> None: ... + def screen(self) -> 'QScreen': ... + def size(self) -> QtCore.QSize: ... + def requestedFormat(self) -> 'QSurfaceFormat': ... + def format(self) -> 'QSurfaceFormat': ... + def setFormat(self, format: 'QSurfaceFormat') -> None: ... + def isValid(self) -> bool: ... + def destroy(self) -> None: ... + def create(self) -> None: ... + def surfaceType(self) -> QSurface.SurfaceType: ... + + +class QOpenGLBuffer(sip.simplewrapper): + + class RangeAccessFlag(int): + RangeRead = ... # type: QOpenGLBuffer.RangeAccessFlag + RangeWrite = ... # type: QOpenGLBuffer.RangeAccessFlag + RangeInvalidate = ... # type: QOpenGLBuffer.RangeAccessFlag + RangeInvalidateBuffer = ... # type: QOpenGLBuffer.RangeAccessFlag + RangeFlushExplicit = ... # type: QOpenGLBuffer.RangeAccessFlag + RangeUnsynchronized = ... # type: QOpenGLBuffer.RangeAccessFlag + + class Access(int): + ReadOnly = ... # type: QOpenGLBuffer.Access + WriteOnly = ... # type: QOpenGLBuffer.Access + ReadWrite = ... # type: QOpenGLBuffer.Access + + class UsagePattern(int): + StreamDraw = ... # type: QOpenGLBuffer.UsagePattern + StreamRead = ... # type: QOpenGLBuffer.UsagePattern + StreamCopy = ... # type: QOpenGLBuffer.UsagePattern + StaticDraw = ... # type: QOpenGLBuffer.UsagePattern + StaticRead = ... # type: QOpenGLBuffer.UsagePattern + StaticCopy = ... # type: QOpenGLBuffer.UsagePattern + DynamicDraw = ... # type: QOpenGLBuffer.UsagePattern + DynamicRead = ... # type: QOpenGLBuffer.UsagePattern + DynamicCopy = ... # type: QOpenGLBuffer.UsagePattern + + class Type(int): + VertexBuffer = ... # type: QOpenGLBuffer.Type + IndexBuffer = ... # type: QOpenGLBuffer.Type + PixelPackBuffer = ... # type: QOpenGLBuffer.Type + PixelUnpackBuffer = ... # type: QOpenGLBuffer.Type + + class RangeAccessFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QOpenGLBuffer.RangeAccessFlags', 'QOpenGLBuffer.RangeAccessFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QOpenGLBuffer.RangeAccessFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QOpenGLBuffer.RangeAccessFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, type: 'QOpenGLBuffer.Type') -> None: ... + @typing.overload + def __init__(self, other: 'QOpenGLBuffer') -> None: ... + + def mapRange(self, offset: int, count: int, access: typing.Union['QOpenGLBuffer.RangeAccessFlags', 'QOpenGLBuffer.RangeAccessFlag']) -> PyQt5.sip.voidptr: ... + def unmap(self) -> bool: ... + def map(self, access: 'QOpenGLBuffer.Access') -> PyQt5.sip.voidptr: ... + @typing.overload + def allocate(self, data: PyQt5.sip.voidptr, count: int) -> None: ... + @typing.overload + def allocate(self, count: int) -> None: ... + def write(self, offset: int, data: PyQt5.sip.voidptr, count: int) -> None: ... + def read(self, offset: int, data: PyQt5.sip.voidptr, count: int) -> bool: ... + def __len__(self) -> int: ... + def size(self) -> int: ... + def bufferId(self) -> int: ... + @typing.overload + def release(self) -> None: ... + @typing.overload + @staticmethod + def release(type: 'QOpenGLBuffer.Type') -> None: ... + def bind(self) -> bool: ... + def destroy(self) -> None: ... + def isCreated(self) -> bool: ... + def create(self) -> bool: ... + def setUsagePattern(self, value: 'QOpenGLBuffer.UsagePattern') -> None: ... + def usagePattern(self) -> 'QOpenGLBuffer.UsagePattern': ... + def type(self) -> 'QOpenGLBuffer.Type': ... + + +class QOpenGLContextGroup(QtCore.QObject): + + @staticmethod + def currentContextGroup() -> 'QOpenGLContextGroup': ... + def shares(self) -> typing.List['QOpenGLContext']: ... + + +class QOpenGLContext(QtCore.QObject): + + class OpenGLModuleType(int): + LibGL = ... # type: QOpenGLContext.OpenGLModuleType + LibGLES = ... # type: QOpenGLContext.OpenGLModuleType + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + @staticmethod + def globalShareContext() -> 'QOpenGLContext': ... + @staticmethod + def supportsThreadedOpenGL() -> bool: ... + def nativeHandle(self) -> typing.Any: ... + def setNativeHandle(self, handle: typing.Any) -> None: ... + def isOpenGLES(self) -> bool: ... + @staticmethod + def openGLModuleType() -> 'QOpenGLContext.OpenGLModuleType': ... + @staticmethod + def openGLModuleHandle() -> PyQt5.sip.voidptr: ... + def versionFunctions(self, versionProfile: typing.Optional['QOpenGLVersionProfile'] = ...) -> typing.Any: ... + def aboutToBeDestroyed(self) -> None: ... + def hasExtension(self, extension: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def extensions(self) -> typing.Set[QtCore.QByteArray]: ... + @staticmethod + def areSharing(first: 'QOpenGLContext', second: 'QOpenGLContext') -> bool: ... + @staticmethod + def currentContext() -> 'QOpenGLContext': ... + def surface(self) -> QSurface: ... + def getProcAddress(self, procName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> PyQt5.sip.voidptr: ... + def swapBuffers(self, surface: QSurface) -> None: ... + def doneCurrent(self) -> None: ... + def makeCurrent(self, surface: QSurface) -> bool: ... + def defaultFramebufferObject(self) -> int: ... + def screen(self) -> 'QScreen': ... + def shareGroup(self) -> QOpenGLContextGroup: ... + def shareContext(self) -> 'QOpenGLContext': ... + def format(self) -> 'QSurfaceFormat': ... + def isValid(self) -> bool: ... + def create(self) -> bool: ... + def setScreen(self, screen: 'QScreen') -> None: ... + def setShareContext(self, shareContext: 'QOpenGLContext') -> None: ... + def setFormat(self, format: 'QSurfaceFormat') -> None: ... + + +class QOpenGLVersionProfile(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, format: 'QSurfaceFormat') -> None: ... + @typing.overload + def __init__(self, other: 'QOpenGLVersionProfile') -> None: ... + + def isValid(self) -> bool: ... + def isLegacyVersion(self) -> bool: ... + def hasProfiles(self) -> bool: ... + def setProfile(self, profile: 'QSurfaceFormat.OpenGLContextProfile') -> None: ... + def profile(self) -> 'QSurfaceFormat.OpenGLContextProfile': ... + def setVersion(self, majorVersion: int, minorVersion: int) -> None: ... + def version(self) -> typing.Tuple[int, int]: ... + + +class QOpenGLDebugMessage(sip.simplewrapper): + + class Severity(int): + InvalidSeverity = ... # type: QOpenGLDebugMessage.Severity + HighSeverity = ... # type: QOpenGLDebugMessage.Severity + MediumSeverity = ... # type: QOpenGLDebugMessage.Severity + LowSeverity = ... # type: QOpenGLDebugMessage.Severity + NotificationSeverity = ... # type: QOpenGLDebugMessage.Severity + AnySeverity = ... # type: QOpenGLDebugMessage.Severity + + class Type(int): + InvalidType = ... # type: QOpenGLDebugMessage.Type + ErrorType = ... # type: QOpenGLDebugMessage.Type + DeprecatedBehaviorType = ... # type: QOpenGLDebugMessage.Type + UndefinedBehaviorType = ... # type: QOpenGLDebugMessage.Type + PortabilityType = ... # type: QOpenGLDebugMessage.Type + PerformanceType = ... # type: QOpenGLDebugMessage.Type + OtherType = ... # type: QOpenGLDebugMessage.Type + MarkerType = ... # type: QOpenGLDebugMessage.Type + GroupPushType = ... # type: QOpenGLDebugMessage.Type + GroupPopType = ... # type: QOpenGLDebugMessage.Type + AnyType = ... # type: QOpenGLDebugMessage.Type + + class Source(int): + InvalidSource = ... # type: QOpenGLDebugMessage.Source + APISource = ... # type: QOpenGLDebugMessage.Source + WindowSystemSource = ... # type: QOpenGLDebugMessage.Source + ShaderCompilerSource = ... # type: QOpenGLDebugMessage.Source + ThirdPartySource = ... # type: QOpenGLDebugMessage.Source + ApplicationSource = ... # type: QOpenGLDebugMessage.Source + OtherSource = ... # type: QOpenGLDebugMessage.Source + AnySource = ... # type: QOpenGLDebugMessage.Source + + class Sources(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QOpenGLDebugMessage.Sources', 'QOpenGLDebugMessage.Source']) -> None: ... + @typing.overload + def __init__(self, a0: 'QOpenGLDebugMessage.Sources') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QOpenGLDebugMessage.Sources': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class Types(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QOpenGLDebugMessage.Types', 'QOpenGLDebugMessage.Type']) -> None: ... + @typing.overload + def __init__(self, a0: 'QOpenGLDebugMessage.Types') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QOpenGLDebugMessage.Types': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class Severities(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QOpenGLDebugMessage.Severities', 'QOpenGLDebugMessage.Severity']) -> None: ... + @typing.overload + def __init__(self, a0: 'QOpenGLDebugMessage.Severities') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QOpenGLDebugMessage.Severities': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, debugMessage: 'QOpenGLDebugMessage') -> None: ... + + @staticmethod + def createThirdPartyMessage(text: str, id: int = ..., severity: 'QOpenGLDebugMessage.Severity' = ..., type: 'QOpenGLDebugMessage.Type' = ...) -> 'QOpenGLDebugMessage': ... + @staticmethod + def createApplicationMessage(text: str, id: int = ..., severity: 'QOpenGLDebugMessage.Severity' = ..., type: 'QOpenGLDebugMessage.Type' = ...) -> 'QOpenGLDebugMessage': ... + def message(self) -> str: ... + def id(self) -> int: ... + def severity(self) -> 'QOpenGLDebugMessage.Severity': ... + def type(self) -> 'QOpenGLDebugMessage.Type': ... + def source(self) -> 'QOpenGLDebugMessage.Source': ... + def swap(self, debugMessage: 'QOpenGLDebugMessage') -> None: ... + + +class QOpenGLDebugLogger(QtCore.QObject): + + class LoggingMode(int): + AsynchronousLogging = ... # type: QOpenGLDebugLogger.LoggingMode + SynchronousLogging = ... # type: QOpenGLDebugLogger.LoggingMode + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def messageLogged(self, debugMessage: QOpenGLDebugMessage) -> None: ... + def stopLogging(self) -> None: ... + def startLogging(self, loggingMode: 'QOpenGLDebugLogger.LoggingMode' = ...) -> None: ... + def logMessage(self, debugMessage: QOpenGLDebugMessage) -> None: ... + def loggedMessages(self) -> typing.List[QOpenGLDebugMessage]: ... + @typing.overload + def disableMessages(self, sources: typing.Union[QOpenGLDebugMessage.Sources, QOpenGLDebugMessage.Source] = ..., types: typing.Union[QOpenGLDebugMessage.Types, QOpenGLDebugMessage.Type] = ..., severities: typing.Union[QOpenGLDebugMessage.Severities, QOpenGLDebugMessage.Severity] = ...) -> None: ... + @typing.overload + def disableMessages(self, ids: typing.Iterable[int], sources: typing.Union[QOpenGLDebugMessage.Sources, QOpenGLDebugMessage.Source] = ..., types: typing.Union[QOpenGLDebugMessage.Types, QOpenGLDebugMessage.Type] = ...) -> None: ... + @typing.overload + def enableMessages(self, sources: typing.Union[QOpenGLDebugMessage.Sources, QOpenGLDebugMessage.Source] = ..., types: typing.Union[QOpenGLDebugMessage.Types, QOpenGLDebugMessage.Type] = ..., severities: typing.Union[QOpenGLDebugMessage.Severities, QOpenGLDebugMessage.Severity] = ...) -> None: ... + @typing.overload + def enableMessages(self, ids: typing.Iterable[int], sources: typing.Union[QOpenGLDebugMessage.Sources, QOpenGLDebugMessage.Source] = ..., types: typing.Union[QOpenGLDebugMessage.Types, QOpenGLDebugMessage.Type] = ...) -> None: ... + def popGroup(self) -> None: ... + def pushGroup(self, name: str, id: int = ..., source: QOpenGLDebugMessage.Source = ...) -> None: ... + def maximumMessageLength(self) -> int: ... + def loggingMode(self) -> 'QOpenGLDebugLogger.LoggingMode': ... + def isLogging(self) -> bool: ... + def initialize(self) -> bool: ... + + +class QOpenGLFramebufferObject(sip.simplewrapper): + + class FramebufferRestorePolicy(int): + DontRestoreFramebufferBinding = ... # type: QOpenGLFramebufferObject.FramebufferRestorePolicy + RestoreFramebufferBindingToDefault = ... # type: QOpenGLFramebufferObject.FramebufferRestorePolicy + RestoreFrameBufferBinding = ... # type: QOpenGLFramebufferObject.FramebufferRestorePolicy + + class Attachment(int): + NoAttachment = ... # type: QOpenGLFramebufferObject.Attachment + CombinedDepthStencil = ... # type: QOpenGLFramebufferObject.Attachment + Depth = ... # type: QOpenGLFramebufferObject.Attachment + + @typing.overload + def __init__(self, size: QtCore.QSize, target: int = ...) -> None: ... + @typing.overload + def __init__(self, width: int, height: int, target: int = ...) -> None: ... + @typing.overload + def __init__(self, size: QtCore.QSize, attachment: 'QOpenGLFramebufferObject.Attachment', target: int = ..., internal_format: int = ...) -> None: ... + @typing.overload + def __init__(self, width: int, height: int, attachment: 'QOpenGLFramebufferObject.Attachment', target: int = ..., internal_format: int = ...) -> None: ... + @typing.overload + def __init__(self, size: QtCore.QSize, format: 'QOpenGLFramebufferObjectFormat') -> None: ... + @typing.overload + def __init__(self, width: int, height: int, format: 'QOpenGLFramebufferObjectFormat') -> None: ... + + def sizes(self) -> typing.List[QtCore.QSize]: ... + @typing.overload + def addColorAttachment(self, size: QtCore.QSize, internal_format: int = ...) -> None: ... + @typing.overload + def addColorAttachment(self, width: int, height: int, internal_format: int = ...) -> None: ... + @typing.overload + def takeTexture(self) -> int: ... + @typing.overload + def takeTexture(self, colorAttachmentIndex: int) -> int: ... + @typing.overload + @staticmethod + def blitFramebuffer(target: 'QOpenGLFramebufferObject', targetRect: QtCore.QRect, source: 'QOpenGLFramebufferObject', sourceRect: QtCore.QRect, buffers: int = ..., filter: int = ...) -> None: ... + @typing.overload + @staticmethod + def blitFramebuffer(target: 'QOpenGLFramebufferObject', source: 'QOpenGLFramebufferObject', buffers: int = ..., filter: int = ...) -> None: ... + @typing.overload + @staticmethod + def blitFramebuffer(target: 'QOpenGLFramebufferObject', targetRect: QtCore.QRect, source: 'QOpenGLFramebufferObject', sourceRect: QtCore.QRect, buffers: int, filter: int, readColorAttachmentIndex: int, drawColorAttachmentIndex: int) -> None: ... + @typing.overload + @staticmethod + def blitFramebuffer(target: 'QOpenGLFramebufferObject', targetRect: QtCore.QRect, source: 'QOpenGLFramebufferObject', sourceRect: QtCore.QRect, buffers: int, filter: int, readColorAttachmentIndex: int, drawColorAttachmentIndex: int, restorePolicy: 'QOpenGLFramebufferObject.FramebufferRestorePolicy') -> None: ... + @staticmethod + def hasOpenGLFramebufferBlit() -> bool: ... + @staticmethod + def hasOpenGLFramebufferObjects() -> bool: ... + @staticmethod + def bindDefault() -> bool: ... + def handle(self) -> int: ... + def setAttachment(self, attachment: 'QOpenGLFramebufferObject.Attachment') -> None: ... + def attachment(self) -> 'QOpenGLFramebufferObject.Attachment': ... + @typing.overload + def toImage(self) -> QImage: ... + @typing.overload + def toImage(self, flipped: bool) -> QImage: ... + @typing.overload + def toImage(self, flipped: bool, colorAttachmentIndex: int) -> QImage: ... + def size(self) -> QtCore.QSize: ... + def textures(self) -> typing.List[int]: ... + def texture(self) -> int: ... + def height(self) -> int: ... + def width(self) -> int: ... + def release(self) -> bool: ... + def bind(self) -> bool: ... + def isBound(self) -> bool: ... + def isValid(self) -> bool: ... + def format(self) -> 'QOpenGLFramebufferObjectFormat': ... + + +class QOpenGLFramebufferObjectFormat(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QOpenGLFramebufferObjectFormat') -> None: ... + + def internalTextureFormat(self) -> int: ... + def setInternalTextureFormat(self, internalTextureFormat: int) -> None: ... + def textureTarget(self) -> int: ... + def setTextureTarget(self, target: int) -> None: ... + def attachment(self) -> QOpenGLFramebufferObject.Attachment: ... + def setAttachment(self, attachment: QOpenGLFramebufferObject.Attachment) -> None: ... + def mipmap(self) -> bool: ... + def setMipmap(self, enabled: bool) -> None: ... + def samples(self) -> int: ... + def setSamples(self, samples: int) -> None: ... + + +class QOpenGLPaintDevice(QPaintDevice): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: QtCore.QSize) -> None: ... + @typing.overload + def __init__(self, width: int, height: int) -> None: ... + + def metric(self, metric: QPaintDevice.PaintDeviceMetric) -> int: ... + def setDevicePixelRatio(self, devicePixelRatio: float) -> None: ... + def ensureActiveTarget(self) -> None: ... + def paintFlipped(self) -> bool: ... + def setPaintFlipped(self, flipped: bool) -> None: ... + def setDotsPerMeterY(self, a0: float) -> None: ... + def setDotsPerMeterX(self, a0: float) -> None: ... + def dotsPerMeterY(self) -> float: ... + def dotsPerMeterX(self) -> float: ... + def setSize(self, size: QtCore.QSize) -> None: ... + def size(self) -> QtCore.QSize: ... + def context(self) -> QOpenGLContext: ... + def paintEngine(self) -> 'QPaintEngine': ... + + +class QOpenGLPixelTransferOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QOpenGLPixelTransferOptions') -> None: ... + + def isSwapBytesEnabled(self) -> bool: ... + def setSwapBytesEnabled(self, swapBytes: bool) -> None: ... + def isLeastSignificantBitFirst(self) -> bool: ... + def setLeastSignificantByteFirst(self, lsbFirst: bool) -> None: ... + def rowLength(self) -> int: ... + def setRowLength(self, rowLength: int) -> None: ... + def imageHeight(self) -> int: ... + def setImageHeight(self, imageHeight: int) -> None: ... + def skipPixels(self) -> int: ... + def setSkipPixels(self, skipPixels: int) -> None: ... + def skipRows(self) -> int: ... + def setSkipRows(self, skipRows: int) -> None: ... + def skipImages(self) -> int: ... + def setSkipImages(self, skipImages: int) -> None: ... + def alignment(self) -> int: ... + def setAlignment(self, alignment: int) -> None: ... + def swap(self, other: 'QOpenGLPixelTransferOptions') -> None: ... + + +class QOpenGLShader(QtCore.QObject): + + class ShaderTypeBit(int): + Vertex = ... # type: QOpenGLShader.ShaderTypeBit + Fragment = ... # type: QOpenGLShader.ShaderTypeBit + Geometry = ... # type: QOpenGLShader.ShaderTypeBit + TessellationControl = ... # type: QOpenGLShader.ShaderTypeBit + TessellationEvaluation = ... # type: QOpenGLShader.ShaderTypeBit + Compute = ... # type: QOpenGLShader.ShaderTypeBit + + class ShaderType(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QOpenGLShader.ShaderType', 'QOpenGLShader.ShaderTypeBit']) -> None: ... + @typing.overload + def __init__(self, a0: 'QOpenGLShader.ShaderType') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QOpenGLShader.ShaderType': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, type: typing.Union['QOpenGLShader.ShaderType', 'QOpenGLShader.ShaderTypeBit'], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + @staticmethod + def hasOpenGLShaders(type: typing.Union['QOpenGLShader.ShaderType', 'QOpenGLShader.ShaderTypeBit'], context: typing.Optional[QOpenGLContext] = ...) -> bool: ... + def shaderId(self) -> int: ... + def log(self) -> str: ... + def isCompiled(self) -> bool: ... + def sourceCode(self) -> QtCore.QByteArray: ... + def compileSourceFile(self, fileName: str) -> bool: ... + @typing.overload + def compileSourceCode(self, source: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + @typing.overload + def compileSourceCode(self, source: str) -> bool: ... + def shaderType(self) -> 'QOpenGLShader.ShaderType': ... + + +class QOpenGLShaderProgram(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def addCacheableShaderFromSourceFile(self, type: typing.Union[QOpenGLShader.ShaderType, QOpenGLShader.ShaderTypeBit], fileName: str) -> bool: ... + @typing.overload + def addCacheableShaderFromSourceCode(self, type: typing.Union[QOpenGLShader.ShaderType, QOpenGLShader.ShaderTypeBit], source: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + @typing.overload + def addCacheableShaderFromSourceCode(self, type: typing.Union[QOpenGLShader.ShaderType, QOpenGLShader.ShaderTypeBit], source: str) -> bool: ... + def create(self) -> bool: ... + def defaultInnerTessellationLevels(self) -> typing.List[float]: ... + def setDefaultInnerTessellationLevels(self, levels: typing.Iterable[float]) -> None: ... + def defaultOuterTessellationLevels(self) -> typing.List[float]: ... + def setDefaultOuterTessellationLevels(self, levels: typing.Iterable[float]) -> None: ... + def patchVertexCount(self) -> int: ... + def setPatchVertexCount(self, count: int) -> None: ... + def maxGeometryOutputVertices(self) -> int: ... + @staticmethod + def hasOpenGLShaderPrograms(context: typing.Optional[QOpenGLContext] = ...) -> bool: ... + @typing.overload + def setUniformValueArray(self, location: int, values: PYQT_SHADER_UNIFORM_VALUE_ARRAY) -> None: ... + @typing.overload + def setUniformValueArray(self, name: str, values: PYQT_SHADER_UNIFORM_VALUE_ARRAY) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: int) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: float) -> None: ... + @typing.overload + def setUniformValue(self, location: int, x: float, y: float) -> None: ... + @typing.overload + def setUniformValue(self, location: int, x: float, y: float, z: float) -> None: ... + @typing.overload + def setUniformValue(self, location: int, x: float, y: float, z: float, w: float) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: 'QVector2D') -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: 'QVector3D') -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: 'QVector4D') -> None: ... + @typing.overload + def setUniformValue(self, location: int, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setUniformValue(self, location: int, point: QtCore.QPoint) -> None: ... + @typing.overload + def setUniformValue(self, location: int, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setUniformValue(self, location: int, size: QtCore.QSize) -> None: ... + @typing.overload + def setUniformValue(self, location: int, size: QtCore.QSizeF) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix2x2) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix2x3) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix2x4) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix3x2) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix3x3) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix3x4) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix4x2) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix4x3) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: QMatrix4x4) -> None: ... + @typing.overload + def setUniformValue(self, location: int, value: 'QTransform') -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: int) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: float) -> None: ... + @typing.overload + def setUniformValue(self, name: str, x: float, y: float) -> None: ... + @typing.overload + def setUniformValue(self, name: str, x: float, y: float, z: float) -> None: ... + @typing.overload + def setUniformValue(self, name: str, x: float, y: float, z: float, w: float) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: 'QVector2D') -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: 'QVector3D') -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: 'QVector4D') -> None: ... + @typing.overload + def setUniformValue(self, name: str, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setUniformValue(self, name: str, point: QtCore.QPoint) -> None: ... + @typing.overload + def setUniformValue(self, name: str, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setUniformValue(self, name: str, size: QtCore.QSize) -> None: ... + @typing.overload + def setUniformValue(self, name: str, size: QtCore.QSizeF) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix2x2) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix2x3) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix2x4) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix3x2) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix3x3) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix3x4) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix4x2) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix4x3) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: QMatrix4x4) -> None: ... + @typing.overload + def setUniformValue(self, name: str, value: 'QTransform') -> None: ... + @typing.overload + def uniformLocation(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> int: ... + @typing.overload + def uniformLocation(self, name: str) -> int: ... + @typing.overload + def disableAttributeArray(self, location: int) -> None: ... + @typing.overload + def disableAttributeArray(self, name: str) -> None: ... + @typing.overload + def enableAttributeArray(self, location: int) -> None: ... + @typing.overload + def enableAttributeArray(self, name: str) -> None: ... + @typing.overload + def setAttributeBuffer(self, location: int, type: int, offset: int, tupleSize: int, stride: int = ...) -> None: ... + @typing.overload + def setAttributeBuffer(self, name: str, type: int, offset: int, tupleSize: int, stride: int = ...) -> None: ... + @typing.overload + def setAttributeArray(self, location: int, values: PYQT_SHADER_ATTRIBUTE_ARRAY) -> None: ... + @typing.overload + def setAttributeArray(self, name: str, values: PYQT_SHADER_ATTRIBUTE_ARRAY) -> None: ... + @typing.overload + def setAttributeValue(self, location: int, value: float) -> None: ... + @typing.overload + def setAttributeValue(self, location: int, x: float, y: float) -> None: ... + @typing.overload + def setAttributeValue(self, location: int, x: float, y: float, z: float) -> None: ... + @typing.overload + def setAttributeValue(self, location: int, x: float, y: float, z: float, w: float) -> None: ... + @typing.overload + def setAttributeValue(self, location: int, value: 'QVector2D') -> None: ... + @typing.overload + def setAttributeValue(self, location: int, value: 'QVector3D') -> None: ... + @typing.overload + def setAttributeValue(self, location: int, value: 'QVector4D') -> None: ... + @typing.overload + def setAttributeValue(self, location: int, value: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setAttributeValue(self, name: str, value: float) -> None: ... + @typing.overload + def setAttributeValue(self, name: str, x: float, y: float) -> None: ... + @typing.overload + def setAttributeValue(self, name: str, x: float, y: float, z: float) -> None: ... + @typing.overload + def setAttributeValue(self, name: str, x: float, y: float, z: float, w: float) -> None: ... + @typing.overload + def setAttributeValue(self, name: str, value: 'QVector2D') -> None: ... + @typing.overload + def setAttributeValue(self, name: str, value: 'QVector3D') -> None: ... + @typing.overload + def setAttributeValue(self, name: str, value: 'QVector4D') -> None: ... + @typing.overload + def setAttributeValue(self, name: str, value: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def attributeLocation(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> int: ... + @typing.overload + def attributeLocation(self, name: str) -> int: ... + @typing.overload + def bindAttributeLocation(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray], location: int) -> None: ... + @typing.overload + def bindAttributeLocation(self, name: str, location: int) -> None: ... + def programId(self) -> int: ... + def release(self) -> None: ... + def bind(self) -> bool: ... + def log(self) -> str: ... + def isLinked(self) -> bool: ... + def link(self) -> bool: ... + def removeAllShaders(self) -> None: ... + def addShaderFromSourceFile(self, type: typing.Union[QOpenGLShader.ShaderType, QOpenGLShader.ShaderTypeBit], fileName: str) -> bool: ... + @typing.overload + def addShaderFromSourceCode(self, type: typing.Union[QOpenGLShader.ShaderType, QOpenGLShader.ShaderTypeBit], source: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + @typing.overload + def addShaderFromSourceCode(self, type: typing.Union[QOpenGLShader.ShaderType, QOpenGLShader.ShaderTypeBit], source: str) -> bool: ... + def shaders(self) -> typing.List[QOpenGLShader]: ... + def removeShader(self, shader: QOpenGLShader) -> None: ... + def addShader(self, shader: QOpenGLShader) -> bool: ... + + +class QOpenGLTexture(sip.simplewrapper): + + class ComparisonMode(int): + CompareRefToTexture = ... # type: QOpenGLTexture.ComparisonMode + CompareNone = ... # type: QOpenGLTexture.ComparisonMode + + class ComparisonFunction(int): + CompareLessEqual = ... # type: QOpenGLTexture.ComparisonFunction + CompareGreaterEqual = ... # type: QOpenGLTexture.ComparisonFunction + CompareLess = ... # type: QOpenGLTexture.ComparisonFunction + CompareGreater = ... # type: QOpenGLTexture.ComparisonFunction + CompareEqual = ... # type: QOpenGLTexture.ComparisonFunction + CommpareNotEqual = ... # type: QOpenGLTexture.ComparisonFunction + CompareAlways = ... # type: QOpenGLTexture.ComparisonFunction + CompareNever = ... # type: QOpenGLTexture.ComparisonFunction + + class CoordinateDirection(int): + DirectionS = ... # type: QOpenGLTexture.CoordinateDirection + DirectionT = ... # type: QOpenGLTexture.CoordinateDirection + DirectionR = ... # type: QOpenGLTexture.CoordinateDirection + + class WrapMode(int): + Repeat = ... # type: QOpenGLTexture.WrapMode + MirroredRepeat = ... # type: QOpenGLTexture.WrapMode + ClampToEdge = ... # type: QOpenGLTexture.WrapMode + ClampToBorder = ... # type: QOpenGLTexture.WrapMode + + class Filter(int): + Nearest = ... # type: QOpenGLTexture.Filter + Linear = ... # type: QOpenGLTexture.Filter + NearestMipMapNearest = ... # type: QOpenGLTexture.Filter + NearestMipMapLinear = ... # type: QOpenGLTexture.Filter + LinearMipMapNearest = ... # type: QOpenGLTexture.Filter + LinearMipMapLinear = ... # type: QOpenGLTexture.Filter + + class DepthStencilMode(int): + DepthMode = ... # type: QOpenGLTexture.DepthStencilMode + StencilMode = ... # type: QOpenGLTexture.DepthStencilMode + + class SwizzleValue(int): + RedValue = ... # type: QOpenGLTexture.SwizzleValue + GreenValue = ... # type: QOpenGLTexture.SwizzleValue + BlueValue = ... # type: QOpenGLTexture.SwizzleValue + AlphaValue = ... # type: QOpenGLTexture.SwizzleValue + ZeroValue = ... # type: QOpenGLTexture.SwizzleValue + OneValue = ... # type: QOpenGLTexture.SwizzleValue + + class SwizzleComponent(int): + SwizzleRed = ... # type: QOpenGLTexture.SwizzleComponent + SwizzleGreen = ... # type: QOpenGLTexture.SwizzleComponent + SwizzleBlue = ... # type: QOpenGLTexture.SwizzleComponent + SwizzleAlpha = ... # type: QOpenGLTexture.SwizzleComponent + + class Feature(int): + ImmutableStorage = ... # type: QOpenGLTexture.Feature + ImmutableMultisampleStorage = ... # type: QOpenGLTexture.Feature + TextureRectangle = ... # type: QOpenGLTexture.Feature + TextureArrays = ... # type: QOpenGLTexture.Feature + Texture3D = ... # type: QOpenGLTexture.Feature + TextureMultisample = ... # type: QOpenGLTexture.Feature + TextureBuffer = ... # type: QOpenGLTexture.Feature + TextureCubeMapArrays = ... # type: QOpenGLTexture.Feature + Swizzle = ... # type: QOpenGLTexture.Feature + StencilTexturing = ... # type: QOpenGLTexture.Feature + AnisotropicFiltering = ... # type: QOpenGLTexture.Feature + NPOTTextures = ... # type: QOpenGLTexture.Feature + NPOTTextureRepeat = ... # type: QOpenGLTexture.Feature + Texture1D = ... # type: QOpenGLTexture.Feature + TextureComparisonOperators = ... # type: QOpenGLTexture.Feature + TextureMipMapLevel = ... # type: QOpenGLTexture.Feature + + class PixelType(int): + NoPixelType = ... # type: QOpenGLTexture.PixelType + Int8 = ... # type: QOpenGLTexture.PixelType + UInt8 = ... # type: QOpenGLTexture.PixelType + Int16 = ... # type: QOpenGLTexture.PixelType + UInt16 = ... # type: QOpenGLTexture.PixelType + Int32 = ... # type: QOpenGLTexture.PixelType + UInt32 = ... # type: QOpenGLTexture.PixelType + Float16 = ... # type: QOpenGLTexture.PixelType + Float16OES = ... # type: QOpenGLTexture.PixelType + Float32 = ... # type: QOpenGLTexture.PixelType + UInt32_RGB9_E5 = ... # type: QOpenGLTexture.PixelType + UInt32_RG11B10F = ... # type: QOpenGLTexture.PixelType + UInt8_RG3B2 = ... # type: QOpenGLTexture.PixelType + UInt8_RG3B2_Rev = ... # type: QOpenGLTexture.PixelType + UInt16_RGB5A1 = ... # type: QOpenGLTexture.PixelType + UInt16_RGB5A1_Rev = ... # type: QOpenGLTexture.PixelType + UInt16_R5G6B5 = ... # type: QOpenGLTexture.PixelType + UInt16_R5G6B5_Rev = ... # type: QOpenGLTexture.PixelType + UInt16_RGBA4 = ... # type: QOpenGLTexture.PixelType + UInt16_RGBA4_Rev = ... # type: QOpenGLTexture.PixelType + UInt32_RGB10A2 = ... # type: QOpenGLTexture.PixelType + UInt32_RGB10A2_Rev = ... # type: QOpenGLTexture.PixelType + UInt32_RGBA8 = ... # type: QOpenGLTexture.PixelType + UInt32_RGBA8_Rev = ... # type: QOpenGLTexture.PixelType + UInt32_D24S8 = ... # type: QOpenGLTexture.PixelType + Float32_D32_UInt32_S8_X24 = ... # type: QOpenGLTexture.PixelType + + class PixelFormat(int): + NoSourceFormat = ... # type: QOpenGLTexture.PixelFormat + Red = ... # type: QOpenGLTexture.PixelFormat + RG = ... # type: QOpenGLTexture.PixelFormat + RGB = ... # type: QOpenGLTexture.PixelFormat + BGR = ... # type: QOpenGLTexture.PixelFormat + RGBA = ... # type: QOpenGLTexture.PixelFormat + BGRA = ... # type: QOpenGLTexture.PixelFormat + Red_Integer = ... # type: QOpenGLTexture.PixelFormat + RG_Integer = ... # type: QOpenGLTexture.PixelFormat + RGB_Integer = ... # type: QOpenGLTexture.PixelFormat + BGR_Integer = ... # type: QOpenGLTexture.PixelFormat + RGBA_Integer = ... # type: QOpenGLTexture.PixelFormat + BGRA_Integer = ... # type: QOpenGLTexture.PixelFormat + Depth = ... # type: QOpenGLTexture.PixelFormat + DepthStencil = ... # type: QOpenGLTexture.PixelFormat + Alpha = ... # type: QOpenGLTexture.PixelFormat + Luminance = ... # type: QOpenGLTexture.PixelFormat + LuminanceAlpha = ... # type: QOpenGLTexture.PixelFormat + Stencil = ... # type: QOpenGLTexture.PixelFormat + + class CubeMapFace(int): + CubeMapPositiveX = ... # type: QOpenGLTexture.CubeMapFace + CubeMapNegativeX = ... # type: QOpenGLTexture.CubeMapFace + CubeMapPositiveY = ... # type: QOpenGLTexture.CubeMapFace + CubeMapNegativeY = ... # type: QOpenGLTexture.CubeMapFace + CubeMapPositiveZ = ... # type: QOpenGLTexture.CubeMapFace + CubeMapNegativeZ = ... # type: QOpenGLTexture.CubeMapFace + + class TextureFormat(int): + NoFormat = ... # type: QOpenGLTexture.TextureFormat + R8_UNorm = ... # type: QOpenGLTexture.TextureFormat + RG8_UNorm = ... # type: QOpenGLTexture.TextureFormat + RGB8_UNorm = ... # type: QOpenGLTexture.TextureFormat + RGBA8_UNorm = ... # type: QOpenGLTexture.TextureFormat + R16_UNorm = ... # type: QOpenGLTexture.TextureFormat + RG16_UNorm = ... # type: QOpenGLTexture.TextureFormat + RGB16_UNorm = ... # type: QOpenGLTexture.TextureFormat + RGBA16_UNorm = ... # type: QOpenGLTexture.TextureFormat + R8_SNorm = ... # type: QOpenGLTexture.TextureFormat + RG8_SNorm = ... # type: QOpenGLTexture.TextureFormat + RGB8_SNorm = ... # type: QOpenGLTexture.TextureFormat + RGBA8_SNorm = ... # type: QOpenGLTexture.TextureFormat + R16_SNorm = ... # type: QOpenGLTexture.TextureFormat + RG16_SNorm = ... # type: QOpenGLTexture.TextureFormat + RGB16_SNorm = ... # type: QOpenGLTexture.TextureFormat + RGBA16_SNorm = ... # type: QOpenGLTexture.TextureFormat + R8U = ... # type: QOpenGLTexture.TextureFormat + RG8U = ... # type: QOpenGLTexture.TextureFormat + RGB8U = ... # type: QOpenGLTexture.TextureFormat + RGBA8U = ... # type: QOpenGLTexture.TextureFormat + R16U = ... # type: QOpenGLTexture.TextureFormat + RG16U = ... # type: QOpenGLTexture.TextureFormat + RGB16U = ... # type: QOpenGLTexture.TextureFormat + RGBA16U = ... # type: QOpenGLTexture.TextureFormat + R32U = ... # type: QOpenGLTexture.TextureFormat + RG32U = ... # type: QOpenGLTexture.TextureFormat + RGB32U = ... # type: QOpenGLTexture.TextureFormat + RGBA32U = ... # type: QOpenGLTexture.TextureFormat + R8I = ... # type: QOpenGLTexture.TextureFormat + RG8I = ... # type: QOpenGLTexture.TextureFormat + RGB8I = ... # type: QOpenGLTexture.TextureFormat + RGBA8I = ... # type: QOpenGLTexture.TextureFormat + R16I = ... # type: QOpenGLTexture.TextureFormat + RG16I = ... # type: QOpenGLTexture.TextureFormat + RGB16I = ... # type: QOpenGLTexture.TextureFormat + RGBA16I = ... # type: QOpenGLTexture.TextureFormat + R32I = ... # type: QOpenGLTexture.TextureFormat + RG32I = ... # type: QOpenGLTexture.TextureFormat + RGB32I = ... # type: QOpenGLTexture.TextureFormat + RGBA32I = ... # type: QOpenGLTexture.TextureFormat + R16F = ... # type: QOpenGLTexture.TextureFormat + RG16F = ... # type: QOpenGLTexture.TextureFormat + RGB16F = ... # type: QOpenGLTexture.TextureFormat + RGBA16F = ... # type: QOpenGLTexture.TextureFormat + R32F = ... # type: QOpenGLTexture.TextureFormat + RG32F = ... # type: QOpenGLTexture.TextureFormat + RGB32F = ... # type: QOpenGLTexture.TextureFormat + RGBA32F = ... # type: QOpenGLTexture.TextureFormat + RGB9E5 = ... # type: QOpenGLTexture.TextureFormat + RG11B10F = ... # type: QOpenGLTexture.TextureFormat + RG3B2 = ... # type: QOpenGLTexture.TextureFormat + R5G6B5 = ... # type: QOpenGLTexture.TextureFormat + RGB5A1 = ... # type: QOpenGLTexture.TextureFormat + RGBA4 = ... # type: QOpenGLTexture.TextureFormat + RGB10A2 = ... # type: QOpenGLTexture.TextureFormat + D16 = ... # type: QOpenGLTexture.TextureFormat + D24 = ... # type: QOpenGLTexture.TextureFormat + D24S8 = ... # type: QOpenGLTexture.TextureFormat + D32 = ... # type: QOpenGLTexture.TextureFormat + D32F = ... # type: QOpenGLTexture.TextureFormat + D32FS8X24 = ... # type: QOpenGLTexture.TextureFormat + RGB_DXT1 = ... # type: QOpenGLTexture.TextureFormat + RGBA_DXT1 = ... # type: QOpenGLTexture.TextureFormat + RGBA_DXT3 = ... # type: QOpenGLTexture.TextureFormat + RGBA_DXT5 = ... # type: QOpenGLTexture.TextureFormat + R_ATI1N_UNorm = ... # type: QOpenGLTexture.TextureFormat + R_ATI1N_SNorm = ... # type: QOpenGLTexture.TextureFormat + RG_ATI2N_UNorm = ... # type: QOpenGLTexture.TextureFormat + RG_ATI2N_SNorm = ... # type: QOpenGLTexture.TextureFormat + RGB_BP_UNSIGNED_FLOAT = ... # type: QOpenGLTexture.TextureFormat + RGB_BP_SIGNED_FLOAT = ... # type: QOpenGLTexture.TextureFormat + RGB_BP_UNorm = ... # type: QOpenGLTexture.TextureFormat + SRGB8 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8 = ... # type: QOpenGLTexture.TextureFormat + SRGB_DXT1 = ... # type: QOpenGLTexture.TextureFormat + SRGB_Alpha_DXT1 = ... # type: QOpenGLTexture.TextureFormat + SRGB_Alpha_DXT3 = ... # type: QOpenGLTexture.TextureFormat + SRGB_Alpha_DXT5 = ... # type: QOpenGLTexture.TextureFormat + SRGB_BP_UNorm = ... # type: QOpenGLTexture.TextureFormat + DepthFormat = ... # type: QOpenGLTexture.TextureFormat + AlphaFormat = ... # type: QOpenGLTexture.TextureFormat + RGBFormat = ... # type: QOpenGLTexture.TextureFormat + RGBAFormat = ... # type: QOpenGLTexture.TextureFormat + LuminanceFormat = ... # type: QOpenGLTexture.TextureFormat + LuminanceAlphaFormat = ... # type: QOpenGLTexture.TextureFormat + S8 = ... # type: QOpenGLTexture.TextureFormat + R11_EAC_UNorm = ... # type: QOpenGLTexture.TextureFormat + R11_EAC_SNorm = ... # type: QOpenGLTexture.TextureFormat + RG11_EAC_UNorm = ... # type: QOpenGLTexture.TextureFormat + RG11_EAC_SNorm = ... # type: QOpenGLTexture.TextureFormat + RGB8_ETC2 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_ETC2 = ... # type: QOpenGLTexture.TextureFormat + RGB8_PunchThrough_Alpha1_ETC2 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_PunchThrough_Alpha1_ETC2 = ... # type: QOpenGLTexture.TextureFormat + RGBA8_ETC2_EAC = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ETC2_EAC = ... # type: QOpenGLTexture.TextureFormat + RGB8_ETC1 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_4x4 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_5x4 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_5x5 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_6x5 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_6x6 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_8x5 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_8x6 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_8x8 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_10x5 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_10x6 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_10x8 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_10x10 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_12x10 = ... # type: QOpenGLTexture.TextureFormat + RGBA_ASTC_12x12 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_4x4 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_5x4 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_5x5 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_6x5 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_6x6 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_8x5 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_8x6 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_8x8 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_10x5 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_10x6 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_10x8 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_10x10 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_12x10 = ... # type: QOpenGLTexture.TextureFormat + SRGB8_Alpha8_ASTC_12x12 = ... # type: QOpenGLTexture.TextureFormat + + class TextureUnitReset(int): + ResetTextureUnit = ... # type: QOpenGLTexture.TextureUnitReset + DontResetTextureUnit = ... # type: QOpenGLTexture.TextureUnitReset + + class MipMapGeneration(int): + GenerateMipMaps = ... # type: QOpenGLTexture.MipMapGeneration + DontGenerateMipMaps = ... # type: QOpenGLTexture.MipMapGeneration + + class BindingTarget(int): + BindingTarget1D = ... # type: QOpenGLTexture.BindingTarget + BindingTarget1DArray = ... # type: QOpenGLTexture.BindingTarget + BindingTarget2D = ... # type: QOpenGLTexture.BindingTarget + BindingTarget2DArray = ... # type: QOpenGLTexture.BindingTarget + BindingTarget3D = ... # type: QOpenGLTexture.BindingTarget + BindingTargetCubeMap = ... # type: QOpenGLTexture.BindingTarget + BindingTargetCubeMapArray = ... # type: QOpenGLTexture.BindingTarget + BindingTarget2DMultisample = ... # type: QOpenGLTexture.BindingTarget + BindingTarget2DMultisampleArray = ... # type: QOpenGLTexture.BindingTarget + BindingTargetRectangle = ... # type: QOpenGLTexture.BindingTarget + BindingTargetBuffer = ... # type: QOpenGLTexture.BindingTarget + + class Target(int): + Target1D = ... # type: QOpenGLTexture.Target + Target1DArray = ... # type: QOpenGLTexture.Target + Target2D = ... # type: QOpenGLTexture.Target + Target2DArray = ... # type: QOpenGLTexture.Target + Target3D = ... # type: QOpenGLTexture.Target + TargetCubeMap = ... # type: QOpenGLTexture.Target + TargetCubeMapArray = ... # type: QOpenGLTexture.Target + Target2DMultisample = ... # type: QOpenGLTexture.Target + Target2DMultisampleArray = ... # type: QOpenGLTexture.Target + TargetRectangle = ... # type: QOpenGLTexture.Target + TargetBuffer = ... # type: QOpenGLTexture.Target + + class Features(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QOpenGLTexture.Features', 'QOpenGLTexture.Feature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QOpenGLTexture.Features') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QOpenGLTexture.Features': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, target: 'QOpenGLTexture.Target') -> None: ... + @typing.overload + def __init__(self, image: QImage, genMipMaps: 'QOpenGLTexture.MipMapGeneration' = ...) -> None: ... + + def comparisonMode(self) -> 'QOpenGLTexture.ComparisonMode': ... + def setComparisonMode(self, mode: 'QOpenGLTexture.ComparisonMode') -> None: ... + def comparisonFunction(self) -> 'QOpenGLTexture.ComparisonFunction': ... + def setComparisonFunction(self, function: 'QOpenGLTexture.ComparisonFunction') -> None: ... + def isFixedSamplePositions(self) -> bool: ... + def setFixedSamplePositions(self, fixed: bool) -> None: ... + def samples(self) -> int: ... + def setSamples(self, samples: int) -> None: ... + def target(self) -> 'QOpenGLTexture.Target': ... + def levelofDetailBias(self) -> float: ... + def setLevelofDetailBias(self, bias: float) -> None: ... + def levelOfDetailRange(self) -> typing.Tuple[float, float]: ... + def setLevelOfDetailRange(self, min: float, max: float) -> None: ... + def maximumLevelOfDetail(self) -> float: ... + def setMaximumLevelOfDetail(self, value: float) -> None: ... + def minimumLevelOfDetail(self) -> float: ... + def setMinimumLevelOfDetail(self, value: float) -> None: ... + def borderColor(self) -> QColor: ... + def setBorderColor(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def wrapMode(self, direction: 'QOpenGLTexture.CoordinateDirection') -> 'QOpenGLTexture.WrapMode': ... + @typing.overload + def setWrapMode(self, mode: 'QOpenGLTexture.WrapMode') -> None: ... + @typing.overload + def setWrapMode(self, direction: 'QOpenGLTexture.CoordinateDirection', mode: 'QOpenGLTexture.WrapMode') -> None: ... + def maximumAnisotropy(self) -> float: ... + def setMaximumAnisotropy(self, anisotropy: float) -> None: ... + def minMagFilters(self) -> typing.Tuple['QOpenGLTexture.Filter', 'QOpenGLTexture.Filter']: ... + def setMinMagFilters(self, minificationFilter: 'QOpenGLTexture.Filter', magnificationFilter: 'QOpenGLTexture.Filter') -> None: ... + def magnificationFilter(self) -> 'QOpenGLTexture.Filter': ... + def setMagnificationFilter(self, filter: 'QOpenGLTexture.Filter') -> None: ... + def minificationFilter(self) -> 'QOpenGLTexture.Filter': ... + def setMinificationFilter(self, filter: 'QOpenGLTexture.Filter') -> None: ... + def depthStencilMode(self) -> 'QOpenGLTexture.DepthStencilMode': ... + def setDepthStencilMode(self, mode: 'QOpenGLTexture.DepthStencilMode') -> None: ... + def swizzleMask(self, component: 'QOpenGLTexture.SwizzleComponent') -> 'QOpenGLTexture.SwizzleValue': ... + @typing.overload + def setSwizzleMask(self, component: 'QOpenGLTexture.SwizzleComponent', value: 'QOpenGLTexture.SwizzleValue') -> None: ... + @typing.overload + def setSwizzleMask(self, r: 'QOpenGLTexture.SwizzleValue', g: 'QOpenGLTexture.SwizzleValue', b: 'QOpenGLTexture.SwizzleValue', a: 'QOpenGLTexture.SwizzleValue') -> None: ... + @typing.overload + def generateMipMaps(self) -> None: ... + @typing.overload + def generateMipMaps(self, baseLevel: int, resetBaseLevel: bool = ...) -> None: ... + def isAutoMipMapGenerationEnabled(self) -> bool: ... + def setAutoMipMapGenerationEnabled(self, enabled: bool) -> None: ... + def mipLevelRange(self) -> typing.Tuple[int, int]: ... + def setMipLevelRange(self, baseLevel: int, maxLevel: int) -> None: ... + def mipMaxLevel(self) -> int: ... + def setMipMaxLevel(self, maxLevel: int) -> None: ... + def mipBaseLevel(self) -> int: ... + def setMipBaseLevel(self, baseLevel: int) -> None: ... + @staticmethod + def hasFeature(feature: 'QOpenGLTexture.Feature') -> bool: ... + @typing.overload + def setCompressedData(self, mipLevel: int, layer: int, cubeFace: 'QOpenGLTexture.CubeMapFace', dataSize: int, data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setCompressedData(self, mipLevel: int, layer: int, dataSize: int, data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setCompressedData(self, mipLevel: int, dataSize: int, data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setCompressedData(self, dataSize: int, data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setCompressedData(self, mipLevel: int, layer: int, layerCount: int, cubeFace: 'QOpenGLTexture.CubeMapFace', dataSize: int, data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, mipLevel: int, layer: int, cubeFace: 'QOpenGLTexture.CubeMapFace', sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, mipLevel: int, layer: int, sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, mipLevel: int, sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, image: QImage, genMipMaps: 'QOpenGLTexture.MipMapGeneration' = ...) -> None: ... + @typing.overload + def setData(self, mipLevel: int, layer: int, layerCount: int, cubeFace: 'QOpenGLTexture.CubeMapFace', sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, mipLevel: int, sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, mipLevel: int, layer: int, sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, mipLevel: int, layer: int, cubeFace: 'QOpenGLTexture.CubeMapFace', sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + @typing.overload + def setData(self, xOffset: int, yOffset: int, zOffset: int, width: int, height: int, depth: int, mipLevel: int, layer: int, cubeFace: 'QOpenGLTexture.CubeMapFace', layerCount: int, sourceFormat: 'QOpenGLTexture.PixelFormat', sourceType: 'QOpenGLTexture.PixelType', data: PyQt5.sip.voidptr, options: typing.Optional[QOpenGLPixelTransferOptions] = ...) -> None: ... + def isTextureView(self) -> bool: ... + def createTextureView(self, target: 'QOpenGLTexture.Target', viewFormat: 'QOpenGLTexture.TextureFormat', minimumMipmapLevel: int, maximumMipmapLevel: int, minimumLayer: int, maximumLayer: int) -> 'QOpenGLTexture': ... + def isStorageAllocated(self) -> bool: ... + @typing.overload + def allocateStorage(self) -> None: ... + @typing.overload + def allocateStorage(self, pixelFormat: 'QOpenGLTexture.PixelFormat', pixelType: 'QOpenGLTexture.PixelType') -> None: ... + def faces(self) -> int: ... + def layers(self) -> int: ... + def setLayers(self, layers: int) -> None: ... + def maximumMipLevels(self) -> int: ... + def mipLevels(self) -> int: ... + def setMipLevels(self, levels: int) -> None: ... + def depth(self) -> int: ... + def height(self) -> int: ... + def width(self) -> int: ... + def setSize(self, width: int, height: int = ..., depth: int = ...) -> None: ... + def format(self) -> 'QOpenGLTexture.TextureFormat': ... + def setFormat(self, format: 'QOpenGLTexture.TextureFormat') -> None: ... + @typing.overload + @staticmethod + def boundTextureId(target: 'QOpenGLTexture.BindingTarget') -> int: ... + @typing.overload + @staticmethod + def boundTextureId(unit: int, target: 'QOpenGLTexture.BindingTarget') -> int: ... + @typing.overload + def isBound(self) -> bool: ... + @typing.overload + def isBound(self, unit: int) -> bool: ... + @typing.overload + def release(self) -> None: ... + @typing.overload + def release(self, unit: int, reset: 'QOpenGLTexture.TextureUnitReset' = ...) -> None: ... + @typing.overload + def bind(self) -> None: ... + @typing.overload + def bind(self, unit: int, reset: 'QOpenGLTexture.TextureUnitReset' = ...) -> None: ... + def textureId(self) -> int: ... + def isCreated(self) -> bool: ... + def destroy(self) -> None: ... + def create(self) -> bool: ... + + +class QOpenGLTextureBlitter(sip.simplewrapper): + + class Origin(int): + OriginBottomLeft = ... # type: QOpenGLTextureBlitter.Origin + OriginTopLeft = ... # type: QOpenGLTextureBlitter.Origin + + def __init__(self) -> None: ... + + @staticmethod + def sourceTransform(subTexture: QtCore.QRectF, textureSize: QtCore.QSize, origin: 'QOpenGLTextureBlitter.Origin') -> QMatrix3x3: ... + @staticmethod + def targetTransform(target: QtCore.QRectF, viewport: QtCore.QRect) -> QMatrix4x4: ... + @typing.overload + def blit(self, texture: int, targetTransform: QMatrix4x4, sourceOrigin: 'QOpenGLTextureBlitter.Origin') -> None: ... + @typing.overload + def blit(self, texture: int, targetTransform: QMatrix4x4, sourceTransform: QMatrix3x3) -> None: ... + def setOpacity(self, opacity: float) -> None: ... + def setRedBlueSwizzle(self, swizzle: bool) -> None: ... + def release(self) -> None: ... + def bind(self, target: int = ...) -> None: ... + def supportsExternalOESTarget(self) -> bool: ... + def destroy(self) -> None: ... + def isCreated(self) -> bool: ... + def create(self) -> bool: ... + + +class QOpenGLTimerQuery(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def waitForResult(self) -> int: ... + def isResultAvailable(self) -> bool: ... + def recordTimestamp(self) -> None: ... + def waitForTimestamp(self) -> int: ... + def end(self) -> None: ... + def begin(self) -> None: ... + def objectId(self) -> int: ... + def isCreated(self) -> bool: ... + def destroy(self) -> None: ... + def create(self) -> bool: ... + + +class QOpenGLTimeMonitor(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reset(self) -> None: ... + def waitForIntervals(self) -> typing.List[int]: ... + def waitForSamples(self) -> typing.List[int]: ... + def isResultAvailable(self) -> bool: ... + def recordSample(self) -> int: ... + def objectIds(self) -> typing.List[int]: ... + def isCreated(self) -> bool: ... + def destroy(self) -> None: ... + def create(self) -> bool: ... + def sampleCount(self) -> int: ... + def setSampleCount(self, sampleCount: int) -> None: ... + + +class QAbstractOpenGLFunctions(PyQt5.sip.wrapper): ... + + +class QOpenGLVertexArrayObject(QtCore.QObject): + + class Binder(sip.simplewrapper): + + def __init__(self, v: 'QOpenGLVertexArrayObject') -> None: ... + + def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ... + def __enter__(self) -> typing.Any: ... + def rebind(self) -> None: ... + def release(self) -> None: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def release(self) -> None: ... + def bind(self) -> None: ... + def objectId(self) -> int: ... + def isCreated(self) -> bool: ... + def destroy(self) -> None: ... + def create(self) -> bool: ... + + +class QWindow(QtCore.QObject, QSurface): + + class Visibility(int): + Hidden = ... # type: QWindow.Visibility + AutomaticVisibility = ... # type: QWindow.Visibility + Windowed = ... # type: QWindow.Visibility + Minimized = ... # type: QWindow.Visibility + Maximized = ... # type: QWindow.Visibility + FullScreen = ... # type: QWindow.Visibility + + class AncestorMode(int): + ExcludeTransients = ... # type: QWindow.AncestorMode + IncludeTransients = ... # type: QWindow.AncestorMode + + @typing.overload + def __init__(self, screen: typing.Optional['QScreen'] = ...) -> None: ... + @typing.overload + def __init__(self, parent: 'QWindow') -> None: ... + + def startSystemMove(self) -> bool: ... + def startSystemResize(self, edges: typing.Union[QtCore.Qt.Edges, QtCore.Qt.Edge]) -> bool: ... + def setWindowStates(self, states: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ... + def windowStates(self) -> QtCore.Qt.WindowStates: ... + def setFlag(self, a0: QtCore.Qt.WindowType, on: bool = ...) -> None: ... + def opacityChanged(self, opacity: float) -> None: ... + def activeChanged(self) -> None: ... + def visibilityChanged(self, visibility: 'QWindow.Visibility') -> None: ... + @staticmethod + def fromWinId(id: PyQt5.sip.voidptr) -> 'QWindow': ... + def mask(self) -> 'QRegion': ... + def setMask(self, region: 'QRegion') -> None: ... + def opacity(self) -> float: ... + def setVisibility(self, v: 'QWindow.Visibility') -> None: ... + def visibility(self) -> 'QWindow.Visibility': ... + def tabletEvent(self, a0: QTabletEvent) -> None: ... + def touchEvent(self, a0: QTouchEvent) -> None: ... + def wheelEvent(self, a0: QWheelEvent) -> None: ... + def mouseMoveEvent(self, a0: QMouseEvent) -> None: ... + def mouseDoubleClickEvent(self, a0: QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QMouseEvent) -> None: ... + def keyReleaseEvent(self, a0: QKeyEvent) -> None: ... + def keyPressEvent(self, a0: QKeyEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def hideEvent(self, a0: QHideEvent) -> None: ... + def showEvent(self, a0: QShowEvent) -> None: ... + def focusOutEvent(self, a0: QFocusEvent) -> None: ... + def focusInEvent(self, a0: QFocusEvent) -> None: ... + def moveEvent(self, a0: QMoveEvent) -> None: ... + def resizeEvent(self, a0: QResizeEvent) -> None: ... + def exposeEvent(self, a0: QExposeEvent) -> None: ... + def windowTitleChanged(self, title: str) -> None: ... + def focusObjectChanged(self, object: QtCore.QObject) -> None: ... + def contentOrientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... + def visibleChanged(self, arg: bool) -> None: ... + def maximumHeightChanged(self, arg: int) -> None: ... + def maximumWidthChanged(self, arg: int) -> None: ... + def minimumHeightChanged(self, arg: int) -> None: ... + def minimumWidthChanged(self, arg: int) -> None: ... + def heightChanged(self, arg: int) -> None: ... + def widthChanged(self, arg: int) -> None: ... + def yChanged(self, arg: int) -> None: ... + def xChanged(self, arg: int) -> None: ... + def windowStateChanged(self, windowState: QtCore.Qt.WindowState) -> None: ... + def modalityChanged(self, modality: QtCore.Qt.WindowModality) -> None: ... + def screenChanged(self, screen: 'QScreen') -> None: ... + def requestUpdate(self) -> None: ... + def alert(self, msec: int) -> None: ... + def setMaximumHeight(self, h: int) -> None: ... + def setMaximumWidth(self, w: int) -> None: ... + def setMinimumHeight(self, h: int) -> None: ... + def setMinimumWidth(self, w: int) -> None: ... + def setHeight(self, arg: int) -> None: ... + def setWidth(self, arg: int) -> None: ... + def setY(self, arg: int) -> None: ... + def setX(self, arg: int) -> None: ... + def setTitle(self, a0: str) -> None: ... + def lower(self) -> None: ... + def raise_(self) -> None: ... + def close(self) -> bool: ... + def showNormal(self) -> None: ... + def showFullScreen(self) -> None: ... + def showMaximized(self) -> None: ... + def showMinimized(self) -> None: ... + def hide(self) -> None: ... + def show(self) -> None: ... + def setVisible(self, visible: bool) -> None: ... + def unsetCursor(self) -> None: ... + def setCursor(self, a0: typing.Union[QCursor, QtCore.Qt.CursorShape]) -> None: ... + def cursor(self) -> QCursor: ... + def mapFromGlobal(self, pos: QtCore.QPoint) -> QtCore.QPoint: ... + def mapToGlobal(self, pos: QtCore.QPoint) -> QtCore.QPoint: ... + def focusObject(self) -> QtCore.QObject: ... + def setScreen(self, screen: 'QScreen') -> None: ... + def screen(self) -> 'QScreen': ... + def setMouseGrabEnabled(self, grab: bool) -> bool: ... + def setKeyboardGrabEnabled(self, grab: bool) -> bool: ... + def destroy(self) -> None: ... + def icon(self) -> QIcon: ... + def setIcon(self, icon: QIcon) -> None: ... + def filePath(self) -> str: ... + def setFilePath(self, filePath: str) -> None: ... + @typing.overload + def resize(self, newSize: QtCore.QSize) -> None: ... + @typing.overload + def resize(self, w: int, h: int) -> None: ... + @typing.overload + def setPosition(self, pt: QtCore.QPoint) -> None: ... + @typing.overload + def setPosition(self, posx: int, posy: int) -> None: ... + def position(self) -> QtCore.QPoint: ... + def size(self) -> QtCore.QSize: ... + def y(self) -> int: ... + def x(self) -> int: ... + def height(self) -> int: ... + def width(self) -> int: ... + def setFramePosition(self, point: QtCore.QPoint) -> None: ... + def framePosition(self) -> QtCore.QPoint: ... + def frameGeometry(self) -> QtCore.QRect: ... + def frameMargins(self) -> QtCore.QMargins: ... + def geometry(self) -> QtCore.QRect: ... + @typing.overload + def setGeometry(self, posx: int, posy: int, w: int, h: int) -> None: ... + @typing.overload + def setGeometry(self, rect: QtCore.QRect) -> None: ... + def setSizeIncrement(self, size: QtCore.QSize) -> None: ... + def setBaseSize(self, size: QtCore.QSize) -> None: ... + def setMaximumSize(self, size: QtCore.QSize) -> None: ... + def setMinimumSize(self, size: QtCore.QSize) -> None: ... + def sizeIncrement(self) -> QtCore.QSize: ... + def baseSize(self) -> QtCore.QSize: ... + def maximumSize(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def maximumHeight(self) -> int: ... + def maximumWidth(self) -> int: ... + def minimumHeight(self) -> int: ... + def minimumWidth(self) -> int: ... + def isExposed(self) -> bool: ... + def isAncestorOf(self, child: 'QWindow', mode: 'QWindow.AncestorMode' = ...) -> bool: ... + def transientParent(self) -> 'QWindow': ... + def setTransientParent(self, parent: 'QWindow') -> None: ... + def setWindowState(self, state: QtCore.Qt.WindowState) -> None: ... + def windowState(self) -> QtCore.Qt.WindowState: ... + def devicePixelRatio(self) -> float: ... + def contentOrientation(self) -> QtCore.Qt.ScreenOrientation: ... + def reportContentOrientationChange(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... + def isActive(self) -> bool: ... + def requestActivate(self) -> None: ... + def setOpacity(self, level: float) -> None: ... + def title(self) -> str: ... + def type(self) -> QtCore.Qt.WindowType: ... + def flags(self) -> QtCore.Qt.WindowFlags: ... + def setFlags(self, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... + def requestedFormat(self) -> 'QSurfaceFormat': ... + def format(self) -> 'QSurfaceFormat': ... + def setFormat(self, format: 'QSurfaceFormat') -> None: ... + def setModality(self, modality: QtCore.Qt.WindowModality) -> None: ... + def modality(self) -> QtCore.Qt.WindowModality: ... + def isModal(self) -> bool: ... + def isTopLevel(self) -> bool: ... + def setParent(self, parent: 'QWindow') -> None: ... + @typing.overload + def parent(self) -> 'QWindow': ... + @typing.overload + def parent(self, mode: 'QWindow.AncestorMode') -> 'QWindow': ... + def winId(self) -> PyQt5.sip.voidptr: ... + def create(self) -> None: ... + def isVisible(self) -> bool: ... + def surfaceType(self) -> QSurface.SurfaceType: ... + def setSurfaceType(self, surfaceType: QSurface.SurfaceType) -> None: ... + + +class QPaintDeviceWindow(QWindow, QPaintDevice): + + def event(self, event: QtCore.QEvent) -> bool: ... + def exposeEvent(self, a0: QExposeEvent) -> None: ... + def metric(self, metric: QPaintDevice.PaintDeviceMetric) -> int: ... + def paintEvent(self, event: QPaintEvent) -> None: ... + @typing.overload + def update(self, rect: QtCore.QRect) -> None: ... + @typing.overload + def update(self, region: 'QRegion') -> None: ... + @typing.overload + def update(self) -> None: ... + + +class QOpenGLWindow(QPaintDeviceWindow): + + class UpdateBehavior(int): + NoPartialUpdate = ... # type: QOpenGLWindow.UpdateBehavior + PartialUpdateBlit = ... # type: QOpenGLWindow.UpdateBehavior + PartialUpdateBlend = ... # type: QOpenGLWindow.UpdateBehavior + + @typing.overload + def __init__(self, updateBehavior: 'QOpenGLWindow.UpdateBehavior' = ..., parent: typing.Optional[QWindow] = ...) -> None: ... + @typing.overload + def __init__(self, shareContext: QOpenGLContext, updateBehavior: 'QOpenGLWindow.UpdateBehavior' = ..., parent: typing.Optional[QWindow] = ...) -> None: ... + + def metric(self, metric: QPaintDevice.PaintDeviceMetric) -> int: ... + def resizeEvent(self, event: QResizeEvent) -> None: ... + def paintEvent(self, event: QPaintEvent) -> None: ... + def paintOverGL(self) -> None: ... + def paintUnderGL(self) -> None: ... + def paintGL(self) -> None: ... + def resizeGL(self, w: int, h: int) -> None: ... + def initializeGL(self) -> None: ... + def frameSwapped(self) -> None: ... + def shareContext(self) -> QOpenGLContext: ... + def grabFramebuffer(self) -> QImage: ... + def defaultFramebufferObject(self) -> int: ... + def context(self) -> QOpenGLContext: ... + def doneCurrent(self) -> None: ... + def makeCurrent(self) -> None: ... + def isValid(self) -> bool: ... + def updateBehavior(self) -> 'QOpenGLWindow.UpdateBehavior': ... + + +class QPagedPaintDevice(QPaintDevice): + + class PdfVersion(int): + PdfVersion_1_4 = ... # type: QPagedPaintDevice.PdfVersion + PdfVersion_A1b = ... # type: QPagedPaintDevice.PdfVersion + PdfVersion_1_6 = ... # type: QPagedPaintDevice.PdfVersion + + class PageSize(int): + A4 = ... # type: QPagedPaintDevice.PageSize + B5 = ... # type: QPagedPaintDevice.PageSize + Letter = ... # type: QPagedPaintDevice.PageSize + Legal = ... # type: QPagedPaintDevice.PageSize + Executive = ... # type: QPagedPaintDevice.PageSize + A0 = ... # type: QPagedPaintDevice.PageSize + A1 = ... # type: QPagedPaintDevice.PageSize + A2 = ... # type: QPagedPaintDevice.PageSize + A3 = ... # type: QPagedPaintDevice.PageSize + A5 = ... # type: QPagedPaintDevice.PageSize + A6 = ... # type: QPagedPaintDevice.PageSize + A7 = ... # type: QPagedPaintDevice.PageSize + A8 = ... # type: QPagedPaintDevice.PageSize + A9 = ... # type: QPagedPaintDevice.PageSize + B0 = ... # type: QPagedPaintDevice.PageSize + B1 = ... # type: QPagedPaintDevice.PageSize + B10 = ... # type: QPagedPaintDevice.PageSize + B2 = ... # type: QPagedPaintDevice.PageSize + B3 = ... # type: QPagedPaintDevice.PageSize + B4 = ... # type: QPagedPaintDevice.PageSize + B6 = ... # type: QPagedPaintDevice.PageSize + B7 = ... # type: QPagedPaintDevice.PageSize + B8 = ... # type: QPagedPaintDevice.PageSize + B9 = ... # type: QPagedPaintDevice.PageSize + C5E = ... # type: QPagedPaintDevice.PageSize + Comm10E = ... # type: QPagedPaintDevice.PageSize + DLE = ... # type: QPagedPaintDevice.PageSize + Folio = ... # type: QPagedPaintDevice.PageSize + Ledger = ... # type: QPagedPaintDevice.PageSize + Tabloid = ... # type: QPagedPaintDevice.PageSize + Custom = ... # type: QPagedPaintDevice.PageSize + A10 = ... # type: QPagedPaintDevice.PageSize + A3Extra = ... # type: QPagedPaintDevice.PageSize + A4Extra = ... # type: QPagedPaintDevice.PageSize + A4Plus = ... # type: QPagedPaintDevice.PageSize + A4Small = ... # type: QPagedPaintDevice.PageSize + A5Extra = ... # type: QPagedPaintDevice.PageSize + B5Extra = ... # type: QPagedPaintDevice.PageSize + JisB0 = ... # type: QPagedPaintDevice.PageSize + JisB1 = ... # type: QPagedPaintDevice.PageSize + JisB2 = ... # type: QPagedPaintDevice.PageSize + JisB3 = ... # type: QPagedPaintDevice.PageSize + JisB4 = ... # type: QPagedPaintDevice.PageSize + JisB5 = ... # type: QPagedPaintDevice.PageSize + JisB6 = ... # type: QPagedPaintDevice.PageSize + JisB7 = ... # type: QPagedPaintDevice.PageSize + JisB8 = ... # type: QPagedPaintDevice.PageSize + JisB9 = ... # type: QPagedPaintDevice.PageSize + JisB10 = ... # type: QPagedPaintDevice.PageSize + AnsiC = ... # type: QPagedPaintDevice.PageSize + AnsiD = ... # type: QPagedPaintDevice.PageSize + AnsiE = ... # type: QPagedPaintDevice.PageSize + LegalExtra = ... # type: QPagedPaintDevice.PageSize + LetterExtra = ... # type: QPagedPaintDevice.PageSize + LetterPlus = ... # type: QPagedPaintDevice.PageSize + LetterSmall = ... # type: QPagedPaintDevice.PageSize + TabloidExtra = ... # type: QPagedPaintDevice.PageSize + ArchA = ... # type: QPagedPaintDevice.PageSize + ArchB = ... # type: QPagedPaintDevice.PageSize + ArchC = ... # type: QPagedPaintDevice.PageSize + ArchD = ... # type: QPagedPaintDevice.PageSize + ArchE = ... # type: QPagedPaintDevice.PageSize + Imperial7x9 = ... # type: QPagedPaintDevice.PageSize + Imperial8x10 = ... # type: QPagedPaintDevice.PageSize + Imperial9x11 = ... # type: QPagedPaintDevice.PageSize + Imperial9x12 = ... # type: QPagedPaintDevice.PageSize + Imperial10x11 = ... # type: QPagedPaintDevice.PageSize + Imperial10x13 = ... # type: QPagedPaintDevice.PageSize + Imperial10x14 = ... # type: QPagedPaintDevice.PageSize + Imperial12x11 = ... # type: QPagedPaintDevice.PageSize + Imperial15x11 = ... # type: QPagedPaintDevice.PageSize + ExecutiveStandard = ... # type: QPagedPaintDevice.PageSize + Note = ... # type: QPagedPaintDevice.PageSize + Quarto = ... # type: QPagedPaintDevice.PageSize + Statement = ... # type: QPagedPaintDevice.PageSize + SuperA = ... # type: QPagedPaintDevice.PageSize + SuperB = ... # type: QPagedPaintDevice.PageSize + Postcard = ... # type: QPagedPaintDevice.PageSize + DoublePostcard = ... # type: QPagedPaintDevice.PageSize + Prc16K = ... # type: QPagedPaintDevice.PageSize + Prc32K = ... # type: QPagedPaintDevice.PageSize + Prc32KBig = ... # type: QPagedPaintDevice.PageSize + FanFoldUS = ... # type: QPagedPaintDevice.PageSize + FanFoldGerman = ... # type: QPagedPaintDevice.PageSize + FanFoldGermanLegal = ... # type: QPagedPaintDevice.PageSize + EnvelopeB4 = ... # type: QPagedPaintDevice.PageSize + EnvelopeB5 = ... # type: QPagedPaintDevice.PageSize + EnvelopeB6 = ... # type: QPagedPaintDevice.PageSize + EnvelopeC0 = ... # type: QPagedPaintDevice.PageSize + EnvelopeC1 = ... # type: QPagedPaintDevice.PageSize + EnvelopeC2 = ... # type: QPagedPaintDevice.PageSize + EnvelopeC3 = ... # type: QPagedPaintDevice.PageSize + EnvelopeC4 = ... # type: QPagedPaintDevice.PageSize + EnvelopeC6 = ... # type: QPagedPaintDevice.PageSize + EnvelopeC65 = ... # type: QPagedPaintDevice.PageSize + EnvelopeC7 = ... # type: QPagedPaintDevice.PageSize + Envelope9 = ... # type: QPagedPaintDevice.PageSize + Envelope11 = ... # type: QPagedPaintDevice.PageSize + Envelope12 = ... # type: QPagedPaintDevice.PageSize + Envelope14 = ... # type: QPagedPaintDevice.PageSize + EnvelopeMonarch = ... # type: QPagedPaintDevice.PageSize + EnvelopePersonal = ... # type: QPagedPaintDevice.PageSize + EnvelopeChou3 = ... # type: QPagedPaintDevice.PageSize + EnvelopeChou4 = ... # type: QPagedPaintDevice.PageSize + EnvelopeInvite = ... # type: QPagedPaintDevice.PageSize + EnvelopeItalian = ... # type: QPagedPaintDevice.PageSize + EnvelopeKaku2 = ... # type: QPagedPaintDevice.PageSize + EnvelopeKaku3 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc1 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc2 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc3 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc4 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc5 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc6 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc7 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc8 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc9 = ... # type: QPagedPaintDevice.PageSize + EnvelopePrc10 = ... # type: QPagedPaintDevice.PageSize + EnvelopeYou4 = ... # type: QPagedPaintDevice.PageSize + NPaperSize = ... # type: QPagedPaintDevice.PageSize + AnsiA = ... # type: QPagedPaintDevice.PageSize + AnsiB = ... # type: QPagedPaintDevice.PageSize + EnvelopeC5 = ... # type: QPagedPaintDevice.PageSize + EnvelopeDL = ... # type: QPagedPaintDevice.PageSize + Envelope10 = ... # type: QPagedPaintDevice.PageSize + LastPageSize = ... # type: QPagedPaintDevice.PageSize + + class Margins(sip.simplewrapper): + + bottom = ... # type: float + left = ... # type: float + right = ... # type: float + top = ... # type: float + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QPagedPaintDevice.Margins') -> None: ... + + def __init__(self) -> None: ... + + def pageLayout(self) -> 'QPageLayout': ... + @typing.overload + def setPageMargins(self, margins: QtCore.QMarginsF) -> bool: ... + @typing.overload + def setPageMargins(self, margins: QtCore.QMarginsF, units: 'QPageLayout.Unit') -> bool: ... + def setPageOrientation(self, orientation: 'QPageLayout.Orientation') -> bool: ... + def setPageLayout(self, pageLayout: 'QPageLayout') -> bool: ... + def margins(self) -> 'QPagedPaintDevice.Margins': ... + def setMargins(self, margins: 'QPagedPaintDevice.Margins') -> None: ... + def pageSizeMM(self) -> QtCore.QSizeF: ... + def setPageSizeMM(self, size: QtCore.QSizeF) -> None: ... + def pageSize(self) -> 'QPagedPaintDevice.PageSize': ... + @typing.overload + def setPageSize(self, size: 'QPagedPaintDevice.PageSize') -> None: ... + @typing.overload + def setPageSize(self, pageSize: 'QPageSize') -> bool: ... + def newPage(self) -> bool: ... + + +class QPageLayout(sip.simplewrapper): + + class Mode(int): + StandardMode = ... # type: QPageLayout.Mode + FullPageMode = ... # type: QPageLayout.Mode + + class Orientation(int): + Portrait = ... # type: QPageLayout.Orientation + Landscape = ... # type: QPageLayout.Orientation + + class Unit(int): + Millimeter = ... # type: QPageLayout.Unit + Point = ... # type: QPageLayout.Unit + Inch = ... # type: QPageLayout.Unit + Pica = ... # type: QPageLayout.Unit + Didot = ... # type: QPageLayout.Unit + Cicero = ... # type: QPageLayout.Unit + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pageSize: 'QPageSize', orientation: 'QPageLayout.Orientation', margins: QtCore.QMarginsF, units: 'QPageLayout.Unit' = ..., minMargins: QtCore.QMarginsF = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QPageLayout') -> None: ... + + def paintRectPixels(self, resolution: int) -> QtCore.QRect: ... + def paintRectPoints(self) -> QtCore.QRect: ... + @typing.overload + def paintRect(self) -> QtCore.QRectF: ... + @typing.overload + def paintRect(self, units: 'QPageLayout.Unit') -> QtCore.QRectF: ... + def fullRectPixels(self, resolution: int) -> QtCore.QRect: ... + def fullRectPoints(self) -> QtCore.QRect: ... + @typing.overload + def fullRect(self) -> QtCore.QRectF: ... + @typing.overload + def fullRect(self, units: 'QPageLayout.Unit') -> QtCore.QRectF: ... + def maximumMargins(self) -> QtCore.QMarginsF: ... + def minimumMargins(self) -> QtCore.QMarginsF: ... + def setMinimumMargins(self, minMargins: QtCore.QMarginsF) -> None: ... + def marginsPixels(self, resolution: int) -> QtCore.QMargins: ... + def marginsPoints(self) -> QtCore.QMargins: ... + @typing.overload + def margins(self) -> QtCore.QMarginsF: ... + @typing.overload + def margins(self, units: 'QPageLayout.Unit') -> QtCore.QMarginsF: ... + def setBottomMargin(self, bottomMargin: float) -> bool: ... + def setTopMargin(self, topMargin: float) -> bool: ... + def setRightMargin(self, rightMargin: float) -> bool: ... + def setLeftMargin(self, leftMargin: float) -> bool: ... + def setMargins(self, margins: QtCore.QMarginsF) -> bool: ... + def units(self) -> 'QPageLayout.Unit': ... + def setUnits(self, units: 'QPageLayout.Unit') -> None: ... + def orientation(self) -> 'QPageLayout.Orientation': ... + def setOrientation(self, orientation: 'QPageLayout.Orientation') -> None: ... + def pageSize(self) -> 'QPageSize': ... + def setPageSize(self, pageSize: 'QPageSize', minMargins: QtCore.QMarginsF = ...) -> None: ... + def mode(self) -> 'QPageLayout.Mode': ... + def setMode(self, mode: 'QPageLayout.Mode') -> None: ... + def isValid(self) -> bool: ... + def isEquivalentTo(self, other: 'QPageLayout') -> bool: ... + def swap(self, other: 'QPageLayout') -> None: ... + + +class QPageSize(sip.simplewrapper): + + class SizeMatchPolicy(int): + FuzzyMatch = ... # type: QPageSize.SizeMatchPolicy + FuzzyOrientationMatch = ... # type: QPageSize.SizeMatchPolicy + ExactMatch = ... # type: QPageSize.SizeMatchPolicy + + class Unit(int): + Millimeter = ... # type: QPageSize.Unit + Point = ... # type: QPageSize.Unit + Inch = ... # type: QPageSize.Unit + Pica = ... # type: QPageSize.Unit + Didot = ... # type: QPageSize.Unit + Cicero = ... # type: QPageSize.Unit + + class PageSizeId(int): + A4 = ... # type: QPageSize.PageSizeId + B5 = ... # type: QPageSize.PageSizeId + Letter = ... # type: QPageSize.PageSizeId + Legal = ... # type: QPageSize.PageSizeId + Executive = ... # type: QPageSize.PageSizeId + A0 = ... # type: QPageSize.PageSizeId + A1 = ... # type: QPageSize.PageSizeId + A2 = ... # type: QPageSize.PageSizeId + A3 = ... # type: QPageSize.PageSizeId + A5 = ... # type: QPageSize.PageSizeId + A6 = ... # type: QPageSize.PageSizeId + A7 = ... # type: QPageSize.PageSizeId + A8 = ... # type: QPageSize.PageSizeId + A9 = ... # type: QPageSize.PageSizeId + B0 = ... # type: QPageSize.PageSizeId + B1 = ... # type: QPageSize.PageSizeId + B10 = ... # type: QPageSize.PageSizeId + B2 = ... # type: QPageSize.PageSizeId + B3 = ... # type: QPageSize.PageSizeId + B4 = ... # type: QPageSize.PageSizeId + B6 = ... # type: QPageSize.PageSizeId + B7 = ... # type: QPageSize.PageSizeId + B8 = ... # type: QPageSize.PageSizeId + B9 = ... # type: QPageSize.PageSizeId + C5E = ... # type: QPageSize.PageSizeId + Comm10E = ... # type: QPageSize.PageSizeId + DLE = ... # type: QPageSize.PageSizeId + Folio = ... # type: QPageSize.PageSizeId + Ledger = ... # type: QPageSize.PageSizeId + Tabloid = ... # type: QPageSize.PageSizeId + Custom = ... # type: QPageSize.PageSizeId + A10 = ... # type: QPageSize.PageSizeId + A3Extra = ... # type: QPageSize.PageSizeId + A4Extra = ... # type: QPageSize.PageSizeId + A4Plus = ... # type: QPageSize.PageSizeId + A4Small = ... # type: QPageSize.PageSizeId + A5Extra = ... # type: QPageSize.PageSizeId + B5Extra = ... # type: QPageSize.PageSizeId + JisB0 = ... # type: QPageSize.PageSizeId + JisB1 = ... # type: QPageSize.PageSizeId + JisB2 = ... # type: QPageSize.PageSizeId + JisB3 = ... # type: QPageSize.PageSizeId + JisB4 = ... # type: QPageSize.PageSizeId + JisB5 = ... # type: QPageSize.PageSizeId + JisB6 = ... # type: QPageSize.PageSizeId + JisB7 = ... # type: QPageSize.PageSizeId + JisB8 = ... # type: QPageSize.PageSizeId + JisB9 = ... # type: QPageSize.PageSizeId + JisB10 = ... # type: QPageSize.PageSizeId + AnsiC = ... # type: QPageSize.PageSizeId + AnsiD = ... # type: QPageSize.PageSizeId + AnsiE = ... # type: QPageSize.PageSizeId + LegalExtra = ... # type: QPageSize.PageSizeId + LetterExtra = ... # type: QPageSize.PageSizeId + LetterPlus = ... # type: QPageSize.PageSizeId + LetterSmall = ... # type: QPageSize.PageSizeId + TabloidExtra = ... # type: QPageSize.PageSizeId + ArchA = ... # type: QPageSize.PageSizeId + ArchB = ... # type: QPageSize.PageSizeId + ArchC = ... # type: QPageSize.PageSizeId + ArchD = ... # type: QPageSize.PageSizeId + ArchE = ... # type: QPageSize.PageSizeId + Imperial7x9 = ... # type: QPageSize.PageSizeId + Imperial8x10 = ... # type: QPageSize.PageSizeId + Imperial9x11 = ... # type: QPageSize.PageSizeId + Imperial9x12 = ... # type: QPageSize.PageSizeId + Imperial10x11 = ... # type: QPageSize.PageSizeId + Imperial10x13 = ... # type: QPageSize.PageSizeId + Imperial10x14 = ... # type: QPageSize.PageSizeId + Imperial12x11 = ... # type: QPageSize.PageSizeId + Imperial15x11 = ... # type: QPageSize.PageSizeId + ExecutiveStandard = ... # type: QPageSize.PageSizeId + Note = ... # type: QPageSize.PageSizeId + Quarto = ... # type: QPageSize.PageSizeId + Statement = ... # type: QPageSize.PageSizeId + SuperA = ... # type: QPageSize.PageSizeId + SuperB = ... # type: QPageSize.PageSizeId + Postcard = ... # type: QPageSize.PageSizeId + DoublePostcard = ... # type: QPageSize.PageSizeId + Prc16K = ... # type: QPageSize.PageSizeId + Prc32K = ... # type: QPageSize.PageSizeId + Prc32KBig = ... # type: QPageSize.PageSizeId + FanFoldUS = ... # type: QPageSize.PageSizeId + FanFoldGerman = ... # type: QPageSize.PageSizeId + FanFoldGermanLegal = ... # type: QPageSize.PageSizeId + EnvelopeB4 = ... # type: QPageSize.PageSizeId + EnvelopeB5 = ... # type: QPageSize.PageSizeId + EnvelopeB6 = ... # type: QPageSize.PageSizeId + EnvelopeC0 = ... # type: QPageSize.PageSizeId + EnvelopeC1 = ... # type: QPageSize.PageSizeId + EnvelopeC2 = ... # type: QPageSize.PageSizeId + EnvelopeC3 = ... # type: QPageSize.PageSizeId + EnvelopeC4 = ... # type: QPageSize.PageSizeId + EnvelopeC6 = ... # type: QPageSize.PageSizeId + EnvelopeC65 = ... # type: QPageSize.PageSizeId + EnvelopeC7 = ... # type: QPageSize.PageSizeId + Envelope9 = ... # type: QPageSize.PageSizeId + Envelope11 = ... # type: QPageSize.PageSizeId + Envelope12 = ... # type: QPageSize.PageSizeId + Envelope14 = ... # type: QPageSize.PageSizeId + EnvelopeMonarch = ... # type: QPageSize.PageSizeId + EnvelopePersonal = ... # type: QPageSize.PageSizeId + EnvelopeChou3 = ... # type: QPageSize.PageSizeId + EnvelopeChou4 = ... # type: QPageSize.PageSizeId + EnvelopeInvite = ... # type: QPageSize.PageSizeId + EnvelopeItalian = ... # type: QPageSize.PageSizeId + EnvelopeKaku2 = ... # type: QPageSize.PageSizeId + EnvelopeKaku3 = ... # type: QPageSize.PageSizeId + EnvelopePrc1 = ... # type: QPageSize.PageSizeId + EnvelopePrc2 = ... # type: QPageSize.PageSizeId + EnvelopePrc3 = ... # type: QPageSize.PageSizeId + EnvelopePrc4 = ... # type: QPageSize.PageSizeId + EnvelopePrc5 = ... # type: QPageSize.PageSizeId + EnvelopePrc6 = ... # type: QPageSize.PageSizeId + EnvelopePrc7 = ... # type: QPageSize.PageSizeId + EnvelopePrc8 = ... # type: QPageSize.PageSizeId + EnvelopePrc9 = ... # type: QPageSize.PageSizeId + EnvelopePrc10 = ... # type: QPageSize.PageSizeId + EnvelopeYou4 = ... # type: QPageSize.PageSizeId + NPageSize = ... # type: QPageSize.PageSizeId + NPaperSize = ... # type: QPageSize.PageSizeId + AnsiA = ... # type: QPageSize.PageSizeId + AnsiB = ... # type: QPageSize.PageSizeId + EnvelopeC5 = ... # type: QPageSize.PageSizeId + EnvelopeDL = ... # type: QPageSize.PageSizeId + Envelope10 = ... # type: QPageSize.PageSizeId + LastPageSize = ... # type: QPageSize.PageSizeId + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pageSizeId: 'QPageSize.PageSizeId') -> None: ... + @typing.overload + def __init__(self, pointSize: QtCore.QSize, name: str = ..., matchPolicy: 'QPageSize.SizeMatchPolicy' = ...) -> None: ... + @typing.overload + def __init__(self, size: QtCore.QSizeF, units: 'QPageSize.Unit', name: str = ..., matchPolicy: 'QPageSize.SizeMatchPolicy' = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QPageSize') -> None: ... + + def rectPixels(self, resolution: int) -> QtCore.QRect: ... + def rectPoints(self) -> QtCore.QRect: ... + def rect(self, units: 'QPageSize.Unit') -> QtCore.QRectF: ... + @typing.overload + def sizePixels(self, resolution: int) -> QtCore.QSize: ... + @typing.overload + @staticmethod + def sizePixels(pageSizeId: 'QPageSize.PageSizeId', resolution: int) -> QtCore.QSize: ... + @typing.overload + def sizePoints(self) -> QtCore.QSize: ... + @typing.overload + @staticmethod + def sizePoints(pageSizeId: 'QPageSize.PageSizeId') -> QtCore.QSize: ... + @typing.overload + def size(self, units: 'QPageSize.Unit') -> QtCore.QSizeF: ... + @typing.overload + @staticmethod + def size(pageSizeId: 'QPageSize.PageSizeId', units: 'QPageSize.Unit') -> QtCore.QSizeF: ... + @typing.overload + def definitionUnits(self) -> 'QPageSize.Unit': ... + @typing.overload + @staticmethod + def definitionUnits(pageSizeId: 'QPageSize.PageSizeId') -> 'QPageSize.Unit': ... + @typing.overload + def definitionSize(self) -> QtCore.QSizeF: ... + @typing.overload + @staticmethod + def definitionSize(pageSizeId: 'QPageSize.PageSizeId') -> QtCore.QSizeF: ... + @typing.overload + def windowsId(self) -> int: ... + @typing.overload + @staticmethod + def windowsId(pageSizeId: 'QPageSize.PageSizeId') -> int: ... + @typing.overload + def id(self) -> 'QPageSize.PageSizeId': ... + @typing.overload + @staticmethod + def id(pointSize: QtCore.QSize, matchPolicy: 'QPageSize.SizeMatchPolicy' = ...) -> 'QPageSize.PageSizeId': ... + @typing.overload + @staticmethod + def id(size: QtCore.QSizeF, units: 'QPageSize.Unit', matchPolicy: 'QPageSize.SizeMatchPolicy' = ...) -> 'QPageSize.PageSizeId': ... + @typing.overload + @staticmethod + def id(windowsId: int) -> 'QPageSize.PageSizeId': ... + @typing.overload + def name(self) -> str: ... + @typing.overload + @staticmethod + def name(pageSizeId: 'QPageSize.PageSizeId') -> str: ... + @typing.overload + def key(self) -> str: ... + @typing.overload + @staticmethod + def key(pageSizeId: 'QPageSize.PageSizeId') -> str: ... + def isValid(self) -> bool: ... + def isEquivalentTo(self, other: 'QPageSize') -> bool: ... + def swap(self, other: 'QPageSize') -> None: ... + + +class QPainter(sip.simplewrapper): + + class PixmapFragmentHint(int): + OpaqueHint = ... # type: QPainter.PixmapFragmentHint + + class CompositionMode(int): + CompositionMode_SourceOver = ... # type: QPainter.CompositionMode + CompositionMode_DestinationOver = ... # type: QPainter.CompositionMode + CompositionMode_Clear = ... # type: QPainter.CompositionMode + CompositionMode_Source = ... # type: QPainter.CompositionMode + CompositionMode_Destination = ... # type: QPainter.CompositionMode + CompositionMode_SourceIn = ... # type: QPainter.CompositionMode + CompositionMode_DestinationIn = ... # type: QPainter.CompositionMode + CompositionMode_SourceOut = ... # type: QPainter.CompositionMode + CompositionMode_DestinationOut = ... # type: QPainter.CompositionMode + CompositionMode_SourceAtop = ... # type: QPainter.CompositionMode + CompositionMode_DestinationAtop = ... # type: QPainter.CompositionMode + CompositionMode_Xor = ... # type: QPainter.CompositionMode + CompositionMode_Plus = ... # type: QPainter.CompositionMode + CompositionMode_Multiply = ... # type: QPainter.CompositionMode + CompositionMode_Screen = ... # type: QPainter.CompositionMode + CompositionMode_Overlay = ... # type: QPainter.CompositionMode + CompositionMode_Darken = ... # type: QPainter.CompositionMode + CompositionMode_Lighten = ... # type: QPainter.CompositionMode + CompositionMode_ColorDodge = ... # type: QPainter.CompositionMode + CompositionMode_ColorBurn = ... # type: QPainter.CompositionMode + CompositionMode_HardLight = ... # type: QPainter.CompositionMode + CompositionMode_SoftLight = ... # type: QPainter.CompositionMode + CompositionMode_Difference = ... # type: QPainter.CompositionMode + CompositionMode_Exclusion = ... # type: QPainter.CompositionMode + RasterOp_SourceOrDestination = ... # type: QPainter.CompositionMode + RasterOp_SourceAndDestination = ... # type: QPainter.CompositionMode + RasterOp_SourceXorDestination = ... # type: QPainter.CompositionMode + RasterOp_NotSourceAndNotDestination = ... # type: QPainter.CompositionMode + RasterOp_NotSourceOrNotDestination = ... # type: QPainter.CompositionMode + RasterOp_NotSourceXorDestination = ... # type: QPainter.CompositionMode + RasterOp_NotSource = ... # type: QPainter.CompositionMode + RasterOp_NotSourceAndDestination = ... # type: QPainter.CompositionMode + RasterOp_SourceAndNotDestination = ... # type: QPainter.CompositionMode + RasterOp_NotSourceOrDestination = ... # type: QPainter.CompositionMode + RasterOp_SourceOrNotDestination = ... # type: QPainter.CompositionMode + RasterOp_ClearDestination = ... # type: QPainter.CompositionMode + RasterOp_SetDestination = ... # type: QPainter.CompositionMode + RasterOp_NotDestination = ... # type: QPainter.CompositionMode + + class RenderHint(int): + Antialiasing = ... # type: QPainter.RenderHint + TextAntialiasing = ... # type: QPainter.RenderHint + SmoothPixmapTransform = ... # type: QPainter.RenderHint + HighQualityAntialiasing = ... # type: QPainter.RenderHint + NonCosmeticDefaultPen = ... # type: QPainter.RenderHint + Qt4CompatiblePainting = ... # type: QPainter.RenderHint + LosslessImageRendering = ... # type: QPainter.RenderHint + + class RenderHints(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QPainter.RenderHints', 'QPainter.RenderHint']) -> None: ... + @typing.overload + def __init__(self, a0: 'QPainter.RenderHints') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QPainter.RenderHints': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class PixmapFragment(sip.simplewrapper): + + height = ... # type: float + opacity = ... # type: float + rotation = ... # type: float + scaleX = ... # type: float + scaleY = ... # type: float + sourceLeft = ... # type: float + sourceTop = ... # type: float + width = ... # type: float + x = ... # type: float + y = ... # type: float + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QPainter.PixmapFragment') -> None: ... + + @staticmethod + def create(pos: typing.Union[QtCore.QPointF, QtCore.QPoint], sourceRect: QtCore.QRectF, scaleX: float = ..., scaleY: float = ..., rotation: float = ..., opacity: float = ...) -> 'QPainter.PixmapFragment': ... + + class PixmapFragmentHints(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QPainter.PixmapFragmentHints', 'QPainter.PixmapFragmentHint']) -> None: ... + @typing.overload + def __init__(self, a0: 'QPainter.PixmapFragmentHints') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QPainter.PixmapFragmentHints': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: QPaintDevice) -> None: ... + + def drawGlyphRun(self, position: typing.Union[QtCore.QPointF, QtCore.QPoint], glyphRun: QGlyphRun) -> None: ... + def clipBoundingRect(self) -> QtCore.QRectF: ... + @typing.overload + def drawStaticText(self, topLeftPosition: typing.Union[QtCore.QPointF, QtCore.QPoint], staticText: 'QStaticText') -> None: ... + @typing.overload + def drawStaticText(self, p: QtCore.QPoint, staticText: 'QStaticText') -> None: ... + @typing.overload + def drawStaticText(self, x: int, y: int, staticText: 'QStaticText') -> None: ... + def drawPixmapFragments(self, fragments: typing.List['QPainter.PixmapFragment'], pixmap: QPixmap, hints: 'QPainter.PixmapFragmentHints' = ...) -> None: ... + def endNativePainting(self) -> None: ... + def beginNativePainting(self) -> None: ... + @typing.overload + def drawRoundedRect(self, rect: QtCore.QRectF, xRadius: float, yRadius: float, mode: QtCore.Qt.SizeMode = ...) -> None: ... + @typing.overload + def drawRoundedRect(self, x: int, y: int, w: int, h: int, xRadius: float, yRadius: float, mode: QtCore.Qt.SizeMode = ...) -> None: ... + @typing.overload + def drawRoundedRect(self, rect: QtCore.QRect, xRadius: float, yRadius: float, mode: QtCore.Qt.SizeMode = ...) -> None: ... + def testRenderHint(self, hint: 'QPainter.RenderHint') -> bool: ... + def combinedTransform(self) -> 'QTransform': ... + def worldTransform(self) -> 'QTransform': ... + def setWorldTransform(self, matrix: 'QTransform', combine: bool = ...) -> None: ... + def resetTransform(self) -> None: ... + def deviceTransform(self) -> 'QTransform': ... + def transform(self) -> 'QTransform': ... + def setTransform(self, transform: 'QTransform', combine: bool = ...) -> None: ... + def setWorldMatrixEnabled(self, enabled: bool) -> None: ... + def worldMatrixEnabled(self) -> bool: ... + def setOpacity(self, opacity: float) -> None: ... + def opacity(self) -> float: ... + @typing.overload + def drawImage(self, r: QtCore.QRectF, image: QImage) -> None: ... + @typing.overload + def drawImage(self, r: QtCore.QRect, image: QImage) -> None: ... + @typing.overload + def drawImage(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint], image: QImage) -> None: ... + @typing.overload + def drawImage(self, p: QtCore.QPoint, image: QImage) -> None: ... + @typing.overload + def drawImage(self, x: int, y: int, image: QImage, sx: int = ..., sy: int = ..., sw: int = ..., sh: int = ..., flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> None: ... + @typing.overload + def drawImage(self, targetRect: QtCore.QRectF, image: QImage, sourceRect: QtCore.QRectF, flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> None: ... + @typing.overload + def drawImage(self, targetRect: QtCore.QRect, image: QImage, sourceRect: QtCore.QRect, flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> None: ... + @typing.overload + def drawImage(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint], image: QImage, sr: QtCore.QRectF, flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> None: ... + @typing.overload + def drawImage(self, p: QtCore.QPoint, image: QImage, sr: QtCore.QRect, flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> None: ... + @typing.overload + def drawPoint(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def drawPoint(self, x: int, y: int) -> None: ... + @typing.overload + def drawPoint(self, p: QtCore.QPoint) -> None: ... + @typing.overload + def drawRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def drawRect(self, x: int, y: int, w: int, h: int) -> None: ... + @typing.overload + def drawRect(self, r: QtCore.QRect) -> None: ... + @typing.overload + def drawLine(self, l: QtCore.QLineF) -> None: ... + @typing.overload + def drawLine(self, line: QtCore.QLine) -> None: ... + @typing.overload + def drawLine(self, x1: int, y1: int, x2: int, y2: int) -> None: ... + @typing.overload + def drawLine(self, p1: QtCore.QPoint, p2: QtCore.QPoint) -> None: ... + @typing.overload + def drawLine(self, p1: typing.Union[QtCore.QPointF, QtCore.QPoint], p2: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def paintEngine(self) -> 'QPaintEngine': ... + def setRenderHints(self, hints: typing.Union['QPainter.RenderHints', 'QPainter.RenderHint'], on: bool = ...) -> None: ... + def renderHints(self) -> 'QPainter.RenderHints': ... + def setRenderHint(self, hint: 'QPainter.RenderHint', on: bool = ...) -> None: ... + @typing.overload + def eraseRect(self, a0: QtCore.QRectF) -> None: ... + @typing.overload + def eraseRect(self, rect: QtCore.QRect) -> None: ... + @typing.overload + def eraseRect(self, x: int, y: int, w: int, h: int) -> None: ... + @typing.overload + def fillRect(self, a0: QtCore.QRectF, a1: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def fillRect(self, a0: QtCore.QRect, a1: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def fillRect(self, x: int, y: int, w: int, h: int, b: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def fillRect(self, a0: QtCore.QRectF, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def fillRect(self, a0: QtCore.QRect, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def fillRect(self, x: int, y: int, w: int, h: int, b: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def fillRect(self, x: int, y: int, w: int, h: int, c: QtCore.Qt.GlobalColor) -> None: ... + @typing.overload + def fillRect(self, r: QtCore.QRect, c: QtCore.Qt.GlobalColor) -> None: ... + @typing.overload + def fillRect(self, r: QtCore.QRectF, c: QtCore.Qt.GlobalColor) -> None: ... + @typing.overload + def fillRect(self, x: int, y: int, w: int, h: int, style: QtCore.Qt.BrushStyle) -> None: ... + @typing.overload + def fillRect(self, r: QtCore.QRect, style: QtCore.Qt.BrushStyle) -> None: ... + @typing.overload + def fillRect(self, r: QtCore.QRectF, style: QtCore.Qt.BrushStyle) -> None: ... + @typing.overload + def fillRect(self, x: int, y: int, w: int, h: int, preset: QGradient.Preset) -> None: ... + @typing.overload + def fillRect(self, r: QtCore.QRect, preset: QGradient.Preset) -> None: ... + @typing.overload + def fillRect(self, r: QtCore.QRectF, preset: QGradient.Preset) -> None: ... + @typing.overload + def boundingRect(self, rect: QtCore.QRectF, flags: int, text: str) -> QtCore.QRectF: ... + @typing.overload + def boundingRect(self, rect: QtCore.QRect, flags: int, text: str) -> QtCore.QRect: ... + @typing.overload + def boundingRect(self, rectangle: QtCore.QRectF, text: str, option: 'QTextOption' = ...) -> QtCore.QRectF: ... + @typing.overload + def boundingRect(self, x: int, y: int, w: int, h: int, flags: int, text: str) -> QtCore.QRect: ... + @typing.overload + def drawText(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint], s: str) -> None: ... + @typing.overload + def drawText(self, rectangle: QtCore.QRectF, flags: int, text: str) -> QtCore.QRectF: ... + @typing.overload + def drawText(self, rectangle: QtCore.QRect, flags: int, text: str) -> QtCore.QRect: ... + @typing.overload + def drawText(self, rectangle: QtCore.QRectF, text: str, option: 'QTextOption' = ...) -> None: ... + @typing.overload + def drawText(self, p: QtCore.QPoint, s: str) -> None: ... + @typing.overload + def drawText(self, x: int, y: int, width: int, height: int, flags: int, text: str) -> QtCore.QRect: ... + @typing.overload + def drawText(self, x: int, y: int, s: str) -> None: ... + def layoutDirection(self) -> QtCore.Qt.LayoutDirection: ... + def setLayoutDirection(self, direction: QtCore.Qt.LayoutDirection) -> None: ... + @typing.overload + def drawPixmap(self, targetRect: QtCore.QRectF, pixmap: QPixmap, sourceRect: QtCore.QRectF) -> None: ... + @typing.overload + def drawPixmap(self, targetRect: QtCore.QRect, pixmap: QPixmap, sourceRect: QtCore.QRect) -> None: ... + @typing.overload + def drawPixmap(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint], pm: QPixmap) -> None: ... + @typing.overload + def drawPixmap(self, p: QtCore.QPoint, pm: QPixmap) -> None: ... + @typing.overload + def drawPixmap(self, r: QtCore.QRect, pm: QPixmap) -> None: ... + @typing.overload + def drawPixmap(self, x: int, y: int, pm: QPixmap) -> None: ... + @typing.overload + def drawPixmap(self, x: int, y: int, w: int, h: int, pm: QPixmap) -> None: ... + @typing.overload + def drawPixmap(self, x: int, y: int, w: int, h: int, pm: QPixmap, sx: int, sy: int, sw: int, sh: int) -> None: ... + @typing.overload + def drawPixmap(self, x: int, y: int, pm: QPixmap, sx: int, sy: int, sw: int, sh: int) -> None: ... + @typing.overload + def drawPixmap(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint], pm: QPixmap, sr: QtCore.QRectF) -> None: ... + @typing.overload + def drawPixmap(self, p: QtCore.QPoint, pm: QPixmap, sr: QtCore.QRect) -> None: ... + @typing.overload + def drawPicture(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint], picture: 'QPicture') -> None: ... + @typing.overload + def drawPicture(self, x: int, y: int, p: 'QPicture') -> None: ... + @typing.overload + def drawPicture(self, pt: QtCore.QPoint, p: 'QPicture') -> None: ... + @typing.overload + def drawTiledPixmap(self, rectangle: QtCore.QRectF, pixmap: QPixmap, pos: typing.Union[QtCore.QPointF, QtCore.QPoint] = ...) -> None: ... + @typing.overload + def drawTiledPixmap(self, rectangle: QtCore.QRect, pixmap: QPixmap, pos: QtCore.QPoint = ...) -> None: ... + @typing.overload + def drawTiledPixmap(self, x: int, y: int, width: int, height: int, pixmap: QPixmap, sx: int = ..., sy: int = ...) -> None: ... + @typing.overload + def drawChord(self, rect: QtCore.QRectF, a: int, alen: int) -> None: ... + @typing.overload + def drawChord(self, rect: QtCore.QRect, a: int, alen: int) -> None: ... + @typing.overload + def drawChord(self, x: int, y: int, w: int, h: int, a: int, alen: int) -> None: ... + @typing.overload + def drawPie(self, rect: QtCore.QRectF, a: int, alen: int) -> None: ... + @typing.overload + def drawPie(self, rect: QtCore.QRect, a: int, alen: int) -> None: ... + @typing.overload + def drawPie(self, x: int, y: int, w: int, h: int, a: int, alen: int) -> None: ... + @typing.overload + def drawArc(self, rect: QtCore.QRectF, a: int, alen: int) -> None: ... + @typing.overload + def drawArc(self, r: QtCore.QRect, a: int, alen: int) -> None: ... + @typing.overload + def drawArc(self, x: int, y: int, w: int, h: int, a: int, alen: int) -> None: ... + @typing.overload + def drawConvexPolygon(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], *a1) -> None: ... + @typing.overload + def drawConvexPolygon(self, poly: 'QPolygonF') -> None: ... + @typing.overload + def drawConvexPolygon(self, point: QtCore.QPoint, *a1) -> None: ... + @typing.overload + def drawConvexPolygon(self, poly: 'QPolygon') -> None: ... + @typing.overload + def drawPolygon(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], *a1) -> None: ... + @typing.overload + def drawPolygon(self, points: 'QPolygonF', fillRule: QtCore.Qt.FillRule = ...) -> None: ... + @typing.overload + def drawPolygon(self, point: QtCore.QPoint, *a1) -> None: ... + @typing.overload + def drawPolygon(self, points: 'QPolygon', fillRule: QtCore.Qt.FillRule = ...) -> None: ... + @typing.overload + def drawPolyline(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], *a1) -> None: ... + @typing.overload + def drawPolyline(self, polyline: 'QPolygonF') -> None: ... + @typing.overload + def drawPolyline(self, point: QtCore.QPoint, *a1) -> None: ... + @typing.overload + def drawPolyline(self, polyline: 'QPolygon') -> None: ... + @typing.overload + def drawEllipse(self, r: QtCore.QRectF) -> None: ... + @typing.overload + def drawEllipse(self, r: QtCore.QRect) -> None: ... + @typing.overload + def drawEllipse(self, x: int, y: int, w: int, h: int) -> None: ... + @typing.overload + def drawEllipse(self, center: typing.Union[QtCore.QPointF, QtCore.QPoint], rx: float, ry: float) -> None: ... + @typing.overload + def drawEllipse(self, center: QtCore.QPoint, rx: int, ry: int) -> None: ... + @typing.overload + def drawRects(self, rect: QtCore.QRectF, *a1) -> None: ... + @typing.overload + def drawRects(self, rects: typing.Iterable[QtCore.QRectF]) -> None: ... + @typing.overload + def drawRects(self, rect: QtCore.QRect, *a1) -> None: ... + @typing.overload + def drawRects(self, rects: typing.Iterable[QtCore.QRect]) -> None: ... + @typing.overload + def drawLines(self, line: QtCore.QLineF, *a1) -> None: ... + @typing.overload + def drawLines(self, lines: typing.Iterable[QtCore.QLineF]) -> None: ... + @typing.overload + def drawLines(self, pointPair: typing.Union[QtCore.QPointF, QtCore.QPoint], *a1) -> None: ... + @typing.overload + def drawLines(self, pointPairs: typing.Iterable[typing.Union[QtCore.QPointF, QtCore.QPoint]]) -> None: ... + @typing.overload + def drawLines(self, line: QtCore.QLine, *a1) -> None: ... + @typing.overload + def drawLines(self, lines: typing.Iterable[QtCore.QLine]) -> None: ... + @typing.overload + def drawLines(self, pointPair: QtCore.QPoint, *a1) -> None: ... + @typing.overload + def drawLines(self, pointPairs: typing.Iterable[QtCore.QPoint]) -> None: ... + @typing.overload + def drawPoints(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], *a1) -> None: ... + @typing.overload + def drawPoints(self, points: 'QPolygonF') -> None: ... + @typing.overload + def drawPoints(self, point: QtCore.QPoint, *a1) -> None: ... + @typing.overload + def drawPoints(self, points: 'QPolygon') -> None: ... + def drawPath(self, path: 'QPainterPath') -> None: ... + def fillPath(self, path: 'QPainterPath', brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def strokePath(self, path: 'QPainterPath', pen: typing.Union['QPen', QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def viewTransformEnabled(self) -> bool: ... + def setViewTransformEnabled(self, enable: bool) -> None: ... + @typing.overload + def setViewport(self, viewport: QtCore.QRect) -> None: ... + @typing.overload + def setViewport(self, x: int, y: int, w: int, h: int) -> None: ... + def viewport(self) -> QtCore.QRect: ... + @typing.overload + def setWindow(self, window: QtCore.QRect) -> None: ... + @typing.overload + def setWindow(self, x: int, y: int, w: int, h: int) -> None: ... + def window(self) -> QtCore.QRect: ... + @typing.overload + def translate(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def translate(self, dx: float, dy: float) -> None: ... + @typing.overload + def translate(self, offset: QtCore.QPoint) -> None: ... + def rotate(self, a: float) -> None: ... + def shear(self, sh: float, sv: float) -> None: ... + def scale(self, sx: float, sy: float) -> None: ... + def restore(self) -> None: ... + def save(self) -> None: ... + def hasClipping(self) -> bool: ... + def setClipping(self, enable: bool) -> None: ... + def setClipPath(self, path: 'QPainterPath', operation: QtCore.Qt.ClipOperation = ...) -> None: ... + def setClipRegion(self, region: 'QRegion', operation: QtCore.Qt.ClipOperation = ...) -> None: ... + @typing.overload + def setClipRect(self, rectangle: QtCore.QRectF, operation: QtCore.Qt.ClipOperation = ...) -> None: ... + @typing.overload + def setClipRect(self, x: int, y: int, width: int, height: int, operation: QtCore.Qt.ClipOperation = ...) -> None: ... + @typing.overload + def setClipRect(self, rectangle: QtCore.QRect, operation: QtCore.Qt.ClipOperation = ...) -> None: ... + def clipPath(self) -> 'QPainterPath': ... + def clipRegion(self) -> 'QRegion': ... + def background(self) -> QBrush: ... + def setBackground(self, bg: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setBrushOrigin(self, a0: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setBrushOrigin(self, x: int, y: int) -> None: ... + @typing.overload + def setBrushOrigin(self, p: QtCore.QPoint) -> None: ... + def brushOrigin(self) -> QtCore.QPoint: ... + def backgroundMode(self) -> QtCore.Qt.BGMode: ... + def setBackgroundMode(self, mode: QtCore.Qt.BGMode) -> None: ... + def brush(self) -> QBrush: ... + @typing.overload + def setBrush(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setBrush(self, style: QtCore.Qt.BrushStyle) -> None: ... + def pen(self) -> 'QPen': ... + @typing.overload + def setPen(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setPen(self, pen: typing.Union['QPen', QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setPen(self, style: QtCore.Qt.PenStyle) -> None: ... + def fontInfo(self) -> QFontInfo: ... + def fontMetrics(self) -> QFontMetrics: ... + def setFont(self, f: QFont) -> None: ... + def font(self) -> QFont: ... + def compositionMode(self) -> 'QPainter.CompositionMode': ... + def setCompositionMode(self, mode: 'QPainter.CompositionMode') -> None: ... + def isActive(self) -> bool: ... + def end(self) -> bool: ... + def begin(self, a0: QPaintDevice) -> bool: ... + def device(self) -> QPaintDevice: ... + def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ... + def __enter__(self) -> typing.Any: ... + + +class QTextItem(sip.simplewrapper): + + class RenderFlag(int): + RightToLeft = ... # type: QTextItem.RenderFlag + Overline = ... # type: QTextItem.RenderFlag + Underline = ... # type: QTextItem.RenderFlag + StrikeOut = ... # type: QTextItem.RenderFlag + + class RenderFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextItem.RenderFlags', 'QTextItem.RenderFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextItem.RenderFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextItem.RenderFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextItem') -> None: ... + + def font(self) -> QFont: ... + def text(self) -> str: ... + def renderFlags(self) -> 'QTextItem.RenderFlags': ... + def width(self) -> float: ... + def ascent(self) -> float: ... + def descent(self) -> float: ... + + +class QPaintEngine(sip.simplewrapper): + + class Type(int): + X11 = ... # type: QPaintEngine.Type + Windows = ... # type: QPaintEngine.Type + QuickDraw = ... # type: QPaintEngine.Type + CoreGraphics = ... # type: QPaintEngine.Type + MacPrinter = ... # type: QPaintEngine.Type + QWindowSystem = ... # type: QPaintEngine.Type + PostScript = ... # type: QPaintEngine.Type + OpenGL = ... # type: QPaintEngine.Type + Picture = ... # type: QPaintEngine.Type + SVG = ... # type: QPaintEngine.Type + Raster = ... # type: QPaintEngine.Type + Direct3D = ... # type: QPaintEngine.Type + Pdf = ... # type: QPaintEngine.Type + OpenVG = ... # type: QPaintEngine.Type + OpenGL2 = ... # type: QPaintEngine.Type + PaintBuffer = ... # type: QPaintEngine.Type + Blitter = ... # type: QPaintEngine.Type + Direct2D = ... # type: QPaintEngine.Type + User = ... # type: QPaintEngine.Type + MaxUser = ... # type: QPaintEngine.Type + + class PolygonDrawMode(int): + OddEvenMode = ... # type: QPaintEngine.PolygonDrawMode + WindingMode = ... # type: QPaintEngine.PolygonDrawMode + ConvexMode = ... # type: QPaintEngine.PolygonDrawMode + PolylineMode = ... # type: QPaintEngine.PolygonDrawMode + + class DirtyFlag(int): + DirtyPen = ... # type: QPaintEngine.DirtyFlag + DirtyBrush = ... # type: QPaintEngine.DirtyFlag + DirtyBrushOrigin = ... # type: QPaintEngine.DirtyFlag + DirtyFont = ... # type: QPaintEngine.DirtyFlag + DirtyBackground = ... # type: QPaintEngine.DirtyFlag + DirtyBackgroundMode = ... # type: QPaintEngine.DirtyFlag + DirtyTransform = ... # type: QPaintEngine.DirtyFlag + DirtyClipRegion = ... # type: QPaintEngine.DirtyFlag + DirtyClipPath = ... # type: QPaintEngine.DirtyFlag + DirtyHints = ... # type: QPaintEngine.DirtyFlag + DirtyCompositionMode = ... # type: QPaintEngine.DirtyFlag + DirtyClipEnabled = ... # type: QPaintEngine.DirtyFlag + DirtyOpacity = ... # type: QPaintEngine.DirtyFlag + AllDirty = ... # type: QPaintEngine.DirtyFlag + + class PaintEngineFeature(int): + PrimitiveTransform = ... # type: QPaintEngine.PaintEngineFeature + PatternTransform = ... # type: QPaintEngine.PaintEngineFeature + PixmapTransform = ... # type: QPaintEngine.PaintEngineFeature + PatternBrush = ... # type: QPaintEngine.PaintEngineFeature + LinearGradientFill = ... # type: QPaintEngine.PaintEngineFeature + RadialGradientFill = ... # type: QPaintEngine.PaintEngineFeature + ConicalGradientFill = ... # type: QPaintEngine.PaintEngineFeature + AlphaBlend = ... # type: QPaintEngine.PaintEngineFeature + PorterDuff = ... # type: QPaintEngine.PaintEngineFeature + PainterPaths = ... # type: QPaintEngine.PaintEngineFeature + Antialiasing = ... # type: QPaintEngine.PaintEngineFeature + BrushStroke = ... # type: QPaintEngine.PaintEngineFeature + ConstantOpacity = ... # type: QPaintEngine.PaintEngineFeature + MaskedBrush = ... # type: QPaintEngine.PaintEngineFeature + PaintOutsidePaintEvent = ... # type: QPaintEngine.PaintEngineFeature + PerspectiveTransform = ... # type: QPaintEngine.PaintEngineFeature + BlendModes = ... # type: QPaintEngine.PaintEngineFeature + ObjectBoundingModeGradients = ... # type: QPaintEngine.PaintEngineFeature + RasterOpModes = ... # type: QPaintEngine.PaintEngineFeature + AllFeatures = ... # type: QPaintEngine.PaintEngineFeature + + class PaintEngineFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QPaintEngine.PaintEngineFeatures', 'QPaintEngine.PaintEngineFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QPaintEngine.PaintEngineFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QPaintEngine.PaintEngineFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class DirtyFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QPaintEngine.DirtyFlags', 'QPaintEngine.DirtyFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QPaintEngine.DirtyFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QPaintEngine.DirtyFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, features: typing.Union['QPaintEngine.PaintEngineFeatures', 'QPaintEngine.PaintEngineFeature'] = ...) -> None: ... + + def hasFeature(self, feature: typing.Union['QPaintEngine.PaintEngineFeatures', 'QPaintEngine.PaintEngineFeature']) -> bool: ... + def painter(self) -> QPainter: ... + def type(self) -> 'QPaintEngine.Type': ... + def paintDevice(self) -> QPaintDevice: ... + def setPaintDevice(self, device: QPaintDevice) -> None: ... + def drawImage(self, r: QtCore.QRectF, pm: QImage, sr: QtCore.QRectF, flags: typing.Union[QtCore.Qt.ImageConversionFlags, QtCore.Qt.ImageConversionFlag] = ...) -> None: ... + def drawTiledPixmap(self, r: QtCore.QRectF, pixmap: QPixmap, s: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def drawTextItem(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint], textItem: QTextItem) -> None: ... + def drawPixmap(self, r: QtCore.QRectF, pm: QPixmap, sr: QtCore.QRectF) -> None: ... + @typing.overload + def drawPolygon(self, points: typing.Union[QtCore.QPointF, QtCore.QPoint], mode: 'QPaintEngine.PolygonDrawMode') -> None: ... + @typing.overload + def drawPolygon(self, points: QtCore.QPoint, mode: 'QPaintEngine.PolygonDrawMode') -> None: ... + @typing.overload + def drawPoints(self, points: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def drawPoints(self, points: QtCore.QPoint) -> None: ... + def drawPath(self, path: 'QPainterPath') -> None: ... + @typing.overload + def drawEllipse(self, r: QtCore.QRectF) -> None: ... + @typing.overload + def drawEllipse(self, r: QtCore.QRect) -> None: ... + @typing.overload + def drawLines(self, lines: QtCore.QLine) -> None: ... + @typing.overload + def drawLines(self, lines: QtCore.QLineF) -> None: ... + @typing.overload + def drawRects(self, rects: QtCore.QRect) -> None: ... + @typing.overload + def drawRects(self, rects: QtCore.QRectF) -> None: ... + def updateState(self, state: 'QPaintEngineState') -> None: ... + def end(self) -> bool: ... + def begin(self, pdev: QPaintDevice) -> bool: ... + def setActive(self, newState: bool) -> None: ... + def isActive(self) -> bool: ... + + +class QPaintEngineState(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QPaintEngineState') -> None: ... + + def penNeedsResolving(self) -> bool: ... + def brushNeedsResolving(self) -> bool: ... + def transform(self) -> 'QTransform': ... + def painter(self) -> QPainter: ... + def compositionMode(self) -> QPainter.CompositionMode: ... + def renderHints(self) -> QPainter.RenderHints: ... + def isClipEnabled(self) -> bool: ... + def clipPath(self) -> 'QPainterPath': ... + def clipRegion(self) -> 'QRegion': ... + def clipOperation(self) -> QtCore.Qt.ClipOperation: ... + def opacity(self) -> float: ... + def font(self) -> QFont: ... + def backgroundMode(self) -> QtCore.Qt.BGMode: ... + def backgroundBrush(self) -> QBrush: ... + def brushOrigin(self) -> QtCore.QPointF: ... + def brush(self) -> QBrush: ... + def pen(self) -> 'QPen': ... + def state(self) -> QPaintEngine.DirtyFlags: ... + + +class QPainterPath(sip.simplewrapper): + + class ElementType(int): + MoveToElement = ... # type: QPainterPath.ElementType + LineToElement = ... # type: QPainterPath.ElementType + CurveToElement = ... # type: QPainterPath.ElementType + CurveToDataElement = ... # type: QPainterPath.ElementType + + class Element(sip.simplewrapper): + + type = ... # type: 'QPainterPath.ElementType' + x = ... # type: float + y = ... # type: float + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QPainterPath.Element') -> None: ... + + def isCurveTo(self) -> bool: ... + def isLineTo(self) -> bool: ... + def isMoveTo(self) -> bool: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, startPoint: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, other: 'QPainterPath') -> None: ... + + def capacity(self) -> int: ... + def reserve(self, size: int) -> None: ... + def clear(self) -> None: ... + def swap(self, other: 'QPainterPath') -> None: ... + @typing.overload + def translated(self, dx: float, dy: float) -> 'QPainterPath': ... + @typing.overload + def translated(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> 'QPainterPath': ... + @typing.overload + def translate(self, dx: float, dy: float) -> None: ... + @typing.overload + def translate(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def simplified(self) -> 'QPainterPath': ... + @typing.overload + def addRoundedRect(self, rect: QtCore.QRectF, xRadius: float, yRadius: float, mode: QtCore.Qt.SizeMode = ...) -> None: ... + @typing.overload + def addRoundedRect(self, x: float, y: float, w: float, h: float, xRadius: float, yRadius: float, mode: QtCore.Qt.SizeMode = ...) -> None: ... + def subtracted(self, r: 'QPainterPath') -> 'QPainterPath': ... + def intersected(self, r: 'QPainterPath') -> 'QPainterPath': ... + def united(self, r: 'QPainterPath') -> 'QPainterPath': ... + def slopeAtPercent(self, t: float) -> float: ... + def angleAtPercent(self, t: float) -> float: ... + def pointAtPercent(self, t: float) -> QtCore.QPointF: ... + def percentAtLength(self, t: float) -> float: ... + def length(self) -> float: ... + def setElementPositionAt(self, i: int, x: float, y: float) -> None: ... + def elementAt(self, i: int) -> 'QPainterPath.Element': ... + def elementCount(self) -> int: ... + def isEmpty(self) -> bool: ... + @typing.overload + def arcMoveTo(self, rect: QtCore.QRectF, angle: float) -> None: ... + @typing.overload + def arcMoveTo(self, x: float, y: float, w: float, h: float, angle: float) -> None: ... + @typing.overload + def toFillPolygon(self) -> 'QPolygonF': ... + @typing.overload + def toFillPolygon(self, matrix: 'QTransform') -> 'QPolygonF': ... + @typing.overload + def toFillPolygons(self) -> typing.List['QPolygonF']: ... + @typing.overload + def toFillPolygons(self, matrix: 'QTransform') -> typing.List['QPolygonF']: ... + @typing.overload + def toSubpathPolygons(self) -> typing.List['QPolygonF']: ... + @typing.overload + def toSubpathPolygons(self, matrix: 'QTransform') -> typing.List['QPolygonF']: ... + def toReversed(self) -> 'QPainterPath': ... + def setFillRule(self, fillRule: QtCore.Qt.FillRule) -> None: ... + def fillRule(self) -> QtCore.Qt.FillRule: ... + def controlPointRect(self) -> QtCore.QRectF: ... + def boundingRect(self) -> QtCore.QRectF: ... + @typing.overload + def intersects(self, rect: QtCore.QRectF) -> bool: ... + @typing.overload + def intersects(self, p: 'QPainterPath') -> bool: ... + @typing.overload + def contains(self, pt: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + @typing.overload + def contains(self, rect: QtCore.QRectF) -> bool: ... + @typing.overload + def contains(self, p: 'QPainterPath') -> bool: ... + def connectPath(self, path: 'QPainterPath') -> None: ... + def addRegion(self, region: 'QRegion') -> None: ... + def addPath(self, path: 'QPainterPath') -> None: ... + @typing.overload + def addText(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], f: QFont, text: str) -> None: ... + @typing.overload + def addText(self, x: float, y: float, f: QFont, text: str) -> None: ... + def addPolygon(self, polygon: 'QPolygonF') -> None: ... + @typing.overload + def addEllipse(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def addEllipse(self, x: float, y: float, w: float, h: float) -> None: ... + @typing.overload + def addEllipse(self, center: typing.Union[QtCore.QPointF, QtCore.QPoint], rx: float, ry: float) -> None: ... + @typing.overload + def addRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def addRect(self, x: float, y: float, w: float, h: float) -> None: ... + def currentPosition(self) -> QtCore.QPointF: ... + @typing.overload + def quadTo(self, ctrlPt: typing.Union[QtCore.QPointF, QtCore.QPoint], endPt: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def quadTo(self, ctrlPtx: float, ctrlPty: float, endPtx: float, endPty: float) -> None: ... + @typing.overload + def cubicTo(self, ctrlPt1: typing.Union[QtCore.QPointF, QtCore.QPoint], ctrlPt2: typing.Union[QtCore.QPointF, QtCore.QPoint], endPt: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def cubicTo(self, ctrlPt1x: float, ctrlPt1y: float, ctrlPt2x: float, ctrlPt2y: float, endPtx: float, endPty: float) -> None: ... + @typing.overload + def arcTo(self, rect: QtCore.QRectF, startAngle: float, arcLength: float) -> None: ... + @typing.overload + def arcTo(self, x: float, y: float, w: float, h: float, startAngle: float, arcLenght: float) -> None: ... + @typing.overload + def lineTo(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def lineTo(self, x: float, y: float) -> None: ... + @typing.overload + def moveTo(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def moveTo(self, x: float, y: float) -> None: ... + def closeSubpath(self) -> None: ... + + +class QPainterPathStroker(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pen: typing.Union['QPen', QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + + def dashOffset(self) -> float: ... + def setDashOffset(self, offset: float) -> None: ... + def createStroke(self, path: QPainterPath) -> QPainterPath: ... + def dashPattern(self) -> typing.List[float]: ... + @typing.overload + def setDashPattern(self, a0: QtCore.Qt.PenStyle) -> None: ... + @typing.overload + def setDashPattern(self, dashPattern: typing.Iterable[float]) -> None: ... + def curveThreshold(self) -> float: ... + def setCurveThreshold(self, threshold: float) -> None: ... + def miterLimit(self) -> float: ... + def setMiterLimit(self, length: float) -> None: ... + def joinStyle(self) -> QtCore.Qt.PenJoinStyle: ... + def setJoinStyle(self, style: QtCore.Qt.PenJoinStyle) -> None: ... + def capStyle(self) -> QtCore.Qt.PenCapStyle: ... + def setCapStyle(self, style: QtCore.Qt.PenCapStyle) -> None: ... + def width(self) -> float: ... + def setWidth(self, width: float) -> None: ... + + +class QPalette(sip.simplewrapper): + + class ColorRole(int): + WindowText = ... # type: QPalette.ColorRole + Foreground = ... # type: QPalette.ColorRole + Button = ... # type: QPalette.ColorRole + Light = ... # type: QPalette.ColorRole + Midlight = ... # type: QPalette.ColorRole + Dark = ... # type: QPalette.ColorRole + Mid = ... # type: QPalette.ColorRole + Text = ... # type: QPalette.ColorRole + BrightText = ... # type: QPalette.ColorRole + ButtonText = ... # type: QPalette.ColorRole + Base = ... # type: QPalette.ColorRole + Window = ... # type: QPalette.ColorRole + Background = ... # type: QPalette.ColorRole + Shadow = ... # type: QPalette.ColorRole + Highlight = ... # type: QPalette.ColorRole + HighlightedText = ... # type: QPalette.ColorRole + Link = ... # type: QPalette.ColorRole + LinkVisited = ... # type: QPalette.ColorRole + AlternateBase = ... # type: QPalette.ColorRole + ToolTipBase = ... # type: QPalette.ColorRole + ToolTipText = ... # type: QPalette.ColorRole + PlaceholderText = ... # type: QPalette.ColorRole + NoRole = ... # type: QPalette.ColorRole + NColorRoles = ... # type: QPalette.ColorRole + + class ColorGroup(int): + Active = ... # type: QPalette.ColorGroup + Disabled = ... # type: QPalette.ColorGroup + Inactive = ... # type: QPalette.ColorGroup + NColorGroups = ... # type: QPalette.ColorGroup + Current = ... # type: QPalette.ColorGroup + All = ... # type: QPalette.ColorGroup + Normal = ... # type: QPalette.ColorGroup + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, button: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def __init__(self, button: QtCore.Qt.GlobalColor) -> None: ... + @typing.overload + def __init__(self, button: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient], background: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def __init__(self, foreground: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], button: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], light: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], dark: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], mid: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], text: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], bright_text: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], base: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], background: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def __init__(self, palette: 'QPalette') -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def swap(self, other: 'QPalette') -> None: ... + def cacheKey(self) -> int: ... + def isBrushSet(self, cg: 'QPalette.ColorGroup', cr: 'QPalette.ColorRole') -> bool: ... + @typing.overload + def setColor(self, acg: 'QPalette.ColorGroup', acr: 'QPalette.ColorRole', acolor: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setColor(self, acr: 'QPalette.ColorRole', acolor: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def resolve(self, a0: 'QPalette') -> 'QPalette': ... + @typing.overload + def resolve(self) -> int: ... + @typing.overload + def resolve(self, mask: int) -> None: ... + def isCopyOf(self, p: 'QPalette') -> bool: ... + def placeholderText(self) -> QBrush: ... + def toolTipText(self) -> QBrush: ... + def toolTipBase(self) -> QBrush: ... + def linkVisited(self) -> QBrush: ... + def link(self) -> QBrush: ... + def highlightedText(self) -> QBrush: ... + def highlight(self) -> QBrush: ... + def shadow(self) -> QBrush: ... + def buttonText(self) -> QBrush: ... + def brightText(self) -> QBrush: ... + def midlight(self) -> QBrush: ... + def window(self) -> QBrush: ... + def alternateBase(self) -> QBrush: ... + def base(self) -> QBrush: ... + def text(self) -> QBrush: ... + def mid(self) -> QBrush: ... + def dark(self) -> QBrush: ... + def light(self) -> QBrush: ... + def button(self) -> QBrush: ... + def windowText(self) -> QBrush: ... + def isEqual(self, cr1: 'QPalette.ColorGroup', cr2: 'QPalette.ColorGroup') -> bool: ... + def setColorGroup(self, cr: 'QPalette.ColorGroup', foreground: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], button: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], light: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], dark: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], mid: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], text: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], bright_text: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], base: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], background: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setBrush(self, cg: 'QPalette.ColorGroup', cr: 'QPalette.ColorRole', brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setBrush(self, acr: 'QPalette.ColorRole', abrush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def brush(self, cg: 'QPalette.ColorGroup', cr: 'QPalette.ColorRole') -> QBrush: ... + @typing.overload + def brush(self, cr: 'QPalette.ColorRole') -> QBrush: ... + @typing.overload + def color(self, cg: 'QPalette.ColorGroup', cr: 'QPalette.ColorRole') -> QColor: ... + @typing.overload + def color(self, cr: 'QPalette.ColorRole') -> QColor: ... + def setCurrentColorGroup(self, cg: 'QPalette.ColorGroup') -> None: ... + def currentColorGroup(self) -> 'QPalette.ColorGroup': ... + + +class QPdfWriter(QtCore.QObject, QPagedPaintDevice): + + @typing.overload + def __init__(self, filename: str) -> None: ... + @typing.overload + def __init__(self, device: QtCore.QIODevice) -> None: ... + + def addFileAttachment(self, fileName: str, data: typing.Union[QtCore.QByteArray, bytes, bytearray], mimeType: str = ...) -> None: ... + def documentXmpMetadata(self) -> QtCore.QByteArray: ... + def setDocumentXmpMetadata(self, xmpMetadata: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def pdfVersion(self) -> QPagedPaintDevice.PdfVersion: ... + def setPdfVersion(self, version: QPagedPaintDevice.PdfVersion) -> None: ... + def resolution(self) -> int: ... + def setResolution(self, resolution: int) -> None: ... + def metric(self, id: QPaintDevice.PaintDeviceMetric) -> int: ... + def paintEngine(self) -> QPaintEngine: ... + def setMargins(self, m: QPagedPaintDevice.Margins) -> None: ... + def setPageSizeMM(self, size: QtCore.QSizeF) -> None: ... + @typing.overload + def setPageSize(self, size: QPagedPaintDevice.PageSize) -> None: ... + @typing.overload + def setPageSize(self, pageSize: QPageSize) -> bool: ... + def newPage(self) -> bool: ... + def setCreator(self, creator: str) -> None: ... + def creator(self) -> str: ... + def setTitle(self, title: str) -> None: ... + def title(self) -> str: ... + + +class QPen(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.Qt.PenStyle) -> None: ... + @typing.overload + def __init__(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient], width: float, style: QtCore.Qt.PenStyle = ..., cap: QtCore.Qt.PenCapStyle = ..., join: QtCore.Qt.PenJoinStyle = ...) -> None: ... + @typing.overload + def __init__(self, pen: typing.Union['QPen', QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def swap(self, other: 'QPen') -> None: ... + def setCosmetic(self, cosmetic: bool) -> None: ... + def isCosmetic(self) -> bool: ... + def setDashOffset(self, doffset: float) -> None: ... + def dashOffset(self) -> float: ... + def setMiterLimit(self, limit: float) -> None: ... + def miterLimit(self) -> float: ... + def setDashPattern(self, pattern: typing.Iterable[float]) -> None: ... + def dashPattern(self) -> typing.List[float]: ... + def setJoinStyle(self, pcs: QtCore.Qt.PenJoinStyle) -> None: ... + def joinStyle(self) -> QtCore.Qt.PenJoinStyle: ... + def setCapStyle(self, pcs: QtCore.Qt.PenCapStyle) -> None: ... + def capStyle(self) -> QtCore.Qt.PenCapStyle: ... + def isSolid(self) -> bool: ... + def setBrush(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def brush(self) -> QBrush: ... + def setColor(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def color(self) -> QColor: ... + def setWidth(self, width: int) -> None: ... + def width(self) -> int: ... + def setWidthF(self, width: float) -> None: ... + def widthF(self) -> float: ... + def setStyle(self, a0: QtCore.Qt.PenStyle) -> None: ... + def style(self) -> QtCore.Qt.PenStyle: ... + + +class QPicture(QPaintDevice): + + @typing.overload + def __init__(self, formatVersion: int = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QPicture') -> None: ... + + def swap(self, other: 'QPicture') -> None: ... + def metric(self, m: QPaintDevice.PaintDeviceMetric) -> int: ... + def paintEngine(self) -> QPaintEngine: ... + def isDetached(self) -> bool: ... + def detach(self) -> None: ... + def setBoundingRect(self, r: QtCore.QRect) -> None: ... + def boundingRect(self) -> QtCore.QRect: ... + @typing.overload + def save(self, dev: QtCore.QIODevice, format: typing.Optional[str] = ...) -> bool: ... + @typing.overload + def save(self, fileName: str, format: typing.Optional[str] = ...) -> bool: ... + @typing.overload + def load(self, dev: QtCore.QIODevice, format: typing.Optional[str] = ...) -> bool: ... + @typing.overload + def load(self, fileName: str, format: typing.Optional[str] = ...) -> bool: ... + def play(self, p: QPainter) -> bool: ... + def setData(self, data: bytes) -> None: ... + def data(self) -> bytes: ... + def size(self) -> int: ... + def devType(self) -> int: ... + def isNull(self) -> bool: ... + + +class QPictureIO(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, ioDevice: QtCore.QIODevice, format: str) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: str) -> None: ... + + @staticmethod + def defineIOHandler(format: str, header: str, flags: str, read_picture: typing.Optional[typing.Callable[['QPictureIO'], None]], write_picture: typing.Optional[typing.Callable[['QPictureIO'], None]]) -> None: ... + @staticmethod + def outputFormats() -> typing.List[QtCore.QByteArray]: ... + @staticmethod + def inputFormats() -> typing.List[QtCore.QByteArray]: ... + @typing.overload + @staticmethod + def pictureFormat(fileName: str) -> QtCore.QByteArray: ... + @typing.overload + @staticmethod + def pictureFormat(a0: QtCore.QIODevice) -> QtCore.QByteArray: ... + def write(self) -> bool: ... + def read(self) -> bool: ... + def setGamma(self, a0: float) -> None: ... + def setParameters(self, a0: str) -> None: ... + def setDescription(self, a0: str) -> None: ... + def setQuality(self, a0: int) -> None: ... + def setFileName(self, a0: str) -> None: ... + def setIODevice(self, a0: QtCore.QIODevice) -> None: ... + def setFormat(self, a0: str) -> None: ... + def setStatus(self, a0: int) -> None: ... + def setPicture(self, a0: QPicture) -> None: ... + def gamma(self) -> float: ... + def parameters(self) -> str: ... + def description(self) -> str: ... + def quality(self) -> int: ... + def fileName(self) -> str: ... + def ioDevice(self) -> QtCore.QIODevice: ... + def format(self) -> str: ... + def status(self) -> int: ... + def picture(self) -> QPicture: ... + + +class QPixelFormat(sip.simplewrapper): + + class ByteOrder(int): + LittleEndian = ... # type: QPixelFormat.ByteOrder + BigEndian = ... # type: QPixelFormat.ByteOrder + CurrentSystemEndian = ... # type: QPixelFormat.ByteOrder + + class YUVLayout(int): + YUV444 = ... # type: QPixelFormat.YUVLayout + YUV422 = ... # type: QPixelFormat.YUVLayout + YUV411 = ... # type: QPixelFormat.YUVLayout + YUV420P = ... # type: QPixelFormat.YUVLayout + YUV420SP = ... # type: QPixelFormat.YUVLayout + YV12 = ... # type: QPixelFormat.YUVLayout + UYVY = ... # type: QPixelFormat.YUVLayout + YUYV = ... # type: QPixelFormat.YUVLayout + NV12 = ... # type: QPixelFormat.YUVLayout + NV21 = ... # type: QPixelFormat.YUVLayout + IMC1 = ... # type: QPixelFormat.YUVLayout + IMC2 = ... # type: QPixelFormat.YUVLayout + IMC3 = ... # type: QPixelFormat.YUVLayout + IMC4 = ... # type: QPixelFormat.YUVLayout + Y8 = ... # type: QPixelFormat.YUVLayout + Y16 = ... # type: QPixelFormat.YUVLayout + + class TypeInterpretation(int): + UnsignedInteger = ... # type: QPixelFormat.TypeInterpretation + UnsignedShort = ... # type: QPixelFormat.TypeInterpretation + UnsignedByte = ... # type: QPixelFormat.TypeInterpretation + FloatingPoint = ... # type: QPixelFormat.TypeInterpretation + + class AlphaPremultiplied(int): + NotPremultiplied = ... # type: QPixelFormat.AlphaPremultiplied + Premultiplied = ... # type: QPixelFormat.AlphaPremultiplied + + class AlphaPosition(int): + AtBeginning = ... # type: QPixelFormat.AlphaPosition + AtEnd = ... # type: QPixelFormat.AlphaPosition + + class AlphaUsage(int): + UsesAlpha = ... # type: QPixelFormat.AlphaUsage + IgnoresAlpha = ... # type: QPixelFormat.AlphaUsage + + class ColorModel(int): + RGB = ... # type: QPixelFormat.ColorModel + BGR = ... # type: QPixelFormat.ColorModel + Indexed = ... # type: QPixelFormat.ColorModel + Grayscale = ... # type: QPixelFormat.ColorModel + CMYK = ... # type: QPixelFormat.ColorModel + HSL = ... # type: QPixelFormat.ColorModel + HSV = ... # type: QPixelFormat.ColorModel + YUV = ... # type: QPixelFormat.ColorModel + Alpha = ... # type: QPixelFormat.ColorModel + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, mdl: 'QPixelFormat.ColorModel', firstSize: int, secondSize: int, thirdSize: int, fourthSize: int, fifthSize: int, alfa: int, usage: 'QPixelFormat.AlphaUsage', position: 'QPixelFormat.AlphaPosition', premult: 'QPixelFormat.AlphaPremultiplied', typeInterp: 'QPixelFormat.TypeInterpretation', byteOrder: 'QPixelFormat.ByteOrder' = ..., subEnum: int = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QPixelFormat') -> None: ... + + def subEnum(self) -> int: ... + def yuvLayout(self) -> 'QPixelFormat.YUVLayout': ... + def byteOrder(self) -> 'QPixelFormat.ByteOrder': ... + def typeInterpretation(self) -> 'QPixelFormat.TypeInterpretation': ... + def premultiplied(self) -> 'QPixelFormat.AlphaPremultiplied': ... + def alphaPosition(self) -> 'QPixelFormat.AlphaPosition': ... + def alphaUsage(self) -> 'QPixelFormat.AlphaUsage': ... + def bitsPerPixel(self) -> int: ... + def alphaSize(self) -> int: ... + def brightnessSize(self) -> int: ... + def lightnessSize(self) -> int: ... + def saturationSize(self) -> int: ... + def hueSize(self) -> int: ... + def blackSize(self) -> int: ... + def yellowSize(self) -> int: ... + def magentaSize(self) -> int: ... + def cyanSize(self) -> int: ... + def blueSize(self) -> int: ... + def greenSize(self) -> int: ... + def redSize(self) -> int: ... + def channelCount(self) -> int: ... + def colorModel(self) -> 'QPixelFormat.ColorModel': ... + + +class QPixmapCache(sip.simplewrapper): + + class Key(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPixmapCache.Key') -> None: ... + + def isValid(self) -> bool: ... + def swap(self, other: 'QPixmapCache.Key') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QPixmapCache') -> None: ... + + @staticmethod + def setCacheLimit(a0: int) -> None: ... + @staticmethod + def replace(key: 'QPixmapCache.Key', pixmap: QPixmap) -> bool: ... + @typing.overload + @staticmethod + def remove(key: str) -> None: ... + @typing.overload + @staticmethod + def remove(key: 'QPixmapCache.Key') -> None: ... + @typing.overload + @staticmethod + def insert(key: str, a1: QPixmap) -> bool: ... + @typing.overload + @staticmethod + def insert(pixmap: QPixmap) -> 'QPixmapCache.Key': ... + @typing.overload + @staticmethod + def find(key: str) -> QPixmap: ... + @typing.overload + @staticmethod + def find(key: 'QPixmapCache.Key') -> QPixmap: ... + @staticmethod + def clear() -> None: ... + @staticmethod + def cacheLimit() -> int: ... + + +class QPolygon(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a: 'QPolygon') -> None: ... + @typing.overload + def __init__(self, points: typing.List[int]) -> None: ... + @typing.overload + def __init__(self, v: typing.Iterable[QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, rectangle: QtCore.QRect, closed: bool = ...) -> None: ... + @typing.overload + def __init__(self, asize: int) -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def intersects(self, r: 'QPolygon') -> bool: ... + def swap(self, other: 'QPolygon') -> None: ... + def __contains__(self, value: QtCore.QPoint) -> int: ... + @typing.overload + def __delitem__(self, i: int) -> None: ... + @typing.overload + def __delitem__(self, slice: slice) -> None: ... + @typing.overload + def __setitem__(self, i: int, value: QtCore.QPoint) -> None: ... + @typing.overload + def __setitem__(self, slice: slice, list: 'QPolygon') -> None: ... + @typing.overload + def __getitem__(self, i: int) -> QtCore.QPoint: ... + @typing.overload + def __getitem__(self, slice: slice) -> 'QPolygon': ... + @typing.overload + def value(self, i: int) -> QtCore.QPoint: ... + @typing.overload + def value(self, i: int, defaultValue: QtCore.QPoint) -> QtCore.QPoint: ... + def size(self) -> int: ... + def replace(self, i: int, value: QtCore.QPoint) -> None: ... + @typing.overload + def remove(self, i: int) -> None: ... + @typing.overload + def remove(self, i: int, count: int) -> None: ... + def prepend(self, value: QtCore.QPoint) -> None: ... + def mid(self, pos: int, length: int = ...) -> 'QPolygon': ... + def lastIndexOf(self, value: QtCore.QPoint, from_: int = ...) -> int: ... + def last(self) -> QtCore.QPoint: ... + def isEmpty(self) -> bool: ... + def insert(self, i: int, value: QtCore.QPoint) -> None: ... + def indexOf(self, value: QtCore.QPoint, from_: int = ...) -> int: ... + def first(self) -> QtCore.QPoint: ... + def fill(self, value: QtCore.QPoint, size: int = ...) -> None: ... + def data(self) -> PyQt5.sip.voidptr: ... + def __len__(self) -> int: ... + @typing.overload + def count(self, value: QtCore.QPoint) -> int: ... + @typing.overload + def count(self) -> int: ... + def contains(self, value: QtCore.QPoint) -> bool: ... + def clear(self) -> None: ... + def at(self, i: int) -> QtCore.QPoint: ... + def append(self, value: QtCore.QPoint) -> None: ... + @typing.overload + def translated(self, dx: int, dy: int) -> 'QPolygon': ... + @typing.overload + def translated(self, offset: QtCore.QPoint) -> 'QPolygon': ... + def subtracted(self, r: 'QPolygon') -> 'QPolygon': ... + def intersected(self, r: 'QPolygon') -> 'QPolygon': ... + def united(self, r: 'QPolygon') -> 'QPolygon': ... + def containsPoint(self, pt: QtCore.QPoint, fillRule: QtCore.Qt.FillRule) -> bool: ... + @typing.overload + def setPoint(self, index: int, pt: QtCore.QPoint) -> None: ... + @typing.overload + def setPoint(self, index: int, x: int, y: int) -> None: ... + @typing.overload + def putPoints(self, index: int, firstx: int, firsty: int, *a3) -> None: ... + @typing.overload + def putPoints(self, index: int, nPoints: int, fromPolygon: 'QPolygon', from_: int = ...) -> None: ... + @typing.overload + def setPoints(self, points: typing.List[int]) -> None: ... + @typing.overload + def setPoints(self, firstx: int, firsty: int, *a2) -> None: ... + def point(self, index: int) -> QtCore.QPoint: ... + def boundingRect(self) -> QtCore.QRect: ... + @typing.overload + def translate(self, dx: int, dy: int) -> None: ... + @typing.overload + def translate(self, offset: QtCore.QPoint) -> None: ... + + +class QPolygonF(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a: 'QPolygonF') -> None: ... + @typing.overload + def __init__(self, v: typing.Iterable[typing.Union[QtCore.QPointF, QtCore.QPoint]]) -> None: ... + @typing.overload + def __init__(self, r: QtCore.QRectF) -> None: ... + @typing.overload + def __init__(self, a: QPolygon) -> None: ... + @typing.overload + def __init__(self, asize: int) -> None: ... + + def intersects(self, r: 'QPolygonF') -> bool: ... + def swap(self, other: 'QPolygonF') -> None: ... + def __contains__(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> int: ... + @typing.overload + def __delitem__(self, i: int) -> None: ... + @typing.overload + def __delitem__(self, slice: slice) -> None: ... + @typing.overload + def __setitem__(self, i: int, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __setitem__(self, slice: slice, list: 'QPolygonF') -> None: ... + @typing.overload + def __getitem__(self, i: int) -> QtCore.QPointF: ... + @typing.overload + def __getitem__(self, slice: slice) -> 'QPolygonF': ... + @typing.overload + def value(self, i: int) -> QtCore.QPointF: ... + @typing.overload + def value(self, i: int, defaultValue: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + def size(self) -> int: ... + def replace(self, i: int, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def remove(self, i: int) -> None: ... + @typing.overload + def remove(self, i: int, count: int) -> None: ... + def prepend(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def mid(self, pos: int, length: int = ...) -> 'QPolygonF': ... + def lastIndexOf(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint], from_: int = ...) -> int: ... + def last(self) -> QtCore.QPointF: ... + def isEmpty(self) -> bool: ... + def insert(self, i: int, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def indexOf(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint], from_: int = ...) -> int: ... + def first(self) -> QtCore.QPointF: ... + def fill(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint], size: int = ...) -> None: ... + def data(self) -> PyQt5.sip.voidptr: ... + def __len__(self) -> int: ... + @typing.overload + def count(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> int: ... + @typing.overload + def count(self) -> int: ... + def contains(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def clear(self) -> None: ... + def at(self, i: int) -> QtCore.QPointF: ... + def append(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def translated(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> 'QPolygonF': ... + @typing.overload + def translated(self, dx: float, dy: float) -> 'QPolygonF': ... + def subtracted(self, r: 'QPolygonF') -> 'QPolygonF': ... + def intersected(self, r: 'QPolygonF') -> 'QPolygonF': ... + def united(self, r: 'QPolygonF') -> 'QPolygonF': ... + def containsPoint(self, pt: typing.Union[QtCore.QPointF, QtCore.QPoint], fillRule: QtCore.Qt.FillRule) -> bool: ... + def boundingRect(self) -> QtCore.QRectF: ... + def isClosed(self) -> bool: ... + def toPolygon(self) -> QPolygon: ... + @typing.overload + def translate(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def translate(self, dx: float, dy: float) -> None: ... + + +class QQuaternion(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, aScalar: float, xpos: float, ypos: float, zpos: float) -> None: ... + @typing.overload + def __init__(self, aScalar: float, aVector: 'QVector3D') -> None: ... + @typing.overload + def __init__(self, aVector: 'QVector4D') -> None: ... + @typing.overload + def __init__(self, a0: 'QQuaternion') -> None: ... + + def __neg__(self) -> 'QQuaternion': ... + def toEulerAngles(self) -> 'QVector3D': ... + def conjugated(self) -> 'QQuaternion': ... + def inverted(self) -> 'QQuaternion': ... + @staticmethod + def dotProduct(q1: 'QQuaternion', q2: 'QQuaternion') -> float: ... + @staticmethod + def rotationTo(from_: 'QVector3D', to: 'QVector3D') -> 'QQuaternion': ... + @staticmethod + def fromDirection(direction: 'QVector3D', up: 'QVector3D') -> 'QQuaternion': ... + @staticmethod + def fromAxes(xAxis: 'QVector3D', yAxis: 'QVector3D', zAxis: 'QVector3D') -> 'QQuaternion': ... + def getAxes(self) -> typing.Tuple['QVector3D', 'QVector3D', 'QVector3D']: ... + @staticmethod + def fromRotationMatrix(rot3x3: QMatrix3x3) -> 'QQuaternion': ... + def toRotationMatrix(self) -> QMatrix3x3: ... + @typing.overload + @staticmethod + def fromEulerAngles(pitch: float, yaw: float, roll: float) -> 'QQuaternion': ... + @typing.overload + @staticmethod + def fromEulerAngles(eulerAngles: 'QVector3D') -> 'QQuaternion': ... + def getEulerAngles(self) -> typing.Tuple[float, float, float]: ... + def getAxisAndAngle(self) -> typing.Tuple['QVector3D', float]: ... + def toVector4D(self) -> 'QVector4D': ... + def vector(self) -> 'QVector3D': ... + @typing.overload + def setVector(self, aVector: 'QVector3D') -> None: ... + @typing.overload + def setVector(self, aX: float, aY: float, aZ: float) -> None: ... + def conjugate(self) -> 'QQuaternion': ... + def setScalar(self, aScalar: float) -> None: ... + def setZ(self, aZ: float) -> None: ... + def setY(self, aY: float) -> None: ... + def setX(self, aX: float) -> None: ... + def scalar(self) -> float: ... + def z(self) -> float: ... + def y(self) -> float: ... + def x(self) -> float: ... + def isIdentity(self) -> bool: ... + def isNull(self) -> bool: ... + @staticmethod + def nlerp(q1: 'QQuaternion', q2: 'QQuaternion', t: float) -> 'QQuaternion': ... + @staticmethod + def slerp(q1: 'QQuaternion', q2: 'QQuaternion', t: float) -> 'QQuaternion': ... + @typing.overload + @staticmethod + def fromAxisAndAngle(axis: 'QVector3D', angle: float) -> 'QQuaternion': ... + @typing.overload + @staticmethod + def fromAxisAndAngle(x: float, y: float, z: float, angle: float) -> 'QQuaternion': ... + def rotatedVector(self, vector: 'QVector3D') -> 'QVector3D': ... + def normalize(self) -> None: ... + def normalized(self) -> 'QQuaternion': ... + def lengthSquared(self) -> float: ... + def length(self) -> float: ... + def __repr__(self) -> str: ... + + +class QRasterWindow(QPaintDeviceWindow): + + def __init__(self, parent: typing.Optional[QWindow] = ...) -> None: ... + + def metric(self, metric: QPaintDevice.PaintDeviceMetric) -> int: ... + + +class QRawFont(sip.simplewrapper): + + class LayoutFlag(int): + SeparateAdvances = ... # type: QRawFont.LayoutFlag + KernedAdvances = ... # type: QRawFont.LayoutFlag + UseDesignMetrics = ... # type: QRawFont.LayoutFlag + + class AntialiasingType(int): + PixelAntialiasing = ... # type: QRawFont.AntialiasingType + SubPixelAntialiasing = ... # type: QRawFont.AntialiasingType + + class LayoutFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QRawFont.LayoutFlags', 'QRawFont.LayoutFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QRawFont.LayoutFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QRawFont.LayoutFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, fileName: str, pixelSize: float, hintingPreference: QFont.HintingPreference = ...) -> None: ... + @typing.overload + def __init__(self, fontData: typing.Union[QtCore.QByteArray, bytes, bytearray], pixelSize: float, hintingPreference: QFont.HintingPreference = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QRawFont') -> None: ... + + def __hash__(self) -> int: ... + def capHeight(self) -> float: ... + def swap(self, other: 'QRawFont') -> None: ... + def underlinePosition(self) -> float: ... + def lineThickness(self) -> float: ... + def boundingRect(self, glyphIndex: int) -> QtCore.QRectF: ... + @staticmethod + def fromFont(font: QFont, writingSystem: QFontDatabase.WritingSystem = ...) -> 'QRawFont': ... + def fontTable(self, tagName: str) -> QtCore.QByteArray: ... + def supportedWritingSystems(self) -> typing.List[QFontDatabase.WritingSystem]: ... + @typing.overload + def supportsCharacter(self, ucs4: int) -> bool: ... + @typing.overload + def supportsCharacter(self, character: str) -> bool: ... + def loadFromData(self, fontData: typing.Union[QtCore.QByteArray, bytes, bytearray], pixelSize: float, hintingPreference: QFont.HintingPreference) -> None: ... + def loadFromFile(self, fileName: str, pixelSize: float, hintingPreference: QFont.HintingPreference) -> None: ... + def unitsPerEm(self) -> float: ... + def maxCharWidth(self) -> float: ... + def averageCharWidth(self) -> float: ... + def xHeight(self) -> float: ... + def leading(self) -> float: ... + def descent(self) -> float: ... + def ascent(self) -> float: ... + def hintingPreference(self) -> QFont.HintingPreference: ... + def pixelSize(self) -> float: ... + def setPixelSize(self, pixelSize: float) -> None: ... + def pathForGlyph(self, glyphIndex: int) -> QPainterPath: ... + def alphaMapForGlyph(self, glyphIndex: int, antialiasingType: 'QRawFont.AntialiasingType' = ..., transform: 'QTransform' = ...) -> QImage: ... + @typing.overload + def advancesForGlyphIndexes(self, glyphIndexes: typing.Iterable[int]) -> typing.List[QtCore.QPointF]: ... + @typing.overload + def advancesForGlyphIndexes(self, glyphIndexes: typing.Iterable[int], layoutFlags: typing.Union['QRawFont.LayoutFlags', 'QRawFont.LayoutFlag']) -> typing.List[QtCore.QPointF]: ... + def glyphIndexesForString(self, text: str) -> typing.List[int]: ... + def weight(self) -> int: ... + def style(self) -> QFont.Style: ... + def styleName(self) -> str: ... + def familyName(self) -> str: ... + def isValid(self) -> bool: ... + + +class QRegion(sip.simplewrapper): + + class RegionType(int): + Rectangle = ... # type: QRegion.RegionType + Ellipse = ... # type: QRegion.RegionType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: int, y: int, w: int, h: int, type: 'QRegion.RegionType' = ...) -> None: ... + @typing.overload + def __init__(self, r: QtCore.QRect, type: 'QRegion.RegionType' = ...) -> None: ... + @typing.overload + def __init__(self, a: QPolygon, fillRule: QtCore.Qt.FillRule = ...) -> None: ... + @typing.overload + def __init__(self, bitmap: QBitmap) -> None: ... + @typing.overload + def __init__(self, region: 'QRegion') -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def isNull(self) -> bool: ... + def swap(self, other: 'QRegion') -> None: ... + def rectCount(self) -> int: ... + @typing.overload + def intersects(self, r: 'QRegion') -> bool: ... + @typing.overload + def intersects(self, r: QtCore.QRect) -> bool: ... + def xored(self, r: 'QRegion') -> 'QRegion': ... + def subtracted(self, r: 'QRegion') -> 'QRegion': ... + @typing.overload + def intersected(self, r: 'QRegion') -> 'QRegion': ... + @typing.overload + def intersected(self, r: QtCore.QRect) -> 'QRegion': ... + def setRects(self, a0: typing.Iterable[QtCore.QRect]) -> None: ... + def rects(self) -> typing.List[QtCore.QRect]: ... + def boundingRect(self) -> QtCore.QRect: ... + @typing.overload + def united(self, r: 'QRegion') -> 'QRegion': ... + @typing.overload + def united(self, r: QtCore.QRect) -> 'QRegion': ... + @typing.overload + def translated(self, dx: int, dy: int) -> 'QRegion': ... + @typing.overload + def translated(self, p: QtCore.QPoint) -> 'QRegion': ... + @typing.overload + def translate(self, dx: int, dy: int) -> None: ... + @typing.overload + def translate(self, p: QtCore.QPoint) -> None: ... + @typing.overload + def __contains__(self, p: QtCore.QPoint) -> int: ... + @typing.overload + def __contains__(self, r: QtCore.QRect) -> int: ... + @typing.overload + def contains(self, p: QtCore.QPoint) -> bool: ... + @typing.overload + def contains(self, r: QtCore.QRect) -> bool: ... + def __bool__(self) -> int: ... + def isEmpty(self) -> bool: ... + + +class QRgba64(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QRgba64') -> None: ... + + def __int__(self) -> int: ... + def unpremultiplied(self) -> 'QRgba64': ... + def premultiplied(self) -> 'QRgba64': ... + def toRgb16(self) -> int: ... + def toArgb32(self) -> int: ... + def alpha8(self) -> int: ... + def blue8(self) -> int: ... + def green8(self) -> int: ... + def red8(self) -> int: ... + def setAlpha(self, _alpha: int) -> None: ... + def setBlue(self, _blue: int) -> None: ... + def setGreen(self, _green: int) -> None: ... + def setRed(self, _red: int) -> None: ... + def alpha(self) -> int: ... + def blue(self) -> int: ... + def green(self) -> int: ... + def red(self) -> int: ... + def isTransparent(self) -> bool: ... + def isOpaque(self) -> bool: ... + @staticmethod + def fromArgb32(rgb: int) -> 'QRgba64': ... + @staticmethod + def fromRgba(red: int, green: int, blue: int, alpha: int) -> 'QRgba64': ... + @typing.overload + @staticmethod + def fromRgba64(c: int) -> 'QRgba64': ... + @typing.overload + @staticmethod + def fromRgba64(red: int, green: int, blue: int, alpha: int) -> 'QRgba64': ... + + +class QScreen(QtCore.QObject): + + def virtualSiblingAt(self, point: QtCore.QPoint) -> 'QScreen': ... + def serialNumber(self) -> str: ... + def model(self) -> str: ... + def manufacturer(self) -> str: ... + def availableGeometryChanged(self, geometry: QtCore.QRect) -> None: ... + def virtualGeometryChanged(self, rect: QtCore.QRect) -> None: ... + def physicalSizeChanged(self, size: QtCore.QSizeF) -> None: ... + def refreshRateChanged(self, refreshRate: float) -> None: ... + def orientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... + def primaryOrientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... + def logicalDotsPerInchChanged(self, dpi: float) -> None: ... + def physicalDotsPerInchChanged(self, dpi: float) -> None: ... + def geometryChanged(self, geometry: QtCore.QRect) -> None: ... + def devicePixelRatio(self) -> float: ... + def refreshRate(self) -> float: ... + def grabWindow(self, window: PyQt5.sip.voidptr, x: int = ..., y: int = ..., width: int = ..., height: int = ...) -> QPixmap: ... + def isLandscape(self, orientation: QtCore.Qt.ScreenOrientation) -> bool: ... + def isPortrait(self, orientation: QtCore.Qt.ScreenOrientation) -> bool: ... + def mapBetween(self, a: QtCore.Qt.ScreenOrientation, b: QtCore.Qt.ScreenOrientation, rect: QtCore.QRect) -> QtCore.QRect: ... + def transformBetween(self, a: QtCore.Qt.ScreenOrientation, b: QtCore.Qt.ScreenOrientation, target: QtCore.QRect) -> 'QTransform': ... + def angleBetween(self, a: QtCore.Qt.ScreenOrientation, b: QtCore.Qt.ScreenOrientation) -> int: ... + def setOrientationUpdateMask(self, mask: typing.Union[QtCore.Qt.ScreenOrientations, QtCore.Qt.ScreenOrientation]) -> None: ... + def orientationUpdateMask(self) -> QtCore.Qt.ScreenOrientations: ... + def orientation(self) -> QtCore.Qt.ScreenOrientation: ... + def primaryOrientation(self) -> QtCore.Qt.ScreenOrientation: ... + def nativeOrientation(self) -> QtCore.Qt.ScreenOrientation: ... + def availableVirtualGeometry(self) -> QtCore.QRect: ... + def availableVirtualSize(self) -> QtCore.QSize: ... + def virtualGeometry(self) -> QtCore.QRect: ... + def virtualSize(self) -> QtCore.QSize: ... + def virtualSiblings(self) -> typing.List['QScreen']: ... + def availableGeometry(self) -> QtCore.QRect: ... + def availableSize(self) -> QtCore.QSize: ... + def logicalDotsPerInch(self) -> float: ... + def logicalDotsPerInchY(self) -> float: ... + def logicalDotsPerInchX(self) -> float: ... + def physicalDotsPerInch(self) -> float: ... + def physicalDotsPerInchY(self) -> float: ... + def physicalDotsPerInchX(self) -> float: ... + def physicalSize(self) -> QtCore.QSizeF: ... + def geometry(self) -> QtCore.QRect: ... + def size(self) -> QtCore.QSize: ... + def depth(self) -> int: ... + def name(self) -> str: ... + + +class QSessionManager(QtCore.QObject): + + class RestartHint(int): + RestartIfRunning = ... # type: QSessionManager.RestartHint + RestartAnyway = ... # type: QSessionManager.RestartHint + RestartImmediately = ... # type: QSessionManager.RestartHint + RestartNever = ... # type: QSessionManager.RestartHint + + def requestPhase2(self) -> None: ... + def isPhase2(self) -> bool: ... + @typing.overload + def setManagerProperty(self, name: str, value: str) -> None: ... + @typing.overload + def setManagerProperty(self, name: str, value: typing.Iterable[str]) -> None: ... + def discardCommand(self) -> typing.List[str]: ... + def setDiscardCommand(self, a0: typing.Iterable[str]) -> None: ... + def restartCommand(self) -> typing.List[str]: ... + def setRestartCommand(self, a0: typing.Iterable[str]) -> None: ... + def restartHint(self) -> 'QSessionManager.RestartHint': ... + def setRestartHint(self, a0: 'QSessionManager.RestartHint') -> None: ... + def cancel(self) -> None: ... + def release(self) -> None: ... + def allowsErrorInteraction(self) -> bool: ... + def allowsInteraction(self) -> bool: ... + def sessionKey(self) -> str: ... + def sessionId(self) -> str: ... + + +class QStandardItemModel(QtCore.QAbstractItemModel): + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, rows: int, columns: int, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def clearItemData(self, index: QtCore.QModelIndex) -> bool: ... + def itemChanged(self, item: 'QStandardItem') -> None: ... + def setItemRoleNames(self, roleNames: typing.Dict[int, typing.Union[QtCore.QByteArray, bytes, bytearray]]) -> None: ... + def sibling(self, row: int, column: int, idx: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + def dropMimeData(self, data: QtCore.QMimeData, action: QtCore.Qt.DropAction, row: int, column: int, parent: QtCore.QModelIndex) -> bool: ... + def mimeData(self, indexes: typing.Iterable[QtCore.QModelIndex]) -> QtCore.QMimeData: ... + def mimeTypes(self) -> typing.List[str]: ... + def setSortRole(self, role: int) -> None: ... + def sortRole(self) -> int: ... + def findItems(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag] = ..., column: int = ...) -> typing.List['QStandardItem']: ... + def setItemPrototype(self, item: 'QStandardItem') -> None: ... + def itemPrototype(self) -> 'QStandardItem': ... + def takeVerticalHeaderItem(self, row: int) -> 'QStandardItem': ... + def takeHorizontalHeaderItem(self, column: int) -> 'QStandardItem': ... + def takeColumn(self, column: int) -> typing.List['QStandardItem']: ... + def takeRow(self, row: int) -> typing.List['QStandardItem']: ... + def takeItem(self, row: int, column: int = ...) -> 'QStandardItem': ... + @typing.overload + def insertColumn(self, column: int, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def insertColumn(self, column: int, parent: QtCore.QModelIndex = ...) -> bool: ... + @typing.overload + def insertRow(self, row: int, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def insertRow(self, arow: int, aitem: 'QStandardItem') -> None: ... + @typing.overload + def insertRow(self, row: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def appendColumn(self, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def appendRow(self, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def appendRow(self, aitem: 'QStandardItem') -> None: ... + def setColumnCount(self, columns: int) -> None: ... + def setRowCount(self, rows: int) -> None: ... + def setVerticalHeaderLabels(self, labels: typing.Iterable[str]) -> None: ... + def setHorizontalHeaderLabels(self, labels: typing.Iterable[str]) -> None: ... + def setVerticalHeaderItem(self, row: int, item: 'QStandardItem') -> None: ... + def verticalHeaderItem(self, row: int) -> 'QStandardItem': ... + def setHorizontalHeaderItem(self, column: int, item: 'QStandardItem') -> None: ... + def horizontalHeaderItem(self, column: int) -> 'QStandardItem': ... + def invisibleRootItem(self) -> 'QStandardItem': ... + @typing.overload + def setItem(self, row: int, column: int, item: 'QStandardItem') -> None: ... + @typing.overload + def setItem(self, arow: int, aitem: 'QStandardItem') -> None: ... + def item(self, row: int, column: int = ...) -> 'QStandardItem': ... + def indexFromItem(self, item: 'QStandardItem') -> QtCore.QModelIndex: ... + def itemFromIndex(self, index: QtCore.QModelIndex) -> 'QStandardItem': ... + def sort(self, column: int, order: QtCore.Qt.SortOrder = ...) -> None: ... + def setItemData(self, index: QtCore.QModelIndex, roles: typing.Dict[int, typing.Any]) -> bool: ... + def itemData(self, index: QtCore.QModelIndex) -> typing.Dict[int, typing.Any]: ... + def supportedDropActions(self) -> QtCore.Qt.DropActions: ... + def clear(self) -> None: ... + def flags(self, index: QtCore.QModelIndex) -> QtCore.Qt.ItemFlags: ... + def removeColumns(self, column: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def removeRows(self, row: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def insertColumns(self, column: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def insertRows(self, row: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def setHeaderData(self, section: int, orientation: QtCore.Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ... + def headerData(self, section: int, orientation: QtCore.Qt.Orientation, role: int = ...) -> typing.Any: ... + def setData(self, index: QtCore.QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, index: QtCore.QModelIndex, role: int = ...) -> typing.Any: ... + def hasChildren(self, parent: QtCore.QModelIndex = ...) -> bool: ... + def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + @typing.overload + def parent(self, child: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + @typing.overload + def parent(self) -> QtCore.QObject: ... + def index(self, row: int, column: int, parent: QtCore.QModelIndex = ...) -> QtCore.QModelIndex: ... + + +class QStandardItem(PyQt5.sip.wrapper): + + class ItemType(int): + Type = ... # type: QStandardItem.ItemType + UserType = ... # type: QStandardItem.ItemType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, text: str) -> None: ... + @typing.overload + def __init__(self, icon: QIcon, text: str) -> None: ... + @typing.overload + def __init__(self, rows: int, columns: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QStandardItem') -> None: ... + + def clearData(self) -> None: ... + def setUserTristate(self, tristate: bool) -> None: ... + def isUserTristate(self) -> bool: ... + def setAutoTristate(self, tristate: bool) -> None: ... + def isAutoTristate(self) -> bool: ... + def emitDataChanged(self) -> None: ... + def appendRows(self, items: typing.Iterable['QStandardItem']) -> None: ... + def appendColumn(self, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def appendRow(self, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def appendRow(self, aitem: 'QStandardItem') -> None: ... + def setAccessibleDescription(self, aaccessibleDescription: str) -> None: ... + def setAccessibleText(self, aaccessibleText: str) -> None: ... + def setCheckState(self, acheckState: QtCore.Qt.CheckState) -> None: ... + def setForeground(self, abrush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def setBackground(self, abrush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def setTextAlignment(self, atextAlignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def setFont(self, afont: QFont) -> None: ... + def setSizeHint(self, asizeHint: QtCore.QSize) -> None: ... + def setWhatsThis(self, awhatsThis: str) -> None: ... + def setStatusTip(self, astatusTip: str) -> None: ... + def setToolTip(self, atoolTip: str) -> None: ... + def setIcon(self, aicon: QIcon) -> None: ... + def setText(self, atext: str) -> None: ... + def write(self, out: QtCore.QDataStream) -> None: ... + def read(self, in_: QtCore.QDataStream) -> None: ... + def type(self) -> int: ... + def clone(self) -> 'QStandardItem': ... + def sortChildren(self, column: int, order: QtCore.Qt.SortOrder = ...) -> None: ... + def takeColumn(self, column: int) -> typing.List['QStandardItem']: ... + def takeRow(self, row: int) -> typing.List['QStandardItem']: ... + def takeChild(self, row: int, column: int = ...) -> 'QStandardItem': ... + def removeColumns(self, column: int, count: int) -> None: ... + def removeRows(self, row: int, count: int) -> None: ... + def removeColumn(self, column: int) -> None: ... + def removeRow(self, row: int) -> None: ... + def insertColumns(self, column: int, count: int) -> None: ... + def insertColumn(self, column: int, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def insertRows(self, row: int, count: int) -> None: ... + @typing.overload + def insertRows(self, row: int, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def insertRow(self, row: int, items: typing.Iterable['QStandardItem']) -> None: ... + @typing.overload + def insertRow(self, arow: int, aitem: 'QStandardItem') -> None: ... + @typing.overload + def setChild(self, row: int, column: int, item: 'QStandardItem') -> None: ... + @typing.overload + def setChild(self, arow: int, aitem: 'QStandardItem') -> None: ... + def child(self, row: int, column: int = ...) -> 'QStandardItem': ... + def hasChildren(self) -> bool: ... + def setColumnCount(self, columns: int) -> None: ... + def columnCount(self) -> int: ... + def setRowCount(self, rows: int) -> None: ... + def rowCount(self) -> int: ... + def model(self) -> QStandardItemModel: ... + def index(self) -> QtCore.QModelIndex: ... + def column(self) -> int: ... + def row(self) -> int: ... + def parent(self) -> 'QStandardItem': ... + def setDropEnabled(self, dropEnabled: bool) -> None: ... + def isDropEnabled(self) -> bool: ... + def setDragEnabled(self, dragEnabled: bool) -> None: ... + def isDragEnabled(self) -> bool: ... + def setTristate(self, tristate: bool) -> None: ... + def isTristate(self) -> bool: ... + def setCheckable(self, checkable: bool) -> None: ... + def isCheckable(self) -> bool: ... + def setSelectable(self, selectable: bool) -> None: ... + def isSelectable(self) -> bool: ... + def setEditable(self, editable: bool) -> None: ... + def isEditable(self) -> bool: ... + def setEnabled(self, enabled: bool) -> None: ... + def isEnabled(self) -> bool: ... + def setFlags(self, flags: typing.Union[QtCore.Qt.ItemFlags, QtCore.Qt.ItemFlag]) -> None: ... + def flags(self) -> QtCore.Qt.ItemFlags: ... + def accessibleDescription(self) -> str: ... + def accessibleText(self) -> str: ... + def checkState(self) -> QtCore.Qt.CheckState: ... + def foreground(self) -> QBrush: ... + def background(self) -> QBrush: ... + def textAlignment(self) -> QtCore.Qt.Alignment: ... + def font(self) -> QFont: ... + def sizeHint(self) -> QtCore.QSize: ... + def whatsThis(self) -> str: ... + def statusTip(self) -> str: ... + def toolTip(self) -> str: ... + def icon(self) -> QIcon: ... + def text(self) -> str: ... + def setData(self, value: typing.Any, role: int = ...) -> None: ... + def data(self, role: int = ...) -> typing.Any: ... + + +class QStaticText(sip.simplewrapper): + + class PerformanceHint(int): + ModerateCaching = ... # type: QStaticText.PerformanceHint + AggressiveCaching = ... # type: QStaticText.PerformanceHint + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, text: str) -> None: ... + @typing.overload + def __init__(self, other: 'QStaticText') -> None: ... + + def swap(self, other: 'QStaticText') -> None: ... + def performanceHint(self) -> 'QStaticText.PerformanceHint': ... + def setPerformanceHint(self, performanceHint: 'QStaticText.PerformanceHint') -> None: ... + def prepare(self, matrix: 'QTransform' = ..., font: QFont = ...) -> None: ... + def size(self) -> QtCore.QSizeF: ... + def textOption(self) -> 'QTextOption': ... + def setTextOption(self, textOption: 'QTextOption') -> None: ... + def textWidth(self) -> float: ... + def setTextWidth(self, textWidth: float) -> None: ... + def textFormat(self) -> QtCore.Qt.TextFormat: ... + def setTextFormat(self, textFormat: QtCore.Qt.TextFormat) -> None: ... + def text(self) -> str: ... + def setText(self, text: str) -> None: ... + + +class QStyleHints(QtCore.QObject): + + def touchDoubleTapDistance(self) -> int: ... + def mouseDoubleClickDistance(self) -> int: ... + def showShortcutsInContextMenusChanged(self, a0: bool) -> None: ... + def setShowShortcutsInContextMenus(self, showShortcutsInContextMenus: bool) -> None: ... + def mouseQuickSelectionThresholdChanged(self, threshold: int) -> None: ... + def mouseQuickSelectionThreshold(self) -> int: ... + def showShortcutsInContextMenus(self) -> bool: ... + def wheelScrollLinesChanged(self, scrollLines: int) -> None: ... + def wheelScrollLines(self) -> int: ... + def useHoverEffectsChanged(self, useHoverEffects: bool) -> None: ... + def setUseHoverEffects(self, useHoverEffects: bool) -> None: ... + def useHoverEffects(self) -> bool: ... + def showIsMaximized(self) -> bool: ... + def tabFocusBehaviorChanged(self, tabFocusBehavior: QtCore.Qt.TabFocusBehavior) -> None: ... + def mousePressAndHoldIntervalChanged(self, mousePressAndHoldInterval: int) -> None: ... + def startDragTimeChanged(self, startDragTime: int) -> None: ... + def startDragDistanceChanged(self, startDragDistance: int) -> None: ... + def mouseDoubleClickIntervalChanged(self, mouseDoubleClickInterval: int) -> None: ... + def keyboardInputIntervalChanged(self, keyboardInputInterval: int) -> None: ... + def cursorFlashTimeChanged(self, cursorFlashTime: int) -> None: ... + def singleClickActivation(self) -> bool: ... + def tabFocusBehavior(self) -> QtCore.Qt.TabFocusBehavior: ... + def mousePressAndHoldInterval(self) -> int: ... + def setFocusOnTouchRelease(self) -> bool: ... + def passwordMaskCharacter(self) -> str: ... + def useRtlExtensions(self) -> bool: ... + def fontSmoothingGamma(self) -> float: ... + def passwordMaskDelay(self) -> int: ... + def showIsFullScreen(self) -> bool: ... + def cursorFlashTime(self) -> int: ... + def keyboardAutoRepeatRate(self) -> int: ... + def keyboardInputInterval(self) -> int: ... + def startDragVelocity(self) -> int: ... + def startDragTime(self) -> int: ... + def startDragDistance(self) -> int: ... + def mouseDoubleClickInterval(self) -> int: ... + + +class QSurfaceFormat(sip.simplewrapper): + + class ColorSpace(int): + DefaultColorSpace = ... # type: QSurfaceFormat.ColorSpace + sRGBColorSpace = ... # type: QSurfaceFormat.ColorSpace + + class OpenGLContextProfile(int): + NoProfile = ... # type: QSurfaceFormat.OpenGLContextProfile + CoreProfile = ... # type: QSurfaceFormat.OpenGLContextProfile + CompatibilityProfile = ... # type: QSurfaceFormat.OpenGLContextProfile + + class RenderableType(int): + DefaultRenderableType = ... # type: QSurfaceFormat.RenderableType + OpenGL = ... # type: QSurfaceFormat.RenderableType + OpenGLES = ... # type: QSurfaceFormat.RenderableType + OpenVG = ... # type: QSurfaceFormat.RenderableType + + class SwapBehavior(int): + DefaultSwapBehavior = ... # type: QSurfaceFormat.SwapBehavior + SingleBuffer = ... # type: QSurfaceFormat.SwapBehavior + DoubleBuffer = ... # type: QSurfaceFormat.SwapBehavior + TripleBuffer = ... # type: QSurfaceFormat.SwapBehavior + + class FormatOption(int): + StereoBuffers = ... # type: QSurfaceFormat.FormatOption + DebugContext = ... # type: QSurfaceFormat.FormatOption + DeprecatedFunctions = ... # type: QSurfaceFormat.FormatOption + ResetNotification = ... # type: QSurfaceFormat.FormatOption + + class FormatOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSurfaceFormat.FormatOptions', 'QSurfaceFormat.FormatOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSurfaceFormat.FormatOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSurfaceFormat.FormatOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, options: typing.Union['QSurfaceFormat.FormatOptions', 'QSurfaceFormat.FormatOption']) -> None: ... + @typing.overload + def __init__(self, other: 'QSurfaceFormat') -> None: ... + + def setColorSpace(self, colorSpace: 'QSurfaceFormat.ColorSpace') -> None: ... + def colorSpace(self) -> 'QSurfaceFormat.ColorSpace': ... + @staticmethod + def defaultFormat() -> 'QSurfaceFormat': ... + @staticmethod + def setDefaultFormat(format: 'QSurfaceFormat') -> None: ... + def setSwapInterval(self, interval: int) -> None: ... + def swapInterval(self) -> int: ... + def options(self) -> 'QSurfaceFormat.FormatOptions': ... + def setOptions(self, options: typing.Union['QSurfaceFormat.FormatOptions', 'QSurfaceFormat.FormatOption']) -> None: ... + def setVersion(self, major: int, minor: int) -> None: ... + def version(self) -> typing.Tuple[int, int]: ... + def stereo(self) -> bool: ... + @typing.overload + def testOption(self, opt: typing.Union['QSurfaceFormat.FormatOptions', 'QSurfaceFormat.FormatOption']) -> bool: ... + @typing.overload + def testOption(self, option: 'QSurfaceFormat.FormatOption') -> bool: ... + @typing.overload + def setOption(self, opt: typing.Union['QSurfaceFormat.FormatOptions', 'QSurfaceFormat.FormatOption']) -> None: ... + @typing.overload + def setOption(self, option: 'QSurfaceFormat.FormatOption', on: bool = ...) -> None: ... + def setStereo(self, enable: bool) -> None: ... + def minorVersion(self) -> int: ... + def setMinorVersion(self, minorVersion: int) -> None: ... + def majorVersion(self) -> int: ... + def setMajorVersion(self, majorVersion: int) -> None: ... + def renderableType(self) -> 'QSurfaceFormat.RenderableType': ... + def setRenderableType(self, type: 'QSurfaceFormat.RenderableType') -> None: ... + def profile(self) -> 'QSurfaceFormat.OpenGLContextProfile': ... + def setProfile(self, profile: 'QSurfaceFormat.OpenGLContextProfile') -> None: ... + def hasAlpha(self) -> bool: ... + def swapBehavior(self) -> 'QSurfaceFormat.SwapBehavior': ... + def setSwapBehavior(self, behavior: 'QSurfaceFormat.SwapBehavior') -> None: ... + def samples(self) -> int: ... + def setSamples(self, numSamples: int) -> None: ... + def alphaBufferSize(self) -> int: ... + def setAlphaBufferSize(self, size: int) -> None: ... + def blueBufferSize(self) -> int: ... + def setBlueBufferSize(self, size: int) -> None: ... + def greenBufferSize(self) -> int: ... + def setGreenBufferSize(self, size: int) -> None: ... + def redBufferSize(self) -> int: ... + def setRedBufferSize(self, size: int) -> None: ... + def stencilBufferSize(self) -> int: ... + def setStencilBufferSize(self, size: int) -> None: ... + def depthBufferSize(self) -> int: ... + def setDepthBufferSize(self, size: int) -> None: ... + + +class QSyntaxHighlighter(QtCore.QObject): + + @typing.overload + def __init__(self, parent: 'QTextDocument') -> None: ... + @typing.overload + def __init__(self, parent: QtCore.QObject) -> None: ... + + def currentBlock(self) -> 'QTextBlock': ... + def currentBlockUserData(self) -> 'QTextBlockUserData': ... + def setCurrentBlockUserData(self, data: 'QTextBlockUserData') -> None: ... + def setCurrentBlockState(self, newState: int) -> None: ... + def currentBlockState(self) -> int: ... + def previousBlockState(self) -> int: ... + def format(self, pos: int) -> 'QTextCharFormat': ... + @typing.overload + def setFormat(self, start: int, count: int, format: 'QTextCharFormat') -> None: ... + @typing.overload + def setFormat(self, start: int, count: int, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + @typing.overload + def setFormat(self, start: int, count: int, font: QFont) -> None: ... + def highlightBlock(self, text: str) -> None: ... + def rehighlightBlock(self, block: 'QTextBlock') -> None: ... + def rehighlight(self) -> None: ... + def document(self) -> 'QTextDocument': ... + def setDocument(self, doc: 'QTextDocument') -> None: ... + + +class QTextCursor(sip.simplewrapper): + + class SelectionType(int): + WordUnderCursor = ... # type: QTextCursor.SelectionType + LineUnderCursor = ... # type: QTextCursor.SelectionType + BlockUnderCursor = ... # type: QTextCursor.SelectionType + Document = ... # type: QTextCursor.SelectionType + + class MoveOperation(int): + NoMove = ... # type: QTextCursor.MoveOperation + Start = ... # type: QTextCursor.MoveOperation + Up = ... # type: QTextCursor.MoveOperation + StartOfLine = ... # type: QTextCursor.MoveOperation + StartOfBlock = ... # type: QTextCursor.MoveOperation + StartOfWord = ... # type: QTextCursor.MoveOperation + PreviousBlock = ... # type: QTextCursor.MoveOperation + PreviousCharacter = ... # type: QTextCursor.MoveOperation + PreviousWord = ... # type: QTextCursor.MoveOperation + Left = ... # type: QTextCursor.MoveOperation + WordLeft = ... # type: QTextCursor.MoveOperation + End = ... # type: QTextCursor.MoveOperation + Down = ... # type: QTextCursor.MoveOperation + EndOfLine = ... # type: QTextCursor.MoveOperation + EndOfWord = ... # type: QTextCursor.MoveOperation + EndOfBlock = ... # type: QTextCursor.MoveOperation + NextBlock = ... # type: QTextCursor.MoveOperation + NextCharacter = ... # type: QTextCursor.MoveOperation + NextWord = ... # type: QTextCursor.MoveOperation + Right = ... # type: QTextCursor.MoveOperation + WordRight = ... # type: QTextCursor.MoveOperation + NextCell = ... # type: QTextCursor.MoveOperation + PreviousCell = ... # type: QTextCursor.MoveOperation + NextRow = ... # type: QTextCursor.MoveOperation + PreviousRow = ... # type: QTextCursor.MoveOperation + + class MoveMode(int): + MoveAnchor = ... # type: QTextCursor.MoveMode + KeepAnchor = ... # type: QTextCursor.MoveMode + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, document: 'QTextDocument') -> None: ... + @typing.overload + def __init__(self, frame: 'QTextFrame') -> None: ... + @typing.overload + def __init__(self, block: 'QTextBlock') -> None: ... + @typing.overload + def __init__(self, cursor: 'QTextCursor') -> None: ... + + def swap(self, other: 'QTextCursor') -> None: ... + def keepPositionOnInsert(self) -> bool: ... + def setKeepPositionOnInsert(self, b: bool) -> None: ... + def verticalMovementX(self) -> int: ... + def setVerticalMovementX(self, x: int) -> None: ... + def positionInBlock(self) -> int: ... + def document(self) -> 'QTextDocument': ... + def setVisualNavigation(self, b: bool) -> None: ... + def visualNavigation(self) -> bool: ... + def isCopyOf(self, other: 'QTextCursor') -> bool: ... + def columnNumber(self) -> int: ... + def blockNumber(self) -> int: ... + def endEditBlock(self) -> None: ... + def joinPreviousEditBlock(self) -> None: ... + def beginEditBlock(self) -> None: ... + @typing.overload + def insertImage(self, format: 'QTextImageFormat') -> None: ... + @typing.overload + def insertImage(self, format: 'QTextImageFormat', alignment: 'QTextFrameFormat.Position') -> None: ... + @typing.overload + def insertImage(self, name: str) -> None: ... + @typing.overload + def insertImage(self, image: QImage, name: str = ...) -> None: ... + def insertHtml(self, html: str) -> None: ... + def insertFragment(self, fragment: 'QTextDocumentFragment') -> None: ... + def currentFrame(self) -> 'QTextFrame': ... + def insertFrame(self, format: 'QTextFrameFormat') -> 'QTextFrame': ... + def currentTable(self) -> 'QTextTable': ... + @typing.overload + def insertTable(self, rows: int, cols: int, format: 'QTextTableFormat') -> 'QTextTable': ... + @typing.overload + def insertTable(self, rows: int, cols: int) -> 'QTextTable': ... + def currentList(self) -> 'QTextList': ... + @typing.overload + def createList(self, format: 'QTextListFormat') -> 'QTextList': ... + @typing.overload + def createList(self, style: 'QTextListFormat.Style') -> 'QTextList': ... + @typing.overload + def insertList(self, format: 'QTextListFormat') -> 'QTextList': ... + @typing.overload + def insertList(self, style: 'QTextListFormat.Style') -> 'QTextList': ... + @typing.overload + def insertBlock(self) -> None: ... + @typing.overload + def insertBlock(self, format: 'QTextBlockFormat') -> None: ... + @typing.overload + def insertBlock(self, format: 'QTextBlockFormat', charFormat: 'QTextCharFormat') -> None: ... + def atEnd(self) -> bool: ... + def atStart(self) -> bool: ... + def atBlockEnd(self) -> bool: ... + def atBlockStart(self) -> bool: ... + def mergeBlockCharFormat(self, modifier: 'QTextCharFormat') -> None: ... + def setBlockCharFormat(self, format: 'QTextCharFormat') -> None: ... + def blockCharFormat(self) -> 'QTextCharFormat': ... + def mergeBlockFormat(self, modifier: 'QTextBlockFormat') -> None: ... + def setBlockFormat(self, format: 'QTextBlockFormat') -> None: ... + def blockFormat(self) -> 'QTextBlockFormat': ... + def mergeCharFormat(self, modifier: 'QTextCharFormat') -> None: ... + def setCharFormat(self, format: 'QTextCharFormat') -> None: ... + def charFormat(self) -> 'QTextCharFormat': ... + def block(self) -> 'QTextBlock': ... + def selectedTableCells(self) -> typing.Tuple[int, int, int, int]: ... + def selection(self) -> 'QTextDocumentFragment': ... + def selectedText(self) -> str: ... + def selectionEnd(self) -> int: ... + def selectionStart(self) -> int: ... + def clearSelection(self) -> None: ... + def removeSelectedText(self) -> None: ... + def hasComplexSelection(self) -> bool: ... + def hasSelection(self) -> bool: ... + def select(self, selection: 'QTextCursor.SelectionType') -> None: ... + def deletePreviousChar(self) -> None: ... + def deleteChar(self) -> None: ... + def movePosition(self, op: 'QTextCursor.MoveOperation', mode: 'QTextCursor.MoveMode' = ..., n: int = ...) -> bool: ... + @typing.overload + def insertText(self, text: str) -> None: ... + @typing.overload + def insertText(self, text: str, format: 'QTextCharFormat') -> None: ... + def anchor(self) -> int: ... + def position(self) -> int: ... + def setPosition(self, pos: int, mode: 'QTextCursor.MoveMode' = ...) -> None: ... + def isNull(self) -> bool: ... + + +class Qt(PyQt5.sip.simplewrapper): + + def convertFromPlainText(self, plain: str, mode: QtCore.Qt.WhiteSpaceMode = ...) -> str: ... + def mightBeRichText(self, a0: str) -> bool: ... + + +class QTextDocument(QtCore.QObject): + + class MarkdownFeature(int): + MarkdownNoHTML = ... # type: QTextDocument.MarkdownFeature + MarkdownDialectCommonMark = ... # type: QTextDocument.MarkdownFeature + MarkdownDialectGitHub = ... # type: QTextDocument.MarkdownFeature + + class Stacks(int): + UndoStack = ... # type: QTextDocument.Stacks + RedoStack = ... # type: QTextDocument.Stacks + UndoAndRedoStacks = ... # type: QTextDocument.Stacks + + class ResourceType(int): + UnknownResource = ... # type: QTextDocument.ResourceType + HtmlResource = ... # type: QTextDocument.ResourceType + ImageResource = ... # type: QTextDocument.ResourceType + StyleSheetResource = ... # type: QTextDocument.ResourceType + MarkdownResource = ... # type: QTextDocument.ResourceType + UserResource = ... # type: QTextDocument.ResourceType + + class FindFlag(int): + FindBackward = ... # type: QTextDocument.FindFlag + FindCaseSensitively = ... # type: QTextDocument.FindFlag + FindWholeWords = ... # type: QTextDocument.FindFlag + + class MetaInformation(int): + DocumentTitle = ... # type: QTextDocument.MetaInformation + DocumentUrl = ... # type: QTextDocument.MetaInformation + + class FindFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextDocument.FindFlags', 'QTextDocument.FindFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextDocument.FindFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextDocument.FindFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class MarkdownFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextDocument.MarkdownFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextDocument.MarkdownFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setMarkdown(self, markdown: str, features: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature'] = ...) -> None: ... + def toMarkdown(self, features: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature'] = ...) -> str: ... + def toRawText(self) -> str: ... + def baseUrlChanged(self, url: QtCore.QUrl) -> None: ... + def setBaseUrl(self, url: QtCore.QUrl) -> None: ... + def baseUrl(self) -> QtCore.QUrl: ... + def setDefaultCursorMoveStyle(self, style: QtCore.Qt.CursorMoveStyle) -> None: ... + def defaultCursorMoveStyle(self) -> QtCore.Qt.CursorMoveStyle: ... + def clearUndoRedoStacks(self, stacks: 'QTextDocument.Stacks' = ...) -> None: ... + def availableRedoSteps(self) -> int: ... + def availableUndoSteps(self) -> int: ... + def characterCount(self) -> int: ... + def lineCount(self) -> int: ... + def setDocumentMargin(self, margin: float) -> None: ... + def documentMargin(self) -> float: ... + def characterAt(self, pos: int) -> str: ... + def documentLayoutChanged(self) -> None: ... + def undoCommandAdded(self) -> None: ... + def setIndentWidth(self, width: float) -> None: ... + def indentWidth(self) -> float: ... + def lastBlock(self) -> 'QTextBlock': ... + def firstBlock(self) -> 'QTextBlock': ... + def findBlockByLineNumber(self, blockNumber: int) -> 'QTextBlock': ... + def findBlockByNumber(self, blockNumber: int) -> 'QTextBlock': ... + def revision(self) -> int: ... + def setDefaultTextOption(self, option: 'QTextOption') -> None: ... + def defaultTextOption(self) -> 'QTextOption': ... + def setMaximumBlockCount(self, maximum: int) -> None: ... + def maximumBlockCount(self) -> int: ... + def defaultStyleSheet(self) -> str: ... + def setDefaultStyleSheet(self, sheet: str) -> None: ... + def blockCount(self) -> int: ... + def size(self) -> QtCore.QSizeF: ... + def adjustSize(self) -> None: ... + def idealWidth(self) -> float: ... + def textWidth(self) -> float: ... + def setTextWidth(self, width: float) -> None: ... + def drawContents(self, p: QPainter, rect: QtCore.QRectF = ...) -> None: ... + def loadResource(self, type: int, name: QtCore.QUrl) -> typing.Any: ... + def createObject(self, f: 'QTextFormat') -> 'QTextObject': ... + def setModified(self, on: bool = ...) -> None: ... + @typing.overload + def redo(self) -> None: ... + @typing.overload + def redo(self, cursor: QTextCursor) -> None: ... + @typing.overload + def undo(self) -> None: ... + @typing.overload + def undo(self, cursor: QTextCursor) -> None: ... + def undoAvailable(self, a0: bool) -> None: ... + def redoAvailable(self, a0: bool) -> None: ... + def modificationChanged(self, m: bool) -> None: ... + def cursorPositionChanged(self, cursor: QTextCursor) -> None: ... + def contentsChanged(self) -> None: ... + def contentsChange(self, from_: int, charsRemoves: int, charsAdded: int) -> None: ... + def blockCountChanged(self, newBlockCount: int) -> None: ... + def useDesignMetrics(self) -> bool: ... + def setUseDesignMetrics(self, b: bool) -> None: ... + def markContentsDirty(self, from_: int, length: int) -> None: ... + def allFormats(self) -> typing.List['QTextFormat']: ... + def addResource(self, type: int, name: QtCore.QUrl, resource: typing.Any) -> None: ... + def resource(self, type: int, name: QtCore.QUrl) -> typing.Any: ... + def print(self, printer: QPagedPaintDevice) -> None: ... + def print_(self, printer: QPagedPaintDevice) -> None: ... + def isModified(self) -> bool: ... + def pageCount(self) -> int: ... + def defaultFont(self) -> QFont: ... + def setDefaultFont(self, font: QFont) -> None: ... + def pageSize(self) -> QtCore.QSizeF: ... + def setPageSize(self, size: QtCore.QSizeF) -> None: ... + def end(self) -> 'QTextBlock': ... + def begin(self) -> 'QTextBlock': ... + def findBlock(self, pos: int) -> 'QTextBlock': ... + def objectForFormat(self, a0: 'QTextFormat') -> 'QTextObject': ... + def object(self, objectIndex: int) -> 'QTextObject': ... + def rootFrame(self) -> 'QTextFrame': ... + @typing.overload + def find(self, subString: str, position: int = ..., options: 'QTextDocument.FindFlags' = ...) -> QTextCursor: ... + @typing.overload + def find(self, expr: QtCore.QRegExp, position: int = ..., options: 'QTextDocument.FindFlags' = ...) -> QTextCursor: ... + @typing.overload + def find(self, expr: QtCore.QRegularExpression, position: int = ..., options: 'QTextDocument.FindFlags' = ...) -> QTextCursor: ... + @typing.overload + def find(self, subString: str, cursor: QTextCursor, options: 'QTextDocument.FindFlags' = ...) -> QTextCursor: ... + @typing.overload + def find(self, expr: QtCore.QRegExp, cursor: QTextCursor, options: 'QTextDocument.FindFlags' = ...) -> QTextCursor: ... + @typing.overload + def find(self, expr: QtCore.QRegularExpression, cursor: QTextCursor, options: 'QTextDocument.FindFlags' = ...) -> QTextCursor: ... + def setPlainText(self, text: str) -> None: ... + def toPlainText(self) -> str: ... + def setHtml(self, html: str) -> None: ... + def toHtml(self, encoding: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> str: ... + def metaInformation(self, info: 'QTextDocument.MetaInformation') -> str: ... + def setMetaInformation(self, info: 'QTextDocument.MetaInformation', a1: str) -> None: ... + def documentLayout(self) -> QAbstractTextDocumentLayout: ... + def setDocumentLayout(self, layout: QAbstractTextDocumentLayout) -> None: ... + def isRedoAvailable(self) -> bool: ... + def isUndoAvailable(self) -> bool: ... + def isUndoRedoEnabled(self) -> bool: ... + def setUndoRedoEnabled(self, enable: bool) -> None: ... + def clear(self) -> None: ... + def isEmpty(self) -> bool: ... + def clone(self, parent: typing.Optional[QtCore.QObject] = ...) -> 'QTextDocument': ... + + +class QTextDocumentFragment(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, document: QTextDocument) -> None: ... + @typing.overload + def __init__(self, range: QTextCursor) -> None: ... + @typing.overload + def __init__(self, rhs: 'QTextDocumentFragment') -> None: ... + + @typing.overload + @staticmethod + def fromHtml(html: str) -> 'QTextDocumentFragment': ... + @typing.overload + @staticmethod + def fromHtml(html: str, resourceProvider: QTextDocument) -> 'QTextDocumentFragment': ... + @staticmethod + def fromPlainText(plainText: str) -> 'QTextDocumentFragment': ... + def toHtml(self, encoding: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> str: ... + def toPlainText(self) -> str: ... + def isEmpty(self) -> bool: ... + + +class QTextDocumentWriter(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, device: QtCore.QIODevice, format: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def __init__(self, fileName: str, format: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + + @staticmethod + def supportedDocumentFormats() -> typing.List[QtCore.QByteArray]: ... + def codec(self) -> QtCore.QTextCodec: ... + def setCodec(self, codec: QtCore.QTextCodec) -> None: ... + @typing.overload + def write(self, document: QTextDocument) -> bool: ... + @typing.overload + def write(self, fragment: QTextDocumentFragment) -> bool: ... + def fileName(self) -> str: ... + def setFileName(self, fileName: str) -> None: ... + def device(self) -> QtCore.QIODevice: ... + def setDevice(self, device: QtCore.QIODevice) -> None: ... + def format(self) -> QtCore.QByteArray: ... + def setFormat(self, format: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + + +class QTextLength(sip.simplewrapper): + + class Type(int): + VariableLength = ... # type: QTextLength.Type + FixedLength = ... # type: QTextLength.Type + PercentageLength = ... # type: QTextLength.Type + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, atype: 'QTextLength.Type', avalue: float) -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextLength') -> None: ... + + def rawValue(self) -> float: ... + def value(self, maximumLength: float) -> float: ... + def type(self) -> 'QTextLength.Type': ... + + +class QTextFormat(sip.simplewrapper): + + class Property(int): + ObjectIndex = ... # type: QTextFormat.Property + CssFloat = ... # type: QTextFormat.Property + LayoutDirection = ... # type: QTextFormat.Property + OutlinePen = ... # type: QTextFormat.Property + BackgroundBrush = ... # type: QTextFormat.Property + ForegroundBrush = ... # type: QTextFormat.Property + BlockAlignment = ... # type: QTextFormat.Property + BlockTopMargin = ... # type: QTextFormat.Property + BlockBottomMargin = ... # type: QTextFormat.Property + BlockLeftMargin = ... # type: QTextFormat.Property + BlockRightMargin = ... # type: QTextFormat.Property + TextIndent = ... # type: QTextFormat.Property + BlockIndent = ... # type: QTextFormat.Property + BlockNonBreakableLines = ... # type: QTextFormat.Property + BlockTrailingHorizontalRulerWidth = ... # type: QTextFormat.Property + FontFamily = ... # type: QTextFormat.Property + FontPointSize = ... # type: QTextFormat.Property + FontSizeAdjustment = ... # type: QTextFormat.Property + FontSizeIncrement = ... # type: QTextFormat.Property + FontWeight = ... # type: QTextFormat.Property + FontItalic = ... # type: QTextFormat.Property + FontUnderline = ... # type: QTextFormat.Property + FontOverline = ... # type: QTextFormat.Property + FontStrikeOut = ... # type: QTextFormat.Property + FontFixedPitch = ... # type: QTextFormat.Property + FontPixelSize = ... # type: QTextFormat.Property + TextUnderlineColor = ... # type: QTextFormat.Property + TextVerticalAlignment = ... # type: QTextFormat.Property + TextOutline = ... # type: QTextFormat.Property + IsAnchor = ... # type: QTextFormat.Property + AnchorHref = ... # type: QTextFormat.Property + AnchorName = ... # type: QTextFormat.Property + ObjectType = ... # type: QTextFormat.Property + ListStyle = ... # type: QTextFormat.Property + ListIndent = ... # type: QTextFormat.Property + FrameBorder = ... # type: QTextFormat.Property + FrameMargin = ... # type: QTextFormat.Property + FramePadding = ... # type: QTextFormat.Property + FrameWidth = ... # type: QTextFormat.Property + FrameHeight = ... # type: QTextFormat.Property + TableColumns = ... # type: QTextFormat.Property + TableColumnWidthConstraints = ... # type: QTextFormat.Property + TableCellSpacing = ... # type: QTextFormat.Property + TableCellPadding = ... # type: QTextFormat.Property + TableCellRowSpan = ... # type: QTextFormat.Property + TableCellColumnSpan = ... # type: QTextFormat.Property + ImageName = ... # type: QTextFormat.Property + ImageWidth = ... # type: QTextFormat.Property + ImageHeight = ... # type: QTextFormat.Property + TextUnderlineStyle = ... # type: QTextFormat.Property + TableHeaderRowCount = ... # type: QTextFormat.Property + FullWidthSelection = ... # type: QTextFormat.Property + PageBreakPolicy = ... # type: QTextFormat.Property + TextToolTip = ... # type: QTextFormat.Property + FrameTopMargin = ... # type: QTextFormat.Property + FrameBottomMargin = ... # type: QTextFormat.Property + FrameLeftMargin = ... # type: QTextFormat.Property + FrameRightMargin = ... # type: QTextFormat.Property + FrameBorderBrush = ... # type: QTextFormat.Property + FrameBorderStyle = ... # type: QTextFormat.Property + BackgroundImageUrl = ... # type: QTextFormat.Property + TabPositions = ... # type: QTextFormat.Property + FirstFontProperty = ... # type: QTextFormat.Property + FontCapitalization = ... # type: QTextFormat.Property + FontLetterSpacing = ... # type: QTextFormat.Property + FontWordSpacing = ... # type: QTextFormat.Property + LastFontProperty = ... # type: QTextFormat.Property + TableCellTopPadding = ... # type: QTextFormat.Property + TableCellBottomPadding = ... # type: QTextFormat.Property + TableCellLeftPadding = ... # type: QTextFormat.Property + TableCellRightPadding = ... # type: QTextFormat.Property + FontStyleHint = ... # type: QTextFormat.Property + FontStyleStrategy = ... # type: QTextFormat.Property + FontKerning = ... # type: QTextFormat.Property + LineHeight = ... # type: QTextFormat.Property + LineHeightType = ... # type: QTextFormat.Property + FontHintingPreference = ... # type: QTextFormat.Property + ListNumberPrefix = ... # type: QTextFormat.Property + ListNumberSuffix = ... # type: QTextFormat.Property + FontStretch = ... # type: QTextFormat.Property + FontLetterSpacingType = ... # type: QTextFormat.Property + HeadingLevel = ... # type: QTextFormat.Property + ImageQuality = ... # type: QTextFormat.Property + FontFamilies = ... # type: QTextFormat.Property + FontStyleName = ... # type: QTextFormat.Property + BlockQuoteLevel = ... # type: QTextFormat.Property + BlockCodeLanguage = ... # type: QTextFormat.Property + BlockCodeFence = ... # type: QTextFormat.Property + BlockMarker = ... # type: QTextFormat.Property + TableBorderCollapse = ... # type: QTextFormat.Property + TableCellTopBorder = ... # type: QTextFormat.Property + TableCellBottomBorder = ... # type: QTextFormat.Property + TableCellLeftBorder = ... # type: QTextFormat.Property + TableCellRightBorder = ... # type: QTextFormat.Property + TableCellTopBorderStyle = ... # type: QTextFormat.Property + TableCellBottomBorderStyle = ... # type: QTextFormat.Property + TableCellLeftBorderStyle = ... # type: QTextFormat.Property + TableCellRightBorderStyle = ... # type: QTextFormat.Property + TableCellTopBorderBrush = ... # type: QTextFormat.Property + TableCellBottomBorderBrush = ... # type: QTextFormat.Property + TableCellLeftBorderBrush = ... # type: QTextFormat.Property + TableCellRightBorderBrush = ... # type: QTextFormat.Property + ImageTitle = ... # type: QTextFormat.Property + ImageAltText = ... # type: QTextFormat.Property + UserProperty = ... # type: QTextFormat.Property + + class PageBreakFlag(int): + PageBreak_Auto = ... # type: QTextFormat.PageBreakFlag + PageBreak_AlwaysBefore = ... # type: QTextFormat.PageBreakFlag + PageBreak_AlwaysAfter = ... # type: QTextFormat.PageBreakFlag + + class ObjectTypes(int): + NoObject = ... # type: QTextFormat.ObjectTypes + ImageObject = ... # type: QTextFormat.ObjectTypes + TableObject = ... # type: QTextFormat.ObjectTypes + TableCellObject = ... # type: QTextFormat.ObjectTypes + UserObject = ... # type: QTextFormat.ObjectTypes + + class FormatType(int): + InvalidFormat = ... # type: QTextFormat.FormatType + BlockFormat = ... # type: QTextFormat.FormatType + CharFormat = ... # type: QTextFormat.FormatType + ListFormat = ... # type: QTextFormat.FormatType + TableFormat = ... # type: QTextFormat.FormatType + FrameFormat = ... # type: QTextFormat.FormatType + UserFormat = ... # type: QTextFormat.FormatType + + class PageBreakFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextFormat.PageBreakFlags', 'QTextFormat.PageBreakFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextFormat.PageBreakFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextFormat.PageBreakFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, type: int) -> None: ... + @typing.overload + def __init__(self, rhs: 'QTextFormat') -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + + def isEmpty(self) -> bool: ... + def swap(self, other: 'QTextFormat') -> None: ... + def toTableCellFormat(self) -> 'QTextTableCellFormat': ... + def isTableCellFormat(self) -> bool: ... + def propertyCount(self) -> int: ... + def setObjectType(self, atype: int) -> None: ... + def clearForeground(self) -> None: ... + def foreground(self) -> QBrush: ... + def setForeground(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def clearBackground(self) -> None: ... + def background(self) -> QBrush: ... + def setBackground(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def layoutDirection(self) -> QtCore.Qt.LayoutDirection: ... + def setLayoutDirection(self, direction: QtCore.Qt.LayoutDirection) -> None: ... + def toImageFormat(self) -> 'QTextImageFormat': ... + def toFrameFormat(self) -> 'QTextFrameFormat': ... + def toTableFormat(self) -> 'QTextTableFormat': ... + def toListFormat(self) -> 'QTextListFormat': ... + def toCharFormat(self) -> 'QTextCharFormat': ... + def toBlockFormat(self) -> 'QTextBlockFormat': ... + def isTableFormat(self) -> bool: ... + def isImageFormat(self) -> bool: ... + def isFrameFormat(self) -> bool: ... + def isListFormat(self) -> bool: ... + def isBlockFormat(self) -> bool: ... + def isCharFormat(self) -> bool: ... + def objectType(self) -> int: ... + def properties(self) -> typing.Dict[int, typing.Any]: ... + def lengthVectorProperty(self, propertyId: int) -> typing.List[QTextLength]: ... + def lengthProperty(self, propertyId: int) -> QTextLength: ... + def brushProperty(self, propertyId: int) -> QBrush: ... + def penProperty(self, propertyId: int) -> QPen: ... + def colorProperty(self, propertyId: int) -> QColor: ... + def stringProperty(self, propertyId: int) -> str: ... + def doubleProperty(self, propertyId: int) -> float: ... + def intProperty(self, propertyId: int) -> int: ... + def boolProperty(self, propertyId: int) -> bool: ... + def hasProperty(self, propertyId: int) -> bool: ... + def clearProperty(self, propertyId: int) -> None: ... + @typing.overload + def setProperty(self, propertyId: int, value: typing.Any) -> None: ... + @typing.overload + def setProperty(self, propertyId: int, lengths: typing.Iterable[QTextLength]) -> None: ... + def property(self, propertyId: int) -> typing.Any: ... + def setObjectIndex(self, object: int) -> None: ... + def objectIndex(self) -> int: ... + def type(self) -> int: ... + def isValid(self) -> bool: ... + def merge(self, other: 'QTextFormat') -> None: ... + + +class QTextCharFormat(QTextFormat): + + class FontPropertiesInheritanceBehavior(int): + FontPropertiesSpecifiedOnly = ... # type: QTextCharFormat.FontPropertiesInheritanceBehavior + FontPropertiesAll = ... # type: QTextCharFormat.FontPropertiesInheritanceBehavior + + class UnderlineStyle(int): + NoUnderline = ... # type: QTextCharFormat.UnderlineStyle + SingleUnderline = ... # type: QTextCharFormat.UnderlineStyle + DashUnderline = ... # type: QTextCharFormat.UnderlineStyle + DotLine = ... # type: QTextCharFormat.UnderlineStyle + DashDotLine = ... # type: QTextCharFormat.UnderlineStyle + DashDotDotLine = ... # type: QTextCharFormat.UnderlineStyle + WaveUnderline = ... # type: QTextCharFormat.UnderlineStyle + SpellCheckUnderline = ... # type: QTextCharFormat.UnderlineStyle + + class VerticalAlignment(int): + AlignNormal = ... # type: QTextCharFormat.VerticalAlignment + AlignSuperScript = ... # type: QTextCharFormat.VerticalAlignment + AlignSubScript = ... # type: QTextCharFormat.VerticalAlignment + AlignMiddle = ... # type: QTextCharFormat.VerticalAlignment + AlignTop = ... # type: QTextCharFormat.VerticalAlignment + AlignBottom = ... # type: QTextCharFormat.VerticalAlignment + AlignBaseline = ... # type: QTextCharFormat.VerticalAlignment + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextCharFormat') -> None: ... + + def fontStyleName(self) -> typing.Any: ... + def setFontStyleName(self, styleName: str) -> None: ... + def fontFamilies(self) -> typing.Any: ... + def setFontFamilies(self, families: typing.Iterable[str]) -> None: ... + def fontLetterSpacingType(self) -> QFont.SpacingType: ... + def setFontLetterSpacingType(self, letterSpacingType: QFont.SpacingType) -> None: ... + def setFontStretch(self, factor: int) -> None: ... + def fontStretch(self) -> int: ... + def fontHintingPreference(self) -> QFont.HintingPreference: ... + def setFontHintingPreference(self, hintingPreference: QFont.HintingPreference) -> None: ... + def fontKerning(self) -> bool: ... + def setFontKerning(self, enable: bool) -> None: ... + def fontStyleStrategy(self) -> QFont.StyleStrategy: ... + def fontStyleHint(self) -> QFont.StyleHint: ... + def setFontStyleStrategy(self, strategy: QFont.StyleStrategy) -> None: ... + def setFontStyleHint(self, hint: QFont.StyleHint, strategy: QFont.StyleStrategy = ...) -> None: ... + def fontWordSpacing(self) -> float: ... + def setFontWordSpacing(self, spacing: float) -> None: ... + def fontLetterSpacing(self) -> float: ... + def setFontLetterSpacing(self, spacing: float) -> None: ... + def fontCapitalization(self) -> QFont.Capitalization: ... + def setFontCapitalization(self, capitalization: QFont.Capitalization) -> None: ... + def anchorNames(self) -> typing.List[str]: ... + def setAnchorNames(self, names: typing.Iterable[str]) -> None: ... + def toolTip(self) -> str: ... + def setToolTip(self, tip: str) -> None: ... + def underlineStyle(self) -> 'QTextCharFormat.UnderlineStyle': ... + def setUnderlineStyle(self, style: 'QTextCharFormat.UnderlineStyle') -> None: ... + def textOutline(self) -> QPen: ... + def setTextOutline(self, pen: typing.Union[QPen, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def setTableCellColumnSpan(self, atableCellColumnSpan: int) -> None: ... + def setTableCellRowSpan(self, atableCellRowSpan: int) -> None: ... + def tableCellColumnSpan(self) -> int: ... + def tableCellRowSpan(self) -> int: ... + def anchorHref(self) -> str: ... + def setAnchorHref(self, value: str) -> None: ... + def isAnchor(self) -> bool: ... + def setAnchor(self, anchor: bool) -> None: ... + def verticalAlignment(self) -> 'QTextCharFormat.VerticalAlignment': ... + def setVerticalAlignment(self, alignment: 'QTextCharFormat.VerticalAlignment') -> None: ... + def fontFixedPitch(self) -> bool: ... + def setFontFixedPitch(self, fixedPitch: bool) -> None: ... + def underlineColor(self) -> QColor: ... + def setUnderlineColor(self, color: typing.Union[QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def fontStrikeOut(self) -> bool: ... + def setFontStrikeOut(self, strikeOut: bool) -> None: ... + def fontOverline(self) -> bool: ... + def setFontOverline(self, overline: bool) -> None: ... + def fontUnderline(self) -> bool: ... + def setFontUnderline(self, underline: bool) -> None: ... + def fontItalic(self) -> bool: ... + def setFontItalic(self, italic: bool) -> None: ... + def fontWeight(self) -> int: ... + def setFontWeight(self, weight: int) -> None: ... + def fontPointSize(self) -> float: ... + def setFontPointSize(self, size: float) -> None: ... + def fontFamily(self) -> str: ... + def setFontFamily(self, family: str) -> None: ... + def font(self) -> QFont: ... + @typing.overload + def setFont(self, font: QFont) -> None: ... + @typing.overload + def setFont(self, font: QFont, behavior: 'QTextCharFormat.FontPropertiesInheritanceBehavior') -> None: ... + def isValid(self) -> bool: ... + + +class QTextBlockFormat(QTextFormat): + + class MarkerType(int): + NoMarker = ... # type: QTextBlockFormat.MarkerType + Unchecked = ... # type: QTextBlockFormat.MarkerType + Checked = ... # type: QTextBlockFormat.MarkerType + + class LineHeightTypes(int): + SingleHeight = ... # type: QTextBlockFormat.LineHeightTypes + ProportionalHeight = ... # type: QTextBlockFormat.LineHeightTypes + FixedHeight = ... # type: QTextBlockFormat.LineHeightTypes + MinimumHeight = ... # type: QTextBlockFormat.LineHeightTypes + LineDistanceHeight = ... # type: QTextBlockFormat.LineHeightTypes + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextBlockFormat') -> None: ... + + def marker(self) -> 'QTextBlockFormat.MarkerType': ... + def setMarker(self, marker: 'QTextBlockFormat.MarkerType') -> None: ... + def headingLevel(self) -> int: ... + def setHeadingLevel(self, alevel: int) -> None: ... + def lineHeightType(self) -> int: ... + @typing.overload + def lineHeight(self) -> float: ... + @typing.overload + def lineHeight(self, scriptLineHeight: float, scaling: float = ...) -> float: ... + def setLineHeight(self, height: float, heightType: int) -> None: ... + def tabPositions(self) -> typing.List['QTextOption.Tab']: ... + def setTabPositions(self, tabs: typing.Iterable['QTextOption.Tab']) -> None: ... + def pageBreakPolicy(self) -> QTextFormat.PageBreakFlags: ... + def setPageBreakPolicy(self, flags: typing.Union[QTextFormat.PageBreakFlags, QTextFormat.PageBreakFlag]) -> None: ... + def setIndent(self, aindent: int) -> None: ... + def setAlignment(self, aalignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def nonBreakableLines(self) -> bool: ... + def setNonBreakableLines(self, b: bool) -> None: ... + def indent(self) -> int: ... + def textIndent(self) -> float: ... + def setTextIndent(self, margin: float) -> None: ... + def rightMargin(self) -> float: ... + def setRightMargin(self, margin: float) -> None: ... + def leftMargin(self) -> float: ... + def setLeftMargin(self, margin: float) -> None: ... + def bottomMargin(self) -> float: ... + def setBottomMargin(self, margin: float) -> None: ... + def topMargin(self) -> float: ... + def setTopMargin(self, margin: float) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def isValid(self) -> bool: ... + + +class QTextListFormat(QTextFormat): + + class Style(int): + ListDisc = ... # type: QTextListFormat.Style + ListCircle = ... # type: QTextListFormat.Style + ListSquare = ... # type: QTextListFormat.Style + ListDecimal = ... # type: QTextListFormat.Style + ListLowerAlpha = ... # type: QTextListFormat.Style + ListUpperAlpha = ... # type: QTextListFormat.Style + ListLowerRoman = ... # type: QTextListFormat.Style + ListUpperRoman = ... # type: QTextListFormat.Style + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextListFormat') -> None: ... + + def setNumberSuffix(self, ns: str) -> None: ... + def setNumberPrefix(self, np: str) -> None: ... + def numberSuffix(self) -> str: ... + def numberPrefix(self) -> str: ... + def setIndent(self, aindent: int) -> None: ... + def setStyle(self, astyle: 'QTextListFormat.Style') -> None: ... + def indent(self) -> int: ... + def style(self) -> 'QTextListFormat.Style': ... + def isValid(self) -> bool: ... + + +class QTextImageFormat(QTextCharFormat): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextImageFormat') -> None: ... + + def setQuality(self, quality: int = ...) -> None: ... + def setHeight(self, aheight: float) -> None: ... + def setWidth(self, awidth: float) -> None: ... + def setName(self, aname: str) -> None: ... + def quality(self) -> int: ... + def height(self) -> float: ... + def width(self) -> float: ... + def name(self) -> str: ... + def isValid(self) -> bool: ... + + +class QTextFrameFormat(QTextFormat): + + class BorderStyle(int): + BorderStyle_None = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_Dotted = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_Dashed = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_Solid = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_Double = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_DotDash = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_DotDotDash = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_Groove = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_Ridge = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_Inset = ... # type: QTextFrameFormat.BorderStyle + BorderStyle_Outset = ... # type: QTextFrameFormat.BorderStyle + + class Position(int): + InFlow = ... # type: QTextFrameFormat.Position + FloatLeft = ... # type: QTextFrameFormat.Position + FloatRight = ... # type: QTextFrameFormat.Position + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextFrameFormat') -> None: ... + + def setRightMargin(self, amargin: float) -> None: ... + def setLeftMargin(self, amargin: float) -> None: ... + def setBottomMargin(self, amargin: float) -> None: ... + def setTopMargin(self, amargin: float) -> None: ... + def rightMargin(self) -> float: ... + def leftMargin(self) -> float: ... + def bottomMargin(self) -> float: ... + def topMargin(self) -> float: ... + def borderStyle(self) -> 'QTextFrameFormat.BorderStyle': ... + def setBorderStyle(self, style: 'QTextFrameFormat.BorderStyle') -> None: ... + def borderBrush(self) -> QBrush: ... + def setBorderBrush(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def pageBreakPolicy(self) -> QTextFormat.PageBreakFlags: ... + def setPageBreakPolicy(self, flags: typing.Union[QTextFormat.PageBreakFlags, QTextFormat.PageBreakFlag]) -> None: ... + @typing.overload + def setHeight(self, aheight: float) -> None: ... + @typing.overload + def setHeight(self, aheight: QTextLength) -> None: ... + def setPadding(self, apadding: float) -> None: ... + def setMargin(self, amargin: float) -> None: ... + def setBorder(self, aborder: float) -> None: ... + def height(self) -> QTextLength: ... + def width(self) -> QTextLength: ... + @typing.overload + def setWidth(self, length: QTextLength) -> None: ... + @typing.overload + def setWidth(self, awidth: float) -> None: ... + def padding(self) -> float: ... + def margin(self) -> float: ... + def border(self) -> float: ... + def position(self) -> 'QTextFrameFormat.Position': ... + def setPosition(self, f: 'QTextFrameFormat.Position') -> None: ... + def isValid(self) -> bool: ... + + +class QTextTableFormat(QTextFrameFormat): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextTableFormat') -> None: ... + + def borderCollapse(self) -> bool: ... + def setBorderCollapse(self, borderCollapse: bool) -> None: ... + def headerRowCount(self) -> int: ... + def setHeaderRowCount(self, count: int) -> None: ... + def setAlignment(self, aalignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def setCellPadding(self, apadding: float) -> None: ... + def setColumns(self, acolumns: int) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def cellPadding(self) -> float: ... + def setCellSpacing(self, spacing: float) -> None: ... + def cellSpacing(self) -> float: ... + def clearColumnWidthConstraints(self) -> None: ... + def columnWidthConstraints(self) -> typing.List[QTextLength]: ... + def setColumnWidthConstraints(self, constraints: typing.Iterable[QTextLength]) -> None: ... + def columns(self) -> int: ... + def isValid(self) -> bool: ... + + +class QTextTableCellFormat(QTextCharFormat): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextTableCellFormat') -> None: ... + + def setBorderBrush(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def rightBorderBrush(self) -> QBrush: ... + def setRightBorderBrush(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def leftBorderBrush(self) -> QBrush: ... + def setLeftBorderBrush(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def bottomBorderBrush(self) -> QBrush: ... + def setBottomBorderBrush(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def topBorderBrush(self) -> QBrush: ... + def setTopBorderBrush(self, brush: typing.Union[QBrush, QColor, QtCore.Qt.GlobalColor, QGradient]) -> None: ... + def setBorderStyle(self, style: QTextFrameFormat.BorderStyle) -> None: ... + def rightBorderStyle(self) -> QTextFrameFormat.BorderStyle: ... + def setRightBorderStyle(self, style: QTextFrameFormat.BorderStyle) -> None: ... + def leftBorderStyle(self) -> QTextFrameFormat.BorderStyle: ... + def setLeftBorderStyle(self, style: QTextFrameFormat.BorderStyle) -> None: ... + def bottomBorderStyle(self) -> QTextFrameFormat.BorderStyle: ... + def setBottomBorderStyle(self, style: QTextFrameFormat.BorderStyle) -> None: ... + def topBorderStyle(self) -> QTextFrameFormat.BorderStyle: ... + def setTopBorderStyle(self, style: QTextFrameFormat.BorderStyle) -> None: ... + def setBorder(self, width: float) -> None: ... + def rightBorder(self) -> float: ... + def setRightBorder(self, width: float) -> None: ... + def leftBorder(self) -> float: ... + def setLeftBorder(self, width: float) -> None: ... + def bottomBorder(self) -> float: ... + def setBottomBorder(self, width: float) -> None: ... + def topBorder(self) -> float: ... + def setTopBorder(self, width: float) -> None: ... + def setPadding(self, padding: float) -> None: ... + def rightPadding(self) -> float: ... + def setRightPadding(self, padding: float) -> None: ... + def leftPadding(self) -> float: ... + def setLeftPadding(self, padding: float) -> None: ... + def bottomPadding(self) -> float: ... + def setBottomPadding(self, padding: float) -> None: ... + def topPadding(self) -> float: ... + def setTopPadding(self, padding: float) -> None: ... + def isValid(self) -> bool: ... + + +class QTextInlineObject(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextInlineObject') -> None: ... + + def format(self) -> QTextFormat: ... + def formatIndex(self) -> int: ... + def textPosition(self) -> int: ... + def setDescent(self, d: float) -> None: ... + def setAscent(self, a: float) -> None: ... + def setWidth(self, w: float) -> None: ... + def textDirection(self) -> QtCore.Qt.LayoutDirection: ... + def height(self) -> float: ... + def descent(self) -> float: ... + def ascent(self) -> float: ... + def width(self) -> float: ... + def rect(self) -> QtCore.QRectF: ... + def isValid(self) -> bool: ... + + +class QTextLayout(sip.simplewrapper): + + class CursorMode(int): + SkipCharacters = ... # type: QTextLayout.CursorMode + SkipWords = ... # type: QTextLayout.CursorMode + + class FormatRange(sip.simplewrapper): + + format = ... # type: QTextCharFormat + length = ... # type: int + start = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextLayout.FormatRange') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, text: str) -> None: ... + @typing.overload + def __init__(self, text: str, font: QFont, paintDevice: typing.Optional[QPaintDevice] = ...) -> None: ... + @typing.overload + def __init__(self, b: 'QTextBlock') -> None: ... + + def clearFormats(self) -> None: ... + def formats(self) -> typing.List['QTextLayout.FormatRange']: ... + def setFormats(self, overrides: typing.Iterable['QTextLayout.FormatRange']) -> None: ... + def glyphRuns(self, from_: int = ..., length: int = ...) -> typing.List[QGlyphRun]: ... + def rightCursorPosition(self, oldPos: int) -> int: ... + def leftCursorPosition(self, oldPos: int) -> int: ... + def cursorMoveStyle(self) -> QtCore.Qt.CursorMoveStyle: ... + def setCursorMoveStyle(self, style: QtCore.Qt.CursorMoveStyle) -> None: ... + def clearLayout(self) -> None: ... + def maximumWidth(self) -> float: ... + def minimumWidth(self) -> float: ... + def boundingRect(self) -> QtCore.QRectF: ... + def setPosition(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def position(self) -> QtCore.QPointF: ... + @typing.overload + def drawCursor(self, p: QPainter, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], cursorPosition: int) -> None: ... + @typing.overload + def drawCursor(self, p: QPainter, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], cursorPosition: int, width: int) -> None: ... + def draw(self, p: QPainter, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], selections: typing.Iterable['QTextLayout.FormatRange'] = ..., clip: QtCore.QRectF = ...) -> None: ... + def previousCursorPosition(self, oldPos: int, mode: 'QTextLayout.CursorMode' = ...) -> int: ... + def nextCursorPosition(self, oldPos: int, mode: 'QTextLayout.CursorMode' = ...) -> int: ... + def isValidCursorPosition(self, pos: int) -> bool: ... + def lineForTextPosition(self, pos: int) -> 'QTextLine': ... + def lineAt(self, i: int) -> 'QTextLine': ... + def lineCount(self) -> int: ... + def createLine(self) -> 'QTextLine': ... + def endLayout(self) -> None: ... + def beginLayout(self) -> None: ... + def cacheEnabled(self) -> bool: ... + def setCacheEnabled(self, enable: bool) -> None: ... + def clearAdditionalFormats(self) -> None: ... + def additionalFormats(self) -> typing.List['QTextLayout.FormatRange']: ... + def setAdditionalFormats(self, overrides: typing.Iterable['QTextLayout.FormatRange']) -> None: ... + def preeditAreaText(self) -> str: ... + def preeditAreaPosition(self) -> int: ... + def setPreeditArea(self, position: int, text: str) -> None: ... + def textOption(self) -> 'QTextOption': ... + def setTextOption(self, option: 'QTextOption') -> None: ... + def text(self) -> str: ... + def setText(self, string: str) -> None: ... + def font(self) -> QFont: ... + def setFont(self, f: QFont) -> None: ... + + +class QTextLine(sip.simplewrapper): + + class CursorPosition(int): + CursorBetweenCharacters = ... # type: QTextLine.CursorPosition + CursorOnCharacter = ... # type: QTextLine.CursorPosition + + class Edge(int): + Leading = ... # type: QTextLine.Edge + Trailing = ... # type: QTextLine.Edge + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextLine') -> None: ... + + def glyphRuns(self, from_: int = ..., length: int = ...) -> typing.List[QGlyphRun]: ... + def horizontalAdvance(self) -> float: ... + def leadingIncluded(self) -> bool: ... + def setLeadingIncluded(self, included: bool) -> None: ... + def leading(self) -> float: ... + def position(self) -> QtCore.QPointF: ... + def draw(self, painter: QPainter, position: typing.Union[QtCore.QPointF, QtCore.QPoint], selection: typing.Optional[QTextLayout.FormatRange] = ...) -> None: ... + def lineNumber(self) -> int: ... + def textLength(self) -> int: ... + def textStart(self) -> int: ... + def setPosition(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setNumColumns(self, columns: int) -> None: ... + @typing.overload + def setNumColumns(self, columns: int, alignmentWidth: float) -> None: ... + def setLineWidth(self, width: float) -> None: ... + def xToCursor(self, x: float, edge: 'QTextLine.CursorPosition' = ...) -> int: ... + def cursorToX(self, cursorPos: int, edge: 'QTextLine.Edge' = ...) -> typing.Tuple[float, int]: ... + def naturalTextRect(self) -> QtCore.QRectF: ... + def naturalTextWidth(self) -> float: ... + def height(self) -> float: ... + def descent(self) -> float: ... + def ascent(self) -> float: ... + def width(self) -> float: ... + def y(self) -> float: ... + def x(self) -> float: ... + def rect(self) -> QtCore.QRectF: ... + def isValid(self) -> bool: ... + + +class QTextObject(QtCore.QObject): + + def __init__(self, doc: QTextDocument) -> None: ... + + def objectIndex(self) -> int: ... + def document(self) -> QTextDocument: ... + def formatIndex(self) -> int: ... + def format(self) -> QTextFormat: ... + def setFormat(self, format: QTextFormat) -> None: ... + + +class QTextBlockGroup(QTextObject): + + def __init__(self, doc: QTextDocument) -> None: ... + + def blockList(self) -> typing.List['QTextBlock']: ... + def blockFormatChanged(self, block: 'QTextBlock') -> None: ... + def blockRemoved(self, block: 'QTextBlock') -> None: ... + def blockInserted(self, block: 'QTextBlock') -> None: ... + + +class QTextList(QTextBlockGroup): + + def __init__(self, doc: QTextDocument) -> None: ... + + def setFormat(self, aformat: QTextListFormat) -> None: ... + def format(self) -> QTextListFormat: ... + def add(self, block: 'QTextBlock') -> None: ... + def remove(self, a0: 'QTextBlock') -> None: ... + def removeItem(self, i: int) -> None: ... + def itemText(self, a0: 'QTextBlock') -> str: ... + def itemNumber(self, a0: 'QTextBlock') -> int: ... + def item(self, i: int) -> 'QTextBlock': ... + def __len__(self) -> int: ... + def count(self) -> int: ... + + +class QTextFrame(QTextObject): + + class iterator(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, o: 'QTextFrame.iterator') -> None: ... + + def atEnd(self) -> bool: ... + def currentBlock(self) -> 'QTextBlock': ... + def currentFrame(self) -> 'QTextFrame': ... + def parentFrame(self) -> 'QTextFrame': ... + + def __init__(self, doc: QTextDocument) -> None: ... + + def setFrameFormat(self, aformat: QTextFrameFormat) -> None: ... + def end(self) -> 'QTextFrame.iterator': ... + def begin(self) -> 'QTextFrame.iterator': ... + def parentFrame(self) -> 'QTextFrame': ... + def childFrames(self) -> typing.List['QTextFrame']: ... + def lastPosition(self) -> int: ... + def firstPosition(self) -> int: ... + def lastCursorPosition(self) -> QTextCursor: ... + def firstCursorPosition(self) -> QTextCursor: ... + def frameFormat(self) -> QTextFrameFormat: ... + + +class QTextBlock(PyQt5.sip.wrapper): + + class iterator(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, o: 'QTextBlock.iterator') -> None: ... + + def atEnd(self) -> bool: ... + def fragment(self) -> 'QTextFragment': ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, o: 'QTextBlock') -> None: ... + + def textFormats(self) -> typing.List[QTextLayout.FormatRange]: ... + def textDirection(self) -> QtCore.Qt.LayoutDirection: ... + def lineCount(self) -> int: ... + def setLineCount(self, count: int) -> None: ... + def firstLineNumber(self) -> int: ... + def blockNumber(self) -> int: ... + def setVisible(self, visible: bool) -> None: ... + def isVisible(self) -> bool: ... + def setRevision(self, rev: int) -> None: ... + def revision(self) -> int: ... + def clearLayout(self) -> None: ... + def setUserState(self, state: int) -> None: ... + def userState(self) -> int: ... + def setUserData(self, data: 'QTextBlockUserData') -> None: ... + def userData(self) -> 'QTextBlockUserData': ... + def previous(self) -> 'QTextBlock': ... + def next(self) -> 'QTextBlock': ... + def end(self) -> 'QTextBlock.iterator': ... + def begin(self) -> 'QTextBlock.iterator': ... + def textList(self) -> QTextList: ... + def document(self) -> QTextDocument: ... + def text(self) -> str: ... + def charFormatIndex(self) -> int: ... + def charFormat(self) -> QTextCharFormat: ... + def blockFormatIndex(self) -> int: ... + def blockFormat(self) -> QTextBlockFormat: ... + def layout(self) -> QTextLayout: ... + def contains(self, position: int) -> bool: ... + def length(self) -> int: ... + def position(self) -> int: ... + def isValid(self) -> bool: ... + + +class QTextFragment(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, o: 'QTextFragment') -> None: ... + + def glyphRuns(self, from_: int = ..., length: int = ...) -> typing.List[QGlyphRun]: ... + def text(self) -> str: ... + def charFormatIndex(self) -> int: ... + def charFormat(self) -> QTextCharFormat: ... + def contains(self, position: int) -> bool: ... + def length(self) -> int: ... + def position(self) -> int: ... + def isValid(self) -> bool: ... + + +class QTextBlockUserData(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextBlockUserData') -> None: ... + + +class QTextOption(sip.simplewrapper): + + class TabType(int): + LeftTab = ... # type: QTextOption.TabType + RightTab = ... # type: QTextOption.TabType + CenterTab = ... # type: QTextOption.TabType + DelimiterTab = ... # type: QTextOption.TabType + + class Flag(int): + IncludeTrailingSpaces = ... # type: QTextOption.Flag + ShowTabsAndSpaces = ... # type: QTextOption.Flag + ShowLineAndParagraphSeparators = ... # type: QTextOption.Flag + AddSpaceForLineAndParagraphSeparators = ... # type: QTextOption.Flag + SuppressColors = ... # type: QTextOption.Flag + ShowDocumentTerminator = ... # type: QTextOption.Flag + + class WrapMode(int): + NoWrap = ... # type: QTextOption.WrapMode + WordWrap = ... # type: QTextOption.WrapMode + ManualWrap = ... # type: QTextOption.WrapMode + WrapAnywhere = ... # type: QTextOption.WrapMode + WrapAtWordBoundaryOrAnywhere = ... # type: QTextOption.WrapMode + + class Flags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextOption.Flags', 'QTextOption.Flag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextOption.Flags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextOption.Flags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class Tab(sip.simplewrapper): + + delimiter = ... # type: str + position = ... # type: float + type = ... # type: 'QTextOption.TabType' + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, pos: float, tabType: 'QTextOption.TabType', delim: str = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextOption.Tab') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + @typing.overload + def __init__(self, o: 'QTextOption') -> None: ... + + def tabStopDistance(self) -> float: ... + def setTabStopDistance(self, tabStopDistance: float) -> None: ... + def tabs(self) -> typing.List['QTextOption.Tab']: ... + def setTabs(self, tabStops: typing.Iterable['QTextOption.Tab']) -> None: ... + def setTabStop(self, atabStop: float) -> None: ... + def setFlags(self, flags: typing.Union['QTextOption.Flags', 'QTextOption.Flag']) -> None: ... + def setAlignment(self, aalignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def useDesignMetrics(self) -> bool: ... + def setUseDesignMetrics(self, b: bool) -> None: ... + def tabArray(self) -> typing.List[float]: ... + def setTabArray(self, tabStops: typing.Iterable[float]) -> None: ... + def tabStop(self) -> float: ... + def flags(self) -> 'QTextOption.Flags': ... + def wrapMode(self) -> 'QTextOption.WrapMode': ... + def setWrapMode(self, wrap: 'QTextOption.WrapMode') -> None: ... + def textDirection(self) -> QtCore.Qt.LayoutDirection: ... + def setTextDirection(self, aDirection: QtCore.Qt.LayoutDirection) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + + +class QTextTableCell(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, o: 'QTextTableCell') -> None: ... + + def tableCellFormatIndex(self) -> int: ... + def lastCursorPosition(self) -> QTextCursor: ... + def firstCursorPosition(self) -> QTextCursor: ... + def isValid(self) -> bool: ... + def columnSpan(self) -> int: ... + def rowSpan(self) -> int: ... + def column(self) -> int: ... + def row(self) -> int: ... + def setFormat(self, format: QTextCharFormat) -> None: ... + def format(self) -> QTextCharFormat: ... + + +class QTextTable(QTextFrame): + + def __init__(self, doc: QTextDocument) -> None: ... + + def appendColumns(self, count: int) -> None: ... + def appendRows(self, count: int) -> None: ... + def setFormat(self, aformat: QTextTableFormat) -> None: ... + def format(self) -> QTextTableFormat: ... + def rowEnd(self, c: QTextCursor) -> QTextCursor: ... + def rowStart(self, c: QTextCursor) -> QTextCursor: ... + @typing.overload + def cellAt(self, row: int, col: int) -> QTextTableCell: ... + @typing.overload + def cellAt(self, position: int) -> QTextTableCell: ... + @typing.overload + def cellAt(self, c: QTextCursor) -> QTextTableCell: ... + def columns(self) -> int: ... + def rows(self) -> int: ... + def splitCell(self, row: int, col: int, numRows: int, numCols: int) -> None: ... + @typing.overload + def mergeCells(self, row: int, col: int, numRows: int, numCols: int) -> None: ... + @typing.overload + def mergeCells(self, cursor: QTextCursor) -> None: ... + def removeColumns(self, pos: int, num: int) -> None: ... + def removeRows(self, pos: int, num: int) -> None: ... + def insertColumns(self, pos: int, num: int) -> None: ... + def insertRows(self, pos: int, num: int) -> None: ... + def resize(self, rows: int, cols: int) -> None: ... + + +class QTouchDevice(sip.simplewrapper): + + class CapabilityFlag(int): + Position = ... # type: QTouchDevice.CapabilityFlag + Area = ... # type: QTouchDevice.CapabilityFlag + Pressure = ... # type: QTouchDevice.CapabilityFlag + Velocity = ... # type: QTouchDevice.CapabilityFlag + RawPositions = ... # type: QTouchDevice.CapabilityFlag + NormalizedPosition = ... # type: QTouchDevice.CapabilityFlag + MouseEmulation = ... # type: QTouchDevice.CapabilityFlag + + class DeviceType(int): + TouchScreen = ... # type: QTouchDevice.DeviceType + TouchPad = ... # type: QTouchDevice.DeviceType + + class Capabilities(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTouchDevice.Capabilities', 'QTouchDevice.CapabilityFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTouchDevice.Capabilities') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTouchDevice.Capabilities': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTouchDevice') -> None: ... + + def setMaximumTouchPoints(self, max: int) -> None: ... + def maximumTouchPoints(self) -> int: ... + def setCapabilities(self, caps: typing.Union['QTouchDevice.Capabilities', 'QTouchDevice.CapabilityFlag']) -> None: ... + def setType(self, devType: 'QTouchDevice.DeviceType') -> None: ... + def setName(self, name: str) -> None: ... + def capabilities(self) -> 'QTouchDevice.Capabilities': ... + def type(self) -> 'QTouchDevice.DeviceType': ... + def name(self) -> str: ... + @staticmethod + def devices() -> typing.List['QTouchDevice']: ... + + +class QTransform(sip.simplewrapper): + + class TransformationType(int): + TxNone = ... # type: QTransform.TransformationType + TxTranslate = ... # type: QTransform.TransformationType + TxScale = ... # type: QTransform.TransformationType + TxRotate = ... # type: QTransform.TransformationType + TxShear = ... # type: QTransform.TransformationType + TxProject = ... # type: QTransform.TransformationType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, m11: float, m12: float, m13: float, m21: float, m22: float, m23: float, m31: float, m32: float, m33: float = ...) -> None: ... + @typing.overload + def __init__(self, h11: float, h12: float, h13: float, h21: float, h22: float, h23: float) -> None: ... + @typing.overload + def __init__(self, other: 'QTransform') -> None: ... + + def __hash__(self) -> int: ... + @staticmethod + def fromScale(dx: float, dy: float) -> 'QTransform': ... + @staticmethod + def fromTranslate(dx: float, dy: float) -> 'QTransform': ... + def dy(self) -> float: ... + def dx(self) -> float: ... + def m33(self) -> float: ... + def m32(self) -> float: ... + def m31(self) -> float: ... + def m23(self) -> float: ... + def m22(self) -> float: ... + def m21(self) -> float: ... + def m13(self) -> float: ... + def m12(self) -> float: ... + def m11(self) -> float: ... + def determinant(self) -> float: ... + def isTranslating(self) -> bool: ... + def isRotating(self) -> bool: ... + def isScaling(self) -> bool: ... + def isInvertible(self) -> bool: ... + def isIdentity(self) -> bool: ... + def isAffine(self) -> bool: ... + @typing.overload + def mapRect(self, a0: QtCore.QRect) -> QtCore.QRect: ... + @typing.overload + def mapRect(self, a0: QtCore.QRectF) -> QtCore.QRectF: ... + def mapToPolygon(self, r: QtCore.QRect) -> QPolygon: ... + @typing.overload + def map(self, x: int, y: int) -> typing.Tuple[int, int]: ... + @typing.overload + def map(self, x: float, y: float) -> typing.Tuple[float, float]: ... + @typing.overload + def map(self, p: QtCore.QPoint) -> QtCore.QPoint: ... + @typing.overload + def map(self, p: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + @typing.overload + def map(self, l: QtCore.QLine) -> QtCore.QLine: ... + @typing.overload + def map(self, l: QtCore.QLineF) -> QtCore.QLineF: ... + @typing.overload + def map(self, a: QPolygonF) -> QPolygonF: ... + @typing.overload + def map(self, a: QPolygon) -> QPolygon: ... + @typing.overload + def map(self, r: QRegion) -> QRegion: ... + @typing.overload + def map(self, p: QPainterPath) -> QPainterPath: ... + def reset(self) -> None: ... + @staticmethod + def quadToQuad(one: QPolygonF, two: QPolygonF, result: 'QTransform') -> bool: ... + @staticmethod + def quadToSquare(quad: QPolygonF, result: 'QTransform') -> bool: ... + @staticmethod + def squareToQuad(square: QPolygonF, result: 'QTransform') -> bool: ... + def rotateRadians(self, angle: float, axis: QtCore.Qt.Axis = ...) -> 'QTransform': ... + def rotate(self, angle: float, axis: QtCore.Qt.Axis = ...) -> 'QTransform': ... + def shear(self, sh: float, sv: float) -> 'QTransform': ... + def scale(self, sx: float, sy: float) -> 'QTransform': ... + def translate(self, dx: float, dy: float) -> 'QTransform': ... + def transposed(self) -> 'QTransform': ... + def adjoint(self) -> 'QTransform': ... + def inverted(self) -> typing.Tuple['QTransform', bool]: ... + def setMatrix(self, m11: float, m12: float, m13: float, m21: float, m22: float, m23: float, m31: float, m32: float, m33: float) -> None: ... + def type(self) -> 'QTransform.TransformationType': ... + + +class QValidator(QtCore.QObject): + + class State(int): + Invalid = ... # type: QValidator.State + Intermediate = ... # type: QValidator.State + Acceptable = ... # type: QValidator.State + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def changed(self) -> None: ... + def locale(self) -> QtCore.QLocale: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + def fixup(self, a0: str) -> str: ... + def validate(self, a0: str, a1: int) -> typing.Tuple['QValidator.State', str, int]: ... + + +class QIntValidator(QValidator): + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, bottom: int, top: int, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def top(self) -> int: ... + def bottom(self) -> int: ... + def setRange(self, bottom: int, top: int) -> None: ... + def setTop(self, a0: int) -> None: ... + def setBottom(self, a0: int) -> None: ... + def fixup(self, input: str) -> str: ... + def validate(self, a0: str, a1: int) -> typing.Tuple[QValidator.State, str, int]: ... + + +class QDoubleValidator(QValidator): + + class Notation(int): + StandardNotation = ... # type: QDoubleValidator.Notation + ScientificNotation = ... # type: QDoubleValidator.Notation + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, bottom: float, top: float, decimals: int, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def notation(self) -> 'QDoubleValidator.Notation': ... + def setNotation(self, a0: 'QDoubleValidator.Notation') -> None: ... + def decimals(self) -> int: ... + def top(self) -> float: ... + def bottom(self) -> float: ... + def setDecimals(self, a0: int) -> None: ... + def setTop(self, a0: float) -> None: ... + def setBottom(self, a0: float) -> None: ... + def setRange(self, minimum: float, maximum: float, decimals: int = ...) -> None: ... + def validate(self, a0: str, a1: int) -> typing.Tuple[QValidator.State, str, int]: ... + + +class QRegExpValidator(QValidator): + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, rx: QtCore.QRegExp, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def regExp(self) -> QtCore.QRegExp: ... + def setRegExp(self, rx: QtCore.QRegExp) -> None: ... + def validate(self, input: str, pos: int) -> typing.Tuple[QValidator.State, str, int]: ... + + +class QRegularExpressionValidator(QValidator): + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, re: QtCore.QRegularExpression, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setRegularExpression(self, re: QtCore.QRegularExpression) -> None: ... + def regularExpression(self) -> QtCore.QRegularExpression: ... + def validate(self, input: str, pos: int) -> typing.Tuple[QValidator.State, str, int]: ... + + +class QVector2D(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, xpos: float, ypos: float) -> None: ... + @typing.overload + def __init__(self, point: QtCore.QPoint) -> None: ... + @typing.overload + def __init__(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, vector: 'QVector3D') -> None: ... + @typing.overload + def __init__(self, vector: 'QVector4D') -> None: ... + @typing.overload + def __init__(self, a0: 'QVector2D') -> None: ... + + def __neg__(self) -> 'QVector2D': ... + def __getitem__(self, i: int) -> float: ... + def distanceToLine(self, point: 'QVector2D', direction: 'QVector2D') -> float: ... + def distanceToPoint(self, point: 'QVector2D') -> float: ... + def toPointF(self) -> QtCore.QPointF: ... + def toPoint(self) -> QtCore.QPoint: ... + def setY(self, aY: float) -> None: ... + def setX(self, aX: float) -> None: ... + def y(self) -> float: ... + def x(self) -> float: ... + def isNull(self) -> bool: ... + def toVector4D(self) -> 'QVector4D': ... + def toVector3D(self) -> 'QVector3D': ... + @staticmethod + def dotProduct(v1: 'QVector2D', v2: 'QVector2D') -> float: ... + def normalize(self) -> None: ... + def normalized(self) -> 'QVector2D': ... + def lengthSquared(self) -> float: ... + def length(self) -> float: ... + def __repr__(self) -> str: ... + + +class QVector3D(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, xpos: float, ypos: float, zpos: float) -> None: ... + @typing.overload + def __init__(self, point: QtCore.QPoint) -> None: ... + @typing.overload + def __init__(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, vector: QVector2D) -> None: ... + @typing.overload + def __init__(self, vector: QVector2D, zpos: float) -> None: ... + @typing.overload + def __init__(self, vector: 'QVector4D') -> None: ... + @typing.overload + def __init__(self, a0: 'QVector3D') -> None: ... + + def __neg__(self) -> 'QVector3D': ... + def unproject(self, modelView: QMatrix4x4, projection: QMatrix4x4, viewport: QtCore.QRect) -> 'QVector3D': ... + def project(self, modelView: QMatrix4x4, projection: QMatrix4x4, viewport: QtCore.QRect) -> 'QVector3D': ... + def __getitem__(self, i: int) -> float: ... + def distanceToPoint(self, point: 'QVector3D') -> float: ... + def toPointF(self) -> QtCore.QPointF: ... + def toPoint(self) -> QtCore.QPoint: ... + def setZ(self, aZ: float) -> None: ... + def setY(self, aY: float) -> None: ... + def setX(self, aX: float) -> None: ... + def z(self) -> float: ... + def y(self) -> float: ... + def x(self) -> float: ... + def isNull(self) -> bool: ... + def toVector4D(self) -> 'QVector4D': ... + def toVector2D(self) -> QVector2D: ... + def distanceToLine(self, point: 'QVector3D', direction: 'QVector3D') -> float: ... + @typing.overload + def distanceToPlane(self, plane: 'QVector3D', normal: 'QVector3D') -> float: ... + @typing.overload + def distanceToPlane(self, plane1: 'QVector3D', plane2: 'QVector3D', plane3: 'QVector3D') -> float: ... + @typing.overload + @staticmethod + def normal(v1: 'QVector3D', v2: 'QVector3D') -> 'QVector3D': ... + @typing.overload + @staticmethod + def normal(v1: 'QVector3D', v2: 'QVector3D', v3: 'QVector3D') -> 'QVector3D': ... + @staticmethod + def crossProduct(v1: 'QVector3D', v2: 'QVector3D') -> 'QVector3D': ... + @staticmethod + def dotProduct(v1: 'QVector3D', v2: 'QVector3D') -> float: ... + def normalize(self) -> None: ... + def normalized(self) -> 'QVector3D': ... + def lengthSquared(self) -> float: ... + def length(self) -> float: ... + def __repr__(self) -> str: ... + + +class QVector4D(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, xpos: float, ypos: float, zpos: float, wpos: float) -> None: ... + @typing.overload + def __init__(self, point: QtCore.QPoint) -> None: ... + @typing.overload + def __init__(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def __init__(self, vector: QVector2D) -> None: ... + @typing.overload + def __init__(self, vector: QVector2D, zpos: float, wpos: float) -> None: ... + @typing.overload + def __init__(self, vector: QVector3D) -> None: ... + @typing.overload + def __init__(self, vector: QVector3D, wpos: float) -> None: ... + @typing.overload + def __init__(self, a0: 'QVector4D') -> None: ... + + def __neg__(self) -> 'QVector4D': ... + def __getitem__(self, i: int) -> float: ... + def toPointF(self) -> QtCore.QPointF: ... + def toPoint(self) -> QtCore.QPoint: ... + def setW(self, aW: float) -> None: ... + def setZ(self, aZ: float) -> None: ... + def setY(self, aY: float) -> None: ... + def setX(self, aX: float) -> None: ... + def w(self) -> float: ... + def z(self) -> float: ... + def y(self) -> float: ... + def x(self) -> float: ... + def isNull(self) -> bool: ... + def toVector3DAffine(self) -> QVector3D: ... + def toVector3D(self) -> QVector3D: ... + def toVector2DAffine(self) -> QVector2D: ... + def toVector2D(self) -> QVector2D: ... + @staticmethod + def dotProduct(v1: 'QVector4D', v2: 'QVector4D') -> float: ... + def normalize(self) -> None: ... + def normalized(self) -> 'QVector4D': ... + def lengthSquared(self) -> float: ... + def length(self) -> float: ... + def __repr__(self) -> str: ... + + +def qIsGray(rgb: int) -> bool: ... +@typing.overload +def qGray(r: int, g: int, b: int) -> int: ... +@typing.overload +def qGray(rgb: int) -> int: ... +def qRgba(r: int, g: int, b: int, a: int) -> int: ... +def qRgb(r: int, g: int, b: int) -> int: ... +@typing.overload +def qAlpha(rgb: QRgba64) -> int: ... +@typing.overload +def qAlpha(rgb: int) -> int: ... +@typing.overload +def qBlue(rgb: QRgba64) -> int: ... +@typing.overload +def qBlue(rgb: int) -> int: ... +@typing.overload +def qGreen(rgb: QRgba64) -> int: ... +@typing.overload +def qGreen(rgb: int) -> int: ... +@typing.overload +def qRed(rgb: QRgba64) -> int: ... +@typing.overload +def qRed(rgb: int) -> int: ... +@typing.overload +def qUnpremultiply(c: QRgba64) -> QRgba64: ... +@typing.overload +def qUnpremultiply(p: int) -> int: ... +@typing.overload +def qPremultiply(c: QRgba64) -> QRgba64: ... +@typing.overload +def qPremultiply(x: int) -> int: ... +@typing.overload +def qRgba64(r: int, g: int, b: int, a: int) -> QRgba64: ... +@typing.overload +def qRgba64(c: int) -> QRgba64: ... +def qPixelFormatAlpha(channelSize: int, typeInterpretation: QPixelFormat.TypeInterpretation = ...) -> QPixelFormat: ... +def qPixelFormatYuv(layout: QPixelFormat.YUVLayout, alphaSize: int = ..., alphaUsage: QPixelFormat.AlphaUsage = ..., alphaPosition: QPixelFormat.AlphaPosition = ..., premultiplied: QPixelFormat.AlphaPremultiplied = ..., typeInterpretation: QPixelFormat.TypeInterpretation = ..., byteOrder: QPixelFormat.ByteOrder = ...) -> QPixelFormat: ... +def qPixelFormatHsv(channelSize: int, alphaSize: int = ..., alphaUsage: QPixelFormat.AlphaUsage = ..., alphaPosition: QPixelFormat.AlphaPosition = ..., typeInterpretation: QPixelFormat.TypeInterpretation = ...) -> QPixelFormat: ... +def qPixelFormatHsl(channelSize: int, alphaSize: int = ..., alphaUsage: QPixelFormat.AlphaUsage = ..., alphaPosition: QPixelFormat.AlphaPosition = ..., typeInterpretation: QPixelFormat.TypeInterpretation = ...) -> QPixelFormat: ... +def qPixelFormatCmyk(channelSize: int, alphaSize: int = ..., alphaUsage: QPixelFormat.AlphaUsage = ..., alphaPosition: QPixelFormat.AlphaPosition = ..., typeInterpretation: QPixelFormat.TypeInterpretation = ...) -> QPixelFormat: ... +def qPixelFormatGrayscale(channelSize: int, typeInterpretation: QPixelFormat.TypeInterpretation = ...) -> QPixelFormat: ... +def qPixelFormatRgba(red: int, green: int, blue: int, alfa: int, usage: QPixelFormat.AlphaUsage, position: QPixelFormat.AlphaPosition, premultiplied: QPixelFormat.AlphaPremultiplied = ..., typeInterpretation: QPixelFormat.TypeInterpretation = ...) -> QPixelFormat: ... +@typing.overload +def qFuzzyCompare(m1: QMatrix4x4, m2: QMatrix4x4) -> bool: ... +@typing.overload +def qFuzzyCompare(q1: QQuaternion, q2: QQuaternion) -> bool: ... +@typing.overload +def qFuzzyCompare(t1: QTransform, t2: QTransform) -> bool: ... +@typing.overload +def qFuzzyCompare(v1: QVector2D, v2: QVector2D) -> bool: ... +@typing.overload +def qFuzzyCompare(v1: QVector3D, v2: QVector3D) -> bool: ... +@typing.overload +def qFuzzyCompare(v1: QVector4D, v2: QVector4D) -> bool: ... +def qt_set_sequence_auto_mnemonic(b: bool) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtHelp.pyi b/OTHERS/Jarvis/ools/PyQt5/QtHelp.pyi new file mode 100644 index 00000000..fea1f383 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtHelp.pyi @@ -0,0 +1,312 @@ +# The PEP 484 type hints stub file for the QtHelp module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QCompressedHelpInfo(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QCompressedHelpInfo') -> None: ... + + def isNull(self) -> bool: ... + @staticmethod + def fromCompressedHelpFile(documentationFileName: str) -> 'QCompressedHelpInfo': ... + def version(self) -> QtCore.QVersionNumber: ... + def component(self) -> str: ... + def namespaceName(self) -> str: ... + def swap(self, other: 'QCompressedHelpInfo') -> None: ... + + +class QHelpContentItem(sip.simplewrapper): + + def childPosition(self, child: 'QHelpContentItem') -> int: ... + def parent(self) -> 'QHelpContentItem': ... + def row(self) -> int: ... + def url(self) -> QtCore.QUrl: ... + def title(self) -> str: ... + def childCount(self) -> int: ... + def child(self, row: int) -> 'QHelpContentItem': ... + + +class QHelpContentModel(QtCore.QAbstractItemModel): + + def contentsCreated(self) -> None: ... + def contentsCreationStarted(self) -> None: ... + def isCreatingContents(self) -> bool: ... + def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def parent(self, index: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + def index(self, row: int, column: int, parent: QtCore.QModelIndex = ...) -> QtCore.QModelIndex: ... + def data(self, index: QtCore.QModelIndex, role: int) -> typing.Any: ... + def contentItemAt(self, index: QtCore.QModelIndex) -> QHelpContentItem: ... + def createContents(self, customFilterName: str) -> None: ... + + +class QHelpContentWidget(QtWidgets.QTreeView): + + def linkActivated(self, link: QtCore.QUrl) -> None: ... + def indexOf(self, link: QtCore.QUrl) -> QtCore.QModelIndex: ... + + +class QHelpEngineCore(QtCore.QObject): + + def __init__(self, collectionFile: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + @typing.overload + def documentsForKeyword(self, keyword: str) -> typing.List['QHelpLink']: ... + @typing.overload + def documentsForKeyword(self, keyword: str, filterName: str) -> typing.List['QHelpLink']: ... + @typing.overload + def documentsForIdentifier(self, id: str) -> typing.List['QHelpLink']: ... + @typing.overload + def documentsForIdentifier(self, id: str, filterName: str) -> typing.List['QHelpLink']: ... + def usesFilterEngine(self) -> bool: ... + def setUsesFilterEngine(self, uses: bool) -> None: ... + def filterEngine(self) -> 'QHelpFilterEngine': ... + def readersAboutToBeInvalidated(self) -> None: ... + def warning(self, msg: str) -> None: ... + def currentFilterChanged(self, newFilter: str) -> None: ... + def setupFinished(self) -> None: ... + def setupStarted(self) -> None: ... + def setAutoSaveFilter(self, save: bool) -> None: ... + def autoSaveFilter(self) -> bool: ... + def error(self) -> str: ... + @staticmethod + def metaData(documentationFileName: str, name: str) -> typing.Any: ... + def setCustomValue(self, key: str, value: typing.Any) -> bool: ... + def customValue(self, key: str, defaultValue: typing.Any = ...) -> typing.Any: ... + def removeCustomValue(self, key: str) -> bool: ... + def linksForKeyword(self, keyword: str) -> typing.Dict[str, QtCore.QUrl]: ... + def linksForIdentifier(self, id: str) -> typing.Dict[str, QtCore.QUrl]: ... + def fileData(self, url: QtCore.QUrl) -> QtCore.QByteArray: ... + def findFile(self, url: QtCore.QUrl) -> QtCore.QUrl: ... + @typing.overload + def files(self, namespaceName: str, filterAttributes: typing.Iterable[str], extensionFilter: str = ...) -> typing.List[QtCore.QUrl]: ... + @typing.overload + def files(self, namespaceName: str, filterName: str, extensionFilter: str = ...) -> typing.List[QtCore.QUrl]: ... + def filterAttributeSets(self, namespaceName: str) -> typing.List[typing.List[str]]: ... + def registeredDocumentations(self) -> typing.List[str]: ... + def setCurrentFilter(self, filterName: str) -> None: ... + def currentFilter(self) -> str: ... + @typing.overload + def filterAttributes(self) -> typing.List[str]: ... + @typing.overload + def filterAttributes(self, filterName: str) -> typing.List[str]: ... + def addCustomFilter(self, filterName: str, attributes: typing.Iterable[str]) -> bool: ... + def removeCustomFilter(self, filterName: str) -> bool: ... + def customFilters(self) -> typing.List[str]: ... + def documentationFileName(self, namespaceName: str) -> str: ... + def unregisterDocumentation(self, namespaceName: str) -> bool: ... + def registerDocumentation(self, documentationFileName: str) -> bool: ... + @staticmethod + def namespaceName(documentationFileName: str) -> str: ... + def copyCollectionFile(self, fileName: str) -> bool: ... + def setCollectionFile(self, fileName: str) -> None: ... + def collectionFile(self) -> str: ... + def setupData(self) -> bool: ... + + +class QHelpEngine(QHelpEngineCore): + + def __init__(self, collectionFile: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def searchEngine(self) -> 'QHelpSearchEngine': ... + def indexWidget(self) -> 'QHelpIndexWidget': ... + def contentWidget(self) -> QHelpContentWidget: ... + def indexModel(self) -> 'QHelpIndexModel': ... + def contentModel(self) -> QHelpContentModel: ... + + +class QHelpFilterData(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QHelpFilterData') -> None: ... + + def versions(self) -> typing.List[QtCore.QVersionNumber]: ... + def components(self) -> typing.List[str]: ... + def setVersions(self, versions: typing.Iterable[QtCore.QVersionNumber]) -> None: ... + def setComponents(self, components: typing.Iterable[str]) -> None: ... + def swap(self, other: 'QHelpFilterData') -> None: ... + + +class QHelpFilterEngine(QtCore.QObject): + + @typing.overload + def indices(self) -> typing.List[str]: ... + @typing.overload + def indices(self, filterName: str) -> typing.List[str]: ... + def availableVersions(self) -> typing.List[QtCore.QVersionNumber]: ... + def filterActivated(self, newFilter: str) -> None: ... + def namespacesForFilter(self, filterName: str) -> typing.List[str]: ... + def removeFilter(self, filterName: str) -> bool: ... + def setFilterData(self, filterName: str, filterData: QHelpFilterData) -> bool: ... + def filterData(self, filterName: str) -> QHelpFilterData: ... + def availableComponents(self) -> typing.List[str]: ... + def setActiveFilter(self, filterName: str) -> bool: ... + def activeFilter(self) -> str: ... + def filters(self) -> typing.List[str]: ... + def namespaceToVersion(self) -> typing.Dict[str, QtCore.QVersionNumber]: ... + def namespaceToComponent(self) -> typing.Dict[str, str]: ... + + +class QHelpFilterSettingsWidget(QtWidgets.QWidget): + + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + def applySettings(self, filterEngine: QHelpFilterEngine) -> bool: ... + def readSettings(self, filterEngine: QHelpFilterEngine) -> None: ... + def setAvailableVersions(self, versions: typing.Iterable[QtCore.QVersionNumber]) -> None: ... + def setAvailableComponents(self, components: typing.Iterable[str]) -> None: ... + + +class QHelpIndexModel(QtCore.QStringListModel): + + def indexCreated(self) -> None: ... + def indexCreationStarted(self) -> None: ... + def isCreatingIndex(self) -> bool: ... + def linksForKeyword(self, keyword: str) -> typing.Dict[str, QtCore.QUrl]: ... + def filter(self, filter: str, wildcard: str = ...) -> QtCore.QModelIndex: ... + def createIndex(self, customFilterName: str) -> None: ... + def helpEngine(self) -> QHelpEngineCore: ... + + +class QHelpIndexWidget(QtWidgets.QListView): + + def documentsActivated(self, documents: typing.Iterable['QHelpLink'], keyword: str) -> None: ... + def documentActivated(self, document: 'QHelpLink', keyword: str) -> None: ... + def activateCurrentItem(self) -> None: ... + def filterIndices(self, filter: str, wildcard: str = ...) -> None: ... + def linksActivated(self, links: typing.Dict[str, QtCore.QUrl], keyword: str) -> None: ... + def linkActivated(self, link: QtCore.QUrl, keyword: str) -> None: ... + + +class QHelpLink(sip.simplewrapper): + + title = ... # type: str + url = ... # type: QtCore.QUrl + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QHelpLink') -> None: ... + + +class QHelpSearchQuery(sip.simplewrapper): + + class FieldName(int): + DEFAULT = ... # type: QHelpSearchQuery.FieldName + FUZZY = ... # type: QHelpSearchQuery.FieldName + WITHOUT = ... # type: QHelpSearchQuery.FieldName + PHRASE = ... # type: QHelpSearchQuery.FieldName + ALL = ... # type: QHelpSearchQuery.FieldName + ATLEAST = ... # type: QHelpSearchQuery.FieldName + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, field: 'QHelpSearchQuery.FieldName', wordList: typing.Iterable[str]) -> None: ... + @typing.overload + def __init__(self, a0: 'QHelpSearchQuery') -> None: ... + + +class QHelpSearchEngine(QtCore.QObject): + + def __init__(self, helpEngine: QHelpEngineCore, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def searchInput(self) -> str: ... + def searchResults(self, start: int, end: int) -> typing.List['QHelpSearchResult']: ... + def searchResultCount(self) -> int: ... + def searchingFinished(self, hits: int) -> None: ... + def searchingStarted(self) -> None: ... + def indexingFinished(self) -> None: ... + def indexingStarted(self) -> None: ... + def cancelSearching(self) -> None: ... + @typing.overload + def search(self, queryList: typing.Iterable[QHelpSearchQuery]) -> None: ... + @typing.overload + def search(self, searchInput: str) -> None: ... + def cancelIndexing(self) -> None: ... + def reindexDocumentation(self) -> None: ... + def hits(self, start: int, end: int) -> typing.List[typing.Tuple[str, str]]: ... + def hitCount(self) -> int: ... + def resultWidget(self) -> 'QHelpSearchResultWidget': ... + def queryWidget(self) -> 'QHelpSearchQueryWidget': ... + def query(self) -> typing.List[QHelpSearchQuery]: ... + + +class QHelpSearchResult(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QHelpSearchResult') -> None: ... + @typing.overload + def __init__(self, url: QtCore.QUrl, title: str, snippet: str) -> None: ... + + def snippet(self) -> str: ... + def url(self) -> QtCore.QUrl: ... + def title(self) -> str: ... + + +class QHelpSearchQueryWidget(QtWidgets.QWidget): + + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + def setSearchInput(self, searchInput: str) -> None: ... + def searchInput(self) -> str: ... + def setCompactMode(self, on: bool) -> None: ... + def isCompactMode(self) -> bool: ... + def search(self) -> None: ... + def collapseExtendedSearch(self) -> None: ... + def expandExtendedSearch(self) -> None: ... + def setQuery(self, queryList: typing.Iterable[QHelpSearchQuery]) -> None: ... + def query(self) -> typing.List[QHelpSearchQuery]: ... + + +class QHelpSearchResultWidget(QtWidgets.QWidget): + + def requestShowLink(self, url: QtCore.QUrl) -> None: ... + def linkAt(self, point: QtCore.QPoint) -> QtCore.QUrl: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtLocation.pyi b/OTHERS/Jarvis/ools/PyQt5/QtLocation.pyi new file mode 100644 index 00000000..a27f6297 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtLocation.pyi @@ -0,0 +1,1188 @@ +# The PEP 484 type hints stub file for the QtLocation module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtPositioning +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QGeoCodeReply(QtCore.QObject): + + class Error(int): + NoError = ... # type: QGeoCodeReply.Error + EngineNotSetError = ... # type: QGeoCodeReply.Error + CommunicationError = ... # type: QGeoCodeReply.Error + ParseError = ... # type: QGeoCodeReply.Error + UnsupportedOptionError = ... # type: QGeoCodeReply.Error + CombinationError = ... # type: QGeoCodeReply.Error + UnknownError = ... # type: QGeoCodeReply.Error + + @typing.overload + def __init__(self, error: 'QGeoCodeReply.Error', errorString: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setOffset(self, offset: int) -> None: ... + def setLimit(self, limit: int) -> None: ... + def setLocations(self, locations: typing.Iterable[QtPositioning.QGeoLocation]) -> None: ... + def addLocation(self, location: QtPositioning.QGeoLocation) -> None: ... + def setViewport(self, viewport: QtPositioning.QGeoShape) -> None: ... + def setFinished(self, finished: bool) -> None: ... + def setError(self, error: 'QGeoCodeReply.Error', errorString: str) -> None: ... + def finished(self) -> None: ... + def aborted(self) -> None: ... + def abort(self) -> None: ... + def offset(self) -> int: ... + def limit(self) -> int: ... + def locations(self) -> typing.List[QtPositioning.QGeoLocation]: ... + def viewport(self) -> QtPositioning.QGeoShape: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QGeoCodeReply.Error': ... + @typing.overload + def error(self, error: 'QGeoCodeReply.Error', errorString: str = ...) -> None: ... + def isFinished(self) -> bool: ... + + +class QGeoCodingManager(QtCore.QObject): + + def error(self, reply: QGeoCodeReply, error: QGeoCodeReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QGeoCodeReply) -> None: ... + def locale(self) -> QtCore.QLocale: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply: ... + @typing.overload + def geocode(self, address: QtPositioning.QGeoAddress, bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply: ... + @typing.overload + def geocode(self, searchString: str, limit: int = ..., offset: int = ..., bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply: ... + def managerVersion(self) -> int: ... + def managerName(self) -> str: ... + + +class QGeoCodingManagerEngine(QtCore.QObject): + + def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def error(self, reply: QGeoCodeReply, error: QGeoCodeReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QGeoCodeReply) -> None: ... + def locale(self) -> QtCore.QLocale: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply: ... + @typing.overload + def geocode(self, address: QtPositioning.QGeoAddress, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply: ... + @typing.overload + def geocode(self, address: str, limit: int, offset: int, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply: ... + def managerVersion(self) -> int: ... + def managerName(self) -> str: ... + + +class QGeoManeuver(sip.simplewrapper): + + class InstructionDirection(int): + NoDirection = ... # type: QGeoManeuver.InstructionDirection + DirectionForward = ... # type: QGeoManeuver.InstructionDirection + DirectionBearRight = ... # type: QGeoManeuver.InstructionDirection + DirectionLightRight = ... # type: QGeoManeuver.InstructionDirection + DirectionRight = ... # type: QGeoManeuver.InstructionDirection + DirectionHardRight = ... # type: QGeoManeuver.InstructionDirection + DirectionUTurnRight = ... # type: QGeoManeuver.InstructionDirection + DirectionUTurnLeft = ... # type: QGeoManeuver.InstructionDirection + DirectionHardLeft = ... # type: QGeoManeuver.InstructionDirection + DirectionLeft = ... # type: QGeoManeuver.InstructionDirection + DirectionLightLeft = ... # type: QGeoManeuver.InstructionDirection + DirectionBearLeft = ... # type: QGeoManeuver.InstructionDirection + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoManeuver') -> None: ... + + def extendedAttributes(self) -> typing.Dict[str, typing.Any]: ... + def setExtendedAttributes(self, extendedAttributes: typing.Dict[str, typing.Any]) -> None: ... + def waypoint(self) -> QtPositioning.QGeoCoordinate: ... + def setWaypoint(self, coordinate: QtPositioning.QGeoCoordinate) -> None: ... + def distanceToNextInstruction(self) -> float: ... + def setDistanceToNextInstruction(self, distance: float) -> None: ... + def timeToNextInstruction(self) -> int: ... + def setTimeToNextInstruction(self, secs: int) -> None: ... + def direction(self) -> 'QGeoManeuver.InstructionDirection': ... + def setDirection(self, direction: 'QGeoManeuver.InstructionDirection') -> None: ... + def instructionText(self) -> str: ... + def setInstructionText(self, instructionText: str) -> None: ... + def position(self) -> QtPositioning.QGeoCoordinate: ... + def setPosition(self, position: QtPositioning.QGeoCoordinate) -> None: ... + def isValid(self) -> bool: ... + + +class QGeoRoute(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoRoute') -> None: ... + + def extendedAttributes(self) -> typing.Dict[str, typing.Any]: ... + def setExtendedAttributes(self, extendedAttributes: typing.Dict[str, typing.Any]) -> None: ... + def routeLegs(self) -> typing.List['QGeoRouteLeg']: ... + def setRouteLegs(self, legs: typing.Iterable['QGeoRouteLeg']) -> None: ... + def path(self) -> typing.List[QtPositioning.QGeoCoordinate]: ... + def setPath(self, path: typing.Iterable[QtPositioning.QGeoCoordinate]) -> None: ... + def travelMode(self) -> 'QGeoRouteRequest.TravelMode': ... + def setTravelMode(self, mode: 'QGeoRouteRequest.TravelMode') -> None: ... + def distance(self) -> float: ... + def setDistance(self, distance: float) -> None: ... + def travelTime(self) -> int: ... + def setTravelTime(self, secs: int) -> None: ... + def firstRouteSegment(self) -> 'QGeoRouteSegment': ... + def setFirstRouteSegment(self, routeSegment: 'QGeoRouteSegment') -> None: ... + def bounds(self) -> QtPositioning.QGeoRectangle: ... + def setBounds(self, bounds: QtPositioning.QGeoRectangle) -> None: ... + def request(self) -> 'QGeoRouteRequest': ... + def setRequest(self, request: 'QGeoRouteRequest') -> None: ... + def routeId(self) -> str: ... + def setRouteId(self, id: str) -> None: ... + + +class QGeoRouteLeg(QGeoRoute): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoRouteLeg') -> None: ... + + def overallRoute(self) -> QGeoRoute: ... + def setOverallRoute(self, route: QGeoRoute) -> None: ... + def legIndex(self) -> int: ... + def setLegIndex(self, idx: int) -> None: ... + + +class QGeoRouteReply(QtCore.QObject): + + class Error(int): + NoError = ... # type: QGeoRouteReply.Error + EngineNotSetError = ... # type: QGeoRouteReply.Error + CommunicationError = ... # type: QGeoRouteReply.Error + ParseError = ... # type: QGeoRouteReply.Error + UnsupportedOptionError = ... # type: QGeoRouteReply.Error + UnknownError = ... # type: QGeoRouteReply.Error + + @typing.overload + def __init__(self, error: 'QGeoRouteReply.Error', errorString: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, request: 'QGeoRouteRequest', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def addRoutes(self, routes: typing.Iterable[QGeoRoute]) -> None: ... + def setRoutes(self, routes: typing.Iterable[QGeoRoute]) -> None: ... + def setFinished(self, finished: bool) -> None: ... + def setError(self, error: 'QGeoRouteReply.Error', errorString: str) -> None: ... + def finished(self) -> None: ... + def aborted(self) -> None: ... + def abort(self) -> None: ... + def routes(self) -> typing.List[QGeoRoute]: ... + def request(self) -> 'QGeoRouteRequest': ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QGeoRouteReply.Error': ... + @typing.overload + def error(self, error: 'QGeoRouteReply.Error', errorString: str = ...) -> None: ... + def isFinished(self) -> bool: ... + + +class QGeoRouteRequest(sip.simplewrapper): + + class ManeuverDetail(int): + NoManeuvers = ... # type: QGeoRouteRequest.ManeuverDetail + BasicManeuvers = ... # type: QGeoRouteRequest.ManeuverDetail + + class SegmentDetail(int): + NoSegmentData = ... # type: QGeoRouteRequest.SegmentDetail + BasicSegmentData = ... # type: QGeoRouteRequest.SegmentDetail + + class RouteOptimization(int): + ShortestRoute = ... # type: QGeoRouteRequest.RouteOptimization + FastestRoute = ... # type: QGeoRouteRequest.RouteOptimization + MostEconomicRoute = ... # type: QGeoRouteRequest.RouteOptimization + MostScenicRoute = ... # type: QGeoRouteRequest.RouteOptimization + + class FeatureWeight(int): + NeutralFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight + PreferFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight + RequireFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight + AvoidFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight + DisallowFeatureWeight = ... # type: QGeoRouteRequest.FeatureWeight + + class FeatureType(int): + NoFeature = ... # type: QGeoRouteRequest.FeatureType + TollFeature = ... # type: QGeoRouteRequest.FeatureType + HighwayFeature = ... # type: QGeoRouteRequest.FeatureType + PublicTransitFeature = ... # type: QGeoRouteRequest.FeatureType + FerryFeature = ... # type: QGeoRouteRequest.FeatureType + TunnelFeature = ... # type: QGeoRouteRequest.FeatureType + DirtRoadFeature = ... # type: QGeoRouteRequest.FeatureType + ParksFeature = ... # type: QGeoRouteRequest.FeatureType + MotorPoolLaneFeature = ... # type: QGeoRouteRequest.FeatureType + TrafficFeature = ... # type: QGeoRouteRequest.FeatureType + + class TravelMode(int): + CarTravel = ... # type: QGeoRouteRequest.TravelMode + PedestrianTravel = ... # type: QGeoRouteRequest.TravelMode + BicycleTravel = ... # type: QGeoRouteRequest.TravelMode + PublicTransitTravel = ... # type: QGeoRouteRequest.TravelMode + TruckTravel = ... # type: QGeoRouteRequest.TravelMode + + class TravelModes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoRouteRequest.TravelModes', 'QGeoRouteRequest.TravelMode']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoRouteRequest.TravelModes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoRouteRequest.TravelModes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class FeatureTypes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoRouteRequest.FeatureTypes', 'QGeoRouteRequest.FeatureType']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoRouteRequest.FeatureTypes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoRouteRequest.FeatureTypes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class FeatureWeights(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoRouteRequest.FeatureWeights', 'QGeoRouteRequest.FeatureWeight']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoRouteRequest.FeatureWeights') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoRouteRequest.FeatureWeights': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class RouteOptimizations(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoRouteRequest.RouteOptimizations', 'QGeoRouteRequest.RouteOptimization']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoRouteRequest.RouteOptimizations') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoRouteRequest.RouteOptimizations': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class SegmentDetails(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoRouteRequest.SegmentDetails', 'QGeoRouteRequest.SegmentDetail']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoRouteRequest.SegmentDetails') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoRouteRequest.SegmentDetails': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ManeuverDetails(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoRouteRequest.ManeuverDetails', 'QGeoRouteRequest.ManeuverDetail']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoRouteRequest.ManeuverDetails') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoRouteRequest.ManeuverDetails': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, waypoints: typing.Iterable[QtPositioning.QGeoCoordinate] = ...) -> None: ... + @typing.overload + def __init__(self, origin: QtPositioning.QGeoCoordinate, destination: QtPositioning.QGeoCoordinate) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoRouteRequest') -> None: ... + + def departureTime(self) -> QtCore.QDateTime: ... + def setDepartureTime(self, departureTime: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def extraParameters(self) -> typing.Dict[str, typing.Any]: ... + def setExtraParameters(self, extraParameters: typing.Dict[str, typing.Any]) -> None: ... + def waypointsMetadata(self) -> typing.List[typing.Dict[str, typing.Any]]: ... + def setWaypointsMetadata(self, waypointMetadata: typing.Iterable[typing.Dict[str, typing.Any]]) -> None: ... + def maneuverDetail(self) -> 'QGeoRouteRequest.ManeuverDetail': ... + def setManeuverDetail(self, maneuverDetail: 'QGeoRouteRequest.ManeuverDetail') -> None: ... + def segmentDetail(self) -> 'QGeoRouteRequest.SegmentDetail': ... + def setSegmentDetail(self, segmentDetail: 'QGeoRouteRequest.SegmentDetail') -> None: ... + def routeOptimization(self) -> 'QGeoRouteRequest.RouteOptimizations': ... + def setRouteOptimization(self, optimization: typing.Union['QGeoRouteRequest.RouteOptimizations', 'QGeoRouteRequest.RouteOptimization']) -> None: ... + def featureTypes(self) -> typing.List['QGeoRouteRequest.FeatureType']: ... + def featureWeight(self, featureType: 'QGeoRouteRequest.FeatureType') -> 'QGeoRouteRequest.FeatureWeight': ... + def setFeatureWeight(self, featureType: 'QGeoRouteRequest.FeatureType', featureWeight: 'QGeoRouteRequest.FeatureWeight') -> None: ... + def travelModes(self) -> 'QGeoRouteRequest.TravelModes': ... + def setTravelModes(self, travelModes: typing.Union['QGeoRouteRequest.TravelModes', 'QGeoRouteRequest.TravelMode']) -> None: ... + def numberAlternativeRoutes(self) -> int: ... + def setNumberAlternativeRoutes(self, alternatives: int) -> None: ... + def excludeAreas(self) -> typing.List[QtPositioning.QGeoRectangle]: ... + def setExcludeAreas(self, areas: typing.Iterable[QtPositioning.QGeoRectangle]) -> None: ... + def waypoints(self) -> typing.List[QtPositioning.QGeoCoordinate]: ... + def setWaypoints(self, waypoints: typing.Iterable[QtPositioning.QGeoCoordinate]) -> None: ... + + +class QGeoRouteSegment(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoRouteSegment') -> None: ... + + def isLegLastSegment(self) -> bool: ... + def maneuver(self) -> QGeoManeuver: ... + def setManeuver(self, maneuver: QGeoManeuver) -> None: ... + def path(self) -> typing.List[QtPositioning.QGeoCoordinate]: ... + def setPath(self, path: typing.Iterable[QtPositioning.QGeoCoordinate]) -> None: ... + def distance(self) -> float: ... + def setDistance(self, distance: float) -> None: ... + def travelTime(self) -> int: ... + def setTravelTime(self, secs: int) -> None: ... + def nextRouteSegment(self) -> 'QGeoRouteSegment': ... + def setNextRouteSegment(self, routeSegment: 'QGeoRouteSegment') -> None: ... + def isValid(self) -> bool: ... + + +class QGeoRoutingManager(QtCore.QObject): + + def error(self, reply: QGeoRouteReply, error: QGeoRouteReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QGeoRouteReply) -> None: ... + def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ... + def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ... + def locale(self) -> QtCore.QLocale: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + def supportedManeuverDetails(self) -> QGeoRouteRequest.ManeuverDetails: ... + def supportedSegmentDetails(self) -> QGeoRouteRequest.SegmentDetails: ... + def supportedRouteOptimizations(self) -> QGeoRouteRequest.RouteOptimizations: ... + def supportedFeatureWeights(self) -> QGeoRouteRequest.FeatureWeights: ... + def supportedFeatureTypes(self) -> QGeoRouteRequest.FeatureTypes: ... + def supportedTravelModes(self) -> QGeoRouteRequest.TravelModes: ... + def updateRoute(self, route: QGeoRoute, position: QtPositioning.QGeoCoordinate) -> QGeoRouteReply: ... + def calculateRoute(self, request: QGeoRouteRequest) -> QGeoRouteReply: ... + def managerVersion(self) -> int: ... + def managerName(self) -> str: ... + + +class QGeoRoutingManagerEngine(QtCore.QObject): + + def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setSupportedManeuverDetails(self, maneuverDetails: typing.Union[QGeoRouteRequest.ManeuverDetails, QGeoRouteRequest.ManeuverDetail]) -> None: ... + def setSupportedSegmentDetails(self, segmentDetails: typing.Union[QGeoRouteRequest.SegmentDetails, QGeoRouteRequest.SegmentDetail]) -> None: ... + def setSupportedRouteOptimizations(self, optimizations: typing.Union[QGeoRouteRequest.RouteOptimizations, QGeoRouteRequest.RouteOptimization]) -> None: ... + def setSupportedFeatureWeights(self, featureWeights: typing.Union[QGeoRouteRequest.FeatureWeights, QGeoRouteRequest.FeatureWeight]) -> None: ... + def setSupportedFeatureTypes(self, featureTypes: typing.Union[QGeoRouteRequest.FeatureTypes, QGeoRouteRequest.FeatureType]) -> None: ... + def setSupportedTravelModes(self, travelModes: typing.Union[QGeoRouteRequest.TravelModes, QGeoRouteRequest.TravelMode]) -> None: ... + def error(self, reply: QGeoRouteReply, error: QGeoRouteReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QGeoRouteReply) -> None: ... + def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ... + def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ... + def locale(self) -> QtCore.QLocale: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + def supportedManeuverDetails(self) -> QGeoRouteRequest.ManeuverDetails: ... + def supportedSegmentDetails(self) -> QGeoRouteRequest.SegmentDetails: ... + def supportedRouteOptimizations(self) -> QGeoRouteRequest.RouteOptimizations: ... + def supportedFeatureWeights(self) -> QGeoRouteRequest.FeatureWeights: ... + def supportedFeatureTypes(self) -> QGeoRouteRequest.FeatureTypes: ... + def supportedTravelModes(self) -> QGeoRouteRequest.TravelModes: ... + def updateRoute(self, route: QGeoRoute, position: QtPositioning.QGeoCoordinate) -> QGeoRouteReply: ... + def calculateRoute(self, request: QGeoRouteRequest) -> QGeoRouteReply: ... + def managerVersion(self) -> int: ... + def managerName(self) -> str: ... + + +class QNavigationManager(sip.simplewrapper): ... + + +class QGeoServiceProvider(QtCore.QObject): + + class NavigationFeature(int): + NoNavigationFeatures = ... # type: QGeoServiceProvider.NavigationFeature + OnlineNavigationFeature = ... # type: QGeoServiceProvider.NavigationFeature + OfflineNavigationFeature = ... # type: QGeoServiceProvider.NavigationFeature + AnyNavigationFeatures = ... # type: QGeoServiceProvider.NavigationFeature + + class PlacesFeature(int): + NoPlacesFeatures = ... # type: QGeoServiceProvider.PlacesFeature + OnlinePlacesFeature = ... # type: QGeoServiceProvider.PlacesFeature + OfflinePlacesFeature = ... # type: QGeoServiceProvider.PlacesFeature + SavePlaceFeature = ... # type: QGeoServiceProvider.PlacesFeature + RemovePlaceFeature = ... # type: QGeoServiceProvider.PlacesFeature + SaveCategoryFeature = ... # type: QGeoServiceProvider.PlacesFeature + RemoveCategoryFeature = ... # type: QGeoServiceProvider.PlacesFeature + PlaceRecommendationsFeature = ... # type: QGeoServiceProvider.PlacesFeature + SearchSuggestionsFeature = ... # type: QGeoServiceProvider.PlacesFeature + LocalizedPlacesFeature = ... # type: QGeoServiceProvider.PlacesFeature + NotificationsFeature = ... # type: QGeoServiceProvider.PlacesFeature + PlaceMatchingFeature = ... # type: QGeoServiceProvider.PlacesFeature + AnyPlacesFeatures = ... # type: QGeoServiceProvider.PlacesFeature + + class MappingFeature(int): + NoMappingFeatures = ... # type: QGeoServiceProvider.MappingFeature + OnlineMappingFeature = ... # type: QGeoServiceProvider.MappingFeature + OfflineMappingFeature = ... # type: QGeoServiceProvider.MappingFeature + LocalizedMappingFeature = ... # type: QGeoServiceProvider.MappingFeature + AnyMappingFeatures = ... # type: QGeoServiceProvider.MappingFeature + + class GeocodingFeature(int): + NoGeocodingFeatures = ... # type: QGeoServiceProvider.GeocodingFeature + OnlineGeocodingFeature = ... # type: QGeoServiceProvider.GeocodingFeature + OfflineGeocodingFeature = ... # type: QGeoServiceProvider.GeocodingFeature + ReverseGeocodingFeature = ... # type: QGeoServiceProvider.GeocodingFeature + LocalizedGeocodingFeature = ... # type: QGeoServiceProvider.GeocodingFeature + AnyGeocodingFeatures = ... # type: QGeoServiceProvider.GeocodingFeature + + class RoutingFeature(int): + NoRoutingFeatures = ... # type: QGeoServiceProvider.RoutingFeature + OnlineRoutingFeature = ... # type: QGeoServiceProvider.RoutingFeature + OfflineRoutingFeature = ... # type: QGeoServiceProvider.RoutingFeature + LocalizedRoutingFeature = ... # type: QGeoServiceProvider.RoutingFeature + RouteUpdatesFeature = ... # type: QGeoServiceProvider.RoutingFeature + AlternativeRoutesFeature = ... # type: QGeoServiceProvider.RoutingFeature + ExcludeAreasRoutingFeature = ... # type: QGeoServiceProvider.RoutingFeature + AnyRoutingFeatures = ... # type: QGeoServiceProvider.RoutingFeature + + class Error(int): + NoError = ... # type: QGeoServiceProvider.Error + NotSupportedError = ... # type: QGeoServiceProvider.Error + UnknownParameterError = ... # type: QGeoServiceProvider.Error + MissingRequiredParameterError = ... # type: QGeoServiceProvider.Error + ConnectionError = ... # type: QGeoServiceProvider.Error + LoaderError = ... # type: QGeoServiceProvider.Error + + class RoutingFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoServiceProvider.RoutingFeatures', 'QGeoServiceProvider.RoutingFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoServiceProvider.RoutingFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoServiceProvider.RoutingFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class GeocodingFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoServiceProvider.GeocodingFeatures', 'QGeoServiceProvider.GeocodingFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoServiceProvider.GeocodingFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoServiceProvider.GeocodingFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class MappingFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoServiceProvider.MappingFeatures', 'QGeoServiceProvider.MappingFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoServiceProvider.MappingFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoServiceProvider.MappingFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class PlacesFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoServiceProvider.PlacesFeatures', 'QGeoServiceProvider.PlacesFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoServiceProvider.PlacesFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoServiceProvider.PlacesFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class NavigationFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoServiceProvider.NavigationFeatures', 'QGeoServiceProvider.NavigationFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoServiceProvider.NavigationFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoServiceProvider.NavigationFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, providerName: str, parameters: typing.Dict[str, typing.Any] = ..., allowExperimental: bool = ...) -> None: ... + + def navigationErrorString(self) -> str: ... + def navigationError(self) -> 'QGeoServiceProvider.Error': ... + def placesErrorString(self) -> str: ... + def placesError(self) -> 'QGeoServiceProvider.Error': ... + def routingErrorString(self) -> str: ... + def routingError(self) -> 'QGeoServiceProvider.Error': ... + def geocodingErrorString(self) -> str: ... + def geocodingError(self) -> 'QGeoServiceProvider.Error': ... + def mappingErrorString(self) -> str: ... + def mappingError(self) -> 'QGeoServiceProvider.Error': ... + def navigationManager(self) -> QNavigationManager: ... + def navigationFeatures(self) -> 'QGeoServiceProvider.NavigationFeatures': ... + def setAllowExperimental(self, allow: bool) -> None: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + def setParameters(self, parameters: typing.Dict[str, typing.Any]) -> None: ... + def errorString(self) -> str: ... + def error(self) -> 'QGeoServiceProvider.Error': ... + def placeManager(self) -> 'QPlaceManager': ... + def routingManager(self) -> QGeoRoutingManager: ... + def geocodingManager(self) -> QGeoCodingManager: ... + def placesFeatures(self) -> 'QGeoServiceProvider.PlacesFeatures': ... + def mappingFeatures(self) -> 'QGeoServiceProvider.MappingFeatures': ... + def geocodingFeatures(self) -> 'QGeoServiceProvider.GeocodingFeatures': ... + def routingFeatures(self) -> 'QGeoServiceProvider.RoutingFeatures': ... + @staticmethod + def availableServiceProviders() -> typing.List[str]: ... + + +class QLocation(PyQt5.sip.simplewrapper): + + class Visibility(int): + UnspecifiedVisibility = ... # type: QLocation.Visibility + DeviceVisibility = ... # type: QLocation.Visibility + PrivateVisibility = ... # type: QLocation.Visibility + PublicVisibility = ... # type: QLocation.Visibility + + class VisibilityScope(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QLocation.VisibilityScope', 'QLocation.Visibility']) -> None: ... + @typing.overload + def __init__(self, a0: 'QLocation.VisibilityScope') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QLocation.VisibilityScope': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + +class QPlace(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlace') -> None: ... + + def isEmpty(self) -> bool: ... + def setVisibility(self, visibility: QLocation.Visibility) -> None: ... + def visibility(self) -> QLocation.Visibility: ... + def removeContactDetails(self, contactType: str) -> None: ... + def appendContactDetail(self, contactType: str, detail: 'QPlaceContactDetail') -> None: ... + def setContactDetails(self, contactType: str, details: typing.Iterable['QPlaceContactDetail']) -> None: ... + def contactDetails(self, contactType: str) -> typing.List['QPlaceContactDetail']: ... + def contactTypes(self) -> typing.List[str]: ... + def removeExtendedAttribute(self, attributeType: str) -> None: ... + def setExtendedAttribute(self, attributeType: str, attribute: 'QPlaceAttribute') -> None: ... + def extendedAttribute(self, attributeType: str) -> 'QPlaceAttribute': ... + def extendedAttributeTypes(self) -> typing.List[str]: ... + def setDetailsFetched(self, fetched: bool) -> None: ... + def detailsFetched(self) -> bool: ... + def primaryWebsite(self) -> QtCore.QUrl: ... + def primaryEmail(self) -> str: ... + def primaryFax(self) -> str: ... + def primaryPhone(self) -> str: ... + def setPlaceId(self, identifier: str) -> None: ... + def placeId(self) -> str: ... + def setName(self, name: str) -> None: ... + def name(self) -> str: ... + def setTotalContentCount(self, type: 'QPlaceContent.Type', total: int) -> None: ... + def totalContentCount(self, type: 'QPlaceContent.Type') -> int: ... + def insertContent(self, type: 'QPlaceContent.Type', content: typing.Dict[int, 'QPlaceContent']) -> None: ... + def setContent(self, type: 'QPlaceContent.Type', content: typing.Dict[int, 'QPlaceContent']) -> None: ... + def content(self, type: 'QPlaceContent.Type') -> typing.Dict[int, 'QPlaceContent']: ... + def setIcon(self, icon: 'QPlaceIcon') -> None: ... + def icon(self) -> 'QPlaceIcon': ... + def setAttribution(self, attribution: str) -> None: ... + def attribution(self) -> str: ... + def setSupplier(self, supplier: 'QPlaceSupplier') -> None: ... + def supplier(self) -> 'QPlaceSupplier': ... + def setRatings(self, ratings: 'QPlaceRatings') -> None: ... + def ratings(self) -> 'QPlaceRatings': ... + def setLocation(self, location: QtPositioning.QGeoLocation) -> None: ... + def location(self) -> QtPositioning.QGeoLocation: ... + def setCategories(self, categories: typing.Iterable['QPlaceCategory']) -> None: ... + def setCategory(self, category: 'QPlaceCategory') -> None: ... + def categories(self) -> typing.List['QPlaceCategory']: ... + + +class QPlaceAttribute(sip.simplewrapper): + + OpeningHours = ... # type: str + Payment = ... # type: str + Provider = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceAttribute') -> None: ... + + def isEmpty(self) -> bool: ... + def setText(self, text: str) -> None: ... + def text(self) -> str: ... + def setLabel(self, label: str) -> None: ... + def label(self) -> str: ... + + +class QPlaceCategory(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceCategory') -> None: ... + + def isEmpty(self) -> bool: ... + def setIcon(self, icon: 'QPlaceIcon') -> None: ... + def icon(self) -> 'QPlaceIcon': ... + def setVisibility(self, visibility: QLocation.Visibility) -> None: ... + def visibility(self) -> QLocation.Visibility: ... + def setName(self, name: str) -> None: ... + def name(self) -> str: ... + def setCategoryId(self, identifier: str) -> None: ... + def categoryId(self) -> str: ... + + +class QPlaceContactDetail(sip.simplewrapper): + + Email = ... # type: str + Fax = ... # type: str + Phone = ... # type: str + Website = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceContactDetail') -> None: ... + + def clear(self) -> None: ... + def setValue(self, value: str) -> None: ... + def value(self) -> str: ... + def setLabel(self, label: str) -> None: ... + def label(self) -> str: ... + + +class QPlaceContent(sip.simplewrapper): + + class Type(int): + NoType = ... # type: QPlaceContent.Type + ImageType = ... # type: QPlaceContent.Type + ReviewType = ... # type: QPlaceContent.Type + EditorialType = ... # type: QPlaceContent.Type + CustomType = ... # type: QPlaceContent.Type + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceContent') -> None: ... + + def setAttribution(self, attribution: str) -> None: ... + def attribution(self) -> str: ... + def setUser(self, user: 'QPlaceUser') -> None: ... + def user(self) -> 'QPlaceUser': ... + def setSupplier(self, supplier: 'QPlaceSupplier') -> None: ... + def supplier(self) -> 'QPlaceSupplier': ... + def type(self) -> 'QPlaceContent.Type': ... + + +class QPlaceReply(QtCore.QObject): + + class Type(int): + Reply = ... # type: QPlaceReply.Type + DetailsReply = ... # type: QPlaceReply.Type + SearchReply = ... # type: QPlaceReply.Type + SearchSuggestionReply = ... # type: QPlaceReply.Type + ContentReply = ... # type: QPlaceReply.Type + IdReply = ... # type: QPlaceReply.Type + MatchReply = ... # type: QPlaceReply.Type + + class Error(int): + NoError = ... # type: QPlaceReply.Error + PlaceDoesNotExistError = ... # type: QPlaceReply.Error + CategoryDoesNotExistError = ... # type: QPlaceReply.Error + CommunicationError = ... # type: QPlaceReply.Error + ParseError = ... # type: QPlaceReply.Error + PermissionsError = ... # type: QPlaceReply.Error + UnsupportedError = ... # type: QPlaceReply.Error + BadArgumentError = ... # type: QPlaceReply.Error + CancelError = ... # type: QPlaceReply.Error + UnknownError = ... # type: QPlaceReply.Error + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setError(self, error: 'QPlaceReply.Error', errorString: str) -> None: ... + def setFinished(self, finished: bool) -> None: ... + def contentUpdated(self) -> None: ... + def finished(self) -> None: ... + def aborted(self) -> None: ... + def abort(self) -> None: ... + @typing.overload + def error(self) -> 'QPlaceReply.Error': ... + @typing.overload + def error(self, error: 'QPlaceReply.Error', errorString: str = ...) -> None: ... + def errorString(self) -> str: ... + def type(self) -> 'QPlaceReply.Type': ... + def isFinished(self) -> bool: ... + + +class QPlaceContentReply(QPlaceReply): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setNextPageRequest(self, next: 'QPlaceContentRequest') -> None: ... + def setPreviousPageRequest(self, previous: 'QPlaceContentRequest') -> None: ... + def setRequest(self, request: 'QPlaceContentRequest') -> None: ... + def setTotalCount(self, total: int) -> None: ... + def setContent(self, content: typing.Dict[int, QPlaceContent]) -> None: ... + def nextPageRequest(self) -> 'QPlaceContentRequest': ... + def previousPageRequest(self) -> 'QPlaceContentRequest': ... + def request(self) -> 'QPlaceContentRequest': ... + def totalCount(self) -> int: ... + def content(self) -> typing.Dict[int, QPlaceContent]: ... + def type(self) -> QPlaceReply.Type: ... + + +class QPlaceContentRequest(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceContentRequest') -> None: ... + + def clear(self) -> None: ... + def setLimit(self, limit: int) -> None: ... + def limit(self) -> int: ... + def setContentContext(self, context: typing.Any) -> None: ... + def contentContext(self) -> typing.Any: ... + def setPlaceId(self, identifier: str) -> None: ... + def placeId(self) -> str: ... + def setContentType(self, type: QPlaceContent.Type) -> None: ... + def contentType(self) -> QPlaceContent.Type: ... + + +class QPlaceDetailsReply(QPlaceReply): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setPlace(self, place: QPlace) -> None: ... + def place(self) -> QPlace: ... + def type(self) -> QPlaceReply.Type: ... + + +class QPlaceEditorial(QPlaceContent): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: QPlaceContent) -> None: ... + @typing.overload + def __init__(self, a0: 'QPlaceEditorial') -> None: ... + + def setLanguage(self, data: str) -> None: ... + def language(self) -> str: ... + def setTitle(self, data: str) -> None: ... + def title(self) -> str: ... + def setText(self, text: str) -> None: ... + def text(self) -> str: ... + + +class QPlaceIcon(sip.simplewrapper): + + SingleUrl = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceIcon') -> None: ... + + def isEmpty(self) -> bool: ... + def setParameters(self, parameters: typing.Dict[str, typing.Any]) -> None: ... + def parameters(self) -> typing.Dict[str, typing.Any]: ... + def setManager(self, manager: 'QPlaceManager') -> None: ... + def manager(self) -> 'QPlaceManager': ... + def url(self, size: QtCore.QSize = ...) -> QtCore.QUrl: ... + + +class QPlaceIdReply(QPlaceReply): + + class OperationType(int): + SavePlace = ... # type: QPlaceIdReply.OperationType + SaveCategory = ... # type: QPlaceIdReply.OperationType + RemovePlace = ... # type: QPlaceIdReply.OperationType + RemoveCategory = ... # type: QPlaceIdReply.OperationType + + def __init__(self, operationType: 'QPlaceIdReply.OperationType', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setId(self, identifier: str) -> None: ... + def id(self) -> str: ... + def operationType(self) -> 'QPlaceIdReply.OperationType': ... + def type(self) -> QPlaceReply.Type: ... + + +class QPlaceImage(QPlaceContent): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: QPlaceContent) -> None: ... + @typing.overload + def __init__(self, a0: 'QPlaceImage') -> None: ... + + def setMimeType(self, data: str) -> None: ... + def mimeType(self) -> str: ... + def setImageId(self, identifier: str) -> None: ... + def imageId(self) -> str: ... + def setUrl(self, url: QtCore.QUrl) -> None: ... + def url(self) -> QtCore.QUrl: ... + + +class QPlaceManager(QtCore.QObject): + + def dataChanged(self) -> None: ... + def categoryRemoved(self, categoryId: str, parentId: str) -> None: ... + def categoryUpdated(self, category: QPlaceCategory, parentId: str) -> None: ... + def categoryAdded(self, category: QPlaceCategory, parentId: str) -> None: ... + def placeRemoved(self, placeId: str) -> None: ... + def placeUpdated(self, placeId: str) -> None: ... + def placeAdded(self, placeId: str) -> None: ... + def error(self, a0: QPlaceReply, error: QPlaceReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QPlaceReply) -> None: ... + def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply': ... + def compatiblePlace(self, place: QPlace) -> QPlace: ... + def setLocales(self, locale: typing.Iterable[QtCore.QLocale]) -> None: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + def locales(self) -> typing.List[QtCore.QLocale]: ... + def childCategories(self, parentId: str = ...) -> typing.List[QPlaceCategory]: ... + def category(self, categoryId: str) -> QPlaceCategory: ... + def childCategoryIds(self, parentId: str = ...) -> typing.List[str]: ... + def parentCategoryId(self, categoryId: str) -> str: ... + def initializeCategories(self) -> QPlaceReply: ... + def removeCategory(self, categoryId: str) -> QPlaceIdReply: ... + def saveCategory(self, category: QPlaceCategory, parentId: str = ...) -> QPlaceIdReply: ... + def removePlace(self, placeId: str) -> QPlaceIdReply: ... + def savePlace(self, place: QPlace) -> QPlaceIdReply: ... + def searchSuggestions(self, request: 'QPlaceSearchRequest') -> 'QPlaceSearchSuggestionReply': ... + def search(self, query: 'QPlaceSearchRequest') -> 'QPlaceSearchReply': ... + def getPlaceContent(self, request: QPlaceContentRequest) -> QPlaceContentReply: ... + def getPlaceDetails(self, placeId: str) -> QPlaceDetailsReply: ... + def managerVersion(self) -> int: ... + def managerName(self) -> str: ... + + +class QPlaceManagerEngine(QtCore.QObject): + + def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def manager(self) -> QPlaceManager: ... + def dataChanged(self) -> None: ... + def categoryRemoved(self, categoryId: str, parentCategoryId: str) -> None: ... + def categoryUpdated(self, category: QPlaceCategory, parentCategoryId: str) -> None: ... + def categoryAdded(self, category: QPlaceCategory, parentCategoryId: str) -> None: ... + def placeRemoved(self, placeId: str) -> None: ... + def placeUpdated(self, placeId: str) -> None: ... + def placeAdded(self, placeId: str) -> None: ... + def error(self, a0: QPlaceReply, error: QPlaceReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QPlaceReply) -> None: ... + def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply': ... + def compatiblePlace(self, original: QPlace) -> QPlace: ... + def constructIconUrl(self, icon: QPlaceIcon, size: QtCore.QSize) -> QtCore.QUrl: ... + def setLocales(self, locales: typing.Iterable[QtCore.QLocale]) -> None: ... + def locales(self) -> typing.List[QtCore.QLocale]: ... + def childCategories(self, parentId: str) -> typing.List[QPlaceCategory]: ... + def category(self, categoryId: str) -> QPlaceCategory: ... + def childCategoryIds(self, categoryId: str) -> typing.List[str]: ... + def parentCategoryId(self, categoryId: str) -> str: ... + def initializeCategories(self) -> QPlaceReply: ... + def removeCategory(self, categoryId: str) -> QPlaceIdReply: ... + def saveCategory(self, category: QPlaceCategory, parentId: str) -> QPlaceIdReply: ... + def removePlace(self, placeId: str) -> QPlaceIdReply: ... + def savePlace(self, place: QPlace) -> QPlaceIdReply: ... + def searchSuggestions(self, request: 'QPlaceSearchRequest') -> 'QPlaceSearchSuggestionReply': ... + def search(self, request: 'QPlaceSearchRequest') -> 'QPlaceSearchReply': ... + def getPlaceContent(self, request: QPlaceContentRequest) -> QPlaceContentReply: ... + def getPlaceDetails(self, placeId: str) -> QPlaceDetailsReply: ... + def managerVersion(self) -> int: ... + def managerName(self) -> str: ... + + +class QPlaceMatchReply(QPlaceReply): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setRequest(self, request: 'QPlaceMatchRequest') -> None: ... + def setPlaces(self, results: typing.Iterable[QPlace]) -> None: ... + def request(self) -> 'QPlaceMatchRequest': ... + def places(self) -> typing.List[QPlace]: ... + def type(self) -> QPlaceReply.Type: ... + + +class QPlaceMatchRequest(sip.simplewrapper): + + AlternativeId = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceMatchRequest') -> None: ... + + def clear(self) -> None: ... + def setParameters(self, parameters: typing.Dict[str, typing.Any]) -> None: ... + def parameters(self) -> typing.Dict[str, typing.Any]: ... + def setResults(self, results: typing.Iterable['QPlaceSearchResult']) -> None: ... + def setPlaces(self, places: typing.Iterable[QPlace]) -> None: ... + def places(self) -> typing.List[QPlace]: ... + + +class QPlaceSearchResult(sip.simplewrapper): + + class SearchResultType(int): + UnknownSearchResult = ... # type: QPlaceSearchResult.SearchResultType + PlaceResult = ... # type: QPlaceSearchResult.SearchResultType + ProposedSearchResult = ... # type: QPlaceSearchResult.SearchResultType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceSearchResult') -> None: ... + + def setIcon(self, icon: QPlaceIcon) -> None: ... + def icon(self) -> QPlaceIcon: ... + def setTitle(self, title: str) -> None: ... + def title(self) -> str: ... + def type(self) -> 'QPlaceSearchResult.SearchResultType': ... + + +class QPlaceProposedSearchResult(QPlaceSearchResult): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: QPlaceSearchResult) -> None: ... + @typing.overload + def __init__(self, a0: 'QPlaceProposedSearchResult') -> None: ... + + def setSearchRequest(self, request: 'QPlaceSearchRequest') -> None: ... + def searchRequest(self) -> 'QPlaceSearchRequest': ... + + +class QPlaceRatings(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceRatings') -> None: ... + + def isEmpty(self) -> bool: ... + def setMaximum(self, max: float) -> None: ... + def maximum(self) -> float: ... + def setCount(self, count: int) -> None: ... + def count(self) -> int: ... + def setAverage(self, average: float) -> None: ... + def average(self) -> float: ... + + +class QPlaceResult(QPlaceSearchResult): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: QPlaceSearchResult) -> None: ... + @typing.overload + def __init__(self, a0: 'QPlaceResult') -> None: ... + + def setSponsored(self, sponsored: bool) -> None: ... + def isSponsored(self) -> bool: ... + def setPlace(self, place: QPlace) -> None: ... + def place(self) -> QPlace: ... + def setDistance(self, distance: float) -> None: ... + def distance(self) -> float: ... + + +class QPlaceReview(QPlaceContent): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: QPlaceContent) -> None: ... + @typing.overload + def __init__(self, a0: 'QPlaceReview') -> None: ... + + def setTitle(self, data: str) -> None: ... + def title(self) -> str: ... + def setReviewId(self, identifier: str) -> None: ... + def reviewId(self) -> str: ... + def setRating(self, data: float) -> None: ... + def rating(self) -> float: ... + def setLanguage(self, data: str) -> None: ... + def language(self) -> str: ... + def setText(self, text: str) -> None: ... + def text(self) -> str: ... + def setDateTime(self, dt: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def dateTime(self) -> QtCore.QDateTime: ... + + +class QPlaceSearchReply(QPlaceReply): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setNextPageRequest(self, next: 'QPlaceSearchRequest') -> None: ... + def setPreviousPageRequest(self, previous: 'QPlaceSearchRequest') -> None: ... + def setRequest(self, request: 'QPlaceSearchRequest') -> None: ... + def setResults(self, results: typing.Iterable[QPlaceSearchResult]) -> None: ... + def nextPageRequest(self) -> 'QPlaceSearchRequest': ... + def previousPageRequest(self) -> 'QPlaceSearchRequest': ... + def request(self) -> 'QPlaceSearchRequest': ... + def results(self) -> typing.List[QPlaceSearchResult]: ... + def type(self) -> QPlaceReply.Type: ... + + +class QPlaceSearchRequest(sip.simplewrapper): + + class RelevanceHint(int): + UnspecifiedHint = ... # type: QPlaceSearchRequest.RelevanceHint + DistanceHint = ... # type: QPlaceSearchRequest.RelevanceHint + LexicalPlaceNameHint = ... # type: QPlaceSearchRequest.RelevanceHint + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceSearchRequest') -> None: ... + + def clear(self) -> None: ... + def setLimit(self, limit: int) -> None: ... + def limit(self) -> int: ... + def setRelevanceHint(self, hint: 'QPlaceSearchRequest.RelevanceHint') -> None: ... + def relevanceHint(self) -> 'QPlaceSearchRequest.RelevanceHint': ... + def setVisibilityScope(self, visibilityScopes: typing.Union[QLocation.VisibilityScope, QLocation.Visibility]) -> None: ... + def visibilityScope(self) -> QLocation.VisibilityScope: ... + def setSearchContext(self, context: typing.Any) -> None: ... + def searchContext(self) -> typing.Any: ... + def setRecommendationId(self, recommendationId: str) -> None: ... + def recommendationId(self) -> str: ... + def setSearchArea(self, area: QtPositioning.QGeoShape) -> None: ... + def searchArea(self) -> QtPositioning.QGeoShape: ... + def setCategories(self, categories: typing.Iterable[QPlaceCategory]) -> None: ... + def setCategory(self, category: QPlaceCategory) -> None: ... + def categories(self) -> typing.List[QPlaceCategory]: ... + def setSearchTerm(self, term: str) -> None: ... + def searchTerm(self) -> str: ... + + +class QPlaceSearchSuggestionReply(QPlaceReply): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setSuggestions(self, suggestions: typing.Iterable[str]) -> None: ... + def type(self) -> QPlaceReply.Type: ... + def suggestions(self) -> typing.List[str]: ... + + +class QPlaceSupplier(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceSupplier') -> None: ... + + def isEmpty(self) -> bool: ... + def setIcon(self, icon: QPlaceIcon) -> None: ... + def icon(self) -> QPlaceIcon: ... + def setUrl(self, data: QtCore.QUrl) -> None: ... + def url(self) -> QtCore.QUrl: ... + def setSupplierId(self, identifier: str) -> None: ... + def supplierId(self) -> str: ... + def setName(self, data: str) -> None: ... + def name(self) -> str: ... + + +class QPlaceUser(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QPlaceUser') -> None: ... + + def setName(self, name: str) -> None: ... + def name(self) -> str: ... + def setUserId(self, identifier: str) -> None: ... + def userId(self) -> str: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtMultimedia.pyi b/OTHERS/Jarvis/ools/PyQt5/QtMultimedia.pyi new file mode 100644 index 00000000..17e0cc6b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtMultimedia.pyi @@ -0,0 +1,2556 @@ +# The PEP 484 type hints stub file for the QtMultimedia module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtNetwork +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QAbstractVideoBuffer(sip.simplewrapper): + + class MapMode(int): + NotMapped = ... # type: QAbstractVideoBuffer.MapMode + ReadOnly = ... # type: QAbstractVideoBuffer.MapMode + WriteOnly = ... # type: QAbstractVideoBuffer.MapMode + ReadWrite = ... # type: QAbstractVideoBuffer.MapMode + + class HandleType(int): + NoHandle = ... # type: QAbstractVideoBuffer.HandleType + GLTextureHandle = ... # type: QAbstractVideoBuffer.HandleType + XvShmImageHandle = ... # type: QAbstractVideoBuffer.HandleType + CoreImageHandle = ... # type: QAbstractVideoBuffer.HandleType + QPixmapHandle = ... # type: QAbstractVideoBuffer.HandleType + EGLImageHandle = ... # type: QAbstractVideoBuffer.HandleType + UserHandle = ... # type: QAbstractVideoBuffer.HandleType + + def __init__(self, type: 'QAbstractVideoBuffer.HandleType') -> None: ... + + def release(self) -> None: ... + def handle(self) -> typing.Any: ... + def unmap(self) -> None: ... + def map(self, mode: 'QAbstractVideoBuffer.MapMode') -> typing.Tuple[PyQt5.sip.voidptr, int, int]: ... + def mapMode(self) -> 'QAbstractVideoBuffer.MapMode': ... + def handleType(self) -> 'QAbstractVideoBuffer.HandleType': ... + + +class QVideoFilterRunnable(sip.simplewrapper): + + class RunFlag(int): + LastInChain = ... # type: QVideoFilterRunnable.RunFlag + + class RunFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QVideoFilterRunnable.RunFlags', 'QVideoFilterRunnable.RunFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QVideoFilterRunnable.RunFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QVideoFilterRunnable.RunFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QVideoFilterRunnable') -> None: ... + + def run(self, input: 'QVideoFrame', surfaceFormat: 'QVideoSurfaceFormat', flags: typing.Union['QVideoFilterRunnable.RunFlags', 'QVideoFilterRunnable.RunFlag']) -> 'QVideoFrame': ... + + +class QAbstractVideoFilter(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def activeChanged(self) -> None: ... + def createFilterRunnable(self) -> QVideoFilterRunnable: ... + def isActive(self) -> bool: ... + + +class QAbstractVideoSurface(QtCore.QObject): + + class Error(int): + NoError = ... # type: QAbstractVideoSurface.Error + UnsupportedFormatError = ... # type: QAbstractVideoSurface.Error + IncorrectFormatError = ... # type: QAbstractVideoSurface.Error + StoppedError = ... # type: QAbstractVideoSurface.Error + ResourceError = ... # type: QAbstractVideoSurface.Error + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def nativeResolutionChanged(self, a0: QtCore.QSize) -> None: ... + def setNativeResolution(self, resolution: QtCore.QSize) -> None: ... + def nativeResolution(self) -> QtCore.QSize: ... + def setError(self, error: 'QAbstractVideoSurface.Error') -> None: ... + def supportedFormatsChanged(self) -> None: ... + def surfaceFormatChanged(self, format: 'QVideoSurfaceFormat') -> None: ... + def activeChanged(self, active: bool) -> None: ... + def error(self) -> 'QAbstractVideoSurface.Error': ... + def present(self, frame: 'QVideoFrame') -> bool: ... + def isActive(self) -> bool: ... + def stop(self) -> None: ... + def start(self, format: 'QVideoSurfaceFormat') -> bool: ... + def surfaceFormat(self) -> 'QVideoSurfaceFormat': ... + def nearestFormat(self, format: 'QVideoSurfaceFormat') -> 'QVideoSurfaceFormat': ... + def isFormatSupported(self, format: 'QVideoSurfaceFormat') -> bool: ... + def supportedPixelFormats(self, type: QAbstractVideoBuffer.HandleType = ...) -> typing.List['QVideoFrame.PixelFormat']: ... + + +class QAudio(PyQt5.sip.simplewrapper): + + class VolumeScale(int): + LinearVolumeScale = ... # type: QAudio.VolumeScale + CubicVolumeScale = ... # type: QAudio.VolumeScale + LogarithmicVolumeScale = ... # type: QAudio.VolumeScale + DecibelVolumeScale = ... # type: QAudio.VolumeScale + + class Role(int): + UnknownRole = ... # type: QAudio.Role + MusicRole = ... # type: QAudio.Role + VideoRole = ... # type: QAudio.Role + VoiceCommunicationRole = ... # type: QAudio.Role + AlarmRole = ... # type: QAudio.Role + NotificationRole = ... # type: QAudio.Role + RingtoneRole = ... # type: QAudio.Role + AccessibilityRole = ... # type: QAudio.Role + SonificationRole = ... # type: QAudio.Role + GameRole = ... # type: QAudio.Role + CustomRole = ... # type: QAudio.Role + + class Mode(int): + AudioInput = ... # type: QAudio.Mode + AudioOutput = ... # type: QAudio.Mode + + class State(int): + ActiveState = ... # type: QAudio.State + SuspendedState = ... # type: QAudio.State + StoppedState = ... # type: QAudio.State + IdleState = ... # type: QAudio.State + InterruptedState = ... # type: QAudio.State + + class Error(int): + NoError = ... # type: QAudio.Error + OpenError = ... # type: QAudio.Error + IOError = ... # type: QAudio.Error + UnderrunError = ... # type: QAudio.Error + FatalError = ... # type: QAudio.Error + + def convertVolume(self, volume: float, from_: 'QAudio.VolumeScale', to: 'QAudio.VolumeScale') -> float: ... + + +class QAudioBuffer(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray], format: 'QAudioFormat', startTime: int = ...) -> None: ... + @typing.overload + def __init__(self, numFrames: int, format: 'QAudioFormat', startTime: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QAudioBuffer') -> None: ... + + def data(self) -> PyQt5.sip.voidptr: ... + def constData(self) -> PyQt5.sip.voidptr: ... + def startTime(self) -> int: ... + def duration(self) -> int: ... + def byteCount(self) -> int: ... + def sampleCount(self) -> int: ... + def frameCount(self) -> int: ... + def format(self) -> 'QAudioFormat': ... + def isValid(self) -> bool: ... + + +class QMediaObject(QtCore.QObject): + + def __init__(self, parent: QtCore.QObject, service: 'QMediaService') -> None: ... + + def removePropertyWatch(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def addPropertyWatch(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + @typing.overload + def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... + @typing.overload + def availabilityChanged(self, available: bool) -> None: ... + @typing.overload + def metaDataChanged(self) -> None: ... + @typing.overload + def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + def metaDataAvailableChanged(self, available: bool) -> None: ... + def notifyIntervalChanged(self, milliSeconds: int) -> None: ... + def availableMetaData(self) -> typing.List[str]: ... + def metaData(self, key: str) -> typing.Any: ... + def isMetaDataAvailable(self) -> bool: ... + def unbind(self, a0: QtCore.QObject) -> None: ... + def bind(self, a0: QtCore.QObject) -> bool: ... + def setNotifyInterval(self, milliSeconds: int) -> None: ... + def notifyInterval(self) -> int: ... + def service(self) -> 'QMediaService': ... + def availability(self) -> 'QMultimedia.AvailabilityStatus': ... + def isAvailable(self) -> bool: ... + + +class QAudioDecoder(QMediaObject): + + class Error(int): + NoError = ... # type: QAudioDecoder.Error + ResourceError = ... # type: QAudioDecoder.Error + FormatError = ... # type: QAudioDecoder.Error + AccessDeniedError = ... # type: QAudioDecoder.Error + ServiceMissingError = ... # type: QAudioDecoder.Error + + class State(int): + StoppedState = ... # type: QAudioDecoder.State + DecodingState = ... # type: QAudioDecoder.State + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def unbind(self, a0: QtCore.QObject) -> None: ... + def bind(self, a0: QtCore.QObject) -> bool: ... + def durationChanged(self, duration: int) -> None: ... + def positionChanged(self, position: int) -> None: ... + def sourceChanged(self) -> None: ... + def formatChanged(self, format: 'QAudioFormat') -> None: ... + def stateChanged(self, newState: 'QAudioDecoder.State') -> None: ... + def finished(self) -> None: ... + def bufferReady(self) -> None: ... + def bufferAvailableChanged(self, a0: bool) -> None: ... + def stop(self) -> None: ... + def start(self) -> None: ... + def duration(self) -> int: ... + def position(self) -> int: ... + def bufferAvailable(self) -> bool: ... + def read(self) -> QAudioBuffer: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QAudioDecoder.Error': ... + @typing.overload + def error(self, error: 'QAudioDecoder.Error') -> None: ... + def setAudioFormat(self, format: 'QAudioFormat') -> None: ... + def audioFormat(self) -> 'QAudioFormat': ... + def setSourceDevice(self, device: QtCore.QIODevice) -> None: ... + def sourceDevice(self) -> QtCore.QIODevice: ... + def setSourceFilename(self, fileName: str) -> None: ... + def sourceFilename(self) -> str: ... + def state(self) -> 'QAudioDecoder.State': ... + @staticmethod + def hasSupport(mimeType: str, codecs: typing.Iterable[str] = ...) -> 'QMultimedia.SupportEstimate': ... + + +class QMediaControl(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + +class QAudioDecoderControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def durationChanged(self, duration: int) -> None: ... + def positionChanged(self, position: int) -> None: ... + def finished(self) -> None: ... + def bufferAvailableChanged(self, available: bool) -> None: ... + def bufferReady(self) -> None: ... + def error(self, error: int, errorString: str) -> None: ... + def sourceChanged(self) -> None: ... + def formatChanged(self, format: 'QAudioFormat') -> None: ... + def stateChanged(self, newState: QAudioDecoder.State) -> None: ... + def duration(self) -> int: ... + def position(self) -> int: ... + def bufferAvailable(self) -> bool: ... + def read(self) -> QAudioBuffer: ... + def setAudioFormat(self, format: 'QAudioFormat') -> None: ... + def audioFormat(self) -> 'QAudioFormat': ... + def stop(self) -> None: ... + def start(self) -> None: ... + def setSourceDevice(self, device: QtCore.QIODevice) -> None: ... + def sourceDevice(self) -> QtCore.QIODevice: ... + def setSourceFilename(self, fileName: str) -> None: ... + def sourceFilename(self) -> str: ... + def state(self) -> QAudioDecoder.State: ... + + +class QAudioDeviceInfo(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QAudioDeviceInfo') -> None: ... + + def realm(self) -> str: ... + def supportedChannelCounts(self) -> typing.List[int]: ... + def supportedSampleRates(self) -> typing.List[int]: ... + @staticmethod + def availableDevices(mode: QAudio.Mode) -> typing.List['QAudioDeviceInfo']: ... + @staticmethod + def defaultOutputDevice() -> 'QAudioDeviceInfo': ... + @staticmethod + def defaultInputDevice() -> 'QAudioDeviceInfo': ... + def supportedSampleTypes(self) -> typing.List['QAudioFormat.SampleType']: ... + def supportedByteOrders(self) -> typing.List['QAudioFormat.Endian']: ... + def supportedSampleSizes(self) -> typing.List[int]: ... + def supportedCodecs(self) -> typing.List[str]: ... + def nearestFormat(self, format: 'QAudioFormat') -> 'QAudioFormat': ... + def preferredFormat(self) -> 'QAudioFormat': ... + def isFormatSupported(self, format: 'QAudioFormat') -> bool: ... + def deviceName(self) -> str: ... + def isNull(self) -> bool: ... + + +class QAudioEncoderSettingsControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setAudioSettings(self, settings: 'QAudioEncoderSettings') -> None: ... + def audioSettings(self) -> 'QAudioEncoderSettings': ... + def supportedSampleRates(self, settings: 'QAudioEncoderSettings') -> typing.Tuple[typing.List[int], bool]: ... + def codecDescription(self, codecName: str) -> str: ... + def supportedAudioCodecs(self) -> typing.List[str]: ... + + +class QAudioFormat(sip.simplewrapper): + + class Endian(int): + BigEndian = ... # type: QAudioFormat.Endian + LittleEndian = ... # type: QAudioFormat.Endian + + class SampleType(int): + Unknown = ... # type: QAudioFormat.SampleType + SignedInt = ... # type: QAudioFormat.SampleType + UnSignedInt = ... # type: QAudioFormat.SampleType + Float = ... # type: QAudioFormat.SampleType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QAudioFormat') -> None: ... + + def bytesPerFrame(self) -> int: ... + def durationForFrames(self, frameCount: int) -> int: ... + def framesForDuration(self, duration: int) -> int: ... + def framesForBytes(self, byteCount: int) -> int: ... + def bytesForFrames(self, frameCount: int) -> int: ... + def durationForBytes(self, byteCount: int) -> int: ... + def bytesForDuration(self, duration: int) -> int: ... + def channelCount(self) -> int: ... + def setChannelCount(self, channelCount: int) -> None: ... + def sampleRate(self) -> int: ... + def setSampleRate(self, sampleRate: int) -> None: ... + def sampleType(self) -> 'QAudioFormat.SampleType': ... + def setSampleType(self, sampleType: 'QAudioFormat.SampleType') -> None: ... + def byteOrder(self) -> 'QAudioFormat.Endian': ... + def setByteOrder(self, byteOrder: 'QAudioFormat.Endian') -> None: ... + def codec(self) -> str: ... + def setCodec(self, codec: str) -> None: ... + def sampleSize(self) -> int: ... + def setSampleSize(self, sampleSize: int) -> None: ... + def isValid(self) -> bool: ... + + +class QAudioInput(QtCore.QObject): + + @typing.overload + def __init__(self, format: QAudioFormat = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, audioDevice: QAudioDeviceInfo, format: QAudioFormat = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def volume(self) -> float: ... + def setVolume(self, volume: float) -> None: ... + def notify(self) -> None: ... + def stateChanged(self, a0: QAudio.State) -> None: ... + def state(self) -> QAudio.State: ... + def error(self) -> QAudio.Error: ... + def elapsedUSecs(self) -> int: ... + def processedUSecs(self) -> int: ... + def notifyInterval(self) -> int: ... + def setNotifyInterval(self, milliSeconds: int) -> None: ... + def periodSize(self) -> int: ... + def bytesReady(self) -> int: ... + def bufferSize(self) -> int: ... + def setBufferSize(self, bytes: int) -> None: ... + def resume(self) -> None: ... + def suspend(self) -> None: ... + def reset(self) -> None: ... + def stop(self) -> None: ... + @typing.overload + def start(self, device: QtCore.QIODevice) -> None: ... + @typing.overload + def start(self) -> QtCore.QIODevice: ... + def format(self) -> QAudioFormat: ... + + +class QAudioInputSelectorControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def availableInputsChanged(self) -> None: ... + def activeInputChanged(self, name: str) -> None: ... + def setActiveInput(self, name: str) -> None: ... + def activeInput(self) -> str: ... + def defaultInput(self) -> str: ... + def inputDescription(self, name: str) -> str: ... + def availableInputs(self) -> typing.List[str]: ... + + +class QAudioOutput(QtCore.QObject): + + @typing.overload + def __init__(self, format: QAudioFormat = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, audioDevice: QAudioDeviceInfo, format: QAudioFormat = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setCategory(self, category: str) -> None: ... + def category(self) -> str: ... + def volume(self) -> float: ... + def setVolume(self, a0: float) -> None: ... + def notify(self) -> None: ... + def stateChanged(self, a0: QAudio.State) -> None: ... + def state(self) -> QAudio.State: ... + def error(self) -> QAudio.Error: ... + def elapsedUSecs(self) -> int: ... + def processedUSecs(self) -> int: ... + def notifyInterval(self) -> int: ... + def setNotifyInterval(self, milliSeconds: int) -> None: ... + def periodSize(self) -> int: ... + def bytesFree(self) -> int: ... + def bufferSize(self) -> int: ... + def setBufferSize(self, bytes: int) -> None: ... + def resume(self) -> None: ... + def suspend(self) -> None: ... + def reset(self) -> None: ... + def stop(self) -> None: ... + @typing.overload + def start(self, device: QtCore.QIODevice) -> None: ... + @typing.overload + def start(self) -> QtCore.QIODevice: ... + def format(self) -> QAudioFormat: ... + + +class QAudioOutputSelectorControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def availableOutputsChanged(self) -> None: ... + def activeOutputChanged(self, name: str) -> None: ... + def setActiveOutput(self, name: str) -> None: ... + def activeOutput(self) -> str: ... + def defaultOutput(self) -> str: ... + def outputDescription(self, name: str) -> str: ... + def availableOutputs(self) -> typing.List[str]: ... + + +class QAudioProbe(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def flush(self) -> None: ... + def audioBufferProbed(self, audioBuffer: QAudioBuffer) -> None: ... + def isActive(self) -> bool: ... + @typing.overload + def setSource(self, source: QMediaObject) -> bool: ... + @typing.overload + def setSource(self, source: 'QMediaRecorder') -> bool: ... + + +class QMediaBindableInterface(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QMediaBindableInterface') -> None: ... + + def setMediaObject(self, object: QMediaObject) -> bool: ... + def mediaObject(self) -> QMediaObject: ... + + +class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): + + class Error(int): + NoError = ... # type: QMediaRecorder.Error + ResourceError = ... # type: QMediaRecorder.Error + FormatError = ... # type: QMediaRecorder.Error + OutOfSpaceError = ... # type: QMediaRecorder.Error + + class Status(int): + UnavailableStatus = ... # type: QMediaRecorder.Status + UnloadedStatus = ... # type: QMediaRecorder.Status + LoadingStatus = ... # type: QMediaRecorder.Status + LoadedStatus = ... # type: QMediaRecorder.Status + StartingStatus = ... # type: QMediaRecorder.Status + RecordingStatus = ... # type: QMediaRecorder.Status + PausedStatus = ... # type: QMediaRecorder.Status + FinalizingStatus = ... # type: QMediaRecorder.Status + + class State(int): + StoppedState = ... # type: QMediaRecorder.State + RecordingState = ... # type: QMediaRecorder.State + PausedState = ... # type: QMediaRecorder.State + + def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setMediaObject(self, object: QMediaObject) -> bool: ... + @typing.overload + def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... + @typing.overload + def availabilityChanged(self, available: bool) -> None: ... + @typing.overload + def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + @typing.overload + def metaDataChanged(self) -> None: ... + def metaDataWritableChanged(self, writable: bool) -> None: ... + def metaDataAvailableChanged(self, available: bool) -> None: ... + def actualLocationChanged(self, location: QtCore.QUrl) -> None: ... + def volumeChanged(self, volume: float) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def durationChanged(self, duration: int) -> None: ... + def statusChanged(self, status: 'QMediaRecorder.Status') -> None: ... + def stateChanged(self, state: 'QMediaRecorder.State') -> None: ... + def setVolume(self, volume: float) -> None: ... + def setMuted(self, muted: bool) -> None: ... + def stop(self) -> None: ... + def pause(self) -> None: ... + def record(self) -> None: ... + def availableMetaData(self) -> typing.List[str]: ... + def setMetaData(self, key: str, value: typing.Any) -> None: ... + def metaData(self, key: str) -> typing.Any: ... + def isMetaDataWritable(self) -> bool: ... + def isMetaDataAvailable(self) -> bool: ... + def setEncodingSettings(self, audio: 'QAudioEncoderSettings', video: 'QVideoEncoderSettings' = ..., container: str = ...) -> None: ... + def setContainerFormat(self, container: str) -> None: ... + def setVideoSettings(self, videoSettings: 'QVideoEncoderSettings') -> None: ... + def setAudioSettings(self, audioSettings: 'QAudioEncoderSettings') -> None: ... + def containerFormat(self) -> str: ... + def videoSettings(self) -> 'QVideoEncoderSettings': ... + def audioSettings(self) -> 'QAudioEncoderSettings': ... + def supportedFrameRates(self, settings: 'QVideoEncoderSettings' = ...) -> typing.Tuple[typing.List[float], bool]: ... + def supportedResolutions(self, settings: 'QVideoEncoderSettings' = ...) -> typing.Tuple[typing.List[QtCore.QSize], bool]: ... + def videoCodecDescription(self, codecName: str) -> str: ... + def supportedVideoCodecs(self) -> typing.List[str]: ... + def supportedAudioSampleRates(self, settings: 'QAudioEncoderSettings' = ...) -> typing.Tuple[typing.List[int], bool]: ... + def audioCodecDescription(self, codecName: str) -> str: ... + def supportedAudioCodecs(self) -> typing.List[str]: ... + def containerDescription(self, format: str) -> str: ... + def supportedContainers(self) -> typing.List[str]: ... + def volume(self) -> float: ... + def isMuted(self) -> bool: ... + def duration(self) -> int: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QMediaRecorder.Error': ... + @typing.overload + def error(self, error: 'QMediaRecorder.Error') -> None: ... + def status(self) -> 'QMediaRecorder.Status': ... + def state(self) -> 'QMediaRecorder.State': ... + def actualLocation(self) -> QtCore.QUrl: ... + def setOutputLocation(self, location: QtCore.QUrl) -> bool: ... + def outputLocation(self) -> QtCore.QUrl: ... + def availability(self) -> 'QMultimedia.AvailabilityStatus': ... + def isAvailable(self) -> bool: ... + def mediaObject(self) -> QMediaObject: ... + + +class QAudioRecorder(QMediaRecorder): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def availableAudioInputsChanged(self) -> None: ... + def audioInputChanged(self, name: str) -> None: ... + def setAudioInput(self, name: str) -> None: ... + def audioInput(self) -> str: ... + def audioInputDescription(self, name: str) -> str: ... + def defaultAudioInput(self) -> str: ... + def audioInputs(self) -> typing.List[str]: ... + + +class QAudioRoleControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def audioRoleChanged(self, role: QAudio.Role) -> None: ... + def supportedAudioRoles(self) -> typing.List[QAudio.Role]: ... + def setAudioRole(self, role: QAudio.Role) -> None: ... + def audioRole(self) -> QAudio.Role: ... + + +class QCamera(QMediaObject): + + class Position(int): + UnspecifiedPosition = ... # type: QCamera.Position + BackFace = ... # type: QCamera.Position + FrontFace = ... # type: QCamera.Position + + class LockType(int): + NoLock = ... # type: QCamera.LockType + LockExposure = ... # type: QCamera.LockType + LockWhiteBalance = ... # type: QCamera.LockType + LockFocus = ... # type: QCamera.LockType + + class LockChangeReason(int): + UserRequest = ... # type: QCamera.LockChangeReason + LockAcquired = ... # type: QCamera.LockChangeReason + LockFailed = ... # type: QCamera.LockChangeReason + LockLost = ... # type: QCamera.LockChangeReason + LockTemporaryLost = ... # type: QCamera.LockChangeReason + + class LockStatus(int): + Unlocked = ... # type: QCamera.LockStatus + Searching = ... # type: QCamera.LockStatus + Locked = ... # type: QCamera.LockStatus + + class Error(int): + NoError = ... # type: QCamera.Error + CameraError = ... # type: QCamera.Error + InvalidRequestError = ... # type: QCamera.Error + ServiceMissingError = ... # type: QCamera.Error + NotSupportedFeatureError = ... # type: QCamera.Error + + class CaptureMode(int): + CaptureViewfinder = ... # type: QCamera.CaptureMode + CaptureStillImage = ... # type: QCamera.CaptureMode + CaptureVideo = ... # type: QCamera.CaptureMode + + class State(int): + UnloadedState = ... # type: QCamera.State + LoadedState = ... # type: QCamera.State + ActiveState = ... # type: QCamera.State + + class Status(int): + UnavailableStatus = ... # type: QCamera.Status + UnloadedStatus = ... # type: QCamera.Status + LoadingStatus = ... # type: QCamera.Status + UnloadingStatus = ... # type: QCamera.Status + LoadedStatus = ... # type: QCamera.Status + StandbyStatus = ... # type: QCamera.Status + StartingStatus = ... # type: QCamera.Status + StoppingStatus = ... # type: QCamera.Status + ActiveStatus = ... # type: QCamera.Status + + class CaptureModes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QCamera.CaptureModes', 'QCamera.CaptureMode']) -> None: ... + @typing.overload + def __init__(self, a0: 'QCamera.CaptureModes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QCamera.CaptureModes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class LockTypes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QCamera.LockTypes', 'QCamera.LockType']) -> None: ... + @typing.overload + def __init__(self, a0: 'QCamera.LockTypes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QCamera.LockTypes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class FrameRateRange(sip.simplewrapper): + + maximumFrameRate = ... # type: float + minimumFrameRate = ... # type: float + + @typing.overload + def __init__(self, minimum: float, maximum: float) -> None: ... + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QCamera.FrameRateRange') -> None: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, device: typing.Union[QtCore.QByteArray, bytes, bytearray], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, cameraInfo: 'QCameraInfo', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, position: 'QCamera.Position', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def supportedViewfinderPixelFormats(self, settings: 'QCameraViewfinderSettings' = ...) -> typing.List['QVideoFrame.PixelFormat']: ... + def supportedViewfinderFrameRateRanges(self, settings: 'QCameraViewfinderSettings' = ...) -> typing.List['QCamera.FrameRateRange']: ... + def supportedViewfinderResolutions(self, settings: 'QCameraViewfinderSettings' = ...) -> typing.List[QtCore.QSize]: ... + def supportedViewfinderSettings(self, settings: 'QCameraViewfinderSettings' = ...) -> typing.List['QCameraViewfinderSettings']: ... + def setViewfinderSettings(self, settings: 'QCameraViewfinderSettings') -> None: ... + def viewfinderSettings(self) -> 'QCameraViewfinderSettings': ... + def errorOccurred(self, a0: 'QCamera.Error') -> None: ... + @typing.overload + def lockStatusChanged(self, a0: 'QCamera.LockStatus', a1: 'QCamera.LockChangeReason') -> None: ... + @typing.overload + def lockStatusChanged(self, a0: 'QCamera.LockType', a1: 'QCamera.LockStatus', a2: 'QCamera.LockChangeReason') -> None: ... + def lockFailed(self) -> None: ... + def locked(self) -> None: ... + def statusChanged(self, a0: 'QCamera.Status') -> None: ... + def captureModeChanged(self, a0: typing.Union['QCamera.CaptureModes', 'QCamera.CaptureMode']) -> None: ... + def stateChanged(self, a0: 'QCamera.State') -> None: ... + @typing.overload + def unlock(self) -> None: ... + @typing.overload + def unlock(self, locks: typing.Union['QCamera.LockTypes', 'QCamera.LockType']) -> None: ... + @typing.overload + def searchAndLock(self) -> None: ... + @typing.overload + def searchAndLock(self, locks: typing.Union['QCamera.LockTypes', 'QCamera.LockType']) -> None: ... + def stop(self) -> None: ... + def start(self) -> None: ... + def unload(self) -> None: ... + def load(self) -> None: ... + def setCaptureMode(self, mode: typing.Union['QCamera.CaptureModes', 'QCamera.CaptureMode']) -> None: ... + @typing.overload + def lockStatus(self) -> 'QCamera.LockStatus': ... + @typing.overload + def lockStatus(self, lock: 'QCamera.LockType') -> 'QCamera.LockStatus': ... + def requestedLocks(self) -> 'QCamera.LockTypes': ... + def supportedLocks(self) -> 'QCamera.LockTypes': ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QCamera.Error': ... + @typing.overload + def error(self, a0: 'QCamera.Error') -> None: ... + @typing.overload + def setViewfinder(self, viewfinder: QVideoWidget) -> None: ... + @typing.overload + def setViewfinder(self, viewfinder: QGraphicsVideoItem) -> None: ... + @typing.overload + def setViewfinder(self, surface: QAbstractVideoSurface) -> None: ... + def imageProcessing(self) -> 'QCameraImageProcessing': ... + def focus(self) -> 'QCameraFocus': ... + def exposure(self) -> 'QCameraExposure': ... + def isCaptureModeSupported(self, mode: typing.Union['QCamera.CaptureModes', 'QCamera.CaptureMode']) -> bool: ... + def captureMode(self) -> 'QCamera.CaptureModes': ... + def status(self) -> 'QCamera.Status': ... + def state(self) -> 'QCamera.State': ... + def availability(self) -> 'QMultimedia.AvailabilityStatus': ... + @staticmethod + def deviceDescription(device: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> str: ... + @staticmethod + def availableDevices() -> typing.List[QtCore.QByteArray]: ... + + +class QCameraCaptureBufferFormatControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def bufferFormatChanged(self, format: 'QVideoFrame.PixelFormat') -> None: ... + def setBufferFormat(self, format: 'QVideoFrame.PixelFormat') -> None: ... + def bufferFormat(self) -> 'QVideoFrame.PixelFormat': ... + def supportedBufferFormats(self) -> typing.List['QVideoFrame.PixelFormat']: ... + + +class QCameraCaptureDestinationControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def captureDestinationChanged(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... + def setCaptureDestination(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... + def captureDestination(self) -> 'QCameraImageCapture.CaptureDestinations': ... + def isCaptureDestinationSupported(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> bool: ... + + +class QCameraControl(QMediaControl): + + class PropertyChangeType(int): + CaptureMode = ... # type: QCameraControl.PropertyChangeType + ImageEncodingSettings = ... # type: QCameraControl.PropertyChangeType + VideoEncodingSettings = ... # type: QCameraControl.PropertyChangeType + Viewfinder = ... # type: QCameraControl.PropertyChangeType + ViewfinderSettings = ... # type: QCameraControl.PropertyChangeType + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def captureModeChanged(self, mode: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> None: ... + def error(self, error: int, errorString: str) -> None: ... + def statusChanged(self, a0: QCamera.Status) -> None: ... + def stateChanged(self, a0: QCamera.State) -> None: ... + def canChangeProperty(self, changeType: 'QCameraControl.PropertyChangeType', status: QCamera.Status) -> bool: ... + def isCaptureModeSupported(self, mode: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> bool: ... + def setCaptureMode(self, a0: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> None: ... + def captureMode(self) -> QCamera.CaptureModes: ... + def status(self) -> QCamera.Status: ... + def setState(self, state: QCamera.State) -> None: ... + def state(self) -> QCamera.State: ... + + +class QCameraExposure(QtCore.QObject): + + class MeteringMode(int): + MeteringMatrix = ... # type: QCameraExposure.MeteringMode + MeteringAverage = ... # type: QCameraExposure.MeteringMode + MeteringSpot = ... # type: QCameraExposure.MeteringMode + + class ExposureMode(int): + ExposureAuto = ... # type: QCameraExposure.ExposureMode + ExposureManual = ... # type: QCameraExposure.ExposureMode + ExposurePortrait = ... # type: QCameraExposure.ExposureMode + ExposureNight = ... # type: QCameraExposure.ExposureMode + ExposureBacklight = ... # type: QCameraExposure.ExposureMode + ExposureSpotlight = ... # type: QCameraExposure.ExposureMode + ExposureSports = ... # type: QCameraExposure.ExposureMode + ExposureSnow = ... # type: QCameraExposure.ExposureMode + ExposureBeach = ... # type: QCameraExposure.ExposureMode + ExposureLargeAperture = ... # type: QCameraExposure.ExposureMode + ExposureSmallAperture = ... # type: QCameraExposure.ExposureMode + ExposureAction = ... # type: QCameraExposure.ExposureMode + ExposureLandscape = ... # type: QCameraExposure.ExposureMode + ExposureNightPortrait = ... # type: QCameraExposure.ExposureMode + ExposureTheatre = ... # type: QCameraExposure.ExposureMode + ExposureSunset = ... # type: QCameraExposure.ExposureMode + ExposureSteadyPhoto = ... # type: QCameraExposure.ExposureMode + ExposureFireworks = ... # type: QCameraExposure.ExposureMode + ExposureParty = ... # type: QCameraExposure.ExposureMode + ExposureCandlelight = ... # type: QCameraExposure.ExposureMode + ExposureBarcode = ... # type: QCameraExposure.ExposureMode + ExposureModeVendor = ... # type: QCameraExposure.ExposureMode + + class FlashMode(int): + FlashAuto = ... # type: QCameraExposure.FlashMode + FlashOff = ... # type: QCameraExposure.FlashMode + FlashOn = ... # type: QCameraExposure.FlashMode + FlashRedEyeReduction = ... # type: QCameraExposure.FlashMode + FlashFill = ... # type: QCameraExposure.FlashMode + FlashTorch = ... # type: QCameraExposure.FlashMode + FlashVideoLight = ... # type: QCameraExposure.FlashMode + FlashSlowSyncFrontCurtain = ... # type: QCameraExposure.FlashMode + FlashSlowSyncRearCurtain = ... # type: QCameraExposure.FlashMode + FlashManual = ... # type: QCameraExposure.FlashMode + + class FlashModes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QCameraExposure.FlashModes', 'QCameraExposure.FlashMode']) -> None: ... + @typing.overload + def __init__(self, a0: 'QCameraExposure.FlashModes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QCameraExposure.FlashModes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def exposureCompensationChanged(self, a0: float) -> None: ... + def isoSensitivityChanged(self, a0: int) -> None: ... + def shutterSpeedRangeChanged(self) -> None: ... + def shutterSpeedChanged(self, a0: float) -> None: ... + def apertureRangeChanged(self) -> None: ... + def apertureChanged(self, a0: float) -> None: ... + def flashReady(self, a0: bool) -> None: ... + def setAutoShutterSpeed(self) -> None: ... + def setManualShutterSpeed(self, seconds: float) -> None: ... + def setAutoAperture(self) -> None: ... + def setManualAperture(self, aperture: float) -> None: ... + def setAutoIsoSensitivity(self) -> None: ... + def setManualIsoSensitivity(self, iso: int) -> None: ... + def setExposureCompensation(self, ev: float) -> None: ... + def setMeteringMode(self, mode: 'QCameraExposure.MeteringMode') -> None: ... + def setExposureMode(self, mode: 'QCameraExposure.ExposureMode') -> None: ... + def setFlashMode(self, mode: typing.Union['QCameraExposure.FlashModes', 'QCameraExposure.FlashMode']) -> None: ... + def supportedShutterSpeeds(self) -> typing.Tuple[typing.List[float], bool]: ... + def supportedApertures(self) -> typing.Tuple[typing.List[float], bool]: ... + def supportedIsoSensitivities(self) -> typing.Tuple[typing.List[int], bool]: ... + def requestedShutterSpeed(self) -> float: ... + def requestedAperture(self) -> float: ... + def requestedIsoSensitivity(self) -> int: ... + def shutterSpeed(self) -> float: ... + def aperture(self) -> float: ... + def isoSensitivity(self) -> int: ... + def setSpotMeteringPoint(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def spotMeteringPoint(self) -> QtCore.QPointF: ... + def isMeteringModeSupported(self, mode: 'QCameraExposure.MeteringMode') -> bool: ... + def meteringMode(self) -> 'QCameraExposure.MeteringMode': ... + def exposureCompensation(self) -> float: ... + def isExposureModeSupported(self, mode: 'QCameraExposure.ExposureMode') -> bool: ... + def exposureMode(self) -> 'QCameraExposure.ExposureMode': ... + def isFlashReady(self) -> bool: ... + def isFlashModeSupported(self, mode: typing.Union['QCameraExposure.FlashModes', 'QCameraExposure.FlashMode']) -> bool: ... + def flashMode(self) -> 'QCameraExposure.FlashModes': ... + def isAvailable(self) -> bool: ... + + +class QCameraExposureControl(QMediaControl): + + class ExposureParameter(int): + ISO = ... # type: QCameraExposureControl.ExposureParameter + Aperture = ... # type: QCameraExposureControl.ExposureParameter + ShutterSpeed = ... # type: QCameraExposureControl.ExposureParameter + ExposureCompensation = ... # type: QCameraExposureControl.ExposureParameter + FlashPower = ... # type: QCameraExposureControl.ExposureParameter + FlashCompensation = ... # type: QCameraExposureControl.ExposureParameter + TorchPower = ... # type: QCameraExposureControl.ExposureParameter + SpotMeteringPoint = ... # type: QCameraExposureControl.ExposureParameter + ExposureMode = ... # type: QCameraExposureControl.ExposureParameter + MeteringMode = ... # type: QCameraExposureControl.ExposureParameter + ExtendedExposureParameter = ... # type: QCameraExposureControl.ExposureParameter + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def parameterRangeChanged(self, parameter: int) -> None: ... + def actualValueChanged(self, parameter: int) -> None: ... + def requestedValueChanged(self, parameter: int) -> None: ... + def setValue(self, parameter: 'QCameraExposureControl.ExposureParameter', value: typing.Any) -> bool: ... + def actualValue(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Any: ... + def requestedValue(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Any: ... + def supportedParameterRange(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Tuple[typing.List[typing.Any], bool]: ... + def isParameterSupported(self, parameter: 'QCameraExposureControl.ExposureParameter') -> bool: ... + + +class QCameraFeedbackControl(QMediaControl): + + class EventType(int): + ViewfinderStarted = ... # type: QCameraFeedbackControl.EventType + ViewfinderStopped = ... # type: QCameraFeedbackControl.EventType + ImageCaptured = ... # type: QCameraFeedbackControl.EventType + ImageSaved = ... # type: QCameraFeedbackControl.EventType + ImageError = ... # type: QCameraFeedbackControl.EventType + RecordingStarted = ... # type: QCameraFeedbackControl.EventType + RecordingInProgress = ... # type: QCameraFeedbackControl.EventType + RecordingStopped = ... # type: QCameraFeedbackControl.EventType + AutoFocusInProgress = ... # type: QCameraFeedbackControl.EventType + AutoFocusLocked = ... # type: QCameraFeedbackControl.EventType + AutoFocusFailed = ... # type: QCameraFeedbackControl.EventType + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setEventFeedbackSound(self, a0: 'QCameraFeedbackControl.EventType', filePath: str) -> bool: ... + def resetEventFeedback(self, a0: 'QCameraFeedbackControl.EventType') -> None: ... + def setEventFeedbackEnabled(self, a0: 'QCameraFeedbackControl.EventType', a1: bool) -> bool: ... + def isEventFeedbackEnabled(self, a0: 'QCameraFeedbackControl.EventType') -> bool: ... + def isEventFeedbackLocked(self, a0: 'QCameraFeedbackControl.EventType') -> bool: ... + + +class QCameraFlashControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def flashReady(self, a0: bool) -> None: ... + def isFlashReady(self) -> bool: ... + def isFlashModeSupported(self, mode: typing.Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> bool: ... + def setFlashMode(self, mode: typing.Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> None: ... + def flashMode(self) -> QCameraExposure.FlashModes: ... + + +class QCameraFocusZone(sip.simplewrapper): + + class FocusZoneStatus(int): + Invalid = ... # type: QCameraFocusZone.FocusZoneStatus + Unused = ... # type: QCameraFocusZone.FocusZoneStatus + Selected = ... # type: QCameraFocusZone.FocusZoneStatus + Focused = ... # type: QCameraFocusZone.FocusZoneStatus + + def __init__(self, other: 'QCameraFocusZone') -> None: ... + + def status(self) -> 'QCameraFocusZone.FocusZoneStatus': ... + def area(self) -> QtCore.QRectF: ... + def isValid(self) -> bool: ... + + +class QCameraFocus(QtCore.QObject): + + class FocusPointMode(int): + FocusPointAuto = ... # type: QCameraFocus.FocusPointMode + FocusPointCenter = ... # type: QCameraFocus.FocusPointMode + FocusPointFaceDetection = ... # type: QCameraFocus.FocusPointMode + FocusPointCustom = ... # type: QCameraFocus.FocusPointMode + + class FocusMode(int): + ManualFocus = ... # type: QCameraFocus.FocusMode + HyperfocalFocus = ... # type: QCameraFocus.FocusMode + InfinityFocus = ... # type: QCameraFocus.FocusMode + AutoFocus = ... # type: QCameraFocus.FocusMode + ContinuousFocus = ... # type: QCameraFocus.FocusMode + MacroFocus = ... # type: QCameraFocus.FocusMode + + class FocusModes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QCameraFocus.FocusModes', 'QCameraFocus.FocusMode']) -> None: ... + @typing.overload + def __init__(self, a0: 'QCameraFocus.FocusModes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QCameraFocus.FocusModes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def maximumDigitalZoomChanged(self, a0: float) -> None: ... + def maximumOpticalZoomChanged(self, a0: float) -> None: ... + def focusZonesChanged(self) -> None: ... + def digitalZoomChanged(self, a0: float) -> None: ... + def opticalZoomChanged(self, a0: float) -> None: ... + def zoomTo(self, opticalZoom: float, digitalZoom: float) -> None: ... + def digitalZoom(self) -> float: ... + def opticalZoom(self) -> float: ... + def maximumDigitalZoom(self) -> float: ... + def maximumOpticalZoom(self) -> float: ... + def focusZones(self) -> typing.List[QCameraFocusZone]: ... + def setCustomFocusPoint(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def customFocusPoint(self) -> QtCore.QPointF: ... + def isFocusPointModeSupported(self, a0: 'QCameraFocus.FocusPointMode') -> bool: ... + def setFocusPointMode(self, mode: 'QCameraFocus.FocusPointMode') -> None: ... + def focusPointMode(self) -> 'QCameraFocus.FocusPointMode': ... + def isFocusModeSupported(self, mode: typing.Union['QCameraFocus.FocusModes', 'QCameraFocus.FocusMode']) -> bool: ... + def setFocusMode(self, mode: typing.Union['QCameraFocus.FocusModes', 'QCameraFocus.FocusMode']) -> None: ... + def focusMode(self) -> 'QCameraFocus.FocusModes': ... + def isAvailable(self) -> bool: ... + + +class QCameraFocusControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def focusZonesChanged(self) -> None: ... + def customFocusPointChanged(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def focusPointModeChanged(self, mode: QCameraFocus.FocusPointMode) -> None: ... + def focusModeChanged(self, mode: typing.Union[QCameraFocus.FocusModes, QCameraFocus.FocusMode]) -> None: ... + def focusZones(self) -> typing.List[QCameraFocusZone]: ... + def setCustomFocusPoint(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def customFocusPoint(self) -> QtCore.QPointF: ... + def isFocusPointModeSupported(self, mode: QCameraFocus.FocusPointMode) -> bool: ... + def setFocusPointMode(self, mode: QCameraFocus.FocusPointMode) -> None: ... + def focusPointMode(self) -> QCameraFocus.FocusPointMode: ... + def isFocusModeSupported(self, mode: typing.Union[QCameraFocus.FocusModes, QCameraFocus.FocusMode]) -> bool: ... + def setFocusMode(self, mode: typing.Union[QCameraFocus.FocusModes, QCameraFocus.FocusMode]) -> None: ... + def focusMode(self) -> QCameraFocus.FocusModes: ... + + +class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): + + class CaptureDestination(int): + CaptureToFile = ... # type: QCameraImageCapture.CaptureDestination + CaptureToBuffer = ... # type: QCameraImageCapture.CaptureDestination + + class DriveMode(int): + SingleImageCapture = ... # type: QCameraImageCapture.DriveMode + + class Error(int): + NoError = ... # type: QCameraImageCapture.Error + NotReadyError = ... # type: QCameraImageCapture.Error + ResourceError = ... # type: QCameraImageCapture.Error + OutOfSpaceError = ... # type: QCameraImageCapture.Error + NotSupportedFeatureError = ... # type: QCameraImageCapture.Error + FormatError = ... # type: QCameraImageCapture.Error + + class CaptureDestinations(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... + @typing.overload + def __init__(self, a0: 'QCameraImageCapture.CaptureDestinations') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QCameraImageCapture.CaptureDestinations': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setMediaObject(self, a0: QMediaObject) -> bool: ... + def imageSaved(self, id: int, fileName: str) -> None: ... + def imageAvailable(self, id: int, image: 'QVideoFrame') -> None: ... + def imageMetadataAvailable(self, id: int, key: str, value: typing.Any) -> None: ... + def imageCaptured(self, id: int, preview: QtGui.QImage) -> None: ... + def imageExposed(self, id: int) -> None: ... + def captureDestinationChanged(self, a0: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... + def bufferFormatChanged(self, a0: 'QVideoFrame.PixelFormat') -> None: ... + def readyForCaptureChanged(self, a0: bool) -> None: ... + def cancelCapture(self) -> None: ... + def capture(self, file: str = ...) -> int: ... + def setCaptureDestination(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... + def captureDestination(self) -> 'QCameraImageCapture.CaptureDestinations': ... + def isCaptureDestinationSupported(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> bool: ... + def setBufferFormat(self, format: 'QVideoFrame.PixelFormat') -> None: ... + def bufferFormat(self) -> 'QVideoFrame.PixelFormat': ... + def supportedBufferFormats(self) -> typing.List['QVideoFrame.PixelFormat']: ... + def setEncodingSettings(self, settings: 'QImageEncoderSettings') -> None: ... + def encodingSettings(self) -> 'QImageEncoderSettings': ... + def supportedResolutions(self, settings: 'QImageEncoderSettings' = ...) -> typing.Tuple[typing.List[QtCore.QSize], bool]: ... + def imageCodecDescription(self, codecName: str) -> str: ... + def supportedImageCodecs(self) -> typing.List[str]: ... + def isReadyForCapture(self) -> bool: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QCameraImageCapture.Error': ... + @typing.overload + def error(self, id: int, error: 'QCameraImageCapture.Error', errorString: str) -> None: ... + def mediaObject(self) -> QMediaObject: ... + def availability(self) -> 'QMultimedia.AvailabilityStatus': ... + def isAvailable(self) -> bool: ... + + +class QCameraImageCaptureControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def error(self, id: int, error: int, errorString: str) -> None: ... + def imageSaved(self, requestId: int, fileName: str) -> None: ... + def imageAvailable(self, requestId: int, buffer: 'QVideoFrame') -> None: ... + def imageMetadataAvailable(self, id: int, key: str, value: typing.Any) -> None: ... + def imageCaptured(self, requestId: int, preview: QtGui.QImage) -> None: ... + def imageExposed(self, requestId: int) -> None: ... + def readyForCaptureChanged(self, ready: bool) -> None: ... + def cancelCapture(self) -> None: ... + def capture(self, fileName: str) -> int: ... + def setDriveMode(self, mode: QCameraImageCapture.DriveMode) -> None: ... + def driveMode(self) -> QCameraImageCapture.DriveMode: ... + def isReadyForCapture(self) -> bool: ... + + +class QCameraImageProcessing(QtCore.QObject): + + class ColorFilter(int): + ColorFilterNone = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterGrayscale = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterNegative = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterSolarize = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterSepia = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterPosterize = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterWhiteboard = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterBlackboard = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterAqua = ... # type: QCameraImageProcessing.ColorFilter + ColorFilterVendor = ... # type: QCameraImageProcessing.ColorFilter + + class WhiteBalanceMode(int): + WhiteBalanceAuto = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceManual = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceSunlight = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceCloudy = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceShade = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceTungsten = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceFluorescent = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceFlash = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceSunset = ... # type: QCameraImageProcessing.WhiteBalanceMode + WhiteBalanceVendor = ... # type: QCameraImageProcessing.WhiteBalanceMode + + def setBrightness(self, value: float) -> None: ... + def brightness(self) -> float: ... + def isColorFilterSupported(self, filter: 'QCameraImageProcessing.ColorFilter') -> bool: ... + def setColorFilter(self, filter: 'QCameraImageProcessing.ColorFilter') -> None: ... + def colorFilter(self) -> 'QCameraImageProcessing.ColorFilter': ... + def setDenoisingLevel(self, value: float) -> None: ... + def denoisingLevel(self) -> float: ... + def setSharpeningLevel(self, value: float) -> None: ... + def sharpeningLevel(self) -> float: ... + def setSaturation(self, value: float) -> None: ... + def saturation(self) -> float: ... + def setContrast(self, value: float) -> None: ... + def contrast(self) -> float: ... + def setManualWhiteBalance(self, colorTemperature: float) -> None: ... + def manualWhiteBalance(self) -> float: ... + def isWhiteBalanceModeSupported(self, mode: 'QCameraImageProcessing.WhiteBalanceMode') -> bool: ... + def setWhiteBalanceMode(self, mode: 'QCameraImageProcessing.WhiteBalanceMode') -> None: ... + def whiteBalanceMode(self) -> 'QCameraImageProcessing.WhiteBalanceMode': ... + def isAvailable(self) -> bool: ... + + +class QCameraImageProcessingControl(QMediaControl): + + class ProcessingParameter(int): + WhiteBalancePreset = ... # type: QCameraImageProcessingControl.ProcessingParameter + ColorTemperature = ... # type: QCameraImageProcessingControl.ProcessingParameter + Contrast = ... # type: QCameraImageProcessingControl.ProcessingParameter + Saturation = ... # type: QCameraImageProcessingControl.ProcessingParameter + Brightness = ... # type: QCameraImageProcessingControl.ProcessingParameter + Sharpening = ... # type: QCameraImageProcessingControl.ProcessingParameter + Denoising = ... # type: QCameraImageProcessingControl.ProcessingParameter + ContrastAdjustment = ... # type: QCameraImageProcessingControl.ProcessingParameter + SaturationAdjustment = ... # type: QCameraImageProcessingControl.ProcessingParameter + BrightnessAdjustment = ... # type: QCameraImageProcessingControl.ProcessingParameter + SharpeningAdjustment = ... # type: QCameraImageProcessingControl.ProcessingParameter + DenoisingAdjustment = ... # type: QCameraImageProcessingControl.ProcessingParameter + ColorFilter = ... # type: QCameraImageProcessingControl.ProcessingParameter + ExtendedParameter = ... # type: QCameraImageProcessingControl.ProcessingParameter + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setParameter(self, parameter: 'QCameraImageProcessingControl.ProcessingParameter', value: typing.Any) -> None: ... + def parameter(self, parameter: 'QCameraImageProcessingControl.ProcessingParameter') -> typing.Any: ... + def isParameterValueSupported(self, parameter: 'QCameraImageProcessingControl.ProcessingParameter', value: typing.Any) -> bool: ... + def isParameterSupported(self, a0: 'QCameraImageProcessingControl.ProcessingParameter') -> bool: ... + + +class QCameraInfo(sip.simplewrapper): + + @typing.overload + def __init__(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + @typing.overload + def __init__(self, camera: QCamera) -> None: ... + @typing.overload + def __init__(self, other: 'QCameraInfo') -> None: ... + + @staticmethod + def availableCameras(position: QCamera.Position = ...) -> typing.List['QCameraInfo']: ... + @staticmethod + def defaultCamera() -> 'QCameraInfo': ... + def orientation(self) -> int: ... + def position(self) -> QCamera.Position: ... + def description(self) -> str: ... + def deviceName(self) -> str: ... + def isNull(self) -> bool: ... + + +class QCameraInfoControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def cameraOrientation(self, deviceName: str) -> int: ... + def cameraPosition(self, deviceName: str) -> QCamera.Position: ... + + +class QCameraLocksControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def lockStatusChanged(self, type: QCamera.LockType, status: QCamera.LockStatus, reason: QCamera.LockChangeReason) -> None: ... + def unlock(self, locks: typing.Union[QCamera.LockTypes, QCamera.LockType]) -> None: ... + def searchAndLock(self, locks: typing.Union[QCamera.LockTypes, QCamera.LockType]) -> None: ... + def lockStatus(self, lock: QCamera.LockType) -> QCamera.LockStatus: ... + def supportedLocks(self) -> QCamera.LockTypes: ... + + +class QCameraViewfinderSettings(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QCameraViewfinderSettings') -> None: ... + + @typing.overload + def setPixelAspectRatio(self, ratio: QtCore.QSize) -> None: ... + @typing.overload + def setPixelAspectRatio(self, horizontal: int, vertical: int) -> None: ... + def pixelAspectRatio(self) -> QtCore.QSize: ... + def setPixelFormat(self, format: 'QVideoFrame.PixelFormat') -> None: ... + def pixelFormat(self) -> 'QVideoFrame.PixelFormat': ... + def setMaximumFrameRate(self, rate: float) -> None: ... + def maximumFrameRate(self) -> float: ... + def setMinimumFrameRate(self, rate: float) -> None: ... + def minimumFrameRate(self) -> float: ... + @typing.overload + def setResolution(self, a0: QtCore.QSize) -> None: ... + @typing.overload + def setResolution(self, width: int, height: int) -> None: ... + def resolution(self) -> QtCore.QSize: ... + def isNull(self) -> bool: ... + def swap(self, other: 'QCameraViewfinderSettings') -> None: ... + + +class QCameraViewfinderSettingsControl(QMediaControl): + + class ViewfinderParameter(int): + Resolution = ... # type: QCameraViewfinderSettingsControl.ViewfinderParameter + PixelAspectRatio = ... # type: QCameraViewfinderSettingsControl.ViewfinderParameter + MinimumFrameRate = ... # type: QCameraViewfinderSettingsControl.ViewfinderParameter + MaximumFrameRate = ... # type: QCameraViewfinderSettingsControl.ViewfinderParameter + PixelFormat = ... # type: QCameraViewfinderSettingsControl.ViewfinderParameter + UserParameter = ... # type: QCameraViewfinderSettingsControl.ViewfinderParameter + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setViewfinderParameter(self, parameter: 'QCameraViewfinderSettingsControl.ViewfinderParameter', value: typing.Any) -> None: ... + def viewfinderParameter(self, parameter: 'QCameraViewfinderSettingsControl.ViewfinderParameter') -> typing.Any: ... + def isViewfinderParameterSupported(self, parameter: 'QCameraViewfinderSettingsControl.ViewfinderParameter') -> bool: ... + + +class QCameraViewfinderSettingsControl2(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setViewfinderSettings(self, settings: QCameraViewfinderSettings) -> None: ... + def viewfinderSettings(self) -> QCameraViewfinderSettings: ... + def supportedViewfinderSettings(self) -> typing.List[QCameraViewfinderSettings]: ... + + +class QCameraZoomControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def currentDigitalZoomChanged(self, digitalZoom: float) -> None: ... + def currentOpticalZoomChanged(self, opticalZoom: float) -> None: ... + def requestedDigitalZoomChanged(self, digitalZoom: float) -> None: ... + def requestedOpticalZoomChanged(self, opticalZoom: float) -> None: ... + def maximumDigitalZoomChanged(self, a0: float) -> None: ... + def maximumOpticalZoomChanged(self, a0: float) -> None: ... + def zoomTo(self, optical: float, digital: float) -> None: ... + def currentDigitalZoom(self) -> float: ... + def currentOpticalZoom(self) -> float: ... + def requestedDigitalZoom(self) -> float: ... + def requestedOpticalZoom(self) -> float: ... + def maximumDigitalZoom(self) -> float: ... + def maximumOpticalZoom(self) -> float: ... + + +class QCustomAudioRoleControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def customAudioRoleChanged(self, role: str) -> None: ... + def supportedCustomAudioRoles(self) -> typing.List[str]: ... + def setCustomAudioRole(self, role: str) -> None: ... + def customAudioRole(self) -> str: ... + + +class QImageEncoderControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setImageSettings(self, settings: 'QImageEncoderSettings') -> None: ... + def imageSettings(self) -> 'QImageEncoderSettings': ... + def supportedResolutions(self, settings: 'QImageEncoderSettings') -> typing.Tuple[typing.List[QtCore.QSize], bool]: ... + def imageCodecDescription(self, codec: str) -> str: ... + def supportedImageCodecs(self) -> typing.List[str]: ... + + +class QMediaAudioProbeControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def flush(self) -> None: ... + def audioBufferProbed(self, buffer: QAudioBuffer) -> None: ... + + +class QMediaAvailabilityControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... + def availability(self) -> 'QMultimedia.AvailabilityStatus': ... + + +class QMediaContainerControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def containerDescription(self, formatMimeType: str) -> str: ... + def setContainerFormat(self, format: str) -> None: ... + def containerFormat(self) -> str: ... + def supportedContainers(self) -> typing.List[str]: ... + + +class QMediaContent(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, contentUrl: QtCore.QUrl) -> None: ... + @typing.overload + def __init__(self, contentRequest: QtNetwork.QNetworkRequest) -> None: ... + @typing.overload + def __init__(self, contentResource: 'QMediaResource') -> None: ... + @typing.overload + def __init__(self, resources: typing.Iterable['QMediaResource']) -> None: ... + @typing.overload + def __init__(self, other: 'QMediaContent') -> None: ... + @typing.overload + def __init__(self, playlist: 'QMediaPlaylist', contentUrl: QtCore.QUrl = ...) -> None: ... + + def request(self) -> QtNetwork.QNetworkRequest: ... + def playlist(self) -> 'QMediaPlaylist': ... + def resources(self) -> typing.List['QMediaResource']: ... + def canonicalResource(self) -> 'QMediaResource': ... + def canonicalRequest(self) -> QtNetwork.QNetworkRequest: ... + def canonicalUrl(self) -> QtCore.QUrl: ... + def isNull(self) -> bool: ... + + +class QAudioEncoderSettings(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QAudioEncoderSettings') -> None: ... + + def setEncodingOptions(self, options: typing.Dict[str, typing.Any]) -> None: ... + def setEncodingOption(self, option: str, value: typing.Any) -> None: ... + def encodingOptions(self) -> typing.Dict[str, typing.Any]: ... + def encodingOption(self, option: str) -> typing.Any: ... + def setQuality(self, quality: 'QMultimedia.EncodingQuality') -> None: ... + def quality(self) -> 'QMultimedia.EncodingQuality': ... + def setSampleRate(self, rate: int) -> None: ... + def sampleRate(self) -> int: ... + def setChannelCount(self, channels: int) -> None: ... + def channelCount(self) -> int: ... + def setBitRate(self, bitrate: int) -> None: ... + def bitRate(self) -> int: ... + def setCodec(self, codec: str) -> None: ... + def codec(self) -> str: ... + def setEncodingMode(self, a0: 'QMultimedia.EncodingMode') -> None: ... + def encodingMode(self) -> 'QMultimedia.EncodingMode': ... + def isNull(self) -> bool: ... + + +class QVideoEncoderSettings(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QVideoEncoderSettings') -> None: ... + + def setEncodingOptions(self, options: typing.Dict[str, typing.Any]) -> None: ... + def setEncodingOption(self, option: str, value: typing.Any) -> None: ... + def encodingOptions(self) -> typing.Dict[str, typing.Any]: ... + def encodingOption(self, option: str) -> typing.Any: ... + def setQuality(self, quality: 'QMultimedia.EncodingQuality') -> None: ... + def quality(self) -> 'QMultimedia.EncodingQuality': ... + def setBitRate(self, bitrate: int) -> None: ... + def bitRate(self) -> int: ... + def setFrameRate(self, rate: float) -> None: ... + def frameRate(self) -> float: ... + @typing.overload + def setResolution(self, a0: QtCore.QSize) -> None: ... + @typing.overload + def setResolution(self, width: int, height: int) -> None: ... + def resolution(self) -> QtCore.QSize: ... + def setCodec(self, a0: str) -> None: ... + def codec(self) -> str: ... + def setEncodingMode(self, a0: 'QMultimedia.EncodingMode') -> None: ... + def encodingMode(self) -> 'QMultimedia.EncodingMode': ... + def isNull(self) -> bool: ... + + +class QImageEncoderSettings(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QImageEncoderSettings') -> None: ... + + def setEncodingOptions(self, options: typing.Dict[str, typing.Any]) -> None: ... + def setEncodingOption(self, option: str, value: typing.Any) -> None: ... + def encodingOptions(self) -> typing.Dict[str, typing.Any]: ... + def encodingOption(self, option: str) -> typing.Any: ... + def setQuality(self, quality: 'QMultimedia.EncodingQuality') -> None: ... + def quality(self) -> 'QMultimedia.EncodingQuality': ... + @typing.overload + def setResolution(self, a0: QtCore.QSize) -> None: ... + @typing.overload + def setResolution(self, width: int, height: int) -> None: ... + def resolution(self) -> QtCore.QSize: ... + def setCodec(self, a0: str) -> None: ... + def codec(self) -> str: ... + def isNull(self) -> bool: ... + + +class QMediaGaplessPlaybackControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def advancedToNextMedia(self) -> None: ... + def nextMediaChanged(self, media: QMediaContent) -> None: ... + def crossfadeTimeChanged(self, crossfadeTime: float) -> None: ... + def setCrossfadeTime(self, crossfadeTime: float) -> None: ... + def crossfadeTime(self) -> float: ... + def isCrossfadeSupported(self) -> bool: ... + def setNextMedia(self, media: QMediaContent) -> None: ... + def nextMedia(self) -> QMediaContent: ... + + +class QMediaMetaData(PyQt5.sip.simplewrapper): + + AlbumArtist = ... # type: str + AlbumTitle = ... # type: str + AudioBitRate = ... # type: str + AudioCodec = ... # type: str + Author = ... # type: str + AverageLevel = ... # type: str + CameraManufacturer = ... # type: str + CameraModel = ... # type: str + Category = ... # type: str + ChannelCount = ... # type: str + ChapterNumber = ... # type: str + Comment = ... # type: str + Composer = ... # type: str + Conductor = ... # type: str + Contrast = ... # type: str + ContributingArtist = ... # type: str + Copyright = ... # type: str + CoverArtImage = ... # type: str + CoverArtUrlLarge = ... # type: str + CoverArtUrlSmall = ... # type: str + Date = ... # type: str + DateTimeDigitized = ... # type: str + DateTimeOriginal = ... # type: str + Description = ... # type: str + DeviceSettingDescription = ... # type: str + DigitalZoomRatio = ... # type: str + Director = ... # type: str + Duration = ... # type: str + Event = ... # type: str + ExposureBiasValue = ... # type: str + ExposureMode = ... # type: str + ExposureProgram = ... # type: str + ExposureTime = ... # type: str + FNumber = ... # type: str + Flash = ... # type: str + FocalLength = ... # type: str + FocalLengthIn35mmFilm = ... # type: str + GPSAltitude = ... # type: str + GPSAreaInformation = ... # type: str + GPSDOP = ... # type: str + GPSImgDirection = ... # type: str + GPSImgDirectionRef = ... # type: str + GPSLatitude = ... # type: str + GPSLongitude = ... # type: str + GPSMapDatum = ... # type: str + GPSProcessingMethod = ... # type: str + GPSSatellites = ... # type: str + GPSSpeed = ... # type: str + GPSStatus = ... # type: str + GPSTimeStamp = ... # type: str + GPSTrack = ... # type: str + GPSTrackRef = ... # type: str + GainControl = ... # type: str + Genre = ... # type: str + ISOSpeedRatings = ... # type: str + Keywords = ... # type: str + Language = ... # type: str + LeadPerformer = ... # type: str + LightSource = ... # type: str + Lyrics = ... # type: str + MediaType = ... # type: str + MeteringMode = ... # type: str + Mood = ... # type: str + Orientation = ... # type: str + ParentalRating = ... # type: str + PeakValue = ... # type: str + PixelAspectRatio = ... # type: str + PosterImage = ... # type: str + PosterUrl = ... # type: str + Publisher = ... # type: str + RatingOrganization = ... # type: str + Resolution = ... # type: str + SampleRate = ... # type: str + Saturation = ... # type: str + SceneCaptureType = ... # type: str + Sharpness = ... # type: str + Size = ... # type: str + SubTitle = ... # type: str + Subject = ... # type: str + SubjectDistance = ... # type: str + ThumbnailImage = ... # type: str + Title = ... # type: str + TrackCount = ... # type: str + TrackNumber = ... # type: str + UserRating = ... # type: str + VideoBitRate = ... # type: str + VideoCodec = ... # type: str + VideoFrameRate = ... # type: str + WhiteBalance = ... # type: str + Writer = ... # type: str + Year = ... # type: str + + +class QMediaNetworkAccessControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def configurationChanged(self, configuration: QtNetwork.QNetworkConfiguration) -> None: ... + def currentConfiguration(self) -> QtNetwork.QNetworkConfiguration: ... + def setConfigurations(self, configuration: typing.Iterable[QtNetwork.QNetworkConfiguration]) -> None: ... + + +class QMediaPlayer(QMediaObject): + + class Error(int): + NoError = ... # type: QMediaPlayer.Error + ResourceError = ... # type: QMediaPlayer.Error + FormatError = ... # type: QMediaPlayer.Error + NetworkError = ... # type: QMediaPlayer.Error + AccessDeniedError = ... # type: QMediaPlayer.Error + ServiceMissingError = ... # type: QMediaPlayer.Error + + class Flag(int): + LowLatency = ... # type: QMediaPlayer.Flag + StreamPlayback = ... # type: QMediaPlayer.Flag + VideoSurface = ... # type: QMediaPlayer.Flag + + class MediaStatus(int): + UnknownMediaStatus = ... # type: QMediaPlayer.MediaStatus + NoMedia = ... # type: QMediaPlayer.MediaStatus + LoadingMedia = ... # type: QMediaPlayer.MediaStatus + LoadedMedia = ... # type: QMediaPlayer.MediaStatus + StalledMedia = ... # type: QMediaPlayer.MediaStatus + BufferingMedia = ... # type: QMediaPlayer.MediaStatus + BufferedMedia = ... # type: QMediaPlayer.MediaStatus + EndOfMedia = ... # type: QMediaPlayer.MediaStatus + InvalidMedia = ... # type: QMediaPlayer.MediaStatus + + class State(int): + StoppedState = ... # type: QMediaPlayer.State + PlayingState = ... # type: QMediaPlayer.State + PausedState = ... # type: QMediaPlayer.State + + class Flags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QMediaPlayer.Flags', 'QMediaPlayer.Flag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QMediaPlayer.Flags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QMediaPlayer.Flags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ..., flags: typing.Union['QMediaPlayer.Flags', 'QMediaPlayer.Flag'] = ...) -> None: ... + + def customAudioRoleChanged(self, role: str) -> None: ... + def supportedCustomAudioRoles(self) -> typing.List[str]: ... + def setCustomAudioRole(self, audioRole: str) -> None: ... + def customAudioRole(self) -> str: ... + def audioRoleChanged(self, role: QAudio.Role) -> None: ... + def supportedAudioRoles(self) -> typing.List[QAudio.Role]: ... + def setAudioRole(self, audioRole: QAudio.Role) -> None: ... + def audioRole(self) -> QAudio.Role: ... + def unbind(self, a0: QtCore.QObject) -> None: ... + def bind(self, a0: QtCore.QObject) -> bool: ... + def networkConfigurationChanged(self, configuration: QtNetwork.QNetworkConfiguration) -> None: ... + def playbackRateChanged(self, rate: float) -> None: ... + def seekableChanged(self, seekable: bool) -> None: ... + def bufferStatusChanged(self, percentFilled: int) -> None: ... + def videoAvailableChanged(self, videoAvailable: bool) -> None: ... + def audioAvailableChanged(self, available: bool) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def volumeChanged(self, volume: int) -> None: ... + def positionChanged(self, position: int) -> None: ... + def durationChanged(self, duration: int) -> None: ... + def mediaStatusChanged(self, status: 'QMediaPlayer.MediaStatus') -> None: ... + def stateChanged(self, newState: 'QMediaPlayer.State') -> None: ... + def currentMediaChanged(self, media: QMediaContent) -> None: ... + def mediaChanged(self, media: QMediaContent) -> None: ... + def setNetworkConfigurations(self, configurations: typing.Iterable[QtNetwork.QNetworkConfiguration]) -> None: ... + def setPlaylist(self, playlist: 'QMediaPlaylist') -> None: ... + def setMedia(self, media: QMediaContent, stream: typing.Optional[QtCore.QIODevice] = ...) -> None: ... + def setPlaybackRate(self, rate: float) -> None: ... + def setMuted(self, muted: bool) -> None: ... + def setVolume(self, volume: int) -> None: ... + def setPosition(self, position: int) -> None: ... + def stop(self) -> None: ... + def pause(self) -> None: ... + def play(self) -> None: ... + def availability(self) -> 'QMultimedia.AvailabilityStatus': ... + def currentNetworkConfiguration(self) -> QtNetwork.QNetworkConfiguration: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QMediaPlayer.Error': ... + @typing.overload + def error(self, error: 'QMediaPlayer.Error') -> None: ... + def playbackRate(self) -> float: ... + def isSeekable(self) -> bool: ... + def bufferStatus(self) -> int: ... + def isVideoAvailable(self) -> bool: ... + def isAudioAvailable(self) -> bool: ... + def isMuted(self) -> bool: ... + def volume(self) -> int: ... + def position(self) -> int: ... + def duration(self) -> int: ... + def mediaStatus(self) -> 'QMediaPlayer.MediaStatus': ... + def state(self) -> 'QMediaPlayer.State': ... + def currentMedia(self) -> QMediaContent: ... + def playlist(self) -> 'QMediaPlaylist': ... + def mediaStream(self) -> QtCore.QIODevice: ... + def media(self) -> QMediaContent: ... + @typing.overload + def setVideoOutput(self, a0: QVideoWidget) -> None: ... + @typing.overload + def setVideoOutput(self, a0: QGraphicsVideoItem) -> None: ... + @typing.overload + def setVideoOutput(self, surface: QAbstractVideoSurface) -> None: ... + @typing.overload + def setVideoOutput(self, surfaces: typing.Iterable[QAbstractVideoSurface]) -> None: ... + @staticmethod + def supportedMimeTypes(flags: typing.Union['QMediaPlayer.Flags', 'QMediaPlayer.Flag'] = ...) -> typing.List[str]: ... + @staticmethod + def hasSupport(mimeType: str, codecs: typing.Iterable[str] = ..., flags: typing.Union['QMediaPlayer.Flags', 'QMediaPlayer.Flag'] = ...) -> 'QMultimedia.SupportEstimate': ... + + +class QMediaPlayerControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def error(self, error: int, errorString: str) -> None: ... + def playbackRateChanged(self, rate: float) -> None: ... + def availablePlaybackRangesChanged(self, ranges: 'QMediaTimeRange') -> None: ... + def seekableChanged(self, seekable: bool) -> None: ... + def bufferStatusChanged(self, percentFilled: int) -> None: ... + def videoAvailableChanged(self, videoAvailable: bool) -> None: ... + def audioAvailableChanged(self, audioAvailable: bool) -> None: ... + def mutedChanged(self, mute: bool) -> None: ... + def volumeChanged(self, volume: int) -> None: ... + def mediaStatusChanged(self, status: QMediaPlayer.MediaStatus) -> None: ... + def stateChanged(self, newState: QMediaPlayer.State) -> None: ... + def positionChanged(self, position: int) -> None: ... + def durationChanged(self, duration: int) -> None: ... + def mediaChanged(self, content: QMediaContent) -> None: ... + def stop(self) -> None: ... + def pause(self) -> None: ... + def play(self) -> None: ... + def setMedia(self, media: QMediaContent, stream: QtCore.QIODevice) -> None: ... + def mediaStream(self) -> QtCore.QIODevice: ... + def media(self) -> QMediaContent: ... + def setPlaybackRate(self, rate: float) -> None: ... + def playbackRate(self) -> float: ... + def availablePlaybackRanges(self) -> 'QMediaTimeRange': ... + def isSeekable(self) -> bool: ... + def isVideoAvailable(self) -> bool: ... + def isAudioAvailable(self) -> bool: ... + def bufferStatus(self) -> int: ... + def setMuted(self, mute: bool) -> None: ... + def isMuted(self) -> bool: ... + def setVolume(self, volume: int) -> None: ... + def volume(self) -> int: ... + def setPosition(self, position: int) -> None: ... + def position(self) -> int: ... + def duration(self) -> int: ... + def mediaStatus(self) -> QMediaPlayer.MediaStatus: ... + def state(self) -> QMediaPlayer.State: ... + + +class QMediaPlaylist(QtCore.QObject, QMediaBindableInterface): + + class Error(int): + NoError = ... # type: QMediaPlaylist.Error + FormatError = ... # type: QMediaPlaylist.Error + FormatNotSupportedError = ... # type: QMediaPlaylist.Error + NetworkError = ... # type: QMediaPlaylist.Error + AccessDeniedError = ... # type: QMediaPlaylist.Error + + class PlaybackMode(int): + CurrentItemOnce = ... # type: QMediaPlaylist.PlaybackMode + CurrentItemInLoop = ... # type: QMediaPlaylist.PlaybackMode + Sequential = ... # type: QMediaPlaylist.PlaybackMode + Loop = ... # type: QMediaPlaylist.PlaybackMode + Random = ... # type: QMediaPlaylist.PlaybackMode + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setMediaObject(self, object: QMediaObject) -> bool: ... + def loadFailed(self) -> None: ... + def loaded(self) -> None: ... + def mediaChanged(self, start: int, end: int) -> None: ... + def mediaRemoved(self, start: int, end: int) -> None: ... + def mediaAboutToBeRemoved(self, start: int, end: int) -> None: ... + def mediaInserted(self, start: int, end: int) -> None: ... + def mediaAboutToBeInserted(self, start: int, end: int) -> None: ... + def currentMediaChanged(self, a0: QMediaContent) -> None: ... + def playbackModeChanged(self, mode: 'QMediaPlaylist.PlaybackMode') -> None: ... + def currentIndexChanged(self, index: int) -> None: ... + def setCurrentIndex(self, index: int) -> None: ... + def previous(self) -> None: ... + def next(self) -> None: ... + def shuffle(self) -> None: ... + def moveMedia(self, from_: int, to: int) -> bool: ... + def errorString(self) -> str: ... + def error(self) -> 'QMediaPlaylist.Error': ... + @typing.overload + def save(self, location: QtCore.QUrl, format: typing.Optional[str] = ...) -> bool: ... + @typing.overload + def save(self, device: QtCore.QIODevice, format: str) -> bool: ... + @typing.overload + def load(self, request: QtNetwork.QNetworkRequest, format: typing.Optional[str] = ...) -> None: ... + @typing.overload + def load(self, location: QtCore.QUrl, format: typing.Optional[str] = ...) -> None: ... + @typing.overload + def load(self, device: QtCore.QIODevice, format: typing.Optional[str] = ...) -> None: ... + def clear(self) -> bool: ... + @typing.overload + def removeMedia(self, pos: int) -> bool: ... + @typing.overload + def removeMedia(self, start: int, end: int) -> bool: ... + @typing.overload + def insertMedia(self, index: int, content: QMediaContent) -> bool: ... + @typing.overload + def insertMedia(self, index: int, items: typing.Iterable[QMediaContent]) -> bool: ... + @typing.overload + def addMedia(self, content: QMediaContent) -> bool: ... + @typing.overload + def addMedia(self, items: typing.Iterable[QMediaContent]) -> bool: ... + def isReadOnly(self) -> bool: ... + def isEmpty(self) -> bool: ... + def mediaCount(self) -> int: ... + def media(self, index: int) -> QMediaContent: ... + def previousIndex(self, steps: int = ...) -> int: ... + def nextIndex(self, steps: int = ...) -> int: ... + def currentMedia(self) -> QMediaContent: ... + def currentIndex(self) -> int: ... + def setPlaybackMode(self, mode: 'QMediaPlaylist.PlaybackMode') -> None: ... + def playbackMode(self) -> 'QMediaPlaylist.PlaybackMode': ... + def mediaObject(self) -> QMediaObject: ... + + +class QMediaRecorderControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setVolume(self, volume: float) -> None: ... + def setMuted(self, muted: bool) -> None: ... + def setState(self, state: QMediaRecorder.State) -> None: ... + def error(self, error: int, errorString: str) -> None: ... + def actualLocationChanged(self, location: QtCore.QUrl) -> None: ... + def volumeChanged(self, volume: float) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def durationChanged(self, position: int) -> None: ... + def statusChanged(self, status: QMediaRecorder.Status) -> None: ... + def stateChanged(self, state: QMediaRecorder.State) -> None: ... + def applySettings(self) -> None: ... + def volume(self) -> float: ... + def isMuted(self) -> bool: ... + def duration(self) -> int: ... + def status(self) -> QMediaRecorder.Status: ... + def state(self) -> QMediaRecorder.State: ... + def setOutputLocation(self, location: QtCore.QUrl) -> bool: ... + def outputLocation(self) -> QtCore.QUrl: ... + + +class QMediaResource(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, url: QtCore.QUrl, mimeType: str = ...) -> None: ... + @typing.overload + def __init__(self, request: QtNetwork.QNetworkRequest, mimeType: str = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QMediaResource') -> None: ... + + @typing.overload + def setResolution(self, resolution: QtCore.QSize) -> None: ... + @typing.overload + def setResolution(self, width: int, height: int) -> None: ... + def resolution(self) -> QtCore.QSize: ... + def setVideoBitRate(self, rate: int) -> None: ... + def videoBitRate(self) -> int: ... + def setChannelCount(self, channels: int) -> None: ... + def channelCount(self) -> int: ... + def setSampleRate(self, frequency: int) -> None: ... + def sampleRate(self) -> int: ... + def setAudioBitRate(self, rate: int) -> None: ... + def audioBitRate(self) -> int: ... + def setDataSize(self, size: int) -> None: ... + def dataSize(self) -> int: ... + def setVideoCodec(self, codec: str) -> None: ... + def videoCodec(self) -> str: ... + def setAudioCodec(self, codec: str) -> None: ... + def audioCodec(self) -> str: ... + def setLanguage(self, language: str) -> None: ... + def language(self) -> str: ... + def mimeType(self) -> str: ... + def request(self) -> QtNetwork.QNetworkRequest: ... + def url(self) -> QtCore.QUrl: ... + def isNull(self) -> bool: ... + + +class QMediaService(QtCore.QObject): + + def __init__(self, parent: QtCore.QObject) -> None: ... + + def releaseControl(self, control: QMediaControl) -> None: ... + def requestControl(self, name: str) -> QMediaControl: ... + + +class QMediaStreamsControl(QMediaControl): + + class StreamType(int): + UnknownStream = ... # type: QMediaStreamsControl.StreamType + VideoStream = ... # type: QMediaStreamsControl.StreamType + AudioStream = ... # type: QMediaStreamsControl.StreamType + SubPictureStream = ... # type: QMediaStreamsControl.StreamType + DataStream = ... # type: QMediaStreamsControl.StreamType + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def activeStreamsChanged(self) -> None: ... + def streamsChanged(self) -> None: ... + def setActive(self, streamNumber: int, state: bool) -> None: ... + def isActive(self, streamNumber: int) -> bool: ... + def metaData(self, streamNumber: int, key: str) -> typing.Any: ... + def streamType(self, streamNumber: int) -> 'QMediaStreamsControl.StreamType': ... + def streamCount(self) -> int: ... + + +class QMediaTimeInterval(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, start: int, end: int) -> None: ... + @typing.overload + def __init__(self, a0: 'QMediaTimeInterval') -> None: ... + + def translated(self, offset: int) -> 'QMediaTimeInterval': ... + def normalized(self) -> 'QMediaTimeInterval': ... + def isNormal(self) -> bool: ... + def contains(self, time: int) -> bool: ... + def end(self) -> int: ... + def start(self) -> int: ... + + +class QMediaTimeRange(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, start: int, end: int) -> None: ... + @typing.overload + def __init__(self, a0: QMediaTimeInterval) -> None: ... + @typing.overload + def __init__(self, range: 'QMediaTimeRange') -> None: ... + + def clear(self) -> None: ... + def removeTimeRange(self, a0: 'QMediaTimeRange') -> None: ... + @typing.overload + def removeInterval(self, start: int, end: int) -> None: ... + @typing.overload + def removeInterval(self, interval: QMediaTimeInterval) -> None: ... + def addTimeRange(self, a0: 'QMediaTimeRange') -> None: ... + @typing.overload + def addInterval(self, start: int, end: int) -> None: ... + @typing.overload + def addInterval(self, interval: QMediaTimeInterval) -> None: ... + def contains(self, time: int) -> bool: ... + def isContinuous(self) -> bool: ... + def isEmpty(self) -> bool: ... + def intervals(self) -> typing.List[QMediaTimeInterval]: ... + def latestTime(self) -> int: ... + def earliestTime(self) -> int: ... + + +class QMediaVideoProbeControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def flush(self) -> None: ... + def videoFrameProbed(self, frame: 'QVideoFrame') -> None: ... + + +class QMetaDataReaderControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def metaDataAvailableChanged(self, available: bool) -> None: ... + @typing.overload + def metaDataChanged(self) -> None: ... + @typing.overload + def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + def availableMetaData(self) -> typing.List[str]: ... + def metaData(self, key: str) -> typing.Any: ... + def isMetaDataAvailable(self) -> bool: ... + + +class QMetaDataWriterControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def metaDataAvailableChanged(self, available: bool) -> None: ... + def writableChanged(self, writable: bool) -> None: ... + @typing.overload + def metaDataChanged(self) -> None: ... + @typing.overload + def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + def availableMetaData(self) -> typing.List[str]: ... + def setMetaData(self, key: str, value: typing.Any) -> None: ... + def metaData(self, key: str) -> typing.Any: ... + def isMetaDataAvailable(self) -> bool: ... + def isWritable(self) -> bool: ... + + +class QMultimedia(PyQt5.sip.simplewrapper): + + class AvailabilityStatus(int): + Available = ... # type: QMultimedia.AvailabilityStatus + ServiceMissing = ... # type: QMultimedia.AvailabilityStatus + Busy = ... # type: QMultimedia.AvailabilityStatus + ResourceError = ... # type: QMultimedia.AvailabilityStatus + + class EncodingMode(int): + ConstantQualityEncoding = ... # type: QMultimedia.EncodingMode + ConstantBitRateEncoding = ... # type: QMultimedia.EncodingMode + AverageBitRateEncoding = ... # type: QMultimedia.EncodingMode + TwoPassEncoding = ... # type: QMultimedia.EncodingMode + + class EncodingQuality(int): + VeryLowQuality = ... # type: QMultimedia.EncodingQuality + LowQuality = ... # type: QMultimedia.EncodingQuality + NormalQuality = ... # type: QMultimedia.EncodingQuality + HighQuality = ... # type: QMultimedia.EncodingQuality + VeryHighQuality = ... # type: QMultimedia.EncodingQuality + + class SupportEstimate(int): + NotSupported = ... # type: QMultimedia.SupportEstimate + MaybeSupported = ... # type: QMultimedia.SupportEstimate + ProbablySupported = ... # type: QMultimedia.SupportEstimate + PreferredService = ... # type: QMultimedia.SupportEstimate + + +class QRadioData(QtCore.QObject, QMediaBindableInterface): + + class ProgramType(int): + Undefined = ... # type: QRadioData.ProgramType + News = ... # type: QRadioData.ProgramType + CurrentAffairs = ... # type: QRadioData.ProgramType + Information = ... # type: QRadioData.ProgramType + Sport = ... # type: QRadioData.ProgramType + Education = ... # type: QRadioData.ProgramType + Drama = ... # type: QRadioData.ProgramType + Culture = ... # type: QRadioData.ProgramType + Science = ... # type: QRadioData.ProgramType + Varied = ... # type: QRadioData.ProgramType + PopMusic = ... # type: QRadioData.ProgramType + RockMusic = ... # type: QRadioData.ProgramType + EasyListening = ... # type: QRadioData.ProgramType + LightClassical = ... # type: QRadioData.ProgramType + SeriousClassical = ... # type: QRadioData.ProgramType + OtherMusic = ... # type: QRadioData.ProgramType + Weather = ... # type: QRadioData.ProgramType + Finance = ... # type: QRadioData.ProgramType + ChildrensProgrammes = ... # type: QRadioData.ProgramType + SocialAffairs = ... # type: QRadioData.ProgramType + Religion = ... # type: QRadioData.ProgramType + PhoneIn = ... # type: QRadioData.ProgramType + Travel = ... # type: QRadioData.ProgramType + Leisure = ... # type: QRadioData.ProgramType + JazzMusic = ... # type: QRadioData.ProgramType + CountryMusic = ... # type: QRadioData.ProgramType + NationalMusic = ... # type: QRadioData.ProgramType + OldiesMusic = ... # type: QRadioData.ProgramType + FolkMusic = ... # type: QRadioData.ProgramType + Documentary = ... # type: QRadioData.ProgramType + AlarmTest = ... # type: QRadioData.ProgramType + Alarm = ... # type: QRadioData.ProgramType + Talk = ... # type: QRadioData.ProgramType + ClassicRock = ... # type: QRadioData.ProgramType + AdultHits = ... # type: QRadioData.ProgramType + SoftRock = ... # type: QRadioData.ProgramType + Top40 = ... # type: QRadioData.ProgramType + Soft = ... # type: QRadioData.ProgramType + Nostalgia = ... # type: QRadioData.ProgramType + Classical = ... # type: QRadioData.ProgramType + RhythmAndBlues = ... # type: QRadioData.ProgramType + SoftRhythmAndBlues = ... # type: QRadioData.ProgramType + Language = ... # type: QRadioData.ProgramType + ReligiousMusic = ... # type: QRadioData.ProgramType + ReligiousTalk = ... # type: QRadioData.ProgramType + Personality = ... # type: QRadioData.ProgramType + Public = ... # type: QRadioData.ProgramType + College = ... # type: QRadioData.ProgramType + + class Error(int): + NoError = ... # type: QRadioData.Error + ResourceError = ... # type: QRadioData.Error + OpenError = ... # type: QRadioData.Error + OutOfRangeError = ... # type: QRadioData.Error + + def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setMediaObject(self, a0: QMediaObject) -> bool: ... + def alternativeFrequenciesEnabledChanged(self, enabled: bool) -> None: ... + def radioTextChanged(self, radioText: str) -> None: ... + def stationNameChanged(self, stationName: str) -> None: ... + def programTypeNameChanged(self, programTypeName: str) -> None: ... + def programTypeChanged(self, programType: 'QRadioData.ProgramType') -> None: ... + def stationIdChanged(self, stationId: str) -> None: ... + def setAlternativeFrequenciesEnabled(self, enabled: bool) -> None: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QRadioData.Error': ... + @typing.overload + def error(self, error: 'QRadioData.Error') -> None: ... + def isAlternativeFrequenciesEnabled(self) -> bool: ... + def radioText(self) -> str: ... + def stationName(self) -> str: ... + def programTypeName(self) -> str: ... + def programType(self) -> 'QRadioData.ProgramType': ... + def stationId(self) -> str: ... + def availability(self) -> QMultimedia.AvailabilityStatus: ... + def mediaObject(self) -> QMediaObject: ... + + +class QRadioDataControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def alternativeFrequenciesEnabledChanged(self, enabled: bool) -> None: ... + def radioTextChanged(self, radioText: str) -> None: ... + def stationNameChanged(self, stationName: str) -> None: ... + def programTypeNameChanged(self, programTypeName: str) -> None: ... + def programTypeChanged(self, programType: QRadioData.ProgramType) -> None: ... + def stationIdChanged(self, stationId: str) -> None: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> QRadioData.Error: ... + @typing.overload + def error(self, err: QRadioData.Error) -> None: ... + def isAlternativeFrequenciesEnabled(self) -> bool: ... + def setAlternativeFrequenciesEnabled(self, enabled: bool) -> None: ... + def radioText(self) -> str: ... + def stationName(self) -> str: ... + def programTypeName(self) -> str: ... + def programType(self) -> QRadioData.ProgramType: ... + def stationId(self) -> str: ... + + +class QRadioTuner(QMediaObject): + + class SearchMode(int): + SearchFast = ... # type: QRadioTuner.SearchMode + SearchGetStationId = ... # type: QRadioTuner.SearchMode + + class StereoMode(int): + ForceStereo = ... # type: QRadioTuner.StereoMode + ForceMono = ... # type: QRadioTuner.StereoMode + Auto = ... # type: QRadioTuner.StereoMode + + class Error(int): + NoError = ... # type: QRadioTuner.Error + ResourceError = ... # type: QRadioTuner.Error + OpenError = ... # type: QRadioTuner.Error + OutOfRangeError = ... # type: QRadioTuner.Error + + class Band(int): + AM = ... # type: QRadioTuner.Band + FM = ... # type: QRadioTuner.Band + SW = ... # type: QRadioTuner.Band + LW = ... # type: QRadioTuner.Band + FM2 = ... # type: QRadioTuner.Band + + class State(int): + ActiveState = ... # type: QRadioTuner.State + StoppedState = ... # type: QRadioTuner.State + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def antennaConnectedChanged(self, connectionStatus: bool) -> None: ... + def stationFound(self, frequency: int, stationId: str) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def volumeChanged(self, volume: int) -> None: ... + def signalStrengthChanged(self, signalStrength: int) -> None: ... + def searchingChanged(self, searching: bool) -> None: ... + def stereoStatusChanged(self, stereo: bool) -> None: ... + def frequencyChanged(self, frequency: int) -> None: ... + def bandChanged(self, band: 'QRadioTuner.Band') -> None: ... + def stateChanged(self, state: 'QRadioTuner.State') -> None: ... + def stop(self) -> None: ... + def start(self) -> None: ... + def setMuted(self, muted: bool) -> None: ... + def setVolume(self, volume: int) -> None: ... + def setFrequency(self, frequency: int) -> None: ... + def setBand(self, band: 'QRadioTuner.Band') -> None: ... + def cancelSearch(self) -> None: ... + def searchAllStations(self, searchMode: 'QRadioTuner.SearchMode' = ...) -> None: ... + def searchBackward(self) -> None: ... + def searchForward(self) -> None: ... + def radioData(self) -> QRadioData: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QRadioTuner.Error': ... + @typing.overload + def error(self, error: 'QRadioTuner.Error') -> None: ... + def isAntennaConnected(self) -> bool: ... + def isSearching(self) -> bool: ... + def isMuted(self) -> bool: ... + def volume(self) -> int: ... + def signalStrength(self) -> int: ... + def stereoMode(self) -> 'QRadioTuner.StereoMode': ... + def setStereoMode(self, mode: 'QRadioTuner.StereoMode') -> None: ... + def isStereo(self) -> bool: ... + def frequencyRange(self, band: 'QRadioTuner.Band') -> typing.Tuple[int, int]: ... + def frequencyStep(self, band: 'QRadioTuner.Band') -> int: ... + def frequency(self) -> int: ... + def isBandSupported(self, b: 'QRadioTuner.Band') -> bool: ... + def band(self) -> 'QRadioTuner.Band': ... + def state(self) -> 'QRadioTuner.State': ... + def availability(self) -> QMultimedia.AvailabilityStatus: ... + + +class QRadioTunerControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def antennaConnectedChanged(self, connectionStatus: bool) -> None: ... + def stationFound(self, frequency: int, stationId: str) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def volumeChanged(self, volume: int) -> None: ... + def signalStrengthChanged(self, signalStrength: int) -> None: ... + def searchingChanged(self, searching: bool) -> None: ... + def stereoStatusChanged(self, stereo: bool) -> None: ... + def frequencyChanged(self, frequency: int) -> None: ... + def bandChanged(self, band: QRadioTuner.Band) -> None: ... + def stateChanged(self, state: QRadioTuner.State) -> None: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> QRadioTuner.Error: ... + @typing.overload + def error(self, err: QRadioTuner.Error) -> None: ... + def stop(self) -> None: ... + def start(self) -> None: ... + def cancelSearch(self) -> None: ... + def searchAllStations(self, searchMode: QRadioTuner.SearchMode = ...) -> None: ... + def searchBackward(self) -> None: ... + def searchForward(self) -> None: ... + def isAntennaConnected(self) -> bool: ... + def isSearching(self) -> bool: ... + def setMuted(self, muted: bool) -> None: ... + def isMuted(self) -> bool: ... + def setVolume(self, volume: int) -> None: ... + def volume(self) -> int: ... + def signalStrength(self) -> int: ... + def setStereoMode(self, mode: QRadioTuner.StereoMode) -> None: ... + def stereoMode(self) -> QRadioTuner.StereoMode: ... + def isStereo(self) -> bool: ... + def setFrequency(self, frequency: int) -> None: ... + def frequencyRange(self, b: QRadioTuner.Band) -> typing.Tuple[int, int]: ... + def frequencyStep(self, b: QRadioTuner.Band) -> int: ... + def frequency(self) -> int: ... + def isBandSupported(self, b: QRadioTuner.Band) -> bool: ... + def setBand(self, b: QRadioTuner.Band) -> None: ... + def band(self) -> QRadioTuner.Band: ... + def state(self) -> QRadioTuner.State: ... + + +class QSound(QtCore.QObject): + + class Loop(int): + Infinite = ... # type: QSound.Loop + + def __init__(self, filename: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def stop(self) -> None: ... + def isFinished(self) -> bool: ... + def fileName(self) -> str: ... + def setLoops(self, a0: int) -> None: ... + def loopsRemaining(self) -> int: ... + def loops(self) -> int: ... + @typing.overload + @staticmethod + def play(filename: str) -> None: ... + @typing.overload + def play(self) -> None: ... + + +class QSoundEffect(QtCore.QObject): + + class Status(int): + Null = ... # type: QSoundEffect.Status + Loading = ... # type: QSoundEffect.Status + Ready = ... # type: QSoundEffect.Status + Error = ... # type: QSoundEffect.Status + + class Loop(int): + Infinite = ... # type: QSoundEffect.Loop + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, audioDevice: QAudioDeviceInfo, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def stop(self) -> None: ... + def play(self) -> None: ... + def categoryChanged(self) -> None: ... + def statusChanged(self) -> None: ... + def playingChanged(self) -> None: ... + def loadedChanged(self) -> None: ... + def mutedChanged(self) -> None: ... + def volumeChanged(self) -> None: ... + def loopsRemainingChanged(self) -> None: ... + def loopCountChanged(self) -> None: ... + def sourceChanged(self) -> None: ... + def setCategory(self, category: str) -> None: ... + def category(self) -> str: ... + def status(self) -> 'QSoundEffect.Status': ... + def isPlaying(self) -> bool: ... + def isLoaded(self) -> bool: ... + def setMuted(self, muted: bool) -> None: ... + def isMuted(self) -> bool: ... + def setVolume(self, volume: float) -> None: ... + def volume(self) -> float: ... + def setLoopCount(self, loopCount: int) -> None: ... + def loopsRemaining(self) -> int: ... + def loopCount(self) -> int: ... + def setSource(self, url: QtCore.QUrl) -> None: ... + def source(self) -> QtCore.QUrl: ... + @staticmethod + def supportedMimeTypes() -> typing.List[str]: ... + + +class QVideoDeviceSelectorControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def devicesChanged(self) -> None: ... + @typing.overload + def selectedDeviceChanged(self, index: int) -> None: ... + @typing.overload + def selectedDeviceChanged(self, name: str) -> None: ... + def setSelectedDevice(self, index: int) -> None: ... + def selectedDevice(self) -> int: ... + def defaultDevice(self) -> int: ... + def deviceDescription(self, index: int) -> str: ... + def deviceName(self, index: int) -> str: ... + def deviceCount(self) -> int: ... + + +class QVideoEncoderSettingsControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setVideoSettings(self, settings: QVideoEncoderSettings) -> None: ... + def videoSettings(self) -> QVideoEncoderSettings: ... + def videoCodecDescription(self, codec: str) -> str: ... + def supportedVideoCodecs(self) -> typing.List[str]: ... + def supportedFrameRates(self, settings: QVideoEncoderSettings) -> typing.Tuple[typing.List[float], bool]: ... + def supportedResolutions(self, settings: QVideoEncoderSettings) -> typing.Tuple[typing.List[QtCore.QSize], bool]: ... + + +class QVideoFrame(sip.simplewrapper): + + class PixelFormat(int): + Format_Invalid = ... # type: QVideoFrame.PixelFormat + Format_ARGB32 = ... # type: QVideoFrame.PixelFormat + Format_ARGB32_Premultiplied = ... # type: QVideoFrame.PixelFormat + Format_RGB32 = ... # type: QVideoFrame.PixelFormat + Format_RGB24 = ... # type: QVideoFrame.PixelFormat + Format_RGB565 = ... # type: QVideoFrame.PixelFormat + Format_RGB555 = ... # type: QVideoFrame.PixelFormat + Format_ARGB8565_Premultiplied = ... # type: QVideoFrame.PixelFormat + Format_BGRA32 = ... # type: QVideoFrame.PixelFormat + Format_BGRA32_Premultiplied = ... # type: QVideoFrame.PixelFormat + Format_BGR32 = ... # type: QVideoFrame.PixelFormat + Format_BGR24 = ... # type: QVideoFrame.PixelFormat + Format_BGR565 = ... # type: QVideoFrame.PixelFormat + Format_BGR555 = ... # type: QVideoFrame.PixelFormat + Format_BGRA5658_Premultiplied = ... # type: QVideoFrame.PixelFormat + Format_AYUV444 = ... # type: QVideoFrame.PixelFormat + Format_AYUV444_Premultiplied = ... # type: QVideoFrame.PixelFormat + Format_YUV444 = ... # type: QVideoFrame.PixelFormat + Format_YUV420P = ... # type: QVideoFrame.PixelFormat + Format_YV12 = ... # type: QVideoFrame.PixelFormat + Format_UYVY = ... # type: QVideoFrame.PixelFormat + Format_YUYV = ... # type: QVideoFrame.PixelFormat + Format_NV12 = ... # type: QVideoFrame.PixelFormat + Format_NV21 = ... # type: QVideoFrame.PixelFormat + Format_IMC1 = ... # type: QVideoFrame.PixelFormat + Format_IMC2 = ... # type: QVideoFrame.PixelFormat + Format_IMC3 = ... # type: QVideoFrame.PixelFormat + Format_IMC4 = ... # type: QVideoFrame.PixelFormat + Format_Y8 = ... # type: QVideoFrame.PixelFormat + Format_Y16 = ... # type: QVideoFrame.PixelFormat + Format_Jpeg = ... # type: QVideoFrame.PixelFormat + Format_CameraRaw = ... # type: QVideoFrame.PixelFormat + Format_AdobeDng = ... # type: QVideoFrame.PixelFormat + Format_ABGR32 = ... # type: QVideoFrame.PixelFormat + Format_YUV422P = ... # type: QVideoFrame.PixelFormat + Format_User = ... # type: QVideoFrame.PixelFormat + + class FieldType(int): + ProgressiveFrame = ... # type: QVideoFrame.FieldType + TopField = ... # type: QVideoFrame.FieldType + BottomField = ... # type: QVideoFrame.FieldType + InterlacedFrame = ... # type: QVideoFrame.FieldType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, buffer: QAbstractVideoBuffer, size: QtCore.QSize, format: 'QVideoFrame.PixelFormat') -> None: ... + @typing.overload + def __init__(self, bytes: int, size: QtCore.QSize, bytesPerLine: int, format: 'QVideoFrame.PixelFormat') -> None: ... + @typing.overload + def __init__(self, image: QtGui.QImage) -> None: ... + @typing.overload + def __init__(self, other: 'QVideoFrame') -> None: ... + + def image(self) -> QtGui.QImage: ... + def buffer(self) -> QAbstractVideoBuffer: ... + def planeCount(self) -> int: ... + def setMetaData(self, key: str, value: typing.Any) -> None: ... + def metaData(self, key: str) -> typing.Any: ... + def availableMetaData(self) -> typing.Dict[str, typing.Any]: ... + @staticmethod + def imageFormatFromPixelFormat(format: 'QVideoFrame.PixelFormat') -> QtGui.QImage.Format: ... + @staticmethod + def pixelFormatFromImageFormat(format: QtGui.QImage.Format) -> 'QVideoFrame.PixelFormat': ... + def setEndTime(self, time: int) -> None: ... + def endTime(self) -> int: ... + def setStartTime(self, time: int) -> None: ... + def startTime(self) -> int: ... + def handle(self) -> typing.Any: ... + def mappedBytes(self) -> int: ... + @typing.overload + def bits(self) -> PyQt5.sip.voidptr: ... + @typing.overload + def bits(self, plane: int) -> PyQt5.sip.voidptr: ... + @typing.overload + def bytesPerLine(self) -> int: ... + @typing.overload + def bytesPerLine(self, plane: int) -> int: ... + def unmap(self) -> None: ... + def map(self, mode: QAbstractVideoBuffer.MapMode) -> bool: ... + def mapMode(self) -> QAbstractVideoBuffer.MapMode: ... + def isWritable(self) -> bool: ... + def isReadable(self) -> bool: ... + def isMapped(self) -> bool: ... + def setFieldType(self, a0: 'QVideoFrame.FieldType') -> None: ... + def fieldType(self) -> 'QVideoFrame.FieldType': ... + def height(self) -> int: ... + def width(self) -> int: ... + def size(self) -> QtCore.QSize: ... + def handleType(self) -> QAbstractVideoBuffer.HandleType: ... + def pixelFormat(self) -> 'QVideoFrame.PixelFormat': ... + def isValid(self) -> bool: ... + + +class QVideoProbe(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def flush(self) -> None: ... + def videoFrameProbed(self, videoFrame: QVideoFrame) -> None: ... + def isActive(self) -> bool: ... + @typing.overload + def setSource(self, source: QMediaObject) -> bool: ... + @typing.overload + def setSource(self, source: QMediaRecorder) -> bool: ... + + +class QVideoRendererControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setSurface(self, surface: QAbstractVideoSurface) -> None: ... + def surface(self) -> QAbstractVideoSurface: ... + + +class QVideoSurfaceFormat(sip.simplewrapper): + + class YCbCrColorSpace(int): + YCbCr_Undefined = ... # type: QVideoSurfaceFormat.YCbCrColorSpace + YCbCr_BT601 = ... # type: QVideoSurfaceFormat.YCbCrColorSpace + YCbCr_BT709 = ... # type: QVideoSurfaceFormat.YCbCrColorSpace + YCbCr_xvYCC601 = ... # type: QVideoSurfaceFormat.YCbCrColorSpace + YCbCr_xvYCC709 = ... # type: QVideoSurfaceFormat.YCbCrColorSpace + YCbCr_JPEG = ... # type: QVideoSurfaceFormat.YCbCrColorSpace + + class Direction(int): + TopToBottom = ... # type: QVideoSurfaceFormat.Direction + BottomToTop = ... # type: QVideoSurfaceFormat.Direction + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, size: QtCore.QSize, format: QVideoFrame.PixelFormat, type: QAbstractVideoBuffer.HandleType = ...) -> None: ... + @typing.overload + def __init__(self, format: 'QVideoSurfaceFormat') -> None: ... + + def setMirrored(self, mirrored: bool) -> None: ... + def isMirrored(self) -> bool: ... + def setProperty(self, name: str, value: typing.Any) -> None: ... + def property(self, name: str) -> typing.Any: ... + def propertyNames(self) -> typing.List[QtCore.QByteArray]: ... + def sizeHint(self) -> QtCore.QSize: ... + def setYCbCrColorSpace(self, colorSpace: 'QVideoSurfaceFormat.YCbCrColorSpace') -> None: ... + def yCbCrColorSpace(self) -> 'QVideoSurfaceFormat.YCbCrColorSpace': ... + @typing.overload + def setPixelAspectRatio(self, ratio: QtCore.QSize) -> None: ... + @typing.overload + def setPixelAspectRatio(self, width: int, height: int) -> None: ... + def pixelAspectRatio(self) -> QtCore.QSize: ... + def setFrameRate(self, rate: float) -> None: ... + def frameRate(self) -> float: ... + def setScanLineDirection(self, direction: 'QVideoSurfaceFormat.Direction') -> None: ... + def scanLineDirection(self) -> 'QVideoSurfaceFormat.Direction': ... + def setViewport(self, viewport: QtCore.QRect) -> None: ... + def viewport(self) -> QtCore.QRect: ... + def frameHeight(self) -> int: ... + def frameWidth(self) -> int: ... + @typing.overload + def setFrameSize(self, size: QtCore.QSize) -> None: ... + @typing.overload + def setFrameSize(self, width: int, height: int) -> None: ... + def frameSize(self) -> QtCore.QSize: ... + def handleType(self) -> QAbstractVideoBuffer.HandleType: ... + def pixelFormat(self) -> QVideoFrame.PixelFormat: ... + def isValid(self) -> bool: ... + + +class QVideoWindowControl(QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def nativeSizeChanged(self) -> None: ... + def saturationChanged(self, saturation: int) -> None: ... + def hueChanged(self, hue: int) -> None: ... + def contrastChanged(self, contrast: int) -> None: ... + def brightnessChanged(self, brightness: int) -> None: ... + def fullScreenChanged(self, fullScreen: bool) -> None: ... + def setSaturation(self, saturation: int) -> None: ... + def saturation(self) -> int: ... + def setHue(self, hue: int) -> None: ... + def hue(self) -> int: ... + def setContrast(self, contrast: int) -> None: ... + def contrast(self) -> int: ... + def setBrightness(self, brightness: int) -> None: ... + def brightness(self) -> int: ... + def setAspectRatioMode(self, mode: QtCore.Qt.AspectRatioMode) -> None: ... + def aspectRatioMode(self) -> QtCore.Qt.AspectRatioMode: ... + def nativeSize(self) -> QtCore.QSize: ... + def repaint(self) -> None: ... + def setFullScreen(self, fullScreen: bool) -> None: ... + def isFullScreen(self) -> bool: ... + def setDisplayRect(self, rect: QtCore.QRect) -> None: ... + def displayRect(self) -> QtCore.QRect: ... + def setWinId(self, id: PyQt5.sip.voidptr) -> None: ... + def winId(self) -> PyQt5.sip.voidptr: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtMultimediaWidgets.pyi b/OTHERS/Jarvis/ools/PyQt5/QtMultimediaWidgets.pyi new file mode 100644 index 00000000..7f9fe266 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtMultimediaWidgets.pyi @@ -0,0 +1,127 @@ +# The PEP 484 type hints stub file for the QtMultimediaWidgets module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtMultimedia +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QVideoWidget(QtWidgets.QWidget, QtMultimedia.QMediaBindableInterface): + + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + def videoSurface(self) -> QtMultimedia.QAbstractVideoSurface: ... + def setMediaObject(self, object: QtMultimedia.QMediaObject) -> bool: ... + def paintEvent(self, event: QtGui.QPaintEvent) -> None: ... + def moveEvent(self, event: QtGui.QMoveEvent) -> None: ... + def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... + def hideEvent(self, event: QtGui.QHideEvent) -> None: ... + def showEvent(self, event: QtGui.QShowEvent) -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def saturationChanged(self, saturation: int) -> None: ... + def hueChanged(self, hue: int) -> None: ... + def contrastChanged(self, contrast: int) -> None: ... + def brightnessChanged(self, brightness: int) -> None: ... + def fullScreenChanged(self, fullScreen: bool) -> None: ... + def setSaturation(self, saturation: int) -> None: ... + def setHue(self, hue: int) -> None: ... + def setContrast(self, contrast: int) -> None: ... + def setBrightness(self, brightness: int) -> None: ... + def setAspectRatioMode(self, mode: QtCore.Qt.AspectRatioMode) -> None: ... + def setFullScreen(self, fullScreen: bool) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def saturation(self) -> int: ... + def hue(self) -> int: ... + def contrast(self) -> int: ... + def brightness(self) -> int: ... + def aspectRatioMode(self) -> QtCore.Qt.AspectRatioMode: ... + def mediaObject(self) -> QtMultimedia.QMediaObject: ... + + +class QCameraViewfinder(QVideoWidget): + + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + def setMediaObject(self, object: QtMultimedia.QMediaObject) -> bool: ... + def mediaObject(self) -> QtMultimedia.QMediaObject: ... + + +class QGraphicsVideoItem(QtWidgets.QGraphicsObject, QtMultimedia.QMediaBindableInterface): + + def __init__(self, parent: typing.Optional[QtWidgets.QGraphicsItem] = ...) -> None: ... + + def videoSurface(self) -> QtMultimedia.QAbstractVideoSurface: ... + def setMediaObject(self, object: QtMultimedia.QMediaObject) -> bool: ... + def itemChange(self, change: QtWidgets.QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any: ... + def timerEvent(self, event: QtCore.QTimerEvent) -> None: ... + def nativeSizeChanged(self, size: QtCore.QSizeF) -> None: ... + def paint(self, painter: QtGui.QPainter, option: QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + def boundingRect(self) -> QtCore.QRectF: ... + def nativeSize(self) -> QtCore.QSizeF: ... + def setSize(self, size: QtCore.QSizeF) -> None: ... + def size(self) -> QtCore.QSizeF: ... + def setOffset(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def offset(self) -> QtCore.QPointF: ... + def setAspectRatioMode(self, mode: QtCore.Qt.AspectRatioMode) -> None: ... + def aspectRatioMode(self) -> QtCore.Qt.AspectRatioMode: ... + def mediaObject(self) -> QtMultimedia.QMediaObject: ... + + +class QVideoWidgetControl(QtMultimedia.QMediaControl): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def saturationChanged(self, saturation: int) -> None: ... + def hueChanged(self, hue: int) -> None: ... + def contrastChanged(self, contrast: int) -> None: ... + def brightnessChanged(self, brightness: int) -> None: ... + def fullScreenChanged(self, fullScreen: bool) -> None: ... + def setSaturation(self, saturation: int) -> None: ... + def saturation(self) -> int: ... + def setHue(self, hue: int) -> None: ... + def hue(self) -> int: ... + def setContrast(self, contrast: int) -> None: ... + def contrast(self) -> int: ... + def setBrightness(self, brightness: int) -> None: ... + def brightness(self) -> int: ... + def setFullScreen(self, fullScreen: bool) -> None: ... + def isFullScreen(self) -> bool: ... + def setAspectRatioMode(self, mode: QtCore.Qt.AspectRatioMode) -> None: ... + def aspectRatioMode(self) -> QtCore.Qt.AspectRatioMode: ... + def videoWidget(self) -> QtWidgets.QWidget: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtNetwork.pyi b/OTHERS/Jarvis/ools/PyQt5/QtNetwork.pyi new file mode 100644 index 00000000..b5e42efc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtNetwork.pyi @@ -0,0 +1,2108 @@ +# The PEP 484 type hints stub file for the QtNetwork module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QOcspRevocationReason(int): + None_ = ... # type: QOcspRevocationReason + Unspecified = ... # type: QOcspRevocationReason + KeyCompromise = ... # type: QOcspRevocationReason + CACompromise = ... # type: QOcspRevocationReason + AffiliationChanged = ... # type: QOcspRevocationReason + Superseded = ... # type: QOcspRevocationReason + CessationOfOperation = ... # type: QOcspRevocationReason + CertificateHold = ... # type: QOcspRevocationReason + RemoveFromCRL = ... # type: QOcspRevocationReason + + +class QOcspCertificateStatus(int): + Good = ... # type: QOcspCertificateStatus + Revoked = ... # type: QOcspCertificateStatus + Unknown = ... # type: QOcspCertificateStatus + + +class QNetworkCacheMetaData(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkCacheMetaData') -> None: ... + + def swap(self, other: 'QNetworkCacheMetaData') -> None: ... + def setAttributes(self, attributes: typing.Dict['QNetworkRequest.Attribute', typing.Any]) -> None: ... + def attributes(self) -> typing.Dict['QNetworkRequest.Attribute', typing.Any]: ... + def setSaveToDisk(self, allow: bool) -> None: ... + def saveToDisk(self) -> bool: ... + def setExpirationDate(self, dateTime: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def expirationDate(self) -> QtCore.QDateTime: ... + def setLastModified(self, dateTime: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def lastModified(self) -> QtCore.QDateTime: ... + def setRawHeaders(self, headers: typing.Iterable[typing.Tuple[typing.Union[QtCore.QByteArray, bytes, bytearray], typing.Union[QtCore.QByteArray, bytes, bytearray]]]) -> None: ... + def rawHeaders(self) -> typing.List[typing.Tuple[QtCore.QByteArray, QtCore.QByteArray]]: ... + def setUrl(self, url: QtCore.QUrl) -> None: ... + def url(self) -> QtCore.QUrl: ... + def isValid(self) -> bool: ... + + +class QAbstractNetworkCache(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def clear(self) -> None: ... + def insert(self, device: QtCore.QIODevice) -> None: ... + def prepare(self, metaData: QNetworkCacheMetaData) -> QtCore.QIODevice: ... + def cacheSize(self) -> int: ... + def remove(self, url: QtCore.QUrl) -> bool: ... + def data(self, url: QtCore.QUrl) -> QtCore.QIODevice: ... + def updateMetaData(self, metaData: QNetworkCacheMetaData) -> None: ... + def metaData(self, url: QtCore.QUrl) -> QNetworkCacheMetaData: ... + + +class QAbstractSocket(QtCore.QIODevice): + + class PauseMode(int): + PauseNever = ... # type: QAbstractSocket.PauseMode + PauseOnSslErrors = ... # type: QAbstractSocket.PauseMode + + class BindFlag(int): + DefaultForPlatform = ... # type: QAbstractSocket.BindFlag + ShareAddress = ... # type: QAbstractSocket.BindFlag + DontShareAddress = ... # type: QAbstractSocket.BindFlag + ReuseAddressHint = ... # type: QAbstractSocket.BindFlag + + class SocketOption(int): + LowDelayOption = ... # type: QAbstractSocket.SocketOption + KeepAliveOption = ... # type: QAbstractSocket.SocketOption + MulticastTtlOption = ... # type: QAbstractSocket.SocketOption + MulticastLoopbackOption = ... # type: QAbstractSocket.SocketOption + TypeOfServiceOption = ... # type: QAbstractSocket.SocketOption + SendBufferSizeSocketOption = ... # type: QAbstractSocket.SocketOption + ReceiveBufferSizeSocketOption = ... # type: QAbstractSocket.SocketOption + PathMtuSocketOption = ... # type: QAbstractSocket.SocketOption + + class SocketState(int): + UnconnectedState = ... # type: QAbstractSocket.SocketState + HostLookupState = ... # type: QAbstractSocket.SocketState + ConnectingState = ... # type: QAbstractSocket.SocketState + ConnectedState = ... # type: QAbstractSocket.SocketState + BoundState = ... # type: QAbstractSocket.SocketState + ListeningState = ... # type: QAbstractSocket.SocketState + ClosingState = ... # type: QAbstractSocket.SocketState + + class SocketError(int): + ConnectionRefusedError = ... # type: QAbstractSocket.SocketError + RemoteHostClosedError = ... # type: QAbstractSocket.SocketError + HostNotFoundError = ... # type: QAbstractSocket.SocketError + SocketAccessError = ... # type: QAbstractSocket.SocketError + SocketResourceError = ... # type: QAbstractSocket.SocketError + SocketTimeoutError = ... # type: QAbstractSocket.SocketError + DatagramTooLargeError = ... # type: QAbstractSocket.SocketError + NetworkError = ... # type: QAbstractSocket.SocketError + AddressInUseError = ... # type: QAbstractSocket.SocketError + SocketAddressNotAvailableError = ... # type: QAbstractSocket.SocketError + UnsupportedSocketOperationError = ... # type: QAbstractSocket.SocketError + UnfinishedSocketOperationError = ... # type: QAbstractSocket.SocketError + ProxyAuthenticationRequiredError = ... # type: QAbstractSocket.SocketError + SslHandshakeFailedError = ... # type: QAbstractSocket.SocketError + ProxyConnectionRefusedError = ... # type: QAbstractSocket.SocketError + ProxyConnectionClosedError = ... # type: QAbstractSocket.SocketError + ProxyConnectionTimeoutError = ... # type: QAbstractSocket.SocketError + ProxyNotFoundError = ... # type: QAbstractSocket.SocketError + ProxyProtocolError = ... # type: QAbstractSocket.SocketError + OperationError = ... # type: QAbstractSocket.SocketError + SslInternalError = ... # type: QAbstractSocket.SocketError + SslInvalidUserDataError = ... # type: QAbstractSocket.SocketError + TemporaryError = ... # type: QAbstractSocket.SocketError + UnknownSocketError = ... # type: QAbstractSocket.SocketError + + class NetworkLayerProtocol(int): + IPv4Protocol = ... # type: QAbstractSocket.NetworkLayerProtocol + IPv6Protocol = ... # type: QAbstractSocket.NetworkLayerProtocol + AnyIPProtocol = ... # type: QAbstractSocket.NetworkLayerProtocol + UnknownNetworkLayerProtocol = ... # type: QAbstractSocket.NetworkLayerProtocol + + class SocketType(int): + TcpSocket = ... # type: QAbstractSocket.SocketType + UdpSocket = ... # type: QAbstractSocket.SocketType + SctpSocket = ... # type: QAbstractSocket.SocketType + UnknownSocketType = ... # type: QAbstractSocket.SocketType + + class BindMode(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QAbstractSocket.BindMode', 'QAbstractSocket.BindFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractSocket.BindMode') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QAbstractSocket.BindMode': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class PauseModes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QAbstractSocket.PauseModes', 'QAbstractSocket.PauseMode']) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractSocket.PauseModes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QAbstractSocket.PauseModes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, socketType: 'QAbstractSocket.SocketType', parent: QtCore.QObject) -> None: ... + + def setProtocolTag(self, tag: str) -> None: ... + def protocolTag(self) -> str: ... + @typing.overload + def bind(self, address: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], port: int = ..., mode: typing.Union['QAbstractSocket.BindMode', 'QAbstractSocket.BindFlag'] = ...) -> bool: ... + @typing.overload + def bind(self, port: int = ..., mode: typing.Union['QAbstractSocket.BindMode', 'QAbstractSocket.BindFlag'] = ...) -> bool: ... + def setPauseMode(self, pauseMode: typing.Union['QAbstractSocket.PauseModes', 'QAbstractSocket.PauseMode']) -> None: ... + def pauseMode(self) -> 'QAbstractSocket.PauseModes': ... + def resume(self) -> None: ... + def socketOption(self, option: 'QAbstractSocket.SocketOption') -> typing.Any: ... + def setSocketOption(self, option: 'QAbstractSocket.SocketOption', value: typing.Any) -> None: ... + def setPeerName(self, name: str) -> None: ... + def setPeerAddress(self, address: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... + def setPeerPort(self, port: int) -> None: ... + def setLocalAddress(self, address: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... + def setLocalPort(self, port: int) -> None: ... + def setSocketError(self, socketError: 'QAbstractSocket.SocketError') -> None: ... + def setSocketState(self, state: 'QAbstractSocket.SocketState') -> None: ... + def writeData(self, data: bytes) -> int: ... + def readLineData(self, maxlen: int) -> bytes: ... + def readData(self, maxlen: int) -> bytes: ... + def proxyAuthenticationRequired(self, proxy: 'QNetworkProxy', authenticator: 'QAuthenticator') -> None: ... + def errorOccurred(self, a0: 'QAbstractSocket.SocketError') -> None: ... + def stateChanged(self, a0: 'QAbstractSocket.SocketState') -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... + def hostFound(self) -> None: ... + def proxy(self) -> 'QNetworkProxy': ... + def setProxy(self, networkProxy: 'QNetworkProxy') -> None: ... + def waitForDisconnected(self, msecs: int = ...) -> bool: ... + def waitForBytesWritten(self, msecs: int = ...) -> bool: ... + def waitForReadyRead(self, msecs: int = ...) -> bool: ... + def waitForConnected(self, msecs: int = ...) -> bool: ... + def flush(self) -> bool: ... + def atEnd(self) -> bool: ... + def isSequential(self) -> bool: ... + def close(self) -> None: ... + @typing.overload + def error(self) -> 'QAbstractSocket.SocketError': ... + @typing.overload + def error(self, a0: 'QAbstractSocket.SocketError') -> None: ... + def state(self) -> 'QAbstractSocket.SocketState': ... + def socketType(self) -> 'QAbstractSocket.SocketType': ... + def socketDescriptor(self) -> PyQt5.sip.voidptr: ... + def setSocketDescriptor(self, socketDescriptor: PyQt5.sip.voidptr, state: 'QAbstractSocket.SocketState' = ..., mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> bool: ... + def abort(self) -> None: ... + def setReadBufferSize(self, size: int) -> None: ... + def readBufferSize(self) -> int: ... + def peerName(self) -> str: ... + def peerAddress(self) -> 'QHostAddress': ... + def peerPort(self) -> int: ... + def localAddress(self) -> 'QHostAddress': ... + def localPort(self) -> int: ... + def canReadLine(self) -> bool: ... + def bytesToWrite(self) -> int: ... + def bytesAvailable(self) -> int: ... + def isValid(self) -> bool: ... + def disconnectFromHost(self) -> None: ... + @typing.overload + def connectToHost(self, hostName: str, port: int, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ..., protocol: 'QAbstractSocket.NetworkLayerProtocol' = ...) -> None: ... + @typing.overload + def connectToHost(self, address: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], port: int, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> None: ... + + +class QAuthenticator(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QAuthenticator') -> None: ... + + def setOption(self, opt: str, value: typing.Any) -> None: ... + def options(self) -> typing.Dict[str, typing.Any]: ... + def option(self, opt: str) -> typing.Any: ... + def isNull(self) -> bool: ... + def realm(self) -> str: ... + def setPassword(self, password: str) -> None: ... + def password(self) -> str: ... + def setUser(self, user: str) -> None: ... + def user(self) -> str: ... + + +class QDnsDomainNameRecord(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QDnsDomainNameRecord') -> None: ... + + def value(self) -> str: ... + def timeToLive(self) -> int: ... + def name(self) -> str: ... + def swap(self, other: 'QDnsDomainNameRecord') -> None: ... + + +class QDnsHostAddressRecord(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QDnsHostAddressRecord') -> None: ... + + def value(self) -> 'QHostAddress': ... + def timeToLive(self) -> int: ... + def name(self) -> str: ... + def swap(self, other: 'QDnsHostAddressRecord') -> None: ... + + +class QDnsMailExchangeRecord(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QDnsMailExchangeRecord') -> None: ... + + def timeToLive(self) -> int: ... + def preference(self) -> int: ... + def name(self) -> str: ... + def exchange(self) -> str: ... + def swap(self, other: 'QDnsMailExchangeRecord') -> None: ... + + +class QDnsServiceRecord(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QDnsServiceRecord') -> None: ... + + def weight(self) -> int: ... + def timeToLive(self) -> int: ... + def target(self) -> str: ... + def priority(self) -> int: ... + def port(self) -> int: ... + def name(self) -> str: ... + def swap(self, other: 'QDnsServiceRecord') -> None: ... + + +class QDnsTextRecord(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QDnsTextRecord') -> None: ... + + def values(self) -> typing.List[QtCore.QByteArray]: ... + def timeToLive(self) -> int: ... + def name(self) -> str: ... + def swap(self, other: 'QDnsTextRecord') -> None: ... + + +class QDnsLookup(QtCore.QObject): + + class Type(int): + A = ... # type: QDnsLookup.Type + AAAA = ... # type: QDnsLookup.Type + ANY = ... # type: QDnsLookup.Type + CNAME = ... # type: QDnsLookup.Type + MX = ... # type: QDnsLookup.Type + NS = ... # type: QDnsLookup.Type + PTR = ... # type: QDnsLookup.Type + SRV = ... # type: QDnsLookup.Type + TXT = ... # type: QDnsLookup.Type + + class Error(int): + NoError = ... # type: QDnsLookup.Error + ResolverError = ... # type: QDnsLookup.Error + OperationCancelledError = ... # type: QDnsLookup.Error + InvalidRequestError = ... # type: QDnsLookup.Error + InvalidReplyError = ... # type: QDnsLookup.Error + ServerFailureError = ... # type: QDnsLookup.Error + ServerRefusedError = ... # type: QDnsLookup.Error + NotFoundError = ... # type: QDnsLookup.Error + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, type: 'QDnsLookup.Type', name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, type: 'QDnsLookup.Type', name: str, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def nameserverChanged(self, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... + def setNameserver(self, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... + def nameserver(self) -> 'QHostAddress': ... + def typeChanged(self, type: 'QDnsLookup.Type') -> None: ... + def nameChanged(self, name: str) -> None: ... + def finished(self) -> None: ... + def lookup(self) -> None: ... + def abort(self) -> None: ... + def textRecords(self) -> typing.List[QDnsTextRecord]: ... + def serviceRecords(self) -> typing.List[QDnsServiceRecord]: ... + def pointerRecords(self) -> typing.List[QDnsDomainNameRecord]: ... + def nameServerRecords(self) -> typing.List[QDnsDomainNameRecord]: ... + def mailExchangeRecords(self) -> typing.List[QDnsMailExchangeRecord]: ... + def hostAddressRecords(self) -> typing.List[QDnsHostAddressRecord]: ... + def canonicalNameRecords(self) -> typing.List[QDnsDomainNameRecord]: ... + def setType(self, a0: 'QDnsLookup.Type') -> None: ... + def type(self) -> 'QDnsLookup.Type': ... + def setName(self, name: str) -> None: ... + def name(self) -> str: ... + def isFinished(self) -> bool: ... + def errorString(self) -> str: ... + def error(self) -> 'QDnsLookup.Error': ... + + +class QHostAddress(sip.simplewrapper): + + class ConversionModeFlag(int): + ConvertV4MappedToIPv4 = ... # type: QHostAddress.ConversionModeFlag + ConvertV4CompatToIPv4 = ... # type: QHostAddress.ConversionModeFlag + ConvertUnspecifiedAddress = ... # type: QHostAddress.ConversionModeFlag + ConvertLocalHost = ... # type: QHostAddress.ConversionModeFlag + TolerantConversion = ... # type: QHostAddress.ConversionModeFlag + StrictConversion = ... # type: QHostAddress.ConversionModeFlag + + class SpecialAddress(int): + Null = ... # type: QHostAddress.SpecialAddress + Broadcast = ... # type: QHostAddress.SpecialAddress + LocalHost = ... # type: QHostAddress.SpecialAddress + LocalHostIPv6 = ... # type: QHostAddress.SpecialAddress + AnyIPv4 = ... # type: QHostAddress.SpecialAddress + AnyIPv6 = ... # type: QHostAddress.SpecialAddress + Any = ... # type: QHostAddress.SpecialAddress + + class ConversionMode(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QHostAddress.ConversionMode', 'QHostAddress.ConversionModeFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QHostAddress.ConversionMode') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QHostAddress.ConversionMode': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, address: 'QHostAddress.SpecialAddress') -> None: ... + @typing.overload + def __init__(self, ip4Addr: int) -> None: ... + @typing.overload + def __init__(self, address: str) -> None: ... + @typing.overload + def __init__(self, ip6Addr: typing.Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]) -> None: ... + @typing.overload + def __init__(self, copy: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... + + def isBroadcast(self) -> bool: ... + def isUniqueLocalUnicast(self) -> bool: ... + def isSiteLocal(self) -> bool: ... + def isLinkLocal(self) -> bool: ... + def isGlobal(self) -> bool: ... + def isEqual(self, address: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], mode: typing.Union['QHostAddress.ConversionMode', 'QHostAddress.ConversionModeFlag'] = ...) -> bool: ... + def isMulticast(self) -> bool: ... + def swap(self, other: 'QHostAddress') -> None: ... + @staticmethod + def parseSubnet(subnet: str) -> typing.Tuple['QHostAddress', int]: ... + def isLoopback(self) -> bool: ... + @typing.overload + def isInSubnet(self, subnet: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], netmask: int) -> bool: ... + @typing.overload + def isInSubnet(self, subnet: typing.Tuple[typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], int]) -> bool: ... + def __hash__(self) -> int: ... + def clear(self) -> None: ... + def isNull(self) -> bool: ... + def setScopeId(self, id: str) -> None: ... + def scopeId(self) -> str: ... + def toString(self) -> str: ... + def toIPv6Address(self) -> typing.Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]: ... + def toIPv4Address(self) -> int: ... + def protocol(self) -> QAbstractSocket.NetworkLayerProtocol: ... + @typing.overload + def setAddress(self, address: 'QHostAddress.SpecialAddress') -> None: ... + @typing.overload + def setAddress(self, ip4Addr: int) -> None: ... + @typing.overload + def setAddress(self, address: str) -> bool: ... + @typing.overload + def setAddress(self, ip6Addr: typing.Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]) -> None: ... + + +class QHostInfo(sip.simplewrapper): + + class HostInfoError(int): + NoError = ... # type: QHostInfo.HostInfoError + HostNotFound = ... # type: QHostInfo.HostInfoError + UnknownError = ... # type: QHostInfo.HostInfoError + + @typing.overload + def __init__(self, id: int = ...) -> None: ... + @typing.overload + def __init__(self, d: 'QHostInfo') -> None: ... + + def swap(self, other: 'QHostInfo') -> None: ... + @staticmethod + def localDomainName() -> str: ... + @staticmethod + def localHostName() -> str: ... + @staticmethod + def fromName(name: str) -> 'QHostInfo': ... + @staticmethod + def abortHostLookup(lookupId: int) -> None: ... + @staticmethod + def lookupHost(name: str, slot: PYQT_SLOT) -> int: ... + def lookupId(self) -> int: ... + def setLookupId(self, id: int) -> None: ... + def setErrorString(self, errorString: str) -> None: ... + def errorString(self) -> str: ... + def setError(self, error: 'QHostInfo.HostInfoError') -> None: ... + def error(self) -> 'QHostInfo.HostInfoError': ... + def setAddresses(self, addresses: typing.Iterable[typing.Union[QHostAddress, QHostAddress.SpecialAddress]]) -> None: ... + def addresses(self) -> typing.List[QHostAddress]: ... + def setHostName(self, name: str) -> None: ... + def hostName(self) -> str: ... + + +class QHstsPolicy(sip.simplewrapper): + + class PolicyFlag(int): + IncludeSubDomains = ... # type: QHstsPolicy.PolicyFlag + + class PolicyFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QHstsPolicy.PolicyFlags', 'QHstsPolicy.PolicyFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QHstsPolicy.PolicyFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QHstsPolicy.PolicyFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, expiry: typing.Union[QtCore.QDateTime, datetime.datetime], flags: typing.Union['QHstsPolicy.PolicyFlags', 'QHstsPolicy.PolicyFlag'], host: str, mode: QtCore.QUrl.ParsingMode = ...) -> None: ... + @typing.overload + def __init__(self, rhs: 'QHstsPolicy') -> None: ... + + def isExpired(self) -> bool: ... + def includesSubDomains(self) -> bool: ... + def setIncludesSubDomains(self, include: bool) -> None: ... + def expiry(self) -> QtCore.QDateTime: ... + def setExpiry(self, expiry: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def host(self, options: typing.Union[QtCore.QUrl.ComponentFormattingOptions, QtCore.QUrl.ComponentFormattingOption] = ...) -> str: ... + def setHost(self, host: str, mode: QtCore.QUrl.ParsingMode = ...) -> None: ... + def swap(self, other: 'QHstsPolicy') -> None: ... + + +class QHttp2Configuration(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QHttp2Configuration') -> None: ... + + def swap(self, other: 'QHttp2Configuration') -> None: ... + def maxFrameSize(self) -> int: ... + def setMaxFrameSize(self, size: int) -> bool: ... + def streamReceiveWindowSize(self) -> int: ... + def setStreamReceiveWindowSize(self, size: int) -> bool: ... + def sessionReceiveWindowSize(self) -> int: ... + def setSessionReceiveWindowSize(self, size: int) -> bool: ... + def huffmanCompressionEnabled(self) -> bool: ... + def setHuffmanCompressionEnabled(self, enable: bool) -> None: ... + def serverPushEnabled(self) -> bool: ... + def setServerPushEnabled(self, enable: bool) -> None: ... + + +class QHttpPart(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QHttpPart') -> None: ... + + def swap(self, other: 'QHttpPart') -> None: ... + def setBodyDevice(self, device: QtCore.QIODevice) -> None: ... + def setBody(self, body: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def setRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray], headerValue: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def setHeader(self, header: 'QNetworkRequest.KnownHeaders', value: typing.Any) -> None: ... + + +class QHttpMultiPart(QtCore.QObject): + + class ContentType(int): + MixedType = ... # type: QHttpMultiPart.ContentType + RelatedType = ... # type: QHttpMultiPart.ContentType + FormDataType = ... # type: QHttpMultiPart.ContentType + AlternativeType = ... # type: QHttpMultiPart.ContentType + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, contentType: 'QHttpMultiPart.ContentType', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setBoundary(self, boundary: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def boundary(self) -> QtCore.QByteArray: ... + def setContentType(self, contentType: 'QHttpMultiPart.ContentType') -> None: ... + def append(self, httpPart: QHttpPart) -> None: ... + + +class QLocalServer(QtCore.QObject): + + class SocketOption(int): + UserAccessOption = ... # type: QLocalServer.SocketOption + GroupAccessOption = ... # type: QLocalServer.SocketOption + OtherAccessOption = ... # type: QLocalServer.SocketOption + WorldAccessOption = ... # type: QLocalServer.SocketOption + + class SocketOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QLocalServer.SocketOptions', 'QLocalServer.SocketOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QLocalServer.SocketOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QLocalServer.SocketOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def socketDescriptor(self) -> PyQt5.sip.voidptr: ... + def socketOptions(self) -> 'QLocalServer.SocketOptions': ... + def setSocketOptions(self, options: typing.Union['QLocalServer.SocketOptions', 'QLocalServer.SocketOption']) -> None: ... + def incomingConnection(self, socketDescriptor: PyQt5.sip.voidptr) -> None: ... + def newConnection(self) -> None: ... + @staticmethod + def removeServer(name: str) -> bool: ... + def waitForNewConnection(self, msecs: int = ...) -> typing.Tuple[bool, bool]: ... + def setMaxPendingConnections(self, numConnections: int) -> None: ... + def serverError(self) -> QAbstractSocket.SocketError: ... + def fullServerName(self) -> str: ... + def serverName(self) -> str: ... + def nextPendingConnection(self) -> 'QLocalSocket': ... + def maxPendingConnections(self) -> int: ... + @typing.overload + def listen(self, name: str) -> bool: ... + @typing.overload + def listen(self, socketDescriptor: PyQt5.sip.voidptr) -> bool: ... + def isListening(self) -> bool: ... + def hasPendingConnections(self) -> bool: ... + def errorString(self) -> str: ... + def close(self) -> None: ... + + +class QLocalSocket(QtCore.QIODevice): + + class LocalSocketState(int): + UnconnectedState = ... # type: QLocalSocket.LocalSocketState + ConnectingState = ... # type: QLocalSocket.LocalSocketState + ConnectedState = ... # type: QLocalSocket.LocalSocketState + ClosingState = ... # type: QLocalSocket.LocalSocketState + + class LocalSocketError(int): + ConnectionRefusedError = ... # type: QLocalSocket.LocalSocketError + PeerClosedError = ... # type: QLocalSocket.LocalSocketError + ServerNotFoundError = ... # type: QLocalSocket.LocalSocketError + SocketAccessError = ... # type: QLocalSocket.LocalSocketError + SocketResourceError = ... # type: QLocalSocket.LocalSocketError + SocketTimeoutError = ... # type: QLocalSocket.LocalSocketError + DatagramTooLargeError = ... # type: QLocalSocket.LocalSocketError + ConnectionError = ... # type: QLocalSocket.LocalSocketError + UnsupportedSocketOperationError = ... # type: QLocalSocket.LocalSocketError + OperationError = ... # type: QLocalSocket.LocalSocketError + UnknownSocketError = ... # type: QLocalSocket.LocalSocketError + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def writeData(self, a0: bytes) -> int: ... + def readData(self, maxlen: int) -> bytes: ... + def stateChanged(self, socketState: 'QLocalSocket.LocalSocketState') -> None: ... + def errorOccurred(self, socketError: 'QLocalSocket.LocalSocketError') -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... + def waitForReadyRead(self, msecs: int = ...) -> bool: ... + def waitForDisconnected(self, msecs: int = ...) -> bool: ... + def waitForConnected(self, msecs: int = ...) -> bool: ... + def waitForBytesWritten(self, msecs: int = ...) -> bool: ... + def state(self) -> 'QLocalSocket.LocalSocketState': ... + def socketDescriptor(self) -> PyQt5.sip.voidptr: ... + def setSocketDescriptor(self, socketDescriptor: PyQt5.sip.voidptr, state: 'QLocalSocket.LocalSocketState' = ..., mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> bool: ... + def setReadBufferSize(self, size: int) -> None: ... + def readBufferSize(self) -> int: ... + def isValid(self) -> bool: ... + def flush(self) -> bool: ... + @typing.overload + def error(self) -> 'QLocalSocket.LocalSocketError': ... + @typing.overload + def error(self, socketError: 'QLocalSocket.LocalSocketError') -> None: ... + def close(self) -> None: ... + def canReadLine(self) -> bool: ... + def bytesToWrite(self) -> int: ... + def bytesAvailable(self) -> int: ... + def isSequential(self) -> bool: ... + def abort(self) -> None: ... + def fullServerName(self) -> str: ... + def setServerName(self, name: str) -> None: ... + def serverName(self) -> str: ... + def open(self, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> bool: ... + def disconnectFromServer(self) -> None: ... + @typing.overload + def connectToServer(self, name: str, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> None: ... + @typing.overload + def connectToServer(self, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> None: ... + + +class QNetworkAccessManager(QtCore.QObject): + + class NetworkAccessibility(int): + UnknownAccessibility = ... # type: QNetworkAccessManager.NetworkAccessibility + NotAccessible = ... # type: QNetworkAccessManager.NetworkAccessibility + Accessible = ... # type: QNetworkAccessManager.NetworkAccessibility + + class Operation(int): + HeadOperation = ... # type: QNetworkAccessManager.Operation + GetOperation = ... # type: QNetworkAccessManager.Operation + PutOperation = ... # type: QNetworkAccessManager.Operation + PostOperation = ... # type: QNetworkAccessManager.Operation + DeleteOperation = ... # type: QNetworkAccessManager.Operation + CustomOperation = ... # type: QNetworkAccessManager.Operation + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setTransferTimeout(self, timeout: int = ...) -> None: ... + def transferTimeout(self) -> int: ... + def setAutoDeleteReplies(self, autoDelete: bool) -> None: ... + def autoDeleteReplies(self) -> bool: ... + def isStrictTransportSecurityStoreEnabled(self) -> bool: ... + def enableStrictTransportSecurityStore(self, enabled: bool, storeDir: str = ...) -> None: ... + def redirectPolicy(self) -> 'QNetworkRequest.RedirectPolicy': ... + def setRedirectPolicy(self, policy: 'QNetworkRequest.RedirectPolicy') -> None: ... + def strictTransportSecurityHosts(self) -> typing.List[QHstsPolicy]: ... + def addStrictTransportSecurityHosts(self, knownHosts: typing.Iterable[QHstsPolicy]) -> None: ... + def isStrictTransportSecurityEnabled(self) -> bool: ... + def setStrictTransportSecurityEnabled(self, enabled: bool) -> None: ... + def clearConnectionCache(self) -> None: ... + def supportedSchemesImplementation(self) -> typing.List[str]: ... + def connectToHost(self, hostName: str, port: int = ...) -> None: ... + @typing.overload + def connectToHostEncrypted(self, hostName: str, port: int = ..., sslConfiguration: 'QSslConfiguration' = ...) -> None: ... + @typing.overload + def connectToHostEncrypted(self, hostName: str, port: int, sslConfiguration: 'QSslConfiguration', peerName: str) -> None: ... + def supportedSchemes(self) -> typing.List[str]: ... + def clearAccessCache(self) -> None: ... + def networkAccessible(self) -> 'QNetworkAccessManager.NetworkAccessibility': ... + def setNetworkAccessible(self, accessible: 'QNetworkAccessManager.NetworkAccessibility') -> None: ... + def activeConfiguration(self) -> 'QNetworkConfiguration': ... + def configuration(self) -> 'QNetworkConfiguration': ... + def setConfiguration(self, config: 'QNetworkConfiguration') -> None: ... + @typing.overload + def sendCustomRequest(self, request: 'QNetworkRequest', verb: typing.Union[QtCore.QByteArray, bytes, bytearray], data: typing.Optional[QtCore.QIODevice] = ...) -> 'QNetworkReply': ... + @typing.overload + def sendCustomRequest(self, request: 'QNetworkRequest', verb: typing.Union[QtCore.QByteArray, bytes, bytearray], data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> 'QNetworkReply': ... + @typing.overload + def sendCustomRequest(self, request: 'QNetworkRequest', verb: typing.Union[QtCore.QByteArray, bytes, bytearray], multiPart: QHttpMultiPart) -> 'QNetworkReply': ... + def deleteResource(self, request: 'QNetworkRequest') -> 'QNetworkReply': ... + def setCache(self, cache: QAbstractNetworkCache) -> None: ... + def cache(self) -> QAbstractNetworkCache: ... + def setProxyFactory(self, factory: 'QNetworkProxyFactory') -> None: ... + def proxyFactory(self) -> 'QNetworkProxyFactory': ... + def createRequest(self, op: 'QNetworkAccessManager.Operation', request: 'QNetworkRequest', device: typing.Optional[QtCore.QIODevice] = ...) -> 'QNetworkReply': ... + def preSharedKeyAuthenticationRequired(self, reply: 'QNetworkReply', authenticator: 'QSslPreSharedKeyAuthenticator') -> None: ... + def networkAccessibleChanged(self, accessible: 'QNetworkAccessManager.NetworkAccessibility') -> None: ... + def sslErrors(self, reply: 'QNetworkReply', errors: typing.Iterable['QSslError']) -> None: ... + def encrypted(self, reply: 'QNetworkReply') -> None: ... + def finished(self, reply: 'QNetworkReply') -> None: ... + def authenticationRequired(self, reply: 'QNetworkReply', authenticator: QAuthenticator) -> None: ... + def proxyAuthenticationRequired(self, proxy: 'QNetworkProxy', authenticator: QAuthenticator) -> None: ... + @typing.overload + def put(self, request: 'QNetworkRequest', data: QtCore.QIODevice) -> 'QNetworkReply': ... + @typing.overload + def put(self, request: 'QNetworkRequest', data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> 'QNetworkReply': ... + @typing.overload + def put(self, request: 'QNetworkRequest', multiPart: QHttpMultiPart) -> 'QNetworkReply': ... + @typing.overload + def post(self, request: 'QNetworkRequest', data: QtCore.QIODevice) -> 'QNetworkReply': ... + @typing.overload + def post(self, request: 'QNetworkRequest', data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> 'QNetworkReply': ... + @typing.overload + def post(self, request: 'QNetworkRequest', multiPart: QHttpMultiPart) -> 'QNetworkReply': ... + def get(self, request: 'QNetworkRequest') -> 'QNetworkReply': ... + def head(self, request: 'QNetworkRequest') -> 'QNetworkReply': ... + def setCookieJar(self, cookieJar: 'QNetworkCookieJar') -> None: ... + def cookieJar(self) -> 'QNetworkCookieJar': ... + def setProxy(self, proxy: 'QNetworkProxy') -> None: ... + def proxy(self) -> 'QNetworkProxy': ... + + +class QNetworkConfigurationManager(QtCore.QObject): + + class Capability(int): + CanStartAndStopInterfaces = ... # type: QNetworkConfigurationManager.Capability + DirectConnectionRouting = ... # type: QNetworkConfigurationManager.Capability + SystemSessionSupport = ... # type: QNetworkConfigurationManager.Capability + ApplicationLevelRoaming = ... # type: QNetworkConfigurationManager.Capability + ForcedRoaming = ... # type: QNetworkConfigurationManager.Capability + DataStatistics = ... # type: QNetworkConfigurationManager.Capability + NetworkSessionRequired = ... # type: QNetworkConfigurationManager.Capability + + class Capabilities(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QNetworkConfigurationManager.Capabilities', 'QNetworkConfigurationManager.Capability']) -> None: ... + @typing.overload + def __init__(self, a0: 'QNetworkConfigurationManager.Capabilities') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QNetworkConfigurationManager.Capabilities': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def updateCompleted(self) -> None: ... + def onlineStateChanged(self, isOnline: bool) -> None: ... + def configurationChanged(self, config: 'QNetworkConfiguration') -> None: ... + def configurationRemoved(self, config: 'QNetworkConfiguration') -> None: ... + def configurationAdded(self, config: 'QNetworkConfiguration') -> None: ... + def isOnline(self) -> bool: ... + def updateConfigurations(self) -> None: ... + def configurationFromIdentifier(self, identifier: str) -> 'QNetworkConfiguration': ... + def allConfigurations(self, flags: typing.Union['QNetworkConfiguration.StateFlags', 'QNetworkConfiguration.StateFlag'] = ...) -> typing.List['QNetworkConfiguration']: ... + def defaultConfiguration(self) -> 'QNetworkConfiguration': ... + def capabilities(self) -> 'QNetworkConfigurationManager.Capabilities': ... + + +class QNetworkConfiguration(sip.simplewrapper): + + class BearerType(int): + BearerUnknown = ... # type: QNetworkConfiguration.BearerType + BearerEthernet = ... # type: QNetworkConfiguration.BearerType + BearerWLAN = ... # type: QNetworkConfiguration.BearerType + Bearer2G = ... # type: QNetworkConfiguration.BearerType + BearerCDMA2000 = ... # type: QNetworkConfiguration.BearerType + BearerWCDMA = ... # type: QNetworkConfiguration.BearerType + BearerHSPA = ... # type: QNetworkConfiguration.BearerType + BearerBluetooth = ... # type: QNetworkConfiguration.BearerType + BearerWiMAX = ... # type: QNetworkConfiguration.BearerType + BearerEVDO = ... # type: QNetworkConfiguration.BearerType + BearerLTE = ... # type: QNetworkConfiguration.BearerType + Bearer3G = ... # type: QNetworkConfiguration.BearerType + Bearer4G = ... # type: QNetworkConfiguration.BearerType + + class StateFlag(int): + Undefined = ... # type: QNetworkConfiguration.StateFlag + Defined = ... # type: QNetworkConfiguration.StateFlag + Discovered = ... # type: QNetworkConfiguration.StateFlag + Active = ... # type: QNetworkConfiguration.StateFlag + + class Purpose(int): + UnknownPurpose = ... # type: QNetworkConfiguration.Purpose + PublicPurpose = ... # type: QNetworkConfiguration.Purpose + PrivatePurpose = ... # type: QNetworkConfiguration.Purpose + ServiceSpecificPurpose = ... # type: QNetworkConfiguration.Purpose + + class Type(int): + InternetAccessPoint = ... # type: QNetworkConfiguration.Type + ServiceNetwork = ... # type: QNetworkConfiguration.Type + UserChoice = ... # type: QNetworkConfiguration.Type + Invalid = ... # type: QNetworkConfiguration.Type + + class StateFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QNetworkConfiguration.StateFlags', 'QNetworkConfiguration.StateFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QNetworkConfiguration.StateFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QNetworkConfiguration.StateFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkConfiguration') -> None: ... + + def setConnectTimeout(self, timeout: int) -> bool: ... + def connectTimeout(self) -> int: ... + def swap(self, other: 'QNetworkConfiguration') -> None: ... + def isValid(self) -> bool: ... + def name(self) -> str: ... + def children(self) -> typing.List['QNetworkConfiguration']: ... + def isRoamingAvailable(self) -> bool: ... + def identifier(self) -> str: ... + def bearerTypeFamily(self) -> 'QNetworkConfiguration.BearerType': ... + def bearerTypeName(self) -> str: ... + def bearerType(self) -> 'QNetworkConfiguration.BearerType': ... + def purpose(self) -> 'QNetworkConfiguration.Purpose': ... + def type(self) -> 'QNetworkConfiguration.Type': ... + def state(self) -> 'QNetworkConfiguration.StateFlags': ... + + +class QNetworkCookie(sip.simplewrapper): + + class RawForm(int): + NameAndValueOnly = ... # type: QNetworkCookie.RawForm + Full = ... # type: QNetworkCookie.RawForm + + @typing.overload + def __init__(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray] = ..., value: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkCookie') -> None: ... + + def normalize(self, url: QtCore.QUrl) -> None: ... + def hasSameIdentifier(self, other: 'QNetworkCookie') -> bool: ... + def swap(self, other: 'QNetworkCookie') -> None: ... + def setHttpOnly(self, enable: bool) -> None: ... + def isHttpOnly(self) -> bool: ... + @staticmethod + def parseCookies(cookieString: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> typing.List['QNetworkCookie']: ... + def toRawForm(self, form: 'QNetworkCookie.RawForm' = ...) -> QtCore.QByteArray: ... + def setValue(self, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def value(self) -> QtCore.QByteArray: ... + def setName(self, cookieName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def name(self) -> QtCore.QByteArray: ... + def setPath(self, path: str) -> None: ... + def path(self) -> str: ... + def setDomain(self, domain: str) -> None: ... + def domain(self) -> str: ... + def setExpirationDate(self, date: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def expirationDate(self) -> QtCore.QDateTime: ... + def isSessionCookie(self) -> bool: ... + def setSecure(self, enable: bool) -> None: ... + def isSecure(self) -> bool: ... + + +class QNetworkCookieJar(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def validateCookie(self, cookie: QNetworkCookie, url: QtCore.QUrl) -> bool: ... + def allCookies(self) -> typing.List[QNetworkCookie]: ... + def setAllCookies(self, cookieList: typing.Iterable[QNetworkCookie]) -> None: ... + def deleteCookie(self, cookie: QNetworkCookie) -> bool: ... + def updateCookie(self, cookie: QNetworkCookie) -> bool: ... + def insertCookie(self, cookie: QNetworkCookie) -> bool: ... + def setCookiesFromUrl(self, cookieList: typing.Iterable[QNetworkCookie], url: QtCore.QUrl) -> bool: ... + def cookiesForUrl(self, url: QtCore.QUrl) -> typing.List[QNetworkCookie]: ... + + +class QNetworkDatagram(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray], destinationAddress: typing.Union[QHostAddress, QHostAddress.SpecialAddress] = ..., port: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkDatagram') -> None: ... + + def makeReply(self, payload: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> 'QNetworkDatagram': ... + def setData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def data(self) -> QtCore.QByteArray: ... + def setHopLimit(self, count: int) -> None: ... + def hopLimit(self) -> int: ... + def setDestination(self, address: typing.Union[QHostAddress, QHostAddress.SpecialAddress], port: int) -> None: ... + def setSender(self, address: typing.Union[QHostAddress, QHostAddress.SpecialAddress], port: int = ...) -> None: ... + def destinationPort(self) -> int: ... + def senderPort(self) -> int: ... + def destinationAddress(self) -> QHostAddress: ... + def senderAddress(self) -> QHostAddress: ... + def setInterfaceIndex(self, index: int) -> None: ... + def interfaceIndex(self) -> int: ... + def isNull(self) -> bool: ... + def isValid(self) -> bool: ... + def clear(self) -> None: ... + def swap(self, other: 'QNetworkDatagram') -> None: ... + + +class QNetworkDiskCache(QAbstractNetworkCache): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def expire(self) -> int: ... + def clear(self) -> None: ... + def fileMetaData(self, fileName: str) -> QNetworkCacheMetaData: ... + def insert(self, device: QtCore.QIODevice) -> None: ... + def prepare(self, metaData: QNetworkCacheMetaData) -> QtCore.QIODevice: ... + def remove(self, url: QtCore.QUrl) -> bool: ... + def data(self, url: QtCore.QUrl) -> QtCore.QIODevice: ... + def updateMetaData(self, metaData: QNetworkCacheMetaData) -> None: ... + def metaData(self, url: QtCore.QUrl) -> QNetworkCacheMetaData: ... + def cacheSize(self) -> int: ... + def setMaximumCacheSize(self, size: int) -> None: ... + def maximumCacheSize(self) -> int: ... + def setCacheDirectory(self, cacheDir: str) -> None: ... + def cacheDirectory(self) -> str: ... + + +class QNetworkAddressEntry(sip.simplewrapper): + + class DnsEligibilityStatus(int): + DnsEligibilityUnknown = ... # type: QNetworkAddressEntry.DnsEligibilityStatus + DnsIneligible = ... # type: QNetworkAddressEntry.DnsEligibilityStatus + DnsEligible = ... # type: QNetworkAddressEntry.DnsEligibilityStatus + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkAddressEntry') -> None: ... + + def isTemporary(self) -> bool: ... + def isPermanent(self) -> bool: ... + def clearAddressLifetime(self) -> None: ... + def setAddressLifetime(self, preferred: QtCore.QDeadlineTimer, validity: QtCore.QDeadlineTimer) -> None: ... + def validityLifetime(self) -> QtCore.QDeadlineTimer: ... + def preferredLifetime(self) -> QtCore.QDeadlineTimer: ... + def isLifetimeKnown(self) -> bool: ... + def setDnsEligibility(self, status: 'QNetworkAddressEntry.DnsEligibilityStatus') -> None: ... + def dnsEligibility(self) -> 'QNetworkAddressEntry.DnsEligibilityStatus': ... + def swap(self, other: 'QNetworkAddressEntry') -> None: ... + def setPrefixLength(self, length: int) -> None: ... + def prefixLength(self) -> int: ... + def setBroadcast(self, newBroadcast: typing.Union[QHostAddress, QHostAddress.SpecialAddress]) -> None: ... + def broadcast(self) -> QHostAddress: ... + def setNetmask(self, newNetmask: typing.Union[QHostAddress, QHostAddress.SpecialAddress]) -> None: ... + def netmask(self) -> QHostAddress: ... + def setIp(self, newIp: typing.Union[QHostAddress, QHostAddress.SpecialAddress]) -> None: ... + def ip(self) -> QHostAddress: ... + + +class QNetworkInterface(sip.simplewrapper): + + class InterfaceType(int): + Unknown = ... # type: QNetworkInterface.InterfaceType + Loopback = ... # type: QNetworkInterface.InterfaceType + Virtual = ... # type: QNetworkInterface.InterfaceType + Ethernet = ... # type: QNetworkInterface.InterfaceType + Slip = ... # type: QNetworkInterface.InterfaceType + CanBus = ... # type: QNetworkInterface.InterfaceType + Ppp = ... # type: QNetworkInterface.InterfaceType + Fddi = ... # type: QNetworkInterface.InterfaceType + Wifi = ... # type: QNetworkInterface.InterfaceType + Ieee80211 = ... # type: QNetworkInterface.InterfaceType + Phonet = ... # type: QNetworkInterface.InterfaceType + Ieee802154 = ... # type: QNetworkInterface.InterfaceType + SixLoWPAN = ... # type: QNetworkInterface.InterfaceType + Ieee80216 = ... # type: QNetworkInterface.InterfaceType + Ieee1394 = ... # type: QNetworkInterface.InterfaceType + + class InterfaceFlag(int): + IsUp = ... # type: QNetworkInterface.InterfaceFlag + IsRunning = ... # type: QNetworkInterface.InterfaceFlag + CanBroadcast = ... # type: QNetworkInterface.InterfaceFlag + IsLoopBack = ... # type: QNetworkInterface.InterfaceFlag + IsPointToPoint = ... # type: QNetworkInterface.InterfaceFlag + CanMulticast = ... # type: QNetworkInterface.InterfaceFlag + + class InterfaceFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QNetworkInterface.InterfaceFlags', 'QNetworkInterface.InterfaceFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QNetworkInterface.InterfaceFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QNetworkInterface.InterfaceFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkInterface') -> None: ... + + def maximumTransmissionUnit(self) -> int: ... + def type(self) -> 'QNetworkInterface.InterfaceType': ... + @staticmethod + def interfaceNameFromIndex(index: int) -> str: ... + @staticmethod + def interfaceIndexFromName(name: str) -> int: ... + def swap(self, other: 'QNetworkInterface') -> None: ... + def humanReadableName(self) -> str: ... + def index(self) -> int: ... + @staticmethod + def allAddresses() -> typing.List[QHostAddress]: ... + @staticmethod + def allInterfaces() -> typing.List['QNetworkInterface']: ... + @staticmethod + def interfaceFromIndex(index: int) -> 'QNetworkInterface': ... + @staticmethod + def interfaceFromName(name: str) -> 'QNetworkInterface': ... + def addressEntries(self) -> typing.List[QNetworkAddressEntry]: ... + def hardwareAddress(self) -> str: ... + def flags(self) -> 'QNetworkInterface.InterfaceFlags': ... + def name(self) -> str: ... + def isValid(self) -> bool: ... + + +class QNetworkProxy(sip.simplewrapper): + + class Capability(int): + TunnelingCapability = ... # type: QNetworkProxy.Capability + ListeningCapability = ... # type: QNetworkProxy.Capability + UdpTunnelingCapability = ... # type: QNetworkProxy.Capability + CachingCapability = ... # type: QNetworkProxy.Capability + HostNameLookupCapability = ... # type: QNetworkProxy.Capability + SctpTunnelingCapability = ... # type: QNetworkProxy.Capability + SctpListeningCapability = ... # type: QNetworkProxy.Capability + + class ProxyType(int): + DefaultProxy = ... # type: QNetworkProxy.ProxyType + Socks5Proxy = ... # type: QNetworkProxy.ProxyType + NoProxy = ... # type: QNetworkProxy.ProxyType + HttpProxy = ... # type: QNetworkProxy.ProxyType + HttpCachingProxy = ... # type: QNetworkProxy.ProxyType + FtpCachingProxy = ... # type: QNetworkProxy.ProxyType + + class Capabilities(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QNetworkProxy.Capabilities', 'QNetworkProxy.Capability']) -> None: ... + @typing.overload + def __init__(self, a0: 'QNetworkProxy.Capabilities') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QNetworkProxy.Capabilities': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, type: 'QNetworkProxy.ProxyType', hostName: str = ..., port: int = ..., user: str = ..., password: str = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkProxy') -> None: ... + + def setRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray], value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def rawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> QtCore.QByteArray: ... + def rawHeaderList(self) -> typing.List[QtCore.QByteArray]: ... + def hasRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def setHeader(self, header: 'QNetworkRequest.KnownHeaders', value: typing.Any) -> None: ... + def header(self, header: 'QNetworkRequest.KnownHeaders') -> typing.Any: ... + def swap(self, other: 'QNetworkProxy') -> None: ... + def capabilities(self) -> 'QNetworkProxy.Capabilities': ... + def setCapabilities(self, capab: typing.Union['QNetworkProxy.Capabilities', 'QNetworkProxy.Capability']) -> None: ... + def isTransparentProxy(self) -> bool: ... + def isCachingProxy(self) -> bool: ... + @staticmethod + def applicationProxy() -> 'QNetworkProxy': ... + @staticmethod + def setApplicationProxy(proxy: 'QNetworkProxy') -> None: ... + def port(self) -> int: ... + def setPort(self, port: int) -> None: ... + def hostName(self) -> str: ... + def setHostName(self, hostName: str) -> None: ... + def password(self) -> str: ... + def setPassword(self, password: str) -> None: ... + def user(self) -> str: ... + def setUser(self, userName: str) -> None: ... + def type(self) -> 'QNetworkProxy.ProxyType': ... + def setType(self, type: 'QNetworkProxy.ProxyType') -> None: ... + + +class QNetworkProxyQuery(sip.simplewrapper): + + class QueryType(int): + TcpSocket = ... # type: QNetworkProxyQuery.QueryType + UdpSocket = ... # type: QNetworkProxyQuery.QueryType + TcpServer = ... # type: QNetworkProxyQuery.QueryType + UrlRequest = ... # type: QNetworkProxyQuery.QueryType + SctpSocket = ... # type: QNetworkProxyQuery.QueryType + SctpServer = ... # type: QNetworkProxyQuery.QueryType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, requestUrl: QtCore.QUrl, type: 'QNetworkProxyQuery.QueryType' = ...) -> None: ... + @typing.overload + def __init__(self, hostname: str, port: int, protocolTag: str = ..., type: 'QNetworkProxyQuery.QueryType' = ...) -> None: ... + @typing.overload + def __init__(self, bindPort: int, protocolTag: str = ..., type: 'QNetworkProxyQuery.QueryType' = ...) -> None: ... + @typing.overload + def __init__(self, networkConfiguration: QNetworkConfiguration, requestUrl: QtCore.QUrl, queryType: 'QNetworkProxyQuery.QueryType' = ...) -> None: ... + @typing.overload + def __init__(self, networkConfiguration: QNetworkConfiguration, hostname: str, port: int, protocolTag: str = ..., type: 'QNetworkProxyQuery.QueryType' = ...) -> None: ... + @typing.overload + def __init__(self, networkConfiguration: QNetworkConfiguration, bindPort: int, protocolTag: str = ..., type: 'QNetworkProxyQuery.QueryType' = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkProxyQuery') -> None: ... + + def swap(self, other: 'QNetworkProxyQuery') -> None: ... + def setNetworkConfiguration(self, networkConfiguration: QNetworkConfiguration) -> None: ... + def networkConfiguration(self) -> QNetworkConfiguration: ... + def setUrl(self, url: QtCore.QUrl) -> None: ... + def url(self) -> QtCore.QUrl: ... + def setProtocolTag(self, protocolTag: str) -> None: ... + def protocolTag(self) -> str: ... + def setLocalPort(self, port: int) -> None: ... + def localPort(self) -> int: ... + def setPeerHostName(self, hostname: str) -> None: ... + def peerHostName(self) -> str: ... + def setPeerPort(self, port: int) -> None: ... + def peerPort(self) -> int: ... + def setQueryType(self, type: 'QNetworkProxyQuery.QueryType') -> None: ... + def queryType(self) -> 'QNetworkProxyQuery.QueryType': ... + + +class QNetworkProxyFactory(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QNetworkProxyFactory') -> None: ... + + @staticmethod + def usesSystemConfiguration() -> bool: ... + @staticmethod + def setUseSystemConfiguration(enable: bool) -> None: ... + @staticmethod + def systemProxyForQuery(query: QNetworkProxyQuery = ...) -> typing.List[QNetworkProxy]: ... + @staticmethod + def proxyForQuery(query: QNetworkProxyQuery) -> typing.List[QNetworkProxy]: ... + @staticmethod + def setApplicationProxyFactory(factory: 'QNetworkProxyFactory') -> None: ... + def queryProxy(self, query: QNetworkProxyQuery = ...) -> typing.List[QNetworkProxy]: ... + + +class QNetworkReply(QtCore.QIODevice): + + class NetworkError(int): + NoError = ... # type: QNetworkReply.NetworkError + ConnectionRefusedError = ... # type: QNetworkReply.NetworkError + RemoteHostClosedError = ... # type: QNetworkReply.NetworkError + HostNotFoundError = ... # type: QNetworkReply.NetworkError + TimeoutError = ... # type: QNetworkReply.NetworkError + OperationCanceledError = ... # type: QNetworkReply.NetworkError + SslHandshakeFailedError = ... # type: QNetworkReply.NetworkError + UnknownNetworkError = ... # type: QNetworkReply.NetworkError + ProxyConnectionRefusedError = ... # type: QNetworkReply.NetworkError + ProxyConnectionClosedError = ... # type: QNetworkReply.NetworkError + ProxyNotFoundError = ... # type: QNetworkReply.NetworkError + ProxyTimeoutError = ... # type: QNetworkReply.NetworkError + ProxyAuthenticationRequiredError = ... # type: QNetworkReply.NetworkError + UnknownProxyError = ... # type: QNetworkReply.NetworkError + ContentAccessDenied = ... # type: QNetworkReply.NetworkError + ContentOperationNotPermittedError = ... # type: QNetworkReply.NetworkError + ContentNotFoundError = ... # type: QNetworkReply.NetworkError + AuthenticationRequiredError = ... # type: QNetworkReply.NetworkError + UnknownContentError = ... # type: QNetworkReply.NetworkError + ProtocolUnknownError = ... # type: QNetworkReply.NetworkError + ProtocolInvalidOperationError = ... # type: QNetworkReply.NetworkError + ProtocolFailure = ... # type: QNetworkReply.NetworkError + ContentReSendError = ... # type: QNetworkReply.NetworkError + TemporaryNetworkFailureError = ... # type: QNetworkReply.NetworkError + NetworkSessionFailedError = ... # type: QNetworkReply.NetworkError + BackgroundRequestNotAllowedError = ... # type: QNetworkReply.NetworkError + ContentConflictError = ... # type: QNetworkReply.NetworkError + ContentGoneError = ... # type: QNetworkReply.NetworkError + InternalServerError = ... # type: QNetworkReply.NetworkError + OperationNotImplementedError = ... # type: QNetworkReply.NetworkError + ServiceUnavailableError = ... # type: QNetworkReply.NetworkError + UnknownServerError = ... # type: QNetworkReply.NetworkError + TooManyRedirectsError = ... # type: QNetworkReply.NetworkError + InsecureRedirectError = ... # type: QNetworkReply.NetworkError + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def ignoreSslErrorsImplementation(self, a0: typing.Iterable['QSslError']) -> None: ... + def setSslConfigurationImplementation(self, a0: 'QSslConfiguration') -> None: ... + def sslConfigurationImplementation(self, a0: 'QSslConfiguration') -> None: ... + def rawHeaderPairs(self) -> typing.List[typing.Tuple[QtCore.QByteArray, QtCore.QByteArray]]: ... + def isRunning(self) -> bool: ... + def isFinished(self) -> bool: ... + def setFinished(self, finished: bool) -> None: ... + def setAttribute(self, code: 'QNetworkRequest.Attribute', value: typing.Any) -> None: ... + def setRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray], value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def setHeader(self, header: 'QNetworkRequest.KnownHeaders', value: typing.Any) -> None: ... + def setUrl(self, url: QtCore.QUrl) -> None: ... + def setError(self, errorCode: 'QNetworkReply.NetworkError', errorString: str) -> None: ... + def setRequest(self, request: 'QNetworkRequest') -> None: ... + def setOperation(self, operation: QNetworkAccessManager.Operation) -> None: ... + def writeData(self, data: bytes) -> int: ... + def redirectAllowed(self) -> None: ... + def redirected(self, url: QtCore.QUrl) -> None: ... + def preSharedKeyAuthenticationRequired(self, authenticator: 'QSslPreSharedKeyAuthenticator') -> None: ... + def downloadProgress(self, bytesReceived: int, bytesTotal: int) -> None: ... + def uploadProgress(self, bytesSent: int, bytesTotal: int) -> None: ... + def sslErrors(self, errors: typing.Iterable['QSslError']) -> None: ... + def errorOccurred(self, a0: 'QNetworkReply.NetworkError') -> None: ... + def encrypted(self) -> None: ... + def finished(self) -> None: ... + def metaDataChanged(self) -> None: ... + @typing.overload + def ignoreSslErrors(self) -> None: ... + @typing.overload + def ignoreSslErrors(self, errors: typing.Iterable['QSslError']) -> None: ... + def setSslConfiguration(self, configuration: 'QSslConfiguration') -> None: ... + def sslConfiguration(self) -> 'QSslConfiguration': ... + def attribute(self, code: 'QNetworkRequest.Attribute') -> typing.Any: ... + def rawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> QtCore.QByteArray: ... + def rawHeaderList(self) -> typing.List[QtCore.QByteArray]: ... + def hasRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def header(self, header: 'QNetworkRequest.KnownHeaders') -> typing.Any: ... + def url(self) -> QtCore.QUrl: ... + @typing.overload + def error(self) -> 'QNetworkReply.NetworkError': ... + @typing.overload + def error(self, a0: 'QNetworkReply.NetworkError') -> None: ... + def request(self) -> 'QNetworkRequest': ... + def operation(self) -> QNetworkAccessManager.Operation: ... + def manager(self) -> QNetworkAccessManager: ... + def setReadBufferSize(self, size: int) -> None: ... + def readBufferSize(self) -> int: ... + def isSequential(self) -> bool: ... + def close(self) -> None: ... + def abort(self) -> None: ... + + +class QNetworkRequest(sip.simplewrapper): + + class TransferTimeoutConstant(int): + DefaultTransferTimeoutConstant = ... # type: QNetworkRequest.TransferTimeoutConstant + + class RedirectPolicy(int): + ManualRedirectPolicy = ... # type: QNetworkRequest.RedirectPolicy + NoLessSafeRedirectPolicy = ... # type: QNetworkRequest.RedirectPolicy + SameOriginRedirectPolicy = ... # type: QNetworkRequest.RedirectPolicy + UserVerifiedRedirectPolicy = ... # type: QNetworkRequest.RedirectPolicy + + class Priority(int): + HighPriority = ... # type: QNetworkRequest.Priority + NormalPriority = ... # type: QNetworkRequest.Priority + LowPriority = ... # type: QNetworkRequest.Priority + + class LoadControl(int): + Automatic = ... # type: QNetworkRequest.LoadControl + Manual = ... # type: QNetworkRequest.LoadControl + + class CacheLoadControl(int): + AlwaysNetwork = ... # type: QNetworkRequest.CacheLoadControl + PreferNetwork = ... # type: QNetworkRequest.CacheLoadControl + PreferCache = ... # type: QNetworkRequest.CacheLoadControl + AlwaysCache = ... # type: QNetworkRequest.CacheLoadControl + + class Attribute(int): + HttpStatusCodeAttribute = ... # type: QNetworkRequest.Attribute + HttpReasonPhraseAttribute = ... # type: QNetworkRequest.Attribute + RedirectionTargetAttribute = ... # type: QNetworkRequest.Attribute + ConnectionEncryptedAttribute = ... # type: QNetworkRequest.Attribute + CacheLoadControlAttribute = ... # type: QNetworkRequest.Attribute + CacheSaveControlAttribute = ... # type: QNetworkRequest.Attribute + SourceIsFromCacheAttribute = ... # type: QNetworkRequest.Attribute + DoNotBufferUploadDataAttribute = ... # type: QNetworkRequest.Attribute + HttpPipeliningAllowedAttribute = ... # type: QNetworkRequest.Attribute + HttpPipeliningWasUsedAttribute = ... # type: QNetworkRequest.Attribute + CustomVerbAttribute = ... # type: QNetworkRequest.Attribute + CookieLoadControlAttribute = ... # type: QNetworkRequest.Attribute + AuthenticationReuseAttribute = ... # type: QNetworkRequest.Attribute + CookieSaveControlAttribute = ... # type: QNetworkRequest.Attribute + BackgroundRequestAttribute = ... # type: QNetworkRequest.Attribute + SpdyAllowedAttribute = ... # type: QNetworkRequest.Attribute + SpdyWasUsedAttribute = ... # type: QNetworkRequest.Attribute + EmitAllUploadProgressSignalsAttribute = ... # type: QNetworkRequest.Attribute + FollowRedirectsAttribute = ... # type: QNetworkRequest.Attribute + HTTP2AllowedAttribute = ... # type: QNetworkRequest.Attribute + Http2AllowedAttribute = ... # type: QNetworkRequest.Attribute + HTTP2WasUsedAttribute = ... # type: QNetworkRequest.Attribute + Http2WasUsedAttribute = ... # type: QNetworkRequest.Attribute + OriginalContentLengthAttribute = ... # type: QNetworkRequest.Attribute + RedirectPolicyAttribute = ... # type: QNetworkRequest.Attribute + Http2DirectAttribute = ... # type: QNetworkRequest.Attribute + AutoDeleteReplyOnFinishAttribute = ... # type: QNetworkRequest.Attribute + User = ... # type: QNetworkRequest.Attribute + UserMax = ... # type: QNetworkRequest.Attribute + + class KnownHeaders(int): + ContentTypeHeader = ... # type: QNetworkRequest.KnownHeaders + ContentLengthHeader = ... # type: QNetworkRequest.KnownHeaders + LocationHeader = ... # type: QNetworkRequest.KnownHeaders + LastModifiedHeader = ... # type: QNetworkRequest.KnownHeaders + CookieHeader = ... # type: QNetworkRequest.KnownHeaders + SetCookieHeader = ... # type: QNetworkRequest.KnownHeaders + ContentDispositionHeader = ... # type: QNetworkRequest.KnownHeaders + UserAgentHeader = ... # type: QNetworkRequest.KnownHeaders + ServerHeader = ... # type: QNetworkRequest.KnownHeaders + IfModifiedSinceHeader = ... # type: QNetworkRequest.KnownHeaders + ETagHeader = ... # type: QNetworkRequest.KnownHeaders + IfMatchHeader = ... # type: QNetworkRequest.KnownHeaders + IfNoneMatchHeader = ... # type: QNetworkRequest.KnownHeaders + + @typing.overload + def __init__(self, url: QtCore.QUrl = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QNetworkRequest') -> None: ... + + def setTransferTimeout(self, timeout: int = ...) -> None: ... + def transferTimeout(self) -> int: ... + def setHttp2Configuration(self, configuration: QHttp2Configuration) -> None: ... + def http2Configuration(self) -> QHttp2Configuration: ... + def setPeerVerifyName(self, peerName: str) -> None: ... + def peerVerifyName(self) -> str: ... + def setMaximumRedirectsAllowed(self, maximumRedirectsAllowed: int) -> None: ... + def maximumRedirectsAllowed(self) -> int: ... + def swap(self, other: 'QNetworkRequest') -> None: ... + def setPriority(self, priority: 'QNetworkRequest.Priority') -> None: ... + def priority(self) -> 'QNetworkRequest.Priority': ... + def originatingObject(self) -> QtCore.QObject: ... + def setOriginatingObject(self, object: QtCore.QObject) -> None: ... + def setSslConfiguration(self, configuration: 'QSslConfiguration') -> None: ... + def sslConfiguration(self) -> 'QSslConfiguration': ... + def setAttribute(self, code: 'QNetworkRequest.Attribute', value: typing.Any) -> None: ... + def attribute(self, code: 'QNetworkRequest.Attribute', defaultValue: typing.Any = ...) -> typing.Any: ... + def setRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray], value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def rawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> QtCore.QByteArray: ... + def rawHeaderList(self) -> typing.List[QtCore.QByteArray]: ... + def hasRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def setHeader(self, header: 'QNetworkRequest.KnownHeaders', value: typing.Any) -> None: ... + def header(self, header: 'QNetworkRequest.KnownHeaders') -> typing.Any: ... + def setUrl(self, url: QtCore.QUrl) -> None: ... + def url(self) -> QtCore.QUrl: ... + + +class QNetworkSession(QtCore.QObject): + + class UsagePolicy(int): + NoPolicy = ... # type: QNetworkSession.UsagePolicy + NoBackgroundTrafficPolicy = ... # type: QNetworkSession.UsagePolicy + + class SessionError(int): + UnknownSessionError = ... # type: QNetworkSession.SessionError + SessionAbortedError = ... # type: QNetworkSession.SessionError + RoamingError = ... # type: QNetworkSession.SessionError + OperationNotSupportedError = ... # type: QNetworkSession.SessionError + InvalidConfigurationError = ... # type: QNetworkSession.SessionError + + class State(int): + Invalid = ... # type: QNetworkSession.State + NotAvailable = ... # type: QNetworkSession.State + Connecting = ... # type: QNetworkSession.State + Connected = ... # type: QNetworkSession.State + Closing = ... # type: QNetworkSession.State + Disconnected = ... # type: QNetworkSession.State + Roaming = ... # type: QNetworkSession.State + + class UsagePolicies(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QNetworkSession.UsagePolicies', 'QNetworkSession.UsagePolicy']) -> None: ... + @typing.overload + def __init__(self, a0: 'QNetworkSession.UsagePolicies') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QNetworkSession.UsagePolicies': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, connConfig: QNetworkConfiguration, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def usagePoliciesChanged(self, usagePolicies: typing.Union['QNetworkSession.UsagePolicies', 'QNetworkSession.UsagePolicy']) -> None: ... + def usagePolicies(self) -> 'QNetworkSession.UsagePolicies': ... + def disconnectNotify(self, signal: QtCore.QMetaMethod) -> None: ... + def connectNotify(self, signal: QtCore.QMetaMethod) -> None: ... + def newConfigurationActivated(self) -> None: ... + def preferredConfigurationChanged(self, config: QNetworkConfiguration, isSeamless: bool) -> None: ... + def closed(self) -> None: ... + def opened(self) -> None: ... + def stateChanged(self, a0: 'QNetworkSession.State') -> None: ... + def reject(self) -> None: ... + def accept(self) -> None: ... + def ignore(self) -> None: ... + def migrate(self) -> None: ... + def stop(self) -> None: ... + def close(self) -> None: ... + def open(self) -> None: ... + def waitForOpened(self, msecs: int = ...) -> bool: ... + def activeTime(self) -> int: ... + def bytesReceived(self) -> int: ... + def bytesWritten(self) -> int: ... + def setSessionProperty(self, key: str, value: typing.Any) -> None: ... + def sessionProperty(self, key: str) -> typing.Any: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> 'QNetworkSession.SessionError': ... + @typing.overload + def error(self, a0: 'QNetworkSession.SessionError') -> None: ... + def state(self) -> 'QNetworkSession.State': ... + def interface(self) -> QNetworkInterface: ... + def configuration(self) -> QNetworkConfiguration: ... + def isOpen(self) -> bool: ... + + +class QOcspResponse(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QOcspResponse') -> None: ... + + def __hash__(self) -> int: ... + def swap(self, other: 'QOcspResponse') -> None: ... + def subject(self) -> 'QSslCertificate': ... + def responder(self) -> 'QSslCertificate': ... + def revocationReason(self) -> QOcspRevocationReason: ... + def certificateStatus(self) -> QOcspCertificateStatus: ... + + +class QPasswordDigestor(PyQt5.sip.simplewrapper): + + def deriveKeyPbkdf2(self, algorithm: QtCore.QCryptographicHash.Algorithm, password: typing.Union[QtCore.QByteArray, bytes, bytearray], salt: typing.Union[QtCore.QByteArray, bytes, bytearray], iterations: int, dkLen: int) -> QtCore.QByteArray: ... + def deriveKeyPbkdf1(self, algorithm: QtCore.QCryptographicHash.Algorithm, password: typing.Union[QtCore.QByteArray, bytes, bytearray], salt: typing.Union[QtCore.QByteArray, bytes, bytearray], iterations: int, dkLen: int) -> QtCore.QByteArray: ... + + +class QSsl(PyQt5.sip.simplewrapper): + + class SslOption(int): + SslOptionDisableEmptyFragments = ... # type: QSsl.SslOption + SslOptionDisableSessionTickets = ... # type: QSsl.SslOption + SslOptionDisableCompression = ... # type: QSsl.SslOption + SslOptionDisableServerNameIndication = ... # type: QSsl.SslOption + SslOptionDisableLegacyRenegotiation = ... # type: QSsl.SslOption + SslOptionDisableSessionSharing = ... # type: QSsl.SslOption + SslOptionDisableSessionPersistence = ... # type: QSsl.SslOption + SslOptionDisableServerCipherPreference = ... # type: QSsl.SslOption + + class SslProtocol(int): + UnknownProtocol = ... # type: QSsl.SslProtocol + SslV3 = ... # type: QSsl.SslProtocol + SslV2 = ... # type: QSsl.SslProtocol + TlsV1_0 = ... # type: QSsl.SslProtocol + TlsV1_0OrLater = ... # type: QSsl.SslProtocol + TlsV1_1 = ... # type: QSsl.SslProtocol + TlsV1_1OrLater = ... # type: QSsl.SslProtocol + TlsV1_2 = ... # type: QSsl.SslProtocol + TlsV1_2OrLater = ... # type: QSsl.SslProtocol + AnyProtocol = ... # type: QSsl.SslProtocol + TlsV1SslV3 = ... # type: QSsl.SslProtocol + SecureProtocols = ... # type: QSsl.SslProtocol + DtlsV1_0 = ... # type: QSsl.SslProtocol + DtlsV1_0OrLater = ... # type: QSsl.SslProtocol + DtlsV1_2 = ... # type: QSsl.SslProtocol + DtlsV1_2OrLater = ... # type: QSsl.SslProtocol + TlsV1_3 = ... # type: QSsl.SslProtocol + TlsV1_3OrLater = ... # type: QSsl.SslProtocol + + class AlternativeNameEntryType(int): + EmailEntry = ... # type: QSsl.AlternativeNameEntryType + DnsEntry = ... # type: QSsl.AlternativeNameEntryType + IpAddressEntry = ... # type: QSsl.AlternativeNameEntryType + + class KeyAlgorithm(int): + Opaque = ... # type: QSsl.KeyAlgorithm + Rsa = ... # type: QSsl.KeyAlgorithm + Dsa = ... # type: QSsl.KeyAlgorithm + Ec = ... # type: QSsl.KeyAlgorithm + Dh = ... # type: QSsl.KeyAlgorithm + + class EncodingFormat(int): + Pem = ... # type: QSsl.EncodingFormat + Der = ... # type: QSsl.EncodingFormat + + class KeyType(int): + PrivateKey = ... # type: QSsl.KeyType + PublicKey = ... # type: QSsl.KeyType + + class SslOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSsl.SslOptions', 'QSsl.SslOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSsl.SslOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSsl.SslOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + +class QSslCertificate(sip.simplewrapper): + + class PatternSyntax(int): + RegularExpression = ... # type: QSslCertificate.PatternSyntax + Wildcard = ... # type: QSslCertificate.PatternSyntax + FixedString = ... # type: QSslCertificate.PatternSyntax + + class SubjectInfo(int): + Organization = ... # type: QSslCertificate.SubjectInfo + CommonName = ... # type: QSslCertificate.SubjectInfo + LocalityName = ... # type: QSslCertificate.SubjectInfo + OrganizationalUnitName = ... # type: QSslCertificate.SubjectInfo + CountryName = ... # type: QSslCertificate.SubjectInfo + StateOrProvinceName = ... # type: QSslCertificate.SubjectInfo + DistinguishedNameQualifier = ... # type: QSslCertificate.SubjectInfo + SerialNumber = ... # type: QSslCertificate.SubjectInfo + EmailAddress = ... # type: QSslCertificate.SubjectInfo + + @typing.overload + def __init__(self, device: QtCore.QIODevice, format: QSsl.EncodingFormat = ...) -> None: ... + @typing.overload + def __init__(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray] = ..., format: QSsl.EncodingFormat = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QSslCertificate') -> None: ... + + def subjectDisplayName(self) -> str: ... + def issuerDisplayName(self) -> str: ... + @staticmethod + def importPkcs12(device: QtCore.QIODevice, key: 'QSslKey', certificate: 'QSslCertificate', caCertificates: typing.Optional[typing.Iterable['QSslCertificate']] = ..., passPhrase: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> bool: ... + def __hash__(self) -> int: ... + def isSelfSigned(self) -> bool: ... + @staticmethod + def verify(certificateChain: typing.Iterable['QSslCertificate'], hostName: str = ...) -> typing.List['QSslError']: ... + def toText(self) -> str: ... + def extensions(self) -> typing.List['QSslCertificateExtension']: ... + def issuerInfoAttributes(self) -> typing.List[QtCore.QByteArray]: ... + def subjectInfoAttributes(self) -> typing.List[QtCore.QByteArray]: ... + def isBlacklisted(self) -> bool: ... + def swap(self, other: 'QSslCertificate') -> None: ... + def handle(self) -> PyQt5.sip.voidptr: ... + @staticmethod + def fromData(data: typing.Union[QtCore.QByteArray, bytes, bytearray], format: QSsl.EncodingFormat = ...) -> typing.List['QSslCertificate']: ... + @staticmethod + def fromDevice(device: QtCore.QIODevice, format: QSsl.EncodingFormat = ...) -> typing.List['QSslCertificate']: ... + @staticmethod + def fromPath(path: str, format: QSsl.EncodingFormat = ..., syntax: QtCore.QRegExp.PatternSyntax = ...) -> typing.List['QSslCertificate']: ... + def toDer(self) -> QtCore.QByteArray: ... + def toPem(self) -> QtCore.QByteArray: ... + def publicKey(self) -> 'QSslKey': ... + def expiryDate(self) -> QtCore.QDateTime: ... + def effectiveDate(self) -> QtCore.QDateTime: ... + def subjectAlternativeNames(self) -> typing.Dict[QSsl.AlternativeNameEntryType, typing.List[str]]: ... + @typing.overload + def subjectInfo(self, info: 'QSslCertificate.SubjectInfo') -> typing.List[str]: ... + @typing.overload + def subjectInfo(self, attribute: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> typing.List[str]: ... + @typing.overload + def issuerInfo(self, info: 'QSslCertificate.SubjectInfo') -> typing.List[str]: ... + @typing.overload + def issuerInfo(self, attribute: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> typing.List[str]: ... + def digest(self, algorithm: QtCore.QCryptographicHash.Algorithm = ...) -> QtCore.QByteArray: ... + def serialNumber(self) -> QtCore.QByteArray: ... + def version(self) -> QtCore.QByteArray: ... + def clear(self) -> None: ... + def isNull(self) -> bool: ... + + +class QSslCertificateExtension(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QSslCertificateExtension') -> None: ... + + def isSupported(self) -> bool: ... + def isCritical(self) -> bool: ... + def value(self) -> typing.Any: ... + def name(self) -> str: ... + def oid(self) -> str: ... + def swap(self, other: 'QSslCertificateExtension') -> None: ... + + +class QSslCipher(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, name: str, protocol: QSsl.SslProtocol) -> None: ... + @typing.overload + def __init__(self, other: 'QSslCipher') -> None: ... + + def swap(self, other: 'QSslCipher') -> None: ... + def protocol(self) -> QSsl.SslProtocol: ... + def protocolString(self) -> str: ... + def encryptionMethod(self) -> str: ... + def authenticationMethod(self) -> str: ... + def keyExchangeMethod(self) -> str: ... + def usedBits(self) -> int: ... + def supportedBits(self) -> int: ... + def name(self) -> str: ... + def isNull(self) -> bool: ... + + +class QSslConfiguration(sip.simplewrapper): + + class NextProtocolNegotiationStatus(int): + NextProtocolNegotiationNone = ... # type: QSslConfiguration.NextProtocolNegotiationStatus + NextProtocolNegotiationNegotiated = ... # type: QSslConfiguration.NextProtocolNegotiationStatus + NextProtocolNegotiationUnsupported = ... # type: QSslConfiguration.NextProtocolNegotiationStatus + + NextProtocolHttp1_1 = ... # type: bytes + NextProtocolSpdy3_0 = ... # type: bytes + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QSslConfiguration') -> None: ... + + @typing.overload + def addCaCertificates(self, path: str, format: QSsl.EncodingFormat = ..., syntax: QSslCertificate.PatternSyntax = ...) -> bool: ... + @typing.overload + def addCaCertificates(self, certificates: typing.Iterable[QSslCertificate]) -> None: ... + def addCaCertificate(self, certificate: QSslCertificate) -> None: ... + def ocspStaplingEnabled(self) -> bool: ... + def setOcspStaplingEnabled(self, enable: bool) -> None: ... + def setBackendConfiguration(self, backendConfiguration: typing.Dict[typing.Union[QtCore.QByteArray, bytes, bytearray], typing.Any] = ...) -> None: ... + def setBackendConfigurationOption(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray], value: typing.Any) -> None: ... + def backendConfiguration(self) -> typing.Dict[QtCore.QByteArray, typing.Any]: ... + def setDiffieHellmanParameters(self, dhparams: 'QSslDiffieHellmanParameters') -> None: ... + def diffieHellmanParameters(self) -> 'QSslDiffieHellmanParameters': ... + def setPreSharedKeyIdentityHint(self, hint: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def preSharedKeyIdentityHint(self) -> QtCore.QByteArray: ... + def ephemeralServerKey(self) -> 'QSslKey': ... + @staticmethod + def supportedEllipticCurves() -> typing.List['QSslEllipticCurve']: ... + def setEllipticCurves(self, curves: typing.Iterable['QSslEllipticCurve']) -> None: ... + def ellipticCurves(self) -> typing.List['QSslEllipticCurve']: ... + @staticmethod + def systemCaCertificates() -> typing.List[QSslCertificate]: ... + @staticmethod + def supportedCiphers() -> typing.List[QSslCipher]: ... + def sessionProtocol(self) -> QSsl.SslProtocol: ... + def nextProtocolNegotiationStatus(self) -> 'QSslConfiguration.NextProtocolNegotiationStatus': ... + def nextNegotiatedProtocol(self) -> QtCore.QByteArray: ... + def allowedNextProtocols(self) -> typing.List[QtCore.QByteArray]: ... + def setAllowedNextProtocols(self, protocols: typing.Iterable[typing.Union[QtCore.QByteArray, bytes, bytearray]]) -> None: ... + def sessionTicketLifeTimeHint(self) -> int: ... + def setSessionTicket(self, sessionTicket: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def sessionTicket(self) -> QtCore.QByteArray: ... + def setLocalCertificateChain(self, localChain: typing.Iterable[QSslCertificate]) -> None: ... + def localCertificateChain(self) -> typing.List[QSslCertificate]: ... + def swap(self, other: 'QSslConfiguration') -> None: ... + def testSslOption(self, option: QSsl.SslOption) -> bool: ... + def setSslOption(self, option: QSsl.SslOption, on: bool) -> None: ... + @staticmethod + def setDefaultConfiguration(configuration: 'QSslConfiguration') -> None: ... + @staticmethod + def defaultConfiguration() -> 'QSslConfiguration': ... + def setCaCertificates(self, certificates: typing.Iterable[QSslCertificate]) -> None: ... + def caCertificates(self) -> typing.List[QSslCertificate]: ... + def setCiphers(self, ciphers: typing.Iterable[QSslCipher]) -> None: ... + def ciphers(self) -> typing.List[QSslCipher]: ... + def setPrivateKey(self, key: 'QSslKey') -> None: ... + def privateKey(self) -> 'QSslKey': ... + def sessionCipher(self) -> QSslCipher: ... + def peerCertificateChain(self) -> typing.List[QSslCertificate]: ... + def peerCertificate(self) -> QSslCertificate: ... + def setLocalCertificate(self, certificate: QSslCertificate) -> None: ... + def localCertificate(self) -> QSslCertificate: ... + def setPeerVerifyDepth(self, depth: int) -> None: ... + def peerVerifyDepth(self) -> int: ... + def setPeerVerifyMode(self, mode: 'QSslSocket.PeerVerifyMode') -> None: ... + def peerVerifyMode(self) -> 'QSslSocket.PeerVerifyMode': ... + def setProtocol(self, protocol: QSsl.SslProtocol) -> None: ... + def protocol(self) -> QSsl.SslProtocol: ... + def isNull(self) -> bool: ... + + +class QSslDiffieHellmanParameters(sip.simplewrapper): + + class Error(int): + NoError = ... # type: QSslDiffieHellmanParameters.Error + InvalidInputDataError = ... # type: QSslDiffieHellmanParameters.Error + UnsafeParametersError = ... # type: QSslDiffieHellmanParameters.Error + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QSslDiffieHellmanParameters') -> None: ... + + def __hash__(self) -> int: ... + def errorString(self) -> str: ... + def error(self) -> 'QSslDiffieHellmanParameters.Error': ... + def isValid(self) -> bool: ... + def isEmpty(self) -> bool: ... + @typing.overload + @staticmethod + def fromEncoded(encoded: typing.Union[QtCore.QByteArray, bytes, bytearray], encoding: QSsl.EncodingFormat = ...) -> 'QSslDiffieHellmanParameters': ... + @typing.overload + @staticmethod + def fromEncoded(device: QtCore.QIODevice, encoding: QSsl.EncodingFormat = ...) -> 'QSslDiffieHellmanParameters': ... + @staticmethod + def defaultParameters() -> 'QSslDiffieHellmanParameters': ... + def swap(self, other: 'QSslDiffieHellmanParameters') -> None: ... + + +class QSslEllipticCurve(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSslEllipticCurve') -> None: ... + + def __hash__(self) -> int: ... + def isTlsNamedCurve(self) -> bool: ... + def isValid(self) -> bool: ... + def longName(self) -> str: ... + def shortName(self) -> str: ... + @staticmethod + def fromLongName(name: str) -> 'QSslEllipticCurve': ... + @staticmethod + def fromShortName(name: str) -> 'QSslEllipticCurve': ... + + +class QSslError(sip.simplewrapper): + + class SslError(int): + UnspecifiedError = ... # type: QSslError.SslError + NoError = ... # type: QSslError.SslError + UnableToGetIssuerCertificate = ... # type: QSslError.SslError + UnableToDecryptCertificateSignature = ... # type: QSslError.SslError + UnableToDecodeIssuerPublicKey = ... # type: QSslError.SslError + CertificateSignatureFailed = ... # type: QSslError.SslError + CertificateNotYetValid = ... # type: QSslError.SslError + CertificateExpired = ... # type: QSslError.SslError + InvalidNotBeforeField = ... # type: QSslError.SslError + InvalidNotAfterField = ... # type: QSslError.SslError + SelfSignedCertificate = ... # type: QSslError.SslError + SelfSignedCertificateInChain = ... # type: QSslError.SslError + UnableToGetLocalIssuerCertificate = ... # type: QSslError.SslError + UnableToVerifyFirstCertificate = ... # type: QSslError.SslError + CertificateRevoked = ... # type: QSslError.SslError + InvalidCaCertificate = ... # type: QSslError.SslError + PathLengthExceeded = ... # type: QSslError.SslError + InvalidPurpose = ... # type: QSslError.SslError + CertificateUntrusted = ... # type: QSslError.SslError + CertificateRejected = ... # type: QSslError.SslError + SubjectIssuerMismatch = ... # type: QSslError.SslError + AuthorityIssuerSerialNumberMismatch = ... # type: QSslError.SslError + NoPeerCertificate = ... # type: QSslError.SslError + HostNameMismatch = ... # type: QSslError.SslError + NoSslSupport = ... # type: QSslError.SslError + CertificateBlacklisted = ... # type: QSslError.SslError + CertificateStatusUnknown = ... # type: QSslError.SslError + OcspNoResponseFound = ... # type: QSslError.SslError + OcspMalformedRequest = ... # type: QSslError.SslError + OcspMalformedResponse = ... # type: QSslError.SslError + OcspInternalError = ... # type: QSslError.SslError + OcspTryLater = ... # type: QSslError.SslError + OcspSigRequred = ... # type: QSslError.SslError + OcspUnauthorized = ... # type: QSslError.SslError + OcspResponseCannotBeTrusted = ... # type: QSslError.SslError + OcspResponseCertIdUnknown = ... # type: QSslError.SslError + OcspResponseExpired = ... # type: QSslError.SslError + OcspStatusUnknown = ... # type: QSslError.SslError + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, error: 'QSslError.SslError') -> None: ... + @typing.overload + def __init__(self, error: 'QSslError.SslError', certificate: QSslCertificate) -> None: ... + @typing.overload + def __init__(self, other: 'QSslError') -> None: ... + + def __hash__(self) -> int: ... + def swap(self, other: 'QSslError') -> None: ... + def certificate(self) -> QSslCertificate: ... + def errorString(self) -> str: ... + def error(self) -> 'QSslError.SslError': ... + + +class QSslKey(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, encoded: typing.Union[QtCore.QByteArray, bytes, bytearray], algorithm: QSsl.KeyAlgorithm, encoding: QSsl.EncodingFormat = ..., type: QSsl.KeyType = ..., passPhrase: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + @typing.overload + def __init__(self, device: QtCore.QIODevice, algorithm: QSsl.KeyAlgorithm, encoding: QSsl.EncodingFormat = ..., type: QSsl.KeyType = ..., passPhrase: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + @typing.overload + def __init__(self, handle: PyQt5.sip.voidptr, type: QSsl.KeyType = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QSslKey') -> None: ... + + def swap(self, other: 'QSslKey') -> None: ... + def handle(self) -> PyQt5.sip.voidptr: ... + def toDer(self, passPhrase: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> QtCore.QByteArray: ... + def toPem(self, passPhrase: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> QtCore.QByteArray: ... + def algorithm(self) -> QSsl.KeyAlgorithm: ... + def type(self) -> QSsl.KeyType: ... + def length(self) -> int: ... + def clear(self) -> None: ... + def isNull(self) -> bool: ... + + +class QSslPreSharedKeyAuthenticator(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, authenticator: 'QSslPreSharedKeyAuthenticator') -> None: ... + + def maximumPreSharedKeyLength(self) -> int: ... + def preSharedKey(self) -> QtCore.QByteArray: ... + def setPreSharedKey(self, preSharedKey: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def maximumIdentityLength(self) -> int: ... + def identity(self) -> QtCore.QByteArray: ... + def setIdentity(self, identity: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def identityHint(self) -> QtCore.QByteArray: ... + def swap(self, authenticator: 'QSslPreSharedKeyAuthenticator') -> None: ... + + +class QTcpSocket(QAbstractSocket): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + +class QSslSocket(QTcpSocket): + + class PeerVerifyMode(int): + VerifyNone = ... # type: QSslSocket.PeerVerifyMode + QueryPeer = ... # type: QSslSocket.PeerVerifyMode + VerifyPeer = ... # type: QSslSocket.PeerVerifyMode + AutoVerifyPeer = ... # type: QSslSocket.PeerVerifyMode + + class SslMode(int): + UnencryptedMode = ... # type: QSslSocket.SslMode + SslClientMode = ... # type: QSslSocket.SslMode + SslServerMode = ... # type: QSslSocket.SslMode + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def newSessionTicketReceived(self) -> None: ... + def sslHandshakeErrors(self) -> typing.List[QSslError]: ... + def ocspResponses(self) -> typing.List[QOcspResponse]: ... + @staticmethod + def sslLibraryBuildVersionString() -> str: ... + @staticmethod + def sslLibraryBuildVersionNumber() -> int: ... + def sessionProtocol(self) -> QSsl.SslProtocol: ... + def localCertificateChain(self) -> typing.List[QSslCertificate]: ... + def setLocalCertificateChain(self, localChain: typing.Iterable[QSslCertificate]) -> None: ... + @staticmethod + def sslLibraryVersionString() -> str: ... + @staticmethod + def sslLibraryVersionNumber() -> int: ... + def disconnectFromHost(self) -> None: ... + def connectToHost(self, hostName: str, port: int, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ..., protocol: QAbstractSocket.NetworkLayerProtocol = ...) -> None: ... + def resume(self) -> None: ... + def setPeerVerifyName(self, hostName: str) -> None: ... + def peerVerifyName(self) -> str: ... + def socketOption(self, option: QAbstractSocket.SocketOption) -> typing.Any: ... + def setSocketOption(self, option: QAbstractSocket.SocketOption, value: typing.Any) -> None: ... + def encryptedBytesWritten(self, totalBytes: int) -> None: ... + def peerVerifyError(self, error: QSslError) -> None: ... + def setSslConfiguration(self, config: QSslConfiguration) -> None: ... + def sslConfiguration(self) -> QSslConfiguration: ... + def encryptedBytesToWrite(self) -> int: ... + def encryptedBytesAvailable(self) -> int: ... + def setReadBufferSize(self, size: int) -> None: ... + def setPeerVerifyDepth(self, depth: int) -> None: ... + def peerVerifyDepth(self) -> int: ... + def setPeerVerifyMode(self, mode: 'QSslSocket.PeerVerifyMode') -> None: ... + def peerVerifyMode(self) -> 'QSslSocket.PeerVerifyMode': ... + def writeData(self, data: bytes) -> int: ... + def readData(self, maxlen: int) -> bytes: ... + def preSharedKeyAuthenticationRequired(self, authenticator: QSslPreSharedKeyAuthenticator) -> None: ... + def modeChanged(self, newMode: 'QSslSocket.SslMode') -> None: ... + def encrypted(self) -> None: ... + @typing.overload + def ignoreSslErrors(self) -> None: ... + @typing.overload + def ignoreSslErrors(self, errors: typing.Iterable[QSslError]) -> None: ... + def startServerEncryption(self) -> None: ... + def startClientEncryption(self) -> None: ... + @staticmethod + def supportsSsl() -> bool: ... + @typing.overload + def sslErrors(self) -> typing.List[QSslError]: ... + @typing.overload + def sslErrors(self, errors: typing.Iterable[QSslError]) -> None: ... + def waitForDisconnected(self, msecs: int = ...) -> bool: ... + def waitForBytesWritten(self, msecs: int = ...) -> bool: ... + def waitForReadyRead(self, msecs: int = ...) -> bool: ... + def waitForEncrypted(self, msecs: int = ...) -> bool: ... + def waitForConnected(self, msecs: int = ...) -> bool: ... + @staticmethod + def systemCaCertificates() -> typing.List[QSslCertificate]: ... + @staticmethod + def defaultCaCertificates() -> typing.List[QSslCertificate]: ... + @staticmethod + def setDefaultCaCertificates(certificates: typing.Iterable[QSslCertificate]) -> None: ... + @staticmethod + def addDefaultCaCertificate(certificate: QSslCertificate) -> None: ... + @typing.overload + @staticmethod + def addDefaultCaCertificates(path: str, format: QSsl.EncodingFormat = ..., syntax: QtCore.QRegExp.PatternSyntax = ...) -> bool: ... + @typing.overload + @staticmethod + def addDefaultCaCertificates(certificates: typing.Iterable[QSslCertificate]) -> None: ... + def caCertificates(self) -> typing.List[QSslCertificate]: ... + def setCaCertificates(self, certificates: typing.Iterable[QSslCertificate]) -> None: ... + def addCaCertificate(self, certificate: QSslCertificate) -> None: ... + @typing.overload + def addCaCertificates(self, path: str, format: QSsl.EncodingFormat = ..., syntax: QtCore.QRegExp.PatternSyntax = ...) -> bool: ... + @typing.overload + def addCaCertificates(self, certificates: typing.Iterable[QSslCertificate]) -> None: ... + @staticmethod + def supportedCiphers() -> typing.List[QSslCipher]: ... + @staticmethod + def defaultCiphers() -> typing.List[QSslCipher]: ... + @staticmethod + def setDefaultCiphers(ciphers: typing.Iterable[QSslCipher]) -> None: ... + @typing.overload + def setCiphers(self, ciphers: typing.Iterable[QSslCipher]) -> None: ... + @typing.overload + def setCiphers(self, ciphers: str) -> None: ... + def ciphers(self) -> typing.List[QSslCipher]: ... + def privateKey(self) -> QSslKey: ... + @typing.overload + def setPrivateKey(self, key: QSslKey) -> None: ... + @typing.overload + def setPrivateKey(self, fileName: str, algorithm: QSsl.KeyAlgorithm = ..., format: QSsl.EncodingFormat = ..., passPhrase: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + def sessionCipher(self) -> QSslCipher: ... + def peerCertificateChain(self) -> typing.List[QSslCertificate]: ... + def peerCertificate(self) -> QSslCertificate: ... + def localCertificate(self) -> QSslCertificate: ... + @typing.overload + def setLocalCertificate(self, certificate: QSslCertificate) -> None: ... + @typing.overload + def setLocalCertificate(self, path: str, format: QSsl.EncodingFormat = ...) -> None: ... + def abort(self) -> None: ... + def flush(self) -> bool: ... + def atEnd(self) -> bool: ... + def close(self) -> None: ... + def canReadLine(self) -> bool: ... + def bytesToWrite(self) -> int: ... + def bytesAvailable(self) -> int: ... + def setProtocol(self, protocol: QSsl.SslProtocol) -> None: ... + def protocol(self) -> QSsl.SslProtocol: ... + def isEncrypted(self) -> bool: ... + def mode(self) -> 'QSslSocket.SslMode': ... + def setSocketDescriptor(self, socketDescriptor: PyQt5.sip.voidptr, state: QAbstractSocket.SocketState = ..., mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ...) -> bool: ... + @typing.overload + def connectToHostEncrypted(self, hostName: str, port: int, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ..., protocol: QAbstractSocket.NetworkLayerProtocol = ...) -> None: ... + @typing.overload + def connectToHostEncrypted(self, hostName: str, port: int, sslPeerName: str, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag] = ..., protocol: QAbstractSocket.NetworkLayerProtocol = ...) -> None: ... + + +class QTcpServer(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def acceptError(self, socketError: QAbstractSocket.SocketError) -> None: ... + def newConnection(self) -> None: ... + def addPendingConnection(self, socket: QTcpSocket) -> None: ... + def incomingConnection(self, handle: PyQt5.sip.voidptr) -> None: ... + def resumeAccepting(self) -> None: ... + def pauseAccepting(self) -> None: ... + def proxy(self) -> QNetworkProxy: ... + def setProxy(self, networkProxy: QNetworkProxy) -> None: ... + def errorString(self) -> str: ... + def serverError(self) -> QAbstractSocket.SocketError: ... + def nextPendingConnection(self) -> QTcpSocket: ... + def hasPendingConnections(self) -> bool: ... + def waitForNewConnection(self, msecs: int = ...) -> typing.Tuple[bool, bool]: ... + def setSocketDescriptor(self, socketDescriptor: PyQt5.sip.voidptr) -> bool: ... + def socketDescriptor(self) -> PyQt5.sip.voidptr: ... + def serverAddress(self) -> QHostAddress: ... + def serverPort(self) -> int: ... + def maxPendingConnections(self) -> int: ... + def setMaxPendingConnections(self, numConnections: int) -> None: ... + def isListening(self) -> bool: ... + def close(self) -> None: ... + def listen(self, address: typing.Union[QHostAddress, QHostAddress.SpecialAddress] = ..., port: int = ...) -> bool: ... + + +class QUdpSocket(QAbstractSocket): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def receiveDatagram(self, maxSize: int = ...) -> QNetworkDatagram: ... + def setMulticastInterface(self, iface: QNetworkInterface) -> None: ... + def multicastInterface(self) -> QNetworkInterface: ... + @typing.overload + def leaveMulticastGroup(self, groupAddress: typing.Union[QHostAddress, QHostAddress.SpecialAddress]) -> bool: ... + @typing.overload + def leaveMulticastGroup(self, groupAddress: typing.Union[QHostAddress, QHostAddress.SpecialAddress], iface: QNetworkInterface) -> bool: ... + @typing.overload + def joinMulticastGroup(self, groupAddress: typing.Union[QHostAddress, QHostAddress.SpecialAddress]) -> bool: ... + @typing.overload + def joinMulticastGroup(self, groupAddress: typing.Union[QHostAddress, QHostAddress.SpecialAddress], iface: QNetworkInterface) -> bool: ... + @typing.overload + def writeDatagram(self, data: bytes, host: typing.Union[QHostAddress, QHostAddress.SpecialAddress], port: int) -> int: ... + @typing.overload + def writeDatagram(self, datagram: typing.Union[QtCore.QByteArray, bytes, bytearray], host: typing.Union[QHostAddress, QHostAddress.SpecialAddress], port: int) -> int: ... + @typing.overload + def writeDatagram(self, datagram: QNetworkDatagram) -> int: ... + def readDatagram(self, maxlen: int) -> typing.Tuple[bytes, QHostAddress, int]: ... + def pendingDatagramSize(self) -> int: ... + def hasPendingDatagrams(self) -> bool: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtNfc.pyi b/OTHERS/Jarvis/ools/PyQt5/QtNfc.pyi new file mode 100644 index 00000000..8fdb2b22 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtNfc.pyi @@ -0,0 +1,435 @@ +# The PEP 484 type hints stub file for the QtNfc module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QNdefFilter(sip.simplewrapper): + + class Record(sip.simplewrapper): + + maximum = ... # type: int + minimum = ... # type: int + type = ... # type: typing.Union[QtCore.QByteArray, bytes, bytearray] + typeNameFormat = ... # type: 'QNdefRecord.TypeNameFormat' + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QNdefFilter.Record') -> None: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QNdefFilter') -> None: ... + + def recordAt(self, i: int) -> 'QNdefFilter.Record': ... + def __len__(self) -> int: ... + def recordCount(self) -> int: ... + @typing.overload + def appendRecord(self, typeNameFormat: 'QNdefRecord.TypeNameFormat', type: typing.Union[QtCore.QByteArray, bytes, bytearray], min: int = ..., max: int = ...) -> None: ... + @typing.overload + def appendRecord(self, record: 'QNdefFilter.Record') -> None: ... + def orderMatch(self) -> bool: ... + def setOrderMatch(self, on: bool) -> None: ... + def clear(self) -> None: ... + + +class QNdefMessage(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, record: 'QNdefRecord') -> None: ... + @typing.overload + def __init__(self, message: 'QNdefMessage') -> None: ... + @typing.overload + def __init__(self, records: typing.Iterable['QNdefRecord']) -> None: ... + + @staticmethod + def fromByteArray(message: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> 'QNdefMessage': ... + def __delitem__(self, i: int) -> None: ... + def __setitem__(self, i: int, value: 'QNdefRecord') -> None: ... + def __getitem__(self, i: int) -> 'QNdefRecord': ... + def __len__(self) -> int: ... + def toByteArray(self) -> QtCore.QByteArray: ... + + +class QNdefRecord(sip.simplewrapper): + + class TypeNameFormat(int): + Empty = ... # type: QNdefRecord.TypeNameFormat + NfcRtd = ... # type: QNdefRecord.TypeNameFormat + Mime = ... # type: QNdefRecord.TypeNameFormat + Uri = ... # type: QNdefRecord.TypeNameFormat + ExternalRtd = ... # type: QNdefRecord.TypeNameFormat + Unknown = ... # type: QNdefRecord.TypeNameFormat + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QNdefRecord') -> None: ... + + def __hash__(self) -> int: ... + def isEmpty(self) -> bool: ... + def payload(self) -> QtCore.QByteArray: ... + def setPayload(self, payload: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def id(self) -> QtCore.QByteArray: ... + def setId(self, id: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def type(self) -> QtCore.QByteArray: ... + def setType(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def typeNameFormat(self) -> 'QNdefRecord.TypeNameFormat': ... + def setTypeNameFormat(self, typeNameFormat: 'QNdefRecord.TypeNameFormat') -> None: ... + + +class QNdefNfcIconRecord(QNdefRecord): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: QNdefRecord) -> None: ... + @typing.overload + def __init__(self, a0: 'QNdefNfcIconRecord') -> None: ... + + def data(self) -> QtCore.QByteArray: ... + def setData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + + +class QNdefNfcSmartPosterRecord(QNdefRecord): + + class Action(int): + UnspecifiedAction = ... # type: QNdefNfcSmartPosterRecord.Action + DoAction = ... # type: QNdefNfcSmartPosterRecord.Action + SaveAction = ... # type: QNdefNfcSmartPosterRecord.Action + EditAction = ... # type: QNdefNfcSmartPosterRecord.Action + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QNdefNfcSmartPosterRecord') -> None: ... + @typing.overload + def __init__(self, other: QNdefRecord) -> None: ... + + def setTypeInfo(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def typeInfo(self) -> QtCore.QByteArray: ... + def setSize(self, size: int) -> None: ... + def size(self) -> int: ... + def setIcons(self, icons: typing.Iterable[QNdefNfcIconRecord]) -> None: ... + @typing.overload + def removeIcon(self, icon: QNdefNfcIconRecord) -> bool: ... + @typing.overload + def removeIcon(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + @typing.overload + def addIcon(self, icon: QNdefNfcIconRecord) -> None: ... + @typing.overload + def addIcon(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray], data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def iconRecords(self) -> typing.List[QNdefNfcIconRecord]: ... + def iconRecord(self, index: int) -> QNdefNfcIconRecord: ... + def icon(self, mimetype: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> QtCore.QByteArray: ... + def iconCount(self) -> int: ... + def setAction(self, act: 'QNdefNfcSmartPosterRecord.Action') -> None: ... + def action(self) -> 'QNdefNfcSmartPosterRecord.Action': ... + @typing.overload + def setUri(self, url: 'QNdefNfcUriRecord') -> None: ... + @typing.overload + def setUri(self, url: QtCore.QUrl) -> None: ... + def uriRecord(self) -> 'QNdefNfcUriRecord': ... + def uri(self) -> QtCore.QUrl: ... + def setTitles(self, titles: typing.Iterable['QNdefNfcTextRecord']) -> None: ... + @typing.overload + def removeTitle(self, text: 'QNdefNfcTextRecord') -> bool: ... + @typing.overload + def removeTitle(self, locale: str) -> bool: ... + @typing.overload + def addTitle(self, text: 'QNdefNfcTextRecord') -> bool: ... + @typing.overload + def addTitle(self, text: str, locale: str, encoding: 'QNdefNfcTextRecord.Encoding') -> bool: ... + def titleRecords(self) -> typing.List['QNdefNfcTextRecord']: ... + def titleRecord(self, index: int) -> 'QNdefNfcTextRecord': ... + def title(self, locale: str = ...) -> str: ... + def titleCount(self) -> int: ... + def hasTypeInfo(self) -> bool: ... + def hasSize(self) -> bool: ... + def hasIcon(self, mimetype: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> bool: ... + def hasAction(self) -> bool: ... + def hasTitle(self, locale: str = ...) -> bool: ... + def setPayload(self, payload: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + + +class QNdefNfcTextRecord(QNdefRecord): + + class Encoding(int): + Utf8 = ... # type: QNdefNfcTextRecord.Encoding + Utf16 = ... # type: QNdefNfcTextRecord.Encoding + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: QNdefRecord) -> None: ... + @typing.overload + def __init__(self, a0: 'QNdefNfcTextRecord') -> None: ... + + def setEncoding(self, encoding: 'QNdefNfcTextRecord.Encoding') -> None: ... + def encoding(self) -> 'QNdefNfcTextRecord.Encoding': ... + def setText(self, text: str) -> None: ... + def text(self) -> str: ... + def setLocale(self, locale: str) -> None: ... + def locale(self) -> str: ... + + +class QNdefNfcUriRecord(QNdefRecord): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: QNdefRecord) -> None: ... + @typing.overload + def __init__(self, a0: 'QNdefNfcUriRecord') -> None: ... + + def setUri(self, uri: QtCore.QUrl) -> None: ... + def uri(self) -> QtCore.QUrl: ... + + +class QNearFieldManager(QtCore.QObject): + + class AdapterState(int): + Offline = ... # type: QNearFieldManager.AdapterState + TurningOn = ... # type: QNearFieldManager.AdapterState + Online = ... # type: QNearFieldManager.AdapterState + TurningOff = ... # type: QNearFieldManager.AdapterState + + class TargetAccessMode(int): + NoTargetAccess = ... # type: QNearFieldManager.TargetAccessMode + NdefReadTargetAccess = ... # type: QNearFieldManager.TargetAccessMode + NdefWriteTargetAccess = ... # type: QNearFieldManager.TargetAccessMode + TagTypeSpecificTargetAccess = ... # type: QNearFieldManager.TargetAccessMode + + class TargetAccessModes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QNearFieldManager.TargetAccessModes', 'QNearFieldManager.TargetAccessMode']) -> None: ... + @typing.overload + def __init__(self, a0: 'QNearFieldManager.TargetAccessModes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QNearFieldManager.TargetAccessModes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def adapterStateChanged(self, state: 'QNearFieldManager.AdapterState') -> None: ... + def isSupported(self) -> bool: ... + def targetLost(self, target: 'QNearFieldTarget') -> None: ... + def targetDetected(self, target: 'QNearFieldTarget') -> None: ... + def unregisterNdefMessageHandler(self, handlerId: int) -> bool: ... + @typing.overload + def registerNdefMessageHandler(self, slot: PYQT_SLOT) -> int: ... + @typing.overload + def registerNdefMessageHandler(self, typeNameFormat: QNdefRecord.TypeNameFormat, type: typing.Union[QtCore.QByteArray, bytes, bytearray], slot: PYQT_SLOT) -> int: ... + @typing.overload + def registerNdefMessageHandler(self, filter: QNdefFilter, slot: PYQT_SLOT) -> int: ... + def stopTargetDetection(self) -> None: ... + def startTargetDetection(self) -> bool: ... + def targetAccessModes(self) -> 'QNearFieldManager.TargetAccessModes': ... + def setTargetAccessModes(self, accessModes: typing.Union['QNearFieldManager.TargetAccessModes', 'QNearFieldManager.TargetAccessMode']) -> None: ... + def isAvailable(self) -> bool: ... + + +class QNearFieldShareManager(QtCore.QObject): + + class ShareMode(int): + NoShare = ... # type: QNearFieldShareManager.ShareMode + NdefShare = ... # type: QNearFieldShareManager.ShareMode + FileShare = ... # type: QNearFieldShareManager.ShareMode + + class ShareError(int): + NoError = ... # type: QNearFieldShareManager.ShareError + UnknownError = ... # type: QNearFieldShareManager.ShareError + InvalidShareContentError = ... # type: QNearFieldShareManager.ShareError + ShareCanceledError = ... # type: QNearFieldShareManager.ShareError + ShareInterruptedError = ... # type: QNearFieldShareManager.ShareError + ShareRejectedError = ... # type: QNearFieldShareManager.ShareError + UnsupportedShareModeError = ... # type: QNearFieldShareManager.ShareError + ShareAlreadyInProgressError = ... # type: QNearFieldShareManager.ShareError + SharePermissionDeniedError = ... # type: QNearFieldShareManager.ShareError + + class ShareModes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... + @typing.overload + def __init__(self, a0: 'QNearFieldShareManager.ShareModes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QNearFieldShareManager.ShareModes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def error(self, error: 'QNearFieldShareManager.ShareError') -> None: ... + def shareModesChanged(self, modes: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... + def targetDetected(self, shareTarget: 'QNearFieldShareTarget') -> None: ... + def shareError(self) -> 'QNearFieldShareManager.ShareError': ... + def shareModes(self) -> 'QNearFieldShareManager.ShareModes': ... + def setShareModes(self, modes: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... + @staticmethod + def supportedShareModes() -> 'QNearFieldShareManager.ShareModes': ... + + +class QNearFieldShareTarget(QtCore.QObject): + + def shareFinished(self) -> None: ... + def error(self, error: QNearFieldShareManager.ShareError) -> None: ... + def shareError(self) -> QNearFieldShareManager.ShareError: ... + def isShareInProgress(self) -> bool: ... + def cancel(self) -> None: ... + @typing.overload + def share(self, message: QNdefMessage) -> bool: ... + @typing.overload + def share(self, files: typing.Iterable[QtCore.QFileInfo]) -> bool: ... + def shareModes(self) -> QNearFieldShareManager.ShareModes: ... + + +class QNearFieldTarget(QtCore.QObject): + + class Error(int): + NoError = ... # type: QNearFieldTarget.Error + UnknownError = ... # type: QNearFieldTarget.Error + UnsupportedError = ... # type: QNearFieldTarget.Error + TargetOutOfRangeError = ... # type: QNearFieldTarget.Error + NoResponseError = ... # type: QNearFieldTarget.Error + ChecksumMismatchError = ... # type: QNearFieldTarget.Error + InvalidParametersError = ... # type: QNearFieldTarget.Error + NdefReadError = ... # type: QNearFieldTarget.Error + NdefWriteError = ... # type: QNearFieldTarget.Error + CommandError = ... # type: QNearFieldTarget.Error + + class AccessMethod(int): + UnknownAccess = ... # type: QNearFieldTarget.AccessMethod + NdefAccess = ... # type: QNearFieldTarget.AccessMethod + TagTypeSpecificAccess = ... # type: QNearFieldTarget.AccessMethod + LlcpAccess = ... # type: QNearFieldTarget.AccessMethod + + class Type(int): + ProprietaryTag = ... # type: QNearFieldTarget.Type + NfcTagType1 = ... # type: QNearFieldTarget.Type + NfcTagType2 = ... # type: QNearFieldTarget.Type + NfcTagType3 = ... # type: QNearFieldTarget.Type + NfcTagType4 = ... # type: QNearFieldTarget.Type + MifareTag = ... # type: QNearFieldTarget.Type + + class AccessMethods(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QNearFieldTarget.AccessMethods', 'QNearFieldTarget.AccessMethod']) -> None: ... + @typing.overload + def __init__(self, a0: 'QNearFieldTarget.AccessMethods') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QNearFieldTarget.AccessMethods': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class RequestId(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QNearFieldTarget.RequestId') -> None: ... + + def refCount(self) -> int: ... + def isValid(self) -> bool: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def maxCommandLength(self) -> int: ... + def disconnect(self) -> bool: ... + def setKeepConnection(self, isPersistent: bool) -> bool: ... + def keepConnection(self) -> bool: ... + def error(self, error: 'QNearFieldTarget.Error', id: 'QNearFieldTarget.RequestId') -> None: ... + def requestCompleted(self, id: 'QNearFieldTarget.RequestId') -> None: ... + def ndefMessagesWritten(self) -> None: ... + def ndefMessageRead(self, message: QNdefMessage) -> None: ... + def disconnected(self) -> None: ... + def reportError(self, error: 'QNearFieldTarget.Error', id: 'QNearFieldTarget.RequestId') -> None: ... + def handleResponse(self, id: 'QNearFieldTarget.RequestId', response: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def setResponseForRequest(self, id: 'QNearFieldTarget.RequestId', response: typing.Any, emitRequestCompleted: bool = ...) -> None: ... + def requestResponse(self, id: 'QNearFieldTarget.RequestId') -> typing.Any: ... + def waitForRequestCompleted(self, id: 'QNearFieldTarget.RequestId', msecs: int = ...) -> bool: ... + def sendCommands(self, commands: typing.Iterable[typing.Union[QtCore.QByteArray, bytes, bytearray]]) -> 'QNearFieldTarget.RequestId': ... + def sendCommand(self, command: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> 'QNearFieldTarget.RequestId': ... + def writeNdefMessages(self, messages: typing.Iterable[QNdefMessage]) -> 'QNearFieldTarget.RequestId': ... + def readNdefMessages(self) -> 'QNearFieldTarget.RequestId': ... + def hasNdefMessage(self) -> bool: ... + def isProcessingCommand(self) -> bool: ... + def accessMethods(self) -> 'QNearFieldTarget.AccessMethods': ... + def type(self) -> 'QNearFieldTarget.Type': ... + def url(self) -> QtCore.QUrl: ... + def uid(self) -> QtCore.QByteArray: ... + + +class QQmlNdefRecord(QtCore.QObject): + + class TypeNameFormat(int): + Empty = ... # type: QQmlNdefRecord.TypeNameFormat + NfcRtd = ... # type: QQmlNdefRecord.TypeNameFormat + Mime = ... # type: QQmlNdefRecord.TypeNameFormat + Uri = ... # type: QQmlNdefRecord.TypeNameFormat + ExternalRtd = ... # type: QQmlNdefRecord.TypeNameFormat + Unknown = ... # type: QQmlNdefRecord.TypeNameFormat + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, record: QNdefRecord, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def recordChanged(self) -> None: ... + def typeNameFormatChanged(self) -> None: ... + def typeChanged(self) -> None: ... + def setRecord(self, record: QNdefRecord) -> None: ... + def record(self) -> QNdefRecord: ... + def typeNameFormat(self) -> 'QQmlNdefRecord.TypeNameFormat': ... + def setTypeNameFormat(self, typeNameFormat: 'QQmlNdefRecord.TypeNameFormat') -> None: ... + def setType(self, t: str) -> None: ... + def type(self) -> str: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtOpenGL.pyi b/OTHERS/Jarvis/ools/PyQt5/QtOpenGL.pyi new file mode 100644 index 00000000..1ad48724 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtOpenGL.pyi @@ -0,0 +1,334 @@ +# The PEP 484 type hints stub file for the QtOpenGL module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QGL(PyQt5.sip.simplewrapper): + + class FormatOption(int): + DoubleBuffer = ... # type: QGL.FormatOption + DepthBuffer = ... # type: QGL.FormatOption + Rgba = ... # type: QGL.FormatOption + AlphaChannel = ... # type: QGL.FormatOption + AccumBuffer = ... # type: QGL.FormatOption + StencilBuffer = ... # type: QGL.FormatOption + StereoBuffers = ... # type: QGL.FormatOption + DirectRendering = ... # type: QGL.FormatOption + HasOverlay = ... # type: QGL.FormatOption + SampleBuffers = ... # type: QGL.FormatOption + SingleBuffer = ... # type: QGL.FormatOption + NoDepthBuffer = ... # type: QGL.FormatOption + ColorIndex = ... # type: QGL.FormatOption + NoAlphaChannel = ... # type: QGL.FormatOption + NoAccumBuffer = ... # type: QGL.FormatOption + NoStencilBuffer = ... # type: QGL.FormatOption + NoStereoBuffers = ... # type: QGL.FormatOption + IndirectRendering = ... # type: QGL.FormatOption + NoOverlay = ... # type: QGL.FormatOption + NoSampleBuffers = ... # type: QGL.FormatOption + DeprecatedFunctions = ... # type: QGL.FormatOption + NoDeprecatedFunctions = ... # type: QGL.FormatOption + + class FormatOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGL.FormatOptions', 'QGL.FormatOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGL.FormatOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGL.FormatOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + +class QGLFormat(sip.simplewrapper): + + class OpenGLContextProfile(int): + NoProfile = ... # type: QGLFormat.OpenGLContextProfile + CoreProfile = ... # type: QGLFormat.OpenGLContextProfile + CompatibilityProfile = ... # type: QGLFormat.OpenGLContextProfile + + class OpenGLVersionFlag(int): + OpenGL_Version_None = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_1_1 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_1_2 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_1_3 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_1_4 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_1_5 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_2_0 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_2_1 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_3_0 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_3_1 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_3_2 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_3_3 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_4_0 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_4_1 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_4_2 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_Version_4_3 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_ES_Common_Version_1_0 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_ES_CommonLite_Version_1_0 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_ES_Common_Version_1_1 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_ES_CommonLite_Version_1_1 = ... # type: QGLFormat.OpenGLVersionFlag + OpenGL_ES_Version_2_0 = ... # type: QGLFormat.OpenGLVersionFlag + + class OpenGLVersionFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGLFormat.OpenGLVersionFlags', 'QGLFormat.OpenGLVersionFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGLFormat.OpenGLVersionFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGLFormat.OpenGLVersionFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, options: typing.Union[QGL.FormatOptions, QGL.FormatOption], plane: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QGLFormat') -> None: ... + + def profile(self) -> 'QGLFormat.OpenGLContextProfile': ... + def setProfile(self, profile: 'QGLFormat.OpenGLContextProfile') -> None: ... + def minorVersion(self) -> int: ... + def majorVersion(self) -> int: ... + def setVersion(self, major: int, minor: int) -> None: ... + @staticmethod + def openGLVersionFlags() -> 'QGLFormat.OpenGLVersionFlags': ... + def swapInterval(self) -> int: ... + def setSwapInterval(self, interval: int) -> None: ... + def blueBufferSize(self) -> int: ... + def setBlueBufferSize(self, size: int) -> None: ... + def greenBufferSize(self) -> int: ... + def setGreenBufferSize(self, size: int) -> None: ... + def redBufferSize(self) -> int: ... + def setRedBufferSize(self, size: int) -> None: ... + def sampleBuffers(self) -> bool: ... + def hasOverlay(self) -> bool: ... + def directRendering(self) -> bool: ... + def stereo(self) -> bool: ... + def stencil(self) -> bool: ... + def accum(self) -> bool: ... + def alpha(self) -> bool: ... + def rgba(self) -> bool: ... + def depth(self) -> bool: ... + def doubleBuffer(self) -> bool: ... + @staticmethod + def hasOpenGLOverlays() -> bool: ... + @staticmethod + def hasOpenGL() -> bool: ... + @staticmethod + def setDefaultOverlayFormat(f: 'QGLFormat') -> None: ... + @staticmethod + def defaultOverlayFormat() -> 'QGLFormat': ... + @staticmethod + def setDefaultFormat(f: 'QGLFormat') -> None: ... + @staticmethod + def defaultFormat() -> 'QGLFormat': ... + def testOption(self, opt: typing.Union[QGL.FormatOptions, QGL.FormatOption]) -> bool: ... + def setOption(self, opt: typing.Union[QGL.FormatOptions, QGL.FormatOption]) -> None: ... + def setPlane(self, plane: int) -> None: ... + def plane(self) -> int: ... + def setOverlay(self, enable: bool) -> None: ... + def setDirectRendering(self, enable: bool) -> None: ... + def setStereo(self, enable: bool) -> None: ... + def setStencil(self, enable: bool) -> None: ... + def setAccum(self, enable: bool) -> None: ... + def setAlpha(self, enable: bool) -> None: ... + def setRgba(self, enable: bool) -> None: ... + def setDepth(self, enable: bool) -> None: ... + def setDoubleBuffer(self, enable: bool) -> None: ... + def samples(self) -> int: ... + def setSamples(self, numSamples: int) -> None: ... + def setSampleBuffers(self, enable: bool) -> None: ... + def stencilBufferSize(self) -> int: ... + def setStencilBufferSize(self, size: int) -> None: ... + def alphaBufferSize(self) -> int: ... + def setAlphaBufferSize(self, size: int) -> None: ... + def accumBufferSize(self) -> int: ... + def setAccumBufferSize(self, size: int) -> None: ... + def depthBufferSize(self) -> int: ... + def setDepthBufferSize(self, size: int) -> None: ... + + +class QGLContext(PyQt5.sip.wrapper): + + class BindOption(int): + NoBindOption = ... # type: QGLContext.BindOption + InvertedYBindOption = ... # type: QGLContext.BindOption + MipmapBindOption = ... # type: QGLContext.BindOption + PremultipliedAlphaBindOption = ... # type: QGLContext.BindOption + LinearFilteringBindOption = ... # type: QGLContext.BindOption + DefaultBindOption = ... # type: QGLContext.BindOption + + class BindOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGLContext.BindOptions', 'QGLContext.BindOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGLContext.BindOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGLContext.BindOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, format: QGLFormat) -> None: ... + + def moveToThread(self, thread: QtCore.QThread) -> None: ... + @staticmethod + def areSharing(context1: 'QGLContext', context2: 'QGLContext') -> bool: ... + def setInitialized(self, on: bool) -> None: ... + def initialized(self) -> bool: ... + def setWindowCreated(self, on: bool) -> None: ... + def windowCreated(self) -> bool: ... + def deviceIsPixmap(self) -> bool: ... + def chooseContext(self, shareContext: typing.Optional['QGLContext'] = ...) -> bool: ... + @staticmethod + def currentContext() -> 'QGLContext': ... + def overlayTransparentColor(self) -> QtGui.QColor: ... + def device(self) -> QtGui.QPaintDevice: ... + def getProcAddress(self, proc: str) -> PyQt5.sip.voidptr: ... + @staticmethod + def textureCacheLimit() -> int: ... + @staticmethod + def setTextureCacheLimit(size: int) -> None: ... + def deleteTexture(self, tx_id: int) -> None: ... + @typing.overload + def drawTexture(self, target: QtCore.QRectF, textureId: int, textureTarget: int = ...) -> None: ... + @typing.overload + def drawTexture(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], textureId: int, textureTarget: int = ...) -> None: ... + @typing.overload + def bindTexture(self, image: QtGui.QImage, target: int = ..., format: int = ...) -> int: ... + @typing.overload + def bindTexture(self, pixmap: QtGui.QPixmap, target: int = ..., format: int = ...) -> int: ... + @typing.overload + def bindTexture(self, fileName: str) -> int: ... + @typing.overload + def bindTexture(self, image: QtGui.QImage, target: int, format: int, options: typing.Union['QGLContext.BindOptions', 'QGLContext.BindOption']) -> int: ... + @typing.overload + def bindTexture(self, pixmap: QtGui.QPixmap, target: int, format: int, options: typing.Union['QGLContext.BindOptions', 'QGLContext.BindOption']) -> int: ... + def swapBuffers(self) -> None: ... + def doneCurrent(self) -> None: ... + def makeCurrent(self) -> None: ... + def setFormat(self, format: QGLFormat) -> None: ... + def requestedFormat(self) -> QGLFormat: ... + def format(self) -> QGLFormat: ... + def reset(self) -> None: ... + def isSharing(self) -> bool: ... + def isValid(self) -> bool: ... + def create(self, shareContext: typing.Optional['QGLContext'] = ...) -> bool: ... + + +class QGLWidget(QtWidgets.QWidget): + + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., shareWidget: typing.Optional['QGLWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, context: QGLContext, parent: typing.Optional[QtWidgets.QWidget] = ..., shareWidget: typing.Optional['QGLWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, format: QGLFormat, parent: typing.Optional[QtWidgets.QWidget] = ..., shareWidget: typing.Optional['QGLWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def glDraw(self) -> None: ... + def glInit(self) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def autoBufferSwap(self) -> bool: ... + def setAutoBufferSwap(self, on: bool) -> None: ... + def paintOverlayGL(self) -> None: ... + def resizeOverlayGL(self, w: int, h: int) -> None: ... + def initializeOverlayGL(self) -> None: ... + def paintGL(self) -> None: ... + def resizeGL(self, w: int, h: int) -> None: ... + def initializeGL(self) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def updateOverlayGL(self) -> None: ... + def updateGL(self) -> None: ... + def deleteTexture(self, tx_id: int) -> None: ... + @typing.overload + def drawTexture(self, target: QtCore.QRectF, textureId: int, textureTarget: int = ...) -> None: ... + @typing.overload + def drawTexture(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], textureId: int, textureTarget: int = ...) -> None: ... + @typing.overload + def bindTexture(self, image: QtGui.QImage, target: int = ..., format: int = ...) -> int: ... + @typing.overload + def bindTexture(self, pixmap: QtGui.QPixmap, target: int = ..., format: int = ...) -> int: ... + @typing.overload + def bindTexture(self, fileName: str) -> int: ... + @typing.overload + def bindTexture(self, image: QtGui.QImage, target: int, format: int, options: typing.Union[QGLContext.BindOptions, QGLContext.BindOption]) -> int: ... + @typing.overload + def bindTexture(self, pixmap: QtGui.QPixmap, target: int, format: int, options: typing.Union[QGLContext.BindOptions, QGLContext.BindOption]) -> int: ... + def paintEngine(self) -> QtGui.QPaintEngine: ... + @typing.overload + def renderText(self, x: int, y: int, str: str, font: QtGui.QFont = ...) -> None: ... + @typing.overload + def renderText(self, x: float, y: float, z: float, str: str, font: QtGui.QFont = ...) -> None: ... + @staticmethod + def convertToGLFormat(img: QtGui.QImage) -> QtGui.QImage: ... + def overlayContext(self) -> QGLContext: ... + def makeOverlayCurrent(self) -> None: ... + def grabFrameBuffer(self, withAlpha: bool = ...) -> QtGui.QImage: ... + def renderPixmap(self, width: int = ..., height: int = ..., useContext: bool = ...) -> QtGui.QPixmap: ... + def setContext(self, context: QGLContext, shareContext: typing.Optional[QGLContext] = ..., deleteOldContext: bool = ...) -> None: ... + def context(self) -> QGLContext: ... + def format(self) -> QGLFormat: ... + def swapBuffers(self) -> None: ... + def doubleBuffer(self) -> bool: ... + def doneCurrent(self) -> None: ... + def makeCurrent(self) -> None: ... + def isSharing(self) -> bool: ... + def isValid(self) -> bool: ... + def qglClearColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def qglColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtPositioning.pyi b/OTHERS/Jarvis/ools/PyQt5/QtPositioning.pyi new file mode 100644 index 00000000..291415a3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtPositioning.pyi @@ -0,0 +1,538 @@ +# The PEP 484 type hints stub file for the QtPositioning module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QGeoAddress(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoAddress') -> None: ... + + def isTextGenerated(self) -> bool: ... + def clear(self) -> None: ... + def isEmpty(self) -> bool: ... + def setStreet(self, street: str) -> None: ... + def street(self) -> str: ... + def setPostalCode(self, postalCode: str) -> None: ... + def postalCode(self) -> str: ... + def setDistrict(self, district: str) -> None: ... + def district(self) -> str: ... + def setCity(self, city: str) -> None: ... + def city(self) -> str: ... + def setCounty(self, county: str) -> None: ... + def county(self) -> str: ... + def setState(self, state: str) -> None: ... + def state(self) -> str: ... + def setCountryCode(self, countryCode: str) -> None: ... + def countryCode(self) -> str: ... + def setCountry(self, country: str) -> None: ... + def country(self) -> str: ... + def setText(self, text: str) -> None: ... + def text(self) -> str: ... + + +class QGeoAreaMonitorInfo(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self, name: str = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoAreaMonitorInfo') -> None: ... + + def setNotificationParameters(self, parameters: typing.Dict[str, typing.Any]) -> None: ... + def notificationParameters(self) -> typing.Dict[str, typing.Any]: ... + def setPersistent(self, isPersistent: bool) -> None: ... + def isPersistent(self) -> bool: ... + def setExpiration(self, expiry: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def expiration(self) -> QtCore.QDateTime: ... + def setArea(self, newShape: 'QGeoShape') -> None: ... + def area(self) -> 'QGeoShape': ... + def isValid(self) -> bool: ... + def identifier(self) -> str: ... + def setName(self, name: str) -> None: ... + def name(self) -> str: ... + + +class QGeoAreaMonitorSource(QtCore.QObject): + + class AreaMonitorFeature(int): + PersistentAreaMonitorFeature = ... # type: QGeoAreaMonitorSource.AreaMonitorFeature + AnyAreaMonitorFeature = ... # type: QGeoAreaMonitorSource.AreaMonitorFeature + + class Error(int): + AccessError = ... # type: QGeoAreaMonitorSource.Error + InsufficientPositionInfo = ... # type: QGeoAreaMonitorSource.Error + UnknownSourceError = ... # type: QGeoAreaMonitorSource.Error + NoError = ... # type: QGeoAreaMonitorSource.Error + + class AreaMonitorFeatures(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoAreaMonitorSource.AreaMonitorFeatures', 'QGeoAreaMonitorSource.AreaMonitorFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoAreaMonitorSource.AreaMonitorFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoAreaMonitorSource.AreaMonitorFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: QtCore.QObject) -> None: ... + + def monitorExpired(self, monitor: QGeoAreaMonitorInfo) -> None: ... + def areaExited(self, monitor: QGeoAreaMonitorInfo, update: 'QGeoPositionInfo') -> None: ... + def areaEntered(self, monitor: QGeoAreaMonitorInfo, update: 'QGeoPositionInfo') -> None: ... + @typing.overload + def activeMonitors(self) -> typing.List[QGeoAreaMonitorInfo]: ... + @typing.overload + def activeMonitors(self, lookupArea: 'QGeoShape') -> typing.List[QGeoAreaMonitorInfo]: ... + def requestUpdate(self, monitor: QGeoAreaMonitorInfo, signal: str) -> bool: ... + def stopMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ... + def startMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ... + def supportedAreaMonitorFeatures(self) -> 'QGeoAreaMonitorSource.AreaMonitorFeatures': ... + @typing.overload + def error(self) -> 'QGeoAreaMonitorSource.Error': ... + @typing.overload + def error(self, error: 'QGeoAreaMonitorSource.Error') -> None: ... + def sourceName(self) -> str: ... + def positionInfoSource(self) -> 'QGeoPositionInfoSource': ... + def setPositionInfoSource(self, source: 'QGeoPositionInfoSource') -> None: ... + @staticmethod + def availableSources() -> typing.List[str]: ... + @staticmethod + def createSource(sourceName: str, parent: QtCore.QObject) -> 'QGeoAreaMonitorSource': ... + @staticmethod + def createDefaultSource(parent: QtCore.QObject) -> 'QGeoAreaMonitorSource': ... + + +class QGeoShape(PyQt5.sip.wrapper): + + class ShapeType(int): + UnknownType = ... # type: QGeoShape.ShapeType + RectangleType = ... # type: QGeoShape.ShapeType + CircleType = ... # type: QGeoShape.ShapeType + PathType = ... # type: QGeoShape.ShapeType + PolygonType = ... # type: QGeoShape.ShapeType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoShape') -> None: ... + + def boundingGeoRectangle(self) -> 'QGeoRectangle': ... + def toString(self) -> str: ... + def center(self) -> 'QGeoCoordinate': ... + def extendShape(self, coordinate: 'QGeoCoordinate') -> None: ... + def contains(self, coordinate: 'QGeoCoordinate') -> bool: ... + def isEmpty(self) -> bool: ... + def isValid(self) -> bool: ... + def type(self) -> 'QGeoShape.ShapeType': ... + + +class QGeoCircle(QGeoShape): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, center: 'QGeoCoordinate', radius: float = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoCircle') -> None: ... + @typing.overload + def __init__(self, other: QGeoShape) -> None: ... + + def extendCircle(self, coordinate: 'QGeoCoordinate') -> None: ... + def toString(self) -> str: ... + def translated(self, degreesLatitude: float, degreesLongitude: float) -> 'QGeoCircle': ... + def translate(self, degreesLatitude: float, degreesLongitude: float) -> None: ... + def radius(self) -> float: ... + def setRadius(self, radius: float) -> None: ... + def center(self) -> 'QGeoCoordinate': ... + def setCenter(self, center: 'QGeoCoordinate') -> None: ... + + +class QGeoCoordinate(PyQt5.sip.wrapper): + + class CoordinateFormat(int): + Degrees = ... # type: QGeoCoordinate.CoordinateFormat + DegreesWithHemisphere = ... # type: QGeoCoordinate.CoordinateFormat + DegreesMinutes = ... # type: QGeoCoordinate.CoordinateFormat + DegreesMinutesWithHemisphere = ... # type: QGeoCoordinate.CoordinateFormat + DegreesMinutesSeconds = ... # type: QGeoCoordinate.CoordinateFormat + DegreesMinutesSecondsWithHemisphere = ... # type: QGeoCoordinate.CoordinateFormat + + class CoordinateType(int): + InvalidCoordinate = ... # type: QGeoCoordinate.CoordinateType + Coordinate2D = ... # type: QGeoCoordinate.CoordinateType + Coordinate3D = ... # type: QGeoCoordinate.CoordinateType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, latitude: float, longitude: float) -> None: ... + @typing.overload + def __init__(self, latitude: float, longitude: float, altitude: float) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoCoordinate') -> None: ... + + def __hash__(self) -> int: ... + def toString(self, format: 'QGeoCoordinate.CoordinateFormat' = ...) -> str: ... + def atDistanceAndAzimuth(self, distance: float, azimuth: float, distanceUp: float = ...) -> 'QGeoCoordinate': ... + def azimuthTo(self, other: 'QGeoCoordinate') -> float: ... + def distanceTo(self, other: 'QGeoCoordinate') -> float: ... + def altitude(self) -> float: ... + def setAltitude(self, altitude: float) -> None: ... + def longitude(self) -> float: ... + def setLongitude(self, longitude: float) -> None: ... + def latitude(self) -> float: ... + def setLatitude(self, latitude: float) -> None: ... + def type(self) -> 'QGeoCoordinate.CoordinateType': ... + def isValid(self) -> bool: ... + + +class QGeoLocation(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoLocation') -> None: ... + + def setExtendedAttributes(self, data: typing.Dict[str, typing.Any]) -> None: ... + def extendedAttributes(self) -> typing.Dict[str, typing.Any]: ... + def isEmpty(self) -> bool: ... + def setBoundingBox(self, box: 'QGeoRectangle') -> None: ... + def boundingBox(self) -> 'QGeoRectangle': ... + def setCoordinate(self, position: QGeoCoordinate) -> None: ... + def coordinate(self) -> QGeoCoordinate: ... + def setAddress(self, address: QGeoAddress) -> None: ... + def address(self) -> QGeoAddress: ... + + +class QGeoPath(QGeoShape): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, path: typing.Iterable[QGeoCoordinate], width: float = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoPath') -> None: ... + @typing.overload + def __init__(self, other: QGeoShape) -> None: ... + + def clearPath(self) -> None: ... + def size(self) -> int: ... + def toString(self) -> str: ... + @typing.overload + def removeCoordinate(self, coordinate: QGeoCoordinate) -> None: ... + @typing.overload + def removeCoordinate(self, index: int) -> None: ... + def containsCoordinate(self, coordinate: QGeoCoordinate) -> bool: ... + def coordinateAt(self, index: int) -> QGeoCoordinate: ... + def replaceCoordinate(self, index: int, coordinate: QGeoCoordinate) -> None: ... + def insertCoordinate(self, index: int, coordinate: QGeoCoordinate) -> None: ... + def addCoordinate(self, coordinate: QGeoCoordinate) -> None: ... + def length(self, indexFrom: int = ..., indexTo: int = ...) -> float: ... + def translated(self, degreesLatitude: float, degreesLongitude: float) -> 'QGeoPath': ... + def translate(self, degreesLatitude: float, degreesLongitude: float) -> None: ... + def width(self) -> float: ... + def setWidth(self, width: float) -> None: ... + def path(self) -> typing.List[QGeoCoordinate]: ... + def setPath(self, path: typing.Iterable[QGeoCoordinate]) -> None: ... + + +class QGeoPolygon(QGeoShape): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, path: typing.Iterable[QGeoCoordinate]) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoPolygon') -> None: ... + @typing.overload + def __init__(self, other: QGeoShape) -> None: ... + + def perimeter(self) -> typing.List[typing.Any]: ... + def setPerimeter(self, path: typing.Iterable[typing.Any]) -> None: ... + def holesCount(self) -> int: ... + def removeHole(self, index: int) -> None: ... + def holePath(self, index: int) -> typing.List[QGeoCoordinate]: ... + def hole(self, index: int) -> typing.List[typing.Any]: ... + @typing.overload + def addHole(self, holePath: typing.Iterable[QGeoCoordinate]) -> None: ... + @typing.overload + def addHole(self, holePath: typing.Any) -> None: ... + def toString(self) -> str: ... + @typing.overload + def removeCoordinate(self, coordinate: QGeoCoordinate) -> None: ... + @typing.overload + def removeCoordinate(self, index: int) -> None: ... + def containsCoordinate(self, coordinate: QGeoCoordinate) -> bool: ... + def coordinateAt(self, index: int) -> QGeoCoordinate: ... + def replaceCoordinate(self, index: int, coordinate: QGeoCoordinate) -> None: ... + def insertCoordinate(self, index: int, coordinate: QGeoCoordinate) -> None: ... + def addCoordinate(self, coordinate: QGeoCoordinate) -> None: ... + def size(self) -> int: ... + def length(self, indexFrom: int = ..., indexTo: int = ...) -> float: ... + def translated(self, degreesLatitude: float, degreesLongitude: float) -> 'QGeoPolygon': ... + def translate(self, degreesLatitude: float, degreesLongitude: float) -> None: ... + def path(self) -> typing.List[QGeoCoordinate]: ... + def setPath(self, path: typing.Iterable[QGeoCoordinate]) -> None: ... + + +class QGeoPositionInfo(PyQt5.sip.wrapper): + + class Attribute(int): + Direction = ... # type: QGeoPositionInfo.Attribute + GroundSpeed = ... # type: QGeoPositionInfo.Attribute + VerticalSpeed = ... # type: QGeoPositionInfo.Attribute + MagneticVariation = ... # type: QGeoPositionInfo.Attribute + HorizontalAccuracy = ... # type: QGeoPositionInfo.Attribute + VerticalAccuracy = ... # type: QGeoPositionInfo.Attribute + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, coordinate: QGeoCoordinate, updateTime: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoPositionInfo') -> None: ... + + def hasAttribute(self, attribute: 'QGeoPositionInfo.Attribute') -> bool: ... + def removeAttribute(self, attribute: 'QGeoPositionInfo.Attribute') -> None: ... + def attribute(self, attribute: 'QGeoPositionInfo.Attribute') -> float: ... + def setAttribute(self, attribute: 'QGeoPositionInfo.Attribute', value: float) -> None: ... + def coordinate(self) -> QGeoCoordinate: ... + def setCoordinate(self, coordinate: QGeoCoordinate) -> None: ... + def timestamp(self) -> QtCore.QDateTime: ... + def setTimestamp(self, timestamp: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def isValid(self) -> bool: ... + + +class QGeoPositionInfoSource(QtCore.QObject): + + class PositioningMethod(int): + NoPositioningMethods = ... # type: QGeoPositionInfoSource.PositioningMethod + SatellitePositioningMethods = ... # type: QGeoPositionInfoSource.PositioningMethod + NonSatellitePositioningMethods = ... # type: QGeoPositionInfoSource.PositioningMethod + AllPositioningMethods = ... # type: QGeoPositionInfoSource.PositioningMethod + + class Error(int): + AccessError = ... # type: QGeoPositionInfoSource.Error + ClosedError = ... # type: QGeoPositionInfoSource.Error + UnknownSourceError = ... # type: QGeoPositionInfoSource.Error + NoError = ... # type: QGeoPositionInfoSource.Error + + class PositioningMethods(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGeoPositionInfoSource.PositioningMethods', 'QGeoPositionInfoSource.PositioningMethod']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGeoPositionInfoSource.PositioningMethods') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGeoPositionInfoSource.PositioningMethods': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: QtCore.QObject) -> None: ... + + def backendProperty(self, name: str) -> typing.Any: ... + def setBackendProperty(self, name: str, value: typing.Any) -> bool: ... + def supportedPositioningMethodsChanged(self) -> None: ... + def updateTimeout(self) -> None: ... + def positionUpdated(self, update: QGeoPositionInfo) -> None: ... + def requestUpdate(self, timeout: int = ...) -> None: ... + def stopUpdates(self) -> None: ... + def startUpdates(self) -> None: ... + @typing.overload + def error(self) -> 'QGeoPositionInfoSource.Error': ... + @typing.overload + def error(self, a0: 'QGeoPositionInfoSource.Error') -> None: ... + @staticmethod + def availableSources() -> typing.List[str]: ... + @typing.overload + @staticmethod + def createSource(sourceName: str, parent: QtCore.QObject) -> 'QGeoPositionInfoSource': ... + @typing.overload + @staticmethod + def createSource(sourceName: str, parameters: typing.Dict[str, typing.Any], parent: QtCore.QObject) -> 'QGeoPositionInfoSource': ... + @typing.overload + @staticmethod + def createDefaultSource(parent: QtCore.QObject) -> 'QGeoPositionInfoSource': ... + @typing.overload + @staticmethod + def createDefaultSource(parameters: typing.Dict[str, typing.Any], parent: QtCore.QObject) -> 'QGeoPositionInfoSource': ... + def sourceName(self) -> str: ... + def minimumUpdateInterval(self) -> int: ... + def supportedPositioningMethods(self) -> 'QGeoPositionInfoSource.PositioningMethods': ... + def lastKnownPosition(self, fromSatellitePositioningMethodsOnly: bool = ...) -> QGeoPositionInfo: ... + def preferredPositioningMethods(self) -> 'QGeoPositionInfoSource.PositioningMethods': ... + def setPreferredPositioningMethods(self, methods: typing.Union['QGeoPositionInfoSource.PositioningMethods', 'QGeoPositionInfoSource.PositioningMethod']) -> None: ... + def updateInterval(self) -> int: ... + def setUpdateInterval(self, msec: int) -> None: ... + + +class QGeoRectangle(QGeoShape): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, center: QGeoCoordinate, degreesWidth: float, degreesHeight: float) -> None: ... + @typing.overload + def __init__(self, topLeft: QGeoCoordinate, bottomRight: QGeoCoordinate) -> None: ... + @typing.overload + def __init__(self, coordinates: typing.Iterable[QGeoCoordinate]) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoRectangle') -> None: ... + @typing.overload + def __init__(self, other: QGeoShape) -> None: ... + + def extendRectangle(self, coordinate: QGeoCoordinate) -> None: ... + def toString(self) -> str: ... + def united(self, rectangle: 'QGeoRectangle') -> 'QGeoRectangle': ... + def translated(self, degreesLatitude: float, degreesLongitude: float) -> 'QGeoRectangle': ... + def translate(self, degreesLatitude: float, degreesLongitude: float) -> None: ... + def intersects(self, rectangle: 'QGeoRectangle') -> bool: ... + def contains(self, rectangle: 'QGeoRectangle') -> bool: ... + def height(self) -> float: ... + def setHeight(self, degreesHeight: float) -> None: ... + def width(self) -> float: ... + def setWidth(self, degreesWidth: float) -> None: ... + def center(self) -> QGeoCoordinate: ... + def setCenter(self, center: QGeoCoordinate) -> None: ... + def bottomRight(self) -> QGeoCoordinate: ... + def setBottomRight(self, bottomRight: QGeoCoordinate) -> None: ... + def bottomLeft(self) -> QGeoCoordinate: ... + def setBottomLeft(self, bottomLeft: QGeoCoordinate) -> None: ... + def topRight(self) -> QGeoCoordinate: ... + def setTopRight(self, topRight: QGeoCoordinate) -> None: ... + def topLeft(self) -> QGeoCoordinate: ... + def setTopLeft(self, topLeft: QGeoCoordinate) -> None: ... + + +class QGeoSatelliteInfo(PyQt5.sip.wrapper): + + class SatelliteSystem(int): + Undefined = ... # type: QGeoSatelliteInfo.SatelliteSystem + GPS = ... # type: QGeoSatelliteInfo.SatelliteSystem + GLONASS = ... # type: QGeoSatelliteInfo.SatelliteSystem + + class Attribute(int): + Elevation = ... # type: QGeoSatelliteInfo.Attribute + Azimuth = ... # type: QGeoSatelliteInfo.Attribute + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QGeoSatelliteInfo') -> None: ... + + def hasAttribute(self, attribute: 'QGeoSatelliteInfo.Attribute') -> bool: ... + def removeAttribute(self, attribute: 'QGeoSatelliteInfo.Attribute') -> None: ... + def attribute(self, attribute: 'QGeoSatelliteInfo.Attribute') -> float: ... + def setAttribute(self, attribute: 'QGeoSatelliteInfo.Attribute', value: float) -> None: ... + def signalStrength(self) -> int: ... + def setSignalStrength(self, signalStrength: int) -> None: ... + def satelliteIdentifier(self) -> int: ... + def setSatelliteIdentifier(self, satId: int) -> None: ... + def satelliteSystem(self) -> 'QGeoSatelliteInfo.SatelliteSystem': ... + def setSatelliteSystem(self, system: 'QGeoSatelliteInfo.SatelliteSystem') -> None: ... + + +class QGeoSatelliteInfoSource(QtCore.QObject): + + class Error(int): + AccessError = ... # type: QGeoSatelliteInfoSource.Error + ClosedError = ... # type: QGeoSatelliteInfoSource.Error + NoError = ... # type: QGeoSatelliteInfoSource.Error + UnknownSourceError = ... # type: QGeoSatelliteInfoSource.Error + + def __init__(self, parent: QtCore.QObject) -> None: ... + + def requestTimeout(self) -> None: ... + def satellitesInUseUpdated(self, satellites: typing.Iterable[QGeoSatelliteInfo]) -> None: ... + def satellitesInViewUpdated(self, satellites: typing.Iterable[QGeoSatelliteInfo]) -> None: ... + def requestUpdate(self, timeout: int = ...) -> None: ... + def stopUpdates(self) -> None: ... + def startUpdates(self) -> None: ... + @typing.overload + def error(self) -> 'QGeoSatelliteInfoSource.Error': ... + @typing.overload + def error(self, a0: 'QGeoSatelliteInfoSource.Error') -> None: ... + def minimumUpdateInterval(self) -> int: ... + def updateInterval(self) -> int: ... + def setUpdateInterval(self, msec: int) -> None: ... + def sourceName(self) -> str: ... + @staticmethod + def availableSources() -> typing.List[str]: ... + @typing.overload + @staticmethod + def createSource(sourceName: str, parent: QtCore.QObject) -> 'QGeoSatelliteInfoSource': ... + @typing.overload + @staticmethod + def createSource(sourceName: str, parameters: typing.Dict[str, typing.Any], parent: QtCore.QObject) -> 'QGeoSatelliteInfoSource': ... + @typing.overload + @staticmethod + def createDefaultSource(parent: QtCore.QObject) -> 'QGeoSatelliteInfoSource': ... + @typing.overload + @staticmethod + def createDefaultSource(parameters: typing.Dict[str, typing.Any], parent: QtCore.QObject) -> 'QGeoSatelliteInfoSource': ... + + +class QNmeaPositionInfoSource(QGeoPositionInfoSource): + + class UpdateMode(int): + RealTimeMode = ... # type: QNmeaPositionInfoSource.UpdateMode + SimulationMode = ... # type: QNmeaPositionInfoSource.UpdateMode + + def __init__(self, updateMode: 'QNmeaPositionInfoSource.UpdateMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def userEquivalentRangeError(self) -> float: ... + def setUserEquivalentRangeError(self, uere: float) -> None: ... + def parsePosInfoFromNmeaData(self, data: bytes, size: int, posInfo: QGeoPositionInfo) -> typing.Tuple[bool, bool]: ... + def requestUpdate(self, timeout: int = ...) -> None: ... + def stopUpdates(self) -> None: ... + def startUpdates(self) -> None: ... + def error(self) -> QGeoPositionInfoSource.Error: ... + def minimumUpdateInterval(self) -> int: ... + def supportedPositioningMethods(self) -> QGeoPositionInfoSource.PositioningMethods: ... + def lastKnownPosition(self, fromSatellitePositioningMethodsOnly: bool = ...) -> QGeoPositionInfo: ... + def setUpdateInterval(self, msec: int) -> None: ... + def device(self) -> QtCore.QIODevice: ... + def setDevice(self, source: QtCore.QIODevice) -> None: ... + def updateMode(self) -> 'QNmeaPositionInfoSource.UpdateMode': ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtPrintSupport.pyi b/OTHERS/Jarvis/ools/PyQt5/QtPrintSupport.pyi new file mode 100644 index 00000000..e1b03322 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtPrintSupport.pyi @@ -0,0 +1,436 @@ +# The PEP 484 type hints stub file for the QtPrintSupport module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QAbstractPrintDialog(QtWidgets.QDialog): + + class PrintDialogOption(int): + None_ = ... # type: QAbstractPrintDialog.PrintDialogOption + PrintToFile = ... # type: QAbstractPrintDialog.PrintDialogOption + PrintSelection = ... # type: QAbstractPrintDialog.PrintDialogOption + PrintPageRange = ... # type: QAbstractPrintDialog.PrintDialogOption + PrintCollateCopies = ... # type: QAbstractPrintDialog.PrintDialogOption + PrintShowPageSize = ... # type: QAbstractPrintDialog.PrintDialogOption + PrintCurrentPage = ... # type: QAbstractPrintDialog.PrintDialogOption + + class PrintRange(int): + AllPages = ... # type: QAbstractPrintDialog.PrintRange + Selection = ... # type: QAbstractPrintDialog.PrintRange + PageRange = ... # type: QAbstractPrintDialog.PrintRange + CurrentPage = ... # type: QAbstractPrintDialog.PrintRange + + class PrintDialogOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QAbstractPrintDialog.PrintDialogOptions', 'QAbstractPrintDialog.PrintDialogOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractPrintDialog.PrintDialogOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QAbstractPrintDialog.PrintDialogOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, printer: 'QPrinter', parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + def enabledOptions(self) -> 'QAbstractPrintDialog.PrintDialogOptions': ... + def setEnabledOptions(self, options: typing.Union['QAbstractPrintDialog.PrintDialogOptions', 'QAbstractPrintDialog.PrintDialogOption']) -> None: ... + def setOptionTabs(self, tabs: typing.Iterable[QtWidgets.QWidget]) -> None: ... + def printer(self) -> 'QPrinter': ... + def toPage(self) -> int: ... + def fromPage(self) -> int: ... + def setFromTo(self, fromPage: int, toPage: int) -> None: ... + def maxPage(self) -> int: ... + def minPage(self) -> int: ... + def setMinMax(self, min: int, max: int) -> None: ... + def printRange(self) -> 'QAbstractPrintDialog.PrintRange': ... + def setPrintRange(self, range: 'QAbstractPrintDialog.PrintRange') -> None: ... + def exec(self) -> int: ... + def exec_(self) -> int: ... + + +class QPageSetupDialog(QtWidgets.QDialog): + + @typing.overload + def __init__(self, printer: 'QPrinter', parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + def printer(self) -> 'QPrinter': ... + def done(self, result: int) -> None: ... + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def exec(self) -> int: ... + def exec_(self) -> int: ... + def setVisible(self, visible: bool) -> None: ... + + +class QPrintDialog(QAbstractPrintDialog): + + @typing.overload + def __init__(self, printer: 'QPrinter', parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + @typing.overload + def accepted(self) -> None: ... + @typing.overload + def accepted(self, printer: 'QPrinter') -> None: ... + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def setVisible(self, visible: bool) -> None: ... + def options(self) -> QAbstractPrintDialog.PrintDialogOptions: ... + def setOptions(self, options: typing.Union[QAbstractPrintDialog.PrintDialogOptions, QAbstractPrintDialog.PrintDialogOption]) -> None: ... + def testOption(self, option: QAbstractPrintDialog.PrintDialogOption) -> bool: ... + def setOption(self, option: QAbstractPrintDialog.PrintDialogOption, on: bool = ...) -> None: ... + def done(self, result: int) -> None: ... + def exec(self) -> int: ... + def exec_(self) -> int: ... + + +class QPrintEngine(sip.simplewrapper): + + class PrintEnginePropertyKey(int): + PPK_CollateCopies = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_ColorMode = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_Creator = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_DocumentName = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_FullPage = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_NumberOfCopies = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_Orientation = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_OutputFileName = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PageOrder = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PageRect = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PageSize = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PaperRect = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PaperSource = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PrinterName = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PrinterProgram = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_Resolution = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_SelectionOption = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_SupportedResolutions = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_WindowsPageSize = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_FontEmbedding = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_Duplex = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PaperSources = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_CustomPaperSize = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PageMargins = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PaperSize = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_CopyCount = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_SupportsMultipleCopies = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_PaperName = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_QPageSize = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_QPageMargins = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_QPageLayout = ... # type: QPrintEngine.PrintEnginePropertyKey + PPK_CustomBase = ... # type: QPrintEngine.PrintEnginePropertyKey + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QPrintEngine') -> None: ... + + def printerState(self) -> 'QPrinter.PrinterState': ... + def metric(self, a0: QtGui.QPaintDevice.PaintDeviceMetric) -> int: ... + def abort(self) -> bool: ... + def newPage(self) -> bool: ... + def property(self, key: 'QPrintEngine.PrintEnginePropertyKey') -> typing.Any: ... + def setProperty(self, key: 'QPrintEngine.PrintEnginePropertyKey', value: typing.Any) -> None: ... + + +class QPrinter(QtGui.QPagedPaintDevice): + + class DuplexMode(int): + DuplexNone = ... # type: QPrinter.DuplexMode + DuplexAuto = ... # type: QPrinter.DuplexMode + DuplexLongSide = ... # type: QPrinter.DuplexMode + DuplexShortSide = ... # type: QPrinter.DuplexMode + + class Unit(int): + Millimeter = ... # type: QPrinter.Unit + Point = ... # type: QPrinter.Unit + Inch = ... # type: QPrinter.Unit + Pica = ... # type: QPrinter.Unit + Didot = ... # type: QPrinter.Unit + Cicero = ... # type: QPrinter.Unit + DevicePixel = ... # type: QPrinter.Unit + + class PrintRange(int): + AllPages = ... # type: QPrinter.PrintRange + Selection = ... # type: QPrinter.PrintRange + PageRange = ... # type: QPrinter.PrintRange + CurrentPage = ... # type: QPrinter.PrintRange + + class OutputFormat(int): + NativeFormat = ... # type: QPrinter.OutputFormat + PdfFormat = ... # type: QPrinter.OutputFormat + + class PrinterState(int): + Idle = ... # type: QPrinter.PrinterState + Active = ... # type: QPrinter.PrinterState + Aborted = ... # type: QPrinter.PrinterState + Error = ... # type: QPrinter.PrinterState + + class PaperSource(int): + OnlyOne = ... # type: QPrinter.PaperSource + Lower = ... # type: QPrinter.PaperSource + Middle = ... # type: QPrinter.PaperSource + Manual = ... # type: QPrinter.PaperSource + Envelope = ... # type: QPrinter.PaperSource + EnvelopeManual = ... # type: QPrinter.PaperSource + Auto = ... # type: QPrinter.PaperSource + Tractor = ... # type: QPrinter.PaperSource + SmallFormat = ... # type: QPrinter.PaperSource + LargeFormat = ... # type: QPrinter.PaperSource + LargeCapacity = ... # type: QPrinter.PaperSource + Cassette = ... # type: QPrinter.PaperSource + FormSource = ... # type: QPrinter.PaperSource + MaxPageSource = ... # type: QPrinter.PaperSource + Upper = ... # type: QPrinter.PaperSource + CustomSource = ... # type: QPrinter.PaperSource + LastPaperSource = ... # type: QPrinter.PaperSource + + class ColorMode(int): + GrayScale = ... # type: QPrinter.ColorMode + Color = ... # type: QPrinter.ColorMode + + class PageOrder(int): + FirstPageFirst = ... # type: QPrinter.PageOrder + LastPageFirst = ... # type: QPrinter.PageOrder + + class Orientation(int): + Portrait = ... # type: QPrinter.Orientation + Landscape = ... # type: QPrinter.Orientation + + class PrinterMode(int): + ScreenResolution = ... # type: QPrinter.PrinterMode + PrinterResolution = ... # type: QPrinter.PrinterMode + HighResolution = ... # type: QPrinter.PrinterMode + + @typing.overload + def __init__(self, mode: 'QPrinter.PrinterMode' = ...) -> None: ... + @typing.overload + def __init__(self, printer: 'QPrinterInfo', mode: 'QPrinter.PrinterMode' = ...) -> None: ... + + def pdfVersion(self) -> QtGui.QPagedPaintDevice.PdfVersion: ... + def setPdfVersion(self, version: QtGui.QPagedPaintDevice.PdfVersion) -> None: ... + def paperName(self) -> str: ... + def setPaperName(self, paperName: str) -> None: ... + def setEngines(self, printEngine: QPrintEngine, paintEngine: QtGui.QPaintEngine) -> None: ... + def metric(self, a0: QtGui.QPaintDevice.PaintDeviceMetric) -> int: ... + def getPageMargins(self, unit: 'QPrinter.Unit') -> typing.Tuple[float, float, float, float]: ... + def setPageMargins(self, left: float, top: float, right: float, bottom: float, unit: 'QPrinter.Unit') -> None: ... + def setMargins(self, m: QtGui.QPagedPaintDevice.Margins) -> None: ... + def printRange(self) -> 'QPrinter.PrintRange': ... + def setPrintRange(self, range: 'QPrinter.PrintRange') -> None: ... + def toPage(self) -> int: ... + def fromPage(self) -> int: ... + def setFromTo(self, fromPage: int, toPage: int) -> None: ... + def printEngine(self) -> QPrintEngine: ... + def paintEngine(self) -> QtGui.QPaintEngine: ... + def printerState(self) -> 'QPrinter.PrinterState': ... + def abort(self) -> bool: ... + def newPage(self) -> bool: ... + @typing.overload + def pageRect(self) -> QtCore.QRect: ... + @typing.overload + def pageRect(self, a0: 'QPrinter.Unit') -> QtCore.QRectF: ... + @typing.overload + def paperRect(self) -> QtCore.QRect: ... + @typing.overload + def paperRect(self, a0: 'QPrinter.Unit') -> QtCore.QRectF: ... + def doubleSidedPrinting(self) -> bool: ... + def setDoubleSidedPrinting(self, enable: bool) -> None: ... + def fontEmbeddingEnabled(self) -> bool: ... + def setFontEmbeddingEnabled(self, enable: bool) -> None: ... + def supportedResolutions(self) -> typing.List[int]: ... + def duplex(self) -> 'QPrinter.DuplexMode': ... + def setDuplex(self, duplex: 'QPrinter.DuplexMode') -> None: ... + def paperSource(self) -> 'QPrinter.PaperSource': ... + def setPaperSource(self, a0: 'QPrinter.PaperSource') -> None: ... + def supportsMultipleCopies(self) -> bool: ... + def copyCount(self) -> int: ... + def setCopyCount(self, a0: int) -> None: ... + def fullPage(self) -> bool: ... + def setFullPage(self, a0: bool) -> None: ... + def collateCopies(self) -> bool: ... + def setCollateCopies(self, collate: bool) -> None: ... + def colorMode(self) -> 'QPrinter.ColorMode': ... + def setColorMode(self, a0: 'QPrinter.ColorMode') -> None: ... + def resolution(self) -> int: ... + def setResolution(self, a0: int) -> None: ... + def pageOrder(self) -> 'QPrinter.PageOrder': ... + def setPageOrder(self, a0: 'QPrinter.PageOrder') -> None: ... + @typing.overload + def paperSize(self) -> QtGui.QPagedPaintDevice.PageSize: ... + @typing.overload + def paperSize(self, unit: 'QPrinter.Unit') -> QtCore.QSizeF: ... + @typing.overload + def setPaperSize(self, a0: QtGui.QPagedPaintDevice.PageSize) -> None: ... + @typing.overload + def setPaperSize(self, paperSize: QtCore.QSizeF, unit: 'QPrinter.Unit') -> None: ... + def setPageSizeMM(self, size: QtCore.QSizeF) -> None: ... + def orientation(self) -> 'QPrinter.Orientation': ... + def setOrientation(self, a0: 'QPrinter.Orientation') -> None: ... + def creator(self) -> str: ... + def setCreator(self, a0: str) -> None: ... + def docName(self) -> str: ... + def setDocName(self, a0: str) -> None: ... + def printProgram(self) -> str: ... + def setPrintProgram(self, a0: str) -> None: ... + def outputFileName(self) -> str: ... + def setOutputFileName(self, a0: str) -> None: ... + def isValid(self) -> bool: ... + def printerName(self) -> str: ... + def setPrinterName(self, a0: str) -> None: ... + def outputFormat(self) -> 'QPrinter.OutputFormat': ... + def setOutputFormat(self, format: 'QPrinter.OutputFormat') -> None: ... + + +class QPrinterInfo(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, src: 'QPrinterInfo') -> None: ... + @typing.overload + def __init__(self, printer: QPrinter) -> None: ... + + def supportedColorModes(self) -> typing.List[QPrinter.ColorMode]: ... + def defaultColorMode(self) -> QPrinter.ColorMode: ... + def supportedDuplexModes(self) -> typing.List[QPrinter.DuplexMode]: ... + def defaultDuplexMode(self) -> QPrinter.DuplexMode: ... + @staticmethod + def defaultPrinterName() -> str: ... + @staticmethod + def availablePrinterNames() -> typing.List[str]: ... + def supportedResolutions(self) -> typing.List[int]: ... + def maximumPhysicalPageSize(self) -> QtGui.QPageSize: ... + def minimumPhysicalPageSize(self) -> QtGui.QPageSize: ... + def supportsCustomPageSizes(self) -> bool: ... + def defaultPageSize(self) -> QtGui.QPageSize: ... + def supportedPageSizes(self) -> typing.List[QtGui.QPageSize]: ... + def state(self) -> QPrinter.PrinterState: ... + def isRemote(self) -> bool: ... + @staticmethod + def printerInfo(printerName: str) -> 'QPrinterInfo': ... + def makeAndModel(self) -> str: ... + def location(self) -> str: ... + def description(self) -> str: ... + @staticmethod + def defaultPrinter() -> 'QPrinterInfo': ... + @staticmethod + def availablePrinters() -> typing.List['QPrinterInfo']: ... + def supportedSizesWithNames(self) -> typing.List[typing.Tuple[str, QtCore.QSizeF]]: ... + def supportedPaperSizes(self) -> typing.List[QtGui.QPagedPaintDevice.PageSize]: ... + def isDefault(self) -> bool: ... + def isNull(self) -> bool: ... + def printerName(self) -> str: ... + + +class QPrintPreviewDialog(QtWidgets.QDialog): + + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, printer: QPrinter, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def paintRequested(self, printer: QPrinter) -> None: ... + def done(self, result: int) -> None: ... + def printer(self) -> QPrinter: ... + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def setVisible(self, visible: bool) -> None: ... + + +class QPrintPreviewWidget(QtWidgets.QWidget): + + class ZoomMode(int): + CustomZoom = ... # type: QPrintPreviewWidget.ZoomMode + FitToWidth = ... # type: QPrintPreviewWidget.ZoomMode + FitInView = ... # type: QPrintPreviewWidget.ZoomMode + + class ViewMode(int): + SinglePageView = ... # type: QPrintPreviewWidget.ViewMode + FacingPagesView = ... # type: QPrintPreviewWidget.ViewMode + AllPagesView = ... # type: QPrintPreviewWidget.ViewMode + + @typing.overload + def __init__(self, printer: QPrinter, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def pageCount(self) -> int: ... + def previewChanged(self) -> None: ... + def paintRequested(self, printer: QPrinter) -> None: ... + def updatePreview(self) -> None: ... + def setAllPagesViewMode(self) -> None: ... + def setFacingPagesViewMode(self) -> None: ... + def setSinglePageViewMode(self) -> None: ... + def setPortraitOrientation(self) -> None: ... + def setLandscapeOrientation(self) -> None: ... + def fitInView(self) -> None: ... + def fitToWidth(self) -> None: ... + def setCurrentPage(self, pageNumber: int) -> None: ... + def setZoomMode(self, zoomMode: 'QPrintPreviewWidget.ZoomMode') -> None: ... + def setViewMode(self, viewMode: 'QPrintPreviewWidget.ViewMode') -> None: ... + def setOrientation(self, orientation: QPrinter.Orientation) -> None: ... + def setZoomFactor(self, zoomFactor: float) -> None: ... + def zoomOut(self, factor: float = ...) -> None: ... + def zoomIn(self, factor: float = ...) -> None: ... + def print(self) -> None: ... + def print_(self) -> None: ... + def setVisible(self, visible: bool) -> None: ... + def currentPage(self) -> int: ... + def zoomMode(self) -> 'QPrintPreviewWidget.ZoomMode': ... + def viewMode(self) -> 'QPrintPreviewWidget.ViewMode': ... + def orientation(self) -> QPrinter.Orientation: ... + def zoomFactor(self) -> float: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtQml.pyi b/OTHERS/Jarvis/ools/PyQt5/QtQml.pyi new file mode 100644 index 00000000..cfa7a2cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtQml.pyi @@ -0,0 +1,669 @@ +# The PEP 484 type hints stub file for the QtQml module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtNetwork +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QJSEngine(QtCore.QObject): + + class Extension(int): + TranslationExtension = ... # type: QJSEngine.Extension + ConsoleExtension = ... # type: QJSEngine.Extension + GarbageCollectionExtension = ... # type: QJSEngine.Extension + AllExtensions = ... # type: QJSEngine.Extension + + class Extensions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QJSEngine.Extensions', 'QJSEngine.Extension']) -> None: ... + @typing.overload + def __init__(self, a0: 'QJSEngine.Extensions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QJSEngine.Extensions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, parent: QtCore.QObject) -> None: ... + + def uiLanguageChanged(self) -> None: ... + def setUiLanguage(self, language: str) -> None: ... + def uiLanguage(self) -> str: ... + def isInterrupted(self) -> bool: ... + def setInterrupted(self, interrupted: bool) -> None: ... + @typing.overload + def throwError(self, message: str) -> None: ... + @typing.overload + def throwError(self, errorType: 'QJSValue.ErrorType', message: str = ...) -> None: ... + def newErrorObject(self, errorType: 'QJSValue.ErrorType', message: str = ...) -> 'QJSValue': ... + def importModule(self, fileName: str) -> 'QJSValue': ... + def newQMetaObject(self, metaObject: QtCore.QMetaObject) -> 'QJSValue': ... + def installExtensions(self, extensions: typing.Union['QJSEngine.Extensions', 'QJSEngine.Extension'], object: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str] = ...) -> None: ... + def installTranslatorFunctions(self, object: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str] = ...) -> None: ... + def collectGarbage(self) -> None: ... + def newQObject(self, object: QtCore.QObject) -> 'QJSValue': ... + def newArray(self, length: int = ...) -> 'QJSValue': ... + def newObject(self) -> 'QJSValue': ... + def evaluate(self, program: str, fileName: str = ..., lineNumber: int = ...) -> 'QJSValue': ... + def globalObject(self) -> 'QJSValue': ... + + +class QJSValue(sip.simplewrapper): + + class ErrorType(int): + GenericError = ... # type: QJSValue.ErrorType + EvalError = ... # type: QJSValue.ErrorType + RangeError = ... # type: QJSValue.ErrorType + ReferenceError = ... # type: QJSValue.ErrorType + SyntaxError = ... # type: QJSValue.ErrorType + TypeError = ... # type: QJSValue.ErrorType + URIError = ... # type: QJSValue.ErrorType + + class SpecialValue(int): + NullValue = ... # type: QJSValue.SpecialValue + UndefinedValue = ... # type: QJSValue.SpecialValue + + @typing.overload + def __init__(self, value: 'QJSValue.SpecialValue' = ...) -> None: ... + @typing.overload + def __init__(self, other: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]) -> None: ... + + def errorType(self) -> 'QJSValue.ErrorType': ... + def callAsConstructor(self, args: typing.Iterable[typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]] = ...) -> 'QJSValue': ... + def callWithInstance(self, instance: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str], args: typing.Iterable[typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]] = ...) -> 'QJSValue': ... + def call(self, args: typing.Iterable[typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]] = ...) -> 'QJSValue': ... + def isCallable(self) -> bool: ... + def deleteProperty(self, name: str) -> bool: ... + def hasOwnProperty(self, name: str) -> bool: ... + def hasProperty(self, name: str) -> bool: ... + @typing.overload + def setProperty(self, name: str, value: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]) -> None: ... + @typing.overload + def setProperty(self, arrayIndex: int, value: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]) -> None: ... + @typing.overload + def property(self, name: str) -> 'QJSValue': ... + @typing.overload + def property(self, arrayIndex: int) -> 'QJSValue': ... + def setPrototype(self, prototype: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]) -> None: ... + def prototype(self) -> 'QJSValue': ... + def strictlyEquals(self, other: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]) -> bool: ... + def equals(self, other: typing.Union['QJSValue', 'QJSValue.SpecialValue', bool, int, float, str]) -> bool: ... + def toDateTime(self) -> QtCore.QDateTime: ... + def toQObject(self) -> QtCore.QObject: ... + def toVariant(self) -> typing.Any: ... + def toBool(self) -> bool: ... + def toUInt(self) -> int: ... + def toInt(self) -> int: ... + def toNumber(self) -> float: ... + def toString(self) -> str: ... + def isError(self) -> bool: ... + def isArray(self) -> bool: ... + def isRegExp(self) -> bool: ... + def isDate(self) -> bool: ... + def isObject(self) -> bool: ... + def isQObject(self) -> bool: ... + def isVariant(self) -> bool: ... + def isUndefined(self) -> bool: ... + def isString(self) -> bool: ... + def isNull(self) -> bool: ... + def isNumber(self) -> bool: ... + def isBool(self) -> bool: ... + + +class QJSValueIterator(sip.simplewrapper): + + def __init__(self, value: typing.Union[QJSValue, QJSValue.SpecialValue, bool, int, float, str]) -> None: ... + + def value(self) -> QJSValue: ... + def name(self) -> str: ... + def next(self) -> bool: ... + def hasNext(self) -> bool: ... + + +class QQmlAbstractUrlInterceptor(sip.simplewrapper): + + class DataType(int): + QmlFile = ... # type: QQmlAbstractUrlInterceptor.DataType + JavaScriptFile = ... # type: QQmlAbstractUrlInterceptor.DataType + QmldirFile = ... # type: QQmlAbstractUrlInterceptor.DataType + UrlString = ... # type: QQmlAbstractUrlInterceptor.DataType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlAbstractUrlInterceptor') -> None: ... + + def intercept(self, path: QtCore.QUrl, type: 'QQmlAbstractUrlInterceptor.DataType') -> QtCore.QUrl: ... + + +class QQmlEngine(QJSEngine): + + class ObjectOwnership(int): + CppOwnership = ... # type: QQmlEngine.ObjectOwnership + JavaScriptOwnership = ... # type: QQmlEngine.ObjectOwnership + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def singletonInstance(self, qmlTypeId: int) -> QtCore.QObject: ... + def retranslate(self) -> None: ... + def offlineStorageDatabaseFilePath(self, databaseName: str) -> str: ... + def exit(self, retCode: int) -> None: ... + def warnings(self, warnings: typing.Iterable['QQmlError']) -> None: ... + def quit(self) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + @staticmethod + def objectOwnership(a0: QtCore.QObject) -> 'QQmlEngine.ObjectOwnership': ... + @staticmethod + def setObjectOwnership(a0: QtCore.QObject, a1: 'QQmlEngine.ObjectOwnership') -> None: ... + @staticmethod + def setContextForObject(a0: QtCore.QObject, a1: 'QQmlContext') -> None: ... + @staticmethod + def contextForObject(a0: QtCore.QObject) -> 'QQmlContext': ... + def setOutputWarningsToStandardError(self, a0: bool) -> None: ... + def outputWarningsToStandardError(self) -> bool: ... + def setBaseUrl(self, a0: QtCore.QUrl) -> None: ... + def baseUrl(self) -> QtCore.QUrl: ... + def offlineStoragePath(self) -> str: ... + def setOfflineStoragePath(self, dir: str) -> None: ... + def incubationController(self) -> 'QQmlIncubationController': ... + def setIncubationController(self, a0: 'QQmlIncubationController') -> None: ... + def removeImageProvider(self, id: str) -> None: ... + def imageProvider(self, id: str) -> 'QQmlImageProviderBase': ... + def addImageProvider(self, id: str, a1: 'QQmlImageProviderBase') -> None: ... + def networkAccessManager(self) -> QtNetwork.QNetworkAccessManager: ... + def networkAccessManagerFactory(self) -> 'QQmlNetworkAccessManagerFactory': ... + def setNetworkAccessManagerFactory(self, a0: 'QQmlNetworkAccessManagerFactory') -> None: ... + def importPlugin(self, filePath: str, uri: str, errors: typing.Iterable['QQmlError']) -> bool: ... + def addNamedBundle(self, name: str, fileName: str) -> bool: ... + def addPluginPath(self, dir: str) -> None: ... + def setPluginPathList(self, paths: typing.Iterable[str]) -> None: ... + def pluginPathList(self) -> typing.List[str]: ... + def addImportPath(self, dir: str) -> None: ... + def setImportPathList(self, paths: typing.Iterable[str]) -> None: ... + def importPathList(self) -> typing.List[str]: ... + def trimComponentCache(self) -> None: ... + def clearComponentCache(self) -> None: ... + def rootContext(self) -> 'QQmlContext': ... + + +class QQmlApplicationEngine(QQmlEngine): + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, url: QtCore.QUrl, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, filePath: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def objectCreated(self, object: QtCore.QObject, url: QtCore.QUrl) -> None: ... + def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any]) -> None: ... + def loadData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray], url: QtCore.QUrl = ...) -> None: ... + @typing.overload + def load(self, url: QtCore.QUrl) -> None: ... + @typing.overload + def load(self, filePath: str) -> None: ... + def rootObjects(self) -> typing.List[QtCore.QObject]: ... + + +class QQmlComponent(QtCore.QObject): + + class Status(int): + Null = ... # type: QQmlComponent.Status + Ready = ... # type: QQmlComponent.Status + Loading = ... # type: QQmlComponent.Status + Error = ... # type: QQmlComponent.Status + + class CompilationMode(int): + PreferSynchronous = ... # type: QQmlComponent.CompilationMode + Asynchronous = ... # type: QQmlComponent.CompilationMode + + @typing.overload + def __init__(self, a0: QQmlEngine, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, a0: QQmlEngine, fileName: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, a0: QQmlEngine, fileName: str, mode: 'QQmlComponent.CompilationMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, a0: QQmlEngine, url: QtCore.QUrl, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, a0: QQmlEngine, url: QtCore.QUrl, mode: 'QQmlComponent.CompilationMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setInitialProperties(self, component: QtCore.QObject, properties: typing.Dict[str, typing.Any]) -> None: ... + def engine(self) -> QQmlEngine: ... + def progressChanged(self, a0: float) -> None: ... + def statusChanged(self, a0: 'QQmlComponent.Status') -> None: ... + def setData(self, a0: typing.Union[QtCore.QByteArray, bytes, bytearray], baseUrl: QtCore.QUrl) -> None: ... + @typing.overload + def loadUrl(self, url: QtCore.QUrl) -> None: ... + @typing.overload + def loadUrl(self, url: QtCore.QUrl, mode: 'QQmlComponent.CompilationMode') -> None: ... + def creationContext(self) -> 'QQmlContext': ... + def completeCreate(self) -> None: ... + def beginCreate(self, a0: 'QQmlContext') -> QtCore.QObject: ... + def createWithInitialProperties(self, initialProperties: typing.Dict[str, typing.Any], context: typing.Optional['QQmlContext'] = ...) -> QtCore.QObject: ... + @typing.overload + def create(self, context: typing.Optional['QQmlContext'] = ...) -> QtCore.QObject: ... + @typing.overload + def create(self, a0: 'QQmlIncubator', context: typing.Optional['QQmlContext'] = ..., forContext: typing.Optional['QQmlContext'] = ...) -> None: ... + def url(self) -> QtCore.QUrl: ... + def progress(self) -> float: ... + def errors(self) -> typing.List['QQmlError']: ... + def isLoading(self) -> bool: ... + def isError(self) -> bool: ... + def isReady(self) -> bool: ... + def isNull(self) -> bool: ... + def status(self) -> 'QQmlComponent.Status': ... + + +class QQmlContext(QtCore.QObject): + + class PropertyPair(sip.simplewrapper): + + name = ... # type: str + value = ... # type: typing.Any + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlContext.PropertyPair') -> None: ... + + @typing.overload + def __init__(self, engine: QQmlEngine, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, parentContext: 'QQmlContext', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setContextProperties(self, properties: typing.Iterable['QQmlContext.PropertyPair']) -> None: ... + def baseUrl(self) -> QtCore.QUrl: ... + def setBaseUrl(self, a0: QtCore.QUrl) -> None: ... + def resolvedUrl(self, a0: QtCore.QUrl) -> QtCore.QUrl: ... + def nameForObject(self, a0: QtCore.QObject) -> str: ... + @typing.overload + def setContextProperty(self, a0: str, a1: QtCore.QObject) -> None: ... + @typing.overload + def setContextProperty(self, a0: str, a1: typing.Any) -> None: ... + def contextProperty(self, a0: str) -> typing.Any: ... + def setContextObject(self, a0: QtCore.QObject) -> None: ... + def contextObject(self) -> QtCore.QObject: ... + def parentContext(self) -> 'QQmlContext': ... + def engine(self) -> QQmlEngine: ... + def isValid(self) -> bool: ... + + +class QQmlImageProviderBase(PyQt5.sip.wrapper): + + class Flag(int): + ForceAsynchronousImageLoading = ... # type: QQmlImageProviderBase.Flag + + class ImageType(int): + Image = ... # type: QQmlImageProviderBase.ImageType + Pixmap = ... # type: QQmlImageProviderBase.ImageType + Texture = ... # type: QQmlImageProviderBase.ImageType + ImageResponse = ... # type: QQmlImageProviderBase.ImageType + + class Flags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QQmlImageProviderBase.Flags', 'QQmlImageProviderBase.Flag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlImageProviderBase.Flags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QQmlImageProviderBase.Flags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, a0: 'QQmlImageProviderBase') -> None: ... + + def flags(self) -> 'QQmlImageProviderBase.Flags': ... + def imageType(self) -> 'QQmlImageProviderBase.ImageType': ... + + +class QQmlError(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlError') -> None: ... + + def setMessageType(self, messageType: QtCore.QtMsgType) -> None: ... + def messageType(self) -> QtCore.QtMsgType: ... + def setObject(self, a0: QtCore.QObject) -> None: ... + def object(self) -> QtCore.QObject: ... + def toString(self) -> str: ... + def setColumn(self, a0: int) -> None: ... + def column(self) -> int: ... + def setLine(self, a0: int) -> None: ... + def line(self) -> int: ... + def setDescription(self, a0: str) -> None: ... + def description(self) -> str: ... + def setUrl(self, a0: QtCore.QUrl) -> None: ... + def url(self) -> QtCore.QUrl: ... + def isValid(self) -> bool: ... + + +class QQmlExpression(QtCore.QObject): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: QQmlContext, a1: QtCore.QObject, a2: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlScriptString', context: typing.Optional[QQmlContext] = ..., scope: typing.Optional[QtCore.QObject] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def valueChanged(self) -> None: ... + def evaluate(self) -> typing.Tuple[typing.Any, bool]: ... + def error(self) -> QQmlError: ... + def clearError(self) -> None: ... + def hasError(self) -> bool: ... + def scopeObject(self) -> QtCore.QObject: ... + def setSourceLocation(self, fileName: str, line: int, column: int = ...) -> None: ... + def columnNumber(self) -> int: ... + def lineNumber(self) -> int: ... + def sourceFile(self) -> str: ... + def setNotifyOnValueChanged(self, a0: bool) -> None: ... + def notifyOnValueChanged(self) -> bool: ... + def setExpression(self, a0: str) -> None: ... + def expression(self) -> str: ... + def context(self) -> QQmlContext: ... + def engine(self) -> QQmlEngine: ... + + +class QQmlExtensionPlugin(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def baseUrl(self) -> QtCore.QUrl: ... + def initializeEngine(self, engine: QQmlEngine, uri: str) -> None: ... + def registerTypes(self, uri: str) -> None: ... + + +class QQmlEngineExtensionPlugin(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def initializeEngine(self, engine: QQmlEngine, uri: str) -> None: ... + + +class QQmlFileSelector(QtCore.QObject): + + def __init__(self, engine: QQmlEngine, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def selector(self) -> QtCore.QFileSelector: ... + @staticmethod + def get(a0: QQmlEngine) -> 'QQmlFileSelector': ... + def setExtraSelectors(self, strings: typing.Iterable[str]) -> None: ... + def setSelector(self, selector: QtCore.QFileSelector) -> None: ... + + +class QQmlIncubator(sip.simplewrapper): + + class Status(int): + Null = ... # type: QQmlIncubator.Status + Ready = ... # type: QQmlIncubator.Status + Loading = ... # type: QQmlIncubator.Status + Error = ... # type: QQmlIncubator.Status + + class IncubationMode(int): + Asynchronous = ... # type: QQmlIncubator.IncubationMode + AsynchronousIfNested = ... # type: QQmlIncubator.IncubationMode + Synchronous = ... # type: QQmlIncubator.IncubationMode + + def __init__(self, mode: 'QQmlIncubator.IncubationMode' = ...) -> None: ... + + def setInitialState(self, a0: QtCore.QObject) -> None: ... + def statusChanged(self, a0: 'QQmlIncubator.Status') -> None: ... + def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any]) -> None: ... + def object(self) -> QtCore.QObject: ... + def status(self) -> 'QQmlIncubator.Status': ... + def incubationMode(self) -> 'QQmlIncubator.IncubationMode': ... + def errors(self) -> typing.List[QQmlError]: ... + def isLoading(self) -> bool: ... + def isError(self) -> bool: ... + def isReady(self) -> bool: ... + def isNull(self) -> bool: ... + def forceCompletion(self) -> None: ... + def clear(self) -> None: ... + + +class QQmlIncubationController(sip.simplewrapper): + + def __init__(self) -> None: ... + + def incubatingObjectCountChanged(self, a0: int) -> None: ... + def incubateFor(self, msecs: int) -> None: ... + def incubatingObjectCount(self) -> int: ... + def engine(self) -> QQmlEngine: ... + + +class QQmlListReference(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QObject, property: str, engine: typing.Optional[QQmlEngine] = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlListReference') -> None: ... + + def removeLast(self) -> bool: ... + def replace(self, a0: int, a1: QtCore.QObject) -> bool: ... + def canRemoveLast(self) -> bool: ... + def canReplace(self) -> bool: ... + def count(self) -> int: ... + def clear(self) -> bool: ... + def at(self, a0: int) -> QtCore.QObject: ... + def append(self, a0: QtCore.QObject) -> bool: ... + def isReadable(self) -> bool: ... + def isManipulable(self) -> bool: ... + def canCount(self) -> bool: ... + def canClear(self) -> bool: ... + def canAt(self) -> bool: ... + def canAppend(self) -> bool: ... + def listElementType(self) -> QtCore.QMetaObject: ... + def object(self) -> QtCore.QObject: ... + def isValid(self) -> bool: ... + + +class QQmlNetworkAccessManagerFactory(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlNetworkAccessManagerFactory') -> None: ... + + def create(self, parent: QtCore.QObject) -> QtNetwork.QNetworkAccessManager: ... + + +class QQmlParserStatus(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlParserStatus') -> None: ... + + def componentComplete(self) -> None: ... + def classBegin(self) -> None: ... + + +class QQmlProperty(sip.simplewrapper): + + class Type(int): + Invalid = ... # type: QQmlProperty.Type + Property = ... # type: QQmlProperty.Type + SignalProperty = ... # type: QQmlProperty.Type + + class PropertyTypeCategory(int): + InvalidCategory = ... # type: QQmlProperty.PropertyTypeCategory + List = ... # type: QQmlProperty.PropertyTypeCategory + Object = ... # type: QQmlProperty.PropertyTypeCategory + Normal = ... # type: QQmlProperty.PropertyTypeCategory + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QObject) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QObject, a1: QQmlContext) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QObject, a1: QQmlEngine) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QObject, a1: str) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QObject, a1: str, a2: QQmlContext) -> None: ... + @typing.overload + def __init__(self, a0: QtCore.QObject, a1: str, a2: QQmlEngine) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlProperty') -> None: ... + + def method(self) -> QtCore.QMetaMethod: ... + def property(self) -> QtCore.QMetaProperty: ... + def index(self) -> int: ... + def object(self) -> QtCore.QObject: ... + def isResettable(self) -> bool: ... + def isDesignable(self) -> bool: ... + def isWritable(self) -> bool: ... + @typing.overload + def connectNotifySignal(self, slot: PYQT_SLOT) -> bool: ... + @typing.overload + def connectNotifySignal(self, dest: QtCore.QObject, method: int) -> bool: ... + def needsNotifySignal(self) -> bool: ... + def hasNotifySignal(self) -> bool: ... + def reset(self) -> bool: ... + @typing.overload + def write(self, a0: typing.Any) -> bool: ... + @typing.overload + @staticmethod + def write(a0: QtCore.QObject, a1: str, a2: typing.Any) -> bool: ... + @typing.overload + @staticmethod + def write(a0: QtCore.QObject, a1: str, a2: typing.Any, a3: QQmlContext) -> bool: ... + @typing.overload + @staticmethod + def write(a0: QtCore.QObject, a1: str, a2: typing.Any, a3: QQmlEngine) -> bool: ... + @typing.overload + def read(self) -> typing.Any: ... + @typing.overload + @staticmethod + def read(a0: QtCore.QObject, a1: str) -> typing.Any: ... + @typing.overload + @staticmethod + def read(a0: QtCore.QObject, a1: str, a2: QQmlContext) -> typing.Any: ... + @typing.overload + @staticmethod + def read(a0: QtCore.QObject, a1: str, a2: QQmlEngine) -> typing.Any: ... + def name(self) -> str: ... + def propertyTypeName(self) -> str: ... + def propertyTypeCategory(self) -> 'QQmlProperty.PropertyTypeCategory': ... + def propertyType(self) -> int: ... + def isSignalProperty(self) -> bool: ... + def isProperty(self) -> bool: ... + def isValid(self) -> bool: ... + def type(self) -> 'QQmlProperty.Type': ... + def __hash__(self) -> int: ... + + +class QQmlPropertyMap(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def updateValue(self, key: str, input: typing.Any) -> typing.Any: ... + def valueChanged(self, key: str, value: typing.Any) -> None: ... + def __getitem__(self, key: str) -> typing.Any: ... + def contains(self, key: str) -> bool: ... + def isEmpty(self) -> bool: ... + def __len__(self) -> int: ... + def size(self) -> int: ... + def count(self) -> int: ... + def keys(self) -> typing.List[str]: ... + def clear(self, key: str) -> None: ... + def insert(self, key: str, value: typing.Any) -> None: ... + def value(self, key: str) -> typing.Any: ... + + +class QQmlPropertyValueSource(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlPropertyValueSource') -> None: ... + + def setTarget(self, a0: QQmlProperty) -> None: ... + + +class QQmlScriptString(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQmlScriptString') -> None: ... + + def booleanLiteral(self) -> typing.Tuple[bool, bool]: ... + def numberLiteral(self) -> typing.Tuple[float, bool]: ... + def stringLiteral(self) -> str: ... + def isNullLiteral(self) -> bool: ... + def isUndefinedLiteral(self) -> bool: ... + def isEmpty(self) -> bool: ... + + +@typing.overload +def qmlRegisterUncreatableType(a0: type, uri: str, major: int, minor: int, qmlName: str, reason: str) -> int: ... +@typing.overload +def qmlRegisterUncreatableType(a0: type, revision: int, uri: str, major: int, minor: int, qmlName: str, reason: str) -> int: ... +@typing.overload +def qmlRegisterType(url: QtCore.QUrl, uri: str, major: int, minor: int, qmlName: str) -> int: ... +@typing.overload +def qmlRegisterType(a0: type, attachedProperties: type = ...) -> int: ... +@typing.overload +def qmlRegisterType(a0: type, uri: str, major: int, minor: int, qmlName: str, attachedProperties: type = ...) -> int: ... +@typing.overload +def qmlRegisterType(a0: type, revision: int, uri: str, major: int, minor: int, qmlName: str, attachedProperties: type = ...) -> int: ... +@typing.overload +def qmlRegisterSingletonType(url: QtCore.QUrl, uri: str, major: int, minor: int, qmlName: str) -> int: ... +@typing.overload +def qmlRegisterSingletonType(a0: type, uri: str, major: int, minor: int, typeName: str, factory: typing.Callable[[QQmlEngine, QJSEngine], typing.Any]) -> int: ... +def qmlRegisterRevision(a0: type, revision: int, uri: str, major: int, minor: int, attachedProperties: type = ...) -> int: ... +def qmlAttachedPropertiesObject(a0: type, object: QtCore.QObject, create: bool = ...) -> QtCore.QObject: ... +def qjsEngine(a0: QtCore.QObject) -> QJSEngine: ... +def qmlTypeId(uri: str, versionMajor: int, versionMinor: int, qmlName: str) -> int: ... +def qmlClearTypeRegistrations() -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtQuick.pyi b/OTHERS/Jarvis/ools/PyQt5/QtQuick.pyi new file mode 100644 index 00000000..16d5a67f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtQuick.pyi @@ -0,0 +1,1582 @@ +# The PEP 484 type hints stub file for the QtQuick module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtQml +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QQuickItem(QtCore.QObject, QtQml.QQmlParserStatus): + + class TransformOrigin(int): + TopLeft = ... # type: QQuickItem.TransformOrigin + Top = ... # type: QQuickItem.TransformOrigin + TopRight = ... # type: QQuickItem.TransformOrigin + Left = ... # type: QQuickItem.TransformOrigin + Center = ... # type: QQuickItem.TransformOrigin + Right = ... # type: QQuickItem.TransformOrigin + BottomLeft = ... # type: QQuickItem.TransformOrigin + Bottom = ... # type: QQuickItem.TransformOrigin + BottomRight = ... # type: QQuickItem.TransformOrigin + + class ItemChange(int): + ItemChildAddedChange = ... # type: QQuickItem.ItemChange + ItemChildRemovedChange = ... # type: QQuickItem.ItemChange + ItemSceneChange = ... # type: QQuickItem.ItemChange + ItemVisibleHasChanged = ... # type: QQuickItem.ItemChange + ItemParentHasChanged = ... # type: QQuickItem.ItemChange + ItemOpacityHasChanged = ... # type: QQuickItem.ItemChange + ItemActiveFocusHasChanged = ... # type: QQuickItem.ItemChange + ItemRotationHasChanged = ... # type: QQuickItem.ItemChange + ItemAntialiasingHasChanged = ... # type: QQuickItem.ItemChange + ItemDevicePixelRatioHasChanged = ... # type: QQuickItem.ItemChange + ItemEnabledHasChanged = ... # type: QQuickItem.ItemChange + + class Flag(int): + ItemClipsChildrenToShape = ... # type: QQuickItem.Flag + ItemAcceptsInputMethod = ... # type: QQuickItem.Flag + ItemIsFocusScope = ... # type: QQuickItem.Flag + ItemHasContents = ... # type: QQuickItem.Flag + ItemAcceptsDrops = ... # type: QQuickItem.Flag + + class Flags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QQuickItem.Flags', 'QQuickItem.Flag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuickItem.Flags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QQuickItem.Flags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ItemChangeData(sip.simplewrapper): + + boolValue = ... # type: bool + item = ... # type: 'QQuickItem' + realValue = ... # type: float + window = ... # type: 'QQuickWindow' + + @typing.overload + def __init__(self, v: 'QQuickItem') -> None: ... + @typing.overload + def __init__(self, v: 'QQuickWindow') -> None: ... + @typing.overload + def __init__(self, v: float) -> None: ... + @typing.overload + def __init__(self, v: bool) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuickItem.ItemChangeData') -> None: ... + + class UpdatePaintNodeData(sip.simplewrapper): + + transformNode = ... # type: 'QSGTransformNode' + + def __init__(self, a0: 'QQuickItem.UpdatePaintNodeData') -> None: ... + + def __init__(self, parent: typing.Optional['QQuickItem'] = ...) -> None: ... + + def containmentMaskChanged(self) -> None: ... + def setContainmentMask(self, mask: QtCore.QObject) -> None: ... + def containmentMask(self) -> QtCore.QObject: ... + def setAcceptTouchEvents(self, accept: bool) -> None: ... + def acceptTouchEvents(self) -> bool: ... + def size(self) -> QtCore.QSizeF: ... + def mapFromGlobal(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + def mapToGlobal(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + def isAncestorOf(self, child: 'QQuickItem') -> bool: ... + def grabToImage(self, targetSize: QtCore.QSize = ...) -> 'QQuickItemGrabResult': ... + def resetAntialiasing(self) -> None: ... + def windowChanged(self, window: 'QQuickWindow') -> None: ... + def nextItemInFocusChain(self, forward: bool = ...) -> 'QQuickItem': ... + def setActiveFocusOnTab(self, a0: bool) -> None: ... + def activeFocusOnTab(self) -> bool: ... + def updatePolish(self) -> None: ... + def releaseResources(self) -> None: ... + def updatePaintNode(self, a0: 'QSGNode', a1: 'QQuickItem.UpdatePaintNodeData') -> 'QSGNode': ... + def geometryChanged(self, newGeometry: QtCore.QRectF, oldGeometry: QtCore.QRectF) -> None: ... + def childMouseEventFilter(self, a0: 'QQuickItem', a1: QtCore.QEvent) -> bool: ... + def dropEvent(self, a0: QtGui.QDropEvent) -> None: ... + def dragLeaveEvent(self, a0: QtGui.QDragLeaveEvent) -> None: ... + def dragMoveEvent(self, a0: QtGui.QDragMoveEvent) -> None: ... + def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ... + def hoverLeaveEvent(self, event: QtGui.QHoverEvent) -> None: ... + def hoverMoveEvent(self, event: QtGui.QHoverEvent) -> None: ... + def hoverEnterEvent(self, event: QtGui.QHoverEvent) -> None: ... + def touchEvent(self, event: QtGui.QTouchEvent) -> None: ... + def wheelEvent(self, event: QtGui.QWheelEvent) -> None: ... + def touchUngrabEvent(self) -> None: ... + def mouseUngrabEvent(self) -> None: ... + def mouseDoubleClickEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ... + def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ... + def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... + def componentComplete(self) -> None: ... + def classBegin(self) -> None: ... + def heightValid(self) -> bool: ... + def widthValid(self) -> bool: ... + def updateInputMethod(self, queries: typing.Union[QtCore.Qt.InputMethodQueries, QtCore.Qt.InputMethodQuery] = ...) -> None: ... + def itemChange(self, a0: 'QQuickItem.ItemChange', a1: 'QQuickItem.ItemChangeData') -> None: ... + def isComponentComplete(self) -> bool: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def update(self) -> None: ... + def textureProvider(self) -> 'QSGTextureProvider': ... + def isTextureProvider(self) -> bool: ... + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def childAt(self, x: float, y: float) -> 'QQuickItem': ... + @typing.overload + def forceActiveFocus(self) -> None: ... + @typing.overload + def forceActiveFocus(self, reason: QtCore.Qt.FocusReason) -> None: ... + def polish(self) -> None: ... + def mapRectFromScene(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + def mapRectFromItem(self, item: 'QQuickItem', rect: QtCore.QRectF) -> QtCore.QRectF: ... + def mapFromScene(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + def mapFromItem(self, item: 'QQuickItem', point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + def mapRectToScene(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + def mapRectToItem(self, item: 'QQuickItem', rect: QtCore.QRectF) -> QtCore.QRectF: ... + def mapToScene(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + def mapToItem(self, item: 'QQuickItem', point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def setKeepTouchGrab(self, a0: bool) -> None: ... + def keepTouchGrab(self) -> bool: ... + def ungrabTouchPoints(self) -> None: ... + def grabTouchPoints(self, ids: typing.Iterable[int]) -> None: ... + def setFiltersChildMouseEvents(self, filter: bool) -> None: ... + def filtersChildMouseEvents(self) -> bool: ... + def setKeepMouseGrab(self, a0: bool) -> None: ... + def keepMouseGrab(self) -> bool: ... + def ungrabMouse(self) -> None: ... + def grabMouse(self) -> None: ... + def unsetCursor(self) -> None: ... + def setCursor(self, cursor: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ... + def cursor(self) -> QtGui.QCursor: ... + def setAcceptHoverEvents(self, enabled: bool) -> None: ... + def acceptHoverEvents(self) -> bool: ... + def setAcceptedMouseButtons(self, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton]) -> None: ... + def acceptedMouseButtons(self) -> QtCore.Qt.MouseButtons: ... + def scopedFocusItem(self) -> 'QQuickItem': ... + def isFocusScope(self) -> bool: ... + @typing.overload + def setFocus(self, a0: bool) -> None: ... + @typing.overload + def setFocus(self, focus: bool, reason: QtCore.Qt.FocusReason) -> None: ... + def hasFocus(self) -> bool: ... + def hasActiveFocus(self) -> bool: ... + def setFlags(self, flags: typing.Union['QQuickItem.Flags', 'QQuickItem.Flag']) -> None: ... + def setFlag(self, flag: 'QQuickItem.Flag', enabled: bool = ...) -> None: ... + def flags(self) -> 'QQuickItem.Flags': ... + def setAntialiasing(self, a0: bool) -> None: ... + def antialiasing(self) -> bool: ... + def setSmooth(self, a0: bool) -> None: ... + def smooth(self) -> bool: ... + def setEnabled(self, a0: bool) -> None: ... + def isEnabled(self) -> bool: ... + def setVisible(self, a0: bool) -> None: ... + def isVisible(self) -> bool: ... + def setOpacity(self, a0: float) -> None: ... + def opacity(self) -> float: ... + def setScale(self, a0: float) -> None: ... + def scale(self) -> float: ... + def setRotation(self, a0: float) -> None: ... + def rotation(self) -> float: ... + def setZ(self, a0: float) -> None: ... + def z(self) -> float: ... + def setTransformOrigin(self, a0: 'QQuickItem.TransformOrigin') -> None: ... + def transformOrigin(self) -> 'QQuickItem.TransformOrigin': ... + def implicitHeight(self) -> float: ... + def setImplicitHeight(self, a0: float) -> None: ... + def resetHeight(self) -> None: ... + def setHeight(self, a0: float) -> None: ... + def height(self) -> float: ... + def implicitWidth(self) -> float: ... + def setImplicitWidth(self, a0: float) -> None: ... + def resetWidth(self) -> None: ... + def setWidth(self, a0: float) -> None: ... + def width(self) -> float: ... + def setY(self, a0: float) -> None: ... + def setX(self, a0: float) -> None: ... + def y(self) -> float: ... + def x(self) -> float: ... + def setBaselineOffset(self, a0: float) -> None: ... + def baselineOffset(self) -> float: ... + def setState(self, a0: str) -> None: ... + def state(self) -> str: ... + def setClip(self, a0: bool) -> None: ... + def clip(self) -> bool: ... + def childItems(self) -> typing.List['QQuickItem']: ... + def childrenRect(self) -> QtCore.QRectF: ... + def stackAfter(self, a0: 'QQuickItem') -> None: ... + def stackBefore(self, a0: 'QQuickItem') -> None: ... + def setParentItem(self, parent: 'QQuickItem') -> None: ... + def parentItem(self) -> 'QQuickItem': ... + def window(self) -> 'QQuickWindow': ... + + +class QQuickFramebufferObject(QQuickItem): + + class Renderer(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuickFramebufferObject.Renderer') -> None: ... + + def invalidateFramebufferObject(self) -> None: ... + def update(self) -> None: ... + def framebufferObject(self) -> QtGui.QOpenGLFramebufferObject: ... + def synchronize(self, a0: 'QQuickFramebufferObject') -> None: ... + def createFramebufferObject(self, size: QtCore.QSize) -> QtGui.QOpenGLFramebufferObject: ... + def render(self) -> None: ... + + def __init__(self, parent: typing.Optional[QQuickItem] = ...) -> None: ... + + def mirrorVerticallyChanged(self, a0: bool) -> None: ... + def setMirrorVertically(self, enable: bool) -> None: ... + def mirrorVertically(self) -> bool: ... + def releaseResources(self) -> None: ... + def textureProvider(self) -> 'QSGTextureProvider': ... + def isTextureProvider(self) -> bool: ... + def textureFollowsItemSizeChanged(self, a0: bool) -> None: ... + def updatePaintNode(self, a0: 'QSGNode', a1: QQuickItem.UpdatePaintNodeData) -> 'QSGNode': ... + def geometryChanged(self, newGeometry: QtCore.QRectF, oldGeometry: QtCore.QRectF) -> None: ... + def createRenderer(self) -> 'QQuickFramebufferObject.Renderer': ... + def setTextureFollowsItemSize(self, follows: bool) -> None: ... + def textureFollowsItemSize(self) -> bool: ... + + +class QQuickTextureFactory(QtCore.QObject): + + def __init__(self) -> None: ... + + @staticmethod + def textureFactoryForImage(image: QtGui.QImage) -> 'QQuickTextureFactory': ... + def image(self) -> QtGui.QImage: ... + def textureByteCount(self) -> int: ... + def textureSize(self) -> QtCore.QSize: ... + def createTexture(self, window: 'QQuickWindow') -> 'QSGTexture': ... + + +class QQuickImageProvider(QtQml.QQmlImageProviderBase): + + @typing.overload + def __init__(self, type: QtQml.QQmlImageProviderBase.ImageType, flags: typing.Union[QtQml.QQmlImageProviderBase.Flags, QtQml.QQmlImageProviderBase.Flag] = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuickImageProvider') -> None: ... + + def requestTexture(self, id: str, requestedSize: QtCore.QSize) -> typing.Tuple[QQuickTextureFactory, QtCore.QSize]: ... + def requestPixmap(self, id: str, requestedSize: QtCore.QSize) -> typing.Tuple[QtGui.QPixmap, QtCore.QSize]: ... + def requestImage(self, id: str, requestedSize: QtCore.QSize) -> typing.Tuple[QtGui.QImage, QtCore.QSize]: ... + def flags(self) -> QtQml.QQmlImageProviderBase.Flags: ... + def imageType(self) -> QtQml.QQmlImageProviderBase.ImageType: ... + + +class QQuickImageResponse(QtCore.QObject): + + def __init__(self) -> None: ... + + def finished(self) -> None: ... + def cancel(self) -> None: ... + def errorString(self) -> str: ... + def textureFactory(self) -> QQuickTextureFactory: ... + + +class QQuickAsyncImageProvider(QQuickImageProvider): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuickAsyncImageProvider') -> None: ... + + def requestImageResponse(self, id: str, requestedSize: QtCore.QSize) -> QQuickImageResponse: ... + + +class QQuickItemGrabResult(QtCore.QObject): + + def ready(self) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def saveToFile(self, fileName: str) -> bool: ... + def url(self) -> QtCore.QUrl: ... + def image(self) -> QtGui.QImage: ... + + +class QQuickPaintedItem(QQuickItem): + + class PerformanceHint(int): + FastFBOResizing = ... # type: QQuickPaintedItem.PerformanceHint + + class RenderTarget(int): + Image = ... # type: QQuickPaintedItem.RenderTarget + FramebufferObject = ... # type: QQuickPaintedItem.RenderTarget + InvertedYFramebufferObject = ... # type: QQuickPaintedItem.RenderTarget + + class PerformanceHints(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QQuickPaintedItem.PerformanceHints', 'QQuickPaintedItem.PerformanceHint']) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuickPaintedItem.PerformanceHints') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QQuickPaintedItem.PerformanceHints': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QQuickItem] = ...) -> None: ... + + def textureSizeChanged(self) -> None: ... + def setTextureSize(self, size: QtCore.QSize) -> None: ... + def textureSize(self) -> QtCore.QSize: ... + def itemChange(self, a0: QQuickItem.ItemChange, a1: QQuickItem.ItemChangeData) -> None: ... + def releaseResources(self) -> None: ... + def textureProvider(self) -> 'QSGTextureProvider': ... + def isTextureProvider(self) -> bool: ... + def updatePaintNode(self, a0: 'QSGNode', a1: QQuickItem.UpdatePaintNodeData) -> 'QSGNode': ... + def renderTargetChanged(self) -> None: ... + def contentsScaleChanged(self) -> None: ... + def contentsSizeChanged(self) -> None: ... + def fillColorChanged(self) -> None: ... + def paint(self, painter: QtGui.QPainter) -> None: ... + def setRenderTarget(self, target: 'QQuickPaintedItem.RenderTarget') -> None: ... + def renderTarget(self) -> 'QQuickPaintedItem.RenderTarget': ... + def setFillColor(self, a0: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def fillColor(self) -> QtGui.QColor: ... + def setContentsScale(self, a0: float) -> None: ... + def contentsScale(self) -> float: ... + def resetContentsSize(self) -> None: ... + def setContentsSize(self, a0: QtCore.QSize) -> None: ... + def contentsSize(self) -> QtCore.QSize: ... + def contentsBoundingRect(self) -> QtCore.QRectF: ... + def setPerformanceHints(self, hints: typing.Union['QQuickPaintedItem.PerformanceHints', 'QQuickPaintedItem.PerformanceHint']) -> None: ... + def setPerformanceHint(self, hint: 'QQuickPaintedItem.PerformanceHint', enabled: bool = ...) -> None: ... + def performanceHints(self) -> 'QQuickPaintedItem.PerformanceHints': ... + def setMipmap(self, enable: bool) -> None: ... + def mipmap(self) -> bool: ... + def setAntialiasing(self, enable: bool) -> None: ... + def antialiasing(self) -> bool: ... + def setOpaquePainting(self, opaque: bool) -> None: ... + def opaquePainting(self) -> bool: ... + def update(self, rect: QtCore.QRect = ...) -> None: ... + + +class QQuickRenderControl(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def sceneChanged(self) -> None: ... + def renderRequested(self) -> None: ... + def prepareThread(self, targetThread: QtCore.QThread) -> None: ... + def renderWindow(self, offset: QtCore.QPoint) -> QtGui.QWindow: ... + @staticmethod + def renderWindowFor(win: 'QQuickWindow', offset: typing.Optional[QtCore.QPoint] = ...) -> QtGui.QWindow: ... + def grab(self) -> QtGui.QImage: ... + def sync(self) -> bool: ... + def render(self) -> None: ... + def polishItems(self) -> None: ... + def invalidate(self) -> None: ... + def initialize(self, gl: QtGui.QOpenGLContext) -> None: ... + + +class QQuickTextDocument(QtCore.QObject): + + def __init__(self, parent: QQuickItem) -> None: ... + + def textDocument(self) -> QtGui.QTextDocument: ... + + +class QQuickWindow(QtGui.QWindow): + + class NativeObjectType(int): + NativeObjectTexture = ... # type: QQuickWindow.NativeObjectType + + class TextRenderType(int): + QtTextRendering = ... # type: QQuickWindow.TextRenderType + NativeTextRendering = ... # type: QQuickWindow.TextRenderType + + class RenderStage(int): + BeforeSynchronizingStage = ... # type: QQuickWindow.RenderStage + AfterSynchronizingStage = ... # type: QQuickWindow.RenderStage + BeforeRenderingStage = ... # type: QQuickWindow.RenderStage + AfterRenderingStage = ... # type: QQuickWindow.RenderStage + AfterSwapStage = ... # type: QQuickWindow.RenderStage + NoStage = ... # type: QQuickWindow.RenderStage + + class SceneGraphError(int): + ContextNotAvailable = ... # type: QQuickWindow.SceneGraphError + + class CreateTextureOption(int): + TextureHasAlphaChannel = ... # type: QQuickWindow.CreateTextureOption + TextureHasMipmaps = ... # type: QQuickWindow.CreateTextureOption + TextureOwnsGLTexture = ... # type: QQuickWindow.CreateTextureOption + TextureCanUseAtlas = ... # type: QQuickWindow.CreateTextureOption + TextureIsOpaque = ... # type: QQuickWindow.CreateTextureOption + + class CreateTextureOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QQuickWindow.CreateTextureOptions', 'QQuickWindow.CreateTextureOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuickWindow.CreateTextureOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QQuickWindow.CreateTextureOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... + + def afterRenderPassRecording(self) -> None: ... + def beforeRenderPassRecording(self) -> None: ... + def endExternalCommands(self) -> None: ... + def beginExternalCommands(self) -> None: ... + @staticmethod + def setTextRenderType(renderType: 'QQuickWindow.TextRenderType') -> None: ... + @staticmethod + def textRenderType() -> 'QQuickWindow.TextRenderType': ... + @staticmethod + def sceneGraphBackend() -> str: ... + def createImageNode(self) -> 'QSGImageNode': ... + def createRectangleNode(self) -> 'QSGRectangleNode': ... + @typing.overload + @staticmethod + def setSceneGraphBackend(api: 'QSGRendererInterface.GraphicsApi') -> None: ... + @typing.overload + @staticmethod + def setSceneGraphBackend(backend: str) -> None: ... + def rendererInterface(self) -> 'QSGRendererInterface': ... + def isSceneGraphInitialized(self) -> bool: ... + def effectiveDevicePixelRatio(self) -> float: ... + def scheduleRenderJob(self, job: QtCore.QRunnable, schedule: 'QQuickWindow.RenderStage') -> None: ... + def sceneGraphError(self, error: 'QQuickWindow.SceneGraphError', message: str) -> None: ... + def sceneGraphAboutToStop(self) -> None: ... + def afterAnimating(self) -> None: ... + def afterSynchronizing(self) -> None: ... + def openglContextCreated(self, context: QtGui.QOpenGLContext) -> None: ... + def resetOpenGLState(self) -> None: ... + def activeFocusItemChanged(self) -> None: ... + def closing(self, close: 'QQuickCloseEvent') -> None: ... + @staticmethod + def setDefaultAlphaBuffer(useAlpha: bool) -> None: ... + @staticmethod + def hasDefaultAlphaBuffer() -> bool: ... + def tabletEvent(self, a0: QtGui.QTabletEvent) -> None: ... + def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def keyReleaseEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def exposeEvent(self, a0: QtGui.QExposeEvent) -> None: ... + def releaseResources(self) -> None: ... + def update(self) -> None: ... + def colorChanged(self, a0: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def afterRendering(self) -> None: ... + def beforeRendering(self) -> None: ... + def beforeSynchronizing(self) -> None: ... + def sceneGraphInvalidated(self) -> None: ... + def sceneGraphInitialized(self) -> None: ... + def frameSwapped(self) -> None: ... + def openglContext(self) -> QtGui.QOpenGLContext: ... + def isPersistentSceneGraph(self) -> bool: ... + def setPersistentSceneGraph(self, persistent: bool) -> None: ... + def isPersistentOpenGLContext(self) -> bool: ... + def setPersistentOpenGLContext(self, persistent: bool) -> None: ... + def color(self) -> QtGui.QColor: ... + def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def clearBeforeRendering(self) -> bool: ... + def setClearBeforeRendering(self, enabled: bool) -> None: ... + def createTextureFromNativeObject(self, type: 'QQuickWindow.NativeObjectType', nativeObjectPtr: PyQt5.sip.voidptr, nativeLayout: int, size: QtCore.QSize, options: typing.Union['QQuickWindow.CreateTextureOptions', 'QQuickWindow.CreateTextureOption'] = ...) -> 'QSGTexture': ... + def createTextureFromId(self, id: int, size: QtCore.QSize, options: typing.Union['QQuickWindow.CreateTextureOptions', 'QQuickWindow.CreateTextureOption'] = ...) -> 'QSGTexture': ... + @typing.overload + def createTextureFromImage(self, image: QtGui.QImage) -> 'QSGTexture': ... + @typing.overload + def createTextureFromImage(self, image: QtGui.QImage, options: typing.Union['QQuickWindow.CreateTextureOptions', 'QQuickWindow.CreateTextureOption']) -> 'QSGTexture': ... + def incubationController(self) -> QtQml.QQmlIncubationController: ... + def renderTargetSize(self) -> QtCore.QSize: ... + def renderTargetId(self) -> int: ... + def renderTarget(self) -> QtGui.QOpenGLFramebufferObject: ... + @typing.overload + def setRenderTarget(self, fbo: QtGui.QOpenGLFramebufferObject) -> None: ... + @typing.overload + def setRenderTarget(self, fboId: int, size: QtCore.QSize) -> None: ... + def grabWindow(self) -> QtGui.QImage: ... + def sendEvent(self, a0: QQuickItem, a1: QtCore.QEvent) -> bool: ... + def mouseGrabberItem(self) -> QQuickItem: ... + def focusObject(self) -> QtCore.QObject: ... + def activeFocusItem(self) -> QQuickItem: ... + def contentItem(self) -> QQuickItem: ... + + +class QQuickView(QQuickWindow): + + class Status(int): + Null = ... # type: QQuickView.Status + Ready = ... # type: QQuickView.Status + Loading = ... # type: QQuickView.Status + Error = ... # type: QQuickView.Status + + class ResizeMode(int): + SizeViewToRootObject = ... # type: QQuickView.ResizeMode + SizeRootObjectToView = ... # type: QQuickView.ResizeMode + + @typing.overload + def __init__(self, parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... + @typing.overload + def __init__(self, engine: QtQml.QQmlEngine, parent: QtGui.QWindow) -> None: ... + @typing.overload + def __init__(self, source: QtCore.QUrl, parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... + + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def keyReleaseEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def statusChanged(self, a0: 'QQuickView.Status') -> None: ... + def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any]) -> None: ... + def setSource(self, a0: QtCore.QUrl) -> None: ... + def initialSize(self) -> QtCore.QSize: ... + def errors(self) -> typing.List[QtQml.QQmlError]: ... + def status(self) -> 'QQuickView.Status': ... + def setResizeMode(self, a0: 'QQuickView.ResizeMode') -> None: ... + def resizeMode(self) -> 'QQuickView.ResizeMode': ... + def rootObject(self) -> QQuickItem: ... + def rootContext(self) -> QtQml.QQmlContext: ... + def engine(self) -> QtQml.QQmlEngine: ... + def source(self) -> QtCore.QUrl: ... + + +class QQuickCloseEvent(sip.simplewrapper): ... + + +class QSGAbstractRenderer(QtCore.QObject): + + class MatrixTransformFlag(int): + MatrixTransformFlipY = ... # type: QSGAbstractRenderer.MatrixTransformFlag + + class ClearModeBit(int): + ClearColorBuffer = ... # type: QSGAbstractRenderer.ClearModeBit + ClearDepthBuffer = ... # type: QSGAbstractRenderer.ClearModeBit + ClearStencilBuffer = ... # type: QSGAbstractRenderer.ClearModeBit + + class ClearMode(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGAbstractRenderer.ClearMode', 'QSGAbstractRenderer.ClearModeBit']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGAbstractRenderer.ClearMode') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGAbstractRenderer.ClearMode': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class MatrixTransformFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGAbstractRenderer.MatrixTransformFlags', 'QSGAbstractRenderer.MatrixTransformFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGAbstractRenderer.MatrixTransformFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGAbstractRenderer.MatrixTransformFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def sceneGraphChanged(self) -> None: ... + def renderScene(self, fboId: int = ...) -> None: ... + def clearMode(self) -> 'QSGAbstractRenderer.ClearMode': ... + def setClearMode(self, mode: typing.Union['QSGAbstractRenderer.ClearMode', 'QSGAbstractRenderer.ClearModeBit']) -> None: ... + def clearColor(self) -> QtGui.QColor: ... + def setClearColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def projectionMatrix(self) -> QtGui.QMatrix4x4: ... + def setProjectionMatrix(self, matrix: QtGui.QMatrix4x4) -> None: ... + @typing.overload + def setProjectionMatrixToRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setProjectionMatrixToRect(self, rect: QtCore.QRectF, flags: typing.Union['QSGAbstractRenderer.MatrixTransformFlags', 'QSGAbstractRenderer.MatrixTransformFlag']) -> None: ... + def viewportRect(self) -> QtCore.QRect: ... + @typing.overload + def setViewportRect(self, rect: QtCore.QRect) -> None: ... + @typing.overload + def setViewportRect(self, size: QtCore.QSize) -> None: ... + def deviceRect(self) -> QtCore.QRect: ... + @typing.overload + def setDeviceRect(self, rect: QtCore.QRect) -> None: ... + @typing.overload + def setDeviceRect(self, size: QtCore.QSize) -> None: ... + + +class QSGEngine(QtCore.QObject): + + class CreateTextureOption(int): + TextureHasAlphaChannel = ... # type: QSGEngine.CreateTextureOption + TextureOwnsGLTexture = ... # type: QSGEngine.CreateTextureOption + TextureCanUseAtlas = ... # type: QSGEngine.CreateTextureOption + TextureIsOpaque = ... # type: QSGEngine.CreateTextureOption + + class CreateTextureOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGEngine.CreateTextureOptions', 'QSGEngine.CreateTextureOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGEngine.CreateTextureOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGEngine.CreateTextureOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def createImageNode(self) -> 'QSGImageNode': ... + def createRectangleNode(self) -> 'QSGRectangleNode': ... + def rendererInterface(self) -> 'QSGRendererInterface': ... + def createTextureFromId(self, id: int, size: QtCore.QSize, options: typing.Union['QSGEngine.CreateTextureOptions', 'QSGEngine.CreateTextureOption'] = ...) -> 'QSGTexture': ... + def createTextureFromImage(self, image: QtGui.QImage, options: typing.Union['QSGEngine.CreateTextureOptions', 'QSGEngine.CreateTextureOption'] = ...) -> 'QSGTexture': ... + def createRenderer(self) -> QSGAbstractRenderer: ... + def invalidate(self) -> None: ... + def initialize(self, context: QtGui.QOpenGLContext) -> None: ... + + +class QSGMaterial(PyQt5.sip.wrapper): + + class Flag(int): + Blending = ... # type: QSGMaterial.Flag + RequiresDeterminant = ... # type: QSGMaterial.Flag + RequiresFullMatrixExceptTranslate = ... # type: QSGMaterial.Flag + RequiresFullMatrix = ... # type: QSGMaterial.Flag + CustomCompileStep = ... # type: QSGMaterial.Flag + SupportsRhiShader = ... # type: QSGMaterial.Flag + RhiShaderWanted = ... # type: QSGMaterial.Flag + + class Flags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGMaterial.Flags', 'QSGMaterial.Flag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGMaterial.Flags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGMaterial.Flags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self) -> None: ... + + def setFlag(self, flags: typing.Union['QSGMaterial.Flags', 'QSGMaterial.Flag'], enabled: bool = ...) -> None: ... + def flags(self) -> 'QSGMaterial.Flags': ... + def compare(self, other: 'QSGMaterial') -> int: ... + def createShader(self) -> 'QSGMaterialShader': ... + def type(self) -> 'QSGMaterialType': ... + + +class QSGFlatColorMaterial(QSGMaterial): + + def __init__(self) -> None: ... + + def compare(self, other: QSGMaterial) -> int: ... + def color(self) -> QtGui.QColor: ... + def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def createShader(self) -> 'QSGMaterialShader': ... + def type(self) -> 'QSGMaterialType': ... + + +class QSGGeometry(PyQt5.sip.wrapper): + + class Type(int): + ByteType = ... # type: QSGGeometry.Type + UnsignedByteType = ... # type: QSGGeometry.Type + ShortType = ... # type: QSGGeometry.Type + UnsignedShortType = ... # type: QSGGeometry.Type + IntType = ... # type: QSGGeometry.Type + UnsignedIntType = ... # type: QSGGeometry.Type + FloatType = ... # type: QSGGeometry.Type + Bytes2Type = ... # type: QSGGeometry.Type + Bytes3Type = ... # type: QSGGeometry.Type + Bytes4Type = ... # type: QSGGeometry.Type + DoubleType = ... # type: QSGGeometry.Type + + class DrawingMode(int): + DrawPoints = ... # type: QSGGeometry.DrawingMode + DrawLines = ... # type: QSGGeometry.DrawingMode + DrawLineLoop = ... # type: QSGGeometry.DrawingMode + DrawLineStrip = ... # type: QSGGeometry.DrawingMode + DrawTriangles = ... # type: QSGGeometry.DrawingMode + DrawTriangleStrip = ... # type: QSGGeometry.DrawingMode + DrawTriangleFan = ... # type: QSGGeometry.DrawingMode + + class AttributeType(int): + UnknownAttribute = ... # type: QSGGeometry.AttributeType + PositionAttribute = ... # type: QSGGeometry.AttributeType + ColorAttribute = ... # type: QSGGeometry.AttributeType + TexCoordAttribute = ... # type: QSGGeometry.AttributeType + TexCoord1Attribute = ... # type: QSGGeometry.AttributeType + TexCoord2Attribute = ... # type: QSGGeometry.AttributeType + + class DataPattern(int): + AlwaysUploadPattern = ... # type: QSGGeometry.DataPattern + StreamPattern = ... # type: QSGGeometry.DataPattern + DynamicPattern = ... # type: QSGGeometry.DataPattern + StaticPattern = ... # type: QSGGeometry.DataPattern + + GL_POINTS = ... # type: int + GL_LINES = ... # type: int + GL_LINE_LOOP = ... # type: int + GL_LINE_STRIP = ... # type: int + GL_TRIANGLES = ... # type: int + GL_TRIANGLE_STRIP = ... # type: int + GL_TRIANGLE_FAN = ... # type: int + + GL_BYTE = ... # type: int + GL_DOUBLE = ... # type: int + GL_FLOAT = ... # type: int + GL_INT = ... # type: int + + class Attribute(sip.simplewrapper): + + attributeType = ... # type: 'QSGGeometry.AttributeType' + isVertexCoordinate = ... # type: int + position = ... # type: int + tupleSize = ... # type: int + type = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGGeometry.Attribute') -> None: ... + + @staticmethod + def createWithAttributeType(pos: int, tupleSize: int, primitiveType: int, attributeType: 'QSGGeometry.AttributeType') -> 'QSGGeometry.Attribute': ... + @staticmethod + def create(pos: int, tupleSize: int, primitiveType: int, isPosition: bool = ...) -> 'QSGGeometry.Attribute': ... + + class AttributeSet(sip.simplewrapper): + + attributes = ... # type: PyQt5.sip.array[QSGGeometry.Attribute] + count = ... # type: int + stride = ... # type: int + + def __init__(self, attributes: typing.Iterable['QSGGeometry.Attribute'], stride: int = ...) -> None: ... + + class Point2D(sip.simplewrapper): + + x = ... # type: float + y = ... # type: float + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGGeometry.Point2D') -> None: ... + + def set(self, nx: float, ny: float) -> None: ... + + class TexturedPoint2D(sip.simplewrapper): + + tx = ... # type: float + ty = ... # type: float + x = ... # type: float + y = ... # type: float + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGGeometry.TexturedPoint2D') -> None: ... + + def set(self, nx: float, ny: float, ntx: float, nty: float) -> None: ... + + class ColoredPoint2D(sip.simplewrapper): + + a = ... # type: int + b = ... # type: int + g = ... # type: int + r = ... # type: int + x = ... # type: float + y = ... # type: float + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGGeometry.ColoredPoint2D') -> None: ... + + def set(self, nx: float, ny: float, nr: int, ng: int, nb: int, na: int) -> None: ... + + def __init__(self, attribs: 'QSGGeometry.AttributeSet', vertexCount: int, indexCount: int = ..., indexType: int = ...) -> None: ... + + @staticmethod + def updateColoredRectGeometry(g: 'QSGGeometry', rect: QtCore.QRectF) -> None: ... + def sizeOfIndex(self) -> int: ... + def vertexDataAsColoredPoint2D(self) -> PyQt5.sip.array[QSGGeometry.ColoredPoint2D]: ... + def vertexDataAsTexturedPoint2D(self) -> PyQt5.sip.array[QSGGeometry.TexturedPoint2D]: ... + def vertexDataAsPoint2D(self) -> PyQt5.sip.array[QSGGeometry.Point2D]: ... + def indexDataAsUShort(self) -> PyQt5.sip.array[int]: ... + def indexDataAsUInt(self) -> PyQt5.sip.array[int]: ... + def setLineWidth(self, w: float) -> None: ... + def lineWidth(self) -> float: ... + def markVertexDataDirty(self) -> None: ... + def markIndexDataDirty(self) -> None: ... + def vertexDataPattern(self) -> 'QSGGeometry.DataPattern': ... + def setVertexDataPattern(self, p: 'QSGGeometry.DataPattern') -> None: ... + def indexDataPattern(self) -> 'QSGGeometry.DataPattern': ... + def setIndexDataPattern(self, p: 'QSGGeometry.DataPattern') -> None: ... + @staticmethod + def updateTexturedRectGeometry(g: 'QSGGeometry', rect: QtCore.QRectF, sourceRect: QtCore.QRectF) -> None: ... + @staticmethod + def updateRectGeometry(g: 'QSGGeometry', rect: QtCore.QRectF) -> None: ... + def sizeOfVertex(self) -> int: ... + def attributes(self) -> PyQt5.sip.array[QSGGeometry.Attribute]: ... + def attributeCount(self) -> int: ... + def indexData(self) -> PyQt5.sip.voidptr: ... + def indexCount(self) -> int: ... + def indexType(self) -> int: ... + def vertexData(self) -> PyQt5.sip.voidptr: ... + def vertexCount(self) -> int: ... + def allocate(self, vertexCount: int, indexCount: int = ...) -> None: ... + def drawingMode(self) -> int: ... + def setDrawingMode(self, mode: int) -> None: ... + @staticmethod + def defaultAttributes_ColoredPoint2D() -> 'QSGGeometry.AttributeSet': ... + @staticmethod + def defaultAttributes_TexturedPoint2D() -> 'QSGGeometry.AttributeSet': ... + @staticmethod + def defaultAttributes_Point2D() -> 'QSGGeometry.AttributeSet': ... + + +class QSGNode(PyQt5.sip.wrapper): + + class DirtyStateBit(int): + DirtyMatrix = ... # type: QSGNode.DirtyStateBit + DirtyNodeAdded = ... # type: QSGNode.DirtyStateBit + DirtyNodeRemoved = ... # type: QSGNode.DirtyStateBit + DirtyGeometry = ... # type: QSGNode.DirtyStateBit + DirtyMaterial = ... # type: QSGNode.DirtyStateBit + DirtyOpacity = ... # type: QSGNode.DirtyStateBit + + class Flag(int): + OwnedByParent = ... # type: QSGNode.Flag + UsePreprocess = ... # type: QSGNode.Flag + OwnsGeometry = ... # type: QSGNode.Flag + OwnsMaterial = ... # type: QSGNode.Flag + OwnsOpaqueMaterial = ... # type: QSGNode.Flag + + class NodeType(int): + BasicNodeType = ... # type: QSGNode.NodeType + GeometryNodeType = ... # type: QSGNode.NodeType + TransformNodeType = ... # type: QSGNode.NodeType + ClipNodeType = ... # type: QSGNode.NodeType + OpacityNodeType = ... # type: QSGNode.NodeType + + class Flags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGNode.Flags', 'QSGNode.Flag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGNode.Flags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGNode.Flags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class DirtyState(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGNode.DirtyState', 'QSGNode.DirtyStateBit']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGNode.DirtyState') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGNode.DirtyState': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self) -> None: ... + + def preprocess(self) -> None: ... + def setFlags(self, a0: typing.Union['QSGNode.Flags', 'QSGNode.Flag'], enabled: bool = ...) -> None: ... + def setFlag(self, a0: 'QSGNode.Flag', enabled: bool = ...) -> None: ... + def flags(self) -> 'QSGNode.Flags': ... + def isSubtreeBlocked(self) -> bool: ... + def markDirty(self, bits: typing.Union['QSGNode.DirtyState', 'QSGNode.DirtyStateBit']) -> None: ... + def type(self) -> 'QSGNode.NodeType': ... + def previousSibling(self) -> 'QSGNode': ... + def nextSibling(self) -> 'QSGNode': ... + def lastChild(self) -> 'QSGNode': ... + def firstChild(self) -> 'QSGNode': ... + def childAtIndex(self, i: int) -> 'QSGNode': ... + def __len__(self) -> int: ... + def childCount(self) -> int: ... + def insertChildNodeAfter(self, node: 'QSGNode', after: 'QSGNode') -> None: ... + def insertChildNodeBefore(self, node: 'QSGNode', before: 'QSGNode') -> None: ... + def appendChildNode(self, node: 'QSGNode') -> None: ... + def prependChildNode(self, node: 'QSGNode') -> None: ... + def removeAllChildNodes(self) -> None: ... + def removeChildNode(self, node: 'QSGNode') -> None: ... + def parent(self) -> 'QSGNode': ... + + +class QSGBasicGeometryNode(QSGNode): + + def geometry(self) -> QSGGeometry: ... + def setGeometry(self, geometry: QSGGeometry) -> None: ... + + +class QSGGeometryNode(QSGBasicGeometryNode): + + def __init__(self) -> None: ... + + def opaqueMaterial(self) -> QSGMaterial: ... + def setOpaqueMaterial(self, material: QSGMaterial) -> None: ... + def material(self) -> QSGMaterial: ... + def setMaterial(self, material: QSGMaterial) -> None: ... + + +class QSGImageNode(QSGGeometryNode): + + class TextureCoordinatesTransformFlag(int): + NoTransform = ... # type: QSGImageNode.TextureCoordinatesTransformFlag + MirrorHorizontally = ... # type: QSGImageNode.TextureCoordinatesTransformFlag + MirrorVertically = ... # type: QSGImageNode.TextureCoordinatesTransformFlag + + class TextureCoordinatesTransformMode(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGImageNode.TextureCoordinatesTransformMode', 'QSGImageNode.TextureCoordinatesTransformFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGImageNode.TextureCoordinatesTransformMode') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGImageNode.TextureCoordinatesTransformMode': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @staticmethod + def rebuildGeometry(g: QSGGeometry, texture: 'QSGTexture', rect: QtCore.QRectF, sourceRect: QtCore.QRectF, texCoordMode: typing.Union['QSGImageNode.TextureCoordinatesTransformMode', 'QSGImageNode.TextureCoordinatesTransformFlag']) -> None: ... + def ownsTexture(self) -> bool: ... + def setOwnsTexture(self, owns: bool) -> None: ... + def textureCoordinatesTransform(self) -> 'QSGImageNode.TextureCoordinatesTransformMode': ... + def setTextureCoordinatesTransform(self, mode: typing.Union['QSGImageNode.TextureCoordinatesTransformMode', 'QSGImageNode.TextureCoordinatesTransformFlag']) -> None: ... + def mipmapFiltering(self) -> 'QSGTexture.Filtering': ... + def setMipmapFiltering(self, filtering: 'QSGTexture.Filtering') -> None: ... + def filtering(self) -> 'QSGTexture.Filtering': ... + def setFiltering(self, filtering: 'QSGTexture.Filtering') -> None: ... + def texture(self) -> 'QSGTexture': ... + def setTexture(self, texture: 'QSGTexture') -> None: ... + def sourceRect(self) -> QtCore.QRectF: ... + @typing.overload + def setSourceRect(self, r: QtCore.QRectF) -> None: ... + @typing.overload + def setSourceRect(self, x: float, y: float, w: float, h: float) -> None: ... + def rect(self) -> QtCore.QRectF: ... + @typing.overload + def setRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setRect(self, x: float, y: float, w: float, h: float) -> None: ... + + +class QSGMaterialShader(PyQt5.sip.wrapper): + + class RenderState(sip.simplewrapper): + + class DirtyState(int): + DirtyMatrix = ... # type: QSGMaterialShader.RenderState.DirtyState + DirtyOpacity = ... # type: QSGMaterialShader.RenderState.DirtyState + DirtyCachedMaterialData = ... # type: QSGMaterialShader.RenderState.DirtyState + DirtyAll = ... # type: QSGMaterialShader.RenderState.DirtyState + + class DirtyStates(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGMaterialShader.RenderState.DirtyStates', 'QSGMaterialShader.RenderState.DirtyState']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGMaterialShader.RenderState.DirtyStates') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGMaterialShader.RenderState.DirtyStates': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGMaterialShader.RenderState') -> None: ... + + def isCachedMaterialDataDirty(self) -> bool: ... + def devicePixelRatio(self) -> float: ... + def projectionMatrix(self) -> QtGui.QMatrix4x4: ... + def context(self) -> QtGui.QOpenGLContext: ... + def determinant(self) -> float: ... + def deviceRect(self) -> QtCore.QRect: ... + def viewportRect(self) -> QtCore.QRect: ... + def modelViewMatrix(self) -> QtGui.QMatrix4x4: ... + def combinedMatrix(self) -> QtGui.QMatrix4x4: ... + def opacity(self) -> float: ... + def isOpacityDirty(self) -> bool: ... + def isMatrixDirty(self) -> bool: ... + def dirtyStates(self) -> 'QSGMaterialShader.RenderState.DirtyStates': ... + + def __init__(self) -> None: ... + + def setShaderSourceFiles(self, type: typing.Union[QtGui.QOpenGLShader.ShaderType, QtGui.QOpenGLShader.ShaderTypeBit], sourceFiles: typing.Iterable[str]) -> None: ... + def setShaderSourceFile(self, type: typing.Union[QtGui.QOpenGLShader.ShaderType, QtGui.QOpenGLShader.ShaderTypeBit], sourceFile: str) -> None: ... + def fragmentShader(self) -> str: ... + def vertexShader(self) -> str: ... + def initialize(self) -> None: ... + def compile(self) -> None: ... + def program(self) -> QtGui.QOpenGLShaderProgram: ... + def attributeNames(self) -> typing.List[str]: ... + def updateState(self, state: 'QSGMaterialShader.RenderState', newMaterial: QSGMaterial, oldMaterial: QSGMaterial) -> None: ... + def deactivate(self) -> None: ... + def activate(self) -> None: ... + + +class QSGMaterialType(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGMaterialType') -> None: ... + + +class QSGMaterialRhiShader(QSGMaterialShader): + + class Flag(int): + UpdatesGraphicsPipelineState = ... # type: QSGMaterialRhiShader.Flag + + class RenderState(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGMaterialRhiShader.RenderState') -> None: ... + + def uniformData(self) -> QtCore.QByteArray: ... + def devicePixelRatio(self) -> float: ... + def determinant(self) -> float: ... + def deviceRect(self) -> QtCore.QRect: ... + def viewportRect(self) -> QtCore.QRect: ... + def projectionMatrix(self) -> QtGui.QMatrix4x4: ... + def modelViewMatrix(self) -> QtGui.QMatrix4x4: ... + def combinedMatrix(self) -> QtGui.QMatrix4x4: ... + def opacity(self) -> float: ... + def isOpacityDirty(self) -> bool: ... + def isMatrixDirty(self) -> bool: ... + def dirtyStates(self) -> QSGMaterialShader.RenderState.DirtyStates: ... + + class GraphicsPipelineState(sip.simplewrapper): + + class CullMode(int): + CullNone = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.CullMode + CullFront = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.CullMode + CullBack = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.CullMode + + class ColorMaskComponent(int): + R = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent + G = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent + B = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent + A = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent + + class BlendFactor(int): + Zero = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + One = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + SrcColor = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + OneMinusSrcColor = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + DstColor = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + OneMinusDstColor = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + SrcAlpha = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + OneMinusSrcAlpha = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + DstAlpha = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + OneMinusDstAlpha = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + ConstantColor = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + OneMinusConstantColor = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + ConstantAlpha = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + OneMinusConstantAlpha = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + SrcAlphaSaturate = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + Src1Color = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + OneMinusSrc1Color = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + Src1Alpha = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + OneMinusSrc1Alpha = ... # type: QSGMaterialRhiShader.GraphicsPipelineState.BlendFactor + + class ColorMask(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGMaterialRhiShader.GraphicsPipelineState.ColorMask', 'QSGMaterialRhiShader.GraphicsPipelineState.ColorMaskComponent']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGMaterialRhiShader.GraphicsPipelineState.ColorMask') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGMaterialRhiShader.GraphicsPipelineState.ColorMask': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGMaterialRhiShader.GraphicsPipelineState') -> None: ... + + class Flags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGMaterialRhiShader.Flags', 'QSGMaterialRhiShader.Flag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGMaterialRhiShader.Flags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGMaterialRhiShader.Flags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self) -> None: ... + + def setFlag(self, flags: typing.Union['QSGMaterialRhiShader.Flags', 'QSGMaterialRhiShader.Flag'], on: bool = ...) -> None: ... + def flags(self) -> 'QSGMaterialRhiShader.Flags': ... + def updateGraphicsPipelineState(self, state: 'QSGMaterialRhiShader.RenderState', ps: 'QSGMaterialRhiShader.GraphicsPipelineState', newMaterial: QSGMaterial, oldMaterial: QSGMaterial) -> bool: ... + def updateSampledImage(self, state: 'QSGMaterialRhiShader.RenderState', binding: int, newMaterial: QSGMaterial, oldMaterial: QSGMaterial) -> 'QSGTexture': ... + def updateUniformData(self, state: 'QSGMaterialRhiShader.RenderState', newMaterial: QSGMaterial, oldMaterial: QSGMaterial) -> bool: ... + + +class QSGClipNode(QSGBasicGeometryNode): + + def __init__(self) -> None: ... + + def clipRect(self) -> QtCore.QRectF: ... + def setClipRect(self, a0: QtCore.QRectF) -> None: ... + def isRectangular(self) -> bool: ... + def setIsRectangular(self, rectHint: bool) -> None: ... + + +class QSGTransformNode(QSGNode): + + def __init__(self) -> None: ... + + def matrix(self) -> QtGui.QMatrix4x4: ... + def setMatrix(self, matrix: QtGui.QMatrix4x4) -> None: ... + + +class QSGOpacityNode(QSGNode): + + def __init__(self) -> None: ... + + def opacity(self) -> float: ... + def setOpacity(self, opacity: float) -> None: ... + + +class QSGRectangleNode(QSGGeometryNode): + + def color(self) -> QtGui.QColor: ... + def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def rect(self) -> QtCore.QRectF: ... + @typing.overload + def setRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setRect(self, x: float, y: float, w: float, h: float) -> None: ... + + +class QSGRendererInterface(sip.simplewrapper): + + class ShaderSourceType(int): + ShaderSourceString = ... # type: QSGRendererInterface.ShaderSourceType + ShaderSourceFile = ... # type: QSGRendererInterface.ShaderSourceType + ShaderByteCode = ... # type: QSGRendererInterface.ShaderSourceType + + class ShaderCompilationType(int): + RuntimeCompilation = ... # type: QSGRendererInterface.ShaderCompilationType + OfflineCompilation = ... # type: QSGRendererInterface.ShaderCompilationType + + class ShaderType(int): + UnknownShadingLanguage = ... # type: QSGRendererInterface.ShaderType + GLSL = ... # type: QSGRendererInterface.ShaderType + HLSL = ... # type: QSGRendererInterface.ShaderType + RhiShader = ... # type: QSGRendererInterface.ShaderType + + class Resource(int): + DeviceResource = ... # type: QSGRendererInterface.Resource + CommandQueueResource = ... # type: QSGRendererInterface.Resource + CommandListResource = ... # type: QSGRendererInterface.Resource + PainterResource = ... # type: QSGRendererInterface.Resource + RhiResource = ... # type: QSGRendererInterface.Resource + PhysicalDeviceResource = ... # type: QSGRendererInterface.Resource + OpenGLContextResource = ... # type: QSGRendererInterface.Resource + DeviceContextResource = ... # type: QSGRendererInterface.Resource + CommandEncoderResource = ... # type: QSGRendererInterface.Resource + VulkanInstanceResource = ... # type: QSGRendererInterface.Resource + RenderPassResource = ... # type: QSGRendererInterface.Resource + + class GraphicsApi(int): + Unknown = ... # type: QSGRendererInterface.GraphicsApi + Software = ... # type: QSGRendererInterface.GraphicsApi + OpenGL = ... # type: QSGRendererInterface.GraphicsApi + Direct3D12 = ... # type: QSGRendererInterface.GraphicsApi + OpenVG = ... # type: QSGRendererInterface.GraphicsApi + OpenGLRhi = ... # type: QSGRendererInterface.GraphicsApi + Direct3D11Rhi = ... # type: QSGRendererInterface.GraphicsApi + VulkanRhi = ... # type: QSGRendererInterface.GraphicsApi + MetalRhi = ... # type: QSGRendererInterface.GraphicsApi + NullRhi = ... # type: QSGRendererInterface.GraphicsApi + + class ShaderCompilationTypes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGRendererInterface.ShaderCompilationTypes', 'QSGRendererInterface.ShaderCompilationType']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGRendererInterface.ShaderCompilationTypes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGRendererInterface.ShaderCompilationTypes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class ShaderSourceTypes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGRendererInterface.ShaderSourceTypes', 'QSGRendererInterface.ShaderSourceType']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGRendererInterface.ShaderSourceTypes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGRendererInterface.ShaderSourceTypes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @staticmethod + def isApiRhiBased(api: 'QSGRendererInterface.GraphicsApi') -> bool: ... + def shaderSourceType(self) -> 'QSGRendererInterface.ShaderSourceTypes': ... + def shaderCompilationType(self) -> 'QSGRendererInterface.ShaderCompilationTypes': ... + def shaderType(self) -> 'QSGRendererInterface.ShaderType': ... + @typing.overload + def getResource(self, window: QQuickWindow, resource: 'QSGRendererInterface.Resource') -> PyQt5.sip.voidptr: ... + @typing.overload + def getResource(self, window: QQuickWindow, resource: str) -> PyQt5.sip.voidptr: ... + def graphicsApi(self) -> 'QSGRendererInterface.GraphicsApi': ... + + +class QSGRenderNode(QSGNode): + + class RenderingFlag(int): + BoundedRectRendering = ... # type: QSGRenderNode.RenderingFlag + DepthAwareRendering = ... # type: QSGRenderNode.RenderingFlag + OpaqueRendering = ... # type: QSGRenderNode.RenderingFlag + + class StateFlag(int): + DepthState = ... # type: QSGRenderNode.StateFlag + StencilState = ... # type: QSGRenderNode.StateFlag + ScissorState = ... # type: QSGRenderNode.StateFlag + ColorState = ... # type: QSGRenderNode.StateFlag + BlendState = ... # type: QSGRenderNode.StateFlag + CullState = ... # type: QSGRenderNode.StateFlag + ViewportState = ... # type: QSGRenderNode.StateFlag + RenderTargetState = ... # type: QSGRenderNode.StateFlag + + class StateFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGRenderNode.StateFlags', 'QSGRenderNode.StateFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGRenderNode.StateFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGRenderNode.StateFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class RenderingFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGRenderNode.RenderingFlags', 'QSGRenderNode.RenderingFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGRenderNode.RenderingFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGRenderNode.RenderingFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class RenderState(sip.simplewrapper): + + def get(self, state: str) -> PyQt5.sip.voidptr: ... + def clipRegion(self) -> QtGui.QRegion: ... + def stencilEnabled(self) -> bool: ... + def stencilValue(self) -> int: ... + def scissorEnabled(self) -> bool: ... + def scissorRect(self) -> QtCore.QRect: ... + def projectionMatrix(self) -> QtGui.QMatrix4x4: ... + + def __init__(self) -> None: ... + + def inheritedOpacity(self) -> float: ... + def clipList(self) -> QSGClipNode: ... + def matrix(self) -> QtGui.QMatrix4x4: ... + def rect(self) -> QtCore.QRectF: ... + def flags(self) -> 'QSGRenderNode.RenderingFlags': ... + def releaseResources(self) -> None: ... + def render(self, state: 'QSGRenderNode.RenderState') -> None: ... + def changedStates(self) -> 'QSGRenderNode.StateFlags': ... + + +class QSGSimpleRectNode(QSGGeometryNode): + + @typing.overload + def __init__(self, rect: QtCore.QRectF, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + @typing.overload + def __init__(self) -> None: ... + + def color(self) -> QtGui.QColor: ... + def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def rect(self) -> QtCore.QRectF: ... + @typing.overload + def setRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setRect(self, x: float, y: float, w: float, h: float) -> None: ... + + +class QSGSimpleTextureNode(QSGGeometryNode): + + class TextureCoordinatesTransformFlag(int): + NoTransform = ... # type: QSGSimpleTextureNode.TextureCoordinatesTransformFlag + MirrorHorizontally = ... # type: QSGSimpleTextureNode.TextureCoordinatesTransformFlag + MirrorVertically = ... # type: QSGSimpleTextureNode.TextureCoordinatesTransformFlag + + class TextureCoordinatesTransformMode(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSGSimpleTextureNode.TextureCoordinatesTransformMode', 'QSGSimpleTextureNode.TextureCoordinatesTransformFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGSimpleTextureNode.TextureCoordinatesTransformMode') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSGSimpleTextureNode.TextureCoordinatesTransformMode': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self) -> None: ... + + def sourceRect(self) -> QtCore.QRectF: ... + @typing.overload + def setSourceRect(self, r: QtCore.QRectF) -> None: ... + @typing.overload + def setSourceRect(self, x: float, y: float, w: float, h: float) -> None: ... + def ownsTexture(self) -> bool: ... + def setOwnsTexture(self, owns: bool) -> None: ... + def textureCoordinatesTransform(self) -> 'QSGSimpleTextureNode.TextureCoordinatesTransformMode': ... + def setTextureCoordinatesTransform(self, mode: typing.Union['QSGSimpleTextureNode.TextureCoordinatesTransformMode', 'QSGSimpleTextureNode.TextureCoordinatesTransformFlag']) -> None: ... + def filtering(self) -> 'QSGTexture.Filtering': ... + def setFiltering(self, filtering: 'QSGTexture.Filtering') -> None: ... + def texture(self) -> 'QSGTexture': ... + def setTexture(self, texture: 'QSGTexture') -> None: ... + def rect(self) -> QtCore.QRectF: ... + @typing.overload + def setRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setRect(self, x: float, y: float, w: float, h: float) -> None: ... + + +class QSGTexture(QtCore.QObject): + + class AnisotropyLevel(int): + AnisotropyNone = ... # type: QSGTexture.AnisotropyLevel + Anisotropy2x = ... # type: QSGTexture.AnisotropyLevel + Anisotropy4x = ... # type: QSGTexture.AnisotropyLevel + Anisotropy8x = ... # type: QSGTexture.AnisotropyLevel + Anisotropy16x = ... # type: QSGTexture.AnisotropyLevel + + class Filtering(int): + None_ = ... # type: QSGTexture.Filtering + Nearest = ... # type: QSGTexture.Filtering + Linear = ... # type: QSGTexture.Filtering + + class WrapMode(int): + Repeat = ... # type: QSGTexture.WrapMode + ClampToEdge = ... # type: QSGTexture.WrapMode + MirroredRepeat = ... # type: QSGTexture.WrapMode + + class NativeTexture(sip.simplewrapper): + + layout = ... # type: int + object = ... # type: PyQt5.sip.voidptr + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSGTexture.NativeTexture') -> None: ... + + def __init__(self) -> None: ... + + def nativeTexture(self) -> 'QSGTexture.NativeTexture': ... + def comparisonKey(self) -> int: ... + def anisotropyLevel(self) -> 'QSGTexture.AnisotropyLevel': ... + def setAnisotropyLevel(self, level: 'QSGTexture.AnisotropyLevel') -> None: ... + def convertToNormalizedSourceRect(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + def verticalWrapMode(self) -> 'QSGTexture.WrapMode': ... + def setVerticalWrapMode(self, vwrap: 'QSGTexture.WrapMode') -> None: ... + def horizontalWrapMode(self) -> 'QSGTexture.WrapMode': ... + def setHorizontalWrapMode(self, hwrap: 'QSGTexture.WrapMode') -> None: ... + def filtering(self) -> 'QSGTexture.Filtering': ... + def setFiltering(self, filter: 'QSGTexture.Filtering') -> None: ... + def mipmapFiltering(self) -> 'QSGTexture.Filtering': ... + def setMipmapFiltering(self, filter: 'QSGTexture.Filtering') -> None: ... + def updateBindOptions(self, force: bool = ...) -> None: ... + def bind(self) -> None: ... + def removedFromAtlas(self) -> 'QSGTexture': ... + def isAtlasTexture(self) -> bool: ... + def normalizedTextureSubRect(self) -> QtCore.QRectF: ... + def hasMipmaps(self) -> bool: ... + def hasAlphaChannel(self) -> bool: ... + def textureSize(self) -> QtCore.QSize: ... + def textureId(self) -> int: ... + + +class QSGDynamicTexture(QSGTexture): + + def __init__(self) -> None: ... + + def updateTexture(self) -> bool: ... + + +class QSGOpaqueTextureMaterial(QSGMaterial): + + def __init__(self) -> None: ... + + def anisotropyLevel(self) -> QSGTexture.AnisotropyLevel: ... + def setAnisotropyLevel(self, level: QSGTexture.AnisotropyLevel) -> None: ... + def verticalWrapMode(self) -> QSGTexture.WrapMode: ... + def setVerticalWrapMode(self, mode: QSGTexture.WrapMode) -> None: ... + def horizontalWrapMode(self) -> QSGTexture.WrapMode: ... + def setHorizontalWrapMode(self, mode: QSGTexture.WrapMode) -> None: ... + def filtering(self) -> QSGTexture.Filtering: ... + def setFiltering(self, filtering: QSGTexture.Filtering) -> None: ... + def mipmapFiltering(self) -> QSGTexture.Filtering: ... + def setMipmapFiltering(self, filtering: QSGTexture.Filtering) -> None: ... + def texture(self) -> QSGTexture: ... + def setTexture(self, texture: QSGTexture) -> None: ... + def compare(self, other: QSGMaterial) -> int: ... + def createShader(self) -> QSGMaterialShader: ... + def type(self) -> QSGMaterialType: ... + + +class QSGTextureMaterial(QSGOpaqueTextureMaterial): + + def __init__(self) -> None: ... + + def createShader(self) -> QSGMaterialShader: ... + def type(self) -> QSGMaterialType: ... + + +class QSGTextureProvider(QtCore.QObject): + + def __init__(self) -> None: ... + + def textureChanged(self) -> None: ... + def texture(self) -> QSGTexture: ... + + +class QSGVertexColorMaterial(QSGMaterial): + + def __init__(self) -> None: ... + + def createShader(self) -> QSGMaterialShader: ... + def type(self) -> QSGMaterialType: ... + def compare(self, other: QSGMaterial) -> int: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtQuick3D.pyi b/OTHERS/Jarvis/ools/PyQt5/QtQuick3D.pyi new file mode 100644 index 00000000..317fed96 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtQuick3D.pyi @@ -0,0 +1,128 @@ +# The PEP 484 type hints stub file for the QtQuick3D module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtQml +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QQuick3D(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuick3D') -> None: ... + + @staticmethod + def idealSurfaceFormat(samples: int = ...) -> QtGui.QSurfaceFormat: ... + + +class QQuick3DObject(QtCore.QObject, QtQml.QQmlParserStatus): + + def __init__(self, parent: typing.Optional['QQuick3DObject'] = ...) -> None: ... + + def componentComplete(self) -> None: ... + def classBegin(self) -> None: ... + def stateChanged(self) -> None: ... + def setParentItem(self, parentItem: 'QQuick3DObject') -> None: ... + def parentItem(self) -> 'QQuick3DObject': ... + def setState(self, state: str) -> None: ... + def state(self) -> str: ... + + +class QQuick3DGeometry(QQuick3DObject): + + class PrimitiveType(int): + Unknown = ... # type: QQuick3DGeometry.PrimitiveType + Points = ... # type: QQuick3DGeometry.PrimitiveType + LineStrip = ... # type: QQuick3DGeometry.PrimitiveType + Lines = ... # type: QQuick3DGeometry.PrimitiveType + TriangleStrip = ... # type: QQuick3DGeometry.PrimitiveType + TriangleFan = ... # type: QQuick3DGeometry.PrimitiveType + Triangles = ... # type: QQuick3DGeometry.PrimitiveType + + class Attribute(sip.simplewrapper): + + class ComponentType(int): + DefaultType = ... # type: QQuick3DGeometry.Attribute.ComponentType + U16Type = ... # type: QQuick3DGeometry.Attribute.ComponentType + U32Type = ... # type: QQuick3DGeometry.Attribute.ComponentType + F32Type = ... # type: QQuick3DGeometry.Attribute.ComponentType + + class Semantic(int): + UnknownSemantic = ... # type: QQuick3DGeometry.Attribute.Semantic + IndexSemantic = ... # type: QQuick3DGeometry.Attribute.Semantic + PositionSemantic = ... # type: QQuick3DGeometry.Attribute.Semantic + NormalSemantic = ... # type: QQuick3DGeometry.Attribute.Semantic + TexCoordSemantic = ... # type: QQuick3DGeometry.Attribute.Semantic + TangentSemantic = ... # type: QQuick3DGeometry.Attribute.Semantic + BinormalSemantic = ... # type: QQuick3DGeometry.Attribute.Semantic + + componentType = ... # type: 'QQuick3DGeometry.Attribute.ComponentType' + offset = ... # type: int + semantic = ... # type: 'QQuick3DGeometry.Attribute.Semantic' + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QQuick3DGeometry.Attribute') -> None: ... + + def __init__(self, parent: typing.Optional[QQuick3DObject] = ...) -> None: ... + + def nameChanged(self) -> None: ... + def setName(self, name: str) -> None: ... + def clear(self) -> None: ... + @typing.overload + def addAttribute(self, semantic: 'QQuick3DGeometry.Attribute.Semantic', offset: int, componentType: 'QQuick3DGeometry.Attribute.ComponentType') -> None: ... + @typing.overload + def addAttribute(self, att: 'QQuick3DGeometry.Attribute') -> None: ... + def setPrimitiveType(self, type: 'QQuick3DGeometry.PrimitiveType') -> None: ... + def setBounds(self, min: QtGui.QVector3D, max: QtGui.QVector3D) -> None: ... + def setStride(self, stride: int) -> None: ... + def setIndexData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def setVertexData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def stride(self) -> int: ... + def boundsMax(self) -> QtGui.QVector3D: ... + def boundsMin(self) -> QtGui.QVector3D: ... + def primitiveType(self) -> 'QQuick3DGeometry.PrimitiveType': ... + def attribute(self, index: int) -> 'QQuick3DGeometry.Attribute': ... + def attributeCount(self) -> int: ... + def indexBuffer(self) -> QtCore.QByteArray: ... + def vertexBuffer(self) -> QtCore.QByteArray: ... + def name(self) -> str: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtQuickWidgets.pyi b/OTHERS/Jarvis/ools/PyQt5/QtQuickWidgets.pyi new file mode 100644 index 00000000..8ee15f95 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtQuickWidgets.pyi @@ -0,0 +1,103 @@ +# The PEP 484 type hints stub file for the QtQuickWidgets module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtQuick +from PyQt5 import QtQml +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QQuickWidget(QtWidgets.QWidget): + + class Status(int): + Null = ... # type: QQuickWidget.Status + Ready = ... # type: QQuickWidget.Status + Loading = ... # type: QQuickWidget.Status + Error = ... # type: QQuickWidget.Status + + class ResizeMode(int): + SizeViewToRootObject = ... # type: QQuickWidget.ResizeMode + SizeRootObjectToView = ... # type: QQuickWidget.ResizeMode + + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, engine: QtQml.QQmlEngine, parent: QtWidgets.QWidget) -> None: ... + @typing.overload + def __init__(self, source: QtCore.QUrl, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + def focusNextPrevChild(self, next: bool) -> bool: ... + def quickWindow(self) -> QtQuick.QQuickWindow: ... + def setClearColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def grabFramebuffer(self) -> QtGui.QImage: ... + def paintEvent(self, event: QtGui.QPaintEvent) -> None: ... + def dropEvent(self, a0: QtGui.QDropEvent) -> None: ... + def dragLeaveEvent(self, a0: QtGui.QDragLeaveEvent) -> None: ... + def dragMoveEvent(self, a0: QtGui.QDragMoveEvent) -> None: ... + def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ... + def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ... + def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def keyReleaseEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def sceneGraphError(self, error: QtQuick.QQuickWindow.SceneGraphError, message: str) -> None: ... + def statusChanged(self, a0: 'QQuickWidget.Status') -> None: ... + def setSource(self, a0: QtCore.QUrl) -> None: ... + def format(self) -> QtGui.QSurfaceFormat: ... + def setFormat(self, format: QtGui.QSurfaceFormat) -> None: ... + def initialSize(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def errors(self) -> typing.List[QtQml.QQmlError]: ... + def status(self) -> 'QQuickWidget.Status': ... + def setResizeMode(self, a0: 'QQuickWidget.ResizeMode') -> None: ... + def resizeMode(self) -> 'QQuickWidget.ResizeMode': ... + def rootObject(self) -> QtQuick.QQuickItem: ... + def rootContext(self) -> QtQml.QQmlContext: ... + def engine(self) -> QtQml.QQmlEngine: ... + def source(self) -> QtCore.QUrl: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtRemoteObjects.pyi b/OTHERS/Jarvis/ools/PyQt5/QtRemoteObjects.pyi new file mode 100644 index 00000000..1ef7e48d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtRemoteObjects.pyi @@ -0,0 +1,194 @@ +# The PEP 484 type hints stub file for the QtRemoteObjects module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QAbstractItemModelReplica(QtCore.QAbstractItemModel): + + def initialized(self) -> None: ... + def setRootCacheSize(self, rootCacheSize: int) -> None: ... + def rootCacheSize(self) -> int: ... + def hasData(self, index: QtCore.QModelIndex, role: int) -> bool: ... + def isInitialized(self) -> bool: ... + def roleNames(self) -> typing.Dict[int, QtCore.QByteArray]: ... + def availableRoles(self) -> typing.List[int]: ... + def flags(self, index: QtCore.QModelIndex) -> QtCore.Qt.ItemFlags: ... + def headerData(self, section: int, orientation: QtCore.Qt.Orientation, role: int) -> typing.Any: ... + def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def hasChildren(self, parent: QtCore.QModelIndex = ...) -> bool: ... + def index(self, row: int, column: int, parent: QtCore.QModelIndex = ...) -> QtCore.QModelIndex: ... + def parent(self, index: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + def setData(self, index: QtCore.QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, index: QtCore.QModelIndex, role: int = ...) -> typing.Any: ... + def selectionModel(self) -> QtCore.QItemSelectionModel: ... + + +class QRemoteObjectReplica(QtCore.QObject): + + class State(int): + Uninitialized = ... # type: QRemoteObjectReplica.State + Default = ... # type: QRemoteObjectReplica.State + Valid = ... # type: QRemoteObjectReplica.State + Suspect = ... # type: QRemoteObjectReplica.State + SignatureMismatch = ... # type: QRemoteObjectReplica.State + + def notified(self) -> None: ... + def stateChanged(self, state: 'QRemoteObjectReplica.State', oldState: 'QRemoteObjectReplica.State') -> None: ... + def initialized(self) -> None: ... + def setNode(self, node: 'QRemoteObjectNode') -> None: ... + def node(self) -> 'QRemoteObjectNode': ... + def state(self) -> 'QRemoteObjectReplica.State': ... + def isInitialized(self) -> bool: ... + def waitForSource(self, timeout: int = ...) -> bool: ... + def isReplicaValid(self) -> bool: ... + + +class QRemoteObjectDynamicReplica(QRemoteObjectReplica): ... + + +class QRemoteObjectAbstractPersistedStore(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def restoreProperties(self, repName: str, repSig: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> typing.List[typing.Any]: ... + def saveProperties(self, repName: str, repSig: typing.Union[QtCore.QByteArray, bytes, bytearray], values: typing.Iterable[typing.Any]) -> None: ... + + +class QRemoteObjectNode(QtCore.QObject): + + class ErrorCode(int): + NoError = ... # type: QRemoteObjectNode.ErrorCode + RegistryNotAcquired = ... # type: QRemoteObjectNode.ErrorCode + RegistryAlreadyHosted = ... # type: QRemoteObjectNode.ErrorCode + NodeIsNoServer = ... # type: QRemoteObjectNode.ErrorCode + ServerAlreadyCreated = ... # type: QRemoteObjectNode.ErrorCode + UnintendedRegistryHosting = ... # type: QRemoteObjectNode.ErrorCode + OperationNotValidOnClientNode = ... # type: QRemoteObjectNode.ErrorCode + SourceNotRegistered = ... # type: QRemoteObjectNode.ErrorCode + MissingObjectName = ... # type: QRemoteObjectNode.ErrorCode + HostUrlInvalid = ... # type: QRemoteObjectNode.ErrorCode + ProtocolMismatch = ... # type: QRemoteObjectNode.ErrorCode + ListenFailed = ... # type: QRemoteObjectNode.ErrorCode + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, registryAddress: QtCore.QUrl, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... + def heartbeatIntervalChanged(self, heartbeatInterval: int) -> None: ... + def error(self, errorCode: 'QRemoteObjectNode.ErrorCode') -> None: ... + def remoteObjectRemoved(self, a0: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + def remoteObjectAdded(self, a0: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + def setHeartbeatInterval(self, interval: int) -> None: ... + def heartbeatInterval(self) -> int: ... + def lastError(self) -> 'QRemoteObjectNode.ErrorCode': ... + def setPersistedStore(self, persistedStore: QRemoteObjectAbstractPersistedStore) -> None: ... + def persistedStore(self) -> QRemoteObjectAbstractPersistedStore: ... + def registry(self) -> 'QRemoteObjectRegistry': ... + def waitForRegistry(self, timeout: int = ...) -> bool: ... + def setRegistryUrl(self, registryAddress: QtCore.QUrl) -> bool: ... + def registryUrl(self) -> QtCore.QUrl: ... + def acquireModel(self, name: str, action: 'QtRemoteObjects.InitialAction' = ..., rolesHint: typing.Iterable[int] = ...) -> QAbstractItemModelReplica: ... + def acquireDynamic(self, name: str) -> QRemoteObjectDynamicReplica: ... + def instances(self, typeName: str) -> typing.List[str]: ... + def setName(self, name: str) -> None: ... + def addClientSideConnection(self, ioDevice: QtCore.QIODevice) -> None: ... + def connectToNode(self, address: QtCore.QUrl) -> bool: ... + + +class QRemoteObjectHostBase(QRemoteObjectNode): + + class AllowedSchemas(int): + BuiltInSchemasOnly = ... # type: QRemoteObjectHostBase.AllowedSchemas + AllowExternalRegistration = ... # type: QRemoteObjectHostBase.AllowedSchemas + + def reverseProxy(self) -> bool: ... + def proxy(self, registryUrl: QtCore.QUrl, hostUrl: QtCore.QUrl = ...) -> bool: ... + def addHostSideConnection(self, ioDevice: QtCore.QIODevice) -> None: ... + def disableRemoting(self, remoteObject: QtCore.QObject) -> bool: ... + @typing.overload + def enableRemoting(self, object: QtCore.QObject, name: str = ...) -> bool: ... + @typing.overload + def enableRemoting(self, model: QtCore.QAbstractItemModel, name: str, roles: typing.Iterable[int], selectionModel: typing.Optional[QtCore.QItemSelectionModel] = ...) -> bool: ... + def setName(self, name: str) -> None: ... + + +class QRemoteObjectHost(QRemoteObjectHostBase): + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, address: QtCore.QUrl, registryAddress: QtCore.QUrl = ..., allowedSchemas: QRemoteObjectHostBase.AllowedSchemas = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, address: QtCore.QUrl, parent: QtCore.QObject) -> None: ... + + def hostUrlChanged(self) -> None: ... + def setHostUrl(self, hostAddress: QtCore.QUrl, allowedSchemas: QRemoteObjectHostBase.AllowedSchemas = ...) -> bool: ... + def hostUrl(self) -> QtCore.QUrl: ... + + +class QRemoteObjectRegistryHost(QRemoteObjectHostBase): + + def __init__(self, registryAddress: QtCore.QUrl = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setRegistryUrl(self, registryUrl: QtCore.QUrl) -> bool: ... + + +class QRemoteObjectRegistry(QRemoteObjectReplica): + + def remoteObjectRemoved(self, entry: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + def remoteObjectAdded(self, entry: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + def sourceLocations(self) -> typing.Dict[str, 'QRemoteObjectSourceLocationInfo']: ... + + +class QRemoteObjectSourceLocationInfo(sip.simplewrapper): + + hostUrl = ... # type: QtCore.QUrl + typeName = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, typeName_: str, hostUrl_: QtCore.QUrl) -> None: ... + @typing.overload + def __init__(self, a0: 'QRemoteObjectSourceLocationInfo') -> None: ... + + +class QtRemoteObjects(PyQt5.sip.simplewrapper): + + class InitialAction(int): + FetchRootSize = ... # type: QtRemoteObjects.InitialAction + PrefetchData = ... # type: QtRemoteObjects.InitialAction diff --git a/OTHERS/Jarvis/ools/PyQt5/QtSensors.pyi b/OTHERS/Jarvis/ools/PyQt5/QtSensors.pyi new file mode 100644 index 00000000..281246a3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtSensors.pyi @@ -0,0 +1,664 @@ +# The PEP 484 type hints stub file for the QtSensors module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QSensorReading(QtCore.QObject): + + def value(self, index: int) -> typing.Any: ... + def valueCount(self) -> int: ... + def setTimestamp(self, timestamp: int) -> None: ... + def timestamp(self) -> int: ... + + +class QAccelerometerReading(QSensorReading): + + def setZ(self, z: float) -> None: ... + def z(self) -> float: ... + def setY(self, y: float) -> None: ... + def y(self) -> float: ... + def setX(self, x: float) -> None: ... + def x(self) -> float: ... + + +class QSensorFilter(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSensorFilter') -> None: ... + + def filter(self, reading: QSensorReading) -> bool: ... + + +class QAccelerometerFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAccelerometerFilter') -> None: ... + + def filter(self, reading: QAccelerometerReading) -> bool: ... + + +class QSensor(QtCore.QObject): + + class AxesOrientationMode(int): + FixedOrientation = ... # type: QSensor.AxesOrientationMode + AutomaticOrientation = ... # type: QSensor.AxesOrientationMode + UserOrientation = ... # type: QSensor.AxesOrientationMode + + class Feature(int): + Buffering = ... # type: QSensor.Feature + AlwaysOn = ... # type: QSensor.Feature + GeoValues = ... # type: QSensor.Feature + FieldOfView = ... # type: QSensor.Feature + AccelerationMode = ... # type: QSensor.Feature + SkipDuplicates = ... # type: QSensor.Feature + AxesOrientation = ... # type: QSensor.Feature + PressureSensorTemperature = ... # type: QSensor.Feature + + def __init__(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def bufferSizeChanged(self, bufferSize: int) -> None: ... + def efficientBufferSizeChanged(self, efficientBufferSize: int) -> None: ... + def maxBufferSizeChanged(self, maxBufferSize: int) -> None: ... + def userOrientationChanged(self, userOrientation: int) -> None: ... + def currentOrientationChanged(self, currentOrientation: int) -> None: ... + def axesOrientationModeChanged(self, axesOrientationMode: 'QSensor.AxesOrientationMode') -> None: ... + def skipDuplicatesChanged(self, skipDuplicates: bool) -> None: ... + def dataRateChanged(self) -> None: ... + def alwaysOnChanged(self) -> None: ... + def availableSensorsChanged(self) -> None: ... + def sensorError(self, error: int) -> None: ... + def readingChanged(self) -> None: ... + def activeChanged(self) -> None: ... + def busyChanged(self) -> None: ... + def stop(self) -> None: ... + def start(self) -> bool: ... + def setBufferSize(self, bufferSize: int) -> None: ... + def bufferSize(self) -> int: ... + def setEfficientBufferSize(self, efficientBufferSize: int) -> None: ... + def efficientBufferSize(self) -> int: ... + def setMaxBufferSize(self, maxBufferSize: int) -> None: ... + def maxBufferSize(self) -> int: ... + def setUserOrientation(self, userOrientation: int) -> None: ... + def userOrientation(self) -> int: ... + def setCurrentOrientation(self, currentOrientation: int) -> None: ... + def currentOrientation(self) -> int: ... + def setAxesOrientationMode(self, axesOrientationMode: 'QSensor.AxesOrientationMode') -> None: ... + def axesOrientationMode(self) -> 'QSensor.AxesOrientationMode': ... + def isFeatureSupported(self, feature: 'QSensor.Feature') -> bool: ... + @staticmethod + def defaultSensorForType(type: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> QtCore.QByteArray: ... + @staticmethod + def sensorsForType(type: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> typing.List[QtCore.QByteArray]: ... + @staticmethod + def sensorTypes() -> typing.List[QtCore.QByteArray]: ... + def reading(self) -> QSensorReading: ... + def filters(self) -> typing.List[QSensorFilter]: ... + def removeFilter(self, filter: QSensorFilter) -> None: ... + def addFilter(self, filter: QSensorFilter) -> None: ... + def error(self) -> int: ... + def description(self) -> str: ... + def setOutputRange(self, index: int) -> None: ... + def outputRange(self) -> int: ... + def outputRanges(self) -> typing.List['qoutputrange']: ... + def setDataRate(self, rate: int) -> None: ... + def dataRate(self) -> int: ... + def availableDataRates(self) -> typing.List[typing.Tuple[int, int]]: ... + def setSkipDuplicates(self, skipDuplicates: bool) -> None: ... + def skipDuplicates(self) -> bool: ... + def setAlwaysOn(self, alwaysOn: bool) -> None: ... + def isAlwaysOn(self) -> bool: ... + def isActive(self) -> bool: ... + def setActive(self, active: bool) -> None: ... + def isBusy(self) -> bool: ... + def isConnectedToBackend(self) -> bool: ... + def connectToBackend(self) -> bool: ... + def type(self) -> QtCore.QByteArray: ... + def setIdentifier(self, identifier: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def identifier(self) -> QtCore.QByteArray: ... + + +class QAccelerometer(QSensor): + + class AccelerationMode(int): + Combined = ... # type: QAccelerometer.AccelerationMode + Gravity = ... # type: QAccelerometer.AccelerationMode + User = ... # type: QAccelerometer.AccelerationMode + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def accelerationModeChanged(self, accelerationMode: 'QAccelerometer.AccelerationMode') -> None: ... + def reading(self) -> QAccelerometerReading: ... + def setAccelerationMode(self, accelerationMode: 'QAccelerometer.AccelerationMode') -> None: ... + def accelerationMode(self) -> 'QAccelerometer.AccelerationMode': ... + + +class QAltimeterReading(QSensorReading): + + def setAltitude(self, altitude: float) -> None: ... + def altitude(self) -> float: ... + + +class QAltimeterFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAltimeterFilter') -> None: ... + + def filter(self, reading: QAltimeterReading) -> bool: ... + + +class QAltimeter(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QAltimeterReading: ... + + +class QAmbientLightReading(QSensorReading): + + class LightLevel(int): + Undefined = ... # type: QAmbientLightReading.LightLevel + Dark = ... # type: QAmbientLightReading.LightLevel + Twilight = ... # type: QAmbientLightReading.LightLevel + Light = ... # type: QAmbientLightReading.LightLevel + Bright = ... # type: QAmbientLightReading.LightLevel + Sunny = ... # type: QAmbientLightReading.LightLevel + + def setLightLevel(self, lightLevel: 'QAmbientLightReading.LightLevel') -> None: ... + def lightLevel(self) -> 'QAmbientLightReading.LightLevel': ... + + +class QAmbientLightFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAmbientLightFilter') -> None: ... + + def filter(self, reading: QAmbientLightReading) -> bool: ... + + +class QAmbientLightSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QAmbientLightReading: ... + + +class QAmbientTemperatureReading(QSensorReading): + + def setTemperature(self, temperature: float) -> None: ... + def temperature(self) -> float: ... + + +class QAmbientTemperatureFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QAmbientTemperatureFilter') -> None: ... + + def filter(self, reading: QAmbientTemperatureReading) -> bool: ... + + +class QAmbientTemperatureSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QAmbientTemperatureReading: ... + + +class QCompassReading(QSensorReading): + + def setCalibrationLevel(self, calibrationLevel: float) -> None: ... + def calibrationLevel(self) -> float: ... + def setAzimuth(self, azimuth: float) -> None: ... + def azimuth(self) -> float: ... + + +class QCompassFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QCompassFilter') -> None: ... + + def filter(self, reading: QCompassReading) -> bool: ... + + +class QCompass(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QCompassReading: ... + + +class QDistanceReading(QSensorReading): + + def setDistance(self, distance: float) -> None: ... + def distance(self) -> float: ... + + +class QDistanceFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDistanceFilter') -> None: ... + + def filter(self, reading: QDistanceReading) -> bool: ... + + +class QDistanceSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QDistanceReading: ... + + +class QGyroscopeReading(QSensorReading): + + def setZ(self, z: float) -> None: ... + def z(self) -> float: ... + def setY(self, y: float) -> None: ... + def y(self) -> float: ... + def setX(self, x: float) -> None: ... + def x(self) -> float: ... + + +class QGyroscopeFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QGyroscopeFilter') -> None: ... + + def filter(self, reading: QGyroscopeReading) -> bool: ... + + +class QGyroscope(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QGyroscopeReading: ... + + +class QHolsterReading(QSensorReading): + + def setHolstered(self, holstered: bool) -> None: ... + def holstered(self) -> bool: ... + + +class QHolsterFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QHolsterFilter') -> None: ... + + def filter(self, reading: QHolsterReading) -> bool: ... + + +class QHolsterSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QHolsterReading: ... + + +class QHumidityReading(QSensorReading): + + def setAbsoluteHumidity(self, value: float) -> None: ... + def absoluteHumidity(self) -> float: ... + def setRelativeHumidity(self, percent: float) -> None: ... + def relativeHumidity(self) -> float: ... + + +class QHumidityFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QHumidityFilter') -> None: ... + + def filter(self, reading: QHumidityReading) -> bool: ... + + +class QHumiditySensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QHumidityReading: ... + + +class QIRProximityReading(QSensorReading): + + def setReflectance(self, reflectance: float) -> None: ... + def reflectance(self) -> float: ... + + +class QIRProximityFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QIRProximityFilter') -> None: ... + + def filter(self, reading: QIRProximityReading) -> bool: ... + + +class QIRProximitySensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QIRProximityReading: ... + + +class QLidReading(QSensorReading): + + def frontLidChanged(self, closed: bool) -> None: ... + def backLidChanged(self, closed: bool) -> None: ... + def setFrontLidClosed(self, closed: bool) -> None: ... + def frontLidClosed(self) -> bool: ... + def setBackLidClosed(self, closed: bool) -> None: ... + def backLidClosed(self) -> bool: ... + + +class QLidFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QLidFilter') -> None: ... + + def filter(self, reading: QLidReading) -> bool: ... + + +class QLidSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QLidReading: ... + + +class QLightReading(QSensorReading): + + def setLux(self, lux: float) -> None: ... + def lux(self) -> float: ... + + +class QLightFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QLightFilter') -> None: ... + + def filter(self, reading: QLightReading) -> bool: ... + + +class QLightSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def fieldOfViewChanged(self, fieldOfView: float) -> None: ... + def setFieldOfView(self, fieldOfView: float) -> None: ... + def fieldOfView(self) -> float: ... + def reading(self) -> QLightReading: ... + + +class QMagnetometerReading(QSensorReading): + + def setCalibrationLevel(self, calibrationLevel: float) -> None: ... + def calibrationLevel(self) -> float: ... + def setZ(self, z: float) -> None: ... + def z(self) -> float: ... + def setY(self, y: float) -> None: ... + def y(self) -> float: ... + def setX(self, x: float) -> None: ... + def x(self) -> float: ... + + +class QMagnetometerFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QMagnetometerFilter') -> None: ... + + def filter(self, reading: QMagnetometerReading) -> bool: ... + + +class QMagnetometer(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def returnGeoValuesChanged(self, returnGeoValues: bool) -> None: ... + def setReturnGeoValues(self, returnGeoValues: bool) -> None: ... + def returnGeoValues(self) -> bool: ... + def reading(self) -> QMagnetometerReading: ... + + +class QOrientationReading(QSensorReading): + + class Orientation(int): + Undefined = ... # type: QOrientationReading.Orientation + TopUp = ... # type: QOrientationReading.Orientation + TopDown = ... # type: QOrientationReading.Orientation + LeftUp = ... # type: QOrientationReading.Orientation + RightUp = ... # type: QOrientationReading.Orientation + FaceUp = ... # type: QOrientationReading.Orientation + FaceDown = ... # type: QOrientationReading.Orientation + + def setOrientation(self, orientation: 'QOrientationReading.Orientation') -> None: ... + def orientation(self) -> 'QOrientationReading.Orientation': ... + + +class QOrientationFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QOrientationFilter') -> None: ... + + def filter(self, reading: QOrientationReading) -> bool: ... + + +class QOrientationSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QOrientationReading: ... + + +class QPressureReading(QSensorReading): + + def setTemperature(self, temperature: float) -> None: ... + def temperature(self) -> float: ... + def setPressure(self, pressure: float) -> None: ... + def pressure(self) -> float: ... + + +class QPressureFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QPressureFilter') -> None: ... + + def filter(self, reading: QPressureReading) -> bool: ... + + +class QPressureSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QPressureReading: ... + + +class QProximityReading(QSensorReading): + + def setClose(self, close: bool) -> None: ... + def close(self) -> bool: ... + + +class QProximityFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QProximityFilter') -> None: ... + + def filter(self, reading: QProximityReading) -> bool: ... + + +class QProximitySensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def reading(self) -> QProximityReading: ... + + +class qoutputrange(sip.simplewrapper): + + accuracy = ... # type: float + maximum = ... # type: float + minimum = ... # type: float + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'qoutputrange') -> None: ... + + +class QTapReading(QSensorReading): + + class TapDirection(int): + Undefined = ... # type: QTapReading.TapDirection + X = ... # type: QTapReading.TapDirection + Y = ... # type: QTapReading.TapDirection + Z = ... # type: QTapReading.TapDirection + X_Pos = ... # type: QTapReading.TapDirection + Y_Pos = ... # type: QTapReading.TapDirection + Z_Pos = ... # type: QTapReading.TapDirection + X_Neg = ... # type: QTapReading.TapDirection + Y_Neg = ... # type: QTapReading.TapDirection + Z_Neg = ... # type: QTapReading.TapDirection + X_Both = ... # type: QTapReading.TapDirection + Y_Both = ... # type: QTapReading.TapDirection + Z_Both = ... # type: QTapReading.TapDirection + + def setDoubleTap(self, doubleTap: bool) -> None: ... + def isDoubleTap(self) -> bool: ... + def setTapDirection(self, tapDirection: 'QTapReading.TapDirection') -> None: ... + def tapDirection(self) -> 'QTapReading.TapDirection': ... + + +class QTapFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTapFilter') -> None: ... + + def filter(self, reading: QTapReading) -> bool: ... + + +class QTapSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def returnDoubleTapEventsChanged(self, returnDoubleTapEvents: bool) -> None: ... + def setReturnDoubleTapEvents(self, returnDoubleTapEvents: bool) -> None: ... + def returnDoubleTapEvents(self) -> bool: ... + def reading(self) -> QTapReading: ... + + +class QTiltReading(QSensorReading): + + def setXRotation(self, x: float) -> None: ... + def xRotation(self) -> float: ... + def setYRotation(self, y: float) -> None: ... + def yRotation(self) -> float: ... + + +class QTiltFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTiltFilter') -> None: ... + + def filter(self, reading: QTiltReading) -> bool: ... + + +class QTiltSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def calibrate(self) -> None: ... + def reading(self) -> QTiltReading: ... + + +class QRotationReading(QSensorReading): + + def setFromEuler(self, x: float, y: float, z: float) -> None: ... + def z(self) -> float: ... + def y(self) -> float: ... + def x(self) -> float: ... + + +class QRotationFilter(QSensorFilter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QRotationFilter') -> None: ... + + def filter(self, reading: QRotationReading) -> bool: ... + + +class QRotationSensor(QSensor): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def hasZChanged(self, hasZ: bool) -> None: ... + def setHasZ(self, hasZ: bool) -> None: ... + def hasZ(self) -> bool: ... + def reading(self) -> QRotationReading: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtSerialPort.pyi b/OTHERS/Jarvis/ools/PyQt5/QtSerialPort.pyi new file mode 100644 index 00000000..3e4de0ce --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtSerialPort.pyi @@ -0,0 +1,242 @@ +# The PEP 484 type hints stub file for the QtSerialPort module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QSerialPort(QtCore.QIODevice): + + class SerialPortError(int): + NoError = ... # type: QSerialPort.SerialPortError + DeviceNotFoundError = ... # type: QSerialPort.SerialPortError + PermissionError = ... # type: QSerialPort.SerialPortError + OpenError = ... # type: QSerialPort.SerialPortError + ParityError = ... # type: QSerialPort.SerialPortError + FramingError = ... # type: QSerialPort.SerialPortError + BreakConditionError = ... # type: QSerialPort.SerialPortError + WriteError = ... # type: QSerialPort.SerialPortError + ReadError = ... # type: QSerialPort.SerialPortError + ResourceError = ... # type: QSerialPort.SerialPortError + UnsupportedOperationError = ... # type: QSerialPort.SerialPortError + TimeoutError = ... # type: QSerialPort.SerialPortError + NotOpenError = ... # type: QSerialPort.SerialPortError + UnknownError = ... # type: QSerialPort.SerialPortError + + class DataErrorPolicy(int): + SkipPolicy = ... # type: QSerialPort.DataErrorPolicy + PassZeroPolicy = ... # type: QSerialPort.DataErrorPolicy + IgnorePolicy = ... # type: QSerialPort.DataErrorPolicy + StopReceivingPolicy = ... # type: QSerialPort.DataErrorPolicy + UnknownPolicy = ... # type: QSerialPort.DataErrorPolicy + + class PinoutSignal(int): + NoSignal = ... # type: QSerialPort.PinoutSignal + TransmittedDataSignal = ... # type: QSerialPort.PinoutSignal + ReceivedDataSignal = ... # type: QSerialPort.PinoutSignal + DataTerminalReadySignal = ... # type: QSerialPort.PinoutSignal + DataCarrierDetectSignal = ... # type: QSerialPort.PinoutSignal + DataSetReadySignal = ... # type: QSerialPort.PinoutSignal + RingIndicatorSignal = ... # type: QSerialPort.PinoutSignal + RequestToSendSignal = ... # type: QSerialPort.PinoutSignal + ClearToSendSignal = ... # type: QSerialPort.PinoutSignal + SecondaryTransmittedDataSignal = ... # type: QSerialPort.PinoutSignal + SecondaryReceivedDataSignal = ... # type: QSerialPort.PinoutSignal + + class FlowControl(int): + NoFlowControl = ... # type: QSerialPort.FlowControl + HardwareControl = ... # type: QSerialPort.FlowControl + SoftwareControl = ... # type: QSerialPort.FlowControl + UnknownFlowControl = ... # type: QSerialPort.FlowControl + + class StopBits(int): + OneStop = ... # type: QSerialPort.StopBits + OneAndHalfStop = ... # type: QSerialPort.StopBits + TwoStop = ... # type: QSerialPort.StopBits + UnknownStopBits = ... # type: QSerialPort.StopBits + + class Parity(int): + NoParity = ... # type: QSerialPort.Parity + EvenParity = ... # type: QSerialPort.Parity + OddParity = ... # type: QSerialPort.Parity + SpaceParity = ... # type: QSerialPort.Parity + MarkParity = ... # type: QSerialPort.Parity + UnknownParity = ... # type: QSerialPort.Parity + + class DataBits(int): + Data5 = ... # type: QSerialPort.DataBits + Data6 = ... # type: QSerialPort.DataBits + Data7 = ... # type: QSerialPort.DataBits + Data8 = ... # type: QSerialPort.DataBits + UnknownDataBits = ... # type: QSerialPort.DataBits + + class BaudRate(int): + Baud1200 = ... # type: QSerialPort.BaudRate + Baud2400 = ... # type: QSerialPort.BaudRate + Baud4800 = ... # type: QSerialPort.BaudRate + Baud9600 = ... # type: QSerialPort.BaudRate + Baud19200 = ... # type: QSerialPort.BaudRate + Baud38400 = ... # type: QSerialPort.BaudRate + Baud57600 = ... # type: QSerialPort.BaudRate + Baud115200 = ... # type: QSerialPort.BaudRate + UnknownBaud = ... # type: QSerialPort.BaudRate + + class Direction(int): + Input = ... # type: QSerialPort.Direction + Output = ... # type: QSerialPort.Direction + AllDirections = ... # type: QSerialPort.Direction + + class Directions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSerialPort.Directions', 'QSerialPort.Direction']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSerialPort.Directions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSerialPort.Directions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class PinoutSignals(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSerialPort.PinoutSignals', 'QSerialPort.PinoutSignal']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSerialPort.PinoutSignals') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSerialPort.PinoutSignals': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, info: 'QSerialPortInfo', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def errorOccurred(self, error: 'QSerialPort.SerialPortError') -> None: ... + def breakEnabledChanged(self, set: bool) -> None: ... + def isBreakEnabled(self) -> bool: ... + def handle(self) -> PyQt5.sip.voidptr: ... + def writeData(self, data: bytes) -> int: ... + def readLineData(self, maxlen: int) -> bytes: ... + def readData(self, maxlen: int) -> bytes: ... + def settingsRestoredOnCloseChanged(self, restore: bool) -> None: ... + def requestToSendChanged(self, set: bool) -> None: ... + def dataTerminalReadyChanged(self, set: bool) -> None: ... + def dataErrorPolicyChanged(self, policy: 'QSerialPort.DataErrorPolicy') -> None: ... + def flowControlChanged(self, flow: 'QSerialPort.FlowControl') -> None: ... + def stopBitsChanged(self, stopBits: 'QSerialPort.StopBits') -> None: ... + def parityChanged(self, parity: 'QSerialPort.Parity') -> None: ... + def dataBitsChanged(self, dataBits: 'QSerialPort.DataBits') -> None: ... + def baudRateChanged(self, baudRate: int, directions: typing.Union['QSerialPort.Directions', 'QSerialPort.Direction']) -> None: ... + def setBreakEnabled(self, enabled: bool = ...) -> bool: ... + def sendBreak(self, duration: int = ...) -> bool: ... + def waitForBytesWritten(self, msecs: int = ...) -> bool: ... + def waitForReadyRead(self, msecs: int = ...) -> bool: ... + def canReadLine(self) -> bool: ... + def bytesToWrite(self) -> int: ... + def bytesAvailable(self) -> int: ... + def isSequential(self) -> bool: ... + def setReadBufferSize(self, size: int) -> None: ... + def readBufferSize(self) -> int: ... + def clearError(self) -> None: ... + @typing.overload + def error(self) -> 'QSerialPort.SerialPortError': ... + @typing.overload + def error(self, serialPortError: 'QSerialPort.SerialPortError') -> None: ... + def dataErrorPolicy(self) -> 'QSerialPort.DataErrorPolicy': ... + def setDataErrorPolicy(self, policy: 'QSerialPort.DataErrorPolicy' = ...) -> bool: ... + def atEnd(self) -> bool: ... + def clear(self, dir: typing.Union['QSerialPort.Directions', 'QSerialPort.Direction'] = ...) -> bool: ... + def flush(self) -> bool: ... + def pinoutSignals(self) -> 'QSerialPort.PinoutSignals': ... + def isRequestToSend(self) -> bool: ... + def setRequestToSend(self, set: bool) -> bool: ... + def isDataTerminalReady(self) -> bool: ... + def setDataTerminalReady(self, set: bool) -> bool: ... + def flowControl(self) -> 'QSerialPort.FlowControl': ... + def setFlowControl(self, flow: 'QSerialPort.FlowControl') -> bool: ... + def stopBits(self) -> 'QSerialPort.StopBits': ... + def setStopBits(self, stopBits: 'QSerialPort.StopBits') -> bool: ... + def parity(self) -> 'QSerialPort.Parity': ... + def setParity(self, parity: 'QSerialPort.Parity') -> bool: ... + def dataBits(self) -> 'QSerialPort.DataBits': ... + def setDataBits(self, dataBits: 'QSerialPort.DataBits') -> bool: ... + def baudRate(self, dir: typing.Union['QSerialPort.Directions', 'QSerialPort.Direction'] = ...) -> int: ... + def setBaudRate(self, baudRate: int, dir: typing.Union['QSerialPort.Directions', 'QSerialPort.Direction'] = ...) -> bool: ... + def settingsRestoredOnClose(self) -> bool: ... + def setSettingsRestoredOnClose(self, restore: bool) -> None: ... + def close(self) -> None: ... + def open(self, mode: typing.Union[QtCore.QIODevice.OpenMode, QtCore.QIODevice.OpenModeFlag]) -> bool: ... + def setPort(self, info: 'QSerialPortInfo') -> None: ... + def portName(self) -> str: ... + def setPortName(self, name: str) -> None: ... + + +class QSerialPortInfo(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, port: QSerialPort) -> None: ... + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, other: 'QSerialPortInfo') -> None: ... + + def serialNumber(self) -> str: ... + def isNull(self) -> bool: ... + @staticmethod + def availablePorts() -> typing.List['QSerialPortInfo']: ... + @staticmethod + def standardBaudRates() -> typing.List[int]: ... + def isValid(self) -> bool: ... + def isBusy(self) -> bool: ... + def hasProductIdentifier(self) -> bool: ... + def hasVendorIdentifier(self) -> bool: ... + def productIdentifier(self) -> int: ... + def vendorIdentifier(self) -> int: ... + def manufacturer(self) -> str: ... + def description(self) -> str: ... + def systemLocation(self) -> str: ... + def portName(self) -> str: ... + def swap(self, other: 'QSerialPortInfo') -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtSql.pyi b/OTHERS/Jarvis/ools/PyQt5/QtSql.pyi new file mode 100644 index 00000000..2f0f2401 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtSql.pyi @@ -0,0 +1,670 @@ +# The PEP 484 type hints stub file for the QtSql module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QSqlDriverCreatorBase(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QSqlDriverCreatorBase') -> None: ... + + def createObject(self) -> 'QSqlDriver': ... + + +class QSqlDatabase(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QSqlDatabase') -> None: ... + @typing.overload + def __init__(self, type: str) -> None: ... + @typing.overload + def __init__(self, driver: 'QSqlDriver') -> None: ... + + def numericalPrecisionPolicy(self) -> 'QSql.NumericalPrecisionPolicy': ... + def setNumericalPrecisionPolicy(self, precisionPolicy: 'QSql.NumericalPrecisionPolicy') -> None: ... + @staticmethod + def isDriverAvailable(name: str) -> bool: ... + @staticmethod + def registerSqlDriver(name: str, creator: QSqlDriverCreatorBase) -> None: ... + @staticmethod + def connectionNames() -> typing.List[str]: ... + @staticmethod + def drivers() -> typing.List[str]: ... + @staticmethod + def contains(connectionName: str = ...) -> bool: ... + @staticmethod + def removeDatabase(connectionName: str) -> None: ... + @staticmethod + def database(connectionName: str = ..., open: bool = ...) -> 'QSqlDatabase': ... + @typing.overload + @staticmethod + def cloneDatabase(other: 'QSqlDatabase', connectionName: str) -> 'QSqlDatabase': ... + @typing.overload + @staticmethod + def cloneDatabase(other: str, connectionName: str) -> 'QSqlDatabase': ... + @typing.overload + @staticmethod + def addDatabase(type: str, connectionName: str = ...) -> 'QSqlDatabase': ... + @typing.overload + @staticmethod + def addDatabase(driver: 'QSqlDriver', connectionName: str = ...) -> 'QSqlDatabase': ... + def driver(self) -> 'QSqlDriver': ... + def connectionName(self) -> str: ... + def connectOptions(self) -> str: ... + def port(self) -> int: ... + def driverName(self) -> str: ... + def hostName(self) -> str: ... + def password(self) -> str: ... + def userName(self) -> str: ... + def databaseName(self) -> str: ... + def setConnectOptions(self, options: str = ...) -> None: ... + def setPort(self, p: int) -> None: ... + def setHostName(self, host: str) -> None: ... + def setPassword(self, password: str) -> None: ... + def setUserName(self, name: str) -> None: ... + def setDatabaseName(self, name: str) -> None: ... + def rollback(self) -> bool: ... + def commit(self) -> bool: ... + def transaction(self) -> bool: ... + def isValid(self) -> bool: ... + def lastError(self) -> 'QSqlError': ... + def exec(self, query: str = ...) -> 'QSqlQuery': ... + def exec_(self, query: str = ...) -> 'QSqlQuery': ... + def record(self, tablename: str) -> 'QSqlRecord': ... + def primaryIndex(self, tablename: str) -> 'QSqlIndex': ... + def tables(self, type: 'QSql.TableType' = ...) -> typing.List[str]: ... + def isOpenError(self) -> bool: ... + def isOpen(self) -> bool: ... + def close(self) -> None: ... + @typing.overload + def open(self) -> bool: ... + @typing.overload + def open(self, user: str, password: str) -> bool: ... + + +class QSqlDriver(QtCore.QObject): + + class DbmsType(int): + UnknownDbms = ... # type: QSqlDriver.DbmsType + MSSqlServer = ... # type: QSqlDriver.DbmsType + MySqlServer = ... # type: QSqlDriver.DbmsType + PostgreSQL = ... # type: QSqlDriver.DbmsType + Oracle = ... # type: QSqlDriver.DbmsType + Sybase = ... # type: QSqlDriver.DbmsType + SQLite = ... # type: QSqlDriver.DbmsType + Interbase = ... # type: QSqlDriver.DbmsType + DB2 = ... # type: QSqlDriver.DbmsType + + class NotificationSource(int): + UnknownSource = ... # type: QSqlDriver.NotificationSource + SelfSource = ... # type: QSqlDriver.NotificationSource + OtherSource = ... # type: QSqlDriver.NotificationSource + + class IdentifierType(int): + FieldName = ... # type: QSqlDriver.IdentifierType + TableName = ... # type: QSqlDriver.IdentifierType + + class StatementType(int): + WhereStatement = ... # type: QSqlDriver.StatementType + SelectStatement = ... # type: QSqlDriver.StatementType + UpdateStatement = ... # type: QSqlDriver.StatementType + InsertStatement = ... # type: QSqlDriver.StatementType + DeleteStatement = ... # type: QSqlDriver.StatementType + + class DriverFeature(int): + Transactions = ... # type: QSqlDriver.DriverFeature + QuerySize = ... # type: QSqlDriver.DriverFeature + BLOB = ... # type: QSqlDriver.DriverFeature + Unicode = ... # type: QSqlDriver.DriverFeature + PreparedQueries = ... # type: QSqlDriver.DriverFeature + NamedPlaceholders = ... # type: QSqlDriver.DriverFeature + PositionalPlaceholders = ... # type: QSqlDriver.DriverFeature + LastInsertId = ... # type: QSqlDriver.DriverFeature + BatchOperations = ... # type: QSqlDriver.DriverFeature + SimpleLocking = ... # type: QSqlDriver.DriverFeature + LowPrecisionNumbers = ... # type: QSqlDriver.DriverFeature + EventNotifications = ... # type: QSqlDriver.DriverFeature + FinishQuery = ... # type: QSqlDriver.DriverFeature + MultipleResultSets = ... # type: QSqlDriver.DriverFeature + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def dbmsType(self) -> 'QSqlDriver.DbmsType': ... + def numericalPrecisionPolicy(self) -> 'QSql.NumericalPrecisionPolicy': ... + def setNumericalPrecisionPolicy(self, precisionPolicy: 'QSql.NumericalPrecisionPolicy') -> None: ... + def stripDelimiters(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> str: ... + def isIdentifierEscaped(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> bool: ... + @typing.overload + def notification(self, name: str) -> None: ... + @typing.overload + def notification(self, name: str, source: 'QSqlDriver.NotificationSource', payload: typing.Any) -> None: ... + def subscribedToNotifications(self) -> typing.List[str]: ... + def unsubscribeFromNotification(self, name: str) -> bool: ... + def subscribeToNotification(self, name: str) -> bool: ... + def setLastError(self, e: 'QSqlError') -> None: ... + def setOpenError(self, e: bool) -> None: ... + def setOpen(self, o: bool) -> None: ... + def open(self, db: str, user: str = ..., password: str = ..., host: str = ..., port: int = ..., options: str = ...) -> bool: ... + def createResult(self) -> 'QSqlResult': ... + def close(self) -> None: ... + def hasFeature(self, f: 'QSqlDriver.DriverFeature') -> bool: ... + def handle(self) -> typing.Any: ... + def lastError(self) -> 'QSqlError': ... + def sqlStatement(self, type: 'QSqlDriver.StatementType', tableName: str, rec: 'QSqlRecord', preparedStatement: bool) -> str: ... + def escapeIdentifier(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> str: ... + def formatValue(self, field: 'QSqlField', trimStrings: bool = ...) -> str: ... + def record(self, tableName: str) -> 'QSqlRecord': ... + def primaryIndex(self, tableName: str) -> 'QSqlIndex': ... + def tables(self, tableType: 'QSql.TableType') -> typing.List[str]: ... + def rollbackTransaction(self) -> bool: ... + def commitTransaction(self) -> bool: ... + def beginTransaction(self) -> bool: ... + def isOpenError(self) -> bool: ... + def isOpen(self) -> bool: ... + + +class QSqlError(sip.simplewrapper): + + class ErrorType(int): + NoError = ... # type: QSqlError.ErrorType + ConnectionError = ... # type: QSqlError.ErrorType + StatementError = ... # type: QSqlError.ErrorType + TransactionError = ... # type: QSqlError.ErrorType + UnknownError = ... # type: QSqlError.ErrorType + + @typing.overload + def __init__(self, driverText: str = ..., databaseText: str = ..., type: 'QSqlError.ErrorType' = ..., errorCode: str = ...) -> None: ... + @typing.overload + def __init__(self, driverText: str, databaseText: str, type: 'QSqlError.ErrorType', number: int) -> None: ... + @typing.overload + def __init__(self, other: 'QSqlError') -> None: ... + + def swap(self, other: 'QSqlError') -> None: ... + def nativeErrorCode(self) -> str: ... + def isValid(self) -> bool: ... + def text(self) -> str: ... + def setNumber(self, number: int) -> None: ... + def number(self) -> int: ... + def setType(self, type: 'QSqlError.ErrorType') -> None: ... + def type(self) -> 'QSqlError.ErrorType': ... + def setDatabaseText(self, databaseText: str) -> None: ... + def databaseText(self) -> str: ... + def setDriverText(self, driverText: str) -> None: ... + def driverText(self) -> str: ... + + +class QSqlField(sip.simplewrapper): + + class RequiredStatus(int): + Unknown = ... # type: QSqlField.RequiredStatus + Optional = ... # type: QSqlField.RequiredStatus + Required = ... # type: QSqlField.RequiredStatus + + @typing.overload + def __init__(self, fieldName: str = ..., type: QtCore.QVariant.Type = ...) -> None: ... + @typing.overload + def __init__(self, fieldName: str, type: QtCore.QVariant.Type, tableName: str) -> None: ... + @typing.overload + def __init__(self, other: 'QSqlField') -> None: ... + + def tableName(self) -> str: ... + def setTableName(self, tableName: str) -> None: ... + def isValid(self) -> bool: ... + def isGenerated(self) -> bool: ... + def typeID(self) -> int: ... + def defaultValue(self) -> typing.Any: ... + def precision(self) -> int: ... + def length(self) -> int: ... + def requiredStatus(self) -> 'QSqlField.RequiredStatus': ... + def setAutoValue(self, autoVal: bool) -> None: ... + def setGenerated(self, gen: bool) -> None: ... + def setSqlType(self, type: int) -> None: ... + def setDefaultValue(self, value: typing.Any) -> None: ... + def setPrecision(self, precision: int) -> None: ... + def setLength(self, fieldLength: int) -> None: ... + def setRequired(self, required: bool) -> None: ... + def setRequiredStatus(self, status: 'QSqlField.RequiredStatus') -> None: ... + def setType(self, type: QtCore.QVariant.Type) -> None: ... + def isAutoValue(self) -> bool: ... + def type(self) -> QtCore.QVariant.Type: ... + def clear(self) -> None: ... + def isReadOnly(self) -> bool: ... + def setReadOnly(self, readOnly: bool) -> None: ... + def isNull(self) -> bool: ... + def name(self) -> str: ... + def setName(self, name: str) -> None: ... + def value(self) -> typing.Any: ... + def setValue(self, value: typing.Any) -> None: ... + + +class QSqlRecord(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QSqlRecord') -> None: ... + + def keyValues(self, keyFields: 'QSqlRecord') -> 'QSqlRecord': ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def clearValues(self) -> None: ... + def clear(self) -> None: ... + def contains(self, name: str) -> bool: ... + def isEmpty(self) -> bool: ... + def remove(self, pos: int) -> None: ... + def insert(self, pos: int, field: QSqlField) -> None: ... + def replace(self, pos: int, field: QSqlField) -> None: ... + def append(self, field: QSqlField) -> None: ... + @typing.overload + def setGenerated(self, name: str, generated: bool) -> None: ... + @typing.overload + def setGenerated(self, i: int, generated: bool) -> None: ... + @typing.overload + def isGenerated(self, i: int) -> bool: ... + @typing.overload + def isGenerated(self, name: str) -> bool: ... + @typing.overload + def field(self, i: int) -> QSqlField: ... + @typing.overload + def field(self, name: str) -> QSqlField: ... + def fieldName(self, i: int) -> str: ... + def indexOf(self, name: str) -> int: ... + @typing.overload + def isNull(self, i: int) -> bool: ... + @typing.overload + def isNull(self, name: str) -> bool: ... + @typing.overload + def setNull(self, i: int) -> None: ... + @typing.overload + def setNull(self, name: str) -> None: ... + @typing.overload + def setValue(self, i: int, val: typing.Any) -> None: ... + @typing.overload + def setValue(self, name: str, val: typing.Any) -> None: ... + @typing.overload + def value(self, i: int) -> typing.Any: ... + @typing.overload + def value(self, name: str) -> typing.Any: ... + + +class QSqlIndex(QSqlRecord): + + @typing.overload + def __init__(self, cursorName: str = ..., name: str = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QSqlIndex') -> None: ... + + def setDescending(self, i: int, desc: bool) -> None: ... + def isDescending(self, i: int) -> bool: ... + @typing.overload + def append(self, field: QSqlField) -> None: ... + @typing.overload + def append(self, field: QSqlField, desc: bool) -> None: ... + def name(self) -> str: ... + def setName(self, name: str) -> None: ... + def cursorName(self) -> str: ... + def setCursorName(self, cursorName: str) -> None: ... + + +class QSqlQuery(sip.simplewrapper): + + class BatchExecutionMode(int): + ValuesAsRows = ... # type: QSqlQuery.BatchExecutionMode + ValuesAsColumns = ... # type: QSqlQuery.BatchExecutionMode + + @typing.overload + def __init__(self, r: 'QSqlResult') -> None: ... + @typing.overload + def __init__(self, query: str = ..., db: QSqlDatabase = ...) -> None: ... + @typing.overload + def __init__(self, db: QSqlDatabase) -> None: ... + @typing.overload + def __init__(self, other: 'QSqlQuery') -> None: ... + + def nextResult(self) -> bool: ... + def finish(self) -> None: ... + def numericalPrecisionPolicy(self) -> 'QSql.NumericalPrecisionPolicy': ... + def setNumericalPrecisionPolicy(self, precisionPolicy: 'QSql.NumericalPrecisionPolicy') -> None: ... + def lastInsertId(self) -> typing.Any: ... + def executedQuery(self) -> str: ... + def boundValues(self) -> typing.Dict[str, typing.Any]: ... + @typing.overload + def boundValue(self, placeholder: str) -> typing.Any: ... + @typing.overload + def boundValue(self, pos: int) -> typing.Any: ... + def addBindValue(self, val: typing.Any, type: typing.Union['QSql.ParamType', 'QSql.ParamTypeFlag'] = ...) -> None: ... + @typing.overload + def bindValue(self, placeholder: str, val: typing.Any, type: typing.Union['QSql.ParamType', 'QSql.ParamTypeFlag'] = ...) -> None: ... + @typing.overload + def bindValue(self, pos: int, val: typing.Any, type: typing.Union['QSql.ParamType', 'QSql.ParamTypeFlag'] = ...) -> None: ... + def prepare(self, query: str) -> bool: ... + def execBatch(self, mode: 'QSqlQuery.BatchExecutionMode' = ...) -> bool: ... + def clear(self) -> None: ... + def last(self) -> bool: ... + def first(self) -> bool: ... + def previous(self) -> bool: ... + def next(self) -> bool: ... + def seek(self, index: int, relative: bool = ...) -> bool: ... + @typing.overload + def value(self, i: int) -> typing.Any: ... + @typing.overload + def value(self, name: str) -> typing.Any: ... + @typing.overload + def exec(self, query: str) -> bool: ... + @typing.overload + def exec(self) -> bool: ... + @typing.overload + def exec_(self, query: str) -> bool: ... + @typing.overload + def exec_(self) -> bool: ... + def setForwardOnly(self, forward: bool) -> None: ... + def record(self) -> QSqlRecord: ... + def isForwardOnly(self) -> bool: ... + def result(self) -> 'QSqlResult': ... + def driver(self) -> QSqlDriver: ... + def size(self) -> int: ... + def isSelect(self) -> bool: ... + def lastError(self) -> QSqlError: ... + def numRowsAffected(self) -> int: ... + def lastQuery(self) -> str: ... + def at(self) -> int: ... + @typing.overload + def isNull(self, field: int) -> bool: ... + @typing.overload + def isNull(self, name: str) -> bool: ... + def isActive(self) -> bool: ... + def isValid(self) -> bool: ... + + +class QSqlQueryModel(QtCore.QAbstractTableModel): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def roleNames(self) -> typing.Dict[int, QtCore.QByteArray]: ... + def endRemoveColumns(self) -> None: ... + def beginRemoveColumns(self, parent: QtCore.QModelIndex, first: int, last: int) -> None: ... + def endInsertColumns(self) -> None: ... + def beginInsertColumns(self, parent: QtCore.QModelIndex, first: int, last: int) -> None: ... + def endRemoveRows(self) -> None: ... + def beginRemoveRows(self, parent: QtCore.QModelIndex, first: int, last: int) -> None: ... + def endInsertRows(self) -> None: ... + def beginInsertRows(self, parent: QtCore.QModelIndex, first: int, last: int) -> None: ... + def endResetModel(self) -> None: ... + def beginResetModel(self) -> None: ... + def setLastError(self, error: QSqlError) -> None: ... + def indexInQuery(self, item: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + def queryChange(self) -> None: ... + def canFetchMore(self, parent: QtCore.QModelIndex = ...) -> bool: ... + def fetchMore(self, parent: QtCore.QModelIndex = ...) -> None: ... + def lastError(self) -> QSqlError: ... + def clear(self) -> None: ... + def query(self) -> QSqlQuery: ... + @typing.overload + def setQuery(self, query: QSqlQuery) -> None: ... + @typing.overload + def setQuery(self, query: str, db: QSqlDatabase = ...) -> None: ... + def removeColumns(self, column: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def insertColumns(self, column: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def setHeaderData(self, section: int, orientation: QtCore.Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ... + def headerData(self, section: int, orientation: QtCore.Qt.Orientation, role: int = ...) -> typing.Any: ... + def data(self, item: QtCore.QModelIndex, role: int = ...) -> typing.Any: ... + @typing.overload + def record(self, row: int) -> QSqlRecord: ... + @typing.overload + def record(self) -> QSqlRecord: ... + def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + + +class QSqlRelationalDelegate(QtWidgets.QItemDelegate): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setEditorData(self, editor: QtWidgets.QWidget, index: QtCore.QModelIndex) -> None: ... + def setModelData(self, editor: QtWidgets.QWidget, model: QtCore.QAbstractItemModel, index: QtCore.QModelIndex) -> None: ... + def createEditor(self, parent: QtWidgets.QWidget, option: QtWidgets.QStyleOptionViewItem, index: QtCore.QModelIndex) -> QtWidgets.QWidget: ... + + +class QSqlRelation(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, aTableName: str, indexCol: str, displayCol: str) -> None: ... + @typing.overload + def __init__(self, a0: 'QSqlRelation') -> None: ... + + def swap(self, other: 'QSqlRelation') -> None: ... + def isValid(self) -> bool: ... + def displayColumn(self) -> str: ... + def indexColumn(self) -> str: ... + def tableName(self) -> str: ... + + +class QSqlTableModel(QSqlQueryModel): + + class EditStrategy(int): + OnFieldChange = ... # type: QSqlTableModel.EditStrategy + OnRowChange = ... # type: QSqlTableModel.EditStrategy + OnManualSubmit = ... # type: QSqlTableModel.EditStrategy + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ..., db: QSqlDatabase = ...) -> None: ... + + def primaryValues(self, row: int) -> QSqlRecord: ... + @typing.overload + def record(self) -> QSqlRecord: ... + @typing.overload + def record(self, row: int) -> QSqlRecord: ... + def selectRow(self, row: int) -> bool: ... + def indexInQuery(self, item: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + def setQuery(self, query: QSqlQuery) -> None: ... + def setPrimaryKey(self, key: QSqlIndex) -> None: ... + def selectStatement(self) -> str: ... + def orderByClause(self) -> str: ... + def deleteRowFromTable(self, row: int) -> bool: ... + def insertRowIntoTable(self, values: QSqlRecord) -> bool: ... + def updateRowInTable(self, row: int, values: QSqlRecord) -> bool: ... + def beforeDelete(self, row: int) -> None: ... + def beforeUpdate(self, row: int, record: QSqlRecord) -> None: ... + def beforeInsert(self, record: QSqlRecord) -> None: ... + def primeInsert(self, row: int, record: QSqlRecord) -> None: ... + def revertAll(self) -> None: ... + def submitAll(self) -> bool: ... + def revert(self) -> None: ... + def submit(self) -> bool: ... + def revertRow(self, row: int) -> None: ... + def setRecord(self, row: int, record: QSqlRecord) -> bool: ... + def insertRecord(self, row: int, record: QSqlRecord) -> bool: ... + def insertRows(self, row: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def removeRows(self, row: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def removeColumns(self, column: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def setFilter(self, filter: str) -> None: ... + def filter(self) -> str: ... + def setSort(self, column: int, order: QtCore.Qt.SortOrder) -> None: ... + def sort(self, column: int, order: QtCore.Qt.SortOrder) -> None: ... + def fieldIndex(self, fieldName: str) -> int: ... + def database(self) -> QSqlDatabase: ... + def primaryKey(self) -> QSqlIndex: ... + def editStrategy(self) -> 'QSqlTableModel.EditStrategy': ... + def setEditStrategy(self, strategy: 'QSqlTableModel.EditStrategy') -> None: ... + def clear(self) -> None: ... + @typing.overload + def isDirty(self, index: QtCore.QModelIndex) -> bool: ... + @typing.overload + def isDirty(self) -> bool: ... + def headerData(self, section: int, orientation: QtCore.Qt.Orientation, role: int = ...) -> typing.Any: ... + def setData(self, index: QtCore.QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, idx: QtCore.QModelIndex, role: int = ...) -> typing.Any: ... + def flags(self, index: QtCore.QModelIndex) -> QtCore.Qt.ItemFlags: ... + def tableName(self) -> str: ... + def setTable(self, tableName: str) -> None: ... + def select(self) -> bool: ... + + +class QSqlRelationalTableModel(QSqlTableModel): + + class JoinMode(int): + InnerJoin = ... # type: QSqlRelationalTableModel.JoinMode + LeftJoin = ... # type: QSqlRelationalTableModel.JoinMode + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ..., db: QSqlDatabase = ...) -> None: ... + + def setJoinMode(self, joinMode: 'QSqlRelationalTableModel.JoinMode') -> None: ... + def insertRowIntoTable(self, values: QSqlRecord) -> bool: ... + def orderByClause(self) -> str: ... + def updateRowInTable(self, row: int, values: QSqlRecord) -> bool: ... + def selectStatement(self) -> str: ... + def removeColumns(self, column: int, count: int, parent: QtCore.QModelIndex = ...) -> bool: ... + def revertRow(self, row: int) -> None: ... + def relationModel(self, column: int) -> QSqlTableModel: ... + def relation(self, column: int) -> QSqlRelation: ... + def setRelation(self, column: int, relation: QSqlRelation) -> None: ... + def setTable(self, tableName: str) -> None: ... + def select(self) -> bool: ... + def clear(self) -> None: ... + def setData(self, item: QtCore.QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, item: QtCore.QModelIndex, role: int = ...) -> typing.Any: ... + + +class QSqlResult(PyQt5.sip.wrapper): + + class BindingSyntax(int): + PositionalBinding = ... # type: QSqlResult.BindingSyntax + NamedBinding = ... # type: QSqlResult.BindingSyntax + + def __init__(self, db: QSqlDriver) -> None: ... + + def lastInsertId(self) -> typing.Any: ... + def record(self) -> QSqlRecord: ... + def numRowsAffected(self) -> int: ... + def size(self) -> int: ... + def fetchLast(self) -> bool: ... + def fetchFirst(self) -> bool: ... + def fetchPrevious(self) -> bool: ... + def fetchNext(self) -> bool: ... + def fetch(self, i: int) -> bool: ... + def reset(self, sqlquery: str) -> bool: ... + def isNull(self, i: int) -> bool: ... + def data(self, i: int) -> typing.Any: ... + def bindingSyntax(self) -> 'QSqlResult.BindingSyntax': ... + def hasOutValues(self) -> bool: ... + def clear(self) -> None: ... + def boundValueName(self, pos: int) -> str: ... + def executedQuery(self) -> str: ... + def boundValues(self) -> typing.List[typing.Any]: ... + def boundValueCount(self) -> int: ... + @typing.overload + def bindValueType(self, placeholder: str) -> 'QSql.ParamType': ... + @typing.overload + def bindValueType(self, pos: int) -> 'QSql.ParamType': ... + @typing.overload + def boundValue(self, placeholder: str) -> typing.Any: ... + @typing.overload + def boundValue(self, pos: int) -> typing.Any: ... + def addBindValue(self, val: typing.Any, type: typing.Union['QSql.ParamType', 'QSql.ParamTypeFlag']) -> None: ... + @typing.overload + def bindValue(self, pos: int, val: typing.Any, type: typing.Union['QSql.ParamType', 'QSql.ParamTypeFlag']) -> None: ... + @typing.overload + def bindValue(self, placeholder: str, val: typing.Any, type: typing.Union['QSql.ParamType', 'QSql.ParamTypeFlag']) -> None: ... + def savePrepare(self, sqlquery: str) -> bool: ... + def prepare(self, query: str) -> bool: ... + def exec(self) -> bool: ... + def exec_(self) -> bool: ... + def setForwardOnly(self, forward: bool) -> None: ... + def setSelect(self, s: bool) -> None: ... + def setQuery(self, query: str) -> None: ... + def setLastError(self, e: QSqlError) -> None: ... + def setActive(self, a: bool) -> None: ... + def setAt(self, at: int) -> None: ... + def driver(self) -> QSqlDriver: ... + def isForwardOnly(self) -> bool: ... + def isSelect(self) -> bool: ... + def isActive(self) -> bool: ... + def isValid(self) -> bool: ... + def lastError(self) -> QSqlError: ... + def lastQuery(self) -> str: ... + def at(self) -> int: ... + def handle(self) -> typing.Any: ... + + +class QSql(PyQt5.sip.simplewrapper): + + class NumericalPrecisionPolicy(int): + LowPrecisionInt32 = ... # type: QSql.NumericalPrecisionPolicy + LowPrecisionInt64 = ... # type: QSql.NumericalPrecisionPolicy + LowPrecisionDouble = ... # type: QSql.NumericalPrecisionPolicy + HighPrecision = ... # type: QSql.NumericalPrecisionPolicy + + class TableType(int): + Tables = ... # type: QSql.TableType + SystemTables = ... # type: QSql.TableType + Views = ... # type: QSql.TableType + AllTables = ... # type: QSql.TableType + + class ParamTypeFlag(int): + In = ... # type: QSql.ParamTypeFlag + Out = ... # type: QSql.ParamTypeFlag + InOut = ... # type: QSql.ParamTypeFlag + Binary = ... # type: QSql.ParamTypeFlag + + class Location(int): + BeforeFirstRow = ... # type: QSql.Location + AfterLastRow = ... # type: QSql.Location + + class ParamType(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSql.ParamType', 'QSql.ParamTypeFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSql.ParamType') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSql.ParamType': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtSvg.pyi b/OTHERS/Jarvis/ools/PyQt5/QtSvg.pyi new file mode 100644 index 00000000..06521856 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtSvg.pyi @@ -0,0 +1,147 @@ +# The PEP 484 type hints stub file for the QtSvg module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QGraphicsSvgItem(QtWidgets.QGraphicsObject): + + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, fileName: str, parent: typing.Optional[QtWidgets.QGraphicsItem] = ...) -> None: ... + + def type(self) -> int: ... + def paint(self, painter: QtGui.QPainter, option: QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + def boundingRect(self) -> QtCore.QRectF: ... + def maximumCacheSize(self) -> QtCore.QSize: ... + def setMaximumCacheSize(self, size: QtCore.QSize) -> None: ... + def elementId(self) -> str: ... + def setElementId(self, id: str) -> None: ... + def renderer(self) -> 'QSvgRenderer': ... + def setSharedRenderer(self, renderer: 'QSvgRenderer') -> None: ... + + +class QSvgGenerator(QtGui.QPaintDevice): + + def __init__(self) -> None: ... + + def metric(self, metric: QtGui.QPaintDevice.PaintDeviceMetric) -> int: ... + def paintEngine(self) -> QtGui.QPaintEngine: ... + @typing.overload + def setViewBox(self, viewBox: QtCore.QRect) -> None: ... + @typing.overload + def setViewBox(self, viewBox: QtCore.QRectF) -> None: ... + def viewBoxF(self) -> QtCore.QRectF: ... + def viewBox(self) -> QtCore.QRect: ... + def setDescription(self, description: str) -> None: ... + def description(self) -> str: ... + def setTitle(self, title: str) -> None: ... + def title(self) -> str: ... + def setResolution(self, resolution: int) -> None: ... + def resolution(self) -> int: ... + def setOutputDevice(self, outputDevice: QtCore.QIODevice) -> None: ... + def outputDevice(self) -> QtCore.QIODevice: ... + def setFileName(self, fileName: str) -> None: ... + def fileName(self) -> str: ... + def setSize(self, size: QtCore.QSize) -> None: ... + def size(self) -> QtCore.QSize: ... + + +class QSvgRenderer(QtCore.QObject): + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, filename: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, contents: typing.Union[QtCore.QByteArray, bytes, bytearray], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, contents: QtCore.QXmlStreamReader, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def transformForElement(self, id: str) -> QtGui.QTransform: ... + def setAspectRatioMode(self, mode: QtCore.Qt.AspectRatioMode) -> None: ... + def aspectRatioMode(self) -> QtCore.Qt.AspectRatioMode: ... + def repaintNeeded(self) -> None: ... + @typing.overload + def render(self, p: QtGui.QPainter) -> None: ... + @typing.overload + def render(self, p: QtGui.QPainter, bounds: QtCore.QRectF) -> None: ... + @typing.overload + def render(self, painter: QtGui.QPainter, elementId: str, bounds: QtCore.QRectF = ...) -> None: ... + @typing.overload + def load(self, filename: str) -> bool: ... + @typing.overload + def load(self, contents: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + @typing.overload + def load(self, contents: QtCore.QXmlStreamReader) -> bool: ... + def animationDuration(self) -> int: ... + def setCurrentFrame(self, a0: int) -> None: ... + def currentFrame(self) -> int: ... + def setFramesPerSecond(self, num: int) -> None: ... + def framesPerSecond(self) -> int: ... + def boundsOnElement(self, id: str) -> QtCore.QRectF: ... + def animated(self) -> bool: ... + @typing.overload + def setViewBox(self, viewbox: QtCore.QRect) -> None: ... + @typing.overload + def setViewBox(self, viewbox: QtCore.QRectF) -> None: ... + def viewBoxF(self) -> QtCore.QRectF: ... + def viewBox(self) -> QtCore.QRect: ... + def elementExists(self, id: str) -> bool: ... + def defaultSize(self) -> QtCore.QSize: ... + def isValid(self) -> bool: ... + + +class QSvgWidget(QtWidgets.QWidget): + + @typing.overload + def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, file: str, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... + + def paintEvent(self, event: QtGui.QPaintEvent) -> None: ... + @typing.overload + def load(self, file: str) -> None: ... + @typing.overload + def load(self, contents: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def renderer(self) -> QSvgRenderer: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtTest.pyi b/OTHERS/Jarvis/ools/PyQt5/QtTest.pyi new file mode 100644 index 00000000..5512a874 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtTest.pyi @@ -0,0 +1,173 @@ +# The PEP 484 type hints stub file for the QtTest module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QAbstractItemModelTester(QtCore.QObject): + + class FailureReportingMode(int): + QtTest = ... # type: QAbstractItemModelTester.FailureReportingMode + Warning = ... # type: QAbstractItemModelTester.FailureReportingMode + Fatal = ... # type: QAbstractItemModelTester.FailureReportingMode + + @typing.overload + def __init__(self, model: QtCore.QAbstractItemModel, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, model: QtCore.QAbstractItemModel, mode: 'QAbstractItemModelTester.FailureReportingMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def failureReportingMode(self) -> 'QAbstractItemModelTester.FailureReportingMode': ... + def model(self) -> QtCore.QAbstractItemModel: ... + + +class QSignalSpy(QtCore.QObject): + + @typing.overload + def __init__(self, signal: pyqtBoundSignal) -> None: ... + @typing.overload + def __init__(self, obj: QtCore.QObject, signal: QtCore.QMetaMethod) -> None: ... + + def __delitem__(self, i: int) -> None: ... + def __setitem__(self, i: int, value: typing.Iterable[typing.Any]) -> None: ... + def __getitem__(self, i: int) -> typing.List[typing.Any]: ... + def __len__(self) -> int: ... + def wait(self, timeout: int = ...) -> bool: ... + def signal(self) -> QtCore.QByteArray: ... + def isValid(self) -> bool: ... + + +class QTest(PyQt5.sip.simplewrapper): + + class KeyAction(int): + Press = ... # type: QTest.KeyAction + Release = ... # type: QTest.KeyAction + Click = ... # type: QTest.KeyAction + Shortcut = ... # type: QTest.KeyAction + + class QTouchEventSequence(sip.simplewrapper): + + def __init__(self, a0: 'QTest.QTouchEventSequence') -> None: ... + + def commit(self, processEvents: bool = ...) -> None: ... + def stationary(self, touchId: int) -> 'QTest.QTouchEventSequence': ... + @typing.overload + def release(self, touchId: int, pt: QtCore.QPoint, window: typing.Optional[QtGui.QWindow] = ...) -> 'QTest.QTouchEventSequence': ... + @typing.overload + def release(self, touchId: int, pt: QtCore.QPoint, widget: QtWidgets.QWidget) -> 'QTest.QTouchEventSequence': ... + @typing.overload + def move(self, touchId: int, pt: QtCore.QPoint, window: typing.Optional[QtGui.QWindow] = ...) -> 'QTest.QTouchEventSequence': ... + @typing.overload + def move(self, touchId: int, pt: QtCore.QPoint, widget: QtWidgets.QWidget) -> 'QTest.QTouchEventSequence': ... + @typing.overload + def press(self, touchId: int, pt: QtCore.QPoint, window: typing.Optional[QtGui.QWindow] = ...) -> 'QTest.QTouchEventSequence': ... + @typing.overload + def press(self, touchId: int, pt: QtCore.QPoint, widget: QtWidgets.QWidget) -> 'QTest.QTouchEventSequence': ... + + @typing.overload + def touchEvent(self, widget: QtWidgets.QWidget, device: QtGui.QTouchDevice) -> 'QTest.QTouchEventSequence': ... + @typing.overload + def touchEvent(self, window: QtGui.QWindow, device: QtGui.QTouchDevice) -> 'QTest.QTouchEventSequence': ... + @typing.overload + def qWaitForWindowExposed(self, window: QtGui.QWindow, timeout: int = ...) -> bool: ... + @typing.overload + def qWaitForWindowExposed(self, widget: QtWidgets.QWidget, timeout: int = ...) -> bool: ... + @typing.overload + def qWaitForWindowActive(self, window: QtGui.QWindow, timeout: int = ...) -> bool: ... + @typing.overload + def qWaitForWindowActive(self, widget: QtWidgets.QWidget, timeout: int = ...) -> bool: ... + def qWait(self, ms: int) -> None: ... + @typing.overload + def mouseRelease(self, widget: QtWidgets.QWidget, button: QtCore.Qt.MouseButton, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mouseRelease(self, window: QtGui.QWindow, button: QtCore.Qt.MouseButton, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mousePress(self, widget: QtWidgets.QWidget, button: QtCore.Qt.MouseButton, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mousePress(self, window: QtGui.QWindow, button: QtCore.Qt.MouseButton, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mouseMove(self, widget: QtWidgets.QWidget, pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mouseMove(self, window: QtGui.QWindow, pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mouseDClick(self, widget: QtWidgets.QWidget, button: QtCore.Qt.MouseButton, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mouseDClick(self, window: QtGui.QWindow, button: QtCore.Qt.MouseButton, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mouseClick(self, widget: QtWidgets.QWidget, button: QtCore.Qt.MouseButton, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def mouseClick(self, window: QtGui.QWindow, button: QtCore.Qt.MouseButton, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., pos: QtCore.QPoint = ..., delay: int = ...) -> None: ... + @typing.overload + def keySequence(self, widget: QtWidgets.QWidget, keySequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... + @typing.overload + def keySequence(self, window: QtGui.QWindow, keySequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... + @typing.overload + def keyRelease(self, widget: QtWidgets.QWidget, key: QtCore.Qt.Key, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyRelease(self, widget: QtWidgets.QWidget, key: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyRelease(self, window: QtGui.QWindow, key: QtCore.Qt.Key, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyRelease(self, window: QtGui.QWindow, key: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyPress(self, widget: QtWidgets.QWidget, key: QtCore.Qt.Key, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyPress(self, widget: QtWidgets.QWidget, key: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyPress(self, window: QtGui.QWindow, key: QtCore.Qt.Key, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyPress(self, window: QtGui.QWindow, key: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyEvent(self, action: 'QTest.KeyAction', widget: QtWidgets.QWidget, key: QtCore.Qt.Key, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyEvent(self, action: 'QTest.KeyAction', widget: QtWidgets.QWidget, ascii: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyEvent(self, action: 'QTest.KeyAction', window: QtGui.QWindow, key: QtCore.Qt.Key, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyEvent(self, action: 'QTest.KeyAction', window: QtGui.QWindow, ascii: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + def keyClicks(self, widget: QtWidgets.QWidget, sequence: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyClick(self, widget: QtWidgets.QWidget, key: QtCore.Qt.Key, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyClick(self, widget: QtWidgets.QWidget, key: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyClick(self, window: QtGui.QWindow, key: QtCore.Qt.Key, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + @typing.overload + def keyClick(self, window: QtGui.QWindow, key: str, modifier: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier] = ..., delay: int = ...) -> None: ... + def qSleep(self, ms: int) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtTextToSpeech.pyi b/OTHERS/Jarvis/ools/PyQt5/QtTextToSpeech.pyi new file mode 100644 index 00000000..dd029411 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtTextToSpeech.pyi @@ -0,0 +1,105 @@ +# The PEP 484 type hints stub file for the QtTextToSpeech module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QTextToSpeech(QtCore.QObject): + + class State(int): + Ready = ... # type: QTextToSpeech.State + Speaking = ... # type: QTextToSpeech.State + Paused = ... # type: QTextToSpeech.State + BackendError = ... # type: QTextToSpeech.State + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, engine: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def voiceChanged(self, voice: 'QVoice') -> None: ... + @typing.overload + def volumeChanged(self, volume: float) -> None: ... + @typing.overload + def volumeChanged(self, volume: int) -> None: ... + def pitchChanged(self, pitch: float) -> None: ... + def rateChanged(self, rate: float) -> None: ... + def localeChanged(self, locale: QtCore.QLocale) -> None: ... + def stateChanged(self, state: 'QTextToSpeech.State') -> None: ... + def setVoice(self, voice: 'QVoice') -> None: ... + def setVolume(self, volume: float) -> None: ... + def setPitch(self, pitch: float) -> None: ... + def setRate(self, rate: float) -> None: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + def resume(self) -> None: ... + def pause(self) -> None: ... + def stop(self) -> None: ... + def say(self, text: str) -> None: ... + @staticmethod + def availableEngines() -> typing.List[str]: ... + def volume(self) -> float: ... + def pitch(self) -> float: ... + def rate(self) -> float: ... + def availableVoices(self) -> typing.List['QVoice']: ... + def voice(self) -> 'QVoice': ... + def locale(self) -> QtCore.QLocale: ... + def availableLocales(self) -> typing.List[QtCore.QLocale]: ... + def state(self) -> 'QTextToSpeech.State': ... + + +class QVoice(sip.simplewrapper): + + class Age(int): + Child = ... # type: QVoice.Age + Teenager = ... # type: QVoice.Age + Adult = ... # type: QVoice.Age + Senior = ... # type: QVoice.Age + Other = ... # type: QVoice.Age + + class Gender(int): + Male = ... # type: QVoice.Gender + Female = ... # type: QVoice.Gender + Unknown = ... # type: QVoice.Gender + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QVoice') -> None: ... + + @staticmethod + def ageName(age: 'QVoice.Age') -> str: ... + @staticmethod + def genderName(gender: 'QVoice.Gender') -> str: ... + def age(self) -> 'QVoice.Age': ... + def gender(self) -> 'QVoice.Gender': ... + def name(self) -> str: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtWebChannel.pyi b/OTHERS/Jarvis/ools/PyQt5/QtWebChannel.pyi new file mode 100644 index 00000000..885cca99 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtWebChannel.pyi @@ -0,0 +1,57 @@ +# The PEP 484 type hints stub file for the QtWebChannel module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QWebChannel(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def disconnectFrom(self, transport: 'QWebChannelAbstractTransport') -> None: ... + def connectTo(self, transport: 'QWebChannelAbstractTransport') -> None: ... + def blockUpdatesChanged(self, block: bool) -> None: ... + def setBlockUpdates(self, block: bool) -> None: ... + def blockUpdates(self) -> bool: ... + def deregisterObject(self, object: QtCore.QObject) -> None: ... + def registerObject(self, id: str, object: QtCore.QObject) -> None: ... + def registeredObjects(self) -> typing.Dict[str, QtCore.QObject]: ... + def registerObjects(self, objects: typing.Dict[str, QtCore.QObject]) -> None: ... + + +class QWebChannelAbstractTransport(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def messageReceived(self, message: typing.Dict[str, typing.Union[QtCore.QJsonValue, QtCore.QJsonValue.Type, typing.Iterable[QtCore.QJsonValue], bool, int, float, None, str]], transport: 'QWebChannelAbstractTransport') -> None: ... + def sendMessage(self, message: typing.Dict[str, typing.Union[QtCore.QJsonValue, QtCore.QJsonValue.Type, typing.Iterable[QtCore.QJsonValue], bool, int, float, None, str]]) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtWebSockets.pyi b/OTHERS/Jarvis/ools/PyQt5/QtWebSockets.pyi new file mode 100644 index 00000000..86c2ed06 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtWebSockets.pyi @@ -0,0 +1,209 @@ +# The PEP 484 type hints stub file for the QtWebSockets module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtNetwork +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QMaskGenerator(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def nextMask(self) -> int: ... + def seed(self) -> bool: ... + + +class QWebSocket(QtCore.QObject): + + def __init__(self, origin: str = ..., version: 'QWebSocketProtocol.Version' = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + @staticmethod + def maxOutgoingFrameSize() -> int: ... + def outgoingFrameSize(self) -> int: ... + def setOutgoingFrameSize(self, outgoingFrameSize: int) -> None: ... + @staticmethod + def maxIncomingFrameSize() -> int: ... + @staticmethod + def maxIncomingMessageSize() -> int: ... + def maxAllowedIncomingMessageSize(self) -> int: ... + def setMaxAllowedIncomingMessageSize(self, maxAllowedIncomingMessageSize: int) -> None: ... + def maxAllowedIncomingFrameSize(self) -> int: ... + def setMaxAllowedIncomingFrameSize(self, maxAllowedIncomingFrameSize: int) -> None: ... + def bytesToWrite(self) -> int: ... + def preSharedKeyAuthenticationRequired(self, authenticator: QtNetwork.QSslPreSharedKeyAuthenticator) -> None: ... + def sslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... + def bytesWritten(self, bytes: int) -> None: ... + def pong(self, elapsedTime: int, payload: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def binaryMessageReceived(self, message: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def textMessageReceived(self, message: str) -> None: ... + def binaryFrameReceived(self, frame: typing.Union[QtCore.QByteArray, bytes, bytearray], isLastFrame: bool) -> None: ... + def textFrameReceived(self, frame: str, isLastFrame: bool) -> None: ... + def readChannelFinished(self) -> None: ... + def proxyAuthenticationRequired(self, proxy: QtNetwork.QNetworkProxy, pAuthenticator: QtNetwork.QAuthenticator) -> None: ... + def stateChanged(self, state: QtNetwork.QAbstractSocket.SocketState) -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... + def aboutToClose(self) -> None: ... + def ping(self, payload: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... + @typing.overload + def open(self, url: QtCore.QUrl) -> None: ... + @typing.overload + def open(self, request: QtNetwork.QNetworkRequest) -> None: ... + def close(self, closeCode: 'QWebSocketProtocol.CloseCode' = ..., reason: str = ...) -> None: ... + def request(self) -> QtNetwork.QNetworkRequest: ... + def sslConfiguration(self) -> QtNetwork.QSslConfiguration: ... + def setSslConfiguration(self, sslConfiguration: QtNetwork.QSslConfiguration) -> None: ... + @typing.overload + def ignoreSslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... + @typing.overload + def ignoreSslErrors(self) -> None: ... + def sendBinaryMessage(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> int: ... + def sendTextMessage(self, message: str) -> int: ... + def closeReason(self) -> str: ... + def closeCode(self) -> 'QWebSocketProtocol.CloseCode': ... + def origin(self) -> str: ... + def requestUrl(self) -> QtCore.QUrl: ... + def resourceName(self) -> str: ... + def version(self) -> 'QWebSocketProtocol.Version': ... + def state(self) -> QtNetwork.QAbstractSocket.SocketState: ... + def setPauseMode(self, pauseMode: typing.Union[QtNetwork.QAbstractSocket.PauseModes, QtNetwork.QAbstractSocket.PauseMode]) -> None: ... + def resume(self) -> None: ... + def setReadBufferSize(self, size: int) -> None: ... + def readBufferSize(self) -> int: ... + def maskGenerator(self) -> QMaskGenerator: ... + def setMaskGenerator(self, maskGenerator: QMaskGenerator) -> None: ... + def setProxy(self, networkProxy: QtNetwork.QNetworkProxy) -> None: ... + def proxy(self) -> QtNetwork.QNetworkProxy: ... + def peerPort(self) -> int: ... + def peerName(self) -> str: ... + def peerAddress(self) -> QtNetwork.QHostAddress: ... + def pauseMode(self) -> QtNetwork.QAbstractSocket.PauseModes: ... + def localPort(self) -> int: ... + def localAddress(self) -> QtNetwork.QHostAddress: ... + def isValid(self) -> bool: ... + def flush(self) -> bool: ... + def errorString(self) -> str: ... + @typing.overload + def error(self) -> QtNetwork.QAbstractSocket.SocketError: ... + @typing.overload + def error(self, error: QtNetwork.QAbstractSocket.SocketError) -> None: ... + def abort(self) -> None: ... + + +class QWebSocketCorsAuthenticator(sip.simplewrapper): + + @typing.overload + def __init__(self, origin: str) -> None: ... + @typing.overload + def __init__(self, other: 'QWebSocketCorsAuthenticator') -> None: ... + + def allowed(self) -> bool: ... + def setAllowed(self, allowed: bool) -> None: ... + def origin(self) -> str: ... + def swap(self, other: 'QWebSocketCorsAuthenticator') -> None: ... + + +class QWebSocketProtocol(PyQt5.sip.simplewrapper): + + class CloseCode(int): + CloseCodeNormal = ... # type: QWebSocketProtocol.CloseCode + CloseCodeGoingAway = ... # type: QWebSocketProtocol.CloseCode + CloseCodeProtocolError = ... # type: QWebSocketProtocol.CloseCode + CloseCodeDatatypeNotSupported = ... # type: QWebSocketProtocol.CloseCode + CloseCodeReserved1004 = ... # type: QWebSocketProtocol.CloseCode + CloseCodeMissingStatusCode = ... # type: QWebSocketProtocol.CloseCode + CloseCodeAbnormalDisconnection = ... # type: QWebSocketProtocol.CloseCode + CloseCodeWrongDatatype = ... # type: QWebSocketProtocol.CloseCode + CloseCodePolicyViolated = ... # type: QWebSocketProtocol.CloseCode + CloseCodeTooMuchData = ... # type: QWebSocketProtocol.CloseCode + CloseCodeMissingExtension = ... # type: QWebSocketProtocol.CloseCode + CloseCodeBadOperation = ... # type: QWebSocketProtocol.CloseCode + CloseCodeTlsHandshakeFailed = ... # type: QWebSocketProtocol.CloseCode + + class Version(int): + VersionUnknown = ... # type: QWebSocketProtocol.Version + Version0 = ... # type: QWebSocketProtocol.Version + Version4 = ... # type: QWebSocketProtocol.Version + Version5 = ... # type: QWebSocketProtocol.Version + Version6 = ... # type: QWebSocketProtocol.Version + Version7 = ... # type: QWebSocketProtocol.Version + Version8 = ... # type: QWebSocketProtocol.Version + Version13 = ... # type: QWebSocketProtocol.Version + VersionLatest = ... # type: QWebSocketProtocol.Version + + +class QWebSocketServer(QtCore.QObject): + + class SslMode(int): + SecureMode = ... # type: QWebSocketServer.SslMode + NonSecureMode = ... # type: QWebSocketServer.SslMode + + def __init__(self, serverName: str, secureMode: 'QWebSocketServer.SslMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def handshakeTimeoutMS(self) -> int: ... + def setHandshakeTimeout(self, msec: int) -> None: ... + def nativeDescriptor(self) -> PyQt5.sip.voidptr: ... + def setNativeDescriptor(self, descriptor: PyQt5.sip.voidptr) -> bool: ... + def preSharedKeyAuthenticationRequired(self, authenticator: QtNetwork.QSslPreSharedKeyAuthenticator) -> None: ... + def closed(self) -> None: ... + def sslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... + def peerVerifyError(self, error: QtNetwork.QSslError) -> None: ... + def newConnection(self) -> None: ... + def originAuthenticationRequired(self, pAuthenticator: QWebSocketCorsAuthenticator) -> None: ... + def serverError(self, closeCode: QWebSocketProtocol.CloseCode) -> None: ... + def acceptError(self, socketError: QtNetwork.QAbstractSocket.SocketError) -> None: ... + def handleConnection(self, socket: QtNetwork.QTcpSocket) -> None: ... + def serverUrl(self) -> QtCore.QUrl: ... + def supportedVersions(self) -> typing.List[QWebSocketProtocol.Version]: ... + def sslConfiguration(self) -> QtNetwork.QSslConfiguration: ... + def setSslConfiguration(self, sslConfiguration: QtNetwork.QSslConfiguration) -> None: ... + def proxy(self) -> QtNetwork.QNetworkProxy: ... + def setProxy(self, networkProxy: QtNetwork.QNetworkProxy) -> None: ... + def serverName(self) -> str: ... + def setServerName(self, serverName: str) -> None: ... + def resumeAccepting(self) -> None: ... + def pauseAccepting(self) -> None: ... + def errorString(self) -> str: ... + def error(self) -> QWebSocketProtocol.CloseCode: ... + def nextPendingConnection(self) -> QWebSocket: ... + def hasPendingConnections(self) -> bool: ... + def socketDescriptor(self) -> int: ... + def setSocketDescriptor(self, socketDescriptor: int) -> bool: ... + def secureMode(self) -> 'QWebSocketServer.SslMode': ... + def serverAddress(self) -> QtNetwork.QHostAddress: ... + def serverPort(self) -> int: ... + def maxPendingConnections(self) -> int: ... + def setMaxPendingConnections(self, numConnections: int) -> None: ... + def isListening(self) -> bool: ... + def close(self) -> None: ... + def listen(self, address: typing.Union[QtNetwork.QHostAddress, QtNetwork.QHostAddress.SpecialAddress] = ..., port: int = ...) -> bool: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtWidgets.pyi b/OTHERS/Jarvis/ools/PyQt5/QtWidgets.pyi new file mode 100644 index 00000000..14bd9c29 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtWidgets.pyi @@ -0,0 +1,9914 @@ +# The PEP 484 type hints stub file for the QtWidgets module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtGui +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QWidget(QtCore.QObject, QtGui.QPaintDevice): + + class RenderFlag(int): + DrawWindowBackground = ... # type: QWidget.RenderFlag + DrawChildren = ... # type: QWidget.RenderFlag + IgnoreMask = ... # type: QWidget.RenderFlag + + class RenderFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QWidget.RenderFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QWidget.RenderFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional['QWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def screen(self) -> QtGui.QScreen: ... + def setWindowFlag(self, a0: QtCore.Qt.WindowType, on: bool = ...) -> None: ... + def hasTabletTracking(self) -> bool: ... + def setTabletTracking(self, enable: bool) -> None: ... + def windowIconTextChanged(self, iconText: str) -> None: ... + def windowIconChanged(self, icon: QtGui.QIcon) -> None: ... + def windowTitleChanged(self, title: str) -> None: ... + def toolTipDuration(self) -> int: ... + def setToolTipDuration(self, msec: int) -> None: ... + def initPainter(self, painter: QtGui.QPainter) -> None: ... + def sharedPainter(self) -> QtGui.QPainter: ... + def nativeEvent(self, eventType: typing.Union[QtCore.QByteArray, bytes, bytearray], message: PyQt5.sip.voidptr) -> typing.Tuple[bool, int]: ... + def windowHandle(self) -> QtGui.QWindow: ... + @staticmethod + def createWindowContainer(window: QtGui.QWindow, parent: typing.Optional['QWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> 'QWidget': ... + def grab(self, rectangle: QtCore.QRect = ...) -> QtGui.QPixmap: ... + def hasHeightForWidth(self) -> bool: ... + def setInputMethodHints(self, hints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint]) -> None: ... + def inputMethodHints(self) -> QtCore.Qt.InputMethodHints: ... + def previousInFocusChain(self) -> 'QWidget': ... + def contentsMargins(self) -> QtCore.QMargins: ... + def ungrabGesture(self, type: QtCore.Qt.GestureType) -> None: ... + def grabGesture(self, type: QtCore.Qt.GestureType, flags: typing.Union[QtCore.Qt.GestureFlags, QtCore.Qt.GestureFlag] = ...) -> None: ... + def setGraphicsEffect(self, effect: 'QGraphicsEffect') -> None: ... + def graphicsEffect(self) -> 'QGraphicsEffect': ... + def graphicsProxyWidget(self) -> 'QGraphicsProxyWidget': ... + def windowFilePath(self) -> str: ... + def setWindowFilePath(self, filePath: str) -> None: ... + def nativeParentWidget(self) -> 'QWidget': ... + def effectiveWinId(self) -> PyQt5.sip.voidptr: ... + def unsetLocale(self) -> None: ... + def locale(self) -> QtCore.QLocale: ... + def setLocale(self, locale: QtCore.QLocale) -> None: ... + @typing.overload + def render(self, target: QtGui.QPaintDevice, targetOffset: QtCore.QPoint = ..., sourceRegion: QtGui.QRegion = ..., flags: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag'] = ...) -> None: ... + @typing.overload + def render(self, painter: QtGui.QPainter, targetOffset: QtCore.QPoint = ..., sourceRegion: QtGui.QRegion = ..., flags: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag'] = ...) -> None: ... + def restoreGeometry(self, geometry: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def saveGeometry(self) -> QtCore.QByteArray: ... + def setShortcutAutoRepeat(self, id: int, enabled: bool = ...) -> None: ... + def styleSheet(self) -> str: ... + def setStyleSheet(self, styleSheet: str) -> None: ... + def setAutoFillBackground(self, enabled: bool) -> None: ... + def autoFillBackground(self) -> bool: ... + def setWindowModality(self, windowModality: QtCore.Qt.WindowModality) -> None: ... + def windowModality(self) -> QtCore.Qt.WindowModality: ... + def testAttribute(self, attribute: QtCore.Qt.WidgetAttribute) -> bool: ... + def parentWidget(self) -> 'QWidget': ... + def height(self) -> int: ... + def width(self) -> int: ... + def size(self) -> QtCore.QSize: ... + def geometry(self) -> QtCore.QRect: ... + def rect(self) -> QtCore.QRect: ... + def isHidden(self) -> bool: ... + def isVisible(self) -> bool: ... + def updatesEnabled(self) -> bool: ... + def underMouse(self) -> bool: ... + def hasMouseTracking(self) -> bool: ... + def setMouseTracking(self, enable: bool) -> None: ... + def fontInfo(self) -> QtGui.QFontInfo: ... + def fontMetrics(self) -> QtGui.QFontMetrics: ... + def font(self) -> QtGui.QFont: ... + def maximumHeight(self) -> int: ... + def maximumWidth(self) -> int: ... + def minimumHeight(self) -> int: ... + def minimumWidth(self) -> int: ... + def isModal(self) -> bool: ... + def isEnabled(self) -> bool: ... + def isWindow(self) -> bool: ... + def winId(self) -> PyQt5.sip.voidptr: ... + def windowFlags(self) -> QtCore.Qt.WindowFlags: ... + def windowType(self) -> QtCore.Qt.WindowType: ... + def focusPreviousChild(self) -> bool: ... + def focusNextChild(self) -> bool: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def destroy(self, destroyWindow: bool = ..., destroySubWindows: bool = ...) -> None: ... + def create(self, window: PyQt5.sip.voidptr = ..., initializeWindow: bool = ..., destroyOldWindow: bool = ...) -> None: ... + def updateMicroFocus(self) -> None: ... + def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ... + def metric(self, a0: QtGui.QPaintDevice.PaintDeviceMetric) -> int: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def dropEvent(self, a0: QtGui.QDropEvent) -> None: ... + def dragLeaveEvent(self, a0: QtGui.QDragLeaveEvent) -> None: ... + def dragMoveEvent(self, a0: QtGui.QDragMoveEvent) -> None: ... + def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ... + def actionEvent(self, a0: QtGui.QActionEvent) -> None: ... + def tabletEvent(self, a0: QtGui.QTabletEvent) -> None: ... + def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... + def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def moveEvent(self, a0: QtGui.QMoveEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def leaveEvent(self, a0: QtCore.QEvent) -> None: ... + def enterEvent(self, a0: QtCore.QEvent) -> None: ... + def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def keyReleaseEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def customContextMenuRequested(self, pos: QtCore.QPoint) -> None: ... + def isAncestorOf(self, child: 'QWidget') -> bool: ... + def ensurePolished(self) -> None: ... + def paintEngine(self) -> QtGui.QPaintEngine: ... + def setAttribute(self, attribute: QtCore.Qt.WidgetAttribute, on: bool = ...) -> None: ... + @typing.overload + def childAt(self, p: QtCore.QPoint) -> 'QWidget': ... + @typing.overload + def childAt(self, ax: int, ay: int) -> 'QWidget': ... + @staticmethod + def find(a0: PyQt5.sip.voidptr) -> 'QWidget': ... + def overrideWindowFlags(self, type: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... + def setWindowFlags(self, type: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... + def actions(self) -> typing.List['QAction']: ... + def removeAction(self, action: 'QAction') -> None: ... + def insertActions(self, before: 'QAction', actions: typing.Iterable['QAction']) -> None: ... + def insertAction(self, before: 'QAction', action: 'QAction') -> None: ... + def addActions(self, actions: typing.Iterable['QAction']) -> None: ... + def addAction(self, action: 'QAction') -> None: ... + def setAcceptDrops(self, on: bool) -> None: ... + def acceptDrops(self) -> bool: ... + def nextInFocusChain(self) -> 'QWidget': ... + def focusWidget(self) -> 'QWidget': ... + @typing.overload + def scroll(self, dx: int, dy: int) -> None: ... + @typing.overload + def scroll(self, dx: int, dy: int, a2: QtCore.QRect) -> None: ... + @typing.overload + def setParent(self, parent: 'QWidget') -> None: ... + @typing.overload + def setParent(self, parent: 'QWidget', f: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... + def updateGeometry(self) -> None: ... + def setLayout(self, a0: 'QLayout') -> None: ... + def layout(self) -> 'QLayout': ... + def contentsRect(self) -> QtCore.QRect: ... + def getContentsMargins(self) -> typing.Tuple[int, int, int, int]: ... + @typing.overload + def setContentsMargins(self, left: int, top: int, right: int, bottom: int) -> None: ... + @typing.overload + def setContentsMargins(self, margins: QtCore.QMargins) -> None: ... + def visibleRegion(self) -> QtGui.QRegion: ... + def heightForWidth(self, a0: int) -> int: ... + @typing.overload + def setSizePolicy(self, a0: 'QSizePolicy') -> None: ... + @typing.overload + def setSizePolicy(self, hor: 'QSizePolicy.Policy', ver: 'QSizePolicy.Policy') -> None: ... + def sizePolicy(self) -> 'QSizePolicy': ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def overrideWindowState(self, state: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ... + def setWindowState(self, state: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ... + def windowState(self) -> QtCore.Qt.WindowStates: ... + def isFullScreen(self) -> bool: ... + def isMaximized(self) -> bool: ... + def isMinimized(self) -> bool: ... + def isVisibleTo(self, a0: 'QWidget') -> bool: ... + def adjustSize(self) -> None: ... + @typing.overload + def setGeometry(self, a0: QtCore.QRect) -> None: ... + @typing.overload + def setGeometry(self, ax: int, ay: int, aw: int, ah: int) -> None: ... + @typing.overload + def resize(self, a0: QtCore.QSize) -> None: ... + @typing.overload + def resize(self, w: int, h: int) -> None: ... + @typing.overload + def move(self, a0: QtCore.QPoint) -> None: ... + @typing.overload + def move(self, ax: int, ay: int) -> None: ... + def stackUnder(self, a0: 'QWidget') -> None: ... + def lower(self) -> None: ... + def raise_(self) -> None: ... + def close(self) -> bool: ... + def showNormal(self) -> None: ... + def showFullScreen(self) -> None: ... + def showMaximized(self) -> None: ... + def showMinimized(self) -> None: ... + def hide(self) -> None: ... + def show(self) -> None: ... + def setHidden(self, hidden: bool) -> None: ... + def setVisible(self, visible: bool) -> None: ... + @typing.overload + def repaint(self) -> None: ... + @typing.overload + def repaint(self, x: int, y: int, w: int, h: int) -> None: ... + @typing.overload + def repaint(self, a0: QtCore.QRect) -> None: ... + @typing.overload + def repaint(self, a0: QtGui.QRegion) -> None: ... + @typing.overload + def update(self) -> None: ... + @typing.overload + def update(self, a0: QtCore.QRect) -> None: ... + @typing.overload + def update(self, a0: QtGui.QRegion) -> None: ... + @typing.overload + def update(self, ax: int, ay: int, aw: int, ah: int) -> None: ... + def setUpdatesEnabled(self, enable: bool) -> None: ... + @staticmethod + def keyboardGrabber() -> 'QWidget': ... + @staticmethod + def mouseGrabber() -> 'QWidget': ... + def setShortcutEnabled(self, id: int, enabled: bool = ...) -> None: ... + def releaseShortcut(self, id: int) -> None: ... + def grabShortcut(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], context: QtCore.Qt.ShortcutContext = ...) -> int: ... + def releaseKeyboard(self) -> None: ... + def grabKeyboard(self) -> None: ... + def releaseMouse(self) -> None: ... + @typing.overload + def grabMouse(self) -> None: ... + @typing.overload + def grabMouse(self, a0: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ... + def setContextMenuPolicy(self, policy: QtCore.Qt.ContextMenuPolicy) -> None: ... + def contextMenuPolicy(self) -> QtCore.Qt.ContextMenuPolicy: ... + def focusProxy(self) -> 'QWidget': ... + def setFocusProxy(self, a0: 'QWidget') -> None: ... + @staticmethod + def setTabOrder(a0: 'QWidget', a1: 'QWidget') -> None: ... + def hasFocus(self) -> bool: ... + def setFocusPolicy(self, policy: QtCore.Qt.FocusPolicy) -> None: ... + def focusPolicy(self) -> QtCore.Qt.FocusPolicy: ... + def clearFocus(self) -> None: ... + def activateWindow(self) -> None: ... + def isActiveWindow(self) -> bool: ... + @typing.overload + def setFocus(self) -> None: ... + @typing.overload + def setFocus(self, reason: QtCore.Qt.FocusReason) -> None: ... + def isLeftToRight(self) -> bool: ... + def isRightToLeft(self) -> bool: ... + def unsetLayoutDirection(self) -> None: ... + def layoutDirection(self) -> QtCore.Qt.LayoutDirection: ... + def setLayoutDirection(self, direction: QtCore.Qt.LayoutDirection) -> None: ... + def setAccessibleDescription(self, description: str) -> None: ... + def accessibleDescription(self) -> str: ... + def setAccessibleName(self, name: str) -> None: ... + def accessibleName(self) -> str: ... + def whatsThis(self) -> str: ... + def setWhatsThis(self, a0: str) -> None: ... + def statusTip(self) -> str: ... + def setStatusTip(self, a0: str) -> None: ... + def toolTip(self) -> str: ... + def setToolTip(self, a0: str) -> None: ... + def isWindowModified(self) -> bool: ... + def windowOpacity(self) -> float: ... + def setWindowOpacity(self, level: float) -> None: ... + def windowRole(self) -> str: ... + def setWindowRole(self, a0: str) -> None: ... + def windowIconText(self) -> str: ... + def setWindowIconText(self, a0: str) -> None: ... + def windowIcon(self) -> QtGui.QIcon: ... + def setWindowIcon(self, icon: QtGui.QIcon) -> None: ... + def windowTitle(self) -> str: ... + def setWindowTitle(self, a0: str) -> None: ... + def clearMask(self) -> None: ... + def mask(self) -> QtGui.QRegion: ... + @typing.overload + def setMask(self, a0: QtGui.QBitmap) -> None: ... + @typing.overload + def setMask(self, a0: QtGui.QRegion) -> None: ... + def unsetCursor(self) -> None: ... + def setCursor(self, a0: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ... + def cursor(self) -> QtGui.QCursor: ... + def setFont(self, a0: QtGui.QFont) -> None: ... + def foregroundRole(self) -> QtGui.QPalette.ColorRole: ... + def setForegroundRole(self, a0: QtGui.QPalette.ColorRole) -> None: ... + def backgroundRole(self) -> QtGui.QPalette.ColorRole: ... + def setBackgroundRole(self, a0: QtGui.QPalette.ColorRole) -> None: ... + def setPalette(self, a0: QtGui.QPalette) -> None: ... + def palette(self) -> QtGui.QPalette: ... + def window(self) -> 'QWidget': ... + def mapFrom(self, a0: 'QWidget', a1: QtCore.QPoint) -> QtCore.QPoint: ... + def mapTo(self, a0: 'QWidget', a1: QtCore.QPoint) -> QtCore.QPoint: ... + def mapFromParent(self, a0: QtCore.QPoint) -> QtCore.QPoint: ... + def mapToParent(self, a0: QtCore.QPoint) -> QtCore.QPoint: ... + def mapFromGlobal(self, a0: QtCore.QPoint) -> QtCore.QPoint: ... + def mapToGlobal(self, a0: QtCore.QPoint) -> QtCore.QPoint: ... + def setFixedHeight(self, h: int) -> None: ... + def setFixedWidth(self, w: int) -> None: ... + @typing.overload + def setFixedSize(self, a0: QtCore.QSize) -> None: ... + @typing.overload + def setFixedSize(self, w: int, h: int) -> None: ... + @typing.overload + def setBaseSize(self, basew: int, baseh: int) -> None: ... + @typing.overload + def setBaseSize(self, s: QtCore.QSize) -> None: ... + def baseSize(self) -> QtCore.QSize: ... + @typing.overload + def setSizeIncrement(self, w: int, h: int) -> None: ... + @typing.overload + def setSizeIncrement(self, s: QtCore.QSize) -> None: ... + def sizeIncrement(self) -> QtCore.QSize: ... + def setMaximumHeight(self, maxh: int) -> None: ... + def setMaximumWidth(self, maxw: int) -> None: ... + def setMinimumHeight(self, minh: int) -> None: ... + def setMinimumWidth(self, minw: int) -> None: ... + @typing.overload + def setMaximumSize(self, maxw: int, maxh: int) -> None: ... + @typing.overload + def setMaximumSize(self, s: QtCore.QSize) -> None: ... + @typing.overload + def setMinimumSize(self, minw: int, minh: int) -> None: ... + @typing.overload + def setMinimumSize(self, s: QtCore.QSize) -> None: ... + def maximumSize(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def childrenRegion(self) -> QtGui.QRegion: ... + def childrenRect(self) -> QtCore.QRect: ... + def frameSize(self) -> QtCore.QSize: ... + def pos(self) -> QtCore.QPoint: ... + def y(self) -> int: ... + def x(self) -> int: ... + def normalGeometry(self) -> QtCore.QRect: ... + def frameGeometry(self) -> QtCore.QRect: ... + def setWindowModified(self, a0: bool) -> None: ... + def setDisabled(self, a0: bool) -> None: ... + def setEnabled(self, a0: bool) -> None: ... + def isEnabledTo(self, a0: 'QWidget') -> bool: ... + def setStyle(self, a0: 'QStyle') -> None: ... + def style(self) -> 'QStyle': ... + def devType(self) -> int: ... + + +class QAbstractButton(QWidget): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... + def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... + def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def nextCheckState(self) -> None: ... + def checkStateSet(self) -> None: ... + def hitButton(self, pos: QtCore.QPoint) -> bool: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def toggled(self, checked: bool) -> None: ... + def clicked(self, checked: bool = ...) -> None: ... + def released(self) -> None: ... + def pressed(self) -> None: ... + def setChecked(self, a0: bool) -> None: ... + def toggle(self) -> None: ... + def click(self) -> None: ... + def animateClick(self, msecs: int = ...) -> None: ... + def setIconSize(self, size: QtCore.QSize) -> None: ... + def group(self) -> 'QButtonGroup': ... + def autoExclusive(self) -> bool: ... + def setAutoExclusive(self, a0: bool) -> None: ... + def autoRepeat(self) -> bool: ... + def setAutoRepeat(self, a0: bool) -> None: ... + def isDown(self) -> bool: ... + def setDown(self, a0: bool) -> None: ... + def isChecked(self) -> bool: ... + def isCheckable(self) -> bool: ... + def setCheckable(self, a0: bool) -> None: ... + def shortcut(self) -> QtGui.QKeySequence: ... + def setShortcut(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... + def iconSize(self) -> QtCore.QSize: ... + def icon(self) -> QtGui.QIcon: ... + def setIcon(self, icon: QtGui.QIcon) -> None: ... + def text(self) -> str: ... + def setText(self, text: str) -> None: ... + def autoRepeatInterval(self) -> int: ... + def setAutoRepeatInterval(self, a0: int) -> None: ... + def autoRepeatDelay(self) -> int: ... + def setAutoRepeatDelay(self, a0: int) -> None: ... + + +class QAbstractItemDelegate(QtCore.QObject): + + class EndEditHint(int): + NoHint = ... # type: QAbstractItemDelegate.EndEditHint + EditNextItem = ... # type: QAbstractItemDelegate.EndEditHint + EditPreviousItem = ... # type: QAbstractItemDelegate.EndEditHint + SubmitModelCache = ... # type: QAbstractItemDelegate.EndEditHint + RevertModelCache = ... # type: QAbstractItemDelegate.EndEditHint + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def sizeHintChanged(self, a0: QtCore.QModelIndex) -> None: ... + def closeEditor(self, editor: QWidget, hint: 'QAbstractItemDelegate.EndEditHint' = ...) -> None: ... + def commitData(self, editor: QWidget) -> None: ... + def helpEvent(self, event: QtGui.QHelpEvent, view: 'QAbstractItemView', option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ... + def editorEvent(self, event: QtCore.QEvent, model: QtCore.QAbstractItemModel, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ... + def destroyEditor(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ... + def updateEditorGeometry(self, editor: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... + def setModelData(self, editor: QWidget, model: QtCore.QAbstractItemModel, index: QtCore.QModelIndex) -> None: ... + def setEditorData(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ... + def createEditor(self, parent: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QWidget: ... + def sizeHint(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QtCore.QSize: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... + + +class QFrame(QWidget): + + class StyleMask(int): + Shadow_Mask = ... # type: QFrame.StyleMask + Shape_Mask = ... # type: QFrame.StyleMask + + class Shape(int): + NoFrame = ... # type: QFrame.Shape + Box = ... # type: QFrame.Shape + Panel = ... # type: QFrame.Shape + WinPanel = ... # type: QFrame.Shape + HLine = ... # type: QFrame.Shape + VLine = ... # type: QFrame.Shape + StyledPanel = ... # type: QFrame.Shape + + class Shadow(int): + Plain = ... # type: QFrame.Shadow + Raised = ... # type: QFrame.Shadow + Sunken = ... # type: QFrame.Shadow + + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def initStyleOption(self, option: 'QStyleOptionFrame') -> None: ... + def drawFrame(self, a0: QtGui.QPainter) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def setFrameRect(self, a0: QtCore.QRect) -> None: ... + def frameRect(self) -> QtCore.QRect: ... + def setMidLineWidth(self, a0: int) -> None: ... + def midLineWidth(self) -> int: ... + def setLineWidth(self, a0: int) -> None: ... + def lineWidth(self) -> int: ... + def setFrameShadow(self, a0: 'QFrame.Shadow') -> None: ... + def frameShadow(self) -> 'QFrame.Shadow': ... + def setFrameShape(self, a0: 'QFrame.Shape') -> None: ... + def frameShape(self) -> 'QFrame.Shape': ... + def sizeHint(self) -> QtCore.QSize: ... + def frameWidth(self) -> int: ... + def setFrameStyle(self, a0: int) -> None: ... + def frameStyle(self) -> int: ... + + +class QAbstractScrollArea(QFrame): + + class SizeAdjustPolicy(int): + AdjustIgnored = ... # type: QAbstractScrollArea.SizeAdjustPolicy + AdjustToContentsOnFirstShow = ... # type: QAbstractScrollArea.SizeAdjustPolicy + AdjustToContents = ... # type: QAbstractScrollArea.SizeAdjustPolicy + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setSizeAdjustPolicy(self, policy: 'QAbstractScrollArea.SizeAdjustPolicy') -> None: ... + def sizeAdjustPolicy(self) -> 'QAbstractScrollArea.SizeAdjustPolicy': ... + def setupViewport(self, viewport: QWidget) -> None: ... + def setViewport(self, widget: QWidget) -> None: ... + def scrollBarWidgets(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> typing.List[QWidget]: ... + def addScrollBarWidget(self, widget: QWidget, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def setCornerWidget(self, widget: QWidget) -> None: ... + def cornerWidget(self) -> QWidget: ... + def setHorizontalScrollBar(self, scrollbar: 'QScrollBar') -> None: ... + def setVerticalScrollBar(self, scrollbar: 'QScrollBar') -> None: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def dropEvent(self, a0: QtGui.QDropEvent) -> None: ... + def dragLeaveEvent(self, a0: QtGui.QDragLeaveEvent) -> None: ... + def dragMoveEvent(self, a0: QtGui.QDragMoveEvent) -> None: ... + def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ... + def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... + def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def viewportEvent(self, a0: QtCore.QEvent) -> bool: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def viewportSizeHint(self) -> QtCore.QSize: ... + def viewportMargins(self) -> QtCore.QMargins: ... + @typing.overload + def setViewportMargins(self, left: int, top: int, right: int, bottom: int) -> None: ... + @typing.overload + def setViewportMargins(self, margins: QtCore.QMargins) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def maximumViewportSize(self) -> QtCore.QSize: ... + def viewport(self) -> QWidget: ... + def horizontalScrollBar(self) -> 'QScrollBar': ... + def setHorizontalScrollBarPolicy(self, a0: QtCore.Qt.ScrollBarPolicy) -> None: ... + def horizontalScrollBarPolicy(self) -> QtCore.Qt.ScrollBarPolicy: ... + def verticalScrollBar(self) -> 'QScrollBar': ... + def setVerticalScrollBarPolicy(self, a0: QtCore.Qt.ScrollBarPolicy) -> None: ... + def verticalScrollBarPolicy(self) -> QtCore.Qt.ScrollBarPolicy: ... + + +class QAbstractItemView(QAbstractScrollArea): + + class DropIndicatorPosition(int): + OnItem = ... # type: QAbstractItemView.DropIndicatorPosition + AboveItem = ... # type: QAbstractItemView.DropIndicatorPosition + BelowItem = ... # type: QAbstractItemView.DropIndicatorPosition + OnViewport = ... # type: QAbstractItemView.DropIndicatorPosition + + class State(int): + NoState = ... # type: QAbstractItemView.State + DraggingState = ... # type: QAbstractItemView.State + DragSelectingState = ... # type: QAbstractItemView.State + EditingState = ... # type: QAbstractItemView.State + ExpandingState = ... # type: QAbstractItemView.State + CollapsingState = ... # type: QAbstractItemView.State + AnimatingState = ... # type: QAbstractItemView.State + + class CursorAction(int): + MoveUp = ... # type: QAbstractItemView.CursorAction + MoveDown = ... # type: QAbstractItemView.CursorAction + MoveLeft = ... # type: QAbstractItemView.CursorAction + MoveRight = ... # type: QAbstractItemView.CursorAction + MoveHome = ... # type: QAbstractItemView.CursorAction + MoveEnd = ... # type: QAbstractItemView.CursorAction + MovePageUp = ... # type: QAbstractItemView.CursorAction + MovePageDown = ... # type: QAbstractItemView.CursorAction + MoveNext = ... # type: QAbstractItemView.CursorAction + MovePrevious = ... # type: QAbstractItemView.CursorAction + + class SelectionMode(int): + NoSelection = ... # type: QAbstractItemView.SelectionMode + SingleSelection = ... # type: QAbstractItemView.SelectionMode + MultiSelection = ... # type: QAbstractItemView.SelectionMode + ExtendedSelection = ... # type: QAbstractItemView.SelectionMode + ContiguousSelection = ... # type: QAbstractItemView.SelectionMode + + class SelectionBehavior(int): + SelectItems = ... # type: QAbstractItemView.SelectionBehavior + SelectRows = ... # type: QAbstractItemView.SelectionBehavior + SelectColumns = ... # type: QAbstractItemView.SelectionBehavior + + class ScrollMode(int): + ScrollPerItem = ... # type: QAbstractItemView.ScrollMode + ScrollPerPixel = ... # type: QAbstractItemView.ScrollMode + + class ScrollHint(int): + EnsureVisible = ... # type: QAbstractItemView.ScrollHint + PositionAtTop = ... # type: QAbstractItemView.ScrollHint + PositionAtBottom = ... # type: QAbstractItemView.ScrollHint + PositionAtCenter = ... # type: QAbstractItemView.ScrollHint + + class EditTrigger(int): + NoEditTriggers = ... # type: QAbstractItemView.EditTrigger + CurrentChanged = ... # type: QAbstractItemView.EditTrigger + DoubleClicked = ... # type: QAbstractItemView.EditTrigger + SelectedClicked = ... # type: QAbstractItemView.EditTrigger + EditKeyPressed = ... # type: QAbstractItemView.EditTrigger + AnyKeyPressed = ... # type: QAbstractItemView.EditTrigger + AllEditTriggers = ... # type: QAbstractItemView.EditTrigger + + class DragDropMode(int): + NoDragDrop = ... # type: QAbstractItemView.DragDropMode + DragOnly = ... # type: QAbstractItemView.DragDropMode + DropOnly = ... # type: QAbstractItemView.DragDropMode + DragDrop = ... # type: QAbstractItemView.DragDropMode + InternalMove = ... # type: QAbstractItemView.DragDropMode + + class EditTriggers(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QAbstractItemView.EditTriggers', 'QAbstractItemView.EditTrigger']) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractItemView.EditTriggers') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QAbstractItemView.EditTriggers': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def isPersistentEditorOpen(self, index: QtCore.QModelIndex) -> bool: ... + def resetHorizontalScrollMode(self) -> None: ... + def resetVerticalScrollMode(self) -> None: ... + def defaultDropAction(self) -> QtCore.Qt.DropAction: ... + def setDefaultDropAction(self, dropAction: QtCore.Qt.DropAction) -> None: ... + def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def viewportSizeHint(self) -> QtCore.QSize: ... + def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def autoScrollMargin(self) -> int: ... + def setAutoScrollMargin(self, margin: int) -> None: ... + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def itemDelegateForColumn(self, column: int) -> QAbstractItemDelegate: ... + def setItemDelegateForColumn(self, column: int, delegate: QAbstractItemDelegate) -> None: ... + def itemDelegateForRow(self, row: int) -> QAbstractItemDelegate: ... + def setItemDelegateForRow(self, row: int, delegate: QAbstractItemDelegate) -> None: ... + def dragDropMode(self) -> 'QAbstractItemView.DragDropMode': ... + def setDragDropMode(self, behavior: 'QAbstractItemView.DragDropMode') -> None: ... + def dragDropOverwriteMode(self) -> bool: ... + def setDragDropOverwriteMode(self, overwrite: bool) -> None: ... + def horizontalScrollMode(self) -> 'QAbstractItemView.ScrollMode': ... + def setHorizontalScrollMode(self, mode: 'QAbstractItemView.ScrollMode') -> None: ... + def verticalScrollMode(self) -> 'QAbstractItemView.ScrollMode': ... + def setVerticalScrollMode(self, mode: 'QAbstractItemView.ScrollMode') -> None: ... + def dropIndicatorPosition(self) -> 'QAbstractItemView.DropIndicatorPosition': ... + def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... + def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... + def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... + def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... + def dropEvent(self, e: QtGui.QDropEvent) -> None: ... + def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... + def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... + def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ... + def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... + def viewportEvent(self, e: QtCore.QEvent) -> bool: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def dirtyRegionOffset(self) -> QtCore.QPoint: ... + def setDirtyRegion(self, region: QtGui.QRegion) -> None: ... + def scrollDirtyRegion(self, dx: int, dy: int) -> None: ... + def executeDelayedItemsLayout(self) -> None: ... + def scheduleDelayedItemsLayout(self) -> None: ... + def setState(self, state: 'QAbstractItemView.State') -> None: ... + def state(self) -> 'QAbstractItemView.State': ... + def viewOptions(self) -> 'QStyleOptionViewItem': ... + def startDrag(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction]) -> None: ... + def selectionCommand(self, index: QtCore.QModelIndex, event: typing.Optional[QtCore.QEvent] = ...) -> QtCore.QItemSelectionModel.SelectionFlags: ... + def selectedIndexes(self) -> typing.List[QtCore.QModelIndex]: ... + def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ... + def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ... + def verticalOffset(self) -> int: ... + def horizontalOffset(self) -> int: ... + def moveCursor(self, cursorAction: 'QAbstractItemView.CursorAction', modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ... + def iconSizeChanged(self, size: QtCore.QSize) -> None: ... + def viewportEntered(self) -> None: ... + def entered(self, index: QtCore.QModelIndex) -> None: ... + def activated(self, index: QtCore.QModelIndex) -> None: ... + def doubleClicked(self, index: QtCore.QModelIndex) -> None: ... + def clicked(self, index: QtCore.QModelIndex) -> None: ... + def pressed(self, index: QtCore.QModelIndex) -> None: ... + def editorDestroyed(self, editor: QtCore.QObject) -> None: ... + def commitData(self, editor: QWidget) -> None: ... + def closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint) -> None: ... + def horizontalScrollbarValueChanged(self, value: int) -> None: ... + def verticalScrollbarValueChanged(self, value: int) -> None: ... + def horizontalScrollbarAction(self, action: int) -> None: ... + def verticalScrollbarAction(self, action: int) -> None: ... + def updateGeometries(self) -> None: ... + def updateEditorGeometries(self) -> None: ... + def updateEditorData(self) -> None: ... + def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ... + def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ... + def rowsAboutToBeRemoved(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... + def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... + def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ... + @typing.overload + def update(self) -> None: ... + @typing.overload + def update(self, index: QtCore.QModelIndex) -> None: ... + def scrollToBottom(self) -> None: ... + def scrollToTop(self) -> None: ... + def setCurrentIndex(self, index: QtCore.QModelIndex) -> None: ... + def clearSelection(self) -> None: ... + @typing.overload + def edit(self, index: QtCore.QModelIndex) -> None: ... + @typing.overload + def edit(self, index: QtCore.QModelIndex, trigger: 'QAbstractItemView.EditTrigger', event: QtCore.QEvent) -> bool: ... + def selectAll(self) -> None: ... + def setRootIndex(self, index: QtCore.QModelIndex) -> None: ... + def reset(self) -> None: ... + def indexWidget(self, index: QtCore.QModelIndex) -> QWidget: ... + def setIndexWidget(self, index: QtCore.QModelIndex, widget: QWidget) -> None: ... + def closePersistentEditor(self, index: QtCore.QModelIndex) -> None: ... + def openPersistentEditor(self, index: QtCore.QModelIndex) -> None: ... + def sizeHintForColumn(self, column: int) -> int: ... + def sizeHintForRow(self, row: int) -> int: ... + def sizeHintForIndex(self, index: QtCore.QModelIndex) -> QtCore.QSize: ... + def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ... + def scrollTo(self, index: QtCore.QModelIndex, hint: 'QAbstractItemView.ScrollHint' = ...) -> None: ... + def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... + def keyboardSearch(self, search: str) -> None: ... + def textElideMode(self) -> QtCore.Qt.TextElideMode: ... + def setTextElideMode(self, mode: QtCore.Qt.TextElideMode) -> None: ... + def iconSize(self) -> QtCore.QSize: ... + def setIconSize(self, size: QtCore.QSize) -> None: ... + def alternatingRowColors(self) -> bool: ... + def setAlternatingRowColors(self, enable: bool) -> None: ... + def dragEnabled(self) -> bool: ... + def setDragEnabled(self, enable: bool) -> None: ... + def showDropIndicator(self) -> bool: ... + def setDropIndicatorShown(self, enable: bool) -> None: ... + def tabKeyNavigation(self) -> bool: ... + def setTabKeyNavigation(self, enable: bool) -> None: ... + def hasAutoScroll(self) -> bool: ... + def setAutoScroll(self, enable: bool) -> None: ... + def editTriggers(self) -> 'QAbstractItemView.EditTriggers': ... + def setEditTriggers(self, triggers: typing.Union['QAbstractItemView.EditTriggers', 'QAbstractItemView.EditTrigger']) -> None: ... + def rootIndex(self) -> QtCore.QModelIndex: ... + def currentIndex(self) -> QtCore.QModelIndex: ... + def selectionBehavior(self) -> 'QAbstractItemView.SelectionBehavior': ... + def setSelectionBehavior(self, behavior: 'QAbstractItemView.SelectionBehavior') -> None: ... + def selectionMode(self) -> 'QAbstractItemView.SelectionMode': ... + def setSelectionMode(self, mode: 'QAbstractItemView.SelectionMode') -> None: ... + @typing.overload + def itemDelegate(self) -> QAbstractItemDelegate: ... + @typing.overload + def itemDelegate(self, index: QtCore.QModelIndex) -> QAbstractItemDelegate: ... + def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ... + def selectionModel(self) -> QtCore.QItemSelectionModel: ... + def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ... + def model(self) -> QtCore.QAbstractItemModel: ... + def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... + + +class QAbstractSlider(QWidget): + + class SliderChange(int): + SliderRangeChange = ... # type: QAbstractSlider.SliderChange + SliderOrientationChange = ... # type: QAbstractSlider.SliderChange + SliderStepsChange = ... # type: QAbstractSlider.SliderChange + SliderValueChange = ... # type: QAbstractSlider.SliderChange + + class SliderAction(int): + SliderNoAction = ... # type: QAbstractSlider.SliderAction + SliderSingleStepAdd = ... # type: QAbstractSlider.SliderAction + SliderSingleStepSub = ... # type: QAbstractSlider.SliderAction + SliderPageStepAdd = ... # type: QAbstractSlider.SliderAction + SliderPageStepSub = ... # type: QAbstractSlider.SliderAction + SliderToMinimum = ... # type: QAbstractSlider.SliderAction + SliderToMaximum = ... # type: QAbstractSlider.SliderAction + SliderMove = ... # type: QAbstractSlider.SliderAction + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def changeEvent(self, e: QtCore.QEvent) -> None: ... + def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... + def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... + def keyPressEvent(self, ev: QtGui.QKeyEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def sliderChange(self, change: 'QAbstractSlider.SliderChange') -> None: ... + def repeatAction(self) -> 'QAbstractSlider.SliderAction': ... + def setRepeatAction(self, action: 'QAbstractSlider.SliderAction', thresholdTime: int = ..., repeatTime: int = ...) -> None: ... + def actionTriggered(self, action: int) -> None: ... + def rangeChanged(self, min: int, max: int) -> None: ... + def sliderReleased(self) -> None: ... + def sliderMoved(self, position: int) -> None: ... + def sliderPressed(self) -> None: ... + def valueChanged(self, value: int) -> None: ... + def setOrientation(self, a0: QtCore.Qt.Orientation) -> None: ... + def setValue(self, a0: int) -> None: ... + def triggerAction(self, action: 'QAbstractSlider.SliderAction') -> None: ... + def value(self) -> int: ... + def invertedControls(self) -> bool: ... + def setInvertedControls(self, a0: bool) -> None: ... + def invertedAppearance(self) -> bool: ... + def setInvertedAppearance(self, a0: bool) -> None: ... + def sliderPosition(self) -> int: ... + def setSliderPosition(self, a0: int) -> None: ... + def isSliderDown(self) -> bool: ... + def setSliderDown(self, a0: bool) -> None: ... + def hasTracking(self) -> bool: ... + def setTracking(self, enable: bool) -> None: ... + def pageStep(self) -> int: ... + def setPageStep(self, a0: int) -> None: ... + def singleStep(self) -> int: ... + def setSingleStep(self, a0: int) -> None: ... + def setRange(self, min: int, max: int) -> None: ... + def maximum(self) -> int: ... + def setMaximum(self, a0: int) -> None: ... + def minimum(self) -> int: ... + def setMinimum(self, a0: int) -> None: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + + +class QAbstractSpinBox(QWidget): + + class StepType(int): + DefaultStepType = ... # type: QAbstractSpinBox.StepType + AdaptiveDecimalStepType = ... # type: QAbstractSpinBox.StepType + + class CorrectionMode(int): + CorrectToPreviousValue = ... # type: QAbstractSpinBox.CorrectionMode + CorrectToNearestValue = ... # type: QAbstractSpinBox.CorrectionMode + + class ButtonSymbols(int): + UpDownArrows = ... # type: QAbstractSpinBox.ButtonSymbols + PlusMinus = ... # type: QAbstractSpinBox.ButtonSymbols + NoButtons = ... # type: QAbstractSpinBox.ButtonSymbols + + class StepEnabledFlag(int): + StepNone = ... # type: QAbstractSpinBox.StepEnabledFlag + StepUpEnabled = ... # type: QAbstractSpinBox.StepEnabledFlag + StepDownEnabled = ... # type: QAbstractSpinBox.StepEnabledFlag + + class StepEnabled(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QAbstractSpinBox.StepEnabled', 'QAbstractSpinBox.StepEnabledFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QAbstractSpinBox.StepEnabled') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QAbstractSpinBox.StepEnabled': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def isGroupSeparatorShown(self) -> bool: ... + def setGroupSeparatorShown(self, shown: bool) -> None: ... + def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def keyboardTracking(self) -> bool: ... + def setKeyboardTracking(self, kt: bool) -> None: ... + def isAccelerated(self) -> bool: ... + def setAccelerated(self, on: bool) -> None: ... + def hasAcceptableInput(self) -> bool: ... + def correctionMode(self) -> 'QAbstractSpinBox.CorrectionMode': ... + def setCorrectionMode(self, cm: 'QAbstractSpinBox.CorrectionMode') -> None: ... + def initStyleOption(self, option: 'QStyleOptionSpinBox') -> None: ... + def stepEnabled(self) -> 'QAbstractSpinBox.StepEnabled': ... + def setLineEdit(self, e: 'QLineEdit') -> None: ... + def lineEdit(self) -> 'QLineEdit': ... + def showEvent(self, e: QtGui.QShowEvent) -> None: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... + def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... + def hideEvent(self, e: QtGui.QHideEvent) -> None: ... + def closeEvent(self, e: QtGui.QCloseEvent) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ... + def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... + def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... + def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... + def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... + def editingFinished(self) -> None: ... + def clear(self) -> None: ... + def selectAll(self) -> None: ... + def stepDown(self) -> None: ... + def stepUp(self) -> None: ... + def stepBy(self, steps: int) -> None: ... + def fixup(self, input: str) -> str: ... + def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def interpretText(self) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def hasFrame(self) -> bool: ... + def setFrame(self, a0: bool) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def setAlignment(self, flag: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def isReadOnly(self) -> bool: ... + def setReadOnly(self, r: bool) -> None: ... + def setWrapping(self, w: bool) -> None: ... + def wrapping(self) -> bool: ... + def setSpecialValueText(self, s: str) -> None: ... + def specialValueText(self) -> str: ... + def text(self) -> str: ... + def setButtonSymbols(self, bs: 'QAbstractSpinBox.ButtonSymbols') -> None: ... + def buttonSymbols(self) -> 'QAbstractSpinBox.ButtonSymbols': ... + + +class QAction(QtCore.QObject): + + class Priority(int): + LowPriority = ... # type: QAction.Priority + NormalPriority = ... # type: QAction.Priority + HighPriority = ... # type: QAction.Priority + + class MenuRole(int): + NoRole = ... # type: QAction.MenuRole + TextHeuristicRole = ... # type: QAction.MenuRole + ApplicationSpecificRole = ... # type: QAction.MenuRole + AboutQtRole = ... # type: QAction.MenuRole + AboutRole = ... # type: QAction.MenuRole + PreferencesRole = ... # type: QAction.MenuRole + QuitRole = ... # type: QAction.MenuRole + + class ActionEvent(int): + Trigger = ... # type: QAction.ActionEvent + Hover = ... # type: QAction.ActionEvent + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, icon: QtGui.QIcon, text: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def isShortcutVisibleInContextMenu(self) -> bool: ... + def setShortcutVisibleInContextMenu(self, show: bool) -> None: ... + def priority(self) -> 'QAction.Priority': ... + def setPriority(self, priority: 'QAction.Priority') -> None: ... + def isIconVisibleInMenu(self) -> bool: ... + def setIconVisibleInMenu(self, visible: bool) -> None: ... + def associatedGraphicsWidgets(self) -> typing.List['QGraphicsWidget']: ... + def associatedWidgets(self) -> typing.List[QWidget]: ... + def menuRole(self) -> 'QAction.MenuRole': ... + def setMenuRole(self, menuRole: 'QAction.MenuRole') -> None: ... + def autoRepeat(self) -> bool: ... + def setAutoRepeat(self, a0: bool) -> None: ... + def shortcuts(self) -> typing.List[QtGui.QKeySequence]: ... + @typing.overload + def setShortcuts(self, shortcuts: typing.Iterable[typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]]) -> None: ... + @typing.overload + def setShortcuts(self, a0: QtGui.QKeySequence.StandardKey) -> None: ... + def toggled(self, a0: bool) -> None: ... + def hovered(self) -> None: ... + def triggered(self, checked: bool = ...) -> None: ... + def changed(self) -> None: ... + def setVisible(self, a0: bool) -> None: ... + def setDisabled(self, b: bool) -> None: ... + def setEnabled(self, a0: bool) -> None: ... + def toggle(self) -> None: ... + def setChecked(self, a0: bool) -> None: ... + def hover(self) -> None: ... + def trigger(self) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def parentWidget(self) -> QWidget: ... + def showStatusText(self, widget: typing.Optional[QWidget] = ...) -> bool: ... + def activate(self, event: 'QAction.ActionEvent') -> None: ... + def isVisible(self) -> bool: ... + def isEnabled(self) -> bool: ... + def isChecked(self) -> bool: ... + def setData(self, var: typing.Any) -> None: ... + def data(self) -> typing.Any: ... + def isCheckable(self) -> bool: ... + def setCheckable(self, a0: bool) -> None: ... + def font(self) -> QtGui.QFont: ... + def setFont(self, font: QtGui.QFont) -> None: ... + def shortcutContext(self) -> QtCore.Qt.ShortcutContext: ... + def setShortcutContext(self, context: QtCore.Qt.ShortcutContext) -> None: ... + def shortcut(self) -> QtGui.QKeySequence: ... + def setShortcut(self, shortcut: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... + def isSeparator(self) -> bool: ... + def setSeparator(self, b: bool) -> None: ... + def setMenu(self, menu: 'QMenu') -> None: ... + def menu(self) -> 'QMenu': ... + def whatsThis(self) -> str: ... + def setWhatsThis(self, what: str) -> None: ... + def statusTip(self) -> str: ... + def setStatusTip(self, statusTip: str) -> None: ... + def toolTip(self) -> str: ... + def setToolTip(self, tip: str) -> None: ... + def iconText(self) -> str: ... + def setIconText(self, text: str) -> None: ... + def text(self) -> str: ... + def setText(self, text: str) -> None: ... + def icon(self) -> QtGui.QIcon: ... + def setIcon(self, icon: QtGui.QIcon) -> None: ... + def actionGroup(self) -> 'QActionGroup': ... + def setActionGroup(self, group: 'QActionGroup') -> None: ... + + +class QActionGroup(QtCore.QObject): + + class ExclusionPolicy(int): + None_ = ... # type: QActionGroup.ExclusionPolicy + Exclusive = ... # type: QActionGroup.ExclusionPolicy + ExclusiveOptional = ... # type: QActionGroup.ExclusionPolicy + + def __init__(self, parent: QtCore.QObject) -> None: ... + + def setExclusionPolicy(self, policy: 'QActionGroup.ExclusionPolicy') -> None: ... + def exclusionPolicy(self) -> 'QActionGroup.ExclusionPolicy': ... + def hovered(self, a0: QAction) -> None: ... + def triggered(self, a0: QAction) -> None: ... + def setExclusive(self, a0: bool) -> None: ... + def setVisible(self, a0: bool) -> None: ... + def setDisabled(self, b: bool) -> None: ... + def setEnabled(self, a0: bool) -> None: ... + def isVisible(self) -> bool: ... + def isEnabled(self) -> bool: ... + def isExclusive(self) -> bool: ... + def checkedAction(self) -> QAction: ... + def actions(self) -> typing.List[QAction]: ... + def removeAction(self, a: QAction) -> None: ... + @typing.overload + def addAction(self, a: QAction) -> QAction: ... + @typing.overload + def addAction(self, text: str) -> QAction: ... + @typing.overload + def addAction(self, icon: QtGui.QIcon, text: str) -> QAction: ... + + +class QApplication(QtGui.QGuiApplication): + + class ColorSpec(int): + NormalColor = ... # type: QApplication.ColorSpec + CustomColor = ... # type: QApplication.ColorSpec + ManyColor = ... # type: QApplication.ColorSpec + + def __init__(self, argv: typing.List[str]) -> None: ... + + def event(self, a0: QtCore.QEvent) -> bool: ... + def setStyleSheet(self, sheet: str) -> None: ... + def setAutoSipEnabled(self, enabled: bool) -> None: ... + @staticmethod + def closeAllWindows() -> None: ... + @staticmethod + def aboutQt() -> None: ... + def focusChanged(self, old: QWidget, now: QWidget) -> None: ... + def styleSheet(self) -> str: ... + def autoSipEnabled(self) -> bool: ... + def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + @staticmethod + def exec() -> int: ... + @staticmethod + def exec_() -> int: ... + @staticmethod + def setEffectEnabled(a0: QtCore.Qt.UIEffect, enabled: bool = ...) -> None: ... + @staticmethod + def isEffectEnabled(a0: QtCore.Qt.UIEffect) -> bool: ... + @staticmethod + def startDragDistance() -> int: ... + @staticmethod + def setStartDragDistance(l: int) -> None: ... + @staticmethod + def startDragTime() -> int: ... + @staticmethod + def setStartDragTime(ms: int) -> None: ... + @staticmethod + def globalStrut() -> QtCore.QSize: ... + @staticmethod + def setGlobalStrut(a0: QtCore.QSize) -> None: ... + @staticmethod + def wheelScrollLines() -> int: ... + @staticmethod + def setWheelScrollLines(a0: int) -> None: ... + @staticmethod + def keyboardInputInterval() -> int: ... + @staticmethod + def setKeyboardInputInterval(a0: int) -> None: ... + @staticmethod + def doubleClickInterval() -> int: ... + @staticmethod + def setDoubleClickInterval(a0: int) -> None: ... + @staticmethod + def cursorFlashTime() -> int: ... + @staticmethod + def setCursorFlashTime(a0: int) -> None: ... + @staticmethod + def alert(widget: QWidget, msecs: int = ...) -> None: ... + @staticmethod + def beep() -> None: ... + @typing.overload + @staticmethod + def topLevelAt(p: QtCore.QPoint) -> QWidget: ... + @typing.overload + @staticmethod + def topLevelAt(x: int, y: int) -> QWidget: ... + @typing.overload + @staticmethod + def widgetAt(p: QtCore.QPoint) -> QWidget: ... + @typing.overload + @staticmethod + def widgetAt(x: int, y: int) -> QWidget: ... + @staticmethod + def setActiveWindow(act: QWidget) -> None: ... + @staticmethod + def activeWindow() -> QWidget: ... + @staticmethod + def focusWidget() -> QWidget: ... + @staticmethod + def activeModalWidget() -> QWidget: ... + @staticmethod + def activePopupWidget() -> QWidget: ... + @staticmethod + def desktop() -> 'QDesktopWidget': ... + @staticmethod + def topLevelWidgets() -> typing.List[QWidget]: ... + @staticmethod + def allWidgets() -> typing.List[QWidget]: ... + @staticmethod + def windowIcon() -> QtGui.QIcon: ... + @staticmethod + def setWindowIcon(icon: QtGui.QIcon) -> None: ... + @staticmethod + def fontMetrics() -> QtGui.QFontMetrics: ... + @staticmethod + def setFont(a0: QtGui.QFont, className: typing.Optional[str] = ...) -> None: ... + @typing.overload + @staticmethod + def font() -> QtGui.QFont: ... + @typing.overload + @staticmethod + def font(a0: QWidget) -> QtGui.QFont: ... + @typing.overload + @staticmethod + def font(className: str) -> QtGui.QFont: ... + @staticmethod + def setPalette(a0: QtGui.QPalette, className: typing.Optional[str] = ...) -> None: ... + @typing.overload + @staticmethod + def palette() -> QtGui.QPalette: ... + @typing.overload + @staticmethod + def palette(a0: QWidget) -> QtGui.QPalette: ... + @typing.overload + @staticmethod + def palette(className: str) -> QtGui.QPalette: ... + @staticmethod + def setColorSpec(a0: int) -> None: ... + @staticmethod + def colorSpec() -> int: ... + @typing.overload + @staticmethod + def setStyle(a0: 'QStyle') -> None: ... + @typing.overload + @staticmethod + def setStyle(a0: str) -> 'QStyle': ... + @staticmethod + def style() -> 'QStyle': ... + + +class QLayoutItem(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QLayoutItem') -> None: ... + + def controlTypes(self) -> 'QSizePolicy.ControlTypes': ... + def setAlignment(self, a: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def spacerItem(self) -> 'QSpacerItem': ... + def layout(self) -> 'QLayout': ... + def widget(self) -> QWidget: ... + def invalidate(self) -> None: ... + def minimumHeightForWidth(self, a0: int) -> int: ... + def heightForWidth(self, a0: int) -> int: ... + def hasHeightForWidth(self) -> bool: ... + def isEmpty(self) -> bool: ... + def geometry(self) -> QtCore.QRect: ... + def setGeometry(self, a0: QtCore.QRect) -> None: ... + def expandingDirections(self) -> QtCore.Qt.Orientations: ... + def maximumSize(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QLayout(QtCore.QObject, QLayoutItem): + + class SizeConstraint(int): + SetDefaultConstraint = ... # type: QLayout.SizeConstraint + SetNoConstraint = ... # type: QLayout.SizeConstraint + SetMinimumSize = ... # type: QLayout.SizeConstraint + SetFixedSize = ... # type: QLayout.SizeConstraint + SetMaximumSize = ... # type: QLayout.SizeConstraint + SetMinAndMaxSize = ... # type: QLayout.SizeConstraint + + @typing.overload + def __init__(self, parent: QWidget) -> None: ... + @typing.overload + def __init__(self) -> None: ... + + def replaceWidget(self, from_: QWidget, to: QWidget, options: typing.Union[QtCore.Qt.FindChildOptions, QtCore.Qt.FindChildOption] = ...) -> QLayoutItem: ... + def controlTypes(self) -> 'QSizePolicy.ControlTypes': ... + def contentsMargins(self) -> QtCore.QMargins: ... + def contentsRect(self) -> QtCore.QRect: ... + def getContentsMargins(self) -> typing.Tuple[int, int, int, int]: ... + @typing.overload + def setContentsMargins(self, left: int, top: int, right: int, bottom: int) -> None: ... + @typing.overload + def setContentsMargins(self, margins: QtCore.QMargins) -> None: ... + def alignmentRect(self, a0: QtCore.QRect) -> QtCore.QRect: ... + def addChildWidget(self, w: QWidget) -> None: ... + def addChildLayout(self, l: 'QLayout') -> None: ... + def childEvent(self, e: QtCore.QChildEvent) -> None: ... + def widgetEvent(self, a0: QtCore.QEvent) -> None: ... + @staticmethod + def closestAcceptableSize(w: QWidget, s: QtCore.QSize) -> QtCore.QSize: ... + def isEnabled(self) -> bool: ... + def setEnabled(self, a0: bool) -> None: ... + def layout(self) -> 'QLayout': ... + def totalSizeHint(self) -> QtCore.QSize: ... + def totalMaximumSize(self) -> QtCore.QSize: ... + def totalMinimumSize(self) -> QtCore.QSize: ... + def totalHeightForWidth(self, w: int) -> int: ... + def isEmpty(self) -> bool: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + @typing.overload + def indexOf(self, a0: QWidget) -> int: ... + @typing.overload + def indexOf(self, a0: QLayoutItem) -> int: ... + def takeAt(self, index: int) -> QLayoutItem: ... + def itemAt(self, index: int) -> QLayoutItem: ... + def setGeometry(self, a0: QtCore.QRect) -> None: ... + def maximumSize(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def expandingDirections(self) -> QtCore.Qt.Orientations: ... + def removeItem(self, a0: QLayoutItem) -> None: ... + def removeWidget(self, w: QWidget) -> None: ... + def addItem(self, a0: QLayoutItem) -> None: ... + def addWidget(self, w: QWidget) -> None: ... + def update(self) -> None: ... + def activate(self) -> bool: ... + def geometry(self) -> QtCore.QRect: ... + def invalidate(self) -> None: ... + def parentWidget(self) -> QWidget: ... + def menuBar(self) -> QWidget: ... + def setMenuBar(self, w: QWidget) -> None: ... + def sizeConstraint(self) -> 'QLayout.SizeConstraint': ... + def setSizeConstraint(self, a0: 'QLayout.SizeConstraint') -> None: ... + @typing.overload + def setAlignment(self, w: QWidget, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> bool: ... + @typing.overload + def setAlignment(self, l: 'QLayout', alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> bool: ... + @typing.overload + def setAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def setSpacing(self, a0: int) -> None: ... + def spacing(self) -> int: ... + + +class QBoxLayout(QLayout): + + class Direction(int): + LeftToRight = ... # type: QBoxLayout.Direction + RightToLeft = ... # type: QBoxLayout.Direction + TopToBottom = ... # type: QBoxLayout.Direction + BottomToTop = ... # type: QBoxLayout.Direction + Down = ... # type: QBoxLayout.Direction + Up = ... # type: QBoxLayout.Direction + + def __init__(self, direction: 'QBoxLayout.Direction', parent: typing.Optional[QWidget] = ...) -> None: ... + + def insertItem(self, index: int, a1: QLayoutItem) -> None: ... + def stretch(self, index: int) -> int: ... + def setStretch(self, index: int, stretch: int) -> None: ... + def insertSpacerItem(self, index: int, spacerItem: 'QSpacerItem') -> None: ... + def addSpacerItem(self, spacerItem: 'QSpacerItem') -> None: ... + def setSpacing(self, spacing: int) -> None: ... + def spacing(self) -> int: ... + def setGeometry(self, a0: QtCore.QRect) -> None: ... + def count(self) -> int: ... + def takeAt(self, a0: int) -> QLayoutItem: ... + def itemAt(self, a0: int) -> QLayoutItem: ... + def invalidate(self) -> None: ... + def expandingDirections(self) -> QtCore.Qt.Orientations: ... + def minimumHeightForWidth(self, a0: int) -> int: ... + def heightForWidth(self, a0: int) -> int: ... + def hasHeightForWidth(self) -> bool: ... + def maximumSize(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + @typing.overload + def setStretchFactor(self, w: QWidget, stretch: int) -> bool: ... + @typing.overload + def setStretchFactor(self, l: QLayout, stretch: int) -> bool: ... + def insertLayout(self, index: int, layout: QLayout, stretch: int = ...) -> None: ... + def insertWidget(self, index: int, widget: QWidget, stretch: int = ..., alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + def insertStretch(self, index: int, stretch: int = ...) -> None: ... + def insertSpacing(self, index: int, size: int) -> None: ... + def addItem(self, a0: QLayoutItem) -> None: ... + def addStrut(self, a0: int) -> None: ... + def addLayout(self, layout: QLayout, stretch: int = ...) -> None: ... + def addWidget(self, a0: QWidget, stretch: int = ..., alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + def addStretch(self, stretch: int = ...) -> None: ... + def addSpacing(self, size: int) -> None: ... + def setDirection(self, a0: 'QBoxLayout.Direction') -> None: ... + def direction(self) -> 'QBoxLayout.Direction': ... + + +class QHBoxLayout(QBoxLayout): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, parent: QWidget) -> None: ... + + +class QVBoxLayout(QBoxLayout): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, parent: QWidget) -> None: ... + + +class QButtonGroup(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def idToggled(self, a0: int, a1: bool) -> None: ... + def idReleased(self, a0: int) -> None: ... + def idPressed(self, a0: int) -> None: ... + def idClicked(self, a0: int) -> None: ... + @typing.overload + def buttonToggled(self, a0: QAbstractButton, a1: bool) -> None: ... + @typing.overload + def buttonToggled(self, a0: int, a1: bool) -> None: ... + @typing.overload + def buttonReleased(self, a0: QAbstractButton) -> None: ... + @typing.overload + def buttonReleased(self, a0: int) -> None: ... + @typing.overload + def buttonPressed(self, a0: QAbstractButton) -> None: ... + @typing.overload + def buttonPressed(self, a0: int) -> None: ... + @typing.overload + def buttonClicked(self, a0: QAbstractButton) -> None: ... + @typing.overload + def buttonClicked(self, a0: int) -> None: ... + def checkedId(self) -> int: ... + def id(self, button: QAbstractButton) -> int: ... + def setId(self, button: QAbstractButton, id: int) -> None: ... + def checkedButton(self) -> QAbstractButton: ... + def button(self, id: int) -> QAbstractButton: ... + def buttons(self) -> typing.List[QAbstractButton]: ... + def removeButton(self, a0: QAbstractButton) -> None: ... + def addButton(self, a0: QAbstractButton, id: int = ...) -> None: ... + def exclusive(self) -> bool: ... + def setExclusive(self, a0: bool) -> None: ... + + +class QCalendarWidget(QWidget): + + class SelectionMode(int): + NoSelection = ... # type: QCalendarWidget.SelectionMode + SingleSelection = ... # type: QCalendarWidget.SelectionMode + + class VerticalHeaderFormat(int): + NoVerticalHeader = ... # type: QCalendarWidget.VerticalHeaderFormat + ISOWeekNumbers = ... # type: QCalendarWidget.VerticalHeaderFormat + + class HorizontalHeaderFormat(int): + NoHorizontalHeader = ... # type: QCalendarWidget.HorizontalHeaderFormat + SingleLetterDayNames = ... # type: QCalendarWidget.HorizontalHeaderFormat + ShortDayNames = ... # type: QCalendarWidget.HorizontalHeaderFormat + LongDayNames = ... # type: QCalendarWidget.HorizontalHeaderFormat + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setCalendar(self, calendar: QtCore.QCalendar) -> None: ... + def calendar(self) -> QtCore.QCalendar: ... + def setNavigationBarVisible(self, visible: bool) -> None: ... + def setDateEditAcceptDelay(self, delay: int) -> None: ... + def dateEditAcceptDelay(self) -> int: ... + def setDateEditEnabled(self, enable: bool) -> None: ... + def isDateEditEnabled(self) -> bool: ... + def isNavigationBarVisible(self) -> bool: ... + def selectionChanged(self) -> None: ... + def currentPageChanged(self, year: int, month: int) -> None: ... + def clicked(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def activated(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def showToday(self) -> None: ... + def showSelectedDate(self) -> None: ... + def showPreviousYear(self) -> None: ... + def showPreviousMonth(self) -> None: ... + def showNextYear(self) -> None: ... + def showNextMonth(self) -> None: ... + def setSelectedDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def setDateRange(self, min: typing.Union[QtCore.QDate, datetime.date], max: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def setCurrentPage(self, year: int, month: int) -> None: ... + def paintCell(self, painter: QtGui.QPainter, rect: QtCore.QRect, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... + def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... + def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ... + def eventFilter(self, watched: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def updateCells(self) -> None: ... + def updateCell(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def setDateTextFormat(self, date: typing.Union[QtCore.QDate, datetime.date], color: QtGui.QTextCharFormat) -> None: ... + @typing.overload + def dateTextFormat(self) -> typing.Dict[QtCore.QDate, QtGui.QTextCharFormat]: ... + @typing.overload + def dateTextFormat(self, date: typing.Union[QtCore.QDate, datetime.date]) -> QtGui.QTextCharFormat: ... + def setWeekdayTextFormat(self, dayOfWeek: QtCore.Qt.DayOfWeek, format: QtGui.QTextCharFormat) -> None: ... + def weekdayTextFormat(self, dayOfWeek: QtCore.Qt.DayOfWeek) -> QtGui.QTextCharFormat: ... + def setHeaderTextFormat(self, format: QtGui.QTextCharFormat) -> None: ... + def headerTextFormat(self) -> QtGui.QTextCharFormat: ... + def setVerticalHeaderFormat(self, format: 'QCalendarWidget.VerticalHeaderFormat') -> None: ... + def verticalHeaderFormat(self) -> 'QCalendarWidget.VerticalHeaderFormat': ... + def setHorizontalHeaderFormat(self, format: 'QCalendarWidget.HorizontalHeaderFormat') -> None: ... + def horizontalHeaderFormat(self) -> 'QCalendarWidget.HorizontalHeaderFormat': ... + def setSelectionMode(self, mode: 'QCalendarWidget.SelectionMode') -> None: ... + def selectionMode(self) -> 'QCalendarWidget.SelectionMode': ... + def setGridVisible(self, show: bool) -> None: ... + def isGridVisible(self) -> bool: ... + def setFirstDayOfWeek(self, dayOfWeek: QtCore.Qt.DayOfWeek) -> None: ... + def firstDayOfWeek(self) -> QtCore.Qt.DayOfWeek: ... + def setMaximumDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def maximumDate(self) -> QtCore.QDate: ... + def setMinimumDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def minimumDate(self) -> QtCore.QDate: ... + def monthShown(self) -> int: ... + def yearShown(self) -> int: ... + def selectedDate(self) -> QtCore.QDate: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QCheckBox(QAbstractButton): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + def initStyleOption(self, option: 'QStyleOptionButton') -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def nextCheckState(self) -> None: ... + def checkStateSet(self) -> None: ... + def hitButton(self, pos: QtCore.QPoint) -> bool: ... + def stateChanged(self, a0: int) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def setCheckState(self, state: QtCore.Qt.CheckState) -> None: ... + def checkState(self) -> QtCore.Qt.CheckState: ... + def isTristate(self) -> bool: ... + def setTristate(self, on: bool = ...) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QDialog(QWidget): + + class DialogCode(int): + Rejected = ... # type: QDialog.DialogCode + Accepted = ... # type: QDialog.DialogCode + + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def rejected(self) -> None: ... + def finished(self, result: int) -> None: ... + def accepted(self) -> None: ... + def open(self) -> None: ... + def reject(self) -> None: ... + def accept(self) -> None: ... + def done(self, a0: int) -> None: ... + def exec(self) -> int: ... + def exec_(self) -> int: ... + def setResult(self, r: int) -> None: ... + def setModal(self, modal: bool) -> None: ... + def isSizeGripEnabled(self) -> bool: ... + def setSizeGripEnabled(self, a0: bool) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def setVisible(self, visible: bool) -> None: ... + def result(self) -> int: ... + + +class QColorDialog(QDialog): + + class ColorDialogOption(int): + ShowAlphaChannel = ... # type: QColorDialog.ColorDialogOption + NoButtons = ... # type: QColorDialog.ColorDialogOption + DontUseNativeDialog = ... # type: QColorDialog.ColorDialogOption + + class ColorDialogOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QColorDialog.ColorDialogOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QColorDialog.ColorDialogOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, initial: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor], parent: typing.Optional[QWidget] = ...) -> None: ... + + def setVisible(self, visible: bool) -> None: ... + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def options(self) -> 'QColorDialog.ColorDialogOptions': ... + def setOptions(self, options: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption']) -> None: ... + def testOption(self, option: 'QColorDialog.ColorDialogOption') -> bool: ... + def setOption(self, option: 'QColorDialog.ColorDialogOption', on: bool = ...) -> None: ... + def selectedColor(self) -> QtGui.QColor: ... + def currentColor(self) -> QtGui.QColor: ... + def setCurrentColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def done(self, result: int) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + def currentColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def colorSelected(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + @staticmethod + def setStandardColor(index: int, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + @staticmethod + def standardColor(index: int) -> QtGui.QColor: ... + @staticmethod + def setCustomColor(index: int, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + @staticmethod + def customColor(index: int) -> QtGui.QColor: ... + @staticmethod + def customCount() -> int: ... + @staticmethod + def getColor(initial: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor] = ..., parent: typing.Optional[QWidget] = ..., title: str = ..., options: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption'] = ...) -> QtGui.QColor: ... + + +class QColumnView(QAbstractItemView): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ... + def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def verticalOffset(self) -> int: ... + def horizontalOffset(self) -> int: ... + def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ... + def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... + def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ... + def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ... + def initializeColumn(self, column: QAbstractItemView) -> None: ... + def createColumn(self, rootIndex: QtCore.QModelIndex) -> QAbstractItemView: ... + def updatePreviewWidget(self, index: QtCore.QModelIndex) -> None: ... + def selectAll(self) -> None: ... + def setRootIndex(self, index: QtCore.QModelIndex) -> None: ... + def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ... + def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... + def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... + def sizeHint(self) -> QtCore.QSize: ... + def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ... + def indexAt(self, point: QtCore.QPoint) -> QtCore.QModelIndex: ... + def setResizeGripsVisible(self, visible: bool) -> None: ... + def setPreviewWidget(self, widget: QWidget) -> None: ... + def setColumnWidths(self, list: typing.Iterable[int]) -> None: ... + def resizeGripsVisible(self) -> bool: ... + def previewWidget(self) -> QWidget: ... + def columnWidths(self) -> typing.List[int]: ... + + +class QComboBox(QWidget): + + class SizeAdjustPolicy(int): + AdjustToContents = ... # type: QComboBox.SizeAdjustPolicy + AdjustToContentsOnFirstShow = ... # type: QComboBox.SizeAdjustPolicy + AdjustToMinimumContentsLength = ... # type: QComboBox.SizeAdjustPolicy + AdjustToMinimumContentsLengthWithIcon = ... # type: QComboBox.SizeAdjustPolicy + + class InsertPolicy(int): + NoInsert = ... # type: QComboBox.InsertPolicy + InsertAtTop = ... # type: QComboBox.InsertPolicy + InsertAtCurrent = ... # type: QComboBox.InsertPolicy + InsertAtBottom = ... # type: QComboBox.InsertPolicy + InsertAfterCurrent = ... # type: QComboBox.InsertPolicy + InsertBeforeCurrent = ... # type: QComboBox.InsertPolicy + InsertAlphabetically = ... # type: QComboBox.InsertPolicy + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def placeholderText(self) -> str: ... + def setPlaceholderText(self, placeholderText: str) -> None: ... + def textHighlighted(self, a0: str) -> None: ... + def textActivated(self, a0: str) -> None: ... + def currentData(self, role: int = ...) -> typing.Any: ... + @typing.overload + def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + @typing.overload + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ... + def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ... + def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ... + def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... + def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... + def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... + def hideEvent(self, e: QtGui.QHideEvent) -> None: ... + def showEvent(self, e: QtGui.QShowEvent) -> None: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... + def initStyleOption(self, option: 'QStyleOptionComboBox') -> None: ... + @typing.overload + def highlighted(self, index: int) -> None: ... + @typing.overload + def highlighted(self, a0: str) -> None: ... + def currentTextChanged(self, a0: str) -> None: ... + @typing.overload + def currentIndexChanged(self, index: int) -> None: ... + @typing.overload + def currentIndexChanged(self, a0: str) -> None: ... + @typing.overload + def activated(self, index: int) -> None: ... + @typing.overload + def activated(self, a0: str) -> None: ... + def editTextChanged(self, a0: str) -> None: ... + def setCurrentText(self, text: str) -> None: ... + def setEditText(self, text: str) -> None: ... + def clearEditText(self) -> None: ... + def clear(self) -> None: ... + def insertSeparator(self, index: int) -> None: ... + def completer(self) -> 'QCompleter': ... + def setCompleter(self, c: 'QCompleter') -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def hidePopup(self) -> None: ... + def showPopup(self) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def setView(self, itemView: QAbstractItemView) -> None: ... + def view(self) -> QAbstractItemView: ... + def setItemData(self, index: int, value: typing.Any, role: int = ...) -> None: ... + def setItemIcon(self, index: int, icon: QtGui.QIcon) -> None: ... + def setItemText(self, index: int, text: str) -> None: ... + def removeItem(self, index: int) -> None: ... + def insertItems(self, index: int, texts: typing.Iterable[str]) -> None: ... + @typing.overload + def insertItem(self, index: int, text: str, userData: typing.Any = ...) -> None: ... + @typing.overload + def insertItem(self, index: int, icon: QtGui.QIcon, text: str, userData: typing.Any = ...) -> None: ... + @typing.overload + def addItem(self, text: str, userData: typing.Any = ...) -> None: ... + @typing.overload + def addItem(self, icon: QtGui.QIcon, text: str, userData: typing.Any = ...) -> None: ... + def addItems(self, texts: typing.Iterable[str]) -> None: ... + def itemData(self, index: int, role: int = ...) -> typing.Any: ... + def itemIcon(self, index: int) -> QtGui.QIcon: ... + def itemText(self, index: int) -> str: ... + def currentText(self) -> str: ... + def setCurrentIndex(self, index: int) -> None: ... + def currentIndex(self) -> int: ... + def setModelColumn(self, visibleColumn: int) -> None: ... + def modelColumn(self) -> int: ... + def setRootModelIndex(self, index: QtCore.QModelIndex) -> None: ... + def rootModelIndex(self) -> QtCore.QModelIndex: ... + def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... + def model(self) -> QtCore.QAbstractItemModel: ... + def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ... + def itemDelegate(self) -> QAbstractItemDelegate: ... + def validator(self) -> QtGui.QValidator: ... + def setValidator(self, v: QtGui.QValidator) -> None: ... + def lineEdit(self) -> 'QLineEdit': ... + def setLineEdit(self, edit: 'QLineEdit') -> None: ... + def setEditable(self, editable: bool) -> None: ... + def isEditable(self) -> bool: ... + def setIconSize(self, size: QtCore.QSize) -> None: ... + def iconSize(self) -> QtCore.QSize: ... + def setMinimumContentsLength(self, characters: int) -> None: ... + def minimumContentsLength(self) -> int: ... + def setSizeAdjustPolicy(self, policy: 'QComboBox.SizeAdjustPolicy') -> None: ... + def sizeAdjustPolicy(self) -> 'QComboBox.SizeAdjustPolicy': ... + def setInsertPolicy(self, policy: 'QComboBox.InsertPolicy') -> None: ... + def insertPolicy(self) -> 'QComboBox.InsertPolicy': ... + def findData(self, data: typing.Any, role: int = ..., flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag] = ...) -> int: ... + def findText(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag] = ...) -> int: ... + def hasFrame(self) -> bool: ... + def setFrame(self, a0: bool) -> None: ... + def setDuplicatesEnabled(self, enable: bool) -> None: ... + def duplicatesEnabled(self) -> bool: ... + def maxCount(self) -> int: ... + def setMaxCount(self, max: int) -> None: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def setMaxVisibleItems(self, maxItems: int) -> None: ... + def maxVisibleItems(self) -> int: ... + + +class QPushButton(QAbstractButton): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, icon: QtGui.QIcon, text: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + def hitButton(self, pos: QtCore.QPoint) -> bool: ... + def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def initStyleOption(self, option: 'QStyleOptionButton') -> None: ... + def showMenu(self) -> None: ... + def isFlat(self) -> bool: ... + def setFlat(self, a0: bool) -> None: ... + def menu(self) -> 'QMenu': ... + def setMenu(self, menu: 'QMenu') -> None: ... + def setDefault(self, a0: bool) -> None: ... + def isDefault(self) -> bool: ... + def setAutoDefault(self, a0: bool) -> None: ... + def autoDefault(self) -> bool: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QCommandLinkButton(QPushButton): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, description: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def heightForWidth(self, a0: int) -> int: ... + def sizeHint(self) -> QtCore.QSize: ... + def setDescription(self, description: str) -> None: ... + def description(self) -> str: ... + + +class QStyle(QtCore.QObject): + + class RequestSoftwareInputPanel(int): + RSIP_OnMouseClickAndAlreadyFocused = ... # type: QStyle.RequestSoftwareInputPanel + RSIP_OnMouseClick = ... # type: QStyle.RequestSoftwareInputPanel + + class StandardPixmap(int): + SP_TitleBarMenuButton = ... # type: QStyle.StandardPixmap + SP_TitleBarMinButton = ... # type: QStyle.StandardPixmap + SP_TitleBarMaxButton = ... # type: QStyle.StandardPixmap + SP_TitleBarCloseButton = ... # type: QStyle.StandardPixmap + SP_TitleBarNormalButton = ... # type: QStyle.StandardPixmap + SP_TitleBarShadeButton = ... # type: QStyle.StandardPixmap + SP_TitleBarUnshadeButton = ... # type: QStyle.StandardPixmap + SP_TitleBarContextHelpButton = ... # type: QStyle.StandardPixmap + SP_DockWidgetCloseButton = ... # type: QStyle.StandardPixmap + SP_MessageBoxInformation = ... # type: QStyle.StandardPixmap + SP_MessageBoxWarning = ... # type: QStyle.StandardPixmap + SP_MessageBoxCritical = ... # type: QStyle.StandardPixmap + SP_MessageBoxQuestion = ... # type: QStyle.StandardPixmap + SP_DesktopIcon = ... # type: QStyle.StandardPixmap + SP_TrashIcon = ... # type: QStyle.StandardPixmap + SP_ComputerIcon = ... # type: QStyle.StandardPixmap + SP_DriveFDIcon = ... # type: QStyle.StandardPixmap + SP_DriveHDIcon = ... # type: QStyle.StandardPixmap + SP_DriveCDIcon = ... # type: QStyle.StandardPixmap + SP_DriveDVDIcon = ... # type: QStyle.StandardPixmap + SP_DriveNetIcon = ... # type: QStyle.StandardPixmap + SP_DirOpenIcon = ... # type: QStyle.StandardPixmap + SP_DirClosedIcon = ... # type: QStyle.StandardPixmap + SP_DirLinkIcon = ... # type: QStyle.StandardPixmap + SP_FileIcon = ... # type: QStyle.StandardPixmap + SP_FileLinkIcon = ... # type: QStyle.StandardPixmap + SP_ToolBarHorizontalExtensionButton = ... # type: QStyle.StandardPixmap + SP_ToolBarVerticalExtensionButton = ... # type: QStyle.StandardPixmap + SP_FileDialogStart = ... # type: QStyle.StandardPixmap + SP_FileDialogEnd = ... # type: QStyle.StandardPixmap + SP_FileDialogToParent = ... # type: QStyle.StandardPixmap + SP_FileDialogNewFolder = ... # type: QStyle.StandardPixmap + SP_FileDialogDetailedView = ... # type: QStyle.StandardPixmap + SP_FileDialogInfoView = ... # type: QStyle.StandardPixmap + SP_FileDialogContentsView = ... # type: QStyle.StandardPixmap + SP_FileDialogListView = ... # type: QStyle.StandardPixmap + SP_FileDialogBack = ... # type: QStyle.StandardPixmap + SP_DirIcon = ... # type: QStyle.StandardPixmap + SP_DialogOkButton = ... # type: QStyle.StandardPixmap + SP_DialogCancelButton = ... # type: QStyle.StandardPixmap + SP_DialogHelpButton = ... # type: QStyle.StandardPixmap + SP_DialogOpenButton = ... # type: QStyle.StandardPixmap + SP_DialogSaveButton = ... # type: QStyle.StandardPixmap + SP_DialogCloseButton = ... # type: QStyle.StandardPixmap + SP_DialogApplyButton = ... # type: QStyle.StandardPixmap + SP_DialogResetButton = ... # type: QStyle.StandardPixmap + SP_DialogDiscardButton = ... # type: QStyle.StandardPixmap + SP_DialogYesButton = ... # type: QStyle.StandardPixmap + SP_DialogNoButton = ... # type: QStyle.StandardPixmap + SP_ArrowUp = ... # type: QStyle.StandardPixmap + SP_ArrowDown = ... # type: QStyle.StandardPixmap + SP_ArrowLeft = ... # type: QStyle.StandardPixmap + SP_ArrowRight = ... # type: QStyle.StandardPixmap + SP_ArrowBack = ... # type: QStyle.StandardPixmap + SP_ArrowForward = ... # type: QStyle.StandardPixmap + SP_DirHomeIcon = ... # type: QStyle.StandardPixmap + SP_CommandLink = ... # type: QStyle.StandardPixmap + SP_VistaShield = ... # type: QStyle.StandardPixmap + SP_BrowserReload = ... # type: QStyle.StandardPixmap + SP_BrowserStop = ... # type: QStyle.StandardPixmap + SP_MediaPlay = ... # type: QStyle.StandardPixmap + SP_MediaStop = ... # type: QStyle.StandardPixmap + SP_MediaPause = ... # type: QStyle.StandardPixmap + SP_MediaSkipForward = ... # type: QStyle.StandardPixmap + SP_MediaSkipBackward = ... # type: QStyle.StandardPixmap + SP_MediaSeekForward = ... # type: QStyle.StandardPixmap + SP_MediaSeekBackward = ... # type: QStyle.StandardPixmap + SP_MediaVolume = ... # type: QStyle.StandardPixmap + SP_MediaVolumeMuted = ... # type: QStyle.StandardPixmap + SP_DirLinkOpenIcon = ... # type: QStyle.StandardPixmap + SP_LineEditClearButton = ... # type: QStyle.StandardPixmap + SP_DialogYesToAllButton = ... # type: QStyle.StandardPixmap + SP_DialogNoToAllButton = ... # type: QStyle.StandardPixmap + SP_DialogSaveAllButton = ... # type: QStyle.StandardPixmap + SP_DialogAbortButton = ... # type: QStyle.StandardPixmap + SP_DialogRetryButton = ... # type: QStyle.StandardPixmap + SP_DialogIgnoreButton = ... # type: QStyle.StandardPixmap + SP_RestoreDefaultsButton = ... # type: QStyle.StandardPixmap + SP_CustomBase = ... # type: QStyle.StandardPixmap + + class StyleHint(int): + SH_EtchDisabledText = ... # type: QStyle.StyleHint + SH_DitherDisabledText = ... # type: QStyle.StyleHint + SH_ScrollBar_MiddleClickAbsolutePosition = ... # type: QStyle.StyleHint + SH_ScrollBar_ScrollWhenPointerLeavesControl = ... # type: QStyle.StyleHint + SH_TabBar_SelectMouseType = ... # type: QStyle.StyleHint + SH_TabBar_Alignment = ... # type: QStyle.StyleHint + SH_Header_ArrowAlignment = ... # type: QStyle.StyleHint + SH_Slider_SnapToValue = ... # type: QStyle.StyleHint + SH_Slider_SloppyKeyEvents = ... # type: QStyle.StyleHint + SH_ProgressDialog_CenterCancelButton = ... # type: QStyle.StyleHint + SH_ProgressDialog_TextLabelAlignment = ... # type: QStyle.StyleHint + SH_PrintDialog_RightAlignButtons = ... # type: QStyle.StyleHint + SH_MainWindow_SpaceBelowMenuBar = ... # type: QStyle.StyleHint + SH_FontDialog_SelectAssociatedText = ... # type: QStyle.StyleHint + SH_Menu_AllowActiveAndDisabled = ... # type: QStyle.StyleHint + SH_Menu_SpaceActivatesItem = ... # type: QStyle.StyleHint + SH_Menu_SubMenuPopupDelay = ... # type: QStyle.StyleHint + SH_ScrollView_FrameOnlyAroundContents = ... # type: QStyle.StyleHint + SH_MenuBar_AltKeyNavigation = ... # type: QStyle.StyleHint + SH_ComboBox_ListMouseTracking = ... # type: QStyle.StyleHint + SH_Menu_MouseTracking = ... # type: QStyle.StyleHint + SH_MenuBar_MouseTracking = ... # type: QStyle.StyleHint + SH_ItemView_ChangeHighlightOnFocus = ... # type: QStyle.StyleHint + SH_Widget_ShareActivation = ... # type: QStyle.StyleHint + SH_Workspace_FillSpaceOnMaximize = ... # type: QStyle.StyleHint + SH_ComboBox_Popup = ... # type: QStyle.StyleHint + SH_TitleBar_NoBorder = ... # type: QStyle.StyleHint + SH_ScrollBar_StopMouseOverSlider = ... # type: QStyle.StyleHint + SH_BlinkCursorWhenTextSelected = ... # type: QStyle.StyleHint + SH_RichText_FullWidthSelection = ... # type: QStyle.StyleHint + SH_Menu_Scrollable = ... # type: QStyle.StyleHint + SH_GroupBox_TextLabelVerticalAlignment = ... # type: QStyle.StyleHint + SH_GroupBox_TextLabelColor = ... # type: QStyle.StyleHint + SH_Menu_SloppySubMenus = ... # type: QStyle.StyleHint + SH_Table_GridLineColor = ... # type: QStyle.StyleHint + SH_LineEdit_PasswordCharacter = ... # type: QStyle.StyleHint + SH_DialogButtons_DefaultButton = ... # type: QStyle.StyleHint + SH_ToolBox_SelectedPageTitleBold = ... # type: QStyle.StyleHint + SH_TabBar_PreferNoArrows = ... # type: QStyle.StyleHint + SH_ScrollBar_LeftClickAbsolutePosition = ... # type: QStyle.StyleHint + SH_UnderlineShortcut = ... # type: QStyle.StyleHint + SH_SpinBox_AnimateButton = ... # type: QStyle.StyleHint + SH_SpinBox_KeyPressAutoRepeatRate = ... # type: QStyle.StyleHint + SH_SpinBox_ClickAutoRepeatRate = ... # type: QStyle.StyleHint + SH_Menu_FillScreenWithScroll = ... # type: QStyle.StyleHint + SH_ToolTipLabel_Opacity = ... # type: QStyle.StyleHint + SH_DrawMenuBarSeparator = ... # type: QStyle.StyleHint + SH_TitleBar_ModifyNotification = ... # type: QStyle.StyleHint + SH_Button_FocusPolicy = ... # type: QStyle.StyleHint + SH_MessageBox_UseBorderForButtonSpacing = ... # type: QStyle.StyleHint + SH_TitleBar_AutoRaise = ... # type: QStyle.StyleHint + SH_ToolButton_PopupDelay = ... # type: QStyle.StyleHint + SH_FocusFrame_Mask = ... # type: QStyle.StyleHint + SH_RubberBand_Mask = ... # type: QStyle.StyleHint + SH_WindowFrame_Mask = ... # type: QStyle.StyleHint + SH_SpinControls_DisableOnBounds = ... # type: QStyle.StyleHint + SH_Dial_BackgroundRole = ... # type: QStyle.StyleHint + SH_ComboBox_LayoutDirection = ... # type: QStyle.StyleHint + SH_ItemView_EllipsisLocation = ... # type: QStyle.StyleHint + SH_ItemView_ShowDecorationSelected = ... # type: QStyle.StyleHint + SH_ItemView_ActivateItemOnSingleClick = ... # type: QStyle.StyleHint + SH_ScrollBar_ContextMenu = ... # type: QStyle.StyleHint + SH_ScrollBar_RollBetweenButtons = ... # type: QStyle.StyleHint + SH_Slider_StopMouseOverSlider = ... # type: QStyle.StyleHint + SH_Slider_AbsoluteSetButtons = ... # type: QStyle.StyleHint + SH_Slider_PageSetButtons = ... # type: QStyle.StyleHint + SH_Menu_KeyboardSearch = ... # type: QStyle.StyleHint + SH_TabBar_ElideMode = ... # type: QStyle.StyleHint + SH_DialogButtonLayout = ... # type: QStyle.StyleHint + SH_ComboBox_PopupFrameStyle = ... # type: QStyle.StyleHint + SH_MessageBox_TextInteractionFlags = ... # type: QStyle.StyleHint + SH_DialogButtonBox_ButtonsHaveIcons = ... # type: QStyle.StyleHint + SH_SpellCheckUnderlineStyle = ... # type: QStyle.StyleHint + SH_MessageBox_CenterButtons = ... # type: QStyle.StyleHint + SH_Menu_SelectionWrap = ... # type: QStyle.StyleHint + SH_ItemView_MovementWithoutUpdatingSelection = ... # type: QStyle.StyleHint + SH_ToolTip_Mask = ... # type: QStyle.StyleHint + SH_FocusFrame_AboveWidget = ... # type: QStyle.StyleHint + SH_TextControl_FocusIndicatorTextCharFormat = ... # type: QStyle.StyleHint + SH_WizardStyle = ... # type: QStyle.StyleHint + SH_ItemView_ArrowKeysNavigateIntoChildren = ... # type: QStyle.StyleHint + SH_Menu_Mask = ... # type: QStyle.StyleHint + SH_Menu_FlashTriggeredItem = ... # type: QStyle.StyleHint + SH_Menu_FadeOutOnHide = ... # type: QStyle.StyleHint + SH_SpinBox_ClickAutoRepeatThreshold = ... # type: QStyle.StyleHint + SH_ItemView_PaintAlternatingRowColorsForEmptyArea = ... # type: QStyle.StyleHint + SH_FormLayoutWrapPolicy = ... # type: QStyle.StyleHint + SH_TabWidget_DefaultTabPosition = ... # type: QStyle.StyleHint + SH_ToolBar_Movable = ... # type: QStyle.StyleHint + SH_FormLayoutFieldGrowthPolicy = ... # type: QStyle.StyleHint + SH_FormLayoutFormAlignment = ... # type: QStyle.StyleHint + SH_FormLayoutLabelAlignment = ... # type: QStyle.StyleHint + SH_ItemView_DrawDelegateFrame = ... # type: QStyle.StyleHint + SH_TabBar_CloseButtonPosition = ... # type: QStyle.StyleHint + SH_DockWidget_ButtonsHaveFrame = ... # type: QStyle.StyleHint + SH_ToolButtonStyle = ... # type: QStyle.StyleHint + SH_RequestSoftwareInputPanel = ... # type: QStyle.StyleHint + SH_ListViewExpand_SelectMouseType = ... # type: QStyle.StyleHint + SH_ScrollBar_Transient = ... # type: QStyle.StyleHint + SH_Menu_SupportsSections = ... # type: QStyle.StyleHint + SH_ToolTip_WakeUpDelay = ... # type: QStyle.StyleHint + SH_ToolTip_FallAsleepDelay = ... # type: QStyle.StyleHint + SH_Widget_Animate = ... # type: QStyle.StyleHint + SH_Splitter_OpaqueResize = ... # type: QStyle.StyleHint + SH_LineEdit_PasswordMaskDelay = ... # type: QStyle.StyleHint + SH_TabBar_ChangeCurrentDelay = ... # type: QStyle.StyleHint + SH_Menu_SubMenuUniDirection = ... # type: QStyle.StyleHint + SH_Menu_SubMenuUniDirectionFailCount = ... # type: QStyle.StyleHint + SH_Menu_SubMenuSloppySelectOtherActions = ... # type: QStyle.StyleHint + SH_Menu_SubMenuSloppyCloseTimeout = ... # type: QStyle.StyleHint + SH_Menu_SubMenuResetWhenReenteringParent = ... # type: QStyle.StyleHint + SH_Menu_SubMenuDontStartSloppyOnLeave = ... # type: QStyle.StyleHint + SH_ItemView_ScrollMode = ... # type: QStyle.StyleHint + SH_TitleBar_ShowToolTipsOnButtons = ... # type: QStyle.StyleHint + SH_Widget_Animation_Duration = ... # type: QStyle.StyleHint + SH_ComboBox_AllowWheelScrolling = ... # type: QStyle.StyleHint + SH_SpinBox_ButtonsInsideFrame = ... # type: QStyle.StyleHint + SH_SpinBox_StepModifier = ... # type: QStyle.StyleHint + SH_CustomBase = ... # type: QStyle.StyleHint + + class ContentsType(int): + CT_PushButton = ... # type: QStyle.ContentsType + CT_CheckBox = ... # type: QStyle.ContentsType + CT_RadioButton = ... # type: QStyle.ContentsType + CT_ToolButton = ... # type: QStyle.ContentsType + CT_ComboBox = ... # type: QStyle.ContentsType + CT_Splitter = ... # type: QStyle.ContentsType + CT_ProgressBar = ... # type: QStyle.ContentsType + CT_MenuItem = ... # type: QStyle.ContentsType + CT_MenuBarItem = ... # type: QStyle.ContentsType + CT_MenuBar = ... # type: QStyle.ContentsType + CT_Menu = ... # type: QStyle.ContentsType + CT_TabBarTab = ... # type: QStyle.ContentsType + CT_Slider = ... # type: QStyle.ContentsType + CT_ScrollBar = ... # type: QStyle.ContentsType + CT_LineEdit = ... # type: QStyle.ContentsType + CT_SpinBox = ... # type: QStyle.ContentsType + CT_SizeGrip = ... # type: QStyle.ContentsType + CT_TabWidget = ... # type: QStyle.ContentsType + CT_DialogButtons = ... # type: QStyle.ContentsType + CT_HeaderSection = ... # type: QStyle.ContentsType + CT_GroupBox = ... # type: QStyle.ContentsType + CT_MdiControls = ... # type: QStyle.ContentsType + CT_ItemViewItem = ... # type: QStyle.ContentsType + CT_CustomBase = ... # type: QStyle.ContentsType + + class PixelMetric(int): + PM_ButtonMargin = ... # type: QStyle.PixelMetric + PM_ButtonDefaultIndicator = ... # type: QStyle.PixelMetric + PM_MenuButtonIndicator = ... # type: QStyle.PixelMetric + PM_ButtonShiftHorizontal = ... # type: QStyle.PixelMetric + PM_ButtonShiftVertical = ... # type: QStyle.PixelMetric + PM_DefaultFrameWidth = ... # type: QStyle.PixelMetric + PM_SpinBoxFrameWidth = ... # type: QStyle.PixelMetric + PM_ComboBoxFrameWidth = ... # type: QStyle.PixelMetric + PM_MaximumDragDistance = ... # type: QStyle.PixelMetric + PM_ScrollBarExtent = ... # type: QStyle.PixelMetric + PM_ScrollBarSliderMin = ... # type: QStyle.PixelMetric + PM_SliderThickness = ... # type: QStyle.PixelMetric + PM_SliderControlThickness = ... # type: QStyle.PixelMetric + PM_SliderLength = ... # type: QStyle.PixelMetric + PM_SliderTickmarkOffset = ... # type: QStyle.PixelMetric + PM_SliderSpaceAvailable = ... # type: QStyle.PixelMetric + PM_DockWidgetSeparatorExtent = ... # type: QStyle.PixelMetric + PM_DockWidgetHandleExtent = ... # type: QStyle.PixelMetric + PM_DockWidgetFrameWidth = ... # type: QStyle.PixelMetric + PM_TabBarTabOverlap = ... # type: QStyle.PixelMetric + PM_TabBarTabHSpace = ... # type: QStyle.PixelMetric + PM_TabBarTabVSpace = ... # type: QStyle.PixelMetric + PM_TabBarBaseHeight = ... # type: QStyle.PixelMetric + PM_TabBarBaseOverlap = ... # type: QStyle.PixelMetric + PM_ProgressBarChunkWidth = ... # type: QStyle.PixelMetric + PM_SplitterWidth = ... # type: QStyle.PixelMetric + PM_TitleBarHeight = ... # type: QStyle.PixelMetric + PM_MenuScrollerHeight = ... # type: QStyle.PixelMetric + PM_MenuHMargin = ... # type: QStyle.PixelMetric + PM_MenuVMargin = ... # type: QStyle.PixelMetric + PM_MenuPanelWidth = ... # type: QStyle.PixelMetric + PM_MenuTearoffHeight = ... # type: QStyle.PixelMetric + PM_MenuDesktopFrameWidth = ... # type: QStyle.PixelMetric + PM_MenuBarPanelWidth = ... # type: QStyle.PixelMetric + PM_MenuBarItemSpacing = ... # type: QStyle.PixelMetric + PM_MenuBarVMargin = ... # type: QStyle.PixelMetric + PM_MenuBarHMargin = ... # type: QStyle.PixelMetric + PM_IndicatorWidth = ... # type: QStyle.PixelMetric + PM_IndicatorHeight = ... # type: QStyle.PixelMetric + PM_ExclusiveIndicatorWidth = ... # type: QStyle.PixelMetric + PM_ExclusiveIndicatorHeight = ... # type: QStyle.PixelMetric + PM_DialogButtonsSeparator = ... # type: QStyle.PixelMetric + PM_DialogButtonsButtonWidth = ... # type: QStyle.PixelMetric + PM_DialogButtonsButtonHeight = ... # type: QStyle.PixelMetric + PM_MdiSubWindowFrameWidth = ... # type: QStyle.PixelMetric + PM_MDIFrameWidth = ... # type: QStyle.PixelMetric + PM_MdiSubWindowMinimizedWidth = ... # type: QStyle.PixelMetric + PM_MDIMinimizedWidth = ... # type: QStyle.PixelMetric + PM_HeaderMargin = ... # type: QStyle.PixelMetric + PM_HeaderMarkSize = ... # type: QStyle.PixelMetric + PM_HeaderGripMargin = ... # type: QStyle.PixelMetric + PM_TabBarTabShiftHorizontal = ... # type: QStyle.PixelMetric + PM_TabBarTabShiftVertical = ... # type: QStyle.PixelMetric + PM_TabBarScrollButtonWidth = ... # type: QStyle.PixelMetric + PM_ToolBarFrameWidth = ... # type: QStyle.PixelMetric + PM_ToolBarHandleExtent = ... # type: QStyle.PixelMetric + PM_ToolBarItemSpacing = ... # type: QStyle.PixelMetric + PM_ToolBarItemMargin = ... # type: QStyle.PixelMetric + PM_ToolBarSeparatorExtent = ... # type: QStyle.PixelMetric + PM_ToolBarExtensionExtent = ... # type: QStyle.PixelMetric + PM_SpinBoxSliderHeight = ... # type: QStyle.PixelMetric + PM_DefaultTopLevelMargin = ... # type: QStyle.PixelMetric + PM_DefaultChildMargin = ... # type: QStyle.PixelMetric + PM_DefaultLayoutSpacing = ... # type: QStyle.PixelMetric + PM_ToolBarIconSize = ... # type: QStyle.PixelMetric + PM_ListViewIconSize = ... # type: QStyle.PixelMetric + PM_IconViewIconSize = ... # type: QStyle.PixelMetric + PM_SmallIconSize = ... # type: QStyle.PixelMetric + PM_LargeIconSize = ... # type: QStyle.PixelMetric + PM_FocusFrameVMargin = ... # type: QStyle.PixelMetric + PM_FocusFrameHMargin = ... # type: QStyle.PixelMetric + PM_ToolTipLabelFrameWidth = ... # type: QStyle.PixelMetric + PM_CheckBoxLabelSpacing = ... # type: QStyle.PixelMetric + PM_TabBarIconSize = ... # type: QStyle.PixelMetric + PM_SizeGripSize = ... # type: QStyle.PixelMetric + PM_DockWidgetTitleMargin = ... # type: QStyle.PixelMetric + PM_MessageBoxIconSize = ... # type: QStyle.PixelMetric + PM_ButtonIconSize = ... # type: QStyle.PixelMetric + PM_DockWidgetTitleBarButtonMargin = ... # type: QStyle.PixelMetric + PM_RadioButtonLabelSpacing = ... # type: QStyle.PixelMetric + PM_LayoutLeftMargin = ... # type: QStyle.PixelMetric + PM_LayoutTopMargin = ... # type: QStyle.PixelMetric + PM_LayoutRightMargin = ... # type: QStyle.PixelMetric + PM_LayoutBottomMargin = ... # type: QStyle.PixelMetric + PM_LayoutHorizontalSpacing = ... # type: QStyle.PixelMetric + PM_LayoutVerticalSpacing = ... # type: QStyle.PixelMetric + PM_TabBar_ScrollButtonOverlap = ... # type: QStyle.PixelMetric + PM_TextCursorWidth = ... # type: QStyle.PixelMetric + PM_TabCloseIndicatorWidth = ... # type: QStyle.PixelMetric + PM_TabCloseIndicatorHeight = ... # type: QStyle.PixelMetric + PM_ScrollView_ScrollBarSpacing = ... # type: QStyle.PixelMetric + PM_SubMenuOverlap = ... # type: QStyle.PixelMetric + PM_ScrollView_ScrollBarOverlap = ... # type: QStyle.PixelMetric + PM_TreeViewIndentation = ... # type: QStyle.PixelMetric + PM_HeaderDefaultSectionSizeHorizontal = ... # type: QStyle.PixelMetric + PM_HeaderDefaultSectionSizeVertical = ... # type: QStyle.PixelMetric + PM_TitleBarButtonIconSize = ... # type: QStyle.PixelMetric + PM_TitleBarButtonSize = ... # type: QStyle.PixelMetric + PM_CustomBase = ... # type: QStyle.PixelMetric + + class SubControl(int): + SC_None = ... # type: QStyle.SubControl + SC_ScrollBarAddLine = ... # type: QStyle.SubControl + SC_ScrollBarSubLine = ... # type: QStyle.SubControl + SC_ScrollBarAddPage = ... # type: QStyle.SubControl + SC_ScrollBarSubPage = ... # type: QStyle.SubControl + SC_ScrollBarFirst = ... # type: QStyle.SubControl + SC_ScrollBarLast = ... # type: QStyle.SubControl + SC_ScrollBarSlider = ... # type: QStyle.SubControl + SC_ScrollBarGroove = ... # type: QStyle.SubControl + SC_SpinBoxUp = ... # type: QStyle.SubControl + SC_SpinBoxDown = ... # type: QStyle.SubControl + SC_SpinBoxFrame = ... # type: QStyle.SubControl + SC_SpinBoxEditField = ... # type: QStyle.SubControl + SC_ComboBoxFrame = ... # type: QStyle.SubControl + SC_ComboBoxEditField = ... # type: QStyle.SubControl + SC_ComboBoxArrow = ... # type: QStyle.SubControl + SC_ComboBoxListBoxPopup = ... # type: QStyle.SubControl + SC_SliderGroove = ... # type: QStyle.SubControl + SC_SliderHandle = ... # type: QStyle.SubControl + SC_SliderTickmarks = ... # type: QStyle.SubControl + SC_ToolButton = ... # type: QStyle.SubControl + SC_ToolButtonMenu = ... # type: QStyle.SubControl + SC_TitleBarSysMenu = ... # type: QStyle.SubControl + SC_TitleBarMinButton = ... # type: QStyle.SubControl + SC_TitleBarMaxButton = ... # type: QStyle.SubControl + SC_TitleBarCloseButton = ... # type: QStyle.SubControl + SC_TitleBarNormalButton = ... # type: QStyle.SubControl + SC_TitleBarShadeButton = ... # type: QStyle.SubControl + SC_TitleBarUnshadeButton = ... # type: QStyle.SubControl + SC_TitleBarContextHelpButton = ... # type: QStyle.SubControl + SC_TitleBarLabel = ... # type: QStyle.SubControl + SC_DialGroove = ... # type: QStyle.SubControl + SC_DialHandle = ... # type: QStyle.SubControl + SC_DialTickmarks = ... # type: QStyle.SubControl + SC_GroupBoxCheckBox = ... # type: QStyle.SubControl + SC_GroupBoxLabel = ... # type: QStyle.SubControl + SC_GroupBoxContents = ... # type: QStyle.SubControl + SC_GroupBoxFrame = ... # type: QStyle.SubControl + SC_MdiMinButton = ... # type: QStyle.SubControl + SC_MdiNormalButton = ... # type: QStyle.SubControl + SC_MdiCloseButton = ... # type: QStyle.SubControl + SC_CustomBase = ... # type: QStyle.SubControl + SC_All = ... # type: QStyle.SubControl + + class ComplexControl(int): + CC_SpinBox = ... # type: QStyle.ComplexControl + CC_ComboBox = ... # type: QStyle.ComplexControl + CC_ScrollBar = ... # type: QStyle.ComplexControl + CC_Slider = ... # type: QStyle.ComplexControl + CC_ToolButton = ... # type: QStyle.ComplexControl + CC_TitleBar = ... # type: QStyle.ComplexControl + CC_Dial = ... # type: QStyle.ComplexControl + CC_GroupBox = ... # type: QStyle.ComplexControl + CC_MdiControls = ... # type: QStyle.ComplexControl + CC_CustomBase = ... # type: QStyle.ComplexControl + + class SubElement(int): + SE_PushButtonContents = ... # type: QStyle.SubElement + SE_PushButtonFocusRect = ... # type: QStyle.SubElement + SE_CheckBoxIndicator = ... # type: QStyle.SubElement + SE_CheckBoxContents = ... # type: QStyle.SubElement + SE_CheckBoxFocusRect = ... # type: QStyle.SubElement + SE_CheckBoxClickRect = ... # type: QStyle.SubElement + SE_RadioButtonIndicator = ... # type: QStyle.SubElement + SE_RadioButtonContents = ... # type: QStyle.SubElement + SE_RadioButtonFocusRect = ... # type: QStyle.SubElement + SE_RadioButtonClickRect = ... # type: QStyle.SubElement + SE_ComboBoxFocusRect = ... # type: QStyle.SubElement + SE_SliderFocusRect = ... # type: QStyle.SubElement + SE_ProgressBarGroove = ... # type: QStyle.SubElement + SE_ProgressBarContents = ... # type: QStyle.SubElement + SE_ProgressBarLabel = ... # type: QStyle.SubElement + SE_ToolBoxTabContents = ... # type: QStyle.SubElement + SE_HeaderLabel = ... # type: QStyle.SubElement + SE_HeaderArrow = ... # type: QStyle.SubElement + SE_TabWidgetTabBar = ... # type: QStyle.SubElement + SE_TabWidgetTabPane = ... # type: QStyle.SubElement + SE_TabWidgetTabContents = ... # type: QStyle.SubElement + SE_TabWidgetLeftCorner = ... # type: QStyle.SubElement + SE_TabWidgetRightCorner = ... # type: QStyle.SubElement + SE_ViewItemCheckIndicator = ... # type: QStyle.SubElement + SE_TabBarTearIndicator = ... # type: QStyle.SubElement + SE_TreeViewDisclosureItem = ... # type: QStyle.SubElement + SE_LineEditContents = ... # type: QStyle.SubElement + SE_FrameContents = ... # type: QStyle.SubElement + SE_DockWidgetCloseButton = ... # type: QStyle.SubElement + SE_DockWidgetFloatButton = ... # type: QStyle.SubElement + SE_DockWidgetTitleBarText = ... # type: QStyle.SubElement + SE_DockWidgetIcon = ... # type: QStyle.SubElement + SE_CheckBoxLayoutItem = ... # type: QStyle.SubElement + SE_ComboBoxLayoutItem = ... # type: QStyle.SubElement + SE_DateTimeEditLayoutItem = ... # type: QStyle.SubElement + SE_DialogButtonBoxLayoutItem = ... # type: QStyle.SubElement + SE_LabelLayoutItem = ... # type: QStyle.SubElement + SE_ProgressBarLayoutItem = ... # type: QStyle.SubElement + SE_PushButtonLayoutItem = ... # type: QStyle.SubElement + SE_RadioButtonLayoutItem = ... # type: QStyle.SubElement + SE_SliderLayoutItem = ... # type: QStyle.SubElement + SE_SpinBoxLayoutItem = ... # type: QStyle.SubElement + SE_ToolButtonLayoutItem = ... # type: QStyle.SubElement + SE_FrameLayoutItem = ... # type: QStyle.SubElement + SE_GroupBoxLayoutItem = ... # type: QStyle.SubElement + SE_TabWidgetLayoutItem = ... # type: QStyle.SubElement + SE_ItemViewItemCheckIndicator = ... # type: QStyle.SubElement + SE_ItemViewItemDecoration = ... # type: QStyle.SubElement + SE_ItemViewItemText = ... # type: QStyle.SubElement + SE_ItemViewItemFocusRect = ... # type: QStyle.SubElement + SE_TabBarTabLeftButton = ... # type: QStyle.SubElement + SE_TabBarTabRightButton = ... # type: QStyle.SubElement + SE_TabBarTabText = ... # type: QStyle.SubElement + SE_ShapedFrameContents = ... # type: QStyle.SubElement + SE_ToolBarHandle = ... # type: QStyle.SubElement + SE_TabBarTearIndicatorLeft = ... # type: QStyle.SubElement + SE_TabBarScrollLeftButton = ... # type: QStyle.SubElement + SE_TabBarScrollRightButton = ... # type: QStyle.SubElement + SE_TabBarTearIndicatorRight = ... # type: QStyle.SubElement + SE_PushButtonBevel = ... # type: QStyle.SubElement + SE_CustomBase = ... # type: QStyle.SubElement + + class ControlElement(int): + CE_PushButton = ... # type: QStyle.ControlElement + CE_PushButtonBevel = ... # type: QStyle.ControlElement + CE_PushButtonLabel = ... # type: QStyle.ControlElement + CE_CheckBox = ... # type: QStyle.ControlElement + CE_CheckBoxLabel = ... # type: QStyle.ControlElement + CE_RadioButton = ... # type: QStyle.ControlElement + CE_RadioButtonLabel = ... # type: QStyle.ControlElement + CE_TabBarTab = ... # type: QStyle.ControlElement + CE_TabBarTabShape = ... # type: QStyle.ControlElement + CE_TabBarTabLabel = ... # type: QStyle.ControlElement + CE_ProgressBar = ... # type: QStyle.ControlElement + CE_ProgressBarGroove = ... # type: QStyle.ControlElement + CE_ProgressBarContents = ... # type: QStyle.ControlElement + CE_ProgressBarLabel = ... # type: QStyle.ControlElement + CE_MenuItem = ... # type: QStyle.ControlElement + CE_MenuScroller = ... # type: QStyle.ControlElement + CE_MenuVMargin = ... # type: QStyle.ControlElement + CE_MenuHMargin = ... # type: QStyle.ControlElement + CE_MenuTearoff = ... # type: QStyle.ControlElement + CE_MenuEmptyArea = ... # type: QStyle.ControlElement + CE_MenuBarItem = ... # type: QStyle.ControlElement + CE_MenuBarEmptyArea = ... # type: QStyle.ControlElement + CE_ToolButtonLabel = ... # type: QStyle.ControlElement + CE_Header = ... # type: QStyle.ControlElement + CE_HeaderSection = ... # type: QStyle.ControlElement + CE_HeaderLabel = ... # type: QStyle.ControlElement + CE_ToolBoxTab = ... # type: QStyle.ControlElement + CE_SizeGrip = ... # type: QStyle.ControlElement + CE_Splitter = ... # type: QStyle.ControlElement + CE_RubberBand = ... # type: QStyle.ControlElement + CE_DockWidgetTitle = ... # type: QStyle.ControlElement + CE_ScrollBarAddLine = ... # type: QStyle.ControlElement + CE_ScrollBarSubLine = ... # type: QStyle.ControlElement + CE_ScrollBarAddPage = ... # type: QStyle.ControlElement + CE_ScrollBarSubPage = ... # type: QStyle.ControlElement + CE_ScrollBarSlider = ... # type: QStyle.ControlElement + CE_ScrollBarFirst = ... # type: QStyle.ControlElement + CE_ScrollBarLast = ... # type: QStyle.ControlElement + CE_FocusFrame = ... # type: QStyle.ControlElement + CE_ComboBoxLabel = ... # type: QStyle.ControlElement + CE_ToolBar = ... # type: QStyle.ControlElement + CE_ToolBoxTabShape = ... # type: QStyle.ControlElement + CE_ToolBoxTabLabel = ... # type: QStyle.ControlElement + CE_HeaderEmptyArea = ... # type: QStyle.ControlElement + CE_ColumnViewGrip = ... # type: QStyle.ControlElement + CE_ItemViewItem = ... # type: QStyle.ControlElement + CE_ShapedFrame = ... # type: QStyle.ControlElement + CE_CustomBase = ... # type: QStyle.ControlElement + + class PrimitiveElement(int): + PE_Frame = ... # type: QStyle.PrimitiveElement + PE_FrameDefaultButton = ... # type: QStyle.PrimitiveElement + PE_FrameDockWidget = ... # type: QStyle.PrimitiveElement + PE_FrameFocusRect = ... # type: QStyle.PrimitiveElement + PE_FrameGroupBox = ... # type: QStyle.PrimitiveElement + PE_FrameLineEdit = ... # type: QStyle.PrimitiveElement + PE_FrameMenu = ... # type: QStyle.PrimitiveElement + PE_FrameStatusBar = ... # type: QStyle.PrimitiveElement + PE_FrameTabWidget = ... # type: QStyle.PrimitiveElement + PE_FrameWindow = ... # type: QStyle.PrimitiveElement + PE_FrameButtonBevel = ... # type: QStyle.PrimitiveElement + PE_FrameButtonTool = ... # type: QStyle.PrimitiveElement + PE_FrameTabBarBase = ... # type: QStyle.PrimitiveElement + PE_PanelButtonCommand = ... # type: QStyle.PrimitiveElement + PE_PanelButtonBevel = ... # type: QStyle.PrimitiveElement + PE_PanelButtonTool = ... # type: QStyle.PrimitiveElement + PE_PanelMenuBar = ... # type: QStyle.PrimitiveElement + PE_PanelToolBar = ... # type: QStyle.PrimitiveElement + PE_PanelLineEdit = ... # type: QStyle.PrimitiveElement + PE_IndicatorArrowDown = ... # type: QStyle.PrimitiveElement + PE_IndicatorArrowLeft = ... # type: QStyle.PrimitiveElement + PE_IndicatorArrowRight = ... # type: QStyle.PrimitiveElement + PE_IndicatorArrowUp = ... # type: QStyle.PrimitiveElement + PE_IndicatorBranch = ... # type: QStyle.PrimitiveElement + PE_IndicatorButtonDropDown = ... # type: QStyle.PrimitiveElement + PE_IndicatorViewItemCheck = ... # type: QStyle.PrimitiveElement + PE_IndicatorCheckBox = ... # type: QStyle.PrimitiveElement + PE_IndicatorDockWidgetResizeHandle = ... # type: QStyle.PrimitiveElement + PE_IndicatorHeaderArrow = ... # type: QStyle.PrimitiveElement + PE_IndicatorMenuCheckMark = ... # type: QStyle.PrimitiveElement + PE_IndicatorProgressChunk = ... # type: QStyle.PrimitiveElement + PE_IndicatorRadioButton = ... # type: QStyle.PrimitiveElement + PE_IndicatorSpinDown = ... # type: QStyle.PrimitiveElement + PE_IndicatorSpinMinus = ... # type: QStyle.PrimitiveElement + PE_IndicatorSpinPlus = ... # type: QStyle.PrimitiveElement + PE_IndicatorSpinUp = ... # type: QStyle.PrimitiveElement + PE_IndicatorToolBarHandle = ... # type: QStyle.PrimitiveElement + PE_IndicatorToolBarSeparator = ... # type: QStyle.PrimitiveElement + PE_PanelTipLabel = ... # type: QStyle.PrimitiveElement + PE_IndicatorTabTear = ... # type: QStyle.PrimitiveElement + PE_PanelScrollAreaCorner = ... # type: QStyle.PrimitiveElement + PE_Widget = ... # type: QStyle.PrimitiveElement + PE_IndicatorColumnViewArrow = ... # type: QStyle.PrimitiveElement + PE_FrameStatusBarItem = ... # type: QStyle.PrimitiveElement + PE_IndicatorItemViewItemCheck = ... # type: QStyle.PrimitiveElement + PE_IndicatorItemViewItemDrop = ... # type: QStyle.PrimitiveElement + PE_PanelItemViewItem = ... # type: QStyle.PrimitiveElement + PE_PanelItemViewRow = ... # type: QStyle.PrimitiveElement + PE_PanelStatusBar = ... # type: QStyle.PrimitiveElement + PE_IndicatorTabClose = ... # type: QStyle.PrimitiveElement + PE_PanelMenu = ... # type: QStyle.PrimitiveElement + PE_IndicatorTabTearLeft = ... # type: QStyle.PrimitiveElement + PE_IndicatorTabTearRight = ... # type: QStyle.PrimitiveElement + PE_CustomBase = ... # type: QStyle.PrimitiveElement + + class StateFlag(int): + State_None = ... # type: QStyle.StateFlag + State_Enabled = ... # type: QStyle.StateFlag + State_Raised = ... # type: QStyle.StateFlag + State_Sunken = ... # type: QStyle.StateFlag + State_Off = ... # type: QStyle.StateFlag + State_NoChange = ... # type: QStyle.StateFlag + State_On = ... # type: QStyle.StateFlag + State_DownArrow = ... # type: QStyle.StateFlag + State_Horizontal = ... # type: QStyle.StateFlag + State_HasFocus = ... # type: QStyle.StateFlag + State_Top = ... # type: QStyle.StateFlag + State_Bottom = ... # type: QStyle.StateFlag + State_FocusAtBorder = ... # type: QStyle.StateFlag + State_AutoRaise = ... # type: QStyle.StateFlag + State_MouseOver = ... # type: QStyle.StateFlag + State_UpArrow = ... # type: QStyle.StateFlag + State_Selected = ... # type: QStyle.StateFlag + State_Active = ... # type: QStyle.StateFlag + State_Open = ... # type: QStyle.StateFlag + State_Children = ... # type: QStyle.StateFlag + State_Item = ... # type: QStyle.StateFlag + State_Sibling = ... # type: QStyle.StateFlag + State_Editing = ... # type: QStyle.StateFlag + State_KeyboardFocusChange = ... # type: QStyle.StateFlag + State_ReadOnly = ... # type: QStyle.StateFlag + State_Window = ... # type: QStyle.StateFlag + State_Small = ... # type: QStyle.StateFlag + State_Mini = ... # type: QStyle.StateFlag + + class State(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyle.State', 'QStyle.StateFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyle.State') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyle.State': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class SubControls(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyle.SubControls', 'QStyle.SubControl']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyle.SubControls') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyle.SubControls': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self) -> None: ... + + def proxy(self) -> 'QStyle': ... + def combinedLayoutSpacing(self, controls1: typing.Union['QSizePolicy.ControlTypes', 'QSizePolicy.ControlType'], controls2: typing.Union['QSizePolicy.ControlTypes', 'QSizePolicy.ControlType'], orientation: QtCore.Qt.Orientation, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ... + def layoutSpacing(self, control1: 'QSizePolicy.ControlType', control2: 'QSizePolicy.ControlType', orientation: QtCore.Qt.Orientation, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ... + @staticmethod + def alignedRect(direction: QtCore.Qt.LayoutDirection, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag], size: QtCore.QSize, rectangle: QtCore.QRect) -> QtCore.QRect: ... + @staticmethod + def visualAlignment(direction: QtCore.Qt.LayoutDirection, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> QtCore.Qt.Alignment: ... + @staticmethod + def sliderValueFromPosition(min: int, max: int, position: int, span: int, upsideDown: bool = ...) -> int: ... + @staticmethod + def sliderPositionFromValue(min: int, max: int, logicalValue: int, span: int, upsideDown: bool = ...) -> int: ... + @staticmethod + def visualPos(direction: QtCore.Qt.LayoutDirection, boundingRect: QtCore.QRect, logicalPos: QtCore.QPoint) -> QtCore.QPoint: ... + @staticmethod + def visualRect(direction: QtCore.Qt.LayoutDirection, boundingRect: QtCore.QRect, logicalRect: QtCore.QRect) -> QtCore.QRect: ... + def generatedIconPixmap(self, iconMode: QtGui.QIcon.Mode, pixmap: QtGui.QPixmap, opt: 'QStyleOption') -> QtGui.QPixmap: ... + def standardIcon(self, standardIcon: 'QStyle.StandardPixmap', option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QIcon: ... + def standardPixmap(self, standardPixmap: 'QStyle.StandardPixmap', option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QPixmap: ... + def styleHint(self, stylehint: 'QStyle.StyleHint', option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ..., returnData: typing.Optional['QStyleHintReturn'] = ...) -> int: ... + def sizeFromContents(self, ct: 'QStyle.ContentsType', opt: 'QStyleOption', contentsSize: QtCore.QSize, widget: typing.Optional[QWidget] = ...) -> QtCore.QSize: ... + def pixelMetric(self, metric: 'QStyle.PixelMetric', option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ... + def subControlRect(self, cc: 'QStyle.ComplexControl', opt: 'QStyleOptionComplex', sc: 'QStyle.SubControl', widget: typing.Optional[QWidget] = ...) -> QtCore.QRect: ... + def hitTestComplexControl(self, cc: 'QStyle.ComplexControl', opt: 'QStyleOptionComplex', pt: QtCore.QPoint, widget: typing.Optional[QWidget] = ...) -> 'QStyle.SubControl': ... + def drawComplexControl(self, cc: 'QStyle.ComplexControl', opt: 'QStyleOptionComplex', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + def subElementRect(self, subElement: 'QStyle.SubElement', option: 'QStyleOption', widget: typing.Optional[QWidget] = ...) -> QtCore.QRect: ... + def drawControl(self, element: 'QStyle.ControlElement', opt: 'QStyleOption', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + def drawPrimitive(self, pe: 'QStyle.PrimitiveElement', opt: 'QStyleOption', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + def standardPalette(self) -> QtGui.QPalette: ... + def drawItemPixmap(self, painter: QtGui.QPainter, rect: QtCore.QRect, alignment: int, pixmap: QtGui.QPixmap) -> None: ... + def drawItemText(self, painter: QtGui.QPainter, rectangle: QtCore.QRect, alignment: int, palette: QtGui.QPalette, enabled: bool, text: str, textRole: QtGui.QPalette.ColorRole = ...) -> None: ... + def itemPixmapRect(self, r: QtCore.QRect, flags: int, pixmap: QtGui.QPixmap) -> QtCore.QRect: ... + def itemTextRect(self, fm: QtGui.QFontMetrics, r: QtCore.QRect, flags: int, enabled: bool, text: str) -> QtCore.QRect: ... + @typing.overload + def unpolish(self, a0: QWidget) -> None: ... + @typing.overload + def unpolish(self, a0: QApplication) -> None: ... + @typing.overload + def polish(self, a0: QWidget) -> None: ... + @typing.overload + def polish(self, a0: QApplication) -> None: ... + @typing.overload + def polish(self, a0: QtGui.QPalette) -> QtGui.QPalette: ... + + +class QCommonStyle(QStyle): + + def __init__(self) -> None: ... + + def layoutSpacing(self, control1: 'QSizePolicy.ControlType', control2: 'QSizePolicy.ControlType', orientation: QtCore.Qt.Orientation, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ... + def standardIcon(self, standardIcon: QStyle.StandardPixmap, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QIcon: ... + def generatedIconPixmap(self, iconMode: QtGui.QIcon.Mode, pixmap: QtGui.QPixmap, opt: 'QStyleOption') -> QtGui.QPixmap: ... + def standardPixmap(self, sp: QStyle.StandardPixmap, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QPixmap: ... + def styleHint(self, sh: QStyle.StyleHint, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ..., returnData: typing.Optional['QStyleHintReturn'] = ...) -> int: ... + def pixelMetric(self, m: QStyle.PixelMetric, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ... + def sizeFromContents(self, ct: QStyle.ContentsType, opt: 'QStyleOption', contentsSize: QtCore.QSize, widget: typing.Optional[QWidget] = ...) -> QtCore.QSize: ... + def subControlRect(self, cc: QStyle.ComplexControl, opt: 'QStyleOptionComplex', sc: QStyle.SubControl, widget: typing.Optional[QWidget] = ...) -> QtCore.QRect: ... + def hitTestComplexControl(self, cc: QStyle.ComplexControl, opt: 'QStyleOptionComplex', pt: QtCore.QPoint, widget: typing.Optional[QWidget] = ...) -> QStyle.SubControl: ... + def drawComplexControl(self, cc: QStyle.ComplexControl, opt: 'QStyleOptionComplex', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + def subElementRect(self, r: QStyle.SubElement, opt: 'QStyleOption', widget: typing.Optional[QWidget] = ...) -> QtCore.QRect: ... + def drawControl(self, element: QStyle.ControlElement, opt: 'QStyleOption', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + def drawPrimitive(self, pe: QStyle.PrimitiveElement, opt: 'QStyleOption', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def unpolish(self, widget: QWidget) -> None: ... + @typing.overload + def unpolish(self, application: QApplication) -> None: ... + @typing.overload + def polish(self, widget: QWidget) -> None: ... + @typing.overload + def polish(self, app: QApplication) -> None: ... + @typing.overload + def polish(self, a0: QtGui.QPalette) -> QtGui.QPalette: ... + + +class QCompleter(QtCore.QObject): + + class ModelSorting(int): + UnsortedModel = ... # type: QCompleter.ModelSorting + CaseSensitivelySortedModel = ... # type: QCompleter.ModelSorting + CaseInsensitivelySortedModel = ... # type: QCompleter.ModelSorting + + class CompletionMode(int): + PopupCompletion = ... # type: QCompleter.CompletionMode + UnfilteredPopupCompletion = ... # type: QCompleter.CompletionMode + InlineCompletion = ... # type: QCompleter.CompletionMode + + @typing.overload + def __init__(self, model: QtCore.QAbstractItemModel, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, list: typing.Iterable[str], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def filterMode(self) -> QtCore.Qt.MatchFlags: ... + def setFilterMode(self, filterMode: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag]) -> None: ... + def setMaxVisibleItems(self, maxItems: int) -> None: ... + def maxVisibleItems(self) -> int: ... + @typing.overload + def highlighted(self, text: str) -> None: ... + @typing.overload + def highlighted(self, index: QtCore.QModelIndex) -> None: ... + @typing.overload + def activated(self, text: str) -> None: ... + @typing.overload + def activated(self, index: QtCore.QModelIndex) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def eventFilter(self, o: QtCore.QObject, e: QtCore.QEvent) -> bool: ... + def setWrapAround(self, wrap: bool) -> None: ... + def setCompletionPrefix(self, prefix: str) -> None: ... + def complete(self, rect: QtCore.QRect = ...) -> None: ... + def wrapAround(self) -> bool: ... + def splitPath(self, path: str) -> typing.List[str]: ... + def pathFromIndex(self, index: QtCore.QModelIndex) -> str: ... + def completionPrefix(self) -> str: ... + def completionModel(self) -> QtCore.QAbstractItemModel: ... + def currentCompletion(self) -> str: ... + def currentIndex(self) -> QtCore.QModelIndex: ... + def currentRow(self) -> int: ... + def setCurrentRow(self, row: int) -> bool: ... + def completionCount(self) -> int: ... + def completionRole(self) -> int: ... + def setCompletionRole(self, role: int) -> None: ... + def completionColumn(self) -> int: ... + def setCompletionColumn(self, column: int) -> None: ... + def modelSorting(self) -> 'QCompleter.ModelSorting': ... + def setModelSorting(self, sorting: 'QCompleter.ModelSorting') -> None: ... + def caseSensitivity(self) -> QtCore.Qt.CaseSensitivity: ... + def setCaseSensitivity(self, caseSensitivity: QtCore.Qt.CaseSensitivity) -> None: ... + def setPopup(self, popup: QAbstractItemView) -> None: ... + def popup(self) -> QAbstractItemView: ... + def completionMode(self) -> 'QCompleter.CompletionMode': ... + def setCompletionMode(self, mode: 'QCompleter.CompletionMode') -> None: ... + def model(self) -> QtCore.QAbstractItemModel: ... + def setModel(self, c: QtCore.QAbstractItemModel) -> None: ... + def widget(self) -> QWidget: ... + def setWidget(self, widget: QWidget) -> None: ... + + +class QDataWidgetMapper(QtCore.QObject): + + class SubmitPolicy(int): + AutoSubmit = ... # type: QDataWidgetMapper.SubmitPolicy + ManualSubmit = ... # type: QDataWidgetMapper.SubmitPolicy + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def currentIndexChanged(self, index: int) -> None: ... + def toPrevious(self) -> None: ... + def toNext(self) -> None: ... + def toLast(self) -> None: ... + def toFirst(self) -> None: ... + def submit(self) -> bool: ... + def setCurrentModelIndex(self, index: QtCore.QModelIndex) -> None: ... + def setCurrentIndex(self, index: int) -> None: ... + def revert(self) -> None: ... + def currentIndex(self) -> int: ... + def clearMapping(self) -> None: ... + def mappedWidgetAt(self, section: int) -> QWidget: ... + def mappedSection(self, widget: QWidget) -> int: ... + def mappedPropertyName(self, widget: QWidget) -> QtCore.QByteArray: ... + def removeMapping(self, widget: QWidget) -> None: ... + @typing.overload + def addMapping(self, widget: QWidget, section: int) -> None: ... + @typing.overload + def addMapping(self, widget: QWidget, section: int, propertyName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def submitPolicy(self) -> 'QDataWidgetMapper.SubmitPolicy': ... + def setSubmitPolicy(self, policy: 'QDataWidgetMapper.SubmitPolicy') -> None: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + def setOrientation(self, aOrientation: QtCore.Qt.Orientation) -> None: ... + def rootIndex(self) -> QtCore.QModelIndex: ... + def setRootIndex(self, index: QtCore.QModelIndex) -> None: ... + def itemDelegate(self) -> QAbstractItemDelegate: ... + def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ... + def model(self) -> QtCore.QAbstractItemModel: ... + def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... + + +class QDateTimeEdit(QAbstractSpinBox): + + class Section(int): + NoSection = ... # type: QDateTimeEdit.Section + AmPmSection = ... # type: QDateTimeEdit.Section + MSecSection = ... # type: QDateTimeEdit.Section + SecondSection = ... # type: QDateTimeEdit.Section + MinuteSection = ... # type: QDateTimeEdit.Section + HourSection = ... # type: QDateTimeEdit.Section + DaySection = ... # type: QDateTimeEdit.Section + MonthSection = ... # type: QDateTimeEdit.Section + YearSection = ... # type: QDateTimeEdit.Section + TimeSections_Mask = ... # type: QDateTimeEdit.Section + DateSections_Mask = ... # type: QDateTimeEdit.Section + + class Sections(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDateTimeEdit.Sections', 'QDateTimeEdit.Section']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDateTimeEdit.Sections') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDateTimeEdit.Sections': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, datetime: typing.Union[QtCore.QDateTime, datetime.datetime], parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, date: typing.Union[QtCore.QDate, datetime.date], parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, time: typing.Union[QtCore.QTime, datetime.time], parent: typing.Optional[QWidget] = ...) -> None: ... + + def setCalendar(self, calendar: QtCore.QCalendar) -> None: ... + def calendar(self) -> QtCore.QCalendar: ... + def setTimeSpec(self, spec: QtCore.Qt.TimeSpec) -> None: ... + def timeSpec(self) -> QtCore.Qt.TimeSpec: ... + def setCalendarWidget(self, calendarWidget: QCalendarWidget) -> None: ... + def calendarWidget(self) -> QCalendarWidget: ... + def setDateTimeRange(self, min: typing.Union[QtCore.QDateTime, datetime.datetime], max: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def setMaximumDateTime(self, dt: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def clearMaximumDateTime(self) -> None: ... + def maximumDateTime(self) -> QtCore.QDateTime: ... + def setMinimumDateTime(self, dt: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def clearMinimumDateTime(self) -> None: ... + def minimumDateTime(self) -> QtCore.QDateTime: ... + def stepEnabled(self) -> QAbstractSpinBox.StepEnabled: ... + def textFromDateTime(self, dt: typing.Union[QtCore.QDateTime, datetime.datetime]) -> str: ... + def dateTimeFromText(self, text: str) -> QtCore.QDateTime: ... + def fixup(self, input: str) -> str: ... + def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ... + def paintEvent(self, event: QtGui.QPaintEvent) -> None: ... + def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... + def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... + def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... + def initStyleOption(self, option: 'QStyleOptionSpinBox') -> None: ... + def setTime(self, time: typing.Union[QtCore.QTime, datetime.time]) -> None: ... + def setDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def setDateTime(self, dateTime: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def dateChanged(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def timeChanged(self, date: typing.Union[QtCore.QTime, datetime.time]) -> None: ... + def dateTimeChanged(self, date: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def sectionCount(self) -> int: ... + def setCurrentSectionIndex(self, index: int) -> None: ... + def currentSectionIndex(self) -> int: ... + def sectionAt(self, index: int) -> 'QDateTimeEdit.Section': ... + def event(self, e: QtCore.QEvent) -> bool: ... + def stepBy(self, steps: int) -> None: ... + def clear(self) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def setSelectedSection(self, section: 'QDateTimeEdit.Section') -> None: ... + def setCalendarPopup(self, enable: bool) -> None: ... + def calendarPopup(self) -> bool: ... + def setDisplayFormat(self, format: str) -> None: ... + def displayFormat(self) -> str: ... + def sectionText(self, s: 'QDateTimeEdit.Section') -> str: ... + def setCurrentSection(self, section: 'QDateTimeEdit.Section') -> None: ... + def currentSection(self) -> 'QDateTimeEdit.Section': ... + def displayedSections(self) -> 'QDateTimeEdit.Sections': ... + def setTimeRange(self, min: typing.Union[QtCore.QTime, datetime.time], max: typing.Union[QtCore.QTime, datetime.time]) -> None: ... + def clearMaximumTime(self) -> None: ... + def setMaximumTime(self, max: typing.Union[QtCore.QTime, datetime.time]) -> None: ... + def maximumTime(self) -> QtCore.QTime: ... + def clearMinimumTime(self) -> None: ... + def setMinimumTime(self, min: typing.Union[QtCore.QTime, datetime.time]) -> None: ... + def minimumTime(self) -> QtCore.QTime: ... + def setDateRange(self, min: typing.Union[QtCore.QDate, datetime.date], max: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def clearMaximumDate(self) -> None: ... + def setMaximumDate(self, max: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def maximumDate(self) -> QtCore.QDate: ... + def clearMinimumDate(self) -> None: ... + def setMinimumDate(self, min: typing.Union[QtCore.QDate, datetime.date]) -> None: ... + def minimumDate(self) -> QtCore.QDate: ... + def time(self) -> QtCore.QTime: ... + def date(self) -> QtCore.QDate: ... + def dateTime(self) -> QtCore.QDateTime: ... + + +class QTimeEdit(QDateTimeEdit): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, time: typing.Union[QtCore.QTime, datetime.time], parent: typing.Optional[QWidget] = ...) -> None: ... + + +class QDateEdit(QDateTimeEdit): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, date: typing.Union[QtCore.QDate, datetime.date], parent: typing.Optional[QWidget] = ...) -> None: ... + + +class QDesktopWidget(QWidget): + + def __init__(self) -> None: ... + + def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... + def primaryScreenChanged(self) -> None: ... + def screenCountChanged(self, a0: int) -> None: ... + def workAreaResized(self, a0: int) -> None: ... + def resized(self, a0: int) -> None: ... + @typing.overload + def availableGeometry(self, screen: int = ...) -> QtCore.QRect: ... + @typing.overload + def availableGeometry(self, widget: QWidget) -> QtCore.QRect: ... + @typing.overload + def availableGeometry(self, point: QtCore.QPoint) -> QtCore.QRect: ... + @typing.overload + def screenGeometry(self, screen: int = ...) -> QtCore.QRect: ... + @typing.overload + def screenGeometry(self, widget: QWidget) -> QtCore.QRect: ... + @typing.overload + def screenGeometry(self, point: QtCore.QPoint) -> QtCore.QRect: ... + def screenCount(self) -> int: ... + def screen(self, screen: int = ...) -> QWidget: ... + @typing.overload + def screenNumber(self, widget: typing.Optional[QWidget] = ...) -> int: ... + @typing.overload + def screenNumber(self, a0: QtCore.QPoint) -> int: ... + def primaryScreen(self) -> int: ... + def isVirtualDesktop(self) -> bool: ... + + +class QDial(QAbstractSlider): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def sliderChange(self, change: QAbstractSlider.SliderChange) -> None: ... + def mouseMoveEvent(self, me: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, me: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, me: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, pe: QtGui.QPaintEvent) -> None: ... + def resizeEvent(self, re: QtGui.QResizeEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def initStyleOption(self, option: 'QStyleOptionSlider') -> None: ... + def setWrapping(self, on: bool) -> None: ... + def setNotchesVisible(self, visible: bool) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def notchesVisible(self) -> bool: ... + def notchTarget(self) -> float: ... + def setNotchTarget(self, target: float) -> None: ... + def notchSize(self) -> int: ... + def wrapping(self) -> bool: ... + + +class QDialogButtonBox(QWidget): + + class StandardButton(int): + NoButton = ... # type: QDialogButtonBox.StandardButton + Ok = ... # type: QDialogButtonBox.StandardButton + Save = ... # type: QDialogButtonBox.StandardButton + SaveAll = ... # type: QDialogButtonBox.StandardButton + Open = ... # type: QDialogButtonBox.StandardButton + Yes = ... # type: QDialogButtonBox.StandardButton + YesToAll = ... # type: QDialogButtonBox.StandardButton + No = ... # type: QDialogButtonBox.StandardButton + NoToAll = ... # type: QDialogButtonBox.StandardButton + Abort = ... # type: QDialogButtonBox.StandardButton + Retry = ... # type: QDialogButtonBox.StandardButton + Ignore = ... # type: QDialogButtonBox.StandardButton + Close = ... # type: QDialogButtonBox.StandardButton + Cancel = ... # type: QDialogButtonBox.StandardButton + Discard = ... # type: QDialogButtonBox.StandardButton + Help = ... # type: QDialogButtonBox.StandardButton + Apply = ... # type: QDialogButtonBox.StandardButton + Reset = ... # type: QDialogButtonBox.StandardButton + RestoreDefaults = ... # type: QDialogButtonBox.StandardButton + + class ButtonRole(int): + InvalidRole = ... # type: QDialogButtonBox.ButtonRole + AcceptRole = ... # type: QDialogButtonBox.ButtonRole + RejectRole = ... # type: QDialogButtonBox.ButtonRole + DestructiveRole = ... # type: QDialogButtonBox.ButtonRole + ActionRole = ... # type: QDialogButtonBox.ButtonRole + HelpRole = ... # type: QDialogButtonBox.ButtonRole + YesRole = ... # type: QDialogButtonBox.ButtonRole + NoRole = ... # type: QDialogButtonBox.ButtonRole + ResetRole = ... # type: QDialogButtonBox.ButtonRole + ApplyRole = ... # type: QDialogButtonBox.ButtonRole + + class ButtonLayout(int): + WinLayout = ... # type: QDialogButtonBox.ButtonLayout + MacLayout = ... # type: QDialogButtonBox.ButtonLayout + KdeLayout = ... # type: QDialogButtonBox.ButtonLayout + GnomeLayout = ... # type: QDialogButtonBox.ButtonLayout + AndroidLayout = ... # type: QDialogButtonBox.ButtonLayout + + class StandardButtons(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDialogButtonBox.StandardButtons', 'QDialogButtonBox.StandardButton']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDialogButtonBox.StandardButtons') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDialogButtonBox.StandardButtons': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, buttons: typing.Union['QDialogButtonBox.StandardButtons', 'QDialogButtonBox.StandardButton'], parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, buttons: typing.Union['QDialogButtonBox.StandardButtons', 'QDialogButtonBox.StandardButton'], orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ... + + def event(self, event: QtCore.QEvent) -> bool: ... + def changeEvent(self, event: QtCore.QEvent) -> None: ... + def rejected(self) -> None: ... + def helpRequested(self) -> None: ... + def clicked(self, button: QAbstractButton) -> None: ... + def accepted(self) -> None: ... + def centerButtons(self) -> bool: ... + def setCenterButtons(self, center: bool) -> None: ... + def button(self, which: 'QDialogButtonBox.StandardButton') -> QPushButton: ... + def standardButton(self, button: QAbstractButton) -> 'QDialogButtonBox.StandardButton': ... + def standardButtons(self) -> 'QDialogButtonBox.StandardButtons': ... + def setStandardButtons(self, buttons: typing.Union['QDialogButtonBox.StandardButtons', 'QDialogButtonBox.StandardButton']) -> None: ... + def buttonRole(self, button: QAbstractButton) -> 'QDialogButtonBox.ButtonRole': ... + def buttons(self) -> typing.List[QAbstractButton]: ... + def clear(self) -> None: ... + def removeButton(self, button: QAbstractButton) -> None: ... + @typing.overload + def addButton(self, button: QAbstractButton, role: 'QDialogButtonBox.ButtonRole') -> None: ... + @typing.overload + def addButton(self, text: str, role: 'QDialogButtonBox.ButtonRole') -> QPushButton: ... + @typing.overload + def addButton(self, button: 'QDialogButtonBox.StandardButton') -> QPushButton: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + def setOrientation(self, orientation: QtCore.Qt.Orientation) -> None: ... + + +class QDirModel(QtCore.QAbstractItemModel): + + class Roles(int): + FileIconRole = ... # type: QDirModel.Roles + FilePathRole = ... # type: QDirModel.Roles + FileNameRole = ... # type: QDirModel.Roles + + @typing.overload + def __init__(self, nameFilters: typing.Iterable[str], filters: typing.Union[QtCore.QDir.Filters, QtCore.QDir.Filter], sort: typing.Union[QtCore.QDir.SortFlags, QtCore.QDir.SortFlag], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def fileInfo(self, index: QtCore.QModelIndex) -> QtCore.QFileInfo: ... + def fileIcon(self, index: QtCore.QModelIndex) -> QtGui.QIcon: ... + def fileName(self, index: QtCore.QModelIndex) -> str: ... + def filePath(self, index: QtCore.QModelIndex) -> str: ... + def remove(self, index: QtCore.QModelIndex) -> bool: ... + def rmdir(self, index: QtCore.QModelIndex) -> bool: ... + def mkdir(self, parent: QtCore.QModelIndex, name: str) -> QtCore.QModelIndex: ... + def isDir(self, index: QtCore.QModelIndex) -> bool: ... + def refresh(self, parent: QtCore.QModelIndex = ...) -> None: ... + def lazyChildCount(self) -> bool: ... + def setLazyChildCount(self, enable: bool) -> None: ... + def isReadOnly(self) -> bool: ... + def setReadOnly(self, enable: bool) -> None: ... + def resolveSymlinks(self) -> bool: ... + def setResolveSymlinks(self, enable: bool) -> None: ... + def sorting(self) -> QtCore.QDir.SortFlags: ... + def setSorting(self, sort: typing.Union[QtCore.QDir.SortFlags, QtCore.QDir.SortFlag]) -> None: ... + def filter(self) -> QtCore.QDir.Filters: ... + def setFilter(self, filters: typing.Union[QtCore.QDir.Filters, QtCore.QDir.Filter]) -> None: ... + def nameFilters(self) -> typing.List[str]: ... + def setNameFilters(self, filters: typing.Iterable[str]) -> None: ... + def iconProvider(self) -> 'QFileIconProvider': ... + def setIconProvider(self, provider: 'QFileIconProvider') -> None: ... + def supportedDropActions(self) -> QtCore.Qt.DropActions: ... + def dropMimeData(self, data: QtCore.QMimeData, action: QtCore.Qt.DropAction, row: int, column: int, parent: QtCore.QModelIndex) -> bool: ... + def mimeData(self, indexes: typing.Iterable[QtCore.QModelIndex]) -> QtCore.QMimeData: ... + def mimeTypes(self) -> typing.List[str]: ... + def sort(self, column: int, order: QtCore.Qt.SortOrder = ...) -> None: ... + def flags(self, index: QtCore.QModelIndex) -> QtCore.Qt.ItemFlags: ... + def hasChildren(self, parent: QtCore.QModelIndex = ...) -> bool: ... + def headerData(self, section: int, orientation: QtCore.Qt.Orientation, role: int = ...) -> typing.Any: ... + def setData(self, index: QtCore.QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, index: QtCore.QModelIndex, role: int = ...) -> typing.Any: ... + def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + @typing.overload + def parent(self, child: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + @typing.overload + def parent(self) -> QtCore.QObject: ... + @typing.overload + def index(self, row: int, column: int, parent: QtCore.QModelIndex = ...) -> QtCore.QModelIndex: ... + @typing.overload + def index(self, path: str, column: int = ...) -> QtCore.QModelIndex: ... + + +class QDockWidget(QWidget): + + class DockWidgetFeature(int): + DockWidgetClosable = ... # type: QDockWidget.DockWidgetFeature + DockWidgetMovable = ... # type: QDockWidget.DockWidgetFeature + DockWidgetFloatable = ... # type: QDockWidget.DockWidgetFeature + DockWidgetVerticalTitleBar = ... # type: QDockWidget.DockWidgetFeature + AllDockWidgetFeatures = ... # type: QDockWidget.DockWidgetFeature + NoDockWidgetFeatures = ... # type: QDockWidget.DockWidgetFeature + + class DockWidgetFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QDockWidget.DockWidgetFeatures', 'QDockWidget.DockWidgetFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QDockWidget.DockWidgetFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QDockWidget.DockWidgetFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, title: str, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def event(self, event: QtCore.QEvent) -> bool: ... + def paintEvent(self, event: QtGui.QPaintEvent) -> None: ... + def closeEvent(self, event: QtGui.QCloseEvent) -> None: ... + def changeEvent(self, event: QtCore.QEvent) -> None: ... + def initStyleOption(self, option: 'QStyleOptionDockWidget') -> None: ... + def visibilityChanged(self, visible: bool) -> None: ... + def dockLocationChanged(self, area: QtCore.Qt.DockWidgetArea) -> None: ... + def allowedAreasChanged(self, allowedAreas: typing.Union[QtCore.Qt.DockWidgetAreas, QtCore.Qt.DockWidgetArea]) -> None: ... + def topLevelChanged(self, topLevel: bool) -> None: ... + def featuresChanged(self, features: typing.Union['QDockWidget.DockWidgetFeatures', 'QDockWidget.DockWidgetFeature']) -> None: ... + def titleBarWidget(self) -> QWidget: ... + def setTitleBarWidget(self, widget: QWidget) -> None: ... + def toggleViewAction(self) -> QAction: ... + def isAreaAllowed(self, area: QtCore.Qt.DockWidgetArea) -> bool: ... + def allowedAreas(self) -> QtCore.Qt.DockWidgetAreas: ... + def setAllowedAreas(self, areas: typing.Union[QtCore.Qt.DockWidgetAreas, QtCore.Qt.DockWidgetArea]) -> None: ... + def isFloating(self) -> bool: ... + def setFloating(self, floating: bool) -> None: ... + def features(self) -> 'QDockWidget.DockWidgetFeatures': ... + def setFeatures(self, features: typing.Union['QDockWidget.DockWidgetFeatures', 'QDockWidget.DockWidgetFeature']) -> None: ... + def setWidget(self, widget: QWidget) -> None: ... + def widget(self) -> QWidget: ... + + +class QErrorMessage(QDialog): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def done(self, a0: int) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + @typing.overload + def showMessage(self, message: str) -> None: ... + @typing.overload + def showMessage(self, message: str, type: str) -> None: ... + @staticmethod + def qtHandler() -> 'QErrorMessage': ... + + +class QFileDialog(QDialog): + + class Option(int): + ShowDirsOnly = ... # type: QFileDialog.Option + DontResolveSymlinks = ... # type: QFileDialog.Option + DontConfirmOverwrite = ... # type: QFileDialog.Option + DontUseSheet = ... # type: QFileDialog.Option + DontUseNativeDialog = ... # type: QFileDialog.Option + ReadOnly = ... # type: QFileDialog.Option + HideNameFilterDetails = ... # type: QFileDialog.Option + DontUseCustomDirectoryIcons = ... # type: QFileDialog.Option + + class DialogLabel(int): + LookIn = ... # type: QFileDialog.DialogLabel + FileName = ... # type: QFileDialog.DialogLabel + FileType = ... # type: QFileDialog.DialogLabel + Accept = ... # type: QFileDialog.DialogLabel + Reject = ... # type: QFileDialog.DialogLabel + + class AcceptMode(int): + AcceptOpen = ... # type: QFileDialog.AcceptMode + AcceptSave = ... # type: QFileDialog.AcceptMode + + class FileMode(int): + AnyFile = ... # type: QFileDialog.FileMode + ExistingFile = ... # type: QFileDialog.FileMode + Directory = ... # type: QFileDialog.FileMode + ExistingFiles = ... # type: QFileDialog.FileMode + DirectoryOnly = ... # type: QFileDialog.FileMode + + class ViewMode(int): + Detail = ... # type: QFileDialog.ViewMode + List = ... # type: QFileDialog.ViewMode + + class Options(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QFileDialog.Options', 'QFileDialog.Option']) -> None: ... + @typing.overload + def __init__(self, a0: 'QFileDialog.Options') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QFileDialog.Options': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: QWidget, f: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ...) -> None: ... + + @staticmethod + def saveFileContent(fileContent: typing.Union[QtCore.QByteArray, bytes, bytearray], fileNameHint: str = ...) -> None: ... + def selectedMimeTypeFilter(self) -> str: ... + def supportedSchemes(self) -> typing.List[str]: ... + def setSupportedSchemes(self, schemes: typing.Iterable[str]) -> None: ... + @staticmethod + def getSaveFileUrl(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: QtCore.QUrl = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ..., supportedSchemes: typing.Iterable[str] = ...) -> typing.Tuple[QtCore.QUrl, str]: ... + @staticmethod + def getOpenFileUrls(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: QtCore.QUrl = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ..., supportedSchemes: typing.Iterable[str] = ...) -> typing.Tuple[typing.List[QtCore.QUrl], str]: ... + @staticmethod + def getOpenFileUrl(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: QtCore.QUrl = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ..., supportedSchemes: typing.Iterable[str] = ...) -> typing.Tuple[QtCore.QUrl, str]: ... + def directoryUrlEntered(self, directory: QtCore.QUrl) -> None: ... + def currentUrlChanged(self, url: QtCore.QUrl) -> None: ... + def urlsSelected(self, urls: typing.Iterable[QtCore.QUrl]) -> None: ... + def urlSelected(self, url: QtCore.QUrl) -> None: ... + def selectMimeTypeFilter(self, filter: str) -> None: ... + def mimeTypeFilters(self) -> typing.List[str]: ... + def setMimeTypeFilters(self, filters: typing.Iterable[str]) -> None: ... + def selectedUrls(self) -> typing.List[QtCore.QUrl]: ... + def selectUrl(self, url: QtCore.QUrl) -> None: ... + def directoryUrl(self) -> QtCore.QUrl: ... + def setDirectoryUrl(self, directory: QtCore.QUrl) -> None: ... + def setVisible(self, visible: bool) -> None: ... + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def options(self) -> 'QFileDialog.Options': ... + def setOptions(self, options: typing.Union['QFileDialog.Options', 'QFileDialog.Option']) -> None: ... + def testOption(self, option: 'QFileDialog.Option') -> bool: ... + def setOption(self, option: 'QFileDialog.Option', on: bool = ...) -> None: ... + def setFilter(self, filters: typing.Union[QtCore.QDir.Filters, QtCore.QDir.Filter]) -> None: ... + def filter(self) -> QtCore.QDir.Filters: ... + def selectedNameFilter(self) -> str: ... + def selectNameFilter(self, filter: str) -> None: ... + def nameFilters(self) -> typing.List[str]: ... + def setNameFilters(self, filters: typing.Iterable[str]) -> None: ... + def setNameFilter(self, filter: str) -> None: ... + def proxyModel(self) -> QtCore.QAbstractProxyModel: ... + def setProxyModel(self, model: QtCore.QAbstractProxyModel) -> None: ... + def restoreState(self, state: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def saveState(self) -> QtCore.QByteArray: ... + def sidebarUrls(self) -> typing.List[QtCore.QUrl]: ... + def setSidebarUrls(self, urls: typing.Iterable[QtCore.QUrl]) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + def accept(self) -> None: ... + def done(self, result: int) -> None: ... + @staticmethod + def getSaveFileName(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ...) -> typing.Tuple[str, str]: ... + @staticmethod + def getOpenFileNames(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ...) -> typing.Tuple[typing.List[str], str]: ... + @staticmethod + def getOpenFileName(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ...) -> typing.Tuple[str, str]: ... + @staticmethod + def getExistingDirectoryUrl(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: QtCore.QUrl = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ..., supportedSchemes: typing.Iterable[str] = ...) -> QtCore.QUrl: ... + @staticmethod + def getExistingDirectory(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ...) -> str: ... + def fileSelected(self, file: str) -> None: ... + def filterSelected(self, filter: str) -> None: ... + def filesSelected(self, files: typing.Iterable[str]) -> None: ... + def directoryEntered(self, directory: str) -> None: ... + def currentChanged(self, path: str) -> None: ... + def labelText(self, label: 'QFileDialog.DialogLabel') -> str: ... + def setLabelText(self, label: 'QFileDialog.DialogLabel', text: str) -> None: ... + def iconProvider(self) -> 'QFileIconProvider': ... + def setIconProvider(self, provider: 'QFileIconProvider') -> None: ... + def itemDelegate(self) -> QAbstractItemDelegate: ... + def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ... + def history(self) -> typing.List[str]: ... + def setHistory(self, paths: typing.Iterable[str]) -> None: ... + def defaultSuffix(self) -> str: ... + def setDefaultSuffix(self, suffix: str) -> None: ... + def acceptMode(self) -> 'QFileDialog.AcceptMode': ... + def setAcceptMode(self, mode: 'QFileDialog.AcceptMode') -> None: ... + def fileMode(self) -> 'QFileDialog.FileMode': ... + def setFileMode(self, mode: 'QFileDialog.FileMode') -> None: ... + def viewMode(self) -> 'QFileDialog.ViewMode': ... + def setViewMode(self, mode: 'QFileDialog.ViewMode') -> None: ... + def selectedFiles(self) -> typing.List[str]: ... + def selectFile(self, filename: str) -> None: ... + def directory(self) -> QtCore.QDir: ... + @typing.overload + def setDirectory(self, directory: str) -> None: ... + @typing.overload + def setDirectory(self, adirectory: QtCore.QDir) -> None: ... + + +class QFileIconProvider(sip.simplewrapper): + + class Option(int): + DontUseCustomDirectoryIcons = ... # type: QFileIconProvider.Option + + class IconType(int): + Computer = ... # type: QFileIconProvider.IconType + Desktop = ... # type: QFileIconProvider.IconType + Trashcan = ... # type: QFileIconProvider.IconType + Network = ... # type: QFileIconProvider.IconType + Drive = ... # type: QFileIconProvider.IconType + Folder = ... # type: QFileIconProvider.IconType + File = ... # type: QFileIconProvider.IconType + + class Options(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QFileIconProvider.Options', 'QFileIconProvider.Option']) -> None: ... + @typing.overload + def __init__(self, a0: 'QFileIconProvider.Options') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QFileIconProvider.Options': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self) -> None: ... + + def options(self) -> 'QFileIconProvider.Options': ... + def setOptions(self, options: typing.Union['QFileIconProvider.Options', 'QFileIconProvider.Option']) -> None: ... + def type(self, info: QtCore.QFileInfo) -> str: ... + @typing.overload + def icon(self, type: 'QFileIconProvider.IconType') -> QtGui.QIcon: ... + @typing.overload + def icon(self, info: QtCore.QFileInfo) -> QtGui.QIcon: ... + + +class QFileSystemModel(QtCore.QAbstractItemModel): + + class Option(int): + DontWatchForChanges = ... # type: QFileSystemModel.Option + DontResolveSymlinks = ... # type: QFileSystemModel.Option + DontUseCustomDirectoryIcons = ... # type: QFileSystemModel.Option + + class Roles(int): + FileIconRole = ... # type: QFileSystemModel.Roles + FilePathRole = ... # type: QFileSystemModel.Roles + FileNameRole = ... # type: QFileSystemModel.Roles + FilePermissions = ... # type: QFileSystemModel.Roles + + class Options(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QFileSystemModel.Options', 'QFileSystemModel.Option']) -> None: ... + @typing.overload + def __init__(self, a0: 'QFileSystemModel.Options') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QFileSystemModel.Options': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def options(self) -> 'QFileSystemModel.Options': ... + def setOptions(self, options: typing.Union['QFileSystemModel.Options', 'QFileSystemModel.Option']) -> None: ... + def testOption(self, option: 'QFileSystemModel.Option') -> bool: ... + def setOption(self, option: 'QFileSystemModel.Option', on: bool = ...) -> None: ... + def sibling(self, row: int, column: int, idx: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + def timerEvent(self, event: QtCore.QTimerEvent) -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def directoryLoaded(self, path: str) -> None: ... + def rootPathChanged(self, newPath: str) -> None: ... + def fileRenamed(self, path: str, oldName: str, newName: str) -> None: ... + def remove(self, index: QtCore.QModelIndex) -> bool: ... + def fileInfo(self, aindex: QtCore.QModelIndex) -> QtCore.QFileInfo: ... + def fileIcon(self, aindex: QtCore.QModelIndex) -> QtGui.QIcon: ... + def fileName(self, aindex: QtCore.QModelIndex) -> str: ... + def rmdir(self, index: QtCore.QModelIndex) -> bool: ... + def permissions(self, index: QtCore.QModelIndex) -> QtCore.QFileDevice.Permissions: ... + def mkdir(self, parent: QtCore.QModelIndex, name: str) -> QtCore.QModelIndex: ... + def lastModified(self, index: QtCore.QModelIndex) -> QtCore.QDateTime: ... + def type(self, index: QtCore.QModelIndex) -> str: ... + def size(self, index: QtCore.QModelIndex) -> int: ... + def isDir(self, index: QtCore.QModelIndex) -> bool: ... + def filePath(self, index: QtCore.QModelIndex) -> str: ... + def nameFilters(self) -> typing.List[str]: ... + def setNameFilters(self, filters: typing.Iterable[str]) -> None: ... + def nameFilterDisables(self) -> bool: ... + def setNameFilterDisables(self, enable: bool) -> None: ... + def isReadOnly(self) -> bool: ... + def setReadOnly(self, enable: bool) -> None: ... + def resolveSymlinks(self) -> bool: ... + def setResolveSymlinks(self, enable: bool) -> None: ... + def filter(self) -> QtCore.QDir.Filters: ... + def setFilter(self, filters: typing.Union[QtCore.QDir.Filters, QtCore.QDir.Filter]) -> None: ... + def iconProvider(self) -> QFileIconProvider: ... + def setIconProvider(self, provider: QFileIconProvider) -> None: ... + def rootDirectory(self) -> QtCore.QDir: ... + def rootPath(self) -> str: ... + def setRootPath(self, path: str) -> QtCore.QModelIndex: ... + def supportedDropActions(self) -> QtCore.Qt.DropActions: ... + def dropMimeData(self, data: QtCore.QMimeData, action: QtCore.Qt.DropAction, row: int, column: int, parent: QtCore.QModelIndex) -> bool: ... + def mimeData(self, indexes: typing.Iterable[QtCore.QModelIndex]) -> QtCore.QMimeData: ... + def mimeTypes(self) -> typing.List[str]: ... + def sort(self, column: int, order: QtCore.Qt.SortOrder = ...) -> None: ... + def flags(self, index: QtCore.QModelIndex) -> QtCore.Qt.ItemFlags: ... + def headerData(self, section: int, orientation: QtCore.Qt.Orientation, role: int = ...) -> typing.Any: ... + def setData(self, index: QtCore.QModelIndex, value: typing.Any, role: int = ...) -> bool: ... + def data(self, index: QtCore.QModelIndex, role: int = ...) -> typing.Any: ... + def myComputer(self, role: int = ...) -> typing.Any: ... + def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... + def fetchMore(self, parent: QtCore.QModelIndex) -> None: ... + def canFetchMore(self, parent: QtCore.QModelIndex) -> bool: ... + def hasChildren(self, parent: QtCore.QModelIndex = ...) -> bool: ... + def parent(self, child: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + @typing.overload + def index(self, row: int, column: int, parent: QtCore.QModelIndex = ...) -> QtCore.QModelIndex: ... + @typing.overload + def index(self, path: str, column: int = ...) -> QtCore.QModelIndex: ... + + +class QFocusFrame(QWidget): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + def initStyleOption(self, option: 'QStyleOption') -> None: ... + def widget(self) -> QWidget: ... + def setWidget(self, widget: QWidget) -> None: ... + + +class QFontComboBox(QComboBox): + + class FontFilter(int): + AllFonts = ... # type: QFontComboBox.FontFilter + ScalableFonts = ... # type: QFontComboBox.FontFilter + NonScalableFonts = ... # type: QFontComboBox.FontFilter + MonospacedFonts = ... # type: QFontComboBox.FontFilter + ProportionalFonts = ... # type: QFontComboBox.FontFilter + + class FontFilters(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QFontComboBox.FontFilters', 'QFontComboBox.FontFilter']) -> None: ... + @typing.overload + def __init__(self, a0: 'QFontComboBox.FontFilters') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QFontComboBox.FontFilters': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def event(self, e: QtCore.QEvent) -> bool: ... + def currentFontChanged(self, f: QtGui.QFont) -> None: ... + def setCurrentFont(self, f: QtGui.QFont) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def currentFont(self) -> QtGui.QFont: ... + def setFontFilters(self, filters: typing.Union['QFontComboBox.FontFilters', 'QFontComboBox.FontFilter']) -> None: ... + def writingSystem(self) -> QtGui.QFontDatabase.WritingSystem: ... + def setWritingSystem(self, a0: QtGui.QFontDatabase.WritingSystem) -> None: ... + def fontFilters(self) -> 'QFontComboBox.FontFilters': ... + + +class QFontDialog(QDialog): + + class FontDialogOption(int): + NoButtons = ... # type: QFontDialog.FontDialogOption + DontUseNativeDialog = ... # type: QFontDialog.FontDialogOption + ScalableFonts = ... # type: QFontDialog.FontDialogOption + NonScalableFonts = ... # type: QFontDialog.FontDialogOption + MonospacedFonts = ... # type: QFontDialog.FontDialogOption + ProportionalFonts = ... # type: QFontDialog.FontDialogOption + + class FontDialogOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QFontDialog.FontDialogOptions', 'QFontDialog.FontDialogOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QFontDialog.FontDialogOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QFontDialog.FontDialogOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, initial: QtGui.QFont, parent: typing.Optional[QWidget] = ...) -> None: ... + + def fontSelected(self, font: QtGui.QFont) -> None: ... + def currentFontChanged(self, font: QtGui.QFont) -> None: ... + def setVisible(self, visible: bool) -> None: ... + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def options(self) -> 'QFontDialog.FontDialogOptions': ... + def setOptions(self, options: typing.Union['QFontDialog.FontDialogOptions', 'QFontDialog.FontDialogOption']) -> None: ... + def testOption(self, option: 'QFontDialog.FontDialogOption') -> bool: ... + def setOption(self, option: 'QFontDialog.FontDialogOption', on: bool = ...) -> None: ... + def selectedFont(self) -> QtGui.QFont: ... + def currentFont(self) -> QtGui.QFont: ... + def setCurrentFont(self, font: QtGui.QFont) -> None: ... + def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def done(self, result: int) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + @typing.overload + @staticmethod + def getFont(initial: QtGui.QFont, parent: typing.Optional[QWidget] = ..., caption: str = ..., options: typing.Union['QFontDialog.FontDialogOptions', 'QFontDialog.FontDialogOption'] = ...) -> typing.Tuple[QtGui.QFont, bool]: ... + @typing.overload + @staticmethod + def getFont(parent: typing.Optional[QWidget] = ...) -> typing.Tuple[QtGui.QFont, bool]: ... + + +class QFormLayout(QLayout): + + class ItemRole(int): + LabelRole = ... # type: QFormLayout.ItemRole + FieldRole = ... # type: QFormLayout.ItemRole + SpanningRole = ... # type: QFormLayout.ItemRole + + class RowWrapPolicy(int): + DontWrapRows = ... # type: QFormLayout.RowWrapPolicy + WrapLongRows = ... # type: QFormLayout.RowWrapPolicy + WrapAllRows = ... # type: QFormLayout.RowWrapPolicy + + class FieldGrowthPolicy(int): + FieldsStayAtSizeHint = ... # type: QFormLayout.FieldGrowthPolicy + ExpandingFieldsGrow = ... # type: QFormLayout.FieldGrowthPolicy + AllNonFixedFieldsGrow = ... # type: QFormLayout.FieldGrowthPolicy + + class TakeRowResult(sip.simplewrapper): + + fieldItem = ... # type: QLayoutItem + labelItem = ... # type: QLayoutItem + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QFormLayout.TakeRowResult') -> None: ... + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + @typing.overload + def takeRow(self, row: int) -> 'QFormLayout.TakeRowResult': ... + @typing.overload + def takeRow(self, widget: QWidget) -> 'QFormLayout.TakeRowResult': ... + @typing.overload + def takeRow(self, layout: QLayout) -> 'QFormLayout.TakeRowResult': ... + @typing.overload + def removeRow(self, row: int) -> None: ... + @typing.overload + def removeRow(self, widget: QWidget) -> None: ... + @typing.overload + def removeRow(self, layout: QLayout) -> None: ... + def rowCount(self) -> int: ... + def count(self) -> int: ... + def expandingDirections(self) -> QtCore.Qt.Orientations: ... + def heightForWidth(self, width: int) -> int: ... + def hasHeightForWidth(self) -> bool: ... + def invalidate(self) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def setGeometry(self, rect: QtCore.QRect) -> None: ... + def takeAt(self, index: int) -> QLayoutItem: ... + def addItem(self, item: QLayoutItem) -> None: ... + @typing.overload + def labelForField(self, field: QWidget) -> QWidget: ... + @typing.overload + def labelForField(self, field: QLayout) -> QWidget: ... + def getLayoutPosition(self, layout: QLayout) -> typing.Tuple[int, 'QFormLayout.ItemRole']: ... + def getWidgetPosition(self, widget: QWidget) -> typing.Tuple[int, 'QFormLayout.ItemRole']: ... + def getItemPosition(self, index: int) -> typing.Tuple[int, 'QFormLayout.ItemRole']: ... + @typing.overload + def itemAt(self, row: int, role: 'QFormLayout.ItemRole') -> QLayoutItem: ... + @typing.overload + def itemAt(self, index: int) -> QLayoutItem: ... + def setLayout(self, row: int, role: 'QFormLayout.ItemRole', layout: QLayout) -> None: ... + def setWidget(self, row: int, role: 'QFormLayout.ItemRole', widget: QWidget) -> None: ... + def setItem(self, row: int, role: 'QFormLayout.ItemRole', item: QLayoutItem) -> None: ... + @typing.overload + def insertRow(self, row: int, label: QWidget, field: QWidget) -> None: ... + @typing.overload + def insertRow(self, row: int, label: QWidget, field: QLayout) -> None: ... + @typing.overload + def insertRow(self, row: int, labelText: str, field: QWidget) -> None: ... + @typing.overload + def insertRow(self, row: int, labelText: str, field: QLayout) -> None: ... + @typing.overload + def insertRow(self, row: int, widget: QWidget) -> None: ... + @typing.overload + def insertRow(self, row: int, layout: QLayout) -> None: ... + @typing.overload + def addRow(self, label: QWidget, field: QWidget) -> None: ... + @typing.overload + def addRow(self, label: QWidget, field: QLayout) -> None: ... + @typing.overload + def addRow(self, labelText: str, field: QWidget) -> None: ... + @typing.overload + def addRow(self, labelText: str, field: QLayout) -> None: ... + @typing.overload + def addRow(self, widget: QWidget) -> None: ... + @typing.overload + def addRow(self, layout: QLayout) -> None: ... + def setSpacing(self, a0: int) -> None: ... + def spacing(self) -> int: ... + def verticalSpacing(self) -> int: ... + def setVerticalSpacing(self, spacing: int) -> None: ... + def horizontalSpacing(self) -> int: ... + def setHorizontalSpacing(self, spacing: int) -> None: ... + def formAlignment(self) -> QtCore.Qt.Alignment: ... + def setFormAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def labelAlignment(self) -> QtCore.Qt.Alignment: ... + def setLabelAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def rowWrapPolicy(self) -> 'QFormLayout.RowWrapPolicy': ... + def setRowWrapPolicy(self, policy: 'QFormLayout.RowWrapPolicy') -> None: ... + def fieldGrowthPolicy(self) -> 'QFormLayout.FieldGrowthPolicy': ... + def setFieldGrowthPolicy(self, policy: 'QFormLayout.FieldGrowthPolicy') -> None: ... + + +class QGesture(QtCore.QObject): + + class GestureCancelPolicy(int): + CancelNone = ... # type: QGesture.GestureCancelPolicy + CancelAllInContext = ... # type: QGesture.GestureCancelPolicy + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def gestureCancelPolicy(self) -> 'QGesture.GestureCancelPolicy': ... + def setGestureCancelPolicy(self, policy: 'QGesture.GestureCancelPolicy') -> None: ... + def unsetHotSpot(self) -> None: ... + def hasHotSpot(self) -> bool: ... + def setHotSpot(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def hotSpot(self) -> QtCore.QPointF: ... + def state(self) -> QtCore.Qt.GestureState: ... + def gestureType(self) -> QtCore.Qt.GestureType: ... + + +class QPanGesture(QGesture): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setAcceleration(self, value: float) -> None: ... + def setOffset(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def setLastOffset(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def acceleration(self) -> float: ... + def delta(self) -> QtCore.QPointF: ... + def offset(self) -> QtCore.QPointF: ... + def lastOffset(self) -> QtCore.QPointF: ... + + +class QPinchGesture(QGesture): + + class ChangeFlag(int): + ScaleFactorChanged = ... # type: QPinchGesture.ChangeFlag + RotationAngleChanged = ... # type: QPinchGesture.ChangeFlag + CenterPointChanged = ... # type: QPinchGesture.ChangeFlag + + class ChangeFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QPinchGesture.ChangeFlags', 'QPinchGesture.ChangeFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QPinchGesture.ChangeFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QPinchGesture.ChangeFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setRotationAngle(self, value: float) -> None: ... + def setLastRotationAngle(self, value: float) -> None: ... + def setTotalRotationAngle(self, value: float) -> None: ... + def rotationAngle(self) -> float: ... + def lastRotationAngle(self) -> float: ... + def totalRotationAngle(self) -> float: ... + def setScaleFactor(self, value: float) -> None: ... + def setLastScaleFactor(self, value: float) -> None: ... + def setTotalScaleFactor(self, value: float) -> None: ... + def scaleFactor(self) -> float: ... + def lastScaleFactor(self) -> float: ... + def totalScaleFactor(self) -> float: ... + def setCenterPoint(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def setLastCenterPoint(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def setStartCenterPoint(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def centerPoint(self) -> QtCore.QPointF: ... + def lastCenterPoint(self) -> QtCore.QPointF: ... + def startCenterPoint(self) -> QtCore.QPointF: ... + def setChangeFlags(self, value: typing.Union['QPinchGesture.ChangeFlags', 'QPinchGesture.ChangeFlag']) -> None: ... + def changeFlags(self) -> 'QPinchGesture.ChangeFlags': ... + def setTotalChangeFlags(self, value: typing.Union['QPinchGesture.ChangeFlags', 'QPinchGesture.ChangeFlag']) -> None: ... + def totalChangeFlags(self) -> 'QPinchGesture.ChangeFlags': ... + + +class QSwipeGesture(QGesture): + + class SwipeDirection(int): + NoDirection = ... # type: QSwipeGesture.SwipeDirection + Left = ... # type: QSwipeGesture.SwipeDirection + Right = ... # type: QSwipeGesture.SwipeDirection + Up = ... # type: QSwipeGesture.SwipeDirection + Down = ... # type: QSwipeGesture.SwipeDirection + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setSwipeAngle(self, value: float) -> None: ... + def swipeAngle(self) -> float: ... + def verticalDirection(self) -> 'QSwipeGesture.SwipeDirection': ... + def horizontalDirection(self) -> 'QSwipeGesture.SwipeDirection': ... + + +class QTapGesture(QGesture): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setPosition(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def position(self) -> QtCore.QPointF: ... + + +class QTapAndHoldGesture(QGesture): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + @staticmethod + def timeout() -> int: ... + @staticmethod + def setTimeout(msecs: int) -> None: ... + def setPosition(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def position(self) -> QtCore.QPointF: ... + + +class QGestureEvent(QtCore.QEvent): + + @typing.overload + def __init__(self, gestures: typing.Iterable[QGesture]) -> None: ... + @typing.overload + def __init__(self, a0: 'QGestureEvent') -> None: ... + + def mapToGraphicsScene(self, gesturePoint: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + def widget(self) -> QWidget: ... + @typing.overload + def ignore(self) -> None: ... + @typing.overload + def ignore(self, a0: QGesture) -> None: ... + @typing.overload + def ignore(self, a0: QtCore.Qt.GestureType) -> None: ... + @typing.overload + def accept(self) -> None: ... + @typing.overload + def accept(self, a0: QGesture) -> None: ... + @typing.overload + def accept(self, a0: QtCore.Qt.GestureType) -> None: ... + @typing.overload + def isAccepted(self) -> bool: ... + @typing.overload + def isAccepted(self, a0: QGesture) -> bool: ... + @typing.overload + def isAccepted(self, a0: QtCore.Qt.GestureType) -> bool: ... + @typing.overload + def setAccepted(self, accepted: bool) -> None: ... + @typing.overload + def setAccepted(self, a0: QGesture, a1: bool) -> None: ... + @typing.overload + def setAccepted(self, a0: QtCore.Qt.GestureType, a1: bool) -> None: ... + def canceledGestures(self) -> typing.List[QGesture]: ... + def activeGestures(self) -> typing.List[QGesture]: ... + def gesture(self, type: QtCore.Qt.GestureType) -> QGesture: ... + def gestures(self) -> typing.List[QGesture]: ... + + +class QGestureRecognizer(PyQt5.sip.wrapper): + + class ResultFlag(int): + Ignore = ... # type: QGestureRecognizer.ResultFlag + MayBeGesture = ... # type: QGestureRecognizer.ResultFlag + TriggerGesture = ... # type: QGestureRecognizer.ResultFlag + FinishGesture = ... # type: QGestureRecognizer.ResultFlag + CancelGesture = ... # type: QGestureRecognizer.ResultFlag + ConsumeEventHint = ... # type: QGestureRecognizer.ResultFlag + + class Result(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGestureRecognizer.Result', 'QGestureRecognizer.ResultFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGestureRecognizer.Result') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGestureRecognizer.Result': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QGestureRecognizer') -> None: ... + + @staticmethod + def unregisterRecognizer(type: QtCore.Qt.GestureType) -> None: ... + @staticmethod + def registerRecognizer(recognizer: 'QGestureRecognizer') -> QtCore.Qt.GestureType: ... + def reset(self, state: QGesture) -> None: ... + def recognize(self, state: QGesture, watched: QtCore.QObject, event: QtCore.QEvent) -> 'QGestureRecognizer.Result': ... + def create(self, target: QtCore.QObject) -> QGesture: ... + + +class QGraphicsAnchor(QtCore.QObject): + + def sizePolicy(self) -> 'QSizePolicy.Policy': ... + def setSizePolicy(self, policy: 'QSizePolicy.Policy') -> None: ... + def spacing(self) -> float: ... + def unsetSpacing(self) -> None: ... + def setSpacing(self, spacing: float) -> None: ... + + +class QGraphicsLayoutItem(PyQt5.sip.wrapper): + + def __init__(self, parent: typing.Optional['QGraphicsLayoutItem'] = ..., isLayout: bool = ...) -> None: ... + + def setOwnedByLayout(self, ownedByLayout: bool) -> None: ... + def setGraphicsItem(self, item: 'QGraphicsItem') -> None: ... + def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ... + def ownedByLayout(self) -> bool: ... + def graphicsItem(self) -> 'QGraphicsItem': ... + def maximumHeight(self) -> float: ... + def maximumWidth(self) -> float: ... + def preferredHeight(self) -> float: ... + def preferredWidth(self) -> float: ... + def minimumHeight(self) -> float: ... + def minimumWidth(self) -> float: ... + def isLayout(self) -> bool: ... + def setParentLayoutItem(self, parent: 'QGraphicsLayoutItem') -> None: ... + def parentLayoutItem(self) -> 'QGraphicsLayoutItem': ... + def updateGeometry(self) -> None: ... + def effectiveSizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ... + def contentsRect(self) -> QtCore.QRectF: ... + def getContentsMargins(self) -> typing.Tuple[float, float, float, float]: ... + def geometry(self) -> QtCore.QRectF: ... + def setGeometry(self, rect: QtCore.QRectF) -> None: ... + def setMaximumHeight(self, height: float) -> None: ... + def setMaximumWidth(self, width: float) -> None: ... + def maximumSize(self) -> QtCore.QSizeF: ... + @typing.overload + def setMaximumSize(self, size: QtCore.QSizeF) -> None: ... + @typing.overload + def setMaximumSize(self, aw: float, ah: float) -> None: ... + def setPreferredHeight(self, height: float) -> None: ... + def setPreferredWidth(self, width: float) -> None: ... + def preferredSize(self) -> QtCore.QSizeF: ... + @typing.overload + def setPreferredSize(self, size: QtCore.QSizeF) -> None: ... + @typing.overload + def setPreferredSize(self, aw: float, ah: float) -> None: ... + def setMinimumHeight(self, height: float) -> None: ... + def setMinimumWidth(self, width: float) -> None: ... + def minimumSize(self) -> QtCore.QSizeF: ... + @typing.overload + def setMinimumSize(self, size: QtCore.QSizeF) -> None: ... + @typing.overload + def setMinimumSize(self, aw: float, ah: float) -> None: ... + def sizePolicy(self) -> 'QSizePolicy': ... + @typing.overload + def setSizePolicy(self, policy: 'QSizePolicy') -> None: ... + @typing.overload + def setSizePolicy(self, hPolicy: 'QSizePolicy.Policy', vPolicy: 'QSizePolicy.Policy', controlType: 'QSizePolicy.ControlType' = ...) -> None: ... + + +class QGraphicsLayout(QGraphicsLayoutItem): + + def __init__(self, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ... + + def addChildLayoutItem(self, layoutItem: QGraphicsLayoutItem) -> None: ... + def updateGeometry(self) -> None: ... + def removeAt(self, index: int) -> None: ... + def itemAt(self, i: int) -> QGraphicsLayoutItem: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def widgetEvent(self, e: QtCore.QEvent) -> None: ... + def invalidate(self) -> None: ... + def isActivated(self) -> bool: ... + def activate(self) -> None: ... + def getContentsMargins(self) -> typing.Tuple[float, float, float, float]: ... + def setContentsMargins(self, left: float, top: float, right: float, bottom: float) -> None: ... + + +class QGraphicsAnchorLayout(QGraphicsLayout): + + def __init__(self, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ... + + def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ... + def invalidate(self) -> None: ... + def itemAt(self, index: int) -> QGraphicsLayoutItem: ... + def count(self) -> int: ... + def setGeometry(self, rect: QtCore.QRectF) -> None: ... + def removeAt(self, index: int) -> None: ... + def verticalSpacing(self) -> float: ... + def horizontalSpacing(self) -> float: ... + def setSpacing(self, spacing: float) -> None: ... + def setVerticalSpacing(self, spacing: float) -> None: ... + def setHorizontalSpacing(self, spacing: float) -> None: ... + def addAnchors(self, firstItem: QGraphicsLayoutItem, secondItem: QGraphicsLayoutItem, orientations: typing.Union[QtCore.Qt.Orientations, QtCore.Qt.Orientation] = ...) -> None: ... + def addCornerAnchors(self, firstItem: QGraphicsLayoutItem, firstCorner: QtCore.Qt.Corner, secondItem: QGraphicsLayoutItem, secondCorner: QtCore.Qt.Corner) -> None: ... + def anchor(self, firstItem: QGraphicsLayoutItem, firstEdge: QtCore.Qt.AnchorPoint, secondItem: QGraphicsLayoutItem, secondEdge: QtCore.Qt.AnchorPoint) -> QGraphicsAnchor: ... + def addAnchor(self, firstItem: QGraphicsLayoutItem, firstEdge: QtCore.Qt.AnchorPoint, secondItem: QGraphicsLayoutItem, secondEdge: QtCore.Qt.AnchorPoint) -> QGraphicsAnchor: ... + + +class QGraphicsEffect(QtCore.QObject): + + class PixmapPadMode(int): + NoPad = ... # type: QGraphicsEffect.PixmapPadMode + PadToTransparentBorder = ... # type: QGraphicsEffect.PixmapPadMode + PadToEffectiveBoundingRect = ... # type: QGraphicsEffect.PixmapPadMode + + class ChangeFlag(int): + SourceAttached = ... # type: QGraphicsEffect.ChangeFlag + SourceDetached = ... # type: QGraphicsEffect.ChangeFlag + SourceBoundingRectChanged = ... # type: QGraphicsEffect.ChangeFlag + SourceInvalidated = ... # type: QGraphicsEffect.ChangeFlag + + class ChangeFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGraphicsEffect.ChangeFlags', 'QGraphicsEffect.ChangeFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGraphicsEffect.ChangeFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGraphicsEffect.ChangeFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def sourcePixmap(self, system: QtCore.Qt.CoordinateSystem = ..., mode: 'QGraphicsEffect.PixmapPadMode' = ...) -> typing.Tuple[QtGui.QPixmap, QtCore.QPoint]: ... + def drawSource(self, painter: QtGui.QPainter) -> None: ... + def sourceBoundingRect(self, system: QtCore.Qt.CoordinateSystem = ...) -> QtCore.QRectF: ... + def sourceIsPixmap(self) -> bool: ... + def updateBoundingRect(self) -> None: ... + def sourceChanged(self, flags: typing.Union['QGraphicsEffect.ChangeFlags', 'QGraphicsEffect.ChangeFlag']) -> None: ... + def draw(self, painter: QtGui.QPainter) -> None: ... + def enabledChanged(self, enabled: bool) -> None: ... + def update(self) -> None: ... + def setEnabled(self, enable: bool) -> None: ... + def isEnabled(self) -> bool: ... + def boundingRect(self) -> QtCore.QRectF: ... + def boundingRectFor(self, sourceRect: QtCore.QRectF) -> QtCore.QRectF: ... + + +class QGraphicsColorizeEffect(QGraphicsEffect): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def draw(self, painter: QtGui.QPainter) -> None: ... + def strengthChanged(self, strength: float) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def setStrength(self, strength: float) -> None: ... + def setColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def strength(self) -> float: ... + def color(self) -> QtGui.QColor: ... + + +class QGraphicsBlurEffect(QGraphicsEffect): + + class BlurHint(int): + PerformanceHint = ... # type: QGraphicsBlurEffect.BlurHint + QualityHint = ... # type: QGraphicsBlurEffect.BlurHint + AnimationHint = ... # type: QGraphicsBlurEffect.BlurHint + + class BlurHints(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGraphicsBlurEffect.BlurHints', 'QGraphicsBlurEffect.BlurHint']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGraphicsBlurEffect.BlurHints') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGraphicsBlurEffect.BlurHints': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def draw(self, painter: QtGui.QPainter) -> None: ... + def blurHintsChanged(self, hints: typing.Union['QGraphicsBlurEffect.BlurHints', 'QGraphicsBlurEffect.BlurHint']) -> None: ... + def blurRadiusChanged(self, blurRadius: float) -> None: ... + def setBlurHints(self, hints: typing.Union['QGraphicsBlurEffect.BlurHints', 'QGraphicsBlurEffect.BlurHint']) -> None: ... + def setBlurRadius(self, blurRadius: float) -> None: ... + def blurHints(self) -> 'QGraphicsBlurEffect.BlurHints': ... + def blurRadius(self) -> float: ... + def boundingRectFor(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + + +class QGraphicsDropShadowEffect(QGraphicsEffect): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def draw(self, painter: QtGui.QPainter) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def blurRadiusChanged(self, blurRadius: float) -> None: ... + def offsetChanged(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def setBlurRadius(self, blurRadius: float) -> None: ... + def setYOffset(self, dy: float) -> None: ... + def setXOffset(self, dx: float) -> None: ... + @typing.overload + def setOffset(self, ofs: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setOffset(self, dx: float, dy: float) -> None: ... + @typing.overload + def setOffset(self, d: float) -> None: ... + def color(self) -> QtGui.QColor: ... + def blurRadius(self) -> float: ... + def yOffset(self) -> float: ... + def xOffset(self) -> float: ... + def offset(self) -> QtCore.QPointF: ... + def boundingRectFor(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + + +class QGraphicsOpacityEffect(QGraphicsEffect): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def draw(self, painter: QtGui.QPainter) -> None: ... + def opacityMaskChanged(self, mask: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def opacityChanged(self, opacity: float) -> None: ... + def setOpacityMask(self, mask: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def setOpacity(self, opacity: float) -> None: ... + def opacityMask(self) -> QtGui.QBrush: ... + def opacity(self) -> float: ... + + +class QGraphicsGridLayout(QGraphicsLayout): + + def __init__(self, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ... + + def removeItem(self, item: QGraphicsLayoutItem) -> None: ... + def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ... + def setGeometry(self, rect: QtCore.QRectF) -> None: ... + def invalidate(self) -> None: ... + def removeAt(self, index: int) -> None: ... + def count(self) -> int: ... + @typing.overload + def itemAt(self, row: int, column: int) -> QGraphicsLayoutItem: ... + @typing.overload + def itemAt(self, index: int) -> QGraphicsLayoutItem: ... + def columnCount(self) -> int: ... + def rowCount(self) -> int: ... + def alignment(self, item: QGraphicsLayoutItem) -> QtCore.Qt.Alignment: ... + def setAlignment(self, item: QGraphicsLayoutItem, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def columnAlignment(self, column: int) -> QtCore.Qt.Alignment: ... + def setColumnAlignment(self, column: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def rowAlignment(self, row: int) -> QtCore.Qt.Alignment: ... + def setRowAlignment(self, row: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def setColumnFixedWidth(self, column: int, width: float) -> None: ... + def columnMaximumWidth(self, column: int) -> float: ... + def setColumnMaximumWidth(self, column: int, width: float) -> None: ... + def columnPreferredWidth(self, column: int) -> float: ... + def setColumnPreferredWidth(self, column: int, width: float) -> None: ... + def columnMinimumWidth(self, column: int) -> float: ... + def setColumnMinimumWidth(self, column: int, width: float) -> None: ... + def setRowFixedHeight(self, row: int, height: float) -> None: ... + def rowMaximumHeight(self, row: int) -> float: ... + def setRowMaximumHeight(self, row: int, height: float) -> None: ... + def rowPreferredHeight(self, row: int) -> float: ... + def setRowPreferredHeight(self, row: int, height: float) -> None: ... + def rowMinimumHeight(self, row: int) -> float: ... + def setRowMinimumHeight(self, row: int, height: float) -> None: ... + def columnStretchFactor(self, column: int) -> int: ... + def setColumnStretchFactor(self, column: int, stretch: int) -> None: ... + def rowStretchFactor(self, row: int) -> int: ... + def setRowStretchFactor(self, row: int, stretch: int) -> None: ... + def columnSpacing(self, column: int) -> float: ... + def setColumnSpacing(self, column: int, spacing: float) -> None: ... + def rowSpacing(self, row: int) -> float: ... + def setRowSpacing(self, row: int, spacing: float) -> None: ... + def setSpacing(self, spacing: float) -> None: ... + def verticalSpacing(self) -> float: ... + def setVerticalSpacing(self, spacing: float) -> None: ... + def horizontalSpacing(self) -> float: ... + def setHorizontalSpacing(self, spacing: float) -> None: ... + @typing.overload + def addItem(self, item: QGraphicsLayoutItem, row: int, column: int, rowSpan: int, columnSpan: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + @typing.overload + def addItem(self, item: QGraphicsLayoutItem, row: int, column: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + + +class QGraphicsItem(PyQt5.sip.wrapper): + + class PanelModality(int): + NonModal = ... # type: QGraphicsItem.PanelModality + PanelModal = ... # type: QGraphicsItem.PanelModality + SceneModal = ... # type: QGraphicsItem.PanelModality + + class GraphicsItemFlag(int): + ItemIsMovable = ... # type: QGraphicsItem.GraphicsItemFlag + ItemIsSelectable = ... # type: QGraphicsItem.GraphicsItemFlag + ItemIsFocusable = ... # type: QGraphicsItem.GraphicsItemFlag + ItemClipsToShape = ... # type: QGraphicsItem.GraphicsItemFlag + ItemClipsChildrenToShape = ... # type: QGraphicsItem.GraphicsItemFlag + ItemIgnoresTransformations = ... # type: QGraphicsItem.GraphicsItemFlag + ItemIgnoresParentOpacity = ... # type: QGraphicsItem.GraphicsItemFlag + ItemDoesntPropagateOpacityToChildren = ... # type: QGraphicsItem.GraphicsItemFlag + ItemStacksBehindParent = ... # type: QGraphicsItem.GraphicsItemFlag + ItemUsesExtendedStyleOption = ... # type: QGraphicsItem.GraphicsItemFlag + ItemHasNoContents = ... # type: QGraphicsItem.GraphicsItemFlag + ItemSendsGeometryChanges = ... # type: QGraphicsItem.GraphicsItemFlag + ItemAcceptsInputMethod = ... # type: QGraphicsItem.GraphicsItemFlag + ItemNegativeZStacksBehindParent = ... # type: QGraphicsItem.GraphicsItemFlag + ItemIsPanel = ... # type: QGraphicsItem.GraphicsItemFlag + ItemSendsScenePositionChanges = ... # type: QGraphicsItem.GraphicsItemFlag + ItemContainsChildrenInShape = ... # type: QGraphicsItem.GraphicsItemFlag + + class GraphicsItemChange(int): + ItemPositionChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemMatrixChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemVisibleChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemEnabledChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemSelectedChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemParentChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemChildAddedChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemChildRemovedChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemTransformChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemPositionHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemTransformHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemSceneChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemVisibleHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemEnabledHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemSelectedHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemParentHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemSceneHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemCursorChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemCursorHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemToolTipChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemToolTipHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemFlagsChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemFlagsHaveChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemZValueChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemZValueHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemOpacityChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemOpacityHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemScenePositionHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemRotationChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemRotationHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemScaleChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemScaleHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + ItemTransformOriginPointChange = ... # type: QGraphicsItem.GraphicsItemChange + ItemTransformOriginPointHasChanged = ... # type: QGraphicsItem.GraphicsItemChange + + class CacheMode(int): + NoCache = ... # type: QGraphicsItem.CacheMode + ItemCoordinateCache = ... # type: QGraphicsItem.CacheMode + DeviceCoordinateCache = ... # type: QGraphicsItem.CacheMode + + class GraphicsItemFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGraphicsItem.GraphicsItemFlags', 'QGraphicsItem.GraphicsItemFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGraphicsItem.GraphicsItemFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGraphicsItem.GraphicsItemFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + Type = ... # type: int + UserType = ... # type: int + + def __init__(self, parent: typing.Optional['QGraphicsItem'] = ...) -> None: ... + + def updateMicroFocus(self) -> None: ... + def setInputMethodHints(self, hints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint]) -> None: ... + def inputMethodHints(self) -> QtCore.Qt.InputMethodHints: ... + def stackBefore(self, sibling: 'QGraphicsItem') -> None: ... + @typing.overload + def setTransformOriginPoint(self, origin: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setTransformOriginPoint(self, ax: float, ay: float) -> None: ... + def transformOriginPoint(self) -> QtCore.QPointF: ... + def setTransformations(self, transformations: typing.Iterable['QGraphicsTransform']) -> None: ... + def transformations(self) -> typing.List['QGraphicsTransform']: ... + def scale(self) -> float: ... + def setScale(self, scale: float) -> None: ... + def rotation(self) -> float: ... + def setRotation(self, angle: float) -> None: ... + def setY(self, y: float) -> None: ... + def setX(self, x: float) -> None: ... + def focusItem(self) -> 'QGraphicsItem': ... + def setFocusProxy(self, item: 'QGraphicsItem') -> None: ... + def focusProxy(self) -> 'QGraphicsItem': ... + def setActive(self, active: bool) -> None: ... + def isActive(self) -> bool: ... + def setFiltersChildEvents(self, enabled: bool) -> None: ... + def filtersChildEvents(self) -> bool: ... + def setAcceptTouchEvents(self, enabled: bool) -> None: ... + def acceptTouchEvents(self) -> bool: ... + def setGraphicsEffect(self, effect: QGraphicsEffect) -> None: ... + def graphicsEffect(self) -> QGraphicsEffect: ... + def isBlockedByModalPanel(self) -> typing.Tuple[bool, 'QGraphicsItem']: ... + def setPanelModality(self, panelModality: 'QGraphicsItem.PanelModality') -> None: ... + def panelModality(self) -> 'QGraphicsItem.PanelModality': ... + def toGraphicsObject(self) -> 'QGraphicsObject': ... + def isPanel(self) -> bool: ... + def panel(self) -> 'QGraphicsItem': ... + def parentObject(self) -> 'QGraphicsObject': ... + @typing.overload + def mapRectFromScene(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + @typing.overload + def mapRectFromScene(self, ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ... + @typing.overload + def mapRectFromParent(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + @typing.overload + def mapRectFromParent(self, ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ... + @typing.overload + def mapRectFromItem(self, item: 'QGraphicsItem', rect: QtCore.QRectF) -> QtCore.QRectF: ... + @typing.overload + def mapRectFromItem(self, item: 'QGraphicsItem', ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ... + @typing.overload + def mapRectToScene(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + @typing.overload + def mapRectToScene(self, ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ... + @typing.overload + def mapRectToParent(self, rect: QtCore.QRectF) -> QtCore.QRectF: ... + @typing.overload + def mapRectToParent(self, ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ... + @typing.overload + def mapRectToItem(self, item: 'QGraphicsItem', rect: QtCore.QRectF) -> QtCore.QRectF: ... + @typing.overload + def mapRectToItem(self, item: 'QGraphicsItem', ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ... + def clipPath(self) -> QtGui.QPainterPath: ... + def isClipped(self) -> bool: ... + def itemTransform(self, other: 'QGraphicsItem') -> typing.Tuple[QtGui.QTransform, bool]: ... + def setOpacity(self, opacity: float) -> None: ... + def effectiveOpacity(self) -> float: ... + def opacity(self) -> float: ... + def isUnderMouse(self) -> bool: ... + def commonAncestorItem(self, other: 'QGraphicsItem') -> 'QGraphicsItem': ... + def scroll(self, dx: float, dy: float, rect: QtCore.QRectF = ...) -> None: ... + def setBoundingRegionGranularity(self, granularity: float) -> None: ... + def boundingRegionGranularity(self) -> float: ... + def boundingRegion(self, itemToDeviceTransform: QtGui.QTransform) -> QtGui.QRegion: ... + def ungrabKeyboard(self) -> None: ... + def grabKeyboard(self) -> None: ... + def ungrabMouse(self) -> None: ... + def grabMouse(self) -> None: ... + def setAcceptHoverEvents(self, enabled: bool) -> None: ... + def acceptHoverEvents(self) -> bool: ... + def isVisibleTo(self, parent: 'QGraphicsItem') -> bool: ... + def setCacheMode(self, mode: 'QGraphicsItem.CacheMode', logicalCacheSize: QtCore.QSize = ...) -> None: ... + def cacheMode(self) -> 'QGraphicsItem.CacheMode': ... + def isWindow(self) -> bool: ... + def isWidget(self) -> bool: ... + def childItems(self) -> typing.List['QGraphicsItem']: ... + def window(self) -> 'QGraphicsWidget': ... + def topLevelWidget(self) -> 'QGraphicsWidget': ... + def parentWidget(self) -> 'QGraphicsWidget': ... + @typing.overload + def isObscured(self, rect: QtCore.QRectF = ...) -> bool: ... + @typing.overload + def isObscured(self, ax: float, ay: float, w: float, h: float) -> bool: ... + def resetTransform(self) -> None: ... + def setTransform(self, matrix: QtGui.QTransform, combine: bool = ...) -> None: ... + def deviceTransform(self, viewportTransform: QtGui.QTransform) -> QtGui.QTransform: ... + def sceneTransform(self) -> QtGui.QTransform: ... + def transform(self) -> QtGui.QTransform: ... + def wheelEvent(self, event: 'QGraphicsSceneWheelEvent') -> None: ... + def sceneEventFilter(self, watched: 'QGraphicsItem', event: QtCore.QEvent) -> bool: ... + def sceneEvent(self, event: QtCore.QEvent) -> bool: ... + def prepareGeometryChange(self) -> None: ... + def mouseReleaseEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mousePressEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mouseMoveEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mouseDoubleClickEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... + def itemChange(self, change: 'QGraphicsItem.GraphicsItemChange', value: typing.Any) -> typing.Any: ... + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ... + def hoverMoveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def hoverLeaveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def hoverEnterEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ... + def dropEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragMoveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragLeaveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragEnterEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def contextMenuEvent(self, event: 'QGraphicsSceneContextMenuEvent') -> None: ... + def removeSceneEventFilter(self, filterItem: 'QGraphicsItem') -> None: ... + def installSceneEventFilter(self, filterItem: 'QGraphicsItem') -> None: ... + def type(self) -> int: ... + def setData(self, key: int, value: typing.Any) -> None: ... + def data(self, key: int) -> typing.Any: ... + def isAncestorOf(self, child: 'QGraphicsItem') -> bool: ... + @typing.overload + def mapFromScene(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + @typing.overload + def mapFromScene(self, rect: QtCore.QRectF) -> QtGui.QPolygonF: ... + @typing.overload + def mapFromScene(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ... + @typing.overload + def mapFromScene(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ... + @typing.overload + def mapFromScene(self, ax: float, ay: float) -> QtCore.QPointF: ... + @typing.overload + def mapFromScene(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ... + @typing.overload + def mapFromParent(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + @typing.overload + def mapFromParent(self, rect: QtCore.QRectF) -> QtGui.QPolygonF: ... + @typing.overload + def mapFromParent(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ... + @typing.overload + def mapFromParent(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ... + @typing.overload + def mapFromParent(self, ax: float, ay: float) -> QtCore.QPointF: ... + @typing.overload + def mapFromParent(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ... + @typing.overload + def mapFromItem(self, item: 'QGraphicsItem', point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + @typing.overload + def mapFromItem(self, item: 'QGraphicsItem', rect: QtCore.QRectF) -> QtGui.QPolygonF: ... + @typing.overload + def mapFromItem(self, item: 'QGraphicsItem', polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ... + @typing.overload + def mapFromItem(self, item: 'QGraphicsItem', path: QtGui.QPainterPath) -> QtGui.QPainterPath: ... + @typing.overload + def mapFromItem(self, item: 'QGraphicsItem', ax: float, ay: float) -> QtCore.QPointF: ... + @typing.overload + def mapFromItem(self, item: 'QGraphicsItem', ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ... + @typing.overload + def mapToScene(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + @typing.overload + def mapToScene(self, rect: QtCore.QRectF) -> QtGui.QPolygonF: ... + @typing.overload + def mapToScene(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ... + @typing.overload + def mapToScene(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ... + @typing.overload + def mapToScene(self, ax: float, ay: float) -> QtCore.QPointF: ... + @typing.overload + def mapToScene(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ... + @typing.overload + def mapToParent(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + @typing.overload + def mapToParent(self, rect: QtCore.QRectF) -> QtGui.QPolygonF: ... + @typing.overload + def mapToParent(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ... + @typing.overload + def mapToParent(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ... + @typing.overload + def mapToParent(self, ax: float, ay: float) -> QtCore.QPointF: ... + @typing.overload + def mapToParent(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ... + @typing.overload + def mapToItem(self, item: 'QGraphicsItem', point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ... + @typing.overload + def mapToItem(self, item: 'QGraphicsItem', rect: QtCore.QRectF) -> QtGui.QPolygonF: ... + @typing.overload + def mapToItem(self, item: 'QGraphicsItem', polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ... + @typing.overload + def mapToItem(self, item: 'QGraphicsItem', path: QtGui.QPainterPath) -> QtGui.QPainterPath: ... + @typing.overload + def mapToItem(self, item: 'QGraphicsItem', ax: float, ay: float) -> QtCore.QPointF: ... + @typing.overload + def mapToItem(self, item: 'QGraphicsItem', ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ... + @typing.overload + def update(self, rect: QtCore.QRectF = ...) -> None: ... + @typing.overload + def update(self, ax: float, ay: float, width: float, height: float) -> None: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: 'QGraphicsItem') -> bool: ... + def collidingItems(self, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List['QGraphicsItem']: ... + def collidesWithPath(self, path: QtGui.QPainterPath, mode: QtCore.Qt.ItemSelectionMode = ...) -> bool: ... + def collidesWithItem(self, other: 'QGraphicsItem', mode: QtCore.Qt.ItemSelectionMode = ...) -> bool: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def sceneBoundingRect(self) -> QtCore.QRectF: ... + def childrenBoundingRect(self) -> QtCore.QRectF: ... + def boundingRect(self) -> QtCore.QRectF: ... + def setZValue(self, z: float) -> None: ... + def zValue(self) -> float: ... + def advance(self, phase: int) -> None: ... + @typing.overload + def ensureVisible(self, rect: QtCore.QRectF = ..., xMargin: int = ..., yMargin: int = ...) -> None: ... + @typing.overload + def ensureVisible(self, x: float, y: float, w: float, h: float, xMargin: int = ..., yMargin: int = ...) -> None: ... + def moveBy(self, dx: float, dy: float) -> None: ... + @typing.overload + def setPos(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setPos(self, ax: float, ay: float) -> None: ... + def scenePos(self) -> QtCore.QPointF: ... + def y(self) -> float: ... + def x(self) -> float: ... + def pos(self) -> QtCore.QPointF: ... + def clearFocus(self) -> None: ... + def setFocus(self, focusReason: QtCore.Qt.FocusReason = ...) -> None: ... + def hasFocus(self) -> bool: ... + def setAcceptedMouseButtons(self, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton]) -> None: ... + def acceptedMouseButtons(self) -> QtCore.Qt.MouseButtons: ... + def setAcceptDrops(self, on: bool) -> None: ... + def acceptDrops(self) -> bool: ... + def setSelected(self, selected: bool) -> None: ... + def isSelected(self) -> bool: ... + def setEnabled(self, enabled: bool) -> None: ... + def isEnabled(self) -> bool: ... + def show(self) -> None: ... + def hide(self) -> None: ... + def setVisible(self, visible: bool) -> None: ... + def isVisible(self) -> bool: ... + def unsetCursor(self) -> None: ... + def hasCursor(self) -> bool: ... + def setCursor(self, cursor: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ... + def cursor(self) -> QtGui.QCursor: ... + def setToolTip(self, toolTip: str) -> None: ... + def toolTip(self) -> str: ... + def setFlags(self, flags: typing.Union['QGraphicsItem.GraphicsItemFlags', 'QGraphicsItem.GraphicsItemFlag']) -> None: ... + def setFlag(self, flag: 'QGraphicsItem.GraphicsItemFlag', enabled: bool = ...) -> None: ... + def flags(self) -> 'QGraphicsItem.GraphicsItemFlags': ... + def setGroup(self, group: 'QGraphicsItemGroup') -> None: ... + def group(self) -> 'QGraphicsItemGroup': ... + def setParentItem(self, parent: 'QGraphicsItem') -> None: ... + def topLevelItem(self) -> 'QGraphicsItem': ... + def parentItem(self) -> 'QGraphicsItem': ... + def scene(self) -> 'QGraphicsScene': ... + + +class QAbstractGraphicsShapeItem(QGraphicsItem): + + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def setBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def brush(self) -> QtGui.QBrush: ... + def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def pen(self) -> QtGui.QPen: ... + + +class QGraphicsPathItem(QAbstractGraphicsShapeItem): + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, path: QtGui.QPainterPath, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + def setPath(self, path: QtGui.QPainterPath) -> None: ... + def path(self) -> QtGui.QPainterPath: ... + + +class QGraphicsRectItem(QAbstractGraphicsShapeItem): + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, rect: QtCore.QRectF, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, x: float, y: float, w: float, h: float, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + @typing.overload + def setRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setRect(self, ax: float, ay: float, w: float, h: float) -> None: ... + def rect(self) -> QtCore.QRectF: ... + + +class QGraphicsEllipseItem(QAbstractGraphicsShapeItem): + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, rect: QtCore.QRectF, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, x: float, y: float, w: float, h: float, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + def setSpanAngle(self, angle: int) -> None: ... + def spanAngle(self) -> int: ... + def setStartAngle(self, angle: int) -> None: ... + def startAngle(self) -> int: ... + @typing.overload + def setRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setRect(self, ax: float, ay: float, w: float, h: float) -> None: ... + def rect(self) -> QtCore.QRectF: ... + + +class QGraphicsPolygonItem(QAbstractGraphicsShapeItem): + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, polygon: QtGui.QPolygonF, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + def setFillRule(self, rule: QtCore.Qt.FillRule) -> None: ... + def fillRule(self) -> QtCore.Qt.FillRule: ... + def setPolygon(self, polygon: QtGui.QPolygonF) -> None: ... + def polygon(self) -> QtGui.QPolygonF: ... + + +class QGraphicsLineItem(QGraphicsItem): + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, line: QtCore.QLineF, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, x1: float, y1: float, x2: float, y2: float, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + @typing.overload + def setLine(self, line: QtCore.QLineF) -> None: ... + @typing.overload + def setLine(self, x1: float, y1: float, x2: float, y2: float) -> None: ... + def line(self) -> QtCore.QLineF: ... + def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def pen(self) -> QtGui.QPen: ... + + +class QGraphicsPixmapItem(QGraphicsItem): + + class ShapeMode(int): + MaskShape = ... # type: QGraphicsPixmapItem.ShapeMode + BoundingRectShape = ... # type: QGraphicsPixmapItem.ShapeMode + HeuristicMaskShape = ... # type: QGraphicsPixmapItem.ShapeMode + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, pixmap: QtGui.QPixmap, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def setShapeMode(self, mode: 'QGraphicsPixmapItem.ShapeMode') -> None: ... + def shapeMode(self) -> 'QGraphicsPixmapItem.ShapeMode': ... + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: QWidget) -> None: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + @typing.overload + def setOffset(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def setOffset(self, ax: float, ay: float) -> None: ... + def offset(self) -> QtCore.QPointF: ... + def setTransformationMode(self, mode: QtCore.Qt.TransformationMode) -> None: ... + def transformationMode(self) -> QtCore.Qt.TransformationMode: ... + def setPixmap(self, pixmap: QtGui.QPixmap) -> None: ... + def pixmap(self) -> QtGui.QPixmap: ... + + +class QGraphicsSimpleTextItem(QAbstractGraphicsShapeItem): + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: QWidget) -> None: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + def font(self) -> QtGui.QFont: ... + def setFont(self, font: QtGui.QFont) -> None: ... + def text(self) -> str: ... + def setText(self, text: str) -> None: ... + + +class QGraphicsItemGroup(QGraphicsItem): + + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def boundingRect(self) -> QtCore.QRectF: ... + def removeFromGroup(self, item: QGraphicsItem) -> None: ... + def addToGroup(self, item: QGraphicsItem) -> None: ... + + +class QGraphicsObject(QtCore.QObject, QGraphicsItem): + + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def event(self, ev: QtCore.QEvent) -> bool: ... + def updateMicroFocus(self) -> None: ... + def scaleChanged(self) -> None: ... + def rotationChanged(self) -> None: ... + def zChanged(self) -> None: ... + def yChanged(self) -> None: ... + def xChanged(self) -> None: ... + def enabledChanged(self) -> None: ... + def visibleChanged(self) -> None: ... + def opacityChanged(self) -> None: ... + def parentChanged(self) -> None: ... + def ungrabGesture(self, type: QtCore.Qt.GestureType) -> None: ... + def grabGesture(self, type: QtCore.Qt.GestureType, flags: typing.Union[QtCore.Qt.GestureFlags, QtCore.Qt.GestureFlag] = ...) -> None: ... + + +class QGraphicsTextItem(QGraphicsObject): + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QGraphicsItem] = ...) -> None: ... + + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def hoverLeaveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def hoverMoveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def hoverEnterEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ... + def dropEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragMoveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragLeaveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragEnterEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ... + def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... + def contextMenuEvent(self, event: 'QGraphicsSceneContextMenuEvent') -> None: ... + def mouseDoubleClickEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mouseReleaseEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mouseMoveEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mousePressEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def sceneEvent(self, event: QtCore.QEvent) -> bool: ... + def linkHovered(self, a0: str) -> None: ... + def linkActivated(self, a0: str) -> None: ... + def textCursor(self) -> QtGui.QTextCursor: ... + def setTextCursor(self, cursor: QtGui.QTextCursor) -> None: ... + def openExternalLinks(self) -> bool: ... + def setOpenExternalLinks(self, open: bool) -> None: ... + def tabChangesFocus(self) -> bool: ... + def setTabChangesFocus(self, b: bool) -> None: ... + def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ... + def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ... + def document(self) -> QtGui.QTextDocument: ... + def setDocument(self, document: QtGui.QTextDocument) -> None: ... + def adjustSize(self) -> None: ... + def textWidth(self) -> float: ... + def setTextWidth(self, width: float) -> None: ... + def type(self) -> int: ... + def opaqueArea(self) -> QtGui.QPainterPath: ... + def isObscuredBy(self, item: QGraphicsItem) -> bool: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: QWidget) -> None: ... + def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + def defaultTextColor(self) -> QtGui.QColor: ... + def setDefaultTextColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def setFont(self, font: QtGui.QFont) -> None: ... + def font(self) -> QtGui.QFont: ... + def setPlainText(self, text: str) -> None: ... + def toPlainText(self) -> str: ... + def setHtml(self, html: str) -> None: ... + def toHtml(self) -> str: ... + + +class QGraphicsLinearLayout(QGraphicsLayout): + + @typing.overload + def __init__(self, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ... + @typing.overload + def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ... + + def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ... + def invalidate(self) -> None: ... + def itemAt(self, index: int) -> QGraphicsLayoutItem: ... + def count(self) -> int: ... + def setGeometry(self, rect: QtCore.QRectF) -> None: ... + def alignment(self, item: QGraphicsLayoutItem) -> QtCore.Qt.Alignment: ... + def setAlignment(self, item: QGraphicsLayoutItem, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def stretchFactor(self, item: QGraphicsLayoutItem) -> int: ... + def setStretchFactor(self, item: QGraphicsLayoutItem, stretch: int) -> None: ... + def itemSpacing(self, index: int) -> float: ... + def setItemSpacing(self, index: int, spacing: float) -> None: ... + def spacing(self) -> float: ... + def setSpacing(self, spacing: float) -> None: ... + def removeAt(self, index: int) -> None: ... + def removeItem(self, item: QGraphicsLayoutItem) -> None: ... + def insertStretch(self, index: int, stretch: int = ...) -> None: ... + def insertItem(self, index: int, item: QGraphicsLayoutItem) -> None: ... + def addStretch(self, stretch: int = ...) -> None: ... + def addItem(self, item: QGraphicsLayoutItem) -> None: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + def setOrientation(self, orientation: QtCore.Qt.Orientation) -> None: ... + + +class QGraphicsWidget(QGraphicsObject, QGraphicsLayoutItem): + + def __init__(self, parent: typing.Optional[QGraphicsItem] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def geometryChanged(self) -> None: ... + def setAutoFillBackground(self, enabled: bool) -> None: ... + def autoFillBackground(self) -> bool: ... + def ungrabKeyboardEvent(self, event: QtCore.QEvent) -> None: ... + def grabKeyboardEvent(self, event: QtCore.QEvent) -> None: ... + def ungrabMouseEvent(self, event: QtCore.QEvent) -> None: ... + def grabMouseEvent(self, event: QtCore.QEvent) -> None: ... + def hoverLeaveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def hoverMoveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def showEvent(self, event: QtGui.QShowEvent) -> None: ... + def resizeEvent(self, event: 'QGraphicsSceneResizeEvent') -> None: ... + def polishEvent(self) -> None: ... + def moveEvent(self, event: 'QGraphicsSceneMoveEvent') -> None: ... + def hideEvent(self, event: QtGui.QHideEvent) -> None: ... + def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ... + def closeEvent(self, event: QtGui.QCloseEvent) -> None: ... + def changeEvent(self, event: QtCore.QEvent) -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def windowFrameSectionAt(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.Qt.WindowFrameSection: ... + def windowFrameEvent(self, e: QtCore.QEvent) -> bool: ... + def sceneEvent(self, event: QtCore.QEvent) -> bool: ... + def itemChange(self, change: QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any: ... + def updateGeometry(self) -> None: ... + def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ... + def initStyleOption(self, option: 'QStyleOption') -> None: ... + def close(self) -> bool: ... + def shape(self) -> QtGui.QPainterPath: ... + def boundingRect(self) -> QtCore.QRectF: ... + def paintWindowFrame(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ... + def type(self) -> int: ... + def testAttribute(self, attribute: QtCore.Qt.WidgetAttribute) -> bool: ... + def setAttribute(self, attribute: QtCore.Qt.WidgetAttribute, on: bool = ...) -> None: ... + def actions(self) -> typing.List[QAction]: ... + def removeAction(self, action: QAction) -> None: ... + def insertActions(self, before: QAction, actions: typing.Iterable[QAction]) -> None: ... + def insertAction(self, before: QAction, action: QAction) -> None: ... + def addActions(self, actions: typing.Iterable[QAction]) -> None: ... + def addAction(self, action: QAction) -> None: ... + def setShortcutAutoRepeat(self, id: int, enabled: bool = ...) -> None: ... + def setShortcutEnabled(self, id: int, enabled: bool = ...) -> None: ... + def releaseShortcut(self, id: int) -> None: ... + def grabShortcut(self, sequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], context: QtCore.Qt.ShortcutContext = ...) -> int: ... + def focusWidget(self) -> 'QGraphicsWidget': ... + @staticmethod + def setTabOrder(first: 'QGraphicsWidget', second: 'QGraphicsWidget') -> None: ... + def setFocusPolicy(self, policy: QtCore.Qt.FocusPolicy) -> None: ... + def focusPolicy(self) -> QtCore.Qt.FocusPolicy: ... + def windowTitle(self) -> str: ... + def setWindowTitle(self, title: str) -> None: ... + def isActiveWindow(self) -> bool: ... + def setWindowFlags(self, wFlags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... + def windowType(self) -> QtCore.Qt.WindowType: ... + def windowFlags(self) -> QtCore.Qt.WindowFlags: ... + def windowFrameRect(self) -> QtCore.QRectF: ... + def windowFrameGeometry(self) -> QtCore.QRectF: ... + def unsetWindowFrameMargins(self) -> None: ... + def getWindowFrameMargins(self) -> typing.Tuple[float, float, float, float]: ... + @typing.overload + def setWindowFrameMargins(self, margins: QtCore.QMarginsF) -> None: ... + @typing.overload + def setWindowFrameMargins(self, left: float, top: float, right: float, bottom: float) -> None: ... + def getContentsMargins(self) -> typing.Tuple[float, float, float, float]: ... + @typing.overload + def setContentsMargins(self, margins: QtCore.QMarginsF) -> None: ... + @typing.overload + def setContentsMargins(self, left: float, top: float, right: float, bottom: float) -> None: ... + def rect(self) -> QtCore.QRectF: ... + @typing.overload + def setGeometry(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setGeometry(self, ax: float, ay: float, aw: float, ah: float) -> None: ... + def size(self) -> QtCore.QSizeF: ... + @typing.overload + def resize(self, size: QtCore.QSizeF) -> None: ... + @typing.overload + def resize(self, w: float, h: float) -> None: ... + def setPalette(self, palette: QtGui.QPalette) -> None: ... + def palette(self) -> QtGui.QPalette: ... + def setFont(self, font: QtGui.QFont) -> None: ... + def font(self) -> QtGui.QFont: ... + def setStyle(self, style: QStyle) -> None: ... + def style(self) -> QStyle: ... + def unsetLayoutDirection(self) -> None: ... + def setLayoutDirection(self, direction: QtCore.Qt.LayoutDirection) -> None: ... + def layoutDirection(self) -> QtCore.Qt.LayoutDirection: ... + def adjustSize(self) -> None: ... + def setLayout(self, layout: QGraphicsLayout) -> None: ... + def layout(self) -> QGraphicsLayout: ... + + +class QGraphicsProxyWidget(QGraphicsWidget): + + def __init__(self, parent: typing.Optional[QGraphicsItem] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ... + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def newProxyWidget(self, a0: QWidget) -> 'QGraphicsProxyWidget': ... + def dropEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragMoveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragLeaveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragEnterEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def resizeEvent(self, event: 'QGraphicsSceneResizeEvent') -> None: ... + def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ... + def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... + def wheelEvent(self, event: 'QGraphicsSceneWheelEvent') -> None: ... + def mouseDoubleClickEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mouseReleaseEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mousePressEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mouseMoveEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def ungrabMouseEvent(self, event: QtCore.QEvent) -> None: ... + def grabMouseEvent(self, event: QtCore.QEvent) -> None: ... + def hoverMoveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def hoverLeaveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def hoverEnterEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ... + def contextMenuEvent(self, event: 'QGraphicsSceneContextMenuEvent') -> None: ... + def hideEvent(self, event: QtGui.QHideEvent) -> None: ... + def showEvent(self, event: QtGui.QShowEvent) -> None: ... + def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def itemChange(self, change: QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any: ... + def createProxyForChildWidget(self, child: QWidget) -> 'QGraphicsProxyWidget': ... + def type(self) -> int: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: QWidget) -> None: ... + def setGeometry(self, rect: QtCore.QRectF) -> None: ... + def subWidgetRect(self, widget: QWidget) -> QtCore.QRectF: ... + def widget(self) -> QWidget: ... + def setWidget(self, widget: QWidget) -> None: ... + + +class QGraphicsScene(QtCore.QObject): + + class SceneLayer(int): + ItemLayer = ... # type: QGraphicsScene.SceneLayer + BackgroundLayer = ... # type: QGraphicsScene.SceneLayer + ForegroundLayer = ... # type: QGraphicsScene.SceneLayer + AllLayers = ... # type: QGraphicsScene.SceneLayer + + class ItemIndexMethod(int): + BspTreeIndex = ... # type: QGraphicsScene.ItemIndexMethod + NoIndex = ... # type: QGraphicsScene.ItemIndexMethod + + class SceneLayers(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGraphicsScene.SceneLayers', 'QGraphicsScene.SceneLayer']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGraphicsScene.SceneLayers') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGraphicsScene.SceneLayers': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, sceneRect: QtCore.QRectF, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, x: float, y: float, width: float, height: float, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def setFocusOnTouch(self, enabled: bool) -> None: ... + def focusOnTouch(self) -> bool: ... + def focusItemChanged(self, newFocus: QGraphicsItem, oldFocus: QGraphicsItem, reason: QtCore.Qt.FocusReason) -> None: ... + def setMinimumRenderSize(self, minSize: float) -> None: ... + def minimumRenderSize(self) -> float: ... + def sendEvent(self, item: QGraphicsItem, event: QtCore.QEvent) -> bool: ... + def setActivePanel(self, item: QGraphicsItem) -> None: ... + def activePanel(self) -> QGraphicsItem: ... + def isActive(self) -> bool: ... + @typing.overload + def itemAt(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], deviceTransform: QtGui.QTransform) -> QGraphicsItem: ... + @typing.overload + def itemAt(self, x: float, y: float, deviceTransform: QtGui.QTransform) -> QGraphicsItem: ... + def stickyFocus(self) -> bool: ... + def setStickyFocus(self, enabled: bool) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def eventFilter(self, watched: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def setActiveWindow(self, widget: QGraphicsWidget) -> None: ... + def activeWindow(self) -> QGraphicsWidget: ... + def setPalette(self, palette: QtGui.QPalette) -> None: ... + def palette(self) -> QtGui.QPalette: ... + def setFont(self, font: QtGui.QFont) -> None: ... + def font(self) -> QtGui.QFont: ... + def setStyle(self, style: QStyle) -> None: ... + def style(self) -> QStyle: ... + def addWidget(self, widget: QWidget, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> QGraphicsProxyWidget: ... + def selectionArea(self) -> QtGui.QPainterPath: ... + def setBspTreeDepth(self, depth: int) -> None: ... + def bspTreeDepth(self) -> int: ... + def drawForeground(self, painter: QtGui.QPainter, rect: QtCore.QRectF) -> None: ... + def drawBackground(self, painter: QtGui.QPainter, rect: QtCore.QRectF) -> None: ... + def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ... + def wheelEvent(self, event: 'QGraphicsSceneWheelEvent') -> None: ... + def mouseDoubleClickEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mouseReleaseEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mouseMoveEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def mousePressEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ... + def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... + def helpEvent(self, event: 'QGraphicsSceneHelpEvent') -> None: ... + def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ... + def dropEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragLeaveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragMoveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def dragEnterEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ... + def contextMenuEvent(self, event: 'QGraphicsSceneContextMenuEvent') -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def selectionChanged(self) -> None: ... + def sceneRectChanged(self, rect: QtCore.QRectF) -> None: ... + def changed(self, region: typing.Iterable[QtCore.QRectF]) -> None: ... + def clear(self) -> None: ... + @typing.overload + def invalidate(self, rect: QtCore.QRectF = ..., layers: typing.Union['QGraphicsScene.SceneLayers', 'QGraphicsScene.SceneLayer'] = ...) -> None: ... + @typing.overload + def invalidate(self, x: float, y: float, w: float, h: float, layers: typing.Union['QGraphicsScene.SceneLayers', 'QGraphicsScene.SceneLayer'] = ...) -> None: ... + @typing.overload + def update(self, rect: QtCore.QRectF = ...) -> None: ... + @typing.overload + def update(self, x: float, y: float, w: float, h: float) -> None: ... + def advance(self) -> None: ... + def views(self) -> typing.List['QGraphicsView']: ... + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + def setForegroundBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def foregroundBrush(self) -> QtGui.QBrush: ... + def setBackgroundBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def backgroundBrush(self) -> QtGui.QBrush: ... + def mouseGrabberItem(self) -> QGraphicsItem: ... + def clearFocus(self) -> None: ... + def setFocus(self, focusReason: QtCore.Qt.FocusReason = ...) -> None: ... + def hasFocus(self) -> bool: ... + def setFocusItem(self, item: QGraphicsItem, focusReason: QtCore.Qt.FocusReason = ...) -> None: ... + def focusItem(self) -> QGraphicsItem: ... + def removeItem(self, item: QGraphicsItem) -> None: ... + def addText(self, text: str, font: QtGui.QFont = ...) -> QGraphicsTextItem: ... + def addSimpleText(self, text: str, font: QtGui.QFont = ...) -> QGraphicsSimpleTextItem: ... + @typing.overload + def addRect(self, rect: QtCore.QRectF, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsRectItem: ... + @typing.overload + def addRect(self, x: float, y: float, w: float, h: float, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsRectItem: ... + def addPolygon(self, polygon: QtGui.QPolygonF, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsPolygonItem: ... + def addPixmap(self, pixmap: QtGui.QPixmap) -> QGraphicsPixmapItem: ... + def addPath(self, path: QtGui.QPainterPath, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsPathItem: ... + @typing.overload + def addLine(self, line: QtCore.QLineF, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsLineItem: ... + @typing.overload + def addLine(self, x1: float, y1: float, x2: float, y2: float, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsLineItem: ... + @typing.overload + def addEllipse(self, rect: QtCore.QRectF, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsEllipseItem: ... + @typing.overload + def addEllipse(self, x: float, y: float, w: float, h: float, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsEllipseItem: ... + def addItem(self, item: QGraphicsItem) -> None: ... + def destroyItemGroup(self, group: QGraphicsItemGroup) -> None: ... + def createItemGroup(self, items: typing.Iterable[QGraphicsItem]) -> QGraphicsItemGroup: ... + def clearSelection(self) -> None: ... + @typing.overload + def setSelectionArea(self, path: QtGui.QPainterPath, deviceTransform: QtGui.QTransform) -> None: ... + @typing.overload + def setSelectionArea(self, path: QtGui.QPainterPath, mode: QtCore.Qt.ItemSelectionMode = ..., deviceTransform: QtGui.QTransform = ...) -> None: ... + @typing.overload + def setSelectionArea(self, path: QtGui.QPainterPath, selectionOperation: QtCore.Qt.ItemSelectionOperation, mode: QtCore.Qt.ItemSelectionMode = ..., deviceTransform: QtGui.QTransform = ...) -> None: ... + def selectedItems(self) -> typing.List[QGraphicsItem]: ... + def collidingItems(self, item: QGraphicsItem, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, order: QtCore.Qt.SortOrder = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], mode: QtCore.Qt.ItemSelectionMode = ..., order: QtCore.Qt.SortOrder = ..., deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, rect: QtCore.QRectF, mode: QtCore.Qt.ItemSelectionMode = ..., order: QtCore.Qt.SortOrder = ..., deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, polygon: QtGui.QPolygonF, mode: QtCore.Qt.ItemSelectionMode = ..., order: QtCore.Qt.SortOrder = ..., deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, path: QtGui.QPainterPath, mode: QtCore.Qt.ItemSelectionMode = ..., order: QtCore.Qt.SortOrder = ..., deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, x: float, y: float, w: float, h: float, mode: QtCore.Qt.ItemSelectionMode, order: QtCore.Qt.SortOrder, deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ... + def itemsBoundingRect(self) -> QtCore.QRectF: ... + def setItemIndexMethod(self, method: 'QGraphicsScene.ItemIndexMethod') -> None: ... + def itemIndexMethod(self) -> 'QGraphicsScene.ItemIndexMethod': ... + def render(self, painter: QtGui.QPainter, target: QtCore.QRectF = ..., source: QtCore.QRectF = ..., mode: QtCore.Qt.AspectRatioMode = ...) -> None: ... + @typing.overload + def setSceneRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setSceneRect(self, x: float, y: float, w: float, h: float) -> None: ... + def height(self) -> float: ... + def width(self) -> float: ... + def sceneRect(self) -> QtCore.QRectF: ... + + +class QGraphicsSceneEvent(QtCore.QEvent): + + def widget(self) -> QWidget: ... + + +class QGraphicsSceneMouseEvent(QGraphicsSceneEvent): + + def flags(self) -> QtCore.Qt.MouseEventFlags: ... + def source(self) -> QtCore.Qt.MouseEventSource: ... + def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ... + def button(self) -> QtCore.Qt.MouseButton: ... + def buttons(self) -> QtCore.Qt.MouseButtons: ... + def lastScreenPos(self) -> QtCore.QPoint: ... + def lastScenePos(self) -> QtCore.QPointF: ... + def lastPos(self) -> QtCore.QPointF: ... + def buttonDownScreenPos(self, button: QtCore.Qt.MouseButton) -> QtCore.QPoint: ... + def buttonDownScenePos(self, button: QtCore.Qt.MouseButton) -> QtCore.QPointF: ... + def buttonDownPos(self, button: QtCore.Qt.MouseButton) -> QtCore.QPointF: ... + def screenPos(self) -> QtCore.QPoint: ... + def scenePos(self) -> QtCore.QPointF: ... + def pos(self) -> QtCore.QPointF: ... + + +class QGraphicsSceneWheelEvent(QGraphicsSceneEvent): + + def orientation(self) -> QtCore.Qt.Orientation: ... + def delta(self) -> int: ... + def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ... + def buttons(self) -> QtCore.Qt.MouseButtons: ... + def screenPos(self) -> QtCore.QPoint: ... + def scenePos(self) -> QtCore.QPointF: ... + def pos(self) -> QtCore.QPointF: ... + + +class QGraphicsSceneContextMenuEvent(QGraphicsSceneEvent): + + class Reason(int): + Mouse = ... # type: QGraphicsSceneContextMenuEvent.Reason + Keyboard = ... # type: QGraphicsSceneContextMenuEvent.Reason + Other = ... # type: QGraphicsSceneContextMenuEvent.Reason + + def reason(self) -> 'QGraphicsSceneContextMenuEvent.Reason': ... + def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ... + def screenPos(self) -> QtCore.QPoint: ... + def scenePos(self) -> QtCore.QPointF: ... + def pos(self) -> QtCore.QPointF: ... + + +class QGraphicsSceneHoverEvent(QGraphicsSceneEvent): + + def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ... + def lastScreenPos(self) -> QtCore.QPoint: ... + def lastScenePos(self) -> QtCore.QPointF: ... + def lastPos(self) -> QtCore.QPointF: ... + def screenPos(self) -> QtCore.QPoint: ... + def scenePos(self) -> QtCore.QPointF: ... + def pos(self) -> QtCore.QPointF: ... + + +class QGraphicsSceneHelpEvent(QGraphicsSceneEvent): + + def screenPos(self) -> QtCore.QPoint: ... + def scenePos(self) -> QtCore.QPointF: ... + + +class QGraphicsSceneDragDropEvent(QGraphicsSceneEvent): + + def mimeData(self) -> QtCore.QMimeData: ... + def source(self) -> QWidget: ... + def setDropAction(self, action: QtCore.Qt.DropAction) -> None: ... + def dropAction(self) -> QtCore.Qt.DropAction: ... + def acceptProposedAction(self) -> None: ... + def proposedAction(self) -> QtCore.Qt.DropAction: ... + def possibleActions(self) -> QtCore.Qt.DropActions: ... + def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ... + def buttons(self) -> QtCore.Qt.MouseButtons: ... + def screenPos(self) -> QtCore.QPoint: ... + def scenePos(self) -> QtCore.QPointF: ... + def pos(self) -> QtCore.QPointF: ... + + +class QGraphicsSceneResizeEvent(QGraphicsSceneEvent): + + def __init__(self) -> None: ... + + def newSize(self) -> QtCore.QSizeF: ... + def oldSize(self) -> QtCore.QSizeF: ... + + +class QGraphicsSceneMoveEvent(QGraphicsSceneEvent): + + def __init__(self) -> None: ... + + def newPos(self) -> QtCore.QPointF: ... + def oldPos(self) -> QtCore.QPointF: ... + + +class QGraphicsTransform(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def update(self) -> None: ... + def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ... + + +class QGraphicsScale(QGraphicsTransform): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def zScaleChanged(self) -> None: ... + def yScaleChanged(self) -> None: ... + def xScaleChanged(self) -> None: ... + def scaleChanged(self) -> None: ... + def originChanged(self) -> None: ... + def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ... + def setZScale(self, a0: float) -> None: ... + def zScale(self) -> float: ... + def setYScale(self, a0: float) -> None: ... + def yScale(self) -> float: ... + def setXScale(self, a0: float) -> None: ... + def xScale(self) -> float: ... + def setOrigin(self, point: QtGui.QVector3D) -> None: ... + def origin(self) -> QtGui.QVector3D: ... + + +class QGraphicsRotation(QGraphicsTransform): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def axisChanged(self) -> None: ... + def angleChanged(self) -> None: ... + def originChanged(self) -> None: ... + def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ... + @typing.overload + def setAxis(self, axis: QtGui.QVector3D) -> None: ... + @typing.overload + def setAxis(self, axis: QtCore.Qt.Axis) -> None: ... + def axis(self) -> QtGui.QVector3D: ... + def setAngle(self, a0: float) -> None: ... + def angle(self) -> float: ... + def setOrigin(self, point: QtGui.QVector3D) -> None: ... + def origin(self) -> QtGui.QVector3D: ... + + +class QGraphicsView(QAbstractScrollArea): + + class OptimizationFlag(int): + DontClipPainter = ... # type: QGraphicsView.OptimizationFlag + DontSavePainterState = ... # type: QGraphicsView.OptimizationFlag + DontAdjustForAntialiasing = ... # type: QGraphicsView.OptimizationFlag + + class ViewportUpdateMode(int): + FullViewportUpdate = ... # type: QGraphicsView.ViewportUpdateMode + MinimalViewportUpdate = ... # type: QGraphicsView.ViewportUpdateMode + SmartViewportUpdate = ... # type: QGraphicsView.ViewportUpdateMode + BoundingRectViewportUpdate = ... # type: QGraphicsView.ViewportUpdateMode + NoViewportUpdate = ... # type: QGraphicsView.ViewportUpdateMode + + class ViewportAnchor(int): + NoAnchor = ... # type: QGraphicsView.ViewportAnchor + AnchorViewCenter = ... # type: QGraphicsView.ViewportAnchor + AnchorUnderMouse = ... # type: QGraphicsView.ViewportAnchor + + class DragMode(int): + NoDrag = ... # type: QGraphicsView.DragMode + ScrollHandDrag = ... # type: QGraphicsView.DragMode + RubberBandDrag = ... # type: QGraphicsView.DragMode + + class CacheModeFlag(int): + CacheNone = ... # type: QGraphicsView.CacheModeFlag + CacheBackground = ... # type: QGraphicsView.CacheModeFlag + + class CacheMode(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGraphicsView.CacheMode', 'QGraphicsView.CacheModeFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGraphicsView.CacheMode') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGraphicsView.CacheMode': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class OptimizationFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QGraphicsView.OptimizationFlags', 'QGraphicsView.OptimizationFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QGraphicsView.OptimizationFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QGraphicsView.OptimizationFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, scene: QGraphicsScene, parent: typing.Optional[QWidget] = ...) -> None: ... + + def rubberBandChanged(self, viewportRect: QtCore.QRect, fromScenePoint: typing.Union[QtCore.QPointF, QtCore.QPoint], toScenePoint: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def rubberBandRect(self) -> QtCore.QRect: ... + def isTransformed(self) -> bool: ... + def resetTransform(self) -> None: ... + def setTransform(self, matrix: QtGui.QTransform, combine: bool = ...) -> None: ... + def viewportTransform(self) -> QtGui.QTransform: ... + def transform(self) -> QtGui.QTransform: ... + def setRubberBandSelectionMode(self, mode: QtCore.Qt.ItemSelectionMode) -> None: ... + def rubberBandSelectionMode(self) -> QtCore.Qt.ItemSelectionMode: ... + def setOptimizationFlags(self, flags: typing.Union['QGraphicsView.OptimizationFlags', 'QGraphicsView.OptimizationFlag']) -> None: ... + def setOptimizationFlag(self, flag: 'QGraphicsView.OptimizationFlag', enabled: bool = ...) -> None: ... + def optimizationFlags(self) -> 'QGraphicsView.OptimizationFlags': ... + def setViewportUpdateMode(self, mode: 'QGraphicsView.ViewportUpdateMode') -> None: ... + def viewportUpdateMode(self) -> 'QGraphicsView.ViewportUpdateMode': ... + def drawForeground(self, painter: QtGui.QPainter, rect: QtCore.QRectF) -> None: ... + def drawBackground(self, painter: QtGui.QPainter, rect: QtCore.QRectF) -> None: ... + def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ... + def showEvent(self, event: QtGui.QShowEvent) -> None: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... + def paintEvent(self, event: QtGui.QPaintEvent) -> None: ... + def wheelEvent(self, event: QtGui.QWheelEvent) -> None: ... + def mouseReleaseEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mouseDoubleClickEvent(self, event: QtGui.QMouseEvent) -> None: ... + def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ... + def dropEvent(self, event: QtGui.QDropEvent) -> None: ... + def dragMoveEvent(self, event: QtGui.QDragMoveEvent) -> None: ... + def dragLeaveEvent(self, event: QtGui.QDragLeaveEvent) -> None: ... + def dragEnterEvent(self, event: QtGui.QDragEnterEvent) -> None: ... + def contextMenuEvent(self, event: QtGui.QContextMenuEvent) -> None: ... + def viewportEvent(self, event: QtCore.QEvent) -> bool: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def setupViewport(self, widget: QWidget) -> None: ... + def updateSceneRect(self, rect: QtCore.QRectF) -> None: ... + def updateScene(self, rects: typing.Iterable[QtCore.QRectF]) -> None: ... + def invalidateScene(self, rect: QtCore.QRectF = ..., layers: typing.Union[QGraphicsScene.SceneLayers, QGraphicsScene.SceneLayer] = ...) -> None: ... + def setForegroundBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def foregroundBrush(self) -> QtGui.QBrush: ... + def setBackgroundBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def backgroundBrush(self) -> QtGui.QBrush: ... + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + @typing.overload + def mapFromScene(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPoint: ... + @typing.overload + def mapFromScene(self, rect: QtCore.QRectF) -> QtGui.QPolygon: ... + @typing.overload + def mapFromScene(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygon: ... + @typing.overload + def mapFromScene(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ... + @typing.overload + def mapFromScene(self, ax: float, ay: float) -> QtCore.QPoint: ... + @typing.overload + def mapFromScene(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygon: ... + @typing.overload + def mapToScene(self, point: QtCore.QPoint) -> QtCore.QPointF: ... + @typing.overload + def mapToScene(self, rect: QtCore.QRect) -> QtGui.QPolygonF: ... + @typing.overload + def mapToScene(self, polygon: QtGui.QPolygon) -> QtGui.QPolygonF: ... + @typing.overload + def mapToScene(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ... + @typing.overload + def mapToScene(self, ax: int, ay: int) -> QtCore.QPointF: ... + @typing.overload + def mapToScene(self, ax: int, ay: int, w: int, h: int) -> QtGui.QPolygonF: ... + @typing.overload + def itemAt(self, pos: QtCore.QPoint) -> QGraphicsItem: ... + @typing.overload + def itemAt(self, ax: int, ay: int) -> QGraphicsItem: ... + @typing.overload + def items(self) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, pos: QtCore.QPoint) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, x: int, y: int) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, x: int, y: int, w: int, h: int, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, rect: QtCore.QRect, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, polygon: QtGui.QPolygon, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ... + @typing.overload + def items(self, path: QtGui.QPainterPath, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ... + def render(self, painter: QtGui.QPainter, target: QtCore.QRectF = ..., source: QtCore.QRect = ..., mode: QtCore.Qt.AspectRatioMode = ...) -> None: ... + @typing.overload + def fitInView(self, rect: QtCore.QRectF, mode: QtCore.Qt.AspectRatioMode = ...) -> None: ... + @typing.overload + def fitInView(self, item: QGraphicsItem, mode: QtCore.Qt.AspectRatioMode = ...) -> None: ... + @typing.overload + def fitInView(self, x: float, y: float, w: float, h: float, mode: QtCore.Qt.AspectRatioMode = ...) -> None: ... + @typing.overload + def ensureVisible(self, rect: QtCore.QRectF, xMargin: int = ..., yMargin: int = ...) -> None: ... + @typing.overload + def ensureVisible(self, item: QGraphicsItem, xMargin: int = ..., yMargin: int = ...) -> None: ... + @typing.overload + def ensureVisible(self, x: float, y: float, w: float, h: float, xMargin: int = ..., yMargin: int = ...) -> None: ... + @typing.overload + def centerOn(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def centerOn(self, item: QGraphicsItem) -> None: ... + @typing.overload + def centerOn(self, ax: float, ay: float) -> None: ... + def translate(self, dx: float, dy: float) -> None: ... + def shear(self, sh: float, sv: float) -> None: ... + def scale(self, sx: float, sy: float) -> None: ... + def rotate(self, angle: float) -> None: ... + @typing.overload + def setSceneRect(self, rect: QtCore.QRectF) -> None: ... + @typing.overload + def setSceneRect(self, ax: float, ay: float, aw: float, ah: float) -> None: ... + def sceneRect(self) -> QtCore.QRectF: ... + def setScene(self, scene: QGraphicsScene) -> None: ... + def scene(self) -> QGraphicsScene: ... + def setInteractive(self, allowed: bool) -> None: ... + def isInteractive(self) -> bool: ... + def resetCachedContent(self) -> None: ... + def setCacheMode(self, mode: typing.Union['QGraphicsView.CacheMode', 'QGraphicsView.CacheModeFlag']) -> None: ... + def cacheMode(self) -> 'QGraphicsView.CacheMode': ... + def setDragMode(self, mode: 'QGraphicsView.DragMode') -> None: ... + def dragMode(self) -> 'QGraphicsView.DragMode': ... + def setResizeAnchor(self, anchor: 'QGraphicsView.ViewportAnchor') -> None: ... + def resizeAnchor(self) -> 'QGraphicsView.ViewportAnchor': ... + def setTransformationAnchor(self, anchor: 'QGraphicsView.ViewportAnchor') -> None: ... + def transformationAnchor(self) -> 'QGraphicsView.ViewportAnchor': ... + def setAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def setRenderHints(self, hints: typing.Union[QtGui.QPainter.RenderHints, QtGui.QPainter.RenderHint]) -> None: ... + def setRenderHint(self, hint: QtGui.QPainter.RenderHint, on: bool = ...) -> None: ... + def renderHints(self) -> QtGui.QPainter.RenderHints: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QGridLayout(QLayout): + + @typing.overload + def __init__(self, parent: QWidget) -> None: ... + @typing.overload + def __init__(self) -> None: ... + + def itemAtPosition(self, row: int, column: int) -> QLayoutItem: ... + def spacing(self) -> int: ... + def setSpacing(self, spacing: int) -> None: ... + def verticalSpacing(self) -> int: ... + def setVerticalSpacing(self, spacing: int) -> None: ... + def horizontalSpacing(self) -> int: ... + def setHorizontalSpacing(self, spacing: int) -> None: ... + def getItemPosition(self, idx: int) -> typing.Tuple[int, int, int, int]: ... + def setDefaultPositioning(self, n: int, orient: QtCore.Qt.Orientation) -> None: ... + @typing.overload + def addItem(self, item: QLayoutItem, row: int, column: int, rowSpan: int = ..., columnSpan: int = ..., alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + @typing.overload + def addItem(self, a0: QLayoutItem) -> None: ... + def setGeometry(self, a0: QtCore.QRect) -> None: ... + def count(self) -> int: ... + def takeAt(self, a0: int) -> QLayoutItem: ... + def itemAt(self, a0: int) -> QLayoutItem: ... + def originCorner(self) -> QtCore.Qt.Corner: ... + def setOriginCorner(self, a0: QtCore.Qt.Corner) -> None: ... + @typing.overload + def addLayout(self, a0: QLayout, row: int, column: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + @typing.overload + def addLayout(self, a0: QLayout, row: int, column: int, rowSpan: int, columnSpan: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + @typing.overload + def addWidget(self, w: QWidget) -> None: ... + @typing.overload + def addWidget(self, a0: QWidget, row: int, column: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + @typing.overload + def addWidget(self, a0: QWidget, row: int, column: int, rowSpan: int, columnSpan: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... + def invalidate(self) -> None: ... + def expandingDirections(self) -> QtCore.Qt.Orientations: ... + def minimumHeightForWidth(self, a0: int) -> int: ... + def heightForWidth(self, a0: int) -> int: ... + def hasHeightForWidth(self) -> bool: ... + def cellRect(self, row: int, column: int) -> QtCore.QRect: ... + def rowCount(self) -> int: ... + def columnCount(self) -> int: ... + def columnMinimumWidth(self, column: int) -> int: ... + def rowMinimumHeight(self, row: int) -> int: ... + def setColumnMinimumWidth(self, column: int, minSize: int) -> None: ... + def setRowMinimumHeight(self, row: int, minSize: int) -> None: ... + def columnStretch(self, column: int) -> int: ... + def rowStretch(self, row: int) -> int: ... + def setColumnStretch(self, column: int, stretch: int) -> None: ... + def setRowStretch(self, row: int, stretch: int) -> None: ... + def maximumSize(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QGroupBox(QWidget): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, title: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + def mouseReleaseEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def childEvent(self, a0: QtCore.QChildEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def initStyleOption(self, option: 'QStyleOptionGroupBox') -> None: ... + def toggled(self, a0: bool) -> None: ... + def clicked(self, checked: bool = ...) -> None: ... + def setChecked(self, b: bool) -> None: ... + def isChecked(self) -> bool: ... + def setCheckable(self, b: bool) -> None: ... + def isCheckable(self) -> bool: ... + def setFlat(self, b: bool) -> None: ... + def isFlat(self) -> bool: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def setAlignment(self, a0: int) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def setTitle(self, a0: str) -> None: ... + def title(self) -> str: ... + + +class QHeaderView(QAbstractItemView): + + class ResizeMode(int): + Interactive = ... # type: QHeaderView.ResizeMode + Fixed = ... # type: QHeaderView.ResizeMode + Stretch = ... # type: QHeaderView.ResizeMode + ResizeToContents = ... # type: QHeaderView.ResizeMode + Custom = ... # type: QHeaderView.ResizeMode + + def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ... + + def isFirstSectionMovable(self) -> bool: ... + def setFirstSectionMovable(self, movable: bool) -> None: ... + def resetDefaultSectionSize(self) -> None: ... + def setMaximumSectionSize(self, size: int) -> None: ... + def maximumSectionSize(self) -> int: ... + def resizeContentsPrecision(self) -> int: ... + def setResizeContentsPrecision(self, precision: int) -> None: ... + def setVisible(self, v: bool) -> None: ... + @typing.overload + def setSectionResizeMode(self, logicalIndex: int, mode: 'QHeaderView.ResizeMode') -> None: ... + @typing.overload + def setSectionResizeMode(self, mode: 'QHeaderView.ResizeMode') -> None: ... + def sectionResizeMode(self, logicalIndex: int) -> 'QHeaderView.ResizeMode': ... + def sectionsClickable(self) -> bool: ... + def setSectionsClickable(self, clickable: bool) -> None: ... + def sectionsMovable(self) -> bool: ... + def setSectionsMovable(self, movable: bool) -> None: ... + def initStyleOption(self, option: 'QStyleOptionHeader') -> None: ... + def sortIndicatorChanged(self, logicalIndex: int, order: QtCore.Qt.SortOrder) -> None: ... + def sectionEntered(self, logicalIndex: int) -> None: ... + def setOffsetToLastSection(self) -> None: ... + def reset(self) -> None: ... + def restoreState(self, state: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def saveState(self) -> QtCore.QByteArray: ... + def setMinimumSectionSize(self, size: int) -> None: ... + def minimumSectionSize(self) -> int: ... + def setCascadingSectionResizes(self, enable: bool) -> None: ... + def cascadingSectionResizes(self) -> bool: ... + def swapSections(self, first: int, second: int) -> None: ... + def sectionsHidden(self) -> bool: ... + def setDefaultAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def defaultAlignment(self) -> QtCore.Qt.Alignment: ... + def setDefaultSectionSize(self, size: int) -> None: ... + def defaultSectionSize(self) -> int: ... + def hiddenSectionCount(self) -> int: ... + def showSection(self, alogicalIndex: int) -> None: ... + def hideSection(self, alogicalIndex: int) -> None: ... + def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ... + def setSelection(self, rect: QtCore.QRect, flags: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def moveCursor(self, a0: QAbstractItemView.CursorAction, a1: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ... + def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ... + def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ... + def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint) -> None: ... + def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... + def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... + def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def updateGeometries(self) -> None: ... + def verticalOffset(self) -> int: ... + def horizontalOffset(self) -> int: ... + def sectionSizeFromContents(self, logicalIndex: int) -> QtCore.QSize: ... + def paintSection(self, painter: QtGui.QPainter, rect: QtCore.QRect, logicalIndex: int) -> None: ... + def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def viewportEvent(self, e: QtCore.QEvent) -> bool: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def currentChanged(self, current: QtCore.QModelIndex, old: QtCore.QModelIndex) -> None: ... + @typing.overload + def initializeSections(self) -> None: ... + @typing.overload + def initializeSections(self, start: int, end: int) -> None: ... + def initialize(self) -> None: ... + def sectionsAboutToBeRemoved(self, parent: QtCore.QModelIndex, logicalFirst: int, logicalLast: int) -> None: ... + def sectionsInserted(self, parent: QtCore.QModelIndex, logicalFirst: int, logicalLast: int) -> None: ... + @typing.overload + def resizeSections(self) -> None: ... + @typing.overload + def resizeSections(self, mode: 'QHeaderView.ResizeMode') -> None: ... + def updateSection(self, logicalIndex: int) -> None: ... + def sectionHandleDoubleClicked(self, logicalIndex: int) -> None: ... + def sectionCountChanged(self, oldCount: int, newCount: int) -> None: ... + def sectionDoubleClicked(self, logicalIndex: int) -> None: ... + def sectionClicked(self, logicalIndex: int) -> None: ... + def sectionPressed(self, logicalIndex: int) -> None: ... + def sectionResized(self, logicalIndex: int, oldSize: int, newSize: int) -> None: ... + def sectionMoved(self, logicalIndex: int, oldVisualIndex: int, newVisualIndex: int) -> None: ... + def geometriesChanged(self) -> None: ... + def setOffsetToSectionPosition(self, visualIndex: int) -> None: ... + def headerDataChanged(self, orientation: QtCore.Qt.Orientation, logicalFirst: int, logicalLast: int) -> None: ... + def setOffset(self, offset: int) -> None: ... + def sectionsMoved(self) -> bool: ... + def setStretchLastSection(self, stretch: bool) -> None: ... + def stretchLastSection(self) -> bool: ... + def sortIndicatorOrder(self) -> QtCore.Qt.SortOrder: ... + def sortIndicatorSection(self) -> int: ... + def setSortIndicator(self, logicalIndex: int, order: QtCore.Qt.SortOrder) -> None: ... + def isSortIndicatorShown(self) -> bool: ... + def setSortIndicatorShown(self, show: bool) -> None: ... + def stretchSectionCount(self) -> int: ... + def highlightSections(self) -> bool: ... + def setHighlightSections(self, highlight: bool) -> None: ... + def logicalIndex(self, visualIndex: int) -> int: ... + def visualIndex(self, logicalIndex: int) -> int: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def setSectionHidden(self, logicalIndex: int, hide: bool) -> None: ... + def isSectionHidden(self, logicalIndex: int) -> bool: ... + def resizeSection(self, logicalIndex: int, size: int) -> None: ... + def moveSection(self, from_: int, to: int) -> None: ... + def sectionViewportPosition(self, logicalIndex: int) -> int: ... + def sectionPosition(self, logicalIndex: int) -> int: ... + def sectionSize(self, logicalIndex: int) -> int: ... + @typing.overload + def logicalIndexAt(self, position: int) -> int: ... + @typing.overload + def logicalIndexAt(self, ax: int, ay: int) -> int: ... + @typing.overload + def logicalIndexAt(self, apos: QtCore.QPoint) -> int: ... + def visualIndexAt(self, position: int) -> int: ... + def sectionSizeHint(self, logicalIndex: int) -> int: ... + def sizeHint(self) -> QtCore.QSize: ... + def length(self) -> int: ... + def offset(self) -> int: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... + + +class QInputDialog(QDialog): + + class InputMode(int): + TextInput = ... # type: QInputDialog.InputMode + IntInput = ... # type: QInputDialog.InputMode + DoubleInput = ... # type: QInputDialog.InputMode + + class InputDialogOption(int): + NoButtons = ... # type: QInputDialog.InputDialogOption + UseListViewForComboBoxItems = ... # type: QInputDialog.InputDialogOption + UsePlainTextEditForTextInput = ... # type: QInputDialog.InputDialogOption + + class InputDialogOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QInputDialog.InputDialogOptions', 'QInputDialog.InputDialogOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QInputDialog.InputDialogOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QInputDialog.InputDialogOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def doubleStep(self) -> float: ... + def setDoubleStep(self, step: float) -> None: ... + def doubleValueSelected(self, value: float) -> None: ... + def doubleValueChanged(self, value: float) -> None: ... + def intValueSelected(self, value: int) -> None: ... + def intValueChanged(self, value: int) -> None: ... + def textValueSelected(self, text: str) -> None: ... + def textValueChanged(self, text: str) -> None: ... + def done(self, result: int) -> None: ... + def setVisible(self, visible: bool) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def cancelButtonText(self) -> str: ... + def setCancelButtonText(self, text: str) -> None: ... + def okButtonText(self) -> str: ... + def setOkButtonText(self, text: str) -> None: ... + def doubleDecimals(self) -> int: ... + def setDoubleDecimals(self, decimals: int) -> None: ... + def setDoubleRange(self, min: float, max: float) -> None: ... + def doubleMaximum(self) -> float: ... + def setDoubleMaximum(self, max: float) -> None: ... + def doubleMinimum(self) -> float: ... + def setDoubleMinimum(self, min: float) -> None: ... + def doubleValue(self) -> float: ... + def setDoubleValue(self, value: float) -> None: ... + def intStep(self) -> int: ... + def setIntStep(self, step: int) -> None: ... + def setIntRange(self, min: int, max: int) -> None: ... + def intMaximum(self) -> int: ... + def setIntMaximum(self, max: int) -> None: ... + def intMinimum(self) -> int: ... + def setIntMinimum(self, min: int) -> None: ... + def intValue(self) -> int: ... + def setIntValue(self, value: int) -> None: ... + def comboBoxItems(self) -> typing.List[str]: ... + def setComboBoxItems(self, items: typing.Iterable[str]) -> None: ... + def isComboBoxEditable(self) -> bool: ... + def setComboBoxEditable(self, editable: bool) -> None: ... + def textEchoMode(self) -> 'QLineEdit.EchoMode': ... + def setTextEchoMode(self, mode: 'QLineEdit.EchoMode') -> None: ... + def textValue(self) -> str: ... + def setTextValue(self, text: str) -> None: ... + def options(self) -> 'QInputDialog.InputDialogOptions': ... + def setOptions(self, options: typing.Union['QInputDialog.InputDialogOptions', 'QInputDialog.InputDialogOption']) -> None: ... + def testOption(self, option: 'QInputDialog.InputDialogOption') -> bool: ... + def setOption(self, option: 'QInputDialog.InputDialogOption', on: bool = ...) -> None: ... + def labelText(self) -> str: ... + def setLabelText(self, text: str) -> None: ... + def inputMode(self) -> 'QInputDialog.InputMode': ... + def setInputMode(self, mode: 'QInputDialog.InputMode') -> None: ... + @staticmethod + def getMultiLineText(parent: QWidget, title: str, label: str, text: str = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ..., inputMethodHints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint] = ...) -> typing.Tuple[str, bool]: ... + @staticmethod + def getItem(parent: QWidget, title: str, label: str, items: typing.Iterable[str], current: int = ..., editable: bool = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ..., inputMethodHints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint] = ...) -> typing.Tuple[str, bool]: ... + @typing.overload + @staticmethod + def getDouble(parent: QWidget, title: str, label: str, value: float = ..., min: float = ..., max: float = ..., decimals: int = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> typing.Tuple[float, bool]: ... + @typing.overload + @staticmethod + def getDouble(parent: QWidget, title: str, label: str, value: float, minValue: float, maxValue: float, decimals: int, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType], step: float) -> typing.Tuple[float, bool]: ... + @staticmethod + def getInt(parent: QWidget, title: str, label: str, value: int = ..., min: int = ..., max: int = ..., step: int = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> typing.Tuple[int, bool]: ... + @staticmethod + def getText(parent: QWidget, title: str, label: str, echo: 'QLineEdit.EchoMode' = ..., text: str = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ..., inputMethodHints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint] = ...) -> typing.Tuple[str, bool]: ... + + +class QItemDelegate(QAbstractItemDelegate): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def editorEvent(self, event: QtCore.QEvent, model: QtCore.QAbstractItemModel, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ... + def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def drawFocus(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', rect: QtCore.QRect) -> None: ... + def drawDisplay(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', rect: QtCore.QRect, text: str) -> None: ... + def drawDecoration(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', rect: QtCore.QRect, pixmap: QtGui.QPixmap) -> None: ... + def drawCheck(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', rect: QtCore.QRect, state: QtCore.Qt.CheckState) -> None: ... + def drawBackground(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... + def setClipping(self, clip: bool) -> None: ... + def hasClipping(self) -> bool: ... + def setItemEditorFactory(self, factory: 'QItemEditorFactory') -> None: ... + def itemEditorFactory(self) -> 'QItemEditorFactory': ... + def updateEditorGeometry(self, editor: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... + def setModelData(self, editor: QWidget, model: QtCore.QAbstractItemModel, index: QtCore.QModelIndex) -> None: ... + def setEditorData(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ... + def createEditor(self, parent: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QWidget: ... + def sizeHint(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QtCore.QSize: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... + + +class QItemEditorCreatorBase(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QItemEditorCreatorBase') -> None: ... + + def valuePropertyName(self) -> QtCore.QByteArray: ... + def createWidget(self, parent: QWidget) -> QWidget: ... + + +class QItemEditorFactory(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QItemEditorFactory') -> None: ... + + @staticmethod + def setDefaultFactory(factory: 'QItemEditorFactory') -> None: ... + @staticmethod + def defaultFactory() -> 'QItemEditorFactory': ... + def registerEditor(self, userType: int, creator: QItemEditorCreatorBase) -> None: ... + def valuePropertyName(self, userType: int) -> QtCore.QByteArray: ... + def createEditor(self, userType: int, parent: QWidget) -> QWidget: ... + + +class QKeyEventTransition(QtCore.QEventTransition): + + @typing.overload + def __init__(self, sourceState: typing.Optional[QtCore.QState] = ...) -> None: ... + @typing.overload + def __init__(self, object: QtCore.QObject, type: QtCore.QEvent.Type, key: int, sourceState: typing.Optional[QtCore.QState] = ...) -> None: ... + + def eventTest(self, event: QtCore.QEvent) -> bool: ... + def onTransition(self, event: QtCore.QEvent) -> None: ... + def setModifierMask(self, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ... + def modifierMask(self) -> QtCore.Qt.KeyboardModifiers: ... + def setKey(self, key: int) -> None: ... + def key(self) -> int: ... + + +class QKeySequenceEdit(QWidget): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, keySequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], parent: typing.Optional[QWidget] = ...) -> None: ... + + def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... + def keyReleaseEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def keySequenceChanged(self, keySequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... + def editingFinished(self) -> None: ... + def clear(self) -> None: ... + def setKeySequence(self, keySequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... + def keySequence(self) -> QtGui.QKeySequence: ... + + +class QLabel(QFrame): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def selectionStart(self) -> int: ... + def selectedText(self) -> str: ... + def hasSelectedText(self) -> bool: ... + def setSelection(self, a0: int, a1: int) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def focusOutEvent(self, ev: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, ev: QtGui.QFocusEvent) -> None: ... + def contextMenuEvent(self, ev: QtGui.QContextMenuEvent) -> None: ... + def mouseReleaseEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def keyPressEvent(self, ev: QtGui.QKeyEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def linkHovered(self, link: str) -> None: ... + def linkActivated(self, link: str) -> None: ... + def setText(self, a0: str) -> None: ... + def setPixmap(self, a0: QtGui.QPixmap) -> None: ... + def setPicture(self, a0: QtGui.QPicture) -> None: ... + @typing.overload + def setNum(self, a0: float) -> None: ... + @typing.overload + def setNum(self, a0: int) -> None: ... + def setMovie(self, movie: QtGui.QMovie) -> None: ... + def clear(self) -> None: ... + def setOpenExternalLinks(self, open: bool) -> None: ... + def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ... + def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ... + def openExternalLinks(self) -> bool: ... + def heightForWidth(self, a0: int) -> int: ... + def buddy(self) -> QWidget: ... + def setBuddy(self, a0: QWidget) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def setScaledContents(self, a0: bool) -> None: ... + def hasScaledContents(self) -> bool: ... + def setMargin(self, a0: int) -> None: ... + def margin(self) -> int: ... + def setIndent(self, a0: int) -> None: ... + def indent(self) -> int: ... + def wordWrap(self) -> bool: ... + def setWordWrap(self, on: bool) -> None: ... + def setAlignment(self, a0: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def setTextFormat(self, a0: QtCore.Qt.TextFormat) -> None: ... + def textFormat(self) -> QtCore.Qt.TextFormat: ... + def movie(self) -> QtGui.QMovie: ... + def picture(self) -> QtGui.QPicture: ... + def pixmap(self) -> QtGui.QPixmap: ... + def text(self) -> str: ... + + +class QSpacerItem(QLayoutItem): + + @typing.overload + def __init__(self, w: int, h: int, hPolicy: 'QSizePolicy.Policy' = ..., vPolicy: 'QSizePolicy.Policy' = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QSpacerItem') -> None: ... + + def sizePolicy(self) -> 'QSizePolicy': ... + def spacerItem(self) -> 'QSpacerItem': ... + def geometry(self) -> QtCore.QRect: ... + def setGeometry(self, a0: QtCore.QRect) -> None: ... + def isEmpty(self) -> bool: ... + def expandingDirections(self) -> QtCore.Qt.Orientations: ... + def maximumSize(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def changeSize(self, w: int, h: int, hPolicy: 'QSizePolicy.Policy' = ..., vPolicy: 'QSizePolicy.Policy' = ...) -> None: ... + + +class QWidgetItem(QLayoutItem): + + def __init__(self, w: QWidget) -> None: ... + + def controlTypes(self) -> 'QSizePolicy.ControlTypes': ... + def heightForWidth(self, a0: int) -> int: ... + def hasHeightForWidth(self) -> bool: ... + def widget(self) -> QWidget: ... + def geometry(self) -> QtCore.QRect: ... + def setGeometry(self, a0: QtCore.QRect) -> None: ... + def isEmpty(self) -> bool: ... + def expandingDirections(self) -> QtCore.Qt.Orientations: ... + def maximumSize(self) -> QtCore.QSize: ... + def minimumSize(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QLCDNumber(QFrame): + + class SegmentStyle(int): + Outline = ... # type: QLCDNumber.SegmentStyle + Filled = ... # type: QLCDNumber.SegmentStyle + Flat = ... # type: QLCDNumber.SegmentStyle + + class Mode(int): + Hex = ... # type: QLCDNumber.Mode + Dec = ... # type: QLCDNumber.Mode + Oct = ... # type: QLCDNumber.Mode + Bin = ... # type: QLCDNumber.Mode + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, numDigits: int, parent: typing.Optional[QWidget] = ...) -> None: ... + + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def overflow(self) -> None: ... + def setSmallDecimalPoint(self, a0: bool) -> None: ... + def setBinMode(self) -> None: ... + def setOctMode(self) -> None: ... + def setDecMode(self) -> None: ... + def setHexMode(self) -> None: ... + @typing.overload + def display(self, str: str) -> None: ... + @typing.overload + def display(self, num: float) -> None: ... + @typing.overload + def display(self, num: int) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def intValue(self) -> int: ... + def value(self) -> float: ... + def setSegmentStyle(self, a0: 'QLCDNumber.SegmentStyle') -> None: ... + def segmentStyle(self) -> 'QLCDNumber.SegmentStyle': ... + def setMode(self, a0: 'QLCDNumber.Mode') -> None: ... + def mode(self) -> 'QLCDNumber.Mode': ... + @typing.overload + def checkOverflow(self, num: float) -> bool: ... + @typing.overload + def checkOverflow(self, num: int) -> bool: ... + def setNumDigits(self, nDigits: int) -> None: ... + def setDigitCount(self, nDigits: int) -> None: ... + def digitCount(self) -> int: ... + def smallDecimalPoint(self) -> bool: ... + + +class QLineEdit(QWidget): + + class ActionPosition(int): + LeadingPosition = ... # type: QLineEdit.ActionPosition + TrailingPosition = ... # type: QLineEdit.ActionPosition + + class EchoMode(int): + Normal = ... # type: QLineEdit.EchoMode + NoEcho = ... # type: QLineEdit.EchoMode + Password = ... # type: QLineEdit.EchoMode + PasswordEchoOnEdit = ... # type: QLineEdit.EchoMode + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, contents: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + def inputRejected(self) -> None: ... + def selectionLength(self) -> int: ... + def selectionEnd(self) -> int: ... + @typing.overload + def addAction(self, action: QAction) -> None: ... + @typing.overload + def addAction(self, action: QAction, position: 'QLineEdit.ActionPosition') -> None: ... + @typing.overload + def addAction(self, icon: QtGui.QIcon, position: 'QLineEdit.ActionPosition') -> QAction: ... + def isClearButtonEnabled(self) -> bool: ... + def setClearButtonEnabled(self, enable: bool) -> None: ... + def cursorMoveStyle(self) -> QtCore.Qt.CursorMoveStyle: ... + def setCursorMoveStyle(self, style: QtCore.Qt.CursorMoveStyle) -> None: ... + def setPlaceholderText(self, a0: str) -> None: ... + def placeholderText(self) -> str: ... + def textMargins(self) -> QtCore.QMargins: ... + def getTextMargins(self) -> typing.Tuple[int, int, int, int]: ... + @typing.overload + def setTextMargins(self, left: int, top: int, right: int, bottom: int) -> None: ... + @typing.overload + def setTextMargins(self, margins: QtCore.QMargins) -> None: ... + def completer(self) -> QCompleter: ... + def setCompleter(self, completer: QCompleter) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + @typing.overload + def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + @typing.overload + def inputMethodQuery(self, property: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ... + def cursorRect(self) -> QtCore.QRect: ... + def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ... + def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def dropEvent(self, a0: QtGui.QDropEvent) -> None: ... + def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... + def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... + def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def initStyleOption(self, option: 'QStyleOptionFrame') -> None: ... + def selectionChanged(self) -> None: ... + def editingFinished(self) -> None: ... + def returnPressed(self) -> None: ... + def cursorPositionChanged(self, a0: int, a1: int) -> None: ... + def textEdited(self, a0: str) -> None: ... + def textChanged(self, a0: str) -> None: ... + def createStandardContextMenu(self) -> 'QMenu': ... + def insert(self, a0: str) -> None: ... + def deselect(self) -> None: ... + def paste(self) -> None: ... + def copy(self) -> None: ... + def cut(self) -> None: ... + def redo(self) -> None: ... + def undo(self) -> None: ... + def selectAll(self) -> None: ... + def clear(self) -> None: ... + def setText(self, a0: str) -> None: ... + def hasAcceptableInput(self) -> bool: ... + def setInputMask(self, inputMask: str) -> None: ... + def inputMask(self) -> str: ... + def dragEnabled(self) -> bool: ... + def setDragEnabled(self, b: bool) -> None: ... + def isRedoAvailable(self) -> bool: ... + def isUndoAvailable(self) -> bool: ... + def selectionStart(self) -> int: ... + def selectedText(self) -> str: ... + def hasSelectedText(self) -> bool: ... + def setSelection(self, a0: int, a1: int) -> None: ... + def setModified(self, a0: bool) -> None: ... + def isModified(self) -> bool: ... + def end(self, mark: bool) -> None: ... + def home(self, mark: bool) -> None: ... + def del_(self) -> None: ... + def backspace(self) -> None: ... + def cursorWordBackward(self, mark: bool) -> None: ... + def cursorWordForward(self, mark: bool) -> None: ... + def cursorBackward(self, mark: bool, steps: int = ...) -> None: ... + def cursorForward(self, mark: bool, steps: int = ...) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def setAlignment(self, flag: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def cursorPositionAt(self, pos: QtCore.QPoint) -> int: ... + def setCursorPosition(self, a0: int) -> None: ... + def cursorPosition(self) -> int: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def validator(self) -> QtGui.QValidator: ... + def setValidator(self, a0: QtGui.QValidator) -> None: ... + def setReadOnly(self, a0: bool) -> None: ... + def isReadOnly(self) -> bool: ... + def setEchoMode(self, a0: 'QLineEdit.EchoMode') -> None: ... + def echoMode(self) -> 'QLineEdit.EchoMode': ... + def hasFrame(self) -> bool: ... + def setFrame(self, a0: bool) -> None: ... + def setMaxLength(self, a0: int) -> None: ... + def maxLength(self) -> int: ... + def displayText(self) -> str: ... + def text(self) -> str: ... + + +class QListView(QAbstractItemView): + + class ViewMode(int): + ListMode = ... # type: QListView.ViewMode + IconMode = ... # type: QListView.ViewMode + + class LayoutMode(int): + SinglePass = ... # type: QListView.LayoutMode + Batched = ... # type: QListView.LayoutMode + + class ResizeMode(int): + Fixed = ... # type: QListView.ResizeMode + Adjust = ... # type: QListView.ResizeMode + + class Flow(int): + LeftToRight = ... # type: QListView.Flow + TopToBottom = ... # type: QListView.Flow + + class Movement(int): + Static = ... # type: QListView.Movement + Free = ... # type: QListView.Movement + Snap = ... # type: QListView.Movement + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def itemAlignment(self) -> QtCore.Qt.Alignment: ... + def setItemAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ... + def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ... + def isSelectionRectVisible(self) -> bool: ... + def setSelectionRectVisible(self, show: bool) -> None: ... + def wordWrap(self) -> bool: ... + def setWordWrap(self, on: bool) -> None: ... + def batchSize(self) -> int: ... + def setBatchSize(self, batchSize: int) -> None: ... + def viewportSizeHint(self) -> QtCore.QSize: ... + def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ... + def updateGeometries(self) -> None: ... + def selectedIndexes(self) -> typing.List[QtCore.QModelIndex]: ... + def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ... + def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def setPositionForIndex(self, position: QtCore.QPoint, index: QtCore.QModelIndex) -> None: ... + def rectForIndex(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... + def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ... + def verticalOffset(self) -> int: ... + def horizontalOffset(self) -> int: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def viewOptions(self) -> 'QStyleOptionViewItem': ... + def startDrag(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction]) -> None: ... + def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... + def dropEvent(self, e: QtGui.QDropEvent) -> None: ... + def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... + def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... + def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... + def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... + def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def rowsAboutToBeRemoved(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... + def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... + def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def indexesMoved(self, indexes: typing.Iterable[QtCore.QModelIndex]) -> None: ... + def setRootIndex(self, index: QtCore.QModelIndex) -> None: ... + def reset(self) -> None: ... + def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ... + def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ... + def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... + def uniformItemSizes(self) -> bool: ... + def setUniformItemSizes(self, enable: bool) -> None: ... + def modelColumn(self) -> int: ... + def setModelColumn(self, column: int) -> None: ... + def setRowHidden(self, row: int, hide: bool) -> None: ... + def isRowHidden(self, row: int) -> bool: ... + def clearPropertyFlags(self) -> None: ... + def viewMode(self) -> 'QListView.ViewMode': ... + def setViewMode(self, mode: 'QListView.ViewMode') -> None: ... + def gridSize(self) -> QtCore.QSize: ... + def setGridSize(self, size: QtCore.QSize) -> None: ... + def spacing(self) -> int: ... + def setSpacing(self, space: int) -> None: ... + def layoutMode(self) -> 'QListView.LayoutMode': ... + def setLayoutMode(self, mode: 'QListView.LayoutMode') -> None: ... + def resizeMode(self) -> 'QListView.ResizeMode': ... + def setResizeMode(self, mode: 'QListView.ResizeMode') -> None: ... + def isWrapping(self) -> bool: ... + def setWrapping(self, enable: bool) -> None: ... + def flow(self) -> 'QListView.Flow': ... + def setFlow(self, flow: 'QListView.Flow') -> None: ... + def movement(self) -> 'QListView.Movement': ... + def setMovement(self, movement: 'QListView.Movement') -> None: ... + + +class QListWidgetItem(PyQt5.sip.wrapper): + + class ItemType(int): + Type = ... # type: QListWidgetItem.ItemType + UserType = ... # type: QListWidgetItem.ItemType + + @typing.overload + def __init__(self, parent: typing.Optional['QListWidget'] = ..., type: int = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional['QListWidget'] = ..., type: int = ...) -> None: ... + @typing.overload + def __init__(self, icon: QtGui.QIcon, text: str, parent: typing.Optional['QListWidget'] = ..., type: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QListWidgetItem') -> None: ... + + def isHidden(self) -> bool: ... + def setHidden(self, ahide: bool) -> None: ... + def isSelected(self) -> bool: ... + def setSelected(self, aselect: bool) -> None: ... + def setForeground(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def foreground(self) -> QtGui.QBrush: ... + def setBackground(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def background(self) -> QtGui.QBrush: ... + def setFont(self, afont: QtGui.QFont) -> None: ... + def setWhatsThis(self, awhatsThis: str) -> None: ... + def setToolTip(self, atoolTip: str) -> None: ... + def setStatusTip(self, astatusTip: str) -> None: ... + def setIcon(self, aicon: QtGui.QIcon) -> None: ... + def setText(self, atext: str) -> None: ... + def setFlags(self, aflags: typing.Union[QtCore.Qt.ItemFlags, QtCore.Qt.ItemFlag]) -> None: ... + def type(self) -> int: ... + def write(self, out: QtCore.QDataStream) -> None: ... + def read(self, in_: QtCore.QDataStream) -> None: ... + def setData(self, role: int, value: typing.Any) -> None: ... + def data(self, role: int) -> typing.Any: ... + def setSizeHint(self, size: QtCore.QSize) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def setCheckState(self, state: QtCore.Qt.CheckState) -> None: ... + def checkState(self) -> QtCore.Qt.CheckState: ... + def setTextAlignment(self, alignment: int) -> None: ... + def textAlignment(self) -> int: ... + def font(self) -> QtGui.QFont: ... + def whatsThis(self) -> str: ... + def toolTip(self) -> str: ... + def statusTip(self) -> str: ... + def icon(self) -> QtGui.QIcon: ... + def text(self) -> str: ... + def flags(self) -> QtCore.Qt.ItemFlags: ... + def listWidget(self) -> 'QListWidget': ... + def clone(self) -> 'QListWidgetItem': ... + + +class QListWidget(QListView): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def isPersistentEditorOpen(self, item: QListWidgetItem) -> bool: ... + def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ... + def removeItemWidget(self, aItem: QListWidgetItem) -> None: ... + def dropEvent(self, event: QtGui.QDropEvent) -> None: ... + def isSortingEnabled(self) -> bool: ... + def setSortingEnabled(self, enable: bool) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def itemFromIndex(self, index: QtCore.QModelIndex) -> QListWidgetItem: ... + def indexFromItem(self, item: QListWidgetItem) -> QtCore.QModelIndex: ... + def items(self, data: QtCore.QMimeData) -> typing.List[QListWidgetItem]: ... + def supportedDropActions(self) -> QtCore.Qt.DropActions: ... + def dropMimeData(self, index: int, data: QtCore.QMimeData, action: QtCore.Qt.DropAction) -> bool: ... + def mimeData(self, items: typing.Iterable[QListWidgetItem]) -> QtCore.QMimeData: ... + def mimeTypes(self) -> typing.List[str]: ... + def itemSelectionChanged(self) -> None: ... + def currentRowChanged(self, currentRow: int) -> None: ... + def currentTextChanged(self, currentText: str) -> None: ... + def currentItemChanged(self, current: QListWidgetItem, previous: QListWidgetItem) -> None: ... + def itemChanged(self, item: QListWidgetItem) -> None: ... + def itemEntered(self, item: QListWidgetItem) -> None: ... + def itemActivated(self, item: QListWidgetItem) -> None: ... + def itemDoubleClicked(self, item: QListWidgetItem) -> None: ... + def itemClicked(self, item: QListWidgetItem) -> None: ... + def itemPressed(self, item: QListWidgetItem) -> None: ... + def scrollToItem(self, item: QListWidgetItem, hint: QAbstractItemView.ScrollHint = ...) -> None: ... + def clear(self) -> None: ... + def findItems(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag]) -> typing.List[QListWidgetItem]: ... + def selectedItems(self) -> typing.List[QListWidgetItem]: ... + def closePersistentEditor(self, item: QListWidgetItem) -> None: ... + def openPersistentEditor(self, item: QListWidgetItem) -> None: ... + def editItem(self, item: QListWidgetItem) -> None: ... + def sortItems(self, order: QtCore.Qt.SortOrder = ...) -> None: ... + def visualItemRect(self, item: QListWidgetItem) -> QtCore.QRect: ... + def setItemWidget(self, item: QListWidgetItem, widget: QWidget) -> None: ... + def itemWidget(self, item: QListWidgetItem) -> QWidget: ... + @typing.overload + def itemAt(self, p: QtCore.QPoint) -> QListWidgetItem: ... + @typing.overload + def itemAt(self, ax: int, ay: int) -> QListWidgetItem: ... + @typing.overload + def setCurrentRow(self, row: int) -> None: ... + @typing.overload + def setCurrentRow(self, row: int, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def currentRow(self) -> int: ... + @typing.overload + def setCurrentItem(self, item: QListWidgetItem) -> None: ... + @typing.overload + def setCurrentItem(self, item: QListWidgetItem, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def currentItem(self) -> QListWidgetItem: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def takeItem(self, row: int) -> QListWidgetItem: ... + def addItems(self, labels: typing.Iterable[str]) -> None: ... + @typing.overload + def addItem(self, aitem: QListWidgetItem) -> None: ... + @typing.overload + def addItem(self, label: str) -> None: ... + def insertItems(self, row: int, labels: typing.Iterable[str]) -> None: ... + @typing.overload + def insertItem(self, row: int, item: QListWidgetItem) -> None: ... + @typing.overload + def insertItem(self, row: int, label: str) -> None: ... + def row(self, item: QListWidgetItem) -> int: ... + def item(self, row: int) -> QListWidgetItem: ... + + +class QMainWindow(QWidget): + + class DockOption(int): + AnimatedDocks = ... # type: QMainWindow.DockOption + AllowNestedDocks = ... # type: QMainWindow.DockOption + AllowTabbedDocks = ... # type: QMainWindow.DockOption + ForceTabbedDocks = ... # type: QMainWindow.DockOption + VerticalTabs = ... # type: QMainWindow.DockOption + GroupedDragging = ... # type: QMainWindow.DockOption + + class DockOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QMainWindow.DockOptions', 'QMainWindow.DockOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QMainWindow.DockOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QMainWindow.DockOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def resizeDocks(self, docks: typing.Iterable[QDockWidget], sizes: typing.Iterable[int], orientation: QtCore.Qt.Orientation) -> None: ... + def takeCentralWidget(self) -> QWidget: ... + def tabifiedDockWidgets(self, dockwidget: QDockWidget) -> typing.List[QDockWidget]: ... + def setTabPosition(self, areas: typing.Union[QtCore.Qt.DockWidgetAreas, QtCore.Qt.DockWidgetArea], tabPosition: 'QTabWidget.TabPosition') -> None: ... + def tabPosition(self, area: QtCore.Qt.DockWidgetArea) -> 'QTabWidget.TabPosition': ... + def setTabShape(self, tabShape: 'QTabWidget.TabShape') -> None: ... + def tabShape(self) -> 'QTabWidget.TabShape': ... + def setDocumentMode(self, enabled: bool) -> None: ... + def documentMode(self) -> bool: ... + def restoreDockWidget(self, dockwidget: QDockWidget) -> bool: ... + def unifiedTitleAndToolBarOnMac(self) -> bool: ... + def setUnifiedTitleAndToolBarOnMac(self, set: bool) -> None: ... + def toolBarBreak(self, toolbar: 'QToolBar') -> bool: ... + def removeToolBarBreak(self, before: 'QToolBar') -> None: ... + def dockOptions(self) -> 'QMainWindow.DockOptions': ... + def setDockOptions(self, options: typing.Union['QMainWindow.DockOptions', 'QMainWindow.DockOption']) -> None: ... + def tabifyDockWidget(self, first: QDockWidget, second: QDockWidget) -> None: ... + def setMenuWidget(self, menubar: QWidget) -> None: ... + def menuWidget(self) -> QWidget: ... + def isSeparator(self, pos: QtCore.QPoint) -> bool: ... + def isDockNestingEnabled(self) -> bool: ... + def isAnimated(self) -> bool: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def contextMenuEvent(self, event: QtGui.QContextMenuEvent) -> None: ... + def tabifiedDockWidgetActivated(self, dockWidget: QDockWidget) -> None: ... + def toolButtonStyleChanged(self, toolButtonStyle: QtCore.Qt.ToolButtonStyle) -> None: ... + def iconSizeChanged(self, iconSize: QtCore.QSize) -> None: ... + def setDockNestingEnabled(self, enabled: bool) -> None: ... + def setAnimated(self, enabled: bool) -> None: ... + def createPopupMenu(self) -> 'QMenu': ... + def restoreState(self, state: typing.Union[QtCore.QByteArray, bytes, bytearray], version: int = ...) -> bool: ... + def saveState(self, version: int = ...) -> QtCore.QByteArray: ... + def dockWidgetArea(self, dockwidget: QDockWidget) -> QtCore.Qt.DockWidgetArea: ... + def removeDockWidget(self, dockwidget: QDockWidget) -> None: ... + def splitDockWidget(self, after: QDockWidget, dockwidget: QDockWidget, orientation: QtCore.Qt.Orientation) -> None: ... + @typing.overload + def addDockWidget(self, area: QtCore.Qt.DockWidgetArea, dockwidget: QDockWidget) -> None: ... + @typing.overload + def addDockWidget(self, area: QtCore.Qt.DockWidgetArea, dockwidget: QDockWidget, orientation: QtCore.Qt.Orientation) -> None: ... + def toolBarArea(self, toolbar: 'QToolBar') -> QtCore.Qt.ToolBarArea: ... + def removeToolBar(self, toolbar: 'QToolBar') -> None: ... + def insertToolBar(self, before: 'QToolBar', toolbar: 'QToolBar') -> None: ... + @typing.overload + def addToolBar(self, area: QtCore.Qt.ToolBarArea, toolbar: 'QToolBar') -> None: ... + @typing.overload + def addToolBar(self, toolbar: 'QToolBar') -> None: ... + @typing.overload + def addToolBar(self, title: str) -> 'QToolBar': ... + def insertToolBarBreak(self, before: 'QToolBar') -> None: ... + def addToolBarBreak(self, area: QtCore.Qt.ToolBarArea = ...) -> None: ... + def corner(self, corner: QtCore.Qt.Corner) -> QtCore.Qt.DockWidgetArea: ... + def setCorner(self, corner: QtCore.Qt.Corner, area: QtCore.Qt.DockWidgetArea) -> None: ... + def setCentralWidget(self, widget: QWidget) -> None: ... + def centralWidget(self) -> QWidget: ... + def setStatusBar(self, statusbar: 'QStatusBar') -> None: ... + def statusBar(self) -> 'QStatusBar': ... + def setMenuBar(self, menubar: 'QMenuBar') -> None: ... + def menuBar(self) -> 'QMenuBar': ... + def setToolButtonStyle(self, toolButtonStyle: QtCore.Qt.ToolButtonStyle) -> None: ... + def toolButtonStyle(self) -> QtCore.Qt.ToolButtonStyle: ... + def setIconSize(self, iconSize: QtCore.QSize) -> None: ... + def iconSize(self) -> QtCore.QSize: ... + + +class QMdiArea(QAbstractScrollArea): + + class WindowOrder(int): + CreationOrder = ... # type: QMdiArea.WindowOrder + StackingOrder = ... # type: QMdiArea.WindowOrder + ActivationHistoryOrder = ... # type: QMdiArea.WindowOrder + + class ViewMode(int): + SubWindowView = ... # type: QMdiArea.ViewMode + TabbedView = ... # type: QMdiArea.ViewMode + + class AreaOption(int): + DontMaximizeSubWindowOnActivation = ... # type: QMdiArea.AreaOption + + class AreaOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QMdiArea.AreaOptions', 'QMdiArea.AreaOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QMdiArea.AreaOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QMdiArea.AreaOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def tabsMovable(self) -> bool: ... + def setTabsMovable(self, movable: bool) -> None: ... + def tabsClosable(self) -> bool: ... + def setTabsClosable(self, closable: bool) -> None: ... + def setDocumentMode(self, enabled: bool) -> None: ... + def documentMode(self) -> bool: ... + def tabPosition(self) -> 'QTabWidget.TabPosition': ... + def setTabPosition(self, position: 'QTabWidget.TabPosition') -> None: ... + def tabShape(self) -> 'QTabWidget.TabShape': ... + def setTabShape(self, shape: 'QTabWidget.TabShape') -> None: ... + def viewMode(self) -> 'QMdiArea.ViewMode': ... + def setViewMode(self, mode: 'QMdiArea.ViewMode') -> None: ... + def setActivationOrder(self, order: 'QMdiArea.WindowOrder') -> None: ... + def activationOrder(self) -> 'QMdiArea.WindowOrder': ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def viewportEvent(self, event: QtCore.QEvent) -> bool: ... + def showEvent(self, showEvent: QtGui.QShowEvent) -> None: ... + def timerEvent(self, timerEvent: QtCore.QTimerEvent) -> None: ... + def resizeEvent(self, resizeEvent: QtGui.QResizeEvent) -> None: ... + def childEvent(self, childEvent: QtCore.QChildEvent) -> None: ... + def paintEvent(self, paintEvent: QtGui.QPaintEvent) -> None: ... + def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def setupViewport(self, viewport: QWidget) -> None: ... + def activatePreviousSubWindow(self) -> None: ... + def activateNextSubWindow(self) -> None: ... + def closeAllSubWindows(self) -> None: ... + def closeActiveSubWindow(self) -> None: ... + def cascadeSubWindows(self) -> None: ... + def tileSubWindows(self) -> None: ... + def setActiveSubWindow(self, window: 'QMdiSubWindow') -> None: ... + def subWindowActivated(self, a0: 'QMdiSubWindow') -> None: ... + def testOption(self, opton: 'QMdiArea.AreaOption') -> bool: ... + def setOption(self, option: 'QMdiArea.AreaOption', on: bool = ...) -> None: ... + def setBackground(self, background: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def background(self) -> QtGui.QBrush: ... + def removeSubWindow(self, widget: QWidget) -> None: ... + def currentSubWindow(self) -> 'QMdiSubWindow': ... + def subWindowList(self, order: 'QMdiArea.WindowOrder' = ...) -> typing.List['QMdiSubWindow']: ... + def addSubWindow(self, widget: QWidget, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> 'QMdiSubWindow': ... + def activeSubWindow(self) -> 'QMdiSubWindow': ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QMdiSubWindow(QWidget): + + class SubWindowOption(int): + RubberBandResize = ... # type: QMdiSubWindow.SubWindowOption + RubberBandMove = ... # type: QMdiSubWindow.SubWindowOption + + class SubWindowOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QMdiSubWindow.SubWindowOptions', 'QMdiSubWindow.SubWindowOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QMdiSubWindow.SubWindowOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QMdiSubWindow.SubWindowOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def childEvent(self, childEvent: QtCore.QChildEvent) -> None: ... + def focusOutEvent(self, focusOutEvent: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, focusInEvent: QtGui.QFocusEvent) -> None: ... + def contextMenuEvent(self, contextMenuEvent: QtGui.QContextMenuEvent) -> None: ... + def keyPressEvent(self, keyEvent: QtGui.QKeyEvent) -> None: ... + def mouseMoveEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ... + def mouseDoubleClickEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, paintEvent: QtGui.QPaintEvent) -> None: ... + def moveEvent(self, moveEvent: QtGui.QMoveEvent) -> None: ... + def timerEvent(self, timerEvent: QtCore.QTimerEvent) -> None: ... + def resizeEvent(self, resizeEvent: QtGui.QResizeEvent) -> None: ... + def leaveEvent(self, leaveEvent: QtCore.QEvent) -> None: ... + def closeEvent(self, closeEvent: QtGui.QCloseEvent) -> None: ... + def changeEvent(self, changeEvent: QtCore.QEvent) -> None: ... + def hideEvent(self, hideEvent: QtGui.QHideEvent) -> None: ... + def showEvent(self, showEvent: QtGui.QShowEvent) -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def showShaded(self) -> None: ... + def showSystemMenu(self) -> None: ... + def aboutToActivate(self) -> None: ... + def windowStateChanged(self, oldState: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState], newState: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ... + def mdiArea(self) -> QMdiArea: ... + def systemMenu(self) -> 'QMenu': ... + def setSystemMenu(self, systemMenu: 'QMenu') -> None: ... + def keyboardPageStep(self) -> int: ... + def setKeyboardPageStep(self, step: int) -> None: ... + def keyboardSingleStep(self) -> int: ... + def setKeyboardSingleStep(self, step: int) -> None: ... + def testOption(self, a0: 'QMdiSubWindow.SubWindowOption') -> bool: ... + def setOption(self, option: 'QMdiSubWindow.SubWindowOption', on: bool = ...) -> None: ... + def isShaded(self) -> bool: ... + def widget(self) -> QWidget: ... + def setWidget(self, widget: QWidget) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QMenu(QWidget): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, title: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + @typing.overload + def showTearOffMenu(self) -> None: ... + @typing.overload + def showTearOffMenu(self, pos: QtCore.QPoint) -> None: ... + def setToolTipsVisible(self, visible: bool) -> None: ... + def toolTipsVisible(self) -> bool: ... + @typing.overload + def insertSection(self, before: QAction, text: str) -> QAction: ... + @typing.overload + def insertSection(self, before: QAction, icon: QtGui.QIcon, text: str) -> QAction: ... + @typing.overload + def addSection(self, text: str) -> QAction: ... + @typing.overload + def addSection(self, icon: QtGui.QIcon, text: str) -> QAction: ... + def setSeparatorsCollapsible(self, collapse: bool) -> None: ... + def separatorsCollapsible(self) -> bool: ... + def isEmpty(self) -> bool: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... + def actionEvent(self, a0: QtGui.QActionEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... + def leaveEvent(self, a0: QtCore.QEvent) -> None: ... + def enterEvent(self, a0: QtCore.QEvent) -> None: ... + def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def initStyleOption(self, option: 'QStyleOptionMenuItem', action: QAction) -> None: ... + def columnCount(self) -> int: ... + def triggered(self, action: QAction) -> None: ... + def hovered(self, action: QAction) -> None: ... + def aboutToShow(self) -> None: ... + def aboutToHide(self) -> None: ... + def setNoReplayFor(self, widget: QWidget) -> None: ... + def setIcon(self, icon: QtGui.QIcon) -> None: ... + def icon(self) -> QtGui.QIcon: ... + def setTitle(self, title: str) -> None: ... + def title(self) -> str: ... + def menuAction(self) -> QAction: ... + def actionAt(self, a0: QtCore.QPoint) -> QAction: ... + def actionGeometry(self, a0: QAction) -> QtCore.QRect: ... + def sizeHint(self) -> QtCore.QSize: ... + @typing.overload + def exec(self) -> QAction: ... + @typing.overload + def exec(self, pos: QtCore.QPoint, action: typing.Optional[QAction] = ...) -> QAction: ... + @typing.overload + @staticmethod + def exec(actions: typing.Iterable[QAction], pos: QtCore.QPoint, at: typing.Optional[QAction] = ..., parent: typing.Optional[QWidget] = ...) -> QAction: ... + @typing.overload + def exec_(self) -> QAction: ... + @typing.overload + def exec_(self, p: QtCore.QPoint, action: typing.Optional[QAction] = ...) -> QAction: ... + @typing.overload + @staticmethod + def exec_(actions: typing.Iterable[QAction], pos: QtCore.QPoint, at: typing.Optional[QAction] = ..., parent: typing.Optional[QWidget] = ...) -> QAction: ... + def popup(self, p: QtCore.QPoint, action: typing.Optional[QAction] = ...) -> None: ... + def activeAction(self) -> QAction: ... + def setActiveAction(self, act: QAction) -> None: ... + def defaultAction(self) -> QAction: ... + def setDefaultAction(self, a0: QAction) -> None: ... + def hideTearOffMenu(self) -> None: ... + def isTearOffMenuVisible(self) -> bool: ... + def isTearOffEnabled(self) -> bool: ... + def setTearOffEnabled(self, a0: bool) -> None: ... + def clear(self) -> None: ... + def insertSeparator(self, before: QAction) -> QAction: ... + def insertMenu(self, before: QAction, menu: 'QMenu') -> QAction: ... + def addSeparator(self) -> QAction: ... + @typing.overload + def addMenu(self, menu: 'QMenu') -> QAction: ... + @typing.overload + def addMenu(self, title: str) -> 'QMenu': ... + @typing.overload + def addMenu(self, icon: QtGui.QIcon, title: str) -> 'QMenu': ... + @typing.overload + def addAction(self, action: QAction) -> None: ... + @typing.overload + def addAction(self, text: str) -> QAction: ... + @typing.overload + def addAction(self, icon: QtGui.QIcon, text: str) -> QAction: ... + @typing.overload + def addAction(self, text: str, slot: PYQT_SLOT, shortcut: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int] = ...) -> QAction: ... + @typing.overload + def addAction(self, icon: QtGui.QIcon, text: str, slot: PYQT_SLOT, shortcut: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int] = ...) -> QAction: ... + + +class QMenuBar(QWidget): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setNativeMenuBar(self, nativeMenuBar: bool) -> None: ... + def isNativeMenuBar(self) -> bool: ... + def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ... + def actionEvent(self, a0: QtGui.QActionEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def leaveEvent(self, a0: QtCore.QEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def initStyleOption(self, option: 'QStyleOptionMenuItem', action: QAction) -> None: ... + def hovered(self, action: QAction) -> None: ... + def triggered(self, action: QAction) -> None: ... + def setVisible(self, visible: bool) -> None: ... + def cornerWidget(self, corner: QtCore.Qt.Corner = ...) -> QWidget: ... + def setCornerWidget(self, widget: QWidget, corner: QtCore.Qt.Corner = ...) -> None: ... + def actionAt(self, a0: QtCore.QPoint) -> QAction: ... + def actionGeometry(self, a0: QAction) -> QtCore.QRect: ... + def heightForWidth(self, a0: int) -> int: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def isDefaultUp(self) -> bool: ... + def setDefaultUp(self, a0: bool) -> None: ... + def setActiveAction(self, action: QAction) -> None: ... + def activeAction(self) -> QAction: ... + def clear(self) -> None: ... + def insertSeparator(self, before: QAction) -> QAction: ... + def insertMenu(self, before: QAction, menu: QMenu) -> QAction: ... + def addSeparator(self) -> QAction: ... + @typing.overload + def addMenu(self, menu: QMenu) -> QAction: ... + @typing.overload + def addMenu(self, title: str) -> QMenu: ... + @typing.overload + def addMenu(self, icon: QtGui.QIcon, title: str) -> QMenu: ... + @typing.overload + def addAction(self, action: QAction) -> None: ... + @typing.overload + def addAction(self, text: str) -> QAction: ... + @typing.overload + def addAction(self, text: str, slot: PYQT_SLOT) -> QAction: ... + + +class QMessageBox(QDialog): + + class StandardButton(int): + NoButton = ... # type: QMessageBox.StandardButton + Ok = ... # type: QMessageBox.StandardButton + Save = ... # type: QMessageBox.StandardButton + SaveAll = ... # type: QMessageBox.StandardButton + Open = ... # type: QMessageBox.StandardButton + Yes = ... # type: QMessageBox.StandardButton + YesToAll = ... # type: QMessageBox.StandardButton + No = ... # type: QMessageBox.StandardButton + NoToAll = ... # type: QMessageBox.StandardButton + Abort = ... # type: QMessageBox.StandardButton + Retry = ... # type: QMessageBox.StandardButton + Ignore = ... # type: QMessageBox.StandardButton + Close = ... # type: QMessageBox.StandardButton + Cancel = ... # type: QMessageBox.StandardButton + Discard = ... # type: QMessageBox.StandardButton + Help = ... # type: QMessageBox.StandardButton + Apply = ... # type: QMessageBox.StandardButton + Reset = ... # type: QMessageBox.StandardButton + RestoreDefaults = ... # type: QMessageBox.StandardButton + FirstButton = ... # type: QMessageBox.StandardButton + LastButton = ... # type: QMessageBox.StandardButton + YesAll = ... # type: QMessageBox.StandardButton + NoAll = ... # type: QMessageBox.StandardButton + Default = ... # type: QMessageBox.StandardButton + Escape = ... # type: QMessageBox.StandardButton + FlagMask = ... # type: QMessageBox.StandardButton + ButtonMask = ... # type: QMessageBox.StandardButton + + class Icon(int): + NoIcon = ... # type: QMessageBox.Icon + Information = ... # type: QMessageBox.Icon + Warning = ... # type: QMessageBox.Icon + Critical = ... # type: QMessageBox.Icon + Question = ... # type: QMessageBox.Icon + + class ButtonRole(int): + InvalidRole = ... # type: QMessageBox.ButtonRole + AcceptRole = ... # type: QMessageBox.ButtonRole + RejectRole = ... # type: QMessageBox.ButtonRole + DestructiveRole = ... # type: QMessageBox.ButtonRole + ActionRole = ... # type: QMessageBox.ButtonRole + HelpRole = ... # type: QMessageBox.ButtonRole + YesRole = ... # type: QMessageBox.ButtonRole + NoRole = ... # type: QMessageBox.ButtonRole + ResetRole = ... # type: QMessageBox.ButtonRole + ApplyRole = ... # type: QMessageBox.ButtonRole + + class StandardButtons(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton']) -> None: ... + @typing.overload + def __init__(self, a0: 'QMessageBox.StandardButtons') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QMessageBox.StandardButtons': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, icon: 'QMessageBox.Icon', title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def checkBox(self) -> QCheckBox: ... + def setCheckBox(self, cb: QCheckBox) -> None: ... + def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ... + def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ... + def buttonClicked(self, button: QAbstractButton) -> None: ... + def buttonRole(self, button: QAbstractButton) -> 'QMessageBox.ButtonRole': ... + def buttons(self) -> typing.List[QAbstractButton]: ... + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def setWindowModality(self, windowModality: QtCore.Qt.WindowModality) -> None: ... + def setWindowTitle(self, title: str) -> None: ... + def setDetailedText(self, text: str) -> None: ... + def detailedText(self) -> str: ... + def setInformativeText(self, text: str) -> None: ... + def informativeText(self) -> str: ... + def clickedButton(self) -> QAbstractButton: ... + @typing.overload + def setEscapeButton(self, button: QAbstractButton) -> None: ... + @typing.overload + def setEscapeButton(self, button: 'QMessageBox.StandardButton') -> None: ... + def escapeButton(self) -> QAbstractButton: ... + @typing.overload + def setDefaultButton(self, button: QPushButton) -> None: ... + @typing.overload + def setDefaultButton(self, button: 'QMessageBox.StandardButton') -> None: ... + def defaultButton(self) -> QPushButton: ... + def button(self, which: 'QMessageBox.StandardButton') -> QAbstractButton: ... + def standardButton(self, button: QAbstractButton) -> 'QMessageBox.StandardButton': ... + def standardButtons(self) -> 'QMessageBox.StandardButtons': ... + def setStandardButtons(self, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton']) -> None: ... + def removeButton(self, button: QAbstractButton) -> None: ... + @typing.overload + def addButton(self, button: QAbstractButton, role: 'QMessageBox.ButtonRole') -> None: ... + @typing.overload + def addButton(self, text: str, role: 'QMessageBox.ButtonRole') -> QPushButton: ... + @typing.overload + def addButton(self, button: 'QMessageBox.StandardButton') -> QPushButton: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + @staticmethod + def standardIcon(icon: 'QMessageBox.Icon') -> QtGui.QPixmap: ... + @staticmethod + def aboutQt(parent: QWidget, title: str = ...) -> None: ... + @staticmethod + def about(parent: QWidget, caption: str, text: str) -> None: ... + @staticmethod + def critical(parent: QWidget, title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., defaultButton: 'QMessageBox.StandardButton' = ...) -> 'QMessageBox.StandardButton': ... + @staticmethod + def warning(parent: QWidget, title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., defaultButton: 'QMessageBox.StandardButton' = ...) -> 'QMessageBox.StandardButton': ... + @staticmethod + def question(parent: QWidget, title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., defaultButton: 'QMessageBox.StandardButton' = ...) -> 'QMessageBox.StandardButton': ... + @staticmethod + def information(parent: QWidget, title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., defaultButton: 'QMessageBox.StandardButton' = ...) -> 'QMessageBox.StandardButton': ... + def setTextFormat(self, a0: QtCore.Qt.TextFormat) -> None: ... + def textFormat(self) -> QtCore.Qt.TextFormat: ... + def setIconPixmap(self, a0: QtGui.QPixmap) -> None: ... + def iconPixmap(self) -> QtGui.QPixmap: ... + def setIcon(self, a0: 'QMessageBox.Icon') -> None: ... + def icon(self) -> 'QMessageBox.Icon': ... + def setText(self, a0: str) -> None: ... + def text(self) -> str: ... + + +class QMouseEventTransition(QtCore.QEventTransition): + + @typing.overload + def __init__(self, sourceState: typing.Optional[QtCore.QState] = ...) -> None: ... + @typing.overload + def __init__(self, object: QtCore.QObject, type: QtCore.QEvent.Type, button: QtCore.Qt.MouseButton, sourceState: typing.Optional[QtCore.QState] = ...) -> None: ... + + def eventTest(self, event: QtCore.QEvent) -> bool: ... + def onTransition(self, event: QtCore.QEvent) -> None: ... + def setHitTestPath(self, path: QtGui.QPainterPath) -> None: ... + def hitTestPath(self) -> QtGui.QPainterPath: ... + def setModifierMask(self, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ... + def modifierMask(self) -> QtCore.Qt.KeyboardModifiers: ... + def setButton(self, button: QtCore.Qt.MouseButton) -> None: ... + def button(self) -> QtCore.Qt.MouseButton: ... + + +class QOpenGLWidget(QWidget): + + class UpdateBehavior(int): + NoPartialUpdate = ... # type: QOpenGLWidget.UpdateBehavior + PartialUpdate = ... # type: QOpenGLWidget.UpdateBehavior + + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def setTextureFormat(self, texFormat: int) -> None: ... + def textureFormat(self) -> int: ... + def updateBehavior(self) -> 'QOpenGLWidget.UpdateBehavior': ... + def setUpdateBehavior(self, updateBehavior: 'QOpenGLWidget.UpdateBehavior') -> None: ... + def paintEngine(self) -> QtGui.QPaintEngine: ... + def metric(self, metric: QtGui.QPaintDevice.PaintDeviceMetric) -> int: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def paintGL(self) -> None: ... + def resizeGL(self, w: int, h: int) -> None: ... + def initializeGL(self) -> None: ... + def resized(self) -> None: ... + def aboutToResize(self) -> None: ... + def frameSwapped(self) -> None: ... + def aboutToCompose(self) -> None: ... + def grabFramebuffer(self) -> QtGui.QImage: ... + def defaultFramebufferObject(self) -> int: ... + def context(self) -> QtGui.QOpenGLContext: ... + def doneCurrent(self) -> None: ... + def makeCurrent(self) -> None: ... + def isValid(self) -> bool: ... + def format(self) -> QtGui.QSurfaceFormat: ... + def setFormat(self, format: QtGui.QSurfaceFormat) -> None: ... + + +class QPlainTextEdit(QAbstractScrollArea): + + class LineWrapMode(int): + NoWrap = ... # type: QPlainTextEdit.LineWrapMode + WidgetWidth = ... # type: QPlainTextEdit.LineWrapMode + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setTabStopDistance(self, distance: float) -> None: ... + def tabStopDistance(self) -> float: ... + def placeholderText(self) -> str: ... + def setPlaceholderText(self, placeholderText: str) -> None: ... + def zoomOut(self, range: int = ...) -> None: ... + def zoomIn(self, range: int = ...) -> None: ... + def anchorAt(self, pos: QtCore.QPoint) -> str: ... + def getPaintContext(self) -> QtGui.QAbstractTextDocumentLayout.PaintContext: ... + def blockBoundingGeometry(self, block: QtGui.QTextBlock) -> QtCore.QRectF: ... + def blockBoundingRect(self, block: QtGui.QTextBlock) -> QtCore.QRectF: ... + def contentOffset(self) -> QtCore.QPointF: ... + def firstVisibleBlock(self) -> QtGui.QTextBlock: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def insertFromMimeData(self, source: QtCore.QMimeData) -> None: ... + def canInsertFromMimeData(self, source: QtCore.QMimeData) -> bool: ... + def createMimeDataFromSelection(self) -> QtCore.QMimeData: ... + @typing.overload + def inputMethodQuery(self, property: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + @typing.overload + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ... + def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ... + def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... + def dropEvent(self, e: QtGui.QDropEvent) -> None: ... + def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... + def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... + def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ... + def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... + def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... + def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def modificationChanged(self, a0: bool) -> None: ... + def blockCountChanged(self, newBlockCount: int) -> None: ... + def updateRequest(self, rect: QtCore.QRect, dy: int) -> None: ... + def cursorPositionChanged(self) -> None: ... + def selectionChanged(self) -> None: ... + def copyAvailable(self, b: bool) -> None: ... + def redoAvailable(self, b: bool) -> None: ... + def undoAvailable(self, b: bool) -> None: ... + def textChanged(self) -> None: ... + def centerCursor(self) -> None: ... + def appendHtml(self, html: str) -> None: ... + def appendPlainText(self, text: str) -> None: ... + def insertPlainText(self, text: str) -> None: ... + def selectAll(self) -> None: ... + def clear(self) -> None: ... + def redo(self) -> None: ... + def undo(self) -> None: ... + def paste(self) -> None: ... + def copy(self) -> None: ... + def cut(self) -> None: ... + def setPlainText(self, text: str) -> None: ... + def blockCount(self) -> int: ... + def print(self, printer: QtGui.QPagedPaintDevice) -> None: ... + def print_(self, printer: QtGui.QPagedPaintDevice) -> None: ... + def canPaste(self) -> bool: ... + def moveCursor(self, operation: QtGui.QTextCursor.MoveOperation, mode: QtGui.QTextCursor.MoveMode = ...) -> None: ... + def extraSelections(self) -> typing.List['QTextEdit.ExtraSelection']: ... + def setExtraSelections(self, selections: typing.Iterable['QTextEdit.ExtraSelection']) -> None: ... + def setCursorWidth(self, width: int) -> None: ... + def cursorWidth(self) -> int: ... + def setTabStopWidth(self, width: int) -> None: ... + def tabStopWidth(self) -> int: ... + def setOverwriteMode(self, overwrite: bool) -> None: ... + def overwriteMode(self) -> bool: ... + @typing.overload + def cursorRect(self, cursor: QtGui.QTextCursor) -> QtCore.QRect: ... + @typing.overload + def cursorRect(self) -> QtCore.QRect: ... + def cursorForPosition(self, pos: QtCore.QPoint) -> QtGui.QTextCursor: ... + @typing.overload + def createStandardContextMenu(self) -> QMenu: ... + @typing.overload + def createStandardContextMenu(self, position: QtCore.QPoint) -> QMenu: ... + def loadResource(self, type: int, name: QtCore.QUrl) -> typing.Any: ... + def ensureCursorVisible(self) -> None: ... + def toPlainText(self) -> str: ... + @typing.overload + def find(self, exp: str, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ... + @typing.overload + def find(self, exp: QtCore.QRegExp, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ... + @typing.overload + def find(self, exp: QtCore.QRegularExpression, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ... + def centerOnScroll(self) -> bool: ... + def setCenterOnScroll(self, enabled: bool) -> None: ... + def backgroundVisible(self) -> bool: ... + def setBackgroundVisible(self, visible: bool) -> None: ... + def setWordWrapMode(self, policy: QtGui.QTextOption.WrapMode) -> None: ... + def wordWrapMode(self) -> QtGui.QTextOption.WrapMode: ... + def setLineWrapMode(self, mode: 'QPlainTextEdit.LineWrapMode') -> None: ... + def lineWrapMode(self) -> 'QPlainTextEdit.LineWrapMode': ... + def maximumBlockCount(self) -> int: ... + def setMaximumBlockCount(self, maximum: int) -> None: ... + def setUndoRedoEnabled(self, enable: bool) -> None: ... + def isUndoRedoEnabled(self) -> bool: ... + def documentTitle(self) -> str: ... + def setDocumentTitle(self, title: str) -> None: ... + def setTabChangesFocus(self, b: bool) -> None: ... + def tabChangesFocus(self) -> bool: ... + def currentCharFormat(self) -> QtGui.QTextCharFormat: ... + def setCurrentCharFormat(self, format: QtGui.QTextCharFormat) -> None: ... + def mergeCurrentCharFormat(self, modifier: QtGui.QTextCharFormat) -> None: ... + def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ... + def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ... + def setReadOnly(self, ro: bool) -> None: ... + def isReadOnly(self) -> bool: ... + def textCursor(self) -> QtGui.QTextCursor: ... + def setTextCursor(self, cursor: QtGui.QTextCursor) -> None: ... + def document(self) -> QtGui.QTextDocument: ... + def setDocument(self, document: QtGui.QTextDocument) -> None: ... + + +class QPlainTextDocumentLayout(QtGui.QAbstractTextDocumentLayout): + + def __init__(self, document: QtGui.QTextDocument) -> None: ... + + def documentChanged(self, from_: int, a1: int, charsAdded: int) -> None: ... + def requestUpdate(self) -> None: ... + def cursorWidth(self) -> int: ... + def setCursorWidth(self, width: int) -> None: ... + def ensureBlockLayout(self, block: QtGui.QTextBlock) -> None: ... + def blockBoundingRect(self, block: QtGui.QTextBlock) -> QtCore.QRectF: ... + def frameBoundingRect(self, a0: QtGui.QTextFrame) -> QtCore.QRectF: ... + def documentSize(self) -> QtCore.QSizeF: ... + def pageCount(self) -> int: ... + def hitTest(self, a0: typing.Union[QtCore.QPointF, QtCore.QPoint], a1: QtCore.Qt.HitTestAccuracy) -> int: ... + def draw(self, a0: QtGui.QPainter, a1: QtGui.QAbstractTextDocumentLayout.PaintContext) -> None: ... + + +class QProgressBar(QWidget): + + class Direction(int): + TopToBottom = ... # type: QProgressBar.Direction + BottomToTop = ... # type: QProgressBar.Direction + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def initStyleOption(self, option: 'QStyleOptionProgressBar') -> None: ... + def valueChanged(self, value: int) -> None: ... + def setOrientation(self, a0: QtCore.Qt.Orientation) -> None: ... + def setValue(self, value: int) -> None: ... + def setMaximum(self, maximum: int) -> None: ... + def setMinimum(self, minimum: int) -> None: ... + def reset(self) -> None: ... + def resetFormat(self) -> None: ... + def format(self) -> str: ... + def setFormat(self, format: str) -> None: ... + def setTextDirection(self, textDirection: 'QProgressBar.Direction') -> None: ... + def setInvertedAppearance(self, invert: bool) -> None: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def setAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def isTextVisible(self) -> bool: ... + def setTextVisible(self, visible: bool) -> None: ... + def text(self) -> str: ... + def value(self) -> int: ... + def setRange(self, minimum: int, maximum: int) -> None: ... + def maximum(self) -> int: ... + def minimum(self) -> int: ... + + +class QProgressDialog(QDialog): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, labelText: str, cancelButtonText: str, minimum: int, maximum: int, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + @typing.overload + def open(self) -> None: ... + @typing.overload + def open(self, slot: PYQT_SLOT) -> None: ... + def forceShow(self) -> None: ... + def showEvent(self, e: QtGui.QShowEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def canceled(self) -> None: ... + def setMinimumDuration(self, ms: int) -> None: ... + def setCancelButtonText(self, a0: str) -> None: ... + def setLabelText(self, a0: str) -> None: ... + def setValue(self, progress: int) -> None: ... + def setMinimum(self, minimum: int) -> None: ... + def setMaximum(self, maximum: int) -> None: ... + def reset(self) -> None: ... + def cancel(self) -> None: ... + def autoClose(self) -> bool: ... + def setAutoClose(self, b: bool) -> None: ... + def autoReset(self) -> bool: ... + def setAutoReset(self, b: bool) -> None: ... + def minimumDuration(self) -> int: ... + def labelText(self) -> str: ... + def sizeHint(self) -> QtCore.QSize: ... + def value(self) -> int: ... + def setRange(self, minimum: int, maximum: int) -> None: ... + def maximum(self) -> int: ... + def minimum(self) -> int: ... + def wasCanceled(self) -> bool: ... + def setBar(self, bar: QProgressBar) -> None: ... + def setCancelButton(self, button: QPushButton) -> None: ... + def setLabel(self, label: QLabel) -> None: ... + + +class QProxyStyle(QCommonStyle): + + @typing.overload + def __init__(self, style: typing.Optional[QStyle] = ...) -> None: ... + @typing.overload + def __init__(self, key: str) -> None: ... + + def event(self, e: QtCore.QEvent) -> bool: ... + @typing.overload + def unpolish(self, widget: QWidget) -> None: ... + @typing.overload + def unpolish(self, app: QApplication) -> None: ... + @typing.overload + def polish(self, widget: QWidget) -> None: ... + @typing.overload + def polish(self, pal: QtGui.QPalette) -> QtGui.QPalette: ... + @typing.overload + def polish(self, app: QApplication) -> None: ... + def standardPalette(self) -> QtGui.QPalette: ... + def generatedIconPixmap(self, iconMode: QtGui.QIcon.Mode, pixmap: QtGui.QPixmap, opt: 'QStyleOption') -> QtGui.QPixmap: ... + def standardPixmap(self, standardPixmap: QStyle.StandardPixmap, opt: 'QStyleOption', widget: typing.Optional[QWidget] = ...) -> QtGui.QPixmap: ... + def standardIcon(self, standardIcon: QStyle.StandardPixmap, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QIcon: ... + def layoutSpacing(self, control1: 'QSizePolicy.ControlType', control2: 'QSizePolicy.ControlType', orientation: QtCore.Qt.Orientation, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ... + def pixelMetric(self, metric: QStyle.PixelMetric, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ... + def styleHint(self, hint: QStyle.StyleHint, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ..., returnData: typing.Optional['QStyleHintReturn'] = ...) -> int: ... + def hitTestComplexControl(self, control: QStyle.ComplexControl, option: 'QStyleOptionComplex', pos: QtCore.QPoint, widget: typing.Optional[QWidget] = ...) -> QStyle.SubControl: ... + def itemPixmapRect(self, r: QtCore.QRect, flags: int, pixmap: QtGui.QPixmap) -> QtCore.QRect: ... + def itemTextRect(self, fm: QtGui.QFontMetrics, r: QtCore.QRect, flags: int, enabled: bool, text: str) -> QtCore.QRect: ... + def subControlRect(self, cc: QStyle.ComplexControl, opt: 'QStyleOptionComplex', sc: QStyle.SubControl, widget: QWidget) -> QtCore.QRect: ... + def subElementRect(self, element: QStyle.SubElement, option: 'QStyleOption', widget: QWidget) -> QtCore.QRect: ... + def sizeFromContents(self, type: QStyle.ContentsType, option: 'QStyleOption', size: QtCore.QSize, widget: QWidget) -> QtCore.QSize: ... + def drawItemPixmap(self, painter: QtGui.QPainter, rect: QtCore.QRect, alignment: int, pixmap: QtGui.QPixmap) -> None: ... + def drawItemText(self, painter: QtGui.QPainter, rect: QtCore.QRect, flags: int, pal: QtGui.QPalette, enabled: bool, text: str, textRole: QtGui.QPalette.ColorRole = ...) -> None: ... + def drawComplexControl(self, control: QStyle.ComplexControl, option: 'QStyleOptionComplex', painter: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + def drawControl(self, element: QStyle.ControlElement, option: 'QStyleOption', painter: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + def drawPrimitive(self, element: QStyle.PrimitiveElement, option: 'QStyleOption', painter: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ... + def setBaseStyle(self, style: QStyle) -> None: ... + def baseStyle(self) -> QStyle: ... + + +class QRadioButton(QAbstractButton): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def hitButton(self, a0: QtCore.QPoint) -> bool: ... + def initStyleOption(self, button: 'QStyleOptionButton') -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QRubberBand(QWidget): + + class Shape(int): + Line = ... # type: QRubberBand.Shape + Rectangle = ... # type: QRubberBand.Shape + + def __init__(self, a0: 'QRubberBand.Shape', parent: typing.Optional[QWidget] = ...) -> None: ... + + def moveEvent(self, a0: QtGui.QMoveEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def initStyleOption(self, option: 'QStyleOptionRubberBand') -> None: ... + @typing.overload + def resize(self, w: int, h: int) -> None: ... + @typing.overload + def resize(self, s: QtCore.QSize) -> None: ... + @typing.overload + def move(self, p: QtCore.QPoint) -> None: ... + @typing.overload + def move(self, ax: int, ay: int) -> None: ... + @typing.overload + def setGeometry(self, r: QtCore.QRect) -> None: ... + @typing.overload + def setGeometry(self, ax: int, ay: int, aw: int, ah: int) -> None: ... + def shape(self) -> 'QRubberBand.Shape': ... + + +class QScrollArea(QAbstractScrollArea): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def viewportSizeHint(self) -> QtCore.QSize: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def ensureWidgetVisible(self, childWidget: QWidget, xMargin: int = ..., yMargin: int = ...) -> None: ... + def ensureVisible(self, x: int, y: int, xMargin: int = ..., yMargin: int = ...) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def sizeHint(self) -> QtCore.QSize: ... + def setAlignment(self, a0: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def setWidgetResizable(self, resizable: bool) -> None: ... + def widgetResizable(self) -> bool: ... + def takeWidget(self) -> QWidget: ... + def setWidget(self, w: QWidget) -> None: ... + def widget(self) -> QWidget: ... + + +class QScrollBar(QAbstractSlider): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ... + + def sliderChange(self, change: QAbstractSlider.SliderChange) -> None: ... + def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ... + def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... + def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def initStyleOption(self, option: 'QStyleOptionSlider') -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QScroller(QtCore.QObject): + + class Input(int): + InputPress = ... # type: QScroller.Input + InputMove = ... # type: QScroller.Input + InputRelease = ... # type: QScroller.Input + + class ScrollerGestureType(int): + TouchGesture = ... # type: QScroller.ScrollerGestureType + LeftMouseButtonGesture = ... # type: QScroller.ScrollerGestureType + RightMouseButtonGesture = ... # type: QScroller.ScrollerGestureType + MiddleMouseButtonGesture = ... # type: QScroller.ScrollerGestureType + + class State(int): + Inactive = ... # type: QScroller.State + Pressed = ... # type: QScroller.State + Dragging = ... # type: QScroller.State + Scrolling = ... # type: QScroller.State + + def scrollerPropertiesChanged(self, a0: 'QScrollerProperties') -> None: ... + def stateChanged(self, newstate: 'QScroller.State') -> None: ... + def resendPrepareEvent(self) -> None: ... + @typing.overload + def ensureVisible(self, rect: QtCore.QRectF, xmargin: float, ymargin: float) -> None: ... + @typing.overload + def ensureVisible(self, rect: QtCore.QRectF, xmargin: float, ymargin: float, scrollTime: int) -> None: ... + @typing.overload + def scrollTo(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + @typing.overload + def scrollTo(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], scrollTime: int) -> None: ... + def setScrollerProperties(self, prop: 'QScrollerProperties') -> None: ... + @typing.overload + def setSnapPositionsY(self, positions: typing.Iterable[float]) -> None: ... + @typing.overload + def setSnapPositionsY(self, first: float, interval: float) -> None: ... + @typing.overload + def setSnapPositionsX(self, positions: typing.Iterable[float]) -> None: ... + @typing.overload + def setSnapPositionsX(self, first: float, interval: float) -> None: ... + def scrollerProperties(self) -> 'QScrollerProperties': ... + def pixelPerMeter(self) -> QtCore.QPointF: ... + def finalPosition(self) -> QtCore.QPointF: ... + def velocity(self) -> QtCore.QPointF: ... + def stop(self) -> None: ... + def handleInput(self, input: 'QScroller.Input', position: typing.Union[QtCore.QPointF, QtCore.QPoint], timestamp: int = ...) -> bool: ... + def state(self) -> 'QScroller.State': ... + def target(self) -> QtCore.QObject: ... + @staticmethod + def activeScrollers() -> typing.List['QScroller']: ... + @staticmethod + def ungrabGesture(target: QtCore.QObject) -> None: ... + @staticmethod + def grabbedGesture(target: QtCore.QObject) -> QtCore.Qt.GestureType: ... + @staticmethod + def grabGesture(target: QtCore.QObject, scrollGestureType: 'QScroller.ScrollerGestureType' = ...) -> QtCore.Qt.GestureType: ... + @staticmethod + def scroller(target: QtCore.QObject) -> 'QScroller': ... + @staticmethod + def hasScroller(target: QtCore.QObject) -> bool: ... + + +class QScrollerProperties(sip.simplewrapper): + + class ScrollMetric(int): + MousePressEventDelay = ... # type: QScrollerProperties.ScrollMetric + DragStartDistance = ... # type: QScrollerProperties.ScrollMetric + DragVelocitySmoothingFactor = ... # type: QScrollerProperties.ScrollMetric + AxisLockThreshold = ... # type: QScrollerProperties.ScrollMetric + ScrollingCurve = ... # type: QScrollerProperties.ScrollMetric + DecelerationFactor = ... # type: QScrollerProperties.ScrollMetric + MinimumVelocity = ... # type: QScrollerProperties.ScrollMetric + MaximumVelocity = ... # type: QScrollerProperties.ScrollMetric + MaximumClickThroughVelocity = ... # type: QScrollerProperties.ScrollMetric + AcceleratingFlickMaximumTime = ... # type: QScrollerProperties.ScrollMetric + AcceleratingFlickSpeedupFactor = ... # type: QScrollerProperties.ScrollMetric + SnapPositionRatio = ... # type: QScrollerProperties.ScrollMetric + SnapTime = ... # type: QScrollerProperties.ScrollMetric + OvershootDragResistanceFactor = ... # type: QScrollerProperties.ScrollMetric + OvershootDragDistanceFactor = ... # type: QScrollerProperties.ScrollMetric + OvershootScrollDistanceFactor = ... # type: QScrollerProperties.ScrollMetric + OvershootScrollTime = ... # type: QScrollerProperties.ScrollMetric + HorizontalOvershootPolicy = ... # type: QScrollerProperties.ScrollMetric + VerticalOvershootPolicy = ... # type: QScrollerProperties.ScrollMetric + FrameRate = ... # type: QScrollerProperties.ScrollMetric + ScrollMetricCount = ... # type: QScrollerProperties.ScrollMetric + + class FrameRates(int): + Standard = ... # type: QScrollerProperties.FrameRates + Fps60 = ... # type: QScrollerProperties.FrameRates + Fps30 = ... # type: QScrollerProperties.FrameRates + Fps20 = ... # type: QScrollerProperties.FrameRates + + class OvershootPolicy(int): + OvershootWhenScrollable = ... # type: QScrollerProperties.OvershootPolicy + OvershootAlwaysOff = ... # type: QScrollerProperties.OvershootPolicy + OvershootAlwaysOn = ... # type: QScrollerProperties.OvershootPolicy + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, sp: 'QScrollerProperties') -> None: ... + + def setScrollMetric(self, metric: 'QScrollerProperties.ScrollMetric', value: typing.Any) -> None: ... + def scrollMetric(self, metric: 'QScrollerProperties.ScrollMetric') -> typing.Any: ... + @staticmethod + def unsetDefaultScrollerProperties() -> None: ... + @staticmethod + def setDefaultScrollerProperties(sp: 'QScrollerProperties') -> None: ... + + +class QShortcut(QtCore.QObject): + + @typing.overload + def __init__(self, parent: QWidget) -> None: ... + @typing.overload + def __init__(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], parent: QWidget, member: PYQT_SLOT = ..., ambiguousMember: PYQT_SLOT = ..., context: QtCore.Qt.ShortcutContext = ...) -> None: ... + + def event(self, e: QtCore.QEvent) -> bool: ... + def activatedAmbiguously(self) -> None: ... + def activated(self) -> None: ... + def autoRepeat(self) -> bool: ... + def setAutoRepeat(self, on: bool) -> None: ... + def parentWidget(self) -> QWidget: ... + def id(self) -> int: ... + def whatsThis(self) -> str: ... + def setWhatsThis(self, text: str) -> None: ... + def context(self) -> QtCore.Qt.ShortcutContext: ... + def setContext(self, context: QtCore.Qt.ShortcutContext) -> None: ... + def isEnabled(self) -> bool: ... + def setEnabled(self, enable: bool) -> None: ... + def key(self) -> QtGui.QKeySequence: ... + def setKey(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... + + +class QSizeGrip(QWidget): + + def __init__(self, parent: QWidget) -> None: ... + + def hideEvent(self, hideEvent: QtGui.QHideEvent) -> None: ... + def showEvent(self, showEvent: QtGui.QShowEvent) -> None: ... + def moveEvent(self, moveEvent: QtGui.QMoveEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def setVisible(self, a0: bool) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QSizePolicy(sip.simplewrapper): + + class ControlType(int): + DefaultType = ... # type: QSizePolicy.ControlType + ButtonBox = ... # type: QSizePolicy.ControlType + CheckBox = ... # type: QSizePolicy.ControlType + ComboBox = ... # type: QSizePolicy.ControlType + Frame = ... # type: QSizePolicy.ControlType + GroupBox = ... # type: QSizePolicy.ControlType + Label = ... # type: QSizePolicy.ControlType + Line = ... # type: QSizePolicy.ControlType + LineEdit = ... # type: QSizePolicy.ControlType + PushButton = ... # type: QSizePolicy.ControlType + RadioButton = ... # type: QSizePolicy.ControlType + Slider = ... # type: QSizePolicy.ControlType + SpinBox = ... # type: QSizePolicy.ControlType + TabWidget = ... # type: QSizePolicy.ControlType + ToolButton = ... # type: QSizePolicy.ControlType + + class Policy(int): + Fixed = ... # type: QSizePolicy.Policy + Minimum = ... # type: QSizePolicy.Policy + Maximum = ... # type: QSizePolicy.Policy + Preferred = ... # type: QSizePolicy.Policy + MinimumExpanding = ... # type: QSizePolicy.Policy + Expanding = ... # type: QSizePolicy.Policy + Ignored = ... # type: QSizePolicy.Policy + + class PolicyFlag(int): + GrowFlag = ... # type: QSizePolicy.PolicyFlag + ExpandFlag = ... # type: QSizePolicy.PolicyFlag + ShrinkFlag = ... # type: QSizePolicy.PolicyFlag + IgnoreFlag = ... # type: QSizePolicy.PolicyFlag + + class ControlTypes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QSizePolicy.ControlTypes', 'QSizePolicy.ControlType']) -> None: ... + @typing.overload + def __init__(self, a0: 'QSizePolicy.ControlTypes') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QSizePolicy.ControlTypes': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, horizontal: 'QSizePolicy.Policy', vertical: 'QSizePolicy.Policy', type: 'QSizePolicy.ControlType' = ...) -> None: ... + @typing.overload + def __init__(self, variant: typing.Any) -> None: ... + @typing.overload + def __init__(self, a0: 'QSizePolicy') -> None: ... + + def __hash__(self) -> int: ... + def setRetainSizeWhenHidden(self, retainSize: bool) -> None: ... + def retainSizeWhenHidden(self) -> bool: ... + def hasWidthForHeight(self) -> bool: ... + def setWidthForHeight(self, b: bool) -> None: ... + def setControlType(self, type: 'QSizePolicy.ControlType') -> None: ... + def controlType(self) -> 'QSizePolicy.ControlType': ... + def transposed(self) -> 'QSizePolicy': ... + def transpose(self) -> None: ... + def setVerticalStretch(self, stretchFactor: int) -> None: ... + def setHorizontalStretch(self, stretchFactor: int) -> None: ... + def verticalStretch(self) -> int: ... + def horizontalStretch(self) -> int: ... + def hasHeightForWidth(self) -> bool: ... + def setHeightForWidth(self, b: bool) -> None: ... + def expandingDirections(self) -> QtCore.Qt.Orientations: ... + def setVerticalPolicy(self, d: 'QSizePolicy.Policy') -> None: ... + def setHorizontalPolicy(self, d: 'QSizePolicy.Policy') -> None: ... + def verticalPolicy(self) -> 'QSizePolicy.Policy': ... + def horizontalPolicy(self) -> 'QSizePolicy.Policy': ... + + +class QSlider(QAbstractSlider): + + class TickPosition(int): + NoTicks = ... # type: QSlider.TickPosition + TicksAbove = ... # type: QSlider.TickPosition + TicksLeft = ... # type: QSlider.TickPosition + TicksBelow = ... # type: QSlider.TickPosition + TicksRight = ... # type: QSlider.TickPosition + TicksBothSides = ... # type: QSlider.TickPosition + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ... + + def mouseMoveEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, ev: QtGui.QPaintEvent) -> None: ... + def initStyleOption(self, option: 'QStyleOptionSlider') -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def tickInterval(self) -> int: ... + def setTickInterval(self, ti: int) -> None: ... + def tickPosition(self) -> 'QSlider.TickPosition': ... + def setTickPosition(self, position: 'QSlider.TickPosition') -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QSpinBox(QAbstractSpinBox): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setStepType(self, stepType: QAbstractSpinBox.StepType) -> None: ... + def stepType(self) -> QAbstractSpinBox.StepType: ... + def setDisplayIntegerBase(self, base: int) -> None: ... + def displayIntegerBase(self) -> int: ... + def textChanged(self, a0: str) -> None: ... + @typing.overload + def valueChanged(self, a0: int) -> None: ... + @typing.overload + def valueChanged(self, a0: str) -> None: ... + def setValue(self, val: int) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def fixup(self, str: str) -> str: ... + def textFromValue(self, v: int) -> str: ... + def valueFromText(self, text: str) -> int: ... + def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ... + def setRange(self, min: int, max: int) -> None: ... + def setMaximum(self, max: int) -> None: ... + def maximum(self) -> int: ... + def setMinimum(self, min: int) -> None: ... + def minimum(self) -> int: ... + def setSingleStep(self, val: int) -> None: ... + def singleStep(self) -> int: ... + def cleanText(self) -> str: ... + def setSuffix(self, s: str) -> None: ... + def suffix(self) -> str: ... + def setPrefix(self, p: str) -> None: ... + def prefix(self) -> str: ... + def value(self) -> int: ... + + +class QDoubleSpinBox(QAbstractSpinBox): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setStepType(self, stepType: QAbstractSpinBox.StepType) -> None: ... + def stepType(self) -> QAbstractSpinBox.StepType: ... + def textChanged(self, a0: str) -> None: ... + @typing.overload + def valueChanged(self, a0: float) -> None: ... + @typing.overload + def valueChanged(self, a0: str) -> None: ... + def setValue(self, val: float) -> None: ... + def fixup(self, str: str) -> str: ... + def textFromValue(self, v: float) -> str: ... + def valueFromText(self, text: str) -> float: ... + def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ... + def setDecimals(self, prec: int) -> None: ... + def decimals(self) -> int: ... + def setRange(self, min: float, max: float) -> None: ... + def setMaximum(self, max: float) -> None: ... + def maximum(self) -> float: ... + def setMinimum(self, min: float) -> None: ... + def minimum(self) -> float: ... + def setSingleStep(self, val: float) -> None: ... + def singleStep(self) -> float: ... + def cleanText(self) -> str: ... + def setSuffix(self, s: str) -> None: ... + def suffix(self) -> str: ... + def setPrefix(self, p: str) -> None: ... + def prefix(self) -> str: ... + def value(self) -> float: ... + + +class QSplashScreen(QWidget): + + @typing.overload + def __init__(self, pixmap: QtGui.QPixmap = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, parent: QWidget, pixmap: QtGui.QPixmap = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + @typing.overload + def __init__(self, screen: QtGui.QScreen, pixmap: QtGui.QPixmap = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def drawContents(self, painter: QtGui.QPainter) -> None: ... + def messageChanged(self, message: str) -> None: ... + def clearMessage(self) -> None: ... + def showMessage(self, message: str, alignment: int = ..., color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> None: ... + def message(self) -> str: ... + def repaint(self) -> None: ... + def finish(self, w: QWidget) -> None: ... + def pixmap(self) -> QtGui.QPixmap: ... + def setPixmap(self, pixmap: QtGui.QPixmap) -> None: ... + + +class QSplitter(QFrame): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ... + + def closestLegalPosition(self, a0: int, a1: int) -> int: ... + def setRubberBand(self, position: int) -> None: ... + def moveSplitter(self, pos: int, index: int) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def childEvent(self, a0: QtCore.QChildEvent) -> None: ... + def createHandle(self) -> 'QSplitterHandle': ... + def splitterMoved(self, pos: int, index: int) -> None: ... + def replaceWidget(self, index: int, widget: QWidget) -> QWidget: ... + def setStretchFactor(self, index: int, stretch: int) -> None: ... + def handle(self, index: int) -> 'QSplitterHandle': ... + def getRange(self, index: int) -> typing.Tuple[int, int]: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def widget(self, index: int) -> QWidget: ... + def indexOf(self, w: QWidget) -> int: ... + def setHandleWidth(self, a0: int) -> None: ... + def handleWidth(self) -> int: ... + def restoreState(self, state: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... + def saveState(self) -> QtCore.QByteArray: ... + def setSizes(self, list: typing.Iterable[int]) -> None: ... + def sizes(self) -> typing.List[int]: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def refresh(self) -> None: ... + def opaqueResize(self) -> bool: ... + def setOpaqueResize(self, opaque: bool = ...) -> None: ... + def isCollapsible(self, index: int) -> bool: ... + def setCollapsible(self, index: int, a1: bool) -> None: ... + def childrenCollapsible(self) -> bool: ... + def setChildrenCollapsible(self, a0: bool) -> None: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + def setOrientation(self, a0: QtCore.Qt.Orientation) -> None: ... + def insertWidget(self, index: int, widget: QWidget) -> None: ... + def addWidget(self, widget: QWidget) -> None: ... + + +class QSplitterHandle(QWidget): + + def __init__(self, o: QtCore.Qt.Orientation, parent: QSplitter) -> None: ... + + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def closestLegalPosition(self, p: int) -> int: ... + def moveSplitter(self, p: int) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def splitter(self) -> QSplitter: ... + def opaqueResize(self) -> bool: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + def setOrientation(self, o: QtCore.Qt.Orientation) -> None: ... + + +class QStackedLayout(QLayout): + + class StackingMode(int): + StackOne = ... # type: QStackedLayout.StackingMode + StackAll = ... # type: QStackedLayout.StackingMode + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, parent: QWidget) -> None: ... + @typing.overload + def __init__(self, parentLayout: QLayout) -> None: ... + + def heightForWidth(self, width: int) -> int: ... + def hasHeightForWidth(self) -> bool: ... + def setStackingMode(self, stackingMode: 'QStackedLayout.StackingMode') -> None: ... + def stackingMode(self) -> 'QStackedLayout.StackingMode': ... + def setCurrentWidget(self, w: QWidget) -> None: ... + def setCurrentIndex(self, index: int) -> None: ... + def currentChanged(self, index: int) -> None: ... + def widgetRemoved(self, index: int) -> None: ... + def setGeometry(self, rect: QtCore.QRect) -> None: ... + def takeAt(self, a0: int) -> QLayoutItem: ... + def itemAt(self, a0: int) -> QLayoutItem: ... + def minimumSize(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def addItem(self, item: QLayoutItem) -> None: ... + def count(self) -> int: ... + @typing.overload + def widget(self, a0: int) -> QWidget: ... + @typing.overload + def widget(self) -> QWidget: ... + def currentIndex(self) -> int: ... + def currentWidget(self) -> QWidget: ... + def insertWidget(self, index: int, w: QWidget) -> int: ... + def addWidget(self, w: QWidget) -> int: ... + + +class QStackedWidget(QFrame): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def event(self, e: QtCore.QEvent) -> bool: ... + def widgetRemoved(self, index: int) -> None: ... + def currentChanged(self, a0: int) -> None: ... + def setCurrentWidget(self, w: QWidget) -> None: ... + def setCurrentIndex(self, index: int) -> None: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def widget(self, a0: int) -> QWidget: ... + def indexOf(self, a0: QWidget) -> int: ... + def currentIndex(self) -> int: ... + def currentWidget(self) -> QWidget: ... + def removeWidget(self, w: QWidget) -> None: ... + def insertWidget(self, index: int, w: QWidget) -> int: ... + def addWidget(self, w: QWidget) -> int: ... + + +class QStatusBar(QWidget): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def hideOrShow(self) -> None: ... + def reformat(self) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def messageChanged(self, text: str) -> None: ... + def clearMessage(self) -> None: ... + def showMessage(self, message: str, msecs: int = ...) -> None: ... + def insertPermanentWidget(self, index: int, widget: QWidget, stretch: int = ...) -> int: ... + def insertWidget(self, index: int, widget: QWidget, stretch: int = ...) -> int: ... + def currentMessage(self) -> str: ... + def isSizeGripEnabled(self) -> bool: ... + def setSizeGripEnabled(self, a0: bool) -> None: ... + def removeWidget(self, widget: QWidget) -> None: ... + def addPermanentWidget(self, widget: QWidget, stretch: int = ...) -> None: ... + def addWidget(self, widget: QWidget, stretch: int = ...) -> None: ... + + +class QStyledItemDelegate(QAbstractItemDelegate): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def editorEvent(self, event: QtCore.QEvent, model: QtCore.QAbstractItemModel, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ... + def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ... + def initStyleOption(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... + def displayText(self, value: typing.Any, locale: QtCore.QLocale) -> str: ... + def setItemEditorFactory(self, factory: QItemEditorFactory) -> None: ... + def itemEditorFactory(self) -> QItemEditorFactory: ... + def updateEditorGeometry(self, editor: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... + def setModelData(self, editor: QWidget, model: QtCore.QAbstractItemModel, index: QtCore.QModelIndex) -> None: ... + def setEditorData(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ... + def createEditor(self, parent: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QWidget: ... + def sizeHint(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QtCore.QSize: ... + def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... + + +class QStyleFactory(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleFactory') -> None: ... + + @staticmethod + def create(a0: str) -> QStyle: ... + @staticmethod + def keys() -> typing.List[str]: ... + + +class QStyleOption(sip.simplewrapper): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOption.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOption.StyleOptionType + + class OptionType(int): + SO_Default = ... # type: QStyleOption.OptionType + SO_FocusRect = ... # type: QStyleOption.OptionType + SO_Button = ... # type: QStyleOption.OptionType + SO_Tab = ... # type: QStyleOption.OptionType + SO_MenuItem = ... # type: QStyleOption.OptionType + SO_Frame = ... # type: QStyleOption.OptionType + SO_ProgressBar = ... # type: QStyleOption.OptionType + SO_ToolBox = ... # type: QStyleOption.OptionType + SO_Header = ... # type: QStyleOption.OptionType + SO_DockWidget = ... # type: QStyleOption.OptionType + SO_ViewItem = ... # type: QStyleOption.OptionType + SO_TabWidgetFrame = ... # type: QStyleOption.OptionType + SO_TabBarBase = ... # type: QStyleOption.OptionType + SO_RubberBand = ... # type: QStyleOption.OptionType + SO_ToolBar = ... # type: QStyleOption.OptionType + SO_Complex = ... # type: QStyleOption.OptionType + SO_Slider = ... # type: QStyleOption.OptionType + SO_SpinBox = ... # type: QStyleOption.OptionType + SO_ToolButton = ... # type: QStyleOption.OptionType + SO_ComboBox = ... # type: QStyleOption.OptionType + SO_TitleBar = ... # type: QStyleOption.OptionType + SO_GroupBox = ... # type: QStyleOption.OptionType + SO_ComplexCustomBase = ... # type: QStyleOption.OptionType + SO_GraphicsItem = ... # type: QStyleOption.OptionType + SO_SizeGrip = ... # type: QStyleOption.OptionType + SO_CustomBase = ... # type: QStyleOption.OptionType + + direction = ... # type: QtCore.Qt.LayoutDirection + fontMetrics = ... # type: QtGui.QFontMetrics + palette = ... # type: QtGui.QPalette + rect = ... # type: QtCore.QRect + state = ... # type: typing.Union[QStyle.State, QStyle.StateFlag] + styleObject = ... # type: QtCore.QObject + type = ... # type: int + version = ... # type: int + + @typing.overload + def __init__(self, version: int = ..., type: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOption') -> None: ... + + def initFrom(self, w: QWidget) -> None: ... + + +class QStyleOptionFocusRect(QStyleOption): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionFocusRect.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionFocusRect.StyleOptionType + + backgroundColor = ... # type: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionFocusRect') -> None: ... + + +class QStyleOptionFrame(QStyleOption): + + class FrameFeature(int): + None_ = ... # type: QStyleOptionFrame.FrameFeature + Flat = ... # type: QStyleOptionFrame.FrameFeature + Rounded = ... # type: QStyleOptionFrame.FrameFeature + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionFrame.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionFrame.StyleOptionType + + class FrameFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyleOptionFrame.FrameFeatures', 'QStyleOptionFrame.FrameFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleOptionFrame.FrameFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyleOptionFrame.FrameFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + features = ... # type: typing.Union['QStyleOptionFrame.FrameFeatures', 'QStyleOptionFrame.FrameFeature'] + frameShape = ... # type: QFrame.Shape + lineWidth = ... # type: int + midLineWidth = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionFrame') -> None: ... + + +class QStyleOptionTabWidgetFrame(QStyleOption): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionTabWidgetFrame.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionTabWidgetFrame.StyleOptionType + + leftCornerWidgetSize = ... # type: QtCore.QSize + lineWidth = ... # type: int + midLineWidth = ... # type: int + rightCornerWidgetSize = ... # type: QtCore.QSize + selectedTabRect = ... # type: QtCore.QRect + shape = ... # type: 'QTabBar.Shape' + tabBarRect = ... # type: QtCore.QRect + tabBarSize = ... # type: QtCore.QSize + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionTabWidgetFrame') -> None: ... + + +class QStyleOptionTabBarBase(QStyleOption): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionTabBarBase.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionTabBarBase.StyleOptionType + + documentMode = ... # type: bool + selectedTabRect = ... # type: QtCore.QRect + shape = ... # type: 'QTabBar.Shape' + tabBarRect = ... # type: QtCore.QRect + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionTabBarBase') -> None: ... + + +class QStyleOptionHeader(QStyleOption): + + class SortIndicator(int): + None_ = ... # type: QStyleOptionHeader.SortIndicator + SortUp = ... # type: QStyleOptionHeader.SortIndicator + SortDown = ... # type: QStyleOptionHeader.SortIndicator + + class SelectedPosition(int): + NotAdjacent = ... # type: QStyleOptionHeader.SelectedPosition + NextIsSelected = ... # type: QStyleOptionHeader.SelectedPosition + PreviousIsSelected = ... # type: QStyleOptionHeader.SelectedPosition + NextAndPreviousAreSelected = ... # type: QStyleOptionHeader.SelectedPosition + + class SectionPosition(int): + Beginning = ... # type: QStyleOptionHeader.SectionPosition + Middle = ... # type: QStyleOptionHeader.SectionPosition + End = ... # type: QStyleOptionHeader.SectionPosition + OnlyOneSection = ... # type: QStyleOptionHeader.SectionPosition + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionHeader.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionHeader.StyleOptionType + + icon = ... # type: QtGui.QIcon + iconAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] + orientation = ... # type: QtCore.Qt.Orientation + position = ... # type: 'QStyleOptionHeader.SectionPosition' + section = ... # type: int + selectedPosition = ... # type: 'QStyleOptionHeader.SelectedPosition' + sortIndicator = ... # type: 'QStyleOptionHeader.SortIndicator' + text = ... # type: str + textAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionHeader') -> None: ... + + +class QStyleOptionButton(QStyleOption): + + class ButtonFeature(int): + None_ = ... # type: QStyleOptionButton.ButtonFeature + Flat = ... # type: QStyleOptionButton.ButtonFeature + HasMenu = ... # type: QStyleOptionButton.ButtonFeature + DefaultButton = ... # type: QStyleOptionButton.ButtonFeature + AutoDefaultButton = ... # type: QStyleOptionButton.ButtonFeature + CommandLinkButton = ... # type: QStyleOptionButton.ButtonFeature + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionButton.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionButton.StyleOptionType + + class ButtonFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyleOptionButton.ButtonFeatures', 'QStyleOptionButton.ButtonFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleOptionButton.ButtonFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyleOptionButton.ButtonFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + features = ... # type: typing.Union['QStyleOptionButton.ButtonFeatures', 'QStyleOptionButton.ButtonFeature'] + icon = ... # type: QtGui.QIcon + iconSize = ... # type: QtCore.QSize + text = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionButton') -> None: ... + + +class QStyleOptionTab(QStyleOption): + + class TabFeature(int): + None_ = ... # type: QStyleOptionTab.TabFeature + HasFrame = ... # type: QStyleOptionTab.TabFeature + + class CornerWidget(int): + NoCornerWidgets = ... # type: QStyleOptionTab.CornerWidget + LeftCornerWidget = ... # type: QStyleOptionTab.CornerWidget + RightCornerWidget = ... # type: QStyleOptionTab.CornerWidget + + class SelectedPosition(int): + NotAdjacent = ... # type: QStyleOptionTab.SelectedPosition + NextIsSelected = ... # type: QStyleOptionTab.SelectedPosition + PreviousIsSelected = ... # type: QStyleOptionTab.SelectedPosition + + class TabPosition(int): + Beginning = ... # type: QStyleOptionTab.TabPosition + Middle = ... # type: QStyleOptionTab.TabPosition + End = ... # type: QStyleOptionTab.TabPosition + OnlyOneTab = ... # type: QStyleOptionTab.TabPosition + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionTab.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionTab.StyleOptionType + + class CornerWidgets(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyleOptionTab.CornerWidgets', 'QStyleOptionTab.CornerWidget']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleOptionTab.CornerWidgets') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyleOptionTab.CornerWidgets': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + class TabFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyleOptionTab.TabFeatures', 'QStyleOptionTab.TabFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleOptionTab.TabFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyleOptionTab.TabFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + cornerWidgets = ... # type: typing.Union['QStyleOptionTab.CornerWidgets', 'QStyleOptionTab.CornerWidget'] + documentMode = ... # type: bool + features = ... # type: typing.Union['QStyleOptionTab.TabFeatures', 'QStyleOptionTab.TabFeature'] + icon = ... # type: QtGui.QIcon + iconSize = ... # type: QtCore.QSize + leftButtonSize = ... # type: QtCore.QSize + position = ... # type: 'QStyleOptionTab.TabPosition' + rightButtonSize = ... # type: QtCore.QSize + row = ... # type: int + selectedPosition = ... # type: 'QStyleOptionTab.SelectedPosition' + shape = ... # type: 'QTabBar.Shape' + text = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionTab') -> None: ... + + +class QStyleOptionTabV4(QStyleOptionTab): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionTabV4.StyleOptionVersion + + tabIndex = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleOptionTabV4') -> None: ... + + +class QStyleOptionProgressBar(QStyleOption): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionProgressBar.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionProgressBar.StyleOptionType + + bottomToTop = ... # type: bool + invertedAppearance = ... # type: bool + maximum = ... # type: int + minimum = ... # type: int + orientation = ... # type: QtCore.Qt.Orientation + progress = ... # type: int + text = ... # type: str + textAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] + textVisible = ... # type: bool + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionProgressBar') -> None: ... + + +class QStyleOptionMenuItem(QStyleOption): + + class CheckType(int): + NotCheckable = ... # type: QStyleOptionMenuItem.CheckType + Exclusive = ... # type: QStyleOptionMenuItem.CheckType + NonExclusive = ... # type: QStyleOptionMenuItem.CheckType + + class MenuItemType(int): + Normal = ... # type: QStyleOptionMenuItem.MenuItemType + DefaultItem = ... # type: QStyleOptionMenuItem.MenuItemType + Separator = ... # type: QStyleOptionMenuItem.MenuItemType + SubMenu = ... # type: QStyleOptionMenuItem.MenuItemType + Scroller = ... # type: QStyleOptionMenuItem.MenuItemType + TearOff = ... # type: QStyleOptionMenuItem.MenuItemType + Margin = ... # type: QStyleOptionMenuItem.MenuItemType + EmptyArea = ... # type: QStyleOptionMenuItem.MenuItemType + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionMenuItem.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionMenuItem.StyleOptionType + + checkType = ... # type: 'QStyleOptionMenuItem.CheckType' + checked = ... # type: bool + font = ... # type: QtGui.QFont + icon = ... # type: QtGui.QIcon + maxIconWidth = ... # type: int + menuHasCheckableItems = ... # type: bool + menuItemType = ... # type: 'QStyleOptionMenuItem.MenuItemType' + menuRect = ... # type: QtCore.QRect + tabWidth = ... # type: int + text = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionMenuItem') -> None: ... + + +class QStyleOptionDockWidget(QStyleOption): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionDockWidget.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionDockWidget.StyleOptionType + + closable = ... # type: bool + floatable = ... # type: bool + movable = ... # type: bool + title = ... # type: str + verticalTitleBar = ... # type: bool + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionDockWidget') -> None: ... + + +class QStyleOptionViewItem(QStyleOption): + + class ViewItemPosition(int): + Invalid = ... # type: QStyleOptionViewItem.ViewItemPosition + Beginning = ... # type: QStyleOptionViewItem.ViewItemPosition + Middle = ... # type: QStyleOptionViewItem.ViewItemPosition + End = ... # type: QStyleOptionViewItem.ViewItemPosition + OnlyOne = ... # type: QStyleOptionViewItem.ViewItemPosition + + class ViewItemFeature(int): + None_ = ... # type: QStyleOptionViewItem.ViewItemFeature + WrapText = ... # type: QStyleOptionViewItem.ViewItemFeature + Alternate = ... # type: QStyleOptionViewItem.ViewItemFeature + HasCheckIndicator = ... # type: QStyleOptionViewItem.ViewItemFeature + HasDisplay = ... # type: QStyleOptionViewItem.ViewItemFeature + HasDecoration = ... # type: QStyleOptionViewItem.ViewItemFeature + + class Position(int): + Left = ... # type: QStyleOptionViewItem.Position + Right = ... # type: QStyleOptionViewItem.Position + Top = ... # type: QStyleOptionViewItem.Position + Bottom = ... # type: QStyleOptionViewItem.Position + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionViewItem.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionViewItem.StyleOptionType + + class ViewItemFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyleOptionViewItem.ViewItemFeatures', 'QStyleOptionViewItem.ViewItemFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleOptionViewItem.ViewItemFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyleOptionViewItem.ViewItemFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + backgroundBrush = ... # type: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] + checkState = ... # type: QtCore.Qt.CheckState + decorationAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] + decorationPosition = ... # type: 'QStyleOptionViewItem.Position' + decorationSize = ... # type: QtCore.QSize + displayAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] + features = ... # type: typing.Union['QStyleOptionViewItem.ViewItemFeatures', 'QStyleOptionViewItem.ViewItemFeature'] + font = ... # type: QtGui.QFont + icon = ... # type: QtGui.QIcon + index = ... # type: QtCore.QModelIndex + locale = ... # type: QtCore.QLocale + showDecorationSelected = ... # type: bool + text = ... # type: str + textElideMode = ... # type: QtCore.Qt.TextElideMode + viewItemPosition = ... # type: 'QStyleOptionViewItem.ViewItemPosition' + widget = ... # type: QWidget + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionViewItem') -> None: ... + + +class QStyleOptionToolBox(QStyleOption): + + class SelectedPosition(int): + NotAdjacent = ... # type: QStyleOptionToolBox.SelectedPosition + NextIsSelected = ... # type: QStyleOptionToolBox.SelectedPosition + PreviousIsSelected = ... # type: QStyleOptionToolBox.SelectedPosition + + class TabPosition(int): + Beginning = ... # type: QStyleOptionToolBox.TabPosition + Middle = ... # type: QStyleOptionToolBox.TabPosition + End = ... # type: QStyleOptionToolBox.TabPosition + OnlyOneTab = ... # type: QStyleOptionToolBox.TabPosition + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionToolBox.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionToolBox.StyleOptionType + + icon = ... # type: QtGui.QIcon + position = ... # type: 'QStyleOptionToolBox.TabPosition' + selectedPosition = ... # type: 'QStyleOptionToolBox.SelectedPosition' + text = ... # type: str + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionToolBox') -> None: ... + + +class QStyleOptionRubberBand(QStyleOption): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionRubberBand.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionRubberBand.StyleOptionType + + opaque = ... # type: bool + shape = ... # type: QRubberBand.Shape + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionRubberBand') -> None: ... + + +class QStyleOptionComplex(QStyleOption): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionComplex.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionComplex.StyleOptionType + + activeSubControls = ... # type: typing.Union[QStyle.SubControls, QStyle.SubControl] + subControls = ... # type: typing.Union[QStyle.SubControls, QStyle.SubControl] + + @typing.overload + def __init__(self, version: int = ..., type: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionComplex') -> None: ... + + +class QStyleOptionSlider(QStyleOptionComplex): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionSlider.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionSlider.StyleOptionType + + dialWrapping = ... # type: bool + maximum = ... # type: int + minimum = ... # type: int + notchTarget = ... # type: float + orientation = ... # type: QtCore.Qt.Orientation + pageStep = ... # type: int + singleStep = ... # type: int + sliderPosition = ... # type: int + sliderValue = ... # type: int + tickInterval = ... # type: int + tickPosition = ... # type: QSlider.TickPosition + upsideDown = ... # type: bool + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionSlider') -> None: ... + + +class QStyleOptionSpinBox(QStyleOptionComplex): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionSpinBox.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionSpinBox.StyleOptionType + + buttonSymbols = ... # type: QAbstractSpinBox.ButtonSymbols + frame = ... # type: bool + stepEnabled = ... # type: typing.Union[QAbstractSpinBox.StepEnabled, QAbstractSpinBox.StepEnabledFlag] + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionSpinBox') -> None: ... + + +class QStyleOptionToolButton(QStyleOptionComplex): + + class ToolButtonFeature(int): + None_ = ... # type: QStyleOptionToolButton.ToolButtonFeature + Arrow = ... # type: QStyleOptionToolButton.ToolButtonFeature + Menu = ... # type: QStyleOptionToolButton.ToolButtonFeature + PopupDelay = ... # type: QStyleOptionToolButton.ToolButtonFeature + MenuButtonPopup = ... # type: QStyleOptionToolButton.ToolButtonFeature + HasMenu = ... # type: QStyleOptionToolButton.ToolButtonFeature + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionToolButton.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionToolButton.StyleOptionType + + class ToolButtonFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyleOptionToolButton.ToolButtonFeatures', 'QStyleOptionToolButton.ToolButtonFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleOptionToolButton.ToolButtonFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyleOptionToolButton.ToolButtonFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + arrowType = ... # type: QtCore.Qt.ArrowType + features = ... # type: typing.Union['QStyleOptionToolButton.ToolButtonFeatures', 'QStyleOptionToolButton.ToolButtonFeature'] + font = ... # type: QtGui.QFont + icon = ... # type: QtGui.QIcon + iconSize = ... # type: QtCore.QSize + pos = ... # type: QtCore.QPoint + text = ... # type: str + toolButtonStyle = ... # type: QtCore.Qt.ToolButtonStyle + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionToolButton') -> None: ... + + +class QStyleOptionComboBox(QStyleOptionComplex): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionComboBox.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionComboBox.StyleOptionType + + currentIcon = ... # type: QtGui.QIcon + currentText = ... # type: str + editable = ... # type: bool + frame = ... # type: bool + iconSize = ... # type: QtCore.QSize + popupRect = ... # type: QtCore.QRect + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionComboBox') -> None: ... + + +class QStyleOptionTitleBar(QStyleOptionComplex): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionTitleBar.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionTitleBar.StyleOptionType + + icon = ... # type: QtGui.QIcon + text = ... # type: str + titleBarFlags = ... # type: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] + titleBarState = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionTitleBar') -> None: ... + + +class QStyleHintReturn(sip.simplewrapper): + + class StyleOptionVersion(int): + Version = ... # type: QStyleHintReturn.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleHintReturn.StyleOptionType + + class HintReturnType(int): + SH_Default = ... # type: QStyleHintReturn.HintReturnType + SH_Mask = ... # type: QStyleHintReturn.HintReturnType + SH_Variant = ... # type: QStyleHintReturn.HintReturnType + + type = ... # type: int + version = ... # type: int + + @typing.overload + def __init__(self, version: int = ..., type: int = ...) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleHintReturn') -> None: ... + + +class QStyleHintReturnMask(QStyleHintReturn): + + class StyleOptionVersion(int): + Version = ... # type: QStyleHintReturnMask.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleHintReturnMask.StyleOptionType + + region = ... # type: QtGui.QRegion + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleHintReturnMask') -> None: ... + + +class QStyleOptionToolBar(QStyleOption): + + class ToolBarFeature(int): + None_ = ... # type: QStyleOptionToolBar.ToolBarFeature + Movable = ... # type: QStyleOptionToolBar.ToolBarFeature + + class ToolBarPosition(int): + Beginning = ... # type: QStyleOptionToolBar.ToolBarPosition + Middle = ... # type: QStyleOptionToolBar.ToolBarPosition + End = ... # type: QStyleOptionToolBar.ToolBarPosition + OnlyOne = ... # type: QStyleOptionToolBar.ToolBarPosition + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionToolBar.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionToolBar.StyleOptionType + + class ToolBarFeatures(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QStyleOptionToolBar.ToolBarFeatures', 'QStyleOptionToolBar.ToolBarFeature']) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleOptionToolBar.ToolBarFeatures') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QStyleOptionToolBar.ToolBarFeatures': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + features = ... # type: typing.Union['QStyleOptionToolBar.ToolBarFeatures', 'QStyleOptionToolBar.ToolBarFeature'] + lineWidth = ... # type: int + midLineWidth = ... # type: int + positionOfLine = ... # type: 'QStyleOptionToolBar.ToolBarPosition' + positionWithinLine = ... # type: 'QStyleOptionToolBar.ToolBarPosition' + toolBarArea = ... # type: QtCore.Qt.ToolBarArea + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionToolBar') -> None: ... + + +class QStyleOptionGroupBox(QStyleOptionComplex): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionGroupBox.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionGroupBox.StyleOptionType + + features = ... # type: typing.Union[QStyleOptionFrame.FrameFeatures, QStyleOptionFrame.FrameFeature] + lineWidth = ... # type: int + midLineWidth = ... # type: int + text = ... # type: str + textAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] + textColor = ... # type: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionGroupBox') -> None: ... + + +class QStyleOptionSizeGrip(QStyleOptionComplex): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionSizeGrip.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionSizeGrip.StyleOptionType + + corner = ... # type: QtCore.Qt.Corner + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionSizeGrip') -> None: ... + + +class QStyleOptionGraphicsItem(QStyleOption): + + class StyleOptionVersion(int): + Version = ... # type: QStyleOptionGraphicsItem.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleOptionGraphicsItem.StyleOptionType + + exposedRect = ... # type: QtCore.QRectF + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QStyleOptionGraphicsItem') -> None: ... + + @staticmethod + def levelOfDetailFromTransform(worldTransform: QtGui.QTransform) -> float: ... + + +class QStyleHintReturnVariant(QStyleHintReturn): + + class StyleOptionVersion(int): + Version = ... # type: QStyleHintReturnVariant.StyleOptionVersion + + class StyleOptionType(int): + Type = ... # type: QStyleHintReturnVariant.StyleOptionType + + variant = ... # type: typing.Any + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QStyleHintReturnVariant') -> None: ... + + +class QStylePainter(QtGui.QPainter): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, w: QWidget) -> None: ... + @typing.overload + def __init__(self, pd: QtGui.QPaintDevice, w: QWidget) -> None: ... + + def drawItemPixmap(self, r: QtCore.QRect, flags: int, pixmap: QtGui.QPixmap) -> None: ... + def drawItemText(self, rect: QtCore.QRect, flags: int, pal: QtGui.QPalette, enabled: bool, text: str, textRole: QtGui.QPalette.ColorRole = ...) -> None: ... + def drawComplexControl(self, cc: QStyle.ComplexControl, opt: QStyleOptionComplex) -> None: ... + def drawControl(self, ce: QStyle.ControlElement, opt: QStyleOption) -> None: ... + def drawPrimitive(self, pe: QStyle.PrimitiveElement, opt: QStyleOption) -> None: ... + def style(self) -> QStyle: ... + @typing.overload + def begin(self, w: QWidget) -> bool: ... + @typing.overload + def begin(self, pd: QtGui.QPaintDevice, w: QWidget) -> bool: ... + + +class QSystemTrayIcon(QtCore.QObject): + + class MessageIcon(int): + NoIcon = ... # type: QSystemTrayIcon.MessageIcon + Information = ... # type: QSystemTrayIcon.MessageIcon + Warning = ... # type: QSystemTrayIcon.MessageIcon + Critical = ... # type: QSystemTrayIcon.MessageIcon + + class ActivationReason(int): + Unknown = ... # type: QSystemTrayIcon.ActivationReason + Context = ... # type: QSystemTrayIcon.ActivationReason + DoubleClick = ... # type: QSystemTrayIcon.ActivationReason + Trigger = ... # type: QSystemTrayIcon.ActivationReason + MiddleClick = ... # type: QSystemTrayIcon.ActivationReason + + @typing.overload + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + @typing.overload + def __init__(self, icon: QtGui.QIcon, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def event(self, event: QtCore.QEvent) -> bool: ... + def messageClicked(self) -> None: ... + def activated(self, reason: 'QSystemTrayIcon.ActivationReason') -> None: ... + def show(self) -> None: ... + def setVisible(self, visible: bool) -> None: ... + def hide(self) -> None: ... + def isVisible(self) -> bool: ... + @typing.overload + def showMessage(self, title: str, msg: str, icon: 'QSystemTrayIcon.MessageIcon' = ..., msecs: int = ...) -> None: ... + @typing.overload + def showMessage(self, title: str, msg: str, icon: QtGui.QIcon, msecs: int = ...) -> None: ... + @staticmethod + def supportsMessages() -> bool: ... + @staticmethod + def isSystemTrayAvailable() -> bool: ... + def setToolTip(self, tip: str) -> None: ... + def toolTip(self) -> str: ... + def setIcon(self, icon: QtGui.QIcon) -> None: ... + def icon(self) -> QtGui.QIcon: ... + def geometry(self) -> QtCore.QRect: ... + def contextMenu(self) -> QMenu: ... + def setContextMenu(self, menu: QMenu) -> None: ... + + +class QTabBar(QWidget): + + class SelectionBehavior(int): + SelectLeftTab = ... # type: QTabBar.SelectionBehavior + SelectRightTab = ... # type: QTabBar.SelectionBehavior + SelectPreviousTab = ... # type: QTabBar.SelectionBehavior + + class ButtonPosition(int): + LeftSide = ... # type: QTabBar.ButtonPosition + RightSide = ... # type: QTabBar.ButtonPosition + + class Shape(int): + RoundedNorth = ... # type: QTabBar.Shape + RoundedSouth = ... # type: QTabBar.Shape + RoundedWest = ... # type: QTabBar.Shape + RoundedEast = ... # type: QTabBar.Shape + TriangularNorth = ... # type: QTabBar.Shape + TriangularSouth = ... # type: QTabBar.Shape + TriangularWest = ... # type: QTabBar.Shape + TriangularEast = ... # type: QTabBar.Shape + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setTabVisible(self, index: int, visible: bool) -> None: ... + def isTabVisible(self, index: int) -> bool: ... + def setAccessibleTabName(self, index: int, name: str) -> None: ... + def accessibleTabName(self, index: int) -> str: ... + def timerEvent(self, event: QtCore.QTimerEvent) -> None: ... + def setChangeCurrentOnDrag(self, change: bool) -> None: ... + def changeCurrentOnDrag(self) -> bool: ... + def setAutoHide(self, hide: bool) -> None: ... + def autoHide(self) -> bool: ... + def tabBarDoubleClicked(self, index: int) -> None: ... + def tabBarClicked(self, index: int) -> None: ... + def minimumTabSizeHint(self, index: int) -> QtCore.QSize: ... + def wheelEvent(self, event: QtGui.QWheelEvent) -> None: ... + def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... + def tabMoved(self, from_: int, to: int) -> None: ... + def tabCloseRequested(self, index: int) -> None: ... + def setDocumentMode(self, set: bool) -> None: ... + def documentMode(self) -> bool: ... + def setMovable(self, movable: bool) -> None: ... + def isMovable(self) -> bool: ... + def setExpanding(self, enabled: bool) -> None: ... + def expanding(self) -> bool: ... + def setSelectionBehaviorOnRemove(self, behavior: 'QTabBar.SelectionBehavior') -> None: ... + def selectionBehaviorOnRemove(self) -> 'QTabBar.SelectionBehavior': ... + def tabButton(self, index: int, position: 'QTabBar.ButtonPosition') -> QWidget: ... + def setTabButton(self, index: int, position: 'QTabBar.ButtonPosition', widget: QWidget) -> None: ... + def setTabsClosable(self, closable: bool) -> None: ... + def tabsClosable(self) -> bool: ... + def moveTab(self, from_: int, to: int) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def tabLayoutChange(self) -> None: ... + def tabRemoved(self, index: int) -> None: ... + def tabInserted(self, index: int) -> None: ... + def tabSizeHint(self, index: int) -> QtCore.QSize: ... + def initStyleOption(self, option: QStyleOptionTab, tabIndex: int) -> None: ... + def currentChanged(self, index: int) -> None: ... + def setCurrentIndex(self, index: int) -> None: ... + def usesScrollButtons(self) -> bool: ... + def setUsesScrollButtons(self, useButtons: bool) -> None: ... + def setElideMode(self, a0: QtCore.Qt.TextElideMode) -> None: ... + def elideMode(self) -> QtCore.Qt.TextElideMode: ... + def setIconSize(self, size: QtCore.QSize) -> None: ... + def iconSize(self) -> QtCore.QSize: ... + def drawBase(self) -> bool: ... + def setDrawBase(self, drawTheBase: bool) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def currentIndex(self) -> int: ... + def tabRect(self, index: int) -> QtCore.QRect: ... + def tabAt(self, pos: QtCore.QPoint) -> int: ... + def tabData(self, index: int) -> typing.Any: ... + def setTabData(self, index: int, data: typing.Any) -> None: ... + def tabWhatsThis(self, index: int) -> str: ... + def setTabWhatsThis(self, index: int, text: str) -> None: ... + def tabToolTip(self, index: int) -> str: ... + def setTabToolTip(self, index: int, tip: str) -> None: ... + def setTabIcon(self, index: int, icon: QtGui.QIcon) -> None: ... + def tabIcon(self, index: int) -> QtGui.QIcon: ... + def setTabTextColor(self, index: int, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def tabTextColor(self, index: int) -> QtGui.QColor: ... + def setTabText(self, index: int, text: str) -> None: ... + def tabText(self, index: int) -> str: ... + def setTabEnabled(self, index: int, a1: bool) -> None: ... + def isTabEnabled(self, index: int) -> bool: ... + def removeTab(self, index: int) -> None: ... + @typing.overload + def insertTab(self, index: int, text: str) -> int: ... + @typing.overload + def insertTab(self, index: int, icon: QtGui.QIcon, text: str) -> int: ... + @typing.overload + def addTab(self, text: str) -> int: ... + @typing.overload + def addTab(self, icon: QtGui.QIcon, text: str) -> int: ... + def setShape(self, shape: 'QTabBar.Shape') -> None: ... + def shape(self) -> 'QTabBar.Shape': ... + + +class QTableView(QAbstractItemView): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ... + def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ... + def clearSpans(self) -> None: ... + def isCornerButtonEnabled(self) -> bool: ... + def setCornerButtonEnabled(self, enable: bool) -> None: ... + def wordWrap(self) -> bool: ... + def setWordWrap(self, on: bool) -> None: ... + def sortByColumn(self, column: int, order: QtCore.Qt.SortOrder) -> None: ... + def columnSpan(self, row: int, column: int) -> int: ... + def rowSpan(self, row: int, column: int) -> int: ... + def setSpan(self, row: int, column: int, rowSpan: int, columnSpan: int) -> None: ... + def isSortingEnabled(self) -> bool: ... + def setSortingEnabled(self, enable: bool) -> None: ... + def viewportSizeHint(self) -> QtCore.QSize: ... + def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ... + def horizontalScrollbarAction(self, action: int) -> None: ... + def verticalScrollbarAction(self, action: int) -> None: ... + def sizeHintForColumn(self, column: int) -> int: ... + def sizeHintForRow(self, row: int) -> int: ... + def updateGeometries(self) -> None: ... + def selectedIndexes(self) -> typing.List[QtCore.QModelIndex]: ... + def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ... + def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ... + def verticalOffset(self) -> int: ... + def horizontalOffset(self) -> int: ... + def timerEvent(self, event: QtCore.QTimerEvent) -> None: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def viewOptions(self) -> QStyleOptionViewItem: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def columnCountChanged(self, oldCount: int, newCount: int) -> None: ... + def rowCountChanged(self, oldCount: int, newCount: int) -> None: ... + def columnResized(self, column: int, oldWidth: int, newWidth: int) -> None: ... + def rowResized(self, row: int, oldHeight: int, newHeight: int) -> None: ... + def columnMoved(self, column: int, oldIndex: int, newIndex: int) -> None: ... + def rowMoved(self, row: int, oldIndex: int, newIndex: int) -> None: ... + def resizeColumnsToContents(self) -> None: ... + def resizeColumnToContents(self, column: int) -> None: ... + def resizeRowsToContents(self) -> None: ... + def resizeRowToContents(self, row: int) -> None: ... + def showColumn(self, column: int) -> None: ... + def showRow(self, row: int) -> None: ... + def hideColumn(self, column: int) -> None: ... + def hideRow(self, row: int) -> None: ... + def selectColumn(self, column: int) -> None: ... + def selectRow(self, row: int) -> None: ... + def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ... + def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ... + def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... + def setGridStyle(self, style: QtCore.Qt.PenStyle) -> None: ... + def gridStyle(self) -> QtCore.Qt.PenStyle: ... + def setShowGrid(self, show: bool) -> None: ... + def showGrid(self) -> bool: ... + def setColumnHidden(self, column: int, hide: bool) -> None: ... + def isColumnHidden(self, column: int) -> bool: ... + def setRowHidden(self, row: int, hide: bool) -> None: ... + def isRowHidden(self, row: int) -> bool: ... + def columnAt(self, x: int) -> int: ... + def columnWidth(self, column: int) -> int: ... + def setColumnWidth(self, column: int, width: int) -> None: ... + def columnViewportPosition(self, column: int) -> int: ... + def rowAt(self, y: int) -> int: ... + def rowHeight(self, row: int) -> int: ... + def setRowHeight(self, row: int, height: int) -> None: ... + def rowViewportPosition(self, row: int) -> int: ... + def setVerticalHeader(self, header: QHeaderView) -> None: ... + def setHorizontalHeader(self, header: QHeaderView) -> None: ... + def verticalHeader(self) -> QHeaderView: ... + def horizontalHeader(self) -> QHeaderView: ... + def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ... + def setRootIndex(self, index: QtCore.QModelIndex) -> None: ... + def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... + + +class QTableWidgetSelectionRange(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, top: int, left: int, bottom: int, right: int) -> None: ... + @typing.overload + def __init__(self, other: 'QTableWidgetSelectionRange') -> None: ... + + def columnCount(self) -> int: ... + def rowCount(self) -> int: ... + def rightColumn(self) -> int: ... + def leftColumn(self) -> int: ... + def bottomRow(self) -> int: ... + def topRow(self) -> int: ... + + +class QTableWidgetItem(PyQt5.sip.wrapper): + + class ItemType(int): + Type = ... # type: QTableWidgetItem.ItemType + UserType = ... # type: QTableWidgetItem.ItemType + + @typing.overload + def __init__(self, type: int = ...) -> None: ... + @typing.overload + def __init__(self, text: str, type: int = ...) -> None: ... + @typing.overload + def __init__(self, icon: QtGui.QIcon, text: str, type: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QTableWidgetItem') -> None: ... + + def isSelected(self) -> bool: ... + def setSelected(self, aselect: bool) -> None: ... + def column(self) -> int: ... + def row(self) -> int: ... + def setForeground(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def foreground(self) -> QtGui.QBrush: ... + def setBackground(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def background(self) -> QtGui.QBrush: ... + def setSizeHint(self, size: QtCore.QSize) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def setFont(self, afont: QtGui.QFont) -> None: ... + def setWhatsThis(self, awhatsThis: str) -> None: ... + def setToolTip(self, atoolTip: str) -> None: ... + def setStatusTip(self, astatusTip: str) -> None: ... + def setIcon(self, aicon: QtGui.QIcon) -> None: ... + def setText(self, atext: str) -> None: ... + def setFlags(self, aflags: typing.Union[QtCore.Qt.ItemFlags, QtCore.Qt.ItemFlag]) -> None: ... + def type(self) -> int: ... + def write(self, out: QtCore.QDataStream) -> None: ... + def read(self, in_: QtCore.QDataStream) -> None: ... + def setData(self, role: int, value: typing.Any) -> None: ... + def data(self, role: int) -> typing.Any: ... + def setCheckState(self, state: QtCore.Qt.CheckState) -> None: ... + def checkState(self) -> QtCore.Qt.CheckState: ... + def setTextAlignment(self, alignment: int) -> None: ... + def textAlignment(self) -> int: ... + def font(self) -> QtGui.QFont: ... + def whatsThis(self) -> str: ... + def toolTip(self) -> str: ... + def statusTip(self) -> str: ... + def icon(self) -> QtGui.QIcon: ... + def text(self) -> str: ... + def flags(self) -> QtCore.Qt.ItemFlags: ... + def tableWidget(self) -> 'QTableWidget': ... + def clone(self) -> 'QTableWidgetItem': ... + + +class QTableWidget(QTableView): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, rows: int, columns: int, parent: typing.Optional[QWidget] = ...) -> None: ... + + def isPersistentEditorOpen(self, item: QTableWidgetItem) -> bool: ... + def dropEvent(self, event: QtGui.QDropEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def itemFromIndex(self, index: QtCore.QModelIndex) -> QTableWidgetItem: ... + def indexFromItem(self, item: QTableWidgetItem) -> QtCore.QModelIndex: ... + def items(self, data: QtCore.QMimeData) -> typing.List[QTableWidgetItem]: ... + def supportedDropActions(self) -> QtCore.Qt.DropActions: ... + def dropMimeData(self, row: int, column: int, data: QtCore.QMimeData, action: QtCore.Qt.DropAction) -> bool: ... + def mimeData(self, items: typing.Iterable[QTableWidgetItem]) -> QtCore.QMimeData: ... + def mimeTypes(self) -> typing.List[str]: ... + def currentCellChanged(self, currentRow: int, currentColumn: int, previousRow: int, previousColumn: int) -> None: ... + def cellChanged(self, row: int, column: int) -> None: ... + def cellEntered(self, row: int, column: int) -> None: ... + def cellActivated(self, row: int, column: int) -> None: ... + def cellDoubleClicked(self, row: int, column: int) -> None: ... + def cellClicked(self, row: int, column: int) -> None: ... + def cellPressed(self, row: int, column: int) -> None: ... + def itemSelectionChanged(self) -> None: ... + def currentItemChanged(self, current: QTableWidgetItem, previous: QTableWidgetItem) -> None: ... + def itemChanged(self, item: QTableWidgetItem) -> None: ... + def itemEntered(self, item: QTableWidgetItem) -> None: ... + def itemActivated(self, item: QTableWidgetItem) -> None: ... + def itemDoubleClicked(self, item: QTableWidgetItem) -> None: ... + def itemClicked(self, item: QTableWidgetItem) -> None: ... + def itemPressed(self, item: QTableWidgetItem) -> None: ... + def clearContents(self) -> None: ... + def clear(self) -> None: ... + def removeColumn(self, column: int) -> None: ... + def removeRow(self, row: int) -> None: ... + def insertColumn(self, column: int) -> None: ... + def insertRow(self, row: int) -> None: ... + def scrollToItem(self, item: QTableWidgetItem, hint: QAbstractItemView.ScrollHint = ...) -> None: ... + def setItemPrototype(self, item: QTableWidgetItem) -> None: ... + def itemPrototype(self) -> QTableWidgetItem: ... + def visualItemRect(self, item: QTableWidgetItem) -> QtCore.QRect: ... + @typing.overload + def itemAt(self, p: QtCore.QPoint) -> QTableWidgetItem: ... + @typing.overload + def itemAt(self, ax: int, ay: int) -> QTableWidgetItem: ... + def visualColumn(self, logicalColumn: int) -> int: ... + def visualRow(self, logicalRow: int) -> int: ... + def findItems(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag]) -> typing.List[QTableWidgetItem]: ... + def selectedItems(self) -> typing.List[QTableWidgetItem]: ... + def selectedRanges(self) -> typing.List[QTableWidgetSelectionRange]: ... + def setRangeSelected(self, range: QTableWidgetSelectionRange, select: bool) -> None: ... + def removeCellWidget(self, arow: int, acolumn: int) -> None: ... + def setCellWidget(self, row: int, column: int, widget: QWidget) -> None: ... + def cellWidget(self, row: int, column: int) -> QWidget: ... + def closePersistentEditor(self, item: QTableWidgetItem) -> None: ... + def openPersistentEditor(self, item: QTableWidgetItem) -> None: ... + def editItem(self, item: QTableWidgetItem) -> None: ... + def isSortingEnabled(self) -> bool: ... + def setSortingEnabled(self, enable: bool) -> None: ... + def sortItems(self, column: int, order: QtCore.Qt.SortOrder = ...) -> None: ... + @typing.overload + def setCurrentCell(self, row: int, column: int) -> None: ... + @typing.overload + def setCurrentCell(self, row: int, column: int, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + @typing.overload + def setCurrentItem(self, item: QTableWidgetItem) -> None: ... + @typing.overload + def setCurrentItem(self, item: QTableWidgetItem, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def currentItem(self) -> QTableWidgetItem: ... + def currentColumn(self) -> int: ... + def currentRow(self) -> int: ... + def setHorizontalHeaderLabels(self, labels: typing.Iterable[str]) -> None: ... + def setVerticalHeaderLabels(self, labels: typing.Iterable[str]) -> None: ... + def takeHorizontalHeaderItem(self, column: int) -> QTableWidgetItem: ... + def setHorizontalHeaderItem(self, column: int, item: QTableWidgetItem) -> None: ... + def horizontalHeaderItem(self, column: int) -> QTableWidgetItem: ... + def takeVerticalHeaderItem(self, row: int) -> QTableWidgetItem: ... + def setVerticalHeaderItem(self, row: int, item: QTableWidgetItem) -> None: ... + def verticalHeaderItem(self, row: int) -> QTableWidgetItem: ... + def takeItem(self, row: int, column: int) -> QTableWidgetItem: ... + def setItem(self, row: int, column: int, item: QTableWidgetItem) -> None: ... + def item(self, row: int, column: int) -> QTableWidgetItem: ... + def column(self, item: QTableWidgetItem) -> int: ... + def row(self, item: QTableWidgetItem) -> int: ... + def columnCount(self) -> int: ... + def setColumnCount(self, columns: int) -> None: ... + def rowCount(self) -> int: ... + def setRowCount(self, rows: int) -> None: ... + + +class QTabWidget(QWidget): + + class TabShape(int): + Rounded = ... # type: QTabWidget.TabShape + Triangular = ... # type: QTabWidget.TabShape + + class TabPosition(int): + North = ... # type: QTabWidget.TabPosition + South = ... # type: QTabWidget.TabPosition + West = ... # type: QTabWidget.TabPosition + East = ... # type: QTabWidget.TabPosition + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setTabVisible(self, index: int, visible: bool) -> None: ... + def isTabVisible(self, index: int) -> bool: ... + def setTabBarAutoHide(self, enabled: bool) -> None: ... + def tabBarAutoHide(self) -> bool: ... + def tabBarDoubleClicked(self, index: int) -> None: ... + def tabBarClicked(self, index: int) -> None: ... + def hasHeightForWidth(self) -> bool: ... + def heightForWidth(self, width: int) -> int: ... + def tabCloseRequested(self, index: int) -> None: ... + def setDocumentMode(self, set: bool) -> None: ... + def documentMode(self) -> bool: ... + def setMovable(self, movable: bool) -> None: ... + def isMovable(self) -> bool: ... + def setTabsClosable(self, closeable: bool) -> None: ... + def tabsClosable(self) -> bool: ... + def setUsesScrollButtons(self, useButtons: bool) -> None: ... + def usesScrollButtons(self) -> bool: ... + def setIconSize(self, size: QtCore.QSize) -> None: ... + def iconSize(self) -> QtCore.QSize: ... + def setElideMode(self, a0: QtCore.Qt.TextElideMode) -> None: ... + def elideMode(self) -> QtCore.Qt.TextElideMode: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def tabBar(self) -> QTabBar: ... + def setTabBar(self, a0: QTabBar) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def tabRemoved(self, index: int) -> None: ... + def tabInserted(self, index: int) -> None: ... + def initStyleOption(self, option: QStyleOptionTabWidgetFrame) -> None: ... + def currentChanged(self, index: int) -> None: ... + def setCurrentWidget(self, widget: QWidget) -> None: ... + def setCurrentIndex(self, index: int) -> None: ... + def cornerWidget(self, corner: QtCore.Qt.Corner = ...) -> QWidget: ... + def setCornerWidget(self, widget: QWidget, corner: QtCore.Qt.Corner = ...) -> None: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + def setTabShape(self, s: 'QTabWidget.TabShape') -> None: ... + def tabShape(self) -> 'QTabWidget.TabShape': ... + def setTabPosition(self, a0: 'QTabWidget.TabPosition') -> None: ... + def tabPosition(self) -> 'QTabWidget.TabPosition': ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def indexOf(self, widget: QWidget) -> int: ... + def widget(self, index: int) -> QWidget: ... + def currentWidget(self) -> QWidget: ... + def currentIndex(self) -> int: ... + def tabWhatsThis(self, index: int) -> str: ... + def setTabWhatsThis(self, index: int, text: str) -> None: ... + def tabToolTip(self, index: int) -> str: ... + def setTabToolTip(self, index: int, tip: str) -> None: ... + def setTabIcon(self, index: int, icon: QtGui.QIcon) -> None: ... + def tabIcon(self, index: int) -> QtGui.QIcon: ... + def setTabText(self, index: int, a1: str) -> None: ... + def tabText(self, index: int) -> str: ... + def setTabEnabled(self, index: int, a1: bool) -> None: ... + def isTabEnabled(self, index: int) -> bool: ... + def removeTab(self, index: int) -> None: ... + @typing.overload + def insertTab(self, index: int, widget: QWidget, a2: str) -> int: ... + @typing.overload + def insertTab(self, index: int, widget: QWidget, icon: QtGui.QIcon, label: str) -> int: ... + @typing.overload + def addTab(self, widget: QWidget, a1: str) -> int: ... + @typing.overload + def addTab(self, widget: QWidget, icon: QtGui.QIcon, label: str) -> int: ... + def clear(self) -> None: ... + + +class QTextEdit(QAbstractScrollArea): + + class AutoFormattingFlag(int): + AutoNone = ... # type: QTextEdit.AutoFormattingFlag + AutoBulletList = ... # type: QTextEdit.AutoFormattingFlag + AutoAll = ... # type: QTextEdit.AutoFormattingFlag + + class LineWrapMode(int): + NoWrap = ... # type: QTextEdit.LineWrapMode + WidgetWidth = ... # type: QTextEdit.LineWrapMode + FixedPixelWidth = ... # type: QTextEdit.LineWrapMode + FixedColumnWidth = ... # type: QTextEdit.LineWrapMode + + class ExtraSelection(sip.simplewrapper): + + cursor = ... # type: QtGui.QTextCursor + format = ... # type: QtGui.QTextCharFormat + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextEdit.ExtraSelection') -> None: ... + + class AutoFormatting(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTextEdit.AutoFormatting', 'QTextEdit.AutoFormattingFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTextEdit.AutoFormatting') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTextEdit.AutoFormatting': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setMarkdown(self, markdown: str) -> None: ... + def toMarkdown(self, features: typing.Union[QtGui.QTextDocument.MarkdownFeatures, QtGui.QTextDocument.MarkdownFeature] = ...) -> str: ... + def setTabStopDistance(self, distance: float) -> None: ... + def tabStopDistance(self) -> float: ... + def placeholderText(self) -> str: ... + def setPlaceholderText(self, placeholderText: str) -> None: ... + def setTextBackgroundColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def textBackgroundColor(self) -> QtGui.QColor: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + @typing.overload + def inputMethodQuery(self, property: QtCore.Qt.InputMethodQuery) -> typing.Any: ... + @typing.overload + def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ... + def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ... + def insertFromMimeData(self, source: QtCore.QMimeData) -> None: ... + def canInsertFromMimeData(self, source: QtCore.QMimeData) -> bool: ... + def createMimeDataFromSelection(self) -> QtCore.QMimeData: ... + def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... + def changeEvent(self, e: QtCore.QEvent) -> None: ... + def showEvent(self, a0: QtGui.QShowEvent) -> None: ... + def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... + def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... + def dropEvent(self, e: QtGui.QDropEvent) -> None: ... + def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... + def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... + def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ... + def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... + def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ... + def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... + def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def cursorPositionChanged(self) -> None: ... + def selectionChanged(self) -> None: ... + def copyAvailable(self, b: bool) -> None: ... + def currentCharFormatChanged(self, format: QtGui.QTextCharFormat) -> None: ... + def redoAvailable(self, b: bool) -> None: ... + def undoAvailable(self, b: bool) -> None: ... + def textChanged(self) -> None: ... + def zoomOut(self, range: int = ...) -> None: ... + def zoomIn(self, range: int = ...) -> None: ... + def undo(self) -> None: ... + def redo(self) -> None: ... + def scrollToAnchor(self, name: str) -> None: ... + def insertHtml(self, text: str) -> None: ... + def insertPlainText(self, text: str) -> None: ... + def selectAll(self) -> None: ... + def clear(self) -> None: ... + def paste(self) -> None: ... + def copy(self) -> None: ... + def cut(self) -> None: ... + def setHtml(self, text: str) -> None: ... + def setPlainText(self, text: str) -> None: ... + def setAlignment(self, a: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... + def setCurrentFont(self, f: QtGui.QFont) -> None: ... + def setTextColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def setText(self, text: str) -> None: ... + def setFontItalic(self, b: bool) -> None: ... + def setFontUnderline(self, b: bool) -> None: ... + def setFontWeight(self, w: int) -> None: ... + def setFontFamily(self, fontFamily: str) -> None: ... + def setFontPointSize(self, s: float) -> None: ... + def print(self, printer: QtGui.QPagedPaintDevice) -> None: ... + def print_(self, printer: QtGui.QPagedPaintDevice) -> None: ... + def moveCursor(self, operation: QtGui.QTextCursor.MoveOperation, mode: QtGui.QTextCursor.MoveMode = ...) -> None: ... + def canPaste(self) -> bool: ... + def extraSelections(self) -> typing.List['QTextEdit.ExtraSelection']: ... + def setExtraSelections(self, selections: typing.Iterable['QTextEdit.ExtraSelection']) -> None: ... + def cursorWidth(self) -> int: ... + def setCursorWidth(self, width: int) -> None: ... + def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ... + def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ... + def setAcceptRichText(self, accept: bool) -> None: ... + def acceptRichText(self) -> bool: ... + def setTabStopWidth(self, width: int) -> None: ... + def tabStopWidth(self) -> int: ... + def setOverwriteMode(self, overwrite: bool) -> None: ... + def overwriteMode(self) -> bool: ... + def anchorAt(self, pos: QtCore.QPoint) -> str: ... + @typing.overload + def cursorRect(self, cursor: QtGui.QTextCursor) -> QtCore.QRect: ... + @typing.overload + def cursorRect(self) -> QtCore.QRect: ... + def cursorForPosition(self, pos: QtCore.QPoint) -> QtGui.QTextCursor: ... + @typing.overload + def createStandardContextMenu(self) -> QMenu: ... + @typing.overload + def createStandardContextMenu(self, position: QtCore.QPoint) -> QMenu: ... + def loadResource(self, type: int, name: QtCore.QUrl) -> typing.Any: ... + def ensureCursorVisible(self) -> None: ... + def append(self, text: str) -> None: ... + def toHtml(self) -> str: ... + def toPlainText(self) -> str: ... + @typing.overload + def find(self, exp: str, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ... + @typing.overload + def find(self, exp: QtCore.QRegExp, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ... + @typing.overload + def find(self, exp: QtCore.QRegularExpression, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ... + def setWordWrapMode(self, policy: QtGui.QTextOption.WrapMode) -> None: ... + def wordWrapMode(self) -> QtGui.QTextOption.WrapMode: ... + def setLineWrapColumnOrWidth(self, w: int) -> None: ... + def lineWrapColumnOrWidth(self) -> int: ... + def setLineWrapMode(self, mode: 'QTextEdit.LineWrapMode') -> None: ... + def lineWrapMode(self) -> 'QTextEdit.LineWrapMode': ... + def setUndoRedoEnabled(self, enable: bool) -> None: ... + def isUndoRedoEnabled(self) -> bool: ... + def documentTitle(self) -> str: ... + def setDocumentTitle(self, title: str) -> None: ... + def setTabChangesFocus(self, b: bool) -> None: ... + def tabChangesFocus(self) -> bool: ... + def setAutoFormatting(self, features: typing.Union['QTextEdit.AutoFormatting', 'QTextEdit.AutoFormattingFlag']) -> None: ... + def autoFormatting(self) -> 'QTextEdit.AutoFormatting': ... + def currentCharFormat(self) -> QtGui.QTextCharFormat: ... + def setCurrentCharFormat(self, format: QtGui.QTextCharFormat) -> None: ... + def mergeCurrentCharFormat(self, modifier: QtGui.QTextCharFormat) -> None: ... + def alignment(self) -> QtCore.Qt.Alignment: ... + def currentFont(self) -> QtGui.QFont: ... + def textColor(self) -> QtGui.QColor: ... + def fontItalic(self) -> bool: ... + def fontUnderline(self) -> bool: ... + def fontWeight(self) -> int: ... + def fontFamily(self) -> str: ... + def fontPointSize(self) -> float: ... + def setReadOnly(self, ro: bool) -> None: ... + def isReadOnly(self) -> bool: ... + def textCursor(self) -> QtGui.QTextCursor: ... + def setTextCursor(self, cursor: QtGui.QTextCursor) -> None: ... + def document(self) -> QtGui.QTextDocument: ... + def setDocument(self, document: QtGui.QTextDocument) -> None: ... + + +class QTextBrowser(QTextEdit): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def doSetSource(self, name: QtCore.QUrl, type: QtGui.QTextDocument.ResourceType = ...) -> None: ... + def sourceType(self) -> QtGui.QTextDocument.ResourceType: ... + def historyChanged(self) -> None: ... + def forwardHistoryCount(self) -> int: ... + def backwardHistoryCount(self) -> int: ... + def historyUrl(self, a0: int) -> QtCore.QUrl: ... + def historyTitle(self, a0: int) -> str: ... + def setOpenLinks(self, open: bool) -> None: ... + def openLinks(self) -> bool: ... + def setOpenExternalLinks(self, open: bool) -> None: ... + def openExternalLinks(self) -> bool: ... + def clearHistory(self) -> None: ... + def isForwardAvailable(self) -> bool: ... + def isBackwardAvailable(self) -> bool: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def focusNextPrevChild(self, next: bool) -> bool: ... + def focusOutEvent(self, ev: QtGui.QFocusEvent) -> None: ... + def mouseReleaseEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, ev: QtGui.QMouseEvent) -> None: ... + def keyPressEvent(self, ev: QtGui.QKeyEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def anchorClicked(self, a0: QtCore.QUrl) -> None: ... + @typing.overload + def highlighted(self, a0: QtCore.QUrl) -> None: ... + @typing.overload + def highlighted(self, a0: str) -> None: ... + def sourceChanged(self, a0: QtCore.QUrl) -> None: ... + def forwardAvailable(self, a0: bool) -> None: ... + def backwardAvailable(self, a0: bool) -> None: ... + def reload(self) -> None: ... + def home(self) -> None: ... + def forward(self) -> None: ... + def backward(self) -> None: ... + @typing.overload + def setSource(self, name: QtCore.QUrl) -> None: ... + @typing.overload + def setSource(self, name: QtCore.QUrl, type: QtGui.QTextDocument.ResourceType) -> None: ... + def loadResource(self, type: int, name: QtCore.QUrl) -> typing.Any: ... + def setSearchPaths(self, paths: typing.Iterable[str]) -> None: ... + def searchPaths(self) -> typing.List[str]: ... + def source(self) -> QtCore.QUrl: ... + + +class QToolBar(QWidget): + + @typing.overload + def __init__(self, title: str, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def isFloating(self) -> bool: ... + def setFloatable(self, floatable: bool) -> None: ... + def isFloatable(self) -> bool: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def paintEvent(self, event: QtGui.QPaintEvent) -> None: ... + def changeEvent(self, event: QtCore.QEvent) -> None: ... + def actionEvent(self, event: QtGui.QActionEvent) -> None: ... + def initStyleOption(self, option: QStyleOptionToolBar) -> None: ... + def visibilityChanged(self, visible: bool) -> None: ... + def topLevelChanged(self, topLevel: bool) -> None: ... + def toolButtonStyleChanged(self, toolButtonStyle: QtCore.Qt.ToolButtonStyle) -> None: ... + def iconSizeChanged(self, iconSize: QtCore.QSize) -> None: ... + def orientationChanged(self, orientation: QtCore.Qt.Orientation) -> None: ... + def allowedAreasChanged(self, allowedAreas: typing.Union[QtCore.Qt.ToolBarAreas, QtCore.Qt.ToolBarArea]) -> None: ... + def movableChanged(self, movable: bool) -> None: ... + def actionTriggered(self, action: QAction) -> None: ... + def setToolButtonStyle(self, toolButtonStyle: QtCore.Qt.ToolButtonStyle) -> None: ... + def setIconSize(self, iconSize: QtCore.QSize) -> None: ... + def widgetForAction(self, action: QAction) -> QWidget: ... + def toolButtonStyle(self) -> QtCore.Qt.ToolButtonStyle: ... + def iconSize(self) -> QtCore.QSize: ... + def toggleViewAction(self) -> QAction: ... + @typing.overload + def actionAt(self, p: QtCore.QPoint) -> QAction: ... + @typing.overload + def actionAt(self, ax: int, ay: int) -> QAction: ... + def actionGeometry(self, action: QAction) -> QtCore.QRect: ... + def insertWidget(self, before: QAction, widget: QWidget) -> QAction: ... + def addWidget(self, widget: QWidget) -> QAction: ... + def insertSeparator(self, before: QAction) -> QAction: ... + def addSeparator(self) -> QAction: ... + @typing.overload + def addAction(self, action: QAction) -> None: ... + @typing.overload + def addAction(self, text: str) -> QAction: ... + @typing.overload + def addAction(self, icon: QtGui.QIcon, text: str) -> QAction: ... + @typing.overload + def addAction(self, text: str, slot: PYQT_SLOT) -> QAction: ... + @typing.overload + def addAction(self, icon: QtGui.QIcon, text: str, slot: PYQT_SLOT) -> QAction: ... + def clear(self) -> None: ... + def orientation(self) -> QtCore.Qt.Orientation: ... + def setOrientation(self, orientation: QtCore.Qt.Orientation) -> None: ... + def isAreaAllowed(self, area: QtCore.Qt.ToolBarArea) -> bool: ... + def allowedAreas(self) -> QtCore.Qt.ToolBarAreas: ... + def setAllowedAreas(self, areas: typing.Union[QtCore.Qt.ToolBarAreas, QtCore.Qt.ToolBarArea]) -> None: ... + def isMovable(self) -> bool: ... + def setMovable(self, movable: bool) -> None: ... + + +class QToolBox(QFrame): + + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def showEvent(self, e: QtGui.QShowEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def itemRemoved(self, index: int) -> None: ... + def itemInserted(self, index: int) -> None: ... + def currentChanged(self, index: int) -> None: ... + def setCurrentWidget(self, widget: QWidget) -> None: ... + def setCurrentIndex(self, index: int) -> None: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def indexOf(self, widget: QWidget) -> int: ... + def widget(self, index: int) -> QWidget: ... + def currentWidget(self) -> QWidget: ... + def currentIndex(self) -> int: ... + def itemToolTip(self, index: int) -> str: ... + def setItemToolTip(self, index: int, toolTip: str) -> None: ... + def itemIcon(self, index: int) -> QtGui.QIcon: ... + def setItemIcon(self, index: int, icon: QtGui.QIcon) -> None: ... + def itemText(self, index: int) -> str: ... + def setItemText(self, index: int, text: str) -> None: ... + def isItemEnabled(self, index: int) -> bool: ... + def setItemEnabled(self, index: int, enabled: bool) -> None: ... + def removeItem(self, index: int) -> None: ... + @typing.overload + def insertItem(self, index: int, item: QWidget, text: str) -> int: ... + @typing.overload + def insertItem(self, index: int, widget: QWidget, icon: QtGui.QIcon, text: str) -> int: ... + @typing.overload + def addItem(self, item: QWidget, text: str) -> int: ... + @typing.overload + def addItem(self, item: QWidget, iconSet: QtGui.QIcon, text: str) -> int: ... + + +class QToolButton(QAbstractButton): + + class ToolButtonPopupMode(int): + DelayedPopup = ... # type: QToolButton.ToolButtonPopupMode + MenuButtonPopup = ... # type: QToolButton.ToolButtonPopupMode + InstantPopup = ... # type: QToolButton.ToolButtonPopupMode + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def hitButton(self, pos: QtCore.QPoint) -> bool: ... + def nextCheckState(self) -> None: ... + def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def changeEvent(self, a0: QtCore.QEvent) -> None: ... + def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... + def leaveEvent(self, a0: QtCore.QEvent) -> None: ... + def enterEvent(self, a0: QtCore.QEvent) -> None: ... + def actionEvent(self, a0: QtGui.QActionEvent) -> None: ... + def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... + def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def initStyleOption(self, option: QStyleOptionToolButton) -> None: ... + def triggered(self, a0: QAction) -> None: ... + def setDefaultAction(self, a0: QAction) -> None: ... + def setToolButtonStyle(self, style: QtCore.Qt.ToolButtonStyle) -> None: ... + def showMenu(self) -> None: ... + def autoRaise(self) -> bool: ... + def setAutoRaise(self, enable: bool) -> None: ... + def defaultAction(self) -> QAction: ... + def popupMode(self) -> 'QToolButton.ToolButtonPopupMode': ... + def setPopupMode(self, mode: 'QToolButton.ToolButtonPopupMode') -> None: ... + def menu(self) -> QMenu: ... + def setMenu(self, menu: QMenu) -> None: ... + def setArrowType(self, type: QtCore.Qt.ArrowType) -> None: ... + def arrowType(self) -> QtCore.Qt.ArrowType: ... + def toolButtonStyle(self) -> QtCore.Qt.ToolButtonStyle: ... + def minimumSizeHint(self) -> QtCore.QSize: ... + def sizeHint(self) -> QtCore.QSize: ... + + +class QToolTip(sip.simplewrapper): + + def __init__(self, a0: 'QToolTip') -> None: ... + + @staticmethod + def text() -> str: ... + @staticmethod + def isVisible() -> bool: ... + @staticmethod + def setFont(a0: QtGui.QFont) -> None: ... + @staticmethod + def font() -> QtGui.QFont: ... + @staticmethod + def setPalette(a0: QtGui.QPalette) -> None: ... + @staticmethod + def hideText() -> None: ... + @staticmethod + def palette() -> QtGui.QPalette: ... + @typing.overload + @staticmethod + def showText(pos: QtCore.QPoint, text: str, widget: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + @staticmethod + def showText(pos: QtCore.QPoint, text: str, w: QWidget, rect: QtCore.QRect) -> None: ... + @typing.overload + @staticmethod + def showText(pos: QtCore.QPoint, text: str, w: QWidget, rect: QtCore.QRect, msecShowTime: int) -> None: ... + + +class QTreeView(QAbstractItemView): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def expandRecursively(self, index: QtCore.QModelIndex, depth: int = ...) -> None: ... + def resetIndentation(self) -> None: ... + def viewportSizeHint(self) -> QtCore.QSize: ... + def treePosition(self) -> int: ... + def setTreePosition(self, logicalIndex: int) -> None: ... + def setHeaderHidden(self, hide: bool) -> None: ... + def isHeaderHidden(self) -> bool: ... + def setExpandsOnDoubleClick(self, enable: bool) -> None: ... + def expandsOnDoubleClick(self) -> bool: ... + def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ... + def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ... + def rowHeight(self, index: QtCore.QModelIndex) -> int: ... + def viewportEvent(self, event: QtCore.QEvent) -> bool: ... + def dragMoveEvent(self, event: QtGui.QDragMoveEvent) -> None: ... + def expandToDepth(self, depth: int) -> None: ... + def wordWrap(self) -> bool: ... + def setWordWrap(self, on: bool) -> None: ... + def setFirstColumnSpanned(self, row: int, parent: QtCore.QModelIndex, span: bool) -> None: ... + def isFirstColumnSpanned(self, row: int, parent: QtCore.QModelIndex) -> bool: ... + def setAutoExpandDelay(self, delay: int) -> None: ... + def autoExpandDelay(self) -> int: ... + def sortByColumn(self, column: int, order: QtCore.Qt.SortOrder) -> None: ... + def allColumnsShowFocus(self) -> bool: ... + def setAllColumnsShowFocus(self, enable: bool) -> None: ... + def isAnimated(self) -> bool: ... + def setAnimated(self, enable: bool) -> None: ... + def isSortingEnabled(self) -> bool: ... + def setSortingEnabled(self, enable: bool) -> None: ... + def setColumnWidth(self, column: int, width: int) -> None: ... + def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ... + def horizontalScrollbarAction(self, action: int) -> None: ... + def indexRowSizeHint(self, index: QtCore.QModelIndex) -> int: ... + def sizeHintForColumn(self, column: int) -> int: ... + def updateGeometries(self) -> None: ... + def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... + def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ... + def mouseMoveEvent(self, event: QtGui.QMouseEvent) -> None: ... + def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... + def drawTree(self, painter: QtGui.QPainter, region: QtGui.QRegion) -> None: ... + def drawBranches(self, painter: QtGui.QPainter, rect: QtCore.QRect, index: QtCore.QModelIndex) -> None: ... + def drawRow(self, painter: QtGui.QPainter, options: QStyleOptionViewItem, index: QtCore.QModelIndex) -> None: ... + def mouseReleaseEvent(self, event: QtGui.QMouseEvent) -> None: ... + def timerEvent(self, event: QtCore.QTimerEvent) -> None: ... + def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... + def selectedIndexes(self) -> typing.List[QtCore.QModelIndex]: ... + def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ... + def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def verticalOffset(self) -> int: ... + def horizontalOffset(self) -> int: ... + def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ... + def rowsAboutToBeRemoved(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... + def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... + def scrollContentsBy(self, dx: int, dy: int) -> None: ... + def rowsRemoved(self, parent: QtCore.QModelIndex, first: int, last: int) -> None: ... + def reexpand(self) -> None: ... + def columnMoved(self) -> None: ... + def columnCountChanged(self, oldCount: int, newCount: int) -> None: ... + def columnResized(self, column: int, oldSize: int, newSize: int) -> None: ... + def selectAll(self) -> None: ... + def resizeColumnToContents(self, column: int) -> None: ... + def collapseAll(self) -> None: ... + def collapse(self, index: QtCore.QModelIndex) -> None: ... + def expandAll(self) -> None: ... + def expand(self, index: QtCore.QModelIndex) -> None: ... + def showColumn(self, column: int) -> None: ... + def hideColumn(self, column: int) -> None: ... + def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ... + def collapsed(self, index: QtCore.QModelIndex) -> None: ... + def expanded(self, index: QtCore.QModelIndex) -> None: ... + def reset(self) -> None: ... + def indexBelow(self, index: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + def indexAbove(self, index: QtCore.QModelIndex) -> QtCore.QModelIndex: ... + def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ... + def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ... + def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... + def keyboardSearch(self, search: str) -> None: ... + def setExpanded(self, index: QtCore.QModelIndex, expand: bool) -> None: ... + def isExpanded(self, index: QtCore.QModelIndex) -> bool: ... + def setRowHidden(self, row: int, parent: QtCore.QModelIndex, hide: bool) -> None: ... + def isRowHidden(self, row: int, parent: QtCore.QModelIndex) -> bool: ... + def setColumnHidden(self, column: int, hide: bool) -> None: ... + def isColumnHidden(self, column: int) -> bool: ... + def columnAt(self, x: int) -> int: ... + def columnWidth(self, column: int) -> int: ... + def columnViewportPosition(self, column: int) -> int: ... + def setItemsExpandable(self, enable: bool) -> None: ... + def itemsExpandable(self) -> bool: ... + def setUniformRowHeights(self, uniform: bool) -> None: ... + def uniformRowHeights(self) -> bool: ... + def setRootIsDecorated(self, show: bool) -> None: ... + def rootIsDecorated(self) -> bool: ... + def setIndentation(self, i: int) -> None: ... + def indentation(self) -> int: ... + def setHeader(self, header: QHeaderView) -> None: ... + def header(self) -> QHeaderView: ... + def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ... + def setRootIndex(self, index: QtCore.QModelIndex) -> None: ... + def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... + + +class QTreeWidgetItem(PyQt5.sip.wrapper): + + class ChildIndicatorPolicy(int): + ShowIndicator = ... # type: QTreeWidgetItem.ChildIndicatorPolicy + DontShowIndicator = ... # type: QTreeWidgetItem.ChildIndicatorPolicy + DontShowIndicatorWhenChildless = ... # type: QTreeWidgetItem.ChildIndicatorPolicy + + class ItemType(int): + Type = ... # type: QTreeWidgetItem.ItemType + UserType = ... # type: QTreeWidgetItem.ItemType + + @typing.overload + def __init__(self, type: int = ...) -> None: ... + @typing.overload + def __init__(self, strings: typing.Iterable[str], type: int = ...) -> None: ... + @typing.overload + def __init__(self, parent: 'QTreeWidget', type: int = ...) -> None: ... + @typing.overload + def __init__(self, parent: 'QTreeWidget', strings: typing.Iterable[str], type: int = ...) -> None: ... + @typing.overload + def __init__(self, parent: 'QTreeWidget', preceding: 'QTreeWidgetItem', type: int = ...) -> None: ... + @typing.overload + def __init__(self, parent: 'QTreeWidgetItem', type: int = ...) -> None: ... + @typing.overload + def __init__(self, parent: 'QTreeWidgetItem', strings: typing.Iterable[str], type: int = ...) -> None: ... + @typing.overload + def __init__(self, parent: 'QTreeWidgetItem', preceding: 'QTreeWidgetItem', type: int = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QTreeWidgetItem') -> None: ... + + def emitDataChanged(self) -> None: ... + def isDisabled(self) -> bool: ... + def setDisabled(self, disabled: bool) -> None: ... + def isFirstColumnSpanned(self) -> bool: ... + def setFirstColumnSpanned(self, aspan: bool) -> None: ... + def removeChild(self, child: 'QTreeWidgetItem') -> None: ... + def childIndicatorPolicy(self) -> 'QTreeWidgetItem.ChildIndicatorPolicy': ... + def setChildIndicatorPolicy(self, policy: 'QTreeWidgetItem.ChildIndicatorPolicy') -> None: ... + def isExpanded(self) -> bool: ... + def setExpanded(self, aexpand: bool) -> None: ... + def isHidden(self) -> bool: ... + def setHidden(self, ahide: bool) -> None: ... + def isSelected(self) -> bool: ... + def setSelected(self, aselect: bool) -> None: ... + def sortChildren(self, column: int, order: QtCore.Qt.SortOrder) -> None: ... + def setForeground(self, column: int, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def foreground(self, column: int) -> QtGui.QBrush: ... + def setBackground(self, column: int, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def background(self, column: int) -> QtGui.QBrush: ... + def takeChildren(self) -> typing.List['QTreeWidgetItem']: ... + def insertChildren(self, index: int, children: typing.Iterable['QTreeWidgetItem']) -> None: ... + def addChildren(self, children: typing.Iterable['QTreeWidgetItem']) -> None: ... + def setSizeHint(self, column: int, size: QtCore.QSize) -> None: ... + def sizeHint(self, column: int) -> QtCore.QSize: ... + def indexOfChild(self, achild: 'QTreeWidgetItem') -> int: ... + def setFont(self, column: int, afont: QtGui.QFont) -> None: ... + def setWhatsThis(self, column: int, awhatsThis: str) -> None: ... + def setToolTip(self, column: int, atoolTip: str) -> None: ... + def setStatusTip(self, column: int, astatusTip: str) -> None: ... + def setIcon(self, column: int, aicon: QtGui.QIcon) -> None: ... + def setText(self, column: int, atext: str) -> None: ... + def setFlags(self, aflags: typing.Union[QtCore.Qt.ItemFlags, QtCore.Qt.ItemFlag]) -> None: ... + def type(self) -> int: ... + def takeChild(self, index: int) -> 'QTreeWidgetItem': ... + def insertChild(self, index: int, child: 'QTreeWidgetItem') -> None: ... + def addChild(self, child: 'QTreeWidgetItem') -> None: ... + def columnCount(self) -> int: ... + def childCount(self) -> int: ... + def child(self, index: int) -> 'QTreeWidgetItem': ... + def parent(self) -> 'QTreeWidgetItem': ... + def write(self, out: QtCore.QDataStream) -> None: ... + def read(self, in_: QtCore.QDataStream) -> None: ... + def setData(self, column: int, role: int, value: typing.Any) -> None: ... + def data(self, column: int, role: int) -> typing.Any: ... + def setCheckState(self, column: int, state: QtCore.Qt.CheckState) -> None: ... + def checkState(self, column: int) -> QtCore.Qt.CheckState: ... + def setTextAlignment(self, column: int, alignment: int) -> None: ... + def textAlignment(self, column: int) -> int: ... + def font(self, column: int) -> QtGui.QFont: ... + def whatsThis(self, column: int) -> str: ... + def toolTip(self, column: int) -> str: ... + def statusTip(self, column: int) -> str: ... + def icon(self, column: int) -> QtGui.QIcon: ... + def text(self, column: int) -> str: ... + def flags(self) -> QtCore.Qt.ItemFlags: ... + def treeWidget(self) -> 'QTreeWidget': ... + def clone(self) -> 'QTreeWidgetItem': ... + + +class QTreeWidget(QTreeView): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def isPersistentEditorOpen(self, item: QTreeWidgetItem, column: int = ...) -> bool: ... + def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ... + def removeItemWidget(self, item: QTreeWidgetItem, column: int) -> None: ... + def itemBelow(self, item: QTreeWidgetItem) -> QTreeWidgetItem: ... + def itemAbove(self, item: QTreeWidgetItem) -> QTreeWidgetItem: ... + def setFirstItemColumnSpanned(self, item: QTreeWidgetItem, span: bool) -> None: ... + def isFirstItemColumnSpanned(self, item: QTreeWidgetItem) -> bool: ... + def setHeaderLabel(self, alabel: str) -> None: ... + def invisibleRootItem(self) -> QTreeWidgetItem: ... + def dropEvent(self, event: QtGui.QDropEvent) -> None: ... + def event(self, e: QtCore.QEvent) -> bool: ... + def itemFromIndex(self, index: QtCore.QModelIndex) -> QTreeWidgetItem: ... + def indexFromItem(self, item: QTreeWidgetItem, column: int = ...) -> QtCore.QModelIndex: ... + def supportedDropActions(self) -> QtCore.Qt.DropActions: ... + def dropMimeData(self, parent: QTreeWidgetItem, index: int, data: QtCore.QMimeData, action: QtCore.Qt.DropAction) -> bool: ... + def mimeData(self, items: typing.Iterable[QTreeWidgetItem]) -> QtCore.QMimeData: ... + def mimeTypes(self) -> typing.List[str]: ... + def itemSelectionChanged(self) -> None: ... + def currentItemChanged(self, current: QTreeWidgetItem, previous: QTreeWidgetItem) -> None: ... + def itemCollapsed(self, item: QTreeWidgetItem) -> None: ... + def itemExpanded(self, item: QTreeWidgetItem) -> None: ... + def itemChanged(self, item: QTreeWidgetItem, column: int) -> None: ... + def itemEntered(self, item: QTreeWidgetItem, column: int) -> None: ... + def itemActivated(self, item: QTreeWidgetItem, column: int) -> None: ... + def itemDoubleClicked(self, item: QTreeWidgetItem, column: int) -> None: ... + def itemClicked(self, item: QTreeWidgetItem, column: int) -> None: ... + def itemPressed(self, item: QTreeWidgetItem, column: int) -> None: ... + def clear(self) -> None: ... + def collapseItem(self, item: QTreeWidgetItem) -> None: ... + def expandItem(self, item: QTreeWidgetItem) -> None: ... + def scrollToItem(self, item: QTreeWidgetItem, hint: QAbstractItemView.ScrollHint = ...) -> None: ... + def findItems(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag], column: int = ...) -> typing.List[QTreeWidgetItem]: ... + def selectedItems(self) -> typing.List[QTreeWidgetItem]: ... + def setItemWidget(self, item: QTreeWidgetItem, column: int, widget: QWidget) -> None: ... + def itemWidget(self, item: QTreeWidgetItem, column: int) -> QWidget: ... + def closePersistentEditor(self, item: QTreeWidgetItem, column: int = ...) -> None: ... + def openPersistentEditor(self, item: QTreeWidgetItem, column: int = ...) -> None: ... + def editItem(self, item: QTreeWidgetItem, column: int = ...) -> None: ... + def sortItems(self, column: int, order: QtCore.Qt.SortOrder) -> None: ... + def sortColumn(self) -> int: ... + def visualItemRect(self, item: QTreeWidgetItem) -> QtCore.QRect: ... + @typing.overload + def itemAt(self, p: QtCore.QPoint) -> QTreeWidgetItem: ... + @typing.overload + def itemAt(self, ax: int, ay: int) -> QTreeWidgetItem: ... + @typing.overload + def setCurrentItem(self, item: QTreeWidgetItem) -> None: ... + @typing.overload + def setCurrentItem(self, item: QTreeWidgetItem, column: int) -> None: ... + @typing.overload + def setCurrentItem(self, item: QTreeWidgetItem, column: int, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... + def currentColumn(self) -> int: ... + def currentItem(self) -> QTreeWidgetItem: ... + def setHeaderLabels(self, labels: typing.Iterable[str]) -> None: ... + def setHeaderItem(self, item: QTreeWidgetItem) -> None: ... + def headerItem(self) -> QTreeWidgetItem: ... + def addTopLevelItems(self, items: typing.Iterable[QTreeWidgetItem]) -> None: ... + def insertTopLevelItems(self, index: int, items: typing.Iterable[QTreeWidgetItem]) -> None: ... + def indexOfTopLevelItem(self, item: QTreeWidgetItem) -> int: ... + def takeTopLevelItem(self, index: int) -> QTreeWidgetItem: ... + def addTopLevelItem(self, item: QTreeWidgetItem) -> None: ... + def insertTopLevelItem(self, index: int, item: QTreeWidgetItem) -> None: ... + def topLevelItemCount(self) -> int: ... + def topLevelItem(self, index: int) -> QTreeWidgetItem: ... + def setColumnCount(self, columns: int) -> None: ... + def columnCount(self) -> int: ... + + +class QTreeWidgetItemIterator(sip.simplewrapper): + + class IteratorFlag(int): + All = ... # type: QTreeWidgetItemIterator.IteratorFlag + Hidden = ... # type: QTreeWidgetItemIterator.IteratorFlag + NotHidden = ... # type: QTreeWidgetItemIterator.IteratorFlag + Selected = ... # type: QTreeWidgetItemIterator.IteratorFlag + Unselected = ... # type: QTreeWidgetItemIterator.IteratorFlag + Selectable = ... # type: QTreeWidgetItemIterator.IteratorFlag + NotSelectable = ... # type: QTreeWidgetItemIterator.IteratorFlag + DragEnabled = ... # type: QTreeWidgetItemIterator.IteratorFlag + DragDisabled = ... # type: QTreeWidgetItemIterator.IteratorFlag + DropEnabled = ... # type: QTreeWidgetItemIterator.IteratorFlag + DropDisabled = ... # type: QTreeWidgetItemIterator.IteratorFlag + HasChildren = ... # type: QTreeWidgetItemIterator.IteratorFlag + NoChildren = ... # type: QTreeWidgetItemIterator.IteratorFlag + Checked = ... # type: QTreeWidgetItemIterator.IteratorFlag + NotChecked = ... # type: QTreeWidgetItemIterator.IteratorFlag + Enabled = ... # type: QTreeWidgetItemIterator.IteratorFlag + Disabled = ... # type: QTreeWidgetItemIterator.IteratorFlag + Editable = ... # type: QTreeWidgetItemIterator.IteratorFlag + NotEditable = ... # type: QTreeWidgetItemIterator.IteratorFlag + UserFlag = ... # type: QTreeWidgetItemIterator.IteratorFlag + + class IteratorFlags(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QTreeWidgetItemIterator.IteratorFlags', 'QTreeWidgetItemIterator.IteratorFlag']) -> None: ... + @typing.overload + def __init__(self, a0: 'QTreeWidgetItemIterator.IteratorFlags') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QTreeWidgetItemIterator.IteratorFlags': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + @typing.overload + def __init__(self, it: 'QTreeWidgetItemIterator') -> None: ... + @typing.overload + def __init__(self, widget: QTreeWidget, flags: 'QTreeWidgetItemIterator.IteratorFlags' = ...) -> None: ... + @typing.overload + def __init__(self, item: QTreeWidgetItem, flags: 'QTreeWidgetItemIterator.IteratorFlags' = ...) -> None: ... + + def value(self) -> QTreeWidgetItem: ... + + +class QUndoGroup(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def undoTextChanged(self, undoText: str) -> None: ... + def redoTextChanged(self, redoText: str) -> None: ... + def indexChanged(self, idx: int) -> None: ... + def cleanChanged(self, clean: bool) -> None: ... + def canUndoChanged(self, canUndo: bool) -> None: ... + def canRedoChanged(self, canRedo: bool) -> None: ... + def activeStackChanged(self, stack: 'QUndoStack') -> None: ... + def undo(self) -> None: ... + def setActiveStack(self, stack: 'QUndoStack') -> None: ... + def redo(self) -> None: ... + def isClean(self) -> bool: ... + def redoText(self) -> str: ... + def undoText(self) -> str: ... + def canRedo(self) -> bool: ... + def canUndo(self) -> bool: ... + def createUndoAction(self, parent: QtCore.QObject, prefix: str = ...) -> QAction: ... + def createRedoAction(self, parent: QtCore.QObject, prefix: str = ...) -> QAction: ... + def activeStack(self) -> 'QUndoStack': ... + def stacks(self) -> typing.List['QUndoStack']: ... + def removeStack(self, stack: 'QUndoStack') -> None: ... + def addStack(self, stack: 'QUndoStack') -> None: ... + + +class QUndoCommand(PyQt5.sip.wrapper): + + @typing.overload + def __init__(self, parent: typing.Optional['QUndoCommand'] = ...) -> None: ... + @typing.overload + def __init__(self, text: str, parent: typing.Optional['QUndoCommand'] = ...) -> None: ... + + def setObsolete(self, obsolete: bool) -> None: ... + def isObsolete(self) -> bool: ... + def actionText(self) -> str: ... + def child(self, index: int) -> 'QUndoCommand': ... + def childCount(self) -> int: ... + def undo(self) -> None: ... + def text(self) -> str: ... + def setText(self, text: str) -> None: ... + def redo(self) -> None: ... + def mergeWith(self, other: 'QUndoCommand') -> bool: ... + def id(self) -> int: ... + + +class QUndoStack(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def command(self, index: int) -> QUndoCommand: ... + def undoLimit(self) -> int: ... + def setUndoLimit(self, limit: int) -> None: ... + def undoTextChanged(self, undoText: str) -> None: ... + def redoTextChanged(self, redoText: str) -> None: ... + def indexChanged(self, idx: int) -> None: ... + def cleanChanged(self, clean: bool) -> None: ... + def canUndoChanged(self, canUndo: bool) -> None: ... + def canRedoChanged(self, canRedo: bool) -> None: ... + def resetClean(self) -> None: ... + def undo(self) -> None: ... + def setIndex(self, idx: int) -> None: ... + def setClean(self) -> None: ... + def setActive(self, active: bool = ...) -> None: ... + def redo(self) -> None: ... + def endMacro(self) -> None: ... + def beginMacro(self, text: str) -> None: ... + def cleanIndex(self) -> int: ... + def isClean(self) -> bool: ... + def isActive(self) -> bool: ... + def createRedoAction(self, parent: QtCore.QObject, prefix: str = ...) -> QAction: ... + def createUndoAction(self, parent: QtCore.QObject, prefix: str = ...) -> QAction: ... + def text(self, idx: int) -> str: ... + def index(self) -> int: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def redoText(self) -> str: ... + def undoText(self) -> str: ... + def canRedo(self) -> bool: ... + def canUndo(self) -> bool: ... + def push(self, cmd: QUndoCommand) -> None: ... + def clear(self) -> None: ... + + +class QUndoView(QListView): + + @typing.overload + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, stack: QUndoStack, parent: typing.Optional[QWidget] = ...) -> None: ... + @typing.overload + def __init__(self, group: QUndoGroup, parent: typing.Optional[QWidget] = ...) -> None: ... + + def setGroup(self, group: QUndoGroup) -> None: ... + def setStack(self, stack: QUndoStack) -> None: ... + def cleanIcon(self) -> QtGui.QIcon: ... + def setCleanIcon(self, icon: QtGui.QIcon) -> None: ... + def emptyLabel(self) -> str: ... + def setEmptyLabel(self, label: str) -> None: ... + def group(self) -> QUndoGroup: ... + def stack(self) -> QUndoStack: ... + + +class QWhatsThis(sip.simplewrapper): + + def __init__(self, a0: 'QWhatsThis') -> None: ... + + @staticmethod + def createAction(parent: typing.Optional[QtCore.QObject] = ...) -> QAction: ... + @staticmethod + def hideText() -> None: ... + @staticmethod + def showText(pos: QtCore.QPoint, text: str, widget: typing.Optional[QWidget] = ...) -> None: ... + @staticmethod + def leaveWhatsThisMode() -> None: ... + @staticmethod + def inWhatsThisMode() -> bool: ... + @staticmethod + def enterWhatsThisMode() -> None: ... + + +class QWidgetAction(QAction): + + def __init__(self, parent: QtCore.QObject) -> None: ... + + def createdWidgets(self) -> typing.List[QWidget]: ... + def deleteWidget(self, widget: QWidget) -> None: ... + def createWidget(self, parent: QWidget) -> QWidget: ... + def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + def event(self, a0: QtCore.QEvent) -> bool: ... + def releaseWidget(self, widget: QWidget) -> None: ... + def requestWidget(self, parent: QWidget) -> QWidget: ... + def defaultWidget(self) -> QWidget: ... + def setDefaultWidget(self, w: QWidget) -> None: ... + + +class QWizard(QDialog): + + class WizardOption(int): + IndependentPages = ... # type: QWizard.WizardOption + IgnoreSubTitles = ... # type: QWizard.WizardOption + ExtendedWatermarkPixmap = ... # type: QWizard.WizardOption + NoDefaultButton = ... # type: QWizard.WizardOption + NoBackButtonOnStartPage = ... # type: QWizard.WizardOption + NoBackButtonOnLastPage = ... # type: QWizard.WizardOption + DisabledBackButtonOnLastPage = ... # type: QWizard.WizardOption + HaveNextButtonOnLastPage = ... # type: QWizard.WizardOption + HaveFinishButtonOnEarlyPages = ... # type: QWizard.WizardOption + NoCancelButton = ... # type: QWizard.WizardOption + CancelButtonOnLeft = ... # type: QWizard.WizardOption + HaveHelpButton = ... # type: QWizard.WizardOption + HelpButtonOnRight = ... # type: QWizard.WizardOption + HaveCustomButton1 = ... # type: QWizard.WizardOption + HaveCustomButton2 = ... # type: QWizard.WizardOption + HaveCustomButton3 = ... # type: QWizard.WizardOption + NoCancelButtonOnLastPage = ... # type: QWizard.WizardOption + + class WizardStyle(int): + ClassicStyle = ... # type: QWizard.WizardStyle + ModernStyle = ... # type: QWizard.WizardStyle + MacStyle = ... # type: QWizard.WizardStyle + AeroStyle = ... # type: QWizard.WizardStyle + + class WizardPixmap(int): + WatermarkPixmap = ... # type: QWizard.WizardPixmap + LogoPixmap = ... # type: QWizard.WizardPixmap + BannerPixmap = ... # type: QWizard.WizardPixmap + BackgroundPixmap = ... # type: QWizard.WizardPixmap + + class WizardButton(int): + BackButton = ... # type: QWizard.WizardButton + NextButton = ... # type: QWizard.WizardButton + CommitButton = ... # type: QWizard.WizardButton + FinishButton = ... # type: QWizard.WizardButton + CancelButton = ... # type: QWizard.WizardButton + HelpButton = ... # type: QWizard.WizardButton + CustomButton1 = ... # type: QWizard.WizardButton + CustomButton2 = ... # type: QWizard.WizardButton + CustomButton3 = ... # type: QWizard.WizardButton + Stretch = ... # type: QWizard.WizardButton + + class WizardOptions(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, f: typing.Union['QWizard.WizardOptions', 'QWizard.WizardOption']) -> None: ... + @typing.overload + def __init__(self, a0: 'QWizard.WizardOptions') -> None: ... + + def __hash__(self) -> int: ... + def __bool__(self) -> int: ... + def __invert__(self) -> 'QWizard.WizardOptions': ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + + def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... + + def visitedIds(self) -> typing.List[int]: ... + def pageRemoved(self, id: int) -> None: ... + def pageAdded(self, id: int) -> None: ... + def sideWidget(self) -> QWidget: ... + def setSideWidget(self, widget: QWidget) -> None: ... + def pageIds(self) -> typing.List[int]: ... + def removePage(self, id: int) -> None: ... + def cleanupPage(self, id: int) -> None: ... + def initializePage(self, id: int) -> None: ... + def done(self, result: int) -> None: ... + def paintEvent(self, event: QtGui.QPaintEvent) -> None: ... + def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... + def event(self, event: QtCore.QEvent) -> bool: ... + def restart(self) -> None: ... + def next(self) -> None: ... + def back(self) -> None: ... + def customButtonClicked(self, which: int) -> None: ... + def helpRequested(self) -> None: ... + def currentIdChanged(self, id: int) -> None: ... + def sizeHint(self) -> QtCore.QSize: ... + def setVisible(self, visible: bool) -> None: ... + def setDefaultProperty(self, className: str, property: str, changedSignal: PYQT_SIGNAL) -> None: ... + def pixmap(self, which: 'QWizard.WizardPixmap') -> QtGui.QPixmap: ... + def setPixmap(self, which: 'QWizard.WizardPixmap', pixmap: QtGui.QPixmap) -> None: ... + def subTitleFormat(self) -> QtCore.Qt.TextFormat: ... + def setSubTitleFormat(self, format: QtCore.Qt.TextFormat) -> None: ... + def titleFormat(self) -> QtCore.Qt.TextFormat: ... + def setTitleFormat(self, format: QtCore.Qt.TextFormat) -> None: ... + def button(self, which: 'QWizard.WizardButton') -> QAbstractButton: ... + def setButton(self, which: 'QWizard.WizardButton', button: QAbstractButton) -> None: ... + def setButtonLayout(self, layout: typing.Iterable['QWizard.WizardButton']) -> None: ... + def buttonText(self, which: 'QWizard.WizardButton') -> str: ... + def setButtonText(self, which: 'QWizard.WizardButton', text: str) -> None: ... + def options(self) -> 'QWizard.WizardOptions': ... + def setOptions(self, options: typing.Union['QWizard.WizardOptions', 'QWizard.WizardOption']) -> None: ... + def testOption(self, option: 'QWizard.WizardOption') -> bool: ... + def setOption(self, option: 'QWizard.WizardOption', on: bool = ...) -> None: ... + def wizardStyle(self) -> 'QWizard.WizardStyle': ... + def setWizardStyle(self, style: 'QWizard.WizardStyle') -> None: ... + def field(self, name: str) -> typing.Any: ... + def setField(self, name: str, value: typing.Any) -> None: ... + def nextId(self) -> int: ... + def validateCurrentPage(self) -> bool: ... + def currentId(self) -> int: ... + def currentPage(self) -> 'QWizardPage': ... + def startId(self) -> int: ... + def setStartId(self, id: int) -> None: ... + def visitedPages(self) -> typing.List[int]: ... + def hasVisitedPage(self, id: int) -> bool: ... + def page(self, id: int) -> 'QWizardPage': ... + def setPage(self, id: int, page: 'QWizardPage') -> None: ... + def addPage(self, page: 'QWizardPage') -> int: ... + + +class QWizardPage(QWidget): + + def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... + + def wizard(self) -> QWizard: ... + def registerField(self, name: str, widget: QWidget, property: typing.Optional[str] = ..., changedSignal: PYQT_SIGNAL = ...) -> None: ... + def field(self, name: str) -> typing.Any: ... + def setField(self, name: str, value: typing.Any) -> None: ... + def completeChanged(self) -> None: ... + def nextId(self) -> int: ... + def isComplete(self) -> bool: ... + def validatePage(self) -> bool: ... + def cleanupPage(self) -> None: ... + def initializePage(self) -> None: ... + def buttonText(self, which: QWizard.WizardButton) -> str: ... + def setButtonText(self, which: QWizard.WizardButton, text: str) -> None: ... + def isCommitPage(self) -> bool: ... + def setCommitPage(self, commitPage: bool) -> None: ... + def isFinalPage(self) -> bool: ... + def setFinalPage(self, finalPage: bool) -> None: ... + def pixmap(self, which: QWizard.WizardPixmap) -> QtGui.QPixmap: ... + def setPixmap(self, which: QWizard.WizardPixmap, pixmap: QtGui.QPixmap) -> None: ... + def subTitle(self) -> str: ... + def setSubTitle(self, subTitle: str) -> None: ... + def title(self) -> str: ... + def setTitle(self, title: str) -> None: ... + + +QWIDGETSIZE_MAX = ... # type: int +qApp = ... # type: QApplication + + +def qDrawBorderPixmap(painter: QtGui.QPainter, target: QtCore.QRect, margins: QtCore.QMargins, pixmap: QtGui.QPixmap) -> None: ... +@typing.overload +def qDrawPlainRect(p: QtGui.QPainter, x: int, y: int, w: int, h: int, a5: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient], lineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawPlainRect(p: QtGui.QPainter, r: QtCore.QRect, a2: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient], lineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawWinPanel(p: QtGui.QPainter, x: int, y: int, w: int, h: int, pal: QtGui.QPalette, sunken: bool = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawWinPanel(p: QtGui.QPainter, r: QtCore.QRect, pal: QtGui.QPalette, sunken: bool = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawWinButton(p: QtGui.QPainter, x: int, y: int, w: int, h: int, pal: QtGui.QPalette, sunken: bool = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawWinButton(p: QtGui.QPainter, r: QtCore.QRect, pal: QtGui.QPalette, sunken: bool = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawShadePanel(p: QtGui.QPainter, x: int, y: int, w: int, h: int, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawShadePanel(p: QtGui.QPainter, r: QtCore.QRect, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawShadeRect(p: QtGui.QPainter, x: int, y: int, w: int, h: int, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., midLineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawShadeRect(p: QtGui.QPainter, r: QtCore.QRect, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., midLineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ... +@typing.overload +def qDrawShadeLine(p: QtGui.QPainter, x1: int, y1: int, x2: int, y2: int, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., midLineWidth: int = ...) -> None: ... +@typing.overload +def qDrawShadeLine(p: QtGui.QPainter, p1: QtCore.QPoint, p2: QtCore.QPoint, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., midLineWidth: int = ...) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtWinExtras.pyi b/OTHERS/Jarvis/ools/PyQt5/QtWinExtras.pyi new file mode 100644 index 00000000..c8c32ac8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtWinExtras.pyi @@ -0,0 +1,295 @@ +# The PEP 484 type hints stub file for the QtWinExtras module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtWidgets + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] + + +class QtWin(PyQt5.sip.simplewrapper): + + class WindowFlip3DPolicy(int): + FlipDefault = ... # type: QtWin.WindowFlip3DPolicy + FlipExcludeBelow = ... # type: QtWin.WindowFlip3DPolicy + FlipExcludeAbove = ... # type: QtWin.WindowFlip3DPolicy + + class HBitmapFormat(int): + HBitmapNoAlpha = ... # type: QtWin.HBitmapFormat + HBitmapPremultipliedAlpha = ... # type: QtWin.HBitmapFormat + HBitmapAlpha = ... # type: QtWin.HBitmapFormat + + @typing.overload + def taskbarDeleteTab(self, a0: QtGui.QWindow) -> None: ... + @typing.overload + def taskbarDeleteTab(self, window: QtWidgets.QWidget) -> None: ... + @typing.overload + def taskbarAddTab(self, a0: QtGui.QWindow) -> None: ... + @typing.overload + def taskbarAddTab(self, window: QtWidgets.QWidget) -> None: ... + @typing.overload + def taskbarActivateTabAlt(self, a0: QtGui.QWindow) -> None: ... + @typing.overload + def taskbarActivateTabAlt(self, window: QtWidgets.QWidget) -> None: ... + @typing.overload + def taskbarActivateTab(self, a0: QtGui.QWindow) -> None: ... + @typing.overload + def taskbarActivateTab(self, window: QtWidgets.QWidget) -> None: ... + @typing.overload + def markFullscreenWindow(self, a0: QtGui.QWindow, fullscreen: bool = ...) -> None: ... + @typing.overload + def markFullscreenWindow(self, window: QtWidgets.QWidget, fullscreen: bool = ...) -> None: ... + def setCurrentProcessExplicitAppUserModelID(self, id: str) -> None: ... + def isCompositionOpaque(self) -> bool: ... + def setCompositionEnabled(self, enabled: bool) -> None: ... + def isCompositionEnabled(self) -> bool: ... + @typing.overload + def disableBlurBehindWindow(self, window: QtGui.QWindow) -> None: ... + @typing.overload + def disableBlurBehindWindow(self, window: QtWidgets.QWidget) -> None: ... + @typing.overload + def enableBlurBehindWindow(self, window: QtGui.QWindow, region: QtGui.QRegion) -> None: ... + @typing.overload + def enableBlurBehindWindow(self, window: QtGui.QWindow) -> None: ... + @typing.overload + def enableBlurBehindWindow(self, window: QtWidgets.QWidget, region: QtGui.QRegion) -> None: ... + @typing.overload + def enableBlurBehindWindow(self, window: QtWidgets.QWidget) -> None: ... + @typing.overload + def resetExtendedFrame(self, window: QtGui.QWindow) -> None: ... + @typing.overload + def resetExtendedFrame(self, window: QtWidgets.QWidget) -> None: ... + @typing.overload + def extendFrameIntoClientArea(self, window: QtGui.QWindow, left: int, top: int, right: int, bottom: int) -> None: ... + @typing.overload + def extendFrameIntoClientArea(self, window: QtGui.QWindow, margins: QtCore.QMargins) -> None: ... + @typing.overload + def extendFrameIntoClientArea(self, window: QtWidgets.QWidget, margins: QtCore.QMargins) -> None: ... + @typing.overload + def extendFrameIntoClientArea(self, window: QtWidgets.QWidget, left: int, top: int, right: int, bottom: int) -> None: ... + @typing.overload + def windowFlip3DPolicy(self, a0: QtGui.QWindow) -> 'QtWin.WindowFlip3DPolicy': ... + @typing.overload + def windowFlip3DPolicy(self, window: QtWidgets.QWidget) -> 'QtWin.WindowFlip3DPolicy': ... + @typing.overload + def setWindowFlip3DPolicy(self, window: QtGui.QWindow, policy: 'QtWin.WindowFlip3DPolicy') -> None: ... + @typing.overload + def setWindowFlip3DPolicy(self, window: QtWidgets.QWidget, policy: 'QtWin.WindowFlip3DPolicy') -> None: ... + @typing.overload + def isWindowPeekDisallowed(self, window: QtGui.QWindow) -> bool: ... + @typing.overload + def isWindowPeekDisallowed(self, window: QtWidgets.QWidget) -> bool: ... + @typing.overload + def setWindowDisallowPeek(self, window: QtGui.QWindow, disallow: bool) -> None: ... + @typing.overload + def setWindowDisallowPeek(self, window: QtWidgets.QWidget, disallow: bool) -> None: ... + @typing.overload + def isWindowExcludedFromPeek(self, window: QtGui.QWindow) -> bool: ... + @typing.overload + def isWindowExcludedFromPeek(self, window: QtWidgets.QWidget) -> bool: ... + @typing.overload + def setWindowExcludedFromPeek(self, window: QtGui.QWindow, exclude: bool) -> None: ... + @typing.overload + def setWindowExcludedFromPeek(self, window: QtWidgets.QWidget, exclude: bool) -> None: ... + def realColorizationColor(self) -> QtGui.QColor: ... + def colorizationColor(self) -> typing.Tuple[QtGui.QColor, bool]: ... + def errorStringFromHresult(self, hresult: int) -> str: ... + def stringFromHresult(self, hresult: int) -> str: ... + def fromHRGN(self, hrgn: PyQt5.sip.voidptr) -> QtGui.QRegion: ... + def toHRGN(self, region: QtGui.QRegion) -> PyQt5.sip.voidptr: ... + def fromHICON(self, icon: PyQt5.sip.voidptr) -> QtGui.QPixmap: ... + def imageFromHBITMAP(self, hdc: PyQt5.sip.voidptr, bitmap: PyQt5.sip.voidptr, width: int, height: int) -> QtGui.QImage: ... + def toHICON(self, p: QtGui.QPixmap) -> PyQt5.sip.voidptr: ... + def fromHBITMAP(self, bitmap: PyQt5.sip.voidptr, format: 'QtWin.HBitmapFormat' = ...) -> QtGui.QPixmap: ... + def toHBITMAP(self, p: QtGui.QPixmap, format: 'QtWin.HBitmapFormat' = ...) -> PyQt5.sip.voidptr: ... + def createMask(self, bitmap: QtGui.QBitmap) -> PyQt5.sip.voidptr: ... + + +class QWinJumpList(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def clear(self) -> None: ... + @typing.overload + def addCategory(self, category: 'QWinJumpListCategory') -> None: ... + @typing.overload + def addCategory(self, title: str, items: typing.Iterable['QWinJumpListItem'] = ...) -> 'QWinJumpListCategory': ... + def categories(self) -> typing.List['QWinJumpListCategory']: ... + def tasks(self) -> 'QWinJumpListCategory': ... + def frequent(self) -> 'QWinJumpListCategory': ... + def recent(self) -> 'QWinJumpListCategory': ... + def setIdentifier(self, identifier: str) -> None: ... + def identifier(self) -> str: ... + + +class QWinJumpListCategory(PyQt5.sip.wrapper): + + class Type(int): + Custom = ... # type: QWinJumpListCategory.Type + Recent = ... # type: QWinJumpListCategory.Type + Frequent = ... # type: QWinJumpListCategory.Type + Tasks = ... # type: QWinJumpListCategory.Type + + def __init__(self, title: str = ...) -> None: ... + + def clear(self) -> None: ... + def addSeparator(self) -> 'QWinJumpListItem': ... + @typing.overload + def addLink(self, title: str, executablePath: str, arguments: typing.Iterable[str] = ...) -> 'QWinJumpListItem': ... + @typing.overload + def addLink(self, icon: QtGui.QIcon, title: str, executablePath: str, arguments: typing.Iterable[str] = ...) -> 'QWinJumpListItem': ... + def addDestination(self, filePath: str) -> 'QWinJumpListItem': ... + def addItem(self, item: 'QWinJumpListItem') -> None: ... + def items(self) -> typing.List['QWinJumpListItem']: ... + def isEmpty(self) -> bool: ... + def count(self) -> int: ... + def setTitle(self, title: str) -> None: ... + def title(self) -> str: ... + def setVisible(self, visible: bool) -> None: ... + def isVisible(self) -> bool: ... + def type(self) -> 'QWinJumpListCategory.Type': ... + + +class QWinJumpListItem(PyQt5.sip.wrapper): + + class Type(int): + Destination = ... # type: QWinJumpListItem.Type + Link = ... # type: QWinJumpListItem.Type + Separator = ... # type: QWinJumpListItem.Type + + def __init__(self, type: 'QWinJumpListItem.Type') -> None: ... + + def arguments(self) -> typing.List[str]: ... + def setArguments(self, arguments: typing.Iterable[str]) -> None: ... + def description(self) -> str: ... + def setDescription(self, description: str) -> None: ... + def title(self) -> str: ... + def setTitle(self, title: str) -> None: ... + def icon(self) -> QtGui.QIcon: ... + def setIcon(self, icon: QtGui.QIcon) -> None: ... + def workingDirectory(self) -> str: ... + def setWorkingDirectory(self, workingDirectory: str) -> None: ... + def filePath(self) -> str: ... + def setFilePath(self, filePath: str) -> None: ... + def type(self) -> 'QWinJumpListItem.Type': ... + def setType(self, type: 'QWinJumpListItem.Type') -> None: ... + + +class QWinTaskbarButton(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def clearOverlayIcon(self) -> None: ... + def setOverlayAccessibleDescription(self, description: str) -> None: ... + def setOverlayIcon(self, icon: QtGui.QIcon) -> None: ... + def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... + def progress(self) -> 'QWinTaskbarProgress': ... + def overlayAccessibleDescription(self) -> str: ... + def overlayIcon(self) -> QtGui.QIcon: ... + def window(self) -> QtGui.QWindow: ... + def setWindow(self, window: QtGui.QWindow) -> None: ... + + +class QWinTaskbarProgress(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def visibilityChanged(self, visible: bool) -> None: ... + def maximumChanged(self, maximum: int) -> None: ... + def minimumChanged(self, minimum: int) -> None: ... + def valueChanged(self, value: int) -> None: ... + def stop(self) -> None: ... + def setPaused(self, paused: bool) -> None: ... + def resume(self) -> None: ... + def pause(self) -> None: ... + def setVisible(self, visible: bool) -> None: ... + def hide(self) -> None: ... + def show(self) -> None: ... + def reset(self) -> None: ... + def setRange(self, minimum: int, maximum: int) -> None: ... + def setMaximum(self, maximum: int) -> None: ... + def setMinimum(self, minimum: int) -> None: ... + def setValue(self, value: int) -> None: ... + def isStopped(self) -> bool: ... + def isPaused(self) -> bool: ... + def isVisible(self) -> bool: ... + def maximum(self) -> int: ... + def minimum(self) -> int: ... + def value(self) -> int: ... + + +class QWinThumbnailToolBar(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def iconicLivePreviewPixmapRequested(self) -> None: ... + def iconicThumbnailPixmapRequested(self) -> None: ... + def setIconicLivePreviewPixmap(self, a0: QtGui.QPixmap) -> None: ... + def setIconicThumbnailPixmap(self, a0: QtGui.QPixmap) -> None: ... + def clear(self) -> None: ... + def iconicLivePreviewPixmap(self) -> QtGui.QPixmap: ... + def iconicThumbnailPixmap(self) -> QtGui.QPixmap: ... + def setIconicPixmapNotificationsEnabled(self, enabled: bool) -> None: ... + def iconicPixmapNotificationsEnabled(self) -> bool: ... + def count(self) -> int: ... + def buttons(self) -> typing.List['QWinThumbnailToolButton']: ... + def setButtons(self, buttons: typing.Iterable['QWinThumbnailToolButton']) -> None: ... + def removeButton(self, button: 'QWinThumbnailToolButton') -> None: ... + def addButton(self, button: 'QWinThumbnailToolButton') -> None: ... + def window(self) -> QtGui.QWindow: ... + def setWindow(self, window: QtGui.QWindow) -> None: ... + + +class QWinThumbnailToolButton(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def clicked(self) -> None: ... + def click(self) -> None: ... + def isFlat(self) -> bool: ... + def setFlat(self, flat: bool) -> None: ... + def dismissOnClick(self) -> bool: ... + def setDismissOnClick(self, dismiss: bool) -> None: ... + def isVisible(self) -> bool: ... + def setVisible(self, visible: bool) -> None: ... + def isInteractive(self) -> bool: ... + def setInteractive(self, interactive: bool) -> None: ... + def isEnabled(self) -> bool: ... + def setEnabled(self, enabled: bool) -> None: ... + def icon(self) -> QtGui.QIcon: ... + def setIcon(self, icon: QtGui.QIcon) -> None: ... + def toolTip(self) -> str: ... + def setToolTip(self, toolTip: str) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtXml.pyi b/OTHERS/Jarvis/ools/PyQt5/QtXml.pyi new file mode 100644 index 00000000..08581099 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtXml.pyi @@ -0,0 +1,702 @@ +# The PEP 484 type hints stub file for the QtXml module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QDomImplementation(sip.simplewrapper): + + class InvalidDataPolicy(int): + AcceptInvalidChars = ... # type: QDomImplementation.InvalidDataPolicy + DropInvalidChars = ... # type: QDomImplementation.InvalidDataPolicy + ReturnNullNode = ... # type: QDomImplementation.InvalidDataPolicy + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDomImplementation') -> None: ... + + def isNull(self) -> bool: ... + @staticmethod + def setInvalidDataPolicy(policy: 'QDomImplementation.InvalidDataPolicy') -> None: ... + @staticmethod + def invalidDataPolicy() -> 'QDomImplementation.InvalidDataPolicy': ... + def createDocument(self, nsURI: str, qName: str, doctype: 'QDomDocumentType') -> 'QDomDocument': ... + def createDocumentType(self, qName: str, publicId: str, systemId: str) -> 'QDomDocumentType': ... + def hasFeature(self, feature: str, version: str) -> bool: ... + + +class QDomNode(sip.simplewrapper): + + class EncodingPolicy(int): + EncodingFromDocument = ... # type: QDomNode.EncodingPolicy + EncodingFromTextStream = ... # type: QDomNode.EncodingPolicy + + class NodeType(int): + ElementNode = ... # type: QDomNode.NodeType + AttributeNode = ... # type: QDomNode.NodeType + TextNode = ... # type: QDomNode.NodeType + CDATASectionNode = ... # type: QDomNode.NodeType + EntityReferenceNode = ... # type: QDomNode.NodeType + EntityNode = ... # type: QDomNode.NodeType + ProcessingInstructionNode = ... # type: QDomNode.NodeType + CommentNode = ... # type: QDomNode.NodeType + DocumentNode = ... # type: QDomNode.NodeType + DocumentTypeNode = ... # type: QDomNode.NodeType + DocumentFragmentNode = ... # type: QDomNode.NodeType + NotationNode = ... # type: QDomNode.NodeType + BaseNode = ... # type: QDomNode.NodeType + CharacterDataNode = ... # type: QDomNode.NodeType + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDomNode') -> None: ... + + def columnNumber(self) -> int: ... + def lineNumber(self) -> int: ... + def nextSiblingElement(self, taName: str = ...) -> 'QDomElement': ... + def previousSiblingElement(self, tagName: str = ...) -> 'QDomElement': ... + def lastChildElement(self, tagName: str = ...) -> 'QDomElement': ... + def firstChildElement(self, tagName: str = ...) -> 'QDomElement': ... + def save(self, a0: QtCore.QTextStream, a1: int, a2: 'QDomNode.EncodingPolicy' = ...) -> None: ... + def toComment(self) -> 'QDomComment': ... + def toCharacterData(self) -> 'QDomCharacterData': ... + def toProcessingInstruction(self) -> 'QDomProcessingInstruction': ... + def toNotation(self) -> 'QDomNotation': ... + def toEntity(self) -> 'QDomEntity': ... + def toText(self) -> 'QDomText': ... + def toEntityReference(self) -> 'QDomEntityReference': ... + def toElement(self) -> 'QDomElement': ... + def toDocumentType(self) -> 'QDomDocumentType': ... + def toDocument(self) -> 'QDomDocument': ... + def toDocumentFragment(self) -> 'QDomDocumentFragment': ... + def toCDATASection(self) -> 'QDomCDATASection': ... + def toAttr(self) -> 'QDomAttr': ... + def clear(self) -> None: ... + def isNull(self) -> bool: ... + def namedItem(self, name: str) -> 'QDomNode': ... + def isComment(self) -> bool: ... + def isCharacterData(self) -> bool: ... + def isProcessingInstruction(self) -> bool: ... + def isNotation(self) -> bool: ... + def isEntity(self) -> bool: ... + def isText(self) -> bool: ... + def isEntityReference(self) -> bool: ... + def isElement(self) -> bool: ... + def isDocumentType(self) -> bool: ... + def isDocument(self) -> bool: ... + def isDocumentFragment(self) -> bool: ... + def isCDATASection(self) -> bool: ... + def isAttr(self) -> bool: ... + def setPrefix(self, pre: str) -> None: ... + def prefix(self) -> str: ... + def setNodeValue(self, a0: str) -> None: ... + def nodeValue(self) -> str: ... + def hasAttributes(self) -> bool: ... + def localName(self) -> str: ... + def namespaceURI(self) -> str: ... + def ownerDocument(self) -> 'QDomDocument': ... + def attributes(self) -> 'QDomNamedNodeMap': ... + def nextSibling(self) -> 'QDomNode': ... + def previousSibling(self) -> 'QDomNode': ... + def lastChild(self) -> 'QDomNode': ... + def firstChild(self) -> 'QDomNode': ... + def childNodes(self) -> 'QDomNodeList': ... + def parentNode(self) -> 'QDomNode': ... + def nodeType(self) -> 'QDomNode.NodeType': ... + def nodeName(self) -> str: ... + def isSupported(self, feature: str, version: str) -> bool: ... + def normalize(self) -> None: ... + def cloneNode(self, deep: bool = ...) -> 'QDomNode': ... + def hasChildNodes(self) -> bool: ... + def appendChild(self, newChild: 'QDomNode') -> 'QDomNode': ... + def removeChild(self, oldChild: 'QDomNode') -> 'QDomNode': ... + def replaceChild(self, newChild: 'QDomNode', oldChild: 'QDomNode') -> 'QDomNode': ... + def insertAfter(self, newChild: 'QDomNode', refChild: 'QDomNode') -> 'QDomNode': ... + def insertBefore(self, newChild: 'QDomNode', refChild: 'QDomNode') -> 'QDomNode': ... + + +class QDomNodeList(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDomNodeList') -> None: ... + + def isEmpty(self) -> bool: ... + def size(self) -> int: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def length(self) -> int: ... + def at(self, index: int) -> QDomNode: ... + def item(self, index: int) -> QDomNode: ... + + +class QDomDocumentType(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomDocumentType') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + def internalSubset(self) -> str: ... + def systemId(self) -> str: ... + def publicId(self) -> str: ... + def notations(self) -> 'QDomNamedNodeMap': ... + def entities(self) -> 'QDomNamedNodeMap': ... + def name(self) -> str: ... + + +class QDomDocument(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, name: str) -> None: ... + @typing.overload + def __init__(self, doctype: QDomDocumentType) -> None: ... + @typing.overload + def __init__(self, x: 'QDomDocument') -> None: ... + + def toByteArray(self, indent: int = ...) -> QtCore.QByteArray: ... + def toString(self, indent: int = ...) -> str: ... + @typing.overload + def setContent(self, text: typing.Union[QtCore.QByteArray, bytes, bytearray], namespaceProcessing: bool) -> typing.Tuple[bool, str, int, int]: ... + @typing.overload + def setContent(self, text: str, namespaceProcessing: bool) -> typing.Tuple[bool, str, int, int]: ... + @typing.overload + def setContent(self, dev: QtCore.QIODevice, namespaceProcessing: bool) -> typing.Tuple[bool, str, int, int]: ... + @typing.overload + def setContent(self, source: 'QXmlInputSource', namespaceProcessing: bool) -> typing.Tuple[bool, str, int, int]: ... + @typing.overload + def setContent(self, text: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> typing.Tuple[bool, str, int, int]: ... + @typing.overload + def setContent(self, text: str) -> typing.Tuple[bool, str, int, int]: ... + @typing.overload + def setContent(self, dev: QtCore.QIODevice) -> typing.Tuple[bool, str, int, int]: ... + @typing.overload + def setContent(self, source: 'QXmlInputSource', reader: 'QXmlReader') -> typing.Tuple[bool, str, int, int]: ... + @typing.overload + def setContent(self, reader: QtCore.QXmlStreamReader, namespaceProcessing: bool) -> typing.Tuple[bool, str, int, int]: ... + def nodeType(self) -> QDomNode.NodeType: ... + def documentElement(self) -> 'QDomElement': ... + def implementation(self) -> QDomImplementation: ... + def doctype(self) -> QDomDocumentType: ... + def elementById(self, elementId: str) -> 'QDomElement': ... + def elementsByTagNameNS(self, nsURI: str, localName: str) -> QDomNodeList: ... + def createAttributeNS(self, nsURI: str, qName: str) -> 'QDomAttr': ... + def createElementNS(self, nsURI: str, qName: str) -> 'QDomElement': ... + def importNode(self, importedNode: QDomNode, deep: bool) -> QDomNode: ... + def elementsByTagName(self, tagname: str) -> QDomNodeList: ... + def createEntityReference(self, name: str) -> 'QDomEntityReference': ... + def createAttribute(self, name: str) -> 'QDomAttr': ... + def createProcessingInstruction(self, target: str, data: str) -> 'QDomProcessingInstruction': ... + def createCDATASection(self, data: str) -> 'QDomCDATASection': ... + def createComment(self, data: str) -> 'QDomComment': ... + def createTextNode(self, data: str) -> 'QDomText': ... + def createDocumentFragment(self) -> 'QDomDocumentFragment': ... + def createElement(self, tagName: str) -> 'QDomElement': ... + + +class QDomNamedNodeMap(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QDomNamedNodeMap') -> None: ... + + def contains(self, name: str) -> bool: ... + def isEmpty(self) -> bool: ... + def size(self) -> int: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def length(self) -> int: ... + def removeNamedItemNS(self, nsURI: str, localName: str) -> QDomNode: ... + def setNamedItemNS(self, newNode: QDomNode) -> QDomNode: ... + def namedItemNS(self, nsURI: str, localName: str) -> QDomNode: ... + def item(self, index: int) -> QDomNode: ... + def removeNamedItem(self, name: str) -> QDomNode: ... + def setNamedItem(self, newNode: QDomNode) -> QDomNode: ... + def namedItem(self, name: str) -> QDomNode: ... + + +class QDomDocumentFragment(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomDocumentFragment') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + + +class QDomCharacterData(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomCharacterData') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + def setData(self, a0: str) -> None: ... + def data(self) -> str: ... + def length(self) -> int: ... + def replaceData(self, offset: int, count: int, arg: str) -> None: ... + def deleteData(self, offset: int, count: int) -> None: ... + def insertData(self, offset: int, arg: str) -> None: ... + def appendData(self, arg: str) -> None: ... + def substringData(self, offset: int, count: int) -> str: ... + + +class QDomAttr(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomAttr') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + def setValue(self, a0: str) -> None: ... + def value(self) -> str: ... + def ownerElement(self) -> 'QDomElement': ... + def specified(self) -> bool: ... + def name(self) -> str: ... + + +class QDomElement(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomElement') -> None: ... + + def text(self) -> str: ... + def nodeType(self) -> QDomNode.NodeType: ... + def attributes(self) -> QDomNamedNodeMap: ... + def setTagName(self, name: str) -> None: ... + def tagName(self) -> str: ... + def hasAttributeNS(self, nsURI: str, localName: str) -> bool: ... + def elementsByTagNameNS(self, nsURI: str, localName: str) -> QDomNodeList: ... + def setAttributeNodeNS(self, newAttr: QDomAttr) -> QDomAttr: ... + def attributeNodeNS(self, nsURI: str, localName: str) -> QDomAttr: ... + def removeAttributeNS(self, nsURI: str, localName: str) -> None: ... + @typing.overload + def setAttributeNS(self, nsURI: str, qName: str, value: str) -> None: ... + @typing.overload + def setAttributeNS(self, nsURI: str, qName: str, value: int) -> None: ... + @typing.overload + def setAttributeNS(self, nsURI: str, qName: str, value: int) -> None: ... + @typing.overload + def setAttributeNS(self, nsURI: str, qName: str, value: float) -> None: ... + @typing.overload + def setAttributeNS(self, nsURI: str, qName: str, value: int) -> None: ... + def attributeNS(self, nsURI: str, localName: str, defaultValue: str = ...) -> str: ... + def hasAttribute(self, name: str) -> bool: ... + def elementsByTagName(self, tagname: str) -> QDomNodeList: ... + def removeAttributeNode(self, oldAttr: QDomAttr) -> QDomAttr: ... + def setAttributeNode(self, newAttr: QDomAttr) -> QDomAttr: ... + def attributeNode(self, name: str) -> QDomAttr: ... + def removeAttribute(self, name: str) -> None: ... + @typing.overload + def setAttribute(self, name: str, value: str) -> None: ... + @typing.overload + def setAttribute(self, name: str, value: int) -> None: ... + @typing.overload + def setAttribute(self, name: str, value: int) -> None: ... + @typing.overload + def setAttribute(self, name: str, value: float) -> None: ... + @typing.overload + def setAttribute(self, name: str, value: int) -> None: ... + def attribute(self, name: str, defaultValue: str = ...) -> str: ... + + +class QDomText(QDomCharacterData): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomText') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + def splitText(self, offset: int) -> 'QDomText': ... + + +class QDomComment(QDomCharacterData): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomComment') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + + +class QDomCDATASection(QDomText): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomCDATASection') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + + +class QDomNotation(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomNotation') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + def systemId(self) -> str: ... + def publicId(self) -> str: ... + + +class QDomEntity(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomEntity') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + def notationName(self) -> str: ... + def systemId(self) -> str: ... + def publicId(self) -> str: ... + + +class QDomEntityReference(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomEntityReference') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + + +class QDomProcessingInstruction(QDomNode): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, x: 'QDomProcessingInstruction') -> None: ... + + def nodeType(self) -> QDomNode.NodeType: ... + def setData(self, d: str) -> None: ... + def data(self) -> str: ... + def target(self) -> str: ... + + +class QXmlNamespaceSupport(sip.simplewrapper): + + def __init__(self) -> None: ... + + def reset(self) -> None: ... + def popContext(self) -> None: ... + def pushContext(self) -> None: ... + @typing.overload + def prefixes(self) -> typing.List[str]: ... + @typing.overload + def prefixes(self, a0: str) -> typing.List[str]: ... + def processName(self, a0: str, a1: bool, a2: str, a3: str) -> None: ... + def splitName(self, a0: str, a1: str, a2: str) -> None: ... + def uri(self, a0: str) -> str: ... + def prefix(self, a0: str) -> str: ... + def setPrefix(self, a0: str, a1: str) -> None: ... + + +class QXmlAttributes(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlAttributes') -> None: ... + + def swap(self, other: 'QXmlAttributes') -> None: ... + def __len__(self) -> int: ... + def count(self) -> int: ... + def append(self, qName: str, uri: str, localPart: str, value: str) -> None: ... + def clear(self) -> None: ... + @typing.overload + def value(self, index: int) -> str: ... + @typing.overload + def value(self, qName: str) -> str: ... + @typing.overload + def value(self, uri: str, localName: str) -> str: ... + @typing.overload + def type(self, index: int) -> str: ... + @typing.overload + def type(self, qName: str) -> str: ... + @typing.overload + def type(self, uri: str, localName: str) -> str: ... + def uri(self, index: int) -> str: ... + def qName(self, index: int) -> str: ... + def localName(self, index: int) -> str: ... + def length(self) -> int: ... + @typing.overload + def index(self, qName: str) -> int: ... + @typing.overload + def index(self, uri: str, localPart: str) -> int: ... + + +class QXmlInputSource(sip.simplewrapper): + + EndOfData = ... # type: int + EndOfDocument = ... # type: int + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, dev: QtCore.QIODevice) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlInputSource') -> None: ... + + def fromRawData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray], beginning: bool = ...) -> str: ... + def reset(self) -> None: ... + def next(self) -> str: ... + def data(self) -> str: ... + def fetchData(self) -> None: ... + @typing.overload + def setData(self, dat: str) -> None: ... + @typing.overload + def setData(self, dat: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + + +class QXmlParseException(sip.simplewrapper): + + @typing.overload + def __init__(self, name: str = ..., column: int = ..., line: int = ..., publicId: str = ..., systemId: str = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QXmlParseException') -> None: ... + + def message(self) -> str: ... + def systemId(self) -> str: ... + def publicId(self) -> str: ... + def lineNumber(self) -> int: ... + def columnNumber(self) -> int: ... + + +class QXmlReader(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlReader') -> None: ... + + @typing.overload + def parse(self, input: QXmlInputSource) -> bool: ... + @typing.overload + def parse(self, input: QXmlInputSource) -> bool: ... + def declHandler(self) -> 'QXmlDeclHandler': ... + def setDeclHandler(self, handler: 'QXmlDeclHandler') -> None: ... + def lexicalHandler(self) -> 'QXmlLexicalHandler': ... + def setLexicalHandler(self, handler: 'QXmlLexicalHandler') -> None: ... + def errorHandler(self) -> 'QXmlErrorHandler': ... + def setErrorHandler(self, handler: 'QXmlErrorHandler') -> None: ... + def contentHandler(self) -> 'QXmlContentHandler': ... + def setContentHandler(self, handler: 'QXmlContentHandler') -> None: ... + def DTDHandler(self) -> 'QXmlDTDHandler': ... + def setDTDHandler(self, handler: 'QXmlDTDHandler') -> None: ... + def entityResolver(self) -> 'QXmlEntityResolver': ... + def setEntityResolver(self, handler: 'QXmlEntityResolver') -> None: ... + def hasProperty(self, name: str) -> bool: ... + def setProperty(self, name: str, value: PyQt5.sip.voidptr) -> None: ... + def property(self, name: str) -> typing.Tuple[PyQt5.sip.voidptr, bool]: ... + def hasFeature(self, name: str) -> bool: ... + def setFeature(self, name: str, value: bool) -> None: ... + def feature(self, name: str) -> typing.Tuple[bool, bool]: ... + + +class QXmlSimpleReader(QXmlReader): + + def __init__(self) -> None: ... + + def parseContinue(self) -> bool: ... + @typing.overload + def parse(self, input: QXmlInputSource) -> bool: ... + @typing.overload + def parse(self, input: QXmlInputSource, incremental: bool) -> bool: ... + def declHandler(self) -> 'QXmlDeclHandler': ... + def setDeclHandler(self, handler: 'QXmlDeclHandler') -> None: ... + def lexicalHandler(self) -> 'QXmlLexicalHandler': ... + def setLexicalHandler(self, handler: 'QXmlLexicalHandler') -> None: ... + def errorHandler(self) -> 'QXmlErrorHandler': ... + def setErrorHandler(self, handler: 'QXmlErrorHandler') -> None: ... + def contentHandler(self) -> 'QXmlContentHandler': ... + def setContentHandler(self, handler: 'QXmlContentHandler') -> None: ... + def DTDHandler(self) -> 'QXmlDTDHandler': ... + def setDTDHandler(self, handler: 'QXmlDTDHandler') -> None: ... + def entityResolver(self) -> 'QXmlEntityResolver': ... + def setEntityResolver(self, handler: 'QXmlEntityResolver') -> None: ... + def hasProperty(self, name: str) -> bool: ... + def setProperty(self, name: str, value: PyQt5.sip.voidptr) -> None: ... + def property(self, name: str) -> typing.Tuple[PyQt5.sip.voidptr, bool]: ... + def hasFeature(self, name: str) -> bool: ... + def setFeature(self, name: str, value: bool) -> None: ... + def feature(self, name: str) -> typing.Tuple[bool, bool]: ... + + +class QXmlLocator(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlLocator') -> None: ... + + def lineNumber(self) -> int: ... + def columnNumber(self) -> int: ... + + +class QXmlContentHandler(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlContentHandler') -> None: ... + + def errorString(self) -> str: ... + def skippedEntity(self, name: str) -> bool: ... + def processingInstruction(self, target: str, data: str) -> bool: ... + def ignorableWhitespace(self, ch: str) -> bool: ... + def characters(self, ch: str) -> bool: ... + def endElement(self, namespaceURI: str, localName: str, qName: str) -> bool: ... + def startElement(self, namespaceURI: str, localName: str, qName: str, atts: QXmlAttributes) -> bool: ... + def endPrefixMapping(self, prefix: str) -> bool: ... + def startPrefixMapping(self, prefix: str, uri: str) -> bool: ... + def endDocument(self) -> bool: ... + def startDocument(self) -> bool: ... + def setDocumentLocator(self, locator: QXmlLocator) -> None: ... + + +class QXmlErrorHandler(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlErrorHandler') -> None: ... + + def errorString(self) -> str: ... + def fatalError(self, exception: QXmlParseException) -> bool: ... + def error(self, exception: QXmlParseException) -> bool: ... + def warning(self, exception: QXmlParseException) -> bool: ... + + +class QXmlDTDHandler(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlDTDHandler') -> None: ... + + def errorString(self) -> str: ... + def unparsedEntityDecl(self, name: str, publicId: str, systemId: str, notationName: str) -> bool: ... + def notationDecl(self, name: str, publicId: str, systemId: str) -> bool: ... + + +class QXmlEntityResolver(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlEntityResolver') -> None: ... + + def errorString(self) -> str: ... + def resolveEntity(self, publicId: str, systemId: str) -> typing.Tuple[bool, QXmlInputSource]: ... + + +class QXmlLexicalHandler(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlLexicalHandler') -> None: ... + + def errorString(self) -> str: ... + def comment(self, ch: str) -> bool: ... + def endCDATA(self) -> bool: ... + def startCDATA(self) -> bool: ... + def endEntity(self, name: str) -> bool: ... + def startEntity(self, name: str) -> bool: ... + def endDTD(self) -> bool: ... + def startDTD(self, name: str, publicId: str, systemId: str) -> bool: ... + + +class QXmlDeclHandler(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, a0: 'QXmlDeclHandler') -> None: ... + + def errorString(self) -> str: ... + def externalEntityDecl(self, name: str, publicId: str, systemId: str) -> bool: ... + def internalEntityDecl(self, name: str, value: str) -> bool: ... + def attributeDecl(self, eName: str, aName: str, type: str, valueDefault: str, value: str) -> bool: ... + + +class QXmlDefaultHandler(QXmlContentHandler, QXmlErrorHandler, QXmlDTDHandler, QXmlEntityResolver, QXmlLexicalHandler, QXmlDeclHandler): + + def __init__(self) -> None: ... + + def errorString(self) -> str: ... + def externalEntityDecl(self, name: str, publicId: str, systemId: str) -> bool: ... + def internalEntityDecl(self, name: str, value: str) -> bool: ... + def attributeDecl(self, eName: str, aName: str, type: str, valueDefault: str, value: str) -> bool: ... + def comment(self, ch: str) -> bool: ... + def endCDATA(self) -> bool: ... + def startCDATA(self) -> bool: ... + def endEntity(self, name: str) -> bool: ... + def startEntity(self, name: str) -> bool: ... + def endDTD(self) -> bool: ... + def startDTD(self, name: str, publicId: str, systemId: str) -> bool: ... + def resolveEntity(self, publicId: str, systemId: str) -> typing.Tuple[bool, QXmlInputSource]: ... + def unparsedEntityDecl(self, name: str, publicId: str, systemId: str, notationName: str) -> bool: ... + def notationDecl(self, name: str, publicId: str, systemId: str) -> bool: ... + def fatalError(self, exception: QXmlParseException) -> bool: ... + def error(self, exception: QXmlParseException) -> bool: ... + def warning(self, exception: QXmlParseException) -> bool: ... + def skippedEntity(self, name: str) -> bool: ... + def processingInstruction(self, target: str, data: str) -> bool: ... + def ignorableWhitespace(self, ch: str) -> bool: ... + def characters(self, ch: str) -> bool: ... + def endElement(self, namespaceURI: str, localName: str, qName: str) -> bool: ... + def startElement(self, namespaceURI: str, localName: str, qName: str, atts: QXmlAttributes) -> bool: ... + def endPrefixMapping(self, prefix: str) -> bool: ... + def startPrefixMapping(self, prefix: str, uri: str) -> bool: ... + def endDocument(self) -> bool: ... + def startDocument(self) -> bool: ... + def setDocumentLocator(self, locator: QXmlLocator) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/QtXmlPatterns.pyi b/OTHERS/Jarvis/ools/PyQt5/QtXmlPatterns.pyi new file mode 100644 index 00000000..d24215af --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/QtXmlPatterns.pyi @@ -0,0 +1,369 @@ +# The PEP 484 type hints stub file for the QtXmlPatterns module. +# +# Generated by SIP 6.4.0 +# +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import typing + +import PyQt5.sip + +from PyQt5 import QtNetwork +from PyQt5 import QtCore + +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] + + +class QAbstractMessageHandler(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def handleMessage(self, type: QtCore.QtMsgType, description: str, identifier: QtCore.QUrl, sourceLocation: 'QSourceLocation') -> None: ... + def message(self, type: QtCore.QtMsgType, description: str, identifier: QtCore.QUrl = ..., sourceLocation: 'QSourceLocation' = ...) -> None: ... + + +class QAbstractUriResolver(QtCore.QObject): + + def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... + + def resolve(self, relative: QtCore.QUrl, baseURI: QtCore.QUrl) -> QtCore.QUrl: ... + + +class QXmlNodeModelIndex(sip.simplewrapper): + + class DocumentOrder(int): + Precedes = ... # type: QXmlNodeModelIndex.DocumentOrder + Is = ... # type: QXmlNodeModelIndex.DocumentOrder + Follows = ... # type: QXmlNodeModelIndex.DocumentOrder + + class NodeKind(int): + Attribute = ... # type: QXmlNodeModelIndex.NodeKind + Comment = ... # type: QXmlNodeModelIndex.NodeKind + Document = ... # type: QXmlNodeModelIndex.NodeKind + Element = ... # type: QXmlNodeModelIndex.NodeKind + Namespace = ... # type: QXmlNodeModelIndex.NodeKind + ProcessingInstruction = ... # type: QXmlNodeModelIndex.NodeKind + Text = ... # type: QXmlNodeModelIndex.NodeKind + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QXmlNodeModelIndex') -> None: ... + + def __hash__(self) -> int: ... + def isNull(self) -> bool: ... + def additionalData(self) -> int: ... + def model(self) -> 'QAbstractXmlNodeModel': ... + def internalPointer(self) -> typing.Any: ... + def data(self) -> int: ... + + +class QAbstractXmlNodeModel(sip.simplewrapper): + + class SimpleAxis(int): + Parent = ... # type: QAbstractXmlNodeModel.SimpleAxis + FirstChild = ... # type: QAbstractXmlNodeModel.SimpleAxis + PreviousSibling = ... # type: QAbstractXmlNodeModel.SimpleAxis + NextSibling = ... # type: QAbstractXmlNodeModel.SimpleAxis + + def __init__(self) -> None: ... + + @typing.overload + def createIndex(self, data: int) -> QXmlNodeModelIndex: ... + @typing.overload + def createIndex(self, data: int, additionalData: int) -> QXmlNodeModelIndex: ... + @typing.overload + def createIndex(self, pointer: typing.Any, additionalData: int = ...) -> QXmlNodeModelIndex: ... + def attributes(self, element: QXmlNodeModelIndex) -> typing.List[QXmlNodeModelIndex]: ... + def nextFromSimpleAxis(self, axis: 'QAbstractXmlNodeModel.SimpleAxis', origin: QXmlNodeModelIndex) -> QXmlNodeModelIndex: ... + def sourceLocation(self, index: QXmlNodeModelIndex) -> 'QSourceLocation': ... + def nodesByIdref(self, NCName: 'QXmlName') -> typing.List[QXmlNodeModelIndex]: ... + def elementById(self, NCName: 'QXmlName') -> QXmlNodeModelIndex: ... + def namespaceBindings(self, n: QXmlNodeModelIndex) -> typing.List['QXmlName']: ... + def typedValue(self, n: QXmlNodeModelIndex) -> typing.Any: ... + def stringValue(self, n: QXmlNodeModelIndex) -> str: ... + def name(self, ni: QXmlNodeModelIndex) -> 'QXmlName': ... + def root(self, n: QXmlNodeModelIndex) -> QXmlNodeModelIndex: ... + def compareOrder(self, ni1: QXmlNodeModelIndex, ni2: QXmlNodeModelIndex) -> QXmlNodeModelIndex.DocumentOrder: ... + def kind(self, ni: QXmlNodeModelIndex) -> QXmlNodeModelIndex.NodeKind: ... + def documentUri(self, ni: QXmlNodeModelIndex) -> QtCore.QUrl: ... + def baseUri(self, ni: QXmlNodeModelIndex) -> QtCore.QUrl: ... + + +class QXmlItem(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QXmlItem') -> None: ... + @typing.overload + def __init__(self, node: QXmlNodeModelIndex) -> None: ... + @typing.overload + def __init__(self, atomicValue: typing.Any) -> None: ... + + def toNodeModelIndex(self) -> QXmlNodeModelIndex: ... + def toAtomicValue(self) -> typing.Any: ... + def isAtomicValue(self) -> bool: ... + def isNode(self) -> bool: ... + def isNull(self) -> bool: ... + + +class QAbstractXmlReceiver(sip.simplewrapper): + + def __init__(self) -> None: ... + + def endOfSequence(self) -> None: ... + def startOfSequence(self) -> None: ... + def namespaceBinding(self, name: 'QXmlName') -> None: ... + def atomicValue(self, value: typing.Any) -> None: ... + def processingInstruction(self, target: 'QXmlName', value: str) -> None: ... + def endDocument(self) -> None: ... + def startDocument(self) -> None: ... + def characters(self, value: str) -> None: ... + def comment(self, value: str) -> None: ... + def attribute(self, name: 'QXmlName', value: str) -> None: ... + def endElement(self) -> None: ... + def startElement(self, name: 'QXmlName') -> None: ... + + +class QSimpleXmlNodeModel(QAbstractXmlNodeModel): + + def __init__(self, namePool: 'QXmlNamePool') -> None: ... + + def nodesByIdref(self, idref: 'QXmlName') -> typing.List[QXmlNodeModelIndex]: ... + def elementById(self, id: 'QXmlName') -> QXmlNodeModelIndex: ... + def stringValue(self, node: QXmlNodeModelIndex) -> str: ... + def namespaceBindings(self, a0: QXmlNodeModelIndex) -> typing.List['QXmlName']: ... + def namePool(self) -> 'QXmlNamePool': ... + def baseUri(self, node: QXmlNodeModelIndex) -> QtCore.QUrl: ... + + +class QSourceLocation(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QSourceLocation') -> None: ... + @typing.overload + def __init__(self, u: QtCore.QUrl, line: int = ..., column: int = ...) -> None: ... + + def __hash__(self) -> int: ... + def isNull(self) -> bool: ... + def setUri(self, newUri: QtCore.QUrl) -> None: ... + def uri(self) -> QtCore.QUrl: ... + def setLine(self, newLine: int) -> None: ... + def line(self) -> int: ... + def setColumn(self, newColumn: int) -> None: ... + def column(self) -> int: ... + + +class QXmlSerializer(QAbstractXmlReceiver): + + def __init__(self, query: 'QXmlQuery', outputDevice: QtCore.QIODevice) -> None: ... + + def codec(self) -> QtCore.QTextCodec: ... + def setCodec(self, codec: QtCore.QTextCodec) -> None: ... + def outputDevice(self) -> QtCore.QIODevice: ... + def endOfSequence(self) -> None: ... + def startOfSequence(self) -> None: ... + def endDocument(self) -> None: ... + def startDocument(self) -> None: ... + def atomicValue(self, value: typing.Any) -> None: ... + def processingInstruction(self, name: 'QXmlName', value: str) -> None: ... + def attribute(self, name: 'QXmlName', value: str) -> None: ... + def endElement(self) -> None: ... + def startElement(self, name: 'QXmlName') -> None: ... + def comment(self, value: str) -> None: ... + def characters(self, value: str) -> None: ... + def namespaceBinding(self, nb: 'QXmlName') -> None: ... + + +class QXmlFormatter(QXmlSerializer): + + def __init__(self, query: 'QXmlQuery', outputDevice: QtCore.QIODevice) -> None: ... + + def setIndentationDepth(self, depth: int) -> None: ... + def indentationDepth(self) -> int: ... + def endOfSequence(self) -> None: ... + def startOfSequence(self) -> None: ... + def endDocument(self) -> None: ... + def startDocument(self) -> None: ... + def atomicValue(self, value: typing.Any) -> None: ... + def processingInstruction(self, name: 'QXmlName', value: str) -> None: ... + def attribute(self, name: 'QXmlName', value: str) -> None: ... + def endElement(self) -> None: ... + def startElement(self, name: 'QXmlName') -> None: ... + def comment(self, value: str) -> None: ... + def characters(self, value: str) -> None: ... + + +class QXmlName(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, namePool: 'QXmlNamePool', localName: str, namespaceUri: str = ..., prefix: str = ...) -> None: ... + @typing.overload + def __init__(self, other: 'QXmlName') -> None: ... + + def __hash__(self) -> int: ... + @staticmethod + def fromClarkName(clarkName: str, namePool: 'QXmlNamePool') -> 'QXmlName': ... + @staticmethod + def isNCName(candidate: str) -> bool: ... + def isNull(self) -> bool: ... + def toClarkName(self, query: 'QXmlNamePool') -> str: ... + def localName(self, query: 'QXmlNamePool') -> str: ... + def prefix(self, query: 'QXmlNamePool') -> str: ... + def namespaceUri(self, query: 'QXmlNamePool') -> str: ... + + +class QXmlNamePool(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QXmlNamePool') -> None: ... + + +class QXmlQuery(sip.simplewrapper): + + class QueryLanguage(int): + XQuery10 = ... # type: QXmlQuery.QueryLanguage + XSLT20 = ... # type: QXmlQuery.QueryLanguage + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QXmlQuery') -> None: ... + @typing.overload + def __init__(self, np: QXmlNamePool) -> None: ... + @typing.overload + def __init__(self, queryLanguage: 'QXmlQuery.QueryLanguage', pool: QXmlNamePool = ...) -> None: ... + + def queryLanguage(self) -> 'QXmlQuery.QueryLanguage': ... + def networkAccessManager(self) -> QtNetwork.QNetworkAccessManager: ... + def setNetworkAccessManager(self, newManager: QtNetwork.QNetworkAccessManager) -> None: ... + def initialTemplateName(self) -> QXmlName: ... + @typing.overload + def setInitialTemplateName(self, name: QXmlName) -> None: ... + @typing.overload + def setInitialTemplateName(self, name: str) -> None: ... + @typing.overload + def setFocus(self, item: QXmlItem) -> None: ... + @typing.overload + def setFocus(self, documentURI: QtCore.QUrl) -> bool: ... + @typing.overload + def setFocus(self, document: QtCore.QIODevice) -> bool: ... + @typing.overload + def setFocus(self, focus: str) -> bool: ... + def uriResolver(self) -> QAbstractUriResolver: ... + def setUriResolver(self, resolver: QAbstractUriResolver) -> None: ... + def evaluateToString(self) -> str: ... + def evaluateToStringList(self) -> typing.List[str]: ... + @typing.overload + def evaluateTo(self, result: 'QXmlResultItems') -> None: ... + @typing.overload + def evaluateTo(self, callback: QAbstractXmlReceiver) -> bool: ... + @typing.overload + def evaluateTo(self, target: QtCore.QIODevice) -> bool: ... + def isValid(self) -> bool: ... + @typing.overload + def bindVariable(self, name: QXmlName, value: QXmlItem) -> None: ... + @typing.overload + def bindVariable(self, name: QXmlName, a1: QtCore.QIODevice) -> None: ... + @typing.overload + def bindVariable(self, name: QXmlName, query: 'QXmlQuery') -> None: ... + @typing.overload + def bindVariable(self, localName: str, value: QXmlItem) -> None: ... + @typing.overload + def bindVariable(self, localName: str, a1: QtCore.QIODevice) -> None: ... + @typing.overload + def bindVariable(self, localName: str, query: 'QXmlQuery') -> None: ... + def namePool(self) -> QXmlNamePool: ... + @typing.overload + def setQuery(self, sourceCode: str, documentUri: QtCore.QUrl = ...) -> None: ... + @typing.overload + def setQuery(self, sourceCode: QtCore.QIODevice, documentUri: QtCore.QUrl = ...) -> None: ... + @typing.overload + def setQuery(self, queryURI: QtCore.QUrl, baseUri: QtCore.QUrl = ...) -> None: ... + def messageHandler(self) -> QAbstractMessageHandler: ... + def setMessageHandler(self, messageHandler: QAbstractMessageHandler) -> None: ... + + +class QXmlResultItems(sip.simplewrapper): + + def __init__(self) -> None: ... + + def current(self) -> QXmlItem: ... + def next(self) -> QXmlItem: ... + def hasError(self) -> bool: ... + + +class QXmlSchema(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, other: 'QXmlSchema') -> None: ... + + def networkAccessManager(self) -> QtNetwork.QNetworkAccessManager: ... + def setNetworkAccessManager(self, networkmanager: QtNetwork.QNetworkAccessManager) -> None: ... + def uriResolver(self) -> QAbstractUriResolver: ... + def setUriResolver(self, resolver: QAbstractUriResolver) -> None: ... + def messageHandler(self) -> QAbstractMessageHandler: ... + def setMessageHandler(self, handler: QAbstractMessageHandler) -> None: ... + def documentUri(self) -> QtCore.QUrl: ... + def namePool(self) -> QXmlNamePool: ... + def isValid(self) -> bool: ... + @typing.overload + def load(self, source: QtCore.QUrl) -> bool: ... + @typing.overload + def load(self, source: QtCore.QIODevice, documentUri: QtCore.QUrl = ...) -> bool: ... + @typing.overload + def load(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray], documentUri: QtCore.QUrl = ...) -> bool: ... + + +class QXmlSchemaValidator(sip.simplewrapper): + + @typing.overload + def __init__(self) -> None: ... + @typing.overload + def __init__(self, schema: QXmlSchema) -> None: ... + + def networkAccessManager(self) -> QtNetwork.QNetworkAccessManager: ... + def setNetworkAccessManager(self, networkmanager: QtNetwork.QNetworkAccessManager) -> None: ... + def uriResolver(self) -> QAbstractUriResolver: ... + def setUriResolver(self, resolver: QAbstractUriResolver) -> None: ... + def messageHandler(self) -> QAbstractMessageHandler: ... + def setMessageHandler(self, handler: QAbstractMessageHandler) -> None: ... + def schema(self) -> QXmlSchema: ... + def namePool(self) -> QXmlNamePool: ... + @typing.overload + def validate(self, source: QtCore.QUrl) -> bool: ... + @typing.overload + def validate(self, source: QtCore.QIODevice, documentUri: QtCore.QUrl = ...) -> bool: ... + @typing.overload + def validate(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray], documentUri: QtCore.QUrl = ...) -> bool: ... + def setSchema(self, schema: QXmlSchema) -> None: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/__init__.py b/OTHERS/Jarvis/ools/PyQt5/__init__.py new file mode 100644 index 00000000..7201c22f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/__init__.py @@ -0,0 +1,50 @@ +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +# Support PyQt5 sub-packages that have been created by setuptools. +__path__ = __import__('pkgutil').extend_path(__path__, __name__) + + +def find_qt(): + import os, sys + + qtcore_dll = '\\Qt5Core.dll' + + dll_dir = os.path.dirname(sys.executable) + if not os.path.isfile(dll_dir + qtcore_dll): + path = os.environ['PATH'] + + dll_dir = os.path.dirname(__file__) + '\\Qt5\\bin' + if os.path.isfile(dll_dir + qtcore_dll): + path = dll_dir + ';' + path + os.environ['PATH'] = path + else: + for dll_dir in path.split(';'): + if os.path.isfile(dll_dir + qtcore_dll): + break + else: + return + + try: + os.add_dll_directory(dll_dir) + except AttributeError: + pass + + +find_qt() +del find_qt diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/QAxContainer.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/QAxContainer.toml new file mode 100644 index 00000000..2a200eec --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/QAxContainer.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QAxContainer. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/QAxContainermod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/QAxContainermod.sip new file mode 100644 index 00000000..a0848805 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/QAxContainermod.sip @@ -0,0 +1,48 @@ +// This is the SIP interface definition for the QAxContainer module of PyQt v5. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QAxContainer, keyword_arguments="Optional", use_limited_api=True) + +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qaxbase.sip +%Include qaxobject.sip +%Include qaxwidget.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxbase.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxbase.sip new file mode 100644 index 00000000..2f8044fa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxbase.sip @@ -0,0 +1,158 @@ +// This is the SIP interface definition for QAxBase. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAxBase /Abstract, PyQtNoQMetaObject/ +{ +%TypeHeaderCode +#include +%End + +public: + //QAxBase(IUnknown *iface = 0); + virtual ~QAxBase(); + + QString control() const; + + //long queryInterface(const QUuid &, void **) const; + + // Note that the order of these overloads is significant. + QVariant dynamicCall(const char *, QList & /GetWrapper/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipRes = new QVariant(sipCpp->dynamicCall(a0, *a1)); + Py_END_ALLOW_THREADS + + // Update the input list with the (possibly) new values. + for (Py_ssize_t i = 0; i < PyList_Size(a1Wrapper); ++i) + { + QVariant *v = new QVariant(a1->at(i)); + PyObject *v_obj = sipConvertFromNewType(v, sipType_QVariant, NULL); + + if (!v_obj) + { + delete v; + sipIsErr = 1; + break; + } + + if (PyList_SetItem(a1Wrapper, i, v_obj) < 0) + { + Py_DECREF(v_obj); + sipIsErr = 1; + break; + } + } +%End + + QVariant dynamicCall(const char *, + const QVariant &value1 = QVariant(), + const QVariant &value2 = QVariant(), + const QVariant &value3 = QVariant(), + const QVariant &value4 = QVariant(), + const QVariant &value5 = QVariant(), + const QVariant &value6 = QVariant(), + const QVariant &value7 = QVariant(), + const QVariant &value8 = QVariant()); + + // Note that the order of these overloads is significant. + QAxObject *querySubObject(const char *, QList & /GetWrapper/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->querySubObject(a0, *a1); + Py_END_ALLOW_THREADS + + // Update the input list with the (possibly) new values. + for (Py_ssize_t i = 0; i < PyList_Size(a1Wrapper); ++i) + { + QVariant *v = new QVariant(a1->at(i)); + PyObject *v_obj = sipConvertFromNewType(v, sipType_QVariant, NULL); + + if (!v_obj) + { + delete v; + sipIsErr = 1; + break; + } + + if (PyList_SetItem(a1Wrapper, i, v_obj) < 0) + { + Py_DECREF(v_obj); + sipIsErr = 1; + break; + } + } +%End + + QAxObject *querySubObject(const char *, + const QVariant &value1 = QVariant(), + const QVariant &value2 = QVariant(), + const QVariant &value3 = QVariant(), + const QVariant &value4 = QVariant(), + const QVariant &value5 = QVariant(), + const QVariant &value6 = QVariant(), + const QVariant &value7 = QVariant(), + const QVariant &value8 = QVariant()); + + // SIP has a bug triggered by a template definition being the subject of + // multiple typedefs. It only really matters when building everything as + // one big module (the code that implements the type is duplicated in + // other cases). Until it is fixed we just avoid the problematic typedef. + //typedef QMap PropertyBag; + //PropertyBag propertyBag() const; + //void setPropertyBag(const PropertyBag &); + QVariantMap propertyBag() const; + void setPropertyBag(const QVariantMap &); + + QString generateDocumentation(); + + virtual bool propertyWritable(const char *) const; + virtual void setPropertyWritable(const char *, bool); + + bool isNull() const; + + QStringList verbs() const; + + QVariant asVariant() const; + +signals: + void signal(const QString &, int, void *); + void propertyChanged(const QString &); + void exception(int, const QString &, const QString &, const QString &); + +public: + virtual void clear(); + bool setControl(const QString &); + + void disableMetaObject(); + void disableClassInfo(); + void disableEventSink(); + +%If (Qt_5_13_0 -) + unsigned long classContext() const; + void setClassContext(unsigned long classContext); +%End + +protected: + //virtual bool initialize(IUnknown** ptr); + //bool initializeRemote(IUnknown** ptr); + //bool initializeLicensed(IUnknown** ptr); + //bool initializeActive(IUnknown** ptr); + //bool initializeFromFile(IUnknown** ptr); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxobject.sip new file mode 100644 index 00000000..6cbfbb04 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxobject.sip @@ -0,0 +1,66 @@ +// This is the SIP interface definition for QAxObject. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAxObject : QObject, QAxBase /PyQtNoQMetaObject/ +{ +%TypeHeaderCode +#include +%End + +public: + QAxObject(QObject *parent /TransferThis/ = 0); + QAxObject(const QString &, QObject *parent /TransferThis/ = 0); + //QAxObject(IUnknown *, QObject *parent /TransferThis/ = 0); + ~QAxObject(); + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QAxObject, &sipType_QAxObject, 1, -1}, + {sipName_QAxWidget, &sipType_QAxWidget, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + + bool doVerb(const QString &); + +protected: + void connectNotify(const QMetaMethod &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxwidget.sip new file mode 100644 index 00000000..2cb16723 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QAxContainer/qaxwidget.sip @@ -0,0 +1,52 @@ +// This is the SIP interface definition for QAxWidget. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAxWidget : QWidget, QAxBase /PyQtNoQMetaObject/ +{ +%TypeHeaderCode +#include +%End + +public: + QAxWidget(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0); + QAxWidget(const QString &, QWidget *parent /TransferThis/ = 0, + Qt::WindowFlags flags = 0); + //QAxWidget(IUnknown *, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0); + ~QAxWidget(); + + void clear(); + bool doVerb(const QString &); + + QSize sizeHint() const; + QSize minimumSizeHint() const; + + //virtual QaxAggregated *createAggregate(); + +protected: + //bool initialize(IUnknown **); + virtual bool createHostWindow(bool); + + void changeEvent(QEvent *); + void resizeEvent(QResizeEvent *); + + virtual bool translateKeyEvent(int,int) const; + + void connectNotify(const QMetaMethod &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/QtBluetooth.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/QtBluetooth.toml new file mode 100644 index 00000000..6e6ffa4b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/QtBluetooth.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtBluetooth. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/QtBluetoothmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/QtBluetoothmod.sip new file mode 100644 index 00000000..46b612ee --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/QtBluetoothmod.sip @@ -0,0 +1,71 @@ +// QtBluetoothmod.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtBluetooth, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%Include qbluetooth.sip +%Include qbluetoothaddress.sip +%Include qbluetoothdevicediscoveryagent.sip +%Include qbluetoothdeviceinfo.sip +%Include qbluetoothhostinfo.sip +%Include qbluetoothlocaldevice.sip +%Include qbluetoothserver.sip +%Include qbluetoothservicediscoveryagent.sip +%Include qbluetoothserviceinfo.sip +%Include qbluetoothsocket.sip +%Include qbluetoothtransfermanager.sip +%Include qbluetoothtransferreply.sip +%Include qbluetoothtransferrequest.sip +%Include qbluetoothuuid.sip +%Include qlowenergyadvertisingdata.sip +%Include qlowenergyadvertisingparameters.sip +%Include qlowenergycharacteristic.sip +%Include qlowenergycharacteristicdata.sip +%Include qlowenergyconnectionparameters.sip +%Include qlowenergycontroller.sip +%Include qlowenergydescriptor.sip +%Include qlowenergydescriptordata.sip +%Include qlowenergyservice.sip +%Include qlowenergyservicedata.sip +%Include qpybluetooth_qlist.sip +%Include qpybluetooth_quint128.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetooth.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetooth.sip new file mode 100644 index 00000000..d994e8ab --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetooth.sip @@ -0,0 +1,63 @@ +// qbluetooth.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +namespace QBluetooth +{ +%TypeHeaderCode +#include +%End + + enum Security + { + NoSecurity, + Authorization, + Authentication, + Encryption, + Secure, + }; + + typedef QFlags SecurityFlags; + QFlags operator|(QBluetooth::Security f1, QFlags f2); +%If (Qt_5_7_0 -) + + enum AttAccessConstraint + { + AttAuthorizationRequired, + AttAuthenticationRequired, + AttEncryptionRequired, + }; + +%End +%If (Qt_5_7_0 -) + typedef QFlags AttAccessConstraints; +%End +%If (Qt_5_7_0 -) + QFlags operator|(QBluetooth::AttAccessConstraint f1, QFlags f2); +%End +}; + +%End +%If (Qt_5_4_0 -) +typedef quint16 QLowEnergyHandle; +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothaddress.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothaddress.sip new file mode 100644 index 00000000..3b340850 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothaddress.sip @@ -0,0 +1,46 @@ +// qbluetoothaddress.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothAddress +{ +%TypeHeaderCode +#include +%End + +public: + QBluetoothAddress(); + explicit QBluetoothAddress(quint64 address); + explicit QBluetoothAddress(const QString &address); + QBluetoothAddress(const QBluetoothAddress &other); + ~QBluetoothAddress(); + bool isNull() const; + void clear(); + bool operator<(const QBluetoothAddress &other) const; + bool operator==(const QBluetoothAddress &other) const; + bool operator!=(const QBluetoothAddress &other) const; + quint64 toUInt64() const; + QString toString() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothdevicediscoveryagent.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothdevicediscoveryagent.sip new file mode 100644 index 00000000..7c26086c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothdevicediscoveryagent.sip @@ -0,0 +1,111 @@ +// qbluetoothdevicediscoveryagent.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothDeviceDiscoveryAgent : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + InputOutputError, + PoweredOffError, +%If (Qt_5_3_0 -) + InvalidBluetoothAdapterError, +%End +%If (Qt_5_5_0 -) + UnsupportedPlatformError, +%End +%If (Qt_5_8_0 -) + UnsupportedDiscoveryMethod, +%End + UnknownError, + }; + + enum InquiryType + { + GeneralUnlimitedInquiry, + LimitedInquiry, + }; + +%If (Qt_5_6_1 -) + explicit QBluetoothDeviceDiscoveryAgent(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QBluetoothDeviceDiscoveryAgent(QObject *parent /TransferThis/ = 0); +%End + QBluetoothDeviceDiscoveryAgent(const QBluetoothAddress &deviceAdapter, QObject *parent /TransferThis/ = 0); + virtual ~QBluetoothDeviceDiscoveryAgent(); + QBluetoothDeviceDiscoveryAgent::InquiryType inquiryType() const; + void setInquiryType(QBluetoothDeviceDiscoveryAgent::InquiryType type); + bool isActive() const; + QBluetoothDeviceDiscoveryAgent::Error error() const; + QString errorString() const; + QList discoveredDevices() const; + +public slots: + void start(); +%If (Qt_5_8_0 -) + void start(QBluetoothDeviceDiscoveryAgent::DiscoveryMethods method); +%End + void stop(); + +signals: + void deviceDiscovered(const QBluetoothDeviceInfo &info); + void finished(); + void error(QBluetoothDeviceDiscoveryAgent::Error error); + void canceled(); +%If (Qt_5_12_0 -) + void deviceUpdated(const QBluetoothDeviceInfo &info, QBluetoothDeviceInfo::Fields updatedFields); +%End + +public: +%If (Qt_5_8_0 -) + + enum DiscoveryMethod + { + }; + +%End +%If (Qt_5_8_0 -) + typedef QFlags DiscoveryMethods; +%End +%If (Qt_5_8_0 -) + void setLowEnergyDiscoveryTimeout(int msTimeout); +%End +%If (Qt_5_8_0 -) + int lowEnergyDiscoveryTimeout() const; +%End +%If (Qt_5_8_0 -) + static QBluetoothDeviceDiscoveryAgent::DiscoveryMethods supportedDiscoveryMethods(); +%End +}; + +%End +%If (Qt_5_8_0 -) +QFlags operator|(QBluetoothDeviceDiscoveryAgent::DiscoveryMethod f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothdeviceinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothdeviceinfo.sip new file mode 100644 index 00000000..10ec0fa5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothdeviceinfo.sip @@ -0,0 +1,272 @@ +// qbluetoothdeviceinfo.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothDeviceInfo +{ +%TypeHeaderCode +#include +%End + +public: + enum MajorDeviceClass + { + MiscellaneousDevice, + ComputerDevice, + PhoneDevice, + LANAccessDevice, +%If (Qt_5_13_0 -) + NetworkDevice, +%End + AudioVideoDevice, + PeripheralDevice, + ImagingDevice, + WearableDevice, + ToyDevice, + HealthDevice, + UncategorizedDevice, + }; + + enum MinorMiscellaneousClass + { + UncategorizedMiscellaneous, + }; + + enum MinorComputerClass + { + UncategorizedComputer, + DesktopComputer, + ServerComputer, + LaptopComputer, + HandheldClamShellComputer, + HandheldComputer, + WearableComputer, + }; + + enum MinorPhoneClass + { + UncategorizedPhone, + CellularPhone, + CordlessPhone, + SmartPhone, + WiredModemOrVoiceGatewayPhone, + CommonIsdnAccessPhone, + }; + + enum MinorNetworkClass + { + NetworkFullService, + NetworkLoadFactorOne, + NetworkLoadFactorTwo, + NetworkLoadFactorThree, + NetworkLoadFactorFour, + NetworkLoadFactorFive, + NetworkLoadFactorSix, + NetworkNoService, + }; + + enum MinorAudioVideoClass + { + UncategorizedAudioVideoDevice, + WearableHeadsetDevice, + HandsFreeDevice, + Microphone, + Loudspeaker, + Headphones, + PortableAudioDevice, + CarAudio, + SetTopBox, + HiFiAudioDevice, + Vcr, + VideoCamera, + Camcorder, + VideoMonitor, + VideoDisplayAndLoudspeaker, + VideoConferencing, + GamingDevice, + }; + + enum MinorPeripheralClass + { + UncategorizedPeripheral, + KeyboardPeripheral, + PointingDevicePeripheral, + KeyboardWithPointingDevicePeripheral, + JoystickPeripheral, + GamepadPeripheral, + RemoteControlPeripheral, + SensingDevicePeripheral, + DigitizerTabletPeripheral, + CardReaderPeripheral, + }; + + enum MinorImagingClass + { + UncategorizedImagingDevice, + ImageDisplay, + ImageCamera, + ImageScanner, + ImagePrinter, + }; + + enum MinorWearableClass + { + UncategorizedWearableDevice, + WearableWristWatch, + WearablePager, + WearableJacket, + WearableHelmet, + WearableGlasses, + }; + + enum MinorToyClass + { + UncategorizedToy, + ToyRobot, + ToyVehicle, + ToyDoll, + ToyController, + ToyGame, + }; + + enum MinorHealthClass + { + UncategorizedHealthDevice, + HealthBloodPressureMonitor, + HealthThermometer, + HealthWeightScale, + HealthGlucoseMeter, + HealthPulseOximeter, + HealthDataDisplay, + HealthStepCounter, + }; + + enum ServiceClass + { + NoService, + PositioningService, + NetworkingService, + RenderingService, + CapturingService, + ObjectTransferService, + AudioService, + TelephonyService, + InformationService, + AllServices, + }; + + typedef QFlags ServiceClasses; + + enum DataCompleteness + { + DataComplete, + DataIncomplete, + DataUnavailable, + }; + + QBluetoothDeviceInfo(); + QBluetoothDeviceInfo(const QBluetoothAddress &address, const QString &name, quint32 classOfDevice); +%If (Qt_5_5_0 -) + QBluetoothDeviceInfo(const QBluetoothUuid &uuid, const QString &name, quint32 classOfDevice); +%End + QBluetoothDeviceInfo(const QBluetoothDeviceInfo &other); + ~QBluetoothDeviceInfo(); + bool isValid() const; + bool isCached() const; + void setCached(bool cached); + bool operator==(const QBluetoothDeviceInfo &other) const; + bool operator!=(const QBluetoothDeviceInfo &other) const; + QBluetoothAddress address() const; + QString name() const; + QBluetoothDeviceInfo::ServiceClasses serviceClasses() const; + QBluetoothDeviceInfo::MajorDeviceClass majorDeviceClass() const; + quint8 minorDeviceClass() const; + qint16 rssi() const; + void setRssi(qint16 signal); + void setServiceUuids(const QList &uuids, QBluetoothDeviceInfo::DataCompleteness completeness); +%If (Qt_5_13_0 -) + void setServiceUuids(const QVector &uuids); +%End + QList serviceUuids(QBluetoothDeviceInfo::DataCompleteness *completeness /Out/ = 0) const; + QBluetoothDeviceInfo::DataCompleteness serviceUuidsCompleteness() const; +%If (Qt_5_4_0 -) + + enum CoreConfiguration + { + UnknownCoreConfiguration, + LowEnergyCoreConfiguration, + BaseRateCoreConfiguration, + BaseRateAndLowEnergyCoreConfiguration, + }; + +%End +%If (Qt_5_4_0 -) + typedef QFlags CoreConfigurations; +%End +%If (Qt_5_4_0 -) + void setCoreConfigurations(QBluetoothDeviceInfo::CoreConfigurations coreConfigs); +%End +%If (Qt_5_4_0 -) + QBluetoothDeviceInfo::CoreConfigurations coreConfigurations() const; +%End +%If (Qt_5_5_0 -) + void setDeviceUuid(const QBluetoothUuid &uuid); +%End +%If (Qt_5_5_0 -) + QBluetoothUuid deviceUuid() const; +%End +%If (Qt_5_12_0 -) + + enum class Field + { + None /PyName=None_/, + RSSI, + ManufacturerData, + All, + }; + +%End +%If (Qt_5_12_0 -) + typedef QFlags Fields; +%End +%If (Qt_5_12_0 -) + QVector manufacturerIds() const; +%End +%If (Qt_5_12_0 -) + QByteArray manufacturerData(quint16 manufacturerId) const; +%End +%If (Qt_5_12_0 -) + bool setManufacturerData(quint16 manufacturerId, const QByteArray &data); +%End +%If (Qt_5_12_0 -) + QHash manufacturerData() const; +%End +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QBluetoothDeviceInfo::CoreConfiguration f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QBluetoothDeviceInfo::ServiceClass f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothhostinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothhostinfo.sip new file mode 100644 index 00000000..6ba42c56 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothhostinfo.sip @@ -0,0 +1,47 @@ +// qbluetoothhostinfo.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothHostInfo +{ +%TypeHeaderCode +#include +%End + +public: + QBluetoothHostInfo(); + QBluetoothHostInfo(const QBluetoothHostInfo &other); + ~QBluetoothHostInfo(); + QBluetoothAddress address() const; + void setAddress(const QBluetoothAddress &address); + QString name() const; + void setName(const QString &name); +%If (Qt_5_5_0 -) + bool operator==(const QBluetoothHostInfo &other) const; +%End +%If (Qt_5_5_0 -) + bool operator!=(const QBluetoothHostInfo &other) const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothlocaldevice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothlocaldevice.sip new file mode 100644 index 00000000..902f5145 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothlocaldevice.sip @@ -0,0 +1,92 @@ +// qbluetoothlocaldevice.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothLocalDevice : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Pairing + { + Unpaired, + Paired, + AuthorizedPaired, + }; + + enum HostMode + { + HostPoweredOff, + HostConnectable, + HostDiscoverable, + HostDiscoverableLimitedInquiry, + }; + + enum Error + { + NoError, + PairingError, + UnknownError, + }; + +%If (Qt_5_6_1 -) + explicit QBluetoothLocalDevice(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QBluetoothLocalDevice(QObject *parent /TransferThis/ = 0); +%End + QBluetoothLocalDevice(const QBluetoothAddress &address, QObject *parent /TransferThis/ = 0); + virtual ~QBluetoothLocalDevice(); + bool isValid() const; + void requestPairing(const QBluetoothAddress &address, QBluetoothLocalDevice::Pairing pairing); + QBluetoothLocalDevice::Pairing pairingStatus(const QBluetoothAddress &address) const; + void setHostMode(QBluetoothLocalDevice::HostMode mode); + QBluetoothLocalDevice::HostMode hostMode() const; + void powerOn(); + QString name() const; + QBluetoothAddress address() const; + static QList allDevices(); +%If (Qt_5_3_0 -) + QList connectedDevices() const; +%End + +public slots: + void pairingConfirmation(bool confirmation); + +signals: + void hostModeStateChanged(QBluetoothLocalDevice::HostMode state); + void pairingFinished(const QBluetoothAddress &address, QBluetoothLocalDevice::Pairing pairing); + void pairingDisplayPinCode(const QBluetoothAddress &address, QString pin); + void pairingDisplayConfirmation(const QBluetoothAddress &address, QString pin); + void error(QBluetoothLocalDevice::Error error); +%If (Qt_5_3_0 -) + void deviceConnected(const QBluetoothAddress &address); +%End +%If (Qt_5_3_0 -) + void deviceDisconnected(const QBluetoothAddress &address); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothserver.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothserver.sip new file mode 100644 index 00000000..96993c3b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothserver.sip @@ -0,0 +1,108 @@ +// qbluetoothserver.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothServer : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QBluetoothDeviceDiscoveryAgent, &sipType_QBluetoothDeviceDiscoveryAgent, -1, 1}, + {sipName_QBluetoothServiceDiscoveryAgent, &sipType_QBluetoothServiceDiscoveryAgent, -1, 2}, + #if QT_VERSION >= 0x050400 + {sipName_QLowEnergyService, &sipType_QLowEnergyService, -1, 3}, + #else + {0, 0, -1, 3}, + #endif + {sipName_QBluetoothTransferReply, &sipType_QBluetoothTransferReply, -1, 4}, + {sipName_QBluetoothTransferManager, &sipType_QBluetoothTransferManager, -1, 5}, + {sipName_QBluetoothServer, &sipType_QBluetoothServer, -1, 6}, + #if QT_VERSION >= 0x050400 + {sipName_QLowEnergyController, &sipType_QLowEnergyController, -1, 7}, + #else + {0, 0, -1, 7}, + #endif + {sipName_QBluetoothSocket, &sipType_QBluetoothSocket, -1, 8}, + {sipName_QBluetoothLocalDevice, &sipType_QBluetoothLocalDevice, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum Error + { + NoError, + UnknownError, + PoweredOffError, + InputOutputError, + ServiceAlreadyRegisteredError, + UnsupportedProtocolError, + }; + + QBluetoothServer(QBluetoothServiceInfo::Protocol serverType, QObject *parent /TransferThis/ = 0); + virtual ~QBluetoothServer(); + void close() /ReleaseGIL/; + bool listen(const QBluetoothAddress &address = QBluetoothAddress(), quint16 port = 0) /ReleaseGIL/; + QBluetoothServiceInfo listen(const QBluetoothUuid &uuid, const QString &serviceName = QString()) /ReleaseGIL/; + bool isListening() const; + void setMaxPendingConnections(int numConnections); + int maxPendingConnections() const; + bool hasPendingConnections() const; + QBluetoothSocket *nextPendingConnection() /Factory/; + QBluetoothAddress serverAddress() const; + quint16 serverPort() const; + void setSecurityFlags(QBluetooth::SecurityFlags security); + QBluetooth::SecurityFlags securityFlags() const; + QBluetoothServiceInfo::Protocol serverType() const; + QBluetoothServer::Error error() const; + +signals: + void newConnection(); + void error(QBluetoothServer::Error); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothservicediscoveryagent.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothservicediscoveryagent.sip new file mode 100644 index 00000000..a54e89f0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothservicediscoveryagent.sip @@ -0,0 +1,79 @@ +// qbluetoothservicediscoveryagent.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothServiceDiscoveryAgent : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + InputOutputError, + PoweredOffError, +%If (Qt_5_3_0 -) + InvalidBluetoothAdapterError, +%End + UnknownError, + }; + + enum DiscoveryMode + { + MinimalDiscovery, + FullDiscovery, + }; + +%If (Qt_5_6_1 -) + explicit QBluetoothServiceDiscoveryAgent(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QBluetoothServiceDiscoveryAgent(QObject *parent /TransferThis/ = 0); +%End + QBluetoothServiceDiscoveryAgent(const QBluetoothAddress &deviceAdapter, QObject *parent /TransferThis/ = 0); + virtual ~QBluetoothServiceDiscoveryAgent(); + bool isActive() const; + QBluetoothServiceDiscoveryAgent::Error error() const; + QString errorString() const; + QList discoveredServices() const; + void setUuidFilter(const QList &uuids); + void setUuidFilter(const QBluetoothUuid &uuid); + QList uuidFilter() const; + bool setRemoteAddress(const QBluetoothAddress &address); + QBluetoothAddress remoteAddress() const; + +public slots: + void start(QBluetoothServiceDiscoveryAgent::DiscoveryMode mode = QBluetoothServiceDiscoveryAgent::MinimalDiscovery); + void stop(); + void clear(); + +signals: + void serviceDiscovered(const QBluetoothServiceInfo &info); + void finished(); + void canceled(); + void error(QBluetoothServiceDiscoveryAgent::Error error); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothserviceinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothserviceinfo.sip new file mode 100644 index 00000000..f66eedd4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothserviceinfo.sip @@ -0,0 +1,95 @@ +// qbluetoothserviceinfo.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothServiceInfo +{ +%TypeHeaderCode +#include +%End + +public: + enum AttributeId + { + ServiceRecordHandle, + ServiceClassIds, + ServiceRecordState, + ServiceId, + ProtocolDescriptorList, + BrowseGroupList, + LanguageBaseAttributeIdList, + ServiceInfoTimeToLive, + ServiceAvailability, + BluetoothProfileDescriptorList, + DocumentationUrl, + ClientExecutableUrl, + IconUrl, + AdditionalProtocolDescriptorList, + PrimaryLanguageBase, + ServiceName, + ServiceDescription, + ServiceProvider, + }; + + enum Protocol + { + UnknownProtocol, + L2capProtocol, + RfcommProtocol, + }; + + QBluetoothServiceInfo(); + QBluetoothServiceInfo(const QBluetoothServiceInfo &other); + ~QBluetoothServiceInfo(); + bool isValid() const; + bool isComplete() const; + void setDevice(const QBluetoothDeviceInfo &info); + QBluetoothDeviceInfo device() const; + QVariant attribute(quint16 attributeId) const; + QList attributes() const; + bool contains(quint16 attributeId) const; + void removeAttribute(quint16 attributeId); + QBluetoothServiceInfo::Protocol socketProtocol() const; + int protocolServiceMultiplexer() const; + int serverChannel() const; + QBluetoothServiceInfo::Sequence protocolDescriptor(QBluetoothUuid::ProtocolUuid protocol) const; + bool isRegistered() const; + bool registerService(const QBluetoothAddress &localAdapter = QBluetoothAddress()); + bool unregisterService(); + void setAttribute(quint16 attributeId, const QBluetoothUuid &value); + void setAttribute(quint16 attributeId, const QBluetoothServiceInfo::Sequence &value); + void setAttribute(quint16 attributeId, const QVariant &value); + void setServiceName(const QString &name); + QString serviceName() const; + void setServiceDescription(const QString &description); + QString serviceDescription() const; + void setServiceProvider(const QString &provider); + QString serviceProvider() const; + void setServiceAvailability(quint8 availability); + quint8 serviceAvailability() const; + void setServiceUuid(const QBluetoothUuid &uuid); + QBluetoothUuid serviceUuid() const; + QList serviceClassUuids() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothsocket.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothsocket.sip new file mode 100644 index 00000000..f42a5c1c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothsocket.sip @@ -0,0 +1,149 @@ +// qbluetoothsocket.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothSocket : QIODevice +{ +%TypeHeaderCode +#include +%End + +public: + enum SocketState + { + UnconnectedState, + ServiceLookupState, + ConnectingState, + ConnectedState, + BoundState, + ClosingState, + ListeningState, + }; + + enum SocketError + { + NoSocketError, + UnknownSocketError, + HostNotFoundError, + ServiceNotFoundError, + NetworkError, + UnsupportedProtocolError, +%If (Qt_5_3_0 -) + OperationError, +%End +%If (Qt_5_10_0 -) + RemoteHostClosedError, +%End + }; + + QBluetoothSocket(QBluetoothServiceInfo::Protocol socketType, QObject *parent /TransferThis/ = 0); +%If (Qt_5_6_1 -) + explicit QBluetoothSocket(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QBluetoothSocket(QObject *parent /TransferThis/ = 0); +%End + virtual ~QBluetoothSocket(); + void abort(); + virtual void close() /ReleaseGIL/; + virtual bool isSequential() const; + virtual qint64 bytesAvailable() const; + virtual qint64 bytesToWrite() const; + virtual bool canReadLine() const; + void connectToService(const QBluetoothServiceInfo &service, QIODevice::OpenMode mode = QIODevice::ReadWrite) /ReleaseGIL/; + void connectToService(const QBluetoothAddress &address, const QBluetoothUuid &uuid, QIODevice::OpenMode mode = QIODevice::ReadWrite) /ReleaseGIL/; + void connectToService(const QBluetoothAddress &address, quint16 port, QIODevice::OpenMode mode = QIODevice::ReadWrite) /ReleaseGIL/; + void disconnectFromService() /ReleaseGIL/; + QString localName() const; + QBluetoothAddress localAddress() const; + quint16 localPort() const; + QString peerName() const; + QBluetoothAddress peerAddress() const; + quint16 peerPort() const; + bool setSocketDescriptor(int socketDescriptor, QBluetoothServiceInfo::Protocol socketType, QBluetoothSocket::SocketState state = QBluetoothSocket::ConnectedState, QIODevice::OpenMode mode = QIODevice::ReadWrite); + int socketDescriptor() const; + QBluetoothServiceInfo::Protocol socketType() const; + QBluetoothSocket::SocketState state() const; + QBluetoothSocket::SocketError error() const; + QString errorString() const; + +signals: + void connected(); + void disconnected(); + void error(QBluetoothSocket::SocketError error); + void stateChanged(QBluetoothSocket::SocketState state); + +protected: + virtual SIP_PYOBJECT readData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxSize)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QBluetoothSocket::readData(s, a0) : sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual qint64 writeData(const char *data /Array/, qint64 maxSize /ArraySize/) /ReleaseGIL/; + void setSocketState(QBluetoothSocket::SocketState state); + void setSocketError(QBluetoothSocket::SocketError error); + void doDeviceDiscovery(const QBluetoothServiceInfo &service, QIODevice::OpenMode openMode); + +public: +%If (Qt_5_6_0 -) + void setPreferredSecurityFlags(QBluetooth::SecurityFlags flags); +%End +%If (Qt_5_6_0 -) + QBluetooth::SecurityFlags preferredSecurityFlags() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransfermanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransfermanager.sip new file mode 100644 index 00000000..4d388c85 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransfermanager.sip @@ -0,0 +1,40 @@ +// qbluetoothtransfermanager.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothTransferManager : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QBluetoothTransferManager(QObject *parent /TransferThis/ = 0); + virtual ~QBluetoothTransferManager(); + QBluetoothTransferReply *put(const QBluetoothTransferRequest &request, QIODevice *data) /Transfer/; + +signals: + void finished(QBluetoothTransferReply *reply); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransferreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransferreply.sip new file mode 100644 index 00000000..50690c60 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransferreply.sip @@ -0,0 +1,74 @@ +// qbluetoothtransferreply.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothTransferReply : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum TransferError + { + NoError, + UnknownError, + FileNotFoundError, + HostNotFoundError, + UserCanceledTransferError, +%If (Qt_5_3_0 -) + IODeviceNotReadableError, +%End +%If (Qt_5_3_0 -) + ResourceBusyError, +%End +%If (Qt_5_4_0 -) + SessionError, +%End + }; + + virtual ~QBluetoothTransferReply(); + virtual bool isFinished() const = 0; + virtual bool isRunning() const = 0; + QBluetoothTransferManager *manager() const; + virtual QBluetoothTransferReply::TransferError error() const = 0; + virtual QString errorString() const = 0; + QBluetoothTransferRequest request() const; + +public slots: + void abort(); + +signals: + void finished(QBluetoothTransferReply *); + void transferProgress(qint64 bytesTransferred, qint64 bytesTotal); +%If (Qt_5_4_0 -) + void error(QBluetoothTransferReply::TransferError lastError); +%End + +protected: + explicit QBluetoothTransferReply(QObject *parent /TransferThis/ = 0); + void setManager(QBluetoothTransferManager *manager); + void setRequest(const QBluetoothTransferRequest &request); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransferrequest.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransferrequest.sip new file mode 100644 index 00000000..1c0ecb4d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothtransferrequest.sip @@ -0,0 +1,51 @@ +// qbluetoothtransferrequest.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothTransferRequest +{ +%TypeHeaderCode +#include +%End + +public: + enum Attribute + { + DescriptionAttribute, + TimeAttribute, + TypeAttribute, + LengthAttribute, + NameAttribute, + }; + + explicit QBluetoothTransferRequest(const QBluetoothAddress &address = QBluetoothAddress()); + QBluetoothTransferRequest(const QBluetoothTransferRequest &other); + ~QBluetoothTransferRequest(); + QVariant attribute(QBluetoothTransferRequest::Attribute code, const QVariant &defaultValue = QVariant()) const; + void setAttribute(QBluetoothTransferRequest::Attribute code, const QVariant &value); + QBluetoothAddress address() const; + bool operator!=(const QBluetoothTransferRequest &other) const; + bool operator==(const QBluetoothTransferRequest &other) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothuuid.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothuuid.sip new file mode 100644 index 00000000..14d22b94 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qbluetoothuuid.sip @@ -0,0 +1,545 @@ +// qbluetoothuuid.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QBluetoothUuid : QUuid +{ +%TypeHeaderCode +#include +%End + +public: + enum ProtocolUuid + { + Sdp, + Udp, + Rfcomm, + Tcp, + TcsBin, + TcsAt, + Att, + Obex, + Ip, + Ftp, + Http, + Wsp, + Bnep, + Upnp, + Hidp, + HardcopyControlChannel, + HardcopyDataChannel, + HardcopyNotification, + Avctp, + Avdtp, + Cmtp, + UdiCPlain, + McapControlChannel, + McapDataChannel, + L2cap, + }; + + enum ServiceClassUuid + { + ServiceDiscoveryServer, + BrowseGroupDescriptor, + PublicBrowseGroup, + SerialPort, + LANAccessUsingPPP, + DialupNetworking, + IrMCSync, + ObexObjectPush, + OBEXFileTransfer, + IrMCSyncCommand, + Headset, + AudioSource, + AudioSink, + AV_RemoteControlTarget, + AdvancedAudioDistribution, + AV_RemoteControl, + AV_RemoteControlController, + HeadsetAG, + PANU, + NAP, + GN, + DirectPrinting, + ReferencePrinting, + ImagingResponder, + ImagingAutomaticArchive, + ImagingReferenceObjects, + Handsfree, + HandsfreeAudioGateway, + DirectPrintingReferenceObjectsService, + ReflectedUI, + BasicPrinting, + PrintingStatus, + HumanInterfaceDeviceService, + HardcopyCableReplacement, + HCRPrint, + HCRScan, + SIMAccess, + PhonebookAccessPCE, + PhonebookAccessPSE, + PhonebookAccess, + HeadsetHS, + MessageAccessServer, + MessageNotificationServer, + MessageAccessProfile, + PnPInformation, + GenericNetworking, + GenericFileTransfer, + GenericAudio, + GenericTelephony, + VideoSource, + VideoSink, + VideoDistribution, + HDP, + HDPSource, + HDPSink, +%If (Qt_5_3_0 -) + BasicImage, +%End +%If (Qt_5_3_0 -) + GNSS, +%End +%If (Qt_5_3_0 -) + GNSSServer, +%End +%If (Qt_5_3_0 -) + Display3D, +%End +%If (Qt_5_3_0 -) + Glasses3D, +%End +%If (Qt_5_3_0 -) + Synchronization3D, +%End +%If (Qt_5_3_0 -) + MPSProfile, +%End +%If (Qt_5_3_0 -) + MPSService, +%End +%If (Qt_5_4_0 -) + GenericAccess, +%End +%If (Qt_5_4_0 -) + GenericAttribute, +%End +%If (Qt_5_4_0 -) + ImmediateAlert, +%End +%If (Qt_5_4_0 -) + LinkLoss, +%End +%If (Qt_5_4_0 -) + TxPower, +%End +%If (Qt_5_4_0 -) + CurrentTimeService, +%End +%If (Qt_5_4_0 -) + ReferenceTimeUpdateService, +%End +%If (Qt_5_4_0 -) + NextDSTChangeService, +%End +%If (Qt_5_4_0 -) + Glucose, +%End +%If (Qt_5_4_0 -) + HealthThermometer, +%End +%If (Qt_5_4_0 -) + DeviceInformation, +%End +%If (Qt_5_4_0 -) + HeartRate, +%End +%If (Qt_5_4_0 -) + PhoneAlertStatusService, +%End +%If (Qt_5_4_0 -) + BatteryService, +%End +%If (Qt_5_4_0 -) + BloodPressure, +%End +%If (Qt_5_4_0 -) + AlertNotificationService, +%End +%If (Qt_5_4_0 -) + HumanInterfaceDevice, +%End +%If (Qt_5_4_0 -) + ScanParameters, +%End +%If (Qt_5_4_0 -) + RunningSpeedAndCadence, +%End +%If (Qt_5_4_0 -) + CyclingSpeedAndCadence, +%End +%If (Qt_5_4_0 -) + CyclingPower, +%End +%If (Qt_5_4_0 -) + LocationAndNavigation, +%End +%If (Qt_5_5_0 -) + EnvironmentalSensing, +%End +%If (Qt_5_5_0 -) + BodyComposition, +%End +%If (Qt_5_5_0 -) + UserData, +%End +%If (Qt_5_5_0 -) + WeightScale, +%End +%If (Qt_5_5_0 -) + BondManagement, +%End +%If (Qt_5_5_0 -) + ContinuousGlucoseMonitoring, +%End + }; + + QBluetoothUuid(); + explicit QBluetoothUuid(quint32 uuid); + explicit QBluetoothUuid(quint128 uuid); + explicit QBluetoothUuid(const QString &uuid); + QBluetoothUuid(const QBluetoothUuid &uuid); + QBluetoothUuid(const QUuid &uuid); + ~QBluetoothUuid(); + bool operator==(const QBluetoothUuid &other) const; +%If (Qt_5_7_0 -) + bool operator!=(const QBluetoothUuid &other) const; +%End + int minimumSize() const; + quint16 toUInt16(bool *ok = 0) const; + quint32 toUInt32(bool *ok = 0) const; + quint128 toUInt128() const; +%If (Qt_5_4_0 -) + + enum CharacteristicType + { + DeviceName, + Appearance, + PeripheralPrivacyFlag, + ReconnectionAddress, + PeripheralPreferredConnectionParameters, + ServiceChanged, + AlertLevel, + TxPowerLevel, + DateTime, + DayOfWeek, + DayDateTime, + ExactTime256, + DSTOffset, + TimeZone, + LocalTimeInformation, + TimeWithDST, + TimeAccuracy, + TimeSource, + ReferenceTimeInformation, + TimeUpdateControlPoint, + TimeUpdateState, + GlucoseMeasurement, + BatteryLevel, + TemperatureMeasurement, + TemperatureType, + IntermediateTemperature, + MeasurementInterval, + BootKeyboardInputReport, + SystemID, + ModelNumberString, + SerialNumberString, + FirmwareRevisionString, + HardwareRevisionString, + SoftwareRevisionString, + ManufacturerNameString, + IEEE1107320601RegulatoryCertificationDataList, + CurrentTime, + ScanRefresh, + BootKeyboardOutputReport, + BootMouseInputReport, + GlucoseMeasurementContext, + BloodPressureMeasurement, + IntermediateCuffPressure, + HeartRateMeasurement, + BodySensorLocation, + HeartRateControlPoint, + AlertStatus, + RingerControlPoint, + RingerSetting, + AlertCategoryIDBitMask, + AlertCategoryID, + AlertNotificationControlPoint, + UnreadAlertStatus, + NewAlert, + SupportedNewAlertCategory, + SupportedUnreadAlertCategory, + BloodPressureFeature, + HIDInformation, + ReportMap, + HIDControlPoint, + Report, + ProtocolMode, + ScanIntervalWindow, + PnPID, + GlucoseFeature, + RecordAccessControlPoint, + RSCMeasurement, + RSCFeature, + SCControlPoint, + CSCMeasurement, + CSCFeature, + SensorLocation, + CyclingPowerMeasurement, + CyclingPowerVector, + CyclingPowerFeature, + CyclingPowerControlPoint, + LocationAndSpeed, + Navigation, + PositionQuality, + LNFeature, + LNControlPoint, +%If (Qt_5_5_0 -) + MagneticDeclination, +%End +%If (Qt_5_5_0 -) + Elevation, +%End +%If (Qt_5_5_0 -) + Pressure, +%End +%If (Qt_5_5_0 -) + Temperature, +%End +%If (Qt_5_5_0 -) + Humidity, +%End +%If (Qt_5_5_0 -) + TrueWindSpeed, +%End +%If (Qt_5_5_0 -) + TrueWindDirection, +%End +%If (Qt_5_5_0 -) + ApparentWindSpeed, +%End +%If (Qt_5_5_0 -) + ApparentWindDirection, +%End +%If (Qt_5_5_0 -) + GustFactor, +%End +%If (Qt_5_5_0 -) + PollenConcentration, +%End +%If (Qt_5_5_0 -) + UVIndex, +%End +%If (Qt_5_5_0 -) + Irradiance, +%End +%If (Qt_5_5_0 -) + Rainfall, +%End +%If (Qt_5_5_0 -) + WindChill, +%End +%If (Qt_5_5_0 -) + HeatIndex, +%End +%If (Qt_5_5_0 -) + DewPoint, +%End +%If (Qt_5_5_0 -) + DescriptorValueChanged, +%End +%If (Qt_5_5_0 -) + AerobicHeartRateLowerLimit, +%End +%If (Qt_5_5_0 -) + AerobicThreshold, +%End +%If (Qt_5_5_0 -) + Age, +%End +%If (Qt_5_5_0 -) + AnaerobicHeartRateLowerLimit, +%End +%If (Qt_5_5_0 -) + AnaerobicHeartRateUpperLimit, +%End +%If (Qt_5_5_0 -) + AnaerobicThreshold, +%End +%If (Qt_5_5_0 -) + AerobicHeartRateUpperLimit, +%End +%If (Qt_5_5_0 -) + DateOfBirth, +%End +%If (Qt_5_5_0 -) + DateOfThresholdAssessment, +%End +%If (Qt_5_5_0 -) + EmailAddress, +%End +%If (Qt_5_5_0 -) + FatBurnHeartRateLowerLimit, +%End +%If (Qt_5_5_0 -) + FatBurnHeartRateUpperLimit, +%End +%If (Qt_5_5_0 -) + FirstName, +%End +%If (Qt_5_5_0 -) + FiveZoneHeartRateLimits, +%End +%If (Qt_5_5_0 -) + Gender, +%End +%If (Qt_5_5_0 -) + HeartRateMax, +%End +%If (Qt_5_5_0 -) + Height, +%End +%If (Qt_5_5_0 -) + HipCircumference, +%End +%If (Qt_5_5_0 -) + LastName, +%End +%If (Qt_5_5_0 -) + MaximumRecommendedHeartRate, +%End +%If (Qt_5_5_0 -) + RestingHeartRate, +%End +%If (Qt_5_5_0 -) + SportTypeForAerobicAnaerobicThresholds, +%End +%If (Qt_5_5_0 -) + ThreeZoneHeartRateLimits, +%End +%If (Qt_5_5_0 -) + TwoZoneHeartRateLimits, +%End +%If (Qt_5_5_0 -) + VO2Max, +%End +%If (Qt_5_5_0 -) + WaistCircumference, +%End +%If (Qt_5_5_0 -) + Weight, +%End +%If (Qt_5_5_0 -) + DatabaseChangeIncrement, +%End +%If (Qt_5_5_0 -) + UserIndex, +%End +%If (Qt_5_5_0 -) + BodyCompositionFeature, +%End +%If (Qt_5_5_0 -) + BodyCompositionMeasurement, +%End +%If (Qt_5_5_0 -) + WeightMeasurement, +%End +%If (Qt_5_5_0 -) + WeightScaleFeature, +%End +%If (Qt_5_5_0 -) + UserControlPoint, +%End +%If (Qt_5_5_0 -) + MagneticFluxDensity2D, +%End +%If (Qt_5_5_0 -) + MagneticFluxDensity3D, +%End +%If (Qt_5_5_0 -) + Language, +%End +%If (Qt_5_5_0 -) + BarometricPressureTrend, +%End + }; + +%End +%If (Qt_5_4_0 -) + + enum DescriptorType + { + UnknownDescriptorType, + CharacteristicExtendedProperties, + CharacteristicUserDescription, + ClientCharacteristicConfiguration, + ServerCharacteristicConfiguration, + CharacteristicPresentationFormat, + CharacteristicAggregateFormat, + ValidRange, + ExternalReportReference, + ReportReference, +%If (Qt_5_5_0 -) + EnvironmentalSensingConfiguration, +%End +%If (Qt_5_5_0 -) + EnvironmentalSensingMeasurement, +%End +%If (Qt_5_5_0 -) + EnvironmentalSensingTriggerSetting, +%End + }; + +%End +%If (Qt_5_4_0 -) + static QString serviceClassToString(QBluetoothUuid::ServiceClassUuid uuid); +%End +%If (Qt_5_4_0 -) + static QString protocolToString(QBluetoothUuid::ProtocolUuid uuid); +%End +%If (Qt_5_4_0 -) + static QString characteristicToString(QBluetoothUuid::CharacteristicType uuid); +%End +%If (Qt_5_4_0 -) + static QString descriptorToString(QBluetoothUuid::DescriptorType uuid); +%End +}; + +%End +%If (Qt_5_12_0 -) +QDataStream &operator<<(QDataStream &s, const QBluetoothUuid &uuid /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_12_0 -) +QDataStream &operator>>(QDataStream &s, QBluetoothUuid &uuid /Constrained/) /ReleaseGIL/; +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyadvertisingdata.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyadvertisingdata.sip new file mode 100644 index 00000000..48ab5330 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyadvertisingdata.sip @@ -0,0 +1,66 @@ +// qlowenergyadvertisingdata.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_7_0 -) + +class QLowEnergyAdvertisingData +{ +%TypeHeaderCode +#include +%End + +public: + QLowEnergyAdvertisingData(); + QLowEnergyAdvertisingData(const QLowEnergyAdvertisingData &other); + ~QLowEnergyAdvertisingData(); + void setLocalName(const QString &name); + QString localName() const; + static quint16 invalidManufacturerId(); + void setManufacturerData(quint16 id, const QByteArray &data); + quint16 manufacturerId() const; + QByteArray manufacturerData() const; + void setIncludePowerLevel(bool doInclude); + bool includePowerLevel() const; + + enum Discoverability + { + DiscoverabilityNone, + DiscoverabilityLimited, + DiscoverabilityGeneral, + }; + + void setDiscoverability(QLowEnergyAdvertisingData::Discoverability mode); + QLowEnergyAdvertisingData::Discoverability discoverability() const; + void setServices(const QList &services); + QList services() const; + void setRawData(const QByteArray &data); + QByteArray rawData() const; + void swap(QLowEnergyAdvertisingData &other); +}; + +%End +%If (Qt_5_7_0 -) +bool operator==(const QLowEnergyAdvertisingData &data1, const QLowEnergyAdvertisingData &data2); +%End +%If (Qt_5_7_0 -) +bool operator!=(const QLowEnergyAdvertisingData &data1, const QLowEnergyAdvertisingData &data2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyadvertisingparameters.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyadvertisingparameters.sip new file mode 100644 index 00000000..729cc02e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyadvertisingparameters.sip @@ -0,0 +1,84 @@ +// qlowenergyadvertisingparameters.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_7_0 -) + +class QLowEnergyAdvertisingParameters +{ +%TypeHeaderCode +#include +%End + +public: + QLowEnergyAdvertisingParameters(); + QLowEnergyAdvertisingParameters(const QLowEnergyAdvertisingParameters &other); + ~QLowEnergyAdvertisingParameters(); + + enum Mode + { + AdvInd, + AdvScanInd, + AdvNonConnInd, + }; + + void setMode(QLowEnergyAdvertisingParameters::Mode mode); + QLowEnergyAdvertisingParameters::Mode mode() const; + + struct AddressInfo + { +%TypeHeaderCode +#include +%End + + AddressInfo(const QBluetoothAddress &addr, QLowEnergyController::RemoteAddressType t); + AddressInfo(); + QBluetoothAddress address; + QLowEnergyController::RemoteAddressType type; + }; + + enum FilterPolicy + { + IgnoreWhiteList, + UseWhiteListForScanning, + UseWhiteListForConnecting, + UseWhiteListForScanningAndConnecting, + }; + + void setWhiteList(const QList &whiteList, QLowEnergyAdvertisingParameters::FilterPolicy policy); + QList whiteList() const; + QLowEnergyAdvertisingParameters::FilterPolicy filterPolicy() const; + void setInterval(quint16 minimum, quint16 maximum); + int minimumInterval() const; + int maximumInterval() const; + void swap(QLowEnergyAdvertisingParameters &other); +}; + +%End +%If (Qt_5_7_0 -) +bool operator==(const QLowEnergyAdvertisingParameters &p1, const QLowEnergyAdvertisingParameters &p2); +%End +%If (Qt_5_7_0 -) +bool operator==(const QLowEnergyAdvertisingParameters::AddressInfo &ai1, const QLowEnergyAdvertisingParameters::AddressInfo &ai2); +%End +%If (Qt_5_7_0 -) +bool operator!=(const QLowEnergyAdvertisingParameters &p1, const QLowEnergyAdvertisingParameters &p2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycharacteristic.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycharacteristic.sip new file mode 100644 index 00000000..91c73768 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycharacteristic.sip @@ -0,0 +1,64 @@ +// qlowenergycharacteristic.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QLowEnergyCharacteristic +{ +%TypeHeaderCode +#include +%End + +public: + enum PropertyType + { + Unknown, + Broadcasting, + Read, + WriteNoResponse, + Write, + Notify, + Indicate, + WriteSigned, + ExtendedProperty, + }; + + typedef QFlags PropertyTypes; + QLowEnergyCharacteristic(); + QLowEnergyCharacteristic(const QLowEnergyCharacteristic &other); + ~QLowEnergyCharacteristic(); + bool operator==(const QLowEnergyCharacteristic &other) const; + bool operator!=(const QLowEnergyCharacteristic &other) const; + QString name() const; + QBluetoothUuid uuid() const; + QByteArray value() const; + QLowEnergyCharacteristic::PropertyTypes properties() const; + QLowEnergyHandle handle() const; + QLowEnergyDescriptor descriptor(const QBluetoothUuid &uuid) const; + QList descriptors() const; + bool isValid() const; +}; + +%End +%If (Qt_5_4_0 -) +QFlags operator|(QLowEnergyCharacteristic::PropertyType f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycharacteristicdata.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycharacteristicdata.sip new file mode 100644 index 00000000..def1b37d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycharacteristicdata.sip @@ -0,0 +1,61 @@ +// qlowenergycharacteristicdata.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_7_0 -) + +class QLowEnergyCharacteristicData +{ +%TypeHeaderCode +#include +%End + +public: + QLowEnergyCharacteristicData(); + QLowEnergyCharacteristicData(const QLowEnergyCharacteristicData &other); + ~QLowEnergyCharacteristicData(); + QBluetoothUuid uuid() const; + void setUuid(const QBluetoothUuid &uuid); + QByteArray value() const; + void setValue(const QByteArray &value); + QLowEnergyCharacteristic::PropertyTypes properties() const; + void setProperties(QLowEnergyCharacteristic::PropertyTypes properties); + QList descriptors() const; + void setDescriptors(const QList &descriptors); + void addDescriptor(const QLowEnergyDescriptorData &descriptor); + void setReadConstraints(QBluetooth::AttAccessConstraints constraints); + QBluetooth::AttAccessConstraints readConstraints() const; + void setWriteConstraints(QBluetooth::AttAccessConstraints constraints); + QBluetooth::AttAccessConstraints writeConstraints() const; + void setValueLength(int minimum, int maximum); + int minimumValueLength() const; + int maximumValueLength() const; + bool isValid() const; + void swap(QLowEnergyCharacteristicData &other); +}; + +%End +%If (Qt_5_7_0 -) +bool operator==(const QLowEnergyCharacteristicData &cd1, const QLowEnergyCharacteristicData &cd2); +%End +%If (Qt_5_7_0 -) +bool operator!=(const QLowEnergyCharacteristicData &cd1, const QLowEnergyCharacteristicData &cd2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyconnectionparameters.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyconnectionparameters.sip new file mode 100644 index 00000000..42f94ca7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyconnectionparameters.sip @@ -0,0 +1,51 @@ +// qlowenergyconnectionparameters.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_7_0 -) + +class QLowEnergyConnectionParameters +{ +%TypeHeaderCode +#include +%End + +public: + QLowEnergyConnectionParameters(); + QLowEnergyConnectionParameters(const QLowEnergyConnectionParameters &other); + ~QLowEnergyConnectionParameters(); + void setIntervalRange(double minimum, double maximum); + double minimumInterval() const; + double maximumInterval() const; + void setLatency(int latency); + int latency() const; + void setSupervisionTimeout(int timeout); + int supervisionTimeout() const; + void swap(QLowEnergyConnectionParameters &other); +}; + +%End +%If (Qt_5_7_0 -) +bool operator==(const QLowEnergyConnectionParameters &p1, const QLowEnergyConnectionParameters &p2); +%End +%If (Qt_5_7_0 -) +bool operator!=(const QLowEnergyConnectionParameters &p1, const QLowEnergyConnectionParameters &p2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycontroller.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycontroller.sip new file mode 100644 index 00000000..6b7c950e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergycontroller.sip @@ -0,0 +1,153 @@ +// qlowenergycontroller.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QLowEnergyController : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + UnknownError, + UnknownRemoteDeviceError, + NetworkError, + InvalidBluetoothAdapterError, +%If (Qt_5_5_0 -) + ConnectionError, +%End +%If (Qt_5_7_0 -) + AdvertisingError, +%End +%If (Qt_5_10_0 -) + RemoteHostClosedError, +%End +%If (Qt_5_14_0 -) + AuthorizationError, +%End + }; + + enum ControllerState + { + UnconnectedState, + ConnectingState, + ConnectedState, + DiscoveringState, + DiscoveredState, + ClosingState, +%If (Qt_5_7_0 -) + AdvertisingState, +%End + }; + + enum RemoteAddressType + { + PublicAddress, + RandomAddress, + }; + +%If (Qt_5_5_0 -) + QLowEnergyController(const QBluetoothDeviceInfo &remoteDevice, QObject *parent /TransferThis/ = 0); +%End + QLowEnergyController(const QBluetoothAddress &remoteDevice, QObject *parent /TransferThis/ = 0); + QLowEnergyController(const QBluetoothAddress &remoteDevice, const QBluetoothAddress &localDevice, QObject *parent /TransferThis/ = 0); + virtual ~QLowEnergyController(); + QBluetoothAddress localAddress() const; + QBluetoothAddress remoteAddress() const; + QLowEnergyController::ControllerState state() const; + QLowEnergyController::RemoteAddressType remoteAddressType() const; + void setRemoteAddressType(QLowEnergyController::RemoteAddressType type); + void connectToDevice(); + void disconnectFromDevice(); + void discoverServices(); + QList services() const; + QLowEnergyService *createServiceObject(const QBluetoothUuid &service, QObject *parent /TransferThis/ = 0) /Factory/; + QLowEnergyController::Error error() const; + QString errorString() const; +%If (Qt_5_5_0 -) + QString remoteName() const; +%End + +signals: + void connected(); + void disconnected(); + void stateChanged(QLowEnergyController::ControllerState state); + void error(QLowEnergyController::Error newError); + void serviceDiscovered(const QBluetoothUuid &newService); + void discoveryFinished(); + +public: +%If (Qt_5_7_0 -) + + enum Role + { + CentralRole, + PeripheralRole, + }; + +%End +%If (Qt_5_7_0 -) + static QLowEnergyController *createCentral(const QBluetoothDeviceInfo &remoteDevice, QObject *parent /TransferThis/ = 0) /Factory/; +%End +%If (Qt_5_14_0 -) + static QLowEnergyController *createCentral(const QBluetoothAddress &remoteDevice, const QBluetoothAddress &localDevice, QObject *parent /TransferThis/ = 0) /Factory/; +%End +%If (Qt_5_7_0 -) + static QLowEnergyController *createPeripheral(QObject *parent /TransferThis/ = 0) /Factory/; +%End +%If (Qt_5_7_0 -) + void startAdvertising(const QLowEnergyAdvertisingParameters ¶meters, const QLowEnergyAdvertisingData &advertisingData, const QLowEnergyAdvertisingData &scanResponseData = QLowEnergyAdvertisingData()); +%End +%If (Qt_5_7_0 -) + void stopAdvertising(); +%End +%If (Qt_5_7_0 -) + QLowEnergyService *addService(const QLowEnergyServiceData &service, QObject *parent /TransferThis/ = 0) /Factory/; +%End +%If (Qt_5_7_0 -) + void requestConnectionUpdate(const QLowEnergyConnectionParameters ¶meters); +%End +%If (Qt_5_7_0 -) + QLowEnergyController::Role role() const; +%End + +signals: +%If (Qt_5_7_0 -) + void connectionUpdated(const QLowEnergyConnectionParameters ¶meters); +%End + +public: +%If (Qt_5_8_0 -) + QBluetoothUuid remoteDeviceUuid() const; +%End + +private: +%If (Qt_5_7_0 -) + explicit QLowEnergyController(QObject *parent = 0); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergydescriptor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergydescriptor.sip new file mode 100644 index 00000000..791635a9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergydescriptor.sip @@ -0,0 +1,45 @@ +// qlowenergydescriptor.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QLowEnergyDescriptor +{ +%TypeHeaderCode +#include +%End + +public: + QLowEnergyDescriptor(); + QLowEnergyDescriptor(const QLowEnergyDescriptor &other); + ~QLowEnergyDescriptor(); + bool operator==(const QLowEnergyDescriptor &other) const; + bool operator!=(const QLowEnergyDescriptor &other) const; + bool isValid() const; + QByteArray value() const; + QBluetoothUuid uuid() const; + QLowEnergyHandle handle() const; + QString name() const; + QBluetoothUuid::DescriptorType type() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergydescriptordata.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergydescriptordata.sip new file mode 100644 index 00000000..8a67b819 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergydescriptordata.sip @@ -0,0 +1,56 @@ +// qlowenergydescriptordata.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_7_0 -) + +class QLowEnergyDescriptorData +{ +%TypeHeaderCode +#include +%End + +public: + QLowEnergyDescriptorData(); + QLowEnergyDescriptorData(const QBluetoothUuid &uuid, const QByteArray &value); + QLowEnergyDescriptorData(const QLowEnergyDescriptorData &other); + ~QLowEnergyDescriptorData(); + QByteArray value() const; + void setValue(const QByteArray &value); + QBluetoothUuid uuid() const; + void setUuid(const QBluetoothUuid &uuid); + bool isValid() const; + void setReadPermissions(bool readable, QBluetooth::AttAccessConstraints constraints = QBluetooth::AttAccessConstraints()); + bool isReadable() const; + QBluetooth::AttAccessConstraints readConstraints() const; + void setWritePermissions(bool writable, QBluetooth::AttAccessConstraints constraints = QBluetooth::AttAccessConstraints()); + bool isWritable() const; + QBluetooth::AttAccessConstraints writeConstraints() const; + void swap(QLowEnergyDescriptorData &other); +}; + +%End +%If (Qt_5_7_0 -) +bool operator==(const QLowEnergyDescriptorData &d1, const QLowEnergyDescriptorData &d12); +%End +%If (Qt_5_7_0 -) +bool operator!=(const QLowEnergyDescriptorData &d1, const QLowEnergyDescriptorData &d2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyservice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyservice.sip new file mode 100644 index 00000000..1921c61b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyservice.sip @@ -0,0 +1,119 @@ +// qlowenergyservice.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QLowEnergyService : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum ServiceType + { + PrimaryService, + IncludedService, + }; + + typedef QFlags ServiceTypes; + + enum ServiceError + { + NoError, + OperationError, + CharacteristicWriteError, + DescriptorWriteError, +%If (Qt_5_5_0 -) + CharacteristicReadError, +%End +%If (Qt_5_5_0 -) + DescriptorReadError, +%End +%If (Qt_5_5_0 -) + UnknownError, +%End + }; + + enum ServiceState + { + InvalidService, + DiscoveryRequired, + DiscoveringServices, + ServiceDiscovered, +%If (Qt_5_7_0 -) + LocalService, +%End + }; + + enum WriteMode + { + WriteWithResponse, + WriteWithoutResponse, +%If (Qt_5_7_0 -) + WriteSigned, +%End + }; + + virtual ~QLowEnergyService(); + QList includedServices() const; + QLowEnergyService::ServiceTypes type() const; + QLowEnergyService::ServiceState state() const; + QLowEnergyCharacteristic characteristic(const QBluetoothUuid &uuid) const; + QList characteristics() const; + QBluetoothUuid serviceUuid() const; + QString serviceName() const; + void discoverDetails(); + QLowEnergyService::ServiceError error() const; + bool contains(const QLowEnergyCharacteristic &characteristic) const; + bool contains(const QLowEnergyDescriptor &descriptor) const; + void writeCharacteristic(const QLowEnergyCharacteristic &characteristic, const QByteArray &newValue, QLowEnergyService::WriteMode mode = QLowEnergyService::WriteWithResponse); + void writeDescriptor(const QLowEnergyDescriptor &descriptor, const QByteArray &newValue); + +signals: + void stateChanged(QLowEnergyService::ServiceState newState); + void characteristicChanged(const QLowEnergyCharacteristic &info, const QByteArray &value); + void characteristicWritten(const QLowEnergyCharacteristic &info, const QByteArray &value); + void descriptorWritten(const QLowEnergyDescriptor &info, const QByteArray &value); + void error(QLowEnergyService::ServiceError error); + +public: +%If (Qt_5_5_0 -) + void readCharacteristic(const QLowEnergyCharacteristic &characteristic); +%End +%If (Qt_5_5_0 -) + void readDescriptor(const QLowEnergyDescriptor &descriptor); +%End + +signals: +%If (Qt_5_5_0 -) + void characteristicRead(const QLowEnergyCharacteristic &info, const QByteArray &value); +%End +%If (Qt_5_5_0 -) + void descriptorRead(const QLowEnergyDescriptor &info, const QByteArray &value); +%End +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QLowEnergyService::ServiceType f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyservicedata.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyservicedata.sip new file mode 100644 index 00000000..881a4feb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qlowenergyservicedata.sip @@ -0,0 +1,62 @@ +// qlowenergyservicedata.sip generated by MetaSIP +// +// This file is part of the QtBluetooth Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_7_0 -) + +class QLowEnergyServiceData +{ +%TypeHeaderCode +#include +%End + +public: + QLowEnergyServiceData(); + QLowEnergyServiceData(const QLowEnergyServiceData &other); + ~QLowEnergyServiceData(); + + enum ServiceType + { + ServiceTypePrimary, + ServiceTypeSecondary, + }; + + QLowEnergyServiceData::ServiceType type() const; + void setType(QLowEnergyServiceData::ServiceType type); + QBluetoothUuid uuid() const; + void setUuid(const QBluetoothUuid &uuid); + QList includedServices() const; + void setIncludedServices(const QList &services); + void addIncludedService(QLowEnergyService *service); + QList characteristics() const; + void setCharacteristics(const QList &characteristics); + void addCharacteristic(const QLowEnergyCharacteristicData &characteristic); + bool isValid() const; + void swap(QLowEnergyServiceData &other); +}; + +%End +%If (Qt_5_7_0 -) +bool operator==(const QLowEnergyServiceData &sd1, const QLowEnergyServiceData &sd2); +%End +%If (Qt_5_7_0 -) +bool operator!=(const QLowEnergyServiceData &sd1, const QLowEnergyServiceData &sd2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qpybluetooth_qlist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qpybluetooth_qlist.sip new file mode 100644 index 00000000..5f273e13 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qpybluetooth_qlist.sip @@ -0,0 +1,240 @@ +// This is the SIP interface definition for the QList based mapped types +// specific to the QtBluetooth module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QList + /TypeHintIn="Iterable[int]", TypeHintOut="List[int]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + // Convert to a Python long to make sure it doesn't get interpreted as + // a signed value. + PyObject *pobj = PyLong_FromUnsignedLongLong(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *qv = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + PyErr_Clear(); + unsigned long val = PyLong_AsUnsignedLongMask(itm); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + qv->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + + +// QBluetoothServiceInfo::Sequence is actually a sub-class of QList. +// Note that QBluetoothServiceInfo::Alternative is identical and they are both +// syntactic sugar. By ignoring methods using the latter then everything works +// as expected. +%MappedType QBluetoothServiceInfo::Sequence + /TypeHintIn="Iterable[QVariant]", TypeHintOut="List[QVariant]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + QVariant *t = new QVariant(sipCpp->at(i)); + PyObject *tobj = sipConvertFromNewType(t, sipType_QVariant, + sipTransferObj); + + if (!tobj) + { + delete t; + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, tobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QBluetoothServiceInfo::Sequence *ql = new QBluetoothServiceInfo::Sequence; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int state; + QVariant *t = reinterpret_cast( + sipForceConvertToType(itm, sipType_QVariant, sipTransferObj, + SIP_NOT_NONE, &state, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but '_TYPE_' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + + return 0; + } + + ql->append(*t); + + sipReleaseType(t, sipType_QVariant, state); + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qpybluetooth_quint128.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qpybluetooth_quint128.sip new file mode 100644 index 00000000..b6e5a18b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtBluetooth/qpybluetooth_quint128.sip @@ -0,0 +1,115 @@ +// This is the SIP interface definition for the quint128 mapped type. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType quint128 /TypeHint="Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *t = PyTuple_New(16); + + if (!t) + return 0; + + for (Py_ssize_t i = 0; i < 16; ++i) + { + // Convert to a Python long to make sure it doesn't get interpreted as + // a signed value. + PyObject *pobj = PyLong_FromUnsignedLong(sipCpp->data[i]); + + if (!pobj) + { + Py_DECREF(t); + + return 0; + } + + PyTuple_SetItem(t, i, pobj); + } + + return t; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return (PySequence_Check(sipPy) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + + Py_ssize_t len = PySequence_Size(sipPy); + + if (len != 16) + { + // A negative length should only be an internal error so let the + // original exception stand. + if (len >= 0) + PyErr_Format(PyExc_TypeError, + "sequence has %zd elements but 16 elements are expected", + len); + + *sipIsErr = 1; + + return 0; + } + + quint128 *qv = new quint128; + + for (Py_ssize_t i = 0; i < 16; ++i) + { + PyObject *itm = PySequence_GetItem(sipPy, i); + + if (!itm) + { + delete qv; + *sipIsErr = 1; + + return 0; + } + + PyErr_Clear(); + unsigned long val = PyLong_AsUnsignedLongMask(itm); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "element %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + *sipIsErr = 1; + + return 0; + } + + qv->data[i] = val; + + Py_DECREF(itm); + } + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/QtCore.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/QtCore.toml new file mode 100644 index 00000000..f1fccce4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/QtCore.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtCore. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/QtCoremod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/QtCoremod.sip new file mode 100644 index 00000000..0d57c77e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/QtCoremod.sip @@ -0,0 +1,230 @@ +// QtCoremod.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", use_limited_api=True, py_ssize_t_clean=True) + +%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_6_3 Qt_5_6_4 Qt_5_6_5 Qt_5_6_6 Qt_5_6_7 Qt_5_6_8 Qt_5_6_9 Qt_5_7_0 Qt_5_7_1 Qt_5_8_0 Qt_5_8_1 Qt_5_9_0 Qt_5_9_1 Qt_5_9_2 Qt_5_9_3 Qt_5_9_4 Qt_5_9_5 Qt_5_9_6 Qt_5_9_7 Qt_5_9_8 Qt_5_9_9 Qt_5_10_0 Qt_5_10_1 Qt_5_11_0 Qt_5_11_1 Qt_5_11_2 Qt_5_11_3 Qt_5_12_0 Qt_5_12_1 Qt_5_12_2 Qt_5_12_3 Qt_5_12_4 Qt_5_13_0 Qt_5_14_0 Qt_5_15_0} + +%Platforms {WS_X11 WS_WIN WS_MACX} + +%Feature PyQt_Accessibility +%Feature PyQt_SessionManager +%Feature PyQt_SSL +%Feature PyQt_qreal_double +%Feature Py_v3 +%Feature PyQt_PrintDialog +%Feature PyQt_Printer +%Feature PyQt_PrintPreviewWidget +%Feature PyQt_PrintPreviewDialog +%Feature PyQt_RawFont +%Feature PyQt_OpenGL +%Feature PyQt_Desktop_OpenGL +%Feature PyQt_NotBootstrapped +%Feature PyQt_Process +%Feature PyQt_MacOSXOnly +%Feature PyQt_WebChannel +%Feature PyQt_CONSTEXPR + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%Plugin PyQt5 + +%If (Py_v3) +%DefaultEncoding "ASCII" +%End + +%If (!Py_v3) +// Hook into the VendorID package if it is enabled. +%Feature VendorID + +%If (VendorID) + +%ModuleCode +#include +%End + +%PreInitialisationCode + if (!vendorid_check()) + { + PyErr_SetString(PyExc_RuntimeError, "PyQt cannot be used with this Python interpreter"); + return; + } +%End + +%End + +%End + + +%Include(name=pyqt-internal.sip5, optional=True) +%Include(name=pyqt-gpl.sip5, optional=True) +%Include(name=pyqt-commercial.sip5, optional=True) + +%DefaultSupertype sip.simplewrapper + +%Include qglobal.sip +%Include qnamespace.sip +%Include qabstractanimation.sip +%Include qabstracteventdispatcher.sip +%Include qabstractitemmodel.sip +%Include qabstractnativeeventfilter.sip +%Include qabstractproxymodel.sip +%Include qabstractstate.sip +%Include qabstracttransition.sip +%Include qanimationgroup.sip +%Include qbasictimer.sip +%Include qbitarray.sip +%Include qbuffer.sip +%Include qbytearray.sip +%Include qbytearraymatcher.sip +%Include qcalendar.sip +%Include qcborcommon.sip +%Include qcborstream.sip +%Include qchar.sip +%Include qcollator.sip +%Include qcommandlineoption.sip +%Include qcommandlineparser.sip +%Include qconcatenatetablesproxymodel.sip +%Include qcoreapplication.sip +%Include qcoreevent.sip +%Include qcryptographichash.sip +%Include qdatastream.sip +%Include qdatetime.sip +%Include qdeadlinetimer.sip +%Include qdir.sip +%Include qdiriterator.sip +%Include qeasingcurve.sip +%Include qelapsedtimer.sip +%Include qeventloop.sip +%Include qeventtransition.sip +%Include qfile.sip +%Include qfiledevice.sip +%Include qfileinfo.sip +%Include qfileselector.sip +%Include qfilesystemwatcher.sip +%Include qfinalstate.sip +%Include qhistorystate.sip +%Include qidentityproxymodel.sip +%Include qiodevice.sip +%Include qitemselectionmodel.sip +%Include qjsondocument.sip +%Include qjsonvalue.sip +%Include qlibrary.sip +%Include qlibraryinfo.sip +%Include qline.sip +%Include qlocale.sip +%Include qlockfile.sip +%Include qlogging.sip +%Include qloggingcategory.sip +%Include qmargins.sip +%Include qmessageauthenticationcode.sip +%Include qmetaobject.sip +%Include qmetatype.sip +%Include qmimedata.sip +%Include qmimedatabase.sip +%Include qmimetype.sip +%Include qmutex.sip +%Include qnumeric.sip +%Include qobject.sip +%Include qobjectcleanuphandler.sip +%Include qobjectdefs.sip +%Include qoperatingsystemversion.sip +%Include qparallelanimationgroup.sip +%Include qpauseanimation.sip +%Include qpropertyanimation.sip +%Include qpluginloader.sip +%Include qpoint.sip +%Include qprocess.sip +%Include qrandom.sip +%Include qreadwritelock.sip +%Include qrect.sip +%Include qregexp.sip +%Include qregularexpression.sip +%Include qresource.sip +%Include qrunnable.sip +%Include qsavefile.sip +%Include qsemaphore.sip +%Include qsequentialanimationgroup.sip +%Include qsettings.sip +%Include qsharedmemory.sip +%Include qsignalmapper.sip +%Include qsignaltransition.sip +%Include qsize.sip +%Include qsocketnotifier.sip +%Include qsortfilterproxymodel.sip +%Include qstandardpaths.sip +%Include qstate.sip +%Include qstatemachine.sip +%Include qstorageinfo.sip +%Include qstring.sip +%Include qstringlistmodel.sip +%Include qsystemsemaphore.sip +%Include qtemporarydir.sip +%Include qtemporaryfile.sip +%Include qtextboundaryfinder.sip +%Include qtextcodec.sip +%Include qtextstream.sip +%Include qthread.sip +%Include qthreadpool.sip +%Include qtimeline.sip +%Include qtimer.sip +%Include qtimezone.sip +%Include qtranslator.sip +%Include qtransposeproxymodel.sip +%Include qurl.sip +%Include qurlquery.sip +%Include quuid.sip +%Include qvariant.sip +%Include qvariantanimation.sip +%Include qversionnumber.sip +%Include qwaitcondition.sip +%Include qxmlstream.sip +%Include qjsonarray.sip +%Include qjsonobject.sip +%Include qpycore_qhash.sip +%Include qpycore_qlist.sip +%Include qpycore_qmap.sip +%Include qpycore_qpair.sip +%Include qpycore_qset.sip +%Include qpycore_qvariantmap.sip +%Include qpycore_qvector.sip +%Include qpycore_virtual_error_handler.sip +%Include qstringlist.sip +%Include qsysinfo.sip +%Include qwineventnotifier.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractanimation.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractanimation.sip new file mode 100644 index 00000000..ec43dafc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractanimation.sip @@ -0,0 +1,82 @@ +// qabstractanimation.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractAnimation : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Direction + { + Forward, + Backward, + }; + + enum State + { + Stopped, + Paused, + Running, + }; + + enum DeletionPolicy + { + KeepWhenStopped, + DeleteWhenStopped, + }; + + QAbstractAnimation(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractAnimation(); + QAbstractAnimation::State state() const; + QAnimationGroup *group() const; + QAbstractAnimation::Direction direction() const; + void setDirection(QAbstractAnimation::Direction direction); + int currentTime() const; + int currentLoopTime() const; + int loopCount() const; + void setLoopCount(int loopCount); + int currentLoop() const; + virtual int duration() const = 0; + int totalDuration() const; + +signals: + void finished(); + void stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + void currentLoopChanged(int currentLoop); + void directionChanged(QAbstractAnimation::Direction); + +public slots: + void start(QAbstractAnimation::DeletionPolicy policy = QAbstractAnimation::KeepWhenStopped); + void pause(); + void resume(); + void setPaused(bool); + void stop(); + void setCurrentTime(int msecs); + +protected: + virtual bool event(QEvent *event); + virtual void updateCurrentTime(int currentTime) = 0; + virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + virtual void updateDirection(QAbstractAnimation::Direction direction); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstracteventdispatcher.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstracteventdispatcher.sip new file mode 100644 index 00000000..3a683656 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstracteventdispatcher.sip @@ -0,0 +1,73 @@ +// qabstracteventdispatcher.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractEventDispatcher : QObject +{ +%TypeHeaderCode +#include +%End + +public: + struct TimerInfo + { +%TypeHeaderCode +#include +%End + + int timerId; + int interval; + Qt::TimerType timerType; + TimerInfo(int id, int i, Qt::TimerType t); + }; + + explicit QAbstractEventDispatcher(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractEventDispatcher(); + static QAbstractEventDispatcher *instance(QThread *thread = 0); + virtual bool processEvents(QEventLoop::ProcessEventsFlags flags) = 0 /ReleaseGIL/; + virtual bool hasPendingEvents() = 0; + virtual void registerSocketNotifier(QSocketNotifier *notifier) = 0; + virtual void unregisterSocketNotifier(QSocketNotifier *notifier) = 0; + int registerTimer(int interval, Qt::TimerType timerType /Constrained/, QObject *object); + virtual void registerTimer(int timerId, int interval, Qt::TimerType timerType, QObject *object) = 0; + virtual bool unregisterTimer(int timerId) = 0; + virtual bool unregisterTimers(QObject *object) = 0; + virtual QList registeredTimers(QObject *object) const = 0; + virtual void wakeUp() = 0; + virtual void interrupt() = 0; + virtual void flush() = 0; + virtual void startingUp(); + virtual void closingDown(); + virtual int remainingTime(int timerId) = 0; + void installNativeEventFilter(QAbstractNativeEventFilter *filterObj); + void removeNativeEventFilter(QAbstractNativeEventFilter *filterObj); +%If (WS_WIN) + virtual bool registerEventNotifier(QWinEventNotifier *notifier) = 0; +%End +%If (WS_WIN) + virtual void unregisterEventNotifier(QWinEventNotifier *notifier) = 0; +%End + bool filterNativeEvent(const QByteArray &eventType, void *message, long *result); + +signals: + void aboutToBlock(); + void awake(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractitemmodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractitemmodel.sip new file mode 100644 index 00000000..3f58c518 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractitemmodel.sip @@ -0,0 +1,332 @@ +// qabstractitemmodel.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QModelIndex +{ +%TypeHeaderCode +#include +%End + +public: + QModelIndex(); + QModelIndex child(int arow, int acolumn) const; + int row() const; + int column() const; + QVariant data(int role = Qt::ItemDataRole::DisplayRole) const; + Qt::ItemFlags flags() const; + SIP_PYOBJECT internalPointer() const; +%MethodCode + sipRes = reinterpret_cast(sipCpp->internalPointer()); + + if (!sipRes) + sipRes = Py_None; + + Py_INCREF(sipRes); +%End + + SIP_PYOBJECT internalId() const /TypeHint="int"/; +%MethodCode + // Python needs to treat the result as an unsigned value (which may not happen + // on 64 bit systems). Instead we get the real value as it is stored (as a + // void *) and let Python convert that. + sipRes = PyLong_FromVoidPtr(sipCpp->internalPointer()); +%End + + const QAbstractItemModel *model() const; + bool isValid() const; + QModelIndex parent() const; + QModelIndex sibling(int arow, int acolumn) const; +%If (Qt_5_11_0 -) + QModelIndex siblingAtColumn(int column) const; +%End +%If (Qt_5_11_0 -) + QModelIndex siblingAtRow(int row) const; +%End + bool operator==(const QModelIndex &other) const; + bool operator<(const QModelIndex &other) const; + bool operator!=(const QModelIndex &other) const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +class QPersistentModelIndex +{ +%TypeHeaderCode +#include +%End + +public: + QPersistentModelIndex(); + QPersistentModelIndex(const QModelIndex &index); + QPersistentModelIndex(const QPersistentModelIndex &other); + ~QPersistentModelIndex(); + int row() const; + int column() const; + QVariant data(int role = Qt::ItemDataRole::DisplayRole) const; + Qt::ItemFlags flags() const; + QModelIndex parent() const; + QModelIndex sibling(int row, int column) const; + QModelIndex child(int row, int column) const; + const QAbstractItemModel *model() const; + bool isValid() const; + void swap(QPersistentModelIndex &other /Constrained/); + operator const QModelIndex &() const; + bool operator<(const QPersistentModelIndex &other) const; + bool operator==(const QPersistentModelIndex &other) const; + bool operator==(const QModelIndex &other) const; + bool operator!=(const QPersistentModelIndex &other) const; + bool operator!=(const QModelIndex &other) const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +typedef QList QModelIndexList; + +class QAbstractItemModel : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum LayoutChangeHint + { + NoLayoutChangeHint, + VerticalSortHint, + HorizontalSortHint, + }; + + explicit QAbstractItemModel(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractItemModel(); + bool hasIndex(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const = 0; + virtual QModelIndex parent(const QModelIndex &child) const = 0; + QObject *parent() const; + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const = 0; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const = 0; + virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const; + virtual QVariant data(const QModelIndex &index, int role = Qt::ItemDataRole::DisplayRole) const = 0; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::ItemDataRole::EditRole); + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::ItemDataRole::DisplayRole) const; + virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role = Qt::ItemDataRole::EditRole); + virtual QMap itemData(const QModelIndex &index) const; + virtual bool setItemData(const QModelIndex &index, const QMap &roles); + virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QModelIndexList &indexes) const /TransferBack/; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); + virtual Qt::DropActions supportedDropActions() const; + virtual bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool insertColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual void fetchMore(const QModelIndex &parent); + virtual bool canFetchMore(const QModelIndex &parent) const; + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); + virtual QModelIndex buddy(const QModelIndex &index) const; + virtual QModelIndexList match(const QModelIndex &start, int role, const QVariant &value, int hits = 1, Qt::MatchFlags flags = Qt::MatchStartsWith|Qt::MatchWrap) const; + virtual QSize span(const QModelIndex &index) const; + +signals: + void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); + void headerDataChanged(Qt::Orientation orientation, int first, int last); + void layoutAboutToBeChanged(const QList &parents = QList(), QAbstractItemModel::LayoutChangeHint hint = QAbstractItemModel::NoLayoutChangeHint); + void layoutChanged(const QList &parents = QList(), QAbstractItemModel::LayoutChangeHint hint = QAbstractItemModel::NoLayoutChangeHint); + void rowsAboutToBeInserted(const QModelIndex &parent, int first, int last); + void rowsInserted(const QModelIndex &parent, int first, int last); + void rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last); + void rowsRemoved(const QModelIndex &parent, int first, int last); + void columnsAboutToBeInserted(const QModelIndex &parent, int first, int last); + void columnsInserted(const QModelIndex &parent, int first, int last); + void columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last); + void columnsRemoved(const QModelIndex &parent, int first, int last); + void modelAboutToBeReset(); + void modelReset(); + +public slots: + virtual bool submit(); + virtual void revert(); + +protected: + void encodeData(const QModelIndexList &indexes, QDataStream &stream) const; + bool decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream); + void beginInsertRows(const QModelIndex &parent, int first, int last); + void endInsertRows(); + void beginRemoveRows(const QModelIndex &parent, int first, int last); + void endRemoveRows(); + void beginInsertColumns(const QModelIndex &parent, int first, int last); + void endInsertColumns(); + void beginRemoveColumns(const QModelIndex &parent, int first, int last); + void endRemoveColumns(); + QModelIndexList persistentIndexList() const; + void changePersistentIndex(const QModelIndex &from, const QModelIndex &to); + void changePersistentIndexList(const QModelIndexList &from, const QModelIndexList &to); + +public: + bool insertRow(int row, const QModelIndex &parent = QModelIndex()); + bool insertColumn(int column, const QModelIndex &parent = QModelIndex()); + bool removeRow(int row, const QModelIndex &parent = QModelIndex()); + bool removeColumn(int column, const QModelIndex &parent = QModelIndex()); + virtual Qt::DropActions supportedDragActions() const; + virtual QHash roleNames() const; + +protected: + QModelIndex createIndex(int row, int column, SIP_PYOBJECT object = 0) const [QModelIndex (int row, int column, void *object = 0)]; +%MethodCode + // The Qt API is broken (and won't be fixed as it would break binary + // compatibility) regarding the internal id of a model index on different + // architectures (32 vs 64 bits). We choose to work around the breakage as it + // is fairly subtle and continues to catch people out. Instead of letting Qt + // convert betweed an integer id and a pointer id (the internal format used by + // Qt) we let Python do it. + + void *ptr; + + if (a2) + { + // Try and convert it to a Python long and fallback to the object's + // address if it fails. + ptr = PyLong_AsVoidPtr(a2); + + if (PyErr_Occurred()) + { + PyErr_Clear(); + ptr = a2; + } + } + else + { + ptr = 0; + } + + #if defined(SIP_PROTECTED_IS_PUBLIC) + sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr)); + #else + sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr)); + #endif +%End + +signals: + void rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow); + void rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row); + void columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn); + void columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column); + +protected: + bool beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow); + void endMoveRows(); + bool beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn); + void endMoveColumns(); + void beginResetModel() /ReleaseGIL/; + void endResetModel() /ReleaseGIL/; + +protected slots: +%If (Qt_5_1_0 -) + void resetInternalData(); +%End + +public: + virtual bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const; + virtual bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild); + virtual bool moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild); + bool moveRow(const QModelIndex &sourceParent, int sourceRow, const QModelIndex &destinationParent, int destinationChild); + bool moveColumn(const QModelIndex &sourceParent, int sourceColumn, const QModelIndex &destinationParent, int destinationChild); +%If (Qt_5_11_0 -) + + enum class CheckIndexOption + { + NoOption, + IndexIsValid, + DoNotUseParent, + ParentIsInvalid, + }; + +%End +%If (Qt_5_11_0 -) + typedef QFlags CheckIndexOptions; +%End +%If (Qt_5_11_0 -) + bool checkIndex(const QModelIndex &index, QAbstractItemModel::CheckIndexOptions options = QAbstractItemModel::CheckIndexOption::NoOption) const; +%End +}; + +class QAbstractTableModel : QAbstractItemModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractTableModel(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractTableModel(); + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); +%If (Qt_5_1_0 -) + virtual Qt::ItemFlags flags(const QModelIndex &index) const; +%End +%If (Qt_5_2_0 -) + QObject *parent() const; +%End +%If (Qt_5_5_0 -) + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; +%End + +private: + virtual QModelIndex parent(const QModelIndex &child) const; + virtual bool hasChildren(const QModelIndex &parent) const; +}; + +class QAbstractListModel : QAbstractItemModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractListModel(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractListModel(); + virtual QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); +%If (Qt_5_1_0 -) + virtual Qt::ItemFlags flags(const QModelIndex &index) const; +%End +%If (Qt_5_2_0 -) + QObject *parent() const; +%End +%If (Qt_5_5_0 -) + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; +%End + +private: + virtual QModelIndex parent(const QModelIndex &child) const; + virtual int columnCount(const QModelIndex &parent) const; + virtual bool hasChildren(const QModelIndex &parent) const; +}; + +%If (Qt_5_11_0 -) +QFlags operator|(QAbstractItemModel::CheckIndexOption f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractnativeeventfilter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractnativeeventfilter.sip new file mode 100644 index 00000000..ba12744f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractnativeeventfilter.sip @@ -0,0 +1,36 @@ +// qabstractnativeeventfilter.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractNativeEventFilter +{ +%TypeHeaderCode +#include +%End + +public: + QAbstractNativeEventFilter(); + virtual ~QAbstractNativeEventFilter(); + virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) = 0; + +private: + QAbstractNativeEventFilter(const QAbstractNativeEventFilter &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractproxymodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractproxymodel.sip new file mode 100644 index 00000000..9267ce80 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractproxymodel.sip @@ -0,0 +1,81 @@ +// qabstractproxymodel.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractProxyModel : QAbstractItemModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractProxyModel(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractProxyModel(); + virtual void setSourceModel(QAbstractItemModel *sourceModel /KeepReference/); + QAbstractItemModel *sourceModel() const; + virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const = 0; + virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const = 0; + virtual QItemSelection mapSelectionToSource(const QItemSelection &selection) const; + virtual QItemSelection mapSelectionFromSource(const QItemSelection &selection) const; + virtual bool submit(); + virtual void revert(); + virtual QVariant data(const QModelIndex &proxyIndex, int role = Qt::DisplayRole) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); +%If (Qt_5_5_0 -) + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; +%End +%If (- Qt_5_5_0) + virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; +%End + virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role = Qt::EditRole); + virtual QMap itemData(const QModelIndex &index) const; + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + virtual bool setItemData(const QModelIndex &index, const QMap &roles); + virtual QModelIndex buddy(const QModelIndex &index) const; + virtual bool canFetchMore(const QModelIndex &parent) const; + virtual void fetchMore(const QModelIndex &parent); + virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); + virtual QSize span(const QModelIndex &index) const; + virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const; + virtual QMimeData *mimeData(const QModelIndexList &indexes) const /TransferBack/; + virtual QStringList mimeTypes() const; + virtual Qt::DropActions supportedDropActions() const; + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; + +protected slots: +%If (Qt_5_1_0 -) + void resetInternalData(); +%End + +signals: + void sourceModelChanged(); + +public: +%If (Qt_5_4_0 -) + virtual bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const; +%End +%If (Qt_5_4_0 -) + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); +%End +%If (Qt_5_4_0 -) + virtual Qt::DropActions supportedDragActions() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractstate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractstate.sip new file mode 100644 index 00000000..437b648c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstractstate.sip @@ -0,0 +1,49 @@ +// qabstractstate.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractState : QObject +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAbstractState(); + QState *parentState() const; + QStateMachine *machine() const; +%If (Qt_5_4_0 -) + bool active() const; +%End + +signals: +%If (Qt_5_4_0 -) + void activeChanged(bool active); +%End + void entered(); + void exited(); + +protected: + QAbstractState(QState *parent /TransferThis/ = 0); + virtual void onEntry(QEvent *event) = 0; + virtual void onExit(QEvent *event) = 0; + virtual bool event(QEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstracttransition.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstracttransition.sip new file mode 100644 index 00000000..befa541d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qabstracttransition.sip @@ -0,0 +1,110 @@ +// qabstracttransition.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractTransition : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QAbstractTransition(QState *sourceState /TransferThis/ = 0); + virtual ~QAbstractTransition(); + QState *sourceState() const; + QAbstractState *targetState() const; + void setTargetState(QAbstractState *target /KeepReference=0/); + QList targetStates() const; + void setTargetStates(const QList &targets /KeepReference=0/); + QStateMachine *machine() const; + void addAnimation(QAbstractAnimation *animation /GetWrapper/); +%MethodCode + // We want to keep a reference to the animation but this is in addition to the + // existing ones and does not replace them - so we can't use /KeepReference/. + sipCpp->addAnimation(a0); + + // Use the user object as a list of the references. + PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf); + + if (!user) + { + user = PyList_New(0); + sipSetUserObject((sipSimpleWrapper *)sipSelf, user); + } + + if (user) + PyList_Append(user, a0Wrapper); +%End + + void removeAnimation(QAbstractAnimation *animation /GetWrapper/); +%MethodCode + // Discard the extra animation reference that we took in addAnimation(). + sipCpp->removeAnimation(a0); + + // Use the user object as a list of the references. + PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf); + + if (user) + { + Py_ssize_t i = 0; + + // Note that we deal with an object appearing in the list more than once. + while (i < PyList_Size(user)) + if (PyList_GetItem(user, i) == a0Wrapper) + PyList_SetSlice(user, i, i + 1, NULL); + else + ++i; + } +%End + + QList animations() const; + +signals: + void triggered(); +%If (Qt_5_4_0 -) + void targetStateChanged(); +%End +%If (Qt_5_4_0 -) + void targetStatesChanged(); +%End + +protected: + virtual bool eventTest(QEvent *event) = 0; + virtual void onTransition(QEvent *event) = 0; + virtual bool event(QEvent *e); + +public: +%If (Qt_5_5_0 -) + + enum TransitionType + { + ExternalTransition, + InternalTransition, + }; + +%End +%If (Qt_5_5_0 -) + QAbstractTransition::TransitionType transitionType() const; +%End +%If (Qt_5_5_0 -) + void setTransitionType(QAbstractTransition::TransitionType type); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qanimationgroup.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qanimationgroup.sip new file mode 100644 index 00000000..fbec9bdd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qanimationgroup.sip @@ -0,0 +1,43 @@ +// qanimationgroup.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAnimationGroup : QAbstractAnimation +{ +%TypeHeaderCode +#include +%End + +public: + QAnimationGroup(QObject *parent /TransferThis/ = 0); + virtual ~QAnimationGroup(); + QAbstractAnimation *animationAt(int index) const; + int animationCount() const; + int indexOfAnimation(QAbstractAnimation *animation) const; + void addAnimation(QAbstractAnimation *animation /Transfer/); + void insertAnimation(int index, QAbstractAnimation *animation /Transfer/); + void removeAnimation(QAbstractAnimation *animation /TransferBack/); + QAbstractAnimation *takeAnimation(int index) /TransferBack/; + void clear(); + +protected: + virtual bool event(QEvent *event); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbasictimer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbasictimer.sip new file mode 100644 index 00000000..c7a4be44 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbasictimer.sip @@ -0,0 +1,43 @@ +// qbasictimer.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QBasicTimer +{ +%TypeHeaderCode +#include +%End + +public: + QBasicTimer(); +%If (Qt_5_14_0 -) + QBasicTimer(const QBasicTimer &); +%End + ~QBasicTimer(); + bool isActive() const; + int timerId() const; + void start(int msec, Qt::TimerType timerType, QObject *obj); + void start(int msec, QObject *obj); + void stop(); +%If (Qt_5_14_0 -) + void swap(QBasicTimer &other /Constrained/); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbitarray.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbitarray.sip new file mode 100644 index 00000000..9a653596 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbitarray.sip @@ -0,0 +1,94 @@ +// qbitarray.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QBitArray +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// This is needed by __hash__(). +#include +%End + +public: + QBitArray(); + QBitArray(int size, bool value = false); + QBitArray(const QBitArray &other); + int size() const; + int count() const /__len__/; + int count(bool on) const; + bool isEmpty() const; + bool isNull() const; + void resize(int size); + void detach(); + bool isDetached() const; + void clear(); + QBitArray &operator&=(const QBitArray &); + QBitArray &operator|=(const QBitArray &); + QBitArray &operator^=(const QBitArray &); + QBitArray operator~() const; + bool operator==(const QBitArray &a) const; + bool operator!=(const QBitArray &a) const; + void fill(bool val, int first, int last); + void truncate(int pos); + bool fill(bool value, int size = -1); + bool testBit(int i) const; + void setBit(int i); + void clearBit(int i); + void setBit(int i, bool val); + bool toggleBit(int i); + bool operator[](int i) const; +%MethodCode + Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + + if (idx < 0) + sipIsErr = 1; + else + sipRes = sipCpp->operator[]((int)idx); +%End + + bool at(int i) const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + + void swap(QBitArray &other /Constrained/); +%If (Qt_5_11_0 -) + SIP_PYOBJECT bits() const /TypeHint="bytes"/; +%MethodCode + return PyBytes_FromStringAndSize(sipCpp->bits(), (sipCpp->size() + 7) / 8); +%End + +%End +%If (Qt_5_11_0 -) + static QBitArray fromBits(const char *data /Encoding="None"/, Py_ssize_t len) [QBitArray (const char *data, qsizetype len)]; +%End +}; + +QBitArray operator&(const QBitArray &, const QBitArray &); +QBitArray operator|(const QBitArray &, const QBitArray &); +QBitArray operator^(const QBitArray &, const QBitArray &); +QDataStream &operator<<(QDataStream &, const QBitArray & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QBitArray & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbuffer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbuffer.sip new file mode 100644 index 00000000..2af75df9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbuffer.sip @@ -0,0 +1,88 @@ +// qbuffer.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QBuffer : QIODevice +{ +%TypeHeaderCode +#include +%End + +public: + explicit QBuffer(QObject *parent /TransferThis/ = 0); + QBuffer(QByteArray *byteArray /Constrained/, QObject *parent /TransferThis/ = 0); + virtual ~QBuffer(); + QByteArray &buffer(); + const QByteArray &data() const; + void setBuffer(QByteArray *a /Constrained/); + void setData(const QByteArray &data); + void setData(const char *adata /Array/, int alen /ArraySize/); + virtual bool open(QIODevice::OpenMode openMode); + virtual void close(); + virtual qint64 size() const; + virtual qint64 pos() const; + virtual bool seek(qint64 off); + virtual bool atEnd() const; + virtual bool canReadLine() const; + +protected: + virtual SIP_PYOBJECT readData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QBuffer::readData(s, a0) : sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual qint64 writeData(const char *data /Array/, qint64 len /ArraySize/) /ReleaseGIL/; + virtual void connectNotify(const QMetaMethod &); + virtual void disconnectNotify(const QMetaMethod &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbytearray.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbytearray.sip new file mode 100644 index 00000000..5fef3648 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbytearray.sip @@ -0,0 +1,546 @@ +// qbytearray.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QByteArray /TypeHintIn="Union[QByteArray, bytes, bytearray]"/ +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// This is needed by __hash__(). +#include + + +// Convenience function for converting a QByteArray to a Python str object. +static PyObject *QByteArrayToPyStr(QByteArray *ba) +{ + char *data = ba->data(); + + if (data) + // QByteArrays may have embedded '\0's so set the size explicitly. + return SIPBytes_FromStringAndSize(data, ba->size()); + + return SIPBytes_FromString(""); +} +%End + +%ConvertToTypeCode +// We have to be very careful about what we allow to be converted to a +// QByteArray and to a QString as we need to take into account the v1 and v2 +// APIs and Python v2.x and v3.x. +// +// QSvgRenderer() is a good example of what needs to work "naturally". This +// has a ctor that takes a QString argument that is the name of the SVG file. +// It has another ctor that takes a QByteArray argument that is the SVG data. +// +// In Python v2.x we want a str object to be interpreted as the name of the +// file (as that is the historical behaviour). This has the following +// implications. +// +// - The QString version of the ctor must appear before the QByteArray version +// in the .sip file. This rule should be applied wherever a similar +// situation arises. +// - A QString must not automatically convert a QByteArray. +// - QByteArray must also exist in the v2 API. +// +// In Python v3.x we want a bytes object to be used wherever a QByteArray is +// expected. This means that a QString must not automatically convert a bytes +// object. +// +// In PyQt v5.4 and earlier a QByteArray could be created from a Latin-1 +// encoded string. This was a mistaken attempt to ease the porting of Python2 +// code to Python3. + +if (sipIsErr == NULL) + return (PyByteArray_Check(sipPy) || SIPBytes_Check(sipPy) || + sipCanConvertToType(sipPy, sipType_QByteArray, SIP_NO_CONVERTORS)); + +if (PyByteArray_Check(sipPy)) +{ + *sipCppPtr = new QByteArray(PyByteArray_AsString(sipPy), + PyByteArray_Size(sipPy)); + + return sipGetState(sipTransferObj); +} + +if (SIPBytes_Check(sipPy)) +{ + *sipCppPtr = new QByteArray(SIPBytes_AsString(sipPy), + SIPBytes_Size(sipPy)); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, + sipType_QByteArray, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End + +%BIGetBufferCode + #if defined(Py_LIMITED_API) + Q_UNUSED(sipSelf); + + sipBuffer->bd_buffer = sipCpp->data(); + sipBuffer->bd_length = sipCpp->size(); + sipBuffer->bd_readonly = 0; + sipRes = 0; + #else + sipRes = PyBuffer_FillInfo(sipBuffer, sipSelf, sipCpp->data(), + sipCpp->size(), 0, sipFlags); + #endif +%End + +%BIGetReadBufferCode + if (sipSegment != 0) + { + PyErr_SetString(PyExc_SystemError, "accessing non-existent QByteArray segment"); + sipRes = -1; + } + else + { + *sipPtrPtr = (void *)sipCpp->data(); + sipRes = sipCpp->size(); + } +%End + +%BIGetSegCountCode + if (sipLenPtr) + *sipLenPtr = sipCpp->size(); + + sipRes = 1; +%End + +%BIGetCharBufferCode + if (sipSegment != 0) + { + PyErr_SetString(PyExc_SystemError, "accessing non-existent QByteArray segment"); + sipRes = -1; + } + else + { + *sipPtrPtr = (void *)sipCpp->data(); + sipRes = sipCpp->size(); + } +%End + +%PickleCode + #if PY_MAJOR_VERSION >= 3 + sipRes = Py_BuildValue((char *)"(y#)", sipCpp->data(), static_cast(sipCpp->size())); + #else + sipRes = Py_BuildValue((char *)"(s#)", sipCpp->data(), static_cast(sipCpp->size())); + #endif +%End + +public: + QByteArray(); + QByteArray(int size, char c); + QByteArray(const QByteArray &a); + ~QByteArray(); + void resize(int size); + QByteArray &fill(char ch, int size = -1); + void clear(); + int indexOf(const QByteArray &ba, int from = 0) const; + int indexOf(const QString &str, int from = 0) const; + int lastIndexOf(const QByteArray &ba, int from = -1) const; + int lastIndexOf(const QString &str, int from = -1) const; + int count(const QByteArray &a) const; + QByteArray left(int len) const; + QByteArray right(int len) const; + QByteArray mid(int pos, int length = -1) const; + bool startsWith(const QByteArray &a) const; + bool endsWith(const QByteArray &a) const; + void truncate(int pos); + void chop(int n); + QByteArray toLower() const; + QByteArray toUpper() const; + QByteArray trimmed() const; + QByteArray simplified() const; + QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; + QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; + QByteArray &prepend(const QByteArray &a); + QByteArray &append(const QByteArray &a); + QByteArray &append(const QString &s); + QByteArray &insert(int i, const QByteArray &a); + QByteArray &insert(int i, const QString &s); + QByteArray &remove(int index, int len); + QByteArray &replace(int index, int len, const QByteArray &s); + QByteArray &replace(const QByteArray &before, const QByteArray &after); + QByteArray &replace(const QString &before, const QByteArray &after); + QList split(char sep) const; + QByteArray &operator+=(const QByteArray &a); + QByteArray &operator+=(const QString &s); + bool operator==(const QString &s2) const; + bool operator!=(const QString &s2) const; + bool operator<(const QString &s2) const; + bool operator>(const QString &s2) const; + bool operator<=(const QString &s2) const; + bool operator>=(const QString &s2) const; + short toShort(bool *ok = 0, int base = 10) const; + ushort toUShort(bool *ok = 0, int base = 10) const; + int toInt(bool *ok = 0, int base = 10) const; + uint toUInt(bool *ok = 0, int base = 10) const; + long toLong(bool *ok = 0, int base = 10) const; + ulong toULong(bool *ok = 0, int base = 10) const; + qlonglong toLongLong(bool *ok = 0, int base = 10) const; + qulonglong toULongLong(bool *ok = 0, int base = 10) const; + float toFloat(bool *ok = 0) const; + double toDouble(bool *ok = 0) const; + QByteArray toBase64() const; + QByteArray &setNum(double n /Constrained/, char format = 'g', int precision = 6); + QByteArray &setNum(SIP_PYOBJECT n /TypeHint="int"/, int base = 10); +%MethodCode + #if PY_MAJOR_VERSION < 3 + if (PyInt_Check(a0)) + { + qlonglong val = PyInt_AsLong(a0); + + sipRes = &sipCpp->setNum(val, a1); + } + else + #endif + { + qlonglong val = sipLong_AsLongLong(a0); + + if (!PyErr_Occurred()) + { + sipRes = &sipCpp->setNum(val, a1); + } + else + { + // If it is positive then it might fit an unsigned long long. + + qulonglong uval = sipLong_AsUnsignedLongLong(a0); + + if (!PyErr_Occurred()) + { + sipRes = &sipCpp->setNum(uval, a1); + } + else + { + sipError = (PyErr_ExceptionMatches(PyExc_OverflowError) + ? sipErrorFail : sipErrorContinue); + } + } + } +%End + + static QByteArray number(double n /Constrained/, char format = 'g', int precision = 6); + static QByteArray number(SIP_PYOBJECT n /TypeHint="int"/, int base = 10); +%MethodCode + #if PY_MAJOR_VERSION < 3 + if (PyInt_Check(a0)) + { + qlonglong val = PyInt_AsLong(a0); + + sipRes = new QByteArray(QByteArray::number(val, a1)); + } + else + #endif + { + qlonglong val = sipLong_AsLongLong(a0); + + if (!PyErr_Occurred()) + { + sipRes = new QByteArray(QByteArray::number(val, a1)); + } + else + { + // If it is positive then it might fit an unsigned long long. + + qulonglong uval = sipLong_AsUnsignedLongLong(a0); + + if (!PyErr_Occurred()) + { + sipRes = new QByteArray(QByteArray::number(uval, a1)); + } + else + { + sipError = (PyErr_ExceptionMatches(PyExc_OverflowError) + ? sipErrorFail : sipErrorContinue); + } + } + } +%End + + static QByteArray fromBase64(const QByteArray &base64); + static QByteArray fromRawData(const char * /Array/, int size /ArraySize/); + static QByteArray fromHex(const QByteArray &hexEncoded); + int count() const /__len__/; + int length() const; + bool isNull() const; + int size() const; + char at(int i) const /Encoding="None"/; + char operator[](int i) const /Encoding="None"/; +%MethodCode + Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + + if (idx < 0) + sipIsErr = 1; + else + sipRes = sipCpp->operator[]((int)idx); +%End + + QByteArray operator[](SIP_PYSLICE slice) const; +%MethodCode + Py_ssize_t start, stop, step, slicelength; + + if (sipConvertFromSliceObject(a0, sipCpp->length(), &start, &stop, &step, &slicelength) < 0) + { + sipIsErr = 1; + } + else + { + sipRes = new QByteArray(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + sipRes -> append(sipCpp->at(start)); + start += step; + } + } +%End + + int __contains__(const QByteArray &a) const; +%MethodCode + // It looks like you can't assign QBool to int. + sipRes = bool(sipCpp->contains(*a0)); +%End + + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + + SIP_PYOBJECT __str__() const /TypeHint="str"/; +%MethodCode + sipRes = QByteArrayToPyStr(sipCpp); + + #if PY_MAJOR_VERSION >= 3 + PyObject *repr = PyObject_Repr(sipRes); + + if (repr) + { + Py_DECREF(sipRes); + sipRes = repr; + } + #endif +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QByteArray()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QByteArray()"); + #endif + } + else + { + PyObject *str = QByteArrayToPyStr(sipCpp); + + if (str) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QByteArray(%R)", str); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QByteArray("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(str)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + + Py_DECREF(str); + } + } +%End + + QByteArray operator*(int m) const; +%MethodCode + sipRes = new QByteArray(); + + while (a0-- > 0) + *sipRes += *sipCpp; +%End + + QByteArray &operator*=(int m); +%MethodCode + QByteArray orig(*sipCpp); + + sipCpp->clear(); + + while (a0-- > 0) + *sipCpp += orig; +%End + + bool isEmpty() const; + SIP_PYOBJECT data() /TypeHint="Py_v3:bytes;str"/; +%MethodCode + // QByteArrays may contain embedded '\0's so set the size explicitly. + + char *res = sipCpp->data(); + int len = sipCpp->size(); + + if (res) + { + if ((sipRes = SIPBytes_FromStringAndSize(res, len)) == NULL) + sipIsErr = 1; + } + else + { + Py_INCREF(Py_None); + sipRes = Py_None; + } +%End + + int capacity() const; + void reserve(int size); + void squeeze(); + void push_back(const QByteArray &a); + void push_front(const QByteArray &a); + bool contains(const QByteArray &a) const; + QByteArray toHex() const; + QByteArray toPercentEncoding(const QByteArray &exclude = QByteArray(), const QByteArray &include = QByteArray(), char percent = '%') const; + static QByteArray fromPercentEncoding(const QByteArray &input, char percent = '%'); + QByteArray repeated(int times) const; + void swap(QByteArray &other /Constrained/); +%If (Qt_5_2_0 -) + + enum Base64Option + { + Base64Encoding, + Base64UrlEncoding, + KeepTrailingEquals, + OmitTrailingEquals, +%If (Qt_5_15_0 -) + IgnoreBase64DecodingErrors, +%End +%If (Qt_5_15_0 -) + AbortOnBase64DecodingErrors, +%End + }; + +%End +%If (Qt_5_2_0 -) + typedef QFlags Base64Options; +%End +%If (Qt_5_2_0 -) + QByteArray toBase64(QByteArray::Base64Options options) const; +%End +%If (Qt_5_2_0 -) + static QByteArray fromBase64(const QByteArray &base64, QByteArray::Base64Options options); +%End +%If (Qt_5_7_0 -) + QByteArray &prepend(int count, char c /Encoding="None"/); +%End +%If (Qt_5_7_0 -) + QByteArray &append(int count, char c /Encoding="None"/); +%End +%If (Qt_5_7_0 -) + QByteArray &insert(int i, int count, char c /Encoding="None"/); +%End +%If (Qt_5_9_0 -) + QByteArray toHex(char separator) const; +%End +%If (Qt_5_10_0 -) + QByteArray chopped(int len) const; +%End +%If (Qt_5_12_0 -) + int compare(const QByteArray &a, Qt::CaseSensitivity cs = Qt::CaseSensitive) const; +%End +%If (Qt_5_12_0 -) + bool isUpper() const; +%End +%If (Qt_5_12_0 -) + bool isLower() const; +%End +%If (Qt_5_15_0 -) + + enum class Base64DecodingStatus + { + Ok, + IllegalInputLength, + IllegalCharacter, + IllegalPadding, + }; + +%End +%If (Qt_5_15_0 -) + static QByteArray::FromBase64Result fromBase64Encoding(const QByteArray &base64, QByteArray::Base64Options options = QByteArray::Base64Encoding); +%End +%If (Qt_5_15_0 -) + + class FromBase64Result + { +%TypeHeaderCode +#include +%End + + public: + QByteArray decoded; + QByteArray::Base64DecodingStatus decodingStatus; + void swap(QByteArray::FromBase64Result &other /Constrained/); + operator bool() const; +%MethodCode + // This is required because SIP doesn't handle operator bool() properly. + sipRes = sipCpp->operator bool(); +%End + + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + }; + +%End +}; + +bool operator==(const QByteArray &a1, const QByteArray &a2); +bool operator!=(const QByteArray &a1, const QByteArray &a2); +bool operator<(const QByteArray &a1, const QByteArray &a2); +bool operator<=(const QByteArray &a1, const QByteArray &a2); +bool operator>(const QByteArray &a1, const QByteArray &a2); +bool operator>=(const QByteArray &a1, const QByteArray &a2); +const QByteArray operator+(const QByteArray &a1, const QByteArray &a2); +QDataStream &operator<<(QDataStream &, const QByteArray & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QByteArray & /Constrained/) /ReleaseGIL/; +QByteArray qCompress(const QByteArray &data, int compressionLevel = -1); +QByteArray qUncompress(const QByteArray &data); +%If (Qt_5_2_0 -) +QFlags operator|(QByteArray::Base64Option f1, QFlags f2); +%End +quint16 qChecksum(const char *s /Array/, uint len /ArraySize/); +%If (Qt_5_9_0 -) +quint16 qChecksum(const char *s /Array/, uint len /ArraySize/, Qt::ChecksumType standard); +%End +%If (Qt_5_15_0 -) +bool operator==(const QByteArray::FromBase64Result &lhs, const QByteArray::FromBase64Result &rhs); +%End +%If (Qt_5_15_0 -) +bool operator!=(const QByteArray::FromBase64Result &lhs, const QByteArray::FromBase64Result &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbytearraymatcher.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbytearraymatcher.sip new file mode 100644 index 00000000..280bf17f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qbytearraymatcher.sip @@ -0,0 +1,37 @@ +// qbytearraymatcher.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QByteArrayMatcher +{ +%TypeHeaderCode +#include +%End + +public: + QByteArrayMatcher(); + explicit QByteArrayMatcher(const QByteArray &pattern); + QByteArrayMatcher(const QByteArrayMatcher &other); + ~QByteArrayMatcher(); + void setPattern(const QByteArray &pattern); + int indexIn(const QByteArray &ba, int from = 0) const; + QByteArray pattern() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcalendar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcalendar.sip new file mode 100644 index 00000000..7693b147 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcalendar.sip @@ -0,0 +1,100 @@ +// qcalendar.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_14_0 -) + +class QCalendar +{ +%TypeHeaderCode +#include +%End + +public: + enum + { + Unspecified, + }; + + struct YearMonthDay + { +%TypeHeaderCode +#include +%End + + YearMonthDay(); + YearMonthDay(int year, int month = 1, int day = 1); + bool isValid() const; + int year; + int month; + int day; + }; + + enum class System + { + Gregorian, + Julian, + Milankovic, + Jalali, + IslamicCivil, + }; + + QCalendar(); + explicit QCalendar(QCalendar::System system); + explicit QCalendar(const char *name /Encoding="Latin-1"/) [(QLatin1String name)]; +%MethodCode + // This is currently the only occurence of a QLatin1String argument. + sipCpp = new QCalendar(QLatin1String(a0)); +%End + + int daysInMonth(int month, int year = QCalendar::Unspecified) const; + int daysInYear(int year) const; + int monthsInYear(int year) const; + bool isDateValid(int year, int month, int day) const; + bool isLeapYear(int year) const; + bool isGregorian() const; + bool isLunar() const; + bool isLuniSolar() const; + bool isSolar() const; + bool isProleptic() const; + bool hasYearZero() const; + int maximumDaysInMonth() const; + int minimumDaysInMonth() const; + int maximumMonthsInYear() const; + QString name() const; + QDate dateFromParts(int year, int month, int day) const; + QDate dateFromParts(const QCalendar::YearMonthDay &parts) const; + QCalendar::YearMonthDay partsFromDate(QDate date) const; + int dayOfWeek(QDate date) const; + QString monthName(const QLocale &locale, int month, int year = QCalendar::Unspecified, QLocale::FormatType format = QLocale::LongFormat) const; + QString standaloneMonthName(const QLocale &locale, int month, int year = QCalendar::Unspecified, QLocale::FormatType format = QLocale::LongFormat) const; + QString weekDayName(const QLocale &locale, int day, QLocale::FormatType format = QLocale::LongFormat) const; + QString standaloneWeekDayName(const QLocale &locale, int day, QLocale::FormatType format = QLocale::LongFormat) const; + QString dateTimeToString(const QString &format, const QDateTime &datetime, const QDate &dateOnly, const QTime &timeOnly, const QLocale &locale) const; +%MethodCode + // QStringView has issues being implemented as a mapped type. + sipRes = new QString(sipCpp->dateTimeToString(QStringView(*a0), *a1, *a2, *a3, *a4)); +%End + + static QStringList availableCalendars(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcborcommon.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcborcommon.sip new file mode 100644 index 00000000..117d4a78 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcborcommon.sip @@ -0,0 +1,108 @@ +// qcborcommon.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) +%ModuleCode +#include +%End +%End + +%If (Qt_5_12_0 -) + +enum class QCborSimpleType +{ + False /PyName=False_/, + True /PyName=True_/, + Null, + Undefined, +}; + +%End +%If (Qt_5_12_0 -) + +struct QCborError +{ +%TypeHeaderCode +#include +%End + + enum Code + { + UnknownError, + AdvancePastEnd, + InputOutputError, + GarbageAtEnd, + EndOfFile, + UnexpectedBreak, + UnknownType, + IllegalType, + IllegalNumber, + IllegalSimpleType, + InvalidUtf8String, + DataTooLarge, + NestingTooDeep, + UnsupportedType, + NoError, + }; + +// Error code access +// This class is currently undocumented. Access to the error code is via a +// cast (which SIP doesn't support) or a badly named instance variable. To be +// safe we implement a more Qt-typical solution. +QCborError::Code code() const; +%MethodCode + sipRes = sipCpp->c; +%End + QString toString() const; +}; + +%End +%If (Qt_5_12_0 -) + +enum class QCborKnownTags +{ + DateTimeString, + UnixTime_t, + PositiveBignum, + NegativeBignum, + Decimal, + Bigfloat, + COSE_Encrypt0, + COSE_Mac0, + COSE_Sign1, + ExpectedBase64url, + ExpectedBase64, + ExpectedBase16, + EncodedCbor, + Url, + Base64url, + Base64, + RegularExpression, + MimeMessage, + Uuid, + COSE_Encrypt, + COSE_Mac, + COSE_Sign, + Signature, +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcborstream.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcborstream.sip new file mode 100644 index 00000000..13d4d05b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcborstream.sip @@ -0,0 +1,234 @@ +// qcborstream.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) + +class QCborStreamWriter +{ +%TypeHeaderCode +#include +%End + +public: + explicit QCborStreamWriter(QIODevice *device); + explicit QCborStreamWriter(QByteArray *data); + ~QCborStreamWriter(); + void setDevice(QIODevice *device); + QIODevice *device() const; + void append(QCborSimpleType st); + void append(QCborKnownTags tag); + void append(const QString &str) [void (QStringView str)]; + void append(const QByteArray &ba); + void append(bool b /Constrained/); + void append(double d /Constrained/); +%MethodCode + // Use the smallest type without losing precision. + + qfloat16 a0_16 = a0; + + if (qIsNaN(a0) || a0_16 == a0) + { + sipCpp->append(a0_16); + } + else + { + float a0_float = a0; + + if (a0_float == a0) + sipCpp->append(a0_float); + else + sipCpp->append(a0); + } +%End + + void append(SIP_PYOBJECT /TypeHint="int"/); +%MethodCode + #if PY_MAJOR_VERSION < 3 + if (PyLong_Check(a0)) + #endif + { + static PyObject *zero = 0; + + if (!zero) + zero = PyLong_FromLong(0); + + if (PyObject_RichCompareBool(a0, zero, Py_LT) > 0) + { + PyErr_Clear(); + qint64 val = sipLong_AsLongLong(a0); + + if (PyErr_Occurred()) + sipError = sipErrorFail; + else + sipCpp->append(val); + } + else + { + PyErr_Clear(); + quint64 val = sipLong_AsUnsignedLongLong(a0); + + if (PyErr_Occurred()) + sipError = sipErrorFail; + else + sipCpp->append(val); + } + } + #if PY_MAJOR_VERSION < 3 + else if (PyInt_Check(a0)) + { + PyErr_Clear(); + long val = PyInt_AsLong(a0); + + if (PyErr_Occurred()) + sipError = sipErrorFail; + else if (val < 0) + sipCpp->append((qint64)val); + else + sipCpp->append((quint64)val); + } + #endif +%End + + void appendNull(); + void appendUndefined(); + void startArray(); + void startArray(quint64 count); + bool endArray(); + void startMap(); + void startMap(quint64 count); + bool endMap(); + +private: + QCborStreamWriter(const QCborStreamWriter &); +}; + +%End +%If (Qt_5_12_0 -) + +class QCborStreamReader +{ +%TypeHeaderCode +#include +%End + +public: + enum Type + { + UnsignedInteger, + NegativeInteger, + ByteString, + ByteArray, + TextString, + String, + Array, + Map, + Tag, + SimpleType, + HalfFloat, + Float16, + Float, + Double, + Invalid, + }; + + enum StringResultCode + { + EndOfString, + Ok, + Error, + }; + + QCborStreamReader(); + explicit QCborStreamReader(const QByteArray &data); + explicit QCborStreamReader(QIODevice *device); + ~QCborStreamReader(); + void setDevice(QIODevice *device); + QIODevice *device() const; + void addData(const QByteArray &data); + void reparse(); + void clear(); + void reset(); + QCborError lastError(); + qint64 currentOffset() const; + bool isValid() const; + int containerDepth() const; + QCborStreamReader::Type parentContainerType() const; + bool hasNext() const; + bool next(int maxRecursion = 10000); + QCborStreamReader::Type type() const; + bool isUnsignedInteger() const; + bool isNegativeInteger() const; + bool isInteger() const; + bool isByteArray() const; + bool isString() const; + bool isArray() const; + bool isMap() const; + bool isTag() const; + bool isSimpleType() const; + bool isFloat16() const; + bool isFloat() const; + bool isDouble() const; + bool isInvalid() const; + bool isSimpleType(QCborSimpleType st) const; + bool isFalse() const; + bool isTrue() const; + bool isBool() const; + bool isNull() const; + bool isUndefined() const; + bool isLengthKnown() const; + quint64 length() const /__len__/; + bool isContainer() const; + bool enterContainer(); + bool leaveContainer(); + SIP_PYTUPLE readString() /TypeHint="Tuple[str, QCborStreamReader.StringResultCode]"/; +%MethodCode + QCborStreamReader::StringResult res = sipCpp->readString(); + + QString *qs = new QString; + if (res.status != QCborStreamReader::Error) + *qs = res.data; + + sipRes = sipBuildResult(NULL, "NF", qs, sipType_QString, NULL, res.status, sipType_QCborStreamReader_StringResultCode); +%End + + SIP_PYTUPLE readByteArray() /TypeHint="Tuple[QByteArray, QCborStreamReader.StringResultCode]"/; +%MethodCode + QCborStreamReader::StringResult res = sipCpp->readByteArray(); + + QByteArray *qba = new QByteArray; + if (res.status != QCborStreamReader::Error) + *qba = res.data; + + sipRes = sipBuildResult(NULL, "NF", qba, sipType_QByteArray, NULL, res.status, sipType_QCborStreamReader_StringResultCode); +%End + + bool toBool() const; + quint64 toUnsignedInteger() const; + QCborSimpleType toSimpleType() const; + double toDouble() const; + qint64 toInteger() const; + +private: + QCborStreamReader(const QCborStreamReader &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qchar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qchar.sip new file mode 100644 index 00000000..b26d309d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qchar.sip @@ -0,0 +1,55 @@ +// qchar.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +// QChar mapped type. +%MappedType QChar /TypeHint="str",TypeHintValue="''"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +if (sipIsErr == NULL) +#if PY_MAJOR_VERSION < 3 + return (PyString_Check(sipPy) || PyUnicode_Check(sipPy)); +#else + return PyUnicode_Check(sipPy); +#endif + +QString qs = qpycore_PyObject_AsQString(sipPy); + +if (qs.size() != 1) +{ + PyErr_SetString(PyExc_ValueError, "string of length 1 expected"); + *sipIsErr = 1; + return 0; +} + +*sipCppPtr = new QChar(qs.at(0)); + +return sipGetState(sipTransferObj); +%End + +%ConvertFromTypeCode + return qpycore_PyObject_FromQString(QString(*sipCpp)); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcollator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcollator.sip new file mode 100644 index 00000000..fae8752c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcollator.sip @@ -0,0 +1,70 @@ +// qcollator.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QCollatorSortKey +{ +%TypeHeaderCode +#include +%End + +public: + QCollatorSortKey(const QCollatorSortKey &other); + ~QCollatorSortKey(); + void swap(QCollatorSortKey &other /Constrained/); + int compare(const QCollatorSortKey &key) const; + +private: + QCollatorSortKey(); +}; + +%End +%If (Qt_5_2_0 -) +bool operator<(const QCollatorSortKey &lhs, const QCollatorSortKey &rhs); +%End +%If (Qt_5_2_0 -) + +class QCollator +{ +%TypeHeaderCode +#include +%End + +public: + explicit QCollator(const QLocale &locale = QLocale()); + QCollator(const QCollator &); + ~QCollator(); + void swap(QCollator &other /Constrained/); + void setLocale(const QLocale &locale); + QLocale locale() const; + Qt::CaseSensitivity caseSensitivity() const; + void setCaseSensitivity(Qt::CaseSensitivity cs); + void setNumericMode(bool on); + bool numericMode() const; + void setIgnorePunctuation(bool on); + bool ignorePunctuation() const; + int compare(const QString &s1, const QString &s2) const; + QCollatorSortKey sortKey(const QString &string) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcommandlineoption.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcommandlineoption.sip new file mode 100644 index 00000000..5da4c328 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcommandlineoption.sip @@ -0,0 +1,90 @@ +// qcommandlineoption.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QCommandLineOption +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_4_0 -) + explicit QCommandLineOption(const QString &name); +%End +%If (Qt_5_4_0 -) + explicit QCommandLineOption(const QStringList &names); +%End +%If (Qt_5_4_0 -) + QCommandLineOption(const QString &name, const QString &description, const QString &valueName = QString(), const QString &defaultValue = QString()); +%End +%If (- Qt_5_4_0) + QCommandLineOption(const QString &name, const QString &description = QString(), const QString &valueName = QString(), const QString &defaultValue = QString()); +%End +%If (Qt_5_4_0 -) + QCommandLineOption(const QStringList &names, const QString &description, const QString &valueName = QString(), const QString &defaultValue = QString()); +%End +%If (- Qt_5_4_0) + QCommandLineOption(const QStringList &names, const QString &description = QString(), const QString &valueName = QString(), const QString &defaultValue = QString()); +%End + QCommandLineOption(const QCommandLineOption &other); + ~QCommandLineOption(); + void swap(QCommandLineOption &other /Constrained/); + QStringList names() const; + void setValueName(const QString &name); + QString valueName() const; + void setDescription(const QString &description); + QString description() const; + void setDefaultValue(const QString &defaultValue); + void setDefaultValues(const QStringList &defaultValues); + QStringList defaultValues() const; +%If (Qt_5_6_0 -) + void setHidden(bool hidden); +%End +%If (Qt_5_6_0 -) + bool isHidden() const; +%End +%If (Qt_5_8_0 -) + + enum Flag + { + HiddenFromHelp, + ShortOptionStyle, + }; + +%End +%If (Qt_5_8_0 -) + typedef QFlags Flags; +%End +%If (Qt_5_8_0 -) + QCommandLineOption::Flags flags() const; +%End +%If (Qt_5_8_0 -) + void setFlags(QCommandLineOption::Flags aflags); +%End +}; + +%End +%If (Qt_5_8_0 -) +QFlags operator|(QCommandLineOption::Flag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcommandlineparser.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcommandlineparser.sip new file mode 100644 index 00000000..758c3a48 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcommandlineparser.sip @@ -0,0 +1,87 @@ +// qcommandlineparser.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QCommandLineParser +{ +%TypeHeaderCode +#include +%End + +public: + QCommandLineParser(); + ~QCommandLineParser(); + + enum SingleDashWordOptionMode + { + ParseAsCompactedShortOptions, + ParseAsLongOptions, + }; + + void setSingleDashWordOptionMode(QCommandLineParser::SingleDashWordOptionMode parsingMode); + bool addOption(const QCommandLineOption &commandLineOption); + QCommandLineOption addVersionOption(); + QCommandLineOption addHelpOption(); + void setApplicationDescription(const QString &description); + QString applicationDescription() const; + void addPositionalArgument(const QString &name, const QString &description, const QString &syntax = QString()); + void clearPositionalArguments(); + void process(const QStringList &arguments) /ReleaseGIL/; + void process(const QCoreApplication &app) /ReleaseGIL/; + bool parse(const QStringList &arguments); + QString errorText() const; + bool isSet(const QString &name) const; + QString value(const QString &name) const; + QStringList values(const QString &name) const; + bool isSet(const QCommandLineOption &option) const; + QString value(const QCommandLineOption &option) const; + QStringList values(const QCommandLineOption &option) const; + QStringList positionalArguments() const; + QStringList optionNames() const; + QStringList unknownOptionNames() const; + void showHelp(int exitCode = 0) /ReleaseGIL/; + QString helpText() const; +%If (Qt_5_4_0 -) + bool addOptions(const QList &options); +%End +%If (Qt_5_4_0 -) + void showVersion(); +%End +%If (Qt_5_6_0 -) + + enum OptionsAfterPositionalArgumentsMode + { + ParseAsOptions, + ParseAsPositionalArguments, + }; + +%End +%If (Qt_5_6_0 -) + void setOptionsAfterPositionalArgumentsMode(QCommandLineParser::OptionsAfterPositionalArgumentsMode mode); +%End + +private: + QCommandLineParser(const QCommandLineParser &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qconcatenatetablesproxymodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qconcatenatetablesproxymodel.sip new file mode 100644 index 00000000..8860402a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qconcatenatetablesproxymodel.sip @@ -0,0 +1,96 @@ +// qconcatenatetablesproxymodel.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_13_0 -) + +class QConcatenateTablesProxyModel : QAbstractItemModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QConcatenateTablesProxyModel(QObject *parent /TransferThis/ = 0); + virtual ~QConcatenateTablesProxyModel(); + void addSourceModel(QAbstractItemModel *sourceModel /GetWrapper/); +%MethodCode + // We want to keep a reference to the model but this is in addition to the + // existing ones and does not replace them - so we can't use /KeepReference/. + sipCpp->addSourceModel(a0); + + // Use the user object as a list of the references. + PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf); + + if (!user) + { + user = PyList_New(0); + sipSetUserObject((sipSimpleWrapper *)sipSelf, user); + } + + if (user) + PyList_Append(user, a0Wrapper); +%End + + void removeSourceModel(QAbstractItemModel *sourceModel /GetWrapper/); +%MethodCode + // Discard the extra model reference that we took in addSourceModel(). + sipCpp->removeSourceModel(a0); + + // Use the user object as a list of the references. + PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf); + + if (user) + { + Py_ssize_t i = 0; + + // Note that we deal with an object appearing in the list more than once. + while (i < PyList_Size(user)) + if (PyList_GetItem(user, i) == a0Wrapper) + PyList_SetSlice(user, i, i + 1, NULL); + else + ++i; + } +%End + + QModelIndex mapFromSource(const QModelIndex &sourceIndex) const; + QModelIndex mapToSource(const QModelIndex &proxyIndex) const; + virtual QVariant data(const QModelIndex &index, int role = Qt::ItemDataRole::DisplayRole) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::ItemDataRole::EditRole); + virtual QMap itemData(const QModelIndex &proxyIndex) const; + virtual bool setItemData(const QModelIndex &index, const QMap &roles); + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual QModelIndex parent(const QModelIndex &index) const; + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::ItemDataRole::DisplayRole) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QModelIndexList &indexes) const /TransferBack/; + virtual bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); + virtual QSize span(const QModelIndex &index) const; +%If (Qt_5_15_0 -) + QList sourceModels() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcoreapplication.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcoreapplication.sip new file mode 100644 index 00000000..08fdafbb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcoreapplication.sip @@ -0,0 +1,366 @@ +// qcoreapplication.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QCoreApplication : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QCoreApplication(SIP_PYLIST argv /TypeHint="List[str]"/) /PostHook=__pyQtQAppHook__/ [(int &argc, char **argv)]; +%MethodCode + // The Python interface is a list of argument strings that is modified. + + int argc; + char **argv; + + // Convert the list. + if ((argv = pyqt5_from_argv_list(a0, argc)) == NULL) + sipIsErr = 1; + else + { + // Create it now the arguments are right. + static int nargc; + nargc = argc; + + Py_BEGIN_ALLOW_THREADS + sipCpp = new sipQCoreApplication(nargc, argv); + Py_END_ALLOW_THREADS + + // Now modify the original list. + pyqt5_update_argv_list(a0, argc, argv); + } +%End + + virtual ~QCoreApplication() /ReleaseGIL/; +%MethodCode + pyqt5_cleanup_qobjects(); +%End + + static void setOrganizationDomain(const QString &orgDomain); + static QString organizationDomain(); + static void setOrganizationName(const QString &orgName); + static QString organizationName(); + static void setApplicationName(const QString &application); + static QString applicationName(); + static QStringList arguments(); + static QCoreApplication *instance(); + static int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%If (Py_v3) + static int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,ReleaseGIL/; +%End + static void processEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::ProcessEventsFlag::AllEvents) /ReleaseGIL/; + static void processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime) /ReleaseGIL/; + static void exit(int returnCode = 0); + static bool sendEvent(QObject *receiver, QEvent *event) /ReleaseGIL/; + static void postEvent(QObject *receiver, QEvent *event /Transfer/, int priority = Qt::EventPriority::NormalEventPriority); + static void sendPostedEvents(QObject *receiver = 0, int eventType = 0) /ReleaseGIL/; + static void removePostedEvents(QObject *receiver, int eventType = 0); + static bool hasPendingEvents(); + virtual bool notify(QObject *, QEvent *) /ReleaseGIL/; + static bool startingUp(); + static bool closingDown(); + static QString applicationDirPath(); + static QString applicationFilePath(); + static void setLibraryPaths(const QStringList &); + static QStringList libraryPaths(); + static void addLibraryPath(const QString &); + static void removeLibraryPath(const QString &); + static bool installTranslator(QTranslator *messageFile); + static bool removeTranslator(QTranslator *messageFile); + static QString translate(const char *context, const char *sourceText /Encoding="UTF-8"/, const char *disambiguation = 0, int n = -1); + static void flush() /ReleaseGIL/; + static void setAttribute(Qt::ApplicationAttribute attribute, bool on = true); + static bool testAttribute(Qt::ApplicationAttribute attribute); + +public slots: + static void quit(); + +signals: + void aboutToQuit(); + +protected: + virtual bool event(QEvent *); + +public: + static void setApplicationVersion(const QString &version); + static QString applicationVersion(); + static qint64 applicationPid(); + static QAbstractEventDispatcher *eventDispatcher(); + static void setEventDispatcher(QAbstractEventDispatcher *eventDispatcher /Transfer/); + static bool isQuitLockEnabled(); + static void setQuitLockEnabled(bool enabled); + void installNativeEventFilter(QAbstractNativeEventFilter *filterObj); + void removeNativeEventFilter(QAbstractNativeEventFilter *filterObj); +%If (Qt_5_3_0 -) + static void setSetuidAllowed(bool allow); +%End +%If (Qt_5_3_0 -) + static bool isSetuidAllowed(); +%End + SIP_PYOBJECT __enter__(); +%MethodCode + // Just return a reference to self. + sipRes = sipSelf; + Py_INCREF(sipRes); +%End + + void __exit__(SIP_PYOBJECT type, SIP_PYOBJECT value, SIP_PYOBJECT traceback); +%MethodCode + // Make sure the QCoreApplication is destroyed. + delete sipCpp; +%End +}; + +void qAddPostRoutine(SIP_PYCALLABLE); +%MethodCode + // Add it to the list of post routines if it already exists. + if (qtcore_PostRoutines != NULL) + { + // See if there is an empty slot. + bool app = true; + + for (Py_ssize_t i = 0; i < PyList_Size(qtcore_PostRoutines); ++i) + if (PyList_GetItem(qtcore_PostRoutines, i) == Py_None) + { + Py_INCREF(a0); + PyList_SetItem(qtcore_PostRoutines, i, a0); + + app = false; + + break; + } + + if (app && PyList_Append(qtcore_PostRoutines, a0) < 0) + sipIsErr = 1; + } + else if ((qtcore_PostRoutines = PyList_New(1)) != NULL) + { + Py_INCREF(a0); + PyList_SetItem(qtcore_PostRoutines, 0, a0); + + qAddPostRoutine(qtcore_CallPostRoutines); + } + else + { + sipIsErr = 1; + } +%End + +void qRemovePostRoutine(SIP_PYCALLABLE); +%MethodCode + // Remove it from the list of post routines if it exists. + if (qtcore_PostRoutines != NULL) + for (Py_ssize_t i = 0; i < PyList_Size(qtcore_PostRoutines); ++i) + if (PyList_GetItem(qtcore_PostRoutines, i) == a0) + { + Py_INCREF(Py_None); + PyList_SetItem(qtcore_PostRoutines, i, Py_None); + + break; + } +%End + +%If (Qt_5_1_0 -) +void qAddPreRoutine(SIP_PYCALLABLE routine /TypeHint="Callable[[], None]"/); +%MethodCode + // Add it to the list of pre routines if it already exists. + if (qtcore_PreRoutines != NULL) + { + if (PyList_Append(qtcore_PreRoutines, a0) < 0) + sipIsErr = 1; + } + else if ((qtcore_PreRoutines = PyList_New(1)) != NULL) + { + Py_INCREF(a0); + PyList_SetItem(qtcore_PreRoutines, 0, a0); + + qAddPreRoutine(qtcore_CallPreRoutines); + } + else + { + sipIsErr = 1; + } +%End + +%End +// Module code needed by qAddPreRoutine, qAddPostRoutine() and qRemovePostRoutine(). +%ModuleCode +#if QT_VERSION >= 0x050100 +// The list of Python pre routines. +static PyObject *qtcore_PreRoutines = NULL; + +// Call all of the registered Python pre routines. +static void qtcore_CallPreRoutines() +{ + for (Py_ssize_t i = 0; i < PyList_Size(qtcore_PreRoutines); ++i) + { + PyObject *pr = PyList_GetItem(qtcore_PreRoutines, i); + + if (pr != Py_None) + { + PyObject *res = PyObject_CallObject(pr, NULL); + + Py_XDECREF(res); + } + } +} +#endif + + +// The list of Python post routines. +static PyObject *qtcore_PostRoutines = NULL; + +// Call all of the registered Python post routines. +static void qtcore_CallPostRoutines() +{ + for (Py_ssize_t i = 0; i < PyList_Size(qtcore_PostRoutines); ++i) + { + PyObject *pr = PyList_GetItem(qtcore_PostRoutines, i); + + if (pr != Py_None) + { + PyObject *res = PyObject_CallObject(pr, NULL); + + Py_XDECREF(res); + } + } +} +%End +void pyqtRemoveInputHook(); +%MethodCode + // Clear the Python input hook installed when the module was initialised. + PyOS_InputHook = 0; +%End + +void pyqtRestoreInputHook(); +%MethodCode + // Restore the input hook. + PyOS_InputHook = qtcore_input_hook; +%End + +%ModuleCode +#include +#include + +#if defined(Q_OS_WIN) +#include +#include +#else +#include +#endif + +// This is the input hook that will process events while the interpreter is +// waiting for interactive input. +extern "C" {static int qtcore_input_hook();} + +static int qtcore_input_hook() +{ + QCoreApplication *app = QCoreApplication::instance(); + + if (app && app->thread() == QThread::currentThread()) + { +#if defined(Q_OS_WIN) + QTimer timer; + QObject::connect(&timer, SIGNAL(timeout()), app, SLOT(quit())); + + while (!_kbhit()) + { + // The delay is based on feedback from users. + timer.start(35); + QCoreApplication::exec(); + timer.stop(); + } + + QObject::disconnect(&timer, SIGNAL(timeout()), app, SLOT(quit())); +#else + QSocketNotifier notifier(0, QSocketNotifier::Read, 0); + QObject::connect(¬ifier, SIGNAL(activated(int)), app, SLOT(quit())); + QCoreApplication::exec(); + QObject::disconnect(¬ifier, SIGNAL(activated(int)), app, SLOT(quit())); +#endif + } + + return 0; +} +%End + +%PostInitialisationCode +// Process events from the input hook. +PyOS_InputHook = qtcore_input_hook; +%End + +%ExportedTypeHintCode +# Support for QDate, QDateTime and QTime. +import datetime + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] +%End + +%TypeHintCode +# Support for QDate, QDateTime and QTime. +import datetime + + +# Support for new-style signals and slots. +class pyqtSignal: + + signatures = ... # type: typing.Tuple[str, ...] + + def __init__(self, *types: typing.Any, name: str = ...) -> None: ... + + @typing.overload + def __get__(self, instance: None, owner: typing.Type['QObject']) -> 'pyqtSignal': ... + + @typing.overload + def __get__(self, instance: 'QObject', owner: typing.Type['QObject']) -> 'pyqtBoundSignal': ... + + + +class pyqtBoundSignal: + + signal = ... # type: str + + def __getitem__(self, key: object) -> 'pyqtBoundSignal': ... + + def connect(self, slot: 'PYQT_SLOT') -> 'QMetaObject.Connection': ... + + @typing.overload + def disconnect(self) -> None: ... + + @typing.overload + def disconnect(self, slot: typing.Union['PYQT_SLOT', 'QMetaObject.Connection']) -> None: ... + + def emit(self, *args: typing.Any) -> None: ... + + +# Convenient type aliases. +PYQT_SIGNAL = typing.Union[pyqtSignal, pyqtBoundSignal] +PYQT_SLOT = typing.Union[typing.Callable[..., None], pyqtBoundSignal] +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcoreevent.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcoreevent.sip new file mode 100644 index 00000000..81f317f3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcoreevent.sip @@ -0,0 +1,269 @@ +// qcoreevent.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QEvent /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + switch (sipCpp->type()) + { + case QEvent::Timer: + sipType = sipType_QTimerEvent; + break; + + case QEvent::ChildAdded: + case QEvent::ChildPolished: + case QEvent::ChildRemoved: + sipType = sipType_QChildEvent; + break; + + case QEvent::DynamicPropertyChange: + sipType = sipType_QDynamicPropertyChangeEvent; + break; + + case QEvent::StateMachineSignal: + sipType = sipType_QStateMachine_SignalEvent; + break; + + case QEvent::StateMachineWrapped: + sipType = sipType_QStateMachine_WrappedEvent; + break; + + default: + sipType = 0; + } +%End + +public: + enum Type + { + None /PyName=None_/, + Timer, + MouseButtonPress, + MouseButtonRelease, + MouseButtonDblClick, + MouseMove, + KeyPress, + KeyRelease, + FocusIn, + FocusOut, + Enter, + Leave, + Paint, + Move, + Resize, + Show, + Hide, + Close, + ParentChange, + ParentAboutToChange, + ThreadChange, + WindowActivate, + WindowDeactivate, + ShowToParent, + HideToParent, + Wheel, + WindowTitleChange, + WindowIconChange, + ApplicationWindowIconChange, + ApplicationFontChange, + ApplicationLayoutDirectionChange, + ApplicationPaletteChange, + PaletteChange, + Clipboard, + MetaCall, + SockAct, + WinEventAct, + DeferredDelete, + DragEnter, + DragMove, + DragLeave, + Drop, + ChildAdded, + ChildPolished, + ChildRemoved, + PolishRequest, + Polish, + LayoutRequest, + UpdateRequest, + UpdateLater, + ContextMenu, + InputMethod, + TabletMove, + LocaleChange, + LanguageChange, + LayoutDirectionChange, + TabletPress, + TabletRelease, + OkRequest, + IconDrag, + FontChange, + EnabledChange, + ActivationChange, + StyleChange, + IconTextChange, + ModifiedChange, + MouseTrackingChange, + WindowBlocked, + WindowUnblocked, + WindowStateChange, + ToolTip, + WhatsThis, + StatusTip, + ActionChanged, + ActionAdded, + ActionRemoved, + FileOpen, + Shortcut, + ShortcutOverride, + WhatsThisClicked, + ToolBarChange, + ApplicationActivate, + ApplicationActivated, + ApplicationDeactivate, + ApplicationDeactivated, + QueryWhatsThis, + EnterWhatsThisMode, + LeaveWhatsThisMode, + ZOrderChange, + HoverEnter, + HoverLeave, + HoverMove, + GraphicsSceneMouseMove, + GraphicsSceneMousePress, + GraphicsSceneMouseRelease, + GraphicsSceneMouseDoubleClick, + GraphicsSceneContextMenu, + GraphicsSceneHoverEnter, + GraphicsSceneHoverMove, + GraphicsSceneHoverLeave, + GraphicsSceneHelp, + GraphicsSceneDragEnter, + GraphicsSceneDragMove, + GraphicsSceneDragLeave, + GraphicsSceneDrop, + GraphicsSceneWheel, + GraphicsSceneResize, + GraphicsSceneMove, + KeyboardLayoutChange, + DynamicPropertyChange, + TabletEnterProximity, + TabletLeaveProximity, + NonClientAreaMouseMove, + NonClientAreaMouseButtonPress, + NonClientAreaMouseButtonRelease, + NonClientAreaMouseButtonDblClick, + MacSizeChange, + ContentsRectChange, + CursorChange, + ToolTipChange, + GrabMouse, + UngrabMouse, + GrabKeyboard, + UngrabKeyboard, + StateMachineSignal, + StateMachineWrapped, + TouchBegin, + TouchUpdate, + TouchEnd, + RequestSoftwareInputPanel, + CloseSoftwareInputPanel, + WinIdChange, + Gesture, + GestureOverride, + FocusAboutToChange, + ScrollPrepare, + Scroll, + Expose, + InputMethodQuery, + OrientationChange, + TouchCancel, + PlatformPanel, +%If (Qt_5_1_0 -) + ApplicationStateChange, +%End +%If (Qt_5_4_0 -) + ReadOnlyChange, +%End +%If (Qt_5_5_0 -) + PlatformSurface, +%End +%If (Qt_5_9_0 -) + TabletTrackingChange, +%End + User, + MaxUser, + }; + + explicit QEvent(QEvent::Type type); + QEvent(const QEvent &other); + virtual ~QEvent(); + QEvent::Type type() const; + bool spontaneous() const; + void setAccepted(bool accepted); + bool isAccepted() const; + void accept(); + void ignore(); + static int registerEventType(int hint = -1); +}; + +class QTimerEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTimerEvent(int timerId); + virtual ~QTimerEvent(); + int timerId() const; +}; + +class QChildEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QChildEvent(QEvent::Type type, QObject *child); + virtual ~QChildEvent(); + QObject *child() const; + bool added() const; + bool polished() const; + bool removed() const; +}; + +class QDynamicPropertyChangeEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + explicit QDynamicPropertyChangeEvent(const QByteArray &name); + virtual ~QDynamicPropertyChangeEvent(); + QByteArray propertyName() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcryptographichash.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcryptographichash.sip new file mode 100644 index 00000000..996783ea --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qcryptographichash.sip @@ -0,0 +1,79 @@ +// qcryptographichash.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCryptographicHash +{ +%TypeHeaderCode +#include +%End + +public: + enum Algorithm + { + Md4, + Md5, + Sha1, + Sha224, + Sha256, + Sha384, + Sha512, +%If (Qt_5_1_0 -) + Sha3_224, +%End +%If (Qt_5_1_0 -) + Sha3_256, +%End +%If (Qt_5_1_0 -) + Sha3_384, +%End +%If (Qt_5_1_0 -) + Sha3_512, +%End +%If (Qt_5_9_2 -) + Keccak_224, +%End +%If (Qt_5_9_2 -) + Keccak_256, +%End +%If (Qt_5_9_2 -) + Keccak_384, +%End +%If (Qt_5_9_2 -) + Keccak_512, +%End + }; + + explicit QCryptographicHash(QCryptographicHash::Algorithm method); + ~QCryptographicHash(); + void reset(); + void addData(const char *data /Array/, int length /ArraySize/); + void addData(const QByteArray &data); + bool addData(QIODevice *device); + QByteArray result() const; + static QByteArray hash(const QByteArray &data, QCryptographicHash::Algorithm method); +%If (Qt_5_12_0 -) + static int hashLength(QCryptographicHash::Algorithm method); +%End + +private: + QCryptographicHash(const QCryptographicHash &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdatastream.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdatastream.sip new file mode 100644 index 00000000..97a83b79 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdatastream.sip @@ -0,0 +1,475 @@ +// qdatastream.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDataStream +{ +%TypeHeaderCode +#include +%End + +public: + enum Version + { + Qt_1_0, + Qt_2_0, + Qt_2_1, + Qt_3_0, + Qt_3_1, + Qt_3_3, + Qt_4_0, + Qt_4_1, + Qt_4_2, + Qt_4_3, + Qt_4_4, + Qt_4_5, + Qt_4_6, + Qt_4_7, + Qt_4_8, + Qt_4_9, + Qt_5_0, +%If (Qt_5_1_0 -) + Qt_5_1, +%End +%If (Qt_5_2_0 -) + Qt_5_2, +%End +%If (Qt_5_3_0 -) + Qt_5_3, +%End +%If (Qt_5_4_0 -) + Qt_5_4, +%End +%If (Qt_5_5_0 -) + Qt_5_5, +%End +%If (Qt_5_6_0 -) + Qt_5_6, +%End +%If (Qt_5_7_0 -) + Qt_5_7, +%End +%If (Qt_5_8_0 -) + Qt_5_8, +%End +%If (Qt_5_9_0 -) + Qt_5_9, +%End +%If (Qt_5_10_0 -) + Qt_5_10, +%End +%If (Qt_5_11_0 -) + Qt_5_11, +%End +%If (Qt_5_12_0 -) + Qt_5_12, +%End +%If (Qt_5_13_0 -) + Qt_5_13, +%End +%If (Qt_5_14_0 -) + Qt_5_14, +%End +%If (Qt_5_15_0 -) + Qt_5_15, +%End + }; + + enum ByteOrder + { + BigEndian, + LittleEndian, + }; + + enum Status + { + Ok, + ReadPastEnd, + ReadCorruptData, + WriteFailed, + }; + + QDataStream(); + explicit QDataStream(QIODevice *); + QDataStream(QByteArray * /Constrained/, QIODevice::OpenMode flags); + QDataStream(const QByteArray & /Constrained/); + ~QDataStream(); + QIODevice *device() const; + void setDevice(QIODevice *); + bool atEnd() const; + QDataStream::Status status() const; + void setStatus(QDataStream::Status status); + void resetStatus(); + QDataStream::ByteOrder byteOrder() const; + void setByteOrder(QDataStream::ByteOrder); + int version() const; + void setVersion(int v); + int skipRawData(int len) /ReleaseGIL/; +// Extra methods to give explicit control over the simple data types being read and written. +int readInt() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +qint8 readInt8() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +quint8 readUInt8() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +qint16 readInt16() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +quint16 readUInt16() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +qint32 readInt32() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +quint32 readUInt32() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +qint64 readInt64() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +quint64 readUInt64() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +bool readBool() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +float readFloat() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +double readDouble() /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp >> sipRes; + Py_END_ALLOW_THREADS +%End + +SIP_PYOBJECT readString() /ReleaseGIL,TypeHint="Py_v3:bytes;str"/; +%MethodCode + char *s; + + Py_BEGIN_ALLOW_THREADS + *sipCpp >> s; + Py_END_ALLOW_THREADS + + if (s) + { + sipRes = SIPBytes_FromString(s); + delete[] s; + } + else + { + sipRes = Py_None; + Py_INCREF(Py_None); + } +%End + +void writeInt(int i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeInt8(qint8 i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeUInt8(quint8 i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeInt16(qint16 i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeUInt16(quint16 i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeInt32(qint32 i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeUInt32(quint32 i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeInt64(qint64 i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeUInt64(quint64 i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeBool(bool i) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeFloat(float f) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeDouble(double f) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End + +void writeString(const char *str /Encoding="None"/) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << a0; + Py_END_ALLOW_THREADS +%End +// Extra methods to support v2 of the QString and QVariant APIs. +QString readQString() /ReleaseGIL/; +%MethodCode + sipRes = new QString; + + Py_BEGIN_ALLOW_THREADS + *sipCpp >> *sipRes; + Py_END_ALLOW_THREADS +%End + +void writeQString(const QString &qstr) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << *a0; + Py_END_ALLOW_THREADS +%End + +QStringList readQStringList() /ReleaseGIL/; +%MethodCode + sipRes = new QStringList; + + Py_BEGIN_ALLOW_THREADS + *sipCpp >> *sipRes; + Py_END_ALLOW_THREADS +%End + +void writeQStringList(const QStringList &qstrlst) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << *a0; + Py_END_ALLOW_THREADS +%End + +QVariant readQVariant() /ReleaseGIL/; +%MethodCode + sipRes = new QVariant; + + Py_BEGIN_ALLOW_THREADS + *sipCpp >> *sipRes; + Py_END_ALLOW_THREADS +%End + +void writeQVariant(const QVariant &qvar) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << *a0; + Py_END_ALLOW_THREADS +%End + +QVariantList readQVariantList() /ReleaseGIL/; +%MethodCode + sipRes = new QVariantList; + + Py_BEGIN_ALLOW_THREADS + *sipCpp >> *sipRes; + Py_END_ALLOW_THREADS +%End + +void writeQVariantList(const QVariantList &qvarlst) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << *a0; + Py_END_ALLOW_THREADS +%End + +QVariantMap readQVariantMap() /ReleaseGIL/; +%MethodCode + sipRes = new QVariantMap; + + Py_BEGIN_ALLOW_THREADS + *sipCpp >> *sipRes; + Py_END_ALLOW_THREADS +%End + +void writeQVariantMap(const QVariantMap &qvarmap) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << *a0; + Py_END_ALLOW_THREADS +%End + +QVariantHash readQVariantHash() /ReleaseGIL/; +%MethodCode + sipRes = new QVariantHash; + + Py_BEGIN_ALLOW_THREADS + *sipCpp >> *sipRes; + Py_END_ALLOW_THREADS +%End + +void writeQVariantHash(const QVariantHash &qvarhash) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + *sipCpp << *a0; + Py_END_ALLOW_THREADS +%End + SIP_PYOBJECT readBytes() /TypeHint="Py_v3:bytes;str",ReleaseGIL/; +%MethodCode + char *s; + uint l; + + Py_BEGIN_ALLOW_THREADS + sipCpp->readBytes(s, l); + Py_END_ALLOW_THREADS + + if ((sipRes = SIPBytes_FromStringAndSize(s, l)) == NULL) + sipIsErr = 1; + + if (s) + delete[] s; +%End + + SIP_PYOBJECT readRawData(int len) /TypeHint="Py_v3:bytes;str",ReleaseGIL/; +%MethodCode + char *s = new char[a0]; + + Py_BEGIN_ALLOW_THREADS + sipCpp->readRawData(s, a0); + Py_END_ALLOW_THREADS + + sipRes = SIPBytes_FromStringAndSize(s, a0); + + if (!sipRes) + sipIsErr = 1; + + delete[] s; +%End + + QDataStream &writeBytes(const char * /Array/, uint len /ArraySize/) /ReleaseGIL/; + int writeRawData(const char * /Array/, int len /ArraySize/) /ReleaseGIL/; + + enum FloatingPointPrecision + { + SinglePrecision, + DoublePrecision, + }; + + QDataStream::FloatingPointPrecision floatingPointPrecision() const; + void setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision); +%If (Qt_5_7_0 -) + void startTransaction(); +%End +%If (Qt_5_7_0 -) + bool commitTransaction(); +%End +%If (Qt_5_7_0 -) + void rollbackTransaction(); +%End +%If (Qt_5_7_0 -) + void abortTransaction(); +%End + +private: + QDataStream(const QDataStream &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdatetime.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdatetime.sip new file mode 100644 index 00000000..ad24b3c8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdatetime.sip @@ -0,0 +1,636 @@ +// qdatetime.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDate /TypeHintIn="Union[QDate, datetime.date]"/ +{ +%TypeHeaderCode +#include +%End + +%TypeCode +#include +%End + +%ConvertToTypeCode +// Allow a Python date object whenever a QDate is expected. + +if (sipIsErr == NULL) + return (sipGetDate(sipPy, 0) || + sipCanConvertToType(sipPy, sipType_QDate, SIP_NO_CONVERTORS)); + +sipDateDef py_date; + +if (sipGetDate(sipPy, &py_date)) +{ + *sipCppPtr = new QDate(py_date.pd_year, + py_date.pd_month, + py_date.pd_day); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QDate, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"iii", sipCpp->year(), sipCpp->month(), sipCpp->day()); +%End + +public: + QDate(); + QDate(int y, int m, int d); +%If (Qt_5_14_0 -) + QDate(int y, int m, int d, QCalendar cal); +%End + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QDate()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QDate()"); + #endif + } + else + { + sipRes = + #if PY_MAJOR_VERSION >= 3 + PyUnicode_FromFormat + #else + PyString_FromFormat + #endif + ("PyQt5.QtCore.QDate(%i, %i, %i)", sipCpp->year(), + sipCpp->month(), sipCpp->day()); + } +%End + + long __hash__() const; +%MethodCode + sipRes = qHash(sipCpp->toString(Qt::ISODate)); +%End + + SIP_PYOBJECT toPyDate() const /TypeHint="datetime.date"/; +%MethodCode + // Convert to a Python date object. + sipDateDef py_date; + + py_date.pd_year = sipCpp->year(); + py_date.pd_month = sipCpp->month(); + py_date.pd_day = sipCpp->day(); + + sipRes = sipFromDate(&py_date); +%End + + bool isNull() const; + int __bool__() const; +%MethodCode + sipRes = !sipCpp->isNull(); +%End + + bool isValid() const; + int year() const; +%If (Qt_5_14_0 -) + int year(QCalendar cal) const; +%End + int month() const; +%If (Qt_5_14_0 -) + int month(QCalendar cal) const; +%End + int day() const; +%If (Qt_5_14_0 -) + int day(QCalendar cal) const; +%End + int dayOfWeek() const; +%If (Qt_5_14_0 -) + int dayOfWeek(QCalendar cal) const; +%End + int dayOfYear() const; +%If (Qt_5_14_0 -) + int dayOfYear(QCalendar cal) const; +%End + int daysInMonth() const; +%If (Qt_5_14_0 -) + int daysInMonth(QCalendar cal) const; +%End + int daysInYear() const; +%If (Qt_5_14_0 -) + int daysInYear(QCalendar cal) const; +%End + int weekNumber(int *yearNumber = 0) const; + static QString shortMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); + static QString shortDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); + static QString longMonthName(int month, QDate::MonthNameType type = QDate::DateFormat); + static QString longDayName(int weekday, QDate::MonthNameType type = QDate::DateFormat); + QString toString(Qt::DateFormat format = Qt::TextDate) const; +%If (Qt_5_14_0 -) + QString toString(Qt::DateFormat f, QCalendar cal) const; +%End + QString toString(const QString &format) const; +%If (Qt_5_14_0 -) + QString toString(const QString &format, QCalendar cal) const; +%End + QDate addDays(qint64 days) const; + QDate addMonths(int months) const; +%If (Qt_5_14_0 -) + QDate addMonths(int months, QCalendar cal) const; +%End + QDate addYears(int years) const; +%If (Qt_5_14_0 -) + QDate addYears(int years, QCalendar cal) const; +%End + qint64 daysTo(const QDate &) const; + bool operator==(const QDate &other) const; + bool operator!=(const QDate &other) const; + bool operator<(const QDate &other) const; + bool operator<=(const QDate &other) const; + bool operator>(const QDate &other) const; + bool operator>=(const QDate &other) const; + static QDate currentDate(); + static QDate fromString(const QString &string, Qt::DateFormat format = Qt::TextDate); + static QDate fromString(const QString &s, const QString &format); +%If (Qt_5_14_0 -) + static QDate fromString(const QString &s, const QString &format, QCalendar cal); +%End + static bool isValid(int y, int m, int d); + static bool isLeapYear(int year); + static QDate fromJulianDay(qint64 jd); + qint64 toJulianDay() const; + bool setDate(int year, int month, int date); +%If (- Qt_5_7_0) +%If (Qt_5_15_0 -) + void getDate(int *year, int *month, int *day); +%End +%End +%If (Qt_5_7_0 -) + void getDate(int *year, int *month, int *day) const; +%End + + enum MonthNameType + { + DateFormat, + StandaloneFormat, + }; + +%If (Qt_5_14_0 -) + QDateTime startOfDay(Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) const; +%End +%If (Qt_5_14_0 -) + QDateTime endOfDay(Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) const; +%End +%If (Qt_5_14_0 -) + QDateTime startOfDay(const QTimeZone &zone) const; +%End +%If (Qt_5_14_0 -) + QDateTime endOfDay(const QTimeZone &zone) const; +%End +%If (Qt_5_14_0 -) + bool setDate(int year, int month, int day, QCalendar cal); +%End +}; + +class QTime /TypeHintIn="Union[QTime, datetime.time]"/ +{ +%TypeHeaderCode +#include +%End + +%TypeCode +#include +%End + +%ConvertToTypeCode +// Allow a Python time object whenever a QTime is expected. + +if (sipIsErr == NULL) + return (sipGetTime(sipPy, 0) || + sipCanConvertToType(sipPy, sipType_QTime, SIP_NO_CONVERTORS)); + +sipTimeDef py_time; + +if (sipGetTime(sipPy, &py_time)) +{ + *sipCppPtr = new QTime(py_time.pt_hour, + py_time.pt_minute, + py_time.pt_second, + py_time.pt_microsecond / 1000); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QTime, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"iiii", sipCpp->hour(), sipCpp->minute(), sipCpp->second(), sipCpp->msec()); +%End + +public: + QTime(); + QTime(int h, int m, int second = 0, int msec = 0); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QTime()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QTime()"); + #endif + } + else + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QTime(%i, %i", sipCpp->hour(), + sipCpp->minute()); + + if (sipCpp->second() || sipCpp->msec()) + { + qpycore_Unicode_ConcatAndDel(&sipRes, + PyUnicode_FromFormat(", %i", sipCpp->second())); + + if (sipCpp->msec()) + qpycore_Unicode_ConcatAndDel(&sipRes, + PyUnicode_FromFormat(", %i", sipCpp->msec())); + } + + qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")")); + #else + sipRes = PyString_FromFormat("PyQt5.QtCore.QTime(%i, %i", sipCpp->hour(), + sipCpp->minute()); + + if (sipCpp->second() || sipCpp->msec()) + { + PyString_ConcatAndDel(&sipRes, + PyString_FromFormat(", %i", sipCpp->second())); + + if (sipCpp->msec()) + PyString_ConcatAndDel(&sipRes, + PyString_FromFormat(", %i", sipCpp->msec())); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } +%End + + long __hash__() const; +%MethodCode + sipRes = qHash(sipCpp->toString(Qt::ISODate)); +%End + + SIP_PYOBJECT toPyTime() const /TypeHint="datetime.time"/; +%MethodCode + // Convert to a Python time object. + sipTimeDef py_time; + + py_time.pt_hour = sipCpp->hour(); + py_time.pt_minute = sipCpp->minute(); + py_time.pt_second = sipCpp->second(); + py_time.pt_microsecond = sipCpp->msec() * 1000; + + sipRes = sipFromTime(&py_time); +%End + + bool isNull() const; + int __bool__() const; +%MethodCode + sipRes = !sipCpp->isNull(); +%End + + bool isValid() const; + int hour() const; + int minute() const; + int second() const; + int msec() const; + QString toString(Qt::DateFormat format = Qt::TextDate) const; + QString toString(const QString &format) const; + bool setHMS(int h, int m, int s, int msec = 0); + QTime addSecs(int secs) const; + int secsTo(const QTime &) const; + QTime addMSecs(int ms) const; + int msecsTo(const QTime &) const; + bool operator==(const QTime &other) const; + bool operator!=(const QTime &other) const; + bool operator<(const QTime &other) const; + bool operator<=(const QTime &other) const; + bool operator>(const QTime &other) const; + bool operator>=(const QTime &other) const; + static QTime currentTime(); + static QTime fromString(const QString &string, Qt::DateFormat format = Qt::TextDate); + static QTime fromString(const QString &s, const QString &format); + static bool isValid(int h, int m, int s, int msec = 0); + void start(); + int restart(); + int elapsed() const; +%If (Qt_5_2_0 -) + static QTime fromMSecsSinceStartOfDay(int msecs); +%End +%If (Qt_5_2_0 -) + int msecsSinceStartOfDay() const; +%End +}; + +class QDateTime /TypeHintIn="Union[QDateTime, datetime.datetime]"/ +{ +%TypeHeaderCode +#include +%End + +%TypeCode +#include +%End + +%ConvertToTypeCode +// Allow a Python datetime object whenever a QDateTime is expected. + +if (sipIsErr == NULL) + return (sipGetDateTime(sipPy, 0, 0) || + sipCanConvertToType(sipPy, sipType_QDateTime, SIP_NO_CONVERTORS)); + +sipDateDef py_date; +sipTimeDef py_time; + +if (sipGetDateTime(sipPy, &py_date, &py_time)) +{ + QDate qdate(py_date.pd_year, + py_date.pd_month, + py_date.pd_day); + + QTime qtime(py_time.pt_hour, + py_time.pt_minute, + py_time.pt_second, + py_time.pt_microsecond / 1000); + + QDateTime *qdt = new QDateTime(qdate, qtime); + + *sipCppPtr = qdt; + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QDateTime, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End + +%PickleCode + QDate qd = sipCpp->date(); + QTime qt = sipCpp->time(); + + sipRes = Py_BuildValue((char *)"iiiiiiii", qd.year(), qd.month(), qd.day(), + qt.hour(), qt.minute(), qt.second(), qt.msec(), + (int)sipCpp->timeSpec()); +%End + +public: + QDateTime(); + QDateTime(const QDateTime &other); + explicit QDateTime(const QDate &); + QDateTime(const QDate &date, const QTime &time, Qt::TimeSpec timeSpec = Qt::LocalTime); + QDateTime(int year, int month, int day, int hour, int minute, int second = 0, int msec = 0, int timeSpec = 0) /NoDerived/; +%MethodCode + // This ctor is mainly supplied to allow pickling. + QDate qd(a0, a1, a2); + QTime qt(a3, a4, a5, a6); + + sipCpp = new QDateTime(qd, qt, (Qt::TimeSpec)a7); +%End + + ~QDateTime(); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QDateTime()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QDateTime()"); + #endif + } + else + { + QDate qd = sipCpp->date(); + QTime qt = sipCpp->time(); + + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QDateTime(%i, %i, %i, %i, %i", + qd.year(), qd.month(), qd.day(), qt.hour(), qt.minute()); + + if (qt.second() || qt.msec() || sipCpp->timeSpec() != Qt::LocalTime) + { + qpycore_Unicode_ConcatAndDel(&sipRes, + PyUnicode_FromFormat(", %i", qt.second())); + + if (qt.msec() || sipCpp->timeSpec() != Qt::LocalTime) + { + qpycore_Unicode_ConcatAndDel(&sipRes, + PyUnicode_FromFormat(", %i", qt.msec())); + + if (sipCpp->timeSpec() != Qt::LocalTime) + qpycore_Unicode_ConcatAndDel(&sipRes, + PyUnicode_FromFormat(", PyQt5.QtCore.Qt.TimeSpec(%i)", + (int)sipCpp->timeSpec())); + } + } + + qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")")); + #else + sipRes = PyString_FromFormat("PyQt5.QtCore.QDateTime(%i, %i, %i, %i, %i", + qd.year(), qd.month(), qd.day(), qt.hour(), qt.minute()); + + if (qt.second() || qt.msec() || sipCpp->timeSpec() != Qt::LocalTime) + { + PyString_ConcatAndDel(&sipRes, + PyString_FromFormat(", %i", qt.second())); + + if (qt.msec() || sipCpp->timeSpec() != Qt::LocalTime) + { + PyString_ConcatAndDel(&sipRes, + PyString_FromFormat(", %i", qt.msec())); + + if (sipCpp->timeSpec() != Qt::LocalTime) + PyString_ConcatAndDel(&sipRes, + PyString_FromFormat(", PyQt5.QtCore.Qt.TimeSpec(%i)", + (int)sipCpp->timeSpec())); + } + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } +%End + + long __hash__() const; +%MethodCode + sipRes = qHash(sipCpp->toString(Qt::ISODate)); +%End + + SIP_PYOBJECT toPyDateTime() const /TypeHint="datetime.datetime"/; +%MethodCode + // Convert to a Python datetime object. + sipDateDef py_date; + QDate qd = sipCpp->date(); + + py_date.pd_year = qd.year(); + py_date.pd_month = qd.month(); + py_date.pd_day = qd.day(); + + sipTimeDef py_time; + QTime qt = sipCpp->time(); + + py_time.pt_hour = qt.hour(); + py_time.pt_minute = qt.minute(); + py_time.pt_second = qt.second(); + py_time.pt_microsecond = qt.msec() * 1000; + + sipRes = sipFromDateTime(&py_date, &py_time); +%End + + bool isNull() const; + int __bool__() const; +%MethodCode + sipRes = !sipCpp->isNull(); +%End + + bool isValid() const; + QDate date() const; + QTime time() const; + Qt::TimeSpec timeSpec() const; + uint toTime_t() const; + void setDate(const QDate &date); + void setTime(const QTime &time); + void setTimeSpec(Qt::TimeSpec spec); + void setTime_t(uint secsSince1Jan1970UTC); + QString toString(Qt::DateFormat format = Qt::TextDate) const; + QString toString(const QString &format) const; + QDateTime addDays(qint64 days) const; + QDateTime addMonths(int months) const; + QDateTime addYears(int years) const; + QDateTime addSecs(qint64 secs) const; + QDateTime addMSecs(qint64 msecs) const; + QDateTime toTimeSpec(Qt::TimeSpec spec) const; + QDateTime toLocalTime() const; + QDateTime toUTC() const; + qint64 daysTo(const QDateTime &) const; + qint64 secsTo(const QDateTime &) const; + bool operator==(const QDateTime &other) const; + bool operator!=(const QDateTime &other) const; + bool operator<(const QDateTime &other) const; + bool operator<=(const QDateTime &other) const; + bool operator>(const QDateTime &other) const; + bool operator>=(const QDateTime &other) const; + static QDateTime currentDateTime(); + static QDateTime fromString(const QString &string, Qt::DateFormat format = Qt::TextDate); + static QDateTime fromString(const QString &s, const QString &format); + static QDateTime fromTime_t(uint secsSince1Jan1970UTC); + qint64 toMSecsSinceEpoch() const; + void setMSecsSinceEpoch(qint64 msecs); + qint64 msecsTo(const QDateTime &) const; + static QDateTime currentDateTimeUtc(); + static QDateTime fromMSecsSinceEpoch(qint64 msecs); + static qint64 currentMSecsSinceEpoch(); + void swap(QDateTime &other /Constrained/); +%If (Qt_5_2_0 -) + QDateTime(const QDate &date, const QTime &time, Qt::TimeSpec spec, int offsetSeconds); +%End +%If (Qt_5_2_0 -) + QDateTime(const QDate &date, const QTime &time, const QTimeZone &timeZone); +%End +%If (Qt_5_2_0 -) + int offsetFromUtc() const; +%End +%If (Qt_5_2_0 -) + QTimeZone timeZone() const; +%End +%If (Qt_5_2_0 -) + QString timeZoneAbbreviation() const; +%End +%If (Qt_5_2_0 -) + bool isDaylightTime() const; +%End +%If (Qt_5_2_0 -) + void setOffsetFromUtc(int offsetSeconds); +%End +%If (Qt_5_2_0 -) + void setTimeZone(const QTimeZone &toZone); +%End +%If (Qt_5_2_0 -) + QDateTime toOffsetFromUtc(int offsetSeconds) const; +%End +%If (Qt_5_2_0 -) + QDateTime toTimeZone(const QTimeZone &toZone) const; +%End +%If (Qt_5_2_0 -) + static QDateTime fromTime_t(uint secsSince1Jan1970UTC, Qt::TimeSpec spec, int offsetSeconds = 0); +%End +%If (Qt_5_2_0 -) + static QDateTime fromTime_t(uint secsSince1Jan1970UTC, const QTimeZone &timeZone); +%End +%If (Qt_5_2_0 -) + static QDateTime fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetSeconds = 0); +%End +%If (Qt_5_2_0 -) + static QDateTime fromMSecsSinceEpoch(qint64 msecs, const QTimeZone &timeZone); +%End +%If (Qt_5_8_0 -) + qint64 toSecsSinceEpoch() const; +%End +%If (Qt_5_8_0 -) + void setSecsSinceEpoch(qint64 secs); +%End +%If (Qt_5_8_0 -) + static QDateTime fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0); +%End +%If (Qt_5_8_0 -) + static QDateTime fromSecsSinceEpoch(qint64 secs, const QTimeZone &timeZone); +%End +%If (Qt_5_8_0 -) + static qint64 currentSecsSinceEpoch(); +%End +%If (Qt_5_14_0 -) + static QDateTime fromString(const QString &s, const QString &format, QCalendar cal); +%End +%If (Qt_5_14_0 -) + + enum class YearRange + { + First, + Last, + }; + +%End +%If (Qt_5_15_0 -) + QString toString(const QString &format, QCalendar cal) const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QDate & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QDate & /Constrained/) /ReleaseGIL/; +QDataStream &operator<<(QDataStream &, const QTime & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QTime & /Constrained/) /ReleaseGIL/; +QDataStream &operator<<(QDataStream &, const QDateTime & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QDateTime & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdeadlinetimer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdeadlinetimer.sip new file mode 100644 index 00000000..e33a9be7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdeadlinetimer.sip @@ -0,0 +1,89 @@ +// qdeadlinetimer.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) + +class QDeadlineTimer +{ +%TypeHeaderCode +#include +%End + +public: + enum ForeverConstant + { + Forever, + }; + + QDeadlineTimer(Qt::TimerType type = Qt::CoarseTimer); + QDeadlineTimer(QDeadlineTimer::ForeverConstant, Qt::TimerType type = Qt::CoarseTimer); + QDeadlineTimer(qint64 msecs, Qt::TimerType type = Qt::CoarseTimer); + void swap(QDeadlineTimer &other /Constrained/); + bool isForever() const; + bool hasExpired() const; + Qt::TimerType timerType() const; + void setTimerType(Qt::TimerType type); + qint64 remainingTime() const; + qint64 remainingTimeNSecs() const; + void setRemainingTime(qint64 msecs, Qt::TimerType type = Qt::CoarseTimer); + void setPreciseRemainingTime(qint64 secs, qint64 nsecs = 0, Qt::TimerType type = Qt::CoarseTimer); + qint64 deadline() const; + qint64 deadlineNSecs() const; + void setDeadline(qint64 msecs, Qt::TimerType type = Qt::CoarseTimer); + void setPreciseDeadline(qint64 secs, qint64 nsecs = 0, Qt::TimerType type = Qt::CoarseTimer); + static QDeadlineTimer addNSecs(QDeadlineTimer dt, qint64 nsecs); + static QDeadlineTimer current(Qt::TimerType type = Qt::CoarseTimer); + QDeadlineTimer &operator+=(qint64 msecs); + QDeadlineTimer &operator-=(qint64 msecs); +}; + +%End +%If (Qt_5_8_0 -) +bool operator==(QDeadlineTimer d1, QDeadlineTimer d2); +%End +%If (Qt_5_8_0 -) +bool operator!=(QDeadlineTimer d1, QDeadlineTimer d2); +%End +%If (Qt_5_8_0 -) +bool operator<(QDeadlineTimer d1, QDeadlineTimer d2); +%End +%If (Qt_5_8_0 -) +bool operator<=(QDeadlineTimer d1, QDeadlineTimer d2); +%End +%If (Qt_5_8_0 -) +bool operator>(QDeadlineTimer d1, QDeadlineTimer d2); +%End +%If (Qt_5_8_0 -) +bool operator>=(QDeadlineTimer d1, QDeadlineTimer d2); +%End +%If (Qt_5_8_0 -) +QDeadlineTimer operator+(QDeadlineTimer dt, qint64 msecs); +%End +%If (Qt_5_8_0 -) +QDeadlineTimer operator+(qint64 msecs, QDeadlineTimer dt); +%End +%If (Qt_5_8_0 -) +QDeadlineTimer operator-(QDeadlineTimer dt, qint64 msecs); +%End +%If (Qt_5_8_0 -) +qint64 operator-(QDeadlineTimer dt1, QDeadlineTimer dt2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdir.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdir.sip new file mode 100644 index 00000000..66b3d136 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdir.sip @@ -0,0 +1,182 @@ +// qdir.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDir +{ +%TypeHeaderCode +#include +%End + +public: + enum Filter + { + Dirs, + Files, + Drives, + NoSymLinks, + AllEntries, + TypeMask, + Readable, + Writable, + Executable, + PermissionMask, + Modified, + Hidden, + System, + AccessMask, + AllDirs, + CaseSensitive, + NoDotAndDotDot, + NoFilter, + NoDot, + NoDotDot, + }; + + typedef QFlags Filters; + + enum SortFlag + { + Name, + Time, + Size, + Unsorted, + SortByMask, + DirsFirst, + Reversed, + IgnoreCase, + DirsLast, + LocaleAware, + Type, + NoSort, + }; + + typedef QFlags SortFlags; + QDir(const QDir &); + QDir(const QString &path = QString()); + QDir(const QString &path, const QString &nameFilter, QFlags sort /TypeHintValue="QDir.Name|QDir.IgnoreCase"/ = QDir::SortFlags(QDir::Name|QDir::IgnoreCase), QFlags filters = AllEntries); + ~QDir(); + void setPath(const QString &path); + QString path() const; + QString absolutePath() const; + QString canonicalPath() const; + QString dirName() const; + QString filePath(const QString &fileName) const; + QString absoluteFilePath(const QString &fileName) const; + QString relativeFilePath(const QString &fileName) const; + bool cd(const QString &dirName); + bool cdUp(); + QStringList nameFilters() const; + void setNameFilters(const QStringList &nameFilters); + QDir::Filters filter() const; + void setFilter(QDir::Filters filter); + QDir::SortFlags sorting() const; + void setSorting(QDir::SortFlags sort); + uint count() const /__len__/; + QString operator[](int) const; +%MethodCode + Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + + if (idx < 0) + sipIsErr = 1; + else + sipRes = new QString(sipCpp->operator[]((int)idx)); +%End + + QStringList operator[](SIP_PYSLICE) const; +%MethodCode + Py_ssize_t start, stop, step, slicelength; + + if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) + { + sipIsErr = 1; + } + else + { + sipRes = new QStringList(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipRes) += (*sipCpp)[start]; + start += step; + } + } +%End + + int __contains__(const QString &) const; +%MethodCode + sipRes = bool(sipCpp->entryList().contains(*a0)); +%End + + static QStringList nameFiltersFromString(const QString &nameFilter); + QStringList entryList(QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::SortFlag::NoSort) const; + QStringList entryList(const QStringList &nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::SortFlag::NoSort) const; + QFileInfoList entryInfoList(QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::SortFlag::NoSort) const; + QFileInfoList entryInfoList(const QStringList &nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::SortFlag::NoSort) const; + bool mkdir(const QString &dirName) const; + bool rmdir(const QString &dirName) const; + bool mkpath(const QString &dirPath) const; + bool rmpath(const QString &dirPath) const; + bool isReadable() const; + bool exists() const; + bool isRoot() const; + static bool isRelativePath(const QString &path); + static bool isAbsolutePath(const QString &path); + bool isRelative() const; + bool isAbsolute() const; + bool makeAbsolute(); + bool operator==(const QDir &dir) const; + bool operator!=(const QDir &dir) const; + bool remove(const QString &fileName); + bool rename(const QString &oldName, const QString &newName); + bool exists(const QString &name) const; + void refresh() const; + static QFileInfoList drives(); + static QChar separator(); + static bool setCurrent(const QString &path); + static QDir current(); + static QString currentPath(); + static QDir home(); + static QString homePath(); + static QDir root(); + static QString rootPath(); + static QDir temp(); + static QString tempPath(); + static bool match(const QStringList &filters, const QString &fileName); + static bool match(const QString &filter, const QString &fileName); + static QString cleanPath(const QString &path); + static QString toNativeSeparators(const QString &pathName); + static QString fromNativeSeparators(const QString &pathName); + static void setSearchPaths(const QString &prefix, const QStringList &searchPaths); + static void addSearchPath(const QString &prefix, const QString &path); + static QStringList searchPaths(const QString &prefix); + bool removeRecursively(); + void swap(QDir &other /Constrained/); +%If (Qt_5_6_0 -) + static QChar listSeparator(); +%End +%If (Qt_5_9_0 -) + bool isEmpty(QDir::Filters filters = QDir::AllEntries | QDir::NoDotAndDotDot) const; +%End +}; + +QFlags operator|(QDir::Filter f1, QFlags f2); +QFlags operator|(QDir::SortFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdiriterator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdiriterator.sip new file mode 100644 index 00000000..36b811cd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qdiriterator.sip @@ -0,0 +1,54 @@ +// qdiriterator.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDirIterator +{ +%TypeHeaderCode +#include +%End + +public: + enum IteratorFlag + { + NoIteratorFlags, + FollowSymlinks, + Subdirectories, + }; + + typedef QFlags IteratorFlags; + QDirIterator(const QDir &dir, QFlags flags = NoIteratorFlags); + QDirIterator(const QString &path, QFlags flags = NoIteratorFlags); + QDirIterator(const QString &path, QFlags filters, QFlags flags = NoIteratorFlags); + QDirIterator(const QString &path, const QStringList &nameFilters, QFlags filters = QDir::NoFilter, QFlags flags = NoIteratorFlags); + ~QDirIterator(); + QString next(); + bool hasNext() const; + QString fileName() const; + QString filePath() const; + QFileInfo fileInfo() const; + QString path() const; + +private: + QDirIterator(const QDirIterator &); +}; + +QFlags operator|(QDirIterator::IteratorFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeasingcurve.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeasingcurve.sip new file mode 100644 index 00000000..1abb75b9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeasingcurve.sip @@ -0,0 +1,285 @@ +// qeasingcurve.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QEasingCurve /TypeHintIn="Union[QEasingCurve, QEasingCurve.Type]"/ +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// The EasingFunction callback doesn't provide a context so we support a fixed +// number of different functions. + +const int ec_nr_custom_types = 10; + +struct ec_custom_type { + PyObject *py_func; + QEasingCurve::EasingFunction func; +}; + +static qreal ec_call(int ec, qreal v); + +static qreal ec_func_0(qreal v) +{ + return ec_call(0, v); +} + +static qreal ec_func_1(qreal v) +{ + return ec_call(1, v); +} + +static qreal ec_func_2(qreal v) +{ + return ec_call(2, v); +} + +static qreal ec_func_3(qreal v) +{ + return ec_call(3, v); +} + +static qreal ec_func_4(qreal v) +{ + return ec_call(4, v); +} + +static qreal ec_func_5(qreal v) +{ + return ec_call(5, v); +} + +static qreal ec_func_6(qreal v) +{ + return ec_call(6, v); +} + +static qreal ec_func_7(qreal v) +{ + return ec_call(7, v); +} + +static qreal ec_func_8(qreal v) +{ + return ec_call(8, v); +} + +static qreal ec_func_9(qreal v) +{ + return ec_call(9, v); +} + +static ec_custom_type ec_custom_types[ec_nr_custom_types] = { + {0, ec_func_0}, + {0, ec_func_1}, + {0, ec_func_2}, + {0, ec_func_3}, + {0, ec_func_4}, + {0, ec_func_5}, + {0, ec_func_6}, + {0, ec_func_7}, + {0, ec_func_8}, + {0, ec_func_9}, +}; + +static qreal ec_call(int ec, qreal v) +{ + PyObject *res_obj; + qreal res = 0.0; + + SIP_BLOCK_THREADS + + res_obj = PyObject_CallFunction(ec_custom_types[ec].py_func, (char *)"(d)", (double)v); + + if (res_obj) + { + PyErr_Clear(); + + res = PyFloat_AsDouble(res_obj); + Py_DECREF(res_obj); + + if (PyErr_Occurred()) + res_obj = 0; + } + + if (!res_obj) + pyqt5_err_print(); + + SIP_UNBLOCK_THREADS + + return res; +} +%End + +%ConvertToTypeCode +// Allow a QEasingCurve::Type whenever a QEasingCurve is expected. + +if (sipIsErr == NULL) +{ + if (sipCanConvertToType(sipPy, sipType_QEasingCurve, SIP_NO_CONVERTORS)) + return 1; + + if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QEasingCurve_Type))) + return 1; + + return 0; +} + +if (sipCanConvertToType(sipPy, sipType_QEasingCurve, SIP_NO_CONVERTORS)) +{ + *sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QEasingCurve, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + + return 0; +} + +*sipCppPtr = new QEasingCurve((QEasingCurve::Type)SIPLong_AsLong(sipPy)); + +return sipGetState(sipTransferObj); +%End + +public: + enum Type + { + Linear, + InQuad, + OutQuad, + InOutQuad, + OutInQuad, + InCubic, + OutCubic, + InOutCubic, + OutInCubic, + InQuart, + OutQuart, + InOutQuart, + OutInQuart, + InQuint, + OutQuint, + InOutQuint, + OutInQuint, + InSine, + OutSine, + InOutSine, + OutInSine, + InExpo, + OutExpo, + InOutExpo, + OutInExpo, + InCirc, + OutCirc, + InOutCirc, + OutInCirc, + InElastic, + OutElastic, + InOutElastic, + OutInElastic, + InBack, + OutBack, + InOutBack, + OutInBack, + InBounce, + OutBounce, + InOutBounce, + OutInBounce, + InCurve, + OutCurve, + SineCurve, + CosineCurve, + BezierSpline, + TCBSpline, + Custom, + }; + + QEasingCurve(QEasingCurve::Type type = QEasingCurve::Linear); + QEasingCurve(const QEasingCurve &other); + ~QEasingCurve(); + bool operator==(const QEasingCurve &other) const; + bool operator!=(const QEasingCurve &other) const; + qreal amplitude() const; + void setAmplitude(qreal amplitude); + qreal period() const; + void setPeriod(qreal period); + qreal overshoot() const; + void setOvershoot(qreal overshoot); + QEasingCurve::Type type() const; + void setType(QEasingCurve::Type type); + void setCustomType(SIP_PYCALLABLE func /TypeHint="Callable[[float], float]"/); +%MethodCode + int i; + ec_custom_type *ct; + + for (i = 0; i < ec_nr_custom_types; ++i) + { + ct = &ec_custom_types[i]; + + if (!ct->py_func || ct->py_func == a0) + break; + } + + if (i == ec_nr_custom_types) + { + PyErr_Format(PyExc_ValueError, "a maximum of %d different easing functions are supported", ec_nr_custom_types); + sipError = sipErrorFail; + } + else + { + if (!ct->py_func) + { + ct->py_func = a0; + Py_INCREF(a0); + } + + sipCpp->setCustomType(ct->func); + } +%End + + SIP_PYCALLABLE customType() const /TypeHint="Callable[[float], float]"/; +%MethodCode + QEasingCurve::EasingFunction func = sipCpp->customType(); + + sipRes = Py_None; + + if (func) + { + for (int i = 0; i < ec_nr_custom_types; ++i) + { + if (ec_custom_types[i].func == func) + { + sipRes = ec_custom_types[i].py_func; + break; + } + } + } + + Py_INCREF(sipRes); +%End + + qreal valueForProgress(qreal progress) const; + void swap(QEasingCurve &other /Constrained/); + void addCubicBezierSegment(const QPointF &c1, const QPointF &c2, const QPointF &endPoint); + void addTCBSegment(const QPointF &nextPoint, qreal t, qreal c, qreal b); + QVector toCubicSpline() const; +}; + +QDataStream &operator<<(QDataStream &, const QEasingCurve & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QEasingCurve & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qelapsedtimer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qelapsedtimer.sip new file mode 100644 index 00000000..de5f1aad --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qelapsedtimer.sip @@ -0,0 +1,59 @@ +// qelapsedtimer.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QElapsedTimer +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_4_0 -) + QElapsedTimer(); +%End + + enum ClockType + { + SystemTime, + MonotonicClock, + TickCounter, + MachAbsoluteTime, + PerformanceCounter, + }; + + static QElapsedTimer::ClockType clockType(); + static bool isMonotonic(); + void start(); + qint64 restart(); + void invalidate(); + bool isValid() const; + qint64 elapsed() const; + bool hasExpired(qint64 timeout) const; + qint64 msecsSinceReference() const; + qint64 msecsTo(const QElapsedTimer &other) const; + qint64 secsTo(const QElapsedTimer &other) const; + bool operator==(const QElapsedTimer &other) const; + bool operator!=(const QElapsedTimer &other) const; + qint64 nsecsElapsed() const; +}; + +bool operator<(const QElapsedTimer &v1, const QElapsedTimer &v2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeventloop.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeventloop.sip new file mode 100644 index 00000000..f39bc94d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeventloop.sip @@ -0,0 +1,76 @@ +// qeventloop.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QEventLoop : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QEventLoop(QObject *parent /TransferThis/ = 0); + virtual ~QEventLoop(); + + enum ProcessEventsFlag + { + AllEvents, + ExcludeUserInputEvents, + ExcludeSocketNotifiers, + WaitForMoreEvents, + X11ExcludeTimers, + }; + + typedef QFlags ProcessEventsFlags; + bool processEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents) /ReleaseGIL/; + void processEvents(QEventLoop::ProcessEventsFlags flags, int maximumTime) /ReleaseGIL/; + int exec(QFlags flags = AllEvents) /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%If (Py_v3) + int exec(QFlags flags = AllEvents) /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,ReleaseGIL/; +%End + void exit(int returnCode = 0); + bool isRunning() const; + void wakeUp(); + +public slots: + void quit(); + +public: + virtual bool event(QEvent *event); +}; + +QFlags operator|(QEventLoop::ProcessEventsFlag f1, QFlags f2); + +class QEventLoopLocker +{ +%TypeHeaderCode +#include +%End + +public: + QEventLoopLocker() /ReleaseGIL/; + explicit QEventLoopLocker(QEventLoop *loop) /ReleaseGIL/; + explicit QEventLoopLocker(QThread *thread) /ReleaseGIL/; + ~QEventLoopLocker(); + +private: + QEventLoopLocker(const QEventLoopLocker &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeventtransition.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeventtransition.sip new file mode 100644 index 00000000..7a0eaf7a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qeventtransition.sip @@ -0,0 +1,42 @@ +// qeventtransition.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QEventTransition : QAbstractTransition +{ +%TypeHeaderCode +#include +%End + +public: + QEventTransition(QState *sourceState /TransferThis/ = 0); + QEventTransition(QObject *object /KeepReference=10/, QEvent::Type type, QState *sourceState /TransferThis/ = 0); + virtual ~QEventTransition(); + QObject *eventSource() const; + void setEventSource(QObject *object /KeepReference=10/); + QEvent::Type eventType() const; + void setEventType(QEvent::Type type); + +protected: + virtual bool eventTest(QEvent *event); + virtual void onTransition(QEvent *event); + virtual bool event(QEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfile.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfile.sip new file mode 100644 index 00000000..bdc1e060 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfile.sip @@ -0,0 +1,67 @@ +// qfile.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFile : QFileDevice +{ +%TypeHeaderCode +#include +%End + +public: + QFile(); + QFile(const QString &name); + explicit QFile(QObject *parent /TransferThis/); + QFile(const QString &name, QObject *parent /TransferThis/); + virtual ~QFile(); + virtual QString fileName() const; + void setFileName(const QString &name); + static QByteArray encodeName(const QString &fileName); + static QString decodeName(const QByteArray &localFileName); + static QString decodeName(const char *localFileName /Encoding="ASCII"/); + bool exists() const; + static bool exists(const QString &fileName); + QString symLinkTarget() const; + static QString symLinkTarget(const QString &fileName); + bool remove() /ReleaseGIL/; + static bool remove(const QString &fileName) /ReleaseGIL/; + bool rename(const QString &newName) /ReleaseGIL/; + static bool rename(const QString &oldName, const QString &newName) /ReleaseGIL/; + bool link(const QString &newName) /ReleaseGIL/; + static bool link(const QString &oldname, const QString &newName) /ReleaseGIL/; + bool copy(const QString &newName) /ReleaseGIL/; + static bool copy(const QString &fileName, const QString &newName) /ReleaseGIL/; + virtual bool open(QIODevice::OpenMode flags) /ReleaseGIL/; + bool open(int fd, QIODevice::OpenMode ioFlags, QFileDevice::FileHandleFlags handleFlags = QFileDevice::FileHandleFlag::DontCloseHandle) /ReleaseGIL/; + virtual qint64 size() const; + virtual bool resize(qint64 sz); + static bool resize(const QString &filename, qint64 sz); + virtual QFileDevice::Permissions permissions() const; + static QFileDevice::Permissions permissions(const QString &filename); + virtual bool setPermissions(QFileDevice::Permissions permissionSpec); + static bool setPermissions(const QString &filename, QFileDevice::Permissions permissionSpec); +%If (Qt_5_15_0 -) + bool moveToTrash(); +%End +%If (Qt_5_15_0 -) + static bool moveToTrash(const QString &fileName, QString *pathInTrash /Out/ = 0); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfiledevice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfiledevice.sip new file mode 100644 index 00000000..9c19be1d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfiledevice.sip @@ -0,0 +1,199 @@ +// qfiledevice.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFileDevice : QIODevice /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum FileError + { + NoError, + ReadError, + WriteError, + FatalError, + ResourceError, + OpenError, + AbortError, + TimeOutError, + UnspecifiedError, + RemoveError, + RenameError, + PositionError, + ResizeError, + PermissionsError, + CopyError, + }; + + enum Permission + { + ReadOwner, + WriteOwner, + ExeOwner, + ReadUser, + WriteUser, + ExeUser, + ReadGroup, + WriteGroup, + ExeGroup, + ReadOther, + WriteOther, + ExeOther, + }; + + typedef QFlags Permissions; + + enum FileHandleFlag + { + AutoCloseHandle, + DontCloseHandle, + }; + + typedef QFlags FileHandleFlags; + virtual ~QFileDevice(); + QFileDevice::FileError error() const; + void unsetError(); + virtual void close() /ReleaseGIL/; + virtual bool isSequential() const; + int handle() const; + virtual QString fileName() const; + virtual qint64 pos() const; + virtual bool seek(qint64 offset) /ReleaseGIL/; + virtual bool atEnd() const; + bool flush() /ReleaseGIL/; + virtual qint64 size() const; + virtual bool resize(qint64 sz); + virtual QFileDevice::Permissions permissions() const; + virtual bool setPermissions(QFileDevice::Permissions permissionSpec); + + enum MemoryMapFlags + { + NoOptions, +%If (Qt_5_4_0 -) + MapPrivateOption, +%End + }; + + void *map(qint64 offset, qint64 size /ResultSize/, QFileDevice::MemoryMapFlags flags = QFileDevice::NoOptions) [uchar * (qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags = QFileDevice::NoOptions)]; + bool unmap(void *address) [bool (uchar *address)]; + +protected: + virtual SIP_PYOBJECT readData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QFileDevice::readData(s, a0) : sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual qint64 writeData(const char *data /Array/, qint64 len /ArraySize/) /ReleaseGIL/; + virtual SIP_PYOBJECT readLineData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QFileDevice::readLineData(s, a0) : sipCpp->readLineData(s, a0); + #else + len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + +public: +%If (Qt_5_10_0 -) + + enum FileTime + { + FileAccessTime, + FileBirthTime, + FileMetadataChangeTime, + FileModificationTime, + }; + +%End +%If (Qt_5_10_0 -) + QDateTime fileTime(QFileDevice::FileTime time) const; +%End +%If (Qt_5_10_0 -) + bool setFileTime(const QDateTime &newDate, QFileDevice::FileTime fileTime); +%End +}; + +QFlags operator|(QFileDevice::Permission f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfileinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfileinfo.sip new file mode 100644 index 00000000..231f9b46 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfileinfo.sip @@ -0,0 +1,112 @@ +// qfileinfo.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFileInfo +{ +%TypeHeaderCode +#include +%End + +public: + QFileInfo(); + QFileInfo(const QString &file); + QFileInfo(const QFile &file); + QFileInfo(const QDir &dir, const QString &file); + QFileInfo(const QFileInfo &fileinfo); + ~QFileInfo(); + bool operator==(const QFileInfo &fileinfo) const; + bool operator!=(const QFileInfo &fileinfo) const; + void setFile(const QString &file); + void setFile(const QFile &file); + void setFile(const QDir &dir, const QString &file); + bool exists() const; + void refresh(); + QString filePath() const; + SIP_PYOBJECT __fspath__(); +%MethodCode + sipRes = qpycore_PyObject_FromQString(QDir::toNativeSeparators(sipCpp->filePath())); +%End + + QString absoluteFilePath() const; + QString canonicalFilePath() const; + QString fileName() const; + QString baseName() const; + QString completeBaseName() const; + QString suffix() const; + QString completeSuffix() const; + QString path() const; + QString absolutePath() const; + QString canonicalPath() const; + QDir dir() const; + QDir absoluteDir() const; + bool isReadable() const; + bool isWritable() const; + bool isExecutable() const; + bool isHidden() const; + bool isRelative() const; + bool isAbsolute() const; + bool makeAbsolute(); + bool isFile() const; + bool isDir() const; + bool isSymLink() const; + bool isRoot() const; + QString owner() const; + uint ownerId() const; + QString group() const; + uint groupId() const; + bool permission(QFileDevice::Permissions permissions) const; + QFileDevice::Permissions permissions() const; + qint64 size() const; + QDateTime created() const; + QDateTime lastModified() const; + QDateTime lastRead() const; + bool caching() const; + void setCaching(bool on); + QString symLinkTarget() const; + QString bundleName() const; + bool isBundle() const; + bool isNativePath() const; + void swap(QFileInfo &other /Constrained/); +%If (Qt_5_2_0 -) + static bool exists(const QString &file); +%End +%If (Qt_5_10_0 -) + QDateTime birthTime() const; +%End +%If (Qt_5_10_0 -) + QDateTime metadataChangeTime() const; +%End +%If (Qt_5_10_0 -) + QDateTime fileTime(QFileDevice::FileTime time) const; +%End +%If (Qt_5_14_0 -) + bool isSymbolicLink() const; +%End +%If (Qt_5_14_0 -) + bool isShortcut() const; +%End +%If (Qt_5_15_0 -) + bool isJunction() const; +%End +}; + +typedef QList QFileInfoList; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfileselector.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfileselector.sip new file mode 100644 index 00000000..eabaf0d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfileselector.sip @@ -0,0 +1,41 @@ +// qfileselector.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QFileSelector : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QFileSelector(QObject *parent /TransferThis/ = 0); + virtual ~QFileSelector(); + QString select(const QString &filePath) const; + QUrl select(const QUrl &filePath) const; + QStringList extraSelectors() const; + void setExtraSelectors(const QStringList &list); + QStringList allSelectors() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfilesystemwatcher.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfilesystemwatcher.sip new file mode 100644 index 00000000..8c7fb518 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfilesystemwatcher.sip @@ -0,0 +1,43 @@ +// qfilesystemwatcher.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFileSystemWatcher : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QFileSystemWatcher(QObject *parent /TransferThis/ = 0); + QFileSystemWatcher(const QStringList &paths, QObject *parent /TransferThis/ = 0); + virtual ~QFileSystemWatcher(); + bool addPath(const QString &file); + QStringList addPaths(const QStringList &files); + QStringList directories() const; + QStringList files() const; + bool removePath(const QString &file); + QStringList removePaths(const QStringList &files); + +signals: + void directoryChanged(const QString &path); + void fileChanged(const QString &path); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfinalstate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfinalstate.sip new file mode 100644 index 00000000..85551865 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qfinalstate.sip @@ -0,0 +1,37 @@ +// qfinalstate.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFinalState : QAbstractState +{ +%TypeHeaderCode +#include +%End + +public: + QFinalState(QState *parent /TransferThis/ = 0); + virtual ~QFinalState(); + +protected: + virtual void onEntry(QEvent *event); + virtual void onExit(QEvent *event); + virtual bool event(QEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qglobal.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qglobal.sip new file mode 100644 index 00000000..c7a073a0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qglobal.sip @@ -0,0 +1,239 @@ +// qglobal.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +// PyQt version information. +int PYQT_VERSION; +const char *PYQT_VERSION_STR; + +%ModuleCode +static int PYQT_VERSION = 0x050f06; +static const char *PYQT_VERSION_STR = "5.15.6"; +%End +const int QT_VERSION; +const char *QT_VERSION_STR; +typedef signed char qint8 /PyInt/; +typedef unsigned char quint8 /PyInt/; +typedef short qint16; +typedef unsigned short quint16; +typedef int qint32; +typedef unsigned int quint32; +typedef long long qint64; +typedef unsigned long long quint64; +typedef qint64 qlonglong; +typedef quint64 qulonglong; +%If (PyQt_qreal_double) +typedef double qreal; +%End +%If (!PyQt_qreal_double) +typedef float qreal; +%End +typedef unsigned char uchar; +typedef unsigned short ushort; +typedef unsigned int uint; +typedef unsigned long ulong; +double qAbs(const double &t); +int qRound(qreal d); +qint64 qRound64(qreal d); +const char *qVersion(); +bool qSharedBuild(); +// Template definition for QFlags. +template +class QFlags /NoDefaultCtors, PyQtFlagsEnums="ENUM", TypeHintIn="Union[QFlags, ENUM]"/ +{ +public: + // QFlags is supposed to be a more type safe version of an int (even though + // Qt has cases where it expects multiple flag types to be or-ed together). + // Because of the C++ int() operator and because type(ENUM) is a sub-type + // of int, most of this is lost. Therefore we only implement logical + // operators that take int arguments. + QFlags(); + QFlags(int f /TypeHint="QFlags"/); + + // This will never be called because the above ctor will be invoked first. + // However it's required for sip to generate assignment helpers. + QFlags(const QFlags &); + + operator int() const; + + // This is required for Python v3.8 and later. + int __index__() const; +%MethodCode + sipRes = sipCpp->operator QFlags::Int(); +%End + + QFlags operator~() const; + + QFlags operator&(int f /TypeHint="QFlags"/) const; + QFlags &operator&=(int f /TypeHint="QFlags"/); + + QFlags operator|(int f /TypeHint="QFlags"/) const; + QFlags &operator|=(int f /TypeHint="QFlags"/); +%MethodCode + *sipCpp = QFlags(*sipCpp | a0); +%End + + QFlags operator^(int f /TypeHint="QFlags"/) const; + QFlags &operator^=(int f /TypeHint="QFlags"/); +%MethodCode + *sipCpp = QFlags(*sipCpp ^ a0); +%End + + // These are necessary to prevent Python comparing object IDs. + bool operator==(const QFlags &f) const; +%MethodCode + sipRes = (sipCpp->operator QFlags::Int() == a0->operator QFlags::Int()); +%End + + bool operator!=(const QFlags &f) const; +%MethodCode + sipRes = (sipCpp->operator QFlags::Int() != a0->operator QFlags::Int()); +%End + + int __bool__() const; +%MethodCode + sipRes = (sipCpp->operator QFlags::Int() != 0); +%End + + long __hash__() const; +%MethodCode + sipRes = sipCpp->operator QFlags::Int(); +%End + + +%ConvertToTypeCode +// Allow an instance of the base enum whenever a QFlags is expected. + +if (sipIsErr == NULL) + return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_ENUM)) || + sipCanConvertToType(sipPy, sipType_QFlags, SIP_NO_CONVERTORS)); + +if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_ENUM))) +{ + *sipCppPtr = new QFlags(int(SIPLong_AsLong(sipPy))); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End +}; +// Hook's into Qt's resource system. +%ModuleCode +QT_BEGIN_NAMESPACE +extern bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); +extern bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); +QT_END_NAMESPACE +%End + +bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); +bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); +bool qFuzzyCompare(double p1, double p2); +bool qIsNull(double d); +void qsrand(uint seed); +int qrand(); +typedef void *QFunctionPointer; +// Mapped type for qintptr. +// Map qintptr onto sip.voidptr. This means either an address (on Windows) or +// an integer file descriptor (on everything else) can be used. +%MappedType qintptr /TypeHint="PyQt5.sip.voidptr"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode + qintptr ptr = (qintptr)sipConvertToVoidPtr(sipPy); + + if (!sipIsErr) + return !PyErr_Occurred(); + + // Mapped types deal with pointers, so create one on the heap. + qintptr *heap = new qintptr; + *heap = ptr; + + *sipCppPtr = heap; + + // Make sure the pointer doesn't leak. + return SIP_TEMPORARY; +%End + +%ConvertFromTypeCode + return sipConvertFromVoidPtr((void *)*sipCpp); +%End +}; +// Mapped type for quintptr. +// Map quintptr onto sip.voidptr. This means either an address (on Windows) or +// an integer file descriptor (on everything else) can be used. +%MappedType quintptr /TypeHint="PyQt5.sip.voidptr"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode + quintptr ptr = (quintptr)sipConvertToVoidPtr(sipPy); + + if (!sipIsErr) + return !PyErr_Occurred(); + + // Mapped types deal with pointers, so create one on the heap. + quintptr *heap = new quintptr; + *heap = ptr; + + *sipCppPtr = heap; + + // Make sure the pointer doesn't leak. + return SIP_TEMPORARY; +%End + +%ConvertFromTypeCode + return sipConvertFromVoidPtr((void *)*sipCpp); +%End +}; +// Implementations of pyqt[Set]PickleProtocol(). +void pyqtSetPickleProtocol(SIP_PYOBJECT /TypeHint="Optional[int]"/); +%MethodCode + Py_XDECREF(qpycore_pickle_protocol); + qpycore_pickle_protocol = a0; + Py_INCREF(qpycore_pickle_protocol); +%End + +SIP_PYOBJECT pyqtPickleProtocol() /TypeHint="Optional[int]"/; +%MethodCode + sipRes = qpycore_pickle_protocol; + if (!sipRes) + sipRes = Py_None; + + Py_INCREF(sipRes); +%End +%If (Qt_5_10_0 -) +QString qEnvironmentVariable(const char *varName); +%End +%If (Qt_5_10_0 -) +QString qEnvironmentVariable(const char *varName, const QString &defaultValue); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qhistorystate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qhistorystate.sip new file mode 100644 index 00000000..73729561 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qhistorystate.sip @@ -0,0 +1,69 @@ +// qhistorystate.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHistoryState : QAbstractState +{ +%TypeHeaderCode +#include +%End + +public: + enum HistoryType + { + ShallowHistory, + DeepHistory, + }; + + QHistoryState(QState *parent /TransferThis/ = 0); + QHistoryState(QHistoryState::HistoryType type, QState *parent /TransferThis/ = 0); + virtual ~QHistoryState(); + QAbstractState *defaultState() const; + void setDefaultState(QAbstractState *state /KeepReference=0/); + QHistoryState::HistoryType historyType() const; + void setHistoryType(QHistoryState::HistoryType type); + +protected: + virtual void onEntry(QEvent *event); + virtual void onExit(QEvent *event); + virtual bool event(QEvent *e); + +signals: +%If (Qt_5_4_0 -) + void defaultStateChanged(); +%End +%If (Qt_5_4_0 -) + void historyTypeChanged(); +%End + +public: +%If (Qt_5_6_0 -) + QAbstractTransition *defaultTransition() const; +%End +%If (Qt_5_6_0 -) + void setDefaultTransition(QAbstractTransition *transition /KeepReference=1/); +%End + +signals: +%If (Qt_5_6_0 -) + void defaultTransitionChanged(); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qidentityproxymodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qidentityproxymodel.sip new file mode 100644 index 00000000..c364f058 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qidentityproxymodel.sip @@ -0,0 +1,60 @@ +// qidentityproxymodel.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QIdentityProxyModel : QAbstractProxyModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QIdentityProxyModel(QObject *parent /TransferThis/ = 0); + virtual ~QIdentityProxyModel(); + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const; + virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const; + virtual QModelIndex parent(const QModelIndex &child) const; + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); + virtual QItemSelection mapSelectionFromSource(const QItemSelection &selection) const; + virtual QItemSelection mapSelectionToSource(const QItemSelection &selection) const; + virtual QModelIndexList match(const QModelIndex &start, int role, const QVariant &value, int hits = 1, Qt::MatchFlags flags = Qt::MatchStartsWith|Qt::MatchWrap) const; + virtual void setSourceModel(QAbstractItemModel *sourceModel /KeepReference/); + virtual bool insertColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); +%If (Qt_5_5_0 -) + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; +%End +%If (- Qt_5_5_0) + virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; +%End + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; +%If (Qt_5_15_0 -) + virtual bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild); +%End +%If (Qt_5_15_0 -) + virtual bool moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qiodevice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qiodevice.sip new file mode 100644 index 00000000..f6283aac --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qiodevice.sip @@ -0,0 +1,347 @@ +// qiodevice.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QIODevice : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum OpenModeFlag + { + NotOpen, + ReadOnly, + WriteOnly, + ReadWrite, + Append, + Truncate, + Text, + Unbuffered, +%If (Qt_5_11_0 -) + NewOnly, +%End +%If (Qt_5_11_0 -) + ExistingOnly, +%End + }; + + typedef QFlags OpenMode; + QIODevice(); + explicit QIODevice(QObject *parent /TransferThis/); + virtual ~QIODevice(); + QIODevice::OpenMode openMode() const; + void setTextModeEnabled(bool enabled); + bool isTextModeEnabled() const; + bool isOpen() const; + bool isReadable() const; + bool isWritable() const; + virtual bool isSequential() const; + virtual bool open(QIODevice::OpenMode mode) /ReleaseGIL/; + virtual void close() /ReleaseGIL/; + virtual qint64 pos() const; + virtual qint64 size() const; + virtual bool seek(qint64 pos) /ReleaseGIL/; + virtual bool atEnd() const; + virtual bool reset(); + virtual qint64 bytesAvailable() const; + virtual qint64 bytesToWrite() const; + SIP_PYOBJECT read(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + len = sipCpp->read(s, a0); + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + QByteArray readAll() /ReleaseGIL/; + SIP_PYOBJECT readLine(qint64 maxlen=0) /TypeHint="Py_v3:bytes;str",ReleaseGIL/; +%MethodCode + // The two C++ overloads would have the same Python signature so we get most of + // the combined functionality by treating an argument of 0 (the default) as + // meaning return a QByteArray of any length. Otherwise it is treated as a + // maximum buffer size and a Python string is returned. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else if (a0 == 0) + { + QByteArray *ba; + + Py_BEGIN_ALLOW_THREADS + ba = new QByteArray(sipCpp->readLine(a0)); + Py_END_ALLOW_THREADS + + sipRes = sipBuildResult(&sipIsErr, "N", ba, sipType_QByteArray, 0); + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + len = sipCpp->readLine(s, a0); + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual bool canReadLine() const; + QByteArray peek(qint64 maxlen) /ReleaseGIL/; + qint64 write(const QByteArray &data) /ReleaseGIL/; + virtual bool waitForReadyRead(int msecs) /ReleaseGIL/; + virtual bool waitForBytesWritten(int msecs) /ReleaseGIL/; + void ungetChar(char c); + bool putChar(char c); + bool getChar(char *c /Encoding="None",Out/); + QString errorString() const; + +signals: + void readyRead(); + void bytesWritten(qint64 bytes); + void aboutToClose(); + void readChannelFinished(); + +protected: + virtual SIP_PYOBJECT readData(qint64 maxlen) = 0 /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtect_readData(s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + +%VirtualCatcherCode + PyObject *result = sipCallMethod(&sipIsErr, sipMethod, "n", a1); + + if (result != NULL) + { + PyObject *buf; + + sipParseResult(&sipIsErr, sipMethod, result, "O", &buf); + + if (buf == Py_None) + sipRes = -1L; + else if (!SIPBytes_Check(buf)) + { + sipBadCatcherResult(sipMethod); + sipIsErr = 1; + } + else + { + memcpy(a0, SIPBytes_AsString(buf), SIPBytes_Size(buf)); + sipRes = SIPBytes_Size(buf); + } + + Py_DECREF(buf); + Py_DECREF(result); + } +%End + + virtual SIP_PYOBJECT readLineData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QIODevice::readLineData(s, a0) : sipCpp->readLineData(s, a0); + #else + len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + +%VirtualCatcherCode + PyObject *result = sipCallMethod(&sipIsErr, sipMethod, "n", a1); + + if (result != NULL) + { + PyObject *buf; + + sipParseResult(&sipIsErr, sipMethod, result, "O", &buf); + + if (buf == Py_None) + sipRes = -1L; + else if (!SIPBytes_Check(buf)) + { + sipBadCatcherResult(sipMethod); + sipIsErr = 1; + } + else + { + memcpy(a0, SIPBytes_AsString(buf), SIPBytes_Size(buf)); + sipRes = SIPBytes_Size(buf); + } + + Py_DECREF(buf); + Py_DECREF(result); + } +%End + + virtual qint64 writeData(const char *data /Array/, qint64 len /ArraySize/) = 0; + void setOpenMode(QIODevice::OpenMode openMode); + void setErrorString(const QString &errorString); + +public: +%If (Qt_5_7_0 -) + int readChannelCount() const; +%End +%If (Qt_5_7_0 -) + int writeChannelCount() const; +%End +%If (Qt_5_7_0 -) + int currentReadChannel() const; +%End +%If (Qt_5_7_0 -) + void setCurrentReadChannel(int channel); +%End +%If (Qt_5_7_0 -) + int currentWriteChannel() const; +%End +%If (Qt_5_7_0 -) + void setCurrentWriteChannel(int channel); +%End +%If (Qt_5_7_0 -) + void startTransaction(); +%End +%If (Qt_5_7_0 -) + void commitTransaction(); +%End +%If (Qt_5_7_0 -) + void rollbackTransaction(); +%End +%If (Qt_5_7_0 -) + bool isTransactionStarted() const; +%End + +signals: +%If (Qt_5_7_0 -) + void channelReadyRead(int channel); +%End +%If (Qt_5_7_0 -) + void channelBytesWritten(int channel, qint64 bytes); +%End + +public: +%If (Qt_5_10_0 -) + qint64 skip(qint64 maxSize); +%End +}; + +QFlags operator|(QIODevice::OpenModeFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qitemselectionmodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qitemselectionmodel.sip new file mode 100644 index 00000000..6e193ff5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qitemselectionmodel.sip @@ -0,0 +1,309 @@ +// qitemselectionmodel.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QItemSelectionRange +{ +%TypeHeaderCode +#include +%End + +public: + QItemSelectionRange(); + QItemSelectionRange(const QItemSelectionRange &other); + QItemSelectionRange(const QModelIndex &atopLeft, const QModelIndex &abottomRight); + explicit QItemSelectionRange(const QModelIndex &index); + int top() const; + int left() const; + int bottom() const; + int right() const; + int width() const; + int height() const; + const QPersistentModelIndex &topLeft() const; + const QPersistentModelIndex &bottomRight() const; + QModelIndex parent() const; + const QAbstractItemModel *model() const; + bool contains(const QModelIndex &index) const; + bool contains(int row, int column, const QModelIndex &parentIndex) const; + bool intersects(const QItemSelectionRange &other) const; + bool operator==(const QItemSelectionRange &other) const; + bool operator!=(const QItemSelectionRange &other) const; + bool isValid() const; + QModelIndexList indexes() const; + QItemSelectionRange intersected(const QItemSelectionRange &other) const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + + bool isEmpty() const; + bool operator<(const QItemSelectionRange &other) const; +%If (Qt_5_6_0 -) + void swap(QItemSelectionRange &other /Constrained/); +%End +}; + +class QItemSelectionModel : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum SelectionFlag + { + NoUpdate, + Clear, + Select, + Deselect, + Toggle, + Current, + Rows, + Columns, + SelectCurrent, + ToggleCurrent, + ClearAndSelect, + }; + + typedef QFlags SelectionFlags; +%If (Qt_5_5_0 -) + explicit QItemSelectionModel(QAbstractItemModel *model /TransferThis/ = 0); +%End +%If (- Qt_5_5_0) + explicit QItemSelectionModel(QAbstractItemModel *model /TransferThis/); +%End + QItemSelectionModel(QAbstractItemModel *model, QObject *parent /TransferThis/); + virtual ~QItemSelectionModel(); + QModelIndex currentIndex() const; + bool isSelected(const QModelIndex &index) const; +%If (- Qt_5_15_0) + bool isRowSelected(int row, const QModelIndex &parent) const; +%End +%If (Qt_5_15_0 -) + bool isRowSelected(int row, const QModelIndex &parent = QModelIndex()) const; +%End +%If (- Qt_5_15_0) + bool isColumnSelected(int column, const QModelIndex &parent) const; +%End +%If (Qt_5_15_0 -) + bool isColumnSelected(int column, const QModelIndex &parent = QModelIndex()) const; +%End +%If (- Qt_5_15_0) + bool rowIntersectsSelection(int row, const QModelIndex &parent) const; +%End +%If (Qt_5_15_0 -) + bool rowIntersectsSelection(int row, const QModelIndex &parent = QModelIndex()) const; +%End +%If (- Qt_5_15_0) + bool columnIntersectsSelection(int column, const QModelIndex &parent) const; +%End +%If (Qt_5_15_0 -) + bool columnIntersectsSelection(int column, const QModelIndex &parent = QModelIndex()) const; +%End + QModelIndexList selectedIndexes() const; + const QItemSelection selection() const; +%If (Qt_5_5_0 -) + QAbstractItemModel *model(); +%End +%If (- Qt_5_5_0) + const QAbstractItemModel *model() const; +%End + +public slots: + virtual void clear(); + void clearSelection(); + virtual void reset(); + virtual void select(const QModelIndex &index, QItemSelectionModel::SelectionFlags command); + virtual void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command); + virtual void setCurrentIndex(const QModelIndex &index, QItemSelectionModel::SelectionFlags command); + virtual void clearCurrentIndex(); + +signals: + void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected); + void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); + void currentRowChanged(const QModelIndex ¤t, const QModelIndex &previous); + void currentColumnChanged(const QModelIndex ¤t, const QModelIndex &previous); + +protected: + void emitSelectionChanged(const QItemSelection &newSelection, const QItemSelection &oldSelection); + +public: + bool hasSelection() const; + QModelIndexList selectedRows(int column = 0) const; + QModelIndexList selectedColumns(int row = 0) const; +%If (Qt_5_5_0 -) + void setModel(QAbstractItemModel *model); +%End + +signals: +%If (Qt_5_5_0 -) + void modelChanged(QAbstractItemModel *model); +%End +}; + +QFlags operator|(QItemSelectionModel::SelectionFlag f1, QFlags f2); + +class QItemSelection +{ +%TypeHeaderCode +#include +%End + +public: + QItemSelection(); + QItemSelection(const QModelIndex &topLeft, const QModelIndex &bottomRight); + void select(const QModelIndex &topLeft, const QModelIndex &bottomRight); + bool contains(const QModelIndex &index) const; + int __contains__(const QModelIndex &index); +%MethodCode + // It looks like you can't assign QBool to int. + sipRes = bool(sipCpp->contains(*a0)); +%End + + QModelIndexList indexes() const; + void merge(const QItemSelection &other, QItemSelectionModel::SelectionFlags command); + static void split(const QItemSelectionRange &range, const QItemSelectionRange &other, QItemSelection *result); + void __setitem__(int i, const QItemSelectionRange &range); +%MethodCode + int len; + + len = sipCpp->count(); + + if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0) + sipIsErr = 1; + else + (*sipCpp)[a0] = *a1; +%End + + void __setitem__(SIP_PYSLICE slice, const QItemSelection &list); +%MethodCode + Py_ssize_t start, stop, step, slicelength; + + if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) + { + sipIsErr = 1; + } + else + { + int vlen = a1->count(); + + if (vlen != slicelength) + { + sipBadLengthForSlice(vlen, slicelength); + sipIsErr = 1; + } + else + { + QItemSelection::const_iterator it = a1->begin(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipCpp)[start] = *it; + start += step; + ++it; + } + } + } +%End + + void __delitem__(int i); +%MethodCode + if ((a0 = (int)sipConvertFromSequenceIndex(a0, sipCpp->count())) < 0) + sipIsErr = 1; + else + sipCpp->removeAt(a0); +%End + + void __delitem__(SIP_PYSLICE slice); +%MethodCode + Py_ssize_t start, stop, step, slicelength; + + if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) + { + sipIsErr = 1; + } + else + { + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + sipCpp->removeAt(start); + start += step - 1; + } + } +%End + + QItemSelectionRange operator[](int i); +%MethodCode + Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + + if (idx < 0) + sipIsErr = 1; + else + sipRes = new QItemSelectionRange(sipCpp->operator[]((int)idx)); +%End + + QItemSelection operator[](SIP_PYSLICE slice); +%MethodCode + Py_ssize_t start, stop, step, slicelength; + + if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) + { + sipIsErr = 1; + } + else + { + sipRes = new QItemSelection(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipRes) += (*sipCpp)[start]; + start += step; + } + } +%End + +// Methods inherited from QList. +bool operator!=(const QItemSelection &other) const; +bool operator==(const QItemSelection &other) const; + +// Keep the following in sync with QStringList (except for mid()). +void clear(); +bool isEmpty() const; +void append(const QItemSelectionRange &range); +void prepend(const QItemSelectionRange &range); +void insert(int i, const QItemSelectionRange &range); +void replace(int i, const QItemSelectionRange &range); +void removeAt(int i); +int removeAll(const QItemSelectionRange &range); +QItemSelectionRange takeAt(int i); +QItemSelectionRange takeFirst(); +QItemSelectionRange takeLast(); +void move(int from, int to); +void swap(int i, int j); +int count(const QItemSelectionRange &range) const; +int count() const /__len__/; +QItemSelectionRange &first(); +QItemSelectionRange &last(); +int indexOf(const QItemSelectionRange &value, int from = 0) const; +int lastIndexOf(const QItemSelectionRange &value, int from = -1) const; +QItemSelection &operator+=(const QItemSelection &other); +QItemSelection &operator+=(const QItemSelectionRange &value); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonarray.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonarray.sip new file mode 100644 index 00000000..345a6964 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonarray.sip @@ -0,0 +1,133 @@ +// This is the SIP interface definition for the QJsonArray mapped type. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +// Note that we assume any iterable can be converted to a QJsonArray. However, +// because QJsonValue is an iterable and QJsonObject is implemented as a dict +// (which is also an iterable), then any overloads that handle one or more of +// them must be ordered so that QJsonArray is checked last. + +%MappedType QJsonArray + /TypeHintIn="Iterable[QJsonValue]", TypeHintOut="List[QJsonValue]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + QJsonValue *t = new QJsonValue(sipCpp->at(i)); + PyObject *tobj = sipConvertFromNewType(t, sipType_QJsonValue, + sipTransferObj); + + if (!tobj) + { + delete t; + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, tobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QJsonArray *ql = new QJsonArray; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int state; + QJsonValue *t = reinterpret_cast( + sipForceConvertToType(itm, sipType_QJsonValue, sipTransferObj, + SIP_NOT_NONE, &state, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QJsonValue' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + + return 0; + } + + ql->append(*t); + + sipReleaseType(t, sipType_QJsonValue, state); + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsondocument.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsondocument.sip new file mode 100644 index 00000000..397b444e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsondocument.sip @@ -0,0 +1,116 @@ +// qjsondocument.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +struct QJsonParseError +{ +%TypeHeaderCode +#include +%End + + enum ParseError + { + NoError, + UnterminatedObject, + MissingNameSeparator, + UnterminatedArray, + MissingValueSeparator, + IllegalValue, + TerminationByNumber, + IllegalNumber, + IllegalEscapeSequence, + IllegalUTF8String, + UnterminatedString, + MissingObject, + DeepNesting, + DocumentTooLarge, +%If (Qt_5_4_0 -) + GarbageAtEnd, +%End + }; + + QString errorString() const; + int offset; + QJsonParseError::ParseError error; +}; + +class QJsonDocument +{ +%TypeHeaderCode +#include +%End + +public: + QJsonDocument(); + explicit QJsonDocument(const QJsonObject &object); + explicit QJsonDocument(const QJsonArray &array); + QJsonDocument(const QJsonDocument &other); + ~QJsonDocument(); + + enum DataValidation + { + Validate, + BypassValidation, + }; + + static QJsonDocument fromRawData(const char *data /Encoding="None"/, int size, QJsonDocument::DataValidation validation = QJsonDocument::Validate); + const char *rawData(int *size /Out/) const /Encoding="None"/; + static QJsonDocument fromBinaryData(const QByteArray &data, QJsonDocument::DataValidation validation = QJsonDocument::Validate); + QByteArray toBinaryData() const; + static QJsonDocument fromVariant(const QVariant &variant); + QVariant toVariant() const; + + enum JsonFormat + { + Indented, + Compact, + }; + + static QJsonDocument fromJson(const QByteArray &json, QJsonParseError *error = 0); + QByteArray toJson() const; + QByteArray toJson(QJsonDocument::JsonFormat format) const; + bool isEmpty() const; + bool isArray() const; + bool isObject() const; + QJsonObject object() const; + QJsonArray array() const; + void setObject(const QJsonObject &object); + void setArray(const QJsonArray &array); + bool operator==(const QJsonDocument &other) const; + bool operator!=(const QJsonDocument &other) const; + bool isNull() const; +%If (Qt_5_10_0 -) + void swap(QJsonDocument &other /Constrained/); +%End +%If (Qt_5_10_0 -) + const QJsonValue operator[](const QString &key) const; +%End +%If (Qt_5_10_0 -) + const QJsonValue operator[](int i) const; +%End +}; + +%If (Qt_5_13_0 -) +QDataStream &operator<<(QDataStream &, const QJsonDocument & /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_13_0 -) +QDataStream &operator>>(QDataStream &, QJsonDocument & /Constrained/) /ReleaseGIL/; +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonobject.sip new file mode 100644 index 00000000..8958aaf4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonobject.sip @@ -0,0 +1,136 @@ +// This is the SIP interface definition for the QJsonObject mapped type. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QJsonObject + /TypeHint="Dict[QString, QJsonValue]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QJsonObject::const_iterator it = sipCpp->constBegin(); + QJsonObject::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + QString *k = new QString(it.key()); + PyObject *kobj = sipConvertFromNewType(k, sipType_QString, + sipTransferObj); + + if (!kobj) + { + delete k; + Py_DECREF(d); + + return 0; + } + + QJsonValue *v = new QJsonValue(it.value()); + PyObject *vobj = sipConvertFromNewType(v, sipType_QJsonValue, + sipTransferObj); + + if (!vobj) + { + delete v; + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + + return 0; + } + + ++it; + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QJsonObject *jo = new QJsonObject; + + Py_ssize_t pos = 0; + PyObject *kobj, *vobj; + + while (PyDict_Next(sipPy, &pos, &kobj, &vobj)) + { + int kstate; + QString *k = reinterpret_cast( + sipForceConvertToType(kobj, sipType_QString, sipTransferObj, + SIP_NOT_NONE, &kstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a key has type '%s' but 'str' is expected", + sipPyTypeName(Py_TYPE(kobj))); + + delete jo; + + return 0; + } + + int vstate; + QJsonValue *v = reinterpret_cast( + sipForceConvertToType(vobj, sipType_QJsonValue, sipTransferObj, + SIP_NOT_NONE, &vstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a value has type '%s' but 'QJsonValue' is expected", + sipPyTypeName(Py_TYPE(vobj))); + + sipReleaseType(k, sipType_QString, kstate); + delete jo; + + return 0; + } + + jo->insert(*k, *v); + + sipReleaseType(v, sipType_QJsonValue, vstate); + sipReleaseType(k, sipType_QString, kstate); + } + + *sipCppPtr = jo; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonvalue.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonvalue.sip new file mode 100644 index 00000000..a0e9846c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qjsonvalue.sip @@ -0,0 +1,102 @@ +// qjsonvalue.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QJsonValue /AllowNone,TypeHintIn="Union[QJsonValue, QJsonValue.Type, QJsonArray, QJsonObject, bool, int, float, None, QString]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +if (!sipIsErr) + return qpycore_canConvertTo_QJsonValue(sipPy); + +return qpycore_convertTo_QJsonValue(sipPy, sipTransferObj, sipCppPtr, sipIsErr); +%End + +public: + enum Type + { + Null, + Bool, + Double, + String, + Array, + Object, + Undefined, + }; + + QJsonValue(QJsonValue::Type type /Constrained/ = QJsonValue::Null); + QJsonValue(const QJsonValue &other); + ~QJsonValue(); + static QJsonValue fromVariant(const QVariant &variant); + QVariant toVariant() const; + QJsonValue::Type type() const; + bool isNull() const; + bool isBool() const; + bool isDouble() const; + bool isString() const; + bool isArray() const; + bool isObject() const; + bool isUndefined() const; + bool toBool(bool defaultValue = false) const; + int toInt(int defaultValue = 0) const; + double toDouble(double defaultValue = 0) const; + QJsonArray toArray() const; + QJsonArray toArray(const QJsonArray &defaultValue) const; + QJsonObject toObject() const; + QJsonObject toObject(const QJsonObject &defaultValue) const; + bool operator==(const QJsonValue &other) const; + bool operator!=(const QJsonValue &other) const; +%If (Qt_5_7_0 -) + QString toString() const; +%End +%If (Qt_5_7_0 -) + QString toString(const QString &defaultValue) const; +%End +%If (- Qt_5_7_0) + QString toString(const QString &defaultValue = QString()) const; +%End +%If (Qt_5_10_0 -) + void swap(QJsonValue &other /Constrained/); +%End +%If (Qt_5_10_0 -) + const QJsonValue operator[](const QString &key) const; +%End +%If (Qt_5_10_0 -) + const QJsonValue operator[](int i) const; +%End +%If (Qt_5_12_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; + +%If (Qt_5_13_0 -) +QDataStream &operator<<(QDataStream &, const QJsonValue & /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_13_0 -) +QDataStream &operator>>(QDataStream &, QJsonValue & /Constrained/) /ReleaseGIL/; +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlibrary.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlibrary.sip new file mode 100644 index 00000000..66964480 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlibrary.sip @@ -0,0 +1,64 @@ +// qlibrary.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLibrary : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum LoadHint + { + ResolveAllSymbolsHint, + ExportExternalSymbolsHint, + LoadArchiveMemberHint, + PreventUnloadHint, +%If (Qt_5_5_0 -) + DeepBindHint, +%End + }; + + typedef QFlags LoadHints; + explicit QLibrary(QObject *parent /TransferThis/ = 0); + QLibrary(const QString &fileName, QObject *parent /TransferThis/ = 0); + QLibrary(const QString &fileName, int verNum, QObject *parent /TransferThis/ = 0); + QLibrary(const QString &fileName, const QString &version, QObject *parent /TransferThis/ = 0); + virtual ~QLibrary(); + QString errorString() const; + QString fileName() const; + bool isLoaded() const; + bool load(); + QLibrary::LoadHints loadHints() const; + QFunctionPointer resolve(const char *symbol); + static QFunctionPointer resolve(const QString &fileName, const char *symbol); + static QFunctionPointer resolve(const QString &fileName, int verNum, const char *symbol); + static QFunctionPointer resolve(const QString &fileName, const QString &version, const char *symbol); + bool unload(); + static bool isLibrary(const QString &fileName); + void setFileName(const QString &fileName); + void setFileNameAndVersion(const QString &fileName, int verNum); + void setFileNameAndVersion(const QString &fileName, const QString &version); + void setLoadHints(QLibrary::LoadHints hints); +}; + +QFlags operator|(QLibrary::LoadHint f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlibraryinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlibraryinfo.sip new file mode 100644 index 00000000..2abf40d8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlibraryinfo.sip @@ -0,0 +1,61 @@ +// qlibraryinfo.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLibraryInfo +{ +%TypeHeaderCode +#include +%End + +public: + static QString licensee(); + static QString licensedProducts(); + + enum LibraryLocation + { + PrefixPath, + DocumentationPath, + HeadersPath, + LibrariesPath, + BinariesPath, + PluginsPath, + DataPath, + TranslationsPath, + SettingsPath, + ExamplesPath, + ImportsPath, + TestsPath, + LibraryExecutablesPath, + Qml2ImportsPath, + ArchDataPath, + }; + + static QString location(QLibraryInfo::LibraryLocation) /ReleaseGIL/; + static QDate buildDate(); + static bool isDebugBuild(); +%If (Qt_5_8_0 -) + static QVersionNumber version(); +%End + +private: + QLibraryInfo(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qline.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qline.sip new file mode 100644 index 00000000..801e112b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qline.sip @@ -0,0 +1,203 @@ +// qline.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLine +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"iiii", sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2()); +%End + +public: + bool operator!=(const QLine &d) const; + QLine(); + QLine(const QPoint &pt1_, const QPoint &pt2_); + QLine(int x1pos, int y1pos, int x2pos, int y2pos); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QLine()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QLine()"); + #endif + } + else + { + sipRes = + #if PY_MAJOR_VERSION >= 3 + PyUnicode_FromFormat + #else + PyString_FromFormat + #endif + ("PyQt5.QtCore.QLine(%i, %i, %i, %i)", + sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2()); + } +%End + + bool isNull() const; + int __bool__() const; +%MethodCode + sipRes = !sipCpp->isNull(); +%End + + int x1() const; + int y1() const; + int x2() const; + int y2() const; + QPoint p1() const; + QPoint p2() const; + int dx() const; + int dy() const; + void translate(const QPoint &point); + void translate(int adx, int ady); + bool operator==(const QLine &d) const; + QLine translated(const QPoint &p) const; + QLine translated(int adx, int ady) const; + void setP1(const QPoint &aP1); + void setP2(const QPoint &aP2); + void setPoints(const QPoint &aP1, const QPoint &aP2); + void setLine(int aX1, int aY1, int aX2, int aY2); +%If (Qt_5_8_0 -) + QPoint center() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QLine & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QLine & /Constrained/) /ReleaseGIL/; + +class QLineF +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"dddd", sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2()); +%End + +public: + enum IntersectType + { + NoIntersection, + BoundedIntersection, + UnboundedIntersection, + }; + + QLineF(const QLine &line); + bool isNull() const; + int __bool__() const; +%MethodCode + sipRes = !sipCpp->isNull(); +%End + + qreal length() const; + QLineF unitVector() const; + QLineF::IntersectType intersect(const QLineF &l, QPointF *intersectionPoint) const; +%If (Qt_5_14_0 -) + typedef QLineF::IntersectType IntersectionType; +%End +%If (Qt_5_14_0 -) + QLineF::IntersectionType intersects(const QLineF &l, QPointF *intersectionPoint /Out/) const; +%End + bool operator!=(const QLineF &d) const; + QLineF(); + QLineF(const QPointF &apt1, const QPointF &apt2); + QLineF(qreal x1pos, qreal y1pos, qreal x2pos, qreal y2pos); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QLineF()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QLineF()"); + #endif + } + else + { + PyObject *x1 = PyFloat_FromDouble(sipCpp->x1()); + PyObject *y1 = PyFloat_FromDouble(sipCpp->y1()); + PyObject *x2 = PyFloat_FromDouble(sipCpp->x2()); + PyObject *y2 = PyFloat_FromDouble(sipCpp->y2()); + + if (x1 && y1 && x2 && y2) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QLineF(%R, %R, %R, %R)", + x1, y1, x2, y2); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QLineF("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(x1)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(y1)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(x2)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(y2)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + Py_XDECREF(x1); + Py_XDECREF(y1); + Py_XDECREF(x2); + Py_XDECREF(y2); + } +%End + + qreal x1() const; + qreal y1() const; + qreal x2() const; + qreal y2() const; + QPointF p1() const; + QPointF p2() const; + qreal dx() const; + qreal dy() const; + QLineF normalVector() const; + void translate(const QPointF &point); + void translate(qreal adx, qreal ady); + void setLength(qreal len); + QPointF pointAt(qreal t) const; + QLine toLine() const; + bool operator==(const QLineF &d) const; + static QLineF fromPolar(qreal length, qreal angle); + qreal angle() const; + void setAngle(qreal angle); + qreal angleTo(const QLineF &l) const; + QLineF translated(const QPointF &p) const; + QLineF translated(qreal adx, qreal ady) const; + void setP1(const QPointF &aP1); + void setP2(const QPointF &aP2); + void setPoints(const QPointF &aP1, const QPointF &aP2); + void setLine(qreal aX1, qreal aY1, qreal aX2, qreal aY2); +%If (Qt_5_8_0 -) + QPointF center() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QLineF & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QLineF & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlocale.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlocale.sip new file mode 100644 index 00000000..31c2c858 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlocale.sip @@ -0,0 +1,1619 @@ +// qlocale.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLocale +{ +%TypeHeaderCode +#include +%End + +public: + enum Language + { + C, + Abkhazian, + Afan, + Afar, + Afrikaans, + Albanian, + Amharic, + Arabic, + Armenian, + Assamese, + Aymara, + Azerbaijani, + Bashkir, + Basque, + Bengali, + Bhutani, + Bihari, + Bislama, + Breton, + Bulgarian, + Burmese, + Byelorussian, + Cambodian, + Catalan, + Chinese, + Corsican, + Croatian, + Czech, + Danish, + Dutch, + English, + Esperanto, + Estonian, + Faroese, + Finnish, + French, + Frisian, + Gaelic, + Galician, + Georgian, + German, + Greek, + Greenlandic, + Guarani, + Gujarati, + Hausa, + Hebrew, + Hindi, + Hungarian, + Icelandic, + Indonesian, + Interlingua, + Interlingue, + Inuktitut, + Inupiak, + Irish, + Italian, + Japanese, + Javanese, + Kannada, + Kashmiri, + Kazakh, + Kinyarwanda, + Kirghiz, + Korean, + Kurdish, + Kurundi, + Latin, + Latvian, + Lingala, + Lithuanian, + Macedonian, + Malagasy, + Malay, + Malayalam, + Maltese, + Maori, + Marathi, + Moldavian, + Mongolian, + NauruLanguage, + Nepali, + Norwegian, + Occitan, + Oriya, + Pashto, + Persian, + Polish, + Portuguese, + Punjabi, + Quechua, + RhaetoRomance, + Romanian, + Russian, + Samoan, + Sanskrit, + Serbian, + SerboCroatian, + Shona, + Sindhi, + Slovak, + Slovenian, + Somali, + Spanish, + Sundanese, + Swahili, + Swedish, + Tagalog, + Tajik, + Tamil, + Tatar, + Telugu, + Thai, + Tibetan, + Tigrinya, + Tsonga, + Turkish, + Turkmen, + Twi, + Uigur, + Ukrainian, + Urdu, + Uzbek, + Vietnamese, + Volapuk, + Welsh, + Wolof, + Xhosa, + Yiddish, + Yoruba, + Zhuang, + Zulu, + Bosnian, + Divehi, + Manx, + Cornish, + LastLanguage, + NorwegianBokmal, + NorwegianNynorsk, + Akan, + Konkani, + Ga, + Igbo, + Kamba, + Syriac, + Blin, + Geez, + Koro, + Sidamo, + Atsam, + Tigre, + Jju, + Friulian, + Venda, + Ewe, + Walamo, + Hawaiian, + Tyap, + Chewa, + Filipino, + SwissGerman, + SichuanYi, + Kpelle, + LowGerman, + SouthNdebele, + NorthernSotho, + NorthernSami, + Taroko, + Gusii, + Taita, + Fulah, + Kikuyu, + Samburu, + Sena, + NorthNdebele, + Rombo, + Tachelhit, + Kabyle, + Nyankole, + Bena, + Vunjo, + Bambara, + Embu, + Cherokee, + Morisyen, + Makonde, + Langi, + Ganda, + Bemba, + Kabuverdianu, + Meru, + Kalenjin, + Nama, + Machame, + Colognian, + Masai, + Soga, + Luyia, + Asu, + Teso, + Saho, + KoyraChiini, + Rwa, + Luo, + Chiga, + CentralMoroccoTamazight, + KoyraboroSenni, + Shambala, + AnyLanguage, + Rundi, + Bodo, + Aghem, + Basaa, + Zarma, + Duala, + JolaFonyi, + Ewondo, + Bafia, + LubaKatanga, + MakhuwaMeetto, + Mundang, + Kwasio, + Nuer, + Sakha, + Sangu, + CongoSwahili, + Tasawaq, + Vai, + Walser, + Yangben, + Oromo, + Dzongkha, + Belarusian, + Khmer, + Fijian, + WesternFrisian, + Lao, + Marshallese, + Romansh, + Sango, + Ossetic, + SouthernSotho, + Tswana, + Sinhala, + Swati, + Sardinian, + Tongan, + Tahitian, + Nyanja, + Avaric, + Chamorro, + Chechen, + Church, + Chuvash, + Cree, + Haitian, + Herero, + HiriMotu, + Kanuri, + Komi, + Kongo, + Kwanyama, + Limburgish, + Luxembourgish, + Navaho, + Ndonga, + Ojibwa, + Pali, + Walloon, + Avestan, + Asturian, + Ngomba, + Kako, + Meta, + Ngiemboon, +%If (Qt_5_1_0 -) + Uighur, +%End +%If (Qt_5_1_0 -) + Aragonese, +%End +%If (Qt_5_1_0 -) + Akkadian, +%End +%If (Qt_5_1_0 -) + AncientEgyptian, +%End +%If (Qt_5_1_0 -) + AncientGreek, +%End +%If (Qt_5_1_0 -) + Aramaic, +%End +%If (Qt_5_1_0 -) + Balinese, +%End +%If (Qt_5_1_0 -) + Bamun, +%End +%If (Qt_5_1_0 -) + BatakToba, +%End +%If (Qt_5_1_0 -) + Buginese, +%End +%If (Qt_5_1_0 -) + Buhid, +%End +%If (Qt_5_1_0 -) + Carian, +%End +%If (Qt_5_1_0 -) + Chakma, +%End +%If (Qt_5_1_0 -) + ClassicalMandaic, +%End +%If (Qt_5_1_0 -) + Coptic, +%End +%If (Qt_5_1_0 -) + Dogri, +%End +%If (Qt_5_1_0 -) + EasternCham, +%End +%If (Qt_5_1_0 -) + EasternKayah, +%End +%If (Qt_5_1_0 -) + Etruscan, +%End +%If (Qt_5_1_0 -) + Gothic, +%End +%If (Qt_5_1_0 -) + Hanunoo, +%End +%If (Qt_5_1_0 -) + Ingush, +%End +%If (Qt_5_1_0 -) + LargeFloweryMiao, +%End +%If (Qt_5_1_0 -) + Lepcha, +%End +%If (Qt_5_1_0 -) + Limbu, +%End +%If (Qt_5_1_0 -) + Lisu, +%End +%If (Qt_5_1_0 -) + Lu, +%End +%If (Qt_5_1_0 -) + Lycian, +%End +%If (Qt_5_1_0 -) + Lydian, +%End +%If (Qt_5_1_0 -) + Mandingo, +%End +%If (Qt_5_1_0 -) + Manipuri, +%End +%If (Qt_5_1_0 -) + Meroitic, +%End +%If (Qt_5_1_0 -) + NorthernThai, +%End +%If (Qt_5_1_0 -) + OldIrish, +%End +%If (Qt_5_1_0 -) + OldNorse, +%End +%If (Qt_5_1_0 -) + OldPersian, +%End +%If (Qt_5_1_0 -) + OldTurkish, +%End +%If (Qt_5_1_0 -) + Pahlavi, +%End +%If (Qt_5_1_0 -) + Parthian, +%End +%If (Qt_5_1_0 -) + Phoenician, +%End +%If (Qt_5_1_0 -) + PrakritLanguage, +%End +%If (Qt_5_1_0 -) + Rejang, +%End +%If (Qt_5_1_0 -) + Sabaean, +%End +%If (Qt_5_1_0 -) + Samaritan, +%End +%If (Qt_5_1_0 -) + Santali, +%End +%If (Qt_5_1_0 -) + Saurashtra, +%End +%If (Qt_5_1_0 -) + Sora, +%End +%If (Qt_5_1_0 -) + Sylheti, +%End +%If (Qt_5_1_0 -) + Tagbanwa, +%End +%If (Qt_5_1_0 -) + TaiDam, +%End +%If (Qt_5_1_0 -) + TaiNua, +%End +%If (Qt_5_1_0 -) + Ugaritic, +%End +%If (Qt_5_3_0 -) + Akoose, +%End +%If (Qt_5_3_0 -) + Lakota, +%End +%If (Qt_5_3_0 -) + StandardMoroccanTamazight, +%End +%If (Qt_5_5_0 -) + Mapuche, +%End +%If (Qt_5_5_0 -) + CentralKurdish, +%End +%If (Qt_5_5_0 -) + LowerSorbian, +%End +%If (Qt_5_5_0 -) + UpperSorbian, +%End +%If (Qt_5_5_0 -) + Kenyang, +%End +%If (Qt_5_5_0 -) + Mohawk, +%End +%If (Qt_5_5_0 -) + Nko, +%End +%If (Qt_5_5_0 -) + Prussian, +%End +%If (Qt_5_5_0 -) + Kiche, +%End +%If (Qt_5_5_0 -) + SouthernSami, +%End +%If (Qt_5_5_0 -) + LuleSami, +%End +%If (Qt_5_5_0 -) + InariSami, +%End +%If (Qt_5_5_0 -) + SkoltSami, +%End +%If (Qt_5_5_0 -) + Warlpiri, +%End +%If (Qt_5_5_0 -) + ManichaeanMiddlePersian, +%End +%If (Qt_5_5_0 -) + Mende, +%End +%If (Qt_5_5_0 -) + AncientNorthArabian, +%End +%If (Qt_5_5_0 -) + LinearA, +%End +%If (Qt_5_5_0 -) + HmongNjua, +%End +%If (Qt_5_5_0 -) + Ho, +%End +%If (Qt_5_5_0 -) + Lezghian, +%End +%If (Qt_5_5_0 -) + Bassa, +%End +%If (Qt_5_5_0 -) + Mono, +%End +%If (Qt_5_5_0 -) + TedimChin, +%End +%If (Qt_5_5_0 -) + Maithili, +%End +%If (Qt_5_7_0 -) + Ahom, +%End +%If (Qt_5_7_0 -) + AmericanSignLanguage, +%End +%If (Qt_5_7_0 -) + ArdhamagadhiPrakrit, +%End +%If (Qt_5_7_0 -) + Bhojpuri, +%End +%If (Qt_5_7_0 -) + HieroglyphicLuwian, +%End +%If (Qt_5_7_0 -) + LiteraryChinese, +%End +%If (Qt_5_7_0 -) + Mazanderani, +%End +%If (Qt_5_7_0 -) + Mru, +%End +%If (Qt_5_7_0 -) + Newari, +%End +%If (Qt_5_7_0 -) + NorthernLuri, +%End +%If (Qt_5_7_0 -) + Palauan, +%End +%If (Qt_5_7_0 -) + Papiamento, +%End +%If (Qt_5_7_0 -) + Saraiki, +%End +%If (Qt_5_7_0 -) + TokelauLanguage, +%End +%If (Qt_5_7_0 -) + TokPisin, +%End +%If (Qt_5_7_0 -) + TuvaluLanguage, +%End +%If (Qt_5_7_0 -) + UncodedLanguages, +%End +%If (Qt_5_7_0 -) + Cantonese, +%End +%If (Qt_5_7_0 -) + Osage, +%End +%If (Qt_5_7_0 -) + Tangut, +%End +%If (Qt_5_13_0 -) + Ido, +%End +%If (Qt_5_13_0 -) + Lojban, +%End +%If (Qt_5_13_0 -) + Sicilian, +%End +%If (Qt_5_13_0 -) + SouthernKurdish, +%End +%If (Qt_5_13_0 -) + WesternBalochi, +%End +%If (Qt_5_14_0 -) + Cebuano, +%End +%If (Qt_5_14_0 -) + Erzya, +%End +%If (Qt_5_14_0 -) + Chickasaw, +%End +%If (Qt_5_14_0 -) + Muscogee, +%End +%If (Qt_5_14_0 -) + Silesian, +%End + }; + + enum Country + { + AnyCountry, + Afghanistan, + Albania, + Algeria, + AmericanSamoa, + Andorra, + Angola, + Anguilla, + Antarctica, + AntiguaAndBarbuda, + Argentina, + Armenia, + Aruba, + Australia, + Austria, + Azerbaijan, + Bahamas, + Bahrain, + Bangladesh, + Barbados, + Belarus, + Belgium, + Belize, + Benin, + Bermuda, + Bhutan, + Bolivia, + BosniaAndHerzegowina, + Botswana, + BouvetIsland, + Brazil, + BritishIndianOceanTerritory, + Bulgaria, + BurkinaFaso, + Burundi, + Cambodia, + Cameroon, + Canada, + CapeVerde, + CaymanIslands, + CentralAfricanRepublic, + Chad, + Chile, + China, + ChristmasIsland, + CocosIslands, + Colombia, + Comoros, + DemocraticRepublicOfCongo, + PeoplesRepublicOfCongo, + CookIslands, + CostaRica, + IvoryCoast, + Croatia, + Cuba, + Cyprus, + CzechRepublic, + Denmark, + Djibouti, + Dominica, + DominicanRepublic, + EastTimor, + Ecuador, + Egypt, + ElSalvador, + EquatorialGuinea, + Eritrea, + Estonia, + Ethiopia, + FalklandIslands, + FaroeIslands, + Finland, + France, + FrenchGuiana, + FrenchPolynesia, + FrenchSouthernTerritories, + Gabon, + Gambia, + Georgia, + Germany, + Ghana, + Gibraltar, + Greece, + Greenland, + Grenada, + Guadeloupe, + Guam, + Guatemala, + Guinea, + GuineaBissau, + Guyana, + Haiti, + HeardAndMcDonaldIslands, + Honduras, + HongKong, + Hungary, + Iceland, + India, + Indonesia, + Iran, + Iraq, + Ireland, + Israel, + Italy, + Jamaica, + Japan, + Jordan, + Kazakhstan, + Kenya, + Kiribati, + DemocraticRepublicOfKorea, + RepublicOfKorea, + Kuwait, + Kyrgyzstan, + Latvia, + Lebanon, + Lesotho, + Liberia, + Liechtenstein, + Lithuania, + Luxembourg, + Macau, + Macedonia, + Madagascar, + Malawi, + Malaysia, + Maldives, + Mali, + Malta, + MarshallIslands, + Martinique, + Mauritania, + Mauritius, + Mayotte, + Mexico, + Micronesia, + Moldova, + Monaco, + Mongolia, + Montserrat, + Morocco, + Mozambique, + Myanmar, + Namibia, + NauruCountry, + Nepal, + Netherlands, + NewCaledonia, + NewZealand, + Nicaragua, + Niger, + Nigeria, + Niue, + NorfolkIsland, + NorthernMarianaIslands, + Norway, + Oman, + Pakistan, + Palau, + Panama, + PapuaNewGuinea, + Paraguay, + Peru, + Philippines, + Pitcairn, + Poland, + Portugal, + PuertoRico, + Qatar, + Reunion, + Romania, + RussianFederation, + Rwanda, + SaintKittsAndNevis, + Samoa, + SanMarino, + SaoTomeAndPrincipe, + SaudiArabia, + Senegal, + Seychelles, + SierraLeone, + Singapore, + Slovakia, + Slovenia, + SolomonIslands, + Somalia, + SouthAfrica, + SouthGeorgiaAndTheSouthSandwichIslands, + Spain, + SriLanka, + Sudan, + Suriname, + SvalbardAndJanMayenIslands, + Swaziland, + Sweden, + Switzerland, + SyrianArabRepublic, + Taiwan, + Tajikistan, + Tanzania, + Thailand, + Togo, + Tokelau, + TrinidadAndTobago, + Tunisia, + Turkey, + Turkmenistan, + TurksAndCaicosIslands, + Tuvalu, + Uganda, + Ukraine, + UnitedArabEmirates, + UnitedKingdom, + UnitedStates, + UnitedStatesMinorOutlyingIslands, + Uruguay, + Uzbekistan, + Vanuatu, + VaticanCityState, + Venezuela, + BritishVirginIslands, + WallisAndFutunaIslands, + WesternSahara, + Yemen, + Zambia, + Zimbabwe, + Montenegro, + Serbia, + SaintBarthelemy, + SaintMartin, + LatinAmericaAndTheCaribbean, + LastCountry, + Brunei, + CongoKinshasa, + CongoBrazzaville, + Fiji, + Guernsey, + NorthKorea, + SouthKorea, + Laos, + Libya, + CuraSao, + PalestinianTerritories, + Russia, + SaintLucia, + SaintVincentAndTheGrenadines, + SaintHelena, + SaintPierreAndMiquelon, + Syria, + Tonga, + Vietnam, + UnitedStatesVirginIslands, + CanaryIslands, + ClippertonIsland, + AscensionIsland, + AlandIslands, + DiegoGarcia, + CeutaAndMelilla, + IsleOfMan, + Jersey, + TristanDaCunha, + SouthSudan, + Bonaire, + SintMaarten, +%If (Qt_5_2_0 -) + Kosovo, +%End +%If (Qt_5_7_0 -) + TokelauCountry, +%End +%If (Qt_5_7_0 -) + TuvaluCountry, +%End +%If (Qt_5_7_0 -) + EuropeanUnion, +%End +%If (Qt_5_7_0 -) + OutlyingOceania, +%End +%If (Qt_5_12_0 -) + LatinAmerica, +%End +%If (Qt_5_12_0 -) + World, +%End +%If (Qt_5_12_0 -) + Europe, +%End + }; + + enum NumberOption + { + OmitGroupSeparator, + RejectGroupSeparator, +%If (Qt_5_7_0 -) + DefaultNumberOptions, +%End +%If (Qt_5_7_0 -) + OmitLeadingZeroInExponent, +%End +%If (Qt_5_7_0 -) + RejectLeadingZeroInExponent, +%End +%If (Qt_5_9_0 -) + IncludeTrailingZeroesAfterDot, +%End +%If (Qt_5_9_0 -) + RejectTrailingZeroesAfterDot, +%End + }; + + typedef QFlags NumberOptions; + QLocale(); + QLocale(const QString &name); + QLocale(QLocale::Language language, QLocale::Country country = QLocale::AnyCountry); + QLocale(const QLocale &other); + ~QLocale(); + QLocale::Language language() const; + QLocale::Country country() const; + QString name() const; + short toShort(const QString &s, bool *ok = 0) const; + ushort toUShort(const QString &s, bool *ok = 0) const; + int toInt(const QString &s, bool *ok = 0) const; + uint toUInt(const QString &s, bool *ok = 0) const; + qlonglong toLongLong(const QString &s, bool *ok = 0) const; + qulonglong toULongLong(const QString &s, bool *ok = 0) const; + float toFloat(const QString &s, bool *ok = 0) const; + double toDouble(const QString &s, bool *ok = 0) const; + QString toString(double i /Constrained/, char format = 'g', int precision = 6) const; + bool operator==(const QLocale &other) const; + bool operator!=(const QLocale &other) const; + static QString languageToString(QLocale::Language language); + static QString countryToString(QLocale::Country country); + static void setDefault(const QLocale &locale); + static QLocale c(); + static QLocale system(); + + enum FormatType + { + LongFormat, + ShortFormat, + NarrowFormat, + }; + + QString toString(const QDateTime &dateTime, const QString &format) const; +%If (Qt_5_14_0 -) + QString toString(const QDateTime &dateTime, const QString &formatStr, QCalendar cal) const; +%MethodCode + // QStringView has issues being implemented as a mapped type. + sipRes = new QString(sipCpp->toString(*a0, QStringView(*a1), *a2)); +%End + +%End + QString toString(const QDateTime &dateTime, QLocale::FormatType format = QLocale::LongFormat) const; +%If (Qt_5_14_0 -) + QString toString(const QDateTime &dateTime, QLocale::FormatType format, QCalendar cal) const; +%End + QString toString(const QDate &date, const QString &formatStr) const; +%If (Qt_5_14_0 -) + QString toString(const QDate &date, const QString &formatStr, QCalendar cal) const; +%MethodCode + // QStringView has issues being implemented as a mapped type. + sipRes = new QString(sipCpp->toString(*a0, QStringView(*a1), *a2)); +%End + +%End + QString toString(const QDate &date, QLocale::FormatType format = QLocale::LongFormat) const; +%If (Qt_5_14_0 -) + QString toString(const QDate &date, QLocale::FormatType format, QCalendar cal) const; +%End + QString toString(const QTime &time, const QString &formatStr) const; + QString toString(const QTime &time, QLocale::FormatType format = QLocale::LongFormat) const; + QString dateFormat(QLocale::FormatType format = QLocale::LongFormat) const; + QString timeFormat(QLocale::FormatType format = QLocale::LongFormat) const; + QString dateTimeFormat(QLocale::FormatType format = QLocale::LongFormat) const; + QDate toDate(const QString &string, QLocale::FormatType format = QLocale::LongFormat) const; + QDate toDate(const QString &string, const QString &format) const; + QTime toTime(const QString &string, QLocale::FormatType format = QLocale::LongFormat) const; + QTime toTime(const QString &string, const QString &format) const; + QDateTime toDateTime(const QString &string, QLocale::FormatType format = QLocale::LongFormat) const; + QDateTime toDateTime(const QString &string, const QString &format) const; + QChar decimalPoint() const; + QChar groupSeparator() const; + QChar percent() const; + QChar zeroDigit() const; + QChar negativeSign() const; + QChar exponential() const; + QString monthName(int, QLocale::FormatType format = QLocale::LongFormat) const; + QString dayName(int, QLocale::FormatType format = QLocale::LongFormat) const; + void setNumberOptions(QLocale::NumberOptions options); + QLocale::NumberOptions numberOptions() const; + + enum MeasurementSystem + { + MetricSystem, + ImperialSystem, + ImperialUSSystem, + ImperialUKSystem, + }; + + QLocale::MeasurementSystem measurementSystem() const; + QChar positiveSign() const; + QString standaloneMonthName(int, QLocale::FormatType format = QLocale::LongFormat) const; + QString standaloneDayName(int, QLocale::FormatType format = QLocale::LongFormat) const; + QString amText() const; + QString pmText() const; + Qt::LayoutDirection textDirection() const; + + enum Script + { + AnyScript, + ArabicScript, + CyrillicScript, + DeseretScript, + GurmukhiScript, + SimplifiedHanScript, + TraditionalHanScript, + LatinScript, + MongolianScript, + TifinaghScript, + SimplifiedChineseScript, + TraditionalChineseScript, + ArmenianScript, + BengaliScript, + CherokeeScript, + DevanagariScript, + EthiopicScript, + GeorgianScript, + GreekScript, + GujaratiScript, + HebrewScript, + JapaneseScript, + KhmerScript, + KannadaScript, + KoreanScript, + LaoScript, + MalayalamScript, + MyanmarScript, + OriyaScript, + TamilScript, + TeluguScript, + ThaanaScript, + ThaiScript, + TibetanScript, + SinhalaScript, + SyriacScript, + YiScript, + VaiScript, +%If (Qt_5_1_0 -) + AvestanScript, +%End +%If (Qt_5_1_0 -) + BalineseScript, +%End +%If (Qt_5_1_0 -) + BamumScript, +%End +%If (Qt_5_1_0 -) + BatakScript, +%End +%If (Qt_5_1_0 -) + BopomofoScript, +%End +%If (Qt_5_1_0 -) + BrahmiScript, +%End +%If (Qt_5_1_0 -) + BugineseScript, +%End +%If (Qt_5_1_0 -) + BuhidScript, +%End +%If (Qt_5_1_0 -) + CanadianAboriginalScript, +%End +%If (Qt_5_1_0 -) + CarianScript, +%End +%If (Qt_5_1_0 -) + ChakmaScript, +%End +%If (Qt_5_1_0 -) + ChamScript, +%End +%If (Qt_5_1_0 -) + CopticScript, +%End +%If (Qt_5_1_0 -) + CypriotScript, +%End +%If (Qt_5_1_0 -) + EgyptianHieroglyphsScript, +%End +%If (Qt_5_1_0 -) + FraserScript, +%End +%If (Qt_5_1_0 -) + GlagoliticScript, +%End +%If (Qt_5_1_0 -) + GothicScript, +%End +%If (Qt_5_1_0 -) + HanScript, +%End +%If (Qt_5_1_0 -) + HangulScript, +%End +%If (Qt_5_1_0 -) + HanunooScript, +%End +%If (Qt_5_1_0 -) + ImperialAramaicScript, +%End +%If (Qt_5_1_0 -) + InscriptionalPahlaviScript, +%End +%If (Qt_5_1_0 -) + InscriptionalParthianScript, +%End +%If (Qt_5_1_0 -) + JavaneseScript, +%End +%If (Qt_5_1_0 -) + KaithiScript, +%End +%If (Qt_5_1_0 -) + KatakanaScript, +%End +%If (Qt_5_1_0 -) + KayahLiScript, +%End +%If (Qt_5_1_0 -) + KharoshthiScript, +%End +%If (Qt_5_1_0 -) + LannaScript, +%End +%If (Qt_5_1_0 -) + LepchaScript, +%End +%If (Qt_5_1_0 -) + LimbuScript, +%End +%If (Qt_5_1_0 -) + LinearBScript, +%End +%If (Qt_5_1_0 -) + LycianScript, +%End +%If (Qt_5_1_0 -) + LydianScript, +%End +%If (Qt_5_1_0 -) + MandaeanScript, +%End +%If (Qt_5_1_0 -) + MeiteiMayekScript, +%End +%If (Qt_5_1_0 -) + MeroiticScript, +%End +%If (Qt_5_1_0 -) + MeroiticCursiveScript, +%End +%If (Qt_5_1_0 -) + NkoScript, +%End +%If (Qt_5_1_0 -) + NewTaiLueScript, +%End +%If (Qt_5_1_0 -) + OghamScript, +%End +%If (Qt_5_1_0 -) + OlChikiScript, +%End +%If (Qt_5_1_0 -) + OldItalicScript, +%End +%If (Qt_5_1_0 -) + OldPersianScript, +%End +%If (Qt_5_1_0 -) + OldSouthArabianScript, +%End +%If (Qt_5_1_0 -) + OrkhonScript, +%End +%If (Qt_5_1_0 -) + OsmanyaScript, +%End +%If (Qt_5_1_0 -) + PhagsPaScript, +%End +%If (Qt_5_1_0 -) + PhoenicianScript, +%End +%If (Qt_5_1_0 -) + PollardPhoneticScript, +%End +%If (Qt_5_1_0 -) + RejangScript, +%End +%If (Qt_5_1_0 -) + RunicScript, +%End +%If (Qt_5_1_0 -) + SamaritanScript, +%End +%If (Qt_5_1_0 -) + SaurashtraScript, +%End +%If (Qt_5_1_0 -) + SharadaScript, +%End +%If (Qt_5_1_0 -) + ShavianScript, +%End +%If (Qt_5_1_0 -) + SoraSompengScript, +%End +%If (Qt_5_1_0 -) + CuneiformScript, +%End +%If (Qt_5_1_0 -) + SundaneseScript, +%End +%If (Qt_5_1_0 -) + SylotiNagriScript, +%End +%If (Qt_5_1_0 -) + TagalogScript, +%End +%If (Qt_5_1_0 -) + TagbanwaScript, +%End +%If (Qt_5_1_0 -) + TaiLeScript, +%End +%If (Qt_5_1_0 -) + TaiVietScript, +%End +%If (Qt_5_1_0 -) + TakriScript, +%End +%If (Qt_5_1_0 -) + UgariticScript, +%End +%If (Qt_5_1_0 -) + BrailleScript, +%End +%If (Qt_5_1_0 -) + HiraganaScript, +%End +%If (Qt_5_5_0 -) + CaucasianAlbanianScript, +%End +%If (Qt_5_5_0 -) + BassaVahScript, +%End +%If (Qt_5_5_0 -) + DuployanScript, +%End +%If (Qt_5_5_0 -) + ElbasanScript, +%End +%If (Qt_5_5_0 -) + GranthaScript, +%End +%If (Qt_5_5_0 -) + PahawhHmongScript, +%End +%If (Qt_5_5_0 -) + KhojkiScript, +%End +%If (Qt_5_5_0 -) + LinearAScript, +%End +%If (Qt_5_5_0 -) + MahajaniScript, +%End +%If (Qt_5_5_0 -) + ManichaeanScript, +%End +%If (Qt_5_5_0 -) + MendeKikakuiScript, +%End +%If (Qt_5_5_0 -) + ModiScript, +%End +%If (Qt_5_5_0 -) + MroScript, +%End +%If (Qt_5_5_0 -) + OldNorthArabianScript, +%End +%If (Qt_5_5_0 -) + NabataeanScript, +%End +%If (Qt_5_5_0 -) + PalmyreneScript, +%End +%If (Qt_5_5_0 -) + PauCinHauScript, +%End +%If (Qt_5_5_0 -) + OldPermicScript, +%End +%If (Qt_5_5_0 -) + PsalterPahlaviScript, +%End +%If (Qt_5_5_0 -) + SiddhamScript, +%End +%If (Qt_5_5_0 -) + KhudawadiScript, +%End +%If (Qt_5_5_0 -) + TirhutaScript, +%End +%If (Qt_5_5_0 -) + VarangKshitiScript, +%End +%If (Qt_5_7_0 -) + AhomScript, +%End +%If (Qt_5_7_0 -) + AnatolianHieroglyphsScript, +%End +%If (Qt_5_7_0 -) + HatranScript, +%End +%If (Qt_5_7_0 -) + MultaniScript, +%End +%If (Qt_5_7_0 -) + OldHungarianScript, +%End +%If (Qt_5_7_0 -) + SignWritingScript, +%End +%If (Qt_5_7_0 -) + AdlamScript, +%End +%If (Qt_5_7_0 -) + BhaiksukiScript, +%End +%If (Qt_5_7_0 -) + MarchenScript, +%End +%If (Qt_5_7_0 -) + NewaScript, +%End +%If (Qt_5_7_0 -) + OsageScript, +%End +%If (Qt_5_7_0 -) + TangutScript, +%End +%If (Qt_5_7_0 -) + HanWithBopomofoScript, +%End +%If (Qt_5_7_0 -) + JamoScript, +%End + }; + + enum CurrencySymbolFormat + { + CurrencyIsoCode, + CurrencySymbol, + CurrencyDisplayName, + }; + + QLocale(QLocale::Language language, QLocale::Script script, QLocale::Country country); + QLocale::Script script() const; + QString bcp47Name() const; + QString nativeLanguageName() const; + QString nativeCountryName() const; + Qt::DayOfWeek firstDayOfWeek() const; + QList weekdays() const; + QString toUpper(const QString &str) const; + QString toLower(const QString &str) const; + QString currencySymbol(QLocale::CurrencySymbolFormat format = QLocale::CurrencySymbol) const; + QString toCurrencyString(double value /Constrained/, const QString &symbol = QString()) const; +%If (Qt_5_7_0 -) + QString toCurrencyString(double value /Constrained/, const QString &symbol, int precision) const; +%End + QStringList uiLanguages() const; + static QString scriptToString(QLocale::Script script); + static QList matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country); + + enum QuotationStyle + { + StandardQuotation, + AlternateQuotation, + }; + + QString quoteString(const QString &str, QLocale::QuotationStyle style = QLocale::StandardQuotation) const; + QString createSeparatedList(const QStringList &list) const; +%If (Qt_5_6_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +%If (Qt_5_7_0 -) + + enum FloatingPointPrecisionOption + { + FloatingPointShortest, + }; + +%End +%If (Qt_5_7_0 -) + void swap(QLocale &other /Constrained/); +%End + QString toString(SIP_PYOBJECT i /TypeHint="int"/) const; +%MethodCode + // Convert a Python int avoiding overflow as much as possible. + + static PyObject *zero = 0; + if (!zero) + zero = PyLong_FromLong(0); + + int rc = PyObject_RichCompareBool(a0, zero, Py_LT); + + PyErr_Clear(); + + if (rc < 0) + { + sipError = sipBadCallableArg(0, a0); + } + else if (rc) + { + #if defined(HAVE_LONG_LONG) + PY_LONG_LONG value = PyLong_AsLongLong(a0); + #else + long value = PyLong_AsLong(a0); + #endif + + if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_OverflowError)) + { + sipError = sipBadCallableArg(0, a0); + } + else + { + sipRes = new QString(sipCpp->toString(value)); + } + } + else + { + #if PY_MAJOR_VERSION >= 3 + #if defined(HAVE_LONG_LONG) + unsigned PY_LONG_LONG value = PyLong_AsUnsignedLongLongMask(a0); + #else + unsigned long value = PyLong_AsUnsignedLongMask(a0); + #endif + #else + #if defined(HAVE_LONG_LONG) + unsigned PY_LONG_LONG value = PyInt_AsUnsignedLongLongMask(a0); + #else + unsigned long value = PyInt_AsUnsignedLongMask(a0); + #endif + #endif + + if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_OverflowError)) + { + sipError = sipBadCallableArg(0, a0); + } + else + { + sipRes = new QString(sipCpp->toString(value)); + } + } +%End + + QString toCurrencyString(SIP_PYOBJECT value /TypeHint="int"/, const QString &symbol = QString()) const; +%MethodCode + // Convert a Python int avoiding overflow as much as possible. + + static PyObject *zero = 0; + if (!zero) + zero = PyLong_FromLong(0); + + int rc = PyObject_RichCompareBool(a0, zero, Py_LT); + + PyErr_Clear(); + + if (rc < 0) + { + sipError = sipBadCallableArg(0, a0); + } + else if (rc) + { + #if defined(HAVE_LONG_LONG) + PY_LONG_LONG value = PyLong_AsLongLong(a0); + #else + long value = PyLong_AsLong(a0); + #endif + + if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_OverflowError)) + { + sipError = sipBadCallableArg(0, a0); + } + else + { + sipRes = new QString(sipCpp->toCurrencyString(value, *a1)); + } + } + else + { + #if defined(HAVE_LONG_LONG) + unsigned PY_LONG_LONG value = PyLong_AsUnsignedLongLongMask(a0); + #else + unsigned long value = PyLong_AsUnsignedLongMask(a0); + #endif + + if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_OverflowError)) + { + sipError = sipBadCallableArg(0, a0); + } + else + { + sipRes = new QString(sipCpp->toCurrencyString(value, *a1)); + } + } +%End + +%If (Qt_5_10_0 -) + + enum DataSizeFormat + { + DataSizeIecFormat, + DataSizeTraditionalFormat, + DataSizeSIFormat, + }; + +%End +%If (Qt_5_10_0 -) + typedef QFlags DataSizeFormats; +%End +%If (Qt_5_10_0 -) + QString formattedDataSize(qint64 bytes, int precision = 2, QLocale::DataSizeFormats format = QLocale::DataSizeIecFormat); +%End +%If (Qt_5_13_0 -) + long toLong(const QString &s, bool *ok = 0) const; +%End +%If (Qt_5_13_0 -) + ulong toULong(const QString &s, bool *ok = 0) const; +%End +%If (Qt_5_14_0 -) + QDate toDate(const QString &string, QLocale::FormatType format, QCalendar cal) const; +%End +%If (Qt_5_14_0 -) + QTime toTime(const QString &string, QLocale::FormatType format, QCalendar cal) const; +%End +%If (Qt_5_14_0 -) + QDateTime toDateTime(const QString &string, QLocale::FormatType format, QCalendar cal) const; +%End +%If (Qt_5_14_0 -) + QDate toDate(const QString &string, const QString &format, QCalendar cal) const; +%End +%If (Qt_5_14_0 -) + QTime toTime(const QString &string, const QString &format, QCalendar cal) const; +%End +%If (Qt_5_14_0 -) + QDateTime toDateTime(const QString &string, const QString &format, QCalendar cal) const; +%End +%If (Qt_5_14_0 -) + QLocale collation() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QLocale & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QLocale & /Constrained/) /ReleaseGIL/; +QFlags operator|(QLocale::NumberOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlockfile.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlockfile.sip new file mode 100644 index 00000000..99f48411 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlockfile.sip @@ -0,0 +1,57 @@ +// qlockfile.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QLockFile +{ +%TypeHeaderCode +#include +%End + +public: + QLockFile(const QString &fileName); + ~QLockFile(); + bool lock() /ReleaseGIL/; + bool tryLock(int timeout = 0) /ReleaseGIL/; + void unlock() /ReleaseGIL/; + void setStaleLockTime(int); + int staleLockTime() const; + bool isLocked() const /ReleaseGIL/; + bool getLockInfo(qint64 *pid /Out/, QString *hostname /Out/, QString *appname /Out/) const; + bool removeStaleLockFile() /ReleaseGIL/; + + enum LockError + { + NoError, + LockFailedError, + PermissionError, + UnknownError, + }; + + QLockFile::LockError error() const; + +private: + QLockFile(const QLockFile &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlogging.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlogging.sip new file mode 100644 index 00000000..ce9b2b49 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qlogging.sip @@ -0,0 +1,217 @@ +// qlogging.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +enum QtMsgType +{ + QtDebugMsg, + QtWarningMsg, + QtCriticalMsg, + QtFatalMsg, + QtSystemMsg, +%If (Qt_5_5_0 -) + QtInfoMsg, +%End +}; + +class QMessageLogContext /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + int line; + const char *file; + const char *function; + const char *category; +}; + +class QMessageLogger +{ +%TypeHeaderCode +#include +%End + + QMessageLogger(const QMessageLogger &); + +public: + QMessageLogger(); + QMessageLogger(const char *file, int line, const char *function); + QMessageLogger(const char *file, int line, const char *function, const char *category); + void debug(const char *msg) const /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->debug("%s", a0); + Py_END_ALLOW_THREADS +%End + + void warning(const char *msg) const /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->warning("%s", a0); + Py_END_ALLOW_THREADS +%End + + void critical(const char *msg) const /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->critical("%s", a0); + Py_END_ALLOW_THREADS +%End + + void fatal(const char *msg) const /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->fatal("%s", a0); + Py_END_ALLOW_THREADS +%End + +%If (Qt_5_5_0 -) + void info(const char *msg) const /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->info("%s", a0); + Py_END_ALLOW_THREADS +%End + +%End +}; + +void qCritical(const char *msg) /ReleaseGIL/; +%MethodCode + const char *file, *function; + int line = qpycore_current_context(&file, &function); + + Py_BEGIN_ALLOW_THREADS + QMessageLogger(file, line, function).critical("%s", a0); + Py_END_ALLOW_THREADS +%End + +void qDebug(const char *msg) /ReleaseGIL/; +%MethodCode + const char *file, *function; + int line = qpycore_current_context(&file, &function); + + Py_BEGIN_ALLOW_THREADS + QMessageLogger(file, line, function).debug("%s", a0); + Py_END_ALLOW_THREADS +%End + +void qErrnoWarning(int code, const char *msg) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + qErrnoWarning(a0, "%s", a1); + Py_END_ALLOW_THREADS +%End + +void qErrnoWarning(const char *msg) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + qErrnoWarning("%s", a0); + Py_END_ALLOW_THREADS +%End + +void qFatal(const char *msg) /ReleaseGIL/; +%MethodCode + const char *file, *function; + int line = qpycore_current_context(&file, &function); + + Py_BEGIN_ALLOW_THREADS + QMessageLogger(file, line, function).fatal("%s", a0); + Py_END_ALLOW_THREADS +%End + +%If (Qt_5_5_0 -) +void qInfo(const char *msg) /ReleaseGIL/; +%MethodCode + const char *file, *function; + int line = qpycore_current_context(&file, &function); + + Py_BEGIN_ALLOW_THREADS + QMessageLogger(file, line, function).info("%s", a0); + Py_END_ALLOW_THREADS +%End + +%End +void qWarning(const char *msg) /ReleaseGIL/; +%MethodCode + const char *file, *function; + int line = qpycore_current_context(&file, &function); + + Py_BEGIN_ALLOW_THREADS + QMessageLogger(file, line, function).warning("%s", a0); + Py_END_ALLOW_THREADS +%End + +SIP_PYCALLABLE qInstallMessageHandler(SIP_PYCALLABLE /AllowNone,TypeHint="Optional[Callable[[QtMsgType, QMessageLogContext, QString], None]]"/) /TypeHint="Optional[Callable[[QtMsgType, QMessageLogContext, QString], None]]"/; +%MethodCode + // Treat None as the default handler. + QtMessageHandler old = qInstallMessageHandler((a0 != Py_None) ? qtcore_MessageHandler : 0); + + // If we recognise the old handler, then return it. Otherwise return + // the default handler. This doesn't exactly mimic the Qt behaviour + // but it is probably close enough for the way it will be used. + sipRes = (old == qtcore_MessageHandler) ? qtcore_PyMessageHandler : Py_None; + Py_INCREF(sipRes); + + // Save the new Python handler. + Py_XDECREF(qtcore_PyMessageHandler); + qtcore_PyMessageHandler = a0; + Py_INCREF(qtcore_PyMessageHandler); +%End + +// Module code needed by qInstallMessageHandler(). +%ModuleCode +// The user supplied Python handler. +static PyObject *qtcore_PyMessageHandler = 0; + +// The C++ wrapper around the Python handler. +static void qtcore_MessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg) +{ + PyObject *res; + + SIP_BLOCK_THREADS + + res = sipCallMethod(0, qtcore_PyMessageHandler, "FDD", type, sipType_QtMsgType, &context, sipType_QMessageLogContext, NULL, &msg, sipType_QString, NULL); + + Py_XDECREF(res); + + if (res != NULL && res != Py_None) + { + PyErr_SetString(PyExc_TypeError, "invalid result type from PyQt message handler"); + res = NULL; + } + + if (res == NULL) + pyqt5_err_print(); + + SIP_UNBLOCK_THREADS +} +%End +void qSetMessagePattern(const QString &messagePattern); +%If (Qt_5_4_0 -) +QString qFormatLogMessage(QtMsgType type, const QMessageLogContext &context, const QString &buf); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qloggingcategory.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qloggingcategory.sip new file mode 100644 index 00000000..bbdc0690 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qloggingcategory.sip @@ -0,0 +1,50 @@ +// qloggingcategory.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QLoggingCategory +{ +%TypeHeaderCode +#include +%End + +public: + explicit QLoggingCategory(const char *category); + QLoggingCategory(const char *category, QtMsgType severityLevel); + ~QLoggingCategory(); + bool isEnabled(QtMsgType type) const; + void setEnabled(QtMsgType type, bool enable); + bool isDebugEnabled() const; + bool isInfoEnabled() const; + bool isWarningEnabled() const; + bool isCriticalEnabled() const; + const char *categoryName() const; + QLoggingCategory &operator()(); + static QLoggingCategory *defaultCategory(); + static void setFilterRules(const QString &rules); + +private: + QLoggingCategory(const QLoggingCategory &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmargins.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmargins.sip new file mode 100644 index 00000000..0c9e9df2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmargins.sip @@ -0,0 +1,182 @@ +// qmargins.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMargins +{ +%TypeHeaderCode +#include +%End + +public: + QMargins(); + QMargins(int aleft, int atop, int aright, int abottom); + bool isNull() const; + int left() const; + int top() const; + int right() const; + int bottom() const; + void setLeft(int aleft); + void setTop(int atop); + void setRight(int aright); + void setBottom(int abottom); +%If (Qt_5_1_0 -) + QMargins &operator+=(const QMargins &margins); +%End +%If (Qt_5_1_0 -) + QMargins &operator-=(const QMargins &margins); +%End +%If (Qt_5_1_0 -) + QMargins &operator*=(int factor /Constrained/); +%End +%If (Qt_5_1_0 -) + QMargins &operator/=(int divisor /Constrained/); +%End +%If (Qt_5_1_0 -) + QMargins &operator*=(qreal factor); +%End +%If (Qt_5_1_0 -) + QMargins &operator/=(qreal divisor); +%End +%If (Qt_5_2_0 -) + QMargins &operator+=(int margin); +%End +%If (Qt_5_2_0 -) + QMargins &operator-=(int margin); +%End +}; + +bool operator==(const QMargins &m1, const QMargins &m2); +bool operator!=(const QMargins &m1, const QMargins &m2); +QDataStream &operator<<(QDataStream &, const QMargins & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QMargins & /Constrained/) /ReleaseGIL/; +%If (Qt_5_1_0 - Qt_5_3_0) +QRect operator+(const QRect &rectangle, const QMargins &margins); +%End +%If (Qt_5_1_0 - Qt_5_3_0) +QRect operator+(const QMargins &margins, const QRect &rectangle); +%End +%If (Qt_5_1_0 -) +QMargins operator+(const QMargins &m1, const QMargins &m2); +%End +%If (Qt_5_1_0 -) +QMargins operator-(const QMargins &m1, const QMargins &m2); +%End +%If (Qt_5_1_0 -) +QMargins operator*(const QMargins &margins, int factor /Constrained/); +%End +%If (Qt_5_1_0 -) +QMargins operator*(const QMargins &margins, qreal factor); +%End +%If (Qt_5_1_0 -) +QMargins operator/(const QMargins &margins, int divisor /Constrained/); +%End +%If (Qt_5_1_0 -) +QMargins operator/(const QMargins &margins, qreal divisor); +%End +%If (Qt_5_1_0 -) +QMargins operator-(const QMargins &margins); +%End +%If (Qt_5_3_0 -) +QMargins operator+(const QMargins &lhs, int rhs); +%End +%If (Qt_5_3_0 -) +QMargins operator+(int lhs, const QMargins &rhs); +%End +%If (Qt_5_3_0 -) +QMargins operator-(const QMargins &lhs, int rhs); +%End +%If (Qt_5_3_0 -) +QMargins operator+(const QMargins &margins); +%End +%If (Qt_5_3_0 -) + +class QMarginsF +{ +%TypeHeaderCode +#include +%End + +public: + QMarginsF(); + QMarginsF(qreal aleft, qreal atop, qreal aright, qreal abottom); + QMarginsF(const QMargins &margins); + bool isNull() const; + qreal left() const; + qreal top() const; + qreal right() const; + qreal bottom() const; + void setLeft(qreal aleft); + void setTop(qreal atop); + void setRight(qreal aright); + void setBottom(qreal abottom); + QMarginsF &operator+=(const QMarginsF &margins); + QMarginsF &operator-=(const QMarginsF &margins); + QMarginsF &operator+=(qreal addend); + QMarginsF &operator-=(qreal subtrahend); + QMarginsF &operator*=(qreal factor); + QMarginsF &operator/=(qreal divisor); + QMargins toMargins() const; +}; + +%End +%If (Qt_5_3_0 -) +QDataStream &operator<<(QDataStream &, const QMarginsF & /Constrained/); +%End +%If (Qt_5_3_0 -) +QDataStream &operator>>(QDataStream &, QMarginsF & /Constrained/); +%End +%If (Qt_5_3_0 -) +bool operator==(const QMarginsF &lhs, const QMarginsF &rhs); +%End +%If (Qt_5_3_0 -) +bool operator!=(const QMarginsF &lhs, const QMarginsF &rhs); +%End +%If (Qt_5_3_0 -) +QMarginsF operator+(const QMarginsF &lhs, const QMarginsF &rhs); +%End +%If (Qt_5_3_0 -) +QMarginsF operator-(const QMarginsF &lhs, const QMarginsF &rhs); +%End +%If (Qt_5_3_0 -) +QMarginsF operator+(const QMarginsF &lhs, qreal rhs); +%End +%If (Qt_5_3_0 -) +QMarginsF operator+(qreal lhs, const QMarginsF &rhs); +%End +%If (Qt_5_3_0 -) +QMarginsF operator-(const QMarginsF &lhs, qreal rhs); +%End +%If (Qt_5_3_0 -) +QMarginsF operator*(const QMarginsF &lhs, qreal rhs); +%End +%If (Qt_5_3_0 -) +QMarginsF operator*(qreal lhs, const QMarginsF &rhs); +%End +%If (Qt_5_3_0 -) +QMarginsF operator/(const QMarginsF &lhs, qreal divisor); +%End +%If (Qt_5_3_0 -) +QMarginsF operator+(const QMarginsF &margins); +%End +%If (Qt_5_3_0 -) +QMarginsF operator-(const QMarginsF &margins); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmessageauthenticationcode.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmessageauthenticationcode.sip new file mode 100644 index 00000000..80c39d3f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmessageauthenticationcode.sip @@ -0,0 +1,46 @@ +// qmessageauthenticationcode.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QMessageAuthenticationCode +{ +%TypeHeaderCode +#include +%End + +public: + QMessageAuthenticationCode(QCryptographicHash::Algorithm method, const QByteArray &key = QByteArray()); + ~QMessageAuthenticationCode(); + void reset(); + void setKey(const QByteArray &key); + void addData(const char *data, int length); + void addData(const QByteArray &data); + bool addData(QIODevice *device); + QByteArray result() const; + static QByteArray hash(const QByteArray &message, const QByteArray &key, QCryptographicHash::Algorithm method); + +private: + QMessageAuthenticationCode(const QMessageAuthenticationCode &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmetaobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmetaobject.sip new file mode 100644 index 00000000..946b60d1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmetaobject.sip @@ -0,0 +1,220 @@ +// qmetaobject.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMetaMethod +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// Raise an exception when QMetaMethod::invoke() returns false. +static void qtcore_invoke_exception() +{ + PyErr_SetString(PyExc_RuntimeError, "QMetaMethod.invoke() call failed"); +} +%End + +public: + QMetaMethod(); + const char *typeName() const; + QList parameterTypes() const; + QList parameterNames() const; + const char *tag() const; + + enum Access + { + Private, + Protected, + Public, + }; + + QMetaMethod::Access access() const; + + enum MethodType + { + Method, + Signal, + Slot, + Constructor, + }; + + QMetaMethod::MethodType methodType() const; + SIP_PYOBJECT invoke(QObject *object, Qt::ConnectionType connectionType, QGenericReturnArgument returnValue /GetWrapper/, QGenericArgument value0 = QGenericArgument(0u, 0u), QGenericArgument value1 = QGenericArgument(0u, 0u), QGenericArgument value2 = QGenericArgument(0u, 0u), QGenericArgument value3 = QGenericArgument(0u, 0u), QGenericArgument value4 = QGenericArgument(0u, 0u), QGenericArgument value5 = QGenericArgument(0u, 0u), QGenericArgument value6 = QGenericArgument(0u, 0u), QGenericArgument value7 = QGenericArgument(0u, 0u), QGenericArgument value8 = QGenericArgument(0u, 0u), QGenericArgument value9 = QGenericArgument(0u, 0u)) const; +%MethodCode + // Raise an exception if the call failed. + bool ok; + + Py_BEGIN_ALLOW_THREADS + ok = sipCpp->invoke(a0, a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10, *a11, + *a12); + Py_END_ALLOW_THREADS + + if (ok) + sipRes = qpycore_ReturnValue(a2Wrapper); + else + qtcore_invoke_exception(); +%End + + SIP_PYOBJECT invoke(QObject *object, QGenericReturnArgument returnValue /GetWrapper/, QGenericArgument value0 = QGenericArgument(0u, 0u), QGenericArgument value1 = QGenericArgument(0u, 0u), QGenericArgument value2 = QGenericArgument(0u, 0u), QGenericArgument value3 = QGenericArgument(0u, 0u), QGenericArgument value4 = QGenericArgument(0u, 0u), QGenericArgument value5 = QGenericArgument(0u, 0u), QGenericArgument value6 = QGenericArgument(0u, 0u), QGenericArgument value7 = QGenericArgument(0u, 0u), QGenericArgument value8 = QGenericArgument(0u, 0u), QGenericArgument value9 = QGenericArgument(0u, 0u)) const; +%MethodCode + // Raise an exception if the call failed. + bool ok; + + Py_BEGIN_ALLOW_THREADS + ok = sipCpp->invoke(a0, *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10, + *a11); + Py_END_ALLOW_THREADS + + if (ok) + sipRes = qpycore_ReturnValue(a1Wrapper); + else + qtcore_invoke_exception(); +%End + + SIP_PYOBJECT invoke(QObject *object, Qt::ConnectionType connectionType, QGenericArgument value0 = QGenericArgument(0u, 0u), QGenericArgument value1 = QGenericArgument(0u, 0u), QGenericArgument value2 = QGenericArgument(0u, 0u), QGenericArgument value3 = QGenericArgument(0u, 0u), QGenericArgument value4 = QGenericArgument(0u, 0u), QGenericArgument value5 = QGenericArgument(0u, 0u), QGenericArgument value6 = QGenericArgument(0u, 0u), QGenericArgument value7 = QGenericArgument(0u, 0u), QGenericArgument value8 = QGenericArgument(0u, 0u), QGenericArgument value9 = QGenericArgument(0u, 0u)) const; +%MethodCode + // Raise an exception if the call failed. + bool ok; + + Py_BEGIN_ALLOW_THREADS + ok = sipCpp->invoke(a0, a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10, *a11); + Py_END_ALLOW_THREADS + + if (ok) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + qtcore_invoke_exception(); +%End + + SIP_PYOBJECT invoke(QObject *object, QGenericArgument value0 = QGenericArgument(0u, 0u), QGenericArgument value1 = QGenericArgument(0u, 0u), QGenericArgument value2 = QGenericArgument(0u, 0u), QGenericArgument value3 = QGenericArgument(0u, 0u), QGenericArgument value4 = QGenericArgument(0u, 0u), QGenericArgument value5 = QGenericArgument(0u, 0u), QGenericArgument value6 = QGenericArgument(0u, 0u), QGenericArgument value7 = QGenericArgument(0u, 0u), QGenericArgument value8 = QGenericArgument(0u, 0u), QGenericArgument value9 = QGenericArgument(0u, 0u)) const; +%MethodCode + // Raise an exception if the call failed. + bool ok; + + Py_BEGIN_ALLOW_THREADS + ok = sipCpp->invoke(a0, *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10); + Py_END_ALLOW_THREADS + + if (ok) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + qtcore_invoke_exception(); +%End + + int methodIndex() const; + bool isValid() const; + QByteArray methodSignature() const; + QByteArray name() const; + int returnType() const; + int parameterCount() const; + int parameterType(int index) const; +}; + +class QMetaEnum +{ +%TypeHeaderCode +#include +%End + +public: + QMetaEnum(); + const char *name() const; + bool isFlag() const; + int keyCount() const; + const char *key(int index) const; + int value(int index) const; + const char *scope() const; + int keyToValue(const char *key, bool *ok = 0) const; + const char *valueToKey(int value) const; + int keysToValue(const char *keys, bool *ok = 0) const; + QByteArray valueToKeys(int value) const; + bool isValid() const; +%If (Qt_5_8_0 -) + bool isScoped() const; +%End +%If (Qt_5_12_0 -) + const char *enumName() const; +%End +}; + +class QMetaProperty +{ +%TypeHeaderCode +#include +%End + +public: + QMetaProperty(); + const char *name() const; + const char *typeName() const; + QVariant::Type type() const; + bool isReadable() const; + bool isWritable() const; + bool isDesignable(const QObject *object = 0) const; + bool isScriptable(const QObject *object = 0) const; + bool isStored(const QObject *object = 0) const; + bool isFlagType() const; + bool isEnumType() const; + QMetaEnum enumerator() const; + QVariant read(const QObject *obj) const; + bool write(QObject *obj, const QVariant &value) const; + bool reset(QObject *obj) const; + bool hasStdCppSet() const; + bool isValid() const; + bool isResettable() const; + bool isUser(const QObject *object = 0) const; + int userType() const; + bool hasNotifySignal() const; + QMetaMethod notifySignal() const; + int notifySignalIndex() const; + int propertyIndex() const; + bool isConstant() const; + bool isFinal() const; +%If (Qt_5_14_0 -) + int relativePropertyIndex() const; +%End +%If (Qt_5_15_0 -) + bool isRequired() const; +%End +}; + +class QMetaClassInfo +{ +%TypeHeaderCode +#include +%End + +public: + QMetaClassInfo(); + const char *name() const; + const char *value() const; +}; + +bool operator==(const QMetaMethod &m1, const QMetaMethod &m2); +bool operator!=(const QMetaMethod &m1, const QMetaMethod &m2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmetatype.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmetatype.sip new file mode 100644 index 00000000..f110c5be --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmetatype.sip @@ -0,0 +1,174 @@ +// qmetatype.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMetaType +{ +%TypeHeaderCode +#include +%End + +public: + enum Type + { + UnknownType, + Void, + Bool, + Int, + UInt, + LongLong, + ULongLong, + Double, + QChar, + QVariantMap, + QVariantList, + QVariantHash, + QString, + QStringList, + QByteArray, + QBitArray, + QDate, + QTime, + QDateTime, + QUrl, + QLocale, + QRect, + QRectF, + QSize, + QSizeF, + QLine, + QLineF, + QPoint, + QPointF, + QRegExp, + LastCoreType, + FirstGuiType, + QFont, + QPixmap, + QBrush, + QColor, + QPalette, + QIcon, + QImage, + QPolygon, + QRegion, + QBitmap, + QCursor, + QSizePolicy, + QKeySequence, + QPen, + QTextLength, + QTextFormat, + QMatrix, + QTransform, + VoidStar, + Long, + Short, + Char, + ULong, + UShort, + UChar, + Float, + QObjectStar, + QMatrix4x4, + QVector2D, + QVector3D, + QVector4D, + QQuaternion, + QEasingCurve, + QVariant, + QUuid, + QModelIndex, + QPolygonF, + SChar, + QRegularExpression, + QJsonValue, + QJsonObject, + QJsonArray, + QJsonDocument, +%If (Qt_5_4_0 -) + QByteArrayList, +%End +%If (Qt_5_5_0 -) + QPersistentModelIndex, +%End +%If (Qt_5_12_0 -) + QCborSimpleType, +%End +%If (Qt_5_12_0 -) + QCborValue, +%End +%If (Qt_5_12_0 -) + QCborArray, +%End +%If (Qt_5_12_0 -) + QCborMap, +%End +%If (Qt_5_15_0 -) + QColorSpace, +%End + User, + }; + + static int type(const char *typeName); + static const char *typeName(int type); + static bool isRegistered(int type); +%If (- Qt_5_15_0) + explicit QMetaType(const int type); +%End +%If (Qt_5_15_0 -) + explicit QMetaType(const int type = QMetaType::Type::UnknownType); +%End + ~QMetaType(); + + enum TypeFlag + { + NeedsConstruction, + NeedsDestruction, + MovableType, + PointerToQObject, + IsEnumeration, + }; + + typedef QFlags TypeFlags; + static QMetaType::TypeFlags typeFlags(int type); + QMetaType::TypeFlags flags() const; + bool isValid() const; + bool isRegistered() const; + static const QMetaObject *metaObjectForType(int type); +%If (Qt_5_13_0 -) + int id() const; +%End +%If (Qt_5_15_0 -) + QByteArray name() const; +%End + +private: + QMetaType(const QMetaType &other); +}; + +QFlags operator|(QMetaType::TypeFlag f1, QFlags f2); +%If (Qt_5_15_0 -) +bool operator==(const QMetaType &a, const QMetaType &b); +%End +%If (Qt_5_15_0 -) +bool operator!=(const QMetaType &a, const QMetaType &b); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimedata.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimedata.sip new file mode 100644 index 00000000..53b2b69f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimedata.sip @@ -0,0 +1,59 @@ +// qmimedata.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMimeData : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QMimeData(); + virtual ~QMimeData(); + QList urls() const; + void setUrls(const QList &urls); + bool hasUrls() const; + QString text() const; + void setText(const QString &text); + bool hasText() const; + QString html() const; + void setHtml(const QString &html); + bool hasHtml() const; + QVariant imageData() const; + void setImageData(const QVariant &image); + bool hasImage() const; + QVariant colorData() const; + void setColorData(const QVariant &color); + bool hasColor() const; + QByteArray data(const QString &mimetype) const; + void setData(const QString &mimetype, const QByteArray &data); + virtual bool hasFormat(const QString &mimetype) const; + virtual QStringList formats() const; + void clear(); + void removeFormat(const QString &mimetype); + +protected: + virtual QVariant retrieveData(const QString &mimetype, QVariant::Type preferredType) const; + +private: + QMimeData(const QMimeData &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimedatabase.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimedatabase.sip new file mode 100644 index 00000000..40c4daf3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimedatabase.sip @@ -0,0 +1,54 @@ +// qmimedatabase.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMimeDatabase +{ +%TypeHeaderCode +#include +%End + +public: + QMimeDatabase(); + ~QMimeDatabase(); + QMimeType mimeTypeForName(const QString &nameOrAlias) const; + + enum MatchMode + { + MatchDefault, + MatchExtension, + MatchContent, + }; + + QMimeType mimeTypeForFile(const QString &fileName, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; + QMimeType mimeTypeForFile(const QFileInfo &fileInfo, QMimeDatabase::MatchMode mode = QMimeDatabase::MatchDefault) const; + QList mimeTypesForFileName(const QString &fileName) const; + QMimeType mimeTypeForData(const QByteArray &data) const; + QMimeType mimeTypeForData(QIODevice *device) const; + QMimeType mimeTypeForUrl(const QUrl &url) const; + QMimeType mimeTypeForFileNameAndData(const QString &fileName, QIODevice *device) const; + QMimeType mimeTypeForFileNameAndData(const QString &fileName, const QByteArray &data) const; + QString suffixForFileName(const QString &fileName) const; + QList allMimeTypes() const; + +private: + QMimeDatabase(const QMimeDatabase &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimetype.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimetype.sip new file mode 100644 index 00000000..0885c09c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmimetype.sip @@ -0,0 +1,57 @@ +// qmimetype.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMimeType +{ +%TypeHeaderCode +#include +%End + +public: + QMimeType(); + QMimeType(const QMimeType &other); + ~QMimeType(); + void swap(QMimeType &other /Constrained/); + bool operator==(const QMimeType &other) const; + bool operator!=(const QMimeType &other) const; + bool isValid() const; + bool isDefault() const; + QString name() const; + QString comment() const; + QString genericIconName() const; + QString iconName() const; + QStringList globPatterns() const; + QStringList parentMimeTypes() const; + QStringList allAncestors() const; + QStringList aliases() const; + QStringList suffixes() const; + QString preferredSuffix() const; + bool inherits(const QString &mimeTypeName) const; + QString filterString() const; +%If (Qt_5_6_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmutex.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmutex.sip new file mode 100644 index 00000000..623907e0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qmutex.sip @@ -0,0 +1,97 @@ +// qmutex.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMutexLocker +{ +%TypeHeaderCode +#include +%End + +public: + explicit QMutexLocker(QMutex *m) /ReleaseGIL/; +%If (Qt_5_14_0 -) + explicit QMutexLocker(QRecursiveMutex *m) /ReleaseGIL/; +%End + ~QMutexLocker(); + void unlock(); + void relock() /ReleaseGIL/; + QMutex *mutex() const; + SIP_PYOBJECT __enter__(); +%MethodCode + // Just return a reference to self. + sipRes = sipSelf; + Py_INCREF(sipRes); +%End + + void __exit__(SIP_PYOBJECT type, SIP_PYOBJECT value, SIP_PYOBJECT traceback); +%MethodCode + sipCpp->unlock(); +%End + +private: + QMutexLocker(const QMutexLocker &); +}; + +class QMutex +{ +%TypeHeaderCode +#include +%End + +public: + enum RecursionMode + { + NonRecursive, + Recursive, + }; + + explicit QMutex(QMutex::RecursionMode mode = QMutex::NonRecursive); + ~QMutex(); + void lock() /ReleaseGIL/; + bool tryLock(int timeout = 0) /ReleaseGIL/; + void unlock() /ReleaseGIL/; +%If (Qt_5_7_0 -) + bool isRecursive() const; +%End +%If (- Qt_5_7_0) +// Methods implemented in QBasicMutex. +bool isRecursive(); +%End + +private: + QMutex(const QMutex &); +}; + +%If (Qt_5_14_0 -) + +class QRecursiveMutex : private QMutex /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + QRecursiveMutex(); + ~QRecursiveMutex(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qnamespace.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qnamespace.sip new file mode 100644 index 00000000..b996935e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qnamespace.sip @@ -0,0 +1,1835 @@ +// qnamespace.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace Qt +{ +%TypeHeaderCode +#include +%End + + enum GlobalColor + { + color0, + color1, + black, + white, + darkGray, + gray, + lightGray, + red, + green, + blue, + cyan, + magenta, + yellow, + darkRed, + darkGreen, + darkBlue, + darkCyan, + darkMagenta, + darkYellow, + transparent, + }; + + enum KeyboardModifier + { + NoModifier, + ShiftModifier, + ControlModifier, + AltModifier, + MetaModifier, + KeypadModifier, + GroupSwitchModifier, + KeyboardModifierMask, + }; + + typedef QFlags KeyboardModifiers; + + enum Modifier + { + META, + SHIFT, + CTRL, + ALT, + MODIFIER_MASK, + UNICODE_ACCEL, + }; + + enum MouseButton + { + NoButton, + AllButtons, + LeftButton, + RightButton, + MidButton, + MiddleButton, + XButton1, + XButton2, + BackButton, + ExtraButton1, + ForwardButton, + ExtraButton2, + TaskButton, + ExtraButton3, + ExtraButton4, + ExtraButton5, + ExtraButton6, + ExtraButton7, + ExtraButton8, + ExtraButton9, + ExtraButton10, + ExtraButton11, + ExtraButton12, + ExtraButton13, + ExtraButton14, + ExtraButton15, + ExtraButton16, + ExtraButton17, + ExtraButton18, + ExtraButton19, + ExtraButton20, + ExtraButton21, + ExtraButton22, + ExtraButton23, + ExtraButton24, + }; + + typedef QFlags MouseButtons; + + enum Orientation + { + Horizontal, + Vertical, + }; + + typedef QFlags Orientations; + + enum FocusPolicy + { + NoFocus, + TabFocus, + ClickFocus, + StrongFocus, + WheelFocus, + }; + + enum SortOrder + { + AscendingOrder, + DescendingOrder, + }; + + enum AlignmentFlag + { + AlignLeft, + AlignLeading, + AlignRight, + AlignTrailing, + AlignHCenter, + AlignJustify, + AlignAbsolute, + AlignHorizontal_Mask, + AlignTop, + AlignBottom, + AlignVCenter, + AlignVertical_Mask, + AlignCenter, +%If (Qt_5_2_0 -) + AlignBaseline, +%End + }; + + typedef QFlags Alignment; + + enum TextFlag + { + TextSingleLine, + TextDontClip, + TextExpandTabs, + TextShowMnemonic, + TextWordWrap, + TextWrapAnywhere, + TextDontPrint, + TextIncludeTrailingSpaces, + TextHideMnemonic, + TextJustificationForced, + }; + + enum TextElideMode + { + ElideLeft, + ElideRight, + ElideMiddle, + ElideNone, + }; + + enum WindowType + { + Widget, + Window, + Dialog, + Sheet, + Drawer, + Popup, + Tool, + ToolTip, + SplashScreen, + Desktop, + SubWindow, + WindowType_Mask, + MSWindowsFixedSizeDialogHint, + MSWindowsOwnDC, + X11BypassWindowManagerHint, + FramelessWindowHint, + CustomizeWindowHint, + WindowTitleHint, + WindowSystemMenuHint, + WindowMinimizeButtonHint, + WindowMaximizeButtonHint, + WindowMinMaxButtonsHint, + WindowContextHelpButtonHint, + WindowShadeButtonHint, + WindowStaysOnTopHint, +%If (- Qt_5_8_0) + WindowOkButtonHint, +%End +%If (- Qt_5_8_0) + WindowCancelButtonHint, +%End + WindowStaysOnBottomHint, + WindowCloseButtonHint, + MacWindowToolBarButtonHint, + BypassGraphicsProxyWidget, + WindowTransparentForInput, + WindowOverridesSystemGestures, + WindowDoesNotAcceptFocus, + NoDropShadowWindowHint, + WindowFullscreenButtonHint, +%If (Qt_5_1_0 -) + ForeignWindow, +%End +%If (Qt_5_1_0 -) + BypassWindowManagerHint, +%End +%If (Qt_5_2_0 -) + CoverWindow, +%End +%If (Qt_5_5_0 -) + MaximizeUsingFullscreenGeometryHint, +%End + }; + + typedef QFlags WindowFlags; + + enum WindowState + { + WindowNoState, + WindowMinimized, + WindowMaximized, + WindowFullScreen, + WindowActive, + }; + + typedef QFlags WindowStates; + + enum WidgetAttribute + { + WA_Disabled, + WA_UnderMouse, + WA_MouseTracking, + WA_OpaquePaintEvent, + WA_StaticContents, + WA_LaidOut, + WA_PaintOnScreen, + WA_NoSystemBackground, + WA_UpdatesDisabled, + WA_Mapped, + WA_MacNoClickThrough, + WA_InputMethodEnabled, + WA_WState_Visible, + WA_WState_Hidden, + WA_ForceDisabled, + WA_KeyCompression, + WA_PendingMoveEvent, + WA_PendingResizeEvent, + WA_SetPalette, + WA_SetFont, + WA_SetCursor, + WA_NoChildEventsFromChildren, + WA_WindowModified, + WA_Resized, + WA_Moved, + WA_PendingUpdate, + WA_InvalidSize, + WA_MacMetalStyle, + WA_CustomWhatsThis, + WA_LayoutOnEntireRect, + WA_OutsideWSRange, + WA_GrabbedShortcut, + WA_TransparentForMouseEvents, + WA_PaintUnclipped, + WA_SetWindowIcon, + WA_NoMouseReplay, + WA_DeleteOnClose, + WA_RightToLeft, + WA_SetLayoutDirection, + WA_NoChildEventsForParent, + WA_ForceUpdatesDisabled, + WA_WState_Created, + WA_WState_CompressKeys, + WA_WState_InPaintEvent, + WA_WState_Reparented, + WA_WState_ConfigPending, + WA_WState_Polished, + WA_WState_OwnSizePolicy, + WA_WState_ExplicitShowHide, + WA_MouseNoMask, + WA_GroupLeader, + WA_NoMousePropagation, + WA_Hover, + WA_InputMethodTransparent, + WA_QuitOnClose, + WA_KeyboardFocusChange, + WA_AcceptDrops, + WA_WindowPropagation, + WA_NoX11EventCompression, + WA_TintedBackground, + WA_X11OpenGLOverlay, + WA_AttributeCount, + WA_AlwaysShowToolTips, + WA_MacOpaqueSizeGrip, + WA_SetStyle, + WA_MacBrushedMetal, + WA_SetLocale, + WA_MacShowFocusRect, + WA_MacNormalSize, + WA_MacSmallSize, + WA_MacMiniSize, + WA_LayoutUsesWidgetRect, + WA_StyledBackground, + WA_MSWindowsUseDirect3D, + WA_MacAlwaysShowToolWindow, + WA_StyleSheet, + WA_ShowWithoutActivating, + WA_NativeWindow, + WA_DontCreateNativeAncestors, + WA_MacVariableSize, + WA_DontShowOnScreen, + WA_X11NetWmWindowTypeDesktop, + WA_X11NetWmWindowTypeDock, + WA_X11NetWmWindowTypeToolBar, + WA_X11NetWmWindowTypeMenu, + WA_X11NetWmWindowTypeUtility, + WA_X11NetWmWindowTypeSplash, + WA_X11NetWmWindowTypeDialog, + WA_X11NetWmWindowTypeDropDownMenu, + WA_X11NetWmWindowTypePopupMenu, + WA_X11NetWmWindowTypeToolTip, + WA_X11NetWmWindowTypeNotification, + WA_X11NetWmWindowTypeCombo, + WA_X11NetWmWindowTypeDND, + WA_MacFrameworkScaled, + WA_TranslucentBackground, + WA_AcceptTouchEvents, + WA_TouchPadAcceptSingleTouchEvents, + WA_X11DoNotAcceptFocus, + WA_MacNoShadow, +%If (Qt_5_4_0 -) + WA_AlwaysStackOnTop, +%End +%If (Qt_5_9_0 -) + WA_TabletTracking, +%End +%If (Qt_5_11_0 -) + WA_ContentsMarginsRespectsSafeArea, +%End +%If (Qt_5_12_0 -) + WA_StyleSheetTarget, +%End + }; + + enum ImageConversionFlag + { + AutoColor, + ColorOnly, + MonoOnly, + ThresholdAlphaDither, + OrderedAlphaDither, + DiffuseAlphaDither, + DiffuseDither, + OrderedDither, + ThresholdDither, + AutoDither, + PreferDither, + AvoidDither, + NoOpaqueDetection, + NoFormatConversion, + }; + + typedef QFlags ImageConversionFlags; + + enum BGMode + { + TransparentMode, + OpaqueMode, + }; + + enum Key + { + Key_Escape, + Key_Tab, + Key_Backtab, + Key_Backspace, + Key_Return, + Key_Enter, + Key_Insert, + Key_Delete, + Key_Pause, + Key_Print, + Key_SysReq, + Key_Clear, + Key_Home, + Key_End, + Key_Left, + Key_Up, + Key_Right, + Key_Down, + Key_PageUp, + Key_PageDown, + Key_Shift, + Key_Control, + Key_Meta, + Key_Alt, + Key_CapsLock, + Key_NumLock, + Key_ScrollLock, + Key_F1, + Key_F2, + Key_F3, + Key_F4, + Key_F5, + Key_F6, + Key_F7, + Key_F8, + Key_F9, + Key_F10, + Key_F11, + Key_F12, + Key_F13, + Key_F14, + Key_F15, + Key_F16, + Key_F17, + Key_F18, + Key_F19, + Key_F20, + Key_F21, + Key_F22, + Key_F23, + Key_F24, + Key_F25, + Key_F26, + Key_F27, + Key_F28, + Key_F29, + Key_F30, + Key_F31, + Key_F32, + Key_F33, + Key_F34, + Key_F35, + Key_Super_L, + Key_Super_R, + Key_Menu, + Key_Hyper_L, + Key_Hyper_R, + Key_Help, + Key_Direction_L, + Key_Direction_R, + Key_Space, + Key_Any, + Key_Exclam, + Key_QuoteDbl, + Key_NumberSign, + Key_Dollar, + Key_Percent, + Key_Ampersand, + Key_Apostrophe, + Key_ParenLeft, + Key_ParenRight, + Key_Asterisk, + Key_Plus, + Key_Comma, + Key_Minus, + Key_Period, + Key_Slash, + Key_0, + Key_1, + Key_2, + Key_3, + Key_4, + Key_5, + Key_6, + Key_7, + Key_8, + Key_9, + Key_Colon, + Key_Semicolon, + Key_Less, + Key_Equal, + Key_Greater, + Key_Question, + Key_At, + Key_A, + Key_B, + Key_C, + Key_D, + Key_E, + Key_F, + Key_G, + Key_H, + Key_I, + Key_J, + Key_K, + Key_L, + Key_M, + Key_N, + Key_O, + Key_P, + Key_Q, + Key_R, + Key_S, + Key_T, + Key_U, + Key_V, + Key_W, + Key_X, + Key_Y, + Key_Z, + Key_BracketLeft, + Key_Backslash, + Key_BracketRight, + Key_AsciiCircum, + Key_Underscore, + Key_QuoteLeft, + Key_BraceLeft, + Key_Bar, + Key_BraceRight, + Key_AsciiTilde, + Key_nobreakspace, + Key_exclamdown, + Key_cent, + Key_sterling, + Key_currency, + Key_yen, + Key_brokenbar, + Key_section, + Key_diaeresis, + Key_copyright, + Key_ordfeminine, + Key_guillemotleft, + Key_notsign, + Key_hyphen, + Key_registered, + Key_macron, + Key_degree, + Key_plusminus, + Key_twosuperior, + Key_threesuperior, + Key_acute, + Key_mu, + Key_paragraph, + Key_periodcentered, + Key_cedilla, + Key_onesuperior, + Key_masculine, + Key_guillemotright, + Key_onequarter, + Key_onehalf, + Key_threequarters, + Key_questiondown, + Key_Agrave, + Key_Aacute, + Key_Acircumflex, + Key_Atilde, + Key_Adiaeresis, + Key_Aring, + Key_AE, + Key_Ccedilla, + Key_Egrave, + Key_Eacute, + Key_Ecircumflex, + Key_Ediaeresis, + Key_Igrave, + Key_Iacute, + Key_Icircumflex, + Key_Idiaeresis, + Key_ETH, + Key_Ntilde, + Key_Ograve, + Key_Oacute, + Key_Ocircumflex, + Key_Otilde, + Key_Odiaeresis, + Key_multiply, + Key_Ooblique, + Key_Ugrave, + Key_Uacute, + Key_Ucircumflex, + Key_Udiaeresis, + Key_Yacute, + Key_THORN, + Key_ssharp, + Key_division, + Key_ydiaeresis, + Key_AltGr, + Key_Multi_key, + Key_Codeinput, + Key_SingleCandidate, + Key_MultipleCandidate, + Key_PreviousCandidate, + Key_Mode_switch, + Key_Kanji, + Key_Muhenkan, + Key_Henkan, + Key_Romaji, + Key_Hiragana, + Key_Katakana, + Key_Hiragana_Katakana, + Key_Zenkaku, + Key_Hankaku, + Key_Zenkaku_Hankaku, + Key_Touroku, + Key_Massyo, + Key_Kana_Lock, + Key_Kana_Shift, + Key_Eisu_Shift, + Key_Eisu_toggle, + Key_Hangul, + Key_Hangul_Start, + Key_Hangul_End, + Key_Hangul_Hanja, + Key_Hangul_Jamo, + Key_Hangul_Romaja, + Key_Hangul_Jeonja, + Key_Hangul_Banja, + Key_Hangul_PreHanja, + Key_Hangul_PostHanja, + Key_Hangul_Special, + Key_Dead_Grave, + Key_Dead_Acute, + Key_Dead_Circumflex, + Key_Dead_Tilde, + Key_Dead_Macron, + Key_Dead_Breve, + Key_Dead_Abovedot, + Key_Dead_Diaeresis, + Key_Dead_Abovering, + Key_Dead_Doubleacute, + Key_Dead_Caron, + Key_Dead_Cedilla, + Key_Dead_Ogonek, + Key_Dead_Iota, + Key_Dead_Voiced_Sound, + Key_Dead_Semivoiced_Sound, + Key_Dead_Belowdot, + Key_Dead_Hook, + Key_Dead_Horn, + Key_Back, + Key_Forward, + Key_Stop, + Key_Refresh, + Key_VolumeDown, + Key_VolumeMute, + Key_VolumeUp, + Key_BassBoost, + Key_BassUp, + Key_BassDown, + Key_TrebleUp, + Key_TrebleDown, + Key_MediaPlay, + Key_MediaStop, + Key_MediaPrevious, + Key_MediaNext, + Key_MediaRecord, + Key_HomePage, + Key_Favorites, + Key_Search, + Key_Standby, + Key_OpenUrl, + Key_LaunchMail, + Key_LaunchMedia, + Key_Launch0, + Key_Launch1, + Key_Launch2, + Key_Launch3, + Key_Launch4, + Key_Launch5, + Key_Launch6, + Key_Launch7, + Key_Launch8, + Key_Launch9, + Key_LaunchA, + Key_LaunchB, + Key_LaunchC, + Key_LaunchD, + Key_LaunchE, + Key_LaunchF, + Key_MediaLast, + Key_Select, + Key_Yes, + Key_No, + Key_Context1, + Key_Context2, + Key_Context3, + Key_Context4, + Key_Call, + Key_Hangup, + Key_Flip, + Key_unknown, + Key_Execute, + Key_Printer, + Key_Play, + Key_Sleep, + Key_Zoom, + Key_Cancel, + Key_MonBrightnessUp, + Key_MonBrightnessDown, + Key_KeyboardLightOnOff, + Key_KeyboardBrightnessUp, + Key_KeyboardBrightnessDown, + Key_PowerOff, + Key_WakeUp, + Key_Eject, + Key_ScreenSaver, + Key_WWW, + Key_Memo, + Key_LightBulb, + Key_Shop, + Key_History, + Key_AddFavorite, + Key_HotLinks, + Key_BrightnessAdjust, + Key_Finance, + Key_Community, + Key_AudioRewind, + Key_BackForward, + Key_ApplicationLeft, + Key_ApplicationRight, + Key_Book, + Key_CD, + Key_Calculator, + Key_ToDoList, + Key_ClearGrab, + Key_Close, + Key_Copy, + Key_Cut, + Key_Display, + Key_DOS, + Key_Documents, + Key_Excel, + Key_Explorer, + Key_Game, + Key_Go, + Key_iTouch, + Key_LogOff, + Key_Market, + Key_Meeting, + Key_MenuKB, + Key_MenuPB, + Key_MySites, + Key_News, + Key_OfficeHome, + Key_Option, + Key_Paste, + Key_Phone, + Key_Calendar, + Key_Reply, + Key_Reload, + Key_RotateWindows, + Key_RotationPB, + Key_RotationKB, + Key_Save, + Key_Send, + Key_Spell, + Key_SplitScreen, + Key_Support, + Key_TaskPane, + Key_Terminal, + Key_Tools, + Key_Travel, + Key_Video, + Key_Word, + Key_Xfer, + Key_ZoomIn, + Key_ZoomOut, + Key_Away, + Key_Messenger, + Key_WebCam, + Key_MailForward, + Key_Pictures, + Key_Music, + Key_Battery, + Key_Bluetooth, + Key_WLAN, + Key_UWB, + Key_AudioForward, + Key_AudioRepeat, + Key_AudioRandomPlay, + Key_Subtitle, + Key_AudioCycleTrack, + Key_Time, + Key_Hibernate, + Key_View, + Key_TopMenu, + Key_PowerDown, + Key_Suspend, + Key_ContrastAdjust, + Key_MediaPause, + Key_MediaTogglePlayPause, + Key_LaunchG, + Key_LaunchH, + Key_ToggleCallHangup, + Key_VoiceDial, + Key_LastNumberRedial, + Key_Camera, + Key_CameraFocus, + Key_TouchpadToggle, + Key_TouchpadOn, + Key_TouchpadOff, +%If (Qt_5_1_0 -) + Key_MicMute, +%End +%If (Qt_5_2_0 -) + Key_Red, +%End +%If (Qt_5_2_0 -) + Key_Green, +%End +%If (Qt_5_2_0 -) + Key_Yellow, +%End +%If (Qt_5_2_0 -) + Key_Blue, +%End +%If (Qt_5_2_0 -) + Key_ChannelUp, +%End +%If (Qt_5_2_0 -) + Key_ChannelDown, +%End +%If (Qt_5_3_0 -) + Key_Guide, +%End +%If (Qt_5_3_0 -) + Key_Info, +%End +%If (Qt_5_3_0 -) + Key_Settings, +%End +%If (Qt_5_3_0 -) + Key_Exit, +%End +%If (Qt_5_4_0 -) + Key_MicVolumeUp, +%End +%If (Qt_5_4_0 -) + Key_MicVolumeDown, +%End +%If (Qt_5_4_0 -) + Key_New, +%End +%If (Qt_5_4_0 -) + Key_Open, +%End +%If (Qt_5_4_0 -) + Key_Find, +%End +%If (Qt_5_4_0 -) + Key_Undo, +%End +%If (Qt_5_4_0 -) + Key_Redo, +%End +%If (Qt_5_11_0 -) + Key_Dead_Stroke, +%End +%If (Qt_5_11_0 -) + Key_Dead_Abovecomma, +%End +%If (Qt_5_11_0 -) + Key_Dead_Abovereversedcomma, +%End +%If (Qt_5_11_0 -) + Key_Dead_Doublegrave, +%End +%If (Qt_5_11_0 -) + Key_Dead_Belowring, +%End +%If (Qt_5_11_0 -) + Key_Dead_Belowmacron, +%End +%If (Qt_5_11_0 -) + Key_Dead_Belowcircumflex, +%End +%If (Qt_5_11_0 -) + Key_Dead_Belowtilde, +%End +%If (Qt_5_11_0 -) + Key_Dead_Belowbreve, +%End +%If (Qt_5_11_0 -) + Key_Dead_Belowdiaeresis, +%End +%If (Qt_5_11_0 -) + Key_Dead_Invertedbreve, +%End +%If (Qt_5_11_0 -) + Key_Dead_Belowcomma, +%End +%If (Qt_5_11_0 -) + Key_Dead_Currency, +%End +%If (Qt_5_11_0 -) + Key_Dead_a, +%End +%If (Qt_5_11_0 -) + Key_Dead_A, +%End +%If (Qt_5_11_0 -) + Key_Dead_e, +%End +%If (Qt_5_11_0 -) + Key_Dead_E, +%End +%If (Qt_5_11_0 -) + Key_Dead_i, +%End +%If (Qt_5_11_0 -) + Key_Dead_I, +%End +%If (Qt_5_11_0 -) + Key_Dead_o, +%End +%If (Qt_5_11_0 -) + Key_Dead_O, +%End +%If (Qt_5_11_0 -) + Key_Dead_u, +%End +%If (Qt_5_11_0 -) + Key_Dead_U, +%End +%If (Qt_5_11_0 -) + Key_Dead_Small_Schwa, +%End +%If (Qt_5_11_0 -) + Key_Dead_Capital_Schwa, +%End +%If (Qt_5_11_0 -) + Key_Dead_Greek, +%End +%If (Qt_5_11_0 -) + Key_Dead_Lowline, +%End +%If (Qt_5_11_0 -) + Key_Dead_Aboveverticalline, +%End +%If (Qt_5_11_0 -) + Key_Dead_Belowverticalline, +%End +%If (Qt_5_11_0 -) + Key_Dead_Longsolidusoverlay, +%End + }; + + enum ArrowType + { + NoArrow, + UpArrow, + DownArrow, + LeftArrow, + RightArrow, + }; + + enum PenStyle + { + NoPen, + SolidLine, + DashLine, + DotLine, + DashDotLine, + DashDotDotLine, + CustomDashLine, + MPenStyle, + }; + + enum PenCapStyle + { + FlatCap, + SquareCap, + RoundCap, + MPenCapStyle, + }; + + enum PenJoinStyle + { + MiterJoin, + BevelJoin, + RoundJoin, + MPenJoinStyle, + SvgMiterJoin, + }; + + enum BrushStyle + { + NoBrush, + SolidPattern, + Dense1Pattern, + Dense2Pattern, + Dense3Pattern, + Dense4Pattern, + Dense5Pattern, + Dense6Pattern, + Dense7Pattern, + HorPattern, + VerPattern, + CrossPattern, + BDiagPattern, + FDiagPattern, + DiagCrossPattern, + LinearGradientPattern, + RadialGradientPattern, + ConicalGradientPattern, + TexturePattern, + }; + + enum UIEffect + { + UI_General, + UI_AnimateMenu, + UI_FadeMenu, + UI_AnimateCombo, + UI_AnimateTooltip, + UI_FadeTooltip, + UI_AnimateToolBox, + }; + + enum CursorShape + { + ArrowCursor, + UpArrowCursor, + CrossCursor, + WaitCursor, + IBeamCursor, + SizeVerCursor, + SizeHorCursor, + SizeBDiagCursor, + SizeFDiagCursor, + SizeAllCursor, + BlankCursor, + SplitVCursor, + SplitHCursor, + PointingHandCursor, + ForbiddenCursor, + OpenHandCursor, + ClosedHandCursor, + WhatsThisCursor, + BusyCursor, + LastCursor, + BitmapCursor, + CustomCursor, + DragCopyCursor, + DragMoveCursor, + DragLinkCursor, + }; + + enum TextFormat + { + PlainText, + RichText, + AutoText, +%If (Qt_5_14_0 -) + MarkdownText, +%End + }; + + enum AspectRatioMode + { + IgnoreAspectRatio, + KeepAspectRatio, + KeepAspectRatioByExpanding, + }; + + enum DockWidgetArea + { + LeftDockWidgetArea, + RightDockWidgetArea, + TopDockWidgetArea, + BottomDockWidgetArea, + DockWidgetArea_Mask, + AllDockWidgetAreas, + NoDockWidgetArea, + }; + + typedef QFlags DockWidgetAreas; + + enum TimerType + { + PreciseTimer, + CoarseTimer, + VeryCoarseTimer, + }; + + enum ToolBarArea + { + LeftToolBarArea, + RightToolBarArea, + TopToolBarArea, + BottomToolBarArea, + ToolBarArea_Mask, + AllToolBarAreas, + NoToolBarArea, + }; + + typedef QFlags ToolBarAreas; + + enum DateFormat + { + TextDate, + ISODate, +%If (Qt_5_8_0 -) + ISODateWithMs, +%End + LocalDate, + SystemLocaleDate, + LocaleDate, + SystemLocaleShortDate, + SystemLocaleLongDate, + DefaultLocaleShortDate, + DefaultLocaleLongDate, +%If (Qt_5_2_0 -) + RFC2822Date, +%End + }; + + enum TimeSpec + { + LocalTime, + UTC, + OffsetFromUTC, +%If (Qt_5_2_0 -) + TimeZone, +%End + }; + + enum DayOfWeek + { + Monday, + Tuesday, + Wednesday, + Thursday, + Friday, + Saturday, + Sunday, + }; + + enum ScrollBarPolicy + { + ScrollBarAsNeeded, + ScrollBarAlwaysOff, + ScrollBarAlwaysOn, + }; + + enum CaseSensitivity + { + CaseInsensitive, + CaseSensitive, + }; + + enum Corner + { + TopLeftCorner, + TopRightCorner, + BottomLeftCorner, + BottomRightCorner, + }; + + enum ConnectionType + { + AutoConnection, + DirectConnection, + QueuedConnection, + BlockingQueuedConnection, + UniqueConnection, + }; + + enum ShortcutContext + { + WidgetShortcut, + WindowShortcut, + ApplicationShortcut, + WidgetWithChildrenShortcut, + }; + + enum FillRule + { + OddEvenFill, + WindingFill, + }; + + enum ClipOperation + { + NoClip, + ReplaceClip, + IntersectClip, + }; + + enum TransformationMode + { + FastTransformation, + SmoothTransformation, + }; + + enum FocusReason + { + MouseFocusReason, + TabFocusReason, + BacktabFocusReason, + ActiveWindowFocusReason, + PopupFocusReason, + ShortcutFocusReason, + MenuBarFocusReason, + OtherFocusReason, + NoFocusReason, + }; + + enum ContextMenuPolicy + { + NoContextMenu, + PreventContextMenu, + DefaultContextMenu, + ActionsContextMenu, + CustomContextMenu, + }; + + enum InputMethodQuery + { + ImMicroFocus, + ImFont, + ImCursorPosition, + ImSurroundingText, + ImCurrentSelection, + ImMaximumTextLength, + ImAnchorPosition, + ImEnabled, + ImCursorRectangle, + ImHints, + ImPreferredLanguage, + ImPlatformData, + ImQueryInput, + ImQueryAll, +%If (Qt_5_3_0 -) + ImAbsolutePosition, +%End +%If (Qt_5_3_0 -) + ImTextBeforeCursor, +%End +%If (Qt_5_3_0 -) + ImTextAfterCursor, +%End +%If (Qt_5_6_0 -) + ImEnterKeyType, +%End +%If (Qt_5_7_0 -) + ImAnchorRectangle, +%End +%If (Qt_5_7_0 -) + ImInputItemClipRectangle, +%End + }; + + typedef QFlags InputMethodQueries; + + enum ToolButtonStyle + { + ToolButtonIconOnly, + ToolButtonTextOnly, + ToolButtonTextBesideIcon, + ToolButtonTextUnderIcon, + ToolButtonFollowStyle, + }; + + enum LayoutDirection + { + LeftToRight, + RightToLeft, + LayoutDirectionAuto, + }; + + enum DropAction + { + CopyAction, + MoveAction, + LinkAction, + ActionMask, + TargetMoveAction, + IgnoreAction, + }; + + typedef QFlags DropActions; + + enum CheckState + { + Unchecked, + PartiallyChecked, + Checked, + }; + + enum ItemDataRole + { + DisplayRole, + DecorationRole, + EditRole, + ToolTipRole, + StatusTipRole, + WhatsThisRole, + FontRole, + TextAlignmentRole, + BackgroundRole, + BackgroundColorRole, + ForegroundRole, + TextColorRole, + CheckStateRole, + AccessibleTextRole, + AccessibleDescriptionRole, + SizeHintRole, + InitialSortOrderRole, + UserRole, + }; + + enum ItemFlag + { + NoItemFlags, + ItemIsSelectable, + ItemIsEditable, + ItemIsDragEnabled, + ItemIsDropEnabled, + ItemIsUserCheckable, + ItemIsEnabled, + ItemIsTristate, +%If (Qt_5_1_0 -) + ItemNeverHasChildren, +%End +%If (Qt_5_5_0 -) + ItemIsUserTristate, +%End +%If (Qt_5_6_0 -) + ItemIsAutoTristate, +%End + }; + + typedef QFlags ItemFlags; + + enum MatchFlag + { + MatchExactly, + MatchFixedString, + MatchContains, + MatchStartsWith, + MatchEndsWith, + MatchRegExp, + MatchWildcard, + MatchCaseSensitive, + MatchWrap, + MatchRecursive, +%If (Qt_5_15_0 -) + MatchRegularExpression, +%End + }; + + typedef QFlags MatchFlags; + typedef void *HANDLE; + + enum WindowModality + { + NonModal, + WindowModal, + ApplicationModal, + }; + + enum ApplicationAttribute + { + AA_ImmediateWidgetCreation, + AA_MSWindowsUseDirect3DByDefault, + AA_DontShowIconsInMenus, + AA_NativeWindows, + AA_DontCreateNativeWidgetSiblings, + AA_MacPluginApplication, + AA_DontUseNativeMenuBar, + AA_MacDontSwapCtrlAndMeta, + AA_X11InitThreads, + AA_Use96Dpi, + AA_SynthesizeTouchForUnhandledMouseEvents, + AA_SynthesizeMouseForUnhandledTouchEvents, +%If (Qt_5_1_0 -) + AA_UseHighDpiPixmaps, +%End +%If (Qt_5_3_0 -) + AA_ForceRasterWidgets, +%End +%If (Qt_5_3_0 -) + AA_UseDesktopOpenGL, +%End +%If (Qt_5_3_0 -) + AA_UseOpenGLES, +%End +%If (Qt_5_4_0 -) + AA_UseSoftwareOpenGL, +%End +%If (Qt_5_4_0 -) + AA_ShareOpenGLContexts, +%End +%If (Qt_5_5_0 -) + AA_SetPalette, +%End +%If (Qt_5_6_0 -) + AA_EnableHighDpiScaling, +%End +%If (Qt_5_6_0 -) + AA_DisableHighDpiScaling, +%End +%If (Qt_5_7_0 -) + AA_PluginApplication, +%End +%If (Qt_5_7_0 -) + AA_UseStyleSheetPropagationInWidgetStyles, +%End +%If (Qt_5_7_0 -) + AA_DontUseNativeDialogs, +%End +%If (Qt_5_7_0 -) + AA_SynthesizeMouseForUnhandledTabletEvents, +%End +%If (Qt_5_7_0 -) + AA_CompressHighFrequencyEvents, +%End +%If (Qt_5_8_0 -) + AA_DontCheckOpenGLContextThreadAffinity, +%End +%If (Qt_5_9_0 -) + AA_DisableShaderDiskCache, +%End +%If (Qt_5_10_0 -) + AA_DontShowShortcutsInContextMenus, +%End +%If (Qt_5_10_0 -) + AA_CompressTabletEvents, +%End +%If (Qt_5_10_0 -) + AA_DisableWindowContextHelpButton, +%End +%If (Qt_5_14_0 -) + AA_DisableSessionManager, +%End +%If (Qt_5_15_0 -) + AA_DisableNativeVirtualKeyboard, +%End + }; + + enum ItemSelectionMode + { + ContainsItemShape, + IntersectsItemShape, + ContainsItemBoundingRect, + IntersectsItemBoundingRect, + }; + + enum TextInteractionFlag + { + NoTextInteraction, + TextSelectableByMouse, + TextSelectableByKeyboard, + LinksAccessibleByMouse, + LinksAccessibleByKeyboard, + TextEditable, + TextEditorInteraction, + TextBrowserInteraction, + }; + + typedef QFlags TextInteractionFlags; + + enum MaskMode + { + MaskInColor, + MaskOutColor, + }; + + enum Axis + { + XAxis, + YAxis, + ZAxis, + }; + + enum EventPriority + { + HighEventPriority, + NormalEventPriority, + LowEventPriority, + }; + + enum SizeMode + { + AbsoluteSize, + RelativeSize, + }; + + enum SizeHint + { + MinimumSize, + PreferredSize, + MaximumSize, + MinimumDescent, + }; + + enum WindowFrameSection + { + NoSection, + LeftSection, + TopLeftSection, + TopSection, + TopRightSection, + RightSection, + BottomRightSection, + BottomSection, + BottomLeftSection, + TitleBarArea, + }; + + enum TileRule + { + StretchTile, + RepeatTile, + RoundTile, + }; + + enum InputMethodHint + { + ImhNone, + ImhHiddenText, + ImhNoAutoUppercase, + ImhPreferNumbers, + ImhPreferUppercase, + ImhPreferLowercase, + ImhNoPredictiveText, + ImhDigitsOnly, + ImhFormattedNumbersOnly, + ImhUppercaseOnly, + ImhLowercaseOnly, + ImhDialableCharactersOnly, + ImhEmailCharactersOnly, + ImhUrlCharactersOnly, + ImhExclusiveInputMask, + ImhSensitiveData, + ImhDate, + ImhTime, + ImhPreferLatin, + ImhLatinOnly, +%If (Qt_5_1_0 -) + ImhMultiLine, +%End +%If (Qt_5_11_0 -) + ImhNoEditMenu, +%End +%If (Qt_5_11_0 -) + ImhNoTextHandles, +%End + }; + + typedef QFlags InputMethodHints; + + enum AnchorPoint + { + AnchorLeft, + AnchorHorizontalCenter, + AnchorRight, + AnchorTop, + AnchorVerticalCenter, + AnchorBottom, + }; + + enum CoordinateSystem + { + DeviceCoordinates, + LogicalCoordinates, + }; + + enum TouchPointState + { + TouchPointPressed, + TouchPointMoved, + TouchPointStationary, + TouchPointReleased, + }; + + typedef QFlags TouchPointStates; + + enum GestureState + { + GestureStarted, + GestureUpdated, + GestureFinished, + GestureCanceled, + }; + + enum GestureType + { + TapGesture, + TapAndHoldGesture, + PanGesture, + PinchGesture, + SwipeGesture, + CustomGesture, + }; + + enum GestureFlag + { + DontStartGestureOnChildren, + ReceivePartialGestures, + IgnoredGesturesPropagateToParent, + }; + + typedef QFlags GestureFlags; + + enum NavigationMode + { + NavigationModeNone, + NavigationModeKeypadTabOrder, + NavigationModeKeypadDirectional, + NavigationModeCursorAuto, + NavigationModeCursorForceVisible, + }; + + enum CursorMoveStyle + { + LogicalMoveStyle, + VisualMoveStyle, + }; + + enum ScreenOrientation + { + PrimaryOrientation, + PortraitOrientation, + LandscapeOrientation, + InvertedPortraitOrientation, + InvertedLandscapeOrientation, + }; + + typedef QFlags ScreenOrientations; + + enum FindChildOption + { + FindDirectChildrenOnly, + FindChildrenRecursively, + }; + + typedef QFlags FindChildOptions; + + enum WhiteSpaceMode + { + WhiteSpaceNormal, + WhiteSpacePre, + WhiteSpaceNoWrap, + WhiteSpaceModeUndefined, + }; + + enum HitTestAccuracy + { + ExactHit, + FuzzyHit, + }; + +%If (Qt_5_1_0 -) + + enum ApplicationState + { + ApplicationSuspended, + ApplicationHidden, + ApplicationInactive, + ApplicationActive, + }; + +%End +%If (Qt_5_1_0 -) + typedef QFlags ApplicationStates; +%End +%If (Qt_5_1_0 -) + + enum Edge + { + TopEdge, + LeftEdge, + RightEdge, + BottomEdge, + }; + +%End +%If (Qt_5_2_0 -) + + enum NativeGestureType + { + BeginNativeGesture, + EndNativeGesture, + PanNativeGesture, + ZoomNativeGesture, + SmartZoomNativeGesture, + RotateNativeGesture, + SwipeNativeGesture, + }; + +%End +%If (Qt_5_2_0 -) + + enum ScrollPhase + { + ScrollBegin, + ScrollUpdate, + ScrollEnd, +%If (Qt_5_7_0 -) + NoScrollPhase, +%End +%If (Qt_5_12_0 -) + ScrollMomentum, +%End + }; + +%End +%If (Qt_5_3_0 -) + typedef QFlags Edges; +%End +%If (Qt_5_3_0 -) + + enum MouseEventSource + { + MouseEventNotSynthesized, + MouseEventSynthesizedBySystem, + MouseEventSynthesizedByQt, +%If (Qt_5_6_0 -) + MouseEventSynthesizedByApplication, +%End + }; + +%End +%If (Qt_5_3_0 -) + + enum MouseEventFlag + { + MouseEventCreatedDoubleClick, + }; + +%End +%If (Qt_5_3_0 -) + typedef QFlags MouseEventFlags; +%End +%If (Qt_5_5_0 -) + + enum TabFocusBehavior + { + NoTabFocus, + TabFocusTextControls, + TabFocusListControls, + TabFocusAllControls, + }; + +%End +%If (Qt_5_5_0 -) + + enum ItemSelectionOperation + { + ReplaceSelection, + AddToSelection, + }; + +%End +%If (Qt_5_6_0 -) + + enum EnterKeyType + { + EnterKeyDefault, + EnterKeyReturn, + EnterKeyDone, + EnterKeyGo, + EnterKeySend, + EnterKeySearch, + EnterKeyNext, + EnterKeyPrevious, + }; + +%End +%If (Qt_5_9_0 -) + + enum ChecksumType + { + ChecksumIso3309, + ChecksumItuV41, + }; + +%End +%If (Qt_5_14_0 -) + + enum class HighDpiScaleFactorRoundingPolicy + { + Round, + Ceil, + Floor, + RoundPreferFloor, + PassThrough, + }; + +%End +}; + +QFlags operator|(Qt::MouseButton f1, QFlags f2); +QFlags operator|(Qt::Orientation f1, QFlags f2); +QFlags operator|(Qt::KeyboardModifier f1, QFlags f2); +QFlags operator|(Qt::WindowType f1, QFlags f2); +QFlags operator|(Qt::AlignmentFlag f1, QFlags f2); +QFlags operator|(Qt::ImageConversionFlag f1, QFlags f2); +QFlags operator|(Qt::DockWidgetArea f1, QFlags f2); +QFlags operator|(Qt::ToolBarArea f1, QFlags f2); +QFlags operator|(Qt::WindowState f1, QFlags f2); +QFlags operator|(Qt::DropAction f1, QFlags f2); +QFlags operator|(Qt::ItemFlag f1, QFlags f2); +QFlags operator|(Qt::MatchFlag f1, QFlags f2); +QFlags operator|(Qt::TextInteractionFlag f1, QFlags f2); +QFlags operator|(Qt::InputMethodHint f1, QFlags f2); +QFlags operator|(Qt::TouchPointState f1, QFlags f2); +QFlags operator|(Qt::GestureFlag f1, QFlags f2); +QFlags operator|(Qt::ScreenOrientation f1, QFlags f2); +QFlags operator|(Qt::InputMethodQuery f1, QFlags f2); +%If (Qt_5_3_0 -) +QFlags operator|(Qt::Edge f1, QFlags f2); +%End +%If (Qt_5_3_0 -) +QFlags operator|(Qt::MouseEventFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qnumeric.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qnumeric.sip new file mode 100644 index 00000000..f4ffe904 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qnumeric.sip @@ -0,0 +1,35 @@ +// qnumeric.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +bool qIsInf(double d); +bool qIsFinite(double d); +bool qIsNaN(double d); +double qInf(); +double qSNaN(); +double qQNaN(); +%If (Qt_5_3_0 -) +quint64 qFloatDistance(double a, double b); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobject.sip new file mode 100644 index 00000000..4f975a46 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobject.sip @@ -0,0 +1,772 @@ +// qobject.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +typedef QList QObjectList; + +class QObject /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// This is needed by the tr() handwritten implementation. +#include + + +// These are the helper functions for QObject::findChild() and +// QObject::findChildren. + +// Wrap the given type in a 1-tuple. +static PyObject *qtcore_type_to_tuple(PyObject *type) +{ + PyObject *tuple = PyTuple_New(1); + + if (tuple) + { + Py_INCREF(type); + PyTuple_SetItem(tuple, 0, type); + } + + return tuple; +} + + +// Check all elements of a given tuple are type objects and return a new +// reference to the tuple if so. +static PyObject *qtcore_check_tuple_types(PyObject *types) +{ + for (Py_ssize_t i = 0; i < PyTuple_Size(types); ++i) + if (!PyObject_TypeCheck(PyTuple_GetItem(types, i), &PyType_Type)) + { + PyErr_SetString(PyExc_TypeError, + "all elements of the types argument must be type objects"); + return 0; + } + + Py_INCREF(types); + return types; +} + + +// Do the main work of finding a child. +static PyObject *qtcore_do_find_child(const QObject *parent, PyObject *types, const QString &name, Qt::FindChildOptions options) +{ + const QObjectList &children = parent->children(); + int i; + + for (i = 0; i < children.size(); ++i) + { + QObject *obj = children.at(i); + PyObject *pyo = sipConvertFromType(obj, sipType_QObject, 0); + + if (!pyo) + return 0; + + // Allow for proxies. + QObject *resolved = reinterpret_cast(sipGetAddress((sipSimpleWrapper *)pyo)); + + if (name.isNull() || resolved->objectName() == name) + for (Py_ssize_t t = 0; t < PyTuple_Size(types); ++t) + if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GetItem(types, t))) + return pyo; + + Py_DECREF(pyo); + } + + if (options == Qt::FindChildrenRecursively) + for (i = 0; i < children.size(); ++i) + { + PyObject *pyo = qtcore_do_find_child(children.at(i), types, name, options); + + if (pyo != Py_None) + return pyo; + + Py_DECREF(pyo); + } + + Py_INCREF(Py_None); + return Py_None; +} + + +// Find a child that is one of a number of types and with an optional name. +static PyObject *qtcore_FindChild(const QObject *parent, PyObject *types, const QString &name, Qt::FindChildOptions options) +{ + // Check that the types checking was successful. + if (!types) + return 0; + + PyObject *child = qtcore_do_find_child(parent, types, name, options); + + Py_DECREF(types); + + return child; +} + + +// Do the main work of finding the children with a string name. +static bool qtcore_do_find_children(const QObject *parent, PyObject *types, const QString &name, Qt::FindChildOptions options, PyObject *list) +{ + const QObjectList &children = parent->children(); + int i; + + for (i = 0; i < children.size(); ++i) + { + QObject *obj = children.at(i); + PyObject *pyo = sipConvertFromType(obj, sipType_QObject, 0); + + if (!pyo) + return false; + + // Allow for proxies. + QObject *resolved = reinterpret_cast(sipGetAddress((sipSimpleWrapper *)pyo)); + + if (name.isNull() || resolved->objectName() == name) + for (Py_ssize_t t = 0; t < PyTuple_Size(types); ++t) + if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GetItem(types, t))) + if (PyList_Append(list, pyo) < 0) + { + Py_DECREF(pyo); + return false; + } + + Py_DECREF(pyo); + + if (options == Qt::FindChildrenRecursively) + { + bool ok = qtcore_do_find_children(obj, types, name, options, list); + + if (!ok) + return false; + } + } + + return true; +} + + +// Find a child that is one of a number of types and with an optional string +// name. +static PyObject *qtcore_FindChildren(const QObject *parent, PyObject *types, const QString &name, Qt::FindChildOptions options) +{ + // Check that the types checking was successful. + if (!types) + return 0; + + PyObject *list = PyList_New(0); + + if (list) + if (!qtcore_do_find_children(parent, types, name, options, list)) + Py_DECREF(list); + + Py_DECREF(types); + + return list; +} + + +// Do the main work of finding the children with a QRegExp name. +static bool qtcore_do_find_children(const QObject *parent, PyObject *types, const QRegExp &re, Qt::FindChildOptions options, PyObject *list) +{ + const QObjectList &children = parent->children(); + int i; + + for (i = 0; i < children.size(); ++i) + { + QObject *obj = children.at(i); + PyObject *pyo = sipConvertFromType(obj, sipType_QObject, 0); + + if (!pyo) + return false; + + if (re.indexIn(obj->objectName()) >= 0) + for (Py_ssize_t t = 0; t < PyTuple_Size(types); ++t) + if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GetItem(types, t))) + if (PyList_Append(list, pyo) < 0) + { + Py_DECREF(pyo); + return false; + } + + Py_DECREF(pyo); + + if (options == Qt::FindChildrenRecursively) + { + bool ok = qtcore_do_find_children(obj, types, re, options, list); + + if (!ok) + return false; + } + } + + return true; +} + + +// Find a child that is one of a number of types and with an optional QRegExp +// name. +static PyObject *qtcore_FindChildren(const QObject *parent, PyObject *types, const QRegExp &re, Qt::FindChildOptions options) +{ + // Check that the types checking was successful. + if (!types) + return 0; + + PyObject *list = PyList_New(0); + + if (list) + if (!qtcore_do_find_children(parent, types, re, options, list)) + Py_DECREF(list); + + Py_DECREF(types); + + return list; +} + + +// Do the main work of finding the children with a QRegularExpression name. +static bool qtcore_do_find_children(const QObject *parent, PyObject *types, const QRegularExpression &re, Qt::FindChildOptions options, PyObject *list) +{ + const QObjectList &children = parent->children(); + int i; + + for (i = 0; i < children.size(); ++i) + { + QObject *obj = children.at(i); + PyObject *pyo = sipConvertFromType(obj, sipType_QObject, 0); + + if (!pyo) + return false; + + QRegularExpressionMatch m = re.match(obj->objectName()); + + if (m.hasMatch()) + for (Py_ssize_t t = 0; t < PyTuple_Size(types); ++t) + if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GetItem(types, t))) + if (PyList_Append(list, pyo) < 0) + { + Py_DECREF(pyo); + return false; + } + + Py_DECREF(pyo); + + if (options == Qt::FindChildrenRecursively) + { + bool ok = qtcore_do_find_children(obj, types, re, options, list); + + if (!ok) + return false; + } + } + + return true; +} + + +// Find a child that is one of a number of types and with an optional +// QRegularExpression name. +static PyObject *qtcore_FindChildren(const QObject *parent, PyObject *types, const QRegularExpression &re, Qt::FindChildOptions options) +{ + // Check that the types checking was successful. + if (!types) + return 0; + + PyObject *list = PyList_New(0); + + if (list) + if (!qtcore_do_find_children(parent, types, re, options, list)) + Py_DECREF(list); + + Py_DECREF(types); + + return list; +} +%End + +%FinalisationCode + return qpycore_qobject_finalisation(sipSelf, sipCpp, sipKwds, sipUnused); +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QAbstractAnimation, &sipType_QAbstractAnimation, 25, 1}, + {sipName_QAbstractEventDispatcher, &sipType_QAbstractEventDispatcher, -1, 2}, + {sipName_QAbstractItemModel, &sipType_QAbstractItemModel, 31, 3}, + {sipName_QAbstractState, &sipType_QAbstractState, 39, 4}, + {sipName_QAbstractTransition, &sipType_QAbstractTransition, 43, 5}, + {sipName_QIODevice, &sipType_QIODevice, 45, 6}, + {sipName_QCoreApplication, &sipType_QCoreApplication, -1, 7}, + {sipName_QEventLoop, &sipType_QEventLoop, -1, 8}, + #if QT_VERSION >= 0x050200 + {sipName_QFileSelector, &sipType_QFileSelector, -1, 9}, + #else + {0, 0, -1, 9}, + #endif + {sipName_QFileSystemWatcher, &sipType_QFileSystemWatcher, -1, 10}, + {sipName_QItemSelectionModel, &sipType_QItemSelectionModel, -1, 11}, + {sipName_QLibrary, &sipType_QLibrary, -1, 12}, + {sipName_QMimeData, &sipType_QMimeData, -1, 13}, + {sipName_QObjectCleanupHandler, &sipType_QObjectCleanupHandler, -1, 14}, + {sipName_QPluginLoader, &sipType_QPluginLoader, -1, 15}, + {sipName_QSettings, &sipType_QSettings, -1, 16}, + {sipName_QSharedMemory, &sipType_QSharedMemory, -1, 17}, + {sipName_QSignalMapper, &sipType_QSignalMapper, -1, 18}, + {sipName_QSocketNotifier, &sipType_QSocketNotifier, -1, 19}, + {sipName_QThread, &sipType_QThread, -1, 20}, + {sipName_QThreadPool, &sipType_QThreadPool, -1, 21}, + {sipName_QTimeLine, &sipType_QTimeLine, -1, 22}, + {sipName_QTimer, &sipType_QTimer, -1, 23}, + {sipName_QTranslator, &sipType_QTranslator, -1, 24}, + #if defined(Q_OS_WIN) + {sipName_QWinEventNotifier, &sipType_QWinEventNotifier, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + {sipName_QAnimationGroup, &sipType_QAnimationGroup, 28, 26}, + {sipName_QPauseAnimation, &sipType_QPauseAnimation, -1, 27}, + {sipName_QVariantAnimation, &sipType_QVariantAnimation, 30, -1}, + {sipName_QParallelAnimationGroup, &sipType_QParallelAnimationGroup, -1, 29}, + {sipName_QSequentialAnimationGroup, &sipType_QSequentialAnimationGroup, -1, -1}, + {sipName_QPropertyAnimation, &sipType_QPropertyAnimation, -1, -1}, + {sipName_QAbstractListModel, &sipType_QAbstractListModel, 35, 32}, + {sipName_QAbstractProxyModel, &sipType_QAbstractProxyModel, 36, 33}, + {sipName_QAbstractTableModel, &sipType_QAbstractTableModel, -1, 34}, + #if QT_VERSION >= 0x050d00 + {sipName_QConcatenateTablesProxyModel, &sipType_QConcatenateTablesProxyModel, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + {sipName_QStringListModel, &sipType_QStringListModel, -1, -1}, + {sipName_QIdentityProxyModel, &sipType_QIdentityProxyModel, -1, 37}, + {sipName_QSortFilterProxyModel, &sipType_QSortFilterProxyModel, -1, 38}, + #if QT_VERSION >= 0x050d00 + {sipName_QTransposeProxyModel, &sipType_QTransposeProxyModel, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + {sipName_QFinalState, &sipType_QFinalState, -1, 40}, + {sipName_QHistoryState, &sipType_QHistoryState, -1, 41}, + {sipName_QState, &sipType_QState, 42, -1}, + {sipName_QStateMachine, &sipType_QStateMachine, -1, -1}, + {sipName_QEventTransition, &sipType_QEventTransition, -1, 44}, + {sipName_QSignalTransition, &sipType_QSignalTransition, -1, -1}, + {sipName_QBuffer, &sipType_QBuffer, -1, 46}, + {sipName_QFileDevice, &sipType_QFileDevice, 48, 47}, + #if !defined(QT_NO_PROCESS) + {sipName_QProcess, &sipType_QProcess, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + {sipName_QFile, &sipType_QFile, 50, 49}, + #if QT_VERSION >= 0x050100 + {sipName_QSaveFile, &sipType_QSaveFile, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + {sipName_QTemporaryFile, &sipType_QTemporaryFile, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +%GCTraverseCode + // Traverse any saved slots we might be connected to. + sipRes = qpycore_visitSlotProxies(sipCpp, sipVisit, sipArg); +%End + +%GCClearCode + // Clear any saved slots we might be connected to. + sipRes = qpycore_clearSlotProxies(sipCpp); +%End + +public: + static const QMetaObject staticMetaObject { +%GetCode + sipPy = qpycore_qobject_staticmetaobject(sipPyType); +%End + + }; + const QMetaObject *metaObject() const; + explicit QObject(QObject *parent /TransferThis/ = 0); + virtual ~QObject(); + void pyqtConfigure(SIP_PYOBJECT) /NoArgParser/; +%Docstring +QObject.pyqtConfigure(...) + +Each keyword argument is either the name of a Qt property or a Qt signal. +For properties the property is set to the given value which should be of an +appropriate type. +For signals the signal is connected to the given value which should be a +callable. +%End + +%MethodCode + return qpycore_pyqtconfigure(sipSelf, sipArgs, sipKwds); +%End + + SIP_PYOBJECT __getattr__(const char *name /Encoding="UTF-8"/) const /NoTypeHint/; +%MethodCode + sipRes = qpycore_qobject_getattr(sipCpp, sipSelf, a0); +%End + + virtual bool event(QEvent *); + virtual bool eventFilter(QObject *, QEvent *); + QString tr(const char *sourceText /Encoding="UTF-8"/, const char *disambiguation = 0, int n = -1) const; +%MethodCode + // Note that tr() is really a static method. We pretend it isn't so we can use + // self to get hold of the class name. + + sipRes = new QString(QCoreApplication::translate(sipPyTypeName(Py_TYPE(sipSelf)), a0, a1, a2)); +%End + + SIP_PYOBJECT findChild(SIP_PYTYPE type, const QString &name = QString(), Qt::FindChildOptions options = Qt::FindChildrenRecursively) const /TypeHint="QObject"/; +%MethodCode + sipRes = qtcore_FindChild(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2); + + if (!sipRes) + sipIsErr = 1; +%End + + SIP_PYOBJECT findChild(SIP_PYTUPLE types /TypeHintValue="()"/, const QString &name = QString(), Qt::FindChildOptions options = Qt::FindChildrenRecursively) const /TypeHint="QObject"/; +%MethodCode + sipRes = qtcore_FindChild(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2); + + if (!sipRes) + sipIsErr = 1; +%End + + SIP_PYLIST findChildren(SIP_PYTYPE type, const QString &name = QString(), Qt::FindChildOptions options = Qt::FindChildrenRecursively) const /TypeHint="List[QObject]"/; +%MethodCode + sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2); + + if (!sipRes) + sipIsErr = 1; +%End + + SIP_PYLIST findChildren(SIP_PYTUPLE types /TypeHintValue="()"/, const QString &name = QString(), Qt::FindChildOptions options = Qt::FindChildrenRecursively) const /TypeHint="List[QObject]"/; +%MethodCode + sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2); + + if (!sipRes) + sipIsErr = 1; +%End + + SIP_PYLIST findChildren(SIP_PYTYPE type, const QRegExp ®Exp, Qt::FindChildOptions options = Qt::FindChildrenRecursively) const /TypeHint="List[QObject]"/; +%MethodCode + sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2); + + if (!sipRes) + sipIsErr = 1; +%End + + SIP_PYLIST findChildren(SIP_PYTUPLE types /TypeHintValue="()"/, const QRegExp ®Exp, Qt::FindChildOptions options = Qt::FindChildrenRecursively) const /TypeHint="List[QObject]"/; +%MethodCode + sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2); + + if (!sipRes) + sipIsErr = 1; +%End + + SIP_PYLIST findChildren(SIP_PYTYPE type, const QRegularExpression &re, Qt::FindChildOptions options = Qt::FindChildrenRecursively) const /TypeHint="List[QObject]"/; +%MethodCode + sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2); + + if (!sipRes) + sipIsErr = 1; +%End + + SIP_PYLIST findChildren(SIP_PYTUPLE types /TypeHintValue="()"/, const QRegularExpression &re, Qt::FindChildOptions options = Qt::FindChildrenRecursively) const /TypeHint="List[QObject]"/; +%MethodCode + sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2); + + if (!sipRes) + sipIsErr = 1; +%End + + QString objectName() const; + void setObjectName(const QString &name); + bool isWidgetType() const; + bool isWindowType() const; + bool signalsBlocked() const; + bool blockSignals(bool b); + QThread *thread() const; + void moveToThread(QThread *thread); + int startTimer(int interval, Qt::TimerType timerType = Qt::CoarseTimer); + void killTimer(int id); + const QObjectList &children() const; + void setParent(QObject * /TransferThis/); + void installEventFilter(QObject *); + void removeEventFilter(QObject *); +%If (Qt_5_9_0 -) + void dumpObjectInfo() const; +%End +%If (- Qt_5_9_0) + void dumpObjectInfo(); +%End +%If (Qt_5_9_0 -) + void dumpObjectTree() const; +%End +%If (- Qt_5_9_0) + void dumpObjectTree(); +%End + QList dynamicPropertyNames() const; + bool setProperty(const char *name, const QVariant &value); + QVariant property(const char *name) const; + +signals: + void destroyed(QObject *object = 0); + void objectNameChanged(const QString &objectName); + +public: + QObject *parent() const; + bool inherits(const char *classname) const; + +public slots: + void deleteLater() /TransferThis/; + +protected: + QObject *sender() const /ReleaseGIL/; +%MethodCode + // sender() must be called without the GIL to avoid possible deadlocks between + // the GIL and Qt's internal thread data mutex. + + Py_BEGIN_ALLOW_THREADS + + #if defined(SIP_PROTECTED_IS_PUBLIC) + sipRes = sipCpp->sender(); + #else + sipRes = sipCpp->sipProtect_sender(); + #endif + + Py_END_ALLOW_THREADS + + if (!sipRes) + { + typedef QObject *(*qtcore_qobject_sender_t)(); + + static qtcore_qobject_sender_t qtcore_qobject_sender = 0; + + if (!qtcore_qobject_sender) + { + qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender"); + Q_ASSERT(qtcore_qobject_sender); + } + + sipRes = qtcore_qobject_sender(); + } +%End + + int receivers(SIP_PYOBJECT signal /TypeHint="PYQT_SIGNAL"/) const [int (const char *signal)]; +%MethodCode + // We need to handle the signal object. Import the helper if it hasn't already + // been done. + typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &); + + static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0; + + if (!pyqt5_get_signal_signature) + { + pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature"); + Q_ASSERT(pyqt5_get_signal_signature); + } + + QByteArray signal_signature; + + #if defined(SIP_PROTECTED_IS_PUBLIC) + if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone) + { + sipRes = sipCpp->receivers(signal_signature.constData()); + } + #else + if ((sipError = pyqt5_get_signal_signature(a0, static_cast(sipCpp), signal_signature)) == sipErrorNone) + { + sipRes = sipCpp->sipProtect_receivers(signal_signature.constData()); + } + #endif + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + virtual void timerEvent(QTimerEvent *); + virtual void childEvent(QChildEvent *); + virtual void customEvent(QEvent *); + virtual void connectNotify(const QMetaMethod &signal); + virtual void disconnectNotify(const QMetaMethod &signal); + int senderSignalIndex() const; + bool isSignalConnected(const QMetaMethod &signal) const; + +public: + static bool disconnect(const QMetaObject::Connection &); + SIP_PYOBJECT disconnect() const /TypeHint=""/; +%MethodCode + sipRes = qpycore_qobject_disconnect(sipCpp); +%End + +private: + QObject(const QObject &); +}; + +SIP_PYOBJECT Q_CLASSINFO(const char *name, const char *value) /TypeHint=""/; +%MethodCode + sipRes = qpycore_ClassInfo(a0, a1); +%End + +SIP_PYOBJECT Q_ENUM(SIP_PYOBJECT /TypeHint="Union[type, enum.Enum]"/) /TypeHint=""/; +%MethodCode + sipRes = qpycore_Enum(a0); +%End + +SIP_PYOBJECT Q_ENUMS(...) /TypeHint=""/; +%MethodCode + sipRes = qpycore_Enums(a0); +%End + +SIP_PYOBJECT Q_FLAG(SIP_PYOBJECT /TypeHint="Union[type, enum.Enum]"/) /TypeHint=""/; +%MethodCode + sipRes = qpycore_Flag(a0); +%End + +SIP_PYOBJECT Q_FLAGS(...) /TypeHint=""/; +%MethodCode + sipRes = qpycore_Flags(a0); +%End + +SIP_PYOBJECT QT_TR_NOOP(SIP_PYOBJECT /TypeHint="str"/) /TypeHint="str"/; +%MethodCode + Py_INCREF(a0); + sipRes = a0; +%End + +SIP_PYOBJECT QT_TR_NOOP_UTF8(SIP_PYOBJECT /TypeHint="str"/) /TypeHint="str"/; +%MethodCode + Py_INCREF(a0); + sipRes = a0; +%End + +SIP_PYOBJECT QT_TRANSLATE_NOOP(SIP_PYOBJECT /TypeHint="str"/, SIP_PYOBJECT /TypeHint="str"/) /TypeHint="str"/; +%MethodCode + Py_INCREF(a1); + sipRes = a1; +%End + +SIP_PYOBJECT pyqtSlot(... types, const char *name = 0, const char *result = 0) /NoArgParser, TypeHint="Callable[..., Optional[str]]"/; +%Docstring +@pyqtSlot(*types, name: Optional[str], result: Optional[str]) + +This is a decorator applied to Python methods of a QObject that marks them +as Qt slots. +The non-keyword arguments are the types of the slot arguments and each may +be a Python type object or a string specifying a C++ type. +name is the name of the slot and defaults to the name of the method. +result is type of the value returned by the slot. +%End + +%MethodCode + return qpycore_pyqtslot(sipArgs, sipKwds); +%End + +%If (Qt_5_3_0 -) + +class QSignalBlocker +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSignalBlocker(QObject *o); + ~QSignalBlocker(); + void reblock(); + void unblock(); + SIP_PYOBJECT __enter__(); +%MethodCode + // Just return a reference to self. + sipRes = sipSelf; + Py_INCREF(sipRes); +%End + + void __exit__(SIP_PYOBJECT type, SIP_PYOBJECT value, SIP_PYOBJECT traceback); +%MethodCode + sipCpp->unblock(); +%End + +private: + QSignalBlocker(const QSignalBlocker &); +}; + +%End + +%ModuleHeaderCode +#include "qpycore_api.h" +%End + +%ModuleCode +// Disable the (supposedly) compulsory parts of the Qt support API. +#define sipQtCreateUniversalSlot 0 +#define sipQtDestroyUniversalSlot 0 +#define sipQtFindSlot 0 +#define sipQtConnect 0 +#define sipQtDisconnect 0 +#define sipQtSameSignalSlotName 0 +#define sipQtFindSipslot 0 +%End + +%PreInitialisationCode +#if defined(Q_OS_DARWIN) + // This works around a problem (possibly a clash between Qt and Python) + // began with Qt v5.11 that causes missed paint events. Only set the + // variable if it hasn't already been given a value. + if (qgetenv("QT_MAC_WANTS_LAYER").isNull()) + qputenv("QT_MAC_WANTS_LAYER", "1"); +#endif +%End + +%InitialisationCode +qpycore_init(); +%End + +%PostInitialisationCode +qpycore_post_init(sipModuleDict); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobjectcleanuphandler.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobjectcleanuphandler.sip new file mode 100644 index 00000000..58f6ba06 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobjectcleanuphandler.sip @@ -0,0 +1,36 @@ +// qobjectcleanuphandler.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QObjectCleanupHandler : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QObjectCleanupHandler(); + virtual ~QObjectCleanupHandler(); + QObject *add(QObject *object); + void remove(QObject *object); + bool isEmpty() const; + void clear(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobjectdefs.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobjectdefs.sip new file mode 100644 index 00000000..731ad90e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qobjectdefs.sip @@ -0,0 +1,188 @@ +// qobjectdefs.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +struct QMetaObject +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// Raise an exception when QMetaObject::invokeMethod() returns false. +static void qtcore_invokeMethod_exception() +{ + PyErr_SetString(PyExc_RuntimeError, "QMetaObject.invokeMethod() call failed"); +} +%End + + const char *className() const; + const QMetaObject *superClass() const; + QMetaProperty userProperty() const; + int methodOffset() const; + int enumeratorOffset() const; + int propertyOffset() const; + int classInfoOffset() const; + int methodCount() const; + int enumeratorCount() const; + int propertyCount() const; + int classInfoCount() const; + int indexOfMethod(const char *method) const; + int indexOfSignal(const char *signal) const; + int indexOfSlot(const char *slot) const; + int indexOfEnumerator(const char *name) const; + int indexOfProperty(const char *name) const; + int indexOfClassInfo(const char *name) const; + QMetaMethod method(int index) const; + QMetaEnum enumerator(int index) const; + QMetaProperty property(int index) const; + QMetaClassInfo classInfo(int index) const; + static bool checkConnectArgs(const char *signal, const char *method); + static void connectSlotsByName(QObject *o /GetWrapper/); +%MethodCode + qpycore_qmetaobject_connectslotsbyname(a0, a0Wrapper); + + // Make sure there is no (benign) Python exception. + PyErr_Clear(); +%End + + static QByteArray normalizedSignature(const char *method); + static QByteArray normalizedType(const char *type); + static SIP_PYOBJECT invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret /GetWrapper/, QGenericArgument value0 = QGenericArgument(0u, 0u), QGenericArgument value1 = QGenericArgument(0u, 0u), QGenericArgument value2 = QGenericArgument(0u, 0u), QGenericArgument value3 = QGenericArgument(0u, 0u), QGenericArgument value4 = QGenericArgument(0u, 0u), QGenericArgument value5 = QGenericArgument(0u, 0u), QGenericArgument value6 = QGenericArgument(0u, 0u), QGenericArgument value7 = QGenericArgument(0u, 0u), QGenericArgument value8 = QGenericArgument(0u, 0u), QGenericArgument value9 = QGenericArgument(0u, 0u)); +%MethodCode + // Raise an exception if the call failed. + bool ok; + + Py_BEGIN_ALLOW_THREADS + ok = QMetaObject::invokeMethod(a0,a1,a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9,*a10,*a11,*a12,*a13); + Py_END_ALLOW_THREADS + + if (ok) + sipRes = qpycore_ReturnValue(a3Wrapper); + else + qtcore_invokeMethod_exception(); +%End + + static SIP_PYOBJECT invokeMethod(QObject *obj, const char *member, QGenericReturnArgument ret /GetWrapper/, QGenericArgument value0 = QGenericArgument(0u, 0u), QGenericArgument value1 = QGenericArgument(0u, 0u), QGenericArgument value2 = QGenericArgument(0u, 0u), QGenericArgument value3 = QGenericArgument(0u, 0u), QGenericArgument value4 = QGenericArgument(0u, 0u), QGenericArgument value5 = QGenericArgument(0u, 0u), QGenericArgument value6 = QGenericArgument(0u, 0u), QGenericArgument value7 = QGenericArgument(0u, 0u), QGenericArgument value8 = QGenericArgument(0u, 0u), QGenericArgument value9 = QGenericArgument(0u, 0u)); +%MethodCode + // Raise an exception if the call failed. + bool ok; + + Py_BEGIN_ALLOW_THREADS + ok = QMetaObject::invokeMethod(a0,a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9,*a10,*a11,*a12); + Py_END_ALLOW_THREADS + + if (ok) + sipRes = qpycore_ReturnValue(a2Wrapper); + else + qtcore_invokeMethod_exception(); +%End + + static SIP_PYOBJECT invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericArgument value0 = QGenericArgument(0u, 0u), QGenericArgument value1 = QGenericArgument(0u, 0u), QGenericArgument value2 = QGenericArgument(0u, 0u), QGenericArgument value3 = QGenericArgument(0u, 0u), QGenericArgument value4 = QGenericArgument(0u, 0u), QGenericArgument value5 = QGenericArgument(0u, 0u), QGenericArgument value6 = QGenericArgument(0u, 0u), QGenericArgument value7 = QGenericArgument(0u, 0u), QGenericArgument value8 = QGenericArgument(0u, 0u), QGenericArgument value9 = QGenericArgument(0u, 0u)); +%MethodCode + // Raise an exception if the call failed. + bool ok; + + Py_BEGIN_ALLOW_THREADS + ok = QMetaObject::invokeMethod(a0,a1,a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9,*a10,*a11,*a12); + Py_END_ALLOW_THREADS + + if (ok) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + qtcore_invokeMethod_exception(); +%End + + static SIP_PYOBJECT invokeMethod(QObject *obj, const char *member, QGenericArgument value0 = QGenericArgument(0u, 0u), QGenericArgument value1 = QGenericArgument(0u, 0u), QGenericArgument value2 = QGenericArgument(0u, 0u), QGenericArgument value3 = QGenericArgument(0u, 0u), QGenericArgument value4 = QGenericArgument(0u, 0u), QGenericArgument value5 = QGenericArgument(0u, 0u), QGenericArgument value6 = QGenericArgument(0u, 0u), QGenericArgument value7 = QGenericArgument(0u, 0u), QGenericArgument value8 = QGenericArgument(0u, 0u), QGenericArgument value9 = QGenericArgument(0u, 0u)); +%MethodCode + // Raise an exception if the call failed. + bool ok; + + Py_BEGIN_ALLOW_THREADS + ok = QMetaObject::invokeMethod(a0,a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9,*a10,*a11); + Py_END_ALLOW_THREADS + + if (ok) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + qtcore_invokeMethod_exception(); +%End + + int constructorCount() const; + int indexOfConstructor(const char *constructor) const; + QMetaMethod constructor(int index) const; + static bool checkConnectArgs(const QMetaMethod &signal, const QMetaMethod &method); +%If (Qt_5_7_0 -) + bool inherits(const QMetaObject *metaObject) const; +%End + + class Connection + { +%TypeHeaderCode +#include +%End + + public: + Connection(); + Connection(const QMetaObject::Connection &other); + ~Connection(); + }; +}; + +// The support for Q_ARG(), Q_RETURN_ARG() and supporting classes. +class QGenericArgument /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + ~QGenericArgument(); +}; + + +SIP_PYOBJECT Q_ARG(SIP_PYOBJECT type, SIP_PYOBJECT data) /TypeHint="QGenericArgument"/; +%MethodCode + sipRes = qpycore_ArgumentFactory(a0, a1); +%End + + +class QGenericReturnArgument /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + ~QGenericReturnArgument(); +}; + + +SIP_PYOBJECT Q_RETURN_ARG(SIP_PYOBJECT type) /TypeHint="QGenericReturnArgument"/; +%MethodCode + sipRes = qpycore_ReturnFactory(a0); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qoperatingsystemversion.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qoperatingsystemversion.sip new file mode 100644 index 00000000..36afaf51 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qoperatingsystemversion.sip @@ -0,0 +1,103 @@ +// qoperatingsystemversion.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_9_0 -) + +class QOperatingSystemVersion +{ +%TypeHeaderCode +#include +%End + +public: + enum OSType + { + Unknown, + Windows, + MacOS, + IOS, + TvOS, + WatchOS, + Android, + }; + + static const QOperatingSystemVersion Windows7; + static const QOperatingSystemVersion Windows8; + static const QOperatingSystemVersion Windows8_1; + static const QOperatingSystemVersion Windows10; + static const QOperatingSystemVersion OSXMavericks; + static const QOperatingSystemVersion OSXYosemite; + static const QOperatingSystemVersion OSXElCapitan; + static const QOperatingSystemVersion MacOSSierra; +%If (Qt_5_9_1 -) + static const QOperatingSystemVersion MacOSHighSierra; +%End +%If (Qt_5_11_2 -) + static const QOperatingSystemVersion MacOSMojave; +%End +%If (Qt_5_14_0 -) + static const QOperatingSystemVersion MacOSCatalina; +%End + static const QOperatingSystemVersion AndroidJellyBean; + static const QOperatingSystemVersion AndroidJellyBean_MR1; + static const QOperatingSystemVersion AndroidJellyBean_MR2; + static const QOperatingSystemVersion AndroidKitKat; + static const QOperatingSystemVersion AndroidLollipop; + static const QOperatingSystemVersion AndroidLollipop_MR1; + static const QOperatingSystemVersion AndroidMarshmallow; + static const QOperatingSystemVersion AndroidNougat; + static const QOperatingSystemVersion AndroidNougat_MR1; +%If (Qt_5_9_2 -) + static const QOperatingSystemVersion AndroidOreo; +%End +%If (- Qt_5_9_2) + QOperatingSystemVersion(const QOperatingSystemVersion &other); +%End + QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1); + static QOperatingSystemVersion current(); +%If (Qt_5_10_0 -) + static QOperatingSystemVersion::OSType currentType(); +%End + int majorVersion() const; + int minorVersion() const; + int microVersion() const; + int segmentCount() const; + QOperatingSystemVersion::OSType type() const; + QString name() const; + +private: + QOperatingSystemVersion(); +}; + +%End +%If (Qt_5_9_0 -) +bool operator>(const QOperatingSystemVersion &lhs, const QOperatingSystemVersion &rhs); +%End +%If (Qt_5_9_0 -) +bool operator>=(const QOperatingSystemVersion &lhs, const QOperatingSystemVersion &rhs); +%End +%If (Qt_5_9_0 -) +bool operator<(const QOperatingSystemVersion &lhs, const QOperatingSystemVersion &rhs); +%End +%If (Qt_5_9_0 -) +bool operator<=(const QOperatingSystemVersion &lhs, const QOperatingSystemVersion &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qparallelanimationgroup.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qparallelanimationgroup.sip new file mode 100644 index 00000000..9ca007a0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qparallelanimationgroup.sip @@ -0,0 +1,39 @@ +// qparallelanimationgroup.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QParallelAnimationGroup : QAnimationGroup +{ +%TypeHeaderCode +#include +%End + +public: + QParallelAnimationGroup(QObject *parent /TransferThis/ = 0); + virtual ~QParallelAnimationGroup(); + virtual int duration() const; + +protected: + virtual bool event(QEvent *event); + virtual void updateCurrentTime(int currentTime); + virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + virtual void updateDirection(QAbstractAnimation::Direction direction); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpauseanimation.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpauseanimation.sip new file mode 100644 index 00000000..af743f20 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpauseanimation.sip @@ -0,0 +1,39 @@ +// qpauseanimation.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPauseAnimation : QAbstractAnimation +{ +%TypeHeaderCode +#include +%End + +public: + QPauseAnimation(QObject *parent /TransferThis/ = 0); + QPauseAnimation(int msecs, QObject *parent /TransferThis/ = 0); + virtual ~QPauseAnimation(); + virtual int duration() const; + void setDuration(int msecs); + +protected: + virtual bool event(QEvent *e); + virtual void updateCurrentTime(int); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpluginloader.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpluginloader.sip new file mode 100644 index 00000000..386111fb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpluginloader.sip @@ -0,0 +1,43 @@ +// qpluginloader.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPluginLoader : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPluginLoader(QObject *parent /TransferThis/ = 0); + QPluginLoader(const QString &fileName, QObject *parent /TransferThis/ = 0); + virtual ~QPluginLoader(); + QObject *instance(); + static QObjectList staticInstances(); + bool load(); + bool unload(); + bool isLoaded() const; + void setFileName(const QString &fileName); + QString fileName() const; + QString errorString() const; + void setLoadHints(QLibrary::LoadHints loadHints); + QLibrary::LoadHints loadHints() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpoint.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpoint.sip new file mode 100644 index 00000000..c177a076 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpoint.sip @@ -0,0 +1,209 @@ +// qpoint.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPoint +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"ii", sipCpp->x(), sipCpp->y()); +%End + +public: + int manhattanLength() const; + QPoint(); + QPoint(int xpos, int ypos); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QPoint()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QPoint()"); + #endif + } + else + { + sipRes = + #if PY_MAJOR_VERSION >= 3 + PyUnicode_FromFormat + #else + PyString_FromFormat + #endif + ("PyQt5.QtCore.QPoint(%i, %i)", sipCpp->x(), sipCpp->y()); + } +%End + + bool isNull() const; + int __bool__() const; +%MethodCode + sipRes = !sipCpp->isNull(); +%End + + int x() const; + int y() const; + void setX(int xpos); + void setY(int ypos); + QPoint &operator+=(const QPoint &p); + QPoint &operator-=(const QPoint &p); + QPoint &operator*=(int c /Constrained/); + QPoint &operator*=(double c); + QPoint &operator/=(qreal c); +%If (Qt_5_1_0 -) + static int dotProduct(const QPoint &p1, const QPoint &p2); +%End +%If (Qt_5_14_0 -) + QPoint transposed() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QPoint & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QPoint & /Constrained/) /ReleaseGIL/; +bool operator==(const QPoint &p1, const QPoint &p2); +bool operator!=(const QPoint &p1, const QPoint &p2); +const QPoint operator+(const QPoint &p1, const QPoint &p2); +const QPoint operator-(const QPoint &p1, const QPoint &p2); +const QPoint operator*(const QPoint &p, int c /Constrained/); +const QPoint operator*(int c /Constrained/, const QPoint &p); +const QPoint operator*(const QPoint &p, double c); +const QPoint operator*(double c, const QPoint &p); +const QPoint operator-(const QPoint &p); +const QPoint operator/(const QPoint &p, qreal c); + +class QPointF /TypeHintIn="Union[QPointF, QPoint]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +// Allow a QPoint whenever a QPointF is expected. This is mainly to help source +// compatibility for Qt5. + +if (sipIsErr == NULL) + return (sipCanConvertToType(sipPy, sipType_QPointF, SIP_NO_CONVERTORS) || + sipCanConvertToType(sipPy, sipType_QPoint, 0)); + +if (sipCanConvertToType(sipPy, sipType_QPointF, SIP_NO_CONVERTORS)) +{ + *sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QPointF, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + + return 0; +} + +int state; + +QPoint *pt = reinterpret_cast(sipConvertToType(sipPy, sipType_QPoint, 0, 0, &state, sipIsErr)); + +if (*sipIsErr) +{ + sipReleaseType(pt, sipType_QPoint, state); + return 0; +} + +*sipCppPtr = new QPointF(*pt); + +sipReleaseType(pt, sipType_QPoint, state); + +return sipGetState(sipTransferObj); +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"dd", sipCpp->x(), sipCpp->y()); +%End + +public: + QPointF(); + QPointF(qreal xpos, qreal ypos); + QPointF(const QPoint &p); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QPointF()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QPointF()"); + #endif + } + else + { + PyObject *x = PyFloat_FromDouble(sipCpp->x()); + PyObject *y = PyFloat_FromDouble(sipCpp->y()); + + if (x && y) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QPointF(%R, %R)", x, y); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QPointF("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(x)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(y)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + Py_XDECREF(x); + Py_XDECREF(y); + } +%End + + bool isNull() const; + int __bool__() const; +%MethodCode + sipRes = !sipCpp->isNull(); +%End + + qreal x() const; + qreal y() const; + void setX(qreal xpos); + void setY(qreal ypos); + QPointF &operator+=(const QPointF &p); + QPointF &operator-=(const QPointF &p); + QPointF &operator*=(qreal c); + QPointF &operator/=(qreal c); + QPoint toPoint() const; + qreal manhattanLength() const; +%If (Qt_5_1_0 -) + static qreal dotProduct(const QPointF &p1, const QPointF &p2); +%End +%If (Qt_5_14_0 -) + QPointF transposed() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QPointF & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QPointF & /Constrained/) /ReleaseGIL/; +bool operator==(const QPointF &p1, const QPointF &p2); +bool operator!=(const QPointF &p1, const QPointF &p2); +const QPointF operator+(const QPointF &p1, const QPointF &p2); +const QPointF operator-(const QPointF &p1, const QPointF &p2); +const QPointF operator*(const QPointF &p, qreal c); +const QPointF operator*(qreal c, const QPointF &p); +const QPointF operator-(const QPointF &p); +const QPointF operator/(const QPointF &p, qreal c); +const QPoint operator+(const QPoint &p); +const QPointF operator+(const QPointF &p); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qprocess.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qprocess.sip new file mode 100644 index 00000000..3ead01cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qprocess.sip @@ -0,0 +1,253 @@ +// qprocess.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (WS_WIN) +%If (PyQt_Process) +typedef void *Q_PID; +%End +%End +%If (WS_X11 || WS_MACX) +%If (PyQt_Process) +typedef qint64 Q_PID; +%End +%End +%If (PyQt_Process) + +class QProcess : QIODevice +{ +%TypeHeaderCode +#include +%End + +public: + enum ExitStatus + { + NormalExit, + CrashExit, + }; + + enum ProcessError + { + FailedToStart, + Crashed, + Timedout, + ReadError, + WriteError, + UnknownError, + }; + + enum ProcessState + { + NotRunning, + Starting, + Running, + }; + + enum ProcessChannel + { + StandardOutput, + StandardError, + }; + + enum ProcessChannelMode + { + SeparateChannels, + MergedChannels, + ForwardedChannels, +%If (Qt_5_2_0 -) + ForwardedOutputChannel, +%End +%If (Qt_5_2_0 -) + ForwardedErrorChannel, +%End + }; + + explicit QProcess(QObject *parent /TransferThis/ = 0); + virtual ~QProcess(); + void start(const QString &program, const QStringList &arguments, QIODevice::OpenMode mode = QIODevice::ReadWrite) /HoldGIL/; + void start(const QString &command, QIODevice::OpenMode mode = QIODevice::ReadWrite) /HoldGIL/; +%If (Qt_5_1_0 -) + void start(QIODevice::OpenMode mode = QIODevice::ReadWrite) /HoldGIL/; +%End + QProcess::ProcessChannel readChannel() const; + void setReadChannel(QProcess::ProcessChannel channel); + void closeReadChannel(QProcess::ProcessChannel channel); + void closeWriteChannel(); + QString workingDirectory() const; + void setWorkingDirectory(const QString &dir); + QProcess::ProcessError error() const; + QProcess::ProcessState state() const; + Q_PID pid() const; + bool waitForStarted(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForReadyRead(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForBytesWritten(int msecs = 30000) /ReleaseGIL/; + bool waitForFinished(int msecs = 30000) /ReleaseGIL/; + QByteArray readAllStandardOutput() /ReleaseGIL/; + QByteArray readAllStandardError() /ReleaseGIL/; + int exitCode() const; + QProcess::ExitStatus exitStatus() const; + virtual qint64 bytesAvailable() const; + virtual qint64 bytesToWrite() const; + virtual bool isSequential() const; + virtual bool canReadLine() const; + virtual void close(); + virtual bool atEnd() const; + static int execute(const QString &program, const QStringList &arguments) /ReleaseGIL/; + static int execute(const QString &program) /ReleaseGIL/; + static bool startDetached(const QString &program, const QStringList &arguments, const QString &workingDirectory, qint64 *pid = 0); + static bool startDetached(const QString &program, const QStringList &arguments); + static bool startDetached(const QString &program); +%If (Qt_5_10_0 -) + bool startDetached(qint64 *pid = 0); +%End + static QStringList systemEnvironment(); + QProcess::ProcessChannelMode processChannelMode() const; + void setProcessChannelMode(QProcess::ProcessChannelMode mode); + void setStandardInputFile(const QString &fileName); + void setStandardOutputFile(const QString &fileName, QIODevice::OpenMode mode = QIODevice::Truncate); + void setStandardErrorFile(const QString &fileName, QIODevice::OpenMode mode = QIODevice::Truncate); + void setStandardOutputProcess(QProcess *destination); + +public slots: + void terminate(); + void kill(); + +signals: + void started(); + void finished(int exitCode, QProcess::ExitStatus exitStatus); + void error(QProcess::ProcessError error); + void stateChanged(QProcess::ProcessState state); + void readyReadStandardOutput(); + void readyReadStandardError(); +%If (Qt_5_6_0 -) + void errorOccurred(QProcess::ProcessError error); +%End + +protected: + void setProcessState(QProcess::ProcessState state); + virtual void setupChildProcess(); + virtual SIP_PYOBJECT readData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QProcess::readData(s, a0) : sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual qint64 writeData(const char *data /Array/, qint64 len /ArraySize/) /ReleaseGIL/; + +public: + void setProcessEnvironment(const QProcessEnvironment &environment); + QProcessEnvironment processEnvironment() const; + QString program() const; +%If (Qt_5_1_0 -) + void setProgram(const QString &program); +%End + QStringList arguments() const; +%If (Qt_5_1_0 -) + void setArguments(const QStringList &arguments); +%End +%If (Qt_5_1_0 -) + virtual bool open(QIODevice::OpenMode mode = QIODevice::ReadWrite) /ReleaseGIL/; +%End +%If (Qt_5_2_0 -) + + enum InputChannelMode + { + ManagedInputChannel, + ForwardedInputChannel, + }; + +%End +%If (Qt_5_2_0 -) + QProcess::InputChannelMode inputChannelMode() const; +%End +%If (Qt_5_2_0 -) + void setInputChannelMode(QProcess::InputChannelMode mode); +%End +%If (Qt_5_2_0 -) + static QString nullDevice(); +%End +%If (Qt_5_3_0 -) + qint64 processId() const; +%End +}; + +%End +%If (PyQt_Process) + +class QProcessEnvironment +{ +%TypeHeaderCode +#include +%End + +public: + QProcessEnvironment(); + QProcessEnvironment(const QProcessEnvironment &other); + ~QProcessEnvironment(); + bool operator==(const QProcessEnvironment &other) const; + bool operator!=(const QProcessEnvironment &other) const; + bool isEmpty() const; + void clear(); + bool contains(const QString &name) const; + void insert(const QString &name, const QString &value); + void insert(const QProcessEnvironment &e); + void remove(const QString &name); + QString value(const QString &name, const QString &defaultValue = QString()) const; + QStringList toStringList() const; + static QProcessEnvironment systemEnvironment(); + QStringList keys() const; + void swap(QProcessEnvironment &other /Constrained/); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpropertyanimation.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpropertyanimation.sip new file mode 100644 index 00000000..07c6b4ec --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpropertyanimation.sip @@ -0,0 +1,42 @@ +// qpropertyanimation.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPropertyAnimation : QVariantAnimation +{ +%TypeHeaderCode +#include +%End + +public: + QPropertyAnimation(QObject *parent /TransferThis/ = 0); + QPropertyAnimation(QObject *target /KeepReference=0/, const QByteArray &propertyName, QObject *parent /TransferThis/ = 0); + virtual ~QPropertyAnimation(); + QObject *targetObject() const; + void setTargetObject(QObject *target /KeepReference=0/); + QByteArray propertyName() const; + void setPropertyName(const QByteArray &propertyName); + +protected: + virtual bool event(QEvent *event); + virtual void updateCurrentValue(const QVariant &value); + virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qhash.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qhash.sip new file mode 100644 index 00000000..dc35182e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qhash.sip @@ -0,0 +1,497 @@ +// This is the SIP interface definition for the majority of the QHash based +// mapped types. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +template<_TYPE1_, _TYPE2_> +%MappedType QHash<_TYPE1_, _TYPE2_> + /TypeHint="Dict[_TYPE1_, _TYPE2_]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QHash<_TYPE1_, _TYPE2_>::const_iterator it = sipCpp->constBegin(); + QHash<_TYPE1_, _TYPE2_>::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + _TYPE1_ *k = new _TYPE1_(it.key()); + PyObject *kobj = sipConvertFromNewType(k, sipType__TYPE1_, + sipTransferObj); + + if (!kobj) + { + delete k; + Py_DECREF(d); + + return 0; + } + + _TYPE2_ *v = new _TYPE2_(it.value()); + PyObject *vobj = sipConvertFromNewType(v, sipType__TYPE2_, + sipTransferObj); + + if (!vobj) + { + delete v; + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + + return 0; + } + + ++it; + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QHash<_TYPE1_, _TYPE2_> *qh = new QHash<_TYPE1_, _TYPE2_>; + + Py_ssize_t pos = 0; + PyObject *kobj, *vobj; + + while (PyDict_Next(sipPy, &pos, &kobj, &vobj)) + { + int kstate; + _TYPE1_ *k = reinterpret_cast<_TYPE1_ *>( + sipForceConvertToType(kobj, sipType__TYPE1_, sipTransferObj, + SIP_NOT_NONE, &kstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict key has type '%s' but '_TYPE1_' is expected", + sipPyTypeName(Py_TYPE(kobj))); + + delete qh; + + return 0; + } + + int vstate; + _TYPE2_ *v = reinterpret_cast<_TYPE2_ *>( + sipForceConvertToType(vobj, sipType__TYPE2_, sipTransferObj, + SIP_NOT_NONE, &vstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict value has type '%s' but '_TYPE2_' is expected", + sipPyTypeName(Py_TYPE(vobj))); + + sipReleaseType(k, sipType__TYPE1_, kstate); + delete qh; + + return 0; + } + + qh->insert(*k, *v); + + sipReleaseType(v, sipType__TYPE2_, vstate); + sipReleaseType(k, sipType__TYPE1_, kstate); + } + + *sipCppPtr = qh; + + return sipGetState(sipTransferObj); +%End +}; + + +%If (Qt_5_4_0 -) + +// This is only needed for QtWebChannel but is sufficiently generic that we +// include it here. + +template<_TYPE1_, _TYPE2_ *> +%MappedType QHash<_TYPE1_, _TYPE2_ *> + /TypeHint="Dict[_TYPE1_, _TYPE2_]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + int gc_enabled = sipEnableGC(0); + PyObject *d = PyDict_New(); + + if (d) + { + QHash<_TYPE1_, _TYPE2_ *>::const_iterator it = sipCpp->constBegin(); + QHash<_TYPE1_, _TYPE2_ *>::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + _TYPE1_ *k = new _TYPE1_(it.key()); + PyObject *kobj = sipConvertFromNewType(k, sipType__TYPE1_, + sipTransferObj); + + if (!kobj) + { + delete k; + Py_DECREF(d); + d = 0; + + break; + } + + _TYPE2_ *v = it.value(); + PyObject *vobj = sipConvertFromNewType(v, sipType__TYPE2_, + sipTransferObj); + + if (!vobj) + { + Py_DECREF(kobj); + Py_DECREF(d); + d = 0; + + break; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + d = 0; + + break; + } + + ++it; + } + } + + sipEnableGC(gc_enabled); + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QHash<_TYPE1_, _TYPE2_ *> *qh = new QHash<_TYPE1_, _TYPE2_ *>; + + Py_ssize_t pos = 0; + PyObject *kobj, *vobj; + + while (PyDict_Next(sipPy, &pos, &kobj, &vobj)) + { + int kstate; + _TYPE1_ *k = reinterpret_cast<_TYPE1_ *>( + sipForceConvertToType(kobj, sipType__TYPE1_, sipTransferObj, + SIP_NOT_NONE, &kstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict key has type '%s' but '_TYPE1_' is expected", + sipPyTypeName(Py_TYPE(kobj))); + + delete qh; + + return 0; + } + + _TYPE2_ *v = reinterpret_cast<_TYPE2_ *>( + sipForceConvertToType(vobj, sipType__TYPE2_, sipTransferObj, 0, + 0, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict value has type '%s' but '_TYPE2_' is expected", + sipPyTypeName(Py_TYPE(vobj))); + + sipReleaseType(k, sipType__TYPE1_, kstate); + delete qh; + + return 0; + } + + qh->insert(*k, v); + + sipReleaseType(k, sipType__TYPE1_, kstate); + } + + *sipCppPtr = qh; + + return sipGetState(sipTransferObj); +%End +}; + +%End + + +template +%MappedType QHash + /TypeHint="Dict[int, _TYPE_]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QHash::const_iterator it = sipCpp->constBegin(); + QHash::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + PyObject *kobj = SIPLong_FromLong(it.key()); + + if (!kobj) + { + Py_DECREF(d); + + return 0; + } + + _TYPE_ *v = new _TYPE_(it.value()); + PyObject *vobj = sipConvertFromNewType(v, sipType__TYPE_, + sipTransferObj); + + if (!vobj) + { + delete v; + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + + return 0; + } + + ++it; + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QHash *qh = new QHash; + + Py_ssize_t pos = 0; + PyObject *kobj, *vobj; + + while (PyDict_Next(sipPy, &pos, &kobj, &vobj)) + { + int k = sipLong_AsInt(kobj); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "a dict key has type '%s' but 'int' is expected", + sipPyTypeName(Py_TYPE(kobj))); + + delete qh; + *sipIsErr = 1; + + return 0; + } + + int vstate; + _TYPE_ *v = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(vobj, sipType__TYPE_, sipTransferObj, + SIP_NOT_NONE, &vstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict value has type '%s' but '_TYPE_' is expected", + sipPyTypeName(Py_TYPE(vobj))); + + delete qh; + + return 0; + } + + qh->insert(k, *v); + + sipReleaseType(v, sipType__TYPE_, vstate); + } + + *sipCppPtr = qh; + + return sipGetState(sipTransferObj); +%End +}; + + +%If (Qt_5_12_0 -) + +template +%MappedType QHash + /TypeHint="Dict[int, _TYPE_]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QHash::const_iterator it = sipCpp->constBegin(); + QHash::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + PyObject *kobj = SIPLong_FromLong(it.key()); + + if (!kobj) + { + Py_DECREF(d); + + return 0; + } + + _TYPE_ *v = new _TYPE_(it.value()); + PyObject *vobj = sipConvertFromNewType(v, sipType__TYPE_, + sipTransferObj); + + if (!vobj) + { + delete v; + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + + return 0; + } + + ++it; + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QHash *qh = new QHash; + + Py_ssize_t pos = 0; + PyObject *kobj, *vobj; + + while (PyDict_Next(sipPy, &pos, &kobj, &vobj)) + { + quint16 k = sipLong_AsUnsignedShort(kobj); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "a dict key has type '%s' but 'int' is expected", + sipPyTypeName(Py_TYPE(kobj))); + + delete qh; + *sipIsErr = 1; + + return 0; + } + + int vstate; + _TYPE_ *v = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(vobj, sipType__TYPE_, sipTransferObj, + SIP_NOT_NONE, &vstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict value has type '%s' but '_TYPE_' is expected", + sipPyTypeName(Py_TYPE(vobj))); + + delete qh; + + return 0; + } + + qh->insert(k, *v); + + sipReleaseType(v, sipType__TYPE_, vstate); + } + + *sipCppPtr = qh; + + return sipGetState(sipTransferObj); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qlist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qlist.sip new file mode 100644 index 00000000..e8437af2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qlist.sip @@ -0,0 +1,953 @@ +// This is the SIP interface definition for the majority of the QList based +// mapped types. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +// Note that when we test the type of an object to see if it can be converted +// to a collection we only check if it is iterable. We do not check the +// types of the contents - we assume we will be able to convert them when +// requested. This allows us to raise exceptions specific to an individual +// object. This approach doesn't work if there are overloads that can only be +// distinguished by the types of the template arguments. Currently there are +// no such cases in PyQt5. Note also that we don't consider strings to be +// iterables. + + +template<_TYPE_> +%MappedType QList<_TYPE_> + /TypeHintIn="Iterable[_TYPE_]", TypeHintOut="List[_TYPE_]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + _TYPE_ *t = new _TYPE_(sipCpp->at(i)); + PyObject *tobj = sipConvertFromNewType(t, sipType__TYPE_, + sipTransferObj); + + if (!tobj) + { + delete t; + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, tobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList<_TYPE_> *ql = new QList<_TYPE_>; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int state; + _TYPE_ *t = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(itm, sipType__TYPE_, sipTransferObj, + SIP_NOT_NONE, &state, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but '_TYPE_' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + + return 0; + } + + ql->append(*t); + + sipReleaseType(t, sipType__TYPE_, state); + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + + +template<_TYPE_> +%MappedType QList<_TYPE_ *> + /TypeHintIn="Iterable[_TYPE_]", TypeHintOut="List[_TYPE_]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + int gc_enabled = sipEnableGC(0); + PyObject *l = PyList_New(sipCpp->size()); + + if (l) + { + for (int i = 0; i < sipCpp->size(); ++i) + { + _TYPE_ *t = sipCpp->at(i); + + // The explicit (void *) cast allows _TYPE_ to be const. + PyObject *tobj = sipConvertFromType((void *)t, sipType__TYPE_, + sipTransferObj); + + if (!tobj) + { + Py_DECREF(l); + l = 0; + + break; + } + + PyList_SetItem(l, i, tobj); + } + } + + sipEnableGC(gc_enabled); + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList<_TYPE_ *> *ql = new QList<_TYPE_ *>; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + _TYPE_ *t = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(itm, sipType__TYPE_, sipTransferObj, 0, + 0, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but '_TYPE_' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + + return 0; + } + + ql->append(t); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + + +template<_TYPE1_, _TYPE2_> +%MappedType QList > + /TypeHintIn="Iterable[Tuple[_TYPE1_, _TYPE2_]]", + TypeHintOut="List[Tuple[_TYPE1_, _TYPE2_]]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + const QPair<_TYPE1_, _TYPE2_> &p = sipCpp->at(i); + _TYPE1_ *s1 = new _TYPE1_(p.first); + _TYPE2_ *s2 = new _TYPE2_(p.second); + PyObject *pobj = sipBuildResult(NULL, "(NN)", s1, sipType__TYPE1_, + sipTransferObj, s2, sipType__TYPE2_, sipTransferObj); + + if (!pobj) + { + delete s1; + delete s2; + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList > *ql = new QList >; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *seq = PyIter_Next(iter); + + if (!seq) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + Py_ssize_t sub_len; + + if (PySequence_Check(seq) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(seq) +#endif + && !PyUnicode_Check(seq)) + sub_len = PySequence_Size(seq); + else + sub_len = -1; + + if (sub_len != 2) + { + if (sub_len < 0) + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but a 2 element non-string sequence is expected", + i, sipPyTypeName(Py_TYPE(seq))); + else + PyErr_Format(PyExc_TypeError, + "index %zd is a sequence of %zd sub-elements but 2 sub-elements are expected", + i, sub_len); + + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + PyObject *itm1 = PySequence_GetItem(seq, 0); + + if (!itm1) + { + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + int state1; + _TYPE1_ *s1 = reinterpret_cast<_TYPE1_ *>( + sipForceConvertToType(itm1, sipType__TYPE1_, sipTransferObj, + SIP_NOT_NONE, &state1, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "the first sub-element of index %zd has type '%s' but '_TYPE1_' is expected", + i, sipPyTypeName(Py_TYPE(itm1))); + + Py_DECREF(itm1); + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + + return 0; + } + + PyObject *itm2 = PySequence_GetItem(seq, 1); + + if (!itm2) + { + sipReleaseType(s1, sipType__TYPE1_, state1); + Py_DECREF(itm1); + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + int state2; + _TYPE2_ *s2 = reinterpret_cast<_TYPE2_ *>( + sipForceConvertToType(itm2, sipType__TYPE2_, sipTransferObj, + SIP_NOT_NONE, &state2, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "the second sub-element of index %zd has type '%s' but '_TYPE2_' is expected", + i, sipPyTypeName(Py_TYPE(itm2))); + + Py_DECREF(itm2); + sipReleaseType(s1, sipType__TYPE1_, state1); + Py_DECREF(itm1); + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + + return 0; + } + + ql->append(QPair<_TYPE1_, _TYPE2_>(*s1, *s2)); + + sipReleaseType(s2, sipType__TYPE2_, state2); + Py_DECREF(itm2); + sipReleaseType(s1, sipType__TYPE1_, state1); + Py_DECREF(itm1); + Py_DECREF(seq); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + + +%If (Qt_5_1_0 -) + +%MappedType QList > + /TypeHintIn="Iterable[Tuple[int, int]]", + TypeHintOut="List[Tuple[int, int]]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + const QPair &p = sipCpp->at(i); + PyObject *pobj = Py_BuildValue((char *)"ii", p.first, p.second); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList > *ql = new QList >; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *seq = PyIter_Next(iter); + + if (!seq) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + Py_ssize_t sub_len; + + if (PySequence_Check(seq) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(seq) +#endif + && !PyUnicode_Check(seq)) + sub_len = PySequence_Size(seq); + else + sub_len = -1; + + if (sub_len != 2) + { + if (sub_len < 0) + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but a 2 element non-string sequence is expected", + i, sipPyTypeName(Py_TYPE(seq))); + else + PyErr_Format(PyExc_TypeError, + "index %zd is a sequence of %zd sub-elements but 2 sub-elements are expected", + i, sub_len); + + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + PyObject *itm1 = PySequence_GetItem(seq, 0); + + if (!itm1) + { + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + int first = sipLong_AsInt(itm1); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "the first sub-element of index %zd has type '%s' but 'int' is expected", + i, sipPyTypeName(Py_TYPE(itm1))); + + Py_DECREF(itm1); + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + PyObject *itm2 = PySequence_GetItem(seq, 1); + + if (!itm2) + { + Py_DECREF(itm1); + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + int second = sipLong_AsInt(itm2); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "the second sub-element of index %zd has type '%s' but 'int' is expected", + i, sipPyTypeName(Py_TYPE(itm2))); + + Py_DECREF(itm2); + Py_DECREF(itm1); + Py_DECREF(seq); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(QPair(first, second)); + + Py_DECREF(itm2); + Py_DECREF(itm1); + Py_DECREF(seq); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + +%End + + +%MappedType QList + /TypeHintIn="Iterable[int]", TypeHintOut="List[int]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *pobj = SIPLong_FromLong(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int val = sipLong_AsInt(itm); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + + +%MappedType QList + /TypeHintIn="Iterable[float]", TypeHintOut="List[float]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *pobj = PyFloat_FromDouble(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + PyErr_Clear(); + double val = PyFloat_AsDouble(itm); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'float' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + + +%MappedType QList + /TypeHintIn="Iterable[Qt.DayOfWeek]", TypeHintOut="List[Qt.DayOfWeek]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_Qt_DayOfWeek); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_Qt_DayOfWeek); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'Qt.DayOfWeek' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qmap.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qmap.sip new file mode 100644 index 00000000..ccff1310 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qmap.sip @@ -0,0 +1,354 @@ +// This is the SIP interface definition for the majority of the QMap and +// QMultiMap based mapped types. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +template<_TYPE1_, _TYPE2_> +%MappedType QMap<_TYPE1_, _TYPE2_> + /TypeHint="Dict[_TYPE1_, _TYPE2_]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QMap<_TYPE1_, _TYPE2_>::const_iterator it = sipCpp->constBegin(); + QMap<_TYPE1_, _TYPE2_>::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + _TYPE1_ *k = new _TYPE1_(it.key()); + PyObject *kobj = sipConvertFromNewType(k, sipType__TYPE1_, + sipTransferObj); + + if (!kobj) + { + delete k; + Py_DECREF(d); + + return 0; + } + + _TYPE2_ *v = new _TYPE2_(it.value()); + PyObject *vobj = sipConvertFromNewType(v, sipType__TYPE2_, + sipTransferObj); + + if (!vobj) + { + delete v; + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + + return 0; + } + + ++it; + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QMap<_TYPE1_, _TYPE2_> *qm = new QMap<_TYPE1_, _TYPE2_>; + + Py_ssize_t pos = 0; + PyObject *kobj, *vobj; + + while (PyDict_Next(sipPy, &pos, &kobj, &vobj)) + { + int kstate; + _TYPE1_ *k = reinterpret_cast<_TYPE1_ *>( + sipForceConvertToType(kobj, sipType__TYPE1_, sipTransferObj, + SIP_NOT_NONE, &kstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict key has type '%s' but '_TYPE1_' is expected", + sipPyTypeName(Py_TYPE(kobj))); + + delete qm; + + return 0; + } + + int vstate; + _TYPE2_ *v = reinterpret_cast<_TYPE2_ *>( + sipForceConvertToType(vobj, sipType__TYPE2_, sipTransferObj, + SIP_NOT_NONE, &vstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict value has type '%s' but '_TYPE2_' is expected", + sipPyTypeName(Py_TYPE(vobj))); + + sipReleaseType(k, sipType__TYPE1_, kstate); + delete qm; + + return 0; + } + + qm->insert(*k, *v); + + sipReleaseType(v, sipType__TYPE2_, vstate); + sipReleaseType(k, sipType__TYPE1_, kstate); + } + + *sipCppPtr = qm; + + return sipGetState(sipTransferObj); +%End +}; + + +template +%MappedType QMap + /TypeHint="Dict[int, _TYPE_]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QMap::const_iterator it = sipCpp->constBegin(); + QMap::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + PyObject *kobj = SIPLong_FromLong(it.key()); + + if (!kobj) + { + Py_DECREF(d); + + return 0; + } + + _TYPE_ *v = new _TYPE_(it.value()); + PyObject *vobj = sipConvertFromNewType(v, sipType__TYPE_, + sipTransferObj); + + if (!vobj) + { + delete v; + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + + return 0; + } + + ++it; + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QMap *qm = new QMap; + + Py_ssize_t pos = 0; + PyObject *kobj, *vobj; + + while (PyDict_Next(sipPy, &pos, &kobj, &vobj)) + { + int k = sipLong_AsInt(kobj); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "a dict key has type '%s' but 'int' is expected", + sipPyTypeName(Py_TYPE(kobj))); + + delete qm; + *sipIsErr = 1; + + return 0; + } + + int vstate; + _TYPE_ *v = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(vobj, sipType__TYPE_, sipTransferObj, + SIP_NOT_NONE, &vstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "a dict value has type '%s' but '_TYPE_' is expected", + sipPyTypeName(Py_TYPE(vobj))); + + delete qm; + + return 0; + } + + qm->insert(k, *v); + + sipReleaseType(v, sipType__TYPE_, vstate); + } + + *sipCppPtr = qm; + + return sipGetState(sipTransferObj); +%End +}; + + +template<_TYPE1_, _TYPE2_> +%MappedType QMultiMap<_TYPE1_, _TYPE2_> + /TypeHintOut="Dict[_TYPE1_, List[_TYPE2_]]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QList<_TYPE1_> keys = sipCpp->keys(); + QList<_TYPE1_>::const_iterator kit = keys.constBegin(); + QList<_TYPE1_>::const_iterator kit_end = keys.constEnd(); + + while (kit != kit_end) + { + _TYPE1_ *k = new _TYPE1_(*kit); + PyObject *kobj = sipConvertFromNewType(k, sipType__TYPE1_, + sipTransferObj); + + if (!kobj) + { + delete k; + Py_DECREF(d); + + return 0; + } + + // Create a Python list as the dictionary value. + QList<_TYPE2_> values = sipCpp->values(*kit); + PyObject *vobj = PyList_New(values.count()); + + if (!vobj) + { + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + QList<_TYPE2_>::const_iterator vit = values.constBegin(); + QList<_TYPE2_>::const_iterator vit_end = values.constEnd(); + + for (int i = 0; vit != vit_end; ++i) + { + _TYPE2_ *sv = new _TYPE2_(*vit); + PyObject *svobj = sipConvertFromNewType(sv, sipType__TYPE2_, + sipTransferObj); + + if (!svobj) + { + delete sv; + Py_DECREF(vobj); + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + PyList_SetItem(vobj, i, svobj); + + ++vit; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + + return 0; + } + + ++kit; + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + // Note that PyQt v5.1 contains an unused implementation that can be + // restored if needed (although it will need updating to accept an iterable + // rather than just a list of values). + PyErr_SetString(PyExc_NotImplementedError, + "converting to QMultiMap<_TYPE1_, _TYPE2_> is unsupported"); + + *sipIsErr = 1; + + return 0; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qpair.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qpair.sip new file mode 100644 index 00000000..a97c1035 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qpair.sip @@ -0,0 +1,337 @@ +// This is the SIP interface definition for the majority of the QPair based +// mapped types. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_10_0 -) + +template<_TYPE1_, _TYPE2_> +%MappedType QPair<_TYPE1_, _TYPE2_> /TypeHint="Tuple[_TYPE1_, _TYPE2_]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + _TYPE1_ *first = new _TYPE1_(sipCpp->first); + _TYPE2_ *second = new _TYPE2_(sipCpp->second); + PyObject *t = sipBuildResult(NULL, "(NN)", first, sipType__TYPE1_, + sipTransferObj, second, sipType__TYPE2_, sipTransferObj); + + if (!t) + { + delete first; + delete second; + + return 0; + } + + return t; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return (PySequence_Check(sipPy) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + + Py_ssize_t len = PySequence_Size(sipPy); + + if (len != 2) + { + // A negative length should only be an internal error so let the + // original exception stand. + if (len >= 0) + PyErr_Format(PyExc_TypeError, + "sequence has %zd elements but 2 elements are expected", + len); + + *sipIsErr = 1; + + return 0; + } + + PyObject *firstobj = PySequence_GetItem(sipPy, 0); + + if (!firstobj) + { + *sipIsErr = 1; + + return 0; + } + + int firststate; + _TYPE1_ *first = reinterpret_cast<_TYPE1_ *>( + sipForceConvertToType(firstobj, sipType__TYPE1_, sipTransferObj, + SIP_NOT_NONE, &firststate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "the first element has type '%s' but '_TYPE1_' is expected", + sipPyTypeName(Py_TYPE(firstobj))); + + return 0; + } + + PyObject *secondobj = PySequence_GetItem(sipPy, 1); + + if (!secondobj) + { + sipReleaseType(first, sipType__TYPE1_, firststate); + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + int secondstate; + _TYPE2_ *second = reinterpret_cast<_TYPE2_ *>( + sipForceConvertToType(secondobj, sipType__TYPE2_, sipTransferObj, + SIP_NOT_NONE, &secondstate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "the second element has type '%s' but '_TYPE2_' is expected", + sipPyTypeName(Py_TYPE(secondobj))); + + Py_DECREF(secondobj); + sipReleaseType(first, sipType__TYPE1_, firststate); + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + *sipCppPtr = new QPair<_TYPE1_, _TYPE2_>(*first, *second); + + sipReleaseType(second, sipType__TYPE2_, secondstate); + Py_DECREF(secondobj); + sipReleaseType(first, sipType__TYPE1_, firststate); + Py_DECREF(firstobj); + + return sipGetState(sipTransferObj); +%End +}; + +%End + + +template<_TYPE_> +%MappedType QPair<_TYPE_, int> /TypeHint="Tuple[_TYPE_, int]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + _TYPE_ *first = new _TYPE_(sipCpp->first); + PyObject *t = sipBuildResult(NULL, "(Ni)", first, sipType__TYPE_, + sipTransferObj, sipCpp->second); + + if (!t) + { + delete first; + + return 0; + } + + return t; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return (PySequence_Check(sipPy) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + + Py_ssize_t len = PySequence_Size(sipPy); + + if (len != 2) + { + // A negative length should only be an internal error so let the + // original exception stand. + if (len >= 0) + PyErr_Format(PyExc_TypeError, + "sequence has %zd elements but 2 elements are expected", + len); + + *sipIsErr = 1; + + return 0; + } + + PyObject *firstobj = PySequence_GetItem(sipPy, 0); + + if (!firstobj) + { + *sipIsErr = 1; + + return 0; + } + + int firststate; + _TYPE_ *first = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(firstobj, sipType__TYPE_, sipTransferObj, + SIP_NOT_NONE, &firststate, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "the first element has type '%s' but '_TYPE_' is expected", + sipPyTypeName(Py_TYPE(firstobj))); + + return 0; + } + + PyObject *secondobj = PySequence_GetItem(sipPy, 1); + + if (!secondobj) + { + sipReleaseType(first, sipType__TYPE_, firststate); + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + int second = sipLong_AsInt(secondobj); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "the second element has type '%s' but 'int' is expected", + sipPyTypeName(Py_TYPE(secondobj))); + + Py_DECREF(secondobj); + sipReleaseType(first, sipType__TYPE_, firststate); + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + *sipCppPtr = new QPair<_TYPE_, int>(*first, second); + + Py_DECREF(secondobj); + sipReleaseType(first, sipType__TYPE_, firststate); + Py_DECREF(firstobj); + + return sipGetState(sipTransferObj); +%End +}; + + +%MappedType QPair /TypeHint="Tuple[int, int]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + return Py_BuildValue("(ii)", sipCpp->first, sipCpp->second); +%End + +%ConvertToTypeCode + if (!sipIsErr) + return (PySequence_Check(sipPy) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + + Py_ssize_t len = PySequence_Size(sipPy); + + if (len != 2) + { + // A negative length should only be an internal error so let the + // original exception stand. + if (len >= 0) + PyErr_Format(PyExc_TypeError, + "sequence has %zd elements but 2 elements are expected", + len); + + *sipIsErr = 1; + + return 0; + } + + PyObject *firstobj = PySequence_GetItem(sipPy, 0); + + if (!firstobj) + { + *sipIsErr = 1; + + return 0; + } + + int first = sipLong_AsInt(firstobj); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "the first element has type '%s' but 'int' is expected", + sipPyTypeName(Py_TYPE(firstobj))); + + *sipIsErr = 1; + + return 0; + } + + PyObject *secondobj = PySequence_GetItem(sipPy, 1); + + if (!secondobj) + { + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + int second = sipLong_AsInt(secondobj); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "the second element has type '%s' but 'int' is expected", + sipPyTypeName(Py_TYPE(secondobj))); + + Py_DECREF(secondobj); + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + *sipCppPtr = new QPair(first, second); + + Py_DECREF(secondobj); + Py_DECREF(firstobj); + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qset.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qset.sip new file mode 100644 index 00000000..a928f339 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qset.sip @@ -0,0 +1,252 @@ +// This is the SIP interface definition for the majority of the QSet based +// mapped types. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +template<_TYPE_> +%MappedType QSet<_TYPE_> + /TypeHintIn="Iterable[_TYPE_]", TypeHintOut="Set[_TYPE_]", + TypeHintValue="set()"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *s = PySet_New(0); + + if (!s) + return 0; + + QSet<_TYPE_>::const_iterator it = sipCpp->constBegin(); + QSet<_TYPE_>::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + _TYPE_ *t = new _TYPE_(*it); + PyObject *tobj = sipConvertFromNewType(t, sipType__TYPE_, + sipTransferObj); + + if (!tobj) + { + delete t; + Py_DECREF(s); + + return 0; + } + + PySet_Add(s, tobj); + + ++it; + } + + return s; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QSet<_TYPE_> *qs = new QSet<_TYPE_>; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qs; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int state; + _TYPE_ *t = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(itm, sipType__TYPE_, sipTransferObj, + SIP_NOT_NONE, &state, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but '_TYPE_' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qs; + Py_DECREF(iter); + + return 0; + } + + qs->insert(*t); + + sipReleaseType(t, sipType__TYPE_, state); + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qs; + + return sipGetState(sipTransferObj); +%End +}; + + +template<_TYPE_> +%MappedType QSet<_TYPE_ *> + /TypeHintIn="Iterable[_TYPE_]", TypeHintOut="Set[_TYPE_]", + TypeHintValue="set()"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + int gc_enabled = sipEnableGC(0); + PyObject *s = PySet_New(0); + + if (s) + { + QSet<_TYPE_ *>::const_iterator it = sipCpp->constBegin(); + QSet<_TYPE_ *>::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + // The explicit (void *) cast allows _TYPE_ to be const. + PyObject *tobj = sipConvertFromType((void *)*it, sipType__TYPE_, + sipTransferObj); + + if (!tobj) + { + Py_DECREF(s); + s = 0; + + break; + } + + PySet_Add(s, tobj); + + ++it; + } + } + + sipEnableGC(gc_enabled); + + return s; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QSet<_TYPE_ *> *qs = new QSet<_TYPE_ *>; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qs; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + _TYPE_ *t = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(itm, sipType__TYPE_, sipTransferObj, 0, + 0, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but '_TYPE_' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qs; + Py_DECREF(iter); + + return 0; + } + + qs->insert(t); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qs; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qvariantmap.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qvariantmap.sip new file mode 100644 index 00000000..4961987b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qvariantmap.sip @@ -0,0 +1,47 @@ +// This is the SIP interface definition for QVariantMap. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QVariantMap /TypeHint="Dict[str, Any]", TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + return qpycore_fromQVariantMap(*sipCpp); +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QVariantMap *qvm = new QVariantMap; + + if (!qpycore_toQVariantMap(sipPy, *qvm)) + { + delete qvm; + return 0; + } + + *sipCppPtr = qvm; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qvector.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qvector.sip new file mode 100644 index 00000000..b191bbc4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_qvector.sip @@ -0,0 +1,648 @@ +// This is the SIP interface definition for the majority of the QVector based +// mapped types. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +template<_TYPE_> +%MappedType QVector<_TYPE_> + /TypeHintIn="Iterable[_TYPE_]", TypeHintOut="List[_TYPE_]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + _TYPE_ *t = new _TYPE_(sipCpp->at(i)); + PyObject *tobj = sipConvertFromNewType(t, sipType__TYPE_, + sipTransferObj); + + if (!tobj) + { + delete t; + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, tobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector<_TYPE_> *qv = new QVector<_TYPE_>; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int state; + _TYPE_ *t = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(itm, sipType__TYPE_, sipTransferObj, + SIP_NOT_NONE, &state, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but '_TYPE_' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + + return 0; + } + + qv->append(*t); + + sipReleaseType(t, sipType__TYPE_, state); + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + + +template<_TYPE_> +%MappedType QVector<_TYPE_ *> + /TypeHintIn="Iterable[_TYPE_]", TypeHintOut="List[_TYPE_]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + int gc_enabled = sipEnableGC(0); + PyObject *l = PyList_New(sipCpp->size()); + + if (l) + { + for (int i = 0; i < sipCpp->size(); ++i) + { + _TYPE_ *t = sipCpp->at(i); + + // The explicit (void *) cast allows _TYPE_ to be const. + PyObject *tobj = sipConvertFromNewType((void *)t, sipType__TYPE_, + sipTransferObj); + + if (!tobj) + { + Py_DECREF(l); + l = 0; + + break; + } + + PyList_SetItem(l, i, tobj); + } + } + + sipEnableGC(gc_enabled); + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector<_TYPE_ *> *qv = new QVector<_TYPE_ *>; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + _TYPE_ *t = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(itm, sipType__TYPE_, sipTransferObj, 0, + 0, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but '_TYPE_' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + + return 0; + } + + qv->append(t); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + + +template +%MappedType QVector > + /TypeHintIn="Iterable[Tuple[float, _TYPE_]]", + TypeHintOut="List[Tuple[float, _TYPE_]]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + const QPair &p = sipCpp->at(i); + _TYPE_ *s2 = new _TYPE_(p.second); + PyObject *pobj = sipBuildResult(NULL, "(dN)", (double)p.first, s2, + sipType__TYPE_, sipTransferObj); + + if (!pobj) + { + delete s2; + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector > *qv = new QVector >; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *seq = PyIter_Next(iter); + + if (!seq) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + Py_ssize_t sub_len; + + if (PySequence_Check(seq) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(seq) +#endif + && !PyUnicode_Check(seq)) + sub_len = PySequence_Size(seq); + else + sub_len = -1; + + if (sub_len != 2) + { + if (sub_len < 0) + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but a 2 element non-string sequence is expected", + i, sipPyTypeName(Py_TYPE(seq))); + else + PyErr_Format(PyExc_TypeError, + "index %zd is a sequence of %zd sub-elements but 2 sub-elements are expected", + i, sub_len); + + Py_DECREF(seq); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + PyObject *itm1 = PySequence_GetItem(seq, 0); + + if (!itm1) + { + Py_DECREF(seq); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + PyErr_Clear(); + qreal s1 = PyFloat_AsDouble(itm1); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "the first sub-element of index %zd has type '%s' but 'float' is expected", + i, sipPyTypeName(Py_TYPE(itm1))); + + Py_DECREF(itm1); + Py_DECREF(seq); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + PyObject *itm2 = PySequence_GetItem(seq, 1); + + if (!itm2) + { + Py_DECREF(itm1); + Py_DECREF(seq); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + int state2; + _TYPE_ *s2 = reinterpret_cast<_TYPE_ *>( + sipForceConvertToType(itm2, sipType__TYPE_, sipTransferObj, + SIP_NOT_NONE, &state2, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "the second sub-element of index %zd has type '%s' but '_TYPE_' is expected", + i, sipPyTypeName(Py_TYPE(itm2))); + + Py_DECREF(itm2); + Py_DECREF(itm1); + Py_DECREF(seq); + delete qv; + Py_DECREF(iter); + + return 0; + } + + qv->append(QPair(s1, *s2)); + + sipReleaseType(s2, sipType__TYPE_, state2); + Py_DECREF(itm2); + Py_DECREF(itm1); + Py_DECREF(seq); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + + +%MappedType QVector + /TypeHintIn="Iterable[int]", TypeHintOut="List[int]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *pobj = SIPLong_FromLong(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector *qv = new QVector; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int val = sipLong_AsInt(itm); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + qv->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + + +%If (Qt_5_12_0 -) + +%MappedType QVector + /TypeHintIn="Iterable[int]", TypeHintOut="List[int]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *pobj = SIPLong_FromLong(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector *qv = new QVector; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + quint16 val = sipLong_AsUnsignedShort(itm); + + if (PyErr_Occurred()) + { + if (PyErr_ExceptionMatches(PyExc_TypeError)) + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + qv->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_virtual_error_handler.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_virtual_error_handler.sip new file mode 100644 index 00000000..adcac504 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qpycore_virtual_error_handler.sip @@ -0,0 +1,23 @@ +// This is the implementation of the PyQt-specific virtual error handler. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%VirtualErrorHandler PyQt5 + pyqt5_err_print(); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrandom.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrandom.sip new file mode 100644 index 00000000..b13b637e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrandom.sip @@ -0,0 +1,57 @@ +// qrandom.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_10_0 -) + +class QRandomGenerator +{ +%TypeHeaderCode +#include +%End + +public: + QRandomGenerator(quint32 seed = 1); + QRandomGenerator(const QRandomGenerator &other); + quint32 generate(); + quint64 generate64(); + double generateDouble(); + double bounded(double highest /Constrained/); + quint32 bounded(quint32 highest); + int bounded(int lowest, int highest); + typedef quint32 result_type; + QRandomGenerator::result_type operator()(); + void seed(quint32 seed = 1); + void discard(unsigned long long z); + static QRandomGenerator::result_type min(); + static QRandomGenerator::result_type max(); + static QRandomGenerator *system(); + static QRandomGenerator *global() /PyName=global_/; + static QRandomGenerator securelySeeded(); +}; + +%End +%If (Qt_5_10_0 -) +bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2); +%End +%If (Qt_5_10_0 -) +bool operator!=(const QRandomGenerator &rng1, const QRandomGenerator &rng2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qreadwritelock.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qreadwritelock.sip new file mode 100644 index 00000000..8c8b40e0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qreadwritelock.sip @@ -0,0 +1,104 @@ +// qreadwritelock.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QReadWriteLock +{ +%TypeHeaderCode +#include +%End + +public: + enum RecursionMode + { + NonRecursive, + Recursive, + }; + + explicit QReadWriteLock(QReadWriteLock::RecursionMode recursionMode = QReadWriteLock::NonRecursive); + ~QReadWriteLock(); + void lockForRead() /ReleaseGIL/; + bool tryLockForRead(); + bool tryLockForRead(int timeout) /ReleaseGIL/; + void lockForWrite() /ReleaseGIL/; + bool tryLockForWrite(); + bool tryLockForWrite(int timeout) /ReleaseGIL/; + void unlock(); + +private: + QReadWriteLock(const QReadWriteLock &); +}; + +class QReadLocker +{ +%TypeHeaderCode +#include +%End + +public: + QReadLocker(QReadWriteLock *areadWriteLock) /ReleaseGIL/; + ~QReadLocker(); + void unlock(); + void relock() /ReleaseGIL/; + QReadWriteLock *readWriteLock() const; + SIP_PYOBJECT __enter__(); +%MethodCode + // Just return a reference to self. + sipRes = sipSelf; + Py_INCREF(sipRes); +%End + + void __exit__(SIP_PYOBJECT type, SIP_PYOBJECT value, SIP_PYOBJECT traceback); +%MethodCode + sipCpp->unlock(); +%End + +private: + QReadLocker(const QReadLocker &); +}; + +class QWriteLocker +{ +%TypeHeaderCode +#include +%End + +public: + QWriteLocker(QReadWriteLock *areadWriteLock) /ReleaseGIL/; + ~QWriteLocker(); + void unlock(); + void relock() /ReleaseGIL/; + QReadWriteLock *readWriteLock() const; + SIP_PYOBJECT __enter__(); +%MethodCode + // Just return a reference to self. + sipRes = sipSelf; + Py_INCREF(sipRes); +%End + + void __exit__(SIP_PYOBJECT type, SIP_PYOBJECT value, SIP_PYOBJECT traceback); +%MethodCode + sipCpp->unlock(); +%End + +private: + QWriteLocker(const QWriteLocker &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrect.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrect.sip new file mode 100644 index 00000000..4647176d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrect.sip @@ -0,0 +1,336 @@ +// qrect.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRect +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"iiii", sipCpp->x(), sipCpp->y(), sipCpp->width(), sipCpp->height()); +%End + +public: + QRect(); + QRect normalized() const; + void moveCenter(const QPoint &p); + QRect operator|(const QRect &r) const; + QRect operator&(const QRect &r) const; + bool contains(const QPoint &point, bool proper = false) const; + int __contains__(const QPoint &p) const; +%MethodCode + sipRes = sipCpp->contains(*a0); +%End + + bool contains(const QRect &rectangle, bool proper = false) const; + int __contains__(const QRect &r) const; +%MethodCode + sipRes = sipCpp->contains(*a0); +%End + + bool intersects(const QRect &r) const; + QRect(int aleft, int atop, int awidth, int aheight); + QRect(const QPoint &atopLeft, const QPoint &abottomRight); + QRect(const QPoint &atopLeft, const QSize &asize); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QRect()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QRect()"); + #endif + } + else + { + sipRes = + #if PY_MAJOR_VERSION >= 3 + PyUnicode_FromFormat + #else + PyString_FromFormat + #endif + ("PyQt5.QtCore.QRect(%i, %i, %i, %i)", sipCpp->left(), + sipCpp->top(), sipCpp->width(), sipCpp->height()); + } +%End + + bool isNull() const; + bool isEmpty() const; + bool isValid() const; + int __bool__() const; +%MethodCode + sipRes = sipCpp->isValid(); +%End + + int left() const; + int top() const; + int right() const; + int bottom() const; + int x() const; + int y() const; + void setLeft(int pos); + void setTop(int pos); + void setRight(int pos); + void setBottom(int pos); + void setTopLeft(const QPoint &p); + void setBottomRight(const QPoint &p); + void setTopRight(const QPoint &p); + void setBottomLeft(const QPoint &p); + void setX(int ax); + void setY(int ay); + QPoint topLeft() const; + QPoint bottomRight() const; + QPoint topRight() const; + QPoint bottomLeft() const; + QPoint center() const; + int width() const; + int height() const; + QSize size() const; + void translate(int dx, int dy); + void translate(const QPoint &p); + QRect translated(int dx, int dy) const; + QRect translated(const QPoint &p) const; + void moveTo(int ax, int ay); + void moveTo(const QPoint &p); + void moveLeft(int pos); + void moveTop(int pos); + void moveRight(int pos); + void moveBottom(int pos); + void moveTopLeft(const QPoint &p); + void moveBottomRight(const QPoint &p); + void moveTopRight(const QPoint &p); + void moveBottomLeft(const QPoint &p); + void getRect(int *ax, int *ay, int *aw, int *ah) const; + void setRect(int ax, int ay, int aw, int ah); + void getCoords(int *xp1, int *yp1, int *xp2, int *yp2) const; + void setCoords(int xp1, int yp1, int xp2, int yp2); + QRect adjusted(int xp1, int yp1, int xp2, int yp2) const; + void adjust(int dx1, int dy1, int dx2, int dy2); + void setWidth(int w); + void setHeight(int h); + void setSize(const QSize &s); + bool contains(int ax, int ay, bool aproper) const; + bool contains(int ax, int ay) const; + QRect &operator|=(const QRect &r); + QRect &operator&=(const QRect &r); + QRect intersected(const QRect &other) const; + QRect united(const QRect &r) const; +%If (Qt_5_1_0 -) + QRect marginsAdded(const QMargins &margins) const; +%End +%If (Qt_5_1_0 -) + QRect marginsRemoved(const QMargins &margins) const; +%End +%If (Qt_5_1_0 -) + QRect &operator+=(const QMargins &margins); +%End +%If (Qt_5_1_0 -) + QRect &operator-=(const QMargins &margins); +%End +%If (Qt_5_7_0 -) + QRect transposed() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QRect & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QRect & /Constrained/) /ReleaseGIL/; +bool operator==(const QRect &r1, const QRect &r2); +bool operator!=(const QRect &r1, const QRect &r2); + +class QRectF +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"dddd", sipCpp->x(), sipCpp->y(), sipCpp->width(), sipCpp->height()); +%End + +public: + QRectF(); + QRectF(const QPointF &atopLeft, const QSizeF &asize); + QRectF(const QPointF &atopLeft, const QPointF &abottomRight); + QRectF(qreal aleft, qreal atop, qreal awidth, qreal aheight); + QRectF(const QRect &r); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QRectF()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QRectF()"); + #endif + } + else + { + PyObject *l = PyFloat_FromDouble(sipCpp->left()); + PyObject *t = PyFloat_FromDouble(sipCpp->top()); + PyObject *w = PyFloat_FromDouble(sipCpp->width()); + PyObject *h = PyFloat_FromDouble(sipCpp->height()); + + if (l && t && w && h) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QRectF(%R, %R, %R, %R)", l, + t, w, h); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QRectF("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(l)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(t)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(w)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(h)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + Py_XDECREF(l); + Py_XDECREF(t); + Py_XDECREF(w); + Py_XDECREF(h); + } +%End + + QRectF normalized() const; + qreal left() const; + qreal top() const; + qreal right() const; + qreal bottom() const; + void setX(qreal pos); + void setY(qreal pos); + QPointF topLeft() const; + QPointF bottomRight() const; + QPointF topRight() const; + QPointF bottomLeft() const; + QRectF operator|(const QRectF &r) const; + QRectF operator&(const QRectF &r) const; + bool contains(const QPointF &p) const; + int __contains__(const QPointF &p) const; +%MethodCode + sipRes = sipCpp->contains(*a0); +%End + + bool contains(const QRectF &r) const; + int __contains__(const QRectF &r) const; +%MethodCode + sipRes = sipCpp->contains(*a0); +%End + + bool intersects(const QRectF &r) const; + bool isNull() const; + bool isEmpty() const; + bool isValid() const; + int __bool__() const; +%MethodCode + sipRes = sipCpp->isValid(); +%End + + qreal x() const; + qreal y() const; + void setLeft(qreal pos); + void setRight(qreal pos); + void setTop(qreal pos); + void setBottom(qreal pos); + void setTopLeft(const QPointF &p); + void setTopRight(const QPointF &p); + void setBottomLeft(const QPointF &p); + void setBottomRight(const QPointF &p); + QPointF center() const; + void moveLeft(qreal pos); + void moveTop(qreal pos); + void moveRight(qreal pos); + void moveBottom(qreal pos); + void moveTopLeft(const QPointF &p); + void moveTopRight(const QPointF &p); + void moveBottomLeft(const QPointF &p); + void moveBottomRight(const QPointF &p); + void moveCenter(const QPointF &p); + qreal width() const; + qreal height() const; + QSizeF size() const; + void translate(qreal dx, qreal dy); + void translate(const QPointF &p); + void moveTo(qreal ax, qreal ay); + void moveTo(const QPointF &p); + QRectF translated(qreal dx, qreal dy) const; + QRectF translated(const QPointF &p) const; + void getRect(qreal *ax, qreal *ay, qreal *aaw, qreal *aah) const; + void setRect(qreal ax, qreal ay, qreal aaw, qreal aah); + void getCoords(qreal *xp1, qreal *yp1, qreal *xp2, qreal *yp2) const; + void setCoords(qreal xp1, qreal yp1, qreal xp2, qreal yp2); + void adjust(qreal xp1, qreal yp1, qreal xp2, qreal yp2); + QRectF adjusted(qreal xp1, qreal yp1, qreal xp2, qreal yp2) const; + void setWidth(qreal aw); + void setHeight(qreal ah); + void setSize(const QSizeF &s); + bool contains(qreal ax, qreal ay) const; + QRectF &operator|=(const QRectF &r); + QRectF &operator&=(const QRectF &r); + QRectF intersected(const QRectF &r) const; + QRectF united(const QRectF &r) const; + QRect toAlignedRect() const; + QRect toRect() const; +%If (Qt_5_3_0 -) + QRectF marginsAdded(const QMarginsF &margins) const; +%End +%If (Qt_5_3_0 -) + QRectF marginsRemoved(const QMarginsF &margins) const; +%End +%If (Qt_5_3_0 -) + QRectF &operator+=(const QMarginsF &margins); +%End +%If (Qt_5_3_0 -) + QRectF &operator-=(const QMarginsF &margins); +%End +%If (Qt_5_7_0 -) + QRectF transposed() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QRectF & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QRectF & /Constrained/) /ReleaseGIL/; +bool operator==(const QRectF &r1, const QRectF &r2); +bool operator!=(const QRectF &r1, const QRectF &r2); +%If (Qt_5_3_0 -) +QRect operator+(const QRect &rectangle, const QMargins &margins); +%End +%If (Qt_5_3_0 -) +QRect operator+(const QMargins &margins, const QRect &rectangle); +%End +%If (Qt_5_3_0 -) +QRect operator-(const QRect &lhs, const QMargins &rhs); +%End +%If (Qt_5_3_0 -) +QRectF operator+(const QRectF &lhs, const QMarginsF &rhs); +%End +%If (Qt_5_3_0 -) +QRectF operator+(const QMarginsF &lhs, const QRectF &rhs); +%End +%If (Qt_5_3_0 -) +QRectF operator-(const QRectF &lhs, const QMarginsF &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qregexp.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qregexp.sip new file mode 100644 index 00000000..5ce1a953 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qregexp.sip @@ -0,0 +1,137 @@ +// qregexp.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRegExp +{ +%TypeHeaderCode +#include +%End + +public: + enum PatternSyntax + { + RegExp, + RegExp2, + Wildcard, + FixedString, + WildcardUnix, + W3CXmlSchema11, + }; + + enum CaretMode + { + CaretAtZero, + CaretAtOffset, + CaretWontMatch, + }; + + QRegExp(); + QRegExp(const QString &pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive, QRegExp::PatternSyntax syntax = QRegExp::RegExp); + QRegExp(const QRegExp &rx); + ~QRegExp(); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + PyObject *uni = qpycore_PyObject_FromQString(sipCpp->pattern()); + + if (uni) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QRegExp(%R", uni); + + if (sipCpp->caseSensitivity() != Qt::CaseSensitive || + sipCpp->patternSyntax() != QRegExp::RegExp) + { + qpycore_Unicode_ConcatAndDel(&sipRes, + PyUnicode_FromFormat(", PyQt5.QtCore.Qt.CaseSensitivity(%i)", + (int)sipCpp->caseSensitivity())); + + if (sipCpp->patternSyntax() != QRegExp::RegExp) + qpycore_Unicode_ConcatAndDel(&sipRes, + PyUnicode_FromFormat( + ", PyQt5.QtCore.QRegExp.PatternSyntax(%i)", + (int)sipCpp->patternSyntax())); + } + + qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")")); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QRegExp("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni)); + + if (sipCpp->caseSensitivity() != Qt::CaseSensitive || + sipCpp->patternSyntax() != QRegExp::RegExp) + { + PyString_ConcatAndDel(&sipRes, + PyString_FromFormat(", PyQt5.QtCore.Qt.CaseSensitivity(%i)", + (int)sipCpp->caseSensitivity())); + + if (sipCpp->patternSyntax() != QRegExp::RegExp) + PyString_ConcatAndDel(&sipRes, + PyString_FromFormat( + ", PyQt5.QtCore.QRegExp.PatternSyntax(%i)", + (int)sipCpp->patternSyntax())); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + + Py_DECREF(uni); + } + else + { + sipRes = 0; + } +%End + + bool operator==(const QRegExp &rx) const; + bool operator!=(const QRegExp &rx) const; + bool isEmpty() const; + bool isValid() const; + QString pattern() const; + void setPattern(const QString &pattern); + Qt::CaseSensitivity caseSensitivity() const; + void setCaseSensitivity(Qt::CaseSensitivity cs); + QRegExp::PatternSyntax patternSyntax() const; + void setPatternSyntax(QRegExp::PatternSyntax syntax); + bool isMinimal() const; + void setMinimal(bool minimal); + bool exactMatch(const QString &str) const; + int indexIn(const QString &str, int offset = 0, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; + int lastIndexIn(const QString &str, int offset = -1, QRegExp::CaretMode caretMode = QRegExp::CaretAtZero) const; + int matchedLength() const; + QStringList capturedTexts(); + QString cap(int nth = 0); + int pos(int nth = 0); + QString errorString(); + static QString escape(const QString &str); + int captureCount() const; + void swap(QRegExp &other /Constrained/); +%If (Qt_5_6_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; + +QDataStream &operator<<(QDataStream &out, const QRegExp ®Exp /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &in, QRegExp ®Exp /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qregularexpression.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qregularexpression.sip new file mode 100644 index 00000000..b2830018 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qregularexpression.sip @@ -0,0 +1,206 @@ +// qregularexpression.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRegularExpression +{ +%TypeHeaderCode +#include +%End + +public: + enum PatternOption + { + NoPatternOption, + CaseInsensitiveOption, + DotMatchesEverythingOption, + MultilineOption, + ExtendedPatternSyntaxOption, + InvertedGreedinessOption, + DontCaptureOption, + UseUnicodePropertiesOption, +%If (Qt_5_4_0 -) + OptimizeOnFirstUsageOption, +%End +%If (Qt_5_4_0 -) + DontAutomaticallyOptimizeOption, +%End + }; + + typedef QFlags PatternOptions; + QRegularExpression::PatternOptions patternOptions() const; + void setPatternOptions(QRegularExpression::PatternOptions options); + QRegularExpression(); + QRegularExpression(const QString &pattern, QRegularExpression::PatternOptions options = QRegularExpression::NoPatternOption); + QRegularExpression(const QRegularExpression &re); + ~QRegularExpression(); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + PyObject *uni = qpycore_PyObject_FromQString(sipCpp->pattern()); + + if (uni) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QRegularExpression(%R", uni); + + if (sipCpp->patternOptions() != QRegularExpression::NoPatternOption) + { + qpycore_Unicode_ConcatAndDel(&sipRes, + PyUnicode_FromFormat( + ", PyQt5.QtCore.QRegularExpression.PatternOptions(%i)", + (int)sipCpp->patternOptions())); + } + + qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")")); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QRegularExpression("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni)); + + if (sipCpp->patternOptions() != QRegularExpression::NoPatternOption) + { + PyString_ConcatAndDel(&sipRes, + PyString_FromFormat( + ", PyQt5.QtCore.QRegularExpression.PatternOptions(%i)", + (int)sipCpp->patternOptions())); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + + Py_DECREF(uni); + } + else + { + sipRes = 0; + } +%End + + void swap(QRegularExpression &re /Constrained/); + QString pattern() const; + void setPattern(const QString &pattern); + bool isValid() const; + int patternErrorOffset() const; + QString errorString() const; + int captureCount() const; + + enum MatchType + { + NormalMatch, + PartialPreferCompleteMatch, + PartialPreferFirstMatch, +%If (Qt_5_1_0 -) + NoMatch, +%End + }; + + enum MatchOption + { + NoMatchOption, + AnchoredMatchOption, +%If (Qt_5_4_0 -) + DontCheckSubjectStringMatchOption, +%End + }; + + typedef QFlags MatchOptions; + QRegularExpressionMatch match(const QString &subject, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; + QRegularExpressionMatchIterator globalMatch(const QString &subject, int offset = 0, QRegularExpression::MatchType matchType = QRegularExpression::NormalMatch, QRegularExpression::MatchOptions matchOptions = QRegularExpression::NoMatchOption) const; + static QString escape(const QString &str); +%If (Qt_5_1_0 -) + QStringList namedCaptureGroups() const; +%End + bool operator==(const QRegularExpression &re) const; + bool operator!=(const QRegularExpression &re) const; +%If (Qt_5_4_0 -) + void optimize() const; +%End +%If (Qt_5_6_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +%If (Qt_5_12_0 -) + static QString wildcardToRegularExpression(const QString &str); +%End +%If (Qt_5_12_0 -) + static QString anchoredPattern(const QString &expression); +%End +}; + +QFlags operator|(QRegularExpression::PatternOption f1, QFlags f2); +QFlags operator|(QRegularExpression::MatchOption f1, QFlags f2); +QDataStream &operator<<(QDataStream &out, const QRegularExpression &re /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &in, QRegularExpression &re /Constrained/) /ReleaseGIL/; + +class QRegularExpressionMatch +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_1_0 -) + QRegularExpressionMatch(); +%End + ~QRegularExpressionMatch(); + QRegularExpressionMatch(const QRegularExpressionMatch &match); + void swap(QRegularExpressionMatch &match /Constrained/); + QRegularExpression regularExpression() const; + QRegularExpression::MatchType matchType() const; + QRegularExpression::MatchOptions matchOptions() const; + bool hasMatch() const; + bool hasPartialMatch() const; + bool isValid() const; + int lastCapturedIndex() const; + QString captured(int nth = 0) const; + QString captured(const QString &name) const; + QStringList capturedTexts() const; + int capturedStart(int nth = 0) const; + int capturedLength(int nth = 0) const; + int capturedEnd(int nth = 0) const; + int capturedStart(const QString &name) const; + int capturedLength(const QString &name) const; + int capturedEnd(const QString &name) const; +}; + +class QRegularExpressionMatchIterator +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_1_0 -) + QRegularExpressionMatchIterator(); +%End + ~QRegularExpressionMatchIterator(); + QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator &iterator); + void swap(QRegularExpressionMatchIterator &iterator /Constrained/); + bool isValid() const; + bool hasNext() const; + QRegularExpressionMatch next(); + QRegularExpressionMatch peekNext() const; + QRegularExpression regularExpression() const; + QRegularExpression::MatchType matchType() const; + QRegularExpression::MatchOptions matchOptions() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qresource.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qresource.sip new file mode 100644 index 00000000..0f0af4af --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qresource.sip @@ -0,0 +1,92 @@ +// qresource.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QResource +{ +%TypeHeaderCode +#include +%End + +public: + QResource(const QString &fileName = QString(), const QLocale &locale = QLocale()); + ~QResource(); + QString absoluteFilePath() const; + SIP_PYOBJECT data() const /TypeHint="Py_v3:bytes;str"/; +%MethodCode + // The data may contain embedded '\0's so set the size explicitly. + + if (sipCpp->data()) + { + if ((sipRes = SIPBytes_FromStringAndSize((char *)sipCpp->data(), sipCpp->size())) == NULL) + sipIsErr = 1; + } + else + { + Py_INCREF(Py_None); + sipRes = Py_None; + } +%End + + QString fileName() const; + bool isCompressed() const; + bool isValid() const; + QLocale locale() const; + void setFileName(const QString &file); + void setLocale(const QLocale &locale); + qint64 size() const; + static bool registerResource(const QString &rccFileName, const QString &mapRoot = QString()); + static bool registerResource(const uchar *rccData, const QString &mapRoot = QString()) /PyName=registerResourceData/; + static bool unregisterResource(const QString &rccFileName, const QString &mapRoot = QString()); + static bool unregisterResource(const uchar *rccData, const QString &mapRoot = QString()) /PyName=unregisterResourceData/; + +protected: + QStringList children() const; + bool isDir() const; + bool isFile() const; + +public: +%If (Qt_5_8_0 -) + QDateTime lastModified() const; +%End +%If (Qt_5_13_0 -) + + enum Compression + { + NoCompression, + ZlibCompression, + ZstdCompression, + }; + +%End +%If (Qt_5_13_0 -) + QResource::Compression compressionAlgorithm() const; +%End +%If (Qt_5_15_0 -) + qint64 uncompressedSize() const; +%End +%If (Qt_5_15_0 -) + QByteArray uncompressedData() const; +%End + +private: + QResource(const QResource &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrunnable.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrunnable.sip new file mode 100644 index 00000000..3774abc1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qrunnable.sip @@ -0,0 +1,55 @@ +// qrunnable.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRunnable /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + QRunnable(); + virtual ~QRunnable(); + virtual void run() = 0 /NewThread/; + bool autoDelete() const; + void setAutoDelete(bool _autoDelete); +%If (Qt_5_15_0 -) + static QRunnable *create(SIP_PYCALLABLE functionToRun /KeepReference,TypeHint="Callable[[], None]"/) /Factory/; +%MethodCode + sipRes = QRunnable::create([a0]() { + SIP_BLOCK_THREADS + + PyObject *res; + + res = PyObject_CallObject(a0, NULL); + + if (res) + Py_DECREF(res); + else + pyqt5_err_print(); + + SIP_UNBLOCK_THREADS + }); +%End + +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsavefile.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsavefile.sip new file mode 100644 index 00000000..38106dd2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsavefile.sip @@ -0,0 +1,51 @@ +// qsavefile.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QSaveFile : QFileDevice +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSaveFile(const QString &name); + explicit QSaveFile(QObject *parent /TransferThis/ = 0); + QSaveFile(const QString &name, QObject *parent /TransferThis/); + virtual ~QSaveFile(); + virtual QString fileName() const; + void setFileName(const QString &name); + virtual bool open(QIODevice::OpenMode flags) /ReleaseGIL/; + bool commit(); + void cancelWriting(); + void setDirectWriteFallback(bool enabled); + bool directWriteFallback() const; + +protected: + virtual qint64 writeData(const char *data /Array/, qint64 len /ArraySize/) /ReleaseGIL/; + +private: + virtual void close(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsemaphore.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsemaphore.sip new file mode 100644 index 00000000..18e77aff --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsemaphore.sip @@ -0,0 +1,59 @@ +// qsemaphore.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSemaphore +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSemaphore(int n = 0); + ~QSemaphore(); + void acquire(int n = 1) /ReleaseGIL/; + bool tryAcquire(int n = 1); + bool tryAcquire(int n, int timeout) /ReleaseGIL/; + void release(int n = 1); + int available() const; + +private: + QSemaphore(const QSemaphore &); +}; + +%If (Qt_5_10_0 -) + +class QSemaphoreReleaser /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + QSemaphoreReleaser(); + QSemaphoreReleaser(QSemaphore *sem, int n = 1); + ~QSemaphoreReleaser(); + void swap(QSemaphoreReleaser &other); + QSemaphore *semaphore() const; + QSemaphore *cancel(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsequentialanimationgroup.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsequentialanimationgroup.sip new file mode 100644 index 00000000..7156e8c5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsequentialanimationgroup.sip @@ -0,0 +1,45 @@ +// qsequentialanimationgroup.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSequentialAnimationGroup : QAnimationGroup +{ +%TypeHeaderCode +#include +%End + +public: + QSequentialAnimationGroup(QObject *parent /TransferThis/ = 0); + virtual ~QSequentialAnimationGroup(); + QPauseAnimation *addPause(int msecs); + QPauseAnimation *insertPause(int index, int msecs); + QAbstractAnimation *currentAnimation() const; + virtual int duration() const; + +signals: + void currentAnimationChanged(QAbstractAnimation *current); + +protected: + virtual bool event(QEvent *event); + virtual void updateCurrentTime(int); + virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + virtual void updateDirection(QAbstractAnimation::Direction direction); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsettings.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsettings.sip new file mode 100644 index 00000000..a694e56b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsettings.sip @@ -0,0 +1,113 @@ +// qsettings.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSettings : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Status + { + NoError, + AccessError, + FormatError, + }; + + enum Format + { + NativeFormat, + IniFormat, + InvalidFormat, + }; + + enum Scope + { + UserScope, + SystemScope, + }; + + QSettings(const QString &organization, const QString &application = QString(), QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QSettings(QSettings::Scope scope, const QString &organization, const QString &application = QString(), QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QSettings(QSettings::Format format, QSettings::Scope scope, const QString &organization, const QString &application = QString(), QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QSettings(const QString &fileName, QSettings::Format format, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; +%If (Qt_5_13_0 -) + QSettings(QSettings::Scope scope, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; +%End + explicit QSettings(QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + virtual ~QSettings() /ReleaseGIL/; + void clear() /ReleaseGIL/; + void sync() /ReleaseGIL/; + QSettings::Status status() const; + void beginGroup(const QString &prefix); + void endGroup(); + QString group() const; + int beginReadArray(const QString &prefix); + void beginWriteArray(const QString &prefix, int size = -1); + void endArray(); + void setArrayIndex(int i); + QStringList allKeys() const /ReleaseGIL/; + QStringList childKeys() const /ReleaseGIL/; + QStringList childGroups() const /ReleaseGIL/; + bool isWritable() const; + void setValue(const QString &key, const QVariant &value) /ReleaseGIL/; + SIP_PYOBJECT value(const QString &key, const QVariant &defaultValue = QVariant(), SIP_PYOBJECT type /TypeHint="type", TypeHintValue="None"/ = 0) const /ReleaseGIL/; +%MethodCode + QVariant value; + + // QSettings has an internal mutex so release the GIL to avoid the possibility + // of deadlocks. + Py_BEGIN_ALLOW_THREADS + value = sipCpp->value(*a0, *a1); + Py_END_ALLOW_THREADS + + sipRes = pyqt5_from_qvariant_by_type(value, a2); + + sipIsErr = !sipRes; +%End + + void remove(const QString &key) /ReleaseGIL/; + bool contains(const QString &key) const /ReleaseGIL/; + void setFallbacksEnabled(bool b); + bool fallbacksEnabled() const; + QString fileName() const; + static void setPath(QSettings::Format format, QSettings::Scope scope, const QString &path) /ReleaseGIL/; + QSettings::Format format() const; + QSettings::Scope scope() const; + QString organizationName() const; + QString applicationName() const; + static void setDefaultFormat(QSettings::Format format); + static QSettings::Format defaultFormat(); + void setIniCodec(QTextCodec *codec /KeepReference/); + void setIniCodec(const char *codecName); + QTextCodec *iniCodec() const; +%If (Qt_5_10_0 -) + bool isAtomicSyncRequired() const; +%End +%If (Qt_5_10_0 -) + void setAtomicSyncRequired(bool enable); +%End + +protected: + virtual bool event(QEvent *event); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsharedmemory.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsharedmemory.sip new file mode 100644 index 00000000..588b1560 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsharedmemory.sip @@ -0,0 +1,75 @@ +// qsharedmemory.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSharedMemory : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum AccessMode + { + ReadOnly, + ReadWrite, + }; + + enum SharedMemoryError + { + NoError, + PermissionDenied, + InvalidSize, + KeyError, + AlreadyExists, + NotFound, + LockError, + OutOfResources, + UnknownError, + }; + + QSharedMemory(QObject *parent /TransferThis/ = 0); + QSharedMemory(const QString &key, QObject *parent /TransferThis/ = 0); + virtual ~QSharedMemory(); + void setKey(const QString &key); + QString key() const; + bool create(int size, QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); + int size() const; + bool attach(QSharedMemory::AccessMode mode = QSharedMemory::ReadWrite); + bool isAttached() const; + bool detach(); + SIP_PYOBJECT data() /TypeHint="PyQt5.sip.voidptr"/; +%MethodCode + sipRes = sipConvertFromVoidPtrAndSize(sipCpp->data(), sipCpp->size()); +%End + + SIP_PYOBJECT constData() const /TypeHint="PyQt5.sip.voidptr"/; +%MethodCode + sipRes = sipConvertFromConstVoidPtrAndSize(sipCpp->constData(), sipCpp->size()); +%End + + bool lock(); + bool unlock(); + QSharedMemory::SharedMemoryError error() const; + QString errorString() const; + void setNativeKey(const QString &key); + QString nativeKey() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsignalmapper.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsignalmapper.sip new file mode 100644 index 00000000..9dd70049 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsignalmapper.sip @@ -0,0 +1,72 @@ +// qsignalmapper.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QWidget /External/; + +class QSignalMapper : QObject +{ +%TypeHintCode +from PyQt5.QtWidgets import QWidget +%End + +%TypeHeaderCode +#include +%End + +public: + explicit QSignalMapper(QObject *parent /TransferThis/ = 0); + virtual ~QSignalMapper(); + void setMapping(QObject *sender, int id); + void setMapping(QObject *sender, const QString &text); + void setMapping(QObject *sender, QWidget *widget); + void setMapping(QObject *sender, QObject *object); + void removeMappings(QObject *sender); + QObject *mapping(int id) const; + QObject *mapping(const QString &text) const; + QObject *mapping(QWidget *widget) const; + QObject *mapping(QObject *object) const; + +signals: + void mapped(int); + void mapped(const QString &); + void mapped(QWidget *); + void mapped(QObject *); +%If (Qt_5_15_0 -) + void mappedInt(int); +%End +%If (Qt_5_15_0 -) + void mappedString(const QString &); +%End +%If (Qt_5_15_0 -) + void mappedWidget(QWidget *); +%End +%If (Qt_5_15_0 -) + void mappedObject(QObject *); +%End + +public slots: + void map(); + void map(QObject *sender); + +private: + QSignalMapper(const QSignalMapper &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsignaltransition.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsignaltransition.sip new file mode 100644 index 00000000..37de8f2e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsignaltransition.sip @@ -0,0 +1,66 @@ +// qsignaltransition.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSignalTransition : QAbstractTransition +{ +%TypeHeaderCode +#include +%End + +public: + QSignalTransition(QState *sourceState /TransferThis/ = 0); + QSignalTransition(SIP_PYOBJECT signal /TypeHint="pyqtBoundSignal"/, QState *sourceState /TransferThis/ = 0) /NoDerived/; +%MethodCode + QObject *sender; + QByteArray signal_signature; + + if ((sipError = pyqt5_get_pyqtsignal_parts(a0, &sender, signal_signature)) == sipErrorNone) + { + sipCpp = new sipQSignalTransition(a1); + sipCpp->setSenderObject(sender); + sipCpp->setSignal(signal_signature); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + virtual ~QSignalTransition(); + QObject *senderObject() const; + void setSenderObject(const QObject *sender); + QByteArray signal() const; + void setSignal(const QByteArray &signal); + +protected: + virtual bool eventTest(QEvent *event); + virtual void onTransition(QEvent *event); + virtual bool event(QEvent *e); + +signals: +%If (Qt_5_4_0 -) + void senderObjectChanged(); +%End +%If (Qt_5_4_0 -) + void signalChanged(); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsize.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsize.sip new file mode 100644 index 00000000..c3865ae8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsize.sip @@ -0,0 +1,188 @@ +// qsize.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSize +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"ii", sipCpp->width(), sipCpp->height()); +%End + +public: + void transpose(); + void scale(const QSize &s, Qt::AspectRatioMode mode); + QSize(); + QSize(int w, int h); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QSize()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QSize()"); + #endif + } + else + { + sipRes = + #if PY_MAJOR_VERSION >= 3 + PyUnicode_FromFormat + #else + PyString_FromFormat + #endif + ("PyQt5.QtCore.QSize(%i, %i)", sipCpp->width(), sipCpp->height()); + } +%End + + bool isNull() const; + bool isEmpty() const; + bool isValid() const; + int __bool__() const; +%MethodCode + sipRes = sipCpp->isValid(); +%End + + int width() const; + int height() const; + void setWidth(int w); + void setHeight(int h); + void scale(int w, int h, Qt::AspectRatioMode mode); + QSize &operator+=(const QSize &s); + QSize &operator-=(const QSize &s); + QSize &operator*=(qreal c); + QSize &operator/=(qreal c); + QSize expandedTo(const QSize &otherSize) const; + QSize boundedTo(const QSize &otherSize) const; + QSize scaled(const QSize &s, Qt::AspectRatioMode mode) const; + QSize scaled(int w, int h, Qt::AspectRatioMode mode) const; + QSize transposed() const; +%If (Qt_5_14_0 -) + QSize grownBy(QMargins m) const; +%End +%If (Qt_5_14_0 -) + QSize shrunkBy(QMargins m) const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QSize & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QSize & /Constrained/) /ReleaseGIL/; +bool operator==(const QSize &s1, const QSize &s2); +bool operator!=(const QSize &s1, const QSize &s2); +const QSize operator+(const QSize &s1, const QSize &s2); +const QSize operator-(const QSize &s1, const QSize &s2); +const QSize operator*(const QSize &s, qreal c); +const QSize operator*(qreal c, const QSize &s); +const QSize operator/(const QSize &s, qreal c); + +class QSizeF +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"dd", sipCpp->width(), sipCpp->height()); +%End + +public: + void transpose(); + void scale(const QSizeF &s, Qt::AspectRatioMode mode); + QSizeF(); + QSizeF(const QSize &sz); + QSizeF(qreal w, qreal h); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + if (sipCpp->isNull()) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromString("PyQt5.QtCore.QSizeF()"); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QSizeF()"); + #endif + } + else + { + PyObject *w = PyFloat_FromDouble(sipCpp->width()); + PyObject *h = PyFloat_FromDouble(sipCpp->height()); + + if (w && h) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QSizeF(%R, %R)", w, h); + #else + sipRes = PyString_FromString("PyQt5.QtCore.QSizeF("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(w)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(h)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + Py_XDECREF(w); + Py_XDECREF(h); + } +%End + + bool isNull() const; + bool isEmpty() const; + bool isValid() const; + int __bool__() const; +%MethodCode + sipRes = sipCpp->isValid(); +%End + + qreal width() const; + qreal height() const; + void setWidth(qreal w); + void setHeight(qreal h); + void scale(qreal w, qreal h, Qt::AspectRatioMode mode); + QSizeF &operator+=(const QSizeF &s); + QSizeF &operator-=(const QSizeF &s); + QSizeF &operator*=(qreal c); + QSizeF &operator/=(qreal c); + QSizeF expandedTo(const QSizeF &otherSize) const; + QSizeF boundedTo(const QSizeF &otherSize) const; + QSize toSize() const; + QSizeF scaled(const QSizeF &s, Qt::AspectRatioMode mode) const; + QSizeF scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const; + QSizeF transposed() const; +%If (Qt_5_14_0 -) + QSizeF grownBy(QMarginsF m) const; +%End +%If (Qt_5_14_0 -) + QSizeF shrunkBy(QMarginsF m) const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QSizeF & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QSizeF & /Constrained/) /ReleaseGIL/; +bool operator==(const QSizeF &s1, const QSizeF &s2); +bool operator!=(const QSizeF &s1, const QSizeF &s2); +const QSizeF operator+(const QSizeF &s1, const QSizeF &s2); +const QSizeF operator-(const QSizeF &s1, const QSizeF &s2); +const QSizeF operator*(const QSizeF &s, qreal c); +const QSizeF operator*(qreal c, const QSizeF &s); +const QSizeF operator/(const QSizeF &s, qreal c); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsocketnotifier.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsocketnotifier.sip new file mode 100644 index 00000000..be458940 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsocketnotifier.sip @@ -0,0 +1,51 @@ +// qsocketnotifier.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSocketNotifier : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Type + { + Read, + Write, + Exception, + }; + + QSocketNotifier(qintptr socket, QSocketNotifier::Type, QObject *parent /TransferThis/ = 0); + virtual ~QSocketNotifier(); + qintptr socket() const; + QSocketNotifier::Type type() const; + bool isEnabled() const; + +public slots: + void setEnabled(bool); + +signals: + void activated(int socket); + +protected: + virtual bool event(QEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsortfilterproxymodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsortfilterproxymodel.sip new file mode 100644 index 00000000..97fc93f2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsortfilterproxymodel.sip @@ -0,0 +1,140 @@ +// qsortfilterproxymodel.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSortFilterProxyModel : QAbstractProxyModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSortFilterProxyModel(QObject *parent /TransferThis/ = 0); + virtual ~QSortFilterProxyModel(); + virtual void setSourceModel(QAbstractItemModel *sourceModel /KeepReference/); + virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const; + virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const; + virtual QItemSelection mapSelectionToSource(const QItemSelection &proxySelection) const; + virtual QItemSelection mapSelectionFromSource(const QItemSelection &sourceSelection) const; + QRegExp filterRegExp() const; +%If (Qt_5_12_0 -) + QRegularExpression filterRegularExpression() const; +%End + int filterKeyColumn() const; + void setFilterKeyColumn(int column); + Qt::CaseSensitivity filterCaseSensitivity() const; + void setFilterCaseSensitivity(Qt::CaseSensitivity cs); + +public slots: + void invalidate(); + void setFilterFixedString(const QString &pattern); + void setFilterRegExp(const QRegExp ®Exp); + void setFilterRegExp(const QString &pattern); +%If (Qt_5_12_0 -) + void setFilterRegularExpression(const QRegularExpression ®ularExpression); +%End +%If (Qt_5_12_0 -) + void setFilterRegularExpression(const QString &pattern); +%End + void setFilterWildcard(const QString &pattern); + +protected: + virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const; + virtual bool filterAcceptsColumn(int source_column, const QModelIndex &source_parent) const; + virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const; + +public: + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual QModelIndex parent(const QModelIndex &child) const; + QObject *parent() const; + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const; + virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); +%If (Qt_5_5_0 -) + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; +%End +%If (- Qt_5_5_0) + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::EditRole) const; +%End + virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role = Qt::EditRole); + virtual QMimeData *mimeData(const QModelIndexList &indexes) const /TransferBack/; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); + virtual bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool insertColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual void fetchMore(const QModelIndex &parent); + virtual bool canFetchMore(const QModelIndex &parent) const; + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + virtual QModelIndex buddy(const QModelIndex &index) const; + virtual QSize span(const QModelIndex &index) const; + virtual QModelIndexList match(const QModelIndex &start, int role, const QVariant &value, int hits = 1, Qt::MatchFlags flags = Qt::MatchStartsWith|Qt::MatchWrap) const; + virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); + Qt::CaseSensitivity sortCaseSensitivity() const; + void setSortCaseSensitivity(Qt::CaseSensitivity cs); + bool dynamicSortFilter() const; + void setDynamicSortFilter(bool enable); + int sortRole() const; + void setSortRole(int role); + int sortColumn() const; + Qt::SortOrder sortOrder() const; + int filterRole() const; + void setFilterRole(int role); + virtual QStringList mimeTypes() const; + virtual Qt::DropActions supportedDropActions() const; + bool isSortLocaleAware() const; + void setSortLocaleAware(bool on); + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; +%If (Qt_5_10_0 -) + bool isRecursiveFilteringEnabled() const; +%End +%If (Qt_5_10_0 -) + void setRecursiveFilteringEnabled(bool recursive); +%End + +protected: + void invalidateFilter(); + +signals: +%If (Qt_5_15_0 -) + void dynamicSortFilterChanged(bool dynamicSortFilter); +%End +%If (Qt_5_15_0 -) + void filterCaseSensitivityChanged(Qt::CaseSensitivity filterCaseSensitivity); +%End +%If (Qt_5_15_0 -) + void sortCaseSensitivityChanged(Qt::CaseSensitivity sortCaseSensitivity); +%End +%If (Qt_5_15_0 -) + void sortLocaleAwareChanged(bool sortLocaleAware); +%End +%If (Qt_5_15_0 -) + void sortRoleChanged(int sortRole); +%End +%If (Qt_5_15_0 -) + void filterRoleChanged(int filterRole); +%End +%If (Qt_5_15_0 -) + void recursiveFilteringEnabledChanged(bool recursiveFilteringEnabled); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstandardpaths.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstandardpaths.sip new file mode 100644 index 00000000..e53c60a4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstandardpaths.sip @@ -0,0 +1,90 @@ +// qstandardpaths.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStandardPaths +{ +%TypeHeaderCode +#include +%End + +public: + enum StandardLocation + { + DesktopLocation, + DocumentsLocation, + FontsLocation, + ApplicationsLocation, + MusicLocation, + MoviesLocation, + PicturesLocation, + TempLocation, + HomeLocation, + DataLocation, + CacheLocation, + GenericDataLocation, + RuntimeLocation, + ConfigLocation, + DownloadLocation, + GenericCacheLocation, +%If (Qt_5_2_0 -) + GenericConfigLocation, +%End +%If (Qt_5_4_0 -) + AppDataLocation, +%End +%If (Qt_5_4_0 -) + AppLocalDataLocation, +%End +%If (Qt_5_5_0 -) + AppConfigLocation, +%End + }; + + static QString writableLocation(QStandardPaths::StandardLocation type); + static QStringList standardLocations(QStandardPaths::StandardLocation type); + + enum LocateOption + { + LocateFile, + LocateDirectory, + }; + + typedef QFlags LocateOptions; + static QString locate(QStandardPaths::StandardLocation type, const QString &fileName, QFlags options = QStandardPaths::LocateFile); + static QStringList locateAll(QStandardPaths::StandardLocation type, const QString &fileName, QFlags options = QStandardPaths::LocateFile); +%If (PyQt_NotBootstrapped) + static QString displayName(QStandardPaths::StandardLocation type); +%End + static QString findExecutable(const QString &executableName, const QStringList &paths = QStringList()); + static void enableTestMode(bool testMode); +%If (Qt_5_2_0 -) + static void setTestModeEnabled(bool testMode); +%End + +private: + QStandardPaths(); + ~QStandardPaths(); +}; + +%If (Qt_5_8_0 -) +QFlags operator|(QStandardPaths::LocateOption f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstate.sip new file mode 100644 index 00000000..507c7d40 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstate.sip @@ -0,0 +1,91 @@ +// qstate.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QState : QAbstractState +{ +%TypeHeaderCode +#include +%End + +public: + enum ChildMode + { + ExclusiveStates, + ParallelStates, + }; + + enum RestorePolicy + { + DontRestoreProperties, + RestoreProperties, + }; + + QState(QState *parent /TransferThis/ = 0); + QState(QState::ChildMode childMode, QState *parent /TransferThis/ = 0); + virtual ~QState(); + QAbstractState *errorState() const; + void setErrorState(QAbstractState *state /KeepReference/); + void addTransition(QAbstractTransition *transition /Transfer/); + QSignalTransition *addTransition(SIP_PYOBJECT signal /TypeHint="pyqtBoundSignal"/, QAbstractState *target); +%MethodCode + QObject *sender; + QByteArray signal_signature; + + if ((sipError = pyqt5_get_pyqtsignal_parts(a0, &sender, signal_signature)) == sipErrorNone) + { + sipRes = sipCpp->addTransition(sender, signal_signature.constData(), a1); + } + else + { + sipError = sipBadCallableArg(0, a0); + } +%End + + QAbstractTransition *addTransition(QAbstractState *target /Transfer/); + void removeTransition(QAbstractTransition *transition /TransferBack/); + QList transitions() const; + QAbstractState *initialState() const; + void setInitialState(QAbstractState *state /KeepReference/); + QState::ChildMode childMode() const; + void setChildMode(QState::ChildMode mode); + void assignProperty(QObject *object, const char *name, const QVariant &value); + +signals: + void finished(); + void propertiesAssigned(); + +protected: + virtual void onEntry(QEvent *event); + virtual void onExit(QEvent *event); + virtual bool event(QEvent *e); + +signals: +%If (Qt_5_4_0 -) + void childModeChanged(); +%End +%If (Qt_5_4_0 -) + void initialStateChanged(); +%End +%If (Qt_5_4_0 -) + void errorStateChanged(); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstatemachine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstatemachine.sip new file mode 100644 index 00000000..99953866 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstatemachine.sip @@ -0,0 +1,150 @@ +// qstatemachine.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStateMachine : QState +{ +%TypeHeaderCode +#include +%End + +public: + class SignalEvent : QEvent /NoDefaultCtors/ + { +%TypeHeaderCode +#include +%End + + public: + virtual ~SignalEvent(); + QObject *sender() const; + int signalIndex() const; + QList arguments() const; + }; + + class WrappedEvent : QEvent /NoDefaultCtors/ + { +%TypeHeaderCode +#include +%End + + public: + virtual ~WrappedEvent(); + QObject *object() const; + QEvent *event() const; + }; + + enum EventPriority + { + NormalPriority, + HighPriority, + }; + + enum Error + { + NoError, + NoInitialStateError, + NoDefaultStateInHistoryStateError, + NoCommonAncestorForTransitionError, +%If (Qt_5_14_0 -) + StateMachineChildModeSetToParallelError, +%End + }; + + explicit QStateMachine(QObject *parent /TransferThis/ = 0); + QStateMachine(QState::ChildMode childMode, QObject *parent /TransferThis/ = 0); + virtual ~QStateMachine(); + void addState(QAbstractState *state /Transfer/); + void removeState(QAbstractState *state /TransferBack/); + QStateMachine::Error error() const; + QString errorString() const; + void clearError(); + bool isRunning() const; + bool isAnimated() const; + void setAnimated(bool enabled); + void addDefaultAnimation(QAbstractAnimation *animation /GetWrapper/); +%MethodCode + // We want to keep a reference to the animation but this is in addition to the + // existing ones and does not replace them - so we can't use /KeepReference/. + sipCpp->addDefaultAnimation(a0); + + // Use the user object as a list of the references. + PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf); + + if (!user) + { + user = PyList_New(0); + sipSetUserObject((sipSimpleWrapper *)sipSelf, user); + } + + if (user) + PyList_Append(user, a0Wrapper); +%End + + QList defaultAnimations() const; + void removeDefaultAnimation(QAbstractAnimation *animation /GetWrapper/); +%MethodCode + // Discard the extra animation reference that we took in addDefaultAnimation(). + sipCpp->removeDefaultAnimation(a0); + + // Use the user object as a list of the references. + PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf); + + if (user) + { + Py_ssize_t i = 0; + + // Note that we deal with an object appearing in the list more than once. + while (i < PyList_Size(user)) + if (PyList_GetItem(user, i) == a0Wrapper) + PyList_SetSlice(user, i, i + 1, NULL); + else + ++i; + } +%End + + QState::RestorePolicy globalRestorePolicy() const; + void setGlobalRestorePolicy(QState::RestorePolicy restorePolicy); + void postEvent(QEvent *event /Transfer/, QStateMachine::EventPriority priority = QStateMachine::NormalPriority); + int postDelayedEvent(QEvent *event /Transfer/, int delay); + bool cancelDelayedEvent(int id); + QSet configuration() const; + virtual bool eventFilter(QObject *watched, QEvent *event); + +public slots: + void start(); + void stop(); +%If (Qt_5_4_0 -) + void setRunning(bool running); +%End + +signals: + void started(); + void stopped(); +%If (Qt_5_4_0 -) + void runningChanged(bool running); +%End + +protected: + virtual void onEntry(QEvent *event); + virtual void onExit(QEvent *event); + virtual bool event(QEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstorageinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstorageinfo.sip new file mode 100644 index 00000000..2fd9918b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstorageinfo.sip @@ -0,0 +1,68 @@ +// qstorageinfo.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QStorageInfo +{ +%TypeHeaderCode +#include +%End + +public: + QStorageInfo(); + explicit QStorageInfo(const QString &path); + explicit QStorageInfo(const QDir &dir); + QStorageInfo(const QStorageInfo &other); + ~QStorageInfo(); + void swap(QStorageInfo &other /Constrained/); + void setPath(const QString &path); + QString rootPath() const; + QByteArray device() const; + QByteArray fileSystemType() const; + QString name() const; + QString displayName() const; + qint64 bytesTotal() const; + qint64 bytesFree() const; + qint64 bytesAvailable() const; + bool isReadOnly() const; + bool isReady() const; + bool isValid() const; + void refresh(); + static QList mountedVolumes(); + static QStorageInfo root(); + bool isRoot() const; +%If (Qt_5_6_0 -) + int blockSize() const; +%End +%If (Qt_5_9_0 -) + QByteArray subvolume() const; +%End +}; + +%End +%If (Qt_5_4_0 -) +bool operator==(const QStorageInfo &first, const QStorageInfo &second); +%End +%If (Qt_5_4_0 -) +bool operator!=(const QStorageInfo &first, const QStorageInfo &second); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstring.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstring.sip new file mode 100644 index 00000000..55d2493e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstring.sip @@ -0,0 +1,70 @@ +// qstring.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +// QString mapped type. +%MappedType QString /AllowNone,TypeHint="str",TypeHintValue="''"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +if (sipIsErr == NULL) +#if PY_MAJOR_VERSION < 3 + return (sipPy == Py_None || PyString_Check(sipPy) || PyUnicode_Check(sipPy)); +#else + return (sipPy == Py_None || PyUnicode_Check(sipPy)); +#endif + +if (sipPy == Py_None) +{ + // None is the only way to create a null (as opposed to empty) QString. + *sipCppPtr = new QString(); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = new QString(qpycore_PyObject_AsQString(sipPy)); + +return sipGetState(sipTransferObj); +%End + +%ConvertFromTypeCode + return qpycore_PyObject_FromQString(*sipCpp); +%End +}; +// QStringRef mapped type. +%MappedType QStringRef /TypeHint="str",TypeHintValue="''"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode + // Qt only ever returns a QStringRef so this conversion isn't needed. + return 0; +%End + +%ConvertFromTypeCode + return qpycore_PyObject_FromQString(sipCpp->toString()); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstringlist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstringlist.sip new file mode 100644 index 00000000..007ffb06 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstringlist.sip @@ -0,0 +1,138 @@ +// This is the SIP interface definition for the QStringList mapped type. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +// Note that when we test the type of an object to see if it can be converted +// to a collection we only check if it is iterable. We do not check the +// types of the contents - we assume we will be able to convert them when +// requested. This allows us to raise exceptions specific to an individual +// object. This approach doesn't work if there are overloads that can only be +// distinguished by the types of the template arguments. Currently there are +// no such cases in PyQt5. Note also that we don't consider strings to be +// iterables. + + +%MappedType QStringList + /TypeHintIn="Iterable[QString]", TypeHintOut="List[QString]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + QString *t = new QString(sipCpp->at(i)); + PyObject *tobj = sipConvertFromNewType(t, sipType_QString, + sipTransferObj); + + if (!tobj) + { + delete t; + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, tobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QStringList *ql = new QStringList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int state; + QString *t = reinterpret_cast( + sipForceConvertToType(itm, sipType_QString, sipTransferObj, + SIP_NOT_NONE, &state, sipIsErr)); + + if (*sipIsErr) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'str' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + + return 0; + } + + ql->append(*t); + + sipReleaseType(t, sipType_QString, state); + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstringlistmodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstringlistmodel.sip new file mode 100644 index 00000000..3402c198 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qstringlistmodel.sip @@ -0,0 +1,52 @@ +// qstringlistmodel.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStringListModel : QAbstractListModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QStringListModel(QObject *parent /TransferThis/ = 0); + QStringListModel(const QStringList &strings, QObject *parent /TransferThis/ = 0); + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual QVariant data(const QModelIndex &index, int role) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + virtual bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); + QStringList stringList() const; + void setStringList(const QStringList &strings); + virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); + virtual Qt::DropActions supportedDropActions() const; + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; +%If (Qt_5_13_0 -) + virtual bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild); +%End +%If (Qt_5_13_0 -) + virtual QMap itemData(const QModelIndex &index) const; +%End +%If (Qt_5_13_0 -) + virtual bool setItemData(const QModelIndex &index, const QMap &roles); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsysinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsysinfo.sip new file mode 100644 index 00000000..0f8a316b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsysinfo.sip @@ -0,0 +1,198 @@ +// This is the SIP specification of the QSysInfo class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSysInfo +{ +%TypeHeaderCode +#include +%End + +public: + enum Sizes + { + WordSize, + }; + + enum Endian + { + BigEndian, + LittleEndian, + ByteOrder, + }; + +%If (WS_MACX) + enum MacVersion + { + MV_Unknown, + MV_9, + MV_10_0, + MV_10_1, + MV_10_2, + MV_10_3, + MV_10_4, + MV_10_5, + MV_10_6, + MV_10_7, + MV_10_8, +%If (Qt_5_1_0 -) + MV_10_9, +%End +%If (Qt_5_4_0 -) + MV_10_10, +%End +%If (Qt_5_5_0 -) + MV_10_11, +%End +%If (Qt_5_8_0 -) + MV_10_12, +%End + MV_CHEETAH, + MV_PUMA, + MV_JAGUAR, + MV_PANTHER, + MV_TIGER, + MV_LEOPARD, + MV_SNOWLEOPARD, + MV_LION, + MV_MOUNTAINLION, +%If (Qt_5_1_0 -) + MV_MAVERICKS, +%End +%If (Qt_5_4_0 -) + MV_YOSEMITE, +%End +%If (Qt_5_5_0 -) + MV_ELCAPITAN, +%End +%If (Qt_5_8_0 -) + MV_SIERRA, +%End + +%If (Qt_5_2_0 -) + MV_IOS, + MV_IOS_4_3, + MV_IOS_5_0, + MV_IOS_5_1, + MV_IOS_6_0, + MV_IOS_6_1, + MV_IOS_7_0, + MV_IOS_7_1, +%End +%If (Qt_5_4_0 -) + MV_IOS_8_0, +%End +%If (Qt_5_5_0 -) + MV_IOS_8_1, + MV_IOS_8_2, + MV_IOS_8_3, + MV_IOS_8_4, + MV_IOS_9_0, +%End +%If (Qt_5_8_0 -) + MV_IOS_9_1, + MV_IOS_9_2, + MV_IOS_9_3, + MV_IOS_10_0, +%End + +%If (Qt_5_8_0 -) + MV_TVOS, + MV_TVOS_9_0, + MV_TVOS_9_1, + MV_TVOS_9_2, + MV_TVOS_10_0, +%End + +%If (Qt_5_8_0 -) + MV_WATCHOS, + MV_WATCHOS_2_0, + MV_WATCHOS_2_1, + MV_WATCHOS_2_2, + MV_WATCHOS_3_0, +%End + }; + + static const QSysInfo::MacVersion MacintoshVersion; + static QSysInfo::MacVersion macVersion(); +%End + +%If (WS_WIN) + enum WinVersion { + WV_32s, + WV_95, + WV_98, + WV_Me, + WV_DOS_based, + + WV_NT, + WV_2000, + WV_XP, + WV_2003, + WV_VISTA, + WV_WINDOWS7, + WV_WINDOWS8, +%If (Qt_5_2_0 -) + WV_WINDOWS8_1, +%End +%If (Qt_5_5_0 -) + WV_WINDOWS10, +%End + WV_NT_based, + + WV_4_0, + WV_5_0, + WV_5_1, + WV_5_2, + WV_6_0, + WV_6_1, + WV_6_2, +%If (Qt_5_2_0 -) + WV_6_3, +%End +%If (Qt_5_5_0 -) + WV_10_0, +%End + + WV_CE, + WV_CENET, + WV_CE_5, + WV_CE_6, + WV_CE_based + }; + + static const QSysInfo::WinVersion WindowsVersion; + static QSysInfo::WinVersion windowsVersion(); +%End + +%If (Qt_5_4_0 -) + static QString buildAbi(); + static QString buildCpuArchitecture(); + static QString currentCpuArchitecture(); + static QString kernelType(); + static QString kernelVersion(); + static QString prettyProductName(); + static QString productType(); + static QString productVersion(); +%End + +%If (Qt_5_6_0 -) + static QString machineHostName(); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsystemsemaphore.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsystemsemaphore.sip new file mode 100644 index 00000000..cb222423 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qsystemsemaphore.sip @@ -0,0 +1,58 @@ +// qsystemsemaphore.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSystemSemaphore +{ +%TypeHeaderCode +#include +%End + +public: + enum AccessMode + { + Open, + Create, + }; + + enum SystemSemaphoreError + { + NoError, + PermissionDenied, + KeyError, + AlreadyExists, + NotFound, + OutOfResources, + UnknownError, + }; + + QSystemSemaphore(const QString &key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); + ~QSystemSemaphore(); + void setKey(const QString &key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open); + QString key() const; + bool acquire(); + bool release(int n = 1); + QSystemSemaphore::SystemSemaphoreError error() const; + QString errorString() const; + +private: + QSystemSemaphore(const QSystemSemaphore &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtemporarydir.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtemporarydir.sip new file mode 100644 index 00000000..c20c712d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtemporarydir.sip @@ -0,0 +1,47 @@ +// qtemporarydir.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTemporaryDir +{ +%TypeHeaderCode +#include +%End + +public: + QTemporaryDir(); + explicit QTemporaryDir(const QString &templateName); + ~QTemporaryDir(); + bool isValid() const; + bool autoRemove() const; + void setAutoRemove(bool b); + bool remove(); + QString path() const; +%If (Qt_5_6_0 -) + QString errorString() const; +%End +%If (Qt_5_9_0 -) + QString filePath(const QString &fileName) const; +%End + +private: + QTemporaryDir(const QTemporaryDir &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtemporaryfile.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtemporaryfile.sip new file mode 100644 index 00000000..e2130c3b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtemporaryfile.sip @@ -0,0 +1,49 @@ +// qtemporaryfile.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTemporaryFile : QFile +{ +%TypeHeaderCode +#include +%End + +public: + QTemporaryFile(); + explicit QTemporaryFile(const QString &templateName); + explicit QTemporaryFile(QObject *parent /TransferThis/); + QTemporaryFile(const QString &templateName, QObject *parent /TransferThis/); + virtual ~QTemporaryFile(); + bool autoRemove() const; + void setAutoRemove(bool b); + bool open() /ReleaseGIL/; + virtual QString fileName() const; + QString fileTemplate() const; + void setFileTemplate(const QString &name); + static QTemporaryFile *createNativeFile(const QString &fileName) /Factory,ReleaseGIL/; + static QTemporaryFile *createNativeFile(QFile &file) /Factory,ReleaseGIL/; +%If (Qt_5_10_0 -) + bool rename(const QString &newName); +%End + +protected: + virtual bool open(QIODevice::OpenMode flags) /ReleaseGIL/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextboundaryfinder.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextboundaryfinder.sip new file mode 100644 index 00000000..a67058f7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextboundaryfinder.sip @@ -0,0 +1,67 @@ +// qtextboundaryfinder.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextBoundaryFinder +{ +%TypeHeaderCode +#include +%End + +public: + enum BoundaryReason + { + NotAtBoundary, + SoftHyphen, + BreakOpportunity, + StartOfItem, + EndOfItem, + MandatoryBreak, + }; + + typedef QFlags BoundaryReasons; + + enum BoundaryType + { + Grapheme, + Word, + Line, + Sentence, + }; + + QTextBoundaryFinder(); + QTextBoundaryFinder(const QTextBoundaryFinder &other); + QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString &string); + ~QTextBoundaryFinder(); + bool isValid() const; + QTextBoundaryFinder::BoundaryType type() const; + QString string() const; + void toStart(); + void toEnd(); + int position() const; + void setPosition(int position); + int toNextBoundary(); + int toPreviousBoundary(); + bool isAtBoundary() const; + QTextBoundaryFinder::BoundaryReasons boundaryReasons() const; +}; + +QFlags operator|(QTextBoundaryFinder::BoundaryReason f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextcodec.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextcodec.sip new file mode 100644 index 00000000..896c48bf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextcodec.sip @@ -0,0 +1,118 @@ +// qtextcodec.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextCodec /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + static QTextCodec *codecForName(const QByteArray &name); + static QTextCodec *codecForName(const char *name); + static QTextCodec *codecForMib(int mib); + static QTextCodec *codecForHtml(const QByteArray &ba); + static QTextCodec *codecForHtml(const QByteArray &ba, QTextCodec *defaultCodec); + static QTextCodec *codecForUtfText(const QByteArray &ba); + static QTextCodec *codecForUtfText(const QByteArray &ba, QTextCodec *defaultCodec); + static QList availableCodecs(); + static QList availableMibs(); + static QTextCodec *codecForLocale(); + static void setCodecForLocale(QTextCodec *c /KeepReference/); + QTextDecoder *makeDecoder(QTextCodec::ConversionFlags flags = QTextCodec::DefaultConversion) const /Factory/; + QTextEncoder *makeEncoder(QTextCodec::ConversionFlags flags = QTextCodec::DefaultConversion) const /Factory/; + bool canEncode(const QString &) const; + QString toUnicode(const QByteArray &) const; + QString toUnicode(const char *chars /Encoding="None"/) const; + QByteArray fromUnicode(const QString &uc) const; + + enum ConversionFlag + { + DefaultConversion, + ConvertInvalidToNull, + IgnoreHeader, + }; + + typedef QFlags ConversionFlags; + + struct ConverterState + { +%TypeHeaderCode +#include +%End + + ConverterState(QTextCodec::ConversionFlags flags = QTextCodec::DefaultConversion); + ~ConverterState(); + + private: + ConverterState(const QTextCodec::ConverterState &); + }; + + QString toUnicode(const char *in /Array/, int length /ArraySize/, QTextCodec::ConverterState *state = 0) const; + virtual QByteArray name() const = 0; + virtual QList aliases() const; + virtual int mibEnum() const = 0; + +protected: + virtual QString convertToUnicode(const char *in /Array/, int length /ArraySize/, QTextCodec::ConverterState *state) const = 0; + virtual QByteArray convertFromUnicode(const QChar *in /Array/, int length /ArraySize/, QTextCodec::ConverterState *state) const = 0; + QTextCodec() /Transfer/; + virtual ~QTextCodec(); + +private: + QTextCodec(const QTextCodec &); +}; + +QFlags operator|(QTextCodec::ConversionFlag f1, QFlags f2); + +class QTextEncoder /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTextEncoder(const QTextCodec *codec); + QTextEncoder(const QTextCodec *codec, QTextCodec::ConversionFlags flags); + ~QTextEncoder(); + QByteArray fromUnicode(const QString &str); + +private: + QTextEncoder(const QTextEncoder &); +}; + +class QTextDecoder /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTextDecoder(const QTextCodec *codec); + QTextDecoder(const QTextCodec *codec, QTextCodec::ConversionFlags flags); + ~QTextDecoder(); + QString toUnicode(const char *chars /Array/, int len /ArraySize/); + QString toUnicode(const QByteArray &ba); + +private: + QTextDecoder(const QTextDecoder &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextstream.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextstream.sip new file mode 100644 index 00000000..d2cdf25b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtextstream.sip @@ -0,0 +1,183 @@ +// qtextstream.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QTextStream +{ +%TypeHeaderCode +#include +%End + +public: + enum RealNumberNotation + { + SmartNotation, + FixedNotation, + ScientificNotation, + }; + + enum FieldAlignment + { + AlignLeft, + AlignRight, + AlignCenter, + AlignAccountingStyle, + }; + + enum NumberFlag + { + ShowBase, + ForcePoint, + ForceSign, + UppercaseBase, + UppercaseDigits, + }; + + enum Status + { + Ok, + ReadPastEnd, + ReadCorruptData, + WriteFailed, + }; + + typedef QFlags NumberFlags; + QTextStream(); + explicit QTextStream(QIODevice *device); + QTextStream(QByteArray *array /Constrained/, QIODevice::OpenMode mode = QIODevice::ReadWrite); + virtual ~QTextStream(); + void setCodec(QTextCodec *codec /KeepReference/); + void setCodec(const char *codecName); + QTextCodec *codec() const; + void setAutoDetectUnicode(bool enabled); + bool autoDetectUnicode() const; + void setGenerateByteOrderMark(bool generate); + bool generateByteOrderMark() const; + void setDevice(QIODevice *device); + QIODevice *device() const; + bool atEnd() const; + void reset(); + void flush() /ReleaseGIL/; + bool seek(qint64 pos); + void skipWhiteSpace(); + QString read(qint64 maxlen) /ReleaseGIL/; + QString readLine(qint64 maxLength = 0) /ReleaseGIL/; + QString readAll() /ReleaseGIL/; + void setFieldAlignment(QTextStream::FieldAlignment alignment); + QTextStream::FieldAlignment fieldAlignment() const; + void setPadChar(QChar ch); + QChar padChar() const; + void setFieldWidth(int width); + int fieldWidth() const; + void setNumberFlags(QTextStream::NumberFlags flags); + QTextStream::NumberFlags numberFlags() const; + void setIntegerBase(int base); + int integerBase() const; + void setRealNumberNotation(QTextStream::RealNumberNotation notation); + QTextStream::RealNumberNotation realNumberNotation() const; + void setRealNumberPrecision(int precision); + int realNumberPrecision() const; + QTextStream::Status status() const; + void setStatus(QTextStream::Status status); + void resetStatus(); + qint64 pos() const; + QTextStream &operator>>(QByteArray &array /Constrained/); + QTextStream &operator<<(const QString &s); + QTextStream &operator<<(const QByteArray &array); + QTextStream &operator<<(double f /Constrained/); + QTextStream &operator<<(SIP_PYOBJECT i /TypeHint="int"/); +%MethodCode + #if PY_MAJOR_VERSION < 3 + if (PyInt_Check(a1)) + { + qlonglong val = PyInt_AsLong(a1); + + sipRes = &(*a0 << val); + } + else + #endif + { + qlonglong val = sipLong_AsLongLong(a1); + + if (!PyErr_Occurred()) + { + sipRes = &(*a0 << val); + } + else + { + // If it is positive then it might fit an unsigned long long. + + qulonglong uval = sipLong_AsUnsignedLongLong(a1); + + if (!PyErr_Occurred()) + { + sipRes = &(*a0 << uval); + } + else + { + sipError = (PyErr_ExceptionMatches(PyExc_OverflowError) + ? sipErrorFail : sipErrorContinue); + } + } + } +%End + + void setLocale(const QLocale &locale); + QLocale locale() const; + +private: + QTextStream(const QTextStream &); +}; + +QFlags operator|(QTextStream::NumberFlag f1, QFlags f2); +class QTextStreamManipulator; +QTextStream &operator<<(QTextStream &s, QTextStreamManipulator m); +QTextStream &bin(QTextStream &s) /PyName=bin_/; +QTextStream &oct(QTextStream &s) /PyName=oct_/; +QTextStream &dec(QTextStream &s); +QTextStream &hex(QTextStream &s) /PyName=hex_/; +QTextStream &showbase(QTextStream &s); +QTextStream &forcesign(QTextStream &s); +QTextStream &forcepoint(QTextStream &s); +QTextStream &noshowbase(QTextStream &s); +QTextStream &noforcesign(QTextStream &s); +QTextStream &noforcepoint(QTextStream &s); +QTextStream &uppercasebase(QTextStream &s); +QTextStream &uppercasedigits(QTextStream &s); +QTextStream &lowercasebase(QTextStream &s); +QTextStream &lowercasedigits(QTextStream &s); +QTextStream &fixed(QTextStream &s); +QTextStream &scientific(QTextStream &s); +QTextStream &left(QTextStream &s); +QTextStream &right(QTextStream &s); +QTextStream ¢er(QTextStream &s); +QTextStream &endl(QTextStream &s); +QTextStream &flush(QTextStream &s); +QTextStream &reset(QTextStream &s); +QTextStream &bom(QTextStream &s); +QTextStream &ws(QTextStream &s); +QTextStreamManipulator qSetFieldWidth(int width); +QTextStreamManipulator qSetPadChar(QChar ch); +QTextStreamManipulator qSetRealNumberPrecision(int precision); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qthread.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qthread.sip new file mode 100644 index 00000000..3ac1fdb3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qthread.sip @@ -0,0 +1,96 @@ +// qthread.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QThread : QObject +{ +%TypeHeaderCode +#include +%End + +public: + static QThread *currentThread(); + static Qt::HANDLE currentThreadId(); + static int idealThreadCount(); + static void yieldCurrentThread() /ReleaseGIL/; + explicit QThread(QObject *parent /TransferThis/ = 0); + virtual ~QThread(); + + enum Priority + { + IdlePriority, + LowestPriority, + LowPriority, + NormalPriority, + HighPriority, + HighestPriority, + TimeCriticalPriority, + InheritPriority, + }; + + bool isFinished() const; + bool isRunning() const; + void setPriority(QThread::Priority priority); + QThread::Priority priority() const; + void setStackSize(uint stackSize); + uint stackSize() const; + void exit(int returnCode = 0) /ReleaseGIL/; + +public slots: + void start(QThread::Priority priority = QThread::InheritPriority) /ReleaseGIL/; + void terminate(); + void quit(); + +public: + bool wait(unsigned long msecs = ULONG_MAX) /ReleaseGIL/; +%If (Qt_5_15_0 -) + bool wait(QDeadlineTimer deadline) [bool (QDeadlineTimer deadline = QDeadlineTimer(QDeadlineTimer::ForeverConstant::Forever))]; +%End + +signals: + void started(); + void finished(); + +protected: + virtual void run() /NewThread,ReleaseGIL/; + int exec() /PyName=exec_,ReleaseGIL/; +%If (Py_v3) + int exec() /ReleaseGIL/; +%End + static void setTerminationEnabled(bool enabled = true); + +public: + virtual bool event(QEvent *event); + static void sleep(unsigned long) /ReleaseGIL/; + static void msleep(unsigned long) /ReleaseGIL/; + static void usleep(unsigned long) /ReleaseGIL/; + QAbstractEventDispatcher *eventDispatcher() const; + void setEventDispatcher(QAbstractEventDispatcher *eventDispatcher /Transfer/); +%If (Qt_5_2_0 -) + void requestInterruption(); +%End +%If (Qt_5_2_0 -) + bool isInterruptionRequested() const; +%End +%If (Qt_5_5_0 -) + int loopLevel() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qthreadpool.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qthreadpool.sip new file mode 100644 index 00000000..90696aaa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qthreadpool.sip @@ -0,0 +1,144 @@ +// qthreadpool.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QThreadPool : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QThreadPool(QObject *parent /TransferThis/ = 0); + virtual ~QThreadPool(); + static QThreadPool *globalInstance() /KeepReference/; + void start(QRunnable *runnable /GetWrapper/, int priority = 0) /ReleaseGIL/; +%MethodCode + // We have to handle the object ownership manually. + if (a0->autoDelete()) + sipTransferTo(a0Wrapper, sipSelf); + + Py_BEGIN_ALLOW_THREADS + sipCpp->start(a0, a1); + Py_END_ALLOW_THREADS +%End + +%If (Qt_5_15_0 -) + void start(SIP_PYCALLABLE functionToRun /TypeHint="Callable[[], None]"/, int priority = 0) /ReleaseGIL/; +%MethodCode + Py_INCREF(a0); + + Py_BEGIN_ALLOW_THREADS + + sipCpp->start([a0]() { + SIP_BLOCK_THREADS + + PyObject *res; + + res = PyObject_CallObject(a0, NULL); + + Py_DECREF(a0); + + if (res) + Py_DECREF(res); + else + pyqt5_err_print(); + + SIP_UNBLOCK_THREADS + }, a1); + + Py_END_ALLOW_THREADS +%End + +%End + bool tryStart(QRunnable *runnable /GetWrapper/) /ReleaseGIL/; +%MethodCode + // We have to handle the object ownership manually. + if (a0->autoDelete()) + sipTransferTo(a0Wrapper, sipSelf); + + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->tryStart(a0); + Py_END_ALLOW_THREADS +%End + +%If (Qt_5_15_0 -) + bool tryStart(SIP_PYCALLABLE functionToRun /TypeHint="Callable[[], None]"/) /ReleaseGIL/; +%MethodCode + Py_INCREF(a0); + + Py_BEGIN_ALLOW_THREADS + + sipRes = sipCpp->tryStart([a0]() { + SIP_BLOCK_THREADS + + PyObject *res; + + res = PyObject_CallObject(a0, NULL); + + Py_DECREF(a0); + + if (res) + Py_DECREF(res); + else + pyqt5_err_print(); + + SIP_UNBLOCK_THREADS + }); + + Py_END_ALLOW_THREADS +%End + +%End +%If (Qt_5_9_0 -) + bool tryTake(QRunnable *runnable /GetWrapper/) /ReleaseGIL/; +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->tryTake(a0); + Py_END_ALLOW_THREADS + + // We have to handle the object ownership manually. + if (sipRes) + sipTransferBack(a0Wrapper); +%End + +%End + int expiryTimeout() const; + void setExpiryTimeout(int expiryTimeout); + int maxThreadCount() const; + void setMaxThreadCount(int maxThreadCount) /ReleaseGIL/; + int activeThreadCount() const /ReleaseGIL/; + void reserveThread() /ReleaseGIL/; + void releaseThread() /ReleaseGIL/; + bool waitForDone(int msecs = -1) /ReleaseGIL/; +%If (Qt_5_2_0 -) + void clear() /ReleaseGIL/; +%End +%If (Qt_5_5_0 -) + void cancel(QRunnable *runnable) /ReleaseGIL/; +%End +%If (Qt_5_10_0 -) + void setStackSize(uint stackSize); +%End +%If (Qt_5_10_0 -) + uint stackSize() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimeline.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimeline.sip new file mode 100644 index 00000000..a8239beb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimeline.sip @@ -0,0 +1,97 @@ +// qtimeline.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTimeLine : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum CurveShape + { + EaseInCurve, + EaseOutCurve, + EaseInOutCurve, + LinearCurve, + SineCurve, + CosineCurve, + }; + + enum Direction + { + Forward, + Backward, + }; + + enum State + { + NotRunning, + Paused, + Running, + }; + + QTimeLine(int duration = 1000, QObject *parent /TransferThis/ = 0); + virtual ~QTimeLine(); + QTimeLine::State state() const; + int loopCount() const; + void setLoopCount(int count); + QTimeLine::Direction direction() const; + void setDirection(QTimeLine::Direction direction); + int duration() const; + void setDuration(int duration); + int startFrame() const; + void setStartFrame(int frame); + int endFrame() const; + void setEndFrame(int frame); + void setFrameRange(int startFrame, int endFrame); + int updateInterval() const; + void setUpdateInterval(int interval); + QTimeLine::CurveShape curveShape() const; + void setCurveShape(QTimeLine::CurveShape shape); + int currentTime() const; + int currentFrame() const; + qreal currentValue() const; + int frameForTime(int msec) const; + virtual qreal valueForTime(int msec) const; + +public slots: + void resume(); + void setCurrentTime(int msec); + void setPaused(bool paused); + void start(); + void stop(); + void toggleDirection(); + +signals: + void finished(); + void frameChanged(int); + void stateChanged(QTimeLine::State newState); + void valueChanged(qreal x); + +protected: + virtual void timerEvent(QTimerEvent *event); + +public: + QEasingCurve easingCurve() const; + void setEasingCurve(const QEasingCurve &curve); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimer.sip new file mode 100644 index 00000000..8e62357b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimer.sip @@ -0,0 +1,83 @@ +// qtimer.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTimer : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTimer(QObject *parent /TransferThis/ = 0); + virtual ~QTimer(); + bool isActive() const; + int timerId() const; + void setInterval(int msec); + int interval() const; + bool isSingleShot() const; + void setSingleShot(bool asingleShot); + static void singleShot(int msec, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_get_connection_parts(a1, 0, "()", true, &receiver, slot_signature)) == sipErrorNone) + { + QTimer::singleShot(a0, receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(1, a1); + } +%End + + static void singleShot(int msec, Qt::TimerType timerType, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_get_connection_parts(a2, 0, "()", true, &receiver, slot_signature)) == sipErrorNone) + { + QTimer::singleShot(a0, a1, receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(2, a2); + } +%End + +public slots: + void start(int msec); + void start(); + void stop(); + +signals: + void timeout(); + +protected: + virtual void timerEvent(QTimerEvent *); + +public: + void setTimerType(Qt::TimerType atype); + Qt::TimerType timerType() const; + int remainingTime() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimezone.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimezone.sip new file mode 100644 index 00000000..a64b5cbe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtimezone.sip @@ -0,0 +1,111 @@ +// qtimezone.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QTimeZone +{ +%TypeHeaderCode +#include +%End + +public: + enum TimeType + { + StandardTime, + DaylightTime, + GenericTime, + }; + + enum NameType + { + DefaultName, + LongName, + ShortName, + OffsetName, + }; + + struct OffsetData + { +%TypeHeaderCode +#include +%End + + QString abbreviation; + QDateTime atUtc; + int offsetFromUtc; + int standardTimeOffset; + int daylightTimeOffset; + }; + + typedef QVector OffsetDataList; + QTimeZone(); + explicit QTimeZone(const QByteArray &ianaId); + explicit QTimeZone(int offsetSeconds); + QTimeZone(const QByteArray &zoneId, int offsetSeconds, const QString &name, const QString &abbreviation, QLocale::Country country = QLocale::AnyCountry, const QString &comment = QString()); + QTimeZone(const QTimeZone &other); + ~QTimeZone(); + void swap(QTimeZone &other /Constrained/); + bool operator==(const QTimeZone &other) const; + bool operator!=(const QTimeZone &other) const; + bool isValid() const; + QByteArray id() const; + QLocale::Country country() const; + QString comment() const; + QString displayName(const QDateTime &atDateTime, QTimeZone::NameType nameType = QTimeZone::DefaultName, const QLocale &locale = QLocale()) const; + QString displayName(QTimeZone::TimeType timeType, QTimeZone::NameType nameType = QTimeZone::DefaultName, const QLocale &locale = QLocale()) const; + QString abbreviation(const QDateTime &atDateTime) const; + int offsetFromUtc(const QDateTime &atDateTime) const; + int standardTimeOffset(const QDateTime &atDateTime) const; + int daylightTimeOffset(const QDateTime &atDateTime) const; + bool hasDaylightTime() const; + bool isDaylightTime(const QDateTime &atDateTime) const; + QTimeZone::OffsetData offsetData(const QDateTime &forDateTime) const; + bool hasTransitions() const; + QTimeZone::OffsetData nextTransition(const QDateTime &afterDateTime) const; + QTimeZone::OffsetData previousTransition(const QDateTime &beforeDateTime) const; + QTimeZone::OffsetDataList transitions(const QDateTime &fromDateTime, const QDateTime &toDateTime) const; + static QByteArray systemTimeZoneId(); + static bool isTimeZoneIdAvailable(const QByteArray &ianaId); + static QList availableTimeZoneIds(); + static QList availableTimeZoneIds(QLocale::Country country /Constrained/); + static QList availableTimeZoneIds(int offsetSeconds); + static QByteArray ianaIdToWindowsId(const QByteArray &ianaId); + static QByteArray windowsIdToDefaultIanaId(const QByteArray &windowsId); + static QByteArray windowsIdToDefaultIanaId(const QByteArray &windowsId, QLocale::Country country); + static QList windowsIdToIanaIds(const QByteArray &windowsId); + static QList windowsIdToIanaIds(const QByteArray &windowsId, QLocale::Country country); +%If (Qt_5_5_0 -) + static QTimeZone systemTimeZone(); +%End +%If (Qt_5_5_0 -) + static QTimeZone utc(); +%End +}; + +%End +%If (Qt_5_2_0 -) +QDataStream &operator<<(QDataStream &ds, const QTimeZone &tz /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_2_0 -) +QDataStream &operator>>(QDataStream &ds, QTimeZone &tz /Constrained/) /ReleaseGIL/; +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtranslator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtranslator.sip new file mode 100644 index 00000000..5bffbd57 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtranslator.sip @@ -0,0 +1,43 @@ +// qtranslator.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTranslator : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTranslator(QObject *parent /TransferThis/ = 0); + virtual ~QTranslator(); + virtual QString translate(const char *context, const char *sourceText, const char *disambiguation = 0, int n = -1) const; + virtual bool isEmpty() const; + bool load(const QString &fileName, const QString &directory = QString(), const QString &searchDelimiters = QString(), const QString &suffix = QString()) /ReleaseGIL/; + bool load(const QLocale &locale, const QString &fileName, const QString &prefix = QString(), const QString &directory = QString(), const QString &suffix = QString()) /ReleaseGIL/; + bool load(const uchar *data /Array/, int len /ArraySize/, const QString &directory = QString()) /PyName=loadFromData,ReleaseGIL/; +%If (Qt_5_15_0 -) + QString language() const; +%End +%If (Qt_5_15_0 -) + QString filePath() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtransposeproxymodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtransposeproxymodel.sip new file mode 100644 index 00000000..0032b3c3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qtransposeproxymodel.sip @@ -0,0 +1,55 @@ +// qtransposeproxymodel.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_13_0 -) + +class QTransposeProxyModel : QAbstractProxyModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTransposeProxyModel(QObject *parent /TransferThis/ = 0); + virtual ~QTransposeProxyModel(); + virtual void setSourceModel(QAbstractItemModel *newSourceModel /KeepReference/); + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::ItemDataRole::DisplayRole) const; + virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role = Qt::ItemDataRole::EditRole); + virtual bool setItemData(const QModelIndex &index, const QMap &roles); + virtual QSize span(const QModelIndex &index) const; + virtual QMap itemData(const QModelIndex &index) const; + virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const; + virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const; + virtual QModelIndex parent(const QModelIndex &index) const; + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild); + virtual bool insertColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild); + virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qurl.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qurl.sip new file mode 100644 index 00000000..62e073c9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qurl.sip @@ -0,0 +1,308 @@ +// qurl.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +// Template definition for QUrlTwoFlags. +template +class QUrlTwoFlags /PyQtFlagsEnums="E1 E2"/ +{ + // These are handled by the %ConvertToTypeCode. + //QUrlTwoFlags(E1); + //QUrlTwoFlags(E2); + QUrlTwoFlags(); + + QUrlTwoFlags &operator&=(int mask); + //QUrlTwoFlags &operator&=(uint mask); + QUrlTwoFlags &operator|=(QUrlTwoFlags f); + //QUrlTwoFlags &operator|=(E1 f); + //QUrlTwoFlags &operator|=(E2 f); + QUrlTwoFlags &operator^=(QUrlTwoFlags f); + //QUrlTwoFlags &operator^=(E1 f); + //QUrlTwoFlags &operator^=(E2 f); + + operator int() const; + + QUrlTwoFlags operator|(QUrlTwoFlags f) const; + //QUrlTwoFlags operator|(E1 f) const; + //QUrlTwoFlags operator|(E2 f) const; + QUrlTwoFlags operator^(QUrlTwoFlags f) const; + //QUrlTwoFlags operator^(E1 f) const; + //QUrlTwoFlags operator^(E2 f) const; + QUrlTwoFlags operator&(int mask) const; + //QUrlTwoFlags operator&(uint mask) const; + //QUrlTwoFlags operator&(E1 f) const; + //QUrlTwoFlags operator&(E2 f) const; + QUrlTwoFlags operator~() const; + + // These are necessary to prevent Python comparing object IDs. + bool operator==(const QUrlTwoFlags &f) const; +%MethodCode + sipRes = (sipCpp->operator int() == a0->operator int()); +%End + + bool operator!=(const QUrlTwoFlags &f) const; +%MethodCode + sipRes = (sipCpp->operator int() != a0->operator int()); +%End + + int __bool__() const; +%MethodCode + sipRes = (sipCpp->operator int() != 0); +%End + +%ConvertToTypeCode +// Allow an instance of the base enums whenever a QUrlTwoFlags is expected. + +if (sipIsErr == NULL) + return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_E1)) || + PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_E2)) || + sipCanConvertToType(sipPy, sipType_QUrlTwoFlags, SIP_NO_CONVERTORS)); + +if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_E1)) || + PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_E2))) +{ + *sipCppPtr = new QUrlTwoFlags(int(SIPLong_AsLong(sipPy))); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QUrlTwoFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End +}; + +class QUrl +{ +%TypeHeaderCode +#include +%End + +%TypeCode +#include +%End + +public: + enum ParsingMode + { + TolerantMode, + StrictMode, + DecodedMode, + }; + + QUrl(); + QUrl(const QString &url, QUrl::ParsingMode mode = QUrl::TolerantMode); + QUrl(const QUrl ©); + ~QUrl(); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + PyObject *uni = qpycore_PyObject_FromQString(sipCpp->toString()); + + if (uni) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QUrl(%R)", uni); + #else + sipRes = PyString_FromFormat("PyQt5.QtCore.QUrl("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + + Py_DECREF(uni); + } +%End + + enum UrlFormattingOption + { + None /PyName=None_/, + RemoveScheme, + RemovePassword, + RemoveUserInfo, + RemovePort, + RemoveAuthority, + RemovePath, + RemoveQuery, + RemoveFragment, + PreferLocalFile, + StripTrailingSlash, +%If (Qt_5_2_0 -) + RemoveFilename, +%End +%If (Qt_5_2_0 -) + NormalizePathSegments, +%End + }; + + typedef QUrlTwoFlags FormattingOptions; + + enum ComponentFormattingOption + { + PrettyDecoded, + EncodeSpaces, + EncodeUnicode, + EncodeDelimiters, + EncodeReserved, + DecodeReserved, + FullyEncoded, + FullyDecoded, + }; + + typedef QFlags ComponentFormattingOptions; + QString url(QUrlTwoFlags options = QUrl::PrettyDecoded) const; + void setUrl(const QString &url, QUrl::ParsingMode mode = QUrl::TolerantMode); + bool isValid() const; + bool isEmpty() const; + void clear(); + void setScheme(const QString &scheme); + QString scheme() const; + void setAuthority(const QString &authority, QUrl::ParsingMode mode = QUrl::TolerantMode); + QString authority(QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + void setUserInfo(const QString &userInfo, QUrl::ParsingMode mode = QUrl::TolerantMode); + QString userInfo(QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; +%If (Qt_5_2_0 -) + void setUserName(const QString &userName, QUrl::ParsingMode mode = QUrl::DecodedMode); +%End +%If (- Qt_5_2_0) + void setUserName(const QString &userName, QUrl::ParsingMode mode = QUrl::TolerantMode); +%End +%If (Qt_5_2_0 -) + QString userName(QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; +%End +%If (- Qt_5_2_0) + QString userName(QFlags options = QUrl::PrettyDecoded) const; +%End +%If (Qt_5_2_0 -) + void setPassword(const QString &password, QUrl::ParsingMode mode = QUrl::DecodedMode); +%End +%If (- Qt_5_2_0) + void setPassword(const QString &password, QUrl::ParsingMode mode = QUrl::TolerantMode); +%End +%If (Qt_5_2_0 -) + QString password(QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; +%End +%If (- Qt_5_2_0) + QString password(QFlags options = QUrl::PrettyDecoded) const; +%End +%If (Qt_5_2_0 -) + void setHost(const QString &host, QUrl::ParsingMode mode = QUrl::DecodedMode); +%End +%If (- Qt_5_2_0) + void setHost(const QString &host, QUrl::ParsingMode mode = QUrl::TolerantMode); +%End +%If (Qt_5_2_0 -) + QString host(QUrl::ComponentFormattingOptions = QUrl::FullyDecoded) const; +%End +%If (- Qt_5_2_0) + QString host(QFlags options = QUrl::PrettyDecoded) const; +%End + void setPort(int port); + int port(int defaultPort = -1) const; +%If (Qt_5_2_0 -) + void setPath(const QString &path, QUrl::ParsingMode mode = QUrl::DecodedMode); +%End +%If (- Qt_5_2_0) + void setPath(const QString &path, QUrl::ParsingMode mode = QUrl::TolerantMode); +%End +%If (Qt_5_2_0 -) + QString path(QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; +%End +%If (- Qt_5_2_0) + QString path(QFlags options = QUrl::PrettyDecoded) const; +%End + void setFragment(const QString &fragment, QUrl::ParsingMode mode = QUrl::TolerantMode); + QString fragment(QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + QUrl resolved(const QUrl &relative) const; + bool isRelative() const; + bool isParentOf(const QUrl &url) const; + static QUrl fromLocalFile(const QString &localfile); + QString toLocalFile() const; + QString toString(QUrlTwoFlags options = QUrl::PrettyDecoded) const; + QByteArray toEncoded(QUrlTwoFlags options = QUrl::FullyEncoded) const; + static QUrl fromEncoded(const QByteArray &u, QUrl::ParsingMode mode = QUrl::TolerantMode); + void detach(); + bool isDetached() const; + bool operator<(const QUrl &url) const; + bool operator==(const QUrl &url) const; + bool operator!=(const QUrl &url) const; + static QString fromPercentEncoding(const QByteArray &); + static QByteArray toPercentEncoding(const QString &input, const QByteArray &exclude = QByteArray(), const QByteArray &include = QByteArray()); + bool hasQuery() const; + bool hasFragment() const; + QString errorString() const; + static QString fromAce(const QByteArray &); + static QByteArray toAce(const QString &); + static QStringList idnWhitelist(); + static void setIdnWhitelist(const QStringList &); + static QUrl fromUserInput(const QString &userInput); + void swap(QUrl &other /Constrained/); +%If (Qt_5_2_0 -) + QString topLevelDomain(QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; +%End +%If (- Qt_5_2_0) + QString topLevelDomain(QFlags options = QUrl::PrettyDecoded) const; +%End + bool isLocalFile() const; + QString toDisplayString(QUrlTwoFlags options = QUrl::PrettyDecoded) const; + void setQuery(const QString &query, QUrl::ParsingMode mode = QUrl::TolerantMode); + void setQuery(const QUrlQuery &query); + QString query(QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; +%If (Qt_5_1_0 -) + static QStringList toStringList(const QList &uris, QUrlTwoFlags options = QUrl::PrettyDecoded); +%End +%If (Qt_5_1_0 -) + static QList fromStringList(const QStringList &uris, QUrl::ParsingMode mode = QUrl::TolerantMode); +%End +%If (Qt_5_2_0 -) + QUrl adjusted(QUrl::FormattingOptions options) const; +%End +%If (Qt_5_2_0 -) + QString fileName(QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; +%End +%If (Qt_5_2_0 -) + bool matches(const QUrl &url, QUrl::FormattingOptions options) const; +%End +%If (Qt_5_4_0 -) + + enum UserInputResolutionOption + { + DefaultResolution, + AssumeLocalFile, + }; + +%End +%If (Qt_5_4_0 -) + typedef QFlags UserInputResolutionOptions; +%End +%If (Qt_5_4_0 -) + static QUrl fromUserInput(const QString &userInput, const QString &workingDirectory, QUrl::UserInputResolutionOptions options = QUrl::DefaultResolution); +%End +}; + +QFlags operator|(QUrl::ComponentFormattingOption f1, QFlags f2); +QDataStream &operator<<(QDataStream &, const QUrl & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QUrl & /Constrained/) /ReleaseGIL/; +QUrlTwoFlags operator|(QUrl::UrlFormattingOption f1, QUrlTwoFlags f2); +QUrlTwoFlags operator|(QUrl::ComponentFormattingOption f, QUrlTwoFlags i); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qurlquery.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qurlquery.sip new file mode 100644 index 00000000..2769a4b9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qurlquery.sip @@ -0,0 +1,64 @@ +// qurlquery.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QUrlQuery +{ +%TypeHeaderCode +#include +%End + +public: + QUrlQuery(); + explicit QUrlQuery(const QUrl &url); + explicit QUrlQuery(const QString &queryString); + QUrlQuery(const QUrlQuery &other); + ~QUrlQuery(); + bool operator==(const QUrlQuery &other) const; + bool operator!=(const QUrlQuery &other) const; + void swap(QUrlQuery &other /Constrained/); + bool isEmpty() const; + bool isDetached() const; + void clear(); + QString query(QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + void setQuery(const QString &queryString); + QString toString(QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + void setQueryDelimiters(QChar valueDelimiter, QChar pairDelimiter); + QChar queryValueDelimiter() const; + QChar queryPairDelimiter() const; + void setQueryItems(const QList> &query); + QList> queryItems(QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + bool hasQueryItem(const QString &key) const; + void addQueryItem(const QString &key, const QString &value); + void removeQueryItem(const QString &key); + QString queryItemValue(const QString &key, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + QStringList allQueryItemValues(const QString &key, QUrl::ComponentFormattingOptions options = QUrl::PrettyDecoded) const; + void removeAllQueryItems(const QString &key); + static QChar defaultQueryValueDelimiter(); + static QChar defaultQueryPairDelimiter(); +%If (Qt_5_6_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/quuid.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/quuid.sip new file mode 100644 index 00000000..cb5a1894 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/quuid.sip @@ -0,0 +1,118 @@ +// quuid.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QUuid +{ +%TypeHeaderCode +#include +%End + +public: + enum Variant + { + VarUnknown, + NCS, + DCE, + Microsoft, + Reserved, + }; + + enum Version + { + VerUnknown, + Time, + EmbeddedPOSIX, + Md5, + Name, + Random, + Sha1, + }; + +%If (Qt_5_11_0 -) + + enum StringFormat + { + WithBraces, + WithoutBraces, + Id128, + }; + +%End + QUuid(); + QUuid(uint l, ushort w1, ushort w2, uchar b1 /PyInt/, uchar b2 /PyInt/, uchar b3 /PyInt/, uchar b4 /PyInt/, uchar b5 /PyInt/, uchar b6 /PyInt/, uchar b7 /PyInt/, uchar b8 /PyInt/); + QUuid(const QString &); + QUuid(const QByteArray &); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + PyObject *uni = qpycore_PyObject_FromQString(sipCpp->toString()); + + if (uni) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QUuid(%R)", uni); + #else + sipRes = PyString_FromFormat("PyQt5.QtCore.QUuid("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + + Py_DECREF(uni); + } +%End + + QString toString() const; +%If (Qt_5_11_0 -) + QString toString(QUuid::StringFormat mode) const; +%End + bool isNull() const; + bool operator==(const QUuid &orig) const; + bool operator!=(const QUuid &orig) const; + bool operator<(const QUuid &other) const; + bool operator>(const QUuid &other) const; + static QUuid createUuid(); + static QUuid createUuidV3(const QUuid &ns, const QByteArray &baseData); + static QUuid createUuidV5(const QUuid &ns, const QByteArray &baseData); + static QUuid createUuidV3(const QUuid &ns, const QString &baseData); + static QUuid createUuidV5(const QUuid &ns, const QString &baseData); + QUuid::Variant variant() const; + QUuid::Version version() const; + QByteArray toByteArray() const; +%If (Qt_5_11_0 -) + QByteArray toByteArray(QUuid::StringFormat mode) const; +%End + QByteArray toRfc4122() const; + static QUuid fromRfc4122(const QByteArray &); +}; + +QDataStream &operator<<(QDataStream &, const QUuid & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QUuid & /Constrained/) /ReleaseGIL/; +%If (Qt_5_5_0 -) +bool operator<=(const QUuid &lhs, const QUuid &rhs); +%End +%If (Qt_5_5_0 -) +bool operator>=(const QUuid &lhs, const QUuid &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qvariant.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qvariant.sip new file mode 100644 index 00000000..b485fb03 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qvariant.sip @@ -0,0 +1,177 @@ +// qvariant.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVariant /AllowNone,TypeHint="Any",TypeHintValue="None"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +if (sipIsErr == NULL) + // We can convert everything to a QVariant. + return 1; + +// If it is already a QVariant then just return it. +if (Py_TYPE(sipPy) == sipTypeAsPyTypeObject(sipType_QVariant)) +{ + *sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, + sipType_QVariant, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + + return 0; +} + +// Convert it to a QVariant. +QVariant var = qpycore_PyObject_AsQVariant(sipPy, sipIsErr); + +if (*sipIsErr) + return 0; + +*sipCppPtr = new QVariant(var); + +return sipGetState(sipTransferObj); +%End + +%ConvertFromTypeCode +return qpycore_PyObject_FromQVariant(*sipCpp); +%End + +public: + enum Type + { + Invalid, + Bool, + Int, + UInt, + LongLong, + ULongLong, + Double, + Char, + Map, + List, + String, + StringList, + ByteArray, + BitArray, + Date, + Time, + DateTime, + Url, + Locale, + Rect, + RectF, + Size, + SizeF, + Line, + LineF, + Point, + PointF, + RegExp, + Font, + Pixmap, + Brush, + Color, + Palette, + Icon, + Image, + Polygon, + Region, + Bitmap, + Cursor, + SizePolicy, + KeySequence, + Pen, + TextLength, + TextFormat, + Matrix, + Transform, + Hash, + Matrix4x4, + Vector2D, + Vector3D, + Vector4D, + Quaternion, + EasingCurve, + Uuid, + ModelIndex, + PolygonF, + RegularExpression, +%If (Qt_5_5_0 -) + PersistentModelIndex, +%End + UserType, + }; + + QVariant(); + QVariant(QVariant::Type type /Constrained/); + QVariant(SIP_PYOBJECT obj); +%MethodCode + int is_err = 0; + QVariant var = qpycore_PyObject_AsQVariant(a0, &is_err); + + if (is_err) + sipCpp = 0; + else + sipCpp = new QVariant(var); +%End + + ~QVariant(); + SIP_PYOBJECT value() const; +%MethodCode + sipRes = qpycore_PyObject_FromQVariant(*sipCpp); +%End + + QVariant::Type type() const; + int userType() const; + const char *typeName() const; + bool canConvert(int targetTypeId) const; + bool convert(int targetTypeId); + bool isValid() const; + bool isNull() const; + void clear(); + void load(QDataStream &ds) /ReleaseGIL/; + void save(QDataStream &ds) const /ReleaseGIL/; + static const char *typeToName(int typeId); + static QVariant::Type nameToType(const char *name); + bool operator==(const QVariant &v) const; + bool operator!=(const QVariant &v) const; + void swap(QVariant &other /Constrained/); +%If (Qt_5_2_0 -) + bool operator<(const QVariant &v) const; +%End +%If (Qt_5_2_0 -) + bool operator<=(const QVariant &v) const; +%End +%If (Qt_5_2_0 -) + bool operator>(const QVariant &v) const; +%End +%If (Qt_5_2_0 -) + bool operator>=(const QVariant &v) const; +%End +}; + +typedef QList QVariantList /TypeHint="List[QVariant]"/; +typedef QHash QVariantHash /TypeHint="Dict[QString, QVariant]"/; +QDataStream &operator>>(QDataStream &s, QVariant &p /Constrained/) /ReleaseGIL/; +QDataStream &operator<<(QDataStream &s, const QVariant &p /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &s, QVariant::Type &p /Constrained,In/) /ReleaseGIL/; +QDataStream &operator<<(QDataStream &s, const QVariant::Type p /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qvariantanimation.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qvariantanimation.sip new file mode 100644 index 00000000..7a3d5769 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qvariantanimation.sip @@ -0,0 +1,57 @@ +// qvariantanimation.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVariantAnimation : QAbstractAnimation +{ +%TypeHeaderCode +#include +%End + + typedef QVector> KeyValues; + +public: + QVariantAnimation(QObject *parent /TransferThis/ = 0); + virtual ~QVariantAnimation(); + QVariant startValue() const; + void setStartValue(const QVariant &value); + QVariant endValue() const; + void setEndValue(const QVariant &value); + QVariant keyValueAt(qreal step) const; + void setKeyValueAt(qreal step, const QVariant &value); + QVariantAnimation::KeyValues keyValues() const; + void setKeyValues(const QVariantAnimation::KeyValues &values); + QVariant currentValue() const; + virtual int duration() const; + void setDuration(int msecs); + QEasingCurve easingCurve() const; + void setEasingCurve(const QEasingCurve &easing); + +signals: + void valueChanged(const QVariant &value); + +protected: + virtual bool event(QEvent *event); + virtual void updateCurrentTime(int); + virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); + virtual void updateCurrentValue(const QVariant &value); + virtual QVariant interpolated(const QVariant &from, const QVariant &to, qreal progress) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qversionnumber.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qversionnumber.sip new file mode 100644 index 00000000..70246e49 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qversionnumber.sip @@ -0,0 +1,81 @@ +// qversionnumber.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_6_0 -) +QDataStream &operator<<(QDataStream &out, const QVersionNumber &version /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_6_0 -) +QDataStream &operator>>(QDataStream &in, QVersionNumber &version /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_6_0 -) + +class QVersionNumber +{ +%TypeHeaderCode +#include +%End + +public: + QVersionNumber(); + explicit QVersionNumber(const QVector &seg); + explicit QVersionNumber(int maj); + QVersionNumber(int maj, int min); + QVersionNumber(int maj, int min, int mic); + bool isNull() const; + bool isNormalized() const; + int majorVersion() const; + int minorVersion() const; + int microVersion() const; + QVersionNumber normalized() const; + QVector segments() const; + int segmentAt(int index) const; + int segmentCount() const; + bool isPrefixOf(const QVersionNumber &other) const; + static int compare(const QVersionNumber &v1, const QVersionNumber &v2); + static QVersionNumber commonPrefix(const QVersionNumber &v1, const QVersionNumber &v2); + QString toString() const; + static QVersionNumber fromString(const QString &string, int *suffixIndex = 0); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +%End +%If (Qt_5_6_0 -) +bool operator>(const QVersionNumber &lhs, const QVersionNumber &rhs); +%End +%If (Qt_5_6_0 -) +bool operator>=(const QVersionNumber &lhs, const QVersionNumber &rhs); +%End +%If (Qt_5_6_0 -) +bool operator<(const QVersionNumber &lhs, const QVersionNumber &rhs); +%End +%If (Qt_5_6_0 -) +bool operator<=(const QVersionNumber &lhs, const QVersionNumber &rhs); +%End +%If (Qt_5_6_0 -) +bool operator==(const QVersionNumber &lhs, const QVersionNumber &rhs); +%End +%If (Qt_5_6_0 -) +bool operator!=(const QVersionNumber &lhs, const QVersionNumber &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qwaitcondition.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qwaitcondition.sip new file mode 100644 index 00000000..aa108edb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qwaitcondition.sip @@ -0,0 +1,45 @@ +// qwaitcondition.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QWaitCondition +{ +%TypeHeaderCode +#include +%End + +public: + QWaitCondition(); + ~QWaitCondition(); + bool wait(QMutex *mutex, unsigned long msecs = ULONG_MAX) /ReleaseGIL/; +%If (Qt_5_12_0 -) + bool wait(QMutex *lockedMutex, QDeadlineTimer deadline) /ReleaseGIL/; +%End + bool wait(QReadWriteLock *readWriteLock, unsigned long msecs = ULONG_MAX) /ReleaseGIL/; +%If (Qt_5_12_0 -) + bool wait(QReadWriteLock *lockedReadWriteLock, QDeadlineTimer deadline) /ReleaseGIL/; +%End + void wakeOne(); + void wakeAll(); + +private: + QWaitCondition(const QWaitCondition &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qwineventnotifier.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qwineventnotifier.sip new file mode 100644 index 00000000..a2a95c02 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qwineventnotifier.sip @@ -0,0 +1,54 @@ +// This is the SIP specification of the QWinEventNotifier class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (WS_WIN) + +// This hack is for the activated() signal. +typedef Qt::HANDLE HANDLE; + +class QWinEventNotifier: QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWinEventNotifier(QObject *parent /TransferThis/ = 0); + explicit QWinEventNotifier(Qt::HANDLE hEvent, QObject *parent /TransferThis/ = 0); + ~QWinEventNotifier(); + + Qt::HANDLE handle() const; + bool isEnabled() const; + void setHandle(Qt::HANDLE hEvent); + +public slots: + void setEnabled(bool enable); + +signals: + void activated(HANDLE hEvent); + +protected: + bool event(QEvent *e); + +private: + QWinEventNotifier(const QWinEventNotifier &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qxmlstream.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qxmlstream.sip new file mode 100644 index 00000000..7a6f5d02 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtCore/qxmlstream.sip @@ -0,0 +1,448 @@ +// qxmlstream.sip generated by MetaSIP +// +// This file is part of the QtCore Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlStreamAttribute +{ +%TypeHeaderCode +#include +%End + +public: + QXmlStreamAttribute(); + QXmlStreamAttribute(const QString &qualifiedName, const QString &value); + QXmlStreamAttribute(const QString &namespaceUri, const QString &name, const QString &value); + QXmlStreamAttribute(const QXmlStreamAttribute &); + ~QXmlStreamAttribute(); + QStringRef namespaceUri() const; + QStringRef name() const; + QStringRef qualifiedName() const; + QStringRef prefix() const; + QStringRef value() const; + bool isDefault() const; + bool operator==(const QXmlStreamAttribute &other) const; + bool operator!=(const QXmlStreamAttribute &other) const; +}; + +class QXmlStreamAttributes +{ +%TypeHeaderCode +#include +%End + +public: + QXmlStreamAttributes(); + QStringRef value(const QString &namespaceUri, const QString &name) const; + QStringRef value(const QString &qualifiedName) const; + void append(const QString &namespaceUri, const QString &name, const QString &value); + void append(const QString &qualifiedName, const QString &value); + void append(const QXmlStreamAttribute &attribute); + bool hasAttribute(const QString &qualifiedName) const; + bool hasAttribute(const QString &namespaceUri, const QString &name) const; +// Methods inherited from QVector and Python special methods. +// Keep in sync with QPolygon and QPolygonF. + +// This is picked up with "using" by QXmlStreamAttributes. +//void append(const QXmlStreamAttribute &value); + +const QXmlStreamAttribute &at(int i) const; +void clear(); +bool contains(const QXmlStreamAttribute &value) const; +int count(const QXmlStreamAttribute &value) const; +int count() const /__len__/; +void *data(); + +// Note the Qt return value is discarded as it would require handwritten code +// and seems pretty useless. +void fill(const QXmlStreamAttribute &value, int size = -1); + +QXmlStreamAttribute &first(); +int indexOf(const QXmlStreamAttribute &value, int from = 0) const; +void insert(int i, const QXmlStreamAttribute &value); +bool isEmpty() const; +QXmlStreamAttribute &last(); +int lastIndexOf(const QXmlStreamAttribute &value, int from = -1) const; + +// Note the Qt return type is QVector. We can't do the +// usual trick because there is no QXmlStreamAttributes ctor that takes a +// QVector argument. We could use handwritten code but we +// don't bother. +//QXmlStreamAttributes mid(int pos, int length = -1) const; + +void prepend(const QXmlStreamAttribute &value); +void remove(int i); +void remove(int i, int count); +void replace(int i, const QXmlStreamAttribute &value); +int size() const; + +// These are hidden by other implementations in QXmlStreamAttributes. +//QXmlStreamAttribute value(int i) const; +//QXmlStreamAttribute value(int i, const QXmlStreamAttribute &defaultValue) const; + +bool operator!=(const QXmlStreamAttributes &other) const; + +// Note the Qt return type is QVector. We can't do the +// usual trick because there is no QXmlStreamAttributes ctor that takes a +// QVector argument. We could use handwritten code but we +// don't bother. +//QXmlStreamAttributes operator+(const QXmlStreamAttributes &other) const; + +QXmlStreamAttributes &operator+=(const QXmlStreamAttributes &other); +QXmlStreamAttributes &operator+=(const QXmlStreamAttribute &value); + +bool operator==(const QXmlStreamAttributes &other) const; + +QXmlStreamAttribute &operator[](int i); +%MethodCode +Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + +if (idx < 0) + sipIsErr = 1; +else + sipRes = &sipCpp->operator[]((int)idx); +%End + +// Some additional Python special methods. + +void __setitem__(int i, const QXmlStreamAttribute &value); +%MethodCode +int len; + +len = sipCpp->count(); + +if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0) + sipIsErr = 1; +else + (*sipCpp)[a0] = *a1; +%End + +void __setitem__(SIP_PYSLICE slice, const QXmlStreamAttributes &list); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + int vlen = a1->count(); + + if (vlen != slicelength) + { + sipBadLengthForSlice(vlen, slicelength); + sipIsErr = 1; + } + else + { + QVector::const_iterator it = a1->begin(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipCpp)[start] = *it; + start += step; + ++it; + } + } +} +%End + +void __delitem__(int i); +%MethodCode +if ((a0 = (int)sipConvertFromSequenceIndex(a0, sipCpp->count())) < 0) + sipIsErr = 1; +else + sipCpp->remove(a0); +%End + +void __delitem__(SIP_PYSLICE slice); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + sipCpp->remove(start); + start += step - 1; + } +} +%End + +QXmlStreamAttributes operator[](SIP_PYSLICE slice); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + sipRes = new QXmlStreamAttributes(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipRes) += (*sipCpp)[start]; + start += step; + } +} +%End + +int __contains__(const QXmlStreamAttribute &value); +%MethodCode +// It looks like you can't assign QBool to int. +sipRes = bool(sipCpp->contains(*a0)); +%End +}; + +class QXmlStreamNamespaceDeclaration +{ +%TypeHeaderCode +#include +%End + +public: + QXmlStreamNamespaceDeclaration(); + QXmlStreamNamespaceDeclaration(const QXmlStreamNamespaceDeclaration &); + QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri); + ~QXmlStreamNamespaceDeclaration(); + QStringRef prefix() const; + QStringRef namespaceUri() const; + bool operator==(const QXmlStreamNamespaceDeclaration &other) const; + bool operator!=(const QXmlStreamNamespaceDeclaration &other) const; +}; + +typedef QVector QXmlStreamNamespaceDeclarations; + +class QXmlStreamNotationDeclaration +{ +%TypeHeaderCode +#include +%End + +public: + QXmlStreamNotationDeclaration(); + QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration &); + ~QXmlStreamNotationDeclaration(); + QStringRef name() const; + QStringRef systemId() const; + QStringRef publicId() const; + bool operator==(const QXmlStreamNotationDeclaration &other) const; + bool operator!=(const QXmlStreamNotationDeclaration &other) const; +}; + +typedef QVector QXmlStreamNotationDeclarations; + +class QXmlStreamEntityDeclaration +{ +%TypeHeaderCode +#include +%End + +public: + QXmlStreamEntityDeclaration(); + QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration &); + ~QXmlStreamEntityDeclaration(); + QStringRef name() const; + QStringRef notationName() const; + QStringRef systemId() const; + QStringRef publicId() const; + QStringRef value() const; + bool operator==(const QXmlStreamEntityDeclaration &other) const; + bool operator!=(const QXmlStreamEntityDeclaration &other) const; +}; + +typedef QVector QXmlStreamEntityDeclarations; + +class QXmlStreamEntityResolver +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QXmlStreamEntityResolver(); + virtual QString resolveUndeclaredEntity(const QString &name); +}; + +class QXmlStreamReader +{ +%TypeHeaderCode +#include +%End + +public: + enum TokenType + { + NoToken, + Invalid, + StartDocument, + EndDocument, + StartElement, + EndElement, + Characters, + Comment, + DTD, + EntityReference, + ProcessingInstruction, + }; + + QXmlStreamReader(); + explicit QXmlStreamReader(QIODevice *device); + explicit QXmlStreamReader(const QByteArray &data); + explicit QXmlStreamReader(const QString &data); + ~QXmlStreamReader(); + void setDevice(QIODevice *device); + QIODevice *device() const; + void addData(const QByteArray &data); + void addData(const QString &data); + void clear(); + bool atEnd() const; + QXmlStreamReader::TokenType readNext(); + QXmlStreamReader::TokenType tokenType() const; + QString tokenString() const; + void setNamespaceProcessing(bool); + bool namespaceProcessing() const; + bool isStartDocument() const; + bool isEndDocument() const; + bool isStartElement() const; + bool isEndElement() const; + bool isCharacters() const; + bool isWhitespace() const; + bool isCDATA() const; + bool isComment() const; + bool isDTD() const; + bool isEntityReference() const; + bool isProcessingInstruction() const; + bool isStandaloneDocument() const; + QStringRef documentVersion() const; + QStringRef documentEncoding() const; + qint64 lineNumber() const; + qint64 columnNumber() const; + qint64 characterOffset() const; + QXmlStreamAttributes attributes() const; + + enum ReadElementTextBehaviour + { + ErrorOnUnexpectedElement, + IncludeChildElements, + SkipChildElements, + }; + + QString readElementText(QXmlStreamReader::ReadElementTextBehaviour behaviour = QXmlStreamReader::ErrorOnUnexpectedElement); + QStringRef name() const; + QStringRef namespaceUri() const; + QStringRef qualifiedName() const; + QStringRef prefix() const; + QStringRef processingInstructionTarget() const; + QStringRef processingInstructionData() const; + QStringRef text() const; + QXmlStreamNamespaceDeclarations namespaceDeclarations() const; + void addExtraNamespaceDeclaration(const QXmlStreamNamespaceDeclaration &extraNamespaceDeclaraction); + void addExtraNamespaceDeclarations(const QXmlStreamNamespaceDeclarations &extraNamespaceDeclaractions); + QXmlStreamNotationDeclarations notationDeclarations() const; + QXmlStreamEntityDeclarations entityDeclarations() const; + QStringRef dtdName() const; + QStringRef dtdPublicId() const; + QStringRef dtdSystemId() const; + + enum Error + { + NoError, + UnexpectedElementError, + CustomError, + NotWellFormedError, + PrematureEndOfDocumentError, + }; + + void raiseError(const QString &message = QString()); + QString errorString() const; + QXmlStreamReader::Error error() const; + bool hasError() const; + void setEntityResolver(QXmlStreamEntityResolver *resolver /KeepReference/); + QXmlStreamEntityResolver *entityResolver() const; + bool readNextStartElement(); + void skipCurrentElement(); +%If (Qt_5_15_0 -) + int entityExpansionLimit() const; +%End +%If (Qt_5_15_0 -) + void setEntityExpansionLimit(int limit); +%End + +private: + QXmlStreamReader(const QXmlStreamReader &); +}; + +class QXmlStreamWriter +{ +%TypeHeaderCode +#include +%End + +public: + QXmlStreamWriter(); + explicit QXmlStreamWriter(QIODevice *device); + explicit QXmlStreamWriter(QByteArray *array); + ~QXmlStreamWriter(); + void setDevice(QIODevice *device); + QIODevice *device() const; + void setCodec(QTextCodec *codec /KeepReference/); + void setCodec(const char *codecName); + QTextCodec *codec() const; + void setAutoFormatting(bool); + bool autoFormatting() const; + void setAutoFormattingIndent(int spaces); + int autoFormattingIndent() const; + void writeAttribute(const QString &qualifiedName, const QString &value); + void writeAttribute(const QString &namespaceUri, const QString &name, const QString &value); + void writeAttribute(const QXmlStreamAttribute &attribute); + void writeAttributes(const QXmlStreamAttributes &attributes); + void writeCDATA(const QString &text); + void writeCharacters(const QString &text); + void writeComment(const QString &text); + void writeDTD(const QString &dtd); + void writeEmptyElement(const QString &qualifiedName); + void writeEmptyElement(const QString &namespaceUri, const QString &name); + void writeTextElement(const QString &qualifiedName, const QString &text); + void writeTextElement(const QString &namespaceUri, const QString &name, const QString &text); + void writeEndDocument(); + void writeEndElement(); + void writeEntityReference(const QString &name); + void writeNamespace(const QString &namespaceUri, const QString &prefix = QString()); + void writeDefaultNamespace(const QString &namespaceUri); + void writeProcessingInstruction(const QString &target, const QString &data = QString()); + void writeStartDocument(); + void writeStartDocument(const QString &version); + void writeStartDocument(const QString &version, bool standalone); + void writeStartElement(const QString &qualifiedName); + void writeStartElement(const QString &namespaceUri, const QString &name); + void writeCurrentToken(const QXmlStreamReader &reader); + bool hasError() const; + +private: + QXmlStreamWriter(const QXmlStreamWriter &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/QtDBus.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/QtDBus.toml new file mode 100644 index 00000000..9cf3791e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/QtDBus.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtDBus. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/QtDBusmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/QtDBusmod.sip new file mode 100644 index 00000000..c954792c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/QtDBusmod.sip @@ -0,0 +1,61 @@ +// QtDBusmod.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtDBus, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qdbusabstractadaptor.sip +%Include qdbusabstractinterface.sip +%Include qdbusargument.sip +%Include qdbusconnection.sip +%Include qdbusconnectioninterface.sip +%Include qdbuserror.sip +%Include qdbusextratypes.sip +%Include qdbusinterface.sip +%Include qdbusmessage.sip +%Include qdbuspendingcall.sip +%Include qdbusservicewatcher.sip +%Include qdbusunixfiledescriptor.sip +%Include qpydbuspendingreply.sip +%Include qpydbusreply.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusabstractadaptor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusabstractadaptor.sip new file mode 100644 index 00000000..20ececb6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusabstractadaptor.sip @@ -0,0 +1,38 @@ +// qdbusabstractadaptor.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusAbstractAdaptor : QObject +{ +%TypeHeaderCode +#include +%End + +protected: + explicit QDBusAbstractAdaptor(QObject *parent /TransferThis/); + +public: + virtual ~QDBusAbstractAdaptor(); + +protected: + void setAutoRelaySignals(bool enable); + bool autoRelaySignals() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusabstractinterface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusabstractinterface.sip new file mode 100644 index 00000000..b98c58bb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusabstractinterface.sip @@ -0,0 +1,159 @@ +// qdbusabstractinterface.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusAbstractInterface : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QDBusPendingCallWatcher, &sipType_QDBusPendingCallWatcher, -1, 1}, + {sipName_QDBusAbstractAdaptor, &sipType_QDBusAbstractAdaptor, -1, 2}, + {sipName_QDBusAbstractInterface, &sipType_QDBusAbstractInterface, 4, 3}, + {sipName_QDBusServiceWatcher, &sipType_QDBusServiceWatcher, -1, -1}, + {sipName_QDBusConnectionInterface, &sipType_QDBusConnectionInterface, -1, 5}, + {sipName_QDBusInterface, &sipType_QDBusInterface, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + virtual ~QDBusAbstractInterface(); + bool isValid() const; + QDBusConnection connection() const; + QString service() const; + QString path() const; + QString interface() const; + QDBusError lastError() const; + void setTimeout(int timeout); + int timeout() const; + QDBusMessage call(const QString &method, const QVariant &arg1 = QVariant(), const QVariant &arg2 = QVariant(), const QVariant &arg3 = QVariant(), const QVariant &arg4 = QVariant(), const QVariant &arg5 = QVariant(), const QVariant &arg6 = QVariant(), const QVariant &arg7 = QVariant(), const QVariant &arg8 = QVariant()) /ReleaseGIL/; + QDBusMessage call(QDBus::CallMode mode, const QString &method, const QVariant &arg1 = QVariant(), const QVariant &arg2 = QVariant(), const QVariant &arg3 = QVariant(), const QVariant &arg4 = QVariant(), const QVariant &arg5 = QVariant(), const QVariant &arg6 = QVariant(), const QVariant &arg7 = QVariant(), const QVariant &arg8 = QVariant()) /ReleaseGIL/; + QDBusMessage callWithArgumentList(QDBus::CallMode mode, const QString &method, const QList &args) /ReleaseGIL/; + bool callWithCallback(const QString &method, const QList &args, SIP_PYOBJECT returnMethod /TypeHint="PYQT_SLOT"/, SIP_PYOBJECT errorMethod /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray return_slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a2, &receiver, return_slot)) == sipErrorNone) + { + QObject *error_receiver; + QByteArray error_slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a3, &error_receiver, error_slot)) == sipErrorNone) + { + if (receiver == error_receiver) + { + sipRes = sipCpp->callWithCallback(*a0, *a1, receiver, return_slot.constData(), error_slot.constData()); + } + else + { + PyErr_SetString(PyExc_ValueError, + "the return and error methods must be bound to the same QObject instance"); + sipError = sipErrorFail; + } + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(3, a3); + } + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(2, a2); + } +%End + + bool callWithCallback(const QString &method, QList &args, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a2, &receiver, slot)) == sipErrorNone) + { + sipRes = sipCpp->callWithCallback(*a0, *a1, receiver, slot.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(2, a2); + } +%End + + QDBusPendingCall asyncCall(const QString &method, const QVariant &arg1 = QVariant(), const QVariant &arg2 = QVariant(), const QVariant &arg3 = QVariant(), const QVariant &arg4 = QVariant(), const QVariant &arg5 = QVariant(), const QVariant &arg6 = QVariant(), const QVariant &arg7 = QVariant(), const QVariant &arg8 = QVariant()); + QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList &args); + +protected: + QDBusAbstractInterface(const QString &service, const QString &path, const char *interface, const QDBusConnection &connection, QObject *parent /TransferThis/); + virtual void connectNotify(const QMetaMethod &signal); + virtual void disconnectNotify(const QMetaMethod &signal); +}; + +%ModuleHeaderCode +#include "qpydbus_api.h" + +// Imports from QtCore. +typedef PyObject *(*pyqt5_qtdbus_from_qvariant_by_type_t)(QVariant &, PyObject *); +extern pyqt5_qtdbus_from_qvariant_by_type_t pyqt5_qtdbus_from_qvariant_by_type; + +typedef sipErrorState (*pyqt5_qtdbus_get_pyqtslot_parts_t)(PyObject *, QObject **, QByteArray &); +extern pyqt5_qtdbus_get_pyqtslot_parts_t pyqt5_qtdbus_get_pyqtslot_parts; +%End + +%ModuleCode +// Imports from QtCore. +pyqt5_qtdbus_from_qvariant_by_type_t pyqt5_qtdbus_from_qvariant_by_type; +pyqt5_qtdbus_get_pyqtslot_parts_t pyqt5_qtdbus_get_pyqtslot_parts; +%End + +%PostInitialisationCode +qpydbus_post_init(); + +// Imports from QtCore. +pyqt5_qtdbus_from_qvariant_by_type = (pyqt5_qtdbus_from_qvariant_by_type_t)sipImportSymbol("pyqt5_from_qvariant_by_type"); +Q_ASSERT(pyqt5_qtdbus_from_qvariant_by_type); + +pyqt5_qtdbus_get_pyqtslot_parts = (pyqt5_qtdbus_get_pyqtslot_parts_t)sipImportSymbol("pyqt5_get_pyqtslot_parts"); +Q_ASSERT(pyqt5_qtdbus_get_pyqtslot_parts); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusargument.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusargument.sip new file mode 100644 index 00000000..10636ae1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusargument.sip @@ -0,0 +1,187 @@ +// qdbusargument.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusArgument +{ +%TypeHeaderCode +#include +%End + +%TypeCode +#include + + +static PyObject *qdbusargument_add(QDBusArgument *arg, PyObject *obj, int mtype) +{ + int iserr = 0; + + if (PyLong_CheckExact(obj) +#if PY_MAJOR_VERSION < 3 + || PyInt_CheckExact(obj) +#endif + ) + { + if (mtype == QMetaType::UChar || mtype == QMetaType::UShort || mtype == QMetaType::UInt || mtype == QMetaType::ULongLong) + { + // Handle the unsigned values. +#if defined(HAVE_LONG_LONG) + unsigned PY_LONG_LONG v = PyLong_AsUnsignedLongLongMask(obj); +#else + unsigned long v = PyLong_AsUnsignedLongMask(obj); +#endif + + switch (mtype) + { + case QMetaType::UChar: + *arg << (uchar)v; + break; + + case QMetaType::UShort: + *arg << (ushort)v; + break; + + case QMetaType::UInt: + *arg << (uint)v; + break; + + case QMetaType::ULongLong: + *arg << (qulonglong)v; + break; + } + } + else if (mtype == QMetaType::Short || mtype == QMetaType::Int || mtype == QMetaType::LongLong) + { + // Handle the signed values. +#if defined(HAVE_LONG_LONG) + PY_LONG_LONG v = PyLong_AsLongLong(obj); +#else + long v = PyLong_AsLong(obj); +#endif + + switch (mtype) + { + case QMetaType::Short: + *arg << (short)v; + break; + + case QMetaType::Int: + *arg << (int)v; + break; + + case QMetaType::LongLong: + *arg << (qlonglong)v; + break; + } + } + else + { + PyErr_Format(PyExc_ValueError, + "%d is an invalid QMetaType::Type for an integer object", + mtype); + iserr = 1; + } + } + else if (mtype == QMetaType::QStringList) + { + // A QStringList has to be handled explicitly to prevent it being seen + // as a vialiant list. + + int value_state; + + QStringList *qsl = reinterpret_cast( + sipForceConvertToType(obj, sipType_QStringList, 0, + SIP_NOT_NONE, &value_state, &iserr)); + + if (!iserr) + { + arg->beginArray(QMetaType::QString); + + for (int i = 0; i < qsl->count(); ++i) + *arg << qsl->at(i); + + arg->endArray(); + + sipReleaseType(qsl, sipType_QStringList, value_state); + } + } + else + { + int value_state; + + QVariant *qv = reinterpret_cast( + sipForceConvertToType(obj, sipType_QVariant, 0, SIP_NOT_NONE, + &value_state, &iserr)); + + if (!iserr) + { + // This is an internal method. If it proves to be a problem then we + // will have to handle each type explicitly. + arg->appendVariant(*qv); + sipReleaseType(qv, sipType_QVariant, value_state); + } + } + + if (iserr) + return 0; + + Py_INCREF(Py_None); + return Py_None; +} +%End + +public: + QDBusArgument(); + QDBusArgument(const QDBusArgument &other); + QDBusArgument(SIP_PYOBJECT arg, int id = QMetaType::Int); +%MethodCode + sipCpp = new QDBusArgument(); + PyObject *res = qdbusargument_add(sipCpp, a0, a1); + + if (res) + { + Py_DECREF(res); + } + else + { + delete sipCpp; + sipCpp = 0; + } +%End + + ~QDBusArgument(); + SIP_PYOBJECT add(SIP_PYOBJECT arg, int id = QMetaType::Int) /TypeHint=""/; +%MethodCode + sipRes = qdbusargument_add(sipCpp, a0, a1); +%End + + void beginStructure(); + void endStructure(); + void beginArray(int id); + void endArray(); + void beginMap(int kid, int vid); + void endMap(); + void beginMapEntry(); + void endMapEntry(); +%If (Qt_5_6_0 -) + void swap(QDBusArgument &other /Constrained/); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusconnection.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusconnection.sip new file mode 100644 index 00000000..fe112bf9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusconnection.sip @@ -0,0 +1,262 @@ +// qdbusconnection.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QDBus +{ +%TypeHeaderCode +#include +%End + + enum CallMode + { + NoBlock, + Block, + BlockWithGui, + AutoDetect, + }; +}; + +class QDBusConnection +{ +%TypeHeaderCode +#include +%End + +public: + enum BusType + { + SessionBus, + SystemBus, + ActivationBus, + }; + + enum RegisterOption + { + ExportAdaptors, + ExportScriptableSlots, + ExportScriptableSignals, + ExportScriptableProperties, + ExportScriptableInvokables, + ExportScriptableContents, + ExportNonScriptableSlots, + ExportNonScriptableSignals, + ExportNonScriptableProperties, + ExportNonScriptableInvokables, + ExportNonScriptableContents, + ExportAllSlots, + ExportAllSignals, + ExportAllProperties, + ExportAllInvokables, + ExportAllContents, + ExportAllSignal, + ExportChildObjects, + }; + + enum UnregisterMode + { + UnregisterNode, + UnregisterTree, + }; + + typedef QFlags RegisterOptions; + + enum ConnectionCapability + { + UnixFileDescriptorPassing, + }; + + typedef QFlags ConnectionCapabilities; + explicit QDBusConnection(const QString &name); + QDBusConnection(const QDBusConnection &other); + ~QDBusConnection(); + bool isConnected() const; + QString baseService() const; + QDBusError lastError() const; + QString name() const; + QDBusConnection::ConnectionCapabilities connectionCapabilities() const; + bool send(const QDBusMessage &message) const; + bool callWithCallback(const QDBusMessage &message, SIP_PYOBJECT returnMethod /TypeHint="PYQT_SLOT"/, SIP_PYOBJECT errorMethod /TypeHint="PYQT_SLOT"/, int timeout = -1) const; +%MethodCode + QObject *receiver; + QByteArray return_slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a1, &receiver, return_slot)) == sipErrorNone) + { + QObject *error_receiver; + QByteArray error_slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a2, &error_receiver, error_slot)) == sipErrorNone) + { + if (receiver == error_receiver) + { + sipRes = sipCpp->callWithCallback(*a0, receiver, return_slot.constData(), error_slot.constData(), a3); + } + else + { + PyErr_SetString(PyExc_ValueError, + "the return and error methods must be bound to the same QObject instance"); + sipError = sipErrorFail; + } + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(2, a2); + } + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(1, a1); + } +%End + + QDBusMessage call(const QDBusMessage &message, QDBus::CallMode mode = QDBus::Block, int timeout = -1) const /ReleaseGIL/; + QDBusPendingCall asyncCall(const QDBusMessage &message, int timeout = -1) const; + bool connect(const QString &service, const QString &path, const QString &interface, const QString &name, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /ReleaseGIL/; +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a4, &receiver, slot)) == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, receiver, slot.constData()); + Py_END_ALLOW_THREADS + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(4, a4); + } +%End + + bool connect(const QString &service, const QString &path, const QString &interface, const QString &name, const QString &signature, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /ReleaseGIL/; +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a5, &receiver, slot)) == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, *a4, receiver, slot.constData()); + Py_END_ALLOW_THREADS + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(5, a5); + } +%End + + bool connect(const QString &service, const QString &path, const QString &interface, const QString &name, const QStringList &argumentMatch, const QString &signature, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /ReleaseGIL/; +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a6, &receiver, slot)) == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, *a4, *a5, receiver, slot.constData()); + Py_END_ALLOW_THREADS + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(6, a6); + } +%End + + bool disconnect(const QString &service, const QString &path, const QString &interface, const QString &name, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /ReleaseGIL/; +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a4, &receiver, slot)) == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, receiver, slot.constData()); + Py_END_ALLOW_THREADS + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(4, a4); + } +%End + + bool disconnect(const QString &service, const QString &path, const QString &interface, const QString &name, const QString &signature, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /ReleaseGIL/; +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a5, &receiver, slot)) == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, *a4, receiver, slot.constData()); + Py_END_ALLOW_THREADS + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(5, a5); + } +%End + + bool disconnect(const QString &service, const QString &path, const QString &interface, const QString &name, const QStringList &argumentMatch, const QString &signature, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /ReleaseGIL/; +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtdbus_get_pyqtslot_parts(a6, &receiver, slot)) == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, *a4, *a5, receiver, slot.constData()); + Py_END_ALLOW_THREADS + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(6, a6); + } +%End + + bool registerObject(const QString &path, QObject *object, QDBusConnection::RegisterOptions options = QDBusConnection::ExportAdaptors); +%If (Qt_5_5_0 -) + bool registerObject(const QString &path, const QString &interface, QObject *object, QDBusConnection::RegisterOptions options = QDBusConnection::ExportAdaptors); +%End + void unregisterObject(const QString &path, QDBusConnection::UnregisterMode mode = QDBusConnection::UnregisterNode); + QObject *objectRegisteredAt(const QString &path) const; + bool registerService(const QString &serviceName); + bool unregisterService(const QString &serviceName); + QDBusConnectionInterface *interface() const; + static QDBusConnection connectToBus(QDBusConnection::BusType type, const QString &name) /ReleaseGIL/; + static QDBusConnection connectToBus(const QString &address, const QString &name) /ReleaseGIL/; + static QDBusConnection connectToPeer(const QString &address, const QString &name) /ReleaseGIL/; + static void disconnectFromBus(const QString &name) /ReleaseGIL/; + static void disconnectFromPeer(const QString &name) /ReleaseGIL/; + static QByteArray localMachineId(); + static QDBusConnection sessionBus(); + static QDBusConnection systemBus(); + static QDBusConnection sender(); +%If (Qt_5_6_0 -) + void swap(QDBusConnection &other /Constrained/); +%End +}; + +QFlags operator|(QDBusConnection::RegisterOption f1, QFlags f2); +QFlags operator|(QDBusConnection::RegisterOption f1, QDBusConnection::RegisterOption f2); +%If (Qt_5_6_0 -) +QFlags operator|(QDBusConnection::ConnectionCapability f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusconnectioninterface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusconnectioninterface.sip new file mode 100644 index 00000000..4aebdaff --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusconnectioninterface.sip @@ -0,0 +1,74 @@ +// qdbusconnectioninterface.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusConnectionInterface : QDBusAbstractInterface +{ +%TypeHeaderCode +#include +%End + + QDBusConnectionInterface(const QDBusConnection &connection, QObject *parent /TransferThis/); + virtual ~QDBusConnectionInterface(); + +public: + enum ServiceQueueOptions + { + DontQueueService, + QueueService, + ReplaceExistingService, + }; + + enum ServiceReplacementOptions + { + DontAllowReplacement, + AllowReplacement, + }; + + enum RegisterServiceReply + { + ServiceNotRegistered, + ServiceRegistered, + ServiceQueued, + }; + + QDBusReply registeredServiceNames() const /ReleaseGIL/; +%If (Qt_5_14_0 -) + QDBusReply activatableServiceNames() const /ReleaseGIL/; +%End + QDBusReply isServiceRegistered(const QString &serviceName) const /ReleaseGIL/; + QDBusReply serviceOwner(const QString &name) const /ReleaseGIL/; + QDBusReply unregisterService(const QString &serviceName) /ReleaseGIL/; + QDBusReply registerService(const QString &serviceName, QDBusConnectionInterface::ServiceQueueOptions qoption = QDBusConnectionInterface::DontQueueService, QDBusConnectionInterface::ServiceReplacementOptions roption = QDBusConnectionInterface::DontAllowReplacement) /ReleaseGIL/; + QDBusReply servicePid(const QString &serviceName) const /ReleaseGIL/; + QDBusReply serviceUid(const QString &serviceName) const /ReleaseGIL/; + QDBusReply startService(const QString &name) /ReleaseGIL/; + +signals: + void serviceRegistered(const QString &service); + void serviceUnregistered(const QString &service); + void serviceOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner); + void callWithCallbackFailed(const QDBusError &error, const QDBusMessage &call); + +protected: + virtual void connectNotify(const QMetaMethod &); + virtual void disconnectNotify(const QMetaMethod &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbuserror.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbuserror.sip new file mode 100644 index 00000000..5972ceef --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbuserror.sip @@ -0,0 +1,71 @@ +// qdbuserror.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusError +{ +%TypeHeaderCode +#include +%End + +public: + enum ErrorType + { + NoError, + Other, + Failed, + NoMemory, + ServiceUnknown, + NoReply, + BadAddress, + NotSupported, + LimitsExceeded, + AccessDenied, + NoServer, + Timeout, + NoNetwork, + AddressInUse, + Disconnected, + InvalidArgs, + UnknownMethod, + TimedOut, + InvalidSignature, + UnknownInterface, + InternalError, + UnknownObject, + InvalidService, + InvalidObjectPath, + InvalidInterface, + InvalidMember, + UnknownProperty, + PropertyReadOnly, + }; + + QDBusError(const QDBusError &other); + QDBusError::ErrorType type() const; + QString name() const; + QString message() const; + bool isValid() const; + static QString errorString(QDBusError::ErrorType error); +%If (Qt_5_6_0 -) + void swap(QDBusError &other /Constrained/); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusextratypes.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusextratypes.sip new file mode 100644 index 00000000..0137142e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusextratypes.sip @@ -0,0 +1,89 @@ +// qdbusextratypes.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusObjectPath +{ +%TypeHeaderCode +#include +%End + +public: + QDBusObjectPath(); + explicit QDBusObjectPath(const QString &objectPath); + QString path() const; + void setPath(const QString &objectPath); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp, 0); +%End + +%If (Qt_5_6_0 -) + void swap(QDBusObjectPath &other /Constrained/); +%End +}; + +bool operator==(const QDBusObjectPath &lhs, const QDBusObjectPath &rhs); +bool operator!=(const QDBusObjectPath &lhs, const QDBusObjectPath &rhs); +bool operator<(const QDBusObjectPath &lhs, const QDBusObjectPath &rhs); + +class QDBusSignature +{ +%TypeHeaderCode +#include +%End + +public: + QDBusSignature(); + explicit QDBusSignature(const QString &dBusSignature); + QString signature() const; + void setSignature(const QString &dBusSignature); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp, 0); +%End + +%If (Qt_5_6_0 -) + void swap(QDBusSignature &other /Constrained/); +%End +}; + +bool operator==(const QDBusSignature &lhs, const QDBusSignature &rhs); +bool operator!=(const QDBusSignature &lhs, const QDBusSignature &rhs); +bool operator<(const QDBusSignature &lhs, const QDBusSignature &rhs); + +class QDBusVariant +{ +%TypeHeaderCode +#include +%End + +public: + QDBusVariant(); + explicit QDBusVariant(const QVariant &dBusVariant); + QVariant variant() const; + void setVariant(const QVariant &dBusVariant); +%If (Qt_5_6_0 -) + void swap(QDBusVariant &other /Constrained/); +%End +}; + +bool operator==(const QDBusVariant &v1, const QDBusVariant &v2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusinterface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusinterface.sip new file mode 100644 index 00000000..5b45fcdf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusinterface.sip @@ -0,0 +1,32 @@ +// qdbusinterface.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusInterface : QDBusAbstractInterface +{ +%TypeHeaderCode +#include +%End + +public: + QDBusInterface(const QString &service, const QString &path, const QString &interface = QString(), const QDBusConnection &connection = QDBusConnection::sessionBus(), QObject *parent /TransferThis/ = 0); + virtual ~QDBusInterface(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusmessage.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusmessage.sip new file mode 100644 index 00000000..29d9d10f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusmessage.sip @@ -0,0 +1,80 @@ +// qdbusmessage.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusMessage +{ +%TypeHeaderCode +#include +%End + +public: + enum MessageType + { + InvalidMessage, + MethodCallMessage, + ReplyMessage, + ErrorMessage, + SignalMessage, + }; + + QDBusMessage(); + QDBusMessage(const QDBusMessage &other); + ~QDBusMessage(); + static QDBusMessage createSignal(const QString &path, const QString &interface, const QString &name); + static QDBusMessage createMethodCall(const QString &service, const QString &path, const QString &interface, const QString &method); + static QDBusMessage createError(const QString &name, const QString &msg); + static QDBusMessage createError(const QDBusError &error); + static QDBusMessage createError(QDBusError::ErrorType type, const QString &msg); + QDBusMessage createReply(const QList &arguments = QList()) const; + QDBusMessage createReply(const QVariant &argument) const; + QDBusMessage createErrorReply(const QString name, const QString &msg) const; + QDBusMessage createErrorReply(const QDBusError &error) const; + QDBusMessage createErrorReply(QDBusError::ErrorType type, const QString &msg) const; + QString service() const; + QString path() const; + QString interface() const; + QString member() const; + QString errorName() const; + QString errorMessage() const; + QDBusMessage::MessageType type() const; + QString signature() const; + bool isReplyRequired() const; + void setDelayedReply(bool enable) const; + bool isDelayedReply() const; + void setAutoStartService(bool enable); + bool autoStartService() const; + void setArguments(const QList &arguments); + QList arguments() const; + QDBusMessage &operator<<(const QVariant &arg); +%If (Qt_5_6_0 -) + void swap(QDBusMessage &other /Constrained/); +%End +%If (Qt_5_6_0 -) + static QDBusMessage createTargetedSignal(const QString &service, const QString &path, const QString &interface, const QString &name); +%End +%If (Qt_5_12_0 -) + void setInteractiveAuthorizationAllowed(bool enable); +%End +%If (Qt_5_12_0 -) + bool isInteractiveAuthorizationAllowed() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbuspendingcall.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbuspendingcall.sip new file mode 100644 index 00000000..34959bc2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbuspendingcall.sip @@ -0,0 +1,59 @@ +// qdbuspendingcall.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusPendingCall +{ +%TypeHeaderCode +#include +%End + +public: + QDBusPendingCall(const QDBusPendingCall &other); + ~QDBusPendingCall(); + static QDBusPendingCall fromError(const QDBusError &error); + static QDBusPendingCall fromCompletedCall(const QDBusMessage &message); + void swap(QDBusPendingCall &other /Constrained/); + +private: + QDBusPendingCall(); +}; + +class QDBusPendingCallWatcher : QObject, QDBusPendingCall +{ +%TypeHeaderCode +#include +%End + +public: + QDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent /TransferThis/ = 0); + virtual ~QDBusPendingCallWatcher(); + bool isFinished() const; + void waitForFinished() /ReleaseGIL/; + +signals: +%If (- Qt_5_6_0) + void finished(QDBusPendingCallWatcher *watcher); +%End +%If (Qt_5_6_0 -) + void finished(QDBusPendingCallWatcher *watcher = 0); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusservicewatcher.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusservicewatcher.sip new file mode 100644 index 00000000..36c9ebbf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusservicewatcher.sip @@ -0,0 +1,57 @@ +// qdbusservicewatcher.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusServiceWatcher : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum WatchModeFlag + { + WatchForRegistration, + WatchForUnregistration, + WatchForOwnerChange, + }; + + typedef QFlags WatchMode; + explicit QDBusServiceWatcher(QObject *parent /TransferThis/ = 0); + QDBusServiceWatcher(const QString &service, const QDBusConnection &connection, QDBusServiceWatcher::WatchMode watchMode = QDBusServiceWatcher::WatchForOwnerChange, QObject *parent /TransferThis/ = 0); + virtual ~QDBusServiceWatcher(); + QStringList watchedServices() const; + void setWatchedServices(const QStringList &services); + void addWatchedService(const QString &newService); + bool removeWatchedService(const QString &service); + QDBusServiceWatcher::WatchMode watchMode() const; + void setWatchMode(QDBusServiceWatcher::WatchMode mode); + QDBusConnection connection() const; + void setConnection(const QDBusConnection &connection); + +signals: + void serviceRegistered(const QString &service); + void serviceUnregistered(const QString &service); + void serviceOwnerChanged(const QString &service, const QString &oldOwner, const QString &newOwner); +}; + +QFlags operator|(QDBusServiceWatcher::WatchModeFlag f1, QFlags f2); +QFlags operator|(QDBusServiceWatcher::WatchModeFlag f1, QDBusServiceWatcher::WatchModeFlag f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusunixfiledescriptor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusunixfiledescriptor.sip new file mode 100644 index 00000000..46538b5f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qdbusunixfiledescriptor.sip @@ -0,0 +1,39 @@ +// qdbusunixfiledescriptor.sip generated by MetaSIP +// +// This file is part of the QtDBus Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDBusUnixFileDescriptor +{ +%TypeHeaderCode +#include +%End + +public: + QDBusUnixFileDescriptor(); + explicit QDBusUnixFileDescriptor(int fileDescriptor); + QDBusUnixFileDescriptor(const QDBusUnixFileDescriptor &other); + ~QDBusUnixFileDescriptor(); + bool isValid() const; + int fileDescriptor() const; + void setFileDescriptor(int fileDescriptor); + static bool isSupported(); + void swap(QDBusUnixFileDescriptor &other /Constrained/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qpydbuspendingreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qpydbuspendingreply.sip new file mode 100644 index 00000000..78700d79 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qpydbuspendingreply.sip @@ -0,0 +1,44 @@ +// This is the SIP specification of the QPyDBusPendingReply class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPyDBusPendingReply : QDBusPendingCall /PyName=QDBusPendingReply/ +{ +%TypeHeaderCode +#include +%End + +public: + QPyDBusPendingReply(); + QPyDBusPendingReply(const QPyDBusPendingReply &other); + QPyDBusPendingReply(const QDBusPendingCall &call); + QPyDBusPendingReply(const QDBusMessage &reply); + + // The /ReleaseGIL/ annotation is needed because QDBusPendingCall has an + // internal mutex. + QVariant argumentAt(int index) const /ReleaseGIL/; + QDBusError error() const /ReleaseGIL/; + bool isError() const /ReleaseGIL/; + bool isFinished() const /ReleaseGIL/; + bool isValid() const /ReleaseGIL/; + QDBusMessage reply() const /ReleaseGIL/; + void waitForFinished() /ReleaseGIL/; + + SIP_PYOBJECT value(SIP_PYOBJECT type /TypeHintValue="None"/ = 0) const /HoldGIL/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qpydbusreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qpydbusreply.sip new file mode 100644 index 00000000..0eb9ac05 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDBus/qpydbusreply.sip @@ -0,0 +1,238 @@ +// This is the SIP specification of the QPyDBusReply class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPyDBusReply /PyName=QDBusReply/ +{ +%TypeHeaderCode +#include +%End + +public: + QPyDBusReply(const QDBusMessage &reply) /HoldGIL/; + QPyDBusReply(const QDBusPendingCall &call) /HoldGIL/; + QPyDBusReply(const QDBusError &error); + QPyDBusReply(const QPyDBusReply &other) /HoldGIL/; + ~QPyDBusReply() /HoldGIL/; + + const QDBusError &error() const /HoldGIL/; + bool isValid() const /HoldGIL/; + SIP_PYOBJECT value(SIP_PYOBJECT type /TypeHintValue="None"/ = 0) const /HoldGIL/; +}; + + +template +%MappedType QDBusReply /TypeHint="QDBusReply"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + PyObject *value_obj; + + if (sipCpp->isValid()) + { + // Convert the value to a Python object. + TYPE *value = new TYPE(sipCpp->value()); + + if ((value_obj = sipConvertFromNewType(value, sipType_TYPE, NULL)) == NULL) + { + delete value; + return NULL; + } + } + else + { + value_obj = 0; + } + + QPyDBusReply *reply = new QPyDBusReply(value_obj, + sipCpp->isValid(), sipCpp->error()); + + PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj); + + if (reply_obj == NULL) + { + delete reply; + return NULL; + } + + return reply_obj; +%End + +%ConvertToTypeCode + // We never create a QDBusReply from Python. + return 0; +%End +}; + + +%MappedType QDBusReply /TypeHint="QDBusReply"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + Py_INCREF(Py_None); + QPyDBusReply *reply = new QPyDBusReply(Py_None, + sipCpp->isValid(), sipCpp->error()); + + PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj); + + if (reply_obj == NULL) + { + delete reply; + return NULL; + } + + return reply_obj; +%End + +%ConvertToTypeCode + // We never create a QDBusReply from Python. + return 0; +%End +}; + + +%MappedType QDBusReply /TypeHint="QDBusReply"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + PyObject *value_obj; + + if (sipCpp->isValid()) + { + if ((value_obj = PyBool_FromLong(sipCpp->value())) == NULL) + return NULL; + } + else + { + value_obj = 0; + } + + QPyDBusReply *reply = new QPyDBusReply(value_obj, + sipCpp->isValid(), sipCpp->error()); + + PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj); + + if (reply_obj == NULL) + { + delete reply; + return NULL; + } + + return reply_obj; +%End + +%ConvertToTypeCode + // We never create a QDBusReply from Python. + return 0; +%End +}; + + +%MappedType QDBusReply /TypeHint="QDBusReply"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + PyObject *value_obj; + + if (sipCpp->isValid()) + { + if ((value_obj = PyLong_FromUnsignedLong(sipCpp->value())) == NULL) + return NULL; + } + else + { + value_obj = 0; + } + + QPyDBusReply *reply = new QPyDBusReply(value_obj, + sipCpp->isValid(), sipCpp->error()); + + PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj); + + if (reply_obj == NULL) + { + delete reply; + return NULL; + } + + return reply_obj; +%End + +%ConvertToTypeCode + // We never create a QDBusReply from Python. + return 0; +%End +}; + + +%MappedType QDBusReply /TypeHint="QDBusReply"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + PyObject *value_obj; + + if (sipCpp->isValid()) + { + if ((value_obj = sipConvertFromEnum(sipCpp->value(), sipType_QDBusConnectionInterface_RegisterServiceReply)) == NULL) + return NULL; + } + else + { + value_obj = 0; + } + + QPyDBusReply *reply = new QPyDBusReply(value_obj, + sipCpp->isValid(), sipCpp->error()); + + PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj); + + if (reply_obj == NULL) + { + delete reply; + return NULL; + } + + return reply_obj; +%End + +%ConvertToTypeCode + // We never create a QDBusReply from Python. + return 0; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/QtDesigner.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/QtDesigner.toml new file mode 100644 index 00000000..a493be4f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/QtDesigner.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtDesigner. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/QtDesignermod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/QtDesignermod.sip new file mode 100644 index 00000000..f1de4bc5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/QtDesignermod.sip @@ -0,0 +1,72 @@ +// QtDesignermod.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtDesigner, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include abstractactioneditor.sip +%Include abstractformbuilder.sip +%Include abstractformeditor.sip +%Include abstractformwindow.sip +%Include abstractformwindowcursor.sip +%Include abstractformwindowmanager.sip +%Include abstractobjectinspector.sip +%Include abstractpropertyeditor.sip +%Include abstractwidgetbox.sip +%Include container.sip +%Include customwidget.sip +%Include default_extensionfactory.sip +%Include extension.sip +%Include formbuilder.sip +%Include membersheet.sip +%Include propertysheet.sip +%Include qextensionmanager.sip +%Include taskmenu.sip +%Include qpydesignercontainerextension.sip +%Include qpydesignercustomwidgetcollectionplugin.sip +%Include qpydesignercustomwidgetplugin.sip +%Include qpydesignermembersheetextension.sip +%Include qpydesignerpropertysheetextension.sip +%Include qpydesignertaskmenuextension.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractactioneditor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractactioneditor.sip new file mode 100644 index 00000000..31582e40 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractactioneditor.sip @@ -0,0 +1,38 @@ +// abstractactioneditor.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerActionEditorInterface : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QDesignerActionEditorInterface(QWidget *parent /TransferThis/, Qt::WindowFlags flags = 0); + virtual ~QDesignerActionEditorInterface(); + virtual QDesignerFormEditorInterface *core() const; + virtual void manageAction(QAction *action) = 0; + virtual void unmanageAction(QAction *action) = 0; + +public slots: + virtual void setFormWindow(QDesignerFormWindowInterface *formWindow /KeepReference/) = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformbuilder.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformbuilder.sip new file mode 100644 index 00000000..0f12076e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformbuilder.sip @@ -0,0 +1,40 @@ +// abstractformbuilder.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractFormBuilder +{ +%TypeHeaderCode +#include +%End + +public: + QAbstractFormBuilder(); + virtual ~QAbstractFormBuilder(); + virtual QWidget *load(QIODevice *device, QWidget *parent /TransferThis/ = 0) /Factory/; + virtual void save(QIODevice *dev, QWidget *widget); + void setWorkingDirectory(const QDir &directory); + QDir workingDirectory() const; + QString errorString() const; + +private: + QAbstractFormBuilder(const QAbstractFormBuilder &other); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformeditor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformeditor.sip new file mode 100644 index 00000000..9801e8fc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformeditor.sip @@ -0,0 +1,51 @@ +// abstractformeditor.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerFormEditorInterface : QObject +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_1 -) + explicit QDesignerFormEditorInterface(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QDesignerFormEditorInterface(QObject *parent /TransferThis/ = 0); +%End + virtual ~QDesignerFormEditorInterface(); + QExtensionManager *extensionManager() const; + QWidget *topLevel() const; + QDesignerWidgetBoxInterface *widgetBox() const; + QDesignerPropertyEditorInterface *propertyEditor() const; + QDesignerObjectInspectorInterface *objectInspector() const; + QDesignerFormWindowManagerInterface *formWindowManager() const; + QDesignerActionEditorInterface *actionEditor() const; + void setWidgetBox(QDesignerWidgetBoxInterface *widgetBox /KeepReference/); + void setPropertyEditor(QDesignerPropertyEditorInterface *propertyEditor /KeepReference/); + void setObjectInspector(QDesignerObjectInspectorInterface *objectInspector /KeepReference/); + void setActionEditor(QDesignerActionEditorInterface *actionEditor /KeepReference/); + +private: + QDesignerFormEditorInterface(const QDesignerFormEditorInterface &other); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindow.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindow.sip new file mode 100644 index 00000000..26e8d146 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindow.sip @@ -0,0 +1,106 @@ +// abstractformwindow.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerFormWindowInterface : QWidget /Abstract/ +{ +%TypeHeaderCode +#include +%End + +public: + enum FeatureFlag + { + EditFeature, + GridFeature, + TabOrderFeature, + DefaultFeature, + }; + + typedef QFlags Feature; + QDesignerFormWindowInterface(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0); + virtual ~QDesignerFormWindowInterface(); + virtual QString fileName() const = 0; + virtual QDir absoluteDir() const = 0; + virtual QString contents() const = 0; + virtual bool setContents(QIODevice *dev, QString *errorMessage = 0) = 0; + virtual QDesignerFormWindowInterface::Feature features() const = 0; + virtual bool hasFeature(QDesignerFormWindowInterface::Feature f) const = 0; + virtual QString author() const = 0; + virtual void setAuthor(const QString &author) = 0; + virtual QString comment() const = 0; + virtual void setComment(const QString &comment) = 0; + virtual void layoutDefault(int *margin, int *spacing) = 0; + virtual void setLayoutDefault(int margin, int spacing) = 0; + virtual void layoutFunction(QString *margin /Out/, QString *spacing /Out/) = 0; + virtual void setLayoutFunction(const QString &margin, const QString &spacing) = 0; + virtual QString pixmapFunction() const = 0; + virtual void setPixmapFunction(const QString &pixmapFunction) = 0; + virtual QString exportMacro() const = 0; + virtual void setExportMacro(const QString &exportMacro) = 0; + virtual QStringList includeHints() const = 0; + virtual void setIncludeHints(const QStringList &includeHints) = 0; + virtual QDesignerFormEditorInterface *core() const; + virtual QDesignerFormWindowCursorInterface *cursor() const = 0; + virtual QPoint grid() const = 0; + virtual QWidget *mainContainer() const = 0; + virtual void setMainContainer(QWidget *mainContainer /KeepReference/) = 0; + virtual bool isManaged(QWidget *widget) const = 0; + virtual bool isDirty() const = 0; + static QDesignerFormWindowInterface *findFormWindow(QWidget *w); + static QDesignerFormWindowInterface *findFormWindow(QObject *obj); + virtual void emitSelectionChanged() = 0; + virtual QStringList resourceFiles() const = 0; + virtual void addResourceFile(const QString &path) = 0; + virtual void removeResourceFile(const QString &path) = 0; + +public slots: + virtual void manageWidget(QWidget *widget) = 0; + virtual void unmanageWidget(QWidget *widget) = 0; + virtual void setFeatures(QDesignerFormWindowInterface::Feature f) = 0; + virtual void setDirty(bool dirty) = 0; + virtual void clearSelection(bool update = true) = 0; + virtual void selectWidget(QWidget *widget, bool select = true) = 0; + virtual void setGrid(const QPoint &grid) = 0; + virtual void setFileName(const QString &fileName) = 0; + virtual bool setContents(const QString &contents) = 0; + +signals: + void mainContainerChanged(QWidget *mainContainer); + void fileNameChanged(const QString &fileName); + void featureChanged(QDesignerFormWindowInterface::Feature f /ScopesStripped=1/); + void selectionChanged(); + void geometryChanged(); + void resourceFilesChanged(); + void widgetManaged(QWidget *widget); + void widgetUnmanaged(QWidget *widget); + void aboutToUnmanageWidget(QWidget *widget); + void activated(QWidget *widget); + void changed(); + void widgetRemoved(QWidget *w); + void objectRemoved(QObject *o); + +public: + virtual QStringList checkContents() const = 0; + QStringList activeResourceFilePaths() const; + virtual QWidget *formContainer() const = 0; + void activateResourceFilePaths(const QStringList &paths, int *errorCount = 0, QString *errorMessages /Out/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindowcursor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindowcursor.sip new file mode 100644 index 00000000..fa583e49 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindowcursor.sip @@ -0,0 +1,64 @@ +// abstractformwindowcursor.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerFormWindowCursorInterface +{ +%TypeHeaderCode +#include +%End + +public: + enum MoveOperation + { + NoMove, + Start, + End, + Next, + Prev, + Left, + Right, + Up, + Down, + }; + + enum MoveMode + { + MoveAnchor, + KeepAnchor, + }; + + virtual ~QDesignerFormWindowCursorInterface(); + virtual QDesignerFormWindowInterface *formWindow() const = 0; + virtual bool movePosition(QDesignerFormWindowCursorInterface::MoveOperation op, QDesignerFormWindowCursorInterface::MoveMode mode = QDesignerFormWindowCursorInterface::MoveAnchor) = 0; + virtual int position() const = 0; + virtual void setPosition(int pos, QDesignerFormWindowCursorInterface::MoveMode mode = QDesignerFormWindowCursorInterface::MoveAnchor) = 0; + virtual QWidget *current() const = 0; + virtual int widgetCount() const = 0; + virtual QWidget *widget(int index) const = 0; + virtual bool hasSelection() const = 0; + virtual int selectedWidgetCount() const = 0; + virtual QWidget *selectedWidget(int index) const = 0; + virtual void setProperty(const QString &name, const QVariant &value) = 0; + virtual void setWidgetProperty(QWidget *widget, const QString &name, const QVariant &value) = 0; + virtual void resetWidgetProperty(QWidget *widget, const QString &name) = 0; + bool isWidgetSelected(QWidget *widget) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindowmanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindowmanager.sip new file mode 100644 index 00000000..afd9b0d8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractformwindowmanager.sip @@ -0,0 +1,88 @@ +// abstractformwindowmanager.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerFormWindowManagerInterface : QObject /Abstract/ +{ +%TypeHeaderCode +#include +%End + +public: + explicit QDesignerFormWindowManagerInterface(QObject *parent /TransferThis/ = 0); + virtual ~QDesignerFormWindowManagerInterface(); + QAction *actionFormLayout() const /Transfer/; + QAction *actionSimplifyLayout() const /Transfer/; + virtual QDesignerFormWindowInterface *activeFormWindow() const = 0; + virtual int formWindowCount() const = 0; + virtual QDesignerFormWindowInterface *formWindow(int index) const = 0 /Transfer/; + virtual QDesignerFormWindowInterface *createFormWindow(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0) = 0; + virtual QDesignerFormEditorInterface *core() const = 0; + +signals: + void formWindowAdded(QDesignerFormWindowInterface *formWindow); + void formWindowRemoved(QDesignerFormWindowInterface *formWindow); + void activeFormWindowChanged(QDesignerFormWindowInterface *formWindow); + void formWindowSettingsChanged(QDesignerFormWindowInterface *fw); + +public slots: + virtual void addFormWindow(QDesignerFormWindowInterface *formWindow) = 0; + virtual void removeFormWindow(QDesignerFormWindowInterface *formWindow) = 0; + virtual void setActiveFormWindow(QDesignerFormWindowInterface *formWindow) = 0; + +public: + enum Action + { + CutAction, + CopyAction, + PasteAction, + DeleteAction, + SelectAllAction, + LowerAction, + RaiseAction, + UndoAction, + RedoAction, + HorizontalLayoutAction, + VerticalLayoutAction, + SplitHorizontalAction, + SplitVerticalAction, + GridLayoutAction, + FormLayoutAction, + BreakLayoutAction, + AdjustSizeAction, + SimplifyLayoutAction, + DefaultPreviewAction, + FormWindowSettingsDialogAction, + }; + + enum ActionGroup + { + StyledPreviewActionGroup, + }; + + virtual QAction *action(QDesignerFormWindowManagerInterface::Action action) const = 0 /Transfer/; + virtual QActionGroup *actionGroup(QDesignerFormWindowManagerInterface::ActionGroup actionGroup) const = 0 /Transfer/; + +public slots: + virtual void showPreview() = 0; + virtual void closeAllPreviews() = 0; + virtual void showPluginDialog() = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractobjectinspector.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractobjectinspector.sip new file mode 100644 index 00000000..1b67e0bd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractobjectinspector.sip @@ -0,0 +1,36 @@ +// abstractobjectinspector.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerObjectInspectorInterface : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QDesignerObjectInspectorInterface(QWidget *parent /TransferThis/, Qt::WindowFlags flags = 0); + virtual ~QDesignerObjectInspectorInterface(); + virtual QDesignerFormEditorInterface *core() const; + +public slots: + virtual void setFormWindow(QDesignerFormWindowInterface *formWindow /KeepReference/) = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractpropertyeditor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractpropertyeditor.sip new file mode 100644 index 00000000..7034d1fc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractpropertyeditor.sip @@ -0,0 +1,44 @@ +// abstractpropertyeditor.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerPropertyEditorInterface : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QDesignerPropertyEditorInterface(QWidget *parent /TransferThis/, Qt::WindowFlags flags = 0); + virtual ~QDesignerPropertyEditorInterface(); + virtual QDesignerFormEditorInterface *core() const; + virtual bool isReadOnly() const = 0; + virtual QObject *object() const = 0; + virtual QString currentPropertyName() const = 0; + +signals: + void propertyChanged(const QString &name, const QVariant &value); + +public slots: + virtual void setObject(QObject *object /KeepReference/) = 0; + virtual void setPropertyValue(const QString &name, const QVariant &value, bool changed = true) = 0; + virtual void setReadOnly(bool readOnly) = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractwidgetbox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractwidgetbox.sip new file mode 100644 index 00000000..db9d99f1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/abstractwidgetbox.sip @@ -0,0 +1,36 @@ +// abstractwidgetbox.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerWidgetBoxInterface : QWidget /Abstract/ +{ +%TypeHeaderCode +#include +%End + +public: + QDesignerWidgetBoxInterface(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0); + virtual ~QDesignerWidgetBoxInterface(); + virtual void setFileName(const QString &file_name) = 0; + virtual QString fileName() const = 0; + virtual bool load() = 0; + virtual bool save() = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/container.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/container.sip new file mode 100644 index 00000000..824e5063 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/container.sip @@ -0,0 +1,40 @@ +// container.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerContainerExtension +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QDesignerContainerExtension(); + virtual int count() const = 0 /__len__/; + virtual QWidget *widget(int index) const = 0; + virtual int currentIndex() const = 0; + virtual void setCurrentIndex(int index) = 0; + virtual void addWidget(QWidget *widget) = 0; + virtual void insertWidget(int index, QWidget *widget) = 0; + virtual void remove(int index) = 0; + virtual bool canAddWidget() const; + virtual bool canRemove(int index) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/customwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/customwidget.sip new file mode 100644 index 00000000..3f1a437f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/customwidget.sip @@ -0,0 +1,54 @@ +// customwidget.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerCustomWidgetInterface +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QDesignerCustomWidgetInterface(); + virtual QString name() const = 0; + virtual QString group() const = 0; + virtual QString toolTip() const = 0; + virtual QString whatsThis() const = 0; + virtual QString includeFile() const = 0; + virtual QIcon icon() const = 0; + virtual bool isContainer() const = 0; + virtual QWidget *createWidget(QWidget *parent /TransferThis/) = 0 /Factory/; + virtual bool isInitialized() const; + virtual void initialize(QDesignerFormEditorInterface *core); + virtual QString domXml() const; + virtual QString codeTemplate() const; +}; + +class QDesignerCustomWidgetCollectionInterface +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QDesignerCustomWidgetCollectionInterface(); + virtual QList customWidgets() const = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/default_extensionfactory.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/default_extensionfactory.sip new file mode 100644 index 00000000..0ecadc44 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/default_extensionfactory.sip @@ -0,0 +1,41 @@ +// default_extensionfactory.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QExtensionFactory : QObject, QAbstractExtensionFactory +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_11_0 -) + explicit QExtensionFactory(QExtensionManager *parent /TransferThis/ = 0); +%End +%If (- Qt_5_11_0) + QExtensionFactory(QExtensionManager *parent /TransferThis/ = 0); +%End + virtual QObject *extension(QObject *object, const QString &iid) const; + QExtensionManager *extensionManager() const; + +protected: + virtual QObject *createExtension(QObject *object, const QString &iid, QObject *parent /TransferThis/) const /Factory/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/extension.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/extension.sip new file mode 100644 index 00000000..0033f6f9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/extension.sip @@ -0,0 +1,45 @@ +// extension.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractExtensionFactory +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAbstractExtensionFactory(); + virtual QObject *extension(QObject *object, const QString &iid) const = 0; +}; + +class QAbstractExtensionManager +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAbstractExtensionManager(); + virtual void registerExtensions(QAbstractExtensionFactory *factory, const QString &iid) = 0; + virtual void unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid) = 0; + virtual QObject *extension(QObject *object, const QString &iid) const = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/formbuilder.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/formbuilder.sip new file mode 100644 index 00000000..74164572 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/formbuilder.sip @@ -0,0 +1,37 @@ +// formbuilder.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFormBuilder : QAbstractFormBuilder +{ +%TypeHeaderCode +#include +%End + +public: + QFormBuilder(); + virtual ~QFormBuilder(); + QStringList pluginPaths() const; + void clearPluginPaths(); + void addPluginPath(const QString &pluginPath); + void setPluginPath(const QStringList &pluginPaths); + QList customWidgets() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/membersheet.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/membersheet.sip new file mode 100644 index 00000000..a3da2046 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/membersheet.sip @@ -0,0 +1,45 @@ +// membersheet.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerMemberSheetExtension +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QDesignerMemberSheetExtension(); + virtual int count() const = 0 /__len__/; + virtual int indexOf(const QString &name) const = 0; + virtual QString memberName(int index) const = 0; + virtual QString memberGroup(int index) const = 0; + virtual void setMemberGroup(int index, const QString &group) = 0; + virtual bool isVisible(int index) const = 0; + virtual void setVisible(int index, bool b) = 0; + virtual bool isSignal(int index) const = 0; + virtual bool isSlot(int index) const = 0; + virtual bool inheritedFromWidget(int index) const = 0; + virtual QString declaredInClass(int index) const = 0; + virtual QString signature(int index) const = 0; + virtual QList parameterTypes(int index) const = 0; + virtual QList parameterNames(int index) const = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/propertysheet.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/propertysheet.sip new file mode 100644 index 00000000..24b51686 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/propertysheet.sip @@ -0,0 +1,47 @@ +// propertysheet.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerPropertySheetExtension +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QDesignerPropertySheetExtension(); + virtual int count() const = 0 /__len__/; + virtual int indexOf(const QString &name) const = 0; + virtual QString propertyName(int index) const = 0; + virtual QString propertyGroup(int index) const = 0; + virtual void setPropertyGroup(int index, const QString &group) = 0; + virtual bool hasReset(int index) const = 0; + virtual bool reset(int index) = 0; + virtual bool isVisible(int index) const = 0; + virtual void setVisible(int index, bool b) = 0; + virtual bool isAttribute(int index) const = 0; + virtual void setAttribute(int index, bool b) = 0; + virtual QVariant property(int index) const = 0; + virtual void setProperty(int index, const QVariant &value) = 0; + virtual bool isChanged(int index) const = 0; + virtual void setChanged(int index, bool changed) = 0; + virtual bool isEnabled(int index) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qextensionmanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qextensionmanager.sip new file mode 100644 index 00000000..aff972e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qextensionmanager.sip @@ -0,0 +1,82 @@ +// qextensionmanager.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QExtensionManager : QObject, QAbstractExtensionManager +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QPyDesignerCustomWidgetPlugin, &sipType_QPyDesignerCustomWidgetPlugin, -1, 1}, + {sipName_QExtensionFactory, &sipType_QExtensionFactory, -1, 2}, + {sipName_QPyDesignerMemberSheetExtension, &sipType_QPyDesignerMemberSheetExtension, -1, 3}, + {sipName_QDesignerFormEditorInterface, &sipType_QDesignerFormEditorInterface, -1, 4}, + {sipName_QDesignerWidgetBoxInterface, &sipType_QDesignerWidgetBoxInterface, -1, 5}, + {sipName_QDesignerFormWindowInterface, &sipType_QDesignerFormWindowInterface, -1, 6}, + {sipName_QDesignerActionEditorInterface, &sipType_QDesignerActionEditorInterface, -1, 7}, + {sipName_QPyDesignerContainerExtension, &sipType_QPyDesignerContainerExtension, -1, 8}, + {sipName_QDesignerPropertyEditorInterface, &sipType_QDesignerPropertyEditorInterface, -1, 9}, + {sipName_QDesignerFormWindowManagerInterface, &sipType_QDesignerFormWindowManagerInterface, -1, 10}, + {sipName_QPyDesignerTaskMenuExtension, &sipType_QPyDesignerTaskMenuExtension, -1, 11}, + {sipName_QPyDesignerPropertySheetExtension, &sipType_QPyDesignerPropertySheetExtension, -1, 12}, + {sipName_QDesignerObjectInspectorInterface, &sipType_QDesignerObjectInspectorInterface, -1, 13}, + {sipName_QPyDesignerCustomWidgetCollectionPlugin, &sipType_QPyDesignerCustomWidgetCollectionPlugin, -1, 14}, + {sipName_QExtensionManager, &sipType_QExtensionManager, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: +%If (Qt_5_6_1 -) + explicit QExtensionManager(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QExtensionManager(QObject *parent /TransferThis/ = 0); +%End + virtual ~QExtensionManager(); + virtual void registerExtensions(QAbstractExtensionFactory *factory, const QString &iid = QString()); + virtual void unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid = QString()); + virtual QObject *extension(QObject *object, const QString &iid) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercontainerextension.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercontainerextension.sip new file mode 100644 index 00000000..90eed305 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercontainerextension.sip @@ -0,0 +1,32 @@ +// This is the SIP specification of the QPyDesignerContainerExtension class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPyDesignerContainerExtension : QObject, QDesignerContainerExtension +{ +%TypeHeaderCode +#include +%End + +public: + QPyDesignerContainerExtension(QObject *parent /TransferThis/); + +private: + QPyDesignerContainerExtension(const QPyDesignerContainerExtension &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercustomwidgetcollectionplugin.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercustomwidgetcollectionplugin.sip new file mode 100644 index 00000000..0dcd32cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercustomwidgetcollectionplugin.sip @@ -0,0 +1,33 @@ +// This is the SIP specification of the QPyDesignerCustomWidgetCollectionPlugin +// class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPyDesignerCustomWidgetCollectionPlugin : QObject, QDesignerCustomWidgetCollectionInterface +{ +%TypeHeaderCode +#include +%End + +public: + QPyDesignerCustomWidgetCollectionPlugin(QObject *parent /TransferThis/ = 0); + +private: + QPyDesignerCustomWidgetCollectionPlugin(const QPyDesignerCustomWidgetCollectionPlugin &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercustomwidgetplugin.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercustomwidgetplugin.sip new file mode 100644 index 00000000..70d93bf2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignercustomwidgetplugin.sip @@ -0,0 +1,32 @@ +// This is the SIP specification of the QPyDesignerCustomWidgetPlugin class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPyDesignerCustomWidgetPlugin : QObject, QDesignerCustomWidgetInterface +{ +%TypeHeaderCode +#include +%End + +public: + QPyDesignerCustomWidgetPlugin(QObject *parent /TransferThis/ = 0); + +private: + QPyDesignerCustomWidgetPlugin(const QPyDesignerCustomWidgetPlugin &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignermembersheetextension.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignermembersheetextension.sip new file mode 100644 index 00000000..b23e51f4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignermembersheetextension.sip @@ -0,0 +1,32 @@ +// This is the SIP specification of the QPyDesignerMemberSheetExtension class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPyDesignerMemberSheetExtension : QObject, QDesignerMemberSheetExtension +{ +%TypeHeaderCode +#include +%End + +public: + QPyDesignerMemberSheetExtension(QObject *parent /TransferThis/); + +private: + QPyDesignerMemberSheetExtension(const QPyDesignerMemberSheetExtension &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignerpropertysheetextension.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignerpropertysheetextension.sip new file mode 100644 index 00000000..f8b4b354 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignerpropertysheetextension.sip @@ -0,0 +1,33 @@ +// This is the SIP specification of the QPyDesignerPropertySheetExtension +// class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPyDesignerPropertySheetExtension : QObject, QDesignerPropertySheetExtension +{ +%TypeHeaderCode +#include +%End + +public: + QPyDesignerPropertySheetExtension(QObject *parent /TransferThis/); + +private: + QPyDesignerPropertySheetExtension(const QPyDesignerPropertySheetExtension &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignertaskmenuextension.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignertaskmenuextension.sip new file mode 100644 index 00000000..10a062fd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/qpydesignertaskmenuextension.sip @@ -0,0 +1,32 @@ +// This is the SIP specification of the QPyDesignerTaskMenuExtension class. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPyDesignerTaskMenuExtension : QObject, QDesignerTaskMenuExtension +{ +%TypeHeaderCode +#include +%End + +public: + QPyDesignerTaskMenuExtension(QObject *parent /TransferThis/); + +private: + QPyDesignerTaskMenuExtension(const QPyDesignerTaskMenuExtension &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/taskmenu.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/taskmenu.sip new file mode 100644 index 00000000..5ca111a5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtDesigner/taskmenu.sip @@ -0,0 +1,33 @@ +// taskmenu.sip generated by MetaSIP +// +// This file is part of the QtDesigner Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesignerTaskMenuExtension +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QDesignerTaskMenuExtension(); + virtual QList taskActions() const = 0; + virtual QAction *preferredEditAction() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/QtGui.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/QtGui.toml new file mode 100644 index 00000000..36fec296 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/QtGui.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtGui. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/QtGuimod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/QtGuimod.sip new file mode 100644 index 00000000..17d12207 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/QtGuimod.sip @@ -0,0 +1,145 @@ +// QtGuimod.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtGui, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +// Note this is also appended by configure.py but is explicitly needed here (probably a SIP bug). +%Include opengl_types.sip + +%Include qabstracttextdocumentlayout.sip +%Include qbackingstore.sip +%Include qbitmap.sip +%Include qcolor.sip +%Include qbrush.sip +%Include qclipboard.sip +%Include qcolorspace.sip +%Include qcolortransform.sip +%Include qcursor.sip +%Include qdesktopservices.sip +%Include qdrag.sip +%Include qevent.sip +%Include qfont.sip +%Include qfontdatabase.sip +%Include qfontinfo.sip +%Include qfontmetrics.sip +%Include qgenericmatrix.sip +%Include qglyphrun.sip +%Include qguiapplication.sip +%Include qicon.sip +%Include qiconengine.sip +%Include qimage.sip +%Include qimageiohandler.sip +%Include qimagereader.sip +%Include qimagewriter.sip +%Include qinputmethod.sip +%Include qkeysequence.sip +%Include qmatrix4x4.sip +%Include qmovie.sip +%Include qoffscreensurface.sip +%Include qopenglbuffer.sip +%Include qopenglcontext.sip +%Include qopengldebug.sip +%Include qopenglframebufferobject.sip +%Include qopenglpaintdevice.sip +%Include qopenglpixeltransferoptions.sip +%Include qopenglshaderprogram.sip +%Include qopengltexture.sip +%Include qopengltextureblitter.sip +%Include qopengltimerquery.sip +%Include qopenglversionfunctions.sip +%Include qopenglvertexarrayobject.sip +%Include qopenglwindow.sip +%Include qpagedpaintdevice.sip +%Include qpagelayout.sip +%Include qpagesize.sip +%Include qpainter.sip +%Include qpaintdevice.sip +%Include qpaintdevicewindow.sip +%Include qpaintengine.sip +%Include qpainterpath.sip +%Include qpalette.sip +%Include qpdfwriter.sip +%Include qpen.sip +%Include qpicture.sip +%Include qpixelformat.sip +%Include qpixmap.sip +%Include qpixmapcache.sip +%Include qpolygon.sip +%Include qquaternion.sip +%Include qrasterwindow.sip +%Include qrawfont.sip +%Include qregion.sip +%Include qrgba64.sip +%Include qrgb.sip +%Include qscreen.sip +%Include qsessionmanager.sip +%Include qstandarditemmodel.sip +%Include qstatictext.sip +%Include qstylehints.sip +%Include qsurface.sip +%Include qsurfaceformat.sip +%Include qsyntaxhighlighter.sip +%Include qtextcursor.sip +%Include qtextdocument.sip +%Include qtextdocumentfragment.sip +%Include qtextdocumentwriter.sip +%Include qtextformat.sip +%Include qtextlayout.sip +%Include qtextlist.sip +%Include qtextobject.sip +%Include qtextoption.sip +%Include qtexttable.sip +%Include qtouchdevice.sip +%Include qtransform.sip +%Include qvalidator.sip +%Include qvector2d.sip +%Include qvector3d.sip +%Include qvector4d.sip +%Include qwindow.sip +%Include qwindowdefs.sip +%Include opengl_types.sip +%Include qpygui_qlist.sip +%Include qpygui_qpair.sip +%Include qpygui_qvector.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/opengl_types.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/opengl_types.sip new file mode 100644 index 00000000..fe105309 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/opengl_types.sip @@ -0,0 +1,43 @@ +// This implements the typedefs for the OpenGL data types. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_OpenGL) + +typedef char GLchar; +typedef qint8 GLbyte; +typedef quint8 GLubyte; +typedef quint8 GLboolean; +typedef qint16 GLshort; +typedef quint16 GLushort; +typedef qint32 GLint; +typedef qint32 GLsizei; +typedef quint32 GLuint; +typedef quint32 GLenum; +typedef quint32 GLbitfield; +%If (PyQt_Desktop_OpenGL) +typedef quint64 GLuint64; // This is in OpenGL ES v3. +typedef double GLdouble; +%End +typedef float GLfloat; +typedef float GLclampf; +typedef long GLintptr; +typedef long GLsizeiptr; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qabstracttextdocumentlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qabstracttextdocumentlayout.sip new file mode 100644 index 00000000..e213f0ae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qabstracttextdocumentlayout.sip @@ -0,0 +1,107 @@ +// qabstracttextdocumentlayout.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractTextDocumentLayout : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractTextDocumentLayout(QTextDocument *doc); + virtual ~QAbstractTextDocumentLayout(); + + struct Selection + { +%TypeHeaderCode +#include +%End + + QTextCursor cursor; + QTextCharFormat format; + }; + + struct PaintContext + { +%TypeHeaderCode +#include +%End + + PaintContext(); + int cursorPosition; + QPalette palette; + QRectF clip; + QVector selections; + }; + + virtual void draw(QPainter *painter, const QAbstractTextDocumentLayout::PaintContext &context) = 0; + virtual int hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy) const = 0; + QString anchorAt(const QPointF &pos) const; + virtual int pageCount() const = 0; + virtual QSizeF documentSize() const = 0; + virtual QRectF frameBoundingRect(QTextFrame *frame) const = 0; + virtual QRectF blockBoundingRect(const QTextBlock &block) const = 0; + void setPaintDevice(QPaintDevice *device); + QPaintDevice *paintDevice() const; + QTextDocument *document() const; + void registerHandler(int objectType, QObject *component); +%If (Qt_5_2_0 -) + void unregisterHandler(int objectType, QObject *component = 0); +%End + QTextObjectInterface *handlerForObject(int objectType) const; + +signals: + void update(const QRectF &rect = QRectF(0., 0., 1.0E+9, 1.0E+9)); + void documentSizeChanged(const QSizeF &newSize); + void pageCountChanged(int newPages); + void updateBlock(const QTextBlock &block); + +protected: + virtual void documentChanged(int from, int charsRemoved, int charsAdded) = 0; + virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format); + virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format); + virtual void drawInlineObject(QPainter *painter, const QRectF &rect, QTextInlineObject object, int posInDocument, const QTextFormat &format); + QTextCharFormat format(int pos); + +public: +%If (Qt_5_8_0 -) + QString imageAt(const QPointF &pos) const; +%End +%If (Qt_5_8_0 -) + QTextFormat formatAt(const QPointF &pos) const; +%End +%If (Qt_5_14_0 -) + QTextBlock blockWithMarkerAt(const QPointF &pos) const; +%End +}; + +class QTextObjectInterface /Mixin,PyQtInterface="org.qt-project.Qt.QTextObjectInterface"/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QTextObjectInterface(); + virtual QSizeF intrinsicSize(QTextDocument *doc, int posInDocument, const QTextFormat &format) = 0; + virtual void drawObject(QPainter *painter, const QRectF &rect, QTextDocument *doc, int posInDocument, const QTextFormat &format) = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbackingstore.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbackingstore.sip new file mode 100644 index 00000000..cabae796 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbackingstore.sip @@ -0,0 +1,43 @@ +// qbackingstore.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QBackingStore /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + explicit QBackingStore(QWindow *window); + ~QBackingStore(); + QWindow *window() const; + QPaintDevice *paintDevice(); + void flush(const QRegion ®ion, QWindow *window = 0, const QPoint &offset = QPoint()); + void resize(const QSize &size); + QSize size() const; + bool scroll(const QRegion &area, int dx, int dy); + void beginPaint(const QRegion &); + void endPaint(); + void setStaticContents(const QRegion ®ion); + QRegion staticContents() const; + bool hasStaticContents() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbitmap.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbitmap.sip new file mode 100644 index 00000000..cbfe49e1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbitmap.sip @@ -0,0 +1,52 @@ +// qbitmap.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QBitmap : QPixmap +{ +%TypeHeaderCode +#include +%End + +public: + QBitmap(); +%If (Qt_5_7_0 -) + QBitmap(const QBitmap &other); +%End + QBitmap(const QPixmap &); + QBitmap(int w, int h); + explicit QBitmap(const QSize &); + QBitmap(const QString &fileName, const char *format = 0); + QBitmap(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new sipQBitmap(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + virtual ~QBitmap(); + void clear(); + static QBitmap fromImage(const QImage &image, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor); + static QBitmap fromData(const QSize &size, const uchar *bits, QImage::Format format = QImage::Format_MonoLSB); + QBitmap transformed(const QTransform &matrix) const; + void swap(QBitmap &other /Constrained/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbrush.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbrush.sip new file mode 100644 index 00000000..0f1b9326 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qbrush.sip @@ -0,0 +1,439 @@ +// qbrush.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QBrush /TypeHintIn="Union[QBrush, QColor, QGradient]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +// SIP doesn't support automatic type convertors so we explicitly allow a +// QColor or a QGradient to be used whenever a QBrush is expected. Note that +// SIP must process QColor before QBrush so that the former's QVariant cast +// operator is applied before the latter's. + +if (sipIsErr == NULL) + return (sipCanConvertToType(sipPy, sipType_QBrush, SIP_NO_CONVERTORS) || + sipCanConvertToType(sipPy, sipType_QColor, 0) || + sipCanConvertToType(sipPy, sipType_QGradient, 0)); + +if (sipCanConvertToType(sipPy, sipType_QBrush, SIP_NO_CONVERTORS)) +{ + *sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QBrush, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + + return 0; +} + +int state; + +if (sipCanConvertToType(sipPy, sipType_QColor, 0)) +{ + QColor *c = reinterpret_cast(sipConvertToType(sipPy, sipType_QColor, 0, 0, &state, sipIsErr)); + + if (*sipIsErr) + { + sipReleaseType(c, sipType_QColor, state); + return 0; + } + + *sipCppPtr = new QBrush(*c); + + sipReleaseType(c, sipType_QColor, state); + + return sipGetState(sipTransferObj); +} + +QGradient *g = reinterpret_cast(sipConvertToType(sipPy, sipType_QGradient, 0, 0, &state, sipIsErr)); + +if (*sipIsErr) +{ + sipReleaseType(g, sipType_QGradient, state); + return 0; +} + +*sipCppPtr = new QBrush(*g); + +sipReleaseType(g, sipType_QGradient, state); + +return sipGetState(sipTransferObj); +%End + +public: + QBrush(); + QBrush(Qt::BrushStyle bs); + QBrush(const QColor &color, Qt::BrushStyle style = Qt::SolidPattern); + QBrush(const QColor &color, const QPixmap &pixmap); + QBrush(const QPixmap &pixmap); + QBrush(const QImage &image); + QBrush(const QBrush &brush); + QBrush(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QBrush(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QBrush(); + void setStyle(Qt::BrushStyle); + QPixmap texture() const; + void setTexture(const QPixmap &pixmap); + void setColor(const QColor &color); + const QGradient *gradient() const; + bool isOpaque() const; + bool operator==(const QBrush &b) const; + bool operator!=(const QBrush &b) const; + void setColor(Qt::GlobalColor acolor); + Qt::BrushStyle style() const; + const QColor &color() const; + void setTextureImage(const QImage &image); + QImage textureImage() const; + void setTransform(const QTransform &); + QTransform transform() const; + void swap(QBrush &other /Constrained/); +}; + +QDataStream &operator>>(QDataStream &, QBrush & /Constrained/) /ReleaseGIL/; +QDataStream &operator<<(QDataStream &, const QBrush & /Constrained/) /ReleaseGIL/; +typedef QVector> QGradientStops; + +class QGradient +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + switch (sipCpp->type()) + { + case QGradient::ConicalGradient: + sipType = sipType_QConicalGradient; + break; + + case QGradient::LinearGradient: + sipType = sipType_QLinearGradient; + break; + + case QGradient::RadialGradient: + sipType = sipType_QRadialGradient; + break; + + default: + sipType = 0; + } +%End + +public: + enum CoordinateMode + { + LogicalMode, + StretchToDeviceMode, + ObjectBoundingMode, +%If (Qt_5_12_0 -) + ObjectMode, +%End + }; + + enum Type + { + LinearGradient, + RadialGradient, + ConicalGradient, + NoGradient, + }; + + enum Spread + { + PadSpread, + ReflectSpread, + RepeatSpread, + }; + +%If (Qt_5_12_0 -) + + enum Preset + { + WarmFlame, + NightFade, + SpringWarmth, + JuicyPeach, + YoungPassion, + LadyLips, + SunnyMorning, + RainyAshville, + FrozenDreams, + WinterNeva, + DustyGrass, + TemptingAzure, + HeavyRain, + AmyCrisp, + MeanFruit, + DeepBlue, + RipeMalinka, + CloudyKnoxville, + MalibuBeach, + NewLife, + TrueSunset, + MorpheusDen, + RareWind, + NearMoon, + WildApple, + SaintPetersburg, + PlumPlate, + EverlastingSky, + HappyFisher, + Blessing, + SharpeyeEagle, + LadogaBottom, + LemonGate, + ItmeoBranding, + ZeusMiracle, + OldHat, + StarWine, + HappyAcid, + AwesomePine, + NewYork, + ShyRainbow, + MixedHopes, + FlyHigh, + StrongBliss, + FreshMilk, + SnowAgain, + FebruaryInk, + KindSteel, + SoftGrass, + GrownEarly, + SharpBlues, + ShadyWater, + DirtyBeauty, + GreatWhale, + TeenNotebook, + PoliteRumors, + SweetPeriod, + WideMatrix, + SoftCherish, + RedSalvation, + BurningSpring, + NightParty, + SkyGlider, + HeavenPeach, + PurpleDivision, + AquaSplash, + SpikyNaga, + LoveKiss, + CleanMirror, + PremiumDark, + ColdEvening, + CochitiLake, + SummerGames, + PassionateBed, + MountainRock, + DesertHump, + JungleDay, + PhoenixStart, + OctoberSilence, + FarawayRiver, + AlchemistLab, + OverSun, + PremiumWhite, + MarsParty, + EternalConstance, + JapanBlush, + SmilingRain, + CloudyApple, + BigMango, + HealthyWater, + AmourAmour, + RiskyConcrete, + StrongStick, + ViciousStance, + PaloAlto, + HappyMemories, + MidnightBloom, + Crystalline, + PartyBliss, + ConfidentCloud, + LeCocktail, + RiverCity, + FrozenBerry, + ChildCare, + FlyingLemon, + NewRetrowave, + HiddenJaguar, + AboveTheSky, + Nega, + DenseWater, + Seashore, + MarbleWall, + CheerfulCaramel, + NightSky, + MagicLake, + YoungGrass, + ColorfulPeach, + GentleCare, + PlumBath, + HappyUnicorn, + AfricanField, + SolidStone, + OrangeJuice, + GlassWater, + NorthMiracle, + FruitBlend, + MillenniumPine, + HighFlight, + MoleHall, + SpaceShift, + ForestInei, + RoyalGarden, + RichMetal, + JuicyCake, + SmartIndigo, + SandStrike, + NorseBeauty, + AquaGuidance, + SunVeggie, + SeaLord, + BlackSea, + GrassShampoo, + LandingAircraft, + WitchDance, + SleeplessNight, + AngelCare, + CrystalRiver, + SoftLipstick, + SaltMountain, + PerfectWhite, + FreshOasis, + StrictNovember, + MorningSalad, + DeepRelief, + SeaStrike, + NightCall, + SupremeSky, + LightBlue, + MindCrawl, + LilyMeadow, + SugarLollipop, + SweetDessert, + MagicRay, + TeenParty, + FrozenHeat, + GagarinView, + FabledSunset, + PerfectBlue, +%If (Qt_5_14_0 -) + NumPresets, +%End + }; + +%End + QGradient(); +%If (Qt_5_12_0 -) + QGradient(QGradient::Preset); +%End +%If (Qt_5_14_0 -) + ~QGradient(); +%End + QGradient::Type type() const; + QGradient::Spread spread() const; + void setColorAt(qreal pos, const QColor &color); + void setStops(const QGradientStops &stops); + QGradientStops stops() const; + bool operator==(const QGradient &gradient) const; + bool operator!=(const QGradient &other) const; + void setSpread(QGradient::Spread aspread); + QGradient::CoordinateMode coordinateMode() const; + void setCoordinateMode(QGradient::CoordinateMode mode); +}; + +class QLinearGradient : QGradient +{ +%TypeHeaderCode +#include +%End + +public: + QLinearGradient(); + QLinearGradient(const QPointF &start, const QPointF &finalStop); + QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop); +%If (Qt_5_14_0 -) + ~QLinearGradient(); +%End + QPointF start() const; + QPointF finalStop() const; + void setStart(const QPointF &start); + void setStart(qreal x, qreal y); + void setFinalStop(const QPointF &stop); + void setFinalStop(qreal x, qreal y); +}; + +class QRadialGradient : QGradient +{ +%TypeHeaderCode +#include +%End + +public: + QRadialGradient(); + QRadialGradient(const QPointF ¢er, qreal radius, const QPointF &focalPoint); + QRadialGradient(const QPointF ¢er, qreal centerRadius, const QPointF &focalPoint, qreal focalRadius); + QRadialGradient(const QPointF ¢er, qreal radius); + QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy); + QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius); + QRadialGradient(qreal cx, qreal cy, qreal radius); +%If (Qt_5_14_0 -) + ~QRadialGradient(); +%End + QPointF center() const; + QPointF focalPoint() const; + qreal radius() const; + void setCenter(const QPointF ¢er); + void setCenter(qreal x, qreal y); + void setFocalPoint(const QPointF &focalPoint); + void setFocalPoint(qreal x, qreal y); + void setRadius(qreal radius); + qreal centerRadius() const; + void setCenterRadius(qreal radius); + qreal focalRadius() const; + void setFocalRadius(qreal radius); +}; + +class QConicalGradient : QGradient +{ +%TypeHeaderCode +#include +%End + +public: + QConicalGradient(); + QConicalGradient(const QPointF ¢er, qreal startAngle); + QConicalGradient(qreal cx, qreal cy, qreal startAngle); +%If (Qt_5_14_0 -) + ~QConicalGradient(); +%End + QPointF center() const; + qreal angle() const; + void setCenter(const QPointF ¢er); + void setCenter(qreal x, qreal y); + void setAngle(qreal angle); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qclipboard.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qclipboard.sip new file mode 100644 index 00000000..a462283d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qclipboard.sip @@ -0,0 +1,95 @@ +// qclipboard.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QClipboard : QObject +{ +%TypeHeaderCode +#include +%End + + explicit QClipboard(QObject *parent /TransferThis/); + virtual ~QClipboard(); + +public: + enum Mode + { + Clipboard, + Selection, + FindBuffer, + }; + + void clear(QClipboard::Mode mode = QClipboard::Clipboard); + bool supportsFindBuffer() const; + bool supportsSelection() const; + bool ownsClipboard() const; + bool ownsFindBuffer() const; + bool ownsSelection() const; + QString text(QClipboard::Mode mode = QClipboard::Clipboard) const; + SIP_PYTUPLE text(const QString &subtype, QClipboard::Mode mode = QClipboard::Clipboard) const /TypeHint="Tuple[QString, QString]"/; +%MethodCode + QString *text; + QString *subtype = new QString(*a0); + + Py_BEGIN_ALLOW_THREADS + text = new QString(sipCpp->text(*subtype, a1)); + Py_END_ALLOW_THREADS + + PyObject *text_obj = sipConvertFromNewType(text, sipType_QString, NULL); + PyObject *subtype_obj = sipConvertFromNewType(subtype, sipType_QString, NULL); + + if (text_obj && subtype_obj) + sipRes = PyTuple_Pack(2, text_obj, subtype_obj); + + Py_XDECREF(text_obj); + Py_XDECREF(subtype_obj); +%End + + void setText(const QString &, QClipboard::Mode mode = QClipboard::Clipboard); + const QMimeData *mimeData(QClipboard::Mode mode = QClipboard::Clipboard) const; + void setMimeData(QMimeData *data /GetWrapper/, QClipboard::Mode mode = QClipboard::Clipboard); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->setMimeData(a0, a1); + Py_END_ALLOW_THREADS + + // Transfer ownership to C++ and make sure the Python object stays alive by + // giving it a reference to itself. The cycle will be broken by QMimeData's + // virtual dtor. The reason we don't do the obvious and just use /Transfer/ is + // that the QClipboard Python object we would transfer ownership to is likely + // to be garbage collected immediately afterwards. + sipTransferTo(a0Wrapper, a0Wrapper); +%End + + QImage image(QClipboard::Mode mode = QClipboard::Clipboard) const; + QPixmap pixmap(QClipboard::Mode mode = QClipboard::Clipboard) const; + void setImage(const QImage &, QClipboard::Mode mode = QClipboard::Clipboard); + void setPixmap(const QPixmap &, QClipboard::Mode mode = QClipboard::Clipboard); + +signals: + void changed(QClipboard::Mode mode); + void dataChanged(); + void findBufferChanged(); + void selectionChanged(); + +private: + QClipboard(const QClipboard &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolor.sip new file mode 100644 index 00000000..99faadba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolor.sip @@ -0,0 +1,388 @@ +// qcolor.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QColor /TypeHintIn="Union[QColor, Qt.GlobalColor]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +// SIP doesn't support automatic type convertors so we explicitly allow a +// Qt::GlobalColor to be used whenever a QColor is expected. Note that SIP +// must process QColor before QBrush so that the former's QVariant cast +// operator is applied before the latter's. + +if (sipIsErr == NULL) + return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_GlobalColor)) || + sipCanConvertToType(sipPy, sipType_QColor, SIP_NO_CONVERTORS)); + +if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_GlobalColor))) +{ + *sipCppPtr = new QColor((Qt::GlobalColor)SIPLong_AsLong(sipPy)); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QColor, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"iiii", sipCpp->red(), sipCpp->green(), sipCpp->blue(), sipCpp->alpha()); +%End + +public: + enum Spec + { + Invalid, + Rgb, + Hsv, + Cmyk, + Hsl, +%If (Qt_5_14_0 -) + ExtendedRgb, +%End + }; + + QColor(Qt::GlobalColor color /Constrained/); + QColor(QRgb rgb); +%If (Qt_5_6_0 -) + QColor(QRgba64 rgba64); +%End + QColor(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QColor(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + QString name() const; + void setNamedColor(const QString &name); + static QStringList colorNames(); + QColor::Spec spec() const; + int alpha() const; + void setAlpha(int alpha); + qreal alphaF() const; + void setAlphaF(qreal alpha); + int red() const; + int green() const; + int blue() const; + void setRed(int red); + void setGreen(int green); + void setBlue(int blue); + qreal redF() const; + qreal greenF() const; + qreal blueF() const; + void setRedF(qreal red); + void setGreenF(qreal green); + void setBlueF(qreal blue); + void getRgb(int *r, int *g, int *b, int *alpha = 0) const; + void setRgb(int r, int g, int b, int alpha = 255); + void getRgbF(qreal *r, qreal *g, qreal *b, qreal *alpha = 0) const; + void setRgbF(qreal r, qreal g, qreal b, qreal alpha = 1.); + QRgb rgba() const; + void setRgba(QRgb rgba); + QRgb rgb() const; + void setRgb(QRgb rgb); + int hue() const; + int saturation() const; + int value() const; + qreal hueF() const; + qreal saturationF() const; + qreal valueF() const; + void getHsv(int *h, int *s, int *v, int *alpha = 0) const; + void setHsv(int h, int s, int v, int alpha = 255); + void getHsvF(qreal *h, qreal *s, qreal *v, qreal *alpha = 0) const; + void setHsvF(qreal h, qreal s, qreal v, qreal alpha = 1.); + int cyan() const; + int magenta() const; + int yellow() const; + int black() const; + qreal cyanF() const; + qreal magentaF() const; + qreal yellowF() const; + qreal blackF() const; + void getCmyk(int *c, int *m, int *y, int *k, int *alpha = 0); + void setCmyk(int c, int m, int y, int k, int alpha = 255); + void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *alpha = 0); + void setCmykF(qreal c, qreal m, qreal y, qreal k, qreal alpha = 1.); + QColor toRgb() const; + QColor toHsv() const; + QColor toCmyk() const; + QColor convertTo(QColor::Spec colorSpec) const; + static QColor fromRgb(QRgb rgb); + static QColor fromRgba(QRgb rgba); + static QColor fromRgb(int r, int g, int b, int alpha = 255); + static QColor fromRgbF(qreal r, qreal g, qreal b, qreal alpha = 1.); + static QColor fromHsv(int h, int s, int v, int alpha = 255); + static QColor fromHsvF(qreal h, qreal s, qreal v, qreal alpha = 1.); + static QColor fromCmyk(int c, int m, int y, int k, int alpha = 255); + static QColor fromCmykF(qreal c, qreal m, qreal y, qreal k, qreal alpha = 1.); + bool operator==(const QColor &c) const; + bool operator!=(const QColor &c) const; + QColor(); + QColor(int r, int g, int b, int alpha = 255); + QColor(const QString &aname); + QColor(const QColor &acolor); + bool isValid() const; + QColor lighter(int factor = 150) const; + QColor darker(int factor = 200) const; + int hsvHue() const; + int hsvSaturation() const; + qreal hsvHueF() const; + qreal hsvSaturationF() const; + int hslHue() const; + int hslSaturation() const; + int lightness() const; + qreal hslHueF() const; + qreal hslSaturationF() const; + qreal lightnessF() const; + void getHsl(int *h, int *s, int *l, int *alpha = 0) const; + void setHsl(int h, int s, int l, int alpha = 255); + void getHslF(qreal *h, qreal *s, qreal *l, qreal *alpha = 0) const; + void setHslF(qreal h, qreal s, qreal l, qreal alpha = 1.); + QColor toHsl() const; + static QColor fromHsl(int h, int s, int l, int alpha = 255); + static QColor fromHslF(qreal h, qreal s, qreal l, qreal alpha = 1.); + static bool isValidColor(const QString &name); +%If (Qt_5_2_0 -) + + enum NameFormat + { + HexRgb, + HexArgb, + }; + +%End +%If (Qt_5_2_0 -) + QString name(QColor::NameFormat format) const; +%End +%If (Qt_5_6_0 -) + QRgba64 rgba64() const; +%End +%If (Qt_5_6_0 -) + void setRgba64(QRgba64 rgba); +%End +%If (Qt_5_6_0 -) + static QColor fromRgba64(ushort r, ushort g, ushort b, ushort alpha = 65535); +%End +%If (Qt_5_6_0 -) + static QColor fromRgba64(QRgba64 rgba); +%End +%If (Qt_5_14_0 -) + QColor toExtendedRgb() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QColor & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QColor & /Constrained/) /ReleaseGIL/; +%If (Qt_5_14_0 -) +%If (PyQt_CONSTEXPR) + +namespace QColorConstants +{ +%TypeHeaderCode +#include +%End + + const QColor Color0; + const QColor Color1; + const QColor Black; + const QColor White; + const QColor DarkGray; + const QColor Gray; + const QColor LightGray; + const QColor Red; + const QColor Green; + const QColor Blue; + const QColor Cyan; + const QColor Magenta; + const QColor Yellow; + const QColor DarkRed; + const QColor DarkGreen; + const QColor DarkBlue; + const QColor DarkCyan; + const QColor DarkMagenta; + const QColor DarkYellow; + const QColor Transparent; + + namespace Svg + { +%TypeHeaderCode +#include +%End + + const QColor aliceblue; + const QColor antiquewhite; + const QColor aqua; + const QColor aquamarine; + const QColor azure; + const QColor beige; + const QColor bisque; + const QColor black; + const QColor blanchedalmond; + const QColor blue; + const QColor blueviolet; + const QColor brown; + const QColor burlywood; + const QColor cadetblue; + const QColor chartreuse; + const QColor chocolate; + const QColor coral; + const QColor cornflowerblue; + const QColor cornsilk; + const QColor crimson; + const QColor cyan; + const QColor darkblue; + const QColor darkcyan; + const QColor darkgoldenrod; + const QColor darkgray; + const QColor darkgreen; + const QColor darkgrey; + const QColor darkkhaki; + const QColor darkmagenta; + const QColor darkolivegreen; + const QColor darkorange; + const QColor darkorchid; + const QColor darkred; + const QColor darksalmon; + const QColor darkseagreen; + const QColor darkslateblue; + const QColor darkslategray; + const QColor darkslategrey; + const QColor darkturquoise; + const QColor darkviolet; + const QColor deeppink; + const QColor deepskyblue; + const QColor dimgray; + const QColor dimgrey; + const QColor dodgerblue; + const QColor firebrick; + const QColor floralwhite; + const QColor forestgreen; + const QColor fuchsia; + const QColor gainsboro; + const QColor ghostwhite; + const QColor gold; + const QColor goldenrod; + const QColor gray; + const QColor green; + const QColor greenyellow; + const QColor grey; + const QColor honeydew; + const QColor hotpink; + const QColor indianred; + const QColor indigo; + const QColor ivory; + const QColor khaki; + const QColor lavender; + const QColor lavenderblush; + const QColor lawngreen; + const QColor lemonchiffon; + const QColor lightblue; + const QColor lightcoral; + const QColor lightcyan; + const QColor lightgoldenrodyellow; + const QColor lightgray; + const QColor lightgreen; + const QColor lightgrey; + const QColor lightpink; + const QColor lightsalmon; + const QColor lightseagreen; + const QColor lightskyblue; + const QColor lightslategray; + const QColor lightslategrey; + const QColor lightsteelblue; + const QColor lightyellow; + const QColor lime; + const QColor limegreen; + const QColor linen; + const QColor magenta; + const QColor maroon; + const QColor mediumaquamarine; + const QColor mediumblue; + const QColor mediumorchid; + const QColor mediumpurple; + const QColor mediumseagreen; + const QColor mediumslateblue; + const QColor mediumspringgreen; + const QColor mediumturquoise; + const QColor mediumvioletred; + const QColor midnightblue; + const QColor mintcream; + const QColor mistyrose; + const QColor moccasin; + const QColor navajowhite; + const QColor navy; + const QColor oldlace; + const QColor olive; + const QColor olivedrab; + const QColor orange; + const QColor orangered; + const QColor orchid; + const QColor palegoldenrod; + const QColor palegreen; + const QColor paleturquoise; + const QColor palevioletred; + const QColor papayawhip; + const QColor peachpuff; + const QColor peru; + const QColor pink; + const QColor plum; + const QColor powderblue; + const QColor purple; + const QColor red; + const QColor rosybrown; + const QColor royalblue; + const QColor saddlebrown; + const QColor salmon; + const QColor sandybrown; + const QColor seagreen; + const QColor seashell; + const QColor sienna; + const QColor silver; + const QColor skyblue; + const QColor slateblue; + const QColor slategray; + const QColor slategrey; + const QColor snow; + const QColor springgreen; + const QColor steelblue; + const QColor tan; + const QColor teal; + const QColor thistle; + const QColor tomato; + const QColor turquoise; + const QColor violet; + const QColor wheat; + const QColor white; + const QColor whitesmoke; + const QColor yellow; + const QColor yellowgreen; + }; +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolorspace.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolorspace.sip new file mode 100644 index 00000000..04b7c18c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolorspace.sip @@ -0,0 +1,92 @@ +// qcolorspace.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_14_0 -) + +class QColorSpace +{ +%TypeHeaderCode +#include +%End + +public: + enum NamedColorSpace + { + SRgb, + SRgbLinear, + AdobeRgb, + DisplayP3, + ProPhotoRgb, + }; + + enum class Primaries + { + Custom, + SRgb, + AdobeRgb, + DciP3D65, + ProPhotoRgb, + }; + + enum class TransferFunction + { + Custom, + Linear, + Gamma, + SRgb, + ProPhotoRgb, + }; + + QColorSpace(); + QColorSpace(QColorSpace::NamedColorSpace namedColorSpace); + QColorSpace(QColorSpace::Primaries primaries, QColorSpace::TransferFunction fun, float gamma = 0.F); + QColorSpace(QColorSpace::Primaries primaries, float gamma); + QColorSpace(const QPointF &whitePoint, const QPointF &redPoint, const QPointF &greenPoint, const QPointF &bluePoint, QColorSpace::TransferFunction fun, float gamma = 0.F); + QColorSpace(const QColorSpace &colorSpace); + ~QColorSpace(); + void swap(QColorSpace &colorSpace /Constrained/); + QColorSpace::Primaries primaries() const; + QColorSpace::TransferFunction transferFunction() const; + float gamma() const; + void setTransferFunction(QColorSpace::TransferFunction transferFunction, float gamma = 0.F); + QColorSpace withTransferFunction(QColorSpace::TransferFunction transferFunction, float gamma = 0.F) const; + void setPrimaries(QColorSpace::Primaries primariesId); + void setPrimaries(const QPointF &whitePoint, const QPointF &redPoint, const QPointF &greenPoint, const QPointF &bluePoint); + bool isValid() const; + static QColorSpace fromIccProfile(const QByteArray &iccProfile); + QByteArray iccProfile() const; + QColorTransform transformationToColorSpace(const QColorSpace &colorspace) const; +}; + +%End +%If (Qt_5_14_0 -) +bool operator==(const QColorSpace &colorSpace1, const QColorSpace &colorSpace2); +%End +%If (Qt_5_14_0 -) +bool operator!=(const QColorSpace &colorSpace1, const QColorSpace &colorSpace2); +%End +%If (Qt_5_14_0 -) +QDataStream &operator<<(QDataStream &, const QColorSpace & /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_14_0 -) +QDataStream &operator>>(QDataStream &, QColorSpace & /Constrained/) /ReleaseGIL/; +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolortransform.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolortransform.sip new file mode 100644 index 00000000..8edb748c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcolortransform.sip @@ -0,0 +1,41 @@ +// qcolortransform.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_14_0 -) + +class QColorTransform +{ +%TypeHeaderCode +#include +%End + +public: + QColorTransform(); + QColorTransform(const QColorTransform &colorTransform); + ~QColorTransform(); + void swap(QColorTransform &other /Constrained/); + QRgb map(QRgb argb) const; + QRgba64 map(QRgba64 rgba64) const; + QColor map(const QColor &color) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcursor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcursor.sip new file mode 100644 index 00000000..a3fbbfe6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qcursor.sip @@ -0,0 +1,87 @@ +// qcursor.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCursor /TypeHintIn="Union[QCursor, Qt.CursorShape]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +// SIP doesn't support automatic type convertors so we explicitly allow a +// Qt::CursorShape to be used whenever a QCursor is expected. + +if (sipIsErr == NULL) + return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_CursorShape)) || + sipCanConvertToType(sipPy, sipType_QCursor, SIP_NO_CONVERTORS)); + +if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_CursorShape))) +{ + *sipCppPtr = new QCursor((Qt::CursorShape)SIPLong_AsLong(sipPy)); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QCursor, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End + +public: + QCursor(); + QCursor(const QBitmap &bitmap, const QBitmap &mask, int hotX = -1, int hotY = -1); + QCursor(const QPixmap &pixmap, int hotX = -1, int hotY = -1); + QCursor(const QCursor &cursor); + QCursor(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QCursor(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QCursor(); + Qt::CursorShape shape() const; + void setShape(Qt::CursorShape newShape); + const QBitmap *bitmap() const; + const QBitmap *mask() const; + QPixmap pixmap() const; + QPoint hotSpot() const; + static QPoint pos(); + static void setPos(int x, int y); + static void setPos(const QPoint &p); + static QPoint pos(const QScreen *screen); + static void setPos(QScreen *screen, int x, int y); + static void setPos(QScreen *screen, const QPoint &p); +%If (Qt_5_7_0 -) + void swap(QCursor &other); +%End +}; + +QDataStream &operator<<(QDataStream &outS, const QCursor &cursor /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &inS, QCursor &cursor /Constrained/) /ReleaseGIL/; +%If (Qt_5_10_0 -) +bool operator==(const QCursor &lhs, const QCursor &rhs); +%End +%If (Qt_5_10_0 -) +bool operator!=(const QCursor &lhs, const QCursor &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qdesktopservices.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qdesktopservices.sip new file mode 100644 index 00000000..bab8a5ce --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qdesktopservices.sip @@ -0,0 +1,67 @@ +// qdesktopservices.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesktopServices +{ +%TypeHeaderCode +#include +%End + +public: + static bool openUrl(const QUrl &url) /ReleaseGIL/; + static void setUrlHandler(const QString &scheme, QObject *receiver, const char *method); + static void setUrlHandler(const QString &scheme, SIP_PYCALLABLE method /TypeHint="Callable[[QUrl], None]"/); +%MethodCode + // Allow a callable that must be a slot of a QObject, although we never tell + // the user if it isn't. + sipMethodDef pm; + + if (sipGetMethod(a1, &pm)) + { + int iserr = 0; + QObject *receiver = reinterpret_cast(sipForceConvertToType( + pm.pm_self, sipType_QObject, NULL, SIP_NOT_NONE, NULL, &iserr)); + + if (!iserr) + { + PyObject *f_name_obj = PyObject_GetAttrString(pm.pm_function, "__name__"); + + if (f_name_obj) + { + // We only want a borrowed reference. + Py_DECREF(f_name_obj); + + const char *f_name = sipString_AsASCIIString(&f_name_obj); + + if (f_name) + { + QDesktopServices::setUrlHandler(*a0, receiver, f_name); + + Py_DECREF(f_name_obj); + } + } + } + } +%End + + static void unsetUrlHandler(const QString &scheme); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qdrag.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qdrag.sip new file mode 100644 index 00000000..b903d560 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qdrag.sip @@ -0,0 +1,61 @@ +// qdrag.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDrag : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QDrag(QObject *dragSource /TransferThis/); + virtual ~QDrag(); + Qt::DropAction exec(Qt::DropActions supportedActions = Qt::MoveAction) /PyName=exec_,ReleaseGIL/; +%If (Py_v3) + Qt::DropAction exec(Qt::DropActions supportedActions = Qt::MoveAction) /ReleaseGIL/; +%End + Qt::DropAction exec(Qt::DropActions supportedActions, Qt::DropAction defaultDropAction) /PyName=exec_,ReleaseGIL/; + Qt::DropAction exec(Qt::DropActions supportedActions, Qt::DropAction defaultDropAction) /ReleaseGIL/; + void setMimeData(QMimeData *data /Transfer/); + QMimeData *mimeData() const; + void setPixmap(const QPixmap &); + QPixmap pixmap() const; + void setHotSpot(const QPoint &hotspot); + QPoint hotSpot() const; + QObject *source() const; + QObject *target() const; + void setDragCursor(const QPixmap &cursor, Qt::DropAction action); + +signals: + void actionChanged(Qt::DropAction action); + void targetChanged(QObject *newTarget); + +public: + QPixmap dragCursor(Qt::DropAction action) const; + Qt::DropActions supportedActions() const; + Qt::DropAction defaultAction() const; +%If (Qt_5_7_0 -) +%If (WS_X11 || WS_WIN) + static void cancel(); +%End +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qevent.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qevent.sip new file mode 100644 index 00000000..8fd1070d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qevent.sip @@ -0,0 +1,942 @@ +// qevent.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QInputEvent : QEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + switch (sipCpp->type()) + { + case QEvent::ActionAdded: + case QEvent::ActionChanged: + case QEvent::ActionRemoved: + sipType = sipType_QActionEvent; + break; + + case QEvent::Close: + sipType = sipType_QCloseEvent; + break; + + case QEvent::ContextMenu: + sipType = sipType_QContextMenuEvent; + break; + + case QEvent::DragEnter: + sipType = sipType_QDragEnterEvent; + break; + + case QEvent::DragLeave: + sipType = sipType_QDragLeaveEvent; + break; + + case QEvent::DragMove: + sipType = sipType_QDragMoveEvent; + break; + + case QEvent::Drop: + sipType = sipType_QDropEvent; + break; + + case QEvent::Enter: + sipType = sipType_QEnterEvent; + break; + + case QEvent::FileOpen: + sipType = sipType_QFileOpenEvent; + break; + + case QEvent::FocusIn: + case QEvent::FocusOut: + sipType = sipType_QFocusEvent; + break; + + case QEvent::Hide: + sipType = sipType_QHideEvent; + break; + + case QEvent::HoverEnter: + case QEvent::HoverLeave: + case QEvent::HoverMove: + sipType = sipType_QHoverEvent; + break; + + case QEvent::IconDrag: + sipType = sipType_QIconDragEvent; + break; + + case QEvent::InputMethod: + sipType = sipType_QInputMethodEvent; + break; + + case QEvent::KeyPress: + case QEvent::KeyRelease: + case QEvent::ShortcutOverride: + sipType = sipType_QKeyEvent; + break; + + case QEvent::MouseButtonDblClick: + case QEvent::MouseButtonPress: + case QEvent::MouseButtonRelease: + case QEvent::MouseMove: + sipType = sipType_QMouseEvent; + break; + + case QEvent::Move: + sipType = sipType_QMoveEvent; + break; + + case QEvent::Paint: + sipType = sipType_QPaintEvent; + break; + + case QEvent::Resize: + sipType = sipType_QResizeEvent; + break; + + case QEvent::Shortcut: + sipType = sipType_QShortcutEvent; + break; + + case QEvent::Show: + sipType = sipType_QShowEvent; + break; + + case QEvent::StatusTip: + sipType = sipType_QStatusTipEvent; + break; + + case QEvent::TabletMove: + case QEvent::TabletPress: + case QEvent::TabletRelease: + case QEvent::TabletEnterProximity: + case QEvent::TabletLeaveProximity: + sipType = sipType_QTabletEvent; + break; + + case QEvent::ToolTip: + case QEvent::WhatsThis: + sipType = sipType_QHelpEvent; + break; + + case QEvent::WhatsThisClicked: + sipType = sipType_QWhatsThisClickedEvent; + break; + + case QEvent::Wheel: + sipType = sipType_QWheelEvent; + break; + + case QEvent::WindowStateChange: + sipType = sipType_QWindowStateChangeEvent; + break; + + case QEvent::TouchBegin: + case QEvent::TouchUpdate: + case QEvent::TouchEnd: + case QEvent::TouchCancel: + sipType = sipType_QTouchEvent; + break; + + case QEvent::InputMethodQuery: + sipType = sipType_QInputMethodQueryEvent; + break; + + case QEvent::Expose: + sipType = sipType_QExposeEvent; + break; + + case QEvent::ScrollPrepare: + sipType = sipType_QScrollPrepareEvent; + break; + + case QEvent::Scroll: + sipType = sipType_QScrollEvent; + break; + + #if QT_VERSION >= 0x050200 + case QEvent::NativeGesture: + sipType = sipType_QNativeGestureEvent; + break; + #endif + + #if QT_VERSION >= 0x050500 + case QEvent::PlatformSurface: + sipType = sipType_QPlatformSurfaceEvent; + break; + #endif + + default: + sipType = 0; + } +%End + +public: + virtual ~QInputEvent(); + Qt::KeyboardModifiers modifiers() const; + ulong timestamp() const; + void setTimestamp(ulong atimestamp); +}; + +class QMouseEvent : QInputEvent +{ +%TypeHeaderCode +#include +%End + +public: + QMouseEvent(QEvent::Type type, const QPointF &pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); + QMouseEvent(QEvent::Type type, const QPointF &pos, const QPointF &globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); + QMouseEvent(QEvent::Type type, const QPointF &pos, const QPointF &windowPos, const QPointF &globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +%If (Qt_5_6_0 -) + QMouseEvent(QEvent::Type type, const QPointF &localPos, const QPointF &windowPos, const QPointF &screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source); +%End + virtual ~QMouseEvent(); + QPoint pos() const; + QPoint globalPos() const; + int x() const; + int y() const; + int globalX() const; + int globalY() const; + Qt::MouseButton button() const; + Qt::MouseButtons buttons() const; + const QPointF &localPos() const; + const QPointF &windowPos() const; + const QPointF &screenPos() const; +%If (Qt_5_3_0 -) + Qt::MouseEventSource source() const; +%End +%If (Qt_5_3_0 -) + Qt::MouseEventFlags flags() const; +%End +}; + +class QHoverEvent : QInputEvent +{ +%TypeHeaderCode +#include +%End + +public: + QHoverEvent(QEvent::Type type, const QPointF &pos, const QPointF &oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier); + virtual ~QHoverEvent(); + QPoint pos() const; + QPoint oldPos() const; + const QPointF &posF() const; + const QPointF &oldPosF() const; +}; + +class QWheelEvent : QInputEvent +{ +%TypeHeaderCode +#include +%End + +public: + QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +%If (Qt_5_2_0 -) + QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase); +%End +%If (Qt_5_5_0 -) + QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source); +%End +%If (Qt_5_7_0 -) + QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted); +%End +%If (Qt_5_12_0 -) + QWheelEvent(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, bool inverted, Qt::MouseEventSource source = Qt::MouseEventNotSynthesized); +%End + virtual ~QWheelEvent(); + QPoint pos() const; + QPoint globalPos() const; + int x() const; + int y() const; + int globalX() const; + int globalY() const; + Qt::MouseButtons buttons() const; + QPoint pixelDelta() const; + QPoint angleDelta() const; + const QPointF &posF() const; + const QPointF &globalPosF() const; +%If (Qt_5_2_0 -) + Qt::ScrollPhase phase() const; +%End +%If (Qt_5_5_0 -) + Qt::MouseEventSource source() const; +%End +%If (Qt_5_7_0 -) + bool inverted() const; +%End +%If (Qt_5_14_0 -) + QPointF position() const; +%End +%If (Qt_5_14_0 -) + QPointF globalPosition() const; +%End +}; + +class QTabletEvent : QInputEvent +{ +%TypeHeaderCode +#include +%End + +public: + enum TabletDevice + { + NoDevice, + Puck, + Stylus, + Airbrush, + FourDMouse, + XFreeEraser, + RotationStylus, + }; + + enum PointerType + { + UnknownPointer, + Pen, + Cursor, + Eraser, + }; + +%If (Qt_5_4_0 -) + QTabletEvent(QEvent::Type t, const QPointF &pos, const QPointF &globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons); +%End + QTabletEvent(QEvent::Type t, const QPointF &pos, const QPointF &globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID); + virtual ~QTabletEvent(); + QPoint pos() const; + QPoint globalPos() const; + int x() const; + int y() const; + int globalX() const; + int globalY() const; + qreal hiResGlobalX() const; + qreal hiResGlobalY() const; + QTabletEvent::TabletDevice device() const; + QTabletEvent::PointerType pointerType() const; + qint64 uniqueId() const; + qreal pressure() const; + int z() const; + qreal tangentialPressure() const; + qreal rotation() const; + int xTilt() const; + int yTilt() const; + const QPointF &posF() const; + const QPointF &globalPosF() const; +%If (Qt_5_4_0 -) + Qt::MouseButton button() const; +%End +%If (Qt_5_4_0 -) + Qt::MouseButtons buttons() const; +%End +%If (Qt_5_15_0 -) + QTabletEvent::TabletDevice deviceType() const; +%End +}; + +class QKeyEvent : QInputEvent +{ +%TypeHeaderCode +#include +%End + +public: + QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text = QString(), bool autorep = false, ushort count = 1); + QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text = QString(), bool autorep = false, ushort count = 1); + virtual ~QKeyEvent(); + int key() const; + Qt::KeyboardModifiers modifiers() const; + QString text() const; + bool isAutoRepeat() const; + int count() const /__len__/; + bool matches(QKeySequence::StandardKey key) const; + quint32 nativeModifiers() const; + quint32 nativeScanCode() const; + quint32 nativeVirtualKey() const; +}; + +class QFocusEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QFocusEvent(QEvent::Type type, Qt::FocusReason reason = Qt::OtherFocusReason); + virtual ~QFocusEvent(); + bool gotFocus() const; + bool lostFocus() const; + Qt::FocusReason reason() const; +}; + +class QPaintEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPaintEvent(const QRegion &paintRegion); + explicit QPaintEvent(const QRect &paintRect); + virtual ~QPaintEvent(); + const QRect &rect() const; + const QRegion ®ion() const; +}; + +class QMoveEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QMoveEvent(const QPoint &pos, const QPoint &oldPos); + virtual ~QMoveEvent(); + const QPoint &pos() const; + const QPoint &oldPos() const; +}; + +class QResizeEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QResizeEvent(const QSize &size, const QSize &oldSize); + virtual ~QResizeEvent(); + const QSize &size() const; + const QSize &oldSize() const; +}; + +class QCloseEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QCloseEvent(); + virtual ~QCloseEvent(); +}; + +class QIconDragEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QIconDragEvent(); + virtual ~QIconDragEvent(); +}; + +class QShowEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QShowEvent(); + virtual ~QShowEvent(); +}; + +class QHideEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QHideEvent(); + virtual ~QHideEvent(); +}; + +class QContextMenuEvent : QInputEvent +{ +%TypeHeaderCode +#include +%End + +public: + enum Reason + { + Mouse, + Keyboard, + Other, + }; + + QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos, const QPoint &globalPos, Qt::KeyboardModifiers modifiers); + QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos, const QPoint &globalPos); + QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos); + virtual ~QContextMenuEvent(); + int x() const; + int y() const; + int globalX() const; + int globalY() const; + const QPoint &pos() const; + const QPoint &globalPos() const; + QContextMenuEvent::Reason reason() const; +}; + +class QInputMethodEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + enum AttributeType + { + TextFormat, + Cursor, + Language, + Ruby, + Selection, + }; + + class Attribute + { +%TypeHeaderCode +#include +%End + + public: + Attribute(QInputMethodEvent::AttributeType t, int s, int l, QVariant val); +%If (Qt_5_8_0 -) + Attribute(QInputMethodEvent::AttributeType typ, int s, int l); +%End + QInputMethodEvent::AttributeType type; + int start; + int length; + QVariant value; + }; + + QInputMethodEvent(); + QInputMethodEvent(const QString &preeditText, const QList &attributes); + QInputMethodEvent(const QInputMethodEvent &other); +%If (Qt_5_6_0 -) + virtual ~QInputMethodEvent(); +%End + void setCommitString(const QString &commitString, int from = 0, int length = 0); + const QList &attributes() const; + const QString &preeditString() const; + const QString &commitString() const; + int replacementStart() const; + int replacementLength() const; +}; + +class QInputMethodQueryEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + explicit QInputMethodQueryEvent(Qt::InputMethodQueries queries); + virtual ~QInputMethodQueryEvent(); + Qt::InputMethodQueries queries() const; + void setValue(Qt::InputMethodQuery query, const QVariant &value); + QVariant value(Qt::InputMethodQuery query) const; +}; + +class QDropEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QDropEvent(const QPointF &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop); + virtual ~QDropEvent(); + QPoint pos() const; + const QPointF &posF() const; + Qt::MouseButtons mouseButtons() const; + Qt::KeyboardModifiers keyboardModifiers() const; + Qt::DropActions possibleActions() const; + Qt::DropAction proposedAction() const; + void acceptProposedAction(); + Qt::DropAction dropAction() const; + void setDropAction(Qt::DropAction action); + QObject *source() const; + const QMimeData *mimeData() const; +}; + +class QDragMoveEvent : QDropEvent +{ +%TypeHeaderCode +#include +%End + +public: + QDragMoveEvent(const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove); + virtual ~QDragMoveEvent(); + QRect answerRect() const; + void accept(); + void ignore(); + void accept(const QRect &r); + void ignore(const QRect &r); +}; + +class QDragEnterEvent : QDragMoveEvent +{ +%TypeHeaderCode +#include +%End + +public: + QDragEnterEvent(const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); + virtual ~QDragEnterEvent(); +}; + +class QDragLeaveEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QDragLeaveEvent(); + virtual ~QDragLeaveEvent(); +}; + +class QHelpEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QHelpEvent(QEvent::Type type, const QPoint &pos, const QPoint &globalPos); + virtual ~QHelpEvent(); + int x() const; + int y() const; + int globalX() const; + int globalY() const; + const QPoint &pos() const; + const QPoint &globalPos() const; +}; + +class QStatusTipEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + explicit QStatusTipEvent(const QString &tip); + virtual ~QStatusTipEvent(); + QString tip() const; +}; + +class QWhatsThisClickedEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWhatsThisClickedEvent(const QString &href); + virtual ~QWhatsThisClickedEvent(); + QString href() const; +}; + +class QActionEvent : QEvent +{ +%TypeHintCode +from PyQt5.QtWidgets import QAction +%End + +%TypeHeaderCode +#include +%End + +public: + QActionEvent(int type, QAction *action, QAction *before = 0); + virtual ~QActionEvent(); + QAction *action() const; + QAction *before() const; +}; + +class QFileOpenEvent : QEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QFileOpenEvent(); + QString file() const; + QUrl url() const; + bool openFile(QFile &file, QIODevice::OpenMode flags) const; +}; + +class QShortcutEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false); + virtual ~QShortcutEvent(); + bool isAmbiguous() const; + const QKeySequence &key() const; + int shortcutId() const; +}; + +class QWindowStateChangeEvent : QEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QWindowStateChangeEvent(); + Qt::WindowStates oldState() const; +}; + +class QTouchEvent : QInputEvent +{ +%TypeHeaderCode +#include +%End + +public: + class TouchPoint /NoDefaultCtors/ + { +%TypeHeaderCode +#include +%End + + public: + int id() const; + Qt::TouchPointState state() const; + QPointF pos() const; + QPointF startPos() const; + QPointF lastPos() const; + QPointF scenePos() const; + QPointF startScenePos() const; + QPointF lastScenePos() const; + QPointF screenPos() const; + QPointF startScreenPos() const; + QPointF lastScreenPos() const; + QPointF normalizedPos() const; + QPointF startNormalizedPos() const; + QPointF lastNormalizedPos() const; + QRectF rect() const; + QRectF sceneRect() const; + QRectF screenRect() const; + qreal pressure() const; + + enum InfoFlag + { + Pen, +%If (Qt_5_8_0 -) + Token, +%End + }; + + typedef QFlags InfoFlags; + QVector2D velocity() const; + QTouchEvent::TouchPoint::InfoFlags flags() const; + QVector rawScreenPositions() const; +%If (Qt_5_8_0 -) + QPointingDeviceUniqueId uniqueId() const; +%End +%If (Qt_5_8_0 -) + qreal rotation() const; +%End +%If (Qt_5_9_0 -) + QSizeF ellipseDiameters() const; +%End + }; + + QTouchEvent(QEvent::Type eventType, QTouchDevice *device = 0, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList &touchPoints = QList()); + virtual ~QTouchEvent(); + QObject *target() const; + Qt::TouchPointStates touchPointStates() const; + const QList &touchPoints() const; + QWindow *window() const; + QTouchDevice *device() const; + void setDevice(QTouchDevice *adevice); +}; + +QFlags operator|(QTouchEvent::TouchPoint::InfoFlag f1, QFlags f2); +QFlags operator|(QTouchEvent::TouchPoint::InfoFlag f1, QTouchEvent::TouchPoint::InfoFlag f2); + +class QExposeEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + explicit QExposeEvent(const QRegion &rgn); + virtual ~QExposeEvent(); + const QRegion ®ion() const; +}; + +class QScrollPrepareEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + explicit QScrollPrepareEvent(const QPointF &startPos); + virtual ~QScrollPrepareEvent(); + QPointF startPos() const; + QSizeF viewportSize() const; + QRectF contentPosRange() const; + QPointF contentPos() const; + void setViewportSize(const QSizeF &size); + void setContentPosRange(const QRectF &rect); + void setContentPos(const QPointF &pos); +}; + +class QScrollEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + enum ScrollState + { + ScrollStarted, + ScrollUpdated, + ScrollFinished, + }; + + QScrollEvent(const QPointF &contentPos, const QPointF &overshoot, QScrollEvent::ScrollState scrollState); + virtual ~QScrollEvent(); + QPointF contentPos() const; + QPointF overshootDistance() const; + QScrollEvent::ScrollState scrollState() const; +}; + +bool operator==(QKeyEvent *e, QKeySequence::StandardKey key); +bool operator==(QKeySequence::StandardKey key, QKeyEvent *e); + +class QEnterEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + QEnterEvent(const QPointF &localPos, const QPointF &windowPos, const QPointF &screenPos); + virtual ~QEnterEvent(); + QPoint pos() const; + QPoint globalPos() const; + int x() const; + int y() const; + int globalX() const; + int globalY() const; + const QPointF &localPos() const; + const QPointF &windowPos() const; + const QPointF &screenPos() const; +}; + +class QAction /External/; +%If (Qt_5_2_0 -) + +class QNativeGestureEvent : QInputEvent +{ +%TypeHeaderCode +#include +%End + +public: + QNativeGestureEvent(Qt::NativeGestureType type, const QPointF &localPos, const QPointF &windowPos, const QPointF &screenPos, qreal value, ulong sequenceId, quint64 intArgument); +%If (Qt_5_10_0 -) + QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice *dev, const QPointF &localPos, const QPointF &windowPos, const QPointF &screenPos, qreal value, ulong sequenceId, quint64 intArgument); +%End +%If (Qt_5_10_0 -) + virtual ~QNativeGestureEvent(); +%End + Qt::NativeGestureType gestureType() const; + qreal value() const; + const QPoint pos() const; + const QPoint globalPos() const; + const QPointF &localPos() const; + const QPointF &windowPos() const; + const QPointF &screenPos() const; +%If (Qt_5_10_0 -) + const QTouchDevice *device() const; +%End +}; + +%End +%If (Qt_5_5_0 -) + +class QPlatformSurfaceEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +public: + enum SurfaceEventType + { + SurfaceCreated, + SurfaceAboutToBeDestroyed, + }; + + explicit QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType); + virtual ~QPlatformSurfaceEvent(); + QPlatformSurfaceEvent::SurfaceEventType surfaceEventType() const; +}; + +%End +%If (Qt_5_8_0 -) + +class QPointingDeviceUniqueId +{ +%TypeHeaderCode +#include +%End + +public: + QPointingDeviceUniqueId(); + static QPointingDeviceUniqueId fromNumericId(qint64 id); + bool isValid() const; + qint64 numericId() const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +%End +%If (Qt_5_8_0 -) +bool operator==(QPointingDeviceUniqueId lhs, QPointingDeviceUniqueId rhs); +%End +%If (Qt_5_8_0 -) +bool operator!=(QPointingDeviceUniqueId lhs, QPointingDeviceUniqueId rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfont.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfont.sip new file mode 100644 index 00000000..2fa7ddbd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfont.sip @@ -0,0 +1,236 @@ +// qfont.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFont +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleHint + { + Helvetica, + SansSerif, + Times, + Serif, + Courier, + TypeWriter, + OldEnglish, + Decorative, + System, + AnyStyle, + Cursive, + Monospace, + Fantasy, + }; + + enum StyleStrategy + { + PreferDefault, + PreferBitmap, + PreferDevice, + PreferOutline, + ForceOutline, + PreferMatch, + PreferQuality, + PreferAntialias, + NoAntialias, +%If (Qt_5_4_0 -) + NoSubpixelAntialias, +%End + OpenGLCompatible, + NoFontMerging, + ForceIntegerMetrics, +%If (Qt_5_10_0 -) + PreferNoShaping, +%End + }; + + enum Weight + { +%If (Qt_5_5_0 -) + Thin, +%End +%If (Qt_5_5_0 -) + ExtraLight, +%End + Light, + Normal, +%If (Qt_5_5_0 -) + Medium, +%End + DemiBold, + Bold, +%If (Qt_5_5_0 -) + ExtraBold, +%End + Black, + }; + + enum Style + { + StyleNormal, + StyleItalic, + StyleOblique, + }; + + enum Stretch + { +%If (Qt_5_8_0 -) + AnyStretch, +%End + UltraCondensed, + ExtraCondensed, + Condensed, + SemiCondensed, + Unstretched, + SemiExpanded, + Expanded, + ExtraExpanded, + UltraExpanded, + }; + + QFont(); + QFont(const QString &family, int pointSize = -1, int weight = -1, bool italic = false); + QFont(const QFont &, QPaintDevice *pd); + QFont(const QFont &); + QFont(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QFont(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QFont(); + QString family() const; + void setFamily(const QString &); + int pointSize() const; + void setPointSize(int); + qreal pointSizeF() const; + void setPointSizeF(qreal); + int pixelSize() const; + void setPixelSize(int); + int weight() const; + void setWeight(int); + void setStyle(QFont::Style style); + QFont::Style style() const; + bool underline() const; + void setUnderline(bool); + bool overline() const; + void setOverline(bool); + bool strikeOut() const; + void setStrikeOut(bool); + bool fixedPitch() const; + void setFixedPitch(bool); + bool kerning() const; + void setKerning(bool); + QFont::StyleHint styleHint() const; + QFont::StyleStrategy styleStrategy() const; + void setStyleHint(QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); + void setStyleStrategy(QFont::StyleStrategy s); + int stretch() const; + void setStretch(int); + bool rawMode() const; + void setRawMode(bool); + bool exactMatch() const; + bool operator==(const QFont &) const; + bool operator!=(const QFont &) const; + bool operator<(const QFont &) const; + bool isCopyOf(const QFont &) const; + void setRawName(const QString &); + QString rawName() const; + QString key() const; + QString toString() const; + bool fromString(const QString &); + static QString substitute(const QString &); + static QStringList substitutes(const QString &); + static QStringList substitutions(); + static void insertSubstitution(const QString &, const QString &); + static void insertSubstitutions(const QString &, const QStringList &); + static void removeSubstitutions(const QString &); + static void initialize(); + static void cleanup(); + static void cacheStatistics(); + QString defaultFamily() const; + QString lastResortFamily() const; + QString lastResortFont() const; + QFont resolve(const QFont &) const; + bool bold() const; + void setBold(bool enable); + bool italic() const; + void setItalic(bool b); + + enum Capitalization + { + MixedCase, + AllUppercase, + AllLowercase, + SmallCaps, + Capitalize, + }; + + enum SpacingType + { + PercentageSpacing, + AbsoluteSpacing, + }; + + qreal letterSpacing() const; + QFont::SpacingType letterSpacingType() const; + void setLetterSpacing(QFont::SpacingType type, qreal spacing); + qreal wordSpacing() const; + void setWordSpacing(qreal spacing); + void setCapitalization(QFont::Capitalization); + QFont::Capitalization capitalization() const; + + enum HintingPreference + { + PreferDefaultHinting, + PreferNoHinting, + PreferVerticalHinting, + PreferFullHinting, + }; + + QString styleName() const; + void setStyleName(const QString &styleName); + void setHintingPreference(QFont::HintingPreference hintingPreference); + QFont::HintingPreference hintingPreference() const; + void swap(QFont &other /Constrained/); +%If (Qt_5_3_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +%If (Qt_5_13_0 -) + QStringList families() const; +%End +%If (Qt_5_13_0 -) + void setFamilies(const QStringList &); +%End +}; + +QDataStream &operator<<(QDataStream &, const QFont & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QFont & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontdatabase.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontdatabase.sip new file mode 100644 index 00000000..77039b1f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontdatabase.sip @@ -0,0 +1,112 @@ +// qfontdatabase.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFontDatabase +{ +%TypeHeaderCode +#include +%End + +public: + enum WritingSystem + { + Any, + Latin, + Greek, + Cyrillic, + Armenian, + Hebrew, + Arabic, + Syriac, + Thaana, + Devanagari, + Bengali, + Gurmukhi, + Gujarati, + Oriya, + Tamil, + Telugu, + Kannada, + Malayalam, + Sinhala, + Thai, + Lao, + Tibetan, + Myanmar, + Georgian, + Khmer, + SimplifiedChinese, + TraditionalChinese, + Japanese, + Korean, + Vietnamese, + Other, + Symbol, + Ogham, + Runic, + Nko, + }; + + static QList standardSizes(); + QFontDatabase(); + QList writingSystems() const; + QList writingSystems(const QString &family) const; + QStringList families(QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any) const; + QStringList styles(const QString &family) const; + QList pointSizes(const QString &family, const QString &style = QString()); + QList smoothSizes(const QString &family, const QString &style); + QString styleString(const QFont &font); + QString styleString(const QFontInfo &fontInfo); + QFont font(const QString &family, const QString &style, int pointSize) const; + bool isBitmapScalable(const QString &family, const QString &style = QString()) const; + bool isSmoothlyScalable(const QString &family, const QString &style = QString()) const; + bool isScalable(const QString &family, const QString &style = QString()) const; + bool isFixedPitch(const QString &family, const QString &style = QString()) const; + bool italic(const QString &family, const QString &style) const; + bool bold(const QString &family, const QString &style) const; + int weight(const QString &family, const QString &style) const; + static QString writingSystemName(QFontDatabase::WritingSystem writingSystem); + static QString writingSystemSample(QFontDatabase::WritingSystem writingSystem); + static int addApplicationFont(const QString &fileName); + static int addApplicationFontFromData(const QByteArray &fontData); + static QStringList applicationFontFamilies(int id); + static bool removeApplicationFont(int id); + static bool removeAllApplicationFonts(); + static bool supportsThreadedFontRendering(); +%If (Qt_5_2_0 -) + + enum SystemFont + { + GeneralFont, + FixedFont, + TitleFont, + SmallestReadableFont, + }; + +%End +%If (Qt_5_2_0 -) + static QFont systemFont(QFontDatabase::SystemFont type); +%End +%If (Qt_5_5_0 -) + bool isPrivateFamily(const QString &family) const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontinfo.sip new file mode 100644 index 00000000..6891aeb4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontinfo.sip @@ -0,0 +1,47 @@ +// qfontinfo.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFontInfo +{ +%TypeHeaderCode +#include +%End + +public: + QFontInfo(const QFont &); + QFontInfo(const QFontInfo &); + ~QFontInfo(); + QString family() const; + int pixelSize() const; + int pointSize() const; + qreal pointSizeF() const; + bool italic() const; + QFont::Style style() const; + int weight() const; + bool bold() const; + bool fixedPitch() const; + QFont::StyleHint styleHint() const; + bool rawMode() const; + bool exactMatch() const; + QString styleName() const; + void swap(QFontInfo &other /Constrained/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontmetrics.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontmetrics.sip new file mode 100644 index 00000000..2f0e7063 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qfontmetrics.sip @@ -0,0 +1,195 @@ +// qfontmetrics.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFontMetrics +{ +%TypeHeaderCode +#include +%End + +public: + explicit QFontMetrics(const QFont &); + QFontMetrics(const QFont &, QPaintDevice *pd); + QFontMetrics(const QFontMetrics &); + ~QFontMetrics(); + int ascent() const; + int descent() const; + int height() const; + int leading() const; + int lineSpacing() const; + int minLeftBearing() const; + int minRightBearing() const; + int maxWidth() const; + int xHeight() const; + bool inFont(QChar) const; + int leftBearing(QChar) const; + int rightBearing(QChar) const; + int width(QChar) const /PyName=widthChar/; + int width(const QString &text, int length = -1) const; + QRect boundingRect(QChar) const /PyName=boundingRectChar/; + QRect boundingRect(const QString &text) const; + QRect boundingRect(const QRect &rect, int flags, const QString &text, int tabStops = 0, SIP_PYLIST tabArray /AllowNone,TypeHint="Optional[List[int]]"/ = 0) const; +%MethodCode + int *tabarray = qtgui_tabarray(a4); + + sipRes = new QRect(sipCpp->boundingRect(*a0, a1, *a2, a3, tabarray)); + + if (!tabarray) + delete[] tabarray; +%End + + QRect boundingRect(int x, int y, int width, int height, int flags, const QString &text, int tabStops = 0, SIP_PYLIST tabArray /AllowNone,TypeHint="Optional[List[int]]"/ = 0) const; +%MethodCode + int *tabarray = qtgui_tabarray(a7); + + sipRes = new QRect(sipCpp->boundingRect(a0, a1, a2, a3, a4, *a5, a6, tabarray)); + + if (!tabarray) + delete[] tabarray; +%End + + QSize size(int flags, const QString &text, int tabStops = 0, SIP_PYLIST tabArray /AllowNone,TypeHint="Optional[List[int]]"/ = 0) const; +%MethodCode + int *tabarray = qtgui_tabarray(a3); + + sipRes = new QSize(sipCpp->size(a0, *a1, a2, tabarray)); + + if (!tabarray) + delete[] tabarray; +%End + + int underlinePos() const; + int overlinePos() const; + int strikeOutPos() const; + int lineWidth() const; + int averageCharWidth() const; + QString elidedText(const QString &text, Qt::TextElideMode mode, int width, int flags = 0) const; + bool operator==(const QFontMetrics &other) const; + bool operator!=(const QFontMetrics &other) const; + QRect tightBoundingRect(const QString &text) const; + bool inFontUcs4(uint character) const; + void swap(QFontMetrics &other /Constrained/); +%If (Qt_5_8_0 -) + int capHeight() const; +%End +%If (Qt_5_11_0 -) + int horizontalAdvance(const QString &, int length = -1) const; +%End +%If (Qt_5_14_0 -) + qreal fontDpi() const; +%End +}; + +class QFontMetricsF +{ +%TypeHeaderCode +#include +%End + +public: + explicit QFontMetricsF(const QFont &); + QFontMetricsF(const QFont &, QPaintDevice *pd); + QFontMetricsF(const QFontMetrics &); + QFontMetricsF(const QFontMetricsF &); + ~QFontMetricsF(); + qreal ascent() const; + qreal descent() const; + qreal height() const; + qreal leading() const; + qreal lineSpacing() const; + qreal minLeftBearing() const; + qreal minRightBearing() const; + qreal maxWidth() const; + qreal xHeight() const; + bool inFont(QChar) const; + qreal leftBearing(QChar) const; + qreal rightBearing(QChar) const; + qreal width(QChar) const /PyName=widthChar/; + qreal width(const QString &string) const; + QRectF boundingRect(QChar) const /PyName=boundingRectChar/; + QRectF boundingRect(const QString &string) const; + QRectF boundingRect(const QRectF &rect, int flags, const QString &text, int tabStops = 0, SIP_PYLIST tabArray /AllowNone,TypeHint="Optional[List[int]]"/ = 0) const; +%MethodCode + int *tabarray = qtgui_tabarray(a4); + + sipRes = new QRectF(sipCpp->boundingRect(*a0, a1, *a2, a3, tabarray)); + + if (!tabarray) + delete[] tabarray; +%End + + QSizeF size(int flags, const QString &text, int tabStops = 0, SIP_PYLIST tabArray /AllowNone,TypeHint="Optional[List[int]]"/ = 0) const; +%MethodCode + int *tabarray = qtgui_tabarray(a3); + + sipRes = new QSizeF(sipCpp->size(a0, *a1, a2, tabarray)); + + if (!tabarray) + delete[] tabarray; +%End + + qreal underlinePos() const; + qreal overlinePos() const; + qreal strikeOutPos() const; + qreal lineWidth() const; + qreal averageCharWidth() const; + QString elidedText(const QString &text, Qt::TextElideMode mode, qreal width, int flags = 0) const; + bool operator==(const QFontMetricsF &other) const; + bool operator!=(const QFontMetricsF &other) const; + QRectF tightBoundingRect(const QString &text) const; + bool inFontUcs4(uint character) const; + void swap(QFontMetricsF &other /Constrained/); +%If (Qt_5_8_0 -) + qreal capHeight() const; +%End +%If (Qt_5_11_0 -) + qreal horizontalAdvance(const QString &string, int length = -1) const; +%End +%If (Qt_5_14_0 -) + qreal fontDpi() const; +%End +}; + +%ModuleHeaderCode +// Used by QFontMetrics and QFontMetricsF. +int *qtgui_tabarray(PyObject *l); +%End + +%ModuleCode +// Convert an optional Python list to a 0 terminated array of integers on the +// heap. +int *qtgui_tabarray(PyObject *l) +{ + if (!l || l == Py_None) + return 0; + + int *arr = new int[PyList_Size(l) + 1]; + Py_ssize_t i; + + for (i = 0; i < PyList_Size(l); ++i) + arr[i] = SIPLong_AsLong(PyList_GetItem(l, i)); + + arr[i] = 0; + + return arr; +} +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qgenericmatrix.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qgenericmatrix.sip new file mode 100644 index 00000000..ea9a66f8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qgenericmatrix.sip @@ -0,0 +1,1214 @@ +// qgenericmatrix.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +// The implementation of QMatrix4x3. +class QMatrix4x3 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[12]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"dddddddddddd", + (double)data[0], (double)data[1], (double)data[2], + (double)data[3], (double)data[4], (double)data[5], + (double)data[6], (double)data[7], (double)data[8], + (double)data[9], (double)data[10], (double)data[11]); +%End + +public: + QMatrix4x3(); + QMatrix4x3(const QMatrix4x3 &other); + explicit QMatrix4x3(SIP_PYOBJECT values /TypeHint="Sequence[float]"/); +%MethodCode + PYQT_FLOAT values[12]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 12, values)) == sipErrorNone) + sipCpp = new QMatrix4x3(values); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[12]; + PYQT_FLOAT data[12]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 12; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { +#if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix4x3(" + "%R, %R, %R, " + "%R, %R, %R, " + "%R, %R, %R, " + "%R, %R, %R)", + m[0], m[1], m[2], + m[3], m[4], m[5], + m[6], m[7], m[8], + m[9], m[10], m[11]); +#else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix4x3("); + + for (i = 0; i < 12; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); +#endif + } + + for (i = 0; i < 12; ++i) + Py_XDECREF(m[i]); +%End + + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(12, sipCpp->constData(), &sipRes); +%End + + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + PYQT_FLOAT values[12]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(12, values, &sipRes); +%End + + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 4, 3, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + +%If (Qt_5_0_0 -) + void __setitem__(SIP_PYOBJECT, float); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 4, 3, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End +%If (- Qt_5_0_0) + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 4, 3, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End + + bool isIdentity() const; + void setToIdentity(); + +%If (Qt_5_0_0 -) + void fill(float value); +%End +%If (- Qt_5_0_0) + void fill(qreal value); +%End + + QMatrix3x4 transposed() const; + + QMatrix4x3 &operator+=(const QMatrix4x3 &); + QMatrix4x3 &operator-=(const QMatrix4x3 &); + +%If (Qt_5_0_0 -) + QMatrix4x3 &operator*=(float); + QMatrix4x3 &operator/=(float); +%End +%If (- Qt_5_0_0) + QMatrix4x3 &operator*=(qreal); + QMatrix4x3 &operator/=(qreal); +%End + + bool operator==(const QMatrix4x3 &) const; + bool operator!=(const QMatrix4x3 &) const; +}; +// The implementation of QMatrix4x2. +class QMatrix4x2 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[8]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"dddddddd", + (double)data[0], (double)data[1], + (double)data[2], (double)data[3], + (double)data[4], (double)data[5], + (double)data[6], (double)data[7]); +%End + +public: + QMatrix4x2(); + QMatrix4x2(const QMatrix4x2 &other); + explicit QMatrix4x2(SIP_PYOBJECT values /TypeHint="Sequence[float]"/); +%MethodCode + PYQT_FLOAT values[8]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 8, values)) == sipErrorNone) + sipCpp = new QMatrix4x2(values); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[8]; + PYQT_FLOAT data[8]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 8; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { +#if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix4x2(" + "%R, %R, " + "%R, %R, " + "%R, %R, " + "%R, %R)", + m[0], m[1], + m[2], m[3], + m[4], m[5], + m[6], m[7]); +#else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix4x2("); + + for (i = 0; i < 8; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); +#endif + } + + for (i = 0; i < 8; ++i) + Py_XDECREF(m[i]); +%End + + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(8, sipCpp->constData(), &sipRes); +%End + + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + PYQT_FLOAT values[8]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(8, values, &sipRes); +%End + + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 4, 2, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + +%If (Qt_5_0_0 -) + void __setitem__(SIP_PYOBJECT, float); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 4, 2, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End +%If (- Qt_5_0_0) + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 4, 2, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End + + bool isIdentity() const; + void setToIdentity(); + +%If (Qt_5_0_0 -) + void fill(float value); +%End +%If (- Qt_5_0_0) + void fill(qreal value); +%End + + QMatrix2x4 transposed() const; + + QMatrix4x2 &operator+=(const QMatrix4x2 &); + QMatrix4x2 &operator-=(const QMatrix4x2 &); + +%If (Qt_5_0_0 -) + QMatrix4x2 &operator*=(float); + QMatrix4x2 &operator/=(float); +%End +%If (- Qt_5_0_0) + QMatrix4x2 &operator*=(qreal); + QMatrix4x2 &operator/=(qreal); +%End + + bool operator==(const QMatrix4x2 &) const; + bool operator!=(const QMatrix4x2 &) const; +}; +// The implementation of QMatrix3x4. +class QMatrix3x4 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[12]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"dddddddddddd", + (double)data[0], (double)data[1], (double)data[2], + (double)data[3], (double)data[4], (double)data[5], + (double)data[6], (double)data[7], (double)data[8], + (double)data[9], (double)data[10], (double)data[11]); +%End + +public: + QMatrix3x4(); + QMatrix3x4(const QMatrix3x4 &other); + explicit QMatrix3x4(SIP_PYOBJECT values /TypeHint="Sequence[float]"/); +%MethodCode + PYQT_FLOAT values[12]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 12, values)) == sipErrorNone) + sipCpp = new QMatrix3x4(values); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[12]; + PYQT_FLOAT data[12]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 12; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { +#if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix3x4(" + "%R, %R, %R, " + "%R, %R, %R, " + "%R, %R, %R, " + "%R, %R, %R)", + m[0], m[1], m[2], + m[3], m[4], m[5], + m[6], m[7], m[8], + m[9], m[10], m[11]); +#else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix3x4("); + + for (i = 0; i < 12; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); +#endif + } + + for (i = 0; i < 12; ++i) + Py_XDECREF(m[i]); +%End + + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(12, sipCpp->constData(), &sipRes); +%End + + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + PYQT_FLOAT values[12]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(12, values, &sipRes); +%End + + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 4, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + +%If (Qt_5_0_0 -) + void __setitem__(SIP_PYOBJECT, float); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 4, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End +%If (- Qt_5_0_0) + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 4, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End + + bool isIdentity() const; + void setToIdentity(); + +%If (Qt_5_0_0 -) + void fill(qreal value); +%End +%If (- Qt_5_0_0) + void fill(qreal value); +%End + + QMatrix4x3 transposed() const; + + QMatrix3x4 &operator+=(const QMatrix3x4 &); + QMatrix3x4 &operator-=(const QMatrix3x4 &); + +%If (Qt_5_0_0 -) + QMatrix3x4 &operator*=(float); + QMatrix3x4 &operator/=(float); +%End +%If (- Qt_5_0_0) + QMatrix3x4 &operator*=(qreal); + QMatrix3x4 &operator/=(qreal); +%End + + bool operator==(const QMatrix3x4 &) const; + bool operator!=(const QMatrix3x4 &) const; +}; +// The implementation of QMatrix3x3. +class QMatrix3x3 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[9]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"ddddddddd", + (double)data[0], (double)data[1], (double)data[2], + (double)data[3], (double)data[4], (double)data[5], + (double)data[6], (double)data[7], (double)data[8]); +%End + +public: + QMatrix3x3(); + QMatrix3x3(const QMatrix3x3 &other); + explicit QMatrix3x3(SIP_PYOBJECT values /TypeHint="Sequence[float]"/); +%MethodCode + PYQT_FLOAT values[9]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 9, values)) == sipErrorNone) + sipCpp = new QMatrix3x3(values); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[9]; + PYQT_FLOAT data[9]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 9; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { +#if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix3x3(" + "%R, %R, %R, " + "%R, %R, %R, " + "%R, %R, %R)", + m[0], m[1], m[2], + m[3], m[4], m[5], + m[6], m[7], m[8]); +#else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix3x3("); + + for (i = 0; i < 9; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); +#endif + } + + for (i = 0; i < 9; ++i) + Py_XDECREF(m[i]); +%End + + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(9, sipCpp->constData(), &sipRes); +%End + + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + PYQT_FLOAT values[9]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(9, values, &sipRes); +%End + + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 3, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + +%If (Qt_5_0_0 -) + void __setitem__(SIP_PYOBJECT, float); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 3, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End +%If (- Qt_5_0_0) + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 3, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End + + bool isIdentity() const; + void setToIdentity(); + +%If (Qt_5_0_0 -) + void fill(float value); +%End +%If (- Qt_5_0_0) + void fill(qreal value); +%End + + QMatrix3x3 transposed() const; + + QMatrix3x3 &operator+=(const QMatrix3x3 &); + QMatrix3x3 &operator-=(const QMatrix3x3 &); + +%If (Qt_5_0_0 -) + QMatrix3x3 &operator*=(float); + QMatrix3x3 &operator/=(float); +%End +%If (- Qt_5_0_0) + QMatrix3x3 &operator*=(qreal); + QMatrix3x3 &operator/=(qreal); +%End + + bool operator==(const QMatrix3x3 &) const; + bool operator!=(const QMatrix3x3 &) const; +}; +// The implementation of QMatrix3x2. +class QMatrix3x2 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[6]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"dddddd", + (double)data[0], (double)data[1], + (double)data[2], (double)data[3], + (double)data[4], (double)data[5]); +%End + +public: + QMatrix3x2(); + QMatrix3x2(const QMatrix3x2 &other); + explicit QMatrix3x2(SIP_PYOBJECT values /TypeHint="Sequence[float]"/); +%MethodCode + PYQT_FLOAT values[6]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 6, values)) == sipErrorNone) + sipCpp = new QMatrix3x2(values); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[6]; + PYQT_FLOAT data[6]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 6; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { +#if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix3x2(" + "%R, %R, " + "%R, %R, " + "%R, %R)", + m[0], m[1], + m[2], m[3], + m[4], m[5]); +#else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix3x2("); + + for (i = 0; i < 6; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); +#endif + } + + for (i = 0; i < 6; ++i) + Py_XDECREF(m[i]); +%End + + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(6, sipCpp->constData(), &sipRes); +%End + + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + PYQT_FLOAT values[6]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(6, values, &sipRes); +%End + + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 2, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + +%If (Qt_5_0_0 -) + void __setitem__(SIP_PYOBJECT, float); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 2, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End +%If (- Qt_5_0_0) + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 3, 2, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End + + bool isIdentity() const; + void setToIdentity(); + +%If (Qt_5_0_0 -) + void fill(float value); +%End +%If (- Qt_5_0_0) + void fill(qreal value); +%End + + QMatrix2x3 transposed() const; + + QMatrix3x2 &operator+=(const QMatrix3x2 &); + QMatrix3x2 &operator-=(const QMatrix3x2 &); + +%If (Qt_5_0_0 -) + QMatrix3x2 &operator*=(float); + QMatrix3x2 &operator/=(float); +%End +%If (- Qt_5_0_0) + QMatrix3x2 &operator*=(qreal); + QMatrix3x2 &operator/=(qreal); +%End + + bool operator==(const QMatrix3x2 &) const; + bool operator!=(const QMatrix3x2 &) const; +}; +// The implementation of QMatrix2x4. +class QMatrix2x4 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[8]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"dddddddd", + (double)data[0], (double)data[1], (double)data[2], (double)data[3], + (double)data[4], (double)data[5], (double)data[6], (double)data[7]); +%End + +public: + QMatrix2x4(); + QMatrix2x4(const QMatrix2x4 &other); + explicit QMatrix2x4(SIP_PYOBJECT values /TypeHint="Sequence[float]"/); +%MethodCode + PYQT_FLOAT values[8]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 8, values)) == sipErrorNone) + sipCpp = new QMatrix2x4(values); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[8]; + PYQT_FLOAT data[8]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 8; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { +#if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix2x4(" + "%R, %R, %R, %R, " + "%R, %R, %R, %R)", + m[0], m[1], m[2], m[3], + m[4], m[5], m[6], m[7]); +#else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix2x4("); + + for (i = 0; i < 8; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); +#endif + } + + for (i = 0; i < 8; ++i) + Py_XDECREF(m[i]); +%End + + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(8, sipCpp->constData(), &sipRes); +%End + + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + PYQT_FLOAT values[8]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(8, values, &sipRes); +%End + + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 4, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + +%If (Qt_5_0_0 -) + void __setitem__(SIP_PYOBJECT, float); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 4, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End +%If (- Qt_5_0_0) + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 4, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End + + bool isIdentity() const; + void setToIdentity(); + +%If (Qt_5_0_0 -) + void fill(float value); +%End +%If (- Qt_5_0_0) + void fill(qreal value); +%End + + QMatrix4x2 transposed() const; + + QMatrix2x4 &operator+=(const QMatrix2x4 &); + QMatrix2x4 &operator-=(const QMatrix2x4 &); + +%If (Qt_5_0_0 -) + QMatrix2x4 &operator*=(float); + QMatrix2x4 &operator/=(float); +%End +%If (- Qt_5_0_0) + QMatrix2x4 &operator*=(qreal); + QMatrix2x4 &operator/=(qreal); +%End + + bool operator==(const QMatrix2x4 &) const; + bool operator!=(const QMatrix2x4 &) const; +}; +// The implementation of QMatrix2x3. +class QMatrix2x3 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[6]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"dddddd", + (double)data[0], (double)data[1], (double)data[2], + (double)data[3], (double)data[4], (double)data[5]); +%End + +public: + QMatrix2x3(); + QMatrix2x3(const QMatrix2x3 &other); + explicit QMatrix2x3(SIP_PYOBJECT values /TypeHint="Sequence[float]"/); +%MethodCode + PYQT_FLOAT values[6]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 6, values)) == sipErrorNone) + sipCpp = new QMatrix2x3(values); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[6]; + PYQT_FLOAT data[6]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 6; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { +#if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix2x3(" + "%R, %R, %R, " + "%R, %R, %R)", + m[0], m[1], m[2], + m[3], m[4], m[5]); +#else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix2x3("); + + for (i = 0; i < 6; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); +#endif + } + + for (i = 0; i < 6; ++i) + Py_XDECREF(m[i]); +%End + + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(6, sipCpp->constData(), &sipRes); +%End + + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + PYQT_FLOAT values[6]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(6, values, &sipRes); +%End + + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 3, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + +%If (Qt_5_0_0 -) + void __setitem__(SIP_PYOBJECT, float); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 3, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End +%If (- Qt_5_0_0) + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 3, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End + + bool isIdentity() const; + void setToIdentity(); + +%If (Qt_5_0_0 -) + void fill(float value); +%End +%If (- Qt_5_0_0) + void fill(qreal value); +%End + + QMatrix3x2 transposed() const; + + QMatrix2x3 &operator+=(const QMatrix2x3 &); + QMatrix2x3 &operator-=(const QMatrix2x3 &); + +%If (Qt_5_0_0 -) + QMatrix2x3 &operator*=(float); + QMatrix2x3 &operator/=(float); +%End +%If (- Qt_5_0_0) + QMatrix2x3 &operator*=(qreal); + QMatrix2x3 &operator/=(qreal); +%End + + bool operator==(const QMatrix2x3 &) const; + bool operator!=(const QMatrix2x3 &) const; +}; +// The implementation of QMatrix2x2. +class QMatrix2x2 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[4]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"dddd", + (double)data[0], (double)data[1], + (double)data[2], (double)data[3]); +%End + +public: + QMatrix2x2(); + QMatrix2x2(const QMatrix2x2 &other); + explicit QMatrix2x2(SIP_PYOBJECT values /TypeHint="Sequence[float]"/); +%MethodCode + PYQT_FLOAT values[4]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 4, values)) == sipErrorNone) + sipCpp = new QMatrix2x2(values); +%End + + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[4]; + PYQT_FLOAT data[4]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 4; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { +#if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix2x2(" + "%R, %R, " + "%R, %R)", + m[0], m[1], + m[2], m[3]); +#else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix2x2("); + + for (i = 0; i < 4; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); +#endif + } + + for (i = 0; i < 4; ++i) + Py_XDECREF(m[i]); +%End + + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(4, sipCpp->constData(), &sipRes); +%End + + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + PYQT_FLOAT values[4]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(4, values, &sipRes); +%End + + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 2, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + +%If (Qt_5_0_0 -) + void __setitem__(SIP_PYOBJECT, float); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 2, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End +%If (- Qt_5_0_0) + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 2, 2, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End +%End + + bool isIdentity() const; + void setToIdentity(); + +%If (Qt_5_0_0 -) + void fill(float value); +%End +%If (- Qt_5_0_0) + void fill(qreal value); +%End + + QMatrix2x2 transposed() const; + + QMatrix2x2 &operator+=(const QMatrix2x2 &); + QMatrix2x2 &operator-=(const QMatrix2x2 &); + +%If (Qt_5_0_0 -) + QMatrix2x2 &operator*=(float); + QMatrix2x2 &operator/=(float); +%End +%If (- Qt_5_0_0) + QMatrix2x2 &operator*=(qreal); + QMatrix2x2 &operator/=(qreal); +%End + + bool operator==(const QMatrix2x2 &) const; + bool operator!=(const QMatrix2x2 &) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qglyphrun.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qglyphrun.sip new file mode 100644 index 00000000..eff50f95 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qglyphrun.sip @@ -0,0 +1,72 @@ +// qglyphrun.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_RawFont) + +class QGlyphRun +{ +%TypeHeaderCode +#include +%End + +public: + QGlyphRun(); + QGlyphRun(const QGlyphRun &other); + ~QGlyphRun(); + QRawFont rawFont() const; + void setRawFont(const QRawFont &rawFont); + QVector glyphIndexes() const; + void setGlyphIndexes(const QVector &glyphIndexes); + QVector positions() const; + void setPositions(const QVector &positions); + void clear(); + bool operator==(const QGlyphRun &other) const; + bool operator!=(const QGlyphRun &other) const; + void setOverline(bool overline); + bool overline() const; + void setUnderline(bool underline); + bool underline() const; + void setStrikeOut(bool strikeOut); + bool strikeOut() const; + + enum GlyphRunFlag + { + Overline, + Underline, + StrikeOut, + RightToLeft, + SplitLigature, + }; + + typedef QFlags GlyphRunFlags; + void setRightToLeft(bool on); + bool isRightToLeft() const; + void setFlag(QGlyphRun::GlyphRunFlag flag, bool enabled = true); + void setFlags(QGlyphRun::GlyphRunFlags flags); + QGlyphRun::GlyphRunFlags flags() const; + void setBoundingRect(const QRectF &boundingRect); + QRectF boundingRect() const; + bool isEmpty() const; + void swap(QGlyphRun &other /Constrained/); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qguiapplication.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qguiapplication.sip new file mode 100644 index 00000000..41570b0a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qguiapplication.sip @@ -0,0 +1,357 @@ +// qguiapplication.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGuiApplication : QCoreApplication +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + #if QT_VERSION >= 0x050100 && defined(SIP_FEATURE_PyQt_Desktop_OpenGL) + {sipName_QOpenGLTimeMonitor, &sipType_QOpenGLTimeMonitor, -1, 1}, + #else + {0, 0, -1, 1}, + #endif + {sipName_QSyntaxHighlighter, &sipType_QSyntaxHighlighter, -1, 2}, + {sipName_QWindow, &sipType_QWindow, 25, 3}, + {sipName_QPdfWriter, &sipType_QPdfWriter, -1, 4}, + {sipName_QMovie, &sipType_QMovie, -1, 5}, + #if defined(SIP_FEATURE_PyQt_SessionManager) + {sipName_QSessionManager, &sipType_QSessionManager, -1, 6}, + #else + {0, 0, -1, 6}, + #endif + {sipName_QAbstractTextDocumentLayout, &sipType_QAbstractTextDocumentLayout, -1, 7}, + {sipName_QScreen, &sipType_QScreen, -1, 8}, + {sipName_QTextObject, &sipType_QTextObject, 28, 9}, + {sipName_QStandardItemModel, &sipType_QStandardItemModel, -1, 10}, + {sipName_QDrag, &sipType_QDrag, -1, 11}, + #if defined(SIP_FEATURE_PyQt_OpenGL) + {sipName_QOpenGLContextGroup, &sipType_QOpenGLContextGroup, -1, 12}, + #else + {0, 0, -1, 12}, + #endif + {sipName_QValidator, &sipType_QValidator, 32, 13}, + {sipName_QTextDocument, &sipType_QTextDocument, -1, 14}, + #if QT_VERSION >= 0x050100 && defined(SIP_FEATURE_PyQt_OpenGL) + {sipName_QOpenGLVertexArrayObject, &sipType_QOpenGLVertexArrayObject, -1, 15}, + #else + {0, 0, -1, 15}, + #endif + #if QT_VERSION >= 0x050100 && defined(SIP_FEATURE_PyQt_OpenGL) + {sipName_QOpenGLDebugLogger, &sipType_QOpenGLDebugLogger, -1, 16}, + #else + {0, 0, -1, 16}, + #endif + {sipName_QGuiApplication, &sipType_QGuiApplication, -1, 17}, + #if QT_VERSION >= 0x050100 && defined(SIP_FEATURE_PyQt_Desktop_OpenGL) + {sipName_QOpenGLTimerQuery, &sipType_QOpenGLTimerQuery, -1, 18}, + #else + {0, 0, -1, 18}, + #endif + #if QT_VERSION >= 0x050100 + {sipName_QOffscreenSurface, &sipType_QOffscreenSurface, -1, 19}, + #else + {0, 0, -1, 19}, + #endif + #if defined(SIP_FEATURE_PyQt_OpenGL) + {sipName_QOpenGLShaderProgram, &sipType_QOpenGLShaderProgram, -1, 20}, + #else + {0, 0, -1, 20}, + #endif + {sipName_QStyleHints, &sipType_QStyleHints, -1, 21}, + {sipName_QClipboard, &sipType_QClipboard, -1, 22}, + #if defined(SIP_FEATURE_PyQt_OpenGL) + {sipName_QOpenGLShader, &sipType_QOpenGLShader, -1, 23}, + #else + {0, 0, -1, 23}, + #endif + #if defined(SIP_FEATURE_PyQt_OpenGL) + {sipName_QOpenGLContext, &sipType_QOpenGLContext, -1, 24}, + #else + {0, 0, -1, 24}, + #endif + {sipName_QInputMethod, &sipType_QInputMethod, -1, -1}, + #if QT_VERSION >= 0x050400 + {sipName_QPaintDeviceWindow, &sipType_QPaintDeviceWindow, 26, -1}, + #else + {0, 0, 26, -1}, + #endif + #if QT_VERSION >= 0x050400 && defined(SIP_FEATURE_PyQt_OpenGL) + {sipName_QOpenGLWindow, &sipType_QOpenGLWindow, -1, 27}, + #else + {0, 0, -1, 27}, + #endif + #if QT_VERSION >= 0x050400 + {sipName_QRasterWindow, &sipType_QRasterWindow, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + {sipName_QTextBlockGroup, &sipType_QTextBlockGroup, 30, 29}, + {sipName_QTextFrame, &sipType_QTextFrame, 31, -1}, + {sipName_QTextList, &sipType_QTextList, -1, -1}, + {sipName_QTextTable, &sipType_QTextTable, -1, -1}, + #if QT_VERSION >= 0x050100 + {sipName_QRegularExpressionValidator, &sipType_QRegularExpressionValidator, -1, 33}, + #else + {0, 0, -1, 33}, + #endif + {sipName_QIntValidator, &sipType_QIntValidator, -1, 34}, + {sipName_QDoubleValidator, &sipType_QDoubleValidator, -1, 35}, + {sipName_QRegExpValidator, &sipType_QRegExpValidator, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + QGuiApplication(SIP_PYLIST argv /TypeHint="List[str]"/) /PostHook=__pyQtQAppHook__/ [(int &argc, char **argv, int = ApplicationFlags)]; +%MethodCode + // The Python interface is a list of argument strings that is modified. + + int argc; + char **argv; + + // Convert the list. + if ((argv = pyqt5_qtgui_from_argv_list(a0, argc)) == NULL) + sipIsErr = 1; + else + { + // Create it now the arguments are right. + static int nargc; + nargc = argc; + + Py_BEGIN_ALLOW_THREADS + sipCpp = new sipQGuiApplication(nargc, argv, QCoreApplication::ApplicationFlags); + Py_END_ALLOW_THREADS + + // Now modify the original list. + pyqt5_qtgui_update_argv_list(a0, argc, argv); + } +%End + + virtual ~QGuiApplication() /ReleaseGIL/; +%MethodCode + pyqt5_qtgui_cleanup_qobjects(); +%End + + static QWindowList allWindows(); + static QWindowList topLevelWindows(); + static QWindow *topLevelAt(const QPoint &pos); + static QString platformName(); + static QWindow *focusWindow(); + static QObject *focusObject(); + static QScreen *primaryScreen(); + static QList screens(); + static QCursor *overrideCursor(); + static void setOverrideCursor(const QCursor &); + static void changeOverrideCursor(const QCursor &); + static void restoreOverrideCursor(); + static QFont font(); + static void setFont(const QFont &); + static QClipboard *clipboard(); + static QPalette palette(); + static void setPalette(const QPalette &pal); + static Qt::KeyboardModifiers keyboardModifiers(); + static Qt::KeyboardModifiers queryKeyboardModifiers(); + static Qt::MouseButtons mouseButtons(); + static void setLayoutDirection(Qt::LayoutDirection direction); + static Qt::LayoutDirection layoutDirection(); + static bool isRightToLeft(); + static bool isLeftToRight(); + static void setDesktopSettingsAware(bool on); + static bool desktopSettingsAware(); + static void setQuitOnLastWindowClosed(bool quit); + static bool quitOnLastWindowClosed(); + static int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%If (Py_v3) + static int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,ReleaseGIL/; +%End + virtual bool notify(QObject *, QEvent *); + +signals: + void fontDatabaseChanged(); + void screenAdded(QScreen *screen); + void lastWindowClosed(); + void focusObjectChanged(QObject *focusObject); +%If (PyQt_SessionManager) + void commitDataRequest(QSessionManager &sessionManager); +%End +%If (PyQt_SessionManager) + void saveStateRequest(QSessionManager &sessionManager); +%End + void focusWindowChanged(QWindow *focusWindow); +%If (Qt_5_2_0 -) + void applicationStateChanged(Qt::ApplicationState state); +%End +%If (Qt_5_8_0 -) + void applicationDisplayNameChanged(); +%End + +public: + static void setApplicationDisplayName(const QString &name); + static QString applicationDisplayName(); + static QWindow *modalWindow(); + static QStyleHints *styleHints(); + static QInputMethod *inputMethod(); + qreal devicePixelRatio() const; +%If (PyQt_SessionManager) + bool isSessionRestored() const; +%End +%If (PyQt_SessionManager) + QString sessionId() const; +%End +%If (PyQt_SessionManager) + QString sessionKey() const; +%End +%If (PyQt_SessionManager) + bool isSavingSession() const; +%End +%If (Qt_5_2_0 -) + static Qt::ApplicationState applicationState(); +%End +%If (Qt_5_2_0 -) + static void sync(); +%End +%If (Qt_5_3_0 -) + static void setWindowIcon(const QIcon &icon); +%End +%If (Qt_5_3_0 -) + static QIcon windowIcon(); +%End + +protected: + virtual bool event(QEvent *); + +signals: +%If (Qt_5_4_0 -) + void screenRemoved(QScreen *screen); +%End +%If (Qt_5_4_0 -) + void layoutDirectionChanged(Qt::LayoutDirection direction); +%End +%If (Qt_5_4_0 -) + void paletteChanged(const QPalette &pal); +%End + +public: +%If (Qt_5_6_0 -) +%If (PyQt_SessionManager) + static bool isFallbackSessionManagementEnabled(); +%End +%End +%If (Qt_5_6_0 -) +%If (PyQt_SessionManager) + static void setFallbackSessionManagementEnabled(bool); +%End +%End + +signals: +%If (Qt_5_6_0 -) + void primaryScreenChanged(QScreen *screen); +%End + +public: +%If (Qt_5_7_0 -) + static void setDesktopFileName(const QString &name); +%End +%If (Qt_5_7_0 -) + static QString desktopFileName(); +%End +%If (Qt_5_10_0 -) + static QScreen *screenAt(const QPoint &point); +%End + +signals: +%If (Qt_5_11_0 -) + void fontChanged(const QFont &font); +%End + +public: +%If (Qt_5_14_0 -) + static void setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy policy); +%End +%If (Qt_5_14_0 -) + static Qt::HighDpiScaleFactorRoundingPolicy highDpiScaleFactorRoundingPolicy(); +%End +}; + +%ModuleHeaderCode +// Imports from QtCore. +typedef void (*pyqt5_qtgui_cleanup_qobjects_t)(); +extern pyqt5_qtgui_cleanup_qobjects_t pyqt5_qtgui_cleanup_qobjects; + +typedef char **(*pyqt5_qtgui_from_argv_list_t)(PyObject *, int &); +extern pyqt5_qtgui_from_argv_list_t pyqt5_qtgui_from_argv_list; + +typedef void (*pyqt5_qtgui_update_argv_list_t)(PyObject *, int, char **); +extern pyqt5_qtgui_update_argv_list_t pyqt5_qtgui_update_argv_list; +%End + +%ModuleCode +// Imports from QtCore. +pyqt5_qtgui_cleanup_qobjects_t pyqt5_qtgui_cleanup_qobjects; +pyqt5_qtgui_from_argv_list_t pyqt5_qtgui_from_argv_list; +pyqt5_qtgui_update_argv_list_t pyqt5_qtgui_update_argv_list; + +// Forward declarations not in any header files but are part of the API. +void qt_set_sequence_auto_mnemonic(bool enable); +%End + +%InitialisationCode +// Export our own helpers. +sipExportSymbol("qtgui_wrap_ancestors", (void *)qtgui_wrap_ancestors); +%End + +%PostInitialisationCode +// Imports from QtCore. +pyqt5_qtgui_cleanup_qobjects = (pyqt5_qtgui_cleanup_qobjects_t)sipImportSymbol("pyqt5_cleanup_qobjects"); +Q_ASSERT(pyqt5_qtgui_cleanup_qobjects); + +pyqt5_qtgui_from_argv_list = (pyqt5_qtgui_from_argv_list_t)sipImportSymbol("pyqt5_from_argv_list"); +Q_ASSERT(pyqt5_qtgui_from_argv_list); + +pyqt5_qtgui_update_argv_list = (pyqt5_qtgui_update_argv_list_t)sipImportSymbol("pyqt5_update_argv_list"); +Q_ASSERT(pyqt5_qtgui_update_argv_list); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qicon.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qicon.sip new file mode 100644 index 00000000..92c8e43a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qicon.sip @@ -0,0 +1,123 @@ +// qicon.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QIcon /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum Mode + { + Normal, + Disabled, + Active, + Selected, + }; + + enum State + { + On, + Off, + }; + + QIcon(); + QIcon(const QPixmap &pixmap); + QIcon(const QIcon &other); + explicit QIcon(const QString &fileName); + explicit QIcon(QIconEngine *engine /GetWrapper/); +%MethodCode + sipCpp = new QIcon(a0); + + // The QIconEngine is implicitly shared by copies of the QIcon and is destroyed + // by C++ when the last copy is destroyed. Therefore we need to transfer + // ownership but not to associate it with this QIcon. The Python object will + // get tidied up when the virtual dtor gets called. + sipTransferTo(a0Wrapper, Py_None); +%End + + QIcon(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QIcon(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QIcon(); + QPixmap pixmap(const QSize &size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(int w, int h, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + QPixmap pixmap(int extent, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; +%If (Qt_5_1_0 -) + QPixmap pixmap(QWindow *window, const QSize &size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; +%End + QSize actualSize(const QSize &size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; +%If (Qt_5_1_0 -) + QSize actualSize(QWindow *window, const QSize &size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; +%End + QList availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + void paint(QPainter *painter, const QRect &rect, Qt::Alignment alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + void paint(QPainter *painter, int x, int y, int w, int h, Qt::Alignment alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + bool isNull() const; + bool isDetached() const; + void addPixmap(const QPixmap &pixmap, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off); + void addFile(const QString &fileName, const QSize &size = QSize(), QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off); + qint64 cacheKey() const; +%If (Qt_5_7_0 -) + static QIcon fromTheme(const QString &name); +%End +%If (Qt_5_7_0 -) + static QIcon fromTheme(const QString &name, const QIcon &fallback); +%End +%If (- Qt_5_7_0) + static QIcon fromTheme(const QString &name, const QIcon &fallback = QIcon()); +%End + static bool hasThemeIcon(const QString &name); + static QStringList themeSearchPaths(); + static void setThemeSearchPaths(const QStringList &searchpath); + static QString themeName(); + static void setThemeName(const QString &path); + QString name() const; + void swap(QIcon &other /Constrained/); +%If (Qt_5_6_0 -) + void setIsMask(bool isMask); +%End +%If (Qt_5_6_0 -) + bool isMask() const; +%End +%If (Qt_5_11_0 -) + static QStringList fallbackSearchPaths(); +%End +%If (Qt_5_11_0 -) + static void setFallbackSearchPaths(const QStringList &paths); +%End +%If (Qt_5_12_0 -) + static QString fallbackThemeName(); +%End +%If (Qt_5_12_0 -) + static void setFallbackThemeName(const QString &name); +%End +}; + +QDataStream &operator<<(QDataStream &, const QIcon & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QIcon & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qiconengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qiconengine.sip new file mode 100644 index 00000000..b75e7a97 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qiconengine.sip @@ -0,0 +1,94 @@ +// qiconengine.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QIconEngine /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_0 -) + QIconEngine(); +%End +%If (Qt_5_8_0 -) + QIconEngine(const QIconEngine &other); +%End + virtual ~QIconEngine(); + virtual void paint(QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state) = 0; + virtual QSize actualSize(const QSize &size, QIcon::Mode mode, QIcon::State state); + virtual QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state); + virtual void addPixmap(const QPixmap &pixmap, QIcon::Mode mode, QIcon::State state); + virtual void addFile(const QString &fileName, const QSize &size, QIcon::Mode mode, QIcon::State state); + virtual QString key() const; + virtual QIconEngine *clone() const = 0 /Factory/; + virtual bool read(QDataStream &in); + virtual bool write(QDataStream &out) const; + + enum IconEngineHook + { + AvailableSizesHook, + IconNameHook, +%If (Qt_5_7_0 -) + IsNullHook, +%End +%If (Qt_5_9_0 -) + ScaledPixmapHook, +%End + }; + + struct AvailableSizesArgument + { +%TypeHeaderCode +#include +%End + + QIcon::Mode mode; + QIcon::State state; + QList sizes; + }; + + virtual QList availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; + virtual QString iconName() const; +%If (Qt_5_7_0 -) + bool isNull() const; +%End +%If (Qt_5_9_0 -) + QPixmap scaledPixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale); +%End +%If (Qt_5_9_0 -) + + struct ScaledPixmapArgument + { +%TypeHeaderCode +#include +%End + + QSize size; + QIcon::Mode mode; + QIcon::State state; + qreal scale; + QPixmap pixmap; + }; + +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimage.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimage.sip new file mode 100644 index 00000000..8edf8939 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimage.sip @@ -0,0 +1,316 @@ +// qimage.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QImage : QPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + enum InvertMode + { + InvertRgb, + InvertRgba, + }; + + enum Format + { + Format_Invalid, + Format_Mono, + Format_MonoLSB, + Format_Indexed8, + Format_RGB32, + Format_ARGB32, + Format_ARGB32_Premultiplied, + Format_RGB16, + Format_ARGB8565_Premultiplied, + Format_RGB666, + Format_ARGB6666_Premultiplied, + Format_RGB555, + Format_ARGB8555_Premultiplied, + Format_RGB888, + Format_RGB444, + Format_ARGB4444_Premultiplied, +%If (Qt_5_2_0 -) + Format_RGBX8888, +%End +%If (Qt_5_2_0 -) + Format_RGBA8888, +%End +%If (Qt_5_2_0 -) + Format_RGBA8888_Premultiplied, +%End +%If (Qt_5_4_0 -) + Format_BGR30, +%End +%If (Qt_5_4_0 -) + Format_A2BGR30_Premultiplied, +%End +%If (Qt_5_4_0 -) + Format_RGB30, +%End +%If (Qt_5_4_0 -) + Format_A2RGB30_Premultiplied, +%End +%If (Qt_5_5_0 -) + Format_Alpha8, +%End +%If (Qt_5_5_0 -) + Format_Grayscale8, +%End +%If (Qt_5_12_0 -) + Format_RGBX64, +%End +%If (Qt_5_12_0 -) + Format_RGBA64, +%End +%If (Qt_5_12_0 -) + Format_RGBA64_Premultiplied, +%End +%If (Qt_5_13_0 -) + Format_Grayscale16, +%End +%If (Qt_5_14_0 -) + Format_BGR888, +%End + }; + + QImage(); + QImage(const QSize &size, QImage::Format format); + QImage(int width, int height, QImage::Format format); + QImage(const uchar *data /KeepReference/, int width, int height, QImage::Format format); + QImage(void *data, int width, int height, QImage::Format format) [(uchar *data, int width, int height, QImage::Format format)]; + QImage(const uchar *data /KeepReference/, int width, int height, int bytesPerLine, QImage::Format format); + QImage(void *data, int width, int height, int bytesPerLine, QImage::Format format) [(uchar *data, int width, int height, int bytesPerLine, QImage::Format format)]; + explicit QImage(SIP_PYLIST xpm /TypeHint="List[str]"/) [(const char **xpm)]; +%MethodCode + // The Python interface is a list of strings that make up the image. + + const char **str = QtGui_ListToArray(a0); + + if (str) + { + sipCpp = new sipQImage(str); + QtGui_DeleteArray(str); + } + else + sipIsErr = 1; +%End + + QImage(const QString &fileName, const char *format = 0) /ReleaseGIL/; + QImage(const QImage &); + QImage(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new sipQImage(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + virtual ~QImage(); + bool isNull() const; + virtual int devType() const; + bool operator==(const QImage &) const; + bool operator!=(const QImage &) const; + void detach(); + bool isDetached() const; + QImage copy(const QRect &rect = QRect()) const; + QImage copy(int x, int y, int w, int h) const; + QImage::Format format() const; + QImage convertToFormat(QImage::Format f, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor) const; + QImage convertToFormat(QImage::Format f, const QVector &colorTable, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor) const; + int width() const; + int height() const; + QSize size() const; + QRect rect() const; + int depth() const; + QRgb color(int i) const; + void setColor(int i, QRgb c); + bool allGray() const; + bool isGrayscale() const; + void *bits() [uchar * ()]; + const void *constBits() const [const uchar * ()]; + void *scanLine(int) [uchar * (int)]; + const void *constScanLine(int) const [const uchar * (int)]; + int bytesPerLine() const; + bool valid(const QPoint &pt) const; + bool valid(int x, int y) const; + int pixelIndex(const QPoint &pt) const; + int pixelIndex(int x, int y) const; + QRgb pixel(const QPoint &pt) const; + QRgb pixel(int x, int y) const; + void setPixel(const QPoint &pt, uint index_or_rgb); + void setPixel(int x, int y, uint index_or_rgb); + QVector colorTable() const; + void setColorTable(const QVector colors); + void fill(Qt::GlobalColor color /Constrained/); + void fill(const QColor &color); + void fill(uint pixel); + bool hasAlphaChannel() const; + void setAlphaChannel(const QImage &alphaChannel); + QImage createAlphaMask(Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor) const; + QImage createHeuristicMask(bool clipTight = true) const; + QImage scaled(int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation) const; + QImage scaled(const QSize &size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation) const; + QImage scaledToWidth(int width, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage scaledToHeight(int height, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage mirrored(bool horizontal = false, bool vertical = true) const; + QImage rgbSwapped() const; + void invertPixels(QImage::InvertMode mode = QImage::InvertRgb); + bool load(QIODevice *device, const char *format) /ReleaseGIL/; + bool load(const QString &fileName, const char *format = 0) /ReleaseGIL/; + bool loadFromData(const uchar *data /Array/, int len /ArraySize/, const char *format = 0); + bool loadFromData(const QByteArray &data, const char *format = 0); + bool save(const QString &fileName, const char *format = 0, int quality = -1) const /ReleaseGIL/; + bool save(QIODevice *device, const char *format = 0, int quality = -1) const /ReleaseGIL/; + static QImage fromData(const uchar *data /Array/, int size /ArraySize/, const char *format = 0); + static QImage fromData(const QByteArray &data, const char *format = 0); + virtual QPaintEngine *paintEngine() const; + int dotsPerMeterX() const; + int dotsPerMeterY() const; + void setDotsPerMeterX(int); + void setDotsPerMeterY(int); + QPoint offset() const; + void setOffset(const QPoint &); + QStringList textKeys() const; + QString text(const QString &key = QString()) const; + void setText(const QString &key, const QString &value); + +protected: + virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +%If (Qt_5_5_0 -) + QImage smoothScaled(int w, int h) const; +%End + +public: + QImage createMaskFromColor(QRgb color, Qt::MaskMode mode = Qt::MaskInColor) const; + QImage transformed(const QTransform &matrix, Qt::TransformationMode mode = Qt::FastTransformation) const; + static QTransform trueMatrix(const QTransform &, int w, int h); + qint64 cacheKey() const; + int colorCount() const; + void setColorCount(int); + int byteCount() const; + int bitPlaneCount() const; + void swap(QImage &other /Constrained/); + qreal devicePixelRatio() const; + void setDevicePixelRatio(qreal scaleFactor); +%If (Qt_5_4_0 -) + QPixelFormat pixelFormat() const; +%End +%If (Qt_5_4_0 -) + static QPixelFormat toPixelFormat(QImage::Format format); +%End +%If (Qt_5_4_0 -) + static QImage::Format toImageFormat(QPixelFormat format); +%End +%If (Qt_5_6_0 -) + QColor pixelColor(int x, int y) const; +%End +%If (Qt_5_6_0 -) + QColor pixelColor(const QPoint &pt) const; +%End +%If (Qt_5_6_0 -) + void setPixelColor(int x, int y, const QColor &c); +%End +%If (Qt_5_6_0 -) + void setPixelColor(const QPoint &pt, const QColor &c); +%End +%If (Qt_5_9_0 -) + bool reinterpretAsFormat(QImage::Format f); +%End +%If (Qt_5_10_0 -) + Py_ssize_t sizeInBytes() const [qsizetype ()]; +%End +%If (Qt_5_13_0 -) + void convertTo(QImage::Format f, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor); +%End +%If (Qt_5_14_0 -) + QColorSpace colorSpace() const; +%End +%If (Qt_5_14_0 -) + QImage convertedToColorSpace(const QColorSpace &) const; +%End +%If (Qt_5_14_0 -) + void convertToColorSpace(const QColorSpace &); +%End +%If (Qt_5_14_0 -) + void setColorSpace(const QColorSpace &); +%End +%If (Qt_5_14_0 -) + void applyColorTransform(const QColorTransform &transform); +%End +}; + +QDataStream &operator<<(QDataStream &, const QImage & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QImage & /Constrained/) /ReleaseGIL/; + +%ModuleHeaderCode +const char **QtGui_ListToArray(PyObject *lst); +void QtGui_DeleteArray(const char **arr); +%End + +%ModuleCode +// Convert a list of strings to an array of ASCII strings on the heap. Used by +// QImage and QPixmap. +const char **QtGui_ListToArray(PyObject *lst) +{ + Py_ssize_t nstr = PyList_Size(lst); + const char **arr = new const char *[nstr + 1]; + + for (Py_ssize_t i = 0; i < nstr; ++i) + { + PyObject *ascii_obj = PyList_GetItem(lst, i); + const char *ascii = sipString_AsASCIIString(&ascii_obj); + + if (!ascii) + { + while (i-- > 0) + delete[] arr[i]; + + delete[] arr; + + return 0; + } + + // Copy the string. + arr[i] = qstrdup(ascii); + + Py_DECREF(ascii_obj); + } + + // The sentinal. + arr[nstr] = 0; + + return arr; +} + + +// Return a string array created by QtGui_ListToArray() to the heap. +void QtGui_DeleteArray(const char **arr) +{ + for (Py_ssize_t i = 0; arr[i]; ++i) + delete[] arr[i]; + + delete[] arr; +} +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimageiohandler.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimageiohandler.sip new file mode 100644 index 00000000..2105e8a9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimageiohandler.sip @@ -0,0 +1,103 @@ +// qimageiohandler.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QImageIOHandler +{ +%TypeHeaderCode +#include +%End + +public: + enum ImageOption + { + Size, + ClipRect, + Description, + ScaledClipRect, + ScaledSize, + CompressionRatio, + Gamma, + Quality, + Name, + SubType, + IncrementalReading, + Endianness, + Animation, + BackgroundColor, +%If (Qt_5_4_0 -) + SupportedSubTypes, +%End +%If (Qt_5_5_0 -) + OptimizedWrite, +%End +%If (Qt_5_5_0 -) + ProgressiveScanWrite, +%End +%If (Qt_5_5_0 -) + ImageTransformation, +%End +%If (Qt_5_5_0 -) + TransformedByDefault, +%End + }; + + QImageIOHandler(); + virtual ~QImageIOHandler(); + void setDevice(QIODevice *device); + QIODevice *device() const; + void setFormat(const QByteArray &format); + QByteArray format() const; + virtual bool canRead() const = 0; + virtual bool read(QImage *image) = 0; + virtual bool write(const QImage &image); + virtual QVariant option(QImageIOHandler::ImageOption option) const; + virtual void setOption(QImageIOHandler::ImageOption option, const QVariant &value); + virtual bool supportsOption(QImageIOHandler::ImageOption option) const; + virtual bool jumpToNextImage(); + virtual bool jumpToImage(int imageNumber); + virtual int loopCount() const; + virtual int imageCount() const; + virtual int nextImageDelay() const; + virtual int currentImageNumber() const; + virtual QRect currentImageRect() const; +%If (Qt_5_5_0 -) + + enum Transformation + { + TransformationNone, + TransformationMirror, + TransformationFlip, + TransformationRotate180, + TransformationRotate90, + TransformationMirrorAndRotate90, + TransformationFlipAndRotate90, + TransformationRotate270, + }; + +%End +%If (Qt_5_5_0 -) + typedef QFlags Transformations; +%End + +private: + QImageIOHandler(const QImageIOHandler &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimagereader.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimagereader.sip new file mode 100644 index 00000000..1d265a37 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimagereader.sip @@ -0,0 +1,114 @@ +// qimagereader.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QImageReader +{ +%TypeHeaderCode +#include +%End + +public: + enum ImageReaderError + { + UnknownError, + FileNotFoundError, + DeviceError, + UnsupportedFormatError, + InvalidDataError, + }; + + QImageReader(); + QImageReader(QIODevice *device, const QByteArray &format = QByteArray()); + QImageReader(const QString &fileName, const QByteArray &format = QByteArray()); + ~QImageReader(); + void setFormat(const QByteArray &format); + QByteArray format() const; + void setDevice(QIODevice *device); + QIODevice *device() const; + void setFileName(const QString &fileName); + QString fileName() const; + QSize size() const; + void setClipRect(const QRect &rect); + QRect clipRect() const; + void setScaledSize(const QSize &size); + QSize scaledSize() const; + void setScaledClipRect(const QRect &rect); + QRect scaledClipRect() const; + bool canRead() const; + QImage read() /ReleaseGIL/; + bool read(QImage *image) /ReleaseGIL/; + bool jumpToNextImage(); + bool jumpToImage(int imageNumber); + int loopCount() const; + int imageCount() const; + int nextImageDelay() const; + int currentImageNumber() const; + QRect currentImageRect() const; + QImageReader::ImageReaderError error() const; + QString errorString() const; + static QByteArray imageFormat(const QString &fileName); + static QByteArray imageFormat(QIODevice *device); + static QList supportedImageFormats(); + QStringList textKeys() const; + QString text(const QString &key) const; + void setBackgroundColor(const QColor &color); + QColor backgroundColor() const; + bool supportsAnimation() const; + void setQuality(int quality); + int quality() const; + bool supportsOption(QImageIOHandler::ImageOption option) const; + void setAutoDetectImageFormat(bool enabled); + bool autoDetectImageFormat() const; + QImage::Format imageFormat() const; + void setDecideFormatFromContent(bool ignored); + bool decideFormatFromContent() const; +%If (Qt_5_1_0 -) + static QList supportedMimeTypes(); +%End +%If (Qt_5_4_0 -) + QByteArray subType() const; +%End +%If (Qt_5_4_0 -) + QList supportedSubTypes() const; +%End +%If (Qt_5_5_0 -) + QImageIOHandler::Transformations transformation() const; +%End +%If (Qt_5_5_0 -) + void setAutoTransform(bool enabled); +%End +%If (Qt_5_5_0 -) + bool autoTransform() const; +%End +%If (Qt_5_6_0 -) + void setGamma(float gamma); +%End +%If (Qt_5_6_0 -) + float gamma() const; +%End +%If (Qt_5_12_0 -) + static QList imageFormatsForMimeType(const QByteArray &mimeType); +%End + +private: + QImageReader(const QImageReader &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimagewriter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimagewriter.sip new file mode 100644 index 00000000..d95f3d52 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qimagewriter.sip @@ -0,0 +1,99 @@ +// qimagewriter.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QImageWriter +{ +%TypeHeaderCode +#include +%End + +public: + enum ImageWriterError + { + UnknownError, + DeviceError, + UnsupportedFormatError, +%If (Qt_5_10_0 -) + InvalidImageError, +%End + }; + + QImageWriter(); + QImageWriter(QIODevice *device, const QByteArray &format); + QImageWriter(const QString &fileName, const QByteArray &format = QByteArray()); + ~QImageWriter(); + void setFormat(const QByteArray &format); + QByteArray format() const; + void setDevice(QIODevice *device); + QIODevice *device() const; + void setFileName(const QString &fileName); + QString fileName() const; + void setQuality(int quality); + int quality() const; + void setGamma(float gamma); + float gamma() const; + bool canWrite() const; + bool write(const QImage &image) /ReleaseGIL/; + QImageWriter::ImageWriterError error() const; + QString errorString() const; + static QList supportedImageFormats(); + void setText(const QString &key, const QString &text); + bool supportsOption(QImageIOHandler::ImageOption option) const; + void setCompression(int compression); + int compression() const; +%If (Qt_5_1_0 -) + static QList supportedMimeTypes(); +%End +%If (Qt_5_4_0 -) + void setSubType(const QByteArray &type); +%End +%If (Qt_5_4_0 -) + QByteArray subType() const; +%End +%If (Qt_5_4_0 -) + QList supportedSubTypes() const; +%End +%If (Qt_5_5_0 -) + void setOptimizedWrite(bool optimize); +%End +%If (Qt_5_5_0 -) + bool optimizedWrite() const; +%End +%If (Qt_5_5_0 -) + void setProgressiveScanWrite(bool progressive); +%End +%If (Qt_5_5_0 -) + bool progressiveScanWrite() const; +%End +%If (Qt_5_5_0 -) + QImageIOHandler::Transformations transformation() const; +%End +%If (Qt_5_5_0 -) + void setTransformation(QImageIOHandler::Transformations orientation); +%End +%If (Qt_5_12_0 -) + static QList imageFormatsForMimeType(const QByteArray &mimeType); +%End + +private: + QImageWriter(const QImageWriter &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qinputmethod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qinputmethod.sip new file mode 100644 index 00000000..706ccb0c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qinputmethod.sip @@ -0,0 +1,91 @@ +// qinputmethod.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QInputMethod : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QTransform inputItemTransform() const; + void setInputItemTransform(const QTransform &transform); + QRectF cursorRectangle() const; + QRectF keyboardRectangle() const; + + enum Action + { + Click, + ContextMenu, + }; + + bool isVisible() const; + void setVisible(bool visible); + bool isAnimating() const; + QLocale locale() const; + Qt::LayoutDirection inputDirection() const; +%If (Qt_5_1_0 -) + QRectF inputItemRectangle() const; +%End +%If (Qt_5_1_0 -) + void setInputItemRectangle(const QRectF &rect); +%End +%If (Qt_5_3_0 -) + static QVariant queryFocusObject(Qt::InputMethodQuery query, QVariant argument); +%End + +public slots: + void show(); + void hide(); + void update(Qt::InputMethodQueries queries); + void reset(); + void commit(); + void invokeAction(QInputMethod::Action a, int cursorPosition); + +signals: + void cursorRectangleChanged(); + void keyboardRectangleChanged(); + void visibleChanged(); + void animatingChanged(); + void localeChanged(); + void inputDirectionChanged(Qt::LayoutDirection newDirection); + +public: +%If (Qt_5_7_0 -) + QRectF anchorRectangle() const; +%End +%If (Qt_5_7_0 -) + QRectF inputItemClipRectangle() const; +%End + +signals: +%If (Qt_5_7_0 -) + void anchorRectangleChanged(); +%End +%If (Qt_5_7_0 -) + void inputItemClipRectangleChanged(); +%End + +private: + QInputMethod(); + virtual ~QInputMethod(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qkeysequence.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qkeysequence.sip new file mode 100644 index 00000000..e5bcd54b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qkeysequence.sip @@ -0,0 +1,246 @@ +// qkeysequence.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QKeySequence /TypeHintIn="Union[QKeySequence, QKeySequence.StandardKey, QString, int]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +// Allow a StandardKey, QString or an integer whenever a QKeySequence is +// expected. + +if (sipIsErr == NULL) +{ + if (sipCanConvertToType(sipPy, sipType_QKeySequence, SIP_NO_CONVERTORS)) + return 1; + + if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QKeySequence_StandardKey))) + return 1; + + if (sipCanConvertToType(sipPy, sipType_QString, 0)) + return 1; + + PyErr_Clear(); + + SIPLong_AsLong(sipPy); + + return !PyErr_Occurred(); +} + +if (sipCanConvertToType(sipPy, sipType_QKeySequence, SIP_NO_CONVERTORS)) +{ + *sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QKeySequence, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + + return 0; +} + +if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QKeySequence_StandardKey))) +{ + *sipCppPtr = new QKeySequence((QKeySequence::StandardKey)SIPLong_AsLong(sipPy)); + + return sipGetState(sipTransferObj); +} + +if (sipCanConvertToType(sipPy, sipType_QString, 0)) +{ + int state; + QString *qs = reinterpret_cast(sipConvertToType(sipPy, sipType_QString, 0, 0, &state, sipIsErr)); + + if (*sipIsErr) + { + sipReleaseType(qs, sipType_QString, state); + return 0; + } + + *sipCppPtr = new QKeySequence(*qs); + + sipReleaseType(qs, sipType_QString, state); + + return sipGetState(sipTransferObj); +} + +int key = SIPLong_AsLong(sipPy); + +*sipCppPtr = new QKeySequence(key); + +return sipGetState(sipTransferObj); +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"iiii", sipCpp->operator[](0), sipCpp->operator[](1), sipCpp->operator[](2), sipCpp->operator[](3)); +%End + +public: + enum SequenceFormat + { + NativeText, + PortableText, + }; + + enum SequenceMatch + { + NoMatch, + PartialMatch, + ExactMatch, + }; + + enum StandardKey + { + UnknownKey, + HelpContents, + WhatsThis, + Open, + Close, + Save, + New, + Delete, + Cut, + Copy, + Paste, + Undo, + Redo, + Back, + Forward, + Refresh, + ZoomIn, + ZoomOut, + Print, + AddTab, + NextChild, + PreviousChild, + Find, + FindNext, + FindPrevious, + Replace, + SelectAll, + Bold, + Italic, + Underline, + MoveToNextChar, + MoveToPreviousChar, + MoveToNextWord, + MoveToPreviousWord, + MoveToNextLine, + MoveToPreviousLine, + MoveToNextPage, + MoveToPreviousPage, + MoveToStartOfLine, + MoveToEndOfLine, + MoveToStartOfBlock, + MoveToEndOfBlock, + MoveToStartOfDocument, + MoveToEndOfDocument, + SelectNextChar, + SelectPreviousChar, + SelectNextWord, + SelectPreviousWord, + SelectNextLine, + SelectPreviousLine, + SelectNextPage, + SelectPreviousPage, + SelectStartOfLine, + SelectEndOfLine, + SelectStartOfBlock, + SelectEndOfBlock, + SelectStartOfDocument, + SelectEndOfDocument, + DeleteStartOfWord, + DeleteEndOfWord, + DeleteEndOfLine, + InsertParagraphSeparator, + InsertLineSeparator, + SaveAs, + Preferences, + Quit, + FullScreen, +%If (Qt_5_1_0 -) + Deselect, +%End +%If (Qt_5_2_0 -) + DeleteCompleteLine, +%End +%If (Qt_5_5_0 -) + Backspace, +%End +%If (Qt_5_6_0 -) + Cancel, +%End + }; + + QKeySequence(); + QKeySequence(const QKeySequence &ks); + QKeySequence(const QString &key, QKeySequence::SequenceFormat format = QKeySequence::NativeText); + QKeySequence(int k1, int key2 = 0, int key3 = 0, int key4 = 0); + QKeySequence(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QKeySequence(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QKeySequence(); + int count() const /__len__/; + bool isEmpty() const; + QKeySequence::SequenceMatch matches(const QKeySequence &seq) const; + static QKeySequence mnemonic(const QString &text); + int operator[](int i) const; +%MethodCode + Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + + if (idx < 0) + sipIsErr = 1; + else + sipRes = sipCpp->operator[]((uint)idx); +%End + + bool operator==(const QKeySequence &other) const; + bool operator!=(const QKeySequence &other) const; + bool operator<(const QKeySequence &ks) const; + bool operator>(const QKeySequence &other) const; + bool operator<=(const QKeySequence &other) const; + bool operator>=(const QKeySequence &other) const; + bool isDetached() const; + void swap(QKeySequence &other /Constrained/); + QString toString(QKeySequence::SequenceFormat format = QKeySequence::PortableText) const; + static QKeySequence fromString(const QString &str, QKeySequence::SequenceFormat format = QKeySequence::PortableText); + static QList keyBindings(QKeySequence::StandardKey key); +%If (Qt_5_1_0 -) + static QList listFromString(const QString &str, QKeySequence::SequenceFormat format = QKeySequence::PortableText); +%End +%If (Qt_5_1_0 -) + static QString listToString(const QList &list, QKeySequence::SequenceFormat format = QKeySequence::PortableText); +%End +%If (Qt_5_6_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; + +QDataStream &operator<<(QDataStream &in, const QKeySequence &ks /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &out, QKeySequence &ks /Constrained/) /ReleaseGIL/; +void qt_set_sequence_auto_mnemonic(bool b); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qmatrix4x4.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qmatrix4x4.sip new file mode 100644 index 00000000..52cf4132 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qmatrix4x4.sip @@ -0,0 +1,320 @@ +// qmatrix4x4.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QMatrix4x4 +{ +%TypeHeaderCode +#include +%End + +%PickleCode + PYQT_FLOAT data[16]; + + // We want the data in row-major order. + sipCpp->copyDataTo(data); + + sipRes = Py_BuildValue((char *)"dddddddddddddddd", + (double)data[0], (double)data[1], (double)data[2], (double)data[3], + (double)data[4], (double)data[5], (double)data[6], (double)data[7], + (double)data[8], (double)data[9], (double)data[10], (double)data[11], + (double)data[12], (double)data[13], (double)data[14], (double)data[15]); +%End + +public: + QMatrix4x4(); + explicit QMatrix4x4(SIP_PYOBJECT values /TypeHint="Sequence[float]"/) [(const float *values)]; +%MethodCode + float values[16]; + + if ((sipError = qtgui_matrixDataFromSequence(a0, 16, values)) == sipErrorNone) + sipCpp = new QMatrix4x4(values); +%End + + QMatrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44); + QMatrix4x4(const QTransform &transform); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + bool bad = false; + int i; + PyObject *m[16]; + PYQT_FLOAT data[16]; + + // The raw data is in column-major order but we want row-major order. + sipCpp->copyDataTo(data); + + for (i = 0; i < 16; ++i) + { + m[i] = PyFloat_FromDouble(data[i]); + + if (!m[i]) + bad = true; + } + + if (!bad) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QMatrix4x4(" + "%R, %R, %R, %R, " + "%R, %R, %R, %R, " + "%R, %R, %R, %R, " + "%R, %R, %R, %R)", + m[0], m[1], m[2], m[3], + m[4], m[5], m[6], m[7], + m[8], m[9], m[10], m[11], + m[12], m[13], m[14], m[15]); + #else + sipRes = PyString_FromString("PyQt5.QtGui.QMatrix4x4("); + + for (i = 0; i < 16; ++i) + { + if (i != 0) + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + + PyString_ConcatAndDel(&sipRes, PyObject_Repr(m[i])); + } + + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + for (i = 0; i < 16; ++i) + Py_XDECREF(m[i]); +%End + + double determinant() const; + QMatrix4x4 inverted(bool *invertible = 0) const; + QMatrix4x4 transposed() const; + QMatrix3x3 normalMatrix() const; + void scale(const QVector3D &vector); + void scale(float x, float y); + void scale(float x, float y, float z); + void scale(float factor); + void translate(const QVector3D &vector); + void translate(float x, float y); + void translate(float x, float y, float z); + void rotate(float angle, const QVector3D &vector); + void rotate(float angle, float x, float y, float z = 0.F); + void rotate(const QQuaternion &quaternion); + void ortho(const QRect &rect); + void ortho(const QRectF &rect); + void ortho(float left, float right, float bottom, float top, float nearPlane, float farPlane); + void frustum(float left, float right, float bottom, float top, float nearPlane, float farPlane); + void perspective(float angle, float aspect, float nearPlane, float farPlane); + void lookAt(const QVector3D &eye, const QVector3D ¢er, const QVector3D &up); + SIP_PYLIST copyDataTo() const /TypeHint="List[float]"/; +%MethodCode + float values[16]; + + sipCpp->copyDataTo(values); + sipError = qtgui_matrixDataAsList(16, values, &sipRes); +%End + + QTransform toTransform() const; + QTransform toTransform(float distanceToPlane) const; + QRect mapRect(const QRect &rect) const; + QRectF mapRect(const QRectF &rect) const; + SIP_PYLIST data() /TypeHint="List[float]"/; +%MethodCode + sipError = qtgui_matrixDataAsList(16, sipCpp->constData(), &sipRes); +%End + + void optimize(); + SIP_PYOBJECT __getitem__(SIP_PYOBJECT) const; +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 4, 4, &row, &column)) == sipErrorNone) + { + sipRes = PyFloat_FromDouble(sipCpp->operator()(row, column)); + + if (!sipRes) + sipError = sipErrorFail; + } +%End + + void __setitem__(SIP_PYOBJECT, qreal); +%MethodCode + int row, column; + + if ((sipError = qtgui_matrixParseIndex(a0, 4, 4, &row, &column)) == sipErrorNone) + sipCpp->operator()(row, column) = a1; +%End + + QVector4D column(int index) const; + void setColumn(int index, const QVector4D &value); + QVector4D row(int index) const; + void setRow(int index, const QVector4D &value); + bool isIdentity() const; + void setToIdentity(); + void fill(float value); + QMatrix4x4 &operator+=(const QMatrix4x4 &other); + QMatrix4x4 &operator-=(const QMatrix4x4 &other); + QMatrix4x4 &operator*=(const QMatrix4x4 &other) /__imatmul__/; + QMatrix4x4 &operator*=(float factor); + QMatrix4x4 &operator/=(float divisor); + bool operator==(const QMatrix4x4 &other) const; + bool operator!=(const QMatrix4x4 &other) const; + QPoint map(const QPoint &point) const; + QPointF map(const QPointF &point) const; + QVector3D map(const QVector3D &point) const; + QVector3D mapVector(const QVector3D &vector) const; + QVector4D map(const QVector4D &point) const; +%If (Qt_5_4_0 -) + void viewport(float left, float bottom, float width, float height, float nearPlane = 0.F, float farPlane = 1.F); +%End +%If (Qt_5_4_0 -) + void viewport(const QRectF &rect); +%End +%If (Qt_5_5_0 -) + bool isAffine() const; +%End +}; + +QMatrix4x4 operator/(const QMatrix4x4 &matrix, float divisor); +QMatrix4x4 operator+(const QMatrix4x4 &m1, const QMatrix4x4 &m2); +QMatrix4x4 operator-(const QMatrix4x4 &m1, const QMatrix4x4 &m2); +QMatrix4x4 operator*(const QMatrix4x4 &m1, const QMatrix4x4 &m2) /__matmul__/; +QVector3D operator*(const QVector3D &vector, const QMatrix4x4 &matrix); +QVector3D operator*(const QMatrix4x4 &matrix, const QVector3D &vector); +QVector4D operator*(const QVector4D &vector, const QMatrix4x4 &matrix); +QVector4D operator*(const QMatrix4x4 &matrix, const QVector4D &vector); +QPoint operator*(const QPoint &point, const QMatrix4x4 &matrix); +QPointF operator*(const QPointF &point, const QMatrix4x4 &matrix); +QPoint operator*(const QMatrix4x4 &matrix, const QPoint &point); +QPointF operator*(const QMatrix4x4 &matrix, const QPointF &point); +QMatrix4x4 operator-(const QMatrix4x4 &matrix); +QMatrix4x4 operator*(float factor, const QMatrix4x4 &matrix); +QMatrix4x4 operator*(const QMatrix4x4 &matrix, float factor); +bool qFuzzyCompare(const QMatrix4x4 &m1, const QMatrix4x4 &m2); +QDataStream &operator<<(QDataStream &, const QMatrix4x4 & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QMatrix4x4 & /Constrained/) /ReleaseGIL/; + +%ModuleHeaderCode +// Helpers for the matrix classes. +typedef float PYQT_FLOAT; + +sipErrorState qtgui_matrixParseIndex(PyObject *tup, int nr_rows, + int nr_columns, int *row, int *column); +sipErrorState qtgui_matrixDataFromSequence(PyObject *seq, int nr_values, + PYQT_FLOAT *values); +sipErrorState qtgui_matrixDataAsList(int nr_values, const PYQT_FLOAT *values, + PyObject **list); +%End + +%ModuleCode +// Convert a Python object to a row and column. +sipErrorState qtgui_matrixParseIndex(PyObject *tup, int nr_rows, + int nr_columns, int *row, int *column) +{ + sipErrorState es = sipErrorContinue; + + if (PyTuple_Check(tup) && PyArg_ParseTuple(tup, "ii", row, column)) + if (*row >= 0 && *row < nr_rows && *column >= 0 && *column < nr_columns) + es = sipErrorNone; + + if (es == sipErrorContinue) + PyErr_Format(PyExc_IndexError, "an index must be a row in the range 0 to %d and a column in the range 0 to %d", nr_rows - 1, nr_columns - 1); + + return es; +} + + +// Convert a Python object to an array of qreals. +sipErrorState qtgui_matrixDataFromSequence(PyObject *seq, int nr_values, + PYQT_FLOAT *values) +{ + sipErrorState es; + + if (PySequence_Size(seq) == nr_values) + { + es = sipErrorNone; + + for (int i = 0; i < nr_values; ++i) + { + PyObject *value = PySequence_GetItem(seq, i); + + if (!value) + { + es = sipErrorFail; + break; + } + + PyErr_Clear(); + + double d = PyFloat_AsDouble(value); + + if (PyErr_Occurred()) + { + Py_DECREF(value); + es = sipErrorContinue; + break; + } + + Py_DECREF(value); + + *values++ = d; + } + } + else + { + es = sipErrorContinue; + } + + if (es == sipErrorContinue) + PyErr_Format(PyExc_TypeError, "a sequence of %d floats is expected", + nr_values); + + return es; +} + + +// Convert an array of qreals to a Python list. +sipErrorState qtgui_matrixDataAsList(int nr_values, const PYQT_FLOAT *values, + PyObject **list) +{ + PyObject *l = PyList_New(nr_values); + + if (!l) + return sipErrorFail; + + for (int i = 0; i < nr_values; ++i) + { + PyObject *value = PyFloat_FromDouble(*values++); + + if (!value) + { + Py_DECREF(l); + return sipErrorFail; + } + + PyList_SetItem(l, i, value); + } + + *list = l; + + return sipErrorNone; +} +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qmovie.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qmovie.sip new file mode 100644 index 00000000..9f95bbde --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qmovie.sip @@ -0,0 +1,95 @@ +// qmovie.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMovie : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum MovieState + { + NotRunning, + Paused, + Running, + }; + + enum CacheMode + { + CacheNone, + CacheAll, + }; + + explicit QMovie(QObject *parent /TransferThis/ = 0); + QMovie(QIODevice *device, const QByteArray &format = QByteArray(), QObject *parent /TransferThis/ = 0); + QMovie(const QString &fileName, const QByteArray &format = QByteArray(), QObject *parent /TransferThis/ = 0); + virtual ~QMovie(); + static QList supportedFormats(); + void setDevice(QIODevice *device); + QIODevice *device() const; + void setFileName(const QString &fileName); + QString fileName() const; + void setFormat(const QByteArray &format); + QByteArray format() const; + void setBackgroundColor(const QColor &color); + QColor backgroundColor() const; + QMovie::MovieState state() const; + QRect frameRect() const; + QImage currentImage() const; + QPixmap currentPixmap() const; + bool isValid() const; + bool jumpToFrame(int frameNumber); + int loopCount() const; + int frameCount() const; + int nextFrameDelay() const; + int currentFrameNumber() const; + void setSpeed(int percentSpeed); + int speed() const; + QSize scaledSize(); + void setScaledSize(const QSize &size); + QMovie::CacheMode cacheMode() const; + void setCacheMode(QMovie::CacheMode mode); + +signals: + void started(); + void resized(const QSize &size); + void updated(const QRect &rect); + void stateChanged(QMovie::MovieState state); + void error(QImageReader::ImageReaderError error); + void finished(); + void frameChanged(int frameNumber); + +public slots: + void start(); + bool jumpToNextFrame(); + void setPaused(bool paused); + void stop(); + +public: +%If (Qt_5_10_0 -) + QImageReader::ImageReaderError lastError() const; +%End +%If (Qt_5_10_0 -) + QString lastErrorString() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qoffscreensurface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qoffscreensurface.sip new file mode 100644 index 00000000..49c7b56e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qoffscreensurface.sip @@ -0,0 +1,60 @@ +// qoffscreensurface.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QOffscreenSurface : QObject, QSurface +{ +%TypeHeaderCode +#include +%End + +public: + explicit QOffscreenSurface(QScreen *screen = 0); +%If (Qt_5_10_0 -) + QOffscreenSurface(QScreen *screen, QObject *parent /TransferThis/); +%End + virtual ~QOffscreenSurface(); + virtual QSurface::SurfaceType surfaceType() const; + void create(); + void destroy(); + bool isValid() const; + void setFormat(const QSurfaceFormat &format); + virtual QSurfaceFormat format() const; + QSurfaceFormat requestedFormat() const; + virtual QSize size() const; + QScreen *screen() const; + void setScreen(QScreen *screen); + +signals: + void screenChanged(QScreen *screen); + +public: +%If (Qt_5_9_0 -) + void *nativeHandle() const; +%End +%If (Qt_5_9_0 -) + void setNativeHandle(void *handle); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglbuffer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglbuffer.sip new file mode 100644 index 00000000..62905ff6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglbuffer.sip @@ -0,0 +1,108 @@ +// qopenglbuffer.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_OpenGL) + +class QOpenGLBuffer +{ +%TypeHeaderCode +#include +%End + +public: + enum Type + { + VertexBuffer, + IndexBuffer, + PixelPackBuffer, + PixelUnpackBuffer, + }; + + QOpenGLBuffer(); + explicit QOpenGLBuffer(QOpenGLBuffer::Type type); + QOpenGLBuffer(const QOpenGLBuffer &other); + ~QOpenGLBuffer(); + + enum UsagePattern + { + StreamDraw, + StreamRead, + StreamCopy, + StaticDraw, + StaticRead, + StaticCopy, + DynamicDraw, + DynamicRead, + DynamicCopy, + }; + + enum Access + { + ReadOnly, + WriteOnly, + ReadWrite, + }; + + QOpenGLBuffer::Type type() const; + QOpenGLBuffer::UsagePattern usagePattern() const; + void setUsagePattern(QOpenGLBuffer::UsagePattern value); + bool create(); + bool isCreated() const; + void destroy(); + bool bind(); + void release(); + static void release(QOpenGLBuffer::Type type); + GLuint bufferId() const; + int size() const /__len__/; + bool read(int offset, void *data, int count); + void write(int offset, const void *data, int count); + void allocate(const void *data, int count); + void allocate(int count); + void *map(QOpenGLBuffer::Access access); + bool unmap(); +%If (Qt_5_4_0 -) + + enum RangeAccessFlag + { + RangeRead, + RangeWrite, + RangeInvalidate, + RangeInvalidateBuffer, + RangeFlushExplicit, + RangeUnsynchronized, + }; + +%End +%If (Qt_5_4_0 -) + typedef QFlags RangeAccessFlags; +%End +%If (Qt_5_4_0 -) + void *mapRange(int offset, int count, QOpenGLBuffer::RangeAccessFlags access); +%End +}; + +%End +%If (Qt_5_4_0 -) +%If (PyQt_OpenGL) +QFlags operator|(QOpenGLBuffer::RangeAccessFlag f1, QFlags f2); +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglcontext.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglcontext.sip new file mode 100644 index 00000000..e314dc2c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglcontext.sip @@ -0,0 +1,150 @@ +// qopenglcontext.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_OpenGL) + +class QOpenGLContextGroup : QObject +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QOpenGLContextGroup(); + QList shares() const; + static QOpenGLContextGroup *currentContextGroup(); + +private: + QOpenGLContextGroup(); +}; + +%End +%If (PyQt_OpenGL) + +class QOpenGLContext : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QOpenGLContext(QObject *parent /TransferThis/ = 0); + virtual ~QOpenGLContext(); + void setFormat(const QSurfaceFormat &format); + void setShareContext(QOpenGLContext *shareContext); + void setScreen(QScreen *screen); + bool create(); + bool isValid() const; + QSurfaceFormat format() const; + QOpenGLContext *shareContext() const; + QOpenGLContextGroup *shareGroup() const; + QScreen *screen() const; + GLuint defaultFramebufferObject() const; + bool makeCurrent(QSurface *surface); + void doneCurrent(); + void swapBuffers(QSurface *surface); + QFunctionPointer getProcAddress(const QByteArray &procName) const; + QSurface *surface() const; + static QOpenGLContext *currentContext(); + static bool areSharing(QOpenGLContext *first, QOpenGLContext *second); + QSet extensions() const; + bool hasExtension(const QByteArray &extension) const; + +signals: + void aboutToBeDestroyed(); + +public: +%If (Qt_5_1_0 -) + SIP_PYOBJECT versionFunctions(const QOpenGLVersionProfile *versionProfile = 0) const; +%MethodCode + sipRes = qpyopengl_version_functions(sipCpp, sipSelf, a0); +%End + +%End +%If (Qt_5_3_0 -) + static void *openGLModuleHandle(); +%End +%If (Qt_5_3_0 -) + + enum OpenGLModuleType + { + LibGL, + LibGLES, + }; + +%End +%If (Qt_5_3_0 -) + static QOpenGLContext::OpenGLModuleType openGLModuleType(); +%End +%If (Qt_5_3_0 -) + bool isOpenGLES() const; +%End +%If (Qt_5_4_0 -) + void setNativeHandle(const QVariant &handle); +%End +%If (Qt_5_4_0 -) + QVariant nativeHandle() const; +%End +%If (Qt_5_5_0 -) + static bool supportsThreadedOpenGL(); +%End +%If (Qt_5_5_0 -) + static QOpenGLContext *globalShareContext(); +%End +}; + +%End +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) + +class QOpenGLVersionProfile +{ +%TypeHeaderCode +#include +%End + +public: + QOpenGLVersionProfile(); + explicit QOpenGLVersionProfile(const QSurfaceFormat &format); + QOpenGLVersionProfile(const QOpenGLVersionProfile &other); + ~QOpenGLVersionProfile(); + QPair version() const; + void setVersion(int majorVersion, int minorVersion); + QSurfaceFormat::OpenGLContextProfile profile() const; + void setProfile(QSurfaceFormat::OpenGLContextProfile profile); + bool hasProfiles() const; + bool isLegacyVersion() const; + bool isValid() const; +}; + +%End +%End +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) +bool operator==(const QOpenGLVersionProfile &lhs, const QOpenGLVersionProfile &rhs); +%End +%End +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) +bool operator!=(const QOpenGLVersionProfile &lhs, const QOpenGLVersionProfile &rhs); +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengldebug.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengldebug.sip new file mode 100644 index 00000000..7d896c3f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengldebug.sip @@ -0,0 +1,150 @@ +// qopengldebug.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) + +class QOpenGLDebugMessage +{ +%TypeHeaderCode +#include +%End + +public: + enum Source + { + InvalidSource, + APISource, + WindowSystemSource, + ShaderCompilerSource, + ThirdPartySource, + ApplicationSource, + OtherSource, + AnySource, + }; + + typedef QFlags Sources; + + enum Type + { + InvalidType, + ErrorType, + DeprecatedBehaviorType, + UndefinedBehaviorType, + PortabilityType, + PerformanceType, + OtherType, + MarkerType, + GroupPushType, + GroupPopType, + AnyType, + }; + + typedef QFlags Types; + + enum Severity + { + InvalidSeverity, + HighSeverity, + MediumSeverity, + LowSeverity, + NotificationSeverity, + AnySeverity, + }; + + typedef QFlags Severities; + QOpenGLDebugMessage(); + QOpenGLDebugMessage(const QOpenGLDebugMessage &debugMessage); + ~QOpenGLDebugMessage(); + void swap(QOpenGLDebugMessage &debugMessage /Constrained/); + QOpenGLDebugMessage::Source source() const; + QOpenGLDebugMessage::Type type() const; + QOpenGLDebugMessage::Severity severity() const; + GLuint id() const; + QString message() const; + static QOpenGLDebugMessage createApplicationMessage(const QString &text, GLuint id = 0, QOpenGLDebugMessage::Severity severity = QOpenGLDebugMessage::NotificationSeverity, QOpenGLDebugMessage::Type type = QOpenGLDebugMessage::OtherType); + static QOpenGLDebugMessage createThirdPartyMessage(const QString &text, GLuint id = 0, QOpenGLDebugMessage::Severity severity = QOpenGLDebugMessage::NotificationSeverity, QOpenGLDebugMessage::Type type = QOpenGLDebugMessage::OtherType); + bool operator==(const QOpenGLDebugMessage &debugMessage) const; + bool operator!=(const QOpenGLDebugMessage &debugMessage) const; +}; + +%End +%End +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) +QFlags operator|(QOpenGLDebugMessage::Source f1, QFlags f2); +%End +%End +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) +QFlags operator|(QOpenGLDebugMessage::Type f1, QFlags f2); +%End +%End +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) +QFlags operator|(QOpenGLDebugMessage::Severity f1, QFlags f2); +%End +%End +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) + +class QOpenGLDebugLogger : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum LoggingMode + { + AsynchronousLogging, + SynchronousLogging, + }; + + explicit QOpenGLDebugLogger(QObject *parent /TransferThis/ = 0); + virtual ~QOpenGLDebugLogger(); + bool initialize(); + bool isLogging() const; + QOpenGLDebugLogger::LoggingMode loggingMode() const; + qint64 maximumMessageLength() const; + void pushGroup(const QString &name, GLuint id = 0, QOpenGLDebugMessage::Source source = QOpenGLDebugMessage::ApplicationSource); + void popGroup(); + void enableMessages(QOpenGLDebugMessage::Sources sources = QOpenGLDebugMessage::AnySource, QOpenGLDebugMessage::Types types = QOpenGLDebugMessage::AnyType, QOpenGLDebugMessage::Severities severities = QOpenGLDebugMessage::Severity::AnySeverity); + void enableMessages(const QVector &ids, QOpenGLDebugMessage::Sources sources = QOpenGLDebugMessage::AnySource, QOpenGLDebugMessage::Types types = QOpenGLDebugMessage::AnyType); + void disableMessages(QOpenGLDebugMessage::Sources sources = QOpenGLDebugMessage::AnySource, QOpenGLDebugMessage::Types types = QOpenGLDebugMessage::AnyType, QOpenGLDebugMessage::Severities severities = QOpenGLDebugMessage::Severity::AnySeverity); + void disableMessages(const QVector &ids, QOpenGLDebugMessage::Sources sources = QOpenGLDebugMessage::AnySource, QOpenGLDebugMessage::Types types = QOpenGLDebugMessage::AnyType); + QList loggedMessages() const; + +public slots: + void logMessage(const QOpenGLDebugMessage &debugMessage); + void startLogging(QOpenGLDebugLogger::LoggingMode loggingMode = QOpenGLDebugLogger::AsynchronousLogging); + void stopLogging(); + +signals: + void messageLogged(const QOpenGLDebugMessage &debugMessage); + +private: + QOpenGLDebugLogger(const QOpenGLDebugLogger &); +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglframebufferobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglframebufferobject.sip new file mode 100644 index 00000000..d6f06f52 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglframebufferobject.sip @@ -0,0 +1,145 @@ +// qopenglframebufferobject.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_OpenGL) + +class QOpenGLFramebufferObject +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// The defaults are different for desktop OpenGL and OpenGL/ES so pretend the +// latter is the former. +#if defined(QT_OPENGL_ES) +#undef GL_RGBA8 +#define GL_RGBA8 GL_RGBA +#endif +%End + +public: + enum Attachment + { + NoAttachment, + CombinedDepthStencil, + Depth, + }; + + QOpenGLFramebufferObject(const QSize &size, GLenum target = GL_TEXTURE_2D); + QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D); + QOpenGLFramebufferObject(const QSize &size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internal_format = GL_RGBA8); + QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internal_format = GL_RGBA8); + QOpenGLFramebufferObject(const QSize &size, const QOpenGLFramebufferObjectFormat &format); + QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat &format); + virtual ~QOpenGLFramebufferObject(); + QOpenGLFramebufferObjectFormat format() const; + bool isValid() const; + bool isBound() const; + bool bind(); + bool release(); + int width() const; + int height() const; + GLuint texture() const; +%If (Qt_5_6_0 -) + QVector textures() const; +%End + QSize size() const; + QImage toImage() const; +%If (Qt_5_4_0 -) + QImage toImage(bool flipped) const; +%End +%If (Qt_5_6_0 -) + QImage toImage(bool flipped, int colorAttachmentIndex) const; +%End + QOpenGLFramebufferObject::Attachment attachment() const; + void setAttachment(QOpenGLFramebufferObject::Attachment attachment); + GLuint handle() const; + static bool bindDefault(); + static bool hasOpenGLFramebufferObjects(); + static bool hasOpenGLFramebufferBlit(); +%If (Qt_5_7_0 -) + + enum FramebufferRestorePolicy + { + DontRestoreFramebufferBinding, + RestoreFramebufferBindingToDefault, + RestoreFrameBufferBinding, + }; + +%End + static void blitFramebuffer(QOpenGLFramebufferObject *target, const QRect &targetRect, QOpenGLFramebufferObject *source, const QRect &sourceRect, GLbitfield buffers = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST); + static void blitFramebuffer(QOpenGLFramebufferObject *target, QOpenGLFramebufferObject *source, GLbitfield buffers = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST); +%If (Qt_5_6_0 -) + static void blitFramebuffer(QOpenGLFramebufferObject *target, const QRect &targetRect, QOpenGLFramebufferObject *source, const QRect &sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex); +%End +%If (Qt_5_7_0 -) + static void blitFramebuffer(QOpenGLFramebufferObject *target, const QRect &targetRect, QOpenGLFramebufferObject *source, const QRect &sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject::FramebufferRestorePolicy restorePolicy); +%End +%If (Qt_5_3_0 -) + GLuint takeTexture(); +%End +%If (Qt_5_6_0 -) + GLuint takeTexture(int colorAttachmentIndex); +%End +%If (Qt_5_6_0 -) + void addColorAttachment(const QSize &size, GLenum internal_format = 0); +%End +%If (Qt_5_6_0 -) + void addColorAttachment(int width, int height, GLenum internal_format = 0); +%End +%If (Qt_5_6_0 -) + QVector sizes() const; +%End + +private: + QOpenGLFramebufferObject(const QOpenGLFramebufferObject &); +}; + +%End +%If (PyQt_OpenGL) + +class QOpenGLFramebufferObjectFormat +{ +%TypeHeaderCode +#include +%End + +public: + QOpenGLFramebufferObjectFormat(); + QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat &other); + ~QOpenGLFramebufferObjectFormat(); + void setSamples(int samples); + int samples() const; + void setMipmap(bool enabled); + bool mipmap() const; + void setAttachment(QOpenGLFramebufferObject::Attachment attachment); + QOpenGLFramebufferObject::Attachment attachment() const; + void setTextureTarget(GLenum target); + GLenum textureTarget() const; + void setInternalTextureFormat(GLenum internalTextureFormat); + GLenum internalTextureFormat() const; + bool operator==(const QOpenGLFramebufferObjectFormat &other) const; + bool operator!=(const QOpenGLFramebufferObjectFormat &other) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglpaintdevice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglpaintdevice.sip new file mode 100644 index 00000000..f2f7c21c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglpaintdevice.sip @@ -0,0 +1,60 @@ +// qopenglpaintdevice.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_OpenGL) + +class QOpenGLPaintDevice : QPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + QOpenGLPaintDevice(); + explicit QOpenGLPaintDevice(const QSize &size); + QOpenGLPaintDevice(int width, int height); + virtual ~QOpenGLPaintDevice(); + virtual QPaintEngine *paintEngine() const; + QOpenGLContext *context() const; + QSize size() const; + void setSize(const QSize &size); + qreal dotsPerMeterX() const; + qreal dotsPerMeterY() const; + void setDotsPerMeterX(qreal); + void setDotsPerMeterY(qreal); + void setPaintFlipped(bool flipped); + bool paintFlipped() const; + virtual void ensureActiveTarget(); +%If (Qt_5_1_0 -) + void setDevicePixelRatio(qreal devicePixelRatio); +%End + +protected: + virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; + +private: +%If (- Qt_5_1_0) + QOpenGLPaintDevice(const QOpenGLPaintDevice &); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglpixeltransferoptions.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglpixeltransferoptions.sip new file mode 100644 index 00000000..6190d9f6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglpixeltransferoptions.sip @@ -0,0 +1,56 @@ +// qopenglpixeltransferoptions.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) +%If (PyQt_OpenGL) + +class QOpenGLPixelTransferOptions +{ +%TypeHeaderCode +#include +%End + +public: + QOpenGLPixelTransferOptions(); + QOpenGLPixelTransferOptions(const QOpenGLPixelTransferOptions &); + ~QOpenGLPixelTransferOptions(); + void swap(QOpenGLPixelTransferOptions &other /Constrained/); + void setAlignment(int alignment); + int alignment() const; + void setSkipImages(int skipImages); + int skipImages() const; + void setSkipRows(int skipRows); + int skipRows() const; + void setSkipPixels(int skipPixels); + int skipPixels() const; + void setImageHeight(int imageHeight); + int imageHeight() const; + void setRowLength(int rowLength); + int rowLength() const; + void setLeastSignificantByteFirst(bool lsbFirst); + bool isLeastSignificantBitFirst() const; + void setSwapBytesEnabled(bool swapBytes); + bool isSwapBytesEnabled() const; +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglshaderprogram.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglshaderprogram.sip new file mode 100644 index 00000000..4202297f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglshaderprogram.sip @@ -0,0 +1,364 @@ +// qopenglshaderprogram.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_OpenGL) + +class QOpenGLShader : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum ShaderTypeBit + { + Vertex, + Fragment, +%If (Qt_5_1_0 -) + Geometry, +%End +%If (Qt_5_1_0 -) + TessellationControl, +%End +%If (Qt_5_1_0 -) + TessellationEvaluation, +%End +%If (Qt_5_1_0 -) + Compute, +%End + }; + + typedef QFlags ShaderType; + QOpenGLShader(QOpenGLShader::ShaderType type, QObject *parent /TransferThis/ = 0); + virtual ~QOpenGLShader(); + QOpenGLShader::ShaderType shaderType() const; + bool compileSourceCode(const QByteArray &source); + bool compileSourceCode(const QString &source); + bool compileSourceFile(const QString &fileName); + QByteArray sourceCode() const; + bool isCompiled() const; + QString log() const; + GLuint shaderId() const; + static bool hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext *context = 0); +}; + +%End +%If (PyQt_OpenGL) +QFlags operator|(QOpenGLShader::ShaderTypeBit f1, QFlags f2); +%End +%If (PyQt_OpenGL) + +class QOpenGLShaderProgram : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QOpenGLShaderProgram(QObject *parent /TransferThis/ = 0); + virtual ~QOpenGLShaderProgram(); + bool addShader(QOpenGLShader *shader); + void removeShader(QOpenGLShader *shader); + QList shaders() const; + bool addShaderFromSourceCode(QOpenGLShader::ShaderType type, const QByteArray &source); + bool addShaderFromSourceCode(QOpenGLShader::ShaderType type, const QString &source); + bool addShaderFromSourceFile(QOpenGLShader::ShaderType type, const QString &fileName); + void removeAllShaders(); + virtual bool link(); + bool isLinked() const; + QString log() const; + bool bind(); + void release(); + GLuint programId() const; + void bindAttributeLocation(const QByteArray &name, int location); + void bindAttributeLocation(const QString &name, int location); + int attributeLocation(const QByteArray &name) const; + int attributeLocation(const QString &name) const; + void setAttributeValue(int location, GLfloat value); + void setAttributeValue(int location, GLfloat x, GLfloat y); + void setAttributeValue(int location, GLfloat x, GLfloat y, GLfloat z); + void setAttributeValue(int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setAttributeValue(int location, const QVector2D &value); + void setAttributeValue(int location, const QVector3D &value); + void setAttributeValue(int location, const QVector4D &value); + void setAttributeValue(int location, const QColor &value); + void setAttributeValue(const char *name, GLfloat value); + void setAttributeValue(const char *name, GLfloat x, GLfloat y); + void setAttributeValue(const char *name, GLfloat x, GLfloat y, GLfloat z); + void setAttributeValue(const char *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setAttributeValue(const char *name, const QVector2D &value); + void setAttributeValue(const char *name, const QVector3D &value); + void setAttributeValue(const char *name, const QVector4D &value); + void setAttributeValue(const char *name, const QColor &value); + void setAttributeArray(int location, SIP_PYOBJECT values /TypeHint="PYQT_SHADER_ATTRIBUTE_ARRAY"/); +%MethodCode + const GLfloat *values; + int tsize; + + values = qpyopengl_attribute_array(a1, sipSelf, SIPLong_FromLong(a0), &tsize, + &sipError); + + if (values) + sipCpp->setAttributeArray(a0, values, tsize); +%End + + void setAttributeArray(const char *name, SIP_PYOBJECT values /TypeHint="PYQT_SHADER_ATTRIBUTE_ARRAY"/); +%MethodCode + const GLfloat *values; + int tsize; + + values = qpyopengl_attribute_array(a1, sipSelf, SIPBytes_FromString(a0), + &tsize, &sipError); + + if (values) + sipCpp->setAttributeArray(a0, values, tsize); +%End + + void setAttributeBuffer(int location, GLenum type, int offset, int tupleSize, int stride = 0); + void setAttributeBuffer(const char *name, GLenum type, int offset, int tupleSize, int stride = 0); + void enableAttributeArray(int location); + void enableAttributeArray(const char *name); + void disableAttributeArray(int location); + void disableAttributeArray(const char *name); + int uniformLocation(const QByteArray &name) const; + int uniformLocation(const QString &name) const; + void setUniformValue(int location, GLint value /Constrained/); + void setUniformValue(int location, GLfloat value /Constrained/); + void setUniformValue(int location, GLfloat x, GLfloat y); + void setUniformValue(int location, GLfloat x, GLfloat y, GLfloat z); + void setUniformValue(int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setUniformValue(int location, const QVector2D &value); + void setUniformValue(int location, const QVector3D &value); + void setUniformValue(int location, const QVector4D &value); + void setUniformValue(int location, const QColor &color); + void setUniformValue(int location, const QPoint &point); + void setUniformValue(int location, const QPointF &point); + void setUniformValue(int location, const QSize &size); + void setUniformValue(int location, const QSizeF &size); + void setUniformValue(int location, const QMatrix2x2 &value); + void setUniformValue(int location, const QMatrix2x3 &value); + void setUniformValue(int location, const QMatrix2x4 &value); + void setUniformValue(int location, const QMatrix3x2 &value); + void setUniformValue(int location, const QMatrix3x3 &value); + void setUniformValue(int location, const QMatrix3x4 &value); + void setUniformValue(int location, const QMatrix4x2 &value); + void setUniformValue(int location, const QMatrix4x3 &value); + void setUniformValue(int location, const QMatrix4x4 &value); + void setUniformValue(int location, const QTransform &value); + void setUniformValue(const char *name, GLint value /Constrained/); + void setUniformValue(const char *name, GLfloat value /Constrained/); + void setUniformValue(const char *name, GLfloat x, GLfloat y); + void setUniformValue(const char *name, GLfloat x, GLfloat y, GLfloat z); + void setUniformValue(const char *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); + void setUniformValue(const char *name, const QVector2D &value); + void setUniformValue(const char *name, const QVector3D &value); + void setUniformValue(const char *name, const QVector4D &value); + void setUniformValue(const char *name, const QColor &color); + void setUniformValue(const char *name, const QPoint &point); + void setUniformValue(const char *name, const QPointF &point); + void setUniformValue(const char *name, const QSize &size); + void setUniformValue(const char *name, const QSizeF &size); + void setUniformValue(const char *name, const QMatrix2x2 &value); + void setUniformValue(const char *name, const QMatrix2x3 &value); + void setUniformValue(const char *name, const QMatrix2x4 &value); + void setUniformValue(const char *name, const QMatrix3x2 &value); + void setUniformValue(const char *name, const QMatrix3x3 &value); + void setUniformValue(const char *name, const QMatrix3x4 &value); + void setUniformValue(const char *name, const QMatrix4x2 &value); + void setUniformValue(const char *name, const QMatrix4x3 &value); + void setUniformValue(const char *name, const QMatrix4x4 &value); + void setUniformValue(const char *name, const QTransform &value); + void setUniformValueArray(int location, SIP_PYOBJECT values /TypeHint="PYQT_SHADER_UNIFORM_VALUE_ARRAY"/); +%MethodCode + const void *values; + const sipTypeDef *array_type; + int array_len, tsize; + + values = qpyopengl_uniform_value_array(a1, sipSelf, SIPLong_FromLong(a0), + &array_type, &array_len, &tsize, &sipError); + + if (values) + { + if (array_type == sipType_QVector2D) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QVector3D) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QVector4D) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix2x2) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix2x3) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix2x4) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix3x2) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix3x3) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix3x4) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix4x2) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix4x3) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix4x4) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len, tsize); + } +%End + + void setUniformValueArray(const char *name, SIP_PYOBJECT values /TypeHint="PYQT_SHADER_UNIFORM_VALUE_ARRAY"/); +%MethodCode + const void *values; + const sipTypeDef *array_type; + int array_len, tsize; + + values = qpyopengl_uniform_value_array(a1, sipSelf, SIPBytes_FromString(a0), + &array_type, &array_len, &tsize, &sipError); + + if (values) + { + if (array_type == sipType_QVector2D) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QVector3D) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QVector4D) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix2x2) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix2x3) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix2x4) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix3x2) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix3x3) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix3x4) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix4x2) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix4x3) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else if (array_type == sipType_QMatrix4x4) + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len); + else + sipCpp->setUniformValueArray(a0, + reinterpret_cast(values), array_len, tsize); + } +%End + + static bool hasOpenGLShaderPrograms(QOpenGLContext *context = 0); +%If (Qt_5_1_0 -) + int maxGeometryOutputVertices() const; +%End +%If (Qt_5_1_0 -) + void setPatchVertexCount(int count); +%End +%If (Qt_5_1_0 -) + int patchVertexCount() const; +%End +%If (Qt_5_1_0 -) + void setDefaultOuterTessellationLevels(const QVector &levels); +%End +%If (Qt_5_1_0 -) + QVector defaultOuterTessellationLevels() const; +%End +%If (Qt_5_1_0 -) + void setDefaultInnerTessellationLevels(const QVector &levels); +%End +%If (Qt_5_1_0 -) + QVector defaultInnerTessellationLevels() const; +%End +%If (Qt_5_3_0 -) + bool create(); +%End +%If (Qt_5_9_0 -) + bool addCacheableShaderFromSourceCode(QOpenGLShader::ShaderType type, const QByteArray &source); +%End +%If (Qt_5_9_0 -) + bool addCacheableShaderFromSourceCode(QOpenGLShader::ShaderType type, const QString &source); +%End +%If (Qt_5_9_0 -) + bool addCacheableShaderFromSourceFile(QOpenGLShader::ShaderType type, const QString &fileName); +%End +}; + +%End + +%ModuleHeaderCode +#include "qpyopengl_api.h" +%End + +%InitialisationCode +#if defined(SIP_FEATURE_PyQt_OpenGL) +qpyopengl_init(); +#endif +%End + +%ExportedTypeHintCode +# Convenient aliases for complicated OpenGL types. +PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], + PyQt5.sip.Buffer, None] +PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], + typing.Sequence[float], PyQt5.sip.Buffer, int, None] +%End + +%TypeHintCode +# Convenient aliases for complicated OpenGL types. +PYQT_SHADER_ATTRIBUTE_ARRAY = typing.Union[typing.Sequence['QVector2D'], + typing.Sequence['QVector3D'], typing.Sequence['QVector4D'], + typing.Sequence[typing.Sequence[float]]] +PYQT_SHADER_UNIFORM_VALUE_ARRAY = typing.Union[typing.Sequence['QVector2D'], + typing.Sequence['QVector3D'], typing.Sequence['QVector4D'], + typing.Sequence['QMatrix2x2'], typing.Sequence['QMatrix2x3'], + typing.Sequence['QMatrix2x4'], typing.Sequence['QMatrix3x2'], + typing.Sequence['QMatrix3x3'], typing.Sequence['QMatrix3x4'], + typing.Sequence['QMatrix4x2'], typing.Sequence['QMatrix4x3'], + typing.Sequence['QMatrix4x4'], typing.Sequence[typing.Sequence[float]]] +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltexture.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltexture.sip new file mode 100644 index 00000000..6cc69154 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltexture.sip @@ -0,0 +1,644 @@ +// qopengltexture.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) +%If (PyQt_OpenGL) + +class QOpenGLTexture +{ +%TypeHeaderCode +#include +%End + +public: + enum Target + { + Target1D, + Target1DArray, + Target2D, + Target2DArray, + Target3D, + TargetCubeMap, + TargetCubeMapArray, + Target2DMultisample, + Target2DMultisampleArray, + TargetRectangle, + TargetBuffer, + }; + + enum BindingTarget + { + BindingTarget1D, + BindingTarget1DArray, + BindingTarget2D, + BindingTarget2DArray, + BindingTarget3D, + BindingTargetCubeMap, + BindingTargetCubeMapArray, + BindingTarget2DMultisample, + BindingTarget2DMultisampleArray, + BindingTargetRectangle, + BindingTargetBuffer, + }; + + enum MipMapGeneration + { + GenerateMipMaps, + DontGenerateMipMaps, + }; + + enum TextureUnitReset + { + ResetTextureUnit, + DontResetTextureUnit, + }; + + explicit QOpenGLTexture(QOpenGLTexture::Target target); + QOpenGLTexture(const QImage &image, QOpenGLTexture::MipMapGeneration genMipMaps = QOpenGLTexture::GenerateMipMaps); + ~QOpenGLTexture(); + bool create(); + void destroy(); + bool isCreated() const; + GLuint textureId() const; + void bind(); + void bind(uint unit, QOpenGLTexture::TextureUnitReset reset = QOpenGLTexture::DontResetTextureUnit); + void release(); + void release(uint unit, QOpenGLTexture::TextureUnitReset reset = QOpenGLTexture::DontResetTextureUnit); + bool isBound() const; + bool isBound(uint unit); + static GLuint boundTextureId(QOpenGLTexture::BindingTarget target); + static GLuint boundTextureId(uint unit, QOpenGLTexture::BindingTarget target); + + enum TextureFormat + { + NoFormat, + R8_UNorm, + RG8_UNorm, + RGB8_UNorm, + RGBA8_UNorm, + R16_UNorm, + RG16_UNorm, + RGB16_UNorm, + RGBA16_UNorm, + R8_SNorm, + RG8_SNorm, + RGB8_SNorm, + RGBA8_SNorm, + R16_SNorm, + RG16_SNorm, + RGB16_SNorm, + RGBA16_SNorm, + R8U, + RG8U, + RGB8U, + RGBA8U, + R16U, + RG16U, + RGB16U, + RGBA16U, + R32U, + RG32U, + RGB32U, + RGBA32U, + R8I, + RG8I, + RGB8I, + RGBA8I, + R16I, + RG16I, + RGB16I, + RGBA16I, + R32I, + RG32I, + RGB32I, + RGBA32I, + R16F, + RG16F, + RGB16F, + RGBA16F, + R32F, + RG32F, + RGB32F, + RGBA32F, + RGB9E5, + RG11B10F, + RG3B2, + R5G6B5, + RGB5A1, + RGBA4, + RGB10A2, + D16, + D24, + D24S8, + D32, + D32F, + D32FS8X24, + RGB_DXT1, + RGBA_DXT1, + RGBA_DXT3, + RGBA_DXT5, + R_ATI1N_UNorm, + R_ATI1N_SNorm, + RG_ATI2N_UNorm, + RG_ATI2N_SNorm, + RGB_BP_UNSIGNED_FLOAT, + RGB_BP_SIGNED_FLOAT, + RGB_BP_UNorm, + SRGB8, + SRGB8_Alpha8, + SRGB_DXT1, + SRGB_Alpha_DXT1, + SRGB_Alpha_DXT3, + SRGB_Alpha_DXT5, + SRGB_BP_UNorm, + DepthFormat, + AlphaFormat, + RGBFormat, + RGBAFormat, + LuminanceFormat, + LuminanceAlphaFormat, +%If (Qt_5_4_0 -) + S8, +%End +%If (Qt_5_5_0 -) + R11_EAC_UNorm, +%End +%If (Qt_5_5_0 -) + R11_EAC_SNorm, +%End +%If (Qt_5_5_0 -) + RG11_EAC_UNorm, +%End +%If (Qt_5_5_0 -) + RG11_EAC_SNorm, +%End +%If (Qt_5_5_0 -) + RGB8_ETC2, +%End +%If (Qt_5_5_0 -) + SRGB8_ETC2, +%End +%If (Qt_5_5_0 -) + RGB8_PunchThrough_Alpha1_ETC2, +%End +%If (Qt_5_5_0 -) + SRGB8_PunchThrough_Alpha1_ETC2, +%End +%If (Qt_5_5_0 -) + RGBA8_ETC2_EAC, +%End +%If (Qt_5_5_0 -) + SRGB8_Alpha8_ETC2_EAC, +%End +%If (Qt_5_6_0 -) + RGB8_ETC1, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_4x4, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_5x4, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_5x5, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_6x5, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_6x6, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_8x5, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_8x6, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_8x8, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_10x5, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_10x6, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_10x8, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_10x10, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_12x10, +%End +%If (Qt_5_9_0 -) + RGBA_ASTC_12x12, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_4x4, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_5x4, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_5x5, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_6x5, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_6x6, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_8x5, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_8x6, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_8x8, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_10x5, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_10x6, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_10x8, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_10x10, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_12x10, +%End +%If (Qt_5_9_0 -) + SRGB8_Alpha8_ASTC_12x12, +%End + }; + + void setFormat(QOpenGLTexture::TextureFormat format); + QOpenGLTexture::TextureFormat format() const; + void setSize(int width, int height = 1, int depth = 1); + int width() const; + int height() const; + int depth() const; + void setMipLevels(int levels); + int mipLevels() const; + int maximumMipLevels() const; + void setLayers(int layers); + int layers() const; + int faces() const; + void allocateStorage(); +%If (Qt_5_5_0 -) + void allocateStorage(QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType); +%End + bool isStorageAllocated() const; + QOpenGLTexture *createTextureView(QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const /Factory/; + bool isTextureView() const; + + enum CubeMapFace + { + CubeMapPositiveX, + CubeMapNegativeX, + CubeMapPositiveY, + CubeMapNegativeY, + CubeMapPositiveZ, + CubeMapNegativeZ, + }; + + enum PixelFormat + { + NoSourceFormat, + Red, + RG, + RGB, + BGR, + RGBA, + BGRA, + Red_Integer, + RG_Integer, + RGB_Integer, + BGR_Integer, + RGBA_Integer, + BGRA_Integer, + Depth, + DepthStencil, + Alpha, + Luminance, + LuminanceAlpha, +%If (Qt_5_4_0 -) + Stencil, +%End + }; + + enum PixelType + { + NoPixelType, + Int8, + UInt8, + Int16, + UInt16, + Int32, + UInt32, + Float16, + Float16OES, + Float32, + UInt32_RGB9_E5, + UInt32_RG11B10F, + UInt8_RG3B2, + UInt8_RG3B2_Rev, + UInt16_RGB5A1, + UInt16_RGB5A1_Rev, + UInt16_R5G6B5, + UInt16_R5G6B5_Rev, + UInt16_RGBA4, + UInt16_RGBA4_Rev, + UInt32_RGB10A2, + UInt32_RGB10A2_Rev, +%If (Qt_5_4_0 -) + UInt32_RGBA8, +%End +%If (Qt_5_4_0 -) + UInt32_RGBA8_Rev, +%End +%If (Qt_5_4_0 -) + UInt32_D24S8, +%End +%If (Qt_5_4_0 -) + Float32_D32_UInt32_S8_X24, +%End + }; + +%If (Qt_5_3_0 -) + void setData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (- Qt_5_3_0) + void setData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_3_0 -) + void setData(int mipLevel, int layer, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (- Qt_5_3_0) + void setData(int mipLevel, int layer, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_3_0 -) + void setData(int mipLevel, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (- Qt_5_3_0) + void setData(int mipLevel, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_3_0 -) + void setData(QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (- Qt_5_3_0) + void setData(QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End + void setData(const QImage &image, QOpenGLTexture::MipMapGeneration genMipMaps = QOpenGLTexture::GenerateMipMaps); +%If (Qt_5_3_0 -) + void setCompressedData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, int dataSize, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (- Qt_5_3_0) + void setCompressedData(int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, int dataSize, void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_3_0 -) + void setCompressedData(int mipLevel, int layer, int dataSize, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (- Qt_5_3_0) + void setCompressedData(int mipLevel, int layer, int dataSize, void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_3_0 -) + void setCompressedData(int mipLevel, int dataSize, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (- Qt_5_3_0) + void setCompressedData(int mipLevel, int dataSize, void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_3_0 -) + void setCompressedData(int dataSize, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (- Qt_5_3_0) + void setCompressedData(int dataSize, void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End + + enum Feature + { + ImmutableStorage, + ImmutableMultisampleStorage, + TextureRectangle, + TextureArrays, + Texture3D, + TextureMultisample, + TextureBuffer, + TextureCubeMapArrays, + Swizzle, + StencilTexturing, + AnisotropicFiltering, + NPOTTextures, + NPOTTextureRepeat, +%If (Qt_5_3_0 -) + Texture1D, +%End +%If (Qt_5_5_0 -) + TextureComparisonOperators, +%End +%If (Qt_5_5_0 -) + TextureMipMapLevel, +%End + }; + + typedef QFlags Features; + static bool hasFeature(QOpenGLTexture::Feature feature); + void setMipBaseLevel(int baseLevel); + int mipBaseLevel() const; + void setMipMaxLevel(int maxLevel); + int mipMaxLevel() const; + void setMipLevelRange(int baseLevel, int maxLevel); + QPair mipLevelRange() const; + void setAutoMipMapGenerationEnabled(bool enabled); + bool isAutoMipMapGenerationEnabled() const; + void generateMipMaps(); + void generateMipMaps(int baseLevel, bool resetBaseLevel = true); + + enum SwizzleComponent + { + SwizzleRed, + SwizzleGreen, + SwizzleBlue, + SwizzleAlpha, + }; + + enum SwizzleValue + { + RedValue, + GreenValue, + BlueValue, + AlphaValue, + ZeroValue, + OneValue, + }; + + void setSwizzleMask(QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value); + void setSwizzleMask(QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a); + QOpenGLTexture::SwizzleValue swizzleMask(QOpenGLTexture::SwizzleComponent component) const; + + enum DepthStencilMode + { + DepthMode, + StencilMode, + }; + + void setDepthStencilMode(QOpenGLTexture::DepthStencilMode mode); + QOpenGLTexture::DepthStencilMode depthStencilMode() const; + + enum Filter + { + Nearest, + Linear, + NearestMipMapNearest, + NearestMipMapLinear, + LinearMipMapNearest, + LinearMipMapLinear, + }; + + void setMinificationFilter(QOpenGLTexture::Filter filter); + QOpenGLTexture::Filter minificationFilter() const; + void setMagnificationFilter(QOpenGLTexture::Filter filter); + QOpenGLTexture::Filter magnificationFilter() const; + void setMinMagFilters(QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter); + QPair minMagFilters() const; + void setMaximumAnisotropy(float anisotropy); + float maximumAnisotropy() const; + + enum WrapMode + { + Repeat, + MirroredRepeat, + ClampToEdge, + ClampToBorder, + }; + + enum CoordinateDirection + { + DirectionS, + DirectionT, + DirectionR, + }; + + void setWrapMode(QOpenGLTexture::WrapMode mode); + void setWrapMode(QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode); + QOpenGLTexture::WrapMode wrapMode(QOpenGLTexture::CoordinateDirection direction) const; + void setBorderColor(QColor color); + QColor borderColor() const; + void setMinimumLevelOfDetail(float value); + float minimumLevelOfDetail() const; + void setMaximumLevelOfDetail(float value); + float maximumLevelOfDetail() const; + void setLevelOfDetailRange(float min, float max); + QPair levelOfDetailRange() const; + void setLevelofDetailBias(float bias); + float levelofDetailBias() const; +%If (Qt_5_4_0 -) + QOpenGLTexture::Target target() const; +%End +%If (Qt_5_4_0 -) + void setSamples(int samples); +%End +%If (Qt_5_4_0 -) + int samples() const; +%End +%If (Qt_5_4_0 -) + void setFixedSamplePositions(bool fixed); +%End +%If (Qt_5_4_0 -) + bool isFixedSamplePositions() const; +%End +%If (Qt_5_5_0 -) + + enum ComparisonFunction + { + CompareLessEqual, + CompareGreaterEqual, + CompareLess, + CompareGreater, + CompareEqual, + CommpareNotEqual, + CompareAlways, + CompareNever, + }; + +%End +%If (Qt_5_5_0 -) + void setComparisonFunction(QOpenGLTexture::ComparisonFunction function); +%End +%If (Qt_5_5_0 -) + QOpenGLTexture::ComparisonFunction comparisonFunction() const; +%End +%If (Qt_5_5_0 -) + + enum ComparisonMode + { + CompareRefToTexture, + CompareNone, + }; + +%End +%If (Qt_5_5_0 -) + void setComparisonMode(QOpenGLTexture::ComparisonMode mode); +%End +%If (Qt_5_5_0 -) + QOpenGLTexture::ComparisonMode comparisonMode() const; +%End +%If (Qt_5_9_0 -) + void setData(int mipLevel, int layer, int layerCount, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_9_0 -) + void setCompressedData(int mipLevel, int layer, int layerCount, QOpenGLTexture::CubeMapFace cubeFace, int dataSize, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_14_0 -) + void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_14_0 -) + void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_14_0 -) + void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_14_0 -) + void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End +%If (Qt_5_14_0 -) + void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, QOpenGLTexture::CubeMapFace cubeFace, int layerCount, QOpenGLTexture::PixelFormat sourceFormat, QOpenGLTexture::PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions * const options = 0); +%End + +private: + QOpenGLTexture(const QOpenGLTexture &); +}; + +%End +%End +%If (Qt_5_2_0 -) +%If (PyQt_OpenGL) +QFlags operator|(QOpenGLTexture::Feature f1, QFlags f2); +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltextureblitter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltextureblitter.sip new file mode 100644 index 00000000..6018f372 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltextureblitter.sip @@ -0,0 +1,60 @@ +// qopengltextureblitter.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) +%If (PyQt_OpenGL) + +class QOpenGLTextureBlitter +{ +%TypeHeaderCode +#include +%End + +public: + QOpenGLTextureBlitter(); + ~QOpenGLTextureBlitter(); + + enum Origin + { + OriginBottomLeft, + OriginTopLeft, + }; + + bool create(); + bool isCreated() const; + void destroy(); + bool supportsExternalOESTarget() const; + void bind(GLenum target = GL_TEXTURE_2D); + void release(); + void setRedBlueSwizzle(bool swizzle); + void setOpacity(float opacity); + void blit(GLuint texture, const QMatrix4x4 &targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin); + void blit(GLuint texture, const QMatrix4x4 &targetTransform, const QMatrix3x3 &sourceTransform); + static QMatrix4x4 targetTransform(const QRectF &target, const QRect &viewport); + static QMatrix3x3 sourceTransform(const QRectF &subTexture, const QSize &textureSize, QOpenGLTextureBlitter::Origin origin); + +private: + QOpenGLTextureBlitter(const QOpenGLTextureBlitter &); +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltimerquery.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltimerquery.sip new file mode 100644 index 00000000..5423c761 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopengltimerquery.sip @@ -0,0 +1,75 @@ +// qopengltimerquery.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) +%If (PyQt_Desktop_OpenGL) + +class QOpenGLTimerQuery : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QOpenGLTimerQuery(QObject *parent /TransferThis/ = 0); + virtual ~QOpenGLTimerQuery(); + bool create(); + void destroy(); + bool isCreated() const; + GLuint objectId() const; + void begin(); + void end(); + GLuint64 waitForTimestamp() const /ReleaseGIL/; + void recordTimestamp(); + bool isResultAvailable() const; + GLuint64 waitForResult() const /ReleaseGIL/; +}; + +%End +%End +%If (Qt_5_1_0 -) +%If (PyQt_Desktop_OpenGL) + +class QOpenGLTimeMonitor : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QOpenGLTimeMonitor(QObject *parent /TransferThis/ = 0); + virtual ~QOpenGLTimeMonitor(); + void setSampleCount(int sampleCount); + int sampleCount() const; + bool create(); + void destroy(); + bool isCreated() const; + QVector objectIds() const; + int recordSample(); + bool isResultAvailable() const; + QVector waitForSamples() const /ReleaseGIL/; + QVector waitForIntervals() const /ReleaseGIL/; + void reset(); +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglversionfunctions.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglversionfunctions.sip new file mode 100644 index 00000000..f2b966d6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglversionfunctions.sip @@ -0,0 +1,36 @@ +// qopenglversionfunctions.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) + +class QAbstractOpenGLFunctions /NoDefaultCtors,Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + + QAbstractOpenGLFunctions(const QAbstractOpenGLFunctions &); +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglvertexarrayobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglvertexarrayobject.sip new file mode 100644 index 00000000..314042f3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglvertexarrayobject.sip @@ -0,0 +1,71 @@ +// qopenglvertexarrayobject.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) +%If (PyQt_OpenGL) + +class QOpenGLVertexArrayObject : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QOpenGLVertexArrayObject(QObject *parent /TransferThis/ = 0); + virtual ~QOpenGLVertexArrayObject(); + bool create(); + void destroy(); + bool isCreated() const; + GLuint objectId() const; + void bind(); + void release(); + + class Binder + { +%TypeHeaderCode +#include +%End + + public: + Binder(QOpenGLVertexArrayObject *v); + ~Binder(); + void release(); + void rebind(); + SIP_PYOBJECT __enter__(); +%MethodCode + // Just return a reference to self. + sipRes = sipSelf; + Py_INCREF(sipRes); +%End + + void __exit__(SIP_PYOBJECT type, SIP_PYOBJECT value, SIP_PYOBJECT traceback); +%MethodCode + sipCpp->release(); +%End + + private: + Binder(const QOpenGLVertexArrayObject::Binder &); + }; +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglwindow.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglwindow.sip new file mode 100644 index 00000000..11d8f202 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qopenglwindow.sip @@ -0,0 +1,73 @@ +// qopenglwindow.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) +%If (PyQt_OpenGL) + +class QOpenGLWindow : QPaintDeviceWindow +{ +%TypeHeaderCode +#include +%End + +public: + enum UpdateBehavior + { + NoPartialUpdate, + PartialUpdateBlit, + PartialUpdateBlend, + }; + + QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow *parent /TransferThis/ = 0); +%If (Qt_5_5_0 -) + QOpenGLWindow(QOpenGLContext *shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow *parent /TransferThis/ = 0); +%End +%If (Qt_5_5_0 -) + virtual ~QOpenGLWindow(); +%End + QOpenGLWindow::UpdateBehavior updateBehavior() const; + bool isValid() const; + void makeCurrent(); + void doneCurrent(); + QOpenGLContext *context() const; + GLuint defaultFramebufferObject() const; + QImage grabFramebuffer(); +%If (Qt_5_5_0 -) + QOpenGLContext *shareContext() const; +%End + +signals: + void frameSwapped(); + +protected: + virtual void initializeGL(); + virtual void resizeGL(int w, int h); + virtual void paintGL(); + virtual void paintUnderGL(); + virtual void paintOverGL(); + virtual void paintEvent(QPaintEvent *event); + virtual void resizeEvent(QResizeEvent *event); + virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagedpaintdevice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagedpaintdevice.sip new file mode 100644 index 00000000..4419fc83 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagedpaintdevice.sip @@ -0,0 +1,403 @@ +// qpagedpaintdevice.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPagedPaintDevice : QPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + QPagedPaintDevice(); + virtual ~QPagedPaintDevice(); + virtual bool newPage() = 0; + + enum PageSize + { + A4, + B5, + Letter, + Legal, + Executive, + A0, + A1, + A2, + A3, + A5, + A6, + A7, + A8, + A9, + B0, + B1, + B10, + B2, + B3, + B4, + B6, + B7, + B8, + B9, + C5E, + Comm10E, + DLE, + Folio, + Ledger, + Tabloid, + Custom, +%If (Qt_5_3_0 -) + A10, +%End +%If (Qt_5_3_0 -) + A3Extra, +%End +%If (Qt_5_3_0 -) + A4Extra, +%End +%If (Qt_5_3_0 -) + A4Plus, +%End +%If (Qt_5_3_0 -) + A4Small, +%End +%If (Qt_5_3_0 -) + A5Extra, +%End +%If (Qt_5_3_0 -) + B5Extra, +%End +%If (Qt_5_3_0 -) + JisB0, +%End +%If (Qt_5_3_0 -) + JisB1, +%End +%If (Qt_5_3_0 -) + JisB2, +%End +%If (Qt_5_3_0 -) + JisB3, +%End +%If (Qt_5_3_0 -) + JisB4, +%End +%If (Qt_5_3_0 -) + JisB5, +%End +%If (Qt_5_3_0 -) + JisB6, +%End +%If (Qt_5_3_0 -) + JisB7, +%End +%If (Qt_5_3_0 -) + JisB8, +%End +%If (Qt_5_3_0 -) + JisB9, +%End +%If (Qt_5_3_0 -) + JisB10, +%End +%If (Qt_5_3_0 -) + AnsiC, +%End +%If (Qt_5_3_0 -) + AnsiD, +%End +%If (Qt_5_3_0 -) + AnsiE, +%End +%If (Qt_5_3_0 -) + LegalExtra, +%End +%If (Qt_5_3_0 -) + LetterExtra, +%End +%If (Qt_5_3_0 -) + LetterPlus, +%End +%If (Qt_5_3_0 -) + LetterSmall, +%End +%If (Qt_5_3_0 -) + TabloidExtra, +%End +%If (Qt_5_3_0 -) + ArchA, +%End +%If (Qt_5_3_0 -) + ArchB, +%End +%If (Qt_5_3_0 -) + ArchC, +%End +%If (Qt_5_3_0 -) + ArchD, +%End +%If (Qt_5_3_0 -) + ArchE, +%End +%If (Qt_5_3_0 -) + Imperial7x9, +%End +%If (Qt_5_3_0 -) + Imperial8x10, +%End +%If (Qt_5_3_0 -) + Imperial9x11, +%End +%If (Qt_5_3_0 -) + Imperial9x12, +%End +%If (Qt_5_3_0 -) + Imperial10x11, +%End +%If (Qt_5_3_0 -) + Imperial10x13, +%End +%If (Qt_5_3_0 -) + Imperial10x14, +%End +%If (Qt_5_3_0 -) + Imperial12x11, +%End +%If (Qt_5_3_0 -) + Imperial15x11, +%End +%If (Qt_5_3_0 -) + ExecutiveStandard, +%End +%If (Qt_5_3_0 -) + Note, +%End +%If (Qt_5_3_0 -) + Quarto, +%End +%If (Qt_5_3_0 -) + Statement, +%End +%If (Qt_5_3_0 -) + SuperA, +%End +%If (Qt_5_3_0 -) + SuperB, +%End +%If (Qt_5_3_0 -) + Postcard, +%End +%If (Qt_5_3_0 -) + DoublePostcard, +%End +%If (Qt_5_3_0 -) + Prc16K, +%End +%If (Qt_5_3_0 -) + Prc32K, +%End +%If (Qt_5_3_0 -) + Prc32KBig, +%End +%If (Qt_5_3_0 -) + FanFoldUS, +%End +%If (Qt_5_3_0 -) + FanFoldGerman, +%End +%If (Qt_5_3_0 -) + FanFoldGermanLegal, +%End +%If (Qt_5_3_0 -) + EnvelopeB4, +%End +%If (Qt_5_3_0 -) + EnvelopeB5, +%End +%If (Qt_5_3_0 -) + EnvelopeB6, +%End +%If (Qt_5_3_0 -) + EnvelopeC0, +%End +%If (Qt_5_3_0 -) + EnvelopeC1, +%End +%If (Qt_5_3_0 -) + EnvelopeC2, +%End +%If (Qt_5_3_0 -) + EnvelopeC3, +%End +%If (Qt_5_3_0 -) + EnvelopeC4, +%End +%If (Qt_5_3_0 -) + EnvelopeC6, +%End +%If (Qt_5_3_0 -) + EnvelopeC65, +%End +%If (Qt_5_3_0 -) + EnvelopeC7, +%End +%If (Qt_5_3_0 -) + Envelope9, +%End +%If (Qt_5_3_0 -) + Envelope11, +%End +%If (Qt_5_3_0 -) + Envelope12, +%End +%If (Qt_5_3_0 -) + Envelope14, +%End +%If (Qt_5_3_0 -) + EnvelopeMonarch, +%End +%If (Qt_5_3_0 -) + EnvelopePersonal, +%End +%If (Qt_5_3_0 -) + EnvelopeChou3, +%End +%If (Qt_5_3_0 -) + EnvelopeChou4, +%End +%If (Qt_5_3_0 -) + EnvelopeInvite, +%End +%If (Qt_5_3_0 -) + EnvelopeItalian, +%End +%If (Qt_5_3_0 -) + EnvelopeKaku2, +%End +%If (Qt_5_3_0 -) + EnvelopeKaku3, +%End +%If (Qt_5_3_0 -) + EnvelopePrc1, +%End +%If (Qt_5_3_0 -) + EnvelopePrc2, +%End +%If (Qt_5_3_0 -) + EnvelopePrc3, +%End +%If (Qt_5_3_0 -) + EnvelopePrc4, +%End +%If (Qt_5_3_0 -) + EnvelopePrc5, +%End +%If (Qt_5_3_0 -) + EnvelopePrc6, +%End +%If (Qt_5_3_0 -) + EnvelopePrc7, +%End +%If (Qt_5_3_0 -) + EnvelopePrc8, +%End +%If (Qt_5_3_0 -) + EnvelopePrc9, +%End +%If (Qt_5_3_0 -) + EnvelopePrc10, +%End +%If (Qt_5_3_0 -) + EnvelopeYou4, +%End +%If (Qt_5_3_0 -) + NPaperSize, +%End +%If (Qt_5_3_0 -) + AnsiA, +%End +%If (Qt_5_3_0 -) + AnsiB, +%End +%If (Qt_5_3_0 -) + EnvelopeC5, +%End +%If (Qt_5_3_0 -) + EnvelopeDL, +%End +%If (Qt_5_3_0 -) + Envelope10, +%End +%If (Qt_5_3_0 -) + LastPageSize, +%End + }; + +%If (Qt_5_10_0 -) + + enum PdfVersion + { + PdfVersion_1_4, + PdfVersion_A1b, +%If (Qt_5_12_0 -) + PdfVersion_1_6, +%End + }; + +%End + virtual void setPageSize(QPagedPaintDevice::PageSize size); + QPagedPaintDevice::PageSize pageSize() const; + virtual void setPageSizeMM(const QSizeF &size); + QSizeF pageSizeMM() const; + + struct Margins + { +%TypeHeaderCode +#include +%End + + qreal left; + qreal right; + qreal top; + qreal bottom; + }; + + virtual void setMargins(const QPagedPaintDevice::Margins &margins); + QPagedPaintDevice::Margins margins() const; +%If (Qt_5_3_0 -) + bool setPageLayout(const QPageLayout &pageLayout); +%End +%If (Qt_5_3_0 -) + bool setPageSize(const QPageSize &pageSize); +%End +%If (Qt_5_3_0 -) + bool setPageOrientation(QPageLayout::Orientation orientation); +%End +%If (Qt_5_3_0 -) + bool setPageMargins(const QMarginsF &margins); +%End +%If (Qt_5_3_0 -) + bool setPageMargins(const QMarginsF &margins, QPageLayout::Unit units); +%End +%If (Qt_5_3_0 -) + QPageLayout pageLayout() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagelayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagelayout.sip new file mode 100644 index 00000000..5c21b8d7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagelayout.sip @@ -0,0 +1,97 @@ +// qpagelayout.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +class QPageLayout +{ +%TypeHeaderCode +#include +%End + +public: + enum Unit + { + Millimeter, + Point, + Inch, + Pica, + Didot, + Cicero, + }; + + enum Orientation + { + Portrait, + Landscape, + }; + + enum Mode + { + StandardMode, + FullPageMode, + }; + + QPageLayout(); + QPageLayout(const QPageSize &pageSize, QPageLayout::Orientation orientation, const QMarginsF &margins, QPageLayout::Unit units = QPageLayout::Point, const QMarginsF &minMargins = QMarginsF(0, 0, 0, 0)); + QPageLayout(const QPageLayout &other); + ~QPageLayout(); + void swap(QPageLayout &other /Constrained/); + bool isEquivalentTo(const QPageLayout &other) const; + bool isValid() const; + void setMode(QPageLayout::Mode mode); + QPageLayout::Mode mode() const; + void setPageSize(const QPageSize &pageSize, const QMarginsF &minMargins = QMarginsF(0, 0, 0, 0)); + QPageSize pageSize() const; + void setOrientation(QPageLayout::Orientation orientation); + QPageLayout::Orientation orientation() const; + void setUnits(QPageLayout::Unit units); + QPageLayout::Unit units() const; + bool setMargins(const QMarginsF &margins); + bool setLeftMargin(qreal leftMargin); + bool setRightMargin(qreal rightMargin); + bool setTopMargin(qreal topMargin); + bool setBottomMargin(qreal bottomMargin); + QMarginsF margins() const; + QMarginsF margins(QPageLayout::Unit units) const; + QMargins marginsPoints() const; + QMargins marginsPixels(int resolution) const; + void setMinimumMargins(const QMarginsF &minMargins); + QMarginsF minimumMargins() const; + QMarginsF maximumMargins() const; + QRectF fullRect() const; + QRectF fullRect(QPageLayout::Unit units) const; + QRect fullRectPoints() const; + QRect fullRectPixels(int resolution) const; + QRectF paintRect() const; + QRectF paintRect(QPageLayout::Unit units) const; + QRect paintRectPoints() const; + QRect paintRectPixels(int resolution) const; +}; + +%End +%If (Qt_5_3_0 -) +bool operator==(const QPageLayout &lhs, const QPageLayout &rhs); +%End +%If (Qt_5_3_0 -) +bool operator!=(const QPageLayout &lhs, const QPageLayout &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagesize.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagesize.sip new file mode 100644 index 00000000..9b6b401e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpagesize.sip @@ -0,0 +1,220 @@ +// qpagesize.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +class QPageSize +{ +%TypeHeaderCode +#include +%End + +public: + enum PageSizeId + { + A4, + B5, + Letter, + Legal, + Executive, + A0, + A1, + A2, + A3, + A5, + A6, + A7, + A8, + A9, + B0, + B1, + B10, + B2, + B3, + B4, + B6, + B7, + B8, + B9, + C5E, + Comm10E, + DLE, + Folio, + Ledger, + Tabloid, + Custom, + A10, + A3Extra, + A4Extra, + A4Plus, + A4Small, + A5Extra, + B5Extra, + JisB0, + JisB1, + JisB2, + JisB3, + JisB4, + JisB5, + JisB6, + JisB7, + JisB8, + JisB9, + JisB10, + AnsiC, + AnsiD, + AnsiE, + LegalExtra, + LetterExtra, + LetterPlus, + LetterSmall, + TabloidExtra, + ArchA, + ArchB, + ArchC, + ArchD, + ArchE, + Imperial7x9, + Imperial8x10, + Imperial9x11, + Imperial9x12, + Imperial10x11, + Imperial10x13, + Imperial10x14, + Imperial12x11, + Imperial15x11, + ExecutiveStandard, + Note, + Quarto, + Statement, + SuperA, + SuperB, + Postcard, + DoublePostcard, + Prc16K, + Prc32K, + Prc32KBig, + FanFoldUS, + FanFoldGerman, + FanFoldGermanLegal, + EnvelopeB4, + EnvelopeB5, + EnvelopeB6, + EnvelopeC0, + EnvelopeC1, + EnvelopeC2, + EnvelopeC3, + EnvelopeC4, + EnvelopeC6, + EnvelopeC65, + EnvelopeC7, + Envelope9, + Envelope11, + Envelope12, + Envelope14, + EnvelopeMonarch, + EnvelopePersonal, + EnvelopeChou3, + EnvelopeChou4, + EnvelopeInvite, + EnvelopeItalian, + EnvelopeKaku2, + EnvelopeKaku3, + EnvelopePrc1, + EnvelopePrc2, + EnvelopePrc3, + EnvelopePrc4, + EnvelopePrc5, + EnvelopePrc6, + EnvelopePrc7, + EnvelopePrc8, + EnvelopePrc9, + EnvelopePrc10, + EnvelopeYou4, + NPageSize, + NPaperSize, + AnsiA, + AnsiB, + EnvelopeC5, + EnvelopeDL, + Envelope10, + LastPageSize, + }; + + enum Unit + { + Millimeter, + Point, + Inch, + Pica, + Didot, + Cicero, + }; + + enum SizeMatchPolicy + { + FuzzyMatch, + FuzzyOrientationMatch, + ExactMatch, + }; + + QPageSize(); + explicit QPageSize(QPageSize::PageSizeId pageSizeId); + QPageSize(const QSize &pointSize, const QString &name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + QPageSize(const QSizeF &size, QPageSize::Unit units, const QString &name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + QPageSize(const QPageSize &other); + ~QPageSize(); + void swap(QPageSize &other /Constrained/); + bool isEquivalentTo(const QPageSize &other) const; + bool isValid() const; + QString key() const; + QString name() const; + QPageSize::PageSizeId id() const; + int windowsId() const; + QSizeF definitionSize() const; + QPageSize::Unit definitionUnits() const; + QSizeF size(QPageSize::Unit units) const; + QSize sizePoints() const; + QSize sizePixels(int resolution) const; + QRectF rect(QPageSize::Unit units) const; + QRect rectPoints() const; + QRect rectPixels(int resolution) const; + static QString key(QPageSize::PageSizeId pageSizeId); + static QString name(QPageSize::PageSizeId pageSizeId); + static QPageSize::PageSizeId id(const QSize &pointSize, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + static QPageSize::PageSizeId id(const QSizeF &size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + static QPageSize::PageSizeId id(int windowsId); + static int windowsId(QPageSize::PageSizeId pageSizeId); + static QSizeF definitionSize(QPageSize::PageSizeId pageSizeId); + static QPageSize::Unit definitionUnits(QPageSize::PageSizeId pageSizeId); + static QSizeF size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units); + static QSize sizePoints(QPageSize::PageSizeId pageSizeId); + static QSize sizePixels(QPageSize::PageSizeId pageSizeId, int resolution); +}; + +%End +%If (Qt_5_3_0 -) +bool operator==(const QPageSize &lhs, const QPageSize &rhs); +%End +%If (Qt_5_3_0 -) +bool operator!=(const QPageSize &lhs, const QPageSize &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintdevice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintdevice.sip new file mode 100644 index 00000000..aa9d3618 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintdevice.sip @@ -0,0 +1,81 @@ +// qpaintdevice.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + enum PaintDeviceMetric + { + PdmWidth, + PdmHeight, + PdmWidthMM, + PdmHeightMM, + PdmNumColors, + PdmDepth, + PdmDpiX, + PdmDpiY, + PdmPhysicalDpiX, + PdmPhysicalDpiY, +%If (Qt_5_1_0 -) + PdmDevicePixelRatio, +%End +%If (Qt_5_6_0 -) + PdmDevicePixelRatioScaled, +%End + }; + + virtual ~QPaintDevice(); + virtual QPaintEngine *paintEngine() const = 0; + int width() const; + int height() const; + int widthMM() const; + int heightMM() const; + int logicalDpiX() const; + int logicalDpiY() const; + int physicalDpiX() const; + int physicalDpiY() const; + int depth() const; + bool paintingActive() const; + int colorCount() const; +%If (Qt_5_1_0 -) + int devicePixelRatio() const; +%End + +protected: + QPaintDevice(); + virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; + +public: +%If (Qt_5_6_0 -) + qreal devicePixelRatioF() const; +%End +%If (Qt_5_6_0 -) + static qreal devicePixelRatioFScale(); +%End + +private: + QPaintDevice(const QPaintDevice &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintdevicewindow.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintdevicewindow.sip new file mode 100644 index 00000000..0ae039e8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintdevicewindow.sip @@ -0,0 +1,45 @@ +// qpaintdevicewindow.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QPaintDeviceWindow : QWindow, QPaintDevice /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + void update(const QRect &rect); + void update(const QRegion ®ion); + +public slots: + void update(); + +protected: + virtual void paintEvent(QPaintEvent *event); + virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; + virtual void exposeEvent(QExposeEvent *); + virtual bool event(QEvent *event); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintengine.sip new file mode 100644 index 00000000..1ae3945e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpaintengine.sip @@ -0,0 +1,196 @@ +// qpaintengine.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextItem +{ +%TypeHeaderCode +#include +%End + +public: + enum RenderFlag + { + RightToLeft, + Overline, + Underline, + StrikeOut, + }; + + typedef QFlags RenderFlags; + qreal descent() const; + qreal ascent() const; + qreal width() const; + QTextItem::RenderFlags renderFlags() const; + QString text() const; + QFont font() const; +}; + +QFlags operator|(QTextItem::RenderFlag f1, QFlags f2); + +class QPaintEngine +{ +%TypeHeaderCode +#include +%End + +public: + enum PaintEngineFeature + { + PrimitiveTransform, + PatternTransform, + PixmapTransform, + PatternBrush, + LinearGradientFill, + RadialGradientFill, + ConicalGradientFill, + AlphaBlend, + PorterDuff, + PainterPaths, + Antialiasing, + BrushStroke, + ConstantOpacity, + MaskedBrush, + PaintOutsidePaintEvent, + PerspectiveTransform, + BlendModes, + ObjectBoundingModeGradients, + RasterOpModes, + AllFeatures, + }; + + typedef QFlags PaintEngineFeatures; + + enum DirtyFlag + { + DirtyPen, + DirtyBrush, + DirtyBrushOrigin, + DirtyFont, + DirtyBackground, + DirtyBackgroundMode, + DirtyTransform, + DirtyClipRegion, + DirtyClipPath, + DirtyHints, + DirtyCompositionMode, + DirtyClipEnabled, + DirtyOpacity, + AllDirty, + }; + + typedef QFlags DirtyFlags; + + enum PolygonDrawMode + { + OddEvenMode, + WindingMode, + ConvexMode, + PolylineMode, + }; + + explicit QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()); + virtual ~QPaintEngine(); + bool isActive() const; + void setActive(bool newState); + virtual bool begin(QPaintDevice *pdev) = 0; + virtual bool end() = 0; + virtual void updateState(const QPaintEngineState &state /NoCopy/) = 0; + virtual void drawRects(const QRect *rects /Array/, int rectCount /ArraySize/); + virtual void drawRects(const QRectF *rects /Array/, int rectCount /ArraySize/); + virtual void drawLines(const QLine *lines /Array/, int lineCount /ArraySize/); + virtual void drawLines(const QLineF *lines /Array/, int lineCount /ArraySize/); + virtual void drawEllipse(const QRectF &r); + virtual void drawEllipse(const QRect &r); + virtual void drawPath(const QPainterPath &path); + virtual void drawPoints(const QPointF *points /Array/, int pointCount /ArraySize/); + virtual void drawPoints(const QPoint *points /Array/, int pointCount /ArraySize/); + virtual void drawPolygon(const QPointF *points /Array/, int pointCount /ArraySize/, QPaintEngine::PolygonDrawMode mode); + virtual void drawPolygon(const QPoint *points /Array/, int pointCount /ArraySize/, QPaintEngine::PolygonDrawMode mode); + virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr) = 0; + virtual void drawTextItem(const QPointF &p, const QTextItem &textItem /NoCopy/); + virtual void drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s); + virtual void drawImage(const QRectF &r, const QImage &pm, const QRectF &sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void setPaintDevice(QPaintDevice *device); + QPaintDevice *paintDevice() const; + + enum Type + { + X11, + Windows, + QuickDraw, + CoreGraphics, + MacPrinter, + QWindowSystem, + PostScript, + OpenGL, + Picture, + SVG, + Raster, + Direct3D, + Pdf, + OpenVG, + OpenGL2, + PaintBuffer, + Blitter, +%If (Qt_5_3_0 -) + Direct2D, +%End + User, + MaxUser, + }; + + virtual QPaintEngine::Type type() const = 0; + QPainter *painter() const; + bool hasFeature(QPaintEngine::PaintEngineFeatures feature) const; + +private: + QPaintEngine(const QPaintEngine &); +}; + +QFlags operator|(QPaintEngine::PaintEngineFeature f1, QFlags f2); + +class QPaintEngineState +{ +%TypeHeaderCode +#include +%End + +public: + QPaintEngine::DirtyFlags state() const; + QPen pen() const; + QBrush brush() const; + QPointF brushOrigin() const; + QBrush backgroundBrush() const; + Qt::BGMode backgroundMode() const; + QFont font() const; + qreal opacity() const; + Qt::ClipOperation clipOperation() const; + QRegion clipRegion() const; + QPainterPath clipPath() const; + bool isClipEnabled() const; + QPainter::RenderHints renderHints() const; + QPainter::CompositionMode compositionMode() const; + QPainter *painter() const; + QTransform transform() const; + bool brushNeedsResolving() const; + bool penNeedsResolving() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpainter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpainter.sip new file mode 100644 index 00000000..33722c31 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpainter.sip @@ -0,0 +1,568 @@ +// qpainter.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPainter +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// Return an array on the heap of class instances extracted from a set of +// Python arguments. +template +static TYPE *qtgui_inst_array(const TYPE *first, PyObject *t, sipTypeDef *td) +{ + TYPE *arr = new TYPE[1 + PyTuple_Size(t)]; + + arr[0] = *first; + + for (Py_ssize_t i = 0; i < PyTuple_Size(t); ++i) + { + int iserr = 0, state; + TYPE *itm; + + itm = reinterpret_cast(sipForceConvertToType(PyTuple_GetItem(t, i), td, 0, SIP_NOT_NONE, &state, &iserr)); + + if (iserr) + { + sipReleaseType(itm, td, state); + + PyErr_Format(PyExc_TypeError, "each argument must be an instance of %s", sipPyTypeName(sipTypeAsPyTypeObject(td))); + + delete[] arr; + return 0; + } + + arr[1 + i] = *itm; + + sipReleaseType(itm, td, state); + } + + return arr; +} +%End + +public: + enum RenderHint + { + Antialiasing, + TextAntialiasing, + SmoothPixmapTransform, + HighQualityAntialiasing, + NonCosmeticDefaultPen, + Qt4CompatiblePainting, +%If (Qt_5_13_0 -) + LosslessImageRendering, +%End + }; + + typedef QFlags RenderHints; + QPainter(); + explicit QPainter(QPaintDevice *); + ~QPainter(); + SIP_PYOBJECT __enter__(); +%MethodCode + // Check a device was passed. + if (sipCpp->isActive()) + { + // Just return a reference to self. + sipRes = sipSelf; + Py_INCREF(sipRes); + } + else + { + PyErr_SetString(PyExc_ValueError, "QPainter must be created with a device"); + sipRes = 0; + } +%End + + void __exit__(SIP_PYOBJECT type, SIP_PYOBJECT value, SIP_PYOBJECT traceback); +%MethodCode + sipCpp->end(); +%End + + QPaintDevice *device() const; + bool begin(QPaintDevice *); + bool end(); + bool isActive() const; + + enum CompositionMode + { + CompositionMode_SourceOver, + CompositionMode_DestinationOver, + CompositionMode_Clear, + CompositionMode_Source, + CompositionMode_Destination, + CompositionMode_SourceIn, + CompositionMode_DestinationIn, + CompositionMode_SourceOut, + CompositionMode_DestinationOut, + CompositionMode_SourceAtop, + CompositionMode_DestinationAtop, + CompositionMode_Xor, + CompositionMode_Plus, + CompositionMode_Multiply, + CompositionMode_Screen, + CompositionMode_Overlay, + CompositionMode_Darken, + CompositionMode_Lighten, + CompositionMode_ColorDodge, + CompositionMode_ColorBurn, + CompositionMode_HardLight, + CompositionMode_SoftLight, + CompositionMode_Difference, + CompositionMode_Exclusion, + RasterOp_SourceOrDestination, + RasterOp_SourceAndDestination, + RasterOp_SourceXorDestination, + RasterOp_NotSourceAndNotDestination, + RasterOp_NotSourceOrNotDestination, + RasterOp_NotSourceXorDestination, + RasterOp_NotSource, + RasterOp_NotSourceAndDestination, + RasterOp_SourceAndNotDestination, + RasterOp_NotSourceOrDestination, + RasterOp_SourceOrNotDestination, + RasterOp_ClearDestination, + RasterOp_SetDestination, + RasterOp_NotDestination, + }; + + void setCompositionMode(QPainter::CompositionMode mode); + QPainter::CompositionMode compositionMode() const; + const QFont &font() const; + void setFont(const QFont &f); + QFontMetrics fontMetrics() const; + QFontInfo fontInfo() const; + void setPen(const QColor &color); + void setPen(const QPen &pen); + void setPen(Qt::PenStyle style); + const QPen &pen() const; + void setBrush(const QBrush &brush); + void setBrush(Qt::BrushStyle style); + const QBrush &brush() const; + void setBackgroundMode(Qt::BGMode mode); + Qt::BGMode backgroundMode() const; + QPoint brushOrigin() const; + void setBrushOrigin(const QPointF &); + void setBackground(const QBrush &bg); + const QBrush &background() const; + QRegion clipRegion() const; + QPainterPath clipPath() const; + void setClipRect(const QRectF &rectangle, Qt::ClipOperation operation = Qt::ReplaceClip); + void setClipRegion(const QRegion ®ion, Qt::ClipOperation operation = Qt::ReplaceClip); + void setClipPath(const QPainterPath &path, Qt::ClipOperation operation = Qt::ReplaceClip); + void setClipping(bool enable); + bool hasClipping() const; + void save(); + void restore(); + void scale(qreal sx, qreal sy); + void shear(qreal sh, qreal sv); + void rotate(qreal a); + void translate(const QPointF &offset); + QRect window() const; + void setWindow(const QRect &window); + QRect viewport() const; + void setViewport(const QRect &viewport); + void setViewTransformEnabled(bool enable); + bool viewTransformEnabled() const; + void strokePath(const QPainterPath &path, const QPen &pen); + void fillPath(const QPainterPath &path, const QBrush &brush); + void drawPath(const QPainterPath &path); + void drawPoints(const QPointF *point, ...); +%MethodCode + QPointF *points = qtgui_inst_array(a0, a1, sipType_QPointF); + + if (points) + { + sipCpp->drawPoints(points, 1 + PyTuple_Size(a1)); + delete[] points; + } + else + sipIsErr = 1; +%End + + void drawPoints(const QPolygonF &points); + void drawPoints(const QPoint *point, ...); +%MethodCode + QPoint *points = qtgui_inst_array(a0, a1, sipType_QPoint); + + if (points) + { + sipCpp->drawPoints(points, 1 + PyTuple_Size(a1)); + delete[] points; + } + else + sipIsErr = 1; +%End + + void drawPoints(const QPolygon &points); + void drawLines(const QLineF *line, ...); +%MethodCode + QLineF *lines = qtgui_inst_array(a0, a1, sipType_QLineF); + + if (lines) + { + sipCpp->drawLines(lines, 1 + PyTuple_Size(a1)); + delete[] lines; + } + else + sipIsErr = 1; +%End + + void drawLines(const QVector &lines); + void drawLines(const QPointF *pointPair, ...); +%MethodCode + QPointF *pairs = qtgui_inst_array(a0, a1, sipType_QPointF); + + if (pairs) + { + sipCpp->drawLines(pairs, (1 + PyTuple_Size(a1)) / 2); + delete[] pairs; + } + else + sipIsErr = 1; +%End + + void drawLines(const QVector &pointPairs); + void drawLines(const QLine *line, ...); +%MethodCode + QLine *lines = qtgui_inst_array(a0, a1, sipType_QLine); + + if (lines) + { + sipCpp->drawLines(lines, 1 + PyTuple_Size(a1)); + delete[] lines; + } + else + sipIsErr = 1; +%End + + void drawLines(const QVector &lines); + void drawLines(const QPoint *pointPair, ...); +%MethodCode + QPoint *pairs = qtgui_inst_array(a0, a1, sipType_QPoint); + + if (pairs) + { + sipCpp->drawLines(pairs, (1 + PyTuple_Size(a1)) / 2); + delete[] pairs; + } + else + sipIsErr = 1; +%End + + void drawLines(const QVector &pointPairs); + void drawRects(const QRectF *rect, ...); +%MethodCode + QRectF *rects = qtgui_inst_array(a0, a1, sipType_QRectF); + + if (rects) + { + sipCpp->drawRects(rects, 1 + PyTuple_Size(a1)); + delete[] rects; + } + else + sipIsErr = 1; +%End + + void drawRects(const QVector &rects); + void drawRects(const QRect *rect, ...); +%MethodCode + QRect *rects = qtgui_inst_array(a0, a1, sipType_QRect); + + if (rects) + { + sipCpp->drawRects(rects, 1 + PyTuple_Size(a1)); + delete[] rects; + } + else + sipIsErr = 1; +%End + + void drawRects(const QVector &rects); + void drawEllipse(const QRectF &r); + void drawEllipse(const QRect &r); + void drawPolyline(const QPointF *point, ...); +%MethodCode + QPointF *points = qtgui_inst_array(a0, a1, sipType_QPointF); + + if (points) + { + sipCpp->drawPolyline(points, 1 + PyTuple_Size(a1)); + delete[] points; + } + else + sipIsErr = 1; +%End + + void drawPolyline(const QPolygonF &polyline); + void drawPolyline(const QPoint *point, ...); +%MethodCode + QPoint *points = qtgui_inst_array(a0, a1, sipType_QPoint); + + if (points) + { + sipCpp->drawPolyline(points, 1 + PyTuple_Size(a1)); + delete[] points; + } + else + sipIsErr = 1; +%End + + void drawPolyline(const QPolygon &polyline); + void drawPolygon(const QPointF *point, ...); +%MethodCode + QPointF *points = qtgui_inst_array(a0, a1, sipType_QPointF); + + if (points) + { + sipCpp->drawPolygon(points, 1 + PyTuple_Size(a1)); + delete[] points; + } + else + sipIsErr = 1; +%End + + void drawPolygon(const QPolygonF &points, Qt::FillRule fillRule = Qt::OddEvenFill); + void drawPolygon(const QPoint *point, ...); +%MethodCode + QPoint *points = qtgui_inst_array(a0, a1, sipType_QPoint); + + if (points) + { + sipCpp->drawPolygon(points, 1 + PyTuple_Size(a1)); + delete[] points; + } + else + sipIsErr = 1; +%End + + void drawPolygon(const QPolygon &points, Qt::FillRule fillRule = Qt::OddEvenFill); + void drawConvexPolygon(const QPointF *point, ...); +%MethodCode + QPointF *points = qtgui_inst_array(a0, a1, sipType_QPointF); + + if (points) + { + sipCpp->drawConvexPolygon(points, 1 + PyTuple_Size(a1)); + delete[] points; + } + else + sipIsErr = 1; +%End + + void drawConvexPolygon(const QPolygonF &poly); + void drawConvexPolygon(const QPoint *point, ...); +%MethodCode + QPoint *points = qtgui_inst_array(a0, a1, sipType_QPoint); + + if (points) + { + sipCpp->drawConvexPolygon(points, 1 + PyTuple_Size(a1)); + delete[] points; + } + else + sipIsErr = 1; +%End + + void drawConvexPolygon(const QPolygon &poly); + void drawArc(const QRectF &rect, int a, int alen); + void drawPie(const QRectF &rect, int a, int alen); + void drawChord(const QRectF &rect, int a, int alen); + void drawTiledPixmap(const QRectF &rectangle, const QPixmap &pixmap, const QPointF &pos = QPointF()); + void drawPicture(const QPointF &p, const QPicture &picture); + void drawPixmap(const QRectF &targetRect, const QPixmap &pixmap, const QRectF &sourceRect); + void setLayoutDirection(Qt::LayoutDirection direction); + Qt::LayoutDirection layoutDirection() const; + void drawText(const QPointF &p, const QString &s); + void drawText(const QRectF &rectangle, int flags, const QString &text, QRectF *boundingRect /Out/ = 0); + void drawText(const QRect &rectangle, int flags, const QString &text, QRect *boundingRect /Out/ = 0); + void drawText(const QRectF &rectangle, const QString &text, const QTextOption &option = QTextOption()); + QRectF boundingRect(const QRectF &rect, int flags, const QString &text); + QRect boundingRect(const QRect &rect, int flags, const QString &text); + QRectF boundingRect(const QRectF &rectangle, const QString &text, const QTextOption &option = QTextOption()); + void fillRect(const QRectF &, const QBrush &); + void fillRect(const QRect &, const QBrush &); + void eraseRect(const QRectF &); + void setRenderHint(QPainter::RenderHint hint, bool on = true); + QPainter::RenderHints renderHints() const; + void setRenderHints(QPainter::RenderHints hints, bool on = true); + QPaintEngine *paintEngine() const; + void drawLine(const QLineF &l); + void drawLine(const QLine &line); + void drawLine(int x1, int y1, int x2, int y2); + void drawLine(const QPoint &p1, const QPoint &p2); + void drawLine(const QPointF &p1, const QPointF &p2); + void drawRect(const QRectF &rect); + void drawRect(int x, int y, int w, int h); + void drawRect(const QRect &r); + void drawPoint(const QPointF &p); + void drawPoint(int x, int y); + void drawPoint(const QPoint &p); + void drawEllipse(int x, int y, int w, int h); + void drawArc(const QRect &r, int a, int alen); + void drawArc(int x, int y, int w, int h, int a, int alen); + void drawPie(const QRect &rect, int a, int alen); + void drawPie(int x, int y, int w, int h, int a, int alen); + void drawChord(const QRect &rect, int a, int alen); + void drawChord(int x, int y, int w, int h, int a, int alen); + void setClipRect(int x, int y, int width, int height, Qt::ClipOperation operation = Qt::ReplaceClip); + void setClipRect(const QRect &rectangle, Qt::ClipOperation operation = Qt::ReplaceClip); + void eraseRect(const QRect &rect); + void eraseRect(int x, int y, int w, int h); + void fillRect(int x, int y, int w, int h, const QBrush &b); + void setBrushOrigin(int x, int y); + void setBrushOrigin(const QPoint &p); + void drawTiledPixmap(const QRect &rectangle, const QPixmap &pixmap, const QPoint &pos = QPoint()); + void drawTiledPixmap(int x, int y, int width, int height, const QPixmap &pixmap, int sx = 0, int sy = 0); + void drawPixmap(const QRect &targetRect, const QPixmap &pixmap, const QRect &sourceRect); + void drawPixmap(const QPointF &p, const QPixmap &pm); + void drawPixmap(const QPoint &p, const QPixmap &pm); + void drawPixmap(const QRect &r, const QPixmap &pm); + void drawPixmap(int x, int y, const QPixmap &pm); + void drawPixmap(int x, int y, int w, int h, const QPixmap &pm); + void drawPixmap(int x, int y, int w, int h, const QPixmap &pm, int sx, int sy, int sw, int sh); + void drawPixmap(int x, int y, const QPixmap &pm, int sx, int sy, int sw, int sh); + void drawPixmap(const QPointF &p, const QPixmap &pm, const QRectF &sr); + void drawPixmap(const QPoint &p, const QPixmap &pm, const QRect &sr); + void drawImage(const QRectF &r, const QImage &image); + void drawImage(const QRect &r, const QImage &image); + void drawImage(const QPointF &p, const QImage &image); + void drawImage(const QPoint &p, const QImage &image); + void drawImage(int x, int y, const QImage &image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor); + void drawText(const QPoint &p, const QString &s); + void drawText(int x, int y, int width, int height, int flags, const QString &text, QRect *boundingRect /Out/ = 0); + void drawText(int x, int y, const QString &s); + QRect boundingRect(int x, int y, int w, int h, int flags, const QString &text); + qreal opacity() const; + void setOpacity(qreal opacity); + void translate(qreal dx, qreal dy); + void translate(const QPoint &offset); + void setViewport(int x, int y, int w, int h); + void setWindow(int x, int y, int w, int h); + bool worldMatrixEnabled() const; + void setWorldMatrixEnabled(bool enabled); + void drawPicture(int x, int y, const QPicture &p); + void drawPicture(const QPoint &pt, const QPicture &p); + void setTransform(const QTransform &transform, bool combine = false); + const QTransform &transform() const; + const QTransform &deviceTransform() const; + void resetTransform(); + void setWorldTransform(const QTransform &matrix, bool combine = false); + const QTransform &worldTransform() const; + QTransform combinedTransform() const; + bool testRenderHint(QPainter::RenderHint hint) const; + void drawRoundedRect(const QRectF &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawRoundedRect(int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawRoundedRect(const QRect &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawEllipse(const QPointF ¢er, qreal rx, qreal ry); + void drawEllipse(const QPoint ¢er, int rx, int ry); + void fillRect(const QRectF &, const QColor &color); + void fillRect(const QRect &, const QColor &color); + void fillRect(int x, int y, int w, int h, const QColor &b); + void fillRect(int x, int y, int w, int h, Qt::GlobalColor c); + void fillRect(const QRect &r, Qt::GlobalColor c); + void fillRect(const QRectF &r, Qt::GlobalColor c); + void fillRect(int x, int y, int w, int h, Qt::BrushStyle style); + void fillRect(const QRect &r, Qt::BrushStyle style); + void fillRect(const QRectF &r, Qt::BrushStyle style); + void beginNativePainting(); + void endNativePainting(); + + class PixmapFragment + { +%TypeHeaderCode +#include +%End + + public: + qreal x; + qreal y; + qreal sourceLeft; + qreal sourceTop; + qreal width; + qreal height; + qreal scaleX; + qreal scaleY; + qreal rotation; + qreal opacity; + static QPainter::PixmapFragment create(const QPointF &pos, const QRectF &sourceRect, qreal scaleX = 1, qreal scaleY = 1, qreal rotation = 0, qreal opacity = 1) /Factory/; + }; + + enum PixmapFragmentHint + { + OpaqueHint, + }; + + typedef QFlags PixmapFragmentHints; + void drawPixmapFragments(SIP_PYLIST fragments /TypeHint="List[QPainter.PixmapFragment]"/, const QPixmap &pixmap, QFlags hints = 0); +%MethodCode + // Allocate temporary storage for the C++ conversions. + Py_ssize_t numFragments = PyList_Size(a0); + QPainter::PixmapFragment *fragments = new QPainter::PixmapFragment[numFragments]; + + // Convert the fragments. + for (Py_ssize_t i = 0; i < numFragments; ++i) + { + void *cpp = sipForceConvertToType(PyList_GetItem(a0, i), sipType_QPainter_PixmapFragment, NULL, SIP_NO_CONVERTORS, NULL, &sipIsErr); + + fragments[i] = *reinterpret_cast(cpp); + } + + if (!sipIsErr) + { + Py_BEGIN_ALLOW_THREADS + sipCpp->drawPixmapFragments(fragments, numFragments, *a1, *a2); + Py_END_ALLOW_THREADS + } + + delete[] fragments; +%End + + void drawStaticText(const QPointF &topLeftPosition, const QStaticText &staticText); + void drawStaticText(const QPoint &p, const QStaticText &staticText); + void drawStaticText(int x, int y, const QStaticText &staticText); + QRectF clipBoundingRect() const; +%If (PyQt_RawFont) + void drawGlyphRun(const QPointF &position, const QGlyphRun &glyphRun); +%End +%If (Qt_5_12_0 -) + void fillRect(int x, int y, int w, int h, QGradient::Preset preset); +%End +%If (Qt_5_12_0 -) + void fillRect(const QRect &r, QGradient::Preset preset); +%End +%If (Qt_5_12_0 -) + void fillRect(const QRectF &r, QGradient::Preset preset); +%End + void drawImage(const QRectF &targetRect, const QImage &image, const QRectF &sourceRect, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor); + void drawImage(const QRect &targetRect, const QImage &image, const QRect &sourceRect, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor); + void drawImage(const QPointF &p, const QImage &image, const QRectF &sr, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor); + void drawImage(const QPoint &p, const QImage &image, const QRect &sr, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor); + +private: + QPainter(const QPainter &); +}; + +QFlags operator|(QPainter::RenderHint f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpainterpath.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpainterpath.sip new file mode 100644 index 00000000..b9a0c574 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpainterpath.sip @@ -0,0 +1,188 @@ +// qpainterpath.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPainterPath +{ +%TypeHeaderCode +#include +%End + +public: + enum ElementType + { + MoveToElement, + LineToElement, + CurveToElement, + CurveToDataElement, + }; + + class Element + { +%TypeHeaderCode +#include +%End + + public: + qreal x; + qreal y; + QPainterPath::ElementType type; + bool isMoveTo() const; + bool isLineTo() const; + bool isCurveTo() const; + bool operator==(const QPainterPath::Element &e) const; + bool operator!=(const QPainterPath::Element &e) const; + operator QPointF() const; + }; + + QPainterPath(); + explicit QPainterPath(const QPointF &startPoint); + QPainterPath(const QPainterPath &other); + ~QPainterPath(); + void closeSubpath(); + void moveTo(const QPointF &p); + void lineTo(const QPointF &p); + void arcTo(const QRectF &rect, qreal startAngle, qreal arcLength); + void cubicTo(const QPointF &ctrlPt1, const QPointF &ctrlPt2, const QPointF &endPt); + void quadTo(const QPointF &ctrlPt, const QPointF &endPt); + QPointF currentPosition() const; + void addRect(const QRectF &rect); + void addEllipse(const QRectF &rect); + void addPolygon(const QPolygonF &polygon); + void addText(const QPointF &point, const QFont &f, const QString &text); + void addPath(const QPainterPath &path); + void addRegion(const QRegion ®ion); + void connectPath(const QPainterPath &path); + bool contains(const QPointF &pt) const; + bool contains(const QRectF &rect) const; + bool intersects(const QRectF &rect) const; + QRectF boundingRect() const; + QRectF controlPointRect() const; + Qt::FillRule fillRule() const; + void setFillRule(Qt::FillRule fillRule); + QPainterPath toReversed() const; + QList toSubpathPolygons() const; +%MethodCode + sipRes = new QList(sipCpp->toSubpathPolygons()); +%End + + QList toFillPolygons() const; +%MethodCode + sipRes = new QList(sipCpp->toFillPolygons()); +%End + + QPolygonF toFillPolygon() const; +%MethodCode + sipRes = new QPolygonF(sipCpp->toFillPolygon()); +%End + + bool operator==(const QPainterPath &other) const; + bool operator!=(const QPainterPath &other) const; + void moveTo(qreal x, qreal y); + void arcMoveTo(const QRectF &rect, qreal angle); + void arcMoveTo(qreal x, qreal y, qreal w, qreal h, qreal angle); + void arcTo(qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLenght); + void lineTo(qreal x, qreal y); + void cubicTo(qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); + void quadTo(qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); + void addEllipse(qreal x, qreal y, qreal w, qreal h); + void addRect(qreal x, qreal y, qreal w, qreal h); + void addText(qreal x, qreal y, const QFont &f, const QString &text); + bool isEmpty() const; + int elementCount() const; + QPainterPath::Element elementAt(int i) const; + void setElementPositionAt(int i, qreal x, qreal y); + QList toSubpathPolygons(const QTransform &matrix) const; + QList toFillPolygons(const QTransform &matrix) const; + QPolygonF toFillPolygon(const QTransform &matrix) const; + qreal length() const; + qreal percentAtLength(qreal t) const; + QPointF pointAtPercent(qreal t) const; + qreal angleAtPercent(qreal t) const; + qreal slopeAtPercent(qreal t) const; + bool intersects(const QPainterPath &p) const; + bool contains(const QPainterPath &p) const; + QPainterPath united(const QPainterPath &r) const; + QPainterPath intersected(const QPainterPath &r) const; + QPainterPath subtracted(const QPainterPath &r) const; + void addRoundedRect(const QRectF &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void addRoundedRect(qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void addEllipse(const QPointF ¢er, qreal rx, qreal ry); + QPainterPath simplified() const; + QPainterPath operator&(const QPainterPath &other) const; + QPainterPath operator|(const QPainterPath &other) const; + QPainterPath operator+(const QPainterPath &other) const; + QPainterPath operator-(const QPainterPath &other) const; + QPainterPath &operator&=(const QPainterPath &other); + QPainterPath &operator|=(const QPainterPath &other); + QPainterPath &operator+=(const QPainterPath &other); + QPainterPath &operator-=(const QPainterPath &other); + void translate(qreal dx, qreal dy); + QPainterPath translated(qreal dx, qreal dy) const; + void translate(const QPointF &offset); + QPainterPath translated(const QPointF &offset) const; + void swap(QPainterPath &other /Constrained/); +%If (Qt_5_13_0 -) + void clear(); +%End +%If (Qt_5_13_0 -) + void reserve(int size); +%End +%If (Qt_5_13_0 -) + int capacity() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QPainterPath & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QPainterPath & /Constrained/) /ReleaseGIL/; + +class QPainterPathStroker +{ +%TypeHeaderCode +#include +%End + +public: + QPainterPathStroker(); +%If (Qt_5_3_0 -) + explicit QPainterPathStroker(const QPen &pen); +%End + ~QPainterPathStroker(); + void setWidth(qreal width); + qreal width() const; + void setCapStyle(Qt::PenCapStyle style); + Qt::PenCapStyle capStyle() const; + void setJoinStyle(Qt::PenJoinStyle style); + Qt::PenJoinStyle joinStyle() const; + void setMiterLimit(qreal length); + qreal miterLimit() const; + void setCurveThreshold(qreal threshold); + qreal curveThreshold() const; + void setDashPattern(Qt::PenStyle); + void setDashPattern(const QVector &dashPattern); + QVector dashPattern() const; + QPainterPath createStroke(const QPainterPath &path) const; + void setDashOffset(qreal offset); + qreal dashOffset() const; + +private: + QPainterPathStroker(const QPainterPathStroker &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpalette.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpalette.sip new file mode 100644 index 00000000..911637fa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpalette.sip @@ -0,0 +1,133 @@ +// qpalette.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPalette +{ +%TypeHeaderCode +#include +%End + +public: + QPalette(); + QPalette(const QColor &button); + QPalette(Qt::GlobalColor button); + QPalette(const QColor &button, const QColor &background); + QPalette(const QBrush &foreground, const QBrush &button, const QBrush &light, const QBrush &dark, const QBrush &mid, const QBrush &text, const QBrush &bright_text, const QBrush &base, const QBrush &background); + QPalette(const QPalette &palette); + QPalette(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QPalette(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QPalette(); + + enum ColorGroup + { + Active, + Disabled, + Inactive, + NColorGroups, + Current, + All, + Normal, + }; + + enum ColorRole + { + WindowText, + Foreground, + Button, + Light, + Midlight, + Dark, + Mid, + Text, + BrightText, + ButtonText, + Base, + Window, + Background, + Shadow, + Highlight, + HighlightedText, + Link, + LinkVisited, + AlternateBase, + ToolTipBase, + ToolTipText, +%If (Qt_5_12_0 -) + PlaceholderText, +%End + NoRole, + NColorRoles, + }; + + QPalette::ColorGroup currentColorGroup() const; + void setCurrentColorGroup(QPalette::ColorGroup cg); + const QColor &color(QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + const QBrush &brush(QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + void setBrush(QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrush &brush); + void setColorGroup(QPalette::ColorGroup cr, const QBrush &foreground, const QBrush &button, const QBrush &light, const QBrush &dark, const QBrush &mid, const QBrush &text, const QBrush &bright_text, const QBrush &base, const QBrush &background); + bool isEqual(QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) const; + const QColor &color(QPalette::ColorRole cr) const; + const QBrush &brush(QPalette::ColorRole cr) const; + const QBrush &windowText() const; + const QBrush &button() const; + const QBrush &light() const; + const QBrush &dark() const; + const QBrush &mid() const; + const QBrush &text() const; + const QBrush &base() const; + const QBrush &alternateBase() const; + const QBrush &window() const; + const QBrush &midlight() const; + const QBrush &brightText() const; + const QBrush &buttonText() const; + const QBrush &shadow() const; + const QBrush &highlight() const; + const QBrush &highlightedText() const; + const QBrush &link() const; + const QBrush &linkVisited() const; + const QBrush &toolTipBase() const; + const QBrush &toolTipText() const; +%If (Qt_5_12_0 -) + const QBrush &placeholderText() const; +%End + bool operator==(const QPalette &p) const; + bool operator!=(const QPalette &p) const; + bool isCopyOf(const QPalette &p) const; + QPalette resolve(const QPalette &) const; + uint resolve() const; + void resolve(uint mask); + void setColor(QPalette::ColorGroup acg, QPalette::ColorRole acr, const QColor &acolor); + void setColor(QPalette::ColorRole acr, const QColor &acolor); + void setBrush(QPalette::ColorRole acr, const QBrush &abrush); + bool isBrushSet(QPalette::ColorGroup cg, QPalette::ColorRole cr) const; + qint64 cacheKey() const; + void swap(QPalette &other /Constrained/); +}; + +QDataStream &operator<<(QDataStream &s, const QPalette &p /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &ds, QPalette &p /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpdfwriter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpdfwriter.sip new file mode 100644 index 00000000..bb76554d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpdfwriter.sip @@ -0,0 +1,72 @@ +// qpdfwriter.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPdfWriter : QObject, QPagedPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPdfWriter(const QString &filename); + explicit QPdfWriter(QIODevice *device); + virtual ~QPdfWriter(); + QString title() const; + void setTitle(const QString &title); + QString creator() const; + void setCreator(const QString &creator); + virtual bool newPage(); + virtual void setPageSize(QPagedPaintDevice::PageSize size); + bool setPageSize(const QPageSize &pageSize); + virtual void setPageSizeMM(const QSizeF &size); + virtual void setMargins(const QPagedPaintDevice::Margins &m); + +protected: + virtual QPaintEngine *paintEngine() const; + virtual int metric(QPaintDevice::PaintDeviceMetric id) const; + +public: +%If (Qt_5_3_0 -) + void setResolution(int resolution); +%End +%If (Qt_5_3_0 -) + int resolution() const; +%End +%If (Qt_5_10_0 -) + void setPdfVersion(QPagedPaintDevice::PdfVersion version); +%End +%If (Qt_5_10_0 -) + QPagedPaintDevice::PdfVersion pdfVersion() const; +%End +%If (Qt_5_15_0 -) + void setDocumentXmpMetadata(const QByteArray &xmpMetadata); +%End +%If (Qt_5_15_0 -) + QByteArray documentXmpMetadata() const; +%End +%If (Qt_5_15_0 -) + void addFileAttachment(const QString &fileName, const QByteArray &data, const QString &mimeType = QString()); +%End + +private: + QPdfWriter(const QPdfWriter &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpen.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpen.sip new file mode 100644 index 00000000..08230840 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpen.sip @@ -0,0 +1,103 @@ +// qpen.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPen /TypeHintIn="Union[QPen, QColor]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +// SIP doesn't support automatic type convertors so we explicitly allow a +// QColor to be used whenever a QPen is expected. + +if (sipIsErr == NULL) + return (sipCanConvertToType(sipPy, sipType_QPen, SIP_NO_CONVERTORS) || + sipCanConvertToType(sipPy, sipType_QColor, 0)); + +if (sipCanConvertToType(sipPy, sipType_QPen, SIP_NO_CONVERTORS)) +{ + *sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QPen, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + + return 0; +} + +int state; +QColor *c = reinterpret_cast(sipConvertToType(sipPy, sipType_QColor, 0, 0, &state, sipIsErr)); + +if (*sipIsErr) +{ + sipReleaseType(c, sipType_QColor, state); + return 0; +} + +*sipCppPtr = new QPen(*c); + +sipReleaseType(c, sipType_QColor, state); + +return sipGetState(sipTransferObj); +%End + +public: + QPen(); + QPen(Qt::PenStyle); + QPen(const QBrush &brush, qreal width, Qt::PenStyle style = Qt::SolidLine, Qt::PenCapStyle cap = Qt::SquareCap, Qt::PenJoinStyle join = Qt::BevelJoin); + QPen(const QPen &pen); + QPen(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QPen(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QPen(); + Qt::PenStyle style() const; + void setStyle(Qt::PenStyle); + qreal widthF() const; + void setWidthF(qreal width); + int width() const; + void setWidth(int width); + QColor color() const; + void setColor(const QColor &color); + QBrush brush() const; + void setBrush(const QBrush &brush); + bool isSolid() const; + Qt::PenCapStyle capStyle() const; + void setCapStyle(Qt::PenCapStyle pcs); + Qt::PenJoinStyle joinStyle() const; + void setJoinStyle(Qt::PenJoinStyle pcs); + QVector dashPattern() const; + void setDashPattern(const QVector &pattern); + qreal miterLimit() const; + void setMiterLimit(qreal limit); + bool operator==(const QPen &p) const; + bool operator!=(const QPen &p) const; + qreal dashOffset() const; + void setDashOffset(qreal doffset); + bool isCosmetic() const; + void setCosmetic(bool cosmetic); + void swap(QPen &other /Constrained/); +}; + +QDataStream &operator<<(QDataStream &, const QPen & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QPen & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpicture.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpicture.sip new file mode 100644 index 00000000..6e932661 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpicture.sip @@ -0,0 +1,187 @@ +// qpicture.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPicture : QPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPicture(int formatVersion = -1); + QPicture(const QPicture &); + virtual ~QPicture(); + bool isNull() const; + virtual int devType() const; + uint size() const; + const char *data() const /Encoding="None"/; + virtual void setData(const char *data /Array/, uint size /ArraySize/); + bool play(QPainter *p); + bool load(QIODevice *dev, const char *format = 0) /ReleaseGIL/; + bool load(const QString &fileName, const char *format = 0) /ReleaseGIL/; + bool save(QIODevice *dev, const char *format = 0) /ReleaseGIL/; + bool save(const QString &fileName, const char *format = 0) /ReleaseGIL/; + QRect boundingRect() const; + void setBoundingRect(const QRect &r); + void detach(); + bool isDetached() const; + virtual QPaintEngine *paintEngine() const; + +protected: + virtual int metric(QPaintDevice::PaintDeviceMetric m) const; + +public: + void swap(QPicture &other /Constrained/); +}; + +class QPictureIO +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// This defines the mapping between picture formats and the corresponding +// Python i/o handler callables. +struct qtgui_pio { + const char *format; // The format. + PyObject *read; // The read handler. + PyObject *write; // The write handler. + qtgui_pio *next; // The next in the list. +}; + + +// The head of the list. +static qtgui_pio *qtgui_pio_head = 0; + + +// Find the entry for the given picture. +static const qtgui_pio *qtgui_pio_find(QPictureIO *pio) +{ + for (const qtgui_pio *p = qtgui_pio_head; p; p = p->next) + if (qstrcmp(pio->format(), p->format) == 0) + return p; + + return 0; +} + + +// This is the C++ read handler. +static void qtgui_pio_read(QPictureIO *pio) +{ + const qtgui_pio *p = qtgui_pio_find(pio); + + if (p && p->read) + { + Py_XDECREF(sipCallMethod(0, p->read, "D", pio, sipType_QPictureIO, NULL)); + } +} + + +// This is the C++ write handler. +static void qtgui_pio_write(QPictureIO *pio) +{ + const qtgui_pio *p = qtgui_pio_find(pio); + + if (p && p->write) + { + Py_XDECREF(sipCallMethod(0, p->write, "D", pio, sipType_QPictureIO, NULL)); + } +} +%End + +public: + QPictureIO(); + QPictureIO(QIODevice *ioDevice, const char *format); + QPictureIO(const QString &fileName, const char *format); + ~QPictureIO(); + const QPicture &picture() const; + int status() const; + const char *format() const; + QIODevice *ioDevice() const; + QString fileName() const; + int quality() const; + QString description() const; + const char *parameters() const; + float gamma() const; + void setPicture(const QPicture &); + void setStatus(int); + void setFormat(const char *); + void setIODevice(QIODevice *); + void setFileName(const QString &); + void setQuality(int); + void setDescription(const QString &); + void setParameters(const char *); + void setGamma(float); + bool read() /ReleaseGIL/; + bool write() /ReleaseGIL/; + static QByteArray pictureFormat(const QString &fileName); + static QByteArray pictureFormat(QIODevice *); + static QList inputFormats(); + static QList outputFormats(); + static void defineIOHandler(const char *format, const char *header, const char *flags, SIP_PYCALLABLE read_picture /AllowNone,TypeHint="Optional[Callable[[QPictureIO], None]]"/, SIP_PYCALLABLE write_picture /AllowNone,TypeHint="Optional[Callable[[QPictureIO], None]]"/); +%MethodCode + // Convert None to NULL. + if (a3 == Py_None) + a3 = 0; + + if (a4 == Py_None) + a4 = 0; + + // See if we already know about the format. + qtgui_pio *p; + + for (p = qtgui_pio_head; p; p = p->next) + if (qstrcmp(a0, p->format) == 0) + break; + + if (!p) + { + // Handle the new format. + p = new qtgui_pio; + p->format = qstrdup(a0); + p->read = 0; + p->write = 0; + p->next = qtgui_pio_head; + + qtgui_pio_head = p; + } + + // Replace the old callables with the new ones. + Py_XDECREF(p->read); + p->read = a3; + Py_XINCREF(p->read); + + Py_XDECREF(p->write); + p->write = a4; + Py_XINCREF(p->write); + + // Install the generic handlers. + QPictureIO::defineIOHandler(a0, a1, a2, qtgui_pio_read, qtgui_pio_write); +%End + +private: + QPictureIO(const QPictureIO &); +}; + +QDataStream &operator<<(QDataStream &in, const QPicture &p /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &in, QPicture &p /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixelformat.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixelformat.sip new file mode 100644 index 00000000..2b5336e0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixelformat.sip @@ -0,0 +1,159 @@ +// qpixelformat.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) +%ModuleCode +#include +%End +%End + +%If (Qt_5_4_0 -) + +class QPixelFormat +{ +%TypeHeaderCode +#include +%End + +public: + enum ColorModel + { + RGB, + BGR, + Indexed, + Grayscale, + CMYK, + HSL, + HSV, + YUV, +%If (Qt_5_5_0 -) + Alpha, +%End + }; + + enum AlphaUsage + { + UsesAlpha, + IgnoresAlpha, + }; + + enum AlphaPosition + { + AtBeginning, + AtEnd, + }; + + enum AlphaPremultiplied + { + NotPremultiplied, + Premultiplied, + }; + + enum TypeInterpretation + { + UnsignedInteger, + UnsignedShort, + UnsignedByte, + FloatingPoint, + }; + + enum YUVLayout + { + YUV444, + YUV422, + YUV411, + YUV420P, + YUV420SP, + YV12, + UYVY, + YUYV, + NV12, + NV21, + IMC1, + IMC2, + IMC3, + IMC4, + Y8, + Y16, + }; + + enum ByteOrder + { + LittleEndian, + BigEndian, + CurrentSystemEndian, + }; + + QPixelFormat(); + QPixelFormat(QPixelFormat::ColorModel mdl, uchar firstSize /PyInt/, uchar secondSize /PyInt/, uchar thirdSize /PyInt/, uchar fourthSize /PyInt/, uchar fifthSize /PyInt/, uchar alfa /PyInt/, QPixelFormat::AlphaUsage usage, QPixelFormat::AlphaPosition position, QPixelFormat::AlphaPremultiplied premult, QPixelFormat::TypeInterpretation typeInterp, QPixelFormat::ByteOrder byteOrder = QPixelFormat::CurrentSystemEndian, uchar subEnum /PyInt/ = 0); + QPixelFormat::ColorModel colorModel() const; + uchar channelCount() const /PyInt/; + uchar redSize() const /PyInt/; + uchar greenSize() const /PyInt/; + uchar blueSize() const /PyInt/; + uchar cyanSize() const /PyInt/; + uchar magentaSize() const /PyInt/; + uchar yellowSize() const /PyInt/; + uchar blackSize() const /PyInt/; + uchar hueSize() const /PyInt/; + uchar saturationSize() const /PyInt/; + uchar lightnessSize() const /PyInt/; + uchar brightnessSize() const /PyInt/; + uchar alphaSize() const /PyInt/; + uchar bitsPerPixel() const /PyInt/; + QPixelFormat::AlphaUsage alphaUsage() const; + QPixelFormat::AlphaPosition alphaPosition() const; + QPixelFormat::AlphaPremultiplied premultiplied() const; + QPixelFormat::TypeInterpretation typeInterpretation() const; + QPixelFormat::ByteOrder byteOrder() const; + QPixelFormat::YUVLayout yuvLayout() const; + uchar subEnum() const /PyInt/; +}; + +%End +%If (Qt_5_4_0 -) +bool operator==(QPixelFormat fmt1, QPixelFormat fmt2); +%End +%If (Qt_5_4_0 -) +bool operator!=(QPixelFormat fmt1, QPixelFormat fmt2); +%End +%If (Qt_5_4_0 -) +QPixelFormat qPixelFormatRgba(uchar red /PyInt/, uchar green /PyInt/, uchar blue /PyInt/, uchar alfa /PyInt/, QPixelFormat::AlphaUsage usage, QPixelFormat::AlphaPosition position, QPixelFormat::AlphaPremultiplied premultiplied = QPixelFormat::NotPremultiplied, QPixelFormat::TypeInterpretation typeInterpretation = QPixelFormat::UnsignedInteger); +%End +%If (Qt_5_4_0 -) +QPixelFormat qPixelFormatGrayscale(uchar channelSize /PyInt/, QPixelFormat::TypeInterpretation typeInterpretation = QPixelFormat::UnsignedInteger); +%End +%If (Qt_5_4_0 -) +QPixelFormat qPixelFormatCmyk(uchar channelSize /PyInt/, uchar alphaSize /PyInt/ = 0, QPixelFormat::AlphaUsage alphaUsage = QPixelFormat::IgnoresAlpha, QPixelFormat::AlphaPosition alphaPosition = QPixelFormat::AtBeginning, QPixelFormat::TypeInterpretation typeInterpretation = QPixelFormat::UnsignedInteger); +%End +%If (Qt_5_4_0 -) +QPixelFormat qPixelFormatHsl(uchar channelSize /PyInt/, uchar alphaSize /PyInt/ = 0, QPixelFormat::AlphaUsage alphaUsage = QPixelFormat::IgnoresAlpha, QPixelFormat::AlphaPosition alphaPosition = QPixelFormat::AtBeginning, QPixelFormat::TypeInterpretation typeInterpretation = QPixelFormat::FloatingPoint); +%End +%If (Qt_5_4_0 -) +QPixelFormat qPixelFormatHsv(uchar channelSize /PyInt/, uchar alphaSize /PyInt/ = 0, QPixelFormat::AlphaUsage alphaUsage = QPixelFormat::IgnoresAlpha, QPixelFormat::AlphaPosition alphaPosition = QPixelFormat::AtBeginning, QPixelFormat::TypeInterpretation typeInterpretation = QPixelFormat::FloatingPoint); +%End +%If (Qt_5_4_0 -) +QPixelFormat qPixelFormatYuv(QPixelFormat::YUVLayout layout, uchar alphaSize /PyInt/ = 0, QPixelFormat::AlphaUsage alphaUsage = QPixelFormat::IgnoresAlpha, QPixelFormat::AlphaPosition alphaPosition = QPixelFormat::AtBeginning, QPixelFormat::AlphaPremultiplied premultiplied = QPixelFormat::NotPremultiplied, QPixelFormat::TypeInterpretation typeInterpretation = QPixelFormat::UnsignedByte, QPixelFormat::ByteOrder byteOrder = QPixelFormat::LittleEndian); +%End +%If (Qt_5_5_0 -) +QPixelFormat qPixelFormatAlpha(uchar channelSize /PyInt/, QPixelFormat::TypeInterpretation typeInterpretation = QPixelFormat::UnsignedInteger); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixmap.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixmap.sip new file mode 100644 index 00000000..90cdd7a7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixmap.sip @@ -0,0 +1,108 @@ +// qpixmap.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPixmap : QPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + QPixmap(); + QPixmap(int w, int h); + explicit QPixmap(const QSize &); + QPixmap(const QString &fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::ImageConversionFlag::AutoColor); + QPixmap(SIP_PYLIST xpm /TypeHint="List[str]"/) [(const char **xpm)]; +%MethodCode + // The Python interface is a list of strings that make up the image. + + const char **str = QtGui_ListToArray(a0); + + if (str) + { + sipCpp = new sipQPixmap(str); + QtGui_DeleteArray(str); + } + else + sipIsErr = 1; +%End + + QPixmap(const QPixmap &); + QPixmap(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new sipQPixmap(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + virtual ~QPixmap(); + bool isNull() const; + virtual int devType() const; + int width() const; + int height() const; + QSize size() const; + QRect rect() const; + int depth() const; + static int defaultDepth(); + void fill(const QColor &color = Qt::GlobalColor::white); + QBitmap mask() const; + void setMask(const QBitmap &); + bool hasAlpha() const; + bool hasAlphaChannel() const; + QBitmap createHeuristicMask(bool clipTight = true) const; + QBitmap createMaskFromColor(const QColor &maskColor, Qt::MaskMode mode = Qt::MaskInColor) const; + QPixmap scaled(int width, int height, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation) const; + QPixmap scaled(const QSize &size, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio, Qt::TransformationMode transformMode = Qt::FastTransformation) const; + QPixmap scaledToWidth(int width, Qt::TransformationMode mode = Qt::FastTransformation) const; + QPixmap scaledToHeight(int height, Qt::TransformationMode mode = Qt::FastTransformation) const; + QImage toImage() const; + static QPixmap fromImage(const QImage &image, Qt::ImageConversionFlags flags = Qt::AutoColor); + static QPixmap fromImageReader(QImageReader *imageReader, Qt::ImageConversionFlags flags = Qt::AutoColor); + bool convertFromImage(const QImage &img, Qt::ImageConversionFlags flags = Qt::AutoColor); + bool load(const QString &fileName, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); + bool loadFromData(const uchar *buf /Array/, uint len /ArraySize/, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); + bool loadFromData(const QByteArray &buf, const char *format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); + bool save(const QString &fileName, const char *format = 0, int quality = -1) const; + bool save(QIODevice *device, const char *format = 0, int quality = -1) const; + QPixmap copy(const QRect &rect = QRect()) const; + void detach(); + bool isQBitmap() const; + virtual QPaintEngine *paintEngine() const; + +protected: + virtual int metric(QPaintDevice::PaintDeviceMetric) const; + +public: + QPixmap copy(int ax, int ay, int awidth, int aheight) const; + QPixmap transformed(const QTransform &transform, Qt::TransformationMode mode = Qt::FastTransformation) const; + static QTransform trueMatrix(const QTransform &m, int w, int h); + qint64 cacheKey() const; + void scroll(int dx, int dy, const QRect &rect, QRegion *exposed /Out/ = 0); + void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed /Out/ = 0); + void swap(QPixmap &other /Constrained/); + qreal devicePixelRatio() const; + void setDevicePixelRatio(qreal scaleFactor); +}; + +QDataStream &operator<<(QDataStream &, const QPixmap & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QPixmap & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixmapcache.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixmapcache.sip new file mode 100644 index 00000000..112c4693 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpixmapcache.sip @@ -0,0 +1,80 @@ +// qpixmapcache.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPixmapCache +{ +%TypeHeaderCode +#include +%End + +public: + class Key + { +%TypeHeaderCode +#include +%End + + public: + Key(); + Key(const QPixmapCache::Key &other); + ~Key(); + bool operator==(const QPixmapCache::Key &key) const; + bool operator!=(const QPixmapCache::Key &key) const; +%If (Qt_5_6_0 -) + void swap(QPixmapCache::Key &other /Constrained/); +%End +%If (Qt_5_7_0 -) + bool isValid() const; +%End + }; + + static int cacheLimit(); + static void clear(); + static QPixmap find(const QString &key); +%MethodCode + sipRes = new QPixmap; + + if (!QPixmapCache::find(*a0, sipRes)) + { + delete sipRes; + sipRes = 0; + } +%End + + static QPixmap find(const QPixmapCache::Key &key); +%MethodCode + sipRes = new QPixmap; + + if (!QPixmapCache::find(*a0, sipRes)) + { + delete sipRes; + sipRes = 0; + } +%End + + static bool insert(const QString &key, const QPixmap &); + static QPixmapCache::Key insert(const QPixmap &pixmap); + static void remove(const QString &key); + static void remove(const QPixmapCache::Key &key); + static bool replace(const QPixmapCache::Key &key, const QPixmap &pixmap); + static void setCacheLimit(int); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpolygon.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpolygon.sip new file mode 100644 index 00000000..7dd0eee4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpolygon.sip @@ -0,0 +1,515 @@ +// qpolygon.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPolygon +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// Get a set of coordinate pairs of a polygon from a Python list. +static int *coordsFromList(PyObject *l, int &nr_points) +{ + int *coords = new int[PyList_Size(l)]; + nr_points = PyList_Size(l) >> 1; + + for (Py_ssize_t i = 0; i < PyList_Size(l); ++i) + { + coords[i] = SIPLong_AsLong(PyList_GetItem(l, i)); + + if (PyErr_Occurred() != NULL) + { + delete[] coords; + return 0; + } + } + + return coords; +} +%End + +%PickleCode + PyObject *pl = PyList_New(sipCpp->count() * 2); + + for (int p = 0, i = 0; i < sipCpp->count(); ++i, p += 2) + { + int x, y; + + sipCpp->point(i, &x, &y); + + PyList_SetItem(pl, p, SIPLong_FromLong(x)); + PyList_SetItem(pl, p + 1, SIPLong_FromLong(y)); + } + + sipRes = Py_BuildValue((char *)"(N)", pl); +%End + +public: + QPolygon(); + ~QPolygon(); + QPolygon(const QPolygon &a); + QPolygon(SIP_PYLIST points /TypeHint="List[int]"/) /NoDerived/; +%MethodCode + int nr_points; + int *coords = coordsFromList(a0, nr_points); + + if (coords) + { + sipCpp = new QPolygon(); + sipCpp->setPoints(nr_points, coords); + delete[] coords; + } + else + { + // Invoke the subsequent QVector overload. + sipError = sipErrorContinue; + } +%End + + QPolygon(const QVector &v); + QPolygon(const QRect &rectangle, bool closed = false); + explicit QPolygon(int asize); + QPolygon(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QPolygon(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + void translate(int dx, int dy); + QRect boundingRect() const; + QPoint point(int index) const; + void setPoints(SIP_PYLIST points /TypeHint="List[int]"/); +%MethodCode + int nr_points; + int *coords = coordsFromList(a0, nr_points); + + if (coords) + { + sipCpp->setPoints(nr_points, coords); + delete[] coords; + } + else + { + sipIsErr = 1; + } +%End + + void setPoints(int firstx, int firsty, ...); +%MethodCode + // Accept at least one pair of integer coordinates. + int nPoints = 1 + ((PyTuple_Size(a2) + 1) >> 1); + + int *points = new int[nPoints * 2]; + + points[0] = a0; + points[1] = a1; + + for (Py_ssize_t i = 0; i < PyTuple_Size(a2); ++i) + points[2 + i] = SIPLong_AsLong(PyTuple_GetItem(a2, i)); + + sipCpp->setPoints(nPoints, points); + + delete[] points; +%End + + void putPoints(int index, int firstx, int firsty, ...); +%MethodCode + // Accept at least one pair of integer coordinates. + int nPoints = 1 + ((PyTuple_Size(a3) + 1) >> 1); + + int *points = new int[nPoints * 2]; + + points[0] = a1; + points[1] = a2; + + for (Py_ssize_t i = 0; i < PyTuple_Size(a3); ++i) + points[2 + i] = SIPLong_AsLong(PyTuple_GetItem(a3, i)); + + sipCpp->putPoints(a0, nPoints, points); + + delete[] points; +%End + + void putPoints(int index, int nPoints, const QPolygon &fromPolygon, int from = 0); + void setPoint(int index, const QPoint &pt); + void setPoint(int index, int x, int y); + void translate(const QPoint &offset); + bool containsPoint(const QPoint &pt, Qt::FillRule fillRule) const; + QPolygon united(const QPolygon &r) const; + QPolygon intersected(const QPolygon &r) const; + QPolygon subtracted(const QPolygon &r) const; + QPolygon translated(int dx, int dy) const; + QPolygon translated(const QPoint &offset) const; +// Methods inherited from QVector and Python special methods. +// Keep in sync with QPolygonF and QXmlStreamAttributes. + +void append(const QPoint &value); +const QPoint &at(int i) const; +void clear(); +bool contains(const QPoint &value) const; +int count(const QPoint &value) const; +int count() const /__len__/; +void *data(); + +// Note the Qt return value is discarded as it would require handwritten code +// and seems pretty useless. +void fill(const QPoint &value, int size = -1); + +QPoint &first(); +int indexOf(const QPoint &value, int from = 0) const; +void insert(int i, const QPoint &value); +bool isEmpty() const; +QPoint &last(); +int lastIndexOf(const QPoint &value, int from = -1) const; + +// Note the Qt return type is QVector. +QPolygon mid(int pos, int length = -1) const; + +void prepend(const QPoint &value); +void remove(int i); +void remove(int i, int count); +void replace(int i, const QPoint &value); +int size() const; +QPoint value(int i) const; +QPoint value(int i, const QPoint &defaultValue) const; +bool operator!=(const QPolygon &other) const; + +// Note the Qt return type is QVector. +QPolygon operator+(const QPolygon &other) const; + +QPolygon &operator+=(const QPolygon &other); +QPolygon &operator+=(const QPoint &value); +bool operator==(const QPolygon &other) const; + +SIP_PYOBJECT operator<<(const QPoint &value); +%MethodCode + *a0 << *a1; + + sipRes = sipArg0; + Py_INCREF(sipRes); +%End + +QPoint &operator[](int i); +%MethodCode +Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + +if (idx < 0) + sipIsErr = 1; +else + sipRes = &sipCpp->operator[]((int)idx); +%End + +// Some additional Python special methods. + +void __setitem__(int i, const QPoint &value); +%MethodCode +int len; + +len = sipCpp->count(); + +if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0) + sipIsErr = 1; +else + (*sipCpp)[a0] = *a1; +%End + +void __setitem__(SIP_PYSLICE slice, const QPolygon &list); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + int vlen = a1->count(); + + if (vlen != slicelength) + { + sipBadLengthForSlice(vlen, slicelength); + sipIsErr = 1; + } + else + { + QVector::const_iterator it = a1->begin(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipCpp)[start] = *it; + start += step; + ++it; + } + } +} +%End + +void __delitem__(int i); +%MethodCode +if ((a0 = (int)sipConvertFromSequenceIndex(a0, sipCpp->count())) < 0) + sipIsErr = 1; +else + sipCpp->remove(a0); +%End + +void __delitem__(SIP_PYSLICE slice); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + sipCpp->remove(start); + start += step - 1; + } +} +%End + +QPolygon operator[](SIP_PYSLICE slice); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + sipRes = new QPolygon(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipRes) += (*sipCpp)[start]; + start += step; + } +} +%End + +int __contains__(const QPoint &value); +%MethodCode +// It looks like you can't assign QBool to int. +sipRes = bool(sipCpp->contains(*a0)); +%End + void swap(QPolygon &other /Constrained/); +%If (Qt_5_10_0 -) + bool intersects(const QPolygon &r) const; +%End +}; + +class QPolygonF +{ +%TypeHeaderCode +#include +%End + +public: + QPolygonF(); + ~QPolygonF(); + QPolygonF(const QPolygonF &a); + QPolygonF(const QVector &v); + QPolygonF(const QRectF &r); + QPolygonF(const QPolygon &a); + explicit QPolygonF(int asize); + void translate(const QPointF &offset); + QPolygon toPolygon() const; + bool isClosed() const; + QRectF boundingRect() const; + void translate(qreal dx, qreal dy); + bool containsPoint(const QPointF &pt, Qt::FillRule fillRule) const; + QPolygonF united(const QPolygonF &r) const; + QPolygonF intersected(const QPolygonF &r) const; + QPolygonF subtracted(const QPolygonF &r) const; + QPolygonF translated(const QPointF &offset) const; + QPolygonF translated(qreal dx, qreal dy) const; +// Methods inherited from QVector and Python special methods. +// Keep in sync with QPolygon and QXmlStreamAttributes. + +void append(const QPointF &value); +const QPointF &at(int i) const; +void clear(); +bool contains(const QPointF &value) const; +int count(const QPointF &value) const; +int count() const /__len__/; +void *data(); + +// Note the Qt return value is discarded as it would require handwritten code +// and seems pretty useless. +void fill(const QPointF &value, int size = -1); + +QPointF &first(); +int indexOf(const QPointF &value, int from = 0) const; +void insert(int i, const QPointF &value); +bool isEmpty() const; +QPointF &last(); +int lastIndexOf(const QPointF &value, int from = -1) const; + +// Note the Qt return type is QVector. +QPolygonF mid(int pos, int length = -1) const; + +void prepend(const QPointF &value); +void remove(int i); +void remove(int i, int count); +void replace(int i, const QPointF &value); +int size() const; +QPointF value(int i) const; +QPointF value(int i, const QPointF &defaultValue) const; +bool operator!=(const QPolygonF &other) const; + +// Note the Qt return type is QVector. +QPolygonF operator+(const QPolygonF &other) const; + +QPolygonF &operator+=(const QPolygonF &other); +QPolygonF &operator+=(const QPointF &value); +bool operator==(const QPolygonF &other) const; + +SIP_PYOBJECT operator<<(const QPointF &value); +%MethodCode + *a0 << *a1; + + sipRes = sipArg0; + Py_INCREF(sipRes); +%End + +QPointF &operator[](int i); +%MethodCode +Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + +if (idx < 0) + sipIsErr = 1; +else + sipRes = &sipCpp->operator[]((int)idx); +%End + +// Some additional Python special methods. + +void __setitem__(int i, const QPointF &value); +%MethodCode +int len; + +len = sipCpp->count(); + +if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0) + sipIsErr = 1; +else + (*sipCpp)[a0] = *a1; +%End + +void __setitem__(SIP_PYSLICE slice, const QPolygonF &list); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + int vlen = a1->count(); + + if (vlen != slicelength) + { + sipBadLengthForSlice(vlen, slicelength); + sipIsErr = 1; + } + else + { + QVector::const_iterator it = a1->begin(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipCpp)[start] = *it; + start += step; + ++it; + } + } +} +%End + +void __delitem__(int i); +%MethodCode +if ((a0 = (int)sipConvertFromSequenceIndex(a0, sipCpp->count())) < 0) + sipIsErr = 1; +else + sipCpp->remove(a0); +%End + +void __delitem__(SIP_PYSLICE slice); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + sipCpp->remove(start); + start += step - 1; + } +} +%End + +QPolygonF operator[](SIP_PYSLICE slice); +%MethodCode +Py_ssize_t start, stop, step, slicelength; + +if (sipConvertFromSliceObject(a0, sipCpp->count(), &start, &stop, &step, &slicelength) < 0) +{ + sipIsErr = 1; +} +else +{ + sipRes = new QPolygonF(); + + for (Py_ssize_t i = 0; i < slicelength; ++i) + { + (*sipRes) += (*sipCpp)[start]; + start += step; + } +} +%End + +int __contains__(const QPointF &value); +%MethodCode +// It looks like you can't assign QBool to int. +sipRes = bool(sipCpp->contains(*a0)); +%End + void swap(QPolygonF &other /Constrained/); +%If (Qt_5_10_0 -) + bool intersects(const QPolygonF &r) const; +%End +}; + +QDataStream &operator<<(QDataStream &stream, const QPolygonF &array /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &stream, QPolygonF &array /Constrained/) /ReleaseGIL/; +QDataStream &operator<<(QDataStream &stream, const QPolygon &polygon /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &stream, QPolygon &polygon /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qlist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qlist.sip new file mode 100644 index 00000000..3c61382e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qlist.sip @@ -0,0 +1,106 @@ +// This is the SIP interface definition for the QList based mapped types +// specific to the QtGui module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QList + /TypeHintIn="Sequence[QFontDatabase.WritingSystem]", + TypeHintOut="List[QFontDatabase.WritingSystem]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QFontDatabase_WritingSystem); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return (PySequence_Check(sipPy) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + + Py_ssize_t len = PySequence_Size(sipPy); + + if (len < 0) + return 0; + + QList *ql = new QList; + + for (Py_ssize_t i = 0; i < len; ++i) + { + PyObject *itm = PySequence_GetItem(sipPy, i); + + if (!itm) + { + delete ql; + *sipIsErr = 1; + + return 0; + } + + int v = sipConvertToEnum(itm, sipType_QFontDatabase_WritingSystem); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "element %zd has type '%s' but 'QFontDatabase.WritingSystem' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qpair.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qpair.sip new file mode 100644 index 00000000..0aa7d49b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qpair.sip @@ -0,0 +1,220 @@ +// This is the SIP interface definition for the QPair based mapped types +// specific to the QtGui module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +%If (PyQt_OpenGL) + +%MappedType QPair + /TypeHint="Tuple[QOpenGLTexture.Filter, QOpenGLTexture.Filter]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + return sipBuildResult(NULL, "(FF)", sipCpp->first, + sipType_QOpenGLTexture_Filter, sipCpp->second, + sipType_QOpenGLTexture_Filter); +%End + +%ConvertToTypeCode + if (!sipIsErr) + return (PySequence_Check(sipPy) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + + Py_ssize_t len = PySequence_Size(sipPy); + + if (len != 2) + { + // A negative length should only be an internal error so let the + // original exception stand. + if (len >= 0) + PyErr_Format(PyExc_TypeError, + "sequence has %zd elements but 2 elements are expected", + len); + + *sipIsErr = 1; + + return 0; + } + + PyObject *firstobj = PySequence_GetItem(sipPy, 0); + + if (!firstobj) + { + *sipIsErr = 1; + + return 0; + } + + int firstv = sipConvertToEnum(firstobj, sipType_QOpenGLTexture_Filter); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "the first element has type '%s' but 'QOpenGLTexture.Filter' is expected", + sipPyTypeName(Py_TYPE(firstobj))); + + *sipIsErr = 1; + + return 0; + } + + PyObject *secondobj = PySequence_GetItem(sipPy, 1); + + if (!secondobj) + { + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + int secondv = sipConvertToEnum(secondobj, sipType_QOpenGLTexture_Filter); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "the second element has type '%s' but 'QOpenGLTexture.Filter' is expected", + sipPyTypeName(Py_TYPE(secondobj))); + + Py_DECREF(secondobj); + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + *sipCppPtr = new QPair( + static_cast(firstv), + static_cast(secondv)); + + Py_DECREF(secondobj); + Py_DECREF(firstobj); + + return sipGetState(sipTransferObj); +%End +}; + +%End + +%End + + +%If (Qt_5_2_0 -) + +%MappedType QPair /TypeHint="Tuple[float, float]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + return Py_BuildValue("(ff)", sipCpp->first, sipCpp->second); +%End + +%ConvertToTypeCode + if (!sipIsErr) + return (PySequence_Check(sipPy) +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + + Py_ssize_t len = PySequence_Size(sipPy); + + if (len != 2) + { + // A negative length should only be an internal error so let the + // original exception stand. + if (len >= 0) + PyErr_Format(PyExc_TypeError, + "sequence has %zd elements but 2 elements are expected", + len); + + *sipIsErr = 1; + + return 0; + } + + PyObject *firstobj = PySequence_GetItem(sipPy, 0); + + if (!firstobj) + { + *sipIsErr = 1; + + return 0; + } + + PyErr_Clear(); + double first = PyFloat_AsDouble(firstobj); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "the first element has type '%s' but 'float' is expected", + sipPyTypeName(Py_TYPE(firstobj))); + + *sipIsErr = 1; + + return 0; + } + + PyObject *secondobj = PySequence_GetItem(sipPy, 1); + + if (!secondobj) + { + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + PyErr_Clear(); + double second = PyFloat_AsDouble(secondobj); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "the second element has type '%s' but 'float' is expected", + sipPyTypeName(Py_TYPE(secondobj))); + + Py_DECREF(secondobj); + Py_DECREF(firstobj); + *sipIsErr = 1; + + return 0; + } + + *sipCppPtr = new QPair(first, second);; + + Py_DECREF(secondobj); + Py_DECREF(firstobj); + + return sipGetState(sipTransferObj); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qvector.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qvector.sip new file mode 100644 index 00000000..2b77cb7d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qpygui_qvector.sip @@ -0,0 +1,452 @@ +// This is the SIP interface definition for the QVector based mapped types +// specific to the QtGui module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QVector + /TypeHintIn="Iterable[int]", TypeHintOut="List[int]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + // Convert to a Python long to make sure it doesn't get interpreted as + // a signed value. + PyObject *pobj = PyLong_FromUnsignedLong(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector *qv = new QVector; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + PyErr_Clear(); + unsigned long val = PyLong_AsUnsignedLongMask(itm); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + qv->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + + +%MappedType QVector + /TypeHintIn="Iterable[float]", TypeHintOut="List[float]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *pobj = PyFloat_FromDouble(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector *qv = new QVector; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + PyErr_Clear(); + double val = PyFloat_AsDouble(itm); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + qv->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + + +%If (PyQt_qreal_double) + +%MappedType QVector + /TypeHintIn="Iterable[float]", TypeHintOut="List[float]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *pobj = PyFloat_FromDouble(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector *qv = new QVector; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + PyErr_Clear(); + double val = PyFloat_AsDouble(itm); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + qv->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + +%End + + +%If (PyQt_Desktop_OpenGL) + +%MappedType QVector + /TypeHintIn="Iterable[int]", TypeHintOut="List[int]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + // Convert to a Python long to make sure it doesn't get interpreted as + // a signed value. + PyObject *pobj = PyLong_FromUnsignedLongLong(sipCpp->value(i)); + + if (!pobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QVector *qv = new QVector; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + PyErr_Clear(); + unsigned PY_LONG_LONG val = PyLong_AsUnsignedLongLongMask(itm); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'int' is expected", i, + sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete qv; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + qv->append(val); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = qv; + + return sipGetState(sipTransferObj); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qquaternion.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qquaternion.sip new file mode 100644 index 00000000..f1c39cd7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qquaternion.sip @@ -0,0 +1,161 @@ +// qquaternion.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QQuaternion +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"dddd", (double)sipCpp->scalar(), + (double)sipCpp->x(), (double)sipCpp->y(), (double)sipCpp->z()); +%End + +public: + QQuaternion(); + QQuaternion(float aScalar, float xpos, float ypos, float zpos); + QQuaternion(float aScalar, const QVector3D &aVector); + explicit QQuaternion(const QVector4D &aVector); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + PyObject *scalar = PyFloat_FromDouble(sipCpp->scalar()); + PyObject *x = PyFloat_FromDouble(sipCpp->x()); + PyObject *y = PyFloat_FromDouble(sipCpp->y()); + PyObject *z = PyFloat_FromDouble(sipCpp->z()); + + if (scalar && x && y && z) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QQuaternion(%R, %R, %R, %R)", + scalar, x, y, z); + #else + sipRes = PyString_FromString("PyQt5.QtGui.QQuaternion("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(scalar)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(x)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(y)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(z)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + Py_XDECREF(scalar); + Py_XDECREF(x); + Py_XDECREF(y); + Py_XDECREF(z); +%End + + float length() const; + float lengthSquared() const; + QQuaternion normalized() const; + void normalize(); + QVector3D rotatedVector(const QVector3D &vector) const; + static QQuaternion fromAxisAndAngle(const QVector3D &axis, float angle); + static QQuaternion fromAxisAndAngle(float x, float y, float z, float angle); + static QQuaternion slerp(const QQuaternion &q1, const QQuaternion &q2, float t); + static QQuaternion nlerp(const QQuaternion &q1, const QQuaternion &q2, float t); + bool isNull() const; + bool isIdentity() const; + float x() const; + float y() const; + float z() const; + float scalar() const; + void setX(float aX); + void setY(float aY); + void setZ(float aZ); + void setScalar(float aScalar); + QQuaternion conjugate() const; + QQuaternion &operator+=(const QQuaternion &quaternion); + QQuaternion &operator-=(const QQuaternion &quaternion); + QQuaternion &operator*=(float factor); + QQuaternion &operator*=(const QQuaternion &quaternion); + QQuaternion &operator/=(float divisor); + void setVector(const QVector3D &aVector); + QVector3D vector() const; + void setVector(float aX, float aY, float aZ); + QVector4D toVector4D() const; +%If (Qt_5_5_0 -) + void getAxisAndAngle(QVector3D *axis /Out/, float *angle) const; +%End +%If (Qt_5_5_0 -) + void getEulerAngles(float *pitch, float *yaw, float *roll) const; +%End +%If (Qt_5_5_0 -) + static QQuaternion fromEulerAngles(float pitch, float yaw, float roll); +%End +%If (Qt_5_5_0 -) + QMatrix3x3 toRotationMatrix() const; +%End +%If (Qt_5_5_0 -) + static QQuaternion fromRotationMatrix(const QMatrix3x3 &rot3x3); +%End +%If (Qt_5_5_0 -) + void getAxes(QVector3D *xAxis /Out/, QVector3D *yAxis /Out/, QVector3D *zAxis /Out/) const; +%End +%If (Qt_5_5_0 -) + static QQuaternion fromAxes(const QVector3D &xAxis, const QVector3D &yAxis, const QVector3D &zAxis); +%End +%If (Qt_5_5_0 -) + static QQuaternion fromDirection(const QVector3D &direction, const QVector3D &up); +%End +%If (Qt_5_5_0 -) + static QQuaternion rotationTo(const QVector3D &from, const QVector3D &to); +%End +%If (Qt_5_5_0 -) + static float dotProduct(const QQuaternion &q1, const QQuaternion &q2); +%End +%If (Qt_5_5_0 -) + QQuaternion inverted() const; +%End +%If (Qt_5_5_0 -) + QQuaternion conjugated() const; +%End +%If (Qt_5_5_0 -) + QVector3D toEulerAngles() const; +%End +%If (Qt_5_5_0 -) + static QQuaternion fromEulerAngles(const QVector3D &eulerAngles); +%End +}; + +const QQuaternion operator*(const QQuaternion &q1, const QQuaternion &q2); +bool operator==(const QQuaternion &q1, const QQuaternion &q2); +bool operator!=(const QQuaternion &q1, const QQuaternion &q2); +const QQuaternion operator+(const QQuaternion &q1, const QQuaternion &q2); +const QQuaternion operator-(const QQuaternion &q1, const QQuaternion &q2); +const QQuaternion operator*(float factor, const QQuaternion &quaternion); +const QQuaternion operator*(const QQuaternion &quaternion, float factor); +const QQuaternion operator-(const QQuaternion &quaternion); +const QQuaternion operator/(const QQuaternion &quaternion, float divisor); +bool qFuzzyCompare(const QQuaternion &q1, const QQuaternion &q2); +QDataStream &operator<<(QDataStream &, const QQuaternion & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QQuaternion & /Constrained/) /ReleaseGIL/; +%If (Qt_5_5_0 -) +QVector3D operator*(const QQuaternion &quaternion, const QVector3D &vec); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrasterwindow.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrasterwindow.sip new file mode 100644 index 00000000..aec8dd1b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrasterwindow.sip @@ -0,0 +1,41 @@ +// qrasterwindow.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QRasterWindow : QPaintDeviceWindow +{ +%TypeHeaderCode +#include +%End + +public: + explicit QRasterWindow(QWindow *parent /TransferThis/ = 0); +%If (Qt_5_9_0 -) + virtual ~QRasterWindow(); +%End + +protected: + virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrawfont.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrawfont.sip new file mode 100644 index 00000000..b3467c2a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrawfont.sip @@ -0,0 +1,106 @@ +// qrawfont.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_RawFont) + +class QRawFont +{ +%TypeHeaderCode +#include +%End + +public: + enum AntialiasingType + { + PixelAntialiasing, + SubPixelAntialiasing, + }; + + QRawFont(); + QRawFont(const QString &fileName, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); + QRawFont(const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); + QRawFont(const QRawFont &other); + ~QRawFont(); + bool isValid() const; + bool operator==(const QRawFont &other) const; + bool operator!=(const QRawFont &other) const; + QString familyName() const; + QString styleName() const; + QFont::Style style() const; + int weight() const; + QVector glyphIndexesForString(const QString &text) const; + QVector advancesForGlyphIndexes(const QVector &glyphIndexes) const; +%If (Qt_5_1_0 -) + QVector advancesForGlyphIndexes(const QVector &glyphIndexes, QRawFont::LayoutFlags layoutFlags) const; +%End + QImage alphaMapForGlyph(quint32 glyphIndex, QRawFont::AntialiasingType antialiasingType = QRawFont::SubPixelAntialiasing, const QTransform &transform = QTransform()) const; + QPainterPath pathForGlyph(quint32 glyphIndex) const; + void setPixelSize(qreal pixelSize); + qreal pixelSize() const; + QFont::HintingPreference hintingPreference() const; + qreal ascent() const; + qreal descent() const; + qreal leading() const; + qreal xHeight() const; + qreal averageCharWidth() const; + qreal maxCharWidth() const; + qreal unitsPerEm() const; + void loadFromFile(const QString &fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) /ReleaseGIL/; + void loadFromData(const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) /ReleaseGIL/; + bool supportsCharacter(uint ucs4) const; + bool supportsCharacter(QChar character) const; + QList supportedWritingSystems() const; + QByteArray fontTable(const char *tagName) const; + static QRawFont fromFont(const QFont &font, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any); + QRectF boundingRect(quint32 glyphIndex) const; + qreal lineThickness() const; + qreal underlinePosition() const; + void swap(QRawFont &other /Constrained/); +%If (Qt_5_1_0 -) + + enum LayoutFlag + { + SeparateAdvances, + KernedAdvances, + UseDesignMetrics, + }; + +%End +%If (Qt_5_1_0 -) + typedef QFlags LayoutFlags; +%End +%If (Qt_5_8_0 -) + qreal capHeight() const; +%End +%If (Qt_5_8_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; + +%End +%If (Qt_5_1_0 -) +QFlags operator|(QRawFont::LayoutFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qregion.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qregion.sip new file mode 100644 index 00000000..4152da96 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qregion.sip @@ -0,0 +1,148 @@ +// qregion.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRegion +{ +%TypeHeaderCode +#include +%End + +public: + enum RegionType + { + Rectangle, + Ellipse, + }; + + QRegion(); + QRegion(int x, int y, int w, int h, QRegion::RegionType type = QRegion::Rectangle); + QRegion(const QRect &r, QRegion::RegionType type = QRegion::Rectangle); + QRegion(const QPolygon &a, Qt::FillRule fillRule = Qt::OddEvenFill); + QRegion(const QBitmap &bitmap); + QRegion(const QRegion ®ion); + QRegion(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QRegion(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QRegion(); + bool isEmpty() const; + int __bool__() const; +%MethodCode + sipRes = !sipCpp->isEmpty(); +%End + + bool contains(const QPoint &p) const; + int __contains__(const QPoint &p) const; +%MethodCode + sipRes = sipCpp->contains(*a0); +%End + + bool contains(const QRect &r) const; + int __contains__(const QRect &r) const; +%MethodCode + sipRes = sipCpp->contains(*a0); +%End + + void translate(int dx, int dy); + void translate(const QPoint &p); + QRegion translated(int dx, int dy) const; + QRegion translated(const QPoint &p) const; + QRegion united(const QRegion &r) const; + QRegion united(const QRect &r) const; + QRect boundingRect() const; + QVector rects() const; +%If (Qt_5_4_0 -) + QRegion operator|(const QRegion &r) const; +%End + void setRects(const QVector &); +%MethodCode + if (a0->size()) + sipCpp->setRects(a0->data(), a0->size()); + else + sipCpp->setRects(0, 0); +%End + +%If (- Qt_5_4_0) + const QRegion operator|(const QRegion &r) const; +%End +%If (Qt_5_4_0 -) + QRegion operator+(const QRegion &r) const; +%End +%If (- Qt_5_4_0) + const QRegion operator+(const QRegion &r) const; +%End +%If (Qt_5_4_0 -) + QRegion operator+(const QRect &r) const; +%End +%If (- Qt_5_4_0) + const QRegion operator+(const QRect &r) const; +%End +%If (Qt_5_4_0 -) + QRegion operator&(const QRegion &r) const; +%End +%If (- Qt_5_4_0) + const QRegion operator&(const QRegion &r) const; +%End +%If (Qt_5_4_0 -) + QRegion operator&(const QRect &r) const; +%End +%If (- Qt_5_4_0) + const QRegion operator&(const QRect &r) const; +%End +%If (Qt_5_4_0 -) + QRegion operator-(const QRegion &r) const; +%End +%If (- Qt_5_4_0) + const QRegion operator-(const QRegion &r) const; +%End +%If (Qt_5_4_0 -) + QRegion operator^(const QRegion &r) const; +%End +%If (- Qt_5_4_0) + const QRegion operator^(const QRegion &r) const; +%End + QRegion &operator|=(const QRegion &r); + QRegion &operator+=(const QRegion &r); + QRegion &operator+=(const QRect &r); + QRegion &operator&=(const QRegion &r); + QRegion &operator&=(const QRect &r); + QRegion &operator-=(const QRegion &r); + QRegion &operator^=(const QRegion &r); + bool operator==(const QRegion &r) const; + bool operator!=(const QRegion &r) const; + QRegion intersected(const QRegion &r) const; + QRegion intersected(const QRect &r) const; + QRegion subtracted(const QRegion &r) const; + QRegion xored(const QRegion &r) const; + bool intersects(const QRegion &r) const; + bool intersects(const QRect &r) const; + int rectCount() const; + void swap(QRegion &other /Constrained/); + bool isNull() const; +}; + +QDataStream &operator<<(QDataStream &, const QRegion & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QRegion & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrgb.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrgb.sip new file mode 100644 index 00000000..194effce --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrgb.sip @@ -0,0 +1,42 @@ +// qrgb.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +typedef unsigned int QRgb; +int qRed(QRgb rgb); +int qGreen(QRgb rgb); +int qBlue(QRgb rgb); +int qAlpha(QRgb rgb); +QRgb qRgb(int r, int g, int b); +QRgb qRgba(int r, int g, int b, int a); +int qGray(int r, int g, int b); +int qGray(QRgb rgb); +bool qIsGray(QRgb rgb); +%If (Qt_5_3_0 -) +QRgb qPremultiply(QRgb x); +%End +%If (Qt_5_3_0 -) +QRgb qUnpremultiply(QRgb p); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrgba64.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrgba64.sip new file mode 100644 index 00000000..0e34dd9c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qrgba64.sip @@ -0,0 +1,90 @@ +// qrgba64.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_6_0 -) +%ModuleCode +#include +%End +%End + +%If (Qt_5_6_0 -) + +class QRgba64 +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_7_0 -) + QRgba64(); +%End + static QRgba64 fromRgba64(quint64 c); + static QRgba64 fromRgba64(quint16 red, quint16 green, quint16 blue, quint16 alpha); + static QRgba64 fromRgba(quint8 red, quint8 green, quint8 blue, quint8 alpha); + static QRgba64 fromArgb32(uint rgb); + bool isOpaque() const; + bool isTransparent() const; + quint16 red() const; + quint16 green() const; + quint16 blue() const; + quint16 alpha() const; + void setRed(quint16 _red); + void setGreen(quint16 _green); + void setBlue(quint16 _blue); + void setAlpha(quint16 _alpha); + quint8 red8() const; + quint8 green8() const; + quint8 blue8() const; + quint8 alpha8() const; + uint toArgb32() const; + ushort toRgb16() const; + QRgba64 premultiplied() const; + QRgba64 unpremultiplied() const; + operator quint64() const; +}; + +%End +%If (Qt_5_6_0 -) +QRgba64 qRgba64(quint16 r, quint16 g, quint16 b, quint16 a); +%End +%If (Qt_5_6_0 -) +QRgba64 qRgba64(quint64 c); +%End +%If (Qt_5_6_0 -) +QRgba64 qPremultiply(QRgba64 c); +%End +%If (Qt_5_6_0 -) +QRgba64 qUnpremultiply(QRgba64 c); +%End +%If (Qt_5_6_0 -) +uint qRed(QRgba64 rgb); +%End +%If (Qt_5_6_0 -) +uint qGreen(QRgba64 rgb); +%End +%If (Qt_5_6_0 -) +uint qBlue(QRgba64 rgb); +%End +%If (Qt_5_6_0 -) +uint qAlpha(QRgba64 rgb); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qscreen.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qscreen.sip new file mode 100644 index 00000000..8df13823 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qscreen.sip @@ -0,0 +1,96 @@ +// qscreen.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QScreen : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_4_0 -) + virtual ~QScreen(); +%End + QString name() const; + int depth() const; + QSize size() const; + QRect geometry() const; + QSizeF physicalSize() const; + qreal physicalDotsPerInchX() const; + qreal physicalDotsPerInchY() const; + qreal physicalDotsPerInch() const; + qreal logicalDotsPerInchX() const; + qreal logicalDotsPerInchY() const; + qreal logicalDotsPerInch() const; + QSize availableSize() const; + QRect availableGeometry() const; + QList virtualSiblings() const; + QSize virtualSize() const; + QRect virtualGeometry() const; + QSize availableVirtualSize() const; + QRect availableVirtualGeometry() const; +%If (Qt_5_2_0 -) + Qt::ScreenOrientation nativeOrientation() const; +%End + Qt::ScreenOrientation primaryOrientation() const; + Qt::ScreenOrientation orientation() const; + Qt::ScreenOrientations orientationUpdateMask() const; + void setOrientationUpdateMask(Qt::ScreenOrientations mask); + int angleBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b) const; + QTransform transformBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect &target) const; + QRect mapBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect &rect) const; + bool isPortrait(Qt::ScreenOrientation orientation) const; + bool isLandscape(Qt::ScreenOrientation orientation) const; + QPixmap grabWindow(WId window, int x = 0, int y = 0, int width = -1, int height = -1); + qreal refreshRate() const; + qreal devicePixelRatio() const; + +signals: + void geometryChanged(const QRect &geometry); + void physicalDotsPerInchChanged(qreal dpi); + void logicalDotsPerInchChanged(qreal dpi); + void primaryOrientationChanged(Qt::ScreenOrientation orientation); + void orientationChanged(Qt::ScreenOrientation orientation); + void refreshRateChanged(qreal refreshRate); + void physicalSizeChanged(const QSizeF &size); + void virtualGeometryChanged(const QRect &rect); +%If (Qt_5_4_0 -) + void availableGeometryChanged(const QRect &geometry); +%End + +public: +%If (Qt_5_9_0 -) + QString manufacturer() const; +%End +%If (Qt_5_9_0 -) + QString model() const; +%End +%If (Qt_5_9_0 -) + QString serialNumber() const; +%End +%If (Qt_5_15_0 -) + QScreen *virtualSiblingAt(QPoint point); +%End + +private: + QScreen(const QScreen &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsessionmanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsessionmanager.sip new file mode 100644 index 00000000..736fd344 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsessionmanager.sip @@ -0,0 +1,62 @@ +// qsessionmanager.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SessionManager) + +class QSessionManager : QObject +{ +%TypeHeaderCode +#include +%End + + QSessionManager(QGuiApplication *app /TransferThis/, QString &id, QString &key); + virtual ~QSessionManager(); + +public: + QString sessionId() const; + QString sessionKey() const; + bool allowsInteraction(); + bool allowsErrorInteraction(); + void release(); + void cancel(); + + enum RestartHint + { + RestartIfRunning, + RestartAnyway, + RestartImmediately, + RestartNever, + }; + + void setRestartHint(QSessionManager::RestartHint); + QSessionManager::RestartHint restartHint() const; + void setRestartCommand(const QStringList &); + QStringList restartCommand() const; + void setDiscardCommand(const QStringList &); + QStringList discardCommand() const; + void setManagerProperty(const QString &name, const QString &value); + void setManagerProperty(const QString &name, const QStringList &value); + bool isPhase2() const; + void requestPhase2(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstandarditemmodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstandarditemmodel.sip new file mode 100644 index 00000000..329e288e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstandarditemmodel.sip @@ -0,0 +1,223 @@ +// qstandarditemmodel.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStandardItemModel : QAbstractItemModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QStandardItemModel(QObject *parent /TransferThis/ = 0); + QStandardItemModel(int rows, int columns, QObject *parent /TransferThis/ = 0); + virtual ~QStandardItemModel(); + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual QModelIndex parent(const QModelIndex &child) const; + QObject *parent() const; + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const; + virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role = Qt::EditRole); + virtual bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool insertColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + void clear(); + virtual Qt::DropActions supportedDropActions() const; + virtual QMap itemData(const QModelIndex &index) const; + virtual bool setItemData(const QModelIndex &index, const QMap &roles); + virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); + QStandardItem *itemFromIndex(const QModelIndex &index) const; + QModelIndex indexFromItem(const QStandardItem *item) const; + QStandardItem *item(int row, int column = 0) const; + void setItem(int row, int column, QStandardItem *item /Transfer/); + void setItem(int arow, QStandardItem *aitem /Transfer/); + QStandardItem *invisibleRootItem() const /Transfer/; + QStandardItem *horizontalHeaderItem(int column) const; + void setHorizontalHeaderItem(int column, QStandardItem *item /Transfer/); + QStandardItem *verticalHeaderItem(int row) const; + void setVerticalHeaderItem(int row, QStandardItem *item /Transfer/); + void setHorizontalHeaderLabels(const QStringList &labels); + void setVerticalHeaderLabels(const QStringList &labels); + void setRowCount(int rows); + void setColumnCount(int columns); + void appendRow(const QList &items /Transfer/); + void appendColumn(const QList &items /Transfer/); + void insertRow(int row, const QList &items /Transfer/); + void insertColumn(int column, const QList &items /Transfer/); + QStandardItem *takeItem(int row, int column = 0) /TransferBack/; + QList takeRow(int row) /TransferBack/; + QList takeColumn(int column) /TransferBack/; + QStandardItem *takeHorizontalHeaderItem(int column) /TransferBack/; + QStandardItem *takeVerticalHeaderItem(int row) /TransferBack/; + const QStandardItem *itemPrototype() const; + void setItemPrototype(const QStandardItem *item /Transfer/); + QList findItems(const QString &text, Qt::MatchFlags flags = Qt::MatchExactly, int column = 0) const; + int sortRole() const; + void setSortRole(int role); + void appendRow(QStandardItem *aitem /Transfer/); + void insertRow(int arow, QStandardItem *aitem /Transfer/); + bool insertRow(int row, const QModelIndex &parent = QModelIndex()); + bool insertColumn(int column, const QModelIndex &parent = QModelIndex()); + virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QModelIndexList &indexes) const /TransferBack/; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; + void setItemRoleNames(const QHash &roleNames); + +signals: + void itemChanged(QStandardItem *item); + +public: +%If (Qt_5_12_0 -) + bool clearItemData(const QModelIndex &index); +%End +}; + +class QStandardItem /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + QStandardItem(); + explicit QStandardItem(const QString &text); + QStandardItem(const QIcon &icon, const QString &text); + QStandardItem(int rows, int columns = 1); + virtual ~QStandardItem(); + virtual QVariant data(int role = Qt::UserRole + 1) const; + virtual void setData(const QVariant &value, int role = Qt::UserRole + 1); + QString text() const; + QIcon icon() const; + QString toolTip() const; + QString statusTip() const; + QString whatsThis() const; + QSize sizeHint() const; + QFont font() const; + Qt::Alignment textAlignment() const; + QBrush background() const; + QBrush foreground() const; + Qt::CheckState checkState() const; + QString accessibleText() const; + QString accessibleDescription() const; + Qt::ItemFlags flags() const; + void setFlags(Qt::ItemFlags flags); + bool isEnabled() const; + void setEnabled(bool enabled); + bool isEditable() const; + void setEditable(bool editable); + bool isSelectable() const; + void setSelectable(bool selectable); + bool isCheckable() const; + void setCheckable(bool checkable); + bool isTristate() const; + void setTristate(bool tristate); + bool isDragEnabled() const; + void setDragEnabled(bool dragEnabled); + bool isDropEnabled() const; + void setDropEnabled(bool dropEnabled); + QStandardItem *parent() const; + int row() const; + int column() const; + QModelIndex index() const; + QStandardItemModel *model() const; + int rowCount() const; + void setRowCount(int rows); + int columnCount() const; + void setColumnCount(int columns); + bool hasChildren() const; + QStandardItem *child(int row, int column = 0) const; + void setChild(int row, int column, QStandardItem *item /Transfer/); + void setChild(int arow, QStandardItem *aitem /Transfer/); + void insertRow(int row, const QList &items /Transfer/); + void insertRow(int arow, QStandardItem *aitem /Transfer/); + void insertRows(int row, int count); + void insertColumn(int column, const QList &items /Transfer/); + void insertColumns(int column, int count); + void removeRow(int row); + void removeColumn(int column); + void removeRows(int row, int count); + void removeColumns(int column, int count); + QStandardItem *takeChild(int row, int column = 0) /TransferBack/; + QList takeRow(int row) /TransferBack/; + QList takeColumn(int column) /TransferBack/; + void sortChildren(int column, Qt::SortOrder order = Qt::AscendingOrder); + virtual QStandardItem *clone() const /Factory/; + + enum ItemType + { + Type, + UserType, + }; + + virtual int type() const; + virtual void read(QDataStream &in); + virtual void write(QDataStream &out) const; + virtual bool operator<(const QStandardItem &other /NoCopy/) const; + void setText(const QString &atext); + void setIcon(const QIcon &aicon); + void setToolTip(const QString &atoolTip); + void setStatusTip(const QString &astatusTip); + void setWhatsThis(const QString &awhatsThis); + void setSizeHint(const QSize &asizeHint); + void setFont(const QFont &afont); + void setTextAlignment(Qt::Alignment atextAlignment); + void setBackground(const QBrush &abrush); + void setForeground(const QBrush &abrush); + void setCheckState(Qt::CheckState acheckState); + void setAccessibleText(const QString &aaccessibleText); + void setAccessibleDescription(const QString &aaccessibleDescription); + void appendRow(const QList &items /Transfer/); + void appendRow(QStandardItem *aitem /Transfer/); + void appendColumn(const QList &items /Transfer/); + void insertRows(int row, const QList &items /Transfer/); + void appendRows(const QList &items /Transfer/); + +protected: + QStandardItem(const QStandardItem &other); + void emitDataChanged(); + +public: +%If (Qt_5_6_0 -) + bool isAutoTristate() const; +%End +%If (Qt_5_6_0 -) + void setAutoTristate(bool tristate); +%End +%If (Qt_5_6_0 -) + bool isUserTristate() const; +%End +%If (Qt_5_6_0 -) + void setUserTristate(bool tristate); +%End +%If (Qt_5_12_0 -) + void clearData(); +%End +}; + +QDataStream &operator>>(QDataStream &in, QStandardItem &item /Constrained/) /ReleaseGIL/; +QDataStream &operator<<(QDataStream &out, const QStandardItem &item /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstatictext.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstatictext.sip new file mode 100644 index 00000000..50250f05 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstatictext.sip @@ -0,0 +1,60 @@ +// qstatictext.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStaticText +{ +%TypeHeaderCode +#include +%End + +public: + enum PerformanceHint + { + ModerateCaching, + AggressiveCaching, + }; + + QStaticText(); +%If (Qt_5_10_0 -) + explicit QStaticText(const QString &text); +%End +%If (- Qt_5_10_0) + QStaticText(const QString &text); +%End + QStaticText(const QStaticText &other); + ~QStaticText(); + void setText(const QString &text); + QString text() const; + void setTextFormat(Qt::TextFormat textFormat); + Qt::TextFormat textFormat() const; + void setTextWidth(qreal textWidth); + qreal textWidth() const; + void setTextOption(const QTextOption &textOption); + QTextOption textOption() const; + QSizeF size() const; + void prepare(const QTransform &matrix = QTransform(), const QFont &font = QFont()); + void setPerformanceHint(QStaticText::PerformanceHint performanceHint); + QStaticText::PerformanceHint performanceHint() const; + bool operator==(const QStaticText &) const; + bool operator!=(const QStaticText &) const; + void swap(QStaticText &other /Constrained/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstylehints.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstylehints.sip new file mode 100644 index 00000000..e1cfdabd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qstylehints.sip @@ -0,0 +1,139 @@ +// qstylehints.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStyleHints : QObject +{ +%TypeHeaderCode +#include +%End + +public: + int mouseDoubleClickInterval() const; + int startDragDistance() const; + int startDragTime() const; + int startDragVelocity() const; + int keyboardInputInterval() const; + int keyboardAutoRepeatRate() const; + int cursorFlashTime() const; + bool showIsFullScreen() const; + int passwordMaskDelay() const; + qreal fontSmoothingGamma() const; + bool useRtlExtensions() const; +%If (Qt_5_1_0 -) + QChar passwordMaskCharacter() const; +%End +%If (Qt_5_2_0 -) + bool setFocusOnTouchRelease() const; +%End +%If (Qt_5_3_0 -) + int mousePressAndHoldInterval() const; +%End +%If (Qt_5_5_0 -) + Qt::TabFocusBehavior tabFocusBehavior() const; +%End +%If (Qt_5_5_0 -) + bool singleClickActivation() const; +%End + +signals: +%If (Qt_5_5_0 -) + void cursorFlashTimeChanged(int cursorFlashTime); +%End +%If (Qt_5_5_0 -) + void keyboardInputIntervalChanged(int keyboardInputInterval); +%End +%If (Qt_5_5_0 -) + void mouseDoubleClickIntervalChanged(int mouseDoubleClickInterval); +%End +%If (Qt_5_5_0 -) + void startDragDistanceChanged(int startDragDistance); +%End +%If (Qt_5_5_0 -) + void startDragTimeChanged(int startDragTime); +%End +%If (Qt_5_7_0 -) + void mousePressAndHoldIntervalChanged(int mousePressAndHoldInterval); +%End +%If (Qt_5_7_0 -) + void tabFocusBehaviorChanged(Qt::TabFocusBehavior tabFocusBehavior); +%End + +public: +%If (Qt_5_6_0 -) + bool showIsMaximized() const; +%End +%If (Qt_5_8_0 -) + bool useHoverEffects() const; +%End +%If (Qt_5_8_0 -) + void setUseHoverEffects(bool useHoverEffects); +%End + +signals: +%If (Qt_5_8_0 -) + void useHoverEffectsChanged(bool useHoverEffects); +%End + +public: +%If (Qt_5_9_0 -) + int wheelScrollLines() const; +%End + +signals: +%If (Qt_5_9_0 -) + void wheelScrollLinesChanged(int scrollLines); +%End + +public: +%If (Qt_5_10_0 -) + bool showShortcutsInContextMenus() const; +%End +%If (Qt_5_11_0 -) + int mouseQuickSelectionThreshold() const; +%End + +signals: +%If (Qt_5_11_0 -) + void mouseQuickSelectionThresholdChanged(int threshold); +%End + +public: +%If (Qt_5_13_0 -) + void setShowShortcutsInContextMenus(bool showShortcutsInContextMenus); +%End + +signals: +%If (Qt_5_13_0 -) + void showShortcutsInContextMenusChanged(bool); +%End + +public: +%If (Qt_5_14_0 -) + int mouseDoubleClickDistance() const; +%End +%If (Qt_5_14_0 -) + int touchDoubleTapDistance() const; +%End + +private: + QStyleHints(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsurface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsurface.sip new file mode 100644 index 00000000..3fcd79dc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsurface.sip @@ -0,0 +1,67 @@ +// qsurface.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSurface /Abstract/ +{ +%TypeHeaderCode +#include +%End + +public: + enum SurfaceClass + { + Window, +%If (Qt_5_1_0 -) + Offscreen, +%End + }; + + enum SurfaceType + { + RasterSurface, + OpenGLSurface, +%If (Qt_5_3_0 -) + RasterGLSurface, +%End +%If (Qt_5_9_0 -) + OpenVGSurface, +%End +%If (Qt_5_10_0 -) + VulkanSurface, +%End +%If (Qt_5_12_0 -) + MetalSurface, +%End + }; + + virtual ~QSurface(); + QSurface::SurfaceClass surfaceClass() const; + virtual QSurfaceFormat format() const = 0; + virtual QSurface::SurfaceType surfaceType() const = 0; + virtual QSize size() const = 0; +%If (Qt_5_3_0 -) + bool supportsOpenGL() const; +%End + +protected: + explicit QSurface(QSurface::SurfaceClass type); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsurfaceformat.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsurfaceformat.sip new file mode 100644 index 00000000..b8481013 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsurfaceformat.sip @@ -0,0 +1,147 @@ +// qsurfaceformat.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSurfaceFormat +{ +%TypeHeaderCode +#include +%End + +public: + enum FormatOption + { + StereoBuffers, + DebugContext, + DeprecatedFunctions, +%If (Qt_5_5_0 -) + ResetNotification, +%End + }; + + typedef QFlags FormatOptions; + + enum SwapBehavior + { + DefaultSwapBehavior, + SingleBuffer, + DoubleBuffer, + TripleBuffer, + }; + + enum RenderableType + { + DefaultRenderableType, + OpenGL, + OpenGLES, + OpenVG, + }; + + enum OpenGLContextProfile + { + NoProfile, + CoreProfile, + CompatibilityProfile, + }; + + QSurfaceFormat(); + QSurfaceFormat(QSurfaceFormat::FormatOptions options); + QSurfaceFormat(const QSurfaceFormat &other); + ~QSurfaceFormat(); + void setDepthBufferSize(int size); + int depthBufferSize() const; + void setStencilBufferSize(int size); + int stencilBufferSize() const; + void setRedBufferSize(int size); + int redBufferSize() const; + void setGreenBufferSize(int size); + int greenBufferSize() const; + void setBlueBufferSize(int size); + int blueBufferSize() const; + void setAlphaBufferSize(int size); + int alphaBufferSize() const; + void setSamples(int numSamples); + int samples() const; + void setSwapBehavior(QSurfaceFormat::SwapBehavior behavior); + QSurfaceFormat::SwapBehavior swapBehavior() const; + bool hasAlpha() const; + void setProfile(QSurfaceFormat::OpenGLContextProfile profile); + QSurfaceFormat::OpenGLContextProfile profile() const; + void setRenderableType(QSurfaceFormat::RenderableType type); + QSurfaceFormat::RenderableType renderableType() const; + void setMajorVersion(int majorVersion); + int majorVersion() const; + void setMinorVersion(int minorVersion); + int minorVersion() const; + void setStereo(bool enable); + void setOption(QSurfaceFormat::FormatOptions opt); + bool testOption(QSurfaceFormat::FormatOptions opt) const; + bool stereo() const; +%If (Qt_5_1_0 -) + QPair version() const; +%End +%If (Qt_5_1_0 -) + void setVersion(int major, int minor); +%End +%If (Qt_5_3_0 -) + void setOptions(QSurfaceFormat::FormatOptions options); +%End +%If (Qt_5_3_0 -) + void setOption(QSurfaceFormat::FormatOption option, bool on = true); +%End +%If (Qt_5_3_0 -) + bool testOption(QSurfaceFormat::FormatOption option) const; +%End +%If (Qt_5_3_0 -) + QSurfaceFormat::FormatOptions options() const; +%End +%If (Qt_5_3_0 -) + int swapInterval() const; +%End +%If (Qt_5_3_0 -) + void setSwapInterval(int interval); +%End +%If (Qt_5_4_0 -) + static void setDefaultFormat(const QSurfaceFormat &format); +%End +%If (Qt_5_4_0 -) + static QSurfaceFormat defaultFormat(); +%End +%If (Qt_5_10_0 -) + + enum ColorSpace + { + DefaultColorSpace, + sRGBColorSpace, + }; + +%End +%If (Qt_5_10_0 -) + QSurfaceFormat::ColorSpace colorSpace() const; +%End +%If (Qt_5_10_0 -) + void setColorSpace(QSurfaceFormat::ColorSpace colorSpace); +%End +}; + +bool operator==(const QSurfaceFormat &, const QSurfaceFormat &); +bool operator!=(const QSurfaceFormat &, const QSurfaceFormat &); +QFlags operator|(QSurfaceFormat::FormatOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsyntaxhighlighter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsyntaxhighlighter.sip new file mode 100644 index 00000000..16e27083 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qsyntaxhighlighter.sip @@ -0,0 +1,92 @@ +// qsyntaxhighlighter.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSyntaxHighlighter : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSyntaxHighlighter(QTextDocument *parent /TransferThis/); + explicit QSyntaxHighlighter(QObject *parent /TransferThis/); + virtual ~QSyntaxHighlighter(); + void setDocument(QTextDocument *doc /KeepReference/); + QTextDocument *document() const; + +public slots: + void rehighlight(); + void rehighlightBlock(const QTextBlock &block); + +protected: + virtual void highlightBlock(const QString &text) = 0; + void setFormat(int start, int count, const QTextCharFormat &format); + void setFormat(int start, int count, const QColor &color); + void setFormat(int start, int count, const QFont &font); + QTextCharFormat format(int pos) const; + int previousBlockState() const; + int currentBlockState() const; + void setCurrentBlockState(int newState); + void setCurrentBlockUserData(QTextBlockUserData *data /GetWrapper/); +%MethodCode + // Ownership of the user data is with the document not the syntax highlighter. + + typedef PyObject *(*helper_func)(QObject *, const sipTypeDef *); + + static helper_func helper = 0; + + if (!helper) + { + helper = (helper_func)sipImportSymbol("qtgui_wrap_ancestors"); + Q_ASSERT(helper); + } + + QTextDocument *td = sipCpp->document(); + + if (td) + { + PyObject *py_td = helper(td, sipType_QTextDocument); + + if (!py_td) + { + sipIsErr = 1; + } + else + { + sipTransferTo(a0Wrapper, py_td); + Py_DECREF(py_td); + } + } + + #if defined(SIP_PROTECTED_IS_PUBLIC) + sipCpp->setCurrentBlockUserData(a0); + #else + sipCpp->sipProtect_setCurrentBlockUserData(a0); + #endif +%End + + QTextBlockUserData *currentBlockUserData() const; + QTextBlock currentBlock() const; + +private: + QSyntaxHighlighter(const QSyntaxHighlighter &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextcursor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextcursor.sip new file mode 100644 index 00000000..dd71c4b0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextcursor.sip @@ -0,0 +1,155 @@ +// qtextcursor.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextCursor +{ +%TypeHeaderCode +#include +%End + +public: + QTextCursor(); + explicit QTextCursor(QTextDocument *document); + explicit QTextCursor(QTextFrame *frame); + explicit QTextCursor(const QTextBlock &block); + QTextCursor(const QTextCursor &cursor); + ~QTextCursor(); + bool isNull() const; + + enum MoveMode + { + MoveAnchor, + KeepAnchor, + }; + + void setPosition(int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + int position() const; + int anchor() const; + void insertText(const QString &text); + void insertText(const QString &text, const QTextCharFormat &format); + + enum MoveOperation + { + NoMove, + Start, + Up, + StartOfLine, + StartOfBlock, + StartOfWord, + PreviousBlock, + PreviousCharacter, + PreviousWord, + Left, + WordLeft, + End, + Down, + EndOfLine, + EndOfWord, + EndOfBlock, + NextBlock, + NextCharacter, + NextWord, + Right, + WordRight, + NextCell, + PreviousCell, + NextRow, + PreviousRow, + }; + + bool movePosition(QTextCursor::MoveOperation op, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor, int n = 1); + void deleteChar(); + void deletePreviousChar(); + + enum SelectionType + { + WordUnderCursor, + LineUnderCursor, + BlockUnderCursor, + Document, + }; + + void select(QTextCursor::SelectionType selection); + bool hasSelection() const; + bool hasComplexSelection() const; + void removeSelectedText(); + void clearSelection(); + int selectionStart() const; + int selectionEnd() const; + QString selectedText() const; + QTextDocumentFragment selection() const; + void selectedTableCells(int *firstRow, int *numRows, int *firstColumn, int *numColumns) const; + QTextBlock block() const; + QTextCharFormat charFormat() const; + void setCharFormat(const QTextCharFormat &format); + void mergeCharFormat(const QTextCharFormat &modifier); + QTextBlockFormat blockFormat() const; + void setBlockFormat(const QTextBlockFormat &format); + void mergeBlockFormat(const QTextBlockFormat &modifier); + QTextCharFormat blockCharFormat() const; + void setBlockCharFormat(const QTextCharFormat &format); + void mergeBlockCharFormat(const QTextCharFormat &modifier); + bool atBlockStart() const; + bool atBlockEnd() const; + bool atStart() const; + bool atEnd() const; + void insertBlock(); + void insertBlock(const QTextBlockFormat &format); + void insertBlock(const QTextBlockFormat &format, const QTextCharFormat &charFormat); + QTextList *insertList(const QTextListFormat &format); + QTextList *insertList(QTextListFormat::Style style); + QTextList *createList(const QTextListFormat &format); + QTextList *createList(QTextListFormat::Style style); + QTextList *currentList() const; + QTextTable *insertTable(int rows, int cols, const QTextTableFormat &format); + QTextTable *insertTable(int rows, int cols); + QTextTable *currentTable() const; + QTextFrame *insertFrame(const QTextFrameFormat &format); + QTextFrame *currentFrame() const; + void insertFragment(const QTextDocumentFragment &fragment); + void insertHtml(const QString &html); + void insertImage(const QTextImageFormat &format); + void insertImage(const QTextImageFormat &format, QTextFrameFormat::Position alignment); + void insertImage(const QString &name); + void insertImage(const QImage &image, const QString &name = QString()); + void beginEditBlock(); + void joinPreviousEditBlock(); + void endEditBlock(); + int blockNumber() const; + int columnNumber() const; + bool operator!=(const QTextCursor &rhs) const; + bool operator<(const QTextCursor &rhs) const; + bool operator<=(const QTextCursor &rhs) const; + bool operator==(const QTextCursor &rhs) const; + bool operator>=(const QTextCursor &rhs) const; + bool operator>(const QTextCursor &rhs) const; + bool isCopyOf(const QTextCursor &other) const; + bool visualNavigation() const; + void setVisualNavigation(bool b); + QTextDocument *document() const; + int positionInBlock() const; + void setVerticalMovementX(int x); + int verticalMovementX() const; + void setKeepPositionOnInsert(bool b); + bool keepPositionOnInsert() const; + void swap(QTextCursor &other /Constrained/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocument.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocument.sip new file mode 100644 index 00000000..0e759484 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocument.sip @@ -0,0 +1,228 @@ +// qtextdocument.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace Qt +{ +%TypeHeaderCode +#include +%End + + bool mightBeRichText(const QString &); + QString convertFromPlainText(const QString &plain, Qt::WhiteSpaceMode mode = Qt::WhiteSpacePre); +}; + +class QTextDocument : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTextDocument(QObject *parent /TransferThis/ = 0); + QTextDocument(const QString &text, QObject *parent /TransferThis/ = 0); + virtual ~QTextDocument(); + QTextDocument *clone(QObject *parent /TransferThis/ = 0) const /Factory/; + bool isEmpty() const; + virtual void clear(); + void setUndoRedoEnabled(bool enable); + bool isUndoRedoEnabled() const; + bool isUndoAvailable() const; + bool isRedoAvailable() const; + void setDocumentLayout(QAbstractTextDocumentLayout *layout /Transfer/); + QAbstractTextDocumentLayout *documentLayout() const; + + enum MetaInformation + { + DocumentTitle, + DocumentUrl, + }; + + void setMetaInformation(QTextDocument::MetaInformation info, const QString &); + QString metaInformation(QTextDocument::MetaInformation info) const; + QString toHtml(const QByteArray &encoding = QByteArray()) const; + void setHtml(const QString &html); + QString toPlainText() const; + void setPlainText(const QString &text); + + enum FindFlag + { + FindBackward, + FindCaseSensitively, + FindWholeWords, + }; + + typedef QFlags FindFlags; + QTextCursor find(const QString &subString, int position = 0, QFlags options = 0) const; + QTextCursor find(const QRegExp &expr, int position = 0, QFlags options = 0) const; +%If (Qt_5_5_0 -) + QTextCursor find(const QRegularExpression &expr, int position = 0, QFlags options = 0) const; +%End + QTextCursor find(const QString &subString, const QTextCursor &cursor, QFlags options = 0) const; + QTextCursor find(const QRegExp &expr, const QTextCursor &cursor, QFlags options = 0) const; +%If (Qt_5_5_0 -) + QTextCursor find(const QRegularExpression &expr, const QTextCursor &cursor, QFlags options = 0) const; +%End + QTextFrame *rootFrame() const; + QTextObject *object(int objectIndex) const; + QTextObject *objectForFormat(const QTextFormat &) const; + QTextBlock findBlock(int pos) const; + QTextBlock begin() const; + QTextBlock end() const; + void setPageSize(const QSizeF &size); + QSizeF pageSize() const; + void setDefaultFont(const QFont &font); + QFont defaultFont() const; + int pageCount() const; + bool isModified() const; +%If (PyQt_Printer) + void print(QPagedPaintDevice *printer) const /PyName=print_/; +%End +%If (Py_v3) +%If (PyQt_Printer) + void print(QPagedPaintDevice *printer) const; +%End +%End + + enum ResourceType + { +%If (Qt_5_14_0 -) + UnknownResource, +%End + HtmlResource, + ImageResource, + StyleSheetResource, +%If (Qt_5_14_0 -) + MarkdownResource, +%End + UserResource, + }; + + QVariant resource(int type, const QUrl &name) const; + void addResource(int type, const QUrl &name, const QVariant &resource); + QVector allFormats() const; + void markContentsDirty(int from, int length); + void setUseDesignMetrics(bool b); + bool useDesignMetrics() const; + +signals: + void blockCountChanged(int newBlockCount); + void contentsChange(int from, int charsRemoves, int charsAdded); + void contentsChanged(); + void cursorPositionChanged(const QTextCursor &cursor); + void modificationChanged(bool m); + void redoAvailable(bool); + void undoAvailable(bool); + +public slots: + void undo(); + void redo(); + void setModified(bool on = true); + +protected: + virtual QTextObject *createObject(const QTextFormat &f) /Factory/; + virtual QVariant loadResource(int type, const QUrl &name); + +public: + void drawContents(QPainter *p, const QRectF &rect = QRectF()); + void setTextWidth(qreal width); + qreal textWidth() const; + qreal idealWidth() const; + void adjustSize(); + QSizeF size() const; + int blockCount() const; + void setDefaultStyleSheet(const QString &sheet); + QString defaultStyleSheet() const; + void undo(QTextCursor *cursor); + void redo(QTextCursor *cursor); + int maximumBlockCount() const; + void setMaximumBlockCount(int maximum); + QTextOption defaultTextOption() const; + void setDefaultTextOption(const QTextOption &option); + int revision() const; + QTextBlock findBlockByNumber(int blockNumber) const; + QTextBlock findBlockByLineNumber(int blockNumber) const; + QTextBlock firstBlock() const; + QTextBlock lastBlock() const; + qreal indentWidth() const; + void setIndentWidth(qreal width); + +signals: + void undoCommandAdded(); + void documentLayoutChanged(); + +public: + QChar characterAt(int pos) const; + qreal documentMargin() const; + void setDocumentMargin(qreal margin); + int lineCount() const; + int characterCount() const; + int availableUndoSteps() const; + int availableRedoSteps() const; + + enum Stacks + { + UndoStack, + RedoStack, + UndoAndRedoStacks, + }; + + void clearUndoRedoStacks(QTextDocument::Stacks stacks = QTextDocument::UndoAndRedoStacks); + Qt::CursorMoveStyle defaultCursorMoveStyle() const; + void setDefaultCursorMoveStyle(Qt::CursorMoveStyle style); +%If (Qt_5_3_0 -) + QUrl baseUrl() const; +%End +%If (Qt_5_3_0 -) + void setBaseUrl(const QUrl &url); +%End + +signals: +%If (Qt_5_3_0 -) + void baseUrlChanged(const QUrl &url); +%End + +public: +%If (Qt_5_9_0 -) + QString toRawText() const; +%End +%If (Qt_5_14_0 -) + + enum MarkdownFeature + { + MarkdownNoHTML, + MarkdownDialectCommonMark, + MarkdownDialectGitHub, + }; + +%End +%If (Qt_5_14_0 -) + typedef QFlags MarkdownFeatures; +%End +%If (Qt_5_14_0 -) + QString toMarkdown(QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub) const; +%End +%If (Qt_5_14_0 -) + void setMarkdown(const QString &markdown, QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub); +%End +}; + +QFlags operator|(QTextDocument::FindFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocumentfragment.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocumentfragment.sip new file mode 100644 index 00000000..617e3b4a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocumentfragment.sip @@ -0,0 +1,41 @@ +// qtextdocumentfragment.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextDocumentFragment +{ +%TypeHeaderCode +#include +%End + +public: + QTextDocumentFragment(); + explicit QTextDocumentFragment(const QTextDocument *document); + explicit QTextDocumentFragment(const QTextCursor &range); + QTextDocumentFragment(const QTextDocumentFragment &rhs); + ~QTextDocumentFragment(); + bool isEmpty() const; + QString toPlainText() const; + QString toHtml(const QByteArray &encoding = QByteArray()) const; + static QTextDocumentFragment fromPlainText(const QString &plainText); + static QTextDocumentFragment fromHtml(const QString &html); + static QTextDocumentFragment fromHtml(const QString &html, const QTextDocument *resourceProvider); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocumentwriter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocumentwriter.sip new file mode 100644 index 00000000..4c822445 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextdocumentwriter.sip @@ -0,0 +1,48 @@ +// qtextdocumentwriter.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextDocumentWriter +{ +%TypeHeaderCode +#include +%End + +public: + QTextDocumentWriter(); + QTextDocumentWriter(QIODevice *device, const QByteArray &format); + QTextDocumentWriter(const QString &fileName, const QByteArray &format = QByteArray()); + ~QTextDocumentWriter(); + void setFormat(const QByteArray &format); + QByteArray format() const; + void setDevice(QIODevice *device); + QIODevice *device() const; + void setFileName(const QString &fileName); + QString fileName() const; + bool write(const QTextDocument *document); + bool write(const QTextDocumentFragment &fragment); + void setCodec(QTextCodec *codec /KeepReference/); + QTextCodec *codec() const; + static QList supportedDocumentFormats(); + +private: + QTextDocumentWriter(const QTextDocumentWriter &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextformat.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextformat.sip new file mode 100644 index 00000000..1bd900d7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextformat.sip @@ -0,0 +1,746 @@ +// qtextformat.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextLength +{ +%TypeHeaderCode +#include +%End + +public: + enum Type + { + VariableLength, + FixedLength, + PercentageLength, + }; + + QTextLength(); + QTextLength::Type type() const; + QTextLength(QTextLength::Type atype, qreal avalue); + qreal value(qreal maximumLength) const; + qreal rawValue() const; + bool operator==(const QTextLength &other) const; + bool operator!=(const QTextLength &other) const; + QTextLength(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QTextLength(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End +}; + +QDataStream &operator<<(QDataStream &, const QTextLength & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QTextLength & /Constrained/) /ReleaseGIL/; + +class QTextFormat +{ +%TypeHeaderCode +#include +%End + +public: + enum FormatType + { + InvalidFormat, + BlockFormat, + CharFormat, + ListFormat, + TableFormat, + FrameFormat, + UserFormat, + }; + + enum ObjectTypes + { + NoObject, + ImageObject, + TableObject, + TableCellObject, + UserObject, + }; + + enum PageBreakFlag + { + PageBreak_Auto, + PageBreak_AlwaysBefore, + PageBreak_AlwaysAfter, + }; + + typedef QFlags PageBreakFlags; + + enum Property + { + ObjectIndex, + CssFloat, + LayoutDirection, + OutlinePen, + BackgroundBrush, + ForegroundBrush, + BlockAlignment, + BlockTopMargin, + BlockBottomMargin, + BlockLeftMargin, + BlockRightMargin, + TextIndent, + BlockIndent, + BlockNonBreakableLines, + BlockTrailingHorizontalRulerWidth, + FontFamily, + FontPointSize, + FontSizeAdjustment, + FontSizeIncrement, + FontWeight, + FontItalic, + FontUnderline, + FontOverline, + FontStrikeOut, + FontFixedPitch, + FontPixelSize, + TextUnderlineColor, + TextVerticalAlignment, + TextOutline, + IsAnchor, + AnchorHref, + AnchorName, + ObjectType, + ListStyle, + ListIndent, + FrameBorder, + FrameMargin, + FramePadding, + FrameWidth, + FrameHeight, + TableColumns, + TableColumnWidthConstraints, + TableCellSpacing, + TableCellPadding, + TableCellRowSpan, + TableCellColumnSpan, + ImageName, + ImageWidth, + ImageHeight, + TextUnderlineStyle, + TableHeaderRowCount, + FullWidthSelection, + PageBreakPolicy, + TextToolTip, + FrameTopMargin, + FrameBottomMargin, + FrameLeftMargin, + FrameRightMargin, + FrameBorderBrush, + FrameBorderStyle, + BackgroundImageUrl, + TabPositions, + FirstFontProperty, + FontCapitalization, + FontLetterSpacing, + FontWordSpacing, + LastFontProperty, + TableCellTopPadding, + TableCellBottomPadding, + TableCellLeftPadding, + TableCellRightPadding, + FontStyleHint, + FontStyleStrategy, + FontKerning, + LineHeight, + LineHeightType, + FontHintingPreference, + ListNumberPrefix, + ListNumberSuffix, + FontStretch, + FontLetterSpacingType, +%If (Qt_5_12_0 -) + HeadingLevel, +%End +%If (Qt_5_12_0 -) + ImageQuality, +%End +%If (Qt_5_13_0 -) + FontFamilies, +%End +%If (Qt_5_13_0 -) + FontStyleName, +%End +%If (Qt_5_14_0 -) + BlockQuoteLevel, +%End +%If (Qt_5_14_0 -) + BlockCodeLanguage, +%End +%If (Qt_5_14_0 -) + BlockCodeFence, +%End +%If (Qt_5_14_0 -) + BlockMarker, +%End +%If (Qt_5_14_0 -) + TableBorderCollapse, +%End +%If (Qt_5_14_0 -) + TableCellTopBorder, +%End +%If (Qt_5_14_0 -) + TableCellBottomBorder, +%End +%If (Qt_5_14_0 -) + TableCellLeftBorder, +%End +%If (Qt_5_14_0 -) + TableCellRightBorder, +%End +%If (Qt_5_14_0 -) + TableCellTopBorderStyle, +%End +%If (Qt_5_14_0 -) + TableCellBottomBorderStyle, +%End +%If (Qt_5_14_0 -) + TableCellLeftBorderStyle, +%End +%If (Qt_5_14_0 -) + TableCellRightBorderStyle, +%End +%If (Qt_5_14_0 -) + TableCellTopBorderBrush, +%End +%If (Qt_5_14_0 -) + TableCellBottomBorderBrush, +%End +%If (Qt_5_14_0 -) + TableCellLeftBorderBrush, +%End +%If (Qt_5_14_0 -) + TableCellRightBorderBrush, +%End +%If (Qt_5_14_0 -) + ImageTitle, +%End +%If (Qt_5_14_0 -) + ImageAltText, +%End + UserProperty, + }; + + QTextFormat(); + explicit QTextFormat(int type); + QTextFormat(const QTextFormat &rhs); + QTextFormat(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QTextFormat(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + ~QTextFormat(); + void merge(const QTextFormat &other); + bool isValid() const; + int type() const; + int objectIndex() const; + void setObjectIndex(int object); + QVariant property(int propertyId) const; + void setProperty(int propertyId, const QVariant &value); + void clearProperty(int propertyId); + bool hasProperty(int propertyId) const; + bool boolProperty(int propertyId) const; + int intProperty(int propertyId) const; + qreal doubleProperty(int propertyId) const; + QString stringProperty(int propertyId) const; + QColor colorProperty(int propertyId) const; + QPen penProperty(int propertyId) const; + QBrush brushProperty(int propertyId) const; + QTextLength lengthProperty(int propertyId) const; + QVector lengthVectorProperty(int propertyId) const; + void setProperty(int propertyId, const QVector &lengths); + QMap properties() const; + int objectType() const; + bool isCharFormat() const; + bool isBlockFormat() const; + bool isListFormat() const; + bool isFrameFormat() const; + bool isImageFormat() const; + bool isTableFormat() const; + QTextBlockFormat toBlockFormat() const; + QTextCharFormat toCharFormat() const; + QTextListFormat toListFormat() const; + QTextTableFormat toTableFormat() const; + QTextFrameFormat toFrameFormat() const; + QTextImageFormat toImageFormat() const; + bool operator==(const QTextFormat &rhs) const; + bool operator!=(const QTextFormat &rhs) const; + void setLayoutDirection(Qt::LayoutDirection direction); + Qt::LayoutDirection layoutDirection() const; + void setBackground(const QBrush &brush); + QBrush background() const; + void clearBackground(); + void setForeground(const QBrush &brush); + QBrush foreground() const; + void clearForeground(); + void setObjectType(int atype); + int propertyCount() const; + bool isTableCellFormat() const; + QTextTableCellFormat toTableCellFormat() const; + void swap(QTextFormat &other /Constrained/); +%If (Qt_5_3_0 -) + bool isEmpty() const; +%End +}; + +QDataStream &operator<<(QDataStream &, const QTextFormat & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QTextFormat & /Constrained/) /ReleaseGIL/; + +class QTextCharFormat : QTextFormat +{ +%TypeHeaderCode +#include +%End + +public: + enum VerticalAlignment + { + AlignNormal, + AlignSuperScript, + AlignSubScript, + AlignMiddle, + AlignTop, + AlignBottom, + AlignBaseline, + }; + + QTextCharFormat(); + bool isValid() const; + void setFont(const QFont &font); + QFont font() const; + void setFontFamily(const QString &family); + QString fontFamily() const; + void setFontPointSize(qreal size); + qreal fontPointSize() const; + void setFontWeight(int weight); + int fontWeight() const; + void setFontItalic(bool italic); + bool fontItalic() const; + void setFontUnderline(bool underline); + bool fontUnderline() const; + void setFontOverline(bool overline); + bool fontOverline() const; + void setFontStrikeOut(bool strikeOut); + bool fontStrikeOut() const; + void setUnderlineColor(const QColor &color); + QColor underlineColor() const; + void setFontFixedPitch(bool fixedPitch); + bool fontFixedPitch() const; + void setVerticalAlignment(QTextCharFormat::VerticalAlignment alignment); + QTextCharFormat::VerticalAlignment verticalAlignment() const; + void setAnchor(bool anchor); + bool isAnchor() const; + void setAnchorHref(const QString &value); + QString anchorHref() const; + int tableCellRowSpan() const; + int tableCellColumnSpan() const; + void setTableCellRowSpan(int atableCellRowSpan); + void setTableCellColumnSpan(int atableCellColumnSpan); + void setTextOutline(const QPen &pen); + QPen textOutline() const; + + enum UnderlineStyle + { + NoUnderline, + SingleUnderline, + DashUnderline, + DotLine, + DashDotLine, + DashDotDotLine, + WaveUnderline, + SpellCheckUnderline, + }; + + void setUnderlineStyle(QTextCharFormat::UnderlineStyle style); + QTextCharFormat::UnderlineStyle underlineStyle() const; + void setToolTip(const QString &tip); + QString toolTip() const; + void setAnchorNames(const QStringList &names); + QStringList anchorNames() const; + void setFontCapitalization(QFont::Capitalization capitalization); + QFont::Capitalization fontCapitalization() const; + void setFontLetterSpacing(qreal spacing); + qreal fontLetterSpacing() const; + void setFontWordSpacing(qreal spacing); + qreal fontWordSpacing() const; + void setFontStyleHint(QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); + void setFontStyleStrategy(QFont::StyleStrategy strategy); + QFont::StyleHint fontStyleHint() const; + QFont::StyleStrategy fontStyleStrategy() const; + void setFontKerning(bool enable); + bool fontKerning() const; + void setFontHintingPreference(QFont::HintingPreference hintingPreference); + QFont::HintingPreference fontHintingPreference() const; + int fontStretch() const; + void setFontStretch(int factor); + void setFontLetterSpacingType(QFont::SpacingType letterSpacingType); + QFont::SpacingType fontLetterSpacingType() const; +%If (Qt_5_3_0 -) + + enum FontPropertiesInheritanceBehavior + { + FontPropertiesSpecifiedOnly, + FontPropertiesAll, + }; + +%End +%If (Qt_5_3_0 -) + void setFont(const QFont &font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior); +%End +%If (Qt_5_13_0 -) + void setFontFamilies(const QStringList &families); +%End +%If (Qt_5_13_0 -) + QVariant fontFamilies() const; +%End +%If (Qt_5_13_0 -) + void setFontStyleName(const QString &styleName); +%End +%If (Qt_5_13_0 -) + QVariant fontStyleName() const; +%End +}; + +class QTextBlockFormat : QTextFormat +{ +%TypeHeaderCode +#include +%End + +public: + QTextBlockFormat(); + bool isValid() const; + Qt::Alignment alignment() const; + void setTopMargin(qreal margin); + qreal topMargin() const; + void setBottomMargin(qreal margin); + qreal bottomMargin() const; + void setLeftMargin(qreal margin); + qreal leftMargin() const; + void setRightMargin(qreal margin); + qreal rightMargin() const; + void setTextIndent(qreal margin); + qreal textIndent() const; + int indent() const; + void setNonBreakableLines(bool b); + bool nonBreakableLines() const; + void setAlignment(Qt::Alignment aalignment); + void setIndent(int aindent); + void setPageBreakPolicy(QTextFormat::PageBreakFlags flags); + QTextFormat::PageBreakFlags pageBreakPolicy() const; + void setTabPositions(const QList &tabs); + QList tabPositions() const; + + enum LineHeightTypes + { + SingleHeight, + ProportionalHeight, + FixedHeight, + MinimumHeight, + LineDistanceHeight, + }; + + void setLineHeight(qreal height, int heightType); + qreal lineHeight() const; + qreal lineHeight(qreal scriptLineHeight, qreal scaling = 1.) const; + int lineHeightType() const; +%If (Qt_5_12_0 -) + void setHeadingLevel(int alevel); +%End +%If (Qt_5_12_0 -) + int headingLevel() const; +%End +%If (Qt_5_14_0 -) + + enum class MarkerType + { + NoMarker, + Unchecked, + Checked, + }; + +%End +%If (Qt_5_14_0 -) + void setMarker(QTextBlockFormat::MarkerType marker); +%End +%If (Qt_5_14_0 -) + QTextBlockFormat::MarkerType marker() const; +%End +}; + +class QTextListFormat : QTextFormat +{ +%TypeHeaderCode +#include +%End + +public: + QTextListFormat(); + bool isValid() const; + + enum Style + { + ListDisc, + ListCircle, + ListSquare, + ListDecimal, + ListLowerAlpha, + ListUpperAlpha, + ListLowerRoman, + ListUpperRoman, + }; + + QTextListFormat::Style style() const; + int indent() const; + void setStyle(QTextListFormat::Style astyle); + void setIndent(int aindent); + QString numberPrefix() const; + QString numberSuffix() const; + void setNumberPrefix(const QString &np); + void setNumberSuffix(const QString &ns); +}; + +class QTextImageFormat : QTextCharFormat +{ +%TypeHeaderCode +#include +%End + +public: + QTextImageFormat(); + bool isValid() const; + QString name() const; + qreal width() const; + qreal height() const; +%If (Qt_5_12_0 -) + int quality() const; +%End + void setName(const QString &aname); + void setWidth(qreal awidth); + void setHeight(qreal aheight); +%If (Qt_5_12_0 -) + void setQuality(int quality = 100); +%End +}; + +class QTextFrameFormat : QTextFormat +{ +%TypeHeaderCode +#include +%End + +public: + QTextFrameFormat(); + bool isValid() const; + + enum Position + { + InFlow, + FloatLeft, + FloatRight, + }; + + void setPosition(QTextFrameFormat::Position f); + QTextFrameFormat::Position position() const; + qreal border() const; + qreal margin() const; + qreal padding() const; + void setWidth(const QTextLength &length); + QTextLength width() const; + QTextLength height() const; + void setBorder(qreal aborder); + void setMargin(qreal amargin); + void setPadding(qreal apadding); + void setWidth(qreal awidth); + void setHeight(qreal aheight); + void setHeight(const QTextLength &aheight); + void setPageBreakPolicy(QTextFormat::PageBreakFlags flags); + QTextFormat::PageBreakFlags pageBreakPolicy() const; + + enum BorderStyle + { + BorderStyle_None, + BorderStyle_Dotted, + BorderStyle_Dashed, + BorderStyle_Solid, + BorderStyle_Double, + BorderStyle_DotDash, + BorderStyle_DotDotDash, + BorderStyle_Groove, + BorderStyle_Ridge, + BorderStyle_Inset, + BorderStyle_Outset, + }; + + void setBorderBrush(const QBrush &brush); + QBrush borderBrush() const; + void setBorderStyle(QTextFrameFormat::BorderStyle style); + QTextFrameFormat::BorderStyle borderStyle() const; + qreal topMargin() const; + qreal bottomMargin() const; + qreal leftMargin() const; + qreal rightMargin() const; + void setTopMargin(qreal amargin); + void setBottomMargin(qreal amargin); + void setLeftMargin(qreal amargin); + void setRightMargin(qreal amargin); +}; + +class QTextTableFormat : QTextFrameFormat +{ +%TypeHeaderCode +#include +%End + +public: + QTextTableFormat(); + bool isValid() const; + int columns() const; + void setColumnWidthConstraints(const QVector &constraints); + QVector columnWidthConstraints() const; + void clearColumnWidthConstraints(); + qreal cellSpacing() const; + void setCellSpacing(qreal spacing); + qreal cellPadding() const; + Qt::Alignment alignment() const; + void setColumns(int acolumns); + void setCellPadding(qreal apadding); + void setAlignment(Qt::Alignment aalignment); + void setHeaderRowCount(int count); + int headerRowCount() const; +%If (Qt_5_14_0 -) + void setBorderCollapse(bool borderCollapse); +%End +%If (Qt_5_14_0 -) + bool borderCollapse() const; +%End +}; + +QFlags operator|(QTextFormat::PageBreakFlag f1, QFlags f2); + +class QTextTableCellFormat : QTextCharFormat +{ +%TypeHeaderCode +#include +%End + +public: + QTextTableCellFormat(); + bool isValid() const; + void setTopPadding(qreal padding); + qreal topPadding() const; + void setBottomPadding(qreal padding); + qreal bottomPadding() const; + void setLeftPadding(qreal padding); + qreal leftPadding() const; + void setRightPadding(qreal padding); + qreal rightPadding() const; + void setPadding(qreal padding); +%If (Qt_5_14_0 -) + void setTopBorder(qreal width); +%End +%If (Qt_5_14_0 -) + qreal topBorder() const; +%End +%If (Qt_5_14_0 -) + void setBottomBorder(qreal width); +%End +%If (Qt_5_14_0 -) + qreal bottomBorder() const; +%End +%If (Qt_5_14_0 -) + void setLeftBorder(qreal width); +%End +%If (Qt_5_14_0 -) + qreal leftBorder() const; +%End +%If (Qt_5_14_0 -) + void setRightBorder(qreal width); +%End +%If (Qt_5_14_0 -) + qreal rightBorder() const; +%End +%If (Qt_5_14_0 -) + void setBorder(qreal width); +%End +%If (Qt_5_14_0 -) + void setTopBorderStyle(QTextFrameFormat::BorderStyle style); +%End +%If (Qt_5_14_0 -) + QTextFrameFormat::BorderStyle topBorderStyle() const; +%End +%If (Qt_5_14_0 -) + void setBottomBorderStyle(QTextFrameFormat::BorderStyle style); +%End +%If (Qt_5_14_0 -) + QTextFrameFormat::BorderStyle bottomBorderStyle() const; +%End +%If (Qt_5_14_0 -) + void setLeftBorderStyle(QTextFrameFormat::BorderStyle style); +%End +%If (Qt_5_14_0 -) + QTextFrameFormat::BorderStyle leftBorderStyle() const; +%End +%If (Qt_5_14_0 -) + void setRightBorderStyle(QTextFrameFormat::BorderStyle style); +%End +%If (Qt_5_14_0 -) + QTextFrameFormat::BorderStyle rightBorderStyle() const; +%End +%If (Qt_5_14_0 -) + void setBorderStyle(QTextFrameFormat::BorderStyle style); +%End +%If (Qt_5_14_0 -) + void setTopBorderBrush(const QBrush &brush); +%End +%If (Qt_5_14_0 -) + QBrush topBorderBrush() const; +%End +%If (Qt_5_14_0 -) + void setBottomBorderBrush(const QBrush &brush); +%End +%If (Qt_5_14_0 -) + QBrush bottomBorderBrush() const; +%End +%If (Qt_5_14_0 -) + void setLeftBorderBrush(const QBrush &brush); +%End +%If (Qt_5_14_0 -) + QBrush leftBorderBrush() const; +%End +%If (Qt_5_14_0 -) + void setRightBorderBrush(const QBrush &brush); +%End +%If (Qt_5_14_0 -) + QBrush rightBorderBrush() const; +%End +%If (Qt_5_14_0 -) + void setBorderBrush(const QBrush &brush); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextlayout.sip new file mode 100644 index 00000000..db42d057 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextlayout.sip @@ -0,0 +1,185 @@ +// qtextlayout.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextInlineObject +{ +%TypeHeaderCode +#include +%End + +public: + bool isValid() const; + QRectF rect() const; + qreal width() const; + qreal ascent() const; + qreal descent() const; + qreal height() const; + Qt::LayoutDirection textDirection() const; + void setWidth(qreal w); + void setAscent(qreal a); + void setDescent(qreal d); + int textPosition() const; + int formatIndex() const; + QTextFormat format() const; +}; + +class QTextLayout +{ +%TypeHeaderCode +#include +%End + +public: + QTextLayout(); + QTextLayout(const QString &text); + QTextLayout(const QString &text, const QFont &font, QPaintDevice *paintDevice = 0); + QTextLayout(const QTextBlock &b); + ~QTextLayout(); + void setFont(const QFont &f); + QFont font() const; + void setText(const QString &string); + QString text() const; + void setTextOption(const QTextOption &option); + const QTextOption &textOption() const; + void setPreeditArea(int position, const QString &text); + int preeditAreaPosition() const; + QString preeditAreaText() const; + + struct FormatRange + { +%TypeHeaderCode +#include +%End + + int start; + int length; + QTextCharFormat format; + }; + + void setAdditionalFormats(const QList &overrides); + QList additionalFormats() const; + void clearAdditionalFormats(); + void setCacheEnabled(bool enable); + bool cacheEnabled() const; + void beginLayout(); + void endLayout(); + QTextLine createLine(); + int lineCount() const; + QTextLine lineAt(int i) const; + QTextLine lineForTextPosition(int pos) const; + + enum CursorMode + { + SkipCharacters, + SkipWords, + }; + + bool isValidCursorPosition(int pos) const; + int nextCursorPosition(int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; + int previousCursorPosition(int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; + void draw(QPainter *p, const QPointF &pos, const QVector &selections = QVector(), const QRectF &clip = QRectF()) const; + void drawCursor(QPainter *p, const QPointF &pos, int cursorPosition) const; + void drawCursor(QPainter *p, const QPointF &pos, int cursorPosition, int width) const; + QPointF position() const; + void setPosition(const QPointF &p); + QRectF boundingRect() const; + qreal minimumWidth() const; + qreal maximumWidth() const; + void clearLayout(); + void setCursorMoveStyle(Qt::CursorMoveStyle style); + Qt::CursorMoveStyle cursorMoveStyle() const; + int leftCursorPosition(int oldPos) const; + int rightCursorPosition(int oldPos) const; +%If (PyQt_RawFont) + QList glyphRuns(int from = -1, int length = -1) const; +%End +%If (Qt_5_6_0 -) + void setFormats(const QVector &overrides); +%End +%If (Qt_5_6_0 -) + QVector formats() const; +%End +%If (Qt_5_6_0 -) + void clearFormats(); +%End + +private: + QTextLayout(const QTextLayout &); +}; + +class QTextLine +{ +%TypeHeaderCode +#include +%End + +public: + QTextLine(); + bool isValid() const; + QRectF rect() const; + qreal x() const; + qreal y() const; + qreal width() const; + qreal ascent() const; + qreal descent() const; + qreal height() const; + qreal naturalTextWidth() const; + QRectF naturalTextRect() const; + + enum Edge + { + Leading, + Trailing, + }; + + enum CursorPosition + { + CursorBetweenCharacters, + CursorOnCharacter, + }; + + qreal cursorToX(int *cursorPos /In,Out/, QTextLine::Edge edge = QTextLine::Leading) const; + int xToCursor(qreal x, QTextLine::CursorPosition edge = QTextLine::CursorBetweenCharacters) const; + void setLineWidth(qreal width); + void setNumColumns(int columns); + void setNumColumns(int columns, qreal alignmentWidth); + void setPosition(const QPointF &pos); + int textStart() const; + int textLength() const; + int lineNumber() const; + void draw(QPainter *painter, const QPointF &position, const QTextLayout::FormatRange *selection = 0) const; + QPointF position() const; + qreal leading() const; + void setLeadingIncluded(bool included); + bool leadingIncluded() const; + qreal horizontalAdvance() const; +%If (PyQt_RawFont) + QList glyphRuns(int from = -1, int length = -1) const; +%End +}; + +%If (Qt_5_6_0 -) +bool operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs); +%End +%If (Qt_5_6_0 -) +bool operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextlist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextlist.sip new file mode 100644 index 00000000..e1eec9c2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextlist.sip @@ -0,0 +1,44 @@ +// qtextlist.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextList : QTextBlockGroup +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTextList(QTextDocument *doc); + virtual ~QTextList(); + int count() const /__len__/; + QTextBlock item(int i) const; + int itemNumber(const QTextBlock &) const; + QString itemText(const QTextBlock &) const; + void removeItem(int i); + void remove(const QTextBlock &); + void add(const QTextBlock &block); + QTextListFormat format() const; + void setFormat(const QTextListFormat &aformat); + +private: + QTextList(const QTextList &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextobject.sip new file mode 100644 index 00000000..8c0a8065 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextobject.sip @@ -0,0 +1,296 @@ +// qtextobject.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextObject : QObject +{ +%TypeHeaderCode +#include +%End + +protected: + explicit QTextObject(QTextDocument *doc); + virtual ~QTextObject(); + void setFormat(const QTextFormat &format); + +public: + QTextFormat format() const; + int formatIndex() const; + QTextDocument *document() const; + int objectIndex() const; +}; + +class QTextBlockGroup : QTextObject +{ +%TypeHeaderCode +#include +%End + +protected: + explicit QTextBlockGroup(QTextDocument *doc); + virtual ~QTextBlockGroup(); + virtual void blockInserted(const QTextBlock &block); + virtual void blockRemoved(const QTextBlock &block); + virtual void blockFormatChanged(const QTextBlock &block); + QList blockList() const; +}; + +class QTextFrame : QTextObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTextFrame(QTextDocument *doc); + virtual ~QTextFrame(); + QTextFrameFormat frameFormat() const; + QTextCursor firstCursorPosition() const; + QTextCursor lastCursorPosition() const; + int firstPosition() const; + int lastPosition() const; + QList childFrames() const; + QTextFrame *parentFrame() const; + + class iterator + { +%TypeHeaderCode +#include +%End + + public: + iterator(); + iterator(const QTextFrame::iterator &o); + QTextFrame *parentFrame() const; + QTextFrame *currentFrame() const; + QTextBlock currentBlock() const; + bool atEnd() const; + bool operator==(const QTextFrame::iterator &o) const; + bool operator!=(const QTextFrame::iterator &o) const; + QTextFrame::iterator &operator+=(int); +%MethodCode + if (a0 > 0) + while (a0--) + (*sipCpp)++; + else if (a0 < 0) + while (a0++) + (*sipCpp)--; +%End + + QTextFrame::iterator &operator-=(int); +%MethodCode + if (a0 > 0) + while (a0--) + (*sipCpp)--; + else if (a0 < 0) + while (a0++) + (*sipCpp)++; +%End + }; + + typedef QTextFrame::iterator Iterator; + QTextFrame::iterator begin() const; + QTextFrame::iterator end() const; + void setFrameFormat(const QTextFrameFormat &aformat); +}; + +class QTextBlock /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + QTextBlock(); + QTextBlock(const QTextBlock &o); + bool isValid() const; + bool operator==(const QTextBlock &o) const; + bool operator!=(const QTextBlock &o) const; + bool operator<(const QTextBlock &o) const; + int position() const; + int length() const; + bool contains(int position) const; + QTextLayout *layout() const; + QTextBlockFormat blockFormat() const; + int blockFormatIndex() const; + QTextCharFormat charFormat() const; + int charFormatIndex() const; + QString text() const; + const QTextDocument *document() const; + QTextList *textList() const; + + class iterator + { +%TypeHeaderCode +#include +%End + + public: + iterator(); + iterator(const QTextBlock::iterator &o); + QTextFragment fragment() const; + bool atEnd() const; + bool operator==(const QTextBlock::iterator &o) const; + bool operator!=(const QTextBlock::iterator &o) const; + QTextBlock::iterator &operator+=(int); +%MethodCode + if (a0 > 0) + while (a0--) + (*sipCpp)++; + else if (a0 < 0) + while (a0++) + (*sipCpp)--; +%End + + QTextBlock::iterator &operator-=(int); +%MethodCode + if (a0 > 0) + while (a0--) + (*sipCpp)--; + else if (a0 < 0) + while (a0++) + (*sipCpp)++; +%End + }; + + typedef QTextBlock::iterator Iterator; + QTextBlock::iterator begin() const; + QTextBlock::iterator end() const; + QTextBlock next() const; + QTextBlock previous() const; + QTextBlockUserData *userData() const; + void setUserData(QTextBlockUserData *data /GetWrapper/); +%MethodCode + // Ownership of the user data is with the document not the text block. + const QTextDocument *td = sipCpp->document(); + + if (td) + { + PyObject *py_td = qtgui_wrap_ancestors(const_cast(td), + sipType_QTextDocument); + + if (!py_td) + { + sipIsErr = 1; + } + else + { + sipTransferTo(a0Wrapper, py_td); + Py_DECREF(py_td); + } + } + + sipCpp->setUserData(a0); +%End + + int userState() const; + void setUserState(int state); + void clearLayout(); + int revision() const; + void setRevision(int rev); + bool isVisible() const; + void setVisible(bool visible); + int blockNumber() const; + int firstLineNumber() const; + void setLineCount(int count); + int lineCount() const; + Qt::LayoutDirection textDirection() const; +%If (Qt_5_3_0 -) + QVector textFormats() const; +%End +}; + +class QTextFragment +{ +%TypeHeaderCode +#include +%End + +public: + QTextFragment(); + QTextFragment(const QTextFragment &o); + bool isValid() const; + bool operator==(const QTextFragment &o) const; + bool operator!=(const QTextFragment &o) const; + bool operator<(const QTextFragment &o) const; + int position() const; + int length() const; + bool contains(int position) const; + QTextCharFormat charFormat() const; + int charFormatIndex() const; + QString text() const; +%If (PyQt_RawFont) + QList glyphRuns(int from = -1, int length = -1) const; +%End +}; + +class QTextBlockUserData /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QTextBlockUserData(); +}; + +%ModuleHeaderCode +PyObject *qtgui_wrap_ancestors(QObject *obj, const sipTypeDef *td); +%End + +%ModuleCode +// Wrap a QObject and ensure that it's ancestors are all wrapped with the +// correct ownerships. +static PyObject *qtgui_wrap_ancestors_worker(QObject *obj) +{ + if (!obj) + { + Py_INCREF(Py_None); + return Py_None; + } + + PyObject *py_parent = qtgui_wrap_ancestors_worker(obj->parent()); + + if (!py_parent) + return 0; + + PyObject *py_obj = sipConvertFromType(obj, sipType_QObject, + (py_parent != Py_None ? py_parent : 0)); + + Py_DECREF(py_parent); + return py_obj; +} + +PyObject *qtgui_wrap_ancestors(QObject *obj, const sipTypeDef *td) +{ + PyObject *py_parent = qtgui_wrap_ancestors_worker(obj->parent()); + + if (!py_parent) + return 0; + + PyObject *py_obj = sipConvertFromType(obj, td, + (py_parent != Py_None ? py_parent : 0)); + + Py_DECREF(py_parent); + + return py_obj; +} +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextoption.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextoption.sip new file mode 100644 index 00000000..6bc353ed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtextoption.sip @@ -0,0 +1,106 @@ +// qtextoption.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextOption +{ +%TypeHeaderCode +#include +%End + +public: + QTextOption(); + QTextOption(Qt::Alignment alignment); + ~QTextOption(); + QTextOption(const QTextOption &o); + Qt::Alignment alignment() const; + void setTextDirection(Qt::LayoutDirection aDirection); + Qt::LayoutDirection textDirection() const; + + enum WrapMode + { + NoWrap, + WordWrap, + ManualWrap, + WrapAnywhere, + WrapAtWordBoundaryOrAnywhere, + }; + + void setWrapMode(QTextOption::WrapMode wrap); + QTextOption::WrapMode wrapMode() const; + + enum Flag + { + IncludeTrailingSpaces, + ShowTabsAndSpaces, + ShowLineAndParagraphSeparators, + AddSpaceForLineAndParagraphSeparators, + SuppressColors, +%If (Qt_5_7_0 -) + ShowDocumentTerminator, +%End + }; + + typedef QFlags Flags; + QTextOption::Flags flags() const; + qreal tabStop() const; + void setTabArray(const QList &tabStops); + QList tabArray() const; + void setUseDesignMetrics(bool b); + bool useDesignMetrics() const; + void setAlignment(Qt::Alignment aalignment); + void setFlags(QTextOption::Flags flags); + void setTabStop(qreal atabStop); + + enum TabType + { + LeftTab, + RightTab, + CenterTab, + DelimiterTab, + }; + + struct Tab + { +%TypeHeaderCode +#include +%End + + Tab(); + Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()); + bool operator==(const QTextOption::Tab &other) const; + bool operator!=(const QTextOption::Tab &other) const; + qreal position; + QTextOption::TabType type; + QChar delimiter; + }; + + void setTabs(const QList &tabStops); + QList tabs() const; +%If (Qt_5_10_0 -) + void setTabStopDistance(qreal tabStopDistance); +%End +%If (Qt_5_10_0 -) + qreal tabStopDistance() const; +%End +}; + +QFlags operator|(QTextOption::Flag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtexttable.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtexttable.sip new file mode 100644 index 00000000..35a097b0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtexttable.sip @@ -0,0 +1,75 @@ +// qtexttable.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextTableCell +{ +%TypeHeaderCode +#include +%End + +public: + QTextTableCell(); + ~QTextTableCell(); + QTextTableCell(const QTextTableCell &o); + QTextCharFormat format() const; + void setFormat(const QTextCharFormat &format); + int row() const; + int column() const; + int rowSpan() const; + int columnSpan() const; + bool isValid() const; + QTextCursor firstCursorPosition() const; + QTextCursor lastCursorPosition() const; + int tableCellFormatIndex() const; + bool operator==(const QTextTableCell &other) const; + bool operator!=(const QTextTableCell &other) const; +}; + +class QTextTable : QTextFrame +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTextTable(QTextDocument *doc); + virtual ~QTextTable(); + void resize(int rows, int cols); + void insertRows(int pos, int num); + void insertColumns(int pos, int num); + void removeRows(int pos, int num); + void removeColumns(int pos, int num); + void mergeCells(int row, int col, int numRows, int numCols); + void mergeCells(const QTextCursor &cursor); + void splitCell(int row, int col, int numRows, int numCols); + int rows() const; + int columns() const; + QTextTableCell cellAt(int row, int col) const; + QTextTableCell cellAt(int position) const; + QTextTableCell cellAt(const QTextCursor &c) const; + QTextCursor rowStart(const QTextCursor &c) const; + QTextCursor rowEnd(const QTextCursor &c) const; + QTextTableFormat format() const; + void setFormat(const QTextTableFormat &aformat); + void appendRows(int count); + void appendColumns(int count); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtouchdevice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtouchdevice.sip new file mode 100644 index 00000000..2cfe4ddf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtouchdevice.sip @@ -0,0 +1,67 @@ +// qtouchdevice.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTouchDevice +{ +%TypeHeaderCode +#include +%End + +public: + enum DeviceType + { + TouchScreen, + TouchPad, + }; + + enum CapabilityFlag + { + Position, + Area, + Pressure, + Velocity, + RawPositions, + NormalizedPosition, +%If (Qt_5_5_0 -) + MouseEmulation, +%End + }; + + typedef QFlags Capabilities; + QTouchDevice(); + ~QTouchDevice(); + static QList devices(); + QString name() const; + QTouchDevice::DeviceType type() const; + QTouchDevice::Capabilities capabilities() const; + void setName(const QString &name); + void setType(QTouchDevice::DeviceType devType); + void setCapabilities(QTouchDevice::Capabilities caps); +%If (Qt_5_2_0 -) + int maximumTouchPoints() const; +%End +%If (Qt_5_2_0 -) + void setMaximumTouchPoints(int max); +%End +}; + +QFlags operator|(QTouchDevice::CapabilityFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtransform.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtransform.sip new file mode 100644 index 00000000..6b3bc002 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qtransform.sip @@ -0,0 +1,132 @@ +// qtransform.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QTransform +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"ddddddddd", sipCpp->m11(), sipCpp->m12(), sipCpp->m13(), sipCpp->m21(), sipCpp->m22(), sipCpp->m23(), sipCpp->m31(), sipCpp->m32(), sipCpp->m33()); +%End + +public: + enum TransformationType + { + TxNone, + TxTranslate, + TxScale, + TxRotate, + TxShear, + TxProject, + }; + + QTransform(); + QTransform(qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33 = 1.0e+0); + QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23); +%If (Qt_5_7_0 -) + QTransform(const QTransform &other); +%End + QTransform::TransformationType type() const; + void setMatrix(qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); + QTransform inverted(bool *invertible = 0) const; + QTransform adjoint() const; + QTransform transposed() const; + QTransform &translate(qreal dx, qreal dy); + QTransform &scale(qreal sx, qreal sy); + QTransform &shear(qreal sh, qreal sv); + QTransform &rotate(qreal angle, Qt::Axis axis = Qt::ZAxis); + QTransform &rotateRadians(qreal angle, Qt::Axis axis = Qt::ZAxis); + static bool squareToQuad(const QPolygonF &square, QTransform &result); + static bool quadToSquare(const QPolygonF &quad, QTransform &result); + static bool quadToQuad(const QPolygonF &one, const QPolygonF &two, QTransform &result); + bool operator==(const QTransform &) const; + bool operator!=(const QTransform &) const; + QTransform &operator*=(const QTransform &) /__imatmul__/; + QTransform operator*(const QTransform &o) const /__matmul__/; + void reset(); + void map(int x /Constrained/, int y /Constrained/, int *tx, int *ty) const; + void map(qreal x, qreal y, qreal *tx, qreal *ty) const; + QPoint map(const QPoint &p) const; + QPointF map(const QPointF &p) const; + QLine map(const QLine &l) const; + QLineF map(const QLineF &l) const; + QPolygonF map(const QPolygonF &a) const; + QPolygon map(const QPolygon &a) const; + QRegion map(const QRegion &r) const; + QPainterPath map(const QPainterPath &p) const; + QPolygon mapToPolygon(const QRect &r) const; + QRect mapRect(const QRect &) const; + QRectF mapRect(const QRectF &) const; + bool isAffine() const; + bool isIdentity() const; + bool isInvertible() const; + bool isScaling() const; + bool isRotating() const; + bool isTranslating() const; + qreal determinant() const; + qreal m11() const; + qreal m12() const; + qreal m13() const; + qreal m21() const; + qreal m22() const; + qreal m23() const; + qreal m31() const; + qreal m32() const; + qreal m33() const; + qreal dx() const; + qreal dy() const; + static QTransform fromTranslate(qreal dx, qreal dy); + static QTransform fromScale(qreal dx, qreal dy); + QTransform &operator*=(qreal num); + QTransform &operator/=(qreal div); + QTransform &operator+=(qreal num); + QTransform &operator-=(qreal num); +%If (Qt_5_6_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; + +QDataStream &operator<<(QDataStream &, const QTransform & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QTransform & /Constrained/) /ReleaseGIL/; +QPoint operator*(const QPoint &p, const QTransform &m); +QPointF operator*(const QPointF &p, const QTransform &m); +QLineF operator*(const QLineF &l, const QTransform &m); +QLine operator*(const QLine &l, const QTransform &m); +QPolygon operator*(const QPolygon &a, const QTransform &m); +QPolygonF operator*(const QPolygonF &a, const QTransform &m); +QRegion operator*(const QRegion &r, const QTransform &m); +QPainterPath operator*(const QPainterPath &p, const QTransform &m); +QTransform operator*(const QTransform &a, qreal n); +QTransform operator/(const QTransform &a, qreal n); +QTransform operator+(const QTransform &a, qreal n); +QTransform operator-(const QTransform &a, qreal n); +bool qFuzzyCompare(const QTransform &t1, const QTransform &t2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvalidator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvalidator.sip new file mode 100644 index 00000000..2e7b8be2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvalidator.sip @@ -0,0 +1,129 @@ +// qvalidator.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QValidator : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QValidator(QObject *parent /TransferThis/ = 0); + virtual ~QValidator(); + + enum State + { + Invalid, + Intermediate, + Acceptable, + }; + + virtual QValidator::State validate(QString & /In,Out/, int & /In,Out/) const = 0; + virtual void fixup(QString & /In,Out/) const; + void setLocale(const QLocale &locale); + QLocale locale() const; + +signals: + void changed(); +}; + +class QIntValidator : QValidator +{ +%TypeHeaderCode +#include +%End + +public: + explicit QIntValidator(QObject *parent /TransferThis/ = 0); + QIntValidator(int bottom, int top, QObject *parent /TransferThis/ = 0); + virtual ~QIntValidator(); + virtual QValidator::State validate(QString & /In,Out/, int & /In,Out/) const; + virtual void fixup(QString &input /In,Out/) const; + void setBottom(int); + void setTop(int); + virtual void setRange(int bottom, int top); + int bottom() const; + int top() const; +}; + +class QDoubleValidator : QValidator +{ +%TypeHeaderCode +#include +%End + +public: + explicit QDoubleValidator(QObject *parent /TransferThis/ = 0); + QDoubleValidator(double bottom, double top, int decimals, QObject *parent /TransferThis/ = 0); + virtual ~QDoubleValidator(); + virtual QValidator::State validate(QString & /In,Out/, int & /In,Out/) const; + virtual void setRange(double minimum, double maximum, int decimals = 0); + void setBottom(double); + void setTop(double); + void setDecimals(int); + double bottom() const; + double top() const; + int decimals() const; + + enum Notation + { + StandardNotation, + ScientificNotation, + }; + + void setNotation(QDoubleValidator::Notation); + QDoubleValidator::Notation notation() const; +}; + +class QRegExpValidator : QValidator +{ +%TypeHeaderCode +#include +%End + +public: + explicit QRegExpValidator(QObject *parent /TransferThis/ = 0); + QRegExpValidator(const QRegExp &rx, QObject *parent /TransferThis/ = 0); + virtual ~QRegExpValidator(); + virtual QValidator::State validate(QString &input /In,Out/, int &pos /In,Out/) const; + void setRegExp(const QRegExp &rx); + const QRegExp ®Exp() const; +}; + +%If (Qt_5_1_0 -) + +class QRegularExpressionValidator : QValidator +{ +%TypeHeaderCode +#include +%End + +public: + explicit QRegularExpressionValidator(QObject *parent /TransferThis/ = 0); + QRegularExpressionValidator(const QRegularExpression &re, QObject *parent /TransferThis/ = 0); + virtual ~QRegularExpressionValidator(); + virtual QValidator::State validate(QString &input /In,Out/, int &pos /In,Out/) const; + QRegularExpression regularExpression() const; + void setRegularExpression(const QRegularExpression &re); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector2d.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector2d.sip new file mode 100644 index 00000000..217a82f9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector2d.sip @@ -0,0 +1,113 @@ +// qvector2d.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QVector2D +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"dd", (double)sipCpp->x(), (double)sipCpp->y()); +%End + +public: + QVector2D(); + QVector2D(float xpos, float ypos); + explicit QVector2D(const QPoint &point); + explicit QVector2D(const QPointF &point); + explicit QVector2D(const QVector3D &vector); + explicit QVector2D(const QVector4D &vector); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + PyObject *x = PyFloat_FromDouble(sipCpp->x()); + PyObject *y = PyFloat_FromDouble(sipCpp->y()); + + if (x && y) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QVector2D(%R, %R)", x, y); + #else + sipRes = PyString_FromString("PyQt5.QtGui.QVector2D("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(x)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(y)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + Py_XDECREF(x); + Py_XDECREF(y); +%End + + float length() const; + float lengthSquared() const; + QVector2D normalized() const; + void normalize(); + static float dotProduct(const QVector2D &v1, const QVector2D &v2); + QVector3D toVector3D() const; + QVector4D toVector4D() const; + bool isNull() const; + float x() const; + float y() const; + void setX(float aX); + void setY(float aY); + QVector2D &operator+=(const QVector2D &vector); + QVector2D &operator-=(const QVector2D &vector); + QVector2D &operator*=(float factor); + QVector2D &operator*=(const QVector2D &vector); + QVector2D &operator/=(float divisor); +%If (Qt_5_5_0 -) + QVector2D &operator/=(const QVector2D &vector); +%End + QPoint toPoint() const; + QPointF toPointF() const; +%If (Qt_5_1_0 -) + float distanceToPoint(const QVector2D &point) const; +%End +%If (Qt_5_1_0 -) + float distanceToLine(const QVector2D &point, const QVector2D &direction) const; +%End +%If (Qt_5_2_0 -) + float operator[](int i) const; +%End +}; + +bool operator==(const QVector2D &v1, const QVector2D &v2); +bool operator!=(const QVector2D &v1, const QVector2D &v2); +const QVector2D operator+(const QVector2D &v1, const QVector2D &v2); +const QVector2D operator-(const QVector2D &v1, const QVector2D &v2); +const QVector2D operator*(float factor, const QVector2D &vector); +const QVector2D operator*(const QVector2D &vector, float factor); +const QVector2D operator*(const QVector2D &v1, const QVector2D &v2); +const QVector2D operator-(const QVector2D &vector); +const QVector2D operator/(const QVector2D &vector, float divisor); +%If (Qt_5_5_0 -) +const QVector2D operator/(const QVector2D &vector, const QVector2D &divisor); +%End +bool qFuzzyCompare(const QVector2D &v1, const QVector2D &v2); +QDataStream &operator<<(QDataStream &, const QVector2D & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QVector2D & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector3d.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector3d.sip new file mode 100644 index 00000000..4890b3aa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector3d.sip @@ -0,0 +1,131 @@ +// qvector3d.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QVector3D +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"ddd", (double)sipCpp->x(), (double)sipCpp->y(), + (double)sipCpp->z()); +%End + +public: + QVector3D(); + QVector3D(float xpos, float ypos, float zpos); + explicit QVector3D(const QPoint &point); + explicit QVector3D(const QPointF &point); + QVector3D(const QVector2D &vector); + QVector3D(const QVector2D &vector, float zpos); + explicit QVector3D(const QVector4D &vector); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + PyObject *x = PyFloat_FromDouble(sipCpp->x()); + PyObject *y = PyFloat_FromDouble(sipCpp->y()); + PyObject *z = PyFloat_FromDouble(sipCpp->z()); + + if (x && y && z) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QVector3D(%R, %R, %R)", x, y, + z); + #else + sipRes = PyString_FromString("PyQt5.QtGui.QVector3D("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(x)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(y)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(z)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + Py_XDECREF(x); + Py_XDECREF(y); + Py_XDECREF(z); +%End + + float length() const; + float lengthSquared() const; + QVector3D normalized() const; + void normalize(); + static float dotProduct(const QVector3D &v1, const QVector3D &v2); + static QVector3D crossProduct(const QVector3D &v1, const QVector3D &v2); + static QVector3D normal(const QVector3D &v1, const QVector3D &v2); + static QVector3D normal(const QVector3D &v1, const QVector3D &v2, const QVector3D &v3); + float distanceToPlane(const QVector3D &plane, const QVector3D &normal) const; + float distanceToPlane(const QVector3D &plane1, const QVector3D &plane2, const QVector3D &plane3) const; + float distanceToLine(const QVector3D &point, const QVector3D &direction) const; + QVector2D toVector2D() const; + QVector4D toVector4D() const; + bool isNull() const; + float x() const; + float y() const; + float z() const; + void setX(float aX); + void setY(float aY); + void setZ(float aZ); + QVector3D &operator+=(const QVector3D &vector); + QVector3D &operator-=(const QVector3D &vector); + QVector3D &operator*=(float factor); + QVector3D &operator*=(const QVector3D &vector); + QVector3D &operator/=(float divisor); +%If (Qt_5_5_0 -) + QVector3D &operator/=(const QVector3D &vector); +%End + QPoint toPoint() const; + QPointF toPointF() const; +%If (Qt_5_1_0 -) + float distanceToPoint(const QVector3D &point) const; +%End +%If (Qt_5_2_0 -) + float operator[](int i) const; +%End +%If (Qt_5_5_0 -) + QVector3D project(const QMatrix4x4 &modelView, const QMatrix4x4 &projection, const QRect &viewport) const; +%End +%If (Qt_5_5_0 -) + QVector3D unproject(const QMatrix4x4 &modelView, const QMatrix4x4 &projection, const QRect &viewport) const; +%End +}; + +bool operator==(const QVector3D &v1, const QVector3D &v2); +bool operator!=(const QVector3D &v1, const QVector3D &v2); +const QVector3D operator+(const QVector3D &v1, const QVector3D &v2); +const QVector3D operator-(const QVector3D &v1, const QVector3D &v2); +const QVector3D operator*(float factor, const QVector3D &vector); +const QVector3D operator*(const QVector3D &vector, float factor); +const QVector3D operator*(const QVector3D &v1, const QVector3D &v2); +const QVector3D operator-(const QVector3D &vector); +const QVector3D operator/(const QVector3D &vector, float divisor); +%If (Qt_5_5_0 -) +const QVector3D operator/(const QVector3D &vector, const QVector3D &divisor); +%End +bool qFuzzyCompare(const QVector3D &v1, const QVector3D &v2); +QDataStream &operator<<(QDataStream &, const QVector3D & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QVector3D & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector4d.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector4d.sip new file mode 100644 index 00000000..2ff4808d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qvector4d.sip @@ -0,0 +1,125 @@ +// qvector4d.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QVector4D +{ +%TypeHeaderCode +#include +%End + +%PickleCode + sipRes = Py_BuildValue((char *)"dddd", (double)sipCpp->x(), + (double)sipCpp->y(), (double)sipCpp->z(), (double)sipCpp->w()); +%End + +public: + QVector4D(); + QVector4D(float xpos, float ypos, float zpos, float wpos); + explicit QVector4D(const QPoint &point); + explicit QVector4D(const QPointF &point); + QVector4D(const QVector2D &vector); + QVector4D(const QVector2D &vector, float zpos, float wpos); + QVector4D(const QVector3D &vector); + QVector4D(const QVector3D &vector, float wpos); + SIP_PYOBJECT __repr__() const /TypeHint="str"/; +%MethodCode + PyObject *x = PyFloat_FromDouble(sipCpp->x()); + PyObject *y = PyFloat_FromDouble(sipCpp->y()); + PyObject *z = PyFloat_FromDouble(sipCpp->z()); + PyObject *w = PyFloat_FromDouble(sipCpp->w()); + + if (x && y && z && w) + { + #if PY_MAJOR_VERSION >= 3 + sipRes = PyUnicode_FromFormat("PyQt5.QtGui.QVector4D(%R, %R, %R, %R)", x, + y, z, w); + #else + sipRes = PyString_FromString("PyQt5.QtGui.QVector4D("); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(x)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(y)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(z)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(", ")); + PyString_ConcatAndDel(&sipRes, PyObject_Repr(w)); + PyString_ConcatAndDel(&sipRes, PyString_FromString(")")); + #endif + } + + Py_XDECREF(x); + Py_XDECREF(y); + Py_XDECREF(z); + Py_XDECREF(w); +%End + + float length() const; + float lengthSquared() const; + QVector4D normalized() const; + void normalize(); + static float dotProduct(const QVector4D &v1, const QVector4D &v2); + QVector2D toVector2D() const; + QVector2D toVector2DAffine() const; + QVector3D toVector3D() const; + QVector3D toVector3DAffine() const; + bool isNull() const; + float x() const; + float y() const; + float z() const; + float w() const; + void setX(float aX); + void setY(float aY); + void setZ(float aZ); + void setW(float aW); + QVector4D &operator+=(const QVector4D &vector); + QVector4D &operator-=(const QVector4D &vector); + QVector4D &operator*=(float factor); + QVector4D &operator*=(const QVector4D &vector); + QVector4D &operator/=(float divisor); +%If (Qt_5_5_0 -) + QVector4D &operator/=(const QVector4D &vector); +%End + QPoint toPoint() const; + QPointF toPointF() const; +%If (Qt_5_2_0 -) + float operator[](int i) const; +%End +}; + +bool operator==(const QVector4D &v1, const QVector4D &v2); +bool operator!=(const QVector4D &v1, const QVector4D &v2); +const QVector4D operator+(const QVector4D &v1, const QVector4D &v2); +const QVector4D operator-(const QVector4D &v1, const QVector4D &v2); +const QVector4D operator*(float factor, const QVector4D &vector); +const QVector4D operator*(const QVector4D &vector, float factor); +const QVector4D operator*(const QVector4D &v1, const QVector4D &v2); +const QVector4D operator-(const QVector4D &vector); +const QVector4D operator/(const QVector4D &vector, float divisor); +%If (Qt_5_5_0 -) +const QVector4D operator/(const QVector4D &vector, const QVector4D &divisor); +%End +bool qFuzzyCompare(const QVector4D &v1, const QVector4D &v2); +QDataStream &operator<<(QDataStream &, const QVector4D & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QVector4D & /Constrained/) /ReleaseGIL/; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qwindow.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qwindow.sip new file mode 100644 index 00000000..b0636ecc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qwindow.sip @@ -0,0 +1,249 @@ +// qwindow.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QWindow : QObject, QSurface +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWindow(QScreen *screen = 0); + explicit QWindow(QWindow *parent /TransferThis/); + virtual ~QWindow(); + void setSurfaceType(QSurface::SurfaceType surfaceType); + virtual QSurface::SurfaceType surfaceType() const; + bool isVisible() const; + void create(); + WId winId() const; + QWindow *parent() const; + void setParent(QWindow *parent /Transfer/); + bool isTopLevel() const; + bool isModal() const; + Qt::WindowModality modality() const; + void setModality(Qt::WindowModality modality); + void setFormat(const QSurfaceFormat &format); + virtual QSurfaceFormat format() const; + QSurfaceFormat requestedFormat() const; + void setFlags(Qt::WindowFlags flags); + Qt::WindowFlags flags() const; + Qt::WindowType type() const; + QString title() const; + void setOpacity(qreal level); + +public slots: + void requestActivate(); + +public: + bool isActive() const; + void reportContentOrientationChange(Qt::ScreenOrientation orientation); + Qt::ScreenOrientation contentOrientation() const; + qreal devicePixelRatio() const; + Qt::WindowState windowState() const; + void setWindowState(Qt::WindowState state); + void setTransientParent(QWindow *parent); + QWindow *transientParent() const; + + enum AncestorMode + { + ExcludeTransients, + IncludeTransients, + }; + + bool isAncestorOf(const QWindow *child, QWindow::AncestorMode mode = QWindow::IncludeTransients) const; + bool isExposed() const; + int minimumWidth() const; + int minimumHeight() const; + int maximumWidth() const; + int maximumHeight() const; + QSize minimumSize() const; + QSize maximumSize() const; + QSize baseSize() const; + QSize sizeIncrement() const; + void setMinimumSize(const QSize &size); + void setMaximumSize(const QSize &size); + void setBaseSize(const QSize &size); + void setSizeIncrement(const QSize &size); + void setGeometry(int posx, int posy, int w, int h); + void setGeometry(const QRect &rect); + QRect geometry() const; + QMargins frameMargins() const; + QRect frameGeometry() const; + QPoint framePosition() const; + void setFramePosition(const QPoint &point); + int width() const; + int height() const; + int x() const; + int y() const; + virtual QSize size() const; + QPoint position() const; + void setPosition(const QPoint &pt); + void setPosition(int posx, int posy); + void resize(const QSize &newSize); + void resize(int w, int h); + void setFilePath(const QString &filePath); + QString filePath() const; + void setIcon(const QIcon &icon); + QIcon icon() const; + void destroy(); + bool setKeyboardGrabEnabled(bool grab); + bool setMouseGrabEnabled(bool grab); + QScreen *screen() const; + void setScreen(QScreen *screen); + virtual QObject *focusObject() const; + QPoint mapToGlobal(const QPoint &pos) const; + QPoint mapFromGlobal(const QPoint &pos) const; + QCursor cursor() const; + void setCursor(const QCursor &); + void unsetCursor(); + +public slots: + void setVisible(bool visible); + void show() /ReleaseGIL/; + void hide(); + void showMinimized() /ReleaseGIL/; + void showMaximized() /ReleaseGIL/; + void showFullScreen() /ReleaseGIL/; + void showNormal() /ReleaseGIL/; + bool close(); + void raise() /PyName=raise_/; + void lower(); + void setTitle(const QString &); + void setX(int arg); + void setY(int arg); + void setWidth(int arg); + void setHeight(int arg); + void setMinimumWidth(int w); + void setMinimumHeight(int h); + void setMaximumWidth(int w); + void setMaximumHeight(int h); +%If (Qt_5_1_0 -) + void alert(int msec); +%End +%If (Qt_5_5_0 -) + void requestUpdate(); +%End + +signals: + void screenChanged(QScreen *screen); + void modalityChanged(Qt::WindowModality modality); + void windowStateChanged(Qt::WindowState windowState); + void xChanged(int arg); + void yChanged(int arg); + void widthChanged(int arg); + void heightChanged(int arg); + void minimumWidthChanged(int arg); + void minimumHeightChanged(int arg); + void maximumWidthChanged(int arg); + void maximumHeightChanged(int arg); + void visibleChanged(bool arg); + void contentOrientationChanged(Qt::ScreenOrientation orientation); + void focusObjectChanged(QObject *object); +%If (Qt_5_3_0 -) + void windowTitleChanged(const QString &title); +%End + +protected: + virtual void exposeEvent(QExposeEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void moveEvent(QMoveEvent *); + virtual void focusInEvent(QFocusEvent *); + virtual void focusOutEvent(QFocusEvent *); + virtual void showEvent(QShowEvent *); + virtual void hideEvent(QHideEvent *); + virtual bool event(QEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void keyReleaseEvent(QKeyEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseDoubleClickEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void wheelEvent(QWheelEvent *); + virtual void touchEvent(QTouchEvent *); + virtual void tabletEvent(QTabletEvent *); + +public: +%If (Qt_5_1_0 -) + + enum Visibility + { + Hidden, + AutomaticVisibility, + Windowed, + Minimized, + Maximized, + FullScreen, + }; + +%End +%If (Qt_5_1_0 -) + QWindow::Visibility visibility() const; +%End +%If (Qt_5_1_0 -) + void setVisibility(QWindow::Visibility v); +%End +%If (Qt_5_1_0 -) + qreal opacity() const; +%End +%If (Qt_5_1_0 -) + void setMask(const QRegion ®ion); +%End +%If (Qt_5_1_0 -) + QRegion mask() const; +%End +%If (Qt_5_1_0 -) + static QWindow *fromWinId(WId id); +%End + +signals: +%If (Qt_5_1_0 -) + void visibilityChanged(QWindow::Visibility visibility); +%End +%If (Qt_5_1_0 -) + void activeChanged(); +%End +%If (Qt_5_1_0 -) + void opacityChanged(qreal opacity); +%End + +public: +%If (Qt_5_9_0 -) + QWindow *parent(QWindow::AncestorMode mode) const; +%End +%If (Qt_5_9_0 -) + void setFlag(Qt::WindowType, bool on = true); +%End +%If (Qt_5_10_0 -) + Qt::WindowStates windowStates() const; +%End +%If (Qt_5_10_0 -) + void setWindowStates(Qt::WindowStates states); +%End + +public slots: +%If (Qt_5_15_0 -) + bool startSystemResize(Qt::Edges edges); +%End +%If (Qt_5_15_0 -) + bool startSystemMove(); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qwindowdefs.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qwindowdefs.sip new file mode 100644 index 00000000..4c7bb90f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtGui/qwindowdefs.sip @@ -0,0 +1,24 @@ +// qwindowdefs.sip generated by MetaSIP +// +// This file is part of the QtGui Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +typedef QList QWindowList; +typedef quintptr WId; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/QtHelp.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/QtHelp.toml new file mode 100644 index 00000000..8170d829 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/QtHelp.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtHelp. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/QtHelpmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/QtHelpmod.sip new file mode 100644 index 00000000..afae0848 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/QtHelpmod.sip @@ -0,0 +1,61 @@ +// QtHelpmod.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtHelp, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qcompressedhelpinfo.sip +%Include qhelpcontentwidget.sip +%Include qhelpengine.sip +%Include qhelpenginecore.sip +%Include qhelpfilterdata.sip +%Include qhelpfilterengine.sip +%Include qhelpfiltersettingswidget.sip +%Include qhelpindexwidget.sip +%Include qhelplink.sip +%Include qhelpsearchengine.sip +%Include qhelpsearchquerywidget.sip +%Include qhelpsearchresultwidget.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qcompressedhelpinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qcompressedhelpinfo.sip new file mode 100644 index 00000000..7b53200f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qcompressedhelpinfo.sip @@ -0,0 +1,45 @@ +// qcompressedhelpinfo.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_13_0 -) + +class QCompressedHelpInfo +{ +%TypeHeaderCode +#include +%End + +public: + QCompressedHelpInfo(); + QCompressedHelpInfo(const QCompressedHelpInfo &other); + ~QCompressedHelpInfo(); + void swap(QCompressedHelpInfo &other); + QString namespaceName() const; + QString component() const; + QVersionNumber version() const; + static QCompressedHelpInfo fromCompressedHelpFile(const QString &documentationFileName); +%If (Qt_5_15_0 -) + bool isNull() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpcontentwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpcontentwidget.sip new file mode 100644 index 00000000..8ce2f122 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpcontentwidget.sip @@ -0,0 +1,76 @@ +// qhelpcontentwidget.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHelpContentItem /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + ~QHelpContentItem(); + QHelpContentItem *child(int row) const; + int childCount() const; + QString title() const; + QUrl url() const; + int row() const; + QHelpContentItem *parent() const; + int childPosition(QHelpContentItem *child) const; +}; + +class QHelpContentModel : QAbstractItemModel /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QHelpContentModel(); + void createContents(const QString &customFilterName); + QHelpContentItem *contentItemAt(const QModelIndex &index) const; + virtual QVariant data(const QModelIndex &index, int role) const; + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual QModelIndex parent(const QModelIndex &index) const; + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + bool isCreatingContents() const; + +signals: + void contentsCreationStarted(); + void contentsCreated(); +}; + +class QHelpContentWidget : QTreeView +{ +%TypeHeaderCode +#include +%End + +public: + QModelIndex indexOf(const QUrl &link); + +signals: + void linkActivated(const QUrl &link); + +private: + QHelpContentWidget(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpengine.sip new file mode 100644 index 00000000..2d96e1d3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpengine.sip @@ -0,0 +1,37 @@ +// qhelpengine.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHelpEngine : QHelpEngineCore +{ +%TypeHeaderCode +#include +%End + +public: + QHelpEngine(const QString &collectionFile, QObject *parent /TransferThis/ = 0); + virtual ~QHelpEngine(); + QHelpContentModel *contentModel() const; + QHelpIndexModel *indexModel() const; + QHelpContentWidget *contentWidget(); + QHelpIndexWidget *indexWidget(); + QHelpSearchEngine *searchEngine(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpenginecore.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpenginecore.sip new file mode 100644 index 00000000..edd004c0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpenginecore.sip @@ -0,0 +1,144 @@ +// qhelpenginecore.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHelpEngineCore : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QHelpContentModel, &sipType_QHelpContentModel, -1, 1}, + {sipName_QHelpContentWidget, &sipType_QHelpContentWidget, -1, 2}, + {sipName_QHelpEngineCore, &sipType_QHelpEngineCore, 10, 3}, + #if QT_VERSION >= 0x050d00 + {sipName_QHelpFilterEngine, &sipType_QHelpFilterEngine, -1, 4}, + #else + {0, 0, -1, 4}, + #endif + #if QT_VERSION >= 0x050f00 + {sipName_QHelpFilterSettingsWidget, &sipType_QHelpFilterSettingsWidget, -1, 5}, + #else + {0, 0, -1, 5}, + #endif + {sipName_QHelpIndexModel, &sipType_QHelpIndexModel, -1, 6}, + {sipName_QHelpIndexWidget, &sipType_QHelpIndexWidget, -1, 7}, + {sipName_QHelpSearchEngine, &sipType_QHelpSearchEngine, -1, 8}, + {sipName_QHelpSearchQueryWidget, &sipType_QHelpSearchQueryWidget, -1, 9}, + {sipName_QHelpSearchResultWidget, &sipType_QHelpSearchResultWidget, -1, -1}, + {sipName_QHelpEngine, &sipType_QHelpEngine, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + QHelpEngineCore(const QString &collectionFile, QObject *parent /TransferThis/ = 0); + virtual ~QHelpEngineCore(); + bool setupData(); + QString collectionFile() const; + void setCollectionFile(const QString &fileName); + bool copyCollectionFile(const QString &fileName); + static QString namespaceName(const QString &documentationFileName); + bool registerDocumentation(const QString &documentationFileName); + bool unregisterDocumentation(const QString &namespaceName); + QString documentationFileName(const QString &namespaceName); + QStringList customFilters() const; + bool removeCustomFilter(const QString &filterName); + bool addCustomFilter(const QString &filterName, const QStringList &attributes); + QStringList filterAttributes() const; + QStringList filterAttributes(const QString &filterName) const; + QString currentFilter() const; + void setCurrentFilter(const QString &filterName); + QStringList registeredDocumentations() const; + QList filterAttributeSets(const QString &namespaceName) const; + QList files(const QString namespaceName, const QStringList &filterAttributes, const QString &extensionFilter = QString()); + QUrl findFile(const QUrl &url) const; + QByteArray fileData(const QUrl &url) const; + QMap linksForIdentifier(const QString &id) const; +%If (Qt_5_9_0 -) + QMap linksForKeyword(const QString &keyword) const; +%End + bool removeCustomValue(const QString &key); + QVariant customValue(const QString &key, const QVariant &defaultValue = QVariant()) const; + bool setCustomValue(const QString &key, const QVariant &value); + static QVariant metaData(const QString &documentationFileName, const QString &name); + QString error() const; + bool autoSaveFilter() const; + void setAutoSaveFilter(bool save); + +signals: + void setupStarted(); + void setupFinished(); + void currentFilterChanged(const QString &newFilter); + void warning(const QString &msg); +%If (Qt_5_4_0 -) + void readersAboutToBeInvalidated(); +%End + +public: +%If (Qt_5_13_0 -) + QHelpFilterEngine *filterEngine() const; +%End +%If (Qt_5_13_0 -) + QList files(const QString namespaceName, const QString &filterName, const QString &extensionFilter = QString()); +%End +%If (Qt_5_13_0 -) + void setUsesFilterEngine(bool uses); +%End +%If (Qt_5_13_0 -) + bool usesFilterEngine() const; +%End +%If (Qt_5_15_0 -) + QList documentsForIdentifier(const QString &id) const; +%End +%If (Qt_5_15_0 -) + QList documentsForIdentifier(const QString &id, const QString &filterName) const; +%End +%If (Qt_5_15_0 -) + QList documentsForKeyword(const QString &keyword) const; +%End +%If (Qt_5_15_0 -) + QList documentsForKeyword(const QString &keyword, const QString &filterName) const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfilterdata.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfilterdata.sip new file mode 100644 index 00000000..93ff2647 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfilterdata.sip @@ -0,0 +1,43 @@ +// qhelpfilterdata.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_13_0 -) + +class QHelpFilterData +{ +%TypeHeaderCode +#include +%End + +public: + QHelpFilterData(); + QHelpFilterData(const QHelpFilterData &other); + ~QHelpFilterData(); + bool operator==(const QHelpFilterData &other) const; + void swap(QHelpFilterData &other); + void setComponents(const QStringList &components); + void setVersions(const QList &versions); + QStringList components() const; + QList versions() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfilterengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfilterengine.sip new file mode 100644 index 00000000..f0d1573a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfilterengine.sip @@ -0,0 +1,61 @@ +// qhelpfilterengine.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_13_0 -) + +class QHelpFilterEngine : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + QMap namespaceToComponent() const; + QMap namespaceToVersion() const; + QStringList filters() const; + QString activeFilter() const; + bool setActiveFilter(const QString &filterName); + QStringList availableComponents() const; + QHelpFilterData filterData(const QString &filterName) const; + bool setFilterData(const QString &filterName, const QHelpFilterData &filterData); + bool removeFilter(const QString &filterName); + QStringList namespacesForFilter(const QString &filterName) const; + +signals: + void filterActivated(const QString &newFilter); + +protected: + virtual ~QHelpFilterEngine(); + +public: +%If (Qt_5_15_0 -) + QList availableVersions() const; +%End +%If (Qt_5_15_0 -) + QStringList indices() const; +%End +%If (Qt_5_15_0 -) + QStringList indices(const QString &filterName) const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfiltersettingswidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfiltersettingswidget.sip new file mode 100644 index 00000000..94b86755 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpfiltersettingswidget.sip @@ -0,0 +1,40 @@ +// qhelpfiltersettingswidget.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_15_0 -) + +class QHelpFilterSettingsWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QHelpFilterSettingsWidget(QWidget *parent /TransferThis/ = 0); + virtual ~QHelpFilterSettingsWidget(); + void setAvailableComponents(const QStringList &components); + void setAvailableVersions(const QList &versions); + void readSettings(const QHelpFilterEngine *filterEngine); + bool applySettings(QHelpFilterEngine *filterEngine) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpindexwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpindexwidget.sip new file mode 100644 index 00000000..61473638 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpindexwidget.sip @@ -0,0 +1,70 @@ +// qhelpindexwidget.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHelpIndexModel : QStringListModel /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_15_0 -) + QHelpEngineCore *helpEngine() const; +%End + void createIndex(const QString &customFilterName); + QModelIndex filter(const QString &filter, const QString &wildcard = QString()); + QMap linksForKeyword(const QString &keyword) const; + bool isCreatingIndex() const; + +signals: + void indexCreationStarted(); + void indexCreated(); + +private: + virtual ~QHelpIndexModel(); +}; + +class QHelpIndexWidget : QListView +{ +%TypeHeaderCode +#include +%End + +signals: + void linkActivated(const QUrl &link, const QString &keyword); + void linksActivated(const QMap &links, const QString &keyword); + +public slots: + void filterIndices(const QString &filter, const QString &wildcard = QString()); + void activateCurrentItem(); + +signals: +%If (Qt_5_15_0 -) + void documentActivated(const QHelpLink &document, const QString &keyword); +%End +%If (Qt_5_15_0 -) + void documentsActivated(const QList &documents, const QString &keyword); +%End + +private: + QHelpIndexWidget(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelplink.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelplink.sip new file mode 100644 index 00000000..feeece9c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelplink.sip @@ -0,0 +1,35 @@ +// qhelplink.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_15_0 -) + +struct QHelpLink +{ +%TypeHeaderCode +#include +%End + + QUrl url; + QString title; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchengine.sip new file mode 100644 index 00000000..07ac4ed9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchengine.sip @@ -0,0 +1,106 @@ +// qhelpsearchengine.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHelpSearchQuery +{ +%TypeHeaderCode +#include +%End + +public: + enum FieldName + { + DEFAULT, + FUZZY, + WITHOUT, + PHRASE, + ALL, + ATLEAST, + }; + + QHelpSearchQuery(); + QHelpSearchQuery(QHelpSearchQuery::FieldName field, const QStringList &wordList); +}; + +class QHelpSearchEngine : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QHelpSearchEngine(QHelpEngineCore *helpEngine, QObject *parent /TransferThis/ = 0); + virtual ~QHelpSearchEngine(); + QList query() const; + QHelpSearchQueryWidget *queryWidget(); + QHelpSearchResultWidget *resultWidget(); + int hitCount() const; + QList> hits(int start, int end) const; + +public slots: + void reindexDocumentation(); + void cancelIndexing(); + void search(const QList &queryList); + void cancelSearching(); + +signals: + void indexingStarted(); + void indexingFinished(); + void searchingStarted(); + void searchingFinished(int hits); + +public: +%If (Qt_5_9_0 -) + int searchResultCount() const; +%End +%If (Qt_5_9_0 -) + QVector searchResults(int start, int end) const; +%End +%If (Qt_5_9_0 -) + QString searchInput() const; +%End + +public slots: +%If (Qt_5_9_0 -) + void search(const QString &searchInput); +%End +}; + +%If (Qt_5_9_0 -) + +class QHelpSearchResult +{ +%TypeHeaderCode +#include +%End + +public: + QHelpSearchResult(); + QHelpSearchResult(const QHelpSearchResult &other); + QHelpSearchResult(const QUrl &url, const QString &title, const QString &snippet); + ~QHelpSearchResult(); + QString title() const; + QUrl url() const; + QString snippet() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchquerywidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchquerywidget.sip new file mode 100644 index 00000000..9338664e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchquerywidget.sip @@ -0,0 +1,62 @@ +// qhelpsearchquerywidget.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHelpSearchQueryWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_1 -) + explicit QHelpSearchQueryWidget(QWidget *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QHelpSearchQueryWidget(QWidget *parent /TransferThis/ = 0); +%End + virtual ~QHelpSearchQueryWidget(); + QList query() const; + void setQuery(const QList &queryList); + void expandExtendedSearch(); + void collapseExtendedSearch(); + +signals: + void search(); + +private: + virtual void focusInEvent(QFocusEvent *focusEvent); + virtual void changeEvent(QEvent *event); + +public: +%If (Qt_5_3_0 -) + bool isCompactMode() const; +%End +%If (Qt_5_3_0 -) + void setCompactMode(bool on); +%End +%If (Qt_5_9_0 -) + QString searchInput() const; +%End +%If (Qt_5_9_0 -) + void setSearchInput(const QString &searchInput); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchresultwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchresultwidget.sip new file mode 100644 index 00000000..6ec66f13 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtHelp/qhelpsearchresultwidget.sip @@ -0,0 +1,35 @@ +// qhelpsearchresultwidget.sip generated by MetaSIP +// +// This file is part of the QtHelp Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHelpSearchResultWidget : QWidget /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QHelpSearchResultWidget(); + QUrl linkAt(const QPoint &point); + +signals: + void requestShowLink(const QUrl &url); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/QtLocation.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/QtLocation.toml new file mode 100644 index 00000000..43c3d357 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/QtLocation.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtLocation. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/QtLocationmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/QtLocationmod.sip new file mode 100644 index 00000000..7f8745b3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/QtLocationmod.sip @@ -0,0 +1,87 @@ +// QtLocationmod.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtLocation, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtPositioning/QtPositioningmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qgeocodereply.sip +%Include qgeocodingmanager.sip +%Include qgeocodingmanagerengine.sip +%Include qgeomaneuver.sip +%Include qgeoroute.sip +%Include qgeoroutereply.sip +%Include qgeorouterequest.sip +%Include qgeoroutesegment.sip +%Include qgeoroutingmanager.sip +%Include qgeoroutingmanagerengine.sip +%Include qgeoserviceprovider.sip +%Include qlocation.sip +%Include qplace.sip +%Include qplaceattribute.sip +%Include qplacecategory.sip +%Include qplacecontactdetail.sip +%Include qplacecontent.sip +%Include qplacecontentreply.sip +%Include qplacecontentrequest.sip +%Include qplacedetailsreply.sip +%Include qplaceeditorial.sip +%Include qplaceicon.sip +%Include qplaceidreply.sip +%Include qplaceimage.sip +%Include qplacemanager.sip +%Include qplacemanagerengine.sip +%Include qplacematchreply.sip +%Include qplacematchrequest.sip +%Include qplaceproposedsearchresult.sip +%Include qplaceratings.sip +%Include qplacereply.sip +%Include qplaceresult.sip +%Include qplacereview.sip +%Include qplacesearchreply.sip +%Include qplacesearchrequest.sip +%Include qplacesearchresult.sip +%Include qplacesearchsuggestionreply.sip +%Include qplacesupplier.sip +%Include qplaceuser.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodereply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodereply.sip new file mode 100644 index 00000000..b880507d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodereply.sip @@ -0,0 +1,77 @@ +// qgeocodereply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoCodeReply : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + EngineNotSetError, + CommunicationError, + ParseError, + UnsupportedOptionError, + CombinationError, + UnknownError, + }; + + QGeoCodeReply(QGeoCodeReply::Error error, const QString &errorString, QObject *parent /TransferThis/ = 0); + virtual ~QGeoCodeReply(); + bool isFinished() const; + QGeoCodeReply::Error error() const; + QString errorString() const; + QGeoShape viewport() const; + QList locations() const; + int limit() const; + int offset() const; + virtual void abort(); + +signals: +%If (Qt_5_9_0 -) + void aborted(); +%End + void finished(); + void error(QGeoCodeReply::Error error, const QString &errorString = QString()); + +protected: +%If (Qt_5_6_1 -) + explicit QGeoCodeReply(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QGeoCodeReply(QObject *parent /TransferThis/ = 0); +%End + void setError(QGeoCodeReply::Error error, const QString &errorString); + void setFinished(bool finished); + void setViewport(const QGeoShape &viewport); + void addLocation(const QGeoLocation &location); + void setLocations(const QList &locations); + void setLimit(int limit); + void setOffset(int offset); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodingmanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodingmanager.sip new file mode 100644 index 00000000..d3f422b6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodingmanager.sip @@ -0,0 +1,46 @@ +// qgeocodingmanager.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoCodingManager : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QGeoCodingManager(); + QString managerName() const; + int managerVersion() const; + QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds = QGeoShape()) /Factory/; + QGeoCodeReply *geocode(const QString &searchString, int limit = -1, int offset = 0, const QGeoShape &bounds = QGeoShape()) /Factory/; + QGeoCodeReply *reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds = QGeoShape()) /Factory/; + void setLocale(const QLocale &locale); + QLocale locale() const; + +signals: + void finished(QGeoCodeReply *reply); + void error(QGeoCodeReply *reply, QGeoCodeReply::Error error, QString errorString = QString()); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodingmanagerengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodingmanagerengine.sip new file mode 100644 index 00000000..836e2caa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeocodingmanagerengine.sip @@ -0,0 +1,47 @@ +// qgeocodingmanagerengine.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoCodingManagerEngine : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QGeoCodingManagerEngine(const QVariantMap ¶meters, QObject *parent /TransferThis/ = 0); + virtual ~QGeoCodingManagerEngine(); + QString managerName() const; + int managerVersion() const; + virtual QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds) /Factory/; + virtual QGeoCodeReply *geocode(const QString &address, int limit, int offset, const QGeoShape &bounds) /Factory/; + virtual QGeoCodeReply *reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) /Factory/; + void setLocale(const QLocale &locale); + QLocale locale() const; + +signals: + void finished(QGeoCodeReply *reply); + void error(QGeoCodeReply *reply, QGeoCodeReply::Error error, QString errorString = QString()); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeomaneuver.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeomaneuver.sip new file mode 100644 index 00000000..00faea0b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeomaneuver.sip @@ -0,0 +1,74 @@ +// qgeomaneuver.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoManeuver +{ +%TypeHeaderCode +#include +%End + +public: + enum InstructionDirection + { + NoDirection, + DirectionForward, + DirectionBearRight, + DirectionLightRight, + DirectionRight, + DirectionHardRight, + DirectionUTurnRight, + DirectionUTurnLeft, + DirectionHardLeft, + DirectionLeft, + DirectionLightLeft, + DirectionBearLeft, + }; + + QGeoManeuver(); + QGeoManeuver(const QGeoManeuver &other); + ~QGeoManeuver(); + bool operator==(const QGeoManeuver &other) const; + bool operator!=(const QGeoManeuver &other) const; + bool isValid() const; + void setPosition(const QGeoCoordinate &position); + QGeoCoordinate position() const; + void setInstructionText(const QString &instructionText); + QString instructionText() const; + void setDirection(QGeoManeuver::InstructionDirection direction); + QGeoManeuver::InstructionDirection direction() const; + void setTimeToNextInstruction(int secs); + int timeToNextInstruction() const; + void setDistanceToNextInstruction(qreal distance); + qreal distanceToNextInstruction() const; + void setWaypoint(const QGeoCoordinate &coordinate); + QGeoCoordinate waypoint() const; +%If (Qt_5_11_0 -) + void setExtendedAttributes(const QVariantMap &extendedAttributes); +%End +%If (Qt_5_11_0 -) + QVariantMap extendedAttributes() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroute.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroute.sip new file mode 100644 index 00000000..e492f049 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroute.sip @@ -0,0 +1,86 @@ +// qgeoroute.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoRoute +{ +%TypeHeaderCode +#include +%End + +public: + QGeoRoute(); + QGeoRoute(const QGeoRoute &other); + ~QGeoRoute(); + bool operator==(const QGeoRoute &other) const; + bool operator!=(const QGeoRoute &other) const; + void setRouteId(const QString &id); + QString routeId() const; + void setRequest(const QGeoRouteRequest &request); + QGeoRouteRequest request() const; + void setBounds(const QGeoRectangle &bounds); + QGeoRectangle bounds() const; + void setFirstRouteSegment(const QGeoRouteSegment &routeSegment); + QGeoRouteSegment firstRouteSegment() const; + void setTravelTime(int secs); + int travelTime() const; + void setDistance(qreal distance); + qreal distance() const; + void setTravelMode(QGeoRouteRequest::TravelMode mode); + QGeoRouteRequest::TravelMode travelMode() const; + void setPath(const QList &path); + QList path() const; +%If (Qt_5_12_0 -) + void setRouteLegs(const QList &legs); +%End +%If (Qt_5_12_0 -) + QList routeLegs() const; +%End +%If (Qt_5_13_0 -) + void setExtendedAttributes(const QVariantMap &extendedAttributes); +%End +%If (Qt_5_13_0 -) + QVariantMap extendedAttributes() const; +%End +}; + +%End +%If (Qt_5_12_0 -) + +class QGeoRouteLeg : QGeoRoute +{ +%TypeHeaderCode +#include +%End + +public: + QGeoRouteLeg(); + QGeoRouteLeg(const QGeoRouteLeg &other); + ~QGeoRouteLeg(); + void setLegIndex(int idx); + int legIndex() const; + void setOverallRoute(const QGeoRoute &route); + QGeoRoute overallRoute() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutereply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutereply.sip new file mode 100644 index 00000000..6ce605ea --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutereply.sip @@ -0,0 +1,66 @@ +// qgeoroutereply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoRouteReply : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + EngineNotSetError, + CommunicationError, + ParseError, + UnsupportedOptionError, + UnknownError, + }; + + QGeoRouteReply(QGeoRouteReply::Error error, const QString &errorString, QObject *parent /TransferThis/ = 0); + virtual ~QGeoRouteReply(); + bool isFinished() const; + QGeoRouteReply::Error error() const; + QString errorString() const; + QGeoRouteRequest request() const; + QList routes() const; + virtual void abort(); + +signals: +%If (Qt_5_9_0 -) + void aborted(); +%End + void finished(); + void error(QGeoRouteReply::Error error, const QString &errorString = QString()); + +protected: + QGeoRouteReply(const QGeoRouteRequest &request, QObject *parent /TransferThis/ = 0); + void setError(QGeoRouteReply::Error error, const QString &errorString); + void setFinished(bool finished); + void setRoutes(const QList &routes); + void addRoutes(const QList &routes); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeorouterequest.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeorouterequest.sip new file mode 100644 index 00000000..88d4a5d8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeorouterequest.sip @@ -0,0 +1,158 @@ +// qgeorouterequest.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoRouteRequest +{ +%TypeHeaderCode +#include +%End + +public: + enum TravelMode + { + CarTravel, + PedestrianTravel, + BicycleTravel, + PublicTransitTravel, + TruckTravel, + }; + + typedef QFlags TravelModes; + + enum FeatureType + { + NoFeature, + TollFeature, + HighwayFeature, + PublicTransitFeature, + FerryFeature, + TunnelFeature, + DirtRoadFeature, + ParksFeature, + MotorPoolLaneFeature, +%If (Qt_5_10_0 -) + TrafficFeature, +%End + }; + + typedef QFlags FeatureTypes; + + enum FeatureWeight + { + NeutralFeatureWeight, + PreferFeatureWeight, + RequireFeatureWeight, + AvoidFeatureWeight, + DisallowFeatureWeight, + }; + + typedef QFlags FeatureWeights; + + enum RouteOptimization + { + ShortestRoute, + FastestRoute, + MostEconomicRoute, + MostScenicRoute, + }; + + typedef QFlags RouteOptimizations; + + enum SegmentDetail + { + NoSegmentData, + BasicSegmentData, + }; + + typedef QFlags SegmentDetails; + + enum ManeuverDetail + { + NoManeuvers, + BasicManeuvers, + }; + + typedef QFlags ManeuverDetails; + explicit QGeoRouteRequest(const QList &waypoints = QList()); + QGeoRouteRequest(const QGeoCoordinate &origin, const QGeoCoordinate &destination); + QGeoRouteRequest(const QGeoRouteRequest &other); + ~QGeoRouteRequest(); + bool operator==(const QGeoRouteRequest &other) const; + bool operator!=(const QGeoRouteRequest &other) const; + void setWaypoints(const QList &waypoints); + QList waypoints() const; + void setExcludeAreas(const QList &areas); + QList excludeAreas() const; + void setNumberAlternativeRoutes(int alternatives); + int numberAlternativeRoutes() const; + void setTravelModes(QGeoRouteRequest::TravelModes travelModes); + QGeoRouteRequest::TravelModes travelModes() const; + void setFeatureWeight(QGeoRouteRequest::FeatureType featureType, QGeoRouteRequest::FeatureWeight featureWeight); + QGeoRouteRequest::FeatureWeight featureWeight(QGeoRouteRequest::FeatureType featureType) const; + QList featureTypes() const; + void setRouteOptimization(QGeoRouteRequest::RouteOptimizations optimization); + QGeoRouteRequest::RouteOptimizations routeOptimization() const; + void setSegmentDetail(QGeoRouteRequest::SegmentDetail segmentDetail); + QGeoRouteRequest::SegmentDetail segmentDetail() const; + void setManeuverDetail(QGeoRouteRequest::ManeuverDetail maneuverDetail); + QGeoRouteRequest::ManeuverDetail maneuverDetail() const; +%If (Qt_5_11_0 -) + void setWaypointsMetadata(const QList &waypointMetadata); +%End +%If (Qt_5_11_0 -) + QList waypointsMetadata() const; +%End +%If (Qt_5_11_0 -) + void setExtraParameters(const QVariantMap &extraParameters); +%End +%If (Qt_5_11_0 -) + QVariantMap extraParameters() const; +%End +%If (Qt_5_13_0 -) + void setDepartureTime(const QDateTime &departureTime); +%End +%If (Qt_5_13_0 -) + QDateTime departureTime() const; +%End +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoRouteRequest::TravelMode f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoRouteRequest::FeatureType f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoRouteRequest::FeatureWeight f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoRouteRequest::RouteOptimization f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoRouteRequest::SegmentDetail f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoRouteRequest::ManeuverDetail f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutesegment.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutesegment.sip new file mode 100644 index 00000000..49824720 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutesegment.sip @@ -0,0 +1,53 @@ +// qgeoroutesegment.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoRouteSegment +{ +%TypeHeaderCode +#include +%End + +public: + QGeoRouteSegment(); + QGeoRouteSegment(const QGeoRouteSegment &other); + ~QGeoRouteSegment(); + bool operator==(const QGeoRouteSegment &other) const; + bool operator!=(const QGeoRouteSegment &other) const; + bool isValid() const; + void setNextRouteSegment(const QGeoRouteSegment &routeSegment); + QGeoRouteSegment nextRouteSegment() const; + void setTravelTime(int secs); + int travelTime() const; + void setDistance(qreal distance); + qreal distance() const; + void setPath(const QList &path); + QList path() const; + void setManeuver(const QGeoManeuver &maneuver); + QGeoManeuver maneuver() const; +%If (Qt_5_12_0 -) + bool isLegLastSegment() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutingmanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutingmanager.sip new file mode 100644 index 00000000..7618c744 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutingmanager.sip @@ -0,0 +1,53 @@ +// qgeoroutingmanager.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoRoutingManager : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QGeoRoutingManager(); + QString managerName() const; + int managerVersion() const; + QGeoRouteReply *calculateRoute(const QGeoRouteRequest &request) /Factory/; + QGeoRouteReply *updateRoute(const QGeoRoute &route, const QGeoCoordinate &position) /TransferThis/; + QGeoRouteRequest::TravelModes supportedTravelModes() const; + QGeoRouteRequest::FeatureTypes supportedFeatureTypes() const; + QGeoRouteRequest::FeatureWeights supportedFeatureWeights() const; + QGeoRouteRequest::RouteOptimizations supportedRouteOptimizations() const; + QGeoRouteRequest::SegmentDetails supportedSegmentDetails() const; + QGeoRouteRequest::ManeuverDetails supportedManeuverDetails() const; + void setLocale(const QLocale &locale); + QLocale locale() const; + void setMeasurementSystem(QLocale::MeasurementSystem system); + QLocale::MeasurementSystem measurementSystem() const; + +signals: + void finished(QGeoRouteReply *reply); + void error(QGeoRouteReply *reply, QGeoRouteReply::Error error, QString errorString = QString()); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutingmanagerengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutingmanagerengine.sip new file mode 100644 index 00000000..4e491c62 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoroutingmanagerengine.sip @@ -0,0 +1,62 @@ +// qgeoroutingmanagerengine.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QGeoRoutingManagerEngine : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QGeoRoutingManagerEngine(const QVariantMap ¶meters, QObject *parent /TransferThis/ = 0); + virtual ~QGeoRoutingManagerEngine(); + QString managerName() const; + int managerVersion() const; + virtual QGeoRouteReply *calculateRoute(const QGeoRouteRequest &request) = 0 /Factory/; + virtual QGeoRouteReply *updateRoute(const QGeoRoute &route, const QGeoCoordinate &position) /Factory/; + QGeoRouteRequest::TravelModes supportedTravelModes() const; + QGeoRouteRequest::FeatureTypes supportedFeatureTypes() const; + QGeoRouteRequest::FeatureWeights supportedFeatureWeights() const; + QGeoRouteRequest::RouteOptimizations supportedRouteOptimizations() const; + QGeoRouteRequest::SegmentDetails supportedSegmentDetails() const; + QGeoRouteRequest::ManeuverDetails supportedManeuverDetails() const; + void setLocale(const QLocale &locale); + QLocale locale() const; + void setMeasurementSystem(QLocale::MeasurementSystem system); + QLocale::MeasurementSystem measurementSystem() const; + +signals: + void finished(QGeoRouteReply *reply); + void error(QGeoRouteReply *reply, QGeoRouteReply::Error error, QString errorString = QString()); + +protected: + void setSupportedTravelModes(QGeoRouteRequest::TravelModes travelModes); + void setSupportedFeatureTypes(QGeoRouteRequest::FeatureTypes featureTypes); + void setSupportedFeatureWeights(QGeoRouteRequest::FeatureWeights featureWeights); + void setSupportedRouteOptimizations(QGeoRouteRequest::RouteOptimizations optimizations); + void setSupportedSegmentDetails(QGeoRouteRequest::SegmentDetails segmentDetails); + void setSupportedManeuverDetails(QGeoRouteRequest::ManeuverDetails maneuverDetails); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoserviceprovider.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoserviceprovider.sip new file mode 100644 index 00000000..d9ade836 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qgeoserviceprovider.sip @@ -0,0 +1,224 @@ +// qgeoserviceprovider.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_11_0 -) +class QNavigationManager; +%End +%If (Qt_5_5_0 -) + +class QGeoServiceProvider : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QGeoCodingManager, &sipType_QGeoCodingManager, -1, 1}, + {sipName_QGeoRoutingManagerEngine, &sipType_QGeoRoutingManagerEngine, -1, 2}, + {sipName_QGeoCodeReply, &sipType_QGeoCodeReply, -1, 3}, + {sipName_QPlaceReply, &sipType_QPlaceReply, 10, 4}, + {sipName_QPlaceManagerEngine, &sipType_QPlaceManagerEngine, -1, 5}, + {sipName_QGeoRoutingManager, &sipType_QGeoRoutingManager, -1, 6}, + {sipName_QGeoCodingManagerEngine, &sipType_QGeoCodingManagerEngine, -1, 7}, + {sipName_QGeoServiceProvider, &sipType_QGeoServiceProvider, -1, 8}, + {sipName_QGeoRouteReply, &sipType_QGeoRouteReply, -1, 9}, + {sipName_QPlaceManager, &sipType_QPlaceManager, -1, -1}, + {sipName_QPlaceSearchSuggestionReply, &sipType_QPlaceSearchSuggestionReply, -1, 11}, + {sipName_QPlaceMatchReply, &sipType_QPlaceMatchReply, -1, 12}, + {sipName_QPlaceDetailsReply, &sipType_QPlaceDetailsReply, -1, 13}, + {sipName_QPlaceContentReply, &sipType_QPlaceContentReply, -1, 14}, + {sipName_QPlaceSearchReply, &sipType_QPlaceSearchReply, -1, 15}, + {sipName_QPlaceIdReply, &sipType_QPlaceIdReply, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum Error + { + NoError, + NotSupportedError, + UnknownParameterError, + MissingRequiredParameterError, + ConnectionError, +%If (Qt_5_12_1 -) + LoaderError, +%End + }; + + enum RoutingFeature + { + NoRoutingFeatures, + OnlineRoutingFeature, + OfflineRoutingFeature, + LocalizedRoutingFeature, + RouteUpdatesFeature, + AlternativeRoutesFeature, + ExcludeAreasRoutingFeature, + AnyRoutingFeatures, + }; + + enum GeocodingFeature + { + NoGeocodingFeatures, + OnlineGeocodingFeature, + OfflineGeocodingFeature, + ReverseGeocodingFeature, + LocalizedGeocodingFeature, + AnyGeocodingFeatures, + }; + + enum MappingFeature + { + NoMappingFeatures, + OnlineMappingFeature, + OfflineMappingFeature, + LocalizedMappingFeature, + AnyMappingFeatures, + }; + + enum PlacesFeature + { + NoPlacesFeatures, + OnlinePlacesFeature, + OfflinePlacesFeature, + SavePlaceFeature, + RemovePlaceFeature, + SaveCategoryFeature, + RemoveCategoryFeature, + PlaceRecommendationsFeature, + SearchSuggestionsFeature, + LocalizedPlacesFeature, + NotificationsFeature, + PlaceMatchingFeature, + AnyPlacesFeatures, + }; + + typedef QFlags RoutingFeatures; + typedef QFlags GeocodingFeatures; + typedef QFlags MappingFeatures; + typedef QFlags PlacesFeatures; + static QStringList availableServiceProviders(); + QGeoServiceProvider(const QString &providerName, const QVariantMap ¶meters = QVariantMap(), bool allowExperimental = false); + virtual ~QGeoServiceProvider(); + QGeoServiceProvider::RoutingFeatures routingFeatures() const; + QGeoServiceProvider::GeocodingFeatures geocodingFeatures() const; + QGeoServiceProvider::MappingFeatures mappingFeatures() const; + QGeoServiceProvider::PlacesFeatures placesFeatures() const; + QGeoCodingManager *geocodingManager() const; + QGeoRoutingManager *routingManager() const; + QPlaceManager *placeManager() const; + QGeoServiceProvider::Error error() const; + QString errorString() const; + void setParameters(const QVariantMap ¶meters); + void setLocale(const QLocale &locale); + void setAllowExperimental(bool allow); +%If (Qt_5_11_0 -) + + enum NavigationFeature + { + NoNavigationFeatures, + OnlineNavigationFeature, + OfflineNavigationFeature, + AnyNavigationFeatures, + }; + +%End +%If (Qt_5_11_0 -) + typedef QFlags NavigationFeatures; +%End +%If (Qt_5_11_0 -) + QGeoServiceProvider::NavigationFeatures navigationFeatures() const; +%End +%If (Qt_5_11_0 -) + QNavigationManager *navigationManager() const; +%End +%If (Qt_5_13_0 -) + QGeoServiceProvider::Error mappingError() const; +%End +%If (Qt_5_13_0 -) + QString mappingErrorString() const; +%End +%If (Qt_5_13_0 -) + QGeoServiceProvider::Error geocodingError() const; +%End +%If (Qt_5_13_0 -) + QString geocodingErrorString() const; +%End +%If (Qt_5_13_0 -) + QGeoServiceProvider::Error routingError() const; +%End +%If (Qt_5_13_0 -) + QString routingErrorString() const; +%End +%If (Qt_5_13_0 -) + QGeoServiceProvider::Error placesError() const; +%End +%If (Qt_5_13_0 -) + QString placesErrorString() const; +%End +%If (Qt_5_13_0 -) + QGeoServiceProvider::Error navigationError() const; +%End +%If (Qt_5_13_0 -) + QString navigationErrorString() const; +%End +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoServiceProvider::RoutingFeature f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoServiceProvider::GeocodingFeature f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoServiceProvider::MappingFeature f1, QFlags f2); +%End +%If (Qt_5_5_0 -) +QFlags operator|(QGeoServiceProvider::PlacesFeature f1, QFlags f2); +%End +%If (Qt_5_11_0 -) +QFlags operator|(QGeoServiceProvider::NavigationFeature f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qlocation.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qlocation.sip new file mode 100644 index 00000000..311b1c61 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qlocation.sip @@ -0,0 +1,45 @@ +// qlocation.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +namespace QLocation +{ +%TypeHeaderCode +#include +%End + + enum Visibility + { + UnspecifiedVisibility, + DeviceVisibility, + PrivateVisibility, + PublicVisibility, + }; + + typedef QFlags VisibilityScope; +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QLocation::Visibility f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplace.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplace.sip new file mode 100644 index 00000000..b7466cfb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplace.sip @@ -0,0 +1,79 @@ +// qplace.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlace +{ +%TypeHeaderCode +#include +%End + +public: + QPlace(); + QPlace(const QPlace &other); + ~QPlace(); + bool operator==(const QPlace &other) const; + bool operator!=(const QPlace &other) const; + QList categories() const; + void setCategory(const QPlaceCategory &category); + void setCategories(const QList &categories); + QGeoLocation location() const; + void setLocation(const QGeoLocation &location); + QPlaceRatings ratings() const; + void setRatings(const QPlaceRatings &ratings); + QPlaceSupplier supplier() const; + void setSupplier(const QPlaceSupplier &supplier); + QString attribution() const; + void setAttribution(const QString &attribution); + QPlaceIcon icon() const; + void setIcon(const QPlaceIcon &icon); + QPlaceContent::Collection content(QPlaceContent::Type type) const; + void setContent(QPlaceContent::Type type, const QPlaceContent::Collection &content); + void insertContent(QPlaceContent::Type type, const QPlaceContent::Collection &content); + int totalContentCount(QPlaceContent::Type type) const; + void setTotalContentCount(QPlaceContent::Type type, int total); + QString name() const; + void setName(const QString &name); + QString placeId() const; + void setPlaceId(const QString &identifier); + QString primaryPhone() const; + QString primaryFax() const; + QString primaryEmail() const; + QUrl primaryWebsite() const; + bool detailsFetched() const; + void setDetailsFetched(bool fetched); + QStringList extendedAttributeTypes() const; + QPlaceAttribute extendedAttribute(const QString &attributeType) const; + void setExtendedAttribute(const QString &attributeType, const QPlaceAttribute &attribute); + void removeExtendedAttribute(const QString &attributeType); + QStringList contactTypes() const; + QList contactDetails(const QString &contactType) const; + void setContactDetails(const QString &contactType, QList details); + void appendContactDetail(const QString &contactType, const QPlaceContactDetail &detail); + void removeContactDetails(const QString &contactType); + QLocation::Visibility visibility() const; + void setVisibility(QLocation::Visibility visibility); + bool isEmpty() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceattribute.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceattribute.sip new file mode 100644 index 00000000..82449300 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceattribute.sip @@ -0,0 +1,47 @@ +// qplaceattribute.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceAttribute +{ +%TypeHeaderCode +#include +%End + +public: + static const QString OpeningHours; + static const QString Payment; + static const QString Provider; + QPlaceAttribute(); + QPlaceAttribute(const QPlaceAttribute &other); + virtual ~QPlaceAttribute(); + bool operator==(const QPlaceAttribute &other) const; + bool operator!=(const QPlaceAttribute &other) const; + QString label() const; + void setLabel(const QString &label); + QString text() const; + void setText(const QString &text); + bool isEmpty() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecategory.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecategory.sip new file mode 100644 index 00000000..eeb29f48 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecategory.sip @@ -0,0 +1,48 @@ +// qplacecategory.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceCategory +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceCategory(); + QPlaceCategory(const QPlaceCategory &other); + virtual ~QPlaceCategory(); + bool operator==(const QPlaceCategory &other) const; + bool operator!=(const QPlaceCategory &other) const; + QString categoryId() const; + void setCategoryId(const QString &identifier); + QString name() const; + void setName(const QString &name); + QLocation::Visibility visibility() const; + void setVisibility(QLocation::Visibility visibility); + QPlaceIcon icon() const; + void setIcon(const QPlaceIcon &icon); + bool isEmpty() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontactdetail.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontactdetail.sip new file mode 100644 index 00000000..43cc3156 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontactdetail.sip @@ -0,0 +1,48 @@ +// qplacecontactdetail.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceContactDetail +{ +%TypeHeaderCode +#include +%End + +public: + static const QString Phone; + static const QString Email; + static const QString Website; + static const QString Fax; + QPlaceContactDetail(); + QPlaceContactDetail(const QPlaceContactDetail &other); + virtual ~QPlaceContactDetail(); + bool operator==(const QPlaceContactDetail &other) const; + bool operator!=(const QPlaceContactDetail &other) const; + QString label() const; + void setLabel(const QString &label); + QString value() const; + void setValue(const QString &value); + void clear(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontent.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontent.sip new file mode 100644 index 00000000..57ecaa92 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontent.sip @@ -0,0 +1,59 @@ +// qplacecontent.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceContent +{ +%TypeHeaderCode +#include +%End + + typedef QMap Collection; + +public: + enum Type + { + NoType, + ImageType, + ReviewType, + EditorialType, +%If (Qt_5_11_0 -) + CustomType, +%End + }; + + QPlaceContent(); + QPlaceContent(const QPlaceContent &other); + virtual ~QPlaceContent(); + bool operator==(const QPlaceContent &other) const; + bool operator!=(const QPlaceContent &other) const; + QPlaceContent::Type type() const; + QPlaceSupplier supplier() const; + void setSupplier(const QPlaceSupplier &supplier); + QPlaceUser user() const; + void setUser(const QPlaceUser &user); + QString attribution() const; + void setAttribution(const QString &attribution); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontentreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontentreply.sip new file mode 100644 index 00000000..18826407 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontentreply.sip @@ -0,0 +1,49 @@ +// qplacecontentreply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceContentReply : QPlaceReply +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPlaceContentReply(QObject *parent /TransferThis/ = 0); + virtual ~QPlaceContentReply(); + virtual QPlaceReply::Type type() const; + QPlaceContent::Collection content() const; + int totalCount() const; + QPlaceContentRequest request() const; + QPlaceContentRequest previousPageRequest() const; + QPlaceContentRequest nextPageRequest() const; + +protected: + void setContent(const QPlaceContent::Collection &content); + void setTotalCount(int total); + void setRequest(const QPlaceContentRequest &request); + void setPreviousPageRequest(const QPlaceContentRequest &previous); + void setNextPageRequest(const QPlaceContentRequest &next); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontentrequest.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontentrequest.sip new file mode 100644 index 00000000..bc2319a1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacecontentrequest.sip @@ -0,0 +1,48 @@ +// qplacecontentrequest.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceContentRequest +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceContentRequest(); + QPlaceContentRequest(const QPlaceContentRequest &other); + ~QPlaceContentRequest(); + bool operator==(const QPlaceContentRequest &other) const; + bool operator!=(const QPlaceContentRequest &other) const; + QPlaceContent::Type contentType() const; + void setContentType(QPlaceContent::Type type); + QString placeId() const; + void setPlaceId(const QString &identifier); + QVariant contentContext() const; + void setContentContext(const QVariant &context); + int limit() const; + void setLimit(int limit); + void clear(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacedetailsreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacedetailsreply.sip new file mode 100644 index 00000000..4568d16e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacedetailsreply.sip @@ -0,0 +1,41 @@ +// qplacedetailsreply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceDetailsReply : QPlaceReply +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPlaceDetailsReply(QObject *parent /TransferThis/ = 0); + virtual ~QPlaceDetailsReply(); + virtual QPlaceReply::Type type() const; + QPlace place() const; + +protected: + void setPlace(const QPlace &place); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceeditorial.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceeditorial.sip new file mode 100644 index 00000000..a773fcfb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceeditorial.sip @@ -0,0 +1,43 @@ +// qplaceeditorial.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceEditorial : QPlaceContent +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceEditorial(); + QPlaceEditorial(const QPlaceContent &other); + virtual ~QPlaceEditorial(); + QString text() const; + void setText(const QString &text); + QString title() const; + void setTitle(const QString &data); + QString language() const; + void setLanguage(const QString &data); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceicon.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceicon.sip new file mode 100644 index 00000000..432ed3e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceicon.sip @@ -0,0 +1,46 @@ +// qplaceicon.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceIcon +{ +%TypeHeaderCode +#include +%End + +public: + static const QString SingleUrl; + QPlaceIcon(); + QPlaceIcon(const QPlaceIcon &other); + ~QPlaceIcon(); + bool operator==(const QPlaceIcon &other) const; + bool operator!=(const QPlaceIcon &other) const; + QUrl url(const QSize &size = QSize()) const; + QPlaceManager *manager() const; + void setManager(QPlaceManager *manager); + QVariantMap parameters() const; + void setParameters(const QVariantMap ¶meters); + bool isEmpty() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceidreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceidreply.sip new file mode 100644 index 00000000..caec6d42 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceidreply.sip @@ -0,0 +1,50 @@ +// qplaceidreply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceIdReply : QPlaceReply +{ +%TypeHeaderCode +#include +%End + +public: + enum OperationType + { + SavePlace, + SaveCategory, + RemovePlace, + RemoveCategory, + }; + + QPlaceIdReply(QPlaceIdReply::OperationType operationType, QObject *parent /TransferThis/ = 0); + virtual ~QPlaceIdReply(); + virtual QPlaceReply::Type type() const; + QPlaceIdReply::OperationType operationType() const; + QString id() const; + +protected: + void setId(const QString &identifier); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceimage.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceimage.sip new file mode 100644 index 00000000..06117c03 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceimage.sip @@ -0,0 +1,43 @@ +// qplaceimage.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceImage : QPlaceContent +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceImage(); + QPlaceImage(const QPlaceContent &other); + virtual ~QPlaceImage(); + QUrl url() const; + void setUrl(const QUrl &url); + QString imageId() const; + void setImageId(const QString &identifier); + QString mimeType() const; + void setMimeType(const QString &data); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacemanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacemanager.sip new file mode 100644 index 00000000..5d3be872 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacemanager.sip @@ -0,0 +1,66 @@ +// qplacemanager.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceManager : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QPlaceManager(); + QString managerName() const; + int managerVersion() const; + QPlaceDetailsReply *getPlaceDetails(const QString &placeId) const; + QPlaceContentReply *getPlaceContent(const QPlaceContentRequest &request) const; + QPlaceSearchReply *search(const QPlaceSearchRequest &query) const; + QPlaceSearchSuggestionReply *searchSuggestions(const QPlaceSearchRequest &request) const; + QPlaceIdReply *savePlace(const QPlace &place); + QPlaceIdReply *removePlace(const QString &placeId); + QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId = QString()); + QPlaceIdReply *removeCategory(const QString &categoryId); + QPlaceReply *initializeCategories(); + QString parentCategoryId(const QString &categoryId) const; + QStringList childCategoryIds(const QString &parentId = QString()) const; + QPlaceCategory category(const QString &categoryId) const; + QList childCategories(const QString &parentId = QString()) const; + QList locales() const; + void setLocale(const QLocale &locale); + void setLocales(const QList &locale); + QPlace compatiblePlace(const QPlace &place); + QPlaceMatchReply *matchingPlaces(const QPlaceMatchRequest &request) const; + +signals: + void finished(QPlaceReply *reply); + void error(QPlaceReply *, QPlaceReply::Error error, const QString &errorString = QString()); + void placeAdded(const QString &placeId); + void placeUpdated(const QString &placeId); + void placeRemoved(const QString &placeId); + void categoryAdded(const QPlaceCategory &category, const QString &parentId); + void categoryUpdated(const QPlaceCategory &category, const QString &parentId); + void categoryRemoved(const QString &categoryId, const QString &parentId); + void dataChanged(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacemanagerengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacemanagerengine.sip new file mode 100644 index 00000000..65a9d2c7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacemanagerengine.sip @@ -0,0 +1,70 @@ +// qplacemanagerengine.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceManagerEngine : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceManagerEngine(const QVariantMap ¶meters, QObject *parent /TransferThis/ = 0); + virtual ~QPlaceManagerEngine(); + QString managerName() const; + int managerVersion() const; + virtual QPlaceDetailsReply *getPlaceDetails(const QString &placeId); + virtual QPlaceContentReply *getPlaceContent(const QPlaceContentRequest &request); + virtual QPlaceSearchReply *search(const QPlaceSearchRequest &request); + virtual QPlaceSearchSuggestionReply *searchSuggestions(const QPlaceSearchRequest &request); + virtual QPlaceIdReply *savePlace(const QPlace &place); + virtual QPlaceIdReply *removePlace(const QString &placeId); + virtual QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId); + virtual QPlaceIdReply *removeCategory(const QString &categoryId); + virtual QPlaceReply *initializeCategories(); + virtual QString parentCategoryId(const QString &categoryId) const; + virtual QStringList childCategoryIds(const QString &categoryId) const; + virtual QPlaceCategory category(const QString &categoryId) const; + virtual QList childCategories(const QString &parentId) const; + virtual QList locales() const; + virtual void setLocales(const QList &locales); + virtual QUrl constructIconUrl(const QPlaceIcon &icon, const QSize &size) const; + virtual QPlace compatiblePlace(const QPlace &original) const; + virtual QPlaceMatchReply *matchingPlaces(const QPlaceMatchRequest &request); + +signals: + void finished(QPlaceReply *reply); + void error(QPlaceReply *, QPlaceReply::Error error, const QString &errorString = QString()); + void placeAdded(const QString &placeId); + void placeUpdated(const QString &placeId); + void placeRemoved(const QString &placeId); + void categoryAdded(const QPlaceCategory &category, const QString &parentCategoryId); + void categoryUpdated(const QPlaceCategory &category, const QString &parentCategoryId); + void categoryRemoved(const QString &categoryId, const QString &parentCategoryId); + void dataChanged(); + +protected: + QPlaceManager *manager() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacematchreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacematchreply.sip new file mode 100644 index 00000000..2c8c1c41 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacematchreply.sip @@ -0,0 +1,43 @@ +// qplacematchreply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceMatchReply : QPlaceReply +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPlaceMatchReply(QObject *parent /TransferThis/ = 0); + virtual ~QPlaceMatchReply(); + virtual QPlaceReply::Type type() const; + QList places() const; + QPlaceMatchRequest request() const; + +protected: + void setPlaces(const QList &results); + void setRequest(const QPlaceMatchRequest &request); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacematchrequest.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacematchrequest.sip new file mode 100644 index 00000000..dcabafc9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacematchrequest.sip @@ -0,0 +1,46 @@ +// qplacematchrequest.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceMatchRequest +{ +%TypeHeaderCode +#include +%End + +public: + static const QString AlternativeId; + QPlaceMatchRequest(); + QPlaceMatchRequest(const QPlaceMatchRequest &other); + ~QPlaceMatchRequest(); + bool operator==(const QPlaceMatchRequest &other) const; + bool operator!=(const QPlaceMatchRequest &other) const; + QList places() const; + void setPlaces(const QList places); + void setResults(const QList &results); + QVariantMap parameters() const; + void setParameters(const QVariantMap ¶meters); + void clear(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceproposedsearchresult.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceproposedsearchresult.sip new file mode 100644 index 00000000..0b650c42 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceproposedsearchresult.sip @@ -0,0 +1,39 @@ +// qplaceproposedsearchresult.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceProposedSearchResult : QPlaceSearchResult +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceProposedSearchResult(); + QPlaceProposedSearchResult(const QPlaceSearchResult &other); + virtual ~QPlaceProposedSearchResult(); + QPlaceSearchRequest searchRequest() const; + void setSearchRequest(const QPlaceSearchRequest &request); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceratings.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceratings.sip new file mode 100644 index 00000000..7c8c7ab3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceratings.sip @@ -0,0 +1,46 @@ +// qplaceratings.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceRatings +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceRatings(); + QPlaceRatings(const QPlaceRatings &other); + ~QPlaceRatings(); + bool operator==(const QPlaceRatings &other) const; + bool operator!=(const QPlaceRatings &other) const; + qreal average() const; + void setAverage(qreal average); + int count() const; + void setCount(int count); + qreal maximum() const; + void setMaximum(qreal max); + bool isEmpty() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacereply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacereply.sip new file mode 100644 index 00000000..c87703c6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacereply.sip @@ -0,0 +1,82 @@ +// qplacereply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceReply : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + PlaceDoesNotExistError, + CategoryDoesNotExistError, + CommunicationError, + ParseError, + PermissionsError, + UnsupportedError, + BadArgumentError, + CancelError, + UnknownError, + }; + + enum Type + { + Reply, + DetailsReply, + SearchReply, + SearchSuggestionReply, + ContentReply, + IdReply, + MatchReply, + }; + + explicit QPlaceReply(QObject *parent /TransferThis/ = 0); + virtual ~QPlaceReply(); + bool isFinished() const; + virtual QPlaceReply::Type type() const; + QString errorString() const; + QPlaceReply::Error error() const; + +public slots: + virtual void abort(); + +signals: +%If (Qt_5_9_0 -) + void aborted(); +%End + void finished(); + void error(QPlaceReply::Error error, const QString &errorString = QString()); +%If (Qt_5_12_0 -) + void contentUpdated(); +%End + +protected: + void setFinished(bool finished); + void setError(QPlaceReply::Error error, const QString &errorString); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceresult.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceresult.sip new file mode 100644 index 00000000..71d5ff89 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceresult.sip @@ -0,0 +1,43 @@ +// qplaceresult.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceResult : QPlaceSearchResult +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceResult(); + QPlaceResult(const QPlaceSearchResult &other); + virtual ~QPlaceResult(); + qreal distance() const; + void setDistance(qreal distance); + QPlace place() const; + void setPlace(const QPlace &place); + bool isSponsored() const; + void setSponsored(bool sponsored); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacereview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacereview.sip new file mode 100644 index 00000000..157e53cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacereview.sip @@ -0,0 +1,49 @@ +// qplacereview.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceReview : QPlaceContent +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceReview(); + QPlaceReview(const QPlaceContent &other); + virtual ~QPlaceReview(); + QDateTime dateTime() const; + void setDateTime(const QDateTime &dt); + QString text() const; + void setText(const QString &text); + QString language() const; + void setLanguage(const QString &data); + qreal rating() const; + void setRating(qreal data); + QString reviewId() const; + void setReviewId(const QString &identifier); + QString title() const; + void setTitle(const QString &data); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchreply.sip new file mode 100644 index 00000000..fe59d53e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchreply.sip @@ -0,0 +1,47 @@ +// qplacesearchreply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceSearchReply : QPlaceReply +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPlaceSearchReply(QObject *parent /TransferThis/ = 0); + virtual ~QPlaceSearchReply(); + virtual QPlaceReply::Type type() const; + QList results() const; + QPlaceSearchRequest request() const; + QPlaceSearchRequest previousPageRequest() const; + QPlaceSearchRequest nextPageRequest() const; + +protected: + void setResults(const QList &results); + void setRequest(const QPlaceSearchRequest &request); + void setPreviousPageRequest(const QPlaceSearchRequest &previous); + void setNextPageRequest(const QPlaceSearchRequest &next); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchrequest.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchrequest.sip new file mode 100644 index 00000000..30024d21 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchrequest.sip @@ -0,0 +1,64 @@ +// qplacesearchrequest.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceSearchRequest +{ +%TypeHeaderCode +#include +%End + +public: + enum RelevanceHint + { + UnspecifiedHint, + DistanceHint, + LexicalPlaceNameHint, + }; + + QPlaceSearchRequest(); + QPlaceSearchRequest(const QPlaceSearchRequest &other); + ~QPlaceSearchRequest(); + bool operator==(const QPlaceSearchRequest &other) const; + bool operator!=(const QPlaceSearchRequest &other) const; + QString searchTerm() const; + void setSearchTerm(const QString &term); + QList categories() const; + void setCategory(const QPlaceCategory &category); + void setCategories(const QList &categories); + QGeoShape searchArea() const; + void setSearchArea(const QGeoShape &area); + QString recommendationId() const; + void setRecommendationId(const QString &recommendationId); + QVariant searchContext() const; + void setSearchContext(const QVariant &context); + QLocation::VisibilityScope visibilityScope() const; + void setVisibilityScope(QLocation::VisibilityScope visibilityScopes); + QPlaceSearchRequest::RelevanceHint relevanceHint() const; + void setRelevanceHint(QPlaceSearchRequest::RelevanceHint hint); + int limit() const; + void setLimit(int limit); + void clear(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchresult.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchresult.sip new file mode 100644 index 00000000..3adba381 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchresult.sip @@ -0,0 +1,52 @@ +// qplacesearchresult.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceSearchResult +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceSearchResult(); + QPlaceSearchResult(const QPlaceSearchResult &other); + virtual ~QPlaceSearchResult(); + bool operator==(const QPlaceSearchResult &other) const; + bool operator!=(const QPlaceSearchResult &other) const; + + enum SearchResultType + { + UnknownSearchResult, + PlaceResult, + ProposedSearchResult, + }; + + QPlaceSearchResult::SearchResultType type() const; + QString title() const; + void setTitle(const QString &title); + QPlaceIcon icon() const; + void setIcon(const QPlaceIcon &icon); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchsuggestionreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchsuggestionreply.sip new file mode 100644 index 00000000..52bb2b4d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesearchsuggestionreply.sip @@ -0,0 +1,41 @@ +// qplacesearchsuggestionreply.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceSearchSuggestionReply : QPlaceReply +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPlaceSearchSuggestionReply(QObject *parent /TransferThis/ = 0); + virtual ~QPlaceSearchSuggestionReply(); + QStringList suggestions() const; + virtual QPlaceReply::Type type() const; + +protected: + void setSuggestions(const QStringList &suggestions); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesupplier.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesupplier.sip new file mode 100644 index 00000000..4f435695 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplacesupplier.sip @@ -0,0 +1,48 @@ +// qplacesupplier.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceSupplier +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceSupplier(); + QPlaceSupplier(const QPlaceSupplier &other); + ~QPlaceSupplier(); + bool operator==(const QPlaceSupplier &other) const; + bool operator!=(const QPlaceSupplier &other) const; + QString name() const; + void setName(const QString &data); + QString supplierId() const; + void setSupplierId(const QString &identifier); + QUrl url() const; + void setUrl(const QUrl &data); + QPlaceIcon icon() const; + void setIcon(const QPlaceIcon &icon); + bool isEmpty() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceuser.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceuser.sip new file mode 100644 index 00000000..7dd34e76 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtLocation/qplaceuser.sip @@ -0,0 +1,43 @@ +// qplaceuser.sip generated by MetaSIP +// +// This file is part of the QtLocation Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QPlaceUser +{ +%TypeHeaderCode +#include +%End + +public: + QPlaceUser(); + QPlaceUser(const QPlaceUser &other); + ~QPlaceUser(); + bool operator==(const QPlaceUser &other) const; + bool operator!=(const QPlaceUser &other) const; + QString userId() const; + void setUserId(const QString &identifier); + QString name() const; + void setName(const QString &name); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/QtMultimedia.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/QtMultimedia.toml new file mode 100644 index 00000000..b8ac518c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/QtMultimedia.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtMultimedia. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/QtMultimediamod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/QtMultimediamod.sip new file mode 100644 index 00000000..de459491 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/QtMultimediamod.sip @@ -0,0 +1,126 @@ +// QtMultimediamod.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtMultimedia, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip +%Import QtNetwork/QtNetworkmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qabstractvideobuffer.sip +%Include qabstractvideofilter.sip +%Include qabstractvideosurface.sip +%Include qaudio.sip +%Include qaudiobuffer.sip +%Include qaudiodecoder.sip +%Include qaudiodecodercontrol.sip +%Include qaudiodeviceinfo.sip +%Include qaudioencodersettingscontrol.sip +%Include qaudioformat.sip +%Include qaudioinput.sip +%Include qaudioinputselectorcontrol.sip +%Include qaudiooutput.sip +%Include qaudiooutputselectorcontrol.sip +%Include qaudioprobe.sip +%Include qaudiorecorder.sip +%Include qaudiorolecontrol.sip +%Include qcamera.sip +%Include qcameracapturebufferformatcontrol.sip +%Include qcameracapturedestinationcontrol.sip +%Include qcameracontrol.sip +%Include qcameraexposure.sip +%Include qcameraexposurecontrol.sip +%Include qcamerafeedbackcontrol.sip +%Include qcameraflashcontrol.sip +%Include qcamerafocus.sip +%Include qcamerafocuscontrol.sip +%Include qcameraimagecapture.sip +%Include qcameraimagecapturecontrol.sip +%Include qcameraimageprocessing.sip +%Include qcameraimageprocessingcontrol.sip +%Include qcamerainfo.sip +%Include qcamerainfocontrol.sip +%Include qcameralockscontrol.sip +%Include qcameraviewfindersettings.sip +%Include qcameraviewfindersettingscontrol.sip +%Include qcamerazoomcontrol.sip +%Include qcustomaudiorolecontrol.sip +%Include qimageencodercontrol.sip +%Include qmediaaudioprobecontrol.sip +%Include qmediaavailabilitycontrol.sip +%Include qmediabindableinterface.sip +%Include qmediacontainercontrol.sip +%Include qmediacontent.sip +%Include qmediacontrol.sip +%Include qmediaencodersettings.sip +%Include qmediagaplessplaybackcontrol.sip +%Include qmediametadata.sip +%Include qmedianetworkaccesscontrol.sip +%Include qmediaobject.sip +%Include qmediaplayer.sip +%Include qmediaplayercontrol.sip +%Include qmediaplaylist.sip +%Include qmediarecorder.sip +%Include qmediarecordercontrol.sip +%Include qmediaresource.sip +%Include qmediaservice.sip +%Include qmediastreamscontrol.sip +%Include qmediatimerange.sip +%Include qmediavideoprobecontrol.sip +%Include qmetadatareadercontrol.sip +%Include qmetadatawritercontrol.sip +%Include qmultimedia.sip +%Include qradiodata.sip +%Include qradiodatacontrol.sip +%Include qradiotuner.sip +%Include qradiotunercontrol.sip +%Include qsound.sip +%Include qsoundeffect.sip +%Include qvideodeviceselectorcontrol.sip +%Include qvideoencodersettingscontrol.sip +%Include qvideoframe.sip +%Include qvideoprobe.sip +%Include qvideorenderercontrol.sip +%Include qvideosurfaceformat.sip +%Include qvideowindowcontrol.sip +%Include qpymultimedia_qlist.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideobuffer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideobuffer.sip new file mode 100644 index 00000000..2f68cc24 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideobuffer.sip @@ -0,0 +1,83 @@ +// qabstractvideobuffer.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractVideoBuffer +{ +%TypeHeaderCode +#include +%End + +public: + enum HandleType + { + NoHandle, + GLTextureHandle, + XvShmImageHandle, + CoreImageHandle, + QPixmapHandle, +%If (Qt_5_4_0 -) + EGLImageHandle, +%End + UserHandle, + }; + + enum MapMode + { + NotMapped, + ReadOnly, + WriteOnly, + ReadWrite, + }; + + QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type); + virtual ~QAbstractVideoBuffer(); + QAbstractVideoBuffer::HandleType handleType() const; + virtual QAbstractVideoBuffer::MapMode mapMode() const = 0; + virtual SIP_PYOBJECT map(QAbstractVideoBuffer::MapMode mode, int *numBytes, int *bytesPerLine) = 0 /TypeHint="PyQt5.sip.voidptr"/ [uchar * (QAbstractVideoBuffer::MapMode mode, int *numBytes, int *bytesPerLine)]; +%MethodCode + uchar *mem; + + Py_BEGIN_ALLOW_THREADS + mem = sipCpp->map(a0, &a1, &a2); + Py_END_ALLOW_THREADS + + if (mem) + { + if (a0 & QAbstractVideoBuffer::WriteOnly) + sipRes = sipConvertFromVoidPtrAndSize(mem, a1); + else + sipRes = sipConvertFromConstVoidPtrAndSize(mem, a1); + } + else + { + sipRes = Py_None; + Py_INCREF(sipRes); + } +%End + + virtual void unmap() = 0; + virtual QVariant handle() const; + virtual void release(); + +private: + QAbstractVideoBuffer(const QAbstractVideoBuffer &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideofilter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideofilter.sip new file mode 100644 index 00000000..53a9dfee --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideofilter.sip @@ -0,0 +1,64 @@ +// qabstractvideofilter.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QVideoFilterRunnable +{ +%TypeHeaderCode +#include +%End + +public: + enum RunFlag + { + LastInChain, + }; + + typedef QFlags RunFlags; + virtual ~QVideoFilterRunnable() /ReleaseGIL/; + virtual QVideoFrame run(QVideoFrame *input, const QVideoSurfaceFormat &surfaceFormat, QVideoFilterRunnable::RunFlags flags) = 0 /ReleaseGIL/; +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QVideoFilterRunnable::RunFlag f1, QFlags f2); +%End +%If (Qt_5_5_0 -) + +class QAbstractVideoFilter : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractVideoFilter(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractVideoFilter(); + bool isActive() const; + virtual QVideoFilterRunnable *createFilterRunnable() = 0 /ReleaseGIL/; + +signals: + void activeChanged(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideosurface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideosurface.sip new file mode 100644 index 00000000..28031402 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qabstractvideosurface.sip @@ -0,0 +1,167 @@ +// qabstractvideosurface.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractVideoSurface : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + #if QT_VERSION >= 0x050500 + {sipName_QAbstractVideoFilter, &sipType_QAbstractVideoFilter, -1, 1}, + #else + {0, 0, -1, 1}, + #endif + {sipName_QAbstractVideoSurface, &sipType_QAbstractVideoSurface, -1, 2}, + {sipName_QMediaObject, &sipType_QMediaObject, 18, 3}, + {sipName_QMediaControl, &sipType_QMediaControl, 22, 4}, + {sipName_QAudioInput, &sipType_QAudioInput, -1, 5}, + {sipName_QAudioOutput, &sipType_QAudioOutput, -1, 6}, + {sipName_QAudioProbe, &sipType_QAudioProbe, -1, 7}, + {sipName_QMediaRecorder, &sipType_QMediaRecorder, 60, 8}, + {sipName_QCameraExposure, &sipType_QCameraExposure, -1, 9}, + {sipName_QCameraFocus, &sipType_QCameraFocus, -1, 10}, + {sipName_QCameraImageCapture, &sipType_QCameraImageCapture, -1, 11}, + {sipName_QCameraImageProcessing, &sipType_QCameraImageProcessing, -1, 12}, + {sipName_QMediaPlaylist, &sipType_QMediaPlaylist, -1, 13}, + {sipName_QMediaService, &sipType_QMediaService, -1, 14}, + {sipName_QRadioData, &sipType_QRadioData, -1, 15}, + {sipName_QSound, &sipType_QSound, -1, 16}, + {sipName_QSoundEffect, &sipType_QSoundEffect, -1, 17}, + {sipName_QVideoProbe, &sipType_QVideoProbe, -1, -1}, + {sipName_QAudioDecoder, &sipType_QAudioDecoder, -1, 19}, + {sipName_QCamera, &sipType_QCamera, -1, 20}, + {sipName_QMediaPlayer, &sipType_QMediaPlayer, -1, 21}, + {sipName_QRadioTuner, &sipType_QRadioTuner, -1, -1}, + {sipName_QAudioDecoderControl, &sipType_QAudioDecoderControl, -1, 23}, + {sipName_QAudioEncoderSettingsControl, &sipType_QAudioEncoderSettingsControl, -1, 24}, + {sipName_QAudioInputSelectorControl, &sipType_QAudioInputSelectorControl, -1, 25}, + {sipName_QAudioOutputSelectorControl, &sipType_QAudioOutputSelectorControl, -1, 26}, + #if QT_VERSION >= 0x050600 + {sipName_QAudioRoleControl, &sipType_QAudioRoleControl, -1, 27}, + #else + {0, 0, -1, 27}, + #endif + {sipName_QCameraCaptureBufferFormatControl, &sipType_QCameraCaptureBufferFormatControl, -1, 28}, + {sipName_QCameraCaptureDestinationControl, &sipType_QCameraCaptureDestinationControl, -1, 29}, + {sipName_QCameraControl, &sipType_QCameraControl, -1, 30}, + {sipName_QCameraExposureControl, &sipType_QCameraExposureControl, -1, 31}, + {sipName_QCameraFeedbackControl, &sipType_QCameraFeedbackControl, -1, 32}, + {sipName_QCameraFlashControl, &sipType_QCameraFlashControl, -1, 33}, + {sipName_QCameraFocusControl, &sipType_QCameraFocusControl, -1, 34}, + {sipName_QCameraImageCaptureControl, &sipType_QCameraImageCaptureControl, -1, 35}, + {sipName_QCameraImageProcessingControl, &sipType_QCameraImageProcessingControl, -1, 36}, + {sipName_QCameraInfoControl, &sipType_QCameraInfoControl, -1, 37}, + {sipName_QCameraLocksControl, &sipType_QCameraLocksControl, -1, 38}, + {sipName_QCameraViewfinderSettingsControl, &sipType_QCameraViewfinderSettingsControl, -1, 39}, + {sipName_QCameraViewfinderSettingsControl2, &sipType_QCameraViewfinderSettingsControl2, -1, 40}, + {sipName_QCameraZoomControl, &sipType_QCameraZoomControl, -1, 41}, + #if QT_VERSION >= 0x050b00 + {sipName_QCustomAudioRoleControl, &sipType_QCustomAudioRoleControl, -1, 42}, + #else + {0, 0, -1, 42}, + #endif + {sipName_QImageEncoderControl, &sipType_QImageEncoderControl, -1, 43}, + {sipName_QMediaAudioProbeControl, &sipType_QMediaAudioProbeControl, -1, 44}, + {sipName_QMediaAvailabilityControl, &sipType_QMediaAvailabilityControl, -1, 45}, + {sipName_QMediaContainerControl, &sipType_QMediaContainerControl, -1, 46}, + {sipName_QMediaGaplessPlaybackControl, &sipType_QMediaGaplessPlaybackControl, -1, 47}, + {sipName_QMediaNetworkAccessControl, &sipType_QMediaNetworkAccessControl, -1, 48}, + {sipName_QMediaPlayerControl, &sipType_QMediaPlayerControl, -1, 49}, + {sipName_QMediaRecorderControl, &sipType_QMediaRecorderControl, -1, 50}, + {sipName_QMediaStreamsControl, &sipType_QMediaStreamsControl, -1, 51}, + {sipName_QMediaVideoProbeControl, &sipType_QMediaVideoProbeControl, -1, 52}, + {sipName_QMetaDataReaderControl, &sipType_QMetaDataReaderControl, -1, 53}, + {sipName_QMetaDataWriterControl, &sipType_QMetaDataWriterControl, -1, 54}, + {sipName_QRadioDataControl, &sipType_QRadioDataControl, -1, 55}, + {sipName_QRadioTunerControl, &sipType_QRadioTunerControl, -1, 56}, + {sipName_QVideoDeviceSelectorControl, &sipType_QVideoDeviceSelectorControl, -1, 57}, + {sipName_QVideoEncoderSettingsControl, &sipType_QVideoEncoderSettingsControl, -1, 58}, + {sipName_QVideoRendererControl, &sipType_QVideoRendererControl, -1, 59}, + {sipName_QVideoWindowControl, &sipType_QVideoWindowControl, -1, -1}, + {sipName_QAudioRecorder, &sipType_QAudioRecorder, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum Error + { + NoError, + UnsupportedFormatError, + IncorrectFormatError, + StoppedError, + ResourceError, + }; + + explicit QAbstractVideoSurface(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractVideoSurface(); + virtual QList supportedPixelFormats(QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const = 0; + virtual bool isFormatSupported(const QVideoSurfaceFormat &format) const; + virtual QVideoSurfaceFormat nearestFormat(const QVideoSurfaceFormat &format) const; + QVideoSurfaceFormat surfaceFormat() const; + virtual bool start(const QVideoSurfaceFormat &format); + virtual void stop(); + bool isActive() const; + virtual bool present(const QVideoFrame &frame) = 0; + QAbstractVideoSurface::Error error() const; + +signals: + void activeChanged(bool active); + void surfaceFormatChanged(const QVideoSurfaceFormat &format); + void supportedFormatsChanged(); + +protected: + void setError(QAbstractVideoSurface::Error error); + +public: + QSize nativeResolution() const; + +protected: + void setNativeResolution(const QSize &resolution); + +signals: + void nativeResolutionChanged(const QSize &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudio.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudio.sip new file mode 100644 index 00000000..4680c342 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudio.sip @@ -0,0 +1,89 @@ +// qaudio.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QAudio +{ +%TypeHeaderCode +#include +%End + + enum Error + { + NoError, + OpenError, + IOError, + UnderrunError, + FatalError, + }; + + enum State + { + ActiveState, + SuspendedState, + StoppedState, + IdleState, +%If (Qt_5_10_0 -) + InterruptedState, +%End + }; + + enum Mode + { + AudioInput, + AudioOutput, + }; + +%If (Qt_5_6_0 -) + + enum Role + { + UnknownRole, + MusicRole, + VideoRole, + VoiceCommunicationRole, + AlarmRole, + NotificationRole, + RingtoneRole, + AccessibilityRole, + SonificationRole, + GameRole, +%If (Qt_5_11_0 -) + CustomRole, +%End + }; + +%End +%If (Qt_5_8_0 -) + + enum VolumeScale + { + LinearVolumeScale, + CubicVolumeScale, + LogarithmicVolumeScale, + DecibelVolumeScale, + }; + +%End +%If (Qt_5_8_0 -) + qreal convertVolume(qreal volume, QAudio::VolumeScale from, QAudio::VolumeScale to); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiobuffer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiobuffer.sip new file mode 100644 index 00000000..647cd2bd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiobuffer.sip @@ -0,0 +1,44 @@ +// qaudiobuffer.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioBuffer +{ +%TypeHeaderCode +#include +%End + +public: + QAudioBuffer(); + QAudioBuffer(const QByteArray &data, const QAudioFormat &format, qint64 startTime = -1); + QAudioBuffer(int numFrames, const QAudioFormat &format, qint64 startTime = -1); + QAudioBuffer(const QAudioBuffer &other); + ~QAudioBuffer(); + bool isValid() const; + QAudioFormat format() const; + int frameCount() const; + int sampleCount() const; + int byteCount() const; + qint64 duration() const; + qint64 startTime() const; + const void *constData() const; + void *data(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodecoder.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodecoder.sip new file mode 100644 index 00000000..654c3b0d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodecoder.sip @@ -0,0 +1,85 @@ +// qaudiodecoder.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioDecoder : QMediaObject +{ +%TypeHeaderCode +#include +%End + +public: + enum State + { + StoppedState, + DecodingState, + }; + + enum Error + { + NoError, + ResourceError, + FormatError, + AccessDeniedError, + ServiceMissingError, + }; + +%If (Qt_5_6_1 -) + explicit QAudioDecoder(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QAudioDecoder(QObject *parent /TransferThis/ = 0); +%End + virtual ~QAudioDecoder(); + static QMultimedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList &codecs = QStringList()); + QAudioDecoder::State state() const; + QString sourceFilename() const; + void setSourceFilename(const QString &fileName); + QIODevice *sourceDevice() const; + void setSourceDevice(QIODevice *device); + QAudioFormat audioFormat() const; + void setAudioFormat(const QAudioFormat &format); + QAudioDecoder::Error error() const; + QString errorString() const; + QAudioBuffer read() const; + bool bufferAvailable() const; + qint64 position() const; + qint64 duration() const; + +public slots: + void start(); + void stop(); + +signals: + void bufferAvailableChanged(bool); + void bufferReady(); + void finished(); + void stateChanged(QAudioDecoder::State newState); + void formatChanged(const QAudioFormat &format); + void error(QAudioDecoder::Error error); + void sourceChanged(); + void positionChanged(qint64 position); + void durationChanged(qint64 duration); + +public: + virtual bool bind(QObject *); + virtual void unbind(QObject *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodecodercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodecodercontrol.sip new file mode 100644 index 00000000..4f81470d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodecodercontrol.sip @@ -0,0 +1,58 @@ +// qaudiodecodercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioDecoderControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAudioDecoderControl(); + virtual QAudioDecoder::State state() const = 0; + virtual QString sourceFilename() const = 0; + virtual void setSourceFilename(const QString &fileName) = 0; + virtual QIODevice *sourceDevice() const = 0; + virtual void setSourceDevice(QIODevice *device) = 0; + virtual void start() = 0; + virtual void stop() = 0; + virtual QAudioFormat audioFormat() const = 0; + virtual void setAudioFormat(const QAudioFormat &format) = 0; + virtual QAudioBuffer read() = 0; + virtual bool bufferAvailable() const = 0; + virtual qint64 position() const = 0; + virtual qint64 duration() const = 0; + +signals: + void stateChanged(QAudioDecoder::State newState); + void formatChanged(const QAudioFormat &format); + void sourceChanged(); + void error(int error, const QString &errorString); + void bufferReady(); + void bufferAvailableChanged(bool available); + void finished(); + void positionChanged(qint64 position); + void durationChanged(qint64 duration); + +protected: + explicit QAudioDecoderControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodeviceinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodeviceinfo.sip new file mode 100644 index 00000000..c286b203 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiodeviceinfo.sip @@ -0,0 +1,52 @@ +// qaudiodeviceinfo.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioDeviceInfo +{ +%TypeHeaderCode +#include +%End + +public: + QAudioDeviceInfo(); + QAudioDeviceInfo(const QAudioDeviceInfo &other); + ~QAudioDeviceInfo(); + bool isNull() const; + QString deviceName() const; + bool isFormatSupported(const QAudioFormat &format) const; + QAudioFormat preferredFormat() const; + QAudioFormat nearestFormat(const QAudioFormat &format) const; + QStringList supportedCodecs() const; + QList supportedSampleSizes() const; + QList supportedByteOrders() const; + QList supportedSampleTypes() const; + static QAudioDeviceInfo defaultInputDevice(); + static QAudioDeviceInfo defaultOutputDevice(); + static QList availableDevices(QAudio::Mode mode); + QList supportedSampleRates() const; + QList supportedChannelCounts() const; + bool operator==(const QAudioDeviceInfo &other) const; + bool operator!=(const QAudioDeviceInfo &other) const; +%If (Qt_5_14_0 -) + QString realm() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioencodersettingscontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioencodersettingscontrol.sip new file mode 100644 index 00000000..7fcbe13c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioencodersettingscontrol.sip @@ -0,0 +1,39 @@ +// qaudioencodersettingscontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioEncoderSettingsControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAudioEncoderSettingsControl(); + virtual QStringList supportedAudioCodecs() const = 0; + virtual QString codecDescription(const QString &codecName) const = 0; + virtual QList supportedSampleRates(const QAudioEncoderSettings &settings, bool *continuous = 0) const = 0; + virtual QAudioEncoderSettings audioSettings() const = 0; + virtual void setAudioSettings(const QAudioEncoderSettings &settings) = 0; + +protected: + explicit QAudioEncoderSettingsControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioformat.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioformat.sip new file mode 100644 index 00000000..50fff6b7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioformat.sip @@ -0,0 +1,69 @@ +// qaudioformat.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioFormat +{ +%TypeHeaderCode +#include +%End + +public: + enum SampleType + { + Unknown, + SignedInt, + UnSignedInt, + Float, + }; + + enum Endian + { + BigEndian, + LittleEndian, + }; + + QAudioFormat(); + QAudioFormat(const QAudioFormat &other); + ~QAudioFormat(); + bool operator==(const QAudioFormat &other) const; + bool operator!=(const QAudioFormat &other) const; + bool isValid() const; + void setSampleSize(int sampleSize); + int sampleSize() const; + void setCodec(const QString &codec); + QString codec() const; + void setByteOrder(QAudioFormat::Endian byteOrder); + QAudioFormat::Endian byteOrder() const; + void setSampleType(QAudioFormat::SampleType sampleType); + QAudioFormat::SampleType sampleType() const; + void setSampleRate(int sampleRate); + int sampleRate() const; + void setChannelCount(int channelCount); + int channelCount() const; + qint32 bytesForDuration(qint64 duration) const; + qint64 durationForBytes(qint32 byteCount) const; + qint32 bytesForFrames(qint32 frameCount) const; + qint32 framesForBytes(qint32 byteCount) const; + qint32 framesForDuration(qint64 duration) const; + qint64 durationForFrames(qint32 frameCount) const; + int bytesPerFrame() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioinput.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioinput.sip new file mode 100644 index 00000000..f3786f5c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioinput.sip @@ -0,0 +1,58 @@ +// qaudioinput.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioInput : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QAudioInput(const QAudioFormat &format = QAudioFormat(), QObject *parent /TransferThis/ = 0); + QAudioInput(const QAudioDeviceInfo &audioDevice, const QAudioFormat &format = QAudioFormat(), QObject *parent /TransferThis/ = 0); + virtual ~QAudioInput(); + QAudioFormat format() const; + void start(QIODevice *device); + QIODevice *start(); + void stop(); + void reset(); + void suspend(); + void resume(); + void setBufferSize(int bytes); + int bufferSize() const; + int bytesReady() const; + int periodSize() const; + void setNotifyInterval(int milliSeconds); + int notifyInterval() const; + qint64 processedUSecs() const; + qint64 elapsedUSecs() const; + QAudio::Error error() const; + QAudio::State state() const; + +signals: + void stateChanged(QAudio::State); + void notify(); + +public: + void setVolume(qreal volume); + qreal volume() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioinputselectorcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioinputselectorcontrol.sip new file mode 100644 index 00000000..2ad8dcf2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioinputselectorcontrol.sip @@ -0,0 +1,45 @@ +// qaudioinputselectorcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioInputSelectorControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAudioInputSelectorControl(); + virtual QList availableInputs() const = 0; + virtual QString inputDescription(const QString &name) const = 0; + virtual QString defaultInput() const = 0; + virtual QString activeInput() const = 0; + +public slots: + virtual void setActiveInput(const QString &name) = 0; + +signals: + void activeInputChanged(const QString &name); + void availableInputsChanged(); + +protected: + explicit QAudioInputSelectorControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiooutput.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiooutput.sip new file mode 100644 index 00000000..921249f1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiooutput.sip @@ -0,0 +1,60 @@ +// qaudiooutput.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioOutput : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QAudioOutput(const QAudioFormat &format = QAudioFormat(), QObject *parent /TransferThis/ = 0); + QAudioOutput(const QAudioDeviceInfo &audioDevice, const QAudioFormat &format = QAudioFormat(), QObject *parent /TransferThis/ = 0); + virtual ~QAudioOutput(); + QAudioFormat format() const; + void start(QIODevice *device); + QIODevice *start(); + void stop(); + void reset(); + void suspend(); + void resume(); + void setBufferSize(int bytes); + int bufferSize() const; + int bytesFree() const; + int periodSize() const; + void setNotifyInterval(int milliSeconds); + int notifyInterval() const; + qint64 processedUSecs() const; + qint64 elapsedUSecs() const; + QAudio::Error error() const; + QAudio::State state() const; + +signals: + void stateChanged(QAudio::State); + void notify(); + +public: + void setVolume(qreal); + qreal volume() const; + QString category() const; + void setCategory(const QString &category); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiooutputselectorcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiooutputselectorcontrol.sip new file mode 100644 index 00000000..4b69e4d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiooutputselectorcontrol.sip @@ -0,0 +1,45 @@ +// qaudiooutputselectorcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioOutputSelectorControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAudioOutputSelectorControl(); + virtual QList availableOutputs() const = 0; + virtual QString outputDescription(const QString &name) const = 0; + virtual QString defaultOutput() const = 0; + virtual QString activeOutput() const = 0; + +public slots: + virtual void setActiveOutput(const QString &name) = 0; + +signals: + void activeOutputChanged(const QString &name); + void availableOutputsChanged(); + +protected: + explicit QAudioOutputSelectorControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioprobe.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioprobe.sip new file mode 100644 index 00000000..0ae24999 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudioprobe.sip @@ -0,0 +1,39 @@ +// qaudioprobe.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioProbe : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAudioProbe(QObject *parent /TransferThis/ = 0); + virtual ~QAudioProbe(); + bool setSource(QMediaObject *source); + bool setSource(QMediaRecorder *source); + bool isActive() const; + +signals: + void audioBufferProbed(const QAudioBuffer &audioBuffer); + void flush(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiorecorder.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiorecorder.sip new file mode 100644 index 00000000..f41b4aea --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiorecorder.sip @@ -0,0 +1,48 @@ +// qaudiorecorder.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioRecorder : QMediaRecorder +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_1 -) + explicit QAudioRecorder(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QAudioRecorder(QObject *parent /TransferThis/ = 0); +%End + virtual ~QAudioRecorder(); + QStringList audioInputs() const; + QString defaultAudioInput() const; + QString audioInputDescription(const QString &name) const; + QString audioInput() const; + +public slots: + void setAudioInput(const QString &name); + +signals: + void audioInputChanged(const QString &name); + void availableAudioInputsChanged(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiorolecontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiorolecontrol.sip new file mode 100644 index 00000000..c47da83e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qaudiorolecontrol.sip @@ -0,0 +1,44 @@ +// qaudiorolecontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_6_0 -) + +class QAudioRoleControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAudioRoleControl(); + virtual QAudio::Role audioRole() const = 0; + virtual void setAudioRole(QAudio::Role role) = 0; + virtual QList supportedAudioRoles() const = 0; + +signals: + void audioRoleChanged(QAudio::Role role); + +protected: + explicit QAudioRoleControl(QObject *parent /TransferThis/ = 0); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamera.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamera.sip new file mode 100644 index 00000000..bd6f10cd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamera.sip @@ -0,0 +1,203 @@ +// qcamera.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCamera : QMediaObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Status + { + UnavailableStatus, + UnloadedStatus, + LoadingStatus, + UnloadingStatus, + LoadedStatus, + StandbyStatus, + StartingStatus, + StoppingStatus, + ActiveStatus, + }; + + enum State + { + UnloadedState, + LoadedState, + ActiveState, + }; + + enum CaptureMode + { + CaptureViewfinder, + CaptureStillImage, + CaptureVideo, + }; + + typedef QFlags CaptureModes; + + enum Error + { + NoError, + CameraError, + InvalidRequestError, + ServiceMissingError, + NotSupportedFeatureError, + }; + + enum LockStatus + { + Unlocked, + Searching, + Locked, + }; + + enum LockChangeReason + { + UserRequest, + LockAcquired, + LockFailed, + LockLost, + LockTemporaryLost, + }; + + enum LockType + { + NoLock, + LockExposure, + LockWhiteBalance, + LockFocus, + }; + + typedef QFlags LockTypes; +%If (Qt_5_3_0 -) + + enum Position + { + UnspecifiedPosition, + BackFace, + FrontFace, + }; + +%End +%If (Qt_5_6_1 -) + explicit QCamera(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QCamera(QObject *parent /TransferThis/ = 0); +%End + QCamera(const QByteArray &device, QObject *parent /TransferThis/ = 0); +%If (Qt_5_3_0 -) + QCamera(const QCameraInfo &cameraInfo, QObject *parent /TransferThis/ = 0); +%End +%If (Qt_5_3_0 -) + QCamera(QCamera::Position position, QObject *parent /TransferThis/ = 0); +%End + virtual ~QCamera(); + static QList availableDevices(); + static QString deviceDescription(const QByteArray &device); + virtual QMultimedia::AvailabilityStatus availability() const; + QCamera::State state() const; + QCamera::Status status() const; + QCamera::CaptureModes captureMode() const; + bool isCaptureModeSupported(QCamera::CaptureModes mode) const; + QCameraExposure *exposure() const; + QCameraFocus *focus() const; + QCameraImageProcessing *imageProcessing() const; + void setViewfinder(QVideoWidget *viewfinder); + void setViewfinder(QGraphicsVideoItem *viewfinder); + void setViewfinder(QAbstractVideoSurface *surface); + QCamera::Error error() const; + QString errorString() const; + QCamera::LockTypes supportedLocks() const; + QCamera::LockTypes requestedLocks() const; + QCamera::LockStatus lockStatus() const; + QCamera::LockStatus lockStatus(QCamera::LockType lock) const; + +public slots: + void setCaptureMode(QCamera::CaptureModes mode); + void load(); + void unload(); + void start(); + void stop(); + void searchAndLock(); + void unlock(); + void searchAndLock(QCamera::LockTypes locks); + void unlock(QCamera::LockTypes locks); + +signals: + void stateChanged(QCamera::State); + void captureModeChanged(QCamera::CaptureModes); + void statusChanged(QCamera::Status); + void locked(); + void lockFailed(); + void lockStatusChanged(QCamera::LockStatus, QCamera::LockChangeReason); + void lockStatusChanged(QCamera::LockType, QCamera::LockStatus, QCamera::LockChangeReason); + void error(QCamera::Error); +%If (Qt_5_15_0 -) + void errorOccurred(QCamera::Error); +%End + +public: +%If (Qt_5_5_0 -) + + struct FrameRateRange + { +%TypeHeaderCode +#include +%End + + FrameRateRange(qreal minimum, qreal maximum); + FrameRateRange(); + qreal minimumFrameRate; + qreal maximumFrameRate; + }; + +%End +%If (Qt_5_5_0 -) + QCameraViewfinderSettings viewfinderSettings() const; +%End +%If (Qt_5_5_0 -) + void setViewfinderSettings(const QCameraViewfinderSettings &settings); +%End +%If (Qt_5_5_0 -) + QList supportedViewfinderSettings(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const; +%End +%If (Qt_5_5_0 -) + QList supportedViewfinderResolutions(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const; +%End +%If (Qt_5_5_0 -) + QList supportedViewfinderFrameRateRanges(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const; +%End +%If (Qt_5_5_0 -) + QList supportedViewfinderPixelFormats(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const; +%End +}; + +QFlags operator|(QCamera::LockType f1, QFlags f2); +%If (Qt_5_5_0 -) +bool operator==(const QCamera::FrameRateRange &r1, const QCamera::FrameRateRange &r2); +%End +%If (Qt_5_5_0 -) +bool operator!=(const QCamera::FrameRateRange &r1, const QCamera::FrameRateRange &r2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracapturebufferformatcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracapturebufferformatcontrol.sip new file mode 100644 index 00000000..78bdbeca --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracapturebufferformatcontrol.sip @@ -0,0 +1,40 @@ +// qcameracapturebufferformatcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraCaptureBufferFormatControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraCaptureBufferFormatControl(); + virtual QList supportedBufferFormats() const = 0; + virtual QVideoFrame::PixelFormat bufferFormat() const = 0; + virtual void setBufferFormat(QVideoFrame::PixelFormat format) = 0; + +signals: + void bufferFormatChanged(QVideoFrame::PixelFormat format); + +protected: + explicit QCameraCaptureBufferFormatControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracapturedestinationcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracapturedestinationcontrol.sip new file mode 100644 index 00000000..bf6ef70d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracapturedestinationcontrol.sip @@ -0,0 +1,40 @@ +// qcameracapturedestinationcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraCaptureDestinationControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraCaptureDestinationControl(); + virtual bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const = 0; + virtual QCameraImageCapture::CaptureDestinations captureDestination() const = 0; + virtual void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination) = 0; + +signals: + void captureDestinationChanged(QCameraImageCapture::CaptureDestinations destination); + +protected: + explicit QCameraCaptureDestinationControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracontrol.sip new file mode 100644 index 00000000..0c23bfa1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameracontrol.sip @@ -0,0 +1,56 @@ +// qcameracontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + enum PropertyChangeType + { + CaptureMode, + ImageEncodingSettings, + VideoEncodingSettings, + Viewfinder, + ViewfinderSettings, + }; + + virtual ~QCameraControl(); + virtual QCamera::State state() const = 0; + virtual void setState(QCamera::State state) = 0; + virtual QCamera::Status status() const = 0; + virtual QCamera::CaptureModes captureMode() const = 0; + virtual void setCaptureMode(QCamera::CaptureModes) = 0; + virtual bool isCaptureModeSupported(QCamera::CaptureModes mode) const = 0; + virtual bool canChangeProperty(QCameraControl::PropertyChangeType changeType, QCamera::Status status) const = 0; + +signals: + void stateChanged(QCamera::State); + void statusChanged(QCamera::Status); + void error(int error, const QString &errorString); + void captureModeChanged(QCamera::CaptureModes mode); + +protected: + explicit QCameraControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraexposure.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraexposure.sip new file mode 100644 index 00000000..8c31f359 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraexposure.sip @@ -0,0 +1,155 @@ +// qcameraexposure.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraExposure : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum FlashMode + { + FlashAuto, + FlashOff, + FlashOn, + FlashRedEyeReduction, + FlashFill, + FlashTorch, + FlashVideoLight, + FlashSlowSyncFrontCurtain, + FlashSlowSyncRearCurtain, + FlashManual, + }; + + typedef QFlags FlashModes; + + enum ExposureMode + { + ExposureAuto, + ExposureManual, + ExposurePortrait, + ExposureNight, + ExposureBacklight, + ExposureSpotlight, + ExposureSports, + ExposureSnow, + ExposureBeach, + ExposureLargeAperture, + ExposureSmallAperture, +%If (Qt_5_5_0 -) + ExposureAction, +%End +%If (Qt_5_5_0 -) + ExposureLandscape, +%End +%If (Qt_5_5_0 -) + ExposureNightPortrait, +%End +%If (Qt_5_5_0 -) + ExposureTheatre, +%End +%If (Qt_5_5_0 -) + ExposureSunset, +%End +%If (Qt_5_5_0 -) + ExposureSteadyPhoto, +%End +%If (Qt_5_5_0 -) + ExposureFireworks, +%End +%If (Qt_5_5_0 -) + ExposureParty, +%End +%If (Qt_5_5_0 -) + ExposureCandlelight, +%End +%If (Qt_5_5_0 -) + ExposureBarcode, +%End + ExposureModeVendor, + }; + + enum MeteringMode + { + MeteringMatrix, + MeteringAverage, + MeteringSpot, + }; + + bool isAvailable() const; + QCameraExposure::FlashModes flashMode() const; + bool isFlashModeSupported(QCameraExposure::FlashModes mode) const; + bool isFlashReady() const; + QCameraExposure::ExposureMode exposureMode() const; + bool isExposureModeSupported(QCameraExposure::ExposureMode mode) const; + qreal exposureCompensation() const; + QCameraExposure::MeteringMode meteringMode() const; + bool isMeteringModeSupported(QCameraExposure::MeteringMode mode) const; + QPointF spotMeteringPoint() const; + void setSpotMeteringPoint(const QPointF &point); + int isoSensitivity() const; + qreal aperture() const; + qreal shutterSpeed() const; + int requestedIsoSensitivity() const; + qreal requestedAperture() const; + qreal requestedShutterSpeed() const; + QList supportedIsoSensitivities(bool *continuous = 0) const; + QList supportedApertures(bool *continuous = 0) const; + QList supportedShutterSpeeds(bool *continuous = 0) const; + +public slots: + void setFlashMode(QCameraExposure::FlashModes mode); + void setExposureMode(QCameraExposure::ExposureMode mode); + void setMeteringMode(QCameraExposure::MeteringMode mode); + void setExposureCompensation(qreal ev); + void setManualIsoSensitivity(int iso); + void setAutoIsoSensitivity(); + void setManualAperture(qreal aperture); + void setAutoAperture(); + void setManualShutterSpeed(qreal seconds); + void setAutoShutterSpeed(); + +signals: + void flashReady(bool); + void apertureChanged(qreal); + void apertureRangeChanged(); + void shutterSpeedChanged(qreal); + void shutterSpeedRangeChanged(); + void isoSensitivityChanged(int); + void exposureCompensationChanged(qreal); + +private: + explicit QCameraExposure(QCamera *parent /TransferThis/ = 0); + +protected: +%If (Qt_5_14_0 -) + virtual ~QCameraExposure(); +%End + +private: +%If (- Qt_5_14_0) + virtual ~QCameraExposure(); +%End +}; + +QFlags operator|(QCameraExposure::FlashMode f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraexposurecontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraexposurecontrol.sip new file mode 100644 index 00000000..8c05fad2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraexposurecontrol.sip @@ -0,0 +1,60 @@ +// qcameraexposurecontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraExposureControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraExposureControl(); + + enum ExposureParameter + { + ISO, + Aperture, + ShutterSpeed, + ExposureCompensation, + FlashPower, + FlashCompensation, + TorchPower, + SpotMeteringPoint, + ExposureMode, + MeteringMode, + ExtendedExposureParameter, + }; + + virtual bool isParameterSupported(QCameraExposureControl::ExposureParameter parameter) const = 0; + virtual QVariantList supportedParameterRange(QCameraExposureControl::ExposureParameter parameter, bool *continuous) const = 0; + virtual QVariant requestedValue(QCameraExposureControl::ExposureParameter parameter) const = 0; + virtual QVariant actualValue(QCameraExposureControl::ExposureParameter parameter) const = 0; + virtual bool setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant &value) = 0; + +signals: + void requestedValueChanged(int parameter); + void actualValueChanged(int parameter); + void parameterRangeChanged(int parameter); + +protected: + explicit QCameraExposureControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafeedbackcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafeedbackcontrol.sip new file mode 100644 index 00000000..e79f6ccc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafeedbackcontrol.sip @@ -0,0 +1,54 @@ +// qcamerafeedbackcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraFeedbackControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + enum EventType + { + ViewfinderStarted, + ViewfinderStopped, + ImageCaptured, + ImageSaved, + ImageError, + RecordingStarted, + RecordingInProgress, + RecordingStopped, + AutoFocusInProgress, + AutoFocusLocked, + AutoFocusFailed, + }; + + virtual ~QCameraFeedbackControl(); + virtual bool isEventFeedbackLocked(QCameraFeedbackControl::EventType) const = 0; + virtual bool isEventFeedbackEnabled(QCameraFeedbackControl::EventType) const = 0; + virtual bool setEventFeedbackEnabled(QCameraFeedbackControl::EventType, bool) = 0; + virtual void resetEventFeedback(QCameraFeedbackControl::EventType) = 0; + virtual bool setEventFeedbackSound(QCameraFeedbackControl::EventType, const QString &filePath) = 0; + +protected: + explicit QCameraFeedbackControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraflashcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraflashcontrol.sip new file mode 100644 index 00000000..aea0e47f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraflashcontrol.sip @@ -0,0 +1,41 @@ +// qcameraflashcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraFlashControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraFlashControl(); + virtual QCameraExposure::FlashModes flashMode() const = 0; + virtual void setFlashMode(QCameraExposure::FlashModes mode) = 0; + virtual bool isFlashModeSupported(QCameraExposure::FlashModes mode) const = 0; + virtual bool isFlashReady() const = 0; + +signals: + void flashReady(bool); + +protected: + explicit QCameraFlashControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafocus.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafocus.sip new file mode 100644 index 00000000..f8d272f7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafocus.sip @@ -0,0 +1,114 @@ +// qcamerafocus.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraFocusZone +{ +%TypeHeaderCode +#include +%End + +public: + enum FocusZoneStatus + { + Invalid, + Unused, + Selected, + Focused, + }; + + QCameraFocusZone(const QCameraFocusZone &other); + bool operator==(const QCameraFocusZone &other) const; + bool operator!=(const QCameraFocusZone &other) const; + ~QCameraFocusZone(); + bool isValid() const; + QRectF area() const; + QCameraFocusZone::FocusZoneStatus status() const; +}; + +typedef QList QCameraFocusZoneList; + +class QCameraFocus : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum FocusMode + { + ManualFocus, + HyperfocalFocus, + InfinityFocus, + AutoFocus, + ContinuousFocus, + MacroFocus, + }; + + typedef QFlags FocusModes; + + enum FocusPointMode + { + FocusPointAuto, + FocusPointCenter, + FocusPointFaceDetection, + FocusPointCustom, + }; + + bool isAvailable() const; + QCameraFocus::FocusModes focusMode() const; + void setFocusMode(QCameraFocus::FocusModes mode); + bool isFocusModeSupported(QCameraFocus::FocusModes mode) const; + QCameraFocus::FocusPointMode focusPointMode() const; + void setFocusPointMode(QCameraFocus::FocusPointMode mode); + bool isFocusPointModeSupported(QCameraFocus::FocusPointMode) const; + QPointF customFocusPoint() const; + void setCustomFocusPoint(const QPointF &point); + QCameraFocusZoneList focusZones() const; + qreal maximumOpticalZoom() const; + qreal maximumDigitalZoom() const; + qreal opticalZoom() const; + qreal digitalZoom() const; + void zoomTo(qreal opticalZoom, qreal digitalZoom); + +signals: + void opticalZoomChanged(qreal); + void digitalZoomChanged(qreal); + void focusZonesChanged(); + void maximumOpticalZoomChanged(qreal); + void maximumDigitalZoomChanged(qreal); + +private: + QCameraFocus(QCamera *camera); + +protected: +%If (Qt_5_14_0 -) + virtual ~QCameraFocus(); +%End + +private: +%If (- Qt_5_14_0) + virtual ~QCameraFocus(); +%End + QCameraFocus(const QCameraFocus &); +}; + +QFlags operator|(QCameraFocus::FocusMode f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafocuscontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafocuscontrol.sip new file mode 100644 index 00000000..b97c3aff --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerafocuscontrol.sip @@ -0,0 +1,49 @@ +// qcamerafocuscontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraFocusControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraFocusControl(); + virtual QCameraFocus::FocusModes focusMode() const = 0; + virtual void setFocusMode(QCameraFocus::FocusModes mode) = 0; + virtual bool isFocusModeSupported(QCameraFocus::FocusModes mode) const = 0; + virtual QCameraFocus::FocusPointMode focusPointMode() const = 0; + virtual void setFocusPointMode(QCameraFocus::FocusPointMode mode) = 0; + virtual bool isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const = 0; + virtual QPointF customFocusPoint() const = 0; + virtual void setCustomFocusPoint(const QPointF &point) = 0; + virtual QCameraFocusZoneList focusZones() const = 0; + +signals: + void focusModeChanged(QCameraFocus::FocusModes mode); + void focusPointModeChanged(QCameraFocus::FocusPointMode mode); + void customFocusPointChanged(const QPointF &point); + void focusZonesChanged(); + +protected: + explicit QCameraFocusControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimagecapture.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimagecapture.sip new file mode 100644 index 00000000..d61192d1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimagecapture.sip @@ -0,0 +1,91 @@ +// qcameraimagecapture.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraImageCapture : QObject, QMediaBindableInterface +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + NotReadyError, + ResourceError, + OutOfSpaceError, + NotSupportedFeatureError, + FormatError, + }; + + enum DriveMode + { + SingleImageCapture, + }; + + enum CaptureDestination + { + CaptureToFile, + CaptureToBuffer, + }; + + typedef QFlags CaptureDestinations; + QCameraImageCapture(QMediaObject *mediaObject, QObject *parent /TransferThis/ = 0); + virtual ~QCameraImageCapture(); + bool isAvailable() const; + QMultimedia::AvailabilityStatus availability() const; + virtual QMediaObject *mediaObject() const; + QCameraImageCapture::Error error() const; + QString errorString() const; + bool isReadyForCapture() const; + QStringList supportedImageCodecs() const; + QString imageCodecDescription(const QString &codecName) const; + QList supportedResolutions(const QImageEncoderSettings &settings = QImageEncoderSettings(), bool *continuous = 0) const; + QImageEncoderSettings encodingSettings() const; + void setEncodingSettings(const QImageEncoderSettings &settings); + QList supportedBufferFormats() const; + QVideoFrame::PixelFormat bufferFormat() const; + void setBufferFormat(const QVideoFrame::PixelFormat format); + bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const; + QCameraImageCapture::CaptureDestinations captureDestination() const; + void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination); + +public slots: + int capture(const QString &file = QString()) /ReleaseGIL/; + void cancelCapture(); + +signals: + void error(int id, QCameraImageCapture::Error error, const QString &errorString); + void readyForCaptureChanged(bool); + void bufferFormatChanged(QVideoFrame::PixelFormat); + void captureDestinationChanged(QCameraImageCapture::CaptureDestinations); + void imageExposed(int id); + void imageCaptured(int id, const QImage &preview); + void imageMetadataAvailable(int id, const QString &key, const QVariant &value); + void imageAvailable(int id, const QVideoFrame &image); + void imageSaved(int id, const QString &fileName); + +protected: + virtual bool setMediaObject(QMediaObject *); +}; + +QFlags operator|(QCameraImageCapture::CaptureDestination f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimagecapturecontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimagecapturecontrol.sip new file mode 100644 index 00000000..6a4c4557 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimagecapturecontrol.sip @@ -0,0 +1,48 @@ +// qcameraimagecapturecontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraImageCaptureControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraImageCaptureControl(); + virtual bool isReadyForCapture() const = 0; + virtual QCameraImageCapture::DriveMode driveMode() const = 0; + virtual void setDriveMode(QCameraImageCapture::DriveMode mode) = 0; + virtual int capture(const QString &fileName) = 0; + virtual void cancelCapture() = 0; + +signals: + void readyForCaptureChanged(bool ready); + void imageExposed(int requestId); + void imageCaptured(int requestId, const QImage &preview); + void imageMetadataAvailable(int id, const QString &key, const QVariant &value); + void imageAvailable(int requestId, const QVideoFrame &buffer); + void imageSaved(int requestId, const QString &fileName); + void error(int id, int error, const QString &errorString); + +protected: + explicit QCameraImageCaptureControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimageprocessing.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimageprocessing.sip new file mode 100644 index 00000000..ab0c58a1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimageprocessing.sip @@ -0,0 +1,106 @@ +// qcameraimageprocessing.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraImageProcessing : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum WhiteBalanceMode + { + WhiteBalanceAuto, + WhiteBalanceManual, + WhiteBalanceSunlight, + WhiteBalanceCloudy, + WhiteBalanceShade, + WhiteBalanceTungsten, + WhiteBalanceFluorescent, + WhiteBalanceFlash, + WhiteBalanceSunset, + WhiteBalanceVendor, + }; + + bool isAvailable() const; + QCameraImageProcessing::WhiteBalanceMode whiteBalanceMode() const; + void setWhiteBalanceMode(QCameraImageProcessing::WhiteBalanceMode mode); + bool isWhiteBalanceModeSupported(QCameraImageProcessing::WhiteBalanceMode mode) const; + qreal manualWhiteBalance() const; + void setManualWhiteBalance(qreal colorTemperature); + qreal contrast() const; + void setContrast(qreal value); + qreal saturation() const; + void setSaturation(qreal value); + qreal sharpeningLevel() const; + void setSharpeningLevel(qreal value); + qreal denoisingLevel() const; + void setDenoisingLevel(qreal value); + +private: + QCameraImageProcessing(QCamera *camera); + +protected: +%If (Qt_5_14_0 -) + virtual ~QCameraImageProcessing(); +%End + +private: +%If (- Qt_5_14_0) + virtual ~QCameraImageProcessing(); +%End + QCameraImageProcessing(const QCameraImageProcessing &); + +public: +%If (Qt_5_5_0 -) + + enum ColorFilter + { + ColorFilterNone, + ColorFilterGrayscale, + ColorFilterNegative, + ColorFilterSolarize, + ColorFilterSepia, + ColorFilterPosterize, + ColorFilterWhiteboard, + ColorFilterBlackboard, + ColorFilterAqua, + ColorFilterVendor, + }; + +%End +%If (Qt_5_5_0 -) + QCameraImageProcessing::ColorFilter colorFilter() const; +%End +%If (Qt_5_5_0 -) + void setColorFilter(QCameraImageProcessing::ColorFilter filter); +%End +%If (Qt_5_5_0 -) + bool isColorFilterSupported(QCameraImageProcessing::ColorFilter filter) const; +%End +%If (Qt_5_7_0 -) + qreal brightness() const; +%End +%If (Qt_5_7_0 -) + void setBrightness(qreal value); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimageprocessingcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimageprocessingcontrol.sip new file mode 100644 index 00000000..4e338e67 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraimageprocessingcontrol.sip @@ -0,0 +1,57 @@ +// qcameraimageprocessingcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraImageProcessingControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraImageProcessingControl(); + + enum ProcessingParameter + { + WhiteBalancePreset, + ColorTemperature, + Contrast, + Saturation, + Brightness, + Sharpening, + Denoising, + ContrastAdjustment, + SaturationAdjustment, + BrightnessAdjustment, + SharpeningAdjustment, + DenoisingAdjustment, + ColorFilter, + ExtendedParameter, + }; + + virtual bool isParameterSupported(QCameraImageProcessingControl::ProcessingParameter) const = 0; + virtual bool isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant &value) const = 0; + virtual QVariant parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const = 0; + virtual void setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant &value) = 0; + +protected: + explicit QCameraImageProcessingControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerainfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerainfo.sip new file mode 100644 index 00000000..a67d4f1e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerainfo.sip @@ -0,0 +1,47 @@ +// qcamerainfo.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +class QCameraInfo +{ +%TypeHeaderCode +#include +%End + +public: + explicit QCameraInfo(const QByteArray &name = QByteArray()); + explicit QCameraInfo(const QCamera &camera); + QCameraInfo(const QCameraInfo &other); + ~QCameraInfo(); + bool isNull() const; + QString deviceName() const; + QString description() const; + QCamera::Position position() const; + int orientation() const; + static QCameraInfo defaultCamera(); + static QList availableCameras(QCamera::Position position = QCamera::UnspecifiedPosition); + bool operator==(const QCameraInfo &other) const; + bool operator!=(const QCameraInfo &other) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerainfocontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerainfocontrol.sip new file mode 100644 index 00000000..f096300b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerainfocontrol.sip @@ -0,0 +1,36 @@ +// qcamerainfocontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraInfoControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraInfoControl(); + virtual QCamera::Position cameraPosition(const QString &deviceName) const = 0; + virtual int cameraOrientation(const QString &deviceName) const = 0; + +protected: + explicit QCameraInfoControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameralockscontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameralockscontrol.sip new file mode 100644 index 00000000..e96f669c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameralockscontrol.sip @@ -0,0 +1,41 @@ +// qcameralockscontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraLocksControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraLocksControl(); + virtual QCamera::LockTypes supportedLocks() const = 0; + virtual QCamera::LockStatus lockStatus(QCamera::LockType lock) const = 0; + virtual void searchAndLock(QCamera::LockTypes locks) = 0; + virtual void unlock(QCamera::LockTypes locks) = 0; + +signals: + void lockStatusChanged(QCamera::LockType type, QCamera::LockStatus status, QCamera::LockChangeReason reason); + +protected: + explicit QCameraLocksControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraviewfindersettings.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraviewfindersettings.sip new file mode 100644 index 00000000..786c4934 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraviewfindersettings.sip @@ -0,0 +1,57 @@ +// qcameraviewfindersettings.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QCameraViewfinderSettings +{ +%TypeHeaderCode +#include +%End + +public: + QCameraViewfinderSettings(); + QCameraViewfinderSettings(const QCameraViewfinderSettings &other); + ~QCameraViewfinderSettings(); + void swap(QCameraViewfinderSettings &other /Constrained/); + bool isNull() const; + QSize resolution() const; + void setResolution(const QSize &); + void setResolution(int width, int height); + qreal minimumFrameRate() const; + void setMinimumFrameRate(qreal rate); + qreal maximumFrameRate() const; + void setMaximumFrameRate(qreal rate); + QVideoFrame::PixelFormat pixelFormat() const; + void setPixelFormat(QVideoFrame::PixelFormat format); + QSize pixelAspectRatio() const; + void setPixelAspectRatio(const QSize &ratio); + void setPixelAspectRatio(int horizontal, int vertical); +}; + +%End +%If (Qt_5_5_0 -) +bool operator==(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs); +%End +%If (Qt_5_5_0 -) +bool operator!=(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraviewfindersettingscontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraviewfindersettingscontrol.sip new file mode 100644 index 00000000..70572795 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcameraviewfindersettingscontrol.sip @@ -0,0 +1,63 @@ +// qcameraviewfindersettingscontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraViewfinderSettingsControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + enum ViewfinderParameter + { + Resolution, + PixelAspectRatio, + MinimumFrameRate, + MaximumFrameRate, + PixelFormat, + UserParameter, + }; + + virtual ~QCameraViewfinderSettingsControl(); + virtual bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const = 0; + virtual QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const = 0; + virtual void setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant &value) = 0; + +protected: + explicit QCameraViewfinderSettingsControl(QObject *parent /TransferThis/ = 0); +}; + +class QCameraViewfinderSettingsControl2 : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraViewfinderSettingsControl2(); + virtual QList supportedViewfinderSettings() const = 0; + virtual QCameraViewfinderSettings viewfinderSettings() const = 0; + virtual void setViewfinderSettings(const QCameraViewfinderSettings &settings) = 0; + +protected: + explicit QCameraViewfinderSettingsControl2(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerazoomcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerazoomcontrol.sip new file mode 100644 index 00000000..3f373a5f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcamerazoomcontrol.sip @@ -0,0 +1,49 @@ +// qcamerazoomcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraZoomControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCameraZoomControl(); + virtual qreal maximumOpticalZoom() const = 0; + virtual qreal maximumDigitalZoom() const = 0; + virtual qreal requestedOpticalZoom() const = 0; + virtual qreal requestedDigitalZoom() const = 0; + virtual qreal currentOpticalZoom() const = 0; + virtual qreal currentDigitalZoom() const = 0; + virtual void zoomTo(qreal optical, qreal digital) = 0; + +signals: + void maximumOpticalZoomChanged(qreal); + void maximumDigitalZoomChanged(qreal); + void requestedOpticalZoomChanged(qreal opticalZoom); + void requestedDigitalZoomChanged(qreal digitalZoom); + void currentOpticalZoomChanged(qreal opticalZoom); + void currentDigitalZoomChanged(qreal digitalZoom); + +protected: + explicit QCameraZoomControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcustomaudiorolecontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcustomaudiorolecontrol.sip new file mode 100644 index 00000000..730fceb7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qcustomaudiorolecontrol.sip @@ -0,0 +1,44 @@ +// qcustomaudiorolecontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_11_0 -) + +class QCustomAudioRoleControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QCustomAudioRoleControl(); + virtual QString customAudioRole() const = 0; + virtual void setCustomAudioRole(const QString &role) = 0; + virtual QStringList supportedCustomAudioRoles() const = 0; + +signals: + void customAudioRoleChanged(const QString &role); + +protected: + explicit QCustomAudioRoleControl(QObject *parent /TransferThis/ = 0); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qimageencodercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qimageencodercontrol.sip new file mode 100644 index 00000000..3db9f1c3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qimageencodercontrol.sip @@ -0,0 +1,39 @@ +// qimageencodercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QImageEncoderControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QImageEncoderControl(); + virtual QStringList supportedImageCodecs() const = 0; + virtual QString imageCodecDescription(const QString &codec) const = 0; + virtual QList supportedResolutions(const QImageEncoderSettings &settings, bool *continuous = 0) const = 0; + virtual QImageEncoderSettings imageSettings() const = 0; + virtual void setImageSettings(const QImageEncoderSettings &settings) = 0; + +protected: + explicit QImageEncoderControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaaudioprobecontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaaudioprobecontrol.sip new file mode 100644 index 00000000..f0729299 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaaudioprobecontrol.sip @@ -0,0 +1,38 @@ +// qmediaaudioprobecontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaAudioProbeControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaAudioProbeControl(); + +signals: + void audioBufferProbed(const QAudioBuffer &buffer); + void flush(); + +protected: + explicit QMediaAudioProbeControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaavailabilitycontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaavailabilitycontrol.sip new file mode 100644 index 00000000..4bd437e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaavailabilitycontrol.sip @@ -0,0 +1,38 @@ +// qmediaavailabilitycontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaAvailabilityControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaAvailabilityControl(); + virtual QMultimedia::AvailabilityStatus availability() const = 0; + +signals: + void availabilityChanged(QMultimedia::AvailabilityStatus availability); + +protected: + explicit QMediaAvailabilityControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediabindableinterface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediabindableinterface.sip new file mode 100644 index 00000000..6a64bab4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediabindableinterface.sip @@ -0,0 +1,35 @@ +// qmediabindableinterface.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaBindableInterface +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaBindableInterface(); + virtual QMediaObject *mediaObject() const = 0; + +protected: + virtual bool setMediaObject(QMediaObject *object) = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontainercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontainercontrol.sip new file mode 100644 index 00000000..c85f6642 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontainercontrol.sip @@ -0,0 +1,38 @@ +// qmediacontainercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaContainerControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaContainerControl(); + virtual QStringList supportedContainers() const = 0; + virtual QString containerFormat() const = 0; + virtual void setContainerFormat(const QString &format) = 0; + virtual QString containerDescription(const QString &formatMimeType) const = 0; + +protected: + explicit QMediaContainerControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontent.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontent.sip new file mode 100644 index 00000000..93e3cbe2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontent.sip @@ -0,0 +1,49 @@ +// qmediacontent.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaContent +{ +%TypeHeaderCode +#include +%End + +public: + QMediaContent(); + QMediaContent(const QUrl &contentUrl); + QMediaContent(const QNetworkRequest &contentRequest); + QMediaContent(const QMediaResource &contentResource); + QMediaContent(const QMediaResourceList &resources); + QMediaContent(const QMediaContent &other); + QMediaContent(QMediaPlaylist *playlist, const QUrl &contentUrl = QUrl()); + ~QMediaContent(); + bool operator==(const QMediaContent &other) const; + bool operator!=(const QMediaContent &other) const; + bool isNull() const; + QUrl canonicalUrl() const; + QNetworkRequest canonicalRequest() const; + QMediaResource canonicalResource() const; + QMediaResourceList resources() const; + QMediaPlaylist *playlist() const; +%If (Qt_5_14_0 -) + QNetworkRequest request() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontrol.sip new file mode 100644 index 00000000..5df2e234 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediacontrol.sip @@ -0,0 +1,39 @@ +// qmediacontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaControl : QObject +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaControl(); + +protected: +%If (Qt_5_6_1 -) + explicit QMediaControl(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QMediaControl(QObject *parent /TransferThis/ = 0); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaencodersettings.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaencodersettings.sip new file mode 100644 index 00000000..a72ede23 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaencodersettings.sip @@ -0,0 +1,110 @@ +// qmediaencodersettings.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAudioEncoderSettings +{ +%TypeHeaderCode +#include +%End + +public: + QAudioEncoderSettings(); + QAudioEncoderSettings(const QAudioEncoderSettings &other); + ~QAudioEncoderSettings(); + bool operator==(const QAudioEncoderSettings &other) const; + bool operator!=(const QAudioEncoderSettings &other) const; + bool isNull() const; + QMultimedia::EncodingMode encodingMode() const; + void setEncodingMode(QMultimedia::EncodingMode); + QString codec() const; + void setCodec(const QString &codec); + int bitRate() const; + void setBitRate(int bitrate); + int channelCount() const; + void setChannelCount(int channels); + int sampleRate() const; + void setSampleRate(int rate); + QMultimedia::EncodingQuality quality() const; + void setQuality(QMultimedia::EncodingQuality quality); + QVariant encodingOption(const QString &option) const; + QVariantMap encodingOptions() const; + void setEncodingOption(const QString &option, const QVariant &value); + void setEncodingOptions(const QVariantMap &options); +}; + +class QVideoEncoderSettings +{ +%TypeHeaderCode +#include +%End + +public: + QVideoEncoderSettings(); + QVideoEncoderSettings(const QVideoEncoderSettings &other); + ~QVideoEncoderSettings(); + bool operator==(const QVideoEncoderSettings &other) const; + bool operator!=(const QVideoEncoderSettings &other) const; + bool isNull() const; + QMultimedia::EncodingMode encodingMode() const; + void setEncodingMode(QMultimedia::EncodingMode); + QString codec() const; + void setCodec(const QString &); + QSize resolution() const; + void setResolution(const QSize &); + void setResolution(int width, int height); + qreal frameRate() const; + void setFrameRate(qreal rate); + int bitRate() const; + void setBitRate(int bitrate); + QMultimedia::EncodingQuality quality() const; + void setQuality(QMultimedia::EncodingQuality quality); + QVariant encodingOption(const QString &option) const; + QVariantMap encodingOptions() const; + void setEncodingOption(const QString &option, const QVariant &value); + void setEncodingOptions(const QVariantMap &options); +}; + +class QImageEncoderSettings +{ +%TypeHeaderCode +#include +%End + +public: + QImageEncoderSettings(); + QImageEncoderSettings(const QImageEncoderSettings &other); + ~QImageEncoderSettings(); + bool operator==(const QImageEncoderSettings &other) const; + bool operator!=(const QImageEncoderSettings &other) const; + bool isNull() const; + QString codec() const; + void setCodec(const QString &); + QSize resolution() const; + void setResolution(const QSize &); + void setResolution(int width, int height); + QMultimedia::EncodingQuality quality() const; + void setQuality(QMultimedia::EncodingQuality quality); + QVariant encodingOption(const QString &option) const; + QVariantMap encodingOptions() const; + void setEncodingOption(const QString &option, const QVariant &value); + void setEncodingOptions(const QVariantMap &options); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediagaplessplaybackcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediagaplessplaybackcontrol.sip new file mode 100644 index 00000000..e7b6b9f6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediagaplessplaybackcontrol.sip @@ -0,0 +1,44 @@ +// qmediagaplessplaybackcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaGaplessPlaybackControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaGaplessPlaybackControl(); + virtual QMediaContent nextMedia() const = 0; + virtual void setNextMedia(const QMediaContent &media) = 0; + virtual bool isCrossfadeSupported() const = 0; + virtual qreal crossfadeTime() const = 0; + virtual void setCrossfadeTime(qreal crossfadeTime) = 0; + +signals: + void crossfadeTimeChanged(qreal crossfadeTime); + void nextMediaChanged(const QMediaContent &media); + void advancedToNextMedia(); + +protected: + explicit QMediaGaplessPlaybackControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediametadata.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediametadata.sip new file mode 100644 index 00000000..9228537f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediametadata.sip @@ -0,0 +1,120 @@ +// qmediametadata.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QMediaMetaData +{ +%TypeHeaderCode +#include +%End + + const QString Title; + const QString SubTitle; + const QString Author; + const QString Comment; + const QString Description; + const QString Category; + const QString Genre; + const QString Year; + const QString Date; + const QString UserRating; + const QString Keywords; + const QString Language; + const QString Publisher; + const QString Copyright; + const QString ParentalRating; + const QString RatingOrganization; + const QString Size; + const QString MediaType; + const QString Duration; + const QString AudioBitRate; + const QString AudioCodec; + const QString AverageLevel; + const QString ChannelCount; + const QString PeakValue; + const QString SampleRate; + const QString AlbumTitle; + const QString AlbumArtist; + const QString ContributingArtist; + const QString Composer; + const QString Conductor; + const QString Lyrics; + const QString Mood; + const QString TrackNumber; + const QString TrackCount; + const QString CoverArtUrlSmall; + const QString CoverArtUrlLarge; + const QString Resolution; + const QString PixelAspectRatio; + const QString VideoFrameRate; + const QString VideoBitRate; + const QString VideoCodec; + const QString PosterUrl; + const QString ChapterNumber; + const QString Director; + const QString LeadPerformer; + const QString Writer; + const QString CameraManufacturer; + const QString CameraModel; + const QString Event; + const QString Subject; + const QString Orientation; + const QString ExposureTime; + const QString FNumber; + const QString ExposureProgram; + const QString ISOSpeedRatings; + const QString ExposureBiasValue; + const QString DateTimeOriginal; + const QString DateTimeDigitized; + const QString SubjectDistance; + const QString MeteringMode; + const QString LightSource; + const QString Flash; + const QString FocalLength; + const QString ExposureMode; + const QString WhiteBalance; + const QString DigitalZoomRatio; + const QString FocalLengthIn35mmFilm; + const QString SceneCaptureType; + const QString GainControl; + const QString Contrast; + const QString Saturation; + const QString Sharpness; + const QString DeviceSettingDescription; + const QString GPSLatitude; + const QString GPSLongitude; + const QString GPSAltitude; + const QString GPSTimeStamp; + const QString GPSSatellites; + const QString GPSStatus; + const QString GPSDOP; + const QString GPSSpeed; + const QString GPSTrack; + const QString GPSTrackRef; + const QString GPSImgDirection; + const QString GPSImgDirectionRef; + const QString GPSMapDatum; + const QString GPSProcessingMethod; + const QString GPSAreaInformation; + const QString PosterImage; + const QString CoverArtImage; + const QString ThumbnailImage; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmedianetworkaccesscontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmedianetworkaccesscontrol.sip new file mode 100644 index 00000000..2d045f2e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmedianetworkaccesscontrol.sip @@ -0,0 +1,39 @@ +// qmedianetworkaccesscontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaNetworkAccessControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaNetworkAccessControl(); + virtual void setConfigurations(const QList &configuration) = 0; + virtual QNetworkConfiguration currentConfiguration() const = 0; + +signals: + void configurationChanged(const QNetworkConfiguration &configuration); + +protected: + explicit QMediaNetworkAccessControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaobject.sip new file mode 100644 index 00000000..590edb7d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaobject.sip @@ -0,0 +1,54 @@ +// qmediaobject.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaObject : QObject +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaObject(); + virtual bool isAvailable() const; + virtual QMultimedia::AvailabilityStatus availability() const; + virtual QMediaService *service() const; + int notifyInterval() const; + void setNotifyInterval(int milliSeconds); + virtual bool bind(QObject *); + virtual void unbind(QObject *); + bool isMetaDataAvailable() const; + QVariant metaData(const QString &key) const; + QStringList availableMetaData() const; + +signals: + void notifyIntervalChanged(int milliSeconds); + void metaDataAvailableChanged(bool available); + void metaDataChanged(); + void metaDataChanged(const QString &key, const QVariant &value); + void availabilityChanged(QMultimedia::AvailabilityStatus availability /Constrained/); + void availabilityChanged(bool available); + +protected: + QMediaObject(QObject *parent /TransferThis/, QMediaService *service); + void addPropertyWatch(const QByteArray &name); + void removePropertyWatch(const QByteArray &name); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplayer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplayer.sip new file mode 100644 index 00000000..94e2290d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplayer.sip @@ -0,0 +1,164 @@ +// qmediaplayer.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsVideoItem /External/; +class QVideoWidget /External/; + +class QMediaPlayer : QMediaObject +{ +%TypeHeaderCode +#include +%End + +public: + enum State + { + StoppedState, + PlayingState, + PausedState, + }; + + enum MediaStatus + { + UnknownMediaStatus, + NoMedia, + LoadingMedia, + LoadedMedia, + StalledMedia, + BufferingMedia, + BufferedMedia, + EndOfMedia, + InvalidMedia, + }; + + enum Flag + { + LowLatency, + StreamPlayback, + VideoSurface, + }; + + typedef QFlags Flags; + + enum Error + { + NoError, + ResourceError, + FormatError, + NetworkError, + AccessDeniedError, + ServiceMissingError, + }; + + QMediaPlayer(QObject *parent /TransferThis/ = 0, QMediaPlayer::Flags flags = QMediaPlayer::Flags()); + virtual ~QMediaPlayer(); + static QMultimedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList &codecs = QStringList(), QMediaPlayer::Flags flags = QMediaPlayer::Flags()); + static QStringList supportedMimeTypes(QMediaPlayer::Flags flags = QMediaPlayer::Flags()); + void setVideoOutput(QVideoWidget *); + void setVideoOutput(QGraphicsVideoItem *); + void setVideoOutput(QAbstractVideoSurface *surface); +%If (Qt_5_15_0 -) + void setVideoOutput(const QVector &surfaces); +%End + QMediaContent media() const; + const QIODevice *mediaStream() const; + QMediaPlaylist *playlist() const; + QMediaContent currentMedia() const; + QMediaPlayer::State state() const; + QMediaPlayer::MediaStatus mediaStatus() const; + qint64 duration() const; + qint64 position() const; + int volume() const; + bool isMuted() const; + bool isAudioAvailable() const; + bool isVideoAvailable() const; + int bufferStatus() const; + bool isSeekable() const; + qreal playbackRate() const; + QMediaPlayer::Error error() const; + QString errorString() const; + QNetworkConfiguration currentNetworkConfiguration() const; + virtual QMultimedia::AvailabilityStatus availability() const; + +public slots: + void play(); + void pause(); + void stop(); + void setPosition(qint64 position); + void setVolume(int volume); + void setMuted(bool muted); + void setPlaybackRate(qreal rate); + void setMedia(const QMediaContent &media, QIODevice *stream = 0); + void setPlaylist(QMediaPlaylist *playlist); + void setNetworkConfigurations(const QList &configurations); + +signals: + void mediaChanged(const QMediaContent &media); + void currentMediaChanged(const QMediaContent &media); + void stateChanged(QMediaPlayer::State newState); + void mediaStatusChanged(QMediaPlayer::MediaStatus status); + void durationChanged(qint64 duration); + void positionChanged(qint64 position); + void volumeChanged(int volume); + void mutedChanged(bool muted); + void audioAvailableChanged(bool available); + void videoAvailableChanged(bool videoAvailable); + void bufferStatusChanged(int percentFilled); + void seekableChanged(bool seekable); + void playbackRateChanged(qreal rate); + void error(QMediaPlayer::Error error); + void networkConfigurationChanged(const QNetworkConfiguration &configuration); + +public: + virtual bool bind(QObject *); + virtual void unbind(QObject *); +%If (Qt_5_6_0 -) + QAudio::Role audioRole() const; +%End +%If (Qt_5_6_0 -) + void setAudioRole(QAudio::Role audioRole); +%End +%If (Qt_5_6_0 -) + QList supportedAudioRoles() const; +%End + +signals: +%If (Qt_5_6_0 -) + void audioRoleChanged(QAudio::Role role); +%End + +public: +%If (Qt_5_11_0 -) + QString customAudioRole() const; +%End +%If (Qt_5_11_0 -) + void setCustomAudioRole(const QString &audioRole); +%End +%If (Qt_5_11_0 -) + QStringList supportedCustomAudioRoles() const; +%End + +signals: +%If (Qt_5_11_0 -) + void customAudioRoleChanged(const QString &role); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplayercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplayercontrol.sip new file mode 100644 index 00000000..7b56f773 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplayercontrol.sip @@ -0,0 +1,72 @@ +// qmediaplayercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaPlayerControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaPlayerControl(); + virtual QMediaPlayer::State state() const = 0; + virtual QMediaPlayer::MediaStatus mediaStatus() const = 0; + virtual qint64 duration() const = 0; + virtual qint64 position() const = 0; + virtual void setPosition(qint64 position) = 0; + virtual int volume() const = 0; + virtual void setVolume(int volume) = 0; + virtual bool isMuted() const = 0; + virtual void setMuted(bool mute) = 0; + virtual int bufferStatus() const = 0; + virtual bool isAudioAvailable() const = 0; + virtual bool isVideoAvailable() const = 0; + virtual bool isSeekable() const = 0; + virtual QMediaTimeRange availablePlaybackRanges() const = 0; + virtual qreal playbackRate() const = 0; + virtual void setPlaybackRate(qreal rate) = 0; + virtual QMediaContent media() const = 0; + virtual const QIODevice *mediaStream() const = 0; + virtual void setMedia(const QMediaContent &media, QIODevice *stream) = 0; + virtual void play() = 0; + virtual void pause() = 0; + virtual void stop() = 0; + +signals: + void mediaChanged(const QMediaContent &content); + void durationChanged(qint64 duration); + void positionChanged(qint64 position); + void stateChanged(QMediaPlayer::State newState); + void mediaStatusChanged(QMediaPlayer::MediaStatus status); + void volumeChanged(int volume); + void mutedChanged(bool mute); + void audioAvailableChanged(bool audioAvailable); + void videoAvailableChanged(bool videoAvailable); + void bufferStatusChanged(int percentFilled); + void seekableChanged(bool seekable); + void availablePlaybackRangesChanged(const QMediaTimeRange &ranges); + void playbackRateChanged(qreal rate); + void error(int error, const QString &errorString); + +protected: + explicit QMediaPlayerControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplaylist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplaylist.sip new file mode 100644 index 00000000..e97a05cc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaplaylist.sip @@ -0,0 +1,104 @@ +// qmediaplaylist.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaPlaylist : QObject, QMediaBindableInterface +{ +%TypeHeaderCode +#include +%End + +public: + enum PlaybackMode + { + CurrentItemOnce, + CurrentItemInLoop, + Sequential, + Loop, + Random, + }; + + enum Error + { + NoError, + FormatError, + FormatNotSupportedError, + NetworkError, + AccessDeniedError, + }; + +%If (Qt_5_6_1 -) + explicit QMediaPlaylist(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QMediaPlaylist(QObject *parent /TransferThis/ = 0); +%End + virtual ~QMediaPlaylist(); + virtual QMediaObject *mediaObject() const; + QMediaPlaylist::PlaybackMode playbackMode() const; + void setPlaybackMode(QMediaPlaylist::PlaybackMode mode); + int currentIndex() const; + QMediaContent currentMedia() const; + int nextIndex(int steps = 1) const; + int previousIndex(int steps = 1) const; + QMediaContent media(int index) const; + int mediaCount() const; + bool isEmpty() const; + bool isReadOnly() const; + bool addMedia(const QMediaContent &content); + bool addMedia(const QList &items); + bool insertMedia(int index, const QMediaContent &content); + bool insertMedia(int index, const QList &items); + bool removeMedia(int pos); + bool removeMedia(int start, int end); + bool clear(); + void load(const QNetworkRequest &request, const char *format = 0) /ReleaseGIL/; + void load(const QUrl &location, const char *format = 0) /ReleaseGIL/; + void load(QIODevice *device, const char *format = 0) /ReleaseGIL/; + bool save(const QUrl &location, const char *format = 0) /ReleaseGIL/; + bool save(QIODevice *device, const char *format) /ReleaseGIL/; + QMediaPlaylist::Error error() const; + QString errorString() const; +%If (Qt_5_7_0 -) + bool moveMedia(int from, int to); +%End + +public slots: + void shuffle(); + void next(); + void previous(); + void setCurrentIndex(int index); + +signals: + void currentIndexChanged(int index); + void playbackModeChanged(QMediaPlaylist::PlaybackMode mode); + void currentMediaChanged(const QMediaContent &); + void mediaAboutToBeInserted(int start, int end); + void mediaInserted(int start, int end); + void mediaAboutToBeRemoved(int start, int end); + void mediaRemoved(int start, int end); + void mediaChanged(int start, int end); + void loaded(); + void loadFailed(); + +protected: + virtual bool setMediaObject(QMediaObject *object); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediarecorder.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediarecorder.sip new file mode 100644 index 00000000..2022a8d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediarecorder.sip @@ -0,0 +1,118 @@ +// qmediarecorder.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaRecorder : QObject, QMediaBindableInterface +{ +%TypeHeaderCode +#include +%End + +public: + enum State + { + StoppedState, + RecordingState, + PausedState, + }; + + enum Status + { + UnavailableStatus, + UnloadedStatus, + LoadingStatus, + LoadedStatus, + StartingStatus, + RecordingStatus, + PausedStatus, + FinalizingStatus, + }; + + enum Error + { + NoError, + ResourceError, + FormatError, + OutOfSpaceError, + }; + + QMediaRecorder(QMediaObject *mediaObject, QObject *parent /TransferThis/ = 0); + virtual ~QMediaRecorder(); + virtual QMediaObject *mediaObject() const; + bool isAvailable() const; + QMultimedia::AvailabilityStatus availability() const; + QUrl outputLocation() const; + bool setOutputLocation(const QUrl &location); + QUrl actualLocation() const; + QMediaRecorder::State state() const; + QMediaRecorder::Status status() const; + QMediaRecorder::Error error() const; + QString errorString() const; + qint64 duration() const; + bool isMuted() const; + qreal volume() const; + QStringList supportedContainers() const; + QString containerDescription(const QString &format) const; + QStringList supportedAudioCodecs() const; + QString audioCodecDescription(const QString &codecName) const; + QList supportedAudioSampleRates(const QAudioEncoderSettings &settings = QAudioEncoderSettings(), bool *continuous = 0) const; + QStringList supportedVideoCodecs() const; + QString videoCodecDescription(const QString &codecName) const; + QList supportedResolutions(const QVideoEncoderSettings &settings = QVideoEncoderSettings(), bool *continuous = 0) const; + QList supportedFrameRates(const QVideoEncoderSettings &settings = QVideoEncoderSettings(), bool *continuous = 0) const; + QAudioEncoderSettings audioSettings() const; + QVideoEncoderSettings videoSettings() const; + QString containerFormat() const; + void setAudioSettings(const QAudioEncoderSettings &audioSettings); + void setVideoSettings(const QVideoEncoderSettings &videoSettings); + void setContainerFormat(const QString &container); + void setEncodingSettings(const QAudioEncoderSettings &audio, const QVideoEncoderSettings &video = QVideoEncoderSettings(), const QString &container = QString()); + bool isMetaDataAvailable() const; + bool isMetaDataWritable() const; + QVariant metaData(const QString &key) const; + void setMetaData(const QString &key, const QVariant &value); + QStringList availableMetaData() const; + +public slots: + void record(); + void pause(); + void stop(); + void setMuted(bool muted); + void setVolume(qreal volume); + +signals: + void stateChanged(QMediaRecorder::State state); + void statusChanged(QMediaRecorder::Status status); + void durationChanged(qint64 duration); + void mutedChanged(bool muted); + void volumeChanged(qreal volume); + void actualLocationChanged(const QUrl &location); + void error(QMediaRecorder::Error error); + void metaDataAvailableChanged(bool available); + void metaDataWritableChanged(bool writable); + void metaDataChanged(const QString &key, const QVariant &value); + void metaDataChanged(); + void availabilityChanged(QMultimedia::AvailabilityStatus availability /Constrained/); + void availabilityChanged(bool available); + +protected: + virtual bool setMediaObject(QMediaObject *object); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediarecordercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediarecordercontrol.sip new file mode 100644 index 00000000..a09e7aa4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediarecordercontrol.sip @@ -0,0 +1,56 @@ +// qmediarecordercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaRecorderControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaRecorderControl(); + virtual QUrl outputLocation() const = 0; + virtual bool setOutputLocation(const QUrl &location) = 0; + virtual QMediaRecorder::State state() const = 0; + virtual QMediaRecorder::Status status() const = 0; + virtual qint64 duration() const = 0; + virtual bool isMuted() const = 0; + virtual qreal volume() const = 0; + virtual void applySettings() = 0; + +signals: + void stateChanged(QMediaRecorder::State state); + void statusChanged(QMediaRecorder::Status status); + void durationChanged(qint64 position); + void mutedChanged(bool muted); + void volumeChanged(qreal volume); + void actualLocationChanged(const QUrl &location); + void error(int error, const QString &errorString); + +public slots: + virtual void setState(QMediaRecorder::State state) = 0; + virtual void setMuted(bool muted) = 0; + virtual void setVolume(qreal volume) = 0; + +protected: + explicit QMediaRecorderControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaresource.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaresource.sip new file mode 100644 index 00000000..148f3af5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaresource.sip @@ -0,0 +1,62 @@ +// qmediaresource.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaResource +{ +%TypeHeaderCode +#include +%End + +public: + QMediaResource(); + QMediaResource(const QUrl &url, const QString &mimeType = QString()); + QMediaResource(const QNetworkRequest &request, const QString &mimeType = QString()); + QMediaResource(const QMediaResource &other); + ~QMediaResource(); + bool isNull() const; + bool operator==(const QMediaResource &other) const; + bool operator!=(const QMediaResource &other) const; + QUrl url() const; + QNetworkRequest request() const; + QString mimeType() const; + QString language() const; + void setLanguage(const QString &language); + QString audioCodec() const; + void setAudioCodec(const QString &codec); + QString videoCodec() const; + void setVideoCodec(const QString &codec); + qint64 dataSize() const; + void setDataSize(const qint64 size); + int audioBitRate() const; + void setAudioBitRate(int rate); + int sampleRate() const; + void setSampleRate(int frequency); + int channelCount() const; + void setChannelCount(int channels); + int videoBitRate() const; + void setVideoBitRate(int rate); + QSize resolution() const; + void setResolution(const QSize &resolution); + void setResolution(int width, int height); +}; + +typedef QList QMediaResourceList; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaservice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaservice.sip new file mode 100644 index 00000000..ca3d4a43 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediaservice.sip @@ -0,0 +1,36 @@ +// qmediaservice.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaService : QObject +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaService(); + virtual QMediaControl *requestControl(const char *name) = 0; + virtual void releaseControl(QMediaControl *control) = 0; + +protected: + QMediaService(QObject *parent /TransferThis/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediastreamscontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediastreamscontrol.sip new file mode 100644 index 00000000..9ed62c4b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediastreamscontrol.sip @@ -0,0 +1,52 @@ +// qmediastreamscontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaStreamsControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + enum StreamType + { + UnknownStream, + VideoStream, + AudioStream, + SubPictureStream, + DataStream, + }; + + virtual ~QMediaStreamsControl(); + virtual int streamCount() = 0; + virtual QMediaStreamsControl::StreamType streamType(int streamNumber) = 0; + virtual QVariant metaData(int streamNumber, const QString &key) = 0; + virtual bool isActive(int streamNumber) = 0; + virtual void setActive(int streamNumber, bool state) = 0; + +signals: + void streamsChanged(); + void activeStreamsChanged(); + +protected: + explicit QMediaStreamsControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediatimerange.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediatimerange.sip new file mode 100644 index 00000000..a215919b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediatimerange.sip @@ -0,0 +1,78 @@ +// qmediatimerange.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaTimeInterval +{ +%TypeHeaderCode +#include +%End + +public: + QMediaTimeInterval(); + QMediaTimeInterval(qint64 start, qint64 end); + QMediaTimeInterval(const QMediaTimeInterval &); + qint64 start() const; + qint64 end() const; + bool contains(qint64 time) const; + bool isNormal() const; + QMediaTimeInterval normalized() const; + QMediaTimeInterval translated(qint64 offset) const; +}; + +bool operator==(const QMediaTimeInterval &, const QMediaTimeInterval &); +bool operator!=(const QMediaTimeInterval &, const QMediaTimeInterval &); + +class QMediaTimeRange +{ +%TypeHeaderCode +#include +%End + +public: + QMediaTimeRange(); + QMediaTimeRange(qint64 start, qint64 end); + QMediaTimeRange(const QMediaTimeInterval &); + QMediaTimeRange(const QMediaTimeRange &range); + ~QMediaTimeRange(); + qint64 earliestTime() const; + qint64 latestTime() const; + QList intervals() const; + bool isEmpty() const; + bool isContinuous() const; + bool contains(qint64 time) const; + void addInterval(qint64 start, qint64 end); + void addInterval(const QMediaTimeInterval &interval); + void addTimeRange(const QMediaTimeRange &); + void removeInterval(qint64 start, qint64 end); + void removeInterval(const QMediaTimeInterval &interval); + void removeTimeRange(const QMediaTimeRange &); + QMediaTimeRange &operator+=(const QMediaTimeRange &); + QMediaTimeRange &operator+=(const QMediaTimeInterval &); + QMediaTimeRange &operator-=(const QMediaTimeRange &); + QMediaTimeRange &operator-=(const QMediaTimeInterval &); + void clear(); +}; + +bool operator==(const QMediaTimeRange &, const QMediaTimeRange &); +bool operator!=(const QMediaTimeRange &, const QMediaTimeRange &); +QMediaTimeRange operator+(const QMediaTimeRange &, const QMediaTimeRange &); +QMediaTimeRange operator-(const QMediaTimeRange &, const QMediaTimeRange &); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediavideoprobecontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediavideoprobecontrol.sip new file mode 100644 index 00000000..48625b37 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmediavideoprobecontrol.sip @@ -0,0 +1,38 @@ +// qmediavideoprobecontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMediaVideoProbeControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMediaVideoProbeControl(); + +signals: + void videoFrameProbed(const QVideoFrame &frame); + void flush(); + +protected: + explicit QMediaVideoProbeControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmetadatareadercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmetadatareadercontrol.sip new file mode 100644 index 00000000..8d9b5733 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmetadatareadercontrol.sip @@ -0,0 +1,42 @@ +// qmetadatareadercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMetaDataReaderControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMetaDataReaderControl(); + virtual bool isMetaDataAvailable() const = 0; + virtual QVariant metaData(const QString &key) const = 0; + virtual QStringList availableMetaData() const = 0; + +signals: + void metaDataChanged(); + void metaDataChanged(const QString &key, const QVariant &value); + void metaDataAvailableChanged(bool available); + +protected: + explicit QMetaDataReaderControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmetadatawritercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmetadatawritercontrol.sip new file mode 100644 index 00000000..bb6f00c2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmetadatawritercontrol.sip @@ -0,0 +1,45 @@ +// qmetadatawritercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMetaDataWriterControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QMetaDataWriterControl(); + virtual bool isWritable() const = 0; + virtual bool isMetaDataAvailable() const = 0; + virtual QVariant metaData(const QString &key) const = 0; + virtual void setMetaData(const QString &key, const QVariant &value) = 0; + virtual QStringList availableMetaData() const = 0; + +signals: + void metaDataChanged(); + void metaDataChanged(const QString &key, const QVariant &value); + void writableChanged(bool writable); + void metaDataAvailableChanged(bool available); + +protected: + explicit QMetaDataWriterControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmultimedia.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmultimedia.sip new file mode 100644 index 00000000..f490f2ce --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qmultimedia.sip @@ -0,0 +1,61 @@ +// qmultimedia.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QMultimedia +{ +%TypeHeaderCode +#include +%End + + enum SupportEstimate + { + NotSupported, + MaybeSupported, + ProbablySupported, + PreferredService, + }; + + enum EncodingQuality + { + VeryLowQuality, + LowQuality, + NormalQuality, + HighQuality, + VeryHighQuality, + }; + + enum EncodingMode + { + ConstantQualityEncoding, + ConstantBitRateEncoding, + AverageBitRateEncoding, + TwoPassEncoding, + }; + + enum AvailabilityStatus + { + Available, + ServiceMissing, + Busy, + ResourceError, + }; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qpymultimedia_qlist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qpymultimedia_qlist.sip new file mode 100644 index 00000000..0bc073aa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qpymultimedia_qlist.sip @@ -0,0 +1,443 @@ +// This is the SIP interface definition for the QList based mapped types +// specific to the QtMultimedia module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QList + /TypeHintIn="Iterable[QVideoFrame.PixelFormat]", + TypeHintOut="List[QVideoFrame.PixelFormat]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QVideoFrame_PixelFormat); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_QVideoFrame_PixelFormat); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QVideoFrame.PixelFormat' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + + +%MappedType QList + /TypeHintIn="Iterable[QAudioFormat.Endian]", + TypeHintOut="List[QAudioFormat.Endian]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QAudioFormat_Endian); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_QAudioFormat_Endian); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QAudioFormat.Endian' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + + +%MappedType QList + /TypeHintIn="Iterable[QAudioFormat.SampleType]", + TypeHintOut="List[QAudioFormat.SampleType]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QAudioFormat_SampleType); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_QAudioFormat_SampleType); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QAudioFormat.SampleType' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + + +%If (Qt_5_6_0 -) + +%MappedType QList + /TypeHintIn="Iterable[QAudio.Role]", + TypeHintOut="List[QAudio.Role]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QAudio_Role); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_QAudio_Role); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QAudio.Role' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiodata.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiodata.sip new file mode 100644 index 00000000..050ff122 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiodata.sip @@ -0,0 +1,117 @@ +// qradiodata.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRadioData : QObject, QMediaBindableInterface +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + ResourceError, + OpenError, + OutOfRangeError, + }; + + enum ProgramType + { + Undefined, + News, + CurrentAffairs, + Information, + Sport, + Education, + Drama, + Culture, + Science, + Varied, + PopMusic, + RockMusic, + EasyListening, + LightClassical, + SeriousClassical, + OtherMusic, + Weather, + Finance, + ChildrensProgrammes, + SocialAffairs, + Religion, + PhoneIn, + Travel, + Leisure, + JazzMusic, + CountryMusic, + NationalMusic, + OldiesMusic, + FolkMusic, + Documentary, + AlarmTest, + Alarm, + Talk, + ClassicRock, + AdultHits, + SoftRock, + Top40, + Soft, + Nostalgia, + Classical, + RhythmAndBlues, + SoftRhythmAndBlues, + Language, + ReligiousMusic, + ReligiousTalk, + Personality, + Public, + College, + }; + + QRadioData(QMediaObject *mediaObject, QObject *parent /TransferThis/ = 0); + virtual ~QRadioData(); + virtual QMediaObject *mediaObject() const; + QMultimedia::AvailabilityStatus availability() const; + QString stationId() const; + QRadioData::ProgramType programType() const; + QString programTypeName() const; + QString stationName() const; + QString radioText() const; + bool isAlternativeFrequenciesEnabled() const; + QRadioData::Error error() const; + QString errorString() const; + +public slots: + void setAlternativeFrequenciesEnabled(bool enabled); + +signals: + void stationIdChanged(QString stationId); + void programTypeChanged(QRadioData::ProgramType programType); + void programTypeNameChanged(QString programTypeName); + void stationNameChanged(QString stationName); + void radioTextChanged(QString radioText); + void alternativeFrequenciesEnabledChanged(bool enabled); + void error(QRadioData::Error error); + +protected: + virtual bool setMediaObject(QMediaObject *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiodatacontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiodatacontrol.sip new file mode 100644 index 00000000..4492153e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiodatacontrol.sip @@ -0,0 +1,52 @@ +// qradiodatacontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRadioDataControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QRadioDataControl(); + virtual QString stationId() const = 0; + virtual QRadioData::ProgramType programType() const = 0; + virtual QString programTypeName() const = 0; + virtual QString stationName() const = 0; + virtual QString radioText() const = 0; + virtual void setAlternativeFrequenciesEnabled(bool enabled) = 0; + virtual bool isAlternativeFrequenciesEnabled() const = 0; + virtual QRadioData::Error error() const = 0; + virtual QString errorString() const = 0; + +signals: + void stationIdChanged(QString stationId); + void programTypeChanged(QRadioData::ProgramType programType); + void programTypeNameChanged(QString programTypeName); + void stationNameChanged(QString stationName); + void radioTextChanged(QString radioText); + void alternativeFrequenciesEnabledChanged(bool enabled); + void error(QRadioData::Error err); + +protected: + explicit QRadioDataControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiotuner.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiotuner.sip new file mode 100644 index 00000000..8def888e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiotuner.sip @@ -0,0 +1,116 @@ +// qradiotuner.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRadioTuner : QMediaObject +{ +%TypeHeaderCode +#include +%End + +public: + enum State + { + ActiveState, + StoppedState, + }; + + enum Band + { + AM, + FM, + SW, + LW, + FM2, + }; + + enum Error + { + NoError, + ResourceError, + OpenError, + OutOfRangeError, + }; + + enum StereoMode + { + ForceStereo, + ForceMono, + Auto, + }; + + enum SearchMode + { + SearchFast, + SearchGetStationId, + }; + +%If (Qt_5_6_1 -) + explicit QRadioTuner(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QRadioTuner(QObject *parent /TransferThis/ = 0); +%End + virtual ~QRadioTuner(); + virtual QMultimedia::AvailabilityStatus availability() const; + QRadioTuner::State state() const; + QRadioTuner::Band band() const; + bool isBandSupported(QRadioTuner::Band b) const; + int frequency() const; + int frequencyStep(QRadioTuner::Band band) const; + QPair frequencyRange(QRadioTuner::Band band) const; + bool isStereo() const; + void setStereoMode(QRadioTuner::StereoMode mode); + QRadioTuner::StereoMode stereoMode() const; + int signalStrength() const; + int volume() const; + bool isMuted() const; + bool isSearching() const; + bool isAntennaConnected() const; + QRadioTuner::Error error() const; + QString errorString() const; + QRadioData *radioData() const; + +public slots: + void searchForward(); + void searchBackward(); + void searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast); + void cancelSearch(); + void setBand(QRadioTuner::Band band); + void setFrequency(int frequency); + void setVolume(int volume); + void setMuted(bool muted); + void start(); + void stop(); + +signals: + void stateChanged(QRadioTuner::State state); + void bandChanged(QRadioTuner::Band band); + void frequencyChanged(int frequency); + void stereoStatusChanged(bool stereo); + void searchingChanged(bool searching); + void signalStrengthChanged(int signalStrength); + void volumeChanged(int volume); + void mutedChanged(bool muted); + void stationFound(int frequency, QString stationId); + void antennaConnectedChanged(bool connectionStatus); + void error(QRadioTuner::Error error); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiotunercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiotunercontrol.sip new file mode 100644 index 00000000..f8f7af1a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qradiotunercontrol.sip @@ -0,0 +1,73 @@ +// qradiotunercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRadioTunerControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QRadioTunerControl(); + virtual QRadioTuner::State state() const = 0; + virtual QRadioTuner::Band band() const = 0; + virtual void setBand(QRadioTuner::Band b) = 0; + virtual bool isBandSupported(QRadioTuner::Band b) const = 0; + virtual int frequency() const = 0; + virtual int frequencyStep(QRadioTuner::Band b) const = 0; + virtual QPair frequencyRange(QRadioTuner::Band b) const = 0; + virtual void setFrequency(int frequency) = 0; + virtual bool isStereo() const = 0; + virtual QRadioTuner::StereoMode stereoMode() const = 0; + virtual void setStereoMode(QRadioTuner::StereoMode mode) = 0; + virtual int signalStrength() const = 0; + virtual int volume() const = 0; + virtual void setVolume(int volume) = 0; + virtual bool isMuted() const = 0; + virtual void setMuted(bool muted) = 0; + virtual bool isSearching() const = 0; + virtual bool isAntennaConnected() const; + virtual void searchForward() = 0; + virtual void searchBackward() = 0; + virtual void searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast) = 0; + virtual void cancelSearch() = 0; + virtual void start() = 0; + virtual void stop() = 0; + virtual QRadioTuner::Error error() const = 0; + virtual QString errorString() const = 0; + +signals: + void stateChanged(QRadioTuner::State state); + void bandChanged(QRadioTuner::Band band); + void frequencyChanged(int frequency); + void stereoStatusChanged(bool stereo); + void searchingChanged(bool searching); + void signalStrengthChanged(int signalStrength); + void volumeChanged(int volume); + void mutedChanged(bool muted); + void error(QRadioTuner::Error err); + void stationFound(int frequency, QString stationId); + void antennaConnectedChanged(bool connectionStatus); + +protected: + explicit QRadioTunerControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qsound.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qsound.sip new file mode 100644 index 00000000..143ddbe6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qsound.sip @@ -0,0 +1,47 @@ +// qsound.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSound : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Loop + { + Infinite, + }; + + QSound(const QString &filename, QObject *parent /TransferThis/ = 0); + virtual ~QSound(); + static void play(const QString &filename); + int loops() const; + int loopsRemaining() const; + void setLoops(int); + QString fileName() const; + bool isFinished() const; + +public slots: + void play(); + void stop(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qsoundeffect.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qsoundeffect.sip new file mode 100644 index 00000000..ff3dfc89 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qsoundeffect.sip @@ -0,0 +1,78 @@ +// qsoundeffect.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSoundEffect : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Loop + { + Infinite, + }; + + enum Status + { + Null, + Loading, + Ready, + Error, + }; + + explicit QSoundEffect(QObject *parent /TransferThis/ = 0); +%If (Qt_5_13_0 -) + QSoundEffect(const QAudioDeviceInfo &audioDevice, QObject *parent /TransferThis/ = 0); +%End + virtual ~QSoundEffect(); + static QStringList supportedMimeTypes(); + QUrl source() const; + void setSource(const QUrl &url); + int loopCount() const; + int loopsRemaining() const; + void setLoopCount(int loopCount); + qreal volume() const; + void setVolume(qreal volume); + bool isMuted() const; + void setMuted(bool muted); + bool isLoaded() const; + bool isPlaying() const; + QSoundEffect::Status status() const; + QString category() const; + void setCategory(const QString &category); + +signals: + void sourceChanged(); + void loopCountChanged(); + void loopsRemainingChanged(); + void volumeChanged(); + void mutedChanged(); + void loadedChanged(); + void playingChanged(); + void statusChanged(); + void categoryChanged(); + +public slots: + void play(); + void stop(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideodeviceselectorcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideodeviceselectorcontrol.sip new file mode 100644 index 00000000..f21020fe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideodeviceselectorcontrol.sip @@ -0,0 +1,47 @@ +// qvideodeviceselectorcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoDeviceSelectorControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QVideoDeviceSelectorControl(); + virtual int deviceCount() const = 0; + virtual QString deviceName(int index) const = 0; + virtual QString deviceDescription(int index) const = 0; + virtual int defaultDevice() const = 0; + virtual int selectedDevice() const = 0; + +public slots: + virtual void setSelectedDevice(int index) = 0; + +signals: + void selectedDeviceChanged(int index); + void selectedDeviceChanged(const QString &name); + void devicesChanged(); + +protected: + explicit QVideoDeviceSelectorControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoencodersettingscontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoencodersettingscontrol.sip new file mode 100644 index 00000000..55d7758d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoencodersettingscontrol.sip @@ -0,0 +1,40 @@ +// qvideoencodersettingscontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoEncoderSettingsControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QVideoEncoderSettingsControl(); + virtual QList supportedResolutions(const QVideoEncoderSettings &settings, bool *continuous = 0) const = 0; + virtual QList supportedFrameRates(const QVideoEncoderSettings &settings, bool *continuous = 0) const = 0; + virtual QStringList supportedVideoCodecs() const = 0; + virtual QString videoCodecDescription(const QString &codec) const = 0; + virtual QVideoEncoderSettings videoSettings() const = 0; + virtual void setVideoSettings(const QVideoEncoderSettings &settings) = 0; + +protected: + explicit QVideoEncoderSettingsControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoframe.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoframe.sip new file mode 100644 index 00000000..4e65d03e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoframe.sip @@ -0,0 +1,154 @@ +// qvideoframe.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoFrame +{ +%TypeHeaderCode +#include +%End + +public: + enum FieldType + { + ProgressiveFrame, + TopField, + BottomField, + InterlacedFrame, + }; + + enum PixelFormat + { + Format_Invalid, + Format_ARGB32, + Format_ARGB32_Premultiplied, + Format_RGB32, + Format_RGB24, + Format_RGB565, + Format_RGB555, + Format_ARGB8565_Premultiplied, + Format_BGRA32, + Format_BGRA32_Premultiplied, + Format_BGR32, + Format_BGR24, + Format_BGR565, + Format_BGR555, + Format_BGRA5658_Premultiplied, + Format_AYUV444, + Format_AYUV444_Premultiplied, + Format_YUV444, + Format_YUV420P, + Format_YV12, + Format_UYVY, + Format_YUYV, + Format_NV12, + Format_NV21, + Format_IMC1, + Format_IMC2, + Format_IMC3, + Format_IMC4, + Format_Y8, + Format_Y16, + Format_Jpeg, + Format_CameraRaw, + Format_AdobeDng, +%If (Qt_5_13_0 -) + Format_ABGR32, +%End +%If (Qt_5_14_0 -) + Format_YUV422P, +%End + Format_User, + }; + + QVideoFrame(); + QVideoFrame(QAbstractVideoBuffer *buffer, const QSize &size, QVideoFrame::PixelFormat format); + QVideoFrame(int bytes, const QSize &size, int bytesPerLine, QVideoFrame::PixelFormat format); + QVideoFrame(const QImage &image); + QVideoFrame(const QVideoFrame &other); + ~QVideoFrame(); + bool isValid() const; + QVideoFrame::PixelFormat pixelFormat() const; + QAbstractVideoBuffer::HandleType handleType() const; + QSize size() const; + int width() const; + int height() const; + QVideoFrame::FieldType fieldType() const; + void setFieldType(QVideoFrame::FieldType); + bool isMapped() const; + bool isReadable() const; + bool isWritable() const; + QAbstractVideoBuffer::MapMode mapMode() const; + bool map(QAbstractVideoBuffer::MapMode mode); + void unmap(); + int bytesPerLine() const; +%If (Qt_5_4_0 -) + int bytesPerLine(int plane) const; +%End + SIP_PYOBJECT bits() /TypeHint="PyQt5.sip.voidptr"/; +%MethodCode + uchar *mem; + + Py_BEGIN_ALLOW_THREADS + mem = sipCpp->bits(); + Py_END_ALLOW_THREADS + + if (mem) + { + sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes()); + } + else + { + sipRes = Py_None; + Py_INCREF(sipRes); + } +%End + +%If (Qt_5_4_0 -) + void *bits(int plane) [uchar * (int plane)]; +%End + int mappedBytes() const; + QVariant handle() const; + qint64 startTime() const; + void setStartTime(qint64 time); + qint64 endTime() const; + void setEndTime(qint64 time); + static QVideoFrame::PixelFormat pixelFormatFromImageFormat(QImage::Format format); + static QImage::Format imageFormatFromPixelFormat(QVideoFrame::PixelFormat format); + QVariantMap availableMetaData() const; + QVariant metaData(const QString &key) const; + void setMetaData(const QString &key, const QVariant &value); +%If (Qt_5_4_0 -) + int planeCount() const; +%End +%If (Qt_5_5_0 -) + bool operator==(const QVideoFrame &other) const; +%End +%If (Qt_5_5_0 -) + bool operator!=(const QVideoFrame &other) const; +%End +%If (Qt_5_13_0 -) + QAbstractVideoBuffer *buffer() const; +%End +%If (Qt_5_15_0 -) + QImage image() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoprobe.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoprobe.sip new file mode 100644 index 00000000..65efad6f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideoprobe.sip @@ -0,0 +1,39 @@ +// qvideoprobe.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoProbe : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QVideoProbe(QObject *parent /TransferThis/ = 0); + virtual ~QVideoProbe(); + bool setSource(QMediaObject *source); + bool setSource(QMediaRecorder *source); + bool isActive() const; + +signals: + void videoFrameProbed(const QVideoFrame &videoFrame); + void flush(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideorenderercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideorenderercontrol.sip new file mode 100644 index 00000000..0e248755 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideorenderercontrol.sip @@ -0,0 +1,36 @@ +// qvideorenderercontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoRendererControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QVideoRendererControl(); + virtual QAbstractVideoSurface *surface() const = 0; + virtual void setSurface(QAbstractVideoSurface *surface) = 0; + +protected: + explicit QVideoRendererControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideosurfaceformat.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideosurfaceformat.sip new file mode 100644 index 00000000..566a1f03 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideosurfaceformat.sip @@ -0,0 +1,81 @@ +// qvideosurfaceformat.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoSurfaceFormat +{ +%TypeHeaderCode +#include +%End + +public: + enum Direction + { + TopToBottom, + BottomToTop, + }; + + enum YCbCrColorSpace + { + YCbCr_Undefined, + YCbCr_BT601, + YCbCr_BT709, + YCbCr_xvYCC601, + YCbCr_xvYCC709, + YCbCr_JPEG, + }; + + QVideoSurfaceFormat(); + QVideoSurfaceFormat(const QSize &size, QVideoFrame::PixelFormat format, QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle); + QVideoSurfaceFormat(const QVideoSurfaceFormat &format); + ~QVideoSurfaceFormat(); + bool operator==(const QVideoSurfaceFormat &format) const; + bool operator!=(const QVideoSurfaceFormat &format) const; + bool isValid() const; + QVideoFrame::PixelFormat pixelFormat() const; + QAbstractVideoBuffer::HandleType handleType() const; + QSize frameSize() const; + void setFrameSize(const QSize &size); + void setFrameSize(int width, int height); + int frameWidth() const; + int frameHeight() const; + QRect viewport() const; + void setViewport(const QRect &viewport); + QVideoSurfaceFormat::Direction scanLineDirection() const; + void setScanLineDirection(QVideoSurfaceFormat::Direction direction); + qreal frameRate() const; + void setFrameRate(qreal rate); + QSize pixelAspectRatio() const; + void setPixelAspectRatio(const QSize &ratio); + void setPixelAspectRatio(int width, int height); + QVideoSurfaceFormat::YCbCrColorSpace yCbCrColorSpace() const; + void setYCbCrColorSpace(QVideoSurfaceFormat::YCbCrColorSpace colorSpace); + QSize sizeHint() const; + QList propertyNames() const; + QVariant property(const char *name) const; + void setProperty(const char *name, const QVariant &value); +%If (Qt_5_11_0 -) + bool isMirrored() const; +%End +%If (Qt_5_11_0 -) + void setMirrored(bool mirrored); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideowindowcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideowindowcontrol.sip new file mode 100644 index 00000000..7defa419 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimedia/qvideowindowcontrol.sip @@ -0,0 +1,60 @@ +// qvideowindowcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimedia Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoWindowControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QVideoWindowControl(); + virtual WId winId() const = 0; + virtual void setWinId(WId id) = 0; + virtual QRect displayRect() const = 0; + virtual void setDisplayRect(const QRect &rect) = 0; + virtual bool isFullScreen() const = 0; + virtual void setFullScreen(bool fullScreen) = 0; + virtual void repaint() = 0; + virtual QSize nativeSize() const = 0; + virtual Qt::AspectRatioMode aspectRatioMode() const = 0; + virtual void setAspectRatioMode(Qt::AspectRatioMode mode) = 0; + virtual int brightness() const = 0; + virtual void setBrightness(int brightness) = 0; + virtual int contrast() const = 0; + virtual void setContrast(int contrast) = 0; + virtual int hue() const = 0; + virtual void setHue(int hue) = 0; + virtual int saturation() const = 0; + virtual void setSaturation(int saturation) = 0; + +signals: + void fullScreenChanged(bool fullScreen); + void brightnessChanged(int brightness); + void contrastChanged(int contrast); + void hueChanged(int hue); + void saturationChanged(int saturation); + void nativeSizeChanged(); + +protected: + explicit QVideoWindowControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/QtMultimediaWidgets.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/QtMultimediaWidgets.toml new file mode 100644 index 00000000..4efd677c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/QtMultimediaWidgets.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtMultimediaWidgets. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/QtMultimediaWidgetsmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/QtMultimediaWidgetsmod.sip new file mode 100644 index 00000000..4f72def4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/QtMultimediaWidgetsmod.sip @@ -0,0 +1,53 @@ +// QtMultimediaWidgetsmod.sip generated by MetaSIP +// +// This file is part of the QtMultimediaWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtMultimediaWidgets, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtMultimedia/QtMultimediamod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qcameraviewfinder.sip +%Include qgraphicsvideoitem.sip +%Include qvideowidget.sip +%Include qvideowidgetcontrol.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qcameraviewfinder.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qcameraviewfinder.sip new file mode 100644 index 00000000..bf3c358b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qcameraviewfinder.sip @@ -0,0 +1,41 @@ +// qcameraviewfinder.sip generated by MetaSIP +// +// This file is part of the QtMultimediaWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCameraViewfinder : QVideoWidget +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_1 -) + explicit QCameraViewfinder(QWidget *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QCameraViewfinder(QWidget *parent /TransferThis/ = 0); +%End + virtual ~QCameraViewfinder(); + virtual QMediaObject *mediaObject() const; + +protected: + virtual bool setMediaObject(QMediaObject *object); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qgraphicsvideoitem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qgraphicsvideoitem.sip new file mode 100644 index 00000000..0e66887d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qgraphicsvideoitem.sip @@ -0,0 +1,65 @@ +// qgraphicsvideoitem.sip generated by MetaSIP +// +// This file is part of the QtMultimediaWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsVideoItem : QGraphicsObject, QMediaBindableInterface +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_1 -) + explicit QGraphicsVideoItem(QGraphicsItem *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QGraphicsVideoItem(QGraphicsItem *parent /TransferThis/ = 0); +%End + virtual ~QGraphicsVideoItem(); + virtual QMediaObject *mediaObject() const; + Qt::AspectRatioMode aspectRatioMode() const; + void setAspectRatioMode(Qt::AspectRatioMode mode); + QPointF offset() const; + void setOffset(const QPointF &offset); + QSizeF size() const; + void setSize(const QSizeF &size); + QSizeF nativeSize() const; + virtual QRectF boundingRect() const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + +signals: + void nativeSizeChanged(const QSizeF &size); + +protected: + virtual void timerEvent(QTimerEvent *event); + virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value); + virtual bool setMediaObject(QMediaObject *object); + +public: +%If (Qt_5_15_0 -) + QAbstractVideoSurface *videoSurface() const; +%End +}; + +%ModuleCode +// This is needed by the %ConvertToSubClassCode. +#include +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qvideowidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qvideowidget.sip new file mode 100644 index 00000000..bb184750 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qvideowidget.sip @@ -0,0 +1,104 @@ +// qvideowidget.sip generated by MetaSIP +// +// This file is part of the QtMultimediaWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoWidget : QWidget, QMediaBindableInterface +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QVideoWidget, &sipType_QVideoWidget, 3, 1}, + {sipName_QGraphicsVideoItem, &sipType_QGraphicsVideoItem, -1, 2}, + {sipName_QVideoWidgetControl, &sipType_QVideoWidgetControl, -1, -1}, + {sipName_QCameraViewfinder, &sipType_QCameraViewfinder, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: +%If (Qt_5_6_1 -) + explicit QVideoWidget(QWidget *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QVideoWidget(QWidget *parent /TransferThis/ = 0); +%End + virtual ~QVideoWidget(); + virtual QMediaObject *mediaObject() const; + Qt::AspectRatioMode aspectRatioMode() const; + int brightness() const; + int contrast() const; + int hue() const; + int saturation() const; + virtual QSize sizeHint() const; + +public slots: + void setFullScreen(bool fullScreen); + void setAspectRatioMode(Qt::AspectRatioMode mode); + void setBrightness(int brightness); + void setContrast(int contrast); + void setHue(int hue); + void setSaturation(int saturation); + +signals: + void fullScreenChanged(bool fullScreen); + void brightnessChanged(int brightness); + void contrastChanged(int contrast); + void hueChanged(int hue); + void saturationChanged(int saturation); + +protected: + virtual bool event(QEvent *event); + virtual void showEvent(QShowEvent *event); + virtual void hideEvent(QHideEvent *event); + virtual void resizeEvent(QResizeEvent *event); + virtual void moveEvent(QMoveEvent *event); + virtual void paintEvent(QPaintEvent *event); + virtual bool setMediaObject(QMediaObject *object); + +public: +%If (Qt_5_15_0 -) + QAbstractVideoSurface *videoSurface() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qvideowidgetcontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qvideowidgetcontrol.sip new file mode 100644 index 00000000..af11324f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtMultimediaWidgets/qvideowidgetcontrol.sip @@ -0,0 +1,54 @@ +// qvideowidgetcontrol.sip generated by MetaSIP +// +// This file is part of the QtMultimediaWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QVideoWidgetControl : QMediaControl +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QVideoWidgetControl(); + virtual QWidget *videoWidget() = 0; + virtual Qt::AspectRatioMode aspectRatioMode() const = 0; + virtual void setAspectRatioMode(Qt::AspectRatioMode mode) = 0; + virtual bool isFullScreen() const = 0; + virtual void setFullScreen(bool fullScreen) = 0; + virtual int brightness() const = 0; + virtual void setBrightness(int brightness) = 0; + virtual int contrast() const = 0; + virtual void setContrast(int contrast) = 0; + virtual int hue() const = 0; + virtual void setHue(int hue) = 0; + virtual int saturation() const = 0; + virtual void setSaturation(int saturation) = 0; + +signals: + void fullScreenChanged(bool fullScreen); + void brightnessChanged(int brightness); + void contrastChanged(int contrast); + void hueChanged(int hue); + void saturationChanged(int saturation); + +protected: + explicit QVideoWidgetControl(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/QtNetwork.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/QtNetwork.toml new file mode 100644 index 00000000..8c1a5877 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/QtNetwork.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtNetwork. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/QtNetworkmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/QtNetworkmod.sip new file mode 100644 index 00000000..bc38113b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/QtNetworkmod.sip @@ -0,0 +1,88 @@ +// QtNetworkmod.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtNetwork, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qabstractnetworkcache.sip +%Include qabstractsocket.sip +%Include qauthenticator.sip +%Include qdnslookup.sip +%Include qhostaddress.sip +%Include qhostinfo.sip +%Include qhstspolicy.sip +%Include qhttp2configuration.sip +%Include qhttpmultipart.sip +%Include qlocalserver.sip +%Include qlocalsocket.sip +%Include qnetworkaccessmanager.sip +%Include qnetworkconfigmanager.sip +%Include qnetworkconfiguration.sip +%Include qnetworkcookie.sip +%Include qnetworkcookiejar.sip +%Include qnetworkdatagram.sip +%Include qnetworkdiskcache.sip +%Include qnetworkinterface.sip +%Include qnetworkproxy.sip +%Include qnetworkreply.sip +%Include qnetworkrequest.sip +%Include qnetworksession.sip +%Include qocspresponse.sip +%Include qpassworddigestor.sip +%Include qssl.sip +%Include qsslcertificate.sip +%Include qsslcertificateextension.sip +%Include qsslcipher.sip +%Include qsslconfiguration.sip +%Include qssldiffiehellmanparameters.sip +%Include qsslellipticcurve.sip +%Include qsslerror.sip +%Include qsslkey.sip +%Include qsslpresharedkeyauthenticator.sip +%Include qsslsocket.sip +%Include qtcpserver.sip +%Include qtcpsocket.sip +%Include qudpsocket.sip +%Include qpynetwork_qhash.sip +%Include qpynetwork_qmap.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qabstractnetworkcache.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qabstractnetworkcache.sip new file mode 100644 index 00000000..34046b8a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qabstractnetworkcache.sip @@ -0,0 +1,78 @@ +// qabstractnetworkcache.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkCacheMetaData +{ +%TypeHeaderCode +#include +%End + + typedef QList> RawHeaderList; + typedef QHash AttributesMap; + +public: + QNetworkCacheMetaData(); + QNetworkCacheMetaData(const QNetworkCacheMetaData &other); + ~QNetworkCacheMetaData(); + bool operator==(const QNetworkCacheMetaData &other) const; + bool operator!=(const QNetworkCacheMetaData &other) const; + bool isValid() const; + QUrl url() const; + void setUrl(const QUrl &url); + QNetworkCacheMetaData::RawHeaderList rawHeaders() const; + void setRawHeaders(const QNetworkCacheMetaData::RawHeaderList &headers); + QDateTime lastModified() const; + void setLastModified(const QDateTime &dateTime); + QDateTime expirationDate() const; + void setExpirationDate(const QDateTime &dateTime); + bool saveToDisk() const; + void setSaveToDisk(bool allow); + QNetworkCacheMetaData::AttributesMap attributes() const; + void setAttributes(const QNetworkCacheMetaData::AttributesMap &attributes); + void swap(QNetworkCacheMetaData &other /Constrained/); +}; + +QDataStream &operator<<(QDataStream &, const QNetworkCacheMetaData & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QNetworkCacheMetaData & /Constrained/) /ReleaseGIL/; + +class QAbstractNetworkCache : QObject +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAbstractNetworkCache(); + virtual QNetworkCacheMetaData metaData(const QUrl &url) = 0; + virtual void updateMetaData(const QNetworkCacheMetaData &metaData) = 0; + virtual QIODevice *data(const QUrl &url) = 0 /Factory/; + virtual bool remove(const QUrl &url) = 0; + virtual qint64 cacheSize() const = 0; + virtual QIODevice *prepare(const QNetworkCacheMetaData &metaData) = 0; + virtual void insert(QIODevice *device) = 0; + +public slots: + virtual void clear() = 0; + +protected: + explicit QAbstractNetworkCache(QObject *parent /TransferThis/ = 0); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qabstractsocket.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qabstractsocket.sip new file mode 100644 index 00000000..9630de3e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qabstractsocket.sip @@ -0,0 +1,317 @@ +// qabstractsocket.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractSocket : QIODevice +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QNetworkReply, &sipType_QNetworkReply, -1, 1}, + {sipName_QHttpMultiPart, &sipType_QHttpMultiPart, -1, 2}, + {sipName_QAbstractNetworkCache, &sipType_QAbstractNetworkCache, 12, 3}, + {sipName_QNetworkConfigurationManager, &sipType_QNetworkConfigurationManager, -1, 4}, + {sipName_QNetworkCookieJar, &sipType_QNetworkCookieJar, -1, 5}, + {sipName_QAbstractSocket, &sipType_QAbstractSocket, 13, 6}, + {sipName_QLocalSocket, &sipType_QLocalSocket, -1, 7}, + {sipName_QDnsLookup, &sipType_QDnsLookup, -1, 8}, + {sipName_QNetworkSession, &sipType_QNetworkSession, -1, 9}, + {sipName_QTcpServer, &sipType_QTcpServer, -1, 10}, + {sipName_QNetworkAccessManager, &sipType_QNetworkAccessManager, -1, 11}, + {sipName_QLocalServer, &sipType_QLocalServer, -1, -1}, + {sipName_QNetworkDiskCache, &sipType_QNetworkDiskCache, -1, -1}, + {sipName_QUdpSocket, &sipType_QUdpSocket, -1, 14}, + {sipName_QTcpSocket, &sipType_QTcpSocket, 15, -1}, + #if defined(SIP_FEATURE_PyQt_SSL) + {sipName_QSslSocket, &sipType_QSslSocket, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum SocketType + { + TcpSocket, + UdpSocket, +%If (Qt_5_8_0 -) + SctpSocket, +%End + UnknownSocketType, + }; + + enum NetworkLayerProtocol + { + IPv4Protocol, + IPv6Protocol, + AnyIPProtocol, + UnknownNetworkLayerProtocol, + }; + + enum SocketError + { + ConnectionRefusedError, + RemoteHostClosedError, + HostNotFoundError, + SocketAccessError, + SocketResourceError, + SocketTimeoutError, + DatagramTooLargeError, + NetworkError, + AddressInUseError, + SocketAddressNotAvailableError, + UnsupportedSocketOperationError, + UnfinishedSocketOperationError, + ProxyAuthenticationRequiredError, + SslHandshakeFailedError, + ProxyConnectionRefusedError, + ProxyConnectionClosedError, + ProxyConnectionTimeoutError, + ProxyNotFoundError, + ProxyProtocolError, + OperationError, + SslInternalError, + SslInvalidUserDataError, + TemporaryError, + UnknownSocketError, + }; + + enum SocketState + { + UnconnectedState, + HostLookupState, + ConnectingState, + ConnectedState, + BoundState, + ListeningState, + ClosingState, + }; + + QAbstractSocket(QAbstractSocket::SocketType socketType, QObject *parent /TransferThis/); + virtual ~QAbstractSocket(); + virtual void connectToHost(const QString &hostName, quint16 port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) /ReleaseGIL/; + virtual void connectToHost(const QHostAddress &address, quint16 port, QIODevice::OpenMode mode = QIODevice::ReadWrite) /ReleaseGIL/; + virtual void disconnectFromHost() /ReleaseGIL/; + bool isValid() const; + virtual qint64 bytesAvailable() const; + virtual qint64 bytesToWrite() const; + virtual bool canReadLine() const; + quint16 localPort() const; + QHostAddress localAddress() const; + quint16 peerPort() const; + QHostAddress peerAddress() const; + QString peerName() const; + qint64 readBufferSize() const; + virtual void setReadBufferSize(qint64 size); + void abort(); + virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode mode = QIODevice::ReadWrite); + virtual qintptr socketDescriptor() const; + QAbstractSocket::SocketType socketType() const; + QAbstractSocket::SocketState state() const; + QAbstractSocket::SocketError error() const; + virtual void close(); + virtual bool isSequential() const; + virtual bool atEnd() const; + bool flush() /ReleaseGIL/; + virtual bool waitForConnected(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForReadyRead(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForBytesWritten(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForDisconnected(int msecs = 30000) /ReleaseGIL/; + void setProxy(const QNetworkProxy &networkProxy); + QNetworkProxy proxy() const; + +signals: + void hostFound(); + void connected(); + void disconnected(); + void stateChanged(QAbstractSocket::SocketState); + void error(QAbstractSocket::SocketError); +%If (Qt_5_15_0 -) + void errorOccurred(QAbstractSocket::SocketError); +%End + void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *authenticator); + +protected: + virtual SIP_PYOBJECT readData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QAbstractSocket::readData(s, a0) : sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual SIP_PYOBJECT readLineData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QAbstractSocket::readLineData(s, a0) : sipCpp->readLineData(s, a0); + #else + len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual qint64 writeData(const char *data /Array/, qint64 len /ArraySize/) /ReleaseGIL/; + void setSocketState(QAbstractSocket::SocketState state); + void setSocketError(QAbstractSocket::SocketError socketError); + void setLocalPort(quint16 port); + void setLocalAddress(const QHostAddress &address); + void setPeerPort(quint16 port); + void setPeerAddress(const QHostAddress &address); + void setPeerName(const QString &name); + +public: + enum SocketOption + { + LowDelayOption, + KeepAliveOption, + MulticastTtlOption, + MulticastLoopbackOption, + TypeOfServiceOption, +%If (Qt_5_3_0 -) + SendBufferSizeSocketOption, +%End +%If (Qt_5_3_0 -) + ReceiveBufferSizeSocketOption, +%End +%If (Qt_5_11_0 -) + PathMtuSocketOption, +%End + }; + + virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value); + virtual QVariant socketOption(QAbstractSocket::SocketOption option); + + enum BindFlag + { + DefaultForPlatform, + ShareAddress, + DontShareAddress, + ReuseAddressHint, + }; + + typedef QFlags BindMode; + + enum PauseMode + { + PauseNever, + PauseOnSslErrors, + }; + + typedef QFlags PauseModes; + virtual void resume() /ReleaseGIL/; + QAbstractSocket::PauseModes pauseMode() const; + void setPauseMode(QAbstractSocket::PauseModes pauseMode); + bool bind(const QHostAddress &address, quint16 port = 0, QAbstractSocket::BindMode mode = QAbstractSocket::DefaultForPlatform); + bool bind(quint16 port = 0, QAbstractSocket::BindMode mode = QAbstractSocket::DefaultForPlatform); +%If (Qt_5_13_0 -) + QString protocolTag() const; +%End +%If (Qt_5_13_0 -) + void setProtocolTag(const QString &tag); +%End +}; + +QFlags operator|(QAbstractSocket::BindFlag f1, QFlags f2); +QFlags operator|(QAbstractSocket::PauseMode f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qauthenticator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qauthenticator.sip new file mode 100644 index 00000000..ac60f4d8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qauthenticator.sip @@ -0,0 +1,44 @@ +// qauthenticator.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAuthenticator +{ +%TypeHeaderCode +#include +%End + +public: + QAuthenticator(); + QAuthenticator(const QAuthenticator &other); + ~QAuthenticator(); + bool operator==(const QAuthenticator &other) const; + bool operator!=(const QAuthenticator &other) const; + QString user() const; + void setUser(const QString &user); + QString password() const; + void setPassword(const QString &password); + QString realm() const; + bool isNull() const; + QVariant option(const QString &opt) const; + QVariantHash options() const; + void setOption(const QString &opt, const QVariant &value); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qdnslookup.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qdnslookup.sip new file mode 100644 index 00000000..e56dfd1f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qdnslookup.sip @@ -0,0 +1,181 @@ +// qdnslookup.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDnsDomainNameRecord +{ +%TypeHeaderCode +#include +%End + +public: + QDnsDomainNameRecord(); + QDnsDomainNameRecord(const QDnsDomainNameRecord &other); + ~QDnsDomainNameRecord(); + void swap(QDnsDomainNameRecord &other /Constrained/); + QString name() const; + quint32 timeToLive() const; + QString value() const; +}; + +class QDnsHostAddressRecord +{ +%TypeHeaderCode +#include +%End + +public: + QDnsHostAddressRecord(); + QDnsHostAddressRecord(const QDnsHostAddressRecord &other); + ~QDnsHostAddressRecord(); + void swap(QDnsHostAddressRecord &other /Constrained/); + QString name() const; + quint32 timeToLive() const; + QHostAddress value() const; +}; + +class QDnsMailExchangeRecord +{ +%TypeHeaderCode +#include +%End + +public: + QDnsMailExchangeRecord(); + QDnsMailExchangeRecord(const QDnsMailExchangeRecord &other); + ~QDnsMailExchangeRecord(); + void swap(QDnsMailExchangeRecord &other /Constrained/); + QString exchange() const; + QString name() const; + quint16 preference() const; + quint32 timeToLive() const; +}; + +class QDnsServiceRecord +{ +%TypeHeaderCode +#include +%End + +public: + QDnsServiceRecord(); + QDnsServiceRecord(const QDnsServiceRecord &other); + ~QDnsServiceRecord(); + void swap(QDnsServiceRecord &other /Constrained/); + QString name() const; + quint16 port() const; + quint16 priority() const; + QString target() const; + quint32 timeToLive() const; + quint16 weight() const; +}; + +class QDnsTextRecord +{ +%TypeHeaderCode +#include +%End + +public: + QDnsTextRecord(); + QDnsTextRecord(const QDnsTextRecord &other); + ~QDnsTextRecord(); + void swap(QDnsTextRecord &other /Constrained/); + QString name() const; + quint32 timeToLive() const; + QList values() const; +}; + +class QDnsLookup : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + ResolverError, + OperationCancelledError, + InvalidRequestError, + InvalidReplyError, + ServerFailureError, + ServerRefusedError, + NotFoundError, + }; + + enum Type + { + A, + AAAA, + ANY, + CNAME, + MX, + NS, + PTR, + SRV, + TXT, + }; + + explicit QDnsLookup(QObject *parent /TransferThis/ = 0); + QDnsLookup(QDnsLookup::Type type, const QString &name, QObject *parent /TransferThis/ = 0); +%If (Qt_5_5_0 -) + QDnsLookup(QDnsLookup::Type type, const QString &name, const QHostAddress &nameserver, QObject *parent /TransferThis/ = 0); +%End + virtual ~QDnsLookup(); + QDnsLookup::Error error() const; + QString errorString() const; + bool isFinished() const; + QString name() const; + void setName(const QString &name); + QDnsLookup::Type type() const; + void setType(QDnsLookup::Type); + QList canonicalNameRecords() const; + QList hostAddressRecords() const; + QList mailExchangeRecords() const; + QList nameServerRecords() const; + QList pointerRecords() const; + QList serviceRecords() const; + QList textRecords() const; + +public slots: + void abort() /ReleaseGIL/; + void lookup() /ReleaseGIL/; + +signals: + void finished(); + void nameChanged(const QString &name); + void typeChanged(QDnsLookup::Type type /ScopesStripped=1/); + +public: +%If (Qt_5_3_0 -) + QHostAddress nameserver() const; +%End +%If (Qt_5_3_0 -) + void setNameserver(const QHostAddress &nameserver); +%End + +signals: +%If (Qt_5_3_0 -) + void nameserverChanged(const QHostAddress &nameserver); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhostaddress.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhostaddress.sip new file mode 100644 index 00000000..22c84014 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhostaddress.sip @@ -0,0 +1,206 @@ +// qhostaddress.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHostAddress /TypeHintIn="Union[QHostAddress, QHostAddress.SpecialAddress]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +// SIP doesn't support automatic type convertors so we explicitly allow a +// QHostAddress::SpecialAddress to be used whenever a QHostAddress is expected. + +if (sipIsErr == NULL) + return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QHostAddress_SpecialAddress)) || + sipCanConvertToType(sipPy, sipType_QHostAddress, SIP_NO_CONVERTORS)); + +if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QHostAddress_SpecialAddress))) +{ + *sipCppPtr = new QHostAddress((QHostAddress::SpecialAddress)SIPLong_AsLong(sipPy)); + + return sipGetState(sipTransferObj); +} + +*sipCppPtr = reinterpret_cast(sipConvertToType(sipPy, sipType_QHostAddress, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + +return 0; +%End + +public: + enum SpecialAddress + { + Null, + Broadcast, + LocalHost, + LocalHostIPv6, + AnyIPv4, + AnyIPv6, + Any, + }; + + QHostAddress(); + QHostAddress(QHostAddress::SpecialAddress address /Constrained/); + explicit QHostAddress(quint32 ip4Addr); + explicit QHostAddress(const QString &address); + explicit QHostAddress(const Q_IPV6ADDR &ip6Addr); + QHostAddress(const QHostAddress ©); + ~QHostAddress(); +%If (Qt_5_8_0 -) + void setAddress(QHostAddress::SpecialAddress address /Constrained/); +%End + void setAddress(quint32 ip4Addr); + bool setAddress(const QString &address); + void setAddress(const Q_IPV6ADDR &ip6Addr); + QAbstractSocket::NetworkLayerProtocol protocol() const; + quint32 toIPv4Address() const; + Q_IPV6ADDR toIPv6Address() const; + QString toString() const; + QString scopeId() const; + void setScopeId(const QString &id); + bool operator==(const QHostAddress &address) const; + bool operator==(QHostAddress::SpecialAddress address) const; + bool operator!=(const QHostAddress &address) const; + bool operator!=(QHostAddress::SpecialAddress address) const; + bool isNull() const; + void clear(); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + + bool isInSubnet(const QHostAddress &subnet, int netmask) const; + bool isInSubnet(const QPair &subnet) const; + bool isLoopback() const; + static QPair parseSubnet(const QString &subnet); +%If (Qt_5_6_0 -) + void swap(QHostAddress &other /Constrained/); +%End +%If (Qt_5_6_0 -) + bool isMulticast() const; +%End +%If (Qt_5_8_0 -) + + enum ConversionModeFlag + { + ConvertV4MappedToIPv4, + ConvertV4CompatToIPv4, + ConvertUnspecifiedAddress, + ConvertLocalHost, + TolerantConversion, + StrictConversion, + }; + +%End +%If (Qt_5_8_0 -) + typedef QFlags ConversionMode; +%End +%If (Qt_5_8_0 -) + bool isEqual(const QHostAddress &address, QHostAddress::ConversionMode mode = QHostAddress::TolerantConversion) const; +%End +%If (Qt_5_11_0 -) + bool isGlobal() const; +%End +%If (Qt_5_11_0 -) + bool isLinkLocal() const; +%End +%If (Qt_5_11_0 -) + bool isSiteLocal() const; +%End +%If (Qt_5_11_0 -) + bool isUniqueLocalUnicast() const; +%End +%If (Qt_5_11_0 -) + bool isBroadcast() const; +%End +}; + +bool operator==(QHostAddress::SpecialAddress address1, const QHostAddress &address2); +%If (Qt_5_9_0 -) +bool operator!=(QHostAddress::SpecialAddress lhs, const QHostAddress &rhs); +%End +QDataStream &operator<<(QDataStream &, const QHostAddress &) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QHostAddress &) /ReleaseGIL/; +// Q_IPV6ADDR is implemented as a Python 16-tuple of ints. +%MappedType Q_IPV6ADDR /TypeHint="Tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + // Create the tuple. + PyObject *t; + + if ((t = PyTuple_New(16)) == NULL) + return NULL; + + // Set the tuple elements. + for (int i = 0; i < 16; ++i) + { + PyObject *pobj; + + if ((pobj = SIPLong_FromLong((*sipCpp)[i])) == NULL) + { + Py_DECREF(t); + + return NULL; + } + + PyTuple_SetItem(t, i, pobj); + } + + return t; +%End + +%ConvertToTypeCode + // Check the type if that is all that is required. + if (sipIsErr == NULL) + return (PySequence_Check(sipPy) && PySequence_Size(sipPy) == 16); + + Q_IPV6ADDR *qa = new Q_IPV6ADDR; + + for (Py_ssize_t i = 0; i < 16; ++i) + { + PyObject *itm = PySequence_GetItem(sipPy, i); + + if (!itm) + { + delete qa; + *sipIsErr = 1; + + return 0; + } + + (*qa)[i] = SIPLong_AsLong(itm); + + Py_DECREF(itm); + } + + *sipCppPtr = qa; + + return sipGetState(sipTransferObj); +%End +}; +%If (Qt_5_8_0 -) +QFlags operator|(QHostAddress::ConversionModeFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhostinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhostinfo.sip new file mode 100644 index 00000000..40e1e013 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhostinfo.sip @@ -0,0 +1,89 @@ +// qhostinfo.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHostInfo +{ +%TypeHeaderCode +#include +%End + +public: + enum HostInfoError + { + NoError, + HostNotFound, + UnknownError, + }; + + explicit QHostInfo(int id = -1); + QHostInfo(const QHostInfo &d); + ~QHostInfo(); + QString hostName() const; + void setHostName(const QString &name); + QList addresses() const; + void setAddresses(const QList &addresses); + QHostInfo::HostInfoError error() const; + void setError(QHostInfo::HostInfoError error); + QString errorString() const; + void setErrorString(const QString &errorString); + void setLookupId(int id); + int lookupId() const; + static int lookupHost(const QString &name, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtnetwork_get_connection_parts(a1, 0, "(QHostInfo)", true, &receiver, slot_signature)) == sipErrorNone) + { + QHostInfo::lookupHost(*a0, receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(1, a1); + } +%End + + static void abortHostLookup(int lookupId); + static QHostInfo fromName(const QString &name); + static QString localHostName(); + static QString localDomainName(); +%If (Qt_5_10_0 -) + void swap(QHostInfo &other /Constrained/); +%End +}; + +%ModuleHeaderCode +// Imports from QtCore. +typedef sipErrorState (*pyqt5_qtnetwork_get_connection_parts_t)(PyObject *, QObject *, const char *, bool, QObject **, QByteArray &); +extern pyqt5_qtnetwork_get_connection_parts_t pyqt5_qtnetwork_get_connection_parts; +%End + +%ModuleCode +// Imports from QtCore. +pyqt5_qtnetwork_get_connection_parts_t pyqt5_qtnetwork_get_connection_parts; +%End + +%PostInitialisationCode +// Imports from QtCore. +pyqt5_qtnetwork_get_connection_parts = (pyqt5_qtnetwork_get_connection_parts_t)sipImportSymbol("pyqt5_get_connection_parts"); +Q_ASSERT(pyqt5_qtnetwork_get_connection_parts); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhstspolicy.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhstspolicy.sip new file mode 100644 index 00000000..622855f1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhstspolicy.sip @@ -0,0 +1,61 @@ +// qhstspolicy.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_9_0 -) + +class QHstsPolicy +{ +%TypeHeaderCode +#include +%End + +public: + enum PolicyFlag + { + IncludeSubDomains, + }; + + typedef QFlags PolicyFlags; + QHstsPolicy(); + QHstsPolicy(const QDateTime &expiry, QHstsPolicy::PolicyFlags flags, const QString &host, QUrl::ParsingMode mode = QUrl::DecodedMode); + QHstsPolicy(const QHstsPolicy &rhs); + ~QHstsPolicy(); + void swap(QHstsPolicy &other); + void setHost(const QString &host, QUrl::ParsingMode mode = QUrl::DecodedMode); + QString host(QUrl::ComponentFormattingOptions options = QUrl::ComponentFormattingOption::FullyDecoded) const; + void setExpiry(const QDateTime &expiry); + QDateTime expiry() const; + void setIncludesSubDomains(bool include); + bool includesSubDomains() const; + bool isExpired() const; +}; + +%End +%If (Qt_5_9_0 -) +bool operator==(const QHstsPolicy &lhs, const QHstsPolicy &rhs); +%End +%If (Qt_5_9_0 -) +bool operator!=(const QHstsPolicy &lhs, const QHstsPolicy &rhs); +%End +%If (Qt_5_9_0 -) +QFlags operator|(QHstsPolicy::PolicyFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhttp2configuration.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhttp2configuration.sip new file mode 100644 index 00000000..ca83ccf4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhttp2configuration.sip @@ -0,0 +1,54 @@ +// qhttp2configuration.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_14_0 -) + +class QHttp2Configuration +{ +%TypeHeaderCode +#include +%End + +public: + QHttp2Configuration(); + QHttp2Configuration(const QHttp2Configuration &other); + ~QHttp2Configuration(); + void setServerPushEnabled(bool enable); + bool serverPushEnabled() const; + void setHuffmanCompressionEnabled(bool enable); + bool huffmanCompressionEnabled() const; + bool setSessionReceiveWindowSize(unsigned int size); + unsigned int sessionReceiveWindowSize() const; + bool setStreamReceiveWindowSize(unsigned int size); + unsigned int streamReceiveWindowSize() const; + bool setMaxFrameSize(unsigned int size); + unsigned int maxFrameSize() const; + void swap(QHttp2Configuration &other /Constrained/); +}; + +%End +%If (Qt_5_14_0 -) +bool operator==(const QHttp2Configuration &lhs, const QHttp2Configuration &rhs); +%End +%If (Qt_5_14_0 -) +bool operator!=(const QHttp2Configuration &lhs, const QHttp2Configuration &rhs); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhttpmultipart.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhttpmultipart.sip new file mode 100644 index 00000000..48b4d9d8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qhttpmultipart.sip @@ -0,0 +1,64 @@ +// qhttpmultipart.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHttpPart +{ +%TypeHeaderCode +#include +%End + +public: + QHttpPart(); + QHttpPart(const QHttpPart &other); + ~QHttpPart(); + bool operator==(const QHttpPart &other) const; + bool operator!=(const QHttpPart &other) const; + void setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value); + void setRawHeader(const QByteArray &headerName, const QByteArray &headerValue); + void setBody(const QByteArray &body); + void setBodyDevice(QIODevice *device); + void swap(QHttpPart &other /Constrained/); +}; + +class QHttpMultiPart : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum ContentType + { + MixedType, + RelatedType, + FormDataType, + AlternativeType, + }; + + explicit QHttpMultiPart(QObject *parent /TransferThis/ = 0); + QHttpMultiPart(QHttpMultiPart::ContentType contentType, QObject *parent /TransferThis/ = 0); + virtual ~QHttpMultiPart(); + void append(const QHttpPart &httpPart); + void setContentType(QHttpMultiPart::ContentType contentType); + QByteArray boundary() const; + void setBoundary(const QByteArray &boundary); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qlocalserver.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qlocalserver.sip new file mode 100644 index 00000000..019c371e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qlocalserver.sip @@ -0,0 +1,70 @@ +// qlocalserver.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLocalServer : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QLocalServer(QObject *parent /TransferThis/ = 0); + virtual ~QLocalServer(); + void close(); + QString errorString() const; + virtual bool hasPendingConnections() const; + bool isListening() const; + bool listen(const QString &name); + bool listen(qintptr socketDescriptor); + int maxPendingConnections() const; + virtual QLocalSocket *nextPendingConnection(); + QString serverName() const; + QString fullServerName() const; + QAbstractSocket::SocketError serverError() const; + void setMaxPendingConnections(int numConnections); + bool waitForNewConnection(int msecs = 0, bool *timedOut = 0) /ReleaseGIL/; + static bool removeServer(const QString &name); + +signals: + void newConnection(); + +protected: + virtual void incomingConnection(quintptr socketDescriptor); + +public: + enum SocketOption + { + UserAccessOption, + GroupAccessOption, + OtherAccessOption, + WorldAccessOption, + }; + + typedef QFlags SocketOptions; + void setSocketOptions(QLocalServer::SocketOptions options); + QLocalServer::SocketOptions socketOptions() const; +%If (Qt_5_10_0 -) + qintptr socketDescriptor() const; +%End +}; + +QFlags operator|(QLocalServer::SocketOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qlocalsocket.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qlocalsocket.sip new file mode 100644 index 00000000..b96c4bf2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qlocalsocket.sip @@ -0,0 +1,136 @@ +// qlocalsocket.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLocalSocket : QIODevice +{ +%TypeHeaderCode +#include +%End + +public: + enum LocalSocketError + { + ConnectionRefusedError, + PeerClosedError, + ServerNotFoundError, + SocketAccessError, + SocketResourceError, + SocketTimeoutError, + DatagramTooLargeError, + ConnectionError, + UnsupportedSocketOperationError, + OperationError, + UnknownSocketError, + }; + + enum LocalSocketState + { + UnconnectedState, + ConnectingState, + ConnectedState, + ClosingState, + }; + + QLocalSocket(QObject *parent /TransferThis/ = 0); + virtual ~QLocalSocket(); + void connectToServer(const QString &name, QIODevice::OpenMode mode = QIODevice::ReadWrite) /ReleaseGIL/; +%If (Qt_5_1_0 -) + void connectToServer(QIODevice::OpenMode mode = QIODevice::ReadWrite) /ReleaseGIL/; +%End + void disconnectFromServer() /ReleaseGIL/; +%If (Qt_5_1_0 -) + virtual bool open(QIODevice::OpenMode mode = QIODevice::ReadWrite); +%End + QString serverName() const; +%If (Qt_5_1_0 -) + void setServerName(const QString &name); +%End + QString fullServerName() const; + void abort(); + virtual bool isSequential() const; + virtual qint64 bytesAvailable() const; + virtual qint64 bytesToWrite() const; + virtual bool canReadLine() const; + virtual void close(); + QLocalSocket::LocalSocketError error() const; + bool flush(); + bool isValid() const; + qint64 readBufferSize() const; + void setReadBufferSize(qint64 size); + bool setSocketDescriptor(qintptr socketDescriptor, QLocalSocket::LocalSocketState state = QLocalSocket::ConnectedState, QIODevice::OpenMode mode = QIODevice::ReadWrite); + qintptr socketDescriptor() const; + QLocalSocket::LocalSocketState state() const; + virtual bool waitForBytesWritten(int msecs = 30000) /ReleaseGIL/; + bool waitForConnected(int msecs = 30000) /ReleaseGIL/; + bool waitForDisconnected(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForReadyRead(int msecs = 30000) /ReleaseGIL/; + +signals: + void connected(); + void disconnected(); + void error(QLocalSocket::LocalSocketError socketError); +%If (Qt_5_15_0 -) + void errorOccurred(QLocalSocket::LocalSocketError socketError); +%End + void stateChanged(QLocalSocket::LocalSocketState socketState); + +protected: + virtual SIP_PYOBJECT readData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *, qint64)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QLocalSocket::readData(s, a0) : sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual qint64 writeData(const char * /Array/, qint64 /ArraySize/) /ReleaseGIL/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkaccessmanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkaccessmanager.sip new file mode 100644 index 00000000..4fb540e8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkaccessmanager.sip @@ -0,0 +1,166 @@ +// qnetworkaccessmanager.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkAccessManager : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Operation + { + HeadOperation, + GetOperation, + PutOperation, + PostOperation, + DeleteOperation, + CustomOperation, + }; + + explicit QNetworkAccessManager(QObject *parent /TransferThis/ = 0); + virtual ~QNetworkAccessManager(); + QNetworkProxy proxy() const; + void setProxy(const QNetworkProxy &proxy); + QNetworkCookieJar *cookieJar() const; + void setCookieJar(QNetworkCookieJar *cookieJar /Transfer/); + QNetworkReply *head(const QNetworkRequest &request); + QNetworkReply *get(const QNetworkRequest &request); + QNetworkReply *post(const QNetworkRequest &request, QIODevice *data); + QNetworkReply *post(const QNetworkRequest &request, const QByteArray &data); + QNetworkReply *post(const QNetworkRequest &request, QHttpMultiPart *multiPart); + QNetworkReply *put(const QNetworkRequest &request, QIODevice *data); + QNetworkReply *put(const QNetworkRequest &request, const QByteArray &data); + QNetworkReply *put(const QNetworkRequest &request, QHttpMultiPart *multiPart); + +signals: + void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *authenticator); + void authenticationRequired(QNetworkReply *reply, QAuthenticator *authenticator); + void finished(QNetworkReply *reply); +%If (Qt_5_1_0 -) +%If (PyQt_SSL) + void encrypted(QNetworkReply *reply); +%End +%End +%If (PyQt_SSL) + void sslErrors(QNetworkReply *reply, const QList &errors); +%End + void networkAccessibleChanged(QNetworkAccessManager::NetworkAccessibility accessible); +%If (Qt_5_5_0 -) +%If (PyQt_SSL) + void preSharedKeyAuthenticationRequired(QNetworkReply *reply, QSslPreSharedKeyAuthenticator *authenticator); +%End +%End + +protected: + virtual QNetworkReply *createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest &request, QIODevice *device = 0) /AbortOnException,DisallowNone,ReleaseGIL/; + +public: + QNetworkProxyFactory *proxyFactory() const; + void setProxyFactory(QNetworkProxyFactory *factory /Transfer/); + QAbstractNetworkCache *cache() const; + void setCache(QAbstractNetworkCache *cache /Transfer/); + QNetworkReply *deleteResource(const QNetworkRequest &request); + + enum NetworkAccessibility + { + UnknownAccessibility, + NotAccessible, + Accessible, + }; + + QNetworkReply *sendCustomRequest(const QNetworkRequest &request, const QByteArray &verb, QIODevice *data = 0); +%If (Qt_5_8_0 -) + QNetworkReply *sendCustomRequest(const QNetworkRequest &request, const QByteArray &verb, const QByteArray &data); +%End +%If (Qt_5_8_0 -) + QNetworkReply *sendCustomRequest(const QNetworkRequest &request, const QByteArray &verb, QHttpMultiPart *multiPart); +%End + void setConfiguration(const QNetworkConfiguration &config); + QNetworkConfiguration configuration() const; + QNetworkConfiguration activeConfiguration() const; + void setNetworkAccessible(QNetworkAccessManager::NetworkAccessibility accessible); + QNetworkAccessManager::NetworkAccessibility networkAccessible() const; + void clearAccessCache(); +%If (Qt_5_2_0 -) + QStringList supportedSchemes() const; +%End +%If (Qt_5_2_0 -) +%If (PyQt_SSL) + void connectToHostEncrypted(const QString &hostName, quint16 port = 443, const QSslConfiguration &sslConfiguration = QSslConfiguration::defaultConfiguration()); +%End +%End +%If (Qt_5_13_0 -) +%If (PyQt_SSL) + void connectToHostEncrypted(const QString &hostName, quint16 port, const QSslConfiguration &sslConfiguration, const QString &peerName); +%End +%End +%If (Qt_5_2_0 -) + void connectToHost(const QString &hostName, quint16 port = 80); +%End + +protected slots: +%If (Qt_5_2_0 -) + QStringList supportedSchemesImplementation() const; +%End + +public: +%If (Qt_5_9_0 -) + void clearConnectionCache(); +%End +%If (Qt_5_9_0 -) + void setStrictTransportSecurityEnabled(bool enabled); +%End +%If (Qt_5_9_0 -) + bool isStrictTransportSecurityEnabled() const; +%End +%If (Qt_5_9_0 -) + void addStrictTransportSecurityHosts(const QVector &knownHosts); +%End +%If (Qt_5_9_0 -) + QVector strictTransportSecurityHosts() const; +%End +%If (Qt_5_9_0 -) + void setRedirectPolicy(QNetworkRequest::RedirectPolicy policy); +%End +%If (Qt_5_9_0 -) + QNetworkRequest::RedirectPolicy redirectPolicy() const; +%End +%If (Qt_5_10_0 -) + void enableStrictTransportSecurityStore(bool enabled, const QString &storeDir = QString()); +%End +%If (Qt_5_10_0 -) + bool isStrictTransportSecurityStoreEnabled() const; +%End +%If (Qt_5_14_0 -) + bool autoDeleteReplies() const; +%End +%If (Qt_5_14_0 -) + void setAutoDeleteReplies(bool autoDelete); +%End +%If (Qt_5_15_0 -) + int transferTimeout() const; +%End +%If (Qt_5_15_0 -) + void setTransferTimeout(int timeout = QNetworkRequest::TransferTimeoutConstant::DefaultTransferTimeoutConstant); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkconfigmanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkconfigmanager.sip new file mode 100644 index 00000000..59502779 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkconfigmanager.sip @@ -0,0 +1,60 @@ +// qnetworkconfigmanager.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkConfigurationManager : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Capability + { + CanStartAndStopInterfaces, + DirectConnectionRouting, + SystemSessionSupport, + ApplicationLevelRoaming, + ForcedRoaming, + DataStatistics, + NetworkSessionRequired, + }; + + typedef QFlags Capabilities; + explicit QNetworkConfigurationManager(QObject *parent /TransferThis/ = 0); + virtual ~QNetworkConfigurationManager(); + QNetworkConfigurationManager::Capabilities capabilities() const; + QNetworkConfiguration defaultConfiguration() const; + QList allConfigurations(QNetworkConfiguration::StateFlags flags = QNetworkConfiguration::StateFlags()) const; + QNetworkConfiguration configurationFromIdentifier(const QString &identifier) const; + void updateConfigurations(); + bool isOnline() const; + +signals: + void configurationAdded(const QNetworkConfiguration &config); + void configurationRemoved(const QNetworkConfiguration &config); + void configurationChanged(const QNetworkConfiguration &config); + void onlineStateChanged(bool isOnline); + void updateCompleted(); +}; + +QFlags operator|(QNetworkConfigurationManager::Capability f1, QFlags f2); +QFlags operator|(QNetworkConfigurationManager::Capability f1, QNetworkConfigurationManager::Capability f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkconfiguration.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkconfiguration.sip new file mode 100644 index 00000000..e3041514 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkconfiguration.sip @@ -0,0 +1,107 @@ +// qnetworkconfiguration.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkConfiguration +{ +%TypeHeaderCode +#include +%End + +public: + QNetworkConfiguration(); + QNetworkConfiguration(const QNetworkConfiguration &other); + ~QNetworkConfiguration(); + bool operator==(const QNetworkConfiguration &cp) const; + bool operator!=(const QNetworkConfiguration &cp) const; + + enum Type + { + InternetAccessPoint, + ServiceNetwork, + UserChoice, + Invalid, + }; + + enum Purpose + { + UnknownPurpose, + PublicPurpose, + PrivatePurpose, + ServiceSpecificPurpose, + }; + + enum StateFlag + { + Undefined, + Defined, + Discovered, + Active, + }; + + typedef QFlags StateFlags; + + enum BearerType + { + BearerUnknown, + BearerEthernet, + BearerWLAN, + Bearer2G, + BearerCDMA2000, + BearerWCDMA, + BearerHSPA, + BearerBluetooth, + BearerWiMAX, +%If (Qt_5_2_0 -) + BearerEVDO, +%End +%If (Qt_5_2_0 -) + BearerLTE, +%End +%If (Qt_5_2_0 -) + Bearer3G, +%End +%If (Qt_5_2_0 -) + Bearer4G, +%End + }; + + QNetworkConfiguration::StateFlags state() const; + QNetworkConfiguration::Type type() const; + QNetworkConfiguration::Purpose purpose() const; + QNetworkConfiguration::BearerType bearerType() const; + QString bearerTypeName() const; +%If (Qt_5_2_0 -) + QNetworkConfiguration::BearerType bearerTypeFamily() const; +%End + QString identifier() const; + bool isRoamingAvailable() const; + QList children() const; + QString name() const; + bool isValid() const; + void swap(QNetworkConfiguration &other /Constrained/); +%If (Qt_5_9_0 -) + int connectTimeout() const; +%End +%If (Qt_5_9_0 -) + bool setConnectTimeout(int timeout); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkcookie.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkcookie.sip new file mode 100644 index 00000000..c739b279 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkcookie.sip @@ -0,0 +1,61 @@ +// qnetworkcookie.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkCookie +{ +%TypeHeaderCode +#include +%End + +public: + enum RawForm + { + NameAndValueOnly, + Full, + }; + + QNetworkCookie(const QByteArray &name = QByteArray(), const QByteArray &value = QByteArray()); + QNetworkCookie(const QNetworkCookie &other); + ~QNetworkCookie(); + bool isSecure() const; + void setSecure(bool enable); + bool isSessionCookie() const; + QDateTime expirationDate() const; + void setExpirationDate(const QDateTime &date); + QString domain() const; + void setDomain(const QString &domain); + QString path() const; + void setPath(const QString &path); + QByteArray name() const; + void setName(const QByteArray &cookieName); + QByteArray value() const; + void setValue(const QByteArray &value); + QByteArray toRawForm(QNetworkCookie::RawForm form = QNetworkCookie::Full) const; + static QList parseCookies(const QByteArray &cookieString); + bool operator==(const QNetworkCookie &other) const; + bool operator!=(const QNetworkCookie &other) const; + bool isHttpOnly() const; + void setHttpOnly(bool enable); + void swap(QNetworkCookie &other /Constrained/); + bool hasSameIdentifier(const QNetworkCookie &other) const; + void normalize(const QUrl &url); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkcookiejar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkcookiejar.sip new file mode 100644 index 00000000..59ed0152 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkcookiejar.sip @@ -0,0 +1,42 @@ +// qnetworkcookiejar.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkCookieJar : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QNetworkCookieJar(QObject *parent /TransferThis/ = 0); + virtual ~QNetworkCookieJar(); + virtual QList cookiesForUrl(const QUrl &url) const; + virtual bool setCookiesFromUrl(const QList &cookieList, const QUrl &url); + virtual bool insertCookie(const QNetworkCookie &cookie); + virtual bool updateCookie(const QNetworkCookie &cookie); + virtual bool deleteCookie(const QNetworkCookie &cookie); + +protected: + void setAllCookies(const QList &cookieList); + QList allCookies() const; + virtual bool validateCookie(const QNetworkCookie &cookie, const QUrl &url) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkdatagram.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkdatagram.sip new file mode 100644 index 00000000..0273c9ce --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkdatagram.sip @@ -0,0 +1,55 @@ +// qnetworkdatagram.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) + +class QNetworkDatagram +{ +%TypeHeaderCode +#include +%End + +public: + QNetworkDatagram(); + QNetworkDatagram(const QByteArray &data, const QHostAddress &destinationAddress = QHostAddress(), quint16 port = 0); + QNetworkDatagram(const QNetworkDatagram &other); + ~QNetworkDatagram(); + void swap(QNetworkDatagram &other /Constrained/); + void clear(); + bool isValid() const; + bool isNull() const; + uint interfaceIndex() const; + void setInterfaceIndex(uint index); + QHostAddress senderAddress() const; + QHostAddress destinationAddress() const; + int senderPort() const; + int destinationPort() const; + void setSender(const QHostAddress &address, quint16 port = 0); + void setDestination(const QHostAddress &address, quint16 port); + int hopLimit() const; + void setHopLimit(int count); + QByteArray data() const; + void setData(const QByteArray &data); + QNetworkDatagram makeReply(const QByteArray &payload) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkdiskcache.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkdiskcache.sip new file mode 100644 index 00000000..d500d892 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkdiskcache.sip @@ -0,0 +1,50 @@ +// qnetworkdiskcache.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkDiskCache : QAbstractNetworkCache +{ +%TypeHeaderCode +#include +%End + +public: + explicit QNetworkDiskCache(QObject *parent /TransferThis/ = 0); + virtual ~QNetworkDiskCache(); + QString cacheDirectory() const; + void setCacheDirectory(const QString &cacheDir); + qint64 maximumCacheSize() const; + void setMaximumCacheSize(qint64 size); + virtual qint64 cacheSize() const; + virtual QNetworkCacheMetaData metaData(const QUrl &url); + virtual void updateMetaData(const QNetworkCacheMetaData &metaData); + virtual QIODevice *data(const QUrl &url) /Factory/; + virtual bool remove(const QUrl &url); + virtual QIODevice *prepare(const QNetworkCacheMetaData &metaData); + virtual void insert(QIODevice *device); + QNetworkCacheMetaData fileMetaData(const QString &fileName) const; + +public slots: + virtual void clear(); + +protected: + virtual qint64 expire(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkinterface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkinterface.sip new file mode 100644 index 00000000..e51723ed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkinterface.sip @@ -0,0 +1,152 @@ +// qnetworkinterface.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkAddressEntry +{ +%TypeHeaderCode +#include +%End + +public: + QNetworkAddressEntry(); + QNetworkAddressEntry(const QNetworkAddressEntry &other); + ~QNetworkAddressEntry(); + QHostAddress ip() const; + void setIp(const QHostAddress &newIp); + QHostAddress netmask() const; + void setNetmask(const QHostAddress &newNetmask); + QHostAddress broadcast() const; + void setBroadcast(const QHostAddress &newBroadcast); + bool operator==(const QNetworkAddressEntry &other) const; + bool operator!=(const QNetworkAddressEntry &other) const; + int prefixLength() const; + void setPrefixLength(int length); + void swap(QNetworkAddressEntry &other /Constrained/); +%If (Qt_5_11_0 -) + + enum DnsEligibilityStatus + { + DnsEligibilityUnknown, + DnsIneligible, + DnsEligible, + }; + +%End +%If (Qt_5_11_0 -) + QNetworkAddressEntry::DnsEligibilityStatus dnsEligibility() const; +%End +%If (Qt_5_11_0 -) + void setDnsEligibility(QNetworkAddressEntry::DnsEligibilityStatus status); +%End +%If (Qt_5_11_0 -) + bool isLifetimeKnown() const; +%End +%If (Qt_5_11_0 -) + QDeadlineTimer preferredLifetime() const; +%End +%If (Qt_5_11_0 -) + QDeadlineTimer validityLifetime() const; +%End +%If (Qt_5_11_0 -) + void setAddressLifetime(QDeadlineTimer preferred, QDeadlineTimer validity); +%End +%If (Qt_5_11_0 -) + void clearAddressLifetime(); +%End +%If (Qt_5_11_0 -) + bool isPermanent() const; +%End +%If (Qt_5_11_0 -) + bool isTemporary() const; +%End +}; + +class QNetworkInterface +{ +%TypeHeaderCode +#include +%End + +public: + enum InterfaceFlag + { + IsUp, + IsRunning, + CanBroadcast, + IsLoopBack, + IsPointToPoint, + CanMulticast, + }; + + typedef QFlags InterfaceFlags; + QNetworkInterface(); + QNetworkInterface(const QNetworkInterface &other); + ~QNetworkInterface(); + bool isValid() const; + QString name() const; + QNetworkInterface::InterfaceFlags flags() const; + QString hardwareAddress() const; + QList addressEntries() const; + static QNetworkInterface interfaceFromName(const QString &name); + static QNetworkInterface interfaceFromIndex(int index); + static QList allInterfaces(); + static QList allAddresses(); + int index() const; + QString humanReadableName() const; + void swap(QNetworkInterface &other /Constrained/); +%If (Qt_5_7_0 -) + static int interfaceIndexFromName(const QString &name); +%End +%If (Qt_5_7_0 -) + static QString interfaceNameFromIndex(int index); +%End +%If (Qt_5_11_0 -) + + enum InterfaceType + { + Unknown, + Loopback, + Virtual, + Ethernet, + Slip, + CanBus, + Ppp, + Fddi, + Wifi, + Ieee80211, + Phonet, + Ieee802154, + SixLoWPAN, + Ieee80216, + Ieee1394, + }; + +%End +%If (Qt_5_11_0 -) + QNetworkInterface::InterfaceType type() const; +%End +%If (Qt_5_11_0 -) + int maximumTransmissionUnit() const; +%End +}; + +QFlags operator|(QNetworkInterface::InterfaceFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkproxy.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkproxy.sip new file mode 100644 index 00000000..d558fc9a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkproxy.sip @@ -0,0 +1,154 @@ +// qnetworkproxy.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkProxy +{ +%TypeHeaderCode +#include +%End + +public: + enum ProxyType + { + DefaultProxy, + Socks5Proxy, + NoProxy, + HttpProxy, + HttpCachingProxy, + FtpCachingProxy, + }; + + QNetworkProxy(); + QNetworkProxy(QNetworkProxy::ProxyType type, const QString &hostName = QString(), quint16 port = 0, const QString &user = QString(), const QString &password = QString()); + QNetworkProxy(const QNetworkProxy &other); + ~QNetworkProxy(); + void setType(QNetworkProxy::ProxyType type); + QNetworkProxy::ProxyType type() const; + void setUser(const QString &userName); + QString user() const; + void setPassword(const QString &password); + QString password() const; + void setHostName(const QString &hostName); + QString hostName() const; + void setPort(quint16 port); + quint16 port() const; + static void setApplicationProxy(const QNetworkProxy &proxy); + static QNetworkProxy applicationProxy(); + bool isCachingProxy() const; + bool isTransparentProxy() const; + bool operator==(const QNetworkProxy &other) const; + bool operator!=(const QNetworkProxy &other) const; + + enum Capability + { + TunnelingCapability, + ListeningCapability, + UdpTunnelingCapability, + CachingCapability, + HostNameLookupCapability, +%If (Qt_5_8_0 -) + SctpTunnelingCapability, +%End +%If (Qt_5_8_0 -) + SctpListeningCapability, +%End + }; + + typedef QFlags Capabilities; + void setCapabilities(QNetworkProxy::Capabilities capab); + QNetworkProxy::Capabilities capabilities() const; + void swap(QNetworkProxy &other /Constrained/); + QVariant header(QNetworkRequest::KnownHeaders header) const; + void setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value); + bool hasRawHeader(const QByteArray &headerName) const; + QList rawHeaderList() const; + QByteArray rawHeader(const QByteArray &headerName) const; + void setRawHeader(const QByteArray &headerName, const QByteArray &value); +}; + +class QNetworkProxyQuery +{ +%TypeHeaderCode +#include +%End + +public: + enum QueryType + { + TcpSocket, + UdpSocket, + TcpServer, + UrlRequest, +%If (Qt_5_8_0 -) + SctpSocket, +%End +%If (Qt_5_8_0 -) + SctpServer, +%End + }; + + QNetworkProxyQuery(); + QNetworkProxyQuery(const QUrl &requestUrl, QNetworkProxyQuery::QueryType type = QNetworkProxyQuery::UrlRequest); + QNetworkProxyQuery(const QString &hostname, int port, const QString &protocolTag = QString(), QNetworkProxyQuery::QueryType type = QNetworkProxyQuery::TcpSocket); + QNetworkProxyQuery(quint16 bindPort, const QString &protocolTag = QString(), QNetworkProxyQuery::QueryType type = QNetworkProxyQuery::TcpServer); + QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration, const QUrl &requestUrl, QNetworkProxyQuery::QueryType queryType = QNetworkProxyQuery::UrlRequest); + QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration, const QString &hostname, int port, const QString &protocolTag = QString(), QNetworkProxyQuery::QueryType type = QNetworkProxyQuery::TcpSocket); + QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration, quint16 bindPort, const QString &protocolTag = QString(), QNetworkProxyQuery::QueryType type = QNetworkProxyQuery::TcpServer); + QNetworkProxyQuery(const QNetworkProxyQuery &other); + ~QNetworkProxyQuery(); + bool operator==(const QNetworkProxyQuery &other) const; + bool operator!=(const QNetworkProxyQuery &other) const; + QNetworkProxyQuery::QueryType queryType() const; + void setQueryType(QNetworkProxyQuery::QueryType type); + int peerPort() const; + void setPeerPort(int port); + QString peerHostName() const; + void setPeerHostName(const QString &hostname); + int localPort() const; + void setLocalPort(int port); + QString protocolTag() const; + void setProtocolTag(const QString &protocolTag); + QUrl url() const; + void setUrl(const QUrl &url); + QNetworkConfiguration networkConfiguration() const; + void setNetworkConfiguration(const QNetworkConfiguration &networkConfiguration); + void swap(QNetworkProxyQuery &other /Constrained/); +}; + +class QNetworkProxyFactory /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + QNetworkProxyFactory(); + virtual ~QNetworkProxyFactory(); + virtual QList queryProxy(const QNetworkProxyQuery &query = QNetworkProxyQuery()) = 0; + static void setApplicationProxyFactory(QNetworkProxyFactory *factory /Transfer/); + static QList proxyForQuery(const QNetworkProxyQuery &query); + static QList systemProxyForQuery(const QNetworkProxyQuery &query = QNetworkProxyQuery()); + static void setUseSystemConfiguration(bool enable); +%If (Qt_5_8_0 -) + static bool usesSystemConfiguration(); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkreply.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkreply.sip new file mode 100644 index 00000000..daa73a4e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkreply.sip @@ -0,0 +1,169 @@ +// qnetworkreply.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkReply : QIODevice +{ +%TypeHeaderCode +#include +%End + +public: + enum NetworkError + { + NoError, + ConnectionRefusedError, + RemoteHostClosedError, + HostNotFoundError, + TimeoutError, + OperationCanceledError, + SslHandshakeFailedError, + UnknownNetworkError, + ProxyConnectionRefusedError, + ProxyConnectionClosedError, + ProxyNotFoundError, + ProxyTimeoutError, + ProxyAuthenticationRequiredError, + UnknownProxyError, + ContentAccessDenied, + ContentOperationNotPermittedError, + ContentNotFoundError, + AuthenticationRequiredError, + UnknownContentError, + ProtocolUnknownError, + ProtocolInvalidOperationError, + ProtocolFailure, + ContentReSendError, + TemporaryNetworkFailureError, + NetworkSessionFailedError, + BackgroundRequestNotAllowedError, +%If (Qt_5_3_0 -) + ContentConflictError, +%End +%If (Qt_5_3_0 -) + ContentGoneError, +%End +%If (Qt_5_3_0 -) + InternalServerError, +%End +%If (Qt_5_3_0 -) + OperationNotImplementedError, +%End +%If (Qt_5_3_0 -) + ServiceUnavailableError, +%End +%If (Qt_5_3_0 -) + UnknownServerError, +%End +%If (Qt_5_6_0 -) + TooManyRedirectsError, +%End +%If (Qt_5_6_0 -) + InsecureRedirectError, +%End + }; + + virtual ~QNetworkReply(); + virtual void abort() = 0; + virtual void close(); + virtual bool isSequential() const; + qint64 readBufferSize() const; + virtual void setReadBufferSize(qint64 size); + QNetworkAccessManager *manager() const; + QNetworkAccessManager::Operation operation() const; + QNetworkRequest request() const; + QNetworkReply::NetworkError error() const; + QUrl url() const; + QVariant header(QNetworkRequest::KnownHeaders header) const; + bool hasRawHeader(const QByteArray &headerName) const; + QList rawHeaderList() const; + QByteArray rawHeader(const QByteArray &headerName) const; + QVariant attribute(QNetworkRequest::Attribute code) const; +%If (PyQt_SSL) + QSslConfiguration sslConfiguration() const; +%End +%If (PyQt_SSL) + void setSslConfiguration(const QSslConfiguration &configuration); +%End + +public slots: + virtual void ignoreSslErrors(); + +signals: + void metaDataChanged(); + void finished(); +%If (Qt_5_1_0 -) +%If (PyQt_SSL) + void encrypted(); +%End +%End + void error(QNetworkReply::NetworkError); +%If (Qt_5_15_0 -) + void errorOccurred(QNetworkReply::NetworkError); +%End +%If (PyQt_SSL) + void sslErrors(const QList &errors); +%End + void uploadProgress(qint64 bytesSent, qint64 bytesTotal); + void downloadProgress(qint64 bytesReceived, qint64 bytesTotal); +%If (Qt_5_5_0 -) +%If (PyQt_SSL) + void preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator); +%End +%End +%If (Qt_5_6_0 -) + void redirected(const QUrl &url); +%End +%If (Qt_5_9_0 -) + void redirectAllowed(); +%End + +protected: + explicit QNetworkReply(QObject *parent /TransferThis/ = 0); + virtual qint64 writeData(const char *data /Array/, qint64 len /ArraySize/) /ReleaseGIL/; + void setOperation(QNetworkAccessManager::Operation operation); + void setRequest(const QNetworkRequest &request); + void setError(QNetworkReply::NetworkError errorCode, const QString &errorString); + void setUrl(const QUrl &url); + void setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value); + void setRawHeader(const QByteArray &headerName, const QByteArray &value); + void setAttribute(QNetworkRequest::Attribute code, const QVariant &value); + void setFinished(bool finished); + +public: + bool isFinished() const; + bool isRunning() const; +%If (PyQt_SSL) + void ignoreSslErrors(const QList &errors); +%End + const QList> &rawHeaderPairs() const; + +protected: +%If (PyQt_SSL) + virtual void sslConfigurationImplementation(QSslConfiguration &) const; +%End +%If (PyQt_SSL) + virtual void setSslConfigurationImplementation(const QSslConfiguration &); +%End +%If (PyQt_SSL) + virtual void ignoreSslErrorsImplementation(const QList &); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkrequest.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkrequest.sip new file mode 100644 index 00000000..6651b938 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworkrequest.sip @@ -0,0 +1,202 @@ +// qnetworkrequest.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkRequest +{ +%TypeHeaderCode +#include +%End + +public: + enum KnownHeaders + { + ContentTypeHeader, + ContentLengthHeader, + LocationHeader, + LastModifiedHeader, + CookieHeader, + SetCookieHeader, + ContentDispositionHeader, + UserAgentHeader, + ServerHeader, +%If (Qt_5_12_0 -) + IfModifiedSinceHeader, +%End +%If (Qt_5_12_0 -) + ETagHeader, +%End +%If (Qt_5_12_0 -) + IfMatchHeader, +%End +%If (Qt_5_12_0 -) + IfNoneMatchHeader, +%End + }; + + enum Attribute + { + HttpStatusCodeAttribute, + HttpReasonPhraseAttribute, + RedirectionTargetAttribute, + ConnectionEncryptedAttribute, + CacheLoadControlAttribute, + CacheSaveControlAttribute, + SourceIsFromCacheAttribute, + DoNotBufferUploadDataAttribute, + HttpPipeliningAllowedAttribute, + HttpPipeliningWasUsedAttribute, + CustomVerbAttribute, + CookieLoadControlAttribute, + AuthenticationReuseAttribute, + CookieSaveControlAttribute, + BackgroundRequestAttribute, +%If (Qt_5_3_0 -) + SpdyAllowedAttribute, +%End +%If (Qt_5_3_0 -) + SpdyWasUsedAttribute, +%End +%If (Qt_5_5_0 -) + EmitAllUploadProgressSignalsAttribute, +%End +%If (Qt_5_6_0 -) + FollowRedirectsAttribute, +%End +%If (Qt_5_8_0 -) + HTTP2AllowedAttribute, +%End +%If (Qt_5_15_0 -) + Http2AllowedAttribute, +%End +%If (Qt_5_8_0 -) + HTTP2WasUsedAttribute, +%End +%If (Qt_5_15_0 -) + Http2WasUsedAttribute, +%End +%If (Qt_5_9_0 -) + OriginalContentLengthAttribute, +%End +%If (Qt_5_9_0 -) + RedirectPolicyAttribute, +%End +%If (Qt_5_11_0 -) + Http2DirectAttribute, +%End +%If (Qt_5_14_0 -) + AutoDeleteReplyOnFinishAttribute, +%End + User, + UserMax, + }; + + enum CacheLoadControl + { + AlwaysNetwork, + PreferNetwork, + PreferCache, + AlwaysCache, + }; + + enum LoadControl + { + Automatic, + Manual, + }; + + enum Priority + { + HighPriority, + NormalPriority, + LowPriority, + }; + + explicit QNetworkRequest(const QUrl &url = QUrl()); + QNetworkRequest(const QNetworkRequest &other); + ~QNetworkRequest(); + QUrl url() const; + void setUrl(const QUrl &url); + QVariant header(QNetworkRequest::KnownHeaders header) const; + void setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value); + bool hasRawHeader(const QByteArray &headerName) const; + QList rawHeaderList() const; + QByteArray rawHeader(const QByteArray &headerName) const; + void setRawHeader(const QByteArray &headerName, const QByteArray &value); + QVariant attribute(QNetworkRequest::Attribute code, const QVariant &defaultValue = QVariant()) const; + void setAttribute(QNetworkRequest::Attribute code, const QVariant &value); +%If (PyQt_SSL) + QSslConfiguration sslConfiguration() const; +%End +%If (PyQt_SSL) + void setSslConfiguration(const QSslConfiguration &configuration); +%End + bool operator==(const QNetworkRequest &other) const; + bool operator!=(const QNetworkRequest &other) const; + void setOriginatingObject(QObject *object /KeepReference/); + QObject *originatingObject() const; + QNetworkRequest::Priority priority() const; + void setPriority(QNetworkRequest::Priority priority); + void swap(QNetworkRequest &other /Constrained/); +%If (Qt_5_6_0 -) + int maximumRedirectsAllowed() const; +%End +%If (Qt_5_6_0 -) + void setMaximumRedirectsAllowed(int maximumRedirectsAllowed); +%End +%If (Qt_5_9_0 -) + + enum RedirectPolicy + { + ManualRedirectPolicy, + NoLessSafeRedirectPolicy, + SameOriginRedirectPolicy, + UserVerifiedRedirectPolicy, + }; + +%End +%If (Qt_5_13_0 -) + QString peerVerifyName() const; +%End +%If (Qt_5_13_0 -) + void setPeerVerifyName(const QString &peerName); +%End +%If (Qt_5_14_0 -) + QHttp2Configuration http2Configuration() const; +%End +%If (Qt_5_14_0 -) + void setHttp2Configuration(const QHttp2Configuration &configuration); +%End +%If (Qt_5_15_0 -) + + enum TransferTimeoutConstant + { + DefaultTransferTimeoutConstant, + }; + +%End +%If (Qt_5_15_0 -) + int transferTimeout() const; +%End +%If (Qt_5_15_0 -) + void setTransferTimeout(int timeout = QNetworkRequest::TransferTimeoutConstant::DefaultTransferTimeoutConstant); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworksession.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworksession.sip new file mode 100644 index 00000000..26ebcd21 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qnetworksession.sip @@ -0,0 +1,98 @@ +// qnetworksession.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QNetworkSession : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum State + { + Invalid, + NotAvailable, + Connecting, + Connected, + Closing, + Disconnected, + Roaming, + }; + + enum SessionError + { + UnknownSessionError, + SessionAbortedError, + RoamingError, + OperationNotSupportedError, + InvalidConfigurationError, + }; + + QNetworkSession(const QNetworkConfiguration &connConfig, QObject *parent /TransferThis/ = 0); + virtual ~QNetworkSession(); + bool isOpen() const; + QNetworkConfiguration configuration() const; + QNetworkInterface interface() const; + QNetworkSession::State state() const; + QNetworkSession::SessionError error() const; + QString errorString() const; + QVariant sessionProperty(const QString &key) const; + void setSessionProperty(const QString &key, const QVariant &value); + quint64 bytesWritten() const; + quint64 bytesReceived() const; + quint64 activeTime() const; + bool waitForOpened(int msecs = 30000) /ReleaseGIL/; + +public slots: + void open(); + void close(); + void stop(); + void migrate(); + void ignore(); + void accept(); + void reject(); + +signals: + void stateChanged(QNetworkSession::State); + void opened(); + void closed(); + void error(QNetworkSession::SessionError); + void preferredConfigurationChanged(const QNetworkConfiguration &config, bool isSeamless); + void newConfigurationActivated(); + +protected: + virtual void connectNotify(const QMetaMethod &signal); + virtual void disconnectNotify(const QMetaMethod &signal); + +public: + enum UsagePolicy + { + NoPolicy, + NoBackgroundTrafficPolicy, + }; + + typedef QFlags UsagePolicies; + QNetworkSession::UsagePolicies usagePolicies() const; + +signals: + void usagePoliciesChanged(QNetworkSession::UsagePolicies usagePolicies); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qocspresponse.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qocspresponse.sip new file mode 100644 index 00000000..8ffcd4f4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qocspresponse.sip @@ -0,0 +1,96 @@ +// qocspresponse.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_13_0 -) +%If (PyQt_SSL) +%ModuleCode +#include +%End +%End +%End + +%If (Qt_5_13_0 -) +%If (PyQt_SSL) + +enum class QOcspCertificateStatus +{ + Good, + Revoked, + Unknown, +}; + +%End +%End +%If (Qt_5_13_0 -) +%If (PyQt_SSL) + +enum class QOcspRevocationReason +{ + None /PyName=None_/, + Unspecified, + KeyCompromise, + CACompromise, + AffiliationChanged, + Superseded, + CessationOfOperation, + CertificateHold, + RemoveFromCRL, +}; + +%End +%End +%If (Qt_5_13_0 -) +%If (PyQt_SSL) + +class QOcspResponse +{ +%TypeHeaderCode +#include +%End + +public: + QOcspResponse(); + QOcspResponse(const QOcspResponse &other); + ~QOcspResponse(); + QOcspCertificateStatus certificateStatus() const; + QOcspRevocationReason revocationReason() const; + QSslCertificate responder() const; + QSslCertificate subject() const; + void swap(QOcspResponse &other); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +%End +%End +%If (Qt_5_13_0 -) +%If (PyQt_SSL) +bool operator==(const QOcspResponse &lhs, const QOcspResponse &rhs); +%End +%End +%If (Qt_5_13_0 -) +%If (PyQt_SSL) +bool operator!=(const QOcspResponse &lhs, const QOcspResponse &rhs); +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpassworddigestor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpassworddigestor.sip new file mode 100644 index 00000000..fb9f04e6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpassworddigestor.sip @@ -0,0 +1,37 @@ +// qpassworddigestor.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) +%If (PyQt_SSL) + +namespace QPasswordDigestor +{ +%TypeHeaderCode +#include +%End + + QByteArray deriveKeyPbkdf1(QCryptographicHash::Algorithm algorithm, const QByteArray &password, const QByteArray &salt, int iterations, quint64 dkLen); + QByteArray deriveKeyPbkdf2(QCryptographicHash::Algorithm algorithm, const QByteArray &password, const QByteArray &salt, int iterations, quint64 dkLen); +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpynetwork_qhash.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpynetwork_qhash.sip new file mode 100644 index 00000000..43b04e32 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpynetwork_qhash.sip @@ -0,0 +1,132 @@ +// This is the SIP interface definition for the QHash based mapped types +// specific to the QtNetwork module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QHash + /TypeHint="Dict[QNetworkRequest.Attribute, QVariant]", + TypeHintValue="{}"/ +{ +%TypeHeaderCode +#include +#include +#include +%End + +%ConvertFromTypeCode + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QHash::const_iterator it = sipCpp->constBegin(); + QHash::const_iterator end = sipCpp->constEnd(); + + while (it != end) + { + PyObject *kobj = sipConvertFromEnum(it.key(), + sipType_QNetworkRequest_Attribute); + + if (!kobj) + { + Py_DECREF(d); + + return 0; + } + + QVariant *v = new QVariant(it.value()); + PyObject *vobj = sipConvertFromNewType(v, sipType_QVariant, + sipTransferObj); + + if (!vobj) + { + delete v; + Py_DECREF(kobj); + Py_DECREF(d); + + return 0; + } + + int rc = PyDict_SetItem(d, kobj, vobj); + + Py_DECREF(vobj); + Py_DECREF(kobj); + + if (rc < 0) + { + Py_DECREF(d); + + return 0; + } + + ++it; + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + QHash *qh = new QHash; + + Py_ssize_t pos = 0; + PyObject *kobj, *vobj; + + while (PyDict_Next(sipPy, &pos, &kobj, &vobj)) + { + int k = sipConvertToEnum(kobj, sipType_QNetworkRequest_Attribute); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "a key has type '%s' but 'QNetworkRequest.Attribute' is expected", + sipPyTypeName(Py_TYPE(kobj))); + + delete qh; + *sipIsErr = 1; + + return 0; + } + + int vstate; + QVariant *v = reinterpret_cast( + sipForceConvertToType(vobj, sipType_QVariant, sipTransferObj, + SIP_NOT_NONE, &vstate, sipIsErr)); + + if (*sipIsErr) + { + // Any error must be internal, so leave the exception as it is. + + delete qh; + + return 0; + } + + qh->insert(static_cast(k), *v); + + sipReleaseType(v, sipType_QVariant, vstate); + } + + *sipCppPtr = qh; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpynetwork_qmap.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpynetwork_qmap.sip new file mode 100644 index 00000000..eb208f9b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qpynetwork_qmap.sip @@ -0,0 +1,160 @@ +// This is the SIP interface definition for the QMap and QMultiMap based mapped +// types specific to the QtNetwork module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +%MappedType QMultiMap + /TypeHintOut="Dict[QSsl.AlternativeNameEntryType, List[QString]]", + TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + // Get the enum objects that are the dictionary keys. + static PyObject *email_entry = 0; + static PyObject *dns_entry = 0; + + if (!email_entry) + { + email_entry = PyObject_GetAttrString( + (PyObject *)sipTypeAsPyTypeObject(sipType_QSsl), "EmailEntry"); + + if (!email_entry) + return 0; + } + + if (!dns_entry) + { + dns_entry = PyObject_GetAttrString( + (PyObject *)sipTypeAsPyTypeObject(sipType_QSsl), "DnsEntry"); + + if (!dns_entry) + return 0; + } + + // Create the dictionary. + PyObject *d = PyDict_New(); + + if (!d) + return 0; + + QList vl; + + // Handle the Qssl::EmailEntry key. + vl = sipCpp->values(QSsl::EmailEntry); + + if (!vl.isEmpty()) + { + PyObject *vlobj = PyList_New(vl.count()); + + if (!vlobj) + { + Py_DECREF(d); + return 0; + } + + int rc = PyDict_SetItem(d, email_entry, vlobj); + + Py_DECREF(email_entry); + Py_DECREF(vlobj); + + if (rc < 0) + { + Py_DECREF(d); + return 0; + } + + for (int i = 0; i < vl.count(); ++i) + { + QString *s = new QString(vl.at(i)); + PyObject *vobj = sipConvertFromNewType(s, sipType_QString, + sipTransferObj); + + if (!vobj) + { + delete s; + Py_DECREF(d); + return 0; + } + + PyList_SetItem(vlobj, i, vobj); + } + } + + // Handle the Qssl::DnsEntry key. + vl = sipCpp->values(QSsl::DnsEntry); + + if (!vl.isEmpty()) + { + PyObject *vlobj = PyList_New(vl.count()); + + if (!vlobj) + { + Py_DECREF(d); + return 0; + } + + int rc = PyDict_SetItem(d, dns_entry, vlobj); + + Py_DECREF(dns_entry); + Py_DECREF(vlobj); + + if (rc < 0) + { + Py_DECREF(d); + return 0; + } + + for (int i = 0; i < vl.count(); ++i) + { + QString *s = new QString(vl.at(i)); + PyObject *vobj = sipConvertFromNewType(s, sipType_QString, + sipTransferObj); + + if (!vobj) + { + delete s; + Py_DECREF(d); + return 0; + } + + PyList_SetItem(vlobj, i, vobj); + } + } + + return d; +%End + +%ConvertToTypeCode + if (!sipIsErr) + return PyDict_Check(sipPy); + + PyErr_SetString(PyExc_NotImplementedError, + "converting to QMultiMap is unsupported"); + + return 0; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qssl.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qssl.sip new file mode 100644 index 00000000..0b355ddd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qssl.sip @@ -0,0 +1,129 @@ +// qssl.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +namespace QSsl +{ +%TypeHeaderCode +#include +%End + + enum KeyType + { + PrivateKey, + PublicKey, + }; + + enum EncodingFormat + { + Pem, + Der, + }; + + enum KeyAlgorithm + { + Opaque, + Rsa, + Dsa, +%If (Qt_5_5_0 -) + Ec, +%End +%If (Qt_5_13_0 -) + Dh, +%End + }; + + enum AlternativeNameEntryType + { + EmailEntry, + DnsEntry, +%If (Qt_5_13_0 -) + IpAddressEntry, +%End + }; + + enum SslProtocol + { + UnknownProtocol, + SslV3, + SslV2, + TlsV1_0, +%If (Qt_5_5_0 -) + TlsV1_0OrLater, +%End + TlsV1_1, +%If (Qt_5_5_0 -) + TlsV1_1OrLater, +%End + TlsV1_2, +%If (Qt_5_5_0 -) + TlsV1_2OrLater, +%End + AnyProtocol, + TlsV1SslV3, + SecureProtocols, +%If (Qt_5_12_0 -) + DtlsV1_0, +%End +%If (Qt_5_12_0 -) + DtlsV1_0OrLater, +%End +%If (Qt_5_12_0 -) + DtlsV1_2, +%End +%If (Qt_5_12_0 -) + DtlsV1_2OrLater, +%End +%If (Qt_5_12_0 -) + TlsV1_3, +%End +%If (Qt_5_12_0 -) + TlsV1_3OrLater, +%End + }; + + enum SslOption + { + SslOptionDisableEmptyFragments, + SslOptionDisableSessionTickets, + SslOptionDisableCompression, + SslOptionDisableServerNameIndication, + SslOptionDisableLegacyRenegotiation, +%If (Qt_5_2_0 -) + SslOptionDisableSessionSharing, +%End +%If (Qt_5_2_0 -) + SslOptionDisableSessionPersistence, +%End +%If (Qt_5_6_0 -) + SslOptionDisableServerCipherPreference, +%End + }; + + typedef QFlags SslOptions; +}; + +%End +%If (PyQt_SSL) +QFlags operator|(QSsl::SslOption f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcertificate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcertificate.sip new file mode 100644 index 00000000..0b0f29a8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcertificate.sip @@ -0,0 +1,108 @@ +// qsslcertificate.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +class QSslCertificate +{ +%TypeHeaderCode +#include +%End + +public: + enum SubjectInfo + { + Organization, + CommonName, + LocalityName, + OrganizationalUnitName, + CountryName, + StateOrProvinceName, + DistinguishedNameQualifier, + SerialNumber, + EmailAddress, + }; + + QSslCertificate(QIODevice *device, QSsl::EncodingFormat format = QSsl::Pem) /ReleaseGIL/; + QSslCertificate(const QByteArray &data = QByteArray(), QSsl::EncodingFormat format = QSsl::Pem); + QSslCertificate(const QSslCertificate &other); + ~QSslCertificate(); + bool operator==(const QSslCertificate &other) const; + bool operator!=(const QSslCertificate &other) const; + bool isNull() const; + void clear(); + QByteArray version() const; + QByteArray serialNumber() const; + QByteArray digest(QCryptographicHash::Algorithm algorithm = QCryptographicHash::Md5) const; + QStringList issuerInfo(QSslCertificate::SubjectInfo info) const; + QStringList issuerInfo(const QByteArray &attribute) const; + QStringList subjectInfo(QSslCertificate::SubjectInfo info) const; + QStringList subjectInfo(const QByteArray &attribute) const; + QMultiMap subjectAlternativeNames() const; + QDateTime effectiveDate() const; + QDateTime expiryDate() const; + QSslKey publicKey() const; + QByteArray toPem() const; + QByteArray toDer() const; + static QList fromPath(const QString &path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); + static QList fromDevice(QIODevice *device, QSsl::EncodingFormat format = QSsl::Pem); + static QList fromData(const QByteArray &data, QSsl::EncodingFormat format = QSsl::Pem); + Qt::HANDLE handle() const; + void swap(QSslCertificate &other /Constrained/); + bool isBlacklisted() const; + QList subjectInfoAttributes() const; + QList issuerInfoAttributes() const; + QList extensions() const; + QString toText() const; + static QList verify(QList certificateChain, const QString &hostName = QString()); +%If (Qt_5_4_0 -) + bool isSelfSigned() const; +%End +%If (Qt_5_4_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +%If (Qt_5_4_0 -) + static bool importPkcs12(QIODevice *device, QSslKey *key, QSslCertificate *certificate, QList *caCertificates = 0, const QByteArray &passPhrase = QByteArray()) /ReleaseGIL/; +%End +%If (Qt_5_12_0 -) + QString issuerDisplayName() const; +%End +%If (Qt_5_12_0 -) + QString subjectDisplayName() const; +%End +%If (Qt_5_15_0 -) + + enum class PatternSyntax + { + RegularExpression, + Wildcard, + FixedString, + }; + +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcertificateextension.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcertificateextension.sip new file mode 100644 index 00000000..8cb3d245 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcertificateextension.sip @@ -0,0 +1,43 @@ +// qsslcertificateextension.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +class QSslCertificateExtension +{ +%TypeHeaderCode +#include +%End + +public: + QSslCertificateExtension(); + QSslCertificateExtension(const QSslCertificateExtension &other); + ~QSslCertificateExtension(); + void swap(QSslCertificateExtension &other /Constrained/); + QString oid() const; + QString name() const; + QVariant value() const; + bool isCritical() const; + bool isSupported() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcipher.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcipher.sip new file mode 100644 index 00000000..b89ba4c6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslcipher.sip @@ -0,0 +1,53 @@ +// qsslcipher.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +class QSslCipher +{ +%TypeHeaderCode +#include +%End + +public: + QSslCipher(); +%If (Qt_5_3_0 -) + explicit QSslCipher(const QString &name); +%End + QSslCipher(const QString &name, QSsl::SslProtocol protocol); + QSslCipher(const QSslCipher &other); + ~QSslCipher(); + bool operator==(const QSslCipher &other) const; + bool operator!=(const QSslCipher &other) const; + bool isNull() const; + QString name() const; + int supportedBits() const; + int usedBits() const; + QString keyExchangeMethod() const; + QString authenticationMethod() const; + QString encryptionMethod() const; + QString protocolString() const; + QSsl::SslProtocol protocol() const; + void swap(QSslCipher &other /Constrained/); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslconfiguration.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslconfiguration.sip new file mode 100644 index 00000000..8319aa10 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslconfiguration.sip @@ -0,0 +1,162 @@ +// qsslconfiguration.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +class QSslConfiguration +{ +%TypeHeaderCode +#include +%End + +public: + QSslConfiguration(); + QSslConfiguration(const QSslConfiguration &other); + ~QSslConfiguration(); + bool isNull() const; + QSsl::SslProtocol protocol() const; + void setProtocol(QSsl::SslProtocol protocol); + QSslSocket::PeerVerifyMode peerVerifyMode() const; + void setPeerVerifyMode(QSslSocket::PeerVerifyMode mode); + int peerVerifyDepth() const; + void setPeerVerifyDepth(int depth); + QSslCertificate localCertificate() const; + void setLocalCertificate(const QSslCertificate &certificate); + QSslCertificate peerCertificate() const; + QList peerCertificateChain() const; + QSslCipher sessionCipher() const; + QSslKey privateKey() const; + void setPrivateKey(const QSslKey &key); + QList ciphers() const; + void setCiphers(const QList &ciphers); + QList caCertificates() const; + void setCaCertificates(const QList &certificates); + static QSslConfiguration defaultConfiguration(); + static void setDefaultConfiguration(const QSslConfiguration &configuration); + bool operator==(const QSslConfiguration &other) const; + bool operator!=(const QSslConfiguration &other) const; + void setSslOption(QSsl::SslOption option, bool on); + bool testSslOption(QSsl::SslOption option) const; + void swap(QSslConfiguration &other /Constrained/); +%If (Qt_5_1_0 -) + QList localCertificateChain() const; +%End +%If (Qt_5_1_0 -) + void setLocalCertificateChain(const QList &localChain); +%End +%If (Qt_5_2_0 -) + QByteArray sessionTicket() const; +%End +%If (Qt_5_2_0 -) + void setSessionTicket(const QByteArray &sessionTicket); +%End +%If (Qt_5_2_0 -) + int sessionTicketLifeTimeHint() const; +%End +%If (Qt_5_3_0 -) + + enum NextProtocolNegotiationStatus + { + NextProtocolNegotiationNone, + NextProtocolNegotiationNegotiated, + NextProtocolNegotiationUnsupported, + }; + +%End +%If (Qt_5_3_0 -) + void setAllowedNextProtocols(QList protocols); +%End +%If (Qt_5_3_0 -) + QList allowedNextProtocols() const; +%End +%If (Qt_5_3_0 -) + QByteArray nextNegotiatedProtocol() const; +%End +%If (Qt_5_3_0 -) + QSslConfiguration::NextProtocolNegotiationStatus nextProtocolNegotiationStatus() const; +%End +%If (Qt_5_3_0 -) + static const char *NextProtocolSpdy3_0 /Encoding="None",NoSetter/; +%End +%If (Qt_5_3_0 -) + static const char *NextProtocolHttp1_1 /Encoding="None",NoSetter/; +%End +%If (Qt_5_4_0 -) + QSsl::SslProtocol sessionProtocol() const; +%End +%If (Qt_5_5_0 -) + static QList supportedCiphers(); +%End +%If (Qt_5_5_0 -) + static QList systemCaCertificates(); +%End +%If (Qt_5_5_0 -) + QVector ellipticCurves() const; +%End +%If (Qt_5_5_0 -) + void setEllipticCurves(const QVector &curves); +%End +%If (Qt_5_5_0 -) + static QVector supportedEllipticCurves(); +%End +%If (Qt_5_7_0 -) + QSslKey ephemeralServerKey() const; +%End +%If (Qt_5_8_0 -) + QByteArray preSharedKeyIdentityHint() const; +%End +%If (Qt_5_8_0 -) + void setPreSharedKeyIdentityHint(const QByteArray &hint); +%End +%If (Qt_5_8_0 -) + QSslDiffieHellmanParameters diffieHellmanParameters() const; +%End +%If (Qt_5_8_0 -) + void setDiffieHellmanParameters(const QSslDiffieHellmanParameters &dhparams); +%End +%If (Qt_5_11_0 -) + QMap backendConfiguration() const; +%End +%If (Qt_5_11_0 -) + void setBackendConfigurationOption(const QByteArray &name, const QVariant &value); +%End +%If (Qt_5_11_0 -) + void setBackendConfiguration(const QMap &backendConfiguration = QMap()); +%End +%If (Qt_5_13_0 -) + void setOcspStaplingEnabled(bool enable); +%End +%If (Qt_5_13_0 -) + bool ocspStaplingEnabled() const; +%End +%If (Qt_5_15_0 -) + void addCaCertificate(const QSslCertificate &certificate); +%End +%If (Qt_5_15_0 -) + bool addCaCertificates(const QString &path, QSsl::EncodingFormat format = QSsl::Pem, QSslCertificate::PatternSyntax syntax = QSslCertificate::PatternSyntax::FixedString); +%End +%If (Qt_5_15_0 -) + void addCaCertificates(const QList &certificates); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qssldiffiehellmanparameters.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qssldiffiehellmanparameters.sip new file mode 100644 index 00000000..460952f9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qssldiffiehellmanparameters.sip @@ -0,0 +1,68 @@ +// qssldiffiehellmanparameters.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) +%If (PyQt_SSL) + +class QSslDiffieHellmanParameters +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + NoError, + InvalidInputDataError, + UnsafeParametersError, + }; + + QSslDiffieHellmanParameters(); + QSslDiffieHellmanParameters(const QSslDiffieHellmanParameters &other); + ~QSslDiffieHellmanParameters(); + void swap(QSslDiffieHellmanParameters &other /Constrained/); + static QSslDiffieHellmanParameters defaultParameters(); + static QSslDiffieHellmanParameters fromEncoded(const QByteArray &encoded, QSsl::EncodingFormat encoding = QSsl::EncodingFormat::Pem); + static QSslDiffieHellmanParameters fromEncoded(QIODevice *device, QSsl::EncodingFormat encoding = QSsl::EncodingFormat::Pem) /ReleaseGIL/; + bool isEmpty() const; + bool isValid() const; + QSslDiffieHellmanParameters::Error error() const; + QString errorString() const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +%End +%End +%If (Qt_5_8_0 -) +%If (PyQt_SSL) +bool operator==(const QSslDiffieHellmanParameters &lhs, const QSslDiffieHellmanParameters &rhs); +%End +%End +%If (Qt_5_8_0 -) +%If (PyQt_SSL) +bool operator!=(const QSslDiffieHellmanParameters &lhs, const QSslDiffieHellmanParameters &rhs); +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslellipticcurve.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslellipticcurve.sip new file mode 100644 index 00000000..24abc7b5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslellipticcurve.sip @@ -0,0 +1,57 @@ +// qsslellipticcurve.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) +%If (PyQt_SSL) + +class QSslEllipticCurve +{ +%TypeHeaderCode +#include +%End + +public: + QSslEllipticCurve(); + static QSslEllipticCurve fromShortName(const QString &name); + static QSslEllipticCurve fromLongName(const QString &name); + QString shortName() const; + QString longName() const; + bool isValid() const; + bool isTlsNamedCurve() const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +%End +%End +%If (Qt_5_5_0 -) +%If (PyQt_SSL) +bool operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs); +%End +%End +%If (Qt_5_5_0 -) +%If (PyQt_SSL) +bool operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs); +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslerror.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslerror.sip new file mode 100644 index 00000000..c4b4c2d9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslerror.sip @@ -0,0 +1,118 @@ +// qsslerror.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +class QSslError +{ +%TypeHeaderCode +#include +%End + +public: + enum SslError + { + UnspecifiedError, + NoError, + UnableToGetIssuerCertificate, + UnableToDecryptCertificateSignature, + UnableToDecodeIssuerPublicKey, + CertificateSignatureFailed, + CertificateNotYetValid, + CertificateExpired, + InvalidNotBeforeField, + InvalidNotAfterField, + SelfSignedCertificate, + SelfSignedCertificateInChain, + UnableToGetLocalIssuerCertificate, + UnableToVerifyFirstCertificate, + CertificateRevoked, + InvalidCaCertificate, + PathLengthExceeded, + InvalidPurpose, + CertificateUntrusted, + CertificateRejected, + SubjectIssuerMismatch, + AuthorityIssuerSerialNumberMismatch, + NoPeerCertificate, + HostNameMismatch, + NoSslSupport, + CertificateBlacklisted, +%If (Qt_5_13_0 -) + CertificateStatusUnknown, +%End +%If (Qt_5_13_0 -) + OcspNoResponseFound, +%End +%If (Qt_5_13_0 -) + OcspMalformedRequest, +%End +%If (Qt_5_13_0 -) + OcspMalformedResponse, +%End +%If (Qt_5_13_0 -) + OcspInternalError, +%End +%If (Qt_5_13_0 -) + OcspTryLater, +%End +%If (Qt_5_13_0 -) + OcspSigRequred, +%End +%If (Qt_5_13_0 -) + OcspUnauthorized, +%End +%If (Qt_5_13_0 -) + OcspResponseCannotBeTrusted, +%End +%If (Qt_5_13_0 -) + OcspResponseCertIdUnknown, +%End +%If (Qt_5_13_0 -) + OcspResponseExpired, +%End +%If (Qt_5_13_0 -) + OcspStatusUnknown, +%End + }; + + QSslError(); + QSslError(QSslError::SslError error); + QSslError(QSslError::SslError error, const QSslCertificate &certificate); + QSslError(const QSslError &other); + ~QSslError(); + QSslError::SslError error() const; + QString errorString() const; + QSslCertificate certificate() const; + bool operator==(const QSslError &other) const; + bool operator!=(const QSslError &other) const; + void swap(QSslError &other /Constrained/); +%If (Qt_5_4_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslkey.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslkey.sip new file mode 100644 index 00000000..354ae1e8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslkey.sip @@ -0,0 +1,51 @@ +// qsslkey.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +class QSslKey +{ +%TypeHeaderCode +#include +%End + +public: + QSslKey(); + QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat encoding = QSsl::Pem, QSsl::KeyType type = QSsl::PrivateKey, const QByteArray &passPhrase = QByteArray()); + QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat encoding = QSsl::Pem, QSsl::KeyType type = QSsl::PrivateKey, const QByteArray &passPhrase = QByteArray()); + QSslKey(Qt::HANDLE handle, QSsl::KeyType type = QSsl::PrivateKey); + QSslKey(const QSslKey &other); + ~QSslKey(); + bool isNull() const; + void clear(); + int length() const; + QSsl::KeyType type() const; + QSsl::KeyAlgorithm algorithm() const; + QByteArray toPem(const QByteArray &passPhrase = QByteArray()) const; + QByteArray toDer(const QByteArray &passPhrase = QByteArray()) const; + Qt::HANDLE handle() const; + bool operator==(const QSslKey &key) const; + bool operator!=(const QSslKey &key) const; + void swap(QSslKey &other /Constrained/); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslpresharedkeyauthenticator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslpresharedkeyauthenticator.sip new file mode 100644 index 00000000..ba6c8d27 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslpresharedkeyauthenticator.sip @@ -0,0 +1,57 @@ +// qsslpresharedkeyauthenticator.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) +%If (PyQt_SSL) + +class QSslPreSharedKeyAuthenticator +{ +%TypeHeaderCode +#include +%End + +public: + QSslPreSharedKeyAuthenticator(); + QSslPreSharedKeyAuthenticator(const QSslPreSharedKeyAuthenticator &authenticator); + ~QSslPreSharedKeyAuthenticator(); + void swap(QSslPreSharedKeyAuthenticator &authenticator /Constrained/); + QByteArray identityHint() const; + void setIdentity(const QByteArray &identity); + QByteArray identity() const; + int maximumIdentityLength() const; + void setPreSharedKey(const QByteArray &preSharedKey); + QByteArray preSharedKey() const; + int maximumPreSharedKeyLength() const; +}; + +%End +%End +%If (Qt_5_5_0 -) +%If (PyQt_SSL) +bool operator==(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs); +%End +%End +%If (Qt_5_5_0 -) +%If (PyQt_SSL) +bool operator!=(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs); +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslsocket.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslsocket.sip new file mode 100644 index 00000000..149efbf7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qsslsocket.sip @@ -0,0 +1,205 @@ +// qsslsocket.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_SSL) + +class QSslSocket : QTcpSocket +{ +%TypeHeaderCode +#include +%End + +public: + enum SslMode + { + UnencryptedMode, + SslClientMode, + SslServerMode, + }; + + explicit QSslSocket(QObject *parent /TransferThis/ = 0); + virtual ~QSslSocket(); + void connectToHostEncrypted(const QString &hostName, quint16 port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) /ReleaseGIL/; + void connectToHostEncrypted(const QString &hostName, quint16 port, const QString &sslPeerName, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) /ReleaseGIL/; + virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode mode = QIODevice::ReadWrite); + QSslSocket::SslMode mode() const; + bool isEncrypted() const; + QSsl::SslProtocol protocol() const; + void setProtocol(QSsl::SslProtocol protocol); + virtual qint64 bytesAvailable() const; + virtual qint64 bytesToWrite() const; + virtual bool canReadLine() const; + virtual void close(); + virtual bool atEnd() const; + bool flush(); + void abort(); + void setLocalCertificate(const QSslCertificate &certificate); + void setLocalCertificate(const QString &path, QSsl::EncodingFormat format = QSsl::Pem); + QSslCertificate localCertificate() const; + QSslCertificate peerCertificate() const; + QList peerCertificateChain() const; + QSslCipher sessionCipher() const; + void setPrivateKey(const QSslKey &key); + void setPrivateKey(const QString &fileName, QSsl::KeyAlgorithm algorithm = QSsl::Rsa, QSsl::EncodingFormat format = QSsl::Pem, const QByteArray &passPhrase = QByteArray()); + QSslKey privateKey() const; + QList ciphers() const; + void setCiphers(const QList &ciphers); + void setCiphers(const QString &ciphers); + static void setDefaultCiphers(const QList &ciphers); + static QList defaultCiphers(); + static QList supportedCiphers(); + bool addCaCertificates(const QString &path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); + void addCaCertificate(const QSslCertificate &certificate); + void addCaCertificates(const QList &certificates); + void setCaCertificates(const QList &certificates); + QList caCertificates() const; + static bool addDefaultCaCertificates(const QString &path, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString); + static void addDefaultCaCertificate(const QSslCertificate &certificate); + static void addDefaultCaCertificates(const QList &certificates); + static void setDefaultCaCertificates(const QList &certificates); + static QList defaultCaCertificates(); + static QList systemCaCertificates(); + virtual bool waitForConnected(int msecs = 30000) /ReleaseGIL/; + bool waitForEncrypted(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForReadyRead(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForBytesWritten(int msecs = 30000) /ReleaseGIL/; + virtual bool waitForDisconnected(int msecs = 30000) /ReleaseGIL/; + QList sslErrors() const; + static bool supportsSsl(); + +public slots: + void startClientEncryption(); + void startServerEncryption(); + void ignoreSslErrors(); + +signals: + void encrypted(); + void sslErrors(const QList &errors); + void modeChanged(QSslSocket::SslMode newMode); +%If (Qt_5_5_0 -) + void preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator); +%End + +protected: + virtual SIP_PYOBJECT readData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxlen)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QSslSocket::readData(s, a0) : sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual qint64 writeData(const char *data /Array/, qint64 len /ArraySize/) /ReleaseGIL/; + +public: + enum PeerVerifyMode + { + VerifyNone, + QueryPeer, + VerifyPeer, + AutoVerifyPeer, + }; + + QSslSocket::PeerVerifyMode peerVerifyMode() const; + void setPeerVerifyMode(QSslSocket::PeerVerifyMode mode); + int peerVerifyDepth() const; + void setPeerVerifyDepth(int depth); + virtual void setReadBufferSize(qint64 size); + qint64 encryptedBytesAvailable() const; + qint64 encryptedBytesToWrite() const; + QSslConfiguration sslConfiguration() const; + void setSslConfiguration(const QSslConfiguration &config); + +signals: + void peerVerifyError(const QSslError &error); + void encryptedBytesWritten(qint64 totalBytes); + +public: + virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value); + virtual QVariant socketOption(QAbstractSocket::SocketOption option); + void ignoreSslErrors(const QList &errors); + QString peerVerifyName() const; + void setPeerVerifyName(const QString &hostName); + virtual void resume() /ReleaseGIL/; + virtual void connectToHost(const QString &hostName, quint16 port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) /ReleaseGIL/; + virtual void disconnectFromHost() /ReleaseGIL/; + static long sslLibraryVersionNumber(); + static QString sslLibraryVersionString(); +%If (Qt_5_1_0 -) + void setLocalCertificateChain(const QList &localChain); +%End +%If (Qt_5_1_0 -) + QList localCertificateChain() const; +%End +%If (Qt_5_4_0 -) + QSsl::SslProtocol sessionProtocol() const; +%End +%If (Qt_5_4_0 -) + static long sslLibraryBuildVersionNumber(); +%End +%If (Qt_5_4_0 -) + static QString sslLibraryBuildVersionString(); +%End +%If (Qt_5_13_0 -) + QVector ocspResponses() const; +%End +%If (Qt_5_15_0 -) + QList sslHandshakeErrors() const; +%End + +signals: +%If (Qt_5_15_0 -) + void newSessionTicketReceived(); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qtcpserver.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qtcpserver.sip new file mode 100644 index 00000000..3f9b55f3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qtcpserver.sip @@ -0,0 +1,58 @@ +// qtcpserver.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTcpServer : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTcpServer(QObject *parent /TransferThis/ = 0); + virtual ~QTcpServer(); + bool listen(const QHostAddress &address = QHostAddress::Any, quint16 port = 0); + void close(); + bool isListening() const; + void setMaxPendingConnections(int numConnections); + int maxPendingConnections() const; + quint16 serverPort() const; + QHostAddress serverAddress() const; + qintptr socketDescriptor() const; + bool setSocketDescriptor(qintptr socketDescriptor); + bool waitForNewConnection(int msecs = 0, bool *timedOut = 0) /ReleaseGIL/; + virtual bool hasPendingConnections() const; + virtual QTcpSocket *nextPendingConnection(); + QAbstractSocket::SocketError serverError() const; + QString errorString() const; + void setProxy(const QNetworkProxy &networkProxy); + QNetworkProxy proxy() const; + void pauseAccepting(); + void resumeAccepting(); + +protected: + virtual void incomingConnection(qintptr handle); + void addPendingConnection(QTcpSocket *socket); + +signals: + void newConnection(); + void acceptError(QAbstractSocket::SocketError socketError); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qtcpsocket.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qtcpsocket.sip new file mode 100644 index 00000000..229f3c41 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qtcpsocket.sip @@ -0,0 +1,32 @@ +// qtcpsocket.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTcpSocket : QAbstractSocket +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTcpSocket(QObject *parent /TransferThis/ = 0); + virtual ~QTcpSocket(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qudpsocket.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qudpsocket.sip new file mode 100644 index 00000000..b7a986a3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNetwork/qudpsocket.sip @@ -0,0 +1,82 @@ +// qudpsocket.sip generated by MetaSIP +// +// This file is part of the QtNetwork Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QUdpSocket : QAbstractSocket +{ +%TypeHeaderCode +#include +%End + +public: + explicit QUdpSocket(QObject *parent /TransferThis/ = 0); + virtual ~QUdpSocket(); + bool hasPendingDatagrams() const; + qint64 pendingDatagramSize() const; + SIP_PYOBJECT readDatagram(qint64 maxlen, QHostAddress *host /Out/ = 0, quint16 *port = 0) /TypeHint="Py_v3:bytes;str",ReleaseGIL/; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + len = sipCpp->readDatagram(s, a0, a1, &a2); + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + qint64 writeDatagram(const char *data /Array/, qint64 len /ArraySize/, const QHostAddress &host, quint16 port) /ReleaseGIL/; + qint64 writeDatagram(const QByteArray &datagram, const QHostAddress &host, quint16 port) /ReleaseGIL/; + bool joinMulticastGroup(const QHostAddress &groupAddress); + bool joinMulticastGroup(const QHostAddress &groupAddress, const QNetworkInterface &iface); + bool leaveMulticastGroup(const QHostAddress &groupAddress); + bool leaveMulticastGroup(const QHostAddress &groupAddress, const QNetworkInterface &iface); + QNetworkInterface multicastInterface() const; + void setMulticastInterface(const QNetworkInterface &iface); +%If (Qt_5_8_0 -) + QNetworkDatagram receiveDatagram(qint64 maxSize = -1) /ReleaseGIL/; +%End +%If (Qt_5_8_0 -) + qint64 writeDatagram(const QNetworkDatagram &datagram) /ReleaseGIL/; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/QtNfc.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/QtNfc.toml new file mode 100644 index 00000000..4419500f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/QtNfc.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtNfc. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/QtNfcmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/QtNfcmod.sip new file mode 100644 index 00000000..eca226a2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/QtNfcmod.sip @@ -0,0 +1,58 @@ +// QtNfcmod.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtNfc, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qndeffilter.sip +%Include qndefmessage.sip +%Include qndefnfcsmartposterrecord.sip +%Include qndefnfctextrecord.sip +%Include qndefnfcurirecord.sip +%Include qndefrecord.sip +%Include qnearfieldmanager.sip +%Include qnearfieldsharemanager.sip +%Include qnearfieldsharetarget.sip +%Include qnearfieldtarget.sip +%Include qqmlndefrecord.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndeffilter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndeffilter.sip new file mode 100644 index 00000000..9fc12766 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndeffilter.sip @@ -0,0 +1,57 @@ +// qndeffilter.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNdefFilter +{ +%TypeHeaderCode +#include +%End + +public: + QNdefFilter(); + QNdefFilter(const QNdefFilter &other); + ~QNdefFilter(); + void clear(); + void setOrderMatch(bool on); + bool orderMatch() const; + + struct Record + { +%TypeHeaderCode +#include +%End + + QNdefRecord::TypeNameFormat typeNameFormat; + QByteArray type; + unsigned int minimum; + unsigned int maximum; + }; + + void appendRecord(QNdefRecord::TypeNameFormat typeNameFormat, const QByteArray &type, unsigned int min = 1, unsigned int max = 1); + void appendRecord(const QNdefFilter::Record &record); + int recordCount() const /__len__/; + QNdefFilter::Record recordAt(int i) const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefmessage.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefmessage.sip new file mode 100644 index 00000000..2be8f48a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefmessage.sip @@ -0,0 +1,74 @@ +// qndefmessage.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNdefMessage +{ +%TypeHeaderCode +#include +%End + +public: + QNdefMessage(); + explicit QNdefMessage(const QNdefRecord &record); + QNdefMessage(const QNdefMessage &message); + QNdefMessage(const QList &records); + bool operator==(const QNdefMessage &other) const; + QByteArray toByteArray() const; + int __len__() const; +%MethodCode + sipRes = sipCpp->count(); +%End + + QNdefRecord __getitem__(int i) const; +%MethodCode + Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + + if (idx < 0) + sipIsErr = 1; + else + sipRes = new QNdefRecord(sipCpp->at((int)idx)); +%End + + void __setitem__(int i, const QNdefRecord &value); +%MethodCode + int len = sipCpp->count(); + + if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0) + sipIsErr = 1; + else + (*sipCpp)[a0] = *a1; +%End + + void __delitem__(int i); +%MethodCode + if ((a0 = (int)sipConvertFromSequenceIndex(a0, sipCpp->count())) < 0) + sipIsErr = 1; + else + sipCpp->removeAt(a0); +%End + + static QNdefMessage fromByteArray(const QByteArray &message); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfcsmartposterrecord.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfcsmartposterrecord.sip new file mode 100644 index 00000000..87443056 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfcsmartposterrecord.sip @@ -0,0 +1,96 @@ +// qndefnfcsmartposterrecord.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNdefNfcIconRecord : QNdefRecord +{ +%TypeHeaderCode +#include +%End + +public: + QNdefNfcIconRecord(); + QNdefNfcIconRecord(const QNdefRecord &other); + void setData(const QByteArray &data); + QByteArray data() const; +}; + +%End +%If (Qt_5_5_0 -) + +class QNdefNfcSmartPosterRecord : QNdefRecord +{ +%TypeHeaderCode +#include +%End + +public: + enum Action + { + UnspecifiedAction, + DoAction, + SaveAction, + EditAction, + }; + + QNdefNfcSmartPosterRecord(); + QNdefNfcSmartPosterRecord(const QNdefNfcSmartPosterRecord &other); + QNdefNfcSmartPosterRecord(const QNdefRecord &other); + ~QNdefNfcSmartPosterRecord(); + void setPayload(const QByteArray &payload); + bool hasTitle(const QString &locale = QString()) const; + bool hasAction() const; + bool hasIcon(const QByteArray &mimetype = QByteArray()) const; + bool hasSize() const; + bool hasTypeInfo() const; + int titleCount() const; + QString title(const QString &locale = QString()) const; + QNdefNfcTextRecord titleRecord(const int index) const; + QList titleRecords() const; + bool addTitle(const QNdefNfcTextRecord &text); + bool addTitle(const QString &text, const QString &locale, QNdefNfcTextRecord::Encoding encoding); + bool removeTitle(const QNdefNfcTextRecord &text); + bool removeTitle(const QString &locale); + void setTitles(const QList &titles); + QUrl uri() const; + QNdefNfcUriRecord uriRecord() const; + void setUri(const QNdefNfcUriRecord &url); + void setUri(const QUrl &url); + QNdefNfcSmartPosterRecord::Action action() const; + void setAction(QNdefNfcSmartPosterRecord::Action act); + int iconCount() const; + QByteArray icon(const QByteArray &mimetype = QByteArray()) const; + QNdefNfcIconRecord iconRecord(const int index) const; + QList iconRecords() const; + void addIcon(const QNdefNfcIconRecord &icon); + void addIcon(const QByteArray &type, const QByteArray &data); + bool removeIcon(const QNdefNfcIconRecord &icon); + bool removeIcon(const QByteArray &type); + void setIcons(const QList &icons); + quint32 size() const; + void setSize(quint32 size); + QByteArray typeInfo() const; + void setTypeInfo(const QByteArray &type); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfctextrecord.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfctextrecord.sip new file mode 100644 index 00000000..3d95bac7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfctextrecord.sip @@ -0,0 +1,49 @@ +// qndefnfctextrecord.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNdefNfcTextRecord : QNdefRecord +{ +%TypeHeaderCode +#include +%End + +public: + QNdefNfcTextRecord(); + QNdefNfcTextRecord(const QNdefRecord &other); + QString locale() const; + void setLocale(const QString &locale); + QString text() const; + void setText(const QString text); + + enum Encoding + { + Utf8, + Utf16, + }; + + QNdefNfcTextRecord::Encoding encoding() const; + void setEncoding(QNdefNfcTextRecord::Encoding encoding); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfcurirecord.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfcurirecord.sip new file mode 100644 index 00000000..2a54f1db --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefnfcurirecord.sip @@ -0,0 +1,38 @@ +// qndefnfcurirecord.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNdefNfcUriRecord : QNdefRecord +{ +%TypeHeaderCode +#include +%End + +public: + QNdefNfcUriRecord(); + QNdefNfcUriRecord(const QNdefRecord &other); + QUrl uri() const; + void setUri(const QUrl &uri); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefrecord.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefrecord.sip new file mode 100644 index 00000000..99d63d35 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qndefrecord.sip @@ -0,0 +1,92 @@ +// qndefrecord.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNdefRecord +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + QByteArray ndef_type = sipCpp->type(); + + switch (sipCpp->typeNameFormat()) + { + case QNdefRecord::NfcRtd: + if (ndef_type == "Sp") + sipType = sipType_QNdefNfcSmartPosterRecord; + else if (ndef_type == "T") + sipType = sipType_QNdefNfcTextRecord; + else if (ndef_type == "U") + sipType = sipType_QNdefNfcUriRecord; + else + sipType = 0; + + break; + + case QNdefRecord::Mime: + if (ndef_type == "") + sipType = sipType_QNdefNfcIconRecord; + else + sipType = 0; + + break; + + default: + sipType = 0; + } +%End + +public: + enum TypeNameFormat + { + Empty, + NfcRtd, + Mime, + Uri, + ExternalRtd, + Unknown, + }; + + QNdefRecord(); + QNdefRecord(const QNdefRecord &other); + ~QNdefRecord(); + void setTypeNameFormat(QNdefRecord::TypeNameFormat typeNameFormat); + QNdefRecord::TypeNameFormat typeNameFormat() const; + void setType(const QByteArray &type); + QByteArray type() const; + void setId(const QByteArray &id); + QByteArray id() const; + void setPayload(const QByteArray &payload); + QByteArray payload() const; + bool isEmpty() const; + bool operator==(const QNdefRecord &other) const; + bool operator!=(const QNdefRecord &other) const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldmanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldmanager.sip new file mode 100644 index 00000000..ec4c843f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldmanager.sip @@ -0,0 +1,173 @@ +// qnearfieldmanager.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNearFieldManager : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QNearFieldManager, &sipType_QNearFieldManager, -1, 1}, + {sipName_QNearFieldTarget, &sipType_QNearFieldTarget, -1, 2}, + {sipName_QNearFieldShareManager, &sipType_QNearFieldShareManager, -1, 3}, + {sipName_QQmlNdefRecord, &sipType_QQmlNdefRecord, -1, 4}, + {sipName_QNearFieldShareTarget, &sipType_QNearFieldShareTarget, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum TargetAccessMode + { + NoTargetAccess, + NdefReadTargetAccess, + NdefWriteTargetAccess, + TagTypeSpecificTargetAccess, + }; + + typedef QFlags TargetAccessModes; + explicit QNearFieldManager(QObject *parent /TransferThis/ = 0); + virtual ~QNearFieldManager(); + bool isAvailable() const; + void setTargetAccessModes(QNearFieldManager::TargetAccessModes accessModes); + QNearFieldManager::TargetAccessModes targetAccessModes() const; + bool startTargetDetection(); + void stopTargetDetection(); + int registerNdefMessageHandler(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtnfc_get_pyqtslot_parts(a0, &receiver, slot)) == sipErrorNone) + { + sipRes = sipCpp->registerNdefMessageHandler(receiver, slot.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + int registerNdefMessageHandler(QNdefRecord::TypeNameFormat typeNameFormat, const QByteArray &type, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtnfc_get_pyqtslot_parts(a2, &receiver, slot)) == sipErrorNone) + { + sipRes = sipCpp->registerNdefMessageHandler(a0, *a1, receiver, slot.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(2, a2); + } +%End + + int registerNdefMessageHandler(const QNdefFilter &filter, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtnfc_get_pyqtslot_parts(a1, &receiver, slot)) == sipErrorNone) + { + sipRes = sipCpp->registerNdefMessageHandler(*a0, receiver, slot.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(1, a1); + } +%End + + bool unregisterNdefMessageHandler(int handlerId); + +signals: + void targetDetected(QNearFieldTarget *target); + void targetLost(QNearFieldTarget *target); + +public: +%If (Qt_5_12_0 -) + + enum class AdapterState + { + Offline, + TurningOn, + Online, + TurningOff, + }; + +%End +%If (Qt_5_12_0 -) + bool isSupported() const; +%End + +signals: +%If (Qt_5_12_0 -) + void adapterStateChanged(QNearFieldManager::AdapterState state /ScopesStripped=1/); +%End +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QNearFieldManager::TargetAccessMode f1, QFlags f2); +%End + +%ModuleHeaderCode +// Imports from QtCore. +typedef sipErrorState (*pyqt5_qtnfc_get_pyqtslot_parts_t)(PyObject *, QObject **, QByteArray &); +extern pyqt5_qtnfc_get_pyqtslot_parts_t pyqt5_qtnfc_get_pyqtslot_parts; +%End + +%ModuleCode +// Imports from QtCore. +pyqt5_qtnfc_get_pyqtslot_parts_t pyqt5_qtnfc_get_pyqtslot_parts; +%End + +%PostInitialisationCode +// Imports from QtCore. +pyqt5_qtnfc_get_pyqtslot_parts = (pyqt5_qtnfc_get_pyqtslot_parts_t)sipImportSymbol("pyqt5_get_pyqtslot_parts"); +Q_ASSERT(pyqt5_qtnfc_get_pyqtslot_parts); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldsharemanager.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldsharemanager.sip new file mode 100644 index 00000000..42a0bc99 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldsharemanager.sip @@ -0,0 +1,70 @@ +// qnearfieldsharemanager.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNearFieldShareManager : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QNearFieldShareManager(QObject *parent /TransferThis/ = 0); + virtual ~QNearFieldShareManager(); + + enum ShareError + { + NoError, + UnknownError, + InvalidShareContentError, + ShareCanceledError, + ShareInterruptedError, + ShareRejectedError, + UnsupportedShareModeError, + ShareAlreadyInProgressError, + SharePermissionDeniedError, + }; + + enum ShareMode + { + NoShare, + NdefShare, + FileShare, + }; + + typedef QFlags ShareModes; + static QNearFieldShareManager::ShareModes supportedShareModes(); + void setShareModes(QNearFieldShareManager::ShareModes modes); + QNearFieldShareManager::ShareModes shareModes() const; + QNearFieldShareManager::ShareError shareError() const; + +signals: + void targetDetected(QNearFieldShareTarget *shareTarget); + void shareModesChanged(QNearFieldShareManager::ShareModes modes); + void error(QNearFieldShareManager::ShareError error); +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QNearFieldShareManager::ShareMode f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldsharetarget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldsharetarget.sip new file mode 100644 index 00000000..ecc8c82c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldsharetarget.sip @@ -0,0 +1,45 @@ +// qnearfieldsharetarget.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNearFieldShareTarget : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QNearFieldShareTarget(); + QNearFieldShareManager::ShareModes shareModes() const; + bool share(const QNdefMessage &message); + bool share(const QList &files); + void cancel(); + bool isShareInProgress() const; + QNearFieldShareManager::ShareError shareError() const; + +signals: + void error(QNearFieldShareManager::ShareError error); + void shareFinished(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldtarget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldtarget.sip new file mode 100644 index 00000000..f2e58a65 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qnearfieldtarget.sip @@ -0,0 +1,132 @@ +// qnearfieldtarget.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QNearFieldTarget : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Type + { + ProprietaryTag, + NfcTagType1, + NfcTagType2, + NfcTagType3, + NfcTagType4, + MifareTag, + }; + + enum AccessMethod + { + UnknownAccess, + NdefAccess, + TagTypeSpecificAccess, + LlcpAccess, + }; + + typedef QFlags AccessMethods; + + enum Error + { + NoError, + UnknownError, + UnsupportedError, + TargetOutOfRangeError, + NoResponseError, + ChecksumMismatchError, + InvalidParametersError, + NdefReadError, + NdefWriteError, +%If (Qt_5_9_0 -) + CommandError, +%End + }; + + class RequestId + { +%TypeHeaderCode +#include +%End + + public: + RequestId(); + RequestId(const QNearFieldTarget::RequestId &other); + ~RequestId(); + bool isValid() const; + int refCount() const; + bool operator<(const QNearFieldTarget::RequestId &other) const; + bool operator==(const QNearFieldTarget::RequestId &other) const; + bool operator!=(const QNearFieldTarget::RequestId &other) const; + }; + + explicit QNearFieldTarget(QObject *parent /TransferThis/ = 0); + virtual ~QNearFieldTarget(); + virtual QByteArray uid() const = 0; + virtual QUrl url() const; + virtual QNearFieldTarget::Type type() const = 0; + virtual QNearFieldTarget::AccessMethods accessMethods() const = 0; + bool isProcessingCommand() const; + virtual bool hasNdefMessage(); + virtual QNearFieldTarget::RequestId readNdefMessages(); + virtual QNearFieldTarget::RequestId writeNdefMessages(const QList &messages); + virtual QNearFieldTarget::RequestId sendCommand(const QByteArray &command); + virtual QNearFieldTarget::RequestId sendCommands(const QList &commands); + virtual bool waitForRequestCompleted(const QNearFieldTarget::RequestId &id, int msecs = 5000) /ReleaseGIL/; + QVariant requestResponse(const QNearFieldTarget::RequestId &id); + void setResponseForRequest(const QNearFieldTarget::RequestId &id, const QVariant &response, bool emitRequestCompleted = true); + +protected: + virtual bool handleResponse(const QNearFieldTarget::RequestId &id, const QByteArray &response); +%If (Qt_5_12_0 -) + void reportError(QNearFieldTarget::Error error, const QNearFieldTarget::RequestId &id); +%End + +signals: + void disconnected(); + void ndefMessageRead(const QNdefMessage &message); + void ndefMessagesWritten(); + void requestCompleted(const QNearFieldTarget::RequestId &id); + void error(QNearFieldTarget::Error error, const QNearFieldTarget::RequestId &id); + +public: +%If (Qt_5_9_0 -) + bool keepConnection() const; +%End +%If (Qt_5_9_0 -) + bool setKeepConnection(bool isPersistent); +%End +%If (Qt_5_9_0 -) + bool disconnect(); +%End +%If (Qt_5_9_0 -) + int maxCommandLength() const; +%End +}; + +%End +%If (Qt_5_5_0 -) +QFlags operator|(QNearFieldTarget::AccessMethod f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qqmlndefrecord.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qqmlndefrecord.sip new file mode 100644 index 00000000..70a2510d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtNfc/qqmlndefrecord.sip @@ -0,0 +1,60 @@ +// qqmlndefrecord.sip generated by MetaSIP +// +// This file is part of the QtNfc Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_5_0 -) + +class QQmlNdefRecord : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum TypeNameFormat + { + Empty, + NfcRtd, + Mime, + Uri, + ExternalRtd, + Unknown, + }; + + explicit QQmlNdefRecord(QObject *parent /TransferThis/ = 0); + QQmlNdefRecord(const QNdefRecord &record, QObject *parent /TransferThis/ = 0); +%If (Qt_5_6_0 -) + virtual ~QQmlNdefRecord(); +%End + QString type() const; + void setType(const QString &t); + void setTypeNameFormat(QQmlNdefRecord::TypeNameFormat typeNameFormat); + QQmlNdefRecord::TypeNameFormat typeNameFormat() const; + QNdefRecord record() const; + void setRecord(const QNdefRecord &record); + +signals: + void typeChanged(); + void typeNameFormatChanged(); + void recordChanged(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/QtOpenGL.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/QtOpenGL.toml new file mode 100644 index 00000000..523734be --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/QtOpenGL.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtOpenGL. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/QtOpenGLmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/QtOpenGLmod.sip new file mode 100644 index 00000000..4211d97f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/QtOpenGLmod.sip @@ -0,0 +1,50 @@ +// QtOpenGLmod.sip generated by MetaSIP +// +// This file is part of the QtOpenGL Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtOpenGL, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qgl.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/qgl.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/qgl.sip new file mode 100644 index 00000000..e9d4f2f4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtOpenGL/qgl.sip @@ -0,0 +1,336 @@ +// qgl.sip generated by MetaSIP +// +// This file is part of the QtOpenGL Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_OpenGL) + +namespace QGL +{ +%TypeHeaderCode +#include +%End + + enum FormatOption + { + DoubleBuffer, + DepthBuffer, + Rgba, + AlphaChannel, + AccumBuffer, + StencilBuffer, + StereoBuffers, + DirectRendering, + HasOverlay, + SampleBuffers, + SingleBuffer, + NoDepthBuffer, + ColorIndex, + NoAlphaChannel, + NoAccumBuffer, + NoStencilBuffer, + NoStereoBuffers, + IndirectRendering, + NoOverlay, + NoSampleBuffers, + DeprecatedFunctions, + NoDeprecatedFunctions, + }; + + typedef QFlags FormatOptions; +}; + +%End +%If (PyQt_OpenGL) +QFlags operator|(QGL::FormatOption f1, QFlags f2); +%End +%If (PyQt_OpenGL) + +class QGLFormat +{ +%TypeHeaderCode +#include +%End + +public: + enum OpenGLVersionFlag + { + OpenGL_Version_None, + OpenGL_Version_1_1, + OpenGL_Version_1_2, + OpenGL_Version_1_3, + OpenGL_Version_1_4, + OpenGL_Version_1_5, + OpenGL_Version_2_0, + OpenGL_Version_2_1, + OpenGL_Version_3_0, + OpenGL_Version_3_1, + OpenGL_Version_3_2, + OpenGL_Version_3_3, + OpenGL_Version_4_0, + OpenGL_Version_4_1, + OpenGL_Version_4_2, + OpenGL_Version_4_3, + OpenGL_ES_Common_Version_1_0, + OpenGL_ES_CommonLite_Version_1_0, + OpenGL_ES_Common_Version_1_1, + OpenGL_ES_CommonLite_Version_1_1, + OpenGL_ES_Version_2_0, + }; + + typedef QFlags OpenGLVersionFlags; + QGLFormat(); + QGLFormat(QGL::FormatOptions options, int plane = 0); + QGLFormat(const QGLFormat &other); + ~QGLFormat(); + void setDepthBufferSize(int size); + int depthBufferSize() const; + void setAccumBufferSize(int size); + int accumBufferSize() const; + void setAlphaBufferSize(int size); + int alphaBufferSize() const; + void setStencilBufferSize(int size); + int stencilBufferSize() const; + void setSampleBuffers(bool enable); + void setSamples(int numSamples); + int samples() const; + void setDoubleBuffer(bool enable); + void setDepth(bool enable); + void setRgba(bool enable); + void setAlpha(bool enable); + void setAccum(bool enable); + void setStencil(bool enable); + void setStereo(bool enable); + void setDirectRendering(bool enable); + void setOverlay(bool enable); + int plane() const; + void setPlane(int plane); + void setOption(QGL::FormatOptions opt); + bool testOption(QGL::FormatOptions opt) const; + static QGLFormat defaultFormat(); + static void setDefaultFormat(const QGLFormat &f); + static QGLFormat defaultOverlayFormat(); + static void setDefaultOverlayFormat(const QGLFormat &f); + static bool hasOpenGL(); + static bool hasOpenGLOverlays(); + bool doubleBuffer() const; + bool depth() const; + bool rgba() const; + bool alpha() const; + bool accum() const; + bool stencil() const; + bool stereo() const; + bool directRendering() const; + bool hasOverlay() const; + bool sampleBuffers() const; + void setRedBufferSize(int size); + int redBufferSize() const; + void setGreenBufferSize(int size); + int greenBufferSize() const; + void setBlueBufferSize(int size); + int blueBufferSize() const; + void setSwapInterval(int interval); + int swapInterval() const; + static QGLFormat::OpenGLVersionFlags openGLVersionFlags(); + void setVersion(int major, int minor); + int majorVersion() const; + int minorVersion() const; + + enum OpenGLContextProfile + { + NoProfile, + CoreProfile, + CompatibilityProfile, + }; + + void setProfile(QGLFormat::OpenGLContextProfile profile); + QGLFormat::OpenGLContextProfile profile() const; +}; + +%End +%If (PyQt_OpenGL) +bool operator==(const QGLFormat &, const QGLFormat &); +%End +%If (PyQt_OpenGL) +bool operator!=(const QGLFormat &, const QGLFormat &); +%End +%If (PyQt_OpenGL) + +class QGLContext /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + QGLContext(const QGLFormat &format); + virtual ~QGLContext(); + virtual bool create(const QGLContext *shareContext = 0); + bool isValid() const; + bool isSharing() const; + void reset(); + QGLFormat format() const; + QGLFormat requestedFormat() const; + void setFormat(const QGLFormat &format); + virtual void makeCurrent(); + virtual void doneCurrent(); + virtual void swapBuffers() const; + GLuint bindTexture(const QImage &image, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA); + GLuint bindTexture(const QPixmap &pixmap, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA); + void drawTexture(const QRectF &target, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D); + void drawTexture(const QPointF &point, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D); + GLuint bindTexture(const QString &fileName); + void deleteTexture(GLuint tx_id); + static void setTextureCacheLimit(int size); + static int textureCacheLimit(); + QFunctionPointer getProcAddress(const QString &proc) const; + QPaintDevice *device() const; + QColor overlayTransparentColor() const; + static const QGLContext *currentContext(); + +protected: + virtual bool chooseContext(const QGLContext *shareContext = 0); + bool deviceIsPixmap() const; + bool windowCreated() const; + void setWindowCreated(bool on); + bool initialized() const; + void setInitialized(bool on); + +public: + static bool areSharing(const QGLContext *context1, const QGLContext *context2); + + enum BindOption + { + NoBindOption, + InvertedYBindOption, + MipmapBindOption, + PremultipliedAlphaBindOption, + LinearFilteringBindOption, + DefaultBindOption, + }; + + typedef QFlags BindOptions; + GLuint bindTexture(const QImage &image, GLenum target, GLint format, QGLContext::BindOptions options); + GLuint bindTexture(const QPixmap &pixmap, GLenum target, GLint format, QGLContext::BindOptions options); + void moveToThread(QThread *thread); + +private: + QGLContext(const QGLContext &); +}; + +%End +%If (PyQt_OpenGL) + +class QGLWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QGLWidget, &sipType_QGLWidget, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + QGLWidget(QWidget *parent /TransferThis/ = 0, const QGLWidget *shareWidget = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + QGLWidget(QGLContext *context /Transfer/, QWidget *parent /TransferThis/ = 0, const QGLWidget *shareWidget = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + QGLWidget(const QGLFormat &format, QWidget *parent /TransferThis/ = 0, const QGLWidget *shareWidget = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QGLWidget(); + void qglColor(const QColor &c) const; + void qglClearColor(const QColor &c) const; + bool isValid() const; + bool isSharing() const; + void makeCurrent(); + void doneCurrent(); + bool doubleBuffer() const; + void swapBuffers(); + QGLFormat format() const; + QGLContext *context() const; + void setContext(QGLContext *context /Transfer/, const QGLContext *shareContext = 0, bool deleteOldContext = true); + QPixmap renderPixmap(int width = 0, int height = 0, bool useContext = false); + QImage grabFrameBuffer(bool withAlpha = false); + void makeOverlayCurrent(); + const QGLContext *overlayContext() const; + static QImage convertToGLFormat(const QImage &img); + void renderText(int x, int y, const QString &str, const QFont &font = QFont()); + void renderText(double x, double y, double z, const QString &str, const QFont &font = QFont()); + virtual QPaintEngine *paintEngine() const; + GLuint bindTexture(const QImage &image, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA); + GLuint bindTexture(const QPixmap &pixmap, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA); + GLuint bindTexture(const QString &fileName); + void drawTexture(const QRectF &target, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D); + void drawTexture(const QPointF &point, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D); + void deleteTexture(GLuint tx_id); + +public slots: + virtual void updateGL(); + virtual void updateOverlayGL(); + +protected: + virtual bool event(QEvent *); + virtual void initializeGL(); + virtual void resizeGL(int w, int h); + virtual void paintGL(); + virtual void initializeOverlayGL(); + virtual void resizeOverlayGL(int w, int h); + virtual void paintOverlayGL(); + void setAutoBufferSwap(bool on); + bool autoBufferSwap() const; + virtual void paintEvent(QPaintEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void glInit(); + virtual void glDraw(); + +public: + GLuint bindTexture(const QImage &image, GLenum target, GLint format, QGLContext::BindOptions options); + GLuint bindTexture(const QPixmap &pixmap, GLenum target, GLint format, QGLContext::BindOptions options); +}; + +%End +%If (PyQt_OpenGL) +QFlags operator|(QGLFormat::OpenGLVersionFlag f1, QFlags f2); +%End +%If (PyQt_OpenGL) +QFlags operator|(QGLContext::BindOption f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/QtPositioning.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/QtPositioning.toml new file mode 100644 index 00000000..18a3b6db --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/QtPositioning.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtPositioning. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/QtPositioningmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/QtPositioningmod.sip new file mode 100644 index 00000000..1ad97229 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/QtPositioningmod.sip @@ -0,0 +1,60 @@ +// QtPositioningmod.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtPositioning, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%Include qgeoaddress.sip +%Include qgeoareamonitorinfo.sip +%Include qgeoareamonitorsource.sip +%Include qgeocircle.sip +%Include qgeocoordinate.sip +%Include qgeolocation.sip +%Include qgeopath.sip +%Include qgeopolygon.sip +%Include qgeopositioninfo.sip +%Include qgeopositioninfosource.sip +%Include qgeorectangle.sip +%Include qgeosatelliteinfo.sip +%Include qgeosatelliteinfosource.sip +%Include qgeoshape.sip +%Include qnmeapositioninfosource.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoaddress.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoaddress.sip new file mode 100644 index 00000000..06227bf0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoaddress.sip @@ -0,0 +1,60 @@ +// qgeoaddress.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoAddress +{ +%TypeHeaderCode +#include +%End + +public: + QGeoAddress(); + QGeoAddress(const QGeoAddress &other); + ~QGeoAddress(); + bool operator==(const QGeoAddress &other) const; + bool operator!=(const QGeoAddress &other) const; + QString text() const; + void setText(const QString &text); + QString country() const; + void setCountry(const QString &country); + QString countryCode() const; + void setCountryCode(const QString &countryCode); + QString state() const; + void setState(const QString &state); + QString county() const; + void setCounty(const QString &county); + QString city() const; + void setCity(const QString &city); + QString district() const; + void setDistrict(const QString &district); + QString postalCode() const; + void setPostalCode(const QString &postalCode); + QString street() const; + void setStreet(const QString &street); + bool isEmpty() const; + void clear(); + bool isTextGenerated() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoareamonitorinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoareamonitorinfo.sip new file mode 100644 index 00000000..460a0ff6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoareamonitorinfo.sip @@ -0,0 +1,57 @@ +// qgeoareamonitorinfo.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoAreaMonitorInfo +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGeoAreaMonitorInfo(const QString &name = QString()); + QGeoAreaMonitorInfo(const QGeoAreaMonitorInfo &other); + ~QGeoAreaMonitorInfo(); + bool operator==(const QGeoAreaMonitorInfo &other) const; + bool operator!=(const QGeoAreaMonitorInfo &other) const; + QString name() const; + void setName(const QString &name); + QString identifier() const; + bool isValid() const; + QGeoShape area() const; + void setArea(const QGeoShape &newShape); + QDateTime expiration() const; + void setExpiration(const QDateTime &expiry); + bool isPersistent() const; + void setPersistent(bool isPersistent); + QVariantMap notificationParameters() const; + void setNotificationParameters(const QVariantMap ¶meters); +}; + +%End +%If (Qt_5_2_0 -) +QDataStream &operator<<(QDataStream &, const QGeoAreaMonitorInfo & /Constrained/); +%End +%If (Qt_5_2_0 -) +QDataStream &operator>>(QDataStream &, QGeoAreaMonitorInfo & /Constrained/); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoareamonitorsource.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoareamonitorsource.sip new file mode 100644 index 00000000..25266a20 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoareamonitorsource.sip @@ -0,0 +1,73 @@ +// qgeoareamonitorsource.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoAreaMonitorSource : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + AccessError, + InsufficientPositionInfo, + UnknownSourceError, + NoError, + }; + + enum AreaMonitorFeature + { + PersistentAreaMonitorFeature, + AnyAreaMonitorFeature, + }; + + typedef QFlags AreaMonitorFeatures; + explicit QGeoAreaMonitorSource(QObject *parent /TransferThis/); + virtual ~QGeoAreaMonitorSource(); + static QGeoAreaMonitorSource *createDefaultSource(QObject *parent /TransferThis/) /Factory/; + static QGeoAreaMonitorSource *createSource(const QString &sourceName, QObject *parent /TransferThis/) /Factory/; + static QStringList availableSources(); + virtual void setPositionInfoSource(QGeoPositionInfoSource *source /Transfer/); + virtual QGeoPositionInfoSource *positionInfoSource() const; + QString sourceName() const; + virtual QGeoAreaMonitorSource::Error error() const = 0; + virtual QFlags supportedAreaMonitorFeatures() const = 0; + virtual bool startMonitoring(const QGeoAreaMonitorInfo &monitor) = 0; + virtual bool stopMonitoring(const QGeoAreaMonitorInfo &monitor) = 0; + virtual bool requestUpdate(const QGeoAreaMonitorInfo &monitor, const char *signal) = 0; + virtual QList activeMonitors() const = 0; + virtual QList activeMonitors(const QGeoShape &lookupArea) const = 0; + +signals: + void areaEntered(const QGeoAreaMonitorInfo &monitor, const QGeoPositionInfo &update); + void areaExited(const QGeoAreaMonitorInfo &monitor, const QGeoPositionInfo &update); + void monitorExpired(const QGeoAreaMonitorInfo &monitor); + void error(QGeoAreaMonitorSource::Error error); + +private: + QGeoAreaMonitorSource(const QGeoAreaMonitorSource &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeocircle.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeocircle.sip new file mode 100644 index 00000000..c00af10e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeocircle.sip @@ -0,0 +1,53 @@ +// qgeocircle.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoCircle : QGeoShape +{ +%TypeHeaderCode +#include +%End + +public: + QGeoCircle(); + QGeoCircle(const QGeoCoordinate ¢er, qreal radius = -1.); + QGeoCircle(const QGeoCircle &other); + QGeoCircle(const QGeoShape &other); + ~QGeoCircle(); + bool operator==(const QGeoCircle &other) const; + bool operator!=(const QGeoCircle &other) const; + void setCenter(const QGeoCoordinate ¢er); + QGeoCoordinate center() const; + void setRadius(qreal radius); + qreal radius() const; + void translate(double degreesLatitude, double degreesLongitude); + QGeoCircle translated(double degreesLatitude, double degreesLongitude) const; +%If (Qt_5_5_0 -) + QString toString() const; +%End +%If (Qt_5_9_0 -) + void extendCircle(const QGeoCoordinate &coordinate); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeocoordinate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeocoordinate.sip new file mode 100644 index 00000000..18ebca6f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeocoordinate.sip @@ -0,0 +1,83 @@ +// qgeocoordinate.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoCoordinate +{ +%TypeHeaderCode +#include +%End + +public: + enum CoordinateType + { + InvalidCoordinate, + Coordinate2D, + Coordinate3D, + }; + + enum CoordinateFormat + { + Degrees, + DegreesWithHemisphere, + DegreesMinutes, + DegreesMinutesWithHemisphere, + DegreesMinutesSeconds, + DegreesMinutesSecondsWithHemisphere, + }; + + QGeoCoordinate(); + QGeoCoordinate(double latitude, double longitude); + QGeoCoordinate(double latitude, double longitude, double altitude); + QGeoCoordinate(const QGeoCoordinate &other); + ~QGeoCoordinate(); + bool operator==(const QGeoCoordinate &other) const; + bool operator!=(const QGeoCoordinate &other) const; + bool isValid() const; + QGeoCoordinate::CoordinateType type() const; + void setLatitude(double latitude); + double latitude() const; + void setLongitude(double longitude); + double longitude() const; + void setAltitude(double altitude); + double altitude() const; + qreal distanceTo(const QGeoCoordinate &other) const; + qreal azimuthTo(const QGeoCoordinate &other) const; + QGeoCoordinate atDistanceAndAzimuth(qreal distance, qreal azimuth, qreal distanceUp = 0.0) const; + QString toString(QGeoCoordinate::CoordinateFormat format = QGeoCoordinate::DegreesMinutesSecondsWithHemisphere) const; +%If (Qt_5_7_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; + +%End +%If (Qt_5_2_0 -) +QDataStream &operator<<(QDataStream &stream, const QGeoCoordinate &coordinate /Constrained/); +%End +%If (Qt_5_2_0 -) +QDataStream &operator>>(QDataStream &stream, QGeoCoordinate &coordinate /Constrained/); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeolocation.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeolocation.sip new file mode 100644 index 00000000..83bb18b8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeolocation.sip @@ -0,0 +1,52 @@ +// qgeolocation.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoLocation +{ +%TypeHeaderCode +#include +%End + +public: + QGeoLocation(); + QGeoLocation(const QGeoLocation &other); + ~QGeoLocation(); + bool operator==(const QGeoLocation &other) const; + bool operator!=(const QGeoLocation &other) const; + QGeoAddress address() const; + void setAddress(const QGeoAddress &address); + QGeoCoordinate coordinate() const; + void setCoordinate(const QGeoCoordinate &position); + QGeoRectangle boundingBox() const; + void setBoundingBox(const QGeoRectangle &box); + bool isEmpty() const; +%If (Qt_5_13_0 -) + QVariantMap extendedAttributes() const; +%End +%If (Qt_5_13_0 -) + void setExtendedAttributes(const QVariantMap &data); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopath.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopath.sip new file mode 100644 index 00000000..e0b2eb60 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopath.sip @@ -0,0 +1,62 @@ +// qgeopath.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_9_0 -) + +class QGeoPath : QGeoShape +{ +%TypeHeaderCode +#include +%End + +public: + QGeoPath(); + QGeoPath(const QList &path, const qreal &width = 0.); + QGeoPath(const QGeoPath &other); + QGeoPath(const QGeoShape &other); + ~QGeoPath(); + bool operator==(const QGeoPath &other) const; + bool operator!=(const QGeoPath &other) const; + void setPath(const QList &path); + const QList &path() const; + void setWidth(const qreal &width); + qreal width() const; + void translate(double degreesLatitude, double degreesLongitude); + QGeoPath translated(double degreesLatitude, double degreesLongitude) const; + double length(int indexFrom = 0, int indexTo = -1) const; + void addCoordinate(const QGeoCoordinate &coordinate); + void insertCoordinate(int index, const QGeoCoordinate &coordinate); + void replaceCoordinate(int index, const QGeoCoordinate &coordinate); + QGeoCoordinate coordinateAt(int index) const; + bool containsCoordinate(const QGeoCoordinate &coordinate) const; + void removeCoordinate(const QGeoCoordinate &coordinate); + void removeCoordinate(int index); + QString toString() const; +%If (Qt_5_10_0 -) + int size() const; +%End +%If (Qt_5_12_0 -) + void clearPath(); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopolygon.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopolygon.sip new file mode 100644 index 00000000..be678103 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopolygon.sip @@ -0,0 +1,81 @@ +// qgeopolygon.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_10_0 -) + +class QGeoPolygon : QGeoShape +{ +%TypeHeaderCode +#include +%End + +public: + QGeoPolygon(); + QGeoPolygon(const QList &path); + QGeoPolygon(const QGeoPolygon &other); + QGeoPolygon(const QGeoShape &other); + ~QGeoPolygon(); + bool operator==(const QGeoPolygon &other) const; + bool operator!=(const QGeoPolygon &other) const; + void setPath(const QList &path); + const QList &path() const; + void translate(double degreesLatitude, double degreesLongitude); + QGeoPolygon translated(double degreesLatitude, double degreesLongitude) const; + double length(int indexFrom = 0, int indexTo = -1) const; + int size() const; + void addCoordinate(const QGeoCoordinate &coordinate); + void insertCoordinate(int index, const QGeoCoordinate &coordinate); + void replaceCoordinate(int index, const QGeoCoordinate &coordinate); + QGeoCoordinate coordinateAt(int index) const; + bool containsCoordinate(const QGeoCoordinate &coordinate) const; + void removeCoordinate(const QGeoCoordinate &coordinate); + void removeCoordinate(int index); + QString toString() const; +%If (Qt_5_12_0 -) + void addHole(const QList &holePath); +%End +%If (Qt_5_12_0 -) + void addHole(const QVariant &holePath); +%End +%If (Qt_5_12_0 -) + const QVariantList hole(int index) const; +%End +%If (Qt_5_12_0 -) + const QList holePath(int index) const; +%End +%If (Qt_5_12_0 -) + void removeHole(int index); +%End +%If (Qt_5_12_0 -) + int holesCount() const; +%End + +protected: +%If (Qt_5_12_0 -) + void setPerimeter(const QVariantList &path); +%End +%If (Qt_5_12_0 -) + QVariantList perimeter() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopositioninfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopositioninfo.sip new file mode 100644 index 00000000..149c03c6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopositioninfo.sip @@ -0,0 +1,65 @@ +// qgeopositioninfo.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoPositionInfo +{ +%TypeHeaderCode +#include +%End + +public: + enum Attribute + { + Direction, + GroundSpeed, + VerticalSpeed, + MagneticVariation, + HorizontalAccuracy, + VerticalAccuracy, + }; + + QGeoPositionInfo(); + QGeoPositionInfo(const QGeoCoordinate &coordinate, const QDateTime &updateTime); + QGeoPositionInfo(const QGeoPositionInfo &other); + ~QGeoPositionInfo(); + bool operator==(const QGeoPositionInfo &other) const; + bool operator!=(const QGeoPositionInfo &other) const; + bool isValid() const; + void setTimestamp(const QDateTime ×tamp); + QDateTime timestamp() const; + void setCoordinate(const QGeoCoordinate &coordinate); + QGeoCoordinate coordinate() const; + void setAttribute(QGeoPositionInfo::Attribute attribute, qreal value); + qreal attribute(QGeoPositionInfo::Attribute attribute) const; + void removeAttribute(QGeoPositionInfo::Attribute attribute); + bool hasAttribute(QGeoPositionInfo::Attribute attribute) const; +}; + +%End +%If (Qt_5_2_0 -) +QDataStream &operator<<(QDataStream &stream, const QGeoPositionInfo &info /Constrained/); +%End +%If (Qt_5_2_0 -) +QDataStream &operator>>(QDataStream &stream, QGeoPositionInfo &info /Constrained/); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopositioninfosource.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopositioninfosource.sip new file mode 100644 index 00000000..0de4b84e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeopositioninfosource.sip @@ -0,0 +1,129 @@ +// qgeopositioninfosource.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoPositionInfoSource : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QGeoPositionInfoSource, &sipType_QGeoPositionInfoSource, 3, 1}, + {sipName_QGeoSatelliteInfoSource, &sipType_QGeoSatelliteInfoSource, -1, 2}, + {sipName_QGeoAreaMonitorSource, &sipType_QGeoAreaMonitorSource, -1, -1}, + {sipName_QNmeaPositionInfoSource, &sipType_QNmeaPositionInfoSource, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum Error + { + AccessError, + ClosedError, + UnknownSourceError, + NoError, + }; + + enum PositioningMethod + { + NoPositioningMethods, + SatellitePositioningMethods, + NonSatellitePositioningMethods, + AllPositioningMethods, + }; + + typedef QFlags PositioningMethods; + explicit QGeoPositionInfoSource(QObject *parent /TransferThis/); + virtual ~QGeoPositionInfoSource(); + virtual void setUpdateInterval(int msec); + int updateInterval() const; + virtual void setPreferredPositioningMethods(QGeoPositionInfoSource::PositioningMethods methods); + QGeoPositionInfoSource::PositioningMethods preferredPositioningMethods() const; + virtual QGeoPositionInfo lastKnownPosition(bool fromSatellitePositioningMethodsOnly = false) const = 0; + virtual QGeoPositionInfoSource::PositioningMethods supportedPositioningMethods() const = 0; + virtual int minimumUpdateInterval() const = 0; + QString sourceName() const; + static QGeoPositionInfoSource *createDefaultSource(QObject *parent /TransferThis/) /Factory/; +%If (Qt_5_14_0 -) + static QGeoPositionInfoSource *createDefaultSource(const QVariantMap ¶meters, QObject *parent /TransferThis/) /Factory/; +%End + static QGeoPositionInfoSource *createSource(const QString &sourceName, QObject *parent /TransferThis/) /Factory/; +%If (Qt_5_14_0 -) + static QGeoPositionInfoSource *createSource(const QString &sourceName, const QVariantMap ¶meters, QObject *parent /TransferThis/) /Factory/; +%End + static QStringList availableSources(); + virtual QGeoPositionInfoSource::Error error() const = 0; + +public slots: + virtual void startUpdates() = 0; + virtual void stopUpdates() = 0; + virtual void requestUpdate(int timeout = 0) = 0; + +signals: + void positionUpdated(const QGeoPositionInfo &update); + void updateTimeout(); + void error(QGeoPositionInfoSource::Error); +%If (Qt_5_12_0 -) + void supportedPositioningMethodsChanged(); +%End + +public: +%If (Qt_5_14_0 -) + bool setBackendProperty(const QString &name, const QVariant &value); +%End +%If (Qt_5_14_0 -) + QVariant backendProperty(const QString &name) const; +%End + +private: + QGeoPositionInfoSource(const QGeoPositionInfoSource &); +}; + +%End +%If (Qt_5_2_0 -) +QFlags operator|(QGeoPositionInfoSource::PositioningMethod f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeorectangle.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeorectangle.sip new file mode 100644 index 00000000..f0f1acae --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeorectangle.sip @@ -0,0 +1,72 @@ +// qgeorectangle.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoRectangle : QGeoShape +{ +%TypeHeaderCode +#include +%End + +public: + QGeoRectangle(); + QGeoRectangle(const QGeoCoordinate ¢er, double degreesWidth, double degreesHeight); + QGeoRectangle(const QGeoCoordinate &topLeft, const QGeoCoordinate &bottomRight); +%If (Qt_5_3_0 -) + QGeoRectangle(const QList &coordinates); +%End + QGeoRectangle(const QGeoRectangle &other); + QGeoRectangle(const QGeoShape &other); + ~QGeoRectangle(); + bool operator==(const QGeoRectangle &other) const; + bool operator!=(const QGeoRectangle &other) const; + void setTopLeft(const QGeoCoordinate &topLeft); + QGeoCoordinate topLeft() const; + void setTopRight(const QGeoCoordinate &topRight); + QGeoCoordinate topRight() const; + void setBottomLeft(const QGeoCoordinate &bottomLeft); + QGeoCoordinate bottomLeft() const; + void setBottomRight(const QGeoCoordinate &bottomRight); + QGeoCoordinate bottomRight() const; + void setCenter(const QGeoCoordinate ¢er); + QGeoCoordinate center() const; + void setWidth(double degreesWidth); + double width() const; + void setHeight(double degreesHeight); + double height() const; + bool contains(const QGeoRectangle &rectangle) const; + bool intersects(const QGeoRectangle &rectangle) const; + void translate(double degreesLatitude, double degreesLongitude); + QGeoRectangle translated(double degreesLatitude, double degreesLongitude) const; + QGeoRectangle united(const QGeoRectangle &rectangle) const; + QGeoRectangle &operator|=(const QGeoRectangle &rectangle); + QGeoRectangle operator|(const QGeoRectangle &rectangle) const; +%If (Qt_5_5_0 -) + QString toString() const; +%End +%If (Qt_5_9_0 -) + void extendRectangle(const QGeoCoordinate &coordinate); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeosatelliteinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeosatelliteinfo.sip new file mode 100644 index 00000000..4f792c97 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeosatelliteinfo.sip @@ -0,0 +1,68 @@ +// qgeosatelliteinfo.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoSatelliteInfo +{ +%TypeHeaderCode +#include +%End + +public: + enum Attribute + { + Elevation, + Azimuth, + }; + + enum SatelliteSystem + { + Undefined, + GPS, + GLONASS, + }; + + QGeoSatelliteInfo(); + QGeoSatelliteInfo(const QGeoSatelliteInfo &other); + ~QGeoSatelliteInfo(); + bool operator==(const QGeoSatelliteInfo &other) const; + bool operator!=(const QGeoSatelliteInfo &other) const; + void setSatelliteSystem(QGeoSatelliteInfo::SatelliteSystem system); + QGeoSatelliteInfo::SatelliteSystem satelliteSystem() const; + void setSatelliteIdentifier(int satId); + int satelliteIdentifier() const; + void setSignalStrength(int signalStrength); + int signalStrength() const; + void setAttribute(QGeoSatelliteInfo::Attribute attribute, qreal value); + qreal attribute(QGeoSatelliteInfo::Attribute attribute) const; + void removeAttribute(QGeoSatelliteInfo::Attribute attribute); + bool hasAttribute(QGeoSatelliteInfo::Attribute attribute) const; +}; + +%End +%If (Qt_5_2_0 -) +QDataStream &operator<<(QDataStream &stream, const QGeoSatelliteInfo &info /Constrained/); +%End +%If (Qt_5_2_0 -) +QDataStream &operator>>(QDataStream &stream, QGeoSatelliteInfo &info /Constrained/); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeosatelliteinfosource.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeosatelliteinfosource.sip new file mode 100644 index 00000000..4e8eac29 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeosatelliteinfosource.sip @@ -0,0 +1,72 @@ +// qgeosatelliteinfosource.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoSatelliteInfoSource : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum Error + { + AccessError, + ClosedError, + NoError, + UnknownSourceError, + }; + + explicit QGeoSatelliteInfoSource(QObject *parent /TransferThis/); + virtual ~QGeoSatelliteInfoSource(); + static QGeoSatelliteInfoSource *createDefaultSource(QObject *parent /TransferThis/) /Factory/; +%If (Qt_5_14_0 -) + static QGeoSatelliteInfoSource *createDefaultSource(const QVariantMap ¶meters, QObject *parent /TransferThis/) /Factory/; +%End + static QGeoSatelliteInfoSource *createSource(const QString &sourceName, QObject *parent /TransferThis/) /Factory/; +%If (Qt_5_14_0 -) + static QGeoSatelliteInfoSource *createSource(const QString &sourceName, const QVariantMap ¶meters, QObject *parent /TransferThis/) /Factory/; +%End + static QStringList availableSources(); + QString sourceName() const; + virtual void setUpdateInterval(int msec); + int updateInterval() const; + virtual int minimumUpdateInterval() const = 0; + virtual QGeoSatelliteInfoSource::Error error() const = 0; + +public slots: + virtual void startUpdates() = 0; + virtual void stopUpdates() = 0; + virtual void requestUpdate(int timeout = 0) = 0; + +signals: + void satellitesInViewUpdated(const QList &satellites); + void satellitesInUseUpdated(const QList &satellites); + void requestTimeout(); + void error(QGeoSatelliteInfoSource::Error); + +private: + QGeoSatelliteInfoSource(const QGeoSatelliteInfoSource &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoshape.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoshape.sip new file mode 100644 index 00000000..fe82bc20 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qgeoshape.sip @@ -0,0 +1,104 @@ +// qgeoshape.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QGeoShape +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + switch (sipCpp->type()) + { + case QGeoShape::CircleType: + sipType = sipType_QGeoCircle; + break; + + case QGeoShape::RectangleType: + sipType = sipType_QGeoRectangle; + break; + + #if QT_VERSION >= 0x050900 + case QGeoShape::PathType: + sipType = sipType_QGeoPath; + break; + #endif + + #if QT_VERSION >= 0x050a00 + case QGeoShape::PolygonType: + sipType = sipType_QGeoPolygon; + break; + #endif + + + default: + sipType = 0; + } +%End + +public: + QGeoShape(); + QGeoShape(const QGeoShape &other); + ~QGeoShape(); + + enum ShapeType + { + UnknownType, + RectangleType, + CircleType, +%If (Qt_5_9_0 -) + PathType, +%End +%If (Qt_5_10_0 -) + PolygonType, +%End + }; + + QGeoShape::ShapeType type() const; + bool isValid() const; + bool isEmpty() const; + bool contains(const QGeoCoordinate &coordinate) const; + bool operator==(const QGeoShape &other) const; + bool operator!=(const QGeoShape &other) const; +%If (Qt_5_3_0 -) + void extendShape(const QGeoCoordinate &coordinate); +%End +%If (Qt_5_5_0 -) + QGeoCoordinate center() const; +%End +%If (Qt_5_5_0 -) + QString toString() const; +%End +%If (Qt_5_9_0 -) + QGeoRectangle boundingGeoRectangle() const; +%End +}; + +%End +%If (Qt_5_2_0 -) +QDataStream &operator<<(QDataStream &stream, const QGeoShape &shape /Constrained/); +%End +%If (Qt_5_2_0 -) +QDataStream &operator>>(QDataStream &stream, QGeoShape &shape /Constrained/); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qnmeapositioninfosource.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qnmeapositioninfosource.sip new file mode 100644 index 00000000..69852e9c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPositioning/qnmeapositioninfosource.sip @@ -0,0 +1,66 @@ +// qnmeapositioninfosource.sip generated by MetaSIP +// +// This file is part of the QtPositioning Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QNmeaPositionInfoSource : QGeoPositionInfoSource +{ +%TypeHeaderCode +#include +%End + +public: + enum UpdateMode + { + RealTimeMode, + SimulationMode, + }; + + QNmeaPositionInfoSource(QNmeaPositionInfoSource::UpdateMode updateMode, QObject *parent /TransferThis/ = 0); + virtual ~QNmeaPositionInfoSource(); + QNmeaPositionInfoSource::UpdateMode updateMode() const; + void setDevice(QIODevice *source); + QIODevice *device() const; + virtual void setUpdateInterval(int msec); + virtual QGeoPositionInfo lastKnownPosition(bool fromSatellitePositioningMethodsOnly = false) const; + virtual QGeoPositionInfoSource::PositioningMethods supportedPositioningMethods() const; + virtual int minimumUpdateInterval() const; + virtual QGeoPositionInfoSource::Error error() const; + +public slots: + virtual void startUpdates(); + virtual void stopUpdates(); + virtual void requestUpdate(int timeout = 0); + +protected: + virtual bool parsePosInfoFromNmeaData(const char *data /Encoding="None"/, int size, QGeoPositionInfo *posInfo, bool *hasFix); + +public: +%If (Qt_5_3_0 -) + void setUserEquivalentRangeError(double uere); +%End +%If (Qt_5_3_0 -) + double userEquivalentRangeError() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/QtPrintSupport.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/QtPrintSupport.toml new file mode 100644 index 00000000..324cc7de --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/QtPrintSupport.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtPrintSupport. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/QtPrintSupportmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/QtPrintSupportmod.sip new file mode 100644 index 00000000..0a125b06 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/QtPrintSupportmod.sip @@ -0,0 +1,58 @@ +// QtPrintSupportmod.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtPrintSupport, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qabstractprintdialog.sip +%Include qpagesetupdialog.sip +%Include qprintdialog.sip +%Include qprintengine.sip +%Include qprinter.sip +%Include qprinterinfo.sip +%Include qprintpreviewdialog.sip +%Include qprintpreviewwidget.sip +%Include qpyprintsupport_qlist.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qabstractprintdialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qabstractprintdialog.sip new file mode 100644 index 00000000..cfd1ab45 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qabstractprintdialog.sip @@ -0,0 +1,174 @@ +// qabstractprintdialog.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_Printer) + +class QAbstractPrintDialog : QDialog +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + #if defined(SIP_FEATURE_PyQt_PrintDialog) + {sipName_QPageSetupDialog, &sipType_QPageSetupDialog, -1, 1}, + #else + {0, 0, -1, 1}, + #endif + #if defined(SIP_FEATURE_PyQt_PrintPreviewWidget) + {sipName_QPrintPreviewWidget, &sipType_QPrintPreviewWidget, -1, 2}, + #else + {0, 0, -1, 2}, + #endif + #if defined(SIP_FEATURE_PyQt_PrintPreviewDialog) + {sipName_QPrintPreviewDialog, &sipType_QPrintPreviewDialog, -1, 3}, + #else + {0, 0, -1, 3}, + #endif + #if defined(SIP_FEATURE_PyQt_Printer) + {sipName_QAbstractPrintDialog, &sipType_QAbstractPrintDialog, 4, -1}, + #else + {0, 0, 4, -1}, + #endif + #if defined(SIP_FEATURE_PyQt_PrintDialog) + {sipName_QPrintDialog, &sipType_QPrintDialog, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum PrintRange + { + AllPages, + Selection, + PageRange, + CurrentPage, + }; + +%If (Py_v3) + + enum PrintDialogOption + { + None /PyName=None_/, + PrintToFile, + PrintSelection, + PrintPageRange, + PrintCollateCopies, + PrintShowPageSize, + PrintCurrentPage, + }; + +%End +%If (!Py_v3) +// Backward compatible PrintDialogOption for Python v2. +// Note that we have to duplicate the whole enum because MetaSIP doesn't +// support handwritten code in enum definitions. + +enum PrintDialogOption { + None, + None /PyName=None_/, + PrintToFile, + PrintSelection, + PrintPageRange, + PrintCollateCopies, + PrintShowPageSize, + PrintCurrentPage +}; +%End + typedef QFlags PrintDialogOptions; +%If (PyQt_PrintDialog) + QAbstractPrintDialog(QPrinter *printer, QWidget *parent /TransferThis/ = 0); + virtual ~QAbstractPrintDialog(); + virtual int exec() = 0 /PyName=exec_,ReleaseGIL/; +%If (Py_v3) + virtual int exec() = 0 /ReleaseGIL/; +%End + void setPrintRange(QAbstractPrintDialog::PrintRange range); + QAbstractPrintDialog::PrintRange printRange() const; + void setMinMax(int min, int max); + int minPage() const; + int maxPage() const; + void setFromTo(int fromPage, int toPage); + int fromPage() const; + int toPage() const; + QPrinter *printer() const; + void setOptionTabs(const QList &tabs); +%If (Qt_5_6_0 -) + void setEnabledOptions(QAbstractPrintDialog::PrintDialogOptions options); +%End +%If (Qt_5_6_0 -) + QAbstractPrintDialog::PrintDialogOptions enabledOptions() const; +%End + +private: + QAbstractPrintDialog(const QAbstractPrintDialog &); + +public: +%End // PyQt_PrintDialog +}; + +%End +%If (PyQt_Printer) +QFlags operator|(QAbstractPrintDialog::PrintDialogOption f1, QFlags f2); +%End + +%ModuleHeaderCode +// Imports from QtCore. +typedef sipErrorState (*pyqt5_qtprintsupport_get_connection_parts_t)(PyObject *, QObject *, const char *, bool, QObject **, QByteArray &); +extern pyqt5_qtprintsupport_get_connection_parts_t pyqt5_qtprintsupport_get_connection_parts; +%End + +%ModuleCode +// Imports from QtCore. +pyqt5_qtprintsupport_get_connection_parts_t pyqt5_qtprintsupport_get_connection_parts; +%End + +%PostInitialisationCode +// Imports from QtCore. +pyqt5_qtprintsupport_get_connection_parts = (pyqt5_qtprintsupport_get_connection_parts_t)sipImportSymbol("pyqt5_get_connection_parts"); +Q_ASSERT(pyqt5_qtprintsupport_get_connection_parts); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qpagesetupdialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qpagesetupdialog.sip new file mode 100644 index 00000000..24322b09 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qpagesetupdialog.sip @@ -0,0 +1,86 @@ +// qpagesetupdialog.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_PrintDialog) + +class QPageSetupDialog : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + QPageSetupDialog(QPrinter *printer, QWidget *parent /TransferThis/ = 0); + explicit QPageSetupDialog(QWidget *parent /TransferThis/ = 0); + virtual ~QPageSetupDialog(); + virtual void setVisible(bool visible); + virtual int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%MethodCode + // Transfer ownership back to Python (a modal dialog will probably have the + // main window as it's parent). This means the Qt dialog will be deleted when + // the Python wrapper is garbage collected. Although this is a little + // inconsistent, it saves having to code it explicitly to avoid the memory + // leak. + sipTransferBack(sipSelf); + + Py_BEGIN_ALLOW_THREADS + sipRes = sipSelfWasArg ? sipCpp->QPageSetupDialog::exec() + : sipCpp->exec(); + Py_END_ALLOW_THREADS +%End + + virtual int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,ReleaseGIL/; +%MethodCode + // Transfer ownership back to Python (a modal dialog will probably have the + // main window as it's parent). This means the Qt dialog will be deleted when + // the Python wrapper is garbage collected. Although this is a little + // inconsistent, it saves having to code it explicitly to avoid the memory + // leak. + sipTransferBack(sipSelf); + + Py_BEGIN_ALLOW_THREADS + sipRes = sipSelfWasArg ? sipCpp->QPageSetupDialog::exec() + : sipCpp->exec(); + Py_END_ALLOW_THREADS +%End + + virtual void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtprintsupport_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + virtual void done(int result); + QPrinter *printer(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintdialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintdialog.sip new file mode 100644 index 00000000..c3916760 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintdialog.sip @@ -0,0 +1,97 @@ +// qprintdialog.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_PrintDialog) + +class QPrintDialog : QAbstractPrintDialog +{ +%TypeHeaderCode +#include +%End + +public: + QPrintDialog(QPrinter *printer, QWidget *parent /TransferThis/ = 0); + explicit QPrintDialog(QWidget *parent /TransferThis/ = 0); + virtual ~QPrintDialog(); + virtual int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%MethodCode + // Transfer ownership back to Python (a modal dialog will probably have the + // main window as it's parent). This means the Qt dialog will be deleted when + // the Python wrapper is garbage collected. Although this is a little + // inconsistent, it saves having to code it explicitly to avoid the memory + // leak. + sipTransferBack(sipSelf); + + Py_BEGIN_ALLOW_THREADS + sipRes = sipSelfWasArg ? sipCpp->QPrintDialog::exec() + : sipCpp->exec(); + Py_END_ALLOW_THREADS +%End + +%If (Py_v3) + virtual int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,ReleaseGIL/; +%MethodCode + // Transfer ownership back to Python (a modal dialog will probably have the + // main window as it's parent). This means the Qt dialog will be deleted when + // the Python wrapper is garbage collected. Although this is a little + // inconsistent, it saves having to code it explicitly to avoid the memory + // leak. + sipTransferBack(sipSelf); + + Py_BEGIN_ALLOW_THREADS + sipRes = sipSelfWasArg ? sipCpp->QPrintDialog::exec() + : sipCpp->exec(); + Py_END_ALLOW_THREADS +%End + +%End +%If (WS_X11) + virtual void accept(); +%End + virtual void done(int result); + void setOption(QAbstractPrintDialog::PrintDialogOption option, bool on = true); + bool testOption(QAbstractPrintDialog::PrintDialogOption option) const; + void setOptions(QAbstractPrintDialog::PrintDialogOptions options); + QAbstractPrintDialog::PrintDialogOptions options() const; + virtual void setVisible(bool visible); + virtual void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtprintsupport_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + +signals: + void accepted(); + void accepted(QPrinter *printer); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintengine.sip new file mode 100644 index 00000000..246a5c52 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintengine.sip @@ -0,0 +1,86 @@ +// qprintengine.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_Printer) + +class QPrintEngine +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QPrintEngine(); + + enum PrintEnginePropertyKey + { + PPK_CollateCopies, + PPK_ColorMode, + PPK_Creator, + PPK_DocumentName, + PPK_FullPage, + PPK_NumberOfCopies, + PPK_Orientation, + PPK_OutputFileName, + PPK_PageOrder, + PPK_PageRect, + PPK_PageSize, + PPK_PaperRect, + PPK_PaperSource, + PPK_PrinterName, + PPK_PrinterProgram, + PPK_Resolution, + PPK_SelectionOption, + PPK_SupportedResolutions, + PPK_WindowsPageSize, + PPK_FontEmbedding, + PPK_Duplex, + PPK_PaperSources, + PPK_CustomPaperSize, + PPK_PageMargins, + PPK_PaperSize, + PPK_CopyCount, + PPK_SupportsMultipleCopies, +%If (Qt_5_1_0 -) + PPK_PaperName, +%End +%If (Qt_5_3_0 -) + PPK_QPageSize, +%End +%If (Qt_5_3_0 -) + PPK_QPageMargins, +%End +%If (Qt_5_3_0 -) + PPK_QPageLayout, +%End + PPK_CustomBase, + }; + + virtual void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant &value) = 0; + virtual QVariant property(QPrintEngine::PrintEnginePropertyKey key) const = 0; + virtual bool newPage() = 0; + virtual bool abort() = 0; + virtual int metric(QPaintDevice::PaintDeviceMetric) const = 0; + virtual QPrinter::PrinterState printerState() const = 0; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprinter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprinter.sip new file mode 100644 index 00000000..8ebea0e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprinter.sip @@ -0,0 +1,216 @@ +// qprinter.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_Printer) + +class QPrinter : QPagedPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + enum PrinterMode + { + ScreenResolution, + PrinterResolution, + HighResolution, + }; + + explicit QPrinter(QPrinter::PrinterMode mode = QPrinter::ScreenResolution); + QPrinter(const QPrinterInfo &printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution); + virtual ~QPrinter(); + + enum Orientation + { + Portrait, + Landscape, + }; + + typedef QPagedPaintDevice::PageSize PaperSize; + + enum PageOrder + { + FirstPageFirst, + LastPageFirst, + }; + + enum ColorMode + { + GrayScale, + Color, + }; + + enum PaperSource + { + OnlyOne, + Lower, + Middle, + Manual, + Envelope, + EnvelopeManual, + Auto, + Tractor, + SmallFormat, + LargeFormat, + LargeCapacity, + Cassette, + FormSource, + MaxPageSource, +%If (Qt_5_3_0 -) + Upper, +%End +%If (Qt_5_3_0 -) + CustomSource, +%End +%If (Qt_5_3_0 -) + LastPaperSource, +%End + }; + + enum PrinterState + { + Idle, + Active, + Aborted, + Error, + }; + + enum OutputFormat + { + NativeFormat, + PdfFormat, + }; + + enum PrintRange + { + AllPages, + Selection, + PageRange, + CurrentPage, + }; + + enum Unit + { + Millimeter, + Point, + Inch, + Pica, + Didot, + Cicero, + DevicePixel, + }; + + enum DuplexMode + { + DuplexNone, + DuplexAuto, + DuplexLongSide, + DuplexShortSide, + }; + + void setOutputFormat(QPrinter::OutputFormat format); + QPrinter::OutputFormat outputFormat() const; + void setPrinterName(const QString &); + QString printerName() const; + bool isValid() const; + void setOutputFileName(const QString &); + QString outputFileName() const; + void setPrintProgram(const QString &); + QString printProgram() const; + void setDocName(const QString &); + QString docName() const; + void setCreator(const QString &); + QString creator() const; + void setOrientation(QPrinter::Orientation); + QPrinter::Orientation orientation() const; + virtual void setPageSizeMM(const QSizeF &size); + void setPaperSize(QPrinter::PaperSize); + QPrinter::PaperSize paperSize() const; + void setPaperSize(const QSizeF &paperSize, QPrinter::Unit unit); + QSizeF paperSize(QPrinter::Unit unit) const; + void setPageOrder(QPrinter::PageOrder); + QPrinter::PageOrder pageOrder() const; + void setResolution(int); + int resolution() const; + void setColorMode(QPrinter::ColorMode); + QPrinter::ColorMode colorMode() const; + void setCollateCopies(bool collate); + bool collateCopies() const; + void setFullPage(bool); + bool fullPage() const; + void setCopyCount(int); + int copyCount() const; + bool supportsMultipleCopies() const; + void setPaperSource(QPrinter::PaperSource); + QPrinter::PaperSource paperSource() const; + void setDuplex(QPrinter::DuplexMode duplex); + QPrinter::DuplexMode duplex() const; + QList supportedResolutions() const; + void setFontEmbeddingEnabled(bool enable); + bool fontEmbeddingEnabled() const; + void setDoubleSidedPrinting(bool enable); + bool doubleSidedPrinting() const; + QRect paperRect() const; + QRect pageRect() const; + QRectF paperRect(QPrinter::Unit) const; + QRectF pageRect(QPrinter::Unit) const; +%If (WS_X11 || WS_MACX) + QString printerSelectionOption() const; +%End +%If (WS_X11 || WS_MACX) + void setPrinterSelectionOption(const QString &); +%End + virtual bool newPage(); + bool abort(); + QPrinter::PrinterState printerState() const; + virtual QPaintEngine *paintEngine() const; + QPrintEngine *printEngine() const; + void setFromTo(int fromPage, int toPage); + int fromPage() const; + int toPage() const; + void setPrintRange(QPrinter::PrintRange range); + QPrinter::PrintRange printRange() const; + virtual void setMargins(const QPagedPaintDevice::Margins &m); + void setPageMargins(qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit); + void getPageMargins(qreal *left, qreal *top, qreal *right, qreal *bottom, QPrinter::Unit unit) const; + +protected: + virtual int metric(QPaintDevice::PaintDeviceMetric) const; + void setEngines(QPrintEngine *printEngine, QPaintEngine *paintEngine); + +public: +%If (Qt_5_1_0 -) + void setPaperName(const QString &paperName); +%End +%If (Qt_5_1_0 -) + QString paperName() const; +%End +%If (Qt_5_10_0 -) + void setPdfVersion(QPagedPaintDevice::PdfVersion version); +%End +%If (Qt_5_10_0 -) + QPagedPaintDevice::PdfVersion pdfVersion() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprinterinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprinterinfo.sip new file mode 100644 index 00000000..ef0b6251 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprinterinfo.sip @@ -0,0 +1,93 @@ +// qprinterinfo.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_Printer) + +class QPrinterInfo +{ +%TypeHeaderCode +#include +%End + +public: + QPrinterInfo(); + QPrinterInfo(const QPrinterInfo &src); + explicit QPrinterInfo(const QPrinter &printer); + ~QPrinterInfo(); + QString printerName() const; + bool isNull() const; + bool isDefault() const; + QList supportedPaperSizes() const; +%If (Qt_5_1_0 -) + QList> supportedSizesWithNames() const; +%End + static QList availablePrinters(); + static QPrinterInfo defaultPrinter(); + QString description() const; + QString location() const; + QString makeAndModel() const; + static QPrinterInfo printerInfo(const QString &printerName); +%If (Qt_5_3_0 -) + bool isRemote() const; +%End +%If (Qt_5_3_0 -) + QPrinter::PrinterState state() const; +%End +%If (Qt_5_3_0 -) + QList supportedPageSizes() const; +%End +%If (Qt_5_3_0 -) + QPageSize defaultPageSize() const; +%End +%If (Qt_5_3_0 -) + bool supportsCustomPageSizes() const; +%End +%If (Qt_5_3_0 -) + QPageSize minimumPhysicalPageSize() const; +%End +%If (Qt_5_3_0 -) + QPageSize maximumPhysicalPageSize() const; +%End +%If (Qt_5_3_0 -) + QList supportedResolutions() const; +%End +%If (Qt_5_3_0 -) + static QStringList availablePrinterNames(); +%End +%If (Qt_5_3_0 -) + static QString defaultPrinterName(); +%End +%If (Qt_5_4_0 -) + QPrinter::DuplexMode defaultDuplexMode() const; +%End +%If (Qt_5_4_0 -) + QList supportedDuplexModes() const; +%End +%If (Qt_5_13_0 -) + QPrinter::ColorMode defaultColorMode() const; +%End +%If (Qt_5_13_0 -) + QList supportedColorModes() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintpreviewdialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintpreviewdialog.sip new file mode 100644 index 00000000..4ea72f0b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintpreviewdialog.sip @@ -0,0 +1,59 @@ +// qprintpreviewdialog.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_PrintPreviewDialog) + +class QPrintPreviewDialog : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + QPrintPreviewDialog(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + QPrintPreviewDialog(QPrinter *printer, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QPrintPreviewDialog(); + virtual void setVisible(bool visible); + virtual void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtprintsupport_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + QPrinter *printer(); + virtual void done(int result); + +signals: + void paintRequested(QPrinter *printer); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintpreviewwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintpreviewwidget.sip new file mode 100644 index 00000000..ec3e0617 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qprintpreviewwidget.sip @@ -0,0 +1,85 @@ +// qprintpreviewwidget.sip generated by MetaSIP +// +// This file is part of the QtPrintSupport Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_PrintPreviewWidget) + +class QPrintPreviewWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + enum ViewMode + { + SinglePageView, + FacingPagesView, + AllPagesView, + }; + + enum ZoomMode + { + CustomZoom, + FitToWidth, + FitInView, + }; + + QPrintPreviewWidget(QPrinter *printer, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + QPrintPreviewWidget(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QPrintPreviewWidget(); + qreal zoomFactor() const; + QPrinter::Orientation orientation() const; + QPrintPreviewWidget::ViewMode viewMode() const; + QPrintPreviewWidget::ZoomMode zoomMode() const; + int currentPage() const; + +public slots: + virtual void setVisible(bool visible); + void print() /PyName=print_/; +%If (Py_v3) + void print(); +%End + void zoomIn(qreal factor = 1.1); + void zoomOut(qreal factor = 1.1); + void setZoomFactor(qreal zoomFactor); + void setOrientation(QPrinter::Orientation orientation); + void setViewMode(QPrintPreviewWidget::ViewMode viewMode); + void setZoomMode(QPrintPreviewWidget::ZoomMode zoomMode); + void setCurrentPage(int pageNumber); + void fitToWidth(); + void fitInView(); + void setLandscapeOrientation(); + void setPortraitOrientation(); + void setSinglePageViewMode(); + void setFacingPagesViewMode(); + void setAllPagesViewMode(); + void updatePreview(); + +signals: + void paintRequested(QPrinter *printer); + void previewChanged(); + +public: + int pageCount() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qpyprintsupport_qlist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qpyprintsupport_qlist.sip new file mode 100644 index 00000000..b519bcdf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtPrintSupport/qpyprintsupport_qlist.sip @@ -0,0 +1,354 @@ +// This is the SIP interface definition for the QList based mapped types +// specific to the QtPrintSupport module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (PyQt_Printer) + +%MappedType QList + /TypeHintIn="Iterable[QPagedPaintDevice.PageSize]", + TypeHintOut="List[QPagedPaintDevice.PageSize]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QPagedPaintDevice_PageSize); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_QPagedPaintDevice_PageSize); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QPagedPaintDevice.PageSize' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + +%End + + +%If (PyQt_Printer) + +%If (Qt_5_4_0 -) + +%MappedType QList + /TypeHintIn="Iterable[QPrinter.DuplexMode]", + TypeHintOut="List[QPrinter.DuplexMode]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QPrinter_DuplexMode); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_QPrinter_DuplexMode); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QPrinter.DuplexMode' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + +%End + +%End + + +%If (PyQt_Printer) + +%If (Qt_5_13_0 -) + +%MappedType QList + /TypeHintIn="Iterable[QPrinter.ColorMode]", + TypeHintOut="List[QPrinter.ColorMode]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QPrinter_ColorMode); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_QPrinter_ColorMode); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QPrinter.ColorMode' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + +%End + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/QtQml.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/QtQml.toml new file mode 100644 index 00000000..b42c2808 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/QtQml.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtQml. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/QtQmlmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/QtQmlmod.sip new file mode 100644 index 00000000..cf0a060c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/QtQmlmod.sip @@ -0,0 +1,72 @@ +// QtQmlmod.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtQml, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtNetwork/QtNetworkmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qqml.sip +%Include qjsengine.sip +%Include qjsvalue.sip +%Include qjsvalueiterator.sip +%Include qqmlabstracturlinterceptor.sip +%Include qqmlapplicationengine.sip +%Include qqmlcomponent.sip +%Include qqmlcontext.sip +%Include qqmlengine.sip +%Include qqmlerror.sip +%Include qqmlexpression.sip +%Include qqmlextensionplugin.sip +%Include qqmlfileselector.sip +%Include qqmlincubator.sip +%Include qqmllist.sip +%Include qqmlnetworkaccessmanagerfactory.sip +%Include qqmlparserstatus.sip +%Include qqmlproperty.sip +%Include qqmlpropertymap.sip +%Include qqmlpropertyvaluesource.sip +%Include qqmlscriptstring.sip +%Include qmlattachedpropertiesobject.sip +%Include qmlregistertype.sip +%Include qpyqmllistproperty.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsengine.sip new file mode 100644 index 00000000..4c08ce9b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsengine.sip @@ -0,0 +1,159 @@ +// qjsengine.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +class QJSEngine : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QJSEngine, &sipType_QJSEngine, 8, 1}, + {sipName_QQmlComponent, &sipType_QQmlComponent, -1, 2}, + {sipName_QQmlContext, &sipType_QQmlContext, -1, 3}, + #if QT_VERSION >= 0x050f00 + {sipName_QQmlEngineExtensionPlugin, &sipType_QQmlEngineExtensionPlugin, -1, 4}, + #else + {0, 0, -1, 4}, + #endif + {sipName_QQmlExpression, &sipType_QQmlExpression, -1, 5}, + {sipName_QQmlExtensionPlugin, &sipType_QQmlExtensionPlugin, -1, 6}, + #if QT_VERSION >= 0x050200 + {sipName_QQmlFileSelector, &sipType_QQmlFileSelector, -1, 7}, + #else + {0, 0, -1, 7}, + #endif + {sipName_QQmlPropertyMap, &sipType_QQmlPropertyMap, -1, -1}, + {sipName_QQmlEngine, &sipType_QQmlEngine, 9, -1}, + #if QT_VERSION >= 0x050100 + {sipName_QQmlApplicationEngine, &sipType_QQmlApplicationEngine, -1, -1}, + #else + {0, 0, -1, -1}, + #endif + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + QJSEngine(); + explicit QJSEngine(QObject *parent /TransferThis/); + virtual ~QJSEngine(); + QJSValue globalObject() const; + QJSValue evaluate(const QString &program, const QString &fileName = QString(), int lineNumber = 1) /ReleaseGIL/; + QJSValue newObject(); + QJSValue newArray(uint length = 0); + QJSValue newQObject(QObject *object /Transfer/); + void collectGarbage(); +%If (Qt_5_4_0 -) + void installTranslatorFunctions(const QJSValue &object = QJSValue()); +%End +%If (Qt_5_6_0 -) + + enum Extension + { + TranslationExtension, + ConsoleExtension, + GarbageCollectionExtension, + AllExtensions, + }; + +%End +%If (Qt_5_6_0 -) + typedef QFlags Extensions; +%End +%If (Qt_5_6_0 -) + void installExtensions(QJSEngine::Extensions extensions, const QJSValue &object = QJSValue()); +%End +%If (Qt_5_8_0 -) + QJSValue newQMetaObject(const QMetaObject *metaObject); +%End +%If (Qt_5_12_0 -) + QJSValue importModule(const QString &fileName); +%End +%If (Qt_5_12_0 -) + QJSValue newErrorObject(QJSValue::ErrorType errorType, const QString &message = QString()); +%End +%If (Qt_5_12_0 -) + void throwError(const QString &message); +%End +%If (Qt_5_12_0 -) + void throwError(QJSValue::ErrorType errorType, const QString &message = QString()); +%End +%If (Qt_5_14_0 -) + void setInterrupted(bool interrupted); +%End +%If (Qt_5_14_0 -) + bool isInterrupted() const; +%End +%If (Qt_5_15_0 -) + QString uiLanguage() const; +%End +%If (Qt_5_15_0 -) + void setUiLanguage(const QString &language); +%End + +signals: +%If (Qt_5_15_0 -) + void uiLanguageChanged(); +%End +}; + +%If (Qt_5_5_0 -) +QJSEngine *qjsEngine(const QObject *); +%End +%If (Qt_5_6_0 -) +QFlags operator|(QJSEngine::Extension f1, QFlags f2); +%End + +%ModuleHeaderCode +#include "qpyqml_api.h" +%End + +%PostInitialisationCode +qpyqml_post_init(sipModuleDict); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsvalue.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsvalue.sip new file mode 100644 index 00000000..efc65e0a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsvalue.sip @@ -0,0 +1,100 @@ +// qjsvalue.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +typedef QList QJSValueList; + +class QJSValue /TypeHintIn="Union[QJSValue, QJSValue.SpecialValue, bool, int, float, QString]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToTypeCode +if (!sipIsErr) + return qpyqml_canConvertTo_QJSValue(sipPy); + +return qpyqml_convertTo_QJSValue(sipPy, sipTransferObj, sipCppPtr, sipIsErr); +%End + +public: + enum SpecialValue + { + NullValue, + UndefinedValue, + }; + + QJSValue(QJSValue::SpecialValue value /Constrained/ = QJSValue::UndefinedValue); + QJSValue(const QJSValue &other); + ~QJSValue(); + bool isBool() const; + bool isNumber() const; + bool isNull() const; + bool isString() const; + bool isUndefined() const; + bool isVariant() const; + bool isQObject() const; + bool isObject() const; + bool isDate() const; + bool isRegExp() const; + bool isArray() const; + bool isError() const; + QString toString() const; + double toNumber() const; + qint32 toInt() const; + quint32 toUInt() const; + bool toBool() const; + QVariant toVariant() const; + QObject *toQObject() const; + QDateTime toDateTime() const; + bool equals(const QJSValue &other) const; + bool strictlyEquals(const QJSValue &other) const; + QJSValue prototype() const; + void setPrototype(const QJSValue &prototype); + QJSValue property(const QString &name) const; + void setProperty(const QString &name, const QJSValue &value); + bool hasProperty(const QString &name) const; + bool hasOwnProperty(const QString &name) const; + QJSValue property(quint32 arrayIndex) const; + void setProperty(quint32 arrayIndex, const QJSValue &value); + bool deleteProperty(const QString &name); + bool isCallable() const; + QJSValue call(const QJSValueList &args = QJSValueList()); + QJSValue callWithInstance(const QJSValue &instance, const QJSValueList &args = QJSValueList()); + QJSValue callAsConstructor(const QJSValueList &args = QJSValueList()); +%If (Qt_5_12_0 -) + + enum ErrorType + { + GenericError, + EvalError, + RangeError, + ReferenceError, + SyntaxError, + TypeError, + URIError, + }; + +%End +%If (Qt_5_12_0 -) + QJSValue::ErrorType errorType() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsvalueiterator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsvalueiterator.sip new file mode 100644 index 00000000..e686762f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qjsvalueiterator.sip @@ -0,0 +1,39 @@ +// qjsvalueiterator.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QJSValueIterator +{ +%TypeHeaderCode +#include +%End + +public: + QJSValueIterator(const QJSValue &value); + ~QJSValueIterator(); + bool hasNext() const; + bool next(); + QString name() const; + QJSValue value() const; + +private: + QJSValueIterator(const QJSValueIterator &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qmlattachedpropertiesobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qmlattachedpropertiesobject.sip new file mode 100644 index 00000000..bb82213d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qmlattachedpropertiesobject.sip @@ -0,0 +1,46 @@ +// This is the SIP specification of the qmlAttachedPropertiesObject() function. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleHeaderCode +#include +%End + + +QObject *qmlAttachedPropertiesObject(SIP_PYTYPE, QObject *object, + bool create = true); +%MethodCode + QObject *proxy = qpyqml_find_proxy_for(a1); + + if (!proxy) + { + sipError = sipErrorFail; + } + else + { + static QHash cache; + + int idx = cache.value((PyTypeObject *)a0, -1); + const QMetaObject *mo = pyqt5_qtqml_get_qmetaobject((PyTypeObject *)a0); + + sipRes = qmlAttachedPropertiesObject(&idx, proxy, mo, a2); + + cache.insert((PyTypeObject *)a0, idx); + } +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qmlregistertype.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qmlregistertype.sip new file mode 100644 index 00000000..50f8a1ff --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qmlregistertype.sip @@ -0,0 +1,102 @@ +// This is the SIP specification of the qmlRegisterType() function. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleHeaderCode +#include +%End + + +%ModuleCode +// Imports from QtCore. +pyqt5_qtqml_get_qmetaobject_t pyqt5_qtqml_get_qmetaobject; +%End + + +%PostInitialisationCode +// Imports from QtCore. +pyqt5_qtqml_get_qmetaobject = (pyqt5_qtqml_get_qmetaobject_t)sipImportSymbol( + "pyqt5_get_qmetaobject"); +Q_ASSERT(pyqt5_qtqml_get_qmetaobject); +%End + + +int qmlRegisterRevision(SIP_PYTYPE, int revision, const char *uri, int major, + int minor, SIP_PYTYPE attachedProperties = 0); +%MethodCode + if ((sipRes = qpyqml_register_library_type((PyTypeObject *)a0, a2, a3, a4, 0, a1, (PyTypeObject *)a5)) < 0) + sipError = sipErrorFail; +%End + + +%If (Qt_5_2_0 -) +int qmlRegisterSingletonType(const QUrl &url, const char *uri, int major, + int minor, const char *qmlName); +%End + + +int qmlRegisterSingletonType(SIP_PYTYPE, const char *uri, int major, int minor, + const char *typeName, SIP_PYCALLABLE factory /TypeHint="Callable[[QQmlEngine, QJSEngine], Any]"/); +%MethodCode + if ((sipRes = qpyqml_register_singleton_type((PyTypeObject *)a0, a1, a2, a3, a4, a5)) < 0) + sipError = sipErrorFail; +%End + + +int qmlRegisterType(const QUrl &url, const char *uri, int major, int minor, + const char *qmlName); + + +int qmlRegisterType(SIP_PYTYPE, SIP_PYTYPE attachedProperties = 0); +%MethodCode + if ((sipRes = qpyqml_register_type((PyTypeObject *)a0, (PyTypeObject *)a1)) < 0) + sipError = sipErrorFail; +%End + + +int qmlRegisterType(SIP_PYTYPE, const char *uri, int major, int minor, + const char *qmlName, SIP_PYTYPE attachedProperties = 0); +%MethodCode + if ((sipRes = qpyqml_register_library_type((PyTypeObject *)a0, a1, a2, a3, a4, -1, (PyTypeObject *)a5)) < 0) + sipError = sipErrorFail; +%End + + +int qmlRegisterType(SIP_PYTYPE, int revision, const char *uri, int major, + int minor, const char *qmlName, SIP_PYTYPE attachedProperties = 0); +%MethodCode + if ((sipRes = qpyqml_register_library_type((PyTypeObject *)a0, a2, a3, a4, a5, a1, (PyTypeObject *)a6)) < 0) + sipError = sipErrorFail; +%End + + +int qmlRegisterUncreatableType(SIP_PYTYPE, const char *uri, int major, + int minor, const char *qmlName, const QString &reason); +%MethodCode + if ((sipRes = qpyqml_register_uncreatable_type((PyTypeObject *)a0, a1, a2, a3, a4, *a5, -1)) < 0) + sipError = sipErrorFail; +%End + + +int qmlRegisterUncreatableType(SIP_PYTYPE, int revision, const char *uri, + int major, int minor, const char *qmlName, const QString &reason); +%MethodCode + if ((sipRes = qpyqml_register_uncreatable_type((PyTypeObject *)a0, a2, a3, a4, a5, *a6, a1)) < 0) + sipError = sipErrorFail; +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qpyqmllistproperty.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qpyqmllistproperty.sip new file mode 100644 index 00000000..fca2e24b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qpyqmllistproperty.sip @@ -0,0 +1,40 @@ +// This is the SIP specification of the QQmlListProperty mapped type. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QQmlListProperty /TypeHint="QQmlListProperty"/ +{ +%TypeHeaderCode +#include "qpyqmllistpropertywrapper.h" +%End + +%ConvertFromTypeCode + return qpyqml_QQmlListPropertyWrapper_New(sipCpp, 0); +%End + +%ConvertToTypeCode + if (sipIsErr == NULL) + return PyObject_IsInstance(sipPy, (PyObject *)qpyqml_QQmlListPropertyWrapper_TypeObject); + + *sipCppPtr = ((qpyqml_QQmlListPropertyWrapper *)sipPy)->qml_list_property; + + // It isn't a temporary copy. + return 0; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqml.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqml.sip new file mode 100644 index 00000000..549877c0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqml.sip @@ -0,0 +1,30 @@ +// qqml.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +void qmlClearTypeRegistrations(); +%If (Qt_5_12_0 -) +int qmlTypeId(const char *uri, int versionMajor, int versionMinor, const char *qmlName); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlabstracturlinterceptor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlabstracturlinterceptor.sip new file mode 100644 index 00000000..b776ec71 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlabstracturlinterceptor.sip @@ -0,0 +1,45 @@ +// qqmlabstracturlinterceptor.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QQmlAbstractUrlInterceptor +{ +%TypeHeaderCode +#include +%End + +public: + enum DataType + { + QmlFile, + JavaScriptFile, + QmldirFile, + UrlString, + }; + + QQmlAbstractUrlInterceptor(); + virtual ~QQmlAbstractUrlInterceptor(); + virtual QUrl intercept(const QUrl &path, QQmlAbstractUrlInterceptor::DataType type) = 0; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlapplicationengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlapplicationengine.sip new file mode 100644 index 00000000..02e0ed62 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlapplicationengine.sip @@ -0,0 +1,57 @@ +// qqmlapplicationengine.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QQmlApplicationEngine : QQmlEngine +{ +%TypeHeaderCode +#include +%End + +public: + QQmlApplicationEngine(QObject *parent /TransferThis/ = 0); + QQmlApplicationEngine(const QUrl &url, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QQmlApplicationEngine(const QString &filePath, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + virtual ~QQmlApplicationEngine(); +%If (Qt_5_9_0 -) + QList rootObjects() const; +%End +%If (- Qt_5_9_0) +%If (Qt_5_15_0 -) + QList rootObjects(); +%End +%End + +public slots: + void load(const QUrl &url) /ReleaseGIL/; + void load(const QString &filePath) /ReleaseGIL/; + void loadData(const QByteArray &data, const QUrl &url = QUrl()) /ReleaseGIL/; +%If (Qt_5_14_0 -) + void setInitialProperties(const QVariantMap &initialProperties); +%End + +signals: + void objectCreated(QObject *object, const QUrl &url); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlcomponent.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlcomponent.sip new file mode 100644 index 00000000..a1be56a4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlcomponent.sip @@ -0,0 +1,85 @@ +// qqmlcomponent.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlComponent : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum CompilationMode + { + PreferSynchronous, + Asynchronous, + }; + + QQmlComponent(QQmlEngine *, QObject *parent /TransferThis/ = 0); + QQmlComponent(QQmlEngine *, const QString &fileName, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QQmlComponent(QQmlEngine *, const QString &fileName, QQmlComponent::CompilationMode mode, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QQmlComponent(QQmlEngine *, const QUrl &url, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QQmlComponent(QQmlEngine *, const QUrl &url, QQmlComponent::CompilationMode mode, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QQmlComponent(QObject *parent /TransferThis/ = 0); + virtual ~QQmlComponent(); + + enum Status + { + Null, + Ready, + Loading, + Error, + }; + + QQmlComponent::Status status() const; + bool isNull() const; + bool isReady() const; + bool isError() const; + bool isLoading() const; + QList errors() const; + qreal progress() const; + QUrl url() const; + virtual QObject *create(QQmlContext *context = 0) /TransferBack/; +%If (Qt_5_14_0 -) + QObject *createWithInitialProperties(const QVariantMap &initialProperties, QQmlContext *context = 0) /TransferBack/; +%End + virtual QObject *beginCreate(QQmlContext *) /TransferBack/; + virtual void completeCreate(); + void create(QQmlIncubator &, QQmlContext *context = 0, QQmlContext *forContext = 0); + QQmlContext *creationContext() const; + +public slots: + void loadUrl(const QUrl &url) /ReleaseGIL/; + void loadUrl(const QUrl &url, QQmlComponent::CompilationMode mode) /ReleaseGIL/; + void setData(const QByteArray &, const QUrl &baseUrl); + +signals: + void statusChanged(QQmlComponent::Status); + void progressChanged(qreal); + +public: +%If (Qt_5_12_0 -) + QQmlEngine *engine() const; +%End +%If (Qt_5_14_0 -) + void setInitialProperties(QObject *component, const QVariantMap &properties); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlcontext.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlcontext.sip new file mode 100644 index 00000000..d5534d20 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlcontext.sip @@ -0,0 +1,61 @@ +// qqmlcontext.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlContext : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QQmlContext(QQmlEngine *engine, QObject *parent /TransferThis/ = 0); + QQmlContext(QQmlContext *parentContext, QObject *parent /TransferThis/ = 0); + virtual ~QQmlContext(); + bool isValid() const; + QQmlEngine *engine() const; + QQmlContext *parentContext() const; + QObject *contextObject() const; + void setContextObject(QObject *); + QVariant contextProperty(const QString &) const; + void setContextProperty(const QString &, QObject *); + void setContextProperty(const QString &, const QVariant &); + QString nameForObject(QObject *) const; + QUrl resolvedUrl(const QUrl &); + void setBaseUrl(const QUrl &); + QUrl baseUrl() const; +%If (Qt_5_11_0 -) + + struct PropertyPair + { +%TypeHeaderCode +#include +%End + + QString name; + QVariant value; + }; + +%End +%If (Qt_5_11_0 -) + void setContextProperties(const QVector &properties); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlengine.sip new file mode 100644 index 00000000..c800d896 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlengine.sip @@ -0,0 +1,193 @@ +// qqmlengine.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlImageProviderBase /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum ImageType + { + Image, + Pixmap, + Texture, +%If (Qt_5_6_0 -) + ImageResponse, +%End + }; + + enum Flag + { + ForceAsynchronousImageLoading, + }; + + typedef QFlags Flags; + virtual ~QQmlImageProviderBase(); + virtual QQmlImageProviderBase::ImageType imageType() const = 0; + virtual QQmlImageProviderBase::Flags flags() const = 0; + +private: + QQmlImageProviderBase(); +}; + +QFlags operator|(QQmlImageProviderBase::Flag f1, QFlags f2); + +class QQmlEngine : QJSEngine +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_1 -) + explicit QQmlEngine(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QQmlEngine(QObject *parent /TransferThis/ = 0); +%End + virtual ~QQmlEngine(); + QQmlContext *rootContext() const; + void clearComponentCache(); + void trimComponentCache(); + QStringList importPathList() const; + void setImportPathList(const QStringList &paths); + void addImportPath(const QString &dir); + QStringList pluginPathList() const; + void setPluginPathList(const QStringList &paths); + void addPluginPath(const QString &dir); + bool addNamedBundle(const QString &name, const QString &fileName); + bool importPlugin(const QString &filePath, const QString &uri, QList *errors /GetWrapper/); +%MethodCode + int orig_size = (a2 ? a2->size() : 0); + + sipRes = sipCpp->importPlugin(*a0, *a1, a2); + + if (a2) + { + for (int i = a2->size(); i > orig_size; --i) + { + QQmlError *new_error = new QQmlError(a2->at(i - orig_size - 1)); + PyObject *new_error_obj = sipConvertFromNewType(new_error, sipType_QQmlError, 0); + + if (!new_error_obj) + { + delete new_error; + sipError = sipErrorFail; + break; + } + + if (PyList_Insert(a2Wrapper, 0, new_error_obj) < 0) + { + Py_DECREF(new_error_obj); + sipError = sipErrorFail; + break; + } + + Py_DECREF(new_error_obj); + } + } +%End + + void setNetworkAccessManagerFactory(QQmlNetworkAccessManagerFactory * /KeepReference/); + QQmlNetworkAccessManagerFactory *networkAccessManagerFactory() const; + QNetworkAccessManager *networkAccessManager() const; + void addImageProvider(const QString &id, QQmlImageProviderBase * /Transfer/); + QQmlImageProviderBase *imageProvider(const QString &id) const; + void removeImageProvider(const QString &id); + void setIncubationController(QQmlIncubationController * /KeepReference/); + QQmlIncubationController *incubationController() const; + void setOfflineStoragePath(const QString &dir); + QString offlineStoragePath() const; + QUrl baseUrl() const; + void setBaseUrl(const QUrl &); + bool outputWarningsToStandardError() const; + void setOutputWarningsToStandardError(bool); + static QQmlContext *contextForObject(const QObject *); + static void setContextForObject(QObject *, QQmlContext *); + + enum ObjectOwnership + { + CppOwnership, + JavaScriptOwnership, + }; + + static void setObjectOwnership(QObject * /GetWrapper/, QQmlEngine::ObjectOwnership); +%MethodCode + QQmlEngine::ObjectOwnership old = QQmlEngine::objectOwnership(a0); + + QQmlEngine::setObjectOwnership(a0, a1); + + if (old != a1 && !a0->parent()) + { + if (old == QQmlEngine::CppOwnership) + sipTransferTo(a0Wrapper, Py_None); + else + sipTransferBack(a0Wrapper); + } +%End + + static QQmlEngine::ObjectOwnership objectOwnership(QObject *); + +protected: + virtual bool event(QEvent *); + +signals: + void quit(); + void warnings(const QList &warnings); +%If (Qt_5_8_0 -) + void exit(int retCode); +%End + +public: +%If (Qt_5_9_0 -) + QString offlineStorageDatabaseFilePath(const QString &databaseName) const; +%End + +public slots: +%If (Qt_5_10_0 -) + void retranslate(); +%End + +public: +%If (Qt_5_12_0 -) + SIP_PYOBJECT singletonInstance(int qmlTypeId) /TypeHint="QObject"/; +%MethodCode + QJSValue instance = sipCpp->singletonInstance(a0); + + if (instance.isQObject()) + { + sipRes = sipConvertFromType(instance.toQObject(), sipType_QObject, NULL); + + if (!sipRes) + sipError = sipErrorFail; + } + else + { + sipRes = Py_None; + Py_INCREF(sipRes); + } +%End + +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlerror.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlerror.sip new file mode 100644 index 00000000..6fa1688d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlerror.sip @@ -0,0 +1,55 @@ +// qqmlerror.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlError +{ +%TypeHeaderCode +#include +%End + +public: + QQmlError(); + QQmlError(const QQmlError &); + ~QQmlError(); + bool isValid() const; + QUrl url() const; + void setUrl(const QUrl &); + QString description() const; + void setDescription(const QString &); + int line() const; + void setLine(int); + int column() const; + void setColumn(int); + QString toString() const; +%If (Qt_5_2_0 -) + QObject *object() const; +%End +%If (Qt_5_2_0 -) + void setObject(QObject *); +%End +%If (Qt_5_9_0 -) + QtMsgType messageType() const; +%End +%If (Qt_5_9_0 -) + void setMessageType(QtMsgType messageType); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlexpression.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlexpression.sip new file mode 100644 index 00000000..2f34af9b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlexpression.sip @@ -0,0 +1,52 @@ +// qqmlexpression.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlExpression : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QQmlExpression(); + QQmlExpression(QQmlContext *, QObject *, const QString &, QObject *parent /TransferThis/ = 0); + QQmlExpression(const QQmlScriptString &, QQmlContext *context = 0, QObject *scope = 0, QObject *parent /TransferThis/ = 0); + virtual ~QQmlExpression(); + QQmlEngine *engine() const; + QQmlContext *context() const; + QString expression() const; + void setExpression(const QString &); + bool notifyOnValueChanged() const; + void setNotifyOnValueChanged(bool); + QString sourceFile() const; + int lineNumber() const; + int columnNumber() const; + void setSourceLocation(const QString &fileName, int line, int column = 0); + QObject *scopeObject() const; + bool hasError() const; + void clearError(); + QQmlError error() const; + QVariant evaluate(bool *valueIsUndefined = 0) /ReleaseGIL/; + +signals: + void valueChanged(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlextensionplugin.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlextensionplugin.sip new file mode 100644 index 00000000..b4000d39 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlextensionplugin.sip @@ -0,0 +1,53 @@ +// qqmlextensionplugin.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlExtensionPlugin : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QQmlExtensionPlugin(QObject *parent /TransferThis/ = 0); + virtual ~QQmlExtensionPlugin(); + virtual void registerTypes(const char *uri) = 0; + virtual void initializeEngine(QQmlEngine *engine, const char *uri); +%If (Qt_5_1_0 -) + QUrl baseUrl() const; +%End +}; + +%If (Qt_5_15_0 -) + +class QQmlEngineExtensionPlugin : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QQmlEngineExtensionPlugin(QObject *parent /TransferThis/ = 0); + virtual ~QQmlEngineExtensionPlugin(); + virtual void initializeEngine(QQmlEngine *engine, const char *uri); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlfileselector.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlfileselector.sip new file mode 100644 index 00000000..e44cc811 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlfileselector.sip @@ -0,0 +1,47 @@ +// qqmlfileselector.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QQmlFileSelector : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QQmlFileSelector(QQmlEngine *engine, QObject *parent /TransferThis/ = 0); + virtual ~QQmlFileSelector(); + void setSelector(QFileSelector *selector); +%If (Qt_5_4_0 -) + void setExtraSelectors(const QStringList &strings); +%End +%If (- Qt_5_4_0) + void setExtraSelectors(QStringList &strings); +%End + static QQmlFileSelector *get(QQmlEngine *); +%If (Qt_5_7_0 -) + QFileSelector *selector() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlincubator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlincubator.sip new file mode 100644 index 00000000..bb71f2dc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlincubator.sip @@ -0,0 +1,87 @@ +// qqmlincubator.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlIncubator +{ +%TypeHeaderCode +#include +%End + +public: + enum IncubationMode + { + Asynchronous, + AsynchronousIfNested, + Synchronous, + }; + + enum Status + { + Null, + Ready, + Loading, + Error, + }; + + QQmlIncubator(QQmlIncubator::IncubationMode mode = QQmlIncubator::Asynchronous); + virtual ~QQmlIncubator(); + void clear(); + void forceCompletion(); + bool isNull() const; + bool isReady() const; + bool isError() const; + bool isLoading() const; + QList errors() const; + QQmlIncubator::IncubationMode incubationMode() const; + QQmlIncubator::Status status() const; + QObject *object() const /Factory/; +%If (Qt_5_15_0 -) + void setInitialProperties(const QVariantMap &initialProperties); +%End + +protected: + virtual void statusChanged(QQmlIncubator::Status); + virtual void setInitialState(QObject *); + +private: + QQmlIncubator(const QQmlIncubator &); +}; + +class QQmlIncubationController +{ +%TypeHeaderCode +#include +%End + +public: + QQmlIncubationController(); + virtual ~QQmlIncubationController(); + QQmlEngine *engine() const; + int incubatingObjectCount() const; + void incubateFor(int msecs) /ReleaseGIL/; + +protected: + virtual void incubatingObjectCountChanged(int); + +private: + QQmlIncubationController(const QQmlIncubationController &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmllist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmllist.sip new file mode 100644 index 00000000..5662200b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmllist.sip @@ -0,0 +1,59 @@ +// qqmllist.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlListReference +{ +%TypeHeaderCode +#include +%End + +public: + QQmlListReference(); + QQmlListReference(QObject *, const char *property, QQmlEngine *engine = 0); + QQmlListReference(const QQmlListReference &); + ~QQmlListReference(); + bool isValid() const; + QObject *object() const; + const QMetaObject *listElementType() const; + bool canAppend() const; + bool canAt() const; + bool canClear() const; + bool canCount() const; + bool isManipulable() const; + bool isReadable() const; + bool append(QObject *) const; + QObject *at(int) const; + bool clear() const; + int count() const; +%If (Qt_5_15_0 -) + bool canReplace() const; +%End +%If (Qt_5_15_0 -) + bool canRemoveLast() const; +%End +%If (Qt_5_15_0 -) + bool replace(int, QObject *) const; +%End +%If (Qt_5_15_0 -) + bool removeLast() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlnetworkaccessmanagerfactory.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlnetworkaccessmanagerfactory.sip new file mode 100644 index 00000000..38dd73be --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlnetworkaccessmanagerfactory.sip @@ -0,0 +1,32 @@ +// qqmlnetworkaccessmanagerfactory.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlNetworkAccessManagerFactory +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QQmlNetworkAccessManagerFactory(); + virtual QNetworkAccessManager *create(QObject *parent) = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlparserstatus.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlparserstatus.sip new file mode 100644 index 00000000..f2a22276 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlparserstatus.sip @@ -0,0 +1,34 @@ +// qqmlparserstatus.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlParserStatus /Mixin,PyQtInterface="org.qt-project.Qt.QQmlParserStatus"/ +{ +%TypeHeaderCode +#include +%End + +public: + QQmlParserStatus(); + virtual ~QQmlParserStatus(); + virtual void classBegin() = 0; + virtual void componentComplete() = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlproperty.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlproperty.sip new file mode 100644 index 00000000..77be711f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlproperty.sip @@ -0,0 +1,121 @@ +// qqmlproperty.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlProperty +{ +%TypeHeaderCode +#include +%End + +public: + enum PropertyTypeCategory + { + InvalidCategory, + List, + Object, + Normal, + }; + + enum Type + { + Invalid, + Property, + SignalProperty, + }; + + QQmlProperty(); + QQmlProperty(QObject *); + QQmlProperty(QObject *, QQmlContext *); + QQmlProperty(QObject *, QQmlEngine *); + QQmlProperty(QObject *, const QString &); + QQmlProperty(QObject *, const QString &, QQmlContext *); + QQmlProperty(QObject *, const QString &, QQmlEngine *); + QQmlProperty(const QQmlProperty &); + ~QQmlProperty(); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + + bool operator==(const QQmlProperty &) const; + QQmlProperty::Type type() const; + bool isValid() const; + bool isProperty() const; + bool isSignalProperty() const; + int propertyType() const; + QQmlProperty::PropertyTypeCategory propertyTypeCategory() const; + const char *propertyTypeName() const; + QString name() const; + QVariant read() const; + static QVariant read(const QObject *, const QString &); + static QVariant read(const QObject *, const QString &, QQmlContext *); + static QVariant read(const QObject *, const QString &, QQmlEngine *); + bool write(const QVariant &) const; + static bool write(QObject *, const QString &, const QVariant &); + static bool write(QObject *, const QString &, const QVariant &, QQmlContext *); + static bool write(QObject *, const QString &, const QVariant &, QQmlEngine *); + bool reset() const; + bool hasNotifySignal() const; + bool needsNotifySignal() const; + bool connectNotifySignal(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) const; +%MethodCode + QObject *receiver; + QByteArray slot; + + if ((sipError = pyqt5_qtqml_get_connection_parts(a0, 0, "()", false, &receiver, slot)) == sipErrorNone) + { + sipRes = sipCpp->connectNotifySignal(receiver, slot.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + bool connectNotifySignal(QObject *dest, int method) const; + bool isWritable() const; + bool isDesignable() const; + bool isResettable() const; + QObject *object() const; + int index() const; + QMetaProperty property() const; + QMetaMethod method() const; +}; + +typedef QList QQmlProperties; + +%ModuleHeaderCode +// Imports from QtCore. +typedef sipErrorState (*pyqt5_qtqml_get_connection_parts_t)(PyObject *, QObject *, const char *, bool, QObject **, QByteArray &); +extern pyqt5_qtqml_get_connection_parts_t pyqt5_qtqml_get_connection_parts; +%End + +%ModuleCode +// Imports from QtCore. +pyqt5_qtqml_get_connection_parts_t pyqt5_qtqml_get_connection_parts; +%End + +%PostInitialisationCode +// Imports from QtCore. +pyqt5_qtqml_get_connection_parts = (pyqt5_qtqml_get_connection_parts_t)sipImportSymbol("pyqt5_get_connection_parts"); +Q_ASSERT(pyqt5_qtqml_get_connection_parts); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlpropertymap.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlpropertymap.sip new file mode 100644 index 00000000..01d53cd4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlpropertymap.sip @@ -0,0 +1,47 @@ +// qqmlpropertymap.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlPropertyMap : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QQmlPropertyMap(QObject *parent /TransferThis/ = 0); + virtual ~QQmlPropertyMap(); + QVariant value(const QString &key) const; + void insert(const QString &key, const QVariant &value); + void clear(const QString &key); + QStringList keys() const; + int count() const; + int size() const /__len__/; + bool isEmpty() const; + bool contains(const QString &key) const; + QVariant operator[](const QString &key) const; + +signals: + void valueChanged(const QString &key, const QVariant &value); + +protected: + virtual QVariant updateValue(const QString &key, const QVariant &input); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlpropertyvaluesource.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlpropertyvaluesource.sip new file mode 100644 index 00000000..31249c21 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlpropertyvaluesource.sip @@ -0,0 +1,33 @@ +// qqmlpropertyvaluesource.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlPropertyValueSource /Mixin,PyQtInterface="org.qt-project.Qt.QQmlPropertyValueSource"/ +{ +%TypeHeaderCode +#include +%End + +public: + QQmlPropertyValueSource(); + virtual ~QQmlPropertyValueSource(); + virtual void setTarget(const QQmlProperty &) = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlscriptstring.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlscriptstring.sip new file mode 100644 index 00000000..6ce6634a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQml/qqmlscriptstring.sip @@ -0,0 +1,45 @@ +// qqmlscriptstring.sip generated by MetaSIP +// +// This file is part of the QtQml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQmlScriptString +{ +%TypeHeaderCode +#include +%End + +public: + QQmlScriptString(); + QQmlScriptString(const QQmlScriptString &); + ~QQmlScriptString(); + bool isEmpty() const; + bool isUndefinedLiteral() const; + bool isNullLiteral() const; + QString stringLiteral() const; + qreal numberLiteral(bool *ok) const; + bool booleanLiteral(bool *ok) const; +%If (Qt_5_4_0 -) + bool operator==(const QQmlScriptString &) const; +%End +%If (Qt_5_4_0 -) + bool operator!=(const QQmlScriptString &) const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/QtQuick.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/QtQuick.toml new file mode 100644 index 00000000..8d05f7c7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/QtQuick.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtQuick. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/QtQuickmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/QtQuickmod.sip new file mode 100644 index 00000000..569d359f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/QtQuickmod.sip @@ -0,0 +1,75 @@ +// QtQuickmod.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtQuick, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip +%Import QtQml/QtQmlmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qquickframebufferobject.sip +%Include qquickimageprovider.sip +%Include qquickitem.sip +%Include qquickitemgrabresult.sip +%Include qquickpainteditem.sip +%Include qquickrendercontrol.sip +%Include qquicktextdocument.sip +%Include qquickview.sip +%Include qquickwindow.sip +%Include qsgabstractrenderer.sip +%Include qsgengine.sip +%Include qsgflatcolormaterial.sip +%Include qsggeometry.sip +%Include qsgimagenode.sip +%Include qsgmaterial.sip +%Include qsgmaterialrhishader.sip +%Include qsgnode.sip +%Include qsgrectanglenode.sip +%Include qsgrendererinterface.sip +%Include qsgrendernode.sip +%Include qsgsimplerectnode.sip +%Include qsgsimpletexturenode.sip +%Include qsgtexture.sip +%Include qsgtexturematerial.sip +%Include qsgtextureprovider.sip +%Include qsgvertexcolormaterial.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickframebufferobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickframebufferobject.sip new file mode 100644 index 00000000..c4dd6ae7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickframebufferobject.sip @@ -0,0 +1,88 @@ +// qquickframebufferobject.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QQuickFramebufferObject : QQuickItem /ExportDerived/ +{ +%TypeHeaderCode +#include +%End + +public: + class Renderer /Supertype=sip.wrapper/ + { +%TypeHeaderCode +#include +%End + + protected: + Renderer(); + virtual ~Renderer(); + virtual void render() = 0; +%If (PyQt_OpenGL) + virtual QOpenGLFramebufferObject *createFramebufferObject(const QSize &size); +%End + virtual void synchronize(QQuickFramebufferObject *); +%If (PyQt_OpenGL) + QOpenGLFramebufferObject *framebufferObject() const; +%End + void update(); + void invalidateFramebufferObject(); + }; + + QQuickFramebufferObject(QQuickItem *parent /TransferThis/ = 0); + bool textureFollowsItemSize() const; + void setTextureFollowsItemSize(bool follows); + virtual QQuickFramebufferObject::Renderer *createRenderer() const = 0 /Factory/; + +protected: + virtual void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry); + virtual QSGNode *updatePaintNode(QSGNode *, QQuickItem::UpdatePaintNodeData *); + +signals: + void textureFollowsItemSizeChanged(bool); + +public: +%If (Qt_5_4_0 -) + virtual bool isTextureProvider() const; +%End +%If (Qt_5_4_0 -) + virtual QSGTextureProvider *textureProvider() const; +%End +%If (Qt_5_4_0 -) + virtual void releaseResources(); +%End +%If (Qt_5_6_0 -) + bool mirrorVertically() const; +%End +%If (Qt_5_6_0 -) + void setMirrorVertically(bool enable); +%End + +signals: +%If (Qt_5_6_0 -) + void mirrorVerticallyChanged(bool); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickimageprovider.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickimageprovider.sip new file mode 100644 index 00000000..67625938 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickimageprovider.sip @@ -0,0 +1,93 @@ +// qquickimageprovider.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQuickTextureFactory : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QQuickTextureFactory(); + virtual ~QQuickTextureFactory(); + virtual QSGTexture *createTexture(QQuickWindow *window) const = 0 /Factory/; + virtual QSize textureSize() const = 0; + virtual int textureByteCount() const = 0; + virtual QImage image() const; +%If (Qt_5_6_0 -) + static QQuickTextureFactory *textureFactoryForImage(const QImage &image) /Factory/; +%End +}; + +class QQuickImageProvider : QQmlImageProviderBase +{ +%TypeHeaderCode +#include +%End + +public: + QQuickImageProvider(QQmlImageProviderBase::ImageType type, QQmlImageProviderBase::Flags flags = QQmlImageProviderBase::Flags()); + virtual ~QQuickImageProvider(); + virtual QQmlImageProviderBase::ImageType imageType() const; + virtual QQmlImageProviderBase::Flags flags() const; + virtual QImage requestImage(const QString &id, QSize *size /Out/, const QSize &requestedSize); + virtual QPixmap requestPixmap(const QString &id, QSize *size /Out/, const QSize &requestedSize); + virtual QQuickTextureFactory *requestTexture(const QString &id, QSize *size /Out/, const QSize &requestedSize) /Factory/; +}; + +%If (Qt_5_6_0 -) + +class QQuickImageResponse : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QQuickImageResponse(); + virtual ~QQuickImageResponse(); + virtual QQuickTextureFactory *textureFactory() const = 0 /Factory/; + virtual QString errorString() const; + +public slots: + virtual void cancel(); + +signals: + void finished(); +}; + +%End +%If (Qt_5_6_0 -) + +class QQuickAsyncImageProvider : QQuickImageProvider +{ +%TypeHeaderCode +#include +%End + +public: + QQuickAsyncImageProvider(); + virtual ~QQuickAsyncImageProvider(); + virtual QQuickImageResponse *requestImageResponse(const QString &id, const QSize &requestedSize) = 0 /Factory/; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickitem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickitem.sip new file mode 100644 index 00000000..38513d04 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickitem.sip @@ -0,0 +1,324 @@ +// qquickitem.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQuickItem : QObject, QQmlParserStatus /ExportDerived/ +{ +%TypeHeaderCode +#include +%End + +public: + enum Flag + { + ItemClipsChildrenToShape, + ItemAcceptsInputMethod, + ItemIsFocusScope, + ItemHasContents, + ItemAcceptsDrops, + }; + + typedef QFlags Flags; + + enum ItemChange + { + ItemChildAddedChange, + ItemChildRemovedChange, + ItemSceneChange, + ItemVisibleHasChanged, + ItemParentHasChanged, + ItemOpacityHasChanged, + ItemActiveFocusHasChanged, + ItemRotationHasChanged, +%If (Qt_5_3_0 -) + ItemAntialiasingHasChanged, +%End +%If (Qt_5_6_0 -) + ItemDevicePixelRatioHasChanged, +%End +%If (Qt_5_10_0 -) + ItemEnabledHasChanged, +%End + }; + + struct ItemChangeData + { +%TypeHeaderCode +#include +%End + + ItemChangeData(QQuickItem *v); + ItemChangeData(QQuickWindow *v); + ItemChangeData(qreal v /Constrained/); + ItemChangeData(bool v /Constrained/); + QQuickItem *item; + QQuickWindow *window; + qreal realValue; + bool boolValue; + }; + + enum TransformOrigin + { + TopLeft, + Top, + TopRight, + Left, + Center, + Right, + BottomLeft, + Bottom, + BottomRight, + }; + +%If (Qt_5_6_1 -) + explicit QQuickItem(QQuickItem *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QQuickItem(QQuickItem *parent /TransferThis/ = 0); +%End + virtual ~QQuickItem(); + QQuickWindow *window() const; + QQuickItem *parentItem() const; + void setParentItem(QQuickItem *parent); + void stackBefore(const QQuickItem *); + void stackAfter(const QQuickItem *); + QRectF childrenRect(); + QList childItems() const; + bool clip() const; + void setClip(bool); + QString state() const; + void setState(const QString &); + qreal baselineOffset() const; + void setBaselineOffset(qreal); + qreal x() const; + qreal y() const; + void setX(qreal); + void setY(qreal); + qreal width() const; + void setWidth(qreal); + void resetWidth(); + void setImplicitWidth(qreal); + qreal implicitWidth() const; + qreal height() const; + void setHeight(qreal); + void resetHeight(); + void setImplicitHeight(qreal); + qreal implicitHeight() const; + QQuickItem::TransformOrigin transformOrigin() const; + void setTransformOrigin(QQuickItem::TransformOrigin); + qreal z() const; + void setZ(qreal); + qreal rotation() const; + void setRotation(qreal); + qreal scale() const; + void setScale(qreal); + qreal opacity() const; + void setOpacity(qreal); + bool isVisible() const; + void setVisible(bool); + bool isEnabled() const; + void setEnabled(bool); + bool smooth() const; + void setSmooth(bool); + bool antialiasing() const; + void setAntialiasing(bool); + QQuickItem::Flags flags() const; + void setFlag(QQuickItem::Flag flag, bool enabled = true); + void setFlags(QQuickItem::Flags flags); + bool hasActiveFocus() const; + bool hasFocus() const; + void setFocus(bool); + bool isFocusScope() const; + QQuickItem *scopedFocusItem() const; + Qt::MouseButtons acceptedMouseButtons() const; + void setAcceptedMouseButtons(Qt::MouseButtons buttons); + bool acceptHoverEvents() const; + void setAcceptHoverEvents(bool enabled); + QCursor cursor() const; + void setCursor(const QCursor &cursor); + void unsetCursor(); + void grabMouse(); + void ungrabMouse(); + bool keepMouseGrab() const; + void setKeepMouseGrab(bool); + bool filtersChildMouseEvents() const; + void setFiltersChildMouseEvents(bool filter); + void grabTouchPoints(const QVector &ids); + void ungrabTouchPoints(); + bool keepTouchGrab() const; + void setKeepTouchGrab(bool); + virtual bool contains(const QPointF &point) const; + QPointF mapToItem(const QQuickItem *item, const QPointF &point) const; + QPointF mapToScene(const QPointF &point) const; + QRectF mapRectToItem(const QQuickItem *item, const QRectF &rect) const; + QRectF mapRectToScene(const QRectF &rect) const; + QPointF mapFromItem(const QQuickItem *item, const QPointF &point) const; + QPointF mapFromScene(const QPointF &point) const; + QRectF mapRectFromItem(const QQuickItem *item, const QRectF &rect) const; + QRectF mapRectFromScene(const QRectF &rect) const; + void polish(); + void forceActiveFocus(); + QQuickItem *childAt(qreal x, qreal y) const; + virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; + + struct UpdatePaintNodeData + { +%TypeHeaderCode +#include +%End + + QSGTransformNode *transformNode; + + private: + UpdatePaintNodeData(); + }; + + virtual bool isTextureProvider() const; + virtual QSGTextureProvider *textureProvider() const; + +public slots: + void update() /ReleaseGIL/; + +protected: + virtual bool event(QEvent *); + bool isComponentComplete() const; + virtual void itemChange(QQuickItem::ItemChange, const QQuickItem::ItemChangeData &); + void updateInputMethod(Qt::InputMethodQueries queries = Qt::InputMethodQuery::ImQueryInput); + bool widthValid() const; + bool heightValid() const; + virtual void classBegin(); + virtual void componentComplete(); + virtual void keyPressEvent(QKeyEvent *event); + virtual void keyReleaseEvent(QKeyEvent *event); + virtual void inputMethodEvent(QInputMethodEvent *); + virtual void focusInEvent(QFocusEvent *); + virtual void focusOutEvent(QFocusEvent *); + virtual void mousePressEvent(QMouseEvent *event); + virtual void mouseMoveEvent(QMouseEvent *event); + virtual void mouseReleaseEvent(QMouseEvent *event); + virtual void mouseDoubleClickEvent(QMouseEvent *event); + virtual void mouseUngrabEvent(); + virtual void touchUngrabEvent(); + virtual void wheelEvent(QWheelEvent *event); + virtual void touchEvent(QTouchEvent *event); + virtual void hoverEnterEvent(QHoverEvent *event); + virtual void hoverMoveEvent(QHoverEvent *event); + virtual void hoverLeaveEvent(QHoverEvent *event); + virtual void dragEnterEvent(QDragEnterEvent *); + virtual void dragMoveEvent(QDragMoveEvent *); + virtual void dragLeaveEvent(QDragLeaveEvent *); + virtual void dropEvent(QDropEvent *); + virtual bool childMouseEventFilter(QQuickItem *, QEvent *); + virtual void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry); + virtual QSGNode *updatePaintNode(QSGNode *, QQuickItem::UpdatePaintNodeData *); +%VirtualCatcherCode + PyObject *res; + + res = sipCallMethod(&sipIsErr, sipMethod, "DD", + a0, sipType_QSGNode, NULL, + a1, sipType_QQuickItem_UpdatePaintNodeData, NULL); + + if (res) + { + sipParseResult(&sipIsErr, sipMethod, res, "H0", sipType_QSGNode, &sipRes); + + if (!sipIsErr && sipRes && (sipRes->flags() & QSGNode::OwnedByParent)) + sipTransferTo(res, (PyObject *)sipPySelf); + + Py_DECREF(res); + } +%End + + virtual void releaseResources(); + virtual void updatePolish(); + +public: +%If (Qt_5_1_0 -) + bool activeFocusOnTab() const; +%End +%If (Qt_5_1_0 -) + void setActiveFocusOnTab(bool); +%End +%If (Qt_5_1_0 -) + void setFocus(bool focus, Qt::FocusReason reason); +%End +%If (Qt_5_1_0 -) + void forceActiveFocus(Qt::FocusReason reason); +%End +%If (Qt_5_1_0 -) + QQuickItem *nextItemInFocusChain(bool forward = true); +%End + +signals: +%If (Qt_5_1_0 -) + void windowChanged(QQuickWindow *window); +%End + +public: +%If (Qt_5_3_0 -) + void resetAntialiasing(); +%End +%If (Qt_5_4_0 -) + QQuickItemGrabResult *grabToImage(const QSize &targetSize = QSize()) /Factory/; +%MethodCode + QSharedPointer *grab; + + Py_BEGIN_ALLOW_THREADS + // This will leak but there seems to be no way to detach the object. + grab = new QSharedPointer(sipCpp->grabToImage(*a0)); + Py_END_ALLOW_THREADS + + sipRes = grab->data(); +%End + +%End +%If (Qt_5_7_0 -) + bool isAncestorOf(const QQuickItem *child) const; +%End +%If (Qt_5_7_0 -) + QPointF mapToGlobal(const QPointF &point) const; +%End +%If (Qt_5_7_0 -) + QPointF mapFromGlobal(const QPointF &point) const; +%End +%If (Qt_5_10_0 -) + QSizeF size() const; +%End +%If (Qt_5_10_0 -) + bool acceptTouchEvents() const; +%End +%If (Qt_5_10_0 -) + void setAcceptTouchEvents(bool accept); +%End +%If (Qt_5_11_0 -) + QObject *containmentMask() const; +%End +%If (Qt_5_11_0 -) + void setContainmentMask(QObject *mask /KeepReference/); +%End + +signals: +%If (Qt_5_11_0 -) + void containmentMaskChanged(); +%End +}; + +QFlags operator|(QQuickItem::Flag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickitemgrabresult.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickitemgrabresult.sip new file mode 100644 index 00000000..a06895c6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickitemgrabresult.sip @@ -0,0 +1,53 @@ +// qquickitemgrabresult.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QQuickItemGrabResult : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QImage image() const; + QUrl url() const; +%If (Qt_5_9_0 -) + bool saveToFile(const QString &fileName) const; +%End +%If (- Qt_5_9_0) +%If (Qt_5_11_0 -) + bool saveToFile(const QString &fileName); +%End +%End + +protected: + virtual bool event(QEvent *); + +signals: + void ready(); + +private: + QQuickItemGrabResult(QObject *parent = 0); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickpainteditem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickpainteditem.sip new file mode 100644 index 00000000..80568549 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickpainteditem.sip @@ -0,0 +1,112 @@ +// qquickpainteditem.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQuickPaintedItem : QQuickItem /ExportDerived/ +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_1 -) + explicit QQuickPaintedItem(QQuickItem *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QQuickPaintedItem(QQuickItem *parent /TransferThis/ = 0); +%End + virtual ~QQuickPaintedItem(); + + enum RenderTarget + { + Image, + FramebufferObject, + InvertedYFramebufferObject, + }; + + enum PerformanceHint + { + FastFBOResizing, + }; + + typedef QFlags PerformanceHints; + void update(const QRect &rect = QRect()); + bool opaquePainting() const; + void setOpaquePainting(bool opaque); + bool antialiasing() const; + void setAntialiasing(bool enable); + bool mipmap() const; + void setMipmap(bool enable); + QQuickPaintedItem::PerformanceHints performanceHints() const; + void setPerformanceHint(QQuickPaintedItem::PerformanceHint hint, bool enabled = true); + void setPerformanceHints(QQuickPaintedItem::PerformanceHints hints); + QRectF contentsBoundingRect() const; + QSize contentsSize() const; + void setContentsSize(const QSize &); + void resetContentsSize(); + qreal contentsScale() const; + void setContentsScale(qreal); + QColor fillColor() const; + void setFillColor(const QColor &); + QQuickPaintedItem::RenderTarget renderTarget() const; + void setRenderTarget(QQuickPaintedItem::RenderTarget target); + virtual void paint(QPainter *painter) = 0; + +signals: + void fillColorChanged(); + void contentsSizeChanged(); + void contentsScaleChanged(); + void renderTargetChanged(); + +protected: + virtual QSGNode *updatePaintNode(QSGNode *, QQuickItem::UpdatePaintNodeData *); + +public: +%If (Qt_5_4_0 -) + virtual bool isTextureProvider() const; +%End +%If (Qt_5_4_0 -) + virtual QSGTextureProvider *textureProvider() const; +%End + +protected: +%If (Qt_5_4_0 -) + virtual void releaseResources(); +%End +%If (Qt_5_6_1 -) + virtual void itemChange(QQuickItem::ItemChange, const QQuickItem::ItemChangeData &); +%End + +public: +%If (Qt_5_6_0 -) + QSize textureSize() const; +%End +%If (Qt_5_6_0 -) + void setTextureSize(const QSize &size); +%End + +signals: +%If (Qt_5_6_0 -) + void textureSizeChanged(); +%End +}; + +QFlags operator|(QQuickPaintedItem::PerformanceHint f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickrendercontrol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickrendercontrol.sip new file mode 100644 index 00000000..019f3224 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickrendercontrol.sip @@ -0,0 +1,58 @@ +// qquickrendercontrol.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QQuickRenderControl : QObject +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_6_1 -) + explicit QQuickRenderControl(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QQuickRenderControl(QObject *parent /TransferThis/ = 0); +%End + virtual ~QQuickRenderControl(); +%If (PyQt_OpenGL) + void initialize(QOpenGLContext *gl); +%End + void invalidate(); + void polishItems(); + void render(); + bool sync(); + QImage grab(); + static QWindow *renderWindowFor(QQuickWindow *win, QPoint *offset = 0); + virtual QWindow *renderWindow(QPoint *offset); +%If (Qt_5_5_0 -) + void prepareThread(QThread *targetThread); +%End + +signals: + void renderRequested(); + void sceneChanged(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquicktextdocument.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquicktextdocument.sip new file mode 100644 index 00000000..9d6d1be2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquicktextdocument.sip @@ -0,0 +1,39 @@ +// qquicktextdocument.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QQuickTextDocument : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QQuickTextDocument(QQuickItem *parent /TransferThis/); + QTextDocument *textDocument() const; + +private: + QQuickTextDocument(const QQuickTextDocument &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickview.sip new file mode 100644 index 00000000..ad6ca92a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickview.sip @@ -0,0 +1,77 @@ +// qquickview.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQuickView : QQuickWindow /ExportDerived/ +{ +%TypeHeaderCode +#include +%End + +public: + explicit QQuickView(QWindow *parent /TransferThis/ = 0); + QQuickView(QQmlEngine *engine, QWindow *parent /TransferThis/); + QQuickView(const QUrl &source, QWindow *parent /TransferThis/ = 0); + virtual ~QQuickView() /ReleaseGIL/; + QUrl source() const; + QQmlEngine *engine() const; + QQmlContext *rootContext() const; + QQuickItem *rootObject() const; + + enum ResizeMode + { + SizeViewToRootObject, + SizeRootObjectToView, + }; + + QQuickView::ResizeMode resizeMode() const; + void setResizeMode(QQuickView::ResizeMode); + + enum Status + { + Null, + Ready, + Loading, + Error, + }; + + QQuickView::Status status() const; + QList errors() const; + QSize initialSize() const; + +public slots: + void setSource(const QUrl &) /ReleaseGIL/; +%If (Qt_5_14_0 -) + void setInitialProperties(const QVariantMap &initialProperties); +%End + +signals: + void statusChanged(QQuickView::Status); + +protected: + virtual void resizeEvent(QResizeEvent *); + virtual void timerEvent(QTimerEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void keyReleaseEvent(QKeyEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickwindow.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickwindow.sip new file mode 100644 index 00000000..440c4a7c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qquickwindow.sip @@ -0,0 +1,331 @@ +// qquickwindow.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QQuickWindow : QWindow /ExportDerived/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + #if QT_VERSION >= 0x050400 + {sipName_QSGEngine, &sipType_QSGEngine, -1, 1}, + #else + {0, 0, -1, 1}, + #endif + {sipName_QQuickItem, &sipType_QQuickItem, 11, 2}, + #if QT_VERSION >= 0x050400 + {sipName_QQuickItemGrabResult, &sipType_QQuickItemGrabResult, -1, 3}, + #else + {0, 0, -1, 3}, + #endif + {sipName_QSGTexture, &sipType_QSGTexture, 13, 4}, + #if QT_VERSION >= 0x050100 + {sipName_QQuickTextDocument, &sipType_QQuickTextDocument, -1, 5}, + #else + {0, 0, -1, 5}, + #endif + #if QT_VERSION >= 0x050400 + {sipName_QSGAbstractRenderer, &sipType_QSGAbstractRenderer, -1, 6}, + #else + {0, 0, -1, 6}, + #endif + #if QT_VERSION >= 0x050600 + {sipName_QQuickImageResponse, &sipType_QQuickImageResponse, -1, 7}, + #else + {0, 0, -1, 7}, + #endif + {sipName_QQuickTextureFactory, &sipType_QQuickTextureFactory, -1, 8}, + #if QT_VERSION >= 0x050400 + {sipName_QQuickRenderControl, &sipType_QQuickRenderControl, -1, 9}, + #else + {0, 0, -1, 9}, + #endif + {sipName_QSGTextureProvider, &sipType_QSGTextureProvider, -1, 10}, + {sipName_QQuickWindow, &sipType_QQuickWindow, 14, -1}, + #if QT_VERSION >= 0x050200 + {sipName_QQuickFramebufferObject, &sipType_QQuickFramebufferObject, -1, 12}, + #else + {0, 0, -1, 12}, + #endif + {sipName_QQuickPaintedItem, &sipType_QQuickPaintedItem, -1, -1}, + {sipName_QSGDynamicTexture, &sipType_QSGDynamicTexture, -1, -1}, + {sipName_QQuickView, &sipType_QQuickView, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum CreateTextureOption + { + TextureHasAlphaChannel, + TextureHasMipmaps, + TextureOwnsGLTexture, +%If (Qt_5_2_0 -) + TextureCanUseAtlas, +%End +%If (Qt_5_6_0 -) + TextureIsOpaque, +%End + }; + + typedef QFlags CreateTextureOptions; +%If (Qt_5_6_1 -) + explicit QQuickWindow(QWindow *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QQuickWindow(QWindow *parent /TransferThis/ = 0); +%End + virtual ~QQuickWindow() /ReleaseGIL/; + QQuickItem *contentItem() const; + QQuickItem *activeFocusItem() const; + virtual QObject *focusObject() const; + QQuickItem *mouseGrabberItem() const; + bool sendEvent(QQuickItem *, QEvent *); + QImage grabWindow() /ReleaseGIL/; +%If (PyQt_OpenGL) + void setRenderTarget(QOpenGLFramebufferObject *fbo); +%End +%If (PyQt_OpenGL) + QOpenGLFramebufferObject *renderTarget() const; +%End + void setRenderTarget(uint fboId, const QSize &size); + uint renderTargetId() const; + QSize renderTargetSize() const; + QQmlIncubationController *incubationController() const; + QSGTexture *createTextureFromImage(const QImage &image) const /Factory/; +%If (Qt_5_2_0 -) + QSGTexture *createTextureFromImage(const QImage &image, QQuickWindow::CreateTextureOptions options) const /Factory/; +%End + QSGTexture *createTextureFromId(uint id, const QSize &size, QQuickWindow::CreateTextureOptions options = QQuickWindow::CreateTextureOption()) const /Factory/; +%If (Qt_5_14_0 -) + QSGTexture *createTextureFromNativeObject(QQuickWindow::NativeObjectType type, const void *nativeObjectPtr, int nativeLayout, const QSize &size, QQuickWindow::CreateTextureOptions options = QQuickWindow::CreateTextureOption()) const /Factory/; +%End + void setClearBeforeRendering(bool enabled); + bool clearBeforeRendering() const; + void setColor(const QColor &color); + QColor color() const; + void setPersistentOpenGLContext(bool persistent); + bool isPersistentOpenGLContext() const; + void setPersistentSceneGraph(bool persistent); + bool isPersistentSceneGraph() const; +%If (PyQt_OpenGL) + QOpenGLContext *openglContext() const; +%End + +signals: + void frameSwapped(); + void sceneGraphInitialized(); + void sceneGraphInvalidated(); + void beforeSynchronizing(); + void beforeRendering(); + void afterRendering(); + void colorChanged(const QColor &); + +public slots: + void update(); + void releaseResources(); + +protected: + virtual void exposeEvent(QExposeEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void showEvent(QShowEvent *); + virtual void hideEvent(QHideEvent *); + virtual void focusInEvent(QFocusEvent *); + virtual void focusOutEvent(QFocusEvent *); + virtual bool event(QEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void keyReleaseEvent(QKeyEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseDoubleClickEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void wheelEvent(QWheelEvent *); +%If (Qt_5_15_0 -) + virtual void tabletEvent(QTabletEvent *); +%End + +public: +%If (Qt_5_1_0 -) + static bool hasDefaultAlphaBuffer(); +%End +%If (Qt_5_1_0 -) + static void setDefaultAlphaBuffer(bool useAlpha); +%End + +signals: +%If (Qt_5_1_0 -) + void closing(QQuickCloseEvent *close); +%End +%If (Qt_5_1_0 -) + void activeFocusItemChanged(); +%End + +public: +%If (Qt_5_2_0 -) +%If (PyQt_OpenGL) + void resetOpenGLState(); +%End +%End +%If (Qt_5_3_0 -) + + enum SceneGraphError + { + ContextNotAvailable, + }; + +%End + +signals: +%If (Qt_5_3_0 -) +%If (PyQt_OpenGL) + void openglContextCreated(QOpenGLContext *context); +%End +%End +%If (Qt_5_3_0 -) + void afterSynchronizing(); +%End +%If (Qt_5_3_0 -) + void afterAnimating(); +%End +%If (Qt_5_3_0 -) + void sceneGraphAboutToStop(); +%End +%If (Qt_5_3_0 -) + void sceneGraphError(QQuickWindow::SceneGraphError error, const QString &message); +%End + +public: +%If (Qt_5_4_0 -) + + enum RenderStage + { + BeforeSynchronizingStage, + AfterSynchronizingStage, + BeforeRenderingStage, + AfterRenderingStage, + AfterSwapStage, +%If (Qt_5_6_0 -) + NoStage, +%End + }; + +%End +%If (Qt_5_4_0 -) + void scheduleRenderJob(QRunnable *job /Transfer/, QQuickWindow::RenderStage schedule) /ReleaseGIL/; +%End +%If (Qt_5_4_0 -) + qreal effectiveDevicePixelRatio() const; +%End +%If (Qt_5_5_0 -) + bool isSceneGraphInitialized() const; +%End +%If (Qt_5_8_0 -) + QSGRendererInterface *rendererInterface() const; +%End +%If (Qt_5_8_0 -) + static void setSceneGraphBackend(QSGRendererInterface::GraphicsApi api); +%End +%If (Qt_5_8_0 -) + static void setSceneGraphBackend(const QString &backend); +%End +%If (Qt_5_8_0 -) + QSGRectangleNode *createRectangleNode() const /Factory/; +%End +%If (Qt_5_8_0 -) + QSGImageNode *createImageNode() const /Factory/; +%End +%If (Qt_5_9_0 -) + static QString sceneGraphBackend(); +%End +%If (Qt_5_10_0 -) + + enum TextRenderType + { + QtTextRendering, + NativeTextRendering, + }; + +%End +%If (Qt_5_10_0 -) + static QQuickWindow::TextRenderType textRenderType(); +%End +%If (Qt_5_10_0 -) + static void setTextRenderType(QQuickWindow::TextRenderType renderType); +%End +%If (Qt_5_14_0 -) + + enum NativeObjectType + { + NativeObjectTexture, + }; + +%End +%If (Qt_5_14_0 -) + void beginExternalCommands(); +%End +%If (Qt_5_14_0 -) + void endExternalCommands(); +%End + +signals: +%If (Qt_5_14_0 -) + void beforeRenderPassRecording(); +%End +%If (Qt_5_14_0 -) + void afterRenderPassRecording(); +%End +}; + +%If (Qt_5_1_0 -) +class QQuickCloseEvent; +%End + +%ModuleHeaderCode +#include "qpyquick_api.h" +%End + +%PostInitialisationCode +qpyquick_post_init(); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgabstractrenderer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgabstractrenderer.sip new file mode 100644 index 00000000..5a16d33e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgabstractrenderer.sip @@ -0,0 +1,77 @@ +// qsgabstractrenderer.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QSGAbstractRenderer : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum ClearModeBit + { + ClearColorBuffer, + ClearDepthBuffer, + ClearStencilBuffer, + }; + + typedef QFlags ClearMode; +%If (Qt_5_14_0 -) + + enum MatrixTransformFlag + { + MatrixTransformFlipY, + }; + +%End +%If (Qt_5_14_0 -) + typedef QFlags MatrixTransformFlags; +%End + virtual ~QSGAbstractRenderer(); + void setDeviceRect(const QRect &rect); + void setDeviceRect(const QSize &size); + QRect deviceRect() const; + void setViewportRect(const QRect &rect); + void setViewportRect(const QSize &size); + QRect viewportRect() const; + void setProjectionMatrixToRect(const QRectF &rect); +%If (Qt_5_14_0 -) + void setProjectionMatrixToRect(const QRectF &rect, QSGAbstractRenderer::MatrixTransformFlags flags); +%End + void setProjectionMatrix(const QMatrix4x4 &matrix); + QMatrix4x4 projectionMatrix() const; + void setClearColor(const QColor &color); + QColor clearColor() const; + void setClearMode(QSGAbstractRenderer::ClearMode mode); + QSGAbstractRenderer::ClearMode clearMode() const; + virtual void renderScene(uint fboId = 0) = 0; + +signals: + void sceneGraphChanged(); +}; + +%End +%If (Qt_5_4_0 -) +QFlags operator|(QSGAbstractRenderer::ClearModeBit f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgengine.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgengine.sip new file mode 100644 index 00000000..f55e471d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgengine.sip @@ -0,0 +1,68 @@ +// qsgengine.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QSGEngine : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum CreateTextureOption + { + TextureHasAlphaChannel, + TextureOwnsGLTexture, + TextureCanUseAtlas, +%If (Qt_5_6_0 -) + TextureIsOpaque, +%End + }; + + typedef QFlags CreateTextureOptions; +%If (Qt_5_6_1 -) + explicit QSGEngine(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_6_1) + QSGEngine(QObject *parent /TransferThis/ = 0); +%End + virtual ~QSGEngine(); +%If (PyQt_OpenGL) + void initialize(QOpenGLContext *context); +%End + void invalidate(); + QSGAbstractRenderer *createRenderer() const; + QSGTexture *createTextureFromImage(const QImage &image, QSGEngine::CreateTextureOptions options = QSGEngine::CreateTextureOption()) const; + QSGTexture *createTextureFromId(uint id, const QSize &size, QSGEngine::CreateTextureOptions options = QSGEngine::CreateTextureOption()) const; +%If (Qt_5_8_0 -) + QSGRendererInterface *rendererInterface() const; +%End +%If (Qt_5_8_0 -) + QSGRectangleNode *createRectangleNode() const /Factory/; +%End +%If (Qt_5_8_0 -) + QSGImageNode *createImageNode() const /Factory/; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgflatcolormaterial.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgflatcolormaterial.sip new file mode 100644 index 00000000..9efcd272 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgflatcolormaterial.sip @@ -0,0 +1,36 @@ +// qsgflatcolormaterial.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGFlatColorMaterial : QSGMaterial +{ +%TypeHeaderCode +#include +%End + +public: + QSGFlatColorMaterial(); + virtual QSGMaterialType *type() const; + virtual QSGMaterialShader *createShader() const /Factory/; + void setColor(const QColor &color); + const QColor &color() const; + virtual int compare(const QSGMaterial *other) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsggeometry.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsggeometry.sip new file mode 100644 index 00000000..e7532359 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsggeometry.sip @@ -0,0 +1,407 @@ +// qsggeometry.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGGeometry /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: +// Convenient primitives and drawing modes. +enum /NoScope/ +{ + GL_BYTE, +%If (PyQt_Desktop_OpenGL) + GL_DOUBLE, +%End + GL_FLOAT, + GL_INT +}; + +enum /NoScope/ +{ + GL_POINTS, + GL_LINES, + GL_LINE_LOOP, + GL_LINE_STRIP, + GL_TRIANGLES, + GL_TRIANGLE_STRIP, + GL_TRIANGLE_FAN +}; + + struct Attribute + { +%TypeHeaderCode +#include +%End + + int position; + int tupleSize; + int type; + uint isVertexCoordinate; +%If (Qt_5_8_0 -) + QSGGeometry::AttributeType attributeType; +%End + static QSGGeometry::Attribute create(int pos, int tupleSize, int primitiveType, bool isPosition = false) /Factory/; +%If (Qt_5_8_0 -) + static QSGGeometry::Attribute createWithAttributeType(int pos, int tupleSize, int primitiveType, QSGGeometry::AttributeType attributeType) /Factory/; +%End + }; + + struct AttributeSet /NoDefaultCtors/ + { +%TypeHeaderCode +#include +#include +%End + + AttributeSet(SIP_PYOBJECT attributes /TypeHint="Iterable[QSGGeometry.Attribute]"/, int stride = 0); +%MethodCode + PyObject *iter = PyObject_GetIter(a0); + + if (!iter + #if PY_MAJOR_VERSION < 3 + || PyString_Check(a0) + #endif + || PyUnicode_Check(a0)) + { + Py_XDECREF(iter); + PyErr_SetString(PyExc_TypeError, "iterable object expected"); + sipError = sipErrorContinue; + } + else + { + QVector attrs; + int stride = 0; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + sipError = sipErrorFail; + + break; + } + + int state, is_err = 0; + QSGGeometry::Attribute *attr; + + attr = reinterpret_cast( + sipForceConvertToType(itm, sipType_QSGGeometry_Attribute, 0, + SIP_NOT_NONE, &state, &is_err)); + + if (is_err) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QSGGeometry.Attribute' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + sipError = sipErrorFail; + + break; + } + + // Calculate the stride if there no explicit one. + if (a1 <= 0) + { + int size; + + switch (attr->type) + { + case GL_BYTE: + size = sizeof (qint8); + break; + + #if defined(SIPFeature_PyQt_Desktop_OpenGL) + #if GL_DOUBLE != GL_FLOAT + case GL_DOUBLE: + size = sizeof (double); + break; + #endif + #endif + + case GL_FLOAT: + size = sizeof (float); + break; + + case GL_INT: + size = sizeof (qint32); + break; + + default: + size = 0; + } + + if (!size) + { + PyErr_Format(PyExc_TypeError, + "index %zd has an unsupported primitive type", + i); + + sipReleaseType(attr, sipType_QSGGeometry_Attribute, state); + Py_DECREF(itm); + sipError = sipErrorFail; + + break; + } + + stride += attr->tupleSize * size; + } + + attrs.append(*attr); + + sipReleaseType(attr, sipType_QSGGeometry_Attribute, state); + Py_DECREF(itm); + } + + Py_DECREF(iter); + + if (sipError == sipErrorNone) + { + if (attrs.isEmpty()) + { + PyErr_SetString(PyExc_TypeError, "no attributes defined"); + sipError = sipErrorFail; + } + else + { + PyObject *bytes = SIPBytes_FromStringAndSize( + reinterpret_cast(attrs.data()), + sizeof (QSGGeometry::Attribute) * attrs.size()); + + if (!bytes) + { + sipError = sipErrorFail; + } + else + { + sipCpp = new QSGGeometry::AttributeSet; + + sipCpp->count = attrs.size(); + sipCpp->stride = (a1 > 0 ? a1 : stride); + sipCpp->attributes = reinterpret_cast( + SIPBytes_AsString(bytes)); + + sipSetUserObject(sipSelf, bytes); + } + } + } + } +%End + + int count; + int stride; + const QSGGeometry::Attribute *attributes /TypeHint="PyQt5.sip.array[QSGGeometry.Attribute]"/ { +%GetCode + sipPy = sipConvertToTypedArray((void *)sipCpp->attributes, + sipType_QSGGeometry_Attribute, "iiiI", sizeof (QSGGeometry::Attribute), + sipCpp->count, SIP_READ_ONLY); +%End + +%SetCode + sipErr = 1; + PyErr_SetString(PyExc_ValueError, "array is read-only"); +%End + + }; + }; + + struct Point2D + { +%TypeHeaderCode +#include +%End + + float x; + float y; + void set(float nx, float ny); + }; + + struct TexturedPoint2D + { +%TypeHeaderCode +#include +%End + + float x; + float y; + float tx; + float ty; + void set(float nx, float ny, float ntx, float nty); + }; + + struct ColoredPoint2D + { +%TypeHeaderCode +#include +%End + + float x; + float y; + unsigned char r /PyInt/; + unsigned char g /PyInt/; + unsigned char b /PyInt/; + unsigned char a /PyInt/; + void set(float nx, float ny, uchar nr /PyInt/, uchar ng /PyInt/, uchar nb /PyInt/, uchar na /PyInt/); + }; + + static const QSGGeometry::AttributeSet &defaultAttributes_Point2D() /NoCopy/; + static const QSGGeometry::AttributeSet &defaultAttributes_TexturedPoint2D() /NoCopy/; + static const QSGGeometry::AttributeSet &defaultAttributes_ColoredPoint2D() /NoCopy/; + + enum DataPattern + { + AlwaysUploadPattern, + StreamPattern, + DynamicPattern, + StaticPattern, + }; + + QSGGeometry(const QSGGeometry::AttributeSet &attribs /KeepReference/, int vertexCount, int indexCount = 0, int indexType = GL_UNSIGNED_SHORT); + virtual ~QSGGeometry(); + void setDrawingMode(unsigned int mode); + unsigned int drawingMode() const; + void allocate(int vertexCount, int indexCount = 0); + int vertexCount() const; + void *vertexData(); + int indexType() const; + int indexCount() const; + void *indexData(); + int attributeCount() const; + SIP_PYOBJECT attributes() const /TypeHint="PyQt5.sip.array[QSGGeometry.Attribute]"/; +%MethodCode + sipRes = sipConvertToTypedArray((void *)sipCpp->attributes(), + sipType_QSGGeometry_Attribute, "iiiI", sizeof (QSGGeometry::Attribute), + sipCpp->attributeCount(), SIP_READ_ONLY); +%End + + int sizeOfVertex() const; + static void updateRectGeometry(QSGGeometry *g, const QRectF &rect); + static void updateTexturedRectGeometry(QSGGeometry *g, const QRectF &rect, const QRectF &sourceRect); + void setIndexDataPattern(QSGGeometry::DataPattern p); + QSGGeometry::DataPattern indexDataPattern() const; + void setVertexDataPattern(QSGGeometry::DataPattern p); + QSGGeometry::DataPattern vertexDataPattern() const; + void markIndexDataDirty(); + void markVertexDataDirty(); + float lineWidth() const; + void setLineWidth(float w); + SIP_PYOBJECT indexDataAsUInt() /TypeHint="PyQt5.sip.array[int]"/; +%MethodCode + sipRes = sipConvertToArray(sipCpp->indexDataAsUInt(), "I", + sipCpp->indexCount(), 0); +%End + + SIP_PYOBJECT indexDataAsUShort() /TypeHint="PyQt5.sip.array[int]"/; +%MethodCode + sipRes = sipConvertToArray(sipCpp->indexDataAsUShort(), "H", + sipCpp->indexCount(), 0); +%End + + SIP_PYOBJECT vertexDataAsPoint2D() /TypeHint="PyQt5.sip.array[QSGGeometry.Point2D]"/; +%MethodCode + sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsPoint2D(), + sipType_QSGGeometry_Point2D, "ff", sizeof (QSGGeometry::Point2D), + sipCpp->vertexCount(), 0); +%End + + SIP_PYOBJECT vertexDataAsTexturedPoint2D() /TypeHint="PyQt5.sip.array[QSGGeometry.TexturedPoint2D]"/; +%MethodCode + sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsTexturedPoint2D(), + sipType_QSGGeometry_TexturedPoint2D, "ffff", + sizeof (QSGGeometry::TexturedPoint2D), sipCpp->vertexCount(), 0); +%End + + SIP_PYOBJECT vertexDataAsColoredPoint2D() /TypeHint="PyQt5.sip.array[QSGGeometry.ColoredPoint2D]"/; +%MethodCode + sipRes = sipConvertToTypedArray(sipCpp->vertexDataAsColoredPoint2D(), + sipType_QSGGeometry_ColoredPoint2D, "ffbbbb", + sizeof (QSGGeometry::ColoredPoint2D), sipCpp->vertexCount(), 0); +%End + + int sizeOfIndex() const; +%If (Qt_5_8_0 -) + + enum AttributeType + { + UnknownAttribute, + PositionAttribute, + ColorAttribute, + TexCoordAttribute, + TexCoord1Attribute, + TexCoord2Attribute, + }; + +%End +%If (Qt_5_8_0 -) + + enum DrawingMode + { + DrawPoints, + DrawLines, + DrawLineLoop, + DrawLineStrip, + DrawTriangles, + DrawTriangleStrip, + DrawTriangleFan, + }; + +%End +%If (Qt_5_8_0 -) + + enum Type + { + ByteType, + UnsignedByteType, + ShortType, + UnsignedShortType, + IntType, + UnsignedIntType, + FloatType, +%If (Qt_5_14_0 -) + Bytes2Type, +%End +%If (Qt_5_14_0 -) + Bytes3Type, +%End +%If (Qt_5_14_0 -) + Bytes4Type, +%End +%If (Qt_5_14_0 -) + DoubleType, +%End + }; + +%End +%If (Qt_5_8_0 -) + static void updateColoredRectGeometry(QSGGeometry *g, const QRectF &rect); +%End + +private: + QSGGeometry(const QSGGeometry &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgimagenode.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgimagenode.sip new file mode 100644 index 00000000..dbff08d6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgimagenode.sip @@ -0,0 +1,71 @@ +// qsgimagenode.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) + +class QSGImageNode : QSGGeometryNode /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QSGImageNode(); + virtual void setRect(const QRectF &rect) = 0; + void setRect(qreal x, qreal y, qreal w, qreal h); + virtual QRectF rect() const = 0; + virtual void setSourceRect(const QRectF &r) = 0; + void setSourceRect(qreal x, qreal y, qreal w, qreal h); + virtual QRectF sourceRect() const = 0; + virtual void setTexture(QSGTexture *texture /GetWrapper/) = 0; +%MethodCode + sipCpp->setTexture(a0); + + if (sipCpp->ownsTexture()) + sipTransferTo(a0Wrapper, sipSelf); +%End + + virtual QSGTexture *texture() const = 0; + virtual void setFiltering(QSGTexture::Filtering filtering) = 0; + virtual QSGTexture::Filtering filtering() const = 0; + virtual void setMipmapFiltering(QSGTexture::Filtering filtering) = 0; + virtual QSGTexture::Filtering mipmapFiltering() const = 0; + + enum TextureCoordinatesTransformFlag + { + NoTransform, + MirrorHorizontally, + MirrorVertically, + }; + + typedef QFlags TextureCoordinatesTransformMode; + virtual void setTextureCoordinatesTransform(QSGImageNode::TextureCoordinatesTransformMode mode) = 0; + virtual QSGImageNode::TextureCoordinatesTransformMode textureCoordinatesTransform() const = 0; + virtual void setOwnsTexture(bool owns) = 0; + virtual bool ownsTexture() const = 0; + static void rebuildGeometry(QSGGeometry *g, QSGTexture *texture, const QRectF &rect, QRectF sourceRect, QSGImageNode::TextureCoordinatesTransformMode texCoordMode); +}; + +%End +%If (Qt_5_8_0 -) +QFlags operator|(QSGImageNode::TextureCoordinatesTransformFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgmaterial.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgmaterial.sip new file mode 100644 index 00000000..572ada9f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgmaterial.sip @@ -0,0 +1,301 @@ +// qsgmaterial.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGMaterialShader /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + class RenderState + { +%TypeHeaderCode +#include +%End + + public: + enum DirtyState + { + DirtyMatrix, + DirtyOpacity, +%If (Qt_5_8_0 -) + DirtyCachedMaterialData, +%End +%If (Qt_5_8_0 -) + DirtyAll, +%End + }; + + typedef QFlags DirtyStates; + QSGMaterialShader::RenderState::DirtyStates dirtyStates() const; + bool isMatrixDirty() const; + bool isOpacityDirty() const; + float opacity() const; + QMatrix4x4 combinedMatrix() const; + QMatrix4x4 modelViewMatrix() const; + QRect viewportRect() const; + QRect deviceRect() const; + float determinant() const; +%If (PyQt_OpenGL) + QOpenGLContext *context() const; +%End +%If (Qt_5_1_0 -) + QMatrix4x4 projectionMatrix() const; +%End +%If (Qt_5_1_0 -) + float devicePixelRatio() const; +%End +%If (Qt_5_8_0 -) + bool isCachedMaterialDataDirty() const; +%End + }; + + QSGMaterialShader(); + virtual ~QSGMaterialShader(); + virtual void activate(); + virtual void deactivate(); + virtual void updateState(const QSGMaterialShader::RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial); + virtual SIP_PYOBJECT attributeNames() const = 0 /TypeHint="List[str]"/ [const char * const * ()]; +%MethodCode + const char * const *names = sipCpp->attributeNames(); + + Py_ssize_t nr_names = 0; + + if (names) + while (names[nr_names]) + ++nr_names; + + sipRes = PyList_New(nr_names); + + if (!sipRes) + sipIsErr = 1; + else + for (Py_ssize_t i = 0; i < nr_names; ++i) + { + const char *name = names[i]; + PyObject *el; + + #if PY_MAJOR_VERSION >= 3 + el = PyUnicode_DecodeASCII(name, strlen(name), 0); + #else + el = PyString_FromString(name); + #endif + + if (!el) + { + Py_DECREF(sipRes); + sipIsErr = 1; + break; + } + + PyList_SetItem(sipRes, i, el); + } +%End + +%VirtualCatcherCode + PyObject *names = sipCallMethod(&sipIsErr, sipMethod, ""); + + if (names) + { + sipRes = qtquick_anc_get_attr_names(sipPySelf, sipMethod, names); + + if (!sipRes) + sipIsErr = 1; + + Py_DECREF(names); + } +%End + +%If (PyQt_OpenGL) + QOpenGLShaderProgram *program(); +%End + +protected: +%If (PyQt_OpenGL) + virtual void compile(); +%End + virtual void initialize(); +%If (Qt_5_2_0 -) +%If (PyQt_OpenGL) + virtual const char *vertexShader() const; +%End +%End +%If (- Qt_5_2_0) +%If (PyQt_OpenGL) + virtual const char *vertexShader() const = 0; +%End +%End +%If (Qt_5_2_0 -) +%If (PyQt_OpenGL) + virtual const char *fragmentShader() const; +%End +%End +%If (- Qt_5_2_0) +%If (PyQt_OpenGL) + virtual const char *fragmentShader() const = 0; +%End +%End +%If (Qt_5_2_0 -) +%If (PyQt_OpenGL) + void setShaderSourceFile(QOpenGLShader::ShaderType type, const QString &sourceFile); +%End +%End +%If (Qt_5_2_0 -) +%If (PyQt_OpenGL) + void setShaderSourceFiles(QOpenGLShader::ShaderType type, const QStringList &sourceFiles); +%End +%End + +private: + QSGMaterialShader(const QSGMaterialShader &); +}; + +struct QSGMaterialType +{ +%TypeHeaderCode +#include +%End +}; + +class QSGMaterial /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum Flag + { + Blending, + RequiresDeterminant, + RequiresFullMatrixExceptTranslate, + RequiresFullMatrix, +%If (Qt_5_2_0 -) + CustomCompileStep, +%End +%If (Qt_5_14_0 -) + SupportsRhiShader, +%End +%If (Qt_5_14_0 -) + RhiShaderWanted, +%End + }; + + typedef QFlags Flags; + QSGMaterial(); + virtual ~QSGMaterial(); + virtual QSGMaterialType *type() const = 0; + virtual QSGMaterialShader *createShader() const = 0 /Factory/; + virtual int compare(const QSGMaterial *other) const; + QSGMaterial::Flags flags() const; + void setFlag(QSGMaterial::Flags flags, bool enabled = true); + +private: + QSGMaterial(const QSGMaterial &); +}; + +QFlags operator|(QSGMaterial::Flag f1, QFlags f2); +QFlags operator|(QSGMaterialShader::RenderState::DirtyState f1, QFlags f2); + +%ModuleCode +// Release any attribute names to the heap. +static void qtquick_anc_release(char **attr_names) +{ + if (attr_names) + { + for (int i = 0; attr_names[i]; ++i) + delete[] attr_names[i]; + + delete[] attr_names; + } +} + + +// The destructor for the attribute names PyCapsule. +static void qtquick_anc_destructor(PyObject *cap) +{ + qtquick_anc_release( + reinterpret_cast(PyCapsule_GetPointer(cap, NULL))); +} + + +// Get the attribute names or 0 if there was an error. +static char **qtquick_anc_get_attr_names(sipSimpleWrapper *pySelf, PyObject *method, PyObject *attr_names_obj) +{ + // Dispose of any existing names. + Py_XDECREF(sipGetUserObject(pySelf)); + sipSetUserObject(pySelf, NULL); + + // Convert the new names. + if (!PyList_Check(attr_names_obj)) + { + sipBadCatcherResult(method); + return 0; + } + + char **names = new char *[PyList_Size(attr_names_obj) + 1]; + + for (Py_ssize_t i = 0; i < PyList_Size(attr_names_obj); ++i) + { + char *name; + PyObject *el = PyList_GetItem(attr_names_obj, i); + +#if PY_MAJOR_VERSION >= 3 + PyObject *name_obj = PyUnicode_AsASCIIString(el); + + name = (name_obj ? PyBytes_AsString(name_obj) : 0); +#else + name = PyString_AsString(el); +#endif + + if (!name) + { + names[i] = 0; + qtquick_anc_release(names); + + sipBadCatcherResult(method); + return 0; + } + + char *name_copy = new char[strlen(name) + 1]; + strcpy(name_copy, name); + names[i] = name_copy; + +#if PY_MAJOR_VERSION >= 3 + Py_DECREF(name_obj); +#endif + } + + names[PyList_Size(attr_names_obj)] = 0; + + sipSetUserObject(pySelf, PyCapsule_New(names, NULL, qtquick_anc_destructor)); + + if (!sipGetUserObject(pySelf)) + { + qtquick_anc_release(names); + return 0; + } + + return names; +} +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgmaterialrhishader.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgmaterialrhishader.sip new file mode 100644 index 00000000..7330771e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgmaterialrhishader.sip @@ -0,0 +1,123 @@ +// qsgmaterialrhishader.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_14_0 -) + +class QSGMaterialRhiShader : QSGMaterialShader +{ +%TypeHeaderCode +#include +%End + +public: + class RenderState + { +%TypeHeaderCode +#include +%End + + typedef QSGMaterialShader::RenderState::DirtyStates DirtyStates; + + public: + QSGMaterialRhiShader::RenderState::DirtyStates dirtyStates() const; + bool isMatrixDirty() const; + bool isOpacityDirty() const; + float opacity() const; + QMatrix4x4 combinedMatrix() const; + QMatrix4x4 modelViewMatrix() const; + QMatrix4x4 projectionMatrix() const; + QRect viewportRect() const; + QRect deviceRect() const; + float determinant() const; + float devicePixelRatio() const; + QByteArray *uniformData(); + }; + + struct GraphicsPipelineState + { +%TypeHeaderCode +#include +%End + + enum BlendFactor + { + Zero, + One, + SrcColor, + OneMinusSrcColor, + DstColor, + OneMinusDstColor, + SrcAlpha, + OneMinusSrcAlpha, + DstAlpha, + OneMinusDstAlpha, + ConstantColor, + OneMinusConstantColor, + ConstantAlpha, + OneMinusConstantAlpha, + SrcAlphaSaturate, + Src1Color, + OneMinusSrc1Color, + Src1Alpha, + OneMinusSrc1Alpha, + }; + + enum ColorMaskComponent + { + R, + G, + B, + A, + }; + + typedef QFlags ColorMask; + + enum CullMode + { + CullNone, + CullFront, + CullBack, + }; + }; + + enum Flag + { + UpdatesGraphicsPipelineState, + }; + + typedef QFlags Flags; + QSGMaterialRhiShader(); + virtual ~QSGMaterialRhiShader(); + virtual bool updateUniformData(QSGMaterialRhiShader::RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial); + virtual void updateSampledImage(QSGMaterialRhiShader::RenderState &state, int binding, QSGTexture **texture, QSGMaterial *newMaterial, QSGMaterial *oldMaterial); + virtual bool updateGraphicsPipelineState(QSGMaterialRhiShader::RenderState &state, QSGMaterialRhiShader::GraphicsPipelineState *ps, QSGMaterial *newMaterial, QSGMaterial *oldMaterial); + QSGMaterialRhiShader::Flags flags() const; + void setFlag(QSGMaterialRhiShader::Flags flags, bool on = true); +}; + +%End +%If (Qt_5_14_0 -) +QFlags operator|(QSGMaterialRhiShader::GraphicsPipelineState::ColorMaskComponent f1, QFlags f2); +%End +%If (Qt_5_14_0 -) +QFlags operator|(QSGMaterialRhiShader::Flag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgnode.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgnode.sip new file mode 100644 index 00000000..5c76b31f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgnode.sip @@ -0,0 +1,338 @@ +// qsgnode.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGNode /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +%TypeCode +static sipErrorState qsgnode_handle_flags(QSGNode *node, PyObject *self, QSGNode::Flags old_flags) +{ + QSGNode::Flags new_flags = node->flags(); + + if (node->parent()) + { + if ((old_flags & QSGNode::OwnedByParent) != (new_flags & QSGNode::OwnedByParent)) + { + if (old_flags & QSGNode::OwnedByParent) + { + sipTransferBack(self); + } + else + { + PyObject *parent = sipConvertFromType(node->parent(), sipType_QSGNode, 0); + + if (!parent) + return sipErrorFail; + + sipTransferTo(self, parent); + Py_DECREF(parent); + } + } + } + + QSGNode::NodeType ntype = node->type(); + + if (ntype == QSGNode::BasicNodeType || ntype == QSGNode::GeometryNodeType || ntype == QSGNode::ClipNodeType) + { + QSGBasicGeometryNode *bg_node = (QSGBasicGeometryNode *)node; + + if (bg_node->geometry()) + { + if ((old_flags & QSGNode::OwnsGeometry) != (new_flags & QSGNode::OwnsGeometry)) + { + PyObject *geom = sipConvertFromType(bg_node->geometry(), sipType_QSGGeometry, 0); + + if (!geom) + return sipErrorFail; + + if (old_flags & QSGNode::OwnsGeometry) + sipTransferBack(geom); + else + sipTransferTo(geom, self); + + Py_DECREF(geom); + } + } + } + + if (ntype == QSGNode::GeometryNodeType) + { + QSGGeometryNode *g_node = (QSGGeometryNode *)node; + + if (g_node->material()) + { + if ((old_flags & QSGNode::OwnsMaterial) != (new_flags & QSGNode::OwnsMaterial)) + { + PyObject *mat = sipConvertFromType(g_node->material(), sipType_QSGMaterial, 0); + + if (!mat) + return sipErrorFail; + + if (old_flags & QSGNode::OwnsMaterial) + sipTransferBack(mat); + else + sipTransferTo(mat, self); + + Py_DECREF(mat); + } + } + + if (g_node->opaqueMaterial()) + { + if ((old_flags & QSGNode::OwnsOpaqueMaterial) != (new_flags & QSGNode::OwnsOpaqueMaterial)) + { + PyObject *omat = sipConvertFromType(g_node->opaqueMaterial(), sipType_QSGMaterial, 0); + + if (!omat) + return sipErrorFail; + + if (old_flags & QSGNode::OwnsOpaqueMaterial) + sipTransferBack(omat); + else + sipTransferTo(omat, self); + + Py_DECREF(omat); + } + } + } + + return sipErrorNone; +} +%End + +%ConvertToSubClassCode + switch (sipCpp->type()) + { + case QSGNode::BasicNodeType: + sipType = sipType_QSGBasicGeometryNode; + break; + + case QSGNode::GeometryNodeType: + sipType = sipType_QSGGeometryNode; + break; + + case QSGNode::TransformNodeType: + sipType = sipType_QSGClipNode; + break; + + case QSGNode::ClipNodeType: + sipType = sipType_QSGTransformNode; + break; + + case QSGNode::OpacityNodeType: + sipType = sipType_QSGOpacityNode; + break; + + default: + sipType = 0; + } +%End + +public: + enum NodeType + { + BasicNodeType, + GeometryNodeType, + TransformNodeType, + ClipNodeType, + OpacityNodeType, + }; + + enum Flag + { + OwnedByParent, + UsePreprocess, + OwnsGeometry, + OwnsMaterial, + OwnsOpaqueMaterial, + }; + + typedef QFlags Flags; + + enum DirtyStateBit + { + DirtyMatrix, + DirtyNodeAdded, + DirtyNodeRemoved, + DirtyGeometry, + DirtyMaterial, + DirtyOpacity, + }; + + typedef QFlags DirtyState; + QSGNode(); + virtual ~QSGNode(); + QSGNode *parent() const; + void removeChildNode(QSGNode *node); + void removeAllChildNodes(); + void prependChildNode(QSGNode *node /GetWrapper/); +%MethodCode + sipCpp->prependChildNode(a0); + + if (a0->flags() & QSGNode::OwnedByParent) + sipTransferTo(a0Wrapper, sipSelf); +%End + + void appendChildNode(QSGNode *node /GetWrapper/); +%MethodCode + sipCpp->appendChildNode(a0); + + if (a0->flags() & QSGNode::OwnedByParent) + sipTransferTo(a0Wrapper, sipSelf); +%End + + void insertChildNodeBefore(QSGNode *node /GetWrapper/, QSGNode *before); +%MethodCode + sipCpp->insertChildNodeBefore(a0, a1); + + if (a0->flags() & QSGNode::OwnedByParent) + sipTransferTo(a0Wrapper, sipSelf); +%End + + void insertChildNodeAfter(QSGNode *node /GetWrapper/, QSGNode *after); +%MethodCode + sipCpp->insertChildNodeAfter(a0, a1); + + if (a0->flags() & QSGNode::OwnedByParent) + sipTransferTo(a0Wrapper, sipSelf); +%End + + int childCount() const /__len__/; + QSGNode *childAtIndex(int i) const; + QSGNode *firstChild() const; + QSGNode *lastChild() const; + QSGNode *nextSibling() const; + QSGNode *previousSibling() const; + QSGNode::NodeType type() const; + void markDirty(QSGNode::DirtyState bits); + virtual bool isSubtreeBlocked() const; + QSGNode::Flags flags() const; + void setFlag(QSGNode::Flag, bool enabled = true); +%MethodCode + QSGNode::Flags old_flags = sipCpp->flags(); + + sipCpp->setFlag(a0, a1); + + sipError = qsgnode_handle_flags(sipCpp, sipSelf, old_flags); +%End + + void setFlags(QSGNode::Flags, bool enabled = true); + virtual void preprocess(); + +private: + QSGNode(const QSGNode &); +}; + +class QSGBasicGeometryNode : QSGNode /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QSGBasicGeometryNode(); + void setGeometry(QSGGeometry *geometry /GetWrapper/); +%MethodCode + sipCpp->setGeometry(a0); + + if (sipCpp->flags() & QSGNode::OwnsGeometry) + sipTransferTo(a0Wrapper, sipSelf); +%End + + QSGGeometry *geometry(); +}; + +class QSGGeometryNode : QSGBasicGeometryNode +{ +%TypeHeaderCode +#include +%End + +public: + QSGGeometryNode(); + virtual ~QSGGeometryNode(); + void setMaterial(QSGMaterial *material /GetWrapper/); +%MethodCode + sipCpp->setMaterial(a0); + + if (sipCpp->flags() & QSGNode::OwnsMaterial) + sipTransferTo(a0Wrapper, sipSelf); +%End + + QSGMaterial *material() const; + void setOpaqueMaterial(QSGMaterial *material /GetWrapper/); +%MethodCode + sipCpp->setOpaqueMaterial(a0); + + if (sipCpp->flags() & QSGNode::OwnsOpaqueMaterial) + sipTransferTo(a0Wrapper, sipSelf); +%End + + QSGMaterial *opaqueMaterial() const; +}; + +class QSGClipNode : QSGBasicGeometryNode +{ +%TypeHeaderCode +#include +%End + +public: + QSGClipNode(); + virtual ~QSGClipNode(); + void setIsRectangular(bool rectHint); + bool isRectangular() const; + void setClipRect(const QRectF &); + QRectF clipRect() const; +}; + +class QSGTransformNode : QSGNode +{ +%TypeHeaderCode +#include +%End + +public: + QSGTransformNode(); + virtual ~QSGTransformNode(); + void setMatrix(const QMatrix4x4 &matrix); + const QMatrix4x4 &matrix() const; +}; + +class QSGOpacityNode : QSGNode +{ +%TypeHeaderCode +#include +%End + +public: + QSGOpacityNode(); + virtual ~QSGOpacityNode(); + void setOpacity(qreal opacity); + qreal opacity() const; +}; + +QFlags operator|(QSGNode::DirtyStateBit f1, QFlags f2); +QFlags operator|(QSGNode::Flag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrectanglenode.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrectanglenode.sip new file mode 100644 index 00000000..2277bf93 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrectanglenode.sip @@ -0,0 +1,40 @@ +// qsgrectanglenode.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) + +class QSGRectangleNode : QSGGeometryNode /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QSGRectangleNode(); + virtual void setRect(const QRectF &rect) = 0; + void setRect(qreal x, qreal y, qreal w, qreal h); + virtual QRectF rect() const = 0; + virtual void setColor(const QColor &color) = 0; + virtual QColor color() const = 0; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrendererinterface.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrendererinterface.sip new file mode 100644 index 00000000..1e13319d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrendererinterface.sip @@ -0,0 +1,131 @@ +// qsgrendererinterface.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) + +class QSGRendererInterface /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum GraphicsApi + { + Unknown, + Software, + OpenGL, + Direct3D12, +%If (Qt_5_9_0 -) + OpenVG, +%End +%If (Qt_5_14_0 -) + OpenGLRhi, +%End +%If (Qt_5_14_0 -) + Direct3D11Rhi, +%End +%If (Qt_5_14_0 -) + VulkanRhi, +%End +%If (Qt_5_14_0 -) + MetalRhi, +%End +%If (Qt_5_14_0 -) + NullRhi, +%End + }; + + enum Resource + { + DeviceResource, + CommandQueueResource, + CommandListResource, + PainterResource, +%If (Qt_5_14_0 -) + RhiResource, +%End +%If (Qt_5_14_0 -) + PhysicalDeviceResource, +%End +%If (Qt_5_14_0 -) + OpenGLContextResource, +%End +%If (Qt_5_14_0 -) + DeviceContextResource, +%End +%If (Qt_5_14_0 -) + CommandEncoderResource, +%End +%If (Qt_5_14_0 -) + VulkanInstanceResource, +%End +%If (Qt_5_14_0 -) + RenderPassResource, +%End + }; + + enum ShaderType + { + UnknownShadingLanguage, + GLSL, + HLSL, +%If (Qt_5_14_0 -) + RhiShader, +%End + }; + + enum ShaderCompilationType + { + RuntimeCompilation, + OfflineCompilation, + }; + + typedef QFlags ShaderCompilationTypes; + + enum ShaderSourceType + { + ShaderSourceString, + ShaderSourceFile, + ShaderByteCode, + }; + + typedef QFlags ShaderSourceTypes; + virtual ~QSGRendererInterface(); + virtual QSGRendererInterface::GraphicsApi graphicsApi() const = 0; + virtual void *getResource(QQuickWindow *window, QSGRendererInterface::Resource resource) const; + virtual void *getResource(QQuickWindow *window, const char *resource) const; + virtual QSGRendererInterface::ShaderType shaderType() const = 0; + virtual QSGRendererInterface::ShaderCompilationTypes shaderCompilationType() const = 0; + virtual QSGRendererInterface::ShaderSourceTypes shaderSourceType() const = 0; +%If (Qt_5_14_0 -) + static bool isApiRhiBased(QSGRendererInterface::GraphicsApi api); +%End +}; + +%End +%If (Qt_5_8_0 -) +QFlags operator|(QSGRendererInterface::ShaderCompilationType f1, QFlags f2); +%End +%If (Qt_5_8_0 -) +QFlags operator|(QSGRendererInterface::ShaderSourceType f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrendernode.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrendernode.sip new file mode 100644 index 00000000..cbb0217a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgrendernode.sip @@ -0,0 +1,88 @@ +// qsgrendernode.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) + +class QSGRenderNode : QSGNode +{ +%TypeHeaderCode +#include +%End + +public: + enum StateFlag + { + DepthState, + StencilState, + ScissorState, + ColorState, + BlendState, + CullState, + ViewportState, + RenderTargetState, + }; + + typedef QFlags StateFlags; + + enum RenderingFlag + { + BoundedRectRendering, + DepthAwareRendering, + OpaqueRendering, + }; + + typedef QFlags RenderingFlags; + + struct RenderState /NoDefaultCtors/ + { +%TypeHeaderCode +#include +%End + + virtual ~RenderState(); + virtual const QMatrix4x4 *projectionMatrix() const = 0; + virtual QRect scissorRect() const = 0; + virtual bool scissorEnabled() const = 0; + virtual int stencilValue() const = 0; + virtual bool stencilEnabled() const = 0; + virtual const QRegion *clipRegion() const = 0; + virtual void *get(const char *state) const; + }; + + virtual ~QSGRenderNode(); + virtual QSGRenderNode::StateFlags changedStates() const; + virtual void render(const QSGRenderNode::RenderState *state) = 0; + virtual void releaseResources(); + virtual QSGRenderNode::RenderingFlags flags() const; + virtual QRectF rect() const; + const QMatrix4x4 *matrix() const; + const QSGClipNode *clipList() const; + qreal inheritedOpacity() const; +}; + +%End +%If (Qt_5_8_0 -) +QFlags operator|(QSGRenderNode::StateFlag f1, QFlags f2); +%End +%If (Qt_5_8_0 -) +QFlags operator|(QSGRenderNode::RenderingFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgsimplerectnode.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgsimplerectnode.sip new file mode 100644 index 00000000..bcc33734 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgsimplerectnode.sip @@ -0,0 +1,37 @@ +// qsgsimplerectnode.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGSimpleRectNode : QSGGeometryNode /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + QSGSimpleRectNode(const QRectF &rect, const QColor &color); + QSGSimpleRectNode(); + void setRect(const QRectF &rect); + void setRect(qreal x, qreal y, qreal w, qreal h); + QRectF rect() const; + void setColor(const QColor &color); + QColor color() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgsimpletexturenode.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgsimpletexturenode.sip new file mode 100644 index 00000000..29fe1cd7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgsimpletexturenode.sip @@ -0,0 +1,79 @@ +// qsgsimpletexturenode.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGSimpleTextureNode : QSGGeometryNode /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + QSGSimpleTextureNode(); +%If (Qt_5_4_0 -) + virtual ~QSGSimpleTextureNode(); +%End + void setRect(const QRectF &rect); + void setRect(qreal x, qreal y, qreal w, qreal h); + QRectF rect() const; + void setTexture(QSGTexture *texture); + QSGTexture *texture() const; + void setFiltering(QSGTexture::Filtering filtering); + QSGTexture::Filtering filtering() const; +%If (Qt_5_2_0 -) + + enum TextureCoordinatesTransformFlag + { + NoTransform, + MirrorHorizontally, + MirrorVertically, + }; + +%End +%If (Qt_5_2_0 -) + typedef QFlags TextureCoordinatesTransformMode; +%End +%If (Qt_5_2_0 -) + void setTextureCoordinatesTransform(QSGSimpleTextureNode::TextureCoordinatesTransformMode mode); +%End +%If (Qt_5_2_0 -) + QSGSimpleTextureNode::TextureCoordinatesTransformMode textureCoordinatesTransform() const; +%End +%If (Qt_5_4_0 -) + void setOwnsTexture(bool owns); +%End +%If (Qt_5_4_0 -) + bool ownsTexture() const; +%End +%If (Qt_5_5_0 -) + void setSourceRect(const QRectF &r); +%End +%If (Qt_5_5_0 -) + void setSourceRect(qreal x, qreal y, qreal w, qreal h); +%End +%If (Qt_5_5_0 -) + QRectF sourceRect() const; +%End +}; + +%If (Qt_5_2_0 -) +QFlags operator|(QSGSimpleTextureNode::TextureCoordinatesTransformFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtexture.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtexture.sip new file mode 100644 index 00000000..68c2d1ce --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtexture.sip @@ -0,0 +1,117 @@ +// qsgtexture.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGTexture : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QSGTexture(); + virtual ~QSGTexture(); + + enum WrapMode + { + Repeat, + ClampToEdge, +%If (Qt_5_10_0 -) + MirroredRepeat, +%End + }; + + enum Filtering + { + None /PyName=None_/, + Nearest, + Linear, + }; + + virtual int textureId() const = 0; + virtual QSize textureSize() const = 0; + virtual bool hasAlphaChannel() const = 0; + virtual bool hasMipmaps() const = 0; + virtual QRectF normalizedTextureSubRect() const; + virtual bool isAtlasTexture() const; + virtual QSGTexture *removedFromAtlas() const; + virtual void bind() = 0; + void updateBindOptions(bool force = false); + void setMipmapFiltering(QSGTexture::Filtering filter); + QSGTexture::Filtering mipmapFiltering() const; + void setFiltering(QSGTexture::Filtering filter); + QSGTexture::Filtering filtering() const; + void setHorizontalWrapMode(QSGTexture::WrapMode hwrap); + QSGTexture::WrapMode horizontalWrapMode() const; + void setVerticalWrapMode(QSGTexture::WrapMode vwrap); + QSGTexture::WrapMode verticalWrapMode() const; + QRectF convertToNormalizedSourceRect(const QRectF &rect) const; +%If (Qt_5_9_0 -) + + enum AnisotropyLevel + { + AnisotropyNone, + Anisotropy2x, + Anisotropy4x, + Anisotropy8x, + Anisotropy16x, + }; + +%End +%If (Qt_5_9_0 -) + void setAnisotropyLevel(QSGTexture::AnisotropyLevel level); +%End +%If (Qt_5_9_0 -) + QSGTexture::AnisotropyLevel anisotropyLevel() const; +%End +%If (Qt_5_14_0 -) + int comparisonKey() const; +%End +%If (Qt_5_15_0 -) + + struct NativeTexture + { +%TypeHeaderCode +#include +%End + + const void *object; + int layout; + }; + +%End +%If (Qt_5_15_0 -) + QSGTexture::NativeTexture nativeTexture() const; +%End +}; + +class QSGDynamicTexture : QSGTexture +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_14_0 -) + QSGDynamicTexture(); +%End + virtual bool updateTexture() = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtexturematerial.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtexturematerial.sip new file mode 100644 index 00000000..2d762955 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtexturematerial.sip @@ -0,0 +1,61 @@ +// qsgtexturematerial.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGOpaqueTextureMaterial : QSGMaterial +{ +%TypeHeaderCode +#include +%End + +public: + QSGOpaqueTextureMaterial(); + virtual QSGMaterialType *type() const; + virtual QSGMaterialShader *createShader() const /Factory/; + virtual int compare(const QSGMaterial *other) const; + void setTexture(QSGTexture *texture); + QSGTexture *texture() const; + void setMipmapFiltering(QSGTexture::Filtering filtering); + QSGTexture::Filtering mipmapFiltering() const; + void setFiltering(QSGTexture::Filtering filtering); + QSGTexture::Filtering filtering() const; + void setHorizontalWrapMode(QSGTexture::WrapMode mode); + QSGTexture::WrapMode horizontalWrapMode() const; + void setVerticalWrapMode(QSGTexture::WrapMode mode); + QSGTexture::WrapMode verticalWrapMode() const; +%If (Qt_5_9_0 -) + void setAnisotropyLevel(QSGTexture::AnisotropyLevel level); +%End +%If (Qt_5_9_0 -) + QSGTexture::AnisotropyLevel anisotropyLevel() const; +%End +}; + +class QSGTextureMaterial : QSGOpaqueTextureMaterial +{ +%TypeHeaderCode +#include +%End + +public: + virtual QSGMaterialType *type() const; + virtual QSGMaterialShader *createShader() const /Factory/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtextureprovider.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtextureprovider.sip new file mode 100644 index 00000000..ffae398c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgtextureprovider.sip @@ -0,0 +1,34 @@ +// qsgtextureprovider.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGTextureProvider : QObject +{ +%TypeHeaderCode +#include +%End + +public: + virtual QSGTexture *texture() const = 0 /Factory/; + +signals: + void textureChanged(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgvertexcolormaterial.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgvertexcolormaterial.sip new file mode 100644 index 00000000..675ae47a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick/qsgvertexcolormaterial.sip @@ -0,0 +1,36 @@ +// qsgvertexcolormaterial.sip generated by MetaSIP +// +// This file is part of the QtQuick Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSGVertexColorMaterial : QSGMaterial +{ +%TypeHeaderCode +#include +%End + +public: + QSGVertexColorMaterial(); + virtual int compare(const QSGMaterial *other) const; + +protected: + virtual QSGMaterialType *type() const; + virtual QSGMaterialShader *createShader() const /Factory/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/QtQuick3D.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/QtQuick3D.toml new file mode 100644 index 00000000..b9f778bb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/QtQuick3D.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtQuick3D. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/QtQuick3Dmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/QtQuick3Dmod.sip new file mode 100644 index 00000000..064840c8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/QtQuick3Dmod.sip @@ -0,0 +1,52 @@ +// QtQuick3Dmod.sip generated by MetaSIP +// +// This file is part of the QtQuick3D Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtQuick3D, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip +%Import QtQml/QtQmlmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qquick3d.sip +%Include qquick3dgeometry.sip +%Include qquick3dobject.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3d.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3d.sip new file mode 100644 index 00000000..fba5bef2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3d.sip @@ -0,0 +1,35 @@ +// qquick3d.sip generated by MetaSIP +// +// This file is part of the QtQuick3D Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_15_0 -) + +class QQuick3D +{ +%TypeHeaderCode +#include +%End + +public: + static QSurfaceFormat idealSurfaceFormat(int samples = -1); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3dgeometry.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3dgeometry.sip new file mode 100644 index 00000000..32bf4887 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3dgeometry.sip @@ -0,0 +1,101 @@ +// qquick3dgeometry.sip generated by MetaSIP +// +// This file is part of the QtQuick3D Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_15_0 -) + +class QQuick3DGeometry : QQuick3DObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QQuick3DGeometry(QQuick3DObject *parent /TransferThis/ = 0); + virtual ~QQuick3DGeometry(); + + enum class PrimitiveType + { + Unknown, + Points, + LineStrip, + Lines, + TriangleStrip, + TriangleFan, + Triangles, + }; + + struct Attribute + { +%TypeHeaderCode +#include +%End + + enum Semantic + { + UnknownSemantic, + IndexSemantic, + PositionSemantic, + NormalSemantic, + TexCoordSemantic, + TangentSemantic, + BinormalSemantic, + }; + + enum ComponentType + { + DefaultType, + U16Type, + U32Type, + F32Type, + }; + + QQuick3DGeometry::Attribute::Semantic semantic; + int offset; + QQuick3DGeometry::Attribute::ComponentType componentType; + }; + + QString name() const; + QByteArray vertexBuffer() const; + QByteArray indexBuffer() const; + int attributeCount() const; + QQuick3DGeometry::Attribute attribute(int index) const; + QQuick3DGeometry::PrimitiveType primitiveType() const; + QVector3D boundsMin() const; + QVector3D boundsMax() const; + int stride() const; + void setVertexData(const QByteArray &data); + void setIndexData(const QByteArray &data); + void setStride(int stride); + void setBounds(const QVector3D &min, const QVector3D &max); + void setPrimitiveType(QQuick3DGeometry::PrimitiveType type); + void addAttribute(QQuick3DGeometry::Attribute::Semantic semantic, int offset, QQuick3DGeometry::Attribute::ComponentType componentType); + void addAttribute(const QQuick3DGeometry::Attribute &att); + void clear(); + +public slots: + void setName(const QString &name); + +signals: + void nameChanged(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3dobject.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3dobject.sip new file mode 100644 index 00000000..967ca20c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuick3D/qquick3dobject.sip @@ -0,0 +1,78 @@ +// qquick3dobject.sip generated by MetaSIP +// +// This file is part of the QtQuick3D Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_15_0 -) + +class QQuick3DObject : QObject, QQmlParserStatus /Abstract/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QQuick3DObject, &sipType_QQuick3DObject, 1, -1}, + {sipName_QQuick3DGeometry, &sipType_QQuick3DGeometry, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + explicit QQuick3DObject(QQuick3DObject *parent /TransferThis/ = 0); + virtual ~QQuick3DObject(); + QString state() const; + void setState(const QString &state); + QQuick3DObject *parentItem() const; + +public slots: + void setParentItem(QQuick3DObject *parentItem); + +signals: + void stateChanged(); + +protected: + virtual void classBegin(); + virtual void componentComplete(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/QtQuickWidgets.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/QtQuickWidgets.toml new file mode 100644 index 00000000..cd1a9c62 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/QtQuickWidgets.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtQuickWidgets. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/QtQuickWidgetsmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/QtQuickWidgetsmod.sip new file mode 100644 index 00000000..671d36f9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/QtQuickWidgetsmod.sip @@ -0,0 +1,52 @@ +// QtQuickWidgetsmod.sip generated by MetaSIP +// +// This file is part of the QtQuickWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtQuickWidgets, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip +%Import QtQml/QtQmlmod.sip +%Import QtQuick/QtQuickmod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qquickwidget.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/qquickwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/qquickwidget.sip new file mode 100644 index 00000000..4ec421c7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtQuickWidgets/qquickwidget.sip @@ -0,0 +1,128 @@ +// qquickwidget.sip generated by MetaSIP +// +// This file is part of the QtQuickWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +class QQuickWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + sipType = (sipCpp->inherits(sipName_QQuickWidget) ? sipType_QQuickWidget : 0); +%End + +public: + explicit QQuickWidget(QWidget *parent /TransferThis/ = 0); + QQuickWidget(QQmlEngine *engine, QWidget *parent /TransferThis/); + QQuickWidget(const QUrl &source, QWidget *parent /TransferThis/ = 0); + virtual ~QQuickWidget(); + QUrl source() const; + QQmlEngine *engine() const; + QQmlContext *rootContext() const; + QQuickItem *rootObject() const; + + enum ResizeMode + { + SizeViewToRootObject, + SizeRootObjectToView, + }; + + QQuickWidget::ResizeMode resizeMode() const; + void setResizeMode(QQuickWidget::ResizeMode); + + enum Status + { + Null, + Ready, + Loading, + Error, + }; + + QQuickWidget::Status status() const; + QList errors() const; + virtual QSize sizeHint() const; + QSize initialSize() const; + void setFormat(const QSurfaceFormat &format); + QSurfaceFormat format() const; + +public slots: + void setSource(const QUrl &) /ReleaseGIL/; + +signals: + void statusChanged(QQuickWidget::Status); + void sceneGraphError(QQuickWindow::SceneGraphError error, const QString &message); + +protected: + virtual void resizeEvent(QResizeEvent *); + virtual void timerEvent(QTimerEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void keyReleaseEvent(QKeyEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void mouseDoubleClickEvent(QMouseEvent *); + virtual void showEvent(QShowEvent *); + virtual void hideEvent(QHideEvent *); + virtual void wheelEvent(QWheelEvent *); + virtual bool event(QEvent *); +%If (Qt_5_3_1 -) + virtual void focusInEvent(QFocusEvent *event); +%End +%If (Qt_5_3_1 -) + virtual void focusOutEvent(QFocusEvent *event); +%End +%If (Qt_5_5_0 -) + virtual void dragEnterEvent(QDragEnterEvent *); +%End +%If (Qt_5_5_0 -) + virtual void dragMoveEvent(QDragMoveEvent *); +%End +%If (Qt_5_5_0 -) + virtual void dragLeaveEvent(QDragLeaveEvent *); +%End +%If (Qt_5_5_0 -) + virtual void dropEvent(QDropEvent *); +%End +%If (Qt_5_8_0 -) + virtual void paintEvent(QPaintEvent *event); +%End + +public: +%If (Qt_5_4_0 -) + QImage grabFramebuffer() const; +%End +%If (Qt_5_4_0 -) + void setClearColor(const QColor &color); +%End +%If (Qt_5_5_0 -) + QQuickWindow *quickWindow() const; +%End + +protected: +%If (Qt_5_11_0 -) + virtual bool focusNextPrevChild(bool next); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/QtRemoteObjects.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/QtRemoteObjects.toml new file mode 100644 index 00000000..fc15fe29 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/QtRemoteObjects.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtRemoteObjects. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/QtRemoteObjectsmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/QtRemoteObjectsmod.sip new file mode 100644 index 00000000..6775f6fb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/QtRemoteObjectsmod.sip @@ -0,0 +1,53 @@ +// QtRemoteObjectsmod.sip generated by MetaSIP +// +// This file is part of the QtRemoteObjects Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtRemoteObjects, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qremoteobjectabstractitemmodelreplica.sip +%Include qremoteobjectdynamicreplica.sip +%Include qremoteobjectnode.sip +%Include qremoteobjectregistry.sip +%Include qremoteobjectreplica.sip +%Include qtremoteobjectglobal.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectabstractitemmodelreplica.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectabstractitemmodelreplica.sip new file mode 100644 index 00000000..80fc1499 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectabstractitemmodelreplica.sip @@ -0,0 +1,54 @@ +// qremoteobjectabstractitemmodelreplica.sip generated by MetaSIP +// +// This file is part of the QtRemoteObjects Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) + +class QAbstractItemModelReplica : QAbstractItemModel /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QAbstractItemModelReplica(); + QItemSelectionModel *selectionModel() const; + virtual QVariant data(const QModelIndex &index, int role = Qt::ItemDataRole::DisplayRole) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::ItemDataRole::EditRole); + virtual QModelIndex parent(const QModelIndex &index) const; + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const; + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const; + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + QVector availableRoles() const; + virtual QHash roleNames() const; + bool isInitialized() const; + bool hasData(const QModelIndex &index, int role) const; + size_t rootCacheSize() const; + void setRootCacheSize(size_t rootCacheSize); + +signals: + void initialized(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectdynamicreplica.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectdynamicreplica.sip new file mode 100644 index 00000000..683316b6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectdynamicreplica.sip @@ -0,0 +1,38 @@ +// qremoteobjectdynamicreplica.sip generated by MetaSIP +// +// This file is part of the QtRemoteObjects Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) + +class QRemoteObjectDynamicReplica : QRemoteObjectReplica +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QRemoteObjectDynamicReplica(); + +private: + QRemoteObjectDynamicReplica(); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectnode.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectnode.sip new file mode 100644 index 00000000..9e45159e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectnode.sip @@ -0,0 +1,193 @@ +// qremoteobjectnode.sip generated by MetaSIP +// +// This file is part of the QtRemoteObjects Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) + +class QRemoteObjectAbstractPersistedStore : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QRemoteObjectAbstractPersistedStore(QObject *parent /TransferThis/ = 0); + virtual ~QRemoteObjectAbstractPersistedStore(); + virtual void saveProperties(const QString &repName, const QByteArray &repSig, const QVariantList &values) = 0; + virtual QVariantList restoreProperties(const QString &repName, const QByteArray &repSig) = 0; +}; + +%End +%If (Qt_5_12_0 -) + +class QRemoteObjectNode : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QAbstractItemModelReplica, &sipType_QAbstractItemModelReplica, -1, 1}, + {sipName_QRemoteObjectAbstractPersistedStore, &sipType_QRemoteObjectAbstractPersistedStore, -1, 2}, + {sipName_QRemoteObjectReplica, &sipType_QRemoteObjectReplica, 4, 3}, + {sipName_QRemoteObjectNode, &sipType_QRemoteObjectNode, 6, -1}, + {sipName_QRemoteObjectDynamicReplica, &sipType_QRemoteObjectDynamicReplica, -1, 5}, + {sipName_QRemoteObjectRegistry, &sipType_QRemoteObjectRegistry, -1, -1}, + {sipName_QRemoteObjectHostBase, &sipType_QRemoteObjectHostBase, 7, -1}, + {sipName_QRemoteObjectHost, &sipType_QRemoteObjectHost, -1, 8}, + {sipName_QRemoteObjectRegistryHost, &sipType_QRemoteObjectRegistryHost, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum ErrorCode + { + NoError, + RegistryNotAcquired, + RegistryAlreadyHosted, + NodeIsNoServer, + ServerAlreadyCreated, + UnintendedRegistryHosting, + OperationNotValidOnClientNode, + SourceNotRegistered, + MissingObjectName, + HostUrlInvalid, + ProtocolMismatch, + ListenFailed, + }; + + QRemoteObjectNode(QObject *parent /TransferThis/ = 0); + QRemoteObjectNode(const QUrl ®istryAddress, QObject *parent /TransferThis/ = 0); + virtual ~QRemoteObjectNode(); + bool connectToNode(const QUrl &address); + void addClientSideConnection(QIODevice *ioDevice); + virtual void setName(const QString &name); + QStringList instances(const QString &typeName) const; + QRemoteObjectDynamicReplica *acquireDynamic(const QString &name) /Factory/; + QAbstractItemModelReplica *acquireModel(const QString &name, QtRemoteObjects::InitialAction action = QtRemoteObjects::FetchRootSize, const QVector &rolesHint = {}) /Factory/; + QUrl registryUrl() const; + virtual bool setRegistryUrl(const QUrl ®istryAddress); + bool waitForRegistry(int timeout = 30000) /ReleaseGIL/; + const QRemoteObjectRegistry *registry() const; + QRemoteObjectAbstractPersistedStore *persistedStore() const; + void setPersistedStore(QRemoteObjectAbstractPersistedStore *persistedStore); + QRemoteObjectNode::ErrorCode lastError() const; + int heartbeatInterval() const; + void setHeartbeatInterval(int interval); + +signals: + void remoteObjectAdded(const QRemoteObjectSourceLocation &); + void remoteObjectRemoved(const QRemoteObjectSourceLocation &); + void error(QRemoteObjectNode::ErrorCode errorCode); + void heartbeatIntervalChanged(int heartbeatInterval); + +protected: + virtual void timerEvent(QTimerEvent *); +}; + +%End +%If (Qt_5_12_0 -) + +class QRemoteObjectHostBase : QRemoteObjectNode /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum AllowedSchemas + { + BuiltInSchemasOnly, + AllowExternalRegistration, + }; + + virtual ~QRemoteObjectHostBase(); + virtual void setName(const QString &name); + bool enableRemoting(QObject *object, const QString &name = QString()); + bool enableRemoting(QAbstractItemModel *model, const QString &name, const QVector roles, QItemSelectionModel *selectionModel = 0); + bool disableRemoting(QObject *remoteObject); + void addHostSideConnection(QIODevice *ioDevice); + bool proxy(const QUrl ®istryUrl, const QUrl &hostUrl /TypeHintValue="QUrl()"/ = {}); + bool reverseProxy(); +}; + +%End +%If (Qt_5_12_0 -) + +class QRemoteObjectHost : QRemoteObjectHostBase +{ +%TypeHeaderCode +#include +%End + +public: + QRemoteObjectHost(QObject *parent /TransferThis/ = 0); + QRemoteObjectHost(const QUrl &address, const QUrl ®istryAddress = QUrl(), QRemoteObjectHostBase::AllowedSchemas allowedSchemas = QRemoteObjectHostBase::BuiltInSchemasOnly, QObject *parent /TransferThis/ = 0); + QRemoteObjectHost(const QUrl &address, QObject *parent /TransferThis/); + virtual ~QRemoteObjectHost(); + virtual QUrl hostUrl() const; + virtual bool setHostUrl(const QUrl &hostAddress, QRemoteObjectHostBase::AllowedSchemas allowedSchemas = QRemoteObjectHostBase::BuiltInSchemasOnly); + +signals: +%If (Qt_5_15_0 -) + void hostUrlChanged(); +%End +}; + +%End +%If (Qt_5_12_0 -) + +class QRemoteObjectRegistryHost : QRemoteObjectHostBase +{ +%TypeHeaderCode +#include +%End + +public: + QRemoteObjectRegistryHost(const QUrl ®istryAddress = QUrl(), QObject *parent /TransferThis/ = 0); + virtual ~QRemoteObjectRegistryHost(); + virtual bool setRegistryUrl(const QUrl ®istryUrl); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectregistry.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectregistry.sip new file mode 100644 index 00000000..79809c31 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectregistry.sip @@ -0,0 +1,43 @@ +// qremoteobjectregistry.sip generated by MetaSIP +// +// This file is part of the QtRemoteObjects Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) + +class QRemoteObjectRegistry : QRemoteObjectReplica +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QRemoteObjectRegistry(); + QRemoteObjectSourceLocations sourceLocations() const; + +signals: + void remoteObjectAdded(const QRemoteObjectSourceLocation &entry); + void remoteObjectRemoved(const QRemoteObjectSourceLocation &entry); + +private: + explicit QRemoteObjectRegistry(QObject *parent = 0); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectreplica.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectreplica.sip new file mode 100644 index 00000000..f3a30fc1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qremoteobjectreplica.sip @@ -0,0 +1,57 @@ +// qremoteobjectreplica.sip generated by MetaSIP +// +// This file is part of the QtRemoteObjects Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) + +class QRemoteObjectReplica : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum State + { + Uninitialized, + Default, + Valid, + Suspect, + SignatureMismatch, + }; + + virtual ~QRemoteObjectReplica(); + bool isReplicaValid() const; + bool waitForSource(int timeout = 30000) /ReleaseGIL/; + bool isInitialized() const; + QRemoteObjectReplica::State state() const; + QRemoteObjectNode *node() const; + virtual void setNode(QRemoteObjectNode *node); + +signals: + void initialized(); + void stateChanged(QRemoteObjectReplica::State state, QRemoteObjectReplica::State oldState); +%If (Qt_5_15_0 -) + void notified(); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qtremoteobjectglobal.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qtremoteobjectglobal.sip new file mode 100644 index 00000000..9d206c4c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtRemoteObjects/qtremoteobjectglobal.sip @@ -0,0 +1,67 @@ +// qtremoteobjectglobal.sip generated by MetaSIP +// +// This file is part of the QtRemoteObjects Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_12_0 -) + +struct QRemoteObjectSourceLocationInfo +{ +%TypeHeaderCode +#include +%End + + QRemoteObjectSourceLocationInfo(); + QRemoteObjectSourceLocationInfo(const QString &typeName_, const QUrl &hostUrl_); + bool operator==(const QRemoteObjectSourceLocationInfo &other) const; + bool operator!=(const QRemoteObjectSourceLocationInfo &other) const; + QString typeName; + QUrl hostUrl; +}; + +%End +%If (Qt_5_12_0 -) +QDataStream &operator<<(QDataStream &stream, const QRemoteObjectSourceLocationInfo &info /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_12_0 -) +QDataStream &operator>>(QDataStream &stream, QRemoteObjectSourceLocationInfo &info /Constrained/) /ReleaseGIL/; +%End +%If (Qt_5_12_0 -) +typedef QPair QRemoteObjectSourceLocation; +%End +%If (Qt_5_12_0 -) +typedef QHash QRemoteObjectSourceLocations; +%End +%If (Qt_5_12_0 -) + +namespace QtRemoteObjects +{ +%TypeHeaderCode +#include +%End + + enum InitialAction + { + FetchRootSize, + PrefetchData, + }; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/QtSensors.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/QtSensors.toml new file mode 100644 index 00000000..d297ceb3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/QtSensors.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtSensors. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/QtSensorsmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/QtSensorsmod.sip new file mode 100644 index 00000000..acee2759 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/QtSensorsmod.sip @@ -0,0 +1,67 @@ +// QtSensorsmod.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtSensors, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qaccelerometer.sip +%Include qaltimeter.sip +%Include qambientlightsensor.sip +%Include qambienttemperaturesensor.sip +%Include qcompass.sip +%Include qdistancesensor.sip +%Include qgyroscope.sip +%Include qholstersensor.sip +%Include qhumiditysensor.sip +%Include qirproximitysensor.sip +%Include qlidsensor.sip +%Include qlightsensor.sip +%Include qmagnetometer.sip +%Include qorientationsensor.sip +%Include qpressuresensor.sip +%Include qproximitysensor.sip +%Include qsensor.sip +%Include qtapsensor.sip +%Include qtiltsensor.sip +%Include qrotationsensor.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qaccelerometer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qaccelerometer.sip new file mode 100644 index 00000000..f4e20623 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qaccelerometer.sip @@ -0,0 +1,81 @@ +// qaccelerometer.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QAccelerometerReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal x() const; + void setX(qreal x); + qreal y() const; + void setY(qreal y); + qreal z() const; + void setZ(qreal z); +}; + +%End +%If (Qt_5_1_0 -) + +class QAccelerometerFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QAccelerometerReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QAccelerometer : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAccelerometer(QObject *parent /TransferThis/ = 0); + virtual ~QAccelerometer(); + + enum AccelerationMode + { + Combined, + Gravity, + User, + }; + + QAccelerometer::AccelerationMode accelerationMode() const; + void setAccelerationMode(QAccelerometer::AccelerationMode accelerationMode); + QAccelerometerReading *reading() const; + +signals: + void accelerationModeChanged(QAccelerometer::AccelerationMode accelerationMode /ScopesStripped=1/); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qaltimeter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qaltimeter.sip new file mode 100644 index 00000000..7f63af4d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qaltimeter.sip @@ -0,0 +1,67 @@ +// qaltimeter.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QAltimeterReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal altitude() const; + void setAltitude(qreal altitude); +}; + +%End +%If (Qt_5_1_0 -) + +class QAltimeterFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QAltimeterReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QAltimeter : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAltimeter(QObject *parent /TransferThis/ = 0); + virtual ~QAltimeter(); + QAltimeterReading *reading() const; + +private: + QAltimeter(const QAltimeter &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qambientlightsensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qambientlightsensor.sip new file mode 100644 index 00000000..3f6fc8e9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qambientlightsensor.sip @@ -0,0 +1,74 @@ +// qambientlightsensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QAmbientLightReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum LightLevel + { + Undefined, + Dark, + Twilight, + Light, + Bright, + Sunny, + }; + + QAmbientLightReading::LightLevel lightLevel() const; + void setLightLevel(QAmbientLightReading::LightLevel lightLevel); +}; + +%End +%If (Qt_5_1_0 -) + +class QAmbientLightFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QAmbientLightReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QAmbientLightSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAmbientLightSensor(QObject *parent /TransferThis/ = 0); + virtual ~QAmbientLightSensor(); + QAmbientLightReading *reading() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qambienttemperaturesensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qambienttemperaturesensor.sip new file mode 100644 index 00000000..e0aefd42 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qambienttemperaturesensor.sip @@ -0,0 +1,67 @@ +// qambienttemperaturesensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QAmbientTemperatureReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal temperature() const; + void setTemperature(qreal temperature); +}; + +%End +%If (Qt_5_1_0 -) + +class QAmbientTemperatureFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QAmbientTemperatureReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QAmbientTemperatureSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAmbientTemperatureSensor(QObject *parent /TransferThis/ = 0); + virtual ~QAmbientTemperatureSensor(); + QAmbientTemperatureReading *reading() const; + +private: + QAmbientTemperatureSensor(const QAmbientTemperatureSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qcompass.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qcompass.sip new file mode 100644 index 00000000..6e88afe9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qcompass.sip @@ -0,0 +1,69 @@ +// qcompass.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QCompassReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal azimuth() const; + void setAzimuth(qreal azimuth); + qreal calibrationLevel() const; + void setCalibrationLevel(qreal calibrationLevel); +}; + +%End +%If (Qt_5_1_0 -) + +class QCompassFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QCompassReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QCompass : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QCompass(QObject *parent /TransferThis/ = 0); + virtual ~QCompass(); + QCompassReading *reading() const; + +private: + QCompass(const QCompass &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qdistancesensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qdistancesensor.sip new file mode 100644 index 00000000..efb4359e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qdistancesensor.sip @@ -0,0 +1,67 @@ +// qdistancesensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QDistanceReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal distance() const; + void setDistance(qreal distance); +}; + +%End +%If (Qt_5_4_0 -) + +class QDistanceFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QDistanceReading *reading) = 0; +}; + +%End +%If (Qt_5_4_0 -) + +class QDistanceSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QDistanceSensor(QObject *parent /TransferThis/ = 0); + virtual ~QDistanceSensor(); + QDistanceReading *reading() const; + +private: + QDistanceSensor(const QDistanceSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qgyroscope.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qgyroscope.sip new file mode 100644 index 00000000..d364ec8f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qgyroscope.sip @@ -0,0 +1,71 @@ +// qgyroscope.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QGyroscopeReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal x() const; + void setX(qreal x); + qreal y() const; + void setY(qreal y); + qreal z() const; + void setZ(qreal z); +}; + +%End +%If (Qt_5_1_0 -) + +class QGyroscopeFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QGyroscopeReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QGyroscope : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGyroscope(QObject *parent /TransferThis/ = 0); + virtual ~QGyroscope(); + QGyroscopeReading *reading() const; + +private: + QGyroscope(const QGyroscope &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qholstersensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qholstersensor.sip new file mode 100644 index 00000000..ebee13fa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qholstersensor.sip @@ -0,0 +1,67 @@ +// qholstersensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QHolsterReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + bool holstered() const; + void setHolstered(bool holstered); +}; + +%End +%If (Qt_5_1_0 -) + +class QHolsterFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QHolsterReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QHolsterSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QHolsterSensor(QObject *parent /TransferThis/ = 0); + virtual ~QHolsterSensor(); + QHolsterReading *reading() const; + +private: + QHolsterSensor(const QHolsterSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qhumiditysensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qhumiditysensor.sip new file mode 100644 index 00000000..d526edd3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qhumiditysensor.sip @@ -0,0 +1,66 @@ +// qhumiditysensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_9_0 -) + +class QHumidityReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal relativeHumidity() const; + void setRelativeHumidity(qreal percent); + qreal absoluteHumidity() const; + void setAbsoluteHumidity(qreal value); +}; + +%End +%If (Qt_5_9_0 -) + +class QHumidityFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QHumidityReading *reading) = 0; +}; + +%End +%If (Qt_5_9_0 -) + +class QHumiditySensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QHumiditySensor(QObject *parent /TransferThis/ = 0); + virtual ~QHumiditySensor(); + QHumidityReading *reading() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qirproximitysensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qirproximitysensor.sip new file mode 100644 index 00000000..b6ff010f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qirproximitysensor.sip @@ -0,0 +1,67 @@ +// qirproximitysensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QIRProximityReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal reflectance() const; + void setReflectance(qreal reflectance); +}; + +%End +%If (Qt_5_1_0 -) + +class QIRProximityFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QIRProximityReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QIRProximitySensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QIRProximitySensor(QObject *parent /TransferThis/ = 0); + virtual ~QIRProximitySensor(); + QIRProximityReading *reading() const; + +private: + QIRProximitySensor(const QIRProximitySensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qlidsensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qlidsensor.sip new file mode 100644 index 00000000..8e753a07 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qlidsensor.sip @@ -0,0 +1,70 @@ +// qlidsensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_9_0 -) + +class QLidReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + bool backLidClosed() const; + void setBackLidClosed(bool closed); + bool frontLidClosed() const; + void setFrontLidClosed(bool closed); + +signals: + void backLidChanged(bool closed); + void frontLidChanged(bool closed); +}; + +%End +%If (Qt_5_9_0 -) + +class QLidFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QLidReading *reading) = 0; +}; + +%End +%If (Qt_5_9_0 -) + +class QLidSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QLidSensor(QObject *parent /TransferThis/ = 0); + virtual ~QLidSensor(); + QLidReading *reading() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qlightsensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qlightsensor.sip new file mode 100644 index 00000000..60e93a77 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qlightsensor.sip @@ -0,0 +1,72 @@ +// qlightsensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QLightReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal lux() const; + void setLux(qreal lux); +}; + +%End +%If (Qt_5_1_0 -) + +class QLightFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QLightReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QLightSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QLightSensor(QObject *parent /TransferThis/ = 0); + virtual ~QLightSensor(); + QLightReading *reading() const; + qreal fieldOfView() const; + void setFieldOfView(qreal fieldOfView); + +signals: + void fieldOfViewChanged(qreal fieldOfView); + +private: + QLightSensor(const QLightSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qmagnetometer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qmagnetometer.sip new file mode 100644 index 00000000..9b91debe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qmagnetometer.sip @@ -0,0 +1,78 @@ +// qmagnetometer.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QMagnetometerReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal x() const; + void setX(qreal x); + qreal y() const; + void setY(qreal y); + qreal z() const; + void setZ(qreal z); + qreal calibrationLevel() const; + void setCalibrationLevel(qreal calibrationLevel); +}; + +%End +%If (Qt_5_1_0 -) + +class QMagnetometerFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QMagnetometerReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QMagnetometer : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QMagnetometer(QObject *parent /TransferThis/ = 0); + virtual ~QMagnetometer(); + QMagnetometerReading *reading() const; + bool returnGeoValues() const; + void setReturnGeoValues(bool returnGeoValues); + +signals: + void returnGeoValuesChanged(bool returnGeoValues); + +private: + QMagnetometer(const QMagnetometer &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qorientationsensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qorientationsensor.sip new file mode 100644 index 00000000..e6a5564e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qorientationsensor.sip @@ -0,0 +1,78 @@ +// qorientationsensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QOrientationReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum Orientation + { + Undefined, + TopUp, + TopDown, + LeftUp, + RightUp, + FaceUp, + FaceDown, + }; + + QOrientationReading::Orientation orientation() const; + void setOrientation(QOrientationReading::Orientation orientation); +}; + +%End +%If (Qt_5_1_0 -) + +class QOrientationFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QOrientationReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QOrientationSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QOrientationSensor(QObject *parent /TransferThis/ = 0); + virtual ~QOrientationSensor(); + QOrientationReading *reading() const; + +private: + QOrientationSensor(const QOrientationSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qpressuresensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qpressuresensor.sip new file mode 100644 index 00000000..e8e7e796 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qpressuresensor.sip @@ -0,0 +1,73 @@ +// qpressuresensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QPressureReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal pressure() const; + void setPressure(qreal pressure); +%If (Qt_5_2_0 -) + qreal temperature() const; +%End +%If (Qt_5_2_0 -) + void setTemperature(qreal temperature); +%End +}; + +%End +%If (Qt_5_1_0 -) + +class QPressureFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QPressureReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QPressureSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPressureSensor(QObject *parent /TransferThis/ = 0); + virtual ~QPressureSensor(); + QPressureReading *reading() const; + +private: + QPressureSensor(const QPressureSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qproximitysensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qproximitysensor.sip new file mode 100644 index 00000000..5b3f5289 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qproximitysensor.sip @@ -0,0 +1,67 @@ +// qproximitysensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QProximityReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + bool close() const; + void setClose(bool close); +}; + +%End +%If (Qt_5_1_0 -) + +class QProximityFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QProximityReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QProximitySensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QProximitySensor(QObject *parent /TransferThis/ = 0); + virtual ~QProximitySensor(); + QProximityReading *reading() const; + +private: + QProximitySensor(const QProximitySensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qrotationsensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qrotationsensor.sip new file mode 100644 index 00000000..e6c673d7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qrotationsensor.sip @@ -0,0 +1,74 @@ +// qrotationsensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QRotationReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal x() const; + qreal y() const; + qreal z() const; + void setFromEuler(qreal x, qreal y, qreal z); +}; + +%End +%If (Qt_5_1_0 -) + +class QRotationFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QRotationReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QRotationSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QRotationSensor(QObject *parent /TransferThis/ = 0); + virtual ~QRotationSensor(); + QRotationReading *reading() const; + bool hasZ() const; + void setHasZ(bool hasZ); + +signals: + void hasZChanged(bool hasZ); + +private: + QRotationSensor(const QRotationSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qsensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qsensor.sip new file mode 100644 index 00000000..500805e0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qsensor.sip @@ -0,0 +1,265 @@ +// qsensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) +typedef quint64 qtimestamp; +%End +%If (Qt_5_1_0 -) +typedef QList> qrangelist; +%End +%If (Qt_5_1_0 -) + +struct qoutputrange +{ +%TypeHeaderCode +#include +%End + + qreal minimum; + qreal maximum; + qreal accuracy; +}; + +%End +%If (Qt_5_1_0 -) +typedef QList qoutputrangelist; +%End +%If (Qt_5_1_0 -) + +class QSensorReading : QObject /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QSensorReading(); + quint64 timestamp() const; + void setTimestamp(quint64 timestamp); + int valueCount() const; + QVariant value(int index) const; +}; + +%End +%If (Qt_5_1_0 -) + +class QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QSensorReading *reading) = 0; + +protected: + QSensorFilter(); + virtual ~QSensorFilter(); +}; + +%End +%If (Qt_5_1_0 -) + +class QSensor : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QSensor, &sipType_QSensor, 2, 1}, + {sipName_QSensorReading, &sipType_QSensorReading, 21, -1}, + {sipName_QAccelerometer, &sipType_QAccelerometer, -1, 3}, + {sipName_QAltimeter, &sipType_QAltimeter, -1, 4}, + {sipName_QAmbientLightSensor, &sipType_QAmbientLightSensor, -1, 5}, + {sipName_QAmbientTemperatureSensor, &sipType_QAmbientTemperatureSensor, -1, 6}, + {sipName_QCompass, &sipType_QCompass, -1, 7}, + #if QT_VERSION >= 0x050400 + {sipName_QDistanceSensor, &sipType_QDistanceSensor, -1, 8}, + #else + {0, 0, -1, 8}, + #endif + {sipName_QGyroscope, &sipType_QGyroscope, -1, 9}, + {sipName_QHolsterSensor, &sipType_QHolsterSensor, -1, 10}, + #if QT_VERSION >= 0x050900 + {sipName_QHumiditySensor, &sipType_QHumiditySensor, -1, 11}, + #else + {0, 0, -1, 11}, + #endif + {sipName_QIRProximitySensor, &sipType_QIRProximitySensor, -1, 12}, + #if QT_VERSION >= 0x050900 + {sipName_QLidSensor, &sipType_QLidSensor, -1, 13}, + #else + {0, 0, -1, 13}, + #endif + {sipName_QLightSensor, &sipType_QLightSensor, -1, 14}, + {sipName_QMagnetometer, &sipType_QMagnetometer, -1, 15}, + {sipName_QOrientationSensor, &sipType_QOrientationSensor, -1, 16}, + {sipName_QPressureSensor, &sipType_QPressureSensor, -1, 17}, + {sipName_QProximitySensor, &sipType_QProximitySensor, -1, 18}, + {sipName_QRotationSensor, &sipType_QRotationSensor, -1, 19}, + {sipName_QTapSensor, &sipType_QTapSensor, -1, 20}, + {sipName_QTiltSensor, &sipType_QTiltSensor, -1, -1}, + {sipName_QAccelerometerReading, &sipType_QAccelerometerReading, -1, 22}, + {sipName_QAltimeterReading, &sipType_QAltimeterReading, -1, 23}, + {sipName_QAmbientLightReading, &sipType_QAmbientLightReading, -1, 24}, + {sipName_QAmbientTemperatureReading, &sipType_QAmbientTemperatureReading, -1, 25}, + {sipName_QCompassReading, &sipType_QCompassReading, -1, 26}, + #if QT_VERSION >= 0x050400 + {sipName_QDistanceReading, &sipType_QDistanceReading, -1, 27}, + #else + {0, 0, -1, 27}, + #endif + {sipName_QGyroscopeReading, &sipType_QGyroscopeReading, -1, 28}, + {sipName_QHolsterReading, &sipType_QHolsterReading, -1, 29}, + #if QT_VERSION >= 0x050900 + {sipName_QHumidityReading, &sipType_QHumidityReading, -1, 30}, + #else + {0, 0, -1, 30}, + #endif + {sipName_QIRProximityReading, &sipType_QIRProximityReading, -1, 31}, + #if QT_VERSION >= 0x050900 + {sipName_QLidReading, &sipType_QLidReading, -1, 32}, + #else + {0, 0, -1, 32}, + #endif + {sipName_QLightReading, &sipType_QLightReading, -1, 33}, + {sipName_QMagnetometerReading, &sipType_QMagnetometerReading, -1, 34}, + {sipName_QOrientationReading, &sipType_QOrientationReading, -1, 35}, + {sipName_QPressureReading, &sipType_QPressureReading, -1, 36}, + {sipName_QProximityReading, &sipType_QProximityReading, -1, 37}, + {sipName_QRotationReading, &sipType_QRotationReading, -1, 38}, + {sipName_QTapReading, &sipType_QTapReading, -1, 39}, + {sipName_QTiltReading, &sipType_QTiltReading, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum Feature + { + Buffering, + AlwaysOn, + GeoValues, + FieldOfView, + AccelerationMode, + SkipDuplicates, + AxesOrientation, +%If (Qt_5_2_0 -) + PressureSensorTemperature, +%End + }; + + enum AxesOrientationMode + { + FixedOrientation, + AutomaticOrientation, + UserOrientation, + }; + + QSensor(const QByteArray &type, QObject *parent /TransferThis/ = 0); + virtual ~QSensor(); + QByteArray identifier() const; + void setIdentifier(const QByteArray &identifier); + QByteArray type() const; + bool connectToBackend(); + bool isConnectedToBackend() const; + bool isBusy() const; + void setActive(bool active); + bool isActive() const; + bool isAlwaysOn() const; + void setAlwaysOn(bool alwaysOn); + bool skipDuplicates() const; + void setSkipDuplicates(bool skipDuplicates); + qrangelist availableDataRates() const; + int dataRate() const; + void setDataRate(int rate); + qoutputrangelist outputRanges() const; + int outputRange() const; + void setOutputRange(int index); + QString description() const; + int error() const; + void addFilter(QSensorFilter *filter); + void removeFilter(QSensorFilter *filter); + QList filters() const; + QSensorReading *reading() const; + static QList sensorTypes(); + static QList sensorsForType(const QByteArray &type); + static QByteArray defaultSensorForType(const QByteArray &type); + bool isFeatureSupported(QSensor::Feature feature) const; + QSensor::AxesOrientationMode axesOrientationMode() const; + void setAxesOrientationMode(QSensor::AxesOrientationMode axesOrientationMode); + int currentOrientation() const; + void setCurrentOrientation(int currentOrientation); + int userOrientation() const; + void setUserOrientation(int userOrientation); + int maxBufferSize() const; + void setMaxBufferSize(int maxBufferSize); + int efficientBufferSize() const; + void setEfficientBufferSize(int efficientBufferSize); + int bufferSize() const; + void setBufferSize(int bufferSize); + +public slots: + bool start(); + void stop(); + +signals: + void busyChanged(); + void activeChanged(); + void readingChanged(); + void sensorError(int error); + void availableSensorsChanged(); + void alwaysOnChanged(); + void dataRateChanged(); + void skipDuplicatesChanged(bool skipDuplicates); + void axesOrientationModeChanged(QSensor::AxesOrientationMode axesOrientationMode /ScopesStripped=1/); + void currentOrientationChanged(int currentOrientation); + void userOrientationChanged(int userOrientation); + void maxBufferSizeChanged(int maxBufferSize); + void efficientBufferSizeChanged(int efficientBufferSize); + void bufferSizeChanged(int bufferSize); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qtapsensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qtapsensor.sip new file mode 100644 index 00000000..4448c3d4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qtapsensor.sip @@ -0,0 +1,91 @@ +// qtapsensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QTapReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum TapDirection + { + Undefined, + X, + Y, + Z, + X_Pos, + Y_Pos, + Z_Pos, + X_Neg, + Y_Neg, + Z_Neg, + X_Both, + Y_Both, + Z_Both, + }; + + QTapReading::TapDirection tapDirection() const; + void setTapDirection(QTapReading::TapDirection tapDirection); + bool isDoubleTap() const; + void setDoubleTap(bool doubleTap); +}; + +%End +%If (Qt_5_1_0 -) + +class QTapFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QTapReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QTapSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTapSensor(QObject *parent /TransferThis/ = 0); + virtual ~QTapSensor(); + QTapReading *reading() const; + bool returnDoubleTapEvents() const; + void setReturnDoubleTapEvents(bool returnDoubleTapEvents); + +signals: + void returnDoubleTapEventsChanged(bool returnDoubleTapEvents); + +private: + QTapSensor(const QTapSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qtiltsensor.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qtiltsensor.sip new file mode 100644 index 00000000..9e186ddd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSensors/qtiltsensor.sip @@ -0,0 +1,70 @@ +// qtiltsensor.sip generated by MetaSIP +// +// This file is part of the QtSensors Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QTiltReading : QSensorReading /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + qreal yRotation() const; + void setYRotation(qreal y); + qreal xRotation() const; + void setXRotation(qreal x); +}; + +%End +%If (Qt_5_1_0 -) + +class QTiltFilter : QSensorFilter +{ +%TypeHeaderCode +#include +%End + +public: + virtual bool filter(QTiltReading *reading) = 0; +}; + +%End +%If (Qt_5_1_0 -) + +class QTiltSensor : QSensor +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTiltSensor(QObject *parent /TransferThis/ = 0); + virtual ~QTiltSensor(); + QTiltReading *reading() const; + void calibrate(); + +private: + QTiltSensor(const QTiltSensor &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/QtSerialPort.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/QtSerialPort.toml new file mode 100644 index 00000000..a821aa6f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/QtSerialPort.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtSerialPort. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/QtSerialPortmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/QtSerialPortmod.sip new file mode 100644 index 00000000..5ca4be1f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/QtSerialPortmod.sip @@ -0,0 +1,49 @@ +// QtSerialPortmod.sip generated by MetaSIP +// +// This file is part of the QtSerialPort Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtSerialPort, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qserialport.sip +%Include qserialportinfo.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/qserialport.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/qserialport.sip new file mode 100644 index 00000000..f9aaf8f9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/qserialport.sip @@ -0,0 +1,340 @@ +// qserialport.sip generated by MetaSIP +// +// This file is part of the QtSerialPort Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QSerialPort : QIODevice +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QSerialPort, &sipType_QSerialPort, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum Direction + { + Input, + Output, + AllDirections, + }; + + typedef QFlags Directions; + + enum BaudRate + { + Baud1200, + Baud2400, + Baud4800, + Baud9600, + Baud19200, + Baud38400, + Baud57600, + Baud115200, + UnknownBaud, + }; + + enum DataBits + { + Data5, + Data6, + Data7, + Data8, + UnknownDataBits, + }; + + enum Parity + { + NoParity, + EvenParity, + OddParity, + SpaceParity, + MarkParity, + UnknownParity, + }; + + enum StopBits + { + OneStop, + OneAndHalfStop, + TwoStop, + UnknownStopBits, + }; + + enum FlowControl + { + NoFlowControl, + HardwareControl, + SoftwareControl, + UnknownFlowControl, + }; + + enum PinoutSignal + { + NoSignal, + TransmittedDataSignal, + ReceivedDataSignal, + DataTerminalReadySignal, + DataCarrierDetectSignal, + DataSetReadySignal, + RingIndicatorSignal, + RequestToSendSignal, + ClearToSendSignal, + SecondaryTransmittedDataSignal, + SecondaryReceivedDataSignal, + }; + + typedef QFlags PinoutSignals; + + enum DataErrorPolicy + { + SkipPolicy, + PassZeroPolicy, + IgnorePolicy, + StopReceivingPolicy, + UnknownPolicy, + }; + + enum SerialPortError + { + NoError, + DeviceNotFoundError, + PermissionError, + OpenError, + ParityError, + FramingError, + BreakConditionError, + WriteError, + ReadError, + ResourceError, + UnsupportedOperationError, +%If (Qt_5_2_0 -) + TimeoutError, +%End +%If (Qt_5_2_0 -) + NotOpenError, +%End + UnknownError, + }; + + explicit QSerialPort(QObject *parent /TransferThis/ = 0); + QSerialPort(const QString &name, QObject *parent /TransferThis/ = 0); + QSerialPort(const QSerialPortInfo &info, QObject *parent /TransferThis/ = 0); + virtual ~QSerialPort(); + void setPortName(const QString &name); + QString portName() const; + void setPort(const QSerialPortInfo &info); + virtual bool open(QIODevice::OpenMode mode); + virtual void close() /ReleaseGIL/; + void setSettingsRestoredOnClose(bool restore); + bool settingsRestoredOnClose() const; + bool setBaudRate(qint32 baudRate, QSerialPort::Directions dir = QSerialPort::AllDirections); + qint32 baudRate(QSerialPort::Directions dir = QSerialPort::AllDirections) const; + bool setDataBits(QSerialPort::DataBits dataBits); + QSerialPort::DataBits dataBits() const; + bool setParity(QSerialPort::Parity parity); + QSerialPort::Parity parity() const; + bool setStopBits(QSerialPort::StopBits stopBits); + QSerialPort::StopBits stopBits() const; + bool setFlowControl(QSerialPort::FlowControl flow); + QSerialPort::FlowControl flowControl() const; + bool setDataTerminalReady(bool set); + bool isDataTerminalReady(); + bool setRequestToSend(bool set); + bool isRequestToSend(); + QSerialPort::PinoutSignals pinoutSignals(); + bool flush() /ReleaseGIL/; + bool clear(QSerialPort::Directions dir = QSerialPort::AllDirections); + virtual bool atEnd() const; + bool setDataErrorPolicy(QSerialPort::DataErrorPolicy policy = QSerialPort::IgnorePolicy); + QSerialPort::DataErrorPolicy dataErrorPolicy() const; + QSerialPort::SerialPortError error() const; + void clearError(); + qint64 readBufferSize() const; + void setReadBufferSize(qint64 size); + virtual bool isSequential() const; + virtual qint64 bytesAvailable() const; + virtual qint64 bytesToWrite() const; + virtual bool canReadLine() const; +%If (- Qt_5_11_0) + virtual bool waitForReadyRead(int msecs) /ReleaseGIL/; +%End +%If (Qt_5_11_0 -) + virtual bool waitForReadyRead(int msecs = 30000) /ReleaseGIL/; +%End +%If (- Qt_5_11_0) + virtual bool waitForBytesWritten(int msecs) /ReleaseGIL/; +%End +%If (Qt_5_11_0 -) + virtual bool waitForBytesWritten(int msecs = 30000) /ReleaseGIL/; +%End + bool sendBreak(int duration = 0) /ReleaseGIL/; + bool setBreakEnabled(bool enabled = true); + +signals: + void baudRateChanged(qint32 baudRate, QSerialPort::Directions directions); + void dataBitsChanged(QSerialPort::DataBits dataBits); + void parityChanged(QSerialPort::Parity parity); + void stopBitsChanged(QSerialPort::StopBits stopBits); + void flowControlChanged(QSerialPort::FlowControl flow); + void dataErrorPolicyChanged(QSerialPort::DataErrorPolicy policy); + void dataTerminalReadyChanged(bool set); + void requestToSendChanged(bool set); + void error(QSerialPort::SerialPortError serialPortError); + void settingsRestoredOnCloseChanged(bool restore); + +protected: + virtual SIP_PYOBJECT readData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxSize)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QSerialPort::readData(s, a0) : sipCpp->readData(s, a0); + #else + len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual SIP_PYOBJECT readLineData(qint64 maxlen) /TypeHint="Py_v3:bytes;str",ReleaseGIL/ [qint64 (char *data, qint64 maxSize)]; +%MethodCode + // Return the data read or None if there was an error. + if (a0 < 0) + { + PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative"); + sipIsErr = 1; + } + else + { + char *s = new char[a0]; + qint64 len; + + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + len = sipSelfWasArg ? sipCpp->QSerialPort::readLineData(s, a0) : sipCpp->readLineData(s, a0); + #else + len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0); + #endif + Py_END_ALLOW_THREADS + + if (len < 0) + { + Py_INCREF(Py_None); + sipRes = Py_None; + } + else + { + sipRes = SIPBytes_FromStringAndSize(s, len); + + if (!sipRes) + sipIsErr = 1; + } + + delete[] s; + } +%End + + virtual qint64 writeData(const char *data /Array/, qint64 maxSize /ArraySize/) /ReleaseGIL/; + +public: +%If (Qt_5_2_0 -) +%If (WS_WIN) + void *handle() const; +%End +%End +%If (Qt_5_2_0 -) +%If (WS_X11 || WS_MACX) + int handle() const; +%End +%End +%If (Qt_5_5_0 -) + bool isBreakEnabled() const; +%End + +signals: +%If (Qt_5_5_0 -) + void breakEnabledChanged(bool set); +%End +%If (Qt_5_8_0 -) + void errorOccurred(QSerialPort::SerialPortError error); +%End +}; + +%End +%If (Qt_5_1_0 -) +QFlags operator|(QSerialPort::Direction f1, QFlags f2); +%End +%If (Qt_5_1_0 -) +QFlags operator|(QSerialPort::PinoutSignal f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/qserialportinfo.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/qserialportinfo.sip new file mode 100644 index 00000000..25c83288 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSerialPort/qserialportinfo.sip @@ -0,0 +1,56 @@ +// qserialportinfo.sip generated by MetaSIP +// +// This file is part of the QtSerialPort Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_1_0 -) + +class QSerialPortInfo +{ +%TypeHeaderCode +#include +%End + +public: + QSerialPortInfo(); + explicit QSerialPortInfo(const QSerialPort &port); + explicit QSerialPortInfo(const QString &name); + QSerialPortInfo(const QSerialPortInfo &other); + ~QSerialPortInfo(); + void swap(QSerialPortInfo &other /Constrained/); + QString portName() const; + QString systemLocation() const; + QString description() const; + QString manufacturer() const; + quint16 vendorIdentifier() const; + quint16 productIdentifier() const; + bool hasVendorIdentifier() const; + bool hasProductIdentifier() const; + bool isBusy() const; + bool isValid() const; + static QList standardBaudRates(); + static QList availablePorts(); + bool isNull() const; +%If (Qt_5_3_0 -) + QString serialNumber() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/QtSql.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/QtSql.toml new file mode 100644 index 00000000..23f07a5f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/QtSql.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtSql. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/QtSqlmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/QtSqlmod.sip new file mode 100644 index 00000000..4a057be1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/QtSqlmod.sip @@ -0,0 +1,62 @@ +// QtSqlmod.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtSql, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qsql.sip +%Include qsqldatabase.sip +%Include qsqldriver.sip +%Include qsqlerror.sip +%Include qsqlfield.sip +%Include qsqlindex.sip +%Include qsqlquery.sip +%Include qsqlquerymodel.sip +%Include qsqlrecord.sip +%Include qsqlrelationaldelegate.sip +%Include qsqlrelationaltablemodel.sip +%Include qsqlresult.sip +%Include qsqltablemodel.sip +%Include qtsqlglobal.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsql.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsql.sip new file mode 100644 index 00000000..5ad996a6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsql.sip @@ -0,0 +1,67 @@ +// qsql.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (- Qt_5_8_0) + +namespace QSql +{ +%TypeHeaderCode +#include +%End + + enum Location + { + BeforeFirstRow, + AfterLastRow, + }; + + enum ParamTypeFlag + { + In, + Out, + InOut, + Binary, + }; + + typedef QFlags ParamType; + + enum TableType + { + Tables, + SystemTables, + Views, + AllTables, + }; + + enum NumericalPrecisionPolicy + { + LowPrecisionInt32, + LowPrecisionInt64, + LowPrecisionDouble, + HighPrecision, + }; +}; + +%End +%If (- Qt_5_8_0) +QFlags operator|(QSql::ParamTypeFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqldatabase.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqldatabase.sip new file mode 100644 index 00000000..703e8961 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqldatabase.sip @@ -0,0 +1,97 @@ +// qsqldatabase.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlDriverCreatorBase /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QSqlDriverCreatorBase(); + virtual QSqlDriver *createObject() const = 0 /Factory/; +}; + +class QSqlDatabase +{ +%TypeHeaderCode +#include +%End + +public: + QSqlDatabase(); + QSqlDatabase(const QSqlDatabase &other); + ~QSqlDatabase(); + bool open() /ReleaseGIL/; + bool open(const QString &user, const QString &password) /ReleaseGIL/; + void close(); + bool isOpen() const; + bool isOpenError() const; + QStringList tables(QSql::TableType type = QSql::Tables) const; + QSqlIndex primaryIndex(const QString &tablename) const; + QSqlRecord record(const QString &tablename) const; + QSqlQuery exec(const QString &query = QString()) const /PyName=exec_,ReleaseGIL/; +%If (Py_v3) + QSqlQuery exec(const QString &query = QString()) const /ReleaseGIL/; +%End + QSqlError lastError() const; + bool isValid() const; + bool transaction() /ReleaseGIL/; + bool commit() /ReleaseGIL/; + bool rollback() /ReleaseGIL/; + void setDatabaseName(const QString &name); + void setUserName(const QString &name); + void setPassword(const QString &password); + void setHostName(const QString &host); + void setPort(int p); + void setConnectOptions(const QString &options = QString()); + QString databaseName() const; + QString userName() const; + QString password() const; + QString hostName() const; + QString driverName() const; + int port() const; + QString connectOptions() const; + QString connectionName() const; + QSqlDriver *driver() const; + static QSqlDatabase addDatabase(const QString &type, const QString &connectionName = QLatin1String(QSqlDatabase::defaultConnection)); + static QSqlDatabase addDatabase(QSqlDriver *driver, const QString &connectionName = QLatin1String(QSqlDatabase::defaultConnection)); + static QSqlDatabase cloneDatabase(const QSqlDatabase &other, const QString &connectionName); +%If (Qt_5_13_0 -) + static QSqlDatabase cloneDatabase(const QString &other, const QString &connectionName); +%End + static QSqlDatabase database(const QString &connectionName = QLatin1String(QSqlDatabase::defaultConnection), bool open = true); + static void removeDatabase(const QString &connectionName); + static bool contains(const QString &connectionName = QLatin1String(QSqlDatabase::defaultConnection)); + static QStringList drivers(); + static QStringList connectionNames(); + static void registerSqlDriver(const QString &name, QSqlDriverCreatorBase *creator /Transfer/); + static bool isDriverAvailable(const QString &name); + +protected: + explicit QSqlDatabase(const QString &type); + explicit QSqlDatabase(QSqlDriver *driver); + +public: + void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy); + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqldriver.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqldriver.sip new file mode 100644 index 00000000..02acab72 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqldriver.sip @@ -0,0 +1,160 @@ +// qsqldriver.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlDriver : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QSqlQueryModel, &sipType_QSqlQueryModel, 3, 1}, + {sipName_QSqlRelationalDelegate, &sipType_QSqlRelationalDelegate, -1, 2}, + {sipName_QSqlDriver, &sipType_QSqlDriver, -1, -1}, + {sipName_QSqlTableModel, &sipType_QSqlTableModel, 4, -1}, + {sipName_QSqlRelationalTableModel, &sipType_QSqlRelationalTableModel, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum DriverFeature + { + Transactions, + QuerySize, + BLOB, + Unicode, + PreparedQueries, + NamedPlaceholders, + PositionalPlaceholders, + LastInsertId, + BatchOperations, + SimpleLocking, + LowPrecisionNumbers, + EventNotifications, + FinishQuery, + MultipleResultSets, + }; + + enum StatementType + { + WhereStatement, + SelectStatement, + UpdateStatement, + InsertStatement, + DeleteStatement, + }; + + enum IdentifierType + { + FieldName, + TableName, + }; + + explicit QSqlDriver(QObject *parent /TransferThis/ = 0); + virtual ~QSqlDriver(); + virtual bool isOpen() const; + bool isOpenError() const; + virtual bool beginTransaction() /ReleaseGIL/; + virtual bool commitTransaction() /ReleaseGIL/; + virtual bool rollbackTransaction() /ReleaseGIL/; + virtual QStringList tables(QSql::TableType tableType) const; + virtual QSqlIndex primaryIndex(const QString &tableName) const; + virtual QSqlRecord record(const QString &tableName) const; + virtual QString formatValue(const QSqlField &field, bool trimStrings = false) const; + virtual QString escapeIdentifier(const QString &identifier, QSqlDriver::IdentifierType type) const; + virtual QString sqlStatement(QSqlDriver::StatementType type, const QString &tableName, const QSqlRecord &rec, bool preparedStatement) const; + QSqlError lastError() const; + virtual QVariant handle() const; + virtual bool hasFeature(QSqlDriver::DriverFeature f) const = 0; + virtual void close() = 0; + virtual QSqlResult *createResult() const = 0 /Factory/; + virtual bool open(const QString &db, const QString &user = QString(), const QString &password = QString(), const QString &host = QString(), int port = -1, const QString &options = QString()) = 0 /ReleaseGIL/; + +protected: + virtual void setOpen(bool o); + virtual void setOpenError(bool e); + virtual void setLastError(const QSqlError &e); + +public: + virtual bool subscribeToNotification(const QString &name); + virtual bool unsubscribeFromNotification(const QString &name); + virtual QStringList subscribedToNotifications() const; + + enum NotificationSource + { + UnknownSource, + SelfSource, + OtherSource, + }; + +signals: + void notification(const QString &name); + void notification(const QString &name, QSqlDriver::NotificationSource source, const QVariant &payload); + +public: + virtual bool isIdentifierEscaped(const QString &identifier, QSqlDriver::IdentifierType type) const; + virtual QString stripDelimiters(const QString &identifier, QSqlDriver::IdentifierType type) const; + void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy); + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy() const; +%If (Qt_5_4_0 -) + + enum DbmsType + { + UnknownDbms, + MSSqlServer, + MySqlServer, + PostgreSQL, + Oracle, + Sybase, + SQLite, + Interbase, + DB2, + }; + +%End +%If (Qt_5_4_0 -) + QSqlDriver::DbmsType dbmsType() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlerror.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlerror.sip new file mode 100644 index 00000000..5a8b9ed6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlerror.sip @@ -0,0 +1,68 @@ +// qsqlerror.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlError +{ +%TypeHeaderCode +#include +%End + +public: + enum ErrorType + { + NoError, + ConnectionError, + StatementError, + TransactionError, + UnknownError, + }; + +%If (Qt_5_3_0 -) + QSqlError(const QString &driverText = QString(), const QString &databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, const QString &errorCode = QString()); +%End +%If (Qt_5_3_0 -) + QSqlError(const QString &driverText, const QString &databaseText, QSqlError::ErrorType type, int number); +%End +%If (- Qt_5_3_0) + QSqlError(const QString &driverText = QString(), const QString &databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, int number = -1); +%End + QSqlError(const QSqlError &other); + ~QSqlError(); + QString driverText() const; + void setDriverText(const QString &driverText); + QString databaseText() const; + void setDatabaseText(const QString &databaseText); + QSqlError::ErrorType type() const; + void setType(QSqlError::ErrorType type); + int number() const; + void setNumber(int number); + QString text() const; + bool isValid() const; + bool operator==(const QSqlError &other) const; + bool operator!=(const QSqlError &other) const; +%If (Qt_5_3_0 -) + QString nativeErrorCode() const; +%End +%If (Qt_5_10_0 -) + void swap(QSqlError &other /Constrained/); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlfield.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlfield.sip new file mode 100644 index 00000000..114fe781 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlfield.sip @@ -0,0 +1,77 @@ +// qsqlfield.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlField +{ +%TypeHeaderCode +#include +%End + +public: + enum RequiredStatus + { + Unknown, + Optional, + Required, + }; + + QSqlField(const QString &fieldName = QString(), QVariant::Type type = QVariant::Invalid); +%If (Qt_5_10_0 -) + QSqlField(const QString &fieldName, QVariant::Type type, const QString &tableName); +%End + QSqlField(const QSqlField &other); + bool operator==(const QSqlField &other) const; + bool operator!=(const QSqlField &other) const; + ~QSqlField(); + void setValue(const QVariant &value); + QVariant value() const; + void setName(const QString &name); + QString name() const; + bool isNull() const; + void setReadOnly(bool readOnly); + bool isReadOnly() const; + void clear(); + QVariant::Type type() const; + bool isAutoValue() const; + void setType(QVariant::Type type); + void setRequiredStatus(QSqlField::RequiredStatus status); + void setRequired(bool required); + void setLength(int fieldLength); + void setPrecision(int precision); + void setDefaultValue(const QVariant &value); + void setSqlType(int type); + void setGenerated(bool gen); + void setAutoValue(bool autoVal); + QSqlField::RequiredStatus requiredStatus() const; + int length() const; + int precision() const; + QVariant defaultValue() const; + int typeID() const; + bool isGenerated() const; + bool isValid() const; +%If (Qt_5_10_0 -) + void setTableName(const QString &tableName); +%End +%If (Qt_5_10_0 -) + QString tableName() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlindex.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlindex.sip new file mode 100644 index 00000000..52790da3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlindex.sip @@ -0,0 +1,41 @@ +// qsqlindex.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlIndex : QSqlRecord +{ +%TypeHeaderCode +#include +%End + +public: + QSqlIndex(const QString &cursorName = QString(), const QString &name = QString()); + QSqlIndex(const QSqlIndex &other); + ~QSqlIndex(); + void setCursorName(const QString &cursorName); + QString cursorName() const; + void setName(const QString &name); + QString name() const; + void append(const QSqlField &field); + void append(const QSqlField &field, bool desc); + bool isDescending(int i) const; + void setDescending(int i, bool desc); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlquery.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlquery.sip new file mode 100644 index 00000000..1ccc9054 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlquery.sip @@ -0,0 +1,88 @@ +// qsqlquery.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlQuery +{ +%TypeHeaderCode +#include +%End + +public: + enum BatchExecutionMode + { + ValuesAsRows, + ValuesAsColumns, + }; + + explicit QSqlQuery(QSqlResult *r); + QSqlQuery(const QString &query = QString(), QSqlDatabase db = QSqlDatabase()) /ReleaseGIL/; + explicit QSqlQuery(QSqlDatabase db); + QSqlQuery(const QSqlQuery &other); + ~QSqlQuery(); + bool isValid() const; + bool isActive() const; + bool isNull(int field) const; +%If (Qt_5_3_0 -) + bool isNull(const QString &name) const; +%End + int at() const; + QString lastQuery() const; + int numRowsAffected() const; + QSqlError lastError() const; + bool isSelect() const; + int size() const; + const QSqlDriver *driver() const; + const QSqlResult *result() const; + bool isForwardOnly() const; + QSqlRecord record() const; + void setForwardOnly(bool forward); + bool exec(const QString &query) /PyName=exec_,ReleaseGIL/; +%If (Py_v3) + bool exec(const QString &query) /ReleaseGIL/; +%End + QVariant value(int i) const; + QVariant value(const QString &name) const; + bool seek(int index, bool relative = false) /ReleaseGIL/; + bool next() /ReleaseGIL/; + bool previous() /ReleaseGIL/; + bool first() /ReleaseGIL/; + bool last() /ReleaseGIL/; + void clear() /ReleaseGIL/; + bool exec() /PyName=exec_,ReleaseGIL/; +%If (Py_v3) + bool exec() /ReleaseGIL/; +%End + bool execBatch(QSqlQuery::BatchExecutionMode mode = QSqlQuery::ValuesAsRows); + bool prepare(const QString &query) /ReleaseGIL/; + void bindValue(const QString &placeholder, const QVariant &val, QSql::ParamType type = QSql::In); + void bindValue(int pos, const QVariant &val, QSql::ParamType type = QSql::In); + void addBindValue(const QVariant &val, QSql::ParamType type = QSql::In); + QVariant boundValue(const QString &placeholder) const; + QVariant boundValue(int pos) const; + QMap boundValues() const; + QString executedQuery() const; + QVariant lastInsertId() const; + void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy); + QSql::NumericalPrecisionPolicy numericalPrecisionPolicy() const; + void finish(); + bool nextResult(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlquerymodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlquerymodel.sip new file mode 100644 index 00000000..45ac7fcb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlquerymodel.sip @@ -0,0 +1,68 @@ +// qsqlquerymodel.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlQueryModel : QAbstractTableModel +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSqlQueryModel(QObject *parent /TransferThis/ = 0); + virtual ~QSqlQueryModel(); + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + QSqlRecord record(int row) const; + QSqlRecord record() const; + virtual QVariant data(const QModelIndex &item, int role = Qt::DisplayRole) const; + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role = Qt::EditRole); + virtual bool insertColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + void setQuery(const QSqlQuery &query); + void setQuery(const QString &query, const QSqlDatabase &db = QSqlDatabase()); + QSqlQuery query() const; + virtual void clear(); + QSqlError lastError() const; + virtual void fetchMore(const QModelIndex &parent = QModelIndex()); + virtual bool canFetchMore(const QModelIndex &parent = QModelIndex()) const; + +protected: + virtual void queryChange(); + virtual QModelIndex indexInQuery(const QModelIndex &item) const; + void setLastError(const QSqlError &error); + void beginResetModel(); + void endResetModel(); + void beginInsertRows(const QModelIndex &parent, int first, int last); + void endInsertRows(); + void beginRemoveRows(const QModelIndex &parent, int first, int last); + void endRemoveRows(); + void beginInsertColumns(const QModelIndex &parent, int first, int last); + void endInsertColumns(); + void beginRemoveColumns(const QModelIndex &parent, int first, int last); + void endRemoveColumns(); + +public: +%If (Qt_5_10_0 -) + virtual QHash roleNames() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrecord.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrecord.sip new file mode 100644 index 00000000..d9952c97 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrecord.sip @@ -0,0 +1,63 @@ +// qsqlrecord.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlRecord +{ +%TypeHeaderCode +#include +%End + +public: + QSqlRecord(); + QSqlRecord(const QSqlRecord &other); + ~QSqlRecord(); + bool operator==(const QSqlRecord &other) const; + bool operator!=(const QSqlRecord &other) const; + QVariant value(int i) const; + QVariant value(const QString &name) const; + void setValue(int i, const QVariant &val); + void setValue(const QString &name, const QVariant &val); + void setNull(int i); + void setNull(const QString &name); + bool isNull(int i) const; + bool isNull(const QString &name) const; + int indexOf(const QString &name) const; + QString fieldName(int i) const; + QSqlField field(int i) const; + QSqlField field(const QString &name) const; + bool isGenerated(int i) const; + bool isGenerated(const QString &name) const; + void setGenerated(const QString &name, bool generated); + void setGenerated(int i, bool generated); + void append(const QSqlField &field); + void replace(int pos, const QSqlField &field); + void insert(int pos, const QSqlField &field); + void remove(int pos); + bool isEmpty() const; + bool contains(const QString &name) const; + void clear(); + void clearValues(); + int count() const /__len__/; +%If (Qt_5_1_0 -) + QSqlRecord keyValues(const QSqlRecord &keyFields) const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrelationaldelegate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrelationaldelegate.sip new file mode 100644 index 00000000..777586b2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrelationaldelegate.sip @@ -0,0 +1,37 @@ +// qsqlrelationaldelegate.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlRelationalDelegate : QItemDelegate +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSqlRelationalDelegate(QObject *parent /TransferThis/ = 0); + virtual ~QSqlRelationalDelegate(); + virtual QWidget *createEditor(QWidget *parent /TransferThis/, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const /Factory/; + virtual void setModelData(QWidget *editor, QAbstractItemModel *model /KeepReference/, const QModelIndex &index) const; +%If (Qt_5_12_0 -) + virtual void setEditorData(QWidget *editor, const QModelIndex &index) const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrelationaltablemodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrelationaltablemodel.sip new file mode 100644 index 00000000..06f553f5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlrelationaltablemodel.sip @@ -0,0 +1,75 @@ +// qsqlrelationaltablemodel.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlRelation +{ +%TypeHeaderCode +#include +%End + +public: + QSqlRelation(); + QSqlRelation(const QString &aTableName, const QString &indexCol, const QString &displayCol); + QString tableName() const; + QString indexColumn() const; + QString displayColumn() const; + bool isValid() const; +%If (Qt_5_8_0 -) + void swap(QSqlRelation &other /Constrained/); +%End +}; + +class QSqlRelationalTableModel : QSqlTableModel +{ +%TypeHeaderCode +#include +%End + +public: + QSqlRelationalTableModel(QObject *parent /TransferThis/ = 0, QSqlDatabase db = QSqlDatabase()); + virtual ~QSqlRelationalTableModel(); + virtual QVariant data(const QModelIndex &item, int role = Qt::ItemDataRole::DisplayRole) const; + virtual bool setData(const QModelIndex &item, const QVariant &value, int role = Qt::ItemDataRole::EditRole); + virtual void clear(); + virtual bool select(); + virtual void setTable(const QString &tableName); + virtual void setRelation(int column, const QSqlRelation &relation); + QSqlRelation relation(int column) const; + virtual QSqlTableModel *relationModel(int column) const; + virtual void revertRow(int row); + virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + +protected: + virtual QString selectStatement() const; + virtual bool updateRowInTable(int row, const QSqlRecord &values); + virtual QString orderByClause() const; + virtual bool insertRowIntoTable(const QSqlRecord &values); + +public: + enum JoinMode + { + InnerJoin, + LeftJoin, + }; + + void setJoinMode(QSqlRelationalTableModel::JoinMode joinMode); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlresult.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlresult.sip new file mode 100644 index 00000000..4d948674 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqlresult.sip @@ -0,0 +1,90 @@ +// qsqlresult.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlResult /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QSqlResult(); + virtual QVariant handle() const; + +protected: + enum BindingSyntax + { + PositionalBinding, + NamedBinding, + }; + + explicit QSqlResult(const QSqlDriver *db); + int at() const; + QString lastQuery() const; + QSqlError lastError() const; + bool isValid() const; + bool isActive() const; + bool isSelect() const; + bool isForwardOnly() const; + const QSqlDriver *driver() const; + virtual void setAt(int at); + virtual void setActive(bool a); + virtual void setLastError(const QSqlError &e); + virtual void setQuery(const QString &query); + virtual void setSelect(bool s); + virtual void setForwardOnly(bool forward); + virtual bool exec() /PyName=exec_,ReleaseGIL/; +%If (Py_v3) + virtual bool exec() /ReleaseGIL/; +%End + virtual bool prepare(const QString &query) /ReleaseGIL/; + virtual bool savePrepare(const QString &sqlquery); + virtual void bindValue(int pos, const QVariant &val, QSql::ParamType type); + virtual void bindValue(const QString &placeholder, const QVariant &val, QSql::ParamType type); + void addBindValue(const QVariant &val, QSql::ParamType type); + QVariant boundValue(const QString &placeholder) const; + QVariant boundValue(int pos) const; + QSql::ParamType bindValueType(const QString &placeholder) const; + QSql::ParamType bindValueType(int pos) const; + int boundValueCount() const; + QVector &boundValues() const; + QString executedQuery() const; + QString boundValueName(int pos) const; + void clear(); + bool hasOutValues() const; + QSqlResult::BindingSyntax bindingSyntax() const; + virtual QVariant data(int i) = 0; + virtual bool isNull(int i) = 0; + virtual bool reset(const QString &sqlquery) = 0; + virtual bool fetch(int i) = 0 /ReleaseGIL/; + virtual bool fetchNext() /ReleaseGIL/; + virtual bool fetchPrevious() /ReleaseGIL/; + virtual bool fetchFirst() = 0 /ReleaseGIL/; + virtual bool fetchLast() = 0 /ReleaseGIL/; + virtual int size() = 0; + virtual int numRowsAffected() = 0; + virtual QSqlRecord record() const; + virtual QVariant lastInsertId() const; + +private: + QSqlResult(const QSqlResult &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqltablemodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqltablemodel.sip new file mode 100644 index 00000000..fcfab5d9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qsqltablemodel.sip @@ -0,0 +1,97 @@ +// qsqltablemodel.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSqlTableModel : QSqlQueryModel +{ +%TypeHeaderCode +#include +%End + +public: + enum EditStrategy + { + OnFieldChange, + OnRowChange, + OnManualSubmit, + }; + + QSqlTableModel(QObject *parent /TransferThis/ = 0, QSqlDatabase db = QSqlDatabase()); + virtual ~QSqlTableModel(); + virtual bool select(); + virtual void setTable(const QString &tableName); + QString tableName() const; + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + virtual QVariant data(const QModelIndex &idx, int role = Qt::ItemDataRole::DisplayRole) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::ItemDataRole::EditRole); + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::ItemDataRole::DisplayRole) const; + bool isDirty(const QModelIndex &index) const; + bool isDirty() const; + virtual void clear(); + virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); + QSqlTableModel::EditStrategy editStrategy() const; + QSqlIndex primaryKey() const; + QSqlDatabase database() const; + int fieldIndex(const QString &fieldName) const; + virtual void sort(int column, Qt::SortOrder order); + virtual void setSort(int column, Qt::SortOrder order); + QString filter() const; + virtual void setFilter(const QString &filter); + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual bool removeColumns(int column, int count, const QModelIndex &parent = QModelIndex()); + virtual bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); + virtual bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); + bool insertRecord(int row, const QSqlRecord &record); + bool setRecord(int row, const QSqlRecord &record); + virtual void revertRow(int row); + +public slots: + virtual bool submit(); + virtual void revert(); + bool submitAll(); + void revertAll(); + +signals: + void primeInsert(int row, QSqlRecord &record); + void beforeInsert(QSqlRecord &record); + void beforeUpdate(int row, QSqlRecord &record); + void beforeDelete(int row); + +protected: + virtual bool updateRowInTable(int row, const QSqlRecord &values); + virtual bool insertRowIntoTable(const QSqlRecord &values); + virtual bool deleteRowFromTable(int row); + virtual QString orderByClause() const; + virtual QString selectStatement() const; + void setPrimaryKey(const QSqlIndex &key); + void setQuery(const QSqlQuery &query); + virtual QModelIndex indexInQuery(const QModelIndex &item) const; + +public: + virtual bool selectRow(int row); + QSqlRecord record() const; + QSqlRecord record(int row) const; + +protected: +%If (Qt_5_1_0 -) + QSqlRecord primaryValues(int row) const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qtsqlglobal.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qtsqlglobal.sip new file mode 100644 index 00000000..7cb5a44b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSql/qtsqlglobal.sip @@ -0,0 +1,67 @@ +// qtsqlglobal.sip generated by MetaSIP +// +// This file is part of the QtSql Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_8_0 -) + +namespace QSql +{ +%TypeHeaderCode +#include +%End + + enum Location + { + BeforeFirstRow, + AfterLastRow, + }; + + enum ParamTypeFlag + { + In, + Out, + InOut, + Binary, + }; + + typedef QFlags ParamType; + + enum TableType + { + Tables, + SystemTables, + Views, + AllTables, + }; + + enum NumericalPrecisionPolicy + { + LowPrecisionInt32, + LowPrecisionInt64, + LowPrecisionDouble, + HighPrecision, + }; +}; + +%End +%If (Qt_5_8_0 -) +QFlags operator|(QSql::ParamTypeFlag f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/QtSvg.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/QtSvg.toml new file mode 100644 index 00000000..429ca382 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/QtSvg.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtSvg. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/QtSvgmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/QtSvgmod.sip new file mode 100644 index 00000000..487fbcc6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/QtSvgmod.sip @@ -0,0 +1,53 @@ +// QtSvgmod.sip generated by MetaSIP +// +// This file is part of the QtSvg Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtSvg, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qgraphicssvgitem.sip +%Include qsvggenerator.sip +%Include qsvgrenderer.sip +%Include qsvgwidget.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qgraphicssvgitem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qgraphicssvgitem.sip new file mode 100644 index 00000000..a5f368a3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qgraphicssvgitem.sip @@ -0,0 +1,57 @@ +// qgraphicssvgitem.sip generated by MetaSIP +// +// This file is part of the QtSvg Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsSvgItem : QGraphicsObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + if (sipCpp->type() == 13) + { + // Switch to the QObject convertor. + *sipCppRet = static_cast(sipCpp); + sipType = sipType_QObject; + } + else + sipType = 0; +%End + +public: + QGraphicsSvgItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsSvgItem(const QString &fileName, QGraphicsItem *parent /TransferThis/ = 0); + void setSharedRenderer(QSvgRenderer *renderer /KeepReference/); + QSvgRenderer *renderer() const; + void setElementId(const QString &id); + QString elementId() const; + void setMaximumCacheSize(const QSize &size); + QSize maximumCacheSize() const; + virtual QRectF boundingRect() const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual int type() const; +}; + +%ModuleCode +// This is needed by the %ConvertToSubClassCode. +#include +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvggenerator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvggenerator.sip new file mode 100644 index 00000000..ef7cb164 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvggenerator.sip @@ -0,0 +1,52 @@ +// qsvggenerator.sip generated by MetaSIP +// +// This file is part of the QtSvg Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSvgGenerator : QPaintDevice +{ +%TypeHeaderCode +#include +%End + +public: + QSvgGenerator(); + virtual ~QSvgGenerator(); + QSize size() const; + void setSize(const QSize &size); + QString fileName() const; + void setFileName(const QString &fileName); + QIODevice *outputDevice() const; + void setOutputDevice(QIODevice *outputDevice); + int resolution() const; + void setResolution(int resolution); + QString title() const; + void setTitle(const QString &title); + QString description() const; + void setDescription(const QString &description); + QRect viewBox() const; + QRectF viewBoxF() const; + void setViewBox(const QRect &viewBox); + void setViewBox(const QRectF &viewBox); + +protected: + virtual QPaintEngine *paintEngine() const; + virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvgrenderer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvgrenderer.sip new file mode 100644 index 00000000..21abb4dc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvgrenderer.sip @@ -0,0 +1,101 @@ +// qsvgrenderer.sip generated by MetaSIP +// +// This file is part of the QtSvg Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSvgRenderer : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QSvgRenderer, &sipType_QSvgRenderer, -1, 1}, + {sipName_QSvgWidget, &sipType_QSvgWidget, -1, 2}, + {sipName_QGraphicsSvgItem, &sipType_QGraphicsSvgItem, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + QSvgRenderer(QObject *parent /TransferThis/ = 0); + QSvgRenderer(const QString &filename, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QSvgRenderer(const QByteArray &contents, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + QSvgRenderer(QXmlStreamReader *contents, QObject *parent /TransferThis/ = 0) /ReleaseGIL/; + virtual ~QSvgRenderer(); + bool isValid() const; + QSize defaultSize() const; + bool elementExists(const QString &id) const; + QRect viewBox() const; + QRectF viewBoxF() const; + void setViewBox(const QRect &viewbox); + void setViewBox(const QRectF &viewbox); + bool animated() const; + QRectF boundsOnElement(const QString &id) const; + int framesPerSecond() const; + void setFramesPerSecond(int num); + int currentFrame() const; + void setCurrentFrame(int); + int animationDuration() const; + +public slots: + bool load(const QString &filename) /ReleaseGIL/; + bool load(const QByteArray &contents) /ReleaseGIL/; + bool load(QXmlStreamReader *contents) /ReleaseGIL/; + void render(QPainter *p) /ReleaseGIL/; + void render(QPainter *p, const QRectF &bounds) /ReleaseGIL/; + void render(QPainter *painter, const QString &elementId, const QRectF &bounds = QRectF()) /ReleaseGIL/; + +signals: + void repaintNeeded(); + +public: +%If (Qt_5_15_0 -) + Qt::AspectRatioMode aspectRatioMode() const; +%End +%If (Qt_5_15_0 -) + void setAspectRatioMode(Qt::AspectRatioMode mode); +%End +%If (Qt_5_15_0 -) + QTransform transformForElement(const QString &id) const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvgwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvgwidget.sip new file mode 100644 index 00000000..efd879d5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtSvg/qsvgwidget.sip @@ -0,0 +1,42 @@ +// qsvgwidget.sip generated by MetaSIP +// +// This file is part of the QtSvg Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSvgWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QSvgWidget(QWidget *parent /TransferThis/ = 0); + QSvgWidget(const QString &file, QWidget *parent /TransferThis/ = 0); + virtual ~QSvgWidget(); + QSvgRenderer *renderer() const; + virtual QSize sizeHint() const; + +public slots: + void load(const QString &file); + void load(const QByteArray &contents); + +protected: + virtual void paintEvent(QPaintEvent *event); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/QtTest.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/QtTest.toml new file mode 100644 index 00000000..b2b435b9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/QtTest.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtTest. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/QtTestmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/QtTestmod.sip new file mode 100644 index 00000000..5e1fec25 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/QtTestmod.sip @@ -0,0 +1,55 @@ +// QtTestmod.sip generated by MetaSIP +// +// This file is part of the QtTest Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtTest, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qabstractitemmodeltester.sip +%Include qsignalspy.sip +%Include qtestcase.sip +%Include qtestkeyboard.sip +%Include qtestmouse.sip +%Include qtestsystem.sip +%Include qtesttouch.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qabstractitemmodeltester.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qabstractitemmodeltester.sip new file mode 100644 index 00000000..5423a8e8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qabstractitemmodeltester.sip @@ -0,0 +1,48 @@ +// qabstractitemmodeltester.sip generated by MetaSIP +// +// This file is part of the QtTest Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_11_0 -) + +class QAbstractItemModelTester : QObject +{ +%TypeHeaderCode +// Qt v5.11.0 needs this. +#include + +#include +%End + +public: + enum class FailureReportingMode + { + QtTest, + Warning, + Fatal, + }; + + QAbstractItemModelTester(QAbstractItemModel *model /KeepReference=1/, QObject *parent /TransferThis/ = 0); + QAbstractItemModelTester(QAbstractItemModel *model /KeepReference=1/, QAbstractItemModelTester::FailureReportingMode mode, QObject *parent /TransferThis/ = 0); + QAbstractItemModel *model() const; + QAbstractItemModelTester::FailureReportingMode failureReportingMode() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qsignalspy.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qsignalspy.sip new file mode 100644 index 00000000..d8f4a000 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qsignalspy.sip @@ -0,0 +1,105 @@ +// qsignalspy.sip generated by MetaSIP +// +// This file is part of the QtTest Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSignalSpy : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + sipType = (sipCpp->inherits("QSignalSpy") ? sipType_QSignalSpy : 0); + + #if QT_VERSION >= 0x050b00 + if (!sipType && sipCpp->inherits("QAbstractItemModelTester")) + sipType = sipType_QAbstractItemModelTester; + #endif +%End + +public: + QSignalSpy(SIP_PYOBJECT signal /TypeHint="pyqtBoundSignal"/) [(const QObject *obj, const char *aSignal)]; +%MethodCode + QObject *sender; + QByteArray signal_signature; + + if ((sipError = pyqt5_qttest_get_pyqtsignal_parts(a0, &sender, signal_signature)) == sipErrorNone) + sipCpp = new sipQSignalSpy(sender, signal_signature.constData()); + else if (sipError == sipErrorContinue) + sipError = sipBadCallableArg(0, a0); +%End + +%If (Qt_5_14_0 -) + QSignalSpy(const QObject *obj, const QMetaMethod &signal); +%End + bool isValid() const; + QByteArray signal() const; + bool wait(int timeout = 5000) /ReleaseGIL/; + int __len__() const; +%MethodCode + sipRes = sipCpp->count(); +%End + + QList __getitem__(int i) const; +%MethodCode + Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count()); + + if (idx < 0) + sipIsErr = 1; + else + sipRes = new QList(sipCpp->at((int)idx)); +%End + + void __setitem__(int i, const QList &value); +%MethodCode + int len = sipCpp->count(); + + if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0) + sipIsErr = 1; + else + (*sipCpp)[a0] = *a1; +%End + + void __delitem__(int i); +%MethodCode + if ((a0 = (int)sipConvertFromSequenceIndex(a0, sipCpp->count())) < 0) + sipIsErr = 1; + else + sipCpp->removeAt(a0); +%End +}; + +%ModuleHeaderCode +// Imports from QtCore. +typedef sipErrorState (*pyqt5_qttest_get_pyqtsignal_parts_t)(PyObject *, QObject **, QByteArray &); +extern pyqt5_qttest_get_pyqtsignal_parts_t pyqt5_qttest_get_pyqtsignal_parts; +%End + +%ModuleCode +// Imports from QtCore. +pyqt5_qttest_get_pyqtsignal_parts_t pyqt5_qttest_get_pyqtsignal_parts; +%End + +%PostInitialisationCode +// Imports from QtCore. +pyqt5_qttest_get_pyqtsignal_parts = (pyqt5_qttest_get_pyqtsignal_parts_t)sipImportSymbol("pyqt5_get_pyqtsignal_parts"); +Q_ASSERT(pyqt5_qttest_get_pyqtsignal_parts); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestcase.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestcase.sip new file mode 100644 index 00000000..28f3b938 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestcase.sip @@ -0,0 +1,30 @@ +// qtestcase.sip generated by MetaSIP +// +// This file is part of the QtTest Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QTest +{ +%TypeHeaderCode +#include +%End + + void qSleep(int ms) /ReleaseGIL/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestkeyboard.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestkeyboard.sip new file mode 100644 index 00000000..2f3ce929 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestkeyboard.sip @@ -0,0 +1,62 @@ +// qtestkeyboard.sip generated by MetaSIP +// +// This file is part of the QtTest Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QTest +{ +%TypeHeaderCode +#include +%End + + enum KeyAction + { + Press, + Release, + Click, +%If (Qt_5_6_0 -) + Shortcut, +%End + }; + + void keyClick(QWidget *widget, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyClick(QWidget *widget, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyClicks(QWidget *widget, const QString &sequence, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyEvent(QTest::KeyAction action, QWidget *widget, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyEvent(QTest::KeyAction action, QWidget *widget, char ascii, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyPress(QWidget *widget, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyPress(QWidget *widget, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyRelease(QWidget *widget, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyRelease(QWidget *widget, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); +%If (Qt_5_10_0 -) + void keySequence(QWidget *widget, const QKeySequence &keySequence); +%End + void keyEvent(QTest::KeyAction action, QWindow *window, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyEvent(QTest::KeyAction action, QWindow *window, char ascii, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyClick(QWindow *window, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyClick(QWindow *window, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyPress(QWindow *window, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyPress(QWindow *window, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyRelease(QWindow *window, Qt::Key key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); + void keyRelease(QWindow *window, char key, Qt::KeyboardModifiers modifier = Qt::NoModifier, int delay = -1); +%If (Qt_5_10_0 -) + void keySequence(QWindow *window, const QKeySequence &keySequence); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestmouse.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestmouse.sip new file mode 100644 index 00000000..d693756e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestmouse.sip @@ -0,0 +1,39 @@ +// qtestmouse.sip generated by MetaSIP +// +// This file is part of the QtTest Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QTest +{ +%TypeHeaderCode +#include +%End + + void mouseClick(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseDClick(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseMove(QWidget *widget, QPoint pos = QPoint(), int delay = -1); + void mousePress(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseRelease(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mousePress(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseRelease(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseClick(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseDClick(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseMove(QWindow *window, QPoint pos = QPoint(), int delay = -1); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestsystem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestsystem.sip new file mode 100644 index 00000000..4b71992d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtestsystem.sip @@ -0,0 +1,34 @@ +// qtestsystem.sip generated by MetaSIP +// +// This file is part of the QtTest Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QTest +{ +%TypeHeaderCode +#include +%End + + void qWait(int ms) /ReleaseGIL/; + bool qWaitForWindowActive(QWindow *window, int timeout = 5000) /ReleaseGIL/; + bool qWaitForWindowExposed(QWindow *window, int timeout = 5000) /ReleaseGIL/; + bool qWaitForWindowActive(QWidget *widget, int timeout = 5000) /ReleaseGIL/; + bool qWaitForWindowExposed(QWidget *widget, int timeout = 5000) /ReleaseGIL/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtesttouch.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtesttouch.sip new file mode 100644 index 00000000..0438c762 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTest/qtesttouch.sip @@ -0,0 +1,62 @@ +// qtesttouch.sip generated by MetaSIP +// +// This file is part of the QtTest Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +namespace QTest +{ +%TypeHeaderCode +#include +%End + + class QTouchEventSequence + { +%TypeHeaderCode +#include +%End + + public: + ~QTouchEventSequence(); + QTest::QTouchEventSequence &press(int touchId, const QPoint &pt, QWindow *window = 0); + QTest::QTouchEventSequence &move(int touchId, const QPoint &pt, QWindow *window = 0); + QTest::QTouchEventSequence &release(int touchId, const QPoint &pt, QWindow *window = 0); + QTest::QTouchEventSequence &stationary(int touchId); + QTest::QTouchEventSequence &press(int touchId, const QPoint &pt, QWidget *widget) [QTest::QTouchEventSequence & (int touchId, const QPoint &pt, QWidget *widget = 0)]; + QTest::QTouchEventSequence &move(int touchId, const QPoint &pt, QWidget *widget) [QTest::QTouchEventSequence & (int touchId, const QPoint &pt, QWidget *widget = 0)]; + QTest::QTouchEventSequence &release(int touchId, const QPoint &pt, QWidget *widget) [QTest::QTouchEventSequence & (int touchId, const QPoint &pt, QWidget *widget = 0)]; + void commit(bool processEvents = true) /ReleaseGIL/; + + private: + QTouchEventSequence(QWidget *widget, QTouchDevice *aDevice, bool autoCommit); + QTouchEventSequence(QWindow *window, QTouchDevice *aDevice, bool autoCommit); + }; + + QTest::QTouchEventSequence touchEvent(QWidget *widget, QTouchDevice *device); +%MethodCode + // Disable auto-committing so that we can copy the instance around. + sipRes = new QTest::QTouchEventSequence(QTest::touchEvent(a0, a1, false)); +%End + + QTest::QTouchEventSequence touchEvent(QWindow *window, QTouchDevice *device); +%MethodCode + // Disable auto-committing so that we can copy the instance around. + sipRes = new QTest::QTouchEventSequence(QTest::touchEvent(a0, a1, false)); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/QtTextToSpeech.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/QtTextToSpeech.toml new file mode 100644 index 00000000..09be0496 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/QtTextToSpeech.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtTextToSpeech. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/QtTextToSpeechmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/QtTextToSpeechmod.sip new file mode 100644 index 00000000..bcaed6b6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/QtTextToSpeechmod.sip @@ -0,0 +1,49 @@ +// QtTextToSpeechmod.sip generated by MetaSIP +// +// This file is part of the QtTextToSpeech Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtTextToSpeech, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qtexttospeech.sip +%Include qvoice.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/qtexttospeech.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/qtexttospeech.sip new file mode 100644 index 00000000..18bd851f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/qtexttospeech.sip @@ -0,0 +1,101 @@ +// qtexttospeech.sip generated by MetaSIP +// +// This file is part of the QtTextToSpeech Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_15_0 -) + +class QTextToSpeech : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QTextToSpeech, &sipType_QTextToSpeech, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + enum State + { + Ready, + Speaking, + Paused, + BackendError, + }; + + explicit QTextToSpeech(QObject *parent /TransferThis/ = 0); + QTextToSpeech(const QString &engine, QObject *parent /TransferThis/ = 0); + QTextToSpeech::State state() const; + QVector availableLocales() const; + QLocale locale() const; + QVoice voice() const; + QVector availableVoices() const; + double rate() const; + double pitch() const; + double volume() const; + static QStringList availableEngines(); + +public slots: + void say(const QString &text); + void stop(); + void pause(); + void resume(); + void setLocale(const QLocale &locale); + void setRate(double rate); + void setPitch(double pitch); + void setVolume(double volume); + void setVoice(const QVoice &voice); + +signals: + void stateChanged(QTextToSpeech::State state); + void localeChanged(const QLocale &locale); + void rateChanged(double rate); + void pitchChanged(double pitch); + void volumeChanged(double volume /Constrained/); + void volumeChanged(int volume); + void voiceChanged(const QVoice &voice); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/qvoice.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/qvoice.sip new file mode 100644 index 00000000..10041ca8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtTextToSpeech/qvoice.sip @@ -0,0 +1,60 @@ +// qvoice.sip generated by MetaSIP +// +// This file is part of the QtTextToSpeech Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_15_0 -) + +class QVoice +{ +%TypeHeaderCode +#include +%End + +public: + enum Gender + { + Male, + Female, + Unknown, + }; + + enum Age + { + Child, + Teenager, + Adult, + Senior, + Other, + }; + + QVoice(); + QVoice(const QVoice &other); + ~QVoice(); + bool operator==(const QVoice &other); + bool operator!=(const QVoice &other); + QString name() const; + QVoice::Gender gender() const; + QVoice::Age age() const; + static QString genderName(QVoice::Gender gender); + static QString ageName(QVoice::Age age); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/QtWebChannel.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/QtWebChannel.toml new file mode 100644 index 00000000..a3b7f903 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/QtWebChannel.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtWebChannel. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/QtWebChannelmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/QtWebChannelmod.sip new file mode 100644 index 00000000..4dcadcb1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/QtWebChannelmod.sip @@ -0,0 +1,49 @@ +// QtWebChannelmod.sip generated by MetaSIP +// +// This file is part of the QtWebChannel Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtWebChannel, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qwebchannel.sip +%Include qwebchannelabstracttransport.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/qwebchannel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/qwebchannel.sip new file mode 100644 index 00000000..c759d1e8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/qwebchannel.sip @@ -0,0 +1,81 @@ +// qwebchannel.sip generated by MetaSIP +// +// This file is part of the QtWebChannel Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QWebChannel : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QWebChannelAbstractTransport, &sipType_QWebChannelAbstractTransport, -1, 1}, + {sipName_QWebChannel, &sipType_QWebChannel, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + explicit QWebChannel(QObject *parent /TransferThis/ = 0); + virtual ~QWebChannel(); + void registerObjects(const QHash &objects); + QHash registeredObjects() const; + void registerObject(const QString &id, QObject *object); + void deregisterObject(QObject *object); + bool blockUpdates() const; + void setBlockUpdates(bool block); + +signals: + void blockUpdatesChanged(bool block); + +public slots: + void connectTo(QWebChannelAbstractTransport *transport); + void disconnectFrom(QWebChannelAbstractTransport *transport); + +private: + QWebChannel(const QWebChannel &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/qwebchannelabstracttransport.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/qwebchannelabstracttransport.sip new file mode 100644 index 00000000..ae7b9444 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebChannel/qwebchannelabstracttransport.sip @@ -0,0 +1,42 @@ +// qwebchannelabstracttransport.sip generated by MetaSIP +// +// This file is part of the QtWebChannel Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) + +class QWebChannelAbstractTransport : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWebChannelAbstractTransport(QObject *parent /TransferThis/ = 0); + virtual ~QWebChannelAbstractTransport(); + +public slots: + virtual void sendMessage(const QJsonObject &message) = 0; + +signals: + void messageReceived(const QJsonObject &message, QWebChannelAbstractTransport *transport); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/QtWebSockets.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/QtWebSockets.toml new file mode 100644 index 00000000..7605ba68 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/QtWebSockets.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtWebSockets. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/QtWebSocketsmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/QtWebSocketsmod.sip new file mode 100644 index 00000000..01eaf964 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/QtWebSocketsmod.sip @@ -0,0 +1,53 @@ +// QtWebSocketsmod.sip generated by MetaSIP +// +// This file is part of the QtWebSockets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtWebSockets, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtNetwork/QtNetworkmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qmaskgenerator.sip +%Include qwebsocket.sip +%Include qwebsocketcorsauthenticator.sip +%Include qwebsocketprotocol.sip +%Include qwebsocketserver.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qmaskgenerator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qmaskgenerator.sip new file mode 100644 index 00000000..f8479adc --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qmaskgenerator.sip @@ -0,0 +1,38 @@ +// qmaskgenerator.sip generated by MetaSIP +// +// This file is part of the QtWebSockets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +class QMaskGenerator : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QMaskGenerator(QObject *parent /TransferThis/ = 0); + virtual ~QMaskGenerator(); + virtual bool seed() = 0; + virtual quint32 nextMask() = 0; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocket.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocket.sip new file mode 100644 index 00000000..78ff765d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocket.sip @@ -0,0 +1,172 @@ +// qwebsocket.sip generated by MetaSIP +// +// This file is part of the QtWebSockets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +class QWebSocket : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QWebSocket, &sipType_QWebSocket, -1, 1}, + {sipName_QWebSocketServer, &sipType_QWebSocketServer, -1, 2}, + {sipName_QMaskGenerator, &sipType_QMaskGenerator, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + QWebSocket(const QString &origin = QString(), QWebSocketProtocol::Version version = QWebSocketProtocol::VersionLatest, QObject *parent /TransferThis/ = 0); + virtual ~QWebSocket(); + void abort(); + QAbstractSocket::SocketError error() const; + QString errorString() const; + bool flush() /ReleaseGIL/; + bool isValid() const; + QHostAddress localAddress() const; + quint16 localPort() const; + QAbstractSocket::PauseModes pauseMode() const; + QHostAddress peerAddress() const; + QString peerName() const; + quint16 peerPort() const; + QNetworkProxy proxy() const; + void setProxy(const QNetworkProxy &networkProxy); + void setMaskGenerator(const QMaskGenerator *maskGenerator /KeepReference/); + const QMaskGenerator *maskGenerator() const; + qint64 readBufferSize() const; + void setReadBufferSize(qint64 size); + void resume() /ReleaseGIL/; + void setPauseMode(QAbstractSocket::PauseModes pauseMode); + QAbstractSocket::SocketState state() const; + QWebSocketProtocol::Version version() const; + QString resourceName() const; + QUrl requestUrl() const; + QString origin() const; + QWebSocketProtocol::CloseCode closeCode() const; + QString closeReason() const; + qint64 sendTextMessage(const QString &message) /ReleaseGIL/; + qint64 sendBinaryMessage(const QByteArray &data) /ReleaseGIL/; +%If (PyQt_SSL) + void ignoreSslErrors(const QList &errors); +%End +%If (PyQt_SSL) + void setSslConfiguration(const QSslConfiguration &sslConfiguration); +%End +%If (PyQt_SSL) + QSslConfiguration sslConfiguration() const; +%End +%If (Qt_5_6_0 -) + QNetworkRequest request() const; +%End + +public slots: + void close(QWebSocketProtocol::CloseCode closeCode = QWebSocketProtocol::CloseCodeNormal, const QString &reason = QString()) /ReleaseGIL/; + void open(const QUrl &url) /ReleaseGIL/; +%If (Qt_5_6_0 -) + void open(const QNetworkRequest &request) /ReleaseGIL/; +%End + void ping(const QByteArray &payload = QByteArray()) /ReleaseGIL/; +%If (PyQt_SSL) + void ignoreSslErrors(); +%End + +signals: + void aboutToClose(); + void connected(); + void disconnected(); + void stateChanged(QAbstractSocket::SocketState state); + void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *pAuthenticator); + void readChannelFinished(); + void textFrameReceived(const QString &frame, bool isLastFrame); + void binaryFrameReceived(const QByteArray &frame, bool isLastFrame); + void textMessageReceived(const QString &message); + void binaryMessageReceived(const QByteArray &message); + void error(QAbstractSocket::SocketError error); + void pong(quint64 elapsedTime, const QByteArray &payload); + void bytesWritten(qint64 bytes); +%If (PyQt_SSL) + void sslErrors(const QList &errors); +%End +%If (Qt_5_8_0 -) +%If (PyQt_SSL) + void preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator); +%End +%End + +public: +%If (Qt_5_12_0 -) + qint64 bytesToWrite() const; +%End +%If (Qt_5_15_0 -) + void setMaxAllowedIncomingFrameSize(quint64 maxAllowedIncomingFrameSize); +%End +%If (Qt_5_15_0 -) + quint64 maxAllowedIncomingFrameSize() const; +%End +%If (Qt_5_15_0 -) + void setMaxAllowedIncomingMessageSize(quint64 maxAllowedIncomingMessageSize); +%End +%If (Qt_5_15_0 -) + quint64 maxAllowedIncomingMessageSize() const; +%End +%If (Qt_5_15_0 -) + static quint64 maxIncomingMessageSize(); +%End +%If (Qt_5_15_0 -) + static quint64 maxIncomingFrameSize(); +%End +%If (Qt_5_15_0 -) + void setOutgoingFrameSize(quint64 outgoingFrameSize); +%End +%If (Qt_5_15_0 -) + quint64 outgoingFrameSize() const; +%End +%If (Qt_5_15_0 -) + static quint64 maxOutgoingFrameSize(); +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketcorsauthenticator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketcorsauthenticator.sip new file mode 100644 index 00000000..957d46b1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketcorsauthenticator.sip @@ -0,0 +1,41 @@ +// qwebsocketcorsauthenticator.sip generated by MetaSIP +// +// This file is part of the QtWebSockets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +class QWebSocketCorsAuthenticator +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWebSocketCorsAuthenticator(const QString &origin); + explicit QWebSocketCorsAuthenticator(const QWebSocketCorsAuthenticator &other); + ~QWebSocketCorsAuthenticator(); + void swap(QWebSocketCorsAuthenticator &other /Constrained/); + QString origin() const; + void setAllowed(bool allowed); + bool allowed() const; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketprotocol.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketprotocol.sip new file mode 100644 index 00000000..4cb1c6ad --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketprotocol.sip @@ -0,0 +1,62 @@ +// qwebsocketprotocol.sip generated by MetaSIP +// +// This file is part of the QtWebSockets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +namespace QWebSocketProtocol +{ +%TypeHeaderCode +#include +%End + + enum Version + { + VersionUnknown, + Version0, + Version4, + Version5, + Version6, + Version7, + Version8, + Version13, + VersionLatest, + }; + + enum CloseCode + { + CloseCodeNormal, + CloseCodeGoingAway, + CloseCodeProtocolError, + CloseCodeDatatypeNotSupported, + CloseCodeReserved1004, + CloseCodeMissingStatusCode, + CloseCodeAbnormalDisconnection, + CloseCodeWrongDatatype, + CloseCodePolicyViolated, + CloseCodeTooMuchData, + CloseCodeMissingExtension, + CloseCodeBadOperation, + CloseCodeTlsHandshakeFailed, + }; +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketserver.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketserver.sip new file mode 100644 index 00000000..3403ee0c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWebSockets/qwebsocketserver.sip @@ -0,0 +1,109 @@ +// qwebsocketserver.sip generated by MetaSIP +// +// This file is part of the QtWebSockets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_3_0 -) + +class QWebSocketServer : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum SslMode + { +%If (PyQt_SSL) + SecureMode, +%End + NonSecureMode, + }; + + QWebSocketServer(const QString &serverName, QWebSocketServer::SslMode secureMode, QObject *parent /TransferThis/ = 0); + virtual ~QWebSocketServer(); + bool listen(const QHostAddress &address = QHostAddress::SpecialAddress::Any, quint16 port = 0); + void close(); + bool isListening() const; + void setMaxPendingConnections(int numConnections); + int maxPendingConnections() const; + quint16 serverPort() const; + QHostAddress serverAddress() const; + QWebSocketServer::SslMode secureMode() const; + bool setSocketDescriptor(int socketDescriptor); + int socketDescriptor() const; + bool hasPendingConnections() const; + virtual QWebSocket *nextPendingConnection() /Factory/; + QWebSocketProtocol::CloseCode error() const; + QString errorString() const; + void pauseAccepting(); + void resumeAccepting(); + void setServerName(const QString &serverName); + QString serverName() const; + void setProxy(const QNetworkProxy &networkProxy); + QNetworkProxy proxy() const; +%If (PyQt_SSL) + void setSslConfiguration(const QSslConfiguration &sslConfiguration); +%End +%If (PyQt_SSL) + QSslConfiguration sslConfiguration() const; +%End + QList supportedVersions() const; +%If (Qt_5_4_0 -) + QUrl serverUrl() const; +%End +%If (Qt_5_9_0 -) + void handleConnection(QTcpSocket *socket) const; +%End + +signals: + void acceptError(QAbstractSocket::SocketError socketError); + void serverError(QWebSocketProtocol::CloseCode closeCode); + void originAuthenticationRequired(QWebSocketCorsAuthenticator *pAuthenticator); + void newConnection(); +%If (PyQt_SSL) + void peerVerifyError(const QSslError &error); +%End +%If (PyQt_SSL) + void sslErrors(const QList &errors); +%End + void closed(); +%If (Qt_5_8_0 -) +%If (PyQt_SSL) + void preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator); +%End +%End + +public: +%If (Qt_5_12_0 -) + bool setNativeDescriptor(qintptr descriptor); +%End +%If (Qt_5_12_0 -) + qintptr nativeDescriptor() const; +%End +%If (Qt_5_14_0 -) + void setHandshakeTimeout(int msec); +%End +%If (Qt_5_14_0 -) + int handshakeTimeoutMS() const; +%End +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/QtWidgets.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/QtWidgets.toml new file mode 100644 index 00000000..83746de8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/QtWidgets.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtWidgets. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/QtWidgetsmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/QtWidgetsmod.sip new file mode 100644 index 00000000..1a58ecf8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/QtWidgetsmod.sip @@ -0,0 +1,172 @@ +// QtWidgetsmod.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtWidgets, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtGui/QtGuimod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qabstractbutton.sip +%Include qabstractitemdelegate.sip +%Include qabstractitemview.sip +%Include qabstractscrollarea.sip +%Include qabstractslider.sip +%Include qabstractspinbox.sip +%Include qaction.sip +%Include qactiongroup.sip +%Include qapplication.sip +%Include qboxlayout.sip +%Include qbuttongroup.sip +%Include qcalendarwidget.sip +%Include qcheckbox.sip +%Include qcolordialog.sip +%Include qcolumnview.sip +%Include qcombobox.sip +%Include qcommandlinkbutton.sip +%Include qcommonstyle.sip +%Include qcompleter.sip +%Include qdatawidgetmapper.sip +%Include qdatetimeedit.sip +%Include qdesktopwidget.sip +%Include qdial.sip +%Include qdialog.sip +%Include qdialogbuttonbox.sip +%Include qdirmodel.sip +%Include qdockwidget.sip +%Include qdrawutil.sip +%Include qerrormessage.sip +%Include qfiledialog.sip +%Include qfileiconprovider.sip +%Include qfilesystemmodel.sip +%Include qfocusframe.sip +%Include qfontcombobox.sip +%Include qfontdialog.sip +%Include qformlayout.sip +%Include qframe.sip +%Include qgesture.sip +%Include qgesturerecognizer.sip +%Include qgraphicsanchorlayout.sip +%Include qgraphicseffect.sip +%Include qgraphicsgridlayout.sip +%Include qgraphicsitem.sip +%Include qgraphicslayout.sip +%Include qgraphicslayoutitem.sip +%Include qgraphicslinearlayout.sip +%Include qgraphicsproxywidget.sip +%Include qgraphicsscene.sip +%Include qgraphicssceneevent.sip +%Include qgraphicstransform.sip +%Include qgraphicsview.sip +%Include qgraphicswidget.sip +%Include qgridlayout.sip +%Include qgroupbox.sip +%Include qheaderview.sip +%Include qinputdialog.sip +%Include qitemdelegate.sip +%Include qitemeditorfactory.sip +%Include qkeyeventtransition.sip +%Include qkeysequenceedit.sip +%Include qlabel.sip +%Include qlayout.sip +%Include qlayoutitem.sip +%Include qlcdnumber.sip +%Include qlineedit.sip +%Include qlistview.sip +%Include qlistwidget.sip +%Include qmainwindow.sip +%Include qmdiarea.sip +%Include qmdisubwindow.sip +%Include qmenu.sip +%Include qmenubar.sip +%Include qmessagebox.sip +%Include qmouseeventtransition.sip +%Include qopenglwidget.sip +%Include qplaintextedit.sip +%Include qprogressbar.sip +%Include qprogressdialog.sip +%Include qproxystyle.sip +%Include qpushbutton.sip +%Include qradiobutton.sip +%Include qrubberband.sip +%Include qscrollarea.sip +%Include qscrollbar.sip +%Include qscroller.sip +%Include qscrollerproperties.sip +%Include qshortcut.sip +%Include qsizegrip.sip +%Include qsizepolicy.sip +%Include qslider.sip +%Include qspinbox.sip +%Include qsplashscreen.sip +%Include qsplitter.sip +%Include qstackedlayout.sip +%Include qstackedwidget.sip +%Include qstatusbar.sip +%Include qstyle.sip +%Include qstyleditemdelegate.sip +%Include qstylefactory.sip +%Include qstyleoption.sip +%Include qstylepainter.sip +%Include qsystemtrayicon.sip +%Include qtabbar.sip +%Include qtableview.sip +%Include qtablewidget.sip +%Include qtabwidget.sip +%Include qtextbrowser.sip +%Include qtextedit.sip +%Include qtoolbar.sip +%Include qtoolbox.sip +%Include qtoolbutton.sip +%Include qtooltip.sip +%Include qtreeview.sip +%Include qtreewidget.sip +%Include qtreewidgetitemiterator.sip +%Include qundogroup.sip +%Include qundostack.sip +%Include qundoview.sip +%Include qwhatsthis.sip +%Include qwidget.sip +%Include qwidgetaction.sip +%Include qwizard.sip +%Include qmaccocoaviewcontainer.sip +%Include qpywidgets_qlist.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractbutton.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractbutton.sip new file mode 100644 index 00000000..d14e6c43 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractbutton.sip @@ -0,0 +1,82 @@ +// qabstractbutton.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractButton : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractButton(QWidget *parent /TransferThis/ = 0); + virtual ~QAbstractButton(); + void setAutoRepeatDelay(int); + int autoRepeatDelay() const; + void setAutoRepeatInterval(int); + int autoRepeatInterval() const; + void setText(const QString &text); + QString text() const; + void setIcon(const QIcon &icon); + QIcon icon() const; + QSize iconSize() const; + void setShortcut(const QKeySequence &key); + QKeySequence shortcut() const; + void setCheckable(bool); + bool isCheckable() const; + bool isChecked() const; + void setDown(bool); + bool isDown() const; + void setAutoRepeat(bool); + bool autoRepeat() const; + void setAutoExclusive(bool); + bool autoExclusive() const; + QButtonGroup *group() const; + +public slots: + void setIconSize(const QSize &size); + void animateClick(int msecs = 100); + void click(); + void toggle(); + void setChecked(bool); + +signals: + void pressed(); + void released(); + void clicked(bool checked = false); + void toggled(bool checked); + +protected: + virtual void paintEvent(QPaintEvent *e) = 0; + virtual bool hitButton(const QPoint &pos) const; + virtual void checkStateSet(); + virtual void nextCheckState(); + virtual bool event(QEvent *e); + virtual void keyPressEvent(QKeyEvent *e); + virtual void keyReleaseEvent(QKeyEvent *e); + virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseReleaseEvent(QMouseEvent *e); + virtual void mouseMoveEvent(QMouseEvent *e); + virtual void focusInEvent(QFocusEvent *e); + virtual void focusOutEvent(QFocusEvent *e); + virtual void changeEvent(QEvent *e); + virtual void timerEvent(QTimerEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractitemdelegate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractitemdelegate.sip new file mode 100644 index 00000000..9a8af3c5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractitemdelegate.sip @@ -0,0 +1,55 @@ +// qabstractitemdelegate.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractItemDelegate : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum EndEditHint + { + NoHint, + EditNextItem, + EditPreviousItem, + SubmitModelCache, + RevertModelCache, + }; + + explicit QAbstractItemDelegate(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractItemDelegate(); + virtual void paint(QPainter *painter, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const = 0; + virtual QSize sizeHint(const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const = 0; + virtual QWidget *createEditor(QWidget *parent /TransferThis/, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const /Factory/; + virtual void setEditorData(QWidget *editor, const QModelIndex &index) const; + virtual void setModelData(QWidget *editor, QAbstractItemModel *model /KeepReference/, const QModelIndex &index) const; + virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const; + virtual void destroyEditor(QWidget *editor, const QModelIndex &index) const; + virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index); + virtual bool helpEvent(QHelpEvent *event, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index); + +signals: + void commitData(QWidget *editor); + void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint = QAbstractItemDelegate::NoHint); + void sizeHintChanged(const QModelIndex &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractitemview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractitemview.sip new file mode 100644 index 00000000..a25a5b69 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractitemview.sip @@ -0,0 +1,294 @@ +// qabstractitemview.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractItemView : QAbstractScrollArea +{ +%TypeHeaderCode +#include +%End + +public: + enum DragDropMode + { + NoDragDrop, + DragOnly, + DropOnly, + DragDrop, + InternalMove, + }; + + enum EditTrigger + { + NoEditTriggers, + CurrentChanged, + DoubleClicked, + SelectedClicked, + EditKeyPressed, + AnyKeyPressed, + AllEditTriggers, + }; + + typedef QFlags EditTriggers; + + enum ScrollHint + { + EnsureVisible, + PositionAtTop, + PositionAtBottom, + PositionAtCenter, + }; + + enum ScrollMode + { + ScrollPerItem, + ScrollPerPixel, + }; + + enum SelectionBehavior + { + SelectItems, + SelectRows, + SelectColumns, + }; + + enum SelectionMode + { + NoSelection, + SingleSelection, + MultiSelection, + ExtendedSelection, + ContiguousSelection, + }; + + explicit QAbstractItemView(QWidget *parent /TransferThis/ = 0); + virtual ~QAbstractItemView(); + virtual void setModel(QAbstractItemModel *model /KeepReference/); + QAbstractItemModel *model() const; + virtual void setSelectionModel(QItemSelectionModel *selectionModel /KeepReference/); + QItemSelectionModel *selectionModel() const; + void setItemDelegate(QAbstractItemDelegate *delegate /KeepReference/); + QAbstractItemDelegate *itemDelegate() const; + void setSelectionMode(QAbstractItemView::SelectionMode mode); + QAbstractItemView::SelectionMode selectionMode() const; + void setSelectionBehavior(QAbstractItemView::SelectionBehavior behavior); + QAbstractItemView::SelectionBehavior selectionBehavior() const; + QModelIndex currentIndex() const; + QModelIndex rootIndex() const; + void setEditTriggers(QAbstractItemView::EditTriggers triggers); + QAbstractItemView::EditTriggers editTriggers() const; + void setAutoScroll(bool enable); + bool hasAutoScroll() const; + void setTabKeyNavigation(bool enable); + bool tabKeyNavigation() const; + void setDropIndicatorShown(bool enable); + bool showDropIndicator() const; + void setDragEnabled(bool enable); + bool dragEnabled() const; + void setAlternatingRowColors(bool enable); + bool alternatingRowColors() const; + void setIconSize(const QSize &size); + QSize iconSize() const; + void setTextElideMode(Qt::TextElideMode mode); + Qt::TextElideMode textElideMode() const; + virtual void keyboardSearch(const QString &search); + virtual QRect visualRect(const QModelIndex &index) const = 0; + virtual void scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) = 0; + virtual QModelIndex indexAt(const QPoint &p) const = 0; + QSize sizeHintForIndex(const QModelIndex &index) const; + virtual int sizeHintForRow(int row) const; + virtual int sizeHintForColumn(int column) const; + void openPersistentEditor(const QModelIndex &index); + void closePersistentEditor(const QModelIndex &index); + void setIndexWidget(const QModelIndex &index, QWidget *widget /Transfer/); +%MethodCode + // We have to break the association with any existing widget. + QWidget *w = sipCpp->indexWidget(*a0); + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferTo(wo, 0); + } + + Py_BEGIN_ALLOW_THREADS + sipCpp->setIndexWidget(*a0, a1); + Py_END_ALLOW_THREADS +%End + + QWidget *indexWidget(const QModelIndex &index) const; + +public slots: + virtual void reset(); + virtual void setRootIndex(const QModelIndex &index); + virtual void selectAll(); + void edit(const QModelIndex &index); + void clearSelection(); + void setCurrentIndex(const QModelIndex &index); + void scrollToTop(); + void scrollToBottom(); + void update(); + void update(const QModelIndex &index); + +protected slots: + virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); + virtual void rowsInserted(const QModelIndex &parent, int start, int end); + virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); + virtual void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected); + virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); + virtual void updateEditorData(); + virtual void updateEditorGeometries(); + virtual void updateGeometries(); + virtual void verticalScrollbarAction(int action); + virtual void horizontalScrollbarAction(int action); + virtual void verticalScrollbarValueChanged(int value); + virtual void horizontalScrollbarValueChanged(int value); + virtual void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint); + virtual void commitData(QWidget *editor); + virtual void editorDestroyed(QObject *editor); + +signals: + void pressed(const QModelIndex &index); + void clicked(const QModelIndex &index); + void doubleClicked(const QModelIndex &index); + void activated(const QModelIndex &index); + void entered(const QModelIndex &index); + void viewportEntered(); +%If (Qt_5_5_0 -) + void iconSizeChanged(const QSize &size); +%End + +protected: + enum CursorAction + { + MoveUp, + MoveDown, + MoveLeft, + MoveRight, + MoveHome, + MoveEnd, + MovePageUp, + MovePageDown, + MoveNext, + MovePrevious, + }; + + virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) = 0; + virtual int horizontalOffset() const = 0; + virtual int verticalOffset() const = 0; + virtual bool isIndexHidden(const QModelIndex &index) const = 0; + virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command) = 0; + virtual QRegion visualRegionForSelection(const QItemSelection &selection) const = 0; + virtual QModelIndexList selectedIndexes() const; + virtual bool edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event); + virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex &index, const QEvent *event = 0) const; + virtual void startDrag(Qt::DropActions supportedActions); + virtual QStyleOptionViewItem viewOptions() const; + + enum State + { + NoState, + DraggingState, + DragSelectingState, + EditingState, + ExpandingState, + CollapsingState, + AnimatingState, + }; + + QAbstractItemView::State state() const; + void setState(QAbstractItemView::State state); + void scheduleDelayedItemsLayout(); + void executeDelayedItemsLayout(); + void scrollDirtyRegion(int dx, int dy); + void setDirtyRegion(const QRegion ®ion); + QPoint dirtyRegionOffset() const; + virtual bool event(QEvent *event); + virtual bool viewportEvent(QEvent *e); + virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseMoveEvent(QMouseEvent *e); + virtual void mouseReleaseEvent(QMouseEvent *e); + virtual void mouseDoubleClickEvent(QMouseEvent *e); + virtual void dragEnterEvent(QDragEnterEvent *e); + virtual void dragMoveEvent(QDragMoveEvent *e); + virtual void dragLeaveEvent(QDragLeaveEvent *e); + virtual void dropEvent(QDropEvent *e); + virtual void focusInEvent(QFocusEvent *e); + virtual void focusOutEvent(QFocusEvent *e); + virtual void keyPressEvent(QKeyEvent *e); + virtual void resizeEvent(QResizeEvent *e); + virtual void timerEvent(QTimerEvent *e); + + enum DropIndicatorPosition + { + OnItem, + AboveItem, + BelowItem, + OnViewport, + }; + + QAbstractItemView::DropIndicatorPosition dropIndicatorPosition() const; + +public: + void setVerticalScrollMode(QAbstractItemView::ScrollMode mode); + QAbstractItemView::ScrollMode verticalScrollMode() const; + void setHorizontalScrollMode(QAbstractItemView::ScrollMode mode); + QAbstractItemView::ScrollMode horizontalScrollMode() const; + void setDragDropOverwriteMode(bool overwrite); + bool dragDropOverwriteMode() const; + void setDragDropMode(QAbstractItemView::DragDropMode behavior); + QAbstractItemView::DragDropMode dragDropMode() const; + void setItemDelegateForRow(int row, QAbstractItemDelegate *delegate /KeepReference/); + QAbstractItemDelegate *itemDelegateForRow(int row) const; + void setItemDelegateForColumn(int column, QAbstractItemDelegate *delegate /KeepReference/); + QAbstractItemDelegate *itemDelegateForColumn(int column) const; + QAbstractItemDelegate *itemDelegate(const QModelIndex &index) const; + virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; + void setAutoScrollMargin(int margin); + int autoScrollMargin() const; + +protected: + virtual bool focusNextPrevChild(bool next); + virtual void inputMethodEvent(QInputMethodEvent *event); +%If (Qt_5_2_0 -) + virtual QSize viewportSizeHint() const; +%End +%If (Qt_5_11_0 -) + virtual bool eventFilter(QObject *object, QEvent *event); +%End + +public: + void setDefaultDropAction(Qt::DropAction dropAction); + Qt::DropAction defaultDropAction() const; +%If (Qt_5_7_0 -) + void resetVerticalScrollMode(); +%End +%If (Qt_5_7_0 -) + void resetHorizontalScrollMode(); +%End +%If (Qt_5_10_0 -) + bool isPersistentEditorOpen(const QModelIndex &index) const; +%End +}; + +QFlags operator|(QAbstractItemView::EditTrigger f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractscrollarea.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractscrollarea.sip new file mode 100644 index 00000000..2b0340d7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractscrollarea.sip @@ -0,0 +1,95 @@ +// qabstractscrollarea.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractScrollArea : QFrame +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractScrollArea(QWidget *parent /TransferThis/ = 0); + virtual ~QAbstractScrollArea(); + Qt::ScrollBarPolicy verticalScrollBarPolicy() const; + void setVerticalScrollBarPolicy(Qt::ScrollBarPolicy); + QScrollBar *verticalScrollBar() const /Transfer/; + Qt::ScrollBarPolicy horizontalScrollBarPolicy() const; + void setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy); + QScrollBar *horizontalScrollBar() const /Transfer/; + QWidget *viewport() const /Transfer/; + QSize maximumViewportSize() const; + virtual QSize minimumSizeHint() const; + virtual QSize sizeHint() const; + +protected: + void setViewportMargins(int left, int top, int right, int bottom); + void setViewportMargins(const QMargins &margins); +%If (Qt_5_5_0 -) + QMargins viewportMargins() const; +%End +%If (Qt_5_2_0 -) + virtual QSize viewportSizeHint() const; +%End + virtual bool event(QEvent *); + virtual bool viewportEvent(QEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void paintEvent(QPaintEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseDoubleClickEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void wheelEvent(QWheelEvent *); + virtual void contextMenuEvent(QContextMenuEvent *); + virtual void dragEnterEvent(QDragEnterEvent *); + virtual void dragMoveEvent(QDragMoveEvent *); + virtual void dragLeaveEvent(QDragLeaveEvent *); + virtual void dropEvent(QDropEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual bool eventFilter(QObject *, QEvent *); + virtual void scrollContentsBy(int dx, int dy); + +public: + void setVerticalScrollBar(QScrollBar *scrollbar /Transfer/); + void setHorizontalScrollBar(QScrollBar *scrollbar /Transfer/); + QWidget *cornerWidget() const; + void setCornerWidget(QWidget *widget /Transfer/); + void addScrollBarWidget(QWidget *widget /Transfer/, Qt::Alignment alignment); + QWidgetList scrollBarWidgets(Qt::Alignment alignment) /Transfer/; + void setViewport(QWidget *widget /Transfer/); + virtual void setupViewport(QWidget *viewport); +%If (Qt_5_2_0 -) + + enum SizeAdjustPolicy + { + AdjustIgnored, + AdjustToContentsOnFirstShow, + AdjustToContents, + }; + +%End +%If (Qt_5_2_0 -) + QAbstractScrollArea::SizeAdjustPolicy sizeAdjustPolicy() const; +%End +%If (Qt_5_2_0 -) + void setSizeAdjustPolicy(QAbstractScrollArea::SizeAdjustPolicy policy); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractslider.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractslider.sip new file mode 100644 index 00000000..e55a706f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractslider.sip @@ -0,0 +1,98 @@ +// qabstractslider.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractSlider : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractSlider(QWidget *parent /TransferThis/ = 0); + virtual ~QAbstractSlider(); + Qt::Orientation orientation() const; + void setMinimum(int); + int minimum() const; + void setMaximum(int); + int maximum() const; + void setRange(int min, int max); + void setSingleStep(int); + int singleStep() const; + void setPageStep(int); + int pageStep() const; + void setTracking(bool enable); + bool hasTracking() const; + void setSliderDown(bool); + bool isSliderDown() const; + void setSliderPosition(int); + int sliderPosition() const; + void setInvertedAppearance(bool); + bool invertedAppearance() const; + void setInvertedControls(bool); + bool invertedControls() const; + + enum SliderAction + { + SliderNoAction, + SliderSingleStepAdd, + SliderSingleStepSub, + SliderPageStepAdd, + SliderPageStepSub, + SliderToMinimum, + SliderToMaximum, + SliderMove, + }; + + int value() const; + void triggerAction(QAbstractSlider::SliderAction action); + +public slots: + void setValue(int); + void setOrientation(Qt::Orientation); + +signals: + void valueChanged(int value); + void sliderPressed(); + void sliderMoved(int position); + void sliderReleased(); + void rangeChanged(int min, int max); + void actionTriggered(int action); + +protected: + void setRepeatAction(QAbstractSlider::SliderAction action, int thresholdTime = 500, int repeatTime = 50); + QAbstractSlider::SliderAction repeatAction() const; + + enum SliderChange + { + SliderRangeChange, + SliderOrientationChange, + SliderStepsChange, + SliderValueChange, + }; + + virtual void sliderChange(QAbstractSlider::SliderChange change); + virtual bool event(QEvent *e); + virtual void keyPressEvent(QKeyEvent *ev); + virtual void timerEvent(QTimerEvent *); + virtual void wheelEvent(QWheelEvent *e); + virtual void changeEvent(QEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractspinbox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractspinbox.sip new file mode 100644 index 00000000..58273c0e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qabstractspinbox.sip @@ -0,0 +1,133 @@ +// qabstractspinbox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractSpinBox : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractSpinBox(QWidget *parent /TransferThis/ = 0); + virtual ~QAbstractSpinBox(); + + enum StepEnabledFlag + { + StepNone, + StepUpEnabled, + StepDownEnabled, + }; + + typedef QFlags StepEnabled; + + enum ButtonSymbols + { + UpDownArrows, + PlusMinus, + NoButtons, + }; + + QAbstractSpinBox::ButtonSymbols buttonSymbols() const; + void setButtonSymbols(QAbstractSpinBox::ButtonSymbols bs); + QString text() const; + QString specialValueText() const; + void setSpecialValueText(const QString &s); + bool wrapping() const; + void setWrapping(bool w); + void setReadOnly(bool r); + bool isReadOnly() const; + void setAlignment(Qt::Alignment flag); + Qt::Alignment alignment() const; + void setFrame(bool); + bool hasFrame() const; + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + void interpretText(); + virtual bool event(QEvent *event); + virtual QValidator::State validate(QString &input /In,Out/, int &pos /In,Out/) const; + virtual void fixup(QString &input /In,Out/) const; + virtual void stepBy(int steps); + +public slots: + void stepUp(); + void stepDown(); + void selectAll(); + virtual void clear(); + +signals: + void editingFinished(); + +protected: + virtual void resizeEvent(QResizeEvent *e); + virtual void keyPressEvent(QKeyEvent *e); + virtual void keyReleaseEvent(QKeyEvent *e); + virtual void wheelEvent(QWheelEvent *e); + virtual void focusInEvent(QFocusEvent *e); + virtual void focusOutEvent(QFocusEvent *e); + virtual void contextMenuEvent(QContextMenuEvent *e); + virtual void changeEvent(QEvent *e); + virtual void closeEvent(QCloseEvent *e); + virtual void hideEvent(QHideEvent *e); + virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseReleaseEvent(QMouseEvent *e); + virtual void mouseMoveEvent(QMouseEvent *e); + virtual void timerEvent(QTimerEvent *e); + virtual void paintEvent(QPaintEvent *e); + virtual void showEvent(QShowEvent *e); + QLineEdit *lineEdit() const; + void setLineEdit(QLineEdit *e /Transfer/); + virtual QAbstractSpinBox::StepEnabled stepEnabled() const; + void initStyleOption(QStyleOptionSpinBox *option) const; + +public: + enum CorrectionMode + { + CorrectToPreviousValue, + CorrectToNearestValue, + }; + + void setCorrectionMode(QAbstractSpinBox::CorrectionMode cm); + QAbstractSpinBox::CorrectionMode correctionMode() const; + bool hasAcceptableInput() const; + void setAccelerated(bool on); + bool isAccelerated() const; + void setKeyboardTracking(bool kt); + bool keyboardTracking() const; + virtual QVariant inputMethodQuery(Qt::InputMethodQuery) const; +%If (Qt_5_3_0 -) + void setGroupSeparatorShown(bool shown); +%End +%If (Qt_5_3_0 -) + bool isGroupSeparatorShown() const; +%End +%If (Qt_5_12_0 -) + + enum StepType + { + DefaultStepType, + AdaptiveDecimalStepType, + }; + +%End +}; + +QFlags operator|(QAbstractSpinBox::StepEnabledFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qaction.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qaction.sip new file mode 100644 index 00000000..716cd6ef --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qaction.sip @@ -0,0 +1,148 @@ +// qaction.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAction : QObject +{ +%TypeHeaderCode +#include +%End + +public: +%If (Qt_5_7_0 -) + explicit QAction(QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_7_0) + explicit QAction(QObject *parent /TransferThis/); +%End +%If (Qt_5_7_0 -) + QAction(const QString &text, QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_7_0) + QAction(const QString &text, QObject *parent /TransferThis/); +%End +%If (Qt_5_7_0 -) + QAction(const QIcon &icon, const QString &text, QObject *parent /TransferThis/ = 0); +%End +%If (- Qt_5_7_0) + QAction(const QIcon &icon, const QString &text, QObject *parent /TransferThis/); +%End + virtual ~QAction(); + void setActionGroup(QActionGroup *group /KeepReference/); + QActionGroup *actionGroup() const; + void setIcon(const QIcon &icon); + QIcon icon() const; + void setText(const QString &text); + QString text() const; + void setIconText(const QString &text); + QString iconText() const; + void setToolTip(const QString &tip); + QString toolTip() const; + void setStatusTip(const QString &statusTip); + QString statusTip() const; + void setWhatsThis(const QString &what); + QString whatsThis() const; + QMenu *menu() const; + void setMenu(QMenu *menu /KeepReference/); + void setSeparator(bool b); + bool isSeparator() const; + void setShortcut(const QKeySequence &shortcut); + QKeySequence shortcut() const; + void setShortcutContext(Qt::ShortcutContext context); + Qt::ShortcutContext shortcutContext() const; + void setFont(const QFont &font); + QFont font() const; + void setCheckable(bool); + bool isCheckable() const; + QVariant data() const; + void setData(const QVariant &var); + bool isChecked() const; + bool isEnabled() const; + bool isVisible() const; + + enum ActionEvent + { + Trigger, + Hover, + }; + + void activate(QAction::ActionEvent event); + bool showStatusText(QWidget *widget = 0); + QWidget *parentWidget() const; + +protected: + virtual bool event(QEvent *); + +public slots: + void trigger(); + void hover(); + void setChecked(bool); + void toggle(); + void setEnabled(bool); + void setDisabled(bool b); + void setVisible(bool); + +signals: + void changed(); + void triggered(bool checked = false); + void hovered(); + void toggled(bool); + +public: + enum MenuRole + { + NoRole, + TextHeuristicRole, + ApplicationSpecificRole, + AboutQtRole, + AboutRole, + PreferencesRole, + QuitRole, + }; + + void setShortcuts(const QList &shortcuts); + void setShortcuts(QKeySequence::StandardKey); + QList shortcuts() const; + void setAutoRepeat(bool); + bool autoRepeat() const; + void setMenuRole(QAction::MenuRole menuRole); + QAction::MenuRole menuRole() const; + QList associatedWidgets() const; + QList associatedGraphicsWidgets() const; + void setIconVisibleInMenu(bool visible); + bool isIconVisibleInMenu() const; + + enum Priority + { + LowPriority, + NormalPriority, + HighPriority, + }; + + void setPriority(QAction::Priority priority); + QAction::Priority priority() const; +%If (Qt_5_10_0 -) + void setShortcutVisibleInContextMenu(bool show); +%End +%If (Qt_5_10_0 -) + bool isShortcutVisibleInContextMenu() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qactiongroup.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qactiongroup.sip new file mode 100644 index 00000000..5fc43192 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qactiongroup.sip @@ -0,0 +1,74 @@ +// qactiongroup.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QActionGroup : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QActionGroup(QObject *parent /TransferThis/); + virtual ~QActionGroup(); + QAction *addAction(QAction *a /Transfer/); + QAction *addAction(const QString &text) /Transfer/; + QAction *addAction(const QIcon &icon, const QString &text) /Transfer/; + void removeAction(QAction *a /TransferBack/); + QList actions() const; + QAction *checkedAction() const; + bool isExclusive() const; + bool isEnabled() const; + bool isVisible() const; + +public slots: + void setEnabled(bool); + void setDisabled(bool b); + void setVisible(bool); + void setExclusive(bool); + +signals: + void triggered(QAction *); + void hovered(QAction *); + +public: +%If (Qt_5_14_0 -) + + enum class ExclusionPolicy + { + None /PyName=None_/, + Exclusive, + ExclusiveOptional, + }; + +%End +%If (Qt_5_14_0 -) + QActionGroup::ExclusionPolicy exclusionPolicy() const; +%End + +public slots: +%If (Qt_5_14_0 -) + void setExclusionPolicy(QActionGroup::ExclusionPolicy policy); +%End + +private: + QActionGroup(const QActionGroup &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qapplication.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qapplication.sip new file mode 100644 index 00000000..3f3a8964 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qapplication.sip @@ -0,0 +1,361 @@ +// qapplication.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +// QApplication *qApp +QApplication *qApp { +%AccessCode + // Qt implements this has a #define to a function call so we have to handle + // it like this. + return qApp; +%End +}; +typedef QList QWidgetList; + +class QApplication : QGuiApplication +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QKeyEventTransition, &sipType_QKeyEventTransition, -1, 1}, + {sipName_QUndoStack, &sipType_QUndoStack, -1, 2}, + {sipName_QAbstractItemDelegate, &sipType_QAbstractItemDelegate, 26, 3}, + {sipName_QGraphicsTransform, &sipType_QGraphicsTransform, 28, 4}, + {sipName_QCompleter, &sipType_QCompleter, -1, 5}, + {sipName_QActionGroup, &sipType_QActionGroup, -1, 6}, + {sipName_QShortcut, &sipType_QShortcut, -1, 7}, + {sipName_QButtonGroup, &sipType_QButtonGroup, -1, 8}, + {sipName_QPlainTextDocumentLayout, &sipType_QPlainTextDocumentLayout, -1, 9}, + {sipName_QGraphicsAnchor, &sipType_QGraphicsAnchor, -1, 10}, + {sipName_QFileSystemModel, &sipType_QFileSystemModel, -1, 11}, + {sipName_QGesture, &sipType_QGesture, 30, 12}, + {sipName_QApplication, &sipType_QApplication, -1, 13}, + {sipName_QLayout, &sipType_QLayout, 35, 14}, + {sipName_QDirModel, &sipType_QDirModel, -1, 15}, + {sipName_QDataWidgetMapper, &sipType_QDataWidgetMapper, -1, 16}, + {sipName_QGraphicsObject, &sipType_QGraphicsObject, 41, 17}, + {sipName_QScroller, &sipType_QScroller, -1, 18}, + {sipName_QGraphicsScene, &sipType_QGraphicsScene, -1, 19}, + {sipName_QUndoGroup, &sipType_QUndoGroup, -1, 20}, + {sipName_QMouseEventTransition, &sipType_QMouseEventTransition, -1, 21}, + {sipName_QGraphicsEffect, &sipType_QGraphicsEffect, 44, 22}, + {sipName_QWidget, &sipType_QWidget, 48, 23}, + {sipName_QStyle, &sipType_QStyle, 122, 24}, + {sipName_QAction, &sipType_QAction, 124, 25}, + {sipName_QSystemTrayIcon, &sipType_QSystemTrayIcon, -1, -1}, + {sipName_QStyledItemDelegate, &sipType_QStyledItemDelegate, -1, 27}, + {sipName_QItemDelegate, &sipType_QItemDelegate, -1, -1}, + {sipName_QGraphicsRotation, &sipType_QGraphicsRotation, -1, 29}, + {sipName_QGraphicsScale, &sipType_QGraphicsScale, -1, -1}, + {sipName_QSwipeGesture, &sipType_QSwipeGesture, -1, 31}, + {sipName_QTapGesture, &sipType_QTapGesture, -1, 32}, + {sipName_QPanGesture, &sipType_QPanGesture, -1, 33}, + {sipName_QPinchGesture, &sipType_QPinchGesture, -1, 34}, + {sipName_QTapAndHoldGesture, &sipType_QTapAndHoldGesture, -1, -1}, + {sipName_QStackedLayout, &sipType_QStackedLayout, -1, 36}, + {sipName_QFormLayout, &sipType_QFormLayout, -1, 37}, + {sipName_QBoxLayout, &sipType_QBoxLayout, 39, 38}, + {sipName_QGridLayout, &sipType_QGridLayout, -1, -1}, + {sipName_QVBoxLayout, &sipType_QVBoxLayout, -1, 40}, + {sipName_QHBoxLayout, &sipType_QHBoxLayout, -1, -1}, + {sipName_QGraphicsWidget, &sipType_QGraphicsWidget, 43, 42}, + {sipName_QGraphicsTextItem, &sipType_QGraphicsTextItem, -1, -1}, + {sipName_QGraphicsProxyWidget, &sipType_QGraphicsProxyWidget, -1, -1}, + {sipName_QGraphicsBlurEffect, &sipType_QGraphicsBlurEffect, -1, 45}, + {sipName_QGraphicsColorizeEffect, &sipType_QGraphicsColorizeEffect, -1, 46}, + {sipName_QGraphicsDropShadowEffect, &sipType_QGraphicsDropShadowEffect, -1, 47}, + {sipName_QGraphicsOpacityEffect, &sipType_QGraphicsOpacityEffect, -1, -1}, + {sipName_QDockWidget, &sipType_QDockWidget, -1, 49}, + {sipName_QProgressBar, &sipType_QProgressBar, -1, 50}, + #if QT_VERSION >= 0x050400 && defined(SIP_FEATURE_PyQt_OpenGL) + {sipName_QOpenGLWidget, &sipType_QOpenGLWidget, -1, 51}, + #else + {0, 0, -1, 51}, + #endif + {sipName_QAbstractButton, &sipType_QAbstractButton, 78, 52}, + {sipName_QSplashScreen, &sipType_QSplashScreen, -1, 53}, + {sipName_QMenuBar, &sipType_QMenuBar, -1, 54}, + {sipName_QStatusBar, &sipType_QStatusBar, -1, 55}, + {sipName_QMenu, &sipType_QMenu, -1, 56}, + {sipName_QMdiSubWindow, &sipType_QMdiSubWindow, -1, 57}, + {sipName_QTabWidget, &sipType_QTabWidget, -1, 58}, + #if defined(Q_OS_MAC) && defined(SIP_FEATURE_PyQt_MacOSXOnly) + {sipName_QMacCocoaViewContainer, &sipType_QMacCocoaViewContainer, -1, 59}, + #else + {0, 0, -1, 59}, + #endif + {sipName_QLineEdit, &sipType_QLineEdit, -1, 60}, + {sipName_QFrame, &sipType_QFrame, 83, 61}, + {sipName_QComboBox, &sipType_QComboBox, 105, 62}, + {sipName_QRubberBand, &sipType_QRubberBand, -1, 63}, + {sipName_QAbstractSpinBox, &sipType_QAbstractSpinBox, 106, 64}, + {sipName_QDialog, &sipType_QDialog, 111, 65}, + #if QT_VERSION >= 0x050200 + {sipName_QKeySequenceEdit, &sipType_QKeySequenceEdit, -1, 66}, + #else + {0, 0, -1, 66}, + #endif + {sipName_QAbstractSlider, &sipType_QAbstractSlider, 119, 67}, + {sipName_QWizardPage, &sipType_QWizardPage, -1, 68}, + {sipName_QDesktopWidget, &sipType_QDesktopWidget, -1, 69}, + {sipName_QDialogButtonBox, &sipType_QDialogButtonBox, -1, 70}, + {sipName_QToolBar, &sipType_QToolBar, -1, 71}, + {sipName_QSizeGrip, &sipType_QSizeGrip, -1, 72}, + {sipName_QSplitterHandle, &sipType_QSplitterHandle, -1, 73}, + {sipName_QTabBar, &sipType_QTabBar, -1, 74}, + {sipName_QGroupBox, &sipType_QGroupBox, -1, 75}, + {sipName_QMainWindow, &sipType_QMainWindow, -1, 76}, + {sipName_QCalendarWidget, &sipType_QCalendarWidget, -1, 77}, + {sipName_QFocusFrame, &sipType_QFocusFrame, -1, -1}, + {sipName_QCheckBox, &sipType_QCheckBox, -1, 79}, + {sipName_QRadioButton, &sipType_QRadioButton, -1, 80}, + {sipName_QPushButton, &sipType_QPushButton, 82, 81}, + {sipName_QToolButton, &sipType_QToolButton, -1, -1}, + {sipName_QCommandLinkButton, &sipType_QCommandLinkButton, -1, -1}, + {sipName_QAbstractScrollArea, &sipType_QAbstractScrollArea, 89, 84}, + {sipName_QToolBox, &sipType_QToolBox, -1, 85}, + {sipName_QSplitter, &sipType_QSplitter, -1, 86}, + {sipName_QStackedWidget, &sipType_QStackedWidget, -1, 87}, + {sipName_QLabel, &sipType_QLabel, -1, 88}, + {sipName_QLCDNumber, &sipType_QLCDNumber, -1, -1}, + {sipName_QScrollArea, &sipType_QScrollArea, -1, 90}, + {sipName_QPlainTextEdit, &sipType_QPlainTextEdit, -1, 91}, + {sipName_QGraphicsView, &sipType_QGraphicsView, -1, 92}, + {sipName_QAbstractItemView, &sipType_QAbstractItemView, 95, 93}, + {sipName_QTextEdit, &sipType_QTextEdit, 104, 94}, + {sipName_QMdiArea, &sipType_QMdiArea, -1, -1}, + {sipName_QHeaderView, &sipType_QHeaderView, -1, 96}, + {sipName_QTableView, &sipType_QTableView, 100, 97}, + {sipName_QListView, &sipType_QListView, 101, 98}, + {sipName_QTreeView, &sipType_QTreeView, 103, 99}, + {sipName_QColumnView, &sipType_QColumnView, -1, -1}, + {sipName_QTableWidget, &sipType_QTableWidget, -1, -1}, + {sipName_QListWidget, &sipType_QListWidget, -1, 102}, + {sipName_QUndoView, &sipType_QUndoView, -1, -1}, + {sipName_QTreeWidget, &sipType_QTreeWidget, -1, -1}, + {sipName_QTextBrowser, &sipType_QTextBrowser, -1, -1}, + {sipName_QFontComboBox, &sipType_QFontComboBox, -1, -1}, + {sipName_QDateTimeEdit, &sipType_QDateTimeEdit, 109, 107}, + {sipName_QSpinBox, &sipType_QSpinBox, -1, 108}, + {sipName_QDoubleSpinBox, &sipType_QDoubleSpinBox, -1, -1}, + {sipName_QDateEdit, &sipType_QDateEdit, -1, 110}, + {sipName_QTimeEdit, &sipType_QTimeEdit, -1, -1}, + {sipName_QFontDialog, &sipType_QFontDialog, -1, 112}, + {sipName_QErrorMessage, &sipType_QErrorMessage, -1, 113}, + {sipName_QMessageBox, &sipType_QMessageBox, -1, 114}, + {sipName_QProgressDialog, &sipType_QProgressDialog, -1, 115}, + {sipName_QColorDialog, &sipType_QColorDialog, -1, 116}, + {sipName_QFileDialog, &sipType_QFileDialog, -1, 117}, + {sipName_QInputDialog, &sipType_QInputDialog, -1, 118}, + {sipName_QWizard, &sipType_QWizard, -1, -1}, + {sipName_QDial, &sipType_QDial, -1, 120}, + {sipName_QScrollBar, &sipType_QScrollBar, -1, 121}, + {sipName_QSlider, &sipType_QSlider, -1, -1}, + {sipName_QCommonStyle, &sipType_QCommonStyle, 123, -1}, + {sipName_QProxyStyle, &sipType_QProxyStyle, -1, -1}, + {sipName_QWidgetAction, &sipType_QWidgetAction, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + QApplication(SIP_PYLIST argv /TypeHint="List[str]"/) /PostHook=__pyQtQAppHook__/ [(int &argc, char **argv, int = ApplicationFlags)]; +%MethodCode + // The Python interface is a list of argument strings that is modified. + + int argc; + char **argv; + + // Convert the list. + if ((argv = pyqt5_qtwidgets_from_argv_list(a0, argc)) == NULL) + sipIsErr = 1; + else + { + // Create it now the arguments are right. + static int nargc; + nargc = argc; + + Py_BEGIN_ALLOW_THREADS + sipCpp = new sipQApplication(nargc, argv, QCoreApplication::ApplicationFlags); + Py_END_ALLOW_THREADS + + // Now modify the original list. + pyqt5_qtwidgets_update_argv_list(a0, argc, argv); + } +%End + + virtual ~QApplication() /ReleaseGIL/; +%MethodCode + pyqt5_qtwidgets_cleanup_qobjects(); +%End + + static QStyle *style(); + static void setStyle(QStyle * /Transfer/); + static QStyle *setStyle(const QString &); + + enum ColorSpec + { + NormalColor, + CustomColor, + ManyColor, + }; + + static int colorSpec(); + static void setColorSpec(int); + static QPalette palette(); + static QPalette palette(const QWidget *); + static QPalette palette(const char *className); + static void setPalette(const QPalette &, const char *className = 0); + static QFont font(); + static QFont font(const QWidget *); + static QFont font(const char *className); + static void setFont(const QFont &, const char *className = 0); + static QFontMetrics fontMetrics(); + static void setWindowIcon(const QIcon &icon); + static QIcon windowIcon(); + static QWidgetList allWidgets(); + static QWidgetList topLevelWidgets(); + static QDesktopWidget *desktop(); + static QWidget *activePopupWidget(); + static QWidget *activeModalWidget(); + static QWidget *focusWidget(); + static QWidget *activeWindow(); + static void setActiveWindow(QWidget *act); + static QWidget *widgetAt(const QPoint &p); + static QWidget *widgetAt(int x, int y); + static QWidget *topLevelAt(const QPoint &p); + static QWidget *topLevelAt(int x, int y); + static void beep(); + static void alert(QWidget *widget, int msecs = 0) /ReleaseGIL/; + static void setCursorFlashTime(int); + static int cursorFlashTime(); + static void setDoubleClickInterval(int); + static int doubleClickInterval(); + static void setKeyboardInputInterval(int); + static int keyboardInputInterval(); + static void setWheelScrollLines(int); + static int wheelScrollLines(); + static void setGlobalStrut(const QSize &); + static QSize globalStrut(); + static void setStartDragTime(int ms); + static int startDragTime(); + static void setStartDragDistance(int l); + static int startDragDistance(); + static bool isEffectEnabled(Qt::UIEffect); + static void setEffectEnabled(Qt::UIEffect, bool enabled = true); + static int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%If (Py_v3) + static int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,ReleaseGIL/; +%End + virtual bool notify(QObject *, QEvent *) /ReleaseGIL/; + bool autoSipEnabled() const; + QString styleSheet() const; + +signals: + void focusChanged(QWidget *old, QWidget *now); + +public slots: + static void aboutQt(); + static void closeAllWindows(); + void setAutoSipEnabled(const bool enabled); + void setStyleSheet(const QString &sheet); + +protected: + virtual bool event(QEvent *); +}; + +%ModuleHeaderCode +// Imports from QtCore. +typedef void (*pyqt5_qtwidgets_cleanup_qobjects_t)(); +extern pyqt5_qtwidgets_cleanup_qobjects_t pyqt5_qtwidgets_cleanup_qobjects; + +typedef char **(*pyqt5_qtwidgets_from_argv_list_t)(PyObject *, int &); +extern pyqt5_qtwidgets_from_argv_list_t pyqt5_qtwidgets_from_argv_list; + +typedef sipErrorState (*pyqt5_qtwidgets_get_connection_parts_t)(PyObject *, QObject *, const char *, bool, QObject **, QByteArray &); +extern pyqt5_qtwidgets_get_connection_parts_t pyqt5_qtwidgets_get_connection_parts; + +typedef sipErrorState (*pyqt5_qtwidgets_get_signal_signature_t)(PyObject *, QObject *, QByteArray &); +extern pyqt5_qtwidgets_get_signal_signature_t pyqt5_qtwidgets_get_signal_signature; + +typedef void (*pyqt5_qtwidgets_update_argv_list_t)(PyObject *, int, char **); +extern pyqt5_qtwidgets_update_argv_list_t pyqt5_qtwidgets_update_argv_list; + +// This is needed for Qt v5.0.0. +#if defined(B0) +#undef B0 +#endif +%End + +%ModuleCode +#include "qpywidgets_api.h" + +// Imports from QtCore. +pyqt5_qtwidgets_cleanup_qobjects_t pyqt5_qtwidgets_cleanup_qobjects; +pyqt5_qtwidgets_from_argv_list_t pyqt5_qtwidgets_from_argv_list; +pyqt5_qtwidgets_get_connection_parts_t pyqt5_qtwidgets_get_connection_parts; +pyqt5_qtwidgets_get_signal_signature_t pyqt5_qtwidgets_get_signal_signature; +pyqt5_qtwidgets_update_argv_list_t pyqt5_qtwidgets_update_argv_list; +%End + +%PostInitialisationCode +// Imports from QtCore. +pyqt5_qtwidgets_cleanup_qobjects = (pyqt5_qtwidgets_cleanup_qobjects_t)sipImportSymbol("pyqt5_cleanup_qobjects"); +Q_ASSERT(pyqt5_qtwidgets_cleanup_qobjects); + +pyqt5_qtwidgets_from_argv_list = (pyqt5_qtwidgets_from_argv_list_t)sipImportSymbol("pyqt5_from_argv_list"); +Q_ASSERT(pyqt5_qtwidgets_from_argv_list); + +pyqt5_qtwidgets_get_connection_parts = (pyqt5_qtwidgets_get_connection_parts_t)sipImportSymbol("pyqt5_get_connection_parts"); +Q_ASSERT(pyqt5_qtwidgets_get_connection_parts); + +pyqt5_qtwidgets_get_signal_signature = (pyqt5_qtwidgets_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature"); +Q_ASSERT(pyqt5_qtwidgets_get_signal_signature); + +pyqt5_qtwidgets_update_argv_list = (pyqt5_qtwidgets_update_argv_list_t)sipImportSymbol("pyqt5_update_argv_list"); +Q_ASSERT(pyqt5_qtwidgets_update_argv_list); + +qpywidgets_post_init(); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qboxlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qboxlayout.sip new file mode 100644 index 00000000..e53a0032 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qboxlayout.sip @@ -0,0 +1,145 @@ +// qboxlayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QBoxLayout : QLayout +{ +%TypeHeaderCode +#include +%End + +public: + enum Direction + { + LeftToRight, + RightToLeft, + TopToBottom, + BottomToTop, + Down, + Up, + }; + + QBoxLayout(QBoxLayout::Direction direction, QWidget *parent /TransferThis/ = 0); + virtual ~QBoxLayout(); + QBoxLayout::Direction direction() const; + void setDirection(QBoxLayout::Direction); + void addSpacing(int size); + void addStretch(int stretch = 0); + void addWidget(QWidget * /GetWrapper/, int stretch = 0, Qt::Alignment alignment = Qt::Alignment()); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->addWidget(a0, a1, *a2); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a0Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows addWidget(QWidget()). + sipTransferTo(a0Wrapper, sipSelf); + } +%End + + void addLayout(QLayout *layout /Transfer/, int stretch = 0); + void addStrut(int); + virtual void addItem(QLayoutItem * /Transfer/); + void insertSpacing(int index, int size); + void insertStretch(int index, int stretch = 0); + void insertWidget(int index, QWidget *widget /GetWrapper/, int stretch = 0, Qt::Alignment alignment = Qt::Alignment()); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->insertWidget(a0, a1, a2, *a3); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a1Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows insertWidget(QWidget()). + sipTransferTo(a1Wrapper, sipSelf); + } +%End + + void insertLayout(int index, QLayout *layout /Transfer/, int stretch = 0); + bool setStretchFactor(QWidget *w, int stretch); + bool setStretchFactor(QLayout *l, int stretch); + virtual QSize sizeHint() const; + virtual QSize minimumSize() const; + virtual QSize maximumSize() const; + virtual bool hasHeightForWidth() const; + virtual int heightForWidth(int) const; + virtual int minimumHeightForWidth(int) const; + virtual Qt::Orientations expandingDirections() const; + virtual void invalidate(); + virtual QLayoutItem *itemAt(int) const; + virtual QLayoutItem *takeAt(int) /TransferBack/; + virtual int count() const; + virtual void setGeometry(const QRect &); + int spacing() const; + void setSpacing(int spacing); + void addSpacerItem(QSpacerItem *spacerItem /Transfer/); + void insertSpacerItem(int index, QSpacerItem *spacerItem /Transfer/); + void setStretch(int index, int stretch); + int stretch(int index) const; + void insertItem(int index, QLayoutItem * /TransferThis/); +}; + +class QHBoxLayout : QBoxLayout +{ +%TypeHeaderCode +#include +%End + +public: + QHBoxLayout(); + explicit QHBoxLayout(QWidget *parent /TransferThis/); + virtual ~QHBoxLayout(); +}; + +class QVBoxLayout : QBoxLayout +{ +%TypeHeaderCode +#include +%End + +public: + QVBoxLayout(); + explicit QVBoxLayout(QWidget *parent /TransferThis/); + virtual ~QVBoxLayout(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qbuttongroup.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qbuttongroup.sip new file mode 100644 index 00000000..a647a4c0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qbuttongroup.sip @@ -0,0 +1,68 @@ +// qbuttongroup.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QButtonGroup : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QButtonGroup(QObject *parent /TransferThis/ = 0); + virtual ~QButtonGroup(); + void setExclusive(bool); + bool exclusive() const; + void addButton(QAbstractButton *, int id = -1); + void removeButton(QAbstractButton *); + QList buttons() const; + QAbstractButton *button(int id) const; + QAbstractButton *checkedButton() const; + void setId(QAbstractButton *button, int id); + int id(QAbstractButton *button) const; + int checkedId() const; + +signals: + void buttonClicked(QAbstractButton *); + void buttonClicked(int); + void buttonPressed(QAbstractButton *); + void buttonPressed(int); + void buttonReleased(QAbstractButton *); + void buttonReleased(int); +%If (Qt_5_2_0 -) + void buttonToggled(QAbstractButton *, bool); +%End +%If (Qt_5_2_0 -) + void buttonToggled(int, bool); +%End +%If (Qt_5_15_0 -) + void idClicked(int); +%End +%If (Qt_5_15_0 -) + void idPressed(int); +%End +%If (Qt_5_15_0 -) + void idReleased(int); +%End +%If (Qt_5_15_0 -) + void idToggled(int, bool); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcalendarwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcalendarwidget.sip new file mode 100644 index 00000000..33527ceb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcalendarwidget.sip @@ -0,0 +1,123 @@ +// qcalendarwidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCalendarWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + enum HorizontalHeaderFormat + { + NoHorizontalHeader, + SingleLetterDayNames, + ShortDayNames, + LongDayNames, + }; + + enum VerticalHeaderFormat + { + NoVerticalHeader, + ISOWeekNumbers, + }; + + enum SelectionMode + { + NoSelection, + SingleSelection, + }; + + explicit QCalendarWidget(QWidget *parent /TransferThis/ = 0); + virtual ~QCalendarWidget(); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + QDate selectedDate() const; + int yearShown() const; + int monthShown() const; + QDate minimumDate() const; + void setMinimumDate(const QDate &date); + QDate maximumDate() const; + void setMaximumDate(const QDate &date); + Qt::DayOfWeek firstDayOfWeek() const; + void setFirstDayOfWeek(Qt::DayOfWeek dayOfWeek); + bool isGridVisible() const; + void setGridVisible(bool show); + QCalendarWidget::SelectionMode selectionMode() const; + void setSelectionMode(QCalendarWidget::SelectionMode mode); + QCalendarWidget::HorizontalHeaderFormat horizontalHeaderFormat() const; + void setHorizontalHeaderFormat(QCalendarWidget::HorizontalHeaderFormat format); + QCalendarWidget::VerticalHeaderFormat verticalHeaderFormat() const; + void setVerticalHeaderFormat(QCalendarWidget::VerticalHeaderFormat format); + QTextCharFormat headerTextFormat() const; + void setHeaderTextFormat(const QTextCharFormat &format); + QTextCharFormat weekdayTextFormat(Qt::DayOfWeek dayOfWeek) const; + void setWeekdayTextFormat(Qt::DayOfWeek dayOfWeek, const QTextCharFormat &format); + QMap dateTextFormat() const; + QTextCharFormat dateTextFormat(const QDate &date) const; + void setDateTextFormat(const QDate &date, const QTextCharFormat &color); + +protected: + void updateCell(const QDate &date); + void updateCells(); + virtual bool event(QEvent *event); + virtual bool eventFilter(QObject *watched, QEvent *event); + virtual void mousePressEvent(QMouseEvent *event); + virtual void resizeEvent(QResizeEvent *event); + virtual void keyPressEvent(QKeyEvent *event); + virtual void paintCell(QPainter *painter, const QRect &rect, const QDate &date) const; + +public slots: + void setCurrentPage(int year, int month); + void setDateRange(const QDate &min, const QDate &max); + void setSelectedDate(const QDate &date); + void showNextMonth(); + void showNextYear(); + void showPreviousMonth(); + void showPreviousYear(); + void showSelectedDate(); + void showToday(); + +signals: + void activated(const QDate &date); + void clicked(const QDate &date); + void currentPageChanged(int year, int month); + void selectionChanged(); + +public: + bool isNavigationBarVisible() const; + bool isDateEditEnabled() const; + void setDateEditEnabled(bool enable); + int dateEditAcceptDelay() const; + void setDateEditAcceptDelay(int delay); + +public slots: + void setNavigationBarVisible(bool visible); + +public: +%If (Qt_5_14_0 -) + QCalendar calendar() const; +%End +%If (Qt_5_14_0 -) + void setCalendar(QCalendar calendar); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcheckbox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcheckbox.sip new file mode 100644 index 00000000..2ec332ac --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcheckbox.sip @@ -0,0 +1,51 @@ +// qcheckbox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCheckBox : QAbstractButton +{ +%TypeHeaderCode +#include +%End + +public: + explicit QCheckBox(QWidget *parent /TransferThis/ = 0); + QCheckBox(const QString &text, QWidget *parent /TransferThis/ = 0); + virtual ~QCheckBox(); + virtual QSize sizeHint() const; + void setTristate(bool on = true); + bool isTristate() const; + Qt::CheckState checkState() const; + void setCheckState(Qt::CheckState state); + virtual QSize minimumSizeHint() const; + +signals: + void stateChanged(int); + +protected: + virtual bool hitButton(const QPoint &pos) const; + virtual void checkStateSet(); + virtual void nextCheckState(); + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + void initStyleOption(QStyleOptionButton *option) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcolordialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcolordialog.sip new file mode 100644 index 00000000..e9e58bab --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcolordialog.sip @@ -0,0 +1,83 @@ +// qcolordialog.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QColorDialog : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + enum ColorDialogOption + { + ShowAlphaChannel, + NoButtons, + DontUseNativeDialog, + }; + + typedef QFlags ColorDialogOptions; + explicit QColorDialog(QWidget *parent /TransferThis/ = 0); + QColorDialog(const QColor &initial, QWidget *parent /TransferThis/ = 0); + virtual ~QColorDialog(); + static QColor getColor(const QColor &initial = Qt::white, QWidget *parent = 0, const QString &title = QString(), QColorDialog::ColorDialogOptions options = QColorDialog::ColorDialogOptions()) /ReleaseGIL/; + static int customCount(); + static QColor customColor(int index); + static void setCustomColor(int index, QColor color); + static QColor standardColor(int index); + static void setStandardColor(int index, QColor color); + +signals: + void colorSelected(const QColor &color); + void currentColorChanged(const QColor &color); + +protected: + virtual void changeEvent(QEvent *e); + virtual void done(int result); + +public: + void setCurrentColor(const QColor &color); + QColor currentColor() const; + QColor selectedColor() const; + void setOption(QColorDialog::ColorDialogOption option, bool on = true); + bool testOption(QColorDialog::ColorDialogOption option) const; + void setOptions(QColorDialog::ColorDialogOptions options); + QColorDialog::ColorDialogOptions options() const; + virtual void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + virtual void setVisible(bool visible); +}; + +QFlags operator|(QColorDialog::ColorDialogOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcolumnview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcolumnview.sip new file mode 100644 index 00000000..44a1f86c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcolumnview.sip @@ -0,0 +1,65 @@ +// qcolumnview.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QColumnView : QAbstractItemView +{ +%TypeHeaderCode +#include +%End + +public: + explicit QColumnView(QWidget *parent /TransferThis/ = 0); + virtual ~QColumnView(); + QList columnWidths() const; + QWidget *previewWidget() const; + bool resizeGripsVisible() const; + void setColumnWidths(const QList &list); + void setPreviewWidget(QWidget *widget /Transfer/); + void setResizeGripsVisible(bool visible); + virtual QModelIndex indexAt(const QPoint &point) const; + virtual void scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + virtual QSize sizeHint() const; + virtual QRect visualRect(const QModelIndex &index) const; + virtual void setModel(QAbstractItemModel *model /KeepReference/); + virtual void setSelectionModel(QItemSelectionModel *selectionModel /KeepReference/); + virtual void setRootIndex(const QModelIndex &index); + virtual void selectAll(); + +signals: + void updatePreviewWidget(const QModelIndex &index); + +protected: + virtual QAbstractItemView *createColumn(const QModelIndex &rootIndex); + void initializeColumn(QAbstractItemView *column) const; + virtual bool isIndexHidden(const QModelIndex &index) const; + virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); + virtual void resizeEvent(QResizeEvent *event); + virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); + virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; + virtual int horizontalOffset() const; + virtual int verticalOffset() const; + virtual void scrollContentsBy(int dx, int dy); + virtual void rowsInserted(const QModelIndex &parent, int start, int end); + +protected slots: + virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcombobox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcombobox.sip new file mode 100644 index 00000000..8b4dcfda --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcombobox.sip @@ -0,0 +1,170 @@ +// qcombobox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QComboBox : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QComboBox(QWidget *parent /TransferThis/ = 0); + virtual ~QComboBox(); + int maxVisibleItems() const; + void setMaxVisibleItems(int maxItems); + int count() const /__len__/; + void setMaxCount(int max); + int maxCount() const; + bool duplicatesEnabled() const; + void setDuplicatesEnabled(bool enable); + void setFrame(bool); + bool hasFrame() const; + int findText(const QString &text, Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; + int findData(const QVariant &data, int role = Qt::UserRole, Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; + + enum InsertPolicy + { + NoInsert, + InsertAtTop, + InsertAtCurrent, + InsertAtBottom, + InsertAfterCurrent, + InsertBeforeCurrent, + InsertAlphabetically, + }; + + QComboBox::InsertPolicy insertPolicy() const; + void setInsertPolicy(QComboBox::InsertPolicy policy); + + enum SizeAdjustPolicy + { + AdjustToContents, + AdjustToContentsOnFirstShow, + AdjustToMinimumContentsLength, + AdjustToMinimumContentsLengthWithIcon, + }; + + QComboBox::SizeAdjustPolicy sizeAdjustPolicy() const; + void setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy policy); + int minimumContentsLength() const; + void setMinimumContentsLength(int characters); + QSize iconSize() const; + void setIconSize(const QSize &size); + bool isEditable() const; + void setEditable(bool editable); + void setLineEdit(QLineEdit *edit /Transfer/); + QLineEdit *lineEdit() const; + void setValidator(const QValidator *v /KeepReference/); + const QValidator *validator() const; + QAbstractItemDelegate *itemDelegate() const; + void setItemDelegate(QAbstractItemDelegate *delegate /KeepReference/); + QAbstractItemModel *model() const; + void setModel(QAbstractItemModel *model /KeepReference/); + QModelIndex rootModelIndex() const; + void setRootModelIndex(const QModelIndex &index); + int modelColumn() const; + void setModelColumn(int visibleColumn); + int currentIndex() const; + void setCurrentIndex(int index); + QString currentText() const; + QString itemText(int index) const; + QIcon itemIcon(int index) const; + QVariant itemData(int index, int role = Qt::UserRole) const; + void addItems(const QStringList &texts); + void addItem(const QString &text, const QVariant &userData = QVariant()); + void addItem(const QIcon &icon, const QString &text, const QVariant &userData = QVariant()); + void insertItem(int index, const QString &text, const QVariant &userData = QVariant()); + void insertItem(int index, const QIcon &icon, const QString &text, const QVariant &userData = QVariant()); + void insertItems(int index, const QStringList &texts); + void removeItem(int index); + void setItemText(int index, const QString &text); + void setItemIcon(int index, const QIcon &icon); + void setItemData(int index, const QVariant &value, int role = Qt::ItemDataRole::UserRole); + QAbstractItemView *view() const; + void setView(QAbstractItemView *itemView /Transfer/); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + virtual void showPopup(); + virtual void hidePopup(); + virtual bool event(QEvent *event); + void setCompleter(QCompleter *c /KeepReference/); + QCompleter *completer() const; + void insertSeparator(int index); + +public slots: + void clear(); + void clearEditText(); + void setEditText(const QString &text); + void setCurrentText(const QString &text); + +signals: + void editTextChanged(const QString &); + void activated(int index); + void activated(const QString &); + void currentIndexChanged(int index); + void currentIndexChanged(const QString &); + void currentTextChanged(const QString &); + void highlighted(int index); + void highlighted(const QString &); + +protected: + void initStyleOption(QStyleOptionComboBox *option) const; + virtual void focusInEvent(QFocusEvent *e); + virtual void focusOutEvent(QFocusEvent *e); + virtual void changeEvent(QEvent *e); + virtual void resizeEvent(QResizeEvent *e); + virtual void paintEvent(QPaintEvent *e); + virtual void showEvent(QShowEvent *e); + virtual void hideEvent(QHideEvent *e); + virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseReleaseEvent(QMouseEvent *e); + virtual void keyPressEvent(QKeyEvent *e); + virtual void keyReleaseEvent(QKeyEvent *e); + virtual void wheelEvent(QWheelEvent *e); + virtual void contextMenuEvent(QContextMenuEvent *e); + virtual void inputMethodEvent(QInputMethodEvent *); + +public: + virtual QVariant inputMethodQuery(Qt::InputMethodQuery) const; +%If (Qt_5_2_0 -) + QVariant currentData(int role = Qt::ItemDataRole::UserRole) const; +%End +%If (Qt_5_7_0 -) + QVariant inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const; +%End + +signals: +%If (Qt_5_14_0 -) + void textActivated(const QString &); +%End +%If (Qt_5_14_0 -) + void textHighlighted(const QString &); +%End + +public: +%If (Qt_5_15_0 -) + void setPlaceholderText(const QString &placeholderText); +%End +%If (Qt_5_15_0 -) + QString placeholderText() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcommandlinkbutton.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcommandlinkbutton.sip new file mode 100644 index 00000000..357addb1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcommandlinkbutton.sip @@ -0,0 +1,43 @@ +// qcommandlinkbutton.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCommandLinkButton : QPushButton +{ +%TypeHeaderCode +#include +%End + +public: + explicit QCommandLinkButton(QWidget *parent /TransferThis/ = 0); + QCommandLinkButton(const QString &text, QWidget *parent /TransferThis/ = 0); + QCommandLinkButton(const QString &text, const QString &description, QWidget *parent /TransferThis/ = 0); + virtual ~QCommandLinkButton(); + QString description() const; + void setDescription(const QString &description); + +protected: + virtual QSize sizeHint() const; + virtual int heightForWidth(int) const; + virtual QSize minimumSizeHint() const; + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcommonstyle.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcommonstyle.sip new file mode 100644 index 00000000..606cc61b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcommonstyle.sip @@ -0,0 +1,50 @@ +// qcommonstyle.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCommonStyle : QStyle +{ +%TypeHeaderCode +#include +%End + +public: + QCommonStyle(); + virtual ~QCommonStyle(); + virtual void polish(QWidget *widget); + virtual void unpolish(QWidget *widget); + virtual void polish(QApplication *app); + virtual void unpolish(QApplication *application); + virtual void polish(QPalette & /In,Out/); + virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *widget = 0) const; + virtual void drawControl(QStyle::ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *widget = 0) const; + virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption *opt, const QWidget *widget = 0) const; + virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p, const QWidget *widget = 0) const; + virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *widget = 0) const; + virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex *opt, QStyle::SubControl sc, const QWidget *widget = 0) const; + virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget = 0) const; + virtual int pixelMetric(QStyle::PixelMetric m, const QStyleOption *option = 0, const QWidget *widget = 0) const; + virtual int styleHint(QStyle::StyleHint sh, const QStyleOption *option = 0, const QWidget *widget = 0, QStyleHintReturn *returnData = 0) const; + virtual QPixmap standardPixmap(QStyle::StandardPixmap sp, const QStyleOption *option = 0, const QWidget *widget = 0) const; + virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const; + virtual QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption *option = 0, const QWidget *widget = 0) const; + virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption *option = 0, const QWidget *widget = 0) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcompleter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcompleter.sip new file mode 100644 index 00000000..2e4f1ab3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qcompleter.sip @@ -0,0 +1,99 @@ +// qcompleter.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QCompleter : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum CompletionMode + { + PopupCompletion, + UnfilteredPopupCompletion, + InlineCompletion, + }; + + enum ModelSorting + { + UnsortedModel, + CaseSensitivelySortedModel, + CaseInsensitivelySortedModel, + }; + + QCompleter(QAbstractItemModel *model, QObject *parent /TransferThis/ = 0); + QCompleter(const QStringList &list, QObject *parent /TransferThis/ = 0); + QCompleter(QObject *parent /TransferThis/ = 0); + virtual ~QCompleter(); + void setWidget(QWidget *widget /Transfer/); + QWidget *widget() const; + void setModel(QAbstractItemModel *c /KeepReference/); + QAbstractItemModel *model() const; + void setCompletionMode(QCompleter::CompletionMode mode); + QCompleter::CompletionMode completionMode() const; + QAbstractItemView *popup() const; + void setPopup(QAbstractItemView *popup /Transfer/); + void setCaseSensitivity(Qt::CaseSensitivity caseSensitivity); + Qt::CaseSensitivity caseSensitivity() const; + void setModelSorting(QCompleter::ModelSorting sorting); + QCompleter::ModelSorting modelSorting() const; + void setCompletionColumn(int column); + int completionColumn() const; + void setCompletionRole(int role); + int completionRole() const; + int completionCount() const; + bool setCurrentRow(int row); + int currentRow() const; + QModelIndex currentIndex() const; + QString currentCompletion() const; + QAbstractItemModel *completionModel() const; + QString completionPrefix() const; + virtual QString pathFromIndex(const QModelIndex &index) const; + virtual QStringList splitPath(const QString &path) const; + bool wrapAround() const; + +public slots: + void complete(const QRect &rect = QRect()); + void setCompletionPrefix(const QString &prefix); + void setWrapAround(bool wrap); + +protected: + virtual bool eventFilter(QObject *o, QEvent *e); + virtual bool event(QEvent *); + +signals: + void activated(const QString &text); + void activated(const QModelIndex &index); + void highlighted(const QString &text); + void highlighted(const QModelIndex &index); + +public: + int maxVisibleItems() const; + void setMaxVisibleItems(int maxItems); +%If (Qt_5_2_0 -) + void setFilterMode(Qt::MatchFlags filterMode); +%End +%If (Qt_5_2_0 -) + Qt::MatchFlags filterMode() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdatawidgetmapper.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdatawidgetmapper.sip new file mode 100644 index 00000000..59638b19 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdatawidgetmapper.sip @@ -0,0 +1,69 @@ +// qdatawidgetmapper.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDataWidgetMapper : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum SubmitPolicy + { + AutoSubmit, + ManualSubmit, + }; + + explicit QDataWidgetMapper(QObject *parent /TransferThis/ = 0); + virtual ~QDataWidgetMapper(); + void setModel(QAbstractItemModel *model /KeepReference/); + QAbstractItemModel *model() const; + void setItemDelegate(QAbstractItemDelegate *delegate /KeepReference/); + QAbstractItemDelegate *itemDelegate() const; + void setRootIndex(const QModelIndex &index); + QModelIndex rootIndex() const; + void setOrientation(Qt::Orientation aOrientation); + Qt::Orientation orientation() const; + void setSubmitPolicy(QDataWidgetMapper::SubmitPolicy policy); + QDataWidgetMapper::SubmitPolicy submitPolicy() const; + void addMapping(QWidget *widget, int section); + void addMapping(QWidget *widget, int section, const QByteArray &propertyName); + void removeMapping(QWidget *widget); + QByteArray mappedPropertyName(QWidget *widget) const; + int mappedSection(QWidget *widget) const; + QWidget *mappedWidgetAt(int section) const; + void clearMapping(); + int currentIndex() const; + +public slots: + void revert(); + virtual void setCurrentIndex(int index); + void setCurrentModelIndex(const QModelIndex &index); + bool submit(); + void toFirst(); + void toLast(); + void toNext(); + void toPrevious(); + +signals: + void currentIndexChanged(int index); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdatetimeedit.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdatetimeedit.sip new file mode 100644 index 00000000..acc1d853 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdatetimeedit.sip @@ -0,0 +1,154 @@ +// qdatetimeedit.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDateTimeEdit : QAbstractSpinBox +{ +%TypeHeaderCode +#include +%End + +public: + enum Section + { + NoSection, + AmPmSection, + MSecSection, + SecondSection, + MinuteSection, + HourSection, + DaySection, + MonthSection, + YearSection, + TimeSections_Mask, + DateSections_Mask, + }; + + typedef QFlags Sections; + explicit QDateTimeEdit(QWidget *parent /TransferThis/ = 0); + QDateTimeEdit(const QDateTime &datetime, QWidget *parent /TransferThis/ = 0); + QDateTimeEdit(const QDate &date, QWidget *parent /TransferThis/ = 0); + QDateTimeEdit(const QTime &time, QWidget *parent /TransferThis/ = 0); + virtual ~QDateTimeEdit(); + QDateTime dateTime() const; + QDate date() const; + QTime time() const; + QDate minimumDate() const; + void setMinimumDate(const QDate &min); + void clearMinimumDate(); + QDate maximumDate() const; + void setMaximumDate(const QDate &max); + void clearMaximumDate(); + void setDateRange(const QDate &min, const QDate &max); + QTime minimumTime() const; + void setMinimumTime(const QTime &min); + void clearMinimumTime(); + QTime maximumTime() const; + void setMaximumTime(const QTime &max); + void clearMaximumTime(); + void setTimeRange(const QTime &min, const QTime &max); + QDateTimeEdit::Sections displayedSections() const; + QDateTimeEdit::Section currentSection() const; + void setCurrentSection(QDateTimeEdit::Section section); + QString sectionText(QDateTimeEdit::Section s) const; + QString displayFormat() const; + void setDisplayFormat(const QString &format); + bool calendarPopup() const; + void setCalendarPopup(bool enable); + void setSelectedSection(QDateTimeEdit::Section section); + virtual QSize sizeHint() const; + virtual void clear(); + virtual void stepBy(int steps); + virtual bool event(QEvent *e); + QDateTimeEdit::Section sectionAt(int index) const; + int currentSectionIndex() const; + void setCurrentSectionIndex(int index); + int sectionCount() const; + +signals: + void dateTimeChanged(const QDateTime &date); + void timeChanged(const QTime &date); + void dateChanged(const QDate &date); + +public slots: + void setDateTime(const QDateTime &dateTime); + void setDate(const QDate &date); + void setTime(const QTime &time); + +protected: + void initStyleOption(QStyleOptionSpinBox *option) const; + virtual void keyPressEvent(QKeyEvent *e); + virtual void wheelEvent(QWheelEvent *e); + virtual void focusInEvent(QFocusEvent *e); + virtual bool focusNextPrevChild(bool next); + virtual void mousePressEvent(QMouseEvent *event); + virtual void paintEvent(QPaintEvent *event); + virtual QValidator::State validate(QString &input /In,Out/, int &pos /In,Out/) const; + virtual void fixup(QString &input /In,Out/) const; + virtual QDateTime dateTimeFromText(const QString &text) const; + virtual QString textFromDateTime(const QDateTime &dt) const; + virtual QAbstractSpinBox::StepEnabled stepEnabled() const; + +public: + QDateTime minimumDateTime() const; + void clearMinimumDateTime(); + void setMinimumDateTime(const QDateTime &dt); + QDateTime maximumDateTime() const; + void clearMaximumDateTime(); + void setMaximumDateTime(const QDateTime &dt); + void setDateTimeRange(const QDateTime &min, const QDateTime &max); + QCalendarWidget *calendarWidget() const; + void setCalendarWidget(QCalendarWidget *calendarWidget /Transfer/); + Qt::TimeSpec timeSpec() const; + void setTimeSpec(Qt::TimeSpec spec); +%If (Qt_5_14_0 -) + QCalendar calendar() const; +%End +%If (Qt_5_14_0 -) + void setCalendar(QCalendar calendar); +%End +}; + +class QTimeEdit : QDateTimeEdit +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTimeEdit(QWidget *parent /TransferThis/ = 0); + QTimeEdit(const QTime &time, QWidget *parent /TransferThis/ = 0); + virtual ~QTimeEdit(); +}; + +class QDateEdit : QDateTimeEdit +{ +%TypeHeaderCode +#include +%End + +public: + explicit QDateEdit(QWidget *parent /TransferThis/ = 0); + QDateEdit(const QDate &date, QWidget *parent /TransferThis/ = 0); + virtual ~QDateEdit(); +}; + +QFlags operator|(QDateTimeEdit::Section f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdesktopwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdesktopwidget.sip new file mode 100644 index 00000000..edf376ca --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdesktopwidget.sip @@ -0,0 +1,55 @@ +// qdesktopwidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDesktopWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QDesktopWidget(); + virtual ~QDesktopWidget(); + bool isVirtualDesktop() const; + int primaryScreen() const; + int screenNumber(const QWidget *widget = 0) const; + int screenNumber(const QPoint &) const; + QWidget *screen(int screen = -1); + int screenCount() const; + const QRect screenGeometry(int screen = -1) const; + const QRect screenGeometry(const QWidget *widget) const; + const QRect screenGeometry(const QPoint &point) const; + const QRect availableGeometry(int screen = -1) const; + const QRect availableGeometry(const QWidget *widget) const; + const QRect availableGeometry(const QPoint &point) const; + +signals: + void resized(int); + void workAreaResized(int); + void screenCountChanged(int); +%If (Qt_5_6_0 -) + void primaryScreenChanged(); +%End + +protected: + virtual void resizeEvent(QResizeEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdial.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdial.sip new file mode 100644 index 00000000..8d3a2138 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdial.sip @@ -0,0 +1,53 @@ +// qdial.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDial : QAbstractSlider +{ +%TypeHeaderCode +#include +%End + +public: + explicit QDial(QWidget *parent /TransferThis/ = 0); + virtual ~QDial(); + bool wrapping() const; + int notchSize() const; + void setNotchTarget(double target); + qreal notchTarget() const; + bool notchesVisible() const; + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + +public slots: + void setNotchesVisible(bool visible); + void setWrapping(bool on); + +protected: + void initStyleOption(QStyleOptionSlider *option) const; + virtual bool event(QEvent *e); + virtual void resizeEvent(QResizeEvent *re); + virtual void paintEvent(QPaintEvent *pe); + virtual void mousePressEvent(QMouseEvent *me); + virtual void mouseReleaseEvent(QMouseEvent *me); + virtual void mouseMoveEvent(QMouseEvent *me); + virtual void sliderChange(QAbstractSlider::SliderChange change); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdialog.sip new file mode 100644 index 00000000..36efa73e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdialog.sip @@ -0,0 +1,98 @@ +// qdialog.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDialog : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QDialog(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QDialog(); + + enum DialogCode + { + Rejected, + Accepted, + }; + + int result() const; + virtual void setVisible(bool visible); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + void setSizeGripEnabled(bool); + bool isSizeGripEnabled() const; + void setModal(bool modal); + void setResult(int r); + virtual int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%MethodCode + // Transfer ownership back to Python (a modal dialog will probably have the + // main window as it's parent). This means the Qt dialog will be deleted when + // the Python wrapper is garbage collected. Although this is a little + // inconsistent, it saves having to code it explicitly to avoid the memory + // leak. + sipTransferBack(sipSelf); + + Py_BEGIN_ALLOW_THREADS + sipRes = sipSelfWasArg ? sipCpp->QDialog::exec() + : sipCpp->exec(); + Py_END_ALLOW_THREADS +%End + +%If (Py_v3) + virtual int exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,ReleaseGIL/; +%MethodCode + // Transfer ownership back to Python (a modal dialog will probably have the + // main window as it's parent). This means the Qt dialog will be deleted when + // the Python wrapper is garbage collected. Although this is a little + // inconsistent, it saves having to code it explicitly to avoid the memory + // leak. + sipTransferBack(sipSelf); + + Py_BEGIN_ALLOW_THREADS + sipRes = sipSelfWasArg ? sipCpp->QDialog::exec() + : sipCpp->exec(); + Py_END_ALLOW_THREADS +%End + +%End + +public slots: + virtual void done(int); + virtual void accept(); + virtual void reject(); + virtual void open(); + +signals: + void accepted(); + void finished(int result); + void rejected(); + +protected: + virtual void keyPressEvent(QKeyEvent *); + virtual void closeEvent(QCloseEvent *); + virtual void showEvent(QShowEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void contextMenuEvent(QContextMenuEvent *); + virtual bool eventFilter(QObject *, QEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdialogbuttonbox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdialogbuttonbox.sip new file mode 100644 index 00000000..972950d5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdialogbuttonbox.sip @@ -0,0 +1,118 @@ +// qdialogbuttonbox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDialogButtonBox : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + enum ButtonLayout + { + WinLayout, + MacLayout, + KdeLayout, + GnomeLayout, +%If (Qt_5_10_0 -) + AndroidLayout, +%End + }; + + enum ButtonRole + { + InvalidRole, + AcceptRole, + RejectRole, + DestructiveRole, + ActionRole, + HelpRole, + YesRole, + NoRole, + ResetRole, + ApplyRole, + }; + + enum StandardButton + { + NoButton, + Ok, + Save, + SaveAll, + Open, + Yes, + YesToAll, + No, + NoToAll, + Abort, + Retry, + Ignore, + Close, + Cancel, + Discard, + Help, + Apply, + Reset, + RestoreDefaults, + }; + + typedef QFlags StandardButtons; + QDialogButtonBox(QWidget *parent /TransferThis/ = 0); + QDialogButtonBox(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0); +%If (Qt_5_2_0 -) + QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget *parent /TransferThis/ = 0); +%End +%If (Qt_5_2_0 -) + QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0); +%End +%If (- Qt_5_2_0) + QDialogButtonBox(QFlags buttons, Qt::Orientation orientation = Qt::Horizontal, QWidget *parent /TransferThis/ = 0); +%End + virtual ~QDialogButtonBox(); + void setOrientation(Qt::Orientation orientation); + Qt::Orientation orientation() const; + void addButton(QAbstractButton *button /Transfer/, QDialogButtonBox::ButtonRole role); + QPushButton *addButton(const QString &text, QDialogButtonBox::ButtonRole role) /Transfer/; + QPushButton *addButton(QDialogButtonBox::StandardButton button) /Transfer/; + void removeButton(QAbstractButton *button /TransferBack/); + void clear(); + QList buttons() const; + QDialogButtonBox::ButtonRole buttonRole(QAbstractButton *button) const; + void setStandardButtons(QDialogButtonBox::StandardButtons buttons); + QDialogButtonBox::StandardButtons standardButtons() const; + QDialogButtonBox::StandardButton standardButton(QAbstractButton *button) const; + QPushButton *button(QDialogButtonBox::StandardButton which) const; + void setCenterButtons(bool center); + bool centerButtons() const; + +signals: + void accepted(); + void clicked(QAbstractButton *button); + void helpRequested(); + void rejected(); + +protected: + virtual void changeEvent(QEvent *event); + virtual bool event(QEvent *event); +}; + +QFlags operator|(QDialogButtonBox::StandardButton f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdirmodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdirmodel.sip new file mode 100644 index 00000000..f0ce66c3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdirmodel.sip @@ -0,0 +1,79 @@ +// qdirmodel.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDirModel : QAbstractItemModel +{ +%TypeHeaderCode +#include +%End + +public: + enum Roles + { + FileIconRole, + FilePathRole, + FileNameRole, + }; + + QDirModel(const QStringList &nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject *parent /TransferThis/ = 0); + explicit QDirModel(QObject *parent /TransferThis/ = 0); + virtual ~QDirModel(); + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + virtual QModelIndex parent(const QModelIndex &child) const; + QObject *parent() const; + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const; + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); + virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QModelIndexList &indexes) const /TransferBack/; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); + virtual Qt::DropActions supportedDropActions() const; + void setIconProvider(QFileIconProvider *provider /KeepReference/); + QFileIconProvider *iconProvider() const; + void setNameFilters(const QStringList &filters); + QStringList nameFilters() const; + void setFilter(QDir::Filters filters); + QDir::Filters filter() const; + void setSorting(QDir::SortFlags sort); + QDir::SortFlags sorting() const; + void setResolveSymlinks(bool enable); + bool resolveSymlinks() const; + void setReadOnly(bool enable); + bool isReadOnly() const; + void setLazyChildCount(bool enable); + bool lazyChildCount() const; + void refresh(const QModelIndex &parent = QModelIndex()); + QModelIndex index(const QString &path, int column = 0) const; + bool isDir(const QModelIndex &index) const; + QModelIndex mkdir(const QModelIndex &parent, const QString &name); + bool rmdir(const QModelIndex &index); + bool remove(const QModelIndex &index); + QString filePath(const QModelIndex &index) const; + QString fileName(const QModelIndex &index) const; + QIcon fileIcon(const QModelIndex &index) const; + QFileInfo fileInfo(const QModelIndex &index) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdockwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdockwidget.sip new file mode 100644 index 00000000..ef9e314b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdockwidget.sip @@ -0,0 +1,73 @@ +// qdockwidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDockWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QDockWidget(const QString &title, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + QDockWidget(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QDockWidget(); + QWidget *widget() const; + void setWidget(QWidget *widget /Transfer/); + + enum DockWidgetFeature + { + DockWidgetClosable, + DockWidgetMovable, + DockWidgetFloatable, + DockWidgetVerticalTitleBar, + AllDockWidgetFeatures, + NoDockWidgetFeatures, + }; + + typedef QFlags DockWidgetFeatures; + void setFeatures(QDockWidget::DockWidgetFeatures features); + QDockWidget::DockWidgetFeatures features() const; + void setFloating(bool floating); + bool isFloating() const; + void setAllowedAreas(Qt::DockWidgetAreas areas); + Qt::DockWidgetAreas allowedAreas() const; + bool isAreaAllowed(Qt::DockWidgetArea area) const; + QAction *toggleViewAction() const /Transfer/; + void setTitleBarWidget(QWidget *widget /Transfer/); + QWidget *titleBarWidget() const; + +signals: + void featuresChanged(QDockWidget::DockWidgetFeatures features); + void topLevelChanged(bool topLevel); + void allowedAreasChanged(Qt::DockWidgetAreas allowedAreas); + void dockLocationChanged(Qt::DockWidgetArea area); + void visibilityChanged(bool visible); + +protected: + void initStyleOption(QStyleOptionDockWidget *option) const; + virtual void changeEvent(QEvent *event); + virtual void closeEvent(QCloseEvent *event); + virtual void paintEvent(QPaintEvent *event); + virtual bool event(QEvent *event); +}; + +QFlags operator|(QDockWidget::DockWidgetFeature f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdrawutil.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdrawutil.sip new file mode 100644 index 00000000..5023f2d6 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qdrawutil.sip @@ -0,0 +1,39 @@ +// qdrawutil.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%ModuleCode +#include +%End + +void qDrawShadeLine(QPainter *p, int x1, int y1, int x2, int y2, const QPalette &pal, bool sunken = true, int lineWidth = 1, int midLineWidth = 0); +void qDrawShadeLine(QPainter *p, const QPoint &p1, const QPoint &p2, const QPalette &pal, bool sunken = true, int lineWidth = 1, int midLineWidth = 0); +void qDrawShadeRect(QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken = false, int lineWidth = 1, int midLineWidth = 0, const QBrush *fill = 0); +void qDrawShadeRect(QPainter *p, const QRect &r, const QPalette &pal, bool sunken = false, int lineWidth = 1, int midLineWidth = 0, const QBrush *fill = 0); +void qDrawShadePanel(QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken = false, int lineWidth = 1, const QBrush *fill = 0); +void qDrawShadePanel(QPainter *p, const QRect &r, const QPalette &pal, bool sunken = false, int lineWidth = 1, const QBrush *fill = 0); +void qDrawWinButton(QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken = false, const QBrush *fill = 0); +void qDrawWinButton(QPainter *p, const QRect &r, const QPalette &pal, bool sunken = false, const QBrush *fill = 0); +void qDrawWinPanel(QPainter *p, int x, int y, int w, int h, const QPalette &pal, bool sunken = false, const QBrush *fill = 0); +void qDrawWinPanel(QPainter *p, const QRect &r, const QPalette &pal, bool sunken = false, const QBrush *fill = 0); +void qDrawPlainRect(QPainter *p, int x, int y, int w, int h, const QColor &, int lineWidth = 1, const QBrush *fill = 0); +void qDrawPlainRect(QPainter *p, const QRect &r, const QColor &, int lineWidth = 1, const QBrush *fill = 0); +void qDrawBorderPixmap(QPainter *painter, const QRect &target, const QMargins &margins, const QPixmap &pixmap); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qerrormessage.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qerrormessage.sip new file mode 100644 index 00000000..f1f2e972 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qerrormessage.sip @@ -0,0 +1,41 @@ +// qerrormessage.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QErrorMessage : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + explicit QErrorMessage(QWidget *parent /TransferThis/ = 0); + virtual ~QErrorMessage(); + static QErrorMessage *qtHandler(); + +public slots: + void showMessage(const QString &message); + void showMessage(const QString &message, const QString &type); + +protected: + virtual void changeEvent(QEvent *e); + virtual void done(int); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfiledialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfiledialog.sip new file mode 100644 index 00000000..f65e0f6f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfiledialog.sip @@ -0,0 +1,355 @@ +// qfiledialog.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFileDialog : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + enum ViewMode + { + Detail, + List, + }; + + enum FileMode + { + AnyFile, + ExistingFile, + Directory, + ExistingFiles, + DirectoryOnly, + }; + + enum AcceptMode + { + AcceptOpen, + AcceptSave, + }; + + enum DialogLabel + { + LookIn, + FileName, + FileType, + Accept, + Reject, + }; + + enum Option + { + ShowDirsOnly, + DontResolveSymlinks, + DontConfirmOverwrite, + DontUseSheet, + DontUseNativeDialog, + ReadOnly, + HideNameFilterDetails, +%If (Qt_5_2_0 -) + DontUseCustomDirectoryIcons, +%End + }; + + typedef QFlags Options; + QFileDialog(QWidget *parent /TransferThis/, Qt::WindowFlags f); + QFileDialog(QWidget *parent /TransferThis/ = 0, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString()); + virtual ~QFileDialog(); + void setDirectory(const QString &directory); + void setDirectory(const QDir &adirectory); + QDir directory() const; + void selectFile(const QString &filename); + QStringList selectedFiles() const; + void setViewMode(QFileDialog::ViewMode mode); + QFileDialog::ViewMode viewMode() const; + void setFileMode(QFileDialog::FileMode mode); + QFileDialog::FileMode fileMode() const; + void setAcceptMode(QFileDialog::AcceptMode mode); + QFileDialog::AcceptMode acceptMode() const; + void setDefaultSuffix(const QString &suffix); + QString defaultSuffix() const; + void setHistory(const QStringList &paths); + QStringList history() const; + void setItemDelegate(QAbstractItemDelegate *delegate /KeepReference/); + QAbstractItemDelegate *itemDelegate() const; + void setIconProvider(QFileIconProvider *provider /KeepReference/); + QFileIconProvider *iconProvider() const; + void setLabelText(QFileDialog::DialogLabel label, const QString &text); + QString labelText(QFileDialog::DialogLabel label) const; + +signals: + void currentChanged(const QString &path); + void directoryEntered(const QString &directory); + void filesSelected(const QStringList &files); + void filterSelected(const QString &filter); + void fileSelected(const QString &file); + +public: + static QString getExistingDirectory(QWidget *parent = 0, const QString &caption = QString(), const QString &directory = QString(), QFileDialog::Options options = QFileDialog::ShowDirsOnly) /ReleaseGIL/; +%If (Qt_5_2_0 -) + static QUrl getExistingDirectoryUrl(QWidget *parent = 0, const QString &caption = QString(), const QUrl &directory = QUrl(), QFileDialog::Options options = QFileDialog::ShowDirsOnly, const QStringList &supportedSchemes = QStringList()) /ReleaseGIL/; +%End + static SIP_PYTUPLE getOpenFileName(QWidget *parent = 0, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString(), const QString &initialFilter = QString(), Options options = 0) /TypeHint="Tuple[QString, QString]", ReleaseGIL/; +%MethodCode + QString *name; + QString *filter = new QString(*a4); + + Py_BEGIN_ALLOW_THREADS + + name = new QString(QFileDialog::getOpenFileName(a0, *a1, *a2, *a3, filter, *a5)); + + Py_END_ALLOW_THREADS + + PyObject *name_obj = sipConvertFromNewType(name, sipType_QString, NULL); + PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL); + + if (name_obj && filter_obj) + sipRes = PyTuple_Pack(2, name_obj, filter_obj); + + Py_XDECREF(name_obj); + Py_XDECREF(filter_obj); +%End + + static SIP_PYTUPLE getOpenFileNames(QWidget *parent = 0, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString(), const QString &initialFilter = QString(), Options options = 0) /TypeHint="Tuple[QStringList, QString]", ReleaseGIL/; +%MethodCode + QStringList *names; + QString *filter = new QString(*a4); + + Py_BEGIN_ALLOW_THREADS + + names = new QStringList(QFileDialog::getOpenFileNames(a0, *a1, *a2, *a3, filter, *a5)); + + Py_END_ALLOW_THREADS + + PyObject *names_obj = sipConvertFromNewType(names, sipType_QStringList, NULL); + PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL); + + if (names_obj && filter_obj) + sipRes = PyTuple_Pack(2, names_obj, filter_obj); + + Py_XDECREF(names_obj); + Py_XDECREF(filter_obj); +%End + + static SIP_PYTUPLE getSaveFileName(QWidget *parent = 0, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString(), const QString &initialFilter = QString(), Options options = 0) /TypeHint="Tuple[QString, QString]", ReleaseGIL/; +%MethodCode + QString *name; + QString *filter = new QString(*a4); + + Py_BEGIN_ALLOW_THREADS + + name = new QString(QFileDialog::getSaveFileName(a0, *a1, *a2, *a3, filter, *a5)); + + Py_END_ALLOW_THREADS + + PyObject *name_obj = sipConvertFromNewType(name, sipType_QString, NULL); + PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL); + + if (name_obj && filter_obj) + sipRes = PyTuple_Pack(2, name_obj, filter_obj); + + Py_XDECREF(name_obj); + Py_XDECREF(filter_obj); +%End + +protected: + virtual void done(int result); + virtual void accept(); + virtual void changeEvent(QEvent *e); + +public: + void setSidebarUrls(const QList &urls); + QList sidebarUrls() const; + QByteArray saveState() const; + bool restoreState(const QByteArray &state); + void setProxyModel(QAbstractProxyModel *model /Transfer/); + QAbstractProxyModel *proxyModel() const; + void setNameFilter(const QString &filter); + void setNameFilters(const QStringList &filters); + QStringList nameFilters() const; + void selectNameFilter(const QString &filter); + QString selectedNameFilter() const; + QDir::Filters filter() const; + void setFilter(QDir::Filters filters); + void setOption(QFileDialog::Option option, bool on = true); + bool testOption(QFileDialog::Option option) const; + void setOptions(QFileDialog::Options options); + QFileDialog::Options options() const; + virtual void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + virtual void setVisible(bool visible); +%If (Qt_5_2_0 -) + void setDirectoryUrl(const QUrl &directory); +%End +%If (Qt_5_2_0 -) + QUrl directoryUrl() const; +%End +%If (Qt_5_2_0 -) + void selectUrl(const QUrl &url); +%End +%If (Qt_5_2_0 -) + QList selectedUrls() const; +%End +%If (Qt_5_2_0 -) + void setMimeTypeFilters(const QStringList &filters); +%End +%If (Qt_5_2_0 -) + QStringList mimeTypeFilters() const; +%End +%If (Qt_5_2_0 -) + void selectMimeTypeFilter(const QString &filter); +%End + +signals: +%If (Qt_5_2_0 -) + void urlSelected(const QUrl &url); +%End +%If (Qt_5_2_0 -) + void urlsSelected(const QList &urls); +%End +%If (Qt_5_2_0 -) + void currentUrlChanged(const QUrl &url); +%End +%If (Qt_5_2_0 -) + void directoryUrlEntered(const QUrl &directory); +%End + +public: +%If (Qt_5_2_0 -) + static SIP_PYTUPLE getOpenFileUrl(QWidget *parent = 0, const QString &caption = QString(), const QUrl &directory = QUrl(), const QString &filter = QString(), const QString &initialFilter = QString(), Options options = 0, const QStringList &supportedSchemes = QStringList()) /TypeHint="Tuple[QUrl, QString]", ReleaseGIL/; +%MethodCode + QUrl *url; + QString *filter = new QString(*a4); + + Py_BEGIN_ALLOW_THREADS + + url = new QUrl(QFileDialog::getOpenFileUrl(a0, *a1, *a2, *a3, filter, *a5, *a6)); + + Py_END_ALLOW_THREADS + + PyObject *url_obj = sipConvertFromNewType(url, sipType_QUrl, NULL); + PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL); + + if (url_obj && filter_obj) + sipRes = PyTuple_Pack(2, url_obj, filter_obj); + + Py_XDECREF(url_obj); + Py_XDECREF(filter_obj); +%End + +%End +%If (Qt_5_2_0 -) + static SIP_PYTUPLE getOpenFileUrls(QWidget *parent = 0, const QString &caption = QString(), const QUrl &directory = QUrl(), const QString &filter = QString(), const QString &initialFilter = QString(), Options options = 0, const QStringList &supportedSchemes = QStringList()) /TypeHint="Tuple[List[QUrl], QString]", ReleaseGIL/; +%MethodCode + QList url_list; + QString *filter = new QString(*a4); + + Py_BEGIN_ALLOW_THREADS + + url_list = QFileDialog::getOpenFileUrls(a0, *a1, *a2, *a3, filter, *a5, *a6); + + Py_END_ALLOW_THREADS + + PyObject *url_list_obj = PyList_New(url_list.size()); + + if (url_list_obj) + { + for (int i = 0; i < url_list.size(); ++i) + { + QUrl *url = new QUrl(url_list.at(i)); + PyObject *url_obj = sipConvertFromNewType(url, sipType_QUrl, NULL); + + if (!url_obj) + { + delete url; + Py_DECREF(url_list_obj); + url_list_obj = 0; + break; + } + + PyList_SetItem(url_list_obj, i, url_obj); + } + } + + PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL); + + if (url_list_obj && filter_obj) + sipRes = PyTuple_Pack(2, url_list_obj, filter_obj); + + Py_XDECREF(url_list_obj); + Py_XDECREF(filter_obj); +%End + +%End +%If (Qt_5_2_0 -) + static SIP_PYTUPLE getSaveFileUrl(QWidget *parent = 0, const QString &caption = QString(), const QUrl &directory = QUrl(), const QString &filter = QString(), const QString &initialFilter = QString(), Options options = 0, const QStringList &supportedSchemes = QStringList()) /TypeHint="Tuple[QUrl, QString]", ReleaseGIL/; +%MethodCode + QUrl *url; + QString *filter = new QString(*a4); + + Py_BEGIN_ALLOW_THREADS + + url = new QUrl(QFileDialog::getSaveFileUrl(a0, *a1, *a2, *a3, filter, *a5, *a6)); + + Py_END_ALLOW_THREADS + + PyObject *url_obj = sipConvertFromNewType(url, sipType_QUrl, NULL); + PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL); + + if (url_obj && filter_obj) + sipRes = PyTuple_Pack(2, url_obj, filter_obj); + + Py_XDECREF(url_obj); + Py_XDECREF(filter_obj); +%End + +%End +%If (Qt_5_6_0 -) + void setSupportedSchemes(const QStringList &schemes); +%End +%If (Qt_5_6_0 -) + QStringList supportedSchemes() const; +%End +%If (Qt_5_9_0 -) + QString selectedMimeTypeFilter() const; +%End +%If (Qt_5_14_0 -) + static void saveFileContent(const QByteArray &fileContent, const QString &fileNameHint = QString()) /ReleaseGIL/; +%End +}; + +QFlags operator|(QFileDialog::Option f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfileiconprovider.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfileiconprovider.sip new file mode 100644 index 00000000..33a995d2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfileiconprovider.sip @@ -0,0 +1,71 @@ +// qfileiconprovider.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFileIconProvider +{ +%TypeHeaderCode +#include +%End + +public: + QFileIconProvider(); + virtual ~QFileIconProvider(); + + enum IconType + { + Computer, + Desktop, + Trashcan, + Network, + Drive, + Folder, + File, + }; + + virtual QIcon icon(QFileIconProvider::IconType type) const; + virtual QIcon icon(const QFileInfo &info) const; + virtual QString type(const QFileInfo &info) const; +%If (Qt_5_2_0 -) + + enum Option + { + DontUseCustomDirectoryIcons, + }; + +%End +%If (Qt_5_2_0 -) + typedef QFlags Options; +%End +%If (Qt_5_2_0 -) + void setOptions(QFileIconProvider::Options options); +%End +%If (Qt_5_2_0 -) + QFileIconProvider::Options options() const; +%End + +private: + QFileIconProvider(const QFileIconProvider &); +}; + +%If (Qt_5_2_0 -) +QFlags operator|(QFileIconProvider::Option f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfilesystemmodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfilesystemmodel.sip new file mode 100644 index 00000000..b9cf4c5f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfilesystemmodel.sip @@ -0,0 +1,128 @@ +// qfilesystemmodel.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFileSystemModel : QAbstractItemModel +{ +%TypeHeaderCode +#include +%End + +public: + enum Roles + { + FileIconRole, + FilePathRole, + FileNameRole, + FilePermissions, + }; + + explicit QFileSystemModel(QObject *parent /TransferThis/ = 0); + virtual ~QFileSystemModel(); + virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; + QModelIndex index(const QString &path, int column = 0) const; + virtual QModelIndex parent(const QModelIndex &child) const; + virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const; + virtual bool canFetchMore(const QModelIndex &parent) const; + virtual void fetchMore(const QModelIndex &parent); + virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; + QVariant myComputer(int role = Qt::ItemDataRole::DisplayRole) const; + virtual QVariant data(const QModelIndex &index, int role = Qt::ItemDataRole::DisplayRole) const; + virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::ItemDataRole::EditRole); + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::ItemDataRole::DisplayRole) const; + virtual Qt::ItemFlags flags(const QModelIndex &index) const; + virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); + virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QModelIndexList &indexes) const; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); + virtual Qt::DropActions supportedDropActions() const; + QModelIndex setRootPath(const QString &path); + QString rootPath() const; + QDir rootDirectory() const; + void setIconProvider(QFileIconProvider *provider /KeepReference/); + QFileIconProvider *iconProvider() const; + void setFilter(QDir::Filters filters); + QDir::Filters filter() const; + void setResolveSymlinks(bool enable); + bool resolveSymlinks() const; + void setReadOnly(bool enable); + bool isReadOnly() const; + void setNameFilterDisables(bool enable); + bool nameFilterDisables() const; + void setNameFilters(const QStringList &filters); + QStringList nameFilters() const; + QString filePath(const QModelIndex &index) const; + bool isDir(const QModelIndex &index) const; + qint64 size(const QModelIndex &index) const; + QString type(const QModelIndex &index) const; + QDateTime lastModified(const QModelIndex &index) const; + QModelIndex mkdir(const QModelIndex &parent, const QString &name); + QFileDevice::Permissions permissions(const QModelIndex &index) const; + bool rmdir(const QModelIndex &index); + QString fileName(const QModelIndex &aindex) const; + QIcon fileIcon(const QModelIndex &aindex) const; + QFileInfo fileInfo(const QModelIndex &aindex) const; + bool remove(const QModelIndex &index); + +signals: + void fileRenamed(const QString &path, const QString &oldName, const QString &newName); + void rootPathChanged(const QString &newPath); + void directoryLoaded(const QString &path); + +protected: + virtual bool event(QEvent *event); + virtual void timerEvent(QTimerEvent *event); + +public: +%If (Qt_5_7_0 -) + virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const; +%End +%If (Qt_5_14_0 -) + + enum Option + { + DontWatchForChanges, + DontResolveSymlinks, + DontUseCustomDirectoryIcons, + }; + +%End +%If (Qt_5_14_0 -) + typedef QFlags Options; +%End +%If (Qt_5_14_0 -) + void setOption(QFileSystemModel::Option option, bool on = true); +%End +%If (Qt_5_14_0 -) + bool testOption(QFileSystemModel::Option option) const; +%End +%If (Qt_5_14_0 -) + void setOptions(QFileSystemModel::Options options); +%End +%If (Qt_5_14_0 -) + QFileSystemModel::Options options() const; +%End +}; + +%If (Qt_5_14_0 -) +QFlags operator|(QFileSystemModel::Option f1, QFlags f2); +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfocusframe.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfocusframe.sip new file mode 100644 index 00000000..728d15cd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfocusframe.sip @@ -0,0 +1,40 @@ +// qfocusframe.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFocusFrame : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QFocusFrame(QWidget *parent /TransferThis/ = 0); + virtual ~QFocusFrame(); + void setWidget(QWidget *widget); + QWidget *widget() const; + +protected: + void initStyleOption(QStyleOption *option) const; + virtual bool eventFilter(QObject *, QEvent *); + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfontcombobox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfontcombobox.sip new file mode 100644 index 00000000..121eba22 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfontcombobox.sip @@ -0,0 +1,59 @@ +// qfontcombobox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFontComboBox : QComboBox +{ +%TypeHeaderCode +#include +%End + +public: + enum FontFilter + { + AllFonts, + ScalableFonts, + NonScalableFonts, + MonospacedFonts, + ProportionalFonts, + }; + + QFontComboBox::FontFilters fontFilters() const; + explicit QFontComboBox(QWidget *parent /TransferThis/ = 0); + virtual ~QFontComboBox(); + void setWritingSystem(QFontDatabase::WritingSystem); + QFontDatabase::WritingSystem writingSystem() const; + typedef QFlags FontFilters; + void setFontFilters(QFontComboBox::FontFilters filters); + QFont currentFont() const; + virtual QSize sizeHint() const; + +public slots: + void setCurrentFont(const QFont &f); + +signals: + void currentFontChanged(const QFont &f); + +protected: + virtual bool event(QEvent *e); +}; + +QFlags operator|(QFontComboBox::FontFilter f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfontdialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfontdialog.sip new file mode 100644 index 00000000..7dcc45d0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qfontdialog.sip @@ -0,0 +1,91 @@ +// qfontdialog.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFontDialog : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + enum FontDialogOption + { + NoButtons, + DontUseNativeDialog, +%If (Qt_5_2_0 -) + ScalableFonts, +%End +%If (Qt_5_2_0 -) + NonScalableFonts, +%End +%If (Qt_5_2_0 -) + MonospacedFonts, +%End +%If (Qt_5_2_0 -) + ProportionalFonts, +%End + }; + + typedef QFlags FontDialogOptions; + explicit QFontDialog(QWidget *parent /TransferThis/ = 0); + QFontDialog(const QFont &initial, QWidget *parent /TransferThis/ = 0); + virtual ~QFontDialog(); + static QFont getFont(bool *ok, const QFont &initial, QWidget *parent = 0, const QString &caption = QString(), QFontDialog::FontDialogOptions options = QFontDialog::FontDialogOptions()) /ReleaseGIL/; + static QFont getFont(bool *ok, QWidget *parent = 0) /ReleaseGIL/; + +protected: + virtual void changeEvent(QEvent *e); + virtual void done(int result); + virtual bool eventFilter(QObject *object, QEvent *event); + +public: + void setCurrentFont(const QFont &font); + QFont currentFont() const; + QFont selectedFont() const; + void setOption(QFontDialog::FontDialogOption option, bool on = true); + bool testOption(QFontDialog::FontDialogOption option) const; + void setOptions(QFontDialog::FontDialogOptions options); + QFontDialog::FontDialogOptions options() const; + virtual void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + virtual void setVisible(bool visible); + +signals: + void currentFontChanged(const QFont &font); + void fontSelected(const QFont &font); +}; + +QFlags operator|(QFontDialog::FontDialogOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qformlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qformlayout.sip new file mode 100644 index 00000000..fe0741b5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qformlayout.sip @@ -0,0 +1,131 @@ +// qformlayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFormLayout : QLayout +{ +%TypeHeaderCode +#include +%End + +public: + enum FieldGrowthPolicy + { + FieldsStayAtSizeHint, + ExpandingFieldsGrow, + AllNonFixedFieldsGrow, + }; + + enum RowWrapPolicy + { + DontWrapRows, + WrapLongRows, + WrapAllRows, + }; + + enum ItemRole + { + LabelRole, + FieldRole, + SpanningRole, + }; + + explicit QFormLayout(QWidget *parent /TransferThis/ = 0); + virtual ~QFormLayout(); + void setFieldGrowthPolicy(QFormLayout::FieldGrowthPolicy policy); + QFormLayout::FieldGrowthPolicy fieldGrowthPolicy() const; + void setRowWrapPolicy(QFormLayout::RowWrapPolicy policy); + QFormLayout::RowWrapPolicy rowWrapPolicy() const; + void setLabelAlignment(Qt::Alignment alignment); + Qt::Alignment labelAlignment() const; + void setFormAlignment(Qt::Alignment alignment); + Qt::Alignment formAlignment() const; + void setHorizontalSpacing(int spacing); + int horizontalSpacing() const; + void setVerticalSpacing(int spacing); + int verticalSpacing() const; + int spacing() const; + void setSpacing(int); + void addRow(QWidget *label /Transfer/, QWidget *field /Transfer/); + void addRow(QWidget *label /Transfer/, QLayout *field /Transfer/); + void addRow(const QString &labelText, QWidget *field /Transfer/); + void addRow(const QString &labelText, QLayout *field /Transfer/); + void addRow(QWidget *widget /Transfer/); + void addRow(QLayout *layout /Transfer/); + void insertRow(int row, QWidget *label /Transfer/, QWidget *field /Transfer/); + void insertRow(int row, QWidget *label /Transfer/, QLayout *field /Transfer/); + void insertRow(int row, const QString &labelText, QWidget *field /Transfer/); + void insertRow(int row, const QString &labelText, QLayout *field /Transfer/); + void insertRow(int row, QWidget *widget /Transfer/); + void insertRow(int row, QLayout *layout /Transfer/); + void setItem(int row, QFormLayout::ItemRole role, QLayoutItem *item /Transfer/); + void setWidget(int row, QFormLayout::ItemRole role, QWidget *widget /Transfer/); + void setLayout(int row, QFormLayout::ItemRole role, QLayout *layout /Transfer/); + QLayoutItem *itemAt(int row, QFormLayout::ItemRole role) const; + void getItemPosition(int index, int *rowPtr, QFormLayout::ItemRole *rolePtr) const; + void getWidgetPosition(QWidget *widget, int *rowPtr, QFormLayout::ItemRole *rolePtr) const; + void getLayoutPosition(QLayout *layout, int *rowPtr, QFormLayout::ItemRole *rolePtr) const; + QWidget *labelForField(QWidget *field) const; + QWidget *labelForField(QLayout *field) const; + virtual void addItem(QLayoutItem *item /Transfer/); + virtual QLayoutItem *itemAt(int index) const; + virtual QLayoutItem *takeAt(int index) /TransferBack/; + virtual void setGeometry(const QRect &rect); + virtual QSize minimumSize() const; + virtual QSize sizeHint() const; + virtual void invalidate(); + virtual bool hasHeightForWidth() const; + virtual int heightForWidth(int width) const; + virtual Qt::Orientations expandingDirections() const; + virtual int count() const; + int rowCount() const; +%If (Qt_5_8_0 -) + + struct TakeRowResult + { +%TypeHeaderCode +#include +%End + + QLayoutItem *labelItem; + QLayoutItem *fieldItem; + }; + +%End +%If (Qt_5_8_0 -) + void removeRow(int row); +%End +%If (Qt_5_8_0 -) + void removeRow(QWidget *widget); +%End +%If (Qt_5_8_0 -) + void removeRow(QLayout *layout); +%End +%If (Qt_5_8_0 -) + QFormLayout::TakeRowResult takeRow(int row); +%End +%If (Qt_5_8_0 -) + QFormLayout::TakeRowResult takeRow(QWidget *widget); +%End +%If (Qt_5_8_0 -) + QFormLayout::TakeRowResult takeRow(QLayout *layout); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qframe.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qframe.sip new file mode 100644 index 00000000..adc9ce84 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qframe.sip @@ -0,0 +1,79 @@ +// qframe.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QFrame : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + enum Shadow + { + Plain, + Raised, + Sunken, + }; + + enum Shape + { + NoFrame, + Box, + Panel, + WinPanel, + HLine, + VLine, + StyledPanel, + }; + + enum StyleMask + { + Shadow_Mask, + Shape_Mask, + }; + + QFrame(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QFrame(); + int frameStyle() const; + void setFrameStyle(int); + int frameWidth() const; + virtual QSize sizeHint() const; + QFrame::Shape frameShape() const; + void setFrameShape(QFrame::Shape); + QFrame::Shadow frameShadow() const; + void setFrameShadow(QFrame::Shadow); + int lineWidth() const; + void setLineWidth(int); + int midLineWidth() const; + void setMidLineWidth(int); + QRect frameRect() const; + void setFrameRect(const QRect &); + +protected: + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); + virtual void changeEvent(QEvent *); + void drawFrame(QPainter *); +%If (Qt_5_5_0 -) + void initStyleOption(QStyleOptionFrame *option) const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgesture.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgesture.sip new file mode 100644 index 00000000..6ef0ea6d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgesture.sip @@ -0,0 +1,191 @@ +// qgesture.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGesture : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGesture(QObject *parent /TransferThis/ = 0); + virtual ~QGesture(); + Qt::GestureType gestureType() const; + Qt::GestureState state() const; + QPointF hotSpot() const; + void setHotSpot(const QPointF &value); + bool hasHotSpot() const; + void unsetHotSpot(); + + enum GestureCancelPolicy + { + CancelNone, + CancelAllInContext, + }; + + void setGestureCancelPolicy(QGesture::GestureCancelPolicy policy); + QGesture::GestureCancelPolicy gestureCancelPolicy() const; +}; + +class QPanGesture : QGesture +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPanGesture(QObject *parent /TransferThis/ = 0); + virtual ~QPanGesture(); + QPointF lastOffset() const; + QPointF offset() const; + QPointF delta() const; + qreal acceleration() const; + void setLastOffset(const QPointF &value); + void setOffset(const QPointF &value); + void setAcceleration(qreal value); +}; + +class QPinchGesture : QGesture +{ +%TypeHeaderCode +#include +%End + +public: + enum ChangeFlag + { + ScaleFactorChanged, + RotationAngleChanged, + CenterPointChanged, + }; + + typedef QFlags ChangeFlags; + explicit QPinchGesture(QObject *parent /TransferThis/ = 0); + virtual ~QPinchGesture(); + QPinchGesture::ChangeFlags totalChangeFlags() const; + void setTotalChangeFlags(QPinchGesture::ChangeFlags value); + QPinchGesture::ChangeFlags changeFlags() const; + void setChangeFlags(QPinchGesture::ChangeFlags value); + QPointF startCenterPoint() const; + QPointF lastCenterPoint() const; + QPointF centerPoint() const; + void setStartCenterPoint(const QPointF &value); + void setLastCenterPoint(const QPointF &value); + void setCenterPoint(const QPointF &value); + qreal totalScaleFactor() const; + qreal lastScaleFactor() const; + qreal scaleFactor() const; + void setTotalScaleFactor(qreal value); + void setLastScaleFactor(qreal value); + void setScaleFactor(qreal value); + qreal totalRotationAngle() const; + qreal lastRotationAngle() const; + qreal rotationAngle() const; + void setTotalRotationAngle(qreal value); + void setLastRotationAngle(qreal value); + void setRotationAngle(qreal value); +}; + +class QSwipeGesture : QGesture +{ +%TypeHeaderCode +#include +%End + +public: + enum SwipeDirection + { + NoDirection, + Left, + Right, + Up, + Down, + }; + + explicit QSwipeGesture(QObject *parent /TransferThis/ = 0); + virtual ~QSwipeGesture(); + QSwipeGesture::SwipeDirection horizontalDirection() const; + QSwipeGesture::SwipeDirection verticalDirection() const; + qreal swipeAngle() const; + void setSwipeAngle(qreal value); +}; + +class QTapGesture : QGesture +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTapGesture(QObject *parent /TransferThis/ = 0); + virtual ~QTapGesture(); + QPointF position() const; + void setPosition(const QPointF &pos); +}; + +class QTapAndHoldGesture : QGesture +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTapAndHoldGesture(QObject *parent /TransferThis/ = 0); + virtual ~QTapAndHoldGesture(); + QPointF position() const; + void setPosition(const QPointF &pos); + static void setTimeout(int msecs); + static int timeout(); +}; + +class QGestureEvent : QEvent +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + sipType = ((sipCpp->type() == QEvent::Gesture) ? sipType_QGestureEvent : 0); +%End + +public: + explicit QGestureEvent(const QList &gestures); + virtual ~QGestureEvent(); + QList gestures() const; + QGesture *gesture(Qt::GestureType type) const; + QList activeGestures() const; + QList canceledGestures() const; + void setAccepted(bool accepted); + bool isAccepted() const; + void accept(); + void ignore(); + void setAccepted(QGesture *, bool); + void accept(QGesture *); + void ignore(QGesture *); + bool isAccepted(QGesture *) const; + void setAccepted(Qt::GestureType, bool); + void accept(Qt::GestureType); + void ignore(Qt::GestureType); + bool isAccepted(Qt::GestureType) const; + QWidget *widget() const; + QPointF mapToGraphicsScene(const QPointF &gesturePoint) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgesturerecognizer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgesturerecognizer.sip new file mode 100644 index 00000000..cb93a639 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgesturerecognizer.sip @@ -0,0 +1,50 @@ +// qgesturerecognizer.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGestureRecognizer /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum ResultFlag + { + Ignore, + MayBeGesture, + TriggerGesture, + FinishGesture, + CancelGesture, + ConsumeEventHint, + }; + + typedef QFlags Result; + QGestureRecognizer(); + virtual ~QGestureRecognizer(); + virtual QGesture *create(QObject *target) /Factory/; + virtual QFlags recognize(QGesture *state, QObject *watched, QEvent *event) = 0; + virtual void reset(QGesture *state); + static Qt::GestureType registerRecognizer(QGestureRecognizer *recognizer /Transfer/); + static void unregisterRecognizer(Qt::GestureType type); +}; + +QFlags operator|(QGestureRecognizer::ResultFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsanchorlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsanchorlayout.sip new file mode 100644 index 00000000..8d46103e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsanchorlayout.sip @@ -0,0 +1,67 @@ +// qgraphicsanchorlayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsAnchor : QObject +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QGraphicsAnchor(); + void setSpacing(qreal spacing); + void unsetSpacing(); + qreal spacing() const; + void setSizePolicy(QSizePolicy::Policy policy); + QSizePolicy::Policy sizePolicy() const; + +private: + QGraphicsAnchor(QGraphicsAnchorLayout *parent); +}; + +class QGraphicsAnchorLayout : QGraphicsLayout +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsAnchorLayout(QGraphicsLayoutItem *parent /TransferThis/ = 0); + virtual ~QGraphicsAnchorLayout(); + QGraphicsAnchor *addAnchor(QGraphicsLayoutItem *firstItem /Transfer/, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem *secondItem /Transfer/, Qt::AnchorPoint secondEdge); + QGraphicsAnchor *anchor(QGraphicsLayoutItem *firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem *secondItem, Qt::AnchorPoint secondEdge); + void addCornerAnchors(QGraphicsLayoutItem *firstItem /Transfer/, Qt::Corner firstCorner, QGraphicsLayoutItem *secondItem /Transfer/, Qt::Corner secondCorner); + void addAnchors(QGraphicsLayoutItem *firstItem /Transfer/, QGraphicsLayoutItem *secondItem /Transfer/, Qt::Orientations orientations = Qt::Horizontal | Qt::Vertical); + void setHorizontalSpacing(qreal spacing); + void setVerticalSpacing(qreal spacing); + void setSpacing(qreal spacing); + qreal horizontalSpacing() const; + qreal verticalSpacing() const; + virtual void removeAt(int index); + virtual void setGeometry(const QRectF &rect); + virtual int count() const; + virtual QGraphicsLayoutItem *itemAt(int index) const; + virtual void invalidate(); + +protected: + virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicseffect.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicseffect.sip new file mode 100644 index 00000000..ee3370ee --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicseffect.sip @@ -0,0 +1,187 @@ +// qgraphicseffect.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsEffect : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum ChangeFlag + { + SourceAttached, + SourceDetached, + SourceBoundingRectChanged, + SourceInvalidated, + }; + + typedef QFlags ChangeFlags; + + enum PixmapPadMode + { + NoPad, + PadToTransparentBorder, + PadToEffectiveBoundingRect, + }; + + QGraphicsEffect(QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsEffect(); + virtual QRectF boundingRectFor(const QRectF &sourceRect) const; + QRectF boundingRect() const; + bool isEnabled() const; + +public slots: + void setEnabled(bool enable); + void update(); + +signals: + void enabledChanged(bool enabled); + +protected: + virtual void draw(QPainter *painter) = 0; + virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); + void updateBoundingRect(); + bool sourceIsPixmap() const; + QRectF sourceBoundingRect(Qt::CoordinateSystem system = Qt::LogicalCoordinates) const; + void drawSource(QPainter *painter); + QPixmap sourcePixmap(Qt::CoordinateSystem system = Qt::LogicalCoordinates, QPoint *offset /Out/ = 0, QGraphicsEffect::PixmapPadMode mode = QGraphicsEffect::PadToEffectiveBoundingRect) const; +}; + +QFlags operator|(QGraphicsEffect::ChangeFlag f1, QFlags f2); + +class QGraphicsColorizeEffect : QGraphicsEffect +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsColorizeEffect(QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsColorizeEffect(); + QColor color() const; + qreal strength() const; + +public slots: + void setColor(const QColor &c); + void setStrength(qreal strength); + +signals: + void colorChanged(const QColor &color); + void strengthChanged(qreal strength); + +protected: + virtual void draw(QPainter *painter); +}; + +class QGraphicsBlurEffect : QGraphicsEffect +{ +%TypeHeaderCode +#include +%End + +public: + enum BlurHint + { + PerformanceHint, + QualityHint, + AnimationHint, + }; + + typedef QFlags BlurHints; + QGraphicsBlurEffect(QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsBlurEffect(); + virtual QRectF boundingRectFor(const QRectF &rect) const; + qreal blurRadius() const; + QGraphicsBlurEffect::BlurHints blurHints() const; + +public slots: + void setBlurRadius(qreal blurRadius); + void setBlurHints(QGraphicsBlurEffect::BlurHints hints); + +signals: + void blurRadiusChanged(qreal blurRadius); + void blurHintsChanged(QGraphicsBlurEffect::BlurHints hints /ScopesStripped=1/); + +protected: + virtual void draw(QPainter *painter); +}; + +QFlags operator|(QGraphicsBlurEffect::BlurHint f1, QFlags f2); + +class QGraphicsDropShadowEffect : QGraphicsEffect +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsDropShadowEffect(QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsDropShadowEffect(); + virtual QRectF boundingRectFor(const QRectF &rect) const; + QPointF offset() const; + qreal xOffset() const; + qreal yOffset() const; + qreal blurRadius() const; + QColor color() const; + +public slots: + void setOffset(const QPointF &ofs); + void setOffset(qreal dx, qreal dy); + void setOffset(qreal d); + void setXOffset(qreal dx); + void setYOffset(qreal dy); + void setBlurRadius(qreal blurRadius); + void setColor(const QColor &color); + +signals: + void offsetChanged(const QPointF &offset); + void blurRadiusChanged(qreal blurRadius); + void colorChanged(const QColor &color); + +protected: + virtual void draw(QPainter *painter); +}; + +class QGraphicsOpacityEffect : QGraphicsEffect +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsOpacityEffect(QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsOpacityEffect(); + qreal opacity() const; + QBrush opacityMask() const; + +public slots: + void setOpacity(qreal opacity); + void setOpacityMask(const QBrush &mask); + +signals: + void opacityChanged(qreal opacity); + void opacityMaskChanged(const QBrush &mask); + +protected: + virtual void draw(QPainter *painter); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsgridlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsgridlayout.sip new file mode 100644 index 00000000..c3f22827 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsgridlayout.sip @@ -0,0 +1,100 @@ +// qgraphicsgridlayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsGridLayout : QGraphicsLayout +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsGridLayout(QGraphicsLayoutItem *parent /TransferThis/ = 0); + virtual ~QGraphicsGridLayout(); + void addItem(QGraphicsLayoutItem *item /Transfer/, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = Qt::Alignment()); + void addItem(QGraphicsLayoutItem *item /Transfer/, int row, int column, Qt::Alignment alignment = Qt::Alignment()); + void setHorizontalSpacing(qreal spacing); + qreal horizontalSpacing() const; + void setVerticalSpacing(qreal spacing); + qreal verticalSpacing() const; + void setSpacing(qreal spacing); + void setRowSpacing(int row, qreal spacing); + qreal rowSpacing(int row) const; + void setColumnSpacing(int column, qreal spacing); + qreal columnSpacing(int column) const; + void setRowStretchFactor(int row, int stretch); + int rowStretchFactor(int row) const; + void setColumnStretchFactor(int column, int stretch); + int columnStretchFactor(int column) const; + void setRowMinimumHeight(int row, qreal height); + qreal rowMinimumHeight(int row) const; + void setRowPreferredHeight(int row, qreal height); + qreal rowPreferredHeight(int row) const; + void setRowMaximumHeight(int row, qreal height); + qreal rowMaximumHeight(int row) const; + void setRowFixedHeight(int row, qreal height); + void setColumnMinimumWidth(int column, qreal width); + qreal columnMinimumWidth(int column) const; + void setColumnPreferredWidth(int column, qreal width); + qreal columnPreferredWidth(int column) const; + void setColumnMaximumWidth(int column, qreal width); + qreal columnMaximumWidth(int column) const; + void setColumnFixedWidth(int column, qreal width); + void setRowAlignment(int row, Qt::Alignment alignment); + Qt::Alignment rowAlignment(int row) const; + void setColumnAlignment(int column, Qt::Alignment alignment); + Qt::Alignment columnAlignment(int column) const; + void setAlignment(QGraphicsLayoutItem *item, Qt::Alignment alignment); + Qt::Alignment alignment(QGraphicsLayoutItem *item) const; + int rowCount() const; + int columnCount() const; + QGraphicsLayoutItem *itemAt(int row, int column) const; + virtual int count() const; + virtual QGraphicsLayoutItem *itemAt(int index) const; + virtual void removeAt(int index); +%MethodCode + // The ownership of any existing item must be passed back to Python. + QGraphicsLayoutItem *itm; + + if (a0 < sipCpp->count()) + itm = sipCpp->itemAt(a0); + else + itm = 0; + + Py_BEGIN_ALLOW_THREADS + sipSelfWasArg ? sipCpp->QGraphicsGridLayout::removeAt(a0) + : sipCpp->removeAt(a0); + Py_END_ALLOW_THREADS + + if (itm) + { + PyObject *itmo = sipGetPyObject(itm, sipType_QGraphicsLayoutItem); + + if (itmo) + sipTransferBack(itmo); + } +%End + + virtual void invalidate(); + virtual void setGeometry(const QRectF &rect); + virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const; + void removeItem(QGraphicsLayoutItem *item /TransferBack/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsitem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsitem.sip new file mode 100644 index 00000000..86807f5b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsitem.sip @@ -0,0 +1,703 @@ +// qgraphicsitem.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsItem /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + switch (sipCpp->type()) + { + case 2: + sipType = sipType_QGraphicsPathItem; + break; + + case 3: + sipType = sipType_QGraphicsRectItem; + break; + + case 4: + sipType = sipType_QGraphicsEllipseItem; + break; + + case 5: + sipType = sipType_QGraphicsPolygonItem; + break; + + case 6: + sipType = sipType_QGraphicsLineItem; + break; + + case 7: + sipType = sipType_QGraphicsPixmapItem; + break; + + case 8: + // Switch to the QObject convertor. + *sipCppRet = static_cast(sipCpp); + sipType = sipType_QObject; + break; + + case 9: + sipType = sipType_QGraphicsSimpleTextItem; + break; + + case 10: + sipType = sipType_QGraphicsItemGroup; + break; + + case 11: + // Switch to the QObject convertor. + *sipCppRet = static_cast(sipCpp); + sipType = sipType_QObject; + break; + + case 12: + // Switch to the QObject convertor. + *sipCppRet = static_cast(sipCpp); + sipType = sipType_QObject; + break; + + default: + sipType = 0; + } +%End + +public: + enum CacheMode + { + NoCache, + ItemCoordinateCache, + DeviceCoordinateCache, + }; + + enum GraphicsItemChange + { + ItemPositionChange, + ItemMatrixChange, + ItemVisibleChange, + ItemEnabledChange, + ItemSelectedChange, + ItemParentChange, + ItemChildAddedChange, + ItemChildRemovedChange, + ItemTransformChange, + ItemPositionHasChanged, + ItemTransformHasChanged, + ItemSceneChange, + ItemVisibleHasChanged, + ItemEnabledHasChanged, + ItemSelectedHasChanged, + ItemParentHasChanged, + ItemSceneHasChanged, + ItemCursorChange, + ItemCursorHasChanged, + ItemToolTipChange, + ItemToolTipHasChanged, + ItemFlagsChange, + ItemFlagsHaveChanged, + ItemZValueChange, + ItemZValueHasChanged, + ItemOpacityChange, + ItemOpacityHasChanged, + ItemScenePositionHasChanged, + ItemRotationChange, + ItemRotationHasChanged, + ItemScaleChange, + ItemScaleHasChanged, + ItemTransformOriginPointChange, + ItemTransformOriginPointHasChanged, + }; + + enum GraphicsItemFlag + { + ItemIsMovable, + ItemIsSelectable, + ItemIsFocusable, + ItemClipsToShape, + ItemClipsChildrenToShape, + ItemIgnoresTransformations, + ItemIgnoresParentOpacity, + ItemDoesntPropagateOpacityToChildren, + ItemStacksBehindParent, + ItemUsesExtendedStyleOption, + ItemHasNoContents, + ItemSendsGeometryChanges, + ItemAcceptsInputMethod, + ItemNegativeZStacksBehindParent, + ItemIsPanel, + ItemSendsScenePositionChanges, +%If (Qt_5_4_0 -) + ItemContainsChildrenInShape, +%End + }; + + typedef QFlags GraphicsItemFlags; + static const int Type; + static const int UserType; + explicit QGraphicsItem(QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsItem(); + QGraphicsScene *scene() const; + QGraphicsItem *parentItem() const; + QGraphicsItem *topLevelItem() const; + void setParentItem(QGraphicsItem *parent /TransferThis/); + QGraphicsItemGroup *group() const; + void setGroup(QGraphicsItemGroup *group /KeepReference/); + QGraphicsItem::GraphicsItemFlags flags() const; + void setFlag(QGraphicsItem::GraphicsItemFlag flag, bool enabled = true); + void setFlags(QGraphicsItem::GraphicsItemFlags flags); + QString toolTip() const; + void setToolTip(const QString &toolTip); + QCursor cursor() const; + void setCursor(const QCursor &cursor); + bool hasCursor() const; + void unsetCursor(); + bool isVisible() const; + void setVisible(bool visible); + void hide(); + void show(); + bool isEnabled() const; + void setEnabled(bool enabled); + bool isSelected() const; + void setSelected(bool selected); + bool acceptDrops() const; + void setAcceptDrops(bool on); + Qt::MouseButtons acceptedMouseButtons() const; + void setAcceptedMouseButtons(Qt::MouseButtons buttons); + bool hasFocus() const; + void setFocus(Qt::FocusReason focusReason = Qt::OtherFocusReason); + void clearFocus(); + QPointF pos() const; + qreal x() const; + qreal y() const; + QPointF scenePos() const; + void setPos(const QPointF &pos); + void moveBy(qreal dx, qreal dy); + void ensureVisible(const QRectF &rect = QRectF(), int xMargin = 50, int yMargin = 50); + virtual void advance(int phase); + qreal zValue() const; + void setZValue(qreal z); + virtual QRectF boundingRect() const = 0; + QRectF childrenBoundingRect() const; + QRectF sceneBoundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual bool collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + virtual bool collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList collidingItems(Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0) = 0; + void update(const QRectF &rect = QRectF()); + QPointF mapToItem(const QGraphicsItem *item, const QPointF &point) const; + QPointF mapToParent(const QPointF &point) const; + QPointF mapToScene(const QPointF &point) const; + QPolygonF mapToItem(const QGraphicsItem *item, const QRectF &rect) const; + QPolygonF mapToParent(const QRectF &rect) const; + QPolygonF mapToScene(const QRectF &rect) const; + QPolygonF mapToItem(const QGraphicsItem *item, const QPolygonF &polygon) const; + QPolygonF mapToParent(const QPolygonF &polygon) const; + QPolygonF mapToScene(const QPolygonF &polygon) const; + QPainterPath mapToItem(const QGraphicsItem *item, const QPainterPath &path) const; + QPainterPath mapToParent(const QPainterPath &path) const; + QPainterPath mapToScene(const QPainterPath &path) const; + QPointF mapFromItem(const QGraphicsItem *item, const QPointF &point) const; + QPointF mapFromParent(const QPointF &point) const; + QPointF mapFromScene(const QPointF &point) const; + QPolygonF mapFromItem(const QGraphicsItem *item, const QRectF &rect) const; + QPolygonF mapFromParent(const QRectF &rect) const; + QPolygonF mapFromScene(const QRectF &rect) const; + QPolygonF mapFromItem(const QGraphicsItem *item, const QPolygonF &polygon) const; + QPolygonF mapFromParent(const QPolygonF &polygon) const; + QPolygonF mapFromScene(const QPolygonF &polygon) const; + QPainterPath mapFromItem(const QGraphicsItem *item, const QPainterPath &path) const; + QPainterPath mapFromParent(const QPainterPath &path) const; + QPainterPath mapFromScene(const QPainterPath &path) const; + bool isAncestorOf(const QGraphicsItem *child) const; + QVariant data(int key) const; + void setData(int key, const QVariant &value); + virtual int type() const; + void installSceneEventFilter(QGraphicsItem *filterItem); + void removeSceneEventFilter(QGraphicsItem *filterItem); + +protected: + virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event); + virtual void dragEnterEvent(QGraphicsSceneDragDropEvent *event); + virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent *event); + virtual void dragMoveEvent(QGraphicsSceneDragDropEvent *event); + virtual void dropEvent(QGraphicsSceneDragDropEvent *event); + virtual void focusInEvent(QFocusEvent *event); + virtual void focusOutEvent(QFocusEvent *event); + virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event); + virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); + virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *event); + virtual void inputMethodEvent(QInputMethodEvent *event); + virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; + virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value); + virtual void keyPressEvent(QKeyEvent *event); + virtual void keyReleaseEvent(QKeyEvent *event); + virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event); + virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); + void prepareGeometryChange(); + virtual bool sceneEvent(QEvent *event); + virtual bool sceneEventFilter(QGraphicsItem *watched, QEvent *event); + virtual void wheelEvent(QGraphicsSceneWheelEvent *event); + +public: + void setPos(qreal ax, qreal ay); + void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xMargin = 50, int yMargin = 50); + void update(qreal ax, qreal ay, qreal width, qreal height); + QPointF mapToItem(const QGraphicsItem *item, qreal ax, qreal ay) const; + QPointF mapToParent(qreal ax, qreal ay) const; + QPointF mapToScene(qreal ax, qreal ay) const; + QPointF mapFromItem(const QGraphicsItem *item, qreal ax, qreal ay) const; + QPointF mapFromParent(qreal ax, qreal ay) const; + QPointF mapFromScene(qreal ax, qreal ay) const; + QTransform transform() const; + QTransform sceneTransform() const; + QTransform deviceTransform(const QTransform &viewportTransform) const; + void setTransform(const QTransform &matrix, bool combine = false); + void resetTransform(); + bool isObscured(const QRectF &rect = QRectF()) const; + bool isObscured(qreal ax, qreal ay, qreal w, qreal h) const; + QPolygonF mapToItem(const QGraphicsItem *item, qreal ax, qreal ay, qreal w, qreal h) const; + QPolygonF mapToParent(qreal ax, qreal ay, qreal w, qreal h) const; + QPolygonF mapToScene(qreal ax, qreal ay, qreal w, qreal h) const; + QPolygonF mapFromItem(const QGraphicsItem *item, qreal ax, qreal ay, qreal w, qreal h) const; + QPolygonF mapFromParent(qreal ax, qreal ay, qreal w, qreal h) const; + QPolygonF mapFromScene(qreal ax, qreal ay, qreal w, qreal h) const; + QGraphicsWidget *parentWidget() const; + QGraphicsWidget *topLevelWidget() const; + QGraphicsWidget *window() const; + QList childItems() const; + bool isWidget() const; + bool isWindow() const; + QGraphicsItem::CacheMode cacheMode() const; + void setCacheMode(QGraphicsItem::CacheMode mode, const QSize &logicalCacheSize = QSize()); + bool isVisibleTo(const QGraphicsItem *parent) const; + bool acceptHoverEvents() const; + void setAcceptHoverEvents(bool enabled); + void grabMouse(); + void ungrabMouse(); + void grabKeyboard(); + void ungrabKeyboard(); + QRegion boundingRegion(const QTransform &itemToDeviceTransform) const; + qreal boundingRegionGranularity() const; + void setBoundingRegionGranularity(qreal granularity); + void scroll(qreal dx, qreal dy, const QRectF &rect = QRectF()); + QGraphicsItem *commonAncestorItem(const QGraphicsItem *other) const; + bool isUnderMouse() const; + qreal opacity() const; + qreal effectiveOpacity() const; + void setOpacity(qreal opacity); + QTransform itemTransform(const QGraphicsItem *other, bool *ok = 0) const; + bool isClipped() const; + QPainterPath clipPath() const; + QRectF mapRectToItem(const QGraphicsItem *item, const QRectF &rect) const; + QRectF mapRectToParent(const QRectF &rect) const; + QRectF mapRectToScene(const QRectF &rect) const; + QRectF mapRectFromItem(const QGraphicsItem *item, const QRectF &rect) const; + QRectF mapRectFromParent(const QRectF &rect) const; + QRectF mapRectFromScene(const QRectF &rect) const; + QRectF mapRectToItem(const QGraphicsItem *item, qreal ax, qreal ay, qreal w, qreal h) const; + QRectF mapRectToParent(qreal ax, qreal ay, qreal w, qreal h) const; + QRectF mapRectToScene(qreal ax, qreal ay, qreal w, qreal h) const; + QRectF mapRectFromItem(const QGraphicsItem *item, qreal ax, qreal ay, qreal w, qreal h) const; + QRectF mapRectFromParent(qreal ax, qreal ay, qreal w, qreal h) const; + QRectF mapRectFromScene(qreal ax, qreal ay, qreal w, qreal h) const; + + enum PanelModality + { + NonModal, + PanelModal, + SceneModal, + }; + + QGraphicsObject *parentObject() const; + QGraphicsItem *panel() const; + bool isPanel() const; + QGraphicsObject *toGraphicsObject(); + QGraphicsItem::PanelModality panelModality() const; + void setPanelModality(QGraphicsItem::PanelModality panelModality); + bool isBlockedByModalPanel(QGraphicsItem **blockingPanel /Out/ = 0) const; + QGraphicsEffect *graphicsEffect() const; + void setGraphicsEffect(QGraphicsEffect *effect /Transfer/); + bool acceptTouchEvents() const; + void setAcceptTouchEvents(bool enabled); + bool filtersChildEvents() const; + void setFiltersChildEvents(bool enabled); + bool isActive() const; + void setActive(bool active); + QGraphicsItem *focusProxy() const; + void setFocusProxy(QGraphicsItem *item /KeepReference/); + QGraphicsItem *focusItem() const; + void setX(qreal x); + void setY(qreal y); + void setRotation(qreal angle); + qreal rotation() const; + void setScale(qreal scale); + qreal scale() const; + QList transformations() const; + void setTransformations(const QList &transformations /KeepReference/); + QPointF transformOriginPoint() const; + void setTransformOriginPoint(const QPointF &origin); + void setTransformOriginPoint(qreal ax, qreal ay); + void stackBefore(const QGraphicsItem *sibling); + Qt::InputMethodHints inputMethodHints() const; + void setInputMethodHints(Qt::InputMethodHints hints); + +protected: + void updateMicroFocus(); + +private: + QGraphicsItem(const QGraphicsItem &); +}; + +QFlags operator|(QGraphicsItem::GraphicsItemFlag f1, QFlags f2); + +class QAbstractGraphicsShapeItem : QGraphicsItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QAbstractGraphicsShapeItem(QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QAbstractGraphicsShapeItem(); + QPen pen() const; + void setPen(const QPen &pen); + QBrush brush() const; + void setBrush(const QBrush &brush); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; +}; + +class QGraphicsPathItem : QAbstractGraphicsShapeItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsPathItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsPathItem(const QPainterPath &path, QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsPathItem(); + QPainterPath path() const; + void setPath(const QPainterPath &path); + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; +}; + +class QGraphicsRectItem : QAbstractGraphicsShapeItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsRectItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsRectItem(const QRectF &rect, QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsRectItem(); + QRectF rect() const; + void setRect(const QRectF &rect); + void setRect(qreal ax, qreal ay, qreal w, qreal h); + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; +}; + +class QGraphicsEllipseItem : QAbstractGraphicsShapeItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsEllipseItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsEllipseItem(const QRectF &rect, QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsEllipseItem(); + QRectF rect() const; + void setRect(const QRectF &rect); + void setRect(qreal ax, qreal ay, qreal w, qreal h); + int startAngle() const; + void setStartAngle(int angle); + int spanAngle() const; + void setSpanAngle(int angle); + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; +}; + +class QGraphicsPolygonItem : QAbstractGraphicsShapeItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsPolygonItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsPolygonItem(const QPolygonF &polygon, QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsPolygonItem(); + QPolygonF polygon() const; + void setPolygon(const QPolygonF &polygon); + Qt::FillRule fillRule() const; + void setFillRule(Qt::FillRule rule); + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; +}; + +class QGraphicsLineItem : QGraphicsItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsLineItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsLineItem(const QLineF &line, QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsLineItem(); + QPen pen() const; + void setPen(const QPen &pen); + QLineF line() const; + void setLine(const QLineF &line); + void setLine(qreal x1, qreal y1, qreal x2, qreal y2); + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; +}; + +class QGraphicsPixmapItem : QGraphicsItem +{ +%TypeHeaderCode +#include +%End + +public: + enum ShapeMode + { + MaskShape, + BoundingRectShape, + HeuristicMaskShape, + }; + + explicit QGraphicsPixmapItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsPixmapItem(const QPixmap &pixmap, QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsPixmapItem(); + QPixmap pixmap() const; + void setPixmap(const QPixmap &pixmap); + Qt::TransformationMode transformationMode() const; + void setTransformationMode(Qt::TransformationMode mode); + QPointF offset() const; + void setOffset(const QPointF &offset); + void setOffset(qreal ax, qreal ay); + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; + QGraphicsPixmapItem::ShapeMode shapeMode() const; + void setShapeMode(QGraphicsPixmapItem::ShapeMode mode); +}; + +class QGraphicsSimpleTextItem : QAbstractGraphicsShapeItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsSimpleTextItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsSimpleTextItem(const QString &text, QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsSimpleTextItem(); + void setText(const QString &text); + QString text() const; + void setFont(const QFont &font); + QFont font() const; + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; +}; + +class QGraphicsItemGroup : QGraphicsItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsItemGroup(QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsItemGroup(); + void addToGroup(QGraphicsItem *item /Transfer/); + void removeFromGroup(QGraphicsItem *item /GetWrapper/); +%MethodCode + sipCpp->removeFromGroup(a0); + + // The item will be passed to the group's parent if there is one. If not, + // transfer ownership back to Python. + if (sipCpp->parentItem()) + sipTransferTo(a0Wrapper, sipGetPyObject(sipCpp->parentItem(), sipType_QGraphicsItem)); + else + sipTransferBack(a0Wrapper); +%End + + virtual QRectF boundingRect() const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; +}; + +class QGraphicsObject : QObject, QGraphicsItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsObject(QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsObject(); + void grabGesture(Qt::GestureType type, Qt::GestureFlags flags = Qt::GestureFlags()); + void ungrabGesture(Qt::GestureType type); + +signals: + void parentChanged(); + void opacityChanged(); + void visibleChanged(); + void enabledChanged(); + void xChanged(); + void yChanged(); + void zChanged(); + void rotationChanged(); + void scaleChanged(); + +protected slots: + void updateMicroFocus(); + +protected: + virtual bool event(QEvent *ev); +}; + +class QGraphicsTextItem : QGraphicsObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGraphicsTextItem(QGraphicsItem *parent /TransferThis/ = 0); + QGraphicsTextItem(const QString &text, QGraphicsItem *parent /TransferThis/ = 0); + virtual ~QGraphicsTextItem(); + QString toHtml() const; + void setHtml(const QString &html); + QString toPlainText() const; + void setPlainText(const QString &text); + QFont font() const; + void setFont(const QFont &font); + void setDefaultTextColor(const QColor &c); + QColor defaultTextColor() const; + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + virtual bool contains(const QPointF &point) const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); + virtual bool isObscuredBy(const QGraphicsItem *item) const; + virtual QPainterPath opaqueArea() const; + virtual int type() const; + void setTextWidth(qreal width); + qreal textWidth() const; + void adjustSize(); + void setDocument(QTextDocument *document /KeepReference/); + QTextDocument *document() const; + void setTextInteractionFlags(Qt::TextInteractionFlags flags); + Qt::TextInteractionFlags textInteractionFlags() const; + void setTabChangesFocus(bool b); + bool tabChangesFocus() const; + void setOpenExternalLinks(bool open); + bool openExternalLinks() const; + void setTextCursor(const QTextCursor &cursor); + QTextCursor textCursor() const; + +signals: + void linkActivated(const QString &); + void linkHovered(const QString &); + +protected: + virtual bool sceneEvent(QEvent *event); + virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); + virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event); + virtual void keyPressEvent(QKeyEvent *event); + virtual void keyReleaseEvent(QKeyEvent *event); + virtual void focusInEvent(QFocusEvent *event); + virtual void focusOutEvent(QFocusEvent *event); + virtual void dragEnterEvent(QGraphicsSceneDragDropEvent *event); + virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent *event); + virtual void dragMoveEvent(QGraphicsSceneDragDropEvent *event); + virtual void dropEvent(QGraphicsSceneDragDropEvent *event); + virtual void inputMethodEvent(QInputMethodEvent *event); + virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event); + virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *event); + virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); + virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; +}; + +%ModuleCode +// These are needed by the %ConvertToSubClassCode. +#include +#include +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslayout.sip new file mode 100644 index 00000000..56677208 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslayout.sip @@ -0,0 +1,45 @@ +// qgraphicslayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsLayout : QGraphicsLayoutItem +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsLayout(QGraphicsLayoutItem *parent /TransferThis/ = 0); + virtual ~QGraphicsLayout(); + void setContentsMargins(qreal left, qreal top, qreal right, qreal bottom); + virtual void getContentsMargins(qreal *left, qreal *top, qreal *right, qreal *bottom) const; + void activate(); + bool isActivated() const; + virtual void invalidate(); + virtual void widgetEvent(QEvent *e); + virtual int count() const = 0 /__len__/; + virtual QGraphicsLayoutItem *itemAt(int i) const = 0; + virtual void removeAt(int index) = 0; + virtual void updateGeometry(); + +protected: + void addChildLayoutItem(QGraphicsLayoutItem *layoutItem /Transfer/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslayoutitem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslayoutitem.sip new file mode 100644 index 00000000..7a262802 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslayoutitem.sip @@ -0,0 +1,75 @@ +// qgraphicslayoutitem.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsLayoutItem /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsLayoutItem(QGraphicsLayoutItem *parent /TransferThis/ = 0, bool isLayout = false); + virtual ~QGraphicsLayoutItem(); + void setSizePolicy(const QSizePolicy &policy); + void setSizePolicy(QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType); + QSizePolicy sizePolicy() const; + void setMinimumSize(const QSizeF &size); + QSizeF minimumSize() const; + void setMinimumWidth(qreal width); + void setMinimumHeight(qreal height); + void setPreferredSize(const QSizeF &size); + QSizeF preferredSize() const; + void setPreferredWidth(qreal width); + void setPreferredHeight(qreal height); + void setMaximumSize(const QSizeF &size); + QSizeF maximumSize() const; + void setMaximumWidth(qreal width); + void setMaximumHeight(qreal height); + virtual void setGeometry(const QRectF &rect); + QRectF geometry() const; + virtual void getContentsMargins(qreal *left, qreal *top, qreal *right, qreal *bottom) const; + QRectF contentsRect() const; + QSizeF effectiveSizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const; + virtual void updateGeometry(); + QGraphicsLayoutItem *parentLayoutItem() const; + void setParentLayoutItem(QGraphicsLayoutItem *parent /TransferThis/); + bool isLayout() const; + void setMinimumSize(qreal aw, qreal ah); + void setPreferredSize(qreal aw, qreal ah); + void setMaximumSize(qreal aw, qreal ah); + qreal minimumWidth() const; + qreal minimumHeight() const; + qreal preferredWidth() const; + qreal preferredHeight() const; + qreal maximumWidth() const; + qreal maximumHeight() const; + QGraphicsItem *graphicsItem() const; + bool ownedByLayout() const; + +protected: + virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const = 0; + void setGraphicsItem(QGraphicsItem *item); + void setOwnedByLayout(bool ownedByLayout); + +private: + QGraphicsLayoutItem(const QGraphicsLayoutItem &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslinearlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslinearlayout.sip new file mode 100644 index 00000000..c52ff824 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicslinearlayout.sip @@ -0,0 +1,79 @@ +// qgraphicslinearlayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsLinearLayout : QGraphicsLayout +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsLinearLayout(QGraphicsLayoutItem *parent /TransferThis/ = 0); + QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem *parent /TransferThis/ = 0); + virtual ~QGraphicsLinearLayout(); + void setOrientation(Qt::Orientation orientation); + Qt::Orientation orientation() const; + void addItem(QGraphicsLayoutItem *item /Transfer/); + void addStretch(int stretch = 1); + void insertItem(int index, QGraphicsLayoutItem *item /Transfer/); + void insertStretch(int index, int stretch = 1); + void removeItem(QGraphicsLayoutItem *item /TransferBack/); + virtual void removeAt(int index); +%MethodCode + // The ownership of any existing item must be passed back to Python. + QGraphicsLayoutItem *itm; + + if (a0 < sipCpp->count()) + itm = sipCpp->itemAt(a0); + else + itm = 0; + + Py_BEGIN_ALLOW_THREADS + sipSelfWasArg ? sipCpp->QGraphicsLinearLayout::removeAt(a0) + : sipCpp->removeAt(a0); + Py_END_ALLOW_THREADS + + // The Qt documentation isn't quite correct as ownership isn't always passed + // back to the caller. + if (itm && !itm->parentLayoutItem()) + { + PyObject *itmo = sipGetPyObject(itm, sipType_QGraphicsLayoutItem); + + if (itmo) + sipTransferBack(itmo); + } +%End + + void setSpacing(qreal spacing); + qreal spacing() const; + void setItemSpacing(int index, qreal spacing); + qreal itemSpacing(int index) const; + void setStretchFactor(QGraphicsLayoutItem *item, int stretch); + int stretchFactor(QGraphicsLayoutItem *item) const; + void setAlignment(QGraphicsLayoutItem *item, Qt::Alignment alignment); + Qt::Alignment alignment(QGraphicsLayoutItem *item) const; + virtual void setGeometry(const QRectF &rect); + virtual int count() const; + virtual QGraphicsLayoutItem *itemAt(int index) const; + virtual void invalidate(); + virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsproxywidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsproxywidget.sip new file mode 100644 index 00000000..1a74628f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsproxywidget.sip @@ -0,0 +1,88 @@ +// qgraphicsproxywidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsProxyWidget : QGraphicsWidget +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsProxyWidget(QGraphicsItem *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QGraphicsProxyWidget(); + void setWidget(QWidget *widget /Transfer/); +%MethodCode + // The ownership of any existing widget must be passed back to Python. + QWidget *w = sipCpp->widget(); + + Py_BEGIN_ALLOW_THREADS + sipCpp->setWidget(a0); + Py_END_ALLOW_THREADS + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferBack(wo); + } +%End + + QWidget *widget() const; + QRectF subWidgetRect(const QWidget *widget) const; + virtual void setGeometry(const QRectF &rect); + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); + virtual int type() const; + QGraphicsProxyWidget *createProxyForChildWidget(QWidget *child) /Factory/; + +protected: + virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value); + virtual bool event(QEvent *event); + virtual bool eventFilter(QObject *object, QEvent *event); + virtual void showEvent(QShowEvent *event); + virtual void hideEvent(QHideEvent *event); + virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event); + virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event); + virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); + virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *event); + virtual void grabMouseEvent(QEvent *event); + virtual void ungrabMouseEvent(QEvent *event); + virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event); + virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); + virtual void wheelEvent(QGraphicsSceneWheelEvent *event); + virtual void keyPressEvent(QKeyEvent *event); + virtual void keyReleaseEvent(QKeyEvent *event); + virtual void focusInEvent(QFocusEvent *event); + virtual void focusOutEvent(QFocusEvent *event); + virtual bool focusNextPrevChild(bool next); + virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const; + virtual void resizeEvent(QGraphicsSceneResizeEvent *event); + virtual void dragEnterEvent(QGraphicsSceneDragDropEvent *event); + virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent *event); + virtual void dragMoveEvent(QGraphicsSceneDragDropEvent *event); + virtual void dropEvent(QGraphicsSceneDragDropEvent *event); + QGraphicsProxyWidget *newProxyWidget(const QWidget *) /Factory/; + virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; + virtual void inputMethodEvent(QInputMethodEvent *event); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsscene.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsscene.sip new file mode 100644 index 00000000..ab88418d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsscene.sip @@ -0,0 +1,182 @@ +// qgraphicsscene.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsScene : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum ItemIndexMethod + { + BspTreeIndex, + NoIndex, + }; + + QGraphicsScene(QObject *parent /TransferThis/ = 0); + QGraphicsScene(const QRectF &sceneRect, QObject *parent /TransferThis/ = 0); + QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsScene(); + QRectF sceneRect() const; + qreal width() const; + qreal height() const; + void setSceneRect(const QRectF &rect); + void setSceneRect(qreal x, qreal y, qreal w, qreal h); + void render(QPainter *painter, const QRectF &target = QRectF(), const QRectF &source = QRectF(), Qt::AspectRatioMode mode = Qt::KeepAspectRatio); + QGraphicsScene::ItemIndexMethod itemIndexMethod() const; + void setItemIndexMethod(QGraphicsScene::ItemIndexMethod method); + QRectF itemsBoundingRect() const; + QList items(Qt::SortOrder order = Qt::DescendingOrder) const; + QList items(const QPointF &pos, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform &deviceTransform = QTransform()) const; + QList items(const QRectF &rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform &deviceTransform = QTransform()) const; + QList items(const QPolygonF &polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform &deviceTransform = QTransform()) const; + QList items(const QPainterPath &path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, Qt::SortOrder order = Qt::DescendingOrder, const QTransform &deviceTransform = QTransform()) const; + QList items(qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform = QTransform()) const; + QList collidingItems(const QGraphicsItem *item, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList selectedItems() const; + void setSelectionArea(const QPainterPath &path, const QTransform &deviceTransform); + void setSelectionArea(const QPainterPath &path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, const QTransform &deviceTransform = QTransform()); + void clearSelection(); + QGraphicsItemGroup *createItemGroup(const QList &items /Transfer/); + void destroyItemGroup(QGraphicsItemGroup *group /Transfer/); + void addItem(QGraphicsItem *item /Transfer/); + QGraphicsEllipseItem *addEllipse(const QRectF &rect, const QPen &pen = QPen(), const QBrush &brush = QBrush()); + QGraphicsEllipseItem *addEllipse(qreal x, qreal y, qreal w, qreal h, const QPen &pen = QPen(), const QBrush &brush = QBrush()); + QGraphicsLineItem *addLine(const QLineF &line, const QPen &pen = QPen()); + QGraphicsLineItem *addLine(qreal x1, qreal y1, qreal x2, qreal y2, const QPen &pen = QPen()); + QGraphicsPathItem *addPath(const QPainterPath &path, const QPen &pen = QPen(), const QBrush &brush = QBrush()); + QGraphicsPixmapItem *addPixmap(const QPixmap &pixmap); + QGraphicsPolygonItem *addPolygon(const QPolygonF &polygon, const QPen &pen = QPen(), const QBrush &brush = QBrush()); + QGraphicsRectItem *addRect(const QRectF &rect, const QPen &pen = QPen(), const QBrush &brush = QBrush()); + QGraphicsRectItem *addRect(qreal x, qreal y, qreal w, qreal h, const QPen &pen = QPen(), const QBrush &brush = QBrush()); + QGraphicsSimpleTextItem *addSimpleText(const QString &text, const QFont &font = QFont()); + QGraphicsTextItem *addText(const QString &text, const QFont &font = QFont()); + void removeItem(QGraphicsItem *item /TransferBack/); + QGraphicsItem *focusItem() const; + void setFocusItem(QGraphicsItem *item, Qt::FocusReason focusReason = Qt::OtherFocusReason); + bool hasFocus() const; + void setFocus(Qt::FocusReason focusReason = Qt::OtherFocusReason); + void clearFocus(); + QGraphicsItem *mouseGrabberItem() const; + QBrush backgroundBrush() const; + void setBackgroundBrush(const QBrush &brush); + QBrush foregroundBrush() const; + void setForegroundBrush(const QBrush &brush); + virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; + QList views() const; + +public slots: + void advance(); + void update(const QRectF &rect = QRectF()); + void invalidate(const QRectF &rect = QRectF(), QGraphicsScene::SceneLayers layers = QGraphicsScene::AllLayers); + void clear(); + +signals: + void changed(const QList ®ion); + void sceneRectChanged(const QRectF &rect); + void selectionChanged(); + +protected: + virtual bool event(QEvent *event); + virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event); + virtual void dragEnterEvent(QGraphicsSceneDragDropEvent *event); + virtual void dragMoveEvent(QGraphicsSceneDragDropEvent *event); + virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent *event); + virtual void dropEvent(QGraphicsSceneDragDropEvent *event); + virtual void focusInEvent(QFocusEvent *event); + virtual void focusOutEvent(QFocusEvent *event); + virtual void helpEvent(QGraphicsSceneHelpEvent *event); + virtual void keyPressEvent(QKeyEvent *event); + virtual void keyReleaseEvent(QKeyEvent *event); + virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); + virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); + virtual void wheelEvent(QGraphicsSceneWheelEvent *event); + virtual void inputMethodEvent(QInputMethodEvent *event); + virtual void drawBackground(QPainter *painter, const QRectF &rect); + virtual void drawForeground(QPainter *painter, const QRectF &rect); + +public: + enum SceneLayer + { + ItemLayer, + BackgroundLayer, + ForegroundLayer, + AllLayers, + }; + + typedef QFlags SceneLayers; + int bspTreeDepth() const; + void setBspTreeDepth(int depth); + QPainterPath selectionArea() const; + void update(qreal x, qreal y, qreal w, qreal h); + QGraphicsProxyWidget *addWidget(QWidget *widget /Transfer/, Qt::WindowFlags flags = Qt::WindowFlags()); + QStyle *style() const; + void setStyle(QStyle *style /Transfer/); + QFont font() const; + void setFont(const QFont &font); + QPalette palette() const; + void setPalette(const QPalette &palette); + QGraphicsWidget *activeWindow() const; + void setActiveWindow(QGraphicsWidget *widget); + +protected: + virtual bool eventFilter(QObject *watched, QEvent *event); + bool focusNextPrevChild(bool next); + +public: + void setStickyFocus(bool enabled); + bool stickyFocus() const; + QGraphicsItem *itemAt(const QPointF &pos, const QTransform &deviceTransform) const; + QGraphicsItem *itemAt(qreal x, qreal y, const QTransform &deviceTransform) const; + bool isActive() const; + QGraphicsItem *activePanel() const; + void setActivePanel(QGraphicsItem *item); + bool sendEvent(QGraphicsItem *item, QEvent *event); + void invalidate(qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers = QGraphicsScene::AllLayers); +%If (Qt_5_4_0 -) + qreal minimumRenderSize() const; +%End +%If (Qt_5_4_0 -) + void setMinimumRenderSize(qreal minSize); +%End + +signals: +%If (Qt_5_1_0 -) + void focusItemChanged(QGraphicsItem *newFocus, QGraphicsItem *oldFocus, Qt::FocusReason reason); +%End + +public: +%If (Qt_5_5_0 -) + void setSelectionArea(const QPainterPath &path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, const QTransform &deviceTransform = QTransform()); +%End +%If (Qt_5_12_0 -) + bool focusOnTouch() const; +%End +%If (Qt_5_12_0 -) + void setFocusOnTouch(bool enabled); +%End +}; + +QFlags operator|(QGraphicsScene::SceneLayer f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicssceneevent.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicssceneevent.sip new file mode 100644 index 00000000..eb70f121 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicssceneevent.sip @@ -0,0 +1,251 @@ +// qgraphicssceneevent.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsSceneEvent : QEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + switch (sipCpp->type()) + { + case QEvent::GraphicsSceneContextMenu: + sipType = sipType_QGraphicsSceneContextMenuEvent; + break; + + case QEvent::GraphicsSceneDragEnter: + case QEvent::GraphicsSceneDragLeave: + case QEvent::GraphicsSceneDragMove: + case QEvent::GraphicsSceneDrop: + sipType = sipType_QGraphicsSceneDragDropEvent; + break; + + case QEvent::GraphicsSceneHelp: + sipType = sipType_QGraphicsSceneHelpEvent; + break; + + case QEvent::GraphicsSceneHoverEnter: + case QEvent::GraphicsSceneHoverLeave: + case QEvent::GraphicsSceneHoverMove: + sipType = sipType_QGraphicsSceneHoverEvent; + break; + + case QEvent::GraphicsSceneMouseDoubleClick: + case QEvent::GraphicsSceneMouseMove: + case QEvent::GraphicsSceneMousePress: + case QEvent::GraphicsSceneMouseRelease: + sipType = sipType_QGraphicsSceneMouseEvent; + break; + + case QEvent::GraphicsSceneWheel: + sipType = sipType_QGraphicsSceneWheelEvent; + break; + + case QEvent::GraphicsSceneMove: + sipType = sipType_QGraphicsSceneMoveEvent; + break; + + case QEvent::GraphicsSceneResize: + sipType = sipType_QGraphicsSceneResizeEvent; + break; + + default: + sipType = 0; + } +%End + +public: + virtual ~QGraphicsSceneEvent(); + QWidget *widget() const; + +private: + QGraphicsSceneEvent(const QGraphicsSceneEvent &); +}; + +class QGraphicsSceneMouseEvent : QGraphicsSceneEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QGraphicsSceneMouseEvent(); + QPointF pos() const; + QPointF scenePos() const; + QPoint screenPos() const; + QPointF buttonDownPos(Qt::MouseButton button) const; + QPointF buttonDownScenePos(Qt::MouseButton button) const; + QPoint buttonDownScreenPos(Qt::MouseButton button) const; + QPointF lastPos() const; + QPointF lastScenePos() const; + QPoint lastScreenPos() const; + Qt::MouseButtons buttons() const; + Qt::MouseButton button() const; + Qt::KeyboardModifiers modifiers() const; +%If (Qt_5_4_0 -) + Qt::MouseEventSource source() const; +%End +%If (Qt_5_4_0 -) + Qt::MouseEventFlags flags() const; +%End + +private: + QGraphicsSceneMouseEvent(const QGraphicsSceneMouseEvent &); +}; + +class QGraphicsSceneWheelEvent : QGraphicsSceneEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QGraphicsSceneWheelEvent(); + QPointF pos() const; + QPointF scenePos() const; + QPoint screenPos() const; + Qt::MouseButtons buttons() const; + Qt::KeyboardModifiers modifiers() const; + int delta() const; + Qt::Orientation orientation() const; + +private: + QGraphicsSceneWheelEvent(const QGraphicsSceneWheelEvent &); +}; + +class QGraphicsSceneContextMenuEvent : QGraphicsSceneEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + enum Reason + { + Mouse, + Keyboard, + Other, + }; + + virtual ~QGraphicsSceneContextMenuEvent(); + QPointF pos() const; + QPointF scenePos() const; + QPoint screenPos() const; + Qt::KeyboardModifiers modifiers() const; + QGraphicsSceneContextMenuEvent::Reason reason() const; + +private: + QGraphicsSceneContextMenuEvent(const QGraphicsSceneContextMenuEvent &); +}; + +class QGraphicsSceneHoverEvent : QGraphicsSceneEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QGraphicsSceneHoverEvent(); + QPointF pos() const; + QPointF scenePos() const; + QPoint screenPos() const; + QPointF lastPos() const; + QPointF lastScenePos() const; + QPoint lastScreenPos() const; + Qt::KeyboardModifiers modifiers() const; + +private: + QGraphicsSceneHoverEvent(const QGraphicsSceneHoverEvent &); +}; + +class QGraphicsSceneHelpEvent : QGraphicsSceneEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QGraphicsSceneHelpEvent(); + QPointF scenePos() const; + QPoint screenPos() const; + +private: + QGraphicsSceneHelpEvent(const QGraphicsSceneHelpEvent &); +}; + +class QGraphicsSceneDragDropEvent : QGraphicsSceneEvent /NoDefaultCtors/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QGraphicsSceneDragDropEvent(); + QPointF pos() const; + QPointF scenePos() const; + QPoint screenPos() const; + Qt::MouseButtons buttons() const; + Qt::KeyboardModifiers modifiers() const; + Qt::DropActions possibleActions() const; + Qt::DropAction proposedAction() const; + void acceptProposedAction(); + Qt::DropAction dropAction() const; + void setDropAction(Qt::DropAction action); + QWidget *source() const; + const QMimeData *mimeData() const; + +private: + QGraphicsSceneDragDropEvent(const QGraphicsSceneDragDropEvent &); +}; + +class QGraphicsSceneResizeEvent : QGraphicsSceneEvent +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsSceneResizeEvent(); + virtual ~QGraphicsSceneResizeEvent(); + QSizeF oldSize() const; + QSizeF newSize() const; + +private: + QGraphicsSceneResizeEvent(const QGraphicsSceneResizeEvent &); +}; + +class QGraphicsSceneMoveEvent : QGraphicsSceneEvent +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsSceneMoveEvent(); + virtual ~QGraphicsSceneMoveEvent(); + QPointF oldPos() const; + QPointF newPos() const; + +private: + QGraphicsSceneMoveEvent(const QGraphicsSceneMoveEvent &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicstransform.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicstransform.sip new file mode 100644 index 00000000..3478ac95 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicstransform.sip @@ -0,0 +1,87 @@ +// qgraphicstransform.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsTransform : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsTransform(QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsTransform(); + virtual void applyTo(QMatrix4x4 *matrix) const = 0; + +protected slots: + void update(); +}; + +class QGraphicsScale : QGraphicsTransform +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsScale(QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsScale(); + QVector3D origin() const; + void setOrigin(const QVector3D &point); + qreal xScale() const; + void setXScale(qreal); + qreal yScale() const; + void setYScale(qreal); + qreal zScale() const; + void setZScale(qreal); + virtual void applyTo(QMatrix4x4 *matrix) const; + +signals: + void originChanged(); + void scaleChanged(); + void xScaleChanged(); + void yScaleChanged(); + void zScaleChanged(); +}; + +class QGraphicsRotation : QGraphicsTransform +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsRotation(QObject *parent /TransferThis/ = 0); + virtual ~QGraphicsRotation(); + QVector3D origin() const; + void setOrigin(const QVector3D &point); + qreal angle() const; + void setAngle(qreal); + QVector3D axis() const; + void setAxis(const QVector3D &axis); + void setAxis(Qt::Axis axis); + virtual void applyTo(QMatrix4x4 *matrix) const; + +signals: + void originChanged(); + void angleChanged(); + void axisChanged(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsview.sip new file mode 100644 index 00000000..94e7e4a2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicsview.sip @@ -0,0 +1,194 @@ +// qgraphicsview.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsView : QAbstractScrollArea +{ +%TypeHeaderCode +#include +%End + +public: + enum CacheModeFlag + { + CacheNone, + CacheBackground, + }; + + typedef QFlags CacheMode; + + enum DragMode + { + NoDrag, + ScrollHandDrag, + RubberBandDrag, + }; + + enum ViewportAnchor + { + NoAnchor, + AnchorViewCenter, + AnchorUnderMouse, + }; + + QGraphicsView(QWidget *parent /TransferThis/ = 0); + QGraphicsView(QGraphicsScene *scene /KeepReference/, QWidget *parent /TransferThis/ = 0); + virtual ~QGraphicsView(); + virtual QSize sizeHint() const; + QPainter::RenderHints renderHints() const; + void setRenderHint(QPainter::RenderHint hint, bool on = true); + void setRenderHints(QPainter::RenderHints hints); + Qt::Alignment alignment() const; + void setAlignment(Qt::Alignment alignment); + QGraphicsView::ViewportAnchor transformationAnchor() const; + void setTransformationAnchor(QGraphicsView::ViewportAnchor anchor); + QGraphicsView::ViewportAnchor resizeAnchor() const; + void setResizeAnchor(QGraphicsView::ViewportAnchor anchor); + QGraphicsView::DragMode dragMode() const; + void setDragMode(QGraphicsView::DragMode mode); + QGraphicsView::CacheMode cacheMode() const; + void setCacheMode(QGraphicsView::CacheMode mode); + void resetCachedContent(); + bool isInteractive() const; + void setInteractive(bool allowed); + QGraphicsScene *scene() const; + void setScene(QGraphicsScene *scene /KeepReference/); + QRectF sceneRect() const; + void setSceneRect(const QRectF &rect); + void rotate(qreal angle); + void scale(qreal sx, qreal sy); + void shear(qreal sh, qreal sv); + void translate(qreal dx, qreal dy); + void centerOn(const QPointF &pos); + void centerOn(const QGraphicsItem *item); + void ensureVisible(const QRectF &rect, int xMargin = 50, int yMargin = 50); + void ensureVisible(const QGraphicsItem *item, int xMargin = 50, int yMargin = 50); + void fitInView(const QRectF &rect, Qt::AspectRatioMode mode = Qt::IgnoreAspectRatio); + void fitInView(const QGraphicsItem *item, Qt::AspectRatioMode mode = Qt::IgnoreAspectRatio); + void render(QPainter *painter, const QRectF &target = QRectF(), const QRect &source = QRect(), Qt::AspectRatioMode mode = Qt::KeepAspectRatio); + QList items() const; + QList items(const QPoint &pos) const; + QList items(int x, int y) const; + QList items(int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(const QRect &rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(const QPolygon &polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QList items(const QPainterPath &path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; + QGraphicsItem *itemAt(const QPoint &pos) const; + QPointF mapToScene(const QPoint &point) const; + QPolygonF mapToScene(const QRect &rect) const; + QPolygonF mapToScene(const QPolygon &polygon) const; + QPainterPath mapToScene(const QPainterPath &path) const; + QPoint mapFromScene(const QPointF &point) const; + QPolygon mapFromScene(const QRectF &rect) const; + QPolygon mapFromScene(const QPolygonF &polygon) const; + QPainterPath mapFromScene(const QPainterPath &path) const; + virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; + QBrush backgroundBrush() const; + void setBackgroundBrush(const QBrush &brush); + QBrush foregroundBrush() const; + void setForegroundBrush(const QBrush &brush); + +public slots: + void invalidateScene(const QRectF &rect = QRectF(), QGraphicsScene::SceneLayers layers = QGraphicsScene::AllLayers); + void updateScene(const QList &rects); + void updateSceneRect(const QRectF &rect); + +protected slots: + virtual void setupViewport(QWidget *widget); + +protected: + virtual bool event(QEvent *event); + virtual bool viewportEvent(QEvent *event); + virtual void contextMenuEvent(QContextMenuEvent *event); + virtual void dragEnterEvent(QDragEnterEvent *event); + virtual void dragLeaveEvent(QDragLeaveEvent *event); + virtual void dragMoveEvent(QDragMoveEvent *event); + virtual void dropEvent(QDropEvent *event); + virtual void focusInEvent(QFocusEvent *event); + virtual void focusOutEvent(QFocusEvent *event); + virtual bool focusNextPrevChild(bool next); + virtual void keyPressEvent(QKeyEvent *event); + virtual void keyReleaseEvent(QKeyEvent *event); + virtual void mouseDoubleClickEvent(QMouseEvent *event); + virtual void mousePressEvent(QMouseEvent *event); + virtual void mouseMoveEvent(QMouseEvent *event); + virtual void mouseReleaseEvent(QMouseEvent *event); + virtual void wheelEvent(QWheelEvent *event); + virtual void paintEvent(QPaintEvent *event); + virtual void resizeEvent(QResizeEvent *event); + virtual void scrollContentsBy(int dx, int dy); + virtual void showEvent(QShowEvent *event); + virtual void inputMethodEvent(QInputMethodEvent *event); + virtual void drawBackground(QPainter *painter, const QRectF &rect); + virtual void drawForeground(QPainter *painter, const QRectF &rect); + +public: + void setSceneRect(qreal ax, qreal ay, qreal aw, qreal ah); + void centerOn(qreal ax, qreal ay); + void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xMargin = 50, int yMargin = 50); + void fitInView(qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode mode = Qt::IgnoreAspectRatio); + QGraphicsItem *itemAt(int ax, int ay) const; + QPointF mapToScene(int ax, int ay) const; + QPolygonF mapToScene(int ax, int ay, int w, int h) const; + QPoint mapFromScene(qreal ax, qreal ay) const; + QPolygon mapFromScene(qreal ax, qreal ay, qreal w, qreal h) const; + + enum ViewportUpdateMode + { + FullViewportUpdate, + MinimalViewportUpdate, + SmartViewportUpdate, + BoundingRectViewportUpdate, + NoViewportUpdate, + }; + + enum OptimizationFlag + { + DontClipPainter, + DontSavePainterState, + DontAdjustForAntialiasing, + }; + + typedef QFlags OptimizationFlags; + QGraphicsView::ViewportUpdateMode viewportUpdateMode() const; + void setViewportUpdateMode(QGraphicsView::ViewportUpdateMode mode); + QGraphicsView::OptimizationFlags optimizationFlags() const; + void setOptimizationFlag(QGraphicsView::OptimizationFlag flag, bool enabled = true); + void setOptimizationFlags(QGraphicsView::OptimizationFlags flags); + Qt::ItemSelectionMode rubberBandSelectionMode() const; + void setRubberBandSelectionMode(Qt::ItemSelectionMode mode); + QTransform transform() const; + QTransform viewportTransform() const; + void setTransform(const QTransform &matrix, bool combine = false); + void resetTransform(); + bool isTransformed() const; +%If (Qt_5_1_0 -) + QRect rubberBandRect() const; +%End + +signals: +%If (Qt_5_1_0 -) + void rubberBandChanged(QRect viewportRect, QPointF fromScenePoint, QPointF toScenePoint); +%End +}; + +QFlags operator|(QGraphicsView::CacheModeFlag f1, QFlags f2); +QFlags operator|(QGraphicsView::OptimizationFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicswidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicswidget.sip new file mode 100644 index 00000000..503cb681 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgraphicswidget.sip @@ -0,0 +1,126 @@ +// qgraphicswidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGraphicsWidget : QGraphicsObject, QGraphicsLayoutItem +{ +%TypeHeaderCode +#include +%End + +public: + QGraphicsWidget(QGraphicsItem *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QGraphicsWidget(); + QGraphicsLayout *layout() const; + void setLayout(QGraphicsLayout *layout /Transfer/); + void adjustSize(); + Qt::LayoutDirection layoutDirection() const; + void setLayoutDirection(Qt::LayoutDirection direction); + void unsetLayoutDirection(); + QStyle *style() const; + void setStyle(QStyle *style /KeepReference/); + QFont font() const; + void setFont(const QFont &font); + QPalette palette() const; + void setPalette(const QPalette &palette); + void resize(const QSizeF &size); + void resize(qreal w, qreal h); + QSizeF size() const; + virtual void setGeometry(const QRectF &rect); + QRectF rect() const; +%If (Qt_5_14_0 -) + void setContentsMargins(QMarginsF margins); +%End + void setContentsMargins(qreal left, qreal top, qreal right, qreal bottom); + virtual void getContentsMargins(qreal *left, qreal *top, qreal *right, qreal *bottom) const; +%If (Qt_5_14_0 -) + void setWindowFrameMargins(QMarginsF margins); +%End + void setWindowFrameMargins(qreal left, qreal top, qreal right, qreal bottom); + void getWindowFrameMargins(qreal *left, qreal *top, qreal *right, qreal *bottom) const; + void unsetWindowFrameMargins(); + QRectF windowFrameGeometry() const; + QRectF windowFrameRect() const; + Qt::WindowFlags windowFlags() const; + Qt::WindowType windowType() const; + void setWindowFlags(Qt::WindowFlags wFlags); + bool isActiveWindow() const; + void setWindowTitle(const QString &title); + QString windowTitle() const; + Qt::FocusPolicy focusPolicy() const; + void setFocusPolicy(Qt::FocusPolicy policy); + static void setTabOrder(QGraphicsWidget *first, QGraphicsWidget *second); + QGraphicsWidget *focusWidget() const; + int grabShortcut(const QKeySequence &sequence, Qt::ShortcutContext context = Qt::WindowShortcut); + void releaseShortcut(int id); + void setShortcutEnabled(int id, bool enabled = true); + void setShortcutAutoRepeat(int id, bool enabled = true); + void addAction(QAction *action); + void addActions(QList actions); + void insertAction(QAction *before, QAction *action); + void insertActions(QAction *before, QList actions); + void removeAction(QAction *action); + QList actions() const; + void setAttribute(Qt::WidgetAttribute attribute, bool on = true); + bool testAttribute(Qt::WidgetAttribute attribute) const; + virtual int type() const; + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual void paintWindowFrame(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual QRectF boundingRect() const; + virtual QPainterPath shape() const; + void setGeometry(qreal ax, qreal ay, qreal aw, qreal ah); + +public slots: + bool close(); + +protected: + virtual void initStyleOption(QStyleOption *option) const; + virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const; + virtual void updateGeometry(); + virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value); + virtual bool sceneEvent(QEvent *event); + virtual bool windowFrameEvent(QEvent *e); + virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF &pos) const; + virtual bool event(QEvent *event); + virtual void changeEvent(QEvent *event); + virtual void closeEvent(QCloseEvent *event); + virtual void focusInEvent(QFocusEvent *event); + virtual bool focusNextPrevChild(bool next); + virtual void focusOutEvent(QFocusEvent *event); + virtual void hideEvent(QHideEvent *event); + virtual void moveEvent(QGraphicsSceneMoveEvent *event); + virtual void polishEvent(); + virtual void resizeEvent(QGraphicsSceneResizeEvent *event); + virtual void showEvent(QShowEvent *event); + virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *event); + virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); + virtual void grabMouseEvent(QEvent *event); + virtual void ungrabMouseEvent(QEvent *event); + virtual void grabKeyboardEvent(QEvent *event); + virtual void ungrabKeyboardEvent(QEvent *event); + +public: + bool autoFillBackground() const; + void setAutoFillBackground(bool enabled); + +signals: + void geometryChanged(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgridlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgridlayout.sip new file mode 100644 index 00000000..d6545066 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgridlayout.sip @@ -0,0 +1,145 @@ +// qgridlayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGridLayout : QLayout +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGridLayout(QWidget *parent /TransferThis/); + QGridLayout(); + virtual ~QGridLayout(); + virtual QSize sizeHint() const; + virtual QSize minimumSize() const; + virtual QSize maximumSize() const; + void setRowStretch(int row, int stretch); + void setColumnStretch(int column, int stretch); + int rowStretch(int row) const; + int columnStretch(int column) const; + void setRowMinimumHeight(int row, int minSize); + void setColumnMinimumWidth(int column, int minSize); + int rowMinimumHeight(int row) const; + int columnMinimumWidth(int column) const; + int columnCount() const; + int rowCount() const; + QRect cellRect(int row, int column) const; + virtual bool hasHeightForWidth() const; + virtual int heightForWidth(int) const; + virtual int minimumHeightForWidth(int) const; + virtual Qt::Orientations expandingDirections() const; + virtual void invalidate(); + void addWidget(QWidget *w /GetWrapper/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->addWidget(a0); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a0Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows addWidget(QWidget()). + sipTransferTo(a0Wrapper, sipSelf); + } +%End + + void addWidget(QWidget * /GetWrapper/, int row, int column, Qt::Alignment alignment = Qt::Alignment()); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->addWidget(a0, a1, a2, *a3); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a0Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows addWidget(QWidget()). + sipTransferTo(a0Wrapper, sipSelf); + } +%End + + void addWidget(QWidget * /GetWrapper/, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = Qt::Alignment()); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->addWidget(a0, a1, a2, a3, a4, *a5); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a0Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows addWidget(QWidget()). + sipTransferTo(a0Wrapper, sipSelf); + } +%End + + void addLayout(QLayout * /Transfer/, int row, int column, Qt::Alignment alignment = Qt::Alignment()); + void addLayout(QLayout * /Transfer/, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = Qt::Alignment()); + void setOriginCorner(Qt::Corner); + Qt::Corner originCorner() const; + virtual QLayoutItem *itemAt(int) const; + virtual QLayoutItem *takeAt(int) /TransferBack/; + virtual int count() const; + virtual void setGeometry(const QRect &); + void addItem(QLayoutItem *item /Transfer/, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment alignment = Qt::Alignment()); + void setDefaultPositioning(int n, Qt::Orientation orient); + void getItemPosition(int idx, int *row, int *column, int *rowSpan, int *columnSpan) const; + void setHorizontalSpacing(int spacing); + int horizontalSpacing() const; + void setVerticalSpacing(int spacing); + int verticalSpacing() const; + void setSpacing(int spacing); + int spacing() const; + QLayoutItem *itemAtPosition(int row, int column) const; + +protected: + virtual void addItem(QLayoutItem * /Transfer/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgroupbox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgroupbox.sip new file mode 100644 index 00000000..00dbff82 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qgroupbox.sip @@ -0,0 +1,62 @@ +// qgroupbox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QGroupBox : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QGroupBox(QWidget *parent /TransferThis/ = 0); + QGroupBox(const QString &title, QWidget *parent /TransferThis/ = 0); + virtual ~QGroupBox(); + QString title() const; + void setTitle(const QString &); + Qt::Alignment alignment() const; + void setAlignment(int); + virtual QSize minimumSizeHint() const; + bool isFlat() const; + void setFlat(bool b); + bool isCheckable() const; + void setCheckable(bool b); + bool isChecked() const; + +public slots: + void setChecked(bool b); + +signals: + void clicked(bool checked = false); + void toggled(bool); + +protected: + void initStyleOption(QStyleOptionGroupBox *option) const; + virtual bool event(QEvent *); + virtual void childEvent(QChildEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void paintEvent(QPaintEvent *); + virtual void focusInEvent(QFocusEvent *); + virtual void changeEvent(QEvent *); + virtual void mousePressEvent(QMouseEvent *event); + virtual void mouseMoveEvent(QMouseEvent *event); + virtual void mouseReleaseEvent(QMouseEvent *event); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qheaderview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qheaderview.sip new file mode 100644 index 00000000..6e48b0a8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qheaderview.sip @@ -0,0 +1,183 @@ +// qheaderview.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QHeaderView : QAbstractItemView +{ +%TypeHeaderCode +#include +%End + +public: + enum ResizeMode + { + Interactive, + Fixed, + Stretch, + ResizeToContents, + Custom, + }; + + QHeaderView(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0); + virtual ~QHeaderView(); + virtual void setModel(QAbstractItemModel *model /KeepReference/); + Qt::Orientation orientation() const; + int offset() const; + int length() const; + virtual QSize sizeHint() const; + int sectionSizeHint(int logicalIndex) const; + int visualIndexAt(int position) const; + int logicalIndexAt(int position) const; + int sectionSize(int logicalIndex) const; + int sectionPosition(int logicalIndex) const; + int sectionViewportPosition(int logicalIndex) const; + void moveSection(int from, int to); + void resizeSection(int logicalIndex, int size); + bool isSectionHidden(int logicalIndex) const; + void setSectionHidden(int logicalIndex, bool hide); + int count() const /__len__/; + int visualIndex(int logicalIndex) const; + int logicalIndex(int visualIndex) const; + void setHighlightSections(bool highlight); + bool highlightSections() const; + int stretchSectionCount() const; + void setSortIndicatorShown(bool show); + bool isSortIndicatorShown() const; + void setSortIndicator(int logicalIndex, Qt::SortOrder order); + int sortIndicatorSection() const; + Qt::SortOrder sortIndicatorOrder() const; + bool stretchLastSection() const; + void setStretchLastSection(bool stretch); + bool sectionsMoved() const; + +public slots: + void setOffset(int offset); + void headerDataChanged(Qt::Orientation orientation, int logicalFirst, int logicalLast); + void setOffsetToSectionPosition(int visualIndex); + +signals: + void geometriesChanged(); + void sectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex); + void sectionResized(int logicalIndex, int oldSize, int newSize); + void sectionPressed(int logicalIndex); + void sectionClicked(int logicalIndex); + void sectionDoubleClicked(int logicalIndex); + void sectionCountChanged(int oldCount, int newCount); + void sectionHandleDoubleClicked(int logicalIndex); + +protected slots: + void updateSection(int logicalIndex); + void resizeSections(); + void sectionsInserted(const QModelIndex &parent, int logicalFirst, int logicalLast); + void sectionsAboutToBeRemoved(const QModelIndex &parent, int logicalFirst, int logicalLast); + +protected: + void initialize(); + void initializeSections(); + void initializeSections(int start, int end); + virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &old); + virtual bool event(QEvent *e); + virtual bool viewportEvent(QEvent *e); + virtual void paintEvent(QPaintEvent *e); + virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseMoveEvent(QMouseEvent *e); + virtual void mouseReleaseEvent(QMouseEvent *e); + virtual void mouseDoubleClickEvent(QMouseEvent *e); + virtual void paintSection(QPainter *painter, const QRect &rect, int logicalIndex) const; + virtual QSize sectionSizeFromContents(int logicalIndex) const; + virtual int horizontalOffset() const; + virtual int verticalOffset() const; + virtual void updateGeometries(); + virtual void scrollContentsBy(int dx, int dy); + virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); + virtual void rowsInserted(const QModelIndex &parent, int start, int end); + virtual QRect visualRect(const QModelIndex &index) const; + virtual void scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint); + virtual QModelIndex indexAt(const QPoint &p) const; + virtual bool isIndexHidden(const QModelIndex &index) const; + virtual QModelIndex moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers); + virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags flags); + virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; + +public: + int logicalIndexAt(int ax, int ay) const; + int logicalIndexAt(const QPoint &apos) const; + void hideSection(int alogicalIndex); + void showSection(int alogicalIndex); + void resizeSections(QHeaderView::ResizeMode mode); + int hiddenSectionCount() const; + int defaultSectionSize() const; + void setDefaultSectionSize(int size); + Qt::Alignment defaultAlignment() const; + void setDefaultAlignment(Qt::Alignment alignment); + bool sectionsHidden() const; + void swapSections(int first, int second); + bool cascadingSectionResizes() const; + void setCascadingSectionResizes(bool enable); + int minimumSectionSize() const; + void setMinimumSectionSize(int size); + QByteArray saveState() const; + bool restoreState(const QByteArray &state); + virtual void reset(); + +public slots: + void setOffsetToLastSection(); + +signals: + void sectionEntered(int logicalIndex); + void sortIndicatorChanged(int logicalIndex, Qt::SortOrder order); + +protected: + void initStyleOption(QStyleOptionHeader *option) const; + +public: + void setSectionsMovable(bool movable); + bool sectionsMovable() const; + void setSectionsClickable(bool clickable); + bool sectionsClickable() const; + QHeaderView::ResizeMode sectionResizeMode(int logicalIndex) const; + void setSectionResizeMode(int logicalIndex, QHeaderView::ResizeMode mode); + void setSectionResizeMode(QHeaderView::ResizeMode mode); +%If (Qt_5_2_0 -) + virtual void setVisible(bool v); +%End +%If (Qt_5_2_0 -) + void setResizeContentsPrecision(int precision); +%End +%If (Qt_5_2_0 -) + int resizeContentsPrecision() const; +%End +%If (Qt_5_2_0 -) + int maximumSectionSize() const; +%End +%If (Qt_5_2_0 -) + void setMaximumSectionSize(int size); +%End +%If (Qt_5_5_0 -) + void resetDefaultSectionSize(); +%End +%If (Qt_5_11_0 -) + void setFirstSectionMovable(bool movable); +%End +%If (Qt_5_11_0 -) + bool isFirstSectionMovable() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qinputdialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qinputdialog.sip new file mode 100644 index 00000000..5e8483af --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qinputdialog.sip @@ -0,0 +1,136 @@ +// qinputdialog.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QInputDialog : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + enum InputDialogOption + { + NoButtons, + UseListViewForComboBoxItems, +%If (Qt_5_2_0 -) + UsePlainTextEditForTextInput, +%End + }; + + typedef QFlags InputDialogOptions; + + enum InputMode + { + TextInput, + IntInput, + DoubleInput, + }; + + static QString getText(QWidget *parent, const QString &title, const QString &label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString &text = QString(), bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags(), Qt::InputMethodHints inputMethodHints = Qt::ImhNone) /ReleaseGIL/; + static int getInt(QWidget *parent, const QString &title, const QString &label, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags()) /ReleaseGIL/; + static double getDouble(QWidget *parent, const QString &title, const QString &label, double value = 0, double min = -2147483647, double max = 2147483647, int decimals = 1, bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags()) /ReleaseGIL/; +%If (Qt_5_10_0 -) + static double getDouble(QWidget *parent, const QString &title, const QString &label, double value, double minValue, double maxValue, int decimals, bool *ok, Qt::WindowFlags flags, double step); +%End + static QString getItem(QWidget *parent, const QString &title, const QString &label, const QStringList &items, int current = 0, bool editable = true, bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags(), Qt::InputMethodHints inputMethodHints = Qt::ImhNone) /ReleaseGIL/; +%If (Qt_5_2_0 -) + static QString getMultiLineText(QWidget *parent, const QString &title, const QString &label, const QString &text = QString(), bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags(), Qt::InputMethodHints inputMethodHints = Qt::ImhNone) /ReleaseGIL/; +%End + QInputDialog(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QInputDialog(); + void setInputMode(QInputDialog::InputMode mode); + QInputDialog::InputMode inputMode() const; + void setLabelText(const QString &text); + QString labelText() const; + void setOption(QInputDialog::InputDialogOption option, bool on = true); + bool testOption(QInputDialog::InputDialogOption option) const; + void setOptions(QInputDialog::InputDialogOptions options); + QInputDialog::InputDialogOptions options() const; + void setTextValue(const QString &text); + QString textValue() const; + void setTextEchoMode(QLineEdit::EchoMode mode); + QLineEdit::EchoMode textEchoMode() const; + void setComboBoxEditable(bool editable); + bool isComboBoxEditable() const; + void setComboBoxItems(const QStringList &items); + QStringList comboBoxItems() const; + void setIntValue(int value); + int intValue() const; + void setIntMinimum(int min); + int intMinimum() const; + void setIntMaximum(int max); + int intMaximum() const; + void setIntRange(int min, int max); + void setIntStep(int step); + int intStep() const; + void setDoubleValue(double value); + double doubleValue() const; + void setDoubleMinimum(double min); + double doubleMinimum() const; + void setDoubleMaximum(double max); + double doubleMaximum() const; + void setDoubleRange(double min, double max); + void setDoubleDecimals(int decimals); + int doubleDecimals() const; + void setOkButtonText(const QString &text); + QString okButtonText() const; + void setCancelButtonText(const QString &text); + QString cancelButtonText() const; + virtual void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + virtual QSize minimumSizeHint() const; + virtual QSize sizeHint() const; + virtual void setVisible(bool visible); + virtual void done(int result); + +signals: + void textValueChanged(const QString &text); + void textValueSelected(const QString &text); + void intValueChanged(int value); + void intValueSelected(int value); + void doubleValueChanged(double value); + void doubleValueSelected(double value); + +public: +%If (Qt_5_10_0 -) + void setDoubleStep(double step); +%End +%If (Qt_5_10_0 -) + double doubleStep() const; +%End +}; + +QFlags operator|(QInputDialog::InputDialogOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qitemdelegate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qitemdelegate.sip new file mode 100644 index 00000000..e6218cfa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qitemdelegate.sip @@ -0,0 +1,51 @@ +// qitemdelegate.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QItemDelegate : QAbstractItemDelegate +{ +%TypeHeaderCode +#include +%End + +public: + explicit QItemDelegate(QObject *parent /TransferThis/ = 0); + virtual ~QItemDelegate(); + virtual void paint(QPainter *painter, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const; + virtual QSize sizeHint(const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const; + virtual QWidget *createEditor(QWidget *parent /TransferThis/, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const /Factory/; + virtual void setEditorData(QWidget *editor, const QModelIndex &index) const; + virtual void setModelData(QWidget *editor, QAbstractItemModel *model /KeepReference/, const QModelIndex &index) const; + virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const; + QItemEditorFactory *itemEditorFactory() const; + void setItemEditorFactory(QItemEditorFactory *factory /KeepReference/); + bool hasClipping() const; + void setClipping(bool clip); + +protected: + void drawBackground(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; + virtual void drawCheck(QPainter *painter, const QStyleOptionViewItem &option /NoCopy/, const QRect &rect, Qt::CheckState state) const; + virtual void drawDecoration(QPainter *painter, const QStyleOptionViewItem &option /NoCopy/, const QRect &rect, const QPixmap &pixmap) const; + virtual void drawDisplay(QPainter *painter, const QStyleOptionViewItem &option /NoCopy/, const QRect &rect, const QString &text) const; + virtual void drawFocus(QPainter *painter, const QStyleOptionViewItem &option /NoCopy/, const QRect &rect) const; + virtual bool eventFilter(QObject *object, QEvent *event); + virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qitemeditorfactory.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qitemeditorfactory.sip new file mode 100644 index 00000000..ec839e24 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qitemeditorfactory.sip @@ -0,0 +1,49 @@ +// qitemeditorfactory.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QItemEditorCreatorBase /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QItemEditorCreatorBase(); + virtual QWidget *createWidget(QWidget *parent /TransferThis/) const = 0 /Factory/; + virtual QByteArray valuePropertyName() const = 0; +}; + +class QItemEditorFactory /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + QItemEditorFactory(); + virtual ~QItemEditorFactory(); + virtual QWidget *createEditor(int userType, QWidget *parent /TransferThis/) const; + virtual QByteArray valuePropertyName(int userType) const; + void registerEditor(int userType, QItemEditorCreatorBase *creator /Transfer/); + static const QItemEditorFactory *defaultFactory(); + static void setDefaultFactory(QItemEditorFactory *factory /Transfer/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qkeyeventtransition.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qkeyeventtransition.sip new file mode 100644 index 00000000..2e82cb0b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qkeyeventtransition.sip @@ -0,0 +1,41 @@ +// qkeyeventtransition.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QKeyEventTransition : QEventTransition +{ +%TypeHeaderCode +#include +%End + +public: + QKeyEventTransition(QState *sourceState /TransferThis/ = 0); + QKeyEventTransition(QObject *object /KeepReference=10/, QEvent::Type type, int key, QState *sourceState /TransferThis/ = 0); + virtual ~QKeyEventTransition(); + int key() const; + void setKey(int key); + Qt::KeyboardModifiers modifierMask() const; + void setModifierMask(Qt::KeyboardModifiers modifiers); + +protected: + virtual void onTransition(QEvent *event); + virtual bool eventTest(QEvent *event); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qkeysequenceedit.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qkeysequenceedit.sip new file mode 100644 index 00000000..150d4dbd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qkeysequenceedit.sip @@ -0,0 +1,52 @@ +// qkeysequenceedit.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QKeySequenceEdit : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QKeySequenceEdit(QWidget *parent /TransferThis/ = 0); + QKeySequenceEdit(const QKeySequence &keySequence, QWidget *parent /TransferThis/ = 0); + virtual ~QKeySequenceEdit(); + QKeySequence keySequence() const; + +public slots: + void setKeySequence(const QKeySequence &keySequence); + void clear(); + +signals: + void editingFinished(); + void keySequenceChanged(const QKeySequence &keySequence); + +protected: + virtual bool event(QEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void keyReleaseEvent(QKeyEvent *); + virtual void timerEvent(QTimerEvent *); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlabel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlabel.sip new file mode 100644 index 00000000..d99eb71a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlabel.sip @@ -0,0 +1,90 @@ +// qlabel.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLabel : QFrame +{ +%TypeHeaderCode +#include +%End + +public: + QLabel(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + QLabel(const QString &text, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QLabel(); + QString text() const; + const QPixmap *pixmap() const; + const QPicture *picture() const; + QMovie *movie() const; + Qt::TextFormat textFormat() const; + void setTextFormat(Qt::TextFormat); + Qt::Alignment alignment() const; + void setAlignment(Qt::Alignment); + void setWordWrap(bool on); + bool wordWrap() const; + int indent() const; + void setIndent(int); + int margin() const; + void setMargin(int); + bool hasScaledContents() const; + void setScaledContents(bool); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + void setBuddy(QWidget * /KeepReference/); + QWidget *buddy() const; + virtual int heightForWidth(int) const; + bool openExternalLinks() const; + void setTextInteractionFlags(Qt::TextInteractionFlags flags); + Qt::TextInteractionFlags textInteractionFlags() const; + void setOpenExternalLinks(bool open); + +public slots: + void clear(); + void setMovie(QMovie *movie /KeepReference/); + void setNum(double /Constrained/); + void setNum(int); + void setPicture(const QPicture &); + void setPixmap(const QPixmap &); + void setText(const QString &); + +signals: + void linkActivated(const QString &link); + void linkHovered(const QString &link); + +protected: + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); + virtual void changeEvent(QEvent *); + virtual void keyPressEvent(QKeyEvent *ev); + virtual void mousePressEvent(QMouseEvent *ev); + virtual void mouseMoveEvent(QMouseEvent *ev); + virtual void mouseReleaseEvent(QMouseEvent *ev); + virtual void contextMenuEvent(QContextMenuEvent *ev); + virtual void focusInEvent(QFocusEvent *ev); + virtual void focusOutEvent(QFocusEvent *ev); + virtual bool focusNextPrevChild(bool next); + +public: + void setSelection(int, int); + bool hasSelectedText() const; + QString selectedText() const; + int selectionStart() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlayout.sip new file mode 100644 index 00000000..ee369898 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlayout.sip @@ -0,0 +1,173 @@ +// qlayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLayout : QObject, QLayoutItem +{ +%TypeHeaderCode +#include +%End + +public: + enum SizeConstraint + { + SetDefaultConstraint, + SetNoConstraint, + SetMinimumSize, + SetFixedSize, + SetMaximumSize, + SetMinAndMaxSize, + }; + + QLayout(QWidget *parent /TransferThis/); + QLayout(); + virtual ~QLayout(); + int spacing() const; + void setSpacing(int); + bool setAlignment(QWidget *w, Qt::Alignment alignment); + bool setAlignment(QLayout *l, Qt::Alignment alignment); + void setAlignment(Qt::Alignment alignment); + void setSizeConstraint(QLayout::SizeConstraint); + QLayout::SizeConstraint sizeConstraint() const; + void setMenuBar(QWidget *w /GetWrapper/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->setMenuBar(a0); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (a0 && parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a0Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows setMenuBar(QWidget()). + sipTransferTo(a0Wrapper, sipSelf); + } +%End + + QWidget *menuBar() const; + QWidget *parentWidget() const; + virtual void invalidate(); + virtual QRect geometry() const; + bool activate(); + void update(); + void addWidget(QWidget *w /GetWrapper/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->addWidget(a0); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a0Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows addWidget(QWidget()). + sipTransferTo(a0Wrapper, sipSelf); + } +%End + + virtual void addItem(QLayoutItem * /Transfer/) = 0; + void removeWidget(QWidget *w /TransferBack/); + void removeItem(QLayoutItem * /TransferBack/); + virtual Qt::Orientations expandingDirections() const; + virtual QSize minimumSize() const; + virtual QSize maximumSize() const; + virtual void setGeometry(const QRect &); + virtual QLayoutItem *itemAt(int index) const = 0; + virtual QLayoutItem *takeAt(int index) = 0 /TransferBack/; + virtual int indexOf(QWidget *) const; +%If (Qt_5_12_0 -) + int indexOf(QLayoutItem *) const; +%End + virtual int count() const = 0 /__len__/; + virtual bool isEmpty() const; + int totalHeightForWidth(int w) const; + QSize totalMinimumSize() const; + QSize totalMaximumSize() const; + QSize totalSizeHint() const; + virtual QLayout *layout(); + void setEnabled(bool); + bool isEnabled() const; + static QSize closestAcceptableSize(const QWidget *w, const QSize &s); + +protected: + void widgetEvent(QEvent *); + virtual void childEvent(QChildEvent *e); + void addChildLayout(QLayout *l /Transfer/); + void addChildWidget(QWidget *w /GetWrapper/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + sipCpp->addChildWidget(a0); + #else + sipCpp->sipProtect_addChildWidget(a0); + #endif + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a0Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows + // addChildWidget(QWidget()). + sipTransferTo(a0Wrapper, sipSelf); + } +%End + + QRect alignmentRect(const QRect &) const; + +public: + void setContentsMargins(int left, int top, int right, int bottom); + void getContentsMargins(int *left, int *top, int *right, int *bottom) const; + QRect contentsRect() const; + void setContentsMargins(const QMargins &margins); + QMargins contentsMargins() const; + virtual QSizePolicy::ControlTypes controlTypes() const; +%If (Qt_5_2_0 -) + QLayoutItem *replaceWidget(QWidget *from, QWidget *to /Transfer/, Qt::FindChildOptions options = Qt::FindChildrenRecursively) /TransferBack/; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlayoutitem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlayoutitem.sip new file mode 100644 index 00000000..313c6f80 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlayoutitem.sip @@ -0,0 +1,114 @@ +// qlayoutitem.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLayoutItem /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + if (sipCpp->widget()) + { + sipType = sipType_QWidgetItem; + } + else if (sipCpp->spacerItem()) + { + sipType = sipType_QSpacerItem; + } + else + { + // Switch to the QObject convertor. + *sipCppRet = sipCpp->layout(); + sipType = sipType_QObject; + } +%End + +public: + explicit QLayoutItem(Qt::Alignment alignment = Qt::Alignment()); + virtual ~QLayoutItem(); + virtual QSize sizeHint() const = 0; + virtual QSize minimumSize() const = 0; + virtual QSize maximumSize() const = 0; + virtual Qt::Orientations expandingDirections() const = 0; + virtual void setGeometry(const QRect &) = 0; + virtual QRect geometry() const = 0; + virtual bool isEmpty() const = 0; + virtual bool hasHeightForWidth() const; + virtual int heightForWidth(int) const; + virtual int minimumHeightForWidth(int) const; + virtual void invalidate(); + virtual QWidget *widget(); + virtual QLayout *layout(); + virtual QSpacerItem *spacerItem(); + Qt::Alignment alignment() const; + void setAlignment(Qt::Alignment a); + virtual QSizePolicy::ControlTypes controlTypes() const; +}; + +class QSpacerItem : QLayoutItem +{ +%TypeHeaderCode +#include +%End + +public: + QSpacerItem(int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum); + virtual ~QSpacerItem(); + void changeSize(int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum); + virtual QSize sizeHint() const; + virtual QSize minimumSize() const; + virtual QSize maximumSize() const; + virtual Qt::Orientations expandingDirections() const; + virtual bool isEmpty() const; + virtual void setGeometry(const QRect &); + virtual QRect geometry() const; + virtual QSpacerItem *spacerItem(); +%If (Qt_5_5_0 -) + QSizePolicy sizePolicy() const; +%End +}; + +class QWidgetItem : QLayoutItem +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWidgetItem(QWidget *w); + virtual ~QWidgetItem(); + virtual QSize sizeHint() const; + virtual QSize minimumSize() const; + virtual QSize maximumSize() const; + virtual Qt::Orientations expandingDirections() const; + virtual bool isEmpty() const; + virtual void setGeometry(const QRect &); + virtual QRect geometry() const; + virtual QWidget *widget(); + virtual bool hasHeightForWidth() const; + virtual int heightForWidth(int) const; + virtual QSizePolicy::ControlTypes controlTypes() const; + +private: + QWidgetItem(const QWidgetItem &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlcdnumber.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlcdnumber.sip new file mode 100644 index 00000000..e9e48a3b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlcdnumber.sip @@ -0,0 +1,82 @@ +// qlcdnumber.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLCDNumber : QFrame +{ +%TypeHeaderCode +#include +%End + +public: + explicit QLCDNumber(QWidget *parent /TransferThis/ = 0); + QLCDNumber(uint numDigits, QWidget *parent /TransferThis/ = 0); + virtual ~QLCDNumber(); + + enum Mode + { + Hex, + Dec, + Oct, + Bin, + }; + + enum SegmentStyle + { + Outline, + Filled, + Flat, + }; + + bool smallDecimalPoint() const; + int digitCount() const; + void setDigitCount(int nDigits); + void setNumDigits(int nDigits); +%MethodCode + // This is implemented for Qt v5 so that .ui files created with Designer for Qt v4 will continue to work. + sipCpp->setDigitCount(a0); +%End + + bool checkOverflow(double num /Constrained/) const; + bool checkOverflow(int num) const; + QLCDNumber::Mode mode() const; + void setMode(QLCDNumber::Mode); + QLCDNumber::SegmentStyle segmentStyle() const; + void setSegmentStyle(QLCDNumber::SegmentStyle); + double value() const; + int intValue() const; + virtual QSize sizeHint() const; + void display(const QString &str); + void display(double num /Constrained/); + void display(int num); + void setHexMode(); + void setDecMode(); + void setOctMode(); + void setBinMode(); + void setSmallDecimalPoint(bool); + +signals: + void overflow(); + +protected: + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlineedit.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlineedit.sip new file mode 100644 index 00000000..69c33d9c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlineedit.sip @@ -0,0 +1,172 @@ +// qlineedit.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QLineEdit : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QLineEdit(QWidget *parent /TransferThis/ = 0); + QLineEdit(const QString &contents, QWidget *parent /TransferThis/ = 0); + virtual ~QLineEdit(); + QString text() const; + QString displayText() const; + int maxLength() const; + void setMaxLength(int); + void setFrame(bool); + bool hasFrame() const; + + enum EchoMode + { + Normal, + NoEcho, + Password, + PasswordEchoOnEdit, + }; + + QLineEdit::EchoMode echoMode() const; + void setEchoMode(QLineEdit::EchoMode); + bool isReadOnly() const; + void setReadOnly(bool); + void setValidator(const QValidator * /KeepReference/); + const QValidator *validator() const; + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + int cursorPosition() const; + void setCursorPosition(int); + int cursorPositionAt(const QPoint &pos); + void setAlignment(Qt::Alignment flag); + Qt::Alignment alignment() const; + void cursorForward(bool mark, int steps = 1); + void cursorBackward(bool mark, int steps = 1); + void cursorWordForward(bool mark); + void cursorWordBackward(bool mark); + void backspace(); + void del() /PyName=del_/; + void home(bool mark); + void end(bool mark); + bool isModified() const; + void setModified(bool); + void setSelection(int, int); + bool hasSelectedText() const; + QString selectedText() const; + int selectionStart() const; + bool isUndoAvailable() const; + bool isRedoAvailable() const; + void setDragEnabled(bool b); + bool dragEnabled() const; + QString inputMask() const; + void setInputMask(const QString &inputMask); + bool hasAcceptableInput() const; + void setText(const QString &); + void clear(); + void selectAll(); + void undo(); + void redo(); + void cut(); + void copy() const; + void paste(); + void deselect(); + void insert(const QString &); + QMenu *createStandardContextMenu() /Factory/; + +signals: + void textChanged(const QString &); + void textEdited(const QString &); + void cursorPositionChanged(int, int); + void returnPressed(); + void editingFinished(); + void selectionChanged(); + +protected: + void initStyleOption(QStyleOptionFrame *option) const; + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseDoubleClickEvent(QMouseEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void focusInEvent(QFocusEvent *); + virtual void focusOutEvent(QFocusEvent *); + virtual void paintEvent(QPaintEvent *); + virtual void dragEnterEvent(QDragEnterEvent *); + virtual void dragMoveEvent(QDragMoveEvent *e); + virtual void dragLeaveEvent(QDragLeaveEvent *e); + virtual void dropEvent(QDropEvent *); + virtual void changeEvent(QEvent *); + virtual void contextMenuEvent(QContextMenuEvent *); + virtual void inputMethodEvent(QInputMethodEvent *); + QRect cursorRect() const; + +public: + virtual QVariant inputMethodQuery(Qt::InputMethodQuery) const; + virtual bool event(QEvent *); + void setCompleter(QCompleter *completer /KeepReference/); + QCompleter *completer() const; + void setTextMargins(int left, int top, int right, int bottom); + void getTextMargins(int *left, int *top, int *right, int *bottom) const; + void setTextMargins(const QMargins &margins); + QMargins textMargins() const; + QString placeholderText() const; + void setPlaceholderText(const QString &); + void setCursorMoveStyle(Qt::CursorMoveStyle style); + Qt::CursorMoveStyle cursorMoveStyle() const; +%If (Qt_5_2_0 -) + + enum ActionPosition + { + LeadingPosition, + TrailingPosition, + }; + +%End +%If (Qt_5_2_0 -) + void setClearButtonEnabled(bool enable); +%End +%If (Qt_5_2_0 -) + bool isClearButtonEnabled() const; +%End +%If (Qt_5_2_0 -) + void addAction(QAction *action); +%End +%If (Qt_5_2_0 -) + void addAction(QAction *action, QLineEdit::ActionPosition position); +%End +%If (Qt_5_2_0 -) + QAction *addAction(const QIcon &icon, QLineEdit::ActionPosition position) /Transfer/; +%End +%If (Qt_5_7_0 -) + QVariant inputMethodQuery(Qt::InputMethodQuery property, QVariant argument) const; +%End +%If (Qt_5_10_0 -) + int selectionEnd() const; +%End +%If (Qt_5_10_0 -) + int selectionLength() const; +%End + +signals: +%If (Qt_5_12_0 -) + void inputRejected(); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlistview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlistview.sip new file mode 100644 index 00000000..e89b2a1a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlistview.sip @@ -0,0 +1,147 @@ +// qlistview.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QListView : QAbstractItemView +{ +%TypeHeaderCode +#include +%End + +public: + enum Movement + { + Static, + Free, + Snap, + }; + + enum Flow + { + LeftToRight, + TopToBottom, + }; + + enum ResizeMode + { + Fixed, + Adjust, + }; + + enum LayoutMode + { + SinglePass, + Batched, + }; + + enum ViewMode + { + ListMode, + IconMode, + }; + + explicit QListView(QWidget *parent /TransferThis/ = 0); + virtual ~QListView(); + void setMovement(QListView::Movement movement); + QListView::Movement movement() const; + void setFlow(QListView::Flow flow); + QListView::Flow flow() const; + void setWrapping(bool enable); + bool isWrapping() const; + void setResizeMode(QListView::ResizeMode mode); + QListView::ResizeMode resizeMode() const; + void setLayoutMode(QListView::LayoutMode mode); + QListView::LayoutMode layoutMode() const; + void setSpacing(int space); + int spacing() const; + void setGridSize(const QSize &size); + QSize gridSize() const; + void setViewMode(QListView::ViewMode mode); + QListView::ViewMode viewMode() const; + void clearPropertyFlags(); + bool isRowHidden(int row) const; + void setRowHidden(int row, bool hide); + void setModelColumn(int column); + int modelColumn() const; + void setUniformItemSizes(bool enable); + bool uniformItemSizes() const; + virtual QRect visualRect(const QModelIndex &index) const; + virtual void scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + virtual QModelIndex indexAt(const QPoint &p) const; + virtual void reset(); + virtual void setRootIndex(const QModelIndex &index); + +signals: + void indexesMoved(const QModelIndexList &indexes); + +protected: + virtual void scrollContentsBy(int dx, int dy); + virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); + virtual void rowsInserted(const QModelIndex &parent, int start, int end); + virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); + virtual bool event(QEvent *e); + virtual void mouseMoveEvent(QMouseEvent *e); + virtual void mouseReleaseEvent(QMouseEvent *e); + virtual void timerEvent(QTimerEvent *e); + virtual void resizeEvent(QResizeEvent *e); + virtual void dragMoveEvent(QDragMoveEvent *e); + virtual void dragLeaveEvent(QDragLeaveEvent *e); + virtual void dropEvent(QDropEvent *e); +%If (Qt_5_6_0 -) + virtual void wheelEvent(QWheelEvent *e); +%End + virtual void startDrag(Qt::DropActions supportedActions); + virtual QStyleOptionViewItem viewOptions() const; + virtual void paintEvent(QPaintEvent *e); + virtual int horizontalOffset() const; + virtual int verticalOffset() const; + virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); + QRect rectForIndex(const QModelIndex &index) const; + void setPositionForIndex(const QPoint &position, const QModelIndex &index); + virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); + virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; + virtual QModelIndexList selectedIndexes() const; + virtual void updateGeometries(); + virtual bool isIndexHidden(const QModelIndex &index) const; +%If (Qt_5_2_0 -) + virtual QSize viewportSizeHint() const; +%End + +public: + void setBatchSize(int batchSize); + int batchSize() const; + void setWordWrap(bool on); + bool wordWrap() const; + void setSelectionRectVisible(bool show); + bool isSelectionRectVisible() const; + +protected: + virtual void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected); + virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); + +public: +%If (Qt_5_12_0 -) + void setItemAlignment(Qt::Alignment alignment); +%End +%If (Qt_5_12_0 -) + Qt::Alignment itemAlignment() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlistwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlistwidget.sip new file mode 100644 index 00000000..84b049e8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qlistwidget.sip @@ -0,0 +1,196 @@ +// qlistwidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QListWidgetItem /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum ItemType + { + Type, + UserType, + }; + + QListWidgetItem(QListWidget *parent /TransferThis/ = 0, int type = Type); + QListWidgetItem(const QString &text, QListWidget *parent /TransferThis/ = 0, int type = Type); + QListWidgetItem(const QIcon &icon, const QString &text, QListWidget *parent /TransferThis/ = 0, int type = Type); + QListWidgetItem(const QListWidgetItem &other); + virtual ~QListWidgetItem(); + virtual QListWidgetItem *clone() const /Factory/; + QListWidget *listWidget() const; + Qt::ItemFlags flags() const; + QString text() const; + QIcon icon() const; + QString statusTip() const; + QString toolTip() const; + QString whatsThis() const; + QFont font() const; + int textAlignment() const; + void setTextAlignment(int alignment); + Qt::CheckState checkState() const; + void setCheckState(Qt::CheckState state); + QSize sizeHint() const; + void setSizeHint(const QSize &size); + virtual QVariant data(int role) const; + virtual void setData(int role, const QVariant &value); + virtual bool operator<(const QListWidgetItem &other /NoCopy/) const; + virtual void read(QDataStream &in) /ReleaseGIL/; + virtual void write(QDataStream &out) const /ReleaseGIL/; + int type() const; + void setFlags(Qt::ItemFlags aflags); + void setText(const QString &atext); + void setIcon(const QIcon &aicon); + void setStatusTip(const QString &astatusTip); + void setToolTip(const QString &atoolTip); + void setWhatsThis(const QString &awhatsThis); + void setFont(const QFont &afont); + QBrush background() const; + void setBackground(const QBrush &brush); + QBrush foreground() const; + void setForeground(const QBrush &brush); + void setSelected(bool aselect); + bool isSelected() const; + void setHidden(bool ahide); + bool isHidden() const; + +private: + QListWidgetItem &operator=(const QListWidgetItem &); +}; + +QDataStream &operator<<(QDataStream &out, const QListWidgetItem &item /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &in, QListWidgetItem &item /Constrained/) /ReleaseGIL/; + +class QListWidget : QListView +{ +%TypeHeaderCode +#include +%End + +public: + explicit QListWidget(QWidget *parent /TransferThis/ = 0); + virtual ~QListWidget(); + QListWidgetItem *item(int row) const; + int row(const QListWidgetItem *item) const; + void insertItem(int row, QListWidgetItem *item /Transfer/); + void insertItem(int row, const QString &label); + void insertItems(int row, const QStringList &labels); + void addItem(QListWidgetItem *aitem /Transfer/); + void addItem(const QString &label); + void addItems(const QStringList &labels); + QListWidgetItem *takeItem(int row) /TransferBack/; + int count() const /__len__/; + QListWidgetItem *currentItem() const; + void setCurrentItem(QListWidgetItem *item); + void setCurrentItem(QListWidgetItem *item, QItemSelectionModel::SelectionFlags command); + int currentRow() const; + void setCurrentRow(int row); + void setCurrentRow(int row, QItemSelectionModel::SelectionFlags command); + QListWidgetItem *itemAt(const QPoint &p) const; + QListWidgetItem *itemAt(int ax, int ay) const; + QWidget *itemWidget(QListWidgetItem *item) const; + void setItemWidget(QListWidgetItem *item, QWidget *widget /Transfer/); +%MethodCode + // We have to break the association with any existing widget. + QWidget *w = sipCpp->itemWidget(a0); + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferTo(wo, 0); + } + + Py_BEGIN_ALLOW_THREADS + sipCpp->setItemWidget(a0, a1); + Py_END_ALLOW_THREADS +%End + + QRect visualItemRect(const QListWidgetItem *item) const; + void sortItems(Qt::SortOrder order = Qt::AscendingOrder); + void editItem(QListWidgetItem *item); + void openPersistentEditor(QListWidgetItem *item); + void closePersistentEditor(QListWidgetItem *item); + QList selectedItems() const; + QList findItems(const QString &text, Qt::MatchFlags flags) const; + +public slots: + void clear(); + void scrollToItem(const QListWidgetItem *item, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + +signals: + void itemPressed(QListWidgetItem *item); + void itemClicked(QListWidgetItem *item); + void itemDoubleClicked(QListWidgetItem *item); + void itemActivated(QListWidgetItem *item); + void itemEntered(QListWidgetItem *item); + void itemChanged(QListWidgetItem *item); + void currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous); + void currentTextChanged(const QString ¤tText); + void currentRowChanged(int currentRow); + void itemSelectionChanged(); + +protected: + virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QList items) const /TransferBack/; + virtual bool dropMimeData(int index, const QMimeData *data, Qt::DropAction action); + virtual Qt::DropActions supportedDropActions() const; + QList items(const QMimeData *data) const; + QModelIndex indexFromItem(QListWidgetItem *item) const; + QListWidgetItem *itemFromIndex(const QModelIndex &index) const; + virtual bool event(QEvent *e); + +public: + void setSortingEnabled(bool enable); + bool isSortingEnabled() const; + virtual void dropEvent(QDropEvent *event); + void removeItemWidget(QListWidgetItem *aItem); +%MethodCode + // We have to break the association with any existing widget. + QWidget *w = sipCpp->itemWidget(a0); + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferTo(wo, 0); + } + + Py_BEGIN_ALLOW_THREADS + sipCpp->removeItemWidget(a0); + Py_END_ALLOW_THREADS +%End + +%If (Qt_5_7_0 -) + virtual void setSelectionModel(QItemSelectionModel *selectionModel); +%End +%If (Qt_5_10_0 -) + bool isPersistentEditorOpen(QListWidgetItem *item) const; +%End + +private: + virtual void setModel(QAbstractItemModel *model /KeepReference/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmaccocoaviewcontainer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmaccocoaviewcontainer.sip new file mode 100644 index 00000000..f7e29c4f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmaccocoaviewcontainer.sip @@ -0,0 +1,42 @@ +// This is the SIP interface definition for the QMacCocoaViewContainer. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (WS_MACX) +%If (PyQt_MacOSXOnly) + +class QMacCocoaViewContainer : QWidget /FileExtension=".mm"/ +{ +%TypeHeaderCode +#include +%End + +public: + QMacCocoaViewContainer(void *cocoaViewToWrap, QWidget *parent /TransferThis/ = 0) [(NSView *, QWidget *)]; + virtual ~QMacCocoaViewContainer(); + + void setCocoaView(void *cocoaViewToWrap) [void (NSView *)]; + void *cocoaView() const [NSView * ()]; + +private: + QMacCocoaViewContainer(const QMacCocoaViewContainer &); +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmainwindow.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmainwindow.sip new file mode 100644 index 00000000..84a9516b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmainwindow.sip @@ -0,0 +1,123 @@ +// qmainwindow.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMainWindow : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QMainWindow(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QMainWindow(); + QSize iconSize() const; + void setIconSize(const QSize &iconSize); + Qt::ToolButtonStyle toolButtonStyle() const; + void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle); + QMenuBar *menuBar() const /Transfer/; + void setMenuBar(QMenuBar *menubar /Transfer/); + QStatusBar *statusBar() const /Transfer/; + void setStatusBar(QStatusBar *statusbar /Transfer/); + QWidget *centralWidget() const; + void setCentralWidget(QWidget *widget /Transfer/); + void setCorner(Qt::Corner corner, Qt::DockWidgetArea area); + Qt::DockWidgetArea corner(Qt::Corner corner) const; + void addToolBarBreak(Qt::ToolBarArea area = Qt::TopToolBarArea); + void insertToolBarBreak(QToolBar *before); + void addToolBar(Qt::ToolBarArea area, QToolBar *toolbar /Transfer/); + void addToolBar(QToolBar *toolbar /Transfer/); + QToolBar *addToolBar(const QString &title) /Transfer/; + void insertToolBar(QToolBar *before, QToolBar *toolbar /Transfer/); + void removeToolBar(QToolBar *toolbar); + Qt::ToolBarArea toolBarArea(QToolBar *toolbar) const; + void addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget /Transfer/); + void addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget /Transfer/, Qt::Orientation orientation); + void splitDockWidget(QDockWidget *after, QDockWidget *dockwidget /Transfer/, Qt::Orientation orientation); + void removeDockWidget(QDockWidget *dockwidget /TransferBack/); + Qt::DockWidgetArea dockWidgetArea(QDockWidget *dockwidget) const; + QByteArray saveState(int version = 0) const; + bool restoreState(const QByteArray &state, int version = 0); + virtual QMenu *createPopupMenu(); + +public slots: + void setAnimated(bool enabled); + void setDockNestingEnabled(bool enabled); + +signals: + void iconSizeChanged(const QSize &iconSize); + void toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle); +%If (Qt_5_8_0 -) + void tabifiedDockWidgetActivated(QDockWidget *dockWidget); +%End + +protected: + virtual void contextMenuEvent(QContextMenuEvent *event); + virtual bool event(QEvent *event); + +public: + bool isAnimated() const; + bool isDockNestingEnabled() const; + bool isSeparator(const QPoint &pos) const; + QWidget *menuWidget() const; + void setMenuWidget(QWidget *menubar /Transfer/); + void tabifyDockWidget(QDockWidget *first, QDockWidget *second); + + enum DockOption + { + AnimatedDocks, + AllowNestedDocks, + AllowTabbedDocks, + ForceTabbedDocks, + VerticalTabs, +%If (Qt_5_6_0 -) + GroupedDragging, +%End + }; + + typedef QFlags DockOptions; + void setDockOptions(QMainWindow::DockOptions options); + QMainWindow::DockOptions dockOptions() const; + void removeToolBarBreak(QToolBar *before); + bool toolBarBreak(QToolBar *toolbar) const; +%If (Qt_5_2_0 -) + void setUnifiedTitleAndToolBarOnMac(bool set); +%End +%If (Qt_5_2_0 -) + bool unifiedTitleAndToolBarOnMac() const; +%End + bool restoreDockWidget(QDockWidget *dockwidget); + bool documentMode() const; + void setDocumentMode(bool enabled); + QTabWidget::TabShape tabShape() const; + void setTabShape(QTabWidget::TabShape tabShape); + QTabWidget::TabPosition tabPosition(Qt::DockWidgetArea area) const; + void setTabPosition(Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition); + QList tabifiedDockWidgets(QDockWidget *dockwidget) const; +%If (Qt_5_2_0 -) + QWidget *takeCentralWidget() /TransferBack/; +%End +%If (Qt_5_6_0 -) + void resizeDocks(const QList &docks, const QList &sizes, Qt::Orientation orientation); +%End +}; + +QFlags operator|(QMainWindow::DockOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmdiarea.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmdiarea.sip new file mode 100644 index 00000000..a9a6bf25 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmdiarea.sip @@ -0,0 +1,127 @@ +// qmdiarea.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMdiArea : QAbstractScrollArea +{ +%TypeHeaderCode +#include +%End + +public: + enum AreaOption + { + DontMaximizeSubWindowOnActivation, + }; + + typedef QFlags AreaOptions; + + enum ViewMode + { + SubWindowView, + TabbedView, + }; + + enum WindowOrder + { + CreationOrder, + StackingOrder, + ActivationHistoryOrder, + }; + + QMdiArea(QWidget *parent /TransferThis/ = 0); + virtual ~QMdiArea(); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + QMdiSubWindow *activeSubWindow() const; + QMdiSubWindow *addSubWindow(QWidget *widget /Transfer/, Qt::WindowFlags flags = Qt::WindowFlags()); + QList subWindowList(QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const; + QMdiSubWindow *currentSubWindow() const; + void removeSubWindow(QWidget *widget /GetWrapper/); +%MethodCode + // We need to implement /TransferBack/ on the argument, but it might be the + // QMdiSubWindow that wraps the widget we are really after. + QMdiSubWindow *swin = qobject_cast(a0); + + if (swin) + { + QWidget *w = swin->widget(); + + a0Wrapper = (w ? sipGetPyObject(w, sipType_QWidget) : 0); + } + else + a0Wrapper = 0; + + Py_BEGIN_ALLOW_THREADS + sipCpp->removeSubWindow(a0); + Py_END_ALLOW_THREADS + + if (a0Wrapper) + sipTransferBack(a0Wrapper); +%End + + QBrush background() const; + void setBackground(const QBrush &background); + void setOption(QMdiArea::AreaOption option, bool on = true); + bool testOption(QMdiArea::AreaOption opton) const; + +signals: + void subWindowActivated(QMdiSubWindow *); + +public slots: + void setActiveSubWindow(QMdiSubWindow *window); + void tileSubWindows(); + void cascadeSubWindows(); + void closeActiveSubWindow(); + void closeAllSubWindows(); + void activateNextSubWindow(); + void activatePreviousSubWindow(); + +protected: + virtual void setupViewport(QWidget *viewport); + virtual bool event(QEvent *event); + virtual bool eventFilter(QObject *object, QEvent *event); + virtual void paintEvent(QPaintEvent *paintEvent); + virtual void childEvent(QChildEvent *childEvent); + virtual void resizeEvent(QResizeEvent *resizeEvent); + virtual void timerEvent(QTimerEvent *timerEvent); + virtual void showEvent(QShowEvent *showEvent); + virtual bool viewportEvent(QEvent *event); + virtual void scrollContentsBy(int dx, int dy); + +public: + QMdiArea::WindowOrder activationOrder() const; + void setActivationOrder(QMdiArea::WindowOrder order); + void setViewMode(QMdiArea::ViewMode mode); + QMdiArea::ViewMode viewMode() const; + void setTabShape(QTabWidget::TabShape shape); + QTabWidget::TabShape tabShape() const; + void setTabPosition(QTabWidget::TabPosition position); + QTabWidget::TabPosition tabPosition() const; + bool documentMode() const; + void setDocumentMode(bool enabled); + void setTabsClosable(bool closable); + bool tabsClosable() const; + void setTabsMovable(bool movable); + bool tabsMovable() const; +}; + +QFlags operator|(QMdiArea::AreaOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmdisubwindow.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmdisubwindow.sip new file mode 100644 index 00000000..d8850061 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmdisubwindow.sip @@ -0,0 +1,119 @@ +// qmdisubwindow.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMdiSubWindow : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + enum SubWindowOption + { + RubberBandResize, + RubberBandMove, + }; + + typedef QFlags SubWindowOptions; + QMdiSubWindow(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QMdiSubWindow(); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + void setWidget(QWidget *widget /Transfer/); +%MethodCode + // We have to implement /TransferBack/ on any existing widget. + QWidget *w = sipCpp->widget(); + + Py_BEGIN_ALLOW_THREADS + sipCpp->setWidget(a0); + Py_END_ALLOW_THREADS + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferBack(wo); + } +%End + + QWidget *widget() const; + bool isShaded() const; + void setOption(QMdiSubWindow::SubWindowOption option, bool on = true); + bool testOption(QMdiSubWindow::SubWindowOption) const; + void setKeyboardSingleStep(int step); + int keyboardSingleStep() const; + void setKeyboardPageStep(int step); + int keyboardPageStep() const; + void setSystemMenu(QMenu *systemMenu /Transfer/); +%MethodCode + // We have to break the parent association on any existing menu. + QMenu *w = sipCpp->systemMenu(); + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QMenu); + + if (wo) + sipTransferTo(wo, 0); + } + + Py_BEGIN_ALLOW_THREADS + sipCpp->setSystemMenu(a0); + Py_END_ALLOW_THREADS +%End + + QMenu *systemMenu() const; + QMdiArea *mdiArea() const; + +signals: + void windowStateChanged(Qt::WindowStates oldState, Qt::WindowStates newState); + void aboutToActivate(); + +public slots: + void showSystemMenu(); + void showShaded(); + +protected: + virtual bool eventFilter(QObject *object, QEvent *event); + virtual bool event(QEvent *event); + virtual void showEvent(QShowEvent *showEvent); + virtual void hideEvent(QHideEvent *hideEvent); + virtual void changeEvent(QEvent *changeEvent); + virtual void closeEvent(QCloseEvent *closeEvent); + virtual void leaveEvent(QEvent *leaveEvent); + virtual void resizeEvent(QResizeEvent *resizeEvent); + virtual void timerEvent(QTimerEvent *timerEvent); + virtual void moveEvent(QMoveEvent *moveEvent); + virtual void paintEvent(QPaintEvent *paintEvent); + virtual void mousePressEvent(QMouseEvent *mouseEvent); + virtual void mouseDoubleClickEvent(QMouseEvent *mouseEvent); + virtual void mouseReleaseEvent(QMouseEvent *mouseEvent); + virtual void mouseMoveEvent(QMouseEvent *mouseEvent); + virtual void keyPressEvent(QKeyEvent *keyEvent); + virtual void contextMenuEvent(QContextMenuEvent *contextMenuEvent); + virtual void focusInEvent(QFocusEvent *focusInEvent); + virtual void focusOutEvent(QFocusEvent *focusOutEvent); + virtual void childEvent(QChildEvent *childEvent); +}; + +QFlags operator|(QMdiSubWindow::SubWindowOption f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmenu.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmenu.sip new file mode 100644 index 00000000..5f2a489e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmenu.sip @@ -0,0 +1,163 @@ +// qmenu.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMenu : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QMenu(QWidget *parent /TransferThis/ = 0); + QMenu(const QString &title, QWidget *parent /TransferThis/ = 0); + virtual ~QMenu(); + void addAction(QAction *action); + QAction *addAction(const QString &text) /Transfer/; + QAction *addAction(const QIcon &icon, const QString &text) /Transfer/; + QAction *addAction(const QString &text, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/, const QKeySequence &shortcut = 0) /Transfer/; +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a1, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipRes = sipCpp->addAction(*a0, receiver, slot_signature.constData(), *a2); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(1, a1); + } +%End + + QAction *addAction(const QIcon &icon, const QString &text, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/, const QKeySequence &shortcut = 0) /Transfer/; +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a2, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipRes = sipCpp->addAction(*a0, *a1, receiver, slot_signature.constData(), *a3); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(2, a2); + } +%End + + QAction *addMenu(QMenu *menu); + QMenu *addMenu(const QString &title) /Transfer/; + QMenu *addMenu(const QIcon &icon, const QString &title) /Transfer/; + QAction *addSeparator() /Transfer/; + QAction *insertMenu(QAction *before, QMenu *menu); + QAction *insertSeparator(QAction *before) /Transfer/; + void clear(); + void setTearOffEnabled(bool); + bool isTearOffEnabled() const; + bool isTearOffMenuVisible() const; + void hideTearOffMenu(); + void setDefaultAction(QAction * /KeepReference/); + QAction *defaultAction() const; + void setActiveAction(QAction *act); + QAction *activeAction() const; + void popup(const QPoint &p, QAction *action = 0); + QAction *exec() /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%If (Py_v3) + QAction *exec() /ReleaseGIL/; +%End + QAction *exec(const QPoint &p, QAction *action = 0) /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%If (Py_v3) + QAction *exec(const QPoint &pos, QAction *action = 0) /ReleaseGIL/; +%End + static QAction *exec(QList actions, const QPoint &pos, QAction *at = 0, QWidget *parent = 0) /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,PyName=exec_,ReleaseGIL/; +%If (Py_v3) + static QAction *exec(QList actions, const QPoint &pos, QAction *at = 0, QWidget *parent = 0) /PostHook=__pyQtPostEventLoopHook__,PreHook=__pyQtPreEventLoopHook__,ReleaseGIL/; +%End + virtual QSize sizeHint() const; + QRect actionGeometry(QAction *) const; + QAction *actionAt(const QPoint &) const; + QAction *menuAction() const; + QString title() const; + void setTitle(const QString &title); + QIcon icon() const; + void setIcon(const QIcon &icon); + void setNoReplayFor(QWidget *widget); + +signals: + void aboutToHide(); + void aboutToShow(); + void hovered(QAction *action); + void triggered(QAction *action); + +protected: + int columnCount() const; + void initStyleOption(QStyleOptionMenuItem *option, const QAction *action) const; + virtual void changeEvent(QEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void wheelEvent(QWheelEvent *); + virtual void enterEvent(QEvent *); + virtual void leaveEvent(QEvent *); + virtual void hideEvent(QHideEvent *); + virtual void paintEvent(QPaintEvent *); + virtual void actionEvent(QActionEvent *); + virtual void timerEvent(QTimerEvent *); + virtual bool event(QEvent *); + virtual bool focusNextPrevChild(bool next); + +public: + bool isEmpty() const; + bool separatorsCollapsible() const; + void setSeparatorsCollapsible(bool collapse); +%If (Qt_5_1_0 -) + QAction *addSection(const QString &text) /Transfer/; +%End +%If (Qt_5_1_0 -) + QAction *addSection(const QIcon &icon, const QString &text) /Transfer/; +%End +%If (Qt_5_1_0 -) + QAction *insertSection(QAction *before, const QString &text) /Transfer/; +%End +%If (Qt_5_1_0 -) + QAction *insertSection(QAction *before, const QIcon &icon, const QString &text) /Transfer/; +%End +%If (Qt_5_1_0 -) + bool toolTipsVisible() const; +%End +%If (Qt_5_1_0 -) + void setToolTipsVisible(bool visible); +%End +%If (Qt_5_2_0 -) +%If (WS_MACX) +%If (PyQt_MacOSXOnly) + void setAsDockMenu(); +%End +%End +%End +%If (Qt_5_7_0 -) + void showTearOffMenu(); +%End +%If (Qt_5_7_0 -) + void showTearOffMenu(const QPoint &pos); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmenubar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmenubar.sip new file mode 100644 index 00000000..ce086c24 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmenubar.sip @@ -0,0 +1,93 @@ +// qmenubar.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMenuBar : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QMenuBar(QWidget *parent /TransferThis/ = 0); + virtual ~QMenuBar(); + void addAction(QAction *action); + QAction *addAction(const QString &text) /Transfer/; + QAction *addAction(const QString &text, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /Transfer/; +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a1, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipRes = sipCpp->addAction(*a0, receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(1, a1); + } +%End + + QAction *addMenu(QMenu *menu); + QMenu *addMenu(const QString &title) /Transfer/; + QMenu *addMenu(const QIcon &icon, const QString &title) /Transfer/; + QAction *addSeparator() /Transfer/; + QAction *insertMenu(QAction *before, QMenu *menu); + QAction *insertSeparator(QAction *before) /Transfer/; + void clear(); + QAction *activeAction() const; + void setActiveAction(QAction *action); + void setDefaultUp(bool); + bool isDefaultUp() const; + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + virtual int heightForWidth(int) const; + QRect actionGeometry(QAction *) const; + QAction *actionAt(const QPoint &) const; + void setCornerWidget(QWidget *widget /Transfer/, Qt::Corner corner = Qt::TopRightCorner); + QWidget *cornerWidget(Qt::Corner corner = Qt::TopRightCorner) const; + virtual void setVisible(bool visible); + +signals: + void triggered(QAction *action); + void hovered(QAction *action); + +protected: + void initStyleOption(QStyleOptionMenuItem *option, const QAction *action) const; + virtual void changeEvent(QEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void leaveEvent(QEvent *); + virtual void paintEvent(QPaintEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void actionEvent(QActionEvent *); + virtual void focusOutEvent(QFocusEvent *); + virtual void focusInEvent(QFocusEvent *); + virtual bool eventFilter(QObject *, QEvent *); + virtual bool event(QEvent *); + virtual void timerEvent(QTimerEvent *); + +public: + bool isNativeMenuBar() const; + void setNativeMenuBar(bool nativeMenuBar); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmessagebox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmessagebox.sip new file mode 100644 index 00000000..323e6abd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmessagebox.sip @@ -0,0 +1,172 @@ +// qmessagebox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMessageBox : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + enum ButtonRole + { + InvalidRole, + AcceptRole, + RejectRole, + DestructiveRole, + ActionRole, + HelpRole, + YesRole, + NoRole, + ResetRole, + ApplyRole, + }; + + enum Icon + { + NoIcon, + Information, + Warning, + Critical, + Question, + }; + + enum StandardButton + { + NoButton, + Ok, + Save, + SaveAll, + Open, + Yes, + YesToAll, + No, + NoToAll, + Abort, + Retry, + Ignore, + Close, + Cancel, + Discard, + Help, + Apply, + Reset, + RestoreDefaults, + FirstButton, + LastButton, + YesAll, + NoAll, + Default, + Escape, + FlagMask, + ButtonMask, + }; + + typedef QFlags StandardButtons; + typedef QMessageBox::StandardButton Button; + explicit QMessageBox(QWidget *parent /TransferThis/ = 0); + QMessageBox(QMessageBox::Icon icon, const QString &title, const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint); + virtual ~QMessageBox(); + QString text() const; + void setText(const QString &); + QMessageBox::Icon icon() const; + void setIcon(QMessageBox::Icon); + QPixmap iconPixmap() const; + void setIconPixmap(const QPixmap &); + Qt::TextFormat textFormat() const; + void setTextFormat(Qt::TextFormat); + static QMessageBox::StandardButton information(QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton) /ReleaseGIL/; + static QMessageBox::StandardButton question(QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::StandardButtons(QMessageBox::Yes | QMessageBox::No), QMessageBox::StandardButton defaultButton = QMessageBox::NoButton) /ReleaseGIL/; + static QMessageBox::StandardButton warning(QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton) /ReleaseGIL/; + static QMessageBox::StandardButton critical(QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton) /ReleaseGIL/; + static void about(QWidget *parent, const QString &caption, const QString &text) /ReleaseGIL/; + static void aboutQt(QWidget *parent, const QString &title = QString()) /ReleaseGIL/; + static QPixmap standardIcon(QMessageBox::Icon icon); + +protected: + virtual bool event(QEvent *e); + virtual void resizeEvent(QResizeEvent *); + virtual void showEvent(QShowEvent *); + virtual void closeEvent(QCloseEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void changeEvent(QEvent *); + +public: + void addButton(QAbstractButton *button /Transfer/, QMessageBox::ButtonRole role); + QPushButton *addButton(const QString &text, QMessageBox::ButtonRole role) /Transfer/; + QPushButton *addButton(QMessageBox::StandardButton button) /Transfer/; + void removeButton(QAbstractButton *button /TransferBack/); + void setStandardButtons(QMessageBox::StandardButtons buttons); + QMessageBox::StandardButtons standardButtons() const; + QMessageBox::StandardButton standardButton(QAbstractButton *button) const; + QAbstractButton *button(QMessageBox::StandardButton which) const; + QPushButton *defaultButton() const; + void setDefaultButton(QPushButton *button /KeepReference/); + void setDefaultButton(QMessageBox::StandardButton button); + QAbstractButton *escapeButton() const; + void setEscapeButton(QAbstractButton *button /KeepReference/); + void setEscapeButton(QMessageBox::StandardButton button); + QAbstractButton *clickedButton() const; + QString informativeText() const; + void setInformativeText(const QString &text); + QString detailedText() const; + void setDetailedText(const QString &text); + void setWindowTitle(const QString &title); + void setWindowModality(Qt::WindowModality windowModality); + virtual void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End + + QList buttons() const; + QMessageBox::ButtonRole buttonRole(QAbstractButton *button) const; + +signals: + void buttonClicked(QAbstractButton *button); + +public: +%If (Qt_5_1_0 -) + void setTextInteractionFlags(Qt::TextInteractionFlags flags); +%End +%If (Qt_5_1_0 -) + Qt::TextInteractionFlags textInteractionFlags() const; +%End +%If (Qt_5_2_0 -) + void setCheckBox(QCheckBox *cb); +%End +%If (Qt_5_2_0 -) + QCheckBox *checkBox() const; +%End +}; + +QFlags operator|(QMessageBox::StandardButton f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmouseeventtransition.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmouseeventtransition.sip new file mode 100644 index 00000000..6e0ce520 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qmouseeventtransition.sip @@ -0,0 +1,43 @@ +// qmouseeventtransition.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QMouseEventTransition : QEventTransition +{ +%TypeHeaderCode +#include +%End + +public: + QMouseEventTransition(QState *sourceState /TransferThis/ = 0); + QMouseEventTransition(QObject *object /KeepReference=10/, QEvent::Type type, Qt::MouseButton button, QState *sourceState /TransferThis/ = 0); + virtual ~QMouseEventTransition(); + Qt::MouseButton button() const; + void setButton(Qt::MouseButton button); + Qt::KeyboardModifiers modifierMask() const; + void setModifierMask(Qt::KeyboardModifiers modifiers); + QPainterPath hitTestPath() const; + void setHitTestPath(const QPainterPath &path); + +protected: + virtual void onTransition(QEvent *event); + virtual bool eventTest(QEvent *event); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qopenglwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qopenglwidget.sip new file mode 100644 index 00000000..5f4043a7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qopenglwidget.sip @@ -0,0 +1,85 @@ +// qopenglwidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_4_0 -) +%If (PyQt_OpenGL) + +class QOpenGLWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QOpenGLWidget(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QOpenGLWidget(); + void setFormat(const QSurfaceFormat &format); + QSurfaceFormat format() const; + bool isValid() const; + void makeCurrent(); + void doneCurrent(); + QOpenGLContext *context() const; + GLuint defaultFramebufferObject() const; + QImage grabFramebuffer(); + +signals: + void aboutToCompose(); + void frameSwapped(); + void aboutToResize(); + void resized(); + +protected: + virtual void initializeGL(); + virtual void resizeGL(int w, int h); + virtual void paintGL(); + virtual void paintEvent(QPaintEvent *e); + virtual void resizeEvent(QResizeEvent *e); + virtual bool event(QEvent *e); + virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; + virtual QPaintEngine *paintEngine() const; + +public: +%If (Qt_5_5_0 -) + + enum UpdateBehavior + { + NoPartialUpdate, + PartialUpdate, + }; + +%End +%If (Qt_5_5_0 -) + void setUpdateBehavior(QOpenGLWidget::UpdateBehavior updateBehavior); +%End +%If (Qt_5_5_0 -) + QOpenGLWidget::UpdateBehavior updateBehavior() const; +%End +%If (Qt_5_10_0 -) + GLenum textureFormat() const; +%End +%If (Qt_5_10_0 -) + void setTextureFormat(GLenum texFormat); +%End +}; + +%End +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qplaintextedit.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qplaintextedit.sip new file mode 100644 index 00000000..953753e9 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qplaintextedit.sip @@ -0,0 +1,217 @@ +// qplaintextedit.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPlainTextEdit : QAbstractScrollArea +{ +%TypeHeaderCode +#include +%End + +public: + enum LineWrapMode + { + NoWrap, + WidgetWidth, + }; + + explicit QPlainTextEdit(QWidget *parent /TransferThis/ = 0); + QPlainTextEdit(const QString &text, QWidget *parent /TransferThis/ = 0); + virtual ~QPlainTextEdit(); + void setDocument(QTextDocument *document /KeepReference/); + QTextDocument *document() const; + void setTextCursor(const QTextCursor &cursor); + QTextCursor textCursor() const; + bool isReadOnly() const; + void setReadOnly(bool ro); + void setTextInteractionFlags(Qt::TextInteractionFlags flags); + Qt::TextInteractionFlags textInteractionFlags() const; + void mergeCurrentCharFormat(const QTextCharFormat &modifier); + void setCurrentCharFormat(const QTextCharFormat &format); + QTextCharFormat currentCharFormat() const; + bool tabChangesFocus() const; + void setTabChangesFocus(bool b); + void setDocumentTitle(const QString &title); + QString documentTitle() const; + bool isUndoRedoEnabled() const; + void setUndoRedoEnabled(bool enable); + void setMaximumBlockCount(int maximum); + int maximumBlockCount() const; + QPlainTextEdit::LineWrapMode lineWrapMode() const; + void setLineWrapMode(QPlainTextEdit::LineWrapMode mode); + QTextOption::WrapMode wordWrapMode() const; + void setWordWrapMode(QTextOption::WrapMode policy); + void setBackgroundVisible(bool visible); + bool backgroundVisible() const; + void setCenterOnScroll(bool enabled); + bool centerOnScroll() const; + bool find(const QString &exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + QString toPlainText() const; + void ensureCursorVisible(); + virtual QVariant loadResource(int type, const QUrl &name); + QMenu *createStandardContextMenu() /Factory/; +%If (Qt_5_5_0 -) + QMenu *createStandardContextMenu(const QPoint &position) /Factory/; +%End + QTextCursor cursorForPosition(const QPoint &pos) const; + QRect cursorRect(const QTextCursor &cursor) const; + QRect cursorRect() const; + bool overwriteMode() const; + void setOverwriteMode(bool overwrite); + int tabStopWidth() const; + void setTabStopWidth(int width); + int cursorWidth() const; + void setCursorWidth(int width); + void setExtraSelections(const QList &selections); + QList extraSelections() const; + void moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool canPaste() const; +%If (PyQt_Printer) + void print(QPagedPaintDevice *printer) const /PyName=print_/; +%End +%If (Py_v3) +%If (PyQt_Printer) + void print(QPagedPaintDevice *printer) const; +%End +%End + int blockCount() const; + +public slots: + void setPlainText(const QString &text); + void cut(); + void copy(); + void paste(); + void undo(); + void redo(); + void clear(); + void selectAll(); + void insertPlainText(const QString &text); + void appendPlainText(const QString &text); + void appendHtml(const QString &html); + void centerCursor(); + +signals: + void textChanged(); + void undoAvailable(bool b); + void redoAvailable(bool b); + void copyAvailable(bool b); + void selectionChanged(); + void cursorPositionChanged(); + void updateRequest(const QRect &rect, int dy); + void blockCountChanged(int newBlockCount); + void modificationChanged(bool); + +protected: + virtual bool event(QEvent *e); + virtual void timerEvent(QTimerEvent *e); + virtual void keyPressEvent(QKeyEvent *e); + virtual void keyReleaseEvent(QKeyEvent *e); + virtual void resizeEvent(QResizeEvent *e); + virtual void paintEvent(QPaintEvent *e); + virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseMoveEvent(QMouseEvent *e); + virtual void mouseReleaseEvent(QMouseEvent *e); + virtual void mouseDoubleClickEvent(QMouseEvent *e); + virtual bool focusNextPrevChild(bool next); + virtual void contextMenuEvent(QContextMenuEvent *e); + virtual void dragEnterEvent(QDragEnterEvent *e); + virtual void dragLeaveEvent(QDragLeaveEvent *e); + virtual void dragMoveEvent(QDragMoveEvent *e); + virtual void dropEvent(QDropEvent *e); + virtual void focusInEvent(QFocusEvent *e); + virtual void focusOutEvent(QFocusEvent *e); + virtual void showEvent(QShowEvent *); + virtual void changeEvent(QEvent *e); + virtual void wheelEvent(QWheelEvent *e); + virtual void inputMethodEvent(QInputMethodEvent *); + +public: + virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; + +protected: + virtual QMimeData *createMimeDataFromSelection() const /Factory/; + virtual bool canInsertFromMimeData(const QMimeData *source) const; + virtual void insertFromMimeData(const QMimeData *source); + virtual void scrollContentsBy(int dx, int dy); + QTextBlock firstVisibleBlock() const; + QPointF contentOffset() const; + QRectF blockBoundingRect(const QTextBlock &block) const; + QRectF blockBoundingGeometry(const QTextBlock &block) const; + QAbstractTextDocumentLayout::PaintContext getPaintContext() const; + +public: + QString anchorAt(const QPoint &pos) const; + +public slots: +%If (Qt_5_1_0 -) + void zoomIn(int range = 1); +%End +%If (Qt_5_1_0 -) + void zoomOut(int range = 1); +%End + +public: +%If (Qt_5_3_0 -) + void setPlaceholderText(const QString &placeholderText); +%End +%If (Qt_5_3_0 -) + QString placeholderText() const; +%End +%If (Qt_5_3_0 -) + bool find(const QRegExp &exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); +%End +%If (Qt_5_13_0 -) + bool find(const QRegularExpression &exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); +%End +%If (Qt_5_3_0 -) + QVariant inputMethodQuery(Qt::InputMethodQuery query, QVariant argument) const; +%End +%If (Qt_5_10_0 -) + qreal tabStopDistance() const; +%End +%If (Qt_5_10_0 -) + void setTabStopDistance(qreal distance); +%End +}; + +class QPlainTextDocumentLayout : QAbstractTextDocumentLayout +{ +%TypeHeaderCode +#include +%End + +public: + QPlainTextDocumentLayout(QTextDocument *document); + virtual ~QPlainTextDocumentLayout(); + virtual void draw(QPainter *, const QAbstractTextDocumentLayout::PaintContext &); + virtual int hitTest(const QPointF &, Qt::HitTestAccuracy) const; + virtual int pageCount() const; + virtual QSizeF documentSize() const; + virtual QRectF frameBoundingRect(QTextFrame *) const; + virtual QRectF blockBoundingRect(const QTextBlock &block) const; + void ensureBlockLayout(const QTextBlock &block) const; + void setCursorWidth(int width); + int cursorWidth() const; + void requestUpdate(); + +protected: + virtual void documentChanged(int from, int, int charsAdded); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qprogressbar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qprogressbar.sip new file mode 100644 index 00000000..3d330e05 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qprogressbar.sip @@ -0,0 +1,72 @@ +// qprogressbar.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QProgressBar : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + enum Direction + { + TopToBottom, + BottomToTop, + }; + + explicit QProgressBar(QWidget *parent /TransferThis/ = 0); + virtual ~QProgressBar(); + int minimum() const; + int maximum() const; + void setRange(int minimum, int maximum); + int value() const; + virtual QString text() const; + void setTextVisible(bool visible); + bool isTextVisible() const; + Qt::Alignment alignment() const; + void setAlignment(Qt::Alignment alignment); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + Qt::Orientation orientation() const; + void setInvertedAppearance(bool invert); + void setTextDirection(QProgressBar::Direction textDirection); + void setFormat(const QString &format); + QString format() const; +%If (Qt_5_1_0 -) + void resetFormat(); +%End + +public slots: + void reset(); + void setMinimum(int minimum); + void setMaximum(int maximum); + void setValue(int value); + void setOrientation(Qt::Orientation); + +signals: + void valueChanged(int value); + +protected: + void initStyleOption(QStyleOptionProgressBar *option) const; + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qprogressdialog.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qprogressdialog.sip new file mode 100644 index 00000000..35938d79 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qprogressdialog.sip @@ -0,0 +1,85 @@ +// qprogressdialog.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QProgressDialog : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + QProgressDialog(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + QProgressDialog(const QString &labelText, const QString &cancelButtonText, int minimum, int maximum, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QProgressDialog(); + void setLabel(QLabel *label /Transfer/); + void setCancelButton(QPushButton *button /Transfer/); + void setBar(QProgressBar *bar /Transfer/); + bool wasCanceled() const; + int minimum() const; + int maximum() const; + void setRange(int minimum, int maximum); + int value() const; + virtual QSize sizeHint() const; + QString labelText() const; + int minimumDuration() const; + void setAutoReset(bool b); + bool autoReset() const; + void setAutoClose(bool b); + bool autoClose() const; + +public slots: + void cancel(); + void reset(); + void setMaximum(int maximum); + void setMinimum(int minimum); + void setValue(int progress); + void setLabelText(const QString &); + void setCancelButtonText(const QString &); + void setMinimumDuration(int ms); + +signals: + void canceled(); + +protected: + virtual void resizeEvent(QResizeEvent *); + virtual void closeEvent(QCloseEvent *); + virtual void changeEvent(QEvent *); + virtual void showEvent(QShowEvent *e); + void forceShow(); + +public: + void open(); + void open(SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/); +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipCpp->open(receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(0, a0); + } +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qproxystyle.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qproxystyle.sip new file mode 100644 index 00000000..47bcac51 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qproxystyle.sip @@ -0,0 +1,61 @@ +// qproxystyle.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QProxyStyle : QCommonStyle +{ +%TypeHeaderCode +#include +%End + +public: + QProxyStyle(QStyle *style /Transfer/ = 0); + QProxyStyle(const QString &key); + virtual ~QProxyStyle(); + QStyle *baseStyle() const; + void setBaseStyle(QStyle *style /Transfer/); + virtual void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = 0) const; + virtual void drawControl(QStyle::ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = 0) const; + virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget = 0) const; + virtual void drawItemText(QPainter *painter, const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole = QPalette::NoRole) const; + virtual void drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const; + virtual QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const; + virtual QRect subElementRect(QStyle::SubElement element, const QStyleOption *option, const QWidget *widget) const; + virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex *opt, QStyle::SubControl sc, const QWidget *widget) const; + virtual QRect itemTextRect(const QFontMetrics &fm, const QRect &r, int flags, bool enabled, const QString &text) const; + virtual QRect itemPixmapRect(const QRect &r, int flags, const QPixmap &pixmap) const; + virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex *option, const QPoint &pos, const QWidget *widget = 0) const; + virtual int styleHint(QStyle::StyleHint hint, const QStyleOption *option = 0, const QWidget *widget = 0, QStyleHintReturn *returnData = 0) const; + virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption *option = 0, const QWidget *widget = 0) const; + virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption *option = 0, const QWidget *widget = 0) const; + virtual QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption *option = 0, const QWidget *widget = 0) const; + virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget = 0) const; + virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const; + virtual QPalette standardPalette() const; + virtual void polish(QWidget *widget); + virtual void polish(QPalette &pal /In,Out/); + virtual void polish(QApplication *app); + virtual void unpolish(QWidget *widget); + virtual void unpolish(QApplication *app); + +protected: + virtual bool event(QEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qpushbutton.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qpushbutton.sip new file mode 100644 index 00000000..00873c6f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qpushbutton.sip @@ -0,0 +1,64 @@ +// qpushbutton.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QPushButton : QAbstractButton +{ +%TypeHeaderCode +#include +%End + +public: + explicit QPushButton(QWidget *parent /TransferThis/ = 0); + QPushButton(const QString &text, QWidget *parent /TransferThis/ = 0); + QPushButton(const QIcon &icon, const QString &text, QWidget *parent /TransferThis/ = 0); + virtual ~QPushButton(); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + bool autoDefault() const; + void setAutoDefault(bool); + bool isDefault() const; + void setDefault(bool); + void setMenu(QMenu *menu /KeepReference/); + QMenu *menu() const; + void setFlat(bool); + bool isFlat() const; + +public slots: + void showMenu(); + +protected: + void initStyleOption(QStyleOptionButton *option) const; + virtual bool event(QEvent *e) /ReleaseGIL/; + virtual void paintEvent(QPaintEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void focusInEvent(QFocusEvent *); + virtual void focusOutEvent(QFocusEvent *); +%If (Qt_5_15_0 -) + virtual bool hitButton(const QPoint &pos) const; +%End +// Protected platform specific methods. +%If (- Qt_5_15_0) +%If (WS_MACX) +bool hitButton(const QPoint &pos) const; +%End +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qpywidgets_qlist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qpywidgets_qlist.sip new file mode 100644 index 00000000..eb8096e7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qpywidgets_qlist.sip @@ -0,0 +1,124 @@ +// This is the SIP interface definition for the QList based mapped types +// specific to the QtWidgets module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%MappedType QList + /TypeHintIn="Iterable[QWizard.WizardButton]", + TypeHintOut="List[QWizard.WizardButton]", TypeHintValue="[]"/ +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + PyObject *l = PyList_New(sipCpp->size()); + + if (!l) + return 0; + + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *eobj = sipConvertFromEnum(sipCpp->at(i), + sipType_QWizard_WizardButton); + + if (!eobj) + { + Py_DECREF(l); + + return 0; + } + + PyList_SetItem(l, i, eobj); + } + + return l; +%End + +%ConvertToTypeCode + PyObject *iter = PyObject_GetIter(sipPy); + + if (!sipIsErr) + { + PyErr_Clear(); + Py_XDECREF(iter); + + return (iter +#if PY_MAJOR_VERSION < 3 + && !PyString_Check(sipPy) +#endif + && !PyUnicode_Check(sipPy)); + } + + if (!iter) + { + *sipIsErr = 1; + + return 0; + } + + QList *ql = new QList; + + for (Py_ssize_t i = 0; ; ++i) + { + PyErr_Clear(); + PyObject *itm = PyIter_Next(iter); + + if (!itm) + { + if (PyErr_Occurred()) + { + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + break; + } + + int v = sipConvertToEnum(itm, sipType_QWizard_WizardButton); + + if (PyErr_Occurred()) + { + PyErr_Format(PyExc_TypeError, + "index %zd has type '%s' but 'QWizard.WizardButton' is expected", + i, sipPyTypeName(Py_TYPE(itm))); + + Py_DECREF(itm); + delete ql; + Py_DECREF(iter); + *sipIsErr = 1; + + return 0; + } + + ql->append(static_cast(v)); + + Py_DECREF(itm); + } + + Py_DECREF(iter); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qradiobutton.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qradiobutton.sip new file mode 100644 index 00000000..d6fa6eb1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qradiobutton.sip @@ -0,0 +1,42 @@ +// qradiobutton.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRadioButton : QAbstractButton +{ +%TypeHeaderCode +#include +%End + +public: + explicit QRadioButton(QWidget *parent /TransferThis/ = 0); + QRadioButton(const QString &text, QWidget *parent /TransferThis/ = 0); + virtual ~QRadioButton(); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + +protected: + void initStyleOption(QStyleOptionButton *button) const; + virtual bool hitButton(const QPoint &) const; + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); + virtual void mouseMoveEvent(QMouseEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qrubberband.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qrubberband.sip new file mode 100644 index 00000000..a906af90 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qrubberband.sip @@ -0,0 +1,54 @@ +// qrubberband.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QRubberBand : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + enum Shape + { + Line, + Rectangle, + }; + + QRubberBand(QRubberBand::Shape, QWidget *parent /TransferThis/ = 0); + virtual ~QRubberBand(); + QRubberBand::Shape shape() const; + void setGeometry(const QRect &r); + void setGeometry(int ax, int ay, int aw, int ah); + void move(const QPoint &p); + void move(int ax, int ay); + void resize(int w, int h); + void resize(const QSize &s); + +protected: + void initStyleOption(QStyleOptionRubberBand *option) const; + virtual bool event(QEvent *e); + virtual void paintEvent(QPaintEvent *); + virtual void changeEvent(QEvent *); + virtual void showEvent(QShowEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void moveEvent(QMoveEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollarea.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollarea.sip new file mode 100644 index 00000000..12b47ffa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollarea.sip @@ -0,0 +1,52 @@ +// qscrollarea.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QScrollArea : QAbstractScrollArea +{ +%TypeHeaderCode +#include +%End + +public: + explicit QScrollArea(QWidget *parent /TransferThis/ = 0); + virtual ~QScrollArea(); + QWidget *widget() const; + void setWidget(QWidget *w /Transfer/); + QWidget *takeWidget() /TransferBack/; + bool widgetResizable() const; + void setWidgetResizable(bool resizable); + Qt::Alignment alignment() const; + void setAlignment(Qt::Alignment); + virtual QSize sizeHint() const; + virtual bool focusNextPrevChild(bool next); + void ensureVisible(int x, int y, int xMargin = 50, int yMargin = 50); + void ensureWidgetVisible(QWidget *childWidget, int xMargin = 50, int yMargin = 50); + +protected: + virtual bool event(QEvent *); + virtual bool eventFilter(QObject *, QEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void scrollContentsBy(int dx, int dy); +%If (Qt_5_2_0 -) + virtual QSize viewportSizeHint() const; +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollbar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollbar.sip new file mode 100644 index 00000000..f6544937 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollbar.sip @@ -0,0 +1,46 @@ +// qscrollbar.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QScrollBar : QAbstractSlider +{ +%TypeHeaderCode +#include +%End + +public: + explicit QScrollBar(QWidget *parent /TransferThis/ = 0); + QScrollBar(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0); + virtual ~QScrollBar(); + virtual QSize sizeHint() const; + virtual bool event(QEvent *event); + +protected: + void initStyleOption(QStyleOptionSlider *option) const; + virtual void paintEvent(QPaintEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void hideEvent(QHideEvent *); + virtual void contextMenuEvent(QContextMenuEvent *); + virtual void wheelEvent(QWheelEvent *); + virtual void sliderChange(QAbstractSlider::SliderChange change); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscroller.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscroller.sip new file mode 100644 index 00000000..d6c016fb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscroller.sip @@ -0,0 +1,88 @@ +// qscroller.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QScroller : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum State + { + Inactive, + Pressed, + Dragging, + Scrolling, + }; + + enum ScrollerGestureType + { + TouchGesture, + LeftMouseButtonGesture, + RightMouseButtonGesture, + MiddleMouseButtonGesture, + }; + + enum Input + { + InputPress, + InputMove, + InputRelease, + }; + + static bool hasScroller(QObject *target); + static QScroller *scroller(QObject *target); + static Qt::GestureType grabGesture(QObject *target, QScroller::ScrollerGestureType scrollGestureType = QScroller::TouchGesture); + static Qt::GestureType grabbedGesture(QObject *target); + static void ungrabGesture(QObject *target); + static QList activeScrollers(); + QObject *target() const; + QScroller::State state() const; + bool handleInput(QScroller::Input input, const QPointF &position, qint64 timestamp = 0); + void stop(); + QPointF velocity() const; + QPointF finalPosition() const; + QPointF pixelPerMeter() const; + QScrollerProperties scrollerProperties() const; + void setSnapPositionsX(const QList &positions); + void setSnapPositionsX(qreal first, qreal interval); + void setSnapPositionsY(const QList &positions); + void setSnapPositionsY(qreal first, qreal interval); + +public slots: + void setScrollerProperties(const QScrollerProperties &prop); + void scrollTo(const QPointF &pos); + void scrollTo(const QPointF &pos, int scrollTime); + void ensureVisible(const QRectF &rect, qreal xmargin, qreal ymargin); + void ensureVisible(const QRectF &rect, qreal xmargin, qreal ymargin, int scrollTime); + void resendPrepareEvent(); + +signals: + void stateChanged(QScroller::State newstate); + void scrollerPropertiesChanged(const QScrollerProperties &); + +private: + QScroller(QObject *target); + virtual ~QScroller(); + QScroller(const QScroller &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollerproperties.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollerproperties.sip new file mode 100644 index 00000000..ee967e78 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qscrollerproperties.sip @@ -0,0 +1,80 @@ +// qscrollerproperties.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QScrollerProperties +{ +%TypeHeaderCode +#include +%End + +public: + QScrollerProperties(); + QScrollerProperties(const QScrollerProperties &sp); + virtual ~QScrollerProperties(); + bool operator==(const QScrollerProperties &sp) const; + bool operator!=(const QScrollerProperties &sp) const; + static void setDefaultScrollerProperties(const QScrollerProperties &sp); + static void unsetDefaultScrollerProperties(); + + enum OvershootPolicy + { + OvershootWhenScrollable, + OvershootAlwaysOff, + OvershootAlwaysOn, + }; + + enum FrameRates + { + Standard, + Fps60, + Fps30, + Fps20, + }; + + enum ScrollMetric + { + MousePressEventDelay, + DragStartDistance, + DragVelocitySmoothingFactor, + AxisLockThreshold, + ScrollingCurve, + DecelerationFactor, + MinimumVelocity, + MaximumVelocity, + MaximumClickThroughVelocity, + AcceleratingFlickMaximumTime, + AcceleratingFlickSpeedupFactor, + SnapPositionRatio, + SnapTime, + OvershootDragResistanceFactor, + OvershootDragDistanceFactor, + OvershootScrollDistanceFactor, + OvershootScrollTime, + HorizontalOvershootPolicy, + VerticalOvershootPolicy, + FrameRate, + ScrollMetricCount, + }; + + QVariant scrollMetric(QScrollerProperties::ScrollMetric metric) const; + void setScrollMetric(QScrollerProperties::ScrollMetric metric, const QVariant &value); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qshortcut.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qshortcut.sip new file mode 100644 index 00000000..003a5f3f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qshortcut.sip @@ -0,0 +1,101 @@ +// qshortcut.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QShortcut : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QShortcut(QWidget *parent /TransferThis/); + QShortcut(const QKeySequence &key, QWidget *parent /TransferThis/, SIP_PYOBJECT member /TypeHint="PYQT_SLOT"/ = 0, SIP_PYOBJECT ambiguousMember /TypeHint="PYQT_SLOT"/ = 0, Qt::ShortcutContext context = Qt::WindowShortcut) [(const QKeySequence &key, QWidget *parent, const char *member = 0, const char *ambiguousMember = 0, Qt::ShortcutContext context = Qt::WindowShortcut)]; +%MethodCode + // Construct the shortcut without any connections. + Py_BEGIN_ALLOW_THREADS + sipCpp = new sipQShortcut(*a0, a1, 0, 0, a4); + Py_END_ALLOW_THREADS + + if (a2) + { + QObject *rx2; + QByteArray member2; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a2, sipCpp, "()", false, &rx2, member2)) == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + QObject::connect(sipCpp, SIGNAL(activated()), rx2, + member2.constData()); + Py_END_ALLOW_THREADS + } + else + { + delete sipCpp; + + if (sipError == sipErrorContinue) + sipError = sipBadCallableArg(2, a2); + } + } + + if (a3) + { + QObject *rx3; + QByteArray member3; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a3, sipCpp, "()", false, &rx3, member3)) == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + QObject::connect(sipCpp, SIGNAL(activatedAmbiguously()), rx3, + member3.constData()); + Py_END_ALLOW_THREADS + } + else + { + delete sipCpp; + + if (sipError == sipErrorContinue) + sipError = sipBadCallableArg(3, a3); + } + } +%End + + virtual ~QShortcut(); + void setKey(const QKeySequence &key); + QKeySequence key() const; + void setEnabled(bool enable); + bool isEnabled() const; + void setContext(Qt::ShortcutContext context); + Qt::ShortcutContext context() const; + void setWhatsThis(const QString &text); + QString whatsThis() const; + int id() const; + QWidget *parentWidget() const; + void setAutoRepeat(bool on); + bool autoRepeat() const; + +signals: + void activated(); + void activatedAmbiguously(); + +protected: + virtual bool event(QEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsizegrip.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsizegrip.sip new file mode 100644 index 00000000..afe0ce77 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsizegrip.sip @@ -0,0 +1,45 @@ +// qsizegrip.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSizeGrip : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSizeGrip(QWidget *parent /TransferThis/); + virtual ~QSizeGrip(); + virtual QSize sizeHint() const; + virtual void setVisible(bool); + +protected: + virtual void paintEvent(QPaintEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *mouseEvent); + virtual void mouseMoveEvent(QMouseEvent *); + virtual bool eventFilter(QObject *, QEvent *); + virtual bool event(QEvent *); + virtual void moveEvent(QMoveEvent *moveEvent); + virtual void showEvent(QShowEvent *showEvent); + virtual void hideEvent(QHideEvent *hideEvent); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsizepolicy.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsizepolicy.sip new file mode 100644 index 00000000..3e1f8eed --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsizepolicy.sip @@ -0,0 +1,118 @@ +// qsizepolicy.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSizePolicy +{ +%TypeHeaderCode +#include +%End + +public: + enum PolicyFlag + { + GrowFlag, + ExpandFlag, + ShrinkFlag, + IgnoreFlag, + }; + + enum Policy + { + Fixed, + Minimum, + Maximum, + Preferred, + MinimumExpanding, + Expanding, + Ignored, + }; + + QSizePolicy(); + QSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type = QSizePolicy::DefaultType); + QSizePolicy(const QVariant &variant /GetWrapper/) /NoDerived/; +%MethodCode + if (a0->canConvert()) + sipCpp = new QSizePolicy(a0->value()); + else + sipError = sipBadCallableArg(0, a0Wrapper); +%End + + QSizePolicy::Policy horizontalPolicy() const; + QSizePolicy::Policy verticalPolicy() const; + void setHorizontalPolicy(QSizePolicy::Policy d); + void setVerticalPolicy(QSizePolicy::Policy d); + Qt::Orientations expandingDirections() const; + void setHeightForWidth(bool b); + bool hasHeightForWidth() const; + bool operator==(const QSizePolicy &s) const; + bool operator!=(const QSizePolicy &s) const; + int horizontalStretch() const; + int verticalStretch() const; + void setHorizontalStretch(int stretchFactor); + void setVerticalStretch(int stretchFactor); + void transpose(); +%If (Qt_5_9_0 -) + QSizePolicy transposed() const; +%End + + enum ControlType + { + DefaultType, + ButtonBox, + CheckBox, + ComboBox, + Frame, + GroupBox, + Label, + Line, + LineEdit, + PushButton, + RadioButton, + Slider, + SpinBox, + TabWidget, + ToolButton, + }; + + typedef QFlags ControlTypes; + QSizePolicy::ControlType controlType() const; + void setControlType(QSizePolicy::ControlType type); + void setWidthForHeight(bool b); + bool hasWidthForHeight() const; +%If (Qt_5_2_0 -) + bool retainSizeWhenHidden() const; +%End +%If (Qt_5_2_0 -) + void setRetainSizeWhenHidden(bool retainSize); +%End +%If (Qt_5_6_0 -) + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End + +%End +}; + +QDataStream &operator<<(QDataStream &, const QSizePolicy & /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &, QSizePolicy & /Constrained/) /ReleaseGIL/; +QFlags operator|(QSizePolicy::ControlType f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qslider.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qslider.sip new file mode 100644 index 00000000..cf28bc9f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qslider.sip @@ -0,0 +1,57 @@ +// qslider.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSlider : QAbstractSlider +{ +%TypeHeaderCode +#include +%End + +public: + enum TickPosition + { + NoTicks, + TicksAbove, + TicksLeft, + TicksBelow, + TicksRight, + TicksBothSides, + }; + + explicit QSlider(QWidget *parent /TransferThis/ = 0); + QSlider(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0); + virtual ~QSlider(); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + void setTickPosition(QSlider::TickPosition position); + QSlider::TickPosition tickPosition() const; + void setTickInterval(int ti); + int tickInterval() const; + virtual bool event(QEvent *event); + +protected: + void initStyleOption(QStyleOptionSlider *option) const; + virtual void paintEvent(QPaintEvent *ev); + virtual void mousePressEvent(QMouseEvent *ev); + virtual void mouseReleaseEvent(QMouseEvent *ev); + virtual void mouseMoveEvent(QMouseEvent *ev); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qspinbox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qspinbox.sip new file mode 100644 index 00000000..38ee9b22 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qspinbox.sip @@ -0,0 +1,124 @@ +// qspinbox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSpinBox : QAbstractSpinBox +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSpinBox(QWidget *parent /TransferThis/ = 0); + virtual ~QSpinBox(); + int value() const; + QString prefix() const; + void setPrefix(const QString &p); + QString suffix() const; + void setSuffix(const QString &s); + QString cleanText() const; + int singleStep() const; + void setSingleStep(int val); + int minimum() const; + void setMinimum(int min); + int maximum() const; + void setMaximum(int max); + void setRange(int min, int max); + +protected: + virtual QValidator::State validate(QString &input /In,Out/, int &pos /In,Out/) const; + virtual int valueFromText(const QString &text) const; + virtual QString textFromValue(int v) const; + virtual void fixup(QString &str /In,Out/) const; + virtual bool event(QEvent *e); + +public slots: + void setValue(int val); + +signals: + void valueChanged(int); + void valueChanged(const QString &); +%If (Qt_5_14_0 -) + void textChanged(const QString &); +%End + +public: +%If (Qt_5_2_0 -) + int displayIntegerBase() const; +%End +%If (Qt_5_2_0 -) + void setDisplayIntegerBase(int base); +%End +%If (Qt_5_12_0 -) + QAbstractSpinBox::StepType stepType() const; +%End +%If (Qt_5_12_0 -) + void setStepType(QAbstractSpinBox::StepType stepType); +%End +}; + +class QDoubleSpinBox : QAbstractSpinBox +{ +%TypeHeaderCode +#include +%End + +public: + explicit QDoubleSpinBox(QWidget *parent /TransferThis/ = 0); + virtual ~QDoubleSpinBox(); + double value() const; + QString prefix() const; + void setPrefix(const QString &p); + QString suffix() const; + void setSuffix(const QString &s); + QString cleanText() const; + double singleStep() const; + void setSingleStep(double val); + double minimum() const; + void setMinimum(double min); + double maximum() const; + void setMaximum(double max); + void setRange(double min, double max); + int decimals() const; + void setDecimals(int prec); + virtual QValidator::State validate(QString &input /In,Out/, int &pos /In,Out/) const; + virtual double valueFromText(const QString &text) const; + virtual QString textFromValue(double v) const; + virtual void fixup(QString &str /In,Out/) const; + +public slots: + void setValue(double val); + +signals: + void valueChanged(double); + void valueChanged(const QString &); +%If (Qt_5_14_0 -) + void textChanged(const QString &); +%End + +public: +%If (Qt_5_12_0 -) + QAbstractSpinBox::StepType stepType() const; +%End +%If (Qt_5_12_0 -) + void setStepType(QAbstractSpinBox::StepType stepType); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsplashscreen.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsplashscreen.sip new file mode 100644 index 00000000..a3a1daba --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsplashscreen.sip @@ -0,0 +1,55 @@ +// qsplashscreen.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSplashScreen : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QSplashScreen(const QPixmap &pixmap = QPixmap(), Qt::WindowFlags flags = Qt::WindowFlags()); + QSplashScreen(QWidget *parent /TransferThis/, const QPixmap &pixmap = QPixmap(), Qt::WindowFlags flags = Qt::WindowFlags()); +%If (Qt_5_15_0 -) + QSplashScreen(QScreen *screen, const QPixmap &pixmap = QPixmap(), Qt::WindowFlags flags = Qt::WindowFlags()); +%End + virtual ~QSplashScreen(); + void setPixmap(const QPixmap &pixmap); + const QPixmap pixmap() const; + void finish(QWidget *w); + void repaint(); +%If (Qt_5_2_0 -) + QString message() const; +%End + +public slots: + void showMessage(const QString &message, int alignment = Qt::AlignLeft, const QColor &color = Qt::black); + void clearMessage(); + +signals: + void messageChanged(const QString &message); + +protected: + virtual void drawContents(QPainter *painter); + virtual bool event(QEvent *e); + virtual void mousePressEvent(QMouseEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsplitter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsplitter.sip new file mode 100644 index 00000000..1f5b9084 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsplitter.sip @@ -0,0 +1,100 @@ +// qsplitter.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSplitter : QFrame +{ +%TypeHeaderCode +#include +%End + +public: + explicit QSplitter(QWidget *parent /TransferThis/ = 0); + QSplitter(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0); + virtual ~QSplitter(); + void addWidget(QWidget *widget /Transfer/); + void insertWidget(int index, QWidget *widget /Transfer/); + void setOrientation(Qt::Orientation); + Qt::Orientation orientation() const; + void setChildrenCollapsible(bool); + bool childrenCollapsible() const; + void setCollapsible(int index, bool); + bool isCollapsible(int index) const; + void setOpaqueResize(bool opaque = true); + bool opaqueResize() const; + void refresh(); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + QList sizes() const; + void setSizes(const QList &list); + QByteArray saveState() const; + bool restoreState(const QByteArray &state); + int handleWidth() const; + void setHandleWidth(int); + int indexOf(QWidget *w) const; + QWidget *widget(int index) const; + int count() const /__len__/; + void getRange(int index, int *, int *) const; + QSplitterHandle *handle(int index) const /Transfer/; + void setStretchFactor(int index, int stretch); +%If (Qt_5_9_0 -) + QWidget *replaceWidget(int index, QWidget *widget /Transfer/) /TransferBack/; +%End + +signals: + void splitterMoved(int pos, int index); + +protected: + virtual QSplitterHandle *createHandle() /Transfer/; + virtual void childEvent(QChildEvent *); + virtual bool event(QEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void changeEvent(QEvent *); + void moveSplitter(int pos, int index); + void setRubberBand(int position); + int closestLegalPosition(int, int); +}; + +class QSplitterHandle : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QSplitterHandle(Qt::Orientation o, QSplitter *parent /TransferThis/); + virtual ~QSplitterHandle(); + void setOrientation(Qt::Orientation o); + Qt::Orientation orientation() const; + bool opaqueResize() const; + QSplitter *splitter() const; + virtual QSize sizeHint() const; + +protected: + virtual void paintEvent(QPaintEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual bool event(QEvent *); + void moveSplitter(int p); + int closestLegalPosition(int p); + virtual void resizeEvent(QResizeEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstackedlayout.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstackedlayout.sip new file mode 100644 index 00000000..a7a142ee --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstackedlayout.sip @@ -0,0 +1,113 @@ +// qstackedlayout.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStackedLayout : QLayout +{ +%TypeHeaderCode +#include +%End + +public: + enum StackingMode + { + StackOne, + StackAll, + }; + + QStackedLayout(); + explicit QStackedLayout(QWidget *parent /TransferThis/); + explicit QStackedLayout(QLayout *parentLayout /TransferThis/); + virtual ~QStackedLayout(); + int addWidget(QWidget *w /GetWrapper/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->addWidget(a0); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a0Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows addWidget(QWidget()). + sipTransferTo(a0Wrapper, sipSelf); + } +%End + + int insertWidget(int index, QWidget *w /GetWrapper/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipRes = sipCpp->insertWidget(a0, a1); + Py_END_ALLOW_THREADS + + // The layout's parent widget (if there is one) will now have ownership. + QWidget *parent = sipCpp->parentWidget(); + + if (parent) + { + PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget); + + if (py_parent) + sipTransferTo(a1Wrapper, py_parent); + } + else + { + // For now give the Python ownership to the layout. This maintains + // compatibility with previous versions and allows insertWidget(QWidget()). + sipTransferTo(a1Wrapper, sipSelf); + } +%End + + QWidget *currentWidget() const; + int currentIndex() const; + QWidget *widget(int) const; + virtual QWidget *widget(); + virtual int count() const; + virtual void addItem(QLayoutItem *item /Transfer/); + virtual QSize sizeHint() const; + virtual QSize minimumSize() const; + virtual QLayoutItem *itemAt(int) const; + virtual QLayoutItem *takeAt(int) /TransferBack/; + virtual void setGeometry(const QRect &rect); + +signals: + void widgetRemoved(int index); + void currentChanged(int index); + +public slots: + void setCurrentIndex(int index); + void setCurrentWidget(QWidget *w); + +public: + QStackedLayout::StackingMode stackingMode() const; + void setStackingMode(QStackedLayout::StackingMode stackingMode); + virtual bool hasHeightForWidth() const; + virtual int heightForWidth(int width) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstackedwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstackedwidget.sip new file mode 100644 index 00000000..76b07e80 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstackedwidget.sip @@ -0,0 +1,51 @@ +// qstackedwidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStackedWidget : QFrame +{ +%TypeHeaderCode +#include +%End + +public: + explicit QStackedWidget(QWidget *parent /TransferThis/ = 0); + virtual ~QStackedWidget(); + int addWidget(QWidget *w /Transfer/); + int insertWidget(int index, QWidget *w /Transfer/); + void removeWidget(QWidget *w); + QWidget *currentWidget() const; + int currentIndex() const; + int indexOf(QWidget *) const; + QWidget *widget(int) const; + int count() const /__len__/; + +public slots: + void setCurrentIndex(int index); + void setCurrentWidget(QWidget *w); + +signals: + void currentChanged(int); + void widgetRemoved(int index); + +protected: + virtual bool event(QEvent *e); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstatusbar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstatusbar.sip new file mode 100644 index 00000000..f3713646 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstatusbar.sip @@ -0,0 +1,55 @@ +// qstatusbar.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStatusBar : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QStatusBar(QWidget *parent /TransferThis/ = 0); + virtual ~QStatusBar(); + void addWidget(QWidget *widget /Transfer/, int stretch = 0); + void addPermanentWidget(QWidget *widget /Transfer/, int stretch = 0); + void removeWidget(QWidget *widget); + void setSizeGripEnabled(bool); + bool isSizeGripEnabled() const; + QString currentMessage() const; + int insertWidget(int index, QWidget *widget /Transfer/, int stretch = 0); + int insertPermanentWidget(int index, QWidget *widget /Transfer/, int stretch = 0); + +public slots: + void showMessage(const QString &message, int msecs = 0); + void clearMessage(); + +signals: + void messageChanged(const QString &text); + +protected: + virtual void paintEvent(QPaintEvent *); + virtual void resizeEvent(QResizeEvent *); + void reformat(); + void hideOrShow(); + virtual bool event(QEvent *); + virtual void showEvent(QShowEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyle.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyle.sip new file mode 100644 index 00000000..9d1971b0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyle.sip @@ -0,0 +1,767 @@ +// qstyle.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStyle : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QStyle(); + virtual ~QStyle(); + virtual void polish(QWidget *); + virtual void unpolish(QWidget *); + virtual void polish(QApplication *); + virtual void unpolish(QApplication *); + virtual void polish(QPalette & /In,Out/); + virtual QRect itemTextRect(const QFontMetrics &fm, const QRect &r, int flags, bool enabled, const QString &text) const; + virtual QRect itemPixmapRect(const QRect &r, int flags, const QPixmap &pixmap) const; + virtual void drawItemText(QPainter *painter, const QRect &rectangle, int alignment, const QPalette &palette, bool enabled, const QString &text, QPalette::ColorRole textRole = QPalette::NoRole) const; + virtual void drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const; + virtual QPalette standardPalette() const; + + enum StateFlag + { + State_None, + State_Enabled, + State_Raised, + State_Sunken, + State_Off, + State_NoChange, + State_On, + State_DownArrow, + State_Horizontal, + State_HasFocus, + State_Top, + State_Bottom, + State_FocusAtBorder, + State_AutoRaise, + State_MouseOver, + State_UpArrow, + State_Selected, + State_Active, + State_Open, + State_Children, + State_Item, + State_Sibling, + State_Editing, + State_KeyboardFocusChange, + State_ReadOnly, + State_Window, + State_Small, + State_Mini, + }; + + typedef QFlags State; + + enum PrimitiveElement + { + PE_Frame, + PE_FrameDefaultButton, + PE_FrameDockWidget, + PE_FrameFocusRect, + PE_FrameGroupBox, + PE_FrameLineEdit, + PE_FrameMenu, + PE_FrameStatusBar, + PE_FrameTabWidget, + PE_FrameWindow, + PE_FrameButtonBevel, + PE_FrameButtonTool, + PE_FrameTabBarBase, + PE_PanelButtonCommand, + PE_PanelButtonBevel, + PE_PanelButtonTool, + PE_PanelMenuBar, + PE_PanelToolBar, + PE_PanelLineEdit, + PE_IndicatorArrowDown, + PE_IndicatorArrowLeft, + PE_IndicatorArrowRight, + PE_IndicatorArrowUp, + PE_IndicatorBranch, + PE_IndicatorButtonDropDown, + PE_IndicatorViewItemCheck, + PE_IndicatorCheckBox, + PE_IndicatorDockWidgetResizeHandle, + PE_IndicatorHeaderArrow, + PE_IndicatorMenuCheckMark, + PE_IndicatorProgressChunk, + PE_IndicatorRadioButton, + PE_IndicatorSpinDown, + PE_IndicatorSpinMinus, + PE_IndicatorSpinPlus, + PE_IndicatorSpinUp, + PE_IndicatorToolBarHandle, + PE_IndicatorToolBarSeparator, + PE_PanelTipLabel, + PE_IndicatorTabTear, + PE_PanelScrollAreaCorner, + PE_Widget, + PE_IndicatorColumnViewArrow, + PE_FrameStatusBarItem, + PE_IndicatorItemViewItemCheck, + PE_IndicatorItemViewItemDrop, + PE_PanelItemViewItem, + PE_PanelItemViewRow, + PE_PanelStatusBar, + PE_IndicatorTabClose, + PE_PanelMenu, +%If (Qt_5_7_0 -) + PE_IndicatorTabTearLeft, +%End +%If (Qt_5_7_0 -) + PE_IndicatorTabTearRight, +%End + PE_CustomBase, + }; + + virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *widget = 0) const = 0; + + enum ControlElement + { + CE_PushButton, + CE_PushButtonBevel, + CE_PushButtonLabel, + CE_CheckBox, + CE_CheckBoxLabel, + CE_RadioButton, + CE_RadioButtonLabel, + CE_TabBarTab, + CE_TabBarTabShape, + CE_TabBarTabLabel, + CE_ProgressBar, + CE_ProgressBarGroove, + CE_ProgressBarContents, + CE_ProgressBarLabel, + CE_MenuItem, + CE_MenuScroller, + CE_MenuVMargin, + CE_MenuHMargin, + CE_MenuTearoff, + CE_MenuEmptyArea, + CE_MenuBarItem, + CE_MenuBarEmptyArea, + CE_ToolButtonLabel, + CE_Header, + CE_HeaderSection, + CE_HeaderLabel, + CE_ToolBoxTab, + CE_SizeGrip, + CE_Splitter, + CE_RubberBand, + CE_DockWidgetTitle, + CE_ScrollBarAddLine, + CE_ScrollBarSubLine, + CE_ScrollBarAddPage, + CE_ScrollBarSubPage, + CE_ScrollBarSlider, + CE_ScrollBarFirst, + CE_ScrollBarLast, + CE_FocusFrame, + CE_ComboBoxLabel, + CE_ToolBar, + CE_ToolBoxTabShape, + CE_ToolBoxTabLabel, + CE_HeaderEmptyArea, + CE_ColumnViewGrip, + CE_ItemViewItem, + CE_ShapedFrame, + CE_CustomBase, + }; + + virtual void drawControl(QStyle::ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *widget = 0) const = 0; + + enum SubElement + { + SE_PushButtonContents, + SE_PushButtonFocusRect, + SE_CheckBoxIndicator, + SE_CheckBoxContents, + SE_CheckBoxFocusRect, + SE_CheckBoxClickRect, + SE_RadioButtonIndicator, + SE_RadioButtonContents, + SE_RadioButtonFocusRect, + SE_RadioButtonClickRect, + SE_ComboBoxFocusRect, + SE_SliderFocusRect, + SE_ProgressBarGroove, + SE_ProgressBarContents, + SE_ProgressBarLabel, + SE_ToolBoxTabContents, + SE_HeaderLabel, + SE_HeaderArrow, + SE_TabWidgetTabBar, + SE_TabWidgetTabPane, + SE_TabWidgetTabContents, + SE_TabWidgetLeftCorner, + SE_TabWidgetRightCorner, + SE_ViewItemCheckIndicator, + SE_TabBarTearIndicator, + SE_TreeViewDisclosureItem, + SE_LineEditContents, + SE_FrameContents, + SE_DockWidgetCloseButton, + SE_DockWidgetFloatButton, + SE_DockWidgetTitleBarText, + SE_DockWidgetIcon, + SE_CheckBoxLayoutItem, + SE_ComboBoxLayoutItem, + SE_DateTimeEditLayoutItem, + SE_DialogButtonBoxLayoutItem, + SE_LabelLayoutItem, + SE_ProgressBarLayoutItem, + SE_PushButtonLayoutItem, + SE_RadioButtonLayoutItem, + SE_SliderLayoutItem, + SE_SpinBoxLayoutItem, + SE_ToolButtonLayoutItem, + SE_FrameLayoutItem, + SE_GroupBoxLayoutItem, + SE_TabWidgetLayoutItem, + SE_ItemViewItemCheckIndicator, + SE_ItemViewItemDecoration, + SE_ItemViewItemText, + SE_ItemViewItemFocusRect, + SE_TabBarTabLeftButton, + SE_TabBarTabRightButton, + SE_TabBarTabText, + SE_ShapedFrameContents, + SE_ToolBarHandle, +%If (Qt_5_7_0 -) + SE_TabBarTearIndicatorLeft, +%End +%If (Qt_5_7_0 -) + SE_TabBarScrollLeftButton, +%End +%If (Qt_5_7_0 -) + SE_TabBarScrollRightButton, +%End +%If (Qt_5_7_0 -) + SE_TabBarTearIndicatorRight, +%End +%If (Qt_5_15_0 -) + SE_PushButtonBevel, +%End + SE_CustomBase, + }; + + virtual QRect subElementRect(QStyle::SubElement subElement, const QStyleOption *option, const QWidget *widget = 0) const = 0; + + enum ComplexControl + { + CC_SpinBox, + CC_ComboBox, + CC_ScrollBar, + CC_Slider, + CC_ToolButton, + CC_TitleBar, + CC_Dial, + CC_GroupBox, + CC_MdiControls, + CC_CustomBase, + }; + + enum SubControl + { + SC_None, + SC_ScrollBarAddLine, + SC_ScrollBarSubLine, + SC_ScrollBarAddPage, + SC_ScrollBarSubPage, + SC_ScrollBarFirst, + SC_ScrollBarLast, + SC_ScrollBarSlider, + SC_ScrollBarGroove, + SC_SpinBoxUp, + SC_SpinBoxDown, + SC_SpinBoxFrame, + SC_SpinBoxEditField, + SC_ComboBoxFrame, + SC_ComboBoxEditField, + SC_ComboBoxArrow, + SC_ComboBoxListBoxPopup, + SC_SliderGroove, + SC_SliderHandle, + SC_SliderTickmarks, + SC_ToolButton, + SC_ToolButtonMenu, + SC_TitleBarSysMenu, + SC_TitleBarMinButton, + SC_TitleBarMaxButton, + SC_TitleBarCloseButton, + SC_TitleBarNormalButton, + SC_TitleBarShadeButton, + SC_TitleBarUnshadeButton, + SC_TitleBarContextHelpButton, + SC_TitleBarLabel, + SC_DialGroove, + SC_DialHandle, + SC_DialTickmarks, + SC_GroupBoxCheckBox, + SC_GroupBoxLabel, + SC_GroupBoxContents, + SC_GroupBoxFrame, + SC_MdiMinButton, + SC_MdiNormalButton, + SC_MdiCloseButton, + SC_CustomBase, + SC_All, + }; + + typedef QFlags SubControls; + virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p, const QWidget *widget = 0) const = 0; + virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *widget = 0) const = 0; + virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex *opt, QStyle::SubControl sc, const QWidget *widget = 0) const = 0; + + enum PixelMetric + { + PM_ButtonMargin, + PM_ButtonDefaultIndicator, + PM_MenuButtonIndicator, + PM_ButtonShiftHorizontal, + PM_ButtonShiftVertical, + PM_DefaultFrameWidth, + PM_SpinBoxFrameWidth, + PM_ComboBoxFrameWidth, + PM_MaximumDragDistance, + PM_ScrollBarExtent, + PM_ScrollBarSliderMin, + PM_SliderThickness, + PM_SliderControlThickness, + PM_SliderLength, + PM_SliderTickmarkOffset, + PM_SliderSpaceAvailable, + PM_DockWidgetSeparatorExtent, + PM_DockWidgetHandleExtent, + PM_DockWidgetFrameWidth, + PM_TabBarTabOverlap, + PM_TabBarTabHSpace, + PM_TabBarTabVSpace, + PM_TabBarBaseHeight, + PM_TabBarBaseOverlap, + PM_ProgressBarChunkWidth, + PM_SplitterWidth, + PM_TitleBarHeight, + PM_MenuScrollerHeight, + PM_MenuHMargin, + PM_MenuVMargin, + PM_MenuPanelWidth, + PM_MenuTearoffHeight, + PM_MenuDesktopFrameWidth, + PM_MenuBarPanelWidth, + PM_MenuBarItemSpacing, + PM_MenuBarVMargin, + PM_MenuBarHMargin, + PM_IndicatorWidth, + PM_IndicatorHeight, + PM_ExclusiveIndicatorWidth, + PM_ExclusiveIndicatorHeight, + PM_DialogButtonsSeparator, + PM_DialogButtonsButtonWidth, + PM_DialogButtonsButtonHeight, + PM_MdiSubWindowFrameWidth, + PM_MDIFrameWidth, + PM_MdiSubWindowMinimizedWidth, + PM_MDIMinimizedWidth, + PM_HeaderMargin, + PM_HeaderMarkSize, + PM_HeaderGripMargin, + PM_TabBarTabShiftHorizontal, + PM_TabBarTabShiftVertical, + PM_TabBarScrollButtonWidth, + PM_ToolBarFrameWidth, + PM_ToolBarHandleExtent, + PM_ToolBarItemSpacing, + PM_ToolBarItemMargin, + PM_ToolBarSeparatorExtent, + PM_ToolBarExtensionExtent, + PM_SpinBoxSliderHeight, + PM_DefaultTopLevelMargin, + PM_DefaultChildMargin, + PM_DefaultLayoutSpacing, + PM_ToolBarIconSize, + PM_ListViewIconSize, + PM_IconViewIconSize, + PM_SmallIconSize, + PM_LargeIconSize, + PM_FocusFrameVMargin, + PM_FocusFrameHMargin, + PM_ToolTipLabelFrameWidth, + PM_CheckBoxLabelSpacing, + PM_TabBarIconSize, + PM_SizeGripSize, + PM_DockWidgetTitleMargin, + PM_MessageBoxIconSize, + PM_ButtonIconSize, + PM_DockWidgetTitleBarButtonMargin, + PM_RadioButtonLabelSpacing, + PM_LayoutLeftMargin, + PM_LayoutTopMargin, + PM_LayoutRightMargin, + PM_LayoutBottomMargin, + PM_LayoutHorizontalSpacing, + PM_LayoutVerticalSpacing, + PM_TabBar_ScrollButtonOverlap, + PM_TextCursorWidth, + PM_TabCloseIndicatorWidth, + PM_TabCloseIndicatorHeight, + PM_ScrollView_ScrollBarSpacing, + PM_SubMenuOverlap, + PM_ScrollView_ScrollBarOverlap, +%If (Qt_5_4_0 -) + PM_TreeViewIndentation, +%End +%If (Qt_5_5_0 -) + PM_HeaderDefaultSectionSizeHorizontal, +%End +%If (Qt_5_5_0 -) + PM_HeaderDefaultSectionSizeVertical, +%End +%If (Qt_5_8_0 -) + PM_TitleBarButtonIconSize, +%End +%If (Qt_5_8_0 -) + PM_TitleBarButtonSize, +%End + PM_CustomBase, + }; + + virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption *option = 0, const QWidget *widget = 0) const = 0; + + enum ContentsType + { + CT_PushButton, + CT_CheckBox, + CT_RadioButton, + CT_ToolButton, + CT_ComboBox, + CT_Splitter, + CT_ProgressBar, + CT_MenuItem, + CT_MenuBarItem, + CT_MenuBar, + CT_Menu, + CT_TabBarTab, + CT_Slider, + CT_ScrollBar, + CT_LineEdit, + CT_SpinBox, + CT_SizeGrip, + CT_TabWidget, + CT_DialogButtons, + CT_HeaderSection, + CT_GroupBox, + CT_MdiControls, + CT_ItemViewItem, + CT_CustomBase, + }; + + virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget = 0) const = 0; + + enum StyleHint + { + SH_EtchDisabledText, + SH_DitherDisabledText, + SH_ScrollBar_MiddleClickAbsolutePosition, + SH_ScrollBar_ScrollWhenPointerLeavesControl, + SH_TabBar_SelectMouseType, + SH_TabBar_Alignment, + SH_Header_ArrowAlignment, + SH_Slider_SnapToValue, + SH_Slider_SloppyKeyEvents, + SH_ProgressDialog_CenterCancelButton, + SH_ProgressDialog_TextLabelAlignment, + SH_PrintDialog_RightAlignButtons, + SH_MainWindow_SpaceBelowMenuBar, + SH_FontDialog_SelectAssociatedText, + SH_Menu_AllowActiveAndDisabled, + SH_Menu_SpaceActivatesItem, + SH_Menu_SubMenuPopupDelay, + SH_ScrollView_FrameOnlyAroundContents, + SH_MenuBar_AltKeyNavigation, + SH_ComboBox_ListMouseTracking, + SH_Menu_MouseTracking, + SH_MenuBar_MouseTracking, + SH_ItemView_ChangeHighlightOnFocus, + SH_Widget_ShareActivation, + SH_Workspace_FillSpaceOnMaximize, + SH_ComboBox_Popup, + SH_TitleBar_NoBorder, + SH_ScrollBar_StopMouseOverSlider, + SH_BlinkCursorWhenTextSelected, + SH_RichText_FullWidthSelection, + SH_Menu_Scrollable, + SH_GroupBox_TextLabelVerticalAlignment, + SH_GroupBox_TextLabelColor, + SH_Menu_SloppySubMenus, + SH_Table_GridLineColor, + SH_LineEdit_PasswordCharacter, + SH_DialogButtons_DefaultButton, + SH_ToolBox_SelectedPageTitleBold, + SH_TabBar_PreferNoArrows, + SH_ScrollBar_LeftClickAbsolutePosition, + SH_UnderlineShortcut, + SH_SpinBox_AnimateButton, + SH_SpinBox_KeyPressAutoRepeatRate, + SH_SpinBox_ClickAutoRepeatRate, + SH_Menu_FillScreenWithScroll, + SH_ToolTipLabel_Opacity, + SH_DrawMenuBarSeparator, + SH_TitleBar_ModifyNotification, + SH_Button_FocusPolicy, + SH_MessageBox_UseBorderForButtonSpacing, + SH_TitleBar_AutoRaise, + SH_ToolButton_PopupDelay, + SH_FocusFrame_Mask, + SH_RubberBand_Mask, + SH_WindowFrame_Mask, + SH_SpinControls_DisableOnBounds, + SH_Dial_BackgroundRole, + SH_ComboBox_LayoutDirection, + SH_ItemView_EllipsisLocation, + SH_ItemView_ShowDecorationSelected, + SH_ItemView_ActivateItemOnSingleClick, + SH_ScrollBar_ContextMenu, + SH_ScrollBar_RollBetweenButtons, + SH_Slider_StopMouseOverSlider, + SH_Slider_AbsoluteSetButtons, + SH_Slider_PageSetButtons, + SH_Menu_KeyboardSearch, + SH_TabBar_ElideMode, + SH_DialogButtonLayout, + SH_ComboBox_PopupFrameStyle, + SH_MessageBox_TextInteractionFlags, + SH_DialogButtonBox_ButtonsHaveIcons, + SH_SpellCheckUnderlineStyle, + SH_MessageBox_CenterButtons, + SH_Menu_SelectionWrap, + SH_ItemView_MovementWithoutUpdatingSelection, + SH_ToolTip_Mask, + SH_FocusFrame_AboveWidget, + SH_TextControl_FocusIndicatorTextCharFormat, + SH_WizardStyle, + SH_ItemView_ArrowKeysNavigateIntoChildren, + SH_Menu_Mask, + SH_Menu_FlashTriggeredItem, + SH_Menu_FadeOutOnHide, + SH_SpinBox_ClickAutoRepeatThreshold, + SH_ItemView_PaintAlternatingRowColorsForEmptyArea, + SH_FormLayoutWrapPolicy, + SH_TabWidget_DefaultTabPosition, + SH_ToolBar_Movable, + SH_FormLayoutFieldGrowthPolicy, + SH_FormLayoutFormAlignment, + SH_FormLayoutLabelAlignment, + SH_ItemView_DrawDelegateFrame, + SH_TabBar_CloseButtonPosition, + SH_DockWidget_ButtonsHaveFrame, + SH_ToolButtonStyle, + SH_RequestSoftwareInputPanel, + SH_ListViewExpand_SelectMouseType, + SH_ScrollBar_Transient, +%If (Qt_5_1_0 -) + SH_Menu_SupportsSections, +%End +%If (Qt_5_2_0 -) + SH_ToolTip_WakeUpDelay, +%End +%If (Qt_5_2_0 -) + SH_ToolTip_FallAsleepDelay, +%End +%If (Qt_5_2_0 -) + SH_Widget_Animate, +%End +%If (Qt_5_2_0 -) + SH_Splitter_OpaqueResize, +%End +%If (Qt_5_4_0 -) + SH_LineEdit_PasswordMaskDelay, +%End +%If (Qt_5_4_0 -) + SH_TabBar_ChangeCurrentDelay, +%End +%If (Qt_5_5_0 -) + SH_Menu_SubMenuUniDirection, +%End +%If (Qt_5_5_0 -) + SH_Menu_SubMenuUniDirectionFailCount, +%End +%If (Qt_5_5_0 -) + SH_Menu_SubMenuSloppySelectOtherActions, +%End +%If (Qt_5_5_0 -) + SH_Menu_SubMenuSloppyCloseTimeout, +%End +%If (Qt_5_5_0 -) + SH_Menu_SubMenuResetWhenReenteringParent, +%End +%If (Qt_5_5_0 -) + SH_Menu_SubMenuDontStartSloppyOnLeave, +%End +%If (Qt_5_7_0 -) + SH_ItemView_ScrollMode, +%End +%If (Qt_5_10_0 -) + SH_TitleBar_ShowToolTipsOnButtons, +%End +%If (Qt_5_10_0 -) + SH_Widget_Animation_Duration, +%End +%If (Qt_5_11_0 -) + SH_ComboBox_AllowWheelScrolling, +%End +%If (Qt_5_11_0 -) + SH_SpinBox_ButtonsInsideFrame, +%End +%If (Qt_5_12_0 -) + SH_SpinBox_StepModifier, +%End + SH_CustomBase, + }; + + virtual int styleHint(QStyle::StyleHint stylehint, const QStyleOption *option = 0, const QWidget *widget = 0, QStyleHintReturn *returnData = 0) const = 0; + + enum StandardPixmap + { + SP_TitleBarMenuButton, + SP_TitleBarMinButton, + SP_TitleBarMaxButton, + SP_TitleBarCloseButton, + SP_TitleBarNormalButton, + SP_TitleBarShadeButton, + SP_TitleBarUnshadeButton, + SP_TitleBarContextHelpButton, + SP_DockWidgetCloseButton, + SP_MessageBoxInformation, + SP_MessageBoxWarning, + SP_MessageBoxCritical, + SP_MessageBoxQuestion, + SP_DesktopIcon, + SP_TrashIcon, + SP_ComputerIcon, + SP_DriveFDIcon, + SP_DriveHDIcon, + SP_DriveCDIcon, + SP_DriveDVDIcon, + SP_DriveNetIcon, + SP_DirOpenIcon, + SP_DirClosedIcon, + SP_DirLinkIcon, + SP_FileIcon, + SP_FileLinkIcon, + SP_ToolBarHorizontalExtensionButton, + SP_ToolBarVerticalExtensionButton, + SP_FileDialogStart, + SP_FileDialogEnd, + SP_FileDialogToParent, + SP_FileDialogNewFolder, + SP_FileDialogDetailedView, + SP_FileDialogInfoView, + SP_FileDialogContentsView, + SP_FileDialogListView, + SP_FileDialogBack, + SP_DirIcon, + SP_DialogOkButton, + SP_DialogCancelButton, + SP_DialogHelpButton, + SP_DialogOpenButton, + SP_DialogSaveButton, + SP_DialogCloseButton, + SP_DialogApplyButton, + SP_DialogResetButton, + SP_DialogDiscardButton, + SP_DialogYesButton, + SP_DialogNoButton, + SP_ArrowUp, + SP_ArrowDown, + SP_ArrowLeft, + SP_ArrowRight, + SP_ArrowBack, + SP_ArrowForward, + SP_DirHomeIcon, + SP_CommandLink, + SP_VistaShield, + SP_BrowserReload, + SP_BrowserStop, + SP_MediaPlay, + SP_MediaStop, + SP_MediaPause, + SP_MediaSkipForward, + SP_MediaSkipBackward, + SP_MediaSeekForward, + SP_MediaSeekBackward, + SP_MediaVolume, + SP_MediaVolumeMuted, + SP_DirLinkOpenIcon, +%If (Qt_5_2_0 -) + SP_LineEditClearButton, +%End +%If (Qt_5_14_0 -) + SP_DialogYesToAllButton, +%End +%If (Qt_5_14_0 -) + SP_DialogNoToAllButton, +%End +%If (Qt_5_14_0 -) + SP_DialogSaveAllButton, +%End +%If (Qt_5_14_0 -) + SP_DialogAbortButton, +%End +%If (Qt_5_14_0 -) + SP_DialogRetryButton, +%End +%If (Qt_5_14_0 -) + SP_DialogIgnoreButton, +%End +%If (Qt_5_14_0 -) + SP_RestoreDefaultsButton, +%End + SP_CustomBase, + }; + + virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption *option = 0, const QWidget *widget = 0) const = 0; + virtual QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption *option = 0, const QWidget *widget = 0) const = 0; + virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const = 0; + static QRect visualRect(Qt::LayoutDirection direction, const QRect &boundingRect, const QRect &logicalRect); + static QPoint visualPos(Qt::LayoutDirection direction, const QRect &boundingRect, const QPoint &logicalPos); + static int sliderPositionFromValue(int min, int max, int logicalValue, int span, bool upsideDown = false); + static int sliderValueFromPosition(int min, int max, int position, int span, bool upsideDown = false); + static Qt::Alignment visualAlignment(Qt::LayoutDirection direction, Qt::Alignment alignment); + static QRect alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize &size, const QRect &rectangle); + virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption *option = 0, const QWidget *widget = 0) const = 0; + int combinedLayoutSpacing(QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption *option = 0, QWidget *widget = 0) const; + + enum RequestSoftwareInputPanel + { + RSIP_OnMouseClickAndAlreadyFocused, + RSIP_OnMouseClick, + }; + + const QStyle *proxy() const; +}; + +QFlags operator|(QStyle::StateFlag f1, QFlags f2); +QFlags operator|(QStyle::SubControl f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyleditemdelegate.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyleditemdelegate.sip new file mode 100644 index 00000000..07205cf0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyleditemdelegate.sip @@ -0,0 +1,46 @@ +// qstyleditemdelegate.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStyledItemDelegate : QAbstractItemDelegate +{ +%TypeHeaderCode +#include +%End + +public: + explicit QStyledItemDelegate(QObject *parent /TransferThis/ = 0); + virtual ~QStyledItemDelegate(); + virtual void paint(QPainter *painter, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const; + virtual QSize sizeHint(const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const; + virtual QWidget *createEditor(QWidget *parent /TransferThis/, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const /Factory/; + virtual void setEditorData(QWidget *editor, const QModelIndex &index) const; + virtual void setModelData(QWidget *editor, QAbstractItemModel *model /KeepReference/, const QModelIndex &index) const; + virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const; + QItemEditorFactory *itemEditorFactory() const; + void setItemEditorFactory(QItemEditorFactory *factory /KeepReference/); + virtual QString displayText(const QVariant &value, const QLocale &locale) const; + +protected: + virtual void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const; + virtual bool eventFilter(QObject *object, QEvent *event); + virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstylefactory.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstylefactory.sip new file mode 100644 index 00000000..ac513217 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstylefactory.sip @@ -0,0 +1,32 @@ +// qstylefactory.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStyleFactory +{ +%TypeHeaderCode +#include +%End + +public: + static QStringList keys(); + static QStyle *create(const QString &) /Factory/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyleoption.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyleoption.sip new file mode 100644 index 00000000..64299ae4 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstyleoption.sip @@ -0,0 +1,1071 @@ +// qstyleoption.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStyleOption +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + switch (sipCpp->type) + { + case QStyleOption::SO_Button: + sipType = sipType_QStyleOptionButton; + break; + + case QStyleOption::SO_ComboBox: + sipType = sipType_QStyleOptionComboBox; + break; + + case QStyleOption::SO_DockWidget: + sipType = sipType_QStyleOptionDockWidget; + break; + + case QStyleOption::SO_FocusRect: + sipType = sipType_QStyleOptionFocusRect; + break; + + case QStyleOption::SO_Frame: + sipType = sipType_QStyleOptionFrame; + break; + + case QStyleOption::SO_GraphicsItem: + sipType = sipType_QStyleOptionGraphicsItem; + break; + + case QStyleOption::SO_GroupBox: + sipType = sipType_QStyleOptionGroupBox; + break; + + case QStyleOption::SO_Header: + sipType = sipType_QStyleOptionHeader; + break; + + case QStyleOption::SO_MenuItem: + sipType = sipType_QStyleOptionMenuItem; + break; + + case QStyleOption::SO_ProgressBar: + sipType = sipType_QStyleOptionProgressBar; + break; + + case QStyleOption::SO_RubberBand: + sipType = sipType_QStyleOptionRubberBand; + break; + + case QStyleOption::SO_SizeGrip: + sipType = sipType_QStyleOptionSizeGrip; + break; + + case QStyleOption::SO_Slider: + sipType = sipType_QStyleOptionSlider; + break; + + case QStyleOption::SO_SpinBox: + sipType = sipType_QStyleOptionSpinBox; + break; + + case QStyleOption::SO_Tab: + sipType = sipType_QStyleOptionTab; + break; + + case QStyleOption::SO_TabBarBase: + sipType = sipType_QStyleOptionTabBarBase; + break; + + case QStyleOption::SO_TabWidgetFrame: + sipType = sipType_QStyleOptionTabWidgetFrame; + break; + + case QStyleOption::SO_TitleBar: + sipType = sipType_QStyleOptionTitleBar; + break; + + case QStyleOption::SO_ToolBar: + sipType = sipType_QStyleOptionToolBar; + break; + + case QStyleOption::SO_ToolBox: + sipType = sipType_QStyleOptionToolBox; + break; + + case QStyleOption::SO_ToolButton: + sipType = sipType_QStyleOptionToolButton; + break; + + case QStyleOption::SO_ViewItem: + sipType = sipType_QStyleOptionViewItem; + break; + + default: + if ((sipCpp->type & QStyleOption::SO_ComplexCustomBase) == QStyleOption::SO_ComplexCustomBase) + sipType = sipType_QStyleOptionComplex; + else + sipType = 0; + } +%End + +public: + enum OptionType + { + SO_Default, + SO_FocusRect, + SO_Button, + SO_Tab, + SO_MenuItem, + SO_Frame, + SO_ProgressBar, + SO_ToolBox, + SO_Header, + SO_DockWidget, + SO_ViewItem, + SO_TabWidgetFrame, + SO_TabBarBase, + SO_RubberBand, + SO_ToolBar, + SO_Complex, + SO_Slider, + SO_SpinBox, + SO_ToolButton, + SO_ComboBox, + SO_TitleBar, + SO_GroupBox, + SO_ComplexCustomBase, + SO_GraphicsItem, + SO_SizeGrip, + SO_CustomBase, + }; + + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + int version; + int type; + QStyle::State state; + Qt::LayoutDirection direction; + QRect rect; + QFontMetrics fontMetrics; + QPalette palette; + QObject *styleObject; + QStyleOption(int version = QStyleOption::StyleOptionVersion::Version, int type = QStyleOption::OptionType::SO_Default); + QStyleOption(const QStyleOption &other); + ~QStyleOption(); + void initFrom(const QWidget *w); +}; + +class QStyleOptionFocusRect : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QColor backgroundColor; + QStyleOptionFocusRect(); + QStyleOptionFocusRect(const QStyleOptionFocusRect &other); +}; + +class QStyleOptionFrame : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + enum FrameFeature + { + None /PyName=None_/, + Flat, + Rounded, + }; + + typedef QFlags FrameFeatures; + QStyleOptionFrame::FrameFeatures features; + QFrame::Shape frameShape; + int lineWidth; + int midLineWidth; + QStyleOptionFrame(); + QStyleOptionFrame(const QStyleOptionFrame &other); +}; + +QFlags operator|(QStyleOptionFrame::FrameFeature f1, QFlags f2); + +class QStyleOptionTabWidgetFrame : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + int lineWidth; + int midLineWidth; + QTabBar::Shape shape; + QSize tabBarSize; + QSize rightCornerWidgetSize; + QSize leftCornerWidgetSize; + QRect tabBarRect; + QRect selectedTabRect; + QStyleOptionTabWidgetFrame(); + QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other); +}; + +class QStyleOptionTabBarBase : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QTabBar::Shape shape; + QRect tabBarRect; + QRect selectedTabRect; + bool documentMode; + QStyleOptionTabBarBase(); + QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other); +}; + +class QStyleOptionHeader : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + enum SectionPosition + { + Beginning, + Middle, + End, + OnlyOneSection, + }; + + enum SelectedPosition + { + NotAdjacent, + NextIsSelected, + PreviousIsSelected, + NextAndPreviousAreSelected, + }; + + enum SortIndicator + { + None /PyName=None_/, + SortUp, + SortDown, + }; + + int section; + QString text; + Qt::Alignment textAlignment; + QIcon icon; + Qt::Alignment iconAlignment; + QStyleOptionHeader::SectionPosition position; + QStyleOptionHeader::SelectedPosition selectedPosition; + QStyleOptionHeader::SortIndicator sortIndicator; + Qt::Orientation orientation; + QStyleOptionHeader(); + QStyleOptionHeader(const QStyleOptionHeader &other); +}; + +class QStyleOptionButton : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + enum ButtonFeature + { + None /PyName=None_/, + Flat, + HasMenu, + DefaultButton, + AutoDefaultButton, + CommandLinkButton, + }; + + typedef QFlags ButtonFeatures; + QStyleOptionButton::ButtonFeatures features; + QString text; + QIcon icon; + QSize iconSize; + QStyleOptionButton(); + QStyleOptionButton(const QStyleOptionButton &other); +}; + +QFlags operator|(QStyleOptionButton::ButtonFeature f1, QFlags f2); + +class QStyleOptionTab : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + enum TabPosition + { + Beginning, + Middle, + End, + OnlyOneTab, + }; + + enum SelectedPosition + { + NotAdjacent, + NextIsSelected, + PreviousIsSelected, + }; + + enum CornerWidget + { + NoCornerWidgets, + LeftCornerWidget, + RightCornerWidget, + }; + + typedef QFlags CornerWidgets; + QTabBar::Shape shape; + QString text; + QIcon icon; + int row; + QStyleOptionTab::TabPosition position; + QStyleOptionTab::SelectedPosition selectedPosition; + QStyleOptionTab::CornerWidgets cornerWidgets; + QSize iconSize; + bool documentMode; + QSize leftButtonSize; + QSize rightButtonSize; + + enum TabFeature + { + None /PyName=None_/, + HasFrame, + }; + + typedef QFlags TabFeatures; + QStyleOptionTab::TabFeatures features; + QStyleOptionTab(); + QStyleOptionTab(const QStyleOptionTab &other); +}; + +QFlags operator|(QStyleOptionTab::CornerWidget f1, QFlags f2); +%If (Qt_5_15_0 -) + +class QStyleOptionTabV4 : QStyleOptionTab +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionVersion + { + Version, + }; + + QStyleOptionTabV4(); + int tabIndex; +}; + +%End + +class QStyleOptionProgressBar : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + int minimum; + int maximum; + int progress; + QString text; + Qt::Alignment textAlignment; + bool textVisible; + Qt::Orientation orientation; + bool invertedAppearance; + bool bottomToTop; + QStyleOptionProgressBar(); + QStyleOptionProgressBar(const QStyleOptionProgressBar &other); +}; + +class QStyleOptionMenuItem : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + enum MenuItemType + { + Normal, + DefaultItem, + Separator, + SubMenu, + Scroller, + TearOff, + Margin, + EmptyArea, + }; + + enum CheckType + { + NotCheckable, + Exclusive, + NonExclusive, + }; + + QStyleOptionMenuItem::MenuItemType menuItemType; + QStyleOptionMenuItem::CheckType checkType; + bool checked; + bool menuHasCheckableItems; + QRect menuRect; + QString text; + QIcon icon; + int maxIconWidth; + int tabWidth; + QFont font; + QStyleOptionMenuItem(); + QStyleOptionMenuItem(const QStyleOptionMenuItem &other); +}; + +class QStyleOptionDockWidget : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QString title; + bool closable; + bool movable; + bool floatable; + bool verticalTitleBar; + QStyleOptionDockWidget(); + QStyleOptionDockWidget(const QStyleOptionDockWidget &other); +}; + +class QStyleOptionViewItem : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + enum Position + { + Left, + Right, + Top, + Bottom, + }; + + Qt::Alignment displayAlignment; + Qt::Alignment decorationAlignment; + Qt::TextElideMode textElideMode; + QStyleOptionViewItem::Position decorationPosition; + QSize decorationSize; + QFont font; + bool showDecorationSelected; + + enum ViewItemFeature + { + None /PyName=None_/, + WrapText, + Alternate, + HasCheckIndicator, + HasDisplay, + HasDecoration, + }; + + typedef QFlags ViewItemFeatures; + QStyleOptionViewItem::ViewItemFeatures features; + QLocale locale; + const QWidget *widget; + + enum ViewItemPosition + { + Invalid, + Beginning, + Middle, + End, + OnlyOne, + }; + + QModelIndex index; + Qt::CheckState checkState; + QIcon icon; + QString text; + QStyleOptionViewItem::ViewItemPosition viewItemPosition; + QBrush backgroundBrush; + QStyleOptionViewItem(); + QStyleOptionViewItem(const QStyleOptionViewItem &other); +}; + +QFlags operator|(QStyleOptionViewItem::ViewItemFeature f1, QFlags f2); + +class QStyleOptionToolBox : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QString text; + QIcon icon; + + enum TabPosition + { + Beginning, + Middle, + End, + OnlyOneTab, + }; + + enum SelectedPosition + { + NotAdjacent, + NextIsSelected, + PreviousIsSelected, + }; + + QStyleOptionToolBox::TabPosition position; + QStyleOptionToolBox::SelectedPosition selectedPosition; + QStyleOptionToolBox(); + QStyleOptionToolBox(const QStyleOptionToolBox &other); +}; + +class QStyleOptionRubberBand : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QRubberBand::Shape shape; + bool opaque; + QStyleOptionRubberBand(); + QStyleOptionRubberBand(const QStyleOptionRubberBand &other); +}; + +class QStyleOptionComplex : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QStyle::SubControls subControls; + QStyle::SubControls activeSubControls; + QStyleOptionComplex(int version = QStyleOptionComplex::StyleOptionVersion::Version, int type = QStyleOption::OptionType::SO_Complex); + QStyleOptionComplex(const QStyleOptionComplex &other); +}; + +class QStyleOptionSlider : QStyleOptionComplex +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + Qt::Orientation orientation; + int minimum; + int maximum; + QSlider::TickPosition tickPosition; + int tickInterval; + bool upsideDown; + int sliderPosition; + int sliderValue; + int singleStep; + int pageStep; + qreal notchTarget; + bool dialWrapping; + QStyleOptionSlider(); + QStyleOptionSlider(const QStyleOptionSlider &other); +}; + +class QStyleOptionSpinBox : QStyleOptionComplex +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QAbstractSpinBox::ButtonSymbols buttonSymbols; + QAbstractSpinBox::StepEnabled stepEnabled; + bool frame; + QStyleOptionSpinBox(); + QStyleOptionSpinBox(const QStyleOptionSpinBox &other); +}; + +class QStyleOptionToolButton : QStyleOptionComplex +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + enum ToolButtonFeature + { + None /PyName=None_/, + Arrow, + Menu, + PopupDelay, + MenuButtonPopup, + HasMenu, + }; + + typedef QFlags ToolButtonFeatures; + QStyleOptionToolButton::ToolButtonFeatures features; + QIcon icon; + QSize iconSize; + QString text; + Qt::ArrowType arrowType; + Qt::ToolButtonStyle toolButtonStyle; + QPoint pos; + QFont font; + QStyleOptionToolButton(); + QStyleOptionToolButton(const QStyleOptionToolButton &other); +}; + +QFlags operator|(QStyleOptionToolButton::ToolButtonFeature f1, QFlags f2); + +class QStyleOptionComboBox : QStyleOptionComplex +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + bool editable; + QRect popupRect; + bool frame; + QString currentText; + QIcon currentIcon; + QSize iconSize; + QStyleOptionComboBox(); + QStyleOptionComboBox(const QStyleOptionComboBox &other); +}; + +class QStyleOptionTitleBar : QStyleOptionComplex +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QString text; + QIcon icon; + int titleBarState; + Qt::WindowFlags titleBarFlags; + QStyleOptionTitleBar(); + QStyleOptionTitleBar(const QStyleOptionTitleBar &other); +}; + +class QStyleHintReturn +{ +%TypeHeaderCode +#include +%End + +public: + enum HintReturnType + { + SH_Default, + SH_Mask, + SH_Variant, + }; + + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QStyleHintReturn(int version = QStyleOption::StyleOptionVersion::Version, int type = QStyleHintReturn::HintReturnType::SH_Default); + ~QStyleHintReturn(); + int version; + int type; +}; + +class QStyleHintReturnMask : QStyleHintReturn +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QStyleHintReturnMask(); + ~QStyleHintReturnMask(); + QRegion region; +}; + +class QStyleOptionToolBar : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + enum ToolBarPosition + { + Beginning, + Middle, + End, + OnlyOne, + }; + + enum ToolBarFeature + { + None /PyName=None_/, + Movable, + }; + + typedef QFlags ToolBarFeatures; + QStyleOptionToolBar::ToolBarPosition positionOfLine; + QStyleOptionToolBar::ToolBarPosition positionWithinLine; + Qt::ToolBarArea toolBarArea; + QStyleOptionToolBar::ToolBarFeatures features; + int lineWidth; + int midLineWidth; + QStyleOptionToolBar(); + QStyleOptionToolBar(const QStyleOptionToolBar &other); +}; + +QFlags operator|(QStyleOptionToolBar::ToolBarFeature f1, QFlags f2); + +class QStyleOptionGroupBox : QStyleOptionComplex +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QStyleOptionFrame::FrameFeatures features; + QString text; + Qt::Alignment textAlignment; + QColor textColor; + int lineWidth; + int midLineWidth; + QStyleOptionGroupBox(); + QStyleOptionGroupBox(const QStyleOptionGroupBox &other); +}; + +class QStyleOptionSizeGrip : QStyleOptionComplex +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + Qt::Corner corner; + QStyleOptionSizeGrip(); + QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other); +}; + +class QStyleOptionGraphicsItem : QStyleOption +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QRectF exposedRect; + static qreal levelOfDetailFromTransform(const QTransform &worldTransform); + QStyleOptionGraphicsItem(); + QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other); +}; + +class QStyleHintReturnVariant : QStyleHintReturn +{ +%TypeHeaderCode +#include +%End + +public: + enum StyleOptionType + { + Type, + }; + + enum StyleOptionVersion + { + Version, + }; + + QStyleHintReturnVariant(); + ~QStyleHintReturnVariant(); + QVariant variant; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstylepainter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstylepainter.sip new file mode 100644 index 00000000..a9016984 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qstylepainter.sip @@ -0,0 +1,41 @@ +// qstylepainter.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QStylePainter : QPainter +{ +%TypeHeaderCode +#include +%End + +public: + QStylePainter(); + explicit QStylePainter(QWidget *w); + QStylePainter(QPaintDevice *pd, QWidget *w); + bool begin(QWidget *w); + bool begin(QPaintDevice *pd, QWidget *w); + QStyle *style() const; + void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption &opt); + void drawControl(QStyle::ControlElement ce, const QStyleOption &opt); + void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex &opt); + void drawItemText(const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole = QPalette::NoRole); + void drawItemPixmap(const QRect &r, int flags, const QPixmap &pixmap); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsystemtrayicon.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsystemtrayicon.sip new file mode 100644 index 00000000..52ae80dd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qsystemtrayicon.sip @@ -0,0 +1,80 @@ +// qsystemtrayicon.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSystemTrayIcon : QObject +{ +%TypeHeaderCode +#include +%End + +public: + enum ActivationReason + { + Unknown, + Context, + DoubleClick, + Trigger, + MiddleClick, + }; + + enum MessageIcon + { + NoIcon, + Information, + Warning, + Critical, + }; + + QSystemTrayIcon(QObject *parent /TransferThis/ = 0); + QSystemTrayIcon(const QIcon &icon, QObject *parent /TransferThis/ = 0); + virtual ~QSystemTrayIcon(); + void setContextMenu(QMenu *menu /KeepReference/); + QMenu *contextMenu() const; + QRect geometry() const; + QIcon icon() const; + void setIcon(const QIcon &icon); + QString toolTip() const; + void setToolTip(const QString &tip); + static bool isSystemTrayAvailable(); + static bool supportsMessages(); + +public slots: + void showMessage(const QString &title, const QString &msg, QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000); +%If (Qt_5_9_0 -) + void showMessage(const QString &title, const QString &msg, const QIcon &icon, int msecs = 10000); +%End + +public: + bool isVisible() const; + +public slots: + void hide(); + void setVisible(bool visible); + void show(); + +signals: + void activated(QSystemTrayIcon::ActivationReason reason); + void messageClicked(); + +protected: + virtual bool event(QEvent *event); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtabbar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtabbar.sip new file mode 100644 index 00000000..d1ba9d2e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtabbar.sip @@ -0,0 +1,184 @@ +// qtabbar.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTabBar : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTabBar(QWidget *parent /TransferThis/ = 0); + virtual ~QTabBar(); + + enum Shape + { + RoundedNorth, + RoundedSouth, + RoundedWest, + RoundedEast, + TriangularNorth, + TriangularSouth, + TriangularWest, + TriangularEast, + }; + + QTabBar::Shape shape() const; + void setShape(QTabBar::Shape shape); + int addTab(const QString &text); + int addTab(const QIcon &icon, const QString &text); + int insertTab(int index, const QString &text); + int insertTab(int index, const QIcon &icon, const QString &text); + void removeTab(int index); + bool isTabEnabled(int index) const; + void setTabEnabled(int index, bool); + QString tabText(int index) const; + void setTabText(int index, const QString &text); + QColor tabTextColor(int index) const; + void setTabTextColor(int index, const QColor &color); + QIcon tabIcon(int index) const; + void setTabIcon(int index, const QIcon &icon); + void setTabToolTip(int index, const QString &tip); + QString tabToolTip(int index) const; + void setTabWhatsThis(int index, const QString &text); + QString tabWhatsThis(int index) const; + void setTabData(int index, const QVariant &data); + QVariant tabData(int index) const; + int tabAt(const QPoint &pos) const; + QRect tabRect(int index) const; + int currentIndex() const; + int count() const /__len__/; + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + void setDrawBase(bool drawTheBase); + bool drawBase() const; + QSize iconSize() const; + void setIconSize(const QSize &size); + Qt::TextElideMode elideMode() const; + void setElideMode(Qt::TextElideMode); + void setUsesScrollButtons(bool useButtons); + bool usesScrollButtons() const; + +public slots: + void setCurrentIndex(int index); + +signals: + void currentChanged(int index); + +protected: + void initStyleOption(QStyleOptionTab *option, int tabIndex) const; + virtual QSize tabSizeHint(int index) const; + virtual void tabInserted(int index); + virtual void tabRemoved(int index); + virtual void tabLayoutChange(); + virtual bool event(QEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void showEvent(QShowEvent *); + virtual void paintEvent(QPaintEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void changeEvent(QEvent *); + +public: + enum ButtonPosition + { + LeftSide, + RightSide, + }; + + enum SelectionBehavior + { + SelectLeftTab, + SelectRightTab, + SelectPreviousTab, + }; + + void moveTab(int from, int to); + bool tabsClosable() const; + void setTabsClosable(bool closable); + void setTabButton(int index, QTabBar::ButtonPosition position, QWidget *widget /Transfer/); + QWidget *tabButton(int index, QTabBar::ButtonPosition position) const; + QTabBar::SelectionBehavior selectionBehaviorOnRemove() const; + void setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior behavior); + bool expanding() const; + void setExpanding(bool enabled); + bool isMovable() const; + void setMovable(bool movable); + bool documentMode() const; + void setDocumentMode(bool set); + +signals: + void tabCloseRequested(int index); + void tabMoved(int from, int to); + +protected: + virtual void hideEvent(QHideEvent *); + virtual void wheelEvent(QWheelEvent *event); + virtual QSize minimumTabSizeHint(int index) const; + +signals: +%If (Qt_5_2_0 -) + void tabBarClicked(int index); +%End +%If (Qt_5_2_0 -) + void tabBarDoubleClicked(int index); +%End + +public: +%If (Qt_5_4_0 -) + bool autoHide() const; +%End +%If (Qt_5_4_0 -) + void setAutoHide(bool hide); +%End +%If (Qt_5_4_0 -) + bool changeCurrentOnDrag() const; +%End +%If (Qt_5_4_0 -) + void setChangeCurrentOnDrag(bool change); +%End + +protected: +%If (Qt_5_4_0 -) + virtual void timerEvent(QTimerEvent *event); +%End + +public: +%If (Qt_5_8_0 -) +%If (PyQt_Accessibility) + QString accessibleTabName(int index) const; +%End +%End +%If (Qt_5_8_0 -) +%If (PyQt_Accessibility) + void setAccessibleTabName(int index, const QString &name); +%End +%End +%If (Qt_5_15_0 -) + bool isTabVisible(int index) const; +%End +%If (Qt_5_15_0 -) + void setTabVisible(int index, bool visible); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtableview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtableview.sip new file mode 100644 index 00000000..b4f5966b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtableview.sip @@ -0,0 +1,116 @@ +// qtableview.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTableView : QAbstractItemView +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTableView(QWidget *parent /TransferThis/ = 0); + virtual ~QTableView(); + virtual void setModel(QAbstractItemModel *model /KeepReference/); + virtual void setRootIndex(const QModelIndex &index); + virtual void setSelectionModel(QItemSelectionModel *selectionModel /KeepReference/); + QHeaderView *horizontalHeader() const; + QHeaderView *verticalHeader() const; + void setHorizontalHeader(QHeaderView *header /Transfer/); + void setVerticalHeader(QHeaderView *header /Transfer/); + int rowViewportPosition(int row) const; + void setRowHeight(int row, int height); + int rowHeight(int row) const; + int rowAt(int y) const; + int columnViewportPosition(int column) const; + void setColumnWidth(int column, int width); + int columnWidth(int column) const; + int columnAt(int x) const; + bool isRowHidden(int row) const; + void setRowHidden(int row, bool hide); + bool isColumnHidden(int column) const; + void setColumnHidden(int column, bool hide); + bool showGrid() const; + void setShowGrid(bool show); + Qt::PenStyle gridStyle() const; + void setGridStyle(Qt::PenStyle style); + virtual QRect visualRect(const QModelIndex &index) const; + virtual void scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + virtual QModelIndex indexAt(const QPoint &p) const; + +public slots: + void selectRow(int row); + void selectColumn(int column); + void hideRow(int row); + void hideColumn(int column); + void showRow(int row); + void showColumn(int column); + void resizeRowToContents(int row); + void resizeRowsToContents(); + void resizeColumnToContents(int column); + void resizeColumnsToContents(); + +protected slots: + void rowMoved(int row, int oldIndex, int newIndex); + void columnMoved(int column, int oldIndex, int newIndex); + void rowResized(int row, int oldHeight, int newHeight); + void columnResized(int column, int oldWidth, int newWidth); + void rowCountChanged(int oldCount, int newCount); + void columnCountChanged(int oldCount, int newCount); + +protected: + virtual void scrollContentsBy(int dx, int dy); + virtual QStyleOptionViewItem viewOptions() const; + virtual void paintEvent(QPaintEvent *e); + virtual void timerEvent(QTimerEvent *event); + virtual int horizontalOffset() const; + virtual int verticalOffset() const; + virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); + virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); + virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; + virtual QModelIndexList selectedIndexes() const; + virtual void updateGeometries(); + virtual int sizeHintForRow(int row) const; + virtual int sizeHintForColumn(int column) const; + virtual void verticalScrollbarAction(int action); + virtual void horizontalScrollbarAction(int action); + virtual bool isIndexHidden(const QModelIndex &index) const; +%If (Qt_5_2_0 -) + virtual QSize viewportSizeHint() const; +%End + +public: + void setSortingEnabled(bool enable); + bool isSortingEnabled() const; + void setSpan(int row, int column, int rowSpan, int columnSpan); + int rowSpan(int row, int column) const; + int columnSpan(int row, int column) const; + void sortByColumn(int column, Qt::SortOrder order); + void setWordWrap(bool on); + bool wordWrap() const; + void setCornerButtonEnabled(bool enable); + bool isCornerButtonEnabled() const; + void clearSpans(); + +protected: + virtual void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected); + virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtablewidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtablewidget.sip new file mode 100644 index 00000000..d2d6b5b2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtablewidget.sip @@ -0,0 +1,237 @@ +// qtablewidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTableWidgetSelectionRange +{ +%TypeHeaderCode +#include +%End + +public: + QTableWidgetSelectionRange(); + QTableWidgetSelectionRange(int top, int left, int bottom, int right); + QTableWidgetSelectionRange(const QTableWidgetSelectionRange &other); + ~QTableWidgetSelectionRange(); + int topRow() const; + int bottomRow() const; + int leftColumn() const; + int rightColumn() const; + int rowCount() const; + int columnCount() const; +}; + +class QTableWidgetItem /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum ItemType + { + Type, + UserType, + }; + + explicit QTableWidgetItem(int type = QTableWidgetItem::ItemType::Type); + QTableWidgetItem(const QString &text, int type = QTableWidgetItem::ItemType::Type); + QTableWidgetItem(const QIcon &icon, const QString &text, int type = QTableWidgetItem::ItemType::Type); + QTableWidgetItem(const QTableWidgetItem &other); + virtual ~QTableWidgetItem(); + virtual QTableWidgetItem *clone() const /Factory/; + QTableWidget *tableWidget() const; + Qt::ItemFlags flags() const; + QString text() const; + QIcon icon() const; + QString statusTip() const; + QString toolTip() const; + QString whatsThis() const; + QFont font() const; + int textAlignment() const; + void setTextAlignment(int alignment); + Qt::CheckState checkState() const; + void setCheckState(Qt::CheckState state); + virtual QVariant data(int role) const; + virtual void setData(int role, const QVariant &value); + virtual bool operator<(const QTableWidgetItem &other /NoCopy/) const; + virtual void read(QDataStream &in) /ReleaseGIL/; + virtual void write(QDataStream &out) const /ReleaseGIL/; + int type() const; + void setFlags(Qt::ItemFlags aflags); + void setText(const QString &atext); + void setIcon(const QIcon &aicon); + void setStatusTip(const QString &astatusTip); + void setToolTip(const QString &atoolTip); + void setWhatsThis(const QString &awhatsThis); + void setFont(const QFont &afont); + QSize sizeHint() const; + void setSizeHint(const QSize &size); + QBrush background() const; + void setBackground(const QBrush &brush); + QBrush foreground() const; + void setForeground(const QBrush &brush); + int row() const; + int column() const; + void setSelected(bool aselect); + bool isSelected() const; + +private: + QTableWidgetItem &operator=(const QTableWidgetItem &); +}; + +QDataStream &operator>>(QDataStream &in, QTableWidgetItem &item /Constrained/) /ReleaseGIL/; +QDataStream &operator<<(QDataStream &out, const QTableWidgetItem &item /Constrained/) /ReleaseGIL/; + +class QTableWidget : QTableView +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTableWidget(QWidget *parent /TransferThis/ = 0); + QTableWidget(int rows, int columns, QWidget *parent /TransferThis/ = 0); + virtual ~QTableWidget(); + void setRowCount(int rows); + int rowCount() const; + void setColumnCount(int columns); + int columnCount() const; + int row(const QTableWidgetItem *item) const; + int column(const QTableWidgetItem *item) const; + QTableWidgetItem *item(int row, int column) const; + void setItem(int row, int column, QTableWidgetItem *item /Transfer/); + QTableWidgetItem *takeItem(int row, int column) /TransferBack/; + QTableWidgetItem *verticalHeaderItem(int row) const; + void setVerticalHeaderItem(int row, QTableWidgetItem *item /Transfer/); + QTableWidgetItem *takeVerticalHeaderItem(int row) /TransferBack/; + QTableWidgetItem *horizontalHeaderItem(int column) const; + void setHorizontalHeaderItem(int column, QTableWidgetItem *item /Transfer/); + QTableWidgetItem *takeHorizontalHeaderItem(int column) /TransferBack/; + void setVerticalHeaderLabels(const QStringList &labels); + void setHorizontalHeaderLabels(const QStringList &labels); + int currentRow() const; + int currentColumn() const; + QTableWidgetItem *currentItem() const; + void setCurrentItem(QTableWidgetItem *item); + void setCurrentItem(QTableWidgetItem *item, QItemSelectionModel::SelectionFlags command); + void setCurrentCell(int row, int column); + void setCurrentCell(int row, int column, QItemSelectionModel::SelectionFlags command); + void sortItems(int column, Qt::SortOrder order = Qt::AscendingOrder); + void setSortingEnabled(bool enable); + bool isSortingEnabled() const; + void editItem(QTableWidgetItem *item); + void openPersistentEditor(QTableWidgetItem *item); + void closePersistentEditor(QTableWidgetItem *item); + QWidget *cellWidget(int row, int column) const; + void setCellWidget(int row, int column, QWidget *widget /Transfer/); +%MethodCode + // We have to break the association with any existing widget. + QWidget *w = sipCpp->cellWidget(a0, a1); + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferTo(wo, 0); + } + + Py_BEGIN_ALLOW_THREADS + sipCpp->setCellWidget(a0, a1, a2); + Py_END_ALLOW_THREADS +%End + + void removeCellWidget(int arow, int acolumn); +%MethodCode + // We have to break the association with any existing widget. + QWidget *w = sipCpp->cellWidget(a0, a1); + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferTo(wo, 0); + } + + Py_BEGIN_ALLOW_THREADS + sipCpp->removeCellWidget(a0, a1); + Py_END_ALLOW_THREADS +%End + + void setRangeSelected(const QTableWidgetSelectionRange &range, bool select); + QList selectedRanges() const; + QList selectedItems() const; + QList findItems(const QString &text, Qt::MatchFlags flags) const; + int visualRow(int logicalRow) const; + int visualColumn(int logicalColumn) const; + QTableWidgetItem *itemAt(const QPoint &p) const; + QTableWidgetItem *itemAt(int ax, int ay) const; + QRect visualItemRect(const QTableWidgetItem *item) const; + const QTableWidgetItem *itemPrototype() const; + void setItemPrototype(const QTableWidgetItem *item /Transfer/); + +public slots: + void scrollToItem(const QTableWidgetItem *item, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + void insertRow(int row); + void insertColumn(int column); + void removeRow(int row); + void removeColumn(int column); + void clear(); + void clearContents(); + +signals: + void itemPressed(QTableWidgetItem *item); + void itemClicked(QTableWidgetItem *item); + void itemDoubleClicked(QTableWidgetItem *item); + void itemActivated(QTableWidgetItem *item); + void itemEntered(QTableWidgetItem *item); + void itemChanged(QTableWidgetItem *item); + void currentItemChanged(QTableWidgetItem *current, QTableWidgetItem *previous); + void itemSelectionChanged(); + void cellPressed(int row, int column); + void cellClicked(int row, int column); + void cellDoubleClicked(int row, int column); + void cellActivated(int row, int column); + void cellEntered(int row, int column); + void cellChanged(int row, int column); + void currentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn); + +protected: + virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QList items) const /TransferBack/; + virtual bool dropMimeData(int row, int column, const QMimeData *data, Qt::DropAction action); + virtual Qt::DropActions supportedDropActions() const; + QList items(const QMimeData *data) const; + QModelIndex indexFromItem(QTableWidgetItem *item) const; + QTableWidgetItem *itemFromIndex(const QModelIndex &index) const; + virtual bool event(QEvent *e); + virtual void dropEvent(QDropEvent *event); + +public: +%If (Qt_5_10_0 -) + bool isPersistentEditorOpen(QTableWidgetItem *item) const; +%End + +private: + virtual void setModel(QAbstractItemModel *model /KeepReference/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtabwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtabwidget.sip new file mode 100644 index 00000000..afa8c01c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtabwidget.sip @@ -0,0 +1,144 @@ +// qtabwidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTabWidget : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTabWidget(QWidget *parent /TransferThis/ = 0); + virtual ~QTabWidget(); + void clear(); + int addTab(QWidget *widget /Transfer/, const QString &); + int addTab(QWidget *widget /Transfer/, const QIcon &icon, const QString &label); + int insertTab(int index, QWidget *widget /Transfer/, const QString &); + int insertTab(int index, QWidget *widget /Transfer/, const QIcon &icon, const QString &label); + void removeTab(int index); + bool isTabEnabled(int index) const; + void setTabEnabled(int index, bool); + QString tabText(int index) const; + void setTabText(int index, const QString &); + QIcon tabIcon(int index) const; + void setTabIcon(int index, const QIcon &icon); + void setTabToolTip(int index, const QString &tip); + QString tabToolTip(int index) const; + void setTabWhatsThis(int index, const QString &text); + QString tabWhatsThis(int index) const; + int currentIndex() const; + QWidget *currentWidget() const; + QWidget *widget(int index) const; + int indexOf(QWidget *widget) const; + int count() const /__len__/; + + enum TabPosition + { + North, + South, + West, + East, + }; + + QTabWidget::TabPosition tabPosition() const; + void setTabPosition(QTabWidget::TabPosition); + + enum TabShape + { + Rounded, + Triangular, + }; + + QTabWidget::TabShape tabShape() const; + void setTabShape(QTabWidget::TabShape s); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + void setCornerWidget(QWidget *widget /Transfer/, Qt::Corner corner = Qt::TopRightCorner); + QWidget *cornerWidget(Qt::Corner corner = Qt::TopRightCorner) const; + +public slots: + void setCurrentIndex(int index); + void setCurrentWidget(QWidget *widget); + +signals: + void currentChanged(int index); + +protected: + void initStyleOption(QStyleOptionTabWidgetFrame *option) const; + virtual void tabInserted(int index); + virtual void tabRemoved(int index); + virtual bool event(QEvent *); + virtual void showEvent(QShowEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void paintEvent(QPaintEvent *); + void setTabBar(QTabBar * /Transfer/); + +public: + QTabBar *tabBar() const; + +protected: + virtual void changeEvent(QEvent *); + +public: + Qt::TextElideMode elideMode() const; + void setElideMode(Qt::TextElideMode); + QSize iconSize() const; + void setIconSize(const QSize &size); + bool usesScrollButtons() const; + void setUsesScrollButtons(bool useButtons); + bool tabsClosable() const; + void setTabsClosable(bool closeable); + bool isMovable() const; + void setMovable(bool movable); + bool documentMode() const; + void setDocumentMode(bool set); + +signals: + void tabCloseRequested(int index); + +public: + virtual int heightForWidth(int width) const; + virtual bool hasHeightForWidth() const; + +signals: +%If (Qt_5_2_0 -) + void tabBarClicked(int index); +%End +%If (Qt_5_2_0 -) + void tabBarDoubleClicked(int index); +%End + +public: +%If (Qt_5_4_0 -) + bool tabBarAutoHide() const; +%End +%If (Qt_5_4_0 -) + void setTabBarAutoHide(bool enabled); +%End +%If (Qt_5_15_0 -) + bool isTabVisible(int index) const; +%End +%If (Qt_5_15_0 -) + void setTabVisible(int index, bool visible); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtextbrowser.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtextbrowser.sip new file mode 100644 index 00000000..c744eee1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtextbrowser.sip @@ -0,0 +1,92 @@ +// qtextbrowser.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextBrowser : QTextEdit +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTextBrowser(QWidget *parent /TransferThis/ = 0); + virtual ~QTextBrowser(); + QUrl source() const; + QStringList searchPaths() const; + void setSearchPaths(const QStringList &paths); + virtual QVariant loadResource(int type, const QUrl &name); + +public slots: + virtual void setSource(const QUrl &name); + virtual void backward(); + virtual void forward(); + virtual void home(); + virtual void reload(); + +signals: + void backwardAvailable(bool); + void forwardAvailable(bool); + void sourceChanged(const QUrl &); + void highlighted(const QUrl &); + void highlighted(const QString &); + void anchorClicked(const QUrl &); + +protected: + virtual bool event(QEvent *e); + virtual void keyPressEvent(QKeyEvent *ev); + virtual void mouseMoveEvent(QMouseEvent *ev); + virtual void mousePressEvent(QMouseEvent *ev); + virtual void mouseReleaseEvent(QMouseEvent *ev); + virtual void focusOutEvent(QFocusEvent *ev); + virtual bool focusNextPrevChild(bool next); + virtual void paintEvent(QPaintEvent *e); + +public: + bool isBackwardAvailable() const; + bool isForwardAvailable() const; + void clearHistory(); + bool openExternalLinks() const; + void setOpenExternalLinks(bool open); + bool openLinks() const; + void setOpenLinks(bool open); + QString historyTitle(int) const; + QUrl historyUrl(int) const; + int backwardHistoryCount() const; + int forwardHistoryCount() const; + +signals: + void historyChanged(); + +public: +%If (Qt_5_14_0 -) + QTextDocument::ResourceType sourceType() const; +%End + +public slots: +%If (Qt_5_14_0 -) + void setSource(const QUrl &name, QTextDocument::ResourceType type); +%End + +protected: +%If (Qt_5_14_0 -) + void doSetSource(const QUrl &name, QTextDocument::ResourceType type = QTextDocument::UnknownResource); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtextedit.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtextedit.sip new file mode 100644 index 00000000..fe7a1639 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtextedit.sip @@ -0,0 +1,230 @@ +// qtextedit.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTextEdit : QAbstractScrollArea +{ +%TypeHeaderCode +#include +%End + +public: + struct ExtraSelection + { +%TypeHeaderCode +#include +%End + + QTextCursor cursor; + QTextCharFormat format; + }; + + enum LineWrapMode + { + NoWrap, + WidgetWidth, + FixedPixelWidth, + FixedColumnWidth, + }; + + enum AutoFormattingFlag + { + AutoNone, + AutoBulletList, + AutoAll, + }; + + typedef QFlags AutoFormatting; + explicit QTextEdit(QWidget *parent /TransferThis/ = 0); + QTextEdit(const QString &text, QWidget *parent /TransferThis/ = 0); + virtual ~QTextEdit(); + void setDocument(QTextDocument *document /KeepReference/); + QTextDocument *document() const; + void setTextCursor(const QTextCursor &cursor); + QTextCursor textCursor() const; + bool isReadOnly() const; + void setReadOnly(bool ro); + qreal fontPointSize() const; + QString fontFamily() const; + int fontWeight() const; + bool fontUnderline() const; + bool fontItalic() const; + QColor textColor() const; + QFont currentFont() const; + Qt::Alignment alignment() const; + void mergeCurrentCharFormat(const QTextCharFormat &modifier); + void setCurrentCharFormat(const QTextCharFormat &format); + QTextCharFormat currentCharFormat() const; + QTextEdit::AutoFormatting autoFormatting() const; + void setAutoFormatting(QTextEdit::AutoFormatting features); + bool tabChangesFocus() const; + void setTabChangesFocus(bool b); + void setDocumentTitle(const QString &title); + QString documentTitle() const; + bool isUndoRedoEnabled() const; + void setUndoRedoEnabled(bool enable); + QTextEdit::LineWrapMode lineWrapMode() const; + void setLineWrapMode(QTextEdit::LineWrapMode mode); + int lineWrapColumnOrWidth() const; + void setLineWrapColumnOrWidth(int w); + QTextOption::WrapMode wordWrapMode() const; + void setWordWrapMode(QTextOption::WrapMode policy); + bool find(const QString &exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + QString toPlainText() const; + QString toHtml() const; + void append(const QString &text); + void ensureCursorVisible(); + virtual QVariant loadResource(int type, const QUrl &name); + QMenu *createStandardContextMenu() /Factory/; + QMenu *createStandardContextMenu(const QPoint &position) /Factory/; + QTextCursor cursorForPosition(const QPoint &pos) const; + QRect cursorRect(const QTextCursor &cursor) const; + QRect cursorRect() const; + QString anchorAt(const QPoint &pos) const; + bool overwriteMode() const; + void setOverwriteMode(bool overwrite); + int tabStopWidth() const; + void setTabStopWidth(int width); + bool acceptRichText() const; + void setAcceptRichText(bool accept); + void setTextInteractionFlags(Qt::TextInteractionFlags flags); + Qt::TextInteractionFlags textInteractionFlags() const; + void setCursorWidth(int width); + int cursorWidth() const; + void setExtraSelections(const QList &selections); + QList extraSelections() const; + bool canPaste() const; + void moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); +%If (PyQt_Printer) + void print(QPagedPaintDevice *printer) const /PyName=print_/; +%End +%If (Py_v3) +%If (PyQt_Printer) + void print(QPagedPaintDevice *printer) const; +%End +%End + +public slots: + void setFontPointSize(qreal s); + void setFontFamily(const QString &fontFamily); + void setFontWeight(int w); + void setFontUnderline(bool b); + void setFontItalic(bool b); + void setText(const QString &text); + void setTextColor(const QColor &c); + void setCurrentFont(const QFont &f); + void setAlignment(Qt::Alignment a); + void setPlainText(const QString &text); + void setHtml(const QString &text); + void cut(); + void copy(); + void paste(); + void clear(); + void selectAll(); + void insertPlainText(const QString &text); + void insertHtml(const QString &text); + void scrollToAnchor(const QString &name); + void redo(); + void undo(); + void zoomIn(int range = 1); + void zoomOut(int range = 1); + +signals: + void textChanged(); + void undoAvailable(bool b); + void redoAvailable(bool b); + void currentCharFormatChanged(const QTextCharFormat &format); + void copyAvailable(bool b); + void selectionChanged(); + void cursorPositionChanged(); + +protected: + virtual bool event(QEvent *e); + virtual void timerEvent(QTimerEvent *e); + virtual void keyPressEvent(QKeyEvent *e); + virtual void keyReleaseEvent(QKeyEvent *e); + virtual void resizeEvent(QResizeEvent *); + virtual void paintEvent(QPaintEvent *e); + virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseMoveEvent(QMouseEvent *e); + virtual void mouseReleaseEvent(QMouseEvent *e); + virtual void mouseDoubleClickEvent(QMouseEvent *e); + virtual bool focusNextPrevChild(bool next); + virtual void contextMenuEvent(QContextMenuEvent *e); + virtual void dragEnterEvent(QDragEnterEvent *e); + virtual void dragLeaveEvent(QDragLeaveEvent *e); + virtual void dragMoveEvent(QDragMoveEvent *e); + virtual void dropEvent(QDropEvent *e); + virtual void focusInEvent(QFocusEvent *e); + virtual void focusOutEvent(QFocusEvent *e); + virtual void showEvent(QShowEvent *); + virtual void changeEvent(QEvent *e); + virtual void wheelEvent(QWheelEvent *e); + virtual QMimeData *createMimeDataFromSelection() const /Factory/; + virtual bool canInsertFromMimeData(const QMimeData *source) const; + virtual void insertFromMimeData(const QMimeData *source); + virtual void inputMethodEvent(QInputMethodEvent *); + +public: + virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; + +protected: + virtual void scrollContentsBy(int dx, int dy); + +public: + QColor textBackgroundColor() const; + +public slots: + void setTextBackgroundColor(const QColor &c); + +public: +%If (Qt_5_2_0 -) + void setPlaceholderText(const QString &placeholderText); +%End +%If (Qt_5_2_0 -) + QString placeholderText() const; +%End +%If (Qt_5_3_0 -) + bool find(const QRegExp &exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); +%End +%If (Qt_5_13_0 -) + bool find(const QRegularExpression &exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); +%End +%If (Qt_5_3_0 -) + QVariant inputMethodQuery(Qt::InputMethodQuery query, QVariant argument) const; +%End +%If (Qt_5_10_0 -) + qreal tabStopDistance() const; +%End +%If (Qt_5_10_0 -) + void setTabStopDistance(qreal distance); +%End +%If (Qt_5_14_0 -) + QString toMarkdown(QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub) const; +%End + +public slots: +%If (Qt_5_14_0 -) + void setMarkdown(const QString &markdown); +%End +}; + +QFlags operator|(QTextEdit::AutoFormattingFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbar.sip new file mode 100644 index 00000000..e455c35c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbar.sip @@ -0,0 +1,111 @@ +// qtoolbar.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QToolBar : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + QToolBar(const QString &title, QWidget *parent /TransferThis/ = 0); + explicit QToolBar(QWidget *parent /TransferThis/ = 0); + virtual ~QToolBar(); + void setMovable(bool movable); + bool isMovable() const; + void setAllowedAreas(Qt::ToolBarAreas areas); + Qt::ToolBarAreas allowedAreas() const; + bool isAreaAllowed(Qt::ToolBarArea area) const; + void setOrientation(Qt::Orientation orientation); + Qt::Orientation orientation() const; + void clear(); + void addAction(QAction *action); + QAction *addAction(const QString &text) /Transfer/; + QAction *addAction(const QIcon &icon, const QString &text) /Transfer/; + QAction *addAction(const QString &text, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /Transfer/; +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a1, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipRes = sipCpp->addAction(*a0, receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(1, a1); + } +%End + + QAction *addAction(const QIcon &icon, const QString &text, SIP_PYOBJECT slot /TypeHint="PYQT_SLOT"/) /Transfer/; +%MethodCode + QObject *receiver; + QByteArray slot_signature; + + if ((sipError = pyqt5_qtwidgets_get_connection_parts(a2, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone) + { + sipRes = sipCpp->addAction(*a0, *a1, receiver, slot_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(2, a2); + } +%End + + QAction *addSeparator() /Transfer/; + QAction *insertSeparator(QAction *before) /Transfer/; + QAction *addWidget(QWidget *widget /Transfer/) /Transfer/; + QAction *insertWidget(QAction *before, QWidget *widget /Transfer/) /Transfer/; + QRect actionGeometry(QAction *action) const; + QAction *actionAt(const QPoint &p) const; + QAction *actionAt(int ax, int ay) const; + QAction *toggleViewAction() const; + QSize iconSize() const; + Qt::ToolButtonStyle toolButtonStyle() const; + QWidget *widgetForAction(QAction *action) const; + +public slots: + void setIconSize(const QSize &iconSize); + void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle); + +signals: + void actionTriggered(QAction *action); + void movableChanged(bool movable); + void allowedAreasChanged(Qt::ToolBarAreas allowedAreas); + void orientationChanged(Qt::Orientation orientation); + void iconSizeChanged(const QSize &iconSize); + void toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle); + void topLevelChanged(bool topLevel); + void visibilityChanged(bool visible); + +protected: + void initStyleOption(QStyleOptionToolBar *option) const; + virtual void actionEvent(QActionEvent *event); + virtual void changeEvent(QEvent *event); + virtual void paintEvent(QPaintEvent *event); + virtual bool event(QEvent *event); + +public: + bool isFloatable() const; + void setFloatable(bool floatable); + bool isFloating() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbox.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbox.sip new file mode 100644 index 00000000..e32c483d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbox.sip @@ -0,0 +1,64 @@ +// qtoolbox.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QToolBox : QFrame +{ +%TypeHeaderCode +#include +%End + +public: + QToolBox(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QToolBox(); + int addItem(QWidget *item /Transfer/, const QString &text); + int addItem(QWidget *item /Transfer/, const QIcon &iconSet, const QString &text); + int insertItem(int index, QWidget *item /Transfer/, const QString &text); + int insertItem(int index, QWidget *widget /Transfer/, const QIcon &icon, const QString &text); + void removeItem(int index); + void setItemEnabled(int index, bool enabled); + bool isItemEnabled(int index) const; + void setItemText(int index, const QString &text); + QString itemText(int index) const; + void setItemIcon(int index, const QIcon &icon); + QIcon itemIcon(int index) const; + void setItemToolTip(int index, const QString &toolTip); + QString itemToolTip(int index) const; + int currentIndex() const; + QWidget *currentWidget() const; + QWidget *widget(int index) const; + int indexOf(QWidget *widget) const; + int count() const /__len__/; + +public slots: + void setCurrentIndex(int index); + void setCurrentWidget(QWidget *widget); + +signals: + void currentChanged(int index); + +protected: + virtual void itemInserted(int index); + virtual void itemRemoved(int index); + virtual bool event(QEvent *e); + virtual void showEvent(QShowEvent *e); + virtual void changeEvent(QEvent *); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbutton.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbutton.sip new file mode 100644 index 00000000..51e6d89f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtoolbutton.sip @@ -0,0 +1,73 @@ +// qtoolbutton.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QToolButton : QAbstractButton +{ +%TypeHeaderCode +#include +%End + +public: + enum ToolButtonPopupMode + { + DelayedPopup, + MenuButtonPopup, + InstantPopup, + }; + + explicit QToolButton(QWidget *parent /TransferThis/ = 0); + virtual ~QToolButton(); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + Qt::ToolButtonStyle toolButtonStyle() const; + Qt::ArrowType arrowType() const; + void setArrowType(Qt::ArrowType type); + void setMenu(QMenu *menu /KeepReference/); + QMenu *menu() const; + void setPopupMode(QToolButton::ToolButtonPopupMode mode); + QToolButton::ToolButtonPopupMode popupMode() const; + QAction *defaultAction() const; + void setAutoRaise(bool enable); + bool autoRaise() const; + +public slots: + void showMenu(); + void setToolButtonStyle(Qt::ToolButtonStyle style); + void setDefaultAction(QAction * /KeepReference/); + +signals: + void triggered(QAction *); + +protected: + void initStyleOption(QStyleOptionToolButton *option) const; + virtual bool event(QEvent *e); + virtual void mousePressEvent(QMouseEvent *); + virtual void paintEvent(QPaintEvent *); + virtual void actionEvent(QActionEvent *); + virtual void enterEvent(QEvent *); + virtual void leaveEvent(QEvent *); + virtual void timerEvent(QTimerEvent *); + virtual void changeEvent(QEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void nextCheckState(); + virtual bool hitButton(const QPoint &pos) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtooltip.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtooltip.sip new file mode 100644 index 00000000..c36d3f72 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtooltip.sip @@ -0,0 +1,44 @@ +// qtooltip.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QToolTip +{ +%TypeHeaderCode +#include +%End + + QToolTip(); + +public: + static void showText(const QPoint &pos, const QString &text, QWidget *widget = 0); + static void showText(const QPoint &pos, const QString &text, QWidget *w, const QRect &rect); +%If (Qt_5_2_0 -) + static void showText(const QPoint &pos, const QString &text, QWidget *w, const QRect &rect, int msecShowTime); +%End + static QPalette palette(); + static void hideText(); + static void setPalette(const QPalette &); + static QFont font(); + static void setFont(const QFont &); + static bool isVisible(); + static QString text(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreeview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreeview.sip new file mode 100644 index 00000000..49cc8ebf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreeview.sip @@ -0,0 +1,164 @@ +// qtreeview.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTreeView : QAbstractItemView +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTreeView(QWidget *parent /TransferThis/ = 0); + virtual ~QTreeView(); + virtual void setModel(QAbstractItemModel *model /KeepReference/); + virtual void setRootIndex(const QModelIndex &index); + virtual void setSelectionModel(QItemSelectionModel *selectionModel /KeepReference/); + QHeaderView *header() const; + void setHeader(QHeaderView *header /Transfer/); + int indentation() const; + void setIndentation(int i); + bool rootIsDecorated() const; + void setRootIsDecorated(bool show); + bool uniformRowHeights() const; + void setUniformRowHeights(bool uniform); + bool itemsExpandable() const; + void setItemsExpandable(bool enable); + int columnViewportPosition(int column) const; + int columnWidth(int column) const; + int columnAt(int x) const; + bool isColumnHidden(int column) const; + void setColumnHidden(int column, bool hide); + bool isRowHidden(int row, const QModelIndex &parent) const; + void setRowHidden(int row, const QModelIndex &parent, bool hide); + bool isExpanded(const QModelIndex &index) const; + void setExpanded(const QModelIndex &index, bool expand); + virtual void keyboardSearch(const QString &search); + virtual QRect visualRect(const QModelIndex &index) const; + virtual void scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + virtual QModelIndex indexAt(const QPoint &p) const; + QModelIndex indexAbove(const QModelIndex &index) const; + QModelIndex indexBelow(const QModelIndex &index) const; + virtual void reset(); + +signals: + void expanded(const QModelIndex &index); + void collapsed(const QModelIndex &index); + +public: + virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); + +public slots: + void hideColumn(int column); + void showColumn(int column); + void expand(const QModelIndex &index); + void expandAll(); + void collapse(const QModelIndex &index); + void collapseAll(); + void resizeColumnToContents(int column); + virtual void selectAll(); + +protected slots: + void columnResized(int column, int oldSize, int newSize); + void columnCountChanged(int oldCount, int newCount); + void columnMoved(); + void reexpand(); + void rowsRemoved(const QModelIndex &parent, int first, int last); + +protected: + virtual void scrollContentsBy(int dx, int dy); + virtual void rowsInserted(const QModelIndex &parent, int start, int end); + virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); + virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); + virtual int horizontalOffset() const; + virtual int verticalOffset() const; + virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); + virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; + virtual QModelIndexList selectedIndexes() const; + virtual void paintEvent(QPaintEvent *e); + virtual void timerEvent(QTimerEvent *event); + virtual void mouseReleaseEvent(QMouseEvent *event); + virtual void drawRow(QPainter *painter, const QStyleOptionViewItem &options /NoCopy/, const QModelIndex &index) const; + virtual void drawBranches(QPainter *painter, const QRect &rect, const QModelIndex &index) const; + void drawTree(QPainter *painter, const QRegion ®ion) const; + virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseMoveEvent(QMouseEvent *event); + virtual void mouseDoubleClickEvent(QMouseEvent *e); + virtual void keyPressEvent(QKeyEvent *event); + virtual void updateGeometries(); + virtual int sizeHintForColumn(int column) const; + int indexRowSizeHint(const QModelIndex &index) const; + virtual void horizontalScrollbarAction(int action); + virtual bool isIndexHidden(const QModelIndex &index) const; + +public: + void setColumnWidth(int column, int width); + void setSortingEnabled(bool enable); + bool isSortingEnabled() const; + void setAnimated(bool enable); + bool isAnimated() const; + void setAllColumnsShowFocus(bool enable); + bool allColumnsShowFocus() const; + void sortByColumn(int column, Qt::SortOrder order); + int autoExpandDelay() const; + void setAutoExpandDelay(int delay); + bool isFirstColumnSpanned(int row, const QModelIndex &parent) const; + void setFirstColumnSpanned(int row, const QModelIndex &parent, bool span); + void setWordWrap(bool on); + bool wordWrap() const; + +public slots: + void expandToDepth(int depth); + +protected: + virtual void dragMoveEvent(QDragMoveEvent *event); + virtual bool viewportEvent(QEvent *event); + int rowHeight(const QModelIndex &index) const; + virtual void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected); + virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); + +public: + bool expandsOnDoubleClick() const; + void setExpandsOnDoubleClick(bool enable); + bool isHeaderHidden() const; + void setHeaderHidden(bool hide); +%If (Qt_5_2_0 -) + void setTreePosition(int logicalIndex); +%End +%If (Qt_5_2_0 -) + int treePosition() const; +%End + +protected: +%If (Qt_5_2_0 -) + virtual QSize viewportSizeHint() const; +%End + +public: +%If (Qt_5_4_0 -) + void resetIndentation(); +%End + +public slots: +%If (Qt_5_13_0 -) + void expandRecursively(const QModelIndex &index, int depth = -1); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreewidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreewidget.sip new file mode 100644 index 00000000..1a7a7112 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreewidget.sip @@ -0,0 +1,243 @@ +// qtreewidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTreeWidgetItem /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum ItemType + { + Type, + UserType, + }; + + explicit QTreeWidgetItem(int type = Type); + QTreeWidgetItem(const QStringList &strings, int type = Type); + QTreeWidgetItem(QTreeWidget *parent /TransferThis/, int type = Type); + QTreeWidgetItem(QTreeWidget *parent /TransferThis/, const QStringList &strings, int type = Type); + QTreeWidgetItem(QTreeWidget *parent /TransferThis/, QTreeWidgetItem *preceding, int type = Type); + QTreeWidgetItem(QTreeWidgetItem *parent /TransferThis/, int type = Type); + QTreeWidgetItem(QTreeWidgetItem *parent /TransferThis/, const QStringList &strings, int type = Type); + QTreeWidgetItem(QTreeWidgetItem *parent /TransferThis/, QTreeWidgetItem *preceding, int type = Type); + QTreeWidgetItem(const QTreeWidgetItem &other); + virtual ~QTreeWidgetItem(); + virtual QTreeWidgetItem *clone() const /Factory/; + QTreeWidget *treeWidget() const; + Qt::ItemFlags flags() const; + QString text(int column) const; + QIcon icon(int column) const; + QString statusTip(int column) const; + QString toolTip(int column) const; + QString whatsThis(int column) const; + QFont font(int column) const; + int textAlignment(int column) const; + void setTextAlignment(int column, int alignment); + Qt::CheckState checkState(int column) const; + void setCheckState(int column, Qt::CheckState state); + virtual QVariant data(int column, int role) const; + virtual void setData(int column, int role, const QVariant &value); + virtual bool operator<(const QTreeWidgetItem &other /NoCopy/) const; + virtual void read(QDataStream &in) /ReleaseGIL/; + virtual void write(QDataStream &out) const /ReleaseGIL/; + QTreeWidgetItem *parent() const; + QTreeWidgetItem *child(int index) const; + int childCount() const; + int columnCount() const; + void addChild(QTreeWidgetItem *child /Transfer/); + void insertChild(int index, QTreeWidgetItem *child /Transfer/); + QTreeWidgetItem *takeChild(int index) /TransferBack/; + int type() const; + void setFlags(Qt::ItemFlags aflags); + void setText(int column, const QString &atext); + void setIcon(int column, const QIcon &aicon); + void setStatusTip(int column, const QString &astatusTip); + void setToolTip(int column, const QString &atoolTip); + void setWhatsThis(int column, const QString &awhatsThis); + void setFont(int column, const QFont &afont); + int indexOfChild(QTreeWidgetItem *achild) const; + QSize sizeHint(int column) const; + void setSizeHint(int column, const QSize &size); + void addChildren(const QList &children /Transfer/); + void insertChildren(int index, const QList &children /Transfer/); + QList takeChildren() /TransferBack/; + QBrush background(int column) const; + void setBackground(int column, const QBrush &brush); + QBrush foreground(int column) const; + void setForeground(int column, const QBrush &brush); + void sortChildren(int column, Qt::SortOrder order); + void setSelected(bool aselect); + bool isSelected() const; + void setHidden(bool ahide); + bool isHidden() const; + void setExpanded(bool aexpand); + bool isExpanded() const; + + enum ChildIndicatorPolicy + { + ShowIndicator, + DontShowIndicator, + DontShowIndicatorWhenChildless, + }; + + void setChildIndicatorPolicy(QTreeWidgetItem::ChildIndicatorPolicy policy); + QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy() const; + void removeChild(QTreeWidgetItem *child /TransferBack/); + void setFirstColumnSpanned(bool aspan); + bool isFirstColumnSpanned() const; + void setDisabled(bool disabled); + bool isDisabled() const; + +protected: + void emitDataChanged(); + +private: + QTreeWidgetItem &operator=(const QTreeWidgetItem &); +}; + +QDataStream &operator<<(QDataStream &out, const QTreeWidgetItem &item /Constrained/) /ReleaseGIL/; +QDataStream &operator>>(QDataStream &in, QTreeWidgetItem &item /Constrained/) /ReleaseGIL/; + +class QTreeWidget : QTreeView +{ +%TypeHeaderCode +#include +%End + +public: + explicit QTreeWidget(QWidget *parent /TransferThis/ = 0); + virtual ~QTreeWidget(); + int columnCount() const; + void setColumnCount(int columns); + QTreeWidgetItem *topLevelItem(int index) const; + int topLevelItemCount() const; + void insertTopLevelItem(int index, QTreeWidgetItem *item /Transfer/); + void addTopLevelItem(QTreeWidgetItem *item /Transfer/); + QTreeWidgetItem *takeTopLevelItem(int index) /TransferBack/; + int indexOfTopLevelItem(QTreeWidgetItem *item) const; + void insertTopLevelItems(int index, const QList &items /Transfer/); + void addTopLevelItems(const QList &items /Transfer/); + QTreeWidgetItem *headerItem() const; + void setHeaderItem(QTreeWidgetItem *item /Transfer/); + void setHeaderLabels(const QStringList &labels); + QTreeWidgetItem *currentItem() const; + int currentColumn() const; + void setCurrentItem(QTreeWidgetItem *item); + void setCurrentItem(QTreeWidgetItem *item, int column); + void setCurrentItem(QTreeWidgetItem *item, int column, QItemSelectionModel::SelectionFlags command); + QTreeWidgetItem *itemAt(const QPoint &p) const; + QTreeWidgetItem *itemAt(int ax, int ay) const; + QRect visualItemRect(const QTreeWidgetItem *item) const; + int sortColumn() const; + void sortItems(int column, Qt::SortOrder order); + void editItem(QTreeWidgetItem *item, int column = 0); + void openPersistentEditor(QTreeWidgetItem *item, int column = 0); + void closePersistentEditor(QTreeWidgetItem *item, int column = 0); + QWidget *itemWidget(QTreeWidgetItem *item, int column) const; + void setItemWidget(QTreeWidgetItem *item, int column, QWidget *widget /Transfer/); +%MethodCode + // We have to break the association with any existing widget. Note that I'm + // not sure this is really necessary as it should get tidied up when Qt + // destroys any current widget, except (possibly) when the widget wasn't + // created from PyQt. See also removeItemWidget(), QListWidget and + // QTableWidget. + QWidget *w = sipCpp->itemWidget(a0, a1); + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferTo(wo, 0); + } + + Py_BEGIN_ALLOW_THREADS + sipCpp->setItemWidget(a0, a1, a2); + Py_END_ALLOW_THREADS +%End + + QList selectedItems() const; + QList findItems(const QString &text, Qt::MatchFlags flags, int column = 0) const; + +public slots: + void scrollToItem(const QTreeWidgetItem *item, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); + void expandItem(const QTreeWidgetItem *item); + void collapseItem(const QTreeWidgetItem *item); + void clear(); + +signals: + void itemPressed(QTreeWidgetItem *item, int column); + void itemClicked(QTreeWidgetItem *item, int column); + void itemDoubleClicked(QTreeWidgetItem *item, int column); + void itemActivated(QTreeWidgetItem *item, int column); + void itemEntered(QTreeWidgetItem *item, int column); + void itemChanged(QTreeWidgetItem *item, int column); + void itemExpanded(QTreeWidgetItem *item); + void itemCollapsed(QTreeWidgetItem *item); + void currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous); + void itemSelectionChanged(); + +protected: + virtual QStringList mimeTypes() const; + virtual QMimeData *mimeData(const QList items) const /TransferBack/; + virtual bool dropMimeData(QTreeWidgetItem *parent, int index, const QMimeData *data, Qt::DropAction action); + virtual Qt::DropActions supportedDropActions() const; + QModelIndex indexFromItem(QTreeWidgetItem *item, int column = 0) const; + QTreeWidgetItem *itemFromIndex(const QModelIndex &index) const; + virtual bool event(QEvent *e); + virtual void dropEvent(QDropEvent *event); + +public: + QTreeWidgetItem *invisibleRootItem() const /Transfer/; + void setHeaderLabel(const QString &alabel); + bool isFirstItemColumnSpanned(const QTreeWidgetItem *item) const; + void setFirstItemColumnSpanned(const QTreeWidgetItem *item, bool span); + QTreeWidgetItem *itemAbove(const QTreeWidgetItem *item) const; + QTreeWidgetItem *itemBelow(const QTreeWidgetItem *item) const; + void removeItemWidget(QTreeWidgetItem *item, int column); +%MethodCode + // We have to break the association with any existing widget. + QWidget *w = sipCpp->itemWidget(a0, a1); + + if (w) + { + PyObject *wo = sipGetPyObject(w, sipType_QWidget); + + if (wo) + sipTransferTo(wo, 0); + } + + Py_BEGIN_ALLOW_THREADS + sipCpp->removeItemWidget(a0, a1); + Py_END_ALLOW_THREADS +%End + + virtual void setSelectionModel(QItemSelectionModel *selectionModel /KeepReference/); +%If (Qt_5_10_0 -) + bool isPersistentEditorOpen(QTreeWidgetItem *item, int column = 0) const; +%End + +private: + virtual void setModel(QAbstractItemModel *model /KeepReference/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreewidgetitemiterator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreewidgetitemiterator.sip new file mode 100644 index 00000000..d29bb94b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qtreewidgetitemiterator.sip @@ -0,0 +1,69 @@ +// qtreewidgetitemiterator.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QTreeWidgetItemIterator +{ +%TypeHeaderCode +#include +%End + +public: + enum IteratorFlag + { + All, + Hidden, + NotHidden, + Selected, + Unselected, + Selectable, + NotSelectable, + DragEnabled, + DragDisabled, + DropEnabled, + DropDisabled, + HasChildren, + NoChildren, + Checked, + NotChecked, + Enabled, + Disabled, + Editable, + NotEditable, + UserFlag, + }; + + typedef QFlags IteratorFlags; + QTreeWidgetItemIterator(const QTreeWidgetItemIterator &it); + QTreeWidgetItemIterator(QTreeWidget *widget, QFlags flags = All); + QTreeWidgetItemIterator(QTreeWidgetItem *item, QFlags flags = All); + ~QTreeWidgetItemIterator(); + QTreeWidgetItem *value() const; +%MethodCode + // SIP doesn't support operator* so this is a thin wrapper around it. + sipRes = sipCpp->operator*(); +%End + + QTreeWidgetItemIterator &operator+=(int n); + QTreeWidgetItemIterator &operator-=(int n); +}; + +QFlags operator|(QTreeWidgetItemIterator::IteratorFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundogroup.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundogroup.sip new file mode 100644 index 00000000..f3e4b462 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundogroup.sip @@ -0,0 +1,57 @@ +// qundogroup.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QUndoGroup : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QUndoGroup(QObject *parent /TransferThis/ = 0); + virtual ~QUndoGroup(); + void addStack(QUndoStack *stack); + void removeStack(QUndoStack *stack); + QList stacks() const; + QUndoStack *activeStack() const; + QAction *createRedoAction(QObject *parent /TransferThis/, const QString &prefix = QString()) const /Factory/; + QAction *createUndoAction(QObject *parent /TransferThis/, const QString &prefix = QString()) const /Factory/; + bool canUndo() const; + bool canRedo() const; + QString undoText() const; + QString redoText() const; + bool isClean() const; + +public slots: + void redo(); + void setActiveStack(QUndoStack *stack); + void undo(); + +signals: + void activeStackChanged(QUndoStack *stack); + void canRedoChanged(bool canRedo); + void canUndoChanged(bool canUndo); + void cleanChanged(bool clean); + void indexChanged(int idx); + void redoTextChanged(const QString &redoText); + void undoTextChanged(const QString &undoText); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundostack.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundostack.sip new file mode 100644 index 00000000..105678df --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundostack.sip @@ -0,0 +1,101 @@ +// qundostack.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QUndoCommand /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + explicit QUndoCommand(QUndoCommand *parent /TransferThis/ = 0); + QUndoCommand(const QString &text, QUndoCommand *parent /TransferThis/ = 0); + virtual ~QUndoCommand(); + virtual int id() const; + virtual bool mergeWith(const QUndoCommand *other); + virtual void redo(); + void setText(const QString &text); + QString text() const; + virtual void undo(); + int childCount() const; + const QUndoCommand *child(int index) const; + QString actionText() const; +%If (Qt_5_9_0 -) + bool isObsolete() const; +%End +%If (Qt_5_9_0 -) + void setObsolete(bool obsolete); +%End + +private: + QUndoCommand(const QUndoCommand &); +}; + +class QUndoStack : QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QUndoStack(QObject *parent /TransferThis/ = 0); + virtual ~QUndoStack(); + void clear(); + void push(QUndoCommand *cmd /Transfer/); + bool canUndo() const; + bool canRedo() const; + QString undoText() const; + QString redoText() const; + int count() const /__len__/; + int index() const; + QString text(int idx) const; + QAction *createUndoAction(QObject *parent /TransferThis/, const QString &prefix = QString()) const /Factory/; + QAction *createRedoAction(QObject *parent /TransferThis/, const QString &prefix = QString()) const /Factory/; + bool isActive() const; + bool isClean() const; + int cleanIndex() const; + void beginMacro(const QString &text); + void endMacro(); + +public slots: + void redo(); + void setActive(bool active = true); + void setClean(); + void setIndex(int idx); + void undo(); +%If (Qt_5_8_0 -) + void resetClean(); +%End + +signals: + void canRedoChanged(bool canRedo); + void canUndoChanged(bool canUndo); + void cleanChanged(bool clean); + void indexChanged(int idx); + void redoTextChanged(const QString &redoText); + void undoTextChanged(const QString &undoText); + +public: + void setUndoLimit(int limit); + int undoLimit() const; + const QUndoCommand *command(int index) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundoview.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundoview.sip new file mode 100644 index 00000000..6547fba3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qundoview.sip @@ -0,0 +1,44 @@ +// qundoview.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QUndoView : QListView +{ +%TypeHeaderCode +#include +%End + +public: + explicit QUndoView(QWidget *parent /TransferThis/ = 0); + QUndoView(QUndoStack *stack, QWidget *parent /TransferThis/ = 0); + QUndoView(QUndoGroup *group, QWidget *parent /TransferThis/ = 0); + virtual ~QUndoView(); + QUndoStack *stack() const; + QUndoGroup *group() const; + void setEmptyLabel(const QString &label); + QString emptyLabel() const; + void setCleanIcon(const QIcon &icon); + QIcon cleanIcon() const; + +public slots: + void setStack(QUndoStack *stack /KeepReference/); + void setGroup(QUndoGroup *group /KeepReference/); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwhatsthis.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwhatsthis.sip new file mode 100644 index 00000000..c8d23d85 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwhatsthis.sip @@ -0,0 +1,38 @@ +// qwhatsthis.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QWhatsThis +{ +%TypeHeaderCode +#include +%End + + QWhatsThis(); + +public: + static void enterWhatsThisMode(); + static bool inWhatsThisMode(); + static void leaveWhatsThisMode(); + static void showText(const QPoint &pos, const QString &text, QWidget *widget = 0); + static void hideText(); + static QAction *createAction(QObject *parent /TransferThis/ = 0) /Factory/; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwidget.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwidget.sip new file mode 100644 index 00000000..8761120b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwidget.sip @@ -0,0 +1,451 @@ +// qwidget.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +const int QWIDGETSIZE_MAX; + +class QWidget : QObject, QPaintDevice +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// Transfer the ownership of a single widget to a parent. +static void qtgui_TransferWidget(QWidget *w, PyObject *py_parent) +{ + PyObject *py_w = sipGetPyObject(w, sipType_QWidget); + + if (py_w) + sipTransferTo(py_w, py_parent); +} + + +// Transfer ownership of all widgets in a layout to their new parent. +static void qtwidgets_TransferLayoutWidgets(QLayout *lay, PyObject *pw) +{ + int n = lay->count(); + + for (int i = 0; i < n; ++i) + { + QLayoutItem *item = lay->itemAt(i); + QWidget *w = item->widget(); + + if (w) + { + qtgui_TransferWidget(w, pw); + } + else + { + QLayout *l = item->layout(); + + if (l) + qtwidgets_TransferLayoutWidgets(l, pw); + } + } + + QWidget *mb = lay->menuBar(); + + if (mb) + qtgui_TransferWidget(mb, pw); +} +%End + +public: + QWidget(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QWidget(); + virtual int devType() const; + QStyle *style() const; + void setStyle(QStyle * /KeepReference/); + bool isEnabledTo(const QWidget *) const; + +public slots: + void setEnabled(bool); + void setDisabled(bool); + void setWindowModified(bool); + +public: + QRect frameGeometry() const; + QRect normalGeometry() const; + int x() const; + int y() const; + QPoint pos() const; + QSize frameSize() const; + QRect childrenRect() const; + QRegion childrenRegion() const; + QSize minimumSize() const; + QSize maximumSize() const; + void setMinimumSize(int minw, int minh); + void setMaximumSize(int maxw, int maxh); + void setMinimumWidth(int minw); + void setMinimumHeight(int minh); + void setMaximumWidth(int maxw); + void setMaximumHeight(int maxh); + QSize sizeIncrement() const; + void setSizeIncrement(int w, int h); + QSize baseSize() const; + void setBaseSize(int basew, int baseh); + void setFixedSize(const QSize &); + void setFixedSize(int w, int h); + void setFixedWidth(int w); + void setFixedHeight(int h); + QPoint mapToGlobal(const QPoint &) const; + QPoint mapFromGlobal(const QPoint &) const; + QPoint mapToParent(const QPoint &) const; + QPoint mapFromParent(const QPoint &) const; + QPoint mapTo(const QWidget *, const QPoint &) const; + QPoint mapFrom(const QWidget *, const QPoint &) const; + QWidget *window() const; + const QPalette &palette() const; + void setPalette(const QPalette &); + void setBackgroundRole(QPalette::ColorRole); + QPalette::ColorRole backgroundRole() const; + void setForegroundRole(QPalette::ColorRole); + QPalette::ColorRole foregroundRole() const; + void setFont(const QFont &); + QCursor cursor() const; + void setCursor(const QCursor &); + void unsetCursor(); + void setMask(const QBitmap &); + void setMask(const QRegion &); + QRegion mask() const; + void clearMask(); + void setWindowTitle(const QString &); + QString windowTitle() const; + void setWindowIcon(const QIcon &icon); + QIcon windowIcon() const; + void setWindowIconText(const QString &); + QString windowIconText() const; + void setWindowRole(const QString &); + QString windowRole() const; + void setWindowOpacity(qreal level); + qreal windowOpacity() const; + bool isWindowModified() const; + void setToolTip(const QString &); + QString toolTip() const; + void setStatusTip(const QString &); + QString statusTip() const; + void setWhatsThis(const QString &); + QString whatsThis() const; +%If (PyQt_Accessibility) + QString accessibleName() const; +%End +%If (PyQt_Accessibility) + void setAccessibleName(const QString &name); +%End +%If (PyQt_Accessibility) + QString accessibleDescription() const; +%End +%If (PyQt_Accessibility) + void setAccessibleDescription(const QString &description); +%End + void setLayoutDirection(Qt::LayoutDirection direction); + Qt::LayoutDirection layoutDirection() const; + void unsetLayoutDirection(); + bool isRightToLeft() const; + bool isLeftToRight() const; + +public slots: + void setFocus(); + +public: + bool isActiveWindow() const; + void activateWindow(); + void clearFocus(); + void setFocus(Qt::FocusReason reason); + Qt::FocusPolicy focusPolicy() const; + void setFocusPolicy(Qt::FocusPolicy policy); + bool hasFocus() const; + static void setTabOrder(QWidget *, QWidget *); + void setFocusProxy(QWidget * /KeepReference/); + QWidget *focusProxy() const; + Qt::ContextMenuPolicy contextMenuPolicy() const; + void setContextMenuPolicy(Qt::ContextMenuPolicy policy); + void grabMouse(); + void grabMouse(const QCursor &); + void releaseMouse(); + void grabKeyboard(); + void releaseKeyboard(); + int grabShortcut(const QKeySequence &key, Qt::ShortcutContext context = Qt::WindowShortcut); + void releaseShortcut(int id); + void setShortcutEnabled(int id, bool enabled = true); + static QWidget *mouseGrabber(); + static QWidget *keyboardGrabber(); + void setUpdatesEnabled(bool enable); + +public slots: + void update(); + void repaint(); + +public: + void update(const QRect &); + void update(const QRegion &); + void repaint(int x, int y, int w, int h); + void repaint(const QRect &); + void repaint(const QRegion &); + +public slots: + virtual void setVisible(bool visible); + void setHidden(bool hidden); + void show(); + void hide(); + void showMinimized(); + void showMaximized(); + void showFullScreen(); + void showNormal(); + bool close(); + void raise() /PyName=raise_/; + void lower(); + +public: + void stackUnder(QWidget *); + void move(const QPoint &); + void resize(const QSize &); + void setGeometry(const QRect &); + void adjustSize(); + bool isVisibleTo(const QWidget *) const; + bool isMinimized() const; + bool isMaximized() const; + bool isFullScreen() const; + Qt::WindowStates windowState() const; + void setWindowState(Qt::WindowStates state); + void overrideWindowState(Qt::WindowStates state); + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + QSizePolicy sizePolicy() const; + void setSizePolicy(QSizePolicy); + virtual int heightForWidth(int) const; + QRegion visibleRegion() const; + void setContentsMargins(int left, int top, int right, int bottom); + void getContentsMargins(int *left, int *top, int *right, int *bottom) const; + QRect contentsRect() const; + QLayout *layout() const; + void setLayout(QLayout * /Transfer/); +%MethodCode + Py_BEGIN_ALLOW_THREADS + sipCpp->setLayout(a0); + Py_END_ALLOW_THREADS + + // Internally Qt has reparented all of the widgets in the layout, so we need + // to update the ownership hierachy. + qtwidgets_TransferLayoutWidgets(a0, sipSelf); +%End + + void updateGeometry(); + void setParent(QWidget *parent /TransferThis/); + void setParent(QWidget *parent /TransferThis/, Qt::WindowFlags f); + void scroll(int dx, int dy); + void scroll(int dx, int dy, const QRect &); + QWidget *focusWidget() const; + QWidget *nextInFocusChain() const; + bool acceptDrops() const; + void setAcceptDrops(bool on); + void addAction(QAction *action); + void addActions(QList actions); + void insertAction(QAction *before, QAction *action); + void insertActions(QAction *before, QList actions); + void removeAction(QAction *action); + QList actions() const; + void setWindowFlags(Qt::WindowFlags type); + void overrideWindowFlags(Qt::WindowFlags type); + static QWidget *find(WId); + QWidget *childAt(const QPoint &p) const; + void setAttribute(Qt::WidgetAttribute attribute, bool on = true); + virtual QPaintEngine *paintEngine() const; + void ensurePolished() const; + bool isAncestorOf(const QWidget *child) const; + +signals: + void customContextMenuRequested(const QPoint &pos); + +protected: + virtual bool event(QEvent *); + virtual void mousePressEvent(QMouseEvent *); + virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseDoubleClickEvent(QMouseEvent *); + virtual void mouseMoveEvent(QMouseEvent *); + virtual void wheelEvent(QWheelEvent *); + virtual void keyPressEvent(QKeyEvent *); + virtual void keyReleaseEvent(QKeyEvent *); + virtual void focusInEvent(QFocusEvent *); + virtual void focusOutEvent(QFocusEvent *); + virtual void enterEvent(QEvent *); + virtual void leaveEvent(QEvent *); + virtual void paintEvent(QPaintEvent *); + virtual void moveEvent(QMoveEvent *); + virtual void resizeEvent(QResizeEvent *); + virtual void closeEvent(QCloseEvent *); + virtual void contextMenuEvent(QContextMenuEvent *); + virtual void tabletEvent(QTabletEvent *); + virtual void actionEvent(QActionEvent *); + virtual void dragEnterEvent(QDragEnterEvent *); + virtual void dragMoveEvent(QDragMoveEvent *); + virtual void dragLeaveEvent(QDragLeaveEvent *); + virtual void dropEvent(QDropEvent *); + virtual void showEvent(QShowEvent *); + virtual void hideEvent(QHideEvent *); + virtual void changeEvent(QEvent *); + virtual int metric(QPaintDevice::PaintDeviceMetric) const; + virtual void inputMethodEvent(QInputMethodEvent *); + +public: + virtual QVariant inputMethodQuery(Qt::InputMethodQuery) const; + +protected: + void updateMicroFocus(); + void create(WId window = 0, bool initializeWindow = true, bool destroyOldWindow = true); + void destroy(bool destroyWindow = true, bool destroySubWindows = true); + virtual bool focusNextPrevChild(bool next); + bool focusNextChild(); + bool focusPreviousChild(); + +public: + QWidget *childAt(int ax, int ay) const; + Qt::WindowType windowType() const; + Qt::WindowFlags windowFlags() const; + WId winId() const; + bool isWindow() const; + bool isEnabled() const; + bool isModal() const; + int minimumWidth() const; + int minimumHeight() const; + int maximumWidth() const; + int maximumHeight() const; + void setMinimumSize(const QSize &s); + void setMaximumSize(const QSize &s); + void setSizeIncrement(const QSize &s); + void setBaseSize(const QSize &s); + const QFont &font() const; + QFontMetrics fontMetrics() const; + QFontInfo fontInfo() const; + void setMouseTracking(bool enable); + bool hasMouseTracking() const; + bool underMouse() const; + bool updatesEnabled() const; + void update(int ax, int ay, int aw, int ah); + bool isVisible() const; + bool isHidden() const; + void move(int ax, int ay); + void resize(int w, int h); + void setGeometry(int ax, int ay, int aw, int ah); + QRect rect() const; + const QRect &geometry() const; + QSize size() const; + int width() const; + int height() const; + QWidget *parentWidget() const; + void setSizePolicy(QSizePolicy::Policy hor, QSizePolicy::Policy ver); + bool testAttribute(Qt::WidgetAttribute attribute) const; + Qt::WindowModality windowModality() const; + void setWindowModality(Qt::WindowModality windowModality); + bool autoFillBackground() const; + void setAutoFillBackground(bool enabled); + void setStyleSheet(const QString &styleSheet); + QString styleSheet() const; + void setShortcutAutoRepeat(int id, bool enabled = true); + QByteArray saveGeometry() const; + bool restoreGeometry(const QByteArray &geometry); + + enum RenderFlag + { + DrawWindowBackground, + DrawChildren, + IgnoreMask, + }; + + typedef QFlags RenderFlags; + void render(QPaintDevice *target, const QPoint &targetOffset = QPoint(), const QRegion &sourceRegion = QRegion(), QWidget::RenderFlags flags = QWidget::RenderFlags(QWidget::RenderFlag::DrawWindowBackground | QWidget::RenderFlag::DrawChildren)); + void render(QPainter *painter, const QPoint &targetOffset = QPoint(), const QRegion &sourceRegion = QRegion(), QWidget::RenderFlags flags = QWidget::RenderFlags(QWidget::RenderFlag::DrawWindowBackground | QWidget::RenderFlag::DrawChildren)); + void setLocale(const QLocale &locale); + QLocale locale() const; + void unsetLocale(); + WId effectiveWinId() const; + QWidget *nativeParentWidget() const; + void setWindowFilePath(const QString &filePath); + QString windowFilePath() const; + QGraphicsProxyWidget *graphicsProxyWidget() const; + QGraphicsEffect *graphicsEffect() const; + void setGraphicsEffect(QGraphicsEffect *effect /Transfer/); + void grabGesture(Qt::GestureType type, Qt::GestureFlags flags = Qt::GestureFlags()); + void ungrabGesture(Qt::GestureType type); + void setContentsMargins(const QMargins &margins); + QMargins contentsMargins() const; + QWidget *previousInFocusChain() const; + Qt::InputMethodHints inputMethodHints() const; + void setInputMethodHints(Qt::InputMethodHints hints); + virtual bool hasHeightForWidth() const; + QPixmap grab(const QRect &rectangle = QRect(QPoint(0, 0), QSize(-1, -1))); +%If (Qt_5_1_0 -) + static SIP_PYOBJECT createWindowContainer(QWindow *window /GetWrapper/, QWidget *parent /GetWrapper/ = 0, Qt::WindowFlags flags = 0) /TypeHint="QWidget",Factory/; +%MethodCode + // Ownersip issues are complicated so we handle them explicitly. + + QWidget *w = QWidget::createWindowContainer(a0, a1, *a2); + + sipRes = sipConvertFromNewType(w, sipType_QWidget, a1Wrapper); + + if (sipRes) + sipTransferTo(a0Wrapper, sipRes); +%End + +%End + QWindow *windowHandle() const; + +protected: + virtual bool nativeEvent(const QByteArray &eventType, void *message, long *result); + virtual QPainter *sharedPainter() const; + virtual void initPainter(QPainter *painter) const; + +public: +%If (Qt_5_2_0 -) + void setToolTipDuration(int msec); +%End +%If (Qt_5_2_0 -) + int toolTipDuration() const; +%End + +signals: +%If (Qt_5_2_0 -) + void windowTitleChanged(const QString &title); +%End +%If (Qt_5_2_0 -) + void windowIconChanged(const QIcon &icon); +%End +%If (Qt_5_2_0 -) + void windowIconTextChanged(const QString &iconText); +%End + +public: +%If (Qt_5_9_0 -) + void setTabletTracking(bool enable); +%End +%If (Qt_5_9_0 -) + bool hasTabletTracking() const; +%End +%If (Qt_5_9_0 -) + void setWindowFlag(Qt::WindowType, bool on = true); +%End +%If (Qt_5_14_0 -) + QScreen *screen() const; +%End +}; + +QFlags operator|(QWidget::RenderFlag f1, QFlags f2); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwidgetaction.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwidgetaction.sip new file mode 100644 index 00000000..48d3235f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwidgetaction.sip @@ -0,0 +1,43 @@ +// qwidgetaction.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QWidgetAction : QAction +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWidgetAction(QObject *parent /TransferThis/); + virtual ~QWidgetAction(); + void setDefaultWidget(QWidget *w /Transfer/); + QWidget *defaultWidget() const; + QWidget *requestWidget(QWidget *parent /TransferThis/) /Factory/; + void releaseWidget(QWidget *widget /TransferBack/); + +protected: + virtual bool event(QEvent *); + virtual bool eventFilter(QObject *, QEvent *); + virtual QWidget *createWidget(QWidget *parent /TransferThis/) /Factory/; + virtual void deleteWidget(QWidget *widget /Transfer/); + QList createdWidgets() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwizard.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwizard.sip new file mode 100644 index 00000000..84a9f52c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWidgets/qwizard.sip @@ -0,0 +1,242 @@ +// qwizard.sip generated by MetaSIP +// +// This file is part of the QtWidgets Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QWizard : QDialog +{ +%TypeHeaderCode +#include +%End + +public: + enum WizardButton + { + BackButton, + NextButton, + CommitButton, + FinishButton, + CancelButton, + HelpButton, + CustomButton1, + CustomButton2, + CustomButton3, + Stretch, + }; + + enum WizardPixmap + { + WatermarkPixmap, + LogoPixmap, + BannerPixmap, + BackgroundPixmap, + }; + + enum WizardStyle + { + ClassicStyle, + ModernStyle, + MacStyle, + AeroStyle, + }; + + enum WizardOption + { + IndependentPages, + IgnoreSubTitles, + ExtendedWatermarkPixmap, + NoDefaultButton, + NoBackButtonOnStartPage, + NoBackButtonOnLastPage, + DisabledBackButtonOnLastPage, + HaveNextButtonOnLastPage, + HaveFinishButtonOnEarlyPages, + NoCancelButton, + CancelButtonOnLeft, + HaveHelpButton, + HelpButtonOnRight, + HaveCustomButton1, + HaveCustomButton2, + HaveCustomButton3, +%If (Qt_5_3_0 -) + NoCancelButtonOnLastPage, +%End + }; + + typedef QFlags WizardOptions; + QWizard(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags()); + virtual ~QWizard(); + int addPage(QWizardPage *page /Transfer/); + void setPage(int id, QWizardPage *page /Transfer/); + QWizardPage *page(int id) const; + bool hasVisitedPage(int id) const; + QList visitedPages() const; + void setStartId(int id); + int startId() const; + QWizardPage *currentPage() const; + int currentId() const; + virtual bool validateCurrentPage(); + virtual int nextId() const; + void setField(const QString &name, const QVariant &value); + QVariant field(const QString &name) const; + void setWizardStyle(QWizard::WizardStyle style); + QWizard::WizardStyle wizardStyle() const; + void setOption(QWizard::WizardOption option, bool on = true); + bool testOption(QWizard::WizardOption option) const; + void setOptions(QWizard::WizardOptions options); + QWizard::WizardOptions options() const; + void setButtonText(QWizard::WizardButton which, const QString &text); + QString buttonText(QWizard::WizardButton which) const; + void setButtonLayout(const QList &layout); + void setButton(QWizard::WizardButton which, QAbstractButton *button /Transfer/); + QAbstractButton *button(QWizard::WizardButton which) const /Transfer/; + void setTitleFormat(Qt::TextFormat format); + Qt::TextFormat titleFormat() const; + void setSubTitleFormat(Qt::TextFormat format); + Qt::TextFormat subTitleFormat() const; + void setPixmap(QWizard::WizardPixmap which, const QPixmap &pixmap); + QPixmap pixmap(QWizard::WizardPixmap which) const; + void setDefaultProperty(const char *className, const char *property, SIP_PYOBJECT changedSignal /TypeHint="PYQT_SIGNAL"/); +%MethodCode + QByteArray signal_signature; + + if ((sipError = pyqt5_qtwidgets_get_signal_signature(a2, 0, signal_signature)) == sipErrorNone) + { + sipCpp->setDefaultProperty(a0, a1, signal_signature.constData()); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(2, a2); + } +%End + + virtual void setVisible(bool visible); + virtual QSize sizeHint() const; + +signals: + void currentIdChanged(int id); + void helpRequested(); + void customButtonClicked(int which); + +public slots: + void back(); + void next(); + void restart(); + +protected: + virtual bool event(QEvent *event); + virtual void resizeEvent(QResizeEvent *event); + virtual void paintEvent(QPaintEvent *event); + virtual void done(int result); + virtual void initializePage(int id); + virtual void cleanupPage(int id); + +public: + void removePage(int id); + QList pageIds() const; + void setSideWidget(QWidget *widget /Transfer/); + QWidget *sideWidget() const; + +signals: + void pageAdded(int id); + void pageRemoved(int id); + +public: +%If (Qt_5_15_0 -) + QList visitedIds() const; +%End +}; + +QFlags operator|(QWizard::WizardOption f1, QFlags f2); + +class QWizardPage : QWidget +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWizardPage(QWidget *parent /TransferThis/ = 0); + virtual ~QWizardPage(); + void setTitle(const QString &title); + QString title() const; + void setSubTitle(const QString &subTitle); + QString subTitle() const; + void setPixmap(QWizard::WizardPixmap which, const QPixmap &pixmap); + QPixmap pixmap(QWizard::WizardPixmap which) const; + void setFinalPage(bool finalPage); + bool isFinalPage() const; + void setCommitPage(bool commitPage); + bool isCommitPage() const; + void setButtonText(QWizard::WizardButton which, const QString &text); + QString buttonText(QWizard::WizardButton which) const; + virtual void initializePage(); + virtual void cleanupPage(); + virtual bool validatePage(); + virtual bool isComplete() const; + virtual int nextId() const; + +signals: + void completeChanged(); + +protected: + void setField(const QString &name, const QVariant &value); + QVariant field(const QString &name) const; + void registerField(const QString &name, QWidget *widget, const char *property = 0, SIP_PYOBJECT changedSignal /TypeHint="PYQT_SIGNAL"/ = 0) [void (const QString &name, QWidget *widget, const char *property = 0, const char *changedSignal = 0)]; +%MethodCode + typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, QObject *, QByteArray &); + + static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0; + + if (!pyqt5_get_signal_signature) + { + pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature"); + Q_ASSERT(pyqt5_get_signal_signature); + } + + QByteArray signal_signature; + const char *signal = 0; + + if (a3 && a3 != Py_None) + { + if ((sipError = pyqt5_get_signal_signature(a3, a1, signal_signature)) == sipErrorNone) + { + signal = signal_signature.constData(); + } + else if (sipError == sipErrorContinue) + { + sipError = sipBadCallableArg(3, a3); + } + } + + if (sipError == sipErrorNone) + { + Py_BEGIN_ALLOW_THREADS + #if defined(SIP_PROTECTED_IS_PUBLIC) + sipCpp->registerField(*a0, a1, a2, signal); + #else + sipCpp->sipProtect_registerField(*a0, a1, a2, signal); + #endif + Py_END_ALLOW_THREADS + } +%End + + QWizard *wizard() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/QtWinExtras.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/QtWinExtras.toml new file mode 100644 index 00000000..5cffcdaf --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/QtWinExtras.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtWinExtras. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/QtWinExtrasmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/QtWinExtrasmod.sip new file mode 100644 index 00000000..b9b15b6c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/QtWinExtrasmod.sip @@ -0,0 +1,53 @@ +// This is the SIP interface definition for the QtWinExtras module of PyQt v5. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtWinExtras, keyword_arguments="Optional", use_limited_api=True) + +%Import QtWidgets/QtWidgetsmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qwinfunctions.sip +%Include qwinjumplist.sip +%Include qwinjumplistcategory.sip +%Include qwinjumplistitem.sip +%Include qwintaskbarbutton.sip +%Include qwintaskbarprogress.sip +%Include qwinthumbnailtoolbar.sip +%Include qwinthumbnailtoolbutton.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinfunctions.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinfunctions.sip new file mode 100644 index 00000000..8ceb5c5e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinfunctions.sip @@ -0,0 +1,122 @@ +// This is the SIP interface definition for QtWin. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +typedef struct HBITMAP__ *HBITMAP; +typedef struct HDC__ *HDC; +typedef struct HICON__ *HICON; +typedef long HRESULT; +typedef struct HRGN__ *HRGN; + + +namespace QtWin +{ +%TypeHeaderCode +#include +%End + + enum HBitmapFormat + { + HBitmapNoAlpha, + HBitmapPremultipliedAlpha, + HBitmapAlpha + }; + + enum WindowFlip3DPolicy + { + FlipDefault, + FlipExcludeBelow, + FlipExcludeAbove + }; + + HBITMAP createMask(const QBitmap &bitmap); + HBITMAP toHBITMAP(const QPixmap &p, + QtWin::HBitmapFormat format = QtWin::HBitmapNoAlpha); + QPixmap fromHBITMAP(HBITMAP bitmap, + QtWin::HBitmapFormat format = QtWin::HBitmapNoAlpha); + HICON toHICON(const QPixmap &p); + QImage imageFromHBITMAP(HDC hdc, HBITMAP bitmap, int width, int height); + QPixmap fromHICON(HICON icon); + HRGN toHRGN(const QRegion ®ion); + QRegion fromHRGN(HRGN hrgn); + + QString stringFromHresult(HRESULT hresult); + QString errorStringFromHresult(HRESULT hresult); + + QColor colorizationColor(bool *opaqueBlend = 0); + QColor realColorizationColor(); + + void setWindowExcludedFromPeek(QWindow *window, bool exclude); + bool isWindowExcludedFromPeek(QWindow *window); + void setWindowDisallowPeek(QWindow *window, bool disallow); + bool isWindowPeekDisallowed(QWindow *window); + void setWindowFlip3DPolicy(QWindow *window, + QtWin::WindowFlip3DPolicy policy); + QtWin::WindowFlip3DPolicy windowFlip3DPolicy(QWindow *); + + void extendFrameIntoClientArea(QWindow *window, int left, int top, + int right, int bottom); + void extendFrameIntoClientArea(QWindow *window, const QMargins &margins); + void resetExtendedFrame(QWindow *window); + + void enableBlurBehindWindow(QWindow *window, const QRegion ®ion); + void enableBlurBehindWindow(QWindow *window); + void disableBlurBehindWindow(QWindow *window); + + bool isCompositionEnabled(); + void setCompositionEnabled(bool enabled); + bool isCompositionOpaque(); + + void setCurrentProcessExplicitAppUserModelID(const QString &id); + + void markFullscreenWindow(QWindow *, bool fullscreen = true); + + void taskbarActivateTab(QWindow *); + void taskbarActivateTabAlt(QWindow *); + void taskbarAddTab(QWindow *); + void taskbarDeleteTab(QWindow *); + + void setWindowExcludedFromPeek(QWidget *window, bool exclude); + bool isWindowExcludedFromPeek(QWidget *window); + void setWindowDisallowPeek(QWidget *window, bool disallow); + bool isWindowPeekDisallowed(QWidget *window); + void setWindowFlip3DPolicy(QWidget *window, + QtWin::WindowFlip3DPolicy policy); + QtWin::WindowFlip3DPolicy windowFlip3DPolicy(QWidget *window); + + void extendFrameIntoClientArea(QWidget *window, const QMargins &margins); + void extendFrameIntoClientArea(QWidget *window, int left, int top, + int right, int bottom); + void resetExtendedFrame(QWidget *window); + + void enableBlurBehindWindow(QWidget *window, const QRegion ®ion); + void enableBlurBehindWindow(QWidget *window); + void disableBlurBehindWindow(QWidget *window); + + void markFullscreenWindow(QWidget *window, bool fullscreen = true); + + void taskbarActivateTab(QWidget *window); + void taskbarActivateTabAlt(QWidget *window); + void taskbarAddTab(QWidget *window); + void taskbarDeleteTab(QWidget *window); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplist.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplist.sip new file mode 100644 index 00000000..0b46bb98 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplist.sip @@ -0,0 +1,84 @@ +// This is the SIP interface definition for QWinJumpList. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QWinJumpList : public QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode +static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; +} graph[] = { + {sipName_QWinThumbnailToolBar, &sipType_QWinThumbnailToolBar, -1, 1}, + {sipName_QWinJumpList, &sipType_QWinJumpList, -1, 2}, + {sipName_QWinTaskbarButton, &sipType_QWinTaskbarButton, -1, 3}, + {sipName_QWinThumbnailToolButton, &sipType_QWinThumbnailToolButton, -1, 4}, + {sipName_QWinTaskbarProgress, &sipType_QWinTaskbarProgress, -1, -1}, +}; + +int i = 0; + +sipType = NULL; + +do +{ + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; +} +while (i >= 0); +%End + +public: + explicit QWinJumpList(QObject *parent /TransferThis/ = 0); + ~QWinJumpList(); + + QString identifier() const; + void setIdentifier(const QString &identifier); + + QWinJumpListCategory *recent() const; + QWinJumpListCategory *frequent() const; + QWinJumpListCategory *tasks() const; + + QList categories() const; + void addCategory(QWinJumpListCategory *category /Transfer/); + QWinJumpListCategory *addCategory(const QString &title, + const QList items /Transfer/ = QList()); + +public slots: + void clear(); + +private: + QWinJumpList(const QWinJumpList &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplistcategory.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplistcategory.sip new file mode 100644 index 00000000..6af9f511 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplistcategory.sip @@ -0,0 +1,69 @@ +// This is the SIP interface definition for QWinJumpListCategory. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QWinJumpListCategory /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum Type + { + Custom, + Recent, + Frequent, + Tasks + }; + + explicit QWinJumpListCategory(const QString &title = QString()); + ~QWinJumpListCategory(); + + Type type() const; + + bool isVisible() const; + void setVisible(bool visible); + + QString title() const; + void setTitle(const QString &title); + + int count() const; + bool isEmpty() const; + QList items() const; + + void addItem(QWinJumpListItem *item /Transfer/); + QWinJumpListItem *addDestination(const QString &filePath); + QWinJumpListItem *addLink(const QString &title, + const QString &executablePath, + const QStringList &arguments = QStringList()); + QWinJumpListItem *addLink(const QIcon &icon, const QString &title, + const QString &executablePath, + const QStringList &arguments = QStringList()); + QWinJumpListItem *addSeparator(); + + void clear(); + +private: + QWinJumpListCategory(const QWinJumpListCategory &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplistitem.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplistitem.sip new file mode 100644 index 00000000..1b58c142 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinjumplistitem.sip @@ -0,0 +1,59 @@ +// This is the SIP interface definition for QWinJumpListItem. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QWinJumpListItem /Supertype=sip.wrapper/ +{ +%TypeHeaderCode +#include +%End + +public: + enum Type + { + Destination, + Link, + Separator + }; + + explicit QWinJumpListItem(Type type); + ~QWinJumpListItem(); + + void setType(Type type); + Type type() const; + void setFilePath(const QString &filePath); + QString filePath() const; + void setWorkingDirectory(const QString &workingDirectory); + QString workingDirectory() const; + void setIcon(const QIcon &icon); + QIcon icon() const; + void setTitle(const QString &title); + QString title() const; + void setDescription(const QString &description); + QString description() const; + void setArguments(const QStringList &arguments); + QStringList arguments() const; + +private: + QWinJumpListItem(const QWinJumpListItem &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwintaskbarbutton.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwintaskbarbutton.sip new file mode 100644 index 00000000..22830b31 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwintaskbarbutton.sip @@ -0,0 +1,53 @@ +// This is the SIP interface definition for QWinTaskbarButton. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QWinTaskbarButton : public QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWinTaskbarButton(QObject *parent /TransferThis/ = 0); + ~QWinTaskbarButton(); + + void setWindow(QWindow *window); + QWindow *window() const; + + QIcon overlayIcon() const; + QString overlayAccessibleDescription() const; + + QWinTaskbarProgress *progress() const; + + bool eventFilter(QObject *, QEvent *); + +public slots: + void setOverlayIcon(const QIcon &icon); + void setOverlayAccessibleDescription(const QString &description); + + void clearOverlayIcon(); + +private: + QWinTaskbarButton(const QWinTaskbarButton &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwintaskbarprogress.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwintaskbarprogress.sip new file mode 100644 index 00000000..1bdf2dbe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwintaskbarprogress.sip @@ -0,0 +1,64 @@ +// This is the SIP interface definition for QWinTaskbarProgress. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QWinTaskbarProgress : public QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWinTaskbarProgress(QObject *parent /TransferThis/= 0); + ~QWinTaskbarProgress(); + + int value() const; + int minimum() const; + int maximum() const; + bool isVisible() const; + bool isPaused() const; + bool isStopped() const; + +public slots: + void setValue(int value); + void setMinimum(int minimum); + void setMaximum(int maximum); + void setRange(int minimum, int maximum); + void reset(); + void show(); + void hide(); + void setVisible(bool visible); + void pause(); + void resume(); + void setPaused(bool paused); + void stop(); + +signals: + void valueChanged(int value); + void minimumChanged(int minimum); + void maximumChanged(int maximum); + void visibilityChanged(bool visible); + +private: + QWinTaskbarProgress(const QWinTaskbarProgress &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinthumbnailtoolbar.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinthumbnailtoolbar.sip new file mode 100644 index 00000000..840d0e35 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinthumbnailtoolbar.sip @@ -0,0 +1,67 @@ +// This is the SIP interface definition for QWinThumbnailToolBar. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QWinThumbnailToolBar : public QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWinThumbnailToolBar(QObject *parent /TransferThis/ = 0); + ~QWinThumbnailToolBar(); + + void setWindow(QWindow *window); + QWindow *window() const; + + void addButton(QWinThumbnailToolButton *button); + void removeButton(QWinThumbnailToolButton *button); + void setButtons(const QList &buttons); + QList buttons() const; + int count() const; + +%If (Qt_5_4_0 -) + bool iconicPixmapNotificationsEnabled() const; + void setIconicPixmapNotificationsEnabled(bool enabled); + + QPixmap iconicThumbnailPixmap() const; + QPixmap iconicLivePreviewPixmap() const; +%End + +public slots: + void clear(); +%If (Qt_5_4_0 -) + void setIconicThumbnailPixmap(const QPixmap &); + void setIconicLivePreviewPixmap(const QPixmap &); +%End + +signals: +%If (Qt_5_4_0 -) + void iconicThumbnailPixmapRequested(); + void iconicLivePreviewPixmapRequested(); +%End + +private: + QWinThumbnailToolBar(const QWinThumbnailToolBar &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinthumbnailtoolbutton.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinthumbnailtoolbutton.sip new file mode 100644 index 00000000..e0e96df2 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtWinExtras/qwinthumbnailtoolbutton.sip @@ -0,0 +1,58 @@ +// This is the SIP interface definition for QWinThumbnailToolButton. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%If (Qt_5_2_0 -) + +class QWinThumbnailToolButton : public QObject +{ +%TypeHeaderCode +#include +%End + +public: + explicit QWinThumbnailToolButton(QObject *parent /TransferThis/ = 0); + ~QWinThumbnailToolButton(); + + void setToolTip(const QString &toolTip); + QString toolTip() const; + void setIcon(const QIcon &icon); + QIcon icon() const; + void setEnabled(bool enabled); + bool isEnabled() const; + void setInteractive(bool interactive); + bool isInteractive() const; + void setVisible(bool visible); + bool isVisible() const; + void setDismissOnClick(bool dismiss); + bool dismissOnClick() const; + void setFlat(bool flat); + bool isFlat() const; + +public slots: + void click(); + +signals: + void clicked(); + +private: + QWinThumbnailToolButton(const QWinThumbnailToolButton &); +}; + +%End diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/QtXml.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/QtXml.toml new file mode 100644 index 00000000..33cafb51 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/QtXml.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtXml. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/QtXmlmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/QtXmlmod.sip new file mode 100644 index 00000000..b742ce31 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/QtXmlmod.sip @@ -0,0 +1,49 @@ +// QtXmlmod.sip generated by MetaSIP +// +// This file is part of the QtXml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtXml, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qdom.sip +%Include qxml.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/qdom.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/qdom.sip new file mode 100644 index 00000000..7cb9bef7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/qdom.sip @@ -0,0 +1,441 @@ +// qdom.sip generated by MetaSIP +// +// This file is part of the QtXml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QDomImplementation +{ +%TypeHeaderCode +#include +%End + +public: + QDomImplementation(); + QDomImplementation(const QDomImplementation &); + ~QDomImplementation(); + bool operator==(const QDomImplementation &) const; + bool operator!=(const QDomImplementation &) const; + bool hasFeature(const QString &feature, const QString &version) const; + QDomDocumentType createDocumentType(const QString &qName, const QString &publicId, const QString &systemId); + QDomDocument createDocument(const QString &nsURI, const QString &qName, const QDomDocumentType &doctype); + + enum InvalidDataPolicy + { + AcceptInvalidChars, + DropInvalidChars, + ReturnNullNode, + }; + + static QDomImplementation::InvalidDataPolicy invalidDataPolicy(); + static void setInvalidDataPolicy(QDomImplementation::InvalidDataPolicy policy); + bool isNull(); +}; + +class QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + enum NodeType + { + ElementNode, + AttributeNode, + TextNode, + CDATASectionNode, + EntityReferenceNode, + EntityNode, + ProcessingInstructionNode, + CommentNode, + DocumentNode, + DocumentTypeNode, + DocumentFragmentNode, + NotationNode, + BaseNode, + CharacterDataNode, + }; + + enum EncodingPolicy + { + EncodingFromDocument, + EncodingFromTextStream, + }; + + QDomNode(); + QDomNode(const QDomNode &); + ~QDomNode(); + bool operator==(const QDomNode &) const; + bool operator!=(const QDomNode &) const; + QDomNode insertBefore(const QDomNode &newChild, const QDomNode &refChild); + QDomNode insertAfter(const QDomNode &newChild, const QDomNode &refChild); + QDomNode replaceChild(const QDomNode &newChild, const QDomNode &oldChild); + QDomNode removeChild(const QDomNode &oldChild); + QDomNode appendChild(const QDomNode &newChild); + bool hasChildNodes() const; + QDomNode cloneNode(bool deep = true) const; + void normalize(); + bool isSupported(const QString &feature, const QString &version) const; + QString nodeName() const; + QDomNode::NodeType nodeType() const; + QDomNode parentNode() const; + QDomNodeList childNodes() const; + QDomNode firstChild() const; + QDomNode lastChild() const; + QDomNode previousSibling() const; + QDomNode nextSibling() const; + QDomNamedNodeMap attributes() const; + QDomDocument ownerDocument() const; + QString namespaceURI() const; + QString localName() const; + bool hasAttributes() const; + QString nodeValue() const; + void setNodeValue(const QString &); + QString prefix() const; + void setPrefix(const QString &pre); + bool isAttr() const; + bool isCDATASection() const; + bool isDocumentFragment() const; + bool isDocument() const; + bool isDocumentType() const; + bool isElement() const; + bool isEntityReference() const; + bool isText() const; + bool isEntity() const; + bool isNotation() const; + bool isProcessingInstruction() const; + bool isCharacterData() const; + bool isComment() const; + QDomNode namedItem(const QString &name) const; + bool isNull() const; + void clear(); + QDomAttr toAttr() const; + QDomCDATASection toCDATASection() const; + QDomDocumentFragment toDocumentFragment() const; + QDomDocument toDocument() const; + QDomDocumentType toDocumentType() const; + QDomElement toElement() const; + QDomEntityReference toEntityReference() const; + QDomText toText() const; + QDomEntity toEntity() const; + QDomNotation toNotation() const; + QDomProcessingInstruction toProcessingInstruction() const; + QDomCharacterData toCharacterData() const; + QDomComment toComment() const; + void save(QTextStream &, int, QDomNode::EncodingPolicy = QDomNode::EncodingFromDocument) const /ReleaseGIL/; + QDomElement firstChildElement(const QString &tagName = QString()) const; + QDomElement lastChildElement(const QString &tagName = QString()) const; + QDomElement previousSiblingElement(const QString &tagName = QString()) const; + QDomElement nextSiblingElement(const QString &taName = QString()) const; + int lineNumber() const; + int columnNumber() const; +}; + +class QDomNodeList +{ +%TypeHeaderCode +#include +%End + +public: + QDomNodeList(); + QDomNodeList(const QDomNodeList &); + ~QDomNodeList(); + bool operator==(const QDomNodeList &) const; + bool operator!=(const QDomNodeList &) const; + QDomNode item(int index) const; + QDomNode at(int index) const; + int length() const; + int count() const /__len__/; + int size() const; + bool isEmpty() const; +}; + +class QDomDocumentType : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomDocumentType(); + QDomDocumentType(const QDomDocumentType &x); + QString name() const; + QDomNamedNodeMap entities() const; + QDomNamedNodeMap notations() const; + QString publicId() const; + QString systemId() const; + QString internalSubset() const; + QDomNode::NodeType nodeType() const; +}; + +class QDomDocument : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomDocument(); + explicit QDomDocument(const QString &name); + explicit QDomDocument(const QDomDocumentType &doctype); + QDomDocument(const QDomDocument &x); + ~QDomDocument(); + QDomElement createElement(const QString &tagName); + QDomDocumentFragment createDocumentFragment(); + QDomText createTextNode(const QString &data); + QDomComment createComment(const QString &data); + QDomCDATASection createCDATASection(const QString &data); + QDomProcessingInstruction createProcessingInstruction(const QString &target, const QString &data); + QDomAttr createAttribute(const QString &name); + QDomEntityReference createEntityReference(const QString &name); + QDomNodeList elementsByTagName(const QString &tagname) const; + QDomNode importNode(const QDomNode &importedNode, bool deep); + QDomElement createElementNS(const QString &nsURI, const QString &qName); + QDomAttr createAttributeNS(const QString &nsURI, const QString &qName); + QDomNodeList elementsByTagNameNS(const QString &nsURI, const QString &localName); + QDomElement elementById(const QString &elementId); + QDomDocumentType doctype() const; + QDomImplementation implementation() const; + QDomElement documentElement() const; + QDomNode::NodeType nodeType() const; + bool setContent(const QByteArray &text, bool namespaceProcessing, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0); + bool setContent(const QString &text, bool namespaceProcessing, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0); + bool setContent(QIODevice *dev, bool namespaceProcessing, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0) /ReleaseGIL/; + bool setContent(QXmlInputSource *source, bool namespaceProcessing, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0) /ReleaseGIL/; + bool setContent(const QByteArray &text, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0); + bool setContent(const QString &text, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0); + bool setContent(QIODevice *dev, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0) /ReleaseGIL/; + bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0) /ReleaseGIL/; +%If (Qt_5_15_0 -) + bool setContent(QXmlStreamReader *reader, bool namespaceProcessing, QString *errorMsg /Out/ = 0, int *errorLine = 0, int *errorColumn = 0); +%End + QString toString(int indent = 1) const; + QByteArray toByteArray(int indent = 1) const; +}; + +class QDomNamedNodeMap +{ +%TypeHeaderCode +#include +%End + +public: + QDomNamedNodeMap(); + QDomNamedNodeMap(const QDomNamedNodeMap &); + ~QDomNamedNodeMap(); + bool operator==(const QDomNamedNodeMap &) const; + bool operator!=(const QDomNamedNodeMap &) const; + QDomNode namedItem(const QString &name) const; + QDomNode setNamedItem(const QDomNode &newNode); + QDomNode removeNamedItem(const QString &name); + QDomNode item(int index) const; + QDomNode namedItemNS(const QString &nsURI, const QString &localName) const; + QDomNode setNamedItemNS(const QDomNode &newNode); + QDomNode removeNamedItemNS(const QString &nsURI, const QString &localName); + int length() const; + int count() const /__len__/; + int size() const; + bool isEmpty() const; + bool contains(const QString &name) const; +}; + +class QDomDocumentFragment : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomDocumentFragment(); + QDomDocumentFragment(const QDomDocumentFragment &x); + QDomNode::NodeType nodeType() const; +}; + +class QDomCharacterData : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomCharacterData(); + QDomCharacterData(const QDomCharacterData &x); + QString substringData(unsigned long offset, unsigned long count); + void appendData(const QString &arg); + void insertData(unsigned long offset, const QString &arg); + void deleteData(unsigned long offset, unsigned long count); + void replaceData(unsigned long offset, unsigned long count, const QString &arg); + int length() const; + QString data() const; + void setData(const QString &); + QDomNode::NodeType nodeType() const; +}; + +class QDomAttr : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomAttr(); + QDomAttr(const QDomAttr &x); + QString name() const; + bool specified() const; + QDomElement ownerElement() const; + QString value() const; + void setValue(const QString &); + QDomNode::NodeType nodeType() const; +}; + +class QDomElement : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomElement(); + QDomElement(const QDomElement &x); + QString attribute(const QString &name, const QString &defaultValue = QString()) const; + void setAttribute(const QString &name, const QString &value); + void setAttribute(const QString &name, qlonglong value); + void setAttribute(const QString &name, qulonglong value); + void setAttribute(const QString &name, double value /Constrained/); + void setAttribute(const QString &name, int value); + void removeAttribute(const QString &name); + QDomAttr attributeNode(const QString &name); + QDomAttr setAttributeNode(const QDomAttr &newAttr); + QDomAttr removeAttributeNode(const QDomAttr &oldAttr); + QDomNodeList elementsByTagName(const QString &tagname) const; + bool hasAttribute(const QString &name) const; + QString attributeNS(const QString nsURI, const QString &localName, const QString &defaultValue = QString()) const; + void setAttributeNS(const QString nsURI, const QString &qName, const QString &value); + void setAttributeNS(const QString nsURI, const QString &qName, qlonglong value); + void setAttributeNS(const QString nsURI, const QString &qName, qulonglong value); + void setAttributeNS(const QString nsURI, const QString &qName, double value /Constrained/); + void setAttributeNS(const QString nsURI, const QString &qName, int value); + void removeAttributeNS(const QString &nsURI, const QString &localName); + QDomAttr attributeNodeNS(const QString &nsURI, const QString &localName); + QDomAttr setAttributeNodeNS(const QDomAttr &newAttr); + QDomNodeList elementsByTagNameNS(const QString &nsURI, const QString &localName) const; + bool hasAttributeNS(const QString &nsURI, const QString &localName) const; + QString tagName() const; + void setTagName(const QString &name); + QDomNamedNodeMap attributes() const; + QDomNode::NodeType nodeType() const; + QString text() const; +}; + +class QDomText : QDomCharacterData +{ +%TypeHeaderCode +#include +%End + +public: + QDomText(); + QDomText(const QDomText &x); + QDomText splitText(int offset); + QDomNode::NodeType nodeType() const; +}; + +class QDomComment : QDomCharacterData +{ +%TypeHeaderCode +#include +%End + +public: + QDomComment(); + QDomComment(const QDomComment &x); + QDomNode::NodeType nodeType() const; +}; + +class QDomCDATASection : QDomText +{ +%TypeHeaderCode +#include +%End + +public: + QDomCDATASection(); + QDomCDATASection(const QDomCDATASection &x); + QDomNode::NodeType nodeType() const; +}; + +class QDomNotation : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomNotation(); + QDomNotation(const QDomNotation &x); + QString publicId() const; + QString systemId() const; + QDomNode::NodeType nodeType() const; +}; + +class QDomEntity : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomEntity(); + QDomEntity(const QDomEntity &x); + QString publicId() const; + QString systemId() const; + QString notationName() const; + QDomNode::NodeType nodeType() const; +}; + +class QDomEntityReference : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomEntityReference(); + QDomEntityReference(const QDomEntityReference &x); + QDomNode::NodeType nodeType() const; +}; + +class QDomProcessingInstruction : QDomNode +{ +%TypeHeaderCode +#include +%End + +public: + QDomProcessingInstruction(); + QDomProcessingInstruction(const QDomProcessingInstruction &x); + QString target() const; + QString data() const; + void setData(const QString &d); + QDomNode::NodeType nodeType() const; +}; + +QTextStream &operator<<(QTextStream &, const QDomNode & /Constrained/); diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/qxml.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/qxml.sip new file mode 100644 index 00000000..226e28c1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXml/qxml.sip @@ -0,0 +1,333 @@ +// qxml.sip generated by MetaSIP +// +// This file is part of the QtXml Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlNamespaceSupport +{ +%TypeHeaderCode +#include +%End + +public: + QXmlNamespaceSupport(); + ~QXmlNamespaceSupport(); + void setPrefix(const QString &, const QString &); + QString prefix(const QString &) const; + QString uri(const QString &) const; + void splitName(const QString &, QString &, QString &) const; + void processName(const QString &, bool, QString &, QString &) const; + QStringList prefixes() const; + QStringList prefixes(const QString &) const; + void pushContext(); + void popContext(); + void reset(); + +private: + QXmlNamespaceSupport(const QXmlNamespaceSupport &); +}; + +class QXmlAttributes +{ +%TypeHeaderCode +#include +%End + +public: + QXmlAttributes(); +%If (Qt_5_8_0 -) + QXmlAttributes(const QXmlAttributes &); +%End + virtual ~QXmlAttributes(); + int index(const QString &qName) const; + int index(const QString &uri, const QString &localPart) const; + int length() const; + QString localName(int index) const; + QString qName(int index) const; + QString uri(int index) const; + QString type(int index) const; + QString type(const QString &qName) const; + QString type(const QString &uri, const QString &localName) const; + QString value(int index) const; + QString value(const QString &qName) const; + QString value(const QString &uri, const QString &localName) const; + void clear(); + void append(const QString &qName, const QString &uri, const QString &localPart, const QString &value); + int count() const /__len__/; +%If (Qt_5_8_0 -) + void swap(QXmlAttributes &other /Constrained/); +%End +}; + +class QXmlInputSource +{ +%TypeHeaderCode +#include +%End + +public: + QXmlInputSource(); + explicit QXmlInputSource(QIODevice *dev); + virtual ~QXmlInputSource(); + virtual void setData(const QString &dat); + virtual void setData(const QByteArray &dat); + virtual void fetchData(); + virtual QString data() const; + virtual QChar next(); + virtual void reset(); + static const ushort EndOfData; + static const ushort EndOfDocument; + +protected: + virtual QString fromRawData(const QByteArray &data, bool beginning = false); +}; + +class QXmlParseException +{ +%TypeHeaderCode +#include +%End + +public: + QXmlParseException(const QString &name = QString(), int column = -1, int line = -1, const QString &publicId = QString(), const QString &systemId = QString()); + QXmlParseException(const QXmlParseException &other); + ~QXmlParseException(); + int columnNumber() const; + int lineNumber() const; + QString publicId() const; + QString systemId() const; + QString message() const; + +private: + QXmlParseException &operator=(const QXmlParseException &); +}; + +class QXmlReader +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QXmlReader(); + virtual bool feature(const QString &name, bool *ok = 0) const = 0; + virtual void setFeature(const QString &name, bool value) = 0; + virtual bool hasFeature(const QString &name) const = 0; + virtual void *property(const QString &name, bool *ok = 0) const = 0; + virtual void setProperty(const QString &name, void *value) = 0; + virtual bool hasProperty(const QString &name) const = 0; + virtual void setEntityResolver(QXmlEntityResolver *handler /KeepReference/) = 0; + virtual QXmlEntityResolver *entityResolver() const = 0; + virtual void setDTDHandler(QXmlDTDHandler *handler /KeepReference/) = 0; + virtual QXmlDTDHandler *DTDHandler() const = 0; + virtual void setContentHandler(QXmlContentHandler *handler /KeepReference/) = 0; + virtual QXmlContentHandler *contentHandler() const = 0; + virtual void setErrorHandler(QXmlErrorHandler *handler /KeepReference/) = 0; + virtual QXmlErrorHandler *errorHandler() const = 0; + virtual void setLexicalHandler(QXmlLexicalHandler *handler /KeepReference/) = 0; + virtual QXmlLexicalHandler *lexicalHandler() const = 0; + virtual void setDeclHandler(QXmlDeclHandler *handler /KeepReference/) = 0; + virtual QXmlDeclHandler *declHandler() const = 0; + virtual bool parse(const QXmlInputSource &input) = 0; + virtual bool parse(const QXmlInputSource *input) = 0; +}; + +class QXmlSimpleReader : QXmlReader +{ +%TypeHeaderCode +#include +%End + +public: + QXmlSimpleReader(); + virtual ~QXmlSimpleReader(); + virtual bool feature(const QString &name, bool *ok = 0) const; + virtual void setFeature(const QString &name, bool value); + virtual bool hasFeature(const QString &name) const; + virtual void *property(const QString &name, bool *ok = 0) const; + virtual void setProperty(const QString &name, void *value); + virtual bool hasProperty(const QString &name) const; + virtual void setEntityResolver(QXmlEntityResolver *handler /KeepReference/); + virtual QXmlEntityResolver *entityResolver() const; + virtual void setDTDHandler(QXmlDTDHandler *handler); + virtual QXmlDTDHandler *DTDHandler() const; + virtual void setContentHandler(QXmlContentHandler *handler /KeepReference/); + virtual QXmlContentHandler *contentHandler() const; + virtual void setErrorHandler(QXmlErrorHandler *handler /KeepReference/); + virtual QXmlErrorHandler *errorHandler() const; + virtual void setLexicalHandler(QXmlLexicalHandler *handler /KeepReference/); + virtual QXmlLexicalHandler *lexicalHandler() const; + virtual void setDeclHandler(QXmlDeclHandler *handler /KeepReference/); + virtual QXmlDeclHandler *declHandler() const; + virtual bool parse(const QXmlInputSource *input); + virtual bool parse(const QXmlInputSource *input, bool incremental); + virtual bool parseContinue(); + +private: + QXmlSimpleReader(const QXmlSimpleReader &); +}; + +class QXmlLocator +{ +%TypeHeaderCode +#include +%End + +public: + QXmlLocator(); + virtual ~QXmlLocator(); + virtual int columnNumber() const = 0; + virtual int lineNumber() const = 0; +}; + +class QXmlContentHandler +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QXmlContentHandler(); + virtual void setDocumentLocator(QXmlLocator *locator /KeepReference/) = 0; + virtual bool startDocument() = 0; + virtual bool endDocument() = 0; + virtual bool startPrefixMapping(const QString &prefix, const QString &uri) = 0; + virtual bool endPrefixMapping(const QString &prefix) = 0; + virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) = 0; + virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName) = 0; + virtual bool characters(const QString &ch) = 0; + virtual bool ignorableWhitespace(const QString &ch) = 0; + virtual bool processingInstruction(const QString &target, const QString &data) = 0; + virtual bool skippedEntity(const QString &name) = 0; + virtual QString errorString() const = 0; +}; + +class QXmlErrorHandler +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QXmlErrorHandler(); + virtual bool warning(const QXmlParseException &exception) = 0; + virtual bool error(const QXmlParseException &exception) = 0; + virtual bool fatalError(const QXmlParseException &exception) = 0; + virtual QString errorString() const = 0; +}; + +class QXmlDTDHandler +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QXmlDTDHandler(); + virtual bool notationDecl(const QString &name, const QString &publicId, const QString &systemId) = 0; + virtual bool unparsedEntityDecl(const QString &name, const QString &publicId, const QString &systemId, const QString ¬ationName) = 0; + virtual QString errorString() const = 0; +}; + +class QXmlEntityResolver +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QXmlEntityResolver(); + virtual bool resolveEntity(const QString &publicId, const QString &systemId, QXmlInputSource *&ret) = 0; + virtual QString errorString() const = 0; +}; + +class QXmlLexicalHandler +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QXmlLexicalHandler(); + virtual bool startDTD(const QString &name, const QString &publicId, const QString &systemId) = 0; + virtual bool endDTD() = 0; + virtual bool startEntity(const QString &name) = 0; + virtual bool endEntity(const QString &name) = 0; + virtual bool startCDATA() = 0; + virtual bool endCDATA() = 0; + virtual bool comment(const QString &ch) = 0; + virtual QString errorString() const = 0; +}; + +class QXmlDeclHandler +{ +%TypeHeaderCode +#include +%End + +public: + virtual ~QXmlDeclHandler(); + virtual bool attributeDecl(const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value) = 0; + virtual bool internalEntityDecl(const QString &name, const QString &value) = 0; + virtual bool externalEntityDecl(const QString &name, const QString &publicId, const QString &systemId) = 0; + virtual QString errorString() const = 0; +}; + +class QXmlDefaultHandler : QXmlContentHandler, QXmlErrorHandler, QXmlDTDHandler, QXmlEntityResolver, QXmlLexicalHandler, QXmlDeclHandler +{ +%TypeHeaderCode +#include +%End + +public: + QXmlDefaultHandler(); + virtual ~QXmlDefaultHandler(); + virtual void setDocumentLocator(QXmlLocator *locator /KeepReference/); + virtual bool startDocument(); + virtual bool endDocument(); + virtual bool startPrefixMapping(const QString &prefix, const QString &uri); + virtual bool endPrefixMapping(const QString &prefix); + virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts); + virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName); + virtual bool characters(const QString &ch); + virtual bool ignorableWhitespace(const QString &ch); + virtual bool processingInstruction(const QString &target, const QString &data); + virtual bool skippedEntity(const QString &name); + virtual bool warning(const QXmlParseException &exception); + virtual bool error(const QXmlParseException &exception); + virtual bool fatalError(const QXmlParseException &exception); + virtual bool notationDecl(const QString &name, const QString &publicId, const QString &systemId); + virtual bool unparsedEntityDecl(const QString &name, const QString &publicId, const QString &systemId, const QString ¬ationName); + virtual bool resolveEntity(const QString &publicId, const QString &systemId, QXmlInputSource *&ret); + virtual bool startDTD(const QString &name, const QString &publicId, const QString &systemId); + virtual bool endDTD(); + virtual bool startEntity(const QString &name); + virtual bool endEntity(const QString &name); + virtual bool startCDATA(); + virtual bool endCDATA(); + virtual bool comment(const QString &ch); + virtual bool attributeDecl(const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value); + virtual bool internalEntityDecl(const QString &name, const QString &value); + virtual bool externalEntityDecl(const QString &name, const QString &publicId, const QString &systemId); + virtual QString errorString() const; + +private: + QXmlDefaultHandler(const QXmlDefaultHandler &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/QtXmlPatterns.toml b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/QtXmlPatterns.toml new file mode 100644 index 00000000..c50b1f53 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/QtXmlPatterns.toml @@ -0,0 +1,6 @@ +# Automatically generated configuration for PyQt5.QtXmlPatterns. + +sip-version = "6.4.0" +sip-abi-version = "12.8" +module-tags = ["Qt_5_15_0", "WS_WIN"] +module-disabled-features = [] diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/QtXmlPatternsmod.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/QtXmlPatternsmod.sip new file mode 100644 index 00000000..8d95f743 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/QtXmlPatternsmod.sip @@ -0,0 +1,62 @@ +// QtXmlPatternsmod.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +%Module(name=PyQt5.QtXmlPatterns, keyword_arguments="Optional", use_limited_api=True) + +%Import QtCore/QtCoremod.sip +%Import QtNetwork/QtNetworkmod.sip + +%Copying +Copyright (c) 2021 Riverbank Computing Limited + +This file is part of PyQt5. + +This file may be used under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation and appearing in +the file LICENSE included in the packaging of this file. Please review the +following information to ensure the GNU General Public License version 3.0 +requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you do not wish to use this file under the terms of the GPL version 3.0 +then you may purchase a commercial license. For more information contact +info@riverbankcomputing.com. + +This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%End + +%DefaultSupertype sip.simplewrapper + +%Include qabstractmessagehandler.sip +%Include qabstracturiresolver.sip +%Include qabstractxmlnodemodel.sip +%Include qabstractxmlreceiver.sip +%Include qsimplexmlnodemodel.sip +%Include qsourcelocation.sip +%Include qxmlformatter.sip +%Include qxmlname.sip +%Include qxmlnamepool.sip +%Include qxmlquery.sip +%Include qxmlresultitems.sip +%Include qxmlschema.sip +%Include qxmlschemavalidator.sip +%Include qxmlserializer.sip diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractmessagehandler.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractmessagehandler.sip new file mode 100644 index 00000000..45ec5ecb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractmessagehandler.sip @@ -0,0 +1,65 @@ +// qabstractmessagehandler.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractMessageHandler : QObject +{ +%TypeHeaderCode +#include +%End + +%ConvertToSubClassCode + static struct class_graph { + const char *name; + sipTypeDef **type; + int yes, no; + } graph[] = { + {sipName_QAbstractUriResolver, &sipType_QAbstractUriResolver, -1, 1}, + {sipName_QAbstractMessageHandler, &sipType_QAbstractMessageHandler, -1, -1}, + }; + + int i = 0; + + sipType = NULL; + + do + { + struct class_graph *cg = &graph[i]; + + if (cg->name != NULL && sipCpp->inherits(cg->name)) + { + sipType = *cg->type; + i = cg->yes; + } + else + i = cg->no; + } + while (i >= 0); +%End + +public: + QAbstractMessageHandler(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractMessageHandler(); + void message(QtMsgType type, const QString &description, const QUrl &identifier = QUrl(), const QSourceLocation &sourceLocation = QSourceLocation()); + +protected: + virtual void handleMessage(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation) = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstracturiresolver.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstracturiresolver.sip new file mode 100644 index 00000000..31e11463 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstracturiresolver.sip @@ -0,0 +1,33 @@ +// qabstracturiresolver.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractUriResolver : QObject +{ +%TypeHeaderCode +#include +%End + +public: + QAbstractUriResolver(QObject *parent /TransferThis/ = 0); + virtual ~QAbstractUriResolver(); + virtual QUrl resolve(const QUrl &relative, const QUrl &baseURI) const = 0; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractxmlnodemodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractxmlnodemodel.sip new file mode 100644 index 00000000..68f182ff --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractxmlnodemodel.sip @@ -0,0 +1,131 @@ +// qabstractxmlnodemodel.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlNodeModelIndex +{ +%TypeHeaderCode +#include +%End + +public: + QXmlNodeModelIndex(); + QXmlNodeModelIndex(const QXmlNodeModelIndex &other); + bool operator==(const QXmlNodeModelIndex &other) const; + bool operator!=(const QXmlNodeModelIndex &other) const; + + enum NodeKind + { + Attribute, + Comment, + Document, + Element, + Namespace, + ProcessingInstruction, + Text, + }; + + enum DocumentOrder + { + Precedes, + Is, + Follows, + }; + + qint64 data() const; + SIP_PYOBJECT internalPointer() const; +%MethodCode + sipRes = reinterpret_cast(sipCpp->internalPointer()); + + if (!sipRes) + sipRes = Py_None; + + Py_INCREF(sipRes); +%End + + const QAbstractXmlNodeModel *model() const; + qint64 additionalData() const; + bool isNull() const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; + +class QAbstractXmlNodeModel +{ +%TypeHeaderCode +#include +%End + +public: + enum SimpleAxis + { + Parent, + FirstChild, + PreviousSibling, + NextSibling, + }; + + QAbstractXmlNodeModel(); + virtual ~QAbstractXmlNodeModel(); + virtual QUrl baseUri(const QXmlNodeModelIndex &ni) const = 0; + virtual QUrl documentUri(const QXmlNodeModelIndex &ni) const = 0; + virtual QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex &ni) const = 0; + virtual QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex &ni1, const QXmlNodeModelIndex &ni2) const = 0; + virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex &n) const = 0; + virtual QXmlName name(const QXmlNodeModelIndex &ni) const = 0; + virtual QString stringValue(const QXmlNodeModelIndex &n) const = 0; + virtual QVariant typedValue(const QXmlNodeModelIndex &n) const = 0; + virtual QVector namespaceBindings(const QXmlNodeModelIndex &n) const = 0; + virtual QXmlNodeModelIndex elementById(const QXmlName &NCName) const = 0; + virtual QVector nodesByIdref(const QXmlName &NCName) const = 0; + QSourceLocation sourceLocation(const QXmlNodeModelIndex &index) const; + +protected: + virtual QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex &origin) const = 0; + virtual QVector attributes(const QXmlNodeModelIndex &element) const = 0; + QXmlNodeModelIndex createIndex(qint64 data) const; + QXmlNodeModelIndex createIndex(qint64 data, qint64 additionalData) const; + QXmlNodeModelIndex createIndex(SIP_PYOBJECT pointer, qint64 additionalData = 0) const [QXmlNodeModelIndex (void *pointer, qint64 additionalData = 0)]; + +private: + QAbstractXmlNodeModel(const QAbstractXmlNodeModel &); +}; + +class QXmlItem +{ +%TypeHeaderCode +#include +%End + +public: + QXmlItem(); + QXmlItem(const QXmlItem &other); + QXmlItem(const QXmlNodeModelIndex &node); + QXmlItem(const QVariant &atomicValue); + ~QXmlItem(); + bool isNull() const; + bool isNode() const; + bool isAtomicValue() const; + QVariant toAtomicValue() const; + QXmlNodeModelIndex toNodeModelIndex() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractxmlreceiver.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractxmlreceiver.sip new file mode 100644 index 00000000..ebb903aa --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qabstractxmlreceiver.sip @@ -0,0 +1,47 @@ +// qabstractxmlreceiver.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QAbstractXmlReceiver +{ +%TypeHeaderCode +#include +%End + +public: + QAbstractXmlReceiver(); + virtual ~QAbstractXmlReceiver(); + virtual void startElement(const QXmlName &name) = 0; + virtual void endElement() = 0; + virtual void attribute(const QXmlName &name, const QStringRef &value) = 0; + virtual void comment(const QString &value) = 0; + virtual void characters(const QStringRef &value) = 0; + virtual void startDocument() = 0; + virtual void endDocument() = 0; + virtual void processingInstruction(const QXmlName &target, const QString &value) = 0; + virtual void atomicValue(const QVariant &value) = 0; + virtual void namespaceBinding(const QXmlName &name) = 0; + virtual void startOfSequence() = 0; + virtual void endOfSequence() = 0; + +private: + QAbstractXmlReceiver(const QAbstractXmlReceiver &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qsimplexmlnodemodel.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qsimplexmlnodemodel.sip new file mode 100644 index 00000000..ae4900fd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qsimplexmlnodemodel.sip @@ -0,0 +1,38 @@ +// qsimplexmlnodemodel.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSimpleXmlNodeModel : QAbstractXmlNodeModel +{ +%TypeHeaderCode +#include +%End + +public: + QSimpleXmlNodeModel(const QXmlNamePool &namePool); + virtual ~QSimpleXmlNodeModel(); + virtual QUrl baseUri(const QXmlNodeModelIndex &node) const; + QXmlNamePool &namePool() const; + virtual QVector namespaceBindings(const QXmlNodeModelIndex &) const; + virtual QString stringValue(const QXmlNodeModelIndex &node) const; + virtual QXmlNodeModelIndex elementById(const QXmlName &id) const; + virtual QVector nodesByIdref(const QXmlName &idref) const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qsourcelocation.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qsourcelocation.sip new file mode 100644 index 00000000..5eaae15b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qsourcelocation.sip @@ -0,0 +1,47 @@ +// qsourcelocation.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QSourceLocation +{ +%TypeHeaderCode +#include +%End + +public: + QSourceLocation(); + QSourceLocation(const QSourceLocation &other); + QSourceLocation(const QUrl &u, int line = -1, int column = -1); + ~QSourceLocation(); + bool operator==(const QSourceLocation &other) const; + bool operator!=(const QSourceLocation &other) const; + qint64 column() const; + void setColumn(qint64 newColumn); + qint64 line() const; + void setLine(qint64 newLine); + QUrl uri() const; + void setUri(const QUrl &newUri); + bool isNull() const; + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlformatter.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlformatter.sip new file mode 100644 index 00000000..1bb9705d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlformatter.sip @@ -0,0 +1,44 @@ +// qxmlformatter.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlFormatter : QXmlSerializer +{ +%TypeHeaderCode +#include +%End + +public: + QXmlFormatter(const QXmlQuery &query, QIODevice *outputDevice); + virtual void characters(const QStringRef &value); + virtual void comment(const QString &value); + virtual void startElement(const QXmlName &name); + virtual void endElement(); + virtual void attribute(const QXmlName &name, const QStringRef &value); + virtual void processingInstruction(const QXmlName &name, const QString &value); + virtual void atomicValue(const QVariant &value); + virtual void startDocument(); + virtual void endDocument(); + virtual void startOfSequence(); + virtual void endOfSequence(); + int indentationDepth() const; + void setIndentationDepth(int depth); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlname.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlname.sip new file mode 100644 index 00000000..8c6671a3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlname.sip @@ -0,0 +1,48 @@ +// qxmlname.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlName +{ +%TypeHeaderCode +#include +%End + +public: + QXmlName(); + QXmlName(QXmlNamePool &namePool, const QString &localName, const QString &namespaceUri = QString(), const QString &prefix = QString()); +%If (Qt_5_9_0 -) + QXmlName(const QXmlName &other); +%End + QString namespaceUri(const QXmlNamePool &query) const; + QString prefix(const QXmlNamePool &query) const; + QString localName(const QXmlNamePool &query) const; + QString toClarkName(const QXmlNamePool &query) const; + bool operator==(const QXmlName &other) const; + bool operator!=(const QXmlName &other) const; + bool isNull() const; + static bool isNCName(const QString &candidate); + static QXmlName fromClarkName(const QString &clarkName, const QXmlNamePool &namePool); + long __hash__() const; +%MethodCode + sipRes = qHash(*sipCpp); +%End +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlnamepool.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlnamepool.sip new file mode 100644 index 00000000..1ca5b2d0 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlnamepool.sip @@ -0,0 +1,33 @@ +// qxmlnamepool.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlNamePool +{ +%TypeHeaderCode +#include +%End + +public: + QXmlNamePool(); + QXmlNamePool(const QXmlNamePool &other); + ~QXmlNamePool(); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlquery.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlquery.sip new file mode 100644 index 00000000..792fbcd5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlquery.sip @@ -0,0 +1,126 @@ +// qxmlquery.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlQuery +{ +%TypeHeaderCode +#include +%End + +%TypeCode +// Needed by the evaluateToStringList() %MethodCode. +#include +%End + +public: + enum QueryLanguage + { + XQuery10, + XSLT20, + }; + + QXmlQuery(); + QXmlQuery(const QXmlQuery &other); + QXmlQuery(const QXmlNamePool &np); + QXmlQuery(QXmlQuery::QueryLanguage queryLanguage, const QXmlNamePool &pool = QXmlNamePool()); + ~QXmlQuery(); + void setMessageHandler(QAbstractMessageHandler *messageHandler /KeepReference/); + QAbstractMessageHandler *messageHandler() const; + void setQuery(const QString &sourceCode, const QUrl &documentUri = QUrl()); + void setQuery(QIODevice *sourceCode, const QUrl &documentUri = QUrl()); + void setQuery(const QUrl &queryURI, const QUrl &baseUri = QUrl()); + QXmlNamePool namePool() const; + void bindVariable(const QXmlName &name, const QXmlItem &value); + void bindVariable(const QXmlName &name, QIODevice *); + void bindVariable(const QXmlName &name, const QXmlQuery &query); + void bindVariable(const QString &localName, const QXmlItem &value); + void bindVariable(const QString &localName, QIODevice *); + void bindVariable(const QString &localName, const QXmlQuery &query); + bool isValid() const; + void evaluateTo(QXmlResultItems *result) const; + bool evaluateTo(QAbstractXmlReceiver *callback) const; + SIP_PYOBJECT evaluateToStringList() const /TypeHint="QStringList"/; +%MethodCode + static const sipTypeDef *sipType_QStringList = 0; + + if (!sipType_QStringList) + sipType_QStringList = sipFindType("QStringList"); + + bool ok; + QStringList *result = new QStringList; + + Py_BEGIN_ALLOW_THREADS + ok = sipCpp->evaluateTo(result); + Py_END_ALLOW_THREADS + + if (ok) + { + sipRes = sipConvertFromNewType(result, sipType_QStringList, NULL); + } + else + { + delete result; + sipRes = Py_None; + Py_INCREF(Py_None); + } +%End + + bool evaluateTo(QIODevice *target) const; + SIP_PYOBJECT evaluateToString() const /TypeHint="QString"/; +%MethodCode + static const sipTypeDef *sipType_QStringList = 0; + + if (!sipType_QStringList) + sipType_QStringList = sipFindType("QStringList"); + + bool ok; + QString *result = new QString; + + Py_BEGIN_ALLOW_THREADS + ok = sipCpp->evaluateTo(result); + Py_END_ALLOW_THREADS + + if (ok) + { + sipRes = sipConvertFromNewType(result, sipType_QString, NULL); + } + else + { + delete result; + sipRes = Py_None; + Py_INCREF(Py_None); + } +%End + + void setUriResolver(const QAbstractUriResolver *resolver /KeepReference/); + const QAbstractUriResolver *uriResolver() const; + void setFocus(const QXmlItem &item); + bool setFocus(const QUrl &documentURI); + bool setFocus(QIODevice *document); + bool setFocus(const QString &focus); + void setInitialTemplateName(const QXmlName &name); + void setInitialTemplateName(const QString &name); + QXmlName initialTemplateName() const; + void setNetworkAccessManager(QNetworkAccessManager *newManager /KeepReference/); + QNetworkAccessManager *networkAccessManager() const; + QXmlQuery::QueryLanguage queryLanguage() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlresultitems.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlresultitems.sip new file mode 100644 index 00000000..64902c0f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlresultitems.sip @@ -0,0 +1,38 @@ +// qxmlresultitems.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlResultItems +{ +%TypeHeaderCode +#include +%End + +public: + QXmlResultItems(); + virtual ~QXmlResultItems(); + bool hasError() const; + QXmlItem next(); + QXmlItem current() const; + +private: + QXmlResultItems(const QXmlResultItems &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlschema.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlschema.sip new file mode 100644 index 00000000..95dd84fe --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlschema.sip @@ -0,0 +1,50 @@ +// qxmlschema.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlSchema +{ +%TypeHeaderCode +#include +%End + +public: + QXmlSchema(); + QXmlSchema(const QXmlSchema &other); + +private: + QXmlSchema &operator=(const QXmlSchema &); + +public: + ~QXmlSchema(); + bool load(const QUrl &source) /ReleaseGIL/; + bool load(QIODevice *source, const QUrl &documentUri = QUrl()) /ReleaseGIL/; + bool load(const QByteArray &data, const QUrl &documentUri = QUrl()); + bool isValid() const; + QXmlNamePool namePool() const; + QUrl documentUri() const; + void setMessageHandler(QAbstractMessageHandler *handler /KeepReference/); + QAbstractMessageHandler *messageHandler() const; + void setUriResolver(const QAbstractUriResolver *resolver /KeepReference/); + const QAbstractUriResolver *uriResolver() const; + void setNetworkAccessManager(QNetworkAccessManager *networkmanager /KeepReference/); + QNetworkAccessManager *networkAccessManager() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlschemavalidator.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlschemavalidator.sip new file mode 100644 index 00000000..65ef505b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlschemavalidator.sip @@ -0,0 +1,59 @@ +// qxmlschemavalidator.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlSchemaValidator +{ +%TypeHeaderCode +#include +%End + +public: + QXmlSchemaValidator(); + QXmlSchemaValidator(const QXmlSchema &schema); + ~QXmlSchemaValidator(); + void setSchema(const QXmlSchema &schema); + bool validate(const QUrl &source) const /ReleaseGIL/; + bool validate(QIODevice *source, const QUrl &documentUri = QUrl()) const /ReleaseGIL/; + bool validate(const QByteArray &data, const QUrl &documentUri = QUrl()) const; + QXmlNamePool namePool() const; + QXmlSchema schema() const; +%MethodCode + // For reasons we don't quite understand QXmlSchema's copy ctor has to be + // private as far as sip is concerned - otherwise we get compiler errors. + // However that means that sip generates the wrong code here, because it + // doesn't realise it can take a copy of the result. + + Py_BEGIN_ALLOW_THREADS + sipRes = new QXmlSchema(sipCpp->schema()); + Py_END_ALLOW_THREADS +%End + + void setMessageHandler(QAbstractMessageHandler *handler /KeepReference/); + QAbstractMessageHandler *messageHandler() const; + void setUriResolver(const QAbstractUriResolver *resolver /KeepReference/); + const QAbstractUriResolver *uriResolver() const; + void setNetworkAccessManager(QNetworkAccessManager *networkmanager /KeepReference/); + QNetworkAccessManager *networkAccessManager() const; + +private: + QXmlSchemaValidator(const QXmlSchemaValidator &); +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlserializer.sip b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlserializer.sip new file mode 100644 index 00000000..5f21406a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/bindings/QtXmlPatterns/qxmlserializer.sip @@ -0,0 +1,46 @@ +// qxmlserializer.sip generated by MetaSIP +// +// This file is part of the QtXmlPatterns Python extension module. +// +// Copyright (c) 2021 Riverbank Computing Limited +// +// This file is part of PyQt5. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +class QXmlSerializer : QAbstractXmlReceiver +{ +%TypeHeaderCode +#include +%End + +public: + QXmlSerializer(const QXmlQuery &query, QIODevice *outputDevice); + virtual void namespaceBinding(const QXmlName &nb); + virtual void characters(const QStringRef &value); + virtual void comment(const QString &value); + virtual void startElement(const QXmlName &name); + virtual void endElement(); + virtual void attribute(const QXmlName &name, const QStringRef &value); + virtual void processingInstruction(const QXmlName &name, const QString &value); + virtual void atomicValue(const QVariant &value); + virtual void startDocument(); + virtual void endDocument(); + virtual void startOfSequence(); + virtual void endOfSequence(); + QIODevice *outputDevice() const; + void setCodec(const QTextCodec *codec /KeepReference/); + const QTextCodec *codec() const; +}; diff --git a/OTHERS/Jarvis/ools/PyQt5/py.typed b/OTHERS/Jarvis/ools/PyQt5/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/OTHERS/Jarvis/ools/PyQt5/pylupdate_main.py b/OTHERS/Jarvis/ools/PyQt5/pylupdate_main.py new file mode 100644 index 00000000..f1888b9d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/pylupdate_main.py @@ -0,0 +1,247 @@ +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import locale +import sys + +from PyQt5.QtCore import (PYQT_VERSION_STR, QDir, QFile, QFileInfo, QIODevice, + QTextStream) + +from .pylupdate import * + + +def printUsage(): + sys.stderr.write( +"Usage:\n" +" pylupdate5 [options] project-file\n" +" pylupdate5 [options] source-files -ts ts-files\n" +"\n" +"Options:\n" +" -help Display this information and exit\n" +" -version\n" +" Display the version of pylupdate5 and exit\n" +" -verbose\n" +" Explain what is being done\n" +" -noobsolete\n" +" Drop all obsolete strings\n" +" -tr-function name\n" +" name() may be used instead of tr()\n" +" -translate-function name\n" +" name() may be used instead of translate()\n"); + + +def updateTsFiles(fetchedTor, tsFileNames, codecForTr, noObsolete, verbose): + dir = QDir() + + for t in tsFileNames: + fn = dir.relativeFilePath(t) + tor = MetaTranslator() + out = MetaTranslator() + + tor.load(t) + + if codecForTr: + tor.setCodec(codecForTr) + + merge(tor, fetchedTor, out, noObsolete, verbose, fn) + + if noObsolete: + out.stripObsoleteMessages() + + out.stripEmptyContexts() + + if not out.save(t): + sys.stderr.write("pylupdate5 error: Cannot save '%s'\n" % fn) + + +def _encoded_path(path): + return path.encode(locale.getdefaultlocale()[1]) + + +def main(): + # Initialise. + + defaultContext = "@default" + fetchedTor = MetaTranslator() + codecForTr = '' + codecForSource = '' + tsFileNames = [] + uiFileNames = [] + + verbose = False + noObsolete = False + metSomething = False + numFiles = 0 + standardSyntax = True + metTsFlag = False + tr_func = None + translate_func = None + + # Parse the command line. + + for arg in sys.argv[1:]: + if arg == "-ts": + standardSyntax = False + + argc = len(sys.argv) + i = 1 + + while i < argc: + arg = sys.argv[i] + i += 1 + + if arg == "-help": + printUsage() + sys.exit(0) + + if arg == "-version": + sys.stderr.write("pylupdate5 v%s\n" % PYQT_VERSION_STR) + sys.exit(0) + + if arg == "-noobsolete": + noObsolete = True + continue + + if arg == "-verbose": + verbose = True + continue + + if arg == "-ts": + metTsFlag = True + continue + + if arg == "-tr-function": + if i >= argc: + sys.stderr.write( + "pylupdate5 error: missing -tr-function name\n") + sys.exit(2) + + tr_func = sys.argv[i] + i += 1 + continue + + if arg == "-translate-function": + if i >= argc: + sys.stderr.write( + "pylupdate5 error: missing -translate-function name\n") + sys.exit(2) + + translate_func = sys.argv[i] + i += 1 + continue + + numFiles += 1 + + fullText = "" + + if not metTsFlag: + f = QFile(arg) + + if not f.open(QIODevice.ReadOnly): + sys.stderr.write( + "pylupdate5 error: Cannot open file '%s'\n" % arg) + sys.exit(1) + + t = QTextStream(f) + fullText = t.readAll() + f.close() + + if standardSyntax: + oldDir = QDir.currentPath() + QDir.setCurrent(QFileInfo(arg).path()) + + fetchedTor = MetaTranslator() + codecForTr = '' + codecForSource = '' + tsFileNames = [] + uiFileNames = [] + + for key, value in proFileTagMap(fullText).items(): + for t in value.split(' '): + if key == "SOURCES": + fetchtr_py( + _encoded_path( + QDir.current().absoluteFilePath(t)), + fetchedTor, defaultContext, True, + codecForSource, tr_func, translate_func) + metSomething = True + + elif key == "TRANSLATIONS": + tsFileNames.append(QDir.current().absoluteFilePath(t)) + metSomething = True + + elif key in ("CODEC", "DEFAULTCODEC", "CODECFORTR"): + codecForTr = t + fetchedTor.setCodec(codecForTr) + + elif key == "CODECFORSRC": + codecForSource = t + + elif key == "FORMS": + fetchtr_ui( + _encoded_path( + QDir.current().absoluteFilePath(t)), + fetchedTor, defaultContext, True) + + updateTsFiles(fetchedTor, tsFileNames, codecForTr, noObsolete, + verbose) + + if not metSomething: + sys.stderr.write( + "pylupdate5 warning: File '%s' does not look like a " + "project file\n" % arg) + elif len(tsFileNames) == 0: + sys.stderr.write( + "pylupdate5 warning: Met no 'TRANSLATIONS' entry in " + "project file '%s'\n" % arg) + + QDir.setCurrent(oldDir) + else: + if metTsFlag: + if arg.lower().endswith(".ts"): + fi = QFileInfo(arg) + + if not fi.exists() or fi.isWritable(): + tsFileNames.append(arg) + else: + sys.stderr.write( + "pylupdate5 warning: For some reason, I " + "cannot save '%s'\n" % arg) + else: + sys.stderr.write( + "pylupdate5 error: File '%s' lacks .ts extension\n" % arg) + else: + fi = QFileInfo(arg) + path = _encoded_path(fi.absoluteFilePath()) + + if fi.suffix() in ("py", "pyw"): + fetchtr_py(path, fetchedTor, defaultContext, True, + codecForSource, tr_func, translate_func) + else: + fetchtr_ui(path, fetchedTor, defaultContext, True) + + if not standardSyntax: + updateTsFiles(fetchedTor, tsFileNames, codecForTr, noObsolete, verbose) + + if numFiles == 0: + printUsage() + sys.exit(1) + + +if __name__ == '__main__': + main() diff --git a/OTHERS/Jarvis/ools/PyQt5/pyrcc_main.py b/OTHERS/Jarvis/ools/PyQt5/pyrcc_main.py new file mode 100644 index 00000000..fd157905 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/pyrcc_main.py @@ -0,0 +1,190 @@ +# Copyright (c) 2021 Riverbank Computing Limited +# +# This file is part of PyQt5. +# +# This file may be used under the terms of the GNU General Public License +# version 3.0 as published by the Free Software Foundation and appearing in +# the file LICENSE included in the packaging of this file. Please review the +# following information to ensure the GNU General Public License version 3.0 +# requirements will be met: http://www.gnu.org/copyleft/gpl.html. +# +# If you do not wish to use this file under the terms of the GPL version 3.0 +# then you may purchase a commercial license. For more information contact +# info@riverbankcomputing.com. +# +# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +import sys + +from PyQt5.QtCore import PYQT_VERSION_STR, QDir, QFile + +from .pyrcc import * + + +# Initialise the globals. +verbose = False +compressLevel = CONSTANT_COMPRESSLEVEL_DEFAULT +compressThreshold = CONSTANT_COMPRESSTHRESHOLD_DEFAULT +resourceRoot = '' + + +def processResourceFile(filenamesIn, filenameOut, listFiles): + if verbose: + sys.stderr.write("PyQt5 resource compiler\n") + + # Setup. + library = RCCResourceLibrary() + library.setInputFiles(filenamesIn) + library.setVerbose(verbose) + library.setCompressLevel(compressLevel) + library.setCompressThreshold(compressThreshold) + library.setResourceRoot(resourceRoot) + + if not library.readFiles(): + return False + + if filenameOut == '-': + filenameOut = '' + + if listFiles: + # Open the output file or use stdout if not specified. + if filenameOut: + try: + out_fd = open(filenameOut, 'w') + except Exception: + sys.stderr.write( + "Unable to open %s for writing\n" % filenameOut) + return False + else: + out_fd = sys.stdout + + for df in library.dataFiles(): + out_fd.write("%s\n" % QDir.cleanPath(df)) + + if out_fd is not sys.stdout: + out_fd.close() + + return True + + return library.output(filenameOut) + + +def showHelp(error): + sys.stderr.write("PyQt5 resource compiler\n") + + if error: + sys.stderr.write("pyrcc5: %s\n" % error) + + sys.stderr.write( +"Usage: pyrcc5 [options] \n" +"\n" +"Options:\n" +" -o file Write output to file rather than stdout\n" +" -threshold level Threshold to consider compressing files\n" +" -compress level Compress input files by level\n" +" -root path Prefix resource access path with root path\n" +" -no-compress Disable all compression\n" +" -version Display version\n" +" -help Display this information\n") + + +def main(): + # Parse the command line. Note that this mimics the original C++ (warts + # and all) in order to preserve backwards compatibility. + global verbose + global compressLevel + global compressThreshold + global resourceRoot + + outFilename = '' + helpRequested = False + listFiles = False + files = [] + + errorMsg = None + argc = len(sys.argv) + i = 1 + + while i < argc: + arg = sys.argv[i] + i += 1 + + if arg[0] == '-': + opt = arg[1:] + + if opt == "o": + if i >= argc: + errorMsg = "Missing output name" + break + + outFilename = sys.argv[i] + i += 1 + + elif opt == "root": + if i >= argc: + errorMsg = "Missing root path" + break + + resourceRoot = QDir.cleanPath(sys.argv[i]) + i += 1 + + if resourceRoot == '' or resourceRoot[0] != '/': + errorMsg = "Root must start with a /" + break + + elif opt == "compress": + if i >= argc: + errorMsg = "Missing compression level" + break + + compressLevel = int(sys.argv[i]) + i += 1 + + elif opt == "threshold": + if i >= argc: + errorMsg = "Missing compression threshold" + break + + compressThreshold = int(sys.argv[i]) + i += 1 + + elif opt == "verbose": + verbose = True + + elif opt == "list": + listFiles = True + + elif opt == "version": + sys.stderr.write("pyrcc5 v%s\n" % PYQT_VERSION_STR) + sys.exit(1) + + elif opt == "help" or opt == "h": + helpRequested = True + + elif opt == "no-compress": + compressLevel = -2 + + else: + errorMsg = "Unknown option: '%s'" % arg + break + else: + if not QFile.exists(arg): + sys.stderr.write( + "%s: File does not exist '%s'\n" % (sys.argv[0], arg)) + sys.exit(1) + + files.append(arg) + + # Handle any errors or a request for help. + if len(files) == 0 or errorMsg is not None or helpRequested: + showHelp(errorMsg) + sys.exit(1) + + if not processResourceFile(files, outFilename, listFiles): + sys.exit(1) + + +if __name__ == '__main__': + main() diff --git a/OTHERS/Jarvis/ools/PyQt5/sip.pyi b/OTHERS/Jarvis/ools/PyQt5/sip.pyi new file mode 100644 index 00000000..545a8905 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/sip.pyi @@ -0,0 +1,110 @@ +# Copyright (c) 2021, Riverbank Computing Limited +# All rights reserved. +# +# This copy of SIP is licensed for use under the terms of the SIP License +# Agreement. See the file LICENSE for more details. +# +# This copy of SIP may also used under the terms of the GNU General Public +# License v2 or v3 as published by the Free Software Foundation which can be +# found in the files LICENSE-GPL2 and LICENSE-GPL3 included in this package. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + + +from typing import Generic, overload, TypeVar, Union + + +# Constants. +SIP_VERSION = ... # type: int +SIP_VERSION_STR = ... # type: str + + +# The bases for SIP generated types. +class wrappertype: ... +class simplewrapper: ... +class wrapper(simplewrapper): ... + + +# The array type. +T = TypeVar('T') + +class array(Generic[T]): + + @overload + def __getitem__(self, i: int) -> T: ... + + @overload + def __getitem__(self, s: slice) -> array[T]: ... + + def __len__(self) -> int: ... + + +# The voidptr type. +class voidptr: + + def __init__(addr: Union[int, Buffer], size: int = -1, writeable: bool = True) -> None: ... + + def __int__(self) -> int: ... + + @overload + def __getitem__(self, i: int) -> bytes: ... + + @overload + def __getitem__(self, s: slice) -> voidptr: ... + + def __hex__(self) -> str: ... + + def __len__(self) -> int: ... + + def __setitem__(self, i: Union[int, slice], v: Buffer) -> None: ... + + def asarray(self, size: int = -1) -> array: ... + + # Python doesn't expose the capsule type. + #def ascapsule(self) -> capsule: ... + + def asstring(self, size: int = -1) -> bytes: ... + + def getsize(self) -> int: ... + + def getwriteable(self) -> bool: ... + + def setsize(self, size: int) -> None: ... + + def setwriteable(self, bool) -> None: ... + + +# PEP 484 has no explicit support for the buffer protocol so we just name types +# we know that implement it. +Buffer = Union[bytes, bytearray, memoryview, array, voidptr] + + +# Remaining functions. +def assign(obj: simplewrapper, other: simplewrapper) -> None: ... +def cast(obj: simplewrapper, type: wrappertype) -> simplewrapper: ... +def delete(obj: simplewrapper) -> None: ... +def dump(obj: simplewrapper) -> None: ... +def enableautoconversion(type: wrappertype, enable: bool) -> bool: ... +def enableoverflowchecking(enable: bool) -> bool: ... +def getapi(name: str) -> int: ... +def isdeleted(obj: simplewrapper) -> bool: ... +def ispycreated(obj: simplewrapper) -> bool: ... +def ispyowned(obj: simplewrapper) -> bool: ... +def setapi(name: str, version: int) -> None: ... +def setdeleted(obj: simplewrapper) -> None: ... +def setdestroyonexit(destroy: bool) -> None: ... +def settracemask(mask: int) -> None: ... +def transferback(obj: wrapper) -> None: ... +def transferto(obj: wrapper, owner: wrapper) -> None: ... +def unwrapinstance(obj: simplewrapper) -> None: ... +def wrapinstance(addr: int, type: wrappertype) -> simplewrapper: ... diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/__init__.py b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/__init__.py new file mode 100644 index 00000000..d4719470 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/__init__.py @@ -0,0 +1,20 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/compiler.py b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/compiler.py new file mode 100644 index 00000000..86e4672d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/compiler.py @@ -0,0 +1,123 @@ +############################################################################# +## +## Copyright (C) 2019 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +import sys + +from ..properties import Properties +from ..uiparser import UIParser +from . import qtproxies +from .indenter import createCodeIndenter, getIndenter, write_code +from .qobjectcreator import CompilerCreatorPolicy + + +class UICompiler(UIParser): + def __init__(self): + UIParser.__init__(self, qtproxies.QtCore, qtproxies.QtGui, + qtproxies.QtWidgets, CompilerCreatorPolicy()) + + def reset(self): + qtproxies.i18n_strings = [] + UIParser.reset(self) + + def setContext(self, context): + qtproxies.i18n_context = context + + def createToplevelWidget(self, classname, widgetname): + indenter = getIndenter() + indenter.level = 0 + + indenter.write("from PyQt5 import QtCore, QtGui, QtWidgets") + indenter.write("") + + indenter.write("") + indenter.write("class Ui_%s(object):" % self.uiname) + indenter.indent() + indenter.write("def setupUi(self, %s):" % widgetname) + indenter.indent() + w = self.factory.createQObject(classname, widgetname, (), + is_attribute = False, + no_instantiation = True) + w.baseclass = classname + w.uiclass = "Ui_%s" % self.uiname + return w + + def setDelayedProps(self): + write_code("") + write_code("self.retranslateUi(%s)" % self.toplevelWidget) + UIParser.setDelayedProps(self) + + def finalize(self): + indenter = getIndenter() + indenter.level = 1 + indenter.write("") + indenter.write("def retranslateUi(self, %s):" % self.toplevelWidget) + + indenter.indent() + + if qtproxies.i18n_strings: + indenter.write("_translate = QtCore.QCoreApplication.translate") + for s in qtproxies.i18n_strings: + indenter.write(s) + else: + indenter.write("pass") + + indenter.dedent() + indenter.dedent() + + # Keep a reference to the resource modules to import because the parser + # will reset() before returning. + self._resources = self.resources + self._resources.sort() + + def compileUi(self, input_stream, output_stream, from_imports, resource_suffix, import_from): + createCodeIndenter(output_stream) + w = self.parse(input_stream, resource_suffix) + + self.factory._cpolicy._writeOutImports() + + for res in self._resources: + if from_imports: + write_code("from %s import %s" % (import_from, res)) + else: + write_code("import %s" % res) + + return {"widgetname": str(w), + "uiclass" : w.uiclass, + "baseclass" : w.baseclass} diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/indenter.py b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/indenter.py new file mode 100644 index 00000000..9c92ad5e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/indenter.py @@ -0,0 +1,77 @@ +############################################################################# +## +## Copyright (C) 2014 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +indentwidth = 4 + +_indenter = None + +class _IndentedCodeWriter(object): + def __init__(self, output): + self.level = 0 + self.output = output + + def indent(self): + self.level += 1 + + def dedent(self): + self.level -= 1 + + def write(self, line): + if line.strip(): + if indentwidth > 0: + indent = " " * indentwidth + line = line.replace("\t", indent) + else: + indent = "\t" + + self.output.write("%s%s\n" % (indent * self.level, line)) + else: + self.output.write("\n") + + +def createCodeIndenter(output): + global _indenter + _indenter = _IndentedCodeWriter(output) + +def getIndenter(): + return _indenter + +def write_code(string): + _indenter.write(string) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/misc.py b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/misc.py new file mode 100644 index 00000000..0dcf1817 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/misc.py @@ -0,0 +1,59 @@ +############################################################################# +## +## Copyright (C) 2016 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +def moduleMember(module, name): + if module: + return "%s.%s" % (module, name) + + return name + + +class Literal(object): + """Literal(string) -> new literal + + string will not be quoted when put into an argument list""" + def __init__(self, string): + self.string = string + + def __str__(self): + return self.string + + def __or__(self, r_op): + return Literal("%s|%s" % (self, r_op)) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/proxy_metaclass.py b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/proxy_metaclass.py new file mode 100644 index 00000000..c997b84b --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/proxy_metaclass.py @@ -0,0 +1,100 @@ +############################################################################# +## +## Copyright (C) 2014 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +from .misc import Literal, moduleMember + + +class ProxyMetaclass(type): + """ ProxyMetaclass is the meta-class for proxies. """ + + def __init__(*args): + """ Initialise the meta-class. """ + + # Initialise as normal. + type.__init__(*args) + + # The proxy type object we have created. + proxy = args[0] + + # Go through the proxy's attributes looking for other proxies. + for sub_proxy in proxy.__dict__.values(): + if type(sub_proxy) is ProxyMetaclass: + # Set the module name of the contained proxy to the name of the + # container proxy. + sub_proxy.module = proxy.__name__ + + # Attribute hierachies are created depth first so any proxies + # contained in the sub-proxy whose module we have just set will + # already exist and have an incomplete module name. We need to + # revisit them and prepend the new name to their module names. + # Note that this should be recursive but with current usage we + # know there will be only one level to revisit. + for sub_sub_proxy in sub_proxy.__dict__.values(): + if type(sub_sub_proxy) is ProxyMetaclass: + sub_sub_proxy.module = '%s.%s' % (proxy.__name__, sub_sub_proxy.module) + + # Makes sure there is a 'module' attribute. + if not hasattr(proxy, 'module'): + proxy.module = '' + + def __getattribute__(cls, name): + try: + return type.__getattribute__(cls, name) + except AttributeError: + # Make sure __init__()'s use of hasattr() works. + if name == 'module': + raise + + # Avoid a circular import. + from .qtproxies import LiteralProxyClass + + return type(name, (LiteralProxyClass, ), + {"module": moduleMember(type.__getattribute__(cls, "module"), + type.__getattribute__(cls, "__name__"))}) + + def __str__(cls): + return moduleMember(type.__getattribute__(cls, "module"), + type.__getattribute__(cls, "__name__")) + + def __or__(self, r_op): + return Literal("%s|%s" % (self, r_op)) + + def __eq__(self, other): + return str(self) == str(other) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/qobjectcreator.py b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/qobjectcreator.py new file mode 100644 index 00000000..4771caa1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/qobjectcreator.py @@ -0,0 +1,180 @@ +############################################################################# +## +## Copyright (C) 2018 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +import logging +import sys + +from .indenter import write_code +from .qtproxies import QtGui, QtWidgets, Literal, strict_getattr + +if sys.hexversion >= 0x03000000: + from ..port_v3.as_string import as_string +else: + from ..port_v2.as_string import as_string + + +logger = logging.getLogger(__name__) +DEBUG = logger.debug + + +class _QtWrapper(object): + @classmethod + def search(cls, name): + try: + return strict_getattr(cls.module, name) + except AttributeError: + return None + + +class _QtGuiWrapper(_QtWrapper): + module = QtGui + + +class _QtWidgetsWrapper(_QtWrapper): + module = QtWidgets + + +class _ModuleWrapper(object): + def __init__(self, name, classes): + if "." in name: + idx = name.rfind(".") + self._package = name[:idx] + self._module = name[idx + 1:] + else: + self._package = None + self._module = name + + self._classes = classes + self._used = False + + def search(self, cls): + if cls in self._classes: + self._used = True + + # Remove any C++ scope. + cls = cls.split('.')[-1] + + return type(cls, (QtWidgets.QWidget,), {"module": self._module}) + else: + return None + + def _writeImportCode(self): + if self._used: + if self._package is None: + write_code("import %s" % self._module) + else: + write_code("from %s import %s" % (self._package, self._module)) + + +class _CustomWidgetLoader(object): + def __init__(self): + self._widgets = {} + self._usedWidgets = set() + + def addCustomWidget(self, widgetClass, baseClass, module): + assert widgetClass not in self._widgets + self._widgets[widgetClass] = (baseClass, module) + + def _resolveBaseclass(self, baseClass): + try: + for x in range(0, 10): + try: return strict_getattr(QtWidgets, baseClass) + except AttributeError: pass + + baseClass = self._widgets[baseClass][0] + else: + raise ValueError("baseclass resolve took too long, check custom widgets") + + except KeyError: + raise ValueError("unknown baseclass %s" % baseClass) + + def search(self, cls): + try: + baseClass = self._resolveBaseclass(self._widgets[cls][0]) + DEBUG("resolved baseclass of %s: %s" % (cls, baseClass)) + except KeyError: + return None + + self._usedWidgets.add(cls) + + return type(cls, (baseClass, ), {"module" : ""}) + + def _writeImportCode(self): + imports = {} + for widget in self._usedWidgets: + _, module = self._widgets[widget] + imports.setdefault(module, []).append(widget) + + for module, classes in sorted(imports.items()): + write_code("from %s import %s" % (module, ", ".join(sorted(classes)))) + + +class CompilerCreatorPolicy(object): + def __init__(self): + self._modules = [] + + def createQtGuiWidgetsWrappers(self): + return [_QtGuiWrapper, _QtWidgetsWrapper] + + def createModuleWrapper(self, name, classes): + mw = _ModuleWrapper(name, classes) + self._modules.append(mw) + return mw + + def createCustomWidgetLoader(self): + cw = _CustomWidgetLoader() + self._modules.append(cw) + return cw + + def instantiate(self, clsObject, objectname, ctor_args, is_attribute=True, no_instantiation=False): + return clsObject(objectname, is_attribute, ctor_args, no_instantiation) + + def invoke(self, rname, method, args): + return method(rname, *args) + + def getSlot(self, object, slotname): + return Literal("%s.%s" % (object, slotname)) + + def asString(self, s): + return as_string(s) + + def _writeOutImports(self): + for module in self._modules: + module._writeImportCode() diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/qtproxies.py b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/qtproxies.py new file mode 100644 index 00000000..8646ae24 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Compiler/qtproxies.py @@ -0,0 +1,470 @@ +############################################################################# +## +## Copyright (C) 2021 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +import sys +import re + +from .indenter import write_code +from .misc import Literal, moduleMember + +if sys.hexversion >= 0x03000000: + from ..port_v3.proxy_base import ProxyBase + from ..port_v3.as_string import as_string +else: + from ..port_v2.proxy_base import ProxyBase + from ..port_v2.as_string import as_string + + +i18n_strings = [] +i18n_context = "" + +def i18n_print(string): + i18n_strings.append(string) + +def i18n_void_func(name): + def _printer(self, *args): + i18n_print("%s.%s(%s)" % (self, name, ", ".join(map(as_string, args)))) + return _printer + +def i18n_func(name): + def _printer(self, rname, *args): + i18n_print("%s = %s.%s(%s)" % (rname, self, name, ", ".join(map(as_string, args)))) + return Literal(rname) + + return _printer + +def strict_getattr(module, clsname): + cls = getattr(module, clsname) + if issubclass(cls, LiteralProxyClass): + raise AttributeError(cls) + else: + return cls + + +class i18n_string(object): + def __init__(self, string, disambig): + self.string = string + self.disambig = disambig + + def __str__(self): + if self.disambig is None: + return '_translate("%s", %s)' % (i18n_context, as_string(self.string)) + + return '_translate("%s", %s, %s)' % (i18n_context, as_string(self.string), as_string(self.disambig)) + + +# Classes with this flag will be handled as literal values. If functions are +# called on these classes, the literal value changes. +# Example: +# the code +# >>> QSize(9,10).expandedTo(...) +# will print just that code. +AS_ARGUMENT = 0x02 + +# Classes with this flag may have members that are signals which themselves +# will have a connect() member. +AS_SIGNAL = 0x01 + +# ATTENTION: currently, classes can either be literal or normal. If a class +# should need both kinds of behaviour, the code has to be changed. + +class ProxyClassMember(object): + def __init__(self, proxy, function_name, flags): + self.proxy = proxy + self.function_name = function_name + self.flags = flags + + def __str__(self): + return "%s.%s" % (self.proxy, self.function_name) + + def __call__(self, *args): + if self.function_name == 'setProperty': + str_args = (as_string(args[0]), as_string(args[1])) + else: + str_args = map(as_string, args) + + func_call = "%s.%s(%s)" % (self.proxy, + self.function_name, + ", ".join(str_args)) + if self.flags & AS_ARGUMENT: + self.proxy._uic_name = func_call + return self.proxy + else: + needs_translation = False + for arg in args: + if isinstance(arg, i18n_string): + needs_translation = True + if needs_translation: + i18n_print(func_call) + else: + if self.function_name == 'connect': + func_call += ' # type: ignore' + + write_code(func_call) + + def __getattribute__(self, attribute): + """ Reimplemented to create a proxy connect() if requested and this + might be a proxy for a signal. + """ + + try: + return object.__getattribute__(self, attribute) + except AttributeError: + if attribute == 'connect' and self.flags & AS_SIGNAL: + return ProxyClassMember(self, attribute, 0) + + raise + + def __getitem__(self, idx): + """ Reimplemented to create a proxy member that should be a signal that + passes arguments. We handle signals without arguments before we get + here and never apply the index notation to them. + """ + + return ProxySignalWithArguments(self.proxy, self.function_name, idx) + + +class ProxySignalWithArguments(object): + """ This is a proxy for (what should be) a signal that passes arguments. + """ + + def __init__(self, sender, signal_name, signal_index): + self._sender = sender + self._signal_name = signal_name + + # Convert the signal index, which will be a single argument or a tuple + # of arguments, to quoted strings. + if isinstance(signal_index, tuple): + self._signal_index = ','.join(["'%s'" % a for a in signal_index]) + else: + self._signal_index = "'%s'" % signal_index + + def connect(self, slot): + write_code("%s.%s[%s].connect(%s) # type: ignore" % (self._sender, self._signal_name, self._signal_index, slot)) + + +class ProxyClass(ProxyBase): + flags = 0 + + def __init__(self, objectname, is_attribute, args=(), noInstantiation=False): + if objectname: + if is_attribute: + objectname = "self." + objectname + + self._uic_name = objectname + else: + self._uic_name = "Unnamed" + + if not noInstantiation: + funcall = "%s(%s)" % \ + (moduleMember(self.module, self.__class__.__name__), + ", ".join(map(str, args))) + + if objectname: + funcall = "%s = %s" % (objectname, funcall) + + write_code(funcall) + + def __str__(self): + return self._uic_name + + def __getattribute__(self, attribute): + try: + return object.__getattribute__(self, attribute) + except AttributeError: + return ProxyClassMember(self, attribute, self.flags) + + +class LiteralProxyClass(ProxyClass): + """LiteralObject(*args) -> new literal class + + a literal class can be used as argument in a function call + + >>> class Foo(LiteralProxyClass): pass + >>> str(Foo(1,2,3)) == "Foo(1,2,3)" + """ + flags = AS_ARGUMENT + + def __init__(self, *args): + self._uic_name = "%s(%s)" % \ + (moduleMember(self.module, self.__class__.__name__), + ", ".join(map(as_string, args))) + + +class ProxyNamespace(ProxyBase): + pass + + +# These are all the Qt classes used by pyuic5 in their namespaces. If a class +# is missing, the compiler will fail, normally with an AttributeError. +# +# For adding new classes: +# - utility classes used as literal values do not need to be listed +# because they are created on the fly as subclasses of LiteralProxyClass +# - classes which are *not* QWidgets inherit from ProxyClass and they +# have to be listed explicitly in the correct namespace. These classes +# are created via a ProxyQObjectCreator +# - new QWidget-derived classes have to inherit from qtproxies.QWidget +# If the widget does not need any special methods, it can be listed +# in _qwidgets + +class QtCore(ProxyNamespace): + class Qt(ProxyNamespace): + pass + + ## connectSlotsByName and connect have to be handled as class methods, + ## otherwise they would be created as LiteralProxyClasses and never be + ## printed + class QMetaObject(ProxyClass): + @classmethod + def connectSlotsByName(cls, *args): + ProxyClassMember(cls, "connectSlotsByName", 0)(*args) + + class QObject(ProxyClass): + flags = AS_SIGNAL + + def metaObject(self): + class _FakeMetaObject(object): + def className(*args): + return self.__class__.__name__ + return _FakeMetaObject() + + def objectName(self): + return self._uic_name.split(".")[-1] + + +class QtGui(ProxyNamespace): + class QIcon(ProxyClass): + class fromTheme(ProxyClass): pass + + class QConicalGradient(ProxyClass): pass + class QLinearGradient(ProxyClass): pass + class QRadialGradient(ProxyClass): pass + class QBrush(ProxyClass): pass + class QPainter(ProxyClass): pass + class QPalette(ProxyClass): pass + class QFont(ProxyClass): pass + class QFontDatabase(ProxyClass): pass + + +# These sub-class QWidget but aren't themselves sub-classed. +_qwidgets = ("QCalendarWidget", "QDialogButtonBox", "QDockWidget", "QGroupBox", + "QLineEdit", "QMainWindow", "QMenuBar", "QOpenGLWidget", + "QProgressBar", "QStatusBar", "QToolBar", "QWizardPage") + +class QtWidgets(ProxyNamespace): + class QApplication(QtCore.QObject): + @staticmethod + def translate(uiname, text, disambig): + return i18n_string(text or "", disambig) + + class QSpacerItem(ProxyClass): pass + class QSizePolicy(ProxyClass): pass + # QActions inherit from QObject for the meta-object stuff and the hierarchy + # has to be correct since we have a isinstance(x, QtWidgets.QLayout) call + # in the UI parser. + class QAction(QtCore.QObject): pass + class QActionGroup(QtCore.QObject): pass + class QButtonGroup(QtCore.QObject): pass + class QLayout(QtCore.QObject): pass + class QGridLayout(QLayout): pass + class QBoxLayout(QLayout): pass + class QHBoxLayout(QBoxLayout): pass + class QVBoxLayout(QBoxLayout): pass + class QFormLayout(QLayout): pass + + class QWidget(QtCore.QObject): + def font(self): + return Literal("%s.font()" % self) + + def minimumSizeHint(self): + return Literal("%s.minimumSizeHint()" % self) + + def sizePolicy(self): + sp = LiteralProxyClass() + sp._uic_name = "%s.sizePolicy()" % self + return sp + + class QDialog(QWidget): pass + class QColorDialog(QDialog): pass + class QFileDialog(QDialog): pass + class QFontDialog(QDialog): pass + class QInputDialog(QDialog): pass + class QMessageBox(QDialog): pass + class QWizard(QDialog): pass + + class QAbstractSlider(QWidget): pass + class QDial(QAbstractSlider): pass + class QScrollBar(QAbstractSlider): pass + class QSlider(QAbstractSlider): pass + + class QMenu(QWidget): + def menuAction(self): + return Literal("%s.menuAction()" % self) + + class QTabWidget(QWidget): + def addTab(self, *args): + text = args[-1] + + if isinstance(text, i18n_string): + i18n_print("%s.setTabText(%s.indexOf(%s), %s)" % \ + (self._uic_name, self._uic_name, args[0], text)) + args = args[:-1] + ("", ) + + ProxyClassMember(self, "addTab", 0)(*args) + + def indexOf(self, page): + return Literal("%s.indexOf(%s)" % (self, page)) + + class QComboBox(QWidget): pass + class QFontComboBox(QComboBox): pass + + class QAbstractSpinBox(QWidget): pass + class QDoubleSpinBox(QAbstractSpinBox): pass + class QSpinBox(QAbstractSpinBox): pass + + class QDateTimeEdit(QAbstractSpinBox): pass + class QDateEdit(QDateTimeEdit): pass + class QTimeEdit(QDateTimeEdit): pass + + class QFrame(QWidget): pass + class QLabel(QFrame): pass + class QLCDNumber(QFrame): pass + class QSplitter(QFrame): pass + class QStackedWidget(QFrame): pass + + class QToolBox(QFrame): + def addItem(self, *args): + text = args[-1] + + if isinstance(text, i18n_string): + i18n_print("%s.setItemText(%s.indexOf(%s), %s)" % \ + (self._uic_name, self._uic_name, args[0], text)) + args = args[:-1] + ("", ) + + ProxyClassMember(self, "addItem", 0)(*args) + + def indexOf(self, page): + return Literal("%s.indexOf(%s)" % (self, page)) + + def layout(self): + return QtWidgets.QLayout("%s.layout()" % self, + False, (), noInstantiation=True) + + class QAbstractScrollArea(QFrame): + def viewport(self): + return QtWidgets.QWidget("%s.viewport()" % self, False, (), + noInstantiation=True) + + class QGraphicsView(QAbstractScrollArea): pass + class QMdiArea(QAbstractScrollArea): pass + class QPlainTextEdit(QAbstractScrollArea): pass + class QScrollArea(QAbstractScrollArea): pass + + class QTextEdit(QAbstractScrollArea): pass + class QTextBrowser(QTextEdit): pass + + class QAbstractItemView(QAbstractScrollArea): pass + class QColumnView(QAbstractItemView): pass + class QHeaderView(QAbstractItemView): pass + class QListView(QAbstractItemView): pass + + class QTableView(QAbstractItemView): + def horizontalHeader(self): + return QtWidgets.QHeaderView("%s.horizontalHeader()" % self, + False, (), noInstantiation=True) + + def verticalHeader(self): + return QtWidgets.QHeaderView("%s.verticalHeader()" % self, + False, (), noInstantiation=True) + + class QTreeView(QAbstractItemView): + def header(self): + return QtWidgets.QHeaderView("%s.header()" % self, + False, (), noInstantiation=True) + + class QUndoView(QListView): pass + + class QListWidgetItem(ProxyClass): pass + + class QListWidget(QListView): + setSortingEnabled = i18n_void_func("setSortingEnabled") + isSortingEnabled = i18n_func("isSortingEnabled") + item = i18n_func("item") + + class QTableWidgetItem(ProxyClass): pass + + class QTableWidget(QTableView): + setSortingEnabled = i18n_void_func("setSortingEnabled") + isSortingEnabled = i18n_func("isSortingEnabled") + item = i18n_func("item") + horizontalHeaderItem = i18n_func("horizontalHeaderItem") + verticalHeaderItem = i18n_func("verticalHeaderItem") + + class QTreeWidgetItem(ProxyClass): + def child(self, index): + return QtWidgets.QTreeWidgetItem("%s.child(%i)" % (self, index), + False, (), noInstantiation=True) + + class QTreeWidget(QTreeView): + setSortingEnabled = i18n_void_func("setSortingEnabled") + isSortingEnabled = i18n_func("isSortingEnabled") + + def headerItem(self): + return QtWidgets.QWidget("%s.headerItem()" % self, False, (), + noInstantiation=True) + + def topLevelItem(self, index): + return QtWidgets.QTreeWidgetItem("%s.topLevelItem(%i)" % (self, index), + False, (), noInstantiation=True) + + class QAbstractButton(QWidget): pass + class QCheckBox(QAbstractButton): pass + class QRadioButton(QAbstractButton): pass + class QToolButton(QAbstractButton): pass + + class QPushButton(QAbstractButton): pass + class QCommandLinkButton(QPushButton): pass + class QKeySequenceEdit(QWidget): pass + + # Add all remaining classes. + for _class in _qwidgets: + if _class not in locals(): + locals()[_class] = type(_class, (QWidget, ), {}) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Loader/__init__.py b/OTHERS/Jarvis/ools/PyQt5/uic/Loader/__init__.py new file mode 100644 index 00000000..d4719470 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Loader/__init__.py @@ -0,0 +1,20 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Loader/loader.py b/OTHERS/Jarvis/ools/PyQt5/uic/Loader/loader.py new file mode 100644 index 00000000..1079a82a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Loader/loader.py @@ -0,0 +1,66 @@ +############################################################################# +## +## Copyright (C) 2019 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +from PyQt5 import QtCore, QtGui, QtWidgets + +from ..uiparser import UIParser +from .qobjectcreator import LoaderCreatorPolicy + + +class DynamicUILoader(UIParser): + def __init__(self, package): + UIParser.__init__(self, QtCore, QtGui, QtWidgets, + LoaderCreatorPolicy(package)) + + def createToplevelWidget(self, classname, widgetname): + if self.toplevelInst is None: + return self.factory.createQObject(classname, widgetname, ()) + + if not isinstance(self.toplevelInst, self.factory.findQObjectType(classname)): + raise TypeError( + ("Wrong base class of toplevel widget", + (type(self.toplevelInst), classname))) + + return self.toplevelInst + + def loadUi(self, filename, toplevelInst, resource_suffix): + self.toplevelInst = toplevelInst + + return self.parse(filename, resource_suffix) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/Loader/qobjectcreator.py b/OTHERS/Jarvis/ools/PyQt5/uic/Loader/qobjectcreator.py new file mode 100644 index 00000000..833fefe7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/Loader/qobjectcreator.py @@ -0,0 +1,150 @@ +############################################################################# +## +## Copyright (C) 2015 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +import sys + +from PyQt5 import QtGui, QtWidgets + + +class _QtWrapper(object): + @classmethod + def search(cls, name): + return getattr(cls.module, name, None) + + +class _QtGuiWrapper(_QtWrapper): + module = QtGui + + +class _QtWidgetsWrapper(_QtWrapper): + module = QtWidgets + + +class _ModuleWrapper(object): + def __init__(self, moduleName, classes): + self._moduleName = moduleName + self._module = None + self._classes = classes + + def search(self, cls): + if cls in self._classes: + if self._module is None: + self._module = __import__(self._moduleName, {}, {}, self._classes) + # Remove any C++ scope. + cls = cls.split('.')[-1] + + return getattr(self._module, cls) + + return None + + +class _CustomWidgetLoader(object): + def __init__(self, package): + # should it stay this way? + if '.' not in sys.path: + sys.path.append('.') + + self._widgets = {} + self._modules = {} + self._package = package + + def addCustomWidget(self, widgetClass, baseClass, module): + assert widgetClass not in self._widgets + self._widgets[widgetClass] = module + + def search(self, cls): + module_name = self._widgets.get(cls) + if module_name is None: + return None + + module = self._modules.get(module_name) + if module is None: + if module_name.startswith('.'): + if self._package == '': + raise ImportError( + "relative import of %s without base package specified" % module_name) + + if self._package.startswith('.'): + raise ImportError( + "base package %s is relative" % self._package) + + mname = self._package + module_name + else: + mname = module_name + + try: + module = __import__(mname, {}, {}, (cls,)) + except ValueError: + # Raise a more helpful exception. + raise ImportError("unable to import module %s" % mname) + + self._modules[module_name] = module + + return getattr(module, cls) + + +class LoaderCreatorPolicy(object): + def __init__(self, package): + self._package = package + + def createQtGuiWidgetsWrappers(self): + return [_QtGuiWrapper, _QtWidgetsWrapper] + + def createModuleWrapper(self, moduleName, classes): + return _ModuleWrapper(moduleName, classes) + + def createCustomWidgetLoader(self): + return _CustomWidgetLoader(self._package) + + def instantiate(self, clsObject, objectName, ctor_args, is_attribute=True): + return clsObject(*ctor_args) + + def invoke(self, rname, method, args): + return method(*args) + + def getSlot(self, object, slotname): + # Rename slots that correspond to Python keyword arguments. + if slotname == 'raise': + slotname += '_' + + return getattr(object, slotname) + + def asString(self, s): + return s diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/__init__.py b/OTHERS/Jarvis/ools/PyQt5/uic/__init__.py new file mode 100644 index 00000000..edfbbb0e --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/__init__.py @@ -0,0 +1,242 @@ +############################################################################# +## +## Copyright (C) 2020 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +__all__ = ("compileUi", "compileUiDir", "loadUiType", "loadUi", "widgetPluginPath") + +from .Compiler import indenter, compiler + + +_header = """# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file '%s' +# +# Created by: PyQt5 UI code generator %s +# +# WARNING: Any manual changes made to this file will be lost when pyuic5 is +# run again. Do not edit this file unless you know what you are doing. + + +""" + + +_display_code = """ + +if __name__ == "__main__": +\timport sys +\tapp = QtWidgets.QApplication(sys.argv) +\t%(widgetname)s = QtWidgets.%(baseclass)s() +\tui = %(uiclass)s() +\tui.setupUi(%(widgetname)s) +\t%(widgetname)s.show() +\tsys.exit(app.exec_())""" + + +def compileUiDir(dir, recurse=False, map=None, **compileUi_args): + """compileUiDir(dir, recurse=False, map=None, **compileUi_args) + + Creates Python modules from Qt Designer .ui files in a directory or + directory tree. + + dir is the name of the directory to scan for files whose name ends with + '.ui'. By default the generated Python module is created in the same + directory ending with '.py'. + recurse is set if any sub-directories should be scanned. The default is + False. + map is an optional callable that is passed the name of the directory + containing the '.ui' file and the name of the Python module that will be + created. The callable should return a tuple of the name of the directory + in which the Python module will be created and the (possibly modified) + name of the module. The default is None. + compileUi_args are any additional keyword arguments that are passed to + the compileUi() function that is called to create each Python module. + """ + + import os + + # Compile a single .ui file. + def compile_ui(ui_dir, ui_file): + # Ignore if it doesn't seem to be a .ui file. + if ui_file.endswith('.ui'): + py_dir = ui_dir + py_file = ui_file[:-3] + '.py' + + # Allow the caller to change the name of the .py file or generate + # it in a different directory. + if map is not None: + py_dir, py_file = map(py_dir, py_file) + + # Make sure the destination directory exists. + try: + os.makedirs(py_dir) + except: + pass + + ui_path = os.path.join(ui_dir, ui_file) + py_path = os.path.join(py_dir, py_file) + + ui_file = open(ui_path, 'r') + py_file = open(py_path, 'w') + + try: + compileUi(ui_file, py_file, **compileUi_args) + finally: + ui_file.close() + py_file.close() + + if recurse: + for root, _, files in os.walk(dir): + for ui in files: + compile_ui(root, ui) + else: + for ui in os.listdir(dir): + if os.path.isfile(os.path.join(dir, ui)): + compile_ui(dir, ui) + + +def compileUi(uifile, pyfile, execute=False, indent=4, from_imports=False, resource_suffix='_rc', import_from='.'): + """compileUi(uifile, pyfile, execute=False, indent=4, from_imports=False, resource_suffix='_rc', import_from='.') + + Creates a Python module from a Qt Designer .ui file. + + uifile is a file name or file-like object containing the .ui file. + pyfile is the file-like object to which the Python code will be written to. + execute is optionally set to generate extra Python code that allows the + code to be run as a standalone application. The default is False. + indent is the optional indentation width using spaces. If it is 0 then a + tab is used. The default is 4. + from_imports is optionally set to generate relative import statements. At + the moment this only applies to the import of resource modules. + resource_suffix is the suffix appended to the basename of any resource file + specified in the .ui file to create the name of the Python module generated + from the resource file by pyrcc4. The default is '_rc', i.e. if the .ui + file specified a resource file called foo.qrc then the corresponding Python + module is foo_rc. + import_from is optionally set to the package used for relative import + statements. The default is ``'.'``. + """ + + from PyQt5.QtCore import PYQT_VERSION_STR + + try: + uifname = uifile.name + except AttributeError: + uifname = uifile + + indenter.indentwidth = indent + + pyfile.write(_header % (uifname, PYQT_VERSION_STR)) + + winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports, resource_suffix, import_from) + + if execute: + indenter.write_code(_display_code % winfo) + + +def loadUiType(uifile, from_imports=False, resource_suffix='_rc', import_from='.'): + """loadUiType(uifile, from_imports=False, resource_suffix='_rc', import_from='.') -> (form class, base class) + + Load a Qt Designer .ui file and return the generated form class and the Qt + base class. + + uifile is a file name or file-like object containing the .ui file. + from_imports is optionally set to generate relative import statements. At + the moment this only applies to the import of resource modules. + resource_suffix is the suffix appended to the basename of any resource file + specified in the .ui file to create the name of the Python module generated + from the resource file by pyrcc4. The default is '_rc', i.e. if the .ui + file specified a resource file called foo.qrc then the corresponding Python + module is foo_rc. + import_from is optionally set to the package used for relative import + statements. The default is ``'.'``. + """ + + import sys + + from PyQt5 import QtWidgets + + if sys.hexversion >= 0x03000000: + from .port_v3.string_io import StringIO + else: + from .port_v2.string_io import StringIO + + code_string = StringIO() + winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports, + resource_suffix, import_from) + + ui_globals = {} + exec(code_string.getvalue(), ui_globals) + + uiclass = winfo["uiclass"] + baseclass = winfo["baseclass"] + + # Assume that the base class is a custom class exposed in the globals. + ui_base = ui_globals.get(baseclass) + if ui_base is None: + # Otherwise assume it is in the QtWidgets module. + ui_base = getattr(QtWidgets, baseclass) + + return (ui_globals[uiclass], ui_base) + + +def loadUi(uifile, baseinstance=None, package='', resource_suffix='_rc'): + """loadUi(uifile, baseinstance=None, package='') -> widget + + Load a Qt Designer .ui file and return an instance of the user interface. + + uifile is a file name or file-like object containing the .ui file. + baseinstance is an optional instance of the Qt base class. If specified + then the user interface is created in it. Otherwise a new instance of the + base class is automatically created. + package is the optional package which is used as the base for any relative + imports of custom widgets. + resource_suffix is the suffix appended to the basename of any resource file + specified in the .ui file to create the name of the Python module generated + from the resource file by pyrcc4. The default is '_rc', i.e. if the .ui + file specified a resource file called foo.qrc then the corresponding Python + module is foo_rc. + """ + + from .Loader.loader import DynamicUILoader + + return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix) + + +# The list of directories that are searched for widget plugins. +from .objcreator import widgetPluginPath diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/driver.py b/OTHERS/Jarvis/ools/PyQt5/uic/driver.py new file mode 100644 index 00000000..00faeb46 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/driver.py @@ -0,0 +1,149 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +import sys +import logging + +from . import compileUi, loadUi + + +class Driver(object): + """ This encapsulates access to the pyuic functionality so that it can be + called by code that is Python v2/v3 specific. + """ + + LOGGER_NAME = 'PyQt5.uic' + + def __init__(self, opts, ui_file): + """ Initialise the object. opts is the parsed options. ui_file is the + name of the .ui file. + """ + + if opts.debug: + logger = logging.getLogger(self.LOGGER_NAME) + handler = logging.StreamHandler() + handler.setFormatter(logging.Formatter("%(name)s: %(message)s")) + logger.addHandler(handler) + logger.setLevel(logging.DEBUG) + + self._opts = opts + self._ui_file = ui_file + + def invoke(self): + """ Invoke the action as specified by the parsed options. Returns 0 if + there was no error. + """ + + if self._opts.preview: + return self._preview() + + self._generate() + + return 0 + + def _preview(self): + """ Preview the .ui file. Return the exit status to be passed back to + the parent process. + """ + + from PyQt5 import QtWidgets + + app = QtWidgets.QApplication([self._ui_file]) + widget = loadUi(self._ui_file) + widget.show() + + return app.exec_() + + def _generate(self): + """ Generate the Python code. """ + + needs_close = False + + if sys.hexversion >= 0x03000000: + if self._opts.output == '-': + from io import TextIOWrapper + + pyfile = TextIOWrapper(sys.stdout.buffer, encoding='utf8') + else: + pyfile = open(self._opts.output, 'wt', encoding='utf8') + needs_close = True + else: + if self._opts.output == '-': + pyfile = sys.stdout + else: + pyfile = open(self._opts.output, 'wt') + needs_close = True + + import_from = self._opts.import_from + + if import_from: + from_imports = True + elif self._opts.from_imports: + from_imports = True + import_from = '.' + else: + from_imports = False + + compileUi(self._ui_file, pyfile, self._opts.execute, self._opts.indent, + from_imports, self._opts.resource_suffix, import_from) + + if needs_close: + pyfile.close() + + def on_IOError(self, e): + """ Handle an IOError exception. """ + + sys.stderr.write("Error: %s: \"%s\"\n" % (e.strerror, e.filename)) + + def on_SyntaxError(self, e): + """ Handle a SyntaxError exception. """ + + sys.stderr.write("Error in input file: %s\n" % e) + + def on_NoSuchClassError(self, e): + """ Handle a NoSuchClassError exception. """ + + sys.stderr.write(str(e) + "\n") + + def on_NoSuchWidgetError(self, e): + """ Handle a NoSuchWidgetError exception. """ + + sys.stderr.write(str(e) + "\n") + + def on_Exception(self, e): + """ Handle a generic exception. """ + + if logging.getLogger(self.LOGGER_NAME).level == logging.DEBUG: + import traceback + + traceback.print_exception(*sys.exc_info()) + else: + from PyQt5 import QtCore + + sys.stderr.write("""An unexpected error occurred. +Check that you are using the latest version of PyQt5 and send an error report to +support@riverbankcomputing.com, including the following information: + + * your version of PyQt (%s) + * the UI file that caused this error + * the debug output of pyuic5 (use the -d flag when calling pyuic5) +""" % QtCore.PYQT_VERSION_STR) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/exceptions.py b/OTHERS/Jarvis/ools/PyQt5/uic/exceptions.py new file mode 100644 index 00000000..3c42750d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/exceptions.py @@ -0,0 +1,53 @@ +############################################################################# +## +## Copyright (C) 2017 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +class NoSuchClassError(Exception): + def __str__(self): + return "Unknown C++ class: %s" % self.args[0] + +class NoSuchWidgetError(Exception): + def __str__(self): + return "Unknown Qt widget: %s" % self.args[0] + +class UnsupportedPropertyError(Exception): + pass + +class WidgetPluginError(Exception): + pass diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/icon_cache.py b/OTHERS/Jarvis/ools/PyQt5/uic/icon_cache.py new file mode 100644 index 00000000..7853cf24 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/icon_cache.py @@ -0,0 +1,159 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +import os.path + + +class IconCache(object): + """Maintain a cache of icons. If an icon is used more than once by a GUI + then ensure that only one copy is created. + """ + + def __init__(self, object_factory, qtgui_module): + """Initialise the cache.""" + + self._object_factory = object_factory + self._qtgui_module = qtgui_module + self._base_dir = '' + self._cache = [] + + def set_base_dir(self, base_dir): + """ Set the base directory to be used for all relative filenames. """ + + self._base_dir = base_dir + + def get_icon(self, iconset): + """Return an icon described by the given iconset tag.""" + + # Handle a themed icon. + theme = iconset.attrib.get('theme') + if theme is not None: + return self._object_factory.createQObject("QIcon.fromTheme", + 'icon', (self._object_factory.asString(theme), ), + is_attribute=False) + + # Handle an empty iconset property. + if iconset.text is None: + return None + + iset = _IconSet(iconset, self._base_dir) + + try: + idx = self._cache.index(iset) + except ValueError: + idx = -1 + + if idx >= 0: + # Return the icon from the cache. + iset = self._cache[idx] + else: + # Follow uic's naming convention. + name = 'icon' + idx = len(self._cache) + + if idx > 0: + name += str(idx) + + icon = self._object_factory.createQObject("QIcon", name, (), + is_attribute=False) + iset.set_icon(icon, self._qtgui_module) + self._cache.append(iset) + + return iset.icon + + +class _IconSet(object): + """An icon set, ie. the mode and state and the pixmap used for each.""" + + def __init__(self, iconset, base_dir): + """Initialise the icon set from an XML tag.""" + + # Set the pre-Qt v4.4 fallback (ie. with no roles). + self._fallback = self._file_name(iconset.text, base_dir) + self._use_fallback = True + + # Parse the icon set. + self._roles = {} + + for i in iconset: + file_name = i.text + if file_name is not None: + file_name = self._file_name(file_name, base_dir) + + self._roles[i.tag] = file_name + self._use_fallback = False + + # There is no real icon yet. + self.icon = None + + @staticmethod + def _file_name(fname, base_dir): + """ Convert a relative filename if we have a base directory. """ + + fname = fname.replace("\\", "\\\\") + + if base_dir != '' and fname[0] != ':' and not os.path.isabs(fname): + fname = os.path.join(base_dir, fname) + + return fname + + def set_icon(self, icon, qtgui_module): + """Save the icon and set its attributes.""" + + if self._use_fallback: + icon.addFile(self._fallback) + else: + for role, pixmap in self._roles.items(): + if role.endswith("off"): + mode = role[:-3] + state = qtgui_module.QIcon.Off + elif role.endswith("on"): + mode = role[:-2] + state = qtgui_module.QIcon.On + else: + continue + + mode = getattr(qtgui_module.QIcon, mode.title()) + + if pixmap: + icon.addPixmap(qtgui_module.QPixmap(pixmap), mode, state) + else: + icon.addPixmap(qtgui_module.QPixmap(), mode, state) + + self.icon = icon + + def __eq__(self, other): + """Compare two icon sets for equality.""" + + if not isinstance(other, type(self)): + return NotImplemented + + if self._use_fallback: + if other._use_fallback: + return self._fallback == other._fallback + + return False + + if other._use_fallback: + return False + + return self._roles == other._roles diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/objcreator.py b/OTHERS/Jarvis/ools/PyQt5/uic/objcreator.py new file mode 100644 index 00000000..0ae7566a --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/objcreator.py @@ -0,0 +1,163 @@ +############################################################################# +## +## Copyright (C) 2015 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +import os.path + +from .exceptions import NoSuchWidgetError, WidgetPluginError + + +# The list of directories that are searched for widget plugins. This is +# exposed as part of the API. +widgetPluginPath = [os.path.join(os.path.dirname(__file__), 'widget-plugins')] + + +MATCH = True +NO_MATCH = False +MODULE = 0 +CW_FILTER = 1 + + +class QObjectCreator(object): + def __init__(self, creatorPolicy): + self._cpolicy = creatorPolicy + + self._cwFilters = [] + self._modules = self._cpolicy.createQtGuiWidgetsWrappers() + + # Get the optional plugins. + for plugindir in widgetPluginPath: + try: + plugins = os.listdir(plugindir) + except: + plugins = [] + + for filename in plugins: + if not filename.endswith('.py'): + continue + + filename = os.path.join(plugindir, filename) + + plugin_globals = { + "MODULE": MODULE, + "CW_FILTER": CW_FILTER, + "MATCH": MATCH, + "NO_MATCH": NO_MATCH} + + plugin_locals = {} + + if self.load_plugin(filename, plugin_globals, plugin_locals): + pluginType = plugin_locals["pluginType"] + if pluginType == MODULE: + modinfo = plugin_locals["moduleInformation"]() + self._modules.append(self._cpolicy.createModuleWrapper(*modinfo)) + elif pluginType == CW_FILTER: + self._cwFilters.append(plugin_locals["getFilter"]()) + else: + raise WidgetPluginError("Unknown plugin type of %s" % filename) + + self._customWidgets = self._cpolicy.createCustomWidgetLoader() + self._modules.append(self._customWidgets) + + def createQObject(self, classname, *args, **kwargs): + # Handle regular and custom widgets. + factory = self.findQObjectType(classname) + + if factory is None: + # Handle scoped names, typically static factory methods. + parts = classname.split('.') + + if len(parts) > 1: + factory = self.findQObjectType(parts[0]) + + if factory is not None: + for part in parts[1:]: + factory = getattr(factory, part, None) + if factory is None: + break + + if factory is None: + raise NoSuchWidgetError(classname) + + return self._cpolicy.instantiate(factory, *args, **kwargs) + + def invoke(self, rname, method, args=()): + return self._cpolicy.invoke(rname, method, args) + + def findQObjectType(self, classname): + for module in self._modules: + w = module.search(classname) + if w is not None: + return w + return None + + def getSlot(self, obj, slotname): + return self._cpolicy.getSlot(obj, slotname) + + def asString(self, s): + return self._cpolicy.asString(s) + + def addCustomWidget(self, widgetClass, baseClass, module): + for cwFilter in self._cwFilters: + match, result = cwFilter(widgetClass, baseClass, module) + if match: + widgetClass, baseClass, module = result + break + + self._customWidgets.addCustomWidget(widgetClass, baseClass, module) + + @staticmethod + def load_plugin(filename, plugin_globals, plugin_locals): + """ Load the plugin from the given file. Return True if the plugin was + loaded, or False if it wanted to be ignored. Raise an exception if + there was an error. + """ + + plugin = open(filename) + + try: + exec(plugin.read(), plugin_globals, plugin_locals) + except ImportError: + return False + except Exception as e: + raise WidgetPluginError("%s: %s" % (e.__class__, str(e))) + finally: + plugin.close() + + return True diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/__init__.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/__init__.py new file mode 100644 index 00000000..d4719470 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/__init__.py @@ -0,0 +1,20 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/as_string.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/as_string.py new file mode 100644 index 00000000..f86fc514 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/as_string.py @@ -0,0 +1,40 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +import re + + +def as_string(obj): + if isinstance(obj, basestring): + return '"' + _escape(obj.encode('UTF-8')) + '"' + + return str(obj) + + +_esc_regex = re.compile(r"(\"|\'|\\)") + +def _escape(text): + # This escapes any escaped single or double quote or backslash. + x = _esc_regex.sub(r"\\\1", text) + + # This replaces any '\n' with an escaped version and a real line break. + return re.sub(r'\n', r'\\n"\n"', x) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/ascii_upper.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/ascii_upper.py new file mode 100644 index 00000000..e3e49b29 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/ascii_upper.py @@ -0,0 +1,33 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +import string + + +# A translation table for converting ASCII lower case to upper case. +_ascii_trans_table = string.maketrans(string.ascii_lowercase, + string.ascii_uppercase) + + +# Convert a string to ASCII upper case irrespective of the current locale. +def ascii_upper(s): + return s.translate(_ascii_trans_table) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/proxy_base.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/proxy_base.py new file mode 100644 index 00000000..9519b0b8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/proxy_base.py @@ -0,0 +1,31 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +from ..Compiler.proxy_metaclass import ProxyMetaclass + + +class ProxyBase(object): + """ A base class for proxies using Python v2 syntax for setting the + meta-class. + """ + + __metaclass__ = ProxyMetaclass diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/string_io.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/string_io.py new file mode 100644 index 00000000..94929625 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v2/string_io.py @@ -0,0 +1,27 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# Import the StringIO object. +try: + from cStringIO import StringIO +except ImportError: + from StringIO import StringIO diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/__init__.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/__init__.py new file mode 100644 index 00000000..d4719470 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/__init__.py @@ -0,0 +1,20 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/as_string.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/as_string.py new file mode 100644 index 00000000..c0fb864c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/as_string.py @@ -0,0 +1,40 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +import re + + +def as_string(obj): + if isinstance(obj, str): + return '"' + _escape(obj) + '"' + + return str(obj) + + +_esc_regex = re.compile(r"(\"|\'|\\)") + +def _escape(text): + # This escapes any escaped single or double quote or backslash. + x = _esc_regex.sub(r"\\\1", text) + + # This replaces any '\n' with an escaped version and a real line break. + return re.sub(r'\n', r'\\n"\n"', x) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/ascii_upper.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/ascii_upper.py new file mode 100644 index 00000000..ef29aa0d --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/ascii_upper.py @@ -0,0 +1,30 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# A translation table for converting ASCII lower case to upper case. +_ascii_trans_table = bytes.maketrans(b'abcdefghijklmnopqrstuvwxyz', + b'ABCDEFGHIJKLMNOPQRSTUVWXYZ') + + +# Convert a string to ASCII upper case irrespective of the current locale. +def ascii_upper(s): + return s.translate(_ascii_trans_table) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/proxy_base.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/proxy_base.py new file mode 100644 index 00000000..fe85cb2c --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/proxy_base.py @@ -0,0 +1,29 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +from ..Compiler.proxy_metaclass import ProxyMetaclass + + +class ProxyBase(metaclass=ProxyMetaclass): + """ A base class for proxies using Python v3 syntax for setting the + meta-class. + """ diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/string_io.py b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/string_io.py new file mode 100644 index 00000000..6f3e30c8 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/port_v3/string_io.py @@ -0,0 +1,24 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# Import the StringIO object. +from io import StringIO diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/properties.py b/OTHERS/Jarvis/ools/PyQt5/uic/properties.py new file mode 100644 index 00000000..88ddb739 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/properties.py @@ -0,0 +1,523 @@ +############################################################################# +## +## Copyright (C) 2019 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +import logging +import os.path +import sys + +from .exceptions import NoSuchClassError, UnsupportedPropertyError +from .icon_cache import IconCache + +if sys.hexversion >= 0x03000000: + from .port_v3.ascii_upper import ascii_upper +else: + from .port_v2.ascii_upper import ascii_upper + + +logger = logging.getLogger(__name__) +DEBUG = logger.debug + + +QtCore = None +QtGui = None +QtWidgets = None + + +def int_list(prop): + return [int(child.text) for child in prop] + +def float_list(prop): + return [float(child.text) for child in prop] + +bool_ = lambda v: v == "true" + +def qfont_enum(v): + return getattr(QtGui.QFont, v) + +def needsWidget(func): + func.needsWidget = True + return func + + +class Properties(object): + def __init__(self, factory, qtcore_module, qtgui_module, qtwidgets_module): + self.factory = factory + + global QtCore, QtGui, QtWidgets + QtCore = qtcore_module + QtGui = qtgui_module + QtWidgets = qtwidgets_module + + self._base_dir = '' + + self.reset() + + def set_base_dir(self, base_dir): + """ Set the base directory to be used for all relative filenames. """ + + self._base_dir = base_dir + self.icon_cache.set_base_dir(base_dir) + + def reset(self): + self.buddies = [] + self.delayed_props = [] + self.icon_cache = IconCache(self.factory, QtGui) + + def _pyEnumMember(self, cpp_name): + try: + prefix, membername = cpp_name.split("::") + except ValueError: + prefix = 'Qt' + membername = cpp_name + + if prefix == 'Qt': + return getattr(QtCore.Qt, membername) + + scope = self.factory.findQObjectType(prefix) + if scope is None: + raise NoSuchClassError(prefix) + + return getattr(scope, membername) + + def _set(self, prop): + expr = [self._pyEnumMember(v) for v in prop.text.split('|')] + + value = expr[0] + for v in expr[1:]: + value |= v + + return value + + def _enum(self, prop): + return self._pyEnumMember(prop.text) + + def _number(self, prop): + return int(prop.text) + + _UInt = _uInt = _longLong = _uLongLong = _number + + def _double(self, prop): + return float(prop.text) + + def _bool(self, prop): + return prop.text == 'true' + + def _stringlist(self, prop): + return [self._string(p, notr='true') for p in prop] + + def _string(self, prop, notr=None): + text = prop.text + + if text is None: + return "" + + if prop.get('notr', notr) == 'true': + return text + + disambig = prop.get('comment') + + return QtWidgets.QApplication.translate(self.uiname, text, disambig) + + _char = _string + + def _cstring(self, prop): + return str(prop.text) + + def _color(self, prop): + args = int_list(prop) + + # Handle the optional alpha component. + alpha = int(prop.get("alpha", "255")) + + if alpha != 255: + args.append(alpha) + + return QtGui.QColor(*args) + + def _point(self, prop): + return QtCore.QPoint(*int_list(prop)) + + def _pointf(self, prop): + return QtCore.QPointF(*float_list(prop)) + + def _rect(self, prop): + return QtCore.QRect(*int_list(prop)) + + def _rectf(self, prop): + return QtCore.QRectF(*float_list(prop)) + + def _size(self, prop): + return QtCore.QSize(*int_list(prop)) + + def _sizef(self, prop): + return QtCore.QSizeF(*float_list(prop)) + + def _pixmap(self, prop): + if prop.text: + fname = prop.text.replace("\\", "\\\\") + if self._base_dir != '' and fname[0] != ':' and not os.path.isabs(fname): + fname = os.path.join(self._base_dir, fname) + + return QtGui.QPixmap(fname) + + # Don't bother to set the property if the pixmap is empty. + return None + + def _iconset(self, prop): + return self.icon_cache.get_icon(prop) + + def _url(self, prop): + return QtCore.QUrl(prop[0].text) + + def _locale(self, prop): + lang = getattr(QtCore.QLocale, prop.attrib['language']) + country = getattr(QtCore.QLocale, prop.attrib['country']) + return QtCore.QLocale(lang, country) + + def _date(self, prop): + return QtCore.QDate(*int_list(prop)) + + def _datetime(self, prop): + args = int_list(prop) + return QtCore.QDateTime(QtCore.QDate(*args[-3:]), QtCore.QTime(*args[:-3])) + + def _time(self, prop): + return QtCore.QTime(*int_list(prop)) + + def _gradient(self, prop): + name = 'gradient' + + # Create the specific gradient. + gtype = prop.get('type', '') + + if gtype == 'LinearGradient': + startx = float(prop.get('startx')) + starty = float(prop.get('starty')) + endx = float(prop.get('endx')) + endy = float(prop.get('endy')) + gradient = self.factory.createQObject('QLinearGradient', name, + (startx, starty, endx, endy), is_attribute=False) + + elif gtype == 'ConicalGradient': + centralx = float(prop.get('centralx')) + centraly = float(prop.get('centraly')) + angle = float(prop.get('angle')) + gradient = self.factory.createQObject('QConicalGradient', name, + (centralx, centraly, angle), is_attribute=False) + + elif gtype == 'RadialGradient': + centralx = float(prop.get('centralx')) + centraly = float(prop.get('centraly')) + radius = float(prop.get('radius')) + focalx = float(prop.get('focalx')) + focaly = float(prop.get('focaly')) + gradient = self.factory.createQObject('QRadialGradient', name, + (centralx, centraly, radius, focalx, focaly), + is_attribute=False) + + else: + raise UnsupportedPropertyError(prop.tag) + + # Set the common values. + spread = prop.get('spread') + if spread: + gradient.setSpread(getattr(QtGui.QGradient, spread)) + + cmode = prop.get('coordinatemode') + if cmode: + gradient.setCoordinateMode(getattr(QtGui.QGradient, cmode)) + + # Get the gradient stops. + for gstop in prop: + if gstop.tag != 'gradientstop': + raise UnsupportedPropertyError(gstop.tag) + + position = float(gstop.get('position')) + color = self._color(gstop[0]) + + gradient.setColorAt(position, color) + + return gradient + + def _palette(self, prop): + palette = self.factory.createQObject("QPalette", "palette", (), + is_attribute=False) + + for palette_elem in prop: + sub_palette = getattr(QtGui.QPalette, palette_elem.tag.title()) + for role, color in enumerate(palette_elem): + if color.tag == 'color': + # Handle simple colour descriptions where the role is + # implied by the colour's position. + palette.setColor(sub_palette, + QtGui.QPalette.ColorRole(role), self._color(color)) + elif color.tag == 'colorrole': + role = getattr(QtGui.QPalette, color.get('role')) + brush = self._brush(color[0]) + palette.setBrush(sub_palette, role, brush) + else: + raise UnsupportedPropertyError(color.tag) + + return palette + + def _brush(self, prop): + brushstyle = prop.get('brushstyle') + + if brushstyle in ('LinearGradientPattern', 'ConicalGradientPattern', 'RadialGradientPattern'): + gradient = self._gradient(prop[0]) + brush = self.factory.createQObject("QBrush", "brush", (gradient, ), + is_attribute=False) + else: + color = self._color(prop[0]) + brush = self.factory.createQObject("QBrush", "brush", (color, ), + is_attribute=False) + + brushstyle = getattr(QtCore.Qt, brushstyle) + brush.setStyle(brushstyle) + + return brush + + #@needsWidget + def _sizepolicy(self, prop, widget): + values = [int(child.text) for child in prop] + + if len(values) == 2: + # Qt v4.3.0 and later. + horstretch, verstretch = values + hsizetype = getattr(QtWidgets.QSizePolicy, prop.get('hsizetype')) + vsizetype = getattr(QtWidgets.QSizePolicy, prop.get('vsizetype')) + else: + hsizetype, vsizetype, horstretch, verstretch = values + hsizetype = QtWidgets.QSizePolicy.Policy(hsizetype) + vsizetype = QtWidgets.QSizePolicy.Policy(vsizetype) + + sizePolicy = self.factory.createQObject('QSizePolicy', 'sizePolicy', + (hsizetype, vsizetype), is_attribute=False) + sizePolicy.setHorizontalStretch(horstretch) + sizePolicy.setVerticalStretch(verstretch) + sizePolicy.setHeightForWidth(widget.sizePolicy().hasHeightForWidth()) + return sizePolicy + _sizepolicy = needsWidget(_sizepolicy) + + # font needs special handling/conversion of all child elements. + _font_attributes = (("Family", lambda s: s), + ("PointSize", int), + ("Bold", bool_), + ("Italic", bool_), + ("Underline", bool_), + ("Weight", int), + ("StrikeOut", bool_), + ("Kerning", bool_), + ("StyleStrategy", qfont_enum)) + + def _font(self, prop): + newfont = self.factory.createQObject("QFont", "font", (), + is_attribute = False) + for attr, converter in self._font_attributes: + v = prop.findtext("./%s" % (attr.lower(),)) + if v is None: + continue + + getattr(newfont, "set%s" % (attr,))(converter(v)) + return newfont + + def _cursor(self, prop): + return QtGui.QCursor(QtCore.Qt.CursorShape(int(prop.text))) + + def _cursorShape(self, prop): + return QtGui.QCursor(getattr(QtCore.Qt, prop.text)) + + def convert(self, prop, widget=None): + try: + func = getattr(self, "_" + prop[0].tag) + except AttributeError: + raise UnsupportedPropertyError(prop[0].tag) + else: + args = {} + if getattr(func, "needsWidget", False): + assert widget is not None + args["widget"] = widget + + return func(prop[0], **args) + + + def _getChild(self, elem_tag, elem, name, default=None): + for prop in elem.findall(elem_tag): + if prop.attrib["name"] == name: + return self.convert(prop) + else: + return default + + def getProperty(self, elem, name, default=None): + return self._getChild("property", elem, name, default) + + def getAttribute(self, elem, name, default=None): + return self._getChild("attribute", elem, name, default) + + def setProperties(self, widget, elem): + # Lines are sunken unless the frame shadow is explicitly set. + set_sunken = (elem.attrib.get('class') == 'Line') + + for prop in elem.findall('property'): + prop_name = prop.attrib['name'] + DEBUG("setting property %s" % (prop_name,)) + + if prop_name == 'frameShadow': + set_sunken = False + + try: + stdset = bool(int(prop.attrib['stdset'])) + except KeyError: + stdset = True + + if not stdset: + self._setViaSetProperty(widget, prop) + elif hasattr(self, prop_name): + getattr(self, prop_name)(widget, prop) + else: + prop_value = self.convert(prop, widget) + if prop_value is not None: + getattr(widget, 'set%s%s' % (ascii_upper(prop_name[0]), prop_name[1:]))(prop_value) + + if set_sunken: + widget.setFrameShadow(QtWidgets.QFrame.Sunken) + + # SPECIAL PROPERTIES + # If a property has a well-known value type but needs special, + # context-dependent handling, the default behaviour can be overridden here. + + # Delayed properties will be set after the whole widget tree has been + # populated. + def _delayed_property(self, widget, prop): + prop_value = self.convert(prop) + if prop_value is not None: + prop_name = prop.attrib["name"] + self.delayed_props.append((widget, False, + 'set%s%s' % (ascii_upper(prop_name[0]), prop_name[1:]), + prop_value)) + + # These properties will be set with a widget.setProperty call rather than + # calling the set function. + def _setViaSetProperty(self, widget, prop): + prop_value = self.convert(prop, widget) + if prop_value is not None: + prop_name = prop.attrib['name'] + + # This appears to be a Designer/uic hack where stdset=0 means that + # the viewport should be used. + if prop[0].tag == 'cursorShape': + widget.viewport().setProperty(prop_name, prop_value) + else: + widget.setProperty(prop_name, prop_value) + + # Ignore the property. + def _ignore(self, widget, prop): + pass + + # Define properties that use the canned handlers. + currentIndex = _delayed_property + currentRow = _delayed_property + + showDropIndicator = _setViaSetProperty + intValue = _setViaSetProperty + value = _setViaSetProperty + + objectName = _ignore + margin = _ignore + leftMargin = _ignore + topMargin = _ignore + rightMargin = _ignore + bottomMargin = _ignore + spacing = _ignore + horizontalSpacing = _ignore + verticalSpacing = _ignore + + # tabSpacing is actually the spacing property of the widget's layout. + def tabSpacing(self, widget, prop): + prop_value = self.convert(prop) + if prop_value is not None: + self.delayed_props.append((widget, True, 'setSpacing', prop_value)) + + # buddy setting has to be done after the whole widget tree has been + # populated. We can't use delay here because we cannot get the actual + # buddy yet. + def buddy(self, widget, prop): + buddy_name = prop[0].text + if buddy_name: + self.buddies.append((widget, buddy_name)) + + # geometry is handled specially if set on the toplevel widget. + def geometry(self, widget, prop): + if widget.objectName() == self.uiname: + geom = int_list(prop[0]) + widget.resize(geom[2], geom[3]) + else: + widget.setGeometry(self._rect(prop[0])) + + def orientation(self, widget, prop): + # If the class is a QFrame, it's a line. + if widget.metaObject().className() == 'QFrame': + widget.setFrameShape( + {'Qt::Horizontal': QtWidgets.QFrame.HLine, + 'Qt::Vertical' : QtWidgets.QFrame.VLine}[prop[0].text]) + else: + widget.setOrientation(self._enum(prop[0])) + + # The isWrapping attribute of QListView is named inconsistently, it should + # be wrapping. + def isWrapping(self, widget, prop): + widget.setWrapping(self.convert(prop)) + + # This is a pseudo-property injected to deal with margins. + def pyuicMargins(self, widget, prop): + widget.setContentsMargins(*int_list(prop)) + + # This is a pseudo-property injected to deal with spacing. + def pyuicSpacing(self, widget, prop): + horiz, vert = int_list(prop) + + if horiz == vert: + widget.setSpacing(horiz) + else: + if horiz >= 0: + widget.setHorizontalSpacing(horiz) + + if vert >= 0: + widget.setVerticalSpacing(vert) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/pyuic.py b/OTHERS/Jarvis/ools/PyQt5/uic/pyuic.py new file mode 100644 index 00000000..9e68aff7 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/pyuic.py @@ -0,0 +1,96 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +import sys +import optparse + +from PyQt5 import QtCore + +from .driver import Driver +from .exceptions import NoSuchClassError, NoSuchWidgetError + + +Version = "Python User Interface Compiler %s for Qt version %s" % (QtCore.PYQT_VERSION_STR, QtCore.QT_VERSION_STR) + + +def main(): + parser = optparse.OptionParser(usage="pyuic5 [options] ", + version=Version) + parser.add_option("-p", "--preview", dest="preview", action="store_true", + default=False, + help="show a preview of the UI instead of generating code") + parser.add_option("-o", "--output", dest="output", default="-", + metavar="FILE", + help="write generated code to FILE instead of stdout") + parser.add_option("-x", "--execute", dest="execute", action="store_true", + default=False, + help="generate extra code to test and display the class") + parser.add_option("-d", "--debug", dest="debug", action="store_true", + default=False, help="show debug output") + parser.add_option("-i", "--indent", dest="indent", action="store", + type="int", default=4, metavar="N", + help="set indent width to N spaces, tab if N is 0 [default: 4]") + + g = optparse.OptionGroup(parser, title="Code generation options") + g.add_option("--import-from", dest="import_from", metavar="PACKAGE", + help="generate imports of pyrcc5 generated modules in the style 'from PACKAGE import ...'") + g.add_option("--from-imports", dest="from_imports", action="store_true", + default=False, help="the equivalent of '--import-from=.'") + g.add_option("--resource-suffix", dest="resource_suffix", action="store", + type="string", default="_rc", metavar="SUFFIX", + help="append SUFFIX to the basename of resource files [default: _rc]") + parser.add_option_group(g) + + opts, args = parser.parse_args() + + if len(args) != 1: + sys.stderr.write("Error: one input ui-file must be specified\n") + sys.exit(1) + + # Invoke the appropriate driver. + driver = Driver(opts, args[0]) + + exit_status = 1 + + try: + exit_status = driver.invoke() + + except IOError as e: + driver.on_IOError(e) + + except SyntaxError as e: + driver.on_SyntaxError(e) + + except NoSuchClassError as e: + driver.on_NoSuchClassError(e) + + except NoSuchWidgetError as e: + driver.on_NoSuchWidgetError(e) + + except Exception as e: + driver.on_Exception(e) + + sys.exit(exit_status) + + +if __name__ == '__main__': + main() diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/uiparser.py b/OTHERS/Jarvis/ools/PyQt5/uic/uiparser.py new file mode 100644 index 00000000..5e250dcb --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/uiparser.py @@ -0,0 +1,1052 @@ +############################################################################# +## +## Copyright (C) 2019 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +import sys +import logging +import os +import re +from xml.etree.ElementTree import parse, SubElement + +from .objcreator import QObjectCreator +from .properties import Properties + + +logger = logging.getLogger(__name__) +DEBUG = logger.debug + +QtCore = None +QtWidgets = None + + +def _parse_alignment(alignment): + """ Convert a C++ alignment to the corresponding flags. """ + + align_flags = None + for qt_align in alignment.split('|'): + _, qt_align = qt_align.split('::') + align = getattr(QtCore.Qt, qt_align) + + if align_flags is None: + align_flags = align + else: + align_flags |= align + + return align_flags + + +def _layout_position(elem): + """ Return either (), (0, alignment), (row, column, rowspan, colspan) or + (row, column, rowspan, colspan, alignment) depending on the type of layout + and its configuration. The result will be suitable to use as arguments to + the layout. + """ + + row = elem.attrib.get('row') + column = elem.attrib.get('column') + alignment = elem.attrib.get('alignment') + + # See if it is a box layout. + if row is None or column is None: + if alignment is None: + return () + + return (0, _parse_alignment(alignment)) + + # It must be a grid or a form layout. + row = int(row) + column = int(column) + + rowspan = int(elem.attrib.get('rowspan', 1)) + colspan = int(elem.attrib.get('colspan', 1)) + + if alignment is None: + return (row, column, rowspan, colspan) + + return (row, column, rowspan, colspan, _parse_alignment(alignment)) + + +class WidgetStack(list): + topwidget = None + def push(self, item): + DEBUG("push %s %s" % (item.metaObject().className(), + item.objectName())) + self.append(item) + if isinstance(item, QtWidgets.QWidget): + self.topwidget = item + + def popLayout(self): + layout = list.pop(self) + DEBUG("pop layout %s %s" % (layout.metaObject().className(), + layout.objectName())) + return layout + + def popWidget(self): + widget = list.pop(self) + DEBUG("pop widget %s %s" % (widget.metaObject().className(), + widget.objectName())) + for item in reversed(self): + if isinstance(item, QtWidgets.QWidget): + self.topwidget = item + break + else: + self.topwidget = None + DEBUG("new topwidget %s" % (self.topwidget,)) + return widget + + def peek(self): + return self[-1] + + def topIsLayout(self): + return isinstance(self[-1], QtWidgets.QLayout) + + def topIsLayoutWidget(self): + # A plain QWidget is a layout widget unless it's parent is a + # QMainWindow or a container widget. Note that the corresponding uic + # test is a little more complicated as it involves features not + # supported by pyuic. + + if type(self[-1]) is not QtWidgets.QWidget: + return False + + if len(self) < 2: + return False + + parent = self[-2] + + return isinstance(parent, QtWidgets.QWidget) and type(parent) not in ( + QtWidgets.QMainWindow, + QtWidgets.QStackedWidget, + QtWidgets.QToolBox, + QtWidgets.QTabWidget, + QtWidgets.QScrollArea, + QtWidgets.QMdiArea, + QtWidgets.QWizard, + QtWidgets.QDockWidget) + + +class ButtonGroup(object): + """ Encapsulate the configuration of a button group and its implementation. + """ + + def __init__(self): + """ Initialise the button group. """ + + self.exclusive = True + self.object = None + + +class UIParser(object): + def __init__(self, qtcore_module, qtgui_module, qtwidgets_module, creatorPolicy): + self.factory = QObjectCreator(creatorPolicy) + self.wprops = Properties(self.factory, qtcore_module, qtgui_module, + qtwidgets_module) + + global QtCore, QtWidgets + QtCore = qtcore_module + QtWidgets = qtwidgets_module + + self.reset() + + def uniqueName(self, name): + """UIParser.uniqueName(string) -> string + + Create a unique name from a string. + >>> p = UIParser(QtCore, QtGui, QtWidgets) + >>> p.uniqueName("foo") + 'foo' + >>> p.uniqueName("foo") + 'foo1' + """ + try: + suffix = self.name_suffixes[name] + except KeyError: + self.name_suffixes[name] = 0 + return name + + suffix += 1 + self.name_suffixes[name] = suffix + + return "%s%i" % (name, suffix) + + def reset(self): + try: self.wprops.reset() + except AttributeError: pass + self.toplevelWidget = None + self.stack = WidgetStack() + self.name_suffixes = {} + self.defaults = {'spacing': -1, 'margin': -1} + self.actions = [] + self.currentActionGroup = None + self.resources = [] + self.button_groups = {} + + def setupObject(self, clsname, parent, branch, is_attribute=True): + name = self.uniqueName(branch.attrib.get('name') or clsname[1:].lower()) + + if parent is None: + args = () + else: + args = (parent, ) + + obj = self.factory.createQObject(clsname, name, args, is_attribute) + + self.wprops.setProperties(obj, branch) + obj.setObjectName(name) + + if is_attribute: + setattr(self.toplevelWidget, name, obj) + + return obj + + def getProperty(self, elem, name): + for prop in elem.findall('property'): + if prop.attrib['name'] == name: + return prop + + return None + + def createWidget(self, elem): + self.column_counter = 0 + self.row_counter = 0 + self.item_nr = 0 + self.itemstack = [] + self.sorting_enabled = None + + widget_class = elem.attrib['class'].replace('::', '.') + if widget_class == 'Line': + widget_class = 'QFrame' + + # Ignore the parent if it is a container. + parent = self.stack.topwidget + if isinstance(parent, (QtWidgets.QDockWidget, QtWidgets.QMdiArea, + QtWidgets.QScrollArea, QtWidgets.QStackedWidget, + QtWidgets.QToolBox, QtWidgets.QTabWidget, + QtWidgets.QWizard)): + parent = None + + self.stack.push(self.setupObject(widget_class, parent, elem)) + + if isinstance(self.stack.topwidget, QtWidgets.QTableWidget): + if self.getProperty(elem, 'columnCount') is None: + self.stack.topwidget.setColumnCount(len(elem.findall("column"))) + + if self.getProperty(elem, 'rowCount') is None: + self.stack.topwidget.setRowCount(len(elem.findall("row"))) + + self.traverseWidgetTree(elem) + widget = self.stack.popWidget() + + if isinstance(widget, QtWidgets.QTreeView): + self.handleHeaderView(elem, "header", widget.header()) + + elif isinstance(widget, QtWidgets.QTableView): + self.handleHeaderView(elem, "horizontalHeader", + widget.horizontalHeader()) + self.handleHeaderView(elem, "verticalHeader", + widget.verticalHeader()) + + elif isinstance(widget, QtWidgets.QAbstractButton): + bg_i18n = self.wprops.getAttribute(elem, "buttonGroup") + if bg_i18n is not None: + # This should be handled properly in case the problem arises + # elsewhere as well. + try: + # We are compiling the .ui file. + bg_name = bg_i18n.string + except AttributeError: + # We are loading the .ui file. + bg_name = bg_i18n + + # Designer allows the creation of .ui files without explicit + # button groups, even though uic then issues warnings. We + # handle it in two stages by first making sure it has a name + # and then making sure one exists with that name. + if not bg_name: + bg_name = 'buttonGroup' + + try: + bg = self.button_groups[bg_name] + except KeyError: + bg = self.button_groups[bg_name] = ButtonGroup() + + if bg.object is None: + bg.object = self.factory.createQObject("QButtonGroup", + bg_name, (self.toplevelWidget, )) + setattr(self.toplevelWidget, bg_name, bg.object) + + bg.object.setObjectName(bg_name) + + if not bg.exclusive: + bg.object.setExclusive(False) + + bg.object.addButton(widget) + + if self.sorting_enabled is not None: + widget.setSortingEnabled(self.sorting_enabled) + self.sorting_enabled = None + + if self.stack.topIsLayout(): + lay = self.stack.peek() + lp = elem.attrib['layout-position'] + + if isinstance(lay, QtWidgets.QFormLayout): + lay.setWidget(lp[0], self._form_layout_role(lp), widget) + else: + lay.addWidget(widget, *lp) + + topwidget = self.stack.topwidget + + if isinstance(topwidget, QtWidgets.QToolBox): + icon = self.wprops.getAttribute(elem, "icon") + if icon is not None: + topwidget.addItem(widget, icon, self.wprops.getAttribute(elem, "label")) + else: + topwidget.addItem(widget, self.wprops.getAttribute(elem, "label")) + + tooltip = self.wprops.getAttribute(elem, "toolTip") + if tooltip is not None: + topwidget.setItemToolTip(topwidget.indexOf(widget), tooltip) + + elif isinstance(topwidget, QtWidgets.QTabWidget): + icon = self.wprops.getAttribute(elem, "icon") + if icon is not None: + topwidget.addTab(widget, icon, self.wprops.getAttribute(elem, "title")) + else: + topwidget.addTab(widget, self.wprops.getAttribute(elem, "title")) + + tooltip = self.wprops.getAttribute(elem, "toolTip") + if tooltip is not None: + topwidget.setTabToolTip(topwidget.indexOf(widget), tooltip) + + elif isinstance(topwidget, QtWidgets.QWizard): + topwidget.addPage(widget) + + elif isinstance(topwidget, QtWidgets.QStackedWidget): + topwidget.addWidget(widget) + + elif isinstance(topwidget, (QtWidgets.QDockWidget, QtWidgets.QScrollArea)): + topwidget.setWidget(widget) + + elif isinstance(topwidget, QtWidgets.QMainWindow): + if type(widget) == QtWidgets.QWidget: + topwidget.setCentralWidget(widget) + elif isinstance(widget, QtWidgets.QToolBar): + tbArea = self.wprops.getAttribute(elem, "toolBarArea") + + if tbArea is None: + topwidget.addToolBar(widget) + else: + topwidget.addToolBar(tbArea, widget) + + tbBreak = self.wprops.getAttribute(elem, "toolBarBreak") + + if tbBreak: + topwidget.insertToolBarBreak(widget) + + elif isinstance(widget, QtWidgets.QMenuBar): + topwidget.setMenuBar(widget) + elif isinstance(widget, QtWidgets.QStatusBar): + topwidget.setStatusBar(widget) + elif isinstance(widget, QtWidgets.QDockWidget): + dwArea = self.wprops.getAttribute(elem, "dockWidgetArea") + topwidget.addDockWidget(QtCore.Qt.DockWidgetArea(dwArea), + widget) + + def handleHeaderView(self, elem, name, header): + value = self.wprops.getAttribute(elem, name + "Visible") + if value is not None: + header.setVisible(value) + + value = self.wprops.getAttribute(elem, name + "CascadingSectionResizes") + if value is not None: + header.setCascadingSectionResizes(value) + + value = self.wprops.getAttribute(elem, name + "DefaultSectionSize") + if value is not None: + header.setDefaultSectionSize(value) + + value = self.wprops.getAttribute(elem, name + "HighlightSections") + if value is not None: + header.setHighlightSections(value) + + value = self.wprops.getAttribute(elem, name + "MinimumSectionSize") + if value is not None: + header.setMinimumSectionSize(value) + + value = self.wprops.getAttribute(elem, name + "ShowSortIndicator") + if value is not None: + header.setSortIndicatorShown(value) + + value = self.wprops.getAttribute(elem, name + "StretchLastSection") + if value is not None: + header.setStretchLastSection(value) + + def createSpacer(self, elem): + width = elem.findtext("property/size/width") + height = elem.findtext("property/size/height") + + if width is None or height is None: + size_args = () + else: + size_args = (int(width), int(height)) + + sizeType = self.wprops.getProperty(elem, "sizeType", + QtWidgets.QSizePolicy.Expanding) + + policy = (QtWidgets.QSizePolicy.Minimum, sizeType) + + if self.wprops.getProperty(elem, "orientation") == QtCore.Qt.Horizontal: + policy = policy[1], policy[0] + + spacer = self.factory.createQObject("QSpacerItem", + self.uniqueName("spacerItem"), size_args + policy, + is_attribute=False) + + if self.stack.topIsLayout(): + lay = self.stack.peek() + lp = elem.attrib['layout-position'] + + if isinstance(lay, QtWidgets.QFormLayout): + lay.setItem(lp[0], self._form_layout_role(lp), spacer) + else: + lay.addItem(spacer, *lp) + + def createLayout(self, elem): + # We use an internal property to handle margins which will use separate + # left, top, right and bottom margins if they are found to be + # different. The following will select, in order of preference, + # separate margins, the same margin in all directions, and the default + # margin. + margin = -1 if self.stack.topIsLayout() else self.defaults['margin'] + margin = self.wprops.getProperty(elem, 'margin', margin) + left = self.wprops.getProperty(elem, 'leftMargin', margin) + top = self.wprops.getProperty(elem, 'topMargin', margin) + right = self.wprops.getProperty(elem, 'rightMargin', margin) + bottom = self.wprops.getProperty(elem, 'bottomMargin', margin) + + # A layout widget should, by default, have no margins. + if self.stack.topIsLayoutWidget(): + if left < 0: left = 0 + if top < 0: top = 0 + if right < 0: right = 0 + if bottom < 0: bottom = 0 + + if left >= 0 or top >= 0 or right >= 0 or bottom >= 0: + # We inject the new internal property. + cme = SubElement(elem, 'property', name='pyuicMargins') + SubElement(cme, 'number').text = str(left) + SubElement(cme, 'number').text = str(top) + SubElement(cme, 'number').text = str(right) + SubElement(cme, 'number').text = str(bottom) + + # We use an internal property to handle spacing which will use separate + # horizontal and vertical spacing if they are found to be different. + # The following will select, in order of preference, separate + # horizontal and vertical spacing, the same spacing in both directions, + # and the default spacing. + spacing = self.wprops.getProperty(elem, 'spacing', + self.defaults['spacing']) + horiz = self.wprops.getProperty(elem, 'horizontalSpacing', spacing) + vert = self.wprops.getProperty(elem, 'verticalSpacing', spacing) + + if horiz >= 0 or vert >= 0: + # We inject the new internal property. + cme = SubElement(elem, 'property', name='pyuicSpacing') + SubElement(cme, 'number').text = str(horiz) + SubElement(cme, 'number').text = str(vert) + + classname = elem.attrib["class"] + if self.stack.topIsLayout(): + parent = None + else: + parent = self.stack.topwidget + if "name" not in elem.attrib: + elem.attrib["name"] = classname[1:].lower() + self.stack.push(self.setupObject(classname, parent, elem)) + self.traverseWidgetTree(elem) + + layout = self.stack.popLayout() + self.configureLayout(elem, layout) + + if self.stack.topIsLayout(): + top_layout = self.stack.peek() + lp = elem.attrib['layout-position'] + + if isinstance(top_layout, QtWidgets.QFormLayout): + top_layout.setLayout(lp[0], self._form_layout_role(lp), layout) + else: + top_layout.addLayout(layout, *lp) + + def configureLayout(self, elem, layout): + if isinstance(layout, QtWidgets.QGridLayout): + self.setArray(elem, 'columnminimumwidth', + layout.setColumnMinimumWidth) + self.setArray(elem, 'rowminimumheight', + layout.setRowMinimumHeight) + self.setArray(elem, 'columnstretch', layout.setColumnStretch) + self.setArray(elem, 'rowstretch', layout.setRowStretch) + + elif isinstance(layout, QtWidgets.QBoxLayout): + self.setArray(elem, 'stretch', layout.setStretch) + + def setArray(self, elem, name, setter): + array = elem.attrib.get(name) + if array: + for idx, value in enumerate(array.split(',')): + value = int(value) + if value > 0: + setter(idx, value) + + def disableSorting(self, w): + if self.item_nr == 0: + self.sorting_enabled = self.factory.invoke("__sortingEnabled", + w.isSortingEnabled) + w.setSortingEnabled(False) + + def handleItem(self, elem): + if self.stack.topIsLayout(): + elem[0].attrib['layout-position'] = _layout_position(elem) + self.traverseWidgetTree(elem) + else: + w = self.stack.topwidget + + if isinstance(w, QtWidgets.QComboBox): + text = self.wprops.getProperty(elem, "text") + icon = self.wprops.getProperty(elem, "icon") + + if icon: + w.addItem(icon, '') + else: + w.addItem('') + + w.setItemText(self.item_nr, text) + + elif isinstance(w, QtWidgets.QListWidget): + self.disableSorting(w) + item = self.createWidgetItem('QListWidgetItem', elem, w.item, + self.item_nr) + w.addItem(item) + + elif isinstance(w, QtWidgets.QTreeWidget): + if self.itemstack: + parent, _ = self.itemstack[-1] + _, nr_in_root = self.itemstack[0] + else: + parent = w + nr_in_root = self.item_nr + + item = self.factory.createQObject("QTreeWidgetItem", + "item_%d" % len(self.itemstack), (parent, ), False) + + if self.item_nr == 0 and not self.itemstack: + self.sorting_enabled = self.factory.invoke("__sortingEnabled", w.isSortingEnabled) + w.setSortingEnabled(False) + + self.itemstack.append((item, self.item_nr)) + self.item_nr = 0 + + # We have to access the item via the tree when setting the + # text. + titm = w.topLevelItem(nr_in_root) + for child, nr_in_parent in self.itemstack[1:]: + titm = titm.child(nr_in_parent) + + column = -1 + for prop in elem.findall('property'): + c_prop = self.wprops.convert(prop) + c_prop_name = prop.attrib['name'] + + if c_prop_name == 'text': + column += 1 + if c_prop: + titm.setText(column, c_prop) + elif c_prop_name == 'statusTip': + item.setStatusTip(column, c_prop) + elif c_prop_name == 'toolTip': + item.setToolTip(column, c_prop) + elif c_prop_name == 'whatsThis': + item.setWhatsThis(column, c_prop) + elif c_prop_name == 'font': + item.setFont(column, c_prop) + elif c_prop_name == 'icon': + item.setIcon(column, c_prop) + elif c_prop_name == 'background': + item.setBackground(column, c_prop) + elif c_prop_name == 'foreground': + item.setForeground(column, c_prop) + elif c_prop_name == 'flags': + item.setFlags(c_prop) + elif c_prop_name == 'checkState': + item.setCheckState(column, c_prop) + + self.traverseWidgetTree(elem) + _, self.item_nr = self.itemstack.pop() + + elif isinstance(w, QtWidgets.QTableWidget): + row = int(elem.attrib['row']) + col = int(elem.attrib['column']) + + self.disableSorting(w) + item = self.createWidgetItem('QTableWidgetItem', elem, w.item, + row, col) + w.setItem(row, col, item) + + self.item_nr += 1 + + def addAction(self, elem): + self.actions.append((self.stack.topwidget, elem.attrib["name"])) + + @staticmethod + def any_i18n(*args): + """ Return True if any argument appears to be an i18n string. """ + + for a in args: + if a is not None and not isinstance(a, str): + return True + + return False + + def createWidgetItem(self, item_type, elem, getter, *getter_args): + """ Create a specific type of widget item. """ + + item = self.factory.createQObject(item_type, "item", (), False) + props = self.wprops + + # Note that not all types of widget items support the full set of + # properties. + + text = props.getProperty(elem, 'text') + status_tip = props.getProperty(elem, 'statusTip') + tool_tip = props.getProperty(elem, 'toolTip') + whats_this = props.getProperty(elem, 'whatsThis') + + if self.any_i18n(text, status_tip, tool_tip, whats_this): + self.factory.invoke("item", getter, getter_args) + + if text: + item.setText(text) + + if status_tip: + item.setStatusTip(status_tip) + + if tool_tip: + item.setToolTip(tool_tip) + + if whats_this: + item.setWhatsThis(whats_this) + + text_alignment = props.getProperty(elem, 'textAlignment') + if text_alignment: + item.setTextAlignment(text_alignment) + + font = props.getProperty(elem, 'font') + if font: + item.setFont(font) + + icon = props.getProperty(elem, 'icon') + if icon: + item.setIcon(icon) + + background = props.getProperty(elem, 'background') + if background: + item.setBackground(background) + + foreground = props.getProperty(elem, 'foreground') + if foreground: + item.setForeground(foreground) + + flags = props.getProperty(elem, 'flags') + if flags: + item.setFlags(flags) + + check_state = props.getProperty(elem, 'checkState') + if check_state: + item.setCheckState(check_state) + + return item + + def addHeader(self, elem): + w = self.stack.topwidget + + if isinstance(w, QtWidgets.QTreeWidget): + props = self.wprops + col = self.column_counter + + text = props.getProperty(elem, 'text') + if text: + w.headerItem().setText(col, text) + + status_tip = props.getProperty(elem, 'statusTip') + if status_tip: + w.headerItem().setStatusTip(col, status_tip) + + tool_tip = props.getProperty(elem, 'toolTip') + if tool_tip: + w.headerItem().setToolTip(col, tool_tip) + + whats_this = props.getProperty(elem, 'whatsThis') + if whats_this: + w.headerItem().setWhatsThis(col, whats_this) + + text_alignment = props.getProperty(elem, 'textAlignment') + if text_alignment: + w.headerItem().setTextAlignment(col, text_alignment) + + font = props.getProperty(elem, 'font') + if font: + w.headerItem().setFont(col, font) + + icon = props.getProperty(elem, 'icon') + if icon: + w.headerItem().setIcon(col, icon) + + background = props.getProperty(elem, 'background') + if background: + w.headerItem().setBackground(col, background) + + foreground = props.getProperty(elem, 'foreground') + if foreground: + w.headerItem().setForeground(col, foreground) + + self.column_counter += 1 + + elif isinstance(w, QtWidgets.QTableWidget): + if len(elem) != 0: + if elem.tag == 'column': + item = self.createWidgetItem('QTableWidgetItem', elem, + w.horizontalHeaderItem, self.column_counter) + w.setHorizontalHeaderItem(self.column_counter, item) + self.column_counter += 1 + elif elem.tag == 'row': + item = self.createWidgetItem('QTableWidgetItem', elem, + w.verticalHeaderItem, self.row_counter) + w.setVerticalHeaderItem(self.row_counter, item) + self.row_counter += 1 + + def setZOrder(self, elem): + # Designer can generate empty zorder elements. + if elem.text is None: + return + + # Designer allows the z-order of spacer items to be specified even + # though they can't be raised, so ignore any missing raise_() method. + try: + getattr(self.toplevelWidget, elem.text).raise_() + except AttributeError: + # Note that uic issues a warning message. + pass + + def createAction(self, elem): + self.setupObject("QAction", self.currentActionGroup or self.toplevelWidget, + elem) + + def createActionGroup(self, elem): + action_group = self.setupObject("QActionGroup", self.toplevelWidget, elem) + self.currentActionGroup = action_group + self.traverseWidgetTree(elem) + self.currentActionGroup = None + + widgetTreeItemHandlers = { + "widget" : createWidget, + "addaction" : addAction, + "layout" : createLayout, + "spacer" : createSpacer, + "item" : handleItem, + "action" : createAction, + "actiongroup": createActionGroup, + "column" : addHeader, + "row" : addHeader, + "zorder" : setZOrder, + } + + def traverseWidgetTree(self, elem): + for child in iter(elem): + try: + handler = self.widgetTreeItemHandlers[child.tag] + except KeyError: + continue + + handler(self, child) + + def createUserInterface(self, elem): + # Get the names of the class and widget. + cname = elem.attrib["class"] + wname = elem.attrib["name"] + + # If there was no widget name then derive it from the class name. + if not wname: + wname = cname + + if wname.startswith("Q"): + wname = wname[1:] + + wname = wname[0].lower() + wname[1:] + + self.toplevelWidget = self.createToplevelWidget(cname, wname) + self.toplevelWidget.setObjectName(wname) + DEBUG("toplevel widget is %s", + self.toplevelWidget.metaObject().className()) + self.wprops.setProperties(self.toplevelWidget, elem) + self.stack.push(self.toplevelWidget) + self.traverseWidgetTree(elem) + self.stack.popWidget() + self.addActions() + self.setBuddies() + self.setDelayedProps() + + def addActions(self): + for widget, action_name in self.actions: + if action_name == "separator": + widget.addSeparator() + else: + DEBUG("add action %s to %s", action_name, widget.objectName()) + action_obj = getattr(self.toplevelWidget, action_name) + if isinstance(action_obj, QtWidgets.QMenu): + widget.addAction(action_obj.menuAction()) + elif not isinstance(action_obj, QtWidgets.QActionGroup): + widget.addAction(action_obj) + + def setDelayedProps(self): + for widget, layout, setter, args in self.wprops.delayed_props: + if layout: + widget = widget.layout() + + setter = getattr(widget, setter) + setter(args) + + def setBuddies(self): + for widget, buddy in self.wprops.buddies: + DEBUG("%s is buddy of %s", buddy, widget.objectName()) + try: + widget.setBuddy(getattr(self.toplevelWidget, buddy)) + except AttributeError: + DEBUG("ERROR in ui spec: %s (buddy of %s) does not exist", + buddy, widget.objectName()) + + def classname(self, elem): + DEBUG("uiname is %s", elem.text) + name = elem.text + + if name is None: + name = "" + + self.uiname = name + self.wprops.uiname = name + self.setContext(name) + + def setContext(self, context): + """ + Reimplemented by a sub-class if it needs to know the translation + context. + """ + pass + + def readDefaults(self, elem): + self.defaults['margin'] = int(elem.attrib['margin']) + self.defaults['spacing'] = int(elem.attrib['spacing']) + + def setTaborder(self, elem): + lastwidget = None + for widget_elem in elem: + widget = getattr(self.toplevelWidget, widget_elem.text) + + if lastwidget is not None: + self.toplevelWidget.setTabOrder(lastwidget, widget) + + lastwidget = widget + + def readResources(self, elem): + """ + Read a "resources" tag and add the module to import to the parser's + list of them. + """ + try: + iterator = getattr(elem, 'iter') + except AttributeError: + iterator = getattr(elem, 'getiterator') + + for include in iterator("include"): + loc = include.attrib.get("location") + + # Apply the convention for naming the Python files generated by + # pyrcc5. + if loc and loc.endswith('.qrc'): + mname = os.path.basename(loc[:-4] + self._resource_suffix) + if mname not in self.resources: + self.resources.append(mname) + + def createConnections(self, elem): + def name2object(obj): + if obj == self.uiname: + return self.toplevelWidget + else: + return getattr(self.toplevelWidget, obj) + + for conn in iter(elem): + signal = conn.findtext('signal') + signal_name, signal_args = signal.split('(') + signal_args = signal_args[:-1].replace(' ', '') + sender = name2object(conn.findtext('sender')) + bound_signal = getattr(sender, signal_name) + + slot = self.factory.getSlot(name2object(conn.findtext('receiver')), + conn.findtext('slot').split('(')[0]) + + if signal_args == '': + bound_signal.connect(slot) + else: + signal_args = signal_args.split(',') + + if len(signal_args) == 1: + bound_signal[signal_args[0]].connect(slot) + else: + bound_signal[tuple(signal_args)].connect(slot) + + QtCore.QMetaObject.connectSlotsByName(self.toplevelWidget) + + def customWidgets(self, elem): + def header2module(header): + """header2module(header) -> string + + Convert paths to C++ header files to according Python modules + >>> header2module("foo/bar/baz.h") + 'foo.bar.baz' + """ + if header.endswith(".h"): + header = header[:-2] + + mpath = [] + for part in header.split('/'): + # Ignore any empty parts or those that refer to the current + # directory. + if part not in ('', '.'): + if part == '..': + # We should allow this for Python3. + raise SyntaxError("custom widget header file name may not contain '..'.") + + mpath.append(part) + + return '.'.join(mpath) + + for custom_widget in iter(elem): + classname = custom_widget.findtext("class") + self.factory.addCustomWidget(classname, + custom_widget.findtext("extends") or "QWidget", + header2module(custom_widget.findtext("header"))) + + def createToplevelWidget(self, classname, widgetname): + raise NotImplementedError + + def buttonGroups(self, elem): + for button_group in iter(elem): + if button_group.tag == 'buttongroup': + bg_name = button_group.attrib['name'] + bg = ButtonGroup() + self.button_groups[bg_name] = bg + + prop = self.getProperty(button_group, 'exclusive') + if prop is not None: + if prop.findtext('bool') == 'false': + bg.exclusive = False + + # finalize will be called after the whole tree has been parsed and can be + # overridden. + def finalize(self): + pass + + def parse(self, filename, resource_suffix): + if hasattr(filename, 'read'): + base_dir = '' + else: + # Allow the filename to be a QString. + filename = str(filename) + base_dir = os.path.dirname(filename) + + self.wprops.set_base_dir(base_dir) + + self._resource_suffix = resource_suffix + + # The order in which the different branches are handled is important. + # The widget tree handler relies on all custom widgets being known, and + # in order to create the connections, all widgets have to be populated. + branchHandlers = ( + ("layoutdefault", self.readDefaults), + ("class", self.classname), + ("buttongroups", self.buttonGroups), + ("customwidgets", self.customWidgets), + ("widget", self.createUserInterface), + ("connections", self.createConnections), + ("tabstops", self.setTaborder), + ("resources", self.readResources), + ) + + document = parse(filename) + root = document.getroot() + + if root.tag != 'ui': + raise SyntaxError("not created by Qt Designer") + + version = root.attrib.get('version') + if version is None: + raise SyntaxError("missing version number") + + # Right now, only version 4.0 is supported. + if version != '4.0': + raise SyntaxError("only Qt Designer files v4.0 are supported") + + for tagname, actor in branchHandlers: + elem = document.find(tagname) + if elem is not None: + actor(elem) + self.finalize() + w = self.toplevelWidget + self.reset() + return w + + @staticmethod + def _form_layout_role(layout_position): + if layout_position[3] > 1: + role = QtWidgets.QFormLayout.SpanningRole + elif layout_position[1] == 1: + role = QtWidgets.QFormLayout.FieldRole + else: + role = QtWidgets.QFormLayout.LabelRole + + return role diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qaxcontainer.py b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qaxcontainer.py new file mode 100644 index 00000000..aa909f65 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qaxcontainer.py @@ -0,0 +1,33 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# If pluginType is MODULE, the plugin loader will call moduleInformation. The +# variable MODULE is inserted into the local namespace by the plugin loader. +pluginType = MODULE + + +# moduleInformation() must return a tuple (module, widget_list). If "module" +# is "A" and any widget from this module is used, the code generator will write +# "import A". If "module" is "A[.B].C", the code generator will write +# "from A[.B] import C". Each entry in "widget_list" must be unique. +def moduleInformation(): + return "PyQt5.QAxContainer", ("QAxWidget", ) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qscintilla.py b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qscintilla.py new file mode 100644 index 00000000..777497df --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qscintilla.py @@ -0,0 +1,33 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# If pluginType is MODULE, the plugin loader will call moduleInformation. The +# variable MODULE is inserted into the local namespace by the plugin loader. +pluginType = MODULE + + +# moduleInformation() must return a tuple (module, widget_list). If "module" +# is "A" and any widget from this module is used, the code generator will write +# "import A". If "module" is "A[.B].C", the code generator will write +# "from A[.B] import C". Each entry in "widget_list" must be unique. +def moduleInformation(): + return "PyQt5.Qsci", ("QsciScintilla", ) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtcharts.py b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtcharts.py new file mode 100644 index 00000000..187adfa1 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtcharts.py @@ -0,0 +1,33 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# If pluginType is MODULE, the plugin loader will call moduleInformation. The +# variable MODULE is inserted into the local namespace by the plugin loader. +pluginType = MODULE + + +# moduleInformation() must return a tuple (module, widget_list). If "module" +# is "A" and any widget from this module is used, the code generator will write +# "import A". If "module" is "A[.B].C", the code generator will write +# "from A[.B] import C". Each entry in "widget_list" must be unique. +def moduleInformation(): + return 'PyQt5.QtChart', ('QtCharts.QChartView', ) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtprintsupport.py b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtprintsupport.py new file mode 100644 index 00000000..168992d5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtprintsupport.py @@ -0,0 +1,33 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# If pluginType is MODULE, the plugin loader will call moduleInformation. The +# variable MODULE is inserted into the local namespace by the plugin loader. +pluginType = MODULE + + +# moduleInformation() must return a tuple (module, widget_list). If "module" +# is "A" and any widget from this module is used, the code generator will write +# "import A". If "module" is "A[.B].C", the code generator will write +# "from A[.B] import C". Each entry in "widget_list" must be unique. +def moduleInformation(): + return 'PyQt5.QtPrintSupport', ('QAbstractPrintDialog', 'QPageSetupDialog') diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtquickwidgets.py b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtquickwidgets.py new file mode 100644 index 00000000..2da3c264 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtquickwidgets.py @@ -0,0 +1,33 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# If pluginType is MODULE, the plugin loader will call moduleInformation. The +# variable MODULE is inserted into the local namespace by the plugin loader. +pluginType = MODULE + + +# moduleInformation() must return a tuple (module, widget_list). If "module" +# is "A" and any widget from this module is used, the code generator will write +# "import A". If "module" is "A[.B].C", the code generator will write +# "from A[.B] import C". Each entry in "widget_list" must be unique. +def moduleInformation(): + return "PyQt5.QtQuickWidgets", ("QQuickWidget", ) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtwebenginewidgets.py b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtwebenginewidgets.py new file mode 100644 index 00000000..6700666f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtwebenginewidgets.py @@ -0,0 +1,33 @@ +############################################################################# +## +## Copyright (c) 2021 Riverbank Computing Limited +## +## This file is part of PyQt5. +## +## This file may be used under the terms of the GNU General Public License +## version 3.0 as published by the Free Software Foundation and appearing in +## the file LICENSE included in the packaging of this file. Please review the +## following information to ensure the GNU General Public License version 3.0 +## requirements will be met: http://www.gnu.org/copyleft/gpl.html. +## +## If you do not wish to use this file under the terms of the GPL version 3.0 +## then you may purchase a commercial license. For more information contact +## info@riverbankcomputing.com. +## +## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +## +############################################################################# + + +# If pluginType is MODULE, the plugin loader will call moduleInformation. The +# variable MODULE is inserted into the local namespace by the plugin loader. +pluginType = MODULE + + +# moduleInformation() must return a tuple (module, widget_list). If "module" +# is "A" and any widget from this module is used, the code generator will write +# "import A". If "module" is "A[.B].C", the code generator will write +# "from A[.B] import C". Each entry in "widget_list" must be unique. +def moduleInformation(): + return "PyQt5.QtWebEngineWidgets", ("QWebEngineView", ) diff --git a/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtwebkit.py b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtwebkit.py new file mode 100644 index 00000000..087ec6ee --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5/uic/widget-plugins/qtwebkit.py @@ -0,0 +1,51 @@ +############################################################################# +## +## Copyright (C) 2014 Riverbank Computing Limited. +## Copyright (C) 2006 Thorsten Marek. +## All right reserved. +## +## This file is part of PyQt. +## +## You may use this file under the terms of the GPL v2 or the revised BSD +## license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of the Riverbank Computing Limited nor the names +## of its contributors may be used to endorse or promote products +## derived from this software without specific prior written +## permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +############################################################################# + + +# If pluginType is MODULE, the plugin loader will call moduleInformation. The +# variable MODULE is inserted into the local namespace by the plugin loader. +pluginType = MODULE + + +# moduleInformation() must return a tuple (module, widget_list). If "module" +# is "A" and any widget from this module is used, the code generator will write +# "import A". If "module" is "A[.B].C", the code generator will write +# "from A[.B] import C". Each entry in "widget_list" must be unique. +def moduleInformation(): + return "PyQt5.QtWebKitWidgets", ("QWebView", ) diff --git a/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/INSTALLER b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/INSTALLER new file mode 100644 index 00000000..a1b589e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/LICENSE b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/LICENSE new file mode 100644 index 00000000..77efbac5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/LICENSE @@ -0,0 +1,866 @@ +GENERAL +------- + +Qt is available under a commercial license with various pricing models and packages that meet a variety of needs. Commercial Qt license keeps your code proprietary where only you can control and monetize on your end product’s development, user experience and distribution. You also get great perks like additional functionality, productivity enhancing tools, world-class support and a close strategic relationship with The Qt Company to make sure your product and development goals are met. + +Qt has been created under the belief of open development and providing freedom and choice to developers. To support that, The Qt Company also licenses Qt under open source licenses, where most of the functionality is available under LGPLv3. It should be noted that the tools as well as some add-on components are available only under GPLv3. In order to preserve the true meaning of open development and uphold the spirit of free software, it is imperative that the rules and regulations of open source licenses are followed. If you use Qt under open-source licenses, you need to make sure that you comply with all the licenses of the components you use. + +Qt also contains some 3rd party components that are available under different open-source licenses. Please refer to the documentation for more details on 3rd party licenses used in Qt. + + +GPLv3 and LGPLv3 +---------------- + + GNU LESSER GENERAL PUBLIC LICENSE + + The Qt Toolkit is Copyright (C) 2017 The Qt Company Ltd. + Contact: https://www.qt.io/licensing + + You may use, distribute and copy the Qt GUI Toolkit under the terms of + GNU Lesser General Public License version 3, which supplements GNU General + Public License Version 3. Both of the licenses are displayed below. + +------------------------------------------------------------------------- + + + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. + + +------------------------------------------------------------------------- + + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright © 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + +This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + +0. Additional Definitions. + + As used herein, “this License†refers to version 3 of the GNU Lesser +General Public License, and the “GNU GPL†refers to version 3 of the +GNU General Public License. + + “The Library†refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An “Application†is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A “Combined Work†is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the “Linked +Versionâ€. + + The “Minimal Corresponding Source†for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The “Corresponding Application Code†for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + +1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + +2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort + to ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + +3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this + license document. + +4. Combined Works. + + You may convey a Combined Work under terms of your choice that, taken +together, effectively do not restrict modification of the portions of +the Library contained in the Combined Work and reverse engineering for +debugging such modifications, if you also do each of the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this + license document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of + this License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with + the Library. A suitable mechanism is one that (a) uses at run + time a copy of the Library already present on the user's + computer system, and (b) will operate properly with a modified + version of the Library that is interface-compatible with the + Linked Version. + + e) Provide Installation Information, but only if you would + otherwise be required to provide such information under section 6 + of the GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the Application + with a modified version of the Linked Version. (If you use option + 4d0, the Installation Information must accompany the Minimal + Corresponding Source and Corresponding Application Code. If you + use option 4d1, you must provide the Installation Information in + the manner specified by section 6 of the GNU GPL for conveying + Corresponding Source.) + +5. Combined Libraries. + + You may place library facilities that are a work based on the Library +side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities, conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of + it is a work based on the Library, and explaining where to find + the accompanying uncombined form of the same work. + +6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +as you received it specifies that a certain numbered version of the +GNU Lesser General Public License “or any later version†applies to +it, you have the option of following the terms and conditions either +of that published version or of any later version published by the +Free Software Foundation. If the Library as you received it does not +specify a version number of the GNU Lesser General Public License, +you may choose any version of the GNU Lesser General Public License +ever published by the Free Software Foundation. + +If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the Library. + diff --git a/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/METADATA b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/METADATA new file mode 100644 index 00000000..af89ec7f --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/METADATA @@ -0,0 +1,17 @@ +Metadata-Version: 2.1 +Name: PyQt5-Qt5 +Version: 5.15.2 +Summary: The subset of a Qt installation needed by PyQt5. +Home-page: https://www.riverbankcomputing.com/software/pyqt/ +Author: Riverbank Computing Limited +Author-email: info@riverbankcomputing.com +License: LGPL v3 +Platform: Linux +Platform: macOS +Platform: Windows + +This package contains the subset of a Qt installation that is required by +PyQt5. It would normally be installed automatically by pip when +you install PyQt5. + +This package is licensed under the terms of the LGPL v3. diff --git a/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/RECORD b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/RECORD new file mode 100644 index 00000000..8ff4dd56 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/RECORD @@ -0,0 +1,1571 @@ +PyQt5/Qt5/bin/Qt5Bluetooth.dll,sha256=E2F9YRLDH5HY9pdx-t14GflX-9lXr-NOCQycReDf3zA,547824 +PyQt5/Qt5/bin/Qt5Core.dll,sha256=jS_0zpCW3czE9M1iwuQfyFTP0bDW6NKWZFp_X9SuVlo,6023664 +PyQt5/Qt5/bin/Qt5DBus.dll,sha256=GqcLEGoQyGlG4jyqn8dS3Bbin76AO7ofGrMNHGPuhSo,436720 +PyQt5/Qt5/bin/Qt5Designer.dll,sha256=gH4rOZBIvEguGpbxBmk4f18nVCyhsdjby66r5TBVdSo,4487152 +PyQt5/Qt5/bin/Qt5Gui.dll,sha256=Xn0tQbi5KogOg7jMDKFz9dphIYYEGGGWeH7hYAlWvh4,7008240 +PyQt5/Qt5/bin/Qt5Help.dll,sha256=6XaZe2FUA4QkN-RgU0Ev5XE3dENjHXvsmf9cLH4Apcw,428528 +PyQt5/Qt5/bin/Qt5Location.dll,sha256=4l1UcOvwV3Q-mkJzWKofE7ZhRC7dvWldIKxCGpfhmkA,1645552 +PyQt5/Qt5/bin/Qt5Multimedia.dll,sha256=GlmuKp_3aK1r-4iP490lROI48LKNqDzzdevYA85xPcQ,746480 +PyQt5/Qt5/bin/Qt5MultimediaWidgets.dll,sha256=FrgVSGOzq_yUBR4Q_u9QRrDWQ-bX3mLTJxCCp7MvUb0,102384 +PyQt5/Qt5/bin/Qt5Network.dll,sha256=TvNBrpMC55OHgCDwdAsJsPMcs4BAiml_dcaf29IPx6E,1340400 +PyQt5/Qt5/bin/Qt5Nfc.dll,sha256=JC_4rjgPZY4ioNLG18XO5t7IS-iXGWmQpoOQMqUEc_w,138224 +PyQt5/Qt5/bin/Qt5OpenGL.dll,sha256=DheUcERqFMNwYYLYj8leXAZpV8N1Le_dbTZJrod8h6I,321008 +PyQt5/Qt5/bin/Qt5Positioning.dll,sha256=iIk3K4iA6at4uG2GPPsafE4iz6pTYNN2G9A7neECKL0,315888 +PyQt5/Qt5/bin/Qt5PositioningQuick.dll,sha256=J1c4DjBlbsy2bheQvEmiklcokEy09LFOm-69TWsh2-4,109552 +PyQt5/Qt5/bin/Qt5PrintSupport.dll,sha256=eD1PH-uNwLwArLjAlNbBqzmsa1hYh05g3T1FZ3r0MHo,317424 +PyQt5/Qt5/bin/Qt5Qml.dll,sha256=MANUhMgVkJdmJ_j6zpUHyqhYGn3HYwzM9qjW3mXKtwc,3591664 +PyQt5/Qt5/bin/Qt5QmlModels.dll,sha256=UeTlpekfeHdMRPabWZ-uRzUnfvKRj3Bhd4YVy1xPboE,438768 +PyQt5/Qt5/bin/Qt5QmlWorkerScript.dll,sha256=AW7yo3xahN4CexEq4bZdl0ZI72rgcr7_7BGcGnA26l4,57328 +PyQt5/Qt5/bin/Qt5Quick.dll,sha256=yBrTwREVRAZLGDDG8a7zwf0TtAFUarO4UtaXwPTYVLM,4148720 +PyQt5/Qt5/bin/Qt5Quick3D.dll,sha256=AlMBIbbBlOHf1ucgPZyn4c24xKz6ino3X0xwqH6TbQ0,517616 +PyQt5/Qt5/bin/Qt5Quick3DAssetImport.dll,sha256=d_nLsbnWfU-OvQ6ynRWhhbu31VyVAN72x7Xl_7mluwg,117232 +PyQt5/Qt5/bin/Qt5Quick3DRender.dll,sha256=3W41lFaMmnEAda0LQN3YorBmOqEGXmGmkGeGUoyEOrY,225776 +PyQt5/Qt5/bin/Qt5Quick3DRuntimeRender.dll,sha256=CaPipqE42cwOexjiZIDh6wI-FqoJr4cQWjE9Eddtajg,1244144 +PyQt5/Qt5/bin/Qt5Quick3DUtils.dll,sha256=J4mSEhUMqc10zW-Qr8e3Dv_IeHc0v2FM04O0Q2Fiwo0,46064 +PyQt5/Qt5/bin/Qt5QuickControls2.dll,sha256=HPI8hLgsGO3fJWYFdiFaj8WSDIPNWoLyDS7z-2lZMI8,173552 +PyQt5/Qt5/bin/Qt5QuickParticles.dll,sha256=2t6Mg3FZdap_5ELuk6-xadgJvCHb9lp87LXjqyQSkLI,478704 +PyQt5/Qt5/bin/Qt5QuickShapes.dll,sha256=I5fSOmR_zms5T10cmTHVEHiIiiLEyyKMl1B7b5RjcYE,215536 +PyQt5/Qt5/bin/Qt5QuickTemplates2.dll,sha256=7GlTJK2DeVb_VjlNV7vjeOit1bY3OYaD20V9mwiPO_g,1113584 +PyQt5/Qt5/bin/Qt5QuickTest.dll,sha256=4GARnmsSLgn8yyAp9TqlMovmoxckmIwwjCxj2UUyuJI,120816 +PyQt5/Qt5/bin/Qt5QuickWidgets.dll,sha256=2C6N-ESsex0KcaiXznyTuoYBv-5kE8ihIGsLfL9p0C8,82416 +PyQt5/Qt5/bin/Qt5RemoteObjects.dll,sha256=nH6YU3o74Zv1T8RmSOWI9MoRPQloFi8xnG5ZBRE9fFA,477680 +PyQt5/Qt5/bin/Qt5Sensors.dll,sha256=UcG8XNLoB3zIUBjOTzPulPdCH-RmJSIf9uelNn2Xa0I,205808 +PyQt5/Qt5/bin/Qt5SerialPort.dll,sha256=3XEqQS4tX9X4edOLtw2eeQB_6kAhktV5JOLudC3ngx0,75760 +PyQt5/Qt5/bin/Qt5Sql.dll,sha256=nKFPjUbCXHxb4v-9BwIxhZkGIEp3XouLP3YmMO_V9yE,208880 +PyQt5/Qt5/bin/Qt5Svg.dll,sha256=c0jPxkREOLiEX7P1k4EicyXUDKIYfUY-gvx7jpPjjbU,330736 +PyQt5/Qt5/bin/Qt5Test.dll,sha256=oLkAJjXGlqWiTuW4Nmmij3lVx5N8G0_-kl48OCnJ3v8,245232 +PyQt5/Qt5/bin/Qt5TextToSpeech.dll,sha256=y9J_gQoSKoN21rpEfDuKMttzNlzH-v0H90-6qXSiACM,49648 +PyQt5/Qt5/bin/Qt5WebChannel.dll,sha256=tHecgG9gGDiZwgJ92RnBMwYt6D9zlapAwcMubGSY3jc,134128 +PyQt5/Qt5/bin/Qt5WebSockets.dll,sha256=a1b3fabxeICkLS-dLsi0JiSPerIZag9V03reOeOHi8Y,149488 +PyQt5/Qt5/bin/Qt5WebView.dll,sha256=4YpcDaRhaOV51bAN7BXceHLqSZ_P_9XyBvSAvRqCNm0,78320 +PyQt5/Qt5/bin/Qt5Widgets.dll,sha256=N4jGadS2ReWldt6fx3_Kd2v1FtQ8iRQ9wsooKRuhQ1g,5498352 +PyQt5/Qt5/bin/Qt5WinExtras.dll,sha256=mYe0v_Yu9cDHXfzb5QsdAtCuOKgSOoFvvkMm6oU4Bpo,237040 +PyQt5/Qt5/bin/Qt5Xml.dll,sha256=69-R8DEKtnp5q9I4X6QoIFhW-B46dT5uR8MdWUbd1ZA,213488 +PyQt5/Qt5/bin/Qt5XmlPatterns.dll,sha256=oqt1wZmjqgDIH7qslGok0cnT8qDbLGxzNfbv0zpZutE,2643440 +PyQt5/Qt5/bin/concrt140.dll,sha256=HwcqbcmM2ILFQiCOeo_k--Ujl4FYjxfABaJgf9_mLV0,317208 +PyQt5/Qt5/bin/d3dcompiler_47.dll,sha256=6ZSEfgGm8eTL3FqGRhasJi9n7k8U2xlJhGYajZJ6t_Q,4173928 +PyQt5/Qt5/bin/libEGL.dll,sha256=Mgkt4Hf9V7bvNVcF7EbG0h9tcvvj06XdYo8qKRhalvo,25072 +PyQt5/Qt5/bin/libGLESv2.dll,sha256=UPrVYFs9V2J4SLO4SnRN-2oEVgm4I2sEEk8iNGdnWNg,3385328 +PyQt5/Qt5/bin/libcrypto-1_1-x64.dll,sha256=bbe9tgVZtS4n7bIoriXcxMXdhJQ62OEerB74clDJTfQ,3205632 +PyQt5/Qt5/bin/libeay32.dll,sha256=RNymakcNzKG_nmwfIrT-IXXE2eeWiEzdYdhTbwE0Fuo,1988608 +PyQt5/Qt5/bin/libssl-1_1-x64.dll,sha256=2igOHTy1Fo5eWEpXBY61sF-zvja9rv0goUT02jzbkDA,681472 +PyQt5/Qt5/bin/msvcp140.dll,sha256=iPVdhrULCn5V5xrS2PdVIUa6JuknIw2vLiatOpcZc8U,590112 +PyQt5/Qt5/bin/msvcp140_1.dll,sha256=RGxIwSJMKJvTCACH_hXWdZQW1k9BNq3fMAhqvVQV2D8,31728 +PyQt5/Qt5/bin/msvcp140_2.dll,sha256=JLR8lmtuSmWz5N-GbTR9NCfpvXCb5VDDgiRCfrXhQ9M,193520 +PyQt5/Qt5/bin/opengl32sw.dll,sha256=ljZBpxj5yuJwXVKZ6um3RE6E5yqzvvlqaRUQ3QX6HaQ,20923392 +PyQt5/Qt5/bin/ssleay32.dll,sha256=piUQhJrezaCQ9ToTK-SdqjrNkrTqywLQRk9iwG1lWvY,361984 +PyQt5/Qt5/bin/vcruntime140.dll,sha256=Xhl6CGtqdxG6oJr-TqfGjw53ey_zPx3yWiHzdbfZaTo,101872 +PyQt5/Qt5/bin/vcruntime140_1.dll,sha256=Hw9fLOZx4PaM-WF2ch3w5eb1J8jKnPqYqodbWjgW1GA,44528 +PyQt5/Qt5/plugins/assetimporters/assimp.dll,sha256=T0YU80kIWOV1AOTwrjrAw9SaXuPQ3T_XObkAPdU_tSY,1559536 +PyQt5/Qt5/plugins/assetimporters/uip.dll,sha256=GJfZm_VVqYjszWciViYMihRvZeRZQ37rYg0gZQBEAaE,377840 +PyQt5/Qt5/plugins/audio/qtaudio_wasapi.dll,sha256=Qss3UDuVot9Ht2_3L52U6Qem2zMXklLy1-Sxekmf1pE,98288 +PyQt5/Qt5/plugins/audio/qtaudio_windows.dll,sha256=pG3xY_-Cu-ukipZEBggKWjfznX0iHo6-J1IBocWw294,63984 +PyQt5/Qt5/plugins/bearer/qgenericbearer.dll,sha256=BTTO9fVOttELLpC9YIncQTxVV3HhIiC-mlzEit3cgD0,53232 +PyQt5/Qt5/plugins/generic/qtuiotouchplugin.dll,sha256=qb_7DzzWnNd1wyjJFuRkQP6A2ZEZ-uvDUMfsUePlfEE,68080 +PyQt5/Qt5/plugins/geometryloaders/defaultgeometryloader.dll,sha256=5O-nbi2uLAexHDKFEbm1WPQe8GzxdNV8DkEFBk7MHic,72176 +PyQt5/Qt5/plugins/geometryloaders/gltfgeometryloader.dll,sha256=3oRK7_Z3vUohb4pj6n35xQSTdoNGu55sCTgIYLVXz9I,57328 +PyQt5/Qt5/plugins/geoservices/qtgeoservices_esri.dll,sha256=i4Dm63P4fRMMAc4LQrhqQynooluexrCzclwTDmies6k,149488 +PyQt5/Qt5/plugins/geoservices/qtgeoservices_itemsoverlay.dll,sha256=KW6zISsOcJOwxxwbxGpGc7lR9RvvNdM22rqiymONnmQ,41968 +PyQt5/Qt5/plugins/geoservices/qtgeoservices_mapbox.dll,sha256=Yt2ivUvGPImMayyQXENI7RB6zCSP4MtRnRTCxBrfoTg,362992 +PyQt5/Qt5/plugins/geoservices/qtgeoservices_nokia.dll,sha256=C_6vIqeE_0usv9ofVERNVoz7UeybQEDhwlUooL6AB7s,301040 +PyQt5/Qt5/plugins/geoservices/qtgeoservices_osm.dll,sha256=KdUhMmZJhOI_17uITRfvqmulVKuZWxvncJ4_RirLFJA,201200 +PyQt5/Qt5/plugins/iconengines/qsvgicon.dll,sha256=Qt3mC-_PHZ-WuDZqmYhia5fX0Ngp6-oy91bW7Nnqmag,41968 +PyQt5/Qt5/plugins/imageformats/qgif.dll,sha256=NhdN1MXzfF8GXHom4KxlxMOkH9wEFogq-FaiOl0Du50,39408 +PyQt5/Qt5/plugins/imageformats/qicns.dll,sha256=9KIpoILRb4ABbzZhVqK5UVUPHp321BdzI7vt2SpCmQk,45040 +PyQt5/Qt5/plugins/imageformats/qico.dll,sha256=GYKmNduWUjBBMcnG_5ppPnAkFgDS7yKzVJYqo3mX3gs,38384 +PyQt5/Qt5/plugins/imageformats/qjpeg.dll,sha256=-06YDLX6-opM1COTKa7ZP3wy7ZOclLYfst9lfzxq0Vg,421360 +PyQt5/Qt5/plugins/imageformats/qsvg.dll,sha256=s0mPChCsTLQs9yE9tJRKNFlP82x4xQoPJJyQhdGx_zk,32240 +PyQt5/Qt5/plugins/imageformats/qtga.dll,sha256=W2Qd7IGuwc96wMzp_AZ7tkL70y2hOKNuO9rDu1s2w3o,31728 +PyQt5/Qt5/plugins/imageformats/qtiff.dll,sha256=glF0Qpztaz2rGBFdvGydoHv1JIyG7BvVwNyuypO0wi0,390128 +PyQt5/Qt5/plugins/imageformats/qwbmp.dll,sha256=DwWWn7kmpiozh4KzJEbqPijkv7_8Db0l7TA_qzQEq6w,30192 +PyQt5/Qt5/plugins/imageformats/qwebp.dll,sha256=bjes0NNXhx-St_3nIGyQTHNMqgL5RUTfZGlX34xJh68,510448 +PyQt5/Qt5/plugins/mediaservice/dsengine.dll,sha256=NTmqki_MlGyK8r26vxCwJgucwUrWLqMx0pdmsXDR09Q,301040 +PyQt5/Qt5/plugins/mediaservice/qtmedia_audioengine.dll,sha256=Ho3H43ZmSxelNW5Tz7W7fP8UjgWluWkj71niwpraKP0,68080 +PyQt5/Qt5/plugins/mediaservice/wmfengine.dll,sha256=fnamsF6nkZoXyQWRqkBuT0g1u2R4teQ_xoPBjyUeqW8,208368 +PyQt5/Qt5/plugins/platforms/qminimal.dll,sha256=BdHnNk3SpnLfPKRN1v2FvtPT3COdz-Kb-0ZPELTapig,844784 +PyQt5/Qt5/plugins/platforms/qoffscreen.dll,sha256=VAl2JvqucYpLyOQ2yFtN7Y-PtwUbK5VjopruTtXDK3s,754672 +PyQt5/Qt5/plugins/platforms/qwebgl.dll,sha256=nDsvojg-7tkrtYEL3PiTrjD6ZUowtFOrLkmpXhzPFjE,482288 +PyQt5/Qt5/plugins/platforms/qwindows.dll,sha256=MzO6JEyXJk470Z21lT76gKbkeqztnTN6wyh-xxgWK4U,1477104 +PyQt5/Qt5/plugins/platformthemes/qxdgdesktopportal.dll,sha256=4j-8G-xs7t-p_TBWBqRg2crF1Dpm0ZwN424nYy_d2VI,68592 +PyQt5/Qt5/plugins/playlistformats/qtmultimedia_m3u.dll,sha256=zvAe69FFFx9SsbEGMSll8d-iY3ExWDLU5RWI7CbSCIk,33776 +PyQt5/Qt5/plugins/position/qtposition_positionpoll.dll,sha256=xrQnM1SuJefwIvRvlQ7Yxbuvi8uEN1dDVqT3U87hrDA,50672 +PyQt5/Qt5/plugins/position/qtposition_serialnmea.dll,sha256=I-1URqNPEBmGediXRb3hrej1BsVPXa0XGEDgG_jHITA,67568 +PyQt5/Qt5/plugins/position/qtposition_winrt.dll,sha256=Q8PHAju3yE4LVt9UGKagTszgTWBXqQFMYeBwfCy_bys,57328 +PyQt5/Qt5/plugins/printsupport/windowsprintersupport.dll,sha256=x6G79OpqdIiOcfcZk3PJkgAXGZtB9iQmfq0VHrjPmbY,55280 +PyQt5/Qt5/plugins/renderers/openglrenderer.dll,sha256=4NG4z1X80sZU6-2vSlhv9Uuw1714Qlh4JGmFniS8h64,793072 +PyQt5/Qt5/plugins/sceneparsers/gltfsceneexport.dll,sha256=G0jNTVi6a0GEpcpS4cgk3dKSnhi2Mos_Hu-hAk0dKtg,176624 +PyQt5/Qt5/plugins/sceneparsers/gltfsceneimport.dll,sha256=gZkxpbrA3T4dU5FFwBKtTk9NFfAaRiZzrwV9ZE1kIPY,199152 +PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_plugin.dll,sha256=z9_nGk0hPtsRQRFmvDLEcHfieHWVeod7kQvBt-MISzM,81392 +PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_shakeplugin.dll,sha256=NW2mqCG8AX7GkaoYx62B5g2Fzwqfob4gFXGZH3ZQwt0,31728 +PyQt5/Qt5/plugins/sensors/qtsensors_generic.dll,sha256=WLONYAixsNOU_qz_sgxeLhy3906oBxBpojoZ1CY77og,42992 +PyQt5/Qt5/plugins/sqldrivers/qsqlite.dll,sha256=B3bKYY_IGq7mwnoYXfBbKORXE4HGE62_-S4S7D5sHRc,1412080 +PyQt5/Qt5/plugins/sqldrivers/qsqlodbc.dll,sha256=dZSkWbc2JjmWc057KIiv1qCdCv24N-cGn9k_-qML_2k,98288 +PyQt5/Qt5/plugins/sqldrivers/qsqlpsql.dll,sha256=OKeD0CGY3LuLj3wl_sCAVF0HukL2SB-FMEwXHlyiTRQ,79856 +PyQt5/Qt5/plugins/styles/qwindowsvistastyle.dll,sha256=2bIRgpUmgv57pjrx3yTiOs5ZLDWz8x7O758Oq-tYgbk,144368 +PyQt5/Qt5/plugins/texttospeech/qtexttospeech_sapi.dll,sha256=VkWuARaQbBJK7wZbl3I_FFzZVbdTa63uXVZSgsqwyls,44528 +PyQt5/Qt5/plugins/webview/qtwebview_webengine.dll,sha256=tShn8V4drwubriFN5GV1HXBgyG78CuVxyADRVti0_pU,36848 +PyQt5/Qt5/qml/Qt/WebSockets/qmldir,sha256=F-CMOo3Sw1-SS8-Ak4ixi_WJaqmPb6ECMFM2XNc59ng,144 +PyQt5/Qt5/qml/Qt/labs/animation/labsanimationplugin.dll,sha256=c9nnu5Fjku0Fu7ywd-RJrbpMYfz3DtkXio73D3zUKgk,40944 +PyQt5/Qt5/qml/Qt/labs/animation/plugins.qmltypes,sha256=ehkvhJa2iOPHmDzYPmYGxNjDoOZMJOvO35SYx8cVw4E,1340 +PyQt5/Qt5/qml/Qt/labs/animation/qmldir,sha256=yk-ntU5finbbRnqvnKaykmExEmBaDSUY9jvlmTTY7ew,87 +PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qml,sha256=F0UdLIddgT_9Zp7IxZX1DaGyiAIAQLhZeBkpVpuQsYk,2709 +PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qmlc,sha256=W7pbANlsJ3NG3CkkvM36h6t0xCUw-8tp3nbn9bylONs,4404 +PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qml,sha256=DGlvOIDLMm99u09OsO2c6VG8ZDfZyUidZW3defWXvwg,2777 +PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qmlc,sha256=sJwpA6tNLI7sl01MqX5-tpoZWH5rIktyZ3CV-OI0Lx8,4912 +PyQt5/Qt5/qml/Qt/labs/calendar/WeekNumberColumn.qml,sha256=HopTZTzg_x3eGEn-1NzI5w4XHresvhpyBJtgeXUbJZU,2717 +PyQt5/Qt5/qml/Qt/labs/calendar/WeekNumberColumn.qmlc,sha256=MOmFlVbT__fUTzQAcpC6eco382xoBuIFtx3xCGb2xWI,4420 +PyQt5/Qt5/qml/Qt/labs/calendar/plugins.qmltypes,sha256=S-KsNaDY2FVGGJV_lfWm9sBHUkMflvqEjR6Lhs27H-E,17167 +PyQt5/Qt5/qml/Qt/labs/calendar/qmldir,sha256=axS3YKOePFVGuY5XJeYeBtKA2nVmm7WBA95d-B2L7vY,193 +PyQt5/Qt5/qml/Qt/labs/calendar/qtlabscalendarplugin.dll,sha256=s_tCp6xytlI-flWwd200HDYFsgTT1hwZFnDKMvxl5Dw,96752 +PyQt5/Qt5/qml/Qt/labs/folderlistmodel/plugins.qmltypes,sha256=XziIxoc5hBPhJzvHOA_fpQy9PVAuuf8_Y7QL1NZvKb0,13525 +PyQt5/Qt5/qml/Qt/labs/folderlistmodel/qmldir,sha256=91uzI9_CJdFx2xEuUJ40zHRQeGy3Eg30sfCFpRDftzk,128 +PyQt5/Qt5/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll,sha256=aoI3VXS0Rzfs_2ePsGH6-q4sQYhWEJfW2IRg0mSFELM,64496 +PyQt5/Qt5/qml/Qt/labs/location/locationlabsplugin.dll,sha256=U8BbeKVn1xb-PJIaiNbeJGhxoHGVMX4WXytm6Na9JK0,52720 +PyQt5/Qt5/qml/Qt/labs/location/plugins.qmltypes,sha256=CH1NmFzCwM-b1vcrU9wxO2x8aFWQiE2RMCedMMpfTSc,9913 +PyQt5/Qt5/qml/Qt/labs/location/qmldir,sha256=zlLfFqFTshiaWrnS8qCxuTN4HMx6i7PkJyCO7sFKSJE,122 +PyQt5/Qt5/qml/Qt/labs/platform/plugins.qmltypes,sha256=LhpcBXuSHKaqcL3Sjof1vpB_borTS0XdhQTl_m-SpjI,19504 +PyQt5/Qt5/qml/Qt/labs/platform/qmldir,sha256=LAX72WmKMpZIe4t02LI1T8CuOaRVnFqDZwK1mB-m5cA,86 +PyQt5/Qt5/qml/Qt/labs/platform/qtlabsplatformplugin.dll,sha256=TS9a5RA8EHLjZUYiLsy47-JpjIhuErAWHkeTJ6UxosE,233456 +PyQt5/Qt5/qml/Qt/labs/qmlmodels/labsmodelsplugin.dll,sha256=e27rGmv5eAciW2LSEU5qfkkUo11HPtW8zKFmZ6IHcxA,122352 +PyQt5/Qt5/qml/Qt/labs/qmlmodels/plugins.qmltypes,sha256=0C5g9GWrRlEboAb3q7A-72cJK38QsJUeBurHS9C62ng,15611 +PyQt5/Qt5/qml/Qt/labs/qmlmodels/qmldir,sha256=0U7_BqqVNJ8a88cUxW74XFblPQsQ6JMZY_XXjwmKjho,84 +PyQt5/Qt5/qml/Qt/labs/settings/plugins.qmltypes,sha256=eb8SHZd1i095gr7LcdUKOcTvZRYYVyecteU6vITEv-s,1131 +PyQt5/Qt5/qml/Qt/labs/settings/qmldir,sha256=SVIq9ASI5S6KHe2otR9ZHfGsyhYFM2eE631CmeWvAuw,107 +PyQt5/Qt5/qml/Qt/labs/settings/qmlsettingsplugin.dll,sha256=qyuug-iFlf_atQJbzHr3ckgiyjY-nSbr4tKUz35c00I,42992 +PyQt5/Qt5/qml/Qt/labs/sharedimage/plugins.qmltypes,sha256=fXANKfysJjsVRT_qGxzdJFS-4O6u4MiFYP2aJO9TDUQ,250 +PyQt5/Qt5/qml/Qt/labs/sharedimage/qmldir,sha256=eSWN3IH7aAkGDU5v-9L4dtRS90kQ4OVVQ4GHBQGKWZQ,90 +PyQt5/Qt5/qml/Qt/labs/sharedimage/sharedimageplugin.dll,sha256=XgNeUDRbWT8dsQv4KZScH4vxFufsxg3qf8vM-Lzkz_4,43504 +PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/plugins.qmltypes,sha256=iKaXZ6SHoZbhpNbTREW3LL9LhUKrJ5QW1i6F8_BsaaM,1349 +PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/qmldir,sha256=0XxQJpJq8oWm9fYyzarbAWlQCZWH19WgxNo2w6qZV5I,122 +PyQt5/Qt5/qml/Qt/labs/wavefrontmesh/qmlwavefrontmeshplugin.dll,sha256=QghyDL0SeONOQQUhHsN83dDlrUbSdEMD7oOmjBrDcpU,46064 +PyQt5/Qt5/qml/Qt/test/qtestroot/plugins.qmltypes,sha256=HbX2l2cz1iFe4JTdO80P_XZVUMn8F-9sMaTFlZHjnFU,771 +PyQt5/Qt5/qml/Qt/test/qtestroot/qmldir,sha256=52vxQFRFjZIhRZXzXX0tsgwJdDrC5WILvyVi63T9TF4,53 +PyQt5/Qt5/qml/QtBluetooth/declarative_bluetooth.dll,sha256=8Ksc6ND4UgpqON8JXWfc9lW60uhNdu3CcAtLVNSSkHc,86000 +PyQt5/Qt5/qml/QtBluetooth/plugins.qmltypes,sha256=vu51l3evp1iOX2DRer75cTA2Hdy1ae4n5ZuZ8YZEV04,15195 +PyQt5/Qt5/qml/QtBluetooth/qmldir,sha256=hFDP76dCDo5vc4upzMdvZ60UARVFMbMUKDh0rMMHLyg,108 +PyQt5/Qt5/qml/QtGraphicalEffects/Blend.qml,sha256=rrZ-CeCIeEhPDBNRqI-CPUqdBjxZ7zP1Y5l0ei8FhkE,19778 +PyQt5/Qt5/qml/QtGraphicalEffects/BrightnessContrast.qml,sha256=mAYL_RI9LuigD8bp6hx2k5DvRJyuaTQ7hLPTYCdpy7E,6585 +PyQt5/Qt5/qml/QtGraphicalEffects/ColorOverlay.qml,sha256=MNlzYO_hPAKXdFE-YXa_aMj6x8h_jgPd5FjIMheEuhI,5095 +PyQt5/Qt5/qml/QtGraphicalEffects/Colorize.qml,sha256=yXvOqBHcWdSA6YVxlqxVPUhjulN4MEC9_H9eM51CmGU,7876 +PyQt5/Qt5/qml/QtGraphicalEffects/ConicalGradient.qml,sha256=8zHhz6Exw4OGA5SDM6FyaIeBdibm11aelUDghN8NYHU,10264 +PyQt5/Qt5/qml/QtGraphicalEffects/Desaturate.qml,sha256=pN_zmVGSZ_rPsvIgM8ZaA_H0cncc7x35HNhxTMdV65g,5079 +PyQt5/Qt5/qml/QtGraphicalEffects/DirectionalBlur.qml,sha256=jmC7fJLZdyONUoCFh7oNymZNYRkni1RFO_B2V8gVyHI,11031 +PyQt5/Qt5/qml/QtGraphicalEffects/Displace.qml,sha256=1XW8jAQZtC2hiBwRKr12-J_j5NEV0u9muqYMk5Hy4j4,7217 +PyQt5/Qt5/qml/QtGraphicalEffects/DropShadow.qml,sha256=8RAfQYFvPFGO93B3y9y-sV9PgRnbO938CVnKPExF_fM,12506 +PyQt5/Qt5/qml/QtGraphicalEffects/FastBlur.qml,sha256=APbsoes6FzDAnWZX6KAPu_rElE1tY6wvtkvWTUj2SRo,13881 +PyQt5/Qt5/qml/QtGraphicalEffects/GammaAdjust.qml,sha256=9Ep3yAZ9Dg_rRc803PkDzl3iWcSB546FPtp7k0DNl2E,6235 +PyQt5/Qt5/qml/QtGraphicalEffects/GaussianBlur.qml,sha256=zJUz1Hxhpw6ZeIKWKocNxLu0ZriLfVSpJ3yPurFoscs,13602 +PyQt5/Qt5/qml/QtGraphicalEffects/Glow.qml,sha256=ketmJMSJxQbFTsr9weyXA6JqZkmVyDO6dLadP0jAmxg,10025 +PyQt5/Qt5/qml/QtGraphicalEffects/HueSaturation.qml,sha256=R-kFTVMJkO1FZQ8qvY6SEqP_XWOy4grrskmz9BQhZgI,7419 +PyQt5/Qt5/qml/QtGraphicalEffects/InnerShadow.qml,sha256=C7ta8uWP82lpN1YNpQLchE15Kibh78c_elFl5BAiQ4Y,12859 +PyQt5/Qt5/qml/QtGraphicalEffects/LevelAdjust.qml,sha256=h7Kt4_nmxcew5fLrLx758OVD1Cj8YqytWM2NOp_XsYg,15891 +PyQt5/Qt5/qml/QtGraphicalEffects/LinearGradient.qml,sha256=IfPiz0L4pClFgAjvoVXG7phP2dLZb6W1ybAnq5u0XuM,10829 +PyQt5/Qt5/qml/QtGraphicalEffects/MaskedBlur.qml,sha256=cLXJQ38JP7wr_USMfAiMCifBFB5fWSxCpDaujxnLAUM,7807 +PyQt5/Qt5/qml/QtGraphicalEffects/OpacityMask.qml,sha256=Lj3nxANLH50zdqgnz0qakQ42QxtdXF0ALC_cKrwFBW4,5585 +PyQt5/Qt5/qml/QtGraphicalEffects/RadialBlur.qml,sha256=ZdFlEnScm48wcmVDSkwJurMYjknE79x0Bl-x9PD7y3A,12345 +PyQt5/Qt5/qml/QtGraphicalEffects/RadialGradient.qml,sha256=kr1m4Ql_IEEaJ3QaNGyI5Htvnsa1YP5aS6L3VrRBiuo,13745 +PyQt5/Qt5/qml/QtGraphicalEffects/RectangularGlow.qml,sha256=1CoC2SCQFm7IeEJfKAYQNMl28wEtGrZmNCfiL4R3W0E,9305 +PyQt5/Qt5/qml/QtGraphicalEffects/RecursiveBlur.qml,sha256=oV7G0AFoszaQBMQG5ROnHBwQgt8vZuoIapuVbiMYnl0,11649 +PyQt5/Qt5/qml/QtGraphicalEffects/ThresholdMask.qml,sha256=LzWT9Pvskhod4DMcRDUFsPcKouQINMWhF14piHRYW0Y,7462 +PyQt5/Qt5/qml/QtGraphicalEffects/ZoomBlur.qml,sha256=V9P7n_TU9dPNM_y_Re8VbMdKO9GjmnbLa-r5j4Z2bf4,11760 +PyQt5/Qt5/qml/QtGraphicalEffects/plugins.qmltypes,sha256=Y1DBfRZnVj6x37p1_lxDh8zD8Y-OoeJmZI9d9GPBzPE,327 +PyQt5/Qt5/qml/QtGraphicalEffects/private/DropShadowBase.qml,sha256=jPAJQfIm-4sVpHb7LKkC5T2LcJIHeomlDc9NOzk7iZY,3802 +PyQt5/Qt5/qml/QtGraphicalEffects/private/DropShadowBase.qmlc,sha256=DuNHFcVN10u4UOgNOTs1nLcd5gziXP3CD5-n7843_i8,7424 +PyQt5/Qt5/qml/QtGraphicalEffects/private/FastGlow.qml,sha256=rSIhKVChyNmwn2-gOT-MDnAs-swFJBsNXfDT0rqc76U,9961 +PyQt5/Qt5/qml/QtGraphicalEffects/private/FastGlow.qmlc,sha256=P6du-ml8Sf_zHXbFCb3ZsjQHZo2Jb_8aQ3YorhGU89M,21704 +PyQt5/Qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qml,sha256=w-39p8NnfZRoHgAsHOYtG-oHSgSmIyvDmFNEcPCeJXg,10099 +PyQt5/Qt5/qml/QtGraphicalEffects/private/FastInnerShadow.qmlc,sha256=mikK05JbpZIEqi6uIEsxOrWTdM8D8oFS0i7WV_lvAH0,22064 +PyQt5/Qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qml,sha256=0hxVIyJ8wkRDxaM9idepV72iN26uFrnStvvlrtfWhDM,7916 +PyQt5/Qt5/qml/QtGraphicalEffects/private/FastMaskedBlur.qmlc,sha256=sxDsR5uwBKwZ_BgyJCxMIkx1fZ7afhrgrlrb22NHz3w,20108 +PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qml,sha256=iD0di_YumO59RZDWR9wbXgskITxkb-n2yRyAa1niJ38,12752 +PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qmlc,sha256=s5GwYqvDshXL3Qa4nWRq3Ju01JsVl_ckKuE3yazRKL8,26696 +PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianGlow.qml,sha256=BNmmNDX2yHI6B0QnR1DjBTddY1Mt19IVUmUBxm3QxpA,3823 +PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianGlow.qmlc,sha256=D3eWopmN--uwS8UbrrKXXifgrluDe91mJg3iyPTWuxw,7616 +PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qml,sha256=5H20BIjDyq6Bgm9KBwviLy_D0nIPaeY1nnzwJxIbtSQ,4345 +PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianInnerShadow.qmlc,sha256=yJBhlwllmCcF70Fi6cHt15WuuPhE6VVta0qif3Q8feg,9408 +PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qml,sha256=mKOfNyvHptyDpOflG1bSqoHkWNsbOqBYULPCLPTC-dw,4041 +PyQt5/Qt5/qml/QtGraphicalEffects/private/GaussianMaskedBlur.qmlc,sha256=If_Q9P3EGRQaGFqeGVeps2gEN3Lnz3giyWlLikfvRZ8,7908 +PyQt5/Qt5/qml/QtGraphicalEffects/private/qmldir,sha256=12gcTAySfwfu-GOhVuJUveC_60ig7qiPE1uAMlqnf98,446 +PyQt5/Qt5/qml/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll,sha256=n6piqDzAMrkTzVSA31_gzjnPOb0s9AZLJ9hTXylhcoE,61936 +PyQt5/Qt5/qml/QtGraphicalEffects/qmldir,sha256=ozrGSk2kGRZup7SY9bVXO4sPPZBox1BsaRHxf665R_A,1016 +PyQt5/Qt5/qml/QtGraphicalEffects/qtgraphicaleffectsplugin.dll,sha256=cBsAnoKxjqr0RlaFIWDZtlhM4-7ZDajsUyRUcHdVofY,66544 +PyQt5/Qt5/qml/QtLocation/declarative_location.dll,sha256=NJhiFSoVbhCIWkgQW1MYXHZY_hmmRVcR3lhb1jdlgn0,180720 +PyQt5/Qt5/qml/QtLocation/plugins.qmltypes,sha256=sv2GQEKF9Zw8DjThOB7_MMTkUNHjKOsNFJmIYYHScao,70426 +PyQt5/Qt5/qml/QtLocation/qmldir,sha256=2EbLEOQJqhaiFrQ11QExP0t6Yur-EVjVLrxtjLos820,114 +PyQt5/Qt5/qml/QtMultimedia/Video.qml,sha256=YBpetGkTPkgTUG4959Wej2yj0cgI399mAmNGJiD_gT4,17795 +PyQt5/Qt5/qml/QtMultimedia/declarative_multimedia.dll,sha256=LfREm-Tqpcf4qvqQK-bfdvMH3zME3rp-jZ6hAhrpI8Q,276464 +PyQt5/Qt5/qml/QtMultimedia/plugins.qmltypes,sha256=NBhSJMb4LY3gZWusQ-qFUxYme4Yu4SnxNLOsU6VKDs4,79219 +PyQt5/Qt5/qml/QtMultimedia/qmldir,sha256=vjgxIJRjQFqWWnxmoXjU__0MLxDeFo6_hRzAll0sINM,140 +PyQt5/Qt5/qml/QtNfc/declarative_nfc.dll,sha256=vk-7Cmi7fekkGITM4jB90uGppNPiYFsv8NeM93jKFYM,63984 +PyQt5/Qt5/qml/QtNfc/plugins.qmltypes,sha256=FNjomEEHOQZ_3jjtTMu_1YFUqd_v4HIeriCPWpy5lj4,3433 +PyQt5/Qt5/qml/QtNfc/qmldir,sha256=4pk_6SdF6_bKDRVUKT2zRRYcpBmidmMutyuJlG93Jwc,90 +PyQt5/Qt5/qml/QtPositioning/declarative_positioning.dll,sha256=oGXq4Coq1u6Ovh-nUsDFUgX5tbjcW_LzNSPtrItJgM8,68592 +PyQt5/Qt5/qml/QtPositioning/plugins.qmltypes,sha256=iCf7QHoKDaxYeqWLphoXsoZX4oqe8uIRcgKsslPVew0,12433 +PyQt5/Qt5/qml/QtPositioning/qmldir,sha256=0it1dvTnuhmzZmYJsZQxH536RB-NRoumS63NhX8cAIA,123 +PyQt5/Qt5/qml/QtQml/Models.2/modelsplugin.dll,sha256=d0hiwHPOBfKJyU6RH7rXV-RHvLHn4gNzed8ow0saSBg,24048 +PyQt5/Qt5/qml/QtQml/Models.2/plugins.qmltypes,sha256=0XWKszxXQfcKerbh3D3h7_hYyQ4ckfRc3vtrC8zSt10,31557 +PyQt5/Qt5/qml/QtQml/Models.2/qmldir,sha256=YvUPm5rjueZijdJmCxjTJsQXlFhuDXay5A9vpLGC4Kc,90 +PyQt5/Qt5/qml/QtQml/RemoteObjects/plugins.qmltypes,sha256=6q9b8CN2r2u6YXDqHViDk8t5G7ZzwcGKGODvmaqITl0,2504 +PyQt5/Qt5/qml/QtQml/RemoteObjects/qmldir,sha256=RreTK2Q8EfxAJouu3FgASnDxE1xQzeXUvCt4QYZPvBI,91 +PyQt5/Qt5/qml/QtQml/RemoteObjects/qtqmlremoteobjects.dll,sha256=UgfEiz9i1ohbxhkLfHkpAKJdpqLdMHnIb6Z6xvN_OUo,32240 +PyQt5/Qt5/qml/QtQml/StateMachine/plugins.qmltypes,sha256=Anqu7Cw2pZxxn2dszd9DH-OkKMmiM0Wn-uTiejznpnM,6347 +PyQt5/Qt5/qml/QtQml/StateMachine/qmldir,sha256=U0RBWxkofBY7MDG7B6L86MwW-NBxVoK_gD1JfQVX-d4,115 +PyQt5/Qt5/qml/QtQml/StateMachine/qtqmlstatemachine.dll,sha256=pyBBpJivlPt21kwbaUMjtU94NxxXUZpHdcVs3v6fVJU,75760 +PyQt5/Qt5/qml/QtQml/WorkerScript.2/plugins.qmltypes,sha256=3B6EFmXmYeM7e6pp4n6Y_eol173HshUat8wtN9XTGZ4,975 +PyQt5/Qt5/qml/QtQml/WorkerScript.2/qmldir,sha256=PEG7mS0ievwcYTpP7cEnEhxLyXA_Y5jKybCHZv0_Y8k,89 +PyQt5/Qt5/qml/QtQml/WorkerScript.2/workerscriptplugin.dll,sha256=34kXTiLfV-JBKNOOEJgzUwba2AdjukYQe1K0BgCG5O0,24048 +PyQt5/Qt5/qml/QtQml/plugins.qmltypes,sha256=_cbg_ZaGZBcVX8qa4CMzm4nkDKs-nJ5ZPhxuysKoKCE,8979 +PyQt5/Qt5/qml/QtQml/qmldir,sha256=JlAjSxr9gFbC6o2YdJ--efUQHQ2bawXrGyoxPX7yvBs,142 +PyQt5/Qt5/qml/QtQml/qmlplugin.dll,sha256=T-9oQwBsV-jKYXJeR4YFpSP827-qP1VnEZi0-9qYFRI,24560 +PyQt5/Qt5/qml/QtQuick.2/plugins.qmltypes,sha256=J_LaqQil1wrP4KR3HPXSPt0xOnKrNwHMVgtVoGr9y58,204690 +PyQt5/Qt5/qml/QtQuick.2/qmldir,sha256=tvYwVq3mklqgcNOyvUEz0m6A306icZ6BrZACfhlmGug,131 +PyQt5/Qt5/qml/QtQuick.2/qtquick2plugin.dll,sha256=5w9zSAOuday88sbSH-jcOg_XRRE8VD9bkwIwlJRy7AI,25072 +PyQt5/Qt5/qml/QtQuick/Controls.2/AbstractButton.qml,sha256=c8FlLQMmBJ2dQ-8k0V7d5HTRp2S9ffy487g8KCPZhcE,2196 +PyQt5/Qt5/qml/QtQuick/Controls.2/Action.qml,sha256=Uj3g770s2740KrqwHorrGrDMAdhAridxL4cyRkbbHUg,1846 +PyQt5/Qt5/qml/QtQuick/Controls.2/ActionGroup.qml,sha256=r3r7T4_W6YyttI5tb973jvSNhhfAfR4OqpJ9P_D1ABw,1851 +PyQt5/Qt5/qml/QtQuick/Controls.2/ApplicationWindow.qml,sha256=E673KcCowQtNLHzcLQfECIN7xLAbq48eS38PVlvnhbU,2206 +PyQt5/Qt5/qml/QtQuick/Controls.2/BusyIndicator.qml,sha256=nV8ri3MkPG-mti7bsqfhCkYf2L4p2dxPijUtsrib9yw,2598 +PyQt5/Qt5/qml/QtQuick/Controls.2/Button.qml,sha256=sosfcm3dXLQIxx9H7GLZ9OVVS698gToUQI7YnhnQw1o,3597 +PyQt5/Qt5/qml/QtQuick/Controls.2/ButtonGroup.qml,sha256=E5TQp708ENAzQm5fuVy533X7w_4ili8VL56zNINlKP4,1851 +PyQt5/Qt5/qml/QtQuick/Controls.2/CheckBox.qml,sha256=N2w2-LuB69bXygm8ytlfnvMHuiBS2jjdByKLdInFuvk,4022 +PyQt5/Qt5/qml/QtQuick/Controls.2/CheckDelegate.qml,sha256=-kZ0kyu5tPNXF0hEC0FBoMI6bduHDegIQIHGuSbMXlc,4478 +PyQt5/Qt5/qml/QtQuick/Controls.2/ComboBox.qml,sha256=Gh05_om0KSS6SEr8lIXpy0xbSTrMry22SrJYvp4MtB4,5934 +PyQt5/Qt5/qml/QtQuick/Controls.2/Container.qml,sha256=mjXcfufO10RI1Z_hKh4MKJVphkvMXvDPZDtzqKzr4P8,2175 +PyQt5/Qt5/qml/QtQuick/Controls.2/Control.qml,sha256=w2ww_YPM0Io0x4aE6pX6kCd3EIw6MoVYDctRulZQ0-0,2189 +PyQt5/Qt5/qml/QtQuick/Controls.2/DelayButton.qml,sha256=1TQJ_pTPq59gSFyEcmE7t4BvEGLCld2d8fvbYeGqf1M,4163 +PyQt5/Qt5/qml/QtQuick/Controls.2/Dial.qml,sha256=DwArEfhF7Cuj-o2kDOta3aBQ4N5fdbjwfJiqtEmW4QA,3493 +PyQt5/Qt5/qml/QtQuick/Controls.2/Dialog.qml,sha256=WpxfzyUVEQewpNt4YU75TCFSsaXOJT-moVAeRhHPd9I,3310 +PyQt5/Qt5/qml/QtQuick/Controls.2/DialogButtonBox.qml,sha256=QJE31l8rccWXKzt-W_Reg3YBWe1eV5iAIERdjIShGAY,2924 +PyQt5/Qt5/qml/QtQuick/Controls.2/Drawer.qml,sha256=koJn5WJ6FSF72pi6c5ZZGMus_DW5IDVSNKB9mzA8IzQ,3301 +PyQt5/Qt5/qml/QtQuick/Controls.2/Frame.qml,sha256=2yVhJKmUxjAPnWR-Jyil0CkOp75TIqISxQG0d4Gjs90,2366 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ApplicationWindow.qml,sha256=fAC4GVhqaAqEOUjM3tQtXkxrgggTJLMC0_FPGPeB8u8,2160 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/BusyIndicator.qml,sha256=0LXs1pvUcFmczYYCiBr4_aH4-JvmbijodPAEKWyAKpg,2864 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Button.qml,sha256=2Qu63_RbFGM1juxJQFZ5mrFWCH7G8DeXYUubBzHi6FM,2936 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ButtonPanel.qml,sha256=JPamcTiTcVGfOM4VHmQkNde8VO5IxmwxCA_Z-NRUW3k,3115 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckBox.qml,sha256=Zhg-UNAcFtP6TWix77Mx9wXW6d2mH6ZxMbJUzSvAO3s,3199 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckDelegate.qml,sha256=J7h34DJlg5qsls7GE5l5e0CaNGcJXjSqcVIkvAJ6zFw,3676 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/CheckIndicator.qml,sha256=q3G2X9zLWqce1BCIhejKEZBvPHciamVRAU4OkfkGznE,3722 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ComboBox.qml,sha256=9JuMP9dEFu7d7GTpjUWgmhOvkG-LsGiKxwCzv20MOS8,6762 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/DelayButton.qml,sha256=B7Q1DcKkJEPuWKCx9f-46b1_NvIB87-6OpAelJaOScA,4553 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Dial.qml,sha256=oiCpILE2tCsAZL5tEJwMU4APDF3pfXuUC6RBHIsHpHM,3255 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Dialog.qml,sha256=3KjTFYDuYo-EGRKcldFBr3OPU73OYE-muOMQRjf8wyg,3604 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/DialogButtonBox.qml,sha256=0n5U1xH7FeqUeB50-SZ410Dylqve8iY0ON3nshAgo7w,2867 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Drawer.qml,sha256=2UUFYYd0pxJMR8cc_SeJvU5P3uHWfX_e6JTzQtXOzyI,3673 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Frame.qml,sha256=DsYA6VQUprHE6nb56W3dVN7x4taZSj99w-xxSkbPmkI,2474 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/GroupBox.qml,sha256=19dH8FpWcJfnD_zrY1kG9sHxA1TCZ2y7uaWmWQ_ZpUI,3141 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml,sha256=D-XxBZHlTLkgCJcSn77KV4ZjX6FqexQ_yJONje3PIa0,3065 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ItemDelegate.qml,sha256=1dMREp7ixxKNWslEh418HYmDDZam8IZlx3KXbWqkhpU,3257 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Label.qml,sha256=PiLw0j9O4Xy8s6rg6bXpwiHjO4iHQE1L8aCv46epiCs,2085 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Menu.qml,sha256=x4ONXzdV680KVoGZmzSgoEno7Hs8Ddaqzze_izScqjI,3391 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuBar.qml,sha256=eNvXb7e9PkgdbWNLbQjCegzvPNQwDxzNv1muklcJweI,2899 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuBarItem.qml,sha256=8kl6mgwXEujVkgveUBoGmnQiGpc3zMnBtnY8HNn3h2I,3076 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuItem.qml,sha256=g5tLn1037b2fennfBQ2SvWFYe-bYZ97jzlDeUxC70_g,4312 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/MenuSeparator.qml,sha256=_AnvEoszD93r1tJK_nqxwaXkRgZDD959gNQ6TawksuA,2526 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Page.qml,sha256=Ow-XD8M5HJ_PXzPQ_wv2lAgYnK-HaJGA9OjiFQvgIS4,2683 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/PageIndicator.qml,sha256=g6B4Jg0UeMuxFK90SSQLz93J2KT3QTCAA9DyCX25wJc,2845 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Pane.qml,sha256=v0NBftSl4DNQ4NeA99DJnGGCENLmh-dD7vN34KwUO50,2409 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Popup.qml,sha256=ugen8EifbMr-c3DcqDZ2-A6Nhu2QpOCDjMP1cHGBiFg,2627 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ProgressBar.qml,sha256=nLSS7B477aYbOZ2zIruja3Q-45Gf_fLuHAJUVjjly0k,4445 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioButton.qml,sha256=Ik9_iRTIAJNYjW5UEfTu3orA9MbtoyqX8etKZFuNVPQ,3202 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioDelegate.qml,sha256=gsjmHzpekYRd5VGddKnnssZxMOCoGMzWCQhBgXuuaT8,3676 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RadioIndicator.qml,sha256=oDoUygWSNrXBKQvCx9wKnOXgUd802Ifya-pXRdy8C6A,3186 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RangeSlider.qml,sha256=NmQGznQi1vCpwAzaSPtkHkvnv4dmAI7SMmjzw5RA4DU,3855 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/RoundButton.qml,sha256=5Smqn5ZY-ZhFzscQi5GinK9kCg5g87vhqX_G9ePGbvQ,4110 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ScrollBar.qml,sha256=L-cr6ePDi6dYu0ltXVw_R7AB6uq0cWt8gvAEVxNWZuQ,3290 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ScrollIndicator.qml,sha256=Xsvek5GKCgSeKHQbXml_XscWr5YjtJ-ZZl6T_B7kZ9s,3060 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Slider.qml,sha256=iEO-pDEFdKCSdpnd9LXQ-HL0kMcKQJXHOm714BHNnzU,3031 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SliderGroove.qml,sha256=TtOdFUFoqTAjJtFdEde1AWAoDzbGIzEifU7ybdC88FE,3771 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SliderHandle.qml,sha256=WK2jDiFAzoQYr8t_Q1R9mkAyGgCCDtCaUFeYm2w8a3s,3181 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SpinBox.qml,sha256=CvvaojV2-VvrEJJQ7euN-kHmZ2cy14CUDbBlO4PFAco,6907 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SplitView.qml,sha256=jtq1F4KFNkpbpNXYX37XF3zeItjI5e5Yy6xSJEOrmj8,2632 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwipeDelegate.qml,sha256=MRQQQjSS1bFFodlHkjr6LIpfgQTXJNnrdJ4yVg_0BmM,3364 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Switch.qml,sha256=xI8Z4tbgUP4U0uWIuidKy--5mC4SgdMD1Djir-KpvjI,3192 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwitchDelegate.qml,sha256=fN2nsONgURwQ2UioowvYysbQBCb3cGZBZndlm9Ld2Uc,3754 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/SwitchIndicator.qml,sha256=VH_RxveNy3IyqFGg3_j46FcStrXYZ7M9JqLdzlZQqZM,5133 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TabBar.qml,sha256=WztuiPqzfyA1Vjo-ZXZJyJCHw6pOiG0pdyvY8MwNjPg,3121 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TabButton.qml,sha256=STNIxFkGqgGhey2nGPuVHRZ4TyxdSMIn-BZULT-uCgk,3862 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TextArea.qml,sha256=W72xAythzoLH0BjRLnbxAcEQRe9c3ZkTvgd5N6j1CDs,3392 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/TextField.qml,sha256=0yIDvL8tDKmDfHkCMZOR7fgjwxP5W0g9CgnYP-C6cT4,4120 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolBar.qml,sha256=6nUUvamO5xjw1QHVuF20TNOWNtRVdlHyafSCvC4FrRM,3252 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolButton.qml,sha256=JhgqoMV_7wL2ofny0VYfU19FN6_fTuxP3sqMPHbcn40,2923 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolSeparator.qml,sha256=0umcS8L6t8j_BpAhKUeyL6KZrLJ5gwn-RexNMWO_DGU,2757 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/ToolTip.qml,sha256=lkehurywZjApJMxjTdC1gw7ozI8XDWTPAybK9T9lsFY,3063 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/Tumbler.qml,sha256=DpC-4zKuTH0J16rjo3HuUJyn7zaMeDXr8Dn8gKMarU8,3356 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml,sha256=cx7p0fqw2G7uESSHvcW6Hiv1R9cN6Uwayz_O7RoA4js,3062 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/plugins.qmltypes,sha256=P5mYSaYqwKu7pivJBcnJVVNeFjLiMBEuY_jIhtIBNWU,16065 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/qmldir,sha256=dLLiJoyiQdnZTOiQwQLduVO-CaTgZngyoZaWmkWn_sc,149 +PyQt5/Qt5/qml/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll,sha256=galrurppHvgzqpGIodrd5RzLUQPoZB7k-czOt8VPiUI,612336 +PyQt5/Qt5/qml/QtQuick/Controls.2/GroupBox.qml,sha256=LGHiRc1X520uk-hUQ7QpiTkUB5wFcuiJFhZh06lGg3Q,2992 +PyQt5/Qt5/qml/QtQuick/Controls.2/HorizontalHeaderView.qml,sha256=x_dHVbP8Q429y0FZML6q2nnkWlQEJCgtrs9fU47jSJo,2836 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ApplicationWindow.qml,sha256=tAbgLroozlzOD9wt--z15eM0iTZdVC-TBJF8pGlUkn4,2791 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/BusyIndicator.qml,sha256=wuf1QifnJp6q1ZppSmvaficP_0QNuXHsZWxGPsbAzns,3737 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Button.qml,sha256=bhcauiYk_CNVqB0Qr2KqC1TSpd6p1QRbfsDR7449xxs,4372 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/CheckBox.qml,sha256=5Y39KWvg3zn66RbYxkh8RCc42NWF9nkXKqMfTjhxSdo,4671 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/CheckDelegate.qml,sha256=3hSyhGa-AfYJmmAeMcz2ruK30iVzkEU1WLMSw0EJ1ws,5024 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ComboBox.qml,sha256=JaHmJDd35HA2tCRrudM9356LTSMf0Djs_3sxlXJA40A,7602 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/DelayButton.qml,sha256=EirirzVJIxMC7mk9ct2fx3BgqFOuJuVvZyLwic2tYKY,5557 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Dial.qml,sha256=OwS0uj6OPpbc9B0cu7pA9zT3wVUP0h59W2LJVJx7smE,4328 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Dialog.qml,sha256=mzLMuv1U32mUWsuJSDiOytbCh8QArYHxUw100WCN0W0,4382 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/DialogButtonBox.qml,sha256=BZUP3eruxVkdy1OHnlH71yQJJt9iVUa0_7Yx14ErWl0,3498 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Drawer.qml,sha256=9WLHzYKme4Mxe5nQLfcC44KM5CSNyWupATTB_7yfRSs,3851 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Frame.qml,sha256=oWxKlPvXFIaOAqHz0vB3_LuCoFL23lhtebdcuhRYWFA,3019 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/GroupBox.qml,sha256=lViDVfMrVeQx_bmoCLQ4qu7vpsjGvEMT2kgnYlGpESY,4025 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml,sha256=x_dHVbP8Q429y0FZML6q2nnkWlQEJCgtrs9fU47jSJo,2836 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ItemDelegate.qml,sha256=_KZhVMYoN5Z0mPYie4Cy8ZjLyc4YAIJrpJRBnS-4T70,3906 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Label.qml,sha256=iWkvurnSV05YaAApuBCEUWk-YOkFulnhK7sgbQj8QSQ,2598 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Menu.qml,sha256=LHReCfAb3dyYDdH9fZvFn4UvjNTTGTbodE-8aG0comc,4174 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/MenuItem.qml,sha256=wI2HHcVHDmETkIP9yRusPxze7FoI8tZbaiNKPQGrofk,5765 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/MenuSeparator.qml,sha256=jFSqMs8E93nZ9lLsEHuBfcFnHCAS26eMVRIiGVrWxXc,3342 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Page.qml,sha256=VybZ_yM89KWCtJ72sEYqa4wrH43TGsHj2lLp7gS9Ruo,3309 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/PageIndicator.qml,sha256=U-XvQ0BehlMToGmYrk_00YyYBLuvqfPuNzM0MUaz4k0,3719 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Pane.qml,sha256=mPlwCF75Fy5Qz0FpFyEUCqjhkY5qvqsxWCF2QEF7IOA,3017 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Popup.qml,sha256=EwWM51BJD-GVc9DlBV_EWubgIBoCosM_3zKlvFMQnws,3481 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ProgressBar.qml,sha256=drW1Zr3vQvoCpmlerRLadaVUhbpZUOWG6OCTeWFTfgc,5987 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RadioButton.qml,sha256=18Z87F6jwEdksAbkOrUuzmmtkkT-uugnnym3JisSiso,4484 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RadioDelegate.qml,sha256=sok8Rv3l0nTYgcUL26Sx7bc578Rhxh7kqoL5evZJCsE,4820 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RangeSlider.qml,sha256=apFggXaEsHEDXHfJCbXANEuRRGsxtcDbdnlDlbL-bKk,6578 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/RoundButton.qml,sha256=oJsGvzBWre0_zaD-sAaAmBe5v4RJUsrLaNfaxCb2SKg,4387 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ScrollBar.qml,sha256=47xf_BtvKVO-0MNd4jaX5W6B2rxBMDxEdcNaCNmkLw0,4876 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ScrollIndicator.qml,sha256=QKACXWhH7qWda-r0Lfx1t7TEqfrC1yQR-oj6Ej7GUGw,4374 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Slider.qml,sha256=ThBrHh_zLM8rRBeYAJmDnGahT6jTXJ9tvm4obrf7Gc4,5371 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SpinBox.qml,sha256=czcT71IBFXcCLYkD2IEcDWd0hrt0sY3fiopXWMV819E,6103 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SplitView.qml,sha256=17NVHz577hlKEH1y43l5kLYwitvL9ivldrXmec9eaac,2796 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/StackView.qml,sha256=Tk6PkUdM9tHfKcd-phylXvzC59wPXZ6cNsw5nUfZihk,3793 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwipeDelegate.qml,sha256=lo8yu2TUd1SwsstccoSFN4m5-QL1yOU9M191LwRzTpo,4014 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwipeView.qml,sha256=r0zm_RnTWqvn6TkpcBzclt3Y1ei-BErBSwIEXhmwqno,3771 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Switch.qml,sha256=2MwP-vBKcrO7KUyBNcL0_QtW67pLRQ366pdGBAlab8k,5835 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/SwitchDelegate.qml,sha256=NQCMUsUTMxgVD8VIWaIKdvgNhI__T4XDe5m2ROIdziE,6334 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TabBar.qml,sha256=VqubiyreazTwxkOfNuv8IACLwg4u2Jy_qupbMrxnc6I,3663 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TabButton.qml,sha256=QIDAW3w9EhRnpGBkp5R6I3d3yDu80E0QQDlRawWRH10,3681 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TextArea.qml,sha256=_j7qg-F7BlPJUgSVTBwTSS0XGCpAKc5vh9TsVO3QxX4,4254 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/TextField.qml,sha256=wLeAKNYocB3Nx0n14j6jRwKzizc5a5NOdGgWb8wXDRs,4191 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolBar.qml,sha256=HA9fuDffI_043t3hqGGqiPLRnP9miIGTZC4RHY7ax_Y,3161 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolButton.qml,sha256=OUvcZypthAYBck-WATEl8c9W126sx8TsnDgM3A1KK7U,3830 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolSeparator.qml,sha256=3iuAGUyIjpNMPGnIH1A6sIgmW3YeBANyU5O-9FM9d5g,3546 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/ToolTip.qml,sha256=BsCLXzjPAUIKXbfHkyT5LjIykXAQkDIRqjw5R_nsJVs,3620 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/Tumbler.qml,sha256=ZSNvDygZo1L-TbT1ujV2AAN2ut6-_FKSoZA-ytmOTIA,3981 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml,sha256=HU8_HQ27jK4NOSwlVoicljmhpRsFXke9qr7b0zvUqTQ,2833 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/plugins.qmltypes,sha256=BPQVfoDX1OW27I2ciHWdFi77_IGpBJHcFNwgOh8BtsA,13648 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/qmldir,sha256=8eZHqYE3ZK2bvQ8c8cJBYdy2-IKMPQiQf0sCMsdQsdQ,184 +PyQt5/Qt5/qml/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll,sha256=3NTeBM5P0uW0lfB-Dx6UfMAu_qnigD5XSlmU633Sess,1612784 +PyQt5/Qt5/qml/QtQuick/Controls.2/ItemDelegate.qml,sha256=Tn6e60HqUBE1_yW7nCBwLzmWDK8gYtsRpfFK9LL_Ip4,3287 +PyQt5/Qt5/qml/QtQuick/Controls.2/Label.qml,sha256=Ka1YY94AYkMCfaC0kLR09hCX9CR3V3y2-GFnz1BY_zY,2006 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ApplicationWindow.qml,sha256=OZe33DIY-ju2ataKqy03L8xckyIltO5o6emyUwBj6zI,2301 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/BoxShadow.qml,sha256=iL-uZPJZi0WR46caZOhSDk-UhVtEJ8OG8ms62gSEp3k,2911 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/BusyIndicator.qml,sha256=uIvvcsyy33IscyTHpbnVt6fa0Vfx5CX0NmosuHZK_hQ,2640 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Button.qml,sha256=FW5Z9a2iOPdsDuR-MOWhBRSzXd8UtsrsyQLKbvTJ_pk,4891 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckBox.qml,sha256=8GeM9ec1NeaDozrohDr_Qn40TIoBWO1hwRmWXK0JYTk,3651 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckDelegate.qml,sha256=OFnpBsZ-OPBJwLmaR2p__HbxWa2Gcxb5cyrhm73JG7o,4065 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CheckIndicator.qml,sha256=igPV_jrQx4P3YR-tntWrerdYlSE7PYuDzqR4UwwqzV4,4154 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ComboBox.qml,sha256=s387PA0uPj1aSiMnVf8Pz-m691gt1qeWKwkxmz1EtEw,7689 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/CursorDelegate.qml,sha256=HIlFdv0gzt2geRnMJAHMnRWpDv-ycq_DHR3asxU3w_8,2616 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/DelayButton.qml,sha256=HulRO2B7dg4Me8W-j3lKbFot-papRtL15YdEZ7A9azM,4471 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Dial.qml,sha256=9DAnRu0JF84UVTS5uB_g-qAlUxz17QSoGnKZT6I05Fw,3543 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Dialog.qml,sha256=A2OzEyTJ7yb6K7VAM0d02gplRZUd0GoUnmuDKmv2x-w,4358 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/DialogButtonBox.qml,sha256=igx3G62OoN5gyLVZXDrd9qbneFQmyst9V_MNeSFSQEU,3207 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Drawer.qml,sha256=XzdROnvdDa3P3ENYgttBmaIkEU7EHfjJJQqhSD-UKMQ,3867 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ElevationEffect.qml,sha256=TiI2Negnlbt6iQnBXR8nOe5-YHNEGH0wuSm12N2wmAg,10030 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Frame.qml,sha256=VLfp0YCSvYrgPpM2VU9Iz1F4wwRFfHD_EH9KL9r4EPA,2710 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/GroupBox.qml,sha256=vfvIamUdtf32Wj-8t8vZG78pXYRWEro2njF_xKXbOrk,3408 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/HorizontalHeaderView.qml,sha256=2PMz4-xuBXvjZKBDZ3qOOidiOEwF_PsqUGkYTdv-7pk,2968 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ItemDelegate.qml,sha256=1P8wgOZMCRyslqek9vf-jy-Uj0aNcN05JxqkjQL2swY,3570 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Label.qml,sha256=uCBTwWKKuXtPwuxLAB5zaLhIOwMFwVzLW6KbL2Hnrg4,2008 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Menu.qml,sha256=QTGZ2BRrvxMKJqUHU7P47LiiYVil13wy1rHrIrV7Osg,4162 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuBar.qml,sha256=xi2we01Cn5vQz4jq75sVrYzbWDIsdlbVW-WTYETrEkA,2604 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuBarItem.qml,sha256=86Ma487v6q5P2poXP9PtsN2BfWkiNhIFcth09_0oOPM,3442 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuItem.qml,sha256=p-GyOYxcv_WR_jQnD8gA4t667IEGiXRNWLqqFJVYphk,4788 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/MenuSeparator.qml,sha256=jP0cQji3IcL_xqu0Ey9WcORaZ2itXLrHQT_cW7-02S8,2400 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Page.qml,sha256=3vqp62giSTlWvKOUKr_9jEHsENQGU-vkgUegDDIaS7c,2588 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/PageIndicator.qml,sha256=96cbWSdE6hqIhDI4tVdrTc2TvJI9eVhdO-DFT3ScGpY,2795 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Pane.qml,sha256=FY0fKnwRbaR0if99AiMUp5GYqcEHhPsEt3exmpkGooQ,2594 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Popup.qml,sha256=slUH5f79IrrRziHAz3kQxEh4nupd27dNexe9tAWc5v8,3464 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ProgressBar.qml,sha256=mseBFrAsG8tNzekRcLELjde_Uy8LgA6BvTyUj1zalWw,2820 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioButton.qml,sha256=qdrrVi_O6E2o6JZFbF6P7N5OSYQu3b24e7RfngA4y5k,3654 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioDelegate.qml,sha256=Ac7EZ2m34Wo__IQSPLvtAJpdVl89RVNkx57RwKAAbQ8,4065 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RadioIndicator.qml,sha256=MCF14_ryCTyHmzOIcmiPkZNXnKaBte5Ch4B8xIelbdY,2519 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RangeSlider.qml,sha256=kRnHDwNHW01a8leTAphrBpSrT6bOtJN7MR57AKVhHE8,4757 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RectangularGlow.qml,sha256=5K3i5cFgC-_irjEiEDW1vu4zrLuTldtpEcMrEXwQowA,8309 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/RoundButton.qml,sha256=a6kb3hi_LK413hgV8qG4yM-GdlkAwWs1mc2WUPf233Q,4702 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ScrollBar.qml,sha256=rjJr0E_QeiQX9Vg_Kwa_to7hZpONHGUfMxmPbkZly5E,3771 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ScrollIndicator.qml,sha256=pmujws60dmypWabJSXHk-z-ysz_GFX7IniL53sa4tc0,2967 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Slider.qml,sha256=vvVKwimGpkq4U52QVo_BoBf-DszNGTH1ahkQ5CnQuSI,3963 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SliderHandle.qml,sha256=vmQho7nRWN46lLn3N96FOEMkFLw9KrlJd9Mc4frnVe4,2932 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SpinBox.qml,sha256=Vjyok-RHeHbtXbban5gdDm1gZiN4x9S3cFOxImMXxAk,6225 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SplitView.qml,sha256=QkjWcD0F1BSA_68Sq-_GPwILIEIhaE1z1klXrdw6i08,3315 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/StackView.qml,sha256=CcSZ3py233RGT9WmbJpYrxbjT_3j4MZ6wS0ODIGs-tY,3885 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwipeDelegate.qml,sha256=sZ6w7FiUWQFj8J97ZqI2yzDqLGPj55hG6rxAKaN5LxM,3887 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwipeView.qml,sha256=30imQGUn_VI0LL0A1Q1PdJ0CMIagGBTqj8bFUKL8U-M,2830 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Switch.qml,sha256=5lyJSuZTJCg2vth4m3Loogio10P4QKc-m2vd7e3RGjE,3612 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwitchDelegate.qml,sha256=yJfdSA0SZD8ko1exlpt4uR2mt-ipUN8gkoVgEKuKjgc,4104 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/SwitchIndicator.qml,sha256=8BQGZGuzFuea_PJ23cWbxwukbeWFYrEXOmrfM3KNx_Q,3330 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TabBar.qml,sha256=35GEnaNS6wpvpQrTAYgBS8juiSdnbvIQi33fVaO6l7g,3437 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TabButton.qml,sha256=bYfgxj0qCAt8Zyij49-_j3kgMgNOp3BxAgJZLxvVMrE,3208 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TextArea.qml,sha256=zTFRCi2EYPwTHlqU11PQuSP1BibldRMd7JyUy37lQMY,3727 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/TextField.qml,sha256=CamQ2KcwkdpFH-RtUYF1pNeUuelV_0WSDQ6dj0BjRY4,3820 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolBar.qml,sha256=ae8cS_Aynrn-Lm3ex-WEo-OEMCUMo9ntzDgYHW5E5jY,2656 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolButton.qml,sha256=jTr9jRmVlWWfQiEhaKvPVbfRrCEqZhZXO8CD9zzKGyE,3602 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolSeparator.qml,sha256=WV54leUy8p-cotoyUBUiuMg2BmQjjcgsd5PHOuvMPR8,2489 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/ToolTip.qml,sha256=YIXwaCFL-wbEU_G2cVdqxYUHKgJjjYceISt__L_Os-I,3206 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/Tumbler.qml,sha256=HvaU_z12EQQj2UX57VlIuoZYfb0TC7uVPBuI8_fAhyk,3317 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/VerticalHeaderView.qml,sha256=tY3q3s8ZI02S_MA1wLdzJxtM_czyTNBuMA98gZA8pDM,2965 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/plugins.qmltypes,sha256=Zc6oh_x48lC6xh5OS2vJ8hyUQ_dMoWxkYbgIV0xb_Zg,19745 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/qmldir,sha256=vXipRVY16sM18v0pQyOTm3C1kG3DwmyDRBkgQTFX5TM,155 +PyQt5/Qt5/qml/QtQuick/Controls.2/Material/qtquickcontrols2materialstyleplugin.dll,sha256=Lqu45fO1fkLG8p22Re3EusF5ELGsDY0Ag8ZrFS-IeLg,746480 +PyQt5/Qt5/qml/QtQuick/Controls.2/Menu.qml,sha256=Bx9cY4Q3u8s8aZL_pp9KRZ8UjQYMNC8dD15sEiIB50M,3132 +PyQt5/Qt5/qml/QtQuick/Controls.2/MenuBar.qml,sha256=6EWDw5thDbwuibnShOaFDU3ID9fCFRujpV1L6pkmJio,2515 +PyQt5/Qt5/qml/QtQuick/Controls.2/MenuBarItem.qml,sha256=JSZ3N89KBDBjG8gLUJZHtgW5A9nCuzmn0PoF3zk59bI,2994 +PyQt5/Qt5/qml/QtQuick/Controls.2/MenuItem.qml,sha256=KtFGpEp3PoEFu6GpoaJVLU9kwJkMfsSOOpjVkEQ5i8Q,4379 +PyQt5/Qt5/qml/QtQuick/Controls.2/MenuSeparator.qml,sha256=WKhIyUWBSg4jPnddwwj3GfqzeQAmaHeQ1mt5dECMX2w,2442 +PyQt5/Qt5/qml/QtQuick/Controls.2/Page.qml,sha256=TUrBEE_VjnDfUUsqtdRrA3ukicuWxkUFo9ZyrabMmIQ,2604 +PyQt5/Qt5/qml/QtQuick/Controls.2/PageIndicator.qml,sha256=Q0M69sH1OlcMjPz9zN-kHYgGy_yfG7liyhLqRs9MCm0,2763 +PyQt5/Qt5/qml/QtQuick/Controls.2/Pane.qml,sha256=sBglApwhOaTs-bwc48E3nRn0o9f4Y1vbwKnbwosTwto,2331 +PyQt5/Qt5/qml/QtQuick/Controls.2/Popup.qml,sha256=dcMjmHYdFuDodeJulYTvZ8_NGh9PKTjzyGpX4XM0zyw,2592 +PyQt5/Qt5/qml/QtQuick/Controls.2/ProgressBar.qml,sha256=cAAHJaQSv4hCRPXnoXCiO8L0uWvmNsQvgwBn-j9P9yg,2735 +PyQt5/Qt5/qml/QtQuick/Controls.2/RadioButton.qml,sha256=EU_1Ag6TWS7YQ2hXbuwjqz-ZkSnYwru3_K-rNgP8KNk,3713 +PyQt5/Qt5/qml/QtQuick/Controls.2/RadioDelegate.qml,sha256=s9u_wUcrXKn1yDasFLyEfoeBVa_YdfgctgCp7HafFIw,4169 +PyQt5/Qt5/qml/QtQuick/Controls.2/RangeSlider.qml,sha256=gaKoffTUSlAjFwGJ386Adv6MQguNaRL-wjJJ1WqNbQ4,5005 +PyQt5/Qt5/qml/QtQuick/Controls.2/RoundButton.qml,sha256=Pwbg8cwiItWsOZSd1qpQxby4i9m_7LAzDKbtYqRsU_Q,3633 +PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollBar.qml,sha256=q-a7r18x5d7aMIZCPsiTW65Cb5RaVTJwGYKz4SBoV_o,3211 +PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollIndicator.qml,sha256=TjOifHDtCSuP9duImm8q39_HgFJaxGLiSc5CiATJ8uA,2981 +PyQt5/Qt5/qml/QtQuick/Controls.2/ScrollView.qml,sha256=4TOAbRCXFvezVfHWQ6GP7mWaZKzB2OJwiaVo6C6007Q,2725 +PyQt5/Qt5/qml/QtQuick/Controls.2/Slider.qml,sha256=K0NdTkSBeliWVMKkHXdYeV3R4Uj939ni4ZLRJ501T9g,3923 +PyQt5/Qt5/qml/QtQuick/Controls.2/SpinBox.qml,sha256=eoohmx6F_b3ipJwWhwbLKcQVMHIMtOnQgkkhBKSfGg8,5365 +PyQt5/Qt5/qml/QtQuick/Controls.2/SplitView.qml,sha256=-jOOEcHVylbUK8sZUsMH767Yn_nmKHCnaMXKQPO8SHU,2605 +PyQt5/Qt5/qml/QtQuick/Controls.2/StackView.qml,sha256=z6-aEyWzYGD550iegKVGLxH5-pnl945N1tbdCxAiLwk,2879 +PyQt5/Qt5/qml/QtQuick/Controls.2/SwipeDelegate.qml,sha256=1GgE7iIxgKA8GLRSXZu-oU6MSlWZCM_7aSS_0jQLuD8,3262 +PyQt5/Qt5/qml/QtQuick/Controls.2/SwipeView.qml,sha256=eQ8c8_qU_Xx-1HQRIeuNrvYD_N8HqcQ9G5s7FHy6r2o,2821 +PyQt5/Qt5/qml/QtQuick/Controls.2/Switch.qml,sha256=0mluELEFTFhqYmTCCk6nCSDZR8LAOhwPuO4SYZePcB0,3947 +PyQt5/Qt5/qml/QtQuick/Controls.2/SwitchDelegate.qml,sha256=VYySjzx0R0yClhGqKdVO7ZxZjgITlD_uiKVGkqgae90,4489 +PyQt5/Qt5/qml/QtQuick/Controls.2/TabBar.qml,sha256=VPqUbQIfeLLjWzjzdpsDb1lDJZ-GwotDYuGE-vy5rQE,2773 +PyQt5/Qt5/qml/QtQuick/Controls.2/TabButton.qml,sha256=d33J73uCeCha-YROD0ZTR9Mh0PW5QlRI4YkfeCV6AIU,2987 +PyQt5/Qt5/qml/QtQuick/Controls.2/TextArea.qml,sha256=-RLE31nCK1P4Xwvwxce-F438Zs4sMoyGWY_WyTGtwag,3313 +PyQt5/Qt5/qml/QtQuick/Controls.2/TextField.qml,sha256=j3kuvqVscvspHfyg2wxdk6F4KSR4EAjjVVBPXxSrWds,3571 +PyQt5/Qt5/qml/QtQuick/Controls.2/ToolBar.qml,sha256=RO8CrS-xaA2cjwfoYPMfZVnTF2iCEdaGakin2fYXefw,2343 +PyQt5/Qt5/qml/QtQuick/Controls.2/ToolButton.qml,sha256=z_oHpLdO05bpdIVHgsqK-I6ok4qZ1qTPAICBM_1gnw8,2998 +PyQt5/Qt5/qml/QtQuick/Controls.2/ToolSeparator.qml,sha256=fLQg4N3gHAtDuX-wBoz9xLSIAiAVgwmPWr8SnTaf3a4,2492 +PyQt5/Qt5/qml/QtQuick/Controls.2/ToolTip.qml,sha256=ns0KJJLX58xBMAaISXp_nvMSFkFzw7-lnWGcUTw2qEM,2763 +PyQt5/Qt5/qml/QtQuick/Controls.2/Tumbler.qml,sha256=-pNwJWX0M2Yew8v1uaGaSR9Z_5LGs9Ra6Dw_70T7on4,3289 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ApplicationWindow.qml,sha256=7oHTLocb_TXmn40W0_u1MrBIsRjNNuhoABmJOdqK7Ck,2442 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/BusyIndicator.qml,sha256=K8SDJv8_lsm0W9ufQNWMQkfwo_rtG2FiBT5ikA2yloE,2614 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Button.qml,sha256=C61COwLCARcHoXWloEGQEtdss0dWTit1XRVWMyz-6l4,3611 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckBox.qml,sha256=XZSYdNYTw58GfmyK7c7YfIkEHYEsgsjJyZqUD7u-bdA,3231 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckDelegate.qml,sha256=zKSK0LIuUXrESHcTVjSY70x0J3PpUjZn-4nqFs4fU4Q,4189 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/CheckIndicator.qml,sha256=0ajFu0No0GMYhhTyVhBNELUdCtGTKzsS5-X1AivnGOE,3964 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ComboBox.qml,sha256=MA-KiVp2kdNTzIkPZL8tCehNd_Hhz9TGuxga2Nljvdw,7147 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/DelayButton.qml,sha256=BqtHYVp5mG1Vmly3-jm21U0S2-Z8SuwSZTRbMEWa-yc,3597 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Dial.qml,sha256=ynj4MXbGQ8qsaKpJ3f4JMCtay7oJyu0ygEklr7NWwPU,3648 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Dialog.qml,sha256=AHQLxzsnJiufFAA6XIaFRZbyYG_R8OIJQeAH1qZNZ44,3544 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/DialogButtonBox.qml,sha256=5k7pgz4I2eLFCrRIiXSIkLgt-3WaS00CWZp--RX5kdw,3141 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Drawer.qml,sha256=J9uVRz1ycLIQNuf35e6mb2PWBuE0zTx6EI3DmJKWcK0,3272 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Frame.qml,sha256=ek6DXjW5ek7ndAQsRdvRsSUNgBQdNRc0JDwv0l-Tjv8,2362 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/GroupBox.qml,sha256=95WzviptSliF1UzACh7OlevHB6Ed37riBUbPRmc9B7I,3031 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml,sha256=c1l4n4auh4n2Os81ZmYidc7qFM0vlzz06XJME0CNcHM,2999 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ItemDelegate.qml,sha256=K76eMupJHKp7vOAwZMs-kynWYKAeEHzWvirWK9R3j-I,3649 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Label.qml,sha256=zDJk3g75QWyGnXc27lCjAxDiZ9bsiQ8950Hlam02COE,2013 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Menu.qml,sha256=unKP5MdU_Kim2bGgihFJKP4ooP6_lH3zue60YFit04c,3188 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuBar.qml,sha256=x25tJ8LlSZJNYm8wNeUMastcgMHif28uVj3It60H3Ak,2568 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuBarItem.qml,sha256=rHP04N-_sWm90O5gTT2nCpNcgTJi9JEX6dnvfO-cRgw,3579 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuItem.qml,sha256=rQC6Eb74AyA7O2jQjBfSa0hIVGhH0-3XgC2Wim7MNyM,5073 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/MenuSeparator.qml,sha256=vkLRvBlrpuKEnAtTb1uLlTLPmiEriDjojEMeMTXwQMs,2533 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Page.qml,sha256=VOS-deU1W-H-IuCxbFH7gfl0r5_KTEh9eOSsStORshQ,2585 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/PageIndicator.qml,sha256=W0LT6Bff_vIPMyi7tz-J4R5S8yxTWd6ZnYmLCdd0f_Y,2769 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Pane.qml,sha256=CerOAyDOPiCtgNL7Op5-bx1CwOsvhMLuVpr0NF8bKMs,2312 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Popup.qml,sha256=_NDM9ftueyD_sG56pKD0nBi7alyDKl47XQ9y64_IV-g,2618 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ProgressBar.qml,sha256=yrrY9lWe8KONh6XHv4UEw0SLg2T8u4ykgQGY0050_5Q,2783 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioButton.qml,sha256=0EXKw7s-sY9VXBui4Y240p8LoGGOHAMeQw1OD-syJcQ,3234 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioDelegate.qml,sha256=qKDG4WfKIVusytnjQ9EaLyWZCciOOx3IityLBinVJhs,4189 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RadioIndicator.qml,sha256=5EMFzFV5A2HjJ-6aTgMjEHCEi51gb4VOakNjgxCrkb8,3462 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RangeSlider.qml,sha256=xu6AqoVvYYw_63d-uWwymue1fSxT2ZC8NFSLTOq2jJg,5735 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/RoundButton.qml,sha256=SDAWUGPOpGgw_jfd71aVoTcvOtzltAzZehd1OQTj0JE,3650 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ScrollBar.qml,sha256=06LFKitOMcVF6r6YIjq7BGpCC0b7kz_6xHhQFNO69Y0,3798 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ScrollIndicator.qml,sha256=MUCdx5GrlpD5rLHFWByeqmAYfBIWmiSQMOwKItB63Wk,3070 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Slider.qml,sha256=TiXpx79SgAZ12TS7JLXyu8e-6R8LE5yub5NNRT41Tqc,4658 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SpinBox.qml,sha256=RLCWtEFefLGQgvWAhuD14XJmlPIGpDZIcqPDYJU9cFI,6648 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SplitView.qml,sha256=sF2i-YJDLWvudgTdBODo_11c0WDkFWpxwnq38df8YZ8,2682 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/StackView.qml,sha256=H7LBd58wtDHSv_NZSNt5mrQJUo85dC8jJb9WAeXtt-w,3388 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwipeDelegate.qml,sha256=oYRbIfn7UWPgDb4MLrZ2GTDcFcvQTSnGJP0HdISagb4,3841 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Switch.qml,sha256=QdOhVk8N8ESlQcvPlszgQExpCbGYwYtfemsHnnZu28s,3230 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwitchDelegate.qml,sha256=YYOVKnjpUT-QNDJE_3-5TtcfwkMpUz-8-YPxOnOAXgs,4191 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/SwitchIndicator.qml,sha256=tD7az7yRVQI2l1znfOHsfwphHkOZxkIoS7vENBniQyI,3749 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TabBar.qml,sha256=LtEGDI4IhuNu9jufOkAddel-9UwW8qnzst2EY9AToBQ,2859 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TabButton.qml,sha256=E8aIAFodOKlD5MlxgUBn44j1KI8eryUyRO5ETkRW-Wc,3082 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TextArea.qml,sha256=VB6I-piefVaWHnlpZF5NpABLq3NC2b5aU0UscWsFOBo,4336 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/TextField.qml,sha256=vJvjIDPsLvXJ_xQNfyHRKyk1V99v0oXPRn562JXSDlM,4319 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolBar.qml,sha256=MVGehulSJifEK5VoUiYhPO2ewxKZegDVUphHAJ4OZ4k,2359 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolButton.qml,sha256=6zU_fvy4x34e0j6mEv7J85TUldXaS-OoUc_5siBywjk,3315 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolSeparator.qml,sha256=QvtRTNksnIeoDt5L1kh1jPVPdMwF0zOKt2Mm-8TQmh8,2564 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/ToolTip.qml,sha256=jD9KGtSAuBk0qRFxxn1hZR85yH_f_vNIBF1JLm6tMrY,2919 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/Tumbler.qml,sha256=OxeVikrdvVc2Ww7kGt1PP4DxzrNcno_xJo5wa3ruatk,3319 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/VerticalHeaderView.qml,sha256=_roJrI8bnL2lnQ6sSraERkFMByCm_uGTUf4coaEmEuA,2996 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/plugins.qmltypes,sha256=NCJXjv021CRobw_qWKbbbivmBt60yjWEFD7NI9k5lRY,13897 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/qmldir,sha256=EVA0Tt6xV_qgKajZOnm2xtgOl7SS1n8atjbvsVbnsZ0,158 +PyQt5/Qt5/qml/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll,sha256=Ysyx4QRzYUs3lOK3Q4XxmUT_G2yyN37PRu8wdFPCNdY,606704 +PyQt5/Qt5/qml/QtQuick/Controls.2/VerticalHeaderView.qml,sha256=HU8_HQ27jK4NOSwlVoicljmhpRsFXke9qr7b0zvUqTQ,2833 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/AbstractButtonSection.qml,sha256=gYVSnRQjUGi80EOt9ViA3-UEzqM4cEnr6sxT3GsFCUc,4189 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/BusyIndicatorSpecifics.qml,sha256=pvc2wnE7CPaqpctRAZ-7OTrGxXt1715ABdKe_0ipKpg,2627 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ButtonSection.qml,sha256=HVcbq6uwTOX-VbHQ8d02LqzDBL3nEl3tDSGNnObfA8Q,3105 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ButtonSpecifics.qml,sha256=nNAjeEiOjdyJHLwedxi-GXCIpijQcQDtLWdrlY9XuB4,2192 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckBoxSpecifics.qml,sha256=OdwEZgwvT8ApcQmLniYaL3EjiHxWX1JYInjdubd3H74,2226 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckDelegateSpecifics.qml,sha256=FQ_Hrer0dRzZFEDGng2WcfFB5bTEOe-IbchjJWJBqJg,2296 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/CheckSection.qml,sha256=cKbf-acjtOLzEu1I9bqOPsfGQlL69N1WU1kpTSaolng,2661 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ComboBoxSpecifics.qml,sha256=e0prqPFlzq1yEj-bw-waUsrLq_yHBmvzUs8jMKxU-jc,4090 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ContainerSection.qml,sha256=_RnY7R1h-D1n_DY8LiinY3LN1NiM-akOuy901eX9CaI,2336 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ControlSection.qml,sha256=-nn2jrCR2KcxK58mJGVh_YVY6JGVGno0F49wjj9ACDw,3881 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ControlSpecifics.qml,sha256=NPFOWzbeAXQNyKfFcf-M5lvOt_xMJvkG4QwIdztkSuY,2066 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/DelayButtonSpecifics.qml,sha256=zkUZbksEKCaoD-FT7cftZ5bRmRXdobkcgs3tMxhOEgQ,2736 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/DialSpecifics.qml,sha256=a4zCwGGk41C7E7nBK_TKr0yPdNtuBURc87exVtax8Xo,5949 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/FrameSpecifics.qml,sha256=s7qCD_hr9e3nEWVDNCOTqyJ5wt6zfCPOPSQKHxFPFu8,2123 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/GroupBoxSpecifics.qml,sha256=3tvXeosAJ2K1pa62Xjac99qpdn_mg2DV-GVMxgVi_UU,2579 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/InsetSection.qml,sha256=ei_60psZ8LPS4NNppEk9ybfcykF5rQHlobzIyHaFthE,4075 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ItemDelegateSection.qml,sha256=GNoUyRxxD4z6acZ2ED0mIc1-D7ojx1v2QOHtN37oujE,2321 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ItemDelegateSpecifics.qml,sha256=ggfGA8neUdmVQwLdnfVZod9w4KllivYmNyKbWiQ37sM,2198 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/LabelSpecifics.qml,sha256=locBuTGVH_edzwngfVapHlD0AJ2ZKGyitMNI_DVVBII,2823 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaddingSection.qml,sha256=vtWOukWF8oDvvVhp3EcwvbxGhj05Lby-buMkGvCGCew,3681 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PageIndicatorSpecifics.qml,sha256=QWwd0cDgxALBIozbBS37EhA9N2IOctcNF2zR4_LmB_Y,3464 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PageSpecifics.qml,sha256=Oi0GKQUovZC7_uflMid1QzQLwzdBlwvh8M17dD9i9g0,3512 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaneSection.qml,sha256=oQUXOY6NyAClh9lL-GWMBYCpkRWADn641tr4sNnFmIc,2819 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/PaneSpecifics.qml,sha256=s7qCD_hr9e3nEWVDNCOTqyJ5wt6zfCPOPSQKHxFPFu8,2123 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ProgressBarSpecifics.qml,sha256=lNqwalsP1WjlueYiqcy3JgfTcdGEmXDdbbrjNV0dNxI,4195 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RadioButtonSpecifics.qml,sha256=B5Ed_0sxKN4p-4MiOniHj56XLzWllkKYYcfqeVaSOy0,2133 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RadioDelegateSpecifics.qml,sha256=ggfGA8neUdmVQwLdnfVZod9w4KllivYmNyKbWiQ37sM,2198 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RangeSliderSpecifics.qml,sha256=asY5tfaFh2KuH5OKpkkOsi1Ix3fHDZuJIxXpaDxideI,6769 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/RoundButtonSpecifics.qml,sha256=gH__NPY__dINnUEMFwwchUzMs6QMrlBsvy7tOLOXYKk,2757 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ScrollViewSpecifics.qml,sha256=z7uD24dUHn7frZS8I56-4pXGDi5AyP5dsI-9Ixwyi_I,3195 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SliderSpecifics.qml,sha256=DZ1o__SjRduWT5sV1xJjSI6kgEUlPp4e6GTEd9ZTqy0,6079 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SpinBoxSpecifics.qml,sha256=ZksIv7zVjdQG1_h2-lf-_eoGpwm_9eAzYT2QjQYi11A,4921 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/StackViewSpecifics.qml,sha256=NPFOWzbeAXQNyKfFcf-M5lvOt_xMJvkG4QwIdztkSuY,2066 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwipeDelegateSpecifics.qml,sha256=ggfGA8neUdmVQwLdnfVZod9w4KllivYmNyKbWiQ37sM,2198 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwipeViewSpecifics.qml,sha256=8Nh75kEhOw_4kMLkBp4yaBqHRkbzllycaSfTLeeDNdc,3100 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwitchDelegateSpecifics.qml,sha256=RbM1BfHdu9vjsg01EXBq3_4Uo6QRzq5svpLM1Lc7CmY,2141 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/SwitchSpecifics.qml,sha256=B5Ed_0sxKN4p-4MiOniHj56XLzWllkKYYcfqeVaSOy0,2133 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TabBarSpecifics.qml,sha256=7u8nJlC0ifRDGbVJBXVRWpjOUKsEUDQCu5uif19Watc,3675 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TabButtonSpecifics.qml,sha256=B5Ed_0sxKN4p-4MiOniHj56XLzWllkKYYcfqeVaSOy0,2133 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TextAreaSpecifics.qml,sha256=x-2Wx81FSPaOVfDwPc8eThorodhAyTq-iaCaFBu2JDU,3437 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TextFieldSpecifics.qml,sha256=pKRnMhtKLe-5PzdER9Oy5ZO9C2EnBIq9MGQqMrCDP_E,3338 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolBarSpecifics.qml,sha256=Pw7Fuag4zRVbpEJqfZGpgw0wC7LsCOBGhViYFdeiDBw,2670 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolButtonSpecifics.qml,sha256=nNAjeEiOjdyJHLwedxi-GXCIpijQcQDtLWdrlY9XuB4,2192 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/ToolSeparatorSpecifics.qml,sha256=BQpIQEmHHHRRErHMMhvx7u9hdI2Alwe1yx2UZXjWfNc,2578 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/TumblerSpecifics.qml,sha256=WMXSRy49NnUEgahhfSIvimZtrPxcE9guQljY3lqawZA,3510 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon.png,sha256=AuD6mCVIltgOZT9iI2cOyvWyiekya1ad7aaPubOpJO0,320 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon16.png,sha256=JzM5e2VeXOXuOKic5MR-YIzEOcYUeRkcx2njyyBH_Kw,229 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/busyindicator-icon@2x.png,sha256=4M3VBnQGp69ywzq6i7593LZ7NcOqIyylOPAkPTX528k,643 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon.png,sha256=i1cK_Pk_n_fSKZ0WidNytX35xDKUbCjsVojUNwcN2MA,162 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon16.png,sha256=vr3uhIzxtgQdX-HgCwZKoW98_1EXo7pyUR5w5pxSuIg,145 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/button-icon@2x.png,sha256=gsGbMbsK7XVGqnGpvZCcgQVtcsC5HAtoRvQnvcA6c4o,259 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon.png,sha256=ExHdliPUdvrSbsgsZiL1IYHoxVcwnTsOS5ZEEK5J3SQ,258 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon16.png,sha256=x5tLnDx8lcipp_OHt1ZQA5BKuSdU2Ai2O2A2lad4K9E,230 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/checkbox-icon@2x.png,sha256=gUl97GEPukCStv6nCImO9TeMVWz1BUfbdF8NK7CxXg4,336 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon.png,sha256=Eznw7mevSBcwJGzebCKU51OJy_vYiufpLpeOJMVHfh8,156 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon16.png,sha256=XIZpu69TE1zZqQjH3pCnZeaqYykdTzgYiy_YzrfULrM,155 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/combobox-icon@2x.png,sha256=KlW3KjvEKrApL74SWeJ_T637CMGdsqYBJSOqj7IhylI,185 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon.png,sha256=moes6FiETOMCF-aSJ0-W6wZPw-o6_XzSLnNIG7c_PTw,189 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon16.png,sha256=9iq1VzlQFV9Srht5EaftVH6Hd4WIPXcwfNWVPd-qDVs,160 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/delaybutton-icon@2x.png,sha256=U_A4Wx5ayg9sr104iV7F9doa-2H5m-j82ghttENCut0,286 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon.png,sha256=uSB5KWW4L15qYFBYTK0jF36uA81TFwOFjJfH-eFWKx0,267 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon16.png,sha256=XTTBiXCtuhxuHPS_8dEIaWEPnGNFZuZHZEc9yXjNNYk,243 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/dial-icon@2x.png,sha256=jlhl3qUOJkvEVKR0tfkpAqD3vtqihB9-lnuKl0G_4Wo,505 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon.png,sha256=NPosRXTTZA7HGrKjge54GZXkdyoGCvpr2PubE1dyGKE,121 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon16.png,sha256=L4qBbUL9X5HGEGyJ3O55NpfpgBQZz5Neze6QJGPicg0,117 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/frame-icon@2x.png,sha256=RXZo_HUEKDvxF3ke3D75AYGK6Fc4f94dDh8XtCB0EmY,125 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon.png,sha256=_5Iwk56v38A8Mfbb-bQtyOX8bnaQRji9CvBGErtsPYg,133 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon16.png,sha256=m6pR98Ljbm-2iuJfQXA06cv-Z6cmPVIaOTBKNs6FgaM,125 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/groupbox-icon@2x.png,sha256=i_quhGBqO5glK7kDbxNXMPb-xLSXaoMkWdrhAUAl84U,136 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon.png,sha256=q1-9Jlpp80pKq_BkWUzl3Z20l_ngt4EJu7bK4kjuLm4,127 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon16.png,sha256=LtSeXRDz7_aM1X-fXKGOFknXnWRDDNDCfC83nDHixbo,124 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/itemdelegate-icon@2x.png,sha256=Nc0ZBkdYnQBCfgPzR_uaDmj7qhjzVWOT-KmXjIMoe7g,133 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon.png,sha256=5mgwIzNx0h4N0WE-TNloyK3d3ThFncozLrEYTTAAWy0,206 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon16.png,sha256=jOX6LCJ9V62_m2i6pCo3ZdgeNOgzLEE-SY6YkHS-hwE,182 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/label-icon@2x.png,sha256=zLw2vjG6W1dlcHU_qSGBuIfpoEj5FVssxjC63y8imz4,284 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon.png,sha256=ZxVx5RnVE5P2fH72Flq-3yy89qWt7HYNYvdHdzN5FhA,190 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon16.png,sha256=oRBLfElzZ7BU6nu3sTBCq89uJwG1tP0tMuTwwojGHIs,148 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/page-icon@2x.png,sha256=RwwHzwfwLtKRdBQzqtiKuA8ex2cdZAPew9dPfuE7uAM,195 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon.png,sha256=9GT6W7wg9gRxoXR7RV-1mCw043hgKFjrxUooEo1Tyq8,179 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon16.png,sha256=xVGY-qzO71WYKj7OvlTuTaXGAt4_JfHKin4ORzkKQtU,158 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pageindicator-icon@2x.png,sha256=9209tuifk7ipQid5Hfdnk0HEK6ocgdNikLDD6rbLh90,207 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon.png,sha256=9oWkjszjhuE1YxvqUCHZUrdvED2VkcXwoI4-4SgJUQg,93 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon16.png,sha256=Uqn9k7k9idUhedWUE9nmbDDk3LdyUX0nebULMz2L8rs,92 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/pane-icon@2x.png,sha256=ty6bXN18ySKBelEeRL0nVzho73hBtFakwi_5_GEJLTo,96 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon.png,sha256=az8do91MosuEFkBwZH0ozJ-ySQ6KvOwkY56n9PN4n9g,101 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon16.png,sha256=0ml5aCmalq7NkVwiiR2y4l8wWbudWk4gfs0VYRX80qg,92 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/progressbar-icon@2x.png,sha256=p-Z_IZhG1Pggxk8sa-fFjJpfBI7Hje-btjSg3ENHmEE,127 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon.png,sha256=p4EXywIMoV8Cs7zP8mguXdU3QIIIcuSb4PWSlGF52XA,279 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon16.png,sha256=VtGquyQDkPOvMyJ89HVy3bYEtVgRRHOd7rQipONZgYI,218 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/radiobutton-icon@2x.png,sha256=M6V7KyEOQADHMgDrYurk4_21PnUvL8jO5QMsKWfSvcU,482 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon.png,sha256=bxtfjZQ5mhuzcteLlYEBYh0EwgMDJNzlSNVw3BQKno4,269 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon16.png,sha256=aGTrWQ7N6hneql2dhYFk6fD-1ls_kvy6-08fK2eL3Kk,231 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/rangeslider-icon@2x.png,sha256=LNvahzLhU1aMFeCIqGWoIvl0OxtDfH2xNBwpFxmfKK0,282 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon.png,sha256=mbm4AxK43q9rnzmuPZvtwgU8E-YK9giksEl6wwCr7Vc,229 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon16.png,sha256=2-s5k4HyBcWfoltf7umP-q90TqSjOa5C86SXqaQe8u0,186 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/roundbutton-icon@2x.png,sha256=0p4teKle_KuoOR6jWl8cCXvmZr-Hj8uy2RJi1gAhMSk,381 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon.png,sha256=lcORIgthbpczqdT7jGdUMAad10yjw35N75IVjDobdeI,110 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon16.png,sha256=OCgky0lo44SxqF3moiLr8261aR9Kc25yk1gP5iqfqoE,116 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/scrollview-icon@2x.png,sha256=BG6R4ZG02584xjEAT_Jhw6OR7WvRCCH8vXWjZ7mQRcI,145 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon.png,sha256=Ymh6YfwI5IhWP3be7xw9-hOk1GsbKYntC46XuOooaoA,190 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon16.png,sha256=ofPkxbOVXieuJrlq02EcaOo6DIIfeeJuMDcFD3faMNI,156 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/slider-icon@2x.png,sha256=4lSfPt9_BZxzhngKy3uDcoIiZxPfjjNeog6q5G1VgpI,227 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon.png,sha256=pLYlz4qVFPsJm_bsELs-PLhe7Bll5VnH0qlFtMzp-gc,144 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon16.png,sha256=itI_yBz1YYLF2KcL6SVTneMbzqDytrVLuFkqca5jRUU,151 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/spinbox-icon@2x.png,sha256=3g2NI6FHGQ6aWh2XgolT0qr3OTgDO-XGSL1iHM6FM_A,178 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon.png,sha256=jQ7ES6U884HIBiSu8Yzolicwvm-OvhWJDLMqC4w0d7c,162 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon16.png,sha256=C-y2-1aQjW6ZI2k_BoXQ0D6KFKZaA7gjdlkUuusHvys,151 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/stackview-icon@2x.png,sha256=ixlq_6Ehs0I7LlUrbAAPTfQZ3OqThHB95avPXrbSZTQ,167 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon.png,sha256=5YVq1PqVy7rUn40zcFVQp0pxj9s5jrgucX7Yt8gvFNE,163 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon16.png,sha256=mN00gGCJQ9vP35w1UITwOYi9ekeVZME-7lK2A9dEyQ0,152 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/swipeview-icon@2x.png,sha256=xsy4laH7UUIyl6AhlOTZoawuWnvWkJA_7KRYWC-Q3s0,184 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon.png,sha256=yPbUyxhpdQtRLczppgX-liXt12EXJT3EG64MPU3LDJc,205 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon16.png,sha256=hpA5OlGHAM7QDaEyLCQ4um9kmMVK_cMJVg6N6hqVMRk,160 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/switch-icon@2x.png,sha256=d8u48iOoMFuAQV6YJ_luLv58AKGpR-NtMpdx-_kCgqM,314 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon.png,sha256=WiZtcAAUlsLqkRI-pZUig5QlfpN-DfGfPz6V_6AKDEc,149 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon16.png,sha256=QejiUqvspJvW778VH-AqzxIP6reYCHXUbupajmWdlmo,133 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textarea-icon@2x.png,sha256=9RzhM918su10yNq4XndcRucFv8kdYhKo0EsMVDLIIqE,163 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon.png,sha256=3QRT_QT_qa7fWqyXj9Ty4iEH-0bW8oacusTeWQPhUAo,154 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon16.png,sha256=mo8-sqFOxVF0lfaHQCNR-74uBqBEAdA9KU4lRJE7YvQ,147 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/textfield-icon@2x.png,sha256=hbjdvDcHiknxUfK_8ICzPbVLbgwqj-agRLg9mjFIots,172 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon.png,sha256=CRxg9rp0iZqwvSr8RUdVZZ-n07QKmh8fLo_1V6vKaX4,131 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon16.png,sha256=tSZdEkVAoD4fp97DFgshCwukglfScrd_L5jMF6zRx1Q,114 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbar-icon@2x.png,sha256=KGp-X0fB-PZwCP8TQ-zjXNUjauloLmVWOYxNGWgrJAY,140 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon.png,sha256=kl1sH5NJGbWeHz4UKy56OLDU9tXKL-Z--38jeyLDAKA,141 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon16.png,sha256=FYx1NTHXm5J804QSVoj6gT1Cgsyl0je-fom43Wbn_YU,128 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolbutton-icon@2x.png,sha256=q2SOOJ7EKCdHMA4AopOh3X3bVvY-Iy2iQdm2amYAlZA,158 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon.png,sha256=sRmP61AlVKJU-cHz2GwZNOeTh2YGzhkjRY0IOM4e8RQ,111 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon16.png,sha256=t7ABD0X1hqJCJfB1dq1FaTJ-6UjFHFj3dEXGcJYixfY,123 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/toolseparator-icon@2x.png,sha256=W0Gy9TZ1FrCBOeMRUKxIwWolYTa5bC0z7Lu1AqqCQOw,131 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon.png,sha256=ZrwYsPFpzzwXwe6Vk4tOal9RdZSneZg56yRGjwXqBRE,132 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon16.png,sha256=36f9DcpxLHe6tBYebo1cLf7tdtO_11t6GUv9WYjrVeE,127 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/images/tumbler-icon@2x.png,sha256=fS7hXcIpeuTG43begVewDxNh_JP-N0sqFw9LnS-QUQ4,153 +PyQt5/Qt5/qml/QtQuick/Controls.2/designer/qtquickcontrols2.metainfo,sha256=PvnetLp_Jfwv3GtiUNqDuNRtvYr7k-k3jYVWg_yRjGk,15567 +PyQt5/Qt5/qml/QtQuick/Controls.2/plugins.qmltypes,sha256=hq3EPS-w46ySXn561UXHcdXLRUI_DjUtaMN5_JogU2A,33341 +PyQt5/Qt5/qml/QtQuick/Controls.2/qmldir,sha256=e0BBdbuOKw04IudTIMjW0Jxhu1P0UTwjWn0ErH00_Vc,140 +PyQt5/Qt5/qml/QtQuick/Controls.2/qtquickcontrols2plugin.dll,sha256=JvEMqNlEbXXQpzsjFAS2WRkVEJO-avPqLaRpftPBVfk,646640 +PyQt5/Qt5/qml/QtQuick/Controls/ApplicationWindow.qml,sha256=idrLiAeY3kBDQ7fHxgGWTqnbjJTG2A6USI8WtMtoehA,10075 +PyQt5/Qt5/qml/QtQuick/Controls/ApplicationWindow.qmlc,sha256=6eJwqwlR4aGtx1Vxx44BzBejR4nh4gDJVqhrYNyCHAk,14112 +PyQt5/Qt5/qml/QtQuick/Controls/BusyIndicator.qml,sha256=X4-5Xe4SQvqYHAIB2C4AlIgMiPmOu3UW1faSpjy2T48,3172 +PyQt5/Qt5/qml/QtQuick/Controls/BusyIndicator.qmlc,sha256=S7DkXU6JIDB2ol-4KWHQUR4KRiqBgApiyNCvf-JGQVI,1840 +PyQt5/Qt5/qml/QtQuick/Controls/Button.qml,sha256=4w8ldICbSj1oBM1kBf1WoetZ8OvWP8z63ifMEuRcnqo,4722 +PyQt5/Qt5/qml/QtQuick/Controls/Button.qmlc,sha256=V_aek7dAwhO7XywK_Z_Zpezs5yRG2nI3t_9FyXKoU8s,6288 +PyQt5/Qt5/qml/QtQuick/Controls/Calendar.qml,sha256=1bw0O3mAPbsfKOKp6IYU8H25LQSruyyH35qD3_R_wCE,14053 +PyQt5/Qt5/qml/QtQuick/Controls/Calendar.qmlc,sha256=CpSJ7BjV1la6g3qZe8Rnbl0tK1Futyf4K7QLTDQj93o,11360 +PyQt5/Qt5/qml/QtQuick/Controls/CheckBox.qml,sha256=wpcvhcpLzx1fETZORsKX1w9hH0P3YY_X53tCE2PjpL8,7217 +PyQt5/Qt5/qml/QtQuick/Controls/CheckBox.qmlc,sha256=EcgDA0Pxo3Bj7fWrE-XdD07c-PpTzg1UBsaulDbO2Mw,5416 +PyQt5/Qt5/qml/QtQuick/Controls/ComboBox.qml,sha256=7I1tYgMdFkjaD3zxdOf9cHr3POytOnsdU7tv8Gzubu0,26551 +PyQt5/Qt5/qml/QtQuick/Controls/ComboBox.qmlc,sha256=zLSFElLbZHqhAXplQn5TP7CnUPXq5zSpL8bmSGuw604,32600 +PyQt5/Qt5/qml/QtQuick/Controls/GroupBox.qml,sha256=Ejxkd3PV2IWj2y9eW7-xO1HyyIaXg860jV-Tyw40AeM,9280 +PyQt5/Qt5/qml/QtQuick/Controls/GroupBox.qmlc,sha256=PFSMR4-3Ar0jFwxIihC2DbFPhQbldUBQwg5xkZ66HhY,11916 +PyQt5/Qt5/qml/QtQuick/Controls/Label.qml,sha256=8p1vnTUfcfzZBplsajN5WJMz21PoZyeL0P7cZQSprkw,3212 +PyQt5/Qt5/qml/QtQuick/Controls/Label.qmlc,sha256=x0kKRF8eCEPijcwNagLiSBSWI-A7my9Qi9krH6cr4-U,2456 +PyQt5/Qt5/qml/QtQuick/Controls/Menu.qml,sha256=4N9-e9ZCqlNef_1cGz6joeIByAtVR0mwVIOr4yLmI_s,5447 +PyQt5/Qt5/qml/QtQuick/Controls/Menu.qmlc,sha256=NpDu6rbBPwndq2kfET-ObZNsJUjlz29JFkdlqrOvMgU,6360 +PyQt5/Qt5/qml/QtQuick/Controls/MenuBar.qml,sha256=0AMZw5xdiroy1IDop1Q7fpspE5Uf4kA3xdyJ7ff3sIQ,13079 +PyQt5/Qt5/qml/QtQuick/Controls/MenuBar.qmlc,sha256=qubsBsegBAL4HJHrp26rbKkoQyI0QiVG-72Bb4LptZc,25688 +PyQt5/Qt5/qml/QtQuick/Controls/Private/AbstractCheckable.qml,sha256=8exrNiC26ws9Q1zpJgf8PmoilxZZWTi1ui5ha4-tW8g,6050 +PyQt5/Qt5/qml/QtQuick/Controls/Private/AbstractCheckable.qmlc,sha256=o1qQ2jDQvYV-TnSjozAPNipmbmvJ0Nbuz6D00Ui8SEM,8988 +PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicButton.qml,sha256=FlG8nAvMMhv8FGLU3mpRAH3JM7FZmAZGZW50szziOdc,8298 +PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicButton.qmlc,sha256=u9U3KigBurLFYOhz68rALaqa90SrjLZ5GjHl0plewRM,14344 +PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicTableView.qml,sha256=0cbwQM3ceEmNX8fi7jsqiulPF3LwSvd-I0n2C68Ykyk,33191 +PyQt5/Qt5/qml/QtQuick/Controls/Private/BasicTableView.qmlc,sha256=J-4-_X3SrAc753hbQmuck2t8dD4gBo6cW2PwMm963LQ,49500 +PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarHeaderModel.qml,sha256=9OosNUYvdrFCIx3IO1NrH5PwMDeb4RW6oTGTTKtNgCE,3841 +PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarHeaderModel.qmlc,sha256=vYh34VLYTEIuEPQW4Ztgr9IOhQs7Z03TnXouFrLFaUc,4668 +PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarUtils.js,sha256=ceeyIK-bYrLryu5bk9Q1xaM7xoSM8p94W84IKFjBAKs,5714 +PyQt5/Qt5/qml/QtQuick/Controls/Private/CalendarUtils.jsc,sha256=ByWN-ianEcc7hmCjVI5ttnCZ3lDWP1d4rCyvzTG61d8,3384 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ColumnMenuContent.qml,sha256=l1u8gNovG9BX8P68j08vTLpzCHXyTx3RqxmrnBQkFEw,9417 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ColumnMenuContent.qmlc,sha256=SOO5JhQmlteXzfTCYZu6YmM1mvsROM4jSj8CIxB2-Jg,21192 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ContentItem.qml,sha256=6ryDIr4mNkYhq7BVyPxgVnSW8DKDzLKd9SKC5an8HLI,4611 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ContentItem.qmlc,sha256=tpKgF-TDsfZpoFbbnkO2xHiONTYYUoo3NfIUEym1mXw,6476 +PyQt5/Qt5/qml/QtQuick/Controls/Private/Control.qml,sha256=rmDHYdFt8c_DMI3x1gDVrtQDuVN3tWuHClsIr5_uR2o,3391 +PyQt5/Qt5/qml/QtQuick/Controls/Private/Control.qmlc,sha256=kw_Dk2aSS3Dh9Yw4ho15DVxOioPgIWvyyVXvMvHK4l4,4768 +PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu.qml,sha256=RrY9kP80NkRQbXiMbu65mVb1Wmy-KX3dmY_HQ4GWuWg,3383 +PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu.qmlc,sha256=ar1Df-OpL_68A-MjeEFoljkIophia8kZ82zSumOrrLE,4436 +PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu_base.qml,sha256=B25HFES3pRLQ0Z85ttyDb3pQ1QSQWcsmoK7MzN71VDk,5989 +PyQt5/Qt5/qml/QtQuick/Controls/Private/EditMenu_base.qmlc,sha256=-tZIcuvPQ6k27w8qIjrdCFoBxErFsl0S5ZNG65wZC2E,14016 +PyQt5/Qt5/qml/QtQuick/Controls/Private/FastGlow.qml,sha256=VF3o8WTKX0nqc_eggwX7EoBrx7JlT92bCxTCdb90PPU,9830 +PyQt5/Qt5/qml/QtQuick/Controls/Private/FastGlow.qmlc,sha256=-ymSgQ6o4vO2PdA-GzTzcqRUyqXt7qjp1TtXkVC3doI,21368 +PyQt5/Qt5/qml/QtQuick/Controls/Private/FocusFrame.qml,sha256=pMbwkE_jpCiYpKa2YkkQda5dEKggFyBYv4jNFWxzOyw,2653 +PyQt5/Qt5/qml/QtQuick/Controls/Private/FocusFrame.qmlc,sha256=hBB9mn1V5_oOGF5N-0P-6mvMUZUv_GUIYyxjaMb5xiU,3948 +PyQt5/Qt5/qml/QtQuick/Controls/Private/HoverButton.qml,sha256=837myBpAIwnMSetpqVAKQeebRmDrjYZV4x0u5lVxQ84,2931 +PyQt5/Qt5/qml/QtQuick/Controls/Private/HoverButton.qmlc,sha256=cTrmKbu42yoUztk19fiGR7U8hmP185Mk1k9EIDQOjfo,5640 +PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentItem.qml,sha256=zRDiOBLJnrY_w0wiao-nOa5NKtdRu8Ny3jf-HY7lU8s,11186 +PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentItem.qmlc,sha256=KG1c5jsB3yC8f1VZNJa0_l31Wlr5TdXN_T8ZQS3NCP8,26160 +PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentScroller.qml,sha256=x-xUQEwxaHJr2MhO384DABOcTI0AM97ebHW9vxgzAyE,3156 +PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuContentScroller.qmlc,sha256=egjwv6FnpnfUfPUn3SStqxk3mp_FM5RAOen_ik4LaBU,5160 +PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuItemSubControls.qml,sha256=dufxcP4VfHjn2ALcB5jK_XSbW1UNKj_esmmfvJwLCas,2220 +PyQt5/Qt5/qml/QtQuick/Controls/Private/MenuItemSubControls.qmlc,sha256=nXRQ6uFjpCJErYt2Crb6QTMWCn3G2_08Cqt3F-sZV90,916 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ModalPopupBehavior.qml,sha256=rSJr-vRU4_wUcN_fSHBgvMTOh8bB4E-fQdP-4rFjGV4,4605 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ModalPopupBehavior.qmlc,sha256=OOiBAv9gR5hlr35KYsteufUiQJlyPPZEXde51bJtg3M,7412 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollBar.qml,sha256=D19Rz-6D57q1E_av8jKVilSVLTjWX8arUtCoc7_sgHc,9203 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollBar.qmlc,sha256=jTq8g6szCnsDfEmo77ln8k9w8gHHCjhOw_1B9eZpxpA,17008 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollViewHelper.qml,sha256=yFDuTzp65Bg0cAk5zRWYRdm6st08FaH78Ljstlg0LaE,9257 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ScrollViewHelper.qmlc,sha256=QKnZ8d-SgBs3u8KdwT22TOKwlEYUzNPPhxHBep_YLkY,20956 +PyQt5/Qt5/qml/QtQuick/Controls/Private/SourceProxy.qml,sha256=PDNevGCmDrzqOypGijQbKvOTXfCriPEI9Rem3bHk7ig,4873 +PyQt5/Qt5/qml/QtQuick/Controls/Private/SourceProxy.qmlc,sha256=89rZTKjcnO1NC1U9GTsstCxH4P2H3rBE-ENoCmJoSls,5700 +PyQt5/Qt5/qml/QtQuick/Controls/Private/StackView.js,sha256=SBgNNeNn7_RoktmeW7BSEPCTD4fxqy7hLJ9kIojgODY,2361 +PyQt5/Qt5/qml/QtQuick/Controls/Private/StackView.jsc,sha256=l3u9an5zHcKMzhw2rSUWqHEwMgYJA8Hal7OLcgO7Wy4,1224 +PyQt5/Qt5/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qml,sha256=obXJdYJbRTxagPLElplVx8CvWnGry2Oqyfwasn17qgA,4863 +PyQt5/Qt5/qml/QtQuick/Controls/Private/StackViewSlideDelegate.qmlc,sha256=bkiK8SmWg92e9jdnhdl2fkmhTvzKpkc4mHtaORlCLWg,7956 +PyQt5/Qt5/qml/QtQuick/Controls/Private/Style.qml,sha256=sY6d6fvXt8yprAi6rVIWxpUULN_MQbfK832VzUi8U68,2266 +PyQt5/Qt5/qml/QtQuick/Controls/Private/Style.qmlc,sha256=wR6i_c7ZuhE59GOiYc7C3ONmadZEFjFO3jjME00bPFQ,1052 +PyQt5/Qt5/qml/QtQuick/Controls/Private/SystemPaletteSingleton.qml,sha256=5W873P2HnIaT-qmiefBZ2TICyhfKJG1dGoMc8Ar0IIA,3425 +PyQt5/Qt5/qml/QtQuick/Controls/Private/SystemPaletteSingleton.qmlc,sha256=kq6U3uRgNbTXA8zl8Ali3X4-evpmfB9PkkPaP7G2EAU,3668 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TabBar.qml,sha256=1_S4hsUN1-pqVO70jDRlDlrK_jA7MyBE0xYrodjpY5k,12756 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TabBar.qmlc,sha256=tNXQnmEstTBPTK7t-cj0y2NJIZ3AaiVLUDXXasdT1go,33936 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml,sha256=-YnMUmYpKK2W8mlcknrnqQMHFtK4syo1WN5Ipx82gFM,4634 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qmlc,sha256=hPv7T95RyQBFGDlb7RG7lHkVN7i7xK1EDrmbosRcIQw,7872 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewSelection.qml,sha256=7Rk1WRw_mmOj9hI4Oc46i4hp0DUISVg-3bbwdf_4ko8,7164 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TableViewSelection.qmlc,sha256=pZmH-D3P5uNsYYZdfyIFRg69Ht_kC7fOkla-cZj-fMQ,5852 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TextHandle.qml,sha256=W3qQQ8ks_LyShXnBNBUk8DTqyDdJT6Qg7coEmNUDQvM,5192 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TextHandle.qmlc,sha256=JRMMOTrMw5KIjYG6_r49Gf4gMVAiqYkQd_WvZSoxY2I,7640 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TextInputWithHandles.qml,sha256=KMRah_XM63rJ3v_WkQ-x4VY-Cy-j40kT07a9OwDF-4k,8229 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TextInputWithHandles.qmlc,sha256=OeO_vh71dq4YDkZ_zFUpbRi6EEYR7TpBEdqH0ZFH12Q,16656 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TextSingleton.qml,sha256=hknUEdsaa9Aq5jB2ov4rEFC69kq6y6lYkww-UuzxmI8,2020 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TextSingleton.qmlc,sha256=q46d-glYxh1kCI4XlpB5QaAYFBtpYzLNpsib41GdCYs,516 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ToolMenuButton.qml,sha256=ehNpFbF5zHX5UtHle2IiFqyIQpXgha7MCH05I_W1sLo,4615 +PyQt5/Qt5/qml/QtQuick/Controls/Private/ToolMenuButton.qmlc,sha256=MsjLgeVinD23dCx6bxr8e9LStoyhZamgRYTPnEO-YcU,10244 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml,sha256=6OCYpiK0HAkVKPYcYR_b_vUsncUMMkw1kbLob7IThPw,5059 +PyQt5/Qt5/qml/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qmlc,sha256=ahn0dquuTd7wcSFFWJpWb-UTIQHIpbpo8GkxX3xQ_z8,10400 +PyQt5/Qt5/qml/QtQuick/Controls/Private/qmldir,sha256=-kNGhvarxygT8ShaL-Et3P8PGX7XGe8rFVdoHfc5_-w,1486 +PyQt5/Qt5/qml/QtQuick/Controls/Private/style.js,sha256=4zfHMyWuGHYxcqMouBmwNub0LEEqd0VHMbFKxfBaHj0,2540 +PyQt5/Qt5/qml/QtQuick/Controls/Private/style.jsc,sha256=EBaMtnqO3o_J-tDHQpGAONW19wEOjlzFmVRJ4tE5hqY,1976 +PyQt5/Qt5/qml/QtQuick/Controls/ProgressBar.qml,sha256=TzW8Yliig7JQrEW--pxtacSer0gF0kqph95vhKTXPpE,5692 +PyQt5/Qt5/qml/QtQuick/Controls/ProgressBar.qmlc,sha256=NBjj2rnl6spAL6AQKKO8FkN8ObiGzFlzpxFtO2TBqUY,6284 +PyQt5/Qt5/qml/QtQuick/Controls/RadioButton.qml,sha256=aXUb8UAc0CdfEmmj_xJF6UyatglLUUQuhKB2F0LRJyQ,3653 +PyQt5/Qt5/qml/QtQuick/Controls/RadioButton.qmlc,sha256=Tt7cLHEn6m052g2X13jea70cnwvW34udT556yXl-O8o,2432 +PyQt5/Qt5/qml/QtQuick/Controls/ScrollView.qml,sha256=UIXVYiK8lwgI_socoWNLCVwsbM1mkfaTweutKrfuAww,14604 +PyQt5/Qt5/qml/QtQuick/Controls/ScrollView.qmlc,sha256=Dr-qnfViDtG1f_jZ-Ce0PdvQMVpIyOLOkmeRLnhp0gE,21108 +PyQt5/Qt5/qml/QtQuick/Controls/Slider.qml,sha256=PYEZiHsDCdgN1JQL2KcNHSFWHsDbHIqgnzwpWInH-CU,12350 +PyQt5/Qt5/qml/QtQuick/Controls/Slider.qmlc,sha256=gKtygw01VZl3GTDBa8BnSpFYti5tQfzJ18-Ds4to0ZY,18972 +PyQt5/Qt5/qml/QtQuick/Controls/SpinBox.qml,sha256=YaWRJliO2dCiqwt2nWGNbjRoYdqOlVYkvjgJUk6BEX8,13281 +PyQt5/Qt5/qml/QtQuick/Controls/SpinBox.qmlc,sha256=EZWKI__6PzBNONillySsaN992lCu6zY5TNToyLYHR_g,26356 +PyQt5/Qt5/qml/QtQuick/Controls/SplitView.qml,sha256=tQA3j6Zb53oPCP4mt3F4nZAlkbDkaQi0O3qqyAzpF4g,25742 +PyQt5/Qt5/qml/QtQuick/Controls/SplitView.qmlc,sha256=KEPNP99GtotVGl8jpX2DY0pq5U78mWV6tV2637fAQ5M,29456 +PyQt5/Qt5/qml/QtQuick/Controls/StackView.qml,sha256=VxURdarHBGMnSrzLzz5X4IvUzG58S9luNkbQPXxQdm4,43458 +PyQt5/Qt5/qml/QtQuick/Controls/StackView.qmlc,sha256=kUNC2w0DjcAlMAymIT53X2YgKdcBdz0Otbja1ZLLeoQ,16788 +PyQt5/Qt5/qml/QtQuick/Controls/StackViewDelegate.qml,sha256=aTX0QcwPq-UfEC9HSV9hrc7SoxxYipwcbQNiDJQKCz8,3701 +PyQt5/Qt5/qml/QtQuick/Controls/StackViewDelegate.qmlc,sha256=_83UrK6QBc54dkAeUuu4pIJ4Zg90e852nUbAl2qIoEw,1856 +PyQt5/Qt5/qml/QtQuick/Controls/StackViewTransition.qml,sha256=FOZWMjM-2f4V2H4TgSLnbLlC1eTg9Yd266Js23OVPgY,2535 +PyQt5/Qt5/qml/QtQuick/Controls/StackViewTransition.qmlc,sha256=xoMVkHvtoa_zweqmHYJsJfcWSYyaGjADy_XSd5vNCAo,876 +PyQt5/Qt5/qml/QtQuick/Controls/StatusBar.qml,sha256=pCABWa2ih5_znZStpSxk5dkQ3Hs3U0OOj5MEvT3XGis,6358 +PyQt5/Qt5/qml/QtQuick/Controls/StatusBar.qmlc,sha256=eBJy6FhBsjOvQvsXTOJ8jFAIodlSTDvxiRz9zvvjPLg,8396 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml,sha256=WmZ9oDt31O8B2am_ncoWhkXhArEUdnh0GJK454XqbFQ,5195 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qmlc,sha256=Buhk8PQI2HlmMa6OKZ2ICMS3AoZOEr5MtpjMU0ih7Hw,7340 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml,sha256=0CRGRwulzVHjkO4bb3gICUKwmXStCJCIl1eVtVzlnc8,6586 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qmlc,sha256=6oZABiWBLeBTJ4iJWNyWNYmFlrom9z0OF9JeHgD9ap4,11796 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml,sha256=iMxStQ7JD7jbbdHLqBmS8ynd9OLiQ4dCtvaMfuXu-AM,4455 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qmlc,sha256=CUiO_hMo6ymmg_d5gqhOZ3hCQTsL40m4I1PIGC7pU54,6948 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml,sha256=48Bb8yR64EeZHQW9h8n9j9KCv6ZTceijbd896rXJf94,6821 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qmlc,sha256=84onl15BAa0Se7e6tXuc8obC9e8qUUpkxlJJjWcDglI,15648 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CalendarStyle.qml,sha256=827IpO1AWWo0HnAX-_E2NQkej6isj1CXIXBqncRxYtI,30093 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CalendarStyle.qmlc,sha256=HaT0_mnJi73VFYqMlYXvX1FDOnpIOegNKMQ0kgSWbCY,46884 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml,sha256=TK_uM5BkDr28m_whu9VdY5BbXCkyN-4LX80llth1pK4,7275 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CheckBoxStyle.qmlc,sha256=LdK564HyMavGRfUg4AHCLXD3ZuWKx9HCKL1UCxje8mU,16588 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml,sha256=wjDzfpSzRwM7mx0jDYHS219Im2jbfndhhf1v8VaXWK4,3387 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularButtonStyle.qmlc,sha256=_BZV-FMeH7WnW2vwDVAngPKpF_0N8qQAxnML3xoDtq4,7332 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml,sha256=Xd1FnQ5W9CZyyiObXt2WUKtEK1-dYhBb2hl5CyIIggk,18599 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qmlc,sha256=mSsvxZWlDcqUZe7MswIc9IggKax4yL9cZ5VqK7PyQmo,18432 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml,sha256=flgsp7rUHb_3LlP4If5sX5K2GaiDylZzhtCKKmkhlfo,13701 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qmlc,sha256=Iv_02BCy0USVufsLh4JTgmM1qqsKgltm_f0yz1kv1Uo,24312 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml,sha256=ft2gD2hIeH20vTigRBjS-Zq6JtQpav1no_Z6vsMMSUk,12375 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ComboBoxStyle.qmlc,sha256=CTSq3-UhjJQj7Fl2LoWJMUohoKApuJmn2aQ2K5l0ie0,25684 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml,sha256=df63lUA4_GBaehEVksFrgyhnFuT9UJYV_dwkGfp62Y4,2688 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/CommonStyleHelper.qmlc,sha256=rMJGO4-Il5l_2ueZxavD3CAsN7SZ8wiCRONbYCOdV8I,2564 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml,sha256=c0GYrptosgkxBz7OxYCzkkAGpAISo5eiaFSsujxg0I4,7477 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DelayButtonStyle.qmlc,sha256=Urzo4tfxKVwviszTe9yB9hIlwerdg_eJBU4gapJjzBw,16832 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DialStyle.qml,sha256=aNOMIrduKNmUtYep7drc34doKg8meFUf5ntoxzcQe04,13309 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/DialStyle.qmlc,sha256=D_F6zrFO7VTbgUorKS3D1f-PcvUKpt0M6nVmOVFq_uw,18992 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml,sha256=Sm_fwcgTQda0En3XbPMKRs3x6ggBVjJ8ZB2TZZrRDks,2195 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/FocusFrameStyle.qmlc,sha256=Pak0PwHDAC6alSvTQlQxxcgcyiAoMFpOAhHGGBOLQfE,796 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GaugeStyle.qml,sha256=R3IPs2AKZOeC0jwxa4jioLjATdtBRcTz_HFciOXErFg,22836 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GaugeStyle.qmlc,sha256=IhoZaTaM8IJ0CjHZaUFleMEFz_RuVF7s0_2y04K_V7g,30776 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml,sha256=qHytWwuj_g5n8YPuR_M7D5LnM-0xUIIcDedtitej1mQ,4956 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/GroupBoxStyle.qmlc,sha256=zV21LjfHHyMn6NaAgP3yuzX7p6LQJE4tPwGn_fkRvWA,11064 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyle.qml,sha256=DEnu1OATzW2SGnOjYq4LSSiMkTd8sab9HZo8GnnbeNA,2849 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyle.qmlc,sha256=IwZicY2ixq9JW0YvQvF6u0srkVtmVX3JGWEWxph4QSc,3656 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml,sha256=CLNDK8oCAUTu5jqOulT82d5qutOTaOMW6l6z9ifowRM,3955 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/HandleStyleHelper.qmlc,sha256=-qnyJ9NEwwyiDnZIezH4uhAYOCnvZEfeMoZRGxiqd_k,3404 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuBarStyle.qml,sha256=ELA4C3NY3HrXCl2ikr7oJ4pxcSScjmtk3dvcTWTWiFo,5266 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuBarStyle.qmlc,sha256=ku4PwrgFav6C_zTcGA9NWvYyJE1Oz4XP0WL9qhR3sXA,5312 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuStyle.qml,sha256=ifjw_FCQjhnsLs_TmsU2Y-lUiIEuiwWWYYTiWxE53xE,19028 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/MenuStyle.qmlc,sha256=fX3k-d3PIUs29MKqDpJfLxyxkm7AofGh2OUTFKMUixE,27256 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/PieMenuStyle.qml,sha256=Lhgd2k475rIbUUHHsjXpP7JeqlTSH7MDi7-GHJtEUwY,13619 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/PieMenuStyle.qmlc,sha256=UpspejCq0A7mgkG2AykJJ7ak3srdqPm_adi3h7fOSJY,19552 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml,sha256=0_qvpmMLzQPoHd4th0hsvNDEpbIHhcdDQvN-ACtloq8,9671 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ProgressBarStyle.qmlc,sha256=R6vjqxsemyzzZnlcUOKEtjne5eLFlEd1KioQ7_CQenA,19268 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml,sha256=paAIEFLzrkyNl0csoa1q1n6MSgV1gUPLGMqOmRFN-6o,6421 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/RadioButtonStyle.qmlc,sha256=_9hqrc1rhnmiLK_xI2f9GRUZWpr1nlfKMo9jAY_Ap10,14128 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml,sha256=jokVTL95RtdlUUm39q7XdSjJWojz92d8LRV535o9vfg,17548 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ScrollViewStyle.qmlc,sha256=SqtRrHo1u3DAFcFGMo-SHoxU1t6h6X_QE1xsM7jtNUw,35988 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qml,sha256=Kn0r_INKSpAu5gNhpmk1XNoOQBgj9CE3uDUE-Xvgcj0,9011 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qmlc,sha256=pEQVB7JtAyXsf_304S5Rp-ik9KPHe6a3iGbTxnVHY3k,19176 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml,sha256=yS6m1jPktcscK1RwltZ6q2R2qcdJPsqXc4NaL_pOIvc,9683 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SpinBoxStyle.qmlc,sha256=wAxJh2usrTV3HgIyWPtp3P1Lt7zzAbh5viQd6-8v8E0,16484 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusBarStyle.qml,sha256=6cFE2I2rDRRvOzICMxO-Fmv0_HPlifQUP0QXZBeJ89c,3884 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusBarStyle.qmlc,sha256=-ZSGjNmMod2m9vo5H3My3UNn0N9nl-FOBr-vQhXJfjE,3764 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml,sha256=UFU85orbhpIpreN95W01F5R-ykosAJig8_dlMppm6xo,9088 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qmlc,sha256=LVdXh2awgl9crWO6xmXzqB4TKmEMRyy-GZjRo4ekhxw,13600 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SwitchStyle.qml,sha256=VvAcQ15b0LbtfP8itoZRqiyrYBiVYoTpciD2ukbEczM,6038 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/SwitchStyle.qmlc,sha256=rtI71t3hxzScPWnDURtGgBbTOfJy3v-0FJB6g9JpJKg,13932 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qml,sha256=pTEZNFAbUCnuK-L2t1sA6JIOoF0OlndvriMIpelVsgA,7770 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TabViewStyle.qmlc,sha256=7ZS91j1mFHQMxFW2oveaRQKxI8se1KM0P1_gtQZAsuY,11868 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TableViewStyle.qml,sha256=jnFyRTUeOy0368L4aiG-cN4fI-QAxNh85_X6X34Vybs,2116 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TableViewStyle.qmlc,sha256=qxX6kUR1JhbUH2F0XYSFOmdCsp8HFOPy_s9gTMMIqIg,1004 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextAreaStyle.qml,sha256=-dYnJ2ef-xfUJznVnw9RmMJGUGScAc8NwSTsQTvWutw,6192 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextAreaStyle.qmlc,sha256=iC2PJXlC_XqnXgkCGFUJvzUQQyOTROehY2C3FQihuyk,3804 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qml,sha256=7W2MFPzv-RfG7vhXcjuAhfREpFa5UESgHbZangICyLw,8423 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TextFieldStyle.qmlc,sha256=CyvQ6ymJCSiizhyzV3EhbYM1bmQS7i7EqZ8se9VRxPI,11912 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml,sha256=SewDhDHiTHE_IjBU2-Wp2NQQbXhfXuLRCLX8cQPEwMY,10258 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qmlc,sha256=sdE_Z5GoUwKrLAx5bFHOYcexDzfpRoWMQ-i2Xx3wLdA,19112 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolBarStyle.qml,sha256=gtR2_TZ15fSq9iLvAhGDXYWfutbnGP1fEA6awyjqSg4,4448 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolBarStyle.qmlc,sha256=q36Kwj7eU49g7tMUW0vQGL36VVueTcxqoj3JoCYrR1Y,4316 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml,sha256=GVtzRjbztVeJzAe62hNNN6ola-mJ1L3o4QRWxZjeq_A,4334 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/ToolButtonStyle.qmlc,sha256=Bbm5IU8u3N7poFJPKZ0k_eVwxdU6cjw7zwt63jtOxkE,10104 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TreeViewStyle.qml,sha256=g4ydaHPUfO1kwwiYHogmXyz4D0JUC5RBGyjDpe-TA0k,2813 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TreeViewStyle.qmlc,sha256=IFfJpbpK6-hLkQ_74JjHzDf572KcOjSOorPPIKce0kk,5060 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TumblerStyle.qml,sha256=0jqQ2x2LDdfkn3-Dz5yLpRCyoUElpFLyIvggaIIkV68,12873 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/TumblerStyle.qmlc,sha256=z4AX4D9jktqIWzn3JII2cQf5X55hg9OrSD3q0xkFB_s,14420 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-down.png,sha256=DQ8G0Ok8ii8o2mg4uwvcm0bcebvwh2252339hrEzy5s,99 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png,sha256=t4ujbvld67AtUha8miuS9qnqIK6Q05hetEgpo1iJSto,138 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-left.png,sha256=4-9GpaSMSI8q9-RkQOKMvykqjmQBRN_K-JZoJAmZTBo,98 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png,sha256=xcPRXIykF-Zlaf39ae3oP2qfM4Uk5Vwh_9hvEYgOTI0,139 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-right.png,sha256=raMcq98zkxQGT5BesHKgiV7AcjLoKHqaIrqCo0-t03g,99 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png,sha256=IAcBjzKbRhNkpOA4rVygMhUqPSWwY5TTLhuh7b8twn4,148 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-up.png,sha256=0G2oScAIB5UH9JUWlsDASdCAy8wF11cFXYyY7CPIELg,112 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png,sha256=46c8SvkYZl0v91_jZ-IH_XGtlv-VAtUSBYapLUB27TQ,155 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/button.png,sha256=vhXaG1351NsGu8VWc3MeP94j6Co5g656VgudoSA6Za0,554 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/button_down.png,sha256=KS2hVkzqU_xjID0BhPwPKEnBaaw-yUigNEwxtnSto-w,203 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/check.png,sha256=9HKQ4T2AIQ7brWZ3EGgUbSwrgfxEREjK1N3F1fr3M9A,176 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/check@2x.png,sha256=9kXz1UZBVb6Q-0cL-7zMsNSoIbG716Gc_eRiNTOH_Hg,417 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/editbox.png,sha256=sgbuTYa2onmrqt741nRJUGa8o1NHm_Tqer_cxkX_w-o,416 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/focusframe.png,sha256=2ycqdZPTzWaqK--UXJas9ivAvf5FjhHOIMcrzvXM6s0,271 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/groupbox.png,sha256=RHDoNL8ajC6wJdZR7Vu8cWgaqJg4iuF_iyduitZBoLg,225 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/header.png,sha256=_vUtAKlVs11Q-q_AjJ8MbFXUvDWwEAAgDhPbRLWeyb0,383 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/knob.png,sha256=RV0F3fctdrWjyLRjP7GUk1EdpOBHGdMI3np_FStRa20,1703 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/leftanglearrow.png,sha256=g9lsbPgurudoTcZjswcrEM7lwbPJ-fHEn6e6Ms_6vEA,206 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/needle.png,sha256=3gvUeCirnGkppUUtlrXGrBO5nA4_zBWciF7BWkzT4sc,2036 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png,sha256=EN1ZFfA1KuOlixJQ5ElmBTerNv8LcN5vVNPiKvTt8NM,1453 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/rightanglearrow.png,sha256=yyZDaMDUgB1NtMVmU_V2cdBCxZGuJIJMYuJNVUWJDec,228 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png,sha256=7owcSxHopKULCNdZdYOg081058ubd95H_oz-5xs-S14,825 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png,sha256=v-MmMlihRM2dK4W2zkyhVhTmzta7smN1nerO-DxhzpI,153 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png,sha256=MpUBeEp3V2FTHA6CsudMycukZMCjjpPbMyMFTF8RfVY,839 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/slider-groove.png,sha256=0ry5TdvLWAO5Jw94LtUse24NH6mq99v-bkGXHAzr9G0,565 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/slider-handle.png,sha256=x4QFsVZJfI6Eq_y5c0D_4c70WZ3SfD7EvI_SgvkLVW8,524 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_large.png,sha256=wfofAYYat7tUi-3XMKSxIMeXmH3xDPe9KAlUQ4fHrh8,4723 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_medium.png,sha256=D2IPIYAS7W_zCAkEbO1co3IydFS1nAtNlQFjm7_9POA,1621 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/spinner_small.png,sha256=jDHm837uJ-a-wC2_tkUrnwgx1lhuR9zkOS6fuqB-ztU,998 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/tab.png,sha256=V7GuCYjGFQgnBWmM442CsK7Ea8ERQazGLxZVSvHyeCA,390 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Base/images/tab_selected.png,sha256=sRj4jY1XIB4rvR8doB_jSNMBHvyDs_kJshx6stq7h-8,437 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml,sha256=Bek_ONfJ_GHeeD252i7LKTJ-79DB2Mmzmtm5AiTHFwo,2037 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qmlc,sha256=WAc8pT5v3JIhN5tIQAlhzRjSC5EZmwcMFJbYQ4OcLGg,580 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml,sha256=JpsUpDknnBso4tZgk-QsjOyfnsSmmWYzsmPKymRg-sk,2033 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qmlc,sha256=UavZP9hLruvC2geHZbYWBEyM0laknU2s-QgLxWeLWTA,572 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml,sha256=Vr14ejOtwSnUEJLKouOLrAdPCr65Qwyi7hNFZtEqVbA,2728 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ButtonStyle.qmlc,sha256=-5-TcID6VWOaGfJEqDA1T_S_g1Gk2e2BdgO1qpjjKfA,3888 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml,sha256=FfUNB5FEWBjpM-gGULqhapTTuUA7IW2H_sG140DR8mc,2027 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CalendarStyle.qmlc,sha256=hAWdm42nMnZZtht4nTb7y8F5tKWg7HeuZ8ZhzWX_3R8,564 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml,sha256=5M4-LDVv3BH31a5AKWAs2-X0DhA81IIoGo2fjubrmTY,4043 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qmlc,sha256=2dKJLkywTHPjfMlq7LTXClvJU1U8wdo8I4MeZodQCvA,10368 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml,sha256=uOyIGjXPfpAVTSQTzc1TwrExVWwi6W9UL9k0-jrjTIM,5292 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qmlc,sha256=2las7k8bce0EJbecWxac0z0kjVnp0oQa-ELcRWptfj8,12384 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml,sha256=gwfO742G8uMHtnocSgszr3uDzEll9pixWWCEHSCxnyk,2261 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qmlc,sha256=L2Hc769GLWQFeTF1xKyOPBnGhIv5q8OilLvNbxLLSAs,1344 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml,sha256=aFjbAfogrYNVm7XbubtqdxHIxpWexT_r1NCpxTcM9Zs,3230 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qmlc,sha256=TKcK3YWv_QCJDozWBqv9knbR9vnwlmU7w8Lp_i6Bpbc,6616 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml,sha256=F38hHuFWh-IxsqeQFy1crdY4AWgxrz5KVcT57ts34qw,3238 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qmlc,sha256=gvxXrYeYhF2HbIg0xsr-N6L0hbd3GBhZI58yJXR4aDw,5604 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuStyle.qml,sha256=r3W7CQXWRqGhU2HWQquGodOJaV1rz-6Ckc2oV_hODLY,4683 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/MenuStyle.qmlc,sha256=q28xYjbbEtQFo4Z26EpFlSVrGgGglraFKgsrZM811P0,9780 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml,sha256=N07KlY7zayMkq77EXheeEVcPbeWpH4rT8lWTk7JA7Sg,2916 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qmlc,sha256=N5uc6Mlsa_B5uNKd4kmsFc_zPsOU2SvvR5dDjICsKYM,4212 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml,sha256=1nPg9_rYQHSjdmAcpWREXpqLQoz1DDfqWdBaerWST2o,4128 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qmlc,sha256=Pe8D7v93VvtkfHVazx9lQq66gaxozdQ4nMZ01oYYnJY,10500 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml,sha256=XBHtkRLz0obdA1HMUWaus897S8iEfAo1Qi37wU-086Q,2070 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qmlc,sha256=GVl-cLATp-nS5wIzalz9llj0GnSF998RdgUyU_Z08Hw,684 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml,sha256=pvDLpHZ0rzcnCNYAJQagUU_I8cbfkiQWtEVJvbXQiAY,3920 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qmlc,sha256=6dNQQBmtJCzmSW9PEVm_ydxdGl4m8xWL5LW6lNH4Icw,9328 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SliderStyle.qml,sha256=Z9OpS3WgGv7ghkTN7Q45PMMYCRb-bcm_S357FHJ-1YI,2912 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SliderStyle.qmlc,sha256=xz5ZiDTyYIExTntNBc6e_AnbRsYX28B54JbVqH9mHZQ,5956 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml,sha256=vGqiNFhTZqQtxE2Q8VuvLNxgH0FY6aLpep6M5L2r4V0,5470 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qmlc,sha256=lizkR5V5hypRD37Ex6M17HqWuvVLLBK3vXLevUduCYQ,14728 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml,sha256=pgXhRr1kbJT131QzCVb881WqmUgio_GdLo_I3Hxv3HI,2491 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qmlc,sha256=v3CMCuuUbbFdeSwzVytld_poWWUkh1LLoCGng7mN5Tc,2460 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml,sha256=ID8FccMB8yFXNsBkcYHYxAz33GyWxMIv7jJ6DyZDBI0,2113 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/SwitchStyle.qmlc,sha256=5rMLMPOQJ350e38IkpsDKxW4QK8fFCoYBPqXbtUa-FA,820 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml,sha256=-o0jNFd09nPsLiVf_Xc7T3nJQCsdlv1rWdr4KWs4gyI,5403 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TabViewStyle.qmlc,sha256=7ldKstwOA4NXhBW0VIasO8GSXmDUu-3WW0LWj2DZNVo,14220 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml,sha256=15GAwLLR_f4dmeGC1e48KCYkAs_6gXggN55mYYyXYRQ,5378 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TableViewStyle.qmlc,sha256=5F1OVHin2syjLnvicR0bAxdYovPmOQGiXUcfEO8ZzgU,13648 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml,sha256=xrADY0InUJ5l8L9R2nyTPd6e3u3seTmptOxqAy0VznY,2739 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qmlc,sha256=hZndD7t3LezE-q3pHmSBT4ZTh693ZBP9evcTFRJc_G8,3808 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml,sha256=RpzHAXo96qV-Wtd_Z9ksSXMBWNTN09TOSgVlkWtL8EY,3377 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qmlc,sha256=nLmID43eb2yKqbpBBRRCr-wCJiA6SmGOrW2Cy8nlgvg,7608 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml,sha256=GaH2UxTRMGM_Ey38wGMnZ4cJRu3sHsMJTXfH6_He3qI,2560 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qmlc,sha256=TutSXwUKPVQuiWiXbE13myDEU_3gdAmvnjNtGyyLSDI,2784 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml,sha256=6riqZmCvxgC7Rjh5De52Eokibzdt7FBI_xMiyumWLqg,2679 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qmlc,sha256=q_AwXZI04sFQ91sboP8u_OWGz0rhmW1cjYQEkYDnwGQ,4156 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml,sha256=8l9NiNfpGmQs8fFIQpA5im--Vsow6NJkFnT8Kvlb4ow,2851 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qmlc,sha256=T1lUe_UH03xVE7-OoJAJIQytWGJUZScMb9iKTD7_v3U,3740 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Desktop/qmldir,sha256=VUU-InLE41r2TGl6ke4IKHKjNznoj5vxjoEoxas7xM4,72 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/plugins.qmltypes,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/qmldir,sha256=qEoIu5WnAsgMJJaBt8Dm9CFz_qYZEklhJD9IBO1s2nA,126 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll,sha256=l4087jrPhyUKZFRdI3JIYNNUyvl5hRGef8sm3zUKDU8,829936 +PyQt5/Qt5/qml/QtQuick/Controls/Styles/qmldir,sha256=e7lLzJ-n2EnBDthPR2rXlRph1I_o947VIBlWQZ040Fw,1575 +PyQt5/Qt5/qml/QtQuick/Controls/Switch.qml,sha256=sTqzfJ5GOpz45U7EkifQ2b_B4jBaxjPFIQGx68H3ZOo,5331 +PyQt5/Qt5/qml/QtQuick/Controls/Switch.qmlc,sha256=CiXBZyZO4tZpNM63Owm74TXHylYWB1C14rchp_5aJqc,7648 +PyQt5/Qt5/qml/QtQuick/Controls/Tab.qml,sha256=SYp1cqzBooWFd5hkjz_uqsdzZFVVc61yJfsqlJoFOfM,3001 +PyQt5/Qt5/qml/QtQuick/Controls/Tab.qmlc,sha256=NLhXNTknP0guMs8uFa04x56sWYQri5HGHwFy9p3Rz3c,2212 +PyQt5/Qt5/qml/QtQuick/Controls/TabView.qml,sha256=bQddWSoRjKvQSIC4BoE9RH3Y04thKCpjBdK22MziofE,10775 +PyQt5/Qt5/qml/QtQuick/Controls/TabView.qmlc,sha256=bSb0ZtWeW_M8gzQyy5qTl8mdjE1V8OFfzEZsDtfFMsA,16284 +PyQt5/Qt5/qml/QtQuick/Controls/TableView.qml,sha256=ELRlC2GWSCsiF8VZOhtwLh6F5ntYdp1oUxTHCG6GbM0,11555 +PyQt5/Qt5/qml/QtQuick/Controls/TableView.qmlc,sha256=frQlhkmJQuHLCaTJc1pGEoXkozVeAw_29GpU9FszEEc,19824 +PyQt5/Qt5/qml/QtQuick/Controls/TableViewColumn.qml,sha256=rQf1-ztyeRwK7KD-RHB8rsAX_fA2tU39Zh2GLKKFM4s,6804 +PyQt5/Qt5/qml/QtQuick/Controls/TableViewColumn.qmlc,sha256=bWqEHwhn8w_Sdx5qXe9_icCabecwJ2HVn-uGtvUhgE8,3940 +PyQt5/Qt5/qml/QtQuick/Controls/TextArea.qml,sha256=_mfORgHoK0lU7G46fmrpE2eqrKQVZcCUBSNuBlyeUNY,36631 +PyQt5/Qt5/qml/QtQuick/Controls/TextArea.qmlc,sha256=tut-7SD7X7JXSPS3NYBrJrX4RwXZ-tc_xNQvD4yZjhM,36040 +PyQt5/Qt5/qml/QtQuick/Controls/TextField.qml,sha256=Cl7snmveWjGNaVNR6uoRh5KdCL2WFmcikM77QreEsnw,23187 +PyQt5/Qt5/qml/QtQuick/Controls/TextField.qmlc,sha256=Hlb_OkQXCXyDIrhoEL57ghfFEMnKo1psHtDzECYtJag,17192 +PyQt5/Qt5/qml/QtQuick/Controls/ToolBar.qml,sha256=pv2_AIlrZrkSyEvYQ5RjfcQYx7JVM_3uE83ywMUwgJ4,7444 +PyQt5/Qt5/qml/QtQuick/Controls/ToolBar.qmlc,sha256=doXlQbQl64_6N2bpthw3lQglb-SDwnu7ssirkrH3-Bg,11004 +PyQt5/Qt5/qml/QtQuick/Controls/ToolButton.qml,sha256=PQ--4AR5odb-vD9HIj-JAtNxpZr4TymMP80NEybirpk,3229 +PyQt5/Qt5/qml/QtQuick/Controls/ToolButton.qmlc,sha256=vc2SfZ6OKyfiPX4BpCWg8b3BYZqF48jqeopTaxoa3I8,1196 +PyQt5/Qt5/qml/QtQuick/Controls/TreeView.qml,sha256=B77uCtujdb2elkisbfvhio_jzp3qG8VvPv0uAX8ve5s,17067 +PyQt5/Qt5/qml/QtQuick/Controls/TreeView.qmlc,sha256=VSiHpxue6Nw5F1aXVycOr0hKQzq_Q0Q_RZNauocd12U,25496 +PyQt5/Qt5/qml/QtQuick/Controls/plugins.qmltypes,sha256=mYDd6466sIzjl9maVD3JzcHklkAm75xz1roC_kOtLeM,157929 +PyQt5/Qt5/qml/QtQuick/Controls/qmldir,sha256=371csHvd0aI0K4KkQs1KRQTYfQTfefMIO7o6AxiIvj4,212 +PyQt5/Qt5/qml/QtQuick/Controls/qtquickcontrolsplugin.dll,sha256=LsSXrIrEgU7Uzua_fa6xWm3veFfc7GvykERrElrNWsE,337904 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultColorDialog.qml,sha256=KbgWco4bRFDntQ3akofWEFK8wmXReLzRZywn-xQx_tU,16805 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultColorDialog.qmlc,sha256=ibxLwypnnBzJHB3wxeODU9WTRHqnHvSxUpBkMRSmUs8,38880 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultDialogWrapper.qml,sha256=Cf29wwmLp33SJhuM2P2Dhm2Zjrm_qfaF2lxD_3jOdG0,8343 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultDialogWrapper.qmlc,sha256=NuwiYU8dgfnii4eaeRoj71pzhnBwJu8YRh0HkqZU6EY,15744 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml,sha256=dWLd-yrGJqJT-jmH_O1d961-Ic5h6q8QLwBcxYb-a70,21837 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qmlc,sha256=AX-2KGdKWTPuxTz6A5mXewgY6Tr9B6RGziIbJ5s_Dm4,49208 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFontDialog.qml,sha256=R-ToRyxxlZocwS-whXKQ5lWskBxo0gkCSoABJVXwx9g,18789 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultFontDialog.qmlc,sha256=sbsQ4UAV2XItFEBhM21Dh7yvxeUuEVVaXr_RWDFErmw,38616 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultMessageDialog.qml,sha256=yqo0wqrfMtDruqzxd0TFeXt51NN3Mh-IE5s_E6FKthw,12934 +PyQt5/Qt5/qml/QtQuick/Dialogs/DefaultMessageDialog.qmlc,sha256=ivUSelAkrjugEJ-Tf3Bt4lrUaURje-WdaSHUYCG5QE4,31056 +PyQt5/Qt5/qml/QtQuick/Dialogs/Private/dialogsprivateplugin.dll,sha256=q86rFb6-eb1uU7Lc5xGQvvfA6qC7m1de1u7xXrqbQXo,52720 +PyQt5/Qt5/qml/QtQuick/Dialogs/Private/plugins.qmltypes,sha256=nydIMStGLJvWGhY4uR0vDjavCI2gbFXeOF0hYpkyWJI,12562 +PyQt5/Qt5/qml/QtQuick/Dialogs/Private/qmldir,sha256=MoznKB_xDvDZCnU6cWkSZW0_l0dmJKWEqLUIRxJ_oA0,128 +PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetColorDialog.qml,sha256=aaZbZNcLIygliqGjW1Lh_E16T_vCtFi8jKSN1buyjI8,2046 +PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetColorDialog.qmlc,sha256=1lEcJ6Sszl2mX2LB15IirQOobaC8n1iJFJ4JmEI37iI,628 +PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFileDialog.qml,sha256=J13XRd59-6LP4gUTxy-R27zzqeeafFxYJt3hFkB_gxw,2045 +PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFileDialog.qmlc,sha256=tIpI9YO_IbUpaeB4y-giwSXj98Xn5VlqRHhaY7lYGgo,628 +PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFontDialog.qml,sha256=3DbVpOcTpc7tjod8sW0wJylT5zbJn7-TMHUiAoHjou4,2045 +PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetFontDialog.qmlc,sha256=2jQTRkMUdbUQ_KwSaOWfUI7noqZpbmGtUlUWKMHZmUI,628 +PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetMessageDialog.qml,sha256=3JGk5odpbEqoPlodbgW_3o8_roM4aRmC5C8ygq-aHm4,2048 +PyQt5/Qt5/qml/QtQuick/Dialogs/WidgetMessageDialog.qmlc,sha256=PWzIy03v80ZyMNcEfiHiOETcAoDL-_vLvXkYYDYR4uY,628 +PyQt5/Qt5/qml/QtQuick/Dialogs/dialogplugin.dll,sha256=DJ79w7AB1imz8UDPgBdVOT-SXeE4UalyfR4Ve4ZC5wE,141808 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/checkers.png,sha256=qfqrruEf3OahaVT0taz7jM6CuVa9qONlNuL6KlVlgz4,80 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/checkmark.png,sha256=xk9WUkkheNPnfDWMgWkgCoGb5QrlV9xanXHB93qi7Hs,809 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/copy.png,sha256=LxEVucHXBlC4RZcUp8QQomKdGZKiXkr57Kr6nPoSVNc,1338 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/critical.png,sha256=EfnRtFHly5o8B1OH1WrtEa_fX_OryHSxIiHmldXfnJU,253 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/crosshairs.png,sha256=MLSmyVpgatjpZJ9V3JqhAgY3rPhQ0gTjGQS3FEv0lpo,876 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/information.png,sha256=hIeOYfdgUBZhH7tJwH8ZY8SCO0EggWIHL7zaMJYzAbc,254 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/question.png,sha256=mOjdg_rAR7Qvs95p8nM7h2l8qKM_VK4S5l0tiIZ--Ao,257 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/slider_handle.png,sha256=j6XUg9g_5KkyDVJKU5bGxN-A9I5VOw_fNEs2V2I2rN8,1551 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/sunken_frame.png,sha256=tOb3WiVqgVOsNigkqLfaopx3AI2BLHjd-kj5FqJsn2A,623 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/warning.png,sha256=BUCKEkopPfVcpdPrYvNzyVQHX8fu-QPJbyVZqfPb7tA,224 +PyQt5/Qt5/qml/QtQuick/Dialogs/images/window_border.png,sha256=m2sTzzBgkb4SdMYtDdVAA5Nc2-Kv3foj1xvjNg5EITo,371 +PyQt5/Qt5/qml/QtQuick/Dialogs/plugins.qmltypes,sha256=doCFy6zohUo9CU3BP-2j8VIdZHF2r2giQ21uHx7qfpg,17475 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/ColorSlider.qml,sha256=CcD1lAPIg7492Gairba-X1vkDtmr9zEJyHumYnhD8_8,5169 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/ColorSlider.qmlc,sha256=63eATU1PQvKvRh34UECwbIp8gGfjnBckv573OTGSIZU,10732 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml,sha256=J-rT1pZ4E8xccqNXU20DU9amxE1RmdwPe8kYmT86-EY,2923 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/DefaultWindowDecoration.qmlc,sha256=cxY6TW-5f6d1EYNJp8aJHM_2lwMCmIEG5DX_n15A69w,5116 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconButtonStyle.qml,sha256=yXsVRAz5DqvxVdbqjb1Y_pgh0NSlt2iO6oRDLN9ektw,2578 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconButtonStyle.qmlc,sha256=korNeS5WqxViRGRJoRk8kB2nv8HFj7LGQFzrMS6-ynI,3976 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconGlyph.qml,sha256=nhG39g6f3jx_kjgB8ibCIRAkob7d54zfypQWLlO2zS8,2253 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/IconGlyph.qmlc,sha256=3okr8wctxDgwvTslTlpvZKtrwsiTb1FqNr7MgjEJ2Y8,2476 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/icons.ttf,sha256=9QMNwjayAqXGwve_3ZSKq7UkpDmL9FOVMQzGy63wEwA,17372 +PyQt5/Qt5/qml/QtQuick/Dialogs/qml/qmldir,sha256=8dzLLDtRRugQvQoJ9mb_dIesAfMOunnymUBeJOA-07I,103 +PyQt5/Qt5/qml/QtQuick/Dialogs/qmldir,sha256=37lofafvZBfxSivVly4LgBU1qAAX3I6MDH5lU-U16jA,295 +PyQt5/Qt5/qml/QtQuick/Extras/CircularGauge.qml,sha256=JPECI-iSXDZaX8weeSJMblk6Nho4ocK5VZeOTrc0BYo,5676 +PyQt5/Qt5/qml/QtQuick/Extras/CircularGauge.qmlc,sha256=qEsB-VHg4UN8XpjqKqB3WP9-0wEwW0sJkZ_d64iwvdE,2304 +PyQt5/Qt5/qml/QtQuick/Extras/DelayButton.qml,sha256=62NgHwcjpga-HkIcTkb-BWEFcwyywMQiVU_5nv5RwKo,5726 +PyQt5/Qt5/qml/QtQuick/Extras/DelayButton.qmlc,sha256=7tPNP-HL3fqG2M_lENb44ZpKo8atK-68h71Xp30Tf2M,4736 +PyQt5/Qt5/qml/QtQuick/Extras/Dial.qml,sha256=yiNT2DAWJD-G2CfyLlzfg7XVX5waxWwMwf-WIV92iOc,7052 +PyQt5/Qt5/qml/QtQuick/Extras/Dial.qmlc,sha256=RZy8M_jH_C1raiANLcRqCgTvKhCorYxV1zJPvpLET-U,7660 +PyQt5/Qt5/qml/QtQuick/Extras/Gauge.qml,sha256=ZeQ3Ap1xzkhofSCPajFi93Wpc_UF-ZcrSH1S8eM4JAA,6678 +PyQt5/Qt5/qml/QtQuick/Extras/Gauge.qmlc,sha256=aHRT_10-sd0KKKUqZNmGImcmAsFPPOfCNPBUkG4sNWI,4692 +PyQt5/Qt5/qml/QtQuick/Extras/PieMenu.qml,sha256=WBIbFzH10z2ZwRiW8jmaBGQdiOIVjJ53fgIA34jZtu8,29354 +PyQt5/Qt5/qml/QtQuick/Extras/PieMenu.qmlc,sha256=iD4ahg8GxerusL7aJnyAua4ObqlVwxL_X-br3XxDk2s,23240 +PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButton.qml,sha256=wOUs2kbtfbFS09ZMzR1L9aJA9JrHYQfbKnuxYdlBK7k,2233 +PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButton.qmlc,sha256=Ww4c-ROzw3CxGV_WCYaG8TbHksAvtgmmm8OSnWsIFdM,1300 +PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButtonStyleHelper.qml,sha256=SV8OkstkEurNg39--c23dWBvD-BGSeGQYozyl_2oFDc,6177 +PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularButtonStyleHelper.qmlc,sha256=ulcdjOsgKGThTPRSobMRN1OMfL2d4uDZnpCWzwoQLcQ,10020 +PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularTickmarkLabel.qml,sha256=QYP-DmBAd8c7j8H0XH-XEJXADT0eSIpOQeaztcMWiYw,5261 +PyQt5/Qt5/qml/QtQuick/Extras/Private/CircularTickmarkLabel.qmlc,sha256=P7Ka182m4GmTsMKGQFx-cVDI9MyhivIPM2f6vWnNnvw,4968 +PyQt5/Qt5/qml/QtQuick/Extras/Private/Handle.qml,sha256=HO7khjcjmwfRBmSFheckG5HuEk666wfc9j2BGn5FxEo,4681 +PyQt5/Qt5/qml/QtQuick/Extras/Private/Handle.qmlc,sha256=5BMDM-DCHkHJu4l9wFQexn1ys2kzlmnhLWpN-u7R8Gg,6240 +PyQt5/Qt5/qml/QtQuick/Extras/Private/PieMenuIcon.qml,sha256=olKBQa-NaY5NHdBq9zxUHWoW4sDFoJavw6vZUfnXT90,4559 +PyQt5/Qt5/qml/QtQuick/Extras/Private/PieMenuIcon.qmlc,sha256=YWuJCkdijyxQ4zTM3ElFHm3cgVrWwl0ZDEl_3VsedAE,4800 +PyQt5/Qt5/qml/QtQuick/Extras/Private/TextSingleton.qml,sha256=9Ljs4eFVCunVRuGy-pHFS3bah0ZA7cGaj2Tc8NESXz4,2020 +PyQt5/Qt5/qml/QtQuick/Extras/Private/TextSingleton.qmlc,sha256=0mZILdANY8xJ3KIQyV_JPV7eIkg06YpHJMFZUktueDo,516 +PyQt5/Qt5/qml/QtQuick/Extras/Private/qmldir,sha256=6ZxJyMrtETrLJndEcDOFU-Blj_IcbLmyU03iANpGa4c,31 +PyQt5/Qt5/qml/QtQuick/Extras/StatusIndicator.qml,sha256=mUznpetgz02iEBkmP7upsYME2HtxH241KOT0BGULxsE,4261 +PyQt5/Qt5/qml/QtQuick/Extras/StatusIndicator.qmlc,sha256=W4xYML_BcfqUwMvuwUQe1OES_uz1wP0wMaUnJ4sFXC0,1932 +PyQt5/Qt5/qml/QtQuick/Extras/ToggleButton.qml,sha256=5PPVUp4v1R2kjnULnAu_mEWhnNWaM1maFQAh9B3otTo,3008 +PyQt5/Qt5/qml/QtQuick/Extras/ToggleButton.qmlc,sha256=OE_QqZDsbEQx9YVjALgXwLPy6hju_hNHF4vG-HJrtxg,1380 +PyQt5/Qt5/qml/QtQuick/Extras/Tumbler.qml,sha256=ikciwW4Z77oL-2RzwiN42AE5dd49PfvlzFtuKf4O8dw,18368 +PyQt5/Qt5/qml/QtQuick/Extras/Tumbler.qmlc,sha256=QFHEsgfrvwtr7tFCVicZ8XfMnQQV_1j7TUc7Xx9g2II,27396 +PyQt5/Qt5/qml/QtQuick/Extras/TumblerColumn.qml,sha256=ElC9lgcSwA9-Be_6EqgdvQ-ojic_tExjcMKajIReO_U,5447 +PyQt5/Qt5/qml/QtQuick/Extras/TumblerColumn.qmlc,sha256=0kAqLyIky5N3uTuKbFGTRZ6ktXuwryoA_PhGs0F4ScU,2804 +PyQt5/Qt5/qml/QtQuick/Extras/designer/CircularGaugeSpecifics.qml,sha256=-hs8AAOEgcjtJfTbf5mWx71NVczrXmdKMQehD2NxodY,4173 +PyQt5/Qt5/qml/QtQuick/Extras/designer/CircularGaugeSpecifics.qmlc,sha256=1mRdEx10cg7YExHy7rpcLi8aOdRT1jLUTnTk_KygMUY,6684 +PyQt5/Qt5/qml/QtQuick/Extras/designer/DelayButtonSpecifics.qml,sha256=eDBPMRzFTPOshg8fbQtGklqiraqb-yJ9VFkvOq5nVVg,3500 +PyQt5/Qt5/qml/QtQuick/Extras/designer/DelayButtonSpecifics.qmlc,sha256=vtvwDoS5TCeUCLXHY_ItMuly9Kw56eO6Ney5H117bAI,4500 +PyQt5/Qt5/qml/QtQuick/Extras/designer/DialSpecifics.qml,sha256=0eiLDSFXEdxIaTiwjE2et5Nfola5NSAk51b8b3EOBBE,4707 +PyQt5/Qt5/qml/QtQuick/Extras/designer/DialSpecifics.qmlc,sha256=UWw0uQEP70xXHLM9FXMAmfl9i0L77Xt30n__Jvbb0cc,7644 +PyQt5/Qt5/qml/QtQuick/Extras/designer/GaugeSpecifics.qml,sha256=i5p3929Ginm6nWDbF-8WAVLfBmH0CO3gSJi5dsAHVZU,4909 +PyQt5/Qt5/qml/QtQuick/Extras/designer/GaugeSpecifics.qmlc,sha256=r7b5-eGg7_mWEWtxEf8r2sC4FUlQQqoPlJ1xohmV5nE,5892 +PyQt5/Qt5/qml/QtQuick/Extras/designer/PictureSpecifics.qml,sha256=stMzzNWt_ykz4yuTd7uxje1t7fhtQvQ5rVG5uTvvy8w,3061 +PyQt5/Qt5/qml/QtQuick/Extras/designer/PictureSpecifics.qmlc,sha256=bk6HIlhAUl35s6hbpL_twM2AaNH6Tf39fWN4906-Awg,4800 +PyQt5/Qt5/qml/QtQuick/Extras/designer/PieMenuSpecifics.qml,sha256=AIvbUkU4b-2nHdeomUftcWtyJJXsXDZcCvgM7WxhgEI,4017 +PyQt5/Qt5/qml/QtQuick/Extras/designer/PieMenuSpecifics.qmlc,sha256=YYLQFfXmHqM1JCcmgMsZa6C7NRgvvHkxt0UVCPe5pEM,7040 +PyQt5/Qt5/qml/QtQuick/Extras/designer/StatusIndicatorSpecifics.qml,sha256=NySQTTZvK6BiPYfXIcs0slyV3Mg3iwwQtev3YiJYdA4,2940 +PyQt5/Qt5/qml/QtQuick/Extras/designer/StatusIndicatorSpecifics.qmlc,sha256=Ktxp16OBct8s3Z4Zsnl5VnQWzCKncDujGVBIhDsgDy0,4472 +PyQt5/Qt5/qml/QtQuick/Extras/designer/ToggleButtonSpecifics.qml,sha256=K1NDt73bl3OUWLuboDcXboryWXX4bkKLLxTvjkYDMxo,3470 +PyQt5/Qt5/qml/QtQuick/Extras/designer/ToggleButtonSpecifics.qmlc,sha256=Sm2sBoMtta6hSTx3Z-yBQHiqYjTQulSZU0cbps2c7jo,4356 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon.png,sha256=P_VsuaQOGLpa8CKgSMcOg6AqjUIhLzPPfU73k3LA2kE,373 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/circulargauge-icon16.png,sha256=ev6CyhO1D0adjfgQStR2HqROjM9vSH3H26_O1JoMyjI,249 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon.png,sha256=fHk8J0H0rYn-uRH6hfpxwqA9UE5IMbgpH9uyG-_9W38,343 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/delaybutton-icon16.png,sha256=10agnBdzQWkJ1T8JfEhdk5__TU24rqfczuaccwXog-g,220 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/dial-icon.png,sha256=S99v4K2ZB8EycwVQ000EVnuIQHB9GJ52xIF9DmpSsVA,326 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/dial-icon16.png,sha256=Mnn70T76iuOgMrtOHDH5Pn8w1_AO7OPIkcTfaj4_oSY,217 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/gauge-icon.png,sha256=Le-p25H-0zRiRiWbEdt6zWkgNFqSOX1HFyBHIorwbEY,189 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/gauge-icon16.png,sha256=GuYfUwrhbBmXGAziDKewHdlAJpqJTHSnGer31c1X53k,163 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/picture-icon.png,sha256=_KrtYG3Z2l5DFjj6aIsnk0jeLfwmW_hh9ioE0V8R90w,220 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/picture-icon16.png,sha256=s8aorBpuGJc0fVzT0BFBjZN7Yoo-Dfck_lwoTZV2ZZQ,177 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/piemenu-icon.png,sha256=RGfBoggpyxjYAH965vqku8dVmZA3C2xnxKtpPF4Hz0U,378 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/piemenu-icon16.png,sha256=VpPa72ekIS0a_jWuwB0wxvz2ygaQL2xFCVxK1_i-jFo,242 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon.png,sha256=tN59vI7Lq3VQB4lqNXjdVDXBBfW02JDSkstgSZVaTjk,316 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/statusindicator-icon16.png,sha256=5WJyDgDB7lI9_KLzhgpn3lxl-WTtHdmXsw4o1DHeoV0,212 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon.png,sha256=aH_W4DZcP-UskrGDBNkCMG1xc_hL9cU9glhF0a60ev4,340 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/togglebutton-icon16.png,sha256=i9rPOIYQkU_MS1mm3Z8zym7MBTwa4FtyumJSAvRedMg,223 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/tumbler-icon.png,sha256=nM3jjfaqro1nNi78QSg-K8IYN58A2RXXDJs4K4EhUFE,187 +PyQt5/Qt5/qml/QtQuick/Extras/designer/images/tumbler-icon16.png,sha256=IFtoxnT3a44My2Mwxaa0onGXJBMAMmvZIKb532LqDnk,1130 +PyQt5/Qt5/qml/QtQuick/Extras/designer/qtquickextras.metainfo,sha256=UjoDp80x5zGkQEr2uWTFxJe4ZjUIbdDOtVCTFIfFTKY,3455 +PyQt5/Qt5/qml/QtQuick/Extras/plugins.qmltypes,sha256=jXWw0eDvmvNJaYm_sor2_IF1Kg0UiqcuLUV78HwpKfY,30070 +PyQt5/Qt5/qml/QtQuick/Extras/qmldir,sha256=qxrIU5KdvLmUlcIJjCrroG57PrCszj29LA8PbHQhFCc,164 +PyQt5/Qt5/qml/QtQuick/Extras/qtquickextrasplugin.dll,sha256=eyMKftpm-FiHwXrFtAzlA4gsYKVtnpIyJe9VdWV6SvY,78320 +PyQt5/Qt5/qml/QtQuick/Layouts/plugins.qmltypes,sha256=4ZtmtyASr6DNgNHtzw1IfTamMxDOTvcQAGT5UMyp3IY,4774 +PyQt5/Qt5/qml/QtQuick/Layouts/qmldir,sha256=y1hcL8Bu3KS5XJ7gQBfNOEyucDVujdRoq9fE_R5kC1k,130 +PyQt5/Qt5/qml/QtQuick/Layouts/qquicklayoutsplugin.dll,sha256=k1f8AA14LorS6vecjfoutYZ4NI7AgwoJBwckoO7m21M,113648 +PyQt5/Qt5/qml/QtQuick/LocalStorage/plugins.qmltypes,sha256=ISyATpiUgOL6ZwXssHay0O04te6K_r06_Cvnfp7Ot0o,657 +PyQt5/Qt5/qml/QtQuick/LocalStorage/qmldir,sha256=WA3bgdZwoV6M3SJhTuKPOlhedvF3JwvhSvbjFsXBjhU,120 +PyQt5/Qt5/qml/QtQuick/LocalStorage/qmllocalstorageplugin.dll,sha256=79PDoBsA1YDZsGFxAXAxNKTjNQiEUVyzzbZP8De9n3M,54768 +PyQt5/Qt5/qml/QtQuick/Particles.2/particlesplugin.dll,sha256=MgFRztjhlemlDqA4a4VhOtd3rE6-cHH-N9Aa2D5h118,24560 +PyQt5/Qt5/qml/QtQuick/Particles.2/plugins.qmltypes,sha256=r98U7vpdoVMzoNBzGMFYGqzJH8gZGg-7_s03PpjbdKc,47258 +PyQt5/Qt5/qml/QtQuick/Particles.2/qmldir,sha256=Mu5LAjoOlux44pzUFHoiO0xIxp4Vx_6Vgqj47yuhC7k,112 +PyQt5/Qt5/qml/QtQuick/PrivateWidgets/plugins.qmltypes,sha256=18vNNKWbnrfCsNEgd-q8j_y5CR16_cpFYz9RGjxnDV4,11455 +PyQt5/Qt5/qml/QtQuick/PrivateWidgets/qmldir,sha256=17BJNhrIeyhROMIJHUifhMxxzMUXo9aHSfX8v5YzR_M,120 +PyQt5/Qt5/qml/QtQuick/PrivateWidgets/widgetsplugin.dll,sha256=5u_LbRUG6Z8wqB-JKse3KzY5Lv4qbjqBGZYAz-reqz4,128496 +PyQt5/Qt5/qml/QtQuick/Scene2D/plugins.qmltypes,sha256=trHzi-Uo2EPF2KVsLCbi2IVdTRhHDSlPYgJFcZVheJM,2365 +PyQt5/Qt5/qml/QtQuick/Scene2D/qmldir,sha256=0ayrRGXH0gmRyqv16zn9pA2Cx2fgV1kgGMNGq0QpHuw,85 +PyQt5/Qt5/qml/QtQuick/Scene2D/qtquickscene2dplugin.dll,sha256=ACpeWrblfGxG1IxoN7pCnJM3mFHZp8KJtNrIIggKe2A,30192 +PyQt5/Qt5/qml/QtQuick/Scene3D/plugins.qmltypes,sha256=08VBsnq4Ot0uzOUBm_QvR7mnHIutsGI4x7PG0hIcHKI,3129 +PyQt5/Qt5/qml/QtQuick/Scene3D/qmldir,sha256=YECgrWzrP91ZM8Qkvpa45nrAGWivMoNFpepEEN8kp4I,85 +PyQt5/Qt5/qml/QtQuick/Scene3D/qtquickscene3dplugin.dll,sha256=TLYtOaFFPnbbomaWtQEWW91WN7rYjqVPts7Q1HH1qg4,97264 +PyQt5/Qt5/qml/QtQuick/Shapes/plugins.qmltypes,sha256=oNlBEFJfCqUIuehhr-2TW35j9AEcaaIiOpkEF3UtUcs,5523 +PyQt5/Qt5/qml/QtQuick/Shapes/qmldir,sha256=WWSvWPKgNx6cWk_YdRTgBsEqfZfiPluOVqD4a9oA1kw,101 +PyQt5/Qt5/qml/QtQuick/Shapes/qmlshapesplugin.dll,sha256=3LVeaMyYnqQMssqvXr3g8H9DjxNPITX-7WK80LFFpFw,24560 +PyQt5/Qt5/qml/QtQuick/Templates.2/plugins.qmltypes,sha256=XfCSfOArjE-yjdky9Bl3AZMpsqNI48wUIIGccZRgzm4,129347 +PyQt5/Qt5/qml/QtQuick/Templates.2/qmldir,sha256=sk8sSv-afxAvKiW89VLZH2NxYOVeBTWDKYsKFsk67yM,142 +PyQt5/Qt5/qml/QtQuick/Templates.2/qtquicktemplates2plugin.dll,sha256=7oVy6ZNL7W3NAaZnrsqgsuGihBlXNVlgf0mb9rt3eak,353264 +PyQt5/Qt5/qml/QtQuick/Timeline/plugins.qmltypes,sha256=ceIrbbewPgSmo8a60-UXVthJs5_TUcQoWGVeCnOCfhc,2094 +PyQt5/Qt5/qml/QtQuick/Timeline/qmldir,sha256=UOUmaQ-MOX2RNkNqG0Tx2TrgNj9dq6uYSBuHiOQq3RM,134 +PyQt5/Qt5/qml/QtQuick/Timeline/qtquicktimelineplugin.dll,sha256=nTbSghoywDOaJHC5NgG_0s9MIT1hMXnaCRCs-OHBSGQ,64496 +PyQt5/Qt5/qml/QtQuick/Window.2/plugins.qmltypes,sha256=c98lT6Gao162zXoi0Nsy6YDqHIZlTBCriYf827RBg5Y,14715 +PyQt5/Qt5/qml/QtQuick/Window.2/qmldir,sha256=jYi4FUfhVz-Mkd-ZjqgmCOCnl3CwFMgvdgpnOItBlFo,122 +PyQt5/Qt5/qml/QtQuick/Window.2/windowplugin.dll,sha256=mv-fkrqWJNugJXJaA4V5L0ErYH0ksbsoKfDORwKgoig,53232 +PyQt5/Qt5/qml/QtQuick/XmlListModel/plugins.qmltypes,sha256=ubzcE3m5iZW4229nmx7HoW9XK5PJDDKF9iom7iCSVdg,12500 +PyQt5/Qt5/qml/QtQuick/XmlListModel/qmldir,sha256=Bu2exf6kvOEpwzgkH94UmeKDnSuu1-ZNDdr3qArtp6U,138 +PyQt5/Qt5/qml/QtQuick/XmlListModel/qmlxmllistmodelplugin.dll,sha256=rqGobXibqjV2r5R6WdLRIvC_RRY1W8BquiP3ssP3X-c,83952 +PyQt5/Qt5/qml/QtQuick3D/Effects/AdditiveColorGradient.qml,sha256=39PQZXPmSPi-g9EoK-fbZA_3RK5e85yyzqiS1dpmtbk,1801 +PyQt5/Qt5/qml/QtQuick3D/Effects/Blur.qml,sha256=p05KI0yZesqeKND6S1AFe7cqwAVZcQJBAIcmMq9NzLk,1659 +PyQt5/Qt5/qml/QtQuick3D/Effects/BrushStrokes.qml,sha256=Pp642nTSdDx1FMouJUNXs3-msxPw0taa2ef-38YSTaQ,2298 +PyQt5/Qt5/qml/QtQuick3D/Effects/ChromaticAberration.qml,sha256=jQrI8bIPyU6JyN8afHqaQ7FUTlVh66kwnc436o5nsH8,2414 +PyQt5/Qt5/qml/QtQuick3D/Effects/ColorMaster.qml,sha256=-d0WI_eFQBTECqAXZWEkRTwLKl68VooMw2XIeqo7TQ0,1849 +PyQt5/Qt5/qml/QtQuick3D/Effects/DepthOfFieldHQBlur.qml,sha256=SYNd7OqFX-gTUN9TIAW4KMJqYA6kzcxGz3Fi7O2wLyQ,3156 +PyQt5/Qt5/qml/QtQuick3D/Effects/Desaturate.qml,sha256=paorsowpsGiTfVWDGKAHtqa-iiivEu-UGM31bgjEhAQ,1676 +PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionRipple.qml,sha256=e03BNVQJBu5Kk8vWQcPX0iYuKjJDDooG5xo_8I4ZOKI,2080 +PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionSphere.qml,sha256=GgIPL3ybmLSciWgBGVnH21xeP0NEz5_Qhdr7sYKo28I,1957 +PyQt5/Qt5/qml/QtQuick3D/Effects/DistortionSpiral.qml,sha256=zo_ULWcMWYQaUN-eojUVI11tEVHWGLoDw9S9bwpt1n0,1967 +PyQt5/Qt5/qml/QtQuick3D/Effects/EdgeDetect.qml,sha256=wSsjofMn6VlVexL-t0DHU8_bMtmPTAdmBFjR1n-bwX4,1819 +PyQt5/Qt5/qml/QtQuick3D/Effects/Emboss.qml,sha256=oi4FKUZYdc6cf50CtRakKmeK56rT4AoapxDdnjOAQgs,1678 +PyQt5/Qt5/qml/QtQuick3D/Effects/Flip.qml,sha256=nPCINyBMyEqLT9ErJ-969hoAtqLNyKN-P_8hxJu65ks,1709 +PyQt5/Qt5/qml/QtQuick3D/Effects/Fxaa.qml,sha256=SGf07zQ6kLJpRzEyoherAbacPoGVM9cR67MVSEqrLZc,2358 +PyQt5/Qt5/qml/QtQuick3D/Effects/GaussianBlur.qml,sha256=T6ElYJw_qsWTj7g1izrgBLBkWlD9cAHSP1Qs-bn7TLc,2433 +PyQt5/Qt5/qml/QtQuick3D/Effects/HDRBloomTonemap.qml,sha256=7ATno46q-Vj6iH38bZPzm67FqGcyb07qET5KB6IoDKE,4952 +PyQt5/Qt5/qml/QtQuick3D/Effects/MotionBlur.qml,sha256=qZz5EOiVNAmmnb590WaIW7aAiSpPimf5K3MjoXnMHXs,3625 +PyQt5/Qt5/qml/QtQuick3D/Effects/SCurveTonemap.qml,sha256=P7BzUz53RGcF2u2DhlazjM98eDPJGkt_xib4zqVxMtg,2315 +PyQt5/Qt5/qml/QtQuick3D/Effects/Scatter.qml,sha256=46TLQqOx4DU6M5yvjR1TU80IZdELKavzsD1ama92nxU,2044 +PyQt5/Qt5/qml/QtQuick3D/Effects/TiltShift.qml,sha256=l2z31_MqA9fEsQlO28nk8pQvTQYFqm5-qF-CRW97L9E,3007 +PyQt5/Qt5/qml/QtQuick3D/Effects/Vignette.qml,sha256=bjdHj5kUIn3i6scJTRLkC4MlHhSRuw1CSCZoosnDvkQ,1803 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/AdditiveColorGradientSection.qml,sha256=zL9il1ra9_LB4q5IZU07tVO8NZ3qQ5TWfyChyV1N8yU,2104 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/AdditiveColorGradientSpecifics.qml,sha256=4IP8uY9rOqQwB8NactC6o3eL7gkvUeeYUXIe1ETLNO0,1539 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BlurSection.qml,sha256=J0PDQ1hGYzfZjwpjHQXa1sOwhGlu7xA1htAWPMnUac0,2057 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BlurSpecifics.qml,sha256=d_L95i9KvmX4Fmn8WL0Lb9iGGOqi_0vRGSJVZ7HT3TE,1522 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BrushStrokesSection.qml,sha256=rSVILJC4v-pFsDwybZ-qiLHT0FKzdkXf-PtZyINQC9E,3522 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/BrushStrokesSpecifics.qml,sha256=WdX5mVnt-1MxrlZVwt3U3YXdgTbvQKvMPL6vjWPVfl8,1530 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ChromaticAberrationSection.qml,sha256=d_hW__-dNwDOZ-K0aAh5VGZpbMk4_OO8n-rxX2XgJAU,3115 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ChromaticAberrationSpecifics.qml,sha256=QaypIWDW7h_cO5MN-l78Xsg83b52TEJwtRghpuKkWlc,1537 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ColorMasterSection.qml,sha256=l0DWns077DIEyIY5z1FZyEHeKmML5JGy8IsIx0ldDdg,3480 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ColorMasterSpecifics.qml,sha256=gJex4BGudiIcNsnU-VvWpLHZslkd9cdN3Ups8RGaLFo,1529 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DepthOfFieldHQBlurSection.qml,sha256=Jesw2BAJusPunlSXIXD6UWBLvyawlnARgrCinwyRuT4,2926 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DepthOfFieldHQBlurSpecifics.qml,sha256=SLaD8bCyvHTAZT_uThw1adGYkjFRyVSjTmYiWxN2Py0,1536 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DesaturateSection.qml,sha256=r8YhR3O5YFBSLWQY38C_LUuMB9W0oWQNDk7rEwdJ_qU,2067 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DesaturateSpecifics.qml,sha256=xIS2u0YBQ5_OqWZBJnrKf1Q3RbJTFtXdph7o8hknEYk,1528 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionRippleSection.qml,sha256=eQt7JHXn-bMwNABuMa447_QK5WWG50DEqXANXeZlBsM,5054 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionRippleSpecifics.qml,sha256=z0gZEE5jCCF-B-aip1bIbkTgTc_MsQbffOasu0lqi3g,1534 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSphereSection.qml,sha256=NRLq-55LAjpE6xLsU6gLjS5KkKmNuJsN57rTFNFcT9Y,4231 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSphereSpecifics.qml,sha256=RX1GrZUQ2ei1Ac_5aQY3QInXuIN0jvSovKuE167f3_Y,1534 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSpiralSection.qml,sha256=gtCUutKtR0q8wLKm6fR_CG4FHEVYnEpQy0sHStS-Q7Q,4204 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/DistortionSpiralSpecifics.qml,sha256=OF4WHSI-PozH7OMVNYt3l7hUH2tMsn6Dn0nBtreFjOM,1534 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EdgeDetectSection.qml,sha256=4Q7gGCSCGUxeQuBm4t79bNZ26mooJktuEZgFENWa8NQ,2062 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EdgeDetectSpecifics.qml,sha256=_rgtiQlYP5F4gWO4F5LjukIJBI0R59KZGrVRuJNiBqA,1528 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EffectSection.qml,sha256=VKS6diTIbr3Gg5E7ITzEN7B4lT9PwaPfvfl3GKt9IOY,2203 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EffectSpecifics.qml,sha256=A-2wJzo201zFR3uI46Hd_5h0HNj7RfTr1i-xDTuzAKs,1524 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EmbossSection.qml,sha256=0S-VBySFV2meUklL735FkKih5gG9xz12-TXC2rqcxzM,2063 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/EmbossSpecifics.qml,sha256=_8gyheixxaBMj0lMWPEbpi3drJhNV7T6MpE13G8ajIY,1524 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FlipSection.qml,sha256=qEhbooJ4jAQlnGQxuBVGjkad9Pj8jMTEpXdibdxRrlg,2397 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FlipSpecifics.qml,sha256=DvlnFOv-3da1Oe75SO7QeTzPTe25FR8EH-cFVdPdLSY,1522 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FxaaSection.qml,sha256=GQr5rmnKZIpD2jVcZ1gjFU4vLir5axIyp0vjCHeps0E,1516 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/FxaaSpecifics.qml,sha256=sY09NcZPER0bR5lUH5KIXP9nK1Bz7gQzmXgTRQk-7dw,1522 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/GaussianBlurSection.qml,sha256=HLXZeAEyO53wHwmA14y97M7biYdh-7rWxiz2N7xzZiY,2020 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/GaussianBlurSpecifics.qml,sha256=COsFz6fKTCgOhYUlP9_OujI3thFLrSrDOWZnEUVgweE,1530 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/HDRBloomTonemapSection.qml,sha256=XNosKYXOPN3bitu0-GlEg-kP5VoOYLJSXA9Dy5JYTAY,4425 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/HDRBloomTonemapSpecifics.qml,sha256=v9CdvlCbXcl4Up7bHmImA_HPbTq1CzemGpo7_IV24ls,1533 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/IdComboBox.qml,sha256=G8wM3pft_HK4twZmp6nXP9_gcdvMNdzVxxfAR8sIzdg,4199 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/MotionBlurSection.qml,sha256=CA1rt3wkJ1DgbQcE-CsQ2q0-rG5jX8nwCqfTZQC7-yg,2559 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/MotionBlurSpecifics.qml,sha256=1hT7DqZNrfGLKMLXSNpSUC0Npge3l8FRbqskVz56IEg,1528 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/SCurveTonemapSection.qml,sha256=fOLsFgNwDZTgRirLYS0oSzPUiWMhAuQZluPjcOt_8Kk,6483 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/SCurveTonemapSpecifics.qml,sha256=6mwLiGfeMAnSHoliT6Q6Q7oBTlb_lHBEAdDDot4f_Kg,1531 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ScatterSection.qml,sha256=FY6kN3Xs2FbwOfyz3zUdqmHFkP28_nDyfbq4DwSEgxA,3506 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/ScatterSpecifics.qml,sha256=_z2EB4S5lfvBq6__Y3DONL9gLQdQlMOo0_p_7HIOpGA,1525 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/TiltShiftSection.qml,sha256=vgUO2tL1msyH0E6U_uuAWvc_JJ3yWwXCwAC-HunHlTQ,3827 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/TiltShiftSpecifics.qml,sha256=rRHh79qnAQDc247-d7ZOc124OoTOxl8Tw0xoo88v6Uo,1527 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/VignetteSection.qml,sha256=-k2Fy4RVwd5plnOkgYThHMtelQ4_kKBST0iJb8nujDw,2840 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/VignetteSpecifics.qml,sha256=iHctYim8K7Fk-ijzkvB-G2P2WmBMzB72zGqbBg3Bwb0,1526 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/effectlib.metainfo,sha256=O6DsinmVwRa159Ach0h9m4X4VunNbcm_Y5SIPTWQXzs,12027 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect.png,sha256=dA-d2BfgwUmZsBb-znbJnfSygGWst4zoGVUrxuxXZ3M,411 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect16.png,sha256=szEHoRHnmp90mT2L2EPvP1XBMr27QDgFPUMh6plejbE,321 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/images/effect@2x.png,sha256=fEh1QkGnSjrmmP0hkpOtyE_H617-j4GyGNd21DQrsm0,714 +PyQt5/Qt5/qml/QtQuick3D/Effects/designer/source/effect_template.qml,sha256=3aN_j8gxnV0KaZSjQ8dVqVe0PlCy183l9A60mleYqX0,1673 +PyQt5/Qt5/qml/QtQuick3D/Effects/maps/brushnoise.png,sha256=_R72ChlNd82OPTIXG-KkaC2SMiBgCLtreLCXY6Awnls,61885 +PyQt5/Qt5/qml/QtQuick3D/Effects/maps/white.png,sha256=0QpSFOTU9uxNxu0J7Mf3n7NG8oH41rsiO3H7d4BXH2w,155 +PyQt5/Qt5/qml/QtQuick3D/Effects/plugins.qmltypes,sha256=CyfSC0JHbEiqouKF7xBQ5S08pGLunGmKKdb-XPFMnGw,740 +PyQt5/Qt5/qml/QtQuick3D/Effects/qmldir,sha256=QQZsCtl-ySCuhHM4m_ZIGPCUCYBLj9_SDLRG_T50Ves,873 +PyQt5/Qt5/qml/QtQuick3D/Effects/qtquick3deffectplugin.dll,sha256=PwUBN3Qjk40kyjIcw5FJs_2Fj9BQ0HZJ1z5QH51uXjI,113136 +PyQt5/Qt5/qml/QtQuick3D/Helpers/AxisHelper.qml,sha256=jO5fMI9lAX7Yzv364HxXrIgNcngT2U9vsKjFKhYKvz4,3597 +PyQt5/Qt5/qml/QtQuick3D/Helpers/DebugView.qml,sha256=qwZT4GzpjRFlPyUobtL1ulZTr85J_8NosVbx_F9yOno,2313 +PyQt5/Qt5/qml/QtQuick3D/Helpers/WasdController.qml,sha256=F6qJ9tJ7mxX89Ky3kcPiHKPNstseoniMR7uuuJ5cN_g,9374 +PyQt5/Qt5/qml/QtQuick3D/Helpers/meshes/axisGrid.mesh,sha256=taa7WIDChjp_KIkO_LqC1LBgZAmraMRGMbIhLpiYmjE,128684 +PyQt5/Qt5/qml/QtQuick3D/Helpers/plugins.qmltypes,sha256=SKUIfMCGN3UgpedKVESsk49K3c7VWixlgiQvyDwrmoY,2448 +PyQt5/Qt5/qml/QtQuick3D/Helpers/qmldir,sha256=6b1RT1G_FyFDqBkcb-hLXWKjQeq2BO7ps7z3fhpWyVw,232 +PyQt5/Qt5/qml/QtQuick3D/Helpers/qtquick3dhelpersplugin.dll,sha256=7SJNszVf3I_CkzQqIqaq6Wpx1BtK2xNmPEFQa8UVvc4,39920 +PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumAnodizedEmissiveMaterial.qml,sha256=xxybNLRWA8acBsDUPxQjDJAO3xPJnsggvnDZpWT13y0,3608 +PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumAnodizedMaterial.qml,sha256=o9MiOmvOOMjdChQ_iT-40GNL-Jmr5-eYThJj_jmWQmk,2742 +PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumBrushedMaterial.qml,sha256=2juR4R9ZnB94FVGp1msP8_K9O4yyPf2UavjpfJby0xY,4902 +PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumEmissiveMaterial.qml,sha256=gnF8N7qxke2RB2XX0cGG5xsRV_N8N11yb2WZnFV6dkQ,4874 +PyQt5/Qt5/qml/QtQuick3D/Materials/AluminumMaterial.qml,sha256=50kDLBAImpAmlI60fO5rtfispZA7zNzzJgfYeyom4WY,3950 +PyQt5/Qt5/qml/QtQuick3D/Materials/CopperMaterial.qml,sha256=tE3Ey0BKULcNP1NE6vTPi4YIMERl_bB-EbQHdmP31tI,2544 +PyQt5/Qt5/qml/QtQuick3D/Materials/FrostedGlassMaterial.qml,sha256=ZCyIzGrRP-kvEIYG1MUgKTxfMWoi0zutUXsI02OvMeg,7751 +PyQt5/Qt5/qml/QtQuick3D/Materials/FrostedGlassSinglePassMaterial.qml,sha256=JukYNdrvRwHf6IEhjHADunkNSCy4TlVb0VE-XkF_oaI,4634 +PyQt5/Qt5/qml/QtQuick3D/Materials/GlassMaterial.qml,sha256=DQIOr0qstjAJj6GxKHIOEV5c4WtjAZjes6mpsYLMItA,2906 +PyQt5/Qt5/qml/QtQuick3D/Materials/GlassRefractiveMaterial.qml,sha256=vf56pMSKM4yQ_9wgucCeJ48e6b9yokLKaCAsM8cvo74,3414 +PyQt5/Qt5/qml/QtQuick3D/Materials/PaperArtisticMaterial.qml,sha256=-LV0K0CVbFHDgXfox_o4OR8ype5jnFzap1vtXIoYhFs,3616 +PyQt5/Qt5/qml/QtQuick3D/Materials/PaperOfficeMaterial.qml,sha256=eCrs-BwsQZxINykcP09mt-6N4sb6PdbS_nbVG7dMeO4,3369 +PyQt5/Qt5/qml/QtQuick3D/Materials/PlasticStructuredRedEmissiveMaterial.qml,sha256=_dYH4XpEWXbo5hgO7P2Y6aAOCnZD-fizWTmvrmMNMpc,4636 +PyQt5/Qt5/qml/QtQuick3D/Materials/PlasticStructuredRedMaterial.qml,sha256=CXkwUOnaeqT7mppqFTmqbJ1rfJgQG_XMbOnQ2hssu8k,3808 +PyQt5/Qt5/qml/QtQuick3D/Materials/SteelMilledConcentricMaterial.qml,sha256=TpGq9dA8KVpAb0zgVM9mF_c52VZfAZPqFUsjxbi37hI,3493 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedEmissiveMaterialSection.qml,sha256=01d-c85YO-2sjLi-Dzj2TnyGDSlJHVKyoSmErQLRM6c,6347 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedEmissiveMaterialSpecifics.qml,sha256=9S6qRPUivD9dOOVffuVQCT71bGwB8UqPuznZUNC9NxY,1550 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedMaterialSection.qml,sha256=K0X0sgT1jiASwgnXKXEKUlR6dDyhqZ8GDe72oWYzfn8,4471 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumAnodizedMaterialSpecifics.qml,sha256=w7mg2Cnpn1r_Uq4HKn5dGgEY7FUYvzW2oJuPB0_eiZE,1542 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumBrushedMaterialSection.qml,sha256=XkpN5Aq3_3JKeVzop-_gDjBLRJEoFsB1uEGMmAkuqLw,10710 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumBrushedMaterialSpecifics.qml,sha256=bndM_uhP_-gR94yQWYgM-ubvXWUN3H2kzWRZdUfa6vI,1541 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumEmissiveMaterialSection.qml,sha256=KbfNgZlWNEVr83GfhI3v5XOyHkdFwXSjQt9KR37ZaMk,15432 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumEmissiveMaterialSpecifics.qml,sha256=VHVU9Z-uzcH4ZiorwSUxwF6Maze0XfHhRgTYPekiITk,1542 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumMaterialSection.qml,sha256=quaMMvwF4zhyLrOMdChoImNZacQwEOziEOmgsbjiZmQ,10859 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/AluminumMaterialSpecifics.qml,sha256=tQGv7bKwSZwSAFDh2L_BBB35DOdBofuiLZxAY2xDMy8,1534 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CopperMaterialSection.qml,sha256=FsNw0Pv5PQuWdarte0028UvVQ1Olic88Wb6D9iXx9CQ,4474 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CopperMaterialSpecifics.qml,sha256=A7Cp1S_Lh_EA-6JpeWzSXO-9AYQ909q0ysUXOJvzoc8,1532 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CustomMaterialSection.qml,sha256=CON99dBHnzrEuSdgC9pDG78uGrwbBqB_mhXjn7TvncI,6158 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/CustomMaterialSpecifics.qml,sha256=NYyuVQLIPZ2jWz4KCofFwldAeLMPsRQ7WI0vQWmn51I,1532 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassMaterialSection.qml,sha256=Jal0-HQ64U5VXTp9WK9OCfmE0LCGgoFAKR92l0yRnHA,18232 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassMaterialSpecifics.qml,sha256=QEMGFusdRY3fGa_a_XXhAl0N2loxmkY1zF-9zDkf_ys,1538 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassSinglePassMaterialSection.qml,sha256=UUxKvi4utOb07L7x1fT9uWqcgX9FEe1FIcH_3defpxA,15685 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/FrostedGlassSinglePassMaterialSpecifics.qml,sha256=hvZV1r4QxF-DZH_ovjwgZSJ1aNPr8kI8IHl6EJrITZo,1548 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassMaterialSection.qml,sha256=7W5OJxkuFQnAaUdjrXxhj98Y-OYLEREd0ZrevM4rZ4I,6116 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassMaterialSpecifics.qml,sha256=d707zNV3npaqu02hygl2ewN4TFrAF5AeOwGh7Vge5Rk,1531 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassRefractiveMaterialSection.qml,sha256=rB4n7tIV6hy3JVixI9rd88U__Wjt5nB5KxvTlrd9XpY,6102 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/GlassRefractiveMaterialSpecifics.qml,sha256=0nASWvxDk0Hbg3VUd9XoCzdjDAaZSiAw6CzxcMBoMq0,1541 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/IdComboBox.qml,sha256=G8wM3pft_HK4twZmp6nXP9_gcdvMNdzVxxfAR8sIzdg,4199 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperArtisticMaterialSection.qml,sha256=XRYDlIehQgd1fcpa87ZhSeHtmz8KaMWHq-Ls32zteOw,10256 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperArtisticMaterialSpecifics.qml,sha256=mn0EP0D7yRsI3bviA4ocjtvOvXyiIjJEByIqr3I5Fn0,1539 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperOfficeMaterialSection.qml,sha256=MR8RBzcKLoab-cQ53lAtRiSRbSgMuwJQ6YuhTy80j6c,9521 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PaperOfficeMaterialSpecifics.qml,sha256=HgU5acOXmhs5puTYIpIdhgX7ZncO_7NGHbVxukkAJ2M,1537 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedEmissiveMaterialSection.qml,sha256=UKdJ4nhZRgdeeyRcFJW03qNxhZNiJn6HNh-wlf_oAgU,10134 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedEmissiveMaterialSpecifics.qml,sha256=-LFMIuCF8_ckruGNmnsDjg5UJLj7UTd8KB-_ILdYaYk,1554 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedMaterialSection.qml,sha256=PKTxpPRfAqxIU7ygFedAwZMqOts_Qrf-pC_XpFMSzWM,8258 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/PlasticStructuredRedMaterialSpecifics.qml,sha256=3vI-sjE-ulR5eaACDKTopY1tOdGId-xbIb5oGLTul1Q,1546 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/SteelMilledConcentricMaterialSection.qml,sha256=fyvF2RxiaIqzBd4cbAFTuYsm8PAFWB3kstfDbiKgOWU,7612 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/SteelMilledConcentricMaterialSpecifics.qml,sha256=NP9wBKdGVhpYYPeBoNW1viepSdgoXguHDN1-x9BCX_s,1547 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial.png,sha256=2Vp-CAJy9YTs5HohFQ-oao9JU4o_8Aak-s_EksUYevE,563 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial16.png,sha256=CUsVGRVi95SZyKKTQII6JrxgJRQc--MuPpNzJeKXnfA,347 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/images/custommaterial@2x.png,sha256=IKkJPnSENBJB9N8e-qPqievAaR0aAcZVscbT3Hgg3wM,1171 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/materiallib.metainfo,sha256=d5L9ANKhNgWa58CdVN9RSvZfk5f28C2slPiuh9nj4vg,9358 +PyQt5/Qt5/qml/QtQuick3D/Materials/designer/source/custommaterial_template.qml,sha256=2Jk_RqleesLnNU0oBO_EakCeBW6nISrzugvz5Rszn6w,1964 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/art_paper_normal.png,sha256=wnGA266QLkcYvXmmTjbxUKC--QEKvCE4NWhKZal0m9w,517044 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/art_paper_trans.png,sha256=87G8NXdFCkwVg6wlnmqBuOJNGRRGg7-FNP_tgD9dgoc,428034 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/brushed_a.png,sha256=HLcIJgxbcFQ9TORHO59iFWH9S7cAV_IE8aPK5GvW1LI,196175 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/brushed_full_contrast.png,sha256=JWP8CcanN2aN6G97w7oonvr048gEj69I3vnkavBxuLE,161293 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/concentric_milled_steel.png,sha256=lCtnupmuCJ-llTgz0HDeCnNTZ3s7jZtJk4_NKWb0uTI,4216 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/concentric_milled_steel_aniso.png,sha256=VJ1Lo0YVT9NuhbNU3aSi2Zkj9P8G0ACc8GIdK4va3aA,92352 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/emissive.png,sha256=AwA6oBAm6US3VEcHj1dY0P-rhU0D6c6AeAoXRBEHP38,334 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/emissive_mask.png,sha256=AwA6oBAm6US3VEcHj1dY0P-rhU0D6c6AeAoXRBEHP38,334 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/grunge_b.png,sha256=L60sfzTox0tRxLwE1g3w6yOL7TDRiyvqqCxR9B1LnNE,402701 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/grunge_d.png,sha256=R3LtZ_Ib4n6C1gVALDifpmtq6nhQioj1Sv63J45oa4s,151503 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/paper_diffuse.png,sha256=EAWldXGytRHcSJZCc2-88tNGGkbLX4yILTz-TqtTdc4,339022 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/paper_trans.png,sha256=BGddlbRoDO7wlALO5EOe8m7PsS5Kooa_FOzFBd_AIDI,322968 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient1D.png,sha256=ucN5-ILTht34j2rEXryd72MsI9PDpOC3KMXWm40pnm8,618 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient2D.png,sha256=AW8Kao_trXHJTRgQbryGQcTLdmWrzELTgIoaXBYTouw,738 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient3D.png,sha256=pl3G34M78E-JWzw2_sRr3-NZ2hfYnHmpvyr1CfAkU1M,748 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/randomGradient4D.png,sha256=1FmqegCOGx4rAxBbth5q1QBNA-Z8bKEQTcjl-WKAq34,535 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/shadow.png,sha256=AwA6oBAm6US3VEcHj1dY0P-rhU0D6c6AeAoXRBEHP38,334 +PyQt5/Qt5/qml/QtQuick3D/Materials/maps/spherical_checker.png,sha256=bEWDwAD_FnYdM0EHH47stCsJ2HVZW-e3rtBjH2mm6QI,11066 +PyQt5/Qt5/qml/QtQuick3D/Materials/plugins.qmltypes,sha256=9iGo9MuAWIS9bfHPouEFU6UQkGBp1WrKappdJ1Bgtk0,1989 +PyQt5/Qt5/qml/QtQuick3D/Materials/qmldir,sha256=ztpTRl_g3z42e8Eml8JO8EBrSI0TMWr4b-OK7t0_b64,1099 +PyQt5/Qt5/qml/QtQuick3D/Materials/qtquick3dmaterialplugin.dll,sha256=f2XG1DYzhR541Te4kWWcLgFp73oERnZMasB6y6mFf6w,79856 +PyQt5/Qt5/qml/QtQuick3D/designer/AreaLightSection.qml,sha256=5wJ4RowlzAHqlXvhav9S6oL91HGKESZKpdZNupRKjFI,4183 +PyQt5/Qt5/qml/QtQuick3D/designer/AreaLightSpecifics.qml,sha256=XnfvXDcNVGw0-jC8t_knRjMU0HADVwhYPzvsmnktifU,1584 +PyQt5/Qt5/qml/QtQuick3D/designer/BlendingSection.qml,sha256=0a5XL24SvEljmcjf1_WyPTlITdcUPI4fV5s8UBUtv9A,2762 +PyQt5/Qt5/qml/QtQuick3D/designer/BlendingSpecifics.qml,sha256=L4VqUgfdYnjFrI_PP7KKVYkIr1Dn0_AasYZBJXQzxdc,1526 +PyQt5/Qt5/qml/QtQuick3D/designer/BufferBlitSection.qml,sha256=V1l8aATCaN-EHbRlcXIIcuSczikwQUoAz9HRAZrrPWY,2395 +PyQt5/Qt5/qml/QtQuick3D/designer/BufferBlitSpecifics.qml,sha256=ci-O8nk8JFCmDSJ6q0ydivxaYZ-vVTy16L06KVDXCQc,1528 +PyQt5/Qt5/qml/QtQuick3D/designer/BufferInputSection.qml,sha256=IY1xHnatludSr4RXTgJkpaPNtFzSOaZPM4wnbyEbmmM,2374 +PyQt5/Qt5/qml/QtQuick3D/designer/BufferInputSpecifics.qml,sha256=tu6u-3A3aUxXamQk9kL0cCDQI6j-iXZLNoqRFqV1RSM,1529 +PyQt5/Qt5/qml/QtQuick3D/designer/BufferSection.qml,sha256=d9u4KVuAQL3CaWpYxxciBenGj887jsCyE_27WgsxspE,4202 +PyQt5/Qt5/qml/QtQuick3D/designer/BufferSpecifics.qml,sha256=AxCriZgGIY8_B8KPgjwZimEeVpwrgo4nLIVOcoHtqF8,1524 +PyQt5/Qt5/qml/QtQuick3D/designer/CullModeSection.qml,sha256=8WRLvXQPJ7qA9VDDUFE5tH81WHBDTA4txL_l8D_52uk,1965 +PyQt5/Qt5/qml/QtQuick3D/designer/CullModeSpecifics.qml,sha256=J2KZm50lxcVeAE_LDnKRo8o1Wyza-NZKVz_B1Kcaq34,1526 +PyQt5/Qt5/qml/QtQuick3D/designer/CustomCameraSection.qml,sha256=8Dw86d-FRuz2NLVngnz7510aQjQc9-CM8WKX5TomcHU,1578 +PyQt5/Qt5/qml/QtQuick3D/designer/CustomCameraSpecifics.qml,sha256=SvSLFN--JvvOHhLhWK1sJ_yQ2FTbY3iy_j-PAAMEc2A,1587 +PyQt5/Qt5/qml/QtQuick3D/designer/DefaultMaterialSection.qml,sha256=Q-rZfWvgzWCt9ak-3XzgEN4K35fNKx4yDu34LyrdM0o,15389 +PyQt5/Qt5/qml/QtQuick3D/designer/DefaultMaterialSpecifics.qml,sha256=RfsUe_tQiu50B_xA82WpmESnB4bff3DxQNotDXjBYLY,1594 +PyQt5/Qt5/qml/QtQuick3D/designer/DepthInputSection.qml,sha256=-BTuD-sG_uRgf9L81C1btyqgupjl52g3DywAk0eWqBc,1990 +PyQt5/Qt5/qml/QtQuick3D/designer/DepthInputSpecifics.qml,sha256=4KUML7FKVdrlhfhX5SW8AC6CIudFWDSe8pPUgrN1c34,1528 +PyQt5/Qt5/qml/QtQuick3D/designer/DirectionalLightSection.qml,sha256=QzAoh2_xmpLD-hU2jIZ2SZsbl1Ifiti3Fh6QXW9cdWY,3179 +PyQt5/Qt5/qml/QtQuick3D/designer/DirectionalLightSpecifics.qml,sha256=nAyh2Dpyda_OWHTvYZHnLIElHZZmMt0tCoTOrdjGads,1591 +PyQt5/Qt5/qml/QtQuick3D/designer/FrustumCameraSection.qml,sha256=nJ4kQqSHj4B1-fqfyrEuZZSGgIZm4E3EsjwsNS4T8gE,3322 +PyQt5/Qt5/qml/QtQuick3D/designer/FrustumCameraSpecifics.qml,sha256=tSa7BMOY9B1y1-91RtbQy923p0v50aLuCVclFWv1d_U,1658 +PyQt5/Qt5/qml/QtQuick3D/designer/IdComboBox.qml,sha256=boL6_YGd9wINmgZaGkaUskzaK_RPwwFoDL5nmC4EaCw,4199 +PyQt5/Qt5/qml/QtQuick3D/designer/MaterialSection.qml,sha256=Kn6Jg3TjoO_tVYcqMK9DDQt0EB8RsCBpHM8wmKl7OZs,3453 +PyQt5/Qt5/qml/QtQuick3D/designer/ModelSection.qml,sha256=4j7gG20HiZL4gy-T53UbDIGP3z4RtAlMQhi6-XoyPaQ,6116 +PyQt5/Qt5/qml/QtQuick3D/designer/ModelSpecifics.qml,sha256=ZpDHFM0oDtWtHi0h2zI9YUwTTn46mcIk4ziAK0IRBV4,1580 +PyQt5/Qt5/qml/QtQuick3D/designer/NodeSection.qml,sha256=knzeAnVgLKJUPQjvXZ8g8jAUg4ZCws0J2C5k8iGGsSg,13149 +PyQt5/Qt5/qml/QtQuick3D/designer/NodeSpecifics.qml,sha256=4FyxlBit115mB4-oDyJScp0IW179H0-Vce_Nawf6JoI,1522 +PyQt5/Qt5/qml/QtQuick3D/designer/Object3DSection.qml,sha256=x8wXD6Y_rPKQ34amjecDt1khBk3npA1rlWOKjoTYTVU,1472 +PyQt5/Qt5/qml/QtQuick3D/designer/OrthographicCameraSection.qml,sha256=wD8OgPxMBz6XXNmQ_6nKUzmYASArnfyIiiCGNIzhsSk,2465 +PyQt5/Qt5/qml/QtQuick3D/designer/OrthographicCameraSpecifics.qml,sha256=HoDg1yoSmOYoAVNc6Xj7p7pLoBeFlK8rTwvMXleHcA0,1593 +PyQt5/Qt5/qml/QtQuick3D/designer/PassSection.qml,sha256=o9YD7RXOZHjVIuK-U1RR5LkPPDtvo6Q7PlKtn4mn_d4,3465 +PyQt5/Qt5/qml/QtQuick3D/designer/PassSpecifics.qml,sha256=I7Nk8LkeDtLQ1WBsZo4b8S9T5ob_3bB8H5x8WGjgjAs,1522 +PyQt5/Qt5/qml/QtQuick3D/designer/PerspectiveCameraSection.qml,sha256=m0SHJOpE8JO5br7tVMrf4fgP9p4uA4p8pDY16lt72FY,3318 +PyQt5/Qt5/qml/QtQuick3D/designer/PerspectiveCameraSpecifics.qml,sha256=ZPRJC-djpZSThP6x8HaJizgujnpZm0BYzAKNoF3xn00,1592 +PyQt5/Qt5/qml/QtQuick3D/designer/PointLightSection.qml,sha256=mfumgyAb5h1_f0eiTlBlYg7mgZe4Xl5Pod5gv0BZDJU,4685 +PyQt5/Qt5/qml/QtQuick3D/designer/PointLightSpecifics.qml,sha256=EgG9JiLJ-A-FafJ1u1CxUA_5fUT3ieMZ2fM-20gS6uk,1585 +PyQt5/Qt5/qml/QtQuick3D/designer/PrincipledMaterialSection.qml,sha256=H0cxD1kay9gC_UI-zm45ZSKRdkV2cLaXZLsUeaxVF4E,15682 +PyQt5/Qt5/qml/QtQuick3D/designer/PrincipledMaterialSpecifics.qml,sha256=_5I0fZLzsgUhGsQvxz8jTQtjMJ83FwO3pH4agc0g8vQ,1597 +PyQt5/Qt5/qml/QtQuick3D/designer/RenderStateSection.qml,sha256=2P965JSc4dMd2KxJBNsFOBTvArgXkZtZE-6UHqfYBKs,2433 +PyQt5/Qt5/qml/QtQuick3D/designer/RenderStateSpecifics.qml,sha256=GZWGDZYUXjmpBHekpuUrNihauRwkvTgXqGfsU1CJPCA,1529 +PyQt5/Qt5/qml/QtQuick3D/designer/SceneEnvironmentSection.qml,sha256=gMjuXrBKEONyzcQOf3YbCNdOHu0SoRS0s-ved2-yRCU,11935 +PyQt5/Qt5/qml/QtQuick3D/designer/SceneEnvironmentSpecifics.qml,sha256=UiSocSeH4W_Ni5WJQmk46QA77CiYBvU5vcJ4Irj1Jh0,1534 +PyQt5/Qt5/qml/QtQuick3D/designer/SetUniformValueSection.qml,sha256=32KgYq945hi3CReJKb-CZUdl86KhW-QS0q7xnAe0dDo,2429 +PyQt5/Qt5/qml/QtQuick3D/designer/SetUniformValueSpecifics.qml,sha256=85ka554h-foPTQyAOdqRqTjmaFuiPqQ3Y9U77-VHpN0,1533 +PyQt5/Qt5/qml/QtQuick3D/designer/ShaderInfoSection.qml,sha256=uy4GZvSO-So01OseXYLGtQLMV5ltt7yScmzI7Wkc1b8,2754 +PyQt5/Qt5/qml/QtQuick3D/designer/ShaderInfoSpecifics.qml,sha256=7Vsmj3FIcx4FCj7e6PqdwITJaj7lE4kfNtYDjNzkc3A,1528 +PyQt5/Qt5/qml/QtQuick3D/designer/ShaderSection.qml,sha256=C7O8lxDQe1SJ7a74hNkOflGnVsxgz2JQP6P6_enJdTk,2270 +PyQt5/Qt5/qml/QtQuick3D/designer/ShaderSpecifics.qml,sha256=mmZGuq-JQuPVGsHZTsPGJkSMBCJWtCe6sfK4OabD2bA,1524 +PyQt5/Qt5/qml/QtQuick3D/designer/ShadowSection.qml,sha256=apCSAponXBqAa3cD-230HO-tKFLSzSoEvG9q9KnzBrk,4701 +PyQt5/Qt5/qml/QtQuick3D/designer/SpotLightSection.qml,sha256=toq-J8Mgph29jY4khsjw5N2paE9KGw5hw0G6cBaxJ_4,5611 +PyQt5/Qt5/qml/QtQuick3D/designer/SpotLightSpecifics.qml,sha256=xnFSYWl9Fs1BC5H5G0DOSGgw6iTcJWghoeswDxJzqvM,1584 +PyQt5/Qt5/qml/QtQuick3D/designer/TextureInputSection.qml,sha256=8p79aL0G8ciAwzqjzLRZ-cJh90qr7Xh6uA-kFL_Nodc,2363 +PyQt5/Qt5/qml/QtQuick3D/designer/TextureInputSpecifics.qml,sha256=gB7RBgFl_dYgTrRcuz05KZHSZG9yWTJHd1h8YzfnH4g,1530 +PyQt5/Qt5/qml/QtQuick3D/designer/TextureSection.qml,sha256=T3CrlQffQ1M4nZK3mGkjOyVpU5u_V9J6acte6-o1uzM,6952 +PyQt5/Qt5/qml/QtQuick3D/designer/TextureSpecifics.qml,sha256=4o1CkKmza52d8f42aPotx8E6SvXv3sCiC2FlgT85fH4,1525 +PyQt5/Qt5/qml/QtQuick3D/designer/View3DSection.qml,sha256=xYBPVA0OOycqD6Qd-SusHR0AN0xniARLHYOJujU1Bw0,2677 +PyQt5/Qt5/qml/QtQuick3D/designer/View3DSpecifics.qml,sha256=B2V6x44CBB8bGPguVgZlZ-n06PyXEvkOw2Hb3k13Ft0,1524 +PyQt5/Qt5/qml/QtQuick3D/designer/images/camera.png,sha256=a3Kbc0KnAvy2WXvZ3yCHn9JA9hBx2Ig_xnkPxnyxp6Y,276 +PyQt5/Qt5/qml/QtQuick3D/designer/images/camera16.png,sha256=UtQN6H_A8pCf0rZkWA6eS6cIFuSFzY3muKlUN_XAHCo,241 +PyQt5/Qt5/qml/QtQuick3D/designer/images/camera@2x.png,sha256=kzcYnTSawd0FtIgr7rz4iM1nkN2X0UpV9B_o4ZihA70,385 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cone.png,sha256=ntPrpduJ0g-DEBqh4NwFxMr7xe1A7ctGOsikJZqYrkA,412 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cone16.png,sha256=DevDONMnQMhOm3XtDiHOH2JI17TefWgs6liu8tv56ZE,277 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cone@2x.png,sha256=I6JPOxXN33pXx3XdBCgN4k1DAQSqrZBVX03j2NFXW4A,731 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cube.png,sha256=xz1ntISSxkXtLo_ts-zfawMtnOc9m65EMlN4EbIXIDg,369 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cube16.png,sha256=OzPgTX7w7VMI96_tosFp-1IZK8xJ9VqKpsa6xjncHb0,190 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cube@2x.png,sha256=M74_hruchGBVQmDjMZIPJ92TVPNHgg0gg1VAGGXNUJ8,733 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder.png,sha256=n22Rvd9HMTmwO89dkBiufWl_EHjNgup8oqe58Fkg9Jo,445 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder16.png,sha256=dWMz6YYeRIb2Ya0vNd5se3vje9nvo5ifrmyAshwjTKM,336 +PyQt5/Qt5/qml/QtQuick3D/designer/images/cylinder@2x.png,sha256=4Zbq7Pw2Rmiqcc4WwblILySsn48KikzncbK9-2_rtls,789 +PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy.png,sha256=-8NwxUGpMeIu66UVe0fzD8YMfilYC5tJBHA7bheRC_M,375 +PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy16.png,sha256=IDZ6vbNiHwu75HPcLBZwgxgwPGADVt06U8lGXIppTiI,253 +PyQt5/Qt5/qml/QtQuick3D/designer/images/dummy@2x.png,sha256=rAztmEYpBRDzL_sRXSnlMpRC_sAbZSeoY-v1QcqMjtU,499 +PyQt5/Qt5/qml/QtQuick3D/designer/images/group.png,sha256=8evnJdpO790pKxLLKk7CqAPOP8Hg6h2eJy8In2Z3A88,496 +PyQt5/Qt5/qml/QtQuick3D/designer/images/group16.png,sha256=6zSv-oxhBOm1-uH6FqPDdiIB-yuxkzl3DSFQSRXU3oQ,284 +PyQt5/Qt5/qml/QtQuick3D/designer/images/group@2x.png,sha256=t1ZTX3qXY-U8YSwG2OUGL4KYW1OQAZ4ZuMa2ktLGtlw,822 +PyQt5/Qt5/qml/QtQuick3D/designer/images/light.png,sha256=8sBVt9PhFjqMYvGa4xZWfRoj-3bifa4iJDUPJ9dBFa8,443 +PyQt5/Qt5/qml/QtQuick3D/designer/images/light16.png,sha256=e8tLxar9Hq8QYJCPZW5CDcV0TGEOJ0O9m1-thmsZewc,281 +PyQt5/Qt5/qml/QtQuick3D/designer/images/light@2x.png,sha256=b3aWJRpScRLEgkTn8SofQ2WbP1-bY9rBIv79M-j8PAE,748 +PyQt5/Qt5/qml/QtQuick3D/designer/images/material.png,sha256=zB4WdLI5cwvOyTvg4rk8Zl7MIOVwmL5jfaQBq6xMoFs,333 +PyQt5/Qt5/qml/QtQuick3D/designer/images/material16.png,sha256=KNxamCJLo0GL1kuuyEzjvJ4W3t54OPeX8IUhDZBAlJc,314 +PyQt5/Qt5/qml/QtQuick3D/designer/images/material@2x.png,sha256=ir4FHfgBlIqHaKQF72xh7M5gvcxsbL_mjgtxXhKuJac,621 +PyQt5/Qt5/qml/QtQuick3D/designer/images/model16.png,sha256=OzPgTX7w7VMI96_tosFp-1IZK8xJ9VqKpsa6xjncHb0,190 +PyQt5/Qt5/qml/QtQuick3D/designer/images/plane.png,sha256=o_Q0Mk8WKkKOBG4dbwIVFYIo7Cm2uaDVejm_QPQU-Bk,154 +PyQt5/Qt5/qml/QtQuick3D/designer/images/plane16.png,sha256=ml9okqmd7g0PxYAKjkgFdRX8nqVVa3AafD87i5Vbu-w,204 +PyQt5/Qt5/qml/QtQuick3D/designer/images/plane@2x.png,sha256=6eJcwbLtYhMYZLK3blAL8vSByPe42if8VBkeENxmhoI,181 +PyQt5/Qt5/qml/QtQuick3D/designer/images/scene.png,sha256=8Yh4eztWAfvgMphRXFqVQWy7IKrACSssrm6sgPFMtpo,172 +PyQt5/Qt5/qml/QtQuick3D/designer/images/scene16.png,sha256=IVa857_NKRvzxRFwrLpPQIj2SV4aBEKkGY6ruTSjm4Y,219 +PyQt5/Qt5/qml/QtQuick3D/designer/images/scene@2x.png,sha256=Q8X2dKBjWSGuZtohXzKNK-FTz4ru70jG6AUWjny2FN0,201 +PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand.png,sha256=pSvjfnSL8c5lpWCJrvrgYCA0_iiEDDBvFephOJ2gAoc,160 +PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand16.png,sha256=IYzkDt4zfseisNNEsI8x5RsDeFxhfMB7UzjL6pEGd4Y,112 +PyQt5/Qt5/qml/QtQuick3D/designer/images/shadercommand@2x.png,sha256=MldZ57fCCOz_PLGB4IM7itTfgXeFiMK-Hx3wTjFxR2Q,145 +PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil.png,sha256=PAl7Ro4M6OUPTwu5H7YSFQ-fyKJWbvp02Dm1K8590Fs,304 +PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil16.png,sha256=MiN6h68ppidWb9AbBFuGS_iRbcUC4m9F_mp6hbDwxw8,191 +PyQt5/Qt5/qml/QtQuick3D/designer/images/shaderutil@2x.png,sha256=a_u9POpI2XcSNjdb-oQ3-s0eRfrgguDmdEHPV90ajN4,525 +PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere.png,sha256=YpzYFmxZgsX9I8dyeaguR4moVAzsgQ_-ab_oRia4cR0,233 +PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere16.png,sha256=gOVZdDEKzCa18JL-4UjK-MfGxMKr-AWNYSZIlQSqO4Y,212 +PyQt5/Qt5/qml/QtQuick3D/designer/images/sphere@2x.png,sha256=aY718aLnGaqzlduyK_6YjMgU_bT5WVpZV5z8V7BcJa8,381 +PyQt5/Qt5/qml/QtQuick3D/designer/images/texture.png,sha256=XsDKyT9qfGQRVUPjfGz7vsoFwE89Ve4BxFW624hmWQE,278 +PyQt5/Qt5/qml/QtQuick3D/designer/images/texture16.png,sha256=EE5nFQU3jW1EJe5rSDXUU4gKus-cTb-F_Z11q0Ck0Us,300 +PyQt5/Qt5/qml/QtQuick3D/designer/images/texture@2x.png,sha256=192C4HZBChk83v3FqyYl6A_eq1s4G0RHak_w4bxuuTw,433 +PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D.png,sha256=4g1gkECHsIjs1OXy5BdbtL6bLAVPlDsdsB7cIQYYpiQ,255 +PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D16.png,sha256=ZC_QBSG-rojZES2zjq5WhgVnTcJCXxCGUimGP8kM3h0,242 +PyQt5/Qt5/qml/QtQuick3D/designer/images/view3D@2x.png,sha256=5TZhSZNSqaDWy64b6pJmeYiA3ltXKCWmNFUM2XBOwRA,411 +PyQt5/Qt5/qml/QtQuick3D/designer/quick3d.metainfo,sha256=rsD8eBOSP3nCIXzFrQ4O0IyJOVH938Kvi7xrbGcm4fI,16823 +PyQt5/Qt5/qml/QtQuick3D/designer/source/cone_model_template.qml,sha256=4x4Evd5C-6J_yPH3gVcBiKSfjN3i1CU07FiaLVjx-xY,1556 +PyQt5/Qt5/qml/QtQuick3D/designer/source/cube_model_template.qml,sha256=AsBDoHYBYVNfAVzxqX2OwZ2RRYP22UqkHU2RuP9pfD4,1556 +PyQt5/Qt5/qml/QtQuick3D/designer/source/cylinder_model_template.qml,sha256=AiqhjCKoO33xXTqST7wtOStWr6mziwnBM1Yama6X1dE,1568 +PyQt5/Qt5/qml/QtQuick3D/designer/source/plane_model_template.qml,sha256=J3oibYy3GyMiMjT2w8UseQWIczvnZzh68aM34oLXWzs,1561 +PyQt5/Qt5/qml/QtQuick3D/designer/source/sphere_model_template.qml,sha256=EI0CS2tDdLcohHueXQjfbu7EEktnEvFoJMtyQj9KQpQ,1562 +PyQt5/Qt5/qml/QtQuick3D/designer/source/view3D_template.qml,sha256=ei4nH4DIqIpU1RZ16iJ_VOa6NJsMw3ML7-66kOjQRy0,2155 +PyQt5/Qt5/qml/QtQuick3D/plugins.qmltypes,sha256=JJZjmFcu9TTkkdGZQReyFvk-zqMSbMM1yYMVrx58N1Y,73364 +PyQt5/Qt5/qml/QtQuick3D/qmldir,sha256=tkfqaGrW299P4FEbHy_hIlL68fWPfXOPpdUpCRRtYLU,113 +PyQt5/Qt5/qml/QtQuick3D/qquick3dplugin.dll,sha256=0Lz_6Wz-DR2pkqmbtKLvDqKkmef55a1uDhz3aBH-3i0,127984 +PyQt5/Qt5/qml/QtRemoteObjects/plugins.qmltypes,sha256=oPKnVIFTaH5-0yHbqwdzRHg-FCeadTVo3hzcxp4fra4,4215 +PyQt5/Qt5/qml/QtRemoteObjects/qmldir,sha256=v6GCj5TOoLSq6YmbD34aWcqXPmZVa0OFAG18hlQjsAU,81 +PyQt5/Qt5/qml/QtRemoteObjects/qtremoteobjects.dll,sha256=-3Wpp2W7j5cOGZkSL3-b41aPYKVHcdDNgROS00_iJFM,48624 +PyQt5/Qt5/qml/QtSensors/declarative_sensors.dll,sha256=v1HTAwl8CufqNt-Qk9lKjfaJuB21c1uhItooZ5bF-RQ,205808 +PyQt5/Qt5/qml/QtSensors/plugins.qmltypes,sha256=9SHqj1MamcyadSJvcCUX-pA9Vt3Qr1hKGAEAbAlXQNE,21807 +PyQt5/Qt5/qml/QtSensors/qmldir,sha256=rQzDpftRJ108-YfVJiktPKTQHvz2nvaDGXe9o7aVRck,111 +PyQt5/Qt5/qml/QtTest/SignalSpy.qml,sha256=q2TiIo4JqLgZRSVyNKr2nOWsxJPxdQpd927az4g3AUU,9212 +PyQt5/Qt5/qml/QtTest/TestCase.qml,sha256=TWW3H8NBYQsbYd0hXroh3MVohIAWBxMbTdq4GM7GqW0,77687 +PyQt5/Qt5/qml/QtTest/plugins.qmltypes,sha256=c1_WYzPVFKE9Yzpwi9BIODGu3FZ4EVEOJfvVSveDoXY,13848 +PyQt5/Qt5/qml/QtTest/qmldir,sha256=GPLL8rv_yNVJ9MvXLHvEYiYHx1Vbjgu9SwJuGFNewCY,201 +PyQt5/Qt5/qml/QtTest/qmltestplugin.dll,sha256=D5f6RzE_jHdmX-t6UzWW7I86Aw2FuURrlLv3sSCFREU,62448 +PyQt5/Qt5/qml/QtTest/testlogger.js,sha256=ICPqsynA91NPv1V1lWdaKqywG4qNYYuf6Ma_EDQCm6c,3375 +PyQt5/Qt5/qml/QtWebChannel/declarative_webchannel.dll,sha256=QPfIi6x2y3m_vRxR8gnTRWcWI6fAOrYT914mG2IX8QY,28656 +PyQt5/Qt5/qml/QtWebChannel/plugins.qmltypes,sha256=OmG70hdvq6DxO5Xm5Nfj2rDnszyZ746DCgRYLRN97sY,2329 +PyQt5/Qt5/qml/QtWebChannel/qmldir,sha256=IZ3Vpg_XktJ4GHoZEq8yBv237I9JIweucTsaWvFy6ug,108 +PyQt5/Qt5/qml/QtWebSockets/declarative_qmlwebsockets.dll,sha256=QrWcfDX8dwyb15hOCreu-I_gxBAcORw47TI8H-EiTAw,50672 +PyQt5/Qt5/qml/QtWebSockets/plugins.qmltypes,sha256=MtYfsk6VUtmrDXRAcx97FuC83fhps9y5moAvtpNKGVI,3604 +PyQt5/Qt5/qml/QtWebSockets/qmldir,sha256=IxC22BpmjLMs16IOYdeyhCgJJuPr-MZ2zaikPE6GmHc,123 +PyQt5/Qt5/qml/QtWebView/declarative_webview.dll,sha256=zTHF_-JYIu0SImS1fFSUrXzEMTc0MZszxegVbFVeA44,36848 +PyQt5/Qt5/qml/QtWebView/plugins.qmltypes,sha256=s9rPk_Ra80sbL4sdzKsVeyea4XUUQ0Ecp6w96v2xPGA,3262 +PyQt5/Qt5/qml/QtWebView/qmldir,sha256=ylgMHWb8sVP49_5IeUcMbv4H21DS3vYG4fu_1v5Axek,124 +PyQt5/Qt5/translations/qt_ar.qm,sha256=qKGw1vlY5zZtHIVr5hAAEG0-f8mT-5MWdTaYkrkALQs,130 +PyQt5/Qt5/translations/qt_bg.qm,sha256=nhzk2RhSNSBD2RkfGpkoOPkZy6fi8tm7EWHklOi_X14,153 +PyQt5/Qt5/translations/qt_ca.qm,sha256=Fxx0JLJNhQKrU8s3hP802Pz64mVXz4r0393sZIWswv4,153 +PyQt5/Qt5/translations/qt_cs.qm,sha256=PAy_0ZSQ1n0bO56UTDpNmp5_h9euNeiNXVoAdzSbWyE,157 +PyQt5/Qt5/translations/qt_da.qm,sha256=tQNhYc6AjHKOX9qYX3kttWWDH9Ac8AsoJUd5DANzU6I,153 +PyQt5/Qt5/translations/qt_de.qm,sha256=WAW4_zdHhJeU4tcGYdc3xpwV8a52PDjhcISx5agekVM,153 +PyQt5/Qt5/translations/qt_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qt_es.qm,sha256=4l5D8Eb2ECL_6HGi9zxqEu38XD79lYwOAZpyGGCgU7A,153 +PyQt5/Qt5/translations/qt_fa.qm,sha256=spKvsHY7jHwwpa9zcr_BLYoNAL891KAAcV2fV22cGjk,293121 +PyQt5/Qt5/translations/qt_fi.qm,sha256=BIykLc5Pr1_CHYQ1duPG_ZYxRuzHhVTn5fNNB_ZPshM,117 +PyQt5/Qt5/translations/qt_fr.qm,sha256=hiQDPYSeZwsSyVMjN_y_Jg8ghI4ET-53h8_irJK-KNs,153 +PyQt5/Qt5/translations/qt_gd.qm,sha256=Sd-FWgBKF5UDOK8xRkZvbfTVhSQQvQtY6oDg0CA6nSQ,70 +PyQt5/Qt5/translations/qt_gl.qm,sha256=IEoBrH3ra1uuGTr-y9HlDRjHO_fZS63rK7_fYSPE7ZM,323590 +PyQt5/Qt5/translations/qt_he.qm,sha256=wRPRTiGNVAK2Ftq-onlpxvg4UmdkaMXvBR3d77PuAjU,83 +PyQt5/Qt5/translations/qt_help_ar.qm,sha256=IiCIyXUtHMO6uYXvLcd-WueFeNzhimHsFbOfAuWIFj0,8743 +PyQt5/Qt5/translations/qt_help_bg.qm,sha256=y83R4LuuMy2A3bCihgVvF8gk-ijTU9f98S_JfZ9v4FQ,10599 +PyQt5/Qt5/translations/qt_help_ca.qm,sha256=7NQoOmYPLPcoSbMjgQ1-rdBjEgtvVh4FqhJDpbKAlGo,7444 +PyQt5/Qt5/translations/qt_help_cs.qm,sha256=SsVvxj5ACUO6sT8dTEGFAhOJCOHUiMJK7mEx09F1Uqo,15297 +PyQt5/Qt5/translations/qt_help_da.qm,sha256=a7CSVSo5hocRn21SFF8Ev4Nzl3RG2PAMDcvVa5aCnw8,4795 +PyQt5/Qt5/translations/qt_help_de.qm,sha256=mWJSP7rp8eTDtcPBaGDQWSkcsw3F6-Wl7aTINqA_7R4,7570 +PyQt5/Qt5/translations/qt_help_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qt_help_es.qm,sha256=_RayefjPaQd_delNkMnAeir_85SKV543ifX_teX0IC0,10704 +PyQt5/Qt5/translations/qt_help_fr.qm,sha256=aH41HAYvaIqv9s8FIY1gF7gLGhtCONHTAlClXuQcX-0,10922 +PyQt5/Qt5/translations/qt_help_gl.qm,sha256=c5miSGCZdHc_YIZsh7eOp9-8T3UDE9aS94hs12OIPJ8,10891 +PyQt5/Qt5/translations/qt_help_hu.qm,sha256=cPM7VpwpQvQcbWNOpqYcuNgOsscBG61I72266Wd5YNU,10284 +PyQt5/Qt5/translations/qt_help_it.qm,sha256=MW_o0IFeK0s5aJW-s47xpAQxkVteBU34D0wM1Vbybks,10612 +PyQt5/Qt5/translations/qt_help_ja.qm,sha256=rmA7LA1DTUDN5DP_y6ZfnuJ5eKnhkxYAe-f-eCpbi0c,7917 +PyQt5/Qt5/translations/qt_help_ko.qm,sha256=8RxkaU6ONOHSxGwaHRXWup8tt7Yd5P31TspauXfD4FI,5708 +PyQt5/Qt5/translations/qt_help_pl.qm,sha256=zGy02MVAhiJGcvLknmI8jLfAwc1luNXs1C_JujpgZb0,9673 +PyQt5/Qt5/translations/qt_help_ru.qm,sha256=VXtkTm2l8exyDvk5ZWFwh-TR9AsklMxapSTPN5YQjec,7288 +PyQt5/Qt5/translations/qt_help_sk.qm,sha256=9B4z4deQvQ0-sYDx-HW8GR_nR3NijyXCytleFALmaGc,10388 +PyQt5/Qt5/translations/qt_help_sl.qm,sha256=LslV5mJAfrzY3NrlqqIeQQjgtbCu4OnbcSwnBylDU18,10363 +PyQt5/Qt5/translations/qt_help_tr.qm,sha256=697KDP7nqUQd64ALq_2XxjvE5CHaiFxVs71Jcl66zSU,4629 +PyQt5/Qt5/translations/qt_help_uk.qm,sha256=SXz8RzaEaS7kTXo3lej7InDFcGn9nrmKYV3Smrm-inw,9750 +PyQt5/Qt5/translations/qt_help_zh_CN.qm,sha256=wCqqIJI_GK3atSC-XLhO_UxyM5a9wktMmnLUBvEBx7Q,6441 +PyQt5/Qt5/translations/qt_help_zh_TW.qm,sha256=NpfxZg1_KsmzesM80cfsrgitvSZxDn4Adkl8zdyLyDA,9301 +PyQt5/Qt5/translations/qt_hu.qm,sha256=uyRqq9UB4Uztix_8E2nj1dJlZ6rmKz6tTZTCL7d8NHE,146 +PyQt5/Qt5/translations/qt_it.qm,sha256=kReqwtB7yG36VaKbiCXtJ8cJMwD8yQ4UPhNeAOhfCdc,153 +PyQt5/Qt5/translations/qt_ja.qm,sha256=I0V86OROIzxvhdVqTuaizs2Hyce93m2LipJZAu7RzZw,146 +PyQt5/Qt5/translations/qt_ko.qm,sha256=TMGvN-dx8KQ4mISc_yzUKoIEUbjSsuiJMQMWKdeB2wU,146 +PyQt5/Qt5/translations/qt_lt.qm,sha256=R-tfl0Z992kmFCHVSlvqETHJ-5tjiHkdOLtldDNbZL8,165383 +PyQt5/Qt5/translations/qt_lv.qm,sha256=A0Z3OAQqFWduUEugLLMm3Nt3OxcfraPNYreg4FZDFKA,89 +PyQt5/Qt5/translations/qt_pl.qm,sha256=vX3QwsqxGalz3BDDv_dJnZcouSi1QfhgVpIbMMjbeOY,161 +PyQt5/Qt5/translations/qt_pt.qm,sha256=LB57v1FopktDdS3UxUdgHAvebWEPhnH6PjrzhZfoR4M,70334 +PyQt5/Qt5/translations/qt_ru.qm,sha256=ZJKyZ2CMb7dpB72Pz8jx71fp9Ou8LoGsqBcVqIOI-Uo,164 +PyQt5/Qt5/translations/qt_sk.qm,sha256=tq3_2In_lr8ZXLmXMn59cAWoFcrWeCP6aRWhnC2btmg,157 +PyQt5/Qt5/translations/qt_sl.qm,sha256=xE4DE6lBTMDkkLZbDANvoRvKlZNTsiiIZUe8LISSA08,228428 +PyQt5/Qt5/translations/qt_sv.qm,sha256=S0tv9_0jfJ2gMBtJRhMuaGU9Fetfrzjkxfv-uxLdl_c,65851 +PyQt5/Qt5/translations/qt_tr.qm,sha256=9XSiz9RxWIXD299a5gmVJSZzvZT9qpWG9-BYb2wawO4,110 +PyQt5/Qt5/translations/qt_uk.qm,sha256=8WIeaA4WQvlGPksH5-eLUPmnvbfDIdcwIDnLNAXL3qQ,164 +PyQt5/Qt5/translations/qt_zh_CN.qm,sha256=KM3nXXsyyB_vHUYww3t5ph3sJLNXYy_wDWNlpX2L5Ds,117347 +PyQt5/Qt5/translations/qt_zh_TW.qm,sha256=dR7NoMM-Bh2RJBJoNX-9L2t_cKERbnFPKNIu_WHseho,141 +PyQt5/Qt5/translations/qtbase_ar.qm,sha256=4D_mjYMgFUNpj9f-Jn3V38W_0ZUUfnT_LxmsNJFAEmM,160017 +PyQt5/Qt5/translations/qtbase_bg.qm,sha256=5Eisnj8Wwp6yevMBLv4hBS2qePq_s0zW3_L2nuO9PNs,165337 +PyQt5/Qt5/translations/qtbase_ca.qm,sha256=UulPzJSQiJtVgSxUM9AJtEvcLcMXDrVbGvRE70quHX8,210159 +PyQt5/Qt5/translations/qtbase_cs.qm,sha256=AwKLQt9UeScDceTDvcffL1bLvm3alWooZKxvZBWGH-g,174701 +PyQt5/Qt5/translations/qtbase_da.qm,sha256=fR5cozELVNEEwZvyq9QCs45YTocDmnDhU8Spr3SyXCI,181387 +PyQt5/Qt5/translations/qtbase_de.qm,sha256=VTwEaDXbmt7xWVT6mldmJTZrqL_RZjcDjEvNKOXrrOE,220467 +PyQt5/Qt5/translations/qtbase_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtbase_es.qm,sha256=T_2la6O7VBSrBILR3eZKbyJuNIj2t_PxGhUOAfU_pMg,165170 +PyQt5/Qt5/translations/qtbase_fi.qm,sha256=5H_hNxPhhNB_pEld3gxYmw6PVi6RV0o1WKk2NEOk-nI,179941 +PyQt5/Qt5/translations/qtbase_fr.qm,sha256=7bMqkzzvN2omNmNOFOKXfO1ihOSqmkrH4ikvnKVMOEo,166167 +PyQt5/Qt5/translations/qtbase_gd.qm,sha256=Y7Q53UQTmqOu1UwuvgP6m8d_IsFO2Puo7_JghEW7Iz0,189580 +PyQt5/Qt5/translations/qtbase_he.qm,sha256=4evKFq_omUNW-BygB_vbnd-GWEIBD-kIkj2HO2h8rT8,138690 +PyQt5/Qt5/translations/qtbase_hu.qm,sha256=xhtnu50ehPCrB5K2UY_gVUFKaORNDHvHyGJ3OAD6gpk,160494 +PyQt5/Qt5/translations/qtbase_it.qm,sha256=fH3ItFv05B_sYAIasT2cdlW-AHuBI9uNdTehGetko2Y,161172 +PyQt5/Qt5/translations/qtbase_ja.qm,sha256=y6OCrMRNNoDUAPLGJd6T0MS9cqkBAnae39H-kcubYXs,129911 +PyQt5/Qt5/translations/qtbase_ko.qm,sha256=AXntGxNuHLP1gzUeqixUW6PYOm7j-CwyUFkmoaX18YM,156799 +PyQt5/Qt5/translations/qtbase_lv.qm,sha256=hG4EdXOuQMg2ccO6f3PifvwkuYyCcB2g35lz5XQXi7I,153608 +PyQt5/Qt5/translations/qtbase_pl.qm,sha256=zpkDKjsL-KutdYiVzCKDcIjq2Z_S0lFOLRgGkwgc_lc,162982 +PyQt5/Qt5/translations/qtbase_ru.qm,sha256=PaZgVmj5F40RqDjEUVR4CE3PtPnPIvmdepK0ktucIks,203767 +PyQt5/Qt5/translations/qtbase_sk.qm,sha256=1YauLDFAdM85hBf97LQHCdVHjf6wpnwv5g1Qnum1ntc,125763 +PyQt5/Qt5/translations/qtbase_tr.qm,sha256=agv25w55IMKxk-dukvePMVk2lV07BqwDnZF_LgbEMoE,194487 +PyQt5/Qt5/translations/qtbase_uk.qm,sha256=Ubj_VbN9xZB9Y3qN3aEvvoFoUrAkTHTrTw-4SGenhuA,158274 +PyQt5/Qt5/translations/qtbase_zh_TW.qm,sha256=CF0p6vm7t4iy8lA9dKHvljqUEc62AEQSVM5JoSDhq2M,127849 +PyQt5/Qt5/translations/qtconnectivity_bg.qm,sha256=jVmlbFjLdyZdNg_77mehMcD9XiF3a6pcQlrMTdHjVlo,47342 +PyQt5/Qt5/translations/qtconnectivity_ca.qm,sha256=VvrpUOzwpUaa05Tb16niAhTP-oeGBN72q-xQwclpwkQ,51887 +PyQt5/Qt5/translations/qtconnectivity_da.qm,sha256=qDV2jhHNdByX465z4-W5jlUsCiO6r1NkGZtiQplN3SU,45569 +PyQt5/Qt5/translations/qtconnectivity_de.qm,sha256=DbPAOsCaelB411_O1-6NH1sfK-h4IeXvc0e9WR8xrN4,49383 +PyQt5/Qt5/translations/qtconnectivity_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtconnectivity_es.qm,sha256=hQWZlYJ79HPukzgJGHEqZxRh-vy8YqhAahej7fxLqRU,46591 +PyQt5/Qt5/translations/qtconnectivity_hu.qm,sha256=XN77hp7VV1FBWhbURSirEy54-_U_lDutm8hLJ6zKRyo,43428 +PyQt5/Qt5/translations/qtconnectivity_ko.qm,sha256=yriGJRya5BR5hrssTrtt33a6vFuNZWm8E4EmE0IQMNk,37040 +PyQt5/Qt5/translations/qtconnectivity_pl.qm,sha256=ZP79rueSrjj8Bp8H4zmjwiAMCxiH-beFUnvz5NOm36Y,31377 +PyQt5/Qt5/translations/qtconnectivity_ru.qm,sha256=Ko3M-V4Mge9Gff1QhW47OJds-7qHW8ZNmBk7bFjeCJY,49914 +PyQt5/Qt5/translations/qtconnectivity_tr.qm,sha256=C7jNzSwO9EhxqYPxOPmkaiXw_P8nUPgcvP0kPb6IM6o,45805 +PyQt5/Qt5/translations/qtconnectivity_uk.qm,sha256=jfgAJufNS4HImOykg0iCv7SFWLalXCy4UAYbjxlHzvg,42223 +PyQt5/Qt5/translations/qtdeclarative_bg.qm,sha256=-sGrJv4NwjAnpisqYxRPgx0dkbg-PG4WERMK5dJDBiw,70152 +PyQt5/Qt5/translations/qtdeclarative_da.qm,sha256=8qMLSzoK_mWq_lL-Y08k3G2iJNYgbgHA3gD64_L4HcM,69319 +PyQt5/Qt5/translations/qtdeclarative_de.qm,sha256=j346o0Nsh7z_cRN1HpqFdvKXB1UieSmgJPKUOrS0hx4,74839 +PyQt5/Qt5/translations/qtdeclarative_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtdeclarative_es.qm,sha256=4h-9Kbf37u5A6D4o3c7HZ-LNVDcYTIbZYUo20h0KOJY,59875 +PyQt5/Qt5/translations/qtdeclarative_fi.qm,sha256=7L3-V86szVU0TQyB46I6Q3x2VMw-fpNxAwV2EHUxBi8,65815 +PyQt5/Qt5/translations/qtdeclarative_fr.qm,sha256=2x8WzZ0btV06lX78trU5MMv3zJLFoMHXqeT-1SOe0ks,61420 +PyQt5/Qt5/translations/qtdeclarative_hu.qm,sha256=STkeNZ1WV7SrTrVzZITIBIYMA_T6XO8gMNjfbN7V_Rk,60508 +PyQt5/Qt5/translations/qtdeclarative_ja.qm,sha256=SFEOgyNRr4cH-6bax1W0PWUYLHuCYpaAXbRj8vhDHGk,45301 +PyQt5/Qt5/translations/qtdeclarative_ko.qm,sha256=yWlhkbyYqX-OLTOOR028OxhrVivjGFFkyQ6yBKSghMM,49579 +PyQt5/Qt5/translations/qtdeclarative_lv.qm,sha256=F63mXOuY2tqYKNr4mQRyv7io6kl7qN6-fSciE4mEumU,53940 +PyQt5/Qt5/translations/qtdeclarative_pl.qm,sha256=or1zCU2mWV71j0gxlpTu828H920BT93YqMNUY0lpEoA,64190 +PyQt5/Qt5/translations/qtdeclarative_ru.qm,sha256=WrOdq_CFWDoL1NmIlM7-xLHXiOggu1G7YIUfj1B5MZY,67138 +PyQt5/Qt5/translations/qtdeclarative_sk.qm,sha256=-VNg588QFp4rszc8T6UVPTXxhDR01-zkIy5wMOlFqbM,48654 +PyQt5/Qt5/translations/qtdeclarative_tr.qm,sha256=ZwEvr-wBW1VwmPnOomYYsOGLVnxCRFX5o_NUkkN_nec,69650 +PyQt5/Qt5/translations/qtdeclarative_uk.qm,sha256=hyRsepYlKwYR3QP8jx9Fkcvk8Qwo1J5FkR_KaG2tcsk,63981 +PyQt5/Qt5/translations/qtlocation_bg.qm,sha256=7x3dCKNNHjO0SPUswmFtB3hsb7q5hlAAKvCLmGc3v1M,42381 +PyQt5/Qt5/translations/qtlocation_ca.qm,sha256=uxerTHamuZXx3CTdBuGxtyug35jqPLIPw9KZep3Fzeo,46319 +PyQt5/Qt5/translations/qtlocation_da.qm,sha256=435Z5h1Jh97y1Kd2MIYXG4aq_rBf0OZPa6kKUMiCUDo,44056 +PyQt5/Qt5/translations/qtlocation_de.qm,sha256=oOsM_zHBN9Mh4_HAzc77tMUrhv3DH6dMaXXy5Nm28j4,47076 +PyQt5/Qt5/translations/qtlocation_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtlocation_es.qm,sha256=AxLsCseH8cCcmw_xLBM46bVWKcYXGYF6KwBoAAq8MJM,23400 +PyQt5/Qt5/translations/qtlocation_fi.qm,sha256=0OKkek6ZAiqmEriCcfv7TW8wnN4oqXLjqD00mq9RcP4,43724 +PyQt5/Qt5/translations/qtlocation_fr.qm,sha256=TWF-dOkRL6tLypPIVG8_L6Qpz-VEZYWB1MEq7pWY89U,22158 +PyQt5/Qt5/translations/qtlocation_hu.qm,sha256=yI4h3-Zace4Bz-XoNlC1j4T7GOZ95r-5oVdojF5JLao,23755 +PyQt5/Qt5/translations/qtlocation_ko.qm,sha256=UbHfd6SHeB5F3EVx3riZb9P1yIcuiV-uYYKS72-c5JU,35336 +PyQt5/Qt5/translations/qtlocation_pl.qm,sha256=Yhs0Z3InD5BcrKRVxnyn1yDX9erkr71kMo83qwMBwwc,42325 +PyQt5/Qt5/translations/qtlocation_ru.qm,sha256=io4iMnXgN_d4ophBXmXmSu7r9rfpreLBS5SMfJ9Mq7c,43278 +PyQt5/Qt5/translations/qtlocation_tr.qm,sha256=i3onCPYa3VlAYcXDKshEca5HXb8fjkLiK5zIS_lB5nk,44395 +PyQt5/Qt5/translations/qtlocation_uk.qm,sha256=GRBiHOcQoj8vzmA8s7eNokokyd9Jez8mUF7dSnOLAOQ,24159 +PyQt5/Qt5/translations/qtmultimedia_ar.qm,sha256=X8EEFOFowRYbhZClwXPRQNMbF89FDwrJPmZuv3ov-Qg,11486 +PyQt5/Qt5/translations/qtmultimedia_bg.qm,sha256=rdhnX7wjUftsg5ftNpMvmFU3gt1M4EmO_FuJsFCshiY,13683 +PyQt5/Qt5/translations/qtmultimedia_ca.qm,sha256=marljOcpMStO04232KpCx3DqpMw_ZpYm-b65Z2vCHvI,14877 +PyQt5/Qt5/translations/qtmultimedia_cs.qm,sha256=bxFuei_e_oSokN8XGNI15h1XMb98Lj5XqDj27J7t4Po,15906 +PyQt5/Qt5/translations/qtmultimedia_da.qm,sha256=OdkCQRBkzFxf1FdC8XaAIqGueVNwB0Gy9gjjgH4ZEQo,13659 +PyQt5/Qt5/translations/qtmultimedia_de.qm,sha256=fRVBRovQn0o054WV2uvc_Xv3FxXDS_lcLczkG_VIQVU,15006 +PyQt5/Qt5/translations/qtmultimedia_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtmultimedia_es.qm,sha256=CGaRG_1MbnjTUX6imN5lPK7wtySK76zbpSNudWWpsqU,17046 +PyQt5/Qt5/translations/qtmultimedia_fi.qm,sha256=YovnLB3HBlKrMC4vjMufPDKOf93ffY0cXOIQVqm6hPI,13883 +PyQt5/Qt5/translations/qtmultimedia_fr.qm,sha256=Yi-yq2bSJMlGu76LSwbMtF6ksTaLoOgioHutS3xLvTY,16502 +PyQt5/Qt5/translations/qtmultimedia_hu.qm,sha256=WJ2Fe5bLHI5tywGMjNr3G_BtMaoScYZ_hXIYPJOU-Nc,16463 +PyQt5/Qt5/translations/qtmultimedia_it.qm,sha256=rKjU3RReZx2CflgklvICgdxVmskefhP4jPUIvC1jAe0,17194 +PyQt5/Qt5/translations/qtmultimedia_ja.qm,sha256=-aiIWGxCwiiUzLQYAlfC3nApn_XVQAh7wzTadKjdWWk,14337 +PyQt5/Qt5/translations/qtmultimedia_ko.qm,sha256=9RKl6YVTXQMJ9zfmFW9ZWa6bZAXmX_dquuWhOTMvLHo,11006 +PyQt5/Qt5/translations/qtmultimedia_pl.qm,sha256=PEy3EfalnlsZ5K3A0Ka-Y8C7VfFWJq1kDbG_0dE2NmQ,12237 +PyQt5/Qt5/translations/qtmultimedia_ru.qm,sha256=MsERhBXyWjeNNWzwFlI5PI-QYxRbyPipPE-ZIWb6nU0,14109 +PyQt5/Qt5/translations/qtmultimedia_sk.qm,sha256=gvVE8x_7DOgDQPRFrSyOK6V5aUE--bXRD-QyK7lqaFE,9896 +PyQt5/Qt5/translations/qtmultimedia_tr.qm,sha256=HHmoLc0DFOvsNQKT__6eLNNczGvWPEScF41C7x2jdc8,13295 +PyQt5/Qt5/translations/qtmultimedia_uk.qm,sha256=6_ZzGEkPcMdltQtsxOs81MDquf8QoZvESgSJskzs2DQ,15781 +PyQt5/Qt5/translations/qtmultimedia_zh_TW.qm,sha256=mBSSvTt6g7KA994pa-gNVfwxUKRTWPk3ReS-Pd7sXLc,9951 +PyQt5/Qt5/translations/qtquickcontrols2_ar.qm,sha256=xc7sk0ycz-NPLbkvndw3otOUHX6j15kkIsNB_YrPeD0,640 +PyQt5/Qt5/translations/qtquickcontrols2_bg.qm,sha256=5_GFXSuWn2vSX64RYcFI_aeXfThj1GZUPqcLtxWeoGM,707 +PyQt5/Qt5/translations/qtquickcontrols2_ca.qm,sha256=qi6BUxjxYO8k-UKmesEPCOw6RJhYL59CF5-XzckbfdM,899 +PyQt5/Qt5/translations/qtquickcontrols2_da.qm,sha256=U4OmV1RSRTDd_UYfrXz4o_YKOcErSgptHzPazI6SQPs,855 +PyQt5/Qt5/translations/qtquickcontrols2_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtquickcontrols2_hu.qm,sha256=-ap5oUmh6eQIU6UBUa8aUNdUGz7b_Z-2RdwO4KkLfqk,350 +PyQt5/Qt5/translations/qtquickcontrols2_ko.qm,sha256=Tkd_rEQBtZ2Fhn33N-YPV_7_D8qRPD3qHlEET_iTlfk,690 +PyQt5/Qt5/translations/qtquickcontrols2_tr.qm,sha256=MoROgPsUgJybjJAYhvuD6lY1Xi-UcPpWFsuW-HEzYp8,819 +PyQt5/Qt5/translations/qtquickcontrols2_uk.qm,sha256=pSdN1MTt_smZG0T7SVjaVGdE17KjLkJ2soa9nNkfDNk,9439 +PyQt5/Qt5/translations/qtquickcontrols2_zh_TW.qm,sha256=xsiz0odNCs_zacKGz8RFkGS_S1gcrNpuz3C0SoSeO-I,647 +PyQt5/Qt5/translations/qtquickcontrols_bg.qm,sha256=E-um7uU5-kVwqHhJXu840KfdZoZaGrpt7d8o1yOLs3M,30 +PyQt5/Qt5/translations/qtquickcontrols_ca.qm,sha256=u1sOEbT0JbCPoxX5bqCFjgzpxxQ56IY50iKHWTqQN_M,5113 +PyQt5/Qt5/translations/qtquickcontrols_da.qm,sha256=FY5knwUJcmghqkV1VlvZiUPJ6ptdOeMwXpD1YH4vQ_w,4917 +PyQt5/Qt5/translations/qtquickcontrols_de.qm,sha256=UEcsLplfXzzCOP8Rjsfe2eIgh7WjX3hnGgzgyoVtMOk,5198 +PyQt5/Qt5/translations/qtquickcontrols_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtquickcontrols_fi.qm,sha256=nCkGi9ObuXFU1WHtQ4K5qrB3c1uxqRVOYqzKzj1g8BU,5077 +PyQt5/Qt5/translations/qtquickcontrols_fr.qm,sha256=N1fAOPRHtHXhnSJhmwGO-3PVOYcNB1JCmD9MPGaAJQk,5532 +PyQt5/Qt5/translations/qtquickcontrols_ja.qm,sha256=I-W0Q1P7h80Cy1IgiBT1zvPv2OWlOGn9HHgOEDBvBXY,4356 +PyQt5/Qt5/translations/qtquickcontrols_ko.qm,sha256=ixEaxv9qQ3J38uZY_v-Ws6LL0RK1iJcCNCxTGBCFKMk,4342 +PyQt5/Qt5/translations/qtquickcontrols_ru.qm,sha256=N0TjVJWI3MjnYCZOOni4E52o2jcGJgHa-xf6zeEX6io,5085 +PyQt5/Qt5/translations/qtquickcontrols_tr.qm,sha256=wr3-z0a_gp0soZ0kWK9ujqsIrkv1bqOktJgZ7ndrLEM,4967 +PyQt5/Qt5/translations/qtquickcontrols_uk.qm,sha256=AC_OxieLQsIOWlj9nkSc8ZfPTeElFzcZD159K9Q0TSU,5091 +PyQt5/Qt5/translations/qtquickcontrols_zh_TW.qm,sha256=vKugFQurZZMIy_A2QcDzPq2wJ3-O_ZJX2mrBIkVKiQk,4187 +PyQt5/Qt5/translations/qtserialport_de.qm,sha256=HU1Gqcv2bYMTQ0y2F30eBc2TthBiMHxwRJjf14q2OGw,2487 +PyQt5/Qt5/translations/qtserialport_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtserialport_es.qm,sha256=Rg_Io79dskz1cO0Mr3LDDXVKFoWbP4AUPta5u2p4Nws,2507 +PyQt5/Qt5/translations/qtserialport_ja.qm,sha256=lkHMe8QAop7D_FT2nHKuJfGQsZmBfc0LT1ZPz1sB1jg,1744 +PyQt5/Qt5/translations/qtserialport_ko.qm,sha256=nIRH-MBpmzGPiuJu9TUAtegM4GthXhrxqSBboW9_baA,1627 +PyQt5/Qt5/translations/qtserialport_pl.qm,sha256=fYIAKFeXJnvesqYwiIEAw14KBqasvTxSVNyrAidlYU8,2002 +PyQt5/Qt5/translations/qtserialport_ru.qm,sha256=qpBpykJiQNA1uhMvPyuc8tVYY0Zt_HRaGhVr2hr4lWU,2370 +PyQt5/Qt5/translations/qtserialport_uk.qm,sha256=llpx75t-l27eNINHHQcny5921fKA0ran-1Q-o9reyZo,2424 +PyQt5/Qt5/translations/qtwebsockets_ca.qm,sha256=v8UyoeiOIGSGnt2kiW3yS3RK144x9WAG6qqSz4JFKsA,9664 +PyQt5/Qt5/translations/qtwebsockets_de.qm,sha256=aHV-r8cD9ZxcTDCeVAgUTevzAjYuHxYo1arWEMckSkw,10404 +PyQt5/Qt5/translations/qtwebsockets_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtwebsockets_es.qm,sha256=jMtDaQKdYsUbvubSEKhBM3qHNjgqzqA9Zkoon9bxJxk,9679 +PyQt5/Qt5/translations/qtwebsockets_fr.qm,sha256=hUO-L4aTZ0jYvacPQ504VDBvzlrFyUrP02of-hbqHnE,9639 +PyQt5/Qt5/translations/qtwebsockets_ja.qm,sha256=ff4pfCdSranRGTP1VdKmFvuS9LTzwnu6eDqDq2W2H5s,7270 +PyQt5/Qt5/translations/qtwebsockets_ko.qm,sha256=vztx6rsgu8rCfF-GcbtwYOnqt7xoIbqPCdLWfugjZ7Y,7131 +PyQt5/Qt5/translations/qtwebsockets_pl.qm,sha256=SvkV3iEzq06Ta0rEhcoZ7TTsCKM5n5V2Xuem8rngdGE,7599 +PyQt5/Qt5/translations/qtwebsockets_ru.qm,sha256=bG4umRTyW60IfYL1oEOL-qm4uWW8sV5vH2nX_yLmng0,9562 +PyQt5/Qt5/translations/qtwebsockets_uk.qm,sha256=lzSl3_uImRGl2abrTqj4Hl945IMpzidH6TW833aI2Zk,9160 +PyQt5/Qt5/translations/qtxmlpatterns_bg.qm,sha256=qB1dgjCPdxsoC0QEsNe9V-g_EkZ46wG8tpptcEQZScc,112896 +PyQt5/Qt5/translations/qtxmlpatterns_ca.qm,sha256=StQ1Q31rlGlsQMLxqUmsc_eiBfVDce1pq5JQnWQDa8Y,114190 +PyQt5/Qt5/translations/qtxmlpatterns_cs.qm,sha256=N6qtp3DqHpqgjXjmso1GzSo5CAmF6UWwfsNCJ-Gt8Nk,109606 +PyQt5/Qt5/translations/qtxmlpatterns_da.qm,sha256=PmcWwlgPL7h3rRW4aoEgrSwYInW29qp2i33RxXNL5r0,1771 +PyQt5/Qt5/translations/qtxmlpatterns_de.qm,sha256=FQropFfQudgYR9ceGa07ZmdNcj86xgtIoWU3-jSLBOw,118069 +PyQt5/Qt5/translations/qtxmlpatterns_en.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16 +PyQt5/Qt5/translations/qtxmlpatterns_es.qm,sha256=On55E5YRq0BVztvYRLmVYVYLELnC5BqOrutamnBNfFo,114789 +PyQt5/Qt5/translations/qtxmlpatterns_fr.qm,sha256=_F8nnVhwuyRPcEVsiLXmoei9mQy-StLt2VvzvGSRPZY,115909 +PyQt5/Qt5/translations/qtxmlpatterns_hu.qm,sha256=Vhrl-cAyIbWTfY6ODG8XpCq7bowN94dm009tyDgL5bI,115164 +PyQt5/Qt5/translations/qtxmlpatterns_it.qm,sha256=9gF5G2EmXyAGynt8zgwnxiCfPeqJbLkISezxits7zfQ,5107 +PyQt5/Qt5/translations/qtxmlpatterns_ja.qm,sha256=oUeW4d31Fr6ArsIwBH9lO3YPdW8h-JhfzCa9-tlcsqY,81631 +PyQt5/Qt5/translations/qtxmlpatterns_ko.qm,sha256=5h-Qlpj-mLz1vzmc8OGlXhhUhS1JVDF3tricSThkSUA,83097 +PyQt5/Qt5/translations/qtxmlpatterns_pl.qm,sha256=3jtF8c94ZP8_scJt873KQzdIJsQh6UIn5kHLDVk1Jo8,110977 +PyQt5/Qt5/translations/qtxmlpatterns_ru.qm,sha256=odI0RNTBLtnAdsggBYdZ0ajTuSCrHCu4P23gzwyNscM,107618 +PyQt5/Qt5/translations/qtxmlpatterns_sk.qm,sha256=Wj5Htnc71T_uln9fHOGDlSKaEq8RyryeImhOWL3DeHI,33325 +PyQt5/Qt5/translations/qtxmlpatterns_uk.qm,sha256=blQwsfGkkudQ68AjmE30XpqI89un1ovknv4SmZWNWe8,7942 +PyQt5/Qt5/translations/qtxmlpatterns_zh_TW.qm,sha256=VsfxMURvyW4PG9e5k3PDYwo5LIM_lz7d2D6v5o7cq3k,30964 +PyQt5_Qt5-5.15.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +PyQt5_Qt5-5.15.2.dist-info/LICENSE,sha256=IATuPvgoKoX329A136z2PPA9VpU3vAhlX_6xQOo2ccU,44738 +PyQt5_Qt5-5.15.2.dist-info/METADATA,sha256=PkFIKgS5amRlPGMkYvOqcJxBKu4TFUe4WykQc_w-9rA,552 +PyQt5_Qt5-5.15.2.dist-info/RECORD,, +PyQt5_Qt5-5.15.2.dist-info/WHEEL,sha256=HvbHOnfIIFGyPVIOEbfOdnEmUOBRPrAzrHWhdC-8b8M,95 +PyQt5_Qt5-5.15.2.dist-info\RECORD,, diff --git a/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/WHEEL b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/WHEEL new file mode 100644 index 00000000..a54f4422 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_Qt5-5.15.2.dist-info/WHEEL @@ -0,0 +1,4 @@ +Wheel-Version: 1.0 +Generator: pyqt-qt-wheel +Root-Is-Purelib: false +Tag: py3-none-win_amd64 diff --git a/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/INSTALLER b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/INSTALLER new file mode 100644 index 00000000..a1b589e3 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE new file mode 100644 index 00000000..9406c308 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE @@ -0,0 +1,49 @@ +RIVERBANK COMPUTING LIMITED LICENSE AGREEMENT FOR SIP + +1. This LICENSE AGREEMENT ("the SIP License") is between Riverbank Computing +Limited ("Riverbank"), and the Individual or Organization ("Licensee") +accessing and otherwise using SIP software in source or binary form and its +associated documentation. SIP comprises a software tool for generating Python +bindings for software C and C++ libraries, and a Python extension module used +at runtime by those generated bindings. This License Agreement may also be +applied to other software packages written by Riverbank. + +2. Subject to the terms and conditions of this License Agreement, Riverbank +hereby grants Licensee a nonexclusive, royalty-free, world-wide license to +reproduce, analyze, test, perform and/or display publicly, prepare derivative +works, distribute, and otherwise use SIP alone or in any derivative version, +provided, however, that Riverbank's License Agreement and Riverbank's notice of +copyright, e.g., "Copyright (c) 2015 Riverbank Computing Limited; All Rights +Reserved" are retained in SIP alone or in any derivative version prepared by +Licensee. + +3. In the event Licensee prepares a derivative work that is based on or +incorporates SIP or any part thereof, and wants to make the derivative work +available to others as provided herein, then Licensee hereby agrees to include +in any such work a brief summary of the changes made to SIP. + +4. Licensee may not use SIP to generate Python bindings for any C or C++ +library for which bindings are already provided by Riverbank. + +5. Riverbank is making SIP available to Licensee on an "AS IS" basis. +RIVERBANK MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY +OF EXAMPLE, BUT NOT LIMITATION, RIVERBANK MAKES NO AND DISCLAIMS ANY +REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR +PURPOSE OR THAT THE USE OF SIP WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + +6. RIVERBANK SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF SIP FOR ANY +INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, +DISTRIBUTING, OR OTHERWISE USING SIP, OR ANY DERIVATIVE THEREOF, EVEN IF +ADVISED OF THE POSSIBILITY THEREOF. + +7. This License Agreement will automatically terminate upon a material breach +of its terms and conditions. + +8. Nothing in this License Agreement shall be deemed to create any relationship +of agency, partnership, or joint venture between Riverbank and Licensee. This +License Agreement does not grant permission to use Riverbank trademarks or +trade name in a trademark sense to endorse or promote products or services of +Licensee, or any third party. + +9. By copying, installing or otherwise using SIP, Licensee agrees to be bound +by the terms and conditions of this License Agreement. diff --git a/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE-GPL2 b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE-GPL2 new file mode 100644 index 00000000..91c52c91 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE-GPL2 @@ -0,0 +1,344 @@ +------------------------------------------------------------------------- + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + +------------------------------------------------------------------------- diff --git a/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE-GPL3 b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE-GPL3 new file mode 100644 index 00000000..de2dcce5 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/LICENSE-GPL3 @@ -0,0 +1,678 @@ +------------------------------------------------------------------------- + + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. + +------------------------------------------------------------------------- diff --git a/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/METADATA b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/METADATA new file mode 100644 index 00000000..77adbd29 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/METADATA @@ -0,0 +1,22 @@ +Metadata-Version: 2.1 +Name: PyQt5-sip +Version: 12.9.1 +Summary: The sip module support for PyQt5 +Home-page: https://www.riverbankcomputing.com/software/sip/ +Author: Riverbank Computing Limited +Author-email: info@riverbankcomputing.com +License: SIP +Platform: X11 +Platform: macOS +Platform: Windows +Requires-Python: >=3.5 +License-File: LICENSE +License-File: LICENSE-GPL2 +License-File: LICENSE-GPL3 + +sip Extension Module +==================== + +The sip extension module provides support for the PyQt5 package. + + diff --git a/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/RECORD b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/RECORD new file mode 100644 index 00000000..8be61bac --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/RECORD @@ -0,0 +1,9 @@ +PyQt5/sip.cp37-win_amd64.pyd,sha256=Iwp2ih6sbDjd0DHJdoGkHefH1vhM4IzSADy7R5eBCjw,119808 +PyQt5_sip-12.9.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +PyQt5_sip-12.9.1.dist-info/LICENSE,sha256=LJO11K9M_f6NdVGyv-lx453rN6iuLUB2Xz_WOEZBjGM,2766 +PyQt5_sip-12.9.1.dist-info/LICENSE-GPL2,sha256=frthAG5Guek0DdE11fSvu8sdHWxnCfdEc7NZKQB7mus,18161 +PyQt5_sip-12.9.1.dist-info/LICENSE-GPL3,sha256=Y8tfXB6jm3MsSV81T5ceQPbbhMVnylVzpou2WvB3Qfg,35297 +PyQt5_sip-12.9.1.dist-info/METADATA,sha256=XVbqVtR_WSz0NEX5E1G1bObYlmlzlni3Ux30Klf2AXY,505 +PyQt5_sip-12.9.1.dist-info/RECORD,, +PyQt5_sip-12.9.1.dist-info/WHEEL,sha256=-FqDJjo4HrkrIaThvtAYef2eEAn1_QvVe5nINCnUEbQ,101 +PyQt5_sip-12.9.1.dist-info/top_level.txt,sha256=pQO28HQ07Wo1D-SGyTpeACon1ou4qEva4R_2j4_S2_s,6 diff --git a/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/WHEEL b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/WHEEL new file mode 100644 index 00000000..50364dcd --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.37.1) +Root-Is-Purelib: false +Tag: cp37-cp37m-win_amd64 + diff --git a/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/top_level.txt b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/top_level.txt new file mode 100644 index 00000000..2d07ca02 --- /dev/null +++ b/OTHERS/Jarvis/ools/PyQt5_sip-12.9.1.dist-info/top_level.txt @@ -0,0 +1 @@ +PyQt5 diff --git a/OTHERS/Jarvis/ools/bin/pylupdate5.exe b/OTHERS/Jarvis/ools/bin/pylupdate5.exe new file mode 100644 index 00000000..183c24c7 Binary files /dev/null and b/OTHERS/Jarvis/ools/bin/pylupdate5.exe differ diff --git a/OTHERS/Jarvis/ools/bin/pyrcc5.exe b/OTHERS/Jarvis/ools/bin/pyrcc5.exe new file mode 100644 index 00000000..0b580281 Binary files /dev/null and b/OTHERS/Jarvis/ools/bin/pyrcc5.exe differ diff --git a/OTHERS/Jarvis/ools/bin/pyuic5.exe b/OTHERS/Jarvis/ools/bin/pyuic5.exe new file mode 100644 index 00000000..09225f79 Binary files /dev/null and b/OTHERS/Jarvis/ools/bin/pyuic5.exe differ